diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..e841cc4bf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +*.class + +# Package Files # +*.war +*.ear + + +# Eclipse +.settings/ +*.project +*.classpath +.prefs +*.prefs +.metadata/ + +# Intellij +.idea/ +*.iml +*.iws + +# Mac +.DS_Store + +# Maven +log/ +target/ + +spring-openid/src/main/resources/application.properties +.recommenders/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..9c5cdb8f2d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "testgitrepo"] + path = testgitrepo + url = /home/prd/Development/projects/idea/tutorials/spring-boot/src/main/resources/testgitrepo/ diff --git a/.metadata/.lock b/.metadata/.lock new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.metadata/.log b/.metadata/.log new file mode 100644 index 0000000000..93d3e86a61 --- /dev/null +++ b/.metadata/.log @@ -0,0 +1,253 @@ + +!ENTRY org.eclipse.core.resources 4 2 2014-10-16 20:42:46.953 +!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". +!STACK 0 +java.lang.IllegalStateException: Registry Directory not available: /Users/Elena/tutorials/.metadata/.plugins/org.eclipse.pde.core/.p2/org.eclipse.equinox.p2.engine/profileRegistry. + at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:480) + at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:338) + at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfiles(SimpleProfileRegistry.java:320) + at org.eclipse.pde.internal.core.target.P2TargetUtils.cleanOrphanedTargetDefinitionProfiles(P2TargetUtils.java:168) + at org.eclipse.pde.internal.core.PDECore$1.saving(PDECore.java:274) + at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:383) + at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:192) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:195) + at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1130) + at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:2376) + at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:508) + at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) + +!ENTRY org.eclipse.ui.ide 4 4 2014-10-16 20:42:55.472 +!MESSAGE Problems saving workspace + +!ENTRY org.eclipse.ui.ide 4 1 2014-10-16 20:42:55.472 +!MESSAGE Problems occurred while trying to save the state of the workbench. +!SUBENTRY 1 org.eclipse.core.resources 4 568 2014-10-16 20:42:55.472 +!MESSAGE Could not write workspace metadata '/Users/Elena/tutorials/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree'. +!STACK 0 +java.io.FileNotFoundException: /Users/Elena/tutorials/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree (No such file or directory) + at java.io.FileOutputStream.open(Native Method) + at java.io.FileOutputStream.(FileOutputStream.java:213) + at java.io.FileOutputStream.(FileOutputStream.java:162) + at org.eclipse.core.internal.localstore.SafeFileOutputStream.(SafeFileOutputStream.java:51) + at org.eclipse.core.internal.resources.SaveManager.saveTree(SaveManager.java:1352) + at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1134) + at org.eclipse.core.internal.resources.Workspace.save(Workspace.java:2376) + at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$5.run(IDEWorkbenchAdvisor.java:508) + at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) +!SESSION 2014-10-16 20:43:17.092 ----------------------------------------------- +eclipse.buildId=4.3.2.M20140221-1700 +java.version=1.8.0_20 +java.vendor=Oracle Corporation +BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=es_ES +Framework arguments: -product org.eclipse.epp.package.standard.product -keyring /Users/Elena/.eclipse_keyring -showlocation +Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.standard.product -keyring /Users/Elena/.eclipse_keyring -showlocation + +!ENTRY org.eclipse.core.net 1 0 2014-10-16 20:43:52.743 +!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences + +!ENTRY org.eclipse.jface 2 0 2014-10-16 20:43:53.942 +!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. +!SUBENTRY 1 org.eclipse.jface 2 0 2014-10-16 20:43:53.943 +!MESSAGE A conflict occurred for COMMAND+SHIFT+F10: +Binding(COMMAND+SHIFT+F10, + ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service, + Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class., + Category(org.eclipse.ui.category.file,File,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2df3545d, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(COMMAND+SHIFT+F10, + ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu, + Show the system menu, + Category(org.eclipse.ui.category.window,Window,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@75ad30c1, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,cocoa,system) +!SUBENTRY 1 org.eclipse.jface 2 0 2014-10-16 20:43:53.943 +!MESSAGE A conflict occurred for ALT+COMMAND+Z: +Binding(ALT+COMMAND+Z, + ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean, + Open CDI Named Bean, + Category(org.eclipse.ui.category.navigate,Navigate,null,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@fe8aaeb, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,,system) +Binding(ALT+COMMAND+Z, + ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu, + Shows the Surround With quick menu, + Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true), + org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6b9697ae, + ,,true),null), + org.eclipse.ui.defaultAcceleratorConfiguration, + org.eclipse.ui.contexts.window,,cocoa,system) + +!ENTRY com.android.ide.eclipse.adt 1 0 2014-10-16 20:44:03.016 +!MESSAGE No valid Android XML Editor Delegate found for file /handling-spring-static-resources/pom.xml [Res null, type null] + +!ENTRY org.eclipse.e4.ui.workbench 4 0 2014-10-16 20:44:06.875 +!MESSAGE +!STACK 0 +org.eclipse.core.runtime.AssertionFailedException: assertion failed: + at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) + at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) + at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1081) + at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:607) + at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:362) + at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142) + at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96) + at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:483) + at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) + at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877) + at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857) + at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119) + at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333) + at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254) + at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162) + at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102) + at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71) + at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53) + at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1147) + at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:96) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:649) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:526) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:511) + at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:61) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:59) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:103) + at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:96) + at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java:77) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:649) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:62) + at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:581) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:645) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1042) + at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) + at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) + at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) + at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) + at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) + at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) + at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:483) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) + at org.eclipse.equinox.launcher.Main.run(Main.java:1450) + +!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.029 +!MESSAGE Could not load repository template extension contributed by org.eclipse.mylyn.bugzilla.ide with connectorKind bugzilla + +!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.029 +!MESSAGE Could not load repository template extension contributed by org.springsource.ide.eclipse.dashboard.ui with connectorKind jira + +!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2014-10-16 20:44:08.030 +!MESSAGE Could not load repository template extension contributed by org.springsource.ide.eclipse.dashboard.ui with connectorKind jira + +!ENTRY org.eclipse.ui.workbench 4 2 2014-10-16 20:44:30.651 +!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". +!STACK 0 +java.lang.NullPointerException + at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36) + at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) + at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2555) + at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) + +!ENTRY org.eclipse.ui 4 4 2014-10-16 20:44:30.663 +!MESSAGE Unhandled Exception + +!ENTRY org.springframework.ide.eclipse.maven 4 0 2014-10-16 20:44:30.663 +!MESSAGE Unable to execute early startup code for an extension +!STACK 0 +java.lang.NullPointerException + at org.springframework.ide.eclipse.maven.internal.legacyconversion.LegacyProjectChecker.earlyStartup(LegacyProjectChecker.java:36) + at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) + at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) + at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) + at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2555) + at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) diff --git a/.metadata/.mylyn/.taskListIndex/segments.gen b/.metadata/.mylyn/.taskListIndex/segments.gen new file mode 100644 index 0000000000..63a7ec9a3c Binary files /dev/null and b/.metadata/.mylyn/.taskListIndex/segments.gen differ diff --git a/.metadata/.mylyn/.taskListIndex/segments_1 b/.metadata/.mylyn/.taskListIndex/segments_1 new file mode 100644 index 0000000000..6b350b10f4 Binary files /dev/null and b/.metadata/.mylyn/.taskListIndex/segments_1 differ diff --git a/.metadata/.mylyn/repositories.xml.zip b/.metadata/.mylyn/repositories.xml.zip new file mode 100644 index 0000000000..0f05d185fc Binary files /dev/null and b/.metadata/.mylyn/repositories.xml.zip differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap new file mode 100644 index 0000000000..91d6c54151 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.markers.snap differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap new file mode 100644 index 0000000000..91d6c54151 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.projects/RemoteSystemsTempFiles/.syncinfo.snap differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.jdt.core/state.dat b/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.jdt.core/state.dat new file mode 100644 index 0000000000..1b30d3ec25 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.jdt.core/state.dat differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.wst.jsdt.core/state.dat b/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.wst.jsdt.core/state.dat new file mode 100644 index 0000000000..ec85483841 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.projects/handling-spring-static-resources/org.eclipse.wst.jsdt.core/state.dat differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version new file mode 100644 index 0000000000..25cb955ba2 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index new file mode 100644 index 0000000000..3931c81cf2 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version new file mode 100644 index 0000000000..6b2aaa7640 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap new file mode 100644 index 0000000000..91d6c54151 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree new file mode 100644 index 0000000000..693f619ff9 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources new file mode 100644 index 0000000000..4d3c581705 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources differ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.snap b/.metadata/.plugins/org.eclipse.core.resources/.snap new file mode 100644 index 0000000000..156857881f Binary files /dev/null and b/.metadata/.plugins/org.eclipse.core.resources/.snap differ diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi new file mode 100644 index 0000000000..6c1bf27179 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -0,0 +1,3889 @@ + + + + activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration + ModelMigrationProcessor.001 + + + + + + topLevel + + + Minimized + MinimizedByZoom + + + persp.actionSet:ajrefactoring + persp.actionSet:org.eclipse.contribution.xref.ui.XRefActionSet + persp.actionSet:org.eclipse.mylyn.context.ui.actionSet + persp.actionSet:org.eclipse.mylyn.doc.actionSet + persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation + persp.actionSet:org.eclipse.ui.cheatsheets.actionSet + persp.actionSet:org.eclipse.rse.core.search.searchActionSet + persp.actionSet:org.eclipse.search.searchActionSet + persp.actionSet:org.eclipse.ui.edit.text.actionSet.annotationNavigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.navigation + persp.actionSet:org.eclipse.ui.edit.text.actionSet.convertLineDelimitersTo + persp.actionSet:org.eclipse.ui.externaltools.ExternalToolsSet + persp.actionSet:org.eclipse.ui.actionSet.keyBindings + persp.actionSet:org.eclipse.ui.actionSet.openFiles + persp.actionSet:org.jboss.ide.eclipse.archives.ui.actions.Archives + persp.actionSet:org.jboss.tools.jst.web.ui.server.actionSet + persp.actionSet:org.jboss.tools.central + persp.actionSet:org.jboss.tools.common.model.ui.actionSet + persp.actionSet:org.springframework.ide.eclipse.aop.ui.ActionSet + persp.actionSet:org.springframework.ide.eclipse.aop.ui.matcher.actionSet + persp.actionSet:org.springframework.ide.eclipse.beans.ui.actionSet + persp.actionSet:org.springframework.ide.eclipse.beans.search.actionSet + persp.actionSet:org.springsource.ide.eclipse.quicksearch.actionSet + persp.actionSet:org.springsource.ide.eclipse.commons.launch.actionSet + persp.actionSet:com.springsource.sts.ide.ui.actionSet.workbench + persp.actionSet:org.eclipse.debug.ui.launchActionSet + persp.actionSet:org.eclipse.jdt.ui.JavaActionSet + persp.actionSet:org.eclipse.jdt.ui.JavaElementCreationActionSet + persp.actionSet:org.eclipse.ui.NavigateActionSet + persp.viewSC:org.eclipse.jdt.ui.PackageExplorer + persp.viewSC:org.eclipse.jdt.ui.TypeHierarchy + persp.viewSC:org.eclipse.jdt.ui.SourceView + persp.viewSC:org.eclipse.jdt.ui.JavadocView + persp.viewSC:org.eclipse.search.ui.views.SearchView + persp.viewSC:org.eclipse.ui.console.ConsoleView + persp.viewSC:org.eclipse.ui.views.ContentOutline + persp.viewSC:org.eclipse.ui.views.ProblemView + persp.viewSC:org.eclipse.ui.views.ResourceNavigator + persp.viewSC:org.eclipse.ui.views.TaskList + persp.viewSC:org.eclipse.ui.views.ProgressView + persp.viewSC:org.eclipse.ui.navigator.ProjectExplorer + persp.viewSC:org.eclipse.ui.texteditor.TemplatesView + persp.viewSC:org.eclipse.pde.runtime.LogView + persp.newWizSC:org.eclipse.jdt.ui.wizards.JavaProjectWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewPackageCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewClassCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewInterfaceCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewEnumCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewAnnotationCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSourceFolderCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewSnippetFileCreationWizard + persp.newWizSC:org.eclipse.jdt.ui.wizards.NewJavaWorkingSetWizard + persp.newWizSC:org.eclipse.ui.wizards.new.folder + persp.newWizSC:org.eclipse.ui.wizards.new.file + persp.newWizSC:org.eclipse.ui.editors.wizards.UntitledTextFileWizard + persp.perspSC:org.eclipse.jdt.ui.JavaBrowsingPerspective + persp.perspSC:org.eclipse.debug.ui.DebugPerspective + persp.newWizSC:com.android.ide.eclipse.adt.project.NewProjectWizard + persp.newWizSC:com.android.ide.eclipse.editors.wizards.NewXmlFileWizard + persp.actionSet:adt.actionSet.wizards + persp.actionSet:adt.actionSet.avdManager + persp.actionSet:adt.actionSet.lint + persp.actionSet:adt.actionSet.refactorings + persp.perspSC:com.android.ide.eclipse.ddms.Perspective + persp.perspSC:com.android.ide.eclipse.hierarchyviewer.PixelPerfectPespective + persp.perspSC:com.android.ide.eclipse.hierarchyviewer.TreeViewPerspective + persp.actionSet:ajelementCreation + persp.newWizSC:ajaspectwizard + persp.newWizSC:ajprojectwizard + persp.perspSC:org.eclipse.ajdt.ui.visualiser.AspectVisualizationPerspective + persp.viewSC:org.eclipse.ant.ui.views.AntView + persp.perspSC:org.eclipse.birt.report.designer.ui.ReportPerspective + persp.newWizSC:org.eclipse.birt.report.designer.ui.ide.wizards.NewReportWizard + persp.newWizSC:org.eclipse.birt.report.designer.ui.ide.wizards.NewTemplateWizard + persp.newWizSC:org.eclipse.birt.report.designer.ui.wizards.NewLibraryWizard + persp.showIn:org.eclipse.egit.ui.RepositoriesView + persp.actionSet:org.eclipse.debug.ui.breakpointActionSet + persp.actionSet:org.eclipse.jdt.debug.ui.JDTDebugActionSet + persp.newWizSC:org.eclipse.jdt.junit.wizards.NewTestCaseCreationWizard + persp.actionSet:org.eclipse.jdt.junit.JUnitActionSet + persp.showIn:org.eclipse.jdt.ui.PackageExplorer + persp.showIn:org.eclipse.team.ui.GenericHistoryView + persp.showIn:org.eclipse.ui.views.ResourceNavigator + persp.showIn:org.eclipse.ui.navigator.ProjectExplorer + persp.viewSC:org.eclipse.mylyn.tasks.ui.views.tasks + persp.newWizSC:org.eclipse.mylyn.tasks.ui.wizards.new.repository.task + persp.perspSC:org.eclipse.wst.jsdt.ui.JavaPerspective + persp.actionSet:org.hibernate.eclipse.launch.actionset + persp.showIn:org.jboss.tools.forge.ui.view + persp.perspSC:org.jboss.tools.jst.web.ui.WebDevelopmentPerspective + persp.viewSC:org.jboss.tools.common.model.ui.navigator.NavigatorViewPart + persp.viewSC:org.springframework.ide.eclipse.aop.ui.navigator.aopReferenceModelNavigator + persp.viewSC:org.springframework.ide.eclipse.aop.ui.tracing.eventTraceView + persp.newWizSC:org.springframework.ide.eclipse.beans.ui.wizards.newBeansConfig + persp.newWizSC:org.eclipse.m2e.core.wizards.Maven2ProjectWizard + persp.newWizSC:com.springsource.sts.roo.ui.wizard.newRooProjectWizard + persp.showIn:org.springframework.ide.eclipse.ui.navigator.springExplorer + persp.viewSC:org.springframework.ide.eclipse.ui.navigator.springExplorer + persp.newWizSC:org.springframework.ide.eclipse.webflow.ui.wizard.newWebflowConfigWizard + persp.newWizSC:com.springsource.sts.wizard.template + persp.newWizSC:org.springsource.ide.eclipse.commons.gettingstarted.wizard.boot.NewSpringBootWizard + persp.newWizSC:org.springsource.ide.eclipse.gettingstarted.wizards.import.generic.newalias + + + + newtablook + org.eclipse.e4.primaryNavigationStack + + + + + + + + newtablook + + + + + + + + + + newtablook + + + + + + newtablook + org.eclipse.e4.secondaryNavigationStack + + + + + + newtablook + + + + + newtablook + + + + + + newtablook + + + + + + newtablook + org.eclipse.e4.secondaryDataStack + + + + + + + + + + + + + + + + active + Maximized + + + + + + + View + categoryTag:Help + + + View + categoryTag:General + active + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:Help + + + + newtablook + org.eclipse.e4.primaryDataStack + EditorStack + + + Editor + org.eclipse.wst.server.ui.editor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + Editor + com.android.ide.eclipse.editors.CommonXmlEditor + removeOnHide + + + + + + View + categoryTag:Java + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:Java + + + View + categoryTag:General + + + View + categoryTag:General + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:Java + + + + View + categoryTag:Java + + ViewMenu + menuContribution:menu + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:General + + + View + categoryTag:General + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:General + + + View + categoryTag:Ant + + + View + categoryTag:AspectJ + + + View + categoryTag:Git + + + View + categoryTag:Java + + + + View + categoryTag:Mylyn + + ViewMenu + menuContribution:menu + + + + + View + categoryTag:Spring + + + + View + categoryTag:Spring + + ViewMenu + menuContribution:menu + + + + + + View + categoryTag:Server + + ViewMenu + menuContribution:menu + + + + + + View + categoryTag:General + + ViewMenu + menuContribution:menu + + + + + + toolbarSeparator + + + + Draggable + + + + + + + + + + + + + + + toolbarSeparator + + + + Draggable + + + + + + Draggable + + + + + Draggable + + + + + Draggable + + + + + Draggable + + + + + + + + + + + Draggable + + + + + + + + Draggable + + + + + + + + Draggable + + + + + + + Draggable + + + + + + + + + + toolbarSeparator + + + + Draggable + + + + + + + + + + + + toolbarSeparator + + + + toolbarSeparator + + + + Draggable + + + + + + stretch + + + glue + + + + glue + + + Draggable + + + + + stretch + + + + Draggable + + + + + + TrimStack + + + + + + + + + + + + + platform:cocoa + + + + + + + + + + platform:cocoa + + + + + + + + + + + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + + platform:cocoa + + + + + + + + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + + + + + + + + + + + + + + + + + + + + platform:cocoa + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + platform:cocoa + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + platform:cocoa + + + + + + + + + + platform:cocoa + + + + + platform:cocoa + + + + platform:cocoa + + + + + + + + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + platform:cocoa + + + + + + + + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + + + + + platform:cocoa + + + + platform:cocoa + + + + + + + + + + platform:cocoa + + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + platform:cocoa + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + + + platform:cocoa + + + + + platform:cocoa + + + + platform:cocoa + + + + + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + + + + + + + + platform:cocoa + + + platform:cocoa + + + + + platform:cocoa + + + + platform:cocoa + + + + + + platform:cocoa + + + + platform:cocoa + + + + + + platform:cocoa + + + + + platform:cocoa + + + platform:cocoa + + + + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + + + + + + + + + + + platform:cocoa + + + + + + + platform:cocoa + + + + + + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + + + platform:cocoa + + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + platform:cocoa + + + + + platform:cocoa + + + + + + + + platform:cocoa + + + + + + + + + + + + + + + + + + + + + + + + + + platform:cocoa + + + + + + + + + platform:cocoa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + platform:cocoa + + + + platform:cocoa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Editor + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Tracer for OpenGL ES + + + View + categoryTag:Tracer for OpenGL ES + + + View + categoryTag:Tracer for OpenGL ES + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:Android + + + View + categoryTag:AspectJ + + + View + categoryTag:Ant + + + View + categoryTag:Report Design + + + View + categoryTag:Report Design + + + View + categoryTag:Report Design + + + View + categoryTag:&C/C++ + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Make + + + View + categoryTag:&C/C++ + + + View + categoryTag:&C/C++ + + + View + categoryTag:&C/C++ + + + View + categoryTag:&C/C++ + + + View + categoryTag:&C/C++ + + + View + categoryTag:General + + + View + categoryTag:Visualiser + + + View + categoryTag:Visualiser + + + View + categoryTag:AspectJ + + + View + categoryTag:Data Management + + + View + categoryTag:Data Management + + + View + categoryTag:Data Management + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Debug + + + View + categoryTag:Git + + + View + categoryTag:Git + + + View + categoryTag:Git + + + View + categoryTag:Git + + + View + categoryTag:Git + + + View + categoryTag:General + + + View + categoryTag:Help + + + View + categoryTag:JPA + + + View + categoryTag:JPA + + + View + categoryTag:JavaServer Faces + + + View + categoryTag:JavaServer Faces + + + View + categoryTag:Maven + + + View + categoryTag:Maven + + + View + categoryTag:Mylyn + + + View + categoryTag:Mylyn + + + View + categoryTag:Mylyn + + + View + categoryTag:API Tools + + + View + categoryTag:Plug-in Development + + + View + categoryTag:Plug-in Development + + + View + categoryTag:Plug-in Development + + + View + categoryTag:Plug-in Development + + + View + categoryTag:Plug-in Development + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:Remote Systems + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:CVS + + + View + categoryTag:CVS + + + View + categoryTag:Team + + + View + categoryTag:Team + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:Help + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:General + + + View + categoryTag:Debug + + + View + categoryTag:JavaScript + + + View + categoryTag:JavaScript + + + View + categoryTag:JavaScript + + + View + categoryTag:JavaScript + + + View + categoryTag:JavaScript + + + View + categoryTag:Server + + + View + categoryTag:XML + + + View + categoryTag:XML + + + View + categoryTag:Hibernate + + + View + categoryTag:Hibernate + + + View + categoryTag:Hibernate + + + View + categoryTag:Hibernate + + + View + categoryTag:JBoss Tools + + + View + categoryTag:Server + + + View + categoryTag:Forge + + + View + categoryTag:JMX + + + View + categoryTag:JBoss Tools Web + + + View + categoryTag:JBoss Tools Web + + + View + categoryTag:JBoss Tools Web + + + View + categoryTag:JBoss Tools + + + View + categoryTag:Seam + + + View + categoryTag:JBoss Tools Web Services + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Spring + + + View + categoryTag:Debug + + + View + categoryTag:Java + + + View + categoryTag:Java + + + View + categoryTag:Java + + + View + categoryTag:Java Browsing + + + View + categoryTag:Java Browsing + + + View + categoryTag:Java Browsing + + + View + categoryTag:Java Browsing + + + View + categoryTag:Java + + + View + categoryTag:Java + + + View + categoryTag:Java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache b/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache new file mode 100644 index 0000000000..dd4af88111 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps b/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps new file mode 100644 index 0000000000..80b5f91d54 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/indexNamesMap.txt b/.metadata/.plugins/org.eclipse.jdt.core/indexNamesMap.txt new file mode 100644 index 0000000000..32e47edfaf --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.core/indexNamesMap.txt @@ -0,0 +1 @@ +INDEX VERSION 1.127 diff --git a/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache b/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache new file mode 100644 index 0000000000..593f4708db Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt b/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt new file mode 100644 index 0000000000..4644f71d79 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt @@ -0,0 +1,2 @@ +aj +java \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache new file mode 100644 index 0000000000..d3473153f2 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache differ diff --git a/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt b/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt new file mode 100644 index 0000000000..3af5ad5b80 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt @@ -0,0 +1,23 @@ +INDEX VERSION 1.127+/Users/Elena/tutorials/.metadata/.plugins/org.eclipse.jdt.core +4249315662.index +1271342938.index +272178059.index +3712507179.index +2996324989.index +1833648217.index +3302703152.index +450555687.index +4238209716.index +3954040986.index +1819685514.index +770573466.index +156905802.index +3004609673.index +2545238116.index +2326659272.index +3266567714.index +1384487945.index +84777399.index +3000285004.index +765977872.index +3321539481.index diff --git a/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat new file mode 100644 index 0000000000..e91b239486 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat differ diff --git a/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml b/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml new file mode 100644 index 0000000000..81c4e135f3 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml new file mode 100644 index 0000000000..a4ee3cbc9a --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml new file mode 100644 index 0000000000..9e390f501d --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml new file mode 100644 index 0000000000..a67b723f21 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml @@ -0,0 +1,13 @@ + +
+
+ + + + + +
+
+ +
+
diff --git a/.metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex/2996324989.dat b/.metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex/2996324989.dat new file mode 100644 index 0000000000..9f3dde8c83 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex/2996324989.dat differ diff --git a/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml new file mode 100644 index 0000000000..aa26784293 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml @@ -0,0 +1,7 @@ + +
+
+ + +
+
diff --git a/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser b/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser new file mode 100644 index 0000000000..a02fb4650f Binary files /dev/null and b/.metadata/.plugins/org.eclipse.m2e.core/workspaceState.ser differ diff --git a/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties b/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties new file mode 100644 index 0000000000..b8528c313e --- /dev/null +++ b/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties @@ -0,0 +1,2 @@ +#Cached timestamps +#Thu Oct 16 20:42:58 PET 2014 diff --git a/.metadata/.plugins/org.eclipse.rse.core/.log b/.metadata/.plugins/org.eclipse.rse.core/.log new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark b/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/FP.local.files_0/node.properties b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/FP.local.files_0/node.properties new file mode 100644 index 0000000000..1fd82a90dd --- /dev/null +++ b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/FP.local.files_0/node.properties @@ -0,0 +1,57 @@ +# RSE DOM Node +00-name=MacBook-Pro-de-Elena-Garcia-Miro-P\:local.files +01-type=FilterPool +03-attr.default=true +03-attr.deletable=true +03-attr.id=local.files +03-attr.nonRenamable=false +03-attr.owningParentName=null +03-attr.release=200 +03-attr.singleFilterStringOnly=false +03-attr.singleFilterStringOnlyESet=false +03-attr.stringsCaseSensitive=true +03-attr.supportsDuplicateFilterStrings=false +03-attr.supportsNestedFilters=true +03-attr.type=default +06-child.00000.00-name=My Home +06-child.00000.01-type=Filter +06-child.00000.03-attr.default=false +06-child.00000.03-attr.filterType=default +06-child.00000.03-attr.id=My Home +06-child.00000.03-attr.nonChangable=false +06-child.00000.03-attr.nonDeletable=false +06-child.00000.03-attr.nonRenamable=false +06-child.00000.03-attr.promptable=false +06-child.00000.03-attr.relativeOrder=0 +06-child.00000.03-attr.release=200 +06-child.00000.03-attr.singleFilterStringOnly=false +06-child.00000.03-attr.stringsCaseSensitive=true +06-child.00000.03-attr.stringsNonChangable=false +06-child.00000.03-attr.supportsDuplicateFilterStrings=false +06-child.00000.03-attr.supportsNestedFilters=true +06-child.00000.06-child.00000.00-name=/Users/Elena/* +06-child.00000.06-child.00000.01-type=FilterString +06-child.00000.06-child.00000.03-attr.default=false +06-child.00000.06-child.00000.03-attr.string=/Users/Elena/* +06-child.00000.06-child.00000.03-attr.type=default +06-child.00001.00-name=Root +06-child.00001.01-type=Filter +06-child.00001.03-attr.default=false +06-child.00001.03-attr.filterType=default +06-child.00001.03-attr.id=Root +06-child.00001.03-attr.nonChangable=false +06-child.00001.03-attr.nonDeletable=false +06-child.00001.03-attr.nonRenamable=false +06-child.00001.03-attr.promptable=false +06-child.00001.03-attr.relativeOrder=0 +06-child.00001.03-attr.release=200 +06-child.00001.03-attr.singleFilterStringOnly=false +06-child.00001.03-attr.stringsCaseSensitive=true +06-child.00001.03-attr.stringsNonChangable=false +06-child.00001.03-attr.supportsDuplicateFilterStrings=false +06-child.00001.03-attr.supportsNestedFilters=true +06-child.00001.06-child.00000.00-name=/* +06-child.00001.06-child.00000.01-type=FilterString +06-child.00001.06-child.00000.03-attr.default=false +06-child.00001.06-child.00000.03-attr.string=/* +06-child.00001.06-child.00000.03-attr.type=default diff --git a/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/H.local_16/node.properties b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/H.local_16/node.properties new file mode 100644 index 0000000000..8adafb7810 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/H.local_16/node.properties @@ -0,0 +1,25 @@ +# RSE DOM Node +00-name=Local +01-type=Host +03-attr.description= +03-attr.hostname=LOCALHOST +03-attr.offline=false +03-attr.promptable=false +03-attr.systemType=org.eclipse.rse.systemtype.local +03-attr.type=Local +06-child.00000.00-name=Local Connector Service +06-child.00000.01-type=ConnectorService +06-child.00000.03-attr.group=Local Connector Service +06-child.00000.03-attr.port=0 +06-child.00000.03-attr.useSSL=false +06-child.00000.06-child.00000.00-name=Local Files +06-child.00000.06-child.00000.01-type=SubSystem +06-child.00000.06-child.00000.03-attr.hidden=false +06-child.00000.06-child.00000.03-attr.type=local.files +06-child.00000.06-child.00000.06-child.00000.00-name=MacBook-Pro-de-Elena-Garcia-Miro-P___MacBook-Pro-de-Elena-Garcia-Miro-P\:local.files +06-child.00000.06-child.00000.06-child.00000.01-type=FilterPoolReference +06-child.00000.06-child.00000.06-child.00000.03-attr.refID=local.files +06-child.00000.06-child.00001.00-name=Local Shells +06-child.00000.06-child.00001.01-type=SubSystem +06-child.00000.06-child.00001.03-attr.hidden=false +06-child.00000.06-child.00001.03-attr.type=local.shells diff --git a/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/node.properties b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/node.properties new file mode 100644 index 0000000000..ee267da8c7 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.rse.core/profiles/PRF.macbook-pro-de-elena-garcia-miro-p_9697497121/node.properties @@ -0,0 +1,7 @@ +# RSE DOM Node +00-name=MacBook-Pro-de-Elena-Garcia-Miro-P +01-type=Profile +03-attr.defaultPrivate=true +03-attr.isActive=true +05-ref.00000=FP.local.files_0 +05-ref.00001=H.local_16 diff --git a/.metadata/.plugins/org.eclipse.rse.ui/.log b/.metadata/.plugins/org.eclipse.rse.ui/.log new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.metadata/.plugins/org.eclipse.search/dialog_settings.xml b/.metadata/.plugins/org.eclipse.search/dialog_settings.xml new file mode 100644 index 0000000000..d2bdd1e49c --- /dev/null +++ b/.metadata/.plugins/org.eclipse.search/dialog_settings.xml @@ -0,0 +1,70 @@ + +
+
+ +
+
+ +
+
+ + + + + +
+ +
+
+ + + + + + + + + + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + +
+
diff --git a/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml new file mode 100644 index 0000000000..50f1edb316 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.editors/dialog_settings.xml @@ -0,0 +1,5 @@ + +
+
+
+
diff --git a/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml new file mode 100644 index 0000000000..24f718e1ca --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml @@ -0,0 +1,30 @@ + +
+
+ + + + + +
+
+ + + + + + + + + + + +
+ + + + + +
+
+
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml new file mode 100644 index 0000000000..b9f4ca805b --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.workbench.texteditor/dialog_settings.xml @@ -0,0 +1,23 @@ + +
+
+ + + + + + + + + + + +
+
+ + + + + +
+
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml new file mode 100644 index 0000000000..1ae420da85 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml @@ -0,0 +1,33 @@ + +
+
+ + + + + + + + + + +
+
+ + + + +
+
+ + + + + + + + + + +
+
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml new file mode 100644 index 0000000000..61cd82aa2a --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml new file mode 100644 index 0000000000..5ca0b77690 --- /dev/null +++ b/.metadata/.plugins/org.eclipse.ui/dialog_settings.xml @@ -0,0 +1,3 @@ + +
+
diff --git a/.metadata/.plugins/org.eclipse.wst.internet.cache/cache.xml b/.metadata/.plugins/org.eclipse.wst.internet.cache/cache.xml new file mode 100644 index 0000000000..1b1be0f54e --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.internet.cache/cache.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.wst.jsdt.core/externalLibsTimeStamps b/.metadata/.plugins/org.eclipse.wst.jsdt.core/externalLibsTimeStamps new file mode 100644 index 0000000000..35109d64d3 Binary files /dev/null and b/.metadata/.plugins/org.eclipse.wst.jsdt.core/externalLibsTimeStamps differ diff --git a/.metadata/.plugins/org.eclipse.wst.jsdt.core/variablesAndContainers.dat b/.metadata/.plugins/org.eclipse.wst.jsdt.core/variablesAndContainers.dat new file mode 100644 index 0000000000..ba9a8170ae Binary files /dev/null and b/.metadata/.plugins/org.eclipse.wst.jsdt.core/variablesAndContainers.dat differ diff --git a/.metadata/.plugins/org.eclipse.wst.jsdt.ui/OpenTypeHistory.xml b/.metadata/.plugins/org.eclipse.wst.jsdt.ui/OpenTypeHistory.xml new file mode 100644 index 0000000000..a4ee3cbc9a --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.jsdt.ui/OpenTypeHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.wst.jsdt.ui/QualifiedTypeNameHistory.xml b/.metadata/.plugins/org.eclipse.wst.jsdt.ui/QualifiedTypeNameHistory.xml new file mode 100644 index 0000000000..9e390f501d --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.jsdt.ui/QualifiedTypeNameHistory.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.wst.server.core/monitors.xml b/.metadata/.plugins/org.eclipse.wst.server.core/monitors.xml new file mode 100644 index 0000000000..0bd2033fef --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.server.core/monitors.xml @@ -0,0 +1,2 @@ + + diff --git a/.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties b/.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties new file mode 100644 index 0000000000..4acf7ba3bc --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.sse.core/task-tags.properties @@ -0,0 +1,3 @@ +# +#Thu Oct 16 20:44:26 PET 2014 +task-tag-projects-already-scanned= diff --git a/.metadata/.plugins/org.eclipse.wst.sse.ui/dialog_settings.xml b/.metadata/.plugins/org.eclipse.wst.sse.ui/dialog_settings.xml new file mode 100644 index 0000000000..63fae25e8f --- /dev/null +++ b/.metadata/.plugins/org.eclipse.wst.sse.ui/dialog_settings.xml @@ -0,0 +1,5 @@ + +
+
+
+
diff --git a/.metadata/.plugins/org.jboss.tools.central/dialog_settings.xml b/.metadata/.plugins/org.jboss.tools.central/dialog_settings.xml new file mode 100644 index 0000000000..f977cc958a --- /dev/null +++ b/.metadata/.plugins/org.jboss.tools.central/dialog_settings.xml @@ -0,0 +1,8 @@ + +
+
+ + + +
+
diff --git a/.metadata/.plugins/org.springframework.ide.eclipse.aop.core/.state b/.metadata/.plugins/org.springframework.ide.eclipse.aop.core/.state new file mode 100644 index 0000000000..8a7bbde21f --- /dev/null +++ b/.metadata/.plugins/org.springframework.ide.eclipse.aop.core/.state @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/metadata/.state b/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/metadata/.state new file mode 100644 index 0000000000..9fa791da42 Binary files /dev/null and b/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/metadata/.state differ diff --git a/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/properties/.state b/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/properties/.state new file mode 100644 index 0000000000..4e0dff42d9 Binary files /dev/null and b/.metadata/.plugins/org.springframework.ide.eclipse.beans.core.metadata/properties/.state differ diff --git a/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.blogs/-549550714.xml b/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.blogs/-549550714.xml new file mode 100644 index 0000000000..ff2193fcc3 --- /dev/null +++ b/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.blogs/-549550714.xml @@ -0,0 +1,816 @@ + + + Spring + + + http://spring.io/blog.atom + https://spring.io/favicon.ico + 2014-10-15T13:20:00Z + + Whats new in Spring Data Evans? + + + + Christoph Strobl + + tag:spring.io,2014-09-17:1764 + 2014-10-15T13:20:00Z + <p>Spring Data Release <a href="https://spring.io/blog/2014/09/09/spring-data-release-train-evans-goes-ga">Evans</a> has been around for a while and it's more than time to finally introduce you to the latest and greatest features we shipped with it.</p> + +<p>There's a lot to cover since major enhancements have gone into the commons module. Those changes already have made it into some store modules and will go on and sneak their way into others over time, too. All of them are already available for at least <a href="http://projects.spring.io/spring-data-jpa/">Spring Data JPA</a>. That said, lets jump right in.</p> + +<h2> +<a name="user-content-advanced-support-for-java-8" class="anchor" href="#advanced-support-for-java-8" aria-hidden="true"><span class="octicon octicon-link"></span></a>Advanced support for Java 8</h2> + +<p>Java8 has now been around for a while and previous Spring Data release trains already added fundamental support for some of those. With the Evans release train we extended the support significantly.</p> + +<p>Java 8's <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html"><code>Optional</code></a> has been a supported return since the <a href="https://spring.io/blog/2014/05/21/what-s-new-in-spring-data-dijkstra">Dijkstra release</a> freeing you of having <code>null</code> checks spread across your code. We simply wrap and unwrap values for you when used as return types with repositories.</p> + +<p>As of the Evans release <a href="http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html">default methods</a> can be used in repository interfaces to e.g. forward parts of the parameters handed into the method to other query methods.</p> + +<div class="highlight highlight-java"><pre><span class="kd">interface</span> <span class="nc">PersonRepository</span> <span class="kd">extends</span> <span class="n">Repository</span><span class="o">&lt;</span><span class="n">Person</span><span class="o">,</span> <span class="n">Long</span><span class="o">&gt;</span> <span class="o">{</span> + + <span class="n">Optional</span><span class="o">&lt;</span><span class="n">Customer</span><span class="o">&gt;</span> <span class="nf">findByLastname</span><span class="o">(</span><span class="n">String</span> <span class="n">lastname</span><span class="o">);</span> + + <span class="k">default</span> <span class="n">Optional</span><span class="o">&lt;</span><span class="n">Customer</span><span class="o">&gt;</span> <span class="nf">findByLastname</span><span class="o">(</span><span class="n">Customer</span> <span class="n">customer</span><span class="o">)</span> <span class="o">{</span> + <span class="k">return</span> <span class="nf">findByLastname</span><span class="o">(</span><span class="n">customer</span> <span class="o">==</span> <span class="kc">null</span> <span class="o">?</span> <span class="kc">null</span> <span class="o">:</span> <span class="n">customer</span><span class="o">.</span><span class="na">getLastname</span><span class="o">());</span> + <span class="o">}</span> +<span class="o">}</span> +</pre></div> + +<h2> +<a name="user-content-enhanced-multi-store-support" class="anchor" href="#enhanced-multi-store-support" aria-hidden="true"><span class="octicon octicon-link"></span></a>Enhanced multi-store support</h2> + +<p>Configuring your application to make use of different Spring Data modules has not been without issues so far. E.g. you might want to combine JPA and MongoDB where <code>Customer</code> happens to be a JPA Entity while <code>Order</code> is a MongoDB Document both persisted via according repository interfaces.</p> + +<div class="highlight highlight-java"><pre><span class="nd">@Entity</span> +<span class="kd">class</span> <span class="nc">Customer</span> <span class="o">{</span> + + <span class="nd">@Id</span> <span class="nd">@GeneratedValue</span> <span class="n">Long</span> <span class="n">id</span><span class="o">;</span> + <span class="n">String</span> <span class="n">firstname</span><span class="o">,</span> <span class="n">lastname</span><span class="o">;</span> + <span class="c1">// ...</span> +<span class="o">}</span> + +<span class="nd">@Document</span> +<span class="kd">class</span> <span class="nc">Order</span> <span class="o">{</span> + + <span class="nd">@Id</span> <span class="n">String</span> <span class="n">id</span><span class="o">;</span> + <span class="n">Long</span> <span class="n">customerId</span><span class="o">;</span> + <span class="n">Date</span> <span class="n">orderDate</span><span class="o">;</span> + <span class="c1">// ...</span> +<span class="o">}</span> + +<span class="kd">interface</span> <span class="nc">CustomerRepository</span> <span class="kd">extends</span> <span class="n">CrudRepository</span><span class="o">&lt;</span><span class="n">Customer</span><span class="o">,</span> <span class="n">Long</span><span class="o">&gt;</span> <span class="o">{}</span> + +<span class="kd">interface</span> <span class="nc">OrderRepository</span> <span class="kd">extends</span> <span class="n">CrudRepository</span><span class="o">&lt;</span><span class="n">Order</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="o">{}</span> +</pre></div> + +<p>Until the Spring Data Evans release you had to manually configure the repository setup for MongoDB and JPA to mutually exclude the interfaces not relevant for the given store. Users usually used separate packages for that.</p> + +<p>Now the repository setup detects that multiple Spring Data modules are on the classpath, and automatically restricts the repository scanning and inspect the domain type used by a given repository for store specific annotations such as <code>@Entity</code> and <code>@Document</code> to determine the concrete implementation they belong to. E.g. the Spring Data MongoDB module would drop the (accidentally) detected <code>CustomerRepository</code> as we don't find an <code>@Document</code> annotation.</p> + +<h3> +<a name="user-content-statically-limiting-results" class="anchor" href="#statically-limiting-results" aria-hidden="true"><span class="octicon octicon-link"></span></a>Statically limiting results</h3> + +<p>Dynamically limiting results is no new concept since Spring Data has had <code>Pagable</code> as abstraction since its inception and I bet nearly every Spring Data user is already familiar with something like this:</p> + +<div class="highlight highlight-java"><pre><span class="n">List</span><span class="o">&lt;</span><span class="n">Person</span><span class="o">&gt;</span> <span class="nf">findByLastname</span><span class="o">(</span><span class="n">String</span> <span class="n">lastname</span><span class="o">,</span> <span class="n">Pageable</span> <span class="n">page</span><span class="o">)</span> +</pre></div> + +<p>This method declaration provides quite some flexibility: clients define the page number, size and a sort order of the elements they want to access. This is great if these values change dynamically (e.g. when you traverse the result set page by page).</p> + +<p>But what if you're always only interested in e.g. the first 10 results and you always want them to be ordered by lastname? This could've been achieved by statically defining a <code>PageRequest</code> and reusing that for every method invocation. However, that still required the client to hand in the special <code>PageRequest</code>. </p> + +<p>As of Spring Data Evans we now offer you a convenient way to explicitly limit the result set to a certain number of elements by using the keywords <code>top</code> and <code>first</code> followed by an optional positive numeric value (defaulting to 1).</p> + +<div class="highlight highlight-java"><pre><span class="n">List</span><span class="o">&lt;</span><span class="n">Person</span><span class="o">&gt;</span> <span class="nf">findTop10ByLastnameOrderByFirstnameDesc</span><span class="o">(</span><span class="n">String</span> <span class="n">lastname</span><span class="o">);</span> +</pre></div> + +<h2> +<a name="user-content-mongodb-full-text-search" class="anchor" href="#mongodb-full-text-search" aria-hidden="true"><span class="octicon octicon-link"></span></a>MongoDB Full Text Search</h2> + +<p>The Evans RC1 release introduced basic <a href="https://spring.io/blog/2014/07/17/text-search-your-documents-with-spring-data-mongodb">text index support</a> for MongoDB 2.6. Using <code>@TextIndexed</code> allows you to mark properties you want to have text search enabled for so that we can go on and create the index for you. Note, that placing <code>@TextIndexed</code> on properties referring to complex types will index all properties of that type. Since scoring is a fundamental part of full text search the <code>@TextScore</code> annotation will assert that any full text query returns the documents score allowing you to order them by relevance.</p> + +<div class="highlight highlight-java"><pre><span class="nd">@Document</span> +<span class="kd">class</span> <span class="nc">BlogPost</span> <span class="o">{</span> + + <span class="nd">@Id</span> <span class="n">String</span> <span class="n">id</span><span class="o">;</span> + <span class="nd">@TextIndexed</span><span class="o">(</span><span class="n">weight</span> <span class="o">=</span> <span class="mi">3</span><span class="o">)</span> <span class="n">String</span> <span class="n">title</span><span class="o">;</span> + <span class="nd">@TextIndexed</span><span class="o">(</span><span class="n">weight</span> <span class="o">=</span> <span class="mi">2</span><span class="o">)</span> <span class="n">String</span> <span class="n">content</span><span class="o">;</span> + <span class="nd">@TextIndexed</span> <span class="n">List</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">categories</span><span class="o">;</span> + <span class="nd">@TextScore</span> <span class="n">Float</span> <span class="n">score</span><span class="o">;</span> +<span class="o">}</span> +</pre></div> + +<p>That in place, we extended the repository support to accept a <code>TextCriteria</code> instance that will define detailed options about the text search that shall be executed: the terms to be searched for, language options etc.</p> + +<div class="highlight highlight-java"><pre><span class="kd">interface</span> <span class="nc">BlogPostRepository</span> <span class="kd">extends</span> <span class="n">CrudRepository</span><span class="o">&lt;</span><span class="n">BlogPost</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="o">{</span> + + <span class="n">Page</span><span class="o">&lt;</span><span class="n">BlogPost</span><span class="o">&gt;</span> <span class="nf">findBy</span><span class="o">(</span><span class="n">TextCriteria</span> <span class="n">criteria</span><span class="o">,</span> <span class="n">Pageable</span> <span class="n">page</span><span class="o">);</span> + + <span class="n">List</span><span class="o">&lt;</span><span class="n">BlogPost</span><span class="o">&gt;</span> <span class="nf">findAllByOrderByScoreDesc</span><span class="o">(</span><span class="n">TextCriteria</span> <span class="n">criteria</span><span class="o">);</span> +<span class="o">}</span> +</pre></div> + +<p>The first query method is quite straight forward. It executes the given <code>TextCriteria</code> and pages the results. The second query method definition combines the given <code>TextCriteria</code> with a standard criteria definition derived from the method name. This shows that you can freely combine text search with standard query easily.</p> + +<h2> +<a name="user-content-mongodb-query-modifiers" class="anchor" href="#mongodb-query-modifiers" aria-hidden="true"><span class="octicon octicon-link"></span></a>MongoDB query modifiers</h2> + +<p>We added <code>@Meta</code> allowing you to define output and behavior of a query. By setting e.g. <code>maxExecutionTime</code> one can define the maximum duration a query may take (in milliseconds). Any execution that exceeds the limit will result in an error. You can also advice MongoDB to only scan through a maximum number of documents and return what has been found until reaching the limit by setting <code>maxScanDocuments</code>, while <code>comment</code> allows you to define text you can search for within the <code>system.profile</code> collection in case you got profiling enabled for your MongoDB instance. </p> + +<div class="highlight highlight-java"><pre><span class="nd">@Meta</span><span class="o">(</span><span class="n">maxExcecutionTime</span> <span class="o">=</span> <span class="mi">100</span><span class="o">,</span> <span class="n">comment</span> <span class="o">=</span> <span class="s">"onlyLimitedTime"</span><span class="o">)</span> +<span class="n">List</span><span class="o">&lt;</span><span class="n">Customer</span><span class="o">&gt;</span> <span class="nf">findByFirstname</span><span class="o">(</span><span class="n">String</span> <span class="n">firstname</span><span class="o">);</span> +</pre></div> + +<h2> +<a name="user-content-configuration-options-for-redis-sentinel" class="anchor" href="#configuration-options-for-redis-sentinel" aria-hidden="true"><span class="octicon octicon-link"></span></a>Configuration options for Redis Sentinel</h2> + +<p>Redis 2.8 introduced high-availability support know as <a href="http://redis.io/topics/sentinel">Sentinels</a>. The Redis module of Spring Data Evans adds support to easily configure connecting to a sentinel setup so that your client will be able to continue working in case of re-elections of master nodes in a Redis cluster.</p> + +<p><code>RedisSentinelConfiguration</code> defines where the Sentiels are located so that the <code>ConnectionFactory</code> can set up pooling accordingly. In case of Jedis it will create a <code>JedisSentinelPool</code> for automatic failover. This means that in case your master node goes down, you'll receive, as soon as the Sentinels agreed on a new master, a connection to the new master without the need of any further interaction. </p> + +<div class="highlight highlight-java"><pre><span class="nd">@Configuration</span> +<span class="kd">class</span> <span class="nc">RedisSentinelApplicationConfig</span> <span class="o">{</span> + + <span class="nd">@Bean</span> + <span class="n">RedisConnectionFactory</span> <span class="nf">connectionFactory</span><span class="o">()</span> <span class="o">{</span> + <span class="k">return</span> <span class="k">new</span> <span class="nf">JedisConnectionFactory</span><span class="o">(</span><span class="n">sentinelConfig</span><span class="o">());</span> + <span class="o">}</span> + + <span class="nd">@Bean</span> + <span class="n">RedisSentinelConfiguration</span> <span class="nf">sentinelConfig</span><span class="o">()</span> <span class="o">{</span> + <span class="k">return</span> <span class="k">new</span> <span class="nf">RedisSentinelConfiguration</span><span class="o">().</span><span class="na">master</span><span class="o">(</span><span class="s">"mymaster"</span><span class="o">)</span> + <span class="o">.</span><span class="na">sentinel</span><span class="o">(</span><span class="s">"localhost"</span><span class="o">,</span> <span class="mi">26379</span><span class="o">)</span> + <span class="o">.</span><span class="na">sentinel</span><span class="o">(</span><span class="s">"localhost"</span><span class="o">,</span> <span class="mi">26380</span><span class="o">)</span> + <span class="o">.</span><span class="na">sentinel</span><span class="o">(</span><span class="s">"localhost"</span><span class="o">,</span> <span class="mi">26381</span><span class="o">);</span> + <span class="o">}</span> +<span class="o">}</span> +</pre></div> + +<p>The upcoming Spring Boot 1.2, will even take this even further by automatically picking up the <code>RedisSentinelConfiguration</code> if present and initialize the <code>RedisConnectionFactory</code> accordingly.</p> + +<h2> +<a name="user-content-schema-support-for-solr" class="anchor" href="#schema-support-for-solr" aria-hidden="true"><span class="octicon octicon-link"></span></a>Schema support for Solr</h2> + +<p>Although the <a href="https://cwiki.apache.org/confluence/display/solr/Schema+API">Solr Schema API</a> is not finished yet, we already try to support as much of it as possible. With the Evans release you can now dynamically add missing fields to an existing (managed) schema. To achieve this, we read the existing field definition and compare it against the one derived from the properties of the domain type. To do so we extended the <code>@Indexed</code> annotation a bit. It now allows some fine tuning of the fields to be created as values such as <code>indexed</code>, <code>stored</code> and <code>solrType</code> can be explicitly defined.</p> + +<div class="highlight highlight-java"><pre><span class="nd">@Configuration</span> +<span class="nd">@EnableSolrRepositories</span><span class="o">(</span><span class="n">schemaCreationSupport</span> <span class="o">=</span> <span class="kc">true</span><span class="o">)</span> +<span class="kd">class</span> <span class="nc">SolrConfiguration</span> <span class="o">{</span> + + <span class="nd">@Bean</span> + <span class="n">SolrServer</span> <span class="nf">solrServer</span><span class="o">()</span> <span class="o">{</span> + <span class="k">return</span> <span class="k">new</span> <span class="nf">HttpSolrServer</span><span class="o">(</span><span class="s">"http://localhost:8983/solr"</span><span class="o">);</span> + <span class="o">}</span> +<span class="o">}</span> + +<span class="nd">@SolrDocument</span><span class="o">(</span><span class="n">solrCoreName</span> <span class="o">=</span> <span class="s">"collection1"</span><span class="o">)</span> +<span class="kd">class</span> <span class="nc">ManagedProduct</span> <span class="o">{</span> + + <span class="nd">@Id</span> <span class="n">String</span> <span class="n">id</span><span class="o">;</span> + <span class="nd">@Indexed</span><span class="o">(</span><span class="n">type</span> <span class="o">=</span> <span class="s">"text_general"</span><span class="o">)</span> <span class="n">String</span> <span class="n">name</span><span class="o">;</span> + <span class="nd">@Indexed</span><span class="o">(</span><span class="n">name</span> <span class="o">=</span> <span class="s">"cat"</span><span class="o">)</span> <span class="n">List</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">category</span><span class="o">;</span> +<span class="o">}</span> +</pre></div> + +<p>As always we are eager to hear from you! Reach out to us on <a href="https://twitter.com/SpringData">Twitter</a>, <a href="http://stackoverflow.com/tags/spring-data">Stackoverflow</a> or <a href="http://jira.spring.io">JIRA</a> to request new features, suggest improvements or report a bug.</p> + + + This Week in Spring - Tuesday October 14th, 2014 + + + + Josh Long + + tag:spring.io,2014-10-14:1789 + 2014-10-14T18:05:00Z + <p>Welcome to another installment of <em>This Week in Spring</em>! This week I've been at Silicon Valley Code Camp, JAX London and Geekout UK talking to developers about how to build scalable, microservice-centric <a href="http://start.spring.io">Spring Boot</a> applications on <a href="http://cloudfoundry.org/index.html">Cloud Foundry</a>. It's been a lot fun talking to enthusiastic developers (on both sides of the Atlantic!).</p> + +<p>Without further ado, let's get on with the roundup!</p> + +<ul> +<li>Spring Boot co-lead Phil Webb just announced the availability of <a href="https://spring.io/blog/2014/10/11/spring-boot-1-2-0-m2-available-now">Spring Boot 1.2.0.M2</a> which includes, among other things, auto-configuration for Jersey, log4j, <code>commons-dbcp</code> support, a smarter <em>disk usage</em> health indicator and improved RabbitMQ support</li> +<li>Spring and Groovy Tool Suite lead Martin Lippert <a href="https://spring.io/blog/2014/10/13/spring-tool-suite-and-groovy-grails-tool-suite-3-6-2-released">has just announced the latest and greatest release, 3.6.2</a>, which is a maintenance release that includes an update to the latest Eclipse Luna SR1 installation. </li> +<li>Also, Spring Boot co-lead <a href="https://spring.io/blog/2014/10/11/spring-boot-1-1-8-released">Phil Webb just announced the 1.1.8 release of the 1.1x line of Spring Boot</a> which includes a fix for the white-label error page cross-site scripting attack. </li> +<li>Federated security is an important part of any distributed, multi-client, (micro)service-oriented system. Spring Security and Spring Security OAuth, in particular, provide a compelling solution. Join the good Dr. Dave Syer for this <a href="https://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2">upcoming webinar on microservice security using OAuth2</a> +</li> +<li>Matt Stine will be doing a webinar introducing <a href="https://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud">how Pivotal Cloud Foundry and Spring Cloud make for a natural solution to building microservices</a>. Don't miss this one!</li> +<li>Atlanta, GA, USA Tuesday Oct 21, Learn about Spring, Microservices, and Cloud Foundry at a <a href="http://www.pivotal.io/platform-as-a-service/cloud-platform-roadshow/atlanta#cities">one day roadshow event</a> at Cox communications.</li> +<li>Munich, Germany, GA, Thursday Oct 23, Learn about Spring, Microservices, and Cloud Foundry at a <a href="http://www.pivotal.io/platform-as-a-service/cloud-platform-roadshow/munich">one day roadshow event</a> at EMC's office in Ismaning, Germany. </li> +<li>I hope you'll join the Vaadin team and I on October 23rd for a <a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin">look how to build Spring Boot-powered Vaadin applications</a>.</li> +<li>The <em>Java et Moi</em> blog has a nice (French language) post <a href="http://javaetmoi.com/2014/10/annotation-sessionattributes-modelattribute-spring-mvc/">on using Spring MVC's <code>@SessionAttribute</code> annotation</a><br> +</li> +<li>I <em>really</em> enjoyed this <a href="http://altfatterz.blogspot.com/2014/10/software-configuration-with-spring-boot.html">very thorough look at contributing configuration property values</a> to a Spring Boot application (as <code>--D</code> arguments, environment variables, values in a property file, and values inside of JNDI)</li> +<li>Sudhir Dharmadhikari has done a <em>very</em> <a href="http://iwaow.blogspot.com/2014/10/jhipster-super-baby-in-springroos-pouch.html">nice job introducing the <code>yeoman</code> code-generator based JHipster</a>, which builds on top of <a href="http://spring.io/projects/spring-boot">Spring Boot</a>.</li> +<li>Our pal Miroslav Kopecky is back, this <a href="http://java.dzone.com/articles/scala-4-spring-mvc-without-0">time with a nice post on using Spring MVC (in Spring 4) using Java configuration</a> (through Scala!)</li> +<li> +<a href="http://antirez.com/news/79">Redis Cluster is no longer vaporware</a>! Check out the details.</li> +<li> Biju Kunjummen has put together <a href="http://java.dzone.com/articles/spring-configuration-and">a very nice post on the two styles of Java configuration</a>: one where you declare dependencies as parameters to the <code>@Bean</code>-annotated bean definition method, and one where you simply reference the other bean by calling a method.<br> +</li> +<li>Check out this post on <a href="http://architects.dzone.com/articles/using-log4j2-slf4j-spring-4">avoiding dependency conflicts between Log4j2 and SLF4J</a> in a Spring application.</li> +<li>Check out this post by Daniel Murygin which includes a detailed walk-through <a href="http://murygin.wordpress.com/2014/10/13/rest-web-service-file-uploads-spring-boot/">on building a fairly non-trivial REST service (that even handles file-uploads!) and client application using Spring Boot</a>?<br> +</li> +</ul> + + + Spring Tool Suite and Groovy/Grails Tool Suite 3.6.2 released + + + + Martin Lippert + + tag:spring.io,2014-10-13:1788 + 2014-10-13T14:20:11Z + <p>Dear Spring Community,</p> + +<p>I am happy to announce the new release of our Eclipse-based tooling today: +The Spring Tool Suite (STS) 3.6.2 and the Groovy/Grails Tool Suite (GGTS) 3.6.2.</p> + +<p>This is a maintenance release that updates STS/GGTS to the just released Eclipse Luna SR1 release. This includes a number of fixes across the various projects that are included in the STS distribution, together with fixes for the Java8 compiler and tooling in Eclipse.</p> + +<p>To download the distributions, please go visit:</p> + +<ul> +<li>Spring Tool Suite: <a href="https://spring.io/tools/sts/all">https://spring.io/tools/sts/all</a> +</li> +<li>Groovy/Grails Tool Suite: <a href="https://spring.io/tools/ggts/all">https://spring.io/tools/ggts/all</a> +</li> +</ul> + +<p>Detailed new and noteworthy notes can be found here: <a href="http://docs.spring.io/sts/nan/v362/NewAndNoteworthy.html">STS/GGTS 3.6.2 New &amp; Noteworthy</a>.</p> + +<p>NOTE: +Both tool suites ship on top of the latest Eclipse Luna 4.4 SR1 release as 64bit and 32bit based zip files only. There will be no native installers for STS/GGTS anymore.</p> + +<p>Since the 3.6.0 release we shifted towards a slightly changed release schedule, shipping minor releases more frequently. Therefore 3.6.3 is scheduled to ship in December, followed by 3.6.4 in early March 2015, shortly after the Eclipse Luna SR2 release.</p> + +<p>Enjoy!</p> + + + Spring Boot 1.2.0.M2 Available Now + + + + Phil Webb + + tag:spring.io,2014-10-11:1786 + 2014-10-11T03:55:53Z + <p>I am pleased to announce that Spring Boot 1.2.0.M2 is available now in the <a href="http://repo.springsource.org/milestone">Spring milestone repository</a>. This release adds a number of improvements and new features over <a href="https://spring.io/blog/2014/09/08/spring-boot-1-2-0-m1-available-now">M1</a>. Highlights include:</p> + +<ul> +<li>Full configuration of Jackson <code>ObjectMapper</code> features from your <code>application.properties</code> file.</li> +<li>Auto-configuration for Jersey.</li> +<li>Support for Log4j2.</li> +<li>Support for commons-dbcp2.</li> +<li>A new "disk usage" health indicator.</li> +<li>Improved RabbitMQ auto-configuration.</li> +</ul> + +<p>For a complete list of changes, and for upgrade instructions, see the <a href="http://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.2-Release-Notes">Spring Boot 1.2 Release Notes</a> on the WIKI. The <a href="http://docs.spring.io/spring-boot/docs/1.2.0.M2/reference/htmlsingle/">reference documentation</a> also continues to be updated to cover the new features.</p> + +<p>Thanks again to everyone that has contributed to the release! Please give it a go and report any problems using <a href="http://github.com/spring-projects/spring-boot/issues">the project Issue tracker</a> page.</p> + + + Spring Boot 1.1.8 released + + + + Phil Webb + + tag:spring.io,2014-10-11:1785 + 2014-10-11T00:37:52Z + <p>Spring Boot 1.1.8 has been released and is available now from <a href="http://repo.spring.io/release">repo.spring.io</a> and <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.springframework.boot%22">Maven Central</a>. </p> + +<p>This maintenance release includes a <a href="https://github.com/spring-projects/spring-boot/commit/3135c7f8aeb30b71eccc02bb0bb3817132c41060">security patch</a> to the "white label error" page which prevents potential cross-site scripting attacks; as such it is a recommended upgrade for all Spring Boot users. For a complete list of changes please refer to the <a href="https://github.com/spring-projects/spring-boot/issues?q=milestone%3A1.1.8">issue tracker</a>.</p> + +<p><a href="http://projects.spring.io/spring-boot/">Project Page</a> | <a href="https://github.com/spring-projects/spring-boot">GitHub</a> | <a href="https://github.com/spring-projects/spring-boot/issues">Issues</a> | <a href="http://docs.spring.io/spring-boot/docs/1.1.8.RELEASE/reference/htmlsingle">Documentation</a></p> + + + Pivotal at Silicon Valley Code Camp 2014 + + + + Pieter Humphrey + + tag:spring.io,2014-10-10:1784 + 2014-10-10T10:24:00Z + <p>Are you heading to Silicon Valley Code Camp 2014?   If you are, we invite all of the Java community members to stop by the Pivotal Booth and talk to Pivotal engineers about the latest innovations in Java SE, in Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Cloud Foundry and Hadoop. The exhibit space is open Saturday 8:00am – 5:00pm, and Saturday from 8:30am to 3:30pm, so there should be plenty of time to get your questions answered.  See below for details about our sessions and awesome giveaways - come find us! </p> + +<p><strong>SATURDAY - OCTOBER 11, 2014            </strong><br> +9:45 AM </p> + +<ul> + <li>Josh Long — Spring advocate at Pivotal</li> + <li><a href="http://www.siliconvalley-codecamp.com/Session/2014/building-bootiful-applications-with-spring-boot" target="_blank">Building "Bootiful Applications with Spring Boot </a></li> + <li>Room: 8401</li> +</ul> + +<p>11:45 AM </p> + +<ul> + <li>John Hann, — Pivotal</li> + <li><a href="http://www.siliconvalley-codecamp.com/Session/2014/introducing-ravejs-zero-config-javascript-applications" target="_blank">Introducing Rave.js: Zero-config JavaScript Applications</a></li> + <li>Room: 8401</li> +</ul> + +<p>1:45 PM </p> + +<ul> + <li>Ilayaperumal Gopinathan — Pivotal</li> + <li><a href="http://www.siliconvalley-codecamp.com/Session/2014/simplifying-big-data-development-using-spring-xd" target="_blank">Simplifying Big Data development at Spring XD</a></li> + <li> Room: 8403</li> +</ul> + +<p><strong>SUNDAY - OCTOBER 12, 2014</strong></p> + +<p>9:15 AM </p> + +<ul> + <li>Cornelia Davis — Platform Engineer at Pivotal</li> + <li><a href="http://www.siliconvalley-codecamp.com/Session/2014/the-self-healing-elastic-runtime-that-is-cloud-foundry">The Self-healing, Elastic Runtime that is Cloud Foundry</a></li> + <li>Room: Room: 4302</li> +</ul> + +<p>10:45 AM</p> + +<ul> + <li>Cornelia Davis — Platform Engineer at Pivotal</li> + <li><a href="http://www.siliconvalley-codecamp.com/Session/2014/running-your-spring-apps-in-the-cloud" target="_blank">Running Your Spring Apps in the Cloud</a></li> + <li>Room: 4302</li> +</ul> + +<p>Visit us at the Pivotal Code Camp booth for technical expert conversations on Cloud Foundry, Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Hadoop and much more. </p> + +<p>Also, don't miss the <a href="http://run.pivotal.io">Pivotal Web Services</a> Hoodie Push!  <a href="https://spring.io/guides/gs/rest-service/">Build a REST service with Spring Boot</a>, push it live to run.pivotal.io and get a hoodie!  You can do it ahead of time, and show it running to us, or use our laptops at the booth. </p> + +<p><a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" target="_blank"><img border="0" width="215" height="254" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" style="max-width:100%;"></a></p> + +<p> </p> + +<p> </p> + +<p>Save the date for SpringOne2GX 2015!  We hope you will mark your calendar and join us again! SpringOne2GX 2015 will be held September 14 - 17, 2015 at the Marriott Marquis in Washington DC.</p> + + + This Week in Spring - October 7th, 2014 + + + + Josh Long + + tag:spring.io,2014-10-08:1783 + 2014-10-08T03:49:00Z + <p>Welcome to another installment of <em>This Week in Spring</em>! This week, I've been at the Couchbase Connect conference talking to developers about Spring Data Couchbase (and Spring Boot, Spring XD, Spring Session, and more..). Fun show, fun crowd! Next week, I'll be at <a href="http://jaxlondon.com/2014/speakers/josh-long">JAX London</a> and <a href="http://uk.geekout.ee/speakers/josh-long/">Geekout UK</a>, so be sure to say hi if you're around. </p> + +<p>Now, with that, let's get on to the roundup..</p> + +<ol> +<li>The good Dr. Pollack just announced <a href="http://spring.io/blog/2014/10/02/spring-xd-1-0-1-released">the 1.0.1 release of Spring XD</a>, the easiest way to build data-integration and ingestion solutions. It may be only a 1.0.1 release, but make no mistake: there are some very cool features in this release, including improved administrative and administrative UI features. </li> +<li>Federated security is an important part of any distributed, multi-client, (micro)service-oriented system. Spring Security and Spring Security OAuth, in particular, provide a compelling solution. Join the good Dr. Dave Syer for this <a href="https://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2">upcoming webinar on microservice security using OAuth2</a> +</li> +<li>Matt Stine will be doing a webinar introducing <a href="https://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud">how Pivotal Cloud Foundry and Spring Cloud make for a natural solution to building microservices</a>. Don't miss this one!</li> +<li> Spring and JavaScript ninja Brian Cavalier has written a <em>very</em> interesting post on some of <a href="http://github.com/spring-projects/spring-sync/">the work</a> we're doing towards enabling <a href="http://spring.io/blog/2014/10/08/streaming-json-patch-from-spring-to-a-react-ui">easier differential sync between JavaScript clients and services</a>. This post not only introduces all these exciting new stuff, but also builds on RaveJS, the Spring Boot-inspired approach to JavaScript.</li> +<li>I hope you'll join the Vaadin team and I on October 23rd for a <a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin">look how to build Spring Boot-powered Vaadin applications</a>.</li> +<li>Justin Lee Grant has put together <a href="http://www.justinleegrant.com/?p=489">a good introductory look at Spring Boot</a>.</li> +<li>Spring lead Juergen Hoeller just <a href="http://spring.io/blog/2014/10/01/spring-framework-4-1-1-released">announced the 4.1.1 release of Spring framework</a>. This release includes improved <code>Optional</code> handling, a Jackson <code>ObjectMapper</code> builder, some requested JDBC improvements, and much more. </li> +<li>The good Dr. Syer just announced <a href="http://spring.io/blog/2014/10/07/spring-cloud-1-0-0-m1-available-now">the first milestone release of the Spring Cloud project</a>. Spring Cloud provides primatives for building microservice and PaaS-centric applications. It builds on top of the Netflix OSS stack and Spring Boot.</li> +<li>Karthik Abram put together <a href="http://www.eclecticlogic.com/2014/09/01/classpath-scanning/">a nice post on a hidden gem in Spring: the <code>ClassPathScanningCandidateComponentProvider</code></a> class, which makes it easy to discover beans of a certain type. </li> +<li>Nicolas Lejeune has written up a fascinating look at how he managed <a href="http://labs.bsb.com/2014/09/turn-a-legacy-app-into-a-cf-service/">to convert a legacy application (it uses EJB3) and move it to a Cloud Foundry environment</a> </li> +<li>Our pal Toshiaki Maki put together <a href="http://github.com/making/spring-boot-blank">his ideal Spring Boot Maven archetype</a>, and <a href="http://twitter.com/making/status/519626091934134272">shared it</a>!<br> +</li> +<li>Are you a Groovy fan? (who isn't??) Check out Groovy project lead Guillaume LaForge's weekly roundup, <a href="http://t.co/AiDLC6novd"><em>This Week in Groovy</em></a>!</li> +<li>Do you want <a href="http://mikusa.blogspot.com/2014/08/debugging-java-applications-on.html">to debug applications deployed on Cloud Foundry</a>? Daniel Mikusa put together a very nice post explaining one approach. </li> +</ol> + + + Streaming JSON Patch from Spring to a React UI + + + + Brian Cavalier + + tag:spring.io,2014-10-07:1782 + 2014-10-08T01:47:03Z + <p>We're exploring ways to help developers create rich, modern front-ends that integrate easily with Spring back-ends. If you attended SpringOne this year, you've already seen some of the things we've been working on:</p> + +<ol> +<li> +<a href="https://speakerdeck.com/gregturn/springone2gx-2014-spring-data-rest-data-meets-hypermedia">Hypermedia support in Spring Data REST</a> presented by Greg Turnquist, Oliver Gierke, and Roy Clarkson</li> +<li> +<a href="http://www.slideshare.net/unscriptable/rave-js-springone-2gx-2014">RaveJS: Spring Boot concepts for JavaScript applications</a> by John Hann</li> +<li> +<a href="http://www.slideshare.net/briancavalier/differential-sync-and-json-patch-s2-gx-2014">Differential Synchronization and JSON Patch</a> by Craig Walls and me</li> +</ol><p>In short, We want to make it easy to communicate efficiently between a Spring back-end and a client and to easily integrate the best and most popular client-side technologies.</p> + +<h2> +<a name="user-content-react--streaming-updates" class="anchor" href="#react--streaming-updates" aria-hidden="true"><span class="octicon octicon-link"></span></a>React + streaming updates</h2> + +<p>JSON Patch is a format for sending incremental changes to structured data. I thought it would be interesting to try streaming updates in JSON Patch format via STOMP all the way out to a web UI.</p> + +<p>Craig Walls had already built a simple <a href="https://github.com/habuma/scores">football scores proof of concept</a>, using the new <a href="https://github.com/spring-projects/spring-sync/">Spring Sync</a> project to push score updates to a browser using JSON Patch over STOMP. I was able to take his POC, drop in RaveJS, add client-side reactive streams, and integrate the updates into a <a href="http://facebook.github.io/react/">React</a> UI component.</p> + +<p>You can find the <a href="https://github.com/briancavalier/scores">complete code on github in my rave-most-react branch</a>. The server is unchanged from Craig's original version. The <a href="https://github.com/briancavalier/scores/tree/rave-most-react/src/main/resources/public">web client</a> is where the action is. Have a look at the <a href="https://github.com/briancavalier/scores/blob/rave-most-react/src/main/resources/public/main.js">main.js to get an overall sense of the app</a> before we dive into some specifics.</p> + +<h2> +<a name="user-content-starting-out" class="anchor" href="#starting-out" aria-hidden="true"><span class="octicon octicon-link"></span></a>Starting out</h2> + +<p>I used <a href="https://github.com/RaveJS/rave">RaveJS</a> and npm to manage my client side dependencies, so my startup was simple:</p> + +<div class="highlight highlight-sh"><pre>&gt; <span class="nb">cd </span>src/main/resources/public + +&gt; npm init + +&lt;answer a few questions&gt; + +&gt; npm install --save rave most jiff react rave-load-jsx rave-node-process stompjs +</pre></div> + +<p>Then I just needed a single script tag in the existing HTML, and I was off to coding!</p> + +<div class="highlight highlight-html"><pre><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">"node_modules/rave/rave.js"</span><span class="nt">&gt;&lt;/script&gt;</span> +</pre></div> + +<h2> +<a name="user-content-introducing-mostjs" class="anchor" href="#introducing-mostjs" aria-hidden="true"><span class="octicon octicon-link"></span></a>Introducing most.js</h2> + +<p>Thanks to Craig, I already had a stream of updates (in JSON Patch format) flowing to the client over STOMP. I decided that the nicest way to work with the stream of patches would be to (surprise!) <em>actually use a stream</em>.</p> + +<p><a href="https://github.com/cujojs/most">Most.js</a> is cujoJS's new JavaScript reactive streams package. It provides a small, but powerful set of APIs for creating, transforming, and consuming event streams. I used it to wrap up the stompjs API.</p> + +<p>It turns out that there were two STOMP subscriptions: one that carried an initial, complete copy of all the score data, and another that carried all the subsequent changes. I was able to wrap both subscriptions up into a single reactive stream representing "the latest set of scores" by using <a href="https://github.com/cujojs/jiff">jiff.js</a> to apply the JSON Patches as they arrived.</p> + +<p>This bit of code creates a stream from a STOMP subscription to the initial data, takes the first event (a complete snapshot of all scores), and combines it with a second stream containing only JSON Patch updates to produce a view of the scores that changes over time.</p> + +<div class="highlight highlight-js"><pre><span class="kd">function</span> <span class="nx">getScoresStream</span><span class="p">(</span><span class="nx">initDestination</span><span class="p">,</span> <span class="nx">updateDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">)</span> <span class="p">{</span> + <span class="c1">// Create a stream containing one full copy of the data, and</span> + <span class="c1">// flatMap that to a stream containing the time-varying</span> + <span class="c1">// current set of scores, by accumulating each patch</span> + <span class="c1">// and emitting the updated scores data.</span> + <span class="k">return</span> <span class="nx">getInitialDataStream</span><span class="p">(</span><span class="nx">initDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">)</span> + <span class="p">.</span><span class="nx">flatMap</span><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">data</span><span class="p">)</span> <span class="p">{</span> + <span class="k">return</span> <span class="nx">getUpdatesStream</span><span class="p">(</span><span class="nx">updateDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">,</span> <span class="nx">data</span><span class="p">);</span> + <span class="p">});</span> +<span class="p">}</span> + +<span class="kd">function</span> <span class="nx">getInitialDataStream</span> <span class="p">(</span><span class="nx">initDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">)</span> <span class="p">{</span> + <span class="c1">// Await a copy of the data from the STOMP subscription</span> + <span class="c1">// that is sending the full scores data, then unsubscribe.</span> + <span class="k">return</span> <span class="nx">streamFromStompJson</span><span class="p">(</span><span class="nx">initDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">)</span> + <span class="p">.</span><span class="nx">take</span><span class="p">(</span><span class="mi">1</span><span class="p">);</span> +<span class="p">}</span> + +<span class="kd">function</span> <span class="nx">getUpdatesStream</span> <span class="p">(</span><span class="nx">updateDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span> + <span class="c1">// Incrementally accumulate patches from the STOMP subscription</span> + <span class="c1">// that is carrying JSON Patches onto the scores data to produce</span> + <span class="c1">// an updated view of the scores.</span> + <span class="k">return</span> <span class="nx">streamFromStompJson</span><span class="p">(</span><span class="nx">updateDestination</span><span class="p">,</span> <span class="nx">client</span><span class="p">)</span> + <span class="p">.</span><span class="nx">startWith</span><span class="p">([])</span> + <span class="p">.</span><span class="nx">scan</span><span class="p">(</span><span class="nx">updateWithJsonPatch</span><span class="p">,</span> <span class="nx">data</span><span class="p">);</span> +<span class="p">}</span> +</pre></div> + +<p>Most.js also automatically cleans up underlying resources when streams end. It was easy to arrange to unsubscribe from the first subscription after an initial copy of the full scores data had arrived, leaving only one subscription: the changes.</p> + +<h2> +<a name="user-content-making-the-ui-with-react" class="anchor" href="#making-the-ui-with-react" aria-hidden="true"><span class="octicon octicon-link"></span></a>Making the UI with React</h2> + +<p>Now that I had a single most.js stream representing the latest scores, I created a <a href="https://github.com/briancavalier/scores/blob/rave-most-react/src/main/resources/public/Scoreboard.jsx">React component to display them</a>. I installed (see above) the <a href="https://github.com/KidkArolis/rave-load-jsx">rave-load-jsx extension</a>, a RaveJS extension created by a community member, which enables direct JSX component loading in RaveJS. All I had to do was create a Scoreboard.jsx file and start coding a simple React scoreboard component.</p> + +<p>React components have an internal <code>state</code> object containing the data that will be used to render the component. All I needed to do was pass the latest scores stream when creating the component, and then have the component observe the stream and update its <code>state</code>. The relevant bit of code is only a couple lines:</p> + +<div class="highlight highlight-js"><pre><span class="c1">// this.props.scores is the scores stream provided when the</span> +<span class="c1">// Scoreboard component is created</span> + +<span class="k">this</span><span class="p">.</span><span class="nx">props</span><span class="p">.</span><span class="nx">scores</span><span class="p">.</span><span class="nx">observe</span><span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">scores</span><span class="p">)</span> <span class="p">{</span> + <span class="nx">self</span><span class="p">.</span><span class="nx">setState</span><span class="p">({</span> <span class="nx">scores</span><span class="o">:</span> <span class="nx">scores</span> <span class="p">});</span> +<span class="p">});</span> +</pre></div> + +<p>React took care of automatically keeping the DOM in sync with the <code>state</code>.</p> + +<h2> +<a name="user-content-from-bits-to-pixels" class="anchor" href="#from-bits-to-pixels" aria-hidden="true"><span class="octicon octicon-link"></span></a>From bits to pixels</h2> + +<p>This is admittedly a toy app. However, it shows quite a few powerful concepts working together in a very small space, with very little code: small, server-generated deltas flowing over STOMP + WebSocket, to a reactive stream on the client being observed by a React component. Changes are flowing from a Spring back-end through to the UI--bits to pixels, as it were.</p> + +<p>I hope this tiny app also provides a glimpse at the direction we're headed. We want to provide tools and client-side packages that help developers build rich, modern client applications that integrate with leading client-side technologies and Spring back-ends.</p> + + + Spring Cloud 1.0.0.M1 Available Now + + + + Dave Syer + + tag:spring.io,2014-10-07:1781 + 2014-10-07T13:25:00Z + <p><a href="http://projects.spring.io/spring-cloud">Spring Cloud</a> (the new umbrella project announced in September) has reached a milestone, its first, and fresh jars are available in the <a href="http://repo.spring.io/libs-milestone-local">repo.spring.io</a> repository. Spring Cloud is going to follow a "release train" model for releases, a bit like Spring Data, but we haven't got a cool name for this one yet, so it's just 1.0.0.M1. The modules that are part of this release are </p> + +<ul> +<li><p>Spring Cloud Config: Centralized external configuration management backed by a git repository. The configuration resources map directly to Spring <code>Environment</code> but could be used by non-Spring applications if desired.</p></li> +<li><p>Spring Cloud Netflix: Integration with various Netflix OSS components (Eureka, Hystrix, Zuul, Archaius, etc.).</p></li> +<li><p>Spring Cloud Bus: An event bus for linking services and service instances together with distributed messaging. Useful for propagating state changes across a cluster (e.g. config change events).</p></li> +<li><p>Spring Cloud Security: A set of primitives for building secure applications and services with minimum fuss.</p></li> +<li><p>Spring Cloud CLI: Spring Boot CLI plugin for creating Spring Cloud component applications quickly in Groovy.</p></li> +<li><p>Spring Cloud Starters: Spring Boot-style starter projects to ease dependency management for consumers of Spring Cloud.</p></li> +</ul><p>All of the above have the 1.0.0.M1 release tag, so a good starting point to try it out would be to <a href="http://projects.spring.io/spring-cloud/spring-cloud.html#_installation">install the CLI</a> and run Config Server with this code:</p> + +<div class="highlight highlight-groovy"><pre><span class="nd">@EnableConfigServer</span> +<span class="kd">class</span> <span class="nc">ConfigServer</span> <span class="o">{</span> +<span class="o">}</span> +</pre></div> + +<p>then hit <code>http://localhost:8080/foo/default</code> to see some property sources.</p> + +<p>The <a href="https://github.com/spring-cloud">code</a> is hosted on github, and community contributions are extremely welcome, so get on over there are check it out. There are some neat samples in a separate organization: <a href="https://github.com/spring-cloud-samples">spring-cloud-samples</a>, including a "scripts" project that has git submodules and scripts to get a complete demo system up and running as quickly as possible.</p> + + + Spring XD 1.0.1 released + + + + Mark Pollack + + tag:spring.io,2014-10-02:1780 + 2014-10-02T22:49:48Z + <p>On behalf of the Spring XD team, I am very pleased to announce the general availability of Spring XD 1.0.1! </p> + +<p>This release includes <a href="https://jira.spring.io/secure/ReleaseNote.jspa?projectId=11401&amp;version=14685">bug fixes and enhancements</a> as well as some new features:</p> + +<ul> +<li> +<a href="https://github.com/spring-projects/spring-xd/wiki/Application-Configuration#enabling-https">HTTPS access</a> and <a href="https://github.com/spring-projects/spring-xd/wiki/Application-Configuration#enabling-authentication">Authentication</a> to Admin Server</li> +<li> +<a href="https://github.com/spring-projects/spring-xd/wiki/AdminUI#containers">Cluster</a> and <a href="https://github.com/spring-projects/spring-xd/wiki/AdminUI#streams">Stream</a> views in UI</li> +<li>Configure a <a href="https://github.com/spring-projects/spring-xd/wiki/Modules#custom-module-registry">location for custom modules</a> +</li> +<li><a href="https://github.com/spring-projects/spring-xd/wiki/Sinks#null-sink">Null sink</a></li> +</ul><p>You can <a href="http://repo.spring.io/release/org/springframework/xd/spring-xd/1.0.1.RELEASE/spring-xd-1.0.1.RELEASE-dist.zip">download the zip distribution</a> or install on OSX <a href="https://github.com/spring-projects/spring-xd/wiki/Getting-Started#osx-homebrew-installation">using homebrew</a>. On RHEL/CentOs you can <a href="https://github.com/spring-projects/spring-xd/wiki/Getting-Started#redhatcentos-installation">install using yum</a>.</p> + +<p>Feedback is very important, so please get in touch with questions and comments via</p> + +<ul> +<li> +<a href="http://stackoverflow.com/questions/tagged/spring-xd">StackOverflow</a> <code>spring-xd</code> tag</li> +<li> +<a href="https://jira.spring.io/browse/XD/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel">Spring JIRA</a> or <a href="https://github.com/spring-projects/spring-xd/issues">GitHub Issues</a> +</li> +</ul> + + + Spring Framework 4.1.1 released + + + + Juergen Hoeller + + tag:spring.io,2014-10-01:1779 + 2014-10-01T13:15:00Z + <p>Dear Spring community,</p> + +<p>I'm pleased to announce that Spring Framework 4.1.1 is available now. As the <b>first maintenance release in the 4.1 line</b>, this release contains a wide range of fixes for regressions and other issues reported against 4.1 GA. A big thank you to all the issue reporters out there!</p> + +<p>4.1.1 also comes with a <b>selection of minor enhancements</b>, for example: consistent handling of Java 8's Optional type, a Jackson ObjectMapper builder class with refined defaults, some requested JDBC refinements, as well as <b>specific performance improvements</b>.</p> + +<p><a href="https://jira.spring.io/issues/?jql=project%20%3D%20SPR%20AND%20fixVersion%20%3D%204.1.1%20ORDER%20BY%20issuetype%20ASC">-&gt; List of resolved JIRA issues for Spring Framework 4.1.1</a></p> + +<p>We strongly recommend an immediate upgrade to 4.1.1 for all 4.1 GA users. The Spring Framework team is now working towards <b>Spring Framework 4.1.2 at the end of October</b>, which will be the foundation for the upcoming Spring Boot 1.2 GA release.</p> + +<p>On a related note, along with 4.1.2, we are preparing <b>Spring Framework 4.0.8 as the last 4.0.x maintenance release</b>. If there is anything you'd like to get fixed in the 4.0.x branch still, now is the time to raise it! Otherwise, please upgrade to 4.1.x for ongoing active maintenance.</p> + +<p>Cheers,</p> + +<p>Juergen</p> + + + This Week in Spring - September 30, 2014 + + + + Josh Long + + tag:spring.io,2014-10-01:1774 + 2014-10-01T03:20:00Z + <p>Welcome to another installment of <em>This Week in Spring!</em> This week <a href="http://spring.io/blog/2014/09/26/pivotal-at-javaone-2014">the Spring team is at JavaOne</a>! There's been, and will be, <em>lots</em> to see! We're also hanging out at the booth, talking to as many users as possible. Check out the link I just give listing all the cool Pivotal (and non-Pivotal) talks at JavaOne. (Ahem. Naturally, I personally would <em>love</em> it if you made <a href="http://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3693&amp;tclass=popup">my talk - <em>Spring4TW!</em> - tomorrow morning at 8:30am at Parc 55, Cyril Magnin II/III</a>!).</p> + +<p></p><p><a href="https://raw.githubusercontent.com/joshlong/meh/master/javaone2014-boot-twis.jpg" target="_blank"><img src="https://raw.githubusercontent.com/joshlong/meh/master/javaone2014-boot-twis.jpg" style="max-width:100%;"></a></p><p>In addition to IoT, Big Data, and Microservice demos using <a href="http://projects.spring.io/spring-cloud/">NetFlixOSS on Spring</a>, students were doing the coding challenge to build a <a href="https://spring.io/guides/gs/rest-service/">REST service with Spring Boot</a> and pushed to <a href="http://run.pivotal.io">Pivotal Web Services</a> in &lt; 15 minutes to get the <a href="http://preshavedyak.com/">preshavedyak hoodie</a> from American Apparel, and learning about the best PaaS for Java available on the market today; Java 8 / Tomcat 8 support was released just days ago, and there is strong support for Spring, Groovy and Grails.</p><ul> +<li>I really liked Michael Plod's <a href="http://spring.io/blog/2014/09/26/webinar-replay-why-i-recommend-spring"><em>Why I Recommend Spring</em> webinar</a>, now available online as a replay</li> +<li>Last week, Activiti BPMN2 engine co-founder Joram Barrez and I gave a talk on <a href="http://spring.io/blog/2014/09/26/webinar-replay-process-driven-spring-applications-with-activiti">how to build process (read: workflow) centric Spring applications</a>, also now available online. </li> +<li>Tuesday, Oct 21st, 2014 join <a href="https://twitter.com/mstine">Matt Stine</a> for microservice architecture series #2: <a href="http://spring.io/blog/2014/10/01/webinar-architecting-for-continuous-delivery-microservices-with-pivotal-cf-and-spring-cloud">Architecting for Continuous Delivery: Microservices with Pivotal CF and Spring Cloud</a> +</li> +<li>Thursday, October 23, 2014, 2014 <a href="http://spring.io/blog/2014/10/01/webinar-building-bootful-uis-with-spring-boot-and-vaadin">Building “Bootful†UIs with Spring Boot and Vaadin</a> +</li> +<li>Tuesday, November 4, 2014 - microservice architecture series #3 - Join <a href="https://twitter.com/david_syer">Dr. Dave Syer</a> on <a href="http://spring.io/blog/2014/10/01/webinar-security-for-microservices-with-spring-and-oauth2">Security for Microservices with Spring and OAuth2</a> +</li> +<li>Missed microservice architecture #1? Catch the replay of <a href="http://spring.io/blog/2014/09/17/webinar-replay-building-bootiful-microservices-with-spring-boot">Building "Bootiful" Microservices with Spring Boot</a> on the Spring Developer Channel</li> +<li> +<a href="http://spring.io/blog/2014/09/26/spring-boot-1-1-7-released">Spring Boot 1.1.7 is now available</a>! </li> +<li> +<a href="http://raymondhlee.wordpress.com/2014/09/20/setup-spring-security-with-active-directory-ldap-in-spring-boot-web-application/">Setup Spring Security with Active Directory LDAP in Spring Boot Web Application</a> (I <em>just</em> got asked about this at the Spring BOF yesterday!)</li> +<li>There's been an interesting debate on microservices recently. <a href="http://blog.cleancoder.com/uncle-bob/2014/09/19/MicroServicesAndJars.html">"Uncle" Bob Martin has written up a post claiming that <code>.jar</code>s and Ruby <code>gem</code>s give you the same benefit of microservices</a>. There's a <a href="http://www.giorgiosironi.com/2014/09/microservices-are-not-jars.html">great rebuttal (which I happen to agree with..) by Giorgio Sironi on his blog</a>. There's even a nice wrapup of <a href="http://www.infoq.com/news/2014/09/microservices-shared-libraries?utm_source=infoq&amp;utm_medium=popular_links_homepage">the whole discussion on InfoQ</a>.</li> +<li>I really dig <a href="http://blog.pivotal.io/cloud-foundry-pivotal/case-studies-2/platform-wind-tunnel-part-i-heroku">Matt Stine's <em>wind tunnel</em> comparison of PaaSes</a>. Up first: Heroku. I can't wait to see subsequent posts in the series!</li> +<li>This post on using Spring Data Redis was published (and included in <em>TWiS</em>..) last year, <a href="http://www.ibm.com/developerworks/library/os-springredis/index.html">but it came up again and I still thnk it's a worthy read</a> </li> +<li>The eHarmony blog has a nice post on <a href="http://www.eharmony.com/engineering/spring-batch-admin-the-tricky-parts/#.VCtPFildUpg">how to setup Spring Batch Admin (the tricky parts..)</a> +</li> +<li>In the <em>you have to see it to beleive it</em> department, did you know there's a <a href="http://bitbucket.org/sglienke/spring4d">Spring for Delphi (Spring4D) project</a>? There are Spring-inspired C++, ColdFusion, JavaScript, .NET, Python, and numerous others. Cool to add this to the list.</li> +<li>The Intertech blog has <a href="http://www.intertech.com/Blog/spring-integration-tutorial-part-7-service-activators/">another installment on their <em>epic</em> Spring Integration tutorial</a>. This one's on <em>service activators</em> - basically the Spring Integration escape-hatch so you can call regular Java objects.</li> +<li>Benjamin Ball has a great <a href="http://java.dzone.com/articles/getting-started-rabbitmq-and">writeup on using RabbitMQ and Spring</a> </li> +<li>Yashwant Chavan has a nice post on building a simple <a href="http://www.technicalkeeda.com/spring/spring-boot-mvc-example">Spring Boot (with Spring MVC) example and editing it in Eclipse</a>. </li> +<li>Our pals at Codecentric are at it again! They've just released <a href="http://blog.codecentric.de/en/2014/09/spring-boot-admin-first-official-release/">their first cut of their <em>Spring Boot Admin</em></a>. This looks like something that would fit nicely in the <a href="http://github.com/spring-cloud/">Spring Cloud</a> project... </li> +<li> +<a href="http://prezi.com/ob4vxjmj_h1f/spring-boot/">This has to be one of the coolest Spring Boot presentations, ever</a>! Careful, I don't recommend watching it full-screen if you get motion sickness! :)</li> +<li>Are you stuck on Apache CXF but still want first-class security? This post <a href="http://java.dzone.com/articles/embedded-jetty-and-apache-cxf">looks at how to plugin Spring Security on top of CXF in minutes</a> </li> +<li>Biju Kunjummen did a nice job <a href="http://java.dzone.com/articles/spring-1">clarifying the differences between Spring's <code>WebApplicationInitializer</code> and <code>ApplicationContextInitializer</code></a> +</li> +</ul> + + + Webinar: Architecting for Continuous Delivery: Microservices with Pivotal CF and Spring Cloud + + + + Pieter Humphrey + + tag:spring.io,2014-10-01:1776 + 2014-10-01T02:20:00Z + <p>Speaker: Matt Stine, Pivotal </p> + +<p>Join Matt Stine to hear how you can architect systems that are optimized for continuous delivery, allowing you to innovate and deliver value faster and safer. Microservices, Pivotal CF, and Spring Cloud combine to create an operationalized architecture that enables enterprises to continuously deliver value at scale through rapid, iterative development, and to meet the needs of a mobile-first world.</p> + +<p>Tuesday, Oct 21st, 2014 3:00PM BST (London GMT+01:00) <a href="http://connect.pivotal.io/OSS_Webinar_MicroserviceswithPivotalCFandSpringCloud7AM_Register.html">Register</a></p> + +<p>Tuesday, Oct 21st, 2014 10:00AM PDT (San Francisco GMT-07:00) <a href="http://connect.pivotal.io/OSS_Webinar_MicroserviceswithPivotalCFandSpringCloud10AM_Register.html">Register</a></p> + + + Webinar: Building “Bootful†UIs with Spring Boot and Vaadin + + + + Pieter Humphrey + + tag:spring.io,2014-10-01:1777 + 2014-10-01T01:20:00Z + <p>Speaker: Josh Long, Pivotal and Vaadin</p> + +<p> It's been a long day, but you've done it: you've got a Spring Boot powered backend and now you need to build the UI that'll power the workforce and deliver next week. Vaadin, a UI framework that marries the ease of use of server-side Java and the rich, dynamic nature of client-side JavaScript, integrates well with Spring Boot and offers UI polish that would be hard to secure any other way. Join Spring developer advocate Josh Long and Vaadin evangelists for a look at how Vaadin and Spring Boot can get you to production quicker, and easier.</p> + +<p>Thursday, October 23, 2014, 2014 3:00PM BST (London GMT+01:00) <a href="http://connect.pivotal.io/OSS_Webinar_BuildingBootfulUIswithSpringBootandVaadin7AM_Register.html">Register</a></p> + +<p>Thursday, October 23, 2014 10:00AM PDT (San Francisco GMT-07:00) <a href="http://connect.pivotal.io/OSS_Webinar_BuildingBootfulUIswithSpringBootandVaadin10AM_Register.html">Register</a></p> + + + Webinar: Security for Microservices with Spring and OAuth2 + + + + Pieter Humphrey + + tag:spring.io,2014-10-01:1778 + 2014-10-01T01:10:00Z + <p>Speaker: Dave Syer</p> + +<p>Security for Microservices with Spring and OAuth2 OAuth2 is a lightweight security protocol that is well-suited for use with HTTP, the protocol at the heart of many modern architectures. Spring Security OAuth2 has a load of new features, not the least of which being the `@Configuration` support in version 2.0. Combine these with Spring Boot and you have a platform which can get you a secure HTTP service application in about 20 lines of code. This presentation shows how the combination of rapid development and production-ready features in the modern Spring stack are a perfect mixture for developing secure components in a system composed of microservices. We explore the new features in Spring OAuth2, guide you through the choice of which to use and when, and show how easy they are to enable quickly.</p> + +<p>Tuesday, November 4, 2014 3:00PM GMT (London GMT) <a href="http://connect.pivotal.io/OSS_Webinar_SecurityforMicroserviceswithSpringandOAuth2_7AM_Register.html">Register</a></p> + +<p>Tuesday, November 4, 2014 10:00AM PST (San Francisco GMT-08:00) <a href="http://connect.pivotal.io/OSS_Webinar_SecurityforMicroserviceswithSpringandOAuth2_10AM_Register.html">Register</a></p> + + + Webinar Replay: Why I Recommend Spring + + + + Pieter Humphrey + + tag:spring.io,2014-09-26:1773 + 2014-09-26T14:03:00Z + <p>Speaker: Michael Plod</p> + +<p>Slides: <a href="https://speakerdeck.com/mploed/pivotal-webinar-why-do-i-recommend-spring">https://speakerdeck.com/mploed/pivotal-webinar-why-do-i-recommend-spring</a></p> + +<p>Is Spring the new legacy as quite a few people tell you on their blogs? I disagree on many levels. Throughout this session I will holistically detail without any polemics why I do recommend using the Spring Framework and its ecosystem. Aspects that will be covered include: operational impacts, ecosystem, coding and road maps. This presentation is aimed at IT managers, Architects and Developers alike.</p> + +<p>Learn more about Spring IO: <a href="http://spring.io">http://spring.io</a></p> + +<p>Learn more about Spring IO Platform: <a href="http://spring.io/platform">http://spring.io/platform</a></p> + +<p></p><iframe width="420" height="315" src="//www.youtube.com/embed/z1rpWpSKtT8" frameborder="0" allowfullscreen></iframe> + + + Webinar Replay: Process Driven Spring Applications with Activiti + + + + Pieter Humphrey + + tag:spring.io,2014-09-26:1772 + 2014-09-26T13:56:00Z + <p>Speakers: Josh Long and Joram Barrez, Activiti </p> + +<p>Slides: <a href="https://speakerdeck.com/joshlong/process-driven-applications-with-spring-boot">https://speakerdeck.com/joshlong/process-driven-applications-with-spring-boot</a> </p> + +<p>Today's applications are complex, distributed systems that - taken together - produce results. Tracking the flow of work through that system, however, becomes increasingly more painful as automated- and human-driven tasks are integrated into business processes. Business can't react to what it can't see. Business can't measure what it can't see. "Workflow" describes the sequence of processes through which a piece of work passes from initiation to completion. Workflow systems, like Activiti, describe and then execute these processes. Activiti is an open-source, Apache 2-licensed workflow engine that works with Spring and Spring Boot. In this webinar, join Spring Developer Advocate Josh Long and Activiti-ninja Joram Barrez for a look at how to distill, describe and reuse complex business processes using Spring (and Spring Boot) and Activiti. </p> + +<p>Learn more about Spring Boot: <a href="http://projects.spring.io/spring-boot">http://projects.spring.io/spring-boot</a> </p> + +<p>Learn more about Activiti below! </p> + +<p>Activiti project page: <a href="http://activiti.org/">http://activiti.org/</a> </p> + +<p>Joram's blog: <a href="http://jorambarrez.com/blog">http://jorambarrez.com/blog</a> </p> + +<p>Activiti documentation: <a href="http://activiti.org/userguide/index.html">http://activiti.org/userguide/index.html</a> </p> + +<p>Activiti Github: <a href="https://github.com/Activiti/Activiti">https://github.com/Activiti/Activiti</a></p> + +<p></p><iframe width="420" height="315" src="//www.youtube.com/embed/0PV_8Lew3vg" frameborder="0" allowfullscreen></iframe> + + + Pivotal at JavaOne 2014 + + + + Pieter Humphrey + + tag:spring.io,2014-09-25:1770 + 2014-09-26T05:56:00Z + <p>Are you heading to JavaOne 2014?   If you are, we invite all of the Java community members to stop by the Pivotal Booth (Booth Number 5201) and talk to Pivotal engineers about the latest innovations in Java SE, in Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Cloud Foundry and Hadoop. The exhibit space is open Monday, Tuesday from 9:30am – 5:30pm, and Wednesday from 9:30am to 4:30pm, so there should be plenty of time to get your questions answered.  See below for a map and booth details about our giveaways - come find us!  Lots of great stuff at the booth.</p> + +<p>Pivotal technologists are also presenting a lot of sessions as well so be sure to add the following talks to your session builder and reserve a seat:<br> +            <br> +Josh Long — Spring advocate at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3868&amp;tclass=popup" target="_blank">The Spring BOF [BOF3868]</a></li> + <li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3693&amp;tclass=popup" target="_blank">Spring 4TW! [CON3693]</a></li> +</ul><p>Cornelia Davis — Platform Engineer at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=4327&amp;tclass=popup" target="_blank">Running Your Spring Apps in the Cloud [CON4327]</a></li> +</ul><p>John Field — Solutions Architect at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3478&amp;tclass=popup" target="_blank">Open Source Identity and Access Management Expert Panel, Part 3 [BOF3478]</a></li> + <li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3479&amp;tclass=popup" target="_blank">The Anatomy of a Secure Web Application Using Java [CON3479]</a></li> +</ul><p>Guillaume Laforge — Groovy project manager at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=2939&amp;tclass=popup" target="_blank">Script Bowl 2014: The Battle Rages On [CON2939]</a></li> + <li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=5996&amp;tclass=popup" target="_blank">Groovy in 2014 and Beyond [CON5996]</a></li> + <li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=5839&amp;tclass=popup" target="_blank">Groovy in the Light of Java 8 [CON5839]</a></li> +</ul><p>Martin Lippert - Principal Software Engineer at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=1739&amp;tclass=popup" target="_blank">Connecting the Eclipse IDE to the Cloud-Based Era of Developer Tooling [CON1739]</a></li> +</ul><p>Oliver Gierke - Spring Data Project Lead at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=6071&amp;tclass=popup" target="_blank">REST Assured: Hypermedia APIs with Spring MVC [CON6071]</a></li> +</ul><p>Cédric Champeau — Senior software engineer in the Groovy team at Pivotal</p> +<ul> +<li><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=2425&amp;tclass=popup" target="_blank">Rethinking API Design with Groovy Traits [CON2425]</a></li> +</ul><p>Interesting non-Pivotal Sessions</p> +<p><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=1764" target="_blank">Groovy and Grails Puzzlers: As Usual—Traps, Pitfalls, and End Cases[CON1764]</a> <br><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=4952" target="_blank">Microservices on the JVM: A Practical Overview [CON4952]</a></p> +<p><a href="https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=9447" target="_blank">Use Java, the Spring Framework, and Oracle Tuxedo to Extend Existing C/C++/COBOL Apps[HOL9447]</a> <br></p><p>Visit us at the booth for technical expert conversations on Cloud Foundry, Spring, Groovy, Grails, Redis, RabbitMQ, Tomcat, Hadoop and much more. We'll have great demos in the booth about:</p> +<ul> +<li> Java EE and PaaS with <a href="http://www.pivotal.io/platform-as-a-service/pivotal-cf">Cloud Foundry</a> via JBoss and WebLogic Buildpack demos</li> + + <li>Internet of Things, Hadoop with <a href="http://projects.spring.io/spring-xd">Spring XD</a> Demos</li> + <li> +<a href="http://microservices.io">Microservice Architecture</a> and <a href="http://www.pivotal.io/platform-as-a-service/pivotal-cf">PaaS</a> with <a href="http://projects.spring.io/spring-boot">Spring Boot</a>, <a href="http://projects.spring.io/spring-cloud">Spring Cloud</a> Demos</li> +</ul><p><a href="http://run.pivotal.io">Pivotal Web Services</a> Hoodie Push!  <a href="https://spring.io/guides/gs/rest-service/">Build a REST service with Spring Boot</a>, push it live to run.pivotal.io and get a hoodie!  You can do it ahead of time, and show it running to us, or use our laptops at the booth. </p> +<p><a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" target="_blank"><img border="0" width="215" height="254" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/hoodie.PNG" style="max-width:100%;"></a></p> +<p> </p> +<p> </p> +<p>Save the date for SpringOne2GX 2015!  We hope you will mark your calendar and join us again! SpringOne2GX 2015 will be held September 14 - 17, 2015 at the Marriott Marquis in Washington DC.</p> +<p><a href="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/javaone_booth_pivotal.PNG" target="_blank"><img border="0" width="624" height="398" src="https://raw.githubusercontent.com/pieterhumphrey/springio_website_images/master/javaone_booth_pivotal.PNG" style="max-width:100%;"></a></p> +<p><a href="https://github.com/pieterhumphrey/springio_website_images/blob/master/javaone_booth_pivotal2.PNG" target="_blank"><img src="https://github.com/pieterhumphrey/springio_website_images/raw/master/javaone_booth_pivotal2.PNG" width="577" height="441" style="max-width:100%;"></a></p> +<p><br></p> + + + Spring Boot 1.1.7 released + + + + Phil Webb + + tag:spring.io,2014-09-26:1771 + 2014-09-26T04:56:15Z + <p>Spring Boot 1.1.7 has been released and is available now from <a href="http://repo.spring.io/release">repo.spring.io</a> and <a href="http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.springframework.boot%22">Maven Central</a>. </p> + +<p>This maintenance release is a recommended upgrade for all Spring Boot users. For a complete list of changes please refer to the <a href="https://github.com/spring-projects/spring-boot/issues?q=milestone%3A1.1.7">issue tracker</a>.</p> + +<p><a href="http://projects.spring.io/spring-boot/">Project Page</a> | <a href="https://github.com/spring-projects/spring-boot">GitHub</a> | <a href="https://github.com/spring-projects/spring-boot/issues">Issues</a> | <a href="http://docs.spring.io/spring-boot/docs/1.1.7.RELEASE/reference/htmlsingle">Documentation</a></p> + + + Demo: IoT Realized with Spring XD - The Connected Car + + + + Pieter Humphrey + + tag:spring.io,2014-09-25:1769 + 2014-09-24T20:59:00Z + <p>Speaker: Derek Beauregard +Contributors: Phil Berman, Darrel Sharpe, Michael Minella +In this demo we will explore the power of Spring XD in the context of the Internet of Things (IoT). We will look at a solution developed with Spring XD to stream real time analytics from a moving car using open standards. Ingestion of the real time data (location, speed, engine diagnostics, etc), analyzing it to provide highly accurate MPG and vehicle range prediction, as well as providing real time dashboards will all be covered. Watch this demo to get a sense of how Spring XD can serve as a critical building block for the IoT.</p> + +<iframe width="420" height="315" src="//www.youtube.com/embed/qkm2GV57hzY" frameborder="0" allowfullscreen></iframe> + + + diff --git a/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.update/623127801.xml b/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.update/623127801.xml new file mode 100644 index 0000000000..f87bdf6f7a --- /dev/null +++ b/.metadata/.plugins/org.springsource.ide.eclipse.dashboard.ui/feeds/dashboard.feeds.update/623127801.xml @@ -0,0 +1,291 @@ + + + + SpringSource Tool Suites Updates + http://www.springsource.com/products/sts + This feeds imforms about important updates relevant to users of STS. + Feeder 2.0.7(1195) http://reinventedsoftware.com/feeder/ + http://blogs.law.harvard.edu/tech/rss + en-us + sts@springsource.com + Mon, 13 Oct 2014 10:38:33 +0100 + Mon, 13 Oct 2014 10:38:33 +0100 + + + + + + Thanks for installing STS/GGTS 3.6.2 + http://spring.io/tools +

Pivotal has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.

+

Please review the following documents:

+
  • 3.6.2 New & Noteworthy
  • ]]>
    + Mon, 13 Oct 2014 12:13:33 +0100 + version=[3.6.2.201410090827-RELEASE,3.6.3) + + thanks-for-installing-sts-362 +
    + + + STS/GGTS 3.6.2 has been released + http://spring.io/tools +

    Pivotal has released an update to Spring Tool Suite (STS) and Groovy/Grails Tool Suite (GGTS), the best Eclipse-powered development environment for building Spring, Groovy, and Grails powered enterprise application.

    It is recommend to update as soon as possible.

    +

    Please review the following documents:

    +
  • 3.6.2 New & Noteworthy
  • ]]>
    + Mon, 13 Oct 2014 12:12:33 +0100 + version=[0,3.6.2.201410090827-RELEASE) + severity=important + sts-362-released +
    + + + + Cloud Foundry Eclipse 1.7.1 released + http://www.cloudfoundry.com +

    Pivotal has released Cloud Foundry Eclipse version 1.7.1 which features various application deployment and home page navigation improvements, and a new Cloud Routes wizard for browsing and deleting application routes. Java 7 is a required Execution Environment.

    ]]>
    + Tue, 16 Sep 2014 10:38:33 +0100 + + + bundle=!org.cloudfoundry.ide.eclipse.feature.group + cloud-foundry-integration-171-released +
    + + + + + + Patch released to fix a Xerces classloading issue + https://issuetracker.springsource.com/browse/STS-1672 +

    SpringSource has just published a patch to fix a severe issue in STS that causes parsing of Spring XML files to fail with a Xerces classloading issue.

    It is recommend to update as soon as possible. The feature patch is available from the STS Dashboard -> Extensions tab.

    +

    Get to get more details about the issue please read the following bug entries:

    +
  • Issue in the STS JIRA
  • +
  • Community forum discussion
  • We apologize that this patch did not make it into the 2.6.0 release of STS.

    ]]>
    + Mon, 21 Mar 2011 10:38:33 +0100 + version=[2.6.0.201103160035-RELEASE,2.7.0.201105101000-M1) + severity=important + bundle=!org.springframework.ide.eclipse.patch.feature.feature.group + patch-STS1672-released +
    + + + + + + + + + + +
    +
    diff --git a/.metadata/version.ini b/.metadata/version.ini new file mode 100644 index 0000000000..c51ff745b6 --- /dev/null +++ b/.metadata/version.ini @@ -0,0 +1 @@ +org.eclipse.core.runtime=1 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000..f0d3d29da7 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ + +The "REST with Spring" Classes +============================== +After 5 months of work, here's the Master Class of REST With Spring:
    +**[>> THE REST WITH SPRING MASTER CLASS](http://www.baeldung.com/rest-with-spring-course?utm_source=github&utm_medium=social&utm_content=tutorials&utm_campaign=rws#master-class)** + + +Spring Tutorials +================ + +This project is **a collection of small and focused tutorials** each covering a single and well defined area of development. +Most of the tutorial projects are focused on the `Spring Framework` (and `Spring Security`). +In additional to Spring, the following technologies are in focus: `core Java`, `Jackson`, `HttpClient`, `Guava`. + + +Working with the code in Eclipse +================================ +Any IDE can be used to work with the projects, but if you're using Eclipse, consider the following. + +- import the included **formatter** in Eclipse: +`https://github.com/eugenp/tutorials/tree/master/eclipse` + + +CI - Jenkins +================================ +This tutorials project is being built **[>> HERE](https://rest-security.ci.cloudbees.com/job/tutorials/)** diff --git a/annotations/annotation-processing/pom.xml b/annotations/annotation-processing/pom.xml new file mode 100644 index 0000000000..6d07394b87 --- /dev/null +++ b/annotations/annotation-processing/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + + com.baeldung + 1.0.0-SNAPSHOT + annotations + ../ + + + annotation-processing + + + 1.0-rc2 + 3.5.1 + + + + + + com.google.auto.service + auto-service + ${auto-service.version} + provided + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.8 + 1.8 + + + + + + + + \ No newline at end of file diff --git a/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProcessor.java b/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProcessor.java new file mode 100644 index 0000000000..0883e108e7 --- /dev/null +++ b/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProcessor.java @@ -0,0 +1,132 @@ +package com.baeldung.annotation.processor; + +import java.io.IOException; +import java.io.PrintWriter; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; +import javax.annotation.processing.*; +import javax.lang.model.SourceVersion; +import javax.lang.model.element.Element; +import javax.lang.model.element.TypeElement; +import javax.lang.model.type.ExecutableType; +import javax.tools.Diagnostic; +import javax.tools.JavaFileObject; + +import com.google.auto.service.AutoService; + +@SupportedAnnotationTypes("com.baeldung.annotation.processor.BuilderProperty") +@SupportedSourceVersion(SourceVersion.RELEASE_8) +@AutoService(Processor.class) +public class BuilderProcessor extends AbstractProcessor { + + @Override + public boolean process(Set annotations, RoundEnvironment roundEnv) { + for (TypeElement annotation : annotations) { + + Set annotatedElements = roundEnv.getElementsAnnotatedWith(annotation); + + Map> annotatedMethods = annotatedElements.stream() + .collect(Collectors.partitioningBy(element -> + ((ExecutableType) element.asType()).getParameterTypes().size() == 1 + && element.getSimpleName().toString().startsWith("set"))); + + List setters = annotatedMethods.get(true); + List otherMethods = annotatedMethods.get(false); + + otherMethods.forEach(element -> + processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, + "@BuilderProperty must be applied to a setXxx method with a single argument", element)); + + if (setters.isEmpty()) { + continue; + } + + String className = ((TypeElement) setters.get(0).getEnclosingElement()).getQualifiedName().toString(); + + Map setterMap = setters.stream().collect(Collectors.toMap( + setter -> setter.getSimpleName().toString(), + setter -> ((ExecutableType) setter.asType()) + .getParameterTypes().get(0).toString() + )); + + try { + writeBuilderFile(className, setterMap); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + return true; + } + + private void writeBuilderFile(String className, Map setterMap) throws IOException { + + String packageName = null; + int lastDot = className.lastIndexOf('.'); + if (lastDot > 0) { + packageName = className.substring(0, lastDot); + } + + String simpleClassName = className.substring(lastDot + 1); + String builderClassName = className + "Builder"; + String builderSimpleClassName = builderClassName.substring(lastDot + 1); + + JavaFileObject builderFile = processingEnv.getFiler().createSourceFile(builderClassName); + try (PrintWriter out = new PrintWriter(builderFile.openWriter())) { + + if (packageName != null) { + out.print("package "); + out.print(packageName); + out.println(";"); + out.println(); + } + + out.print("public class "); + out.print(builderSimpleClassName); + out.println(" {"); + out.println(); + + out.print(" private "); + out.print(simpleClassName); + out.print(" object = new "); + out.print(simpleClassName); + out.println("();"); + out.println(); + + out.print(" public "); + out.print(simpleClassName); + out.println(" build() {"); + out.println(" return object;"); + out.println(" }"); + out.println(); + + setterMap.entrySet().forEach(setter -> { + String methodName = setter.getKey(); + String argumentType = setter.getValue(); + + out.print(" public "); + out.print(builderSimpleClassName); + out.print(" "); + out.print(methodName); + + out.print("("); + + out.print(argumentType); + out.println(" value) {"); + out.print(" object."); + out.print(methodName); + out.println("(value);"); + out.println(" return this;"); + out.println(" }"); + out.println(); + }); + + out.println("}"); + + } + } + +} diff --git a/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProperty.java b/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProperty.java new file mode 100644 index 0000000000..84fcc73850 --- /dev/null +++ b/annotations/annotation-processing/src/main/java/com/baeldung/annotation/processor/BuilderProperty.java @@ -0,0 +1,8 @@ +package com.baeldung.annotation.processor; + +import java.lang.annotation.*; + +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.SOURCE) +public @interface BuilderProperty { +} diff --git a/annotations/annotation-user/pom.xml b/annotations/annotation-user/pom.xml new file mode 100644 index 0000000000..f76f691f93 --- /dev/null +++ b/annotations/annotation-user/pom.xml @@ -0,0 +1,51 @@ + + + 4.0.0 + + + annotations + com.baeldung + 1.0.0-SNAPSHOT + ../ + + + annotation-user + + + + + com.baeldung + annotation-processing + ${project.parent.version} + + + + junit + junit + 4.12 + test + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + + + + + \ No newline at end of file diff --git a/annotations/annotation-user/src/main/java/com/baeldung/annotation/Person.java b/annotations/annotation-user/src/main/java/com/baeldung/annotation/Person.java new file mode 100644 index 0000000000..23787ba4f4 --- /dev/null +++ b/annotations/annotation-user/src/main/java/com/baeldung/annotation/Person.java @@ -0,0 +1,29 @@ +package com.baeldung.annotation; + +import com.baeldung.annotation.processor.BuilderProperty; + +public class Person { + + private int age; + + private String name; + + public int getAge() { + return age; + } + + @BuilderProperty + public void setAge(int age) { + this.age = age; + } + + public String getName() { + return name; + } + + @BuilderProperty + public void setName(String name) { + this.name = name; + } + +} diff --git a/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java b/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java new file mode 100644 index 0000000000..72f9ac8bc7 --- /dev/null +++ b/annotations/annotation-user/src/test/java/com/baeldung/annotation/PersonBuilderTest.java @@ -0,0 +1,22 @@ +package com.baeldung.annotation; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class PersonBuilderTest { + + @Test + public void whenBuildPersonWithBuilder_thenObjectHasPropertyValues() { + + Person person = new PersonBuilder() + .setAge(25) + .setName("John") + .build(); + + assertEquals(25, person.getAge()); + assertEquals("John", person.getName()); + + } + +} diff --git a/annotations/pom.xml b/annotations/pom.xml new file mode 100644 index 0000000000..f691674cf1 --- /dev/null +++ b/annotations/pom.xml @@ -0,0 +1,20 @@ + + + + parent-modules + com.baeldung + 1.0.0-SNAPSHOT + + 4.0.0 + + annotations + pom + + + annotation-processing + annotation-user + + + \ No newline at end of file diff --git a/annotations/readme.md b/annotations/readme.md new file mode 100644 index 0000000000..2b052803e6 --- /dev/null +++ b/annotations/readme.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Java Annotation Processing and Creating a Builder](http://www.baeldung.com/java-annotation-processing-builder) diff --git a/apache-cxf/cxf-introduction/README.md b/apache-cxf/cxf-introduction/README.md new file mode 100644 index 0000000000..9a076524b7 --- /dev/null +++ b/apache-cxf/cxf-introduction/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Introduction to Apache CXF](http://www.baeldung.com/introduction-to-apache-cxf) diff --git a/apache-cxf/cxf-introduction/pom.xml b/apache-cxf/cxf-introduction/pom.xml new file mode 100644 index 0000000000..0902bd690e --- /dev/null +++ b/apache-cxf/cxf-introduction/pom.xml @@ -0,0 +1,49 @@ + + + + 4.0.0 + cxf-introduction + + com.baeldung + apache-cxf + 0.0.1-SNAPSHOT + + + 3.1.6 + 2.19.1 + + + + + org.codehaus.mojo + exec-maven-plugin + + com.baeldung.cxf.introduction.Server + + + + maven-surefire-plugin + 2.19.1 + + + **/*LiveTest.java + + + + + + + + org.apache.cxf + cxf-rt-frontend-jaxws + ${cxf.version} + + + org.apache.cxf + cxf-rt-transports-http-jetty + ${cxf.version} + + + + diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Baeldung.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Baeldung.java new file mode 100644 index 0000000000..472d38b8e1 --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Baeldung.java @@ -0,0 +1,16 @@ +package com.baeldung.cxf.introduction; + +import java.util.Map; + +import javax.jws.WebService; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + +@WebService +public interface Baeldung { + public String hello(String name); + + public String helloStudent(Student student); + + @XmlJavaTypeAdapter(StudentMapAdapter.class) + public Map getStudents(); +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/BaeldungImpl.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/BaeldungImpl.java new file mode 100644 index 0000000000..240f6bb1da --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/BaeldungImpl.java @@ -0,0 +1,24 @@ +package com.baeldung.cxf.introduction; + +import java.util.LinkedHashMap; +import java.util.Map; + +import javax.jws.WebService; + +@WebService(endpointInterface = "com.baeldung.cxf.introduction.Baeldung") +public class BaeldungImpl implements Baeldung { + private Map students = new LinkedHashMap(); + + public String hello(String name) { + return "Hello " + name; + } + + public String helloStudent(Student student) { + students.put(students.size() + 1, student); + return "Hello " + student.getName(); + } + + public Map getStudents() { + return students; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Server.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Server.java new file mode 100644 index 0000000000..0e5af60b9d --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Server.java @@ -0,0 +1,15 @@ +package com.baeldung.cxf.introduction; + +import javax.xml.ws.Endpoint; + +public class Server { + public static void main(String args[]) throws InterruptedException { + BaeldungImpl implementor = new BaeldungImpl(); + String address = "http://localhost:8080/baeldung"; + Endpoint.publish(address, implementor); + System.out.println("Server ready..."); + Thread.sleep(60 * 1000); + System.out.println("Server exiting"); + System.exit(0); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Student.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Student.java new file mode 100644 index 0000000000..cad8f94d97 --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/Student.java @@ -0,0 +1,8 @@ +package com.baeldung.cxf.introduction; + +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + +@XmlJavaTypeAdapter(StudentAdapter.class) +public interface Student { + public String getName(); +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentAdapter.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentAdapter.java new file mode 100644 index 0000000000..29b829d808 --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentAdapter.java @@ -0,0 +1,16 @@ +package com.baeldung.cxf.introduction; + +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class StudentAdapter extends XmlAdapter { + public StudentImpl marshal(Student student) throws Exception { + if (student instanceof StudentImpl) { + return (StudentImpl) student; + } + return new StudentImpl(student.getName()); + } + + public Student unmarshal(StudentImpl student) throws Exception { + return student; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentImpl.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentImpl.java new file mode 100644 index 0000000000..bc9dd27afe --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentImpl.java @@ -0,0 +1,23 @@ +package com.baeldung.cxf.introduction; + +import javax.xml.bind.annotation.XmlType; + +@XmlType(name = "Student") +public class StudentImpl implements Student { + private String name; + + StudentImpl() { + } + + public StudentImpl(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMap.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMap.java new file mode 100644 index 0000000000..4c40886c42 --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMap.java @@ -0,0 +1,39 @@ +package com.baeldung.cxf.introduction; + +import java.util.ArrayList; +import java.util.List; + +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + +@XmlType(name = "StudentMap") +public class StudentMap { + private List entries = new ArrayList(); + + @XmlElement(nillable = false, name = "entry") + public List getEntries() { + return entries; + } + + @XmlType(name = "StudentEntry") + public static class StudentEntry { + private Integer id; + private Student student; + + public void setId(Integer id) { + this.id = id; + } + + public Integer getId() { + return id; + } + + public void setStudent(Student student) { + this.student = student; + } + + public Student getStudent() { + return student; + } + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMapAdapter.java b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMapAdapter.java new file mode 100644 index 0000000000..f156676a5f --- /dev/null +++ b/apache-cxf/cxf-introduction/src/main/java/com/baeldung/cxf/introduction/StudentMapAdapter.java @@ -0,0 +1,27 @@ +package com.baeldung.cxf.introduction; + +import java.util.LinkedHashMap; +import java.util.Map; + +import javax.xml.bind.annotation.adapters.XmlAdapter; + +public class StudentMapAdapter extends XmlAdapter> { + public StudentMap marshal(Map boundMap) throws Exception { + StudentMap valueMap = new StudentMap(); + for (Map.Entry boundEntry : boundMap.entrySet()) { + StudentMap.StudentEntry valueEntry = new StudentMap.StudentEntry(); + valueEntry.setStudent(boundEntry.getValue()); + valueEntry.setId(boundEntry.getKey()); + valueMap.getEntries().add(valueEntry); + } + return valueMap; + } + + public Map unmarshal(StudentMap valueMap) throws Exception { + Map boundMap = new LinkedHashMap(); + for (StudentMap.StudentEntry studentEntry : valueMap.getEntries()) { + boundMap.put(studentEntry.getId(), studentEntry.getStudent()); + } + return boundMap; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-introduction/src/test/java/com/baeldung/cxf/introduction/StudentLiveTest.java b/apache-cxf/cxf-introduction/src/test/java/com/baeldung/cxf/introduction/StudentLiveTest.java new file mode 100644 index 0000000000..60fc0a10e7 --- /dev/null +++ b/apache-cxf/cxf-introduction/src/test/java/com/baeldung/cxf/introduction/StudentLiveTest.java @@ -0,0 +1,61 @@ +package com.baeldung.cxf.introduction; + +import static org.junit.Assert.assertEquals; + +import java.util.Map; + +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.soap.SOAPBinding; + +import org.junit.Before; +import org.junit.Test; + +public class StudentLiveTest { + private static QName SERVICE_NAME = new QName("http://introduction.cxf.baeldung.com/", "Baeldung"); + private static QName PORT_NAME = new QName("http://introduction.cxf.baeldung.com/", "BaeldungPort"); + + private Service service; + private Baeldung baeldungProxy; + private BaeldungImpl baeldungImpl; + + { + service = Service.create(SERVICE_NAME); + final String endpointAddress = "http://localhost:8080/baeldung"; + service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress); + } + + @Before + public void reinstantiateBaeldungInstances() { + baeldungImpl = new BaeldungImpl(); + baeldungProxy = service.getPort(PORT_NAME, Baeldung.class); + } + + @Test + public void whenUsingHelloMethod_thenCorrect() { + final String endpointResponse = baeldungProxy.hello("Baeldung"); + final String localResponse = baeldungImpl.hello("Baeldung"); + assertEquals(localResponse, endpointResponse); + } + + @Test + public void whenUsingHelloStudentMethod_thenCorrect() { + final Student student = new StudentImpl("John Doe"); + final String endpointResponse = baeldungProxy.helloStudent(student); + final String localResponse = baeldungImpl.helloStudent(student); + assertEquals(localResponse, endpointResponse); + } + + @Test + public void usingGetStudentsMethod_thenCorrect() { + final Student student1 = new StudentImpl("Adam"); + baeldungProxy.helloStudent(student1); + + final Student student2 = new StudentImpl("Eve"); + baeldungProxy.helloStudent(student2); + + final Map students = baeldungProxy.getStudents(); + assertEquals("Adam", students.get(1).getName()); + assertEquals("Eve", students.get(2).getName()); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/pom.xml b/apache-cxf/cxf-jaxrs-implementation/pom.xml new file mode 100644 index 0000000000..b3a81aef82 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/pom.xml @@ -0,0 +1,55 @@ + + + + 4.0.0 + cxf-jaxrs-implementation + + com.baeldung + apache-cxf + 0.0.1-SNAPSHOT + + + UTF-8 + 3.1.7 + 4.5.2 + 2.19.1 + + + + + org.codehaus.mojo + exec-maven-plugin + + com.baeldung.cxf.jaxrs.implementation.RestfulServer + + + + maven-surefire-plugin + 2.19.1 + + + **/*LiveTest.java + + + + + + + + org.apache.cxf + cxf-rt-frontend-jaxrs + ${cxf.version} + + + org.apache.cxf + cxf-rt-transports-http-jetty + ${cxf.version} + + + org.apache.httpcomponents + httpclient + ${httpclient.version} + + + diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Course.java b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Course.java new file mode 100644 index 0000000000..dba9b9c661 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Course.java @@ -0,0 +1,86 @@ +package com.baeldung.cxf.jaxrs.implementation; + +import javax.ws.rs.*; +import javax.ws.rs.core.Response; +import javax.xml.bind.annotation.XmlRootElement; + +import java.util.ArrayList; +import java.util.List; + +@XmlRootElement(name = "Course") +public class Course { + private int id; + private String name; + private List students = new ArrayList<>(); + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getStudents() { + return students; + } + + public void setStudents(List students) { + this.students = students; + } + + @GET + @Path("{studentId}") + public Student getStudent(@PathParam("studentId") int studentId) { + return findById(studentId); + } + + @POST + public Response createStudent(Student student) { + for (Student element : students) { + if (element.getId() == student.getId()) { + return Response.status(Response.Status.CONFLICT).build(); + } + } + students.add(student); + return Response.ok(student).build(); + } + + @DELETE + @Path("{studentId}") + public Response deleteStudent(@PathParam("studentId") int studentId) { + Student student = findById(studentId); + if (student == null) { + return Response.status(Response.Status.NOT_FOUND).build(); + } + students.remove(student); + return Response.ok().build(); + } + + private Student findById(int id) { + for (Student student : students) { + if (student.getId() == id) { + return student; + } + } + return null; + } + + @Override + public int hashCode() { + return id + name.hashCode(); + } + + @Override + public boolean equals(Object obj) { + return (obj instanceof Course) && (id == ((Course) obj).getId()) && (name.equals(((Course) obj).getName())); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/CourseRepository.java b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/CourseRepository.java new file mode 100644 index 0000000000..a2fd6be435 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/CourseRepository.java @@ -0,0 +1,72 @@ +package com.baeldung.cxf.jaxrs.implementation; + +import javax.ws.rs.*; +import javax.ws.rs.core.Response; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Path("baeldung") +@Produces("text/xml") +public class CourseRepository { + private Map courses = new HashMap<>(); + + { + Student student1 = new Student(); + Student student2 = new Student(); + student1.setId(1); + student1.setName("Student A"); + student2.setId(2); + student2.setName("Student B"); + + List course1Students = new ArrayList<>(); + course1Students.add(student1); + course1Students.add(student2); + + Course course1 = new Course(); + Course course2 = new Course(); + course1.setId(1); + course1.setName("REST with Spring"); + course1.setStudents(course1Students); + course2.setId(2); + course2.setName("Learn Spring Security"); + + courses.put(1, course1); + courses.put(2, course2); + } + + @GET + @Path("courses/{courseId}") + public Course getCourse(@PathParam("courseId") int courseId) { + return findById(courseId); + } + + @PUT + @Path("courses/{courseId}") + public Response updateCourse(@PathParam("courseId") int courseId, Course course) { + Course existingCourse = findById(courseId); + if (existingCourse == null) { + return Response.status(Response.Status.NOT_FOUND).build(); + } + if (existingCourse.equals(course)) { + return Response.notModified().build(); + } + courses.put(courseId, course); + return Response.ok().build(); + } + + @Path("courses/{courseId}/students") + public Course pathToStudent(@PathParam("courseId") int courseId) { + return findById(courseId); + } + + private Course findById(int id) { + for (Map.Entry course : courses.entrySet()) { + if (course.getKey() == id) { + return course.getValue(); + } + } + return null; + } +} diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/RestfulServer.java b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/RestfulServer.java new file mode 100644 index 0000000000..d3ed2eb70e --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/RestfulServer.java @@ -0,0 +1,21 @@ +package com.baeldung.cxf.jaxrs.implementation; + +import org.apache.cxf.endpoint.Server; +import org.apache.cxf.jaxrs.JAXRSServerFactoryBean; +import org.apache.cxf.jaxrs.lifecycle.SingletonResourceProvider; + +public class RestfulServer { + public static void main(String args[]) throws Exception { + JAXRSServerFactoryBean factoryBean = new JAXRSServerFactoryBean(); + factoryBean.setResourceClasses(CourseRepository.class); + factoryBean.setResourceProvider(new SingletonResourceProvider(new CourseRepository())); + factoryBean.setAddress("http://localhost:8080/"); + Server server = factoryBean.create(); + + System.out.println("Server ready..."); + Thread.sleep(60 * 1000); + System.out.println("Server exiting"); + server.destroy(); + System.exit(0); + } +} diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Student.java b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Student.java new file mode 100644 index 0000000000..bd3dad0f5e --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/java/com/baeldung/cxf/jaxrs/implementation/Student.java @@ -0,0 +1,35 @@ +package com.baeldung.cxf.jaxrs.implementation; + +import javax.xml.bind.annotation.XmlRootElement; + +@XmlRootElement(name = "Student") +public class Student { + private int id; + private String name; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @Override + public int hashCode() { + return id + name.hashCode(); + } + + @Override + public boolean equals(Object obj) { + return (obj instanceof Student) && (id == ((Student) obj).getId()) && (name.equals(((Student) obj).getName())); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/resources/changed_course.xml b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/changed_course.xml new file mode 100644 index 0000000000..097cf2ce58 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/changed_course.xml @@ -0,0 +1,4 @@ + + 2 + Apache CXF Support for RESTful + \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/resources/conflict_student.xml b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/conflict_student.xml new file mode 100644 index 0000000000..7d083dbdc9 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/conflict_student.xml @@ -0,0 +1,4 @@ + + 2 + Student B + \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/resources/created_student.xml b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/created_student.xml new file mode 100644 index 0000000000..068c9dae4b --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/created_student.xml @@ -0,0 +1,4 @@ + + 3 + Student C + \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/resources/non_existent_course.xml b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/non_existent_course.xml new file mode 100644 index 0000000000..465c337745 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/non_existent_course.xml @@ -0,0 +1,4 @@ + + 3 + Apache CXF Support for RESTful + \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/main/resources/unchanged_course.xml b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/unchanged_course.xml new file mode 100644 index 0000000000..5936fdc094 --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/main/resources/unchanged_course.xml @@ -0,0 +1,4 @@ + + 1 + REST with Spring + \ No newline at end of file diff --git a/apache-cxf/cxf-jaxrs-implementation/src/test/java/com/baeldung/cxf/jaxrs/implementation/ServiceLiveTest.java b/apache-cxf/cxf-jaxrs-implementation/src/test/java/com/baeldung/cxf/jaxrs/implementation/ServiceLiveTest.java new file mode 100644 index 0000000000..29c34ae16b --- /dev/null +++ b/apache-cxf/cxf-jaxrs-implementation/src/test/java/com/baeldung/cxf/jaxrs/implementation/ServiceLiveTest.java @@ -0,0 +1,130 @@ +package com.baeldung.cxf.jaxrs.implementation; + +import static org.junit.Assert.assertEquals; + +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.URL; + +import javax.xml.bind.JAXB; + +import org.apache.http.HttpResponse; +import org.apache.http.client.methods.HttpDelete; +import org.apache.http.client.methods.HttpPost; +import org.apache.http.client.methods.HttpPut; +import org.apache.http.entity.InputStreamEntity; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.client.HttpClients; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +public class ServiceLiveTest { + private static final String BASE_URL = "http://localhost:8080/baeldung/courses/"; + private static CloseableHttpClient client; + + @BeforeClass + public static void createClient() { + client = HttpClients.createDefault(); + } + + @AfterClass + public static void closeClient() throws IOException { + client.close(); + } + + @Test + public void whenUpdateNonExistentCourse_thenReceiveNotFoundResponse() throws IOException { + final HttpPut httpPut = new HttpPut(BASE_URL + "3"); + final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream("non_existent_course.xml"); + httpPut.setEntity(new InputStreamEntity(resourceStream)); + httpPut.setHeader("Content-Type", "text/xml"); + + final HttpResponse response = client.execute(httpPut); + assertEquals(404, response.getStatusLine().getStatusCode()); + } + + @Test + public void whenUpdateUnchangedCourse_thenReceiveNotModifiedResponse() throws IOException { + final HttpPut httpPut = new HttpPut(BASE_URL + "1"); + final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream("unchanged_course.xml"); + httpPut.setEntity(new InputStreamEntity(resourceStream)); + httpPut.setHeader("Content-Type", "text/xml"); + + final HttpResponse response = client.execute(httpPut); + assertEquals(304, response.getStatusLine().getStatusCode()); + } + + @Test + public void whenUpdateValidCourse_thenReceiveOKResponse() throws IOException { + final HttpPut httpPut = new HttpPut(BASE_URL + "2"); + final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream("changed_course.xml"); + httpPut.setEntity(new InputStreamEntity(resourceStream)); + httpPut.setHeader("Content-Type", "text/xml"); + + final HttpResponse response = client.execute(httpPut); + assertEquals(200, response.getStatusLine().getStatusCode()); + + final Course course = getCourse(2); + assertEquals(2, course.getId()); + assertEquals("Apache CXF Support for RESTful", course.getName()); + } + + @Test + public void whenCreateConflictStudent_thenReceiveConflictResponse() throws IOException { + final HttpPost httpPost = new HttpPost(BASE_URL + "1/students"); + final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream("conflict_student.xml"); + httpPost.setEntity(new InputStreamEntity(resourceStream)); + httpPost.setHeader("Content-Type", "text/xml"); + + final HttpResponse response = client.execute(httpPost); + assertEquals(409, response.getStatusLine().getStatusCode()); + } + + @Test + public void whenCreateValidStudent_thenReceiveOKResponse() throws IOException { + final HttpPost httpPost = new HttpPost(BASE_URL + "2/students"); + final InputStream resourceStream = this.getClass().getClassLoader().getResourceAsStream("created_student.xml"); + httpPost.setEntity(new InputStreamEntity(resourceStream)); + httpPost.setHeader("Content-Type", "text/xml"); + + final HttpResponse response = client.execute(httpPost); + assertEquals(200, response.getStatusLine().getStatusCode()); + + final Student student = getStudent(2, 3); + assertEquals(3, student.getId()); + assertEquals("Student C", student.getName()); + } + + @Test + public void whenDeleteInvalidStudent_thenReceiveNotFoundResponse() throws IOException { + final HttpDelete httpDelete = new HttpDelete(BASE_URL + "1/students/3"); + final HttpResponse response = client.execute(httpDelete); + assertEquals(404, response.getStatusLine().getStatusCode()); + } + + @Test + public void whenDeleteValidStudent_thenReceiveOKResponse() throws IOException { + final HttpDelete httpDelete = new HttpDelete(BASE_URL + "1/students/1"); + final HttpResponse response = client.execute(httpDelete); + assertEquals(200, response.getStatusLine().getStatusCode()); + + final Course course = getCourse(1); + assertEquals(1, course.getStudents().size()); + assertEquals(2, course.getStudents().get(0).getId()); + assertEquals("Student B", course.getStudents().get(0).getName()); + } + + private Course getCourse(int courseOrder) throws IOException { + final URL url = new URL(BASE_URL + courseOrder); + final InputStream input = url.openStream(); + return JAXB.unmarshal(new InputStreamReader(input), Course.class); + } + + private Student getStudent(int courseOrder, int studentOrder) throws IOException { + final URL url = new URL(BASE_URL + courseOrder + "/students/" + studentOrder); + final InputStream input = url.openStream(); + return JAXB.unmarshal(new InputStreamReader(input), Student.class); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/.gitignore b/apache-cxf/cxf-spring/.gitignore new file mode 100644 index 0000000000..2f7896d1d1 --- /dev/null +++ b/apache-cxf/cxf-spring/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/apache-cxf/cxf-spring/pom.xml b/apache-cxf/cxf-spring/pom.xml new file mode 100644 index 0000000000..8f1dee965a --- /dev/null +++ b/apache-cxf/cxf-spring/pom.xml @@ -0,0 +1,129 @@ + + 4.0.0 + cxf-spring + war + + com.baeldung + apache-cxf + 0.0.1-SNAPSHOT + + + + + org.apache.cxf + cxf-rt-frontend-jaxws + ${cxf.version} + + + org.apache.cxf + cxf-rt-transports-http-jetty + ${cxf.version} + + + org.springframework + spring-context + ${spring.version} + + + org.springframework + spring-webmvc + ${spring.version} + + + javax.servlet + javax.servlet-api + 3.1.0 + + + + + + + maven-war-plugin + 2.6 + + false + + + + maven-surefire-plugin + ${surefire.version} + + + **/*LiveTest.java + + + + + + + + + live + + + + org.codehaus.cargo + cargo-maven2-plugin + 1.4.19 + + + tomcat8x + embedded + + + + localhost + 8081 + + + + + + start-server + pre-integration-test + + start + + + + stop-server + post-integration-test + + stop + + + + + + + maven-surefire-plugin + ${surefire.version} + + + integration-test + + test + + + + none + + + + + + + + + + + + + 3.1.6 + 4.3.1.RELEASE + 2.19.1 + + + diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java new file mode 100644 index 0000000000..a4faa0f287 --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/AppInitializer.java @@ -0,0 +1,21 @@ +package com.baeldung.cxf.spring; + +import javax.servlet.ServletContext; +import javax.servlet.ServletRegistration; + +import org.apache.cxf.transport.servlet.CXFServlet; +import org.springframework.web.WebApplicationInitializer; +import org.springframework.web.context.ContextLoaderListener; +import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; + +public class AppInitializer implements WebApplicationInitializer { + @Override + public void onStartup(ServletContext container) { + AnnotationConfigWebApplicationContext context = new AnnotationConfigWebApplicationContext(); + context.register(ServiceConfiguration.class); + container.addListener(new ContextLoaderListener(context)); + + ServletRegistration.Dynamic dispatcher = container.addServlet("dispatcher", new CXFServlet()); + dispatcher.addMapping("/services/*"); + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Baeldung.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Baeldung.java new file mode 100644 index 0000000000..b66e4c2fbf --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Baeldung.java @@ -0,0 +1,10 @@ +package com.baeldung.cxf.spring; + +import javax.jws.WebService; + +@WebService +public interface Baeldung { + String hello(String name); + + String register(Student student); +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/BaeldungImpl.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/BaeldungImpl.java new file mode 100644 index 0000000000..911ce7f876 --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/BaeldungImpl.java @@ -0,0 +1,17 @@ +package com.baeldung.cxf.spring; + +import javax.jws.WebService; + +@WebService(endpointInterface = "com.baeldung.cxf.spring.Baeldung") +public class BaeldungImpl implements Baeldung { + private int counter; + + public String hello(String name) { + return "Hello " + name + "!"; + } + + public String register(Student student) { + counter++; + return student.getName() + " is registered student number " + counter; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ClientConfiguration.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ClientConfiguration.java new file mode 100644 index 0000000000..021bcc6f66 --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ClientConfiguration.java @@ -0,0 +1,21 @@ +package com.baeldung.cxf.spring; + +import org.apache.cxf.jaxws.JaxWsProxyFactoryBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class ClientConfiguration { + @Bean(name = "client") + public Object generateProxy() { + return proxyFactoryBean().create(); + } + + @Bean + public JaxWsProxyFactoryBean proxyFactoryBean() { + JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean(); + proxyFactory.setServiceClass(Baeldung.class); + proxyFactory.setAddress("http://localhost:8081/services/baeldung"); + return proxyFactory; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ServiceConfiguration.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ServiceConfiguration.java new file mode 100644 index 0000000000..0bc60fb790 --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/ServiceConfiguration.java @@ -0,0 +1,24 @@ +package com.baeldung.cxf.spring; + +import javax.xml.ws.Endpoint; + +import org.apache.cxf.Bus; +import org.apache.cxf.bus.spring.SpringBus; +import org.apache.cxf.jaxws.EndpointImpl; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class ServiceConfiguration { + @Bean(name = Bus.DEFAULT_BUS_ID) + public SpringBus springBus() { + return new SpringBus(); + } + + @Bean + public Endpoint endpoint() { + EndpointImpl endpoint = new EndpointImpl(springBus(), new BaeldungImpl()); + endpoint.publish("http://localhost:8081/services/baeldung"); + return endpoint; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Student.java b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Student.java new file mode 100644 index 0000000000..eb58057eb6 --- /dev/null +++ b/apache-cxf/cxf-spring/src/main/java/com/baeldung/cxf/spring/Student.java @@ -0,0 +1,20 @@ +package com.baeldung.cxf.spring; + +public class Student { + private String name; + + Student() { + } + + public Student(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} \ No newline at end of file diff --git a/apache-cxf/cxf-spring/src/test/java/com/baeldung/cxf/spring/StudentLiveTest.java b/apache-cxf/cxf-spring/src/test/java/com/baeldung/cxf/spring/StudentLiveTest.java new file mode 100644 index 0000000000..80a8f6c3b8 --- /dev/null +++ b/apache-cxf/cxf-spring/src/test/java/com/baeldung/cxf/spring/StudentLiveTest.java @@ -0,0 +1,29 @@ +package com.baeldung.cxf.spring; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; +import org.springframework.context.ApplicationContext; +import org.springframework.context.annotation.AnnotationConfigApplicationContext; + +public class StudentLiveTest { + private ApplicationContext context = new AnnotationConfigApplicationContext(ClientConfiguration.class); + private Baeldung baeldungProxy = (Baeldung) context.getBean("client"); + + @Test + public void whenUsingHelloMethod_thenCorrect() { + String response = baeldungProxy.hello("John Doe"); + assertEquals("Hello John Doe!", response); + } + + @Test + public void whenUsingRegisterMethod_thenCorrect() { + Student student1 = new Student("Adam"); + Student student2 = new Student("Eve"); + String student1Response = baeldungProxy.register(student1); + String student2Response = baeldungProxy.register(student2); + + assertEquals("Adam is registered student number 1", student1Response); + assertEquals("Eve is registered student number 2", student2Response); + } +} \ No newline at end of file diff --git a/apache-cxf/pom.xml b/apache-cxf/pom.xml new file mode 100644 index 0000000000..af7949bb6c --- /dev/null +++ b/apache-cxf/pom.xml @@ -0,0 +1,42 @@ + + 4.0.0 + com.baeldung + apache-cxf + 0.0.1-SNAPSHOT + pom + + cxf-introduction + cxf-spring + cxf-jaxrs-implementation + + + + junit + junit + 4.12 + test + + + + install + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + org.codehaus.mojo + exec-maven-plugin + 1.5.0 + + + + + diff --git a/apache-fop/.gitignore b/apache-fop/.gitignore new file mode 100644 index 0000000000..941f6a39ab --- /dev/null +++ b/apache-fop/.gitignore @@ -0,0 +1,15 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.war +*.ear + +# Files generated by integration tests +*.txt \ No newline at end of file diff --git a/apache-fop/README.md b/apache-fop/README.md new file mode 100644 index 0000000000..772681ad57 --- /dev/null +++ b/apache-fop/README.md @@ -0,0 +1,9 @@ +========= + +## Core Java Cookbooks and Examples + +### Relevant Articles: +- [Immutable ArrayList in Java](http://www.baeldung.com/java-immutable-list) +- [Java - Reading a Large File Efficiently](http://www.baeldung.com/java-read-lines-large-file) +- [Java InputStream to String](http://www.baeldung.com/convert-input-stream-to-string) + diff --git a/apache-fop/pom.xml b/apache-fop/pom.xml new file mode 100644 index 0000000000..949843a47e --- /dev/null +++ b/apache-fop/pom.xml @@ -0,0 +1,227 @@ + + 4.0.0 + com.baeldung + apache-fop + 0.1-SNAPSHOT + + apache-fop + + + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + + + + + + junit + junit + ${junit.version} + test + + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + org.apache.xmlgraphics + fop + 1.1 + + + org.apache.avalon.framework + avalon-framework-api + + + org.apache.avalon.framework + avalon-framework-impl + + + + + + avalon-framework + avalon-framework-api + 4.2.0 + + + avalon-framework + avalon-framework-impl + 4.2.0 + + + + org.dbdoclet + dbdoclet + 8.0.2 + + + + org.dbdoclet + herold + 6.1.0 + system + ${basedir}/src/test/resources/jars/herold.jar + + + + net.sf.jtidy + jtidy + r938 + + + + + + apache-fop + + + src/main/resources + true + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.7 + 1.7 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + + + + + integration + + + + org.apache.maven.plugins + maven-surefire-plugin + + + integration-test + + test + + + + **/*ManualTest.java + + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + json + + + + + + + + + + + 4.3.11.Final + 5.1.38 + + + 2.7.2 + + + 1.7.9 + 1.1.2 + + + 5.1.3.Final + + + 19.0 + 3.3.2 + + + 1.3 + 4.12 + 1.10.19 + + 4.4 + 4.4 + + 2.9.0 + + + 3.5.1 + 2.6 + 2.19.1 + 2.7 + 1.4.18 + + + + \ No newline at end of file diff --git a/apache-fop/src/main/resources/logback.xml b/apache-fop/src/main/resources/logback.xml new file mode 100644 index 0000000000..62d0ea5037 --- /dev/null +++ b/apache-fop/src/main/resources/logback.xml @@ -0,0 +1,16 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml b/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml new file mode 100644 index 0000000000..4c74be8912 --- /dev/null +++ b/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/apache-fop/src/main/webapp/WEB-INF/web.xml b/apache-fop/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..935beae648 --- /dev/null +++ b/apache-fop/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,41 @@ + + + + Spring MVC Application + + + + contextClass + + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + + + + contextConfigLocation + org.baeldung.config + + + + org.springframework.web.context.ContextLoaderListener + + + + + api + org.springframework.web.servlet.DispatcherServlet + 1 + + + api + / + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/java/org/baeldung/java/ApacheFOPConvertHTMLIntegrationTest.java b/apache-fop/src/test/java/org/baeldung/java/ApacheFOPConvertHTMLIntegrationTest.java new file mode 100644 index 0000000000..99487c8fdf --- /dev/null +++ b/apache-fop/src/test/java/org/baeldung/java/ApacheFOPConvertHTMLIntegrationTest.java @@ -0,0 +1,121 @@ +package org.baeldung.java; + +import java.io.BufferedOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.OutputStream; + +import javax.xml.transform.Result; +import javax.xml.transform.Source; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.dom.DOMResult; +import javax.xml.transform.dom.DOMSource; +import javax.xml.transform.sax.SAXResult; +import javax.xml.transform.stream.StreamSource; + +import org.apache.fop.apps.Fop; +import org.apache.fop.apps.FopFactory; +import org.apache.xmlgraphics.util.MimeConstants; +import org.dbdoclet.trafo.html.docbook.DocBookTransformer; +import org.dbdoclet.trafo.script.Script; +import org.junit.Test; +import org.w3c.dom.Document; +import org.w3c.tidy.Tidy; + +public class ApacheFOPConvertHTMLIntegrationTest { + private String inputFile = "src/test/resources/input.html"; + private String style = "src/test/resources/xhtml2fo.xsl"; + private String style1 = "src/test/resources/docbook-xsl/fo/docbook.xsl"; + private String output_jtidy = "src/test/resources/output_jtidy.pdf"; + private String output_html2fo = "src/test/resources/output_html2fo.pdf"; + private String output_herold = "src/test/resources/output_herold.pdf"; + private String foFile = "src/test/resources/input.fo"; + private String xmlFile = "src/test/resources/input.xml"; + + @Test + public void whenTransformHTMLToPDFUsingJTidy_thenCorrect() throws Exception { + final Document xhtml = fromHTMLToXHTML(); + final Document fo = fromXHTMLToFO(xhtml); + fromFODocumentToPDF(fo, output_jtidy); + } + + @Test + public void whenTransformFromHTML2FOToPDF_thenCorrect() throws Exception { + fromFOFileToPDF(); + } + + @Test + public void whenTransformFromHeroldToPDF_thenCorrect() throws Exception { + fromHTMLTOXMLUsingHerold(); + final Document fo = fromXMLFileToFO(); + fromFODocumentToPDF(fo, output_herold); + } + + private Document fromHTMLToXHTML() throws FileNotFoundException { + final FileInputStream reader = new FileInputStream(inputFile); + final Tidy tidy = new Tidy(); + final Document xml = tidy.parseDOM(reader, null); + return xml; + } + + private Document fromXHTMLToFO(final Document xhtml) throws Exception { + final DOMSource source = new DOMSource(xhtml); + final DOMResult result = new DOMResult(); + final Transformer transformer = createTransformer(style); + transformer.transform(source, result); + return (Document) result.getNode(); + } + + private void fromFODocumentToPDF(final Document fo, final String outputFile) throws Exception { + final FopFactory fopFactory = FopFactory.newInstance(); + final OutputStream outStream = new BufferedOutputStream(new FileOutputStream(new File(outputFile))); + + final Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, outStream); + final TransformerFactory factory = TransformerFactory.newInstance(); + final Transformer transformer = factory.newTransformer(); + final DOMSource src = new DOMSource(fo); + final Result res = new SAXResult(fop.getDefaultHandler()); + transformer.transform(src, res); + + outStream.close(); + } + + private Transformer createTransformer(final String styleFile) throws Exception { + final TransformerFactory factory = TransformerFactory.newInstance(); + final Transformer transformer = factory.newTransformer(new StreamSource(styleFile)); + + return transformer; + } + + private void fromFOFileToPDF() throws Exception { + final FopFactory fopFactory = FopFactory.newInstance(); + final OutputStream outStream = new BufferedOutputStream(new FileOutputStream(new File(output_html2fo))); + final Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, outStream); + + final TransformerFactory factory = TransformerFactory.newInstance(); + final Transformer transformer = factory.newTransformer(); + final Source src = new StreamSource(new FileInputStream(foFile)); + final Result res = new SAXResult(fop.getDefaultHandler()); + transformer.transform(src, res); + + outStream.close(); + } + + private Document fromXMLFileToFO() throws Exception { + final Source source = new StreamSource(new FileInputStream(xmlFile)); + final DOMResult result = new DOMResult(); + final Transformer transformer = createTransformer(style1); + transformer.transform(source, result); + return (Document) result.getNode(); + } + + private void fromHTMLTOXMLUsingHerold() throws Exception { + final Script script = new Script(); + final DocBookTransformer transformer = new DocBookTransformer(); + transformer.setScript(script); + transformer.convert(new FileInputStream(inputFile), new FileOutputStream(xmlFile)); + } +} diff --git a/apache-fop/src/test/java/org/baeldung/java/ApacheFOPHeroldLiveTest.java b/apache-fop/src/test/java/org/baeldung/java/ApacheFOPHeroldLiveTest.java new file mode 100644 index 0000000000..9e71cd9c16 --- /dev/null +++ b/apache-fop/src/test/java/org/baeldung/java/ApacheFOPHeroldLiveTest.java @@ -0,0 +1,143 @@ +package org.baeldung.java; + +import java.io.BufferedOutputStream; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.URL; + +import javax.xml.transform.Result; +import javax.xml.transform.Source; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.dom.DOMResult; +import javax.xml.transform.dom.DOMSource; +import javax.xml.transform.sax.SAXResult; +import javax.xml.transform.stream.StreamSource; + +import org.apache.fop.apps.Fop; +import org.apache.fop.apps.FopFactory; +import org.apache.xmlgraphics.util.MimeConstants; +import org.dbdoclet.trafo.TrafoScriptManager; +import org.dbdoclet.trafo.html.docbook.DocBookTransformer; +import org.dbdoclet.trafo.script.Script; +import org.junit.Test; +import org.w3c.dom.Document; + +public class ApacheFOPHeroldLiveTest { + private String[] inputUrls = {// @formatter:off + "http://www.baeldung.com/2011/10/20/bootstraping-a-web-application-with-spring-3-1-and-java-based-configuration-part-1/", + "http://www.baeldung.com/2011/10/25/building-a-restful-web-service-with-spring-3-1-and-java-based-configuration-part-2/", + "http://www.baeldung.com/2011/10/31/securing-a-restful-web-service-with-spring-security-3-1-part-3/", + "http://www.baeldung.com/spring-security-basic-authentication", + "http://www.baeldung.com/spring-security-digest-authentication", + "http://www.baeldung.com/2011/11/20/basic-and-digest-authentication-for-a-restful-service-with-spring-security-3-1/", + //"http://www.baeldung.com/spring-httpmessageconverter-rest", + //"http://www.baeldung.com/2011/11/06/restful-web-service-discoverability-part-4/", + //"http://www.baeldung.com/2011/11/13/rest-service-discoverability-with-spring-part-5/", + //"http://www.baeldung.com/2013/01/11/etags-for-rest-with-spring/", + // "http://www.baeldung.com/2012/01/18/rest-pagination-in-spring/", + //"http://inprogress.baeldung.com/?p=1430", + //"http://www.baeldung.com/2013/01/31/exception-handling-for-rest-with-spring-3-2/", + //"http://www.baeldung.com/rest-versioning", + //"http://www.baeldung.com/2013/01/18/testing-rest-with-multiple-mime-types/" + }; // @formatter:on + + private String style_file = "src/test/resources/docbook-xsl/fo/docbook.xsl"; + private String output_file = "src/test/resources/final_output.pdf"; + private String xmlInput = "src/test/resources/input.xml"; + private String xmlOutput = "src/test/resources/output.xml"; + + // tests + + @Test + public void whenTransformFromHeroldToPDF_thenCorrect() throws Exception { + final int len = inputUrls.length; + fromHTMLTOXMLUsingHerold(inputUrls[0], false); + for (int i = 1; i < len; i++) { + fromHTMLTOXMLUsingHerold(inputUrls[i], true); + } + fixXML(xmlInput, xmlOutput); + final Document fo = fromXMLFileToFO(); + fromFODocumentToPDF(fo, output_file); + } + + // UTIL + + private void fromHTMLTOXMLUsingHerold(final String input, final boolean append) throws Exception { + Script script; + final TrafoScriptManager mgr = new TrafoScriptManager(); + final File profileFile = new File("src/test/resources/default.her"); + script = mgr.parseScript(profileFile); + final DocBookTransformer transformer = new DocBookTransformer(); + transformer.setScript(script); + + transformer.convert(getInputStream(input), new FileOutputStream(xmlInput, append)); + } + + private Document fromXMLFileToFO() throws Exception { + final Source source = new StreamSource(new FileInputStream(xmlOutput)); + final DOMResult result = new DOMResult(); + final Transformer transformer = createTransformer(style_file); + transformer.transform(source, result); + return (Document) result.getNode(); + } + + private void fromFODocumentToPDF(final Document fo, final String outputFile) throws Exception { + final FopFactory fopFactory = FopFactory.newInstance(); + final OutputStream outStream = new BufferedOutputStream(new FileOutputStream(new File(outputFile))); + + final Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, outStream); + final TransformerFactory factory = TransformerFactory.newInstance(); + final Transformer transformer = factory.newTransformer(); + final DOMSource src = new DOMSource(fo); + final Result res = new SAXResult(fop.getDefaultHandler()); + transformer.transform(src, res); + + outStream.close(); + } + + private Transformer createTransformer(final String styleFile) throws Exception { + final TransformerFactory factory = TransformerFactory.newInstance(); + final Transformer transformer = factory.newTransformer(new StreamSource(styleFile)); + + return transformer; + } + + private InputStream getInputStream(final String input) throws IOException { + final URL url = new URL(input); + return url.openStream(); + } + + private void fixXML(final String input, final String output) throws IOException { + final BufferedReader reader = new BufferedReader(new FileReader(input)); + final FileWriter writer = new FileWriter(output); + String line = reader.readLine(); + int count = 0; + while (line != null) { + line = line.replaceAll("â€", "\""); + line = line.replaceAll("“", "\""); + // line = line.replaceAll("[^\\x00-\\x7F]", ""); + + if (line.contains("info>")) { + writer.write(line.replace("info>", "section>")); + } else if (!((line.startsWith(" 4)) { + writer.write(line.replaceAll("xml:id=\"", "xml:id=\"" + count)); + } + writer.write("\n"); + + line = reader.readLine(); + count++; + } + writer.write(""); + reader.close(); + writer.close(); + } + +} diff --git a/apache-fop/src/test/resources/.gitignore b/apache-fop/src/test/resources/.gitignore new file mode 100644 index 0000000000..f56f6c4a2d --- /dev/null +++ b/apache-fop/src/test/resources/.gitignore @@ -0,0 +1,12 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.war +*.ear \ No newline at end of file diff --git a/apache-fop/src/test/resources/default.her b/apache-fop/src/test/resources/default.her new file mode 100644 index 0000000000..8c20a55afb --- /dev/null +++ b/apache-fop/src/test/resources/default.her @@ -0,0 +1,13 @@ +transformation html2docbook; + +section HTML { + encoding = "windows-1252"; + exclude = ["//h3[contains(.,'I usually')]", "//*[@id='toc_container']", "//h2/span[@id='Table_of_Contents']/../following-sibling::ul", "//h2/span[@id='Table_of_Contents']/..", "//*[@id='disqus_thread']","//head","//*[@class='custom-design-100']","//*[@class='custom-design-114']", "//form","//*[@src]","//*[@id='inner-wrapper']/*[position()<7]" , "//*[@class='post-meta']" , "//*[@class='entry-title']","//*[@id='respond']" ,"//*[@id='comments']","//*[@class='post-entries']","//*[@class='social']/../../h3[last()]" ,"//*[@class='social']/.."]; + section-numbering-pattern = "(((\d\.)+)?\d?\.?\p{Z}*).*"; +} + +section DocBook { + add-index = false; + decompose-tables = false; + encoding = "UTF-8"; +} diff --git a/apache-fop/src/test/resources/docbook-xsl/AUTHORS b/apache-fop/src/test/resources/docbook-xsl/AUTHORS new file mode 100644 index 0000000000..9c3dcdc4b0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/AUTHORS @@ -0,0 +1,4 @@ +The DocBook XSL stylesheets are maintained by Norman Walsh, +, and members of the DocBook Project, + + diff --git a/apache-fop/src/test/resources/docbook-xsl/BUGS b/apache-fop/src/test/resources/docbook-xsl/BUGS new file mode 100644 index 0000000000..b3c78679d0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/BUGS @@ -0,0 +1,21 @@ +To view a list of all open DocBook Project XSL stylesheet bugs: + + http://docbook.sf.net/tracker/xsl/bugs + +To submit a bug report against the stylesheets: + + http://docbook.sf.net/tracker/submit/bug + +To do a full-text search of all DocBook Project issues: + + http://docbook.sf.net/tracker/search + +Discussion about the DocBook Project XSL stylesheets takes place +on the docbook-apps mailing list: + + http://wiki.docbook.org/topic/DocBookAppsMailingList + +Real-time discussion takes place on IRC: + + http://wiki.docbook.org/topic/DocBookIrcChannel + irc://irc.freenode.net/docbook diff --git a/apache-fop/src/test/resources/docbook-xsl/COPYING b/apache-fop/src/test/resources/docbook-xsl/COPYING new file mode 100644 index 0000000000..0a82d60c1c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/COPYING @@ -0,0 +1,48 @@ +Copyright +--------- +Copyright (C) 1999-2007 Norman Walsh +Copyright (C) 2003 Jiří Kosek +Copyright (C) 2004-2007 Steve Ball +Copyright (C) 2005-2008 The DocBook Project +Copyright (C) 2011-2012 O'Reilly Media + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the ``Software''), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Except as contained in this notice, the names of individuals +credited with contribution to this software shall not be used in +advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization +from the individuals in question. + +Any stylesheet derived from this Software that is publically +distributed will be identified with a different name and the +version strings in any derived Software will be changed so that +no possibility of confusion between the derived package and this +Software will exist. + +Warranty +-------- +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER +CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Contacting the Author +--------------------- +The DocBook XSL stylesheets are maintained by Norman Walsh, +, and members of the DocBook Project, + diff --git a/apache-fop/src/test/resources/docbook-xsl/INSTALL b/apache-fop/src/test/resources/docbook-xsl/INSTALL new file mode 100644 index 0000000000..72cb82b64b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/INSTALL @@ -0,0 +1,88 @@ +$Id: INSTALL 6145 2006-08-06 13:13:03Z xmldoc $ + +INSTALL file for the DocBook XSL stylesheets distribution + +---------------------------------------------------------------------- +Case #1: Installation using a package management system +---------------------------------------------------------------------- +If you have installed the DocBook XSL distribution using "apt-get", +"yum", "urpmi", or some similar package-management front-end, +then, as part of the package installation, the stylesheets have +already been automatically installed in the appropriate location +for your system, and your XML catalog environment has probably +been updated to use that location. + +---------------------------------------------------------------------- +Case #2: Installing manually +---------------------------------------------------------------------- +If you have downloaded a docbook-xsl zip, tar.gz, or tar.bz2 +file, use the following steps to install it. + + 1. Move the zip, tar.gz, or tar.bz2 file to the directory where + you'd like to install it (not to a temporary directory). + + 2. unzip or untar/uncompress the file + + That will create a docbook-xsl-$VERSION directory (where + $VERSION is the version number for the release). + +The remaining steps are all OPTIONAL. They are intended to +automatically update your user environment with XML Catalog +information about the DocBook XSL distribution. You are NOT +REQUIRED to complete these remaining steps. However, if you do +not, and you want to use XML catalogs with the DocBook XSL +stylesheets, you will need to manually update your XML catalog +environment + + 3. Change to the docbook-xsl-$VERSION directory and execute the + install.sh script: + + ./install.sh + + That will launch an interactive installer, which will emit a + series of prompts for you to respond to. + + To instead run it non-interactively without being prompted + for confirmation of the changes it makes, invoke it with the + "--batch" switch, like this: + + ./install.sh --batch + + After the process is complete, the installer will emit a + message with a command you need to run in order to source + your environment for use with the stylesheets. + + 4. To test that he installation has updated your environment + correctly, execute the test.sh script: + + ./test.sh + + That will test your XML catalog environment, using both the + xmlcatalog application and the Apache XML Commons Resolver. + + NOTE: The test.sh file is not created until the install.sh + file is run for the first time. + + 5. (UNINSTALLING) If/when you want to uninstall the release, + execute the uninstall.sh script. + + ./uninstall.sh + + To instead run it non-interactively without being prompted + for confirmation of the changes it makes, invoke it with the + "--batch" switch, like this: + + ./uninstall.sh --batch + + NOTE: The uninstall.sh file is not created until the install.sh + file is run for the first time. + + +---------------------------------------------------------------------- +Note to packagers +---------------------------------------------------------------------- +The install.sh, .CatalogManager.properties.example, and .urilist +files should not be packaged. They are useful only to users who +are installing the stylesheets manually. + +The catalog.xml file should be packaged. diff --git a/apache-fop/src/test/resources/docbook-xsl/Makefile b/apache-fop/src/test/resources/docbook-xsl/Makefile new file mode 100644 index 0000000000..a87d60b657 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/Makefile @@ -0,0 +1,89 @@ +# $Id: Makefile.tests 8481 2009-07-13 20:18:41Z abdelazer $ +# +# This makefile does a "smoketest" of stylesheets for various +# output formats in the DocBook XSL Stylesheets release package. +# It doesn't actually check the output -- it's just useful for +# confirming whether each XSLT transformation actually executes +# successfully without any errors. +# +# To use it, run "make check" or just "make" + +XSLTPROC=xsltproc +XSLTPROC_FLAGS= + +TESTFILE=tests/refentry.007.xml +TESTFILE_NS=tests/refentry.007.ns.xml + +NORMAL_STYLES=fo/docbook.xsl html/docbook.xsl xhtml/docbook.xsl +NORMAL_PROFILE_STYLES=fo/profile-docbook.xsl html/profile-docbook.xsl xhtml/profile-docbook.xsl +CHUNK_STYLES=html/chunk.xsl html/onechunk.xsl xhtml/chunk.xsl xhtml/onechunk.xsl +HELP_STYLES=htmlhelp/htmlhelp.xsl javahelp/javahelp.xsl eclipse/eclipse.xsl +MULTIFILE_STYLES=$(CHUNK_STYLES) $(HELP_STYLES) +CHUNK_PROFILE_STYLES=html/profile-chunk.xsl html/profile-onechunk.xsl xhtml/profile-chunk.xsl xhtml/profile-onechunk.xsl +HELP_PROFILE_STYLES=htmlhelp/profile-htmlhelp.xsl eclipse/profile-eclipse.xsl javahelp/profile-javahelp.xsl +MULTIFILE_PROFILE_STYLES=$(CHUNK_PROFILE_STYLES) $(HELP_PROFILE_STYLES) + +MAN_STYLE=manpages/docbook.xsl +MAN_PROFILE_STYLE=manpages/profile-docbook.xsl + +TWO_PROFILE_STYLE=profiling/profile.xsl + +ROUNDTRIP_STYLES=roundtrip/dbk2ooo.xsl roundtrip/dbk2pages.xsl roundtrip/dbk2wordml.xsl +SLIDES_STYLES=slides/html/default.xsl slides/xhtml/default.xsl slides/fo/plain.xsl +WEBSITE_STYLES=website/website.xsl +WEBSITE_CHUNK_STYLES=website/chunk-website.xsl + +# chunked output gets written to TMP_OUTPUT_DIR +TMP_OUTPUT_DIR=/tmp/smoketest-output/ +# if you don't want TMP_OUTPUT_DIR and its contents deleted, unset +# SMOKETEST_CLEAN_TARGET; e.g. "make check SMOKETEST_CLEAN_TARGET=''" +SMOKETEST_CLEAN_TARGET=smoketest-clean + +check: smoketest-make-tmp-dir smoketest-normal smoketest-normal-profile smoketest-chunk smoketest-chunk-profile smoketest-man smoketest-man-profile smoketest-two-profile $(SMOKETEST_CLEAN_TARGET) + +smoketest-make-tmp-dir: + $(RM) -r $(TMP_OUTPUT_DIR) + mkdir '$(TMP_OUTPUT_DIR)' + +smoketest-normal: + for stylesheet in $(NORMAL_STYLES); do \ + echo "$(XSLT) $(TESTFILE) $$stylesheet > /dev/null"; \ + $(XSLT) $(TESTFILE) $$stylesheet > /dev/null; \ + echo "$(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null"; \ + $(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null; \ + done + +smoketest-normal-profile: + for stylesheet in $(NORMAL_PROFILE_STYLES); do \ + echo "$(XSLT) $(TESTFILE) $$stylesheet > /dev/null"; \ + $(XSLT) $(TESTFILE) $$stylesheet > /dev/null; \ + echo "$(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null"; \ + $(XSLT) $(TESTFILE_NS) $$stylesheet > /dev/null; \ + done + +smoketest-chunk: + for stylesheet in $(MULTIFILE_STYLES) ; do \ + $(XSLT) $(TESTFILE) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ + $(XSLT) $(TESTFILE_NS) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ + done; + +smoketest-chunk-profile: + for stylesheet in $(MULTIFILE_PROFILE_STYLES) ; do \ + $(XSLT) $(TESTFILE) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ + $(XSLT) $(TESTFILE_NS) $$stylesheet manifest.in.base.dir=1 base.dir=$(TMP_OUTPUT_DIR) ; \ + done; + +smoketest-man: + $(XSLT) $(TESTFILE) $(MAN_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; \ + $(XSLT) $(TESTFILE_NS) $(MAN_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; + +smoketest-man-profile: + $(XSLT) $(TESTFILE) $(MAN_PROFILE_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; \ + $(XSLT) $(TESTFILE_NS) $(MAN_PROFILE_STYLE) man.output.in.separate.dir=1 man.output.base.dir=$(TMP_OUTPUT_DIR) ; + +smoketest-two-profile: + $(XSLT) $(TESTFILE_NS) $(TWO_PROFILE_STYLE) > /dev/null ; + +smoketest-clean: + $(RM) -r $(TMP_OUTPUT_DIR) + diff --git a/apache-fop/src/test/resources/docbook-xsl/NEWS b/apache-fop/src/test/resources/docbook-xsl/NEWS new file mode 100644 index 0000000000..960bc8cc98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/NEWS @@ -0,0 +1,176 @@ +Changes since the 1.78.0 release + +Note: This document lists changes only since the 1.78.0 release. If you instead +want a record of the complete list of changes for the codebase over its entire +history, you can obtain one by running the following commands: + + svn checkout https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl + svn log --xml --verbose xsl > ChangeHistory.xml + +â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â” + +Table of Contents + +Release Notes: 1.78.1 + + Common + FO + HTML + Manpages + Webhelp + Params + Highlighting + +Release Notes: 1.78.1 + +The following is a list of changes that have been made since the 1.78.0 +release. + +Common + +The following changes have been made to the common code since the 1.78.0 +release. + + • Robert Stayton: titles.xsl + + Make sure part and set titleabbrev are used in mode="titleabbrev.markup" + + • Robert Stayton: titles.xsl + + Add empty default template for titleabbrev since it is always processed in a mode. + + • Robert Stayton: gentext.xsl + + Make consistent handling of titleabbrev in xrefs. + + • Robert Stayton: titles.xsl + + for missing title in xref, provide parent information of target to help locate problem element. + Process bridgehead in mode="title.markup", not normal mode. + + • Jirka Kosek: l10n.xsl + + Fixed bug #3598963 + + • Robert Stayton: gentext.xsl; labels.xsl + + Make sure bridgeheads are not numbered in all contexts, including html title attributes. + +FO + +The following changes have been made to the fo code since the 1.78.0 release. + + • Robert Stayton: division.xsl + + Fix bug where part TOC not generated when partintro is present. + + • Jirka Kosek: xref.xsl + + Footnotes can't be placed into fo:float + + • Robert Stayton: titlepage.templates.xml + + Remove margin-left when start-indent is used because they interfere + with each other. + + • Robert Stayton: fo.xsl; pagesetup.xsl + + Use dingbat.fontset rather than dingbat.font.family so it falls + back to symbol font if glyph not found, like other font properties. + + • Robert Stayton: inline.xsl + + Change last instance of inline.charseq in inline glossterm to + inline.italicseq so it is consistent with the others. + + • Robert Stayton: xref.xsl + + Make consistent handling of titleabbrev in xrefs. + +HTML + +The following changes have been made to the html code since the 1.78.0 release. + + • Robert Stayton: admon.xsl + + Turn off $admon.style if $make.clean.html is set to non-zero. + + • Jirka Kosek: highlight.xsl + + Added new definitions for syntax highlighting + + • Robert Stayton: chunk-common.xsl + + Make active.olink.hrefs param work for chunked output too. + + • Robert Stayton: xref.xsl + + Make consistent handling of titleabbrev in xrefs. + + • Robert Stayton: graphics.xsl + + Add round() function when pixel counts are used for image width and height. + + • Robert Stayton: glossary.xsl + + fix missing class and id attributes on glossterm and glossdef. + + • Robert Stayton: autoidx.xsl + + Fix bug where prefer.index.titleabbrev ignored info/titleabbrev. + +Manpages + +The following changes have been made to the manpages code since the 1.78.0 +release. + + • Robert Stayton: utility.xsl + + Fix bug 3599520: spurious newline in para when starts with + whitespace and inline element. + +Webhelp + +The following changes have been made to the webhelp code since the 1.78.0 +release. + + • David Cramer: xsl/webhelp-common.xsl + + Webhelp: Fix test for webhelp.include.search.tab param + + • David Cramer: Makefile.sample + + Webhelp: Fix order of args to xsltproc + + • David Cramer: docsrc/readme.xml + + Webhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality + + • David Cramer: Makefile; Makefile.sample + + Webhelp: In Makefiles, do xinclude in first pass at document + +Params + +The following changes have been made to the params code since the 1.78.0 +release. + + • David Cramer: webhelp.include.search.tab.xml + + Webhelp: Fix test for webhelp.include.search.tab param + + • Robert Stayton: article.appendix.title.properties.xml + + Remove unneeded margin-left property from article appendix title. + It interferes with the start-indent property. + +Highlighting + +The following changes have been made to the highlighting code since the 1.78.0 +release. + + • Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; + bourne-hl.xml; ⋯ + + Added new definitions for syntax highlighting + diff --git a/apache-fop/src/test/resources/docbook-xsl/NEWS.html b/apache-fop/src/test/resources/docbook-xsl/NEWS.html new file mode 100644 index 0000000000..8cac5d6a0e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/NEWS.html @@ -0,0 +1,30 @@ +Changes since the 1.78.0 release

    Changes since the 1.78.0 release

    Note: This + document lists changes only since the 1.78.0 release. + If you instead want a record of the complete list of + changes for the codebase over its entire history, you + can obtain one by running the following commands: + +

      svn checkout https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl
    +  svn log --xml --verbose xsl > ChangeHistory.xml

    Release Notes: 1.78.1

    The following is a list of changes that have been made + since the 1.78.0 release.

    Common

    The following changes have been made to the + common code + since the 1.78.0 release.

    • Robert Stayton: titles.xsl

      Make sure part and set titleabbrev are used in mode="titleabbrev.markup"
    • Robert Stayton: titles.xsl

      Add empty default template for titleabbrev since it is always processed in a mode.
    • Robert Stayton: gentext.xsl

      Make consistent handling of titleabbrev in xrefs.
    • Robert Stayton: titles.xsl

      for missing title in xref, provide parent information of target to help locate problem element.
      +Process bridgehead in mode="title.markup", not normal mode.
    • Jirka Kosek: l10n.xsl

      Fixed bug #3598963
    • Robert Stayton: gentext.xsl; labels.xsl

      Make sure bridgeheads are not numbered in all contexts, including html title attributes.

    FO

    The following changes have been made to the + fo code + since the 1.78.0 release.

    • Robert Stayton: division.xsl

      Fix bug where part TOC not generated when partintro is present.
    • Jirka Kosek: xref.xsl

      Footnotes can't be placed into fo:float
    • Robert Stayton: titlepage.templates.xml

      Remove margin-left when start-indent is used because they interfere
      +with each other.
    • Robert Stayton: fo.xsl; pagesetup.xsl

      Use dingbat.fontset rather than dingbat.font.family so it falls
      +back to symbol font if glyph not found, like other font properties.
    • Robert Stayton: inline.xsl

      Change last instance of inline.charseq in inline glossterm to 
      +inline.italicseq so it is consistent with the others.
    • Robert Stayton: xref.xsl

      Make consistent handling of titleabbrev in xrefs.

    HTML

    The following changes have been made to the + html code + since the 1.78.0 release.

    • Robert Stayton: admon.xsl

      Turn off $admon.style if $make.clean.html is set to non-zero.
    • Jirka Kosek: highlight.xsl

      Added new definitions for syntax highlighting
    • Robert Stayton: chunk-common.xsl

      Make active.olink.hrefs param work for chunked output too.
    • Robert Stayton: xref.xsl

      Make consistent handling of titleabbrev in xrefs.
    • Robert Stayton: graphics.xsl

      Add round() function when pixel counts are used for image width and height.
    • Robert Stayton: glossary.xsl

      fix missing class and id attributes on glossterm and glossdef.
    • Robert Stayton: autoidx.xsl

      Fix bug where prefer.index.titleabbrev ignored info/titleabbrev.

    Manpages

    The following changes have been made to the + manpages code + since the 1.78.0 release.

    • Robert Stayton: utility.xsl

      Fix bug 3599520: spurious newline in para when starts with
      +whitespace and inline element.

    Webhelp

    The following changes have been made to the + webhelp code + since the 1.78.0 release.

    • David Cramer: xsl/webhelp-common.xsl

      Webhelp: Fix test for webhelp.include.search.tab param
    • David Cramer: Makefile.sample

      Webhelp: Fix order of args to xsltproc
    • David Cramer: docsrc/readme.xml

      Webhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality
    • David Cramer: Makefile; Makefile.sample

      Webhelp: In Makefiles, do xinclude in first pass at document

    Params

    The following changes have been made to the + params code + since the 1.78.0 release.

    • David Cramer: webhelp.include.search.tab.xml

      Webhelp: Fix test for webhelp.include.search.tab param
    • Robert Stayton: article.appendix.title.properties.xml

      Remove unneeded margin-left property from article appendix title.
      +It interferes with the start-indent property.

    Highlighting

    The following changes have been made to the + highlighting code + since the 1.78.0 release.

    • Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯

      Added new definitions for syntax highlighting
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/NEWS.xml b/apache-fop/src/test/resources/docbook-xsl/NEWS.xml new file mode 100644 index 0000000000..1d8f5c0ae4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/NEWS.xml @@ -0,0 +1,174 @@ + + +
    + + +Note: This + document lists changes only since the 1.78.0 release. + If you instead want a record of the complete list of + changes for the codebase over its entire history, you + can obtain one by running the following commands: + + svn checkout https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl + svn log --xml --verbose xsl > ChangeHistory.xml + +Changes since the 1.78.0 release + + +Release Notes: 1.78.1 +The following is a list of changes that have been made + since the 1.78.0 release. + + +Common +The following changes have been made to the + common code + since the 1.78.0 release. + + +Robert Stayton: titles.xslMake sure part and set titleabbrev are used in mode="titleabbrev.markup" + + +Robert Stayton: titles.xslAdd empty default template for titleabbrev since it is always processed in a mode. + + +Robert Stayton: gentext.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: titles.xslfor missing title in xref, provide parent information of target to help locate problem element. +Process bridgehead in mode="title.markup", not normal mode. + + +Jirka Kosek: l10n.xslFixed bug #3598963 + + +Robert Stayton: gentext.xsl; labels.xslMake sure bridgeheads are not numbered in all contexts, including html title attributes. + + + + + +FO +The following changes have been made to the + fo code + since the 1.78.0 release. + + +Robert Stayton: division.xslFix bug where part TOC not generated when partintro is present. + + +Jirka Kosek: xref.xslFootnotes can't be placed into fo:float + + +Robert Stayton: titlepage.templates.xmlRemove margin-left when start-indent is used because they interfere +with each other. + + +Robert Stayton: fo.xsl; pagesetup.xslUse dingbat.fontset rather than dingbat.font.family so it falls +back to symbol font if glyph not found, like other font properties. + + +Robert Stayton: inline.xslChange last instance of inline.charseq in inline glossterm to +inline.italicseq so it is consistent with the others. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + + + + +HTML +The following changes have been made to the + html code + since the 1.78.0 release. + + +Robert Stayton: admon.xslTurn off $admon.style if $make.clean.html is set to non-zero. + + +Jirka Kosek: highlight.xslAdded new definitions for syntax highlighting + + +Robert Stayton: chunk-common.xslMake active.olink.hrefs param work for chunked output too. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: graphics.xslAdd round() function when pixel counts are used for image width and height. + + +Robert Stayton: glossary.xslfix missing class and id attributes on glossterm and glossdef. + + +Robert Stayton: autoidx.xslFix bug where prefer.index.titleabbrev ignored info/titleabbrev. + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.78.0 release. + + +Robert Stayton: utility.xslFix bug 3599520: spurious newline in para when starts with +whitespace and inline element. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.78.0 release. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix test for webhelp.include.search.tab param + + +David Cramer: Makefile.sampleWebhelp: Fix order of args to xsltproc + + +David Cramer: docsrc/readme.xmlWebhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality + + +David Cramer: Makefile; Makefile.sampleWebhelp: In Makefiles, do xinclude in first pass at document + + + + + +Params +The following changes have been made to the + params code + since the 1.78.0 release. + + +David Cramer: webhelp.include.search.tab.xmlWebhelp: Fix test for webhelp.include.search.tab param + + +Robert Stayton: article.appendix.title.properties.xmlRemove unneeded margin-left property from article appendix title. +It interferes with the start-indent property. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.78.0 release. + + +Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯Added new definitions for syntax highlighting + + + + + +
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/README b/apache-fop/src/test/resources/docbook-xsl/README new file mode 100644 index 0000000000..bb0a512b62 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/README @@ -0,0 +1,175 @@ +---------------------------------------------------------------------- + README file for the DocBook XSL Stylesheets +---------------------------------------------------------------------- +$Id: README 9731 2013-03-17 05:01:54Z bobstayton $ + +These are XSL stylesheets for transforming DocBook XML document +instances into various output formats. + +This README file provides only very minimal documentation on using +the stylesheets. For more complete information, see Bob Stayton's +book "DocBook XSL: The Complete Guide", available online at: + + http://www.sagehill.net/docbookxsl/ + +---------------------------------------------------------------------- +Installation +---------------------------------------------------------------------- +See the INSTALL file for information about installing this release. + +---------------------------------------------------------------------- +How to use the stylesheets +---------------------------------------------------------------------- +The base canonical URI for these stylesheets is: + + http://docbook.sourceforge.net/release/xsl/current/ + +You call any of the stylesheets in this distribution by doing one +of the following: + + - Use the base canonical URI in combination with one of the + pathnames below. For example, for "chunked" HTML, output: + + http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl + + If your system has a working XML Catalog or SGML Catalog setup + (most Linux systems do), then that URI will automatically be + resolved and replaced with a local pathname on your system. + + - Use a "real" local system base path in combination with one of + the pathnames below. For example, for "chunked" HTML, output: + + /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl + +To transform documents created with the standard DocBook +schema/DTD, use one of the following stylesheets: + + fo/docbook.xsl - for XSL-FO + + html/docbook.xsl - for HTML (as a single file) + html/chunk.xsl - for HTML (chunked into multiple files) + html/onechunk.xsl - for HTML (chunked output in single file) + + xhtml/*.xsl - for XHTML versions of the above + + xhtml-1_1/*.xsl - for XHTML 1.1 versions of the above + + xhtml5/*.xsl - for XHTML5 versions of the above + + epub/docbook.xsl - for .epub version 2 and earlier + epub3/docbook.xsl - for .epub version 3 and later + + htmlhelp/htmlhelp.xsl - for HTML Help + javahelp/javahelp.xsl - for JavaHelp + eclipse/eclipse.xsl - for Eclipse Help + + manpages/docbook.xsl - for groff/nroff man pages + + */profile-* - single-pass-profiling versions of all above + + roundtrip/*.xsl - for DocBook to WordML, etc., to DocBook + + assembly/assemble.xsl - converts an assembly into a DocBook document + assembly/topic-maker-chunk.xsl + - converts a DocBook document into an assembly + with topic files. + + webhelp/build.xml - Ant script to generate webhelp output. + webhelp/Makefile - Makefile to generate webhelp output. + +To transform documents created with the DocBook Slides schema/DTD, +use one of the following stylesheets: + + slides/xhtml/*.xsl - for XHTML slides of various kinds + slides/fo/plain.xsl - for XSL-FO slides + +To transform documents created with the DocBook Website +schema/DTD, use one of the following stylesheets: + + website/website.xsl - for non-tabular, non-chunked output + website/tabular.xsl - for tabular, non-chunked output + website/chunk-* - for chunked output + +To generate a titlepage customization layer from a titlepage spec: + + template/titlepage.xsl + +For fo titlepage customizations, set the stylesheet parameter named 'ns' +to 'http://www.w3.org/1999/XSL/Format' when using this stylesheet. +For xhtml titlepage customizations, set the stylesheet parameter named 'ns' +to 'http://www.w3.org/1999/xhtml' when using this stylesheet. + +For details about creating titlepage spec files and generating and +using titlepage customization layers, see "DocBook XSL: The +Complete Guide" + +---------------------------------------------------------------------- +Manifest +---------------------------------------------------------------------- +AUTHORS contact information +BUGS about known problems +COPYING copyright information +INSTALL installation instructions +README this file +RELEASE.* per-release cumulative summaries of user-visible changes +TODO about planned features not yet implemented +VERSION release metadata, including the current version + number (note that the VERSION file is an XSL stylesheet) +NEWS changes since the last public release (for a cumulative list of + changes, see the ChangeHistory.xml file) + +assembly/ for making and processing DocBook assemblies. +common/ code used among several output formats (HTML, FO, manpages,...) +docsrc/ documentation sources +eclipse/ for producing Eclipse Help +epub/ for producing .epub version 2. +epub3/ for producing .epub version 3 and beyond. +extensions/ DocBook XSL Java extensions +fo/ for producing XSL-FO +highlighting files used for adding source-code syntax highlighting in output +html/ for producing HTML +htmlhelp/ for producing HTML Help +images/ images used in callouts and graphical admonitions +javahelp/ for producing Java Help +lib/ utility stylesheets with schema-independent functions +manpages/ for producing groff/troff man pages +profiling/ for profiling (omitting/including conditional text) +roundtrip/ for "round trip" conversion among DocBook and + various word-processor formats (WordML, etc.) +slides/ for producing slides output (from Slides source) +template/ templates for building stylesheet customization layers +tools/ assorted supplementary tools +webhelp/ templates and scripts for generating webhelp output +website/ for producing website output (from Website source) +xhtml/ for producing XHTML +xhtml-1_1/ for producing (stricter) XHTML 1.1 +xhtml5/ for producing XHTML5 + +---------------------------------------------------------------------- +Changes +---------------------------------------------------------------------- +See the NEWS file for changes made since the previous release. + +See the RELEASE-NOTES.html or RELEASE-NOTES.txt or RELEASE-NOTES.pdf +files for per-release cumulative summaries of significant +user-visible changes. + +For online access to a hyperlinked view of all changes made over +the entire history of the codebase, see the following: + + http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl/?view=log + +WARNING: That above change history is a very long list and may +take a long time to load/download. + +You can also create an XML-formatted "ChangeHistory.xml" copy of +the complete change history for the codebase by running the +following commands: + + svn checkout https://docbook.svn.sf.net/svnroot/docbook/trunk/xsl + svn log --xml --verbose xsl > ChangeHistory.xml + +---------------------------------------------------------------------- +Copyright information +---------------------------------------------------------------------- +See the accompanying file named COPYING. diff --git a/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES-TMP.xml b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES-TMP.xml new file mode 100644 index 0000000000..00bddff681 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES-TMP.xml @@ -0,0 +1,12170 @@ + +
    + + + Release Notes for the DocBook XSL Stylesheets + + $Revision: 9401 $ $Date: 2012-06-04 21:47:26 +0000 (Mon, 04 Jun 2012) $ + + +This release-notes + document is available in the following formats: + HTML, + PDF, + plain text; it provides a per-release list +of enhancements and changes to the stylesheets’ public APIs +(user-configurable parameters) and excludes descriptions of most +bug fixes. For a complete list of all changes (including all bug +fixes) that have been made since the previous release, see the +separate NEWS (plain text) or NEWS.html files. Also available: +An online hyperlinked change history (warning: big file) of all +changes made over the entire history of the codebase. +As with all DocBook Project dot-zero releases, this is an + experimental release. It will be followed shortly by a stable + release. +As with all DocBook Project “dot + one plus” releases, this release aspires to be stable (in + contrast to dot-zero releases, which + are experimental). +This is a pre-release “snapshot” of the +DocBook XSL Stylesheets. The change information in the first +section of this file +(for “Release Notes: 1.78.1”) is +auto-generated from change descriptions stored in the project +source-code repository. +That means the first section contains +descriptions both of bug fixes and of feature changes. The +remaining sections are manually edited changelog subsets that +exclude bug-fix descriptions – that is, trimmed down to just those +those descriptions that document enhancements and changes to the +public APIs (user-configurable parameters). + + + + + Release Notes: 1.78.1The following is a list of changes that have been made + since the 1.78.0 release. +Common +The following changes have been made to the + common code + since the 1.78.0 release. + + +Robert Stayton: titles.xslMake sure part and set titleabbrev are used in mode="titleabbrev.markup" + + +Robert Stayton: titles.xslAdd empty default template for titleabbrev since it is always processed in a mode. + + +Robert Stayton: gentext.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: titles.xslfor missing title in xref, provide parent information of target to help locate problem element. +Process bridgehead in mode="title.markup", not normal mode. + + +Jirka Kosek: l10n.xslFixed bug #3598963 + + +Robert Stayton: gentext.xsl; labels.xslMake sure bridgeheads are not numbered in all contexts, including html title attributes. + + + +FO +The following changes have been made to the + fo code + since the 1.78.0 release. + + +Robert Stayton: division.xslFix bug where part TOC not generated when partintro is present. + + +Jirka Kosek: xref.xslFootnotes can't be placed into fo:float + + +Robert Stayton: titlepage.templates.xmlRemove margin-left when start-indent is used because they interfere +with each other. + + +Robert Stayton: fo.xsl; pagesetup.xslUse dingbat.fontset rather than dingbat.font.family so it falls +back to symbol font if glyph not found, like other font properties. + + +Robert Stayton: inline.xslChange last instance of inline.charseq in inline glossterm to +inline.italicseq so it is consistent with the others. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + + +HTML +The following changes have been made to the + html code + since the 1.78.0 release. + + +Robert Stayton: admon.xslTurn off $admon.style if $make.clean.html is set to non-zero. + + +Jirka Kosek: highlight.xslAdded new definitions for syntax highlighting + + +Robert Stayton: chunk-common.xslMake active.olink.hrefs param work for chunked output too. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: graphics.xslAdd round() function when pixel counts are used for image width and height. + + +Robert Stayton: glossary.xslfix missing class and id attributes on glossterm and glossdef. + + +Robert Stayton: autoidx.xslFix bug where prefer.index.titleabbrev ignored info/titleabbrev. + + + +Manpages +The following changes have been made to the + manpages code + since the 1.78.0 release. + + +Robert Stayton: utility.xslFix bug 3599520: spurious newline in para when starts with +whitespace and inline element. + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.78.0 release. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix test for webhelp.include.search.tab param + + +David Cramer: Makefile.sampleWebhelp: Fix order of args to xsltproc + + +David Cramer: docsrc/readme.xmlWebhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality + + +David Cramer: Makefile; Makefile.sampleWebhelp: In Makefiles, do xinclude in first pass at document + + + +Params +The following changes have been made to the + params code + since the 1.78.0 release. + + +David Cramer: webhelp.include.search.tab.xmlWebhelp: Fix test for webhelp.include.search.tab param + + +Robert Stayton: article.appendix.title.properties.xmlRemove unneeded margin-left property from article appendix title. +It interferes with the start-indent property. + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.78.0 release. + + +Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯Added new definitions for syntax highlighting + + + + + + +Release Notes: 1.78.1 +The following is a list of changes that have been made + since the 1.78.0 release. + + +Common +The following changes have been made to the + common code + since the 1.78.0 release. + + +Robert Stayton: titles.xslMake sure part and set titleabbrev are used in mode="titleabbrev.markup" + + +Robert Stayton: titles.xslAdd empty default template for titleabbrev since it is always processed in a mode. + + +Robert Stayton: gentext.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: titles.xslfor missing title in xref, provide parent information of target to help locate problem element. +Process bridgehead in mode="title.markup", not normal mode. + + +Jirka Kosek: l10n.xslFixed bug #3598963 + + +Robert Stayton: gentext.xsl; labels.xslMake sure bridgeheads are not numbered in all contexts, including html title attributes. + + + + + +FO +The following changes have been made to the + fo code + since the 1.78.0 release. + + +Robert Stayton: division.xslFix bug where part TOC not generated when partintro is present. + + +Jirka Kosek: xref.xslFootnotes can't be placed into fo:float + + +Robert Stayton: titlepage.templates.xmlRemove margin-left when start-indent is used because they interfere +with each other. + + +Robert Stayton: fo.xsl; pagesetup.xslUse dingbat.fontset rather than dingbat.font.family so it falls +back to symbol font if glyph not found, like other font properties. + + +Robert Stayton: inline.xslChange last instance of inline.charseq in inline glossterm to +inline.italicseq so it is consistent with the others. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + + + + +HTML +The following changes have been made to the + html code + since the 1.78.0 release. + + +Robert Stayton: admon.xslTurn off $admon.style if $make.clean.html is set to non-zero. + + +Jirka Kosek: highlight.xslAdded new definitions for syntax highlighting + + +Robert Stayton: chunk-common.xslMake active.olink.hrefs param work for chunked output too. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: graphics.xslAdd round() function when pixel counts are used for image width and height. + + +Robert Stayton: glossary.xslfix missing class and id attributes on glossterm and glossdef. + + +Robert Stayton: autoidx.xslFix bug where prefer.index.titleabbrev ignored info/titleabbrev. + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.78.0 release. + + +Robert Stayton: utility.xslFix bug 3599520: spurious newline in para when starts with +whitespace and inline element. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.78.0 release. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix test for webhelp.include.search.tab param + + +David Cramer: Makefile.sampleWebhelp: Fix order of args to xsltproc + + +David Cramer: docsrc/readme.xmlWebhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality + + +David Cramer: Makefile; Makefile.sampleWebhelp: In Makefiles, do xinclude in first pass at document + + + + + +Params +The following changes have been made to the + params code + since the 1.78.0 release. + + +David Cramer: webhelp.include.search.tab.xmlWebhelp: Fix test for webhelp.include.search.tab param + + +Robert Stayton: article.appendix.title.properties.xmlRemove unneeded margin-left property from article appendix title. +It interferes with the start-indent property. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.78.0 release. + + +Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯Added new definitions for syntax highlighting + + + + + + +Release Notes: 1.78.0 +The following is a list of changes that have been made + since the 1.77.1 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.77.1 release. + + +Mauritz Jeanson: locale/nn.xml; locale/nb.xmlBug #3556630: Updated nb and nn locale files. + + +Mauritz Jeanson: locale/READMEBug #3556628: Updated information in README. + + +tom_schr: locale/de.xmlAdded keycap context from RFE#3540451 to support @function attribute + + +tom_schr: locale/en.xmlAdded keycap context from RFE#3540451 to support @function attribute + + +Robert Stayton: locale/en.xmlAdd support for title element in screenshot, now allowed in DocBook 5. + + + + + +Common +The following changes have been made to the + common code + since the 1.77.1 release. + + +Robert Stayton: titles.xslCorrected template for bridgehead in mode="title.markup" to +process its children in normal mode. + + +Robert Stayton: labels.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: olink.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: olink.xslAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + + + + +FO +The following changes have been made to the + fo code + since the 1.77.1 release. + + +Robert Stayton: pagesetup.xslChange initial page number for book from 1 to auto so front +cover and title pages are sequential, and so that book inside +set will continue numbering. + + +Robert Stayton: inline.xslAdd missing closing tag for xsl:choose in new template. + + +Robert Stayton: param.xweb; param.ent; pagesetup.xslAdd force.blank.pages parameter to allow turning off blank +pages in double.sided output. + + +Robert Stayton: lists.xsl; callout.xslImplement active links between co and callout elements for +PDF output, linking in both directions. + + +Robert Stayton: table.xslFix typo to replace "ro" with "row" in three places. + + +Robert Stayton: ebnf.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: inline.xslMake comma inserted after function/parameter or function/replaceable +conditional on $function.parens to be consistent with the function template. + + +tom_schr: inline.xslAdded new inline.sansseq template for consistency reasons. +Makes it easier for customization layers: Just use + <xsl:call-template name="inline.sansseq"/> +to change to sans serif font, but also takes into account +XLinks and direction of text. + + +Robert Stayton: xref.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: table.xslRemove passivetex.extensions code. + + +Robert Stayton: spaces.xsl; autotoc.xsl; docbook.xsl; division.xsl; table.xsl; sections.xs⋯Remove all passivetex code because it is obsolete. + + +Robert Stayton: param.xweb; param.entAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + +Mauritz Jeanson: table.xslAdded support for keep-together PI on informaltable. Closes bug #3555609. + + +tom_schr: verbatim.xslFixed subtle typo when calling lastLineNumber template: must be $listing instead of listing + + +tom_schr: autoidx.xslFixed typo: fole -> role attribute for phrase + + +tom_schr: inline.xslAdded support for @function attribute in keycap (uses keycap context +from language files) => fixes RFE#3540451 +If @function is set and keycap is empty, then template will use the +content from the keycap context, otherwise it will use just the given +text + + +Robert Stayton: graphics.xsl; xref.xslAdd support for title element in screenshot, now allowed in DocBook 5. + + +Robert Stayton: graphics.xslRestore formatting of figure/caption that was broken in 1.77.1. + + + + + +HTML +The following changes have been made to the + html code + since the 1.77.1 release. + + +David Cramer: autotoc.xslFixing bug where toc.title.p and nodes params had not been declared inside manual-toc template + + +Robert Stayton: autotoc.xslAdd 'toc.list.attributes' template to insert class and other +attributes on the top level list element in a table of contents. + + +Robert Stayton: block.xslFix bug 3590039 abstract/title not rendered. + + +Jirka Kosek: chunk-common.xsl; footnote.xslFixed positioning of footnote separate when CSS decoration is used. + + +Robert Stayton: ebnf.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: inline.xslMake comma inserted after function/parameter or function/replaceable +conditional on $function.parens to be consistent with the function template. + + +Robert Stayton: graphics.xslAdd support for mediaobject/alt, with precedence over +mediaobject/textobject/phrase. + + +Robert Stayton: param.xwebRemove src:fragref elements for deleted obsolete olink params. + + +Robert Stayton: chunker.xslFix bug #3563697 where template make-relative-filename was using a +global param chunk.base.dir instead of its local param base.dir. Now it uses base.dir. + + +Robert Stayton: param.xweb; param.ent; xref.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: param.xweb; param.entAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + +stefan: graphics.xslAdd hook for customization. + + +tom_schr: docbook.xslSplitting head.content into smaller chunks of templates. +See https://lists.oasis-open.org/archives/docbook-apps/201209/msg00037.html + + +tom_schr: verbatim.xslFixed subtle typo when calling lastLineNumber template: must be $listing instead of listing + + +Robert Stayton: footnote.xslFix bug in footnote link introduced in 1.77.1. + + +Robert Stayton: formal.xsl; htmltbl.xslResolve conflict of duplicate ids on html table with caption. +Wrap a div with class and id attribute around html table without caption. + + +Robert Stayton: component.xslRemove call to 'generate.id' template in <h1> in component.title because the +id is already generated for the parent div element. + + +Robert Stayton: chunker.xslSet omit-xml-declaration to 'yes' for write.text.chunk template, since a text +file should never have an xml declaration. + + +tom_schr: inline.xslAdded support for @function attribute in keycap (uses keycap context +from language files) => fixes RFE#3540451 +If @function is set and keycap is empty, then template will use the +content from the keycap context, otherwise it will use just the given +text + + +David Cramer: docbook.xslAlso set the title param in head.content since it's sometimes +called without that param being passed in. Use the passed-in +value in user.head.title. + + +Robert Stayton: docbook.xslRestore missing title param on 'head.content' template, and passed +it along to user.head.title. That param +is used for certain special chunkings such as Long Descriptions. + + +Robert Stayton: graphics.xsl; xref.xslAdd support for title in screenshot, available since DocBook 5. + + +David Cramer: docbook.xslHTML: Add hook for easily customizing html/head/title + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.77.1 release. + + +Robert Stayton: lists.xslAdd a line break at start of variablelist to fix bug #3595156. + + +Robert Stayton: lists.xslBetter fix for bug #3545150 by putting the title with the step number +rather than before it. + + +Robert Stayton: utility.xslAdd 'content' param to template name inline.monoseq to support +email format, fixing bug #3524417. + + +Robert Stayton: utility.xslFix bug #3512473 where an inline synopsis element produced +an extra line break in nroff output. + + +Robert Stayton: lists.xslFix bug 3545150 where procedure/step/title not rendered in man pages. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.77.1 release. + + +Robert Stayton: dbk2wordml.xslFix bug #3297553 error in Word metadata elements from including +WordML markup instead of just text. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.77.1 release. + + +gaborkovesdan: xhtml/plain.xsl- Use real push-style processing in the foil/foilgroup page content, which + allows better customization in general (e.g. you can add PI templates) + and also let us render scattered speakernotes/handoutnotes if that is + desired + + +gaborkovesdan: xhtml/Makefile- Titlepage markup belongs to the XHTML namespace + + +gaborkovesdan: xhtml/plain.xsl- Remove now unnecessary template redefinition + + +gaborkovesdan: xhtml/plain.xsl- Generate valid links from cross-references + + +gaborkovesdan: xhtml/plain.xsl- Do not add fallbacks for EXSLT extensions, the main DocBook XSL stylesheets + do not do that either + + +Robert Stayton: schema/relaxng/slides.rncUpdate the import path for docbook.rnc after the slides directory was moved. + + +stefan: xhtml/plain.xslAdd missing stylesheet. + + +stefan: schema/xsd/Makefile; schema/Makefile; schema/relaxng/MakefileAdjust Makefiles. + + +stefan: locatingrules.xml; RELEASE-NOTES.xml; doc; images; locatingrules.xml; Makefile; im⋯Moved many files from slides/ to xsl/slides/ + + +stefan: fo/param.xweb; xhtml/Makefile; xhtml/param.xweb; fo/MakefileSeparate slides package. + + +stefan: MakefileA bit of cleanup... + + +stefan: xhtml/Makefile; fo/MakefileAdd to 'clean' target. + + +David Cramer: MakefileSlides: Change html to xhtml passim. + + +David Cramer: xhtmlAdding items to svn ignore for slides + + +stefan: slidyImport slidy from vendor branch. + + +stefan: s5Import s5 from vendor branch. + + +stefan: Makefile; common/common.xsl; common; fo/param.ent; graphics; xhtml/Makefile.param;⋯Merge Slides GSoC project to trunk. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.77.1 release. + + +David Cramer: docsrc/readme.xmlWebhelp: More doc updates + + +David Cramer: docsrc/readme.xmlWebhelp: Documentation updates. + + +David Cramer: template/content; Makefile; Makefile.sample; build.xml; template/searchWebhelp: Improving sample Makefile to allow for profiling params and other params, removing content dir from template and making related adjustments in Makefile and build.xml + + +David Cramer: Makefile.sampleAttempting to include sample Makefile in webhelp output dir + + +David Cramer: template/common/css/positioning.cssWebhelp: Do not display sidebar if js is disabled in browser since it will not be functional + + +Jirka Kosek: build.xmlXerces must be on the classpath in order to XInclude work + + +David Cramer: MakefileAdding generated files to various clean targets. + + +David Cramer: build.propertiesWebhelp: By default don't validate against dtd when using ant build + + +David Cramer: MakefileWebhelp: By default only exclude ix01.html from search in Makefile + + +David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯Webhelp: Reverting last commit + + +David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯Webhelp: Removing two more unused jquery files + + +David Cramer: template/common/jquery/jquery-1.4.2.min.jsWebhelp: Removing old, unused jquery file + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix header logo link + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix bad link to favicon.ico + + +David Cramer: template/common/jquery/jquery-1.7.2.min.js; template/common/main.js; templat⋯First part of the GSoC 2012 work by Arun and Visitha: + +Visitha Baddegama +Remove content folder from Webhelp output +Build Webhelp using GNU Make/without ant +Support a parameterized list of files to exclude while indexing +Improve information message for browser with JavaScript disabled +Support searching for terms with punctuation like build.xml + +Arun Bharadwaj +Make it possible to include the doc title in head/title and + not in the search results +Improve performance in IE 8/9 +Expandable TOC pane +Information message for browser with JavaScript disabled + + +David Cramer: xsl/webhelp-common.xslUse user.head.title to add title to webhelp pages, +but do not yet add the book title to the page title. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Revert 9433. We need to fix the indexer before we can include the document title in the html/head/title + + +David Cramer: xsl/webhelp-common.xslWebhelp: Append document title to html/head/title + + +David Cramer: xsl/webhelp-common.xslWebhelp: fix missing reference to ie.css + + + + + +Params +The following changes have been made to the + params code + since the 1.77.1 release. + + +Robert Stayton: page.height.portrait.xml; page.width.portrait.xmlAdd USlegal and USlegallandscape. + + +Robert Stayton: force.blank.pages.xmlImprove the description. + + +Robert Stayton: page.margin.outer.xml; writing.mode.xml; double.sided.xml; page.margin.inn⋯Improve the description. + + +Robert Stayton: force.blank.pages.xmlNew param to control generating blank even-numbered pages. + + +Robert Stayton: passivetex.extensions.xmlIndicate that passivetex is no longer supported. + + +Robert Stayton: footnote.properties.xmlFix bug #3555628 where a footnote inside a blockquote inherits the end-indent from the blockquote. + + +stefan: foil.page-sequence.properties.xml; handoutnotes.properties.xml; slidy.duration.xml⋯Merge Slides GSoC project to trunk. + + +Robert Stayton: activate.external.olinks.xmlAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.77.1 release. + + +Robert Stayton: xsl2profile.xslTest for @xml:id as well as @id for $rootid. + + + + + +Tools +The following changes have been made to the + tools code + since the 1.77.1 release. + + +David Cramer: bin/docbook-xsl-updates/VERSION/VERSION.xsl/ again. + + +David Cramer: xsl/build/xsl-param-link.xsl; xsl/build/make-xsl-params.xslSlides: Change html to xhtml passim. + + + + + +Template +The following changes have been made to the + template code + since the 1.77.1 release. + + +Jirka Kosek: titlepage.xslAutoguess of proper parameter settings + + + + + + + +Release Notes: 1.77.1 +The following list summarizes the major changes that have been made + since the 1.76.1 release. It is followed by sections detailing changes to individual files +from the SVN checkin logs, edited to remove housekeeping changes and bug fixes. +See the NEWS.xml file for a complete unedited list of SVN changes. + + Gentext + + webhelp + + Many improvements to the generated text for webhelp output. + + + + Common + + Support more media types + + Expanded list of supported filename extensions for media to include video and audio, mostly for HTML5 and EPUB3 outputs. + + + + Topic element + + Add basic support for new topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic. + + + + + +FO + + Add para.properties attribute-set + + Add a para.properties attribute-set that applies only to para elements. That allows still using normal.para.spacing attribute-set for many block elements for uniform spacing, but allows separate formatting of para elements. + + + + List of titles in article + + Add support for List of Tables, List of Figures, etc. for articles and other component-level elements. Includes a new template for each in autotoc.xsl, new attribute-sets in titlepage.xsl, and new entries in the titlepage.templates.xml file tu support customization. + + + + Customizing links in FO + + Add template mode simple.xlink.properties to allow +easy customization of formatting of links generated +from elements that use +the xlink attributes. This extends link formatting beyond that of xref, link, and olink which use xref.properties attribute-set. + + + + Table caption + + The caption element in an HTML table is now handled like a title in a CALS table, using the formal.object.title template with all its features, including placement. Now caption template in mode="htmlTable" does nothing, because +caption handled by formal.object.title template. Also adds support for table caption element in a CALS table, placing it after the table. + + + + Graphics attribute handling + + Refactored the big process.image template to use individual templates such as image.width for most attributes to allow easier customization of individual properties. + + + + Side regions + + Add support for side page regions in addition to header and footer regions. This feature lets you add running content to the side margins, and by default the content is rotated 90 degrees. Adds new templates named running.side.content, region.inner and region.outer; new template modes region.inner.mode and region.outer.mode; new parameters named region.inner.extent, region.outer.extent, body.margin.inner, body.margin.outer, and side.region.precedence; and new attribute-sets named inner.region.content.properties, outer.region.content.properties, region.inner.properties, and region.outer.properties. + + + + Callout formatting + + Add new attribute-sets for calloutlist. + + + + Topic element + + Add basic support for formatting a topic element, which is available in DocBook 5.1. + + + + + HTML + + + HTML5 + + Add variables to the base HTML stylesheets that can be adjusted for the HTML5 stylesheets. + + + + Insert Javascript reference + + Add support for html.script param to insert reference to a Javascript file. + + + + Namespace for titlepage mechanism. + + Titlepage mechanism is now namespace aware to support XHTML. + + + + Chunked filename prefix + + New param named chunked.filename.prefix lets you add a filename prefix to each chunked file. This replaces the buggy practice of adding such a prefix to the base.dir param. Now the base.dir param will always have a trailing slash added if it is not present, so you no longer have to remember to add it to the param value. + + + + Generate id attributes + + The stylesheet param generate.id.attributes already existed but was incompletely implemented. Now when it is set to 1, only id attributes should be output, not <a name> named anchors. + + + + Generate consistent id attributes + + New generate.consistent.ids parameter which allows generating a more stable id values based on XPath rather than the generate-id() function, which may not produce consistent values between runs. Stable output ids allow you to make stable links to generated content from the outside. + + + + Topic element + + Add basic support for formatting a topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic. + + + + + + Webhelp + + + Webhelp refactored + + Webhelp templates refactored to better support customization. + + + + Added documentation. + + More and better documentation added. + + + + Webhelp generated text + + Many improvements to the generated text for webhelp output. + + + + + XHTML5 + New stylesheets to generate HTML5 output, in an XML serialization. These templates are a customization layer on top of the XHTML stylesheet files. + + + EPUB3 + New stylesheets to generate EPUB3 output. These templates are a customization layer on top of the xhtml5 stylesheet files. + + + Assembly + New assembly.xsl stylesheet to convert a DocBook 5.1 assembly into a standard DocBook 5 document. Also includes a topic-maker-chunk.xsl stylesheet that can convert a DocBook 5 book or article document into an assembly with a collection of modular files, including converting some elements to topic files. + + + +Gentext +The following changes have been made to the + gentext code + since the 1.76.1 release. + + +stefanhinz: locale/de.xmlTranslated German WebHelp strings + + +David Cramer: locale/zh.xml; locale/en.xml; locale/fr.xml; locale/de.xml; locale/ja.xmlWebhelp: Update non-en gentext strings + + +Robert Stayton: locale/en.xmlAdd topic to title-numbered context. + + +Robert Stayton: locale/en.xmlAdd basic topic element templates. + + +Mauritz Jeanson: locale/el.xmlUpdated gentext for quotation marks. Fixes bug #3512440. + + +Jirka Kosek: locale/cs.xmlAdding missing context for webhelp + + +David Cramer: locale/en.xmlFixing syntax of webhelp gentext entries + + +David Cramer: locale/en.xmlMoving webhelp gentext strings into a context + + +tom_schr: locale/zh.xml; locale/en.xml; locale/cs.xml; locale/fr.xml; locale/de.xml; local⋯Moved language specific of WebHelp to gentext/locale/ as discussed with +Stefan following the "minimal intrusive approach". :) +In the long run, maybe moving the text into a context, not sure. + + + +Jirka Kosek: locale/ru.xmlAligned capitalization of first letters with English original + + + + + +Common +The following changes have been made to the + common code + since the 1.76.1 release. + + +Robert Stayton: common.xslIn "select.mediaobject.index" template, add selection of videoobject +and audioobject since now supported in HTML5. + + +Robert Stayton: labels.xsl; titles.xsl; entities.ent; targets.xsl; subtitles.xsl; gentext.⋯Add basic support for new <topic> element. + + +Robert Stayton: common.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: olink.xslGenerate error message if olink data in targetset is in a namespace. + + +Robert Stayton: common.xslAdd support for generate.consistent.ids parameter. + + +Robert Stayton: subtitles.xslAdd verbose param to subtitle.markup templates to allow its +error message to be ignored. +Add that param to fop1.xsl application of subtitle.markup +to avoid unnecessary error message in document information. + + +Robert Stayton: labels.xslAdd empty templates for glossdiv, glosslist, and glossentry in +mode="label.markup". + + + + + +FO +The following changes have been made to the + fo code + since the 1.76.1 release. + + +Robert Stayton: graphics.xslqualify caption template to mediaobject/caption so not confused with table/caption. + + +Robert Stayton: table.xslAdd template to process table/caption element. + + +Robert Stayton: titlepage.xsl; autotoc.xsl; component.xsl; xref.xsl; titlepage.templates.x⋯Add basic support for new <topic> element. + + +Robert Stayton: graphics.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: titlepage.xslAdd default style att-sets for component.list.of.titles, etc. + + +Robert Stayton: autotoc.xsl; component.xsl; titlepage.templates.xmlAdd make.component.tocs to support lists of tables, etc. for +article and other components. Added component.list.of.tables to +titlepage.templates.xml to format the title. + + +Robert Stayton: param.xweb; param.entAdd new para.properties attribute-set for paragraphs. + + +Robert Stayton: inline.xslAdd template mode 'simple.xlink.properties' to allow +easy customization of formatting of links generated +from elements other than xref, link, and olink using +the xlink attributes. + + +Robert Stayton: param.xweb; param.entAdd table.caption.properties to format table captions. + + +Robert Stayton: table.xslAdd support for caption in a CALS table. + + +Robert Stayton: graphics.xsl; math.xslRefactored the 'process.image' template to create modular +templates for each attribute so they can be individually +customized. Also merged in support for embedded svg and +mml content so they can have image attributes too. + + +Robert Stayton: param.xweb; param.entCheck in new params for FO side regions in page masters. + + +Robert Stayton: titlepage.xsl; titlepage.templates.xmlAdd support for itermset in info elements, using titlepage mechanism +to ensure entries are placed inside page-sequence. + + +Robert Stayton: pagesetup.xslAdd support for side body margins and side static content regions. +Fixes bug 3389931. + + +Robert Stayton: param.xweb; param.ent; task.xslAdd attribute-set task.properties to task element to +support customization. + + +Robert Stayton: lists.xsl; param.xweb; param.entAdd new attribute-sets calloutlist.properties and callout.properties +to better support customization of calloutlists, fixing bug 3160341. + + +Jirka Kosek: MakefileTitlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty. + + +Robert Stayton: graphics.xslAllow selection by role for multiple imageobject elements +within an imageobjectco, which since Docbook 5 allows multiple imageobjects. + + +Mauritz Jeanson: titlepage.xslAdded template for collabname. Fixes bug #3414436. + + +David Cramer: verbatim.xslSupport the keep-together processing-instruction on programlisting, screen, synopsis, and literallayout. Tracker id #3396906. + + +Robert Stayton: pagesetup.xslPass the pageclass, sequence, and gentext-key to the template +named header.footer.widths to enable further customization +based on page master. + + +Jirka Kosek: xref.xslhyphenation of URL content must be disabled for link, not only for ulink because od DB5 + + +Jirka Kosek: xref.xslURLs shouldn't be hyphenated as normal text + + +Jirka Kosek: callout.xslAdded support for alternative circled numbers + + +Mauritz Jeanson: axf.xsl; fop1.xsl; xep.xslAdded support for author/orgname in document metadata. Closes bug #3132862. + + +Robert Stayton: component.xslAdd template for article/colophon to avoid nested page-sequence. + + + + + +HTML +The following changes have been made to the + html code + since the 1.76.1 release. + + +Robert Stayton: xref.xslAdd support for using info/title as well as title in target element. + + +Robert Stayton: component.xslEnable support for html5 features, including using <section> instead of +<div> for certain elements, and setting heading level to <h1> for chapters. +These features are not changed in the base html stylesheet for backwards +compatibility. + + +Robert Stayton: docbook.css.xmlAdd style for footnote rule. + + +Robert Stayton: biblio-iso690.xslAdd support for subtitle inside info. + + +Robert Stayton: docbook.xslAdd call to new 'root.attributes' placeholder template to allow +adding attributes to the <html> output element. + + +Robert Stayton: inline.xsl; titlepage.xsl; formal.xsl; division.xsl; toc.xsl; sections.xsl⋯Finish implementation of generate.id.attributes for all elements +using the template named id.attribute. + + +Robert Stayton: autotoc.xsl; chunktoc.xsl; titlepage.xsl; chunk-code.xsl; changebars.xsl; ⋯Add basic support for new <topic> element. + + +Robert Stayton: graphics.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: callout.xsl; verbatim.xslRestore programlisting to use <pre> instead of <div> and instead +wrap callout img elements in <span> to make valid HTML. + + +Robert Stayton: graphics.xslTurn off img longdesc attribute because not supported by browsers. + + +Robert Stayton: footnote.xslMove square brackets and <sup> inside <a> element for footnote +marks to fix display problems in some browsers. + + +Robert Stayton: param.xweb; param.entAdd new params html.script and html.script.type to support +Javascript references. + + +Robert Stayton: chunk-common.xsl; chunktoc.xsl; titlepage.xsl; chunker.xsl; chunk-code.xsl⋯Add support for chunked.filename.prefix param. +Make sure base.dir value has a trailing slash in +the chunk.base.dir internal param used by the templates. + + +Robert Stayton: formal.xsl; htmltbl.xslNow handles caption in html markup table like title, +so formal.object.title is used with all its features, including +formatting and placement. +Added htmlTable.with.caption template to handle the wrapper, and +left htmlTable template unchanged. +Now caption template in mode="htmlTable" does nothing, because +caption handled by formal.object.title template. + + +Robert Stayton: html.xslTurn off generating the title attribute for block and hierarchical elements. +Should only be used for inline elements, usually using the alt element. +Also used for links to show the target title. + + +Robert Stayton: lists.xslThe spacing="compact" attribute on lists in HTML no longer outputs compact="compact" +(or just "compact" in the case of Saxon 6), since that attribute is +deprecated and improperly supported. Instead, the output uses a +multiple class attribute such as class="orderedlist compact". +Use CSS to style such lists without margin above. + + +Robert Stayton: graphics.xslAllow selection by role for multiple imageobject elements +within an imageobjectco, which since Docbook 5 allows multiple imageobjects. + + +Robert Stayton: pi.xslImprove doc descriptions of dbhtml filename and dir. + + +Robert Stayton: autoidx.xslAdd setindex to context param in mode="reference" to better +support setindex. + + +Robert Stayton: autotoc.xslSupport set as child of set in set.toc template. + + +Robert Stayton: qandaset.xslChange question and title templates to replace hard-coded +class="local-name()" with mode="class.attribute" to support customization +of class values. + + +Norman Walsh: chunktoc.xslSeparate book appendixes from article appendixes (so that they can be customized independently) + + +Mauritz Jeanson: graphics.xslAdded condition to prevent "Failed to interpret image" messages (SVG is not supported +by the graphic size extension). + + + + + + +Epub +The following changes have been made to the + epub code + since the 1.76.1 release. + + +Robert Stayton: docbook.xslReplace $base.dir with $chunk.base.dir to ensure trailing slash in place. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.76.1 release. + + +Robert Stayton: htmlhelp-common.xslChange $base.dir to $chunk.base.dir to ensure trailing slash in place. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.76.1 release. + + +Robert Stayton: eclipse.xsl; eclipse3.xslUse $chunk.base.dir instead of $base.dir to ensure trailing slash is in place. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.76.1 release. + + +Robert Stayton: javahelp.xslChange $base.dir to $chunk.base.dir to ensure trailing slash is present. + + +Mauritz Jeanson: javahelp.xslReplaced empty header.navigation and footer.navigation templates with parameter suppress.navigation=1, +which simplifies customization. See bug #3310904. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.76.1 release. + + +David Cramer: template/common/css/positioning.cssWebhelp: Adding print-only css rules + + +David Cramer: template/common/main.jsWebhelp: Arun's fix for bug where heading was partially hidden by header in some situations. + + +David Cramer: xsl/webhelp-common.xslWebhelp: turn off autolabeling by default + + +David Cramer: xsl/webhelp.xslWebhelp: Import xhtml base stylesheets + + +David Cramer: docsrc/readme.xmlWebhelp: Link to the DocBook reference docs from the webhelp readme + + +David Cramer: xsl/webhelp-common.xslWebhelp: Use gentext value for noscript warning + + +David Cramer: MakefileWebhelp: Delete tempfile after DocBook xsl build + + +David Cramer: xsl/webhelp.xslWebhelp: moving parameters into the standard location so they will be part of the parameter reference + + +David Cramer: xsl/webhelp.xsl; xsl/webhelp-common.xslWebhelp: moving parameters into the standard location so they will be part of the parameter reference + + +David Cramer: template/common/main.jsWebhelp: tweaking scrolldown offset for anchors + + +David Cramer: docsrc/images; docsrc/images/sample.jpg; docsrc/readme.xml; template/content⋯Webhelp: updating docs. Ant version, install instructions, handling of images. + + +David Cramer: xsl/webhelp.xslPatch from Arun Bharadwaj to display message if JavaScript is disabled + + +David Cramer: template/content/search/nwSearchFnt.jsPatch from Arun Bharadwaj to strip quotes from search query strings + + +Robert Stayton: xsl/webhelp.xslAdd basic support for new <topic> element. + + +Jirka Kosek: xsl/webhelp.xslPut back old extensibility point. + +Guys, please don't remove existing extensibility points like named templates, it will break existing customizations. + + +David Cramer: xsl/webhelp.xslMoving webhelp gentext strings into a context + + +tom_schr: param.entDisabled branding and brandname entities for the time being + + +tom_schr: param.xweb; param.entPrepared WebHelp reference documentation :) +Not clear about parameters brandname and branding: Should they renamed +to "webhelp.branding" and "webhelp.brandname"? +Currently, docsrc/reference.xml contains only a comment for the WebHelp +ref doc to be non-intrusive. +Idea is to enable it when it is ready + + +tom_schr: xsl/webhelp.xslMoved language specific of WebHelp to gentext/locale/ as discussed with +Stefan following the "minimal intrusive approach". :) +In the long run, maybe moving the text into a context, not sure. + + +David Cramer: template/common/css/positioning.cssWebhelp: Lower the minimum width of content pane + + +kasunbg: xsl/webhelp.xsl; template/common/main.jsIf an user moved to another page by clicking on a toc link, and then clicked on #searchDiv, +search should be performed if the cookie textToSearch is not empty. + + +David Cramer: xsl/webhelp.xslWebhelp: Left align titles in nav header. Display for all but the topmost page + + +David Cramer: template/content/search/stemmers/en_stemmer.js; docsrc/xinclude-test.xmlWebhelp: Cleanup related to en_stemmer.js changes + + +David Cramer: template/common/css/positioning.cssWebhelp: Don't put borders around qandaset list + + +David Cramer: template/common/main.jsWebhelp: Avoid unnecessary scroll ups when anchor is clicked on + + +David Cramer: build.propertiesWebhelp: Show footer nav by default + + +David Cramer: build.properties; build.xmlWebhelp: Support setting suppress.footer.navigation from build.properties + + +David Cramer: build.properties; build.xmlWebhelp: Support admon.graphics param in build.properties + + +David Cramer: docsrc/xinclude-test.xml; docsrc/readme.xmlWebhelp: Adding xinclude example to the demo/readme doc + + +David Cramer: template/common/css/positioning.cssWebhelp: Remove border around table used to format callout list + + +David Cramer: xsl/webhelp.xsl; template/common/images/admon/tip.png; template/common/image⋯Webhelp: Support admon graphics (still off by default) + + +David Cramer: xsl/webhelp.xsl; template/common/css/positioning.cssWebhelp: Turn on navfooter and fix related css + + +David Cramer: xsl/webhelp.xslWebhelp: Fix error about undeclared doc.title param + + +David Cramer: docsrc/readme.xmlWebhelp: Adding some test search terms to the readme + + +David Cramer: template/content/search/stemmers/en_stemmer.jsHandle exceptional cases listed in the Porter 2 stemming algo + + +David Cramer: template/content/search/stemmers/en_stemmer.jsWebhelp: adding special case word 'say' to en js stemmer + + +David Cramer: template/content/search/stemmers/en_stemmer.jsWebhelp: Refine stemming of terms that end in (only stem if there's a consonant before the -y) + + +David Cramer: template/content/search/stemmers/en_stemmer.js; template/content/search/nwSe⋯Webhelp: fixed bug where words like key, day, and nucleus, were not found due to differences in the way the client stemmer and indexer stemmed words + + +David Cramer: build.xmlWebhelp: Support xinclude and two-pass profiling in build.xml + + +David Cramer: xsl/webhelp.xslFix bad link to default topic. + + +kasunbg: docsrc/readme.xmlAutomatically limit the size of the search description to something 140 characters + + +kasunbg: xsl/webhelp.xslremoving outline in 'contents' and 'search' buttons that is visible when clicked. tabindex for SIDEBAR button. + + +kasunbg: xsl/webhelp.xsl; build.xmlWebhelp ant script changes - HTML transformation support for WebHelp - Uses Tagsoup for parsing the bad html. +tagsoup-1.2.1.jar is added to trunk/xsl-webhelpindexer/lib/ + + +kasunbg: xsl/webhelp.xslproper support for saxon xhtml transformation. + + +kasunbg: template/common/images/callouts/10.png; template/common/images/callouts/11.png; t⋯webhelp - adding callouts + + +kasunbg: xsl/webhelp.xsl; template/common/main.js; template/common/css/positioning.csswebhelp - animations for show/hide Sidebar + + +kasunbg: build.propertiescommenting about brand and brandname + + +kasunbg: Makefileparameterized MAKE for webhelp + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; build.properties; build.xmlwebhelp xsl customization - logo + + +kasunbg: template/content/search/nwSearchFnt.jsremove some JS warninings + + +kasunbg: template/content/search/nwSearchFnt.jsFix for missing "No results found for..." bug + + +kasunbg: xsl/webhelp.xslcommented about the importance of the order of css contents. Order is important between the in-html-file css and the linked css files. Some css declarations in jquery-ui-1.8.2.custom.css are over-ridden. If that's a concern, just remove the additional css contents inside these default jquery css files. I thought of keeping them intact for easier maintenance. + + +Jirka Kosek: xsl/webhelp.xsl; template/common/css/positioning.cssMinor cleanup, added extensibility hook, some styling moved into CSS for easier customization + + +David Cramer: template/content/search/nwSearchFnt.jsRemoving onclick that came from Oxygen's dita stuff + + +kasunbg: docsrc/readme.xmlwebhelp - documenting about features + + +kasunbg: template/common/css/positioning.csswebhelp search text box + + +kasunbg: template/common/css/positioning.cssadding header background image + + +kasunbg: xsl/webhelp.xsl; template/common/images/header-bg.pngnew header background image + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.cssfix left navigation + + +kasunbg: template/common/css/positioning.csssome css + + +kasunbg: build.xmlAdding html.extension property + + +kasunbg: template/common/css/positioning.css; build.properties; build.xmlwebhelp - Adding enable.stemming, toc.file build properties + + +David Cramer: template/common/css/positioning.cssMake the webhelp banner slightly larger. + + +David Cramer: template/common/main.js; template/common/css/positioning.cssAdjust colors and positioning of header and search/toc tabs + + +David Cramer: xsl/webhelp.xslOnly put doc title in header + + +David Cramer: template/common/css/positioning.css; template/common/images/main_bg_fade.pngAdjusting default color of the header + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.cssadjustments to header title. Now output in Opera looks good. + + +kasunbg: template/common/images/sidebar.png; template/content/search/punctuation.props; te⋯deleting svn:executable flag from webhelp files + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; template/common/images/sear⋯Customized the left navagation headers; Contents and Search. +Adding custom css for the current redmond ui of jquery-ui. These override jquery-ui's default css customizations. These are supposed to take precedence. + + +kasunbg: docsrc/readme.xmltypo fix + + +kasunbg: template/common/images/next-arrow.png; xsl/webhelp.xsl; template/common/main.js; ⋯UI improvements. + Moved search highligher to search tab. + Added nice icons for navigation buttons etc. + Removed footer navigation + Corrected tree colorings + Overall, some css magic + + +David Cramer: docsrc/readme.xmlAdded listitem thinking SyncRO Soft for their contributions. + + +kasunbg: build.xmlsupport for default classpath for Gentoo Linux + + +kasunbg: docsrc/readme.xmlwebhelp - some updates to the documentation about search + + +kasunbg: template/common/css/positioning.cssFix for issue 'Keep "search" & "contents" titles always visible in webhelp - ID: 3403438' + + +David Cramer: template/common/images/starsSmall.pngChanged icons used to show search weightings from stars to boxes so they won't look like user ratings + + +David Cramer: xsl/webhelp.xsl; template/common/main.js; template/common/images/starsSmall.⋯Merged Oxygen webhelp improvements (search weightings etc) into trunk: -r9031:9039 + + +kasunbg: docsrc/readme.xmlwebhelp documentation - search indexing, faq + + +kasunbg: docsrc/readme.xmlupdate webhelp documentation + + +David Cramer: xsl/webhelp.xslFixed bug where webhelp.default.topic was not being used if it was set + + +David Cramer: xsl/webhelp.xsl; template/content/search/nwSearchFnt.jsLocalize string in nwSearchFnt.js file + + +David Cramer: xsl/webhelp.xslAdded tabindex attributes to make tab order in UI more logical in webhelp. + + +David Cramer: template/common/main.jsFixed bug where anchors in pages landed beneath the banner. + + +kasunbg: xsl/webhelp.xslAdded more comments to the xsl/webhelp/xsl/webhelp.xsl file. Removed some clutter. + + +David Cramer: template/common/main.jsFixed problem reported in IE 8. See tracker id # 373747. + + +David Cramer: xsl/webhelp.xslAddressed tracker #3247166 by removing hard-coded reference to ch01.html. + + +kasunbg: build.xmlChanged the webhelp build.xml to reflect the changes to xsl-webhelpindexer. +Added classpaths for xercesImpl and xml-api jars to the indexer. Paths added for *nix environments, need to look at how the current system behaves in Windows. Discussion: http://lists.oasis-open.org/archives/docbook-apps/201011/msg00116.html + + +kasunbg: template/common/images/loading.gif; template/common/jquery/treeview/jquery.treevi⋯webhelp: Removing some unnecessary JQuery JS files + + +kasunbg: template/common/main.jswebhelp: Usability improvement - when click on a node in the TOC tree, the child nodes will auto populate now. + + +kasunbg: xsl/webhelp.xslAdded google translated localizations for Japanese, German, French, and Chinese. The translations might not be pretty accurate. +Better translations are appreciated. + + +kasunbg: docsrc/readme.xml; template/content/images; template/content/images/sample.jpgAdded documentation for how to add images to WebHelp + + +Jirka Kosek: xsl/webhelp.xslAdded more customization hooks +Search code output only when search tab is active +Added cs localization + + +Jirka Kosek: xsl/webhelp.xslAdded parameter webhelp.common.dir for specifying location of common files (JS+CSS) +Added hooks for adding additional user defined tabs + + + + + +Params +The following changes have been made to the + params code + since the 1.76.1 release. + + +David Cramer: webhelp.indexer.language.xmlWebhelp: Fixing list of supported languages + + +David Cramer: webhelp.indexer.language.xmlWebhelp: Correct language code in docs for Chinese + + +Mauritz Jeanson: admon.graphics.extension.xmlAdded list of graphics formats. + + +Mauritz Jeanson: passivetex.extensions.xmlUpdated link. + + +tom_schr: webhelp.indexer.language.xml; webhelp.default.topic.xml; webhelp.tree.cookie.id.⋯Prepared WebHelp reference documentation :) +Not clear about parameters brandname and branding: Should they renamed +to "webhelp.branding" and "webhelp.brandname"? +Currently, docsrc/reference.xml contains only a comment for the WebHelp +ref doc to be non-intrusive. +Idea is to enable it when it is ready + + +Robert Stayton: glossary.collection.xmlAdd info about relative paths. + + +Robert Stayton: para.properties.xmlSpecial attribute-set for para only. + + +Robert Stayton: table.caption.properties.xmlTo format table captions. + + +Robert Stayton: html.script.type.xml; html.script.xmlAdd support for specifying javascript references like css references. + + +Robert Stayton: body.margin.outer.xml; region.outer.extent.xml; body.margin.inner.xml; reg⋯Add support for side regions in FO output. + + +Robert Stayton: chunked.filename.prefix.xmlNew param chunked.filename.prefix to separate any such prefix from +the base.dir param, which helps fix bug 3087359. + + +Robert Stayton: generate.consistent.ids.xmlNew param to support replacing generate-id() with xsl:number +for more consistent id values. + + +Robert Stayton: task.properties.xmlAllow task to be customized more easily. + + +Robert Stayton: calloutlist.properties.xml; callout.properties.xmlSupport better customization of callout lists. + + +Jirka Kosek: callout.unicode.start.character.xmlAdded support for alternative circled numbers + + +David Cramer: example.properties.xmlMade example.properties use keep-together='auto' like table.properies to avoid problems where example/programlisting takes more than one page + + +Mauritz Jeanson: graphicsize.extension.xmlAdded info about supported image formats. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.76.1 release. + + +Jirka Kosek: csharp-hl.xmlAdded LINQ keywords + + +Jirka Kosek: delphi-hl.xmlAdditional keywords from Yuri Zhilin + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.76.1 release. + + +David Cramer: profile-mode.xslWhen profile.* params only consist of space characters, then ignore them. + + + + + +Lib +The following changes have been made to the + lib code + since the 1.76.1 release. + + +Robert Stayton: lib.xwebAdded two utility templates to make lib.xsl work +without reference to other modules since it is used +that way with profiling/xsl2profile.xsl. + + +Robert Stayton: lib.xwebFix trim.common.uri.paths to first resolve any ../ in +the paths. + + + + + +Template +The following changes have been made to the + template code + since the 1.76.1 release. + + +Jirka Kosek: titlepage.xslTitlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty. + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.76.1 release. + + +kasunbg: Makefilewebhelp - Adding enable.stemming, toc.file build properties + + +David Cramer: MakefileAttempt to convince Makefile that webhelpindexer is dirty + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.76.1 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/Verbatim.java; src/com/nwalsh/saxon/FormatGraphicCal⋯Added fixes to ensure that generated XHTML markup for callouts is in the proper namespace. + + + + + + +Release Notes: 1.77.1 +The following is a list of changes that have been made + since the 1.77.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.77.0 release. + + +Robert Stayton: docbook.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + +Robert Stayton: block.xslIn sidebar, turn off space before first para if there is no title. + + +Robert Stayton: math.xslRestored templates for mml:* elements that were accidentally deleted. + + + + + +HTML +The following changes have been made to the + html code + since the 1.77.0 release. + + +Robert Stayton: docbook.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + +Robert Stayton: sections.xslUse $div.element variable in place of div to support html5 section element. +output + + +Robert Stayton: autoidx.xslFix bug 3528673, missing "separator" param on template with +match="indexterm" mode="reference". That param is passed +for endofrange processing to output the range separator. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.77.0 release. + + +Robert Stayton: dbk2ooo.xsl; dbk2pages.xsl; dbk2wordml.xsl; dbk2wp.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.77.0 release. + + +Robert Stayton: html/slides-common.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Website +The following changes have been made to the + website code + since the 1.77.0 release. + + +Robert Stayton: website-common.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.77.0 release. + + +kasunbg: docsrc/readme.xmlupdated webhelp documentation + + +kasunbg: template/content/search/nwSearchFnt.js; xsl/webhelp-common.xslRemoved the script htmlFileList.js since it's content is in htmlFileInfoList.js + + +Robert Stayton: xsl/webhelp-common.xslIn the <h1> output, replace call to 'get.doc.title' with +mode="title.markup" because get.doc.title returns only +the string value of the title, losing any markup such +as <trademark> or <superscript>. + + +kasunbg: template/common/css/positioning.css; template/content/search/nwSearchFnt.jsRemove unnecessary bits of code from webhelp + + +David Cramer: docsrc/readme.xmlWebhelp: Minor edits to the readme + + +David Cramer: xsl/webhelp.xsl; xsl/titlepage.templates.xsl; xsl/titlepage.templates.xmlWebhelp: Suppress abstracts from titlepages. These are used to create the search result summary sentence and should not be shown + + +David Cramer: build.xmlWebhelp: calculate path to profile.xsl from main build.xml file + + + + + + +Release Notes: 1.76.1 +The following is a list of changes that have been made + since the 1.76.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.76.0 release. + + +Robert Stayton: docbook.xsl; xref.xsl; fop1.xslApply patch to support named destination in fop1.xsl, per Sourceforge +bug report #3029845. + + + + + +HTML +The following changes have been made to the html code since the 1.76.0 release. + + +Keith Fahlgren: highlight.xslImplementing handling for <b> and <i>: transform to <strong> and <em> for XHTML outputs and do not use in the highliting output (per Mauritz Jeanson) + + + + + +Params +The following changes have been made to the + params code + since the 1.76.0 release. + + +Robert Stayton: draft.mode.xmlChange default for draft.mode to 'no'. + + + + + + + + Release Notes: 1.76.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +Webhelp +A new browser-based, cross-platform help format with full-text search and other features typically found in help systems. See webhelp/docs/content/ch01.html for more information and a demo. + + + + +Gentext +Many updates and additions to translation/locales thanks to Red Hat, the Fedora Project, and other contributors. + + +Common +Faster localization support, as language files are loaded on demand. + + + + FO + Support for SVG content in imagedata added. + + + HTML + Output improved when using 'make.clean.html' and a stock CSS file is now provided. + + +EPUB +A number of improvements to NCX, cover and image selection, and XHTML 1.1 element choices + + + + + The following is a list of changes that have been made since the 1.75.2 release. + + Gentext + The following changes have been made to the gentext code since the 1.75.2 release. + + + + rlandmann: locale/fa.xml + + + Update to Persian translation from the Fedora Project + + + + + rlandmann: locale/nds.xml + + + Locale for Low German + + + + + Mauritz Jeanson: locale/ka.xml; Makefile + + + Added support for Georgian based on patch #2917147. + + + + + rlandmann: locale/nl.xml; locale/ja.xml + + + Updated translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/bs.xml; locale/ru.xml; locale/hr.xml + + + Updated locales from Red Hat and the Fedora Project + + + + + rlandmann: locale/pt.xml; locale/cs.xml; locale/es.xml; locale/bg.xml; locale/nl.xml; loca⋯ + + + Updated translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/as.xml; locale/bn_IN.xml; locale/ast.xml; locale/ml.xml; locale/te.xml; ⋯ + + + New translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/pt.xml; locale/ca.xml; locale/da.xml; locale/sr.xml; locale/ru.xml; loca⋯ + + + Updated translations from Red Hat and the Fedora Project + + + + + + + Common + The following changes have been made to the common code since the 1.75.2 release. + + + + Mauritz Jeanson: common.xsl + + + Fixed bug in output-orderedlist-starting-number template (@startingnumber did not work for FO). + + + + + Mauritz Jeanson: gentext.xsl + + + Added fix to catch ID also of descendants of listitem. Closes bug #2955077. + + + + + Jirka Kosek: l10n.xsl + + + Stripped down, faster version of gentext.template is used when there is no localization customization. + + + + + Mauritz Jeanson: stripns.xsl + + + Added fix that preserves link/@role (makes links in the reference documentation +with @role="tcg" work). + + + + + Mauritz Jeanson: l10n.xsl + + + Fixed bugs related to manpages and L10n. + + + + + Jirka Kosek: entities.ent; autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Jirka Kosek: l10n.xsl; l10n.dtd; l10n.xml; autoidx-kosek.xsl + + + Refactored localization support. Language files are loaded on demand. Speedup is about 30%. + + + + + Jirka Kosek: l10n.xsl + + + Added xsl:keys for improved performance of localization texts look up. Performance gain around 15%. + + + + + Mauritz Jeanson: titles.xsl + + + Fixed bug #2912677 (error with xref in title). + + + + + Robert Stayton: olink.xsl + + + Fix bug in xrefstyle "title" handling introduced with +the 'insert.targetdb.data' template. + + + + + Robert Stayton: gentext.xsl + + + Fix bug in xref to equation without title to use context="xref-number" instead +of "xref-number-and-title". + + + + + Robert Stayton: labels.xsl + + + Number all equations in one sequence, with or without title. + + + + + Robert Stayton: entities.ent + + + Fix bug #2896909 where duplicate @sortas on indexterms caused +some indexterms to drop out of index. + + + + + Robert Stayton: stripns.xsl + + + Expand the "Stripping namespace ..." message to advise users to +use the namespaced stylesheets. + + + + + Robert Stayton: stripns.xsl + + + need a local version of $exsl.node.set.available variable because +this module imported many places. + + + + + Mauritz Jeanson: olink.xsl + + + Added /node() to the select expression that is used to compute the title text +so that no <ttl> elements end up in the output. Closes bug #2830119. + + + + + + + FO + The following changes have been made to the + fo code + since the 1.75.2 release. + + + + Robert Stayton: table.xsl + + + Fix bug 2979166 able - Attribute @rowheader not working + + + + + Mauritz Jeanson: inline.xsl + + + Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents +with many inline glossterms. + + + + + Robert Stayton: titlepage.xsl + + + Fix bug 2805530 author/orgname not appearing on title page. + + + + + Mauritz Jeanson: graphics.xsl + + + Added support for SVG content in imagedata (inspired by patch #2909154). + + + + + Mauritz Jeanson: table.xsl + + + Removed superfluous test used when computing column-width. Closes bug #3000898. + + + + + Mauritz Jeanson: inline.xsl + + + Added missing <xsl:call-template name="anchor"/>. Closes bug #2998567. + + + + + Mauritz Jeanson: lists.xsl + + + Added table-layout="fixed" on segmentedlist table (required by XSL spec when proportional-column-width() is used). + + + + + Jirka Kosek: autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Jirka Kosek: index.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Robert Stayton: xref.xsl + + + Fix bug in olink template when an olink has an id. +Add warning message with id value when trying to link +to an element that has no generated text. + + + + + Mauritz Jeanson: refentry.xsl + + + Fixed bug #2930968 (indexterm in refmeta not handled correctly). + + + + + Robert Stayton: block.xsl + + + fix bug 2949567 title in revhistory breaks FO transform. + + + + + Robert Stayton: glossary.xsl + + + Output id attributes on glossdiv blocks so they can be added to +xrefs or TOC. + + + + + Jirka Kosek: xref.xsl + + + Enabled hyphenation of URLs when ulink content is the same as link target + + + + + Robert Stayton: table.xsl + + + Apply patch to turn off row recursion if no @morerows attributes present. +This will enable very large tables without row spanning to +process without running into recursion limits. + + + + + Robert Stayton: formal.xsl + + + Format equation without title using table layout with equation number +next to the equation. + + + + + Robert Stayton: param.xweb; param.ent + + + Add equation.number.properties. + + + + + + + HTML + The following changes have been made to the + html code + since the 1.75.2 release. + + + + Mauritz Jeanson: block.xsl + + + Modified acknowledgements template to avoid invalid output (<p> in <p>). + + + + + Mauritz Jeanson: titlepage.xsl + + + Added default sidebar attribute-sets. + + + + + Robert Stayton: table.xsl + + + Fix bug 2979166 able - Attribute @rowheader not working + + + + + Robert Stayton: footnote.xsl + + + Fix bug 3033191 footnotes in html tables. + + + + + Mauritz Jeanson: inline.xsl + + + Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents +with many inline glossterms. + + + + + Robert Stayton: docbook.css.xml; verbatim.xsl + + + Fix bug 2844927 Validity error for callout bugs. + + + + + Robert Stayton: formal.xsl + + + Convert formal.object.heading to respect make.clean.html param. + + + + + Robert Stayton: titlepage.templates.xml; block.xsl + + + Fix bug 2840768 sidebar without title inserts empty b tag. + + + + + Mauritz Jeanson: docbook.xsl + + + Moved the template that outputs <base> so that the base URI also applies to relative CSS paths that come later. +See patch #2896121. + + + + + Jirka Kosek: autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Robert Stayton: chunk-code.xsl + + + fix bug 2948363 generated filename for refentry not unique, when +used in a set. + + + + + Robert Stayton: component.xsl + + + Fix missing "Chapter n" label when use chapter/info/title. + + + + + Robert Stayton: table.xsl + + + Row recursion turned off if no @morerows attributes in the table. +This will prevent failure on long table (with no @morerows) due +to excessive depth of recursion. + + + + + Robert Stayton: autotoc.xsl; docbook.css.xml + + + Support make.clean.html in autotoc.xsl. + + + + + Robert Stayton: docbook.css.xml; block.xsl + + + Add support for make.clean.html setting in block elements. + + + + + Robert Stayton: docbook.css.xml + + + Stock CSS styles for DocBook HTML output when 'make.clean.html' is non-zero. + + + + + Robert Stayton: html.xsl + + + Add templates for generating CSS files and links to them. + + + + + Robert Stayton: param.xweb + + + Fix bugs in new entity references. + + + + + Robert Stayton: chunk-common.xsl + + + List of Equations now includes on equations with titles. + + + + + Robert Stayton: table.xsl + + + If a colspec has a colname attribute, add it to the HTML col +element as a class attribute so it can be styled. + + + + + Robert Stayton: formal.xsl + + + Fix bug 2825842 where table footnotes not appearing in HTML-coded table. + + + + + Robert Stayton: chunktoc.xsl + + + Fix bug #2834826 where appendix inside part was not chunked as it should be. + + + + + Mauritz Jeanson: chunktoc.xsl + + + Added missing namespace declarations. Closes bug #2890069. + + + + + Mauritz Jeanson: footnote.xsl + + + Updated the template for footnote paras to use the 'paragraph' template. Closes bug #2803739. + + + + + Keith Fahlgren: inline.xsl; lists.xsl + + + Remove <b> and <i> elements "discouraged in favor of style sheets" from +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl. + +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB + +Added regression to EPUB specs: + + + + + Mauritz Jeanson: inline.xsl + + + Fixed bug #2844916 (don't output @target if ulink.target is empty). + + + + + Keith Fahlgren: autoidx.xsl + + + Fix a bug when using index.on.type: an 'index symbols' section was created +even if that typed index didn't include any symbols (they were in the other types). + + + + + + + Manpages + The following changes have been made to the + manpages code + since the 1.75.2 release. + + + + Mauritz Jeanson: other.xsl + + + Modified the write.stubs template so that the section directory name is not output twice. Should fix bug #2831602. +Also ensured that $lang is added to the .so path (when man.output.lang.in.name.enabled=1). + + + + + Mauritz Jeanson: docbook.xsl; other.xsl + + + Fixed bug #2412738 (apostrophe escaping) by applying the submitted patch. + + + + + Norman Walsh: block.xsl; endnotes.xsl + + + Fix bug where simpara in footnote didn't work. Patch by Jonathan Nieder, jrnieder@gmail.com + + + + + dleidert: lists.xsl + + + Fix two indentation issues: In the first case there is no corresponding .RS +macro (Debian #519438, sf.net 2793873). In the second case an .RS instead of +the probably intended .sp leads to an indentation bug (Debian #527309, +sf.net #2642139). + + + + + + + Epub + The following changes have been made to the + epub code + since the 1.75.2 release. + + + + Keith Fahlgren: bin/spec/examples/AMasqueOfDays.epub; docbook.xsl; bin/spec/epub_spec.rb + + + Resolve some actual regressions in date output spotted by more recent versions of epubcheck + + + + + Keith Fahlgren: docbook.xsl + + + Updated mediaobject selection code that better uses roles (when available); based on contributons by Glenn McDonald + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl + + + Ensure that NCX documents are always outputted with a default namespace +to prevent problems with the kindlegen machinery + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/partintro.xml; docbook.x⋯ + + + Adding support for partintros with sect2s, 3s, etc + + + + + Keith Fahlgren: docbook.xsl + + + Adding param to workaround horrific ADE bug with the inability to process <br> + + + + + Keith Fahlgren: docbook.xsl + + + Add support for authorgroup/author in OPF metadata (via Michael Wiedmann) + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb + + + Remove <b> and <i> elements "discouraged in favor of style sheets" from +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl. + +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB + +Added regression to EPUB specs: + + + + + Keith Fahlgren: bin/lib/docbook.rb; bin/spec/files/DejaVuSerif-Italic.otf; docbook.xsl; bi⋯ + + + This resolves bug #2873142, Please add support for multiple embedded fonts + + +If you navigate to a checkout of DocBook-XSL and go to: +xsl/epub/bin/spec/files +You can now run the following command: + +../../dbtoepub -f DejaVuSerif.otf -f DejaVuSerif-Italic.otf -c test.css +-s test_cust.xsl orm.book.001.xml + +In dbtoepub, the following option can be used more than once: +-f, --font [OTF FILE] Embed OTF FILE in .epub. + +The underlying stylesheet now accepts a comma-separated list of font file +names rather than just one as the RENAMED epub.embedded.fonts ('s' added). + +The runnable EPUB spec now includes: +- should be valid .epub after including more than one embedded font + + + + + Keith Fahlgren: docbook.xsl + + + Improve the selection of cover images when working in DocBook 4.x land (work in progress) + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl + + + Improve the quality of the OPF spine regression by ensuring that the spine +elements for deeply nested refentries are in order and adjacent to their +opening wrapper XHTML chunk. + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/orm.book.00⋯ + + + Add more careful handling of refentries to ensure that they always appear in the opf:spine. +This was only a problem when refentries were pushed deep into the hierarchy (like inside +a sect2), but presented navigational problems for many reading systems (despite the +correct NCX references). This may *not* be the best solution, but attacking a better +chunking strategy for refentries was too big a nut to crack at this time. + + + + + + + Eclipse + The following changes have been made to the + eclipse code + since the 1.75.2 release. + + + + Mauritz Jeanson: eclipse3.xsl + + + Added a stylesheet module that generates plug-ins conforming to the standard (OSGi-based) Eclipse 3.x +architecture. The main difference to the older format is that metadata is stored in a separate +manifest file. The module imports and extends the existing eclipse.xsl module. Based on code +contributed in patch #2624668. + + + + + + + Params + The following changes have been made to the + params code + since the 1.75.2 release. + + + + Robert Stayton: draft.watermark.image.xml + + + Fix bug 2922488 draft.watermark.image pointing to web resource. +Now the value is images/draft.png, and may require customization +for local resolution. + + + + + Mauritz Jeanson: equation.number.properties.xml + + + Corrected refpurpose. + + + + + Norman Walsh: paper.type.xml + + + Added USlegal and USlegallandscape paper types. + + + + + Jirka Kosek: highlight.xslthl.config.xml + + + Added note about specifying location as URL + + + + + Robert Stayton: docbook.css.source.xml; generate.css.header.xml; custom.css.source.xml; ma⋯ + + + Params to support generated CSS files. + + + + + Robert Stayton: equation.number.properties.xml + + + New attribute set for numbers appearing next to equations. + + + + + + + XSL-Xalan + The following changes have been made to the + xsl-xalan code + since the 1.75.2 release. + + + + dleidert: nbproject/genfiles.properties; nbproject/build-impl.xml + + + Rebuild netbeans build files after adding missing Netbeans configuration to allow easier packaging for Debian. + + + + + + + +Release Notes: 1.75.2 +The following is a list of changes that have been made + since the 1.75.1 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.75.1 release. + + +dleidert: locale/ja.xmlImproved Japanese translation for Note(s). Closes bug #2823965. + + +dleidert: locale/pl.xmlPolish alphabet contains O with acute accent, not with grave accent. Closes bug #2823964. + + +Robert Stayton: locale/ja.xmlFix translation of "index", per bug report 2796064. + + +Robert Stayton: locale/is.xmlNew Icelandic locale file. + + + + + +Common +The following changes have been made to the + common code + since the 1.75.1 release. + + +Norman Walsh: stripns.xslSupport more downconvert cases + + +Robert Stayton: titles.xslMake sure title inside info is used if no other title. + + + + + +FO +The following changes have been made to the + fo code + since the 1.75.1 release. + + +Robert Stayton: pi.xslTurn off dbfo-need for fop1.extensions also, per bug #2816141. + + + + + +HTML +The following changes have been made to the + html code + since the 1.75.1 release. + + +Mauritz Jeanson: titlepage.xslOutput "Copyright" heading in XHTML too. + + +Mauritz Jeanson: titlepage.xslAdded stylesheet.result.type test for copyright. Closes bug #2813289. + + +Norman Walsh: htmltbl.xslRemove ambiguity wrt @span, @rowspan, and @colspan + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.75.1 release. + + +Mauritz Jeanson: endnotes.xslAdded normalize-space() for ulink content. Closes bug #2793877. + + +Mauritz Jeanson: docbook.xslAdded stylesheet.result.type test for copyright. Closes bug #2813289. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.75.1 release. + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rbCorrected bugs caused by path and file assumptions were not met + + +Keith Fahlgren: bin/lib/docbook.rb; docbook.xslCleaning up hardcoded values into parameters and fixing Ruby library to pass them properly; all thanks to patch from Liza Daly + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.75.1 release. + + +Robert Stayton: profile.xslFix bug 2815493 missing exsl.node.set.available parameter. + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.75.1 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/ColumnUpdateEmitter.java; src/com/nwalsh/saxon/Colum⋯Added fixes so that colgroups in the XHTML namespace are processed properly. + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.75.1 release. + + +Mauritz Jeanson: nbproject/project.xmlAdded missing NetBeans configuration. + + + + + + + + +Release Notes: 1.75.1 +This release includes bug fixes. + +The following is a list of changes that have been made since the 1.75.0 release. + + + +FO +The following changes have been made to the fo code since the 1.75.0 release. + + +Keith Fahlgren: block.xslSwitching to em dash for character before attribution in epigraph; resolves Bug #2793878 + + +Robert Stayton: lists.xslFixed bug 2789947, id attribute missing on simplelist fo output. + + + + + +HTML +The following changes have been made to the + html code + since the 1.75.0 release. + + +Keith Fahlgren: block.xslSwitching to em dash for character before attribution in epigraph; resolves Bug #2793878 + + +Robert Stayton: lists.xslFixed bug 2789678: apply-templates line accidentally deleted. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.75.0 release. + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xslAdded regression and fix to correct "bug" with namespace-prefixed container elements in META-INF/container.xml ; resolves Issue #2790017 + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯Another attempt at flexible named entity and XInclude processing + + +Keith Fahlgren: bin/lib/docbook.rbTweaking solution to Bug #2750442 following regression reported by Michael Wiedmann. + + + + + +Params +The following changes have been made to the + params code + since the 1.75.0 release. + + +Mauritz Jeanson: highlight.source.xmlUpdated documentation to reflect changes made in r8419. + + + + + + + + +Release Notes: 1.75.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +Gentext +Modifications to translations have been made. + + + +Common + +Added support for some format properties on tables using +HTML table markup. +Added two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. +Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + + + +FO + +The inclusion of highlighting code has been simplified. +Add support for pgwide on informal objects. +Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. Closes FR #1792326. +Add support for more dbfo processing instructions. +Add new variablelist.term.properties to format terms, per request # 1968513. +Add support for @width on screen and programlisting, fixes bug #2012736. +Add support for writing-mode="rl-tb" (right-to-left) in FO outputs. +Add writing.mode param for FO output. + + + +HTML + +Convert all calls to class.attribute to calls to common.html.attributes to support dir, lang, and title attributes in html output for all elements. Fulfills feature request #1993833. +Inclusion of highlighting code was simplified. Only one import is now necessary. +Add new param index.links.to.section. +Add support for the new index.links.to.section param which permits precise links to indexterms in HTML output rather than to the section title. + + + +ePub + +Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog. +Added a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann) +Added DocBook subjectset -> OPF dc:subject mapping and tests +Added DocBook date -> OPF dc:date mapping and tests +Added DocBook abstract -> OPF dc:description mapping and tests +Added --output option to dbtoepub based on user request + + + + +HTMLHelp + +Add support for generating olink target database for htmlhelp files. + + + + +Params + +Add default setting for @rules attribute on HTML markup tables. +Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326. +Add new variablelist.term.properties to format terms, per request # 1968513. +Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045. +Add param to control whether an index entry links to a section title or to the precise location of the indexterm. +New attribute list for glossentry in glossary. +New parameter to support @width on programlisting and screen. +Add attribute-sets for formatting glossary terms and defs. + + + +Highlighting + +Inclusion of highlighting code was simplified. Only one import is now necessary. + + + + + + + +The following is a list of changes that have been made + since the 1.74.3 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.74.3 release. + + +Robert Stayton: locale/sv.xml; locale/ja.xml; locale/pl.xmlCheck in translations of Legalnotice submitted on mailing list. + + +Robert Stayton: locale/es.xmlFix spelling errors in Acknowledgements entries. + + +Robert Stayton: locale/es.xmlCheck in translations for 4 elements submitted through docbook-apps +message of 14 April 2009. + + +David Cramer: locale/zh.xml; locale/ca.xml; locale/ru.xml; locale/ga.xml; locale/gl.xml; l⋯Internationalized punctuation in glosssee and glossseealso + + +Robert Stayton: MakefileCheck in fixes for DSSSL gentext targets from submitted patch #1689633. + + +Robert Stayton: locale/uk.xmlCheck in major update submitted with bug report #2008524. + + +Robert Stayton: locale/zh_tw.xmlCheck in fix to Note string submitted in bug #2441051. + + +Robert Stayton: locale/ru.xmlCheckin typo fix submitted in bug #2453406. + + + + + +Common +The following changes have been made to the + common code + since the 1.74.3 release. + + +Robert Stayton: gentext.xslFix extra generated space when xrefstyle includes 'nopage'. + + +Robert Stayton: table.xslAdd support for some format properties on tables using +HTML table markup. These include: + - frame attribute on table (or uses $default.table.frame parameter). + - rules attribute on table (or uses $default.table.rules parameter). + - align attribute on td and th + - valign attribute on td and th + - colspan on td and th + - rowspan on td and th + - bgcolor on td and th + + +Robert Stayton: olink.xslAdd placeholder template to massage olink hot text to make +customization easier, per Feature Request 1828608. + + +Robert Stayton: targets.xslAdd support for collecting olink targets from a glossary +generated from a glossary.collection. + + +Robert Stayton: titles.xslHandle firstterm like glossterm in mode="title.markup". + + +Robert Stayton: titles.xslAdd match on info/title in title.markup templates where missing. + + +Mauritz Jeanson: titles.xslChanged "ancestor::title" to "(ancestor::title and (@id or @xml:id))". +This enables proper formatting of inline elements in titles in TOCs, +as long as these inlines don't have id or xml:id attributes. + + +Robert Stayton: labels.xslAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: stripns.xsl; pi.xslConvert function-available(exsl:node-set) to use the new param +so Xalan bug is isolated. + + +Mauritz Jeanson: titles.xslAdded fixes for bugs #2112656 and #1759205: +1. Reverted mistaken commits r7485 and r7523. +2. Updated the template with match="link" and mode="no.anchor.mode" so that +@endterm is used if it exists and if the link has no content. + + +Mauritz Jeanson: titles.xslAdded code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: olink.xslFix bug #2018717 use.local.olink.style uses wrong gentext context. + + +Robert Stayton: olink.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: common.xslFix bug #1669654 Broken output if copyright <year> contains a range. + + +Robert Stayton: labels.xslFix bug in labelling figure inside appendix inside article inside book. + + + + + +FO +The following changes have been made to the + fo code + since the 1.74.3 release. + + +Jirka Kosek: highlight.xslInclusion of highlighting code was simplified. Only one import is now necessary. + + +Robert Stayton: fop1.xslAdd the new fop extensions namespace declaration, in case FOP +extension functions are used. + + +Robert Stayton: formal.xslAdd support for pgwide on informal objects. + + +Robert Stayton: docbook.xslFixed spurious closing quote on line 134. + + +Robert Stayton: docbook.xsl; autoidx-kosek.xsl; autoidx.xslConvert function-available for node-set() to use +new $exsl.node.set.available param in test. + + +David Cramer: xref.xslSuppress extra space after xref when xrefstyle='select: label nopage' (#2740472) + + +Mauritz Jeanson: pi.xslFixed doc bug for row-height. + + +David Cramer: glossary.xslInternationalized punctuation in glosssee and glossseealso + + +Robert Stayton: param.xweb; param.ent; htmltbl.xsl; table.xslAdd support for some format properties on tables using +HTML table markup. These include: + - frame attribute on table (or uses $default.table.frame parameter). + - rules attribute on table (or uses $default.table.rules parameter). + - align attribute on td and th + - valign attribute on td and th + - colspan on td and th + - rowspan on td and th + - bgcolor on td and th + + +Robert Stayton: table.xslAdd support bgcolor in td and th +elements in HTML table markup. + + +Robert Stayton: htmltbl.xslAdd support for colspan and rowspan and bgcolor in td and th +elements in HTML table markup. + + +Robert Stayton: param.xwebFix working of page-master left and right margins. + + +Mauritz Jeanson: param.xweb; param.ent; fop1.xslAdded a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326. + + +Robert Stayton: table.xsl; pi.xslAdd support for dbfo row-height processing instruction, like that in dbhtml. + + +Robert Stayton: lists.xslAdd support for dbfo keep-together processing instruction for +entire list instances. + + +Robert Stayton: lists.xsl; block.xslAdd support fo dbfo keep-together processing instruction to +more blocks like list items and paras. + + +Robert Stayton: lists.xsl; param.xweb; param.entAdd new variablelist.term.properties to format terms, per request # 1968513. + + +Robert Stayton: inline.xslIn simple.xlink, rearrange order of processing. + + +Robert Stayton: xref.xslHandle firstterm like glossterm in mode="xref-to". + + +Robert Stayton: glossary.xsl; xref.xsl; pi.xsl; footnote.xslImplement simple.xlink for glosssee and glossseealso so they can use +other types of linking besides otherterm. + + +Robert Stayton: qandaset.xslAdd two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045. + + +Robert Stayton: titlepage.xslFor the book title templates, I changed info/title to book/info/title +so other element's titles will not be affected. + + +Robert Stayton: xref.xsl; verbatim.xslUse param exsl.node.set.available to test for function. + + +Robert Stayton: param.xweb; param.ent; footnote.xslStart using new param exsl.node.set.available to work around Xalan bug. + + +Robert Stayton: titlepage.templates.xmlAdd comment on use of t:predicate for editor to prevent +extra processing of multiple editors. Fixes bug 2687842. + + +Robert Stayton: xref.xsl; autoidx.xslAn indexterm primary, secondary, or tertiary element with an id or xml:id +now outputs that ID, so that index entries can be cross referenced to. + + +Mauritz Jeanson: synop.xslAdded modeless template for ooclass|oointerface|ooexception. +Closes bug #1623468. + + +Robert Stayton: xref.xslAdd template with match on indexterm in mode="xref-to" to fix bug 2102592. + + +Robert Stayton: xref.xslNow xref to qandaentry will use the label element in a question for +the link text if it has one. + + +Robert Stayton: inline.xslAdd id if specified from @id to output for quote and phrase so +they can be xref'ed to. + + +Robert Stayton: xref.xslAdd support for xref to phrase, simpara, anchor, and quote. +This assumes the author specifies something using xrefstyle since +the elements don't have ordinary link text. + + +Robert Stayton: toc.xslFix bug in new toc templates. + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: toc.xslRewrite toc templates to support an empty toc or populated toc +in all permitted contexts. Same for lot elements. +This fixes bug #1595969 for FO outputs. + + +Robert Stayton: index.xslFix indents for seealsoie so they are consistent. + + +Mauritz Jeanson: param.xwebRemoved duplicate (monospace.font.family). + + +Robert Stayton: param.xweb; param.entAdd glossentry.list.item.properties. + + +Robert Stayton: param.xweb; param.entAdd monospace.verbatim.font.width param to support @width on programlisting. + + +Robert Stayton: verbatim.xslPut programlisting in fo:block-container with writing-mode="lr-tb" +when text direction is right to left because all program languages +are left-to-right. + + +Robert Stayton: verbatim.xslAdd support for @width on screen and programlisting, fixes bug #2012736. + + +Robert Stayton: xref.xslFix bug #1973585 xref to para with xrefstyle not handled correctly. + + +Mauritz Jeanson: block.xslAdded support for acknowledgements in article. +Support in book/part remains to be added. + + +Robert Stayton: xref.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: fo.xslAdd writing-mode="tb-rl" as well since some XSL-FO processors support it. + + +Robert Stayton: autotoc.xsl; lists.xsl; glossary.xsl; fo.xsl; table.xsl; pagesetup.xslAdd support for writing-mode="rl-tb" (right-to-left) in FO outputs. +Changed instances of margin-left to margin-{$direction.align.start} +and margin-right to margin-{$direction.align.end}. Those direction.align +params are computed from the writing mode value in each locale's +gentext key named 'writing-mode', introduced in 1.74.3 to add +right-to-left support to HTML outputs. + + +Robert Stayton: param.xweb; param.entAdd attribute-sets for formatting glossary terms and defs. + + +Robert Stayton: param.xweb; param.entAdd writing.mode param for FO output. + + +Robert Stayton: autotoc.xslFix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title +instead of question, if available. For DocBook 5, use the info versions. + + +Keith Fahlgren: verbatim.xslAdd better pointer to README for XSLTHL + + +Keith Fahlgren: verbatim.xslMore tweaking the way that XSLTHL does or does not get called + + +Keith Fahlgren: verbatim.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +HTML +The following changes have been made to the + html code + since the 1.74.3 release. + + +Robert Stayton: lists.xslRemoved redundant lang and title attributes on list element inside +div element for lists. + + +Robert Stayton: inline.xsl; titlepage.xsl; division.xsl; toc.xsl; sections.xsl; table.xsl;⋯Convert all calls to class.attribute to calls to common.html.attributes +to support dir, lang, and title attributes in html output for all elements. +Fulfills feature request #1993833. + + +Robert Stayton: chunk-common.xslFix bug #2750253 wrong links in list of figures in chunk.html +when target html is in a subdirectory and dbhtml filename used. + + +Jirka Kosek: highlight.xslInclusion of highlighting code was simplified. Only one import is now necessary. + + +Robert Stayton: chunk-common.xsl; chunktoc.xsl; docbook.xsl; chunk-changebars.xsl; autoidx⋯Convert function-available for node-set() to use +new $exsl.node.set.available param in test. + + +Mauritz Jeanson: pi.xslFixed doc bug for row-height. + + +David Cramer: glossary.xslInternationalized punctuation in glosssee and glossseealso + + +Robert Stayton: lists.xsl; html.xsl; block.xslMore elements get common.html.attributes. +Added locale.html.attributes template which does the lang, +dir, and title attributes, but not the class attribute +(used on para, for example). + + +Robert Stayton: lists.xslReplace more literal class atts with mode="class.attribute" to support +easier customization. + + +Robert Stayton: glossary.xslSupport olinking in glosssee and glossseealso. + + +Robert Stayton: inline.xslIn simple.xlink, rearrange order of processing. + + +Robert Stayton: xref.xslHandle firstterm like glossterm in mode="xref-to". + + +Robert Stayton: lists.xsl; html.xsl; block.xslAdded template named common.html.attributes to output +class, title, lang, and dir for most elements. +Started adding it to some list and block elements. + + +Robert Stayton: qandaset.xslAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: param.xweb; chunk-code.xsl; param.ent; xref.xsl; chunkfast.xsl; verbatim.x⋯Use new param exsl.node.set.available to test, handles Xalan bug. + + +Robert Stayton: autoidx.xslUse named anchors for primary, secondary, and tertiary ids so +duplicate entries with different ids can still have an id output. + + +Robert Stayton: param.xweb; param.entAdd new param index.links.to.section. + + +Robert Stayton: xref.xsl; autoidx.xslPass through an id on primary, secondary, or tertiary to +the index entry, so that one could link to an index entry. +You can't link to the id on an indexterm because that is +used to place the main anchor in the text flow. + + +Robert Stayton: autoidx.xslAdd support for the new index.links.to.section param which permits +precise links to indexterms in HTML output rather than to +the section title. + + +Mauritz Jeanson: synop.xslAdded modeless template for ooclass|oointerface|ooexception. +Closes bug #1623468. + + +Robert Stayton: qandaset.xslMake sure a qandaset has an anchor, even when it has no title, +because it may be referenced in a TOC or xref. +Before, the anchor was output by the title, but there was no +anchor if there was no title. + + +Robert Stayton: xref.xslAdd a template for indexterm with mode="xref-to" to fix bug 2102592. + + +Robert Stayton: xref.xslNow xref to qandaentry will use the label element in a question for +the link text if it has one. + + +Robert Stayton: qandaset.xsl; html.xslCreate separate templates for computing label of question and answer +in a qandaentry, so such can be used for the alt text of an xref +to a qandaentry. + + +Robert Stayton: inline.xsl; xref.xslNow support xref to phrase, simpara, anchor, and quote, +most useful when an xrefstyle is used. + + +Robert Stayton: toc.xslRewrite toc templates to support an empty toc or populated toc +in all permitted contexts. Same for lot elements. +This fixes bug #1595969 for HTML outputs. + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: index.xslRewrote primaryie, secondaryie and tertiaryie templates to handle +nesting of elements and seeie and seealsoie, as reported in +bug # 1168912. + + +Robert Stayton: autotoc.xslFix simplesect in toc problem. + + +Robert Stayton: verbatim.xslAdd support for @width per bug report #2012736. + + +Robert Stayton: formal.xsl; htmltbl.xslFix bug #1787140 HTML tables not handling attributes correctly. + + +Robert Stayton: param.xwebMove writing-mode param. + + +Keith Fahlgren: refentry.xslRemove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly) + + +Robert Stayton: table.xslFix bug #1945872 to allow passthrough of colwidth values to +HTML table when no tablecolumns.extension is available and +when no instance of * appears in the table's colspecs. + + +Mauritz Jeanson: block.xslAdded support for acknowledgements in article. +Support in book/part remains to be added. + + +Robert Stayton: chunk-common.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: qandaset.xslFix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title +instead of question, if available. For DocBook 5, use the info versions. + + +Robert Stayton: chunktoc.xslAdd support for generating olink database when using chunktoc.xsl. + + +Keith Fahlgren: verbatim.xslAdd better pointer to README for XSLTHL + + +Keith Fahlgren: verbatim.xslAnother stab at fixing the stupid XSLTHT includes across processors (Saxon regression reported by Sorin Ristache) + + +Keith Fahlgren: verbatim.xslMore tweaking the way that XSLTHL does or does not get called + + +Keith Fahlgren: verbatim.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.74.3 release. + + +Robert Stayton: table.xslConvert function-available test for node-set() function to +test of $exsl.node.set.available param. + + +Mauritz Jeanson: lists.xslAdded a template for bibliolist. Closes bug #1815916. + + + + + +ePub +The following changes have been made to the + epub code + since the 1.74.3 release. + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog. + + +Keith Fahlgren: docbook.xslAdd a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/de.xmlCorrectly set dc:language in OPF metadata when i18nizing. Closes Bug #2755150 + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xslCorrected namespace declarations for literal XHTML elements to make them serialize "normally" + + +Keith Fahlgren: docbook.xslBe a little bit more nuanced about dates + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook subjectset -> OPF dc:subject mapping and tests + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook date -> OPF dc:date mapping and tests + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook abstract -> OPF dc:description mapping and tests + + +Robert Stayton: docbook.xslCheck in patch submitted by user to add opf:file-as attribute +to dc:creator element. + + +Keith Fahlgren: bin/dbtoepubAdding --output option to dbtoepub based on user request + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rbCleaning and regularizing the generation of namespaced nodes for OPF, NCX, XHTML and other outputted filetypes (hat tip to bobstayton for pointing out the silly, incorrect code) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/refclass.xmlRemove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/blockquotepre.xmlAdded regression test and fix for XHTML validation problem with <a>s added inside <blockquote>; This potentially causes another problem (where something is referenced by has no anchor, but someone reporting that should cause the whole <a id='thing'/> thing to be reconsidered with modern browsers in mind. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.74.3 release. + + +Robert Stayton: htmlhelp-common.xslAdd support for generating olink target database for htmlhelp files. + + + + + + +Params +The following changes have been made to the + params code + since the 1.74.3 release. + + +Robert Stayton: default.table.rules.xmlAdd default setting for @rules attribute on HTML markup tables. + + +Mauritz Jeanson: bookmarks.collapse.xmlAdded a new parameter, bookmarks.collapse, that controls the initial state +of the bookmark tree. When the parameter has a non-zero value (the default), +only the top-level bookmarks are displayed initially. Otherwise, the whole +tree of bookmarks is displayed. + +This is implemented for FOP 0.9X. Closes FR #1792326. + + +Robert Stayton: variablelist.term.properties.xmlAdd new variablelist.term.properties to format terms, per +request # 1968513. + + +Robert Stayton: qanda.defaultlabel.xmlAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: index.links.to.section.xmlChange default to 1 to match past behavior. + + +Robert Stayton: exsl.node.set.available.xmlIsolate this text for Xalan bug regarding exsl:node-set available. +If it is ever fixed in Xalan, just fix it here. + + +Robert Stayton: index.links.to.section.xmlAdd param to control whether an index entry links to +a section title or to the precise location of the +indexterm. + + +Robert Stayton: glossentry.list.item.properties.xmlNew attribute list for glossentry in glossary. + + +Robert Stayton: monospace.verbatim.font.width.xmlNew parameter to support @width on programlisting and screen. + + +Mauritz Jeanson: highlight.source.xmlUpdated and reorganized the description. + + +Robert Stayton: page.margin.outer.xml; page.margin.inner.xmlAdd caveat about XEP bug when writing-mode is right-to-left. + + +Robert Stayton: article.appendix.title.properties.xml; writing.mode.xml; body.start.indent⋯Change 'left' to 'start' and 'right' to 'end' to support right-to-left +writing mode. + + +Robert Stayton: glossdef.block.properties.xml; glossdef.list.properties.xml; glossterm.blo⋯Add attribute-sets for formatting glossary terms and defs. + + +Robert Stayton: glossterm.separation.xmlClarify the description. + + +Robert Stayton: make.year.ranges.xmlNow handles year element containing a comma or dash without error. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.74.3 release. + + +Jirka Kosek: READMEInclusion of highlighting code was simplified. Only one import is now necessary. + + +Keith Fahlgren: READMEAdding XSLTHL readme + + +Keith Fahlgren: common.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.74.3 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/Text.javaAdded a fix that prevents output of extra blank line. +Hopefully this closes bug #894805. + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.74.3 release. + + +Mauritz Jeanson: src/com/nwalsh/xalan/Text.javaAdded a fix that prevents output of extra blank line. +Hopefully this closes bug #894805. + + + + + + + + +Release Notes: 1.74.3 +This release fixes some bugs in the 1.74.2 release. +See highlighting/README for XSLTHL usage instructions. + + +Release Notes: 1.74.2 +This release fixes some bugs in the 1.74.1 release. + + + +Release Notes: 1.74.1 +This release includes important bug fixes and adds the following +significant feature changes: + + +Gentext +Kirghiz locale added and Chinese translations have been simplified. +Somme support for gentext and right-to-left languages has been added. + + +FO +Various bugs have been resolved. +Support for a new processing instruction: dbfo funcsynopsis-style has been added. +Added new param email.mailto.enabled for FO output. Patch from Paolo Borelli. + +Support for documented metadata in fop1 mode has been added. + + + + +Highlighting +Support for the latest version of XSLTHL 2.0 and some new language syntaxes have been added to a variety of outputs. + + + + +Manpages +Added man.output.better.ps.enabled param (zero default). It non-zero, no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command. + + + + + +HTML +Support for writing.mode to set text direction and alignment based on document locale has been added. + +Added a new top-level stylesheet module, chunk-changebars.xsl, to be +used for generating chunked output with highlighting based on change +(@revisionflag) markup. The module imports/includes the standard chunking +and changebars templates and contains additional logic for chunked output. +See FRs #1015180 and #1819915. + + + + +ePub + +Covers now look better in Adobe Digital Editions thanks to a patch from Paul Norton of Adobe + +Cover handling now more generic (including limited DocBook 5.0 cover support thanks to patch contributed by Liza Daly. +Cover markup now carries more reliably into files destined for .mobi and the Kindle. +dc:identifiers are now generated from more types of numbering schemes. +Both SEO and semantic structure of chunked ePub output by ensuring that we always send out one and only one h1 in each XHTML chunk. + +Primitive support for embedding a single font added. + + +Support for embedding a CSS customizations added. + + + + + +Roundtrip + + +Support for imagedata-metadata and table as images added. + + +Support for imagedata-metadata and legalnotice as images added. + + + + +Params +man.output.better.ps.enabled added for Manpages output + +writing.mode.xml added to set text direction. + + +Added new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +highlight.source upgraded to support the latest version of XSLTHL 2.0. + + + + + + + + +The following is a list of changes that have been made since the 1.74.0 release. + + + +Gentext +The following changes have been made to the gentext code since the 1.74.0 release. + + +Michael(tm) Smith: locale/ky.xml; Makefilenew Kirghiz locale from Ilyas Bakirov + + +Mauritz Jeanson: locale/en.xmlAdded "Acknowledgements". + + +Dongsheng Song: locale/zh_cn.xmlSimplified Chinese translation. + + +Robert Stayton: locale/lv.xml; locale/ca.xml; locale/pt.xml; locale/tr.xml; locale/af.xml;⋯Add writing-mode gentext string to support right-to-left languages. + + + + + +FO +The following changes have been made to the fo code since the 1.74.0 release. + + +David Cramer: footnote.xslAdded a check to confirm that a footnoteref's linkend points to a footnote. Stylesheets stop processing if not and provide a useful error message. + + +Mauritz Jeanson: spaces.xslConvert spaces to fo:leader also in elements in the DB 5 namespace. + + +Mauritz Jeanson: pi.xsl; synop.xslAdded support for a new processing instruction: dbfo funcsynopsis-style. +Closes bug #1838213. + + +Michael(tm) Smith: inline.xsl; param.xweb; param.entAdded new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +Mauritz Jeanson: docbook.xslAdded support for document metadata for fop1 (patch #2067318). + + +Jirka Kosek: param.ent; param.xweb; highlight.xslUpgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + +HTML +The following changes have been made to the html code since the 1.74.0 release. + + +Robert Stayton: param.xweb; docbook.xsl; param.ent; html.xslAdd support for writing.mode to set text direction and alignment based on document locale. + + +Mauritz Jeanson: chunk-changebars.xslAdded a new top-level stylesheet module, chunk-changebars.xsl, to be +used for generating chunked output with highlighting based on change +(@revisionflag) markup. The module imports/includes the standard chunking +and changebars templates and contains additional logic for chunked output. +See FRs #1015180 and #1819915. + + + + + +Manpages +The following changes have been made to the manpages code since the 1.74.0 release. + + +Michael(tm) Smith: docbook.xslPut the following at the top of generated roff for each page: + \" t +purpose is to explicitly tell AT&T troff that the page needs to be +pre-processed through tbl(1); groff can figure it out +automatically, but apparently AT&T troff needs to be explicitly told + + + + + +ePub +The following changes have been made to the epub code since the 1.74.0 release. + + +Keith Fahlgren: docbook.xslPatch from Paul Norton of Adobe to get covers to look better in Adobe Digital Editions + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/v5cover.xml; bin/spec/sp⋯Patch contributed by Liza Daly to make ePub cover handling more generic. Additionally +DocBook 5.0's <cover> now has some limited support: + +- should reference a cover in the OPF guide for a DocBook 5.0 test document + + +Keith Fahlgren: bin/spec/files/isbn.xml; bin/spec/files/issn.xml; bin/spec/files/biblioid.⋯Liza Daly reported that the dc:identifer-generation code was garbage (she was right). + +Added new tests: +- should include at least one dc:identifier +- should include an ISBN as URN for dc:identifier if an ISBN was in the metadata +- should include an ISSN as URN for dc:identifier if an ISSN was in the metadata +- should include an biblioid as a dc:identifier if an biblioid was in the metadata +- should include a URN for a biblioid with @class attribute as a dc:identifier if an biblioid was in the metadata + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rbImprove both SEO and semantic structure of chunked ePub output by ensuring that +we always send out one and only one h1 in each XHTML chunk. + +DocBook::Epub +- should include one and only one <h1> in each HTML file in rendered ePub files +for <book>s +- should include one and only one <h1> in each HTML file in rendered ePub files +for <book>s even if they do not have section markup + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Adding better support for covers in epub files destined for .mobi and the Kindle + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/DejaVuSerif.otf; docbook.⋯Adding primitive support for embedding a single font + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/test_cust.xsl; bin/spec/e⋯Adding support for user-specified customization layers in dbtoepub + + +Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯Adding CSS support to .epub target & dbtoepub: + -c, --css [FILE] Use FILE for CSS on generated XHTML. + + +DocBook::Epub +... +- should include a CSS link in HTML files when a CSS file has been provided +- should include CSS file in .epub when a CSS file has been provided +- should include a CSS link in OPF file when a CSS file has been provided + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.74.0 release. + + +Steve Ball: blocks2dbk.xsl; template.xml; template.dotadded support for imagedata-metadata +added support for table as images + + +Steve Ball: blocks2dbk.xsl; normalise2sections.xsl; sections2blocks.xslImproved support for personname inlines. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xmlAdded support for legalnotice. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xsladded support for orgname in author + + +Steve Ball: specifications.xml; supported.xml; blocks2dbk.xsl; wordml2normalise.xsl; dbk2w⋯Updated specification. +to-DocBook: add cols attribute to tgroup +from-DocBook: fix for blockquote title + + + + + +Params +The following changes have been made to the params since the 1.74.0 release. + + +The change was to add man.output.better.ps.enabled parameter, with +its default value set to zero. + +If the value of the man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps command for that +page will include a number of enhancements designed to improve the +quality of that output. + +If man.output.better.ps.enabled is zero (the default), no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command. + +WARNING: The enhancements provided by this parameter rely on +features that are specific to groff (GNU troff) and that are not +part of "classic" AT&T troff or any of its derivatives. Therefore, +any man pages you generate with this parameter enabled will be +readable only on systems on which the groff (GNU troff) program is +installed, such as GNU/Linux systems. The pages will not not be +readable on systems on with the classic troff (AT&T troff) command +is installed. + +NOTE: The value of this parameter only affects PostScript output +generated from the man command. It has no effect on output +generated using the FO backend. + +TIP: You can generate PostScript output for any man page by +running the following command: + +man FOO -Tps > FOO.ps + +You can then generate PDF output by running the following command: + +ps2pdf FOO.ps + + +Robert Stayton: writing.mode.xmlwriting mode param used to set text direction. + + +Michael(tm) Smith: email.mailto.enabled.xmlAdded new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +Jirka Kosek: highlight.source.xml; highlight.xslthl.config.xmlUpgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.74.0 release. + + +Jirka Kosek: cpp-hl.xml; c-hl.xml; tcl-hl.xml; php-hl.xml; common.xsl; perl-hl.xml; delphi⋯Upgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + + + + +Release Notes: 1.74.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +.epub target +Paul Norton (Adobe) and Keith Fahlgren(O'Reilly Media) have donated code that generates .epub documents from +DocBook input. An alpha-reference implementation in Ruby has also been provided. +.epub is an open standard of the The International Digital Publishing Forum (IDPF), +a the trade and standards association for the digital publishing industry. +Read more about this target in epub/README + + + + +XHTML 1.1 target +To support .epub output, a strict XHTML 1.1 target has been added. The stylesheets for this output are +generated and are quite similar to the XHTML target. + + +Gentext updates +A number of locales have been updated. + + +Roundtrip improvements +Table, figure, template syncronization, and character style improvements have been made for WordML & Pages. Support added for OpenOffice.org. + + + + + First implementation of a libxslt extension + + A stylesheet extension for libxslt, written in Python, has been added. + The extension is a function for adjusting column widths in CALS tables. See + extensions/README.LIBXSLT for more information. + + + + + +The following is a list of changes that have been made + since the 1.73.2 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.73.2 release. + + +Michael(tm) Smith: locale/id.xmlChecked in changes to Indonesion locale submitted by Euis Luhuanam a long time ago. + + +Michael(tm) Smith: locale/lt.xmlAdded changes to Lithuanian locate submitted a long time back by Nikolajus Krauklis. + + +Michael(tm) Smith: locale/hu.xmlfixed error in lowercase.alpha definition in Hungarian locale + + +Michael(tm) Smith: locale/nb.xmlCorrected language code for nb locale, and restored missing "startquote" key. + + +Michael(tm) Smith: locale/ja.xmlCommitted changes to ja locale file, from Akagi Kobayashi. Adds bracket quotes around many xref instances that did not have them +before. + + +Michael(tm) Smith: Makefile"no" locale is now "nb" + + +Michael(tm) Smith: locale/nb.xmlUpdate Norwegian Bokmål translation. Thanks to Hans F. Nordhaug. + + +Michael(tm) Smith: locale/no.xml; locale/nb.xmlper message from Hans F. Nordhaug, correct identifier for +Norwegian Bokmål is "nb" (not "no") and has been for quite some +time now... + + +Michael(tm) Smith: locale/ja.xmlConverted ja.xml source file to use real unicode characters so +that the actual glyphs so up when you edit it in a text editor +(instead of the character references). + + +Michael(tm) Smith: locale/ja.xmlChecked in changes to ja.xml locale file. Thanks to Akagi Kobayashi. + + +Michael(tm) Smith: locale/it.xmlChanges from Federico Zenith + + +Dongsheng Song: locale/zh_cn.xmlAdded missing translations. + + + + + +Common +The following changes have been made to the + common code + since the 1.73.2 release. + + +Michael(tm) Smith: l10n.xslAdded new template "l10.language.name" for retrieving the +English-language name of the lang setting of the current document. +Closes #1916837. Thanks to Simon Kennedy. + + +Michael(tm) Smith: refentry.xslfixed syntax error + + +Michael(tm) Smith: refentry.xslfixed a couple of typos + + +Michael(tm) Smith: refentry.xslrefined handling of cases where refentry "source" or "manual" +metadata is missing or when we use fallback content instead. We +now report a Warning if we use fallback content. + + +Michael(tm) Smith: refentry.xsldon't use refmiscinfo@class=date value as fallback for refentry +"source" or "manual" metadata fields + + +Michael(tm) Smith: refentry.xslMade reporting of missing refentry metadata more quiet: + + - we no longer report anything if usable-but-not-preferred + metadata is found; we just quietly use whatever we manage to + find + + - we now only report missing "source" metadata if the refentry + is missing BOTH "source name" and "version" metadata; if it + has one but not the other, we use whichever one it has and + don't report anything as missing + +The above changes were made because testing with some "real world" +source reveals that some authors are intentionally choosing to use +"non preferred" markup for some metadata, and also choosing to +omit "source name" or "version" metadata in there DocBook XML. So +it does no good to give them pedantic reminders about what they +already know... + +Also, changed code to cause "fixme" text to be inserted in output +in particular cases: + + - if we can't manage to find any "source" metadata at all, we + now put fixme text into the output + + - if we can't manage to find any "manual" metadata a all, we + now put fixme text into the output + +The "source" and "manual" metadata is necessary information, so +buy putting the fixme stuff in the output, we alert users to the +need problem of it being missing. + + +Michael(tm) Smith: refentry.xslWhen generating manpages output, we no longer report anything if +the refentry source is missing date or pubdate content. In +practice, many users intentionally omit the date from the source +because they explicitly want it to be generated. + + +Michael(tm) Smith: l10n.xmlfurther change needed for switch from no locale to nb. + + +Michael(tm) Smith: common.xslAdded support for orgname in authorgroup. Thanks to Camille +Bégnis. + + +Michael(tm) Smith: Makefile"no" locale is now "nb" + + +Mauritz Jeanson: stripns.xslRemoved the template matching "ng:link|db:link" (in order to make @xlink:show +work with <link> elements). As far as I can tell, this template is no longer needed. + + +Mauritz Jeanson: entities.entMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: titles.xslAdded an update the fix made in revision 7528 (handling of xref/link in no.anchor.mode mode). +Having xref in title is not a problem as long as the target is not an ancestor element. +Closes bug #1838136. + +Note that an xref that is in a title and whose target is an ancestor element is still not +rendered in the TOC. This could be considered a bug, but on the other hand I cannot really +see the point in having such an xref in a document. + + +Mauritz Jeanson: titles.xslAdded a "not(ancestor::title)" test to work around "too many nested +apply-templates" problems when processing xrefs or links in no.anchor.mode mode. +Hopefully, this closes bug #1811721. + + +Mauritz Jeanson: titles.xslRemoved old template matching "link" in no.anchor.mode mode. + + +Mauritz Jeanson: titles.xslProcess <link> in no.anchor.mode mode with the same template as <xref>. +Closes bug #1759205 (Empty link in no.anchor.mode mode). + + +Mauritz Jeanson: titles.xslIn no.anchor.mode mode, do not output anchors for elements that are descendants +of <title>. Previously, having inline elements with @id/@xml:id in <title>s +resulted in anchors both in the TOC and in the main flow. Closes bug #1797492. + + + + + +FO +The following changes have been made to the + fo code + since the 1.73.2 release. + + Mauritz Jeanson: pi.xslUpdated documentation for keep-together. + Mauritz Jeanson: task.xslEnabled use of the keep-together PI on task elements. + +Robert Stayton: index.xslFOP1 requires fo:wrapper for inline index entries, not fo:inline. + + +Robert Stayton: index.xslFixed non-working inline.or.block template for indexterm wrappers. +Add fop1 to list of processors using inline.or.block. + + +Mauritz Jeanson: table.xslFixed bug #1891965 (colsep in entytbl not working). + + +Mauritz Jeanson: titlepage.xslAdded support for title in revhistory. Closes bug #1842847. + + +Mauritz Jeanson: pi.xslSmall doc cleanup (dbfo float-type). + + +Mauritz Jeanson: titlepage.xslInsert commas between multiple copyright holders. + + +Mauritz Jeanson: autotoc.xsl; division.xslAdded modifications to support nested set elements. See bug #1853172. + + +David Cramer: glossary.xslAdded normalize-space to xsl:sorts to avoid missorting of glossterms due to stray leading spaces. + + +David Cramer: glossary.xslFixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry + + +Mauritz Jeanson: inline.xslAdded a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid, +and the "hot text" is the biblioid itself enclosed in brackets. + + +Mauritz Jeanson: inline.xslMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: docbook.xslUpdated message about unmatched element. + + +Mauritz Jeanson: param.xwebAdded link to profiling chapter of TCG. + + +Mauritz Jeanson: refentry.xslFixed typo (refsynopsysdiv -> refsynopsisdiv). + + +David Cramer: fop.xsl; fop1.xsl; ptc.xsl; xep.xslAdded test to check generate.index param when generating pdf bookmarks + + +Mauritz Jeanson: graphics.xslAdded support for MathML in imagedata. + + +Michael(tm) Smith: math.xslRemoved unnecessary extra test condition in test express that +checks for passivetex. + + +Michael(tm) Smith: math.xslDon't use fo:instream-foreign-object if we are processing with +passivetex. Closes #1806899. Thanks to Justus Piater. + + +Mauritz Jeanson: component.xslAdded code to output a TOC for an appendix in an article when +generate.toc='article/appendix toc'. Closes bug #1669658. + + +Dongsheng Song: biblio-iso690.xslChange encoding from "windows-1250" to "UTF-8". + + +Mauritz Jeanson: pi.xslUpdated documentation for dbfo_label-width. + + +Mauritz Jeanson: lists.xslAdded support for the dbfo_label-width PI in calloutlists. + + +Robert Stayton: biblio.xslSupport finding glossary database entries inside bibliodivs. + + +Robert Stayton: formal.xslComplete support for <?dbfo pgwide="1"?> for informal +elements too. + + +Mauritz Jeanson: table.xslIn the table.block template, added a check for the dbfo_keep-together PI, so that +a table may break (depending on the PI value) at a page break. This was needed +since the outer fo:block that surrounds fo:table has keep-together.within-column="always" +by default, which prevents the table from breaking. Closes bug #1740964 (Titled +table does not respect dbfo PI). + + +Mauritz Jeanson: pi.xslAdded a few missing @role="tcg". + + +Mauritz Jeanson: inline.xslUse normalize-space() in glossterm comparisons (as in html/inline.xsl). + + +Mauritz Jeanson: autoidx.xslRemoved the [&scope;] predicate from the target variable in the template with name="reference". +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms, +with index.on.type=1. Closes bug #1680836. + + +Michael(tm) Smith: inline.xsl; xref.xsl; footnote.xslAdded capability in FO output for displaying URLs for all +hyperlinks (elements marked up with xlink:href attributes) in the +same way as URLs for ulinks are already handled (which is to say, +either inline or as numbered footnotes). + +Background on this change: +DocBook 5 allows "ubiquitous" linking, which means you can make +any element a hyperlink just by adding an xlink:href attribute to +it, with the value set to an external URL. That's in contrast to +DocBook 4, which only allows you to use specific elements (e.g., +the link and ulink elements) to mark up hyperlinks. + +The existing FO stylesheets have a mechanism for handling display +of URLs for hyperlinks that are marked up with ulink, but they did +not handle display of URLs for elements that were marked up with +xlink:href attributes. This change adds handling for those other +elements, enabling the URLs they link to be displayed either +inline or as numbered footnotes (depending on what values the user +has the ulink.show and ulink.footnotes params set to). + +Note that this change only adds URL display support for elements +that call the simple.xlink template -- which currently is most +(but not all) inline elements. + +This change also moves the URL display handling out of the ulink +template and into a new "hyperlink.url.display" named template; +the ulink template and the simple.xlink named template now both +call the hyperlink.url.display template. + +Warning: In the stylesheet code that determines what footnote +number to assign to each footnote or external hyperlink, there is +an XPath expression for determining whether a particular +xlink:href instance is an external hyperlink; that expression is +necessarily a bit complicated and further testing may reveal that +it doesn't handle all cases as expected -- so some refinements to +it may need to be done later. + +Closes #1785519. Thanks to Ken Morse for reporting and +troubleshooting the problem. + + + + + +HTML +The following changes have been made to the + html code + since the 1.73.2 release. + + Keith Fahlgren: inline.xsl; synop.xslWork to make HTML and XHTML targets more valid + Keith Fahlgren: table.xslAdd better handling for tables that have footnotes in the titles + Keith Fahlgren: biblio.xslAdd anchors to bibliodivs + +Keith Fahlgren: formal.xsl; Makefile; htmltbl.xslInitial checkin/merge of epub target from work provided by Paul Norton of Adobe +and Keith Fahlgren of O'Reilly. +This change includes new code for generating the XHTML 1.1 target sanely. + + +Mauritz Jeanson: biblio.xslAdded code for creating URLs from biblioids with @class="doi" (representing Digital +Object Identifiers). See FR #1934434 and http://doi.org. + +To do: 1) Add support for FO output. 2) Figure out how @class="doi" should be handled +for bibliorelation, bibliosource and citebiblioid. + + +Norman Walsh: formal.xslDon't use xsl:copy because it forces the resulting element to be in the same namespace as the source element; in the XHTML stylesheets, that's wrong. But the HTML-to-XHTML converter does the right thing with literal result elements, so use one of them. + + +Michael(tm) Smith: MakefileAdded checks and hacks to various makefiles to enable building +under Cygwin. This stuff is ugly and maybe not worth the mess and +trouble, but does seem to work as expected and not break anything +else. + + +Michael(tm) Smith: docbook.xsladded "exslt" namespace binding to html/docbook.xsl file (in +addition to existing "exsl" binding. reason is because lack of it +seems to cause processing problems when using the profiled +version of the stylsheet + + +Norman Walsh: chunk-common.xslRename link + + +Mauritz Jeanson: table.xslAdded a fix to make rowsep apply to the last row of thead in entrytbl. + + +Michael(tm) Smith: synop.xslSimplified and streamlined handling of output for ANSI-style +funcprototype output, to correct a problem that was causing type +data to be lost in the output parameter definitions. For example, +for an instance like this: + <paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +... the brackets (indicating an array type) were being dropped. + + +Michael(tm) Smith: synop.xslChanged HTML handling of K&R-style paramdef output. The parameter +definitions are no longer output in a table (though the prototype +still is). The reason for the change is that the +kr-tabular-funcsynopsis-mode template was causing type data to be +lost in the output parameter definitions. For example, for an +instance like this: + <paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +... the brackets (indicating an array type) were being dropped. +The easiest way to deal with the problem is to not try to chop up +the parameter definitions and display them in table format, but to +instead just output them as-is. May not look quite as pretty, but +at least we can be sure no information is being lost... + + +Michael(tm) Smith: pi.xslupdated wording of doc for funcsynopsis-style PI + + +Michael(tm) Smith: param.xweb; param.ent; synop.xslRemoved the funcsynopsis.tabular.threshold param. It's no longer +being used in the code and hasn't been since mid 2006. + + +Mauritz Jeanson: graphics.xslAdded support for the img.src.path parameter for SVG graphics. Closes bug #1888169. + + +Mauritz Jeanson: chunk-common.xslAdded missing space. + + +Norman Walsh: component.xslFix bug where component titles inside info elements were not handled properly + + +Michael(tm) Smith: pi.xslMoved dbhtml_stop-chunking embedded doc into alphabetical order, +fixed text of TCG section it see-also'ed. + + +David Cramer: pi.xslAdded support for <?dbhtml stop-chunking?> processing instruction + + +David Cramer: chunk-common.xsl; pi.xslAdded support for <?dbhtml stop-chunking?> processing instruction + + +David Cramer: glossary.xslFixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry. Also added normalize-space to avoid missorting due to stray leading spaces. + + +Mauritz Jeanson: inline.xslAdded a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid, +and the "hot text" is the biblioid itself enclosed in brackets. + + +Mauritz Jeanson: inline.xslAdded support for @xlink:show in the simple.xlink template. The "new" and "replace" +values are supported (corresponding to values of "_blank" and "_top" for the +ulink.target parameter). I have assumed that @xlink:show should override ulink.target +for external URI links. This closes bugs #1762023 and #1727498. + + +Mauritz Jeanson: inline.xslMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: param.xwebAdded link to profiling chapter of TCG. + + +Dongsheng Song: biblio-iso690.xslChange encoding from "windows-1250" to "UTF-8". + + +Robert Stayton: biblio.xslAdd support in biblio collection to entries in bibliodivs. + + +Mauritz Jeanson: pi.xslAdded missing @role="tcg". + + +Mauritz Jeanson: chunk-common.xsl; titlepage.xslRefactored legalnotice/revhistory chunking, so that the use.id.as.filename +parameter as well as the dbhtml_filename PI are taken into account. A new named +template in titlepage.xsl is used to compute the filename. + + +Mauritz Jeanson: chunk-common.xsl; titlepage.xslAn update to the fix for bug #1790495 (r7433): +The "ln-" prefix is output only when the legalnotice doesn't have an +@id/@xml:id, in which case the stylesheets generate an ID value, +resulting in a filename like "ln-7e0fwgj.html". This is useful because +without the prefix, you wouldn't know that the file contained a legalnotice. +The same logic is also applied to revhistory, using an "rh-" prefix. + + +Mauritz Jeanson: autoidx.xslRemoved the [&scope;] predicate from the target variable in the template with name="reference". +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms, +with index.on.type=1. Closes bug #1680836. + + +Mauritz Jeanson: titlepage.xslAdded 'ln-' prefix to the name of the legalnotice chunk, in order to match the +<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl). +Modified the href attribute on the legalnotice link. +Closes bug #1790495. + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.73.2 release. + + +Michael(tm) Smith: other.xslslightly adjusted spacing around admonition markers + + +Michael(tm) Smith: refentry.xsl; utility.xslmake sure refsect3 titles are preceded by a line of space, and +make the indenting of their child content less severe + + +Michael(tm) Smith: block.xslonly indent verbatim environments in TTY output, not in non-TTY/PS + + +Michael(tm) Smith: block.xslmade another adjustment to correct vertical alignment of admonition marker + + +Michael(tm) Smith: block.xsl; other.xslAdjusted/corrected alignment of adominition marker in PS/non-TTY output. + + +Michael(tm) Smith: endnotes.xslFor PS/non-TTY output, display footnote/endnote numbers in +superscript. + + +Michael(tm) Smith: table.xsl; synop.xsl; utility.xslChanged handling of hanging indents for cmdsynopsis, funcsynopsis, +and synopfragment such that they now look correct in non-TTY/PS +output. We now use the groff \w escape to hang by the actual width +-- in the current font -- of the command, funcdef, or +synopfragment references number (as opposed to hanging by the +number of characters). This rendering in TTY output remains the +same, since the width in monospaced TTY output is the same as the +number of characters. + +Also, created new synopsis-block-start and synopsis-block-end +templates to use for cmdsynopsis and funcsynopsis instead of the +corresponding verbatim-* templates. + +Along with those changes, also corrected a problem that caused the +content of synopfragment to be dropped, and made a +vertical-spacing change to adjust spacing around table titles and +among sibling synopfragment instances. + + +Michael(tm) Smith: other.xsluse common l10.language.name template to retrieve English-language name + + +Michael(tm) Smith: synop.xsl; inline.xsladded comment in code explaining why we don't put filename output +in italic (despite the fact that man guidelines say we should) + + +Michael(tm) Smith: inline.xslput filename output in monospace instead of italic + + +Michael(tm) Smith: synop.xslput cmdsynopsis in monospace + + +Michael(tm) Smith: inline.xslremoved template match for literal. template matches for monospace +inlines are all imported from the HTML stylesheet + + +Michael(tm) Smith: block.xsldon't indent verbatim environments that are descendants of +refsynopsisdiv, not put backgrounds behind them + + +Michael(tm) Smith: inline.xslset output of the literal element in monospace. this causes all +inline monospace instances in the git man pages to be set in +monospace (since DocBook XML source for git docs is generated with +asciidoc and asciidoc consistently outputs only <literal> for +inline monospace (not <command> or <code> or anything else). +Of course this only affects non-TTY output... + + +Michael(tm) Smith: utility.xslAdded inline.monoseq named template. + + +Michael(tm) Smith: utility.xsldon't bother using a custom register to store the previous +font-family value when setting blocks of text in code font; just +use \F[] .fam with no arg to switch back + + +Michael(tm) Smith: endnotes.xslput links in blue in PS output (note that this matches how groff +renders content marked up with the .URL macro) + + +Michael(tm) Smith: endnotes.xsl; param.xweb; param.entremoved man.links.are.underlined and added man.font.links. Also, +changed the default font formatting for links to bold. + + +Michael(tm) Smith: endnotes.xsl; param.xweb; param.entAdded new param man.base.url.for.relative.links .. specifies a +base URL for relative links (for ulink, @xlink:href, imagedata, +audiodata, videodata) shown in the generated NOTES section of +man-page output. The value of man.base.url.for.relative.links is +prepended to any relative URI that is a value of ulink url, +xlink:href, or fileref attribute. + +If you use relative URIs in link sources in your DocBook refentry +source, and you leave man.base.url.for.relative.links unset, the +relative links will appear "as is" in the NOTES section of any +man-page output generated from your source. That's probably not +what you want, because such relative links are only usable in the +context of HTML output. So, to make the links meaningful and +usable in the context of man-page output, set a value for +man.base.url.for.relative.links that points +to the online version of HTML output generated from your DocBook +refentry source. For example: + + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + +Michael(tm) Smith: info.xslIf a source refentry contains a Documentation or DOCUMENTATION +section, don't report it as having missing AUTHOR information. +Also, if missing a contrib/personblurb for a person or org, report +pointers to http://docbook.sf.net/el/personblurb and to +http://docbook.sf.net/el/contrib + + +Michael(tm) Smith: info.xslIf we encounter an author|editor|othercredit instance that lacks a +personblurb or contrib, report it to the user (because that means +we have no information about that author|editor|othercredit to +display in the generated AUTHOR|AUTHORS section...) + + +Michael(tm) Smith: info.xsl; docbook.xsl; other.xslif we can't find any usable author data, emit a warning and insert +a fixme in the output + + +Michael(tm) Smith: info.xslfixed bug in indenting of output for contrib instances in AUTHORS +section. Thanks to Daniel Leidert and the fglrx docs for exposing +the bug. + + +Michael(tm) Smith: block.xslfor a para or simpara that is the first child of a callout, +suppress the .sp or .PP that would normally be output (because in +those cases, the output goes into a table cell, and the .sp or .PP +markup causes a spurious linebreak before it when displayed + + +Michael(tm) Smith: lists.xslAdded support for rendering co callouts and calloutlist instances. +So you can now use simple callouts -- marking up programlisting +and such with co instances -- and have the callouts displayed in +man-page output. ("simple callouts" means using co@id and +callout@arearefs pointing to co@id instances; in man/roff output, +we can't/don't support markup that uses areaset and area) + + +Michael(tm) Smith: block.xslonly put a line of space after a verbatim if it's followed by a +text node or a paragraph + + +Michael(tm) Smith: utility.xslput verbatim environments in slightly smaller font in non-TTY +output + + +Michael(tm) Smith: lists.xslminor whitespace-only reformatting of lists.xsl source + + +Michael(tm) Smith: lists.xslMade refinements/fixes to output of orderedlist and itemizedlist +-- in part, to get mysql man pages to display correctly. This +change causes a "\c" continuation marker to be added between +listitem markers and contents (to ensure that the content remains +on the same line as the marker when displayed) + + +Michael(tm) Smith: block.xslput a line of vertical space after all verbatim output that has +sibling content following it (not just if that sibling content is +a text node) + + +Michael(tm) Smith: block.xslrefined spacing around titles for admonitions + + +Michael(tm) Smith: block.xsl; other.xslDeal with case of verbatim environments that have a linebreak +after the opening tag. Assumption is that users generally don't +want that linebreak to appear in output, so we do some groff +hackery to mess with vertical spacing and close the space. + + +Michael(tm) Smith: inline.xslindexterm instances now produce groff comments like this: + + .\" primary: secondary: tertiary + +remark instances, if non-empty, now produce groff comments + + +Michael(tm) Smith: charmap.groff.xsl; other.xslconvert no-break space character to groff "\ \&" (instead of just +"\ "). the reason is that if a space occurs at the end of a line, +our processing causes it to be eaten. a real-world case of this is +the mysql(1) man page. appending the "\&" prevents that + + +Michael(tm) Smith: block.xsloutput "sp" before simpara output, not after it (outputting it +after results in undesirable whitespace in particular cases; for +example, in the hg/mercurial docs + + +Michael(tm) Smith: table.xsl; synop.xsl; utility.xslrenamed from title-preamble to pinch.together and replaced "sp -1" +between synopsis fragments with call to pinch.together instead + + +Michael(tm) Smith: table.xsluse title-preamble template for table titles (instead of "sp -1" +hack), and "sp 1" after all tables (instead of just "sp" + + +Michael(tm) Smith: utility.xslcreated title-preamble template for suppressing line spacing after +headings + + +Michael(tm) Smith: info.xslfurther refinement of indenting in AUTHORS section + + +Michael(tm) Smith: block.xsl; other.xslrefined handling of admonitions + + +Michael(tm) Smith: lists.xslUse RS/RE in another place where we had IP "" + + +Michael(tm) Smith: info.xslReplace (ab)use of IP with "sp -1" in AUTHORS section with RS/RE +instead. + + +Michael(tm) Smith: table.xsl; synop.xsl; info.xslchanged all instances of ".sp -1n" to ".sp -1" + + +Michael(tm) Smith: other.xsladd extra line before SH heads only in non-TTY output + + +Michael(tm) Smith: block.xslReworked output for admonitions (caution, important, note, tip, +warning). In TTY output, admonitions now get indented. In non-TTY +output, a colored marker (yellow) is displayed next to them. + + +Michael(tm) Smith: other.xslAdded BM/EM macros for putting a colored marker in margin next to +a block of text. + + +Michael(tm) Smith: utility.xslcreated make.bold.title template by moving title-bolding part out +from nested-section-title template. This allows the bolding to +also be used by the template for formatting admonitions + + +Michael(tm) Smith: info.xslput .br before copyright contents to prevent them from getting run in + + +Michael(tm) Smith: refentry.xsl; other.xsl; utility.xslmade point size of output for Refsect2 and Refsect3 heads bigger + + +Michael(tm) Smith: other.xslput slightly more space between SH head and underline in non-TTY +output + + +Michael(tm) Smith: param.xweb; param.ent; other.xslAdded the man.charmap.subset.profile.english parameter and refined +the handling of charmap subsets to differentiate between English +and non-English source. + +This way charmap subsets are now handled is this: + +If the value of the man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that is, if its +lang or xml:lang attribute has a value other than en), then the +character-map subset specified by the man.charmap.subset.profile +parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root element +in your DocBook source or on the first refentry element in your +source has the value en or if it has no lang or xml:lang +attribute, then the character-map subset specified by the +man.charmap.subset.profile.english parameter is used instead of +man.charmap.subset.profile. + +The difference between the two subsets is that +man.charmap.subset.profile provides mappings for characters in +Western European languages that are not part of the Roman +(English) alphabet (ASCII character set). + + +Michael(tm) Smith: other.xslVarious updates, mainly related to uppercasing SH titles: + + - added a "Language: " metadata line to the top comment area of + output man pages, to indicate the language the page is in + + - added a "toupper" macro of doing locale-aware uppercasing of + SH titles and cross-references to SH titles; the mechanism + relies on the uppercase.alpha and lowercase.alpha DocBook + gentext keys to do locale-aware uppercasing based on the + language the page is written in + + - added a "string.shuffle" template, which provides a library + function for "shuffling" two strings together into a single + string; it takes the first character for the first string, the + first character from second string, etc. The only current use + for it is to generate the argument for the groff tr request + that does string uppercasing. + + - added make.tr.uppercase.arg and make.tr.normalcase.arg named + templates for use in generating groff code for uppercasing and + "normal"-casing SH titles + + - made the BB/BE "background drawing" macros have effect only in + non-TTY output + + - output a few comments in the top part of source + + +Michael(tm) Smith: utility.xslremoved some leftover kruft + + +Michael(tm) Smith: refentry.xslTo create the name(s) for each man page, we now replace any spaces +in the refname(s) with underscores. This ensures that tools like +lexgrog(1) will be able to parse the name (lexgrog won't parse +names that contain spaces). + + +Michael(tm) Smith: docbook.xslPut a comment into source of man page to indicate where the main +content starts. (We now have a few of macro definitions at the +start of the source, so putting this comment in helps those that +might be viewing the source.) + + +Michael(tm) Smith: refentry.xslrefined mechanism for generating SH titles + + +Michael(tm) Smith: charmap.groff.xslAdded zcaron, Zcaron, scaron, and Scaron to the groff character map. +This means that generated Finnish man pages will no longer contain +any raw accented characters -- they'll instead by marked up with +groff escapes. + + +Michael(tm) Smith: other.xsl; utility.xslcorrected a regression I introduced about a year ago that caused +dots to be output just as "\." -- instead needs to be "\&." (which +is what it will be now, after this change) + + +Michael(tm) Smith: refentry.xslChanged backend handling for generating titles for SH sections and +for cross-references to those sections. This should have no effect +on TTY output (behavior should remain the same hopefully) but +results in titles in normal case (instead of uppercase) in PS +output. + + +Michael(tm) Smith: info.xsluse make.subheading template to make subheadings for AUTHORS and +COPYRIGHT sections (instead of harcoding roff markup) + + +Michael(tm) Smith: block.xslput code font around programlisting etc. + + +Michael(tm) Smith: synop.xsl; docbook.xslembed custom macro definitions in man pages, plus wrap synopsis in +code font + + +Michael(tm) Smith: endnotes.xsluse the make.subheading template to generated SH subheading for +endnotes section. + + +Michael(tm) Smith: lists.xslAdded some templates for generating if-then-else conditional +markup in groff, so let's use those instead of hard-coding it in +multiple places... + + +Michael(tm) Smith: other.xsl; utility.xslInitial checkin of some changes related to making PS/PDF output +from "man -l -Tps" look better. The current changes: + + - render synopsis and verbatim sections in a monospace/code font + + - put a light-grey background behind all programlisting, screen, + and literallayout instances + + - prevent SH heads in PS output from being rendered in uppercase + (as they are in console output) + + - also display xrefs to SH heads in PS output in normal case + (instead of uppercase) + + - draw a line under SH heads in PS output + +The changes made to the code to support the above features were: + + - added some embedded/custom macros: one for conditionally + upper-casing SH x-refs, one for redefining the SH macro + itself, with some conditional handling for PS output, and + finally a macro for putting a background/screen (filled box) + around a block of text (e.g., a program listing) in PS output + + - added utility templates for wrapping blocks of text in code + font; also templates for inline code font + + +Robert Stayton: refentry.xslrefpurpose nodes now get apply-templates instead of just normalize-space(). + + +Michael(tm) Smith: lists.xslFixed alignment of first lined of text for each listitem in +orderedlist output for TTY. Existing code seemed to have been +causing an extra undesirable space to appear. + + +Michael(tm) Smith: lists.xslWrapped some roff conditionals around roff markup for orderedlist +and itemizedlist output, so that the lists look acceptable in PS +output as well as TTY. + + +Michael(tm) Smith: pi.xsl; synop.xsl; param.xweb; param.entAdded the man.funcsynopsis.style parameter. Has the same effect in +manpages output as the funcsynopsis.style parameter has in HTML +output -- except that its default value is 'ansi' instead of 'kr'. + + +Michael(tm) Smith: synop.xslReworked handling of K&R funcprototype output. It no longer relies +on the HTML kr-tabular templates, but instead just does direct +transformation to roff. For K&R output, it displays the paramdef +output in an indented list following the prototype. + + +Michael(tm) Smith: synop.xslProperly integrated handling for K&R output into manpages +stylesheet. The choice between K&R output and ANSI output is +currently controlled through use of the (HTML) funcsynopsis.style +parameter. Note that because the mechanism does currently rely on +funcsynopsis.style, the default in manpages output is now K&R +(because that's the default of that param). But I suppose I ought +to create a man.funcsynopsis.style and make the default for that +ANSI (to preserve the existing default behavior). + + +Michael(tm) Smith: docbook.xsladded manpages/pi.xsl file + + +Michael(tm) Smith: .cvsignore; pi.xslAdded "dbman funcsynopsis-style" PI and incorporated it into the +doc build. + + +Michael(tm) Smith: refentry.xslFixed regression that caused an unescaped dash to be output +between refname and refpurpose content. Closes bug #1894244. +Thanks to Daniel Leidert. + + +Michael(tm) Smith: other.xslFixed problem with dots being escaped in filenames of generated +man files. Closes #1827195. Thanks to Daniel Leidert. + + +Michael(tm) Smith: inline.xslAdded support for processing structfield (was appearing in roff +output surrounded by HTML <em> tags; fixed so that it gets roff +ital markup). Closes bug #1858329. Thanks to Sam Varshavchik. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.73.2 release. + + Keith Fahlgren: bin/spec/README; bin/spec/epub_realbook_spec.rb'Realbook' spec now passes + Keith Fahlgren: bin/dbtoepub; README; bin/spec/README; bin/lib/docbook.rb; bin/spec/epub_r⋯Very primitive Windows support for dbtoepub reference implementation; README for running tests and for the .epub target in general; shorter realbook test document (still fails for now) + Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯Changes to OPF spine to not duplicate idrefs for documents with parts not at the root; regression specs for same + Keith Fahlgren: docbook.xslFixing linking to cover @id, distinct from other needs of cover-image-id (again, thanks to Martin Goerner) + Keith Fahlgren: docbook.xslUpdating the title of the toc element in the guide to be more explicit (thanks to Martin Goerner) + +Keith Fahlgren: bin/spec/examples/amasque_exploded/content.opf; bin/spec/examples/amasque_⋯Initial checkin/merge of epub target from work provided by Paul Norton of Adobe +and Keith Fahlgren of O'Reilly. + + +Keith Fahlgren: docbook.xsl== General epub test support + +$ spec -O ~/.spec.opts spec/epub_spec.rb + +DocBook::Epub +- should be able to be created +- should fail on a nonexistent file +- should be able to render to a file +- should create a file after rendering +- should have the correct mimetype after rendering +- should be valid .epub after rendering an article +- should be valid .epub after rendering an article without sections +- should be valid .epub after rendering a book +- should be valid .epub after rendering a book even if it has one graphic +- should be valid .epub after rendering a book even if it has many graphics +- should be valid .epub after rendering a book even if it has many duplicated graphics +- should report an empty file as invalid +- should confirm that a valid .epub file is valid +- should not include PDFs in rendered epub files as valid image inclusions +- should include a TOC link in rendered epub files for <book>s + +Finished in 20.608395 seconds + +15 examples, 0 failures + + +== Verbose epub test coverage against _all_ of the testdocs + +Fails on only (errors truncated): +1) +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/calloutlist.003.xml [30]' FAILED +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/cmdsynopsis.001.xml [35]' FAILED +.... + +Finished in 629.89194 seconds + +224 examples, 15 failures + +224 examples, 15 failures yields 6% failure rate + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.73.2 release. + + +Mauritz Jeanson: htmlhelp-common.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.73.2 release. + + +David Cramer: eclipse.xslUse sortas attributes (if they exist) when sorting indexterms + + +David Cramer: eclipse.xslAdded support for indexterm/see in eclipse index.xml + + +Mauritz Jeanson: eclipse.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> +to helpidx template. + + +David Cramer: eclipse.xslGenerate index.xml file and add related goo to plugin.xml file. Does not yet support see and seealso. + + +Mauritz Jeanson: eclipse.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.73.2 release. + + +Mauritz Jeanson: javahelp.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.73.2 release. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xslfix table/cell borders for wordml, fix formal figure, add emphasis-strong + + +Mauritz Jeanson: supported.xmlChanged @cols to 5. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xmladded pubdate, fixed metadata handling in biblioentry + + +Steve Ball: supported.xmlAdded support for edition. + + +Steve Ball: docbook-pages.xsl; wordml-blocks.xsl; docbook.xsl; wordml.xsl; pages-normalise⋯Removed stylesheets for old, deprecated conversion method. + + +Steve Ball: specifications.xml; dbk2ooo.xsl; blocks2dbk.xsl; dbk2pages.xsl; blocks2dbk.dtd⋯Added support for Open Office, added edition element, improved list and table support in Word and Pages + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; dbk2pages.xsl; template-pages.xml; templ⋯Fixed bug in WordML table handling, improved table handling for Pages 08, synchronised WordML and Pages templates. + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; wordml2normalise.xsl; dbk2wp.xslfix caption, attributes + + +Steve Ball: specifications.xml; blocks2dbk.xsl; wordml2normalise.xsl; blocks2dbk.dtd; temp⋯Fixes to table and list handling + + +Steve Ball: blocks2dbk.xsladded support for explicit emphasis character styles + + +Steve Ball: wordml2normalise.xsladded support for customisation in image handling + + +Steve Ball: blocks2dbk.xslAdded inlinemediaobject support for metadata. + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; template.xml; dbk2wordml.xsl; dbk2wp.xslAdded support file. Added style locking. Conversion bug fixes. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.73.2 release. + + +Michael(tm) Smith: fo/Makefile; html/MakefileAdded checks and hacks to various makefiles to enable building +under Cygwin. This stuff is ugly and maybe not worth the mess and +trouble, but does seem to work as expected and not break anything +else. + + +Jirka Kosek: html/plain.xslAdded support for showing foil number + + + + + +Website +The following changes have been made to the + website code + since the 1.73.2 release. + + +Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/xalan2/.classes/com/⋯renamed a bunch more .cvsignore files to .gitignore (to facilitate use of git-svn) + + + + + +Params +The following changes have been made to the + params code + since the 1.73.2 release. + + Keith Fahlgren: epub.autolabel.xmlNew parameter for epub, epub.autolabel + +Mauritz Jeanson: table.frame.border.color.xml; table.cell.padding.xml; table.cell.border.t⋯Added missing refpurposes and descriptions. + + +Keith Fahlgren: ade.extensions.xmlExtensions to support Adobe Digital Editions extensions in .epub output. + + +Mauritz Jeanson: fop.extensions.xml; fop1.extensions.xmlClarified that fop1.extensions is for FOP 0.90 and later. Version 1 is not here yet... + + +Michael(tm) Smith: man.links.are.underlined.xml; man.endnotes.list.enabled.xml; man.font.l⋯removed man.links.are.underlined and added man.font.links. Also, +changed the default font formatting for links to bold. + + +Michael(tm) Smith: man.base.url.for.relative.links.xmlAdded new param man.base.url.for.relative.links .. specifies a +base URL for relative links (for ulink, @xlink:href, imagedata, +audiodata, videodata) shown in the generated NOTES section of +man-page output. The value of man.base.url.for.relative.links is +prepended to any relative URI that is a value of ulink url, +xlink:href, or fileref attribute. + +If you use relative URIs in link sources in your DocBook refentry +source, and you leave man.base.url.for.relative.links unset, the +relative links will appear "as is" in the NOTES section of any +man-page output generated from your source. That's probably not +what you want, because such relative links are only usable in the +context of HTML output. So, to make the links meaningful and +usable in the context of man-page output, set a value for +man.base.url.for.relative.links that points +to the online version of HTML output generated from your DocBook +refentry source. For example: + + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + +Michael(tm) Smith: man.string.subst.map.xmlsqueeze .sp\n.sp into a single .sp (to prevent a extra, spurious +line of whitespace from being inserted after programlisting etc. +in certain cases) + + +Michael(tm) Smith: refentry.manual.fallback.profile.xml; refentry.source.fallback.profile.⋯don't use refmiscinfo@class=date value as fallback for refentry +"source" or "manual" metadata fields + + +Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯made some further doc tweaks related to the +man.charmap.subset.profile.english param + + +Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯Added the man.charmap.subset.profile.english parameter and refined +the handling of charmap subsets to differentiate between English +and non-English source. + +This way charmap subsets are now handled is this: + +If the value of the man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that is, if its +lang or xml:lang attribute has a value other than en), then the +character-map subset specified by the man.charmap.subset.profile +parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root element +in your DocBook source or on the first refentry element in your +source has the value en or if it has no lang or xml:lang +attribute, then the character-map subset specified by the +man.charmap.subset.profile.english parameter is used instead of +man.charmap.subset.profile. + +The difference between the two subsets is that +man.charmap.subset.profile provides mappings for characters in +Western European languages that are not part of the Roman +(English) alphabet (ASCII character set). + + +Michael(tm) Smith: man.charmap.subset.profile.xmlAdded to default charmap used by manpages: + + - the "letters" part of the 'C1 Controls And Latin-1 Supplement + (Latin-1 Supplement)' Unicode block + - Latin Extended-A block (but not all of the characters from + that block have mappings in groff, so some of them are still + passed through as-is) + +The effects of this change are that in man pages generated for +most Western European languages and for Finnish, all characters +not part of the Roman alphabet are (e.g., "accented" characters) +are converted to groff escapes. + +Previously, by default we passed through those characters as is +(and users needed to use the full charmap if they wanted to have +those characters converted). + +As a result of this change, man pages generated for Western +European languages will be viewable in some environments in which +they are not viewable if the "raw" non-Roman characters are in them. + + +Mauritz Jeanson: generate.legalnotice.link.xml; generate.revhistory.link.xmlAdded information on how the filename is computed. + + +Mauritz Jeanson: default.table.width.xmlClarified PI usage. + + +Michael(tm) Smith: man.funcsynopsis.style.xmlAdded the man.funcsynopsis.style parameter. Has the same effect in +manpages output as the funcsynopsis.style parameter has in HTML +output -- except that its default value is 'ansi' instead of 'kr'. + + +Michael(tm) Smith: funcsynopsis.tabular.threshold.xmlRemoved the funcsynopsis.tabular.threshold param. It's no longer +being used in the code and hasn't been since mid 2006. + + +Mauritz Jeanson: table.properties.xmlSet keep-together.within-column to "auto". This seems to be the most sensible +default value for tables. + + +Mauritz Jeanson: informal.object.properties.xml; admon.graphics.extension.xml; informalequ⋯Several small documentation fixes. + + +Mauritz Jeanson: manifest.in.base.dir.xmlWording fixes. + + +Mauritz Jeanson: header.content.properties.xml; footer.content.properties.xmlAdded refpurpose. + + +Mauritz Jeanson: ulink.footnotes.xml; ulink.show.xmlUpdated for DocBook 5. + + +Mauritz Jeanson: index.method.xml; glossterm.auto.link.xmlSpelling and wording fixes. + + +Mauritz Jeanson: callout.graphics.extension.xmlClarifed available graphics formats and extensions. + + +Mauritz Jeanson: footnote.sep.leader.properties.xmlCorrected refpurpose. + + +Jirka Kosek: footnote.properties.xmlAdded more properties which make it possible to render correctly footnotes placed inside verbatim elements. + + +Mauritz Jeanson: img.src.path.xmlimg.src.path works with inlinegraphic too. + + +Mauritz Jeanson: saxon.character.representation.xmlAdded TCG link. + + +Mauritz Jeanson: img.src.path.xmlUpdated description of img.src.path. Bug #1785224 revealed that +there was a risk of misunderstanding how it works. + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.73.2 release. + + +Jirka Kosek: xsl2profile.xslAdded new rules to profile all content generated by HTML Help (including alias files) + + +Robert Stayton: profile-mode.xsluse mode="profile" instead of xsl:copy-of for attributes so +they can be more easily customized. + + + + + + +Tools +The following changes have been made to the + tools code + since the 1.73.2 release. + + +Michael(tm) Smith: make/Makefile.DocBookvarious changes and additions to support making with asciidoc as +an input format + + +Michael(tm) Smith: make/Makefile.DocBookmake dblatex the default PDF maker for the example makefile + + +Michael(tm) Smith: xsl/build/html2roff.xslReworked handling of K&R funcprototype output. It no longer relies +on the HTML kr-tabular templates, but instead just does direct +transformation to roff. For K&R output, it displays the paramdef +output in an indented list following the prototype. + + +Mauritz Jeanson: xsl/build/make-xsl-params.xslMade attribute-sets members of the param list. This enables links to attribute-sets in the +reference documentation. + + +Michael(tm) Smith: xsl/build/html2roff.xsluse .BI handling in K&R funsynopsis output for manpages, just as +we do already of ANSI output + + +Michael(tm) Smith: xsl/build/html2roff.xslImplemented initial support for handling tabular K&R output of +funcprototype in manpages output. Accomplished by adding more +templates to the intermediate HTML-to-roff stylesheet that the +build uses to create the manpages/html-synop.xsl stylesheet. + + +Michael(tm) Smith: xsl/build/doc-link-docbook.xslMade the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet +import profile-docbook.xsl, so that we can do profiling of release +notes. Corrected some problems in the target for the release-notes +HTML build. + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.73.2 release. + + Keith Fahlgren: MakefileUse DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER + +Michael(tm) Smith: Makefilemoved extensions build targets from master xsl/Makefile to +xsl/extensions/Makefile + + +Michael(tm) Smith: .cvsignorere-adding empty extensions subdir + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.73.2 release. + + +Michael(tm) Smith: VERSIONbring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with +recent change to snapshot build infrastructure + + +Michael(tm) Smith: nbproject/build-impl.xml; nbproject/project.propertiesChanged hard-coded file references in "clean" target to variable +references. Closes #1792043. Thanks to Daniel Leidert. + + +Michael(tm) Smith: VERSION; MakefileDid post-release wrap-up of xsl-saxon and xsl-xalan dirs + + +Michael(tm) Smith: nbproject/build-impl.xml; VERSION; Makefile; testMore tweaks to get release-ready + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.73.2 release. + + +Michael(tm) Smith: VERSIONbring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with +recent change to snapshot build infrastructure + + +Michael(tm) Smith: nbproject/build-impl.xmlChanged hard-coded file references in "clean" target to variable +references. Closes #1792043. Thanks to Daniel Leidert. + + +Michael(tm) Smith: Makefile; VERSIONDid post-release wrap-up of xsl-saxon and xsl-xalan dirs + + +Michael(tm) Smith: Makefile; nbproject/build-impl.xml; VERSIONMore tweaks to get release-ready + + + + + +XSL-libxslt +The following changes have been made to the + xsl-libxslt code + since the 1.73.2 release. + + +Mauritz Jeanson: python/xslt.pyPrint the result to stdout if no outfile has been given. +Some unnecessary semicolons removed. + + +Mauritz Jeanson: python/xslt.pyAdded a function that quotes parameter values (to ensure that they are interpreted as strings). +Replaced deprecated functions from the string module with string methods. + + +Michael(tm) Smith: python/README; python/README.LIBXSLTrenamed xsl-libxslt/python/README to xsl-libxslt/python/README.LIBXSLT + + +Mauritz Jeanson: python/READMETweaked the text a little. + + + + + + + +Release Notes: 1.73.2 +This is solely a minor bug-fix update to the 1.73.1 release. + It fixes a packaging error in the 1.73.1 package, as well as a + bug in footnote handling in FO output. + + + +Release: 1.73.1 +This is mostly a bug-fix update to the 1.73.0 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.73.0 release. + + +Mauritz Jeanson: locale/de.xmlApplied patch #1766009. + + +Michael(tm) Smith: locale/lv.xmlAdded localization for ProductionSet. + + + + + +FO +The following changes have been made to the + fo code + since the 1.73.0 release. + + +Mauritz Jeanson: table.xslModified the tgroup template so that, for tables with multiple tgroups, +a width attribute is output on all corresponding fo:tables. Previously, +there was a test prohibiting this (and a comment saying that outputting more +than one width attribute will cause an error). But this seems to be no longer +relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559. + + +Mauritz Jeanson: graphics.xslReplaced useless <a> elements with warning messages (textinsert extension). + + +Mauritz Jeanson: admon.xslEnabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page +references in the index can be created. Closes bug #1775086. + + + + + +HTML +The following changes have been made to the + html code + since the 1.73.0 release. + + +Mauritz Jeanson: titlepage.xslAdded <xsl:call-template name="process.footnotes"/> to abstract template +so that footnotes in info/abstract are processed. Closes bug #1760907. + + +Michael(tm) Smith: pi.xsl; synop.xslChanged handling of HTML output for the cmdsynopsis and +funcsynopsis elements, such that a@id instances are generated for +them if they are descendants of any element containing a dbcmdlist +or dbfunclist PI. Also, update the embedded reference docs for the +dbcmdlist and dbfunclist PIs to make it clear that they can be +used within any element for which cmdsynopsis or funcsynopsis are +valid children. + + +Michael(tm) Smith: formal.xslReverted the part of revision 6952 that caused a@id anchors to be +generated for output of informal objects. Thanks to Sam Steingold +for reporting. + + +Robert Stayton: glossary.xslAccount for a glossary with no glossdiv or glossentry children. + + +Mauritz Jeanson: titlepage.xslModified legalnotice template so that the base.name parameter is calculated +in the same way as for revhistory chunks. Using <xsl:apply-templates +mode="chunk-filename" select="."/> did not work for single-page output since +the template with that mode is in chunk-code.xsl. + + +Mauritz Jeanson: graphics.xslUpdated support for SVG (must be a child of imagedata in DB 5). +Added support for MathML in imagedata. + + +Mauritz Jeanson: pi.xslAdded documentation for the dbhh PI (used for context-sensitive HTML Help). +(The two templates matching 'dbhh' are still in htmlhelp-common.xsl). + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.73.0 release. + + +Michael(tm) Smith: endnotes.xslIn manpages output, generate warnings about notesources with +non-para children only if the notesource is a footnote or +annotation. Thanks to Sam Steingold for reporting problems with +the existing handling. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.73.0 release. + + +Michael(tm) Smith: htmlhelp-common.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.73.0 release. + + +Michael(tm) Smith: eclipse.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.73.0 release. + + +Michael(tm) Smith: javahelp.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.73.0 release. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xslModularised blocks2dbk to allow customisation, +Added support for tables to pages2normalise + + + + + +Params +The following changes have been made to the + params code + since the 1.73.0 release. + + +Robert Stayton: procedure.properties.xmlprocedure was inheriting keep-together from formal.object.properties, but +a procedure does not need to be kept together by default. + + +Dave Pawson: title.font.family.xml; component.label.includes.part.label.xml; table.frame.b⋯Regular formatting re-org. + + + + + + +Release: 1.73.0 +This release includes important bug fixes and adds the following +significant feature changes: + + + New localizations and localization updates + + We added two new localizations: Latvian and + Esperanto, and made updates to the Czech, Chinese + Simplified, Mongolian, Serbian, Italian, and Ukrainian + localizations. + + + + ISO690 citation style for bibliography output. + + Set the + bibliography.style parameter to + iso690 to use ISO690 style. + + + + New documentation for processing instructions (PI) + + The reference documentation that ships with the + release now includes documentation on all PIs that you can use to + control output from the stylesheets. + + + + New profiling parameters for audience and wordsize + + You can now do profiling based on the values of the + audience and + wordsize attributes. + + + + Changes to man-page output + + The manpages stylesheet now supports single-pass + profiling and single-pass DocBook 5 namespace stripping + (just as the HTML and FO stylesheets also do). Also, added + handling for mediaobject & + inlinemediaobject. (Each imagedata, + audiodata, or videodata element + within a mediaobject or inline + mediaobject is now treated as a "notesource" + and so handled in much the same way as links and + annotation/alt/footnote + are in manpages output.) And added the + man.authors.section.enabled and + man.copyright.section.enabled + parameters to enable control over whether output includes + auto-generated AUTHORS and + COPYRIGHT sections. + + + + Highlighting support for C + + The highlighting mechanism for generating + syntax-highlighted code snippets in output now supports C + code listings (along with Java, PHP, XSLT, and others). + + + + Experimental docbook-xsl-update script + + We added an experimental docbook-xsl-update + script, the purpose of which is to facilitate + easy sync-up to the latest docbook-xsl snapshot (by means + of rsync). + + + + + + +Gentext +The following changes have been made to the +gentext code +since the 1.72.0 release. + + +Michael(tm) Smith: locale/lv.xml; MakefileAdded Latvian localization file, from Girts Ziemelis. + + +Dongsheng Song: locale/zh_cn.xmlBrought up to date with en.xml in terms of items. A few strings marked for translation. + + +Jirka Kosek: locale/cs.xmlAdded missing translations + + +Robert Stayton: locale/eo.xmlNew locale for Esperanto. + + +Robert Stayton: locale/mn.xmlUpdate from Ganbold Tsagaankhuu. + + +Jirka Kosek: locale/en.xml; locale/cs.xmlRules for normalizing glossary entries before they are sorted can be now different for each language. + + +Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xmlCommitted changes from Miloš Komarčević to Serbian files. + + +Robert Stayton: locale/ja.xmlFix chapter in context xref-number-and-title + + +Robert Stayton: locale/it.xmlImproved version from contributor. + + +Mauritz Jeanson: locale/uk.xmlApplied patch 1592083. + + + + +Common +The following changes have been made to the +common code +since the 1.72.0 release. + + +Michael(tm) Smith: labels.xslChanged handling of reference auto-labeling such that reference +(when it appears at the component level) is now affected by the +label.from.part param, just as preface, chapter, and appendix. + + +Michael(tm) Smith: common.xslAdded support to the HTML stylesheets for proper processing of +orgname as a child of author. + + +Michael(tm) Smith: refentry.xslRefined logging output of refentry metadata-gathering template; +for some cases of "missing" elements (refmiscinfo stuff, etc.), +the log messages now include URL to corresponding page in the +Definitive Guide (TDG). + + +Robert Stayton: titles.xslAdd refsection/info/title support. + + +Michael(tm) Smith: titles.xslAdded support for correct handling of xref to elements that +contain info/title descendants but no title children. + +This should be further refined so that it handles any *info +elements. And there are probably some other places where similar +handling for *info/title should be added. + + +Mauritz Jeanson: pi.xslModified <xsl:when> in datetime.format template to work +around Xalan bug. + + + + +FO +The following changes have been made to the +fo code +since the 1.72.0 release. + + +Robert Stayton: component.xslAdd parameters to the page.sequence utility template. + + +Mauritz Jeanson: xref.xslAdded template for xref to area/areaset. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: inline.xslAdded template match for person element to fo stylesheet. + + +Robert Stayton: lists.xslAdded support for spacing="compact" in variablelist, per bug report #1722540. + + +Robert Stayton: table.xsltable pgwide="1" should also use pgwide.properties attribute-set. + + +Mauritz Jeanson: inline.xslMake citations numbered if bibliography.numbered != 0. + + +Robert Stayton: param.xweb; param.entAdd new profiling parameters for audience and wordsize. + + +Robert Stayton: param.xweb; param.entAdded callout.icon.size parameter. + + +Robert Stayton: inline.xsl; xref.xslAdd support for xlink as olink. + + +Robert Stayton: autotoc.xsl; param.xweb; param.entAdd support for qanda.in.toc to fo TOC. + + +Robert Stayton: component.xslImproved the page.sequence utility template for use with book. + + +Robert Stayton: division.xslRefactored the big book template into smaller pieces. +Used the "page.sequence" utility template in +component.xsl to shorten the toc piece. +Added placeholder templates for front.cover and back.cover. + + +Robert Stayton: param.xweb; param.ent; sections.xslAdd section.container.element parameter to enable +pgwide spans inside sections. + + +Robert Stayton: param.xweb; param.ent; component.xslAdd component.titlepage.properties attribute-set to +support span="all" and other properties. + + +Robert Stayton: htmltbl.xsl; table.xslApply table.row.properties template to html tr rows too. +Add keep-with-next to table.row.properties when row is in thead. + + +Robert Stayton: table.xslAdd support for default.table.frame parameter. +Fix bug 1575446 rowsep last check for @morerows. + + +Robert Stayton: refentry.xslAdd support for info/title in refsections. + + +David Cramer: qandaset.xslMake fo questions and answers behave the same way as html + + +Jirka Kosek: lists.xslAdded missing attribute set for procedure + + +Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xslAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: param.xweb; param.ent; pagesetup.xslAdd header.table.properties and footer.table.properties attribute-sets. + + +Robert Stayton: inline.xslAdd fop1.extensions for menuchoice arrow handling exception. + + + + +HTML +The following changes have been made to the + html code + since the 1.72.0 release. + + +Mauritz Jeanson: param.xweb; param.entMoved declaration and documentation of javahelp.encoding from javahelp.xsl to the +regular "parameter machinery". + + +Michael(tm) Smith: admon.xslChanged handling of titles for note, warning, caution, important, +tip admonitions: We now output and HTML h3 head only if +admon.textlabel is non-zero or if the admonition actually contains +a title; otherwise, we don't output an h3 head at all. +(Previously, we were outputting an empty h3 if the admon.textlabel +was zero and if the admonition had no title.) + + +Mauritz Jeanson: xref.xslAdded template for xref to area/areaset. +Part of fix for bug #1675513 (xref to area broken). + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xslAdded fixes to avoid duplicate ids when generate.id.attributes = 1. +This (hopefully) closes bug #1671052. + + +Michael(tm) Smith: formal.xsl; pi.xslMade the dbfunclist PI work as intended. Also added doc for +dbfunclist and dbcmdlist PIs. + + +Michael(tm) Smith: pi.xsl; synop.xslMade the dbcmdlist work the way it appears to have been intended +to work. Restored dbhtml-dir template back to pi.xsl. + + +Michael(tm) Smith: titlepage.xsl; param.xweb; param.entAdded new param abstract.notitle.enabled. +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. +Because sometimes you really don't want or need that title +there... + + +Michael(tm) Smith: chunk-code.xsl; graphics.xslWhen we are chunking long descriptions for mediaobject instances +into separate HTML output files, and use.id.as.filename is +non-zero, if a mediaobject has an ID, use that ID as the basename +for the long-description file (otherwise, we generate an ID for it +and use that ID as the basename for the file). +The parallels the recent change made to cause IDs for legalnotice +instances to be used as basenames for legalnotice chunks. +Also, made some minor refinements to the recent changes for +legalnotice chunk handling. + + +Michael(tm) Smith: titlepage.xslAdded support to the HTML stylesheets for proper processing of +orgname as a child of author. + + +Michael(tm) Smith: chunk-code.xslWhen $generate.legalnotice.link is non-zero and +$use.id.as.filename is also non-zero, if a legalnotice has an ID, +then instead of assigning the "ln-<generatedID>" basename to the +output file for that legalnotice, just use its real ID as the +basename for the file -- as we do when chunking other elements +that have IDs. + + +David Cramer: xref.xslHandle alt text on xrefs to steps when the step doesn't have a title. + + +David Cramer: lists.xslAdded <p> element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output + + +David Cramer: qandaset.xslAdded <p> element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output + + +David Cramer: lists.xslAdded <p> element around callouts to avoid misalignment of callout and listitem in xhtml (non-quirks mode) output + + +Mauritz Jeanson: inline.xslMake citations numbered if bibliography.numbered != 0. + + +Robert Stayton: param.xweb; param.entAdd support for new profiling attributes audience and wordsize. + + +Robert Stayton: inline.xsl; xref.xslAdd support for xlink olinks. + + +Jirka Kosek: glossary.xslRules for normalizing glossary entries before they are sorted can be now different for each language. + + +Robert Stayton: chunk-common.xsl; chunk-code.xsl; manifest.xsl; chunk.xslRefactored the chunking modules to move all named templates to +chunk-common.xsl and all match templates to chunk-code.xsl, in +order to enable better chunk customization. +See the comments in chunk.xsl for more details. + + +Robert Stayton: lists.xslAdd anchor for xml:id for listitem in varlistentry. + + +Robert Stayton: refentry.xslAdd support for info/title in refsections for db5. + + +Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xslAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: inline.xsl; xref.xslAdd call to class.attribute to <a> output elements so they can +have a class value too. + + +Mauritz Jeanson: glossary.xslFixed bug #1644881: +* Added curly braces around all $language attribute values. +* Moved declaration of language variable to top level of stylesheet. +Tested with Xalan, Saxon, and xsltproc. + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.72.0 release. + + +Michael(tm) Smith: param.xweb; docbook.xsl; param.entAdded the man.authors.section.enabled and +man.copyright.section.enabled parameters. Set those to zero when +you want to suppress display of the auto-generated AUTHORS and +COPYRIGHT sections. Closes request #1467806. Thanks to Daniel +Leidert. + + +Michael(tm) Smith: docbook.xslTook the test that the manpages stylesheet does to see if there +are any Refentry chilren in current doc, and made it +namespace-agnostic. Reason for that is because the test otherwise +won't work when it is copied over into the generated +profile-docbook.xsl stylesheet. + + +Michael(tm) Smith: MakefileAdded a manpages/profile-docbook.xsl file to enable single-pass +profiling for manpages output. + + +Michael(tm) Smith: info.xslOutput copyright and legalnotice in man-page output in whatever +place they are in in document order. Closes #1690539. Thanks to +Daniel Leidert for reporting. + + +Michael(tm) Smith: docbook.xslRestored support for single-pass namespace stripping to manpages +stylesheet. + + +Michael(tm) Smith: synop.xsl; block.xsl; info.xsl; inline.xsl; lists.xsl; endnotes.xsl; ut⋯Changed handling of bold and italic/underline output in manpages +output. Should be transparent to users, but... + +This touches handling of all bold and italic/underline output. The +exact change is that the mode="bold" and mode="italic" utility +templates were changed to named templates. (I think maybe I've +changed it back and forth from mode to named before, so this is +maybe re-reverting it yet again). + +Anyway, the reason for the change is that the templates are +sometimes call on dynamically node-sets, and using modes to format +those doesn't allow passing info about the current/real context +node from the source (not the node-set created by the stylesheet) +to that formatting stage. + +The named templates allow the context to be passed in as a +parameter, so that the bold/ital formatting template can use +context-aware condition checking. + +This was basically necessary in order to suppress bold formatting +in titles, which otherwise gets screwed up because of the numbnut +way that roff handles nested bold/ital. + +Closes #1674534). Much thanks to Daniel Leidert, whose in his +docbook-xsl bug-finding kung-fu has achieved Grand Master status. + + +Michael(tm) Smith: block.xslFixed handling of example instances by adding the example element +to the same template we use for processing figure. Closes +#1674538. Thanks to Daniel Leidert. + + +Michael(tm) Smith: utility.xslDon't include lang in manpages filename/pathname if lang=en (that +is, only generate lang-qualified file-/pathnames for non-English). + + +Michael(tm) Smith: endnotes.xslIn manpages output, emit warnings for notesources (footnote, etc.) +that have something other than para as a child. + +The numbered-with-hanging-indent formatting that's used for +rendering endnotes in the NOTES section of man pages places some +limits/assumptions on how the DocBook source is marked up; namely, +for notesources (footnote, annotation, etc.) that can contain +block-level children, if the they have a block-level child such as +a table or itemizedlist or orderedlist that is the first child of +a footnote, we have no way of rendering/indenting its content +properly in the endnotes list. + +Thus, the manpages stylesheet not emits a warning message for that +case, and suggests the "fix" (which is to wrap the table or +itemizedlist or whatever in a para that has some preferatory text. + + +Michael(tm) Smith: utility.xslAdded support to mixed-block template for handling tables in +mixed-blocks (e.g., as child of para) correctly. + + +Michael(tm) Smith: table.xsl; synop.xsl; block.xsl; info.xsl; lists.xsl; refentry.xsl; end⋯Reverted necessary escaping of backslash, dot, and dash +out of the well-intentioned (but it now appears, +misguided) "marker" mechanism (introduced in the 1.72.0 +release) -- which made use of alternative "marker" +characters as internal representations of those +characters, and then replaced them just prior to +serialization -- and back into what's basically the +system that was used prior to the 1.69.0 release; that +is, into a part of stylesheet code that gets executed +at the beginning of processing -- before any other roff +markup up is. This change obviates the need for the +marker system. It also requires a lot less RAM during +processing (for large files, the marker mechanism +ending up requiring gigabytes of memory). + +Closes bug #1661177. Thanks to Scott Smedley for +providing a test case (the fvwm man page) that exposed +the problem with the marker mechanism. + +Also moved the mechanism for converting non-breaking +spaces back into the same area of the stylesheet code. + + +Michael(tm) Smith: lists.xslFixed problem with incorrect formatting of nested variablelist. +Closes bug #1650931. Thanks to Daniel "Eagle Eye" Leidert. + + +Michael(tm) Smith: lists.xslMake sure that all listitems in itemizedlist and orderedlist are +preceded by a blank line. This fixes a regression that occurred +when instances of the TP macro that were use in a previous +versions of the list-handling code were switched to RS/RE (because +TP doesn't support nesting). TP automatically generates a blank +line, but RS doesn't. So I added a .sp before each .RS + + +Michael(tm) Smith: block.xsl; inline.xsl; param.xweb; docbook.xsl; links.xsl; param.entMade a number of changes related to elements with +out-of-line content: + +- Added handling for mediaobject & inlinemediaobject. + Each imagedata, audiodata, or videodata element + within a mediaobject or inline mediaobject is now + treated as a "notesource" and so handled in much the + same way as links and annotation/alt/footnotes. + + That means a numbered marker is generated inline to + mark the place in the main flow where the imagedata, + audiodata, or videodata element occurs, and a + corresponding numbered endnote for it is generated in + the endnotes list at the end of the man page; the + endnote contains the URL from the fileref attribute + of the imagedata, audiodata, or videodata element. + + For mediobject and inlinemediaobject instances that + have a textobject child, the textobject is displayed + within the main text flow. + +- Renamed several man.link.* params to man.endnotes.*, + to reflect that fact that the endnotes list now + contains more than just links. Also did similar + renaming for a number of stylesheet-internal vars. + +- Added support for xlink:href (along with existing + support for the legacy ulink element). + +- Cleaned up and streamlined the endnotes-handling + code. It's still messy and klunky and the basic + mechanism it uses is very inefficent for documents + that contain a lot of notesources, but at least it's + a bit better than it was. + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.72.0 release. + + +Mauritz Jeanson: MakefileFixed bug #1715093: Makefile for creating profiled version of eclipse.xsl added. + + +David Cramer: eclipse.xslAdded normalize-space around to avoid leading whitespace from appearing in the output if there's extra leading whitespace (e.g. <title> Foo</title>) in the source + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.72.0 release. + + +Mauritz Jeanson: javahelp.xslImplemented FR #1230233 (sorted index in javahelp). + + +Mauritz Jeanson: javahelp.xslAdded normalize-space() around titles and index entries to work around whitespace problems. +Added support for glossary and bibliography in toc and map files. + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.72.0 release. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl; normalise2sections.xsl; sections2blocks.⋯new stylesheets for better word processor support and easier maintenance + + +Steve Ball: template-pages.xml; dbk2wp.xsl; sections-spec.xmlfixed bugs + + + + +Params +The following changes have been made to the + params code + since the 1.72.0 release. + + +Mauritz Jeanson: htmlhelp.button.back.xml; htmlhelp.button.forward.xml; htmlhelp.button.zo⋯Modified refpurpose text. + + +Mauritz Jeanson: htmlhelp.map.file.xml; htmlhelp.force.map.and.alias.xml; htmlhelp.alias.f⋯Fixed typos, made some small changes. + + +Mauritz Jeanson: javahelp.encoding.xmlMoved declaration and documentation of javahelp.encoding from javahelp.xsl to the +regular "parameter machinery". + + +Mauritz Jeanson: generate.id.attributes.xmlAdded refpurpose text. + + +Mauritz Jeanson: annotation.js.xml; annotation.graphic.open.xml; annotation.graphic.close.⋯Added better refpurpose texts. + + +Michael(tm) Smith: chunker.output.cdata-section-elements.xml; chunker.output.standalone.xm⋯Fixed some broken formatting in source files for chunker.* params, +as pointed out by Dave Pawson. + + +Michael(tm) Smith: label.from.part.xmlChanged handling of reference auto-labeling such that reference +(when it appears at the component level) is now affected by the +label.from.part param, just as preface, chapter, and appendix. + + +Mauritz Jeanson: callout.graphics.extension.xmlClarified that 'extension' refers to file names. + + +Michael(tm) Smith: abstract.notitle.enabled.xmlAdded new param abstract.notitle.enabled. +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. +Because sometimes you really don't want or need that title +there... + + +Michael(tm) Smith: man.string.subst.map.xmlUpdated manpages string-substitute map to reflect fact that +because of another recent change to suppress bold markup in .SH +output, we no longer need to add a workaround for the accidental +uppercasing of roff escapes that occurred previously. + + +Jirka Kosek: margin.note.float.type.xml; title.font.family.xml; table.frame.border.color.x⋯Improved parameter metadata + + +Robert Stayton: profile.wordsize.xml; profile.audience.xmlAdd support for profiling on new attributes audience and wordsize. + + +Robert Stayton: callout.graphics.number.limit.xml; callout.graphics.extension.xmlAdded SVG graphics for fo output. + + +Robert Stayton: callout.icon.size.xmlSet size of callout graphics. + + +Jirka Kosek: default.units.xml; chunker.output.method.xml; toc.list.type.xml; output.inden⋯Updated parameter metadata to the new format. + + +Jirka Kosek: man.output.quietly.xml; title.font.family.xml; footnote.sep.leader.properties⋯Added type annotations into parameter definition files. + + +Robert Stayton: section.container.element.xmlSupport spans in sections for certain processors. + + +Robert Stayton: component.titlepage.properties.xmlEmpty attribute set for top level component titlepage block. +Allows setting a span on title info. + + +Jirka Kosek: bibliography.style.xmlAdded link to WiKi page with description of special markup needed for ISO690 biblioentries + + +Robert Stayton: make.year.ranges.xmlClarify that multiple year elements are required. + + +Robert Stayton: id.warnings.xmlTurn off id.warnings by default. + + +Jirka Kosek: bibliography.style.xmlAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: header.table.properties.xml; footer.table.properties.xmlSupport adding table properties to header and footer tables. + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.72.0 release. + + +Jirka Kosek: c-hl.xml; xslthl-config.xmlAdded support for C language. Provided by Bruno Guegan. + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.72.0 release. + + +Robert Stayton: profile-mode.xslAdd support for new profiling attributes audience and wordsize. + + + + +Lib +The following changes have been made to the + lib code + since the 1.72.0 release. + + +Michael(tm) Smith: lib.xwebChanged name of prepend-pad template to pad-string and twheeked so +it can do both right/left padding. + + + + +Tools +The following changes have been made to the + tools code + since the 1.72.0 release. + + +Michael(tm) Smith: bin; bin/docbook-xsl-updateDid some cleanup to the install.sh source and added a +docbook-xsl-update script to the docbook-xsl distro, the purpose +of which is to facilitate easy sync-up to the latest docbook-xsl +snapshot (by means of rsync). + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.72.0 release. + + +Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯Added modifications so that the new callout.icon.size parameter is taken into account. This +parameter is used for FO output (where SVG now is the default graphics format for callouts). + + +Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯Added code for generating id attributes on callouts in HTML and FO output. +These patches enable cross-references to callouts placed by area coordinates. +It works for graphic, unicode and text callouts. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯Copied over Website XSL Java extensions. + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.72.0 release. + + +Michael(tm) Smith: Makefile; xalan2Turned off xalan2.jar build. This removes DocBook XSL +Java extensions support for versions of Xalan prior to +Xalan 2.7. If you are currently using the extensions +with an earlier version of Xalan, you need to upgrade +to Xalan 2.7. + + +Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯Added modifications so that the new callout.icon.size parameter is taken into account. This +parameter is used for FO output (where SVG now is the default graphics format for callouts). + + +Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯Added code for generating id attributes on callouts in HTML and FO output. +These patches enable cross-references to callouts placed by area coordinates. +It works for graphic, unicode and text callouts. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯Copied over Website XSL Java extensions. + + + + + + +Release: 1.72.0 +This release includes important bug fixes and adds the following +significant feature changes: + + + Automatic sorting of glossary entries + + The HTML and FO stylesheets now support automatic sorting + of glossary entries. To enable glossary sorting, set + the value of the glossary.sort parameter + to 1 (by default, it’s value is + 0). When you enable glossary sorting, + glossentry elements within a glossary, + glossdiv, or glosslist are sorted on the + glossterm, using the current language setting. If you + don’t enable glossary sorting, then the order of + glossentry elements is left “as is” — that is, they + are not sorted but are instead just displayed in document + order. + + + + WordML renamed to Roundtrip, OpenOffice support added + + Stylesheets for “roundtrip” conversion between documents in + OpenOffice format (ODF) and DocBook XML have been added to the set + of stylesheets that formerly had the collective title + WordML, and that set of stylesheets has + been renamed to Roundtrip to better + reflect the actual scope and purpose of its contents. + So the DocBook XSL Stylesheets now support roundtrip + conversion (with certain limitations) of WordML, OpenOffice, and + Apple Pages documents to and from DocBook XML. + + + + Including QandASet questions in TOCs + + The HTML stylesheet now provides support for including + QandASet questions in the document TOC. To + enable display of questions in the document TOC, set + the value of the qanda.in.toc to + 1 (by default, it’s 0). When you + enable qanda.in.toc, then the generated + table of contents for a document will include + qandaset titles, qandadiv titles, and + question elements. The default value of zero + excludes them from the TOC. + + The qanda.in.toc parameter does + not affect any tables of contents that may be generated + within a qandaset or + qandadiv (only in the document TOC). + + + + + + Language identifier in man-page filenames and pathnames + + Added new parameter man.output.lang.in.name.enabled, which controls whether + a language identifier is included in man-page filenames and + pathnames. It works like this: + + If the value of man.output.lang.in.name.enabled is non-zero, + man-page files are output with a language identifier included in + their filenames or pathnames as follows: + + + if + man.output.subdirs.enabled is non-zero, + each file is output to, e.g., a + /$lang/man8/foo.8 pathname + + if + man.output.subdirs.enabled is zero, + each file is output with a foo.$lang.8 + filename + + + + + + index.page.number.properties property set + + For FO output, use the + index.page.number.properties to control + formatting of page numbers in index output — to (for + example) to display page numbers in index output in a + different color (to indicate that they are links). + + + + Crop marks in output from Antenna House XSL Formatter + + Support has been added for generating crop marks in + print/PDF output generated using Antenna House XSL Formatter + + + + More string-substitution hooks in manpages output + + The man.string.subst.map.local.pre + and man.string.subst.map.local.post + parameters have been added to enable easier control over + custom string substitutions. + + + + Moved verbatim properties to attribute-set + + The hardcoded properties used in verbatim elements (literallayout, + programlisting, screen) were moved to the verbatim.properties + attribute-set so they can be more easily customized. + + + + enhanced simple.xlink template + + Now the simple.xlink template in inline.xsl works with + cross reference elements xref and link as well. Also, more elements + call simple.xlink, which enables DB5 xlink functionality. + + + + + DocBook 5 compatibility + + Stylesheets now consistently support DocBook 5 attributes + (such as xml:id). Also, DocBook 5 info elements are now checked + along with other *info elements, and the use of name() function + was replaced by local-name() so it also matches on DocBook 5 elements. + These changes enable reusing the stylesheets with DocBook 5 + documents with minimal fixup. + + + + + HTML class attributes now handled in class.attribute mode + + The HTML class attributes were formerly hardcoded to the + element name. Now the class attribute is generated by applying + templates in class.attribute mode so class attribute names + can be customized. The default is still the element name. + + + + arabic-indic numbering enabled in autolabels + + Numbering of chapter, sections, and pages can now use + arabic-indic numbering when number format is set to 'arabicindic' or + to ١. + + + +The following is a detailed list of changes (not +including bug fixes) that have been made since the 1.71.1 +release. + + +Common +The following changes have been made to the + common code + since the 1.71.1 release. + + +Add support for arabicindic numbering to autolabel.format template.M: /trunk/xsl/common/labels.xsl - Robert Stayton + + +Finish support for @xml:id everywhere @id is used.M: /trunk/xsl/common/gentext.xsl; M: /trunk/xsl/common/titles.xsl - Robert Stayton + + +replace name() with local-name() in most cases.M: /trunk/xsl/common/l10n.xsl; M: /trunk/xsl/common/olink.xsl; M: /trunk/xsl/common/subtitles.xsl; M: /trunk/xsl/common/labels.xsl; M: /trunk/xsl/common/titles.xsl; M: /trunk/xsl/common/common.xsl - Robert Stayton + + +Add support for info.M: /trunk/xsl/common/subtitles.xsl; M: /trunk/xsl/common/labels.xsl; M: /trunk/xsl/common/titles.xsl; M: /trunk/xsl/common/common.xsl; M: /trunk/xsl/common/targets.xsl - Robert Stayton + + +Add utility template tabstyle to return the tabstyle from +any table element.M: /trunk/xsl/common/table.xsl - Robert Stayton + + + + + +FO +The following changes have been made to the + fo code + since the 1.71.1 release. + + +Add support for sorting glossary entriesM: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent; M: /trunk/xsl/fo/glossary.xsl - Robert Stayton + + +Add table.row.properties template to customize table rows.M: /trunk/xsl/fo/table.xsl - Robert Stayton + + +Moved all properties to attribute-sets so can be customized more easily.M: /trunk/xsl/fo/verbatim.xsl - Robert Stayton + + +Add index.page.number.properties attribute-set to format page numbers.M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + +xref now supports xlink:href, using simple.xlink template.M: /trunk/xsl/fo/xref.xsl - Robert Stayton + + +Rewrote simple.xlink, and call it with all charseq templates.M: /trunk/xsl/fo/inline.xsl - Robert Stayton + + +Add simple.xlink processing to term and member elements.M: /trunk/xsl/fo/lists.xsl - Robert Stayton + + +Add support for crop marks in Antenna House.M: /trunk/xsl/fo/axf.xsl; M: /trunk/xsl/fo/pagesetup.xsl - Robert Stayton + + + + + +HTML +The following changes have been made to the + html code + since the 1.71.1 release. + + +Add support for sorting glossary entriesM: /trunk/xsl/html/glossary.xsl - Robert Stayton + + +Add support for qanda.in.toc to add qandaentry questions to document TOC.M: /trunk/xsl/html/autotoc.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Robert Stayton + + +add simple.xlink support to variablelist term and simplelist member.M: /trunk/xsl/html/lists.xsl - Robert Stayton + + +*.propagates.style now handled in class.attribute mode.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/block.xsl; M: /trunk/xsl/html/footnote.xsl - Robert Stayton + + +add class parameter to class.attribute mode to set default class.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Convert all class attributes to use the class.attribute mode +so class names can be customized more easily.M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/chunk-code.xsl; M: /trunk/xsl/html/division.xsl; M: /trunk/xsl/html/sections.xsl; M: /trunk/xsl/html/math.xsl; M: /trunk/xsl/html/block.xsl; M: /trunk/xsl/html/info.xsl; M: /trunk/xsl/html/footnote.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/admon.xsl; M: /trunk/xsl/html/refentry.xsl; M: /trunk/xsl/html/qandaset.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/biblio.xsl; M: /trunk/xsl/html/task.xsl; M: /trunk/xsl/html/component.xsl; M: /trunk/xsl/html/glossary.xsl; M: /trunk/xsl/html/callout.xsl; M: /trunk/xsl/html/index.xsl; M: /trunk/xsl/html/synop.xsl; M: /trunk/xsl/html/verbatim.xsl; M: /trunk/xsl/html/ebnf.xsl - Robert Stayton + + +Add class.attribute mode to generate class attributes.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Added simple.xlink to most remaining inlines. +Changed class attributes to applying class.attributes mode.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Changed xref template to use simple.xlink tempalte.M: /trunk/xsl/html/xref.xsl - Robert Stayton + + +Improve generate.html.title to work with link targets too.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Improved simple.xlink to support link and xref.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Use new link.title.attribute now.M: /trunk/xsl/html/xref.xsl - Robert Stayton + + +Rewrote simple.xlink to handle linkend also. +Better computation of title attribute on link too.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Handle Xalan quirk as special case.M: /trunk/xsl/html/db5strip.xsl - Robert Stayton + + +Add support for info.M: /trunk/xsl/html/admon.xsl; M: /trunk/xsl/html/autotoc.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/refentry.xsl; M: /trunk/xsl/html/biblio.xsl; M: /trunk/xsl/html/qandaset.xsl; M: /trunk/xsl/html/component.xsl; M: /trunk/xsl/html/glossary.xsl; M: /trunk/xsl/html/division.xsl; M: /trunk/xsl/html/index.xsl; M: /trunk/xsl/html/sections.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/block.xsl - Robert Stayton + + +Fixed imagemaps so they work properly going from calspair coords +to HTML area coords.M: /trunk/xsl/html/graphics.xsl - Robert Stayton + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.71.1 release. + + +Added doc for man.output.lang.in.name.enabled parameter. This +checkin completes support for writing file/pathnames for man-pages +with $lang include in the names. Closes #1585967. knightly +accolades to Daniel Leidert for providing the feature request.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent - Michael(tm) Smith + + +Added new param man.output.lang.in.name.enabled, which +controls whether $LANG value is included in manpages +filenames and pathnames. It works like this: + +If the value of man.output.lang.in.name.enabled is non-zero, +man-page files are output with the $lang value included in +their filenames or pathnames as follows; + +- if man.output.subdirs.enabled is non-zero, each file is + output to, e.g., a /$lang/man8/foo.8 pathname + +- if man.output.subdirs.enabled is zero, each file is output + with a foo.$lang.8 filenameM: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Use "\e" instead of "\\" for backslash output, because the +groff docs say that's the correct thing to do; also because +testing (thanks, Paul Dubois) shows that "\\" doesn't always +work as expected; for example, "\\" within a table seems to +mess things up.M: /trunk/xsl/manpages/charmap.groff.xsl - Michael(tm) Smith + + +Added the man.string.subst.map.local.pre and +man.string.subst.map.local.post parameters. Those parameters +enable local additions and changes to string-substitution mappings +without the need to change the value of man.string.subst.map +parameter (which is for standard system mappings). Closes +#1456738. Thanks to Sam Steingold for constructing a true +stylesheet torture test (the clisp docs) that exposed the need for +these params.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent; M: /trunk/xsl/manpages/other.xsl - Michael(tm) Smith + + +Added the Markup element to the list of elements that get output +in bold. Thanks to Eric S. Raymond.M: /trunk/xsl/manpages/inline.xsl - Michael(tm) Smith + + +Replaced all dots in roff requests with U+2302 ("house" +character), and added escaping in output for all instances of dot +that are not in roff requests. This fixes the problem case where a +string beginning with a dot (for example, the string ".bashrc") +might occur at the beginning of a line in output, in which case +would mistakenly get interpreted as a roff request. Thanks to Eric +S. Raymond for pushing to fix this.M: /trunk/xsl/manpages/table.xsl; M: /trunk/xsl/manpages/synop.xsl; M: /trunk/xsl/manpages/block.xsl; M: /trunk/xsl/manpages/info.xsl; M: /trunk/xsl/manpages/lists.xsl; M: /trunk/xsl/manpages/refentry.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Made change to ensure that list content nested in +itemizedlist and orderedlist instances is properly indented. This +is a switch from using .TP to format those lists to using .RS/.RE +to format them instead (because .TP does not allow nesting). Closes bug #1602616. +Thanks to Daniel Leidert.M: /trunk/xsl/manpages/lists.xsl - Michael(tm) Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.71.1 release. + + +Added doc for man.output.lang.in.name.enabled parameter. This +checkin completes support for writing file/pathnames for man-pages +with $lang include in the names. Closes #1585967. knightly +accolades to Daniel Leidert for providing the feature request.A: /trunk/xsl/params/man.output.lang.in.name.enabled.xml - Michael(tm) Smith + + +Added new param man.output.lang.in.name.enabled, which +controls whether $LANG value is included in manpages +filenames and pathnames. It works like this: + +If the value of man.output.lang.in.name.enabled is non-zero, +man-page files are output with the $lang value included in +their filenames or pathnames as follows; + +- if man.output.subdirs.enabled is non-zero, each file is + output to, e.g., a /$lang/man8/foo.8 pathname + +- if man.output.subdirs.enabled is zero, each file is output + with a foo.$lang.8 filenameM: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Added the man.string.subst.map.local.pre and +man.string.subst.map.local.post parameters. Those parameters +enable local additions and changes to string-substitution mappings +without the need to change the value of man.string.subst.map +parameter (which is for standard system mappings). Closes +#1456738. Thanks to Sam Steingold for constructing a true +stylesheet torture test (the clisp docs) that exposed the need for +these params.A: /trunk/xsl/params/man.string.subst.map.local.post.xml; A: /trunk/xsl/params/man.string.subst.map.local.pre.xml; M: /trunk/xsl/params/man.string.subst.map.xml - Michael(tm) Smith + + +Add index.page.number.properties by default.M: /trunk/xsl/params/xep.index.item.properties.xml - Robert Stayton + + +Added index.page.number.properties to allow customizations of page numbers in indexes.A: /trunk/xsl/params/index.page.number.properties.xml - Robert Stayton + + +Move show-destination="replace" property from template to attribute-set +so it can be customized.M: /trunk/xsl/params/olink.properties.xml - Robert Stayton + + +Add support for sorting glossary entriesA: /trunk/xsl/params/glossary.sort.xml - Robert Stayton + + +Add option to include qanda in tables of contents.A: /trunk/xsl/params/qanda.in.toc.xml - Robert Stayton + + +Moved all properties to attribute-sets so can be customized more easily.M: /trunk/xsl/params/verbatim.properties.xml - Robert Stayton + + + + + +Template +The following changes have been made to the + template code + since the 1.71.1 release. + + +Added workaround for Xalan bug: use for-each and copy instead of copy-of (#1604770).M: /trunk/xsl/template/titlepage.xsl - Mauritz Jeanson + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.71.1 release. + + +rename to roundtrip, add OpenOffice supportM: /trunk/xsl/roundtrip/docbook-pages.xsl; M: /trunk/xsl/roundtrip/specifications.xml; A: /trunk/xsl/roundtrip/dbk2ooo.xsl; M: /trunk/xsl/roundtrip/docbook.xsl; A: /trunk/xsl/roundtrip/dbk2pages.xsl; M: /trunk/xsl/roundtrip/template.xml; A: /trunk/xsl/roundtrip/dbk2wordml.xsl; A: /trunk/xsl/roundtrip/dbk2wp.xsl; M: /trunk/xsl/roundtrip/template.dot; M: /trunk/xsl/roundtrip/wordml-final.xsl - Steve Ball + + + + + + +Release: 1.71.1 +This is a minor update to the 1.71.0 release. Along with a +number of bug fixes, it includes two feature changes: + + + + Added support for profiling based on xml:lang and status attributes. + + + Added initial support in manpages output for + footnote, annotation, and alt + instances. Basically, they all now get handled the same way + ulink instances are. They are treated as a class as + "note sources": A numbered marker is generated at the place in the + main text flow where they occur, then their contents are displayed + in an endnotes section at the end of the man page. + + + + + +Common +The following changes have been made to the + common code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.D: /trunk/xsl/common/autoidx-ng.xsl - Jirka Kosek + + +Add support for Xalan generating a root xml:base like saxon.M: /trunk/xsl/common/stripns.xsl - Robert Stayton + + + + + +FO +The following changes have been made to the + fo code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.M: /trunk/xsl/fo/autoidx-ng.xsl; M: /trunk/xsl/fo/autoidx-kosek.xsl - Jirka Kosek + + +Add support for Xalan to add root node xml:base for db5 docs.M: /trunk/xsl/fo/docbook.xsl - Robert Stayton + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.M: /trunk/xsl/html/autoidx-ng.xsl; M: /trunk/xsl/html/autoidx-kosek.xsl - Jirka Kosek + + +Add support for Xalan to add root node xml:base for db5 docs.M: /trunk/xsl/html/chunk-code.xsl; M: /trunk/xsl/html/docbook.xsl - Robert Stayton + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Jirka Kosek + + +Made changes in namespace declarations to prevent xmllint's +canonicalizer from treating them as relative namespace URIs. + + - Changed xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" + to xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService"; + Saxon accepts either form + (see http://www.saxonica.com/documentation/extensibility/functions.html); + to Saxon, "the part of the URI before the final '/' is immaterial". + + - Changed, e.g. xmlns:xverb="com.nwalsh.xalan.Verbatim" to + xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"; Xalan accepts + either form + (see http://xml.apache.org/xalan-j/extensions.html#java-namespace-declare); + just as Saxon does, it will "simply use the string to the + right of the rightmost forward slash as the Java class name". + + - Changed xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" + to xmlns:redirect="http://xml.apache.org/xalan/redirect", and + adjusted associated code to make the current Xalan redirect spec. + (see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html)M: /trunk/xsl/html/oldchunker.xsl; M: /trunk/xsl/html/chunker.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/callout.xsl; M: /trunk/xsl/html/autoidx-kimber.xsl; M: /trunk/xsl/html/autoidx-kosek.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/verbatim.xsl - Michael(tm) Smith + + +Added the html.append and chunk.append parameters. By default, the +value of both is empty; but the internal DocBook XSL stylesheets +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order +to ensure that all files in the docbook-xsl-doc package end in a +newline character. (Because diff and some other tools may emit +error messages and/or not behave as expected when processing +files that are not newline-terminated.)M: /trunk/xsl/html/chunk-common.xsl; M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/docbook.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.71.1 release. + + +Added license informationM: /trunk/xsl/highlighting/delphi-hl.xml; M: /trunk/xsl/highlighting/myxml-hl.xml; M: /trunk/xsl/highlighting/php-hl.xml; M: /trunk/xsl/highlighting/m2-hl.xml; M: /trunk/xsl/highlighting/ini-hl.xml; M: /trunk/xsl/highlighting/xslthl-config.xml; M: /trunk/xsl/highlighting/java-hl.xml - Jirka Kosek + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.71.1 release. + + +Added initial support in manpages output for footnote, annotation, +and alt instances. Basically, they all now get handled the same +way ulink instances are. They are treated as a class as "note +sources": A numbered marker is generated at the place in the main +text flow where they occur, then their contents are displayed in +an endnotes section at the end of the man page (currently titled +REFERENCES, for English output, but will be changed to NOTES). + +This support is not yet complete. It works for most "normal" +cases, but probably mishandles a good number of cases. More +testing will be needed to expose the problems. It may well also +introduce some bugs and regressions in other areas, including +basic paragraph handling, handling of "mixed block" content, +handling of other indented content, and handling of authorblurb +and personblurb in the AUTHORS section.M: /trunk/xsl/manpages/table.xsl; M: /trunk/xsl/manpages/block.xsl; M: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.71.1 release. + + +Added support for profiling based on xml:lang and status attributes.A: /trunk/xsl/params/profile.status.xml - Jirka Kosek + + +Added the html.append and chunk.append parameters. By default, the +value of both is empty; but the internal DocBook XSL stylesheets +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order +to ensure that all files in the docbook-xsl-doc package end in a +newline character. (Because diff and some other tools may emit +error messages and/or not behave as expected when processing +files that are not newline-terminated.)A: /trunk/xsl/params/html.append.xml; A: /trunk/xsl/params/chunk.append.xml - Michael(tm) Smith + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.71.1 release. + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/profiling/profile.xsl; M: /trunk/xsl/profiling/profile-mode.xsl - Jirka Kosek + + + + + + + +Release: 1.71.0 +This is mainly a bug fix release, but it also includes two +significant feature changes: + + + Highlighting support added + + The stylesheets now include support for source-code + highlighting in output of programlisting instances (controlled + through the highlight.source + parameter). The Java-based implementation requires Saxon and + makes use of MichalMolhanec’s XSLTHL. More details are available at Jirka Kosek’s + website:
    The support is currently limited to highlighting + of XML, Java, PHP, Delphi, Modula-2 sources, and INI + files.
    +
    +
    + + Changes to autoindexing + + The templates that handle alternative indexing methods + were reworked to avoid errors produced by certain processors not + being able to tolerate the presence of unused functions. With + this release, none of the code for the 'kimber' or 'kosek' + methods is included in the default stylesheets. In order to use + one of those methods, your customization layer must import one + of the optional stylesheet modules: + + + + html/autoidx-kosek.xsl + + + html/autoidx-kimber.xsl + + + fo/autoidx-kosek.xsl + + + fo/autoidx-kimber.xsl + + + See the index.method parameter + reference page for more information. + + Two other changes to note: + + + The default indexing method now can handle accented + characters in latin-based alphabets, not just English. This + means accented latin letters will group and sort with their + unaccented counterpart. + + + The default value for the + index.method parameter was changed + from 'english' to 'basic' because now the default method can + handle latin-based alphabets, not just English. + + + + + +
    +The following is a list of changes that have +been made since the 1.70.1 release.
    + + +Common +The following changes have been made to the + common code + since the 1.70.1 release. + + + +Added reference.autolabel parameter for controlling labels on +reference output.M: /trunk/xsl/common/labels.xsl - Michael(tm) Smith + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/common/table.xsl - Norman Walsh + + +New modules for supporting indexing extensions.A: /trunk/xsl/common/autoidx-kimber.xsl; A: /trunk/xsl/common/autoidx-kosek.xsl - Robert Stayton + + +Support startinglinenumber on orderedlistM: /trunk/xsl/common/common.xsl - Norman Walsh + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.70.1 release. + + +Completely reworked extensions build system; now uses NetBeans and antD: /trunk/xsl/extensions/xalan27/.cvsignore; A: /trunk/xsl/extensions/saxon65/nbproject; A: /trunk/xsl/extensions/saxon65/nbproject/project.properties; D: /trunk/xsl/extensions/prj.el; A: /trunk/xsl/extensions/saxon65/src; A: /trunk/xsl/extensions/xalan2/src/com; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Text.java; A: /trunk/xsl/extensions/saxon65/nbproject/project.xml; D: /trunk/xsl/extensions/build.xml; A: /trunk/xsl/extensions/saxon65/build.xml; A: /trunk/xsl/extensions/xalan2/nbproject/genfiles.properties; A: /trunk/xsl/extensions/saxon65; D: /trunk/xsl/extensions/xalan2/com; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Func.java; A: /trunk/xsl/extensions/xalan2/test; A: /trunk/xsl/extensions/saxon65/src/com; A: /trunk/xsl/extensions/xalan2/nbproject/build-impl.xml; A: /trunk/xsl/extensions/xalan2/nbproject; A: /trunk/xsl/extensions/xalan2/src; A: /trunk/xsl/extensions/xalan2/nbproject/project.properties; D: /trunk/xsl/extensions/.cvsignore; M: /trunk/xsl/extensions/Makefile; D: /trunk/xsl/extensions/saxon8; A: /trunk/xsl/extensions/saxon65/nbproject/genfiles.properties; A: /trunk/xsl/extensions/xalan2/nbproject/project.xml; A: /trunk/xsl/extensions/saxon65/test; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Verbatim.java; A: /trunk/xsl/extensions/xalan2/build.xml; M: /trunk/xsl/extensions/xalan2; D: /trunk/xsl/extensions/saxon643; A: /trunk/xsl/extensions/saxon65/nbproject/build-impl.xml - Norman Walsh + + + + + +FO +The following changes have been made to the + fo code + since the 1.70.1 release. + + + +xsl:sort lang attribute now uses two-char substring of lang attribute.M: /trunk/xsl/fo/autoidx-kimber.xsl - Robert Stayton + + + +Support titlecase "Java", "Perl", and "IDL" as values for the +language attribute on classsynopsis, etc. (instead of just +lowercase "java", "perl", and "idl"). Also support "c++" and "C++" +(instead of just "cpp"). + +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks +to "Brian A. Vanderburg II".M: /trunk/xsl/fo/synop.xsl - Michael(tm) Smith + + + +Added support for the reference.autolabel param in (X)HTML and FO +output.M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Michael(tm) Smith + + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/fo/table.xsl - Norman Walsh + + + +Rearranged templates for the 3 indexing methods +and changed method named 'english' to 'basic'.M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + +New modules for supporting indexing extensions.A: /trunk/xsl/fo/autoidx-kimber.xsl; A: /trunk/xsl/fo/autoidx-kosek.xsl - Robert Stayton + + + +Turn off blank-body for fop1.extensions too since fop 0.92 +does not support it either.M: /trunk/xsl/fo/pagesetup.xsl - Robert Stayton + + + +Add Xalan variant to test for exslt:node-set function. +Xalan can use function named node-set(), but doesn't +recognize it using function-available().M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + + +Added support to FO stylesheets for handling instances of Org +where it occurs outside of *info content. In HTML stylesheets, +moved handling of Org out of info.xsl and into inline.xsl. In both +FO and HTML stylesheets, added support for correctly processing +Affiliation and Jobtitle.M: /trunk/xsl/fo/inline.xsl - Michael(tm) Smith + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/fo/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/fo/inline.xsl; M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Michael(tm) Smith + + + +Initial support of syntax highlighting of programlistings.M: /trunk/xsl/fo/param.ent; M: /trunk/xsl/fo/param.xweb; A: /trunk/xsl/fo/highlight.xsl; M: /trunk/xsl/fo/verbatim.xsl - Jirka Kosek + + +Chapter after preface should restart numbering of pages.M: /trunk/xsl/fo/pagesetup.xsl - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.70.1 release. + + + +xsl:sort lang attribute now uses two-char substring of lang attribute.M: /trunk/xsl/html/autoidx-kimber.xsl - Robert Stayton + + +Support titlecase "Java", "Perl", and "IDL" as values for the +language attribute on classsynopsis, etc. (instead of just +lowercase "java", "perl", and "idl"). Also support "c++" and "C++" +(instead of just "cpp"). + +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks +to "Brian A. Vanderburg II".M: /trunk/xsl/html/synop.xsl - Michael(tm) Smith + + + +Added support for the reference.autolabel param in (X)HTML and FO +output.M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/html/table.xsl - Norman Walsh + + + +Rearranged templates for the 3 indexing methods +and changed method named 'english' to 'basic'.M: /trunk/xsl/html/autoidx.xsl - Robert Stayton + + +New modules for supporting indexing extensions.A: /trunk/xsl/html/autoidx-kimber.xsl; A: /trunk/xsl/html/autoidx-kosek.xsl - Robert Stayton + + + +Added several new HTML parameters for controlling appearance of +content on HTML title pages: + +contrib.inline.enabled: + If non-zero (the default), output of the contrib element is + displayed as inline content rather than as block content. + +othercredit.like.author.enabled: + If non-zero, output of the othercredit element on titlepages is + displayed in the same style as author and editor output. If zero + (the default), othercredit output is displayed using a style + different than that of author and editor. + +blurb.on.titlepage.enabled: + If non-zero, output from authorblurb and personblurb elements is + displayed on title pages. If zero (the default), output from + those elements is suppressed on title pages (unless you are + using a titlepage customization that causes them to be included). + +editedby.enabled + If non-zero (the default), a localized Edited by heading is + displayed above editor names in output of the editor element.M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + +Add Xalan variant to test for exslt:node-set function. +Xalan can use function named node-set(), but doesn't +recognize it using function-available().M: /trunk/xsl/html/autoidx.xsl - Robert Stayton + + + +Added support to FO stylesheets for handling instances of Org +where it occurs outside of *info content. In HTML stylesheets, +moved handling of Org out of info.xsl and into inline.xsl. In both +FO and HTML stylesheets, added support for correctly processing +Affiliation and Jobtitle.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/info.xsl - Michael(tm) Smith + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/html/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + +Added qanda.nested.in.toc param. Default value is zero. If +non-zero, instances of "nested" Qandaentry (ones that are children +of Answer elements) are displayed in the TOC. Closes patch 1509018 +(from Daniel Leidert). Currently on affects HTML output (no patch +for FO output provided).M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent; M: /trunk/xsl/html/qandaset.xsl - Michael(tm) Smith + + + + +Improved handling of relative locations generated filesM: /trunk/xsl/html/html.xsl - Jirka Kosek + + + +Initial support of syntax highlighting of programlistings.M: /trunk/xsl/html/param.ent; M: /trunk/xsl/html/param.xweb; A: /trunk/xsl/html/highlight.xsl; M: /trunk/xsl/html/verbatim.xsl - Jirka Kosek + + +Support orgM: /trunk/xsl/html/info.xsl - Norman Walsh + + +Support personM: /trunk/xsl/html/inline.xsl - Norman Walsh + + +Support $keep.relative.image.uris also when chunkingM: /trunk/xsl/html/chunk-code.xsl - Jirka Kosek + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.70.1 release. + + + +Initial support of syntax highlighting of programlistings.A: /trunk/xsl/highlighting/php-hl.xml; A: /trunk/xsl/highlighting/common.xsl; A: /trunk/xsl/highlighting/delphi-hl.xml; A: /trunk/xsl/highlighting/myxml-hl.xml; A: /trunk/xsl/highlighting/m2-hl.xml; A: /trunk/xsl/highlighting/ini-hl.xml; A: /trunk/xsl/highlighting/xslthl-config.xml; A: /trunk/xsl/highlighting/java-hl.xml - Jirka Kosek + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.70.1 release. + + + +Suppress footnote markers and output warning that footnotes are +not yet supported.M: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl - Michael(tm) Smith + + + +Handle instances of address/otheraddr/ulink in author et al in the +same way as email instances; that is, display them on the same +linke as the author, editor, etc., name.M: /trunk/xsl/manpages/info.xsl - Michael(tm) Smith + + +Don't number or link-list any Ulink instance whose string value is +identical to the value of its url attribute. Just display it inline.M: /trunk/xsl/manpages/links.xsl - Michael(tm) Smith + + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/manpages/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent - Michael(tm) Smith + + + +In manpages output, if the last/nearest *info element for +particular Refentry has multiple Copyright and/or Legalnotice +children, process them all (not just the first ones). Closes bug +1524576. Thanks to Sam Steingold for the report and to Daniel +Leidert for providing a patch.M: /trunk/xsl/manpages/info.xsl - Michael(tm) Smith + + + + + + +Params +The following changes have been made to the + params code + since the 1.70.1 release. + + +Added reference.autolabel parameter for controlling labels on +reference output.A: /trunk/xsl/params/reference.autolabel.xml - Michael(tm) Smith + + +Added namespace declarations to document elements for all param files.M: /trunk/xsl/params/toc.line.properties.xml; M: /trunk/xsl/params/title.font.family.xml; M: /trunk/xsl/params/component.label.includes.part.label.xml; M: /trunk/xsl/params/refentry.manual.profile.xml; M: /trunk/xsl/params/orderedlist.properties.xml; M: /trunk/xsl/params/olink.pubid.xml; M: /trunk/xsl/params/informalexample.properties.xml; M: /trunk/xsl/params/appendix.autolabel.xml; M: /trunk/xsl/params/htmlhelp.show.toolbar.text.xml; M: /trunk/xsl/params/index.on.role.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.url.xml; M: /trunk/xsl/params/variablelist.term.separator.xml; M: /trunk/xsl/params/para.propagates.style.xml; M: /trunk/xsl/params/html.stylesheet.xml; M: /trunk/xsl/params/qanda.nested.in.toc.xml; M: /trunk/xsl/params/annotation.css.xml; M: /trunk/xsl/params/funcsynopsis.style.xml; M: /trunk/xsl/params/htmlhelp.encoding.xml; M: /trunk/xsl/params/footer.content.properties.xml; M: /trunk/xsl/params/verbatim.properties.xml; M: /trunk/xsl/params/autotoc.label.in.hyperlink.xml; M: /trunk/xsl/params/body.margin.top.xml; M: /trunk/xsl/params/bibliography.numbered.xml; M: /trunk/xsl/params/figure.properties.xml; M: /trunk/xsl/params/variablelist.max.termlength.xml; M: /trunk/xsl/params/table.cell.border.style.xml; M: /trunk/xsl/params/htmlhelp.button.options.xml; M: /trunk/xsl/params/preferred.mediaobject.role.xml; M: /trunk/xsl/params/htmlhelp.chm.xml; M: /trunk/xsl/params/man.charmap.subset.profile.xml; M: /trunk/xsl/params/qanda.title.level3.properties.xml; M: /trunk/xsl/params/page.width.xml; M: /trunk/xsl/params/firstterm.only.link.xml; M: /trunk/xsl/params/section.level6.properties.xml; M: /trunk/xsl/params/htmlhelp.button.locate.xml; M: /trunk/xsl/params/chunk.sections.xml; M: /trunk/xsl/params/use.local.olink.style.xml; M: /trunk/xsl/params/refentry.date.profile.enabled.xml; M: /trunk/xsl/params/refentry.version.suppress.xml; M: /trunk/xsl/params/refentry.generate.title.xml; M: /trunk/xsl/params/punct.honorific.xml; M: /trunk/xsl/params/column.gap.index.xml; M: /trunk/xsl/params/body.start.indent.xml; M: /trunk/xsl/params/crop.mark.width.xml; M: /trunk/xsl/params/refentry.version.profile.enabled.xml; M: /trunk/xsl/params/superscript.properties.xml; M: /trunk/xsl/params/chunker.output.doctype-public.xml; M: /trunk/xsl/params/saxon.character.representation.xml; M: /trunk/xsl/params/saxon.linenumbering.xml; M: /trunk/xsl/params/shade.verbatim.style.xml; M: /trunk/xsl/params/annotate.toc.xml; M: /trunk/xsl/params/profile.attribute.xml; M: /trunk/xsl/params/callout.graphics.number.limit.xml; M: /trunk/xsl/params/profile.arch.xml; M: /trunk/xsl/params/saxon.tablecolumns.xml; M: /trunk/xsl/params/glossterm.auto.link.xml; M: /trunk/xsl/params/default.units.xml; M: /trunk/xsl/params/qanda.title.level1.properties.xml; M: /trunk/xsl/params/list.block.spacing.xml; M: /trunk/xsl/params/section.level4.properties.xml; M: /trunk/xsl/params/spacing.paras.xml; M: /trunk/xsl/params/column.count.index.xml; M: /trunk/xsl/params/dingbat.font.family.xml; M: /trunk/xsl/params/citerefentry.link.xml; M: /trunk/xsl/params/keep.relative.image.uris.xml; M: /trunk/xsl/params/ulink.footnotes.xml; M: /trunk/xsl/params/prefer.internal.olink.xml; M: /trunk/xsl/params/refentry.title.properties.xml; M: /trunk/xsl/params/variablelist.term.break.after.xml; M: /trunk/xsl/params/use.id.function.xml; M: /trunk/xsl/params/callout.unicode.start.character.xml; M: /trunk/xsl/params/column.gap.titlepage.xml; M: /trunk/xsl/params/editedby.enabled.xml; M: /trunk/xsl/params/funcsynopsis.tabular.threshold.xml; M: /trunk/xsl/params/use.extensions.xml; M: /trunk/xsl/params/index.preferred.page.properties.xml; M: /trunk/xsl/params/man.th.extra3.max.length.xml; M: /trunk/xsl/params/column.gap.back.xml; M: /trunk/xsl/params/tex.math.delims.xml; M: /trunk/xsl/params/article.appendix.title.properties.xml; M: /trunk/xsl/params/ulink.target.xml; M: /trunk/xsl/params/suppress.header.navigation.xml; M: /trunk/xsl/params/olink.resolver.xml; M: /trunk/xsl/params/admon.textlabel.xml; M: /trunk/xsl/params/procedure.properties.xml; M: /trunk/xsl/params/blurb.on.titlepage.enabled.xml; M: /trunk/xsl/params/section.level2.properties.xml; M: /trunk/xsl/params/column.gap.front.xml; M: /trunk/xsl/params/margin.note.title.properties.xml; M: /trunk/xsl/params/glossary.collection.xml; M: /trunk/xsl/params/admon.graphics.xml; M: /trunk/xsl/params/current.docid.xml; M: /trunk/xsl/params/qanda.inherit.numeration.xml; M: /trunk/xsl/params/table.cell.padding.xml; M: /trunk/xsl/params/preface.autolabel.xml; M: /trunk/xsl/params/man.th.extra3.suppress.xml; M: /trunk/xsl/params/wordml.template.xml; M: /trunk/xsl/params/htmlhelp.use.hhk.xml; M: /trunk/xsl/params/textinsert.extension.xml; M: /trunk/xsl/params/ebnf.table.bgcolor.xml; M: /trunk/xsl/params/refentry.source.fallback.profile.xml; M: /trunk/xsl/params/body.font.master.xml; M: /trunk/xsl/params/l10n.gentext.default.language.xml; M: /trunk/xsl/params/list.block.properties.xml; M: /trunk/xsl/params/refentry.source.name.suppress.xml; M: /trunk/xsl/params/htmlhelp.hhp.window.xml; M: /trunk/xsl/params/sidebar.properties.xml; M: /trunk/xsl/params/tex.math.file.xml; M: /trunk/xsl/params/man.justify.xml; M: /trunk/xsl/params/subscript.properties.xml; M: /trunk/xsl/params/column.count.front.xml; M: /trunk/xsl/params/index.term.separator.xml; M: /trunk/xsl/params/biblioentry.properties.xml; M: /trunk/xsl/params/biblioentry.item.separator.xml; M: /trunk/xsl/params/htmlhelp.button.home.url.xml; M: /trunk/xsl/params/column.count.body.xml; M: /trunk/xsl/params/suppress.navigation.xml; M: /trunk/xsl/params/htmlhelp.remember.window.position.xml; M: /trunk/xsl/params/htmlhelp.hhc.section.depth.xml; M: /trunk/xsl/params/xref.with.number.and.title.xml; M: /trunk/xsl/params/make.year.ranges.xml; M: /trunk/xsl/params/region.before.extent.xml; M: /trunk/xsl/params/xref.label-page.separator.xml; M: /trunk/xsl/params/html.longdesc.link.xml; M: /trunk/xsl/params/man.subheading.divider.enabled.xml; M: /trunk/xsl/params/index.entry.properties.xml; M: /trunk/xsl/params/generate.legalnotice.link.xml; M: /trunk/xsl/params/section.autolabel.xml; M: /trunk/xsl/params/html.base.xml; M: /trunk/xsl/params/suppress.footer.navigation.xml; M: /trunk/xsl/params/nominal.image.depth.xml; M: /trunk/xsl/params/table.footnote.number.symbols.xml; M: /trunk/xsl/params/table.footnote.number.format.xml; M: /trunk/xsl/params/callout.graphics.xml; M: /trunk/xsl/params/man.break.after.slash.xml; M: /trunk/xsl/params/function.parens.xml; M: /trunk/xsl/params/part.autolabel.xml; M: /trunk/xsl/params/saxon.callouts.xml; M: /trunk/xsl/params/css.decoration.xml; M: /trunk/xsl/params/htmlhelp.button.home.xml; M: /trunk/xsl/params/email.delimiters.enabled.xml; M: /trunk/xsl/params/column.count.lot.xml; M: /trunk/xsl/params/draft.mode.xml; M: /trunk/xsl/params/use.role.for.mediaobject.xml; M: /trunk/xsl/params/refentry.separator.xml; M: /trunk/xsl/params/man.font.funcsynopsisinfo.xml; M: /trunk/xsl/params/man.output.manifest.filename.xml; M: /trunk/xsl/params/process.empty.source.toc.xml; M: /trunk/xsl/params/man.output.in.separate.dir.xml; M: /trunk/xsl/params/graphicsize.use.img.src.path.xml; M: /trunk/xsl/params/man.output.encoding.xml; M: /trunk/xsl/params/column.gap.lot.xml; M: /trunk/xsl/params/profile.role.xml; M: /trunk/xsl/params/column.count.titlepage.xml; M: /trunk/xsl/params/show.comments.xml; M: /trunk/xsl/params/informalfigure.properties.xml; M: /trunk/xsl/params/entry.propagates.style.xml; M: /trunk/xsl/params/bibliography.collection.xml; M: /trunk/xsl/params/contrib.inline.enabled.xml; M: /trunk/xsl/params/section.title.level5.properties.xml; M: /trunk/xsl/params/fop.extensions.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.xml; M: /trunk/xsl/params/man.hyphenate.urls.xml; M: /trunk/xsl/params/profile.condition.xml; M: /trunk/xsl/params/header.column.widths.xml; M: /trunk/xsl/params/annotation.js.xml; M: /trunk/xsl/params/chunker.output.standalone.xml; M: /trunk/xsl/params/targets.filename.xml; M: /trunk/xsl/params/default.float.class.xml; M: /trunk/xsl/params/chapter.autolabel.xml; M: /trunk/xsl/params/sidebar.float.type.xml; M: /trunk/xsl/params/profile.separator.xml; M: /trunk/xsl/params/generate.index.xml; M: /trunk/xsl/params/nongraphical.admonition.properties.xml; M: /trunk/xsl/params/navig.graphics.xml; M: /trunk/xsl/params/htmlhelp.button.next.xml; M: /trunk/xsl/params/insert.olink.pdf.frag.xml; M: /trunk/xsl/params/htmlhelp.button.stop.xml; M: /trunk/xsl/params/footnote.font.size.xml; M: /trunk/xsl/params/profile.value.xml; M: /trunk/xsl/params/ebnf.table.border.xml; M: /trunk/xsl/params/htmlhelp.hhc.folders.instead.books.xml; M: /trunk/xsl/params/glossary.as.blocks.xml; M: /trunk/xsl/params/body.end.indent.xml; M: /trunk/xsl/params/use.role.as.xrefstyle.xml; M: /trunk/xsl/params/man.indent.blurbs.xml; M: /trunk/xsl/params/chunker.output.encoding.xml; M: /trunk/xsl/params/chunker.output.omit-xml-declaration.xml; M: /trunk/xsl/params/sans.font.family.xml; M: /trunk/xsl/params/html.cleanup.xml; M: /trunk/xsl/params/htmlhelp.hhp.xml; M: /trunk/xsl/params/htmlhelp.only.xml; M: /trunk/xsl/params/eclipse.plugin.name.xml; M: /trunk/xsl/params/section.title.level3.properties.xml; M: /trunk/xsl/params/man.th.extra1.suppress.xml; M: /trunk/xsl/params/chunk.section.depth.xml; M: /trunk/xsl/params/htmlhelp.hhp.tail.xml; M: /trunk/xsl/params/sidebar.title.properties.xml; M: /trunk/xsl/params/hyphenate.xml; M: /trunk/xsl/params/paper.type.xml; M: /trunk/xsl/params/chunk.tocs.and.lots.has.title.xml; M: /trunk/xsl/params/symbol.font.family.xml; M: /trunk/xsl/params/page.margin.bottom.xml; M: /trunk/xsl/params/callout.unicode.number.limit.xml; M: /trunk/xsl/params/itemizedlist.properties.xml; M: /trunk/xsl/params/root.filename.xml; M: /trunk/xsl/params/tablecolumns.extension.xml; M: /trunk/xsl/params/htmlhelp.show.favorities.xml; M: /trunk/xsl/params/informaltable.properties.xml; M: /trunk/xsl/params/revhistory.table.cell.properties.xml; M: /trunk/xsl/params/htmlhelp.default.topic.xml; M: /trunk/xsl/params/compact.list.item.spacing.xml; M: /trunk/xsl/params/page.height.portrait.xml; M: /trunk/xsl/params/html.head.legalnotice.link.types.xml; M: /trunk/xsl/params/passivetex.extensions.xml; M: /trunk/xsl/params/orderedlist.label.properties.xml; M: /trunk/xsl/params/othercredit.like.author.enabled.xml; M: /trunk/xsl/params/header.content.properties.xml; M: /trunk/xsl/params/refentry.meta.get.quietly.xml; M: /trunk/xsl/params/section.properties.xml; M: /trunk/xsl/params/htmlhelp.button.hideshow.xml; M: /trunk/xsl/params/simplesect.in.toc.xml; M: /trunk/xsl/params/chunk.quietly.xml; M: /trunk/xsl/params/htmlhelp.enumerate.images.xml; M: /trunk/xsl/params/section.title.level1.properties.xml; M: /trunk/xsl/params/qanda.defaultlabel.xml; M: /trunk/xsl/params/htmlhelp.enhanced.decompilation.xml; M: /trunk/xsl/params/man.th.title.max.length.xml; M: /trunk/xsl/params/footnote.number.format.xml; M: /trunk/xsl/params/body.margin.bottom.xml; M: /trunk/xsl/params/htmlhelp.window.geometry.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.xml; M: /trunk/xsl/params/use.svg.xml; M: /trunk/xsl/params/qanda.title.level6.properties.xml; M: /trunk/xsl/params/collect.xref.targets.xml; M: /trunk/xsl/params/html.extra.head.links.xml; M: /trunk/xsl/params/variablelist.as.table.xml; M: /trunk/xsl/params/man.indent.width.xml; M: /trunk/xsl/params/eclipse.plugin.id.xml; M: /trunk/xsl/params/linenumbering.width.xml; M: /trunk/xsl/params/axf.extensions.xml; M: /trunk/xsl/params/menuchoice.separator.xml; M: /trunk/xsl/params/glossterm.separation.xml; M: /trunk/xsl/params/htmlhelp.autolabel.xml; M: /trunk/xsl/params/chunk.separate.lots.xml; M: /trunk/xsl/params/man.hyphenate.computer.inlines.xml; M: /trunk/xsl/params/linenumbering.separator.xml; M: /trunk/xsl/params/htmlhelp.title.xml; M: /trunk/xsl/params/index.number.separator.xml; M: /trunk/xsl/params/htmlhelp.button.prev.xml; M: /trunk/xsl/params/refentry.manual.fallback.profile.xml; M: /trunk/xsl/params/table.frame.border.color.xml; M: /trunk/xsl/params/footnote.sep.leader.properties.xml; M: /trunk/xsl/params/hyphenate.verbatim.characters.xml; M: /trunk/xsl/params/table.cell.border.thickness.xml; M: /trunk/xsl/params/template.xml; M: /trunk/xsl/params/margin.note.properties.xml; M: /trunk/xsl/params/man.segtitle.suppress.xml; M: /trunk/xsl/params/generate.toc.xml; M: /trunk/xsl/params/formal.object.properties.xml; M: /trunk/xsl/params/footnote.mark.properties.xml; M: /trunk/xsl/params/header.table.height.xml; M: /trunk/xsl/params/htmlhelp.button.back.xml; M: /trunk/xsl/params/qanda.title.level4.properties.xml; M: /trunk/xsl/params/man.links.are.numbered.xml; M: /trunk/xsl/params/manual.toc.xml; M: /trunk/xsl/params/olink.lang.fallback.sequence.xml; M: /trunk/xsl/params/refentry.manual.profile.enabled.xml; M: /trunk/xsl/params/ulink.hyphenate.chars.xml; M: /trunk/xsl/params/manifest.xml; M: /trunk/xsl/params/olink.fragid.xml; M: /trunk/xsl/params/refentry.date.profile.xml; M: /trunk/xsl/params/linenumbering.extension.xml; M: /trunk/xsl/params/component.title.properties.xml; M: /trunk/xsl/params/alignment.xml; M: /trunk/xsl/params/refentry.version.profile.xml; M: /trunk/xsl/params/ebnf.assignment.xml; M: /trunk/xsl/params/htmlhelp.button.print.xml; M: /trunk/xsl/params/annotation.support.xml; M: /trunk/xsl/params/sidebar.float.width.xml; M: /trunk/xsl/params/normal.para.spacing.xml; M: /trunk/xsl/params/xref.title-page.separator.xml; M: /trunk/xsl/params/callout.unicode.font.xml; M: /trunk/xsl/params/default.table.frame.xml; M: /trunk/xsl/params/pages.template.xml; M: /trunk/xsl/params/htmlhelp.button.zoom.xml; M: /trunk/xsl/params/admonition.title.properties.xml; M: /trunk/xsl/params/callout.graphics.extension.xml; M: /trunk/xsl/params/make.valid.html.xml; M: /trunk/xsl/params/qanda.title.level2.properties.xml; M: /trunk/xsl/params/page.margin.top.xml; M: /trunk/xsl/params/xep.index.item.properties.xml; M: /trunk/xsl/params/section.level5.properties.xml; M: /trunk/xsl/params/line-height.xml; M: /trunk/xsl/params/table.cell.border.color.xml; M: /trunk/xsl/params/qandadiv.autolabel.xml; M: /trunk/xsl/params/xref.label-title.separator.xml; M: /trunk/xsl/params/chunk.tocs.and.lots.xml; M: /trunk/xsl/params/man.font.funcprototype.xml; M: /trunk/xsl/params/process.source.toc.xml; M: /trunk/xsl/params/page.orientation.xml; M: /trunk/xsl/params/refentry.generate.name.xml; M: /trunk/xsl/params/navig.showtitles.xml; M: /trunk/xsl/params/table.table.properties.xml; M: /trunk/xsl/params/arbortext.extensions.xml; M: /trunk/xsl/params/informalequation.properties.xml; M: /trunk/xsl/params/headers.on.blank.pages.xml; M: /trunk/xsl/params/table.footnote.properties.xml; M: /trunk/xsl/params/root.properties.xml; M: /trunk/xsl/params/htmlhelp.display.progress.xml; M: /trunk/xsl/params/htmlhelp.hhp.windows.xml; M: /trunk/xsl/params/graphical.admonition.properties.xml; M: /trunk/xsl/params/refclass.suppress.xml; M: /trunk/xsl/params/profile.conformance.xml; M: /trunk/xsl/params/htmlhelp.button.forward.xml; M: /trunk/xsl/params/segmentedlist.as.table.xml; M: /trunk/xsl/params/margin.note.float.type.xml; M: /trunk/xsl/params/man.table.footnotes.divider.xml; M: /trunk/xsl/params/man.output.quietly.xml; M: /trunk/xsl/params/htmlhelp.hhc.show.root.xml; M: /trunk/xsl/params/footers.on.blank.pages.xml; M: /trunk/xsl/params/crop.mark.offset.xml; M: /trunk/xsl/params/olink.doctitle.xml; M: /trunk/xsl/params/section.level3.properties.xml; M: /trunk/xsl/params/callout.unicode.xml; M: /trunk/xsl/params/formal.procedures.xml; M: /trunk/xsl/params/toc.section.depth.xml; M: /trunk/xsl/params/index.prefer.titleabbrev.xml; M: /trunk/xsl/params/nominal.image.width.xml; M: /trunk/xsl/params/htmlhelp.show.menu.xml; M: /trunk/xsl/params/linenumbering.everyNth.xml; M: /trunk/xsl/params/double.sided.xml; M: /trunk/xsl/params/generate.revhistory.link.xml; M: /trunk/xsl/params/olink.properties.xml; M: /trunk/xsl/params/tex.math.in.alt.xml; M: /trunk/xsl/params/man.output.subdirs.enabled.xml; M: /trunk/xsl/params/section.title.properties.xml; M: /trunk/xsl/params/column.count.back.xml; M: /trunk/xsl/params/toc.indent.width.xml; M: /trunk/xsl/params/man.charmap.uri.xml; M: /trunk/xsl/params/index.method.xml; M: /trunk/xsl/params/generate.section.toc.level.xml; M: /trunk/xsl/params/page.width.portrait.xml; M: /trunk/xsl/params/man.th.extra2.max.length.xml; M: /trunk/xsl/params/abstract.properties.xml; M: /trunk/xsl/params/revhistory.table.properties.xml; M: /trunk/xsl/params/nominal.table.width.xml; M: /trunk/xsl/params/ulink.show.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.title.xml; M: /trunk/xsl/params/index.div.title.properties.xml; M: /trunk/xsl/params/profile.userlevel.xml; M: /trunk/xsl/params/html.cellpadding.xml; M: /trunk/xsl/params/orderedlist.label.width.xml; M: /trunk/xsl/params/crop.marks.xml; M: /trunk/xsl/params/menuchoice.menu.separator.xml; M: /trunk/xsl/params/author.othername.in.middle.xml; M: /trunk/xsl/params/section.level1.properties.xml; M: /trunk/xsl/params/textdata.default.encoding.xml; M: /trunk/xsl/params/label.from.part.xml; M: /trunk/xsl/params/use.embed.for.svg.xml; M: /trunk/xsl/params/list.item.spacing.xml; M: /trunk/xsl/params/htmlhelp.hhc.width.xml; M: /trunk/xsl/params/column.gap.body.xml; M: /trunk/xsl/params/rootid.xml; M: /trunk/xsl/params/glosslist.as.blocks.xml; M: /trunk/xsl/params/index.range.separator.xml; M: /trunk/xsl/params/html.ext.xml; M: /trunk/xsl/params/callout.list.table.xml; M: /trunk/xsl/params/highlight.source.xml; M: /trunk/xsl/params/show.revisionflag.xml; M: /trunk/xsl/params/man.output.manifest.enabled.xml; M: /trunk/xsl/params/make.single.year.ranges.xml; M: /trunk/xsl/params/pgwide.properties.xml; M: /trunk/xsl/params/generate.id.attributes.xml; M: /trunk/xsl/params/emphasis.propagates.style.xml; M: /trunk/xsl/params/abstract.title.properties.xml; M: /trunk/xsl/params/htmlhelp.hhc.xml; M: /trunk/xsl/params/monospace.properties.xml; M: /trunk/xsl/params/htmlhelp.hhk.xml; M: /trunk/xsl/params/table.borders.with.css.xml; M: /trunk/xsl/params/man.links.are.underlined.xml; M: /trunk/xsl/params/profile.vendor.xml; M: /trunk/xsl/params/shade.verbatim.xml; M: /trunk/xsl/params/callout.graphics.path.xml; M: /trunk/xsl/params/olink.debug.xml; M: /trunk/xsl/params/make.graphic.viewport.xml; M: /trunk/xsl/params/footnote.number.symbols.xml; M: /trunk/xsl/params/man.charmap.enabled.xml; M: /trunk/xsl/params/page.height.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.url.xml; M: /trunk/xsl/params/man.font.table.title.xml; M: /trunk/xsl/params/revhistory.title.properties.xml; M: /trunk/xsl/params/chunker.output.media-type.xml; M: /trunk/xsl/params/glossterm.width.xml; M: /trunk/xsl/params/points.per.em.xml; M: /trunk/xsl/params/page.margin.inner.xml; M: /trunk/xsl/params/itemizedlist.label.width.xml; M: /trunk/xsl/params/ulink.hyphenate.xml; M: /trunk/xsl/params/crop.mark.bleed.xml; M: /trunk/xsl/params/use.id.as.filename.xml; M: /trunk/xsl/params/section.title.level6.properties.xml; M: /trunk/xsl/params/highlight.default.language.xml; M: /trunk/xsl/params/man.th.extra2.suppress.xml; M: /trunk/xsl/params/id.warnings.xml; M: /trunk/xsl/params/title.margin.left.xml; M: /trunk/xsl/params/chunker.output.doctype-system.xml; M: /trunk/xsl/params/man.indent.verbatims.xml; M: /trunk/xsl/params/table.frame.border.thickness.xml; M: /trunk/xsl/params/monospace.verbatim.properties.xml; M: /trunk/xsl/params/formal.title.properties.xml; M: /trunk/xsl/params/margin.note.width.xml; M: /trunk/xsl/params/man.hyphenate.filenames.xml; M: /trunk/xsl/params/blockquote.properties.xml; M: /trunk/xsl/params/callout.defaultcolumn.xml; M: /trunk/xsl/params/profile.security.xml; M: /trunk/xsl/params/informal.object.properties.xml; M: /trunk/xsl/params/formal.title.placement.xml; M: /trunk/xsl/params/draft.watermark.image.xml; M: /trunk/xsl/params/equation.properties.xml; M: /trunk/xsl/params/body.font.family.xml; M: /trunk/xsl/params/ignore.image.scaling.xml; M: /trunk/xsl/params/chunk.first.sections.xml; M: /trunk/xsl/params/base.dir.xml; M: /trunk/xsl/params/footnote.properties.xml; M: /trunk/xsl/params/olink.outline.ext.xml; M: /trunk/xsl/params/img.src.path.xml; M: /trunk/xsl/params/qanda.title.properties.xml; M: /trunk/xsl/params/ebnf.statement.terminator.xml; M: /trunk/xsl/params/callouts.extension.xml; M: /trunk/xsl/params/manifest.in.base.dir.xml; M: /trunk/xsl/params/fop1.extensions.xml; M: /trunk/xsl/params/olink.sysid.xml; M: /trunk/xsl/params/section.title.level4.properties.xml; M: /trunk/xsl/params/monospace.font.family.xml; M: /trunk/xsl/params/l10n.gentext.language.xml; M: /trunk/xsl/params/graphic.default.extension.xml; M: /trunk/xsl/params/default.image.width.xml; M: /trunk/xsl/params/htmlhelp.button.refresh.xml; M: /trunk/xsl/params/chunker.output.cdata-section-elements.xml; M: /trunk/xsl/params/admon.graphics.path.xml; M: /trunk/xsl/params/admon.style.xml; M: /trunk/xsl/params/profile.revision.xml; M: /trunk/xsl/params/generate.manifest.xml; M: /trunk/xsl/params/html.longdesc.xml; M: /trunk/xsl/params/footer.rule.xml; M: /trunk/xsl/params/eclipse.plugin.provider.xml; M: /trunk/xsl/params/refentry.source.name.profile.xml; M: /trunk/xsl/params/toc.max.depth.xml; M: /trunk/xsl/params/chunker.output.indent.xml; M: /trunk/xsl/params/html.head.legalnotice.link.multiple.xml; M: /trunk/xsl/params/toc.list.type.xml; M: /trunk/xsl/params/link.mailto.url.xml; M: /trunk/xsl/params/table.properties.xml; M: /trunk/xsl/params/side.float.properties.xml; M: /trunk/xsl/params/man.charmap.use.subset.xml; M: /trunk/xsl/params/annotation.graphic.open.xml; M: /trunk/xsl/params/html.cellspacing.xml; M: /trunk/xsl/params/default.table.width.xml; M: /trunk/xsl/params/xep.extensions.xml; M: /trunk/xsl/params/admonition.properties.xml; M: /trunk/xsl/params/toc.margin.properties.xml; M: /trunk/xsl/params/chunk.toc.xml; M: /trunk/xsl/params/table.entry.padding.xml; M: /trunk/xsl/params/header.rule.xml; M: /trunk/xsl/params/glossentry.show.acronym.xml; M: /trunk/xsl/params/variablelist.as.blocks.xml; M: /trunk/xsl/params/man.hyphenate.xml; M: /trunk/xsl/params/refentry.source.name.profile.enabled.xml; M: /trunk/xsl/params/section.label.includes.component.label.xml; M: /trunk/xsl/params/bridgehead.in.toc.xml; M: /trunk/xsl/params/section.title.level2.properties.xml; M: /trunk/xsl/params/admon.graphics.extension.xml; M: /trunk/xsl/params/inherit.keywords.xml; M: /trunk/xsl/params/insert.xref.page.number.xml; M: /trunk/xsl/params/pixels.per.inch.xml; M: /trunk/xsl/params/refentry.pagebreak.xml; M: /trunk/xsl/params/profile.lang.xml; M: /trunk/xsl/params/insert.olink.page.number.xml; M: /trunk/xsl/params/generate.meta.abstract.xml; M: /trunk/xsl/params/graphicsize.extension.xml; M: /trunk/xsl/params/man.indent.lists.xml; M: /trunk/xsl/params/funcsynopsis.decoration.xml; M: /trunk/xsl/params/runinhead.title.end.punct.xml; M: /trunk/xsl/params/man.string.subst.map.xml; M: /trunk/xsl/params/man.links.list.enabled.xml; M: /trunk/xsl/params/section.autolabel.max.depth.xml; M: /trunk/xsl/params/htmlhelp.show.advanced.search.xml; M: /trunk/xsl/params/htmlhelp.map.file.xml; M: /trunk/xsl/params/l10n.gentext.use.xref.language.xml; M: /trunk/xsl/params/body.font.size.xml; M: /trunk/xsl/params/html.stylesheet.type.xml; M: /trunk/xsl/params/refentry.xref.manvolnum.xml; M: /trunk/xsl/params/runinhead.default.title.end.punct.xml; M: /trunk/xsl/params/navig.graphics.extension.xml; M: /trunk/xsl/params/itemizedlist.label.properties.xml; M: /trunk/xsl/params/htmlhelp.force.map.and.alias.xml; M: /trunk/xsl/params/profile.os.xml; M: /trunk/xsl/params/htmlhelp.alias.file.xml; M: /trunk/xsl/params/page.margin.outer.xml; M: /trunk/xsl/params/annotation.graphic.close.xml; M: /trunk/xsl/params/eclipse.autolabel.xml; M: /trunk/xsl/params/table.frame.border.style.xml; M: /trunk/xsl/params/navig.graphics.path.xml; M: /trunk/xsl/params/htmlhelp.hhc.binary.xml; M: /trunk/xsl/params/index.on.type.xml; M: /trunk/xsl/params/target.database.document.xml; M: /trunk/xsl/params/man.subheading.divider.xml; M: /trunk/xsl/params/chunker.output.method.xml; M: /trunk/xsl/params/make.index.markup.xml; M: /trunk/xsl/params/olink.base.uri.xml; M: /trunk/xsl/params/phrase.propagates.style.xml; M: /trunk/xsl/params/man.indent.refsect.xml; M: /trunk/xsl/params/example.properties.xml; M: /trunk/xsl/params/man.font.table.headings.xml; M: /trunk/xsl/params/profile.revisionflag.xml; M: /trunk/xsl/params/region.after.extent.xml; M: /trunk/xsl/params/qanda.title.level5.properties.xml; M: /trunk/xsl/params/marker.section.level.xml; M: /trunk/xsl/params/footer.table.height.xml; M: /trunk/xsl/params/autotoc.label.separator.xml; M: /trunk/xsl/params/footer.column.widths.xml; M: /trunk/xsl/params/hyphenate.verbatim.xml; M: /trunk/xsl/params/xref.properties.xml; M: /trunk/xsl/params/man.output.base.dir.xml; M: /trunk/xsl/params/man.links.list.heading.xml; M: /trunk/xsl/params/insert.link.page.number.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.title.xml; M: /trunk/xsl/params/l10n.lang.value.rfc.compliant.xml - Michael(tm) Smith + + +Updated index.method doc to describe revised setup for importing index extensions.M: /trunk/xsl/params/index.method.xml - Robert Stayton + + +Added several new HTML parameters for controlling appearance of +content on HTML title pages: + +contrib.inline.enabled: + If non-zero (the default), output of the contrib element is + displayed as inline content rather than as block content. + +othercredit.like.author.enabled: + If non-zero, output of the othercredit element on titlepages is + displayed in the same style as author and editor output. If zero + (the default), othercredit output is displayed using a style + different than that of author and editor. + +blurb.on.titlepage.enabled: + If non-zero, output from authorblurb and personblurb elements is + displayed on title pages. If zero (the default), output from + those elements is suppressed on title pages (unless you are + using a titlepage customization that causes them to be included). + +editedby.enabled + If non-zero (the default), a localized Edited by heading is + displayed above editor names in output of the editor element.A: /trunk/xsl/params/contrib.inline.enabled.xml; A: /trunk/xsl/params/blurb.on.titlepage.enabled.xml; A: /trunk/xsl/params/othercredit.like.author.enabled.xml; A: /trunk/xsl/params/editedby.enabled.xml - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.A: /trunk/xsl/params/email.delimiters.enabled.xml - Michael(tm) Smith + + + +Added qanda.nested.in.toc param. Default value is zero. If +non-zero, instances of "nested" Qandaentry (ones that are children +of Answer elements) are displayed in the TOC. Closes patch 1509018 +(from Daniel Leidert). Currently on affects HTML output (no patch +for FO output provided).A: /trunk/xsl/params/qanda.nested.in.toc.xml - Michael(tm) Smith + + + +Initial support of syntax highlighting of programlistings.A: /trunk/xsl/params/highlight.source.xml; A: /trunk/xsl/params/highlight.default.language.xml - Jirka Kosek + + + + + +Tools +The following changes have been made to the + tools code + since the 1.70.1 release. + + + +Racheted down font sizes of headings in example makefile FO output.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + +Added param and attribute set to example makefile, for getting +wrapping in verbatims in FO output.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + +Renamed Makefile.paramDoc to Makefile.docParam.A: /trunk/xsl/tools/make/Makefile.docParam; D: /trunk/xsl/tools/make/Makefile.paramDoc - Michael(tm) Smith + + +Added Makefile.paramDoc file, for creating versions of param.xsl +files with doc embedded.A: /trunk/xsl/tools/make/Makefile.paramDoc - Michael(tm) Smith + + +Added variable to example makefile for controlling whether HTML or +XHTML is generated.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + + + +
    + + +Release: 1.70.1 + +This is a stable release of the 1.70 stylesheets. It includes only a +few small changes from 1.70.0. + +The following is a list of changes that have been made + since the 1.70.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.70.0 release. + + +Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. +Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek + + +Support DBv5 revisions with full author name (not only authorinitials) +Modified: fo/block.xsl,1.33; fo/titlepage.xsl,1.40 - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.70.0 release. + + +Support DBv5 revisions with full author name (not only authorinitials) +Modified: html/block.xsl,1.23; html/titlepage.xsl,1.34 - Jirka Kosek + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.70.0 release. + + +htmlhelp.generate.index is now param, not variable. This means that you can override its setting from outside. This is useful when you generate indexterms on the fly (see http://www.xml.com/pub/a/2004/07/14/dbndx.html?page=3). +Modified: htmlhelp/htmlhelp-common.xsl,1.38 - Jirka Kosek + + +Support chunk.tocs.and.lots in HTML Help +Modified: htmlhelp/htmlhelp-common.xsl,1.37 - Jirka Kosek + + + + + +Params +The following changes have been made to the + params code + since the 1.70.0 release. + + +Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. +Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek + + + + + + + +Release: 1.70.0 +As with all DocBook Project dot-zero +releases, this is an experimental release. It will be followed shortly +by a stable release. + +This release adds a number of new features, +including: + + + + support for selecting alternative index-collation methods + (in particular, support for using a collation library developed by + Eliot Kimber) + + + improved handling of DocBook 5 document instances (through a + namespace-stripping mechanism) + + + full support for CALS and HTML tables in manpages + output + + + a mechanism for preserving relative URIs in documents that + make use of XInclude + + + support for the "new" .90 version of + FOP + + + enhanced capabilities for controlling formatting of lists in HTML + and FO output + + + autogeneration of AUTHOR and COPYRIGHT sections in manpages + output + + + support for generating crop marks in FO/PDF output + + + support for qandaset as a root element in FO output + + + support for floatstyle and orient on all table types + + + support for floatstyle in figure, and example + + + pgwide.properties attribute-set supports extending figure, + example and table into the left indent area instead of spanning + multiple columns. + + + The following is a detailed list of enhancements and API + changes that have been made since the 1.69.1 release. + + +Common +The following changes have been made to the + common code + since the 1.69.1 release. + + +Add the xsl:key for the kimber +indexing method. +Modified: common/autoidx-ng.xsl,1.2 - Robert +Stayton + + +Add support for +qandaset. +Modified: common/labels.xsl,1.37; +common/subtitles.xsl,1.7; common/titles.xsl,1.35 - Robert +Stayton + + +Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO +Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh + + +Added CVS +header. +Modified: common/stripns.xsl,1.12 - Robert +Stayton + + +Changed content model of text +element to ANY rather than #PCDATA because they could contain +markup. +Modified: common/targetdatabase.dtd,1.7 - Robert +Stayton + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +After namespace stripping, the +source document is the temporary tree created by the stripping +process and it has the wrong base URI for relative +references. Earlier versions of this code used to try to fix that +by patching the elements with relative @fileref attributes. That +was inadequate because it calculated an absolute base URI +without considering that there might be xml:base attributes +already in effect. It seems obvious now that the right thing to +do is simply to put the xml:base on the root of the document. And +that seems to work. +Modified: common/stripns.xsl,1.7 - Norman +Walsh + + +Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual". +Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith + + +Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692. +Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith + + +Added <xsl:template +match="/"> to make stripns.xsl usable as a standalone +stylesheet for stripping out DocBook 5/NG to DocBook 4. Note that +DocBook XSLT drivers that include this stylesheet all override +the match="/" template. +Modified: common/stripns.xsl,1.4 - Michael(tm) +Smith + + +Number figures, examples, and +tables from book if there is no prefix (i.e. if +chapter.autolabel is set to 0). This avoids +having the list of figures where the figures mysteriously restart +their numeration periodically when +chapter.autolabel is set to +0. +Modified: common/labels.xsl,1.36 - David Cramer + + +Add task template in +title.markup mode. +Modified: common/titles.xsl,1.34 - Robert +Stayton + + +Add children (with ids) of formal +objects to target data. +Modified: common/targets.xsl,1.10 - Robert +Stayton + + +Added support for case when +personname doesn't contain specific name markup (as allowed +in DocBook 5.0) +Modified: common/common.xsl,1.54 - Jirka +Kosek + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.69.1 release. + + +Support Xalan +2.7 +Modified: extensions/xalan27/.cvsignore,1.1; +extensions/xalan27/build.xml,1.1; +extensions/xalan27/nbproject/.cvsignore,1.1; +extensions/xalan27/nbproject/build-impl.xml,1.1; +extensions/xalan27/nbproject/genfiles.properties,1.1; +extensions/xalan27/nbproject/project.properties,1.1; +extensions/xalan27/nbproject/project.xml,1.1; +extensions/xalan27/src/com/nwalsh/xalan/CVS.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Callout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatDingbatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatGraphicCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatTextCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatUnicodeCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Func.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/ImageIntrinsics.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Params.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Table.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Text.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Verbatim.java,1.1 - Norman +Walsh + + +Handle the case where the imageFn +is actually a URI. This still needs +work. +Modified: extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java,1.4 +- Norman Walsh + + + + + +FO +The following changes have been made to the + fo code + since the 1.69.1 release. + + +Adapted to the new indexing +code. Now works just like a wrapper that calls kosek indexing method, +originally implemented here. +Modified: fo/autoidx-ng.xsl,1.5 - Jirka +Kosek + + +Added parameters for header/footer +table minimum height. +Modified: fo/pagesetup.xsl,1.60; +fo/param.ent,1.100; fo/param.xweb,1.113 - Robert +Stayton + + +Add the index.method +parameter. +Modified: fo/param.ent,1.99; fo/param.xweb,1.112 - Robert +Stayton + + +Integrate support for three +indexing methods: - the original English-only method. - +Jirka Kosek's method using EXSLT extensions. - Eliot Kimber's +method using Saxon extensions. Use the 'index.method' +parameter to select. +Modified: fo/autoidx.xsl,1.38 - Robert +Stayton + + +Add support for TOC for +qandaset in fo output. +Modified: fo/autotoc.xsl,1.30; +fo/qandaset.xsl,1.20 - Robert Stayton + + +Added parameter +ulink.hyphenate.chars. Added parameter +insert.link.page.number. +Modified: fo/param.ent,1.98; +fo/param.xweb,1.111 - Robert Stayton + + +Implemented feature request +#942524 to add insert.link.page.number to allow link +element cross references to have a page number. +Modified: fo/xref.xsl,1.67 - +Robert Stayton + + +Add support for +ulink.hyphenate.chars so more characters +can be break points in urls. +Modified: fo/xref.xsl,1.66 - Robert +Stayton + + +Implemented patch #1075144 to make +the url text in a ulink in FO output an active link as +well. +Modified: fo/xref.xsl,1.65 - Robert Stayton + + +table footnotes now +have their own table.footnote.properties +attribute set. +Modified: fo/footnote.xsl,1.23 - Robert +Stayton + + +Add qandaset to +root.elements. +Modified: fo/docbook.xsl,1.41 - Robert +Stayton + + +Added mode="page.sequence" to make +it easier to put content into a page sequence. First used for +qandaset. +Modified: fo/component.xsl,1.37 - Robert +Stayton + + +Implemented feature request +#1434408 to support formatting +of biblioentry. +Modified: fo/biblio.xsl,1.35 - Robert +Stayton + + +Added +biblioentry.properties. +Modified: fo/param.ent,1.97; +fo/param.xweb,1.110 - Robert Stayton + + +Support PTC/Arbortext +bookmarks +Modified: fo/docbook.xsl,1.40; fo/ptc.xsl,1.1 - Norman +Walsh + + +Added +table.footnote.properties to permit +table footnotes to format differently from regular +footnotes. +Modified: fo/param.ent,1.96; fo/param.xweb,1.109 - Robert +Stayton + + +Refactored table +templates to unify their processing and support all options in +all types. Now table and informaltable, in +both Cals and Html markup, use the same templates where possible, +and all support pgwide, rotation, and floats. There is also a +placeholder table.container template to +support wrapping a table in a layout table, +so the XEP table title "continued" +extension can be more easily implemented. +Modified: fo/formal.xsl,1.52; +fo/htmltbl.xsl,1.9; fo/table.xsl,1.48 - Robert +Stayton + + +Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT +Modified: fo/autotoc.xsl,1.29; fo/param.ent,1.95; +fo/param.xweb,1.108 - Jirka Kosek + + +Added support for float to example +and equation. Added support for pgwide to +figure, example, and equation (the latter +two via a dbfo pgwide="1" processing +instruction). +Modified: fo/formal.xsl,1.51 - Robert +Stayton + + +Add pgwide.properties +attribute-set. +Modified: fo/param.ent,1.94; fo/param.xweb,1.107 - Robert +Stayton + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Improved support for +task subelements +Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek + + +Adjusted spacing around +K&R-formatted Funcdef and Paramdef +output such that it can more easily be discerned where one ends +and the other begins. Closes #1213264. +Modified: fo/synop.xsl,1.18 - +Michael(tm) Smith + + +Made handling of +paramdef/parameter in FO output consistent with that in HTML and +manpages output. Closes #1213259. +Modified: fo/synop.xsl,1.17 - Michael(tm) +Smith + + +Made handling of +Refnamediv consistent with formatting in HTML +and manpages output; specifically, changed so that +Refname (comma-separated list of multiple instances +found) is used (instead of Refentrytitle as +previously), then em-dash, then the Refpurpose. Closes +#1212562. +Modified: fo/refentry.xsl,1.30 - Michael(tm) +Smith + + +Added output of +Releaseinfo to recto titlepage ("copyright" +page) for Book in FO output. This makes it consistent +with HTML output. Closes #1327034. Thanks to Paul DuBois for +reporting. +Modified: fo/titlepage.templates.xml,1.28 - Michael(tm) +Smith + + +Added condition for setting +block-progression-dimension.minimum on table-row, instead of +height, when fop1.extensions is +non-zero. For an explanation of the reason for the change, +see: http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages +Modified: fo/pagesetup.xsl,1.59 +- Michael(tm) Smith + + +Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting. +Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith + + +Add support for keep-together PI +to informal objects. +Modified: fo/formal.xsl,1.50 - Robert +Stayton + + +Add support for +fop1.extensions. +Modified: fo/formal.xsl,1.49; +fo/graphics.xsl,1.44; fo/table.xsl,1.47 - Robert +Stayton + + +Add support for fop1 +bookmarks. +Modified: fo/docbook.xsl,1.39 - Robert +Stayton + + +Add fop1.extentions parameter to +add support for fop development version. +Modified: fo/param.ent,1.92; +fo/param.xweb,1.105 - Robert Stayton + + +Start supporting fop development +version, which will become fop version 1. +Modified: fo/fop1.xsl,1.1 - +Robert Stayton + + +Add template for task +in mode="xref-to". +Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton + + +table footnotes now +also get footnote.properties +attribute-set. +Modified: fo/footnote.xsl,1.22 - Robert +Stayton + + +Added index.separator +named template to compute the separator punctuation based on +locale. +Modified: fo/autoidx.xsl,1.36 - Robert Stayton + + +Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it). +Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith + + +Support date as an +inline +Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Map Unicode space characters +U+2000-U+200A to fo:leaders. +Modified: fo/docbook.xsl,1.38; +fo/passivetex.xsl,1.4; fo/spaces.xsl,1.1 - Jirka +Kosek + + +Output a real em dash for em-dash +dingbat (instead of two hypens). +Modified: fo/fo.xsl,1.7 - Michael(tm) +Smith + + +Support default label +width parameters for itemized and ordered lists +Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh + + +Generate localized +title for Refsynopsisdiv if no +appropriate Title descendant found in source. Closes +#1212398. This change makes behavior for the Synopsis +title consistent with the behavior of HTML and +manpages output. +Also, added +xsl:use-attribute-sets="normal.para.spacing" to +block generated for Cmdsynopsis output. Previously, +that block had no spacing at all specified, which resulted it +being crammed up to closely to the Synopsis +head. +Modified: fo/refentry.xsl,1.28; fo/synop.xsl,1.13 - Michael(tm) +Smith + + +Added parameters to support +localization of index +item punctuation. +Modified: fo/autoidx.xsl,1.35 - Robert +Stayton + + +Added +index.number.separator, +index.range.separator, +and index.term.separator parameters to +support localization of punctuation in index +entries. +Modified: fo/param.ent,1.89; fo/param.xweb,1.102 - Robert +Stayton + + +Added "Cross References" +section in HTML doc (for consistency with the FO +doc). Also, moved the existing FO "Cross +References" section to follow the "Linking" +section. +Modified: fo/param.xweb,1.101; html/param.xweb,1.95 - +Michael(tm) Smith + + +Added ID attribues to all +Reference elements (e.g., id="tables" for the doc for +section on Table params). So pages for +all subsections of ref docs now have stable filenames instead +of arbitrary generated filenames. +Modified: fo/param.xweb,1.100; +html/param.xweb,1.94 - Michael(tm) Smith + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Add sidebar titlepage +placeholder attset for styles. +Modified: fo/titlepage.xsl,1.37 - Robert +Stayton + + +Add titlepage for +sidebar. +Modified: fo/titlepage.templates.xml,1.27 - Robert +Stayton + + +Implemented RFE +#1292615. +Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier. +Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek + + +Implemented RFE +#1242092. +You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt). +Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats +Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.69.1 release. + + +implemented +index.method parameter and three +methods. +Modified: html/autoidx.xsl,1.28 - Robert +Stayton + + +added index.method +parameter to support 3 indexing methods. +Modified: html/param.ent,1.94; +html/param.xweb,1.103 - Robert Stayton + + +Implemented feature request +#1072510 as a processing instruction to permit including external +HTML content into HTML output. +Modified: html/pi.xsl,1.9 - Robert +Stayton + + +Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-). +Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek + + +Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO +Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh + + +Allow ToC without +title also for set and +book. +Modified: html/autotoc.xsl,1.37; html/division.xsl,1.12 - +Jirka Kosek + + +Implemented floats uniformly for +figure, example, equation +and informalfigure, informalexample, and +informalequation. +Modified: html/formal.xsl,1.22 - Robert +Stayton + + +Added the +autotoc.label.in.hyperlink param. +If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles. +Closes patch #1065868. Thanks to anatoly techtonik +for the patch. +Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith + + +Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple. +If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes: + - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types + - +an href attribute whose value is set to the URL of the file +containing the legalnotice + - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet) +For +example: + <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice"> +Closes +#1476450. Thanks to Sam Steingold. +Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Improved support for +task subelements +Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek + + +Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting. +Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith + + +Process alt text with +normalize-space(). Replace tab indents with +spaces. +Modified: html/graphics.xsl,1.57 - Robert +Stayton + + +Content of citation +element is automatically linked to the bibliographic entry +with the corresponding abbrev. +Modified: html/biblio.xsl,1.26; +html/inline.xsl,1.47; html/xref.xsl,1.58 - Jirka +Kosek + + +Add template for task +in mode="xref-to". +Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton + + +Suppress ID warnings if the +.warnings parameter is 0 +Modified: html/html.xsl,1.17 - Norman +Walsh + + +Add support for floatstyle to +figure. +Modified: html/formal.xsl,1.21 - Robert +Stayton + + +Handling of xref to +area/areaset need support in extensions code also. I currently have no +time to touch extensions code, so code is here to be enabled when +extension is fixed also. +Modified: html/xref.xsl,1.56 - Jirka +Kosek + + +Added 3 parameters for overriding +gentext for index +punctuation. +Modified: html/param.ent,1.89; html/param.xweb,1.98 - Robert +Stayton + + +Added parameters to support +localization of index item punctuation. Added +index.separator named template to compute +the separator punctuation based on +locale. +Modified: html/autoidx.xsl,1.27 - Robert +Stayton + + +Added a <div +class="{$class}-contents"> wrapper around output of contents +of all formal objects. Also, added an optional <br +class="{class}-break"/> linebreak after all formal +objects. +WARNING: Because this change places an additional +DIV between the DIV wrapper for the equation and the +equation contents, it may break some existing CSS +stylesheets that have been created with the assumption that there +would never be an intervening DIV there. +The following is +an example of what Equation output looks like as a +result of the changes described above. + <div +class="equation"> <a name="three" +id="three"></a> + <p +class="title"><b>(1.3)</b></p> + +<div class="equation-contents"> <span +class="mathphrase">1+1=3</span> +</div> </div><br +class="equation-break"> +Rationale: These changes allow +CSS control of the placement of the formal-object +title relative to the formal-object +contents. For example, using the CSS "float" property +enables the title and contents to be rendered on the +same line. Example stylesheet: + .equation +{ margin-top: 20px; margin-bottom: 20px; } +.equation-contents { float: left; } + +.equation .title { margin-top: 0; +float: right; margin-right: 200px; } + +.equation .title b { font-weight: +normal; } + .equation-break { clear: both; +} +Note that the purpose of the ".equation-break" class is +to provide a way to clear off the floats. +If you want +to instead have the equation title rendered to +the left of the equation contents, you can do +something like this: + .equation { +margin-top: 20px; width: 300px; margin-bottom: 20px; +} .equation-contents { float: right; } + +.equation .title { margin-top: 0; +float: left; margin-right: 200px; } + +.equation .title b { font-weight: +normal; } + .equation-break { clear: both; +} +Modified: html/formal.xsl,1.20 - Michael(tm) Smith + + +Added a chunker.output.quiet +top-level parameter so that the chunker can be made quiet by +default +Modified: html/chunker.xsl,1.26 - Norman Walsh + + +Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it). +Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith + + +New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive? +Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh + + +If the +keep.relative.image.uris parameter is true, +don't use the absolute URI (as calculated from xml:base) in +the img src attribute, us the value the author +specified. Note that we still have to calculate the absolute +filename for use in the image intrinsics +extension. +Modified: html/graphics.xsl,1.56 - Norman +Walsh + + +Support date as an +inline +Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Added "wrapper-name" param to +inline.charseq named template, enabling it to output inlines +other than just "span". Acronym and Abbrev +templates now use inline.charseq to output HTML +"acronym" and "abbr" elements (instead of +"span"). Closes #1305468. Thanks to Sam Steingold for suggesting +the change. +Modified: html/inline.xsl,1.45 - Michael(tm) +Smith + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.69.1 release. + + +Added the following +params: + - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean) +Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something). +The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width. +Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith + + +Added +man.table.footnotes.divider param. +In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table. +Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith + + +Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters. +The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory. +The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory. +Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles. +Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output. +Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith + + +Added +man.segtitle.suppress param. +If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output. +Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith + + +Added +man.output.manifest.enabled and +man.output.manifest.filename params. +If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename +Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +Changed names of all boolean +indentation params to man.indent.* Also discarded individual +man.indent.*.value params and switched to just using a common +man.indent.width param (3n by default). +Modified: manpages/docbook.xsl,1.66; +manpages/info.xsl,1.19; manpages/lists.xsl,1.29; +manpages/other.xsl,1.18; manpages/refentry.xsl,1.13 - Michael(tm) +Smith + + +Added boolean +man.output.in.separate.dir param, to control whether or not man +files are output in separate directory. +Modified: manpages/docbook.xsl,1.65; +manpages/utility.xsl,1.14 - Michael(tm) Smith + + +Added options for controlling +indentation of verbatim output. Controlled through the +man.indentation.verbatims.adjust +and man.indentation.verbatims.value params. Closes +#1242997 +Modified: manpages/block.xsl,1.15; manpages/docbook.xsl,1.64 - +Michael(tm) Smith + + +Added options for controlling +indentation in lists and in *blurb output in the AUTHORS +section. Controlled through +the man.indentation.lists.adjust, +man.indentation.lists.value, man.indentation.authors.adjust, and +man.indentation.authors.value parameters. Default is 3 characters +(instead of the roff default of 8 characters). Closes +#1449369. +Also, removed the indent that was being set on +informalexample outuput. I will instead add an option +for indenting verbatims, which I think is what the +informalexample indent was intended +for originally. +Modified: manpages/block.xsl,1.14; +manpages/docbook.xsl,1.63; manpages/info.xsl,1.18; +manpages/lists.xsl,1.28 - Michael(tm) Smith + + +Changed line-spacing call before +synopfragment to use ".sp -1n" ("n" units specified) +instead of plain ".sp -1" +Modified: manpages/synop.xsl,1.28 - Michael(tm) +Smith + + +Added support for writing man +files into a specific output directory and into appropriate +subdirectories within that output directory. Controlled through +the man.base.dir parameter (similar to the +base.dir support in the HTML stylesheet) and +the man.subdirs.enabled parameter, which automatically determines +the name of an appropriate subdir (for example, man/man7, +man/man1, etc.) based on the section number/manvolnum +of the source Refentry. +Closes #1255036 and +#1170317. Thanks to Denis Bradford for the original feature +request, and to Costin Stroie for submitting a patch that was +very helpful in implementing the +support. +Modified: manpages/docbook.xsl,1.62; manpages/utility.xsl,1.13 - +Michael(tm) Smith + + +Refined XPath statements and +notification messages for refentry metadata +handling. +Modified: common/common.xsl,1.59; common/refentry.xsl,1.14; +manpages/docbook.xsl,1.61; manpages/other.xsl,1.17 - Michael(tm) +Smith + + +Added support for +copyright and legalnotice. The manpages +stylesheets now output a COPYRIGHT section, +after the AUTHORS section, if a copyright +or legalnotice is found in the source. The +section contains the copyright contents followed +by the legalnotice contents. Closes +#1450209. +Modified: manpages/docbook.xsl,1.59; manpages/info.xsl,1.17 - +Michael(tm) Smith + + +Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date): + +(($info[//date])[last()]/date)[1]. +That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry. +It's +likely this change may break some things; may need to pick up +some pieces later. +Also, changed the default value for the +man.th.extra2.max.length from 40 to +30. +Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith + + +Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692. +Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith + + +Fixed handling of table +footnotes. With this checkin, the table support in the +manpages stylesheet is now basically feature complete. So this +change closes request #619532, "No support for tables" -- the +oldest currently open manpages feature request, submitted by Ben +Secrest (blsecres) on 2002-10-07. Congratulations to me [patting +myself on the back]. +Modified: manpages/block.xsl,1.11; +manpages/docbook.xsl,1.55; manpages/table.xsl,1.15 - Michael(tm) +Smith + + +Added handling for +table titles. Also fixed handling of nested tables; +nest tables are now "extracted" and displayed just after their +parent tables. +Modified: manpages/docbook.xsl,1.54; manpages/table.xsl,1.14 +- Michael(tm) Smith + + +Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later. +Closes #1452247. Thanks to Joe Orton for the feature +request. +Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith + + +Use AUTHORS instead of +AUTHOR if we have multiple people to attribute. Also, +fixed checking such that we generate +author section even if we don't have an +author (as long as there is at least one other +person/entity we can put in the +section). Also adjusted assembly of content for +Author metainfo field such that we now not only use +author, but try to find a "best match" if we can't +find an author name to put there. +Closes +#1233592. Thanks to Sam Steingold for the +request. +Modified: manpages/info.xsl,1.12 - Michael(tm) +Smith + + +Changes for request #1243027, +"Impove handling of AUTHOR section." This +adds support for Collab, Corpauthor, Corpcredt, +Orgname, Publishername, and +Publisher. Also adds support for output +of Affiliation and its children, and support for using +gentext strings for auto-attributing roles (Author, +Editor, Publisher, Translator, etc.). Also +did a lot of code cleanup and modularization of all the +AUTHOR handling code. And fixed a bug that was causing +Author info to not be picked up correctly +for metainfo comment we embed in man-page +source. +Modified: manpages/info.xsl,1.11 - Michael(tm) +Smith + + +Support bold output for +"emphasis remap='B'". (because Eric Raymond's +doclifter(1) tool converts groff source marked up with ".B" +request or "\fB" escapes to DocBook "emphasis +remap='B'".) +Modified: manpages/inline.xsl,1.14 - Michael(tm) +Smith + + +Added support for +Segmentedlist. Details: Output is tabular, with no +option for "list" type output. Output for Segtitle +elements can be supressed by +setting man.segtitle.suppress. If Segtitle +content is output, it is rendered in italic type (not bold +because not all terminals support bold and so italic ensures the +stand out on those terminals). Extra space (.sp line) at end of +table code ensures that it gets handled correctly in +the case where its source is the child of a Para. +Closes feature-request #1400097. Thanks to Daniel Leidert for the +patch and push, and to Alastair Rankine for filing the original +feature request. +Modified: manpages/lists.xsl,1.23; +manpages/utility.xsl,1.10 - Michael(tm) Smith + + +Improved handling or +Author/Editor/Othercredit. +Reworked content of +(non-visible) comment added at top of each page (metadata +stuff). +Added support for generating a +manifest file (useful for cleaning up +after builds, etc.) +Modified: manpages/docbook.xsl,1.46; +manpages/info.xsl,1.9; manpages/other.xsl,1.12; +manpages/utility.xsl,1.6 - Michael(tm) Smith + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.69.1 release. + + +New parameters to set +header/footer table minimum +height. +Modified: params/footer.table.height.xml,1.1; +params/header.table.height.xml,1.1 - Robert +Stayton + + +Support multiple indexing methods +for different languages. +Modified: params/index.method.xml,1.1 - Robert +Stayton + + +Remove qandaset and +qandadiv from generate.toc for fo +output because formerly it wasn't working, but now it is and +the default behavior should stay the +same. +Modified: params/generate.toc.xml,1.8 - Robert +Stayton + + +add support for page number +references to link element +too. +Modified: params/insert.link.page.number.xml,1.1 - Robert +Stayton + + +Add support for more characters to +hyphen on when ulink.hyphenate is turned +on. +Modified: params/ulink.hyphenate.chars.xml,1.1; +params/ulink.hyphenate.xml,1.3 - Robert Stayton + + +New attribute-set to format +biblioentry and +bibliomixed. +Modified: params/biblioentry.properties.xml,1.1 - +Robert Stayton + + +Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-). +Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek + + +Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT +Modified: params/toc.line.properties.xml,1.1 - Jirka +Kosek + + +Allow table footnotes +to have different properties from regular +footnotes. +Modified: params/table.footnote.properties.xml,1.1 - Robert +Stayton + + +Set properties for pgwide="1" +objects. +Modified: params/pgwide.properties.xml,1.1 - Robert +Stayton + + +Added the +autotoc.label.in.hyperlink param. +If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles. +Closes patch #1065868. Thanks to anatoly techtonik +for the patch. +Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith + + +Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple. +If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes: + - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types + - +an href attribute whose value is set to the URL of the file +containing the legalnotice + - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet) +For +example: + <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice"> +Closes +#1476450. Thanks to Sam Steingold. +Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith + + +Added the following +params: + - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean) +Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something). +The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width. +Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith + + +Added +man.table.footnotes.divider param. +In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table. +Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith + + +Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters. +The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory. +The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory. +Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles. +Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output. +Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith + + +Changed to select="0" in +refclass.suppress (instead of +..>0</..) +Modified: params/refclass.suppress.xml,1.3 - Michael(tm) +Smith + + +Added +man.segtitle.suppress param. +If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output. +Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith + + +Added +man.output.manifest.enabled and +man.output.manifest.filename params. +If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename +Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual". +Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith + + +Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date): + +(($info[//date])[last()]/date)[1]. +That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry. +It's +likely this change may break some things; may need to pick up +some pieces later. +Also, changed the default value for the +man.th.extra2.max.length from 40 to +30. +Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith + + +Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later. +Closes #1452247. Thanks to Joe Orton for the feature +request. +Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith + + +fop.extensions now only +for FOP version 0.20.5 and earlier. +Modified: params/fop.extensions.xml,1.4 +- Robert Stayton + + +Support for fop1 different from +fop 0.20.5 and earlier. +Modified: params/fop1.extensions.xml,1.1 - Robert +Stayton + + +Reset default value to empty +string so template uses gentext first, then the parameter value +if not empty. +Modified: params/index.number.separator.xml,1.2; +params/index.range.separator.xml,1.2; +params/index.term.separator.xml,1.2 - Robert +Stayton + + +New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive? +Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Support default label +width parameters for itemized and ordered lists +Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh + + +Added parameters to localize +punctuation in indexes. +Modified: params/index.number.separator.xml,1.1; +params/index.range.separator.xml,1.1; +params/index.term.separator.xml,1.1 - Robert +Stayton + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Convert 'no' to string in default +value. +Modified: params/olink.doctitle.xml,1.4 - Robert +Stayton + + +Implemented RFE +#1292615. +Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier. +Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek + + +Implemented RFE +#1242092. +You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt). +Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats +Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek + + +Changed short descriptions in doc +for *autolabel* params to match new autolabel +behavior. +Modified: params/appendix.autolabel.xml,1.5; +params/chapter.autolabel.xml,1.4; params/part.autolabel.xml,1.5; +params/preface.autolabel.xml,1.4 - Michael(tm) +Smith + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.69.1 release. + + +Profiling now works together with +namespace stripping (V5 documents). Namespace striping should work +with all stylesheets named profile-, even if they are not supporting +namespace stripping in a non-profiling +variant. +Modified: profiling/profile-mode.xsl,1.4; +profiling/xsl2profile.xsl,1.7 - Jirka Kosek + + +Moved profiling stage out of +templates. This make possible to reuse profiled content by several +templates and still maintaing node indentity (needed for example for +HTML Help where content is processed multiple times). +I +don't know why this was not on the top level before. Maybe some XSLT +processors choked on it. I hope this will be OK +now. +Modified: profiling/xsl2profile.xsl,1.5 - Jirka +Kosek + + + + + +Tools +The following changes have been made to the + tools code + since the 1.69.1 release. + + +Moved Makefile.DocBook from +contrib module to xsl +module. +Modified: tools/make/Makefile.DocBook,1.1 - Michael(tm) +Smith + + + + + +WordML +The following changes have been made to the + wordml code + since the 1.69.1 release. + + +added contrib element, +better handling of default paragraph +style +Modified: wordml/pages-normalise.xsl,1.6; wordml/supported.xml,1.2; +wordml/wordml-final.xsl,1.14 - Steve Ball + + +added +bridgehead +Modified: wordml/docbook-pages.xsl,1.6; +wordml/docbook.xsl,1.17; wordml/pages-normalise.xsl,1.5; +wordml/template-pages.xml,1.7; wordml/template.dot,1.4; +wordml/template.xml,1.14; wordml/wordml-final.xsl,1.13 - Steve +Ball + + +added blocks stylesheet to support +bibliographies, glossaries and qandasets +Modified: wordml/Makefile,1.4; +wordml/README,1.3; wordml/blocks-spec.xml,1.1; +wordml/docbook-pages.xsl,1.5; wordml/docbook.xsl,1.16; +wordml/pages-normalise.xsl,1.4; wordml/sections-spec.xml,1.3; +wordml/specifications.xml,1.13; wordml/template-pages.xml,1.6; +wordml/template.dot,1.3; wordml/template.xml,1.13; +wordml/wordml-blocks.xsl,1.1; wordml/wordml-final.xsl,1.12; +wordml/wordml-sections.xsl,1.3 - Steve Ball + + +added mediaobject +caption +Modified: wordml/docbook-pages.xsl,1.4; +wordml/docbook.xsl,1.15; wordml/specifications.xml,1.12; +wordml/template-pages.xml,1.5; wordml/template.dot,1.2; +wordml/template.xml,1.12; wordml/wordml-final.xsl,1.11 - Steve +Ball + + +added +callouts +Modified: wordml/docbook-pages.xsl,1.3; wordml/docbook.xsl,1.14; +wordml/pages-normalise.xsl,1.3; wordml/specifications.xml,1.11; +wordml/template-pages.xml,1.4; wordml/wordml-final.xsl,1.10 - Steve +Ball + + +added Word template +file +Modified: wordml/template.dot,1.1 - Steve Ball + + +added abstract, fixed +itemizedlist, ulink +Modified: wordml/specifications.xml,1.10; +wordml/wordml-final.xsl,1.9 - Steve Ball + + +fixed Makefile added many +features to Pages support added revhistory, inlines, +highlights, abstract +Modified: wordml/Makefile,1.2; +wordml/docbook-pages.xsl,1.2; wordml/pages-normalise.xsl,1.2; +wordml/sections-spec.xml,1.2; wordml/specifications.xml,1.9; +wordml/template-pages.xml,1.3; wordml/template.xml,1.11; +wordml/wordml-final.xsl,1.8; wordml/wordml-sections.xsl,1.2 - Steve +Ball + + +fixed handling linebreaks when +generating WordML added Apple Pages +support +Modified: wordml/docbook.xsl,1.13; wordml/template-pages.xml,1.2 - +Steve Ball + + + + + + + Release 1.69.1 + This release is a minor bug-fix update to the 1.69.0 + release. Along with bug fixes, it includes one + configuration-parameter change: The default value of the + annotation.support parameter is now + 0 (off). The reason for that change is that + there have been reports that annotation handling is + causing a significant performance degradation in processing of + large documents with xsltproc. + + + + + Release 1.69.0 + The release includes major feature changes, + particularly in the manpages + stylesheets, as well as a large number of bug fixes. + + As with all DocBook Project dot zero releases, this is an + experimental release . + + + Common + + + This release adds localizations for the following + languages: + + + Albanian + Amharic + Azerbaijani + Hindi + Irish (Gaelic) + Gujarati + Kannada + Mongolian + Oriya + Punjabi + Tagalog + Tamil + Welsh + . + + + Added support for specifying number format for auto + labels for chapter, appendix, + part, and preface. Contolled with the + appendix.autolabel, + chapter.autolabel, + part.autolabel, and + preface.autolabel parameters. + + + Added basic support for biblioref cross + referencing. + + + Added support for align + on caption in mediaobject. + + + Added support for processing documents that use the + DocBook V5 namespace. + + + Added support for termdef and + mathphrase. + + + EXPERIMENTAL: Incorporated the Slides and Website + stylesheets into the DocBook XSL stylesheets package. So, + for example, Website documents can now be processed using + the following URI for the driver Website + tabular.xsl file: http://docbook.sourceforge.net/release/xsl/current/website/tabular.xsl + + + A procedure without a title is + now treated as an informal procedure (meaning + that it is not added to any generated list of + procedures and has no affect on numbering of + generated labels for other procedures). + + + docname is no longer added to + olink when pointing to a root element. + + + + Added support for generation of choice separator in + inline simplelist. This enables auto-generation of an + appropriate localized choice separator (for + example, and or or) before the + final item in an inline simplelist. + To indicate that you want a choice separator + generated for a particular list, you need to put a processing + instruction (PI) of the form + dbchoice choice="foo" as a + child of the list. For example: + <para>Choose from + ONE and ONLY ONE of the following: + <simplelist type="inline"> + <?dbchoice choice="or" ?> + <member>A</member> + <member>B</member> + <member>C</member>.</simplelist></para> + + Output (for English): +
    + Choose from ONE and only ONE of the + following choices: A, B, or C. +
    + As a temporary workaround for the fact that most of the + DocBook non-English locale files don't have a localization for + the word or, you can put in a literal string to + be used; example for French: dbchoice choice="ou". That is, use + ou instead of or.
    +
    +
    +
    + + FO + + + Added content-type property to + external-graphic element, based on + imagedata format + attribute. + + + Added support for generating + <rx:meta-field creator="$VERSION"/> + field for XEP output. This makes the DocBook XSL + stylesheet version information available through the + Document Properties menu in Acrobat + Reader and other PDF viewers. + + + Trademark symbol handling made consistent with + handling of same in HTML stylesheets. Prior to this change, + if you processed a document that contained no value for the + class attribute on the + trademark element, the HTML stylesheets would + default to rendering a superscript TM + symbol after the trademark contents, + but the FO stylesheets would render nothing. + + + Added support for generating XEP bookmarks for + refentry. + + + Added support for HTML markup table border attribute, applied to each + table cell. + + + The table.width template can now + sum column specs if none use % or + *. + + + Added fox:destination extension + inside fox:outline to support linking to + internal destinations. + + + Added support for customizing + abstract with property sets. Controlled + with the abstract.properties and + abstract.title.properties + parameters. + + + Add footnotes in table title to + table footnote set, and add support for table footnotes to + HTML table markup. + + + Added support for title in + glosslist. + + + Added support for itemizedlist symbol + none. + + + Implemented the new + graphical.admonition.properties and + nongraphical.admonition.properties + attribute sets. + + + Added id to + formalpara and some other blocks that were + missing it. + + + Changed the anchor template to output + fo:inline instead of + fo:wrapper. + + + Added support for toc.max.depth + parameter. + + + + + + Help + + + Eclipse Help: Added support for generating olink + database. + + + + + + HTML + + + Added a first cut at support in HTML output for + DocBook 5 style annotations. Controlled using the + annotation.support parameter, and + implemented using JavaScript and CSS styling. For more + details, see the documentation for the + annotation.js, + annotation.css, + annotation.graphic.open, and + annotation.graphic.close + parameters. + + + Generate client-side image map for + imageobjectco with areas using + calspair units + + + Added support for img.src.path PI. + + + Added support for passing + img.src.path to DocBook Java XSLT + image extensions when appropriate. Controlled using the + graphicsize.use.img.src.path + parameter. + + + Added support for (not + valid for DocBook 4) xlink:href + on area and (not valid for DocBook 4) + alt in area. + + + Added new parameter + default.table.frame to control table + framing if there is no frame + attribute on a table. + + + Added initial, experimental support for generating + content for the HTML title attribute from + content of the alt element. This change adds + support for the following inline elements only (none of them + are block elements): + + + abbrev + accel + acronym + action + application + authorinitials + beginpage + citation + citerefentry + citetitle + city + classname + code + command + computeroutput + constant + country + database + email + envar + errorcode + errorname + errortext + errortype + exceptionname + fax + filename + firstname + firstterm + foreignphrase + function + glossterm + guibutton + guiicon + guilabel + guimenu + guimenuitem + guisubmenu + hardware + honorific + interface + interfacename + keycap + keycode + keysym + lineage + lineannotation + literal + markup + medialabel + methodname + mousebutton + option + optional + otheraddr + othername + package + parameter + personname + phone + pob + postcode + productname + productnumber + prompt + property + quote + refentrytitle + remark + replaceable + returnvalue + tag + shortcut + state + street + structfield + structname + subscript + superscript + surname + symbol + systemitem + tag + termdef + token + trademark + type + uri + userinput + varname + wordasword + + + + + Added support for chunking revhistory into + separate file (similar to the support for doing same with + legalnotice). Patch from Thomas + Schraitle. Controlled through new + generate.revhistory.link parameter. + + + l10n.xsl: Made language codes RFC compliant. Added a + new boolean config parameter, + l10n.lang.value.rfc.compliant. If it + is non-zero (the default), any underscore in a language code + will be converted to a hyphen in HTML output. If it is zero, + the language code will be left as-is. + + + + + man + This release closes out 44 manpages stylesheet bug reports + and feature requests. It adds more than 35 new configuration + parameters for controlling aspects of man-page output -- + including hyphenation and justification, handling of links, + conversion of Unicode characters, and contents of man-page + headers and footers. + + + + New options for globally disabling/enabling + hyphenation and justification: + man.justify and + man.hyphenate. + Note that the default + for the both of those is zero (off), because justified text + looks good only when it is also hyphenated; to quote the + Hyphenation node from the groff info page: +
    + Since the odds are not great for finding a + set of words, for every output line, which fit nicely on a + line without inserting excessive amounts of space between + words, `gtroff' hyphenates words so that it can justify + lines without inserting too much space between + words. +
    + The problem is that groff can end up hyphenating a lot of + things that you don't want hyphenated (variable names and + command names, for example). Keeping both justification and + hyphenation disabled ensures that hyphens won't get inserted + where you don't want to them, and you don't end up with + lines containing excessive amounts of space between + words. These default settings run counter to how most + existing man pages are formatted. But there are some notable + exceptions, such as the perl man pages.
    +
    + + Added parameters for controlling hyphenation of + computer inlines, filenames, and URLs. By default, even when + hyphenation is enabled (globally), hyphenation is now + suppressed for "computer inlines" (currently, just + classname, constant, envar, + errorcode, option, + replaceable, userinput, + type, and varname, and for + filenames, and for URLs from link. It + can be (re)enabled using the + man.hyphenate.computer.inlines, + man.hyphenate.filenames, and + man.hyphenate.urls parameters. + + + + Implemented a new system for replacing Unicode + characters. There are two parts to the new system: a + string substitution map for doing + essential replacements, and a + character map that can optionally be disabled + and enabled. + The new system fixes all open bugs that had to do with + literal Unicode numbered entities such as &#8220; and + &#8221; showing up in output, and greatly expands the + ability of the stylesheets to generate good roff + equivalents for Unicode symbols and special + characters. + Here are some details... + The previous manpages mechanism for replacing Unicode + symbols and special characters with roff equivalents (the + replace-entities template) was not + scalable and not complete. The mechanism handled a somewhat + arbitrary selection of less than 20 or so Unicode + characters. But there are potentially more than + 800 Unicode special characters that + have some groff equivalent they can be mapped to. And there + are about 34 symbols in the Latin-1 (ISO-8859-1) block + alone. Users might reasonably expect that if they include + any of those Latin-1 characters in their DocBook source + documents, they will get correctly converted to known roff + equivalents in output. + In addition to those common symbols, certain users may + have a need to use symbols from other Unicode blocks. Say, + somebody who is documenting an application related to math + might need to use a bunch of symbols from the + Mathematical Operators Unicode block (there + are about 65 characters in that block that have reasonable + roff equivalents). Or somebody else might really like + Dingbats -- such as the checkmark character -- and so might + use a bunch of things from the Dingbat block + (141 characters in that that have roff equivalents or that + can at least be degraded somewhat gracefully + into roff). + So, the old replace-entities + mechanism was replaced with a completely different mechanism + that is based on use of two maps: a + substitution map and a character + map (the latter in a format compliant with the XSLT + 2.0 spec and therefore completely forward + compatible with XSLT 2.0). + The substitution map is controlled through the + man.string.subst.map parameter, and + is used to replace things like the backslash character + (which needs special handling to prevent it from being + interpreted as a roff escape). The substitution map cannot + be disabled, because disabling it will cause the output to + be broken. However, you can add to it and change it if + needed. + + The character map mechanism, on the + other hand, can be completely disabled. It is enabled by + default, and, by default, does replacement of all Latin-1 + symbols, along with most special spaces, dashes, and quotes + (about 75 characters by default). Also, you can optionally + enable a full character map that provides + support for converting all 800 or so of the characters that + have some reasonable groff equivalent. + + The character-map mechanism is controlled through the + following parameters: + + + man.charmap.enabled + turns character-map support + on/off + + + man.charmap.use.subset + specifies that a subset of the character + map is used instead of the full map + + + man.charmap.subset.profile + specifies profile of character-map + subset + + + man.charmap.uri + specifies an alternate character map to + use instead of the standard character map + provided in the distribution + + + + + + + Implemented out-of-line handling of display of URLs + for links (currently, only for ulink). This gives + you three choices for handling of links: + + + Number and list links. Each link is numbered + inline, with a number in square brackets preceding the + link contents, and a numbered list of all links is added + to the end of the document. + + + Only list links. Links are not numbered, but an + (unnumbered) list of links is added to the end of the + document. + + + Suppress links. Don't number links and don't add + any list of links to the end of the document. + + + You can also choose whether links should be underlined. The + default is the works -- list, number, and + underline links. You can use the + man.links.list.enabled, + man.links.are.numbered, and + man.links.are.underlined parameters + to change the defaults. The default heading for the link + list is REFERENCES. You can be change that using the + man.links.list.heading + parameter. + + + Changed default output encoding to UTF-8. This does not mean that man pages are output in + raw UTF-8, because the character map is applied + before final output, causing all UTF-8 characters covered in + the map to be converted to roff equivalents. + + + + Added support for processing refsect3 and + formalpara and nested refsection + elements, down to any arbitrary level of nesting. + + + + Output of the NAME and + SYNOPSIS and AUTHOR + headings and the headings for admonitions (note, + caution, etc.) are no longer hard-coded for + English. Instead, headings are generated for those in the + correct locale (just as the FO and HTML stylesheets + do). + + + + Re-worked mechanism for assembling page + headers/footers (the contents of the .TH + macro title line). + + Here are some details... + + All man pages contain a .TH roff + macro whose contents are used for rendering the title + line displayed in the header and footer of each + page. Here are a couple of examples of real-world man pages + that have useful page headers/footers: + gtk-options(7) GTK+ User's Manual gtk-options(7) <-- header + GTK+ 1.2 2003-10-20 gtk-options(7) <-- footer + + svgalib(7) Svgalib User Manual svgalib(7) <-- header + Svgalib 1.4.1 16 December 1999 svgalib(7) <-- footer + + And here are the terms with which the + groff_man(7) man page refers to the + various parts of the header/footer: + title(section) extra3 title(section) <- header + extra2 extra1 title(section) <- footer + Or, using the names with which the man(7) + man page refers to those same fields: + title(section) manual title(section) <- page header + source date title(section) <- page footer + + The easiest way to control the contents of those + fields is to mark up your refentry content like + the following (note that this is a minimal + example). + <refentry> + <info> + <date>2003-10-20</date> + </info> + <refmeta> + <refentrytitle>gtk-options</refentrytitle> + <manvolnum>7</manvolnum> + <refmiscinfo class="source-name">GTK+</refmiscinfo> + <refmiscinfo class="version">1.2</refmiscinfo> + <refmiscinfo class="manual">GTK+ User's Manual</refmiscinfo> + </refmeta> + <refnamediv> + <refname>gtk-options</refname> + <refpurpose>Standard Command Line Options for GTK+ Programs</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <para>This manual page describes the command line options, which + are common to all GTK+ based applications.</para> + </refsect1> + </refentry> + + + Sets the date part of the header/footer. + + + Sets the title part. + + + Sets the section part. + + + Sets the source name part. + + + Sets the version part. + + + Sets the manual part. + + + + Below are explanations of the steps the stylesheets + take to attempt to assemble and display + good headers and footer. [In the + descriptions, note that *info + is the refentry info child + (whatever its name), and + parentinfo is the + info child of its parent (again, whatever + its name).] + + + extra1 field (date) + + Content of the extra1 field is + what shows up in the center + footer position of each page. The + man(7) man page describes it as + the date of the last revision. + To provide this content, if the + refentry.date.profile.enabled + is non-zero, the stylesheets check the value of + refentry.date.profile. + Otherwise, by default, they check for a + date or pubdate not only in the + *info contents, but also in + the parentinfo + contents. + If a date cannot be found, the stylesheets now + automatically generate a localized long + format date, ensuring that this field always + has content in output. + However, if for some reason you want to suppress + this field, you can do so by setting a non-zero value + for man.th.extra1.suppress. + + + + extra2 field (source) + + On Linux systems and on systems with a modern + groff, the content of the extra2 field + are what shows up in the left + footer position of each page. + + The man(7) man page describes + this as the source of the command, and + provides the following examples: + + + For binaries, use somwething like: GNU, + NET-2, SLS Distribution, MCC Distribution. + + + For system calls, use the version of the + kernel that you are currently looking at: Linux + 0.99.11. + + + For library calls, use the source of the + function: GNU, BSD 4.3, Linux DLL 4.4.1. + + + + + In practice, there are many pages that simply + have a version number in the source + field. So, it looks like what we have is a two-part + field, + Name Version, + where: + + + Name + + product name (e.g., BSD) or org. name + (e.g., GNU) + + + + Version + + version name + + + + Each part is optional. If the + Name is a product name, + then the Version is + probably the version of the product. Or there may be + no Name, in which case, if + there is a Version, it is + probably the version of the item itself, not the + product it is part of. Or, if the + Name is an organization + name, then there probably will be no + Version. + + To provide this content, if the + refentry.source.name.profile.enabled + and + refentry.version.profile.enabled + parameter are non-zero, the stylesheets check the + value of refentry.source.name.profile + refentry.version.profile. + + Otherwise, by default, they check the following + places, in the following order: + + + *info/productnumber + + + *info/productnumber + + + refmeta/refmiscinfo[@class = 'version'] + + + parentinfo/productnumber + + + *info/productname + + + parentinfo/productname + + + refmeta/refmiscinfo + + + [nothing found, so leave it empty] + + + + + + + extra3 field + + On Linux systems and on systems with a modern + groff, the content of the extra3 field + are what shows up in the center + header position of each page. Some man + pages have extra2 content, some + don't. If a particular man page has it, it is most + often context data about some larger + system the documented item belongs to (for example, + the name or description of a group of related + applications). The stylesheets now check the following + places, in the following order, to look for content to + add to the extra3 field. + + + parentinfo/title + + + parent's title + + + refmeta/refmiscinfo + + + [nothing found, so leave it empty] + + + + + + + + + + Reworked *info gathering. For + each refentry found, the stylesheets now cache its + *info content, then check for any + valid parent of it that might have metainfo content and cache + that, if found; they then then do all further matches against + those node-sets (rather than re-selecting the original + *info nodes each time they are + needed). + + + + New option for breaking strings after forward + slashes. This enables long URLs and pathnames to be broken + across lines. Controlled through + man.break.after.slash parameter. + + + + Output for servicemark and trademark are now + (SM) and (TM). There is + a groff "\(tm" escape, but output from that + is not acceptable. + + + + New option for controlling the length of the title + part of the .TH title line. Controlled + through the man.th.title.max.length + parameter. + + + + New option for specifying output encoding of each man + page; controlled with + man.output.encoding (similar to the + HTML chunker.output.encoding + parameter). + + + + New option for suppressing filename messages when + generating output; controlled with + man.output.quietly (similar to the HTML + chunk.quietly parameter). + + + + The text of cross-references to first-level + refentry (refsect1, top-level + refsection, refnamediv, and + refsynopsisdiv) are now capitalized. + + + + Cross-references to refnamediv now use the + localized NAME title instead of using the + first refname child. This makes the output + inconsistent with HTML and FO output, but for man-page output, + it seems to make better sense to have the + NAME. (It may actually make better sense to + do it that way in HTML and FO output as well...) + + + + Added support for processing funcparams. + + + + Removed the space that was being output between + funcdef and paramdef; example: was: + float rand (void); now: + float rand(void) + + + + Turned off bold formatting for the type + element when it occurs within a funcdef or + paramdef + + + + Corrected rendering of simplelist. Any + <simplelist type="inline" instance + is now rendered as a comma-separated list (also with an + optional localized and or or before the last item -- see + description elsewhere in these release notes). Any simplelist + instance whose type is not + inline is rendered as a one-column vertical + list (ignoring the values of the type and columns attributes if present) + + + + Comment added at top of roff source for each page now + includes DocBook XSL stylesheets version number (as in the + HTML stylesheets) + + + + Made change to prevent sticky fonts + changes. Now, when the manpages stylesheets encounter node + sets that need to be boldfaced or italicized, they put the + \fBfoo\fR and \fIbar\fR + groff bold/italic instructions separately around each node in + the set. + + + synop.xsl: Boldface everything in + funcsynopsis output except parameters (which are in + ital). The man(7) man page says: +
    + For functions, the arguments are always specified + using italics, even in the SYNOPSIS section, where the rest + of the function is specified in bold. +
    + A look through the contents of the + man/man2 directory shows that most + (all) existing pages do follow this everything in + funcsynopsis bold rule. That means the + type content and any punctuation (parens, + semicolons, varargs) also must be bolded.
    +
    + + + Removed code for adding backslashes before periods/dots + in roff source, because backslashes in front of periods/dots + in roff source are needed only in the very rare case where a + period is the very first character in a line, without any + space in front of it. A better way to deal with that rare case + is for you to add a zero-width space in front of the offending + dot(s) in your source + + + + Removed special handling of the quote + element. That was hard-coded to cause anything marked up with + the quote element to be output preceded by two + backticks and followed by two apostrophes -- that is, that + old-school kludge for generating curly quotes in Emacs and + in X-Windows fonts. While Emacs still seems to support that, I + don't think X-Windows has for a long time now. And, anyway, it + looks (and has always looked) like crap when viewed on a + normal tty/console. In addition, it breaks localiztion of + quote. By default, quote content is + output with localized quotation marks, which, depending on the + locale, may or may not be left and right double quotation + marks. + + + + Changed mappings for left and right single quotation + marks. Those had previously been incorrectly mapped to the + backtick (&#96;) and apostrophe (&39;) characters (for + kludgy reasons -- see above). They are now correctly mapped to + the \(oq and \(cq roff + escapes. If you want the old (broken) behavior, you need to + manually change the mappings for those in the value of the + man.string.subst.map parameter. + + + Removed xref.xsl file. Now, of the + various cross-reference elements, only the ulink + element is handled differently; the rest are handled exactly + as the HTML stylesheets handle them, except that no hypertext + links are generated. (Because there is no equivalent hypertext + mechanism is man pages.) + + + + New option for making subheading dividers in generated + roff source. The dividers are not visible in the rendered man + page; they are just there to make the source + readable. Controlled using + man.subheading.divider. + + + + Fixed many places where too much space was being added + between lines. + +
    + +
    +
    + + + + Release 1.68.1 + The release adds localization support for Farsi (thanks to + Sina Heshmati) and improved support for the XLink-based DocBook NG + db:link element. Other than that, it is a minor + bug-fix update to the 1.68.0 release. The main thing it fixes is a + build error that caused the XSLT Java extensions to be jarred up + with the wrong package structure. Thanks to Jens Stavnstrup for + quickly reporting the problem, and to Mauritz Jeanson for + investigating and finding the cause. + + + + + Release 1.68.0 + This release includes some features changes, particularly + for FO/PDF output, and a number of bug fixes. + + FO + + Moved footnote properties to attribute-sets. + + + Added support for side floats, margin notes, and + custom floats. + + + Added new parameters + body.start.indent and + body.end.indent to the + set.flow.properties template. + + + Added support for xml:id + + + Added support for + refdescriptor. + + + Added support for multiple refnamedivs. + + + Added index.entry.properties + attribute-set to support customization of index + entries. + + + Added set.flow.properties + template call to each fo:flow + to support customizations entry point. + + + Add support for @floatstyle in + figure + + + Moved hardcoded properties for index division titles + to the index.div.title.properties + attribute-set. + + + Added support for + table-layout="auto" for XEP. + + + Added index.div.title.properties + attribute-set. + + + $verbose parameter is now + passed to most elements. + + + Added refentry to + toc in part, as it is + permitted by the DocBook schema/DTD. + + + Added backmatter elements and + article to toc in + part, since they are permitted by the + DocBook schema/DTD. + + + Added mode="toc" for + simplesect, since it is now permitted in + the toc if + simplesect.in.toc is set. + + + Moved hard-coded properties to + nongraphical.admonintion.properties + and graphical.admonition.properties + attribute sets. + + + Added support for sidebar-width and + float-type processing instructions in + sidebar. + + + For tables with HTML markup elements, added support + for dbfo bgcolor PI, the attribute-sets + named table.properties, + informaltable.properties, + table.table.properties, and + table.cell.padding. Also added + support for the templates named + table.cell.properties and + table.cell.block.properties so that + tabstyles can be implemented. Also added support for tables + containing only tr instead of + tbody with tr. + + + Added new paramater + hyphenate.verbatim.characters which + can specify characters after which a line break can occur in + verbatim environments. This parameter can be used to extend + the initial set of characters which contain only space and + non-breakable space. + + + Added itemizedlist.label.markup to enable + selection of different bullet symbol. Also added several + potential bullet characters, commented out by default. + + + Enabled all id's in XEP output for external olinking. + + + + + HTML + + Added support for + refdescriptor. + + + Added support for multiple refnamedivs. + + + Added support for xml:id + + + refsynopsisdiv as a section for + counting section levels + + + + Images + + Added new SVG admonition graphics and navigation images. + + + + + + + + Release 1.67.2 + This release fixes a table bug introduced in the 1.67.1 + release. + + + Release 1.67.1 + This release includes a number of bug fixes. + The following lists provide details about API and feature changes. + + FO + + Tables: Inherited cell properties are now passed to the + table.cell.properties template so they can + be overridden by a customization. + + + Tables: Added support for bgcolor PI on table row + element. + + + TOCs: Added new parameter + simplesect.in.toc; default value of + 0 causes simplesect to be omitted from TOCs; to + cause simplesect to be included in TOCs, you + must set the value of simplesect.in.toc to + 1.Comment from Norm: + +
    + Simplesect elements aren't supposed to + appear in the ToC at all... The use case for simplesect + is when, for example, every chapter in a book ends with + "Exercises" or "For More Information" sections and you + don't want those to appear in the ToC. +
    +
    +
    + + Sections: Reverted change that caused a variable reference + to be used in a template match and rewrote code to preserve + intended semantics. + + + Lists: Added workaround to prevent "* 0.60 + 1em" garbage in + list output from PassiveTeX + + + Moved the literal attributes from + component.title to the + component.title.properties attribute-set so + they can be customized. + + + Lists: Added glossdef's first + para to special handling in + fo:list-item-body. + +
    + + + HTML + + TOCs: Added new parameter + simplesect.in.toc; for details, see + the list of changes for this + release. + + + Indexing: Added new parameter + index.prefer.titleabbrev; when set to + 1, index references will use + titleabbrev instead of + title when available. + + + + HTML Help + + Added support for generating windows-1252-encoded + output using Saxon; for more details, see the list of changes for this release. + + + + man pages + + Replaced named/numeric character-entity references for + non-breaking space with groff equivalent (backslash-tilde). + + + + XSL Java extensions + + Saxon extensions: Added the + Windows1252 class. It extends Saxon + 6.5.x with the windows-1252 character set, which is + particularly useful when generating HTML Help for Western + European Languages (code from + Pontus + Haglund and contributed to the + DocBook community by Sectra AB, Sweden). + To use: + + + Make sure that the Saxon 6.5.x jar file and the jar file for + the DocBook XSL Java extensions are in your CLASSPATH + + + Create a DocBook XSL customization layer -- a file named + mystylesheet.xsl or whatever -- that, at a + minimum, contains the following: + <xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/> + <xsl:output method="html" encoding="WINDOWS-1252" indent="no"/> + <xsl:param name="htmlhelp.encoding" select="'WINDOWS-1252'"></xsl:param> + <xsl:param name="chunker.output.encoding" select="'WINDOWS-1252'"></xsl:param> + <xsl:param name="saxon.character.representation" select="'native'"></xsl:param> + </xsl:stylesheet> + + Invoke Saxon with the + encoding.windows-1252 Java system property set + to com.nwalsh.saxon.Windows1252; for example + java \ + -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ + com.icl.saxon.StyleSheet \ + mydoc.xml mystylesheet.xsl + + Or, for a more complete "real world" case showing other + options you'll typically want to use: + java \ + -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ + -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \ + -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \ + -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \ + com.icl.saxon.StyleSheet \ + -x org.apache.xml.resolver.tools.ResolvingXMLReader \ + -y org.apache.xml.resolver.tools.ResolvingXMLReader \ + -r org.apache.xml.resolver.tools.CatalogResolver \ + mydoc.xml mystylesheet.xsl + + In both cases, the "mystylesheet.xsl" file should be a + DocBook customization layer containing the parameters + show in step 2. + + + + + + Saxon extensions: Removed Saxon 8 extensions from release package + + +
    +
    + + Release 1.67.0 + + + A number of important bug fixes. + + + Added Saxon8 extensions + + + Enabled dbfo table-width on + entrytbl in FO output + + + Added support for role=strong on + emphasis in FO output + + + Added new FO parameter + hyphenate.verbatim that can be used to turn + on "intelligent" wrapping of verbatim environments. + + + Replaced all <tt></tt> output with + <code></code> + + + Changed admon.graphic.width template to a + mode so that different admonitions can have different graphical + widths. + + + Deprecated the HTML shade.verbatim + parameter (use CSS instead) + + + Wrapped ToC + refentrytitle/refname and + refpurpose in span with class values. This + makes it possible to style them using a CSS stylesheet. + + + Use strong/em instead of + b/i in HTML output + + + Added support for converting Emphasis to + groff italic and Emphasis role='bold' to + bold. Controlled by + emphasis.propagates.style param, but not + documented yet using litprog system. Will do that next (planning + to add some other parameter-controllable options for hyphenation + and handling of line spacing). + + + callout.graphics.number.limit.xml + param: Changed the default from 10 to + 15. + + + verbatim.properties: Added + hyphenate=false + + + Saxon and Xalan Text.java extensions: Added support for + URIResolver() on insertfile href's + + + Added generated RELEASE-NOTES.txt + file. + + + Added INSTALL file (executable file for + generating catalog.xml) + + + Removed obsolete tools directory from + package + + + + +Release 1.66.1 + + +A number of important bug fixes. + + + + +Now xml:base attributes that are generated by an +XInclude processor are resolved for image files. + + + + +Rewrote olink templates to support several new features. + + + + +Extended full olink support to FO output. + + + + +Add support for xrefstyle attribute in olinks. + + + + +New parameters to support new olink features: +insert.olink.page.number, insert.olink.pdf.frag, +olink.debug, olink.lang.fallback.sequence, olink.properties, +prefer.internal.olink. +See the reference page for each parameter for more +information. + + + + + +Added index.on.type parameter for new type +attribute introduced in DocBook 4.3 for indexterms and index. +This allows you to create multiple indices containing +different categories of entries. +For users of 4.2 and earlier, you can use the new parameter index.on.role +instead. + + + + +Added new +section.autolabel.max.depth parameter to turn off section numbering +below a certain depth. +This permits you to number major section levels and leave minor +section levels unnumbered. + + + +Added footnote.sep.leader.properties attribute set to format +the line separating footnotes in printed output. + + + + +Added parameter img.src.path as a prefix to HTML img src +attributes. +The prefix is added to whatever path is already generated by the +stylesheet for each image file. + + + +Added new attribute-sets +informalequation.properties, +informalexample.properties, +informalfigure.properties, and informaltable.properties, +so each such element type can be formatted +individually if needed. + + + + +Add component.label.includes.part.label +parameter to add any part number to chapter, appendix +and other component labels when +the label.from.part parameter is nonzero. +This permits you to distinguish multiple chapters with the same +chapter number in cross references and the TOC. + + + +Added chunk.separate.lots parameter for HTML output. +This parameter lets you generate separate chunk files for each LOT +(list of tables, list of figures, etc.). + + +Added several table features: + + + +Added table.table.properties attribute set to add +properties to the fo:table element. + + + + +Added placeholder templates named table.cell.properties +and table.cell.block.properties to enable adding properties +to any fo:table-cell or the cell's fo:block, respectively. + These templates are a start for implementing table styles. + + + + + +Added new attribute +set component.title.properties for easy modifications of +component's title formatting in FO output. + + + + +Added Saxon support for an encoding attribute on the textdata element. Added new parameter +textdata.default.encoding which specifies encoding when +encoding attribute on +textdata is missing. + + + + +Template label.this.section now controls whole +section label, not only sub-label which corresponds to +particular label. Former behaviour was IMHO bug as it was +not usable. + + + + +Formatting in titleabbrev for TOC and headers +is preserved when there are no hotlink elements in the title. Formerly the title showed only the text of the title, no font changes or other markup. + + + + +Added intial.page.number template to set the initial-page-number +property for page sequences in print output. +Customizing this template lets you change when page numbering restarts. This is similar to the format.page.number template that lets you change how the page number formatting changes in the output. + + + + +Added force.page.count template to set the force-page-count +property for page sequences in print output. +This is similar to the format.page.number template. + + + + +Sort language for localized index sorting in autoidx-ng.xsl is now taken from document +lang, not from system environment. + + + + +Numbering and formatting of normal +and ulink footnotes (if turned on) has been unified. +Now ulink footnotes are mixed in with any other footnotes. + + + +Added support for renderas attribute in section and +sect1 et al. +This permits you to render a given section title as if it were a different level. + + + +Added support for label attribute in footnote to manually +supply the footnote mark. + + + + +Added support for DocBook 4.3 corpcredit element. + + + + +Added support for a dbfo keep-together PI for +formal objects (table, figure, example, equation, programlisting). That permits a formal object to be kept together if it is not already, or to be broken if it +is very long and the +default keep-together is not appropriate. + + + + +For graphics files, made file extension matching case +insensitive, and updated the list of graphics extensions. + + + + +Allow calloutlist to have block content before +the first callout + + + + +Added dbfo-need processing instruction to provide +soft page breaks. + + + + +Added implementation of existing but unused +default.image.width parameter for graphics. + + + + +Support DocBook NG tag inline element. + + + + +It appears that XEP now supports Unicode characters in +bookmarks. There is no further need to strip accents from +characters. + + + + +Make segmentedlist HTML markup +more semantic and available to CSS styles. + + + + +Added user.preroot placeholder template to +permit xsl-stylesheet and other PIs and comments to be +output before the HTML root element. + + + + +Non-chunked legalnotice now gets an <a +name="id"> element in HTML output +so it can be referenced with xref or link. + + + + +In chunked HTML output, changed link rel="home" to rel="start", +and link rel="previous" to rel="prev", per W3C HTML 4.01 +spec. + + + + +Added several patches to htmlhelp from W. Borgert + + + + +Added Bosnian locale file as common/bs.xml. + + + + + +Release 1.65.0 + + +A number of important bug fixes. + + + +Added a workaround to allow these stylesheets to process DocBook NG +documents. (It’s a hack that pre-processes the document to strip off the +namespace and then uses exsl:node-set to process +the result.) + + + +Added alternative indexing mechanism which has better +internationalization support. New indexing method allows grouping of +accented letters like e, é, ë into the same group under letter "e". It +can also treat special letters (e.g. "ch") as one character and place +them in the correct position (e.g. between "h" and "i" in Czech +language). +In order to use this mechanism you must create customization +layer which imports some base stylesheet (like +fo/docbook.xsl, +html/chunk.xsl) and then includes appropriate +stylesheet with new indexing code +(fo/autoidx-ng.xsl or +html/autoidx-ng.xsl). For example: +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> +<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/fo/autoidx-ng.xsl"/> + +</xsl:stylesheet> +New method is known to work with Saxon and it should also work +with xsltproc 1.1.1 and later. Currently supported languages are +English, Czech, German, French, Spanish and Danish. + + + + +Release 1.64.1 + +General bug fixes and improvements. Sorry about the failure to produce +an updated release notes file for 1.62.0—1.63.2 + +In the course of fixing bug #849787, wrapping Unicode callouts +with an appropriate font change in the Xalan extensions, I discovered +that the Xalan APIs have changed a bit. So xalan2.jar +will work with older Xalan 2 implementations, xalan25.jar +works with Xalan 2.5. + + + + +Release 1.61.0 + +Lots of bug fixes and improvements. + +Initial support for timestamp PI. From now you + can use <?dbtimestamp format="Y-m-d H:M:S"?> to get current + datetime in your document. Added localization support for datetime PI + + + +Added level 6 to test for section depth in +section.level template so that +section.title.level6.properties will be used for sections +that are 6 deep or deeper. This should also cause a h6 to be +created in html output. + + + +Don't use SVG graphics if use.svg=0 + + + +Now uses number-and-title-template for sections + only if section.autolabel is not zero. + + + +Added missing 'english-language-name' attribute to +the l10n element, and the missing 'style' attribute to the +template element so the current gentext documents will +validate. + + + +Corrected several references to parameter + qanda.defaultlabel that were missing the "$". + + + +Now accepts admon.textlabel parameter to turn off + Note, Warning, etc. label. + + + +FeatReq #684561: support more XEP metadata + + + +Added hyphenation support. Added support for coref. +Added beginpage support. (does nothing; see TDG). + + + +Added support for +hyphenation-character, hyphenation-push-character-count, and +hyphenation-remain-character-count + + + +Added root.properties, +ebnf.assignment, +and ebnf.statement.terminator + + + +Support bgcolor PI in table cells; make sure +rowsep and colsep don't have any effect on the last row or +column + + + +Handle othercredit on titlepage a little +better + + + +Applied fix from Jeff Beal that fixed the bug +that put secondary page numbers on primary entries. Same +with tertiary page numbers on secondary entries. + + + +Added definition of missing variable +collection. + + + +Make footnote formatting 'normal' even when it +occurs in a context that has special formatting + + + +Added warning when glossary.collection is not +blank, but it cannot open the specified file. + + + +Pick up the frame attribute on table and +informaltable. + + + +indexdiv/title +in non-autogenerated indexes are +now picked up. + + + +Removed (unused) +component.title.properties + + + +Move IDs from +page-sequences down to titlepage blocks + + + +Use +proportional-column-width(1) on more tables. + +Use proportional-column-width() for +header/footer tables; suppress relative-align when when +using FOP + + + +Check for glossterm.auto.link when linking +firstterms; don't output gl. prefix on glossterm links + + + +Generate Part ToCs + + + +Support glossary, bibliography, +and index in component ToCs. + + + +Refactored chunking code so that +customization of chunk algorithm and chunk elements is more +practical + + + +Support textobject/phrase +on inlinemediaobject. + + + +Support 'start' PI on ordered lists + + + +Fixed test of $toc PI to turn on qandaset TOC. + + + +Added process.chunk.footnotes to sect2 through +5 to fix bug of missing footnotes when chunk level greater +than 1. + + + +Added +paramater toc.max.depth which controls maximal depth of ToC +as requested by PHP-DOC group. + + + +Exempted titleabbrev from preamble processing in +lists, and fixed variablelist preamble code to use the same +syntax as the other lists. + + + +Added support for elements between variablelist +and first varlistentry since DocBook 4.2 supports that now. + + + + + +Release 1.60.1 + +Lots of bug fixes. + +The format of the titlepage.templates.xml files and +the stylesheet that transforms them have been significantly changed. All of the +attributes used to control the templates are now namespace qualified. So what +used to be: +<t:titlepage element="article" wrapper="fo:block"> +is now: +<t:titlepage t:element="article" t:wrapper="fo:block"> +Attributes from other namespaces (including those that are unqualified) are +now copied directly through. In practice, this means that the names that used +to be fo: qualified: +<title named-template="component.title" + param:node="ancestor-or-self::article[1]" + fo:text-align="center" + fo:keep-with-next="always" + fo:font-size="&hsize5;" + fo:font-weight="bold" + fo:font-family="{$title.font.family}"/> +are now unqualified: +<title t:named-template="component.title" + param:node="ancestor-or-self::article[1]" + text-align="center" + keep-with-next="always" + font-size="&hsize5;" + font-weight="bold" + font-family="{$title.font.family}"/> +The t:titlepage and t:titlepage-content +elements both generate wrappers now. And unqualified attributes on those elements +are passed through. This means that you can now make the title font apply to +ane entire titlepage and make the entire recto +titlepage centered by specifying the font and alignment on the those elements: +<t:titlepage t:element="article" t:wrapper="fo:block" + font-family="{$title.font.family}"> + + <t:titlepage-content t:side="recto" + text-align="center"> + + + + + + + +Support use of titleabbrev in running +headers and footers. + + + +Added (experimental) xref.with.number.and.title +parameter to enable number/title cross references even when the +default would +be just the number. + + + +Generate part ToCs if they're requested. + + + +Use proportional-column-width() in header/footer tables. + + + +Handle alignment correctly when screenshot +wraps a graphic in a figure. + + + +Format chapter and appendix +cross references consistently. + + + +Attempt to support tables with multiple tgroups +in FO. + + + +Output fo:table-columns in +simplelist tables. + + + +Use titlepage.templates.xml for +indexdiv and glossdiv formatting. + + + +Improve support for new bibliography elements. + + + +Added +footnote.number.format, +table.footnote.number.format, +footnote.number.symbols, and +table.footnote.number.symbols for better control of +footnote markers. + + + +Added glossentry.show.acronyms. + + + +Suppress the draft-mode page masters when +draft-mode is no. + + + +Make blank pages verso not recto. D'Oh! + + + +Improved formatting of ulink footnotes. + + + +Fixed bugs in graphic width/height calculations. + + + +Added class attributes to inline elements. + + + +Don't add .html to the filenames identified +with the dbhtml PI. + + + +Don't force a ToC when sections contain refentrys. + + + +Make section title sizes a function of the +body.master.size. + + + + + +Release 1.59.2 + +The 1.59.2 fixes an FO bug in the page masters that causes FOP to fail. + + +Removed the region-name from the region-body of blank pages. There's +no reason to give the body of blank pages a unique name and doing so causes +a mismatch that FOP detects. + + + +Output IDs for the first paragraphs in listitems. + + + +Fixed some small bugs in the handling of page numbers in double-sided mode. + + + +Attempt to prevent duplicated IDs from being produced when +endterm on xref points +to something with nested structure. + + + +Fix aligment problems in equations. + + + +Output the type attribute on unordered lists (UL) in HTML only if +the css.decoration parameter is true. + + + +Calculate the font size in formal.title.properties so that it's 1.2 times +the base font size, not a fixed "12pt". + + + + + +Release 1.59.1 + +The 1.59.1 fixes a few bugs. + + +Added Bulgarian localization. + + + +Indexing improvements; localize book indexes to books but allow setindex +to index an entire set. + + + +The default value for rowsep and colsep is now "1" as per CALS. + + + +Added support for titleabbrev (use them for cross +references). + + + +Improvements to mediaobject for selecting print vs. online +images. + + + +Added seperate property sets for figures, +examples, equations, tabless, +and procedures. + + + +Make lineannotations italic. + + + +Support xrefstyle attribute. + + + +Make endterm on +xref higher priority than +xreflabel target. + + + +Glossary formatting improvements. + + + + + +Release 1.58.0 + +The 1.58.0 adds some initial support for extensions in xsltproc, adds +a few features, and fixes bugs. + + +This release contains the first attempt at extension support for xsltproc. +The only extension available to date is the one that adjusts table column widths. +Run extensions/xsltproc/python/xslt.py. + + + +Fixed bugs in calculation of adjusted column widths to correct for rounding +errors. + + + +Support nested refsection elements correctly. + + + +Reworked gentext.template to take context into consideration. +The name of elements in localization files is now an xpath-like context list, not +just a simple name. + + + +Made some improvements to bibliography formatting. + + + +Improved graphical formatting of admonitions. + + + +Added support for entrytbl. + + + +Support spanning index terms. + + + +Support bibliosource. + + + + + +Release 1.57.0 + + +The 1.57.0 release wasn't documented here. Oops. + + + + + +Release 1.56.0 + +The 1.56.0 release fixes bugs. + + +Reworked chunking. This will break all existing customizations +layers that change the chunking algorithm. If you're customizing chunking, +look at the new content parameter that's passed to +process-chunk-element and friends. + + + +Support continued and inherited numeration in orderedlist +formatting for FOs. + + + +Added Thai localization. + + + +Tweaked stylesheet documentation stylesheets to link to TDG and +the parameter references. + + + +Allow title on tables of contents ("Table of Contents") to be optional. +Added new keyword to generate.toc. +Support tables of contents on sections. + + + +Made separate parameters for table borders and table cell borders: +table.frame.border.color, +table.frame.border.style, +table.frame.border.thickness, +table.cell.border.color, +table.cell.border.style, and +table.cell.border.thickness. + + + +Suppress formatting of endofrange indexterms. +This is only half-right. They should generate a range, but I haven't figured out how +to do that yet. + + + +Support revdescription. (Bug #582192) + + + +Added default.float.class and fixed figure +floats. (Bug #497603) + + + +Fixed formatting of sbr in FOs. + + + +Added context to the missing template error message. + + + +Process arg correctly in a group. +(Bug #605150) + + + +Removed 'keep-with-next' from formal.title.properties +attribute set now that the stylesheets support the option of putting +such titles below the object. Now the $placement value determines if +'keep-with-next' or 'keep-with-previous' is used in the title block. + + + +Wrap url() around external-destinations when appropriate. + + + +Fixed typo in compact list spacing. (Bug #615464) + + + +Removed spurious hash in anchor name. (Bug #617717) + + + +Address is now displayed verbatim on title pages. (Bug #618600) + + + +The bridgehead.in.toc parameter is now properly +supported. + + + +Improved effectiveness of HTML cleanup by increasing the number +of places where it is used. Improve use of HTML cleanup in XHTML stylesheets. + + + +Support table of contents for appendix in +article. (Bug #596599) + + + +Don't duplicate footnotes in bibliographys and +glossarys. (Bug #583282) + + + +Added default.image.width. (Bug #516859) + + + +Totally reworked funcsynopsis code; it now +supports a 'tabular' presentation style for 'wide' prototypes; see +funcsynopsis.tabular.threshold. (HTML only +right now, I think, FO support, uh, real soon now.) + + + +Reworked support for difference marking; toned down the colors a bit +and added a system.head.content template so that the diff CSS +wasn't overriding user.head.content. (Bug #610660) + + + +Added call to the *.head.content elements when writing +out long description chunks. + + + +Make sure legalnotice link is correct even when +chunking to a different base.dir. + + + +Use CSS to set viewport characteristics if +css.decoration is non-zero, use div instead of p for making +graphic a block element; make figure titles the +default alt +text for images in a figure. + + +Added space-after to list.block.spacing. + + + +Reworked section.level template to give correct answer +instead of being off by one. + + + +When processing tables, use the tabstyle +attribute as the division class. + + + +Fixed bug in html2xhtml.xsl that was causing the +XHTML chunker to output HTML instead of XHTML. + + + + + + Older releases + To view the release notes for older releases, see http://cvs.sourceforge.net/viewcvs.py/docbook/xsl/RELEASE-NOTES.xml. Be + aware that there were no release notes for releases prior to the + 1.50.0 release. + + + About dot-zero releases + DocBook Project “dot zero” releases should be + considered experimental and are always + followed by stable “dot one plus” releases, usually within + two or three weeks. Please help to ensure the stability of + “dot one plus” releases by carefully testing each + “dot zero” release and reporting back about any + problems you find. + It is not recommended that you use a “dot zero” + release in a production system. Instead, you should wait for + the “dot one” or greater versions. + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.html b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.html new file mode 100644 index 0000000000..710c5bcc44 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.html @@ -0,0 +1,9605 @@ +Release Notes for the DocBook XSL Stylesheets

    Release Notes for the DocBook XSL Stylesheets

    $Revision: 9401 $ $Date: 2012-06-04 21:47:26 +0000 (Mon, 04 Jun 2012) $

    2013-03-17

    +

    This release-notes + document is available in the following formats: + HTML, + PDF, + plain text; it provides a per-release list +of enhancements and changes to the stylesheets’ public APIs +(user-configurable parameters) and excludes descriptions of most +bug fixes. For a complete list of all changes (including all bug +fixes) that have been made since the previous release, see the +separate NEWS (plain text) or NEWS.html files. Also available: +An online hyperlinked change history (warning: big file) of all +changes made over the entire history of the codebase.

    + +

    As with all DocBook Project “dot + one plus” releases, this release aspires to be stable (in + contrast to dot-zero releases, which + are experimental).

    + + +

    Table of Contents

    Release Notes: 1.78.1
    Common
    FO
    HTML
    Manpages
    Webhelp
    Params
    Highlighting
    Release Notes: 1.78.0
    Gentext
    Common
    FO
    HTML
    Manpages
    Roundtrip
    Slides
    Webhelp
    Params
    Profiling
    Tools
    Template
    Release Notes: 1.77.1
    Gentext
    Common
    FO
    HTML
    Epub
    HTMLHelp
    Eclipse
    JavaHelp
    Webhelp
    Params
    Highlighting
    Profiling
    Lib
    Template
    Extensions
    XSL-Saxon
    Release Notes: 1.77.1
    FO
    HTML
    Roundtrip
    Slides
    Website
    Webhelp
    Release Notes: 1.76.1
    FO
    HTML
    Params
    Release Notes: 1.76.0
    Gentext
    Common
    FO
    HTML
    Manpages
    Epub
    Eclipse
    Params
    XSL-Xalan
    Release Notes: 1.75.2
    Gentext
    Common
    FO
    HTML
    Manpages
    Epub
    Profiling
    XSL-Saxon
    XSL-Xalan
    Release Notes: 1.75.1
    FO
    HTML
    Epub
    Params
    Release Notes: 1.75.0
    Gentext
    Common
    FO
    HTML
    Manpages
    ePub
    HTMLHelp
    Params
    Highlighting
    XSL-Saxon
    XSL-Xalan
    Release Notes: 1.74.3
    Release Notes: 1.74.2
    Release Notes: 1.74.1
    Gentext
    FO
    HTML
    Manpages
    ePub
    Roundtrip
    Params
    Highlighting
    Release Notes: 1.74.0
    Gentext
    Common
    FO
    HTML
    Manpages
    Epub
    HTMLHelp
    Eclipse
    JavaHelp
    Roundtrip
    Slides
    Website
    Params
    Profiling
    Tools
    Extensions
    XSL-Saxon
    XSL-Xalan
    XSL-libxslt
    Release Notes: 1.73.2
    Release: 1.73.1
    Gentext
    FO
    HTML
    Manpages
    HTMLHelp
    Eclipse
    JavaHelp
    Roundtrip
    Params
    Release: 1.73.0
    Gentext
    Common
    FO
    HTML
    Manpages
    Eclipse
    JavaHelp
    Roundtrip
    Params
    Highlighting
    Profiling
    Lib
    Tools
    XSL-Saxon
    XSL-Xalan
    Release: 1.72.0
    Common
    FO
    HTML
    Manpages
    Params
    Template
    Roundtrip
    Release: 1.71.1
    Common
    FO
    HTML
    Highlighting
    Manpages
    Params
    Profiling
    Release: 1.71.0
    Common
    Extensions
    FO
    HTML
    Highlighting
    Manpages
    Params
    Tools
    Release: 1.70.1
    FO
    HTML
    HTMLHelp
    Params
    Release: 1.70.0
    Common
    Extensions
    FO
    HTML
    Manpages
    Params
    Profiling
    Tools
    WordML
    Release 1.69.1
    Release 1.69.0
    Common
    FO
    Help
    HTML
    man
    Release 1.68.1
    Release 1.68.0
    Release 1.67.2
    Release 1.67.1
    Release 1.67.0
    Release 1.66.1
    Release 1.65.0
    Release 1.64.1
    Release 1.61.0
    Release 1.60.1
    Release 1.59.2
    Release 1.59.1
    Release 1.58.0
    Release 1.57.0
    Release 1.56.0
    Older releases
    About dot-zero releases
    + + + + + +

    Release Notes: 1.78.1

    + +

    The following is a list of changes that have been made + since the 1.78.0 release.

    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.78.0 release.

    +
    • +

      Robert Stayton: titles.xsl

      Make sure part and set titleabbrev are used in mode="titleabbrev.markup"
      +
    • +

      Robert Stayton: titles.xsl

      Add empty default template for titleabbrev since it is always processed in a mode.
      +
    • +

      Robert Stayton: gentext.xsl

      Make consistent handling of titleabbrev in xrefs.
      +
    • +

      Robert Stayton: titles.xsl

      for missing title in xref, provide parent information of target to help locate problem element.
      +Process bridgehead in mode="title.markup", not normal mode.
      +
    • +

      Jirka Kosek: l10n.xsl

      Fixed bug #3598963
      +
    • +

      Robert Stayton: gentext.xsl; labels.xsl

      Make sure bridgeheads are not numbered in all contexts, including html title attributes.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.78.0 release.

    +
    • +

      Robert Stayton: division.xsl

      Fix bug where part TOC not generated when partintro is present.
      +
    • +

      Jirka Kosek: xref.xsl

      Footnotes can't be placed into fo:float
      +
    • +

      Robert Stayton: titlepage.templates.xml

      Remove margin-left when start-indent is used because they interfere
      +with each other.
      +
    • +

      Robert Stayton: fo.xsl; pagesetup.xsl

      Use dingbat.fontset rather than dingbat.font.family so it falls
      +back to symbol font if glyph not found, like other font properties.
      +
    • +

      Robert Stayton: inline.xsl

      Change last instance of inline.charseq in inline glossterm to 
      +inline.italicseq so it is consistent with the others.
      +
    • +

      Robert Stayton: xref.xsl

      Make consistent handling of titleabbrev in xrefs.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.78.0 release.

    +
    • +

      Robert Stayton: admon.xsl

      Turn off $admon.style if $make.clean.html is set to non-zero.
      +
    • +

      Jirka Kosek: highlight.xsl

      Added new definitions for syntax highlighting
      +
    • +

      Robert Stayton: chunk-common.xsl

      Make active.olink.hrefs param work for chunked output too.
      +
    • +

      Robert Stayton: xref.xsl

      Make consistent handling of titleabbrev in xrefs.
      +
    • +

      Robert Stayton: graphics.xsl

      Add round() function when pixel counts are used for image width and height.
      +
    • +

      Robert Stayton: glossary.xsl

      fix missing class and id attributes on glossterm and glossdef.
      +
    • +

      Robert Stayton: autoidx.xsl

      Fix bug where prefer.index.titleabbrev ignored info/titleabbrev.
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.78.0 release.

    +
    • +

      Robert Stayton: utility.xsl

      Fix bug 3599520: spurious newline in para when starts with
      +whitespace and inline element.
      +
    +
    + +

    Webhelp

    + +

    The following changes have been made to the + webhelp code + since the 1.78.0 release.

    +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Fix test for webhelp.include.search.tab param
      +
    • +

      David Cramer: Makefile.sample

      Webhelp: Fix order of args to xsltproc
      +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality
      +
    • +

      David Cramer: Makefile; Makefile.sample

      Webhelp: In Makefiles, do xinclude in first pass at document
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.78.0 release.

    +
    • +

      David Cramer: webhelp.include.search.tab.xml

      Webhelp: Fix test for webhelp.include.search.tab param
      +
    • +

      Robert Stayton: article.appendix.title.properties.xml

      Remove unneeded margin-left property from article appendix title.
      +It interferes with the start-indent property.
      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.78.0 release.

    +
    • +

      Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯

      Added new definitions for syntax highlighting
      +
    +
    + +
    +

    Release Notes: 1.78.0

    + +

    The following is a list of changes that have been made + since the 1.77.1 release.

    + +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.77.1 release.

    +
    • +

      Mauritz Jeanson: locale/nn.xml; locale/nb.xml

      Bug #3556630: Updated nb and nn locale files.
      +
    • +

      Mauritz Jeanson: locale/README

      Bug #3556628: Updated information in README.
      +
    • +

      tom_schr: locale/de.xml

      Added keycap context from RFE#3540451 to support @function attribute
      +
    • +

      tom_schr: locale/en.xml

      Added keycap context from RFE#3540451 to support @function attribute
      +
    • +

      Robert Stayton: locale/en.xml

      Add support for title element in screenshot, now allowed in DocBook 5.
      +
    +
    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: titles.xsl

      Corrected template for bridgehead in mode="title.markup" to
      +process its children in normal mode.
      +
    • +

      Robert Stayton: labels.xsl

      Convert hard wired xsl:number for production into a template
      +with mode="label.markup" to be consistent with other element numbering.
      +
    • +

      Robert Stayton: olink.xsl

      Remove all references and code for obsolete olink attributes
      +@linkmode @targetdocent and @localinfo.
      +
    • +

      Robert Stayton: olink.xsl

      Add parameter 'activate.external.olinks' to allow making
      +external olinks inactive, as for epub output.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: pagesetup.xsl

      Change initial page number for book from 1 to auto so front
      +cover and title pages are sequential, and so that book inside
      +set will continue numbering.
      +
    • +

      Robert Stayton: inline.xsl

      Add missing closing tag for xsl:choose in new template.
      +
    • +

      Robert Stayton: param.xweb; param.ent; pagesetup.xsl

      Add force.blank.pages parameter to allow turning off blank
      +pages in double.sided output.
      +
    • +

      Robert Stayton: lists.xsl; callout.xsl

      Implement active links between co and callout elements for
      +PDF output, linking in both directions.
      +
    • +

      Robert Stayton: table.xsl

      Fix typo to replace "ro" with "row" in three places.
      +
    • +

      Robert Stayton: ebnf.xsl

      Convert hard wired xsl:number for production into a template
      +with mode="label.markup" to be consistent with other element numbering.
      +
    • +

      Robert Stayton: inline.xsl

      Make comma inserted after function/parameter or function/replaceable
      +conditional on $function.parens to be consistent with the function template.
      +
    • +

      tom_schr: inline.xsl

      Added new inline.sansseq template for consistency reasons.
      +Makes it easier for customization layers: Just use 
      +  <xsl:call-template name="inline.sansseq"/> 
      +to change to sans serif font, but also takes into account
      +XLinks and direction of text.
      +
    • +

      Robert Stayton: xref.xsl

      Remove all references and code for obsolete olink attributes
      +@linkmode @targetdocent and @localinfo.
      +
    • +

      Robert Stayton: table.xsl

      Remove passivetex.extensions code.
      +
    • +

      Robert Stayton: spaces.xsl; autotoc.xsl; docbook.xsl; division.xsl; table.xsl; sections.xs⋯

      Remove all passivetex code because it is obsolete.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add parameter 'activate.external.olinks' to allow making
      +external olinks inactive, as for epub output.
      +
    • +

      Mauritz Jeanson: table.xsl

      Added support for keep-together PI on informaltable. Closes bug #3555609.
      +
    • +

      tom_schr: verbatim.xsl

      Fixed subtle typo when calling lastLineNumber template: must be $listing instead of listing
      +
    • +

      tom_schr: autoidx.xsl

      Fixed typo: fole -> role attribute for phrase
      +
    • +

      tom_schr: inline.xsl

      Added support for @function attribute in keycap (uses keycap context
      +from language files) => fixes RFE#3540451
      +If @function is set and keycap is empty, then template will use the
      +content from the keycap context, otherwise it will use just the given
      +text
      +
    • +

      Robert Stayton: graphics.xsl; xref.xsl

      Add support for title element in screenshot, now allowed in DocBook 5.
      +
    • +

      Robert Stayton: graphics.xsl

      Restore formatting of figure/caption that was broken in 1.77.1.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.77.1 release.

    +
    • +

      David Cramer: autotoc.xsl

      Fixing bug where toc.title.p and nodes params had not been declared inside manual-toc template
      +
    • +

      Robert Stayton: autotoc.xsl

      Add 'toc.list.attributes' template to insert class and other
      +attributes on the top level list element in a table of contents.
      +
    • +

      Robert Stayton: block.xsl

      Fix bug 3590039 abstract/title not rendered.
      +
    • +

      Jirka Kosek: chunk-common.xsl; footnote.xsl

      Fixed positioning of footnote separate when CSS decoration is used.
      +
    • +

      Robert Stayton: ebnf.xsl

      Convert hard wired xsl:number for production into a template
      +with mode="label.markup" to be consistent with other element numbering.
      +
    • +

      Robert Stayton: inline.xsl

      Make comma inserted after function/parameter or function/replaceable
      +conditional on $function.parens to be consistent with the function template.
      +
    • +

      Robert Stayton: graphics.xsl

      Add support for mediaobject/alt, with precedence over
      +mediaobject/textobject/phrase.
      +
    • +

      Robert Stayton: param.xweb

      Remove src:fragref elements for deleted obsolete olink params.
      +
    • +

      Robert Stayton: chunker.xsl

      Fix bug #3563697 where template make-relative-filename was using a
      +global param chunk.base.dir instead of its local param base.dir.  Now it uses base.dir.
      +
    • +

      Robert Stayton: param.xweb; param.ent; xref.xsl

      Remove all references and code for obsolete olink attributes
      +@linkmode @targetdocent and @localinfo.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add parameter 'activate.external.olinks' to allow making
      +external olinks inactive, as for epub output.
      +
    • +

      stefan: graphics.xsl

      Add hook for customization.
      +
    • +

      tom_schr: docbook.xsl

      Splitting head.content into smaller chunks of templates.
      +See https://lists.oasis-open.org/archives/docbook-apps/201209/msg00037.html
      +
    • +

      tom_schr: verbatim.xsl

      Fixed subtle typo when calling lastLineNumber template: must be $listing instead of listing
      +
    • +

      Robert Stayton: footnote.xsl

      Fix bug in footnote link introduced in 1.77.1.
      +
    • +

      Robert Stayton: formal.xsl; htmltbl.xsl

      Resolve conflict of duplicate ids on html table with caption.
      +Wrap a div with class and id attribute around html table without caption.
      +
    • +

      Robert Stayton: component.xsl

      Remove call to 'generate.id' template in <h1> in component.title because the
      +id is already generated for the parent div element.
      +
    • +

      Robert Stayton: chunker.xsl

      Set omit-xml-declaration to 'yes' for write.text.chunk template, since a text
      +file should never have an xml declaration.
      +
    • +

      tom_schr: inline.xsl

      Added support for @function attribute in keycap (uses keycap context
      +from language files) => fixes RFE#3540451
      +If @function is set and keycap is empty, then template will use the
      +content from the keycap context, otherwise it will use just the given
      +text
      +
    • +

      David Cramer: docbook.xsl

      Also set the title param in head.content since it's sometimes
      +called without that param being passed in. Use the passed-in
      +value in user.head.title.
      +
    • +

      Robert Stayton: docbook.xsl

      Restore missing title param on 'head.content' template, and passed
      +it along to user.head.title. That param
      +is used for certain special chunkings such as Long Descriptions.
      +
    • +

      Robert Stayton: graphics.xsl; xref.xsl

      Add support for title in screenshot, available since DocBook 5.
      +
    • +

      David Cramer: docbook.xsl

      HTML: Add hook for easily customizing html/head/title
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: lists.xsl

      Add a line break at start of variablelist to fix bug #3595156.
      +
    • +

      Robert Stayton: lists.xsl

      Better fix for bug #3545150 by putting the title with the step number
      +rather than before it.
      +
    • +

      Robert Stayton: utility.xsl

      Add 'content' param to template name inline.monoseq to support
      +email format, fixing bug #3524417.
      +
    • +

      Robert Stayton: utility.xsl

      Fix bug #3512473 where an inline synopsis element produced
      +an extra line break in nroff output.
      +
    • +

      Robert Stayton: lists.xsl

      Fix bug 3545150 where procedure/step/title not rendered in man pages.
      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: dbk2wordml.xsl

      Fix bug #3297553 error in Word metadata elements from including
      +WordML markup instead of just text.
      +
    +
    + +

    Slides

    + +

    The following changes have been made to the + slides code + since the 1.77.1 release.

    +
    • +

      gaborkovesdan: xhtml/plain.xsl

      - Use real push-style processing in the foil/foilgroup page content, which
      +  allows better customization in general (e.g. you can add PI templates)
      +  and also let us render scattered speakernotes/handoutnotes if that is
      +  desired
      +
    • +

      gaborkovesdan: xhtml/Makefile

      - Titlepage markup belongs to the XHTML namespace
      +
    • +

      gaborkovesdan: xhtml/plain.xsl

      - Remove now unnecessary template redefinition
      +
    • +

      gaborkovesdan: xhtml/plain.xsl

      - Generate valid links from cross-references
      +
    • +

      gaborkovesdan: xhtml/plain.xsl

      - Do not add fallbacks for EXSLT extensions, the main DocBook XSL stylesheets
      +  do not do that either
      +
    • +

      Robert Stayton: schema/relaxng/slides.rnc

      Update the import path for docbook.rnc after the slides directory was moved.
      +
    • +

      stefan: xhtml/plain.xsl

      Add missing stylesheet.
      +
    • +

      stefan: schema/xsd/Makefile; schema/Makefile; schema/relaxng/Makefile

      Adjust Makefiles.
      +
    • +

      stefan: locatingrules.xml; RELEASE-NOTES.xml; doc; images; locatingrules.xml; Makefile; im⋯

      Moved many files from slides/ to xsl/slides/
      +
    • +

      stefan: fo/param.xweb; xhtml/Makefile; xhtml/param.xweb; fo/Makefile

      Separate slides package.
      +
    • +

      stefan: Makefile

      A bit of cleanup...
      +
    • +

      stefan: xhtml/Makefile; fo/Makefile

      Add to 'clean' target.
      +
    • +

      David Cramer: Makefile

      Slides: Change html to xhtml passim.
      +
    • +

      David Cramer: xhtml

      Adding items to svn ignore for slides
      +
    • +

      stefan: slidy

      Import slidy from vendor branch.
      +
    • +

      stefan: s5

      Import s5 from vendor branch.
      +
    • +

      stefan: Makefile; common/common.xsl; common; fo/param.ent; graphics; xhtml/Makefile.param;⋯

      Merge Slides GSoC project to trunk.
      +
    +
    + +

    Webhelp

    + +

    The following changes have been made to the + webhelp code + since the 1.77.1 release.

    +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: More doc updates
      +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: Documentation updates.
      +
    • +

      David Cramer: template/content; Makefile; Makefile.sample; build.xml; template/search

      Webhelp: Improving sample Makefile to allow for profiling params and other params, removing content dir from template and making related adjustments in Makefile and build.xml
      +
    • +

      David Cramer: Makefile.sample

      Attempting to include sample Makefile in webhelp output dir
      +
    • +

      David Cramer: template/common/css/positioning.css

      Webhelp: Do not display sidebar if js is disabled in browser since it will not be functional
      +
    • +

      Jirka Kosek: build.xml

      Xerces must be on the classpath in order to XInclude work
      +
    • +

      David Cramer: Makefile

      Adding generated files to various clean targets.
      +
    • +

      David Cramer: build.properties

      Webhelp: By default don't validate against dtd when using ant build
      +
    • +

      David Cramer: Makefile

      Webhelp: By default only exclude ix01.html from search in Makefile
      +
    • +

      David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯

      Webhelp: Reverting last commit
      +
    • +

      David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯

      Webhelp: Removing two more unused jquery files
      +
    • +

      David Cramer: template/common/jquery/jquery-1.4.2.min.js

      Webhelp: Removing old, unused jquery file
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Fix header logo link
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Fix bad link to favicon.ico
      +
    • +

      David Cramer: template/common/jquery/jquery-1.7.2.min.js; template/common/main.js; templat⋯

      First part of the GSoC 2012 work by Arun and Visitha:
      +
      +Visitha Baddegama
      +Remove content folder from Webhelp output
      +Build Webhelp using GNU Make/without ant
      +Support a parameterized list of files to exclude while indexing
      +Improve information message for browser with JavaScript disabled
      +Support searching for terms with punctuation like build.xml
      +
      +Arun Bharadwaj
      +Make it possible to include the doc title in head/title and 
      + not in the search results
      +Improve performance in IE 8/9
      +Expandable TOC pane
      +Information message for browser with JavaScript disabled
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Use user.head.title to add title to webhelp pages, 
      +but do not yet add the book title to the page title.
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Revert 9433. We need to fix the indexer before we can include the document title in the html/head/title
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Append document title to html/head/title
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: fix missing reference to ie.css
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: page.height.portrait.xml; page.width.portrait.xml

      Add USlegal and USlegallandscape.
      +
    • +

      Robert Stayton: force.blank.pages.xml

      Improve the description.
      +
    • +

      Robert Stayton: page.margin.outer.xml; writing.mode.xml; double.sided.xml; page.margin.inn⋯

      Improve the description.
      +
    • +

      Robert Stayton: force.blank.pages.xml

      New param to control generating blank even-numbered pages.
      +
    • +

      Robert Stayton: passivetex.extensions.xml

      Indicate that passivetex is no longer supported.
      +
    • +

      Robert Stayton: footnote.properties.xml

      Fix bug #3555628 where a footnote inside a blockquote inherits the end-indent from the blockquote.
      +
    • +

      stefan: foil.page-sequence.properties.xml; handoutnotes.properties.xml; slidy.duration.xml⋯

      Merge Slides GSoC project to trunk.
      +
    • +

      Robert Stayton: activate.external.olinks.xml

      Add parameter 'activate.external.olinks' to allow making
      +external olinks inactive, as for epub output.
      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.77.1 release.

    +
    • +

      Robert Stayton: xsl2profile.xsl

      Test for @xml:id as well as @id for $rootid.
      +
    +
    + +

    Tools

    + +

    The following changes have been made to the + tools code + since the 1.77.1 release.

    +
    • +

      David Cramer: bin/docbook-xsl-update

      s/VERSION/VERSION.xsl/ again.
      +
    • +

      David Cramer: xsl/build/xsl-param-link.xsl; xsl/build/make-xsl-params.xsl

      Slides: Change html to xhtml passim.
      +
    +
    + +

    Template

    + +

    The following changes have been made to the + template code + since the 1.77.1 release.

    +
    • +

      Jirka Kosek: titlepage.xsl

      Autoguess of proper parameter settings
      +
    +
    + +
    + +

    Release Notes: 1.77.1

    + +

    The following list summarizes the major changes that have been made + since the 1.76.1 release. It is followed by sections detailing changes to individual files +from the SVN checkin logs, edited to remove housekeeping changes and bug fixes. +See the NEWS.xml file for a complete unedited list of SVN changes.

    +
    • Gentext

      +
      webhelp
      +

      Many improvements to the generated text for webhelp output.

      +
      +
    • Common

      Support more media types
      +

      Expanded list of supported filename extensions for media to include video and audio, mostly for HTML5 and EPUB3 outputs.

      +
      Topic element
      +

      Add basic support for new topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic.

      +
    • FO

      Add para.properties attribute-set
      +

      Add a para.properties attribute-set that applies only to para elements. That allows still using normal.para.spacing attribute-set for many block elements for uniform spacing, but allows separate formatting of para elements.

      +
      List of titles in article
      +

      Add support for List of Tables, List of Figures, etc. for articles and other component-level elements. Includes a new template for each in autotoc.xsl, new attribute-sets in titlepage.xsl, and new entries in the titlepage.templates.xml file tu support customization.

      +
      Customizing links in FO
      +

      Add template mode simple.xlink.properties to allow +easy customization of formatting of links generated +from elements that use +the xlink attributes. This extends link formatting beyond that of xref, link, and olink which use xref.properties attribute-set.

      +
      Table caption
      +

      The caption element in an HTML table is now handled like a title in a CALS table, using the formal.object.title template with all its features, including placement. Now caption template in mode="htmlTable" does nothing, because +caption handled by formal.object.title template. Also adds support for table caption element in a CALS table, placing it after the table.

      +
      Graphics attribute handling
      +

      Refactored the big process.image template to use individual templates such as image.width for most attributes to allow easier customization of individual properties.

      +
      Side regions
      +

      Add support for side page regions in addition to header and footer regions. This feature lets you add running content to the side margins, and by default the content is rotated 90 degrees. Adds new templates named running.side.content, region.inner and region.outer; new template modes region.inner.mode and region.outer.mode; new parameters named region.inner.extent, region.outer.extent, body.margin.inner, body.margin.outer, and side.region.precedence; and new attribute-sets named inner.region.content.properties, outer.region.content.properties, region.inner.properties, and region.outer.properties.

      +
      Callout formatting
      +

      Add new attribute-sets for calloutlist.

      +
      Topic element
      +

      Add basic support for formatting a topic element, which is available in DocBook 5.1.

      +
    • HTML

      + +
      HTML5
      +

      Add variables to the base HTML stylesheets that can be adjusted for the HTML5 stylesheets.

      +
      Insert Javascript reference
      +

      Add support for html.script param to insert reference to a Javascript file.

      +
      Namespace for titlepage mechanism.
      +

      Titlepage mechanism is now namespace aware to support XHTML.

      +
      Chunked filename prefix
      +

      New param named chunked.filename.prefix lets you add a filename prefix to each chunked file. This replaces the buggy practice of adding such a prefix to the base.dir param. Now the base.dir param will always have a trailing slash added if it is not present, so you no longer have to remember to add it to the param value.

      +
      Generate id attributes
      +

      The stylesheet param generate.id.attributes already existed but was incompletely implemented. Now when it is set to 1, only id attributes should be output, not <a name> named anchors.

      +
      Generate consistent id attributes
      +

      New generate.consistent.ids parameter which allows generating a more stable id values based on XPath rather than the generate-id() function, which may not produce consistent values between runs. Stable output ids allow you to make stable links to generated content from the outside.

      +
      Topic element
      +

      Add basic support for formatting a topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic.

      +
      +
    • Webhelp

      +
      Webhelp refactored
      +

      Webhelp templates refactored to better support customization.

      +
      Added documentation.
      +

      More and better documentation added.

      +
      Webhelp generated text
      +

      Many improvements to the generated text for webhelp output.

      +
      +
    • XHTML5

      +

      New stylesheets to generate HTML5 output, in an XML serialization. These templates are a customization layer on top of the XHTML stylesheet files.

      +
    • EPUB3

      +

      New stylesheets to generate EPUB3 output. These templates are a customization layer on top of the xhtml5 stylesheet files.

      +
    • Assembly

      +

      New assembly.xsl stylesheet to convert a DocBook 5.1 assembly into a standard DocBook 5 document. Also includes a topic-maker-chunk.xsl stylesheet that can convert a DocBook 5 book or article document into an assembly with a collection of modular files, including converting some elements to topic files.

      +
    +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.76.1 release.

    +
    • +

      stefanhinz: locale/de.xml

      Translated German WebHelp strings
      +
    • +

      David Cramer: locale/zh.xml; locale/en.xml; locale/fr.xml; locale/de.xml; locale/ja.xml

      Webhelp: Update non-en gentext strings
      +
    • +

      Robert Stayton: locale/en.xml

      Add topic to title-numbered context.
      +
    • +

      Robert Stayton: locale/en.xml

      Add basic topic element templates.
      +
    • +

      Mauritz Jeanson: locale/el.xml

      Updated gentext for quotation marks. Fixes bug #3512440.
      +
    • +

      Jirka Kosek: locale/cs.xml

      Adding missing context for webhelp
      +
    • +

      David Cramer: locale/en.xml

      Fixing syntax of webhelp gentext entries
      +
    • +

      David Cramer: locale/en.xml

      Moving webhelp gentext strings into a context
      +
    • +

      tom_schr: locale/zh.xml; locale/en.xml; locale/cs.xml; locale/fr.xml; locale/de.xml; local⋯

      Moved language specific of WebHelp to gentext/locale/ as discussed with
      +Stefan following the "minimal intrusive approach". :)
      +In the long run, maybe moving the text into a context, not sure.
      +
    • +

      Jirka Kosek: locale/ru.xml

      Aligned capitalization of first letters with English original
      +
    +
    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: common.xsl

      In "select.mediaobject.index" template, add selection of videoobject
      +and audioobject since now supported in HTML5.
      +
    • +

      Robert Stayton: labels.xsl; titles.xsl; entities.ent; targets.xsl; subtitles.xsl; gentext.⋯

      Add basic support for new <topic> element.
      +
    • +

      Robert Stayton: common.xsl

      Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
      +
    • +

      Robert Stayton: olink.xsl

      Generate error message if olink data in targetset is in a namespace.
      +
    • +

      Robert Stayton: common.xsl

      Add support for generate.consistent.ids parameter.
      +
    • +

      Robert Stayton: subtitles.xsl

      Add verbose param to subtitle.markup templates to allow its
      +error message to be ignored. 
      +Add that param to fop1.xsl application of subtitle.markup
      +to avoid unnecessary error message in document information.
      +
    • +

      Robert Stayton: labels.xsl

      Add empty templates for glossdiv, glosslist, and glossentry in
      +mode="label.markup".
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: graphics.xsl

      qualify caption template to mediaobject/caption so not confused with table/caption.
      +
    • +

      Robert Stayton: table.xsl

      Add template to process table/caption element.
      +
    • +

      Robert Stayton: titlepage.xsl; autotoc.xsl; component.xsl; xref.xsl; titlepage.templates.x⋯

      Add basic support for new <topic> element.
      +
    • +

      Robert Stayton: graphics.xsl

      Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
      +
    • +

      Robert Stayton: titlepage.xsl

      Add default style att-sets for component.list.of.titles, etc.
      +
    • +

      Robert Stayton: autotoc.xsl; component.xsl; titlepage.templates.xml

      Add make.component.tocs to support lists of tables, etc. for
      +article and other components.  Added component.list.of.tables to
      +titlepage.templates.xml to format the title.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add new para.properties attribute-set for paragraphs.
      +
    • +

      Robert Stayton: inline.xsl

      Add template mode 'simple.xlink.properties' to allow
      +easy customization of formatting of links generated
      +from elements other than xref, link, and olink using
      +the xlink attributes.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add table.caption.properties to format table captions.
      +
    • +

      Robert Stayton: table.xsl

      Add support for caption in a CALS table.
      +
    • +

      Robert Stayton: graphics.xsl; math.xsl

      Refactored the 'process.image' template to create modular
      +templates for each attribute so they can be individually
      +customized.  Also merged in support for embedded svg and
      +mml content so they can have image attributes too.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Check in new params for FO side regions in page masters.
      +
    • +

      Robert Stayton: titlepage.xsl; titlepage.templates.xml

      Add support for itermset in info elements, using titlepage mechanism
      +to ensure entries are placed inside page-sequence.
      +
    • +

      Robert Stayton: pagesetup.xsl

      Add support for side body margins and side static content regions.
      +Fixes bug 3389931.
      +
    • +

      Robert Stayton: param.xweb; param.ent; task.xsl

      Add attribute-set task.properties to task element to
      +support customization.
      +
    • +

      Robert Stayton: lists.xsl; param.xweb; param.ent

      Add new attribute-sets calloutlist.properties and callout.properties
      +to  better support customization of calloutlists, fixing bug 3160341.
      +
    • +

      Jirka Kosek: Makefile

      Titlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty.
      +
    • +

      Robert Stayton: graphics.xsl

      Allow selection by role for multiple imageobject elements
      +within an imageobjectco, which since Docbook 5 allows multiple imageobjects.
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Added template for collabname. Fixes bug #3414436.
      +
    • +

      David Cramer: verbatim.xsl

      Support the keep-together processing-instruction on programlisting, screen, synopsis, and literallayout. Tracker id #3396906.
      +
    • +

      Robert Stayton: pagesetup.xsl

      Pass the pageclass, sequence, and gentext-key to the template
      +named header.footer.widths to enable further customization
      +based on page master.
      +
    • +

      Jirka Kosek: xref.xsl

      hyphenation of URL content must be disabled for link, not only for ulink because od DB5
      +
    • +

      Jirka Kosek: xref.xsl

      URLs shouldn't be hyphenated as normal text
      +
    • +

      Jirka Kosek: callout.xsl

      Added support for alternative circled numbers
      +
    • +

      Mauritz Jeanson: axf.xsl; fop1.xsl; xep.xsl

      Added support for author/orgname in document metadata. Closes bug #3132862.
      +
    • +

      Robert Stayton: component.xsl

      Add template for article/colophon to avoid nested page-sequence.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: xref.xsl

      Add support for using info/title as well as title in target element.
      +
    • +

      Robert Stayton: component.xsl

      Enable support for html5 features, including using <section> instead of
      +<div> for certain elements, and setting heading level to <h1> for chapters.
      +These features are not changed in the base html stylesheet for backwards
      +compatibility.
      +
    • +

      Robert Stayton: docbook.css.xml

      Add style for footnote rule.
      +
    • +

      Robert Stayton: biblio-iso690.xsl

      Add support for subtitle inside info.
      +
    • +

      Robert Stayton: docbook.xsl

      Add call to new 'root.attributes' placeholder template to allow
      +adding attributes to the <html> output element.
      +
    • +

      Robert Stayton: inline.xsl; titlepage.xsl; formal.xsl; division.xsl; toc.xsl; sections.xsl⋯

      Finish implementation of generate.id.attributes for all elements
      +using the template named id.attribute.
      +
    • +

      Robert Stayton: autotoc.xsl; chunktoc.xsl; titlepage.xsl; chunk-code.xsl; changebars.xsl; ⋯

      Add basic support for new <topic> element.
      +
    • +

      Robert Stayton: graphics.xsl

      Fix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs.
      +
    • +

      Robert Stayton: callout.xsl; verbatim.xsl

      Restore programlisting to use <pre> instead of <div> and instead
      +wrap callout img elements in <span> to make valid HTML.
      +
    • +

      Robert Stayton: graphics.xsl

      Turn off img longdesc attribute because not supported by browsers.
      +
    • +

      Robert Stayton: footnote.xsl

      Move square brackets and <sup> inside <a> element for footnote
      +marks to fix display problems in some browsers.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add new params html.script and html.script.type to support
      +Javascript references.
      +
    • +

      Robert Stayton: chunk-common.xsl; chunktoc.xsl; titlepage.xsl; chunker.xsl; chunk-code.xsl⋯

      Add support for chunked.filename.prefix param.
      +Make sure base.dir value has a trailing slash in
      +the chunk.base.dir internal param used by the templates.
      +
    • +

      Robert Stayton: formal.xsl; htmltbl.xsl

      Now handles caption in html markup table like title,
      +so formal.object.title is used with all its features, including 
      +formatting and placement.
      +Added htmlTable.with.caption template to handle the wrapper, and
      +left htmlTable template unchanged.
      +Now caption template in mode="htmlTable" does nothing, because
      +caption handled by formal.object.title template.
      +
    • +

      Robert Stayton: html.xsl

      Turn off generating the title attribute for block and hierarchical elements.
      +Should only be used for inline elements, usually using the alt element.
      +Also used for links to show the target title.
      +
    • +

      Robert Stayton: lists.xsl

      The spacing="compact" attribute on lists in HTML no longer outputs compact="compact"
      +(or just "compact" in the case of Saxon 6), since that attribute is
      +deprecated and improperly supported.  Instead, the output uses a 
      +multiple class attribute such as class="orderedlist compact".
      +Use CSS to style such lists without margin above.
      +
    • +

      Robert Stayton: graphics.xsl

      Allow selection by role for multiple imageobject elements
      +within an imageobjectco, which since Docbook 5 allows multiple imageobjects.
      +
    • +

      Robert Stayton: pi.xsl

      Improve doc descriptions of dbhtml filename and dir.
      +
    • +

      Robert Stayton: autoidx.xsl

      Add setindex to context param in mode="reference" to better 
      +support setindex.
      +
    • +

      Robert Stayton: autotoc.xsl

      Support set as child of set in set.toc template.
      +
    • +

      Robert Stayton: qandaset.xsl

      Change question and title templates to replace hard-coded
      +class="local-name()" with mode="class.attribute" to support customization
      +of class values.
      +
    • +

      Norman Walsh: chunktoc.xsl

      Separate book appendixes from article appendixes (so that they can be customized independently)
      +
    • +

      Mauritz Jeanson: graphics.xsl

      Added condition to prevent "Failed to interpret image" messages (SVG is not supported 
      +by the graphic size extension).
      +
    +
    + + +

    Epub

    + +

    The following changes have been made to the + epub code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: docbook.xsl

      Replace $base.dir with $chunk.base.dir to ensure trailing slash in place.
      +
    +
    + +

    HTMLHelp

    + +

    The following changes have been made to the + htmlhelp code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: htmlhelp-common.xsl

      Change $base.dir to $chunk.base.dir to ensure trailing slash in place.
      +
    +
    + +

    Eclipse

    + +

    The following changes have been made to the + eclipse code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: eclipse.xsl; eclipse3.xsl

      Use $chunk.base.dir instead of $base.dir to ensure trailing slash is in place.
      +
    +
    + +

    JavaHelp

    + +

    The following changes have been made to the + javahelp code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: javahelp.xsl

      Change $base.dir to $chunk.base.dir to ensure trailing slash is present.
      +
    • +

      Mauritz Jeanson: javahelp.xsl

      Replaced empty header.navigation and footer.navigation templates with parameter suppress.navigation=1,
      +which simplifies customization. See bug #3310904.
      +
    +
    + +

    Webhelp

    + +

    The following changes have been made to the + webhelp code + since the 1.76.1 release.

    +
    • +

      David Cramer: template/common/css/positioning.css

      Webhelp: Adding print-only css rules
      +
    • +

      David Cramer: template/common/main.js

      Webhelp: Arun's fix for bug where heading was partially hidden by header in some situations.
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: turn off autolabeling by default
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Webhelp: Import xhtml base stylesheets
      +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: Link to the DocBook reference docs from the webhelp readme
      +
    • +

      David Cramer: xsl/webhelp-common.xsl

      Webhelp: Use gentext value for noscript warning
      +
    • +

      David Cramer: Makefile

      Webhelp: Delete tempfile after DocBook xsl build
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Webhelp: moving parameters into the standard location so they will be part of the parameter reference
      +
    • +

      David Cramer: xsl/webhelp.xsl; xsl/webhelp-common.xsl

      Webhelp: moving parameters into the standard location so they will be part of the parameter reference
      +
    • +

      David Cramer: template/common/main.js

      Webhelp: tweaking scrolldown offset for anchors
      +
    • +

      David Cramer: docsrc/images; docsrc/images/sample.jpg; docsrc/readme.xml; template/content⋯

      Webhelp: updating docs. Ant version, install instructions, handling of images.
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Patch from Arun Bharadwaj to display message if JavaScript is disabled
      +
    • +

      David Cramer: template/content/search/nwSearchFnt.js

      Patch from Arun Bharadwaj to strip quotes from search query strings
      +
    • +

      Robert Stayton: xsl/webhelp.xsl

      Add basic support for new <topic> element.
      +
    • +

      Jirka Kosek: xsl/webhelp.xsl

      Put back old extensibility point.
      +
      +Guys, please don't remove existing extensibility points like named templates, it will break existing customizations.
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Moving webhelp gentext strings into a context
      +
    • +

      tom_schr: param.ent

      Disabled branding and brandname entities for the time being
      +
    • +

      tom_schr: param.xweb; param.ent

      Prepared WebHelp reference documentation :)
      +Not clear about parameters brandname and branding: Should they renamed
      +to "webhelp.branding" and "webhelp.brandname"?
      +Currently, docsrc/reference.xml contains only a comment for the WebHelp
      +ref doc to be non-intrusive.
      +Idea is to enable it when it is ready
      +
    • +

      tom_schr: xsl/webhelp.xsl

      Moved language specific of WebHelp to gentext/locale/ as discussed with
      +Stefan following the "minimal intrusive approach". :)
      +In the long run, maybe moving the text into a context, not sure.
      +
    • +

      David Cramer: template/common/css/positioning.css

      Webhelp: Lower the minimum width of content pane
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/main.js

      If an user moved to another page by clicking on a toc link, and then clicked on #searchDiv,
      +search should be performed if the cookie textToSearch is not empty.
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Webhelp: Left align titles in nav header. Display  for all but the topmost page
      +
    • +

      David Cramer: template/content/search/stemmers/en_stemmer.js; docsrc/xinclude-test.xml

      Webhelp: Cleanup related to en_stemmer.js changes
      +
    • +

      David Cramer: template/common/css/positioning.css

      Webhelp: Don't put borders around qandaset list
      +
    • +

      David Cramer: template/common/main.js

      Webhelp: Avoid unnecessary scroll ups when anchor is clicked on
      +
    • +

      David Cramer: build.properties

      Webhelp: Show footer nav by default
      +
    • +

      David Cramer: build.properties; build.xml

      Webhelp: Support setting suppress.footer.navigation from build.properties
      +
    • +

      David Cramer: build.properties; build.xml

      Webhelp: Support admon.graphics param in build.properties
      +
    • +

      David Cramer: docsrc/xinclude-test.xml; docsrc/readme.xml

      Webhelp: Adding xinclude example to the demo/readme doc
      +
    • +

      David Cramer: template/common/css/positioning.css

      Webhelp: Remove border around table used to format callout list
      +
    • +

      David Cramer: xsl/webhelp.xsl; template/common/images/admon/tip.png; template/common/image⋯

      Webhelp: Support admon graphics (still off by default)
      +
    • +

      David Cramer: xsl/webhelp.xsl; template/common/css/positioning.css

      Webhelp: Turn on navfooter and fix related css
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Webhelp: Fix error about undeclared doc.title param
      +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: Adding some test search terms to the readme
      +
    • +

      David Cramer: template/content/search/stemmers/en_stemmer.js

      Handle exceptional cases listed in the Porter 2 stemming algo
      +
    • +

      David Cramer: template/content/search/stemmers/en_stemmer.js

      Webhelp: adding special case word 'say' to en js stemmer
      +
    • +

      David Cramer: template/content/search/stemmers/en_stemmer.js

      Webhelp: Refine stemming of terms that end in (only stem if there's a consonant before the -y)
      +
    • +

      David Cramer: template/content/search/stemmers/en_stemmer.js; template/content/search/nwSe⋯

      Webhelp: fixed bug where words like key, day, and nucleus, were not found due to differences in the way the client stemmer and indexer stemmed words
      +
    • +

      David Cramer: build.xml

      Webhelp: Support xinclude and two-pass profiling in build.xml
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Fix bad link to default topic.
      +
    • +

      kasunbg: docsrc/readme.xml

      Automatically limit the size of the search description to something 140 characters
      +
    • +

      kasunbg: xsl/webhelp.xsl

      removing outline in 'contents' and 'search' buttons that is visible when clicked. tabindex for SIDEBAR button.
      +
    • +

      kasunbg: xsl/webhelp.xsl; build.xml

      Webhelp ant script changes - HTML transformation support for WebHelp - Uses Tagsoup for parsing the bad html.
      +tagsoup-1.2.1.jar is added to trunk/xsl-webhelpindexer/lib/
      +
    • +

      kasunbg: xsl/webhelp.xsl

      proper support for saxon xhtml transformation.
      +
    • +

      kasunbg: template/common/images/callouts/10.png; template/common/images/callouts/11.png; t⋯

      webhelp - adding callouts
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/main.js; template/common/css/positioning.css

      webhelp - animations for show/hide Sidebar
      +
    • +

      kasunbg: build.properties

      commenting about brand and brandname
      +
    • +

      kasunbg: Makefile

      parameterized MAKE for webhelp
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; build.properties; build.xml

      webhelp xsl customization - logo
      +
    • +

      kasunbg: template/content/search/nwSearchFnt.js

      remove some JS warninings
      +
    • +

      kasunbg: template/content/search/nwSearchFnt.js

      Fix for missing "No results found for..." bug
      +
    • +

      kasunbg: xsl/webhelp.xsl

      commented about the importance of the order of css contents. Order is important between the in-html-file css and the linked css files. Some css declarations in jquery-ui-1.8.2.custom.css are over-ridden. If that's a concern, just remove the additional css contents inside these default jquery css files. I thought of keeping them intact for easier maintenance.
      +
    • +

      Jirka Kosek: xsl/webhelp.xsl; template/common/css/positioning.css

      Minor cleanup, added extensibility hook, some styling moved into CSS for easier customization
      +
    • +

      David Cramer: template/content/search/nwSearchFnt.js

      Removing onclick that came from Oxygen's dita stuff
      +
    • +

      kasunbg: docsrc/readme.xml

      webhelp - documenting about features
      +
    • +

      kasunbg: template/common/css/positioning.css

      webhelp search text box
      +
    • +

      kasunbg: template/common/css/positioning.css

      adding header background image
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/images/header-bg.png

      new header background image
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css

      fix left navigation
      +
    • +

      kasunbg: template/common/css/positioning.css

      some css
      +
    • +

      kasunbg: build.xml

      Adding html.extension property
      +
    • +

      kasunbg: template/common/css/positioning.css; build.properties; build.xml

      webhelp - Adding enable.stemming, toc.file build properties
      +
    • +

      David Cramer: template/common/css/positioning.css

      Make the webhelp banner slightly larger.
      +
    • +

      David Cramer: template/common/main.js; template/common/css/positioning.css

      Adjust colors and positioning of header and search/toc tabs
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Only put doc title in header
      +
    • +

      David Cramer: template/common/css/positioning.css; template/common/images/main_bg_fade.png

      Adjusting default color of the header
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css

      adjustments to header title. Now output in Opera looks good.
      +
    • +

      kasunbg: template/common/images/sidebar.png; template/content/search/punctuation.props; te⋯

      deleting svn:executable flag from webhelp files
      +
    • +

      kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; template/common/images/sear⋯

      Customized the left navagation headers; Contents and Search.
      +Adding custom css for the current redmond ui of jquery-ui. These override jquery-ui's default css customizations. These are supposed to take precedence.
      +
    • +

      kasunbg: docsrc/readme.xml

      typo fix
      +
    • +

      kasunbg: template/common/images/next-arrow.png; xsl/webhelp.xsl; template/common/main.js; ⋯

      UI improvements. 
      +	Moved search highligher to search tab.
      +	Added nice icons for navigation buttons etc.
      +	Removed footer navigation
      +	Corrected tree colorings
      +	Overall, some css magic
      +
    • +

      David Cramer: docsrc/readme.xml

      Added listitem thinking SyncRO Soft for their contributions.
      +
    • +

      kasunbg: build.xml

      support for default classpath for Gentoo Linux
      +
    • +

      kasunbg: docsrc/readme.xml

      webhelp - some updates to the documentation about search
      +
    • +

      kasunbg: template/common/css/positioning.css

      Fix for issue 'Keep "search" & "contents" titles always visible in webhelp - ID: 3403438'
      +
    • +

      David Cramer: template/common/images/starsSmall.png

      Changed icons used to show search weightings from stars to boxes so they won't look like user ratings
      +
    • +

      David Cramer: xsl/webhelp.xsl; template/common/main.js; template/common/images/starsSmall.⋯

      Merged Oxygen webhelp improvements (search weightings etc) into trunk: -r9031:9039
      +
    • +

      kasunbg: docsrc/readme.xml

      webhelp documentation - search indexing, faq
      +
    • +

      kasunbg: docsrc/readme.xml

      update webhelp documentation
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Fixed bug where webhelp.default.topic was not being used if it was set
      +
    • +

      David Cramer: xsl/webhelp.xsl; template/content/search/nwSearchFnt.js

      Localize string in nwSearchFnt.js file
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Added tabindex attributes to make tab order in UI more logical in webhelp.
      +
    • +

      David Cramer: template/common/main.js

      Fixed bug where anchors in pages landed beneath the banner.
      +
    • +

      kasunbg: xsl/webhelp.xsl

      Added more comments to the xsl/webhelp/xsl/webhelp.xsl file. Removed some clutter.
      +
    • +

      David Cramer: template/common/main.js

      Fixed problem reported in IE 8. See tracker id # 373747.
      +
    • +

      David Cramer: xsl/webhelp.xsl

      Addressed tracker #3247166 by removing hard-coded reference to ch01.html.
      +
    • +

      kasunbg: build.xml

      Changed the webhelp build.xml to reflect the changes to xsl-webhelpindexer.
      +Added classpaths for xercesImpl and xml-api jars to the indexer. Paths added for *nix environments, need to look at how the current system behaves in Windows. Discussion: http://lists.oasis-open.org/archives/docbook-apps/201011/msg00116.html
      +
    • +

      kasunbg: template/common/images/loading.gif; template/common/jquery/treeview/jquery.treevi⋯

      webhelp: Removing some unnecessary JQuery JS files
      +
    • +

      kasunbg: template/common/main.js

      webhelp: Usability improvement - when click on a node in the TOC tree, the child nodes will auto populate now.
      +
    • +

      kasunbg: xsl/webhelp.xsl

      Added google translated localizations for Japanese, German, French, and Chinese. The translations might not be pretty accurate. 
      +Better translations are appreciated.
      +
    • +

      kasunbg: docsrc/readme.xml; template/content/images; template/content/images/sample.jpg

      Added documentation for how to add images to WebHelp
      +
    • +

      Jirka Kosek: xsl/webhelp.xsl

      Added more customization hooks
      +Search code output only when search tab is active
      +Added cs localization
      +
    • +

      Jirka Kosek: xsl/webhelp.xsl

      Added parameter webhelp.common.dir for specifying location of common files (JS+CSS)
      +Added hooks for adding additional user defined tabs
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.76.1 release.

    +
    • +

      David Cramer: webhelp.indexer.language.xml

      Webhelp: Fixing list of supported languages
      +
    • +

      David Cramer: webhelp.indexer.language.xml

      Webhelp: Correct language code in docs for Chinese
      +
    • +

      Mauritz Jeanson: admon.graphics.extension.xml

      Added list of graphics formats.
      +
    • +

      Mauritz Jeanson: passivetex.extensions.xml

      Updated link.
      +
    • +

      tom_schr: webhelp.indexer.language.xml; webhelp.default.topic.xml; webhelp.tree.cookie.id.⋯

      Prepared WebHelp reference documentation :)
      +Not clear about parameters brandname and branding: Should they renamed
      +to "webhelp.branding" and "webhelp.brandname"?
      +Currently, docsrc/reference.xml contains only a comment for the WebHelp
      +ref doc to be non-intrusive.
      +Idea is to enable it when it is ready
      +
    • +

      Robert Stayton: glossary.collection.xml

      Add info about relative paths.
      +
    • +

      Robert Stayton: para.properties.xml

      Special attribute-set for para only.
      +
    • +

      Robert Stayton: table.caption.properties.xml

      To format table captions.
      +
    • +

      Robert Stayton: html.script.type.xml; html.script.xml

      Add support for specifying javascript references like css references.
      +
    • +

      Robert Stayton: body.margin.outer.xml; region.outer.extent.xml; body.margin.inner.xml; reg⋯

      Add support for side regions in FO output.
      +
    • +

      Robert Stayton: chunked.filename.prefix.xml

      New param chunked.filename.prefix to separate any such prefix from
      +the base.dir param, which helps fix bug 3087359.
      +
    • +

      Robert Stayton: generate.consistent.ids.xml

      New param to support replacing generate-id() with xsl:number
      +for more consistent id values.
      +
    • +

      Robert Stayton: task.properties.xml

      Allow task to be customized more easily.
      +
    • +

      Robert Stayton: calloutlist.properties.xml; callout.properties.xml

      Support better customization of callout lists.
      +
    • +

      Jirka Kosek: callout.unicode.start.character.xml

      Added support for alternative circled numbers
      +
    • +

      David Cramer: example.properties.xml

      Made example.properties use keep-together='auto' like table.properies to avoid problems where example/programlisting takes more than one page
      +
    • +

      Mauritz Jeanson: graphicsize.extension.xml

      Added info about supported image formats.
      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.76.1 release.

    +
    • +

      Jirka Kosek: csharp-hl.xml

      Added LINQ keywords
      +
    • +

      Jirka Kosek: delphi-hl.xml

      Additional keywords from Yuri Zhilin
      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.76.1 release.

    +
    • +

      David Cramer: profile-mode.xsl

      When profile.* params only consist of space characters, then ignore them.
      +
    +
    + +

    Lib

    + +

    The following changes have been made to the + lib code + since the 1.76.1 release.

    +
    • +

      Robert Stayton: lib.xweb

      Added two utility templates to make lib.xsl work
      +without reference to other modules since it is used
      +that way with profiling/xsl2profile.xsl.
      +
    • +

      Robert Stayton: lib.xweb

      Fix trim.common.uri.paths to first resolve any ../ in
      +the paths.
      +
    +
    + +

    Template

    + +

    The following changes have been made to the + template code + since the 1.76.1 release.

    +
    • +

      Jirka Kosek: titlepage.xsl

      Titlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty.
      +
    +
    + +

    Extensions

    + +

    The following changes have been made to the + extensions code + since the 1.76.1 release.

    +
    • +

      kasunbg: Makefile

      webhelp - Adding enable.stemming, toc.file build properties
      +
    • +

      David Cramer: Makefile

      Attempt to convince Makefile that webhelpindexer is dirty
      +
    +
    + +

    XSL-Saxon

    + +

    The following changes have been made to the + xsl-saxon code + since the 1.76.1 release.

    +
    • +

      Mauritz Jeanson: src/com/nwalsh/saxon/Verbatim.java; src/com/nwalsh/saxon/FormatGraphicCal⋯

      Added fixes to ensure that generated XHTML markup for callouts is in the proper namespace.
      +
    +
    + +
    +

    Release Notes: 1.77.1

    + +

    The following is a list of changes that have been made + since the 1.77.0 release.

    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.77.0 release.

    +
    • +

      Robert Stayton: docbook.xsl

      Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
      +from the filename.
      +
    • +

      Robert Stayton: block.xsl

      In sidebar, turn off space before first para if there is no title.
      +
    • +

      Robert Stayton: math.xsl

      Restored templates for mml:* elements that were accidentally deleted.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.77.0 release.

    +
    • +

      Robert Stayton: docbook.xsl

      Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
      +from the filename.
      +
    • +

      Robert Stayton: sections.xsl

      Use $div.element variable in place of div to support html5 section element.
      +output
      +
    • +

      Robert Stayton: autoidx.xsl

      Fix bug 3528673, missing "separator" param on template with
      +match="indexterm" mode="reference".  That param is passed 
      +for endofrange processing to output the range separator.
      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.77.0 release.

    +
    • +

      Robert Stayton: dbk2ooo.xsl; dbk2pages.xsl; dbk2wordml.xsl; dbk2wp.xsl

      Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
      +from the filename.
      +
    +
    + +

    Slides

    + +

    The following changes have been made to the + slides code + since the 1.77.0 release.

    +
    • +

      Robert Stayton: html/slides-common.xsl

      Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
      +from the filename.
      +
    +
    + +

    Website

    + +

    The following changes have been made to the + website code + since the 1.77.0 release.

    +
    • +

      Robert Stayton: website-common.xsl

      Import the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly
      +from the filename.
      +
    +
    + +

    Webhelp

    + +

    The following changes have been made to the + webhelp code + since the 1.77.0 release.

    +
    • +

      kasunbg: docsrc/readme.xml

      updated webhelp documentation
      +
    • +

      kasunbg: template/content/search/nwSearchFnt.js; xsl/webhelp-common.xsl

      Removed the script htmlFileList.js since it's content is in htmlFileInfoList.js
      +
    • +

      Robert Stayton: xsl/webhelp-common.xsl

      In the <h1> output, replace call to 'get.doc.title' with
      +mode="title.markup" because get.doc.title returns only
      +the string value of the title, losing any markup such
      +as <trademark> or <superscript>.
      +
    • +

      kasunbg: template/common/css/positioning.css; template/content/search/nwSearchFnt.js

      Remove unnecessary bits of code from webhelp
      +
    • +

      David Cramer: docsrc/readme.xml

      Webhelp: Minor edits to the readme
      +
    • +

      David Cramer: xsl/webhelp.xsl; xsl/titlepage.templates.xsl; xsl/titlepage.templates.xml

      Webhelp: Suppress abstracts from titlepages. These are used to create the search result summary sentence and should not be shown
      +
    • +

      David Cramer: build.xml

      Webhelp: calculate path to profile.xsl from main build.xml file
      +
    +
    + +
    +

    Release Notes: 1.76.1

    + +

    The following is a list of changes that have been made + since the 1.76.0 release.

    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.76.0 release.

    +
    • +

      Robert Stayton: docbook.xsl; xref.xsl; fop1.xsl

      Apply patch to support named destination in fop1.xsl, per Sourceforge
      +bug report #3029845.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the html code since the 1.76.0 release.

    +
    • +

      Keith Fahlgren: highlight.xsl

      Implementing handling for <b> and <i>: transform to <strong> and <em> for XHTML outputs and do not use in the highliting output (per Mauritz Jeanson)
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.76.0 release.

    +
    • +

      Robert Stayton: draft.mode.xml

      Change default for draft.mode to 'no'.
      +
    +
    + + +
    +

    Release Notes: 1.76.0

    + +

    This release includes important bug fixes and adds the following +significant feature changes:

    +
    Webhelp

    A new browser-based, cross-platform help format with full-text search and other features typically found in help systems. See webhelp/docs/content/ch01.html for more information and a demo.

    Gentext

    Many updates and additions to translation/locales thanks to Red Hat, the Fedora Project, and other contributors.

    Common

    Faster localization support, as language files are loaded on demand.

    FO

    Support for SVG content in imagedata added.

    HTML

    Output improved when using 'make.clean.html' and a stock CSS file is now provided.

    EPUB

    A number of improvements to NCX, cover and image selection, and XHTML 1.1 element choices

    + +

    The following is a list of changes that have been made since the 1.75.2 release.

    +

    Gentext

    + +

    The following changes have been made to the gentext code since the 1.75.2 release.

    +
    • +

      + rlandmann: locale/fa.xml +

      +
      +            Update to Persian translation from the Fedora Project
      +          
      +
    • +

      + rlandmann: locale/nds.xml +

      +
      +            Locale for Low German
      +          
      +
    • +

      + Mauritz Jeanson: locale/ka.xml; Makefile +

      +
      +            Added support for Georgian based on patch #2917147.
      +          
      +
    • +

      + rlandmann: locale/nl.xml; locale/ja.xml +

      +
      +            Updated translations from Red Hat and the Fedora Project
      +          
      +
    • +

      + rlandmann: locale/bs.xml; locale/ru.xml; locale/hr.xml +

      +
      +            Updated locales from Red Hat and the Fedora Project
      +          
      +
    • +

      + rlandmann: locale/pt.xml; locale/cs.xml; locale/es.xml; locale/bg.xml; locale/nl.xml; loca⋯ +

      +
      +            Updated translations from Red Hat and the Fedora Project
      +          
      +
    • +

      + rlandmann: locale/as.xml; locale/bn_IN.xml; locale/ast.xml; locale/ml.xml; locale/te.xml; ⋯ +

      +
      +            New translations from Red Hat and the Fedora Project
      +          
      +
    • +

      + rlandmann: locale/pt.xml; locale/ca.xml; locale/da.xml; locale/sr.xml; locale/ru.xml; loca⋯ +

      +
      +            Updated translations from Red Hat and the Fedora Project
      +          
      +
    +
    + +

    Common

    + +

    The following changes have been made to the common code since the 1.75.2 release.

    +
    • +

      + Mauritz Jeanson: common.xsl +

      +
      +            Fixed bug in output-orderedlist-starting-number template (@startingnumber did not work for FO).
      +          
      +
    • +

      + Mauritz Jeanson: gentext.xsl +

      +
      +            Added fix to catch ID also of descendants of listitem. Closes bug #2955077.
      +          
      +
    • +

      + Jirka Kosek: l10n.xsl +

      +
      +            Stripped down, faster version of gentext.template is used when there is no localization customization.
      +          
      +
    • +

      + Mauritz Jeanson: stripns.xsl +

      +
      +            Added fix that preserves link/@role (makes links in the reference documentation
      +with @role="tcg" work).
      +          
      +
    • +

      + Mauritz Jeanson: l10n.xsl +

      +
      +            Fixed bugs related to manpages and L10n.
      +          
      +
    • +

      + Jirka Kosek: entities.ent; autoidx-kosek.xsl +

      +
      +            Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
      +          
      +
    • +

      + Jirka Kosek: l10n.xsl; l10n.dtd; l10n.xml; autoidx-kosek.xsl +

      +
      +            Refactored localization support. Language files are loaded on demand. Speedup is about 30%.
      +          
      +
    • +

      + Jirka Kosek: l10n.xsl +

      +
      +            Added xsl:keys for improved performance of localization texts look up. Performance gain around 15%.
      +          
      +
    • +

      + Mauritz Jeanson: titles.xsl +

      +
      +            Fixed bug #2912677 (error with xref in title).
      +          
      +
    • +

      + Robert Stayton: olink.xsl +

      +
      +            Fix bug in xrefstyle "title" handling introduced with 
      +the 'insert.targetdb.data' template.
      +          
      +
    • +

      + Robert Stayton: gentext.xsl +

      +
      +            Fix bug in xref to equation without title to use context="xref-number" instead
      +of "xref-number-and-title".
      +          
      +
    • +

      + Robert Stayton: labels.xsl +

      +
      +            Number all equations in one sequence, with or without title.
      +          
      +
    • +

      + Robert Stayton: entities.ent +

      +
      +            Fix bug #2896909 where duplicate @sortas on indexterms caused 
      +some indexterms to drop out of index.
      +          
      +
    • +

      + Robert Stayton: stripns.xsl +

      +
      +            Expand the "Stripping namespace ..." message to advise users to
      +use the namespaced stylesheets.
      +          
      +
    • +

      + Robert Stayton: stripns.xsl +

      +
      +            need a local version of $exsl.node.set.available variable because
      +this module imported many places.
      +          
      +
    • +

      + Mauritz Jeanson: olink.xsl +

      +
      +            Added /node() to the select expression that is used to compute the title text
      +so that no <ttl> elements end up in the output. Closes bug #2830119.
      +          
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.75.2 release.

    +
    • +

      + Robert Stayton: table.xsl +

      +
      +            Fix bug 2979166 able - Attribute @rowheader not working
      +          
      +
    • +

      + Mauritz Jeanson: inline.xsl +

      +
      +            Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents
      +with many inline glossterms.
      +          
      +
    • +

      + Robert Stayton: titlepage.xsl +

      +
      +            Fix bug 2805530 author/orgname not appearing on title page.
      +          
      +
    • +

      + Mauritz Jeanson: graphics.xsl +

      +
      +            Added support for SVG content in imagedata (inspired by patch #2909154).
      +          
      +
    • +

      + Mauritz Jeanson: table.xsl +

      +
      +            Removed superfluous test used when computing column-width. Closes bug #3000898.
      +          
      +
    • +

      + Mauritz Jeanson: inline.xsl +

      +
      +            Added missing <xsl:call-template name="anchor"/>. Closes bug #2998567.
      +          
      +
    • +

      + Mauritz Jeanson: lists.xsl +

      +
      +            Added table-layout="fixed" on segmentedlist table (required by XSL spec when  proportional-column-width() is used).
      +          
      +
    • +

      + Jirka Kosek: autoidx-kosek.xsl +

      +
      +            Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
      +          
      +
    • +

      + Jirka Kosek: index.xsl +

      +
      +            Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
      +          
      +
    • +

      + Robert Stayton: xref.xsl +

      +
      +            Fix bug in olink template when an olink has an id.
      +Add warning message with id value when trying to link
      +to an element that has no generated text.
      +          
      +
    • +

      + Mauritz Jeanson: refentry.xsl +

      +
      +            Fixed bug #2930968 (indexterm in refmeta not handled correctly).
      +          
      +
    • +

      + Robert Stayton: block.xsl +

      +
      +            fix bug 2949567 title in revhistory breaks FO transform.
      +          
      +
    • +

      + Robert Stayton: glossary.xsl +

      +
      +            Output id attributes on glossdiv blocks so they can be added to
      +xrefs or TOC.
      +          
      +
    • +

      + Jirka Kosek: xref.xsl +

      +
      +            Enabled hyphenation of URLs when ulink content is the same as link target
      +          
      +
    • +

      + Robert Stayton: table.xsl +

      +
      +            Apply patch to turn off row recursion if no @morerows attributes present.
      +This will enable very large tables without row spanning to 
      +process without running into recursion limits.
      +          
      +
    • +

      + Robert Stayton: formal.xsl +

      +
      +            Format equation without title using table layout with equation number
      +next to the equation.
      +          
      +
    • +

      + Robert Stayton: param.xweb; param.ent +

      +
      +            Add equation.number.properties.
      +          
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.75.2 release.

    +
    • +

      + Mauritz Jeanson: block.xsl +

      +
      +            Modified acknowledgements template to avoid invalid output (<p> in <p>).
      +          
      +
    • +

      + Mauritz Jeanson: titlepage.xsl +

      +
      +            Added default sidebar attribute-sets.
      +          
      +
    • +

      + Robert Stayton: table.xsl +

      +
      +            Fix bug 2979166 able - Attribute @rowheader not working
      +          
      +
    • +

      + Robert Stayton: footnote.xsl +

      +
      +            Fix bug 3033191 footnotes in html tables.
      +          
      +
    • +

      + Mauritz Jeanson: inline.xsl +

      +
      +            Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents
      +with many inline glossterms.
      +          
      +
    • +

      + Robert Stayton: docbook.css.xml; verbatim.xsl +

      +
      +            Fix bug 2844927 Validity error for callout bugs.
      +          
      +
    • +

      + Robert Stayton: formal.xsl +

      +
      +            Convert formal.object.heading to respect make.clean.html param.
      +          
      +
    • +

      + Robert Stayton: titlepage.templates.xml; block.xsl +

      +
      +            Fix bug 2840768 sidebar without title inserts empty b tag.
      +          
      +
    • +

      + Mauritz Jeanson: docbook.xsl +

      +
      +            Moved the template that outputs <base> so that the base URI also applies to relative CSS paths that come later.
      +See patch #2896121.
      +          
      +
    • +

      + Jirka Kosek: autoidx-kosek.xsl +

      +
      +            Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms.
      +          
      +
    • +

      + Robert Stayton: chunk-code.xsl +

      +
      +            fix bug 2948363 generated filename for refentry not unique, when
      +used in a set.
      +          
      +
    • +

      + Robert Stayton: component.xsl +

      +
      +            Fix missing "Chapter n" label when use chapter/info/title.
      +          
      +
    • +

      + Robert Stayton: table.xsl +

      +
      +            Row recursion turned off if no @morerows attributes in the table.
      +This will prevent failure on long table (with no @morerows) due
      +to excessive depth of recursion.
      +          
      +
    • +

      + Robert Stayton: autotoc.xsl; docbook.css.xml +

      +
      +            Support make.clean.html in autotoc.xsl.
      +          
      +
    • +

      + Robert Stayton: docbook.css.xml; block.xsl +

      +
      +            Add support for make.clean.html setting in block elements.
      +          
      +
    • +

      + Robert Stayton: docbook.css.xml +

      +
      +            Stock CSS styles for DocBook HTML output when 'make.clean.html' is non-zero.
      +          
      +
    • +

      + Robert Stayton: html.xsl +

      +
      +            Add templates for generating CSS files and links to them.
      +          
      +
    • +

      + Robert Stayton: param.xweb +

      +
      +            Fix bugs in new entity references.
      +          
      +
    • +

      + Robert Stayton: chunk-common.xsl +

      +
      +            List of Equations now includes on equations with titles.
      +          
      +
    • +

      + Robert Stayton: table.xsl +

      +
      +            If a colspec has a colname attribute, add it to the HTML col
      +element as a class attribute so it can be styled.
      +          
      +
    • +

      + Robert Stayton: formal.xsl +

      +
      +            Fix bug 2825842 where table footnotes not appearing in HTML-coded table.
      +          
      +
    • +

      + Robert Stayton: chunktoc.xsl +

      +
      +            Fix bug #2834826 where appendix inside part was not chunked as it should be.
      +          
      +
    • +

      + Mauritz Jeanson: chunktoc.xsl +

      +
      +            Added missing namespace declarations. Closes bug #2890069.
      +          
      +
    • +

      + Mauritz Jeanson: footnote.xsl +

      +
      +            Updated the template for footnote paras to use the 'paragraph' template. Closes bug #2803739.
      +          
      +
    • +

      + Keith Fahlgren: inline.xsl; lists.xsl +

      +
      +            Remove <b> and <i> elements "discouraged in favor of style sheets" from
      +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl.
      +
      +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB
      +
      +Added regression to EPUB specs:
      +          
      +
    • +

      + Mauritz Jeanson: inline.xsl +

      +
      +            Fixed bug #2844916 (don't output @target if ulink.target is empty).
      +          
      +
    • +

      + Keith Fahlgren: autoidx.xsl +

      +
      +            Fix a bug when using index.on.type: an 'index symbols' section was created 
      +even if that typed index didn't include any symbols (they were in the other types).
      +          
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.75.2 release.

    +
    • +

      + Mauritz Jeanson: other.xsl +

      +
      +            Modified the write.stubs template so that the section directory name is not output twice. Should fix bug #2831602.
      +Also ensured that $lang is added to the .so path (when man.output.lang.in.name.enabled=1).
      +          
      +
    • +

      + Mauritz Jeanson: docbook.xsl; other.xsl +

      +
      +            Fixed bug #2412738 (apostrophe escaping) by applying the submitted patch.
      +          
      +
    • +

      + Norman Walsh: block.xsl; endnotes.xsl +

      +
      +            Fix bug where simpara in footnote didn't work. Patch by Jonathan Nieder, jrnieder@gmail.com
      +          
      +
    • +

      + dleidert: lists.xsl +

      +
      +            Fix two indentation issues: In the first case there is no corresponding .RS
      +macro (Debian #519438, sf.net 2793873). In the second case an .RS instead of
      +the probably intended .sp leads to an indentation bug (Debian #527309,
      +sf.net #2642139).
      +          
      +
    +
    + +

    Epub

    + +

    The following changes have been made to the + epub code + since the 1.75.2 release.

    +
    • +

      + Keith Fahlgren: bin/spec/examples/AMasqueOfDays.epub; docbook.xsl; bin/spec/epub_spec.rb +

      +
      +            Resolve some actual regressions in date output spotted by more recent versions of epubcheck
      +          
      +
    • +

      + Keith Fahlgren: docbook.xsl +

      +
      +            Updated mediaobject selection code that better uses roles (when available); based on contributons by  Glenn McDonald
      +          
      +
    • +

      + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl +

      +
      +            Ensure that NCX documents are always outputted with a default namespace
      +to prevent problems with the kindlegen machinery
      +          
      +
    • +

      + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/partintro.xml; docbook.x⋯ +

      +
      +            Adding support for partintros with sect2s, 3s, etc
      +          
      +
    • +

      + Keith Fahlgren: docbook.xsl +

      +
      +            Adding param to workaround horrific ADE bug with the inability to process <br>
      +          
      +
    • +

      + Keith Fahlgren: docbook.xsl +

      +
      +            Add support for authorgroup/author in OPF metadata (via Michael Wiedmann)
      +          
      +
    • +

      + Keith Fahlgren: bin/spec/epub_regressions_spec.rb +

      +
      +            Remove <b> and <i> elements "discouraged in favor of style sheets" from
      +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl.
      +
      +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB
      +
      +Added regression to EPUB specs:
      +          
      +
    • +

      + Keith Fahlgren: bin/lib/docbook.rb; bin/spec/files/DejaVuSerif-Italic.otf; docbook.xsl; bi⋯ +

      +
      +            This resolves bug #2873142, Please add support for multiple embedded fonts
      +
      +
      +If you navigate to a checkout of DocBook-XSL and go to:
      +xsl/epub/bin/spec/files
      +You can now run the following command:
      +
      +../../dbtoepub -f DejaVuSerif.otf -f DejaVuSerif-Italic.otf -c test.css
      +-s test_cust.xsl orm.book.001.xml
      +
      +In dbtoepub, the following option can be used more than once:
      +-f, --font [OTF FILE] Embed OTF FILE in .epub.
      +
      +The underlying stylesheet now accepts a comma-separated list of font file
      +names rather than just one as the RENAMED epub.embedded.fonts ('s' added).
      +
      +The runnable EPUB spec now includes:
      +- should be valid .epub after including more than one embedded font
      +          
      +
    • +

      + Keith Fahlgren: docbook.xsl +

      +
      +            Improve the selection of cover images when working in DocBook 4.x land (work in progress)
      +          
      +
    • +

      + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl +

      +
      +            Improve the quality of the OPF spine regression by ensuring that the spine
      +elements for deeply nested refentries are in order and adjacent to their
      +opening wrapper XHTML chunk.
      +          
      +
    • +

      + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/orm.book.00⋯ +

      +
      +            Add more careful handling of refentries to ensure that they always appear in the opf:spine.
      +This was only a problem when refentries were pushed deep into the hierarchy (like inside
      +a sect2), but presented navigational problems for many reading systems (despite the
      +correct NCX references). This may *not* be the best solution, but attacking a better
      +chunking strategy for refentries was too big a nut to crack at this time.
      +          
      +
    +
    + +

    Eclipse

    + +

    The following changes have been made to the + eclipse code + since the 1.75.2 release.

    +
    • +

      + Mauritz Jeanson: eclipse3.xsl +

      +
      +            Added a stylesheet module that generates plug-ins conforming to the standard (OSGi-based) Eclipse 3.x 
      +architecture. The main difference to the older format is that metadata is stored in a separate 
      +manifest file. The module imports and extends the existing eclipse.xsl module. Based on code 
      +contributed in patch #2624668.
      +          
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.75.2 release.

    +
    • +

      + Robert Stayton: draft.watermark.image.xml +

      +
      +            Fix bug 2922488 draft.watermark.image pointing to web resource.
      +Now the value is images/draft.png, and may require customization
      +for local resolution.
      +          
      +
    • +

      + Mauritz Jeanson: equation.number.properties.xml +

      +
      +            Corrected refpurpose.
      +          
      +
    • +

      + Norman Walsh: paper.type.xml +

      +
      +            Added USlegal and USlegallandscape paper types.
      +          
      +
    • +

      + Jirka Kosek: highlight.xslthl.config.xml +

      +
      +            Added note about specifying location as URL
      +          
      +
    • +

      + Robert Stayton: docbook.css.source.xml; generate.css.header.xml; custom.css.source.xml; ma⋯ +

      +
      +            Params to support generated CSS files.
      +          
      +
    • +

      + Robert Stayton: equation.number.properties.xml +

      +
      +            New attribute set for numbers appearing next to equations.
      +          
      +
    +
    + +

    XSL-Xalan

    + +

    The following changes have been made to the + xsl-xalan code + since the 1.75.2 release.

    +
    • +

      + dleidert: nbproject/genfiles.properties; nbproject/build-impl.xml +

      +
      +            Rebuild netbeans build files after adding missing Netbeans configuration to allow easier packaging for Debian.
      +          
      +
    +
    + +
    +

    Release Notes: 1.75.2

    + +

    The following is a list of changes that have been made + since the 1.75.1 release.

    + +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.75.1 release.

    +
    • +

      dleidert: locale/ja.xml

      Improved Japanese translation for Note(s). Closes bug #2823965.
      +
    • +

      dleidert: locale/pl.xml

      Polish alphabet contains O with acute accent, not with grave accent. Closes bug #2823964.
      +
    • +

      Robert Stayton: locale/ja.xml

      Fix translation of "index", per bug report 2796064.
      +
    • +

      Robert Stayton: locale/is.xml

      New Icelandic locale file.
      +
    +
    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.75.1 release.

    +
    • +

      Norman Walsh: stripns.xsl

      Support more downconvert cases
      +
    • +

      Robert Stayton: titles.xsl

      Make sure title inside info is used if no other title.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.75.1 release.

    +
    • +

      Robert Stayton: pi.xsl

      Turn off dbfo-need for fop1.extensions also, per bug #2816141.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.75.1 release.

    +
    • +

      Mauritz Jeanson: titlepage.xsl

      Output "Copyright" heading in XHTML too.
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Added stylesheet.result.type test for copyright. Closes bug #2813289.
      +
    • +

      Norman Walsh: htmltbl.xsl

      Remove ambiguity wrt @span, @rowspan, and @colspan
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.75.1 release.

    +
    • +

      Mauritz Jeanson: endnotes.xsl

      Added normalize-space() for ulink content. Closes bug #2793877.
      +
    • +

      Mauritz Jeanson: docbook.xsl

      Added stylesheet.result.type test for copyright. Closes bug #2813289.
      +
    +
    + +

    Epub

    + +

    The following changes have been made to the + epub code + since the 1.75.1 release.

    +
    • +

      Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb

      Corrected bugs caused by path and file assumptions were not met
      +
    • +

      Keith Fahlgren: bin/lib/docbook.rb; docbook.xsl

      Cleaning up hardcoded values into parameters and fixing Ruby library to pass them properly; all thanks to patch from Liza Daly
      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.75.1 release.

    +
    +
    + +

    XSL-Saxon

    + +

    The following changes have been made to the + xsl-saxon code + since the 1.75.1 release.

    +
    • +

      Mauritz Jeanson: src/com/nwalsh/saxon/ColumnUpdateEmitter.java; src/com/nwalsh/saxon/Colum⋯

      Added fixes so that colgroups in the XHTML namespace are processed properly.
      +
    +
    + +

    XSL-Xalan

    + +

    The following changes have been made to the + xsl-xalan code + since the 1.75.1 release.

    +
    • +

      Mauritz Jeanson: nbproject/project.xml

      Added missing NetBeans configuration.
      +
    +
    + +
    + + +

    Release Notes: 1.75.1

    + +

    This release includes bug fixes.

    + +

    The following is a list of changes that have been made since the 1.75.0 release.

    + + +

    FO

    + +

    The following changes have been made to the fo code since the 1.75.0 release.

    +
    • +

      Keith Fahlgren: block.xsl

      Switching to em dash for character before attribution in epigraph; resolves Bug #2793878
      +
    • +

      Robert Stayton: lists.xsl

      Fixed bug 2789947, id attribute missing on simplelist fo output.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.75.0 release.

    +
    • +

      Keith Fahlgren: block.xsl

      Switching to em dash for character before attribution in epigraph; resolves Bug #2793878
      +
    • +

      Robert Stayton: lists.xsl

      Fixed bug 2789678: apply-templates line accidentally deleted.
      +
    +
    + +

    Epub

    + +

    The following changes have been made to the + epub code + since the 1.75.0 release.

    +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl

      Added regression and fix to correct "bug" with namespace-prefixed container elements in META-INF/container.xml ; resolves Issue #2790017
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯

      Another attempt at flexible named entity and XInclude processing
      +
    • +

      Keith Fahlgren: bin/lib/docbook.rb

      Tweaking solution to Bug #2750442 following regression reported by Michael Wiedmann.
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.75.0 release.

    +
    • +

      Mauritz Jeanson: highlight.source.xml

      Updated documentation to reflect changes made in r8419.
      +
    +
    + +
    + + +

    Release Notes: 1.75.0

    + +

    This release includes important bug fixes and adds the following +significant feature changes: +

    Gentext

    Modifications to translations have been made.

    Common
    +

    Added support for some format properties on tables using +HTML table markup.

    +

    Added two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045.

    +

    Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications.

    +
    FO
    +

    The inclusion of highlighting code has been simplified.

    +

    Add support for pgwide on informal objects.

    +

    Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. Closes FR #1792326.

    +

    Add support for more dbfo processing instructions.

    +

    Add new variablelist.term.properties to format terms, per request # 1968513.

    +

    Add support for @width on screen and programlisting, fixes bug #2012736.

    +

    Add support for writing-mode="rl-tb" (right-to-left) in FO outputs.

    +

    Add writing.mode param for FO output.

    +
    HTML
    +

    Convert all calls to class.attribute to calls to common.html.attributes to support dir, lang, and title attributes in html output for all elements. Fulfills feature request #1993833.

    +

    Inclusion of highlighting code was simplified. Only one import is now necessary.

    +

    Add new param index.links.to.section.

    +

    Add support for the new index.links.to.section param which permits precise links to indexterms in HTML output rather than to the section title.

    +
    ePub
    +

    Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog.

    +

    Added a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann)

    +

    Added DocBook subjectset -> OPF dc:subject mapping and tests

    +

    Added DocBook date -> OPF dc:date mapping and tests

    +

    Added DocBook abstract -> OPF dc:description mapping and tests

    +

    Added --output option to dbtoepub based on user request

    +
    HTMLHelp
    +

    Add support for generating olink target database for htmlhelp files.

    Params
    +

    Add default setting for @rules attribute on HTML markup tables.

    +

    Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326.

    +

    Add new variablelist.term.properties to format terms, per request # 1968513.

    +

    Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045.

    +

    Add param to control whether an index entry links to a section title or to the precise location of the indexterm.

    +

    New attribute list for glossentry in glossary.

    +

    New parameter to support @width on programlisting and screen.

    +

    Add attribute-sets for formatting glossary terms and defs.

    +
    Highlighting
    +

    Inclusion of highlighting code was simplified. Only one import is now necessary.

    +

    + + +

    +

    The following is a list of changes that have been made + since the 1.74.3 release.

    + +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: locale/sv.xml; locale/ja.xml; locale/pl.xml

      Check in translations of Legalnotice submitted on mailing list.
      +
    • +

      Robert Stayton: locale/es.xml

      Fix spelling errors in Acknowledgements entries.
      +
    • +

      Robert Stayton: locale/es.xml

      Check in translations for 4 elements submitted through docbook-apps
      +message of 14 April 2009.
      +
    • +

      David Cramer: locale/zh.xml; locale/ca.xml; locale/ru.xml; locale/ga.xml; locale/gl.xml; l⋯

      Internationalized punctuation in glosssee and glossseealso
      +
    • +

      Robert Stayton: Makefile

      Check in fixes for DSSSL gentext targets from submitted patch #1689633.
      +
    • +

      Robert Stayton: locale/uk.xml

      Check in major update submitted with bug report #2008524.
      +
    • +

      Robert Stayton: locale/zh_tw.xml

      Check in fix to Note string submitted in bug #2441051.
      +
    • +

      Robert Stayton: locale/ru.xml

      Checkin typo fix submitted in bug #2453406.
      +
    +
    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: gentext.xsl

      Fix extra generated space when xrefstyle includes 'nopage'.
      +
    • +

      Robert Stayton: table.xsl

      Add support for some format properties on tables using
      +HTML table markup.  These include:
      +  - frame attribute on table (or uses $default.table.frame parameter).
      +  - rules attribute on table (or uses $default.table.rules parameter).
      +  - align attribute on td and th
      +  - valign attribute on td and th
      +  - colspan on td and th
      +  - rowspan on td and th
      +  - bgcolor on td and th
      +
    • +

      Robert Stayton: olink.xsl

      Add placeholder template to massage olink hot text to make
      +customization easier, per Feature Request 1828608.
      +
    • +

      Robert Stayton: targets.xsl

      Add support for collecting olink targets from a glossary
      +generated from a glossary.collection.
      +
    • +

      Robert Stayton: titles.xsl

      Handle firstterm like glossterm in mode="title.markup".
      +
    • +

      Robert Stayton: titles.xsl

      Add match on info/title in title.markup templates where missing.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))".
      +This enables proper formatting of inline elements in titles in TOCs, 
      +as long as these inlines don't have id or xml:id attributes.
      +
    • +

      Robert Stayton: labels.xsl

      Add two new qanda.defaultlabel values so that numbered sections
      +and numbered questions can be distinguished.  Satisfies
      +Feature Request #1539045.
      +
    • +

      Robert Stayton: stripns.xsl; pi.xsl

      Convert function-available(exsl:node-set) to use the new param
      +so Xalan bug is isolated.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Added fixes for bugs #2112656 and #1759205:
      +1. Reverted mistaken commits r7485 and r7523. 
      +2. Updated the template with match="link" and mode="no.anchor.mode" so that 
      +@endterm is used if it exists and if the link has no content.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Added code to handle acknowledgements in book and part. The element is processed
      +similarly to dedication. All acknowledgements will appear as front matter, after
      +any dedications.
      +
    • +

      Robert Stayton: olink.xsl

      Fix bug #2018717 use.local.olink.style uses wrong gentext context.
      +
    • +

      Robert Stayton: olink.xsl

      Fix bug #1787167 incorrect hot text for some olinks.
      +
    • +

      Robert Stayton: common.xsl

      Fix bug #1669654 Broken output if copyright <year> contains a range.
      +
    • +

      Robert Stayton: labels.xsl

      Fix bug in labelling figure inside appendix inside article inside book.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.74.3 release.

    +
    • +

      Jirka Kosek: highlight.xsl

      Inclusion of highlighting code was simplified. Only one import is now necessary.
      +
    • +

      Robert Stayton: fop1.xsl

      Add the new fop extensions namespace declaration, in case FOP
      +extension functions are used.
      +
    • +

      Robert Stayton: formal.xsl

      Add support for pgwide on informal objects.
      +
    • +

      Robert Stayton: docbook.xsl

      Fixed spurious closing quote on line 134.
      +
    • +

      Robert Stayton: docbook.xsl; autoidx-kosek.xsl; autoidx.xsl

      Convert function-available for node-set() to use
      +new $exsl.node.set.available param in test.
      +
    • +

      David Cramer: xref.xsl

      Suppress extra space after xref when xrefstyle='select: label nopage' (#2740472)
      +
    • +

      Mauritz Jeanson: pi.xsl

      Fixed doc bug for row-height.
      +
    • +

      David Cramer: glossary.xsl

      Internationalized punctuation in glosssee and glossseealso
      +
    • +

      Robert Stayton: param.xweb; param.ent; htmltbl.xsl; table.xsl

      Add support for some format properties on tables using
      +HTML table markup.  These include:
      +  - frame attribute on table (or uses $default.table.frame parameter).
      +  - rules attribute on table (or uses $default.table.rules parameter).
      +  - align attribute on td and th
      +  - valign attribute on td and th
      +  - colspan on td and th
      +  - rowspan on td and th
      +  - bgcolor on td and th
      +
    • +

      Robert Stayton: table.xsl

      Add support bgcolor in td and th
      +elements in HTML table markup.
      +
    • +

      Robert Stayton: htmltbl.xsl

      Add support for colspan and rowspan and bgcolor in td and th
      +elements in HTML table markup.
      +
    • +

      Robert Stayton: param.xweb

      Fix working of page-master left and right margins.
      +
    • +

      Mauritz Jeanson: param.xweb; param.ent; fop1.xsl

      Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed.  This is implemented for FOP 0.9X. Closes FR #1792326.
      +
    • +

      Robert Stayton: table.xsl; pi.xsl

      Add support for dbfo row-height processing instruction, like that in dbhtml.
      +
    • +

      Robert Stayton: lists.xsl

      Add support for dbfo keep-together processing instruction for
      +entire list instances.
      +
    • +

      Robert Stayton: lists.xsl; block.xsl

      Add support fo dbfo keep-together processing instruction to
      +more blocks like list items and paras.
      +
    • +

      Robert Stayton: lists.xsl; param.xweb; param.ent

      Add new variablelist.term.properties to format terms, per request # 1968513.
      +
    • +

      Robert Stayton: inline.xsl

      In simple.xlink, rearrange order of processing.
      +
    • +

      Robert Stayton: xref.xsl

      Handle firstterm like glossterm in mode="xref-to".
      +
    • +

      Robert Stayton: glossary.xsl; xref.xsl; pi.xsl; footnote.xsl

      Implement simple.xlink for glosssee and glossseealso so they can use
      +other types of linking besides otherterm.
      +
    • +

      Robert Stayton: qandaset.xsl

      Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished.  Satisfies Feature Request #1539045.
      +
    • +

      Robert Stayton: titlepage.xsl

      For the book title templates, I changed info/title to book/info/title
      +so other element's titles will not be affected.
      +
    • +

      Robert Stayton: xref.xsl; verbatim.xsl

      Use param exsl.node.set.available to test for function.
      +
    • +

      Robert Stayton: param.xweb; param.ent; footnote.xsl

      Start using new param exsl.node.set.available to work around Xalan bug.
      +
    • +

      Robert Stayton: titlepage.templates.xml

      Add comment on use of t:predicate for editor to prevent
      +extra processing of multiple editors. Fixes bug 2687842.
      +
    • +

      Robert Stayton: xref.xsl; autoidx.xsl

      An indexterm primary, secondary, or tertiary element with an id or xml:id
      +now outputs that ID, so that index entries can be cross referenced to.
      +
    • +

      Mauritz Jeanson: synop.xsl

      Added modeless template for ooclass|oointerface|ooexception.
      +Closes bug #1623468.
      +
    • +

      Robert Stayton: xref.xsl

      Add template with match on indexterm in mode="xref-to" to fix bug 2102592.
      +
    • +

      Robert Stayton: xref.xsl

      Now xref to qandaentry will use the label element in a question for
      +the link text if it has one.
      +
    • +

      Robert Stayton: inline.xsl

      Add id if specified from @id to output for quote and phrase so
      +they can be xref'ed to.
      +
    • +

      Robert Stayton: xref.xsl

      Add support for xref to phrase, simpara, anchor, and quote.
      +This assumes the author specifies something using xrefstyle since
      +the elements don't have ordinary link text.
      +
    • +

      Robert Stayton: toc.xsl

      Fix bug in new toc templates.
      +
    • +

      Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯

      Added code to handle acknowledgements in book and part. The element is processed
      +similarly to dedication. All acknowledgements will appear as front matter, after
      +any dedications.
      +
    • +

      Robert Stayton: toc.xsl

      Rewrite toc templates to support an empty toc or populated toc
      +in all permitted contexts.  Same for lot elements.
      +This fixes bug #1595969 for FO outputs.
      +
    • +

      Robert Stayton: index.xsl

      Fix indents for seealsoie so they are consistent.
      +
    • +

      Mauritz Jeanson: param.xweb

      Removed duplicate (monospace.font.family).
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add glossentry.list.item.properties.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add monospace.verbatim.font.width param to support @width on programlisting.
      +
    • +

      Robert Stayton: verbatim.xsl

      Put programlisting in fo:block-container with writing-mode="lr-tb"
      +when text direction is right to left because all program languages
      +are left-to-right.
      +
    • +

      Robert Stayton: verbatim.xsl

      Add support for @width on screen and programlisting, fixes bug #2012736.
      +
    • +

      Robert Stayton: xref.xsl

      Fix bug #1973585 xref to para with xrefstyle not handled correctly.
      +
    • +

      Mauritz Jeanson: block.xsl

      Added support for acknowledgements in article.
      +Support in book/part remains to be added.
      +
    • +

      Robert Stayton: xref.xsl

      Fix bug #1787167 incorrect hot text for some olinks.
      +
    • +

      Robert Stayton: fo.xsl

      Add writing-mode="tb-rl" as well since some XSL-FO processors support it.
      +
    • +

      Robert Stayton: autotoc.xsl; lists.xsl; glossary.xsl; fo.xsl; table.xsl; pagesetup.xsl

      Add support for writing-mode="rl-tb" (right-to-left) in FO outputs.
      +Changed instances of margin-left to margin-{$direction.align.start}
      +and margin-right to margin-{$direction.align.end}. Those direction.align
      +params are computed from the writing mode value in each locale's
      +gentext key named 'writing-mode', introduced in 1.74.3 to add
      +right-to-left support to HTML outputs.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add attribute-sets for formatting glossary terms and defs.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add writing.mode param for FO output.
      +
    • +

      Robert Stayton: autotoc.xsl

      Fix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title
      +instead of question, if available. For DocBook 5, use the info versions.
      +
    • +

      Keith Fahlgren: verbatim.xsl

      Add better pointer to README for XSLTHL
      +
    • +

      Keith Fahlgren: verbatim.xsl

      More tweaking the way that XSLTHL does or does not get called
      +
    • +

      Keith Fahlgren: verbatim.xsl

      Alternate attempt at sanely including/excluding XSLTHT code
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: lists.xsl

      Removed redundant lang and title attributes on list element inside
      +div element for lists.
      +
    • +

      Robert Stayton: inline.xsl; titlepage.xsl; division.xsl; toc.xsl; sections.xsl; table.xsl;⋯

      Convert all calls to class.attribute to calls to common.html.attributes
      +to support dir, lang, and title attributes in html output for all elements.
      +Fulfills feature request #1993833.
      +
    • +

      Robert Stayton: chunk-common.xsl

      Fix bug #2750253 wrong links in list of figures in chunk.html
      +when target html is in a subdirectory and dbhtml filename used.
      +
    • +

      Jirka Kosek: highlight.xsl

      Inclusion of highlighting code was simplified. Only one import is now necessary.
      +
    • +

      Robert Stayton: chunk-common.xsl; chunktoc.xsl; docbook.xsl; chunk-changebars.xsl; autoidx⋯

      Convert function-available for node-set() to use
      +new $exsl.node.set.available param in test.
      +
    • +

      Mauritz Jeanson: pi.xsl

      Fixed doc bug for row-height.
      +
    • +

      David Cramer: glossary.xsl

      Internationalized punctuation in glosssee and glossseealso
      +
    • +

      Robert Stayton: lists.xsl; html.xsl; block.xsl

      More elements get common.html.attributes.
      +Added locale.html.attributes template which does the lang,
      +dir, and title attributes, but not the class attribute
      +(used on para, for example).
      +
    • +

      Robert Stayton: lists.xsl

      Replace more literal class atts with mode="class.attribute" to support
      +easier customization.
      +
    • +

      Robert Stayton: glossary.xsl

      Support olinking in glosssee and glossseealso.
      +
    • +

      Robert Stayton: inline.xsl

      In simple.xlink, rearrange order of processing.
      +
    • +

      Robert Stayton: xref.xsl

      Handle firstterm like glossterm in mode="xref-to".
      +
    • +

      Robert Stayton: lists.xsl; html.xsl; block.xsl

      Added template named common.html.attributes to output
      +class, title, lang, and dir for most elements.
      +Started adding it to some list and block elements.
      +
    • +

      Robert Stayton: qandaset.xsl

      Add two new qanda.defaultlabel values so that numbered sections
      +and numbered questions can be distinguished.  Satisfies
      +Feature Request #1539045.
      +
    • +

      Robert Stayton: param.xweb; chunk-code.xsl; param.ent; xref.xsl; chunkfast.xsl; verbatim.x⋯

      Use new param exsl.node.set.available to test, handles Xalan bug.
      +
    • +

      Robert Stayton: autoidx.xsl

      Use named anchors for primary, secondary, and tertiary ids so
      +duplicate entries with different ids can still have an id output.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add new param index.links.to.section.
      +
    • +

      Robert Stayton: xref.xsl; autoidx.xsl

      Pass through an id on primary, secondary, or tertiary to 
      +the index entry, so that one could link to an index entry.
      +You can't link to the id on an indexterm because that is
      +used to place the main anchor in the text flow.
      +
    • +

      Robert Stayton: autoidx.xsl

      Add support for the new index.links.to.section param which permits
      +precise links to indexterms in HTML output rather than to
      +the section title.
      +
    • +

      Mauritz Jeanson: synop.xsl

      Added modeless template for ooclass|oointerface|ooexception.
      +Closes bug #1623468.
      +
    • +

      Robert Stayton: qandaset.xsl

      Make sure a qandaset has an anchor, even when it has no title, 
      +because it may be referenced in a TOC or xref.
      +Before, the anchor was output by the title, but there was no
      +anchor if there was no title.
      +
    • +

      Robert Stayton: xref.xsl

      Add a template for indexterm with mode="xref-to" to fix bug 2102592.
      +
    • +

      Robert Stayton: xref.xsl

      Now xref to qandaentry will use the label element in a question for
      +the link text if it has one.
      +
    • +

      Robert Stayton: qandaset.xsl; html.xsl

      Create separate templates for computing label of question and answer
      +in a qandaentry, so such can be used for the alt text of an xref
      +to a qandaentry.
      +
    • +

      Robert Stayton: inline.xsl; xref.xsl

      Now support xref to phrase, simpara, anchor, and quote,
      +most useful when an xrefstyle is used.
      +
    • +

      Robert Stayton: toc.xsl

      Rewrite toc templates to support an empty toc or populated toc
      +in all permitted contexts.  Same for lot elements.
      +This fixes bug #1595969 for HTML outputs.
      +
    • +

      Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯

      Added code to handle acknowledgements in book and part. The element is processed
      +similarly to dedication. All acknowledgements will appear as front matter, after
      +any dedications.
      +
    • +

      Robert Stayton: index.xsl

      Rewrote primaryie, secondaryie and tertiaryie templates to handle
      +nesting of elements and seeie and seealsoie, as reported in
      +bug # 1168912.
      +
    • +

      Robert Stayton: autotoc.xsl

      Fix simplesect in toc problem.
      +
    • +

      Robert Stayton: verbatim.xsl

      Add support for @width per bug report #2012736.
      +
    • +

      Robert Stayton: formal.xsl; htmltbl.xsl

      Fix bug #1787140 HTML tables not handling attributes correctly.
      +
    • +

      Robert Stayton: param.xweb

      Move writing-mode param.
      +
    • +

      Keith Fahlgren: refentry.xsl

      Remove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly)
      +
    • +

      Robert Stayton: table.xsl

      Fix bug #1945872 to allow passthrough of colwidth values to
      +HTML table when no tablecolumns.extension is available and
      +when no instance of * appears in the table's colspecs.
      +
    • +

      Mauritz Jeanson: block.xsl

      Added support for acknowledgements in article.
      +Support in book/part remains to be added.
      +
    • +

      Robert Stayton: chunk-common.xsl

      Fix bug #1787167 incorrect hot text for some olinks.
      +
    • +

      Robert Stayton: qandaset.xsl

      Fix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title
      +instead of question, if available. For DocBook 5, use the info versions.
      +
    • +

      Robert Stayton: chunktoc.xsl

      Add support for generating olink database when using chunktoc.xsl.
      +
    • +

      Keith Fahlgren: verbatim.xsl

      Add better pointer to README for XSLTHL
      +
    • +

      Keith Fahlgren: verbatim.xsl

      Another stab at fixing the stupid XSLTHT includes across processors (Saxon regression reported by Sorin Ristache)
      +
    • +

      Keith Fahlgren: verbatim.xsl

      More tweaking the way that XSLTHL does or does not get called
      +
    • +

      Keith Fahlgren: verbatim.xsl

      Alternate attempt at sanely including/excluding XSLTHT code
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: table.xsl

      Convert function-available test for node-set() function to
      +test of $exsl.node.set.available param.
      +
    • +

      Mauritz Jeanson: lists.xsl

      Added a template for bibliolist. Closes bug #1815916.
      +
    +
    + +

    ePub

    + +

    The following changes have been made to the + epub code + since the 1.74.3 release.

    +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯

      Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog.
      +
    • +

      Keith Fahlgren: docbook.xsl

      Add a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann)
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/de.xml

      Correctly set dc:language in OPF metadata when i18nizing. Closes Bug #2755150
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl

      Corrected namespace declarations for literal XHTML elements to make them serialize "normally"
      +
    • +

      Keith Fahlgren: docbook.xsl

      Be a little bit more nuanced about dates
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯

      Add DocBook subjectset -> OPF dc:subject mapping and tests
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯

      Add DocBook date -> OPF dc:date mapping and tests
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯

      Add DocBook abstract -> OPF dc:description mapping and tests
      +
    • +

      Robert Stayton: docbook.xsl

      Check in patch submitted by user to add opf:file-as attribute
      +to dc:creator element.
      +
    • +

      Keith Fahlgren: bin/dbtoepub

      Adding --output option to dbtoepub based on user request
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rb

      Cleaning and regularizing the generation of namespaced nodes for OPF, NCX, XHTML and other outputted filetypes (hat tip to bobstayton for pointing out the silly, incorrect code)
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/refclass.xml

      Remove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly)
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/blockquotepre.xml

      Added regression test and fix for XHTML validation problem with <a>s added inside <blockquote>; This potentially causes another problem (where something is referenced by has no anchor, but someone reporting that should cause the whole <a id='thing'/> thing to be reconsidered with modern browsers in mind.
      +
    +
    + +

    HTMLHelp

    + +

    The following changes have been made to the + htmlhelp code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: htmlhelp-common.xsl

      Add support for generating olink target database for htmlhelp files.
      +
    +
    + + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.74.3 release.

    +
    • +

      Robert Stayton: default.table.rules.xml

      Add default setting for @rules attribute on HTML markup tables.
      +
    • +

      Mauritz Jeanson: bookmarks.collapse.xml

      Added a new parameter, bookmarks.collapse, that controls the initial state 
      +of the bookmark tree. When the parameter has a non-zero value (the default), 
      +only the top-level bookmarks are displayed initially. Otherwise, the whole 
      +tree of bookmarks is displayed. 
      +
      +This is implemented for FOP 0.9X. Closes FR #1792326.
      +
    • +

      Robert Stayton: variablelist.term.properties.xml

      Add new variablelist.term.properties to format terms, per 
      +request # 1968513.
      +
    • +

      Robert Stayton: qanda.defaultlabel.xml

      Add two new qanda.defaultlabel values so that numbered sections
      +and numbered questions can be distinguished.  Satisfies
      +Feature Request #1539045.
      +
    • +

      Robert Stayton: index.links.to.section.xml

      Change default to 1 to match past behavior.
      +
    • +

      Robert Stayton: exsl.node.set.available.xml

      Isolate this text for Xalan bug regarding exsl:node-set available.
      +If it is ever fixed in Xalan, just fix it here.
      +
    • +

      Robert Stayton: index.links.to.section.xml

      Add param to control whether an index entry links to
      +a section title or to the precise location of the
      +indexterm.
      +
    • +

      Robert Stayton: glossentry.list.item.properties.xml

      New attribute list for glossentry in glossary.
      +
    • +

      Robert Stayton: monospace.verbatim.font.width.xml

      New parameter to support @width on programlisting and screen.
      +
    • +

      Mauritz Jeanson: highlight.source.xml

      Updated and reorganized the description.
      +
    • +

      Robert Stayton: page.margin.outer.xml; page.margin.inner.xml

      Add caveat about XEP bug when writing-mode is right-to-left.
      +
    • +

      Robert Stayton: article.appendix.title.properties.xml; writing.mode.xml; body.start.indent⋯

      Change 'left' to 'start' and 'right' to 'end' to support right-to-left
      +writing mode.
      +
    • +

      Robert Stayton: glossdef.block.properties.xml; glossdef.list.properties.xml; glossterm.blo⋯

      Add attribute-sets for formatting glossary terms and defs.
      +
    • +

      Robert Stayton: glossterm.separation.xml

      Clarify the description.
      +
    • +

      Robert Stayton: make.year.ranges.xml

      Now handles year element containing a comma or dash without error.
      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.74.3 release.

    +
    • +

      Jirka Kosek: README

      Inclusion of highlighting code was simplified. Only one import is now necessary.
      +
    • +

      Keith Fahlgren: README

      Adding XSLTHL readme
      +
    • +

      Keith Fahlgren: common.xsl

      Alternate attempt at sanely including/excluding XSLTHT code
      +
    +
    + +

    XSL-Saxon

    + +

    The following changes have been made to the + xsl-saxon code + since the 1.74.3 release.

    +
    • +

      Mauritz Jeanson: src/com/nwalsh/saxon/Text.java

      Added a fix that prevents output of extra blank line.
      +Hopefully this closes bug #894805.
      +
    +
    + +

    XSL-Xalan

    + +

    The following changes have been made to the + xsl-xalan code + since the 1.74.3 release.

    +
    • +

      Mauritz Jeanson: src/com/nwalsh/xalan/Text.java

      Added a fix that prevents output of extra blank line.
      +Hopefully this closes bug #894805.
      +
    +
    + + +
    + +

    Release Notes: 1.74.3

    + +

    This release fixes some bugs in the 1.74.2 release.

    +

    See highlighting/README for XSLTHL usage instructions.

    +
    +

    Release Notes: 1.74.2

    + +

    This release fixes some bugs in the 1.74.1 release.

    +
    + +

    Release Notes: 1.74.1

    + +

    This release includes important bug fixes and adds the following +significant feature changes: +

    Gentext

    Kirghiz locale added and Chinese translations have been simplified.

    Somme support for gentext and right-to-left languages has been added.

    FO

    Various bugs have been resolved.

    Support for a new processing instruction: dbfo funcsynopsis-style has been added.

    Added new param email.mailto.enabled for FO output. Patch from Paolo Borelli.

    +

    Support for documented metadata in fop1 mode has been added.

    +
    Highlighting

    Support for the latest version of XSLTHL 2.0 and some new language syntaxes have been added to a variety of outputs.

    Manpages

    Added man.output.better.ps.enabled param (zero default). It non-zero, no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command.

    HTML

    Support for writing.mode to set text direction and alignment based on document locale has been added.

    +

    Added a new top-level stylesheet module, chunk-changebars.xsl, to be +used for generating chunked output with highlighting based on change +(@revisionflag) markup. The module imports/includes the standard chunking +and changebars templates and contains additional logic for chunked output. +See FRs #1015180 and #1819915.

    +
    ePub
    +

    Covers now look better in Adobe Digital Editions thanks to a patch from Paul Norton of Adobe

    +

    Cover handling now more generic (including limited DocBook 5.0 cover support thanks to patch contributed by Liza Daly.

    Cover markup now carries more reliably into files destined for .mobi and the Kindle.

    dc:identifiers are now generated from more types of numbering schemes.

    Both SEO and semantic structure of chunked ePub output by ensuring that we always send out one and only one h1 in each XHTML chunk.

    +

    Primitive support for embedding a single font added.

    + +

    Support for embedding a CSS customizations added.

    +
    Roundtrip
    +

    Support for imagedata-metadata and table as images added.

    + +

    Support for imagedata-metadata and legalnotice as images added.

    +
    Params

    man.output.better.ps.enabled added for Manpages output

    +

    writing.mode.xml added to set text direction.

    + +

    Added new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321.

    + +

    highlight.source upgraded to support the latest version of XSLTHL 2.0.

    +

    +

    +

    The following is a list of changes that have been made since the 1.74.0 release.

    + + +

    Gentext

    + +

    The following changes have been made to the gentext code since the 1.74.0 release.

    +
    • +

      Michael(tm) Smith: locale/ky.xml; Makefile

      new Kirghiz locale from Ilyas Bakirov
      +
    • +

      Mauritz Jeanson: locale/en.xml

      Added "Acknowledgements".
      +
    • +

      Dongsheng Song: locale/zh_cn.xml

      Simplified Chinese translation.
      +
    • +

      Robert Stayton: locale/lv.xml; locale/ca.xml; locale/pt.xml; locale/tr.xml; locale/af.xml;⋯

      Add writing-mode gentext string to support right-to-left languages.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the fo code since the 1.74.0 release.

    +
    • +

      David Cramer: footnote.xsl

      Added a check to confirm that a footnoteref's linkend points to a footnote. Stylesheets stop processing if not and provide a useful error message.
      +
    • +

      Mauritz Jeanson: spaces.xsl

      Convert spaces to fo:leader also in elements in the DB 5 namespace.
      +
    • +

      Mauritz Jeanson: pi.xsl; synop.xsl

      Added support for a new processing instruction: dbfo funcsynopsis-style. 
      +Closes bug #1838213.
      +
    • +

      Michael(tm) Smith: inline.xsl; param.xweb; param.ent

      Added new param email.mailto.enabled for FO output.
      +Patch from Paolo Borelli. Closes #2086321.
      +
    • +

      Mauritz Jeanson: docbook.xsl

      Added support for document metadata for fop1 (patch #2067318).
      +
    • +

      Jirka Kosek: param.ent; param.xweb; highlight.xsl

      Upgraded to support the latest version of XSLTHL 2.0
      + -- nested markup in highlited code is now processed
      + -- it is no longer needed to specify path XSLTHL configuration file using Java property
      + -- support for new languages, including Perl, Python and Ruby was added
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the html code since the 1.74.0 release.

    +
    • +

      Robert Stayton: param.xweb; docbook.xsl; param.ent; html.xsl

      Add support for writing.mode to set text direction and alignment based on document locale.
      +
    • +

      Mauritz Jeanson: chunk-changebars.xsl

      Added a new top-level stylesheet module, chunk-changebars.xsl, to be 
      +used for generating chunked output with highlighting based on change 
      +(@revisionflag) markup. The module imports/includes the standard chunking 
      +and changebars templates and contains additional logic for chunked output.
      +See FRs #1015180 and #1819915.
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the manpages code since the 1.74.0 release.

    +
    • +

      Michael(tm) Smith: docbook.xsl

      Put the following at the top of generated roff for each page:
      +  \" t
      +purpose is to explicitly tell AT&T troff that the page needs to be
      +pre-processed through tbl(1); groff can figure it out
      +automatically, but apparently AT&T troff needs to be explicitly told
      +
    +
    + +

    ePub

    + +

    The following changes have been made to the epub code since the 1.74.0 release.

    +
    • +

      Keith Fahlgren: docbook.xsl

      Patch from Paul Norton of Adobe to get covers to look better in Adobe Digital Editions
      +
    • +

      Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/v5cover.xml; bin/spec/sp⋯

      Patch contributed by Liza Daly to make ePub cover handling more generic. Additionally
      +DocBook 5.0's <cover> now has some limited support:
      +
      +- should reference a cover in the OPF guide for a DocBook 5.0 test document
      +
    • +

      Keith Fahlgren: bin/spec/files/isbn.xml; bin/spec/files/issn.xml; bin/spec/files/biblioid.⋯

      Liza Daly reported that the dc:identifer-generation code was garbage (she was right).
      +
      +Added new tests:
      +- should include at least one dc:identifier
      +- should include an ISBN as URN for dc:identifier if an ISBN was in the metadata
      +- should include an ISSN as URN for dc:identifier if an ISSN was in the metadata
      +- should include an biblioid as a dc:identifier if an biblioid was in the metadata
      +- should include a URN for a biblioid with @class attribute as a dc:identifier if an biblioid was in the metadata
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rb

      Improve both SEO and  semantic structure of chunked ePub output by ensuring that
      +we always send out one and only one h1 in each XHTML chunk.
      +
      +DocBook::Epub
      +- should include one and only one <h1> in each HTML file in rendered ePub files
      +for <book>s
      +- should include one and only one <h1> in each HTML file in rendered ePub files
      +for <book>s even if they do not have section markup
      +
    • +

      Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯

      Adding better support for covers in epub files destined for .mobi and the Kindle
      +
    • +

      Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/DejaVuSerif.otf; docbook.⋯

      Adding primitive support for embedding a single font
      +
    • +

      Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/test_cust.xsl; bin/spec/e⋯

      Adding support for user-specified customization layers in dbtoepub
      +
    • +

      Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯

      Adding CSS support to .epub target & dbtoepub:
      +    -c, --css [FILE]                 Use FILE for CSS on generated XHTML.
      +
      +
      +DocBook::Epub
      +...
      +- should include a CSS link in HTML files when a CSS file has been provided
      +- should include CSS file in .epub when a CSS file has been provided
      +- should include a CSS link in OPF file when a CSS file has been provided
      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.74.0 release.

    +
    • +

      Steve Ball: blocks2dbk.xsl; template.xml; template.dot

      added support for imagedata-metadata
      +added support for table as images
      +
    • +

      Steve Ball: blocks2dbk.xsl; normalise2sections.xsl; sections2blocks.xsl

      Improved support for personname inlines.
      +
    • +

      Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xml

      Added support for legalnotice.
      +
    • +

      Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl

      added support for orgname in author
      +
    • +

      Steve Ball: specifications.xml; supported.xml; blocks2dbk.xsl; wordml2normalise.xsl; dbk2w⋯

      Updated specification.
      +to-DocBook: add cols attribute to tgroup
      +from-DocBook: fix for blockquote title
      +
    +
    + +

    Params

    + +

    The following changes have been made to the params since the 1.74.0 release.

    +
    • +

      The change was to add man.output.better.ps.enabled parameter, with +its default value set to zero. + +If the value of the man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps command for that +page will include a number of enhancements designed to improve the +quality of that output. + +If man.output.better.ps.enabled is zero (the default), no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command. + +WARNING: The enhancements provided by this parameter rely on +features that are specific to groff (GNU troff) and that are not +part of "classic" AT&T troff or any of its derivatives. Therefore, +any man pages you generate with this parameter enabled will be +readable only on systems on which the groff (GNU troff) program is +installed, such as GNU/Linux systems. The pages will not not be +readable on systems on with the classic troff (AT&T troff) command +is installed. + +NOTE: The value of this parameter only affects PostScript output +generated from the man command. It has no effect on output +generated using the FO backend. + +TIP: You can generate PostScript output for any man page by +running the following command: + +man FOO -Tps > FOO.ps + +You can then generate PDF output by running the following command: + +ps2pdf FOO.ps

      +
    • +

      Robert Stayton: writing.mode.xml

      writing mode param used to set text direction.
      +
    • +

      Michael(tm) Smith: email.mailto.enabled.xml

      Added new param email.mailto.enabled for FO output.
      +Patch from Paolo Borelli. Closes #2086321.
      +
    • +

      Jirka Kosek: highlight.source.xml; highlight.xslthl.config.xml

      Upgraded to support the latest version of XSLTHL 2.0
      + -- nested markup in highlited code is now processed
      + -- it is no longer needed to specify path XSLTHL configuration file using Java property
      + -- support for new languages, including Perl, Python and Ruby was added
      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.74.0 release.

    +
    • +

      Jirka Kosek: cpp-hl.xml; c-hl.xml; tcl-hl.xml; php-hl.xml; common.xsl; perl-hl.xml; delphi⋯

      Upgraded to support the latest version of XSLTHL 2.0
      + -- nested markup in highlited code is now processed
      + -- it is no longer needed to specify path XSLTHL configuration file using Java property
      + -- support for new languages, including Perl, Python and Ruby was added
      +
    +
    + +
    + + +

    Release Notes: 1.74.0

    + +

    This release includes important bug fixes and adds the following +significant feature changes: +

    .epub target

    Paul Norton (Adobe) and Keith Fahlgren(O'Reilly Media) have donated code that generates .epub documents from +DocBook input. An alpha-reference implementation in Ruby has also been provided.

    +

    .epub is an open standard of the The International Digital Publishing Forum (IDPF), +a the trade and standards association for the digital publishing industry.

    +

    Read more about this target in epub/README +

    XHTML 1.1 target

    To support .epub output, a strict XHTML 1.1 target has been added. The stylesheets for this output are +generated and are quite similar to the XHTML target.

    Gentext updates

    A number of locales have been updated.

    Roundtrip improvements

    Table, figure, template syncronization, and character style improvements have been made for WordML & Pages. Support added for OpenOffice.org.

    First implementation of a libxslt extension
    +

    A stylesheet extension for libxslt, written in Python, has been added. + The extension is a function for adjusting column widths in CALS tables. See + extensions/README.LIBXSLT for more information.

    +

    +

    +

    The following is a list of changes that have been made + since the 1.73.2 release.

    + +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: locale/id.xml

      Checked in changes to Indonesion locale submitted by Euis Luhuanam a long time ago.
      +
    • +

      Michael(tm) Smith: locale/lt.xml

      Added changes to Lithuanian locate submitted a long time back by Nikolajus Krauklis.
      +
    • +

      Michael(tm) Smith: locale/hu.xml

      fixed error in lowercase.alpha definition in Hungarian locale
      +
    • +

      Michael(tm) Smith: locale/nb.xml

      Corrected language code for nb locale, and restored missing "startquote" key.
      +
    • +

      Michael(tm) Smith: locale/ja.xml

      Committed changes to ja locale file, from Akagi Kobayashi. Adds bracket quotes around many xref instances that did not have them
      +before.
      +
    • +

      Michael(tm) Smith: Makefile

      "no" locale is now "nb"
      +
    • +

      Michael(tm) Smith: locale/nb.xml

      Update Norwegian Bokmål translation. Thanks to Hans F. Nordhaug.
      +
    • +

      Michael(tm) Smith: locale/no.xml; locale/nb.xml

      per message from Hans F. Nordhaug, correct identifier for
      +Norwegian Bokmål is "nb" (not "no") and has been for quite some
      +time now...
      +
    • +

      Michael(tm) Smith: locale/ja.xml

      Converted ja.xml source file to use real unicode characters so
      +that the actual glyphs so up when you edit it in a text editor
      +(instead of the character references).
      +
    • +

      Michael(tm) Smith: locale/ja.xml

      Checked in changes to ja.xml locale file. Thanks to Akagi Kobayashi.
      +
    • +

      Michael(tm) Smith: locale/it.xml

      Changes from Federico Zenith
      +
    • +

      Dongsheng Song: locale/zh_cn.xml

      Added missing translations.
      +
    +
    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: l10n.xsl

      Added new template "l10.language.name" for retrieving the
      +English-language name of the lang setting of the current document.
      +Closes #1916837. Thanks to Simon Kennedy.
      +
    • +

      Michael(tm) Smith: refentry.xsl

      fixed syntax error
      +
    • +

      Michael(tm) Smith: refentry.xsl

      fixed a couple of typos
      +
    • +

      Michael(tm) Smith: refentry.xsl

      refined handling of cases where refentry "source" or "manual"
      +metadata is missing or when we use fallback content instead. We
      +now report a Warning if we use fallback content.
      +
    • +

      Michael(tm) Smith: refentry.xsl

      don't use refmiscinfo@class=date value as fallback for refentry
      +"source" or "manual" metadata fields
      +
    • +

      Michael(tm) Smith: refentry.xsl

      Made reporting of missing refentry metadata more quiet:
      +
      +  - we no longer report anything if usable-but-not-preferred
      +    metadata is found; we just quietly use whatever we manage to
      +    find
      +
      +  - we now only report missing "source" metadata if the refentry
      +    is missing BOTH "source name" and "version" metadata; if it
      +    has one but not the other, we use whichever one it has and
      +    don't report anything as missing
      +
      +The above changes were made because testing with some "real world"
      +source reveals that some authors are intentionally choosing to use
      +"non preferred" markup for some metadata, and also choosing to
      +omit "source name" or "version" metadata in there DocBook XML. So
      +it does no good to give them pedantic reminders about what they
      +already know...
      +
      +Also, changed code to cause "fixme" text to be inserted in output
      +in particular cases:
      +
      +  - if we can't manage to find any "source" metadata at all, we
      +    now put fixme text into the output
      +
      +  - if we can't manage to find any "manual" metadata a all, we 
      +    now put fixme text into the output
      +
      +The "source" and "manual" metadata is necessary information, so
      +buy putting the fixme stuff in the output, we alert users to the
      +need problem of it being missing.
      +
    • +

      Michael(tm) Smith: refentry.xsl

      When generating manpages output, we no longer report anything if
      +the refentry source is missing date or pubdate content. In
      +practice, many users intentionally omit the date from the source
      +because they explicitly want it to be generated.
      +
    • +

      Michael(tm) Smith: l10n.xml

      further change needed for switch from no locale to nb.
      +
    • +

      Michael(tm) Smith: common.xsl

      Added support for orgname in authorgroup. Thanks to Camille
      +Bégnis.
      +
    • +

      Michael(tm) Smith: Makefile

      "no" locale is now "nb"
      +
    • +

      Mauritz Jeanson: stripns.xsl

      Removed the template matching "ng:link|db:link" (in order to make @xlink:show 
      +work with <link> elements). As far as I can tell, this template is no longer needed.
      +
    • +

      Mauritz Jeanson: entities.ent

      Moved declaration of comment.block.parents entity to common/entities.ent.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Added an update the fix made in revision 7528 (handling of xref/link in no.anchor.mode mode).
      +Having xref in title is not a problem as long as the target is not an ancestor element. 
      +Closes bug #1838136.
      +
      +Note that an xref that is in a title and whose target is an ancestor element is still not 
      +rendered in the TOC. This could be considered a bug, but on the other hand I cannot really
      +see the point in having such an xref in a document.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Added a "not(ancestor::title)" test to work around "too many nested 
      +apply-templates" problems when processing xrefs or links in no.anchor.mode mode.
      +Hopefully, this closes bug #1811721.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Removed old template matching "link" in no.anchor.mode mode.
      +
    • +

      Mauritz Jeanson: titles.xsl

      Process <link> in no.anchor.mode mode with the same template as <xref>. 
      +Closes bug #1759205 (Empty link in no.anchor.mode mode).
      +
    • +

      Mauritz Jeanson: titles.xsl

      In no.anchor.mode mode, do not output anchors for elements that are descendants 
      +of <title>. Previously, having inline elements with @id/@xml:id in <title>s 
      +resulted in anchors both in the TOC and in the main flow. Closes bug #1797492.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.73.2 release.

    +
    • Mauritz Jeanson: pi.xsl

      Updated documentation for keep-together.
    • Mauritz Jeanson: task.xsl

      Enabled use of the keep-together PI on task elements.
    • +

      Robert Stayton: index.xsl

      FOP1 requires fo:wrapper for inline index entries, not fo:inline.
      +
    • +

      Robert Stayton: index.xsl

      Fixed non-working inline.or.block template for indexterm wrappers.
      +Add fop1 to list of processors using inline.or.block.
      +
    • +

      Mauritz Jeanson: table.xsl

      Fixed bug #1891965 (colsep in entytbl not working).
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Added support for title in revhistory. Closes bug #1842847.
      +
    • +

      Mauritz Jeanson: pi.xsl

      Small doc cleanup (dbfo float-type).
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Insert commas between multiple copyright holders.
      +
    • +

      Mauritz Jeanson: autotoc.xsl; division.xsl

      Added modifications to support nested set elements. See bug #1853172.
      +
    • +

      David Cramer: glossary.xsl

      Added normalize-space to xsl:sorts to avoid missorting of glossterms due to stray leading spaces.
      +
    • +

      David Cramer: glossary.xsl

      Fixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry
      +
    • +

      Mauritz Jeanson: inline.xsl

      Added a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid,
      +and the "hot text" is the biblioid itself enclosed in brackets.
      +
    • +

      Mauritz Jeanson: inline.xsl

      Moved declaration of comment.block.parents entity to common/entities.ent.
      +
    • +

      Mauritz Jeanson: docbook.xsl

      Updated message about unmatched element.
      +
    • +

      Mauritz Jeanson: param.xweb

      Added link to profiling chapter of TCG.
      +
    • +

      Mauritz Jeanson: refentry.xsl

      Fixed typo (refsynopsysdiv -> refsynopsisdiv).
      +
    • +

      David Cramer: fop.xsl; fop1.xsl; ptc.xsl; xep.xsl

      Added test to check generate.index param when generating pdf bookmarks
      +
    • +

      Mauritz Jeanson: graphics.xsl

      Added support for MathML in imagedata.
      +
    • +

      Michael(tm) Smith: math.xsl

      Removed unnecessary extra test condition in test express that
      +checks for passivetex.
      +
    • +

      Michael(tm) Smith: math.xsl

      Don't use fo:instream-foreign-object if we are processing with
      +passivetex. Closes #1806899. Thanks to Justus Piater.
      +
    • +

      Mauritz Jeanson: component.xsl

      Added code to output a TOC for an appendix in an article when 
      +generate.toc='article/appendix toc'. Closes bug #1669658.
      +
    • +

      Dongsheng Song: biblio-iso690.xsl

      Change encoding from "windows-1250" to "UTF-8".
      +
    • +

      Mauritz Jeanson: pi.xsl

      Updated documentation for dbfo_label-width.
      +
    • +

      Mauritz Jeanson: lists.xsl

      Added support for the dbfo_label-width PI in calloutlists.
      +
    • +

      Robert Stayton: biblio.xsl

      Support finding glossary database entries inside bibliodivs.
      +
    • +

      Robert Stayton: formal.xsl

      Complete support for <?dbfo pgwide="1"?> for informal
      +elements too.
      +
    • +

      Mauritz Jeanson: table.xsl

      In the table.block template, added a check for the dbfo_keep-together PI, so that 
      +a table may break (depending on the PI value) at a page break. This was needed 
      +since the outer fo:block that surrounds fo:table has keep-together.within-column="always" 
      +by default, which prevents the table from breaking. Closes bug #1740964 (Titled 
      +table does not respect dbfo PI).
      +
    • +

      Mauritz Jeanson: pi.xsl

      Added a few missing @role="tcg".
      +
    • +

      Mauritz Jeanson: inline.xsl

      Use normalize-space() in glossterm comparisons (as in html/inline.xsl).
      +
    • +

      Mauritz Jeanson: autoidx.xsl

      Removed the [&scope;] predicate from the target variable in the template with name="reference".
      +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms,
      +with index.on.type=1. Closes bug #1680836.
      +
    • +

      Michael(tm) Smith: inline.xsl; xref.xsl; footnote.xsl

      Added capability in FO output for displaying URLs for all
      +hyperlinks (elements marked up with xlink:href attributes) in the
      +same way as URLs for ulinks are already handled (which is to say,
      +either inline or as numbered footnotes).
      +
      +Background on this change:
      +DocBook 5 allows "ubiquitous" linking, which means you can make
      +any element a hyperlink just by adding an xlink:href attribute to
      +it, with the value set to an external URL. That's in contrast to
      +DocBook 4, which only allows you to use specific elements (e.g.,
      +the link and ulink elements) to mark up hyperlinks.
      +
      +The existing FO stylesheets have a mechanism for handling display
      +of URLs for hyperlinks that are marked up with ulink, but they did
      +not handle display of URLs for elements that were marked up with
      +xlink:href attributes. This change adds handling for those other
      +elements, enabling the URLs they link to be displayed either
      +inline or as numbered footnotes (depending on what values the user
      +has the ulink.show and ulink.footnotes params set to).
      +
      +Note that this change only adds URL display support for elements
      +that call the simple.xlink template -- which currently is most
      +(but not all) inline elements.
      +
      +This change also moves the URL display handling out of the ulink
      +template and into a new "hyperlink.url.display" named template;
      +the ulink template and the simple.xlink named template now both
      +call the hyperlink.url.display template.
      +
      +Warning: In the stylesheet code that determines what footnote
      +number to assign to each footnote or external hyperlink, there is
      +an XPath expression for determining whether a particular
      +xlink:href instance is an external hyperlink; that expression is
      +necessarily a bit complicated and further testing may reveal that
      +it doesn't handle all cases as expected -- so some refinements to
      +it may need to be done later.
      +
      +Closes #1785519. Thanks to Ken Morse for reporting and
      +troubleshooting the problem.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.73.2 release.

    +
    • Keith Fahlgren: inline.xsl; synop.xsl

      Work to make HTML and XHTML targets more valid
    • Keith Fahlgren: table.xsl

      Add better handling for tables that have footnotes in the titles
    • Keith Fahlgren: biblio.xsl

      Add anchors to bibliodivs
    • +

      Keith Fahlgren: formal.xsl; Makefile; htmltbl.xsl

      Initial checkin/merge of epub target from work provided by Paul Norton of Adobe
      +and Keith Fahlgren of O'Reilly.
      +

      This change includes new code for generating the XHTML 1.1 target sanely.

      +
    • +

      Mauritz Jeanson: biblio.xsl

      Added code for creating URLs from biblioids with @class="doi" (representing Digital 
      +Object Identifiers). See FR #1934434 and http://doi.org.
      +
      +To do: 1) Add support for FO output. 2) Figure out how @class="doi" should be handled 
      +for bibliorelation, bibliosource and citebiblioid.
      +
    • +

      Norman Walsh: formal.xsl

      Don't use xsl:copy because it forces the resulting element to be in the same namespace as the source element; in the XHTML stylesheets, that's wrong. But the HTML-to-XHTML converter does the right thing with literal result elements, so use one of them.
      +
    • +

      Michael(tm) Smith: Makefile

      Added checks and hacks to various makefiles to enable building
      +under Cygwin. This stuff is ugly and maybe not worth the mess and
      +trouble, but does seem to work as expected and not break anything
      +else.
      +
    • +

      Michael(tm) Smith: docbook.xsl

      added "exslt" namespace binding to html/docbook.xsl file (in
      +addition to existing "exsl" binding. reason is because lack of it
      +seems to cause processing problems when using the profiled
      +version of the stylsheet
      +
    • +

      Norman Walsh: chunk-common.xsl

      Rename link
      +
    • +

      Mauritz Jeanson: table.xsl

      Added a fix to make rowsep apply to the last row of thead in entrytbl.
      +
    • +

      Michael(tm) Smith: synop.xsl

      Simplified and streamlined handling of output for ANSI-style
      +funcprototype output, to correct a problem that was causing type
      +data to be lost in the output parameter definitions. For example,
      +for an instance like this:
      +  <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
      +... the brackets (indicating an array type) were being dropped.
      +
    • +

      Michael(tm) Smith: synop.xsl

      Changed HTML handling of K&R-style paramdef output. The parameter
      +definitions are no longer output in a table (though the prototype
      +still is). The reason for the change is that the
      +kr-tabular-funcsynopsis-mode template was causing type data to be
      +lost in the output parameter definitions. For example, for an
      +instance like this:
      +  <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
      +... the brackets (indicating an array type) were being dropped.
      +The easiest way to deal with the problem is to not try to chop up
      +the parameter definitions and display them in table format, but to
      +instead just output them as-is. May not look quite as pretty, but
      +at least we can be sure no information is being lost...
      +
    • +

      Michael(tm) Smith: pi.xsl

      updated wording of doc for funcsynopsis-style PI
      +
    • +

      Michael(tm) Smith: param.xweb; param.ent; synop.xsl

      Removed the funcsynopsis.tabular.threshold param. It's no longer
      +being used in the code and hasn't been since mid 2006.
      +
    • +

      Mauritz Jeanson: graphics.xsl

      Added support for the img.src.path parameter for SVG graphics. Closes bug #1888169.
      +
    • +

      Mauritz Jeanson: chunk-common.xsl

      Added missing space.
      +
    • +

      Norman Walsh: component.xsl

      Fix bug where component titles inside info elements were not handled properly
      +
    • +

      Michael(tm) Smith: pi.xsl

      Moved dbhtml_stop-chunking embedded doc into alphabetical order,
      +fixed text of TCG section it see-also'ed.
      +
    • +

      David Cramer: pi.xsl

      Added support for <?dbhtml stop-chunking?> processing instruction
      +
    • +

      David Cramer: chunk-common.xsl; pi.xsl

      Added support for <?dbhtml stop-chunking?> processing instruction
      +
    • +

      David Cramer: glossary.xsl

      Fixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry. Also added normalize-space to avoid missorting due to stray leading spaces.
      +
    • +

      Mauritz Jeanson: inline.xsl

      Added a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid,
      +and the "hot text" is the biblioid itself enclosed in brackets.
      +
    • +

      Mauritz Jeanson: inline.xsl

      Added support for @xlink:show in the simple.xlink template. The "new" and "replace" 
      +values are supported (corresponding to values of "_blank" and "_top" for the 
      +ulink.target parameter). I have assumed that @xlink:show should override ulink.target
      +for external URI links. This closes bugs #1762023 and #1727498.
      +
    • +

      Mauritz Jeanson: inline.xsl

      Moved declaration of comment.block.parents entity to common/entities.ent.
      +
    • +

      Mauritz Jeanson: param.xweb

      Added link to profiling chapter of TCG.
      +
    • +

      Dongsheng Song: biblio-iso690.xsl

      Change encoding from "windows-1250" to "UTF-8".
      +
    • +

      Robert Stayton: biblio.xsl

      Add support in biblio collection to entries in bibliodivs.
      +
    • +

      Mauritz Jeanson: pi.xsl

      Added missing @role="tcg".
      +
    • +

      Mauritz Jeanson: chunk-common.xsl; titlepage.xsl

      Refactored legalnotice/revhistory chunking, so that the use.id.as.filename 
      +parameter as well as the dbhtml_filename PI are taken into account. A new named
      +template in titlepage.xsl is used to compute the filename.
      +
    • +

      Mauritz Jeanson: chunk-common.xsl; titlepage.xsl

      An update to the fix for bug #1790495 (r7433):
      +The "ln-" prefix is output only when the legalnotice doesn't have an
      +@id/@xml:id, in which case the stylesheets generate an ID value, 
      +resulting in a filename like "ln-7e0fwgj.html". This is useful because 
      +without the prefix, you wouldn't know that the file contained a legalnotice. 
      +The same logic is also applied to revhistory, using an "rh-" prefix.
      +
    • +

      Mauritz Jeanson: autoidx.xsl

      Removed the [&scope;] predicate from the target variable in the template with name="reference".
      +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms,
      +with index.on.type=1. Closes bug #1680836.
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Added 'ln-' prefix to the name of the legalnotice chunk, in order to match the 
      +<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl).
      +Modified the href attribute on the legalnotice link.
      +Closes bug #1790495.
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: other.xsl

      slightly adjusted spacing around admonition markers
      +
    • +

      Michael(tm) Smith: refentry.xsl; utility.xsl

      make sure refsect3 titles are preceded by a line of space, and
      +make the indenting of their child content less severe
      +
    • +

      Michael(tm) Smith: block.xsl

      only indent verbatim environments in TTY output, not in non-TTY/PS
      +
    • +

      Michael(tm) Smith: block.xsl

      made another adjustment to correct vertical alignment of admonition marker
      +
    • +

      Michael(tm) Smith: block.xsl; other.xsl

      Adjusted/corrected alignment of adominition marker in PS/non-TTY output.
      +
    • +

      Michael(tm) Smith: endnotes.xsl

      For PS/non-TTY output, display footnote/endnote numbers in
      +superscript.
      +
    • +

      Michael(tm) Smith: table.xsl; synop.xsl; utility.xsl

      Changed handling of hanging indents for cmdsynopsis, funcsynopsis,
      +and synopfragment such that they now look correct in non-TTY/PS
      +output. We now use the groff \w escape to hang by the actual width
      +-- in the current font -- of the command, funcdef, or
      +synopfragment references number (as opposed to hanging by the
      +number of characters). This rendering in TTY output remains the
      +same, since the width in monospaced TTY output is the same as the
      +number of characters.
      +
      +Also, created new synopsis-block-start and synopsis-block-end
      +templates to use for cmdsynopsis and funcsynopsis instead of the
      +corresponding verbatim-* templates.
      +
      +Along with those changes, also corrected a problem that caused the
      +content of synopfragment to be dropped, and made a
      +vertical-spacing change to adjust spacing around table titles and
      +among sibling synopfragment instances.
      +
    • +

      Michael(tm) Smith: other.xsl

      use common l10.language.name template to retrieve English-language name
      +
    • +

      Michael(tm) Smith: synop.xsl; inline.xsl

      added comment in code explaining why we don't put filename output
      +in italic (despite the fact that man guidelines say we should)
      +
    • +

      Michael(tm) Smith: inline.xsl

      put filename output in monospace instead of italic
      +
    • +

      Michael(tm) Smith: synop.xsl

      put cmdsynopsis in monospace
      +
    • +

      Michael(tm) Smith: inline.xsl

      removed template match for literal. template matches for monospace
      +inlines are all imported from the HTML stylesheet
      +
    • +

      Michael(tm) Smith: block.xsl

      don't indent verbatim environments that are descendants of
      +refsynopsisdiv, not put backgrounds behind them
      +
    • +

      Michael(tm) Smith: inline.xsl

      set output of the literal element in monospace. this causes all
      +inline monospace instances in the git man pages to be set in
      +monospace (since DocBook XML source for git docs is generated with
      +asciidoc and asciidoc consistently outputs only <literal> for
      +inline monospace (not <command> or <code> or anything else).
      +Of course this only affects non-TTY output...
      +
    • +

      Michael(tm) Smith: utility.xsl

      Added inline.monoseq named template.
      +
    • +

      Michael(tm) Smith: utility.xsl

      don't bother using a custom register to store the previous
      +font-family value when setting blocks of text in code font; just
      +use \F[] .fam with no arg to switch back
      +
    • +

      Michael(tm) Smith: endnotes.xsl

      put links in blue in PS output (note that this matches how groff
      +renders content marked up with the .URL macro)
      +
    • +

      Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent

      removed man.links.are.underlined and added man.font.links. Also,
      +changed the default font formatting for links to bold.
      +
    • +

      Michael(tm) Smith: endnotes.xsl; param.xweb; param.ent

      Added new param man.base.url.for.relative.links .. specifies a
      +base URL for relative links (for ulink, @xlink:href, imagedata,
      +audiodata, videodata) shown in the generated NOTES section of
      +man-page output. The value of man.base.url.for.relative.links is
      +prepended to any relative URI that is a value of ulink url,
      +xlink:href, or fileref attribute.
      +
      +If you use relative URIs in link sources in your DocBook refentry
      +source, and you leave man.base.url.for.relative.links unset, the
      +relative links will appear "as is" in the NOTES section of any
      +man-page output generated from your source. That's probably not
      +what you want, because such relative links are only usable in the
      +context of HTML output. So, to make the links meaningful and
      +usable in the context of man-page output, set a value for
      +man.base.url.for.relative.links that points
      +to the online version of HTML output generated from your DocBook
      +refentry source. For example:
      +
      +  <xsl:param name="man.base.url.for.relative.links"
      +  >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param>
      +
    • +

      Michael(tm) Smith: info.xsl

      If a source refentry contains a Documentation or DOCUMENTATION
      +section, don't report it as having missing AUTHOR information.
      +Also, if missing a contrib/personblurb for a person or org, report
      +pointers to http://docbook.sf.net/el/personblurb and to
      +http://docbook.sf.net/el/contrib
      +
    • +

      Michael(tm) Smith: info.xsl

      If we encounter an author|editor|othercredit instance that lacks a
      +personblurb or contrib, report it to the user (because that means
      +we have no information about that author|editor|othercredit to
      +display in the generated AUTHOR|AUTHORS section...)
      +
    • +

      Michael(tm) Smith: info.xsl; docbook.xsl; other.xsl

      if we can't find any usable author data, emit a warning and insert
      +a fixme in the output
      +
    • +

      Michael(tm) Smith: info.xsl

      fixed bug in indenting of output for contrib instances in AUTHORS
      +section. Thanks to Daniel Leidert and the fglrx docs for exposing
      +the bug.
      +
    • +

      Michael(tm) Smith: block.xsl

      for a para or simpara that is the first child of a callout,
      +suppress the .sp or .PP that would normally be output (because in
      +those cases, the output goes into a table cell, and the .sp or .PP
      +markup causes a spurious linebreak before it when displayed
      +
    • +

      Michael(tm) Smith: lists.xsl

      Added support for rendering co callouts and calloutlist instances.
      +So you can now use simple callouts -- marking up programlisting
      +and such with co instances -- and have the callouts displayed in
      +man-page output. ("simple callouts" means using co@id and
      +callout@arearefs pointing to co@id instances; in man/roff output,
      +we can't/don't support markup that uses areaset and area)
      +
    • +

      Michael(tm) Smith: block.xsl

      only put a line of space after a verbatim if it's followed by a
      +text node or a paragraph
      +
    • +

      Michael(tm) Smith: utility.xsl

      put verbatim environments in slightly smaller font in non-TTY
      +output
      +
    • +

      Michael(tm) Smith: lists.xsl

      minor whitespace-only reformatting of lists.xsl source
      +
    • +

      Michael(tm) Smith: lists.xsl

      Made refinements/fixes to output of orderedlist and itemizedlist
      +-- in part, to get mysql man pages to display correctly. This
      +change causes a "\c" continuation marker to be added between
      +listitem markers and contents (to ensure that the content remains
      +on the same line as the marker when displayed)
      +
    • +

      Michael(tm) Smith: block.xsl

      put a line of vertical space after all verbatim output that has
      +sibling content following it (not just if that sibling content is
      +a text node)
      +
    • +

      Michael(tm) Smith: block.xsl

      refined spacing around titles for admonitions
      +
    • +

      Michael(tm) Smith: block.xsl; other.xsl

      Deal with case of verbatim environments that have a linebreak
      +after the opening tag. Assumption is that users generally don't
      +want that linebreak to appear in output, so we do some groff
      +hackery to mess with vertical spacing and close the space.
      +
    • +

      Michael(tm) Smith: inline.xsl

      indexterm instances now produce groff comments like this:
      +
      +  .\" primary: secondary: tertiary
      +
      +remark instances, if non-empty, now produce groff comments
      +
    • +

      Michael(tm) Smith: charmap.groff.xsl; other.xsl

      convert no-break space character to groff "\ \&" (instead of just
      +"\ "). the reason is that if a space occurs at the end of a line,
      +our processing causes it to be eaten. a real-world case of this is
      +the mysql(1) man page. appending the "\&" prevents that
      +
    • +

      Michael(tm) Smith: block.xsl

      output "sp" before simpara output, not after it (outputting it
      +after results in undesirable whitespace in particular cases; for
      +example, in the hg/mercurial docs
      +
    • +

      Michael(tm) Smith: table.xsl; synop.xsl; utility.xsl

      renamed from title-preamble to pinch.together and replaced "sp -1"
      +between synopsis fragments with call to pinch.together instead
      +
    • +

      Michael(tm) Smith: table.xsl

      use title-preamble template for table titles (instead of "sp -1"
      +hack), and "sp 1" after all tables (instead of just "sp"
      +
    • +

      Michael(tm) Smith: utility.xsl

      created title-preamble template for suppressing line spacing after
      +headings
      +
    • +

      Michael(tm) Smith: info.xsl

      further refinement of indenting in AUTHORS section
      +
    • +

      Michael(tm) Smith: block.xsl; other.xsl

      refined handling of admonitions
      +
    • +

      Michael(tm) Smith: lists.xsl

      Use RS/RE in another place where we had IP ""
      +
    • +

      Michael(tm) Smith: info.xsl

      Replace (ab)use of IP with "sp -1" in AUTHORS section with RS/RE
      +instead.
      +
    • +

      Michael(tm) Smith: table.xsl; synop.xsl; info.xsl

      changed all instances of ".sp -1n" to ".sp -1"
      +
    • +

      Michael(tm) Smith: other.xsl

      add extra line before SH heads only in non-TTY output
      +
    • +

      Michael(tm) Smith: block.xsl

      Reworked output for admonitions (caution, important, note, tip,
      +warning). In TTY output, admonitions now get indented. In non-TTY
      +output, a colored marker (yellow) is displayed next to them.
      +
    • +

      Michael(tm) Smith: other.xsl

      Added BM/EM macros for putting a colored marker in margin next to
      +a block of text.
      +
    • +

      Michael(tm) Smith: utility.xsl

      created make.bold.title template by moving title-bolding part out
      +from nested-section-title template. This allows the bolding to
      +also be used by the template for formatting admonitions
      +
    • +

      Michael(tm) Smith: info.xsl

      put .br before copyright contents to prevent them from getting run in
      +
    • +

      Michael(tm) Smith: refentry.xsl; other.xsl; utility.xsl

      made point size of output for Refsect2 and Refsect3 heads bigger
      +
    • +

      Michael(tm) Smith: other.xsl

      put slightly more space between SH head and underline in non-TTY
      +output
      +
    • +

      Michael(tm) Smith: param.xweb; param.ent; other.xsl

      Added the man.charmap.subset.profile.english parameter and refined
      +the handling of charmap subsets to differentiate between English
      +and non-English source.
      +
      +This way charmap subsets are now handled is this:
      +
      +If the value of the man.charmap.use.subset parameter is non-zero,
      +and your DocBook source is not written in English (that is, if its
      +lang or xml:lang attribute has a value other than en), then the
      +character-map subset specified by the man.charmap.subset.profile
      +parameter is used instead of the full roff character map.
      +
      +Otherwise, if the lang or xml:lang attribute on the root element
      +in your DocBook source or on the first refentry element in your
      +source has the value en or if it has no lang or xml:lang
      +attribute, then the character-map subset specified by the
      +man.charmap.subset.profile.english parameter is used instead of
      +man.charmap.subset.profile.
      +
      +The difference between the two subsets is that
      +man.charmap.subset.profile provides mappings for characters in
      +Western European languages that are not part of the Roman
      +(English) alphabet (ASCII character set).
      +
    • +

      Michael(tm) Smith: other.xsl

      Various updates, mainly related to uppercasing SH titles:
      +
      +  - added a "Language: " metadata line to the top comment area of
      +    output man pages, to indicate the language the page is in
      +
      +  - added a "toupper" macro of doing locale-aware uppercasing of
      +    SH titles and cross-references to SH titles; the mechanism
      +    relies on the uppercase.alpha and lowercase.alpha DocBook
      +    gentext keys to do locale-aware uppercasing based on the
      +    language the page is written in
      +
      +  - added a "string.shuffle" template, which provides a library
      +    function for "shuffling" two strings together into a single
      +    string; it takes the first character for the first string, the
      +    first character from second string, etc. The only current use
      +    for it is to generate the argument for the groff tr request
      +    that does string uppercasing.
      +
      +  - added make.tr.uppercase.arg and make.tr.normalcase.arg named
      +    templates for use in generating groff code for uppercasing and
      +    "normal"-casing SH titles
      +
      +  - made the BB/BE "background drawing" macros have effect only in
      +    non-TTY output
      +
      +  - output a few comments in the top part of source
      +
    • +

      Michael(tm) Smith: utility.xsl

      removed some leftover kruft
      +
    • +

      Michael(tm) Smith: refentry.xsl

      To create the name(s) for each man page, we now replace any spaces
      +in the refname(s) with underscores. This ensures that tools like
      +lexgrog(1) will be able to parse the name (lexgrog won't parse
      +names that contain spaces).
      +
    • +

      Michael(tm) Smith: docbook.xsl

      Put a comment into source of man page to indicate where the main
      +content starts. (We now have a few of macro definitions at the
      +start of the source, so putting this comment in helps those that
      +might be viewing the source.)
      +
    • +

      Michael(tm) Smith: refentry.xsl

      refined mechanism for generating SH titles
      +
    • +

      Michael(tm) Smith: charmap.groff.xsl

      Added zcaron, Zcaron, scaron, and Scaron to the groff character map.
      +This means that generated Finnish man pages will no longer contain
      +any raw accented characters -- they'll instead by marked up with
      +groff escapes.
      +
    • +

      Michael(tm) Smith: other.xsl; utility.xsl

      corrected a regression I introduced about a year ago that caused
      +dots to be output just as "\." -- instead needs to be "\&." (which
      +is what it will be now, after this change)
      +
    • +

      Michael(tm) Smith: refentry.xsl

      Changed backend handling for generating titles for SH sections and
      +for cross-references to those sections. This should have no effect
      +on TTY output (behavior should remain the same hopefully) but
      +results in titles in normal case (instead of uppercase) in PS
      +output.
      +
    • +

      Michael(tm) Smith: info.xsl

      use make.subheading template to make subheadings for AUTHORS and
      +COPYRIGHT sections (instead of harcoding roff markup)
      +
    • +

      Michael(tm) Smith: block.xsl

      put code font around programlisting etc.
      +
    • +

      Michael(tm) Smith: synop.xsl; docbook.xsl

      embed custom macro definitions in man pages, plus wrap synopsis in
      +code font
      +
    • +

      Michael(tm) Smith: endnotes.xsl

      use the make.subheading template to generated SH subheading for
      +endnotes section.
      +
    • +

      Michael(tm) Smith: lists.xsl

      Added some templates for generating if-then-else conditional
      +markup in groff, so let's use those instead of hard-coding it in
      +multiple places...
      +
    • +

      Michael(tm) Smith: other.xsl; utility.xsl

      Initial checkin of some changes related to making PS/PDF output
      +from "man -l -Tps" look better. The current changes:
      +
      +  - render synopsis and verbatim sections in a monospace/code font
      +
      +  - put a light-grey background behind all programlisting, screen,
      +    and literallayout instances
      +
      +  - prevent SH heads in PS output from being rendered in uppercase
      +    (as they are in console output)
      +
      +  - also display xrefs to SH heads in PS output in normal case
      +    (instead of uppercase)
      +
      +  - draw a line under SH heads in PS output
      +
      +The changes made to the code to support the above features were:
      +
      +  - added some embedded/custom macros: one for conditionally
      +    upper-casing SH x-refs, one for redefining the SH macro
      +    itself, with some conditional handling for PS output, and
      +    finally a macro for putting a background/screen (filled box)
      +    around a block of text (e.g., a program listing) in PS output
      +
      +  - added utility templates for wrapping blocks of text in code
      +    font; also templates for inline code font
      +
    • +

      Robert Stayton: refentry.xsl

      refpurpose nodes now get apply-templates instead of just normalize-space().
      +
    • +

      Michael(tm) Smith: lists.xsl

      Fixed alignment of first lined of text for each listitem in
      +orderedlist output for TTY. Existing code seemed to have been
      +causing an extra undesirable space to appear.
      +
    • +

      Michael(tm) Smith: lists.xsl

      Wrapped some roff conditionals around roff markup for orderedlist
      +and itemizedlist output, so that the lists look acceptable in PS
      +output as well as TTY.
      +
    • +

      Michael(tm) Smith: pi.xsl; synop.xsl; param.xweb; param.ent

      Added the man.funcsynopsis.style parameter. Has the same effect in
      +manpages output as the funcsynopsis.style parameter has in HTML
      +output -- except that its default value is 'ansi' instead of 'kr'.
      +
    • +

      Michael(tm) Smith: synop.xsl

      Reworked handling of K&R funcprototype output. It no longer relies
      +on the HTML kr-tabular templates, but instead just does direct
      +transformation to roff. For K&R output, it displays the paramdef
      +output in an indented list following the prototype.
      +
    • +

      Michael(tm) Smith: synop.xsl

      Properly integrated handling for K&R output into manpages
      +stylesheet. The choice between K&R output and ANSI output is
      +currently controlled through use of the (HTML) funcsynopsis.style
      +parameter. Note that because the mechanism does currently rely on
      +funcsynopsis.style, the default in manpages output is now K&R
      +(because that's the default of that param). But I suppose I ought
      +to create a man.funcsynopsis.style and make the default for that
      +ANSI (to preserve the existing default behavior).
      +
    • +

      Michael(tm) Smith: docbook.xsl

      added manpages/pi.xsl file
      +
    • +

      Michael(tm) Smith: .cvsignore; pi.xsl

      Added "dbman funcsynopsis-style" PI and incorporated it into the
      +doc build.
      +
    • +

      Michael(tm) Smith: refentry.xsl

      Fixed regression that caused an unescaped dash to be output
      +between refname and refpurpose content. Closes bug #1894244.
      +Thanks to Daniel Leidert.
      +
    • +

      Michael(tm) Smith: other.xsl

      Fixed problem with dots being escaped in filenames of generated
      +man files. Closes #1827195. Thanks to Daniel Leidert.
      +
    • +

      Michael(tm) Smith: inline.xsl

      Added support for processing structfield (was appearing in roff
      +output surrounded by HTML <em> tags; fixed so that it gets roff
      +ital markup). Closes bug #1858329.  Thanks to Sam Varshavchik.
      +
    +
    + +

    Epub

    + +

    The following changes have been made to the + epub code + since the 1.73.2 release.

    +
    • Keith Fahlgren: bin/spec/README; bin/spec/epub_realbook_spec.rb

      'Realbook' spec now passes
    • Keith Fahlgren: bin/dbtoepub; README; bin/spec/README; bin/lib/docbook.rb; bin/spec/epub_r⋯

      Very primitive Windows support for dbtoepub reference implementation; README for running tests and for the .epub target in general; shorter realbook test document (still fails for now)
    • Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯

      Changes to OPF spine to not duplicate idrefs for documents with parts not at the root; regression specs for same
    • Keith Fahlgren: docbook.xsl

      Fixing linking to cover @id, distinct from other needs of cover-image-id (again, thanks to Martin Goerner)
    • Keith Fahlgren: docbook.xsl

      Updating the title of the toc element in the guide to be more explicit (thanks to Martin Goerner)
    • +

      Keith Fahlgren: bin/spec/examples/amasque_exploded/content.opf; bin/spec/examples/amasque_⋯

      Initial checkin/merge of epub target from work provided by Paul Norton of Adobe
      +and Keith Fahlgren of O'Reilly.
      +
    • +

      Keith Fahlgren: docbook.xsl

      == General epub test support
      +
      +$ spec -O ~/.spec.opts spec/epub_spec.rb 
      +
      +DocBook::Epub
      +- should be able to be created
      +- should fail on a nonexistent file
      +- should be able to render to a file
      +- should create a file after rendering
      +- should have the correct mimetype after rendering
      +- should be valid .epub after rendering an article
      +- should be valid .epub after rendering an article without sections
      +- should be valid .epub after rendering a book
      +- should be valid .epub after rendering a book even if it has one graphic
      +- should be valid .epub after rendering a book even if it has many graphics
      +- should be valid .epub after rendering a book even if it has many duplicated graphics
      +- should report an empty file as invalid
      +- should confirm that a valid .epub file is valid
      +- should not include PDFs in rendered epub files as valid image inclusions
      +- should include a TOC link in rendered epub files for <book>s
      +
      +Finished in 20.608395 seconds
      +
      +15 examples, 0 failures
      +
      +
      +== Verbose epub test coverage against _all_ of the testdocs 
      +
      +Fails on only (errors truncated):
      +1)
      +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/calloutlist.003.xml [30]' FAILED
      +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/cmdsynopsis.001.xml [35]' FAILED
      +....
      +
      +Finished in 629.89194 seconds
      +
      +224 examples, 15 failures
      +
      +224 examples, 15 failures yields 6% failure rate
      +
    +
    + +

    HTMLHelp

    + +

    The following changes have been made to the + htmlhelp code + since the 1.73.2 release.

    +
    • +

      Mauritz Jeanson: htmlhelp-common.xsl

      Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
      +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
      +This makes chunk.quietly=1 suppress chunk filename messages also for help 
      +support files (which seems to be what one would expect). See bug #1648360.
      +
    +
    + +

    Eclipse

    + +

    The following changes have been made to the + eclipse code + since the 1.73.2 release.

    +
    • +

      David Cramer: eclipse.xsl

      Use sortas attributes (if they exist) when sorting indexterms
      +
    • +

      David Cramer: eclipse.xsl

      Added support for indexterm/see in eclipse index.xml
      +
    • +

      Mauritz Jeanson: eclipse.xsl

      Added <xsl:with-param name="quiet" select="$chunk.quietly"/>
      +to helpidx template.
      +
    • +

      David Cramer: eclipse.xsl

      Generate index.xml file and add related goo to plugin.xml file. Does not yet support see and seealso.
      +
    • +

      Mauritz Jeanson: eclipse.xsl

      Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
      +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
      +This makes chunk.quietly=1 suppress chunk filename messages also for help 
      +support files (which seems to be what one would expect). See bug #1648360.
      +
    +
    + +

    JavaHelp

    + +

    The following changes have been made to the + javahelp code + since the 1.73.2 release.

    +
    • +

      Mauritz Jeanson: javahelp.xsl

      Added <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to
      +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates.
      +This makes chunk.quietly=1 suppress chunk filename messages also for help 
      +support files (which seems to be what one would expect). See bug #1648360.
      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.73.2 release.

    +
    • +

      Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl

      fix table/cell borders for wordml, fix formal figure, add emphasis-strong
      +
    • +

      Mauritz Jeanson: supported.xml

      Changed @cols to 5.
      +
    • +

      Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xml

      added pubdate, fixed metadata handling in biblioentry
      +
    • +

      Steve Ball: supported.xml

      Added support for edition.
      +
    • +

      Steve Ball: docbook-pages.xsl; wordml-blocks.xsl; docbook.xsl; wordml.xsl; pages-normalise⋯

      Removed stylesheets for old, deprecated conversion method.
      +
    • +

      Steve Ball: specifications.xml; dbk2ooo.xsl; blocks2dbk.xsl; dbk2pages.xsl; blocks2dbk.dtd⋯

      Added support for Open Office, added edition element, improved list and table support in Word and Pages
      +
    • +

      Steve Ball: normalise-common.xsl; blocks2dbk.xsl; dbk2pages.xsl; template-pages.xml; templ⋯

      Fixed bug in WordML table handling, improved table handling for Pages 08, synchronised WordML and Pages templates.
      +
    • +

      Steve Ball: normalise-common.xsl; blocks2dbk.xsl; wordml2normalise.xsl; dbk2wp.xsl

      fix caption, attributes
      +
    • +

      Steve Ball: specifications.xml; blocks2dbk.xsl; wordml2normalise.xsl; blocks2dbk.dtd; temp⋯

      Fixes to table and list handling
      +
    • +

      Steve Ball: blocks2dbk.xsl

      added support for explicit emphasis character styles
      +
    • +

      Steve Ball: wordml2normalise.xsl

      added support for customisation in image handling
      +
    • +

      Steve Ball: blocks2dbk.xsl

      Added inlinemediaobject support for metadata.
      +
    • +

      Steve Ball: normalise-common.xsl; blocks2dbk.xsl; template.xml; dbk2wordml.xsl; dbk2wp.xsl

      Added support file. Added style locking. Conversion bug fixes.
      +
    +
    + +

    Slides

    + +

    The following changes have been made to the + slides code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: fo/Makefile; html/Makefile

      Added checks and hacks to various makefiles to enable building
      +under Cygwin. This stuff is ugly and maybe not worth the mess and
      +trouble, but does seem to work as expected and not break anything
      +else.
      +
    • +

      Jirka Kosek: html/plain.xsl

      Added support for showing foil number
      +
    +
    + +

    Website

    + +

    The following changes have been made to the + website code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/xalan2/.classes/com/⋯

      renamed a bunch more .cvsignore files to .gitignore (to facilitate use of git-svn)
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.73.2 release.

    +
    • Keith Fahlgren: epub.autolabel.xml

      New parameter for epub, epub.autolabel
    • +

      Mauritz Jeanson: table.frame.border.color.xml; table.cell.padding.xml; table.cell.border.t⋯

      Added missing refpurposes and descriptions.
      +
    • +

      Keith Fahlgren: ade.extensions.xml

      Extensions to support Adobe Digital Editions extensions in .epub output.
      +
    • +

      Mauritz Jeanson: fop.extensions.xml; fop1.extensions.xml

      Clarified that fop1.extensions is for FOP 0.90 and later. Version 1 is not here yet...
      +
    • +

      Michael(tm) Smith: man.links.are.underlined.xml; man.endnotes.list.enabled.xml; man.font.l⋯

      removed man.links.are.underlined and added man.font.links. Also,
      +changed the default font formatting for links to bold.
      +
    • +

      Michael(tm) Smith: man.base.url.for.relative.links.xml

      Added new param man.base.url.for.relative.links .. specifies a
      +base URL for relative links (for ulink, @xlink:href, imagedata,
      +audiodata, videodata) shown in the generated NOTES section of
      +man-page output. The value of man.base.url.for.relative.links is
      +prepended to any relative URI that is a value of ulink url,
      +xlink:href, or fileref attribute.
      +
      +If you use relative URIs in link sources in your DocBook refentry
      +source, and you leave man.base.url.for.relative.links unset, the
      +relative links will appear "as is" in the NOTES section of any
      +man-page output generated from your source. That's probably not
      +what you want, because such relative links are only usable in the
      +context of HTML output. So, to make the links meaningful and
      +usable in the context of man-page output, set a value for
      +man.base.url.for.relative.links that points
      +to the online version of HTML output generated from your DocBook
      +refentry source. For example:
      +
      +  <xsl:param name="man.base.url.for.relative.links"
      +  >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param>
      +
    • +

      Michael(tm) Smith: man.string.subst.map.xml

      squeeze .sp\n.sp into a single .sp (to prevent a extra, spurious
      +line of whitespace from being inserted after programlisting etc.
      +in certain cases)
      +
    • +

      Michael(tm) Smith: refentry.manual.fallback.profile.xml; refentry.source.fallback.profile.⋯

      don't use refmiscinfo@class=date value as fallback for refentry
      +"source" or "manual" metadata fields
      +
    • +

      Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯

      made some further doc tweaks related to the
      +man.charmap.subset.profile.english param
      +
    • +

      Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯

      Added the man.charmap.subset.profile.english parameter and refined
      +the handling of charmap subsets to differentiate between English
      +and non-English source.
      +
      +This way charmap subsets are now handled is this:
      +
      +If the value of the man.charmap.use.subset parameter is non-zero,
      +and your DocBook source is not written in English (that is, if its
      +lang or xml:lang attribute has a value other than en), then the
      +character-map subset specified by the man.charmap.subset.profile
      +parameter is used instead of the full roff character map.
      +
      +Otherwise, if the lang or xml:lang attribute on the root element
      +in your DocBook source or on the first refentry element in your
      +source has the value en or if it has no lang or xml:lang
      +attribute, then the character-map subset specified by the
      +man.charmap.subset.profile.english parameter is used instead of
      +man.charmap.subset.profile.
      +
      +The difference between the two subsets is that
      +man.charmap.subset.profile provides mappings for characters in
      +Western European languages that are not part of the Roman
      +(English) alphabet (ASCII character set).
      +
    • +

      Michael(tm) Smith: man.charmap.subset.profile.xml

      Added to default charmap used by manpages:
      +
      +  - the "letters" part of the 'C1 Controls And Latin-1 Supplement
      +    (Latin-1 Supplement)' Unicode block
      +  - Latin Extended-A block (but not all of the characters from
      +    that block have mappings in groff, so some of them are still
      +    passed through as-is)
      +
      +The effects of this change are that in man pages generated for
      +most Western European languages and for Finnish, all characters
      +not part of the Roman alphabet are (e.g., "accented" characters)
      +are converted to groff escapes.
      +
      +Previously, by default we passed through those characters as is
      +(and users needed to use the full charmap if they wanted to have
      +those characters converted).
      +
      +As a result of this change, man pages generated for Western
      +European languages will be viewable in some environments in which
      +they are not viewable if the "raw" non-Roman characters are in them.
      +
    • +

      Mauritz Jeanson: generate.legalnotice.link.xml; generate.revhistory.link.xml

      Added information on how the filename is computed.
      +
    • +

      Mauritz Jeanson: default.table.width.xml

      Clarified PI usage.
      +
    • +

      Michael(tm) Smith: man.funcsynopsis.style.xml

      Added the man.funcsynopsis.style parameter. Has the same effect in
      +manpages output as the funcsynopsis.style parameter has in HTML
      +output -- except that its default value is 'ansi' instead of 'kr'.
      +
    • +

      Michael(tm) Smith: funcsynopsis.tabular.threshold.xml

      Removed the funcsynopsis.tabular.threshold param. It's no longer
      +being used in the code and hasn't been since mid 2006.
      +
    • +

      Mauritz Jeanson: table.properties.xml

      Set keep-together.within-column to "auto". This seems to be the most sensible
      +default value for tables.
      +
    • +

      Mauritz Jeanson: informal.object.properties.xml; admon.graphics.extension.xml; informalequ⋯

      Several small documentation fixes.
      +
    • +

      Mauritz Jeanson: manifest.in.base.dir.xml

      Wording fixes.
      +
    • +

      Mauritz Jeanson: header.content.properties.xml; footer.content.properties.xml

      Added refpurpose.
      +
    • +

      Mauritz Jeanson: ulink.footnotes.xml; ulink.show.xml

      Updated for DocBook 5.
      +
    • +

      Mauritz Jeanson: index.method.xml; glossterm.auto.link.xml

      Spelling and wording fixes.
      +
    • +

      Mauritz Jeanson: callout.graphics.extension.xml

      Clarifed available graphics formats and extensions.
      +
    • +

      Mauritz Jeanson: footnote.sep.leader.properties.xml

      Corrected refpurpose.
      +
    • +

      Jirka Kosek: footnote.properties.xml

      Added more properties which make it possible to render correctly footnotes placed inside verbatim elements.
      +
    • +

      Mauritz Jeanson: img.src.path.xml

      img.src.path works with inlinegraphic too.
      +
    • +

      Mauritz Jeanson: saxon.character.representation.xml

      Added TCG link.
      +
    • +

      Mauritz Jeanson: img.src.path.xml

      Updated description of img.src.path. Bug #1785224 revealed that 
      +there was a risk of misunderstanding how it works.
      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.73.2 release.

    +
    • +

      Jirka Kosek: xsl2profile.xsl

      Added new rules to profile all content generated by HTML Help (including alias files)
      +
    • +

      Robert Stayton: profile-mode.xsl

      use mode="profile" instead of xsl:copy-of for attributes so
      +they can be more easily customized.
      +
    +
    + + +

    Tools

    + +

    The following changes have been made to the + tools code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: make/Makefile.DocBook

      various changes and additions to support making with asciidoc as
      +an input format
      +
    • +

      Michael(tm) Smith: make/Makefile.DocBook

      make dblatex the default PDF maker for the example makefile
      +
    • +

      Michael(tm) Smith: xsl/build/html2roff.xsl

      Reworked handling of K&R funcprototype output. It no longer relies
      +on the HTML kr-tabular templates, but instead just does direct
      +transformation to roff. For K&R output, it displays the paramdef
      +output in an indented list following the prototype.
      +
    • +

      Mauritz Jeanson: xsl/build/make-xsl-params.xsl

      Made attribute-sets members of the param list. This enables links to attribute-sets in the
      +reference documentation.
      +
    • +

      Michael(tm) Smith: xsl/build/html2roff.xsl

      use .BI handling in K&R funsynopsis output for manpages, just as
      +we do already of ANSI output
      +
    • +

      Michael(tm) Smith: xsl/build/html2roff.xsl

      Implemented initial support for handling tabular K&R output of
      +funcprototype in manpages output. Accomplished by adding more
      +templates to the intermediate HTML-to-roff stylesheet that the
      +build uses to create the manpages/html-synop.xsl stylesheet.
      +
    • +

      Michael(tm) Smith: xsl/build/doc-link-docbook.xsl

      Made the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet
      +import profile-docbook.xsl, so that we can do profiling of release
      +notes. Corrected some problems in the target for the release-notes
      +HTML build.
      +
    +
    + +

    Extensions

    + +

    The following changes have been made to the + extensions code + since the 1.73.2 release.

    +
    • Keith Fahlgren: Makefile

      Use DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER
    • +

      Michael(tm) Smith: Makefile

      moved extensions build targets from master xsl/Makefile to
      +xsl/extensions/Makefile
      +
    • +

      Michael(tm) Smith: .cvsignore

      re-adding empty extensions subdir
      +
    +
    + +

    XSL-Saxon

    + +

    The following changes have been made to the + xsl-saxon code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: VERSION

      bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
      +recent change to snapshot build infrastructure
      +
    • +

      Michael(tm) Smith: nbproject/build-impl.xml; nbproject/project.properties

      Changed hard-coded file references in "clean" target to variable
      +references. Closes #1792043. Thanks to Daniel Leidert.
      +
    • +

      Michael(tm) Smith: VERSION; Makefile

      Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
      +
    • +

      Michael(tm) Smith: nbproject/build-impl.xml; VERSION; Makefile; test

      More tweaks to get release-ready
      +
    +
    + +

    XSL-Xalan

    + +

    The following changes have been made to the + xsl-xalan code + since the 1.73.2 release.

    +
    • +

      Michael(tm) Smith: VERSION

      bring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with
      +recent change to snapshot build infrastructure
      +
    • +

      Michael(tm) Smith: nbproject/build-impl.xml

      Changed hard-coded file references in "clean" target to variable
      +references. Closes #1792043. Thanks to Daniel Leidert.
      +
    • +

      Michael(tm) Smith: Makefile; VERSION

      Did post-release wrap-up of xsl-saxon and xsl-xalan dirs
      +
    • +

      Michael(tm) Smith: Makefile; nbproject/build-impl.xml; VERSION

      More tweaks to get release-ready
      +
    +
    + +

    XSL-libxslt

    + +

    The following changes have been made to the + xsl-libxslt code + since the 1.73.2 release.

    +
    • +

      Mauritz Jeanson: python/xslt.py

      Print the result to stdout if no outfile has been given.
      +Some unnecessary semicolons removed.
      +
    • +

      Mauritz Jeanson: python/xslt.py

      Added a function that quotes parameter values (to ensure that they are interpreted as strings).
      +Replaced deprecated functions from the string module with string methods.
      +
    • +

      Michael(tm) Smith: python/README; python/README.LIBXSLT

      renamed xsl-libxslt/python/README to xsl-libxslt/python/README.LIBXSLT
      +
    • +

      Mauritz Jeanson: python/README

      Tweaked the text a little.
      +
    +
    + +
    + +

    Release Notes: 1.73.2

    + +

    This is solely a minor bug-fix update to the 1.73.1 release. + It fixes a packaging error in the 1.73.1 package, as well as a + bug in footnote handling in FO output.

    +
    + +

    Release: 1.73.1

    + +

    This is mostly a bug-fix update to the 1.73.0 release.

    + +

    Gentext

    + +

    The following changes have been made to the + gentext code + since the 1.73.0 release.

    +
    • +

      Mauritz Jeanson: locale/de.xml

      Applied patch #1766009.
      +
    • +

      Michael(tm) Smith: locale/lv.xml

      Added localization for ProductionSet.
      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.73.0 release.

    +
    • +

      Mauritz Jeanson: table.xsl

      Modified the tgroup template so that, for tables with multiple tgroups, 
      +a width attribute is output on all corresponding fo:tables. Previously, 
      +there was a test prohibiting this (and a comment saying that outputting more
      +than one width attribute will cause an error). But this seems to be no longer 
      +relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559.
      +
    • +

      Mauritz Jeanson: graphics.xsl

      Replaced useless <a> elements with warning messages (textinsert extension).
      +
    • +

      Mauritz Jeanson: admon.xsl

      Enabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page
      +references in the index can be created. Closes bug #1775086.
      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.73.0 release.

    +
    • +

      Mauritz Jeanson: titlepage.xsl

      Added <xsl:call-template name="process.footnotes"/> to abstract template
      +so that footnotes in info/abstract are processed. Closes bug #1760907.
      +
    • +

      Michael(tm) Smith: pi.xsl; synop.xsl

      Changed handling of HTML output for the cmdsynopsis and
      +funcsynopsis elements, such that a@id instances are generated for
      +them if they are descendants of any element containing a dbcmdlist
      +or dbfunclist PI. Also, update the embedded reference docs for the
      +dbcmdlist and dbfunclist PIs to make it clear that they can be
      +used within any element for which cmdsynopsis or funcsynopsis are
      +valid children.
      +
    • +

      Michael(tm) Smith: formal.xsl

      Reverted the part of revision 6952 that caused a@id anchors to be
      +generated for output of informal objects. Thanks to Sam Steingold
      +for reporting.
      +
    • +

      Robert Stayton: glossary.xsl

      Account for a glossary with no glossdiv or glossentry children.
      +
    • +

      Mauritz Jeanson: titlepage.xsl

      Modified legalnotice template so that the base.name parameter is calculated 
      +in the same way as for revhistory chunks. Using <xsl:apply-templates 
      +mode="chunk-filename" select="."/> did not work for single-page output since
      +the template with that mode is in chunk-code.xsl.
      +
    • +

      Mauritz Jeanson: graphics.xsl

      Updated support for SVG (must be a child of imagedata in DB 5).
      +Added support for MathML in imagedata.
      +
    • +

      Mauritz Jeanson: pi.xsl

      Added documentation for the dbhh PI (used for context-sensitive HTML Help).
      +(The two templates matching 'dbhh' are still in htmlhelp-common.xsl).
      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.73.0 release.

    +
    • +

      Michael(tm) Smith: endnotes.xsl

      In manpages output, generate warnings about notesources with
      +non-para children only if the notesource is a footnote or
      +annotation. Thanks to Sam Steingold for reporting problems with
      +the existing handling.
      +
    +
    + +

    HTMLHelp

    + +

    The following changes have been made to the + htmlhelp code + since the 1.73.0 release.

    +
    • +

      Michael(tm) Smith: htmlhelp-common.xsl

      Added single-pass namespace-stripping support to the htmlhelp,
      +eclipse, and javahelp stylesheets.
      +
    +
    + +

    Eclipse

    + +

    The following changes have been made to the + eclipse code + since the 1.73.0 release.

    +
    • +

      Michael(tm) Smith: eclipse.xsl

      Added single-pass namespace-stripping support to the htmlhelp,
      +eclipse, and javahelp stylesheets.
      +
    +
    + +

    JavaHelp

    + +

    The following changes have been made to the + javahelp code + since the 1.73.0 release.

    +
    • +

      Michael(tm) Smith: javahelp.xsl

      Added single-pass namespace-stripping support to the htmlhelp,
      +eclipse, and javahelp stylesheets.
      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.73.0 release.

    +
    • +

      Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xsl

      Modularised blocks2dbk to allow customisation,
      +Added support for tables to pages2normalise
      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.73.0 release.

    +
    • +

      Robert Stayton: procedure.properties.xml

      procedure was inheriting keep-together from formal.object.properties, but
      +a procedure does not need to be kept together by default.
      +
    • +

      Dave Pawson: title.font.family.xml; component.label.includes.part.label.xml; table.frame.b⋯

      Regular formatting re-org.
      +
    +
    +
    + +

    Release: 1.73.0

    + +

    This release includes important bug fixes and adds the following +significant feature changes: +

    New localizations and localization updates
    +

    We added two new localizations: Latvian and + Esperanto, and made updates to the Czech, Chinese + Simplified, Mongolian, Serbian, Italian, and Ukrainian + localizations.

    +
    ISO690 citation style for bibliography output.
    +

    Set the + bibliography.style parameter to + iso690 to use ISO690 style.

    +
    New documentation for processing instructions (PI)
    +

    The reference documentation that ships with the + release now includes documentation on all PIs that you can use to + control output from the stylesheets.

    +
    New profiling parameters for audience and wordsize
    +

    You can now do profiling based on the values of the + audience and + wordsize attributes.

    +
    Changes to man-page output
    +

    The manpages stylesheet now supports single-pass + profiling and single-pass DocBook 5 namespace stripping + (just as the HTML and FO stylesheets also do). Also, added + handling for mediaobject & + inlinemediaobject. (Each imagedata, + audiodata, or videodata element + within a mediaobject or inline + mediaobject is now treated as a "notesource" + and so handled in much the same way as links and + annotation/alt/footnote + are in manpages output.) And added the + man.authors.section.enabled and + man.copyright.section.enabled + parameters to enable control over whether output includes + auto-generated AUTHORS and + COPYRIGHT sections.

    +
    Highlighting support for C
    +

    The highlighting mechanism for generating + syntax-highlighted code snippets in output now supports C + code listings (along with Java, PHP, XSLT, and others).

    +
    Experimental docbook-xsl-update script
    +

    We added an experimental docbook-xsl-update + script, the purpose of which is to facilitate + easy sync-up to the latest docbook-xsl snapshot (by means + of rsync).

    +

    +

    + +

    Gentext

    + +

    The following changes have been made to the +gentext code +since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: locale/lv.xml; Makefile

      Added Latvian localization file, from Girts Ziemelis.
      +
    • +

      Dongsheng Song: locale/zh_cn.xml

      Brought up to date with en.xml in terms of items. A few strings marked for translation.
      +
    • +

      Jirka Kosek: locale/cs.xml

      Added missing translations
      +
    • +

      Robert Stayton: locale/eo.xml

      New locale for Esperanto.
      +
    • +

      Robert Stayton: locale/mn.xml

      Update from Ganbold Tsagaankhuu.
      +
    • +

      Jirka Kosek: locale/en.xml; locale/cs.xml

      Rules for normalizing glossary entries before they are sorted can be now different for each language.
      +
    • +

      Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xml

      Committed changes from Miloš Komarčević to Serbian files.
      +
    • +

      Robert Stayton: locale/ja.xml

      Fix chapter in context xref-number-and-title
      +
    • +

      Robert Stayton: locale/it.xml

      Improved version from contributor.
      +
    • +

      Mauritz Jeanson: locale/uk.xml

      Applied patch 1592083.
      +
    +
    +

    Common

    + +

    The following changes have been made to the +common code +since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: labels.xsl

      Changed handling of reference auto-labeling such that reference
      +(when it appears at the component level) is now affected by the
      +label.from.part param, just as preface, chapter, and appendix.
      +
    • +

      Michael(tm) Smith: common.xsl

      Added support to the HTML stylesheets for proper processing of
      +orgname as a child of author.
      +
    • +

      Michael(tm) Smith: refentry.xsl

      Refined logging output of refentry metadata-gathering template;
      +for some cases of "missing" elements (refmiscinfo stuff, etc.),
      +the log messages now include URL to corresponding page in the
      +Definitive Guide (TDG).
      +
    • +

      Robert Stayton: titles.xsl

      Add refsection/info/title support.
      +
    • +

      Michael(tm) Smith: titles.xsl

      Added support for correct handling of xref to elements that
      +contain info/title descendants but no title children.
      +
      +This should be further refined so that it handles any *info
      +elements. And there are probably some other places where similar
      +handling for *info/title should be added.
      +
    • +

      Mauritz Jeanson: pi.xsl

      Modified <xsl:when> in datetime.format template to work
      +around Xalan bug.
      +
    +
    +

    FO

    + +

    The following changes have been made to the +fo code +since the 1.72.0 release.

    +
    • +

      Robert Stayton: component.xsl

      Add parameters to the page.sequence utility template.
      +
    • +

      Mauritz Jeanson: xref.xsl

      Added template for xref to area/areaset.
      +Part of fix for bug #1675513 (xref to area broken).
      +
    • +

      Michael(tm) Smith: inline.xsl

      Added template match for person element to fo stylesheet.
      +
    • +

      Robert Stayton: lists.xsl

      Added support for spacing="compact" in variablelist, per bug report #1722540.
      +
    • +

      Robert Stayton: table.xsl

      table pgwide="1" should also use pgwide.properties attribute-set.
      +
    • +

      Mauritz Jeanson: inline.xsl

      Make citations numbered if bibliography.numbered != 0.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add new profiling parameters for audience and wordsize.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Added callout.icon.size parameter.
      +
    • +

      Robert Stayton: inline.xsl; xref.xsl

      Add support for xlink as olink.
      +
    • +

      Robert Stayton: autotoc.xsl; param.xweb; param.ent

      Add support for qanda.in.toc to fo TOC.
      +
    • +

      Robert Stayton: component.xsl

      Improved the page.sequence utility template for use with book.
      +
    • +

      Robert Stayton: division.xsl

      Refactored the big book template into smaller pieces.
      +Used the "page.sequence" utility template in
      +component.xsl to shorten the toc piece.
      +Added placeholder templates for front.cover and back.cover.
      +
    • +

      Robert Stayton: param.xweb; param.ent; sections.xsl

      Add section.container.element parameter to enable
      +pgwide spans inside sections.
      +
    • +

      Robert Stayton: param.xweb; param.ent; component.xsl

      Add component.titlepage.properties attribute-set to
      +support span="all" and other properties.
      +
    • +

      Robert Stayton: htmltbl.xsl; table.xsl

      Apply table.row.properties template to html tr rows too.
      +Add keep-with-next to table.row.properties when row is in thead.
      +
    • +

      Robert Stayton: table.xsl

      Add support for default.table.frame parameter.
      +Fix bug 1575446 rowsep last check for @morerows.
      +
    • +

      Robert Stayton: refentry.xsl

      Add support for info/title in refsections.
      +
    • +

      David Cramer: qandaset.xsl

      Make fo questions and answers behave the same way as html
      +
    • +

      Jirka Kosek: lists.xsl

      Added missing attribute set for procedure
      +
    • +

      Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xsl

      Added support for formatting biblioentries according to ISO690 citation style.
      +New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
      +The code was provided by Jana Dvorakova
      +
    • +

      Robert Stayton: param.xweb; param.ent; pagesetup.xsl

      Add header.table.properties and footer.table.properties attribute-sets.
      +
    • +

      Robert Stayton: inline.xsl

      Add fop1.extensions for menuchoice arrow handling exception.
      +
    +
    +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.72.0 release.

    +
    • +

      Mauritz Jeanson: param.xweb; param.ent

      Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
      +regular "parameter machinery".
      +
    • +

      Michael(tm) Smith: admon.xsl

      Changed handling of titles for note, warning, caution, important,
      +tip admonitions: We now output and HTML h3 head only if
      +admon.textlabel is non-zero or if the admonition actually contains
      +a title; otherwise, we don't output an h3 head at all.
      +(Previously, we were outputting an empty h3 if the admon.textlabel
      +was zero and if the admonition had no title.)
      +
    • +

      Mauritz Jeanson: xref.xsl

      Added template for xref to area/areaset.
      +Part of fix for bug #1675513 (xref to area broken).
      +
    • +

      Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xsl

      Added fixes to avoid duplicate ids when generate.id.attributes = 1.
      +This (hopefully) closes bug #1671052.
      +
    • +

      Michael(tm) Smith: formal.xsl; pi.xsl

      Made the dbfunclist PI work as intended. Also added doc for
      +dbfunclist and dbcmdlist PIs.
      +
    • +

      Michael(tm) Smith: pi.xsl; synop.xsl

      Made the dbcmdlist work the way it appears to have been intended
      +to work. Restored dbhtml-dir template back to pi.xsl.
      +
    • +

      Michael(tm) Smith: titlepage.xsl; param.xweb; param.ent

      Added new param abstract.notitle.enabled.
      +If non-zero, in output of the abstract element on titlepages,
      +display of the abstract title is suppressed.
      +Because sometimes you really don't want or need that title
      +there...
      +
    • +

      Michael(tm) Smith: chunk-code.xsl; graphics.xsl

      When we are chunking long descriptions for mediaobject instances
      +into separate HTML output files, and use.id.as.filename is
      +non-zero, if a mediaobject has an ID, use that ID as the basename
      +for the long-description file (otherwise, we generate an ID for it
      +and use that ID as the basename for the file).
      +The parallels the recent change made to cause IDs for legalnotice
      +instances to be used as basenames for legalnotice chunks.
      +Also, made some minor refinements to the recent changes for
      +legalnotice chunk handling.
      +
    • +

      Michael(tm) Smith: titlepage.xsl

      Added support to the HTML stylesheets for proper processing of
      +orgname as a child of author.
      +
    • +

      Michael(tm) Smith: chunk-code.xsl

      When $generate.legalnotice.link is non-zero and
      +$use.id.as.filename is also non-zero, if a legalnotice has an ID,
      +then instead of assigning the "ln-<generatedID>" basename to the
      +output file for that legalnotice, just use its real ID as the
      +basename for the file -- as we do when chunking other elements
      +that have IDs.
      +
    • +

      David Cramer: xref.xsl

      Handle alt text on xrefs to steps when the step doesn't have a title.
      +
    • +

      David Cramer: lists.xsl

      Added <p> element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output
      +
    • +

      David Cramer: qandaset.xsl

      Added <p> element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output
      +
    • +

      David Cramer: lists.xsl

      Added <p> element around callouts to avoid misalignment of callout and listitem in xhtml (non-quirks mode) output
      +
    • +

      Mauritz Jeanson: inline.xsl

      Make citations numbered if bibliography.numbered != 0.
      +
    • +

      Robert Stayton: param.xweb; param.ent

      Add support for new profiling attributes audience and wordsize.
      +
    • +

      Robert Stayton: inline.xsl; xref.xsl

      Add support for xlink olinks.
      +
    • +

      Jirka Kosek: glossary.xsl

      Rules for normalizing glossary entries before they are sorted can be now different for each language.
      +
    • +

      Robert Stayton: chunk-common.xsl; chunk-code.xsl; manifest.xsl; chunk.xsl

      Refactored the chunking modules to move all named templates to
      +chunk-common.xsl and all match templates to chunk-code.xsl, in
      +order to enable better chunk customization.
      +See the comments in chunk.xsl for more details.
      +
    • +

      Robert Stayton: lists.xsl

      Add anchor for xml:id for listitem in varlistentry.
      +
    • +

      Robert Stayton: refentry.xsl

      Add support for info/title in refsections for db5.
      +
    • +

      Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xsl

      Added support for formatting biblioentries according to ISO690 citation style.
      +New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
      +The code was provided by Jana Dvorakova
      +
    • +

      Robert Stayton: inline.xsl; xref.xsl

      Add call to class.attribute to <a> output elements so they can
      +have a class value too.
      +
    • +

      Mauritz Jeanson: glossary.xsl

      Fixed bug #1644881:
      +* Added curly braces around all $language attribute values. 
      +* Moved declaration of language variable to top level of stylesheet.
      +Tested with Xalan, Saxon, and xsltproc.
      +
    +
    +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: param.xweb; docbook.xsl; param.ent

      Added the man.authors.section.enabled and
      +man.copyright.section.enabled parameters. Set those to zero when
      +you want to suppress display of the auto-generated AUTHORS and
      +COPYRIGHT sections. Closes request #1467806. Thanks to Daniel
      +Leidert.
      +
    • +

      Michael(tm) Smith: docbook.xsl

      Took the test that the manpages stylesheet does to see if there
      +are any Refentry chilren in current doc, and made it
      +namespace-agnostic. Reason for that is because the test otherwise
      +won't work when it is copied over into the generated
      +profile-docbook.xsl stylesheet.
      +
    • +

      Michael(tm) Smith: Makefile

      Added a manpages/profile-docbook.xsl file to enable single-pass
      +profiling for manpages output.
      +
    • +

      Michael(tm) Smith: info.xsl

      Output copyright and legalnotice in man-page output in whatever
      +place they are in in document order. Closes #1690539. Thanks to
      +Daniel Leidert for reporting.
      +
    • +

      Michael(tm) Smith: docbook.xsl

      Restored support for single-pass namespace stripping to manpages
      +stylesheet.
      +
    • +

      Michael(tm) Smith: synop.xsl; block.xsl; info.xsl; inline.xsl; lists.xsl; endnotes.xsl; ut⋯

      Changed handling of bold and italic/underline output in manpages
      +output. Should be transparent to users, but...
      +
      +This touches handling of all bold and italic/underline output. The
      +exact change is that the mode="bold" and mode="italic" utility
      +templates were changed to named templates. (I think maybe I've
      +changed it back and forth from mode to named before, so this is
      +maybe re-reverting it yet again).
      +
      +Anyway, the reason for the change is that the templates are
      +sometimes call on dynamically node-sets, and using modes to format
      +those doesn't allow passing info about the current/real context
      +node from the source (not the node-set created by the stylesheet)
      +to that formatting stage.
      +
      +The named templates allow the context to be passed in as a
      +parameter, so that the bold/ital formatting template can use
      +context-aware condition checking.
      +
      +This was basically necessary in order to suppress bold formatting
      +in titles, which otherwise gets screwed up because of the numbnut
      +way that roff handles nested bold/ital.
      +
      +Closes #1674534). Much thanks to Daniel Leidert, whose in his
      +docbook-xsl bug-finding kung-fu has achieved Grand Master status.
      +
    • +

      Michael(tm) Smith: block.xsl

      Fixed handling of example instances by adding the example element
      +to the same template we use for processing figure. Closes
      +#1674538. Thanks to Daniel Leidert.
      +
    • +

      Michael(tm) Smith: utility.xsl

      Don't include lang in manpages filename/pathname if lang=en (that
      +is, only generate lang-qualified file-/pathnames for non-English).
      +
    • +

      Michael(tm) Smith: endnotes.xsl

      In manpages output, emit warnings for notesources (footnote, etc.)
      +that have something other than para as a child.
      +
      +The numbered-with-hanging-indent formatting that's used for
      +rendering endnotes in the NOTES section of man pages places some
      +limits/assumptions on how the DocBook source is marked up; namely,
      +for notesources (footnote, annotation, etc.) that can contain
      +block-level children, if the they have a block-level child such as
      +a table or itemizedlist or orderedlist that is the first child of
      +a footnote, we have no way of rendering/indenting its content
      +properly in the endnotes list.
      +
      +Thus, the manpages stylesheet not emits a warning message for that
      +case, and suggests the "fix" (which is to wrap the table or
      +itemizedlist or whatever in a para that has some preferatory text.
      +
    • +

      Michael(tm) Smith: utility.xsl

      Added support to mixed-block template for handling tables in
      +mixed-blocks (e.g., as child of para) correctly.
      +
    • +

      Michael(tm) Smith: table.xsl; synop.xsl; block.xsl; info.xsl; lists.xsl; refentry.xsl; end⋯

      Reverted necessary escaping of backslash, dot, and dash
      +out of the well-intentioned (but it now appears,
      +misguided) "marker" mechanism (introduced in the 1.72.0
      +release) -- which made use of alternative "marker"
      +characters as internal representations of those
      +characters, and then replaced them just prior to
      +serialization -- and back into what's basically the
      +system that was used prior to the 1.69.0 release; that
      +is, into a part of stylesheet code that gets executed
      +at the beginning of processing -- before any other roff
      +markup up is. This change obviates the need for the
      +marker system. It also requires a lot less RAM during
      +processing (for large files, the marker mechanism
      +ending up requiring gigabytes of memory).
      +
      +Closes bug #1661177. Thanks to Scott Smedley for
      +providing a test case (the fvwm man page) that exposed
      +the problem with the marker mechanism.
      +
      +Also moved the mechanism for converting non-breaking
      +spaces back into the same area of the stylesheet code.
      +
    • +

      Michael(tm) Smith: lists.xsl

      Fixed problem with incorrect formatting of nested variablelist.
      +Closes bug #1650931. Thanks to Daniel "Eagle Eye" Leidert.
      +
    • +

      Michael(tm) Smith: lists.xsl

      Make sure that all listitems in itemizedlist and orderedlist are
      +preceded by a blank line. This fixes a regression that occurred
      +when instances of the TP macro that were use in a previous
      +versions of the list-handling code were switched to RS/RE (because
      +TP doesn't support nesting). TP automatically generates a blank
      +line, but RS doesn't. So I added a .sp before each .RS
      +
    • +

      Michael(tm) Smith: block.xsl; inline.xsl; param.xweb; docbook.xsl; links.xsl; param.ent

      Made a number of changes related to elements with
      +out-of-line content:
      +
      +- Added handling for mediaobject & inlinemediaobject.
      +  Each imagedata, audiodata, or videodata element
      +  within a mediaobject or inline mediaobject is now
      +  treated as a "notesource" and so handled in much the
      +  same way as links and annotation/alt/footnotes.
      +
      +  That means a numbered marker is generated inline to
      +  mark the place in the main flow where the imagedata,
      +  audiodata, or videodata element occurs, and a
      +  corresponding numbered endnote for it is generated in
      +  the endnotes list at the end of the man page; the
      +  endnote contains the URL from the fileref attribute
      +  of the imagedata, audiodata, or videodata element.
      +
      +  For mediobject and inlinemediaobject instances that
      +  have a textobject child, the textobject is displayed
      +  within the main text flow.
      +
      +- Renamed several man.link.* params to man.endnotes.*,
      +  to reflect that fact that the endnotes list now
      +  contains more than just links. Also did similar
      +  renaming for a number of stylesheet-internal vars.
      +
      +- Added support for xlink:href (along with existing
      +  support for the legacy ulink element).
      +
      +- Cleaned up and streamlined the endnotes-handling
      +  code. It's still messy and klunky and the basic
      +  mechanism it uses is very inefficent for documents
      +  that contain a lot of notesources, but at least it's
      +  a bit better than it was.
      +
    +
    +

    Eclipse

    + +

    The following changes have been made to the + eclipse code + since the 1.72.0 release.

    +
    • +

      Mauritz Jeanson: Makefile

      Fixed bug #1715093: Makefile for creating profiled version of eclipse.xsl added.
      +
    • +

      David Cramer: eclipse.xsl

      Added normalize-space around  to avoid leading whitespace from appearing in the output if there's extra leading whitespace (e.g. <title> Foo</title>) in the source
      +
    +
    +

    JavaHelp

    + +

    The following changes have been made to the + javahelp code + since the 1.72.0 release.

    +
    • +

      Mauritz Jeanson: javahelp.xsl

      Implemented FR #1230233 (sorted index in javahelp).
      +
    • +

      Mauritz Jeanson: javahelp.xsl

      Added normalize-space() around titles and index entries to work around whitespace problems.
      +Added support for glossary and bibliography in toc and map files.
      +
    +
    +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.72.0 release.

    +
    • +

      Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl; normalise2sections.xsl; sections2blocks.⋯

      new stylesheets for better word processor support and easier maintenance
      +
    • +

      Steve Ball: template-pages.xml; dbk2wp.xsl; sections-spec.xml

      fixed bugs
      +
    +
    +

    Params

    + +

    The following changes have been made to the + params code + since the 1.72.0 release.

    +
    • +

      Mauritz Jeanson: htmlhelp.button.back.xml; htmlhelp.button.forward.xml; htmlhelp.button.zo⋯

      Modified refpurpose text.
      +
    • +

      Mauritz Jeanson: htmlhelp.map.file.xml; htmlhelp.force.map.and.alias.xml; htmlhelp.alias.f⋯

      Fixed typos, made some small changes.
      +
    • +

      Mauritz Jeanson: javahelp.encoding.xml

      Moved declaration and documentation of javahelp.encoding from javahelp.xsl to the
      +regular "parameter machinery".
      +
    • +

      Mauritz Jeanson: generate.id.attributes.xml

      Added refpurpose text.
      +
    • +

      Mauritz Jeanson: annotation.js.xml; annotation.graphic.open.xml; annotation.graphic.close.⋯

      Added better refpurpose texts.
      +
    • +

      Michael(tm) Smith: chunker.output.cdata-section-elements.xml; chunker.output.standalone.xm⋯

      Fixed some broken formatting in source files for chunker.* params,
      +as pointed out by Dave Pawson.
      +
    • +

      Michael(tm) Smith: label.from.part.xml

      Changed handling of reference auto-labeling such that reference
      +(when it appears at the component level) is now affected by the
      +label.from.part param, just as preface, chapter, and appendix.
      +
    • +

      Mauritz Jeanson: callout.graphics.extension.xml

      Clarified that 'extension' refers to file names.
      +
    • +

      Michael(tm) Smith: abstract.notitle.enabled.xml

      Added new param abstract.notitle.enabled.
      +If non-zero, in output of the abstract element on titlepages,
      +display of the abstract title is suppressed.
      +Because sometimes you really don't want or need that title
      +there...
      +
    • +

      Michael(tm) Smith: man.string.subst.map.xml

      Updated manpages string-substitute map to reflect fact that
      +because of another recent change to suppress bold markup in .SH
      +output, we no longer need to add a workaround for the accidental
      +uppercasing of roff escapes that occurred previously.
      +
    • +

      Jirka Kosek: margin.note.float.type.xml; title.font.family.xml; table.frame.border.color.x⋯

      Improved parameter metadata
      +
    • +

      Robert Stayton: profile.wordsize.xml; profile.audience.xml

      Add support for profiling on new attributes audience and wordsize.
      +
    • +

      Robert Stayton: callout.graphics.number.limit.xml; callout.graphics.extension.xml

      Added SVG graphics for fo output.
      +
    • +

      Robert Stayton: callout.icon.size.xml

      Set size of callout graphics.
      +
    • +

      Jirka Kosek: default.units.xml; chunker.output.method.xml; toc.list.type.xml; output.inden⋯

      Updated parameter metadata to the new format.
      +
    • +

      Jirka Kosek: man.output.quietly.xml; title.font.family.xml; footnote.sep.leader.properties⋯

      Added type annotations into parameter definition files.
      +
    • +

      Robert Stayton: section.container.element.xml

      Support spans in sections for certain processors.
      +
    • +

      Robert Stayton: component.titlepage.properties.xml

      Empty attribute set for top level component titlepage block.
      +Allows setting a span on title info.
      +
    • +

      Jirka Kosek: bibliography.style.xml

      Added link to WiKi page with description of special markup needed for ISO690 biblioentries
      +
    • +

      Robert Stayton: make.year.ranges.xml

      Clarify that multiple year elements are required.
      +
    • +

      Robert Stayton: id.warnings.xml

      Turn off id.warnings by default.
      +
    • +

      Jirka Kosek: bibliography.style.xml

      Added support for formatting biblioentries according to ISO690 citation style.
      +New bibliography style can be turned on by setting parameter bibliography.style to "iso690"
      +The code was provided by Jana Dvorakova
      +
    • +

      Robert Stayton: header.table.properties.xml; footer.table.properties.xml

      Support adding table properties to header and footer tables.
      +
    +
    +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.72.0 release.

    +
    • +

      Jirka Kosek: c-hl.xml; xslthl-config.xml

      Added support for C language. Provided by Bruno Guegan.
      +
    +
    +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.72.0 release.

    +
    • +

      Robert Stayton: profile-mode.xsl

      Add support for new profiling attributes audience and wordsize.
      +
    +
    +

    Lib

    + +

    The following changes have been made to the + lib code + since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: lib.xweb

      Changed name of prepend-pad template to pad-string and twheeked so
      +it can do both right/left padding.
      +
    +
    +

    Tools

    + +

    The following changes have been made to the + tools code + since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: bin; bin/docbook-xsl-update

      Did some cleanup to the install.sh source and added a
      +docbook-xsl-update script to the docbook-xsl distro, the purpose
      +of which is to facilitate easy sync-up to the latest docbook-xsl
      +snapshot (by means of rsync).
      +
    +
    +

    XSL-Saxon

    + +

    The following changes have been made to the + xsl-saxon code + since the 1.72.0 release.

    +
    • +

      Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯

      Added modifications so that the new callout.icon.size parameter is taken into account. This 
      +parameter is used for FO output (where SVG now is the default graphics format for callouts).
      +
    • +

      Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯

      Added code for generating id attributes on callouts in HTML and FO output.
      +These patches enable cross-references to callouts placed by area coordinates.
      +It works for graphic, unicode and text callouts. 
      +Part of fix for bug #1675513 (xref to area broken).
      +
    • +

      Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯

      Copied over Website XSL Java extensions.
      +
    +
    +

    XSL-Xalan

    + +

    The following changes have been made to the + xsl-xalan code + since the 1.72.0 release.

    +
    • +

      Michael(tm) Smith: Makefile; xalan2

      Turned off xalan2.jar build. This removes DocBook XSL
      +Java extensions support for versions of Xalan prior to
      +Xalan 2.7. If you are currently using the extensions
      +with an earlier version of Xalan, you need to upgrade
      +to Xalan 2.7.
      +
    • +

      Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯

      Added modifications so that the new callout.icon.size parameter is taken into account. This 
      +parameter is used for FO output (where SVG now is the default graphics format for callouts).
      +
    • +

      Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯

      Added code for generating id attributes on callouts in HTML and FO output.
      +These patches enable cross-references to callouts placed by area coordinates.
      +It works for graphic, unicode and text callouts. 
      +Part of fix for bug #1675513 (xref to area broken).
      +
    • +

      Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯

      Copied over Website XSL Java extensions.
      +
    +
    +
    + +

    Release: 1.72.0

    + +

    This release includes important bug fixes and adds the following +significant feature changes: +

    Automatic sorting of glossary entries
    +

    The HTML and FO stylesheets now support automatic sorting + of glossary entries. To enable glossary sorting, set + the value of the glossary.sort parameter + to 1 (by default, it’s value is + 0). When you enable glossary sorting, + glossentry elements within a glossary, + glossdiv, or glosslist are sorted on the + glossterm, using the current language setting. If you + don’t enable glossary sorting, then the order of + glossentry elements is left “as is” — that is, they + are not sorted but are instead just displayed in document + order.

    +
    WordML renamed to Roundtrip, OpenOffice support added
    +

    Stylesheets for “roundtrip” conversion between documents in + OpenOffice format (ODF) and DocBook XML have been added to the set + of stylesheets that formerly had the collective title + WordML, and that set of stylesheets has + been renamed to Roundtrip to better + reflect the actual scope and purpose of its contents.

    +

    So the DocBook XSL Stylesheets now support roundtrip + conversion (with certain limitations) of WordML, OpenOffice, and + Apple Pages documents to and from DocBook XML.

    +
    Including QandASet questions in TOCs
    +

    The HTML stylesheet now provides support for including + QandASet questions in the document TOC. To + enable display of questions in the document TOC, set + the value of the qanda.in.toc to + 1 (by default, it’s 0). When you + enable qanda.in.toc, then the generated + table of contents for a document will include + qandaset titles, qandadiv titles, and + question elements. The default value of zero + excludes them from the TOC. +

    Note

    +

    The qanda.in.toc parameter does + not affect any tables of contents that may be generated + within a qandaset or + qandadiv (only in the document TOC).

    +

    +

    +
    Language identifier in man-page filenames and pathnames
    +

    Added new parameter man.output.lang.in.name.enabled, which controls whether + a language identifier is included in man-page filenames and + pathnames. It works like this:

    + +

    If the value of man.output.lang.in.name.enabled is non-zero, + man-page files are output with a language identifier included in + their filenames or pathnames as follows:

    + +
    + +
    index.page.number.properties property set
    +

    For FO output, use the + index.page.number.properties to control + formatting of page numbers in index output — to (for + example) to display page numbers in index output in a + different color (to indicate that they are links).

    +
    Crop marks in output from Antenna House XSL Formatter
    +

    Support has been added for generating crop marks in + print/PDF output generated using Antenna House XSL Formatter

    +
    More string-substitution hooks in manpages output
    +

    The man.string.subst.map.local.pre + and man.string.subst.map.local.post + parameters have been added to enable easier control over + custom string substitutions.

    +
    Moved verbatim properties to attribute-set
    +

    The hardcoded properties used in verbatim elements (literallayout, + programlisting, screen) were moved to the verbatim.properties + attribute-set so they can be more easily customized.

    +
    enhanced simple.xlink template
    +

    Now the simple.xlink template in inline.xsl works with + cross reference elements xref and link as well. Also, more elements + call simple.xlink, which enables DB5 xlink functionality. +

    +
    DocBook 5 compatibility
    +

    Stylesheets now consistently support DocBook 5 attributes + (such as xml:id). Also, DocBook 5 info elements are now checked + along with other *info elements, and the use of name() function + was replaced by local-name() so it also matches on DocBook 5 elements. + These changes enable reusing the stylesheets with DocBook 5 + documents with minimal fixup. +

    +
    HTML class attributes now handled in class.attribute mode
    +

    The HTML class attributes were formerly hardcoded to the + element name. Now the class attribute is generated by applying + templates in class.attribute mode so class attribute names + can be customized. The default is still the element name.

    +
    arabic-indic numbering enabled in autolabels
    +

    Numbering of chapter, sections, and pages can now use + arabic-indic numbering when number format is set to 'arabicindic' or + to ١.

    +

    +The following is a detailed list of changes (not +including bug fixes) that have been made since the 1.71.1 +release.

    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.71.1 release.

    +
    • +

      Add support for arabicindic numbering to autolabel.format template.

      +
    • +

      Finish support for @xml:id everywhere @id is used.

      +
    • +

      replace name() with local-name() in most cases.

      +
    • +

      Add support for info.

      +
    • +

      Add utility template tabstyle to return the tabstyle from
      +any table element.

      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.71.1 release.

    +
    • +

      Add support for sorting glossary entries

      +
    • +

      Add table.row.properties template to customize table rows.

      +
    • +

      Moved all properties to attribute-sets so can be customized more easily.

      +
    • +

      Add index.page.number.properties attribute-set to format page numbers.

      +
    • +

      xref now supports xlink:href, using simple.xlink template.

      +
    • +

      Rewrote simple.xlink, and call it with all charseq templates.

      +
    • +

      Add simple.xlink processing to term and member elements.

      +
    • +

      Add support for crop marks in Antenna House.

      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.71.1 release.

    +
    • +

      Add support for sorting glossary entries

      +
    • +

      Add support for qanda.in.toc to add qandaentry questions to document TOC.

      +
    • +

      add simple.xlink support to variablelist term and simplelist member.

      +
    • +

      *.propagates.style now handled in class.attribute mode.

      +
    • +

      add class parameter to class.attribute mode to set default class.

      +
    • +

      Convert all class attributes to use the class.attribute mode
      +so class names can be customized more easily.

      +
    • +

      Add class.attribute mode to generate class attributes.

      +
    • +

      Added simple.xlink to most remaining inlines.
      +Changed class attributes to applying class.attributes mode.

      +
    • +

      Changed xref template to use simple.xlink tempalte.

      +
    • +

      Improve generate.html.title to work with link targets too.

      +
    • +

      Improved simple.xlink to support link and xref.

      +
    • +

      Use new link.title.attribute now.

      +
    • +

      Rewrote simple.xlink to handle linkend also.
      +Better computation of title attribute on link too.

      +
    • +

      Handle Xalan quirk as special case.

      +
    • +

      Add support for info.

      +
    • +

      Fixed imagemaps so they work properly going from calspair coords
      +to HTML area coords.

      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.71.1 release.

    +
    • +

      Added doc for man.output.lang.in.name.enabled parameter. This
      +checkin completes support for writing file/pathnames for man-pages
      +with $lang include in the names. Closes #1585967. knightly
      +accolades to Daniel Leidert for providing the feature request.

      +
    • +

      Added new param man.output.lang.in.name.enabled, which
      +controls whether $LANG value is included in manpages
      +filenames and pathnames. It works like this:
      +
      +If the value of man.output.lang.in.name.enabled is non-zero,
      +man-page files are output with the $lang value included in
      +their filenames or pathnames as follows;
      +
      +- if man.output.subdirs.enabled is non-zero, each file is
      +  output to, e.g., a /$lang/man8/foo.8 pathname
      +
      +- if man.output.subdirs.enabled is zero, each file is output
      +  with a foo.$lang.8 filename

      +
    • +

      Use "\e" instead of "\\" for backslash output, because the
      +groff docs say that's the correct thing to do; also because
      +testing (thanks, Paul Dubois) shows that "\\" doesn't always
      +work as expected; for example, "\\" within a table seems to
      +mess things up.

      +
    • +

      Added the man.string.subst.map.local.pre and
      +man.string.subst.map.local.post parameters. Those parameters
      +enable local additions and changes to string-substitution mappings
      +without the need to change the value of man.string.subst.map
      +parameter (which is for standard system mappings). Closes
      +#1456738. Thanks to Sam Steingold for constructing a true
      +stylesheet torture test (the clisp docs) that exposed the need for
      +these params.

      +
    • +

      Added the Markup element to the list of elements that get output
      +in bold. Thanks to Eric S. Raymond.

      +
    • +

      Replaced all dots in roff requests with U+2302 ("house"
      +character), and added escaping in output for all instances of dot
      +that are not in roff requests. This fixes the problem case where a
      +string beginning with a dot (for example, the string ".bashrc")
      +might occur at the beginning of a line in output, in which case 
      +would mistakenly get interpreted as a roff request. Thanks to Eric
      +S. Raymond for pushing to fix this.

      +
    • +

      Made change to ensure that list content nested in
      +itemizedlist and orderedlist instances is properly indented. This
      +is a switch from using .TP to format those lists to using .RS/.RE
      +to format them instead (because .TP does not allow nesting). Closes bug #1602616.
      +Thanks to Daniel Leidert.

      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.71.1 release.

    +
    • +

      Added doc for man.output.lang.in.name.enabled parameter. This
      +checkin completes support for writing file/pathnames for man-pages
      +with $lang include in the names. Closes #1585967. knightly
      +accolades to Daniel Leidert for providing the feature request.

      +
    • +

      Added new param man.output.lang.in.name.enabled, which
      +controls whether $LANG value is included in manpages
      +filenames and pathnames. It works like this:
      +
      +If the value of man.output.lang.in.name.enabled is non-zero,
      +man-page files are output with the $lang value included in
      +their filenames or pathnames as follows;
      +
      +- if man.output.subdirs.enabled is non-zero, each file is
      +  output to, e.g., a /$lang/man8/foo.8 pathname
      +
      +- if man.output.subdirs.enabled is zero, each file is output
      +  with a foo.$lang.8 filename

      +
    • +

      Added the man.string.subst.map.local.pre and
      +man.string.subst.map.local.post parameters. Those parameters
      +enable local additions and changes to string-substitution mappings
      +without the need to change the value of man.string.subst.map
      +parameter (which is for standard system mappings). Closes
      +#1456738. Thanks to Sam Steingold for constructing a true
      +stylesheet torture test (the clisp docs) that exposed the need for
      +these params.

      +
    • +

      Add index.page.number.properties by default.

      +
    • +

      Added index.page.number.properties to allow customizations of page numbers in indexes.

      +
    • +

      Move show-destination="replace" property from template to attribute-set
      +so it can be customized.

      +
    • +

      Add support for sorting glossary entries

      +
    • +

      Add option to include qanda in tables of contents.

      +
    • +

      Moved all properties to attribute-sets so can be customized more easily.

      +
    +
    + +

    Template

    + +

    The following changes have been made to the + template code + since the 1.71.1 release.

    +
    • +

      Added workaround for Xalan bug: use for-each and copy instead of copy-of (#1604770).

      +
    +
    + +

    Roundtrip

    + +

    The following changes have been made to the + roundtrip code + since the 1.71.1 release.

    +
    • +

      rename to roundtrip, add OpenOffice support

      +
    +
    +
    + +

    Release: 1.71.1

    + +

    This is a minor update to the 1.71.0 release. Along with a +number of bug fixes, it includes two feature changes: + +

    • +

      Added support for profiling based on xml:lang and status attributes.

      +
    • +

      Added initial support in manpages output for + footnote, annotation, and alt + instances. Basically, they all now get handled the same way + ulink instances are. They are treated as a class as + "note sources": A numbered marker is generated at the place in the + main text flow where they occur, then their contents are displayed + in an endnotes section at the end of the man page.

      +

    +

    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.71.1 release.

    +
    • +

      For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.

      +
    • +

      Add support for Xalan generating a root xml:base like saxon.

      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.71.1 release.

    +
    • +

      For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.

      +
    • +

      Add support for Xalan to add root node xml:base for db5 docs.

      +
    • +

      Added support for profiling based on xml:lang and status attributes.

      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.71.1 release.

    +
    • +

      For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.

      +
    • +

      Add support for Xalan to add root node xml:base for db5 docs.

      +
    • +

      Added support for profiling based on xml:lang and status attributes.

      +
    • +

      Made changes in namespace declarations to prevent xmllint's
      +canonicalizer from treating them as relative namespace URIs.
      +
      +  - Changed xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
      +    to xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService";
      +    Saxon accepts either form
      +    (see http://www.saxonica.com/documentation/extensibility/functions.html);
      +    to Saxon, "the part of the URI before the final '/' is immaterial".
      +
      +  - Changed, e.g. xmlns:xverb="com.nwalsh.xalan.Verbatim" to
      +    xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"; Xalan accepts
      +    either form
      +    (see http://xml.apache.org/xalan-j/extensions.html#java-namespace-declare);
      +    just as Saxon does, it will "simply use the string to the
      +    right of the rightmost forward slash as the Java class name".
      +
      +  - Changed xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect"
      +    to xmlns:redirect="http://xml.apache.org/xalan/redirect", and
      +    adjusted associated code to make the current Xalan redirect spec.
      +    (see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html)

      +
    • +

      Added the html.append and chunk.append parameters. By default, the
      +value of both is empty; but the internal DocBook XSL stylesheets
      +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order
      +to ensure that all files in the docbook-xsl-doc package end in a
      +newline character. (Because diff and some other tools may emit
      +error messages and/or not behave as expected when processing
      +files that are not newline-terminated.)

      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.71.1 release.

    +
    • +

      Added license information

      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.71.1 release.

    +
    • +

      Added initial support in manpages output for footnoteannotation,
      +and alt instances. Basically, they all now get handled the same
      +way ulink instances are. They are treated as a class as "note
      +sources": A numbered marker is generated at the place in the main
      +text flow where they occur, then their contents are displayed in
      +an endnotes section at the end of the man page (currently titled
      +REFERENCES, for English output, but will be changed to NOTES).
      +
      +This support is not yet complete. It works for most "normal"
      +cases, but probably mishandles a good number of cases. More
      +testing will be needed to expose the problems. It may well also
      +introduce some bugs and regressions in other areas, including
      +basic paragraph handling, handling of "mixed block" content,
      +handling of other indented content, and handling of authorblurb
      +and personblurb in the AUTHORS section.

      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.71.1 release.

    +
    • +

      Added support for profiling based on xml:lang and status attributes.

      +
    • +

      Added the html.append and chunk.append parameters. By default, the
      +value of both is empty; but the internal DocBook XSL stylesheets
      +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order
      +to ensure that all files in the docbook-xsl-doc package end in a
      +newline character. (Because diff and some other tools may emit
      +error messages and/or not behave as expected when processing
      +files that are not newline-terminated.)

      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.71.1 release.

    +
    • +

      Added support for profiling based on xml:lang and status attributes.

      +
    +
    + +
    + +

    Release: 1.71.0

    + +

    This is mainly a bug fix release, but it also includes two +significant feature changes: +

    Highlighting support added
    +

    The stylesheets now include support for source-code + highlighting in output of programlisting instances (controlled + through the highlight.source + parameter). The Java-based implementation requires Saxon and + makes use of Michal Molhanec’s XSLTHL. More details are available at Jirka Kosek’s + website:

    The support is currently limited to highlighting + of XML, Java, PHP, Delphi, Modula-2 sources, and INI + files.

    +
    Changes to autoindexing
    +

    The templates that handle alternative indexing methods + were reworked to avoid errors produced by certain processors not + being able to tolerate the presence of unused functions. With + this release, none of the code for the 'kimber' or 'kosek' + methods is included in the default stylesheets. In order to use + one of those methods, your customization layer must import one + of the optional stylesheet modules:

    +

    +

    • + html/autoidx-kosek.xsl +
    • + html/autoidx-kimber.xsl +
    • + fo/autoidx-kosek.xsl +
    • + fo/autoidx-kimber.xsl +

    + See the index.method parameter + reference page for more information. +

    +

    Two other changes to note: +

    • + The default indexing method now can handle accented + characters in latin-based alphabets, not just English. This + means accented latin letters will group and sort with their + unaccented counterpart. +
    • + The default value for the + index.method parameter was changed + from 'english' to 'basic' because now the default method can + handle latin-based alphabets, not just English. +

    +

    +

    +The following is a list of changes that have +been made since the 1.70.1 release.

    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.70.1 release.

    +
    • +

      Added reference.autolabel parameter for controlling labels on
      +reference output.

      +
    • +

      Support rows that are *completely* overlapped by the preceding row

      +
    • +

      New modules for supporting indexing extensions.

      +
    • +

      Support startinglinenumber on orderedlist

      +
    +
    + +

    Extensions

    + +

    The following changes have been made to the + extensions code + since the 1.70.1 release.

    +
    • +

      Completely reworked extensions build system; now uses NetBeans and ant

      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.70.1 release.

    +
    • +

      xsl:sort lang attribute now uses two-char substring of lang attribute.

      +
    • +

      Support titlecase "Java", "Perl", and "IDL" as values for the
      +language attribute on classsynopsis, etc. (instead of just
      +lowercase "java", "perl", and "idl"). Also support "c++" and "C++"
      +(instead of just "cpp").
      +
      +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks
      +to "Brian A. Vanderburg II".

      +
    • +

      Added support for the reference.autolabel param in (X)HTML and FO
      +output.

      +
    • +

      Support rows that are *completely* overlapped by the preceding row

      +
    • +

      Rearranged templates for the 3 indexing methods
      +and changed method named 'english' to 'basic'.

      +
    • +

      New modules for supporting indexing extensions.

      +
    • +

      Turn off blank-body for fop1.extensions too since fop 0.92
      +does not support it either.

      +
    • +

      Add Xalan variant to test for exslt:node-set function.
      +Xalan can use function named node-set(), but doesn't
      +recognize it using function-available().

      +
    • +

      Added support to FO stylesheets for handling instances of Org
      +where it occurs outside of *info content. In HTML stylesheets,
      +moved handling of Org out of info.xsl and into inline.xsl. In both
      +FO and HTML stylesheets, added support for correctly processing
      +Affiliation and Jobtitle.

      +
    • +

      Don't output punctuation between Refname and Refpurpose if
      +Refpurpose is empty. Also corrected handling of Refsect2/title
      +instances, and removed some debugging stuff that was generated in
      +manpages output to mark the ends of sections.

      +
    • +

      Added new email.delimiters.enabled param. If non-zero (the
      +default), delimiters are generated around e-mail addresses (output
      +of the email element). If zero, the delimiters are suppressed.

      +
    • +

      Initial support of syntax highlighting of programlistings.

      +
    • +

      Chapter after preface should restart numbering of pages.

      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.70.1 release.

    +
    • +

      xsl:sort lang attribute now uses two-char substring of lang attribute.

      +
    • +

      Support titlecase "Java", "Perl", and "IDL" as values for the
      +language attribute on classsynopsis, etc. (instead of just
      +lowercase "java", "perl", and "idl"). Also support "c++" and "C++"
      +(instead of just "cpp").
      +
      +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks
      +to "Brian A. Vanderburg II".

      +
    • +

      Added support for the reference.autolabel param in (X)HTML and FO
      +output.

      +
    • +

      Support rows that are *completely* overlapped by the preceding row

      +
    • +

      Rearranged templates for the 3 indexing methods
      +and changed method named 'english' to 'basic'.

      +
    • +

      New modules for supporting indexing extensions.

      +
    • +

      Added several new HTML parameters for controlling appearance of
      +content on HTML title pages:
      +
      +contrib.inline.enabled:
      +  If non-zero (the default), output of the contrib element is
      +  displayed as inline content rather than as block content.
      +
      +othercredit.like.author.enabled:
      +  If non-zero, output of the othercredit element on titlepages is
      +  displayed in the same style as author and editor output. If zero
      +  (the default), othercredit output is displayed using a style
      +  different than that of author and editor.
      +
      +blurb.on.titlepage.enabled:
      +  If non-zero, output from authorblurb and personblurb elements is
      +  displayed on title pages. If zero (the default), output from
      +  those elements is suppressed on title pages (unless you are
      +  using a titlepage customization that causes them to be included).
      +
      +editedby.enabled
      +  If non-zero (the default), a localized Edited by heading is
      +  displayed above editor names in output of the editor element.

      +
    • +

      Add Xalan variant to test for exslt:node-set function.
      +Xalan can use function named node-set(), but doesn't
      +recognize it using function-available().

      +
    • +

      Added support to FO stylesheets for handling instances of Org
      +where it occurs outside of *info content. In HTML stylesheets,
      +moved handling of Org out of info.xsl and into inline.xsl. In both
      +FO and HTML stylesheets, added support for correctly processing
      +Affiliation and Jobtitle.

      +
    • +

      Don't output punctuation between Refname and Refpurpose if
      +Refpurpose is empty. Also corrected handling of Refsect2/title
      +instances, and removed some debugging stuff that was generated in
      +manpages output to mark the ends of sections.

      +
    • +

      Added new email.delimiters.enabled param. If non-zero (the
      +default), delimiters are generated around e-mail addresses (output
      +of the email element). If zero, the delimiters are suppressed.

      +
    • +

      Added qanda.nested.in.toc param. Default value is zero. If
      +non-zero, instances of "nested" Qandaentry (ones that are children
      +of Answer elements) are displayed in the TOC. Closes patch 1509018
      +(from Daniel Leidert). Currently on affects HTML output (no patch
      +for FO output provided).

      +
    • +

      Improved handling of relative locations generated files

      +
    • +

      Initial support of syntax highlighting of programlistings.

      +
    • +

      Support org

      +
    • +

      Support person

      +
    • +

      Support $keep.relative.image.uris also when chunking

      +
    +
    + +

    Highlighting

    + +

    The following changes have been made to the + highlighting code + since the 1.70.1 release.

    +
    • +

      Initial support of syntax highlighting of programlistings.

      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.70.1 release.

    +
    • +

      Suppress footnote markers and output warning that footnotes are
      +not yet supported.

      +
    • +

      Handle instances of address/otheraddr/ulink in author et al in the
      +same way as email instances; that is, display them on the same
      +linke as the authoreditor, etc., name.

      +
    • +

      Don't number or link-list any Ulink instance whose string value is
      +identical to the value of its url attribute. Just display it inline.

      +
    • +

      Don't output punctuation between Refname and Refpurpose if
      +Refpurpose is empty. Also corrected handling of Refsect2/title
      +instances, and removed some debugging stuff that was generated in
      +manpages output to mark the ends of sections.

      +
    • +

      Added new email.delimiters.enabled param. If non-zero (the
      +default), delimiters are generated around e-mail addresses (output
      +of the email element). If zero, the delimiters are suppressed.

      +
    • +

      In manpages output, if the last/nearest *info element for
      +particular Refentry has multiple Copyright and/or Legalnotice
      +children, process them all (not just the first ones). Closes bug
      +1524576. Thanks to Sam Steingold for the report and to Daniel
      +Leidert for providing a patch.

      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.70.1 release.

    +
    • +

      Added reference.autolabel parameter for controlling labels on
      +reference output.

      +
    • +

      Added namespace declarations to document elements for all param files.

      +
    • +

      Updated index.method doc to describe revised setup for importing index extensions.

      +
    • +

      Added several new HTML parameters for controlling appearance of
      +content on HTML title pages:
      +
      +contrib.inline.enabled:
      +  If non-zero (the default), output of the contrib element is
      +  displayed as inline content rather than as block content.
      +
      +othercredit.like.author.enabled:
      +  If non-zero, output of the othercredit element on titlepages is
      +  displayed in the same style as author and editor output. If zero
      +  (the default), othercredit output is displayed using a style
      +  different than that of author and editor.
      +
      +blurb.on.titlepage.enabled:
      +  If non-zero, output from authorblurb and personblurb elements is
      +  displayed on title pages. If zero (the default), output from
      +  those elements is suppressed on title pages (unless you are
      +  using a titlepage customization that causes them to be included).
      +
      +editedby.enabled
      +  If non-zero (the default), a localized Edited by heading is
      +  displayed above editor names in output of the editor element.

      +
    • +

      Added new email.delimiters.enabled param. If non-zero (the
      +default), delimiters are generated around e-mail addresses (output
      +of the email element). If zero, the delimiters are suppressed.

      +
    • +

      Added qanda.nested.in.toc param. Default value is zero. If
      +non-zero, instances of "nested" Qandaentry (ones that are children
      +of Answer elements) are displayed in the TOC. Closes patch 1509018
      +(from Daniel Leidert). Currently on affects HTML output (no patch
      +for FO output provided).

      +
    • +

      Initial support of syntax highlighting of programlistings.

      +
    +
    + +

    Tools

    + +

    The following changes have been made to the + tools code + since the 1.70.1 release.

    +
    • +

      Racheted down font sizes of headings in example makefile FO output.

      +
    • +

      Added param and attribute set to example makefile, for getting
      +wrapping in verbatims in FO output.

      +
    • +

      Renamed Makefile.paramDoc to Makefile.docParam.

      +
    • +

      Added Makefile.paramDoc file, for creating versions of param.xsl
      +files with doc embedded.

      +
    • +

      Added variable to example makefile for controlling whether HTML or
      +XHTML is generated.

      +
    +
    +
    + +

    Release: 1.70.1

    + + +

    This is a stable release of the 1.70 stylesheets. It includes only a +few small changes from 1.70.0.

    + +

    The following is a list of changes that have been made + since the 1.70.0 release.

    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.70.0 release.

    +
    • +

      Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output.

      +

      Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek

      +
    • +

      Support DBv5 revisions with full author name (not only authorinitials)

      +

      Modified: fo/block.xsl,1.33; fo/titlepage.xsl,1.40 - Jirka Kosek

      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.70.0 release.

    +
    • +

      Support DBv5 revisions with full author name (not only authorinitials)

      +

      Modified: html/block.xsl,1.23; html/titlepage.xsl,1.34 - Jirka Kosek

      +
    +
    + +

    HTMLHelp

    + +

    The following changes have been made to the + htmlhelp code + since the 1.70.0 release.

    +
    • +

      htmlhelp.generate.index is now param, not variable. This means that you can override its setting from outside. This is useful when you generate indexterms on the fly (see http://www.xml.com/pub/a/2004/07/14/dbndx.html?page=3).

      +

      Modified: htmlhelp/htmlhelp-common.xsl,1.38 - Jirka Kosek

      +
    • +

      Support chunk.tocs.and.lots in HTML Help

      +

      Modified: htmlhelp/htmlhelp-common.xsl,1.37 - Jirka Kosek

      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.70.0 release.

    +
    • +

      Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output.

      +

      Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek

      +
    +
    + +
    + +

    Release: 1.70.0

    + +

    As with all DocBook Project dot-zero +releases, this is an experimental release. It will be followed shortly +by a stable release.

    + +

    This release adds a number of new features, +including:

    + +
    • +

      support for selecting alternative index-collation methods + (in particular, support for using a collation library developed by + Eliot Kimber)

      +
    • +

      improved handling of DocBook 5 document instances (through a + namespace-stripping mechanism)

      +
    • +

      full support for CALS and HTML tables in manpages + output

      +
    • +

      a mechanism for preserving relative URIs in documents that + make use of XInclude

      +
    • +

      support for the "new" .90 version of + FOP

      +
    • +

      enhanced capabilities for controlling formatting of lists in HTML + and FO output

      +
    • +

      autogeneration of AUTHOR and COPYRIGHT sections in manpages + output

      +
    • +

      support for generating crop marks in FO/PDF output

      +
    • +

      support for qandaset as a root element in FO output

      +
    • +

      support for floatstyle and orient on all table types

      +
    • +

      support for floatstyle in figure, and example

      +
    • +

      pgwide.properties attribute-set supports extending figure, + example and table into the left indent area instead of spanning + multiple columns.

      +
    +

    The following is a detailed list of enhancements and API + changes that have been made since the 1.69.1 release.

    + +

    Common

    + +

    The following changes have been made to the + common code + since the 1.69.1 release.

    +
    • +

      Add the xsl:key for the kimber +indexing method.

      +

      Modified: common/autoidx-ng.xsl,1.2 - Robert +Stayton

      +
    • +

      Add support for +qandaset.

      +

      Modified: common/labels.xsl,1.37; +common/subtitles.xsl,1.7; common/titles.xsl,1.35 - Robert +Stayton

      +
    • +

      Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO

      +

      Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh

      +
    • +

      Added CVS +header.

      +

      Modified: common/stripns.xsl,1.12 - Robert +Stayton

      +
    • +

      Changed content model of text +element to ANY rather than #PCDATA because they could contain +markup.

      +

      Modified: common/targetdatabase.dtd,1.7 - Robert +Stayton

      +
    • +

      Added +refentry.meta.get.quietly param.

      +

      If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed.

      +

      NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly.

      +

      Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith

      +
    • +

      After namespace stripping, the +source document is the temporary tree created by the stripping +process and it has the wrong base URI for relative +references. Earlier versions of this code used to try to fix that +by patching the elements with relative @fileref attributes. That +was inadequate because it calculated an absolute base URI +without considering that there might be xml:base attributes +already in effect. It seems obvious now that the right thing to +do is simply to put the xml:base on the root of the document. And +that seems to work.

      +

      Modified: common/stripns.xsl,1.7 - Norman +Walsh

      +
    • +

      Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual".

      +

      Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith

      +
    • +

      Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692.

      +

      Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith

      +
    • +

      Added <xsl:template +match="/"> to make stripns.xsl usable as a standalone +stylesheet for stripping out DocBook 5/NG to DocBook 4. Note that +DocBook XSLT drivers that include this stylesheet all override +the match="/" template.

      +

      Modified: common/stripns.xsl,1.4 - Michael(tm) +Smith

      +
    • +

      Number figures, examples, and +tables from book if there is no prefix (i.e. if +chapter.autolabel is set to 0). This avoids +having the list of figures where the figures mysteriously restart +their numeration periodically when +chapter.autolabel is set to +0.

      +

      Modified: common/labels.xsl,1.36 - David Cramer

      +
    • +

      Add task template in +title.markup mode.

      +

      Modified: common/titles.xsl,1.34 - Robert +Stayton

      +
    • +

      Add children (with ids) of formal +objects to target data.

      +

      Modified: common/targets.xsl,1.10 - Robert +Stayton

      +
    • +

      Added support for case when +personname doesn't contain specific name markup (as allowed +in DocBook 5.0)

      +

      Modified: common/common.xsl,1.54 - Jirka +Kosek

      +
    +
    + +

    Extensions

    + +

    The following changes have been made to the + extensions code + since the 1.69.1 release.

    +
    • +

      Support Xalan +2.7

      +

      Modified: extensions/xalan27/.cvsignore,1.1; +extensions/xalan27/build.xml,1.1; +extensions/xalan27/nbproject/.cvsignore,1.1; +extensions/xalan27/nbproject/build-impl.xml,1.1; +extensions/xalan27/nbproject/genfiles.properties,1.1; +extensions/xalan27/nbproject/project.properties,1.1; +extensions/xalan27/nbproject/project.xml,1.1; +extensions/xalan27/src/com/nwalsh/xalan/CVS.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Callout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatDingbatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatGraphicCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatTextCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatUnicodeCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Func.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/ImageIntrinsics.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Params.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Table.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Text.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Verbatim.java,1.1 - Norman +Walsh

      +
    • +

      Handle the case where the imageFn +is actually a URI. This still needs +work.

      +

      Modified: extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java,1.4 +- Norman Walsh

      +
    +
    + +

    FO

    + +

    The following changes have been made to the + fo code + since the 1.69.1 release.

    +
    • +

      Adapted to the new indexing +code. Now works just like a wrapper that calls kosek indexing method, +originally implemented here.

      +

      Modified: fo/autoidx-ng.xsl,1.5 - Jirka +Kosek

      +
    • +

      Added parameters for header/footer +table minimum height.

      +

      Modified: fo/pagesetup.xsl,1.60; +fo/param.ent,1.100; fo/param.xweb,1.113 - Robert +Stayton

      +
    • +

      Add the index.method +parameter.

      +

      Modified: fo/param.ent,1.99; fo/param.xweb,1.112 - Robert +Stayton

      +
    • +

      Integrate support for three +indexing methods: - the original English-only method. - +Jirka Kosek's method using EXSLT extensions. - Eliot Kimber's +method using Saxon extensions. Use the 'index.method' +parameter to select.

      +

      Modified: fo/autoidx.xsl,1.38 - Robert +Stayton

      +
    • +

      Add support for TOC for +qandaset in fo output.

      +

      Modified: fo/autotoc.xsl,1.30; +fo/qandaset.xsl,1.20 - Robert Stayton

      +
    • +

      Added parameter +ulink.hyphenate.chars. Added parameter +insert.link.page.number.

      +

      Modified: fo/param.ent,1.98; +fo/param.xweb,1.111 - Robert Stayton

      +
    • +

      Implemented feature request +#942524 to add insert.link.page.number to allow link +element cross references to have a page number.

      +

      Modified: fo/xref.xsl,1.67 - +Robert Stayton

      +
    • +

      Add support for +ulink.hyphenate.chars so more characters +can be break points in urls.

      +

      Modified: fo/xref.xsl,1.66 - Robert +Stayton

      +
    • +

      Implemented patch #1075144 to make +the url text in a ulink in FO output an active link as +well.

      +

      Modified: fo/xref.xsl,1.65 - Robert Stayton

      +
    • +

      table footnotes now +have their own table.footnote.properties +attribute set.

      +

      Modified: fo/footnote.xsl,1.23 - Robert +Stayton

      +
    • +

      Add qandaset to +root.elements.

      +

      Modified: fo/docbook.xsl,1.41 - Robert +Stayton

      +
    • +

      Added mode="page.sequence" to make +it easier to put content into a page sequence. First used for +qandaset.

      +

      Modified: fo/component.xsl,1.37 - Robert +Stayton

      +
    • +

      Implemented feature request +#1434408 to support formatting +of biblioentry.

      +

      Modified: fo/biblio.xsl,1.35 - Robert +Stayton

      +
    • +

      Added +biblioentry.properties.

      +

      Modified: fo/param.ent,1.97; +fo/param.xweb,1.110 - Robert Stayton

      +
    • +

      Support PTC/Arbortext +bookmarks

      +

      Modified: fo/docbook.xsl,1.40; fo/ptc.xsl,1.1 - Norman +Walsh

      +
    • +

      Added +table.footnote.properties to permit +table footnotes to format differently from regular +footnotes.

      +

      Modified: fo/param.ent,1.96; fo/param.xweb,1.109 - Robert +Stayton

      +
    • +

      Refactored table +templates to unify their processing and support all options in +all types. Now table and informaltable, in +both Cals and Html markup, use the same templates where possible, +and all support pgwide, rotation, and floats. There is also a +placeholder table.container template to +support wrapping a table in a layout table, +so the XEP table title "continued" +extension can be more easily implemented.

      +

      Modified: fo/formal.xsl,1.52; +fo/htmltbl.xsl,1.9; fo/table.xsl,1.48 - Robert +Stayton

      +
    • +

      Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT

      +

      Modified: fo/autotoc.xsl,1.29; fo/param.ent,1.95; +fo/param.xweb,1.108 - Jirka Kosek

      +
    • +

      Added support for float to example +and equation. Added support for pgwide to +figure, example, and equation (the latter +two via a dbfo pgwide="1" processing +instruction).

      +

      Modified: fo/formal.xsl,1.51 - Robert +Stayton

      +
    • +

      Add pgwide.properties +attribute-set.

      +

      Modified: fo/param.ent,1.94; fo/param.xweb,1.107 - Robert +Stayton

      +
    • +

      Added refclass.suppress +param.

      +

      If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only.

      +

      Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Improved support for +task subelements

      +

      Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek

      +
    • +

      Adjusted spacing around +K&R-formatted Funcdef and Paramdef +output such that it can more easily be discerned where one ends +and the other begins. Closes #1213264.

      +

      Modified: fo/synop.xsl,1.18 - +Michael(tm) Smith

      +
    • +

      Made handling of +paramdef/parameter in FO output consistent with that in HTML and +manpages output. Closes #1213259.

      +

      Modified: fo/synop.xsl,1.17 - Michael(tm) +Smith

      +
    • +

      Made handling of +Refnamediv consistent with formatting in HTML +and manpages output; specifically, changed so that +Refname (comma-separated list of multiple instances +found) is used (instead of Refentrytitle as +previously), then em-dash, then the Refpurpose. Closes +#1212562.

      +

      Modified: fo/refentry.xsl,1.30 - Michael(tm) +Smith

      +
    • +

      Added output of +Releaseinfo to recto titlepage ("copyright" +page) for Book in FO output. This makes it consistent +with HTML output. Closes #1327034. Thanks to Paul DuBois for +reporting.

      +

      Modified: fo/titlepage.templates.xml,1.28 - Michael(tm) +Smith

      +
    • +

      Added condition for setting +block-progression-dimension.minimum on table-row, instead of +height, when fop1.extensions is +non-zero. For an explanation of the reason for the change, +see: http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages

      +

      Modified: fo/pagesetup.xsl,1.59 +- Michael(tm) Smith

      +
    • +

      Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting.

      +

      Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith

      +
    • +

      Add support for keep-together PI +to informal objects.

      +

      Modified: fo/formal.xsl,1.50 - Robert +Stayton

      +
    • +

      Add support for +fop1.extensions.

      +

      Modified: fo/formal.xsl,1.49; +fo/graphics.xsl,1.44; fo/table.xsl,1.47 - Robert +Stayton

      +
    • +

      Add support for fop1 +bookmarks.

      +

      Modified: fo/docbook.xsl,1.39 - Robert +Stayton

      +
    • +

      Add fop1.extentions parameter to +add support for fop development version.

      +

      Modified: fo/param.ent,1.92; +fo/param.xweb,1.105 - Robert Stayton

      +
    • +

      Start supporting fop development +version, which will become fop version 1.

      +

      Modified: fo/fop1.xsl,1.1 - +Robert Stayton

      +
    • +

      Add template for task +in mode="xref-to".

      +

      Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton

      +
    • +

      table footnotes now +also get footnote.properties +attribute-set.

      +

      Modified: fo/footnote.xsl,1.22 - Robert +Stayton

      +
    • +

      Added index.separator +named template to compute the separator punctuation based on +locale.

      +

      Modified: fo/autoidx.xsl,1.36 - Robert Stayton

      +
    • +

      Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it).

      +

      Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith

      +
    • +

      Support date as an +inline

      +

      Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh

      +
    • +

      Added new parameter +keep.relative.image.uris

      +

      Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh

      +
    • +

      Map Unicode space characters +U+2000-U+200A to fo:leaders.

      +

      Modified: fo/docbook.xsl,1.38; +fo/passivetex.xsl,1.4; fo/spaces.xsl,1.1 - Jirka +Kosek

      +
    • +

      Output a real em dash for em-dash +dingbat (instead of two hypens).

      +

      Modified: fo/fo.xsl,1.7 - Michael(tm) +Smith

      +
    • +

      Support default label +width parameters for itemized and ordered lists

      +

      Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh

      +
    • +

      Generate localized +title for Refsynopsisdiv if no +appropriate Title descendant found in source. Closes +#1212398. This change makes behavior for the Synopsis +title consistent with the behavior of HTML and +manpages output.

      +

      Also, added +xsl:use-attribute-sets="normal.para.spacing" to +block generated for Cmdsynopsis output. Previously, +that block had no spacing at all specified, which resulted it +being crammed up to closely to the Synopsis +head.

      +

      Modified: fo/refentry.xsl,1.28; fo/synop.xsl,1.13 - Michael(tm) +Smith

      +
    • +

      Added parameters to support +localization of index +item punctuation.

      +

      Modified: fo/autoidx.xsl,1.35 - Robert +Stayton

      +
    • +

      Added +index.number.separator, +index.range.separator, +and index.term.separator parameters to +support localization of punctuation in index +entries.

      +

      Modified: fo/param.ent,1.89; fo/param.xweb,1.102 - Robert +Stayton

      +
    • +

      Added "Cross References" +section in HTML doc (for consistency with the FO +doc). Also, moved the existing FO "Cross +References" section to follow the "Linking" +section.

      +

      Modified: fo/param.xweb,1.101; html/param.xweb,1.95 - +Michael(tm) Smith

      +
    • +

      Added ID attribues to all +Reference elements (e.g., id="tables" for the doc for +section on Table params). So pages for +all subsections of ref docs now have stable filenames instead +of arbitrary generated filenames.

      +

      Modified: fo/param.xweb,1.100; +html/param.xweb,1.94 - Michael(tm) Smith

      +
    • +

      Added two new parameters for +handling of multi-term +varlistentry elements:

      +

      variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry.

      +

      variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string ("").

      +

      These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms.

      +

      Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options.

      +

      Also, added +normalize-space() call to processing of each +term.

      +

      This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess.

      +

      Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Add sidebar titlepage +placeholder attset for styles.

      +

      Modified: fo/titlepage.xsl,1.37 - Robert +Stayton

      +
    • +

      Add titlepage for +sidebar.

      +

      Modified: fo/titlepage.templates.xml,1.27 - Robert +Stayton

      +
    • +

      Implemented RFE +#1292615.

      +

      Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier.

      +

      Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek

      +
    • +

      Implemented RFE +#1242092.

      +

      You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt).

      +

      Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats

      +

      Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek

      +
    +
    + +

    HTML

    + +

    The following changes have been made to the + html code + since the 1.69.1 release.

    +
    • +

      implemented +index.method parameter and three +methods.

      +

      Modified: html/autoidx.xsl,1.28 - Robert +Stayton

      +
    • +

      added index.method +parameter to support 3 indexing methods.

      +

      Modified: html/param.ent,1.94; +html/param.xweb,1.103 - Robert Stayton

      +
    • +

      Implemented feature request +#1072510 as a processing instruction to permit including external +HTML content into HTML output.

      +

      Modified: html/pi.xsl,1.9 - Robert +Stayton

      +
    • +

      Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-).

      +

      Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek

      +
    • +

      Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO

      +

      Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh

      +
    • +

      Allow ToC without +title also for set and +book.

      +

      Modified: html/autotoc.xsl,1.37; html/division.xsl,1.12 - +Jirka Kosek

      +
    • +

      Implemented floats uniformly for +figure, example, equation +and informalfigure, informalexample, and +informalequation.

      +

      Modified: html/formal.xsl,1.22 - Robert +Stayton

      +
    • +

      Added the +autotoc.label.in.hyperlink param.

      +

      If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles.

      +

      Closes patch #1065868. Thanks to anatoly techtonik +for the patch.

      +

      Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple.

      +

      If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes:

      +

      - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types

      +

      - +an href attribute whose value is set to the URL of the file +containing the legalnotice

      +

      - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet)

      +

      For +example:

      +

      <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice">

      +

      Closes +#1476450. Thanks to Sam Steingold.

      +

      Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added refclass.suppress +param.

      +

      If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only.

      +

      Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Improved support for +task subelements

      +

      Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek

      +
    • +

      Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting.

      +

      Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith

      +
    • +

      Process alt text with +normalize-space(). Replace tab indents with +spaces.

      +

      Modified: html/graphics.xsl,1.57 - Robert +Stayton

      +
    • +

      Content of citation +element is automatically linked to the bibliographic entry +with the corresponding abbrev.

      +

      Modified: html/biblio.xsl,1.26; +html/inline.xsl,1.47; html/xref.xsl,1.58 - Jirka +Kosek

      +
    • +

      Add template for task +in mode="xref-to".

      +

      Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton

      +
    • +

      Suppress ID warnings if the +.warnings parameter is 0

      +

      Modified: html/html.xsl,1.17 - Norman +Walsh

      +
    • +

      Add support for floatstyle to +figure.

      +

      Modified: html/formal.xsl,1.21 - Robert +Stayton

      +
    • +

      Handling of xref to +area/areaset need support in extensions code also. I currently have no +time to touch extensions code, so code is here to be enabled when +extension is fixed also.

      +

      Modified: html/xref.xsl,1.56 - Jirka +Kosek

      +
    • +

      Added 3 parameters for overriding +gentext for index +punctuation.

      +

      Modified: html/param.ent,1.89; html/param.xweb,1.98 - Robert +Stayton

      +
    • +

      Added parameters to support +localization of index item punctuation. Added +index.separator named template to compute +the separator punctuation based on +locale.

      +

      Modified: html/autoidx.xsl,1.27 - Robert +Stayton

      +
    • +

      Added a <div +class="{$class}-contents"> wrapper around output of contents +of all formal objects. Also, added an optional <br +class="{class}-break"/> linebreak after all formal +objects.

      +

      WARNING: Because this change places an additional +DIV between the DIV wrapper for the equation and the +equation contents, it may break some existing CSS +stylesheets that have been created with the assumption that there +would never be an intervening DIV there.

      +

      The following is +an example of what Equation output looks like as a +result of the changes described above.

      +

      <div +class="equation"> <a name="three" +id="three"></a>

      +

      <p +class="title"><b>(1.3)</b></p>

      +

      +<div class="equation-contents"> <span +class="mathphrase">1+1=3</span> +</div> </div><br +class="equation-break">

      +

      Rationale: These changes allow +CSS control of the placement of the formal-object +title relative to the formal-object +contents. For example, using the CSS "float" property +enables the title and contents to be rendered on the +same line. Example stylesheet:

      +

      .equation +{ margin-top: 20px; margin-bottom: 20px; } +.equation-contents { float: left; }

      +

      +.equation .title { margin-top: 0; +float: right; margin-right: 200px; }

      +

      +.equation .title b { font-weight: +normal; }

      +

      .equation-break { clear: both; +}

      +

      Note that the purpose of the ".equation-break" class is +to provide a way to clear off the floats.

      +

      If you want +to instead have the equation title rendered to +the left of the equation contents, you can do +something like this:

      +

      .equation { +margin-top: 20px; width: 300px; margin-bottom: 20px; +} .equation-contents { float: right; }

      +

      +.equation .title { margin-top: 0; +float: left; margin-right: 200px; }

      +

      +.equation .title b { font-weight: +normal; }

      +

      .equation-break { clear: both; +}

      +

      Modified: html/formal.xsl,1.20 - Michael(tm) Smith

      +
    • +

      Added a chunker.output.quiet +top-level parameter so that the chunker can be made quiet by +default

      +

      Modified: html/chunker.xsl,1.26 - Norman Walsh

      +
    • +

      Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it).

      +

      Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith

      +
    • +

      New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive?

      +

      Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh

      +
    • +

      If the +keep.relative.image.uris parameter is true, +don't use the absolute URI (as calculated from xml:base) in +the img src attribute, us the value the author +specified. Note that we still have to calculate the absolute +filename for use in the image intrinsics +extension.

      +

      Modified: html/graphics.xsl,1.56 - Norman +Walsh

      +
    • +

      Support date as an +inline

      +

      Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh

      +
    • +

      Added new parameter +keep.relative.image.uris

      +

      Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh

      +
    • +

      Added two new parameters for +handling of multi-term +varlistentry elements:

      +

      variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry.

      +

      variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string ("").

      +

      These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms.

      +

      Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options.

      +

      Also, added +normalize-space() call to processing of each +term.

      +

      This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess.

      +

      Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added "wrapper-name" param to +inline.charseq named template, enabling it to output inlines +other than just "span". Acronym and Abbrev +templates now use inline.charseq to output HTML +"acronym" and "abbr" elements (instead of +"span"). Closes #1305468. Thanks to Sam Steingold for suggesting +the change.

      +

      Modified: html/inline.xsl,1.45 - Michael(tm) +Smith

      +
    +
    + +

    Manpages

    + +

    The following changes have been made to the + manpages code + since the 1.69.1 release.

    +
    • +

      Added the following +params:

      +

      - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean)

      +

      Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something).

      +

      The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width.

      +

      Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added +man.table.footnotes.divider param.

      +

      In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table.

      +

      Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters.

      +

      The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory.

      +

      The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory.

      +

      Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles.

      +

      Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output.

      +

      Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +man.segtitle.suppress param.

      +

      If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output.

      +

      Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added +man.output.manifest.enabled and +man.output.manifest.filename params.

      +

      If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename

      +

      Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith

      +
    • +

      Added +refentry.meta.get.quietly param.

      +

      If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed.

      +

      NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly.

      +

      Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Changed names of all boolean +indentation params to man.indent.* Also discarded individual +man.indent.*.value params and switched to just using a common +man.indent.width param (3n by default).

      +

      Modified: manpages/docbook.xsl,1.66; +manpages/info.xsl,1.19; manpages/lists.xsl,1.29; +manpages/other.xsl,1.18; manpages/refentry.xsl,1.13 - Michael(tm) +Smith

      +
    • +

      Added boolean +man.output.in.separate.dir param, to control whether or not man +files are output in separate directory.

      +

      Modified: manpages/docbook.xsl,1.65; +manpages/utility.xsl,1.14 - Michael(tm) Smith

      +
    • +

      Added options for controlling +indentation of verbatim output. Controlled through the +man.indentation.verbatims.adjust +and man.indentation.verbatims.value params. Closes +#1242997

      +

      Modified: manpages/block.xsl,1.15; manpages/docbook.xsl,1.64 - +Michael(tm) Smith

      +
    • +

      Added options for controlling +indentation in lists and in *blurb output in the AUTHORS +section. Controlled through +the man.indentation.lists.adjust, +man.indentation.lists.value, man.indentation.authors.adjust, and +man.indentation.authors.value parameters. Default is 3 characters +(instead of the roff default of 8 characters). Closes +#1449369.

      +

      Also, removed the indent that was being set on +informalexample outuput. I will instead add an option +for indenting verbatims, which I think is what the +informalexample indent was intended +for originally.

      +

      Modified: manpages/block.xsl,1.14; +manpages/docbook.xsl,1.63; manpages/info.xsl,1.18; +manpages/lists.xsl,1.28 - Michael(tm) Smith

      +
    • +

      Changed line-spacing call before +synopfragment to use ".sp -1n" ("n" units specified) +instead of plain ".sp -1"

      +

      Modified: manpages/synop.xsl,1.28 - Michael(tm) +Smith

      +
    • +

      Added support for writing man +files into a specific output directory and into appropriate +subdirectories within that output directory. Controlled through +the man.base.dir parameter (similar to the +base.dir support in the HTML stylesheet) and +the man.subdirs.enabled parameter, which automatically determines +the name of an appropriate subdir (for example, man/man7, +man/man1, etc.) based on the section number/manvolnum +of the source Refentry.

      +

      Closes #1255036 and +#1170317. Thanks to Denis Bradford for the original feature +request, and to Costin Stroie for submitting a patch that was +very helpful in implementing the +support.

      +

      Modified: manpages/docbook.xsl,1.62; manpages/utility.xsl,1.13 - +Michael(tm) Smith

      +
    • +

      Refined XPath statements and +notification messages for refentry metadata +handling.

      +

      Modified: common/common.xsl,1.59; common/refentry.xsl,1.14; +manpages/docbook.xsl,1.61; manpages/other.xsl,1.17 - Michael(tm) +Smith

      +
    • +

      Added support for +copyright and legalnotice. The manpages +stylesheets now output a COPYRIGHT section, +after the AUTHORS section, if a copyright +or legalnotice is found in the source. The +section contains the copyright contents followed +by the legalnotice contents. Closes +#1450209.

      +

      Modified: manpages/docbook.xsl,1.59; manpages/info.xsl,1.17 - +Michael(tm) Smith

      +
    • +

      Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date):

      +

      +(($info[//date])[last()]/date)[1].

      +

      That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry.

      +

      It's +likely this change may break some things; may need to pick up +some pieces later.

      +

      Also, changed the default value for the +man.th.extra2.max.length from 40 to +30.

      +

      Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith

      +
    • +

      Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692.

      +

      Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith

      +
    • +

      Fixed handling of table +footnotes. With this checkin, the table support in the +manpages stylesheet is now basically feature complete. So this +change closes request #619532, "No support for tables" -- the +oldest currently open manpages feature request, submitted by Ben +Secrest (blsecres) on 2002-10-07. Congratulations to me [patting +myself on the back].

      +

      Modified: manpages/block.xsl,1.11; +manpages/docbook.xsl,1.55; manpages/table.xsl,1.15 - Michael(tm) +Smith

      +
    • +

      Added handling for +table titles. Also fixed handling of nested tables; +nest tables are now "extracted" and displayed just after their +parent tables.

      +

      Modified: manpages/docbook.xsl,1.54; manpages/table.xsl,1.14 +- Michael(tm) Smith

      +
    • +

      Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later.

      +

      Closes #1452247. Thanks to Joe Orton for the feature +request.

      +

      Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith

      +
    • +

      Use AUTHORS instead of +AUTHOR if we have multiple people to attribute. Also, +fixed checking such that we generate +author section even if we don't have an +author (as long as there is at least one other +person/entity we can put in the +section). Also adjusted assembly of content for +Author metainfo field such that we now not only use +author, but try to find a "best match" if we can't +find an author name to put there.

      +

      Closes +#1233592. Thanks to Sam Steingold for the +request.

      +

      Modified: manpages/info.xsl,1.12 - Michael(tm) +Smith

      +
    • +

      Changes for request #1243027, +"Impove handling of AUTHOR section." This +adds support for Collab, Corpauthor, Corpcredt, +Orgname, Publishername, and +Publisher. Also adds support for output +of Affiliation and its children, and support for using +gentext strings for auto-attributing roles (Author, +Editor, Publisher, Translator, etc.). Also +did a lot of code cleanup and modularization of all the +AUTHOR handling code. And fixed a bug that was causing +Author info to not be picked up correctly +for metainfo comment we embed in man-page +source.

      +

      Modified: manpages/info.xsl,1.11 - Michael(tm) +Smith

      +
    • +

      Support bold output for +"emphasis remap='B'". (because Eric Raymond's +doclifter(1) tool converts groff source marked up with ".B" +request or "\fB" escapes to DocBook "emphasis +remap='B'".)

      +

      Modified: manpages/inline.xsl,1.14 - Michael(tm) +Smith

      +
    • +

      Added support for +Segmentedlist. Details: Output is tabular, with no +option for "list" type output. Output for Segtitle +elements can be supressed by +setting man.segtitle.suppress. If Segtitle +content is output, it is rendered in italic type (not bold +because not all terminals support bold and so italic ensures the +stand out on those terminals). Extra space (.sp line) at end of +table code ensures that it gets handled correctly in +the case where its source is the child of a Para. +Closes feature-request #1400097. Thanks to Daniel Leidert for the +patch and push, and to Alastair Rankine for filing the original +feature request.

      +

      Modified: manpages/lists.xsl,1.23; +manpages/utility.xsl,1.10 - Michael(tm) Smith

      +
    • +

      Improved handling or +Author/Editor/Othercredit.

      +

      Reworked content of +(non-visible) comment added at top of each page (metadata +stuff).

      +

      Added support for generating a +manifest file (useful for cleaning up +after builds, etc.)

      +

      Modified: manpages/docbook.xsl,1.46; +manpages/info.xsl,1.9; manpages/other.xsl,1.12; +manpages/utility.xsl,1.6 - Michael(tm) Smith

      +
    • +

      Added two new parameters for +handling of multi-term +varlistentry elements:

      +

      variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry.

      +

      variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string ("").

      +

      These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms.

      +

      Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options.

      +

      Also, added +normalize-space() call to processing of each +term.

      +

      This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess.

      +

      Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith

      +
    +
    + +

    Params

    + +

    The following changes have been made to the + params code + since the 1.69.1 release.

    +
    • +

      New parameters to set +header/footer table minimum +height.

      +

      Modified: params/footer.table.height.xml,1.1; +params/header.table.height.xml,1.1 - Robert +Stayton

      +
    • +

      Support multiple indexing methods +for different languages.

      +

      Modified: params/index.method.xml,1.1 - Robert +Stayton

      +
    • +

      Remove qandaset and +qandadiv from generate.toc for fo +output because formerly it wasn't working, but now it is and +the default behavior should stay the +same.

      +

      Modified: params/generate.toc.xml,1.8 - Robert +Stayton

      +
    • +

      add support for page number +references to link element +too.

      +

      Modified: params/insert.link.page.number.xml,1.1 - Robert +Stayton

      +
    • +

      Add support for more characters to +hyphen on when ulink.hyphenate is turned +on.

      +

      Modified: params/ulink.hyphenate.chars.xml,1.1; +params/ulink.hyphenate.xml,1.3 - Robert Stayton

      +
    • +

      New attribute-set to format +biblioentry and +bibliomixed.

      +

      Modified: params/biblioentry.properties.xml,1.1 - +Robert Stayton

      +
    • +

      Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-).

      +

      Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek

      +
    • +

      Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT

      +

      Modified: params/toc.line.properties.xml,1.1 - Jirka +Kosek

      +
    • +

      Allow table footnotes +to have different properties from regular +footnotes.

      +

      Modified: params/table.footnote.properties.xml,1.1 - Robert +Stayton

      +
    • +

      Set properties for pgwide="1" +objects.

      +

      Modified: params/pgwide.properties.xml,1.1 - Robert +Stayton

      +
    • +

      Added the +autotoc.label.in.hyperlink param.

      +

      If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles.

      +

      Closes patch #1065868. Thanks to anatoly techtonik +for the patch.

      +

      Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple.

      +

      If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes:

      +

      - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types

      +

      - +an href attribute whose value is set to the URL of the file +containing the legalnotice

      +

      - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet)

      +

      For +example:

      +

      <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice">

      +

      Closes +#1476450. Thanks to Sam Steingold.

      +

      Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added the following +params:

      +

      - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean)

      +

      Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something).

      +

      The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width.

      +

      Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added +man.table.footnotes.divider param.

      +

      In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table.

      +

      Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters.

      +

      The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory.

      +

      The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory.

      +

      Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles.

      +

      Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output.

      +

      Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Changed to select="0" in +refclass.suppress (instead of +..>0</..)

      +

      Modified: params/refclass.suppress.xml,1.3 - Michael(tm) +Smith

      +
    • +

      Added +man.segtitle.suppress param.

      +

      If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output.

      +

      Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith

      +
    • +

      Added +man.output.manifest.enabled and +man.output.manifest.filename params.

      +

      If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename

      +

      Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith

      +
    • +

      Added refclass.suppress +param.

      +

      If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only.

      +

      Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added +refentry.meta.get.quietly param.

      +

      If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed.

      +

      NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly.

      +

      Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual".

      +

      Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith

      +
    • +

      Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date):

      +

      +(($info[//date])[last()]/date)[1].

      +

      That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry.

      +

      It's +likely this change may break some things; may need to pick up +some pieces later.

      +

      Also, changed the default value for the +man.th.extra2.max.length from 40 to +30.

      +

      Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith

      +
    • +

      Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later.

      +

      Closes #1452247. Thanks to Joe Orton for the feature +request.

      +

      Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith

      +
    • +

      fop.extensions now only +for FOP version 0.20.5 and earlier.

      +

      Modified: params/fop.extensions.xml,1.4 +- Robert Stayton

      +
    • +

      Support for fop1 different from +fop 0.20.5 and earlier.

      +

      Modified: params/fop1.extensions.xml,1.1 - Robert +Stayton

      +
    • +

      Reset default value to empty +string so template uses gentext first, then the parameter value +if not empty.

      +

      Modified: params/index.number.separator.xml,1.2; +params/index.range.separator.xml,1.2; +params/index.term.separator.xml,1.2 - Robert +Stayton

      +
    • +

      New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive?

      +

      Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh

      +
    • +

      Added new parameter +keep.relative.image.uris

      +

      Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh

      +
    • +

      Support default label +width parameters for itemized and ordered lists

      +

      Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh

      +
    • +

      Added parameters to localize +punctuation in indexes.

      +

      Modified: params/index.number.separator.xml,1.1; +params/index.range.separator.xml,1.1; +params/index.term.separator.xml,1.1 - Robert +Stayton

      +
    • +

      Added two new parameters for +handling of multi-term +varlistentry elements:

      +

      variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry.

      +

      variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string ("").

      +

      These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms.

      +

      Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options.

      +

      Also, added +normalize-space() call to processing of each +term.

      +

      This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess.

      +

      Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith

      +
    • +

      Convert 'no' to string in default +value.

      +

      Modified: params/olink.doctitle.xml,1.4 - Robert +Stayton

      +
    • +

      Implemented RFE +#1292615.

      +

      Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier.

      +

      Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek

      +
    • +

      Implemented RFE +#1242092.

      +

      You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt).

      +

      Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats

      +

      Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek

      +
    • +

      Changed short descriptions in doc +for *autolabel* params to match new autolabel +behavior.

      +

      Modified: params/appendix.autolabel.xml,1.5; +params/chapter.autolabel.xml,1.4; params/part.autolabel.xml,1.5; +params/preface.autolabel.xml,1.4 - Michael(tm) +Smith

      +
    +
    + +

    Profiling

    + +

    The following changes have been made to the + profiling code + since the 1.69.1 release.

    +
    • +

      Profiling now works together with +namespace stripping (V5 documents). Namespace striping should work +with all stylesheets named profile-, even if they are not supporting +namespace stripping in a non-profiling +variant.

      +

      Modified: profiling/profile-mode.xsl,1.4; +profiling/xsl2profile.xsl,1.7 - Jirka Kosek

      +
    • +

      Moved profiling stage out of +templates. This make possible to reuse profiled content by several +templates and still maintaing node indentity (needed for example for +HTML Help where content is processed multiple times).

      +

      I +don't know why this was not on the top level before. Maybe some XSLT +processors choked on it. I hope this will be OK +now.

      +

      Modified: profiling/xsl2profile.xsl,1.5 - Jirka +Kosek

      +
    +
    + +

    Tools

    + +

    The following changes have been made to the + tools code + since the 1.69.1 release.

    +
    • +

      Moved Makefile.DocBook from +contrib module to xsl +module.

      +

      Modified: tools/make/Makefile.DocBook,1.1 - Michael(tm) +Smith

      +
    +
    + +

    WordML

    + +

    The following changes have been made to the + wordml code + since the 1.69.1 release.

    +
    • +

      added contrib element, +better handling of default paragraph +style

      +

      Modified: wordml/pages-normalise.xsl,1.6; wordml/supported.xml,1.2; +wordml/wordml-final.xsl,1.14 - Steve Ball

      +
    • +

      added +bridgehead

      +

      Modified: wordml/docbook-pages.xsl,1.6; +wordml/docbook.xsl,1.17; wordml/pages-normalise.xsl,1.5; +wordml/template-pages.xml,1.7; wordml/template.dot,1.4; +wordml/template.xml,1.14; wordml/wordml-final.xsl,1.13 - Steve +Ball

      +
    • +

      added blocks stylesheet to support +bibliographies, glossaries and qandasets

      +

      Modified: wordml/Makefile,1.4; +wordml/README,1.3; wordml/blocks-spec.xml,1.1; +wordml/docbook-pages.xsl,1.5; wordml/docbook.xsl,1.16; +wordml/pages-normalise.xsl,1.4; wordml/sections-spec.xml,1.3; +wordml/specifications.xml,1.13; wordml/template-pages.xml,1.6; +wordml/template.dot,1.3; wordml/template.xml,1.13; +wordml/wordml-blocks.xsl,1.1; wordml/wordml-final.xsl,1.12; +wordml/wordml-sections.xsl,1.3 - Steve Ball

      +
    • +

      added mediaobject +caption

      +

      Modified: wordml/docbook-pages.xsl,1.4; +wordml/docbook.xsl,1.15; wordml/specifications.xml,1.12; +wordml/template-pages.xml,1.5; wordml/template.dot,1.2; +wordml/template.xml,1.12; wordml/wordml-final.xsl,1.11 - Steve +Ball

      +
    • +

      added +callouts

      +

      Modified: wordml/docbook-pages.xsl,1.3; wordml/docbook.xsl,1.14; +wordml/pages-normalise.xsl,1.3; wordml/specifications.xml,1.11; +wordml/template-pages.xml,1.4; wordml/wordml-final.xsl,1.10 - Steve +Ball

      +
    • +

      added Word template +file

      +

      Modified: wordml/template.dot,1.1 - Steve Ball

      +
    • +

      added abstract, fixed +itemizedlist, ulink

      +

      Modified: wordml/specifications.xml,1.10; +wordml/wordml-final.xsl,1.9 - Steve Ball

      +
    • +

      fixed Makefile added many +features to Pages support added revhistory, inlines, +highlights, abstract

      +

      Modified: wordml/Makefile,1.2; +wordml/docbook-pages.xsl,1.2; wordml/pages-normalise.xsl,1.2; +wordml/sections-spec.xml,1.2; wordml/specifications.xml,1.9; +wordml/template-pages.xml,1.3; wordml/template.xml,1.11; +wordml/wordml-final.xsl,1.8; wordml/wordml-sections.xsl,1.2 - Steve +Ball

      +
    • +

      fixed handling linebreaks when +generating WordML added Apple Pages +support

      +

      Modified: wordml/docbook.xsl,1.13; wordml/template-pages.xml,1.2 - +Steve Ball

      +
    +
    +
    + +

    Release 1.69.1

    + +

    This release is a minor bug-fix update to the 1.69.0 + release. Along with bug fixes, it includes one + configuration-parameter change: The default value of the + annotation.support parameter is now + 0 (off). The reason for that change is that + there have been reports that annotation handling is + causing a significant performance degradation in processing of + large documents with xsltproc.

    +
    + + +

    Release 1.69.0

    + +

    The release includes major feature changes, + particularly in the manpages + stylesheets, as well as a large number of bug fixes.

    + +

    As with all DocBook Project dot zero releases, this is an + experimental release .

    + +

    Common

    + +
    • +

      This release adds localizations for the following + languages: + Albanian, Amharic, Azerbaijani, Hindi, Irish (Gaelic), Gujarati, Kannada, Mongolian, Oriya, Punjabi, Tagalog, Tamil, and Welsh.

      +
    • +

      Added support for specifying number format for auto + labels for chapter, appendix, + part, and preface. Contolled with the + appendix.autolabel, + chapter.autolabel, + part.autolabel, and + preface.autolabel parameters.

      +
    • +

      Added basic support for biblioref cross + referencing.

      +
    • +

      Added support for align + on caption in mediaobject.

      +
    • +

      Added support for processing documents that use the + DocBook V5 namespace.

      +
    • +

      Added support for termdef and + mathphrase.

      +
    • +

      EXPERIMENTAL: Incorporated the Slides and Website + stylesheets into the DocBook XSL stylesheets package. So, + for example, Website documents can now be processed using + the following URI for the driver Website + tabular.xsl file:

      http://docbook.sourceforge.net/release/xsl/current/website/tabular.xsl
      +
    • +

      A procedure without a title is + now treated as an informal procedure (meaning + that it is not added to any generated list of + procedures and has no affect on numbering of + generated labels for other procedures).

      +
    • +

      docname is no longer added to + olink when pointing to a root element.

      +
    • +

      Added support for generation of choice separator in + inline simplelist. This enables auto-generation of an + appropriate localized choice separator (for + example, and or or) before the + final item in an inline simplelist.

      +

      To indicate that you want a choice separator + generated for a particular list, you need to put a processing + instruction (PI) of the form + <?dbchoice choice="foo"?> as a + child of the list. For example: +

        <para>Choose from
      +  ONE and ONLY ONE of the following: 
      +  <simplelist type="inline">
      +  <?dbchoice choice="or" ?>
      +  <member>A</member>
      +  <member>B</member>
      +  <member>C</member>.</simplelist></para>

      + + Output (for English): +

      +

      Choose from ONE and only ONE of the + following choices: A, B, or C.

      +

      + As a temporary workaround for the fact that most of the + DocBook non-English locale files don't have a localization for + the word or, you can put in a literal string to + be used; example for French: <?dbchoice choice="ou">. That is, use + ou instead of or.

      +
    +
    +

    FO

    + +
    • +

      Added content-type property to + external-graphic element, based on + imagedata format + attribute.

      +
    • +

      Added support for generating + <rx:meta-field creator="$VERSION"/> + field for XEP output. This makes the DocBook XSL + stylesheet version information available through the + Document Properties menu in Acrobat + Reader and other PDF viewers.

      +
    • +

      Trademark symbol handling made consistent with + handling of same in HTML stylesheets. Prior to this change, + if you processed a document that contained no value for the + class attribute on the + trademark element, the HTML stylesheets would + default to rendering a superscript TM + symbol after the trademark contents, + but the FO stylesheets would render nothing.

      +
    • +

      Added support for generating XEP bookmarks for + refentry.

      +
    • +

      Added support for HTML markup table border attribute, applied to each + table cell.

      +
    • +

      The table.width template can now + sum column specs if none use % or + *.

      +
    • +

      Added fox:destination extension + inside fox:outline to support linking to + internal destinations.

      +
    • +

      Added support for customizing + abstract with property sets. Controlled + with the abstract.properties and + abstract.title.properties + parameters.

      +
    • +

      Add footnotes in table title to + table footnote set, and add support for table footnotes to + HTML table markup.

      +
    • +

      Added support for title in + glosslist.

      +
    • +

      Added support for itemizedlist symbol + none.

      +
    • +

      Implemented the new + graphical.admonition.properties and + nongraphical.admonition.properties + attribute sets.

      +
    • +

      Added id to + formalpara and some other blocks that were + missing it.

      +
    • +

      Changed the anchor template to output + fo:inline instead of + fo:wrapper.

      +
    • +

      Added support for toc.max.depth + parameter.

      +
    +
    + +

    Help

    + +
    • +

      Eclipse Help: Added support for generating olink + database.

      +
    +
    + +

    HTML

    + +
    +
    +

    man

    + +

    This release closes out 44 manpages stylesheet bug reports + and feature requests. It adds more than 35 new configuration + parameters for controlling aspects of man-page output -- + including hyphenation and justification, handling of links, + conversion of Unicode characters, and contents of man-page + headers and footers.

    +
    • +

      New options for globally disabling/enabling + hyphenation and justification: + man.justify and + man.hyphenate.

      +

      Note that the default + for the both of those is zero (off), because justified text + looks good only when it is also hyphenated; to quote the + Hyphenation node from the groff info page: +

      +

      Since the odds are not great for finding a + set of words, for every output line, which fit nicely on a + line without inserting excessive amounts of space between + words, `gtroff' hyphenates words so that it can justify + lines without inserting too much space between + words.

      +

      + The problem is that groff can end up hyphenating a lot of + things that you don't want hyphenated (variable names and + command names, for example). Keeping both justification and + hyphenation disabled ensures that hyphens won't get inserted + where you don't want to them, and you don't end up with + lines containing excessive amounts of space between + words. These default settings run counter to how most + existing man pages are formatted. But there are some notable + exceptions, such as the perl man pages.

      +
    • +

      Added parameters for controlling hyphenation of + computer inlines, filenames, and URLs. By default, even when + hyphenation is enabled (globally), hyphenation is now + suppressed for "computer inlines" (currently, just + classname, constant, envar, + errorcode, option, + replaceable, userinput, + type, and varname, and for + filenames, and for URLs from link. It + can be (re)enabled using the + man.hyphenate.computer.inlines, + man.hyphenate.filenames, and + man.hyphenate.urls parameters.

      +
    • +

      Implemented a new system for replacing Unicode + characters. There are two parts to the new system: a + string substitution map for doing + essential replacements, and a + character map that can optionally be disabled + and enabled.

      +

      The new system fixes all open bugs that had to do with + literal Unicode numbered entities such as &#8220; and + &#8221; showing up in output, and greatly expands the + ability of the stylesheets to generate good roff + equivalents for Unicode symbols and special + characters.

      +

      Here are some details...

      +

      The previous manpages mechanism for replacing Unicode + symbols and special characters with roff equivalents (the + replace-entities template) was not + scalable and not complete. The mechanism handled a somewhat + arbitrary selection of less than 20 or so Unicode + characters. But there are potentially more than + 800 Unicode special characters that + have some groff equivalent they can be mapped to. And there + are about 34 symbols in the Latin-1 (ISO-8859-1) block + alone. Users might reasonably expect that if they include + any of those Latin-1 characters in their DocBook source + documents, they will get correctly converted to known roff + equivalents in output.

      +

      In addition to those common symbols, certain users may + have a need to use symbols from other Unicode blocks. Say, + somebody who is documenting an application related to math + might need to use a bunch of symbols from the + Mathematical Operators Unicode block (there + are about 65 characters in that block that have reasonable + roff equivalents). Or somebody else might really like + Dingbats -- such as the checkmark character -- and so might + use a bunch of things from the Dingbat block + (141 characters in that that have roff equivalents or that + can at least be degraded somewhat gracefully + into roff).

      +

      So, the old replace-entities + mechanism was replaced with a completely different mechanism + that is based on use of two maps: a + substitution map and a character + map (the latter in a format compliant with the XSLT + 2.0 spec and therefore completely forward + compatible with XSLT 2.0).

      +

      The substitution map is controlled through the + man.string.subst.map parameter, and + is used to replace things like the backslash character + (which needs special handling to prevent it from being + interpreted as a roff escape). The substitution map cannot + be disabled, because disabling it will cause the output to + be broken. However, you can add to it and change it if + needed.

      + +

      The character map mechanism, on the + other hand, can be completely disabled. It is enabled by + default, and, by default, does replacement of all Latin-1 + symbols, along with most special spaces, dashes, and quotes + (about 75 characters by default). Also, you can optionally + enable a full character map that provides + support for converting all 800 or so of the characters that + have some reasonable groff equivalent.

      + +

      The character-map mechanism is controlled through the + following parameters: +

      man.charmap.enabled

      turns character-map support + on/off

      man.charmap.use.subset

      specifies that a subset of the character + map is used instead of the full map

      man.charmap.subset.profile

      specifies profile of character-map + subset

      man.charmap.uri

      specifies an alternate character map to + use instead of the standard character map + provided in the distribution

      +

      +
    • +

      Implemented out-of-line handling of display of URLs + for links (currently, only for ulink). This gives + you three choices for handling of links: +

      1. +

        Number and list links. Each link is numbered + inline, with a number in square brackets preceding the + link contents, and a numbered list of all links is added + to the end of the document.

        +
      2. +

        Only list links. Links are not numbered, but an + (unnumbered) list of links is added to the end of the + document.

        +
      3. +

        Suppress links. Don't number links and don't add + any list of links to the end of the document.

        +

      + You can also choose whether links should be underlined. The + default is the works -- list, number, and + underline links. You can use the + man.links.list.enabled, + man.links.are.numbered, and + man.links.are.underlined parameters + to change the defaults. The default heading for the link + list is REFERENCES. You can be change that using the + man.links.list.heading + parameter.

      +
    • +

      Changed default output encoding to UTF-8. This does not mean that man pages are output in + raw UTF-8, because the character map is applied + before final output, causing all UTF-8 characters covered in + the map to be converted to roff equivalents.

      +
    • +

      Added support for processing refsect3 and + formalpara and nested refsection + elements, down to any arbitrary level of nesting.

      +
    • +

      Output of the NAME and + SYNOPSIS and AUTHOR + headings and the headings for admonitions (note, + caution, etc.) are no longer hard-coded for + English. Instead, headings are generated for those in the + correct locale (just as the FO and HTML stylesheets + do).

      +
    • +

      Re-worked mechanism for assembling page + headers/footers (the contents of the .TH + macro title line).

      + +

      Here are some details...

      + +

      All man pages contain a .TH roff + macro whose contents are used for rendering the title + line displayed in the header and footer of each + page. Here are a couple of examples of real-world man pages + that have useful page headers/footers:

      +  gtk-options(7)    GTK+ User's Manual   gtk-options(7) <-- header
      +  GTK+ 1.2              2003-10-20       gtk-options(7) <-- footer
      +
      +  svgalib(7)       Svgalib User Manual       svgalib(7) <-- header
      +  Svgalib 1.4.1      16 December 1999        svgalib(7) <-- footer
      + +

      And here are the terms with which the + groff_man(7) man page refers to the + various parts of the header/footer:

      +  title(section)  extra3  title(section)  <- header
      +  extra2          extra1  title(section)  <- footer
      +

      Or, using the names with which the man(7) + man page refers to those same fields:

      +  title(section)  manual  title(section)  <- page header
      +  source          date    title(section)  <- page footer
      + +

      The easiest way to control the contents of those + fields is to mark up your refentry content like + the following (note that this is a minimal + example).

      +  <refentry>
      +    <info>
      +      <date>2003-10-20</date> 1
      +    </info>
      +    <refmeta>
      +      <refentrytitle>gtk-options</refentrytitle> 2
      +      <manvolnum>7</manvolnum> 3
      +      <refmiscinfo class="source-name">GTK+</refmiscinfo> 4
      +      <refmiscinfo class="version">1.2</refmiscinfo> 5
      +      <refmiscinfo class="manual">GTK+ User's Manual</refmiscinfo> 6
      +    </refmeta>
      +    <refnamediv>
      +      <refname>gtk-options</refname>
      +      <refpurpose>Standard Command Line Options for GTK+ Programs</refpurpose>
      +    </refnamediv>
      +    <refsect1>
      +      <title>Description</title>
      +      <para>This manual page describes the command line options, which
      +      are common to all GTK+ based applications.</para>
      +    </refsect1>
      +  </refentry>

      +

      1

      +

      Sets the date part of the header/footer.

      +

      2

      +

      Sets the title part.

      +

      3

      +

      Sets the section part.

      +

      4

      +

      Sets the source name part.

      +

      5

      +

      Sets the version part.

      +

      6

      +

      Sets the manual part.

      +

      +

      +

      Below are explanations of the steps the stylesheets + take to attempt to assemble and display + good headers and footer. [In the + descriptions, note that *info + is the refentry info child + (whatever its name), and + parentinfo is the + info child of its parent (again, whatever + its name).] +

      extra1 field (date)
      +

      Content of the extra1 field is + what shows up in the center + footer position of each page. The + man(7) man page describes it as + the date of the last revision.

      +

      To provide this content, if the + refentry.date.profile.enabled + is non-zero, the stylesheets check the value of + refentry.date.profile.

      +

      Otherwise, by default, they check for a + date or pubdate not only in the + *info contents, but also in + the parentinfo + contents.

      +

      If a date cannot be found, the stylesheets now + automatically generate a localized long + format date, ensuring that this field always + has content in output.

      +

      However, if for some reason you want to suppress + this field, you can do so by setting a non-zero value + for man.th.extra1.suppress.

      +
      extra2 field (source)
      +

      On Linux systems and on systems with a modern + groff, the content of the extra2 field + are what shows up in the left + footer position of each page.

      + +

      The man(7) man page describes + this as the source of the command, and + provides the following examples: +

      • +

        For binaries, use somwething like: GNU, + NET-2, SLS Distribution, MCC Distribution.

        +
      • +

        For system calls, use the version of the + kernel that you are currently looking at: Linux + 0.99.11.

        +
      • +

        For library calls, use the source of the + function: GNU, BSD 4.3, Linux DLL 4.4.1.

        +

      +

      + +

      In practice, there are many pages that simply + have a version number in the source + field. So, it looks like what we have is a two-part + field, + Name Version, + where: +

      Name
      +

      product name (e.g., BSD) or org. name + (e.g., GNU)

      +
      Version
      +

      version name

      +

      + Each part is optional. If the + Name is a product name, + then the Version is + probably the version of the product. Or there may be + no Name, in which case, if + there is a Version, it is + probably the version of the item itself, not the + product it is part of. Or, if the + Name is an organization + name, then there probably will be no + Version. +

      +

      To provide this content, if the + refentry.source.name.profile.enabled + and + refentry.version.profile.enabled + parameter are non-zero, the stylesheets check the + value of refentry.source.name.profile + refentry.version.profile.

      + +

      Otherwise, by default, they check the following + places, in the following order: +

      1. +
        *info/productnumber
        +
      2. +
        *info/productnumber
        +
      3. +
        refmeta/refmiscinfo[@class = 'version']
        +
      4. +
        parentinfo/productnumber
        +
      5. +
        *info/productname
        +
      6. +
        parentinfo/productname
        +
      7. +
        refmeta/refmiscinfo
        +
      8. +

        [nothing found, so leave it empty]

        +

      +

      +
      extra3 field
      +

      On Linux systems and on systems with a modern + groff, the content of the extra3 field + are what shows up in the center + header position of each page. Some man + pages have extra2 content, some + don't. If a particular man page has it, it is most + often context data about some larger + system the documented item belongs to (for example, + the name or description of a group of related + applications). The stylesheets now check the following + places, in the following order, to look for content to + add to the extra3 field.

      +
      1. +
        parentinfo/title
        +
      2. +
        parent's title
        +
      3. +
        refmeta/refmiscinfo
        +
      4. +

        [nothing found, so leave it empty]

        +
      +

      +

      +
    • +

      Reworked *info gathering. For + each refentry found, the stylesheets now cache its + *info content, then check for any + valid parent of it that might have metainfo content and cache + that, if found; they then then do all further matches against + those node-sets (rather than re-selecting the original + *info nodes each time they are + needed).

      +
    • +

      New option for breaking strings after forward + slashes. This enables long URLs and pathnames to be broken + across lines. Controlled through + man.break.after.slash parameter.

      +
    • +

      Output for servicemark and trademark are now + (SM) and (TM). There is + a groff "\(tm" escape, but output from that + is not acceptable.

      +
    • +

      New option for controlling the length of the title + part of the .TH title line. Controlled + through the man.th.title.max.length + parameter.

      +
    • +

      New option for specifying output encoding of each man + page; controlled with + man.output.encoding (similar to the + HTML chunker.output.encoding + parameter).

      +
    • +

      New option for suppressing filename messages when + generating output; controlled with + man.output.quietly (similar to the HTML + chunk.quietly parameter).

      +
    • +

      The text of cross-references to first-level + refentry (refsect1, top-level + refsection, refnamediv, and + refsynopsisdiv) are now capitalized.

      +
    • +

      Cross-references to refnamediv now use the + localized NAME title instead of using the + first refname child. This makes the output + inconsistent with HTML and FO output, but for man-page output, + it seems to make better sense to have the + NAME. (It may actually make better sense to + do it that way in HTML and FO output as well...)

      +
    • +

      Added support for processing funcparams.

      +
    • +

      Removed the space that was being output between + funcdef and paramdef; example: was: + float rand (void); now: + float rand(void)

      +
    • +

      Turned off bold formatting for the type + element when it occurs within a funcdef or + paramdef

      +
    • +

      Corrected rendering of simplelist. Any + <simplelist type="inline" instance + is now rendered as a comma-separated list (also with an + optional localized and or or before the last item -- see + description elsewhere in these release notes). Any simplelist + instance whose type is not + inline is rendered as a one-column vertical + list (ignoring the values of the type and columns attributes if present)

      +
    • +

      Comment added at top of roff source for each page now + includes DocBook XSL stylesheets version number (as in the + HTML stylesheets)

      +
    • +

      Made change to prevent sticky fonts + changes. Now, when the manpages stylesheets encounter node + sets that need to be boldfaced or italicized, they put the + \fBfoo\fR and \fIbar\fR + groff bold/italic instructions separately around each node in + the set.

      +
    • +

      synop.xsl: Boldface everything in + funcsynopsis output except parameters (which are in + ital). The man(7) man page says: +

      +

      For functions, the arguments are always specified + using italics, even in the SYNOPSIS section, where the rest + of the function is specified in bold.

      +

      + A look through the contents of the + man/man2 directory shows that most + (all) existing pages do follow this everything in + funcsynopsis bold rule. That means the + type content and any punctuation (parens, + semicolons, varargs) also must be bolded.

      +
    • +

      Removed code for adding backslashes before periods/dots + in roff source, because backslashes in front of periods/dots + in roff source are needed only in the very rare case where a + period is the very first character in a line, without any + space in front of it. A better way to deal with that rare case + is for you to add a zero-width space in front of the offending + dot(s) in your source

      +
    • +

      Removed special handling of the quote + element. That was hard-coded to cause anything marked up with + the quote element to be output preceded by two + backticks and followed by two apostrophes -- that is, that + old-school kludge for generating curly quotes in Emacs and + in X-Windows fonts. While Emacs still seems to support that, I + don't think X-Windows has for a long time now. And, anyway, it + looks (and has always looked) like crap when viewed on a + normal tty/console. In addition, it breaks localiztion of + quote. By default, quote content is + output with localized quotation marks, which, depending on the + locale, may or may not be left and right double quotation + marks.

      +
    • +

      Changed mappings for left and right single quotation + marks. Those had previously been incorrectly mapped to the + backtick (&#96;) and apostrophe (&39;) characters (for + kludgy reasons -- see above). They are now correctly mapped to + the \(oq and \(cq roff + escapes. If you want the old (broken) behavior, you need to + manually change the mappings for those in the value of the + man.string.subst.map parameter.

      +
    • +

      Removed xref.xsl file. Now, of the + various cross-reference elements, only the ulink + element is handled differently; the rest are handled exactly + as the HTML stylesheets handle them, except that no hypertext + links are generated. (Because there is no equivalent hypertext + mechanism is man pages.)

      +
    • +

      New option for making subheading dividers in generated + roff source. The dividers are not visible in the rendered man + page; they are just there to make the source + readable. Controlled using + man.subheading.divider.

      +
    • +

      Fixed many places where too much space was being added + between lines.

      +
    + +
    +
    + + +

    Release 1.68.1

    + +

    The release adds localization support for Farsi (thanks to + Sina Heshmati) and improved support for the XLink-based DocBook NG + db:link element. Other than that, it is a minor + bug-fix update to the 1.68.0 release. The main thing it fixes is a + build error that caused the XSLT Java extensions to be jarred up + with the wrong package structure. Thanks to Jens Stavnstrup for + quickly reporting the problem, and to Mauritz Jeanson for + investigating and finding the cause.

    +
    + + +

    Release 1.68.0

    + +

    This release includes some features changes, particularly + for FO/PDF output, and a number of bug fixes. +

    FO

    • +

      Moved footnote properties to attribute-sets.

      +
    • +

      Added support for side floats, margin notes, and + custom floats.

      +
    • +

      Added new parameters + body.start.indent and + body.end.indent to the + set.flow.properties template.

      +
    • +

      Added support for xml:id

      +
    • +

      Added support for + refdescriptor.

      +
    • +

      Added support for multiple refnamedivs.

      +
    • +

      Added index.entry.properties + attribute-set to support customization of index + entries.

      +
    • +

      Added set.flow.properties + template call to each fo:flow + to support customizations entry point.

      +
    • +

      Add support for @floatstyle in + figure

      +
    • +

      Moved hardcoded properties for index division titles + to the index.div.title.properties + attribute-set.

      +
    • +

      Added support for + table-layout="auto" for XEP.

      +
    • +

      Added index.div.title.properties + attribute-set.

      +
    • +

      $verbose parameter is now + passed to most elements.

      +
    • +

      Added refentry to + toc in part, as it is + permitted by the DocBook schema/DTD.

      +
    • +

      Added backmatter elements and + article to toc in + part, since they are permitted by the + DocBook schema/DTD.

      +
    • +

      Added mode="toc" for + simplesect, since it is now permitted in + the toc if + simplesect.in.toc is set.

      +
    • +

      Moved hard-coded properties to + nongraphical.admonintion.properties + and graphical.admonition.properties + attribute sets.

      +
    • +

      Added support for sidebar-width and + float-type processing instructions in + sidebar.

      +
    • +

      For tables with HTML markup elements, added support + for dbfo bgcolor PI, the attribute-sets + named table.properties, + informaltable.properties, + table.table.properties, and + table.cell.padding. Also added + support for the templates named + table.cell.properties and + table.cell.block.properties so that + tabstyles can be implemented. Also added support for tables + containing only tr instead of + tbody with tr.

      +
    • +

      Added new paramater + hyphenate.verbatim.characters which + can specify characters after which a line break can occur in + verbatim environments. This parameter can be used to extend + the initial set of characters which contain only space and + non-breakable space.

      +
    • +

      Added itemizedlist.label.markup to enable + selection of different bullet symbol. Also added several + potential bullet characters, commented out by default.

      +
    • +

      Enabled all id's in XEP output for external olinking.

      +

    + +

    HTML

    +

    Images

    • +

      Added new SVG admonition graphics and navigation images.

      +

    +

    +
    + + +

    Release 1.67.2

    + +

    This release fixes a table bug introduced in the 1.67.1 + release.

    +
    +

    Release 1.67.1

    + +

    This release includes a number of bug fixes.

    +

    The following lists provide details about API and feature changes. +

    FO

    • +

      Tables: Inherited cell properties are now passed to the + table.cell.properties template so they can + be overridden by a customization.

      +
    • +

      Tables: Added support for bgcolor PI on table row + element.

      +
    • +

      TOCs: Added new parameter + simplesect.in.toc; default value of + 0 causes simplesect to be omitted from TOCs; to + cause simplesect to be included in TOCs, you + must set the value of simplesect.in.toc to + 1.Comment from Norm: + +

      +

      Simplesect elements aren't supposed to + appear in the ToC at all... The use case for simplesect + is when, for example, every chapter in a book ends with + "Exercises" or "For More Information" sections and you + don't want those to appear in the ToC.

      +

      +

      +
    • +

      Sections: Reverted change that caused a variable reference + to be used in a template match and rewrote code to preserve + intended semantics.

      +
    • +

      Lists: Added workaround to prevent "* 0.60 + 1em" garbage in + list output from PassiveTeX

      +
    • +

      Moved the literal attributes from + component.title to the + component.title.properties attribute-set so + they can be customized.

      +
    • +

      Lists: Added glossdef's first + para to special handling in + fo:list-item-body.

      +

    + +

    HTML

    +

    HTML Help

    • +

      Added support for generating windows-1252-encoded + output using Saxon; for more details, see the list of XSL Java extensions changes for this release.

      +

    +

    man pages

    • +

      Replaced named/numeric character-entity references for + non-breaking space with groff equivalent (backslash-tilde).

      +

    +

    XSL Java extensions

    • +

      Saxon extensions: Added the + Windows1252 class. It extends Saxon + 6.5.x with the windows-1252 character set, which is + particularly useful when generating HTML Help for Western + European Languages (code from + Pontus Haglund and contributed to the + DocBook community by Sectra AB, Sweden).

      +

      To use: +

      1. +

        Make sure that the Saxon 6.5.x jar file and the jar file for + the DocBook XSL Java extensions are in your CLASSPATH

        +
      2. +

        Create a DocBook XSL customization layer -- a file named + mystylesheet.xsl or whatever -- that, at a + minimum, contains the following: +

          <xsl:stylesheet
        +    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        +    version='1.0'>
        +    <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
        +    <xsl:output method="html" encoding="WINDOWS-1252" indent="no"/>
        +    <xsl:param name="htmlhelp.encoding" select="'WINDOWS-1252'"></xsl:param>
        +    <xsl:param name="chunker.output.encoding" select="'WINDOWS-1252'"></xsl:param>
        +    <xsl:param name="saxon.character.representation" select="'native'"></xsl:param>
        +  </xsl:stylesheet>

        +

        +

        Invoke Saxon with the + encoding.windows-1252 Java system property set + to com.nwalsh.saxon.Windows1252; for example +

          java \
        +    -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
        +  com.icl.saxon.StyleSheet \
        +  mydoc.xml mystylesheet.xsl

        + + Or, for a more complete "real world" case showing other + options you'll typically want to use: +

          java \
        +    -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
        +    -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
        +    -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
        +    -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \
        +  com.icl.saxon.StyleSheet \
        +    -x org.apache.xml.resolver.tools.ResolvingXMLReader \
        +    -y org.apache.xml.resolver.tools.ResolvingXMLReader \
        +    -r org.apache.xml.resolver.tools.CatalogResolver \
        +  mydoc.xml mystylesheet.xsl

        + + In both cases, the "mystylesheet.xsl" file should be a + DocBook customization layer containing the parameters + show in step 2.

        +

      +

      +
    • +

      Saxon extensions: Removed Saxon 8 extensions from release package

      +

    +

    +
    +

    Release 1.67.0

    + +
    • +

      A number of important bug fixes.

      +
    • +

      Added Saxon8 extensions

      +
    • +

      Enabled dbfo table-width on + entrytbl in FO output

      +
    • +

      Added support for role=strong on + emphasis in FO output

      +
    • +

      Added new FO parameter + hyphenate.verbatim that can be used to turn + on "intelligent" wrapping of verbatim environments.

      +
    • +

      Replaced all <tt></tt> output with + <code></code>

      +
    • +

      Changed admon.graphic.width template to a + mode so that different admonitions can have different graphical + widths.

      +
    • +

      Deprecated the HTML shade.verbatim + parameter (use CSS instead)

      +
    • +

      Wrapped ToC + refentrytitle/refname and + refpurpose in span with class values. This + makes it possible to style them using a CSS stylesheet.

      +
    • +

      Use strong/em instead of + b/i in HTML output

      +
    • +

      Added support for converting Emphasis to + groff italic and Emphasis role='bold' to + bold. Controlled by + emphasis.propagates.style param, but not + documented yet using litprog system. Will do that next (planning + to add some other parameter-controllable options for hyphenation + and handling of line spacing).

      +
    • +

      callout.graphics.number.limit.xml + param: Changed the default from 10 to + 15.

      +
    • +

      verbatim.properties: Added + hyphenate=false

      +
    • +

      Saxon and Xalan Text.java extensions: Added support for + URIResolver() on insertfile href's

      +
    • +

      Added generated RELEASE-NOTES.txt + file.

      +
    • +

      Added INSTALL file (executable file for + generating catalog.xml)

      +
    • +

      Removed obsolete tools directory from + package

      +
    +
    +

    Release 1.66.1

    + +
    • +

      A number of important bug fixes. +

      +
    • +

      +Now xml:base attributes that are generated by an +XInclude processor are resolved for image files. +

      +
    • +

      +Rewrote olink templates to support several new features. +

      +
      +
    • +

      +Added index.on.type parameter for new type +attribute introduced in DocBook 4.3 for indexterms and index. +This allows you to create multiple indices containing +different categories of entries. +For users of 4.2 and earlier, you can use the new parameter index.on.role +instead. +

      +
    • +

      +Added new +section.autolabel.max.depth parameter to turn off section numbering +below a certain depth. +This permits you to number major section levels and leave minor +section levels unnumbered.

      +
    • +

      +Added footnote.sep.leader.properties attribute set to format +the line separating footnotes in printed output. +

      +
    • +

      +Added parameter img.src.path as a prefix to HTML img src +attributes. +The prefix is added to whatever path is already generated by the +stylesheet for each image file.

      +
    • +

      +Added new attribute-sets +informalequation.properties, +informalexample.properties, +informalfigure.properties, and informaltable.properties, +so each such element type can be formatted +individually if needed. +

      +
    • +

      +Add component.label.includes.part.label +parameter to add any part number to chapter, appendix +and other component labels when +the label.from.part parameter is nonzero. +This permits you to distinguish multiple chapters with the same +chapter number in cross references and the TOC.

      +
    • +

      +Added chunk.separate.lots parameter for HTML output. +This parameter lets you generate separate chunk files for each LOT +(list of tables, list of figures, etc.).

      +
    • +

      Added several table features:

      +
      • +

        +Added table.table.properties attribute set to add +properties to the fo:table element. +

        +
      • +

        +Added placeholder templates named table.cell.properties +and table.cell.block.properties to enable adding properties +to any fo:table-cell or the cell's fo:block, respectively. + These templates are a start for implementing table styles.

        +
      +
    • +

      +Added new attribute +set component.title.properties for easy modifications of +component's title formatting in FO output. +

      +
    • +

      +Added Saxon support for an encoding attribute on the textdata element. Added new parameter +textdata.default.encoding which specifies encoding when +encoding attribute on +textdata is missing. +

      +
    • +

      +Template label.this.section now controls whole +section label, not only sub-label which corresponds to +particular label. Former behaviour was IMHO bug as it was +not usable. +

      +
    • +

      +Formatting in titleabbrev for TOC and headers +is preserved when there are no hotlink elements in the title. Formerly the title showed only the text of the title, no font changes or other markup. +

      +
    • +

      +Added intial.page.number template to set the initial-page-number +property for page sequences in print output. +Customizing this template lets you change when page numbering restarts. This is similar to the format.page.number template that lets you change how the page number formatting changes in the output. +

      +
    • +

      +Added force.page.count template to set the force-page-count +property for page sequences in print output. +This is similar to the format.page.number template. +

      +
    • +

      +Sort language for localized index sorting in autoidx-ng.xsl is now taken from document +lang, not from system environment. +

      +
    • +

      +Numbering and formatting of normal +and ulink footnotes (if turned on) has been unified. +Now ulink footnotes are mixed in with any other footnotes.

      +
    • +

      +Added support for renderas attribute in section and +sect1 et al. +This permits you to render a given section title as if it were a different level.

      +
    • +

      +Added support for label attribute in footnote to manually +supply the footnote mark. +

      +
    • +

      +Added support for DocBook 4.3 corpcredit element. +

      +
    • +

      +Added support for a dbfo keep-together PI for +formal objects (table, figure, example, equation, programlisting). That permits a formal object to be kept together if it is not already, or to be broken if it +is very long and the +default keep-together is not appropriate. +

      +
    • +

      +For graphics files, made file extension matching case +insensitive, and updated the list of graphics extensions. +

      +
    • +

      +Allow calloutlist to have block content before +the first callout +

      +
    • +

      +Added dbfo-need processing instruction to provide +soft page breaks. +

      +
    • +

      +Added implementation of existing but unused +default.image.width parameter for graphics. +

      +
    • +

      +Support DocBook NG tag inline element. +

      +
    • +

      +It appears that XEP now supports Unicode characters in +bookmarks. There is no further need to strip accents from +characters. +

      +
    • +

      +Make segmentedlist HTML markup +more semantic and available to CSS styles. +

      +
    • +

      +Added user.preroot placeholder template to +permit xsl-stylesheet and other PIs and comments to be +output before the HTML root element. +

      +
    • +

      +Non-chunked legalnotice now gets an <a +name="id"> element in HTML output +so it can be referenced with xref or link. +

      +
    • +

      +In chunked HTML output, changed link rel="home" to rel="start", +and link rel="previous" to rel="prev", per W3C HTML 4.01 +spec. +

      +
    • +

      +Added several patches to htmlhelp from W. Borgert +

      +
    • +

      +Added Bosnian locale file as common/bs.xml. +

      +
    +
    +

    Release 1.65.0

    + +
    • +

      A number of important bug fixes. +

      +
    • +

      Added a workaround to allow these stylesheets to process DocBook NG +documents. (It’s a hack that pre-processes the document to strip off the +namespace and then uses exsl:node-set to process +the result.) +

      +
    • +

      Added alternative indexing mechanism which has better +internationalization support. New indexing method allows grouping of +accented letters like e, é, ë into the same group under letter "e". It +can also treat special letters (e.g. "ch") as one character and place +them in the correct position (e.g. between "h" and "i" in Czech +language).

      +

      In order to use this mechanism you must create customization +layer which imports some base stylesheet (like +fo/docbook.xsl, +html/chunk.xsl) and then includes appropriate +stylesheet with new indexing code +(fo/autoidx-ng.xsl or +html/autoidx-ng.xsl). For example:

      +
      <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      +                version="1.0">
      +
      +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
      +<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/fo/autoidx-ng.xsl"/>
      +
      +</xsl:stylesheet>
      +

      New method is known to work with Saxon and it should also work +with xsltproc 1.1.1 and later. Currently supported languages are +English, Czech, German, French, Spanish and Danish.

      +
    +
    +

    Release 1.64.1

    + +

    General bug fixes and improvements. Sorry about the failure to produce +an updated release notes file for 1.62.0—1.63.2

    • +

      In the course of fixing bug #849787, wrapping Unicode callouts +with an appropriate font change in the Xalan extensions, I discovered +that the Xalan APIs have changed a bit. So xalan2.jar +will work with older Xalan 2 implementations, xalan25.jar +works with Xalan 2.5.

      +
    +
    +

    Release 1.61.0

    + +

    Lots of bug fixes and improvements.

    • +

      Initial support for timestamp PI. From now you + can use <?dbtimestamp format="Y-m-d H:M:S"?> to get current + datetime in your document. Added localization support for datetime PI +

      +
    • +

      Added level 6 to test for section depth in +section.level template so that +section.title.level6.properties will be used for sections +that are 6 deep or deeper. This should also cause a h6 to be +created in html output. +

      +
    • +

      Don't use SVG graphics if use.svg=0 +

      +
    • +

      Now uses number-and-title-template for sections + only if section.autolabel is not zero. +

      +
    • +

      Added missing 'english-language-name' attribute to +the l10n element, and the missing 'style' attribute to the +template element so the current gentext documents will +validate. +

      +
    • +

      Corrected several references to parameter + qanda.defaultlabel that were missing the "$". +

      +
    • +

      Now accepts admon.textlabel parameter to turn off + Note, Warning, etc. label. +

      +
    • +

      FeatReq #684561: support more XEP metadata +

      +
    • +

      Added hyphenation support. Added support for coref. +Added beginpage support. (does nothing; see TDG). +

      +
    • +

      Added support for +hyphenation-character, hyphenation-push-character-count, and +hyphenation-remain-character-count +

      +
    • +

      Added root.properties, +ebnf.assignment, +and ebnf.statement.terminator +

      +
    • +

      Support bgcolor PI in table cells; make sure +rowsep and colsep don't have any effect on the last row or +column +

      +
    • +

      Handle othercredit on titlepage a little +better +

      +
    • +

      Applied fix from Jeff Beal that fixed the bug +that put secondary page numbers on primary entries. Same +with tertiary page numbers on secondary entries. +

      +
    • +

      Added definition of missing variable +collection. +

      +
    • +

      Make footnote formatting 'normal' even when it +occurs in a context that has special formatting +

      +
    • +

      Added warning when glossary.collection is not +blank, but it cannot open the specified file. +

      +
    • +

      Pick up the frame attribute on table and +informaltable. +

      +
    • +

      indexdiv/title +in non-autogenerated indexes are +now picked up. +

      +
    • +

      Removed (unused) +component.title.properties +

      +
    • +

      Move IDs from +page-sequences down to titlepage blocks +

      +
    • +

      Use +proportional-column-width(1) on more tables. +

      +

      Use proportional-column-width() for +header/footer tables; suppress relative-align when when +using FOP +

      +
    • +

      Check for glossterm.auto.link when linking +firstterms; don't output gl. prefix on glossterm links +

      +
    • +

      Generate Part ToCs +

      +
    • +

      Support glossary, bibliography, +and index in component ToCs. +

      +
    • +

      Refactored chunking code so that +customization of chunk algorithm and chunk elements is more +practical +

      +
    • +

      Support textobject/phrase +on inlinemediaobject. +

      +
    • +

      Support 'start' PI on ordered lists +

      +
    • +

      Fixed test of $toc PI to turn on qandaset TOC. +

      +
    • +

      Added process.chunk.footnotes to sect2 through +5 to fix bug of missing footnotes when chunk level greater +than 1. +

      +
    • +

      Added +paramater toc.max.depth which controls maximal depth of ToC +as requested by PHP-DOC group. +

      +
    • +

      Exempted titleabbrev from preamble processing in +lists, and fixed variablelist preamble code to use the same +syntax as the other lists. +

      +
    • +

      Added support for elements between variablelist +and first varlistentry since DocBook 4.2 supports that now. +

      +
    +
    +

    Release 1.60.1

    + +

    Lots of bug fixes.

    • +

      The format of the titlepage.templates.xml files and +the stylesheet that transforms them have been significantly changed. All of the +attributes used to control the templates are now namespace qualified. So what +used to be:

      +
      <t:titlepage element="article" wrapper="fo:block">
      +

      is now:

      +
      <t:titlepage t:element="article" t:wrapper="fo:block">
      +

      Attributes from other namespaces (including those that are unqualified) are +now copied directly through. In practice, this means that the names that used +to be fo: qualified:

      +
      <title named-template="component.title"
      +       param:node="ancestor-or-self::article[1]"
      +       fo:text-align="center"
      +       fo:keep-with-next="always"
      +       fo:font-size="&hsize5;"
      +       fo:font-weight="bold"
      +       fo:font-family="{$title.font.family}"/>
      +

      are now unqualified:

      +
      <title t:named-template="component.title"
      +       param:node="ancestor-or-self::article[1]"
      +       text-align="center"
      +       keep-with-next="always"
      +       font-size="&hsize5;"
      +       font-weight="bold"
      +       font-family="{$title.font.family}"/>
      +

      The t:titlepage and t:titlepage-content +elements both generate wrappers now. And unqualified attributes on those elements +are passed through. This means that you can now make the title font apply to +ane entire titlepage and make the entire recto +titlepage centered by specifying the font and alignment on the those elements:

      +
      <t:titlepage t:element="article" t:wrapper="fo:block"
      +             font-family="{$title.font.family}">
      +
      +  <t:titlepage-content t:side="recto"
      +             text-align="center">
      + + + + + +
    • +

      Support use of titleabbrev in running +headers and footers. +

      +
    • +

      Added (experimental) xref.with.number.and.title +parameter to enable number/title cross references even when the +default would +be just the number. +

      +
    • +

      Generate part ToCs if they're requested. +

      +
    • +

      Use proportional-column-width() in header/footer tables. +

      +
    • +

      Handle alignment correctly when screenshot +wraps a graphic in a figure. +

      +
    • +

      Format chapter and appendix +cross references consistently. +

      +
    • +

      Attempt to support tables with multiple tgroups +in FO. +

      +
    • +

      Output fo:table-columns in +simplelist tables. +

      +
    • +

      Use titlepage.templates.xml for +indexdiv and glossdiv formatting. +

      +
    • +

      Improve support for new bibliography elements. +

      +
    • +

      Added +footnote.number.format, +table.footnote.number.format, +footnote.number.symbols, and +table.footnote.number.symbols for better control of +footnote markers. +

      +
    • +

      Added glossentry.show.acronyms. +

      +
    • +

      Suppress the draft-mode page masters when +draft-mode is no. +

      +
    • +

      Make blank pages verso not recto. D'Oh! +

      +
    • +

      Improved formatting of ulink footnotes. +

      +
    • +

      Fixed bugs in graphic width/height calculations. +

      +
    • +

      Added class attributes to inline elements. +

      +
    • +

      Don't add .html to the filenames identified +with the dbhtml PI. +

      +
    • +

      Don't force a ToC when sections contain refentrys. +

      +
    • +

      Make section title sizes a function of the +body.master.size. +

      +
    +
    +

    Release 1.59.2

    + +

    The 1.59.2 fixes an FO bug in the page masters that causes FOP to fail. +

    • +

      Removed the region-name from the region-body of blank pages. There's +no reason to give the body of blank pages a unique name and doing so causes +a mismatch that FOP detects. +

      +
    • +

      Output IDs for the first paragraphs in listitems. +

      +
    • +

      Fixed some small bugs in the handling of page numbers in double-sided mode. +

      +
    • +

      Attempt to prevent duplicated IDs from being produced when +endterm on xref points +to something with nested structure. +

      +
    • +

      Fix aligment problems in equations. +

      +
    • +

      Output the type attribute on unordered lists (UL) in HTML only if +the css.decoration parameter is true. +

      +
    • +

      Calculate the font size in formal.title.properties so that it's 1.2 times +the base font size, not a fixed "12pt". +

      +
    +
    +

    Release 1.59.1

    + +

    The 1.59.1 fixes a few bugs. +

    • +

      Added Bulgarian localization. +

      +
    • +

      Indexing improvements; localize book indexes to books but allow setindex +to index an entire set. +

      +
    • +

      The default value for rowsep and colsep is now "1" as per CALS. +

      +
    • +

      Added support for titleabbrev (use them for cross +references). +

      +
    • +

      Improvements to mediaobject for selecting print vs. online +images. +

      +
    • +

      Added seperate property sets for figures, +examples, equations, tabless, +and procedures. +

      +
    • +

      Make lineannotations italic. +

      +
    • +

      Support xrefstyle attribute. +

      +
    • +

      Make endterm on +xref higher priority than +xreflabel target. +

      +
    • +

      Glossary formatting improvements. +

      +
    +
    +

    Release 1.58.0

    + +

    The 1.58.0 adds some initial support for extensions in xsltproc, adds +a few features, and fixes bugs. +

    • +

      This release contains the first attempt at extension support for xsltproc. +The only extension available to date is the one that adjusts table column widths. +Run extensions/xsltproc/python/xslt.py. +

      +
    • +

      Fixed bugs in calculation of adjusted column widths to correct for rounding +errors. +

      +
    • +

      Support nested refsection elements correctly. +

      +
    • +

      Reworked gentext.template to take context into consideration. +The name of elements in localization files is now an xpath-like context list, not +just a simple name. +

      +
    • +

      Made some improvements to bibliography formatting. +

      +
    • +

      Improved graphical formatting of admonitions. +

      +
    • +

      Added support for entrytbl. +

      +
    • +

      Support spanning index terms. +

      +
    • +

      Support bibliosource. +

      +
    +
    +

    Release 1.57.0

    + +
    • +

      The 1.57.0 release wasn't documented here. Oops. +

      +
    +
    +

    Release 1.56.0

    + +

    The 1.56.0 release fixes bugs. +

    • +

      Reworked chunking. This will break all existing customizations +layers that change the chunking algorithm. If you're customizing chunking, +look at the new content parameter that's passed to +process-chunk-element and friends. +

      +
    • +

      Support continued and inherited numeration in orderedlist +formatting for FOs. +

      +
    • +

      Added Thai localization. +

      +
    • +

      Tweaked stylesheet documentation stylesheets to link to TDG and +the parameter references. +

      +
    • +

      Allow title on tables of contents ("Table of Contents") to be optional. +Added new keyword to generate.toc. +Support tables of contents on sections. +

      +
    • +

      Made separate parameters for table borders and table cell borders: +table.frame.border.color, +table.frame.border.style, +table.frame.border.thickness, +table.cell.border.color, +table.cell.border.style, and +table.cell.border.thickness. +

      +
    • +

      Suppress formatting of endofrange indexterms. +This is only half-right. They should generate a range, but I haven't figured out how +to do that yet. +

      +
    • +

      Support revdescription. (Bug #582192) +

      +
    • +

      Added default.float.class and fixed figure +floats. (Bug #497603) +

      +
    • +

      Fixed formatting of sbr in FOs. +

      +
    • +

      Added context to the missing template error message. +

      +
    • +

      Process arg correctly in a group. +(Bug #605150) +

      +
    • +

      Removed 'keep-with-next' from formal.title.properties +attribute set now that the stylesheets support the option of putting +such titles below the object. Now the $placement value determines if +'keep-with-next' or 'keep-with-previous' is used in the title block. +

      +
    • +

      Wrap url() around external-destinations when appropriate. +

      +
    • +

      Fixed typo in compact list spacing. (Bug #615464) +

      +
    • +

      Removed spurious hash in anchor name. (Bug #617717) +

      +
    • +

      Address is now displayed verbatim on title pages. (Bug #618600) +

      +
    • +

      The bridgehead.in.toc parameter is now properly +supported. +

      +
    • +

      Improved effectiveness of HTML cleanup by increasing the number +of places where it is used. Improve use of HTML cleanup in XHTML stylesheets. +

      +
    • +

      Support table of contents for appendix in +article. (Bug #596599) +

      +
    • +

      Don't duplicate footnotes in bibliographys and +glossarys. (Bug #583282) +

      +
    • +

      Added default.image.width. (Bug #516859) +

      +
    • +

      Totally reworked funcsynopsis code; it now +supports a 'tabular' presentation style for 'wide' prototypes; see +funcsynopsis.tabular.threshold. (HTML only +right now, I think, FO support, uh, real soon now.) +

      +
    • +

      Reworked support for difference marking; toned down the colors a bit +and added a system.head.content template so that the diff CSS +wasn't overriding user.head.content. (Bug #610660) +

      +
    • +

      Added call to the *.head.content elements when writing +out long description chunks. +

      +
    • +

      Make sure legalnotice link is correct even when +chunking to a different base.dir. +

      +
    • +

      Use CSS to set viewport characteristics if +css.decoration is non-zero, use div instead of p for making +graphic a block element; make figure titles the +default alt +text for images in a figure.

      +
    • +

      Added space-after to list.block.spacing. +

      +
    • +

      Reworked section.level template to give correct answer +instead of being off by one. +

      +
    • +

      When processing tables, use the tabstyle +attribute as the division class. +

      +
    • +

      Fixed bug in html2xhtml.xsl that was causing the +XHTML chunker to output HTML instead of XHTML. +

      +
    +
    +

    Older releases

    + +

    To view the release notes for older releases, see http://cvs.sourceforge.net/viewcvs.py/docbook/xsl/RELEASE-NOTES.xml. Be + aware that there were no release notes for releases prior to the + 1.50.0 release.

    +
    +

    About dot-zero releases

    + +

    DocBook Project “dot zero” releases should be + considered experimental and are always + followed by stable “dot one plus” releases, usually within + two or three weeks. Please help to ensure the stability of + “dot one plus” releases by carefully testing each + “dot zero” release and reporting back about any + problems you find.

    +

    It is not recommended that you use a “dot zero” + release in a production system. Instead, you should wait for + the “dot one” or greater versions.

    +
    +
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.pdf b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.pdf new file mode 100644 index 0000000000..75c2d2126c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.pdf @@ -0,0 +1,33022 @@ +%PDF-1.4 +%ÐÔÅØ +1 0 obj +<< /S /GoTo /D (section.1) >> +endobj +4 0 obj +(Release Notes: snapshot\1379372) +endobj +5 0 obj +<< /S /GoTo /D (subsection.1.1) >> +endobj +8 0 obj +(Gentext) +endobj +9 0 obj +<< /S /GoTo /D (subsection.1.2) >> +endobj +12 0 obj +(Common) +endobj +13 0 obj +<< /S /GoTo /D (subsection.1.3) >> +endobj +16 0 obj +(FO) +endobj +17 0 obj +<< /S /GoTo /D (subsection.1.4) >> +endobj +20 0 obj +(HTML) +endobj +21 0 obj +<< /S /GoTo /D (subsection.1.5) >> +endobj +24 0 obj +(Manpages) +endobj +25 0 obj +<< /S /GoTo /D (subsection.1.6) >> +endobj +28 0 obj +(Epub) +endobj +29 0 obj +<< /S /GoTo /D (subsection.1.7) >> +endobj +32 0 obj +(HTMLHelp) +endobj +33 0 obj +<< /S /GoTo /D (subsection.1.8) >> +endobj +36 0 obj +(Eclipse) +endobj +37 0 obj +<< /S /GoTo /D (subsection.1.9) >> +endobj +40 0 obj +(JavaHelp) +endobj +41 0 obj +<< /S /GoTo /D (subsection.1.10) >> +endobj +44 0 obj +(Roundtrip) +endobj +45 0 obj +<< /S /GoTo /D (subsection.1.11) >> +endobj +48 0 obj +(Slides) +endobj +49 0 obj +<< /S /GoTo /D (subsection.1.12) >> +endobj +52 0 obj +(Website) +endobj +53 0 obj +<< /S /GoTo /D (subsection.1.13) >> +endobj +56 0 obj +(Webhelp) +endobj +57 0 obj +<< /S /GoTo /D (subsection.1.14) >> +endobj +60 0 obj +(Params) +endobj +61 0 obj +<< /S /GoTo /D (subsection.1.15) >> +endobj +64 0 obj +(Highlighting) +endobj +65 0 obj +<< /S /GoTo /D (subsection.1.16) >> +endobj +68 0 obj +(Profiling) +endobj +69 0 obj +<< /S /GoTo /D (subsection.1.17) >> +endobj +72 0 obj +(Lib) +endobj +73 0 obj +<< /S /GoTo /D (subsection.1.18) >> +endobj +76 0 obj +(Template) +endobj +77 0 obj +<< /S /GoTo /D (subsection.1.19) >> +endobj +80 0 obj +(Extensions) +endobj +81 0 obj +<< /S /GoTo /D (subsection.1.20) >> +endobj +84 0 obj +(XSL-Saxon) +endobj +85 0 obj +<< /S /GoTo /D (section.2) >> +endobj +88 0 obj +(Release Notes: 1.77.0) +endobj +89 0 obj +<< /S /GoTo /D (subsection.2.1) >> +endobj +92 0 obj +(Gentext) +endobj +93 0 obj +<< /S /GoTo /D (subsection.2.2) >> +endobj +96 0 obj +(Common) +endobj +97 0 obj +<< /S /GoTo /D (subsection.2.3) >> +endobj +100 0 obj +(FO) +endobj +101 0 obj +<< /S /GoTo /D (subsection.2.4) >> +endobj +104 0 obj +(HTML) +endobj +105 0 obj +<< /S /GoTo /D (subsection.2.5) >> +endobj +108 0 obj +(Epub) +endobj +109 0 obj +<< /S /GoTo /D (subsection.2.6) >> +endobj +112 0 obj +(HTMLHelp) +endobj +113 0 obj +<< /S /GoTo /D (subsection.2.7) >> +endobj +116 0 obj +(Eclipse) +endobj +117 0 obj +<< /S /GoTo /D (subsection.2.8) >> +endobj +120 0 obj +(JavaHelp) +endobj +121 0 obj +<< /S /GoTo /D (subsection.2.9) >> +endobj +124 0 obj +(Webhelp) +endobj +125 0 obj +<< /S /GoTo /D (subsection.2.10) >> +endobj +128 0 obj +(Params) +endobj +129 0 obj +<< /S /GoTo /D (subsection.2.11) >> +endobj +132 0 obj +(Highlighting) +endobj +133 0 obj +<< /S /GoTo /D (subsection.2.12) >> +endobj +136 0 obj +(Profiling) +endobj +137 0 obj +<< /S /GoTo /D (subsection.2.13) >> +endobj +140 0 obj +(Lib) +endobj +141 0 obj +<< /S /GoTo /D (subsection.2.14) >> +endobj +144 0 obj +(Template) +endobj +145 0 obj +<< /S /GoTo /D (subsection.2.15) >> +endobj +148 0 obj +(Extensions) +endobj +149 0 obj +<< /S /GoTo /D (subsection.2.16) >> +endobj +152 0 obj +(XSL-Saxon) +endobj +153 0 obj +<< /S /GoTo /D (section.3) >> +endobj +156 0 obj +(Release Notes: 1.76.1) +endobj +157 0 obj +<< /S /GoTo /D (subsection.3.1) >> +endobj +160 0 obj +(FO) +endobj +161 0 obj +<< /S /GoTo /D (subsection.3.2) >> +endobj +164 0 obj +(HTML) +endobj +165 0 obj +<< /S /GoTo /D (subsection.3.3) >> +endobj +168 0 obj +(Params) +endobj +169 0 obj +<< /S /GoTo /D (section.4) >> +endobj +172 0 obj +(Release Notes: 1.76.0) +endobj +173 0 obj +<< /S /GoTo /D (subsection.4.1) >> +endobj +176 0 obj +(Gentext) +endobj +177 0 obj +<< /S /GoTo /D (subsection.4.2) >> +endobj +180 0 obj +(Common) +endobj +181 0 obj +<< /S /GoTo /D (subsection.4.3) >> +endobj +184 0 obj +(FO) +endobj +185 0 obj +<< /S /GoTo /D (subsection.4.4) >> +endobj +188 0 obj +(HTML) +endobj +189 0 obj +<< /S /GoTo /D (subsection.4.5) >> +endobj +192 0 obj +(Manpages) +endobj +193 0 obj +<< /S /GoTo /D (subsection.4.6) >> +endobj +196 0 obj +(Epub) +endobj +197 0 obj +<< /S /GoTo /D (subsection.4.7) >> +endobj +200 0 obj +(Eclipse) +endobj +201 0 obj +<< /S /GoTo /D (subsection.4.8) >> +endobj +204 0 obj +(Params) +endobj +205 0 obj +<< /S /GoTo /D (subsection.4.9) >> +endobj +208 0 obj +(XSL-Xalan) +endobj +209 0 obj +<< /S /GoTo /D (section.5) >> +endobj +212 0 obj +(Release Notes: 1.75.2) +endobj +213 0 obj +<< /S /GoTo /D (subsection.5.1) >> +endobj +216 0 obj +(Gentext) +endobj +217 0 obj +<< /S /GoTo /D (subsection.5.2) >> +endobj +220 0 obj +(Common) +endobj +221 0 obj +<< /S /GoTo /D (subsection.5.3) >> +endobj +224 0 obj +(FO) +endobj +225 0 obj +<< /S /GoTo /D (subsection.5.4) >> +endobj +228 0 obj +(HTML) +endobj +229 0 obj +<< /S /GoTo /D (subsection.5.5) >> +endobj +232 0 obj +(Manpages) +endobj +233 0 obj +<< /S /GoTo /D (subsection.5.6) >> +endobj +236 0 obj +(Epub) +endobj +237 0 obj +<< /S /GoTo /D (subsection.5.7) >> +endobj +240 0 obj +(Profiling) +endobj +241 0 obj +<< /S /GoTo /D (subsection.5.8) >> +endobj +244 0 obj +(XSL-Saxon) +endobj +245 0 obj +<< /S /GoTo /D (subsection.5.9) >> +endobj +248 0 obj +(XSL-Xalan) +endobj +249 0 obj +<< /S /GoTo /D (section.6) >> +endobj +252 0 obj +(Release Notes: 1.75.1) +endobj +253 0 obj +<< /S /GoTo /D (subsection.6.1) >> +endobj +256 0 obj +(FO) +endobj +257 0 obj +<< /S /GoTo /D (subsection.6.2) >> +endobj +260 0 obj +(HTML) +endobj +261 0 obj +<< /S /GoTo /D (subsection.6.3) >> +endobj +264 0 obj +(Epub) +endobj +265 0 obj +<< /S /GoTo /D (subsection.6.4) >> +endobj +268 0 obj +(Params) +endobj +269 0 obj +<< /S /GoTo /D (section.7) >> +endobj +272 0 obj +(Release Notes: 1.75.0) +endobj +273 0 obj +<< /S /GoTo /D (subsection.7.1) >> +endobj +276 0 obj +(Gentext) +endobj +277 0 obj +<< /S /GoTo /D (subsection.7.2) >> +endobj +280 0 obj +(Common) +endobj +281 0 obj +<< /S /GoTo /D (subsection.7.3) >> +endobj +284 0 obj +(FO) +endobj +285 0 obj +<< /S /GoTo /D (subsection.7.4) >> +endobj +288 0 obj +(HTML) +endobj +289 0 obj +<< /S /GoTo /D (subsection.7.5) >> +endobj +292 0 obj +(Manpages) +endobj +293 0 obj +<< /S /GoTo /D (subsection.7.6) >> +endobj +296 0 obj +(ePub) +endobj +297 0 obj +<< /S /GoTo /D (subsection.7.7) >> +endobj +300 0 obj +(HTMLHelp) +endobj +301 0 obj +<< /S /GoTo /D (subsection.7.8) >> +endobj +304 0 obj +(Params) +endobj +305 0 obj +<< /S /GoTo /D (subsection.7.9) >> +endobj +308 0 obj +(Highlighting) +endobj +309 0 obj +<< /S /GoTo /D (subsection.7.10) >> +endobj +312 0 obj +(XSL-Saxon) +endobj +313 0 obj +<< /S /GoTo /D (subsection.7.11) >> +endobj +316 0 obj +(XSL-Xalan) +endobj +317 0 obj +<< /S /GoTo /D (section.8) >> +endobj +320 0 obj +(Release Notes: 1.74.3) +endobj +321 0 obj +<< /S /GoTo /D (section.9) >> +endobj +324 0 obj +(Release Notes: 1.74.2) +endobj +325 0 obj +<< /S /GoTo /D (section.10) >> +endobj +328 0 obj +(Release Notes: 1.74.1) +endobj +329 0 obj +<< /S /GoTo /D (subsection.10.1) >> +endobj +332 0 obj +(Gentext) +endobj +333 0 obj +<< /S /GoTo /D (subsection.10.2) >> +endobj +336 0 obj +(FO) +endobj +337 0 obj +<< /S /GoTo /D (subsection.10.3) >> +endobj +340 0 obj +(HTML) +endobj +341 0 obj +<< /S /GoTo /D (subsection.10.4) >> +endobj +344 0 obj +(Manpages) +endobj +345 0 obj +<< /S /GoTo /D (subsection.10.5) >> +endobj +348 0 obj +(ePub) +endobj +349 0 obj +<< /S /GoTo /D (subsection.10.6) >> +endobj +352 0 obj +(Roundtrip) +endobj +353 0 obj +<< /S /GoTo /D (subsection.10.7) >> +endobj +356 0 obj +(Params) +endobj +357 0 obj +<< /S /GoTo /D (subsection.10.8) >> +endobj +360 0 obj +(Highlighting) +endobj +361 0 obj +<< /S /GoTo /D (section.11) >> +endobj +364 0 obj +(Release Notes: 1.74.0) +endobj +365 0 obj +<< /S /GoTo /D (subsection.11.1) >> +endobj +368 0 obj +(Gentext) +endobj +369 0 obj +<< /S /GoTo /D (subsection.11.2) >> +endobj +372 0 obj +(Common) +endobj +373 0 obj +<< /S /GoTo /D (subsection.11.3) >> +endobj +376 0 obj +(FO) +endobj +377 0 obj +<< /S /GoTo /D (subsection.11.4) >> +endobj +380 0 obj +(HTML) +endobj +381 0 obj +<< /S /GoTo /D (subsection.11.5) >> +endobj +384 0 obj +(Manpages) +endobj +385 0 obj +<< /S /GoTo /D (subsection.11.6) >> +endobj +388 0 obj +(Epub) +endobj +389 0 obj +<< /S /GoTo /D (subsection.11.7) >> +endobj +392 0 obj +(HTMLHelp) +endobj +393 0 obj +<< /S /GoTo /D (subsection.11.8) >> +endobj +396 0 obj +(Eclipse) +endobj +397 0 obj +<< /S /GoTo /D (subsection.11.9) >> +endobj +400 0 obj +(JavaHelp) +endobj +401 0 obj +<< /S /GoTo /D (subsection.11.10) >> +endobj +404 0 obj +(Roundtrip) +endobj +405 0 obj +<< /S /GoTo /D (subsection.11.11) >> +endobj +408 0 obj +(Slides) +endobj +409 0 obj +<< /S /GoTo /D (subsection.11.12) >> +endobj +412 0 obj +(Website) +endobj +413 0 obj +<< /S /GoTo /D (subsection.11.13) >> +endobj +416 0 obj +(Params) +endobj +417 0 obj +<< /S /GoTo /D (subsection.11.14) >> +endobj +420 0 obj +(Profiling) +endobj +421 0 obj +<< /S /GoTo /D (subsection.11.15) >> +endobj +424 0 obj +(Tools) +endobj +425 0 obj +<< /S /GoTo /D (subsection.11.16) >> +endobj +428 0 obj +(Extensions) +endobj +429 0 obj +<< /S /GoTo /D (subsection.11.17) >> +endobj +432 0 obj +(XSL-Saxon) +endobj +433 0 obj +<< /S /GoTo /D (subsection.11.18) >> +endobj +436 0 obj +(XSL-Xalan) +endobj +437 0 obj +<< /S /GoTo /D (subsection.11.19) >> +endobj +440 0 obj +(XSL-libxslt) +endobj +441 0 obj +<< /S /GoTo /D (section.12) >> +endobj +444 0 obj +(Release Notes: 1.73.2) +endobj +445 0 obj +<< /S /GoTo /D (section.13) >> +endobj +448 0 obj +(Release: 1.73.1) +endobj +449 0 obj +<< /S /GoTo /D (subsection.13.1) >> +endobj +452 0 obj +(Gentext) +endobj +453 0 obj +<< /S /GoTo /D (subsection.13.2) >> +endobj +456 0 obj +(FO) +endobj +457 0 obj +<< /S /GoTo /D (subsection.13.3) >> +endobj +460 0 obj +(HTML) +endobj +461 0 obj +<< /S /GoTo /D (subsection.13.4) >> +endobj +464 0 obj +(Manpages) +endobj +465 0 obj +<< /S /GoTo /D (subsection.13.5) >> +endobj +468 0 obj +(HTMLHelp) +endobj +469 0 obj +<< /S /GoTo /D (subsection.13.6) >> +endobj +472 0 obj +(Eclipse) +endobj +473 0 obj +<< /S /GoTo /D (subsection.13.7) >> +endobj +476 0 obj +(JavaHelp) +endobj +477 0 obj +<< /S /GoTo /D (subsection.13.8) >> +endobj +480 0 obj +(Roundtrip) +endobj +481 0 obj +<< /S /GoTo /D (subsection.13.9) >> +endobj +484 0 obj +(Params) +endobj +485 0 obj +<< /S /GoTo /D (section.14) >> +endobj +488 0 obj +(Release: 1.73.0) +endobj +489 0 obj +<< /S /GoTo /D (subsection.14.1) >> +endobj +492 0 obj +(Gentext) +endobj +493 0 obj +<< /S /GoTo /D (subsection.14.2) >> +endobj +496 0 obj +(Common) +endobj +497 0 obj +<< /S /GoTo /D (subsection.14.3) >> +endobj +500 0 obj +(FO) +endobj +501 0 obj +<< /S /GoTo /D (subsection.14.4) >> +endobj +504 0 obj +(HTML) +endobj +505 0 obj +<< /S /GoTo /D (subsection.14.5) >> +endobj +508 0 obj +(Manpages) +endobj +509 0 obj +<< /S /GoTo /D (subsection.14.6) >> +endobj +512 0 obj +(Eclipse) +endobj +513 0 obj +<< /S /GoTo /D (subsection.14.7) >> +endobj +516 0 obj +(JavaHelp) +endobj +517 0 obj +<< /S /GoTo /D (subsection.14.8) >> +endobj +520 0 obj +(Roundtrip) +endobj +521 0 obj +<< /S /GoTo /D (subsection.14.9) >> +endobj +524 0 obj +(Params) +endobj +525 0 obj +<< /S /GoTo /D (subsection.14.10) >> +endobj +528 0 obj +(Highlighting) +endobj +529 0 obj +<< /S /GoTo /D (subsection.14.11) >> +endobj +532 0 obj +(Profiling) +endobj +533 0 obj +<< /S /GoTo /D (subsection.14.12) >> +endobj +536 0 obj +(Lib) +endobj +537 0 obj +<< /S /GoTo /D (subsection.14.13) >> +endobj +540 0 obj +(Tools) +endobj +541 0 obj +<< /S /GoTo /D (subsection.14.14) >> +endobj +544 0 obj +(XSL-Saxon) +endobj +545 0 obj +<< /S /GoTo /D (subsection.14.15) >> +endobj +548 0 obj +(XSL-Xalan) +endobj +549 0 obj +<< /S /GoTo /D (section.15) >> +endobj +552 0 obj +(Release: 1.72.0) +endobj +553 0 obj +<< /S /GoTo /D (subsection.15.1) >> +endobj +556 0 obj +(Common) +endobj +557 0 obj +<< /S /GoTo /D (subsection.15.2) >> +endobj +560 0 obj +(FO) +endobj +561 0 obj +<< /S /GoTo /D (subsection.15.3) >> +endobj +564 0 obj +(HTML) +endobj +565 0 obj +<< /S /GoTo /D (subsection.15.4) >> +endobj +568 0 obj +(Manpages) +endobj +569 0 obj +<< /S /GoTo /D (subsection.15.5) >> +endobj +572 0 obj +(Params) +endobj +573 0 obj +<< /S /GoTo /D (subsection.15.6) >> +endobj +576 0 obj +(Template) +endobj +577 0 obj +<< /S /GoTo /D (subsection.15.7) >> +endobj +580 0 obj +(Roundtrip) +endobj +581 0 obj +<< /S /GoTo /D (section.16) >> +endobj +584 0 obj +(Release: 1.71.1) +endobj +585 0 obj +<< /S /GoTo /D (subsection.16.1) >> +endobj +588 0 obj +(Common) +endobj +589 0 obj +<< /S /GoTo /D (subsection.16.2) >> +endobj +592 0 obj +(FO) +endobj +593 0 obj +<< /S /GoTo /D (subsection.16.3) >> +endobj +596 0 obj +(HTML) +endobj +597 0 obj +<< /S /GoTo /D (subsection.16.4) >> +endobj +600 0 obj +(Highlighting) +endobj +601 0 obj +<< /S /GoTo /D (subsection.16.5) >> +endobj +604 0 obj +(Manpages) +endobj +605 0 obj +<< /S /GoTo /D (subsection.16.6) >> +endobj +608 0 obj +(Params) +endobj +609 0 obj +<< /S /GoTo /D (subsection.16.7) >> +endobj +612 0 obj +(Profiling) +endobj +613 0 obj +<< /S /GoTo /D (section.17) >> +endobj +616 0 obj +(Release: 1.71.0) +endobj +617 0 obj +<< /S /GoTo /D (subsection.17.1) >> +endobj +620 0 obj +(Common) +endobj +621 0 obj +<< /S /GoTo /D (subsection.17.2) >> +endobj +624 0 obj +(Extensions) +endobj +625 0 obj +<< /S /GoTo /D (subsection.17.3) >> +endobj +628 0 obj +(FO) +endobj +629 0 obj +<< /S /GoTo /D (subsection.17.4) >> +endobj +632 0 obj +(HTML) +endobj +633 0 obj +<< /S /GoTo /D (subsection.17.5) >> +endobj +636 0 obj +(Highlighting) +endobj +637 0 obj +<< /S /GoTo /D (subsection.17.6) >> +endobj +640 0 obj +(Manpages) +endobj +641 0 obj +<< /S /GoTo /D (subsection.17.7) >> +endobj +644 0 obj +(Params) +endobj +645 0 obj +<< /S /GoTo /D (subsection.17.8) >> +endobj +648 0 obj +(Tools) +endobj +649 0 obj +<< /S /GoTo /D (section.18) >> +endobj +652 0 obj +(Release: 1.70.1) +endobj +653 0 obj +<< /S /GoTo /D (subsection.18.1) >> +endobj +656 0 obj +(FO) +endobj +657 0 obj +<< /S /GoTo /D (subsection.18.2) >> +endobj +660 0 obj +(HTML) +endobj +661 0 obj +<< /S /GoTo /D (subsection.18.3) >> +endobj +664 0 obj +(HTMLHelp) +endobj +665 0 obj +<< /S /GoTo /D (subsection.18.4) >> +endobj +668 0 obj +(Params) +endobj +669 0 obj +<< /S /GoTo /D (section.19) >> +endobj +672 0 obj +(Release: 1.70.0) +endobj +673 0 obj +<< /S /GoTo /D (subsection.19.1) >> +endobj +676 0 obj +(Common) +endobj +677 0 obj +<< /S /GoTo /D (subsection.19.2) >> +endobj +680 0 obj +(Extensions) +endobj +681 0 obj +<< /S /GoTo /D (subsection.19.3) >> +endobj +684 0 obj +(FO) +endobj +685 0 obj +<< /S /GoTo /D (subsection.19.4) >> +endobj +688 0 obj +(HTML) +endobj +689 0 obj +<< /S /GoTo /D (subsection.19.5) >> +endobj +692 0 obj +(Manpages) +endobj +693 0 obj +<< /S /GoTo /D (subsection.19.6) >> +endobj +696 0 obj +(Params) +endobj +697 0 obj +<< /S /GoTo /D (subsection.19.7) >> +endobj +700 0 obj +(Profiling) +endobj +701 0 obj +<< /S /GoTo /D (subsection.19.8) >> +endobj +704 0 obj +(Tools) +endobj +705 0 obj +<< /S /GoTo /D (subsection.19.9) >> +endobj +708 0 obj +(WordML) +endobj +709 0 obj +<< /S /GoTo /D (section.20) >> +endobj +712 0 obj +(Release 1.69.1) +endobj +713 0 obj +<< /S /GoTo /D (section.21) >> +endobj +716 0 obj +(Release 1.69.0) +endobj +717 0 obj +<< /S /GoTo /D (subsection.21.1) >> +endobj +720 0 obj +(Common) +endobj +721 0 obj +<< /S /GoTo /D (subsection.21.2) >> +endobj +724 0 obj +(FO) +endobj +725 0 obj +<< /S /GoTo /D (subsection.21.3) >> +endobj +728 0 obj +(Help) +endobj +729 0 obj +<< /S /GoTo /D (subsection.21.4) >> +endobj +732 0 obj +(HTML) +endobj +733 0 obj +<< /S /GoTo /D (subsection.21.5) >> +endobj +736 0 obj +(man) +endobj +737 0 obj +<< /S /GoTo /D (section.22) >> +endobj +740 0 obj +(Release 1.68.1) +endobj +741 0 obj +<< /S /GoTo /D (section.23) >> +endobj +744 0 obj +(Release 1.68.0) +endobj +745 0 obj +<< /S /GoTo /D (section.24) >> +endobj +748 0 obj +(Release 1.67.2) +endobj +749 0 obj +<< /S /GoTo /D (section.25) >> +endobj +752 0 obj +(Release 1.67.1) +endobj +753 0 obj +<< /S /GoTo /D (section.26) >> +endobj +756 0 obj +(Release 1.67.0) +endobj +757 0 obj +<< /S /GoTo /D (section.27) >> +endobj +760 0 obj +(Release 1.66.1) +endobj +761 0 obj +<< /S /GoTo /D (section.28) >> +endobj +764 0 obj +(Release 1.65.0) +endobj +765 0 obj +<< /S /GoTo /D (section.29) >> +endobj +768 0 obj +(Release 1.64.1) +endobj +769 0 obj +<< /S /GoTo /D (section.30) >> +endobj +772 0 obj +(Release 1.61.0) +endobj +773 0 obj +<< /S /GoTo /D (section.31) >> +endobj +776 0 obj +(Release 1.60.1) +endobj +777 0 obj +<< /S /GoTo /D (section.32) >> +endobj +780 0 obj +(Release 1.59.2) +endobj +781 0 obj +<< /S /GoTo /D (section.33) >> +endobj +784 0 obj +(Release 1.59.1) +endobj +785 0 obj +<< /S /GoTo /D (section.34) >> +endobj +788 0 obj +(Release 1.58.0) +endobj +789 0 obj +<< /S /GoTo /D (section.35) >> +endobj +792 0 obj +(Release 1.57.0) +endobj +793 0 obj +<< /S /GoTo /D (section.36) >> +endobj +796 0 obj +(Release 1.56.0) +endobj +797 0 obj +<< /S /GoTo /D (section.37) >> +endobj +800 0 obj +(Older releases) +endobj +801 0 obj +<< /S /GoTo /D (section.38) >> +endobj +804 0 obj +(About dot-zero releases) +endobj +805 0 obj +<< /S /GoTo /D [806 0 R /FitH ] >> +endobj +809 0 obj << +/Length 286 +/Filter /FlateDecode +>> +stream +xÚ•AOÃ0 …ïù>v‡zvÚ¤Éu B‚õ€4퀶”!VUÐJˆÓ *Upà’<ÛÑ{ñGð WjU«å¥!ðè­¶P7`5Ú +XTP`›=„SxêÃ"׆²»n}’M÷žÄp<×Ý~Õu¯©xÜÜ.võÄäÌèIn›áóúcCÇ’Îà$Ý1½ô¹dÈ úêœÿß©‹Z½)7cÑú*ÏhIþUÛÁAf’‡bãË êŠ>ÁFÝ+:/>¿ ìÐxËñ/>J%•èªr΢r?,D6 MÙÈCŠÄCÄÄCŠÈc3~é·A²þ? Ï ++Ó2LÞñŽRÇ|·–×-ú›‰Ü‹ú‚- +endstream +endobj +806 0 obj << +/Type /Page +/Contents 809 0 R +/Resources 808 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +>> endobj +807 0 obj << +/Type /XObject +/Subtype /Image +/Width 80 +/Height 15 +/BitsPerComponent 8 +/ColorSpace /DeviceRGB +/Length 211 +/Filter/FlateDecode +/DecodeParms<> +>> +stream +HÇíW;Ã0}T>«™³dÈ2dÉÌiÛ¡*òÇR†H”!ñ±Ÿy2ÅáIq‚–™ÃO¥êÉû8·Ç¢]—À ÎÄàÐ#gFuÛìóÀ—äë²+ÛS½ÙKToYè½µÌ3)ÃV›¦ç¦[Q¥ÞAY›)Ú¢¦~5k¸V0n «‡¶7o]óì¯'N¹RÌ͵‚Õaë‚ßêñ®‹‘8t¥\˜ìð|K#ŸŠ´ÍaÅÙÄL1Fq2‡™ù?‡½Ìa7w<ßž,äíoé/§Í +endstream +endobj +810 0 obj << +/D [806 0 R /XYZ -16.307 900.716 null] +>> endobj +813 0 obj << +/D [806 0 R /XYZ 56.693 759.068 null] +>> endobj +814 0 obj << +/D [806 0 R /XYZ 56.693 759.068 null] +>> endobj +808 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R >> +/XObject << /Im1 807 0 R >> +/ProcSet [ /PDF /Text /ImageC ] +>> endobj +859 0 obj << +/Length 894 +/Filter /FlateDecode +>> +stream +xÚíœ]o›0†ïù¾„ <ï²]?T¥ûh"­RWM´¡ ,Эû÷3¦&ë6kWÎE‰‘í'¯íø¼ +A DЙw4ó^J‚ 6Š)4{@Ša¥QD9æÍæèÆ¿J²$.“ d’øo‹*)›Û‡bÓÜT˶ðMqT_š7×ÓIp;»°aBJ±‘²©mZýÈ’r™$UYÛèE6ºâuta¦ö“Pb£ÛøiZ?è̼¯µÕD‘TXŽ´¡X†îWÞÍ-As[fba"ô}ûä +IJ0ãÊÞghê}ðÈNÏ¢ Je¼«T(,©j‚y•ä¿ÚªŸ”í×8Rm3iRBÈ Ãõ:9%~™ÇërYTŸ ×lÛ¥¦7›jn®Î<$‰ÄÌŽé*­ŸëÚ¼‡*†`NíhQ…u7Ào[bƒŸÙ†'•þS„Ú¡´-ëEÀ<Çùþ› +¥ö°w×­”vH³–ôq±ZyZÍÖƒ§Ëéò–îé;ÛIÆÆ.ßžSç§.:ꢥ~>»œØ…Ci Ý3ÒÚQß²%}çëxQo«¤ÌÍ×Ô‹3wä«Z¾'ëÇ;«dn`êî ·À…#pýlê>O²u*ÍoÿÁF’ï³tÝü¶S âªØ´°/â€ÿ[À¤7jfZõ¡i›[¯Å}U<æój“Ö³¶@öàKWÀ´<ÍÒy½É¶E â¡²f ëADüä®L«¤Î¸i¾Cz¹] ÄÃÓ´hH¿¯Sñ&^Õù'MAÒýâÍœ7d²á}ž.–™}Ui¾¨O"`|¸p•+\ÕŠyS|"„e[¶Bq_dìzºMuCz’Ö‡Ÿ”Âáç8°G öY í¾lµÎâz n ÔÃalÆ'OU’—i‘—#UxïT¹KÚC±ëé$œÆOµ·D³Èöìže-¤!PÈ,mÚ×Ø¿ŒkkÉŸk3Í;ÇÚ^C~³¬Esfv¿o ,k}_;8qšYXÖú8»pêH,kc¤–µ¾“掤%Xš†\9W`iê×>̬KÓxT¥iLÚîlº°;óäÆ{Í[¸î¿;/äÆû3m é +—An¼ß2v&Í!7>FìrミÄ%äÆû©bç=·‚ÜøÈv×—þXFL”ùŸÿ•ù É$_ +endstream +endobj +858 0 obj << +/Type /Page +/Contents 859 0 R +/Resources 857 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +/Annots [ 817 0 R 818 0 R 819 0 R 820 0 R 821 0 R 822 0 R 823 0 R 824 0 R 825 0 R 826 0 R 827 0 R 828 0 R 829 0 R 830 0 R 831 0 R 832 0 R 833 0 R 834 0 R 835 0 R 836 0 R 837 0 R 838 0 R 839 0 R 840 0 R 841 0 R 842 0 R 843 0 R 844 0 R 845 0 R 846 0 R 847 0 R 848 0 R 849 0 R 850 0 R 851 0 R 852 0 R 853 0 R 854 0 R ] +>> endobj +817 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [560.952 707.653 567.925 716.51] +/A << /S /GoTo /D (section.1) >> +>> endobj +818 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [560.952 690.898 567.925 699.645] +/A << /S /GoTo /D (subsection.1.1) >> +>> endobj +819 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [560.952 674.143 567.925 682.89] +/A << /S /GoTo /D (subsection.1.2) >> +>> endobj +820 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [560.952 657.289 567.925 666.135] +/A << /S /GoTo /D (subsection.1.3) >> +>> endobj +821 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [560.952 640.534 567.925 649.111] +/A << /S /GoTo /D (subsection.1.4) >> +>> endobj +822 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 623.779 567.925 632.625] +/A << /S /GoTo /D (subsection.1.5) >> +>> endobj +823 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 607.123 567.925 615.87] +/A << /S /GoTo /D (subsection.1.6) >> +>> endobj +824 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 590.368 567.925 599.116] +/A << /S /GoTo /D (subsection.1.7) >> +>> endobj +825 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 573.613 567.925 582.361] +/A << /S /GoTo /D (subsection.1.8) >> +>> endobj +826 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 556.859 567.925 565.606] +/A << /S /GoTo /D (subsection.1.9) >> +>> endobj +827 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 540.004 567.925 548.851] +/A << /S /GoTo /D (subsection.1.10) >> +>> endobj +828 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 523.249 567.925 532.096] +/A << /S /GoTo /D (subsection.1.11) >> +>> endobj +829 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 506.494 567.925 515.341] +/A << /S /GoTo /D (subsection.1.12) >> +>> endobj +830 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 489.739 567.925 498.586] +/A << /S /GoTo /D (subsection.1.13) >> +>> endobj +831 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 473.084 567.925 481.831] +/A << /S /GoTo /D (subsection.1.14) >> +>> endobj +832 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 456.229 567.925 465.076] +/A << /S /GoTo /D (subsection.1.15) >> +>> endobj +833 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 439.474 567.925 448.321] +/A << /S /GoTo /D (subsection.1.16) >> +>> endobj +834 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 422.719 567.925 431.566] +/A << /S /GoTo /D (subsection.1.17) >> +>> endobj +835 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 405.964 567.925 414.811] +/A << /S /GoTo /D (subsection.1.18) >> +>> endobj +836 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 389.209 567.925 398.056] +/A << /S /GoTo /D (subsection.1.19) >> +>> endobj +837 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 372.454 567.925 381.301] +/A << /S /GoTo /D (subsection.1.20) >> +>> endobj +838 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 345.717 567.925 354.693] +/A << /S /GoTo /D (section.2) >> +>> endobj +839 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 328.982 567.925 337.829] +/A << /S /GoTo /D (subsection.2.1) >> +>> endobj +840 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 312.227 567.925 321.074] +/A << /S /GoTo /D (subsection.2.2) >> +>> endobj +841 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 295.472 567.925 304.319] +/A << /S /GoTo /D (subsection.2.3) >> +>> endobj +842 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 278.717 567.925 287.564] +/A << /S /GoTo /D (subsection.2.4) >> +>> endobj +843 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 261.962 567.925 270.809] +/A << /S /GoTo /D (subsection.2.5) >> +>> endobj +844 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 245.207 567.925 254.054] +/A << /S /GoTo /D (subsection.2.6) >> +>> endobj +845 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 228.452 567.925 237.299] +/A << /S /GoTo /D (subsection.2.7) >> +>> endobj +846 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 211.697 567.925 220.544] +/A << /S /GoTo /D (subsection.2.8) >> +>> endobj +847 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 194.942 567.925 203.789] +/A << /S /GoTo /D (subsection.2.9) >> +>> endobj +848 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 178.187 567.925 187.034] +/A << /S /GoTo /D (subsection.2.10) >> +>> endobj +849 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 161.432 567.925 170.279] +/A << /S /GoTo /D (subsection.2.11) >> +>> endobj +850 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 144.677 567.925 153.524] +/A << /S /GoTo /D (subsection.2.12) >> +>> endobj +851 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 127.922 567.925 136.769] +/A << /S /GoTo /D (subsection.2.13) >> +>> endobj +852 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 111.168 567.925 120.014] +/A << /S /GoTo /D (subsection.2.14) >> +>> endobj +853 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 94.413 567.925 103.259] +/A << /S /GoTo /D (subsection.2.15) >> +>> endobj +854 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 77.658 567.925 86.504] +/A << /S /GoTo /D (subsection.2.16) >> +>> endobj +860 0 obj << +/D [858 0 R /XYZ -11.232 900.716 null] +>> endobj +857 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +903 0 obj << +/Length 765 +/Filter /FlateDecode +>> +stream +xÚí›MsÚ0†ïþ:âƒT}Ëê1mB§CZ|`†æà‡05˜¦ÿ¾òC&9a³'ÉcVö#iWïÊÍEýà*ÞÝ(Š,±šk?"͉6(b‚ƒâ4éÝ¥YšlÒsE{_òmº©ªùºªlŸê›óéUžÿ¬.Æ£Axvf0cÄ*Uµ6ÚþÍÒÍSšn7Åmg¡ÈY×¢°.­$L#¬ˆ5µùù|^<\ÇÁ¯€¹æ(bHi¢­@Æ2¢)GÓE0¹§èÁÝs‰´úS>¹@ŠQÂ…võ ‚o}ñæfïÍ›6¥%Œêʸ1£”ùïC,í1b4ae«¾­g¨ªÜõ¤¨3n„»*[“º|°éÂÁ—Ç2RDpë¾—!Vˆº®u×göækˆ%ç=b×.e!­=—¾ì£=2&Ø òÃ!Дå,yA×Ô?Å·7Ô´Ò%-jÒé^²NÅújðîï'ƒ™$VJä“ÈÖ>QzyêëeÌé^Fî¼L?]nÓb$>oCl·Œ¿ÿ?óúzÃÒgù/ù2Ä.ÒºgO7òò&rçM ZìuëI]B´ØnÒŠz’V5éÛd¹JfÅ^\Yà{þ|…§wÖ5ßëÕïn& Kw'ï&´i€O³ùª +þ5Ànlé ;‚½~'x+OÞ¶æ= ð8É·ÝŠ$nYGy¨8Êí¾ýTœƒŽx©8 +TœÖ¯,~ª±§‹tyCTœKœÓ â\ +iPqÚÉ×xòç2€ïv£â ×ùwJy6_ÎÜÛJ¼;7µ£½-ý(y.boÃ# Û~² Ö´M¬1ok´—Xã{°SE§‹5vvj•ñ; ¡á`g×Ió†´€MÀeMm Ù½ó~5¬¨ÿ1^a…ïI^eO+êeÇ@¨íãOû3j%]æIr@]¢Î=©C¨í¤ýr¼r@íäk|½s“J‡ÅöO*Xº;¼)ý—.)¡Ú¾å·ô+>ìÁ +endstream +endobj +902 0 obj << +/Type /Page +/Contents 903 0 R +/Resources 901 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +/Annots [ 855 0 R 856 0 R 862 0 R 863 0 R 864 0 R 865 0 R 866 0 R 867 0 R 868 0 R 869 0 R 870 0 R 871 0 R 872 0 R 873 0 R 874 0 R 875 0 R 876 0 R 877 0 R 878 0 R 879 0 R 880 0 R 881 0 R 882 0 R 883 0 R 884 0 R 885 0 R 886 0 R 887 0 R 888 0 R 889 0 R 890 0 R 891 0 R 892 0 R 893 0 R 894 0 R 895 0 R ] +>> endobj +855 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 747.99 567.925 756.966] +/A << /S /GoTo /D (section.3) >> +>> endobj +856 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 730.077 567.925 738.924] +/A << /S /GoTo /D (subsection.3.1) >> +>> endobj +862 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 712.144 567.925 720.991] +/A << /S /GoTo /D (subsection.3.2) >> +>> endobj +863 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 694.212 567.925 703.058] +/A << /S /GoTo /D (subsection.3.3) >> +>> endobj +864 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 666.416 567.925 675.273] +/A << /S /GoTo /D (section.4) >> +>> endobj +865 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 648.384 567.925 657.23] +/A << /S /GoTo /D (subsection.4.1) >> +>> endobj +866 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 630.451 567.925 639.297] +/A << /S /GoTo /D (subsection.4.2) >> +>> endobj +867 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 612.398 567.925 621.365] +/A << /S /GoTo /D (subsection.4.3) >> +>> endobj +868 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 594.585 567.925 603.432] +/A << /S /GoTo /D (subsection.4.4) >> +>> endobj +869 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 576.653 567.925 585.499] +/A << /S /GoTo /D (subsection.4.5) >> +>> endobj +870 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 558.72 567.925 567.566] +/A << /S /GoTo /D (subsection.4.6) >> +>> endobj +871 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 540.787 567.925 549.634] +/A << /S /GoTo /D (subsection.4.7) >> +>> endobj +872 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 522.854 567.925 531.701] +/A << /S /GoTo /D (subsection.4.8) >> +>> endobj +873 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 504.922 567.925 513.768] +/A << /S /GoTo /D (subsection.4.9) >> +>> endobj +874 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 477.006 567.925 485.982] +/A << /S /GoTo /D (section.5) >> +>> endobj +875 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 459.093 567.925 467.94] +/A << /S /GoTo /D (subsection.5.1) >> +>> endobj +876 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 441.161 567.925 450.007] +/A << /S /GoTo /D (subsection.5.2) >> +>> endobj +877 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 423.228 567.925 432.075] +/A << /S /GoTo /D (subsection.5.3) >> +>> endobj +878 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 405.295 567.925 414.142] +/A << /S /GoTo /D (subsection.5.4) >> +>> endobj +879 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 387.362 567.925 396.209] +/A << /S /GoTo /D (subsection.5.5) >> +>> endobj +880 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 369.43 567.925 378.276] +/A << /S /GoTo /D (subsection.5.6) >> +>> endobj +881 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 351.497 567.925 360.344] +/A << /S /GoTo /D (subsection.5.7) >> +>> endobj +882 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 333.564 567.925 342.411] +/A << /S /GoTo /D (subsection.5.8) >> +>> endobj +883 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 315.631 567.925 324.478] +/A << /S /GoTo /D (subsection.5.9) >> +>> endobj +884 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 287.716 567.925 296.692] +/A << /S /GoTo /D (section.6) >> +>> endobj +885 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 269.803 567.925 278.65] +/A << /S /GoTo /D (subsection.6.1) >> +>> endobj +886 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 251.87 567.925 260.717] +/A << /S /GoTo /D (subsection.6.2) >> +>> endobj +887 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 233.938 567.925 242.784] +/A << /S /GoTo /D (subsection.6.3) >> +>> endobj +888 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 216.005 567.925 224.852] +/A << /S /GoTo /D (subsection.6.4) >> +>> endobj +889 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 188.09 567.925 197.066] +/A << /S /GoTo /D (section.7) >> +>> endobj +890 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 170.177 567.925 179.023] +/A << /S /GoTo /D (subsection.7.1) >> +>> endobj +891 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 152.244 567.925 161.091] +/A << /S /GoTo /D (subsection.7.2) >> +>> endobj +892 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 134.311 567.925 143.158] +/A << /S /GoTo /D (subsection.7.3) >> +>> endobj +893 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 116.379 567.925 125.225] +/A << /S /GoTo /D (subsection.7.4) >> +>> endobj +894 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 98.446 567.925 107.292] +/A << /S /GoTo /D (subsection.7.5) >> +>> endobj +895 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 80.513 567.925 89.36] +/A << /S /GoTo /D (subsection.7.6) >> +>> endobj +904 0 obj << +/D [902 0 R /XYZ -16.307 900.716 null] +>> endobj +901 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +942 0 obj << +/Length 907 +/Filter /FlateDecode +>> +stream +xÚí›[OÛ0†ïó+|™\Äóù°K¶B°1ZiHŒ‹@C‰–6]X÷ïgÇ)‡ mZ]|Q%U"±¿ß)1€À^²3JÞìr4Ô‚0º‚@!ÂR Fcp–ž”uY,Ë,'¥š¶\ºÓ«fáNÚëþâûær§i¾º?§ÃÃì|t`ÌäC͹mØþ¨ËåuY¶K{ÙXÇ@ë‚ZëLS(¸9‡Zöö«[{c2%ßl†C. ÐH¡@\N“³sÆæš1™Và{wçpŒ ¡Âœ×`˜|JÐg.ÍXfÎ’iˆ‘p¶%”YŽ‘™Îþèèp¿¬çY.$Ma–s„^Ñiýß®‚5>·àNNöp–›U”Jüè¾õ±[†jJ×`Uö8Ã<-ÅÔ.k‰_ÚÍýOx뵫Éum~m5›d9¥*2Þ\¸Ô.Ff\tòa±jfY.‰ŠHƒ%KîÈâ{²§E]²ŠE¿Y“lÉÉVŽÔŒr¡Ò}¶Õ…dcé÷Œó­ñÔ¥JÝøOØ7 ‰¤æŸ[;äëëÎfŸj/›ä¯Úì¼Õ³6±¯MöÈæ/Ym·”èÇÓ$Ž®öÊY[ÚhÕŸ¹9^$êì91¯ØhËGz÷£™!¯pàq“ûR§Žº­[S2’Þ.ÒäŽ4s¤ŠÙ¼˜Øî ×óæó¾JæŽoy|saæÇ£ëTÐÞÀ…~ÒÜÌÆí¢²=GÆ"à,}K8¶·š÷}„V}.[á„gõâ6Fײz¶¼G¾å½zAycyúúÓ~ίËûwÍtjûÞZʈuÓé*ä—*àu›7Û@øRg±y6iîKšÇæM€ÑY)ßèÜ×òƒ¹mÞPª£ëRÐZú +ZÞ»îø½X`•/ؾˆ\ÖÕÜUu"ª80{ÃÖöA‘”Þf„§…S3‘,REÛÞ5´û"#vÜCÓ³öÕ³ëɥúÛ$[rUkfXcäÝ3Á¤ƒý9S(-/–U[Zâ4×Û‡šv¨ã›´íÖöƒHÍðEó!RwoÒÓu0¨©·¶y‡zdÝxÓÔݶ³Ø;óÆ.:ìƒU[ΖU3[Ú—¦8"Þ&IJCw냖{Çgu‡6n×Ù´T«ïÐÖÕÅjYÛOJHüÚ <¸ëãS{ê‚Hè—l©ÿ k¹` +endstream +endobj +941 0 obj << +/Type /Page +/Contents 942 0 R +/Resources 940 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +/Annots [ 896 0 R 897 0 R 898 0 R 899 0 R 900 0 R 905 0 R 906 0 R 907 0 R 908 0 R 909 0 R 910 0 R 911 0 R 912 0 R 913 0 R 914 0 R 915 0 R 916 0 R 917 0 R 918 0 R 919 0 R 920 0 R 921 0 R 922 0 R 923 0 R 924 0 R 925 0 R 926 0 R 927 0 R 928 0 R 929 0 R 930 0 R 931 0 R 932 0 R 933 0 R 934 0 R 935 0 R ] +>> endobj +896 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 748.01 567.925 756.857] +/A << /S /GoTo /D (subsection.7.7) >> +>> endobj +897 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 730.077 567.925 738.924] +/A << /S /GoTo /D (subsection.7.8) >> +>> endobj +898 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 712.144 567.925 720.991] +/A << /S /GoTo /D (subsection.7.9) >> +>> endobj +899 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 694.212 567.925 703.058] +/A << /S /GoTo /D (subsection.7.10) >> +>> endobj +900 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 676.279 567.925 685.126] +/A << /S /GoTo /D (subsection.7.11) >> +>> endobj +905 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 648.364 567.925 657.34] +/A << /S /GoTo /D (section.8) >> +>> endobj +906 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 620.468 567.925 629.444] +/A << /S /GoTo /D (section.9) >> +>> endobj +907 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 592.692 567.925 601.549] +/A << /S /GoTo /D (section.10) >> +>> endobj +908 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 574.66 567.925 583.507] +/A << /S /GoTo /D (subsection.10.1) >> +>> endobj +909 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 556.727 567.925 565.574] +/A << /S /GoTo /D (subsection.10.2) >> +>> endobj +910 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 538.794 567.925 547.641] +/A << /S /GoTo /D (subsection.10.3) >> +>> endobj +911 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 520.862 567.925 529.708] +/A << /S /GoTo /D (subsection.10.4) >> +>> endobj +912 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 502.929 567.925 511.776] +/A << /S /GoTo /D (subsection.10.5) >> +>> endobj +913 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 484.996 567.925 493.574] +/A << /S /GoTo /D (subsection.10.6) >> +>> endobj +914 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 467.063 567.925 475.641] +/A << /S /GoTo /D (subsection.10.7) >> +>> endobj +915 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 449.131 567.925 457.977] +/A << /S /GoTo /D (subsection.10.8) >> +>> endobj +916 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 421.215 567.925 430.192] +/A << /S /GoTo /D (section.11) >> +>> endobj +917 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 403.183 567.925 412.149] +/A << /S /GoTo /D (subsection.11.1) >> +>> endobj +918 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 385.37 567.925 394.216] +/A << /S /GoTo /D (subsection.11.2) >> +>> endobj +919 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 367.437 567.925 376.284] +/A << /S /GoTo /D (subsection.11.3) >> +>> endobj +920 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 349.504 567.925 358.351] +/A << /S /GoTo /D (subsection.11.4) >> +>> endobj +921 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 331.572 567.925 340.418] +/A << /S /GoTo /D (subsection.11.5) >> +>> endobj +922 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 313.519 567.925 322.485] +/A << /S /GoTo /D (subsection.11.6) >> +>> endobj +923 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 295.586 567.925 304.553] +/A << /S /GoTo /D (subsection.11.7) >> +>> endobj +924 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 277.654 567.925 286.62] +/A << /S /GoTo /D (subsection.11.8) >> +>> endobj +925 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 259.721 567.925 268.687] +/A << /S /GoTo /D (subsection.11.9) >> +>> endobj +926 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [555.97 241.788 567.925 250.754] +/A << /S /GoTo /D (subsection.11.10) >> +>> endobj +927 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 223.975 567.925 232.822] +/A << /S /GoTo /D (subsection.11.11) >> +>> endobj +928 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 206.042 567.925 214.889] +/A << /S /GoTo /D (subsection.11.12) >> +>> endobj +929 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 188.11 567.925 196.956] +/A << /S /GoTo /D (subsection.11.13) >> +>> endobj +930 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 170.177 567.925 179.023] +/A << /S /GoTo /D (subsection.11.14) >> +>> endobj +931 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 152.244 567.925 161.091] +/A << /S /GoTo /D (subsection.11.15) >> +>> endobj +932 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 134.311 567.925 143.158] +/A << /S /GoTo /D (subsection.11.16) >> +>> endobj +933 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 116.379 567.925 125.225] +/A << /S /GoTo /D (subsection.11.17) >> +>> endobj +934 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 98.446 567.925 107.292] +/A << /S /GoTo /D (subsection.11.18) >> +>> endobj +935 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 80.513 567.925 89.36] +/A << /S /GoTo /D (subsection.11.19) >> +>> endobj +943 0 obj << +/D [941 0 R /XYZ -11.232 900.716 null] +>> endobj +940 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +983 0 obj << +/Length 819 +/Filter /FlateDecode +>> +stream +xÚí›MsÓ0†ïþ:Ú }ËâXèÇtZ()=˜ÖM38qH ”lÅMZ#zŠ=d,5Z)W+½+S4FGYôæHQd‰Õ\£ìiN´A)D”Ý¡ëø²(‹|Y$˜+¨êbé‹÷ÕÂê‡ÕÃ÷ÕíAU}õ7W£³ä&;uf0cÄ*å[Õ¿ÊbùPõ²yì¬3”:ëZ4Ö¥UDK‹°"Ö¬ìÿhêE‡Yô-b®5ŠRšh+±ŒhÊÑí4º¾¡èÎ=söˆ´)úÙÖœ"Å(áB»r‰Fѧˆ>¸Ùxצ´„QíM3ž`Eé–¿àm‚£1#FÞvÐ÷m1F¾pyµ£á–»;ßÕmÍ®w07$µQñÌè¦%öJK/c™R"dêÈbïìºö±r#<.fu‘0?Ö 6ÖÆÄ÷hï.rwƾ‰sË p¥ÖpzÓè +µxBÍ=ê£n”œï-á}Ã.<ö“ìüÌÍ+Ú꾡6¡¨¥G}žÏæù¸ ÚÊàþ^Gkµöå“¢œ'Xdw˜lêºÚ“=¼-'s¿ìÔ0Q–¶ñ´Oó„S·Ûá*ν?s#»ïÔ󾬾ÏîêŤ™¸¥´½'¼ŽÌÖ¾höÐù"Ÿ6Š‰aàËÃþB8ÂL+å GþUÄ¡Á"Žý§›^$ˆ8½ílØ<#;ç]5V³[cïÎãe4l¡ ;±4ºA`g¡Ø%ht=GÍCQ+Ðèz X…FhPr@; ugPr† ä„ó%gè JÎ^_l·;ÃÍâ{2~(ݯžÌÆn.R »»tyðŽš±–îÅ¢úL)/[¸R‚66DÔíÙ½ølò¥Ñ^È&ý欞øã“q–¤4®ª²=¬ +ÚÙ@±oÄí6áÒœ:Æ£ü±Qà ‡ = VOh¯ò2whS ÎÛ?´ÿÌ›®>ð¬·äMyxÞ”óWäMU—7…dZ¯f6‹(8ð¾ŸØáÀ{ßQË°% ‚ïüöebì €«Pà«ìi–Óy™×…[˜Y¬w²…l ‰ÖO7ÞN¸»nû`[RBµ}Í÷Ú¿u7Á^ +endstream +endobj +982 0 obj << +/Type /Page +/Contents 983 0 R +/Resources 981 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +/Annots [ 936 0 R 937 0 R 938 0 R 939 0 R 944 0 R 945 0 R 946 0 R 947 0 R 948 0 R 949 0 R 950 0 R 951 0 R 952 0 R 953 0 R 954 0 R 955 0 R 956 0 R 957 0 R 958 0 R 959 0 R 960 0 R 961 0 R 962 0 R 963 0 R 964 0 R 965 0 R 966 0 R 967 0 R 968 0 R 969 0 R 970 0 R 971 0 R 972 0 R 973 0 R 974 0 R ] +>> endobj +936 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 747.99 567.925 756.966] +/A << /S /GoTo /D (section.12) >> +>> endobj +937 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 720.095 567.925 729.071] +/A << /S /GoTo /D (section.13) >> +>> endobj +938 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 702.182 567.925 711.028] +/A << /S /GoTo /D (subsection.13.1) >> +>> endobj +939 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 684.249 567.925 693.096] +/A << /S /GoTo /D (subsection.13.2) >> +>> endobj +944 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 666.316 567.925 675.163] +/A << /S /GoTo /D (subsection.13.3) >> +>> endobj +945 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 648.384 567.925 657.23] +/A << /S /GoTo /D (subsection.13.4) >> +>> endobj +946 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 630.451 567.925 639.297] +/A << /S /GoTo /D (subsection.13.5) >> +>> endobj +947 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 612.518 567.925 621.365] +/A << /S /GoTo /D (subsection.13.6) >> +>> endobj +948 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 594.585 567.925 603.432] +/A << /S /GoTo /D (subsection.13.7) >> +>> endobj +949 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 576.653 567.925 585.499] +/A << /S /GoTo /D (subsection.13.8) >> +>> endobj +950 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 558.72 567.925 567.566] +/A << /S /GoTo /D (subsection.13.9) >> +>> endobj +951 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 530.804 567.925 539.781] +/A << /S /GoTo /D (section.14) >> +>> endobj +952 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 512.772 567.925 521.738] +/A << /S /GoTo /D (subsection.14.1) >> +>> endobj +953 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 494.959 567.925 503.806] +/A << /S /GoTo /D (subsection.14.2) >> +>> endobj +954 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 477.126 567.925 485.873] +/A << /S /GoTo /D (subsection.14.3) >> +>> endobj +955 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 459.193 567.925 467.94] +/A << /S /GoTo /D (subsection.14.4) >> +>> endobj +956 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 441.161 567.925 450.007] +/A << /S /GoTo /D (subsection.14.5) >> +>> endobj +957 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 423.228 567.925 432.075] +/A << /S /GoTo /D (subsection.14.6) >> +>> endobj +958 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 405.295 567.925 414.142] +/A << /S /GoTo /D (subsection.14.7) >> +>> endobj +959 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 387.362 567.925 396.209] +/A << /S /GoTo /D (subsection.14.8) >> +>> endobj +960 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 369.43 567.925 378.276] +/A << /S /GoTo /D (subsection.14.9) >> +>> endobj +961 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 351.497 567.925 360.344] +/A << /S /GoTo /D (subsection.14.10) >> +>> endobj +962 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 333.564 567.925 342.411] +/A << /S /GoTo /D (subsection.14.11) >> +>> endobj +963 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 315.731 567.925 324.478] +/A << /S /GoTo /D (subsection.14.12) >> +>> endobj +964 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 297.798 567.925 306.545] +/A << /S /GoTo /D (subsection.14.13) >> +>> endobj +965 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 279.865 567.925 288.612] +/A << /S /GoTo /D (subsection.14.14) >> +>> endobj +966 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 261.933 567.925 270.68] +/A << /S /GoTo /D (subsection.14.15) >> +>> endobj +967 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 234.037 567.925 242.894] +/A << /S /GoTo /D (section.15) >> +>> endobj +968 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 216.005 567.925 224.852] +/A << /S /GoTo /D (subsection.15.1) >> +>> endobj +969 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 198.072 567.925 206.919] +/A << /S /GoTo /D (subsection.15.2) >> +>> endobj +970 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 180.239 567.925 188.986] +/A << /S /GoTo /D (subsection.15.3) >> +>> endobj +971 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 162.306 567.925 171.053] +/A << /S /GoTo /D (subsection.15.4) >> +>> endobj +972 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 144.274 567.925 153.121] +/A << /S /GoTo /D (subsection.15.5) >> +>> endobj +973 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 126.341 567.925 135.188] +/A << /S /GoTo /D (subsection.15.6) >> +>> endobj +974 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 108.408 567.925 117.255] +/A << /S /GoTo /D (subsection.15.7) >> +>> endobj +984 0 obj << +/D [982 0 R /XYZ -16.307 900.716 null] +>> endobj +981 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1021 0 obj << +/Length 736 +/Filter /FlateDecode +>> +stream +xÚí›ÉnÛ0†ïz +­ƒXîKi³ HºÄZ ÍÁHǨl¥–ÑåíK‰V»q@øJs0LA‡äÇ¡æ×PMA§ÉQž¼9‘YlS(¿CŠa¥‘¡sò[t5º,ÊbRiÆ$}¬VEí‹wÕÒV÷ë›ï«›£ªúá/¾ÏÓëüƒ3“QŠ­”¾µñêoYÔ÷E±ª›ÛÎ:EÆYW¼±.,ÇJ”IlõÚþ¯YS19ΓŸ uÍD‘TXYŽ´¥X†næÉÕ5A·îž3ˆ…5èw[sŽ$%˜qåÊ%'_²5rýdä]›ÂbJ”·MUšIBº9x›fœ’ÅšbÚöÊwh9E¾pyš¸1HÌ,sW¾ ¦Úšáù΄!˜ 7dª±å¼³ëÚϤ›ÆwÕ|^-ÒÌMÇûÎ çOXûZúòá3Я2¡”c­·*vÿ­lãeïÉ'7JƆ‡v Ø¹Ç~–_œ»½Di@Ý3ÔìµX£žMïK÷[ÍS‡œ ûŠéšPG–žîÅdñ0™6!‘´à¾}¬<àÏ)•£Ér2o¢^Ma¿î-p½¾¬¾ÂÊv»ÂêÈQïȼŒ +l…@Λ±±kUJõ^G‚už9@çiÐyQ.5êNçÿY‹zV-êfiQ@=âsòCÄ.@ÊÇš“PÔ¤||tYè#Z”ï#àûjòÃn<ð<5dTUe›°„À,VìüpYoöÈzž¾Ý1&ëM'ëAôx þ·ó˜Nîƒ(ˆµEý$•{V”i¦4²ñ’edÄ‹=þbàÐû²{‡à|ÀŽù—‡nñYÈD¹ÔdØSÃB> ZÄ*1ä‰ò‘£$,@´pø+RÀ<Ô—áðW?€oÞpø+rÔ’„¢†äÀ€°ožÙÖcÿÚb_Þ6A“HGCšü6‡‘­·9þûDŠ• Ïí±þÜG‰‚`¢ì!ß$þoÅІ +endstream +endobj +1020 0 obj << +/Type /Page +/Contents 1021 0 R +/Resources 1019 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 816 0 R +/Annots [ 975 0 R 976 0 R 977 0 R 978 0 R 979 0 R 980 0 R 985 0 R 986 0 R 987 0 R 988 0 R 989 0 R 990 0 R 991 0 R 992 0 R 993 0 R 994 0 R 995 0 R 996 0 R 997 0 R 998 0 R 999 0 R 1000 0 R 1001 0 R 1002 0 R 1003 0 R 1004 0 R 1005 0 R 1006 0 R 1007 0 R 1008 0 R 1009 0 R 1010 0 R 1011 0 R ] +>> endobj +975 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 747.99 567.925 756.966] +/A << /S /GoTo /D (section.16) >> +>> endobj +976 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 730.077 567.925 738.924] +/A << /S /GoTo /D (subsection.16.1) >> +>> endobj +977 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 712.144 567.925 720.991] +/A << /S /GoTo /D (subsection.16.2) >> +>> endobj +978 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 694.212 567.925 703.058] +/A << /S /GoTo /D (subsection.16.3) >> +>> endobj +979 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 676.279 567.925 685.126] +/A << /S /GoTo /D (subsection.16.4) >> +>> endobj +980 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 658.346 567.925 667.193] +/A << /S /GoTo /D (subsection.16.5) >> +>> endobj +985 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 640.413 567.925 649.26] +/A << /S /GoTo /D (subsection.16.6) >> +>> endobj +986 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 622.481 567.925 631.327] +/A << /S /GoTo /D (subsection.16.7) >> +>> endobj +987 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 594.565 567.925 603.542] +/A << /S /GoTo /D (section.17) >> +>> endobj +988 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 576.533 567.925 585.499] +/A << /S /GoTo /D (subsection.17.1) >> +>> endobj +989 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 558.6 567.925 567.566] +/A << /S /GoTo /D (subsection.17.2) >> +>> endobj +990 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 540.667 567.925 549.634] +/A << /S /GoTo /D (subsection.17.3) >> +>> endobj +991 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 522.854 567.925 531.701] +/A << /S /GoTo /D (subsection.17.4) >> +>> endobj +992 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 504.922 567.925 513.768] +/A << /S /GoTo /D (subsection.17.5) >> +>> endobj +993 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 486.989 567.925 495.835] +/A << /S /GoTo /D (subsection.17.6) >> +>> endobj +994 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 469.056 567.925 477.903] +/A << /S /GoTo /D (subsection.17.7) >> +>> endobj +995 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 451.123 567.925 459.97] +/A << /S /GoTo /D (subsection.17.8) >> +>> endobj +996 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 423.208 567.925 432.184] +/A << /S /GoTo /D (section.18) >> +>> endobj +997 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 405.295 567.925 414.142] +/A << /S /GoTo /D (subsection.18.1) >> +>> endobj +998 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 387.362 567.925 396.209] +/A << /S /GoTo /D (subsection.18.2) >> +>> endobj +999 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 369.43 567.925 378.276] +/A << /S /GoTo /D (subsection.18.3) >> +>> endobj +1000 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 351.497 567.925 360.344] +/A << /S /GoTo /D (subsection.18.4) >> +>> endobj +1001 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 323.582 567.925 332.558] +/A << /S /GoTo /D (section.19) >> +>> endobj +1002 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 305.669 567.925 314.515] +/A << /S /GoTo /D (subsection.19.1) >> +>> endobj +1003 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 287.736 567.925 296.583] +/A << /S /GoTo /D (subsection.19.2) >> +>> endobj +1004 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 269.803 567.925 278.65] +/A << /S /GoTo /D (subsection.19.3) >> +>> endobj +1005 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 251.87 567.925 260.717] +/A << /S /GoTo /D (subsection.19.4) >> +>> endobj +1006 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 233.938 567.925 242.784] +/A << /S /GoTo /D (subsection.19.5) >> +>> endobj +1007 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 216.005 567.925 224.852] +/A << /S /GoTo /D (subsection.19.6) >> +>> endobj +1008 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 198.072 567.925 206.919] +/A << /S /GoTo /D (subsection.19.7) >> +>> endobj +1009 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 180.139 567.925 188.986] +/A << /S /GoTo /D (subsection.19.8) >> +>> endobj +1010 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 162.207 567.925 171.053] +/A << /S /GoTo /D (subsection.19.9) >> +>> endobj +1011 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 134.291 567.925 143.268] +/A << /S /GoTo /D (section.20) >> +>> endobj +1022 0 obj << +/D [1020 0 R /XYZ -11.232 900.716 null] +>> endobj +1019 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1041 0 obj << +/Length 588 +/Filter /FlateDecode +>> +stream +xÚí˜Mo1†ïû+|Ì<øsl)Ð"T¨hö€õÐ6Û‘°, øõx×»¥©œÊ‹öÐ’œì•G~üÎ+O&fäš0r”Ù‹C͈‡IqEPb¹iH1'³Éi¹(Ï×eN…f“U]®ÃôªZ…I}Ó-¾®.ªêsøø4=ÎÏŠwC9§uØmZÿZ”뛲¬×Ͳ§sb=eCWŽ¢%Tƒ3ÿÇím™½)²o÷û1‰F@'‰iâ™ —ËlvÆÈܯy"(gÉÏ6rI4g $úù‚L³ÛnîIï÷T8Ã<§š±Í$x¦Ö*œguMÂäô(ó4'üW»×¼ì¹òM•e •—Ì 8){,4`ÏzU-—Õ—œútL œewåÜS9Ë} #¦Ï¨Bô^‹À~l/Á¦½"Ø{xâU +±{Öî¨í2Øþ¶\|m¸wü™:.w\Ü9®:Ç‹÷Ç9•höVÿgVÿ½Ü:X½<÷¿×FØýÝ~¦†«¨áºEÊ8¥¬ëº[!âí¢žÜ.Ú ºo»€êûR¹ ”Þ—ºGA½"© dIŠô6 Ô+Âm äÔ!O™8(I©³q H%)rq H¥(’,âc+’[þß±Št(^´pLRêä6 Ô+ŠW= ¡MÅ+ƒ6£úÔÅ+ƒÆÑu•ád1/»G”UÎí$p×É0—¤ª«//ªïu€Í«šþ.[d5¾cï4ŠC÷/Ï4q’¾ +endstream +endobj +1040 0 obj << +/Type /Page +/Contents 1041 0 R +/Resources 1039 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1043 0 R +/Annots [ 1012 0 R 1013 0 R 1014 0 R 1015 0 R 1016 0 R 1017 0 R 1018 0 R 1023 0 R 1024 0 R 1025 0 R 1026 0 R 1027 0 R 1028 0 R 1029 0 R 1030 0 R 1031 0 R 1032 0 R 1033 0 R 1034 0 R 1035 0 R 1036 0 R 1037 0 R 1038 0 R ] +>> endobj +1012 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 747.99 567.925 756.966] +/A << /S /GoTo /D (section.21) >> +>> endobj +1013 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 730.077 567.925 738.924] +/A << /S /GoTo /D (subsection.21.1) >> +>> endobj +1014 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 712.144 567.925 720.991] +/A << /S /GoTo /D (subsection.21.2) >> +>> endobj +1015 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 694.212 567.925 703.058] +/A << /S /GoTo /D (subsection.21.3) >> +>> endobj +1016 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 676.279 567.925 685.126] +/A << /S /GoTo /D (subsection.21.4) >> +>> endobj +1017 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 658.346 567.925 667.193] +/A << /S /GoTo /D (subsection.21.5) >> +>> endobj +1018 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 630.431 567.925 639.407] +/A << /S /GoTo /D (section.22) >> +>> endobj +1023 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 602.535 567.925 611.512] +/A << /S /GoTo /D (section.23) >> +>> endobj +1024 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 574.64 567.925 583.616] +/A << /S /GoTo /D (section.24) >> +>> endobj +1025 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 546.745 567.925 555.721] +/A << /S /GoTo /D (section.25) >> +>> endobj +1026 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 518.849 567.925 527.825] +/A << /S /GoTo /D (section.26) >> +>> endobj +1027 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 490.954 567.925 499.93] +/A << /S /GoTo /D (section.27) >> +>> endobj +1028 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 463.058 567.925 472.035] +/A << /S /GoTo /D (section.28) >> +>> endobj +1029 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 435.163 567.925 444.139] +/A << /S /GoTo /D (section.29) >> +>> endobj +1030 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 407.268 567.925 416.244] +/A << /S /GoTo /D (section.30) >> +>> endobj +1031 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 379.372 567.925 388.349] +/A << /S /GoTo /D (section.31) >> +>> endobj +1032 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 351.477 567.925 360.453] +/A << /S /GoTo /D (section.32) >> +>> endobj +1033 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 323.582 567.925 332.558] +/A << /S /GoTo /D (section.33) >> +>> endobj +1034 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 295.686 567.925 304.662] +/A << /S /GoTo /D (section.34) >> +>> endobj +1035 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 267.791 567.925 276.767] +/A << /S /GoTo /D (section.35) >> +>> endobj +1036 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 239.895 567.925 248.872] +/A << /S /GoTo /D (section.36) >> +>> endobj +1037 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 212 567.925 220.976] +/A << /S /GoTo /D (section.37) >> +>> endobj +1038 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [550.989 184.105 567.925 193.081] +/A << /S /GoTo /D (section.38) >> +>> endobj +1042 0 obj << +/D [1040 0 R /XYZ -16.307 900.716 null] +>> endobj +1039 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1054 0 obj << +/Length 1390 +/Filter /FlateDecode +>> +stream +xÚWÛ’Û6 }÷Wè­òL¤RÊVú´™$½¥™4ë™v&Étd‰¶•H¢+J»Ù~}ÔjµnÒöÉârxÀÂ;zÂû~õl·úö¥^æYœy»ƒ—Åa¶ñ¶Q&oWyïü·ªQ…Që –Â­ehyÐ=-†o>×å3­?ÑÇïׯÖv?› ŠÂ\J²v=Ü5Êœ” nƒ÷ÈÛ‚÷,Aïé6÷/a¾aÿ7u]£êêÅnõç*ƒÂ‹<™…Yžx›< +3{e»z÷AxìË0Í·Þ­Õl=‰0N2X7ÞõêוàÜ—¿„ņ¢I1š8—açÞ&ÍÃHdÎÕÞ }Q6¤¥ æ½ %X&Ù–,ìN5@˜l¥ß´AG¨¢¨ÒåتnÀ¯ÌwŠÅ:þÍ:†UÝûF‘¸îHÍÞ +ºi4ªÝÖÝщú¶ÌSŽ—ðûä¹ÕÏ+ï] ·‘ÿÃî—Wr‚HŸ|éóüå>snŠ)nµŽ¤ÿyXÚøn¤2ñëuä3ç^£êM]© ²¦zÄ&èKQ»©Í@Ûú0‘P sºÕŠ®Tˆ³%sê]…‹Ä/aç¨X:h2ÃSßܳ÷’œÇ}S—¤võæG>ø^H1­ÔÝ{!âãØÓÍ¡ê¹è‹V ª7 =ˆ!õ •²ôÇÊÅ‹²¯ÏC­;–@nÖV«1[”ìÑßx|2“#øŒv• šDú/ñ‹ÞðÑŒeî—º=7 F”“+PkZÌ`Êm¶uW6ceY÷@Ñ…ÄŠS.í-€[°—Óø´R­Ú¢R¤eÀ•rGyqî²þ¦Ö#ÇÄ|x_™ðâÃÓ £ð + S¤1ÙêVÀÖg^¿øízÁS0½±É3¥ñÓQšó @ü…h:< móØ~f1kèҲȿjŒ&³JÂSÐHSÿŠÑ]Swêk®OkéßÁÝOëHøª¢Ót¿´†r5èþîrpRÜâ¹¢ïàî9„}}\36û ŠÇnÙ1¹1—Þ¨»páÓË·¬XvxÀuÏk&9,4K]©="œ|eaîZÜ·´Ûz8ÑŠù»èiozýQqé' û##ú–0¥JÁ_ +êÕ/ØcVš'.ºš=»ß¢ãÄ,‹àbj,RÃÇ‘ €ùƒ‹Ú»çdP9¦N`¯„æ¤û¡a|öü[ðÞàJÓÌɨlT&PÀ¾J9 +¤(»ó>Ž…vt§HznF;)‰çÀd¹æ~ƒÎæ ×Í;¶8ƒÐ& ßSèÒV$’Cù…†m8˜Aáö@ûo/“Ë oOuéPèÕÅ>³¸E|  È#ALDHâȶ7ø„Â6km @0MWœá6‚µ‘î¸Kƒ@<£-~à(fÕfÃpH‚dç¸ocèhh€VCçl¿ž›Ç‡ÝÛ »nšUÅ,— wNŠÄ%V˜ØãQó)QÝeü cÚ®}Ì^Î8èà¨:…U)èuËÏßÕ3| ‹NŠô×½;Sw‹Êqž¸Œšzìáq•*À‚âÌY›ÚÖ ÉÅw³ã'ýVä †ÈIv(êL€âÒº ŸYÆô×T³$×<9o¹Ù¼åÒ.ON=óªF*¢Òd¬0qFì@q¯Zˆ»û ÇT¸ÃmÑPî.>…ª¦kIÝŒÕh´íÂŒ{£ì < €–›‚F‹s:M7¥dup€#£=g)Šà‹MáñÃCl]•ÇŽýj’~Íà"Ñ–ŠÖ/aüL³û¿9…»1Ÿ¥œsúM¦˜LñµS,ÌðA9»ôG*¡Èòÿó?êomɘ +endstream +endobj +1053 0 obj << +/Type /Page +/Contents 1054 0 R +/Resources 1052 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1043 0 R +/Annots [ 1044 0 R 1045 0 R 1046 0 R 1047 0 R 1048 0 R 1049 0 R 1050 0 R 1051 0 R ] +>> endobj +1044 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [331.964 710.801 359.359 720.814] +/Subtype/Link/A<> +>> endobj +1045 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [363.062 710.801 381.499 720.814] +/Subtype/Link/A<> +>> endobj +1046 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [385.203 710.801 421.898 720.814] +/Subtype/Link/A<> +>> endobj +1047 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 .5 .5] +/Rect [80.603 677.924 107.997 687.937] +/Subtype/Link/A<> +>> endobj +1048 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [160.266 677.924 206.346 687.937] +/Subtype/Link/A<> +>> endobj +1049 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [322.2 677.924 421.978 687.937] +/Subtype/Link/A<> +>> endobj +1050 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [186.45 650.029 218.318 660.042] +/A << /S /GoTo /D (dot0) >> +>> endobj +1051 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [440.493 633.092 472.361 643.105] +/A << /S /GoTo /D (dot0) >> +>> endobj +1055 0 obj << +/D [1053 0 R /XYZ -11.232 900.716 null] +>> endobj +1052 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1059 0 obj << +/Length 1836 +/Filter /FlateDecode +>> +stream +xÚ͛ݓÓ6Àßï¯ðÀKn¦·èÛ}*¥Phé´pvÆç(‰{Žl‡;ø뻎œãâ$œŸÓ>YQ”Õj½¿Õê#$˜$x~òäüäÑ3IF1œOÅ@…¦xœƒ·£×6µQiOϘ$£ßòÊ–®8É W¨fÍ—OóøIž_º¿ùõôýùKìæŒR0R:ioªÏ©-gÖVeý5öN½+^÷.B!åÁ™6ýS”êÑ#÷ ÊÔ¿;ùéüäã Eé$ T  BCAÄó“·ïI0Æï°FW«–ó@RŒ+,§Á›“?NHc²aP†RYë´.HªÖ:Õ:¬¼=£„[–BEW–z|zÆ…•Y´(gyõÁð5þmt´Óh÷fÄçkƒNò4ÍO™]%ÙÔU%õ#÷H“²r¥|âžñ,ʦëwTÍ¢æëYtÊÈèÓ)•£Fø…µ™+Í£qSW&Yl[o•B¨€ºráFÃw#J³ ç ml»­õÜf•­õ¹®ö˜D éÝ&Ù±ß8«üë W}ã þÚ7Õ°v’UßÓZÑJ +œóu»8ïeF03@‰Á‚Bµ“úŽ1Ù27*»BFÔ:hJ¯U(+;‰²Y’}AÏ£ ­œæq”ÚGc ×óÔÉAkQõãù&G? >$(|}ÈQ]/Ièý"¡MPØ`rœ i»k·; ”fëœ`Z·î+_U´-_’ÚøÚ«‡ÛAEaæ”] ,¦+¼n¢ÌÆ[¼Q<ÄÀ׸|eeUv¼ñú·¥!PjÅS12¿¶Ù‹Ÿmºðk\V²Vn6¾Û‰0ê×q³‡íynOZMˆ–ÚWænžFŸ’ñéj´?ÑÜ-|¾Ìj|¾w-š:›m×MŠí:‡ÞfÝ?Qeh $â(•F‰ÃáØ’ßÇþÊúã(1!ܹ"3k#ƒÕ›Š=ìü¹#Á~œeyÖ–~¶WúÈz¢~kö +u‰æ +åqQ˜a°CP_Ø¢r4¾©¢ÏUžµ`w`û‰©N¨†„“1Ðd@87å÷„³·²àd +Hã?Œ='É*_$±oSÏvI•ÚàfË9z ï¬çÛø¢ðuOjsÇDS˜„þ )tš ˆ¦ÀŒ^«áÐlÉï‡feýÑš•ѼˆJ4½)Æ•Ög@O¹v¾¨3îòPÜDÈA‡ÇÅMRâÜ^EË"©¾8Þ^Z\mló–váMPÐzHÞ8~ÃämS~OÞz+Û7.€5;%.ãÖ~^ ?.ó*ª’Ü3CGÅå>âöýæYrÝ¢t\YNÛûOuõC.)‚x£ÍpiÎÅQÑ&9í—Iq9°ÉK{ÙÂ:.;`Í3än×e ‡uK~?¬û+ë5×Xx3Öž~@%eéÝxW‚Ù?\íX-{¸š¦`ÌQãÒ€dϨS®Ê%2äçÈ€{<-ù=!ë­lÈÞìñà¬âÍMù9«¢k¿¶ù¤5÷2wcÛ"±]7v8Ç%¶<.”CÈþ{‰2ä¶3(áƒñØ’ßÇþÊúóȌ޼ÿWù'o‡cgç¦è¾ÆIæ»oõ˜Ÿïô_fpNJ.SØÇAû>U>ÿPƳC]\6{ÈALsö+o)&´‰ÅFµw8)£V”Ü”¨+ù…&5Ð!· ˜‘šÃȦüža¤·²Â&TBÞ„ßqeÓe4õ<±)6N&¾[Q¾Y@§ÃYßh³+â¡iíߧvÔøÿÀ5Ï09NÊxY–¾¯å*©f]# æ.ŒˆáÈؔߓŒÞÊv “kaèú:V}aÄwñ—¦ù•÷„ÜÜ­iï»<Øïqó$KæQê=ÑË2ùä‰j´XyÏÚþüÜ|ðø‘ÞQI`\s­Mù=]«·²\‹iœ9×z‘æ'ûcsîëzÅrë$ý»oÇ­yôùÂSy‡¤Ô{lþÙèQÌ» –å¾Ùó²°‡§0Æ€IuÌ,–¬Z»ð=Ÿ^îJhãh».ïÈh‹åvÝôæÑ Y,ÅÅSb¸,–†8. ¶ä÷ ¨ý•õ¨T3†ï>I½{BmíÖÖÓÝ·©vK]?°Ös/øÉžçÊœã¬Ò;ÂMÕñ2äv¸÷ÚdžOSß(½ÖâЀFCœ7 IÆ°û[–ïZ‚wº^LëkÓlÈpÂ9p5`8Ù”ß3œôV¶C8Áe†’_7»}iÚ>B=l¸½ãþc™Ì©]ýK¡ÛÅÉß_x.$/âYžÄ¾«€lð:Î}¦½S({ݶŸdœiˆ"Ù07Qâ.7¦® 0:Á†‹/›âû…—ÞªúGÌëÿn­sßಈª­eysCƒ+Ήñ\µÁ‡ðø­?š D™Cþgö/Dó +endstream +endobj +1058 0 obj << +/Type /Page +/Contents 1059 0 R +/Resources 1057 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1043 0 R +>> endobj +1060 0 obj << +/D [1058 0 R /XYZ -16.307 900.716 null] +>> endobj +2 0 obj << +/D [1058 0 R /XYZ 56.693 759.068 null] +>> endobj +1061 0 obj << +/D [1058 0 R /XYZ 56.693 731.272 null] +>> endobj +6 0 obj << +/D [1058 0 R /XYZ 56.693 701.871 null] +>> endobj +1062 0 obj << +/D [1058 0 R /XYZ 56.693 673.781 null] +>> endobj +1064 0 obj << +/D [1058 0 R /XYZ 56.693 628.918 null] +>> endobj +1065 0 obj << +/D [1058 0 R /XYZ 65.161 628.929 null] +>> endobj +1066 0 obj << +/D [1058 0 R /XYZ 56.693 582.305 null] +>> endobj +1067 0 obj << +/D [1058 0 R /XYZ 65.161 582.989 null] +>> endobj +1068 0 obj << +/D [1058 0 R /XYZ 56.693 536.365 null] +>> endobj +1069 0 obj << +/D [1058 0 R /XYZ 65.161 537.049 null] +>> endobj +1070 0 obj << +/D [1058 0 R /XYZ 56.693 490.425 null] +>> endobj +1071 0 obj << +/D [1058 0 R /XYZ 65.161 491.109 null] +>> endobj +1072 0 obj << +/D [1058 0 R /XYZ 56.693 445.158 null] +>> endobj +1073 0 obj << +/D [1058 0 R /XYZ 65.161 445.169 null] +>> endobj +1074 0 obj << +/D [1058 0 R /XYZ 56.693 399.218 null] +>> endobj +1075 0 obj << +/D [1058 0 R /XYZ 65.161 399.229 null] +>> endobj +1076 0 obj << +/D [1058 0 R /XYZ 56.693 353.278 null] +>> endobj +1077 0 obj << +/D [1058 0 R /XYZ 65.161 353.289 null] +>> endobj +1078 0 obj << +/D [1058 0 R /XYZ 56.693 307.338 null] +>> endobj +1079 0 obj << +/D [1058 0 R /XYZ 65.161 307.349 null] +>> endobj +1081 0 obj << +/D [1058 0 R /XYZ 56.693 260.928 null] +>> endobj +1082 0 obj << +/D [1058 0 R /XYZ 65.161 261.409 null] +>> endobj +1083 0 obj << +/D [1058 0 R /XYZ 65.161 250.45 null] +>> endobj +1084 0 obj << +/D [1058 0 R /XYZ 65.161 239.491 null] +>> endobj +1085 0 obj << +/D [1058 0 R /XYZ 56.693 192.868 null] +>> endobj +1086 0 obj << +/D [1058 0 R /XYZ 65.161 193.551 null] +>> endobj +1087 0 obj << +/D [1058 0 R /XYZ 56.693 147.13 null] +>> endobj +1088 0 obj << +/D [1058 0 R /XYZ 65.161 147.612 null] +>> endobj +1089 0 obj << +/D [1058 0 R /XYZ 56.693 101.661 null] +>> endobj +1090 0 obj << +/D [1058 0 R /XYZ 65.161 101.672 null] +>> endobj +1057 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1093 0 obj << +/Length 2287 +/Filter /FlateDecode +>> +stream +xÚÍ\mSä¸þίpîK *½X²½I¥²Ü±›½Ü’H%U{÷Ac‹íØš’Ê<ö°Œç…ÖȆ|©Ֆúé~Ôj½©‡½Gç7Gg8ö" *¼›[OP$/$ ±À»I¼/ÇW*S²V'§”ããËB«º}¼-ªöAϺ?þPÄçEq×þòëŸN~¹ùÑ sJŠ8o¥]ëÇLÕ3¥tÝüÙŒN¼ÐŒ.X3ºPærÝøÔÈ Âã³öQÓïèâæè_GÄHÇñ¸@"b^$0õâùÑ—_°—˜¿™ñ‘…Þý²åÜã#Ê„yμ룿án"ðÎ YÉö#D°hUú™R¾ÔbÕíìƒi²ü ¿é"_„æËÆ?¦Õ<9ÿ©¨ÕÝ»“SBÍ/YËLU ô0ÏZifšÍë_h–…Ô ˜Ñ"Í6ï9Pà ¢(Œ¼Jy·Ï?iMÚö·›ÐQ¬h“¦µ«|Žˆ }ù˜©‚Œð|¹Šh4€²KÕÔk®ºõ_[˕⌠N:#~Ÿ¥Ó\%k&°)Ëû²\ôX–©–Yúo©Ó"‡õ)naínÓªÖ°¦™ÒZU5¬ñ}ªg°–ù4Kk`ã¢J§i.³õÖ/[=å´‘‹Õïø¹î˜"Ÿàžd*MT¥{0WµÌEdFèx0¡±fÆFƒyO¾ÌÝ•…Ã\„> +i»’Ò˜YÏ´.×ZšÎïÎκW›Ž'‹iÝï€v7OÔ$•¹E‡¢šö[Ÿ ÌE$vwZ~É÷©Nó¾ï f`Ä<«Z—ïhU£)ÛM0c´ÉX—ï8ÎÊZ@ÌLP„Y‹±Ã‡3†šÎ‡ ´z&q¶V1<Îçrüþ¹ç2O¤†r]ÀÚM€Z^¾ÿ|÷S]€TÓª˜Zrá‡Hp1¼Öå;ÂËYY xq³Ûòý^•Š‹ižÖ +h=—þ|~u´H _—2ï#רö›ý‘è~–Æ@´ßÏP•O@ª,Á¤Úlw¡X»—5Ô×ÑóyßÓ¼ †;Þ¯'ß8ÎÊZÇ7}Ãn‡ ‹jPÀÀcM&óéBNÕ¦Ëm]ëw»)¢ Ò¶»ºøpquqùý§÷}…¾ÛvhpË àÄ<ù=àÒLmQD +X8ŠÖå;¢ÈYY 1Œ0íòdÛBûË®ß0  t_ò¯w<ÐÄy®bUײJ³Ghèm™ö|Ùã½|´%HŸ,¾8s•4A¦t2Ž>/*e‹7ÂQDãám]¾#Þœ•µÀ‰Á·¨UËü·²óÝàÉ t€Ö2©‹l¡e+Xî‚À„( +ÆK"Òf…=Ï"ò@ ¼ââÑžê§79—'×KEbï”úˆQúm«Ü¼dYqBùñ}“«Y¾Šg† ¬ffò„âã¯'„w=&Ê0äåÓ\&Ý;cO§7˱¾ßÆ&¡oLX¬’šñ.YˆÖl%½NóXõŽ‡H!Ò>Wí¡ZŸ‘SJ"Œš‡Aì€ôëU1Q•n[®µ|ÔE¾ÊĶjh–³|4/ Ë1Gx<*¾.Þͧ9« +wi7F¶ëù©Ÿ÷\®ìb[ËŠµE²t®’T“ÚõJóD=XÒ\­æe&µ²åCиÚ~úà‡L_ÓD[&èeù‘!£xO¾›…»+ 7q? +‹¢ÖÄÁ|W.’tëBì4ˆ¥²¼{ ÌEY•zÓûÇ›Ï?ñCC»D({ÍBrø°*“•ÕM„úmûwêL=¡ró*5¯ÌꬦJ?oT/&§¦ƒzШ‹õü™v~!n;ý~ÆØiBðÓiŸ€kÁ÷F,Qðýùd¼¨Ù“ïèTœ•µp*ÜPܱÍ÷Р1‘u[A|%ö÷ÛBüïvÇ^]”=•ÍËßï¢&4Î ö0¾|¾ª‡¡‰7fÀ>1:„dD0cc³”ŽæuùŽ`vVÖÌØG˜Ø"*‘¥Ðl”ÿ- ²~,¡‡H`ä/‰%4sfÑ ÅS™ª-¹ø¼¨54cž‡Mîã>ùÛ9ÚÁB— ]ê™á²{UòÅEx`òUäÜYøF&ŒcÖb2n\Àˆµ˜=ùn¾Ñ]Y¸odÜìžVµ˜U®ªþ¦z7 ¨*(*çMºq +-ÏúÒ¥‘Áš&RËÛ‚ÒÖœ@‡—𚘺”±:Ø!q‚0{U®ÆšJäƒÊE‡tH¤Ù’ŽHÖ˜‘ÈØxd­'ßÑ!9+káŒ\Ñ¥éÏe|Ž»À:.»,ÕŠå¢VÃRÀ²*&f5xõ8¼ÔaQ&[2§`—`Ø4óý×t ´©Z&âm] Œш… +cù#ÖAô仹weá. +fÆä–ɘq2,oJ:V—Â^'öSC …ÿªWE(k® 7ÎÔPÚl‰F¼2B‰1h¼+#=ùŽHwVÖé$@”‘ÿ ¤O·m†ödÆE^§µÞÝzú™©@)+iÝ«5²ôrÕ^5r“0D„¹×Îd€ßNCèŸài"ŒéúãEïž|7L»+ Ç4i.1a‰é¯ªšPê½DÆ°µZ+³)~ÕÝ¢ªÑ•/ \a&³ zöœö²”LÓp¼ºÁž|G wVÖÂÂy„øêŠýXY±¡¯¥Ó¼¨z•±„øxéu]¼£)¸ªja Íå$Zú:øÎ}Gw[”ÄÂÉ=EÜ]QYfi<Â=ý<óËnö",¯àª'ßÑÆ•µ0òæ"ï +®À‘ék‘&¶×ßø h¹I/6 +"öHmJË7aã|A,|ÕcB‚CÄù!Ç„—Í×æ-‘ÿ»ÌêÙ×UZæ6$>2Þ•ññ8|h ;ïp]¼àU…ã=2]EW +õYÞ)¨›® -;(Á¥I¡êÜâ–‰Êôäóýáÿ³'`γÿñß}ÙàþHf‹ÍŠ‹_úH„cœêmü)#,¢CþÔÿ×ì” +endstream +endobj +1092 0 obj << +/Type /Page +/Contents 1093 0 R +/Resources 1091 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1043 0 R +>> endobj +1094 0 obj << +/D [1092 0 R /XYZ -11.232 900.716 null] +>> endobj +1095 0 obj << +/D [1092 0 R /XYZ 56.693 742.463 null] +>> endobj +1096 0 obj << +/D [1092 0 R /XYZ 65.161 742.474 null] +>> endobj +1097 0 obj << +/D [1092 0 R /XYZ 56.693 695.768 null] +>> endobj +1098 0 obj << +/D [1092 0 R /XYZ 65.161 695.779 null] +>> endobj +1099 0 obj << +/D [1092 0 R /XYZ 65.161 684.82 null] +>> endobj +1100 0 obj << +/D [1092 0 R /XYZ 65.161 673.861 null] +>> endobj +1101 0 obj << +/D [1092 0 R /XYZ 65.161 662.903 null] +>> endobj +1102 0 obj << +/D [1092 0 R /XYZ 65.161 651.944 null] +>> endobj +1103 0 obj << +/D [1092 0 R /XYZ 65.161 640.985 null] +>> endobj +1104 0 obj << +/D [1092 0 R /XYZ 65.161 630.026 null] +>> endobj +10 0 obj << +/D [1092 0 R /XYZ 56.693 592.937 null] +>> endobj +1105 0 obj << +/D [1092 0 R /XYZ 56.693 565.427 null] +>> endobj +1106 0 obj << +/D [1092 0 R /XYZ 56.693 518.634 null] +>> endobj +1107 0 obj << +/D [1092 0 R /XYZ 65.161 519.317 null] +>> endobj +1108 0 obj << +/D [1092 0 R /XYZ 65.161 508.358 null] +>> endobj +1109 0 obj << +/D [1092 0 R /XYZ 56.693 460.98 null] +>> endobj +1110 0 obj << +/D [1092 0 R /XYZ 65.161 461.663 null] +>> endobj +1111 0 obj << +/D [1092 0 R /XYZ 56.693 414.285 null] +>> endobj +1112 0 obj << +/D [1092 0 R /XYZ 65.161 414.968 null] +>> endobj +1113 0 obj << +/D [1092 0 R /XYZ 56.693 367.59 null] +>> endobj +1114 0 obj << +/D [1092 0 R /XYZ 65.161 368.274 null] +>> endobj +1115 0 obj << +/D [1092 0 R /XYZ 56.693 320.896 null] +>> endobj +1116 0 obj << +/D [1092 0 R /XYZ 65.161 321.579 null] +>> endobj +1117 0 obj << +/D [1092 0 R /XYZ 56.693 274.201 null] +>> endobj +1118 0 obj << +/D [1092 0 R /XYZ 65.161 274.884 null] +>> endobj +1119 0 obj << +/D [1092 0 R /XYZ 56.693 227.506 null] +>> endobj +1120 0 obj << +/D [1092 0 R /XYZ 65.161 228.189 null] +>> endobj +1121 0 obj << +/D [1092 0 R /XYZ 56.693 180.811 null] +>> endobj +1122 0 obj << +/D [1092 0 R /XYZ 65.161 181.495 null] +>> endobj +1123 0 obj << +/D [1092 0 R /XYZ 65.161 170.536 null] +>> endobj +1124 0 obj << +/D [1092 0 R /XYZ 65.161 159.577 null] +>> endobj +1125 0 obj << +/D [1092 0 R /XYZ 65.161 148.618 null] +>> endobj +1126 0 obj << +/D [1092 0 R /XYZ 56.693 101.24 null] +>> endobj +1127 0 obj << +/D [1092 0 R /XYZ 65.161 101.923 null] +>> endobj +1091 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1130 0 obj << +/Length 1805 +/Filter /FlateDecode +>> +stream +xÚÍ[msÛ¸þî_ÁÉ'{¦BðNàîÚ™¦Ó^ïš^⛹™Ü} (ÈbM<‘Šíþú[Š”#ÑV˜„ÒO„Àåbñò<»V8ºŽpôæìÕÕÙËK#´¤2ºZF’"GŠ0Äâèj}8gr“ÔæbF>ÿ·mLÝ—vÝšUÿòï6}eíM÷ã—÷?\üvõ=43#i!:mï›ûÜÔ+cšº} ­“HAë’µ­ó˜¢˜°h&Žûöè‹ÕùËîA¤n¿;{}uöûí8"‘HjÅš ‰i”g~ÃÑÞAûˆkÝn%‹HŒ(“PΣ÷g?á~ ðÑÙéæ,;“~¥Tl­Ø}öòD¶Ýàí7 +q©àÅVøûl}“\Ì$Æçÿ²µ¹ùæbF(üHmQØÝÕy§ +ƨÕÖ>Þvæ„Ä4Š˜ÀYÛ½¶^àÅ\Fi¥£µ‰–ûý9Ðötíã¨BDñ]bÒJÕ/‘d¨_`‚b'—öçZ"MõÆn®¯£®ð®Ÿüƒ‰Ü΂¥ÙÍçÕÊögÿ±¦èÃv¾ë•Ýä 7Ù¹£Î*Y'E} Fý©¯8ò‘Œ®o3W»³ÆQ®v“+­£ÂÊÖu6ÏÍl¬›\º©ÿsU»2Åp|‘+F)¬x;£GžÇ™ SDy3½³s³n:jzß$÷-wä”'s“×ä$5EŒèpä$A@Ü¡¸éPý8jmª;3Iő佧üë‘kLQ5÷Ž`ÙÏK†‘=ÏÁ ŒŸ ËñòmUï; +Á)F’Ì.‚Ïs{AÅùmV^wUé*)¯wþ*¹ øüãçýscÊ®T$‹¾¼ðÃ6`Û6Øú©mÑPËËYÚ'ì#q.v"©Ýi®³25ƒ=F»šéÊëng‚GbF´F”è4ì"0›Ö1^¯“j•¥>®QˆXÀ°] ›µpŒ2Ð?ŽQÆëÎ(¢ÝÌŠžQ~ß$y¶tdõ4©šÌ–~.rÚ µ0‹,±óÿšô‘¯{yœ×¼ ¯íÄá{jËå¦6Ž®ö6kVŽc– ÷þ£àÄ `\¦è)ƒxÁØ–€&åªí°ùeH`©E‚‡ âúG2Õhc=˜Š¤÷ ãÃOµ¶©©ëÓ!óø6%7„âφ1ÖHuJsOΧ…ñ<›ç™õÀ1‡ ö ápÌaÙÆ”Ãñ@ÿ87ÖÇ\j„Éîܼ°M$;o²í¼¶¹qU;·ö¦[k''‡g<..ö†'ÓH=±—ÍšÜTɵAg%è®pÆ*“D«D!¥U8¬ê‰ÕÑÆz`•Â©þZê2»sÆ^‘8†Ãvéꙫ,umÛ³GÚ ±>%â˜íZL‹¸dÓØƦ­Güö¢ßx•-Œöê–¶"{?À´{g*ËC˜Ñp e1E8fÁ@;Ð?´ãu-‹b»C0gÐ^½ý›WìÛ‡Më‰= >Ò­²6Ù¿d=ȹ„¦§Åø¢]»Î$¢X„%ˆr–‡úGÂr´±°¤ +‰]ÂÈeVfµãÉN½©*»n¾Ú;Ô`À„xƒÊSâ’j›ÿOá.U`’ +xNcè —Ã2Ð?¢ãu‡(U`)¡žž³¹¯ìs<_ÍÙiW¼ HPjÅŠ&ÝBлµY~)íïÌÄža@" Ø›ö+ÆL!ø¡Dº’ã4p03ƒ2‚Âéh ·‘†z€q¤”ò<Ï'µ«Û +ã7Ks;¼Un«¿;~žûØÓBå_>Ÿ‹1ÒRˆ5$!'¥,àõ›d¢ŠåÝm}(0ôƒóxcÝM”BX2Oï¹JÊEî¼™t=.ÚÞ ƒcž<'ëc¶0Žg¿ÎùTÉfázž¼Ìrã›ØZغÉï'‡\ýøƒ˜x^ÿççWÌqlšjÓÔÏåGÒz*>%?¡Š'δ©2fäÐ@À/Âbx.Çf $1Ž6Öƒ9A”õW*ÿt¼Ø]Ì—v³ãAFi)%_æ…µø:5“§Ã>•zú˳æq*ùÌ'‹q‚äÞÍs›ÞLœÆ”ÜÚsôTIž-žMœ” E˜«€ûR×¾c0DÉpD© "4Æ“‡êÇÑähSÝYRsĉozÏÂ,“Mºý_cÌÒøPXmš©ã̇£„í§ˆ÷3âƒXúóÂ[ ùFž¦IŸK@°— ,D^Ò£Dr »ýœ?DþÉW|| +endstream +endobj +1129 0 obj << +/Type /Page +/Contents 1130 0 R +/Resources 1128 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1043 0 R +>> endobj +1131 0 obj << +/D [1129 0 R /XYZ -16.307 900.716 null] +>> endobj +1132 0 obj << +/D [1129 0 R /XYZ 56.693 742.989 null] +>> endobj +1133 0 obj << +/D [1129 0 R /XYZ 65.161 742.431 null] +>> endobj +1134 0 obj << +/D [1129 0 R /XYZ 56.693 694.923 null] +>> endobj +1135 0 obj << +/D [1129 0 R /XYZ 65.161 695.606 null] +>> endobj +1136 0 obj << +/D [1129 0 R /XYZ 65.161 684.647 null] +>> endobj +14 0 obj << +/D [1129 0 R /XYZ 56.693 647.497 null] +>> endobj +1137 0 obj << +/D [1129 0 R /XYZ 56.693 619.944 null] +>> endobj +1138 0 obj << +/D [1129 0 R /XYZ 56.693 572.934 null] +>> endobj +1139 0 obj << +/D [1129 0 R /XYZ 65.161 573.617 null] +>> endobj +1140 0 obj << +/D [1129 0 R /XYZ 56.693 526.11 null] +>> endobj +1141 0 obj << +/D [1129 0 R /XYZ 65.161 526.793 null] +>> endobj +1142 0 obj << +/D [1129 0 R /XYZ 56.693 479.285 null] +>> endobj +1143 0 obj << +/D [1129 0 R /XYZ 65.161 479.969 null] +>> endobj +1144 0 obj << +/D [1129 0 R /XYZ 56.693 432.461 null] +>> endobj +1145 0 obj << +/D [1129 0 R /XYZ 65.161 433.144 null] +>> endobj +1146 0 obj << +/D [1129 0 R /XYZ 56.693 385.636 null] +>> endobj +1147 0 obj << +/D [1129 0 R /XYZ 65.161 386.32 null] +>> endobj +1148 0 obj << +/D [1129 0 R /XYZ 56.693 338.812 null] +>> endobj +1149 0 obj << +/D [1129 0 R /XYZ 65.161 339.495 null] +>> endobj +1150 0 obj << +/D [1129 0 R /XYZ 56.693 291.988 null] +>> endobj +1151 0 obj << +/D [1129 0 R /XYZ 65.161 292.671 null] +>> endobj +1152 0 obj << +/D [1129 0 R /XYZ 56.693 245.163 null] +>> endobj +1153 0 obj << +/D [1129 0 R /XYZ 65.161 245.847 null] +>> endobj +1154 0 obj << +/D [1129 0 R /XYZ 56.693 198.339 null] +>> endobj +1155 0 obj << +/D [1129 0 R /XYZ 65.161 199.022 null] +>> endobj +1156 0 obj << +/D [1129 0 R /XYZ 56.693 151.514 null] +>> endobj +1157 0 obj << +/D [1129 0 R /XYZ 65.161 152.198 null] +>> endobj +1158 0 obj << +/D [1129 0 R /XYZ 56.693 104.69 null] +>> endobj +1159 0 obj << +/D [1129 0 R /XYZ 65.161 105.373 null] +>> endobj +1128 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1162 0 obj << +/Length 2107 +/Filter /FlateDecode +>> +stream +xÚÝ\Kãƾϯ |ñ©í7Ù1|°¬À ï °ñ’Z3|($5£É¯OS”&+êU­VËkÒPÍêb³¾¯ëE’h‘èÇ»ïïÞ$Ò SÑã4R T%”£ÇIôéÝÏ&7icî˜$ïþVµ¦é¿N«ºÿÒÎ7?þ©_UOý?ÿüøÓý/±Ó

    ýB¢‰ýÍÎB'ÑËzdIJ€qe¿çÑÇ»¿ß‘ÍB£ ²•-4P¢z•þŘ\k±=íý;d}¢;'¡ûC¿~ÕÈÔíýƒ"Ä^}úÚVåï(³ÿ¦Ë¶j«1¬š¼gש“Ø}ü¸{‰ö¾Ð˜E1·jÞ]bw\’b¡":ÑQm¢éç×´#íðÑý X4Û zÁ´í+_Ut(_ +±]+Ì Ÿßošé+(»XÏ¢þËÏع™[Å9kž[L4mU›Ø—}ZßôqU,ªÒ”íÎp+6öÏ{—gËðjê0¸MG‚8ÝM;ÆK^ŸQV/8Ñ홽Ëÿ¿" L¬76áÈçÑ-QÙí–3öko‰*±j¨p;¢Š­ Ah0èäûA×_YÁ2äKU? yÏÉn$-nêÅ12 æÄ}s¿»—vìŸà o°*Ðne hÐï³ ²ûò=1ì­¬†‰-6©°ï&H‡¤°ŽÃ¦r‰ógM»T¸qÍr±¨j$Gt¾gƒõ‘zö:ÿp:ãž³éR¹nžšÔâ`ÐØ‘î _Eñ°š[ñ›¤uZ·Ùëí¤%C•õýjÇàÉÁ“ëÉÛ"›ù-GhC +8oò±¶;L¸<À@¾§Ù{+ë`ø Â6y€›E~]ª·X„IH_ê ÊXA,Ù-A)9$üÊÞà(¯ÆO =)¬± çÙIneQÉ»ò=‘ì­¬’¹FDG˜§åÌ\d¥A‡i:°Á¢®Öü2,ù§m[g£e»‡Í‡ãs4¦½ÉÌ"%7E²ƒPq]$ww¥€Õ‹mB¸þÀ›pv!„¶ZIÚ"Q@t¸ â@¾´ý•ÅC[$¶ÄŽŽÙ~OpÅ?§.rV§‹ùÅiAa=%Jø-y@(t[¤¹¬W!7›º‹"Ÿk`* ‡ü]ùžÈ÷VÖù‚ܶ_}ÈVØRÓ0‰¹>ÌE',9NxNól†­"Çeež•¦0“,­Fÿ6cl޶ĒRÝe»X¶W®L¼ÔÕ°Tv¢¬×1çëÅ Ôyx±¾)u½„J^—zspáÂAŽ¸f D¸’Ï@¾ÿø+‹ç®%Äœ:ºÛœ2¹\MÌ!ºúú„Ù \²+kqOþNŽýåëÓô‰ ¦Ò<öÚ…O(ˆ€íùžVê­¬ƒ•&âm{§Id×xÙ´U‘ý7m³ª¼nî¿OHíwQøÊí̹1ÍLiêý¦¸óV»ò=­Ì[Y+‹9$oÝŽuU »psëù”èâ¾JÐÎS¤Õ®j3u¬CâË3§à+!{Â÷"5îH\j*\k ßÓ€½•u0`»@‰ŽH+üÝz õ/²¹õ;e|ÓdçÖëôE%Û8ã“€É6N™•.Ù6ï‰oePBîêñvÅK—‰t±çt\7í¤t¶w•Ç}«þ/'¢!–7Ͷ±DA¯œm[/™C¨Ëb«D0ÕƬ™k.Õ6ï‡{eñ¸gJ#ÒøNMFèlõ!zðN“¥¸a?|÷ÓGÒ;oèö³»Å·¸ @è•“Yó¶ÈÛQîqnÕ³YŒj :\6k ßâÞÊ:@œ1à u̦YÓ ùiµ »ºYµ¦lö6J9ˆÍ·<}­–{5òo¿:~Æ4[ r öàW§CDß 8³¾%7m±¦š½²S`®¹aЄc»¥íØí/a äû†¿²x ±)ßÞ¥PTÏ[n¶œñlZ³º„ °Yöëw “U›â°GšßÍ´ó¸nëS¡€+® ¾‰ö]ÎðÅ”I"\å` ßàÞÊ:œ%ó·CLÓq÷¨Òä²NÒóu«Cvžæ„¬8ÐŽ{®åT~Ã& +Ƶq)é-óÔõ¹Jˆ$\kç@¾§•z+ë`¥ÔÂÛ#¤®ý=F“bŸÚ<ÜÑu> endobj +1163 0 obj << +/D [1161 0 R /XYZ -11.232 900.716 null] +>> endobj +1164 0 obj << +/D [1161 0 R /XYZ 56.693 741.747 null] +>> endobj +1165 0 obj << +/D [1161 0 R /XYZ 65.161 742.431 null] +>> endobj +1166 0 obj << +/D [1161 0 R /XYZ 65.161 731.472 null] +>> endobj +1167 0 obj << +/D [1161 0 R /XYZ 56.693 683.964 null] +>> endobj +1168 0 obj << +/D [1161 0 R /XYZ 65.161 684.647 null] +>> endobj +1169 0 obj << +/D [1161 0 R /XYZ 65.161 673.689 null] +>> endobj +1170 0 obj << +/D [1161 0 R /XYZ 65.161 662.73 null] +>> endobj +1171 0 obj << +/D [1161 0 R /XYZ 56.693 615.222 null] +>> endobj +1172 0 obj << +/D [1161 0 R /XYZ 65.161 615.905 null] +>> endobj +1173 0 obj << +/D [1161 0 R /XYZ 65.161 604.946 null] +>> endobj +1174 0 obj << +/D [1161 0 R /XYZ 65.161 593.987 null] +>> endobj +1175 0 obj << +/D [1161 0 R /XYZ 56.693 546.48 null] +>> endobj +1176 0 obj << +/D [1161 0 R /XYZ 65.161 547.163 null] +>> endobj +1177 0 obj << +/D [1161 0 R /XYZ 56.693 499.655 null] +>> endobj +1178 0 obj << +/D [1161 0 R /XYZ 65.161 500.339 null] +>> endobj +1179 0 obj << +/D [1161 0 R /XYZ 56.693 452.831 null] +>> endobj +1180 0 obj << +/D [1161 0 R /XYZ 65.161 453.514 null] +>> endobj +1181 0 obj << +/D [1161 0 R /XYZ 56.693 406.006 null] +>> endobj +1182 0 obj << +/D [1161 0 R /XYZ 65.161 406.69 null] +>> endobj +1183 0 obj << +/D [1161 0 R /XYZ 65.161 395.731 null] +>> endobj +1184 0 obj << +/D [1161 0 R /XYZ 65.161 384.772 null] +>> endobj +1185 0 obj << +/D [1161 0 R /XYZ 65.161 373.813 null] +>> endobj +1186 0 obj << +/D [1161 0 R /XYZ 56.693 326.305 null] +>> endobj +1187 0 obj << +/D [1161 0 R /XYZ 65.161 326.989 null] +>> endobj +1188 0 obj << +/D [1161 0 R /XYZ 56.693 279.481 null] +>> endobj +1189 0 obj << +/D [1161 0 R /XYZ 65.161 280.164 null] +>> endobj +1190 0 obj << +/D [1161 0 R /XYZ 56.693 232.656 null] +>> endobj +1191 0 obj << +/D [1161 0 R /XYZ 65.161 233.34 null] +>> endobj +1192 0 obj << +/D [1161 0 R /XYZ 56.693 185.832 null] +>> endobj +1193 0 obj << +/D [1161 0 R /XYZ 65.161 186.515 null] +>> endobj +1194 0 obj << +/D [1161 0 R /XYZ 56.693 139.008 null] +>> endobj +1195 0 obj << +/D [1161 0 R /XYZ 65.161 139.691 null] +>> endobj +1196 0 obj << +/D [1161 0 R /XYZ 65.161 128.732 null] +>> endobj +1197 0 obj << +/D [1161 0 R /XYZ 65.161 117.773 null] +>> endobj +1198 0 obj << +/D [1161 0 R /XYZ 65.161 106.814 null] +>> endobj +1160 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1201 0 obj << +/Length 2106 +/Filter /FlateDecode +>> +stream +xÚÍ\[“Û¶~ß_ÁÉÓz¦ ãN N§IêÌ$&±÷¡3v( ’8K‘2ywûë Š’mQ«ÝPý¤ ÁƒCà|ß¹àH8[d8ûùê‡Û«×oÎ4Ò’ÊìvžIŠdž)Â˳ÛYöþú­©LaÍ«*ðõ¿glÿvÞ´ý·Ü]ü©™þÐ4wý‡ÿ¼û׫?oñÓÜ‚´½´wî±2viŒ³Ýe?;É”Ÿ]²nvžS”–ݤóÝüÂËËÕõëþ…HÝÝwõÏÛ«WÄKÇÉ„DR³,×IL³éêêýŸ8›ùk~~ĵÊî·#W™ Q&ýû*{wõÇÞ->¹ {Ù\#‚e¯ÒJÅV‹ým¯ßø!ÛÇàÝ= +q©ü…íà_Êö®xu#1¾þµ±æîûW7„úë¢-VèáÞLþÚ_í¿0µëEû5ë¤w/?>®ß#’Ó,g1źÇí¾8G9—EZé¬5Ùüëç;öô·ÇPÿ ”ï'è“nt¬|ˆ$Cù”ûuƒÌðõÞK¤©AÙ­Àv‘õoÞîŒá`c÷Š3¯)!ýþþc63³k8–”½ßî𪴶¬°Á[s0δ°á33/ëÒ•MmnØ]þ€Þ},ÀC¸Ù,–°‰êÆÁÚMk`#ï—°“ŽˆŸî~¬Y \¼¢îàt¹©ï4ø¸)«€OWÚ!©ˆ¯lç q¶g•˜ãž@=»}”#O¡û17P"!þ6)ÒáüP~$Σ•à\ „•ôœ‚Q.h¿šµ1` —5lܛ߆¶ô—“¶Ô3Hñ8‚ª©ÊúnÈ×÷D@ÀvÁ½9Ésâõ¤›•š"ÌÉnöm31­ë=é;W<º¦ÍÓJE#*§•9AÌp*äÇ!0^Y¸§•9G’ï®—fz7.ksà-llŸÿÓž´œAßšÅQ½Hëbœ~UX°ØòeœIÕ¥—äî3 &ÆåWºÊt‹†lµ£œ/ß9³ZW…O£Ðê‚. “ˆš€¨@T°tt(?’€¢• ŸVþ9Ò‡F¾ëuÓº‘Ù¢ôÐZYãÆwYÏØHS™•÷™60dÙÀSžÏ ²™.‹º´«Ãá/£ÉÇ5T§Ëkò#=ZÙc÷±µP»x×AÍ¢†'zÞ|ÚÒÝS•êét +ÌáÎôÈ¿äTOåzÖ|ܘzjÎö~ÄÇUX\Òý ¥ÊÇŽ¶ƳÔfÝy?࣋\#ÂótþMøÈ‚(• òùqWyáƒù.Çû™“föHÛE ˆÁe ¸¦Ö®œ‹KMí>'¥çDúd#DŽ(M—qäG"ZÙ@HŒÙqâ›òê­&›ÅSuWƔ֌À·Å{{~Qà•Sxä ¨5óÎÕ?†¸JV SáÝ+¡éRœüH‹V6Àâ»2ßþ4Ã[|œ½sÊ—/ä50¶¼ýíÇ‘}ŒkÖ°•ùd*(ÏM{ù½”G%­$Ÿ® +oÜzãÎöØG&ì¢üÄ•ð¯z\~*6®qÍ4€žxÞIËtôÄ=1É“ÑÓ@~=Å+ §'Þ÷êlzzæìÑ@óLo1GÖL»ÓØãJ³vËáø¿áç©tZl,8£†F×ÍÝy+òÌ@ Ý-êf¸/cÓMX¤Kîò#¡­lt|ÜÌö§'Óe±>*ÎǧBÅzmêÙQœàT¸ K}Q§B’ŒcÇŒœøI} –ÎÇx‰ZÐt@9” ”he€âÃmúmTù¦6máBÚ\¦MmK{T:xþ¦rfcúBð¹_ovI|3E‘ ê |ÿT|2=z/îíSà>5Ëé6¯Nf&}âÎe20äÇ9ZÙ“ÐeÝëžÊ !˜ÓF‹ÕЊ¿Çº£B!%.z<͘DœÒqýÔ¤œTeû0*·)X:S&ÂKLgÉâ# 9VU¸SbD#¼'±w!ÎƧ·Ë戯_ŸÆEÓ.jOòã–$z;[´ÅzÐÞùò™ñ¼|Ÿ*DQÍ°·/¨ŠrA. nª1bDŽ îYù©´>í €7U °œJ½¶Sá{ ?àñÊÂN}Œ ÷ô~[L*Ð',o”n Îå·5û£Äwø»çÑZ8×–“3gµ9?S$öæ5«Ò9hÀ¼mVÀY†"¨dž®‘z ?ÒУ• 0tþu)@ßX7ôftrjáùO_4?Þ£¹Î¹‚z*’ê¢Õ”1DÅÈÕ­™‡xʶéX:ã½·éN³ò#­lð|¸Úå,Û -êé|N¶ëR™ª§] ··fl ÔñÌ¡µš£$ñ™:J]•5”ÎÚ +LªÚo—ͦúIèÏL6vày*CÔãH’t¨= ÚXU0‹9RZ×B9a`E´ èE!’KD”¼T5~ß‘_Ø»F¼!p™0K">68]–4‡xeáx >PÍ5 ¬Î?”¼ÔÁ ,°t¶Pk_·ÍÚÛ)¸óêùŽÔ§çd8ýËØà ž.ïÈ4ÝheL—çH±]Þt^4ÝXçóÚÿÏôö… !.šn¢¡#§UiýêÇTÑ'­kÄt„Ä;QÎÒå#‡âãð­j:EiÈäàßhžIù@RžUÕl\g‹ ©þO½:#¨ò"ZTŽxºîšéq¦«(Ü’5Þª þ¡Tðføï> endobj +1202 0 obj << +/D [1200 0 R /XYZ -16.307 900.716 null] +>> endobj +1203 0 obj << +/D [1200 0 R /XYZ 56.693 741.987 null] +>> endobj +1204 0 obj << +/D [1200 0 R /XYZ 65.161 742.67 null] +>> endobj +1206 0 obj << +/D [1200 0 R /XYZ 56.693 684.922 null] +>> endobj +1207 0 obj << +/D [1200 0 R /XYZ 65.161 685.605 null] +>> endobj +1208 0 obj << +/D [1200 0 R /XYZ 56.693 638.816 null] +>> endobj +1209 0 obj << +/D [1200 0 R /XYZ 65.161 639.499 null] +>> endobj +1210 0 obj << +/D [1200 0 R /XYZ 65.161 628.54 null] +>> endobj +1211 0 obj << +/D [1200 0 R /XYZ 56.693 581.751 null] +>> endobj +1212 0 obj << +/D [1200 0 R /XYZ 65.161 582.434 null] +>> endobj +1213 0 obj << +/D [1200 0 R /XYZ 65.161 571.476 null] +>> endobj +1214 0 obj << +/D [1200 0 R /XYZ 56.693 524.686 null] +>> endobj +1215 0 obj << +/D [1200 0 R /XYZ 65.161 525.37 null] +>> endobj +1216 0 obj << +/D [1200 0 R /XYZ 56.693 478.58 null] +>> endobj +1217 0 obj << +/D [1200 0 R /XYZ 65.161 479.264 null] +>> endobj +1218 0 obj << +/D [1200 0 R /XYZ 65.161 468.305 null] +>> endobj +1219 0 obj << +/D [1200 0 R /XYZ 56.693 421.515 null] +>> endobj +1220 0 obj << +/D [1200 0 R /XYZ 65.161 422.199 null] +>> endobj +1221 0 obj << +/D [1200 0 R /XYZ 56.693 375.409 null] +>> endobj +1222 0 obj << +/D [1200 0 R /XYZ 65.161 376.093 null] +>> endobj +1223 0 obj << +/D [1200 0 R /XYZ 56.693 329.303 null] +>> endobj +1224 0 obj << +/D [1200 0 R /XYZ 65.161 329.987 null] +>> endobj +1225 0 obj << +/D [1200 0 R /XYZ 56.693 283.197 null] +>> endobj +1226 0 obj << +/D [1200 0 R /XYZ 65.161 283.881 null] +>> endobj +1227 0 obj << +/D [1200 0 R /XYZ 65.161 272.922 null] +>> endobj +1228 0 obj << +/D [1200 0 R /XYZ 56.693 226.132 null] +>> endobj +1229 0 obj << +/D [1200 0 R /XYZ 65.161 226.816 null] +>> endobj +1230 0 obj << +/D [1200 0 R /XYZ 65.161 215.857 null] +>> endobj +1231 0 obj << +/D [1200 0 R /XYZ 56.693 169.067 null] +>> endobj +1232 0 obj << +/D [1200 0 R /XYZ 65.161 169.751 null] +>> endobj +1233 0 obj << +/D [1200 0 R /XYZ 65.161 158.792 null] +>> endobj +1234 0 obj << +/D [1200 0 R /XYZ 56.693 112.002 null] +>> endobj +1235 0 obj << +/D [1200 0 R /XYZ 65.161 112.686 null] +>> endobj +1236 0 obj << +/D [1200 0 R /XYZ 65.161 101.727 null] +>> endobj +1199 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1240 0 obj << +/Length 2475 +/Filter /FlateDecode +>> +stream +xÚÅ\Û’Û¸}Ÿ¯`mvœÊ`p!@Ò•MeÇ›rìdcOª¶ÊÞJÂHÌP¤–—™Ñ~}¢´6©[C´O£‘Àf<çt£$ ¦ ~¸zuwuûFÒ !‰â*¸»'* +b&ˆˆ‚»IðéúƒÎuZë7\Òë•®»÷eÕ}hfë_—ãWeùÐýóÓÇw/~¾{ §¹aŒ$RvÖ>6Ë\×3­›Úü ggA gWÂœ=Œ8‰˜n$I¢õùØ‹âëÛîS‰9îêïwW¿\1°NHET"‚(aDQŒçWŸ~¦Á~ƒó“0‰ƒ§ÕÈy %\(øœ¯þsE×A÷NÈÆv˜FUçÒgÎåÊ‹Ía·o`Èê2BsLLBÃÝü•#]5/n¥põé²)‹—/n‡éT׺iä¹Î;ƒ0SƦùóCÿ"áΰˆ‘Hˆ`±¹H󽤉Bp’ÄIPéàþë«êYÛýíö xL„L6'è 33ÚÕ¾$L±¡}I‰`¶0gøúŽ+’ðä ή VÓ ûða ÞíÜ8.^áo²ç¶íŸV·|ÔN{×_ ª"Ê£õO{ŽlàNb€48Ë5Ùkûºhç€I‹€ëóéKSîºÞo÷φŽ|{xVŒðà¦ÞˆjdZLpÑw¤Éš\¸-ÇyÎ¥‘`šïù»_â('1•'HÜÛ¬zH;…ûgY뇾½Oô}–kä%ƒ„²ÈŸ´©˜*coÒ6°ï&mîÎâ¥MŶ´Ýí„î^¤Ïõx–Y=Ç Ïjܸ¢|BLçº^¤c¤»éSZé“”l¿(´‹EY!…á§ܽ‡—ÞÕ1?vrÞìåÍ°’þ4ÓÅP äW( +%dxl£ŸiH»Ü¯/ƒ"ÙÝfÌ V"Fhâ/Øwd¬³³ÆSi¬à\!ñ:EžêBWi“S—à´¸ž/ò «ºŸá?`Y¶¸³ôñÌÌ]¤5ÒÉ7ÿÆÃæ&Û2`)pC +†Œ0釃Šú£`ϼ#]]µ  $äq7•YQg¬@×XlVpã›<½C*‚xîve¿ÌÊ6G&Ô#ä¬5ËSsi%# ¿d2­DHäFŸÏU/˜Véb–k‹râ!‰¾pgÏ©™ ±Guè™wTWW-jˆãëÛÿ}žc“ÙZçzÜdedÏ7®*s$ÏЋëy›7Ùk6›C¶QŽþ‡ä{®çº¦ÇánÖ°1óǾ}G<:;kHªàoÒò)kfY-Xßáñ°tý§Ã!ë Dm†$HV`Wz¯ËñVhý“<ìOj[{æA}j4“IBâä¢ÑLFü”hö>m«¬ùµ gouZÔ_ÂÙoË‹x&UD¤ðÏ$\²ÇQß¼›~8»Š—)sjí~?™è‰¥#:øŒËˆƒ–E¹¨³Úò°aû}XÛŽ“U(ðPÛ!;£Ü{æyèê*¾¶‚ ºÎöó¬Ñ¬ˆÓeÙ6–!ë®JÇXòd“ÝQK$*¡è|;””PqÙ¨Å{êÌ{Ã&Ùcf’›¸Å"¢"Ÿq nCä‘-=óŽlquÕ"h]J7A ½AÈje¼êÀ v[ÕæÃá'-Ƴ²Ú’ìï¾aß&7¶‚¸A²EoúwÜŸq_–M±Ú劭“/Ë¢âRA¢Ëjšˆ€ûÌšv_.˜…ž‰ˆáSÏ„¢$dþòð}7Esw/irþˆ~)"à0n–Ze}~EÃó|tˆf»ÄožVíÂN±ëóz⻃™u?L„ pÓÀ{æñíꪼ%%Yç·ŽuçûÝ‘M‹²Ò“Scˆ1ä +}ûŽXpvÖ !x'–Z‡ß<éAèLµ¹ß"îQ)Z,òlœZT"î/ªÌÇA+1ú[¡ ì;‚ÜÙY JbÑa˜Ë Ɇ¶(´)|¥Õò"År÷5I9nÍþ¬Õî˜!/lä—‡DJqÑЙl„í÷|d'œpY<‡¥ +÷Hú}7Ò»;‹'=s| €Ñ[Ñ¥tƒ…q>´‹¨ë_Z=ÜÆc_%Þ;p +ÄÖÏE äA/Ï¡Ñs¸» tœR‘i( ˜ïÛwļ³³˜‘ë…«Ù‚„ÌL§Ë'"K«­Ù׫Fø™—Žº0{29c[áûXã¶nÊyöëŽTð84eB Úùƒfß¾#4µ€¦y¶ž±›£´ÆbÝîÃ?²—ÖûÁ‹¸ÁŠ!/™Êp!HñÉÔçJßÛd0\ÀÕùÌa˜iîyÔó¾}GÒ8;kA`Ûf¶\Ì@óο>ýï‡w؇Z`— ó»¥ +[šdµQüÉ™7jåYñ`™ŒeƒU¯|yfwÛ-Lì8m±%é9¯¯_IÛ˜hZ„"¼¤d²Ø4¥“ßO3Y3šÉ”iñúÓÌ}7Ítw¯™ òmº–LP¶Ú橽ÿ2Žë3‹ÛFݱò–¢ß$PÍÓ»¬87½² sÛ<ì{·'¹Î`¡Ól8mö†Ù> endobj +1241 0 obj << +/D [1239 0 R /XYZ -11.232 900.716 null] +>> endobj +1242 0 obj << +/D [1239 0 R /XYZ 56.693 741.922 null] +>> endobj +1243 0 obj << +/D [1239 0 R /XYZ 65.161 742.605 null] +>> endobj +1244 0 obj << +/D [1239 0 R /XYZ 56.693 696.863 null] +>> endobj +1245 0 obj << +/D [1239 0 R /XYZ 65.161 696.305 null] +>> endobj +1246 0 obj << +/D [1239 0 R /XYZ 56.693 627.403 null] +>> endobj +1247 0 obj << +/D [1239 0 R /XYZ 65.161 628.086 null] +>> endobj +1248 0 obj << +/D [1239 0 R /XYZ 65.161 617.127 null] +>> endobj +1249 0 obj << +/D [1239 0 R /XYZ 56.693 570.143 null] +>> endobj +1250 0 obj << +/D [1239 0 R /XYZ 65.161 570.827 null] +>> endobj +1251 0 obj << +/D [1239 0 R /XYZ 56.693 525.085 null] +>> endobj +1252 0 obj << +/D [1239 0 R /XYZ 65.161 524.526 null] +>> endobj +1253 0 obj << +/D [1239 0 R /XYZ 56.693 478.784 null] +>> endobj +1254 0 obj << +/D [1239 0 R /XYZ 65.161 478.226 null] +>> endobj +1255 0 obj << +/D [1239 0 R /XYZ 56.693 420.283 null] +>> endobj +1256 0 obj << +/D [1239 0 R /XYZ 65.161 420.966 null] +>> endobj +1257 0 obj << +/D [1239 0 R /XYZ 56.693 373.982 null] +>> endobj +1258 0 obj << +/D [1239 0 R /XYZ 65.161 374.665 null] +>> endobj +1259 0 obj << +/D [1239 0 R /XYZ 65.161 363.707 null] +>> endobj +1260 0 obj << +/D [1239 0 R /XYZ 65.161 352.748 null] +>> endobj +1261 0 obj << +/D [1239 0 R /XYZ 65.161 341.789 null] +>> endobj +1262 0 obj << +/D [1239 0 R /XYZ 56.693 294.805 null] +>> endobj +1263 0 obj << +/D [1239 0 R /XYZ 65.161 295.488 null] +>> endobj +1264 0 obj << +/D [1239 0 R /XYZ 65.161 284.529 null] +>> endobj +1265 0 obj << +/D [1239 0 R /XYZ 65.161 273.57 null] +>> endobj +1266 0 obj << +/D [1239 0 R /XYZ 56.693 227.828 null] +>> endobj +1267 0 obj << +/D [1239 0 R /XYZ 65.161 227.27 null] +>> endobj +1268 0 obj << +/D [1239 0 R /XYZ 56.693 181.528 null] +>> endobj +1269 0 obj << +/D [1239 0 R /XYZ 65.161 180.969 null] +>> endobj +1270 0 obj << +/D [1239 0 R /XYZ 56.693 135.227 null] +>> endobj +1271 0 obj << +/D [1239 0 R /XYZ 65.161 134.669 null] +>> endobj +1272 0 obj << +/D [1239 0 R /XYZ 65.161 112.751 null] +>> endobj +1273 0 obj << +/D [1239 0 R /XYZ 65.161 101.792 null] +>> endobj +1238 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1276 0 obj << +/Length 1907 +/Filter /FlateDecode +>> +stream +xÚå[ÛŽã6}ﯰ/n`ÍæbÈìf²;›ìe¦Lò@Ë´­µ,:Ý—|}(KÊ´ån§Ô²œy²lQÅÉsê°XÆÑ2ÂÑ7Won¯nÞ +i¤%•Ñí"’IÅ„!¦¢ÛyôqòÞfÖ”özJžüÛy[Ö— WÔ~ÕÜü»KÞ8·®¿|ÿáÛëoß…n¦„ -DmíƒÌl¹²Ö—ÕíÐ;‰âлdUï\Q¤‹¦iÕô¯‚=Onê"uõÜÕ×·W?]‘`G$IÍ"¥ ’˜FÉæêã8š‡{¡ÄuÝï[n"A0¢L†ë,úpõ¿+Ü ~q@ZÛ\#‚eíÒ”Š½íc7oC“ýkðê™q‡ûÆó̦s[øÏ®§„b<ÉÒÒ—è¡Ìj ah*#ÕÇ7‡o¦‚()zæ¬z«êwR\FéXG…O_ãÀÚó¿w@cDbÞvP&Uë¡ö"’tí L +ÃéáéK¤©>ƒ³{ƒÅ2ª/Þ7s~0­ãŒ °"[Ü…I<˜õcSÑÇ© Sœ¬L¾´m›;cr½¿š6·_0Q +Ô×Öødkš–@“…›™Yök½+A”@Ó&ŸÃæ8Ö¹MBï¦xì ÷AñEÃl‡»ðõÂçËd‚)¢1ùÈDjŠÑ㑉Œ +ü:—šF%ƒ]…3‰Œ9’¼ hoÓØÒ^8X;·óÛ‡Ú,` K»ÜØÜ[ ^÷ Öô>õ@ÂڸȂ>0.p°òg‰ù‹é¸ Ÿú¬ûØäK(ÃHD&ãâÐþ@TŒæl3B#Îéxƒqhà` v¶G„R¬¦ˆ7»%l5vë ª{{HŠEá6]\|vZÙ¬¼ß=rsó2þf»eùBp®ùÜÎÒœ~ÀËnëI±ŠïÖ¹`—T’1$˜~…‚x—kSKйҮ[%‘˜, ¤– Á%GÔ$lFI<UÚHƒíA$ìq³£þj>‡ér·…ÓX)˜ÌÛ"7>½ë$-’ ês¾ÛÌlÑ‘¿½6±F’êKBRÄ)"^ÉïÌ®HýÏ5(ßY“—.oaù`·= àˆ” ãAR„¨4 ’ûà 9ÜY8$…Ô·[º÷vãî  üÿ»| Z’„Í_îS÷æÎ ÞA“ö.u»ªOîÒ2uùk7ç"|Ƙ_ÇL£XŸÆæaQÁøóë†Z·äÉמ§ÁeˆqR½ ã‡öb|°³=0N)¢BþQÂîί:m+åzRçæfŒÑ)p;=wÉ®Ê7ôÖ›¹ñ®Î÷ý- JÈ8³Ýò¹ýý_a4+Š²JbÅ—ä®Âò5' ïݬJMïßóƒ7þï´L|k3Dðˆg Õáã5tìã–áι…+8£=3„/,v†e,°> ªû•…fתUtȹõÆk X—W§*P"§& !6MÊójS&iÚƒ“öÐú'!ßþç¿ÏÍAø¯¿ud|Ïm—‘XŒ¯Cûá5ØÙð’ñ6»V¯º#Y:øÜ,.·ÌåK[@·lWgôÏ\ĈhuÑ0Æ¢1;oKÜfëò 3úÄ2*q+Ì GLŽ—Õï؈µÁÎöÀQHrý«LrµÝl3ãí¹UrÂÅñÙÍ ™œ¸ÌmWPn‡˜;—B3^¶GÄ­9ª38QY0)íO;›'öÕ|BbŠŽÆ'´Z“J规ÂG‚6™‚x7˜Æá·ß}ÛÔ=å$MiµðU}ÛV*-\–¹k*&÷i¾¬ªk6šÚ¦•¹¦xrwMĤybfm^_m̼ù-Ìý¯Pû¾ƒ·Ÿú&1GJÉ–ÝV~“=ã!•ûÓ6ÜF¦Öv™VÓtX_U"õuQWe¡ÃјÒ0AD©pQeˆéyYxY˜í*ˆ¯$ÌïÐË fˆ±ñH¸c wNÂa €$Ñmfj äÕ»ÔÞÃs™ytÐÂofô| D{ãSp{xAABñZòc#Æé%ÅU +qŸÆó´ÎÉö€1•Á)ÆÃ1 /¬Ž†ãŽýa8î,ÇTh¤4ï)¦ÆÉ8îÊ*Zö-žIü3ùÿ/Oo}Ó> endobj +1277 0 obj << +/D [1275 0 R /XYZ -16.307 900.716 null] +>> endobj +1278 0 obj << +/D [1275 0 R /XYZ 56.693 742.989 null] +>> endobj +1279 0 obj << +/D [1275 0 R /XYZ 65.161 742.431 null] +>> endobj +1280 0 obj << +/D [1275 0 R /XYZ 56.693 696.165 null] +>> endobj +1281 0 obj << +/D [1275 0 R /XYZ 65.161 695.606 null] +>> endobj +1282 0 obj << +/D [1275 0 R /XYZ 65.161 684.647 null] +>> endobj +1283 0 obj << +/D [1275 0 R /XYZ 65.161 673.689 null] +>> endobj +1284 0 obj << +/D [1275 0 R /XYZ 56.693 627.423 null] +>> endobj +1285 0 obj << +/D [1275 0 R /XYZ 65.161 626.864 null] +>> endobj +1286 0 obj << +/D [1275 0 R /XYZ 56.693 579.356 null] +>> endobj +1287 0 obj << +/D [1275 0 R /XYZ 65.161 580.04 null] +>> endobj +1288 0 obj << +/D [1275 0 R /XYZ 56.693 532.532 null] +>> endobj +1289 0 obj << +/D [1275 0 R /XYZ 65.161 533.215 null] +>> endobj +1290 0 obj << +/D [1275 0 R /XYZ 56.693 485.708 null] +>> endobj +1291 0 obj << +/D [1275 0 R /XYZ 65.161 486.391 null] +>> endobj +1292 0 obj << +/D [1275 0 R /XYZ 65.161 475.432 null] +>> endobj +1293 0 obj << +/D [1275 0 R /XYZ 56.693 427.924 null] +>> endobj +1294 0 obj << +/D [1275 0 R /XYZ 65.161 428.608 null] +>> endobj +18 0 obj << +/D [1275 0 R /XYZ 56.693 391.457 null] +>> endobj +1295 0 obj << +/D [1275 0 R /XYZ 56.693 363.904 null] +>> endobj +1296 0 obj << +/D [1275 0 R /XYZ 56.693 316.894 null] +>> endobj +1297 0 obj << +/D [1275 0 R /XYZ 65.161 317.578 null] +>> endobj +1298 0 obj << +/D [1275 0 R /XYZ 56.693 270.07 null] +>> endobj +1299 0 obj << +/D [1275 0 R /XYZ 65.161 270.753 null] +>> endobj +1300 0 obj << +/D [1275 0 R /XYZ 56.693 223.245 null] +>> endobj +1301 0 obj << +/D [1275 0 R /XYZ 65.161 223.929 null] +>> endobj +1302 0 obj << +/D [1275 0 R /XYZ 56.693 176.421 null] +>> endobj +1303 0 obj << +/D [1275 0 R /XYZ 65.161 177.104 null] +>> endobj +1304 0 obj << +/D [1275 0 R /XYZ 56.693 129.597 null] +>> endobj +1305 0 obj << +/D [1275 0 R /XYZ 65.161 130.28 null] +>> endobj +1274 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1308 0 obj << +/Length 1840 +/Filter /FlateDecode +>> +stream +xÚí\[Û6~Ÿ_¡·N€Î ï—EQ`»½E»À&óP ÛÙ¢ÇÂÈ¢+Ñ“L±?~)_šXŽ'äPtó'idêðHü¾çRƒŠ»?]}w{õòGŽ + ZQÜ. +A@ÈBa +T·Uñæú•iLÙ›7„£ë[gúÝéÂv»·Üÿø½gíýîß^ÿòâ÷ÛŸ}77ƒæ|gíµ{lL¿4ÆõÃϾw\(ß» CïL˜7´Ü÷¯¼=©®_îXèᾫn¯þ¸ÂÞ:*pÁM ©1DŠùêêÍ﨨üo¾`Zo·-WÇþ¼)^_ýç +í_ò§Ãá§,û×%)$Ó€‘,×9’ ™(h¥‹Î‹³¦B;  +0“‡v†ñÐ:Õ>,ðØ>G¤PA=|øšh¢'pvk°»+v'¯ö@ôC¸…Ûqï8ÃÀè<¿–÷f;úç onÀi]ë±ÖºÛ4-çvµ.]= mÿ¶vË°–K·jøQSÿÀ°»pô€‘€•ÊŸcû‰ðIv6>Ôó_Šƒ’­ìƒ½ãíËÿjñtl®—v5¾å‰æ[ke[Ev²YGvÑÔí}¬zq bÄm6ÛO`²³Ä8ÞOeÿ¬ª@™)›&¬¥³aíÖM97KÛT¦ 4lVþK—Î ï}¬yé\WÏ6CPG€Ðç6m,ÖeUÕíÝqÛO#q 'î#ó‰¸Ou5öHçjû3ƒ:¶û«ß<¡Ñ^ºÆøùöiüø veZ÷\½šÅ8Û°ì§{º³á/´®ul¼ÖoºÀ–›~¤`O ÌžÞð¿'°dÊ*ª‡¶|¨ï|LhÛ8a $Ãq +_ö½©"ÕK(Ÿèq’ÇÇöqœìlŽ•Ï)ÙÆC‚8]¹êC3”À‰¸5ï0Ž;ÏûÙ™‡g+ŸB@ý›IH…ÏO‹û¼^p Œí5å¿„G©£ñSÀ<ÀÐ>â·3Ó¹Û‡~íÊGgÛ¼¸Áäƒ ÞõMè£3ùª‚ +à$_7²ŸÈÆdg#ØH5(,¾TžÆ'¥À©¾(5ý€ §¥¦«]cÖå]7‘wD|ÜäJƒD47GöÓ¸™îl87¹öæ5Žå¦Ÿ‚–uïl÷Ö¾)í&p"tá9ßgJeîÉù%©Ì…ð´T.7ÎÖÕ»"sîÝ *#‘%ó•ªFö‰œìl‘™ðGKäK2è¼Ñ¥iCóÇqçÓõ…*¶ºÜDÕbTb‹.:ßsìqy¨§O%fÖ.bÂ?'Â,ŸB0-qžM!FöÓ"ÝÙp…`Ze$²˜ÝoÖkÛ¹‰Óâº]ŒË„×/ÏSxS¦Ñü[Z¤µxêd„0M qI5`ædZ5è[»Ž&¼i*ø 9`H¾ÀÿØ|¢¤º¡œÇ*:%ß´ëÎ:ë×æKàÿ1° _”Å„%rZ¯×¶¦u1Lv ž‘Ɉ{¿gz*ÛOär²³dFÜCa_îþ!bÉ4ÏÜø/Lé6Ýéòñ×Oèu;o6§«½S& ½™Ÿ, +}:s¨ÛÞ™20²²‹Èåª1°ŒÛÌFöÓììY¸SÍ@6•=•÷Õ¹¿¹βÌY÷‹Õ± ^êsÁ\Hƒ7æÁ4¹Výq¶ÁY–kgºþ¹“8UXÆíx#û‰4Kv6|ž¡Š‚<”n—¦7 *÷¡{ Zë‚ÑÞ™*43 |è²ò¬ }O'aÎSþ¯}ØÏݳr~ÿ¶ìª>vjxÆ„#û‰œIv6‚3’€:ì ³öæ}ïV¡I¥Þ‘±zH ‰òUGöœìl ­£«‡ƒPM¬Q‰ûb¨†5H|Ѣњ¸(÷‡%ý,“Íåý ërDrÈd›O£Y²«á,#Rûct]î0À_jršŸ5¹(‰™~ÿÜT$ž5v~Ã`†áŒõ8B4 ž¯7²ŸÈádg#HL P¶¯Çý˶&´Æ¶ã@Êo‚§ÀL|ýˆcf&¯ž‘šU UDs:ñjeÛUÀÚ;‘qZÇŠ€Ç6QÙO…tgÃE+>­°U½x ý®iüqÂßGÞ÷©íç5ûcPF/Ésì”è¿wöÇÌ;!2~óŽ)†ò-FŒì'=ÙÙ¢SåaÀã‰Þ™‡ºþ)jûmaX''uh™vãŸhUÿîkÂ’dŒ„øpŽauQ A8bKˆ—j{S÷Vh!%ÚûÂ2îÍW +¸Ê·CçØ|šŽ$».#ƒ’ŸÅ^½~3‹ØW·}]™çï eåNéeð“L3äÑB?çÿÒüµ:5] +endstream +endobj +1307 0 obj << +/Type /Page +/Contents 1308 0 R +/Resources 1306 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1237 0 R +>> endobj +1309 0 obj << +/D [1307 0 R /XYZ -11.232 900.716 null] +>> endobj +1310 0 obj << +/D [1307 0 R /XYZ 56.693 759.068 null] +>> endobj +1311 0 obj << +/D [1307 0 R /XYZ 65.161 752.393 null] +>> endobj +1312 0 obj << +/D [1307 0 R /XYZ 65.161 741.435 null] +>> endobj +1313 0 obj << +/D [1307 0 R /XYZ 65.161 730.476 null] +>> endobj +1314 0 obj << +/D [1307 0 R /XYZ 65.161 719.517 null] +>> endobj +1315 0 obj << +/D [1307 0 R /XYZ 65.161 708.558 null] +>> endobj +1316 0 obj << +/D [1307 0 R /XYZ 65.161 697.599 null] +>> endobj +1317 0 obj << +/D [1307 0 R /XYZ 56.693 650.091 null] +>> endobj +1318 0 obj << +/D [1307 0 R /XYZ 65.161 650.775 null] +>> endobj +1319 0 obj << +/D [1307 0 R /XYZ 56.693 603.267 null] +>> endobj +1320 0 obj << +/D [1307 0 R /XYZ 65.161 603.95 null] +>> endobj +1321 0 obj << +/D [1307 0 R /XYZ 56.693 556.442 null] +>> endobj +1322 0 obj << +/D [1307 0 R /XYZ 65.161 557.126 null] +>> endobj +1323 0 obj << +/D [1307 0 R /XYZ 56.693 509.618 null] +>> endobj +1324 0 obj << +/D [1307 0 R /XYZ 65.161 510.301 null] +>> endobj +1325 0 obj << +/D [1307 0 R /XYZ 56.693 462.793 null] +>> endobj +1326 0 obj << +/D [1307 0 R /XYZ 65.161 463.477 null] +>> endobj +1327 0 obj << +/D [1307 0 R /XYZ 56.693 415.969 null] +>> endobj +1328 0 obj << +/D [1307 0 R /XYZ 65.161 416.652 null] +>> endobj +1329 0 obj << +/D [1307 0 R /XYZ 65.161 405.694 null] +>> endobj +1330 0 obj << +/D [1307 0 R /XYZ 65.161 394.735 null] +>> endobj +1331 0 obj << +/D [1307 0 R /XYZ 65.161 383.776 null] +>> endobj +1332 0 obj << +/D [1307 0 R /XYZ 56.693 336.268 null] +>> endobj +1333 0 obj << +/D [1307 0 R /XYZ 65.161 336.951 null] +>> endobj +1334 0 obj << +/D [1307 0 R /XYZ 56.693 289.444 null] +>> endobj +1335 0 obj << +/D [1307 0 R /XYZ 65.161 290.127 null] +>> endobj +1336 0 obj << +/D [1307 0 R /XYZ 56.693 242.619 null] +>> endobj +1337 0 obj << +/D [1307 0 R /XYZ 65.161 243.303 null] +>> endobj +1338 0 obj << +/D [1307 0 R /XYZ 56.693 195.795 null] +>> endobj +1339 0 obj << +/D [1307 0 R /XYZ 65.161 196.478 null] +>> endobj +1340 0 obj << +/D [1307 0 R /XYZ 56.693 148.97 null] +>> endobj +1341 0 obj << +/D [1307 0 R /XYZ 65.161 149.654 null] +>> endobj +1342 0 obj << +/D [1307 0 R /XYZ 56.693 102.146 null] +>> endobj +1343 0 obj << +/D [1307 0 R /XYZ 65.161 102.829 null] +>> endobj +1306 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1346 0 obj << +/Length 1960 +/Filter /FlateDecode +>> +stream +xÚå\ßoã¸~Ï_¡·fÂåoŠ×¢@÷®{Eq½¶·Z`ïd‹¶…È¢+ÉIö¿ïÈ’s¶bgG¦äЇ@²D Gä|ß g¨ÐhÑèû›÷7ï?*Yb5×Ñý"ÒœhÅLa¢û4ú|û“Ë]R¹ww\ÑÛ}íªötáËö¤^u7¿óóÞ?´?þýé‡w¿Üÿº¹cŒX¥ZiŸê/¹«VÎÕUszgQ ½kÑô. '†‰èNkºþ-È3ñíûöÀ´mž»ùóýÍnH§‹”&ÚŠÈXF4åÑ|}óù¥pú'ÒÆÑÓ®å:RŒ.4œçѧ›ÞÐn èÙÙË––0ª[•~æ\í´Ø?öþ#4Ù½†lž‰‰Ô1ÜhÇÏÏ\Y¿»Ó”ÂÛ'_j_|óîŽqø™úù Œï&|žä9®eíqí +÷tÔ°»ü»îâë§nKïëÞ#·ä|ó¤®Ël¶mpÞ{è|;6y2w+Ÿ§®D¾²[Ã3µw€`Äýñ!`Å LOgõÇò­>XÙVÏ)Q@È;«OÒ4+–ÈY8mEÁ³Û8›æÿ‡óö¼ª×yß’ÿø¶%ûm½ÙÖ8…À;®]q`Ë“;‡@ègŽg]™7)8¿À•}—­àŠW3|¾T6Íò?¤¾uò|©û‘Vªù5Ý4Œ0œìiŠ…Ûz€’ÔˆÕtH*J87ÓÁòX~ ,ƒ•ÅÃR*A“TX¥9º<Z–NSÅÖ:»­.Ư4„‹øªøå’.ÇÅïÂûºðõT­d ‡f˜ +"étE‰žü@+;À´±„ø]gU…†ï`XŽ‹Ê½5"ß,).Æ/„(’]µØ"Œ!ÒŽ\l©Ü¼)®ÉD +mˆf:ü +xae¦+µôä‡á7\Y<~…²$Ö]"úÃv‰­sŒ¾œ±ö 9FOømgš0:]íº'?‚•ÀFÌa_j×EV­‚1œ#ü­ñ :ZCo1éJjÕÀ§0kROgÆÇòÍ8XÙfL.E·mw‹O{¡·¾ûàªHÖ.½(ñ†4Ü‹}…£2×tzÌXÂ¥×é5KéÎ_!ßœiPcÂx—©˜>]M¸'? šáÊâ¡ DÓ¡Éëû¿‹dÒ 1:‘×~“ͯòSŠqÕz0œHO†È.‚Üí»>¾t*4=þjàåb³s–”ݲwê”q5áW ‘vºÚtO~ =+;€˜$&–?Ÿ%Ÿƒ¶‹  âÌ·äo|LûšR¾þ5m(·@T¤èUkÕ±"ÊŽ\ª^–Éf•ÍJ]¼SÿÉBRXIÚKþ‘ÅC Š• +endstream +endobj +1345 0 obj << +/Type /Page +/Contents 1346 0 R +/Resources 1344 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1237 0 R +>> endobj +1347 0 obj << +/D [1345 0 R /XYZ -16.307 900.716 null] +>> endobj +1348 0 obj << +/D [1345 0 R /XYZ 56.693 741.747 null] +>> endobj +1349 0 obj << +/D [1345 0 R /XYZ 65.161 742.431 null] +>> endobj +1350 0 obj << +/D [1345 0 R /XYZ 65.161 731.472 null] +>> endobj +1351 0 obj << +/D [1345 0 R /XYZ 56.693 683.964 null] +>> endobj +1352 0 obj << +/D [1345 0 R /XYZ 65.161 684.647 null] +>> endobj +1353 0 obj << +/D [1345 0 R /XYZ 56.693 626.181 null] +>> endobj +1354 0 obj << +/D [1345 0 R /XYZ 65.161 626.864 null] +>> endobj +1355 0 obj << +/D [1345 0 R /XYZ 56.693 579.356 null] +>> endobj +1356 0 obj << +/D [1345 0 R /XYZ 65.161 580.04 null] +>> endobj +1357 0 obj << +/D [1345 0 R /XYZ 65.161 569.081 null] +>> endobj +1358 0 obj << +/D [1345 0 R /XYZ 56.693 521.573 null] +>> endobj +1359 0 obj << +/D [1345 0 R /XYZ 65.161 522.256 null] +>> endobj +1360 0 obj << +/D [1345 0 R /XYZ 65.161 511.298 null] +>> endobj +1361 0 obj << +/D [1345 0 R /XYZ 56.693 463.79 null] +>> endobj +1362 0 obj << +/D [1345 0 R /XYZ 65.161 464.473 null] +>> endobj +1363 0 obj << +/D [1345 0 R /XYZ 56.693 416.965 null] +>> endobj +1364 0 obj << +/D [1345 0 R /XYZ 65.161 417.649 null] +>> endobj +1365 0 obj << +/D [1345 0 R /XYZ 56.693 370.141 null] +>> endobj +1366 0 obj << +/D [1345 0 R /XYZ 65.161 370.824 null] +>> endobj +1367 0 obj << +/D [1345 0 R /XYZ 56.693 323.317 null] +>> endobj +1368 0 obj << +/D [1345 0 R /XYZ 65.161 324 null] +>> endobj +1369 0 obj << +/D [1345 0 R /XYZ 56.693 276.492 null] +>> endobj +1370 0 obj << +/D [1345 0 R /XYZ 65.161 277.176 null] +>> endobj +1371 0 obj << +/D [1345 0 R /XYZ 56.693 229.668 null] +>> endobj +1372 0 obj << +/D [1345 0 R /XYZ 65.161 230.351 null] +>> endobj +1373 0 obj << +/D [1345 0 R /XYZ 65.161 219.392 null] +>> endobj +1374 0 obj << +/D [1345 0 R /XYZ 56.693 171.884 null] +>> endobj +1375 0 obj << +/D [1345 0 R /XYZ 65.161 172.568 null] +>> endobj +1376 0 obj << +/D [1345 0 R /XYZ 56.693 125.06 null] +>> endobj +1377 0 obj << +/D [1345 0 R /XYZ 65.161 125.743 null] +>> endobj +1344 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1380 0 obj << +/Length 2051 +/Filter /FlateDecode +>> +stream +xÚÍ\ÛnãF}÷WyòëJßÉÞlìì&YÉ^2°À$Ù²Sl /²½_¿M‰Œ8–]­&•<‘¢ZÕÅfSÕUE‘è."Ñ÷Woo¯¾üN’HƒVLE·ËH1Pq”P<ŽnóèýõϦ4icÞÜ0I®ÿi[ÓìO—¶ÞŸ´«áË¿Ûì­µ÷ûÿ}÷ã›ßnpÓÜP +Zʽ´wíSiš•1mÓíf§QâfW¼Ÿ]¨b–D7t<ÌO‰'×_îTéþ‡WßÞ^}¸¢N<‰h$(Í£XSP„EÙúêýo$ÊÝwN:‰v#ב¤WÞ]ýçŠ +AœŠýiøþÉn=hÌ¢Xh Dõ’ûë’8=…ŠèDGµ‰–'Ea'à P&Ø ¦ýèPù¨¢cù’PˆU‚šáÓeV ™ž@ÙÀú.ÚŸüt)6|_Ôivo°‘Æ88E„ÝÆ? /r߸?õœd°&ÎDÀå“ËXB,Õ|ö,?Ðþƒ•õ°ÿX9$*Öi}ßL»¿\b3ƒyÑlÊô ½#^8ó:/x? j»6—ñt2fÎ>âKº:)4$’OëꚧÊn|üwJèÝs÷Àé|0?–ó`e=`Î0ª=³õ‹îî9'ÁEBy"÷qó²(‹ê~Ž 9:ÖÝÔÆ!ukð)Ÿ±k<Ím]•íÐç3“ ¿(„éi™ íZÛÚ̃ „vj¨Kw"qG2_én$?Œ •œH$p=”înÿõ7$>«¶žº®T›å¦«7»ÃmV¶+óó2Û/PÉ ð>WÙjtw/ÿ`m±t‚ ©£mÑuÞmÊ"K±ù†"o<#kS "™eÇòQ¬¬Êbâ[xX™ +ë€róØšzÞLï×N Òë9ŸTêKz5!$0!§õjÜn¹hÕ„ µ“>)³ì<>˜Å@,û ýùë Ác lÆ" +c +ˆš¯ˆ2’H-ÁÊzP ÓÀoÏ¡©¥2n~wfA·Ê‡ëðòú·»¦e¸gYþuÀQ÷øÉ|厑ü@<+ëš?ì´@Ý‘^´â@ ŒÈéëèEþè\ºø˜˜±à@U,™¯à0’fòáÊâMžÆdÌ›jNÙ*EÂÇ®‹ÝÍí[>Ô#'.Oôo§ãx:Åvå5&çv/õSgóeÙFòq¬¬uØt?í +Ûñ¹Ü±>ÒÈÿg+ãùŽ…ï»Ó«"[M߉‚îU[˜óñîá+©À¹º¨¯äcÓúÊCfØ;íRŸ|^”6»÷q¤Ìé(gìN¥Õóȱü@ VÖƒ@(‡8I¦êN” +ýÒ 6ï[ÛËÊ´iÙ[ß{:D­AŠù²ŽÇâì9XUc& ’C{-:;Øï÷‘ä_OÞ¯‰ïNCGm^e©Ìy•b›Ë^ÛÒ„¼âé៵)çHn~öÇL‚Qúœÿeú?§Bè3 +endstream +endobj +1379 0 obj << +/Type /Page +/Contents 1380 0 R +/Resources 1378 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1237 0 R +>> endobj +1381 0 obj << +/D [1379 0 R /XYZ -11.232 900.716 null] +>> endobj +1382 0 obj << +/D [1379 0 R /XYZ 56.693 759.068 null] +>> endobj +1383 0 obj << +/D [1379 0 R /XYZ 65.161 752.393 null] +>> endobj +1384 0 obj << +/D [1379 0 R /XYZ 56.693 704.886 null] +>> endobj +1385 0 obj << +/D [1379 0 R /XYZ 65.161 705.569 null] +>> endobj +1386 0 obj << +/D [1379 0 R /XYZ 65.161 694.61 null] +>> endobj +1387 0 obj << +/D [1379 0 R /XYZ 56.693 647.102 null] +>> endobj +1388 0 obj << +/D [1379 0 R /XYZ 65.161 647.786 null] +>> endobj +1389 0 obj << +/D [1379 0 R /XYZ 56.693 600.278 null] +>> endobj +1390 0 obj << +/D [1379 0 R /XYZ 65.161 600.961 null] +>> endobj +1391 0 obj << +/D [1379 0 R /XYZ 65.161 590.002 null] +>> endobj +1392 0 obj << +/D [1379 0 R /XYZ 56.693 542.495 null] +>> endobj +1393 0 obj << +/D [1379 0 R /XYZ 65.161 543.178 null] +>> endobj +1394 0 obj << +/D [1379 0 R /XYZ 56.693 495.67 null] +>> endobj +1395 0 obj << +/D [1379 0 R /XYZ 65.161 496.354 null] +>> endobj +1396 0 obj << +/D [1379 0 R /XYZ 65.161 485.395 null] +>> endobj +1397 0 obj << +/D [1379 0 R /XYZ 56.693 437.887 null] +>> endobj +1398 0 obj << +/D [1379 0 R /XYZ 65.161 438.57 null] +>> endobj +1399 0 obj << +/D [1379 0 R /XYZ 56.693 391.062 null] +>> endobj +1400 0 obj << +/D [1379 0 R /XYZ 65.161 391.746 null] +>> endobj +1401 0 obj << +/D [1379 0 R /XYZ 56.693 344.238 null] +>> endobj +1402 0 obj << +/D [1379 0 R /XYZ 65.161 344.921 null] +>> endobj +1403 0 obj << +/D [1379 0 R /XYZ 65.161 333.963 null] +>> endobj +1404 0 obj << +/D [1379 0 R /XYZ 56.693 286.455 null] +>> endobj +1405 0 obj << +/D [1379 0 R /XYZ 65.161 287.138 null] +>> endobj +1406 0 obj << +/D [1379 0 R /XYZ 56.693 239.63 null] +>> endobj +1407 0 obj << +/D [1379 0 R /XYZ 65.161 240.314 null] +>> endobj +1408 0 obj << +/D [1379 0 R /XYZ 65.161 229.355 null] +>> endobj +1409 0 obj << +/D [1379 0 R /XYZ 56.693 181.847 null] +>> endobj +1410 0 obj << +/D [1379 0 R /XYZ 65.161 182.53 null] +>> endobj +1411 0 obj << +/D [1379 0 R /XYZ 65.161 171.572 null] +>> endobj +1412 0 obj << +/D [1379 0 R /XYZ 56.693 124.064 null] +>> endobj +1413 0 obj << +/D [1379 0 R /XYZ 65.161 124.747 null] +>> endobj +1414 0 obj << +/D [1379 0 R /XYZ 65.161 113.788 null] +>> endobj +1378 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1417 0 obj << +/Length 2296 +/Filter /FlateDecode +>> +stream +xÚÕ\[ã¶~Ÿ_!¤}Ø2gx'•" Ò P$Aº3 +lò Û´­Ž,9ºììüûRoÆòx|8´Üí“e‰:<$¿s'E¢UD¢¯¾¿»ºy'IC¬˜Šî–‘b td(®£»EôáÍ{›Ù¤²o¯™$o~)j[õ—Ë¢ì/êõðð‡bþ}QÜ÷þ}ûÓÛßïþẹ¦b){j·õcf«µµuÕ>v½ÓȸÞo{Jƒf&º–ë¡JAmÞÜô?TÅí‹W¿»úãŠ:ò$¢‘T b阂",šo®>üN¢…{æ›è¡k¹‰$%À¸r×Yt{õÏ+2Ì9:#;Ú"JTÏÓoŒÉŽ‹Ýk7ï\“n¢}Ç€PÆ=è'°˜Ù²~{­qÃOë"ÿæí5eîï6)“ |z°³¿õÏû6¯{ênÞÚÚŸ÷GìÖ‰jiq{_7BE bG¥–O‡¸Gíù»‡0Ôˆ]=aÚ¶¥/*:¦/ í¦ÓÃÓåW³ø ÌvËUÔ_¼ð°·¶;Æ9á&¨[âï‹=8Ò‰>të›Û\ø¦óu“ßÛ}O0Ü8|ëÍ2Ílžl¬Ç+ÛÒ.ÓO8†ê×MpÖ¬F¬v·91šË°²ÂÜʹ§²rä÷¸Ò ˜¡çUÝz_ϋͦÈáS• ª£»]ó'·ê´Îì6YÙq3[Žï8z‹®Y¯•Ý°ÿdL˜¤»Xû§’)%Ÿ¯h…[3à4žNe)CÁiø©4Ö>ù0…Ì*^_)#@ í©¯ªf»-Ê)ÏÎ#øÿÔX‡ÚöOÚ§­‹Aèt€Û§ˆ¸`f= §9(G¾ƒÜÏɽÅb®D¶œµ~)‹‰ÏIÖ YX'®a‚´e’fi¾BNU–Tk\Ó4ßowÖβ +Á¦ƒõ>ý@X3ëk7Aš÷¨nc¼ÊóÀêTÐNóÚ–y’Ý m*‹´)³G¤(`綶›m–´ék5¸sׄä—ô ç y<­gˆ>s¼h5¡GF(j¦S%ûôUI0³ª„JˆÉù5©¶Äá½~üßšH´¯—Hïñ_ïªÎ_&‹©“¶e1Ëì¦Âê:´…+±á6Ü]ƒîùÂ.“&«}M¶¾³„ÓÉÙ>ý@9 fÖCΈ€X É»±'tl 6cÕ½{}\tJëlPúÑç•QÍÉõ–±i³µ4[RKÐòÌYФ©‹!q¸[WO˜ö”R€áÓ¥=GôÃ$)œY¼$Ii€²!íùîµ ¼£ Ö)uˆñ0l•×i‘û˜B»­×ãöß’—õö] ½O>P*BYõ +F@휪ìuöÐqñ6sNRçCðx€lŸ~àò3ë±~$¥ãφ°‚ßZûÛõ²¦:P/7÷²â»êðykK½×qæBöCÙ¦yJOµu +'1Ïc ‚OŽè‡a>œY<æyl`—¯Êì²Aü™Ùäs‡µÕÑÝr§ÛšO·Øûô;˜YÅ6.²SÔ3ܘP÷  “Åâ@¹~ûÕquyT#u¢]`꼨×cÛ~ZqÍlW.ñU^šƒ¤Ó•æFôñ̬žµCíåÓÞ˜yûÖß<+ˆ>JTì¢g¸Ð è™Ï´ªÀ#ƹãAL¸WŸ³v°ÓÉòù@QeÕC’™CƒB§»¦DŠq±\â®lnˤ~õ&&ôÒq¯µ®ËtÖ`m#z¿Ù,+æ÷g2ש›®r¾Nçس6ë‚ÒWk9• ùtQéˆ~ d3ë!4B‡¨ôv]4r ‹[©™ÙsçÂÐàMó,ÍmÄN8]MÕ$v*6:¾î«½øj"´ž0Èݧ(BÁÌzˆP»ÅaHV—aÓÕ ÝaýþÌ[~«56ŽÃÛ´¤\Ù: ¼‚¬C¹h –iFÅ_Ø¡v¦\§dÂóLjˆÅtØý0ÕÎ,^50EqùEœTŸ4ò¼È«´ªç^J•Ça([æg±ΤèVí’Î!_!à?$m/¾¿&ÕsÒ5s,6¡4S +”M—àÑ”æPfË. vùJ)¡ô8èø"±+êútóúô8¦F;óFÒY:ËÒÂ#BµcBšéL•O—ÑCr8³x»D•iŸõÖÇÜ$M½.4öÍ YÈrup$'8cßCmU&Ûõ£g¼¶L?¡c°cßIa1'bX˜;'€Ó‹J77Àcu¹}âý÷O°óÁ\—|ÂÃF”jzºŠÆˆ~ Ø3ë!öŒ8NÙî;dÝ^ä~Øf›¥s"ën-6È}Þ<ñÅ“Ò§ÒÔÛÆÇý£I­ïQJH:ÝÖ¥ý@ä3ë<ƒ!ÃñüV6tR¡(ÓUŠþ Ã%Àé‹´ìñµa%$»èA$C@Q~^û’¹H³‚ñ!Œç>K(¾räûUÂÿ&÷r¿ +endstream +endobj +1416 0 obj << +/Type /Page +/Contents 1417 0 R +/Resources 1415 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1455 0 R +>> endobj +1418 0 obj << +/D [1416 0 R /XYZ -16.307 900.716 null] +>> endobj +1419 0 obj << +/D [1416 0 R /XYZ 56.693 741.747 null] +>> endobj +1420 0 obj << +/D [1416 0 R /XYZ 65.161 742.431 null] +>> endobj +1421 0 obj << +/D [1416 0 R /XYZ 56.693 694.923 null] +>> endobj +1422 0 obj << +/D [1416 0 R /XYZ 65.161 695.606 null] +>> endobj +1423 0 obj << +/D [1416 0 R /XYZ 65.161 684.647 null] +>> endobj +1424 0 obj << +/D [1416 0 R /XYZ 65.161 673.689 null] +>> endobj +1425 0 obj << +/D [1416 0 R /XYZ 56.693 626.181 null] +>> endobj +1426 0 obj << +/D [1416 0 R /XYZ 65.161 626.864 null] +>> endobj +1427 0 obj << +/D [1416 0 R /XYZ 65.161 615.905 null] +>> endobj +1428 0 obj << +/D [1416 0 R /XYZ 56.693 568.397 null] +>> endobj +1429 0 obj << +/D [1416 0 R /XYZ 65.161 569.081 null] +>> endobj +1430 0 obj << +/D [1416 0 R /XYZ 65.161 558.122 null] +>> endobj +1431 0 obj << +/D [1416 0 R /XYZ 56.693 510.614 null] +>> endobj +1432 0 obj << +/D [1416 0 R /XYZ 65.161 511.298 null] +>> endobj +1433 0 obj << +/D [1416 0 R /XYZ 65.161 500.339 null] +>> endobj +1434 0 obj << +/D [1416 0 R /XYZ 56.693 452.831 null] +>> endobj +1435 0 obj << +/D [1416 0 R /XYZ 65.161 453.514 null] +>> endobj +1436 0 obj << +/D [1416 0 R /XYZ 65.161 442.555 null] +>> endobj +1437 0 obj << +/D [1416 0 R /XYZ 65.161 431.596 null] +>> endobj +1438 0 obj << +/D [1416 0 R /XYZ 65.161 420.638 null] +>> endobj +1439 0 obj << +/D [1416 0 R /XYZ 65.161 409.679 null] +>> endobj +1440 0 obj << +/D [1416 0 R /XYZ 65.161 398.72 null] +>> endobj +1441 0 obj << +/D [1416 0 R /XYZ 65.161 387.761 null] +>> endobj +1442 0 obj << +/D [1416 0 R /XYZ 56.693 340.253 null] +>> endobj +1443 0 obj << +/D [1416 0 R /XYZ 65.161 340.936 null] +>> endobj +1444 0 obj << +/D [1416 0 R /XYZ 65.161 329.978 null] +>> endobj +1445 0 obj << +/D [1416 0 R /XYZ 65.161 319.019 null] +>> endobj +1446 0 obj << +/D [1416 0 R /XYZ 56.693 271.511 null] +>> endobj +1447 0 obj << +/D [1416 0 R /XYZ 65.161 272.194 null] +>> endobj +1448 0 obj << +/D [1416 0 R /XYZ 56.693 224.686 null] +>> endobj +1449 0 obj << +/D [1416 0 R /XYZ 65.161 225.37 null] +>> endobj +1450 0 obj << +/D [1416 0 R /XYZ 56.693 177.862 null] +>> endobj +1451 0 obj << +/D [1416 0 R /XYZ 65.161 178.545 null] +>> endobj +1452 0 obj << +/D [1416 0 R /XYZ 56.693 131.038 null] +>> endobj +1453 0 obj << +/D [1416 0 R /XYZ 65.161 131.721 null] +>> endobj +1454 0 obj << +/D [1416 0 R /XYZ 65.161 120.762 null] +>> endobj +1415 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1458 0 obj << +/Length 2169 +/Filter /FlateDecode +>> +stream +xÚÅ\[sãD~ϯP±"ði^QÌAv6^ÚäU°³it(q2»ilšt6CÎZ…˜—›¦ÞئxD¦ÍífS7c?œ‡p›”¹¿«ÚÎ&Ï;i4wÙ7vÛZdšI|ÁL$°K´óPuÕÉ$)ã’ËmÑå›a‹¤mg Tí6]# ·çúz¢"©›Ì66ë+¹ ªç@Ö0Êà”Άϑý0€†;‹G¨2¤1;„þ›Ôÿq{‹Ì¶Èr¹í[ß©áëÑ(ÜçݺÆFÑ2iVØŠ*YÔí‘Œ@-ÎXHg}äõ¹¸1ÈJŠȱ~fLø>Âê@N-¤^ئ{³+æºä±««/Þì2`²íê®Ná¡-¾Ü H×ÛêÃcuYWý×Ø"Ý)ÅŒRƒD<_ÙŒÁÎzÄ I@ë½Ô,°líò;´ç 6ª¤¶êšÇç)‡L+Iä-V¸GkeÞ¡KÙeS—göm§™ÄH6_S?²ô`g=€Î Äthó;<б}nZWoëÑEô‡½Í°¥ûb»z©æL-btîá$7Í=nJ“Óæž¼*òÊúäâ¼Pl¾#cšðÙ¨7²F½pgñÔ“Æ™7t7¥_eÈ(™Ùeâ:«™:•ÍºK]§å¶ûµE–‡M/ž™«ªñ’6aeÍoògHúI;¾ÉùØqh?ÁÎz°#f@8Û±c™?Œ—p|óÁß8ÑJR‚ž ZªKæ)Ä‚M›VM²Yçi둤p~h3cFàÔÁi>ȘD|¨«€çؾýª(°5vk ›v9v9qñ8u¨FJ?E0/“•­¿ÚÚÝ}(Ÿ•š¸3÷£šO+ÙÄc°³€d˜´²¾[E‹@•÷ §µçzÁ½ jÈöÙcµì›:]ôÛV^ÈòD§Ý¶™í¹Êš¤Œ¾¨²&Œ"'VÖ²Ýü@Úº„Vbšˆ+fFMh”Ï'£ì‡…pgñ!Dh bßâ¾³åX>ž¥šú¶©ðÓÑ©jpñªÅõŸõ•?;…¦@E|QvŠÓëÞyöàQj +îÜÐtFf2 œÎWkŽì23ØYfrƒê÷68·³ºþb*eàÓ¼Êìƒߊ¼úà¡*Ž—æ^ÜúTÔXÕ¼µÝ´«ˆ¿Û¦Ýfqš¢T—b>ÚdP°³ ¢”ä»MãÊ´æ»Ms õã=ͳuŸãÂàvSäýΡ»\<&ЛÈÚu½-Û½Qv¼gé4h‰næSÕFöAì¬hI *4&l€sÑ°®24¼{Ìæ¶õÝ7ö#Vð@oó@xÒL-4ÿIÇìì²0ä¢$ׄ™X‚|hìÒ£&äÊ€d3Ê\Æ çkÖ͇…†`Wñ‘+ +ñ¾_G¯F•uf}Ö—*Ÿ*,©Òõ¨a{ý€—¼9±v…­µ[&y…^„è1?öä]œ÷Ö–›Ÿâñy;«Ï §é,4¨·"Žìò-ØYÂIñ~+â:Á*#ùÄMDòÑõ측+[Ù&éÐ$@ëÀÕǤÀ:QÙÖcsü³rÁg§^Ø©î‘ý¹ ¿högŽ;So†Üä>¹ŸÒ§«œ/÷zÆ #ûÑ(ØYhDý†ÇïúgE°)ɤ¯ì\iÓ&ßôÂJ;í&³l±îÊ)ç…­’ÒNüxM–7ç2‡rsQù—iq<±ü{æ&g¦„CûŒ0“Ü]Ë|ÐFöÃ8î,žóLjØ/ÎÜm› +KJ$+— úq—9è²¢´m›¬°5p¾ôðÁút¯æ÷—øm›c%`ï§+™à@È|2íÈ~ ȃõ¹PÀö»,Ï•à‡o):¤ „Ê‹†tªúÿ^ÑcîR)ç‹æÔ(÷:ßcÄ#ûa@wtjŒ›Uí)à8Fx,G`›Ê§]ÿH®m’&)§mÒ|e©Æ.mcÇÛ„¦S¶ëÆq’J4–Àæ[º>4ˆóPW=`Ç ÷MêðzÔ=êt3`ü¢›¨¨4À÷ 0Ãã‰Ø+Î )g ê<þ¿ZÓcýÐ~ ؃õ@»  öÚ­'Ú'~ê}cWv±};ÚǼ:Ïà©-!©Ÿì~väàÑ”p¯þ‘#+lž¹Øq쉲ÁÄKºÖW½ÊœóŸkë!°M +endstream +endobj +1457 0 obj << +/Type /Page +/Contents 1458 0 R +/Resources 1456 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1455 0 R +>> endobj +1459 0 obj << +/D [1457 0 R /XYZ -11.232 900.716 null] +>> endobj +1460 0 obj << +/D [1457 0 R /XYZ 56.693 759.068 null] +>> endobj +1461 0 obj << +/D [1457 0 R /XYZ 65.161 752.393 null] +>> endobj +1462 0 obj << +/D [1457 0 R /XYZ 65.161 741.435 null] +>> endobj +1463 0 obj << +/D [1457 0 R /XYZ 65.161 730.476 null] +>> endobj +1464 0 obj << +/D [1457 0 R /XYZ 65.161 719.517 null] +>> endobj +1465 0 obj << +/D [1457 0 R /XYZ 65.161 708.558 null] +>> endobj +1466 0 obj << +/D [1457 0 R /XYZ 56.693 661.05 null] +>> endobj +1467 0 obj << +/D [1457 0 R /XYZ 65.161 661.733 null] +>> endobj +1468 0 obj << +/D [1457 0 R /XYZ 65.161 650.775 null] +>> endobj +1469 0 obj << +/D [1457 0 R /XYZ 56.693 603.267 null] +>> endobj +1470 0 obj << +/D [1457 0 R /XYZ 65.161 603.95 null] +>> endobj +1471 0 obj << +/D [1457 0 R /XYZ 65.161 592.991 null] +>> endobj +1472 0 obj << +/D [1457 0 R /XYZ 56.693 545.483 null] +>> endobj +1473 0 obj << +/D [1457 0 R /XYZ 65.161 546.167 null] +>> endobj +1474 0 obj << +/D [1457 0 R /XYZ 65.161 535.208 null] +>> endobj +1475 0 obj << +/D [1457 0 R /XYZ 56.693 487.7 null] +>> endobj +1476 0 obj << +/D [1457 0 R /XYZ 65.161 488.383 null] +>> endobj +1477 0 obj << +/D [1457 0 R /XYZ 56.693 440.876 null] +>> endobj +1478 0 obj << +/D [1457 0 R /XYZ 65.161 441.559 null] +>> endobj +1479 0 obj << +/D [1457 0 R /XYZ 65.161 430.6 null] +>> endobj +1480 0 obj << +/D [1457 0 R /XYZ 65.161 419.641 null] +>> endobj +1481 0 obj << +/D [1457 0 R /XYZ 56.693 372.133 null] +>> endobj +1482 0 obj << +/D [1457 0 R /XYZ 65.161 372.817 null] +>> endobj +1483 0 obj << +/D [1457 0 R /XYZ 65.161 361.858 null] +>> endobj +1484 0 obj << +/D [1457 0 R /XYZ 56.693 314.35 null] +>> endobj +1485 0 obj << +/D [1457 0 R /XYZ 65.161 315.034 null] +>> endobj +1486 0 obj << +/D [1457 0 R /XYZ 56.693 267.526 null] +>> endobj +1487 0 obj << +/D [1457 0 R /XYZ 65.161 268.209 null] +>> endobj +1488 0 obj << +/D [1457 0 R /XYZ 65.161 257.25 null] +>> endobj +1489 0 obj << +/D [1457 0 R /XYZ 56.693 209.742 null] +>> endobj +1490 0 obj << +/D [1457 0 R /XYZ 65.161 210.426 null] +>> endobj +1491 0 obj << +/D [1457 0 R /XYZ 65.161 199.467 null] +>> endobj +1492 0 obj << +/D [1457 0 R /XYZ 56.693 151.959 null] +>> endobj +1493 0 obj << +/D [1457 0 R /XYZ 65.161 152.643 null] +>> endobj +1456 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1496 0 obj << +/Length 2102 +/Filter /FlateDecode +>> +stream +xÚÍ[ßsã¶~÷_Á¦‘´Æo7Ó‡ä®w“L’icOÛ™»Žq¦h'i’ãÚNÖó½†Ý×U”&®·ÿ|"’t¥Œu½ê‰½¹¹9þ‚ë²ê¿Ç›ÏGsú…¢ìitÓÇ „¾iÛ[™=8íl’Å@µÎ&÷åÚä`Êv“A0×Ï`“±/?p2‚•õ(5 i笿ÃAîËÚñ®©cŸ¥Ík\ãMZ/p-±Îáa™ û8îÒVÏ,õtÜ‹”YÈv›;EÓEQV—žùf»€jX%KdËÝÒíYöÚ½ì‰6 -ï‰}¨ª˜'¤Ô-æx‡4‘E:EÚHŠ´º¼@:†$ËŠá)tûÖ-)³â€œ¿=î$*O¬@#ªE4R¨]®²¤ç¥_ž²êË®p’•Î>z¢VœÒÁ`Û“†ÛpeñÀU&iL ÜÆÂ,’]&Èuͳ4÷0šÑt‘”•ýrä ÄJSàŒ…fG>cã.ÊTJƒ óûĘÜÓ½7ﮩ3 Ò…ÒÅÄ–uQÜÖÉc]äo®Ç”5h_¬óÏãi1³ðPeØÁK'^ •*ƒÐÃÑ_O~ Ž‚•õÀ‘$ǾQ©‡KG2ÏÜæ¶ôòÒ£iåzÞ§™Eºêªx.ŒöÐä¨d%¦è¨ßúÍðÌ—‚¸Ɇ ž{ò¡¬¬t¸MU ÍÂæXbA@ãHÓ|Žk½t÷lêá$7¯J=nM“—¥ž/I>K*[ûqz(6ñHm &|0ôô䇡'\Yqò°L>{Á"³^U‹úð°ôÛÓ8ª¦ »<;o¼2¡â5éIhô rz—|Mg-7½-ÝÖ´ÜQÓ<+ª*)=¨IÄNÇMBq÷9\îª'? ¦áÊâa*\Ÿîï´/:ÏT?®žÍŽž®+ªVë2-ÖÕsoþå4°’úÂg‡›ÀnbŸ;'j‚3,ø…"@õ«¦ßÅç¤ß~)Ê¥ó¥Ûÿ;ɪEÀÎT°8pk*¨.Åpðß—ÿ`e=àO (ѹÿ[ëöA ¶ŒiÒÆâRo«•ÃZú€Í“Ý—Å)¹Ù¶a³uGÔÀù-l)ÒÂÃM=þI@»´G/è,D>±áÂV*wpÿDiË›~Ò(áàÕµcáN$p3\>±'?ÁÊ"Ш%­\_”f»MóÌ6kó:{|ŽVгÍ@„zû² + ÃÎ`•Ÿ·?¨oiåG·Y¯þ—ò˜—Éj‘N+báÊ€df8báRƒ®š`_|˜!«Šg®(è]1Ýw³¶$gZ8ÿŒ?ÒÁæ„W¥ýÚ/¸}9ëò>IѵDXMÒ¼¶¥S[R¶L澉ò¥uÁ×üŽ»ýׇ?©–±KÚ{Lqƒ°(®'?ÁÊzPл¢8l¡:pê1rmÝ>=Ô6¯ÒÃÊSŸŠ ŠñWe;æÌâÒÕs÷Mx•ùP¥Û‘Gu„@<`å\O~ Ø‚•õ@¼+çŽÜÑr˨Lw!ðDݹ-íÿÇyîö4Γ¢BŽ]™6 ,BëɳÂpeñVÈ º+B›a¯í )zS”Èhÿ]ŸL²3/¹ß_µ~óP´GžizÀ*8Ö˜@,ÍSaÂÑŠî8„‚ì»JÜè~NòUrM;’p|¹»oü”“H4fø.£{·»É|_dYqÍähÓdx·_M·µVÝÝçErÍÈèë5•£î‰µyû´LfÝwnŸûÇé6ÀŸôMµ€8V;v[6êΟÕÒmOšû]æ&©•[¥ùÔöî`7Ú>—íÍmØŸž1ãMü» †°ó3lËÃÿH6ObÎ&!¶„‡ ‡6•srÀ“ ÚÔ7™á`O~˜ Vö¨»£Mé•î¬œRJ(=NRwD\y$»¢±M†p·ý¢Ì9—ýÿ ÔëÃE +endstream +endobj +1495 0 obj << +/Type /Page +/Contents 1496 0 R +/Resources 1494 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1455 0 R +>> endobj +1497 0 obj << +/D [1495 0 R /XYZ -16.307 900.716 null] +>> endobj +1498 0 obj << +/D [1495 0 R /XYZ 56.693 759.068 null] +>> endobj +1499 0 obj << +/D [1495 0 R /XYZ 65.161 752.393 null] +>> endobj +1500 0 obj << +/D [1495 0 R /XYZ 65.161 741.435 null] +>> endobj +1501 0 obj << +/D [1495 0 R /XYZ 65.161 730.476 null] +>> endobj +1502 0 obj << +/D [1495 0 R /XYZ 65.161 719.517 null] +>> endobj +1503 0 obj << +/D [1495 0 R /XYZ 65.161 708.558 null] +>> endobj +1504 0 obj << +/D [1495 0 R /XYZ 56.693 661.05 null] +>> endobj +1505 0 obj << +/D [1495 0 R /XYZ 65.161 661.733 null] +>> endobj +1506 0 obj << +/D [1495 0 R /XYZ 65.161 650.775 null] +>> endobj +1507 0 obj << +/D [1495 0 R /XYZ 56.693 603.267 null] +>> endobj +1508 0 obj << +/D [1495 0 R /XYZ 65.161 603.95 null] +>> endobj +1509 0 obj << +/D [1495 0 R /XYZ 65.161 592.991 null] +>> endobj +1510 0 obj << +/D [1495 0 R /XYZ 65.161 582.032 null] +>> endobj +1511 0 obj << +/D [1495 0 R /XYZ 56.693 534.524 null] +>> endobj +1512 0 obj << +/D [1495 0 R /XYZ 65.161 535.208 null] +>> endobj +1513 0 obj << +/D [1495 0 R /XYZ 65.161 524.249 null] +>> endobj +1514 0 obj << +/D [1495 0 R /XYZ 56.693 476.741 null] +>> endobj +1515 0 obj << +/D [1495 0 R /XYZ 65.161 477.425 null] +>> endobj +1516 0 obj << +/D [1495 0 R /XYZ 56.693 431.159 null] +>> endobj +1517 0 obj << +/D [1495 0 R /XYZ 65.161 430.6 null] +>> endobj +1518 0 obj << +/D [1495 0 R /XYZ 56.693 372.133 null] +>> endobj +1519 0 obj << +/D [1495 0 R /XYZ 65.161 372.817 null] +>> endobj +1520 0 obj << +/D [1495 0 R /XYZ 65.161 361.858 null] +>> endobj +1521 0 obj << +/D [1495 0 R /XYZ 56.693 314.35 null] +>> endobj +1522 0 obj << +/D [1495 0 R /XYZ 65.161 315.034 null] +>> endobj +1523 0 obj << +/D [1495 0 R /XYZ 65.161 304.075 null] +>> endobj +22 0 obj << +/D [1495 0 R /XYZ 56.693 266.924 null] +>> endobj +1524 0 obj << +/D [1495 0 R /XYZ 56.693 239.371 null] +>> endobj +1525 0 obj << +/D [1495 0 R /XYZ 56.693 192.361 null] +>> endobj +1526 0 obj << +/D [1495 0 R /XYZ 65.161 193.045 null] +>> endobj +1494 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1529 0 obj << +/Length 1550 +/Filter /FlateDecode +>> +stream +xÚí[ÛnÛF}×Wi$ Zïý’¢M›&’U @’ŠZYlxQIÊNòõÝå%1)Ê^™¦íyE gggΙ]RÐ;ó ÷|òt19ùAOÅ1÷kcÀ…'Dx‹•÷vúFGÚÏõlŽœþ‘:¯×iV›úÇßÒàiš~¨¾ü}újö~ñÒ 3G(Æ*o§Å§Hç­‹ÜþlFGž4£sbG§\¥7g@‰z|DC!§'ÕâÊ^8y¶˜ü;AÆ=ôÇ8àŠxB!À!ö‚xòö=ôVæ7P%½‹Ò2ö‚nŽ#ïtòçÖ‘€­ˆ`Ϙ ¦Ê4Ωòà%Šæ2ïíA§Ï¶»e}_—£j‚€) ¼¾zÑDlFQ:Ãlz&gÕ©`ã'gMŒ7þ Ãéù ±i}ÅRë¤:ŠýU}®H¿ND9¶Aûul$)ÂÞq9¶îGˆ9 5FAÚøÎÃ$ÐyF@p€ªã¬ÊÐŽÆ›9Gf PT^ßaÌZv%Òrö©Å å²ð&]꬘͹‰êiá*ÒäÉlŽ°ùºJƒ¥É3ð1*w&½¬Gûñ¼&‘À—HÁlbØó š4£ÜÃ@IåeÚ[_΄–·þ³ûâÍ•cd­‡úgqÔõÏ é4Âå*á@au `K‡Ù™W¼©Ë¦5™ p‰†´¡’m井û¾L-ÙIÿqiY§]dÓ&Ïö¯™®ÂÌÍñEXl!›]òá cA6îd§“|—9Æ·Èü0²´ãdG~îµ0q³ÛÏ…¯Ñº¾¢5¹,†TôÏ}M¬€3 º.£ƘTF€ +Gemÿ©l0Ø#¨Œ ªšÒ×~8ÖC¡c“ê…cYÚ¶ªÓYØÓNä‘Ò Þå…ÛÿÜË6 Ó,,>u‹ôçGè4UÛÐäúÄÆ BÆK¼¶ÿ‰7쉇  ¸îÌúi~XbÊNÎ]‘¾Ðе$Ÿ»Ùuš1žÞdM´[éU÷’ÇWg[’£ ‰·iVì£qÖ($¢ô.5Š)j–7÷-QÌ,90ãif} +åhTÑñ?Œ*†ƒu§ +fVfå²ÕÎé/«n)æëÝÖæúÍ$ê ¡M›nñœ\Uýëôvûá£n«Þ¾`7-w& HÝi¹Sa–íìÞ딌Xïv{BÒñê½í`½{D½c„ÀÍò:N][»U˜ûQ”^¸Do+xÐÚ/Š,\îœ{Þ, ãè2ñc½ß¶^Ñ'õõU×4¹½ý1„aû:ÅF#Œ¾]L*Í'¥Í.¦èÝÅ|±xýê…Ž¶{'sSÄѦ%³L|‹»™„(GÚÍlnc¤qœ&GÐ.µDƒF¤]Š l<ÚíøF»ÃÁºÓ.EÒ„Usûk™ç÷¼©éÚ}ßÒ|°[šaCw+D0ÀÑ9ýµËÝQ¸Íõ¶I BBnO°}¨Æ„ú.¬üTÔgÈÚ@ 9¢6HÅãiCÇÿ0mÖ]ˆ 5ªµá¯\c¼&y¡}ÇUAºþFdïa¨Hþ€Ô†˜‚¢änÕs +˜ü¢6ªWm^úVέ8øòîÿ!Ím¡0Øp*a#* R5žÂtüS˜á`Ý)SNòûêã»nt÷èt®“⦊€,7“ïpÿq¨B7à²×þ. ‹Ï™½Ô~’"3Ä`XŽHf”ÆÕxdÖö?̃=‚̨’‰Ö bŽÝ§Ž·®ÒÓÒêì&IüóðÌ/ÂÔ±ó“•ëó´I³+ßöÛp[?ócÝå³7CHyï­š\`—rš¦ +™«‹û¤°¶’—¬ W˜Jªm殕MìÇxu×r?°ì†Bu¨:i›Hn†’@šà–¡> endobj +1530 0 obj << +/D [1528 0 R /XYZ -11.232 900.716 null] +>> endobj +26 0 obj << +/D [1528 0 R /XYZ 56.693 759.068 null] +>> endobj +1531 0 obj << +/D [1528 0 R /XYZ 56.693 738.489 null] +>> endobj +1532 0 obj << +/D [1528 0 R /XYZ 56.693 691.479 null] +>> endobj +1533 0 obj << +/D [1528 0 R /XYZ 65.161 692.163 null] +>> endobj +1534 0 obj << +/D [1528 0 R /XYZ 56.693 644.655 null] +>> endobj +1535 0 obj << +/D [1528 0 R /XYZ 65.161 645.338 null] +>> endobj +1536 0 obj << +/D [1528 0 R /XYZ 65.161 634.379 null] +>> endobj +1537 0 obj << +/D [1528 0 R /XYZ 56.693 586.871 null] +>> endobj +1538 0 obj << +/D [1528 0 R /XYZ 65.161 587.555 null] +>> endobj +1539 0 obj << +/D [1528 0 R /XYZ 56.693 540.047 null] +>> endobj +1540 0 obj << +/D [1528 0 R /XYZ 65.161 540.73 null] +>> endobj +30 0 obj << +/D [1528 0 R /XYZ 56.693 503.58 null] +>> endobj +1541 0 obj << +/D [1528 0 R /XYZ 56.693 476.027 null] +>> endobj +1542 0 obj << +/D [1528 0 R /XYZ 56.693 429.017 null] +>> endobj +1543 0 obj << +/D [1528 0 R /XYZ 65.161 429.7 null] +>> endobj +34 0 obj << +/D [1528 0 R /XYZ 56.693 392.55 null] +>> endobj +1544 0 obj << +/D [1528 0 R /XYZ 56.693 364.997 null] +>> endobj +1545 0 obj << +/D [1528 0 R /XYZ 56.693 317.987 null] +>> endobj +1546 0 obj << +/D [1528 0 R /XYZ 65.161 318.67 null] +>> endobj +38 0 obj << +/D [1528 0 R /XYZ 56.693 281.52 null] +>> endobj +1547 0 obj << +/D [1528 0 R /XYZ 56.693 253.967 null] +>> endobj +1548 0 obj << +/D [1528 0 R /XYZ 56.693 206.957 null] +>> endobj +1549 0 obj << +/D [1528 0 R /XYZ 65.161 207.64 null] +>> endobj +1550 0 obj << +/D [1528 0 R /XYZ 56.693 160.133 null] +>> endobj +1551 0 obj << +/D [1528 0 R /XYZ 65.161 160.816 null] +>> endobj +1552 0 obj << +/D [1528 0 R /XYZ 65.161 138.898 null] +>> endobj +1527 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1555 0 obj << +/Length 1412 +/Filter /FlateDecode +>> +stream +xÚÍš]“Ú6†ïù¾+\ ôý‘^5M›i'ÓI³tÒ™$^‹Û¢¶Y6ÿ¾GØ.‹wID¼fv¸Àùèè輎8º‰pôzôr>šý*pd‘TFóU$)’*Ò„!¦¢ù2ú0~gS—v2¥ÿp•-ëË•+ê‹jÝ|ùÊ-^:÷¹þð÷՛ɧùïÐÍ”d„¨­]U_R[®­­Jÿ5ôN" ½Kæ{çR!Eu4Ȩ¦"À ÒãYýF¤ñŽ~™þ0# ‰¤a‘2IL£E6úð GKø@Üèh·o™E‚`D™„ë4ºý9ÂM$ðQDhÍ”0û´Æ¹AËÆ)¸Ü»Ñ>}˜ŒñøÛæ˪H6ÍèîÇBA9b²±1oã¶riê&TŒwI~SßZ¬ãü¦ô:žP<¾1nž¸¶6¯¯²xÙÜ«Üa:ö}ƒÏ‡¾‰æH)?î}ßÅWÜ„ñRmÚ– ×vP&ùÂv¦œ %©¯‹:QÐq\`Èa)à&³ÚêGJÅQ»½»ûDàÞ¸Ô­ ¯â[èNBtßÆ»Òå/&SBáÓ&.â Ýíìum +²Ì[óo¯ó²š(I­‘VÂ燿/0d—EÆ[Øhu?!Ž¬=~÷aJ!CdÛAm˜øÖ}í D$éÚØÇ_õp_,jú;»×ÊÑ´µnj‚(æTÁ„4“í_ÅMT_¼ó²ϱî(iü‹ÐUÆ¢úÌè‰÷Ó L#¬ ‚à*M–¶|Þ(Où#dB>(C„Ñ°r³~¬[¬«,ÍjÐ|@6xÙi=:öû±¡·³'Ù †p\‚ B2¤ÍeÙ ¨B˜Ø@eÃû _—IeŸ7 v'äà!cOH_\™çP$pŸúd@p!àc¿z;{\À”óK€€ Š´¼,8‘“Ø×@°¶éæÙƒà„“Ïɲ&ÁÏ }[´$¨l¶IãÊÎ.Ë\>[”ålã€o‰Ë!>&Q(= "DUÓáѱßý} ø“Ð`\CÁÝ@ãý!)Àp#û¤øi¹ô²¹ÿÐɶ›"É«®ýéiL¹<ýfùÿdûVÃb›ÚNÓoç'l¹5xÓÏ;F`®è zÍâ$Gÿkûþ†“(5° Äd0‰vì÷“hgÏ(xêÏúH´ØæÝG~8­º@%­’»À†®kx½ äÈnm Ötmãp>íâÀ±C\%qJ§u²\Ú<0_Âf›ö]ºÌvA#î¥$B)ßæ#æ¸)uô½F +qÐsÓfˆªýF 'ÿcû=åßÛÙùk°Â as¾”TÛØ—WeWÍ(8ÌaÁ/¹’Q 9ßr!»+ÓYS@Oëµ Á­ÐpG©2Ž%z¸L>¶ß3“{;¾QÎhðù¾…¬Ú$s«UXÃx[¹4¾¶ið" +è¥]ÅÛ´:³Ö¤L!Ø´]T¡öœD $Ñs´‰ÁÁ†Ó&1 1ÃÓfÇ~?möw6\›Ä@*hÒG›¿eWTaÒ¸ó¿)ªÍÿVV¼ÿ~†æ¬±‹KjŽH(“ yJÍ-Ý¢,³êÂÌ¢»,TuD($¨Pu\"!Ípª;¶ßSu½=CuÜ -TÕ½IòÏaò¨\`»u ÞÚ¿§„»ØlÙüfØÚ ¹¸¹,\öÄÛ=2_˜—Û¹Àñ¥&ÅH¶GßÏ 'þŒóá¨c ƒAçØ|?æôvõ ä`†p»Ÿü>äüº ßؼ²w%ÁmœníŸ'å®\ɦ +=ü)ò›€oæ1NJÈ”üàßx°UÃõÂtîŸñþO•Ét +endstream +endobj +1554 0 obj << +/Type /Page +/Contents 1555 0 R +/Resources 1553 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1455 0 R +>> endobj +1556 0 obj << +/D [1554 0 R /XYZ -16.307 900.716 null] +>> endobj +42 0 obj << +/D [1554 0 R /XYZ 56.693 759.068 null] +>> endobj +1557 0 obj << +/D [1554 0 R /XYZ 56.693 738.489 null] +>> endobj +1558 0 obj << +/D [1554 0 R /XYZ 56.693 691.479 null] +>> endobj +1559 0 obj << +/D [1554 0 R /XYZ 65.161 692.163 null] +>> endobj +46 0 obj << +/D [1554 0 R /XYZ 56.693 655.012 null] +>> endobj +1560 0 obj << +/D [1554 0 R /XYZ 56.693 627.459 null] +>> endobj +1561 0 obj << +/D [1554 0 R /XYZ 56.693 580.449 null] +>> endobj +1562 0 obj << +/D [1554 0 R /XYZ 65.161 581.133 null] +>> endobj +50 0 obj << +/D [1554 0 R /XYZ 56.693 543.982 null] +>> endobj +1563 0 obj << +/D [1554 0 R /XYZ 56.693 516.429 null] +>> endobj +1564 0 obj << +/D [1554 0 R /XYZ 56.693 469.419 null] +>> endobj +1565 0 obj << +/D [1554 0 R /XYZ 65.161 470.102 null] +>> endobj +54 0 obj << +/D [1554 0 R /XYZ 56.693 432.952 null] +>> endobj +1566 0 obj << +/D [1554 0 R /XYZ 56.693 405.399 null] +>> endobj +1567 0 obj << +/D [1554 0 R /XYZ 56.693 358.389 null] +>> endobj +1568 0 obj << +/D [1554 0 R /XYZ 65.161 359.072 null] +>> endobj +1569 0 obj << +/D [1554 0 R /XYZ 56.693 311.565 null] +>> endobj +1570 0 obj << +/D [1554 0 R /XYZ 65.161 312.248 null] +>> endobj +1571 0 obj << +/D [1554 0 R /XYZ 56.693 253.781 null] +>> endobj +1572 0 obj << +/D [1554 0 R /XYZ 65.161 254.465 null] +>> endobj +1573 0 obj << +/D [1554 0 R /XYZ 56.693 206.957 null] +>> endobj +1574 0 obj << +/D [1554 0 R /XYZ 65.161 207.64 null] +>> endobj +1575 0 obj << +/D [1554 0 R /XYZ 56.693 160.805 null] +>> endobj +1576 0 obj << +/D [1554 0 R /XYZ 65.161 160.816 null] +>> endobj +1577 0 obj << +/D [1554 0 R /XYZ 56.693 113.308 null] +>> endobj +1578 0 obj << +/D [1554 0 R /XYZ 65.161 113.992 null] +>> endobj +1553 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1581 0 obj << +/Length 1890 +/Filter /FlateDecode +>> +stream +xÚí[moÛÈþî_Áoz´ïܽ’¦ ëml r‡‚×cŠÔ‘”e÷×wHJ¾ˆ±£¡×Ô¡Å}0H“ÃÙÙÙyæmW,ºŽXôþäÍÅÉìf‘g„‰.®"#ÀÄ‘åd]¤Ñ§W}î“ÚŸž Í^ý­l|Ýß^•UÓ,¶/ß–ó7eyÓÿó¯ó¿žþtñ‡9ãœÖ=·óæ>÷õÂû¦n_ãè<²8º‘íèÊÄ ipñv|nal_Íú 7®ýðä/'?ŸpdÏ"iÆÉ(v Ñ|yòé'¥øål´é(—‘æ „4xŸGç'ÿ8a[M°'5²ã­pfz™~BwRì>›½C’nªýÆ‚2_tÄo“Û,==3Œ½ús•,}õÝéøßÉ¿ÊrßsBµÌÚËûýÙášðXD±D ”lg×>× u¥L$ÀYU>ºúr:{Üúõ·j7@Ϙ·Ô¡ü5pÇü5㣚(#|¹Ôœp/ lÇ°ºŽú›Ûµß[Çà’ƒBuËùO¹ðùjoùññwÛC¦Ñ§nåß"Š¿÷Ñ“´_®~±‹CÔÉUã+é $â»:§^®³<Ý'=lË5‹olù‰ëÓf„å/ `TÑlÓ›<¨ëàÜ ¹›ÇÆr@7Œ÷Ù‡¡8XT:ˆU`Tâey›×4T¬’ÖTš5>+š’èDÏP7I‘&UJ£ÎËyÒdeAäMöžF¹ÉrªÃñä%hh”åÕóT–¦¿°4¥ h¹s?2Åúó_ˆâ.”liΨ>#Æ4†ñé0½Ï?ÔÁÂPm50kp, ÙwÚ|Àm5+å+_ÌýÈàe0KU\3x¥º4vºàõ‡Ó]Ôß==›—ËeYŒ‰lR¡ýë #› ã CÛ>ÿ@ ;"¸ ¶}ò[pû-¸ýÏ7.Àp;ª÷ù¢:XØÁkpL7¸1F¸c7m Ä\¿dpkKè‰cÍÆ'7äHVÏ«2ÏÓrSPéU퉎·íÒZ8Å|Qcéa+Å«eê¨H•vÉöË5-çu5ŸeËäÚ×ÛtïÙ¬NÊ>¯®÷_W>I—î–»Ôõ Ì/šmxÚ‹aÖÆÛ‡ Æ8ÊÁÙÃïïˆnB ‚„ÐMðVt7›Øçè&‚…á&„¡Mˆ›X¯RÌ©n¢µ¹áðí^D7q‹iô05Eö¿ÿ6û¬À ˜šT¶ÄÕzÞfÀõÈq˜fçd=QsÍÛOhô0ðÚ¼ÈÓñ)'óë7••ÀÙ„›@˜¿WÓm ø‡ùœpaé>GÅ”Üný=iæ bP•KåëjMÌBÞ,°H7ÉgbeG¬gÓ¬ÆJ,i—¾®ÄD¼ý‡ä69ŸWÙŠè;³š<³ä2÷c·©¦£\›£z,³…âC]b4«}RͳbsÞݼ+zm¤$ÊO¸{¥„)¦ó?{ìÝO¨¨#¼°`˜ýö>˜¢d+éÏëîÊ k ‡U_ÝÓçU\­î¦¸Ròcºé(?Ãõ|,/}Õô¾ç¼IKs$jJ«é¼ŒŒqnº„ÿ0?.,ÝÑH‹’ZÙ¯ëë”Ø_¿LêlN„Ãzµ*«—n¡~3¨&ºÇ|²¸A·´ˆŒÿôíbÈç~éu݈ºEb +‰¦|TLkÚÉg`úCVÝ$=¤¿/kh%ÀLX¶ «O·A>àˆç`aGàYªŽoŸ8¬*žçÄcbeNtþsÏ:»Ìò¬!FÎU™€M0ˆùt‰ä€ EL&ìVÌA¬§ÛpðTF°°#àÁ%°]¹õ~}?¶=¶êG›ˆ_5ù~÷øDÝç[–·ž +Á¬¦÷<Ÿ Xb^žg7D± ,fSúÑÙ¶Ô»ŒYóÌ}üჱÀô›äÂYˆÝt}¹ÿ0‡ Kß$—LàuÛ—»¬|r3æëº)—Ù’G{è@^D –µŸ$bÖ‰_¿s-ðêÄ„#¡9¸x:€ì±ÄG¨¨ô'´¡·£FœñÚ<²­ö$ñ5VE/"áGÇ"’ËGD=l½ +5kÚŽÂ3ÏiÇ §úw=_<¶;:w¸¢T¬rœMØ~ ­SM×~ðDk°°#àÊp%å¶^—ÝQŸöœÓ°3AXgŒ\µ!ÁcBÉ°êÝÏç 3o¢esƒÃOxdƒk RLׇð3ìpaé†`˜mØY‘ú"}äðîá¥ÆÈ'åQés)@qûb.ûч'+pä°Ê†Í9¨ Ó«ÿ@Ãv„as±Ý½ûè>ó“]¶*)RrB†´#ضE3±*š¬ÉÈÛiÔŽ<ù$“Q%½ô_)ë000 jvÔÃBX˜j§&Šp[6ýü]1ÌÝs~ýþ_É„³2 +endstream +endobj +1580 0 obj << +/Type /Page +/Contents 1581 0 R +/Resources 1579 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1455 0 R +>> endobj +1582 0 obj << +/D [1580 0 R /XYZ -11.232 900.716 null] +>> endobj +1583 0 obj << +/D [1580 0 R /XYZ 56.693 742.989 null] +>> endobj +1584 0 obj << +/D [1580 0 R /XYZ 65.161 742.431 null] +>> endobj +1585 0 obj << +/D [1580 0 R /XYZ 56.693 694.923 null] +>> endobj +1586 0 obj << +/D [1580 0 R /XYZ 65.161 695.606 null] +>> endobj +1587 0 obj << +/D [1580 0 R /XYZ 56.693 637.14 null] +>> endobj +1588 0 obj << +/D [1580 0 R /XYZ 65.161 637.823 null] +>> endobj +1589 0 obj << +/D [1580 0 R /XYZ 56.693 579.356 null] +>> endobj +1590 0 obj << +/D [1580 0 R /XYZ 65.161 580.04 null] +>> endobj +1591 0 obj << +/D [1580 0 R /XYZ 56.693 532.532 null] +>> endobj +1592 0 obj << +/D [1580 0 R /XYZ 65.161 533.215 null] +>> endobj +1593 0 obj << +/D [1580 0 R /XYZ 56.693 485.708 null] +>> endobj +1594 0 obj << +/D [1580 0 R /XYZ 65.161 486.391 null] +>> endobj +1595 0 obj << +/D [1580 0 R /XYZ 56.693 438.883 null] +>> endobj +1596 0 obj << +/D [1580 0 R /XYZ 65.161 439.567 null] +>> endobj +1597 0 obj << +/D [1580 0 R /XYZ 56.693 392.059 null] +>> endobj +1598 0 obj << +/D [1580 0 R /XYZ 65.161 392.742 null] +>> endobj +1599 0 obj << +/D [1580 0 R /XYZ 56.693 345.234 null] +>> endobj +1600 0 obj << +/D [1580 0 R /XYZ 65.161 345.918 null] +>> endobj +1601 0 obj << +/D [1580 0 R /XYZ 65.161 334.959 null] +>> endobj +1602 0 obj << +/D [1580 0 R /XYZ 65.161 324 null] +>> endobj +1603 0 obj << +/D [1580 0 R /XYZ 56.693 265.533 null] +>> endobj +1604 0 obj << +/D [1580 0 R /XYZ 65.161 266.217 null] +>> endobj +1605 0 obj << +/D [1580 0 R /XYZ 56.693 218.709 null] +>> endobj +1606 0 obj << +/D [1580 0 R /XYZ 65.161 219.392 null] +>> endobj +1607 0 obj << +/D [1580 0 R /XYZ 56.693 171.884 null] +>> endobj +1608 0 obj << +/D [1580 0 R /XYZ 65.161 172.568 null] +>> endobj +1609 0 obj << +/D [1580 0 R /XYZ 56.693 125.06 null] +>> endobj +1610 0 obj << +/D [1580 0 R /XYZ 65.161 125.743 null] +>> endobj +1579 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1613 0 obj << +/Length 2390 +/Filter /FlateDecode +>> +stream +xÚÅ\[oã¶~ϯz^ ax§¸}88íîé¦Ø^ Ø-d›‰ÕèâJr÷×—²”l$ßF¡è}²,ÓÃ9ßÇ™áP8¸ pðýÉ·×'ÿ8ÐHK*ƒë›@R$U†˜ +®gÁÇÓßLb¢ÒœSOÊ+S6—7yÑ\TóöÇ·ùôÛ<¿k¾üïêÃÙ×?ØnÎ AZˆFÚUµJL97¦*ëŸmï$mï’Õ½s©¢ap.VmÿDY*<½h>ˆÔõOÞ]ŸüuB¬x@H$5 ”&HbLÓ“à`f³ + ®ÃàaÝ2 Áˆ2i¯“àêä×ÜŽ¶*Ö—õÇ÷/$Ûñ ŠŠkD°¬%×÷¶zrP¤C&¸Ù) +Ú áꩃF0©[»ÊˆHÒ—/0AJ† ^³Dšê”] ,nƒæâ·Öí®m¯-±UœÄYk=ÿ™ÍÌl=ý»%Ï%Ƨi\–qvÛiÜþ„Ú››ÿ<]DE”Â:¸‰³Mú',ðîª&}b`í¦yVÆee² +Öþ!®æ°–5¬A sÛ²6]V‹%PSË/iÔ°Ä‹!®‡—4÷:–Õ¡ƒgLY¡ hw|nòæ+ÈÆZ?Q*:ê÷,Íï_Ý ûܼÏîó‘#ä­+ÃË )ßrY¼:¦áÊÚ•:jáVúS™Ï —±\Sé<Îþvs9·® ý9œQĸ¿ì[O¾#}9+;€¾˜@ò©Üp@‰×¶„rbp² +ùÊ”P:£—°fóº?qlº0Åz·=ÏFŽÅÁ´\˜EOŠ6Ø•)L5‡Fçq’ôyK¼°wòuJ¤e®O˜ã¦V‡/Z5¥)m›s({Q‚˜Gnéˆw¤WUÌ +òJÛGRµ©Ë‰±„u6VÐ"Њüš­ é ¹Ù\¼Xi Ä`b€:@‡ªŒ€cõþ݇?“v÷¦XåÙfýóž|î¶Àê0xˆõ(ðQ3dLKDÄkŠßÞF÷ñ¬‡ïêý÷ç\YeÒEU梶´<»˜–åÅ"/ãºÃzÎÈ~’ %Ìcy³¦PþÊãzòÝøÊ]Y¸+ÄlÔʶÀë÷í[ÄÊ>äfìí´u†`™BWÁ´Æšš[ÇJ¸,¥GƒW‰P•¶6}ÜEå2›ÜîˆvÚr¾>Ô^/úL#E<÷1ª‘þR9=ùŽà¬ì` aþ”ʹVJÁÚ-K(3¤ðÔ=8-’ 8(²ïLVиxzN åÙ¨¹ž +ºžÄÙÝ@Ç\&Ww-×cÿíÅžÿÚí¢•&*¦ó·ñ}ût#$„ô!1ëä)} J³¯nÏûߤ¡nŸ»h*õ™¼<ÊËk[0Å(µŸmŠîkè¨Û¥#ô˜öä;½³²ˆžDh[ØØ@o ([À3>õq;(ä¡I,°9Íó»x@Êþ:¿0bÐô 8·n}«jõÚä:Ã×Õ¤!E«#Çš;Ñ8µK{yÑXüyl={´Èn¿Ù¹ðÏk&¶w‚Ÿ¯Hsvªê!öçÑRû‰)õFt=ùnDç®,œè¨ýdX»„´Wi”·§«Ýœ¶®thÒø9ÙŽA©Ð3vTb`ÒúcòÂÑù|0þð3SemÄc¡%Q쯥'ß•ÎÊ@%шkê‚Ê_§†¡Ç¸9í9®ƒñX&Õ¢€WàÒR¨ÛRwmʲ_½~Øì Cv² u¢­ž ÖIHã_¡BF,ôwf°'ß ëîʱNCR ¬¿gà­Û4* +pœÁËž¡ûQÛÞ1rØ8¥BLë£"’×o'‘_‘L A=¾1„PŽ„G@vÄ;âÑUÕp´NO(B8^×^.8™™vÌŽ Jº+ª5blT‡t²Œ“² õÂõ;Ú¨´¹ý|˜îàXÔ'¼‰Ç ÑúD­ð·Úïøò/WUáH©Ïþròù0tï š>šÂ:z—é"ùèzÿ8çþÃjÑêÂþåØu­kÌ 8ªút‰G kžcfÈ6^È1ÂR¿æ=ÿ@I? +endstream +endobj +1612 0 obj << +/Type /Page +/Contents 1613 0 R +/Resources 1611 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1649 0 R +>> endobj +1614 0 obj << +/D [1612 0 R /XYZ -16.307 900.716 null] +>> endobj +1615 0 obj << +/D [1612 0 R /XYZ 56.693 759.068 null] +>> endobj +1616 0 obj << +/D [1612 0 R /XYZ 65.161 752.393 null] +>> endobj +1617 0 obj << +/D [1612 0 R /XYZ 56.693 705.893 null] +>> endobj +1618 0 obj << +/D [1612 0 R /XYZ 65.161 706.576 null] +>> endobj +1619 0 obj << +/D [1612 0 R /XYZ 56.693 660.076 null] +>> endobj +1620 0 obj << +/D [1612 0 R /XYZ 65.161 660.759 null] +>> endobj +1621 0 obj << +/D [1612 0 R /XYZ 56.693 614.259 null] +>> endobj +1622 0 obj << +/D [1612 0 R /XYZ 65.161 614.942 null] +>> endobj +1623 0 obj << +/D [1612 0 R /XYZ 65.161 603.983 null] +>> endobj +1624 0 obj << +/D [1612 0 R /XYZ 65.161 593.025 null] +>> endobj +1625 0 obj << +/D [1612 0 R /XYZ 65.161 582.066 null] +>> endobj +1626 0 obj << +/D [1612 0 R /XYZ 65.161 571.107 null] +>> endobj +1627 0 obj << +/D [1612 0 R /XYZ 65.161 560.148 null] +>> endobj +1628 0 obj << +/D [1612 0 R /XYZ 56.693 513.647 null] +>> endobj +1629 0 obj << +/D [1612 0 R /XYZ 65.161 514.331 null] +>> endobj +1630 0 obj << +/D [1612 0 R /XYZ 65.161 503.372 null] +>> endobj +1631 0 obj << +/D [1612 0 R /XYZ 65.161 492.413 null] +>> endobj +1632 0 obj << +/D [1612 0 R /XYZ 56.693 445.913 null] +>> endobj +1633 0 obj << +/D [1612 0 R /XYZ 65.161 446.596 null] +>> endobj +1634 0 obj << +/D [1612 0 R /XYZ 56.693 389.137 null] +>> endobj +1635 0 obj << +/D [1612 0 R /XYZ 65.161 389.82 null] +>> endobj +1636 0 obj << +/D [1612 0 R /XYZ 56.693 343.32 null] +>> endobj +1637 0 obj << +/D [1612 0 R /XYZ 65.161 344.003 null] +>> endobj +1638 0 obj << +/D [1612 0 R /XYZ 65.161 322.085 null] +>> endobj +1639 0 obj << +/D [1612 0 R /XYZ 56.693 275.585 null] +>> endobj +1640 0 obj << +/D [1612 0 R /XYZ 65.161 276.268 null] +>> endobj +1641 0 obj << +/D [1612 0 R /XYZ 56.693 231.01 null] +>> endobj +1642 0 obj << +/D [1612 0 R /XYZ 65.161 230.451 null] +>> endobj +1643 0 obj << +/D [1612 0 R /XYZ 56.693 185.193 null] +>> endobj +1644 0 obj << +/D [1612 0 R /XYZ 65.161 184.634 null] +>> endobj +1645 0 obj << +/D [1612 0 R /XYZ 56.693 139.375 null] +>> endobj +1646 0 obj << +/D [1612 0 R /XYZ 65.161 138.817 null] +>> endobj +1647 0 obj << +/D [1612 0 R /XYZ 56.693 92.317 null] +>> endobj +1648 0 obj << +/D [1612 0 R /XYZ 65.161 93 null] +>> endobj +1611 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1652 0 obj << +/Length 1822 +/Filter /FlateDecode +>> +stream +xÚÍ[[sÛ6~÷¯à[C¸_ºOÛfÓN§ÓÙM<³;“tvh +’˜R$KR‰óï÷’×mˇ†Àä‰çûx.MÖ M~ºøáúbñFÑħ¹N®W‰æD›Ä2A„I®—ÉûË·¾ðië_]qE/«:ßªÙ7ºÍáæë*û¡ªþØÿøÏ»__ý~ý sÅqJí¥½ë¾¾Ýxßµým%F×¢]jC ·É•"ÎÆg{¹Ø_˜výƒÿ¸¾øó‚xš°Di¢HŒcDSždÛ‹÷¿Ód ÷@"M>=·‰b”p¡¡]$ï.þuA31¾>œ™»1¤#Œê½n8Wƒ6w-Þ@—á}dÿŒ%R[¸1t~~Ê—¯®4¥—?6éÖ7ß¿ºb~ݶÅ⳿Ùø¢&ÐÞ „)ëeö—ŸŽ_–ˆžሴºÙþEaê¤N8qÖ%OV}»#iÿûpn‰âæn€½`Ö÷•¯Ól,_QF Ìf„¿®¼&Ž»3(;lÖɾñö`GËy§¸`IJƒAÿ{¿pGVøc,4y?À¯~Õ=òdÏ´È×%®k—w€-\ß)³L?á:n|ºôÍxÈéix·u‘~y~„'=ã ç¬Àu¼Ù!W¡ç8\ǪÞV-Rj®GbŸG=WD ‚úÉŒGác@Ý9¯ó[X÷Î/²ªì|Ù-ZŸ6ÙfÑ èÖ.|ùßC›|lÿ¶±¬²¶É·y™»¥¿‚/QGn·X¾„W!&)_jˉÑèòX|[«Š'Km5¡Ì†åà€”»‡©Æ÷†µÄ¢×ïÞñwùIÅÙ&-×cÞ~ÞœûåsV†(&"Áv[•‹¬muÕæ]^•y¹&ð oiˆu""¼`GÈxø>–ð`e' \‚KÍyÂ_Wåø‰ïžöëŠý¸ßT ¸.H´¦Mµ+‘ôògZ.!tBªQäc¿áy£‚8©f%ˆæ 31I`›æ%ùˆ>å„:ø +¢Jvïrø#ùaÀW|å$‘<(úû§*G‚iW–>óm›6_p´YSa]„ÿçGFNi™m°KŽuŠ<ûëÜŒ8õy$)k “nN6Q`JŽŸ“Lnvy±$uSÕ¾ére +Et”TDHCŽårH°²8DZ¢¹ áw›ê3«ªê|sæÄÇ ’Ž–~•îŠ©_x%9jV7_qJ—1Ayˆè÷ãCø>y«¨ŒSéQ÷þÔÙa:’Ópe'Àœ,+DLwu]5H_œæâ?dgÜø¶›?§:È×i–"©¦©¶Ø$€`‚&ãOšJ¤Ó>ssR‰4’n¾A*‘ZC#F R /jɤ’`eñT"•!TèÙ¨$]nfNàkݤõ&ÏZl +¬ó¼%—ùAQ°™Yù ¯Ò vN>xª*p\4h<˜ŸÂ a,"?€DwïØŸŽåòC°²ø1rç}¾0©°\¢}‡;»AÖnÓm]øóеťßVã©X<Í {›GŠ®²©äA%¬œ˜“=ÄPµ’ßfýAA‹›ˆþzï¾0FòÃ#\YPEŸöAÚ.Ç–`ªÕ*~ÂuˆBƒa¿ vF"â}ùNòù‰è厷Œ(Îã17.Þƪ‘ü0ÆWÏ\NT~½Þ5åËŠ‰'Ê&Sª,)Ö;Zå·öeíÔœ ׆(#gå„¡§¾þŽs.1\ED:—½x!ÎH~ Òƒ•€tn UAI‘7Xù¦Aï³¾AÇù¬H,2Ç ‰Ó)Ðaçû‹¶Ï>C1³nºfCqÏEÈ”NN…20zƒ{fàUâ39ú`Uñ˜g–®ì\‰Ð¶Âæ +û ;¶ŠÛïêÇJm¶íWJ¬>–)}FÁò³YI¡/Ó)þõNb`CJÂDÄ€ ×x{±Gò9#XÙ ¤!4,û¡Àö3x׺²‘ùºþÒ›l±gÍú ö»-’¢±ýϪy¸Óc¸ÃO“ç`õhúL‹u5•@%Ìκy› u<ý͈³DˆˆG[­!ÂÄó8ŽÅ‡±G°ªxòp”h”OH§8µÏò)lƒÜ ]5ËÇÐ~â> endobj +1653 0 obj << +/D [1651 0 R /XYZ -11.232 900.716 null] +>> endobj +1654 0 obj << +/D [1651 0 R /XYZ 56.693 742.09 null] +>> endobj +1655 0 obj << +/D [1651 0 R /XYZ 65.161 742.773 null] +>> endobj +1656 0 obj << +/D [1651 0 R /XYZ 56.693 696.294 null] +>> endobj +1657 0 obj << +/D [1651 0 R /XYZ 65.161 696.977 null] +>> endobj +1658 0 obj << +/D [1651 0 R /XYZ 56.693 650.497 null] +>> endobj +1659 0 obj << +/D [1651 0 R /XYZ 65.161 651.181 null] +>> endobj +1660 0 obj << +/D [1651 0 R /XYZ 56.693 604.701 null] +>> endobj +1661 0 obj << +/D [1651 0 R /XYZ 65.161 605.384 null] +>> endobj +1662 0 obj << +/D [1651 0 R /XYZ 56.693 558.904 null] +>> endobj +1663 0 obj << +/D [1651 0 R /XYZ 65.161 559.588 null] +>> endobj +1664 0 obj << +/D [1651 0 R /XYZ 56.693 513.108 null] +>> endobj +1665 0 obj << +/D [1651 0 R /XYZ 65.161 513.791 null] +>> endobj +1666 0 obj << +/D [1651 0 R /XYZ 56.693 467.312 null] +>> endobj +1667 0 obj << +/D [1651 0 R /XYZ 65.161 467.995 null] +>> endobj +1668 0 obj << +/D [1651 0 R /XYZ 56.693 421.91 null] +>> endobj +1669 0 obj << +/D [1651 0 R /XYZ 65.161 422.199 null] +>> endobj +1670 0 obj << +/D [1651 0 R /XYZ 56.693 375.719 null] +>> endobj +1671 0 obj << +/D [1651 0 R /XYZ 65.161 376.402 null] +>> endobj +1672 0 obj << +/D [1651 0 R /XYZ 56.693 329.922 null] +>> endobj +1673 0 obj << +/D [1651 0 R /XYZ 65.161 330.606 null] +>> endobj +1674 0 obj << +/D [1651 0 R /XYZ 56.693 284.126 null] +>> endobj +1675 0 obj << +/D [1651 0 R /XYZ 65.161 284.809 null] +>> endobj +1676 0 obj << +/D [1651 0 R /XYZ 56.693 238.33 null] +>> endobj +1677 0 obj << +/D [1651 0 R /XYZ 65.161 239.013 null] +>> endobj +1678 0 obj << +/D [1651 0 R /XYZ 56.693 193.206 null] +>> endobj +1679 0 obj << +/D [1651 0 R /XYZ 65.161 193.217 null] +>> endobj +1680 0 obj << +/D [1651 0 R /XYZ 56.693 146.737 null] +>> endobj +1681 0 obj << +/D [1651 0 R /XYZ 65.161 147.42 null] +>> endobj +1682 0 obj << +/D [1651 0 R /XYZ 56.693 100.94 null] +>> endobj +1683 0 obj << +/D [1651 0 R /XYZ 65.161 101.624 null] +>> endobj +1650 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1686 0 obj << +/Length 2188 +/Filter /FlateDecode +>> +stream +xÚÍ\ßoÛÈ~÷_A u€zµ¿¹{}º4—»×}¸É¡ È•Å˜"U’ŠþõJ”Ï¢%yèÕ*}M.g‡ÃF·~¼x{s1y¯hd‰Õ\G7³Hs¢ãÈ0ADÝdÑÇË®pIãÞ\qE/ÿQµ®ÙΪzsÐÎû‹ïªômUÝmþø×õÏo~»ùLsűJm¤]·_ ×Ìk›î2ÌÎ"³kÑÍ.uLbn¢+ElÜÏÏ,ŒÍådóôín¼øáæâ? ÄÓˆEJmE[F4åQº¸øø2¸ +iMt¿¹ˆ£„ ÇEt}ñÏ Ú[‚´ÈV¶´„Q½Ñéçj­Åö¶É{²~ÙÝcˆÔ.¬¿K¾äÙ›+Méå_êdáêïÞ\1µn±,’ÖMÒªl]ÙN—Ôé|ÒÀÖL\ùïþ˜|n6ó%»)»ŸwmoŽÅ<Šè)Egƒî¼¢`Q©#N¬±Qí¢ÙÓ‡Þ‘¶ÿìó ¸!ÌÈíÁ¬í+_¦ÙP¾¢ŒÄ`LÌ O„&–Û(»XßF›ƒý +ÙyÛ[Å# ´~鿺éÜËE§¿ëO …F×ëホå¥Û¹éàØõÊÈË[Üèj†׺zÑ ‡Î“7Ò•n`^ ¶>û‰*zÐn—UY|Å[ ©ÖZsW»á;þãa]‘–MpÃ6šªLJä[˜:€l‡~° <ƒ3ü¾Ð¥±Di»¶OTÒ~”y2*^{A?æ + [,&ªÇu¨ìÐe_Ž4»sB¬ÔGÌ ò(Oùi},œÖ€t”(&v¬¾o ~.Wð.†~IrMžÜrà÷ íj tÁù·£Ý?¿éqqÿMåýõaO‘¿{ +e0;£Gls„³»6`ŽÒu kˆ²`”>ïGéþÊâ)]Ç‚hïAé³üÁ!ÙoºB’ùý3Ú9<´ª3$ëùRè{†":n…,{G‚ÊUZ¸U3Rü=Ú‚e…ä×YµÂꜭ°<\ ñne$#L… c­,‘’‡C„]ùžˆà­,Œ"ÔèHƒâže³|6ƒeT¦®yUxûRô…ðîäë‰%¦Eî°eO’Ș¿ÈÜVêF…ìÕXˆpM¤g y„ JØS†<ÓU^däaQ`ÝŸƒ +qȈƒq¢™ ‡/»ò=ñÅ[ÙSÄRåq\¯–˪FúðC^¦Å*s'vâö¾j}dO²L$‚.ëj–è¬p×þ1T˜VøÑ“ð8B-Ñ°–Έ#Êh3uJyhŠÉýfQ8F¢ ‰‡& +œ'¶"š äû¡‰¿²x4QÚBÔÂ6oõ}þ€ô†$ÃîÊ»Wű‡c7KVE‹ºÌÓ^ûò¢„_CåYRXbìÿ?rP›€þȺ±áüqW¾§?z+;Â9'\õE¤ï³¬vMƒ^Û:Iï°qq>Lu÷çÿ ¤”JÚBˆ_4Ŷy[¸d:­Ý—ºHê»Õ7â†'y û,x¡+"Ýú=ÚpÛ "Eˆm»¢†ÌãíŠ÷t;_Uñ{vÅá`ܵ)ñ«©+pãö•{Âô#¤•Ž …ÇàìœL% LMãoOUà„IŽª¤f„Ìeòý|Æ_Y›±¬«%ºe>HÜÒ$ØÀéám¼&.A5Ì2ÂìYŒLÂÍ ŒÃrl¾H žt™òjÕ6X]ËòöùGŠû³§ƒƒ¶È”!‚Ls2¡Ã¥9ò=ÁÁ[Ùà (ÑýVþ~ïG˜ŘŽí™ûgìˆø¬Ÿ×0ΈTöô®ÙwJ >îÞ—-¾­H¿Ö’<‰R¢D¸ïqò==É[ÙžD1\ûºRWZCé< 7´kn–IêÐ!|ÞÑhêKÜ´pI‰F l[kíÜoD›îç±Pñ–’!>àyöoŒ$%tÓ>ö¿ýŸÐÚ +endstream +endobj +1685 0 obj << +/Type /Page +/Contents 1686 0 R +/Resources 1684 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1649 0 R +>> endobj +1687 0 obj << +/D [1685 0 R /XYZ -16.307 900.716 null] +>> endobj +1688 0 obj << +/D [1685 0 R /XYZ 56.693 741.747 null] +>> endobj +1689 0 obj << +/D [1685 0 R /XYZ 65.161 742.431 null] +>> endobj +1690 0 obj << +/D [1685 0 R /XYZ 56.693 683.964 null] +>> endobj +1691 0 obj << +/D [1685 0 R /XYZ 65.161 684.647 null] +>> endobj +1692 0 obj << +/D [1685 0 R /XYZ 56.693 627.423 null] +>> endobj +1693 0 obj << +/D [1685 0 R /XYZ 65.161 626.864 null] +>> endobj +1694 0 obj << +/D [1685 0 R /XYZ 56.693 579.356 null] +>> endobj +1695 0 obj << +/D [1685 0 R /XYZ 65.161 580.04 null] +>> endobj +1696 0 obj << +/D [1685 0 R /XYZ 56.693 532.532 null] +>> endobj +1697 0 obj << +/D [1685 0 R /XYZ 65.161 533.215 null] +>> endobj +1698 0 obj << +/D [1685 0 R /XYZ 56.693 474.749 null] +>> endobj +1699 0 obj << +/D [1685 0 R /XYZ 65.161 475.432 null] +>> endobj +1700 0 obj << +/D [1685 0 R /XYZ 56.693 427.924 null] +>> endobj +1701 0 obj << +/D [1685 0 R /XYZ 65.161 428.608 null] +>> endobj +1702 0 obj << +/D [1685 0 R /XYZ 56.693 381.1 null] +>> endobj +1703 0 obj << +/D [1685 0 R /XYZ 65.161 381.783 null] +>> endobj +1704 0 obj << +/D [1685 0 R /XYZ 56.693 334.275 null] +>> endobj +1705 0 obj << +/D [1685 0 R /XYZ 65.161 334.959 null] +>> endobj +1706 0 obj << +/D [1685 0 R /XYZ 56.693 276.492 null] +>> endobj +1707 0 obj << +/D [1685 0 R /XYZ 65.161 277.176 null] +>> endobj +1708 0 obj << +/D [1685 0 R /XYZ 65.161 255.258 null] +>> endobj +1709 0 obj << +/D [1685 0 R /XYZ 56.693 207.75 null] +>> endobj +1710 0 obj << +/D [1685 0 R /XYZ 65.161 208.433 null] +>> endobj +1711 0 obj << +/D [1685 0 R /XYZ 56.693 160.925 null] +>> endobj +1712 0 obj << +/D [1685 0 R /XYZ 65.161 161.609 null] +>> endobj +1713 0 obj << +/D [1685 0 R /XYZ 56.693 114.101 null] +>> endobj +1714 0 obj << +/D [1685 0 R /XYZ 65.161 114.784 null] +>> endobj +1684 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1717 0 obj << +/Length 1996 +/Filter /FlateDecode +>> +stream +xÚí\Ksã6¾ûW°rY»*†ð&°{ÊkR™ì$•È‡­šä@‹Å1E*$5öä×oS¢“6í¦!(9äà"E‚&Øß×nÀ4º‰hôíÙ—Wg³7ŠF–XÍutµŒ4':Ž DÄÑU½?ÿÙå.©ÝÅ%Wôü‡²qõþtYVû“fÕÝüº\|Y–·ûÿ›ÿ÷â׫·ÐÍ%cÄ*µ—6o>å®^9×ÔímèEz×¢í]ê˜ÄÜD—ŠØ¸ëŸS›óÙþÀ´m<ûæêì·3âiÄ"¥‰¶"Š-#šòh±>{ÿ+R¸ +iMt·k¹Ž£„ çy4?ûéŒv#AGGä [Z¨Þëô çj§Åá±Ùh²{Ù>cˆÔnìß&õ¶¸¾ù÷Å%㔞ß×ùìÎ]¯\¾!pþŸ‹K W·ÞäIãf‹r½.‹Ù:É +ò¡¹»¨ëÙ¦¬³&+‹¬¸!ð{¯ t«Q{ø¶?DðaYÌ£XÀkHÑQ{]Qp©#N¬±Qå¢åÃ1éI{úêã¸!ÌÈC{Á¬mí+_¦ÙP¾¢ŒÄ0Ö˜Ú‹&–Û#(»XÝDû“Ÿ;êÃAqÁˆ„ÚÙDg=ŠÞï¾õewq(¸»Ù:i¿{Ý{x´} STÃzUÞ ôÌér¾ÊR‡<‡–×É@‹— •Ã°Á]C9ŽCœr ó‡øõ6ËS²©Ê«šÌa±©-'‚ÙpØÔ†à¾PÐì‹÷C¦·ªx`j#‰–·i Ö *θ“ërÛàš^WI‘"¥bîdÉÚMD—Ž 8xvJti¥ˆT±?ºÞ%·n™å‹* ýZUB%T8Xõå{âÊ[Ù À11\ì?â&©ÀLWe¿;¤q¿ûâûoŽìäžò»×­€!N‰jˆâTáæe×rèËz—ï×9…Êšvb „Ê€DÆ‚p ß„þÊâA¨,)öyL´9þÊ,ÊY»&$àŠA5À.\ýf ßåÞÊN@9È¥Š÷ +£Øñ„º(zòœ­7eÕ$ÅÙ¾\Y²J±Óqlß$¨^l¸w˜õÄ$Æx•³zÚgÀ–½]sç\1$ õÀÞdlˆ¡ö@¿PI÷‹Ã¬yÐ*Þ-ŸéÚ\"Ùƒ[¢Ã­yÈ÷·¿²pE(°9·–PÛñÖwž™aŸ¯šu>¡ùŸ5‘£½Ž=yVÜb9­fûæS=GÏGÐj¤n‘'Õ”Åesm÷á·­«>M°…mÖ@&$#L± 4a$1ò…²ÒPÏ!Ÿ¿ÿ˜:ú}ŽQVê$äU‰OÒ‰1„‰®ÎsɈ!|Ü€»Š1Þâ' ¾Âúò®š`U–¦®˜ˆÑïÐHÒ Eÿk\ìP ‹…«½ÚçÏ¿Úø‚Øé>É‚¦á$Mw5¾$ŸÄCBÑÜ | bŒ9-Ÿôû<Ÿy• ‹¥0§†‰cZ}˜< ?ã¦jôje0ÁÚaýå2ÙæÍ«]à_8|‡‡r{³jŽ;Û¹unƒ.—Xc¿o“,š×eiQÂnLJ€c‹§`3‘¾|Ï™ˆ·²f"Ð'g]2Ñ%u†°¶{d€%&¾¹²ÄomðÔl1¡ü5Ù´·Yu›ìËšß—µ»=ÕÊÎAc0Ç™&Œ†Û24ï‰ oeñ 8Î,¶KÀ½Ë +lþ|d½Ë !]‚_ïâîwuvåYƒôi«vgà4…ð%·ºù”ã×ØA8š¢ ²¨ðÕ|~ä"ÈL8ôUB‘8Œ¯¢`€2`Ö¬/ß‘ÞÊNðU(ù°,|Ý3f„á¨Nº¥€Å–pùš-_'³tïV¾jwqTAʹLƒ~«¹L"x¸-ù~Fí¯,ÞÍÀÑÔ¶{?¢¹´,y¶¸}ešcÜ%Xæ_V%r’ðãý§›Çÿ4Kš5 ÖKm—ˉ<Á”"Bœt£œHv„i¹¨«Å¬rIºvö +1 +( #Ò†Ûñ0ïÉÞÊN`&Il¼w<À‡ß†ÚE»tI³­ÜÔ5S ·¢'Ýú!ƒ²ò¨k¦žŸÉu¢ŸúÏ’Âξæcü‰­ú +endstream +endobj +1716 0 obj << +/Type /Page +/Contents 1717 0 R +/Resources 1715 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1649 0 R +>> endobj +1718 0 obj << +/D [1716 0 R /XYZ -11.232 900.716 null] +>> endobj +1719 0 obj << +/D [1716 0 R /XYZ 56.693 741.747 null] +>> endobj +1720 0 obj << +/D [1716 0 R /XYZ 65.161 742.431 null] +>> endobj +1721 0 obj << +/D [1716 0 R /XYZ 56.693 694.923 null] +>> endobj +1722 0 obj << +/D [1716 0 R /XYZ 65.161 695.606 null] +>> endobj +1723 0 obj << +/D [1716 0 R /XYZ 56.693 648.099 null] +>> endobj +1724 0 obj << +/D [1716 0 R /XYZ 65.161 648.782 null] +>> endobj +1725 0 obj << +/D [1716 0 R /XYZ 56.693 601.274 null] +>> endobj +1726 0 obj << +/D [1716 0 R /XYZ 65.161 601.958 null] +>> endobj +1727 0 obj << +/D [1716 0 R /XYZ 56.693 554.45 null] +>> endobj +1728 0 obj << +/D [1716 0 R /XYZ 65.161 555.133 null] +>> endobj +1729 0 obj << +/D [1716 0 R /XYZ 56.693 507.625 null] +>> endobj +1730 0 obj << +/D [1716 0 R /XYZ 65.161 508.309 null] +>> endobj +1731 0 obj << +/D [1716 0 R /XYZ 56.693 460.801 null] +>> endobj +1732 0 obj << +/D [1716 0 R /XYZ 65.161 461.484 null] +>> endobj +1733 0 obj << +/D [1716 0 R /XYZ 56.693 413.977 null] +>> endobj +1734 0 obj << +/D [1716 0 R /XYZ 65.161 414.66 null] +>> endobj +1735 0 obj << +/D [1716 0 R /XYZ 56.693 367.152 null] +>> endobj +1736 0 obj << +/D [1716 0 R /XYZ 65.161 367.836 null] +>> endobj +1737 0 obj << +/D [1716 0 R /XYZ 56.693 320.328 null] +>> endobj +1738 0 obj << +/D [1716 0 R /XYZ 65.161 321.011 null] +>> endobj +1739 0 obj << +/D [1716 0 R /XYZ 56.693 229.668 null] +>> endobj +1740 0 obj << +/D [1716 0 R /XYZ 65.161 230.351 null] +>> endobj +1741 0 obj << +/D [1716 0 R /XYZ 56.693 171.884 null] +>> endobj +1742 0 obj << +/D [1716 0 R /XYZ 65.161 172.568 null] +>> endobj +1743 0 obj << +/D [1716 0 R /XYZ 56.693 125.06 null] +>> endobj +1744 0 obj << +/D [1716 0 R /XYZ 65.161 125.743 null] +>> endobj +1715 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1747 0 obj << +/Length 1799 +/Filter /FlateDecode +>> +stream +xÚÕ[KsÛ6¾ûWðVg¦‚𘜚¤ÍL§M¦±I2Š„dÅ©’Tb÷×wùPlÑ– +ÛžDQàb¹Øo÷Ãb…ƒE€ƒ7g//Ϧ¿„(”T—ó@R$U  CL—Iðáü½IMTšg*ðùÛ¼2e{9Ï‹ö¢ºê~|Ç/óüºýòçÅoÏ>]þ +ÓLA¡­´‹ê65å•1UYÿ ³“@Ãì’Õ³s©¢:˜ªn~J@ ÒçÓöƒÈ°~ðìç˳¿ÎˆÇ „D2d + ’˜ñêìÃ'$ð(€x¨ƒoÍÈU F”I¸Nƒ‹³?Îpg *Ö—õÇ›{’ÁDÑ@ñ,kÉõ}AO.ŠB… æ{EÙNÀ4"\m'h“z´«|ˆ$}ù¤¤¶šá¾™% +ixeÅ"h/ÞwžKØøo<±SœÄYç=ßÌìʤëÆöË +>L$Æ祉ŠøÊnlen*»‘³üfwàÎ îxå÷¥…7ÚÅwö|>„ï„"Êyk´”Š•{†Öˆƒ'àvðuTn²Ùâù³ ¡]Vë4ªÌ4ÎW«<›Æe9]çå²ZæÙ2[ øÞŠ~Ú +TÒÄ‚$€ŸQê A=ùnrWÖA2ä>šå’–ÍÎÓ¯L”˜ÂQ|½(òM–Ø_®¢…ˆ#©5bŒ‰# &äÔF7e:íb‚ëϺ ³ ®Æ(å´µûd¶@ëíR=mŠ +å]œ7yÔºvå;¢ËYÙèâ`j-ÛeÏÌ·ÿ)¶ Ë +ŽŠ-¢‘ÅXà:>sI¬‘d̶D¨€tsoØêÉwÖ»²°…áÙmêš/oìü?5sK.—E_—‹¨öˆpuJÕbL¸«¦È‰Ò IÆÚ#0Fš‡þ€±+ßÎÊÚCŽÈvƒ^æ+cçïß—ÖÞÑ!»i9ªŸSŽB.Ýý|¶Y¦ ºY¥¶ÞL`bÍ=z3æSáÏ›wå;z³³²¼LÍHG³²C©¶«Û„çQwãá#ç°Ç7Yù Ú.òµ)ªÛ¡»c6*f¸ÒˆP:JnèèU‹®ÎDK³{Ût  +""ô:Ø!5én€sUÔn\bĵÞ_Qëü²IÍÏC€j²h–šP-ÁW}ñpÿÇÃ:Uy<`’ù2µLœ[Š‰qƒCN§„Ž7A4ÔGÄ×Àœ“ò¯ŠheŠÓ³KN bLx €/¦¤¿à°+ß1<8+; @†š;õJÿ][‚¤>²8¨Š?‹²Ì¶RR¦ËÅU•ÞZî£bÑ“|/žvÏš´h5&\™æˆ+殫h™¡/åÉk(Lq$<ÿ™dH‰¾'ß ËîÊÚc™Áœš…[nýeSZÖFâ<Í‹Ònld[š¼çœ•>(F˜tEúw™mj]o,£Lb˜eeKÖ—Ùñ1ãiWn¤Ø¨‡ù4ÄHS>2K?|FYó„ϳÅç9˜pÀ1%Õð*’ú2•`>̼¹'ß ÈîÊÚ™*†È °ÎÁ‰™G›tm8mn·ÞWhZ/µ«à$9¾O=)ã3”2„•¿Ž‚ž|G¨:+;ªT" íÛ†«+“U–\¼ÊOϘ&߃…µæ™·¹e+D¾©¬é‚mj·6EdYÈókKÓ.ò<9¶\@k"5j Ì,N(ÐQ€r™˜YTÔÙÿaðÉ*ðØi»š®7Y\mšsöæÄàŽ[´-ÀðžwšpÂ>‡ouùˆ1=þ~EÚ+;³­%{7ˆ’ˆ +½=ùnQÌ]Yû(F¬ã¶w.1©±'å׬³ç‡NõL¼©œ/ì•>O#K=æE¾òPѬ†îþ Ð7*Gm8!#&È¿ÈToAêàâ?~p0‚öØâBhˆ¸¿ýÊ®xÇèáªê€àÁ(R¤ëoy(_-ÿ6ɉ÷ ƒÅ¢ÇÅ“«²Å^¦L¯Ú´yê¢ëÅ£eL[âB`[º+ßÑE•à£4zx×JÜøó‘[{“Ší®Ûñ¦(Àí&Ðlé›åi _þÚ˜â¶ïàûÛú +<½™¹¼2¥¥Ùò¯¦(€¦úº(ú){'QJ°¸Ë“wÙTߤNt;fb2 K +âï0®'ß1d8+k2´@XKO©0Ürâ!e5Û8wɲIV¥?7 +Ëåf ´Î:wç¶h¶] ëÂÄ&1YlŽÎ€˜#AG=yÓõÿXCwêäqYÄÓèÈÊܵåu‚û -ð],ÃcþAûô– +endstream +endobj +1746 0 obj << +/Type /Page +/Contents 1747 0 R +/Resources 1745 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1649 0 R +>> endobj +1748 0 obj << +/D [1746 0 R /XYZ -16.307 900.716 null] +>> endobj +1749 0 obj << +/D [1746 0 R /XYZ 56.693 759.068 null] +>> endobj +1750 0 obj << +/D [1746 0 R /XYZ 65.161 752.393 null] +>> endobj +1751 0 obj << +/D [1746 0 R /XYZ 56.693 704.886 null] +>> endobj +1752 0 obj << +/D [1746 0 R /XYZ 65.161 705.569 null] +>> endobj +1753 0 obj << +/D [1746 0 R /XYZ 56.693 658.061 null] +>> endobj +1754 0 obj << +/D [1746 0 R /XYZ 65.161 658.745 null] +>> endobj +1755 0 obj << +/D [1746 0 R /XYZ 56.693 611.237 null] +>> endobj +1756 0 obj << +/D [1746 0 R /XYZ 65.161 611.92 null] +>> endobj +1757 0 obj << +/D [1746 0 R /XYZ 56.693 564.412 null] +>> endobj +1758 0 obj << +/D [1746 0 R /XYZ 65.161 565.096 null] +>> endobj +1759 0 obj << +/D [1746 0 R /XYZ 56.693 517.588 null] +>> endobj +1760 0 obj << +/D [1746 0 R /XYZ 65.161 518.271 null] +>> endobj +1761 0 obj << +/D [1746 0 R /XYZ 56.693 470.764 null] +>> endobj +1762 0 obj << +/D [1746 0 R /XYZ 65.161 471.447 null] +>> endobj +1763 0 obj << +/D [1746 0 R /XYZ 56.693 423.939 null] +>> endobj +1764 0 obj << +/D [1746 0 R /XYZ 65.161 424.623 null] +>> endobj +1765 0 obj << +/D [1746 0 R /XYZ 56.693 377.115 null] +>> endobj +1766 0 obj << +/D [1746 0 R /XYZ 65.161 377.798 null] +>> endobj +1767 0 obj << +/D [1746 0 R /XYZ 56.693 330.29 null] +>> endobj +1768 0 obj << +/D [1746 0 R /XYZ 65.161 330.974 null] +>> endobj +1769 0 obj << +/D [1746 0 R /XYZ 56.693 283.466 null] +>> endobj +1770 0 obj << +/D [1746 0 R /XYZ 65.161 284.149 null] +>> endobj +1771 0 obj << +/D [1746 0 R /XYZ 56.693 236.642 null] +>> endobj +1772 0 obj << +/D [1746 0 R /XYZ 65.161 237.325 null] +>> endobj +1773 0 obj << +/D [1746 0 R /XYZ 56.693 189.817 null] +>> endobj +1774 0 obj << +/D [1746 0 R /XYZ 65.161 190.501 null] +>> endobj +1775 0 obj << +/D [1746 0 R /XYZ 56.693 142.993 null] +>> endobj +1776 0 obj << +/D [1746 0 R /XYZ 65.161 143.676 null] +>> endobj +1777 0 obj << +/D [1746 0 R /XYZ 65.161 132.717 null] +>> endobj +1745 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1780 0 obj << +/Length 2008 +/Filter /FlateDecode +>> +stream +xÚÅ\ßsÛ6~÷_ÁÉCkÏœ!ü&Ð>µI“i/m¦±oæf’>P,1¦•¤bûþú[Š´1’µDå!#FKì~»+ÓhÑèÍÙÏ×g£×ŠF–XÍut}iNt&ˆˆ£ëiôáü½Ë\Rº‹K®èù¾resyã‹æ¢š·7_ùÉÏÞß6ÿùïÕÛ‹¿®ƒi.#V©FÚUõ¹rî\UÖ·av˜]‹zv©cs]*bãv~ÎA`lÎGÍÓ¶~ðì—볿ψ§‹”&ÚŠ(¶ŒhÊ£ÉâìÃ_4šÂ=P€Hk¢»õÈE¤%\h¸Î¢«³?Ïh»T¬/ë7_H†õ`1bi £º–\¯(è)uĉ56*\t³Sva“ñã`V•¯Ó¬+_QFbmP3|¹ÌšXn ìZ`1‹š‹÷­'‚ ×¾ מØ*.‘¢õžêaé×Öß-(úp©)xgz¿9pC çy²L¨Lˆ‰w|~²Geœp)›wûȹÚP¹³†H0mß&å*Ï~¸¸dÞ¶r‹e–Tn4ñ‹…ÏGé"™¹r”»ûê2) +G–ùìÇ‹õÊÜ—ÙèÎç.[¸n¿íJX$iN>•?6 …×üGi,QpÙªò‘Rj0útÅš«õ»ì_v +k`ØpÈÒ@ +‚óÁÕ‘†¬peñÈÒVøXñ?¿â`•.–…ÿì.oøûé A׆š fMù Va¶;^+.ˆV­E~‡ežâŒRº¤˜ÌqcçélžÁ?WàÆWþø:TÉø`ßÑ–Hª†óMù¾¬l߉!p³¼ñŸ¦S¬ïäéÄ!¡?ñy‰Ü|=Ò»òäs:KªÔç¸ñãUU¡µpÕä`7S°ÛJ=œ›mÊt³`e{¸™M…x<,ð$uãáèèûí&c"ÍpQtG~ Ý‚•ía7EI·QôK_nRa-WIŸù"Íge_³ M7ÙmS~ Ù‚•ía6a‰aº1ۻϮH²¬Ëiÿj¿Øµ1ûÖz%’Xáp‘Nz›X%ì)OWŒ¢¹:àtõ +øgÚœ‹^ÉÂ笩Ÿ”ÅdT¸dºpä~‘a÷ +ªh>Ü!GÁ™,¦b0uä‡!(\Yü!GYoYï¸(KË*…C1’"çi~ ć}õOÞ¿CŽõ7Õ‘ƒ®jîÒKèyU¤u¥Ý¨«G0¥Œ&1S§„¾Ò‚ÊÂ+ãUšM{])˜X˜.91±è›ò¬l K Ÿmθ\-—¾86p¦î&YeH©“,)ËeRͬÄ—Wy(›æ«¾iPU‡'ݧo‰u8XÝë—¤LZi5¡j¸¬EG~hÕŃVZK„l³mRº³Í¬ùòX1îj9Mê +ÖQs_u G ~²ªS§=2ÉدªÃSp{}_ZA¨Ö§Ä»Œ)aŠ¿ê˜ÑÒ—i½ºŒ‘§ÍþUРRëíai .<߈ÿPU{À_q¢˜iŒûº[± Þ*Ó²\¹mtòýN:9ÿ·s[èÅîG¶à¾}Ñœ¿»Ø÷xco+§¼xžóàt’a‰,Éî’äØÏi™Ž3lNÉb‡Sû¯¯ºëòC³¢BR!…ù‹p¹d'å9.ˆàñ1ó;ê¼e•åÕ"ɲºÎ‹]‘ºÇC«9r"épIôŽü@Ö V¶íQÒ–ý_Γ|†ÍJô¨Á¬Jt~[â›û»ãï\:›W_'w²á‘I™5*Ž»cåÜ<> Wª3‚ó<³‘!ƒÆ¬nØBfÄn]—Á6ÛBä:†zj ‘´m1_&¶‰jhÇ\"©JXFä€ÍQùaL®,‚IŒ"Ôh˜K’ø±9 + ŒŠ¤: J# lR§m‚ý‰¨ƒ¤vn¡=ÛŸ¶ÞýzÛ¼MJ(X‰!Û¤„”DxDéÈÄX°²øÝZȘ<~wz¯~wÿ0sññ!=Xëû©¢½N+GÛ›·t\€2ìù?ÍÑy–b•ßî8ì>Fœ– +öÕcð¥ÅbO2¢…<)ñ1CbþíR¢‚Âü*Žn¸‰v¸’G~Ý„+Ûƒn@Ózkß™= »ˆÌ¢ö`†4ŸºûnÁs3ÂMòwÏ ƒC„cèIë£&èåwWë‹×yE>a«–LƒÖfÀ¾¦b"øp} ùa|®,ž™¦D³¶ þ­Ÿ$Yú?‡ÍJhxcËk_xO’û„͸§Ýrà~Ï„8Jˆ“v0ÁˆäüÛG)Œƒ"jÀ^N P•›òQ¬lT2Abcz÷úVÉx}žEÓ«¦%öØ]D‹äÖöû¹}1Å–°Tƒý¡èÂcã¹ÌÏR ÐS4 [–€V1~Jþ2’(k†lhk‚·ýI Õö?¢ð1Ê3r +endstream +endobj +1779 0 obj << +/Type /Page +/Contents 1780 0 R +/Resources 1778 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1649 0 R +>> endobj +1781 0 obj << +/D [1779 0 R /XYZ -11.232 900.716 null] +>> endobj +1782 0 obj << +/D [1779 0 R /XYZ 56.693 759.068 null] +>> endobj +1783 0 obj << +/D [1779 0 R /XYZ 65.161 752.393 null] +>> endobj +1784 0 obj << +/D [1779 0 R /XYZ 56.693 704.886 null] +>> endobj +1785 0 obj << +/D [1779 0 R /XYZ 65.161 705.569 null] +>> endobj +1786 0 obj << +/D [1779 0 R /XYZ 65.161 694.61 null] +>> endobj +1787 0 obj << +/D [1779 0 R /XYZ 65.161 683.651 null] +>> endobj +1788 0 obj << +/D [1779 0 R /XYZ 65.161 672.692 null] +>> endobj +1789 0 obj << +/D [1779 0 R /XYZ 65.161 661.733 null] +>> endobj +1790 0 obj << +/D [1779 0 R /XYZ 65.161 650.775 null] +>> endobj +1791 0 obj << +/D [1779 0 R /XYZ 56.693 603.939 null] +>> endobj +1792 0 obj << +/D [1779 0 R /XYZ 65.161 603.95 null] +>> endobj +1793 0 obj << +/D [1779 0 R /XYZ 56.693 556.442 null] +>> endobj +1794 0 obj << +/D [1779 0 R /XYZ 65.161 557.126 null] +>> endobj +1795 0 obj << +/D [1779 0 R /XYZ 56.693 509.618 null] +>> endobj +1796 0 obj << +/D [1779 0 R /XYZ 65.161 510.301 null] +>> endobj +1797 0 obj << +/D [1779 0 R /XYZ 56.693 462.793 null] +>> endobj +1798 0 obj << +/D [1779 0 R /XYZ 65.161 463.477 null] +>> endobj +1799 0 obj << +/D [1779 0 R /XYZ 56.693 415.969 null] +>> endobj +1800 0 obj << +/D [1779 0 R /XYZ 65.161 416.652 null] +>> endobj +1801 0 obj << +/D [1779 0 R /XYZ 56.693 358.186 null] +>> endobj +1802 0 obj << +/D [1779 0 R /XYZ 65.161 358.869 null] +>> endobj +1803 0 obj << +/D [1779 0 R /XYZ 56.693 311.361 null] +>> endobj +1804 0 obj << +/D [1779 0 R /XYZ 65.161 312.045 null] +>> endobj +1805 0 obj << +/D [1779 0 R /XYZ 56.693 264.537 null] +>> endobj +1806 0 obj << +/D [1779 0 R /XYZ 65.161 265.22 null] +>> endobj +1807 0 obj << +/D [1779 0 R /XYZ 56.693 217.713 null] +>> endobj +1808 0 obj << +/D [1779 0 R /XYZ 65.161 218.396 null] +>> endobj +1809 0 obj << +/D [1779 0 R /XYZ 56.693 170.888 null] +>> endobj +1810 0 obj << +/D [1779 0 R /XYZ 65.161 171.572 null] +>> endobj +1811 0 obj << +/D [1779 0 R /XYZ 56.693 124.064 null] +>> endobj +1812 0 obj << +/D [1779 0 R /XYZ 65.161 124.747 null] +>> endobj +1778 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1815 0 obj << +/Length 2233 +/Filter /FlateDecode +>> +stream +xÚÅ\[sÛ¸~÷¯àL_œváN2}jœMºig/±;Û™d +ó¢%(_úë ŠTbQ–|`ˆÊ“h<8$Î÷áÜh,¼?{su6}'p£XR\]’"aˆ…ÁÕ<øtþQçZýjB>ÿ¹j´é¯«º;hÒþâÛ*ySU7Ýÿ½ü÷«?®>Øi&„ XˆNÚeók“jݘö²‘]²vv.CÒ(˜‡ýü”Yat>í~ˆŒÛÏ~¼:ûóŒXñ8 HÆ,c‚$¦ARœ}ús{Í*€xwë‘E F”I{œ—g¿áþM`«b{Øþ¼$Ù¾Ò ä1"X¶’Ûó[=¹ (Š£8¨up½Wt!ÂÃÍ`ÒŽö•/‘d(_`‚Bfxüš%Ši|e×ëEÐ|ì-Ñ.áÚøÚ{Å9AœõÖó.»×óõòï—|šHŒÏg«là]ªk ªÊ$­jœ•°qKµÐ@‘¹*çàç×¥VM +ÜB&U•¥®·ÆÚeA݉­¥ÞÂçW#·k*"íùÝ%² %Š(çù|¦Tlé>0¹q‹ Ü ¾QfUί_MµO~oò鞥:_"{ }bl§Èx¼!-å1JGã|?ÞðWÎ2æÈþ¬—òs0lŠ +JIUºl€Ðmª##ñ« ~ƒá´?±{Çyo¹wE>‚Ëßû ×Y®ár×·|ÔEu ]qSÐÏWMórö“Q„ã§d?iÁÀé Èï­ºÍæ¯ÖO}Q«B×lt±ÌU£§­ùWå´PY‰¾è+VŽH‡œ¯Ý½Ñèp[¾'z+ë@‡Ü¾êH:»Q˺šåº€ ®õ²ª¨h¨ƒôÓÄ­ÏFÏpÀ¥¢º©Ur3@õ~çOéò—),d¡}ÍP,XÇVàø¤t@"$bqL>x™[$q„$cãñ€ˆCÇòÑx` ßü•uàlï}äÕÚ(`ŸBÊŒòHy“³(Øý;+\ªê!*Ï'û¤;ƒµ¾¶±a™èãúxIŠ‰ƒ§”6EþRŸC´^p$NI2"´X‰Ä5[eùÝPR’ G#’ŠÀ(âñx¤²-ß“T¼•…“Š‘M¾ð"UåL)Ðpç©ã@îÇZŽK,RäÇE¸%Ž\'Í‘ßA²~³G8Ÿˆó&ÏÆyY9×÷/„‹Q4"Ž¶Ä{ÂÈWUqfßN䜲HreÌR5)Ð2ÚÄ=Ì4thó“ ø éQ Æ÷…‹Í©eûEÕß+sûîú¾h +nÃõ 8vG&6Þqg^ݧ˜@ÌBåÛÀ2»îßâ‘éR‹’ÍöýsÜÕtlLûmHˆ¸…|?fej02ElË÷äoe$ „mü.E”ô‹£ËÛ¬®ÊÝ4¤½öÃaÓ+5x‹b%oK0[nŒiuwìtU[8½y0 4ó1Ó©ºÕG® ýnY¥º3Ž¤ò63Éʘ¬*‡7¾îÑùÀ¼+øŽa¢8¯21ï aoe L ¢}&.mš¤ùëéD{ž™ÆÁ"Î+e2ã°ÙVK]ºˆ¯UU'i6„Éá[æU2ËsîÂrwŠ &äÀ<…Y`;BúÄåLpkY'-ð˜"úGãÃÄV´uëi^©yV.Ð"»þ{—üòçJ×Ó¦Öú6Ówýߨûû)FŠbë~ðo”„‰Uà¯G¤;‚±ì/±âÀC‚¯â0ïGsþÊÂÃrÄYÏs{ꃯu8þQ³,Ï ‚²bYW·ºzêýåÉáÉîR]B'Y Y* HVVs}ÜX]ýr­öhíT:d2‡ Úƒ¯ÊJAðÙ}fŒ†·]°RŒG Ûò=)Á[YxÉÝDßWr—åÐüà +šKXVËU»W@Mähnß å)7TYc”ô{u$²ÐNÇãm¤Ì¤oÝï‡oUá»(“1Š¨{rQU‹ÞÉRš6shÆ.Qyö?ÕdUyìÚÁµT¥6®;È{]ªt¼é][£Oo+.Òì©y& w5Ø +O–vcB —9È÷ ·²ðM‹‰E›²Æ*pË/²EÚ@÷£š5†6áéê<«$YÕíÓaGdœ#IÙxö³-ßÓ~¼•u`p¢¸ƒÞèFàgYnj +ü=ÊÒZF’í0¾Ór$OÛ”ÌH„Â#ø?ó*1u2­µšºíÚM@–!ûTåá«S£ìy¾,Ð7‡ícŒÙËLc+qÄ^æ|?$ú+ë€D«)Þô2;øRÖ`VmRaÅ#û;ðZe.øC³%êèMA¿ëÙ?wº­žE9ŠNÛÑLC‚¢u4ÈêÕQ¿*£oü¢** ŠÇlh¦Â^±¡y ß“ ¼•…“Ñq?ôZ™¦*ú8 ÊÕknŸrŒ0/Û4ï¹ÂÞÊ:¬0gˆaÖ?®Û"2ô =h–µZ5ËUMçà/‹öbžªQ3àÆu7“&»Õ®ÖJc„…ÏZ·å{Z«·²ÖÊ(b›Ž]º8{ÒÆyÍ$Â2<éþŒ"‚}÷ý™ÄV“ž$¢È®ühpÈ÷ƒƒ¿²p8H ±éWt€ÃRµŸ™ƒl÷ï»*´Ã ó¬>rÌ`–6x¿~78´Ð‡û Õ5ü;vp8´Ó³Ð_øŒÞÿê-öÌßö¾¸Üm¥Cû}ˆ h8^új ߈ÞÊ:1äH¸ÇÌOx²ÞvoC[°Í·c[›WÀãÊ@)c®¯³Ü­f®þ<‘¢£ôúíüߣÖ—ñKþíÑÿ*eÚ +endstream +endobj +1814 0 obj << +/Type /Page +/Contents 1815 0 R +/Resources 1813 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1844 0 R +>> endobj +1816 0 obj << +/D [1814 0 R /XYZ -16.307 900.716 null] +>> endobj +1817 0 obj << +/D [1814 0 R /XYZ 56.693 759.068 null] +>> endobj +1818 0 obj << +/D [1814 0 R /XYZ 65.161 752.393 null] +>> endobj +1819 0 obj << +/D [1814 0 R /XYZ 56.693 704.886 null] +>> endobj +1820 0 obj << +/D [1814 0 R /XYZ 65.161 705.569 null] +>> endobj +1821 0 obj << +/D [1814 0 R /XYZ 56.693 658.061 null] +>> endobj +1822 0 obj << +/D [1814 0 R /XYZ 65.161 658.745 null] +>> endobj +1823 0 obj << +/D [1814 0 R /XYZ 56.693 611.237 null] +>> endobj +1824 0 obj << +/D [1814 0 R /XYZ 65.161 611.92 null] +>> endobj +1825 0 obj << +/D [1814 0 R /XYZ 56.693 564.412 null] +>> endobj +1826 0 obj << +/D [1814 0 R /XYZ 65.161 565.096 null] +>> endobj +1827 0 obj << +/D [1814 0 R /XYZ 65.161 554.137 null] +>> endobj +1828 0 obj << +/D [1814 0 R /XYZ 56.693 484.711 null] +>> endobj +1829 0 obj << +/D [1814 0 R /XYZ 65.161 485.395 null] +>> endobj +1830 0 obj << +/D [1814 0 R /XYZ 56.693 437.887 null] +>> endobj +1831 0 obj << +/D [1814 0 R /XYZ 65.161 438.57 null] +>> endobj +1832 0 obj << +/D [1814 0 R /XYZ 56.693 380.104 null] +>> endobj +1833 0 obj << +/D [1814 0 R /XYZ 65.161 380.787 null] +>> endobj +1834 0 obj << +/D [1814 0 R /XYZ 65.161 358.869 null] +>> endobj +1835 0 obj << +/D [1814 0 R /XYZ 56.693 311.361 null] +>> endobj +1836 0 obj << +/D [1814 0 R /XYZ 65.161 312.045 null] +>> endobj +1837 0 obj << +/D [1814 0 R /XYZ 56.693 264.537 null] +>> endobj +1838 0 obj << +/D [1814 0 R /XYZ 65.161 265.22 null] +>> endobj +1839 0 obj << +/D [1814 0 R /XYZ 65.161 254.261 null] +>> endobj +1840 0 obj << +/D [1814 0 R /XYZ 65.161 243.303 null] +>> endobj +1841 0 obj << +/D [1814 0 R /XYZ 56.693 195.795 null] +>> endobj +1842 0 obj << +/D [1814 0 R /XYZ 65.161 196.478 null] +>> endobj +1843 0 obj << +/D [1814 0 R /XYZ 65.161 185.519 null] +>> endobj +1813 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1847 0 obj << +/Length 2014 +/Filter /FlateDecode +>> +stream +xÚå[ÛnãF}÷Wy‰ ¬kú~™}X$N&›`7HÆ`&XPbÛ"†"’ÛùúErlÑ–§é…û$Š*V—ºÏ©ª®j’è:"Ñw'__ž¼z#IdÁ*¦¢Ë«H1P:2”×Ñe½›½u™‹+wzÆ$™ýXÔ®j/¯Š²½¨—Ýß‹¯‹âCûå·‹ÿœþ~ùsF)X)[mõ]檥suÕüŒ£ÓÈàèŠ7£ ¥A3I°ºŸ T¨ÍìUûA•m<ùöòäŠêID#©@YiKA-V'ï~'Q‚¿¡ ¬‰n¶’«HRŒ+¼Î¢‹“ŸOH7dgFX„bZÚí”ôÊ…JTk*¶fôÏEïÎ(!döÓ)'³¸ŒWýß{8¹8LW’Ë~⮊,+N™œÝ¤ùu{k±Œóë~ª—ñ)#³§Tκ'æÎåíÕ*Nº{uq¿Û±Ñèû±© uóÇ·c¯÷ÙÈ pùIlQôÚ«4_¸Á‚SÐ +h{]¶0ÝY9cŒå /pI oµ¾gLîÈmmÝÂ@46Êô&|L“Ó3…“{Ž6»òõéeøíÆÍ—.[Cš'îÖ•áŒmâk·«¬ÕŽ°kh>¾Û Âœj)cÀhÙ¦¹/ ÂO¨ˆ56*]tõ!;Úž¾ûx­ÁRÕÐ*¦t¨~ TÑ¡~Iš%1^#3˜pð£RŸàš{,êÿ³} IÜU¼Éj¨‹uºxðû¼É+’´>Òe9òMÂXxÙYõžLO(%Ÿ®h{åçs¤•À˜šÎéHLʘғ9þ0§n¬¿Ó‘Fƒì÷ /s:«â£wz°Í†]íÊÊ×—`²í%Ù%ãùDçI\ú¦Å"®ÓÂÓ¥UþÆÞùIÞ¤Yæ'9wÞKpà m8õCW!H~ï)éü‰y ¤A M;™3_·¡q÷LÌt¬ÞÕÈê`c=Xm$£p,œr«ì@Îù­fé®\éš=è¸(*5Ní1£¨"_EÿoÊ´þ³q?¸8¯Š¼¤Ëz•mÃ$NB‘ k‘a c +„ÓA~W äƒȘ´]Þ_ÖIì¿cLóÃSsÿ=‘doä›Å×ñ ÑÝ:7IÁ*Œƒ°ò¨|!¤¡æKœ¬Š®Ëx½L¸ÛÚå†Ì´–€¢f:ÚmAI;múÃhn¬?m„Aõ¢«•$þ¤9t§÷–p×Õ€¾ä •¦Ç$Ÿ´Ô£`… +´²Ž30\NǺ]ý¬ 6vë¸Êøa‚•?è1D¡Ž +z‚“ËÙA¿Ž«*ýˆ)íí}´©FŸ[´JÙé€ÏBédÀè~¸±þÀçÆÃßqÏ ÂØ1ÏJÌ €_«ÿU‹å!ëzýïué,ŠâCê M`ò²—8 bÂ^稙®ë7Ðȳ`cGðL0ºëú½Io}YvS¾¥¼OîÖ§P8K“¡ð—û…ÇöîxNíQ{wœr`†ÿŸó›pàŒNÇofp5]¯p ?ŒßáÆúó›Y Jtý£ŸJ·ŽK_ŠÿêæÿùÇŸiémV.¯—Ì;×M…Ä]ÌP÷m¹Ã/þ®þÀÅ6vÄâ>¨+ãüXxîÙ‹=KÀñ¼ØÔÓ4tæeœ'9>âiIžŒÐ;lC}¾wu±,6Yrè¦ 2ÿa22Š1M@ˆéJ»ýx6vÞ5Ýo"ýÀnÆ¿ØŸLÜ<ÝÔ„ýOìÃÒÏciˆÕÉL{DŸÆ¶ùzUiA˜éj2ý( 6vÊp‚´î2ºóM‰$®³»á<ÿãy 4gZÊÅð¡Wûôéû<†™÷3gv0§¹§k.òÌӿžïšdàÀg|¼ýO&:Ÿç‡0 Ùt[Êþ@~;‚’‚¡Ý–aëz.kqØcù£´?Vðäö4¯ËMSS|i‰‰q«é ôÂ&ØØ°LÀèûÄyúŽ´:,l0#›g¾=]ÖÍÒå‡Õèû¯K'wc µ9f‘„Q +[4Œ.’¼-殬ÛêÆEßÕ÷Åÿy:ÏÒbÛ-¼ƒE‘enQë6³†<„MW¶ – Æév®ýaÎ ÜXg@­Â駲¤'Ï\–ðåMkØ%¹«<É´. t «—z~j>R“WT 0¦UÞ4Ô3höóP­ãE×Jî*ŒÛÛ8Qk|> endobj +1848 0 obj << +/D [1846 0 R /XYZ -11.232 900.716 null] +>> endobj +58 0 obj << +/D [1846 0 R /XYZ 56.693 759.068 null] +>> endobj +1849 0 obj << +/D [1846 0 R /XYZ 56.693 738.489 null] +>> endobj +1850 0 obj << +/D [1846 0 R /XYZ 56.693 691.479 null] +>> endobj +1851 0 obj << +/D [1846 0 R /XYZ 65.161 692.163 null] +>> endobj +1852 0 obj << +/D [1846 0 R /XYZ 56.693 644.655 null] +>> endobj +1853 0 obj << +/D [1846 0 R /XYZ 65.161 645.338 null] +>> endobj +1854 0 obj << +/D [1846 0 R /XYZ 56.693 597.83 null] +>> endobj +1855 0 obj << +/D [1846 0 R /XYZ 65.161 598.514 null] +>> endobj +1856 0 obj << +/D [1846 0 R /XYZ 56.693 540.047 null] +>> endobj +1857 0 obj << +/D [1846 0 R /XYZ 65.161 540.73 null] +>> endobj +1858 0 obj << +/D [1846 0 R /XYZ 56.693 493.223 null] +>> endobj +1859 0 obj << +/D [1846 0 R /XYZ 65.161 493.906 null] +>> endobj +1860 0 obj << +/D [1846 0 R /XYZ 56.693 446.398 null] +>> endobj +1861 0 obj << +/D [1846 0 R /XYZ 65.161 447.082 null] +>> endobj +1862 0 obj << +/D [1846 0 R /XYZ 56.693 399.574 null] +>> endobj +1863 0 obj << +/D [1846 0 R /XYZ 65.161 400.257 null] +>> endobj +1864 0 obj << +/D [1846 0 R /XYZ 56.693 352.749 null] +>> endobj +1865 0 obj << +/D [1846 0 R /XYZ 65.161 353.433 null] +>> endobj +1866 0 obj << +/D [1846 0 R /XYZ 56.693 305.925 null] +>> endobj +1867 0 obj << +/D [1846 0 R /XYZ 65.161 306.608 null] +>> endobj +1868 0 obj << +/D [1846 0 R /XYZ 65.161 295.649 null] +>> endobj +1869 0 obj << +/D [1846 0 R /XYZ 65.161 284.691 null] +>> endobj +1870 0 obj << +/D [1846 0 R /XYZ 65.161 273.732 null] +>> endobj +1871 0 obj << +/D [1846 0 R /XYZ 65.161 262.773 null] +>> endobj +1872 0 obj << +/D [1846 0 R /XYZ 65.161 251.814 null] +>> endobj +1873 0 obj << +/D [1846 0 R /XYZ 56.693 204.306 null] +>> endobj +1874 0 obj << +/D [1846 0 R /XYZ 65.161 204.989 null] +>> endobj +1875 0 obj << +/D [1846 0 R /XYZ 56.693 157.482 null] +>> endobj +1876 0 obj << +/D [1846 0 R /XYZ 65.161 158.165 null] +>> endobj +1877 0 obj << +/D [1846 0 R /XYZ 56.693 110.657 null] +>> endobj +1878 0 obj << +/D [1846 0 R /XYZ 65.161 111.341 null] +>> endobj +1845 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1881 0 obj << +/Length 1784 +/Filter /FlateDecode +>> +stream +xÚÍ[KsÛ6¾ûWðèÌÔ¼ ¤§&­3ÓG:M|èL’-BjŠdIʶþ}—¢”XrÜ€‚ äà-‹%°ß·@$™%$y}öòêìù¥$‰£˜J®¦‰b ÒDS>|Peúg¿\ý{FQì]øu-³…=kr0aNŠ5FoY:&Ö6':›F ¢–)‹ˆ@B@P»ò¬ì)¡#½x»¬ëª9vòÙöùòtåíÈÿÉn³ÁÔ|KPSÛØrb==kán|ã÷¶ Ra‡pŒº;é©OÈC•~uÍM6ðÂoUko>…ùU¾‚EÖÌ\ äÙæ4vÖ'ÓÃ×ö¾³e÷ µu¹…M—º±›÷‹ù ÃõpîŽ/üY'¡ H|ÜhõŠŠPòé‰Ož p5„ŽÇU\rÚDãª=ùa\®¬?Wq´G½½8Ñ‚oh~g‹bDU­ÏñóÒîCúë†ÁŒ:).Y +JùÒÆÓóÅío¹D¼•Á‰BƒwÚ³'?ÁÊŽÀÊ%’ôå“j±@’=zRîJdðÒ·üíÊÜݺ|éÛ±·G@l6ñ, ô(9؃÷!WzR¦`š€VìÈźƒ½ø¦Õ•%¶î”Í£{o–âJ˜ˆ×Q˜ÄÕwelW|7«êOMLq`lsüòªZÔ…íì7Í5öü?!û,¤4Ï‚Fžô +ãO¿´?9@~gd|È3\Ž4â£(wmO~ 胕zª@þ}‚\a¼üÓ³š¿ìê½k ÙàFRvÒ›/T§€6u\²™Ì—åÍaê +Û\ûLdêîGd!4Eµ"bž"œ˜‰wfO~æÕõÇXÕ&Oèm-Â;Y[xÿ`é3 zækžIèmV,?¤5dŒï£ß D™C~üg—2p +endstream +endobj +1880 0 obj << +/Type /Page +/Contents 1881 0 R +/Resources 1879 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1844 0 R +>> endobj +1882 0 obj << +/D [1880 0 R /XYZ -16.307 900.716 null] +>> endobj +1883 0 obj << +/D [1880 0 R /XYZ 56.693 741.747 null] +>> endobj +1884 0 obj << +/D [1880 0 R /XYZ 65.161 742.431 null] +>> endobj +1885 0 obj << +/D [1880 0 R /XYZ 56.693 694.923 null] +>> endobj +1886 0 obj << +/D [1880 0 R /XYZ 65.161 695.606 null] +>> endobj +1887 0 obj << +/D [1880 0 R /XYZ 56.693 648.099 null] +>> endobj +1888 0 obj << +/D [1880 0 R /XYZ 65.161 648.782 null] +>> endobj +1889 0 obj << +/D [1880 0 R /XYZ 56.693 601.274 null] +>> endobj +1890 0 obj << +/D [1880 0 R /XYZ 65.161 601.958 null] +>> endobj +1891 0 obj << +/D [1880 0 R /XYZ 56.693 554.45 null] +>> endobj +1892 0 obj << +/D [1880 0 R /XYZ 65.161 555.133 null] +>> endobj +1893 0 obj << +/D [1880 0 R /XYZ 56.693 507.625 null] +>> endobj +1894 0 obj << +/D [1880 0 R /XYZ 65.161 508.309 null] +>> endobj +1895 0 obj << +/D [1880 0 R /XYZ 56.693 460.801 null] +>> endobj +1896 0 obj << +/D [1880 0 R /XYZ 65.161 461.484 null] +>> endobj +1897 0 obj << +/D [1880 0 R /XYZ 56.693 413.977 null] +>> endobj +1898 0 obj << +/D [1880 0 R /XYZ 65.161 414.66 null] +>> endobj +1899 0 obj << +/D [1880 0 R /XYZ 56.693 367.152 null] +>> endobj +1900 0 obj << +/D [1880 0 R /XYZ 65.161 367.836 null] +>> endobj +1901 0 obj << +/D [1880 0 R /XYZ 56.693 320.328 null] +>> endobj +1902 0 obj << +/D [1880 0 R /XYZ 65.161 321.011 null] +>> endobj +1903 0 obj << +/D [1880 0 R /XYZ 56.693 273.503 null] +>> endobj +1904 0 obj << +/D [1880 0 R /XYZ 65.161 274.187 null] +>> endobj +1905 0 obj << +/D [1880 0 R /XYZ 56.693 226.679 null] +>> endobj +1906 0 obj << +/D [1880 0 R /XYZ 65.161 227.362 null] +>> endobj +1907 0 obj << +/D [1880 0 R /XYZ 56.693 179.855 null] +>> endobj +1908 0 obj << +/D [1880 0 R /XYZ 65.161 180.538 null] +>> endobj +1909 0 obj << +/D [1880 0 R /XYZ 65.161 169.579 null] +>> endobj +1910 0 obj << +/D [1880 0 R /XYZ 56.693 122.071 null] +>> endobj +1911 0 obj << +/D [1880 0 R /XYZ 65.161 122.755 null] +>> endobj +1912 0 obj << +/D [1880 0 R /XYZ 65.161 111.796 null] +>> endobj +1879 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1915 0 obj << +/Length 1981 +/Filter /FlateDecode +>> +stream +xÚÕ[[sÛÆ~ç¯ÀL"=h½÷K:}HšÚ­›zK™Iç"—F¸0(™þõ= €–‰ê‚Kp&ãñ{Î÷Ë.p´ŠpônöýÍìÍ[#ƒŒ¤2ºYF’"©"Mb*ºYD¿^|´™k{yE¾øP6¶î—eÕ4Iñ‡rþ}YÞuürýãåo7ïá1W„ #D'íºÙf¶N¬mjwžN" O—Ì=K…ÕÑ•@Fõϧ*}ñ¦û!Ò¸g»™ý># G$IÃ"e’˜Fó|öëo8ZÀ5Pq££‡vd ‚eŽ³èzöÓ ÷3ÎÈN67ˆ`Ùéô‰RÑj±»íÍ[Ò¾w÷hÄ¥† íàâ{˜ ‰ñſㇺ,¾½¼"þÊÒ›üÖVi±BöÞVÛM‚>çY'&ÍIw?ïö_ŒD•0bܽ­;-0Ì—EF›¨²Ñòéëí {ùìsùÔ ¦Éî`âF‡ÊˆH2”/0A +¦Íç OM/‘¡&\ÙÖò{VÜ©ÉÒtÆ$„`BzÛ»Õ*ê>¾›Áõ¬÷N}K¨¯A©DÌЋø=ìÖX >['Ûub‹¸±Î“ÿÜØ€¯ß¡Ç+ó$®êW®ûc@ÕÂr2H-áj2 ä‡ XÙƒ Ú Î„/Ô3åkQÍ}Ïé¢ÓG€àc ôÝtN|ÝÄÛæM\ß¡uU®a@jë1>-`’MèÓd>OïËôé`eŸ¹èa/çQL:Û~—eåÞ'¼äì­é­=G–~ãn­ß¸ù¦nÊ<ýb~ãó²ò” I_šm‡8F¾>ÌeTœÅ( +‹Ó¢xƒlš,­›˜ûÐÕ8éàÇ0SÓ!]ƒà=§ú¾ø0œ«:æÄËžï¯7ëu Ö÷„eÓØj4ã&- ¿[Ê¥§èÎéü;߭ű0\äœ8 +’EN‹ãã3L5©£•é0 +ï͹œ¤ûòQ¬¬?L…0HAÛ·!òòÞ3t-À‹Ƿ>aÁ(üN_Û‘•]ÚÊs{Ú°^wdã­[¯õ¤(©â9ÓñPçq=a°Ø—è‡ÁÊŽðC®‘R}bñÝbáËÑ÷6ö¤èø֛͛$­=…®×Ù6-Vž¡§${Á¾nóu³=¹ŸÛÌæ¶hPNpsÖòRP‚Œ2'ì±4i“Y´,‹-ãÒô1ñŒ0DÉ„Õ%P,¢bºêr ?G‚•Á#X p¿Î´?¯ŸG©ƒNïzí~åÝ&kÒuf}ÅôÿÝ°ƒ¨ªø>„"eô9áà äê˜å÷iuwøùgYÛ»AWmŠt^.,ª›¸jÐ×nš˜fm:š˜¢H6šòÃЮ¬?š˜Hsòµ*ôÅR=¦ßè ¼8¿)â&õí‘ÌÓjžùêÜmS UY’ü¬På@qœÕÅ›*m¾t`}oãâI´sÍ ¢©¶¨«»^\ø=.ñkj;wà~H·ù^öQ®»éêú„1çüõˆtGžÄÀqKZÓƒÛpAÌtÄ°/?‚•A n¿îw/½M?û‚ìv³z©gù'F„š_~í`^xoªrsë}Ò&ñÓž#ÛlГmÖAbØÊqÝYßvs[fØY)Æí˜92—NÿZŹ­vôb?ÇùúmxN5ªe¼ÉpN5Ô+zºå‰ü0œ‡+ës +|ÍÛ……ïºzgíýË—PýèžÝÔÚS•;k×C=®^a—re›d°ü çÿòÍá{âÍ ] ç¾y}é%Kï|W]âÛ#&Ò{}Ýñ}™zrë¿¿§Ibß] …§Èu¼²#k +ag-ç)d’è×`Ôu’Îëô‹Eösc‹Ú%û#â8§H‹ yÊÒfºB~ ?ûÁÊŽˆã ~õøB>-–åÉ—wGnHóg{¥•Çǯ›R +‡§+æ©3¯æ)R‰á¼ý¦cDÄ°>"^ìïé*ÉàÿŽO¨ÇÑe`è~ýõf÷µÊ²Ì²ò’ +¨ƒà¾öÔ(qµû¾%‰/)¾¸¿$⢿ãÖÚ¢;Ê]¶×}üR>~ÓiöäÙDs¤”ÜñGòº¦Š#JÉn°k v²ëÔíCÙÿÖÆ ‘î¸ê¾ÐAû³—ÀbFÁ…Ú—ž²}Y'qµ¾J²üF8˜—LØö'Pâ+1]n3ÆoáÊúóaì±'6‚ß~üLJŸ|ëˆíCY-Æö‰[ ’gýKDù)[ù ›A܇(Ù¹ž0ÔC,èt‘~_|‚UõÇ”ëš<†ùÔµžâ,ÄÆڪÌýFþJ¿‘ÿMÒ,-F"Ì-±)bö³O/ݱ4Ç|yù?-xžq +endstream +endobj +1914 0 obj << +/Type /Page +/Contents 1915 0 R +/Resources 1913 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1844 0 R +>> endobj +1916 0 obj << +/D [1914 0 R /XYZ -11.232 900.716 null] +>> endobj +1917 0 obj << +/D [1914 0 R /XYZ 56.693 742.944 null] +>> endobj +1918 0 obj << +/D [1914 0 R /XYZ 65.161 743.628 null] +>> endobj +1919 0 obj << +/D [1914 0 R /XYZ 56.693 699.711 null] +>> endobj +1920 0 obj << +/D [1914 0 R /XYZ 65.161 700.394 null] +>> endobj +1921 0 obj << +/D [1914 0 R /XYZ 56.693 656.477 null] +>> endobj +1922 0 obj << +/D [1914 0 R /XYZ 65.161 657.16 null] +>> endobj +1923 0 obj << +/D [1914 0 R /XYZ 56.693 613.243 null] +>> endobj +1924 0 obj << +/D [1914 0 R /XYZ 65.161 613.927 null] +>> endobj +1925 0 obj << +/D [1914 0 R /XYZ 56.693 570.01 null] +>> endobj +1926 0 obj << +/D [1914 0 R /XYZ 65.161 570.693 null] +>> endobj +1927 0 obj << +/D [1914 0 R /XYZ 65.161 559.734 null] +>> endobj +1928 0 obj << +/D [1914 0 R /XYZ 56.693 515.817 null] +>> endobj +1929 0 obj << +/D [1914 0 R /XYZ 65.161 516.5 null] +>> endobj +1930 0 obj << +/D [1914 0 R /XYZ 56.693 472.583 null] +>> endobj +1931 0 obj << +/D [1914 0 R /XYZ 65.161 473.267 null] +>> endobj +1932 0 obj << +/D [1914 0 R /XYZ 56.693 429.35 null] +>> endobj +1933 0 obj << +/D [1914 0 R /XYZ 65.161 430.033 null] +>> endobj +1934 0 obj << +/D [1914 0 R /XYZ 56.693 387.358 null] +>> endobj +1935 0 obj << +/D [1914 0 R /XYZ 65.161 386.799 null] +>> endobj +1936 0 obj << +/D [1914 0 R /XYZ 56.693 342.882 null] +>> endobj +1937 0 obj << +/D [1914 0 R /XYZ 65.161 343.566 null] +>> endobj +1938 0 obj << +/D [1914 0 R /XYZ 56.693 299.649 null] +>> endobj +1939 0 obj << +/D [1914 0 R /XYZ 65.161 300.332 null] +>> endobj +1940 0 obj << +/D [1914 0 R /XYZ 56.693 245.456 null] +>> endobj +1941 0 obj << +/D [1914 0 R /XYZ 65.161 246.14 null] +>> endobj +62 0 obj << +/D [1914 0 R /XYZ 56.693 210.701 null] +>> endobj +1942 0 obj << +/D [1914 0 R /XYZ 56.693 184.345 null] +>> endobj +1943 0 obj << +/D [1914 0 R /XYZ 56.693 143.32 null] +>> endobj +1944 0 obj << +/D [1914 0 R /XYZ 65.161 144.003 null] +>> endobj +1945 0 obj << +/D [1914 0 R /XYZ 56.693 100.086 null] +>> endobj +1946 0 obj << +/D [1914 0 R /XYZ 65.161 100.769 null] +>> endobj +1913 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1949 0 obj << +/Length 1813 +/Filter /FlateDecode +>> +stream +xÚÍ[[oÛ6~ϯúd3CR¼Û€u]WtÝÖ5V íƒbÓ¶[ô$9NþýHKNlÅIŽB+í“e™<<"Ï÷›Œ£i„£ßO^ON_si¤Ñp Š„Œ‰Q,£á8úÔû`æ&)L@9îýeKST—›Wå¬þñ•½´ö¢úòñì]ÿËð­[f@ÒœWÒÎÊë¹)fÆ”…ÿÙ­N"åV±_ ‰$UÑ€#-ëõ©t¥êVDh?ñä·áÉ'ĉlj¸@BÇ‘Ô L£ÑâäÓÝoNÄ´ŠÖ›‘‹ˆŒh,Üõ<:;ùç×;÷v„Fn˜äz³%[áL#‚E¥ADlÔØ΋> Ƹ÷>ïSܳŸ1¦ó4›Öϸ»ÃnC(C±¨% ·»7±ó¹íSÞ[ûy›[£Y’M·û=K¼äË>á½zƹ1YuµHÆõ½ÒÞÊfm§ùíÚD1$¥úÍÚËÜNÒ{ÔtOM•ÞŽÙíEšLãà ’‘ê:¯ÌíïŽ{d‚°àîÂ-Ž+©Ÿ)å{ã6ênÌybBmUx•\¦ãþ@¸Mþ5O&ÿ¡? Ô}«žÂ NGtUÌ+‰Îä¼Pÿñû¾±8'’FB)¤$÷ÆâïsìL‰ˆ"í;7Ñd×:ö¤¾{w)‘&b»@%˜øÑ¡ò¹³>Ҕϱ?Za9iª ìF`>ª‹5”öÎs«¸"ˆbVë¿3gÄ»6pWÖ¸=çìzK‹„³ÜX;®A\èJòwõÈ;â*lG;C—‰³¨¦†Íæ×°‘#›iQÅN`ãŠe22Àõgî±F¥É‹æž}ßÖTKð™¤ÓÌæ@uœÔÅÁÀU2g¦2¬÷|ÞOø"VË[— ÿ]zþm“üü ‚Ô¹EÞ±ƒ¶ÖôþÁž›¼¬øý¬L®K›m Þ=ºZ›s ­pGeŠuHìž3•êŽØòÈ=\Y8±s‰ÝÕÄþËxlÆ@fX[ØÀUé•H¿¥Y,ç‰WaÃ:,’ áÕÈ;Àwfôn"—ÇÄ®m~±?òqHp¾KŸÇ·Ø}ù¬l ‹åQRç&ë´œÙÐ_çfbr“A}1Ôº¬cÝhˆv¼šC­»âu˜Oî@ +\zU4yàq{eÎÝ;êÌ^÷åÚk°²-ì•)DyU”³xTëÈ™m¢ñ:wÜ¥¸Ó)Ž>ÅȱEØÈ]Ö©¥î,ll$Ì>jäDoݯa_ªˆ»‹€˜Vˆ0Ö>òÃð®l |:MYLª}^Cž.Zbd ›µ˜°ÊÓ£—I9;rÌ4IóìW ;¿ºª$»n&eþ6B§'¸iÖÒ!1%Q¼;ƒß—hðÁÊ ži—Hº ªðÜîšX Rg.¿%Z6wÍ(MæG.êA•´ùZ{†&þn//›QÍýòåu“È™ñ3c.Ìa7mËϘá:×Q;ƒä&#­Ç  œ! ⬻IC~ ¤ƒ•@ZùÄͱ¦dHÅuêk®F¦(Ò˶¨† ›Ñ<É“2µÙ“«T(ĹzN§GG‚±¯íô\¢-íÐéQ†$í. nÈDH°²-œU×5ß÷¹)LÞ> Á«#Ò4Ì‘>nmÔNÌžfD+¤èWFño rÙʈ{Ew×úlÈCY¸²p”åë®ÛÚéöè€Y—ñÕ´X·³Ùu'8OÖI~ä÷ +Z•Æ>¾þùÞ1ÚÌy_½%Ü·üÎ ¸ÅÝ|g±9r‚4é"r$ ±î±ûò¬,> endobj +1950 0 obj << +/D [1948 0 R /XYZ -16.307 900.716 null] +>> endobj +66 0 obj << +/D [1948 0 R /XYZ 56.693 759.068 null] +>> endobj +1951 0 obj << +/D [1948 0 R /XYZ 56.693 738.489 null] +>> endobj +1952 0 obj << +/D [1948 0 R /XYZ 56.693 691.479 null] +>> endobj +1953 0 obj << +/D [1948 0 R /XYZ 65.161 692.163 null] +>> endobj +70 0 obj << +/D [1948 0 R /XYZ 56.693 655.012 null] +>> endobj +1954 0 obj << +/D [1948 0 R /XYZ 56.693 627.459 null] +>> endobj +1955 0 obj << +/D [1948 0 R /XYZ 56.693 580.449 null] +>> endobj +1956 0 obj << +/D [1948 0 R /XYZ 65.161 581.133 null] +>> endobj +1957 0 obj << +/D [1948 0 R /XYZ 65.161 570.174 null] +>> endobj +1958 0 obj << +/D [1948 0 R /XYZ 65.161 559.215 null] +>> endobj +1959 0 obj << +/D [1948 0 R /XYZ 56.693 511.707 null] +>> endobj +1960 0 obj << +/D [1948 0 R /XYZ 65.161 512.39 null] +>> endobj +1961 0 obj << +/D [1948 0 R /XYZ 65.161 501.431 null] +>> endobj +74 0 obj << +/D [1948 0 R /XYZ 56.693 464.281 null] +>> endobj +1962 0 obj << +/D [1948 0 R /XYZ 56.693 436.728 null] +>> endobj +1963 0 obj << +/D [1948 0 R /XYZ 56.693 389.718 null] +>> endobj +1964 0 obj << +/D [1948 0 R /XYZ 65.161 390.401 null] +>> endobj +1965 0 obj << +/D [1948 0 R /XYZ 56.693 342.894 null] +>> endobj +1966 0 obj << +/D [1948 0 R /XYZ 65.161 343.577 null] +>> endobj +1967 0 obj << +/D [1948 0 R /XYZ 56.693 296.069 null] +>> endobj +1968 0 obj << +/D [1948 0 R /XYZ 65.161 296.753 null] +>> endobj +1969 0 obj << +/D [1948 0 R /XYZ 56.693 238.286 null] +>> endobj +1970 0 obj << +/D [1948 0 R /XYZ 65.161 238.969 null] +>> endobj +1971 0 obj << +/D [1948 0 R /XYZ 56.693 191.461 null] +>> endobj +1972 0 obj << +/D [1948 0 R /XYZ 65.161 192.145 null] +>> endobj +1947 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1975 0 obj << +/Length 2447 +/Filter /FlateDecode +>> +stream +xÚÅZYsÛ8~÷¯à£TÁ@ðØ}šd’ìL%™Ý±wvª2ó‘°Å1-AÆr~ý6.Š¤d™¾jŸ¾Ðýu¶ï]{¾÷ñìíåÙùæ{ JBz—W^HPy1¦ˆFÞeæ}]ü* +Á¥X®ó_êVH3¼ª3h7vñÇ:}[×7æÇ^þ bV£„1Ãí¢½+„ÜÑJµ Ò±ƒô*éA¡ˆÄÞŠ¡$²òI £xqn>8LÔƳ÷—gÿ=ÃÀÞ÷°ÇB&Ô‹ŒBŸxiyöõOßË` @A{·š²ôö¡!Œ ïâì_g¾õ„?òñ€,b‰v‰c$û¡Q +#lÔpû¼¯+ìûþâý®•ÌëÊ™7t.ø‚ˆ†–É¥sÜU]õ’°Åm^]›©tëkçê _ñm‰ÙÂîX Q™QÉ3;×ÖûóвAé½l(Š”áZ¶8¥' {Ò´vd^¥brèE!ÂfܘPAcÏ€Íò8VŸ®ÂFtZ_ +Ò!FA;n¸ìªõõß–+LÀÉŸù¸Ê aöCp)êóq`ŽˆÆ1Š#¦ÂBÍ3‚,=‚’8ñá] ã`Äíøì¡€(B Ã+êçòg‡xÊŸùÊéñ, à QB’PV3l®=3øÕ&Íèôœâ1FÄÌ!ÞŠõFÛiÚ„p +;9el—È2•Ã÷ÒŠŠ¯]dôBè^ ÙŠ²œ²‡ù7§ujëôBöÑúþë./²y¤Û¦ÞŠ¦Í…Ó?œQ¡='!îù‹ž!#ÈÇOÉýù·<[jƒß5¼ÍSQ ^(F~B^ÆüŸ ÏVö @¡æE‰9ÍZH·m;/À¡¢Í¢Këê›.M³¨Çqó >S[‹oy•‰hæíÉå<º,oÚ»Çf9‰¡a¡¯–åÇš$–Î6IÄ?Ú$Ao¸ºà»º:Ñ#±ÿ´“Åj¹R}Ï=º‚ÑQ½`Ÿ„ƒFøé}ÒgÞ5yûÝ åÏ‚W²®\Ê&=Oëò¼ºå…Üœk›ÎÍš·y‰þâßøß;£„ê¦äídžo7yúŽÖ{l I' ~àtùÃ÷Á\Œý~„Íh\3…PäõàšùáëÁõ„ÿóàúùÊ·kFàî8¸Î21³¹ÊwB¾,®Ã ¥k^§¯E%Þεë÷\~þ4´äÍM·é®zf‰H9_×Ê—-(y5×­â1Íè<Ú +Ú8¹åé}múÃà€áF½ji^³Ai "•ö.CŽÖµýSI›§_ +üAá{ªd ˜4¨vø°ÚùÉ¢ÈekeWB¤åßuéîÆIÉÿÒ2xX±Í M1©’¸¯’¸¯’@åêWÏê¬÷õkE’hñ“U+—fu¯;¤˜‘qgi«Ÿ4]&Zžöæ5}'Ú딺j+ U–/I¸€ A%HÏAI!…#¼jêÒnqz_üöÅ̤‘Þä•uf}-ß(‚h!²¼uŠjAÚÀ²V>ê¥\WwRÜ,Jˆm*#?ó*3³kååÎ’( wš‘´»b¨% ¾¼ÿÏÚ•Å1W 'nܶ@u¹-DkW»ª7~Ù€Q}e¾ÆûÎiÒ€øtæ ¢ü£¨@ سk' ‹¡m“†Âî˜$ÃqC×6·Z©ÃJe"öÏ·F_a~¸¸…ž|c¤+Vò,΃LÀXý"¦§þ)²þ©^MB]ÓÀDTjCÂêH ý1*é}ÎOzþ6/ +k¾0Ë€™[k7GŒ]a ŸMB”K)ÊuqwÄì€!æ3g¶Ø †Z¥Ð ˆ´d5Ñ6pÙo—:ÙaAƒ,Ⱥ´$5àBc79˜Ù¤à6]F`±7L-gp‹Ò 6©P¯ß˜ ƒí­ù‘Û)¯Ì\™ê±fWúæd@HèöVÖ°±L0n žWÒÀõ'шF£¿<‰tHk-xÃÑV#QÿÌhJOÛ6¹õ‚XIñ´¬!@Á‘!! +0vn•¾sNÄaÜ_:uAÄ5@Jäv[K`º®Š;3m¢…jyfÍ„*ÙÔ¡3ã–wÝ4[d›/ñ¢(̯NÚ†fjVù»¿¨W*( +¤ÍSðÊcDaß(*z†#»qŒBzÊìa‰+Gt]ÔéÍ÷¦Òëª\…­}Íýlø«Í}ø«PúB‘ +eQ»oVTä÷ï5® ±Nˆ? ßX0†ïO½M›·…‹P—=‚&<ôͨ˜:>)¥{(W?L}‚‘­Fº„Â÷rƒ°uq T[IYp„êC~ ·Y·.ZÈëcñž±UWÚ_•ÕÂâ–ªv¯®Àc«B×Ófq±ŠíO¦;næ3(CÓJªÞe }v”2§p窴PØ+ãäÉ,†âÕ¿€ñ®­Û:E;Yû«"Cë3U»!ìÒ²ÂXžœ`øI_6Õñoùµ¸G8Ü¿"?ž·.fc-À‡M.ö¢õäñÆ”ê`!^½ÚDÁüœ›¥k÷§xæ#œ$ƒG´¾÷o;›dÃ^1íd[—ùw®.V§ÓûpyÆÑ(ÞÙí}ŽÂ}ìf’E‡%dv cŠB·—‰#ÐÎXo±ÌÕí”"§‘¸SïJ7 *Ò&Ù¬àòÎ&ÏÐUãÔ"•:u7o½¡†ƒ»„Þ¡nšú”áâ‡B<Áì=®R¨Ÿ¦üP¸lvR¸);Іšá(üKt&ãjO.Íö¾Ï,çýæ‘ X· +ñÁ)xaºè¨×#V¥!dh߉îqu¬ÅhOóæ†bÒŸŠVðA&&û«ìXáTÿ‰Ò÷½õ=ü¨zí…Ú~Xª~¤ h±ŽMüp³Ç÷VÝqþû•@é™<åTþ/Œ¨ +endstream +endobj +1974 0 obj << +/Type /Page +/Contents 1975 0 R +/Resources 1973 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1844 0 R +>> endobj +1976 0 obj << +/D [1974 0 R /XYZ -11.232 900.716 null] +>> endobj +78 0 obj << +/D [1974 0 R /XYZ 56.693 759.068 null] +>> endobj +1977 0 obj << +/D [1974 0 R /XYZ 56.693 738.489 null] +>> endobj +1978 0 obj << +/D [1974 0 R /XYZ 56.693 691.479 null] +>> endobj +1979 0 obj << +/D [1974 0 R /XYZ 65.161 692.163 null] +>> endobj +1980 0 obj << +/D [1974 0 R /XYZ 56.693 645.897 null] +>> endobj +1981 0 obj << +/D [1974 0 R /XYZ 65.161 645.338 null] +>> endobj +82 0 obj << +/D [1974 0 R /XYZ 56.693 608.188 null] +>> endobj +1982 0 obj << +/D [1974 0 R /XYZ 56.693 580.634 null] +>> endobj +1983 0 obj << +/D [1974 0 R /XYZ 56.693 533.625 null] +>> endobj +1984 0 obj << +/D [1974 0 R /XYZ 65.161 534.308 null] +>> endobj +86 0 obj << +/D [1974 0 R /XYZ 56.693 496.086 null] +>> endobj +1985 0 obj << +/D [1974 0 R /XYZ 56.693 459.921 null] +>> endobj +1973 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1988 0 obj << +/Length 2878 +/Filter /FlateDecode +>> +stream +xÚ­ZYÛF~Ÿ_!äI¬¯æì.àxw³1lc73@°ó@‘­Q'©å‘ñì¯ßª®j^¢<Ö$v7Ūêê¯Îgõ°rV?Ü|wóí?¥³JDzáên¿ +=F«Øõ…­îòÕÇõOªPi£6[O:ëU«î«ší_þ½Ê¾¯ªßhrûnóËÝ[`³u]‘HIÔnÛ§B5¥Ú_ww÷ÐGîA‰È‹W[)’ˆù{ Œâõ·ôpÃ?¼ùÇÝÍo\ ï¬Ü• E˜ø«(qEèx«ìxóñg•Ã;@I¼z4¿<®¤ëÏa\¬noþsã°&œ‰F¢±F¤pCw‰pdºÛ$Þ:ݼñ,=µº*\–ÐL¯èÀ§º¸CÅùî𽙨bã®ÕQ•-Í5¯§üü×Ýûw0r’uK˜5ô,«'×49¤e^¨œ~\èß6H‰Ñ£ÕmO¡¤ßñ›7¯ßÝòoË+á®Ñå3áÍ‚Þ͸M?ö…ãú ³CÀÈ1-DµûUe­n[ƒ‰­ý©ƒ•Z0Á‰Þˆ ‚éµêx*ÒÖˆ¯u{ QZ4ÐmCƒ½JÛ®V +îKØ]Vt9 oHfT,6[ékRÛù†<$¥`tÒ3AGÄ^´,¨.(±ð“Ä~p¬rõ×oí±¸C}³À!N„ô’ä•â­–U{€½"ÕžAL‘¶SYÚöFhÃIœìžätë_>Òåcs8É\±ã¬_MEÓs·0v.ÛÞ/ §K¼~¨ÓÓAgìgÓ¶­õn"v-Ó5‡†\ép~R{ôiÖVµñ . ‹ƒ~XPt9îõ|ª«L5ÐÇôaéØ#0–ekF= ÉãäÍîww©±_·ÿ„ÝYÓevXÍ +bWÄQotF*ñ¨sp ç²AdóÂxc"|¬v´E7½Ðä°’À¨q¢Nð:ÖÝâ©@”ÔY×´ÕQÿ/eKƒ¥jÏ€™mÛ ª®Nªnµj®GË­Îõ¼zŽÍµÈx£ päÈ aBfˆ«ÄF'Ö) +a+7,\þ|­>ônY‹€ðr&ÅÂqúX”¡h*{Mò`†²×ŸƒX8n5dÇÀ“Š'àHŬ¤ô˜ì…«y‡æ×FÁ°ªRã=a”MÔ?±Ðƒݵu,×ÊtÞ˜½­Ã (ÃnѬº¦öðð„Å` "¤Y«Í±' Ó‰œ¼=¬Q³À¬ÒÂHê„¥ÆçbãÒƒq{Ý ÈõR†„Âq݉ábõ&eßE4Ì—Ù@…æÚs\¼¹{H°é‰½Nä¨qÂþSCoì +À(XS)ﺆxÆ9„©@BšÜ*f«óOŽtàÏ]jŒ{B:=J÷]™a‡ôuú2$^Ó'î{ÅÐ[åe;ñ ñd÷øãj•béëÎtR}ß_߶¶”‰úôsóaÒʦĀä`Cd†k»ÇÔ^)R:?”Ki~›UVOyæÊûº:Î:Hiº/Wûð?±æDÍq͉Ã>Ÿôý€ï`u\sâ<¥ל8jN_/LsØ|rVs" s# ¯ûš'¦æÜÊÐaïP Ÿþ"_š˜´aá>Þ8Ä(À[$ߪâZÚ4Œ)ئ=,FaÅ~ ¹EÙ , sæð¢©L +•±9³xÐ vÌí¼®åàuÞÕ”ÑÁ ¾n2—›[/vÆKrÀ ¸E éZ–v‹ ~>ªÞ17“* +2S[å%þ‘Òþç «vUœ®¬ðÞ„Ò~9.`Íæ×by, mo¸Nàârr+8¶Zp(ýµæ¤žš\p]o¥¯‡3¯²™Òs›{_Ù²»­S™'ÄG¹íõŸÌÌ¡µêóÕ^æ= "Òô#à産ؗº4g¼M†7o‡=ŽÅ%·ÿG@}ßwŸzàJ¨+Ãy1+£yÇ(ℽà´Ú7ƒ¢qBs·-Z§ü¼§NÐUµN‹uàÙL°¦7vd;!Yxt~)­‹ô‰ ­í?}E¶ÑÙu!ÞýRƒlÜ$˜¥|Kÿ°8 “—ü¿Òÿâz×X +endstream +endobj +1987 0 obj << +/Type /Page +/Contents 1988 0 R +/Resources 1986 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +1989 0 obj << +/D [1987 0 R /XYZ -16.307 900.716 null] +>> endobj +1986 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +1993 0 obj << +/Length 1981 +/Filter /FlateDecode +>> +stream +xÚÍ›[sÛ¶€ßý+8í‹{yqöì;½>õ½‹µçSäKO†˜ô.VÞûÅ[]˜ó%xñSVšÂž®³Üž”Ûöâ·Yø2Ë®ìßßý÷ü‹7ð˜%!(ÂJ{WÞƦØSõex:ñ<ÝgõÓ¹/‘¤Ê[ +Èöù ƒ@©ÏìøA}ãÙ«‹³¿ÏˆÇñ„ü€y2 ÈÇÔ “³÷`o×@Äå]7=OŒ(óá<öÞýr†[Kàƒédóì[>P*-ºÛ¼÷KñâÕÏ¿¾dÍ°â>ŒƒÀ@¸½ç'sNÅâÚZ§¸gkÄÌ7&5¹.[‹ZyÍiV•»ªDçKFðâbkº)M²‹õݬè¼m×öVE™%Ñ']FYj›b}kÚ©ëšÊl×6¬sz³-“X •¶¿?`L¡õ-±ì†&¤ØëEQ˜ä2¾}Äd£À4ŽÂëI¡ÜT€¨¦ŸnÅ ›"n½ªçÓ0ƒ’u{£ ÔZž°EÆàxññœˆ…ÉÛ‹Ú>{6üˆØ;ºÇÚæ(µ’Ú›<èœ,tºÒùÊ6ô¥ØÃ* «Ä¤õÄÒ@-^ÄEÖ‰ ãjÕLk#rß,Pˆ*Ò«Ì–—\ äÓ ÏÝ. +—‰¾2ù2ÜVéÕKÌñ ©h^¡›3µuj›ö­Ú>î¶í²mMø¨;çeÆÆöêÌa/µ&­;¥öú=“CëuTn{O ³8£›°ñöÆÝzÖèÜ<ÉVU¬óž;eYûGé¦å¨?λö"KZR LÖšx²¢ð_p  `v$EÐÌ@GcHÕ1±Ö–‚à à!èy 3µB7ås —rÄüvÈÑk°QÖpõyp[nº²Õç´¨m¹4¦‰^™Áø@lçš÷üHq$¥ßùѦVôA%9hÈîÐ ³N|æ7ƒPDôôà<·IizÀ HƒëS"˜>Ž¬Åï\Þ¬uºÒOÏÏ—„‚•ã,Ô±y¶2è&‰­p¤ZT}xÝOD>‰¤ž¢0¡ˆêv!­qߣ(P—o}?óô¤=ܺÿ_ád÷+˜Ô½§Ê‡èæ“¡|kã+§'ÜÏÊ>¤€à ”mæÏž¼mÓto;Å%”´óù\§EW½ùßDù Py¢S·¾¿™ËïM¼së\”9ÀVô;?îE0&ÆÕ/:pÌl‡Ì@óó¶á<¿îVuAìZš¥Cé˃ÒÆ‘õ{ùk6Ö‰B`«S²Uòɨ¿Í.›R¯í»Rß–Y:€Ý‚ígS¯r9œ\rä+5œùÓàœ®¬;œ\JxÏnßÑ^¬³¤-i»:ö‹ÊØŒ7­pA×´µû¾ ¹ú'”ò¤`r…¤òÿÈd +)Êf$“JxÍáó‘Ù—?‘ÌÉÊŽ “DàÍp™—ºp'ÓâöÅÖQîÝrÔ±´Õƒ'å Ü"8*þ¨«<*?YàÞxÛØ. @“@ÍSáùxë‹Ÿ†ÛdUÝicŠ#FÛõf[n®f¨ ës§ŽWY©»%¬Ç»':¿:ÄÛ¡{¾‹nŒŽ*Õf¸üT7É¡œcW°™T rJ°™€ùíö1Fý&ʯ´Åú?Ya®P‡Å¨9h!ùŒP3Ž(óQÝ—?ëÉÊŽàšI$ºe@È¢õ‚§QQQ8w~¨¼œ®xWvð5¨(õO +Vˆ:ÒѨZ• †˜2ª$‚ô<dùÓ ›®¬;d4¨÷â”RH+ÎÜ·i©oÜúfë ÔÑjë4%G„-Z‹Ü®´¿ˆ£Mê¼9¯wQ©ãî õ'-×Q^82›²4yql-u¨ç«tG…cç,6Q:ÌÞ{:¥“96Vöþ`Á1Â~pÌÿ+þ¦¼ô +endstream +endobj +1992 0 obj << +/Type /Page +/Contents 1993 0 R +/Resources 1991 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +1994 0 obj << +/D [1992 0 R /XYZ -11.232 900.716 null] +>> endobj +90 0 obj << +/D [1992 0 R /XYZ 56.693 657.295 null] +>> endobj +1995 0 obj << +/D [1992 0 R /XYZ 56.693 628.91 null] +>> endobj +1996 0 obj << +/D [1992 0 R /XYZ 56.693 582.573 null] +>> endobj +1997 0 obj << +/D [1992 0 R /XYZ 65.161 582.584 null] +>> endobj +1998 0 obj << +/D [1992 0 R /XYZ 56.693 535.076 null] +>> endobj +1999 0 obj << +/D [1992 0 R /XYZ 65.161 535.759 null] +>> endobj +2000 0 obj << +/D [1992 0 R /XYZ 56.693 488.252 null] +>> endobj +2001 0 obj << +/D [1992 0 R /XYZ 65.161 488.935 null] +>> endobj +2002 0 obj << +/D [1992 0 R /XYZ 56.693 441.427 null] +>> endobj +2003 0 obj << +/D [1992 0 R /XYZ 65.161 442.111 null] +>> endobj +2004 0 obj << +/D [1992 0 R /XYZ 56.693 395.275 null] +>> endobj +2005 0 obj << +/D [1992 0 R /XYZ 65.161 395.286 null] +>> endobj +2006 0 obj << +/D [1992 0 R /XYZ 56.693 348.451 null] +>> endobj +2007 0 obj << +/D [1992 0 R /XYZ 65.161 348.462 null] +>> endobj +2008 0 obj << +/D [1992 0 R /XYZ 56.693 301.626 null] +>> endobj +2009 0 obj << +/D [1992 0 R /XYZ 65.161 301.637 null] +>> endobj +2010 0 obj << +/D [1992 0 R /XYZ 56.693 254.802 null] +>> endobj +2011 0 obj << +/D [1992 0 R /XYZ 65.161 254.813 null] +>> endobj +2012 0 obj << +/D [1992 0 R /XYZ 56.693 207.507 null] +>> endobj +2013 0 obj << +/D [1992 0 R /XYZ 65.161 207.989 null] +>> endobj +2014 0 obj << +/D [1992 0 R /XYZ 65.161 197.03 null] +>> endobj +2015 0 obj << +/D [1992 0 R /XYZ 65.161 186.071 null] +>> endobj +2016 0 obj << +/D [1992 0 R /XYZ 56.693 139.235 null] +>> endobj +2017 0 obj << +/D [1992 0 R /XYZ 65.161 139.246 null] +>> endobj +1991 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2020 0 obj << +/Length 1881 +/Filter /FlateDecode +>> +stream +xÚí[KÛ8¾÷¯æÔ l3|SÜ`³›df‘}%½ÀI²L»5‘E$÷ãßoéáÄVÛ*4Ý9ä$š"‹%²¾UdGËG¯Îž_={)p¤‘–TFW‹HR$U†˜Š®æÑ»ó7&7Im..©Àçÿ²©ûâÂV}¡¹^þݦϭýØÿøííë‹Wÿ€a. AZˆ^ÚÛæ>7õµ1Mݾ†ÑIÃè’µ£s©¢qt)VÃøŒ€@Ÿ?ëDê¶ãÙ‹«³?Έlj„DR³Hi‚$¦Qº:{÷Gsx + ®ãè¶k¹ŠÁˆ2 åßéq°aÿé™-ÜšÛ…[»›lnìž rÀPk=B…3ñ]ùž&î­ìW°«ða‹K +ÇõMÖólïB4ˆŽˆšöÖQæº,mÕG3Gcüå꟯Åü9؃Ž}¸úÀó¡Ã3ìî’„?î&•'3“×í&õ—þ}“5àýlU˜ª2¨‚¦MR-Á;ÚjT¯g:.¡ƒ¹kа݋-íx¬‘€â ß{ŒaŸ&*‘¾ä¸ &FÓ€û&Åà&°p¤²+ß“T¼•@*à?qÚ/â_]÷ŒYRgé$ä»5n½}7â1·ûvøo½-G*CåÏï¡°3®_M0D!Âù) FhÇ;Á"*U80 #Žƒy$ßÌþʺƒY@¸ÔÅ“í’¾ÌîÜÀ‘à2ö;ÏÒÑ÷™ä$9ê™å£Oú²3¾²u“ßy:?þóðâ?ÿ{Îí`Ý”ë¦þZràÌ2¢OJŽ\!ŽÅqÙÑr>N!GJp©D<æáÈqW¾'9z+;©FJ ®Î+S˜jUvªÊ•+S×ÉÒQnæÈ¥‘¹5'MrÜ kŒ£—ÕÇÞñkŠf¾LRóÕ„Ô:ÂZœ”0F"&Oì®q‘$q8FâJ#)t0FÉ÷c$eÝ‰Ç ž«‰ÁW˜ˆj¹?ÍLmQgus8BÚ{:wä‡2©Ò©¾Ðœa©È)ÍCJ¨ãzç`ÆõÛ9(¢y@L3Šb&ÂazW¾'¦½•€i&Ù„àΘ¾1ÕÌÖf2÷nëÊ)½M¹IªëÒQá£>®ÖIž»@g£HÅB” X…»iÉ÷´poe'X8mŸÃ!v(ÏØÕf®žö²°ÕèúaÊ^ÒÎ% w'5’ïi ÞÊN0ÂÝÄÔÎt×\'Í“qÝ–dÏ}Út¿ÈFe™girü«Ô#‘óœiphD¸cÕ‘|?#÷Wv‚‘c†(ŽU7§›9Âa]&mÙ±ºâóGËÛtýàfä©…¬cÿ2 «.OzZÈGXˆPwµ®.A ð¸‰6*ÜqáH¾'轕u=;àtêÍ(8ºÍ}§Ø=’Ïm]ϳ›‰w]·âù©‰F®w Ý@®$7&£/c…·Ïp1éH¾§){+;Á”¹~bÒU›q9ZâŸIë(ËÏõh“Üœ™žiDbŒé÷%Ý2Lcb“tËö&ݾü÷·p»°{ôïœsq´d[N¥$L²í²JÊë,²;ÒD8à1eŽRFòý(Å_YwJ¡ ,‹ ðÇ:ɳ…#­§Ié"íM~õŽIÞ}öÈq÷ÅkëšAéèD§¶X¬k×ÊÛ¬¹v½Ý›=Œ,'ÎÂGžÒ!OéÈS, z£Ç%«nÚ&0Ñ „Òá˜ªÝ %Á˜j$ß©ü•ug*+$q<õ„*ñ”•mãüÓ!3Tj#‰ xLô”0&°Iâ#ø=W+“¥ÙJzNÖmlºU“ÚUi ˜®­º»Ê,Æ9× Oaº ž6M8|¨øw#Òf+ép— #ùž¬â­ìVáEÄü{ÞtrßLù¤äBú錄t›ë£h0<ïŠ÷ƒ³·ªîhÖ¬û=mú{Úô7ž6Ý:³1 @þæîo\¦þËýÿ£bÈ÷ +endstream +endobj +2019 0 obj << +/Type /Page +/Contents 2020 0 R +/Resources 2018 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +2021 0 obj << +/D [2019 0 R /XYZ -16.307 900.716 null] +>> endobj +94 0 obj << +/D [2019 0 R /XYZ 56.693 759.068 null] +>> endobj +2022 0 obj << +/D [2019 0 R /XYZ 56.693 738.489 null] +>> endobj +2023 0 obj << +/D [2019 0 R /XYZ 56.693 691.479 null] +>> endobj +2024 0 obj << +/D [2019 0 R /XYZ 65.161 692.163 null] +>> endobj +2025 0 obj << +/D [2019 0 R /XYZ 65.161 681.204 null] +>> endobj +2026 0 obj << +/D [2019 0 R /XYZ 56.693 633.696 null] +>> endobj +2027 0 obj << +/D [2019 0 R /XYZ 65.161 634.379 null] +>> endobj +2028 0 obj << +/D [2019 0 R /XYZ 56.693 586.871 null] +>> endobj +2029 0 obj << +/D [2019 0 R /XYZ 65.161 587.555 null] +>> endobj +2030 0 obj << +/D [2019 0 R /XYZ 56.693 540.047 null] +>> endobj +2031 0 obj << +/D [2019 0 R /XYZ 65.161 540.73 null] +>> endobj +2032 0 obj << +/D [2019 0 R /XYZ 56.693 493.223 null] +>> endobj +2033 0 obj << +/D [2019 0 R /XYZ 65.161 493.906 null] +>> endobj +2034 0 obj << +/D [2019 0 R /XYZ 56.693 446.398 null] +>> endobj +2035 0 obj << +/D [2019 0 R /XYZ 65.161 447.082 null] +>> endobj +2036 0 obj << +/D [2019 0 R /XYZ 65.161 436.123 null] +>> endobj +2037 0 obj << +/D [2019 0 R /XYZ 65.161 425.164 null] +>> endobj +2038 0 obj << +/D [2019 0 R /XYZ 65.161 414.205 null] +>> endobj +2039 0 obj << +/D [2019 0 R /XYZ 56.693 366.697 null] +>> endobj +2040 0 obj << +/D [2019 0 R /XYZ 65.161 367.38 null] +>> endobj +2041 0 obj << +/D [2019 0 R /XYZ 65.161 356.422 null] +>> endobj +98 0 obj << +/D [2019 0 R /XYZ 56.693 319.271 null] +>> endobj +2042 0 obj << +/D [2019 0 R /XYZ 56.693 291.718 null] +>> endobj +2043 0 obj << +/D [2019 0 R /XYZ 56.693 244.708 null] +>> endobj +2044 0 obj << +/D [2019 0 R /XYZ 65.161 245.392 null] +>> endobj +2045 0 obj << +/D [2019 0 R /XYZ 56.693 197.884 null] +>> endobj +2046 0 obj << +/D [2019 0 R /XYZ 65.161 198.567 null] +>> endobj +2047 0 obj << +/D [2019 0 R /XYZ 56.693 151.059 null] +>> endobj +2048 0 obj << +/D [2019 0 R /XYZ 65.161 151.743 null] +>> endobj +2049 0 obj << +/D [2019 0 R /XYZ 56.693 104.235 null] +>> endobj +2050 0 obj << +/D [2019 0 R /XYZ 65.161 104.918 null] +>> endobj +2018 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2053 0 obj << +/Length 2100 +/Filter /FlateDecode +>> +stream +xÚÕ\ËrÛFÝë+°‹Uµû~eV±'NU*•ÔØZL•“6I”‚@[Ê×O7$ÅÛl4G³À9ç¾ÄÉ<ÁÉÏ7ïîoÞ~à8ÑH *’ûY"(2Q„!&“ûiòùÍGSš¬5·w”ã7¿Õi·gu³ýÐ-v_þ³ÎßÕõÃöŸúõöÏû_ìiîAšó­µOÝSiÚ…1]뾶g'‰²gÌ=Iª’;Ž´ÜŸQkPª7o·ˆÐîÀ›Ÿîoþº!ÖoùÔ̲uÙÁvn=`»f]ߦõén·áðˆ7íŽpçí:^ƒvÌëjU/ÍòÀ tÚ²h}v¯g;oÈÔøþ䛋0]~âç‰H¹Éžø{Zƒ0E +óq5([wuWçNþq۰϶ýW©:S­Ê̆ôXA5Ë:0‘ñ4K(Š0WÑ4k`?L³Â…k–P¤ÞšUeƃy—(…Pº¨ëÕªn€Bë„xþö3›Œ©?`}>Ï>IÖñúÀ~ 9‚õ ‡LS»<3kº"ß%IµÍŽ}ãi누[^›éÿiÐ>$ XÎ_`DÒx¸ï™„}¨«¨ ¥¶ÈÚ þ[\÷yfû Àã˜o¹ÂXjoe°Ê€bï*TØŽîn\š +.áôš ¡`)â{+!\eMV¡Ç¯f²Ëý¶¾iÆùAS$ŸÇƒÑ³=ŠÈëžù@^‡ºêÁkbñG¥gª·4_a;:x~ÕÔ+‹°*mŠÉº3~EíÈ5­»Èy“­íÅ*`Ÿ®âäš*À•BTÜš*–e±ôéKq©6¶h¬çB"Î⥱ûa¼wN|.-伉¿âÀŠ°ž™¹ÙþÝ ì,ì |òŠG‹¸‡p‰±ß|÷r Í1²²¬¿zæœÜ’2b#¢o>£¡®z@”k¤Ä.ç4Yû¬VÖmWWÅßYWÔËq«õmþØËù¸v†!on–¦± œúB,åHPc}û vÖe©Ý„õe³¦®`ÏÁ”¦:(»Ç¨è»EDíccfž£cbyæx×âÀøÉ]×í…ÎØ–-BÐxîÛp°³fÒ»­Ì¡Eë#üa}K²/No¹›Éôªé-v“WýÊŠÜTkÄ(‰—î¦6«gI2°F’pgá$IÝ”Ÿûf»®Ïè3ÒÈV9Ǹo”F×ÁUžN­¶x±¤n°$Ù5… nü©F^‚án™G™›r†0Hû”",â%wû´vÖƒö©›djOÞ{ áKŽ¨ÃÉ à~l·÷?þú)\óÎãœi„åU»Ù)±õèØüÞtóŠ¼}¶–ÁÊé‡ñX ‘ñLsKÁxŒØc|¸³pÆ3›báTí—!β¼«è s˜>ŸïWÙž›Ög¨UTGgçzO^m7h’7Ƨ•·.3ßEL¥6øÆKGöQì¬Jmê‹Õ..†“å‹9ÊéøXƒéíÙA{ŸÓâK1]geùä Zé¦o,hûöAì¬h¥D„m1»o²”²î¤„§2ͪÜÐ|)Njgª‰/§i¿Ì/\0t»®Ú‰8åØÄn°³صçt7hÞ +º®$¯—ÝpÙÓkTÅEöª‹Ù‡oßï…´£¾´n`nÒc¿½bÝÀ˜DŒ½²þ £ñ4fÙàª%1¶õíêC°³ú@,%Ù>â÷ “?Œw¼VÌTcg‚~JX1ŠCcæÀà›´kS•µi.îC2Â×WHPMfßå ª¢1ˆJŒhDØ pgáDm"Ïå«hT–Zx™\îhÎê€ÑúùAõ‘¡ò‹Kv=ÔÆä‹lY´•g6N¹÷ÅËÆöÁì¬ØÝÃdm¡í*³l×îksWð*R¨U+§9¼ …ÓcKé_\Áú×Ú,ó‹»ôÔ†$Æ®šmSÆ}ÉùÜX•Z¯<Úò”2{•1ãq“¾ˆñ­o?òÁÎzPÞ&ólOùÿq€ƒ3sROŸ i3/  1xMÜӶ˺"ÐÖ8–éûˆ vÓÞˆ1°o?ÁÎzsÄø®#õ¡x„F«Éz~lFŘҚèc!nL&¯ˆ´åü^â·\öõPÖ>x"ÜÜ–Å „»Yh<> ì‡ñ!ÜY8ˆÍ?1÷ QßrØy‹¹Ü8W9Ez3–¤éæ—$¢A·o?ºÁÎz@7Uë”{¥,§ßUð±$%HqU-'Q>²–o~^áY++¸N°¶§Ž(æZ!Žãiyß|‚]õ ƒstO‡ñß)½Pò[èÌ­,ëuçùóÞ/®B €;#¸r–-ÊÍžâ©{ß|˜ƒ]…ƒYc¤ösBHÀÞ(ÙÄtô}Ÿ‘âEð;hÏ€ïÛyàÖë©ò…ÌRpù¢RÄyŒˆwðó€)¶¡¾ä×ÿpc\½ +endstream +endobj +2052 0 obj << +/Type /Page +/Contents 2053 0 R +/Resources 2051 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +2054 0 obj << +/D [2052 0 R /XYZ -11.232 900.716 null] +>> endobj +2055 0 obj << +/D [2052 0 R /XYZ 56.693 741.922 null] +>> endobj +2056 0 obj << +/D [2052 0 R /XYZ 65.161 742.605 null] +>> endobj +2057 0 obj << +/D [2052 0 R /XYZ 56.693 695.621 null] +>> endobj +2058 0 obj << +/D [2052 0 R /XYZ 65.161 696.305 null] +>> endobj +2059 0 obj << +/D [2052 0 R /XYZ 65.161 685.346 null] +>> endobj +2060 0 obj << +/D [2052 0 R /XYZ 65.161 674.387 null] +>> endobj +2061 0 obj << +/D [2052 0 R /XYZ 56.693 627.403 null] +>> endobj +2062 0 obj << +/D [2052 0 R /XYZ 65.161 628.086 null] +>> endobj +2063 0 obj << +/D [2052 0 R /XYZ 56.693 581.102 null] +>> endobj +2064 0 obj << +/D [2052 0 R /XYZ 65.161 581.786 null] +>> endobj +2065 0 obj << +/D [2052 0 R /XYZ 65.161 570.827 null] +>> endobj +2066 0 obj << +/D [2052 0 R /XYZ 65.161 559.868 null] +>> endobj +2067 0 obj << +/D [2052 0 R /XYZ 65.161 548.909 null] +>> endobj +2068 0 obj << +/D [2052 0 R /XYZ 56.693 501.925 null] +>> endobj +2069 0 obj << +/D [2052 0 R /XYZ 65.161 502.608 null] +>> endobj +2070 0 obj << +/D [2052 0 R /XYZ 56.693 455.624 null] +>> endobj +2071 0 obj << +/D [2052 0 R /XYZ 65.161 456.308 null] +>> endobj +2072 0 obj << +/D [2052 0 R /XYZ 56.693 409.324 null] +>> endobj +2073 0 obj << +/D [2052 0 R /XYZ 65.161 410.007 null] +>> endobj +2074 0 obj << +/D [2052 0 R /XYZ 65.161 399.048 null] +>> endobj +2075 0 obj << +/D [2052 0 R /XYZ 65.161 388.089 null] +>> endobj +2076 0 obj << +/D [2052 0 R /XYZ 65.161 377.13 null] +>> endobj +2077 0 obj << +/D [2052 0 R /XYZ 56.693 330.146 null] +>> endobj +2078 0 obj << +/D [2052 0 R /XYZ 65.161 330.83 null] +>> endobj +2079 0 obj << +/D [2052 0 R /XYZ 56.693 283.846 null] +>> endobj +2080 0 obj << +/D [2052 0 R /XYZ 65.161 284.529 null] +>> endobj +2081 0 obj << +/D [2052 0 R /XYZ 65.161 273.57 null] +>> endobj +2082 0 obj << +/D [2052 0 R /XYZ 56.693 226.586 null] +>> endobj +2083 0 obj << +/D [2052 0 R /XYZ 65.161 227.27 null] +>> endobj +2084 0 obj << +/D [2052 0 R /XYZ 65.161 216.311 null] +>> endobj +2085 0 obj << +/D [2052 0 R /XYZ 56.693 169.327 null] +>> endobj +2086 0 obj << +/D [2052 0 R /XYZ 65.161 170.01 null] +>> endobj +2087 0 obj << +/D [2052 0 R /XYZ 65.161 159.051 null] +>> endobj +2088 0 obj << +/D [2052 0 R /XYZ 56.693 112.067 null] +>> endobj +2089 0 obj << +/D [2052 0 R /XYZ 65.161 112.751 null] +>> endobj +2090 0 obj << +/D [2052 0 R /XYZ 65.161 101.792 null] +>> endobj +2051 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2093 0 obj << +/Length 2135 +/Filter /FlateDecode +>> +stream +xÚÅ\[sã¶~÷¯àLbÏÔXÜ ´OÙl7ín›¬Ý™ÌlòQ°Äš"´­üú‚"µkÑ–}`ŠÎ“(<<Î÷ …“E‚“OÞ^ž¼y/p¢‘–T&—W‰¤H¦‰" ±4¹œ'_N?ÛšڞSOÿí¼­»Ã+Wu~ÙŸ|ç²·Î]w_~¹øxöÛå‡p›sB¢“vá7…­—Öúº=îNî.Y{w.S”R•œ ¤ÓþþŒ©:}Ó}©Û Oþqyòû âqB!‘Ô,I5AÓ$[|ù 'óp.(€¸VÉívä*#Êd8.’‹“ŸOp?øàŒìds–N¿R*¶Zì.{ó> Ù>o¯QˆKNlÈ«ksv.1>ý—«íõßÎÎ _>™k{•¶¦¨•Õ~ü¸ÿpaIHJ“”8k®ý]à0U\&i¥“Ê&W÷ŸfOÚã¿>¼Uˆ(¾»A'˜´£ÇʈH2”/0Ai˜%ÈDšê#(»X-’îàs¿ô{˸SœÄÃmWó2÷…]›…Ý[ÿ‡Ò’/Û_Ùliʼ^Á†ç5l\énÍÊÖk“Õ5·¦õ6®nÖkWyØà_þyùéãÞÐ0å¨ÿáÀ5?uüœ7}¼¥ê|»´å Ä=+â"ðÙ±Á¯˜ãŽù+}”n-¬s¥’¢ÀDÓ!v_þHÄŽV€X%V2°F‚°n6¶´•ñy¹®|½]­ 5«zßÿ=ÁÆ5°Kssdä®M Tòý`ãBÈðBˆ$¸!9ADLƒA,•r: îˉÁÑÊF`k$ïf3/ë|åèjžUX{o«Hñj…p#|\•Ã$°tM1‡g-°ß˜ €3‚ë1±åσñ´T1É_Ov3â‰íS_x³ñ®Ü…ԋʬ—yV£»º>ºLC‚€ÉtaµqN'#ˆüq1^YxX-Ã¥½þ¾( mòÑÌç®âgW¹ˆ´+(¬šÂçk¨Ø|B7û_x8 â »²å0ŽxÞày@“bÓÙã¾ü‘ö8ZÙ{ qzš’Î os¿Ì&fÊèÎܪÿú´Óº ´¶$/¡éÞ;—Íڊ;.ÛSâi}L ØzbÔ/õg’ Ä5UF)êîì“iªÜÿÑù³Ö”õ7ö5‰qh„"IÔ„- :ø‰éd_þH­l`Ž4ïK„ßÏçv>E v?™+ +3kó£Ø9¿³@hÏšÅcäñÆ çLBñ*´jËίW‘ +”Š—”sß™›|Þ¡õ‡6ê¯v`½±ÕÌø|U,'ÕÖtC†›®¦;?«ã•…cU…íkº1%Êv»4ðÚÚõyç‘wêÝÂÙ@p¯+—Ùºµž¾EÈÂ}ÕDÏÐqA›z­Š¼öhôLhSg•TPmJ·®ó:ò2SΟ¬)„ÔSÔ‰gH¥ÓÕjòG"q´²ð:‘àix€>,ro«[šk|¤Ûº¬Lv ÅO>Üo1-5†û-Ž‘R¯ë¸HŠôn3êXu“6Ĭ­oÖ1¾ +4eÝ„ëaA&Ì@þ8ÀŒW6ÂuaŒ‚v‹ú¸Fö[­1dÅP.€’í咽ñ”|pà–ÞÞùwm7ÇÝÏáã!ý³˜âJ"¬§«ä´ùÑÊÂm¾u̬Ϯیh2Kkæ1û!¹rQ +§·ùÜ/ëãZ™-Í \Œl*xИ5µw«üó0|Þ4CÂDØteÃü‘¦9ZÙÓLƒ—¥}Ùpfj¨m‚ckx¯‰©/`Ã'ÕšçQvÄ–ª»Ê^E„0œ…ûË Keœ*Äðt¥²ü‘ ­lhAB÷å—åf½ œ‘–^ÁÆý÷óGh©,„¥‡–³kܽÛy^·Œ??r°ÈËëÈ`¬tÊ^ÅæÈê6ô}bb3Ó@{¾p^ß½±>‘ +Äè«2&¦ˆµ 5’2™ +LÙ…ÊA|Â.Ôüq”9^Y8e2ÅQºKü³Õ1½&Êkß=Qˆ<.¹íØJoÜ[­LMÇy#ÀÐÛ°NË×7 EŽî¬Ý¦m| ¾¹@’è ñÍ8š°]n_üHtU5Ü,Eš«è­Ã¨æj°'6EÈ#Ú€ ÚQšåUŽ_Êf5³UlÛ + £LÉ«â+”ŠôÈ{úænëoÿ~֯ɚÜûzgcJ°Tǵ9< VªR¤ØthÈ×ñÊÂñJ5Ad—ºþùxmüÒ=Hüßvñ®Z<è 8¼UÌÊæ.kVð,Êz37ÞDnòüPÿ6¶90ª‚…CQ/Å_u“‡J‚4cÇÝäÉÜjíÊ°@1 Ó¾»’NH0œ L¦ÛäÈI0£• ÎÕú+Áü©D¦òyVØ‚É\áÖKh=Z77.‡¶g*¬Oï*Úçó SÓéÊ´µÉt[]ûF(ÁðÉ®·5dðC^$øÞûNÂÉ9åˆÉ¾êp¹{Ý÷Ê…ä⌊ÓÛ¶çcûSû®ãb÷‚ðÒœQ|zsFÄiŬíóح̼ÿ-¬ý×·ˆ»V vïÞd›ôÊ»-ýªxDC*·-üý Ìídw°û/)·€Hw\u¯6£ýÙ8§¤¬4¤ñ‘·Ú#ë-„‡“Fx„†iTÓð@þ8¯,œ€ cˆÊXž&¾kjðË‹yyå"xzÛ`|̭ܺ-ŠãJŒP«zS-lÜ{/¥{ØIëW­ÌNÕäác/ð±¿b´…¥~É?1üâ4HE +endstream +endobj +2092 0 obj << +/Type /Page +/Contents 2093 0 R +/Resources 2091 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +2094 0 obj << +/D [2092 0 R /XYZ -16.307 900.716 null] +>> endobj +2095 0 obj << +/D [2092 0 R /XYZ 56.693 742.989 null] +>> endobj +2096 0 obj << +/D [2092 0 R /XYZ 65.161 742.431 null] +>> endobj +2097 0 obj << +/D [2092 0 R /XYZ 56.693 673.005 null] +>> endobj +2098 0 obj << +/D [2092 0 R /XYZ 65.161 673.689 null] +>> endobj +2099 0 obj << +/D [2092 0 R /XYZ 65.161 662.73 null] +>> endobj +2100 0 obj << +/D [2092 0 R /XYZ 56.693 615.222 null] +>> endobj +2101 0 obj << +/D [2092 0 R /XYZ 65.161 615.905 null] +>> endobj +2102 0 obj << +/D [2092 0 R /XYZ 56.693 569.639 null] +>> endobj +2103 0 obj << +/D [2092 0 R /XYZ 65.161 569.081 null] +>> endobj +2104 0 obj << +/D [2092 0 R /XYZ 56.693 510.614 null] +>> endobj +2105 0 obj << +/D [2092 0 R /XYZ 65.161 511.298 null] +>> endobj +2106 0 obj << +/D [2092 0 R /XYZ 65.161 500.339 null] +>> endobj +2107 0 obj << +/D [2092 0 R /XYZ 65.161 489.38 null] +>> endobj +2108 0 obj << +/D [2092 0 R /XYZ 56.693 443.114 null] +>> endobj +2109 0 obj << +/D [2092 0 R /XYZ 65.161 442.555 null] +>> endobj +2110 0 obj << +/D [2092 0 R /XYZ 56.693 396.289 null] +>> endobj +2111 0 obj << +/D [2092 0 R /XYZ 65.161 395.731 null] +>> endobj +2112 0 obj << +/D [2092 0 R /XYZ 56.693 349.465 null] +>> endobj +2113 0 obj << +/D [2092 0 R /XYZ 65.161 348.907 null] +>> endobj +2114 0 obj << +/D [2092 0 R /XYZ 56.693 301.399 null] +>> endobj +2115 0 obj << +/D [2092 0 R /XYZ 65.161 302.082 null] +>> endobj +2116 0 obj << +/D [2092 0 R /XYZ 56.693 254.574 null] +>> endobj +2117 0 obj << +/D [2092 0 R /XYZ 65.161 255.258 null] +>> endobj +102 0 obj << +/D [2092 0 R /XYZ 56.693 218.107 null] +>> endobj +2118 0 obj << +/D [2092 0 R /XYZ 56.693 190.554 null] +>> endobj +2119 0 obj << +/D [2092 0 R /XYZ 56.693 143.544 null] +>> endobj +2120 0 obj << +/D [2092 0 R /XYZ 65.161 144.228 null] +>> endobj +2091 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2123 0 obj << +/Length 2200 +/Filter /FlateDecode +>> +stream +xÚÍ\[oãÆ~÷¯à[¼@}2wrÚ¢@ݤ²E›u›<ŒÈ‘E˜"’²×ÿ>C‘ÚX´eÑJŸDQ£Ã£á÷;E¢»ˆDß_½¿½úö;I" Z1Ý.#Å@ÅQB9ð8ºÍ¢Ï×?Ùšƾ»a’\ÿ«jmÓ.«º?hWÇÿ¨Ò÷Uuß¿ùߧßýrûƒ»Ì ¥ ¥ì¥}jŸ +Û¬¬m›îcwu%îêŠwW*†˜%Ñ×ç Œ“ëoûªt÷Å«·W¿^Q'žD4’ +”æQ¬)(¢t}õùeî3§D»•ëHRŒ+w\DŸ®þsE† NÅî°{ùþ™d·4fQ,4P¢:ÉÝyIœžBE t¢£ÚFË£¢°à Pï/Ð ¦ÝêPù¨¢cù’PˆU‚ºÂómV ™ž@ÙÀú.ê~èná b‡ÄAqAAð=J³(ìîþ}¾Q„\7Ûͦª[Üą̂…«v]H¤LkÚmm›ƒÕîGüi8qäky™Û,/ïpWÙ6ã¥Ã=z™ëƦm^•cÅþvJ±¦µ&éU-×Àà€»{°h’ÌG€CùUö8ܹ³W±êáþÆ-ÌòÏÛ‡†xjëÖä%n±sk[¶¾ 7%Gm[4VžèÅ…}°ni[ylEg»9+³imýb¿¡?qšfTsžf‡òi¬¬‡Ÿ¡$bŽÛ•ml€•?Žû)¶¬Z4 Ê;‹d–Õ]H‡Z¸0Ø}ê'’ò_Cĉ}÷¤÷¦Î_×D$°C³ñŒ UÕƒ0$)“ž0iµÞ˜6_äEÞ>m›–Ð ûÈëË_im$?õÁÊz ^Æ@ÙPl3¾vtEÁwwœw#*Mã´út­©Ú¶›mëUÞ;וII ú¢®ŒÅ ÷ý‚©\Y^yi;Oö—þó]Ø°1wÏϹ°cmŠg'²ü!oòª|þ½*}ön¨Ã7{é´“Ï´‰çöúýLuúPòõˆöGÈ{AÝÆÄlFçê$*æ33‡òÍL°²fÆÉå„öwñ»¼Ì›2ŠtdÇ?ó¢]ƒn¼[wgK[ÝÓÛ¾3ÏÂmxÐŽŽ9^mMœæ‰Ð +ˆ”³Áx$? ÆáÊâa,´.Xã—mÇðb²_ÄTš5ºì}pÏuzBs J]Ò鉘•lZ§g¶muè¯ÒÕ¶¼?<õš#Ü-»I«ìðdקX˜ºéOÎíî„r[’èùÜŸÏLˆ´¡ªz É@î+ èDraš<ý#+AGòÎ7ï¶ÚŒT>yFÓB(`â¢ýÁ8p6qä®6›Už6•!Ñ ¤©›#‚0d¾æÈH~ Ÿƒ•õ 4‘ b¼~Av{M™è³:‡Ÿ›öi3yLùg[€ÁN®˜m–#e.óÂ{Ll]5mñ4ñ>üóöãrâ}øðïÿ¾çHì*g϶p  +zÑžH2qO«+«º­x<=ØzárÀµ‡ÅäÎVH1ŸÁäR‚Lækpä‡Ìpeñ“Ë¥÷ÃÓM[ag~6uå\ãºÈüȶ²¸m|+‹›Ú^p@ô´>þhõªâ§&¨3€‘ü@+ëÁƒÊ].ÖÃ7“*l]:_ß…óqˆIêñ£Æ2vmî‘vãÁy†wðg»WAAqqQ÷JˆÙž}pâÔ–yÛ™2í$êù:t#ùa¦$\YSâ4%ÉС»ÝÖè"ørb;RTå]f›Ô³?ˆ,ØÔl›©'ƒ‡J ¶Hº@&‹ºzl&Й‹öYL!Ñ÷÷³zv„) +:l²ç„‘î“x¾ÜH~  VoG˜àv¿¿©«ì3d¿nÑû‹Ú¤÷iŒcSD¨±ÝøÇããµÓ—1Ô4ç„=M0A€Ðùzw#ùøVÖÿ‚ß×)Ö¦¾Ÿxpe‰- fy³)Ì:!^8x5Ó>ÜÒTk{!WÇc ì¢@FP:qȼ1µY×G»êQý‰¯´?½Äi%flÆQÍÎ÷TÛ¡ø0Ú«Šg=Õ +DìÛŒ÷ÂŽÓ³CAsæã_o7á›´Î7íÄ•èpÞþB×™˜Ö¬¾Úì<É6š0`œÍdžCùtVÖƒ‰I‡ÒìæÁøÀ¬¶K[Û2µg»kpŽø’WÎôÄý‰a¾c½>˜mô™±õÑy‘Ù'C¨p{¢f|Ê€r ‚Ì÷”ÁH~ ÿ‚•õàO*åÿų?= }ú.m7tæñ•3ØÈxçMÏ6-L€óGò!¬¬ä˜c7 +ˆÑ%õf[ŸûüÛˆÈò]Ôßb­7Ø¢2:©MŽÞh +ƒžg.}#ÊA$3Æõ‡òa¬¬¬©‚xÿYèÛÍóë\ØÎËÖÖ¥)Î5Œou¹'®v{/Ÿ:¨8^2:LbûæÊteñÑS0]ÖÕ.ŠßËäƒü×þÀ­«ˆ)}Îÿ·ýˆGçM +endstream +endobj +2122 0 obj << +/Type /Page +/Contents 2123 0 R +/Resources 2121 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 1990 0 R +>> endobj +2124 0 obj << +/D [2122 0 R /XYZ -11.232 900.716 null] +>> endobj +2125 0 obj << +/D [2122 0 R /XYZ 56.693 759.068 null] +>> endobj +2126 0 obj << +/D [2122 0 R /XYZ 65.161 752.393 null] +>> endobj +2127 0 obj << +/D [2122 0 R /XYZ 65.161 741.435 null] +>> endobj +2128 0 obj << +/D [2122 0 R /XYZ 65.161 730.476 null] +>> endobj +2129 0 obj << +/D [2122 0 R /XYZ 65.161 719.517 null] +>> endobj +2130 0 obj << +/D [2122 0 R /XYZ 56.693 672.009 null] +>> endobj +2131 0 obj << +/D [2122 0 R /XYZ 65.161 672.692 null] +>> endobj +2132 0 obj << +/D [2122 0 R /XYZ 56.693 625.185 null] +>> endobj +2133 0 obj << +/D [2122 0 R /XYZ 65.161 625.868 null] +>> endobj +2134 0 obj << +/D [2122 0 R /XYZ 56.693 578.36 null] +>> endobj +2135 0 obj << +/D [2122 0 R /XYZ 65.161 579.044 null] +>> endobj +2136 0 obj << +/D [2122 0 R /XYZ 65.161 568.085 null] +>> endobj +2137 0 obj << +/D [2122 0 R /XYZ 56.693 520.577 null] +>> endobj +2138 0 obj << +/D [2122 0 R /XYZ 65.161 521.26 null] +>> endobj +2139 0 obj << +/D [2122 0 R /XYZ 65.161 510.301 null] +>> endobj +2140 0 obj << +/D [2122 0 R /XYZ 56.693 462.793 null] +>> endobj +2141 0 obj << +/D [2122 0 R /XYZ 65.161 463.477 null] +>> endobj +2142 0 obj << +/D [2122 0 R /XYZ 56.693 415.969 null] +>> endobj +2143 0 obj << +/D [2122 0 R /XYZ 65.161 416.652 null] +>> endobj +2144 0 obj << +/D [2122 0 R /XYZ 56.693 369.145 null] +>> endobj +2145 0 obj << +/D [2122 0 R /XYZ 65.161 369.828 null] +>> endobj +2146 0 obj << +/D [2122 0 R /XYZ 65.161 358.869 null] +>> endobj +2147 0 obj << +/D [2122 0 R /XYZ 56.693 311.361 null] +>> endobj +2148 0 obj << +/D [2122 0 R /XYZ 65.161 312.045 null] +>> endobj +2149 0 obj << +/D [2122 0 R /XYZ 56.693 264.537 null] +>> endobj +2150 0 obj << +/D [2122 0 R /XYZ 65.161 265.22 null] +>> endobj +2151 0 obj << +/D [2122 0 R /XYZ 65.161 254.261 null] +>> endobj +2152 0 obj << +/D [2122 0 R /XYZ 56.693 206.754 null] +>> endobj +2153 0 obj << +/D [2122 0 R /XYZ 65.161 207.437 null] +>> endobj +2154 0 obj << +/D [2122 0 R /XYZ 65.161 196.478 null] +>> endobj +2155 0 obj << +/D [2122 0 R /XYZ 56.693 148.97 null] +>> endobj +2156 0 obj << +/D [2122 0 R /XYZ 65.161 149.654 null] +>> endobj +2157 0 obj << +/D [2122 0 R /XYZ 65.161 138.695 null] +>> endobj +2158 0 obj << +/D [2122 0 R /XYZ 65.161 127.736 null] +>> endobj +2121 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2161 0 obj << +/Length 2463 +/Filter /FlateDecode +>> +stream +xÚÕ\[sã¶~÷¯àìÓîLàN°3}È¥Ù&“ìL"§íÌn +²S¤–×Þýõ%ª±(Ë:wúdY„‰ï;7'· NÞ^}ssõÕ÷'Ê$•ÉÍ2‘É4Q„!–&7‹äýë_MitkÞ\S_¿«­iw—u³û`WÃÅïêü›º¾ÛýóïÙOo~¿ùÑÝæš” ±“6³ŸKÓ®Œ±mÙÝ$ÊÝ]²þî\¦(¥*¹(K‡û3á¦êõW»?Dfý¯þ~sõñŠ8ñ8!‰Hf,I3‚$¦I¾¾zÿ;NîšSñL%÷Û‘ëDŒ(“îs™Ì®~¹ÂÛÀNÅþcÿçí#Éî}”&)ÏÁ²—Ü/°Ó“Ë„¢LeIc’åIQÐ0…O÷7Ø &ýèPùIÆò&(• +t‡Ç¯Y¢Œf(»ØÜ&»¿HtS¸Åß"qPœÄÙ€žwõývòOËIÞ_KŒ_¯tµp8ƒ ÎõÆu\ǭ캄\ëæ®ÛÀÆZ=/ lhYÜGÚÂŽ„ºWý—ÝÓwÀ¹=piŠˆRñ€{(?¸ÁÊz—9Ë“ÊpÛ6Ψ®u9ž 4|qü£×õü“[Oöi¨ùÓµfy_Øl¤.ì),P˥ѶkF6áO Ÿæ{^v‹¢º=¼Ëy^‰¨ƒ\4^ÊäE°²¼ dpî[¼[{ôzO¢"mSêܬMuŠçç D#úãñ³ªªÇäa…„P»Éûz±€¿÷†7G¾ëyKud,žîåÅ­Y;„X¨ƒ¬}¢ Ìpà}£7Óxš­#¢œ¼Ì8b„DCüH~äÕ…c^f)Y¶Ã|i–6ò!²«r¶Ûý<Ì›T.Ã4ÞlÊœí`e=f[¹\’{¦m4ßX׋#ãú·W§ÍåI‹üêyò¨¡iUUÛÕرŸ7\s“kPú¯”"æ¦3œåÂ9XY8§IEvxö‚éΙýûüóÿa~ó$}l¨ÌÇ"¤(tâïq]n¨pI.φéü@©8Ð}…¸Ã(ÊxõÜ4öÍöÁgV¶uõ×7ׄž +=´%ô±™D‚ªxµ0I2^ê4’Hæ`e=ÈLRbHnºÈäz¹„ ¼5•i4<Ç°¤tÙ`SÌ;¨{ì«Ð0 UÖùÝÄIæªp¯«ÉWE®Õ +Sn“Òöb“C8’côñÄUÕƒ$E*²ÒÙªîJàÖU t\s3u- ŒÜ¢*‹Ê„áëLÐÕµ.¡¯¢k§7º´^x10CRD$Сü@+ëA!ìîɆ$÷ëZ¯Žwö»vÚºL»‚&rp¦›[cÖWàˆÅHJú’A¦Hû{¨iƒÌ²hmëeŠ~)XE\qîiUÄ +ïH~˜)Wn +„Ĉ¡r%D»ÑùÙþs%ˆ¼^»YÏ„g€Mw·øœ¶$󛟂–J€JÖÕ­ÚѺ³›úH'¦âòÙ;Ïo.’ñÖGòéªìi²õ%bX%þ€~¦œø?ºv<+Ûï'g"”`§šëÊj`F;Ó#0\î]“3Q±‹ssðjŽ¶QòÛñüy^1Ž2¯x2’È«`e=ÜZß´” Å“…Ù4&×½‚KÅzÓÔÓ@“©¶ÛlêÆž\ÈyêwÛxꇪµF/<=0wޜ݌ö3eýÅhX>åPU=LSDÙŸ¯»Òhu-/uÛF1Tm—C[{ÚKu=‘ÔÍÂ4fÑGrAQÏ+hn&ˆ›ç,^5a$? ÁÊz ´ï'J‡jÂoP§þíl6qÞß7O _D¡ï`©¡Vt­›[hD¥çõ§‹+ +} 4Æ/ZQà*EXM\Q¸môfUä>Ež¦ˆÐˆEîÈFd¼¢ÂH~˜EWnx¿V*ø¾¾XB r­)M_´†®C7u9õ“Ÿ#.ÖúÖ<±¸íWÙ ^Dq¼4{$?ÁÊzR8;“ ‰wo¨Á¶·òžá¼ö Óï]º#$õ»:Ÿ÷ûsžH‡Å™š[OØ62.^å‚"J²uh4C ‹iÚ¦ðqeÄiÀiDW†b*^KÕH~ åVÖÃr‚d:ôàüÐçûŸ€`_Ô9p ió¦Ø6kµÓÄsøƤeQšJ¯ÍÄ%’EÑ\Ìt,Ë^´ãŠ)Š¸š¸ãJw¶.tg)E‚Dlºb’ !âÕ GòÃè®,œîLr¤xúß-иÕÕÂp”2Ñ¢c†Ò4"Òåb=XY´»Wû¶í‚žhŸ¸Æ½*À½ŠË‰u„ý±À3ý÷Ð7´ûžaŒR•¾¤å iŠTʦµ]à¬Ý;ö0T¦(#ñ,uÏ›Eì’ɳáÊÂ-•ýé!úƷÛx0°ìL ¯b‚S© 6»LÜZÙ˜íNkè–¢æhÁúú¹®”£ýÅç©ÁʲxûGò¡¬¬ty†èáy¯¬–u~¼kë™™;ª ÍM}ÓÍ™Ð~D„o2òäS?ãÉž^Ÿ.yñŠ³ó®µõºø¢­ÈyN00ãñ8q(?ÁÊzp‚)ÄèPÛÆW-ŸtÙ™‹ËÚ”Q„ù‹»(Îa—»Þõ;«]€ó/]¶«}x“¯ºêÎ/3"™ÓBF¬u¥Ø#7’Fˆpeá„ A|ŸÏL_A‚öÿ­,Žn6S-Šh(²lj`K7¶ÈÁ ŸVc¸ú|+.t{ ¼-Ô®Ìgh“l5í–µ½kÅZ!âB8'ˆˆ=Ý?`Žwç÷eêÑ qG¯aÌ5”î.«¢ñšüÅr1TU•óJ:Úc$öM~}‰­G«©ì¨±tXð«æˆÊ­¶Aã—TÛ~Ö]SØ/;Ÿò£ÑUÔûC€™ŠXo#ýo4^½m$?ÉÁÊzxÆPJ˜÷¡Qyíì³Ç¹*@£¼i̧ã-¤ç¶H|¯ ðiPMŠÊšÆ©c=z%<“‘µi[÷« |ÜìŸo§=&°ªmHO<€á$sö#^óÝH~ ƒ•õ ¥(ÝŸÀ m‘ol1´]é t+ûƒ5U[mßÙú;hEˆt!‰ŠàðŽæáÝ9 ¾gÿX‰ +endstream +endobj +2160 0 obj << +/Type /Page +/Contents 2161 0 R +/Resources 2159 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2162 0 obj << +/D [2160 0 R /XYZ -16.307 900.716 null] +>> endobj +2163 0 obj << +/D [2160 0 R /XYZ 56.693 759.068 null] +>> endobj +2164 0 obj << +/D [2160 0 R /XYZ 65.161 752.393 null] +>> endobj +2165 0 obj << +/D [2160 0 R /XYZ 65.161 741.435 null] +>> endobj +2166 0 obj << +/D [2160 0 R /XYZ 65.161 730.476 null] +>> endobj +2167 0 obj << +/D [2160 0 R /XYZ 65.161 719.517 null] +>> endobj +2168 0 obj << +/D [2160 0 R /XYZ 65.161 708.558 null] +>> endobj +2169 0 obj << +/D [2160 0 R /XYZ 65.161 697.599 null] +>> endobj +2170 0 obj << +/D [2160 0 R /XYZ 65.161 686.64 null] +>> endobj +2171 0 obj << +/D [2160 0 R /XYZ 56.693 639.132 null] +>> endobj +2172 0 obj << +/D [2160 0 R /XYZ 65.161 639.816 null] +>> endobj +2173 0 obj << +/D [2160 0 R /XYZ 65.161 628.857 null] +>> endobj +2174 0 obj << +/D [2160 0 R /XYZ 65.161 617.898 null] +>> endobj +2175 0 obj << +/D [2160 0 R /XYZ 56.693 570.39 null] +>> endobj +2176 0 obj << +/D [2160 0 R /XYZ 65.161 571.073 null] +>> endobj +2177 0 obj << +/D [2160 0 R /XYZ 65.161 560.114 null] +>> endobj +2178 0 obj << +/D [2160 0 R /XYZ 65.161 549.156 null] +>> endobj +2179 0 obj << +/D [2160 0 R /XYZ 65.161 538.197 null] +>> endobj +2180 0 obj << +/D [2160 0 R /XYZ 65.161 527.238 null] +>> endobj +2181 0 obj << +/D [2160 0 R /XYZ 56.693 479.73 null] +>> endobj +2182 0 obj << +/D [2160 0 R /XYZ 65.161 480.413 null] +>> endobj +2183 0 obj << +/D [2160 0 R /XYZ 65.161 469.454 null] +>> endobj +2184 0 obj << +/D [2160 0 R /XYZ 56.693 421.947 null] +>> endobj +2185 0 obj << +/D [2160 0 R /XYZ 65.161 422.63 null] +>> endobj +2186 0 obj << +/D [2160 0 R /XYZ 56.693 375.122 null] +>> endobj +2187 0 obj << +/D [2160 0 R /XYZ 65.161 375.806 null] +>> endobj +2188 0 obj << +/D [2160 0 R /XYZ 65.161 364.847 null] +>> endobj +2189 0 obj << +/D [2160 0 R /XYZ 56.693 317.339 null] +>> endobj +2190 0 obj << +/D [2160 0 R /XYZ 65.161 318.022 null] +>> endobj +2191 0 obj << +/D [2160 0 R /XYZ 56.693 270.515 null] +>> endobj +2192 0 obj << +/D [2160 0 R /XYZ 65.161 271.198 null] +>> endobj +2193 0 obj << +/D [2160 0 R /XYZ 65.161 260.239 null] +>> endobj +2194 0 obj << +/D [2160 0 R /XYZ 65.161 249.28 null] +>> endobj +2195 0 obj << +/D [2160 0 R /XYZ 56.693 203.014 null] +>> endobj +2196 0 obj << +/D [2160 0 R /XYZ 65.161 202.456 null] +>> endobj +2197 0 obj << +/D [2160 0 R /XYZ 56.693 143.989 null] +>> endobj +2198 0 obj << +/D [2160 0 R /XYZ 65.161 144.672 null] +>> endobj +2199 0 obj << +/D [2160 0 R /XYZ 65.161 133.713 null] +>> endobj +2159 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2203 0 obj << +/Length 1510 +/Filter /FlateDecode +>> +stream +xÚíZ[›F~÷¯@j¥ÚR<;÷Rõ¡¹4Q”TjÖU*%yÀx¼`pï&ùõ=c k|IÆ˲qªz;yÓŒ A¾•µóòcbŠÈ˜²°—avâi˜]2;;— +)ª½±@¾ªçg *=<«6DúöÆÁãÉàßóØ#žHúÌS>AS/\ ^¿ÅÞ ®Ä}í]­G.ÊïG꧰Bðk5 >ÃŽÐnÙô¨ \¤EÚ°e¿›6të® \@lðZþ.ÌwÆËqZ”&˜¹ Îæ߉솊'¤6\P¤åݪ 'aòYmô^µyXI¸´âœ~ò.¸ þMHóG( NUºG…a Úšö§0[ö»)Lw°î +øF„üè>~èÆ–ä¦0iySE`œ ÍúS„7V‚À7½ —½Vy\~ªÈì™ Ò¢™a;O\F}0&½qÙ–ýn\Öì\H)˜ß|·îX|šÅ²üè64‚ŠÖäGI\ÆAgŽ¥X:‚žgYÙ+’Ü’ö ç-HXy°0ÛàóÛjiù¨Øû¨ b#8ÔT‚ Îí7˜ãz”Þ¥‡LªÇŒ›jû‚ƒõ—xmû¯3X‡ÄÓ¶Œnó¡<­™÷@ŒÁ•ßÈ=WGC‹5ïÏÑmûݬ;ÃQå#¦Håé«(ó­ˆ!‘ãyìšÉáª(³Eüiï:&˜ª0Ž5Îtu±Ý´ÙÓ?1F°9r†°/î´ù¤L"ÊYÓ|ú{›ÏW#½á4úrß)¾}ßyuäɽê|ì2« +µ‡VBò¦Nk¤ê¬úòuÅÙ2+bÀàH6êñÕx"6Ÿ í¯~#ÌXôÇn[ö»±[w°îìF¤FÐ8T+ýê:(7Éçþ—Éç÷Ù̹kZæñnƒ3>\=eiâX"†…#Ïæ«d›’¿Ÿ°ÅRÜekEä­ }æë"ˆSôÎ9G-‘hÝcŽB3 lÕ_Ž¶íwÌÑÎ`ÈQJ ªSŽæ«šâ—Ãiç˜Jóøƒkה߬>9Ü÷DÆõ½Žm ê*(œÛ©2WzŠâÙÌ8¶€Ó›wÅ¿IÙÂl3M«Õãh©N¡\ÿLuûÙß2ß1ù»BuoóØBW®„ÒjµnŠ›¾#$PãSMîRÈ4Š[ݦŽ}(’³º~Þù骶»ïÏlŽAÃý›ü˜ýi 5¨ +endstream +endobj +2202 0 obj << +/Type /Page +/Contents 2203 0 R +/Resources 2201 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2204 0 obj << +/D [2202 0 R /XYZ -11.232 900.716 null] +>> endobj +106 0 obj << +/D [2202 0 R /XYZ 56.693 759.068 null] +>> endobj +2205 0 obj << +/D [2202 0 R /XYZ 56.693 738.489 null] +>> endobj +2206 0 obj << +/D [2202 0 R /XYZ 56.693 691.479 null] +>> endobj +2207 0 obj << +/D [2202 0 R /XYZ 65.161 692.163 null] +>> endobj +110 0 obj << +/D [2202 0 R /XYZ 56.693 655.012 null] +>> endobj +2208 0 obj << +/D [2202 0 R /XYZ 56.693 627.459 null] +>> endobj +2209 0 obj << +/D [2202 0 R /XYZ 56.693 580.449 null] +>> endobj +2210 0 obj << +/D [2202 0 R /XYZ 65.161 581.133 null] +>> endobj +114 0 obj << +/D [2202 0 R /XYZ 56.693 543.982 null] +>> endobj +2211 0 obj << +/D [2202 0 R /XYZ 56.693 516.429 null] +>> endobj +2212 0 obj << +/D [2202 0 R /XYZ 56.693 469.419 null] +>> endobj +2213 0 obj << +/D [2202 0 R /XYZ 65.161 470.102 null] +>> endobj +118 0 obj << +/D [2202 0 R /XYZ 56.693 432.952 null] +>> endobj +2214 0 obj << +/D [2202 0 R /XYZ 56.693 405.399 null] +>> endobj +2215 0 obj << +/D [2202 0 R /XYZ 56.693 358.389 null] +>> endobj +2216 0 obj << +/D [2202 0 R /XYZ 65.161 359.072 null] +>> endobj +2217 0 obj << +/D [2202 0 R /XYZ 56.693 311.565 null] +>> endobj +2218 0 obj << +/D [2202 0 R /XYZ 65.161 312.248 null] +>> endobj +2219 0 obj << +/D [2202 0 R /XYZ 65.161 290.33 null] +>> endobj +122 0 obj << +/D [2202 0 R /XYZ 56.693 253.18 null] +>> endobj +2220 0 obj << +/D [2202 0 R /XYZ 56.693 225.626 null] +>> endobj +2221 0 obj << +/D [2202 0 R /XYZ 56.693 178.617 null] +>> endobj +2222 0 obj << +/D [2202 0 R /XYZ 65.161 179.3 null] +>> endobj +2223 0 obj << +/D [2202 0 R /XYZ 56.693 131.792 null] +>> endobj +2224 0 obj << +/D [2202 0 R /XYZ 65.161 132.476 null] +>> endobj +2201 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2227 0 obj << +/Length 1920 +/Filter /FlateDecode +>> +stream +xÚí\[sã¶~÷¯à[×35„;ˆ$“™Ýn³ÓmÒI×î$3›<ÐdqÍ‹BR–Ý_ßË‹^Û‡† tòD‚€óE£‹ˆFïŽÞœ;S4²Äj®£³e¤9Ñ&Š™ ÂDg‹èã«.sIíŽO¸¢¯þU6®î›Ë²êÍjøòm9S–—ý‡ŸO¿?þõì=Ls±JõÔN››ÌÕ+皺ýfgQ ³kÑÎ.µ!†Çщ"Ö ó MüjÖ?˜¶íþ~vôÛò4b‘ÒD[ˈ¦<šçG¥Ñ¾ˆ´q´íFæ‘b”p¡¡E§Gÿ>¢ÃNP`±m¶w÷(Ã~0Ã##-aT·”Û~EO©#Nll£ÊEËGIa'1aÒÜNÐfíh_úŠ0ÍÆôeÄè5ÃýmÖÄr»f;‚ÕEÔ7> ’GØÉ‚ì$q`\2"Å =?¹ó•ËÖÜ҂Ž1Ñè㉦  ›ªØùÉ£#Ëå70Ù4e–œ»,-.p¿8¿Á[¸e²ÉšÝÁ;›¸#ùw⻥bù|äùPEÜ‚q²ºƒù…sµÃòè0c"AÚh?ømr•.Ž»Õþ­JrW}u|Â8|º®³Ù¶?bížàók§‚pÐÁ°©-'‚Ê`ØÑ÷æ?³xlj«ˆ²Ì›ÿÈ×eÕà q½jò ‰¶Öb¡FÖ»iætl‰`ê˜Ó`é­)Ýæå¼®æ³Ê%‹Ü‘ë‹:­ ‘< è¤þY8ÐíÒ÷7³@®ˆ‘±è¾O‹K:š9n…„Û­ˆ\¹¥«\1GÒnE7rY•ùž¶ýÌI<±°mSõD~P}Ãጲñ'ó2ÏËb‚©×J(cjJ‰fq8­³KßSëx3;A뀓e©—þ¬I¾pE㮑NÁU’mtÛˆ5°(ëy•®‘l“ªx<+ÊÊ¢áˆfeÚîÍ?$—n™f‰_Òd„ ‡_¥$1FÃ~ý™ÅãW©˜PÍ}ðûÖe®AB­qùúw¹x6š^6® +à?Ü–gÃ…Mš-¦XÁÙÇú æ–¨¶çK‡ÜŠYˆý˜Â:ã]úž0öfvŒ‡ÌúÀ8/¯ÐI«uÒ + €éW§ÅÞ†ºIŠER-p£³rž4i‰L÷Õxf‘Ù»mšaUŽCAƒM^¾lëAÒÔ=I“Ë*q«8~¡’ö‰zßdºHds‚Ô\kD0Tèû¡ÚŸYªcE(˜–Ó[µ~9¯qV$i½@bˆá2 õúúøÖì¿<Ä”ZÀ™´mRÁ3 vÈ{bÀ—U¼a“JÉÌŸ†íOÃö4l’Á3\®zDßÔÞÌâ ›”’HÖ²µ—ÓñAÓ¤’)ØÚ½¦IÛ:K7ë Ø,OÒ‚|ª±I5áqÀ<©°Š.O:¢ï'ñþÌâ혰1Ñ̯\aë’K´%«çU™e‹r‹/q¨]³ç„iRÌWe5õU´WÕâ )Pa(¡Æ¸@MóäÂÕƒºÓ7«À²#ŸÖ»_ÿ~ç:ôß}Ѹ¢ìÓŽ‹-Qм³b”ŒÞµXßÂé ¡)POHKd.;¢ï©'¼™ 'Àµ6Æ+»Y/À%Äꉗ£0yz‚×öüè±o +äÿú4ù´ëU¶ƒ«Í¼uë‰ó¬ÀÏÆ×iaÍÛìèóÀk ìA“Ç‚Ë®òñ‹'“$`%¥ ‚h.w<¢ï©r¼™ rh?gw¦?&Í|µïb‰×Õé…¼YA0°Ø&Ÿö[†²Hk0 È6wu F©Þ'WÉé„Ëã´F¯,9ÏÜÔK*Ñ–(qH=ÃML<ÃC_4«]RÍW³b{Ú5¾+|lÄuLŒ +q­ ¦€Fôý?³xÄ5ë²ÿÇ +œ”YöÛ¦{—bÏ;Ð#Ë«nðë*.¦x\I³ƒ*ÁÉ‹êc?”ç®jzåsÚ$7MYøy9œÃ:YÀЊ¯ÕS3»ô=ÕŒ7³Ô S„ËÁ½^,Ðãé †Í_´Ž/:sÛQ4ÑuóhpJi=b:¿}:r™ËÝ(®›·ð¶ÖA›CBšÅšj^€é÷iu™ôþgY»K?@3c5, `…±pˈ¾ ý™ÅšiK†kã7 Îsd‘X™!5„»ß³NÏÓ,mfs]¦/ÇSí;]á^;Ñ÷”‡`Ì›!%a6œµÑ÷Ü of'€C"ã!‘øns35;¶îßîEæäøþò„yÂÞóåå•ÃB0­ñ)Ï—é”gé%’í‚Ù¾p¶ u§cÚ¼ð|¿Ñ1U!.É™]þ1‚wé{"Ø›Yü%9š(>ø«ç•K.C€a¾©›2Oÿ›|6…Ž¶I‚‚o}Xÿæ°±ùòyk¡¾ñ›.o +»äýàáÍ*Þ¾YJôP@òįI¯ãMzá賩ÿº± ãò3¬>+º±$’†(ö|ð’ªíKþãa%©Ï +endstream +endobj +2226 0 obj << +/Type /Page +/Contents 2227 0 R +/Resources 2225 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2228 0 obj << +/D [2226 0 R /XYZ -16.307 900.716 null] +>> endobj +2229 0 obj << +/D [2226 0 R /XYZ 56.693 759.068 null] +>> endobj +2230 0 obj << +/D [2226 0 R /XYZ 65.161 752.393 null] +>> endobj +2231 0 obj << +/D [2226 0 R /XYZ 56.693 705.867 null] +>> endobj +2232 0 obj << +/D [2226 0 R /XYZ 65.161 706.55 null] +>> endobj +2233 0 obj << +/D [2226 0 R /XYZ 56.693 660.696 null] +>> endobj +2234 0 obj << +/D [2226 0 R /XYZ 65.161 660.707 null] +>> endobj +2235 0 obj << +/D [2226 0 R /XYZ 56.693 614.181 null] +>> endobj +2236 0 obj << +/D [2226 0 R /XYZ 65.161 614.864 null] +>> endobj +2237 0 obj << +/D [2226 0 R /XYZ 56.693 569.58 null] +>> endobj +2238 0 obj << +/D [2226 0 R /XYZ 65.161 569.021 null] +>> endobj +2239 0 obj << +/D [2226 0 R /XYZ 56.693 522.495 null] +>> endobj +2240 0 obj << +/D [2226 0 R /XYZ 65.161 523.178 null] +>> endobj +2241 0 obj << +/D [2226 0 R /XYZ 56.693 465.693 null] +>> endobj +2242 0 obj << +/D [2226 0 R /XYZ 65.161 466.376 null] +>> endobj +2243 0 obj << +/D [2226 0 R /XYZ 56.693 408.891 null] +>> endobj +2244 0 obj << +/D [2226 0 R /XYZ 65.161 409.574 null] +>> endobj +2245 0 obj << +/D [2226 0 R /XYZ 56.693 363.048 null] +>> endobj +2246 0 obj << +/D [2226 0 R /XYZ 65.161 363.731 null] +>> endobj +2247 0 obj << +/D [2226 0 R /XYZ 56.693 317.205 null] +>> endobj +2248 0 obj << +/D [2226 0 R /XYZ 65.161 317.888 null] +>> endobj +2249 0 obj << +/D [2226 0 R /XYZ 56.693 271.362 null] +>> endobj +2250 0 obj << +/D [2226 0 R /XYZ 65.161 272.045 null] +>> endobj +2251 0 obj << +/D [2226 0 R /XYZ 56.693 225.519 null] +>> endobj +2252 0 obj << +/D [2226 0 R /XYZ 65.161 226.202 null] +>> endobj +2253 0 obj << +/D [2226 0 R /XYZ 56.693 179.676 null] +>> endobj +2254 0 obj << +/D [2226 0 R /XYZ 65.161 180.359 null] +>> endobj +2255 0 obj << +/D [2226 0 R /XYZ 65.161 169.4 null] +>> endobj +2256 0 obj << +/D [2226 0 R /XYZ 65.161 158.441 null] +>> endobj +2257 0 obj << +/D [2226 0 R /XYZ 56.693 100.956 null] +>> endobj +2258 0 obj << +/D [2226 0 R /XYZ 65.161 101.639 null] +>> endobj +2225 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2261 0 obj << +/Length 2312 +/Filter /FlateDecode +>> +stream +xÚÍ\[ë¶~ß_!¤Ý²4ï¢NŠæl“¦H‹6»@ +œ²DÛÊJ¢£Ë^þ})K>YËëõhiy’lQÃ9óÍ7CJ8X8øîâ›»‹Ù·Š$•ÁÝ"É0P„!wiðéòGë¸ÖW×TàË›F×ýéÂTýI³.Þ˜äcîûÿ»ýáêç»Ún® A‘½´Ûæ9×õJë¦î.ÛÞI lï’u½s¢ªàZ (úgÊ + Õå¬?u7^üýîâ· bÅã€B"± Œ’˜Iqñég¤öšUñH›–E F”I{ž·ÿ½ÀÃHàƒ#²•Í#D°ìuúL©Øh±½mö­m²yÞÝ£—Ê^Ø4nLñK¬ªWׄb|¹Ž«¸@ºlz vl:!Ýá»Ý§²sAB„,Bœ³î©ºÿ¶cÄe@Q¤¢ ÒÁâåcìH{ýßý¨ÕWñm½`Òµv•/‘d,_`‚B;<^N±DN ìF`µ ú“‡9ß™¿­âÌjjh37YÏsîÌû¾°àÓµ´“<¯â2ÍÊ%¬µm;AlÖÜYÖdº†µî<Ô°óxXà ªé\ï ÖqÇ Âú¶pqŒÇÃ(€"Šœ žõü/W›˜ + V$ˆò RQ$¬Wù‚…‘|7XpW R ¤øžþSi;sPXøIÏÿ¡ó5¬q¥ºÒet¡Ô$maí'n2SîÜ24ø𠵮ІRSÿRºãÄ;*:aÚCŽ”Rý´["›•Ä²' ¬ÆsÓ¥nÀB7ºª½ÄiñhŒÜvx> ¸íveÚ<›g¨¿tO˜NŒ"Rb$9ñgë»ò­ÝYÙ ö.Ù¦Ï!|½†(_œæKØVc¤³£Ãw²¥¯Þ¶¥±­zSmÏ}:Ýþ +ÅS›>ØåÏÊvå;Z™³²¬LXñC,ýØVÖ‡›üy<Ì_¿m6òÕU2¾ivx>_¬oÛÀS‘ßØœ•@d6e„·Ú}Q|a‘ç§ü¯2œãîÁ”Mü™?÷Ø•ïèÎÊNpN&CÂaÍLÓj é¬]¹ÇžŠY™10±x.¶Êõº2q²ÚËYÑÕär 6ÌPéëH¾£e9+;Á´$CE’ïË'S¹š^Õ–“æ"~†²úÂ<¼Û7ó[voNœ"¿Ž X -ùÖmõîŒFX1vN¾(G’¨wðÅ›ø!K{0ùØÕ£¿ÇFëu}i1ÛÊ Ò1…rå©ì(ÁË4¥žÊàˆÍܱ:'p¥6Çép×m9_ȇ…í1qV¢_¡ÀÃa›_ìÓ úc6#ùnþï®,ÜÿyH[f³€.ÂÚµ5 +x f 6’¯ ý¯Áyñüº"œ%÷`>eÊ“RŸZγò~"A¯7àÞf¬ óÿú®‡?ξjWÉê&{è·"ZOùÝ ¸ŠÑé>cŽ‡VêE«qëŽC›k(¤‰rdý`¬îØŸß¾¾C»}‚!¨Ô/€äåQ^¬Ýà#VÒ F1ù:æ\""ü­Œä;¼³²`žw»K‡jqïÀ,gÂh¢¹ÖÕÂTÔá³Å‰ÉebÌ}6!½3·F ºÎN4-±jžß›irάœu÷$§)qÊDó}+Ürl¢<®PpŒ¥þV(FòÑÆYÙ hƒ»M«Ò)©Ô  {Äy¶„Vä²&‡n“΀2ËøÖp¥ãtDGßÜŠ²¹é&«mV œ?ïóˆs`1zݪ/šuaêæ½´ü¨×³(D”ŸïXÈ­‡ O•µMbÖ‡ìYm/ØfõL—¿ ç6Ç2ð~Ôì)+“¼Mõu£ë}ÙÏt|à¬óRé1g‚#†ý‘³‘|7¸tW—ÌÒk¸ü˜ë¸lÁ;Î;ÛJO½ dk‘vÛý +ãd—Ë1r·hA#gå>l»“öVag$BŒy$C +ÄBdh$ßÑ»•àÝ–†JéD†nö÷Ûýù°SAc+4´ÏM•‚_Aˆ+ÓB D¿Åe׺–ªÆ¬á¸Ñc^îðñïÿT1„Cá¦ÖiÈ'ÔŸßS{äK.#ùn~ï®,Üï©=†Ü)ªÿíÁd@_jËR'º®ã +XŸ®“Ê@³€v]Ÿz×f\&+h¶­¨¸”‘ž$"ë¯ge”…ˆœLæm–§h]™µ®~eøø³ÓqzD"‘ðXJÉwDge' ˆåmÊ­”r»2Ðp¦®˜ëгT/â6Ÿâ)aHœ5Ý'A”zõÊ!¡ïÿ†gðD$¤ÇXOBŒ$ö÷þÎH¾›—º+ ÷RbY–rËàoÛõÚTнgºiÀk˵•\麞—¿oß`Ñ [î¿’~i*S@+YžNÐdÛÀHBdˆäy«„Ûüä$L É<†{B9’¡¿ì#ùŽ@â¬ì ±D+r+L’8-ök oxײŠ×«,©'|¿à´Ë-çƒJ¬ž ¢±Ó–­ì.t/¼z<¨…>K +¡B¡ðÇ2vÅ;~§ÊUU84(Š°c9!…«jk3ÀâÿS\¬s}Úð’bª 3é³½¿óë㟫ÖœNÉ"ö¾Ç1Â=2MýüÝÿòè( +endstream +endobj +2260 0 obj << +/Type /Page +/Contents 2261 0 R +/Resources 2259 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2262 0 obj << +/D [2260 0 R /XYZ -11.232 900.716 null] +>> endobj +2263 0 obj << +/D [2260 0 R /XYZ 56.693 742.047 null] +>> endobj +2264 0 obj << +/D [2260 0 R /XYZ 65.161 742.731 null] +>> endobj +2265 0 obj << +/D [2260 0 R /XYZ 56.693 696.122 null] +>> endobj +2266 0 obj << +/D [2260 0 R /XYZ 65.161 696.806 null] +>> endobj +2267 0 obj << +/D [2260 0 R /XYZ 65.161 685.847 null] +>> endobj +2268 0 obj << +/D [2260 0 R /XYZ 65.161 674.888 null] +>> endobj +2269 0 obj << +/D [2260 0 R /XYZ 65.161 663.929 null] +>> endobj +2270 0 obj << +/D [2260 0 R /XYZ 65.161 652.97 null] +>> endobj +2271 0 obj << +/D [2260 0 R /XYZ 65.161 642.011 null] +>> endobj +2272 0 obj << +/D [2260 0 R /XYZ 56.693 595.403 null] +>> endobj +2273 0 obj << +/D [2260 0 R /XYZ 65.161 596.086 null] +>> endobj +2274 0 obj << +/D [2260 0 R /XYZ 65.161 585.127 null] +>> endobj +2275 0 obj << +/D [2260 0 R /XYZ 65.161 574.168 null] +>> endobj +2276 0 obj << +/D [2260 0 R /XYZ 56.693 527.56 null] +>> endobj +2277 0 obj << +/D [2260 0 R /XYZ 65.161 528.243 null] +>> endobj +2278 0 obj << +/D [2260 0 R /XYZ 56.693 481.635 null] +>> endobj +2279 0 obj << +/D [2260 0 R /XYZ 65.161 482.318 null] +>> endobj +2280 0 obj << +/D [2260 0 R /XYZ 65.161 460.4 null] +>> endobj +2281 0 obj << +/D [2260 0 R /XYZ 56.693 413.792 null] +>> endobj +2282 0 obj << +/D [2260 0 R /XYZ 65.161 414.475 null] +>> endobj +2283 0 obj << +/D [2260 0 R /XYZ 56.693 367.867 null] +>> endobj +2284 0 obj << +/D [2260 0 R /XYZ 65.161 368.55 null] +>> endobj +2285 0 obj << +/D [2260 0 R /XYZ 56.693 321.942 null] +>> endobj +2286 0 obj << +/D [2260 0 R /XYZ 65.161 322.625 null] +>> endobj +2287 0 obj << +/D [2260 0 R /XYZ 56.693 276.017 null] +>> endobj +2288 0 obj << +/D [2260 0 R /XYZ 65.161 276.7 null] +>> endobj +2289 0 obj << +/D [2260 0 R /XYZ 56.693 230.092 null] +>> endobj +2290 0 obj << +/D [2260 0 R /XYZ 65.161 230.775 null] +>> endobj +2291 0 obj << +/D [2260 0 R /XYZ 56.693 184.167 null] +>> endobj +2292 0 obj << +/D [2260 0 R /XYZ 65.161 184.85 null] +>> endobj +2293 0 obj << +/D [2260 0 R /XYZ 56.693 138.242 null] +>> endobj +2294 0 obj << +/D [2260 0 R /XYZ 65.161 138.925 null] +>> endobj +2295 0 obj << +/D [2260 0 R /XYZ 56.693 92.711 null] +>> endobj +2296 0 obj << +/D [2260 0 R /XYZ 65.161 93 null] +>> endobj +2259 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2299 0 obj << +/Length 2206 +/Filter /FlateDecode +>> +stream +xÚÍ\Û’Û¸}Ÿ¯àÛŽ«2î6Ov¼^'µIe=“Jªì­EB=©ðbÍäë¼ØkQ¹9 ´û$JË9Ýèn +ë?^½º»Z¼8ÐHK*ƒ»U )’a C, î’àýõ;“™¨2/n¨À×ÿ(jSõ—«¢ì/êÍpóu¿*ŠûþËnzñËÝßl77„ -D/í¶~ÌLµ1¦®ÚÛ¶w(Û»dmï\†(¤*¸H‡CÿL[¡º^ôDêöÁ«î®þwE¬x@H$5 BMÄ4ˆ·WïÁAbïY×*Øw-· Q&íuÜ^ý|…‡™ÏÌç>¸FË^·”ŠN›Ï-ÞØ&ÝxxûŒB\*{£kü:ú”&/n$Æ×)£­)¿qC¨ýV›í.‹j³ˆ‹í¶ÈqU-vE•Öi‘§ùÙï}'vÛ~Ú'À. i2B,Ú hØN'—EZé 4ÁêëH;ýëqTu‡zÁ¤mí*_ "ÉX¾À…v!=|½$ÒTÏ l'°\ýÅ»a[,ñgÅE˜ñ~¥ÿm–“ív†ýùûᇱÐà}·)Þ™mñÉ<ôdÛeQ&¦„µÊ¢ÉXÛ:Zf@šÊ@…°v–Q¶Q kGYV4ÀÆYZZ~IT P($MfÌìOjNfy¨²Å¾ßŒÈ^ÿ¹o3æ›t­Mµˆ’öKîÐ._ŸkÚ·ìoêp¥‘°—ƒB0&V‚¿\‘þ +FcRs+-ôGcR1k(”7Éw£1weá4&•DJK»mv»¢"³Ûs°¦ë2ÚmÒ¸©ÓÝû€~R«ëªN³ ÖI±Z øÖ.1«¨ÉêñZ…Á`PIzI"’B!Å.ÏCÏ÷{¤uʸ…Š?Â`v ¡?¾8ïH®ªN` N:#éÀwM Ä?”'òèÓª°Ç¨wuVé¬aiÚM ”úeƒ=Éâ겄`ƒRSŒÅ9æˆjâçBÛƒ/£Þ€>’ï†tweáPZ¶VÈéo ø1eY@Á»ŸìÈÄYTB™ñx€èi£Nkè¹iY LļÐ1Î/‰y!‚ωy;¥U/Jc½>ƒ¶PÔ ¡Ì#ê¹BDs¨?”ïˆzge' ^ÎÖ8Àþe’X_ªØAT› +ˆûÊDe¼J-·Õ¼168 +ôZTLå.u‹÷MæÊ'¾âŸymòzѯ٢²7l³jaòÿ×è#ôH G˜x … +ÌþB¡#ùŽ¤á¬ìÒÀ²3VÝ¢¿µþ5Ô2š‡ØìÚÃ_”Aƒ€•©à!@¨éOó™±ýÏ¢ŸG†;ôét@ÓD¶á‚w›é’lÃ"üO6Ö« +™Ç&'…¹æ@¼#Õ¸ª:iˆ´æO¹emWin& ÌKÅjþSËš_5ùóœ%PB¦È³GøŒõX¶ÒÀYö8³Ð|yeýÛ¸ +K³*J3É=™˜Õ¿%f9Z©¯Z…ˆ[ŽÚÜ@9Ë¢\Qr¨ceÇ=ÿ˜gû|Šh R¿PŽ—¡|m›ØGcki¤íÕ +ëƒY?µ²‡L·¹’ïfÒÝ•…Ût&ìŽ ‰‹M_¥ÐXÁ²Zóý‘Ý9{r‡5îBïÍüéü,$ÑÔ'À¹Ô¼‰3ÓTÅïÁ3˜5´ä \—4æY¡á1Íp‚ˆða(¤þ²#ùŽŒà¬,€”@XIÛ—F˜ YŒ$]­ì>Êchäpöhà>zœYbœ¥êRž<¹;:Íó•Ú«<› H°'H&/êôP+ÏšY6i–LH“2Bà3 c$”¿ŒÇH¾#Á8+;ÁåÀ ©_¬jò!Íã¬IÌÌ ®÷ÅXë3§’]TtW«4Ç= „ÛácBÆ$y„ê }Ñ"p +¤°úýK­¨ÅÇÓTĹ¿äH¾›¸+ g*Tg½ºUWM-£zdÈïç­q8Uã|Fè.}ª²êÛ›RPÄ/j×)Ãí qÓáxUM¾\»Ö>QJ•ÔîbFü¡ð@¼#]U€AÂ:æï–òeSÛ¨NÛwŽ¡ Û¦õÌ^~•þßÌœ9w=¡ˆ*1U\¦]Ǽ4ÓV‡Õ›±1Ü$Ÿw°âMTFqmÊ©‡ j!ÇèEë­‰=¸ +FÝYçy¦Ÿ„æ±Êš´( ýUYä»±Ž»²pÚ!²]Í~)ËöuPx²°©3pòtÎîLlˆ W«Æ'@Ä1Ñ|»›eS×E>{ +4Jü”V)ø­ÙýZŠgi|o&p>¿ÀÛÅb.› +$‚#k2/š +õ9W*ÐÏP&PÁ$ž=ñÆXA_ˆ¸ýëë^½|=@·¸y®/N„õLéEk Õˆ31»]†SnVT÷ο?;‰5¡ðg'å;ÚIge'ØIB“ìé€Û““wN,ª7Q¾6'ßL¾9O×oïþþÐn•Q^õÿö¬«)AE0ÇØù~{à„Œö_àrí»h]Íîyší^¨Â^ìžVˆ¯Šwƒ§³ªð|±Šr<„ÃwQY½XðíÚÔ£¨ï §BD„¿å¡x·ÕuVν­Â\Ÿ€i ë r&ÿ1*çõÁ£$™ûßhê²J­â‹3é…*›=¼SyÓóÝdéò‰ÖßÞÏÜ. êë£?ââí[%ú9ÿÃõ+]ö}o +endstream +endobj +2298 0 obj << +/Type /Page +/Contents 2299 0 R +/Resources 2297 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2300 0 obj << +/D [2298 0 R /XYZ -16.307 900.716 null] +>> endobj +2301 0 obj << +/D [2298 0 R /XYZ 56.693 742.31 null] +>> endobj +2302 0 obj << +/D [2298 0 R /XYZ 65.161 742.993 null] +>> endobj +2303 0 obj << +/D [2298 0 R /XYZ 56.693 697.172 null] +>> endobj +2304 0 obj << +/D [2298 0 R /XYZ 65.161 697.855 null] +>> endobj +2305 0 obj << +/D [2298 0 R /XYZ 56.693 652.034 null] +>> endobj +2306 0 obj << +/D [2298 0 R /XYZ 65.161 652.717 null] +>> endobj +2307 0 obj << +/D [2298 0 R /XYZ 56.693 606.896 null] +>> endobj +2308 0 obj << +/D [2298 0 R /XYZ 65.161 607.579 null] +>> endobj +2309 0 obj << +/D [2298 0 R /XYZ 56.693 562.43 null] +>> endobj +2310 0 obj << +/D [2298 0 R /XYZ 65.161 562.441 null] +>> endobj +2311 0 obj << +/D [2298 0 R /XYZ 56.693 516.619 null] +>> endobj +2312 0 obj << +/D [2298 0 R /XYZ 65.161 517.303 null] +>> endobj +2313 0 obj << +/D [2298 0 R /XYZ 56.693 471.481 null] +>> endobj +2314 0 obj << +/D [2298 0 R /XYZ 65.161 472.165 null] +>> endobj +2315 0 obj << +/D [2298 0 R /XYZ 56.693 426.343 null] +>> endobj +2316 0 obj << +/D [2298 0 R /XYZ 65.161 427.027 null] +>> endobj +2317 0 obj << +/D [2298 0 R /XYZ 56.693 370.247 null] +>> endobj +2318 0 obj << +/D [2298 0 R /XYZ 65.161 370.93 null] +>> endobj +2319 0 obj << +/D [2298 0 R /XYZ 56.693 315.391 null] +>> endobj +2320 0 obj << +/D [2298 0 R /XYZ 65.161 314.833 null] +>> endobj +2321 0 obj << +/D [2298 0 R /XYZ 56.693 269.012 null] +>> endobj +2322 0 obj << +/D [2298 0 R /XYZ 65.161 269.695 null] +>> endobj +2323 0 obj << +/D [2298 0 R /XYZ 56.693 223.874 null] +>> endobj +2324 0 obj << +/D [2298 0 R /XYZ 65.161 224.557 null] +>> endobj +2325 0 obj << +/D [2298 0 R /XYZ 56.693 178.736 null] +>> endobj +2326 0 obj << +/D [2298 0 R /XYZ 65.161 179.419 null] +>> endobj +2327 0 obj << +/D [2298 0 R /XYZ 56.693 122.639 null] +>> endobj +2328 0 obj << +/D [2298 0 R /XYZ 65.161 123.322 null] +>> endobj +2329 0 obj << +/D [2298 0 R /XYZ 65.161 101.404 null] +>> endobj +2297 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2332 0 obj << +/Length 2023 +/Filter /FlateDecode +>> +stream +xÚÍ\KsÛF¾ëW r‰\µÎ3ÙÓæáTœu\1uH•DIXx0hÉùõÛ @[„H¹¡á0{P$==¯ß–~¾øþúbòRÑÈ«¹Ž®‘æDÇ‘a‚ˆ8ºžGï.ߺÌ%µ{qŽü­l\ÝÝ.ʪ»iVýÃËÙ÷eyÛ}øcúß^¿‚a®#V©ŽÛ´ù”¹zå\S·at]‹vt©cs])bã~|Ial.'Ý…iÛ¾xñÓõÅ_ ØÓˆEJmE[F4åÑ,¿x÷'æð  ÒšènK™GŠQÂ…†û,š^ü~Aû• GWdÇ[Z¨îdzϹÚJ±{mòH¶óí;†HmàÁ–ø6©7ÅÍò»WŒSzy_g“;w³rÙšÀ}ǨåÔ^~ÞŸl‹y ^Švjí÷ŠÂBIqb*-ÎeÛáoÀ aFîè³–Ú—¿"L³!E‰a0#<ÜgM,·'vË°ZFÝÍÛ~ã÷6q'¸`DÂm÷r]•kWímýcVÑ»+ ]oÖë²jpÄ-šp\“û²À‘Þ¯š<Ñ6URÔ Cž4é€=Ìš`)‡%ƒ§‡ôÈõ8,)'Ü0X6._gIã&³2ÏËb’æÉÒÕ“Y’e妩'pºÖÅòß/ºåú1{HÜ):˜çI¤±DÁm/Ë{JÈÁèç;ÖÝáÖ][N³á”ƒ6Œ€Ò ¥öÙû©oQñšAI´ìÍT¯ÒÐÙ€«þË#ØKæó´Xâpº;aûÔ_? ±{ÎÎ L­‘*>¹½<‚ÀòtVדuY§­rƒµ&ð - Ó°2 ´„$J¨pØÚçï .oaG KÄÄpá®"íŒZ}jC¼*rrT–ËU:w8ÆS ¼Iª±7E2:'Ä©!ZˆßlÒlN:ߪI›Êš6X Me€#cÁ 9àïMañÐTÞµ¶ÛËVź¢A›°ä Žô¼Ò9’+–p˳Hr7_ +Œ}Ìù9ñ¥4#†|½NnÝ"ÍW +Æ•* °$%ÆÄဵÏßXÞÂŽ–”°@²5“ +Žiãªôo‡<ܯÿóëO'6s‡,/âµÆÛš³¢…Ià.Ïåpp){Ê¡5Ûûú>Çf|U„r…àÖªy0øû¡Ð_X< +¥‰PÇÏã —™n™mê¦ÌÓ¿e[0NmV.Ë‘ˆ”–‹s" F˜²'ÍÍ ø“Ú%Õl5)î¦Û›—E±WRT6 Û(eL¸0ápµÏßWÞÂŽÀ•¢DñX•ËËȈ¨.s$å«)Òª%hmÐÛc3),4—ö¬0⌈>úÿ©bF”ÉD8íó÷„‘·°#`D‰iŸò~™ÞŸØáËÓºsý£oŽ§7~+qÜ+Wo²‹Ù`úáôÚª!ßýü±âØó˜æÀrý¬C‚L塃xP¹¡[uF áÇpŸzŸøˆ¯°†ü£«FÈ*Ï]1£¿ ½¤²þö¸,Ø¥@{3W=šÚ¿žžÚØAl°…ϱ ÕpÛ®Òê©$¥‡ +EBU}Â)‰?¯>Ùódú$ÈTF8,–B@ †Ë]rÀ ~ÂDÕè¦8~µÃÚÊE²Éšg›¿Æiø»åf¹jNæÜ:·F×ça'rìþ6Éì™ý­ÔÁ¶ï<„: –Ä*` ²Ïß3ñvD¡²O,¹¤N±‘jÛjZàQ&`D£° Vé¬i4n1ÏI¢¿J«Û¤+áþZÖîÖ»LŒ\#ƒÀ&`æõ=t¡1àï‡ añ™7crÖgÞ^§6s>Ë\RlÖ#Ý9ð§°Q­»ÜÕéMš¥ Ò¦­ÚäŒ_m«›OÚ®´®èmX儦ӗ?h¡­ŠÄAlWŒØpmQûì=ñè+*ÞPq¥W}ºìxçby%ð6gí‚ç\ªŸÓÿcò1w6凶¬ +RÅåLF¶·s +gO†ûéÈ€¿ç¡öv„‘¡°Ý»æé·m ŽÖ¤e1ËÒÙí3Oü¶«÷U‰ ÞÜZ>ÎÝø'Xæi“`mÔf±«((\ÕY{éYl —'襟—³ºšM*—Ìs7¢Ýi  ·É”!‚‡k¦ð÷SþÂâüM­ïï\`ß7¡úð.i6•Û+ÅÀp qÖ–y&8‘Ìœþç Ïã‘”ˆ,ƈ è6ø{"Ë[ØÈb’Ä»ŽðQ¼K…4°•!kñåýX“ èYÛèÁéVVž@=ëCÿÏARpžísþÃÿ+üm‰ +endstream +endobj +2331 0 obj << +/Type /Page +/Contents 2332 0 R +/Resources 2330 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2200 0 R +>> endobj +2333 0 obj << +/D [2331 0 R /XYZ -11.232 900.716 null] +>> endobj +2334 0 obj << +/D [2331 0 R /XYZ 56.693 741.747 null] +>> endobj +2335 0 obj << +/D [2331 0 R /XYZ 65.161 742.431 null] +>> endobj +2336 0 obj << +/D [2331 0 R /XYZ 56.693 694.923 null] +>> endobj +2337 0 obj << +/D [2331 0 R /XYZ 65.161 695.606 null] +>> endobj +2338 0 obj << +/D [2331 0 R /XYZ 56.693 648.099 null] +>> endobj +2339 0 obj << +/D [2331 0 R /XYZ 65.161 648.782 null] +>> endobj +2340 0 obj << +/D [2331 0 R /XYZ 56.693 601.274 null] +>> endobj +2341 0 obj << +/D [2331 0 R /XYZ 65.161 601.958 null] +>> endobj +2342 0 obj << +/D [2331 0 R /XYZ 56.693 554.45 null] +>> endobj +2343 0 obj << +/D [2331 0 R /XYZ 65.161 555.133 null] +>> endobj +2344 0 obj << +/D [2331 0 R /XYZ 56.693 507.625 null] +>> endobj +2345 0 obj << +/D [2331 0 R /XYZ 65.161 508.309 null] +>> endobj +2346 0 obj << +/D [2331 0 R /XYZ 56.693 460.801 null] +>> endobj +2347 0 obj << +/D [2331 0 R /XYZ 65.161 461.484 null] +>> endobj +2348 0 obj << +/D [2331 0 R /XYZ 56.693 413.977 null] +>> endobj +2349 0 obj << +/D [2331 0 R /XYZ 65.161 414.66 null] +>> endobj +2350 0 obj << +/D [2331 0 R /XYZ 56.693 367.152 null] +>> endobj +2351 0 obj << +/D [2331 0 R /XYZ 65.161 367.836 null] +>> endobj +2352 0 obj << +/D [2331 0 R /XYZ 56.693 276.492 null] +>> endobj +2353 0 obj << +/D [2331 0 R /XYZ 65.161 277.176 null] +>> endobj +2354 0 obj << +/D [2331 0 R /XYZ 56.693 218.709 null] +>> endobj +2355 0 obj << +/D [2331 0 R /XYZ 65.161 219.392 null] +>> endobj +2356 0 obj << +/D [2331 0 R /XYZ 56.693 171.884 null] +>> endobj +2357 0 obj << +/D [2331 0 R /XYZ 65.161 172.568 null] +>> endobj +2358 0 obj << +/D [2331 0 R /XYZ 56.693 125.06 null] +>> endobj +2359 0 obj << +/D [2331 0 R /XYZ 65.161 125.743 null] +>> endobj +2330 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2362 0 obj << +/Length 1810 +/Filter /FlateDecode +>> +stream +xÚÕ[KsÛ6¾ûWðVg¦‚𘜚¤ÍL§M¦±I2Š„dÅ©’Tl÷×wùmÑ– ÛžDQàb ì·ûíb…ƒE€ƒw'¯ÏO¦¿„(”Tçó@R$U  CLçIðéô£IMTš*ðéû¼2e{9Ï‹ö¢ºè~|›Ç¯óü²ýòçÙo/¾œÿ +ÓLA¡­´³ê&5å…1UYÿ ³“@Ãì’Õ³s©¢:˜ªn~N@ Ò§ÓöƒÈ°~ðäçó“¿NˆÇ „D2d + ’˜ñêäÓ$ð(€x¨ƒ«fä*#Ê$\§ÁÙÉ'¸[ *Ö—õÇ»{’a=ˆ¢â!"XÖ’ëûƒž\…: +Ì÷Š²€iD¸ÚNÐ +&õhWùIúò&HIm5Ãýe–(¤á”m‹ ½øØY"lac ¼±ÄNqNgõDI²ÌÍþï|šHŒO/L”˜Ânì,Š/E¾É»ñËU´0»CwÞsÇ8ow^HhÚóùÅ[<Š(çíÚ}¦Tì¨Ü[o8n_Få&›-^¾˜ +ï{]¦Ó+3»0éÁõ«Í*TfµN£ÊLã|µÊ³i³*å´]øÉlÖÛ½zzq0hª‰?|Ip ŒRoøêÉw×»²öø’!GðÑìzf®þŸØ’Z#Æø˜Ø’°~œŽ­¸,§ë¼\VË<ˆà»%²¤=…òˆ,Λë Y»ò‘å¬ìdqXj-Û]Ÿ/¯íÌ?5óÊnd}_.¢Ú"†¢BªÀá¨h!‰P¸ÃåˆÀÀIÆüC„ +¸4÷Œž|7`¸+;žÝÆœ2_;{¿ÝZkCulÓbLC +vAwCŸm–i‚®W©¥9 IÆÚ£9 Œ4ý™ó®|GsvVÖÞœ…àˆl³åŸ†d(Õvw»‘ð<ên<|äÔ\W&+¸û}Ò×E¾6Eu33µ´2”£ËQbCG¯Zpu+´4»·`Ž€æš{ÄæSás»ò1ç¬ìÌÁR3ÒÑïŽ>÷ Ôìèd/œšŸ‡ ÕdÑ,5ðZ‚=®úâáþ‡uªòxÀ$óej>ãä:Cf£z®4"ô9‰Ø[àÏI ü7E´2Åñ9&̆ˆý9È쿢Ǝt7çન½kà#®u»Ç¿G—–ð¨«ØVó6ŠYf[()Óåâ¢Jo,óĨXô$ßyŠ§ 8 %tT 2‚h¨}u-3ô­i~€–ÕšgÞç–Ýù¦²¦ ¶áýÃÚ‘e% Ï/-—v‘çÉsK´¶#2jÅQz—öp€r™˜YTÔáÿ¡ãÉ*0×i›@M×›,®6ÍA{sdpG.ÚFxÇ;M¸añ­.Ÿ1& Á·W¤½²\sÆf›7(e+Í=ùŽÌYÙŒJéC»‹‰I=á(¿g}Œ½> endobj +2363 0 obj << +/D [2361 0 R /XYZ -16.307 900.716 null] +>> endobj +2364 0 obj << +/D [2361 0 R /XYZ 56.693 759.068 null] +>> endobj +2365 0 obj << +/D [2361 0 R /XYZ 65.161 752.393 null] +>> endobj +2366 0 obj << +/D [2361 0 R /XYZ 56.693 704.886 null] +>> endobj +2367 0 obj << +/D [2361 0 R /XYZ 65.161 705.569 null] +>> endobj +2368 0 obj << +/D [2361 0 R /XYZ 56.693 658.061 null] +>> endobj +2369 0 obj << +/D [2361 0 R /XYZ 65.161 658.745 null] +>> endobj +2370 0 obj << +/D [2361 0 R /XYZ 56.693 611.237 null] +>> endobj +2371 0 obj << +/D [2361 0 R /XYZ 65.161 611.92 null] +>> endobj +2372 0 obj << +/D [2361 0 R /XYZ 56.693 564.412 null] +>> endobj +2373 0 obj << +/D [2361 0 R /XYZ 65.161 565.096 null] +>> endobj +2374 0 obj << +/D [2361 0 R /XYZ 56.693 517.588 null] +>> endobj +2375 0 obj << +/D [2361 0 R /XYZ 65.161 518.271 null] +>> endobj +2376 0 obj << +/D [2361 0 R /XYZ 56.693 470.764 null] +>> endobj +2377 0 obj << +/D [2361 0 R /XYZ 65.161 471.447 null] +>> endobj +2378 0 obj << +/D [2361 0 R /XYZ 56.693 423.939 null] +>> endobj +2379 0 obj << +/D [2361 0 R /XYZ 65.161 424.623 null] +>> endobj +2380 0 obj << +/D [2361 0 R /XYZ 56.693 377.115 null] +>> endobj +2381 0 obj << +/D [2361 0 R /XYZ 65.161 377.798 null] +>> endobj +2382 0 obj << +/D [2361 0 R /XYZ 56.693 330.29 null] +>> endobj +2383 0 obj << +/D [2361 0 R /XYZ 65.161 330.974 null] +>> endobj +2384 0 obj << +/D [2361 0 R /XYZ 56.693 283.466 null] +>> endobj +2385 0 obj << +/D [2361 0 R /XYZ 65.161 284.149 null] +>> endobj +2386 0 obj << +/D [2361 0 R /XYZ 56.693 236.642 null] +>> endobj +2387 0 obj << +/D [2361 0 R /XYZ 65.161 237.325 null] +>> endobj +2388 0 obj << +/D [2361 0 R /XYZ 56.693 189.817 null] +>> endobj +2389 0 obj << +/D [2361 0 R /XYZ 65.161 190.501 null] +>> endobj +2390 0 obj << +/D [2361 0 R /XYZ 65.161 179.542 null] +>> endobj +2391 0 obj << +/D [2361 0 R /XYZ 56.693 121.075 null] +>> endobj +2392 0 obj << +/D [2361 0 R /XYZ 65.161 121.758 null] +>> endobj +2360 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2396 0 obj << +/Length 2015 +/Filter /FlateDecode +>> +stream +xÚÍ\MsÛ6¾ûWprhí™Â7öÔ&M¦ï›6ÓØéLÒ%Ác~¨$Ûýõ]Š”Çb$k)ˆJQ"¸Xa÷y°Ø]™³€oÎ~º>½V4°Äj®ƒë›@s¢ÃÀ0AD\Oƒçï]â¢Ò]\rEÏË+W6—7yÑ\Tóöæ«|òSžß6oþ¼z{ñ×õÿ`šKƈUª‘vU=$®œ;W•õm˜f×¢ž]ê„Ü—ŠØ°_ršóQó´­<ûùúìï3âiÀ¥‰¶"-#šò`’ž}ø‹S¸ +iMp·™ŠQÂ…†ë$¸:ûýŒ¶+AAÅú²~yóD2¬ yJKÕµäúsEAO©N¬±Aá‚›¢°C˜ ×4‚Y=ÚW¾"L³®|E µAÍðt™5±ÜAÙ•Àb4ï[O®|A®<±U\2"Eë=ü²²ýn1Á‡KMéyœ.Šü³K]Ö¸Ùã ƒ4lèµáLk‹ð0c†³È¦|O‹x+‹°H¨äµ+¤BÝXäWXæ)Î(¥‹ŠÉ7vÏæ ü¹7¾Ê¯Cö¦ ³ æ;›ò=}Ç[Ù¾Ã,Q¬eö§S¬ïdñÄ!¡?ɳ7´ÞÁp³GŸãYTÅy†?^VZ WMv3ªpÏØïéd¾ªöð1jˆRf½¤x†ºÉ!¼ñô‰½FÓVÁØ`VëÈ÷3›¿²x»iemc·—yQ¸I…µ\U8$?Lò$/âlVö5›Xñá̶)ßÓlÞÊö0›à[6V{÷ÙQ’tùì»öƒ]›ržbW"I5fñ¤·…)ðMÎÐy–b™Ýî8 ì>Dœ– +öÅcð¡E‚OàeNÉ|¼OIùõr¢B† H8R=àá #ß“p¼•íA82$ëBF/^Ø]DfQ{0CœMÝ}·â¹¿á&ú»gÔ! ÄÑ⤂ò¯= +󫻸‰v¸nŽ|?èù+Ûz iW7ñôªT0ÀþýL`¯opˆF =i¾3ÄX5`ŽÄ׌X!Ä…‚;¡›ò=qá­,\I«ÿ˜¥Ç†Àã%²%ænî +ç“H^w£l‹ÿ¶ÕퟢÊÝ·êDÈØ8Ë‘)™±Cwá“|ñ r\uä¯]ºª/ÅÕñ9i¡!;ižaUò51×(»»Z]¼Î*ò [µä ÐIl[àT&‡k[èÈ÷äCoe{ð!,µ\ÿ†ïm>‰’ø‡ÍJhxckkO¼§É}ÂfÜãn-p¿g‚%ëu:!„Yh—úëG)Lƒ"fÀ^¦B"øp½ù~¨ôWJ¦)ÑLôîõ­¢ñê8‹¬¤WMKì±›ˆÒèÖöÛ¹óbŠ- `©û#Ñ4ÇÆsI>‹@OÑm€nYfï +qÒV&‘|ÐV¶¨] +©›ÐËp<¶)ߓǼ•íÁcLИÿÄi+Ê&ó[FÇ¢sQ—Ïìeh»Ì¡®Ñ=›ã(Ë:,Ú‡I6ŠñS2‰‘DY㟾Üþ´b¶ýƒI Õöÿñ/$[~ +endstream +endobj +2395 0 obj << +/Type /Page +/Contents 2396 0 R +/Resources 2394 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2393 0 R +>> endobj +2397 0 obj << +/D [2395 0 R /XYZ -11.232 900.716 null] +>> endobj +2398 0 obj << +/D [2395 0 R /XYZ 56.693 759.068 null] +>> endobj +2399 0 obj << +/D [2395 0 R /XYZ 65.161 752.393 null] +>> endobj +2400 0 obj << +/D [2395 0 R /XYZ 65.161 741.435 null] +>> endobj +2401 0 obj << +/D [2395 0 R /XYZ 65.161 730.476 null] +>> endobj +2402 0 obj << +/D [2395 0 R /XYZ 65.161 719.517 null] +>> endobj +2403 0 obj << +/D [2395 0 R /XYZ 65.161 708.558 null] +>> endobj +2404 0 obj << +/D [2395 0 R /XYZ 65.161 697.599 null] +>> endobj +2405 0 obj << +/D [2395 0 R /XYZ 56.693 650.764 null] +>> endobj +2406 0 obj << +/D [2395 0 R /XYZ 65.161 650.775 null] +>> endobj +2407 0 obj << +/D [2395 0 R /XYZ 56.693 603.267 null] +>> endobj +2408 0 obj << +/D [2395 0 R /XYZ 65.161 603.95 null] +>> endobj +2409 0 obj << +/D [2395 0 R /XYZ 56.693 556.442 null] +>> endobj +2410 0 obj << +/D [2395 0 R /XYZ 65.161 557.126 null] +>> endobj +2411 0 obj << +/D [2395 0 R /XYZ 56.693 509.618 null] +>> endobj +2412 0 obj << +/D [2395 0 R /XYZ 65.161 510.301 null] +>> endobj +2413 0 obj << +/D [2395 0 R /XYZ 56.693 462.793 null] +>> endobj +2414 0 obj << +/D [2395 0 R /XYZ 65.161 463.477 null] +>> endobj +2415 0 obj << +/D [2395 0 R /XYZ 56.693 405.01 null] +>> endobj +2416 0 obj << +/D [2395 0 R /XYZ 65.161 405.694 null] +>> endobj +2417 0 obj << +/D [2395 0 R /XYZ 56.693 358.186 null] +>> endobj +2418 0 obj << +/D [2395 0 R /XYZ 65.161 358.869 null] +>> endobj +2419 0 obj << +/D [2395 0 R /XYZ 56.693 311.361 null] +>> endobj +2420 0 obj << +/D [2395 0 R /XYZ 65.161 312.045 null] +>> endobj +2421 0 obj << +/D [2395 0 R /XYZ 56.693 264.537 null] +>> endobj +2422 0 obj << +/D [2395 0 R /XYZ 65.161 265.22 null] +>> endobj +2423 0 obj << +/D [2395 0 R /XYZ 56.693 217.713 null] +>> endobj +2424 0 obj << +/D [2395 0 R /XYZ 65.161 218.396 null] +>> endobj +2425 0 obj << +/D [2395 0 R /XYZ 56.693 170.888 null] +>> endobj +2426 0 obj << +/D [2395 0 R /XYZ 65.161 171.572 null] +>> endobj +2427 0 obj << +/D [2395 0 R /XYZ 56.693 124.064 null] +>> endobj +2428 0 obj << +/D [2395 0 R /XYZ 65.161 124.747 null] +>> endobj +2394 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2431 0 obj << +/Length 2382 +/Filter /FlateDecode +>> +stream +xÚÅ\Ks㸾ûW°*9‰ ¼ANNÏÎd'©$;vjR5³ˆ‚%ŽùÐ’”ùõEʶ(Kn¢ö$ŠM ûë'‰ƒy€ƒOgï¯Î&"I*ƒ«ë@R$U†˜ +®fÁ·Ñ“]™ó1xôÏ¢6U{x]”íA½è.~(â÷EqÓþùïå?νúl§‚"!Zj—õCjª…1uÕ\¶³“ ´³KÖÌÎ¥BŠ†ÁX Huósf ªp4iˆŒšÏ~º:ûíŒXò8 HF,PAÓ ÎξýŠƒ™½f@< +ƒ»õÈ,#ʤ=NƒË³_Îp·زØ6?ŸžQ¶ëA Á²¡ÜœØòÉe@QFAi‚뽤 °®6´„I3Ú—¾@D’>} R2Íð|™%Šhtf×ËyÐ|é$ÑnáZøZ;Æ9AœuÒó×ÙÌÌÖÛ¿ŸRðm,1eEi`#ã"ËLÞÊãë£ë8nœþ¾J·ÚÇœt'vïÝ™é¤K‡;ŽBÁéï}Ðë$5pºë[¾˜¬¸…îxUdÐOWumÊ=ÌlIìÌ<êªMú€Ážß]<Þ ¡ˆrÞjÁwJÅï=Í ·ªÛÁôm2;_?öE©3S¾;ڨɖ©®Í¤‘ÿ"Ÿd:ÉÑ +ºØ2’áQZ,g”ˆ=ú~€èÏ,eÄ‘ýYoîÇäª˲˜¦&ƒ .Ͳ(k(é$‡ûù§žÆ­Ï†¯`À¥ju]êø¦§Õûyž½ÄËZEaŠ)® p Ã1ÆO ÒʧÇD‹â“ûÑ#¢¿þèÂò!Ô€(ÀùÚ} ¶é{¢€7³(`åS…òÑ-*MUAõõ%EÙ(£\)«äô +#Ö|'ù6z¡Ë¾RŽÆûýŽ¸û‚¥¹6¥Écs\/^`âà(-ê,}«Ë!­,ptRŒ!!‘xÈÜèj•Oçh™®’t†î30¨àIƆ)äòÁ@¥GßTü™ulïÝø ÏÁv^Š/öãL#9.¡H–WÃ-p¤&®¼ñzeo¾æ_ ó’|fî߉P"EÄpŠ´MßS‘¼™…+’ˆ0˜:'-âTWÕR×  p498˜t˜26ÕÏ6âƒ×9ãûÌEìô2‘ý¡Ëß+sX'öÝõoø¦i¸<ô÷7àL ¥‚±õdÔŠ×÷1&³ºò40Oîû&\<]jÕdcÁ¿cŽÛô¬ugŸ†(Ä­ÖwcÆPP–e!‡‰múž áÍ,$B°uÝ…ŠÞätL~›”E¾›ˆ´×þ|Xôr¶Ò@]I›,>L–¶qQÜÛˆ®JëÒ§¯ªšû˜š…¾…Zghêã«E•â®r•I¯ª*)òþï:í|®À¼­Ý ¡Â’# WœèÑ÷TaofTX†ö·‹‘u½“779kO“ªv‰Q¡«¤r°¶ÅÒä.ä˹C¡@—ñ"éëÉá[fE<í#ËkþÂrwŠ &äÀGóäú/m’°?ðÇo+S>LêÒ˜ÛÄÜuÿQûÿ%L +#ë€ð'PÂIJ@ðãi€8D-e6`ÑA…"5\Ñ¡Gßè¼™uh(A´Ë6î)¾”òÀ¹@x-o•çƆ6•.IÉÏ¿4" { /mV®øA¸Ý±“– xDVLJ·Ò!í/°hÀA„W4èÑ÷ÓbfáZÌGœy©ñ*=MÒ¤*P’-ËâÖd}O½»<><ÙÝÂäÐÄIC–HRÆåÅÌ7V‡@Wÿº€|Œq *’™ýíÁ¥ª¥ ¸bV>‡ˆ`¸Äˆ„Ñp°Mß¼™…G0\Ú%ß´ÚÝ%)4?¸‚æ–ÅrÕØ +¨ˆÜ½5Í…Bô¤Ö”qD7%Xsú¶Ú;§1Ê4£M¨.»ß£ï©3ÞÌ:˜Qb@¸g÷çE1OáÍ,yÕèÍ š²‹ušüO×I‘»xðY/un*WòÉ”™ÎoúØÔéŽ7«‹ä¥y% wÕ³…'Ë»qLÇÃ¥Î{ô=5ЛY«………à.²Q¸ägÉ|QC R MCûðL õžu¯Ê¾ít0‰,"ˆØTÞ£ï'?þÌÂœE©MSù{³Ó ü*,ÃeMCÛÐõÒŠFœì@¾Ë~‡ÖÍ8mc²µ¹Hð#¤$gE\•ñ¤4z–™¦[h7™×6Œìr•‡¯N*mÏôc9‡.°Ï1d?3ãIʆÓÅmúžºèͬƒ.r…"âìLYyY5i…µ.ÙáW+ pÉš/ÑGï új¦Ûi¹z]!8Aò´]ÍŒ„H½¥«ùsRÞèþ^TæÆ/°bز1dS3,Å›š{ôý ÀŸY(°œâgMͼ뵪ê"ëâ$(7®¹}J²áÒM=úž;ìÍ,|‡i„¡]ºéÒ4EdèKzÐ4k±ª—«š N®8<]9É°NW¤#˜#¬NZA‰Ý!~ZMí¨¿ô ©&¾Ñ[>!õ¶ã5E +endstream +endobj +2430 0 obj << +/Type /Page +/Contents 2431 0 R +/Resources 2429 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2393 0 R +>> endobj +2432 0 obj << +/D [2430 0 R /XYZ -16.307 900.716 null] +>> endobj +2433 0 obj << +/D [2430 0 R /XYZ 56.693 759.068 null] +>> endobj +2434 0 obj << +/D [2430 0 R /XYZ 65.161 752.393 null] +>> endobj +2435 0 obj << +/D [2430 0 R /XYZ 56.693 704.886 null] +>> endobj +2436 0 obj << +/D [2430 0 R /XYZ 65.161 705.569 null] +>> endobj +2437 0 obj << +/D [2430 0 R /XYZ 56.693 658.061 null] +>> endobj +2438 0 obj << +/D [2430 0 R /XYZ 65.161 658.745 null] +>> endobj +2439 0 obj << +/D [2430 0 R /XYZ 56.693 611.237 null] +>> endobj +2440 0 obj << +/D [2430 0 R /XYZ 65.161 611.92 null] +>> endobj +2441 0 obj << +/D [2430 0 R /XYZ 65.161 600.961 null] +>> endobj +2442 0 obj << +/D [2430 0 R /XYZ 56.693 531.536 null] +>> endobj +2443 0 obj << +/D [2430 0 R /XYZ 65.161 532.219 null] +>> endobj +2444 0 obj << +/D [2430 0 R /XYZ 56.693 484.711 null] +>> endobj +2445 0 obj << +/D [2430 0 R /XYZ 65.161 485.395 null] +>> endobj +2446 0 obj << +/D [2430 0 R /XYZ 56.693 426.928 null] +>> endobj +2447 0 obj << +/D [2430 0 R /XYZ 65.161 427.611 null] +>> endobj +2448 0 obj << +/D [2430 0 R /XYZ 65.161 405.694 null] +>> endobj +2449 0 obj << +/D [2430 0 R /XYZ 56.693 358.186 null] +>> endobj +2450 0 obj << +/D [2430 0 R /XYZ 65.161 358.869 null] +>> endobj +2451 0 obj << +/D [2430 0 R /XYZ 56.693 311.361 null] +>> endobj +2452 0 obj << +/D [2430 0 R /XYZ 65.161 312.045 null] +>> endobj +2453 0 obj << +/D [2430 0 R /XYZ 65.161 301.086 null] +>> endobj +2454 0 obj << +/D [2430 0 R /XYZ 65.161 290.127 null] +>> endobj +2455 0 obj << +/D [2430 0 R /XYZ 56.693 242.619 null] +>> endobj +2456 0 obj << +/D [2430 0 R /XYZ 65.161 243.303 null] +>> endobj +2457 0 obj << +/D [2430 0 R /XYZ 65.161 232.344 null] +>> endobj +126 0 obj << +/D [2430 0 R /XYZ 56.693 195.193 null] +>> endobj +2458 0 obj << +/D [2430 0 R /XYZ 56.693 167.64 null] +>> endobj +2459 0 obj << +/D [2430 0 R /XYZ 56.693 120.63 null] +>> endobj +2460 0 obj << +/D [2430 0 R /XYZ 65.161 121.314 null] +>> endobj +2429 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2463 0 obj << +/Length 2084 +/Filter /FlateDecode +>> +stream +xÚÍ\]sã¶}÷¯àäÉ;Sß@$6™Í¶I›iÒvíL2³›ÉP$$±¦H•„ÖV~}A‘Z[´µ¾HµO¤DðâŠ8ç~‚"Á" Á÷ßÞ\¼þN@’L7ó@2QÓÂ(¸É‚—ïu¡“F¿ºb‚\þTÝt§óªîN̲¿øç*ý¶ªn»¿^ÿýÕo7?Øi®(%D'íÚl Ý,µ6M{ÙÎNƒØÎ.Ãvv.#ˆX\ PQ??çV`_¾îTªöÆ‹¿Ü\üç‚Zñ$  UDŠ‚$,HW~#Af¯Y€«8¸Û\‚`¡´çEp}ñ¯ Ò? bUlOÛÃ÷$ÛçA#D\%²•Ü~/ˆÕ“Ë€ŠUPë`~Tv‚0Ê£ý`ÚŽö•/€J:”/…Hƨ?f Š©”Ý ¬Awò¾G¢]Âø‰½âœ{ôü¢gK]¬wØ˲_¿é¿ + >\IB.ßUu­Ssp×ÑÁER.6ÉBãF§U†™—¸qY•6¸‘-Qß-óR7=Öå€LŸi@Ä>?r|juöü¥ çÝZdL¨<ÀG ܘtƒL6unþxµû½?è¤lªòÍ«+ÊìÇ$[U%,êd½ÌÓô½Ñe“Û¯îWE7ÁËÏ‚XÅb:ý¥µ\!c“Ñ ßþþÊâé/{Ø-òÛ,Ó’Åyƒä{5ÇÛãÍÍUbš¡¡$ÞdCòsrOÚÎÙÈÔ['M“ÒFß?ЮqàV)MÈ;ÎwáÁd¼;”ïÉ;oexÇí£Že·Ä?¯³Äà©WÞžŒ{ëìQgÅ=A(qðMµú½I—õìw]py™é{]Ã>’hñþuGýLÏ“MaÀTë<}溩µ†ÔÆÒ¹†<ƒ.R¶J>hÂcžöº|$„Z5(ù|F»3äs'1È0œŽgBE6¯à“ñl ßgþÊ:ðŒØ{÷^'5–h6þë0>:¸Ös]ë2Õè(t³Ò¥IŒµØ6ï¼ùH]"–Q1ÝâÊ÷\|oeñ‹/Bz§kSkdÎaóqdäŸÌª Rª^²²žºFF8³:)³ÒÞ‚Ô¤ÌäæåÂ1Ç»^V›9…Yê-–5í/Ì3' ˆ„œï‡ò=ñî­¬Þ#dŸß™ê9»òÕÑeÞ;Ç#±ÅswÃÒW_ÆÒ«“©ö„>­nß`­ªä©é*Fùž(óVÖe2÷Ý»MmIlŠíð9ÿéËhË0u:¼éõñ}ÞÁ~Ÿ¡—ËLÖç%Ò4We´o vúU Œ\–jëƧ:/óC„‡Ó¥vùžüðVÖ"ÊúÔÎÂ"—µB:zäê—OÐË«ã”ÊKSoښé)¨à âHM›Cùž°ñVÖ6\Úcß”ù[¦‘¶#oÆ…Èf¶æŽ4YwK]Ž+û«kd[WÃ*ˆÏZ#ÔÂ-’'ÔHÞW3]›®¸qm’­y¨ .Šªi’z iU:5nùögʧ«Xp%ˆé’Ö|?;à¯,Þp¥ ÜWŠßf¶ý5¯FÏYk]$fhë¿ášåÉy®B Rž“u<"@—umšëºZÛ¹v©ÅsiÕñ³;/0Ž+`át„;ïÉ7_Uè&÷»'Ö:ÍdÒSç³ÑáS£ÇŽò[À˜¶¸ÐÓ'ŒÓ³Ò“…²h\zš6¸4YïÜái:þßɧ¤Cšc·®ÁöÜo±v¡i¼Tp1!mä¢Â³š¦@Fj\2«²-¬’z‘—`S]?²!µ^´Žºûz·ÅÅ<ºúøμ,‡wNÞÖ©‚ˆN¸k5$1DbºÄ@¾§±òVÖÁXQ„‹ÿc•c÷¨vhnÆÝÐúÝ?áÿƬ‰¿‹±±±W 33ˆ×ؤËMy«3˜çÅ®÷ls=ÏïYµ›ŽôLRPát‰ú@¾éý•Å“žÙ#ÛïæÐwû.¾»Ã†Cƒq"‡[:¼[³oÚmM‰AoÙbÍeºD>d‡5¯«•cEž {qÂÝmùžŒðVÖ‚ÛïnC÷{gIã‚Ø,¯O¥ÚËûî–9díìöp,g›Ås[Ql(…Ba#ã‘]eqVçȈŽÜ2Ò6†¶vR¥äÍ.ÚÎ3—⣘$žÐ9”O×>È÷4ÞÊ:˜û¨ùþÂ)¼#Ú¹Ùµ^IŠÎó÷uÙ°ðÄŸ$‚<ì®=j˜rƒ´K÷MßLyYnV–Žªèt ?ï‡yoUñ§JúÖ :][U5úåýDflÈ4ôSRlN/ûPE€vNgCe,ŽÇnÅ4·§u`¨ˆ dv`(—Êé:0ùž„óVÖq\ܧäo‹¢ºÃ6VšÛÿÍî¶tÓ˜j•ÿ}éotÒä§7T)oÿà¬ýË:KÍ‘û?ibQ°1íû 2÷uØ~À‰L·8¶ì˜ŽéJàÓ½|(ÞçÞª:Ðœ0ˆY_æ¿v‰çfÚ]»Qóé;PÞ/÷ Ã¿Ë|²7¶!ˆSô`žüù'@¤:å¿7þ à¶Q +endstream +endobj +2462 0 obj << +/Type /Page +/Contents 2463 0 R +/Resources 2461 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2393 0 R +>> endobj +2464 0 obj << +/D [2462 0 R /XYZ -11.232 900.716 null] +>> endobj +2465 0 obj << +/D [2462 0 R /XYZ 56.693 759.068 null] +>> endobj +2466 0 obj << +/D [2462 0 R /XYZ 65.161 752.393 null] +>> endobj +2467 0 obj << +/D [2462 0 R /XYZ 56.693 704.886 null] +>> endobj +2468 0 obj << +/D [2462 0 R /XYZ 65.161 705.569 null] +>> endobj +2469 0 obj << +/D [2462 0 R /XYZ 56.693 658.061 null] +>> endobj +2470 0 obj << +/D [2462 0 R /XYZ 65.161 658.745 null] +>> endobj +2471 0 obj << +/D [2462 0 R /XYZ 56.693 611.237 null] +>> endobj +2472 0 obj << +/D [2462 0 R /XYZ 65.161 611.92 null] +>> endobj +2473 0 obj << +/D [2462 0 R /XYZ 65.161 600.961 null] +>> endobj +2474 0 obj << +/D [2462 0 R /XYZ 65.161 590.002 null] +>> endobj +2475 0 obj << +/D [2462 0 R /XYZ 65.161 579.044 null] +>> endobj +2476 0 obj << +/D [2462 0 R /XYZ 65.161 568.085 null] +>> endobj +2477 0 obj << +/D [2462 0 R /XYZ 65.161 557.126 null] +>> endobj +2478 0 obj << +/D [2462 0 R /XYZ 56.693 509.618 null] +>> endobj +2479 0 obj << +/D [2462 0 R /XYZ 65.161 510.301 null] +>> endobj +2480 0 obj << +/D [2462 0 R /XYZ 56.693 462.793 null] +>> endobj +2481 0 obj << +/D [2462 0 R /XYZ 65.161 463.477 null] +>> endobj +2482 0 obj << +/D [2462 0 R /XYZ 56.693 415.969 null] +>> endobj +2483 0 obj << +/D [2462 0 R /XYZ 65.161 416.652 null] +>> endobj +2484 0 obj << +/D [2462 0 R /XYZ 56.693 369.145 null] +>> endobj +2485 0 obj << +/D [2462 0 R /XYZ 65.161 369.828 null] +>> endobj +2486 0 obj << +/D [2462 0 R /XYZ 56.693 322.32 null] +>> endobj +2487 0 obj << +/D [2462 0 R /XYZ 65.161 323.004 null] +>> endobj +2488 0 obj << +/D [2462 0 R /XYZ 56.693 275.496 null] +>> endobj +2489 0 obj << +/D [2462 0 R /XYZ 65.161 276.179 null] +>> endobj +2490 0 obj << +/D [2462 0 R /XYZ 65.161 265.22 null] +>> endobj +2491 0 obj << +/D [2462 0 R /XYZ 56.693 217.713 null] +>> endobj +2492 0 obj << +/D [2462 0 R /XYZ 65.161 218.396 null] +>> endobj +2493 0 obj << +/D [2462 0 R /XYZ 65.161 207.437 null] +>> endobj +2494 0 obj << +/D [2462 0 R /XYZ 56.693 159.929 null] +>> endobj +2495 0 obj << +/D [2462 0 R /XYZ 65.161 160.613 null] +>> endobj +2496 0 obj << +/D [2462 0 R /XYZ 56.693 113.105 null] +>> endobj +2497 0 obj << +/D [2462 0 R /XYZ 65.161 113.788 null] +>> endobj +2461 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2500 0 obj << +/Length 2011 +/Filter /FlateDecode +>> +stream +xÚÍ[Ysã6~÷¯àÛÊ[+7‰Tåas8ÙÙ™I2£ª3y€%Hb™‡BB–_¿MQ´-Ú²›¦è—h h4€þ¾>Ò`Ðà‡“o&'g犆Íu0™šD„Ád|}p‰³¥;sEGïsïÊúqžõƒ_î~ü.Ÿ~“ç—õ?¿}|{úçä 3fŒ¥jiýMâÊ¥s¾¬~†ÑYÁèZT£K’GÁXîÆ— +†Ñè¬þ`ÚTO¾ŸœüuÂ@< X 4ÑF¡aDSLÓ“OÒ`¿Dš(Øl[¦b”p¡á9 >žürBw+A®H#[¨®uú̹ÚjÑt;;‡&ÛyȪOD¤Žà‡mã7qqiOÇšÒÑóÒ]~u:fþ™Ú$Éמ¬³xšÏ)½-<™.ma§Þä:Mê1`õªaªöç »ÅBºÁ$e5íêkEa¥81‘ +ÌïÏsOØãß>”Ï ‘k¨³ªu_ùŠ0ÍÚòe$„õÃŒpß41ÜAÙ­ÀbÔvF±·Á₃¦¦ÞçÏfn¶g%Ÿ¶vP®W«¼ð¸ÆÐP mf“Y_9\‡i\L¬ÎÙ:½pE¹ßøyÓäðÇûØæÏÃH¥z;tw¤~g¯âYÔo ›º¢ª»¶é*qdUä+WøØ•ЩMH`ÞÃÁSGš( Ï–ü~ðì¯,ž:2$;ÏóÎΰØíö^c@v_<ì5º³ Üë©Ê¥s«¶ãÃzø|áÀí._ÿãp»öy»ýáæ[­’ø©¿·/XHô:¶4?ÌŒWyŒ¤9ÐTNË6i¨{æ%ÈDÔ4´ñ™JZ3hܵ +‰pîÚŒ±d*¢ƒay_~O,÷VåHi Ö¼‰ 7`ãýÀ|ö¤ .€ý“¸ôq¶ÀÚù%ÖfÓ«º_Ú ×2Ï"Wvá:zpBJðšþ[+N èî¾ßÙuû¿kþÆ٬̳ƃή–ñ´ŒÿvÄ]{—•qžuqâRÍŒ±5„’²¤Á€¿/¿'ð{+ÛÁ‰ H¥ècÇÙë. 븣uHàí‰(?µ¾<à+Ÿ·OÈz´Ã)¯¶7Tæ>P•Ñ;J5XKù1£0±ãÅ2¿†L[ §Á˜ Bõ𓦘0Ï!;>åj´©úm¿‚Ô8[4凥=åttuÊÔh×㹬~J«P¯®Mäw5ŠÚC‹{c³H’0Ô ,ŸÖ4”„sÖ4®RöZvgS×*…Tà"¬~.ê +Ù_ø LÝ„ðÀ eü˜……ri‹Õx™tà7%t9Žß”`„k1¿µä÷ã·þÊâùM IšêXz{ûŸ÷¿`sˆ›M^̺fîŠG„‡ò5=5†QòˆP˜¹Ü~7(Hc þˆ†ƒ‚Œ""øp1~K~?(ôWYÕoYx‹…ØCf“>f~ÐÝyŠkù;•¸–,ã$Î:ÂLB~#ä«úm©`™%»õÛüQ¿ýsQ9Øü3¥<ùâ]7älóø€š0k™ãùmÉ`Ϊ‡ß>Xf¬gáÆiup]b K˜DF GX".z0ÂjÉïGXý•Å–0¢¦Ãúué2t©ÚçGcý@ƒå +ŒQÍÉÂ?+jl÷š®,XT‰­$7ȃ‚òå™#åsd.µ²SìAEs(ö ?ú×Ó•JÞ“x‘u(̸ô¥‰šˆ¤³Ñ«¾P`¦2º%|ñ(á¿/¾l’OUS"¹8½S€¶1=èýC~á +_óûGooü] +f@®7îi+Üh¢è€I‡àCÝØ[òû{eñÄñ?‰뜕ù ²æ´ö®x$ýz—®ë}*’Zì1ÎyÈCœÛÈå9±¯_v —!#%*®LÚ’ßÓb{+ÛÁbC›SïMì—èšfáæ®pÖc­+pùÄ‘Èl`­»æuœOG®@Œ?¶uµW-H娳×}ù=íµ·²ìµ“íÊú~i‘[µ±Hά Ð%oõ=}FÇŸŠâqÄØ!läš-Â׬ÆqI‰hª1ÿ¯H0¢0‚ðQßÝO:>>÷å÷Ägoe;à¢~³ úÏãk¤o(â´¦yšæY‡íRÜ3—I¬_9dšÇE‰v«ež`oâÙ즓U_röt~Û¹ÜÈ©!¡î¦%¿§½÷V¶ƒ½3Èr9küú>EÛĺp:ÕÀfêUK,„iJu[ +–&§šŽvIÇ—]ð‡µT•û:ây­¨." q^ëcŸ¸êfN‡š/c†ˆáÜ"£r¸ß-ùýh¢¿²xš` ’ævÒ¤Ù8dšã*4Äezܬ$Ë7Ȇ6uŠ®vc‹#ç„î½ÿöãäÝ[¼»ßöù¹~W¹n›ž´ëÍ훣ŠAÖ3ÄÅQ Çî‹ï‡×Þªâo‚7#º9Y¸Ì¶Ã¥Înð¾ïŠPØêù7ù×pi¯Ž Û•-‘Jžÿ„,/倎ìÖÆŸd„©Aéí9ÄPÜ߀½UÅ0‚ží¢ê8+cì;Y‰5ÍêÝ?|åáGqŽµ@¼>®ÊaXæëy¬p½ìž®üÍKÓ‘H9ÈM”ïiJ +ɃyÉkšÿ[5´h +endstream +endobj +2499 0 obj << +/Type /Page +/Contents 2500 0 R +/Resources 2498 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2393 0 R +>> endobj +2501 0 obj << +/D [2499 0 R /XYZ -16.307 900.716 null] +>> endobj +2502 0 obj << +/D [2499 0 R /XYZ 56.693 744.286 null] +>> endobj +2503 0 obj << +/D [2499 0 R /XYZ 65.161 743.728 null] +>> endobj +2504 0 obj << +/D [2499 0 R /XYZ 56.693 700.111 null] +>> endobj +2505 0 obj << +/D [2499 0 R /XYZ 65.161 700.794 null] +>> endobj +2506 0 obj << +/D [2499 0 R /XYZ 56.693 646.219 null] +>> endobj +2507 0 obj << +/D [2499 0 R /XYZ 65.161 646.902 null] +>> endobj +130 0 obj << +/D [2499 0 R /XYZ 56.693 611.607 null] +>> endobj +2508 0 obj << +/D [2499 0 R /XYZ 56.693 585.35 null] +>> endobj +2509 0 obj << +/D [2499 0 R /XYZ 56.693 544.826 null] +>> endobj +2510 0 obj << +/D [2499 0 R /XYZ 65.161 545.509 null] +>> endobj +2511 0 obj << +/D [2499 0 R /XYZ 56.693 501.892 null] +>> endobj +2512 0 obj << +/D [2499 0 R /XYZ 65.161 502.576 null] +>> endobj +134 0 obj << +/D [2499 0 R /XYZ 56.693 467.281 null] +>> endobj +2513 0 obj << +/D [2499 0 R /XYZ 56.693 441.024 null] +>> endobj +2514 0 obj << +/D [2499 0 R /XYZ 56.693 400.5 null] +>> endobj +2515 0 obj << +/D [2499 0 R /XYZ 65.161 401.183 null] +>> endobj +138 0 obj << +/D [2499 0 R /XYZ 56.693 365.888 null] +>> endobj +2516 0 obj << +/D [2499 0 R /XYZ 56.693 339.631 null] +>> endobj +2517 0 obj << +/D [2499 0 R /XYZ 56.693 299.107 null] +>> endobj +2518 0 obj << +/D [2499 0 R /XYZ 65.161 299.79 null] +>> endobj +2519 0 obj << +/D [2499 0 R /XYZ 65.161 288.831 null] +>> endobj +2520 0 obj << +/D [2499 0 R /XYZ 65.161 277.872 null] +>> endobj +2521 0 obj << +/D [2499 0 R /XYZ 56.693 234.256 null] +>> endobj +2522 0 obj << +/D [2499 0 R /XYZ 65.161 234.939 null] +>> endobj +2523 0 obj << +/D [2499 0 R /XYZ 65.161 223.98 null] +>> endobj +142 0 obj << +/D [2499 0 R /XYZ 56.693 188.685 null] +>> endobj +2524 0 obj << +/D [2499 0 R /XYZ 56.693 162.428 null] +>> endobj +2525 0 obj << +/D [2499 0 R /XYZ 56.693 121.904 null] +>> endobj +2526 0 obj << +/D [2499 0 R /XYZ 65.161 122.587 null] +>> endobj +2498 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2529 0 obj << +/Length 1665 +/Filter /FlateDecode +>> +stream +xÚÍZ[oÛ6~÷¯°‡ÚÀÌI‰Ý0 —µ[×îÒC¶´LÛZ$Q“è\öëwdI‰­Ø ÙmÑyÎ!uÎ÷}¤‚½¹‡½×ƒçgƒ“W{IA…w6óE"ðBâ#?ðΦÞÇá{hUêјr<üÝX]ÖÍ™)ê†]4_šè¹1çõ§oGŸÏÞ€›1!Hr^[;µ×‰.ZÛ²z Þ‰‚wáWÞ™P@CoÌ‘ ÿL€Á žÔ"d5pðóÙàßóØ#HHß $AS/J?co +Ï Ädè]®z¦'Q_@;ñN p³xcE¨Ý.WKÒg,ê ("|F;Îû8&ãáÏWVgel²vzë‹ kAòEcä¬]¸™I3¢|xgóúV´PÙ¼]ê…Q<¼>lFL´ÎêVª¦Í=knßÇÊ7}뛄 A5ñ•o}_œTÜtLë¡Œ³Hw^:A@¤nuª Í•93 + x­Ø¯­~¢tsWñ®RU1„ˆ‰° á\•Ël2: +‹üNëYœèz<$We¢º¼ÞL ˜ ¨'Â…¯Ò¢ºÏ1$E2”^¡½ÙzlXÛ~÷®ƒ @’ˆÖAm˜T½ûÚçˆÒµÏqµè¡“‡õHRy€`W‹¹W7Þ7E³ñöÚÀC‚(fõK¼Ô“…NònÙx¡ãæf×póøÙtZÆúÀ}u¦&mfÜ8¢†¥ÕiÚ5÷¿¿?&k¢=œÜfëCñO–q2uëš&×…u¹ÙÿႤBЧ v\ïJƒž‚S„Écjÿ¥ºˆ§£Õ„_*ÕÅcQ€AÇŸ ,éñ@`Ó~Oèì àç²~›Ï,”[nÝÍ©_d²‹59õÞÌ›cX(Çh|‹³©¾Ò…Û˜¸të7 {½o•Ó‹´*ß&’8(0 +’®Ib«Hm8>UW&»G#ñ¯¯‘®Êd<WºgG¬0é ¨“â „¯“Þ©eÛÿj´|£UVš¬…˲ˆN"“žd—*)'«9ü­‹‰²qŠþQê‡zÜÖŽ¯L‘*ûºPù"Ž^¨¤Y=¾ %„ÏÚX>a Ó%ß´HÝrƒk^!=\sŠǃëŽý~pÝ?Xw¸æö~¬…ëéT;ª‘Y|¥ËÃâ:ìP–ÅÁqz®3](ë:¯¿œ½{ëÖ5UÅù2w\.ãH‘à[Úò°„g®Ëª÷£n}3qe®¢]2ýap °£ ŽJm`‹¾Fm,¨ê£ÙËø[yíö¨$ë£_Ÿ±ü·³T LéA¶‹¢Sõ%‰K[·Ìl ®ÊabÜIYøÊꊘï£P4³ñÙºL¯þø¶ÏFffK|„!Æø\ïåz"%¢”4\OÁõïÍ65eŸZumo©~j¢‰1çLÃéW…ž­ýœ™œT?Ëͯ6oRŒ}P>„‹7Í÷£âÞ¡º31 b4l˜8Ï“kG(V6Z–‰Ëež›ÂºÃ»#¹Nuiã ¨ÉË[U†ïq>sS Îç?Îdwj–E¤îçzÏ œïcDBr¼²Ø´ß³.z»GaË0ÑHÔÉÒñd°ÐwR¸yò© w•> ‘ô‹î¬©Ä ËIˬt+³¶RõÛåÖ…M“-R&cWJ¤ƒ »þ¦c»¨Éò•Z$óBß°ë"ž/ø³{0(­ªƒ@)‘ˆðãAEÇ~?¨è¬;TPJó¨ø5ÍêÌ:M€j˜&ν»{ºæö»ygÒeŸîggOñOø°Q¨¬„™¤RTÚÂÜýÚrðyëtOÎò=`ßžw·îÝS³ D!–·§f 7(®õ +ƒ*oúŒ]A‡ë4uxPØ´ßzë +!G8Üz`®îfÖn©ê(•3ã(“—¥þJg55ƒ¹£`ÆÛ +ðæxw :käöÜÚ©ss®Ý-o…8Gô !"D°nõÛö¤?G>`]¡ÒòÛþ2’ïŠÑ¯&)§ã¨ˆßç?Gî;%)ÔÌ¢bDW©«#LÑ#*9 [‹#~–Ø4ß²{‡ê.ã :kÿÅ*¹]Ïfj™Øɯ2gÓ…*Çú¨©'»MgÝÃ'®»XÉàr ¼óy¬úz%óoyÿsôz +endstream +endobj +2528 0 obj << +/Type /Page +/Contents 2529 0 R +/Resources 2527 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2393 0 R +>> endobj +2530 0 obj << +/D [2528 0 R /XYZ -11.232 900.716 null] +>> endobj +146 0 obj << +/D [2528 0 R /XYZ 56.693 759.068 null] +>> endobj +2531 0 obj << +/D [2528 0 R /XYZ 56.693 738.489 null] +>> endobj +2532 0 obj << +/D [2528 0 R /XYZ 56.693 691.479 null] +>> endobj +2533 0 obj << +/D [2528 0 R /XYZ 65.161 692.163 null] +>> endobj +2534 0 obj << +/D [2528 0 R /XYZ 56.693 645.897 null] +>> endobj +2535 0 obj << +/D [2528 0 R /XYZ 65.161 645.338 null] +>> endobj +150 0 obj << +/D [2528 0 R /XYZ 56.693 608.188 null] +>> endobj +2536 0 obj << +/D [2528 0 R /XYZ 56.693 580.634 null] +>> endobj +2537 0 obj << +/D [2528 0 R /XYZ 56.693 533.625 null] +>> endobj +2538 0 obj << +/D [2528 0 R /XYZ 65.161 534.308 null] +>> endobj +154 0 obj << +/D [2528 0 R /XYZ 56.693 496.086 null] +>> endobj +2539 0 obj << +/D [2528 0 R /XYZ 56.693 459.921 null] +>> endobj +158 0 obj << +/D [2528 0 R /XYZ 56.693 430.098 null] +>> endobj +2540 0 obj << +/D [2528 0 R /XYZ 56.693 401.713 null] +>> endobj +2541 0 obj << +/D [2528 0 R /XYZ 56.693 354.703 null] +>> endobj +2542 0 obj << +/D [2528 0 R /XYZ 65.161 355.387 null] +>> endobj +2543 0 obj << +/D [2528 0 R /XYZ 65.161 344.428 null] +>> endobj +162 0 obj << +/D [2528 0 R /XYZ 56.693 307.277 null] +>> endobj +2544 0 obj << +/D [2528 0 R /XYZ 56.693 279.724 null] +>> endobj +2545 0 obj << +/D [2528 0 R /XYZ 56.693 232.714 null] +>> endobj +2546 0 obj << +/D [2528 0 R /XYZ 65.161 233.398 null] +>> endobj +166 0 obj << +/D [2528 0 R /XYZ 56.693 185.288 null] +>> endobj +2547 0 obj << +/D [2528 0 R /XYZ 56.693 157.735 null] +>> endobj +2548 0 obj << +/D [2528 0 R /XYZ 56.693 110.725 null] +>> endobj +2549 0 obj << +/D [2528 0 R /XYZ 65.161 111.409 null] +>> endobj +2527 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2552 0 obj << +/Length 1868 +/Filter /FlateDecode +>> +stream +xÚíZÛnÛF}×WèC$ Zï.ïíS“ÆNÛIm¥ M®D&¼¨$UÇùúÎ^H‰S¦i¤€ŸH‘ËÙ™³sÎÌ®µ•†µ“ɳÅäèØÄš‹\‹ZÚb©YY¶æ鶶´÷Ó 3¯`³95ñô<+Y!o—Y.oÊP½ü-óŸeÙgùãÝåéìãâL3'¹¦)­]–71+BÆÊ‚¿†Ù‰æÀì–Îg7,ÙÔÑæ&rm5¿aƒAÛ™É ±\þáäÅbòÏ„€y¬Í´åêšídaªùÉäýG¬ð@†ëh×bd¢™#ª[pk—“?&X!ˆPPäbr§*ㆅLb)§„ÕGÚû9Áï@Ž +¨~žÍuØd[«€wát¨ƒ0u¥ÙE)tó]Ô£Ô7A|”¬³¼ôÒRþ¼šQ<ݬäÓ/3bN«Á^¨› (ZëµÌâ8›Qsz¥êû"Z¥7â×ö—Ì+7¹úĽtÅÃÚ b²[1éÛjÅÿšYàÎUÈâuû«]$¨\l7“åW>©;M™pRþ¸Ê¥ËËyàó+@)x +ï,2õó¬(æëØ+!9>Þ™ŠyÅ—ü™WÊûë¨ ÕÓMÏKÆ1û¢^ÌËýP~®ðs§À–«O$"…üUÞ¬#ß‹ã›j–MõI”¶](nŠ’%êdc2A ׶° 96OW1æZâxd~qägiÉÒòÈ1Aa™ÄùE‚âTßלM²¼Î-‰K”¥íŒ‘—€%úÞzÏ),·… „Lvt9Õ ¸ÆÑ—üÌKùRÜȹ7ëÀ+»R9âþVùœ©kî¥E,"9Š3XV'¼—~n ¾`ÊØK¯|ÚâÅ1 ²\Eÿ&Ï>1¿R»PgP–!$ Ë,/nÁªŠ™CEeÌϳ$ôû"¥$è˜ãäA>)?DÈÑו,6k®•ï +¼ñVl+5P^•qæ@•5ÈÿðèŽ_š—ÒïV™¹ü“|²U +¥5qD)1D惂PCTæG „ ÉäuÄÄàƒ[„ìb·„IQ˜­‘ð/g§‡FúzS®7e-ë mâ¿B¿ú×!SøoŠZ¥ŸÈ ”º€)E˜*ŒÄûÌE$ý–68êZ- OºÙ_”™¯*úóËËÝœQ^«ÔI³Z£ñ´ +$ºIJmdAQmdÌ‹7oŸÝ©T€›äª"D¶ì6¼i‰ÁùówO«¼ÚÌ[ˆˆR¨@uö9ÑÚºðNd¸%ˆÈ›Ô¹ê‡Yä3Ñûlé²[.ß©ÎØjmâ¨(›¡ªò\Ëžzz\dTªi`UZ%Àôªö§>kI!4.&¢–doA¡YÂ0Ì­Š¿N¡O2TŸ tuJ¢:¨šÛÝéÈ úí4"îg]/Â΂ëÈÞVÜÕ¶Œµœ4 ¤ëz5ÎÏÁÈ™à"*$“AÁ÷R³wCädX5ƒsPö4:…¦“P¬*;Zzè‹€ É-ñËI³…†ÆŸØT3°‰lìðš?714䆥A7ì¸ZδånÏÜ°ÖýtoÝ| ·š@&|ôPû&"iÛ71ï½^3ìî',äBS>ÜYa0_iòæBm0š• +V^jÓõV4>¥ß7d²°Èç^ãÞ°¼ˆ¼´§Ñm3Õïƒež%=M‡=S}X¿àdŸÖ|k¶ë.ÏŽ!ÉþëþÆZí"u´R§÷Hï4(à·nAÄ„ŽÈo“}<~7íä÷`gà·i l¹˜§bíz2 :à^O³ë~OìøÒC¹b@ª@DIjY¬;åÌÛäQùu&Â}Mp‘µyóY”Å_ä3è–—Qµ"·cA xbÈ" ‘C«<‹šö²h°³°ìb£júùV­_Ê«½ð=3î„eùªwMGUý†ö­ºk¯ôÃv‡Í_üD]b lߌƺȀd7u(º×F7w­ž}:¤ù¥¶Îsl4VS¸ÚÀ¾±Xݲ?ŒÕÃíÏj +sbÃÝí}ƒƒûÔâ¾Õ‹¾N¼ôz + ?'ø¿õÈÔ„%ÆŠƒ•Aw`Žû”†«b_òÍþ³0?D.Dò#ê,s<½hÚ¨ƒ=@/øY§©ßA/ª? ]• "N>ÇS%à¶Ç;ylÙ¨Jƒ=@•taK<ž³ëGEúA‰œ=Q%â¨Î»]òöŸÏŠ¼Ç®ltarmqÈ<š.9¹=ÞQnÓü0UìjQr1h’ùØ)ý€ºäè KctJ{ÿ°kð$pïòÿºÿÎÙ +endstream +endobj +2551 0 obj << +/Type /Page +/Contents 2552 0 R +/Resources 2550 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2573 0 R +>> endobj +2553 0 obj << +/D [2551 0 R /XYZ -16.307 900.716 null] +>> endobj +170 0 obj << +/D [2551 0 R /XYZ 56.693 759.068 null] +>> endobj +2554 0 obj << +/D [2551 0 R /XYZ 56.693 731.272 null] +>> endobj +174 0 obj << +/D [2551 0 R /XYZ 56.693 478.051 null] +>> endobj +2556 0 obj << +/D [2551 0 R /XYZ 56.693 450.608 null] +>> endobj +2557 0 obj << +/D [2551 0 R /XYZ 56.693 408.985 null] +>> endobj +2558 0 obj << +/D [2551 0 R /XYZ 65.161 408.996 null] +>> endobj +2559 0 obj << +/D [2551 0 R /XYZ 56.693 364.989 null] +>> endobj +2560 0 obj << +/D [2551 0 R /XYZ 65.161 365 null] +>> endobj +2561 0 obj << +/D [2551 0 R /XYZ 56.693 320.715 null] +>> endobj +2562 0 obj << +/D [2551 0 R /XYZ 65.161 321.004 null] +>> endobj +2563 0 obj << +/D [2551 0 R /XYZ 56.693 276.324 null] +>> endobj +2564 0 obj << +/D [2551 0 R /XYZ 65.161 277.008 null] +>> endobj +2565 0 obj << +/D [2551 0 R /XYZ 56.693 232.723 null] +>> endobj +2566 0 obj << +/D [2551 0 R /XYZ 65.161 233.012 null] +>> endobj +2567 0 obj << +/D [2551 0 R /XYZ 56.693 188.332 null] +>> endobj +2568 0 obj << +/D [2551 0 R /XYZ 65.161 189.016 null] +>> endobj +2569 0 obj << +/D [2551 0 R /XYZ 56.693 144.538 null] +>> endobj +2570 0 obj << +/D [2551 0 R /XYZ 65.161 145.02 null] +>> endobj +2571 0 obj << +/D [2551 0 R /XYZ 56.693 100.34 null] +>> endobj +2572 0 obj << +/D [2551 0 R /XYZ 65.161 101.024 null] +>> endobj +2550 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F57 861 0 R /F93 1063 0 R /F102 2555 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2576 0 obj << +/Length 2176 +/Filter /FlateDecode +>> +stream +xÚÅ\mã¶þ¾¿BHQÄ Ô<¾KJQ MÒ r½¤íÝ(p—Z‹ö ++‹Ž$ßîå×w¨—x-{½¤)ù>YkSÃÑpžy†ÃÑâ`ààÇ«ïn®^½8ˆQ,© n–¤H†ADbap“fïT®’J]Ï©À³_t­ªör©Ëö¢¾ë~üA/¾Óú¾ýãïß^ÿz󦙂b!ZiïëϹªî”ª+ó3ÌN‚f—ÌÌÎeˆBsâ°›ŸG 0Œf¯Ú"csãÕ?n®~»" $ɘaLÄ4X¬¯>üŠƒ~£à¡¹Áˆ2 ×yðþê?W¸³Þ³ `X(âÆ$½p#‚e§¢ýmÁ‡9ÁϾ×ëµ.º'{jW0åˆÉîþ›ÞfKçúšŠÙCV¬Ú¯wI±ê­|—\S<ûtMĬ»ãV©¢½Z'i÷]­wKÑÌ úîæ&Gahž¹™{ñœŽ,BL<ÖK¯²b¡kMÀ<`ƒæºl=í[dN)C„Q¸€ÕĬ•ú‘R±7®Ñµñntˆ—Q¯ÂÏɶÌê߯çLûF%E¥‹o®ç„ŸíS Ç*oÅ‹‰æãÇ}ç—&! d¡(Æ9Ì÷ƒ«qPGqPª`ùÔö¤ÿöp‚0D1‘ý­`bFûʈH2”/0¬ØÊf†§H‘(¦ñÊ6ËUÐ^¼ë ³·˜„ƨ±™ˆc³¿$ðÉx<^÷å{âÕ[Y‡L\ÀȾR–ëE’g¿'µ5PÛªÖëc·ì`ðòêˆ1°â%ŠIĹ9®LÀ+*¦¢ GÄ'd*" b:Ïß—ïéùÞÊ:0hCØ„yô]b¹¯Ý”ªRå'Û¼0ÏŠû!Ô^¨™”:?£Ô²Nî]ªÆ-tuuà—–j 4eÊ»'˜…IŒ¸ “0 æÜw:|íË÷Ä—·².̱,ê+©^l×,¡–MÌc†$ž®Œ6ïgbe-Lü‡âEqWE{ÈjËÝø±€0ûÛW'rÖÅA%ø«Ó‰ùA¥Î±°ÆcŒ$¹ha­9¹ÃcÖ7®\˜°ª9 +£éªjùžXòVÖ>à#žsÂSÙ•Ùö¥ãÖàÖI±IV¶<–Ó¿¯=7™çœ¡0¾h¹‰SŒ¢hÄrUVgªBpñ×ö÷d[ë,}œß›q.ˆ6þJ&,E±ì!¦+E äû!Ú_YDc†h¿ÅûïfU&éØðÛV–Yê®cáå±½ó9V–§8–¶/UzmmŠT]Ôú¶Òeœ/W…bˆ§«B ä{BÕ[Y‡½‹)¢QG¿ö¾d}rl}¼*õvs¤óáÄþÚøÞðïÂrV¤ê±Våº:—‡Y$&-ª1ÉŽÃ Î}:nþLëôéŸëÜ“¢™0m^Öà7ŸÓÕàò=qï­¬=E3.À Xߦ¹Lµ.mƒ¾{±ºÚn6VGb}›«-$Ù¶åÁÜ:·=^ɵ}êbk‹T­‡Dø²)Þo”J·›/ÓMÅAtÂîÄ|Oy+람#Ñ—.lÏâ’[}ÐIØüÀðŸ­9†FˆÒð¢ƒbä öÐd:¶ Gl×Y5ºŸäûù¹¿²öl "’aì|bóÇÚîâÜ7ϧs÷ês5rR™­7¥þd«îF• ¢óBܲäL˜¦·Áö ȼ7a·­Ûeá‘ ,¶ÙDBC†ø„…ùžóVÖHh( ÐkþÛÕ W‰íá^›¬ƒÜ£ù…kî¡!Fü²mm”‡HŒýHÕ1º-¦ln£wÂæ¶|O|x+ë@@ðõÍmõ¶]#'¡2 ¯-NãUYÚ²ýAàc©–#Ûgö9ø3¯\IzQPcŒB,Î@õ;}«`7ÙîŒêäs½µ6-˜&1(ÁÙt˜&!xð®ÏhtLäûaÚ_Y{L“ˆ!ÜsÞkÛÞžÑ_ì2P¬Ì›¥ÇÅ©£ùc€{ápþ6þ¹uÅ2+êR§Û…uƒéAøyÙûe„¢ {Ôò=Ó[Yû0"ýfwØÕÙûëç#+*U:5''åJÕé­Ã-iR'Ãá_Ÿö¿g^ÿ³®l°NÄä%I‚pNé¸$áþÒa †œ%(E“逸/߈ÞÊ:°ˆö-_–%Æ=ÁV¿mê&¶«†¹à%ÏÛ¾—qªÉíÀ¶Îï;¿Ì¼k•¤®ôHÂ|º‚à@¾'*½•u G£]AP/S§QüÄ GŽW殉œ5%âaÁ.I‰¬‹ÇeÄ<¹Uù“ZH'íØJáaŸóRþC€ù± +endstream +endobj +2575 0 obj << +/Type /Page +/Contents 2576 0 R +/Resources 2574 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2573 0 R +>> endobj +2577 0 obj << +/D [2575 0 R /XYZ -11.232 900.716 null] +>> endobj +178 0 obj << +/D [2575 0 R /XYZ 56.693 759.068 null] +>> endobj +2578 0 obj << +/D [2575 0 R /XYZ 56.693 738.489 null] +>> endobj +2579 0 obj << +/D [2575 0 R /XYZ 56.693 692.721 null] +>> endobj +2580 0 obj << +/D [2575 0 R /XYZ 65.161 692.163 null] +>> endobj +2581 0 obj << +/D [2575 0 R /XYZ 56.693 633.696 null] +>> endobj +2582 0 obj << +/D [2575 0 R /XYZ 65.161 634.379 null] +>> endobj +2583 0 obj << +/D [2575 0 R /XYZ 56.693 588.113 null] +>> endobj +2584 0 obj << +/D [2575 0 R /XYZ 65.161 587.555 null] +>> endobj +2585 0 obj << +/D [2575 0 R /XYZ 56.693 529.088 null] +>> endobj +2586 0 obj << +/D [2575 0 R /XYZ 65.161 529.772 null] +>> endobj +2587 0 obj << +/D [2575 0 R /XYZ 65.161 507.854 null] +>> endobj +2588 0 obj << +/D [2575 0 R /XYZ 56.693 461.588 null] +>> endobj +2589 0 obj << +/D [2575 0 R /XYZ 65.161 461.029 null] +>> endobj +2590 0 obj << +/D [2575 0 R /XYZ 56.693 413.916 null] +>> endobj +2591 0 obj << +/D [2575 0 R /XYZ 65.161 414.205 null] +>> endobj +2592 0 obj << +/D [2575 0 R /XYZ 56.693 356.133 null] +>> endobj +2593 0 obj << +/D [2575 0 R /XYZ 65.161 356.422 null] +>> endobj +2594 0 obj << +/D [2575 0 R /XYZ 56.693 299.197 null] +>> endobj +2595 0 obj << +/D [2575 0 R /XYZ 65.161 298.638 null] +>> endobj +2596 0 obj << +/D [2575 0 R /XYZ 56.693 241.413 null] +>> endobj +2597 0 obj << +/D [2575 0 R /XYZ 65.161 240.855 null] +>> endobj +2598 0 obj << +/D [2575 0 R /XYZ 56.693 193.347 null] +>> endobj +2599 0 obj << +/D [2575 0 R /XYZ 65.161 194.031 null] +>> endobj +2600 0 obj << +/D [2575 0 R /XYZ 65.161 183.072 null] +>> endobj +2601 0 obj << +/D [2575 0 R /XYZ 56.693 135.564 null] +>> endobj +2602 0 obj << +/D [2575 0 R /XYZ 65.161 136.247 null] +>> endobj +2603 0 obj << +/D [2575 0 R /XYZ 65.161 125.288 null] +>> endobj +2574 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2606 0 obj << +/Length 2261 +/Filter /FlateDecode +>> +stream +xÚÅ\YãÆ~Ÿ_A¬ó0dzûf·‘¶ïÂFâ ÞA`ש%K‘\säקZ”fGÔ1Eµ8~XËiVWwW}uR4šG4zñãÍÅÛwŠF–XÍut3‹4':Ž DÄÑÍ4úxù›Ë\R»«k®èå¯EãêîvVTÝM³XÿñïÅäÇ¢øÜýç¿þqõûÍ/0Í5cÄ*ÕQûÐëbéÆ9´¦@ +dU”HñÂZŒb6`I§Zâ7ö-‹öWv^ÃR7UZæ5y¨3ìÂeLhhW„&Œ™ñ4w›~ æ3;À®K$Ä«3ýé¡Lò)RnŸqysЪ€”€X”i>ÇM'KW—Édï4„7Çí¼\'sw^`I¦wi¤ ö¥:×^Öî]P;ž8oÓç`f" %×Áw‹=ª¾,¿,“H%©·'Ùj(øÑ´MP–eÄx6AÅ–h.GS¢ý0% +go”ò׬Î4wXaOpòb’ “w€ )6ÀzhrO2¸£ûÌV^LÝ€áµkŒNî’4Kn3$þÜ%UŠ}ëVQÎ@Û¢´wBÕxj±M?P-‚™ÅÛûT°èÔ¢Y¤Hã¾,¦-öÄÒe ±1Vá–IþˆYf`³N6A +6@ǯjƒ”wüôϤ­ÒæúÅ%yýÕYšb‚„$ÔØM„—OØ&¨i¡¬°?\ ñÏê<˜N{ú°–é·Ã ûUþ±ãQ6@{ŒµËÜ™cpeQ Úâ5‹I‹U»9±Ðš˲mÎí‡ïæïuÍP Èü•§–Ûôõ2˜Ù)"•Ý¤ùÎ-¥y±OÏÿrXÏ›fÇ‘ûî¸~ƒ6.]Þ ÕÁa“!myÞòZŠ¶)Ûç꥿eEíêЂ ŒY´ A-aaÁÜQ‚{‘•}îCÈØ÷¬ãXIDŒÂBÞýk]Éî„Ðè¬ëwo6=³"ËŠ+®.ï}kõh²Hòù¦«`‘\qpÒ¯˜º\¿që\ÞÝ-“éú@çSëÁjnàõëÜÌHÇzãÎÌŠ=ü1I¤T›!“bC¹N}%v»¯°EÞÝW]7ÙÞ‰kf-áœÁ¢%ÑLœ7ðo|¼2Àç’€1ÜÊñ|.IAÄxñM~º‡3‹w»$lµæâD;¡ìúùõñ×~hš*½E{ßWÅýÂúUX3„´W÷Eõy'ý²€ƒ@©_3š1(¸=w4•æN Qm¡­ÇèñT[(CÆ«ñlQSëPFñJ-`k¨YÇR?/˪¸Ãºøspj_E¦ÿÚ¦ï¿QäKŠ£kA·ØøMò³{¬úM7h¯,›b££)’ä}‚îðr³Y:IŸšz¾j¹z&|®ØFÏ?QI×Έy6*&dh=æ«æ2&FŽ>õèjb0³]”–hpØ„bô²ÛN°IÈh”vâóXÑž“vO”óòÁ MŒ¯ùªG?ðà‚™ÅǽBR_ƒëŽ ݹˆOÏv–t *ŸœÎBc_µËD0FŒ°gŽ,|¨Læƒ\ʉ³š[ïÝç„ôè‡éP8³xGb:¢7­ÐÁÑ…¡J úBtÑ6‹^÷0L}$m\Ts_à?s””¥K*4x£“¿øhÙïƒÜ"Â|ö¡`ÁA:ÅIÍÎÇ¢•y•”‹t2¤Cñ˜ÝÎ\*bF¬ÿôè‚E0³À±r¨þs¸ÖÒ–¾|Š<Ã~Xðá?ï±Î|Þô½îàLpºå&M²}Më0œ¥y]¦vó°!V™4“Åþ”°¥–)é‹lht‘œþª®ç”Àž]†f998D\ŒØð +Lè‡lÓ„–`f@‹ÿ„E«ÍçK|>àÅU³¬-Zl[§«›s×]ñQcWyEû“"k—ù€Î}:m¯Xyê%0„aÄÆ£$0˜±D°ñºk{ôÃt'˜ÙÃé +æ¿oÚô†#(¥Æ‚ÞDðâÄk";ÓPDÿÑYn0°ÔûV™$6ãõ­öèŠg0³xhg«¯Hø`¿q™î&×^n>ØÓEúíáÑ“þ½ÇÁµqË2CQ·µ…¿ù#É'{"ã7o¿{ÆkÒ1F$¸kV½*Ž0s°3ãH–ÖÍà“QK85ãÁ@9„Y£¡È6ù0 fu†£jóë0¤ÙSË>ZþJ‹ÝÆcJ;Kv!/_ø +›LªÝÜ ÜÔKéé F¥•ûÒž?(]ÿ^b¡¥›œèh÷ h\:ŠûibÂÇÓË-êajÊè€Ê™ÿ(^W±Ëªðiž´È“!&õ<®øä~ÛntþÄH"(Á8îü: ˜aªí)?Nó²WBD +endstream +endobj +2605 0 obj << +/Type /Page +/Contents 2606 0 R +/Resources 2604 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2573 0 R +>> endobj +2607 0 obj << +/D [2605 0 R /XYZ -16.307 900.716 null] +>> endobj +2608 0 obj << +/D [2605 0 R /XYZ 56.693 759.068 null] +>> endobj +2609 0 obj << +/D [2605 0 R /XYZ 65.161 752.393 null] +>> endobj +2610 0 obj << +/D [2605 0 R /XYZ 56.693 706.175 null] +>> endobj +2611 0 obj << +/D [2605 0 R /XYZ 65.161 706.859 null] +>> endobj +2612 0 obj << +/D [2605 0 R /XYZ 65.161 695.9 null] +>> endobj +2613 0 obj << +/D [2605 0 R /XYZ 56.693 649.681 null] +>> endobj +2614 0 obj << +/D [2605 0 R /XYZ 65.161 650.365 null] +>> endobj +2615 0 obj << +/D [2605 0 R /XYZ 65.161 639.406 null] +>> endobj +2616 0 obj << +/D [2605 0 R /XYZ 56.693 593.187 null] +>> endobj +2617 0 obj << +/D [2605 0 R /XYZ 65.161 593.871 null] +>> endobj +2618 0 obj << +/D [2605 0 R /XYZ 65.161 582.912 null] +>> endobj +2619 0 obj << +/D [2605 0 R /XYZ 56.693 537.935 null] +>> endobj +2620 0 obj << +/D [2605 0 R /XYZ 65.161 537.377 null] +>> endobj +2621 0 obj << +/D [2605 0 R /XYZ 65.161 526.418 null] +>> endobj +182 0 obj << +/D [2605 0 R /XYZ 56.693 489.883 null] +>> endobj +2622 0 obj << +/D [2605 0 R /XYZ 56.693 462.759 null] +>> endobj +2623 0 obj << +/D [2605 0 R /XYZ 56.693 417.898 null] +>> endobj +2624 0 obj << +/D [2605 0 R /XYZ 65.161 418.582 null] +>> endobj +2625 0 obj << +/D [2605 0 R /XYZ 56.693 373.605 null] +>> endobj +2626 0 obj << +/D [2605 0 R /XYZ 65.161 373.047 null] +>> endobj +2627 0 obj << +/D [2605 0 R /XYZ 65.161 351.129 null] +>> endobj +2628 0 obj << +/D [2605 0 R /XYZ 56.693 304.911 null] +>> endobj +2629 0 obj << +/D [2605 0 R /XYZ 65.161 305.594 null] +>> endobj +2630 0 obj << +/D [2605 0 R /XYZ 56.693 259.376 null] +>> endobj +2631 0 obj << +/D [2605 0 R /XYZ 65.161 260.059 null] +>> endobj +2632 0 obj << +/D [2605 0 R /XYZ 56.693 215.083 null] +>> endobj +2633 0 obj << +/D [2605 0 R /XYZ 65.161 214.524 null] +>> endobj +2634 0 obj << +/D [2605 0 R /XYZ 56.693 158.589 null] +>> endobj +2635 0 obj << +/D [2605 0 R /XYZ 65.161 158.03 null] +>> endobj +2636 0 obj << +/D [2605 0 R /XYZ 56.693 113.054 null] +>> endobj +2637 0 obj << +/D [2605 0 R /XYZ 65.161 112.495 null] +>> endobj +2604 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2640 0 obj << +/Length 2100 +/Filter /FlateDecode +>> +stream +xÚí\KsÛF¾ëW *é ñ¼³»µ•d7Jʱ׵¶RµUv9$Qê‘_ŸÆƒ²‹Vƒ¨öàA`ÐÓ˜éþ¾îžh´ŒhôóÉ—'¯.,±šëèriN´‰b&ˆ0Ñå<úxúÞe.©ÜÙ9Wôô?…wU{¸(ÊöÀ¯º‹ÿ.f?ÅuûçÞœý~ùº9gŒX¥Ziü}檕s¾ª/Cï,Š¡w-êÞ¥6Äð8:WÄš®EA ‰O_µ?LÛúÆ“Ÿ.Oþ8a žF,Ršh+"cÑ”G³õÉÇßi4‡k ‘6Žn›–ëH1J¸ÐpœENþ{B»‘ Gd'[Z¨nuúĹj´ØÝöêš4Ï!ë{b"u šÆ¯Óò:9;×”žþZTîúogçŒÃŸdë‹t~w~]Ÿ$wUÖJ„±ª…Ö??ï?%Ì 3<24‘¢~Êú¼¢0fRGœØØF¥‹kOÚÓg¿ì€Ç„År×A+˜Õ­Cå+Â4ëËW”Ã…éáñ”kb¹AÙF`¹ŒÚƒ÷ ìÍ'ã–4#ψ„ßfZÛ,Ëdîæ{vð¥°èc3ó¾ÀµÛ‚§¡ΊõºÈqm]îSŸºj¯5<éN¸í"½Ã>ÞÕv‰kx»rH¥«bŠ¹C.ò¾¯ŠÒ'®q’Ïûh Y¤1‰ ÛáÁ'*i‹}€KŸ[™Æ´º6çX,`†Mçªûò]5XYŒ«Nk©(QL´Ã‰·¥¼ð¸†5ý¡.Ëb»Ióeßù^t¾ÓÚöúw”_,píÒ|îî¼+ׇ`al²áÎâ9ð{u50ºà|DÖm†aÛê4ÐÓ‘­6 P6™÷ä‡yp¸²x²ÕF â¿‘í7²ýÿ [­,‘’Oçªûò]5XÙd«a„Ì7®‘k5 TâE¹V¢„=‚kßW®ô-Ù~ðɽ/òÝÞ•n1„m9è`¦¤[Ɖfñt>¼/?Їƒ•@·LK»* ÑÈT”"‰¨ÈÒüÉòn½ÉïÆæÂd|UWxrCçüh`‹n˜Îöå:@°²xP\+»ßsdèr›”9š>Ö®ª’%Ö`S¿:ʶ»I²íèÞâË{ôócãò/ëY³V–3™QïI3éPEñ­¬ñ];ôXr™[C¦ƒœ÷UâGÊù»ïc Cã¤$ŽÍ‹â3Ä>n +w•³!ë“ŠÆ„²é @ZC`&ƒ‚žü0(WvPJÄ._›Âu§¹•Vióõ¢¥O}æÆöþ›UZù¢¼Gª_ºä4\¼ÃÆ´À‡‹¢lBi%¡š¿¤ëKÓñ¸®¿Ì +ÈXERƒ±šÐý%œOë÷亰²x÷—JÅd;©ï¶~³õãæ‰÷ezµõénØ“ÆÊæé Òák:ª°ËØÅ!áf†M®¸˜Ì^ÖzÞ…%\OWììÉt•`eñ©±”œ¨Ý–´ºDµhä:Äå»MBnì‹RG½ÛO«ÙVý%DR>gˉü¼entGèÉs„peñœ!¬"F°v6Ê“+tŠ´ºß¬\žø‹òص³ßÞ¿©Æ.Rnñ¥úY‘{ta+­Ðü‚$¬»xŠ-” XOIÊ¥ó)FÄ–H%_®ø‰’㺾¶üˆ%@eâ K*¢ÙtË4=ùˆ¬ìÄ’pŠv%Ï6› ¸m?[»Lá·%ûàW·Ø4y¶-+4ø¦‹qËê߯‹Ò²Õ4™Ã¦tU„ÄPBH¢õt¾³'>ÐuBUŽBbw‚Ë–»nÓ,Ãî|«Q¹é°ž¬¦%,ƒAÿ~yµÀfÈh·¬6Iž½ú¼asAÌ„›E{òM;XÙ¶Íu#¾±íMYÌ\5‰lÌnšc‰d ˜gé:õGï,œÃ^´6É-ôaG®MÖõÙ$³ñØxÊ­ÜÜh›é*“=ùaÞ®,>fã1…èBö‹zÞþæþØÈ0¹ò€¥‹m…Gt<fÉ=ZYü^ a#–o×à_Iˆƒ9Ú ·Pöäšy°²xâÚ¾ÛB™÷w’„§Ø"“60€!8üÖc÷’ !)¡LË›¤LÖäîÖ]ýý¬Ëë‰Åó!@+5a]’3K¨®.Ù“èJÁÊ` ΉˆÙÀ͘ÏþS{Xž@À¯ßÁå îð >Ï[Ó„ÑéJf¼ž£ìcÿb Iu»„$‘ýFaø~¹|û¦{)ÿ±‹ÒèœËÏ —»×ýE–g\;=6§f«$_î>°JÎ8$zgLvw\9—·GëdÞô{øŠ@ûžŽxÔ7‹%1Fïœ}å×ÙBð_¿•Ö5jÞPjdoÏ\ï#àŠðö¸l?m@öGãœ3eà Þ/FÞ]7t; «ÝŽOB¬Þ¯£§¡žü0 +WB ì@¨„Þót‘bWG’Ùu^Üfn¾l¶ÉVS¼Ñ€ÞÒ{S`WøÓü&É°‹/·tWêmƒÿø +„ö‘óŸ_ße”æOu2¨ƒ!ûöU„š]Òˆ¡g=2Î4 Î&Y>ZÖè$>õé”:þÒö˜/§ü£þ +endstream +endobj +2639 0 obj << +/Type /Page +/Contents 2640 0 R +/Resources 2638 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2573 0 R +>> endobj +2641 0 obj << +/D [2639 0 R /XYZ -11.232 900.716 null] +>> endobj +2642 0 obj << +/D [2639 0 R /XYZ 56.693 742.989 null] +>> endobj +2643 0 obj << +/D [2639 0 R /XYZ 65.161 742.431 null] +>> endobj +2644 0 obj << +/D [2639 0 R /XYZ 56.693 685.206 null] +>> endobj +2645 0 obj << +/D [2639 0 R /XYZ 65.161 684.647 null] +>> endobj +2646 0 obj << +/D [2639 0 R /XYZ 56.693 626.181 null] +>> endobj +2647 0 obj << +/D [2639 0 R /XYZ 65.161 626.864 null] +>> endobj +2648 0 obj << +/D [2639 0 R /XYZ 65.161 615.905 null] +>> endobj +2649 0 obj << +/D [2639 0 R /XYZ 65.161 604.946 null] +>> endobj +2650 0 obj << +/D [2639 0 R /XYZ 56.693 557.439 null] +>> endobj +2651 0 obj << +/D [2639 0 R /XYZ 65.161 558.122 null] +>> endobj +2652 0 obj << +/D [2639 0 R /XYZ 56.693 510.614 null] +>> endobj +2653 0 obj << +/D [2639 0 R /XYZ 65.161 511.298 null] +>> endobj +2654 0 obj << +/D [2639 0 R /XYZ 56.693 463.79 null] +>> endobj +2655 0 obj << +/D [2639 0 R /XYZ 65.161 464.473 null] +>> endobj +2656 0 obj << +/D [2639 0 R /XYZ 65.161 453.514 null] +>> endobj +2657 0 obj << +/D [2639 0 R /XYZ 56.693 407.248 null] +>> endobj +2658 0 obj << +/D [2639 0 R /XYZ 65.161 406.69 null] +>> endobj +2659 0 obj << +/D [2639 0 R /XYZ 56.693 359.182 null] +>> endobj +2660 0 obj << +/D [2639 0 R /XYZ 65.161 359.865 null] +>> endobj +2661 0 obj << +/D [2639 0 R /XYZ 65.161 348.907 null] +>> endobj +2662 0 obj << +/D [2639 0 R /XYZ 65.161 337.948 null] +>> endobj +2663 0 obj << +/D [2639 0 R /XYZ 56.693 290.44 null] +>> endobj +2664 0 obj << +/D [2639 0 R /XYZ 65.161 291.123 null] +>> endobj +2665 0 obj << +/D [2639 0 R /XYZ 65.161 280.164 null] +>> endobj +2666 0 obj << +/D [2639 0 R /XYZ 56.693 232.656 null] +>> endobj +2667 0 obj << +/D [2639 0 R /XYZ 65.161 233.34 null] +>> endobj +186 0 obj << +/D [2639 0 R /XYZ 56.693 196.19 null] +>> endobj +2668 0 obj << +/D [2639 0 R /XYZ 56.693 168.636 null] +>> endobj +2669 0 obj << +/D [2639 0 R /XYZ 56.693 122.868 null] +>> endobj +2670 0 obj << +/D [2639 0 R /XYZ 65.161 122.31 null] +>> endobj +2638 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2673 0 obj << +/Length 2164 +/Filter /FlateDecode +>> +stream +xÚÕ\Û’ã¶}Ÿ¯`9/³UwI*e{»¼¹TegœJÕ®( ’Q„ÌË\üõnJâzD´MAT*OÒˆ`³ôé>Ý æ¾¿ùöþæíwŠF–XÍut?‹4':Ž DÄÑý4úxûÁe.)Ý›WôöŸ¾råöëÌÛ/Õbwñ/~ò­÷Ëíÿ¹ûû›ŸîßÃcFŒ«ÔVÚ]õœ¹rá\U6—áé,2ðt-š§K“˜›h¤ˆwÏW ÆæöíöƒiÛÜxó×û›Ÿoˆ§‹”&ÚŠ(¶ŒhÊ£ÉêæãO4šÂ5P€Hk¢ÇÍÈU¤%\høžEw7ÿº¡»•  bóµùøþ…dXó(––0ªÉÍžRGœXc£ÂE³£¢°†0·Ø +fÍèPùŠ0ͺòe$Öõ„—ˬ‰åöÊnóhûåÃÎa 7¶ [`Ü’ÍÊ3"ÅÎz¾™NÝt³ýÇ%EGšÒÛ©›%uVá—éÔ“78©ª"וÛÚv?Þw[îìýåp²ýaoö¬ú³iÀ*b{G>á߉qÂ¥Ü.ú'ÎÕžî2D‚%Ñ·ðcWTo6 uW%Ï•ÏÿðfÄ8üY%ãÌ‘§2ÃΛ‚† ‡9 îBp>æ:òÃ0®,sÚJúo6ô»ô ‹q=ïXøægnÁ+k}[He¼vóèômß¼ŠÄ£Ã¿.üãÂ%S‡zî‘îãÑË4ߟþ—í[C„×ĵË”ü²°žy_ÁJõA¶V †ŠD¶”›¨?²÷å";XÙÈ–°ÔF_Ú‚ +Á,;ÑÖ¬’ü Ú& ötËgósXøøš'XÙ>G¢â‹Q +³>M!z5øšlí7&‰ÍJ0ldMìËxÆØBèülÿÑp>{ÕV…¤–sá"h›}à}„°–H6`«BÐ^ תèÈóáÊâ}„°l³ÔÛMÅ—@+lů !X± Ò#€ëX×íþÍ¥?gãæŒMžþ‚Só—V½vÚùㇵè ;Ÿd½ÎRlC©Ã +¯WR1ÜfípÀÞ—ì`e{”T…¡$6»ð_8À`ú€´¦wwwXº\-ÊKÃcâWH=¿RœmlŠ®/¶/>ÐnBUÅt…¶Äð#¸sm“Åk®øwÜXÍ8ÃoŠ JñkR !)Ñí1Ì^è}Z,“-ú›/ݲå?M¿/>–Í}XMb5 bóÙpmŒŽü@£V¶ â‚Ð6þq=/ô Hl=¤Æ†rp+ì¹£Ôõm×B2ˆ^7<žÎ¡›v%Ú¿ã›À°ºÈ }]ú¢Â¶Œ“|z’×PCL< ¯ѱ®Ú‘Õ`eûðÆ •»J*Þ–ÐÇ ÑíŠyáëu·n +:½=q@l]iõ3lÁcêž‚Úž‚ªÍî_1êrÉQ.\Nu¾5^£GÔå1hbùpQ—kF¬®>Ù‘åpeñQ—ÃøîÌÇ,ø´4@Oǽ¹Ë]92TÌÒÌå ÖÁ ýFáf·‹ç û­:O®Š¿?½"‡QûËxQpqÀ…ùæ¬,>uâJÞ(ÄìYÜÉ®\unà2†õQW \³ ‡¿Zû0Ö' +0ØDjŒT 0ÃÁf_~ l‚•í`©¥èÛ¦Z¥‡Çþv—¾:οÞ-’u…~1¥‹£¯NûÒ,»ìÒÉ>m|ej§ÉhšÏ|á‡-¸>®̱±Ò+ºÂÛÎÆÿêí:¦A #‡s+LÅDðáŽw䇹•peñn…iJ4íŽ>b¹Ù¤.Ê[©ê"ÇÆy?Ãæs3,3DV> endobj +2674 0 obj << +/D [2672 0 R /XYZ -16.307 900.716 null] +>> endobj +2675 0 obj << +/D [2672 0 R /XYZ 56.693 759.068 null] +>> endobj +2676 0 obj << +/D [2672 0 R /XYZ 65.161 752.393 null] +>> endobj +2677 0 obj << +/D [2672 0 R /XYZ 56.693 704.886 null] +>> endobj +2678 0 obj << +/D [2672 0 R /XYZ 65.161 705.569 null] +>> endobj +2679 0 obj << +/D [2672 0 R /XYZ 56.693 658.061 null] +>> endobj +2680 0 obj << +/D [2672 0 R /XYZ 65.161 658.745 null] +>> endobj +2681 0 obj << +/D [2672 0 R /XYZ 56.693 612.479 null] +>> endobj +2682 0 obj << +/D [2672 0 R /XYZ 65.161 611.92 null] +>> endobj +2683 0 obj << +/D [2672 0 R /XYZ 65.161 590.002 null] +>> endobj +2684 0 obj << +/D [2672 0 R /XYZ 56.693 542.495 null] +>> endobj +2685 0 obj << +/D [2672 0 R /XYZ 65.161 543.178 null] +>> endobj +2686 0 obj << +/D [2672 0 R /XYZ 56.693 495.67 null] +>> endobj +2687 0 obj << +/D [2672 0 R /XYZ 65.161 496.354 null] +>> endobj +2688 0 obj << +/D [2672 0 R /XYZ 56.693 448.846 null] +>> endobj +2689 0 obj << +/D [2672 0 R /XYZ 65.161 449.529 null] +>> endobj +2690 0 obj << +/D [2672 0 R /XYZ 56.693 403.263 null] +>> endobj +2691 0 obj << +/D [2672 0 R /XYZ 65.161 402.705 null] +>> endobj +2692 0 obj << +/D [2672 0 R /XYZ 65.161 380.787 null] +>> endobj +2693 0 obj << +/D [2672 0 R /XYZ 56.693 334.521 null] +>> endobj +2694 0 obj << +/D [2672 0 R /XYZ 65.161 333.963 null] +>> endobj +2695 0 obj << +/D [2672 0 R /XYZ 56.693 275.496 null] +>> endobj +2696 0 obj << +/D [2672 0 R /XYZ 65.161 276.179 null] +>> endobj +2697 0 obj << +/D [2672 0 R /XYZ 65.161 265.22 null] +>> endobj +2698 0 obj << +/D [2672 0 R /XYZ 56.693 217.713 null] +>> endobj +2699 0 obj << +/D [2672 0 R /XYZ 65.161 218.396 null] +>> endobj +2700 0 obj << +/D [2672 0 R /XYZ 56.693 170.888 null] +>> endobj +2701 0 obj << +/D [2672 0 R /XYZ 65.161 171.572 null] +>> endobj +2702 0 obj << +/D [2672 0 R /XYZ 65.161 160.613 null] +>> endobj +2703 0 obj << +/D [2672 0 R /XYZ 65.161 149.654 null] +>> endobj +2704 0 obj << +/D [2672 0 R /XYZ 56.693 102.146 null] +>> endobj +2705 0 obj << +/D [2672 0 R /XYZ 65.161 102.829 null] +>> endobj +2671 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2708 0 obj << +/Length 2232 +/Filter /FlateDecode +>> +stream +xÚÕ\[oã6~ϯº;4ñ*rv±Øv¦—»M +˜éƒ"1±Yr%y’ô×ï‘d'ñEΡ)Ø';öñá!Åï;& n‚0øîìÝåÙ›2 1Š©àò:PŒ¨(Д—iðéÕ/6·qm_Ÿ3¾ú¹llÝ¿½.«þM3[}ùm™¼+ËÛþß.>¾þýòGæœRb¤ìµ]4¹­gÖ6uû5ŒN £+ÞŽ.TD"¦ƒsIL´_2PéWoúªLûó÷—gœQP4Š(ÃÈP¢B$ó³O¿‡A +ßDÜu’ó@Ò0®à}\œý÷,\­D8¸"kÝÂªÞ¦ÏŒÉΊõÏÞ|‘n¢ý&Biø¢_ÀòÊVÍës†0ýø¡)‹·¯Ï)ƒ?Ó2¹‚#I]“ûyþ·^è*/“[r_çý°xí(íËw›Ó†‡E#DÜ®y;íösÂ" +0b´ *\?Ÿç†¶ýŸîÀ`BL¬èÓVÚW¿$TÑmý2¤$‚õÃŒð|(b˜ÁØNauôo~YmŠL™!Ýʃ¥”öÏù_iº±'võŸºç[/‹vJ¸…JpßÚ I0‰¬>ØýÉ«P]8ÈÏšyŽœžmš¬¸Á gN®ÃNøjn‹ž_öLîe81I—>px&—OJ,È™ƒ)„ïNF$J3©žŒH¶ôû‰¿±x"QZ‚çzô‘è½þÍŔߙrÖ%üýåOq’å²Y,‘ôx7³Û,Ö}þ×a&;5QÂgÃÖô$ˆ|0E¹cÈù°!Úª<–U!`à„¨àU1.¶Ã!’R"‚W:!rEeÓà¦~Oô6Ö!†Æ8FR/ò¸Ønla«Å iø:C³p\ !ÏŠ[¤Î¦DÊÍìühêàD0~Rê€Mi=.u,â*ž“û;{…8€-Tr:ò&ìRЩÈcK¿yø‹' q+7«úCvL)–7õ¸IJaï)JÑdÍN¶²×¶²EbNh¤¯F£S"R*A ~‘ÉlYÜž'å|^N]JÑíºép)¦+<Óí‰Gqš’ˆ„ŠéUíîcV#ãøò'÷þ%øå²@GÌwXˆ'ù2ÅúæIÖÍÚ»¬™!tÖä„ ÀSQzRB šÈhäòi_åÖ… BM´œ°P*LÔå0S±Á–~?Fð7ÖÀRªW…ÒXqbI™× ›à„gq=öàE<·HMSeWËf§üðõáú@ŒÍ‡²fô<`ìâ,Ø¦à‹¨öëS=v|Pmê÷•·±P=²A™Ö*ÈZU½‘qdäq]û@`¸lYŽ»ñ“{Þ`êªé±ŽXhNŒP§tÄBQ"×GVc9â벚Ç.…6!i—±Oç‰EHôSs|ÒØÔïIÞÆâ=±’Aåž+﫲3ͤì°÷º›AþŠô7m@‡­å•MQ¢K Š$¨ÅÂÆÕèç—;òpí>)S›»f.Ä!'å*‰XŸtZhÊÄ…BÙU(&c nàOÆ@[úýÈßX<q£!û‡€þÂ4š©Ñ¨…‘b­ÊŠ:K‘š1¶åã.›Ô:|` ;:6æªgå2O +»˜ŒØÿü¤TÆ•!l}fåDe?ÅË*kþì¹ìGµ—qiºâÊt\&4QOäñ¹lS¿'—yëÀeÇšP<[b16Ïêc´†z'H¢I-äcÕžºãÁ¾…þ3/klD5ÌÈ& ؽ+À3}RÜ2N¨á#ãvºà–r"&l·â!ër½É`»©ß¶ÞÆ:À‚¿È¬Œ]¤qƒŽ¶±±ukÂÈ ë]†Ž9â‘[–µ=n¥^nÌj­½©âÅ̱}jïR¯É6€|¶Úà“RºôçP„+)ýL*X²µÌ9Í ")§ëíÙÒï‡6c1h†(!a0A4_Jãø˜·]ïØ'£5‘ê¤-) Ö™²cZRþmÛSÀnžâY~SÙG“yVtfuS Ïê¦vp8 ¬k“ïÉ<o.Ät-*[ú=1àm,Þã0J#Î×Wjæå—½ìø÷av¼Ú¦·¼phT¤Ž#dŽ# 4Úwß}5s.l²r¾EzKª#¢;eVLaÅ‹F®¼>¥ÅØ™KId(¦Kƒ©DŠéZÖ¶ô{BÍÛX|LED4º©…Ú°ïÂP…‰ÎÓÝË“j‘ÍøWUÿÙÄÕE +gÈuÙÞþrˆ®l@z{;_l]fY%(ظŠ¶yÒ68J ¡ŒŽ[Ÿ‹—M™¥÷.LÂÍ„}plçÓ%›êýxÈÛTj e‘cJ|Wáï®8tqhHKí½!”.wÛ›‡…7†ÓÇS Ý ‡?ó«2¯‹j›4è˜ Ý‹“Tv÷ñEüC&¦«Wlh÷§¯¡øhÿÖ̾©ý !XÙÌbì Øë鱘nÎÈÒ ÂÕí5ìÅòx!B­ff‘CÜ¡ó°%ô}ÙVañ[¡ö p´ ÂL‘iíü 4’°¯£¹þ´ÿžYŠE +endstream +endobj +2707 0 obj << +/Type /Page +/Contents 2708 0 R +/Resources 2706 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2573 0 R +>> endobj +2709 0 obj << +/D [2707 0 R /XYZ -11.232 900.716 null] +>> endobj +2710 0 obj << +/D [2707 0 R /XYZ 56.693 741.987 null] +>> endobj +2711 0 obj << +/D [2707 0 R /XYZ 65.161 742.67 null] +>> endobj +2712 0 obj << +/D [2707 0 R /XYZ 56.693 695.881 null] +>> endobj +2713 0 obj << +/D [2707 0 R /XYZ 65.161 696.564 null] +>> endobj +2714 0 obj << +/D [2707 0 R /XYZ 56.693 649.775 null] +>> endobj +2715 0 obj << +/D [2707 0 R /XYZ 65.161 650.458 null] +>> endobj +2716 0 obj << +/D [2707 0 R /XYZ 56.693 603.669 null] +>> endobj +2717 0 obj << +/D [2707 0 R /XYZ 65.161 604.352 null] +>> endobj +2718 0 obj << +/D [2707 0 R /XYZ 56.693 557.563 null] +>> endobj +2719 0 obj << +/D [2707 0 R /XYZ 65.161 558.246 null] +>> endobj +2720 0 obj << +/D [2707 0 R /XYZ 56.693 511.457 null] +>> endobj +2721 0 obj << +/D [2707 0 R /XYZ 65.161 512.14 null] +>> endobj +2722 0 obj << +/D [2707 0 R /XYZ 65.161 501.181 null] +>> endobj +2723 0 obj << +/D [2707 0 R /XYZ 56.693 454.392 null] +>> endobj +2724 0 obj << +/D [2707 0 R /XYZ 65.161 455.075 null] +>> endobj +2725 0 obj << +/D [2707 0 R /XYZ 56.693 408.286 null] +>> endobj +2726 0 obj << +/D [2707 0 R /XYZ 65.161 408.969 null] +>> endobj +2727 0 obj << +/D [2707 0 R /XYZ 56.693 363.422 null] +>> endobj +2728 0 obj << +/D [2707 0 R /XYZ 65.161 362.863 null] +>> endobj +2729 0 obj << +/D [2707 0 R /XYZ 56.693 317.316 null] +>> endobj +2730 0 obj << +/D [2707 0 R /XYZ 65.161 316.757 null] +>> endobj +2731 0 obj << +/D [2707 0 R /XYZ 56.693 259.009 null] +>> endobj +2732 0 obj << +/D [2707 0 R /XYZ 65.161 259.692 null] +>> endobj +2733 0 obj << +/D [2707 0 R /XYZ 65.161 248.733 null] +>> endobj +2734 0 obj << +/D [2707 0 R /XYZ 65.161 237.775 null] +>> endobj +2735 0 obj << +/D [2707 0 R /XYZ 65.161 226.816 null] +>> endobj +2736 0 obj << +/D [2707 0 R /XYZ 65.161 215.857 null] +>> endobj +2737 0 obj << +/D [2707 0 R /XYZ 65.161 204.898 null] +>> endobj +2738 0 obj << +/D [2707 0 R /XYZ 56.693 159.35 null] +>> endobj +2739 0 obj << +/D [2707 0 R /XYZ 65.161 158.792 null] +>> endobj +2740 0 obj << +/D [2707 0 R /XYZ 56.693 112.002 null] +>> endobj +2741 0 obj << +/D [2707 0 R /XYZ 65.161 112.686 null] +>> endobj +2742 0 obj << +/D [2707 0 R /XYZ 65.161 101.727 null] +>> endobj +2706 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2745 0 obj << +/Length 2462 +/Filter /FlateDecode +>> +stream +xÚÅ\ëoÛFÿî¿‚@ œ Äë}òÑÞ.½ÄAs—´—øÐIqX‘+‰ ÅeIÊŽû×ßP¤‰zxh’Î'­Éåìpvæ7š:s‡:¯Î~¸>»¼RÔ Hàr×¹ž9.'®çøLá9בóaòÎ$Fæü‚+:ykKSÔÙÍëA¹hn¾°áÖ~ªÿøõý¿Ï»~ Ë\0F¥jjïË»Ä cÊ¢º «3LJÕ]Q­.]xÜw. ¼f}%€ çO.ëæÕƒg/¯Ïþ8c@ž:ÌQ.qáx#.åN¸<ûðu"¸ øÎízæÒQŒ.\'Îû³ÿœÑFtG"Üiž +Ö"Ù—aÔ­™’D­¹Ø<æ|¸`”ÒÉfúœÑÉü.LÌæ%·E á’·!u½ßÌ&‰=çjr§óúR¸Ðé|#ð…>çtrsÎÔ¤ybjLZ–:j®•öË®¬×Ö¿¬Í|I<¯zýõÚËŠÝùA.%‚±ÍÄÐnèqšÖÆ3áõ8¯Õ…ìŠç‚ E¨ïÁ¶–ŠšêGÎwŸæv­²âÁ'Òõ7,¼Ñ«<.ÿ<¿pAίN ›~Ræð§Vrò¹Hjj nÁêçÕ®¢€z3;®ïßS•¢T×µ“®ÃIàNnœÙ¶fìP;|uÏ#s7 Ô„Y5»/}E˜ËÚô…-QaVض—<€Ù5Á|îÔƒwíì%ãYKžNe³¥6Šg±‰vt`ŸWµçF?<ñôÄ´Ìs²QÈýg&E¹šHÌ2Kt‰d¤°Ø7ÓåÀ2(LXÆ6ÅMŽâ¦Ûü7=ÕK$1R¬©-Û8 ¶tG2I¸º£TÒÛü­Y‘ `Íœ ,T6 ¼ñ u—~OCíÍ,ÆPÁϹR*€§”Û¶«2[auô6;˜ßú™÷ »J80‹?ã&NW󶓮.Ã}Á L XQà²@ÓFS‘]ú=U¤7³¹g< Üo˜ç íLZ¬r<èc¡ñÛb¥aaIGšOû8o.ŸòNHÊ™.‡H¤Š§~»0H'±bŸz0N?°·{§§Ç]˜ÙsX§§›TO“ÖÆÃå¿1%ㆠ”}BÌ#¿ûI[“¡¸‚¨cëȆSÈêªèúûzBçh›S„1Ú¦šyr<„ޥߡ{3Û!Úf¶™Õ›|Æ¢ÙQÏ)÷„ŽÙ¢Ìm† XMê,ÞÇ€ÊæNÇSdت³,¹‹±>i¯¦Ë¸,±¢˜GÀèaK¢.a¾zJPQ¾ Üc•·6¯|Æú­ÑI±Ø Ê4±á6ž˜4J«ºRHQž ‚úãAŠ‚_!ƒÑ ¥E¿¤ôg) +^ÀÝÔ¯ŠÏÝÁµ` /^f:×Èå̬-+eÄ&ÎÑ^ò—㘈Œdomþ©cþôóªô†Ë×6…ˆR#åö66‘ÉÛ\?kÒôíd^>al”d^Ax&F´Ùò=M¶/«2y¥$q=¿–åïyºÞªÌ—:N:DÅ¡]îªÂÃÛ!ÁÔåø'óV\éûðVQbbK¹qRI\”<SVÑ#QI@{ÆÓî]ú=Õ»7³<ˆÚW²£G*o-ÖsD&-5¾šÅÊmËúî4€ÿ˜–Îâ¼@ú›°:Þîž^úE2ióÜ™M£ý$á¡Ê»÷‘K‚¸t¼ªp‹~?[ëÏ,¾ä'—ø›ÃR‡¹í^rza¦ñ^-©Î/ ¤ðŸ6•bÖ¥ôcÊC+q/¾'¶ +:Of˜… A‰‡¶ÌÃí`Çá¯(Fòkg] Í碌W[oÑïih½™í`h¾"hjëhÝÊr;ÕÓ仵%¤Þ{…Î ÒŽ|jS [=Çf#}ö‘‚×ãŒ{‚ϱ£ôqýñ—ýžVЛÙVàÉ/@Càþ7Ü•œ‰ K%’âQ6Zs¨ÙH +F|lšÜƒÍF/³ÕôD‘úúýEæ0‡Ü…¼pÀÞ"Æ`£úôýËÄå¢.F^éE2ÏÍýñÇ4N/‹Ì„—æ³^f‰).Ÿ¿ÑÅ+óÓì…¾+HõŠMsÿ¤äËÃ0ëÕˆäS¤Ú‰ÊÎ؈%NáRâªñP§E¿êôgŸP +W@Þ·?6¹A7ü`;ctX®t‚››PÈ¢gV [ìŒÐL]ú? IÇ`«‘K‹M/“¶W<³úQ0¼Y)½±z„ó¦,I¸#Ö7™ïAÇ«o¶è÷þÌâ½) (Q›’Âó(B÷D«,³y‰í¤Ì±ÑŽ7ÕG¼ØoJ\ß'N8ö1ž('•aGä©ÎIgO‰< ²Dn¾_ÿz…$¦€ )G4{I‰üÒ#?¼ÙïÒïiö½™í`öRÏÝ;ê²^{_µ8ëÜ®°0 ›çñ,q³Ÿ¿x9t[úð1NœêiœÄåÝ°’…Ø-ï¨Øõ×ãˆ7ÝkÝþ;Öž«h4pŸɘ$Êç_ɨ$. ÆC²ª¯Ïe£Ù.ù~8Ö›U<Œ°¢ôïQìkF.zU0ÍDz¶ù\žø2nýÔ°'¹?ý|…=(u¤Kݽ~#«oâp¡ òlû—ØDK¦Ç?û{Ð!šu½1Îäöþ¿8kêù÷BÿÑÎ +endstream +endobj +2744 0 obj << +/Type /Page +/Contents 2745 0 R +/Resources 2743 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2774 0 R +>> endobj +2746 0 obj << +/D [2744 0 R /XYZ -16.307 900.716 null] +>> endobj +190 0 obj << +/D [2744 0 R /XYZ 56.693 759.068 null] +>> endobj +2747 0 obj << +/D [2744 0 R /XYZ 56.693 738.489 null] +>> endobj +2748 0 obj << +/D [2744 0 R /XYZ 56.693 692.721 null] +>> endobj +2749 0 obj << +/D [2744 0 R /XYZ 65.161 692.163 null] +>> endobj +2750 0 obj << +/D [2744 0 R /XYZ 65.161 670.245 null] +>> endobj +2751 0 obj << +/D [2744 0 R /XYZ 56.693 623.131 null] +>> endobj +2752 0 obj << +/D [2744 0 R /XYZ 65.161 623.42 null] +>> endobj +2753 0 obj << +/D [2744 0 R /XYZ 56.693 576.307 null] +>> endobj +2754 0 obj << +/D [2744 0 R /XYZ 65.161 576.596 null] +>> endobj +2755 0 obj << +/D [2744 0 R /XYZ 56.693 519.371 null] +>> endobj +2756 0 obj << +/D [2744 0 R /XYZ 65.161 518.813 null] +>> endobj +2757 0 obj << +/D [2744 0 R /XYZ 65.161 507.854 null] +>> endobj +2758 0 obj << +/D [2744 0 R /XYZ 65.161 496.895 null] +>> endobj +2759 0 obj << +/D [2744 0 R /XYZ 65.161 485.936 null] +>> endobj +194 0 obj << +/D [2744 0 R /XYZ 56.693 448.786 null] +>> endobj +2760 0 obj << +/D [2744 0 R /XYZ 56.693 421.232 null] +>> endobj +2761 0 obj << +/D [2744 0 R /XYZ 56.693 374.222 null] +>> endobj +2762 0 obj << +/D [2744 0 R /XYZ 65.161 374.906 null] +>> endobj +2763 0 obj << +/D [2744 0 R /XYZ 56.693 316.439 null] +>> endobj +2764 0 obj << +/D [2744 0 R /XYZ 65.161 317.123 null] +>> endobj +2765 0 obj << +/D [2744 0 R /XYZ 56.693 258.656 null] +>> endobj +2766 0 obj << +/D [2744 0 R /XYZ 65.161 259.339 null] +>> endobj +2767 0 obj << +/D [2744 0 R /XYZ 65.161 248.38 null] +>> endobj +2768 0 obj << +/D [2744 0 R /XYZ 56.693 200.873 null] +>> endobj +2769 0 obj << +/D [2744 0 R /XYZ 65.161 201.556 null] +>> endobj +2770 0 obj << +/D [2744 0 R /XYZ 56.693 154.048 null] +>> endobj +2771 0 obj << +/D [2744 0 R /XYZ 65.161 154.732 null] +>> endobj +2772 0 obj << +/D [2744 0 R /XYZ 56.693 107.224 null] +>> endobj +2773 0 obj << +/D [2744 0 R /XYZ 65.161 107.907 null] +>> endobj +2743 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2777 0 obj << +/Length 3157 +/Filter /FlateDecode +>> +stream +xÚÕ]ëã¶ÿ¾…~ÈnÑå’©GZHšÛôÒä’æ¶EŠKÐ2mëN–=n³ýë;zxo%[öh)^PàpöÚÔp4äo^œ‘©³v¨óÕÅw7·’:! =î9w+ÇãÄó€¹Äõ»¥óæòhUè«k.é嫬ÔEûv•åí›rÓ}ùe}‘eïÚ?~|ýÍÕÏw_Ã4׌‘PÊ–Úëò!ÑÅF벨¿†Ù™Àìž[Ï.<Ÿø%¾ôLbÁ‘×ÑØØpI>lœÄ‹›e-²ìÃn>Í«8ÑÅÍ—ú­úwõZçñêúe©’8"Y¹êÆî/ÿãñê6ïwü'„DÂÛŽ«Ÿ(ß1úøŽµï+àe!ìEã÷–EÈ÷éBÞ˜Y|4îA4Î}·]Å»M\`_dÉûY|ÁÏÄ#ß·Ù4ÔLj‰TYEµÛey‰ §±Áô¶JÊx‡“õv¡ñJv•  \AØI¹goÛ÷én{kÌv€Hƒzöòú†Â°Æl+ ‘£öÒ“úfÂ0gïI‹Ü°ËZ¿D&Dz +70Uïãµ*õ¼~’Âf-tô.«Êyƒû3Œóu=¿tˆûÂf’ÖÙ³:ÁG”“0{þCŸ¼!ZLY–À'bìu$cu"ˆ­Ïo& _ ‚éÓ£kgwÂðÆ-žhZ%Äe,´—dÐ7ÜÆÌNؾG„ßåŸÿƒUŒ‘BÆŽivtQ«†Æz`I’Ý£Ó¾Q¶Ý¦£ð^¹k/q9 o¸Á¬1Û C¶aŠ5aôé +ÔÙqlIQ7k±EÈ ü;qº¸(³#Z¶Ù›'¬3ÖìH"L8ÕÈÊÕGgçñ6ûa•ÿ©„tQNà#*&Û+A ÛöÔ§oˆ SfÇ$ܦà¥AЉe+ðËöKTMZ»¡Ÿ4îçÛ dGœpBaNp28‘Dì"WZôƒûô w‘5f;a°6T´&Œ>}Ca3;ÁäŒxèbh¤6b®ÎU+ØòÞ²]‰>Ï@;¯ $¯UÍ +nÑååËe–FúÙ^+m#Bk˜èÓ7Ä„)³ã*>—gÍÌêp··Å©k²´<愼¿ä»»[ÜÒß¾üæÅ¥ŸOðEÅÆQ>Ø3öîS2-ï€-¬aÚÚÚÜúf›Û³0I¤½ð´OÞP¦¬âMŸPž†Õ÷éRçÉÚ85á3'MTé¶ZNMȃLÊ +½S¹*±J%‰‹™3Ú +v|d<<ë;¯Cü6„·†›>}Cà3;9¾OÑå SµÅ.ÃVÙè|nèm…ÞU)ölº˜9ùËWŸûâKäaó¸Ý;j&MŸ¾äð€º›º.þjßž)ñ;ÆW]Œ6ãž»oz±Á>}CZc¶†äÄö2«ú†Â0fv‚>’’„.›hÉó*MÕ"Ñ6 +Üf¶õq%ÕR?»lNˆ6Ê·¶súô wŽ)³ãûDúg3Š]gLV%ËysïU/Mƒ qe»*±ÆµÝOhÖNæÂZéÕT7Ï ˆÊYS*|!›·¦ôI9(V-Pk¯–Ó A1s{9è}3½cÎ,¾–Ó CÂY§‰^nwù°µÒÜå,t¢#|bqEÀ)VËlÕÜo4’Ñû,‡Ö\ؾŽã•QÍWâÔ© 2îiu9ÝœWßèP/ôêºYH<÷CY· ]ñwðdOl7Ú3ygõ‚ˆš€=ØöéÂÖ˜Y lÈZH˜, \v5ØØÍènš.Æ;"+š‡|DåJÐTûróöL€ÃÖ¬„$…½%-Ú2T6µŠ>}CP3;Á– ÎŒ°iË~­Às.æµdèÙ¿ûþùÅX¯vj¶ÝY§E•£Í#¸ëåÜnÇ¡ Îc—ƒVöN"ô ¡eÌ,>±áºŒH·;›<úä +óF˜¥Ö»¹»R]”øNÃp›ÇXPacL¬ÙÍò%ÖSEW¯«å[i왶)ÀçS1Ã|Â{œú†˜1fvf8%ÒïºB²NÑÚð>W»vËv‚Ÿhæ¨ÒwÏ=Èv™ îÇôûxÈ ½ßÝï;Þ›å[ÒŒ Ôz«+À± ,>xŠû Þ¹½Î®}3 ›3‹w)¹/HÀüÇîö¹Ó”›U…¬íÜ€uHðÅh+;ækKP[pÿ.‚JîÕÖ䃺Uù³¬þGË…p¯6'ö Ú#oˆPSV'$B¸ç’@v%èà Û­FŽ°Ž·† C‰ v“׌2{Åú†+gÌ,Þ?â’“ §>Fà[‘¥ØhB¡Óg }æÎ#OUÀ÷«VwU±ÁFIuô…U€ ¤e‹u®òhó0=9ÄïÐáZ/§fx}&g±dq@ß½ÆÌN@¯`dŸkS؃ ¨äÇrÏgÊõØöó8ó%ì–ïëÁûWÉ$ 0wæc«Ò¬®PøÓòâ¡(‡Ì¢0µÔ`ñÊçæNÏcŠûM€g S}ú†˜2fv¦\¸6èNã£,Ï0¸Exõ·ñÆÂáH'ªáÆ.Æé­¨r!lÈ<çb7¯³ù›M–ëÃÀ44/00£U7UÀR=º˜ûP`¡±uŸE–T'áçû•Ð +P•¥Šð‡Ò +{åAAÏyÃù®½Š‹}C3;äœÊ»Š‹¡„¿®q_?Ìl~&; èªä é(.âywlZÍœrÀƒXõ‚U¦e¼}~ôÉÜ&Wh+oË;û4qË|˜DvI3Aü¡Âh]Æ]ñºc×>¦m¦Î5„>©¤í~ !I²+./›žÌæ£æ±Êû_Kبšèû+&/»+°æÝV-»Ï`ÑR¡MθO¦fõ“D}oŸžÑÑB×}LõDÙž|×½ýmå$ oßçíO=¾X®9›VÕ7¸Á3ÒÞߪ*Ëÿ¶é꯵J‹ì1ïÝ݆;¡±¸”ÙË:3WØ‹­ôÍL„9³ø¬3c¬N"N}¤ª²Ó¶Í–U2{"w­S][3¤Ü%σ<Õ±>¶Š0;¹Å*Ìú(J•.U~²,o˜cæ²VrÌ¡ž·½êü>y3<³:!Ç ‹x~gŒ¾{ýUyÃßû0eýljà9~žzçzí›ÊËؾûe4‘½>ç‡ÑþÏ©^‚ +endstream +endobj +2776 0 obj << +/Type /Page +/Contents 2777 0 R +/Resources 2775 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2774 0 R +>> endobj +2778 0 obj << +/D [2776 0 R /XYZ -11.232 900.716 null] +>> endobj +2779 0 obj << +/D [2776 0 R /XYZ 56.693 742.102 null] +>> endobj +2780 0 obj << +/D [2776 0 R /XYZ 65.161 742.786 null] +>> endobj +2781 0 obj << +/D [2776 0 R /XYZ 65.161 731.827 null] +>> endobj +2782 0 obj << +/D [2776 0 R /XYZ 65.161 720.868 null] +>> endobj +2783 0 obj << +/D [2776 0 R /XYZ 65.161 709.909 null] +>> endobj +2784 0 obj << +/D [2776 0 R /XYZ 65.161 698.95 null] +>> endobj +2785 0 obj << +/D [2776 0 R /XYZ 65.161 687.991 null] +>> endobj +2786 0 obj << +/D [2776 0 R /XYZ 56.693 641.549 null] +>> endobj +2787 0 obj << +/D [2776 0 R /XYZ 65.161 642.232 null] +>> endobj +2788 0 obj << +/D [2776 0 R /XYZ 65.161 631.273 null] +>> endobj +2789 0 obj << +/D [2776 0 R /XYZ 65.161 620.314 null] +>> endobj +2790 0 obj << +/D [2776 0 R /XYZ 65.161 609.355 null] +>> endobj +2791 0 obj << +/D [2776 0 R /XYZ 65.161 598.396 null] +>> endobj +2792 0 obj << +/D [2776 0 R /XYZ 65.161 587.437 null] +>> endobj +2793 0 obj << +/D [2776 0 R /XYZ 65.161 576.478 null] +>> endobj +2794 0 obj << +/D [2776 0 R /XYZ 65.161 565.52 null] +>> endobj +2795 0 obj << +/D [2776 0 R /XYZ 65.161 554.561 null] +>> endobj +2796 0 obj << +/D [2776 0 R /XYZ 65.161 543.602 null] +>> endobj +2797 0 obj << +/D [2776 0 R /XYZ 65.161 532.643 null] +>> endobj +2798 0 obj << +/D [2776 0 R /XYZ 65.161 521.684 null] +>> endobj +2799 0 obj << +/D [2776 0 R /XYZ 65.161 510.725 null] +>> endobj +2800 0 obj << +/D [2776 0 R /XYZ 65.161 499.766 null] +>> endobj +2801 0 obj << +/D [2776 0 R /XYZ 65.161 488.807 null] +>> endobj +2802 0 obj << +/D [2776 0 R /XYZ 65.161 477.848 null] +>> endobj +2803 0 obj << +/D [2776 0 R /XYZ 65.161 466.889 null] +>> endobj +2804 0 obj << +/D [2776 0 R /XYZ 65.161 455.931 null] +>> endobj +2805 0 obj << +/D [2776 0 R /XYZ 56.693 409.488 null] +>> endobj +2806 0 obj << +/D [2776 0 R /XYZ 65.161 410.171 null] +>> endobj +2807 0 obj << +/D [2776 0 R /XYZ 56.693 352.769 null] +>> endobj +2808 0 obj << +/D [2776 0 R /XYZ 65.161 353.453 null] +>> endobj +2809 0 obj << +/D [2776 0 R /XYZ 65.161 342.494 null] +>> endobj +2810 0 obj << +/D [2776 0 R /XYZ 65.161 331.535 null] +>> endobj +2811 0 obj << +/D [2776 0 R /XYZ 56.693 285.092 null] +>> endobj +2812 0 obj << +/D [2776 0 R /XYZ 65.161 285.776 null] +>> endobj +2813 0 obj << +/D [2776 0 R /XYZ 65.161 263.858 null] +>> endobj +2814 0 obj << +/D [2776 0 R /XYZ 65.161 252.899 null] +>> endobj +2815 0 obj << +/D [2776 0 R /XYZ 65.161 241.94 null] +>> endobj +2816 0 obj << +/D [2776 0 R /XYZ 65.161 230.981 null] +>> endobj +198 0 obj << +/D [2776 0 R /XYZ 56.693 194.339 null] +>> endobj +2817 0 obj << +/D [2776 0 R /XYZ 56.693 167.14 null] +>> endobj +2818 0 obj << +/D [2776 0 R /XYZ 56.693 121.906 null] +>> endobj +2819 0 obj << +/D [2776 0 R /XYZ 65.161 122.589 null] +>> endobj +2820 0 obj << +/D [2776 0 R /XYZ 65.161 100.671 null] +>> endobj +2775 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2823 0 obj << +/Length 1834 +/Filter /FlateDecode +>> +stream +xÚÍZ]oÛ6}ϯ°˜’")j{ZÛµ@×]œbº>Ð2mk‘%U¢§¿~W_‰­Ú eYÁ3uy}uÎá!)ì,ì¼¹xqsqùšcÇG¾ Â¹Y8‚"á9’¸Èõœ›¹óit­#­r=žPŽGW‰ÑyÕ\$YÕ0«úâ«$x‘$·Õ?§ïÆŸoÞÂ0BÏymjî#¯´6yqF'Ž„Ñ…[ŒÎ„‡<* G¾WÏ9ôäè²ú Â/n¼øýæâËðØ!Hø®ãù L`}ñé3væp @Ì—Î]Ùsíp‚u´#gzñ×®+!Å¢Y|¼Ù‰ õ u<Æ‘$²ˆ\|O‘/}‡½}'ÓÎâh¤'ãsDiÇç˜ OH«v« Oý3$[Ì–NÕ¸®.+Ò$î#‚Eõ¨Ö*:7å:Ìù4Fz¯'D@õGn¹Yi»Øëd¾‰,û†ë4É*8>ÝYÅs»Žzkt<·Œjl—Þ†¹ ã¥eï +Ó¼C‘GÛ<:¹ÀO?¾ #–åKâ½~>¾>æI$±—JÜýƒ®Ô˜þØËC ¨[÷™Tñöð¾§! Ó]†$e0¦ïÇïÉôÞÉZ0]r„¥€±$"¬å ™·ûta©‹,ënôžEí™hñ¤"R6%MÎ6Æ–"al×/U&Xµ˜Z^ø‰ +Ê„È–.òXe˜¬™¨KdY›ÃŸ•¡E=î—F¤žÒ…d¨™^ëíŸA0üŽ÷c„9SëÆRìð”!WÔþã¦1+‹$Š’1壻BN˯‚•Š—½Y©1Å£¯cÂGõ3­ãªµVóú;“¥LÊOö%P:XHu¸§Ÿ¥ +&al×VýîôÌ®c¦ód“ÇÓÓ´ íhïùa½¿'®{'k?‡ + Ÿ¾_û*¹;³áþª¢í:"·]o¨b–iáò8Ê»2)Û¬ýüc®Z¯jÖêÞï_6afY¹`“›d~S&lùþ§‰Áýâ"Œ­øýˆÑ?Y{bpŸ!Ê*^{5VO"JÙ+Z´ùî‰uÐ4.=Hš æ'w-Vm'9óÑŸj“…æ[e‰Þjç– ^"Å›5ø&”fI +ö)Ôy_Äy±Ìò†óEœ1Dèp[X­ø=‰Ò;Y{kÄ™‡©×/“,Óõ,Ó‹t“¥I~òÄγî?+ ˆD€ýXp•€C‹+ü­¢|ÕP U€xdîÓ.KŽ!A‡ƒ<ó=äb6ä[ñûA¾² 1â>©êoó¹-Ü?L#½´ ¬ME5‚ò€d»­³t{€ËüT‚2˜G]Ÿ“ Ì#ˆarA߆٭ªøùˆÒmÃÏU¸\EðgÐ6Ì*BA/Âe²29¹r@²rŒ˜7Üa+~O²öNÖž¬Œ»©×™¬qb,©¤fÉÆòÐ&Ou.î­Ò…¡üÞÕMÄr õáú]Çe+&ùgeeˆ{âÌ»oI0K’[ä9ª6 + +ÿZõ]êXgÊèòêJ«9LÉW«EÖá;ת޽Ü;d‘>âÐ|8dÁ² ø¡Eª–¥~†aêv‘à|8ýØßS?z'ÛA?0ŒÉhõß?ìAŸo,ߤŠª]礖"ör:µ?M>}Ž?$„xNyp=ƒÓóÊÃYV¢nñ†p‡Þ…Hw0¢î‡ïÇÓÞ©ÚÓÔRïÐ_iËLeêCCKªjÛ—3lwŒ*¤Ù¾=‘¦ZeÖæ!Ö[s^©jr²R¸`Æ$£Ïzê£ßœúÏ@?NßM>*XBý¿@aõ1O ÷öH®ð“=éï(”ð0n£Ðy¤C0R¦‘Øx¢ú¯Ì%Ìd夳£²µzì3Û„Ñ|®Ó¨ƒÓ¢|@¦Å bƒéï^ô~òÛ7Q{õ¥ÌG¸yãZ—ÏÍV¤Ì¬Ø¶=Qµü½£9®« c»¢æský]‡ynÝùªSªý‡MÖaqØÒøöjÖ”“!^ £Å[Vl¸³×Vüž”é¬ i€-‚qL" PUN³‰¥k©m›ªàV-­ahm\^éY¨N>»¢.A’»CúZœ¡ó@`Aî³úH´/k{²zYæ-—±f®> endobj +2824 0 obj << +/D [2822 0 R /XYZ -16.307 900.716 null] +>> endobj +2825 0 obj << +/D [2822 0 R /XYZ 65.161 760.065 null] +>> endobj +2826 0 obj << +/D [2822 0 R /XYZ 65.161 738.147 null] +>> endobj +202 0 obj << +/D [2822 0 R /XYZ 56.693 700.996 null] +>> endobj +2827 0 obj << +/D [2822 0 R /XYZ 56.693 673.443 null] +>> endobj +2828 0 obj << +/D [2822 0 R /XYZ 56.693 626.433 null] +>> endobj +2829 0 obj << +/D [2822 0 R /XYZ 65.161 627.117 null] +>> endobj +2830 0 obj << +/D [2822 0 R /XYZ 65.161 616.158 null] +>> endobj +2831 0 obj << +/D [2822 0 R /XYZ 65.161 605.199 null] +>> endobj +2832 0 obj << +/D [2822 0 R /XYZ 56.693 557.691 null] +>> endobj +2833 0 obj << +/D [2822 0 R /XYZ 65.161 558.375 null] +>> endobj +2834 0 obj << +/D [2822 0 R /XYZ 56.693 510.867 null] +>> endobj +2835 0 obj << +/D [2822 0 R /XYZ 65.161 511.55 null] +>> endobj +2836 0 obj << +/D [2822 0 R /XYZ 56.693 464.042 null] +>> endobj +2837 0 obj << +/D [2822 0 R /XYZ 65.161 464.726 null] +>> endobj +2838 0 obj << +/D [2822 0 R /XYZ 56.693 417.218 null] +>> endobj +2839 0 obj << +/D [2822 0 R /XYZ 65.161 417.901 null] +>> endobj +2840 0 obj << +/D [2822 0 R /XYZ 56.693 370.394 null] +>> endobj +2841 0 obj << +/D [2822 0 R /XYZ 65.161 371.077 null] +>> endobj +206 0 obj << +/D [2822 0 R /XYZ 56.693 333.927 null] +>> endobj +2842 0 obj << +/D [2822 0 R /XYZ 56.693 306.373 null] +>> endobj +2843 0 obj << +/D [2822 0 R /XYZ 56.693 259.364 null] +>> endobj +2844 0 obj << +/D [2822 0 R /XYZ 65.161 260.047 null] +>> endobj +210 0 obj << +/D [2822 0 R /XYZ 56.693 210.866 null] +>> endobj +2845 0 obj << +/D [2822 0 R /XYZ 56.693 174.701 null] +>> endobj +2821 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2848 0 obj << +/Length 1611 +/Filter /FlateDecode +>> +stream +xÚÍZÉ’Û6½ë+XÎESÁØIää؉¸¼$UÅU¶ +’SCB³äëÓÜìÑæEQñ‰Õl4ýº›ÄÞÂÃÞ‹ÑÓéèñs=…”¤Ò›Î=I‘ô½€0Ä|o:ó>ŒßéD‡…¾˜PÇoŒÕE=œ›¼Øeóç/&zjÌçúÇûËWŸ¦/aš !H Qk»´w‰.–ZÛ¢üf'^³KVÎÎ¥|x”ßÌ/$(ôƒñãúB¤*ý:ý3" {ÄIÅ<_$1õ¢ÕèÃ'ìÍà?0qx7•äÊ#Ê$Œïrôç7žÀ¡ˆùBU.i•s…–QˆTV´y&c<~¡S«/ˆßÚfy÷ ¾  °äJÉ´uÜÜ$‰¹ b|§‹úV´ ÓEëêexAñøºÔÛîo¬;C²„p›€¼]Ûlm;¶”Ÿ™ì.ËWA¾ÍJKÎJ`9æÂnrï[ˆ;ä™Æ›e¿D­8gK­Þä|Xå ²B6 VE<«›ú{bµ·±°Ê„]Shü<›¹¦.Å—ì:ä%¹.ÖI—ì]æZ/ëž8銑ÐYÞGC@Ý銪Wç%˜Crʶq™©Ø«¤o¨‚˜G(®k¼©¾iô6Õ3Tùmk?Ý]ç¯;VWñbÛ;Ç/L\ÆOŠ,L;Ö/OrssÄcaêÈO"“ìè8 !u§D€ã™9FXªc¾cþ%…ä4 +endstream +endobj +2847 0 obj << +/Type /Page +/Contents 2848 0 R +/Resources 2846 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2774 0 R +>> endobj +2849 0 obj << +/D [2847 0 R /XYZ -11.232 900.716 null] +>> endobj +214 0 obj << +/D [2847 0 R /XYZ 56.693 759.068 null] +>> endobj +2850 0 obj << +/D [2847 0 R /XYZ 56.693 738.489 null] +>> endobj +2851 0 obj << +/D [2847 0 R /XYZ 56.693 694.054 null] +>> endobj +2852 0 obj << +/D [2847 0 R /XYZ 65.161 694.738 null] +>> endobj +2853 0 obj << +/D [2847 0 R /XYZ 56.693 648.775 null] +>> endobj +2854 0 obj << +/D [2847 0 R /XYZ 65.161 649.458 null] +>> endobj +2855 0 obj << +/D [2847 0 R /XYZ 56.693 603.495 null] +>> endobj +2856 0 obj << +/D [2847 0 R /XYZ 65.161 604.179 null] +>> endobj +2857 0 obj << +/D [2847 0 R /XYZ 56.693 558.216 null] +>> endobj +2858 0 obj << +/D [2847 0 R /XYZ 65.161 558.899 null] +>> endobj +218 0 obj << +/D [2847 0 R /XYZ 56.693 522.486 null] +>> endobj +2859 0 obj << +/D [2847 0 R /XYZ 56.693 495.447 null] +>> endobj +2860 0 obj << +/D [2847 0 R /XYZ 56.693 451.013 null] +>> endobj +2861 0 obj << +/D [2847 0 R /XYZ 65.161 451.696 null] +>> endobj +2862 0 obj << +/D [2847 0 R /XYZ 56.693 405.733 null] +>> endobj +2863 0 obj << +/D [2847 0 R /XYZ 65.161 406.417 null] +>> endobj +222 0 obj << +/D [2847 0 R /XYZ 56.693 370.003 null] +>> endobj +2864 0 obj << +/D [2847 0 R /XYZ 56.693 342.965 null] +>> endobj +2865 0 obj << +/D [2847 0 R /XYZ 56.693 298.53 null] +>> endobj +2866 0 obj << +/D [2847 0 R /XYZ 65.161 299.213 null] +>> endobj +226 0 obj << +/D [2847 0 R /XYZ 56.693 262.8 null] +>> endobj +2867 0 obj << +/D [2847 0 R /XYZ 56.693 235.761 null] +>> endobj +2868 0 obj << +/D [2847 0 R /XYZ 56.693 191.327 null] +>> endobj +2869 0 obj << +/D [2847 0 R /XYZ 65.161 192.01 null] +>> endobj +2870 0 obj << +/D [2847 0 R /XYZ 56.693 146.047 null] +>> endobj +2871 0 obj << +/D [2847 0 R /XYZ 65.161 146.731 null] +>> endobj +2872 0 obj << +/D [2847 0 R /XYZ 56.693 102.01 null] +>> endobj +2873 0 obj << +/D [2847 0 R /XYZ 65.161 101.451 null] +>> endobj +2846 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2876 0 obj << +/Length 1602 +/Filter /FlateDecode +>> +stream +xÚÕZKsÛ6¾ëWp¦é ñ šSã<:©“imwÆ3qKL(R%©ØίïR¤dëå¬LÑIÂÔr±Xì~û-Hê=ê½í¼¼è ÞHêbWÞŵ§8QÚ ˜O|í]Œ¼Ý3;›»^ŸKÚý.¯†×iV ŠIýã«4|™¦_ª.ÏO{Ÿ.ÞÁ4}ƈ‘²Òv^ÜÅ.Ÿ8WäåÏ0;ó˜]ùåìBi¢yàõ%1ºž_jP¨ƒî º0eÊ;¯/:ÿu¨§ó¤"Êøž6Œ(ʽpÚùø‰z#ø ÂÞÍBrêIF ÷Œcï¼óO‡Öž káˆii.Y*†0ªj£ˆ\X±|ÌûØg”Òî{›ÌlÑî¸7ºn¹È‡.pA|U«ºXºï:ã´Çe÷&JÆÕ­pb“ñÒáÛã´ûµÇd·~bè\R¦vTß+Òû]YÌ ¦ßÏÍA´.—¿˜{Zš;Þi¥¤Ägl)¦Kýy”„ncãøŠ°jœUáBÖÝÓç¾$4Ð0€­¥~¥õŠóu7.¬]„ƒ(mˆPÁÒ„÷vžEÅ·^_Ÿß9›äiò;x™Ã¿.%ed’Û<®BÄ•:ËËÛõXgš{*H e+å}I!ò„ò81ñ2ç]? Ž5m»ïnO 51L-'¨³Rº©~ðµb›ú%…]oafx˜8ŠnŽ`ìBa6öªÁYIkÛ¹4<`„SQí꣑­ÅÀ¶&H®rÏ“4›Ú8úæ62¯Û¯ol?×Íg6Ü’¿¢’ÂÛûØbºßPvÍã(ù‚ Ó¤pI±iyÜ’“8Í«ýþ Ãùx˜ÊÛ¿qmü6›Z@\è&Ù±çº]rj|U’ÊŽ £4BM:ØÑ&.øŒPÃÛÃ…uý q¡±±à‚UQ›ƒq!_Q +|^A™Êçñ!w3‡³êP“DCL˜Îî²h<ù!Èd<šä·†»¨™ÞÇHÖÔLí¤f¯góá#lLþx6æv[ÈôˆL è8ÓM˜Ø_.*&Ú¾±“xœ¹Ü£d0i¹”•Hy+Ž†ƒ%gCd$É{x{@,9%TµÄú›qscñ@,9t¢â“4Ë\X`ÁP‰7¡çh­w8¹™…ÀDIÚ9õu#qßæù|:+¢4AzàÆeK}‘eºQYÆ4¡ÚN¦'Œ Lšã#Ï:ÌÔøs8Ę̈öGhŸp_·†<ú›!OscñÈ#´"’×¥øÊWR_\6ÃÉMl6*k(2ý¿ÚxŽePQå‰S™…TuY~t´ºE{ìlŽ…UÈ«ÌfHa¼räêÝL‘:³tæ²ø®æZòA„  °R™%’\QAk©à”&ò³–écñ®\gȦś¹òøïÛ)¾>ç¾Çj]%{+KyXÖÁ½<T0«„½©ÏC_<ÞÒØ8ÆFM¾äÇŽÙ"DŒë,EíiôÍâ$_ÙøîÀò.¤!н=k;&8'–í˜ÞÙŽý•ýSzE)kÈúy;3Àà»Í„E—>Z{& ë5?½=;K‡.+*òs^Ø»âþ4¬Z‡;€ ù% PÝò%ôî"h mèoÆ…š‹çB¾Dú5(¾‰nâð€IaüÇ¡uå9š=¸U ¡ŽÏ’2/ðâùA‡yö«b;Ä6j+öµgŠï'…—Ï ª>cDШ;Aõòü´noÓäç†S~¯_bä[aÍ:ÐGÅT©ü–^>æY8Óé ¹±q>,Ö48Iãù4ùw6²…{= +ˆ6òâ´nJ÷?³—ºŠ{êJa¹ŒÑÕˆU#\ðrYÿµ†è\PÂY{ˆ¾¡¿¢77è\øD.¿ 8à4uØ4OÑä¸À¾zˆÇY:Ÿ¡{`tO‡¼üóâý)ò” P}û…ïþN{ú¬)t9ú°òaú”êÂ}M8Þê8F|½ª.fou¹´±ýUªËí[©ê’ !ž>»°ÔWr;Å’wàÆD‹Pϸ!,hê7ô7ƒúæÆâ¡žùÐëáþ +þÁ/Ë`A{rç™-ßP<›W„™6°iëc>Q¾ð2Où–ïàëÊ +endstream +endobj +2875 0 obj << +/Type /Page +/Contents 2876 0 R +/Resources 2874 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2774 0 R +>> endobj +2877 0 obj << +/D [2875 0 R /XYZ -16.307 900.716 null] +>> endobj +230 0 obj << +/D [2875 0 R /XYZ 56.693 759.068 null] +>> endobj +2878 0 obj << +/D [2875 0 R /XYZ 56.693 738.489 null] +>> endobj +2879 0 obj << +/D [2875 0 R /XYZ 56.693 692.721 null] +>> endobj +2880 0 obj << +/D [2875 0 R /XYZ 65.161 692.163 null] +>> endobj +2881 0 obj << +/D [2875 0 R /XYZ 56.693 645.897 null] +>> endobj +2882 0 obj << +/D [2875 0 R /XYZ 65.161 645.338 null] +>> endobj +234 0 obj << +/D [2875 0 R /XYZ 56.693 608.188 null] +>> endobj +2883 0 obj << +/D [2875 0 R /XYZ 56.693 580.634 null] +>> endobj +2884 0 obj << +/D [2875 0 R /XYZ 56.693 533.625 null] +>> endobj +2885 0 obj << +/D [2875 0 R /XYZ 65.161 534.308 null] +>> endobj +2886 0 obj << +/D [2875 0 R /XYZ 56.693 486.8 null] +>> endobj +2887 0 obj << +/D [2875 0 R /XYZ 65.161 487.484 null] +>> endobj +238 0 obj << +/D [2875 0 R /XYZ 56.693 439.374 null] +>> endobj +2888 0 obj << +/D [2875 0 R /XYZ 56.693 411.821 null] +>> endobj +2889 0 obj << +/D [2875 0 R /XYZ 56.693 364.811 null] +>> endobj +2890 0 obj << +/D [2875 0 R /XYZ 65.161 365.495 null] +>> endobj +242 0 obj << +/D [2875 0 R /XYZ 56.693 328.344 null] +>> endobj +2891 0 obj << +/D [2875 0 R /XYZ 56.693 300.791 null] +>> endobj +2892 0 obj << +/D [2875 0 R /XYZ 56.693 253.781 null] +>> endobj +2893 0 obj << +/D [2875 0 R /XYZ 65.161 254.465 null] +>> endobj +246 0 obj << +/D [2875 0 R /XYZ 56.693 217.314 null] +>> endobj +2894 0 obj << +/D [2875 0 R /XYZ 56.693 189.761 null] +>> endobj +2895 0 obj << +/D [2875 0 R /XYZ 56.693 142.751 null] +>> endobj +2896 0 obj << +/D [2875 0 R /XYZ 65.161 143.435 null] +>> endobj +2874 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2899 0 obj << +/Length 1727 +/Filter /FlateDecode +>> +stream +xÚíZßoÛ6~÷_!l/603$ERdûÔbM×®é¶Æà +´E!Ë´%T–<‰nœýõ;ýrlÇNéÈJúЇ@²tº;žxß}wvfv^öžzgç; +)A…3š:‚"á9’¸ÈõœÑÄùЧcíçz0¤÷ߦFçÕé4ͪÖ7Mƒçiú¥úñþòÍàÓè5˜‚當Ksë<ÔÚäÅm°N Ö…[XgÂC•Î#åÕö¹…žìŸU"Tñ`ïŨ÷o€zì‡ $”ëxŠ ©Ì{>ag÷ÀÄ”t®Jɹà FÔp;—½¿z¸ŽÞŠuEŠ^8Õ(gq"*§DéCóóaH0Æ¡GËP= ]Æúy‘zÁ›á†èP‰¡•ÚQÕÑÍ6£%A¼œ4(î/gÕÓÕ€ð¾ÎÑ:Þ¼¼µFݼ®8N”÷¯¢¤~¶±åW‡8ÊMu–N«cúɬ1kB¿¾ú…_K«µKZ'ÕÙÜŸÔ×rðZïì2xk…h+’Uì1ˆ©&>®‹° uØ« Þ +üùbë"‰ù·#±µP»å™ôfm¥mØ"7¶‰dÈóŠmVÚž¦{ü# 1Æ‘ m8xëJ!J ,š•ÇRëGJùN€ÁÏ2áXáì=!~ב CQÔãY¦Ø¿„Âïqœ_Ð*+eÏ…¾âðr;?ì=Q¤s‹L,®s yÍ„I%•“igº™z[Úö_½e€«•¬1P)&…t[ý¨°Ývôs o"eca–RTÀÙRa6sª“w5Nm½ÊÚqÀ?ě쿼ŠLÛ|sÜÖyT¼u“ÚÉé¹ÜÄÏC;É¢˜X B¦f~`´¥øXƒfm'ë“E㥉ÒÄîÈRN/¢Yæ/Âèê?­/x,ÓyÕ¹‘çËÙ.4—¦žr¥'-ó`Q¸Û"ooSº®r!Žé=ðê]:Ö™©ëÒø×&]ãUQËò#ðŠÙÓ!Zq†#Ý¡Õ¶þ–hÕÚY{´âÜC l–ïó$d”"¦øã’AF\„U‡Í+ƒ¸Ý5¯;ú[âUkgÀ+Ì’SÒAáÉ'w§–¿XÄ×»é8<øLßh d¾±ÍÅ8Jl1'¢‰NŒïøsS¡ú› Aã\¥€éó¥q®p‘à͹{iÜ‹Årü}Ó8½ßÃNiÜ©gzQr–/tpV¬ås¦á40i’.®¢lü´zn’ã4=†ð¹ø9•Ý(UQ¡:Ðýí´½³öJ•D¼É®g“‰-€Þ¼}K¨J,O£Õiéff™Ì>¸ÿé0fß.wH—Ê®Š¼±ò(ñç:_ø>¢†,2=µ/oA +Eʈ%Ï,™CÉïE\a_ñ}Å< €«8ùˆ®ÁQnHyˆAVÖ2CK” €¨nw3±mõ-S¸­«,¡HIé!Á-Cyñbôìˆ]õêíù®ôÙaéý»ê†>ì{f5÷eÞI›—Wy¾Ô‡ÚŒ‰g½¿r)yÈö…r…8•S§×rÓ(ÖùYšè²ÑŒ´ªÿŒàõ=­Ów+É¥*Çë$Çl¼>#Õ™eÜ9F„Š«¿ ´UxÝ!Ƕþ–ÐÑÚÙ#ª?ƒî¹ùÒâY’Õ̬ÇÐÕ[aËÚëU4Žµ}µ¬‡PÜ"s}b¦òþU•$vÒ‹, ôžyÿ·³Ãp|С +%P½$?=*ÅÑø¬é²±-<`kípºBC˜v7]ÙÑßÚ;kDyÀbšƒ®´ÿÅz õûˆY¨-—?<¦ä˜1z7©(›þ+ëÛádz‘fÆze‰FQú:¶þ'Ò“¹Ÿ$÷ïEvv¼C8Gœ­Ç;lïxçÏ Àœùóüûò,ùèJärqº1,˜¸´Å˜çÂ_f‘ù¯‚ê×ÚOò›ñwÍÂþ ÊÓe”,Ðr)‰épŽ½áÝq¶Õ·êÖ®Úã´Âˆ±úë׿ß… /‹Îß?=TgØ\`¬ÿ/Wæ¥Ýg¾-ç²ý[&Q÷M@âu™·>Vfáj*xì·Êÿ#-á +endstream +endobj +2898 0 obj << +/Type /Page +/Contents 2899 0 R +/Resources 2897 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2774 0 R +>> endobj +2900 0 obj << +/D [2898 0 R /XYZ -11.232 900.716 null] +>> endobj +250 0 obj << +/D [2898 0 R /XYZ 56.693 759.068 null] +>> endobj +2901 0 obj << +/D [2898 0 R /XYZ 56.693 731.272 null] +>> endobj +254 0 obj << +/D [2898 0 R /XYZ 56.693 684.879 null] +>> endobj +2902 0 obj << +/D [2898 0 R /XYZ 56.693 657.054 null] +>> endobj +2903 0 obj << +/D [2898 0 R /XYZ 56.693 612.847 null] +>> endobj +2904 0 obj << +/D [2898 0 R /XYZ 65.161 613.531 null] +>> endobj +2905 0 obj << +/D [2898 0 R /XYZ 56.693 567.705 null] +>> endobj +2906 0 obj << +/D [2898 0 R /XYZ 65.161 568.388 null] +>> endobj +258 0 obj << +/D [2898 0 R /XYZ 56.693 532.04 null] +>> endobj +2907 0 obj << +/D [2898 0 R /XYZ 56.693 505.047 null] +>> endobj +2908 0 obj << +/D [2898 0 R /XYZ 56.693 460.84 null] +>> endobj +2909 0 obj << +/D [2898 0 R /XYZ 65.161 461.523 null] +>> endobj +2910 0 obj << +/D [2898 0 R /XYZ 56.693 415.697 null] +>> endobj +2911 0 obj << +/D [2898 0 R /XYZ 65.161 416.38 null] +>> endobj +262 0 obj << +/D [2898 0 R /XYZ 56.693 380.032 null] +>> endobj +2912 0 obj << +/D [2898 0 R /XYZ 56.693 353.039 null] +>> endobj +2913 0 obj << +/D [2898 0 R /XYZ 56.693 308.832 null] +>> endobj +2914 0 obj << +/D [2898 0 R /XYZ 65.161 309.515 null] +>> endobj +2915 0 obj << +/D [2898 0 R /XYZ 56.693 252.73 null] +>> endobj +2916 0 obj << +/D [2898 0 R /XYZ 65.161 253.414 null] +>> endobj +2917 0 obj << +/D [2898 0 R /XYZ 56.693 207.587 null] +>> endobj +2918 0 obj << +/D [2898 0 R /XYZ 65.161 208.271 null] +>> endobj +266 0 obj << +/D [2898 0 R /XYZ 56.693 171.922 null] +>> endobj +2919 0 obj << +/D [2898 0 R /XYZ 56.693 144.929 null] +>> endobj +2920 0 obj << +/D [2898 0 R /XYZ 56.693 100.722 null] +>> endobj +2921 0 obj << +/D [2898 0 R /XYZ 65.161 101.406 null] +>> endobj +2897 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2924 0 obj << +/Length 2525 +/Filter /FlateDecode +>> +stream +xÚÕY[“Û¶~ß_¡‰_¤™&ðÏ´ÓÄÍÆîÄY×Þ™¸ãæ±kˆ” Òòæ×÷àJRËÕZéS4Hààà\¾sQ¼Ø.âÅÏW?Þ^=¿NãC,K²ÅíÝ"KP–/ +LÉ·åâãò‚+±Š’4^þÚtBÙá]ÓÚA·sÿÞl~lšOvòáý/«ßoÿÇD#–¦–Úûî^ +µ¢Sú3œŽœž}:Ír”'Å"JËÝù)‚y±|n8czãÕO·WŸ¯0x‘f(cd‘3Œ²8YlöW%|eÅâhVî)ŽQB2ËÅû«^ÅNñD"É'ˆaœj¦F8Žã‘¨€Q#ª«ˆPºÄ(OQì.<7H'ëlÉÞî*'Ýv,õªÞȾô‚¯ö‡¦íxÝÙéz•ÄË~k'ÿŽãäë +§K¿˜×¥”¥:Ñ×]#e³JÒ屪Ý~UmëJÙúw‚w}ë¶lv¼Þêk¯wÊO5”7Mé骦ö¬7îÙòZÉñ—×bøb®îä"DmG{^ +tŽã(0ÀPQPËÀËf¿oêKÙþ¡,…“¸êZQ'Þ¢š}»çîó¡m¢í*¯¶Æ±ÞñµôïzÔôêöÍ/ÖšÀ0ûPÃPFÅ x5¼˜Í3F—0D¢=o?õ#KP3¸8 š\©vŽ+ ÌÙI-ŒíØ0¸ÝÀH–!œPÄg0BŽJqÇ{ÙI¾r†)ÆP–ä~ËMšËÞܽÐRs ìŒÄôéý~-ZϘo …7ú“ExùÈV‰ÛÁZØgYÁçzÛW€O¥“ÎÀ”£¦ –§´qzÕ\}ä0ÙÉ3œÓ0É&Á’˜-7M)ìH›¸~‚£•^{%Ʊ"¨o>ÕÍQŠr+öàhjF²C8 ʨꚊÀ®[²Ö >c6¥, ׎õo;´Šh‘|¹KxinìDCšYØ6¡”¿²ªö•ä­¼÷žá‹QT°À;ˆ«²x0Ã^JPΠGùò)gÈF´š¤lªÕoeÒ,é±ê\ÁƒsÛÆC(¸y'Ú—ß»5wzîZcÖ½ Tç C€¦9"ÖõÍ¥hu»GUyØiîªVÛ„_ǪE\u +´ Òƒ4¨íý'~%ç°ñ°=Vž¼g¥ª N:A7ëÿ€§«3ÞDI¶äú‘€2ïÀLù^5Ì€ŽsçlìÚ@œä5¥,C >ñ½6ºÄ”>t&Ð6RY~LàÕ¯«ºê*.g1äL=AÕñnîX‚ѯZYšª#ŸÎÝëV@ô‹Š,_¾”ʾ¾~gŽÐéŒklÏpÎ’dF‡ûÆã`¹¾kBtÓžŒ¨ªU×ö›ÁΪÒ.<bHhõ…·•Žv ’÷hQÊ@ÄôæÓŠqDÖD”s׃wÖvíöYV¤àŽ.^èã‹Dö7°únÌ~Æ*t6J«Ø´ÚåfÌ‚BÚ5èR`°ÃÒÜBÚÀ7CÒV‚ó‘}Ï&™“ôYã$'™O)Pó)EòMò8¶•f'ÚÖüå»VFÝú;r·¢®‰¤¸ëàö6åBñdßú¤ëc ¡Á(Hs1#¨TbÂA—“kL9y +Ïu傧xî³¼Ký%õ‰°–,¡ )©¤Z{ìWuü;û4(`FÎ>-¬”:ûuM‰–íCS†×'5ón®šÈc”äCdqw6 ŒÇüÍ ›èèq\Ë » ׈Ý"ÞöëKqí½ñcØ N—dÀ¨îy½1LLÍd=&É´/ÍÄ?Gt¾ç[a“ʹ›‚ŒE‚vjÈεA} ñOªµc`-:›ØÃx°ËÄ)^–뮸¾™Yk…Á‡×C‡gLï§_o_ßþK9•Ç`väDç^»­P·?^+Õ ‘ó4¦4ñ+5[¾I±vPñŽv\8¨{‘ãfûXì4{3ªÓlý€ôؘ Ô5GŒôl.—a±!cækÈù¬ð)Û3{>×î@yÆžŠ C) :<îL­\ï¡f³¦“ª¶ž˜zÜ Ëróô±i«ƒóxçÐ….oÞ^;*¢ã%ï¸'c‰7oBH±=‚.wB|sï›XzhϨ“!µððX³kȺ¡NéË&RbÏë®Ú¨!qRývèØÕ¥,oµ‚òÓ!º%ì¯Mzõh©5îù>ÔÜ-z +ª·•›˜SušA 4ýÕ’¶BÖ…ÄæÅ }JÉÈ ý9;Š¦£v—Wû¸9 +™Bç½ Ç(Mi]pár¾rl‹ñ¹›š}®kð«àJ9)þgNÏù`jdqŽÝ‰| ×ëÞKþ˜AEÑ8 kF”=Ô0TW~«_Ø«ÓzíÒÞ¯Ž¹¯œ›^Øý=WØlE- H‡Rë¤È‹Q–U½NžjÞv¼]áèvsð ý:RZVOj9p«³eƒU¡è“≶TB ­†3'áþ­ÉW!GRß,ÎìDœ¥¸3DzéD +82¤ÆC!Ýö¡[>©¦öá2*c¬ºù=nµŸyqbb<†,&O·–XJK/ï,M*oŒ}ûÎ:Kzfc ï,1¨¥pòTcIÿ…Ç¥ õ¡±d^ÛÆRÂèò7Vc<¬„bÛLÙ')º‹i!’k©êGÝÔÑ¢mì,ü`§:„êz22£tã oL壿»…Àdsˆ¤26i¿¸ó[O·RÉïM¦NœÒ•EQeëN²Í»COÇ]#ÝP‹ÆŽlzú/èèøqINw•Üðw`5ü÷gËPy£nÃ[;ˆû€ìÐ÷ûÌ÷w¾éíý¿÷ݨÌý+ @ yâŸøSø¿Îf!Ô +endstream +endobj +2923 0 obj << +/Type /Page +/Contents 2924 0 R +/Resources 2922 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2927 0 R +>> endobj +2925 0 obj << +/D [2923 0 R /XYZ -16.307 900.716 null] +>> endobj +270 0 obj << +/D [2923 0 R /XYZ 56.693 759.068 null] +>> endobj +2926 0 obj << +/D [2923 0 R /XYZ 56.693 731.272 null] +>> endobj +2922 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F57 861 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2930 0 obj << +/Length 1945 +/Filter /FlateDecode +>> +stream +xÚÍZMsÛ8½ûW°j.ÒA¾Iì\63Ùdwkf¶6öaª’©-š‚%Ž)R!©ØίßÒ"EW ÓtÍA% +Ýý p° pðá⧫‹7ïR’Êàê&É0ˆC, ®ÖÁ§ÅGé¸ÒËxñ[QëÊ^Þ¥½¨·îæ»"ù©(níß/YþqõofERBXk—õC¦«­ÖuenÃè$ˆ`tÉÌè\†(¤Q°H…n|‰Á`-ÞØ/"•yðâW_.˜Ç „DR± TILƒdwñé¬á@\EÁ]Ós‚e®³àòâ¿øIOD`+¹BK‹äíz½\1.ê»%Á‹Âüˆ¹^R±¸³³!0z3nLˆ…L€ýæñ/q¾ŽÑZßć¬Îâk9J0àSª}櫱gãt3rå­·qm[òÃîZ—zmÛ+Ôi‘»Þ0 ÃØëôÌÕé’,Š|¹" ×9‰s{ûZÛ†u +½òÍ!…p­QÌ +aÆ1ë´úŒ1mS㽎ëCé²â£nƳ?~ ‚)Ìêr"ÍÉ‘M¯}\Æ;—\…ýNŠ¼.‹Ìþ¸ÛjH:—~»q#ÄÿÑó„qÄáÒ¹1Í×úÞæ;#Ž7±ŠÚþYšßV}ñÈ( œAYûó½¦NëL #´t*TÚ—:I[ÒeE;Ëð«¸yì;2q*ç¢7ñZ—»(=¿&÷t­‘©û}Qºiþý.]×[ŽQŒ‚¢wQؗŬf–P#PúwP mGlJ&¶É–”Zç#¦E4TƒYC +QíØÖ‹èª2ÊÜx¸ØA§ú€iaÉ|â! 2“”UË`‡´±jw² &Â#+Š)ȹ™4R§ËÿL7Û >-Âã§PŽûÚõ¯<ÉÕ ¹¶Ç&­]º7â;ìUºÛgi#~ ‘+·þ“gmn¸G S—<©{2/Ž².׉¶~“¢ šƒK!f˜Y¸W­@ÜYf t[Ãñ•í¤’mœoZ¶+H3×ØÄþë’ˆ…3~mR«¹ÚÅí¬«4Oô@¥ +9böº´eÂIø¨!l(T|ÆP$©MˆH¯{ðië^|yÐÏ}=’G¸q “òû.éÍØožÇRÜfûÑòq†²Ëvt$„¬[“çYn„ S¨CH?>S*ÞîË.¬€¦|, €€Kpïe?ÔEþ7Xü)¶ËK¦ßT_Ñý.ûÑvqmƧmûÌ´ÙGflóõ¡_‘AIBJ ÌTd¦]`¨ï¸ (R ò¥nŽJ°¾µñÖÓ »„àíÖ01½§ÚˆH2´/0 ¼ê3Âqy*A­Ô €m –›À^|tuk/ìp wDûy«“Û^®œZò™(Û5÷ûýê2Ϋ,¶Õ¦× C^ý~Ñ›8Ë‹:M´ßÕáz—Öµ^{âðœá.N³áŠòdçFmûZ¶@¾$V)¦ä‰ïÓ]Û)qÐ1)È,B¢«3‚ƒôÉ(šO ¸d° ›Múæ§ÉÃd¨þê`6Ú˜¸öûôÞ“h{ùSB—eQV/«:o“Û¼¸Ëôz£w°özZ7»TWÏå'—PÁÀ&õ5ùÉ`G@ÿ?)‘|F~¾Fa1Aûö'2t2Ø3(J1"Šý…p·»?.×M3wO‘/;‡ªg®åõ¶,›­_çu‘\›óÉ ¬žÄ¿ˆ÷ûîï›-¶œ/Ÿûö'æód°gä3Vˆ2wø°3»Ý~VáèZÉwòîí¾L³±A +•·ôcð‰_SúY„æÏÙ㽋¿¦k«ü?›C¬r ü߶§»¹dd‡WNÛ6#ý6Ùq›Û-‹#tƒr}ž3§oÛÿÕwçPŸ*$q8#õI„$WóQ¿o"õ'ƒ=ƒú” Å䜵„çB^øõ3I󔇺ô>¼>SJ|g?’N8'Xoq€‚OÊ×Ô¢h3Æâ`Ï<§N"ÍøF™„Et¾7ÊûÓ”a:Xe !|“ã7ÊÞGÍûâ…ÕáÕù)ÇÒ—ŸP䣈ÍñF÷ä?¯#,Õsþòú"fÐn +endstream +endobj +2929 0 obj << +/Type /Page +/Contents 2930 0 R +/Resources 2928 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2927 0 R +>> endobj +2931 0 obj << +/D [2929 0 R /XYZ -11.232 900.716 null] +>> endobj +274 0 obj << +/D [2929 0 R /XYZ 56.693 599.512 null] +>> endobj +2932 0 obj << +/D [2929 0 R /XYZ 56.693 571.127 null] +>> endobj +2933 0 obj << +/D [2929 0 R /XYZ 56.693 524.117 null] +>> endobj +2934 0 obj << +/D [2929 0 R /XYZ 65.161 524.801 null] +>> endobj +2935 0 obj << +/D [2929 0 R /XYZ 56.693 477.293 null] +>> endobj +2936 0 obj << +/D [2929 0 R /XYZ 65.161 477.976 null] +>> endobj +2937 0 obj << +/D [2929 0 R /XYZ 56.693 430.468 null] +>> endobj +2938 0 obj << +/D [2929 0 R /XYZ 65.161 431.152 null] +>> endobj +2939 0 obj << +/D [2929 0 R /XYZ 65.161 420.193 null] +>> endobj +2940 0 obj << +/D [2929 0 R /XYZ 56.693 372.685 null] +>> endobj +2941 0 obj << +/D [2929 0 R /XYZ 65.161 373.368 null] +>> endobj +2942 0 obj << +/D [2929 0 R /XYZ 56.693 325.861 null] +>> endobj +2943 0 obj << +/D [2929 0 R /XYZ 65.161 326.544 null] +>> endobj +2944 0 obj << +/D [2929 0 R /XYZ 56.693 279.036 null] +>> endobj +2945 0 obj << +/D [2929 0 R /XYZ 65.161 279.72 null] +>> endobj +2946 0 obj << +/D [2929 0 R /XYZ 56.693 232.212 null] +>> endobj +2947 0 obj << +/D [2929 0 R /XYZ 65.161 232.895 null] +>> endobj +2948 0 obj << +/D [2929 0 R /XYZ 56.693 185.387 null] +>> endobj +2949 0 obj << +/D [2929 0 R /XYZ 65.161 186.071 null] +>> endobj +2928 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R /F57 861 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2952 0 obj << +/Length 2475 +/Filter /FlateDecode +>> +stream +xÚí\moܸþî_!$Îj†¯¢”¢@zis‡Ã]‹:.p@î>È»´W°VÚH\Û¹_ßÑË&–ömhJN{¸ÆÊ»ÔpD>ÏÌp8 n|wòíåÉ«wŠ1‰C—×AÈI¨ƒˆ "tp9>œ^˜Ì$•9;犞þ³°¦j/¯‹²½°‹îÇ¿³o‹â¶ýçç÷?žýzùtsΉ•j¥½·Ÿ2S-Œ±Uý3ô΂zEÝ» 5Ñ< +Ήu×È@ ŽN_µ,ŒëOþqyòñ„x°@…$ŒE cFBʃÙòäï4˜Ão ‘qÜ7-—b”pÂu¼?ù÷ íF‚öF„ÐL«¸’pFÃV)Mx£Åæ¶àÃ9£”ž¾-–Ë"ïžìñ¸Â0p"»û/7cv]dYqÆÕé}šß´_ÍI~³åErÆééÝS§ÝWÆäíÕ2™wßÙâËT4}ƒ¾_úf‘$Z×ÏÜô=Û§£ˆˆPšm¤Wi>3ƒ¹fDK"Úë²EéÈ9‡f‚Ã…$T‹Vê/œ«^»FײÖ!"2Œ6*\W¦´gç!Œì{›|²Eþúìœqø÷ÆäÖFJ #;ÝŽé@¾'½•uà¡¢ÀÃÿS33³[›‹#x‘H…Ëb‰Œ6‘#Yΰüäê]6m ß“&ÞÊ:ÐDeÝî6ôü9ÉÐÄ™fÀfòҪȶ*dÖ¹àÆH(ÂguL‚‘X~õ Æ!‰â }c0´Óq¬'Þ“b¾ª:0ŒI`Xôy•‹.îJ°KFtQ"°qç[“^rÆx¨Â#qwïļdZÅœ*ìK2¥$œð…?ùž@ñUv?.¨h¤4¸`äðÐ_˜:~ÁBg ˱äûö­úv)v÷ Ô2R#Ÿ^*µââ©ö<Š‰žðU<}ñ~XòUu/”6Çjøýg5Ç—¢7·#7÷©]<µèæHõÚVõñ o4F]+éòÂ!¡˜ä³Åöþù¡RœÚyÒ§§RÖ¸z—õÅûQÐ[U¼ß8¡›w ½1ùÜ¡ºýê2,—S쮳ž_> endobj +2953 0 obj << +/D [2951 0 R /XYZ -16.307 900.716 null] +>> endobj +278 0 obj << +/D [2951 0 R /XYZ 56.693 759.068 null] +>> endobj +2954 0 obj << +/D [2951 0 R /XYZ 56.693 738.489 null] +>> endobj +2955 0 obj << +/D [2951 0 R /XYZ 56.693 694.529 null] +>> endobj +2956 0 obj << +/D [2951 0 R /XYZ 65.161 695.212 null] +>> endobj +2957 0 obj << +/D [2951 0 R /XYZ 56.693 649.534 null] +>> endobj +2958 0 obj << +/D [2951 0 R /XYZ 65.161 650.218 null] +>> endobj +2959 0 obj << +/D [2951 0 R /XYZ 65.161 639.259 null] +>> endobj +2960 0 obj << +/D [2951 0 R /XYZ 65.161 628.3 null] +>> endobj +2961 0 obj << +/D [2951 0 R /XYZ 65.161 617.341 null] +>> endobj +2962 0 obj << +/D [2951 0 R /XYZ 65.161 606.382 null] +>> endobj +2963 0 obj << +/D [2951 0 R /XYZ 65.161 595.423 null] +>> endobj +2964 0 obj << +/D [2951 0 R /XYZ 65.161 584.464 null] +>> endobj +2965 0 obj << +/D [2951 0 R /XYZ 65.161 573.505 null] +>> endobj +2966 0 obj << +/D [2951 0 R /XYZ 65.161 562.546 null] +>> endobj +2967 0 obj << +/D [2951 0 R /XYZ 56.693 516.868 null] +>> endobj +2968 0 obj << +/D [2951 0 R /XYZ 65.161 517.552 null] +>> endobj +2969 0 obj << +/D [2951 0 R /XYZ 65.161 506.593 null] +>> endobj +2970 0 obj << +/D [2951 0 R /XYZ 56.693 460.915 null] +>> endobj +2971 0 obj << +/D [2951 0 R /XYZ 65.161 461.598 null] +>> endobj +2972 0 obj << +/D [2951 0 R /XYZ 65.161 450.639 null] +>> endobj +2973 0 obj << +/D [2951 0 R /XYZ 56.693 404.961 null] +>> endobj +2974 0 obj << +/D [2951 0 R /XYZ 65.161 405.645 null] +>> endobj +2975 0 obj << +/D [2951 0 R /XYZ 56.693 359.966 null] +>> endobj +2976 0 obj << +/D [2951 0 R /XYZ 65.161 360.65 null] +>> endobj +2977 0 obj << +/D [2951 0 R /XYZ 56.693 316.214 null] +>> endobj +2978 0 obj << +/D [2951 0 R /XYZ 65.161 315.655 null] +>> endobj +2979 0 obj << +/D [2951 0 R /XYZ 65.161 304.696 null] +>> endobj +2980 0 obj << +/D [2951 0 R /XYZ 65.161 293.737 null] +>> endobj +2981 0 obj << +/D [2951 0 R /XYZ 56.693 248.059 null] +>> endobj +2982 0 obj << +/D [2951 0 R /XYZ 65.161 248.743 null] +>> endobj +2983 0 obj << +/D [2951 0 R /XYZ 65.161 237.784 null] +>> endobj +2984 0 obj << +/D [2951 0 R /XYZ 65.161 226.825 null] +>> endobj +2985 0 obj << +/D [2951 0 R /XYZ 56.693 181.147 null] +>> endobj +2986 0 obj << +/D [2951 0 R /XYZ 65.161 181.83 null] +>> endobj +2987 0 obj << +/D [2951 0 R /XYZ 65.161 170.871 null] +>> endobj +2988 0 obj << +/D [2951 0 R /XYZ 56.693 126.435 null] +>> endobj +2989 0 obj << +/D [2951 0 R /XYZ 65.161 125.877 null] +>> endobj +2990 0 obj << +/D [2951 0 R /XYZ 65.161 114.918 null] +>> endobj +2991 0 obj << +/D [2951 0 R /XYZ 65.161 103.959 null] +>> endobj +2992 0 obj << +/D [2951 0 R /XYZ 65.161 93 null] +>> endobj +2950 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +2995 0 obj << +/Length 2027 +/Filter /FlateDecode +>> +stream +xÚÅ[ÛnãF}÷Wȱ¨§ïMf/@&Y;»ÙIÆ~X`’‡6Õ’¸¦Ø +Iíýú/(Y.Š¢öÁ M5««›uN«Š4˜4øñâííÅ›kEƒˆDšëàvhN´ B&ˆ0Áí4øxùÁ¥Îîj½ü·/]ÑœÎ|Þœ”‹öÇ|üÖûûæŸÿÜüëê·Ûw0Í„1)ÕH»)ŸRW,œ+‹êg˜!Ì®E5»Ô†E"Óί94áå›æÀtTÝxñ÷Û‹ß/ˆ§ ”&:‰Ñ”ñòâão4˜Âo ‘Q<Ô#—b”p¡á< n.~¹ íNt»;³™CF„QÝèö+çªÖfsÛ›kR¯GV÷„Dê~¨ÿd×yRþïj¢)½|çlVøìÛ« ãðo™”°-ä±Hq°a•ÄêðãöRá1Ã#@ )ª¥V×…“:à$ +£ wÁì˵mIÛuwÊÍ`V*_¦YW¾¢ŒØ+Ì _>wM"@ÙZ`>š“­l=Ìâ‚ T?Óï¦S7ݲ€]IÁÇú‰Ç~êp#K·°Ù4EÊ´ñ}æR7»¥Ëð½~W’áÆÝU°Çé‘!·keórk$ì6i/¼pËí¹ÀhÕ& ÷¹W«ÜÇ®(ºæð:’™!@#ãm[þ@  V¶Ð8%Š‰hE²LR›§O§… 7‰m™ø¬§­}—¦cï!AË_­œÍ‘c‘³ÏrEÇÒ–¥Ë»›÷Íáͳ³î=˜PM¸ÖãÁd[þ@˜ V¶LhD”’ LlöÔ×ð‹,ñDˆlHÒ7øÒ!%BË#‚¯þÎC©×~SÚ§ò9öòi’Ý÷½´’²ñB/­""%ÍÔ;ò‡™úpeñ¦®aƒL뮓Gdl²žw,¼¾ü§,wv˜©Ö…Ã;†ËÔÇ6í1¾¶¼ã‹êå ·jPëj€ì縡sp`î±ÄÆ»»ƒ{°‹ÈK%ÎÊ.B%¢ÿ3»pPÂèÙ…Á+> Çc—mùÙe°²=Ø…)Qu"zaØE¿B/Iûë|=1Š|vn"1ð;ò‡¸²xà+²S_ëH+yøosïÉ¿.Wkl²b†uΫ§<™/Ê}KøËËÈS÷]®ýíðR«8À&2±¸a¹ÍæîXŠQp ©<+ňˆ„'Ž,R{çÒ>9cÅA/ŽÈ0¬ZE4ÃlËÈ0ƒ•íÁ0œ®ô@†œ¦­-¼3Rì,™¯s‡U¡H°ùí*e•M±»ÐKr^&q:‚Ê; î>tSÅ•ã¥Ixe´FE_Ò4a¼åCD—å…5]¿o+p_ò &\¡[[½ÝÔöf>MýW—•ùÔ—âEEÂm5pa¯8½ütÅÔe{ÇWŸ-í´½Vúç’a=7èú<7 %1Fo¨oæ÷èÇ$‘Rm†Ô5•Zb¡´ëÔ#`)ÍyÞT1ÉöNLXÎ,ºŠýÅý.ÉïmÃÏÿô…»ß°ó¼kZyØ-’ÂhD‚– 1ãtGþ0‚®,ž %c`­Ñÿ#‹ÓuÑ­ ¼Ÿ!c®Ï&`|Éð›Ú/’å*MfI§LõzÁã}†­½ø KÀË•ÏO\…Ëür «ªu6:–Ö%•Õg "EÈ ú´Qä̯XŠt0#öÍcãõt䣨áÊâ)Jhp}ô¹ï™ ÂÖÄ3÷€Í­UöÇÒeÅN…ée ìÒ+;l+Nm¾·vûÍkY7$ýÚ©ËõûŸ{–3…¢„©ñªþùÍ|°²=Ì\ ˆðÚHì³ !MsÅ%ÞàlŽ/¦LuBX—9«Ÿ€ž+qj?‘/mÚÇS@¨>,ûŠ£ ‚ÁÆCжü¬lQ0õtÅz…ÆÐUƒÕüýŽEy’5¶ˆ”z÷_—G—#¥DH~Nørcˆäáiá;õq•Ãè_®A ­Æ0‡õ‚ÔÑÜ‘? ÀÕŘ«ˆ˜H~Îb;L‹Õ:OüéýâÔè7Ñß×¾<1ŒÓ$sûªLH,8ÁÉÅÎÚÄ%šÊÑÀùçf€]—>™>Nî«”Òîõ>0æ °±[‰WÛp¼n¥Žü0¬l3ß~Äð½Ï>9´wmÃخϚ¼\—³Ÿl’Ú;lêí¿³nê°…Ûé÷ù•* +ìð+¶_·Ûõºý³($†WõîÈfžÃ•íaž”ÊÚª7úíÿOî3õ ZÖöée@ädV¿²¹]ž¶¢Vºâè7)bÄYËÐ0- ùÎëû)™6.è{ØD—o\×cîf=¼«JïjÄ +SŒ„ÑxŽŽüp¬,îLÁ1lÝÑ ¼ìå®(Љ¼ÜbCPtþnÏG/ ­Œ YY`»j*™»ý´°7ýú=¥Ýf=¸úíaßVWݱîvewûZ¾n€WyÒ¯¸‘TþìQ_‡œ[`ge™ª˜úÉUÒ‡g˜&TŒX¦`TjÆ+Stää™ÁÊöà¡yï—Wx:qW :ÈÍ;5ÃÃ1îÂíé›Ã;ý*ê +õ9áXõ‚˜“:ýyêëÒ)éÆ‚û>Ê–”Цͪï7Ù®ŽaÊ +endstream +endobj +2994 0 obj << +/Type /Page +/Contents 2995 0 R +/Resources 2993 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2927 0 R +>> endobj +2996 0 obj << +/D [2994 0 R /XYZ -11.232 900.716 null] +>> endobj +2997 0 obj << +/D [2994 0 R /XYZ 56.693 742.989 null] +>> endobj +2998 0 obj << +/D [2994 0 R /XYZ 65.161 742.431 null] +>> endobj +2999 0 obj << +/D [2994 0 R /XYZ 65.161 731.472 null] +>> endobj +3000 0 obj << +/D [2994 0 R /XYZ 65.161 720.513 null] +>> endobj +3001 0 obj << +/D [2994 0 R /XYZ 56.693 673.005 null] +>> endobj +3002 0 obj << +/D [2994 0 R /XYZ 65.161 673.689 null] +>> endobj +3003 0 obj << +/D [2994 0 R /XYZ 56.693 626.181 null] +>> endobj +3004 0 obj << +/D [2994 0 R /XYZ 65.161 626.864 null] +>> endobj +3005 0 obj << +/D [2994 0 R /XYZ 56.693 579.356 null] +>> endobj +3006 0 obj << +/D [2994 0 R /XYZ 65.161 580.04 null] +>> endobj +3007 0 obj << +/D [2994 0 R /XYZ 56.693 532.532 null] +>> endobj +3008 0 obj << +/D [2994 0 R /XYZ 65.161 533.215 null] +>> endobj +282 0 obj << +/D [2994 0 R /XYZ 56.693 496.065 null] +>> endobj +3009 0 obj << +/D [2994 0 R /XYZ 56.693 468.512 null] +>> endobj +3010 0 obj << +/D [2994 0 R /XYZ 56.693 421.502 null] +>> endobj +3011 0 obj << +/D [2994 0 R /XYZ 65.161 422.185 null] +>> endobj +3012 0 obj << +/D [2994 0 R /XYZ 56.693 374.678 null] +>> endobj +3013 0 obj << +/D [2994 0 R /XYZ 65.161 375.361 null] +>> endobj +3014 0 obj << +/D [2994 0 R /XYZ 65.161 364.402 null] +>> endobj +3015 0 obj << +/D [2994 0 R /XYZ 56.693 316.894 null] +>> endobj +3016 0 obj << +/D [2994 0 R /XYZ 65.161 317.578 null] +>> endobj +3017 0 obj << +/D [2994 0 R /XYZ 56.693 270.07 null] +>> endobj +3018 0 obj << +/D [2994 0 R /XYZ 65.161 270.753 null] +>> endobj +3019 0 obj << +/D [2994 0 R /XYZ 56.693 223.245 null] +>> endobj +3020 0 obj << +/D [2994 0 R /XYZ 65.161 223.929 null] +>> endobj +3021 0 obj << +/D [2994 0 R /XYZ 65.161 212.97 null] +>> endobj +3022 0 obj << +/D [2994 0 R /XYZ 56.693 166.704 null] +>> endobj +3023 0 obj << +/D [2994 0 R /XYZ 65.161 166.145 null] +>> endobj +3024 0 obj << +/D [2994 0 R /XYZ 56.693 118.638 null] +>> endobj +3025 0 obj << +/D [2994 0 R /XYZ 65.161 119.321 null] +>> endobj +2993 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3028 0 obj << +/Length 2189 +/Filter /FlateDecode +>> +stream +xÚí\K“Û¸¾Ï¯`UrWe°xØœ²I¼ÉÖ>{ª²Uö( ’XC‘Z’òŒýë>ä5©¡ÕÊÚñIB&ðõ×îq´‰pôíÕ7·W_=8ÒHK*£Ûu$)’q¤C,ŽnWÑ«ë&3IežÝP¯,jSuo×EÙ½©·ýÅ¿ËoŠâ®ûðóËïŸýrû憤…褽¬ßf¦ÚSWÍe;;‰”]²fv.cSݤã~~ɬÀX]Õ½©›^ýýöê×+bÅãˆDB"©Yk‚$¦Ñrwõê­ì5«âZE÷íÈ]$F”Iû>‹^^ýû +÷+­ŠÍÛæåÛ$Ûõ 1b®Á²‘Ü|/°Õ“ˈ"­tTšh=) +:Sˆðø8A'˜4£}å D$˘ X*Ð .³Dšê”m–›¨{ó¢G¢Ý ¼Eb¯8'ˆ³=ÿÌkSæIy’¥ï̪…´ÔèÕÄøzÈ—õ¡ýì)pÜ&+ªª26:ÉWnb“¬*†¿¬æÀÞãÈ.›P>@x=劣ÕŠ(çݽ¦T TíªBÜÂ÷ÔR,LY?kïùe¼­‹üëg7„6[–”É=ܛş»ëÝ&¯ûÏÛz—Õ‹ =TYÿM,2Ó|îæ?¿TØê­H8›––Ž¥Álz$ßϦý•…Û´ÔÙ—Y¢:ì÷…E hpãœ`R‹‹Ü%Àé÷e±·ÈNMå¥â@™‡*Í7Žì!FÌnU0Äå{"Ö[YÄ*†¤è!ûÛ¾wØ/ØÐ]RÞöƒ±v*ÔñÈZš¼ÝšÊ@}Ú2;¬Ìx†¯l)¥F‹pÐÊ÷„†¯²§@ˆmHJ­š± 5í€p3½;-cX êºL‡Úà‹ÑŽ·^c'•¿†’ç¡‚’ÑWf²ŽïGuÿØx‡Õnc cCɱx»,A BØX†Ëp1”ïi¾ÊN„´z12ˆòö^_ ÂÛ V{ƒà1â*Üv$ßÓ |•6Q AØCì&ÿßÄjæ³k½u9™D‚ªp°Ê÷„¯²Ó°a)"A°yó77T !u8Ü å{âÆWÙiÜP…”ˆA¸YYµOòÏ ¤M'Â@¼'LI#nrÑgI„)fv&o7Öxl@¿~j÷Ã9§ì*õ=¹vÐغiõö~úG]‡6’ÿÙš|fl=N“÷I5/¡ªlÞ™²€É}“d‡'4—m¢m¨éÓ9C{Ež½yëbï°ˆ™yc²qØ2à&P“ œS$H¸,óH¾gÜà­,€šS­²Ì ¤pŸe~Ü O›Z mZí³ä-4&éýã®çYê' Üò>}B@¼ûmÍ9œ¬·×vÜœ´zÂÞŒ R*„E{” ¡/ëã‡sÎæãƒÜÊd•ÿh·’#Åûóàù ¤3£&Ýí»üÔ¦Á ðç?ýë1÷iWjÚ³üìHÍ +p£îó©ókʨ„f ˜PHÄ—L0ëLå±|8{CÂ1]:$µi09@8ŠY¸ÄýH¾§“÷VÖ!9@,Sú»(p­ë\´rˆ.·žþÛ—ÅÒT8_šæU]–'ÿ>Zdé4`g% µ”Õ¢)B?5ÇÉiÍó‚”E•BŠÍ\öÈÒª®XŠÆV °êAeŒt¸.Å¡x?ŽòVNQ4&ˆûW?Šº3Æå\ÓœQ.ËRð9oÖRuÀÛ‘|Oôz+ë_Ù> endobj +3029 0 obj << +/D [3027 0 R /XYZ -16.307 900.716 null] +>> endobj +3030 0 obj << +/D [3027 0 R /XYZ 56.693 759.068 null] +>> endobj +3031 0 obj << +/D [3027 0 R /XYZ 65.161 752.393 null] +>> endobj +3032 0 obj << +/D [3027 0 R /XYZ 56.693 704.886 null] +>> endobj +3033 0 obj << +/D [3027 0 R /XYZ 65.161 705.569 null] +>> endobj +3034 0 obj << +/D [3027 0 R /XYZ 65.161 694.61 null] +>> endobj +3035 0 obj << +/D [3027 0 R /XYZ 65.161 683.651 null] +>> endobj +3036 0 obj << +/D [3027 0 R /XYZ 65.161 672.692 null] +>> endobj +3037 0 obj << +/D [3027 0 R /XYZ 65.161 661.733 null] +>> endobj +3038 0 obj << +/D [3027 0 R /XYZ 65.161 650.775 null] +>> endobj +3039 0 obj << +/D [3027 0 R /XYZ 65.161 639.816 null] +>> endobj +3040 0 obj << +/D [3027 0 R /XYZ 65.161 628.857 null] +>> endobj +3041 0 obj << +/D [3027 0 R /XYZ 65.161 617.898 null] +>> endobj +3042 0 obj << +/D [3027 0 R /XYZ 56.693 570.39 null] +>> endobj +3043 0 obj << +/D [3027 0 R /XYZ 65.161 571.073 null] +>> endobj +3044 0 obj << +/D [3027 0 R /XYZ 65.161 560.114 null] +>> endobj +3045 0 obj << +/D [3027 0 R /XYZ 56.693 512.607 null] +>> endobj +3046 0 obj << +/D [3027 0 R /XYZ 65.161 513.29 null] +>> endobj +3047 0 obj << +/D [3027 0 R /XYZ 65.161 502.331 null] +>> endobj +3048 0 obj << +/D [3027 0 R /XYZ 56.693 454.823 null] +>> endobj +3049 0 obj << +/D [3027 0 R /XYZ 65.161 455.507 null] +>> endobj +3050 0 obj << +/D [3027 0 R /XYZ 56.693 407.999 null] +>> endobj +3051 0 obj << +/D [3027 0 R /XYZ 65.161 408.682 null] +>> endobj +3052 0 obj << +/D [3027 0 R /XYZ 56.693 328.298 null] +>> endobj +3053 0 obj << +/D [3027 0 R /XYZ 65.161 328.981 null] +>> endobj +3054 0 obj << +/D [3027 0 R /XYZ 56.693 281.473 null] +>> endobj +3055 0 obj << +/D [3027 0 R /XYZ 65.161 282.157 null] +>> endobj +3056 0 obj << +/D [3027 0 R /XYZ 65.161 271.198 null] +>> endobj +3057 0 obj << +/D [3027 0 R /XYZ 56.693 223.69 null] +>> endobj +3058 0 obj << +/D [3027 0 R /XYZ 65.161 224.374 null] +>> endobj +3059 0 obj << +/D [3027 0 R /XYZ 65.161 213.415 null] +>> endobj +3060 0 obj << +/D [3027 0 R /XYZ 56.693 165.907 null] +>> endobj +3061 0 obj << +/D [3027 0 R /XYZ 65.161 166.59 null] +>> endobj +3062 0 obj << +/D [3027 0 R /XYZ 56.693 119.082 null] +>> endobj +3063 0 obj << +/D [3027 0 R /XYZ 65.161 119.766 null] +>> endobj +3026 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3066 0 obj << +/Length 2360 +/Filter /FlateDecode +>> +stream +xÚí\ßoãÆ~÷_A$½ê½ýÍÝš4½ä‚6@Ï.à’ZZYÄQ¤Ž\ÙVÑ?¾C‰r,ê$ÏjI_ú¤_«áœï›™owI“Û„&?\|w}ñæ­¢‰%Vs\Ï͉NÃir=M>¼zï +—5îõ%WôÕÏ•wÍöí¬ª·oü¼ûñûjò]U}Ü~øåêﯻþ sɱJm­]ùuáš¹s¾i†£³ÄÀѵh.uJRn’KElÚ_K0˜šWo¶/LÛö»¾øtÁÀ̪ʗÀwíWØ+EápQF£ m9b4–Ø7GÑ®â9B[E43Ûx·XnáJƒ]“·ãûØ 'pWäåG$AŠÄSJã$f6+š +y5ã ç¯q#'’ÿVMïôŸE›6 ª6öíGÂ!ÚÙ<I4ØÝà¡‚{… C¿^º7´šaÓjù1/oqƒo\“OÑ´çu†Çîóá“" É´¦á•Éa³Ú' ¨Ï}@šÒRÅĈi +*¥äxÈÜ·‰Ìhg •³‘|{S¿"yÜß#i¹t÷¸›  HzS7ËV…/²WàŽp—+,”ñY'CfõrµÀ8äõmÜÄçUÙ œ~Ãœø—+À‹.¯B˜©'a&%JÛmüJ%íF™'£R"¤Ý˜K,ipIüz&}gû€9ýû!Î÷y çX«ˆåTØÀR w ~¤Ä±½7ÈêošC˜”·«¼™÷Bë$„·Éâ*óy3˱À|ë2¿ª‘Ž½w›î¹´ùék¦„¥R¡S3o…ý’©YYK„87ûÜn™Ý†ô + œŠt¼ä¬ îIS3ZrîÙKÎñÎ⓳2œP݉o±½[+âªÛVÅ™lÃ9ÔAûšù Áÿ?g‚öïYfž•·Ø –—³‘éÍ E*à,«3/ñiâ~Í(žÙñÀ¶o?lÑ΀-e„ÑNãÇ€½¬ûŒGúÃñÛÛ€9ö>/årYylŒ¬Rg3¨jVˆÀ•ÄˆÍÀ’eÌ°¸'ðÞ¹úJ EH>pÒš˜9¤ÊÇ£ˆ}û‘ílEpEx§bý«AÆý2«3äÌŒ{ T\~f‚æÄðÆù€ÑÙ]–Cw=tBôý‚<^«ž­ÊM·|6±0K({Qf‘VCɆe–M ‘‡{w³›<Ú|9çüù#iR¤kdª 3j4®éÙãšxgñ\#SKd*v‹²Úcg-Ðê6Zœû?…íÕPUl›²ºZaµ¹_²;1u³º=—ë ¢³/ªcHÕZMÇxì7ÉÃÍj’ÁGT4¤ DèñžýHV‹v6€Õ„ ZéÀé†IµÀÏŸWçNïÆÎ,PÓ7Ç©iY»i>°¸«­!ù|½;¸úÏc ª*IÇÓzö#!íl aѶÓ܃¯3ìm¨&®ÁgwlØ.V…Ï—Ø$¹ °&@æßÈöùV¡8Ln›¯¹6©~ËðLù¢3éÂJ8ò¸bA¶òU>}¨ß…‘D©µ…²ãi=ûq0ws½ÂN;ú¶ÄêÕS ôBÎe/²z(´7nR•Óðÿ¡Ó +sÞ7¤ŠžP/ý;%Ž¼âÈ +{ò5(ª +èýy8·«áG\nÙ³‰¶hgЯ–w‚JY!ûÚjå—+ß ½ÖãÝ÷¡|¹É†I,}žG/žÄÎ +LêªAr¡«]9ÁÎþ.0ÇVBY¢ãT¯àòA¤Pò3ʇd«:÷ÿÞV?¹¬l~¯šuY-CÊgšªË¨Ë ÓãؾýH‹v6€À8%ŒÊÇÆäí&Âa!´Kî:«jRdÍASðŸã™¯ªò +…Y6qAÿr·ŒûUĨñ¶5õìG`´³H-a²ÛÖô×¢j"¶¯™æh +c81úE÷ôpCÉæ›1Z6äió~´#nÐáš:ÞÂç}óqáí*>Ú¹Dpºì9ˆ>ñÝÊ"ó“ù°êf`+ù¿»'ðtåŒÕ0gùCœüÄ(W-?q•'»“™ÄPûeÉŒºâ6°c)Q¬ëÆö¿èŒÆÙfGÛQ®‡^†ž®A/ Ø;¤Ra¹4 Û†qfÍþ­*?ôc–ó:æÿ¾–þ<^¥&ÒŒ·V§g?NÑÎÀIZ’¦ú1ÿ­¿ÐÁçzÈ»&ÆŸ`R§Ù§6Î4•_´»cŒ=â}ƒñé=û‘@Œv6ˆPôÚÝÓ3Ðy­Y-—U=4½ß2~†Ü3¦ù¢]”ø¯¬œÌ{'ŠùÓôÜÌÀ)í[6Þ2š}óq¡í*>òmWÌ_Ïs쳚fµpÍÀRA¶òs,BvõúQ ççèU}Ëû[¨6íÓ ±Ï*'¡›IÛ½Ðj<9nß|ä#c]ÅGm»k[²@Ý “˜Q3=œ=Q¡e;ì’èzš—è5^’Hƒ¦ +¢cH½áàiž’ªí9óü/¿²÷ +endstream +endobj +3065 0 obj << +/Type /Page +/Contents 3066 0 R +/Resources 3064 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 2927 0 R +>> endobj +3067 0 obj << +/D [3065 0 R /XYZ -11.232 900.716 null] +>> endobj +3068 0 obj << +/D [3065 0 R /XYZ 56.693 759.068 null] +>> endobj +3069 0 obj << +/D [3065 0 R /XYZ 65.161 752.393 null] +>> endobj +3070 0 obj << +/D [3065 0 R /XYZ 56.693 705.893 null] +>> endobj +3071 0 obj << +/D [3065 0 R /XYZ 65.161 706.576 null] +>> endobj +3072 0 obj << +/D [3065 0 R /XYZ 65.161 695.618 null] +>> endobj +3073 0 obj << +/D [3065 0 R /XYZ 56.693 649.117 null] +>> endobj +3074 0 obj << +/D [3065 0 R /XYZ 65.161 649.8 null] +>> endobj +3075 0 obj << +/D [3065 0 R /XYZ 56.693 592.341 null] +>> endobj +3076 0 obj << +/D [3065 0 R /XYZ 65.161 593.025 null] +>> endobj +3077 0 obj << +/D [3065 0 R /XYZ 65.161 582.066 null] +>> endobj +3078 0 obj << +/D [3065 0 R /XYZ 56.693 535.565 null] +>> endobj +3079 0 obj << +/D [3065 0 R /XYZ 65.161 536.249 null] +>> endobj +3080 0 obj << +/D [3065 0 R /XYZ 56.693 489.748 null] +>> endobj +3081 0 obj << +/D [3065 0 R /XYZ 65.161 490.432 null] +>> endobj +3082 0 obj << +/D [3065 0 R /XYZ 56.693 443.931 null] +>> endobj +3083 0 obj << +/D [3065 0 R /XYZ 65.161 444.615 null] +>> endobj +3084 0 obj << +/D [3065 0 R /XYZ 65.161 433.656 null] +>> endobj +3085 0 obj << +/D [3065 0 R /XYZ 56.693 387.155 null] +>> endobj +3086 0 obj << +/D [3065 0 R /XYZ 65.161 387.839 null] +>> endobj +3087 0 obj << +/D [3065 0 R /XYZ 65.161 376.88 null] +>> endobj +3088 0 obj << +/D [3065 0 R /XYZ 56.693 330.379 null] +>> endobj +3089 0 obj << +/D [3065 0 R /XYZ 65.161 331.063 null] +>> endobj +3090 0 obj << +/D [3065 0 R /XYZ 65.161 320.104 null] +>> endobj +3091 0 obj << +/D [3065 0 R /XYZ 56.693 273.603 null] +>> endobj +3092 0 obj << +/D [3065 0 R /XYZ 65.161 274.287 null] +>> endobj +3093 0 obj << +/D [3065 0 R /XYZ 56.693 227.786 null] +>> endobj +3094 0 obj << +/D [3065 0 R /XYZ 65.161 228.47 null] +>> endobj +3095 0 obj << +/D [3065 0 R /XYZ 65.161 217.511 null] +>> endobj +3096 0 obj << +/D [3065 0 R /XYZ 56.693 171.01 null] +>> endobj +3097 0 obj << +/D [3065 0 R /XYZ 65.161 171.694 null] +>> endobj +3098 0 obj << +/D [3065 0 R /XYZ 65.161 160.735 null] +>> endobj +3099 0 obj << +/D [3065 0 R /XYZ 56.693 114.234 null] +>> endobj +3100 0 obj << +/D [3065 0 R /XYZ 65.161 114.918 null] +>> endobj +3101 0 obj << +/D [3065 0 R /XYZ 65.161 103.959 null] +>> endobj +3102 0 obj << +/D [3065 0 R /XYZ 65.161 93 null] +>> endobj +3064 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3105 0 obj << +/Length 2041 +/Filter /FlateDecode +>> +stream +xÚÍ\ÝÛ6ß¿Bh_à–á÷G\‹6ŠöÚ&ûP éƒlÓ¶}$Ç»÷×—²ìt-g½CStîɲD‡£ù œ!“U‚“o¾»»yõZàÄ #©Lî–‰¤HªD†˜JîÉ»olnÓÖ¾¼¥¿øOÕÙv¸\VÍpÑ­÷¿¯æßUÕ‡áËo~ùçÝO®›[Bbö¶{Èm»¶¶kûÇ®w’h×»d}ï\*¤¨Nn2jß¿N Ò/^ Dšþ‡7?ÜÝü÷†8ñ8!‰H–(CÄ4™7ïþÄÉÂ=s + nt²Ýµ,A0¢Lºëב´Ïß=í€jD4?t0&}ëPùIÆò&H9;AzxüÎ%2ÔL ìN`³J†‹7û—ô"Š3‚¸3Ðî}¾ÎîÞý©œäÝîeÏ6+X섵+íÖÐù°¡-ê<í±ý¸¹$‚ú$urO|Ò‰˜"ªÉHü%Ý4Y÷¿Š?Ù´lA1ër[§+ÛòŸC“yUÔUiËîѽEö1k³ª|të¾±ËG_ÿ–td]§˜x¤× w¹Wí=ÆÄiBð§+2\Á^ƒ41bâ…© rá3Vd8‚U…Ç©9’|?a}»XØ vója¡H†µ[§å"ÊLçÊj›ÛÅÊιÛiƒÔ¬§0=J ¹êÔÍŸŸPOýän 4†c9½€6Úªnª¹mÛ±;<cåX &ñ`v,?gÁÊzM1$øÐÚ¬Èò´É¦…Co6O;Û=}íÛ< ¼m–_×6m€m½/› +ŠŽ"í:ÛŒ÷óÆK—ãß`" âœÆƒÉ±ü@˜+ëg Å”¤åƒ¯ß_Ì¥£f\°k²@ÉÌ|Éõ˜¤N%#’.âVåDÇóócù~¬¬‡Ÿ ‡DÅÖ±z{••Qð$Ónêºj:(Ar˜¢î&œGêªÞôvZ\Øÿó(s^ébh<ËA°² À¾ÏHAÙy +åµmŠ¬ëà+š²³÷]ëAv÷mZ‘»„zd^u^ÔÿâYOŒT4¿<’æ•¡ŠÂ}RæÄïÄwkèzi™ÝCí8©¶¿ý5n<ûq¸½þ%7]½ ð í(!×äMBr¤Œš–7eåÂÞ{0'!8ÒŒÇcN‚3¤•ˆÎcùð VÖ \¹Oæ™Éîß/x½ +Ykmš·UœZ ÅêÖH†ÒÆ‚g·6k»qžÈé#­ÕU‘N2‡¢Ådyò:mÒÝoí :r¬&ñ ÎBXÄË™ä‡A=\Y¨cŒØa…üÆÕG(™[lê¼O ØÏÍ´ï±ÀOβ/Šª¬Ú:[8t£ì|š§E6Êýí +(‚@ÁÈ GXÒk‚‘+‚×ÓN»cq_zn| +SÏB:­´ˆN¥ñHòH~ 8ƒ•…ƒ“ †áŸ*G0`®òªmÝëm<𒻙ˣyÖÙ£yÝTn©Øe——¹£$”é«¢‘rÄ(ÿC#qZɘS%fˆãxyó‘ü@4+ëFÜû…'/™ê>Úf–vYovÜf‹n .«¦ÅLoþÛCתW^WnT}ÌËÊÕÅ!ÉQ'N®ZÏ`J!n&®gÜÍciΤB‚©xAˆ¹ ¯¨1’„•…!& Òr_ÔømÓ;|ðVŽe5Ð7OžY^Í?ŒÛß>ݾϧYih*újÐg°{nѲ8 âÿúê £j<„w³q㯠PäI¯ò1’ˆ”`e=ÂÝ-¼Ïan׶„–ôî ZdŸì ÞÔd«u7í„›Û%PâÌÎÓMk§. á¨lZ®6éjœêŒ#oóá±ø@„ªê¦9¤À©Ì‡y&zUOýÛƒs1FTW­…0¬‘ê‹s.jœ&b9„j…tÄí»#ùa +WŽ!j"”y®ü¼V9àrHŒåP;o,tz„oÇ=»Æzf¿ß¥^Š ULB Õi~ÕÒ •Ʀ ,‡cÐa §CÄuåa¯î2’S‚•õˆ)œ#zXÉ_|XèÓ¾£˜Ðâ<¨zט–Wö¹¡©f½–mxÚ ºg8ûÞ¨ÔôÜ>¸”§P¦¦W-Qâ< ë‰+¹»»O@ÁN q»+1¯X4’Q•…GWÜû˜Qž÷øPÚtÙ<·—¢“h†(—]Éô¡`e=|HK$Èá4¶c\|ðËuôêLá0…*ÐØ"Íʉ7bÏ ™¸yycêÜ\s® B!FÅ¥ž„;ÂöW<3S8öÏ1‹‡òcù(VÖåÌ8/ SqO¥‘ê<÷ÌÊ=¥’5(«ƒgká+èfó*ÏÊïh Œ!N®z(ž8‡rn:-ì—•è±Ó lÇyÐ÷æU¼jȱø0È« +G¼¡HKå™ÀŠ_";­zËçO”ÈB¯n-´ŽÑº0f§Ž"ûÿÂZzæ`¸¼jÚ«€ìâü}Ï/c0“ûáai.ù³Ÿ¿c2ƒ +endstream +endobj +3104 0 obj << +/Type /Page +/Contents 3105 0 R +/Resources 3103 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3140 0 R +>> endobj +3106 0 obj << +/D [3104 0 R /XYZ -16.307 900.716 null] +>> endobj +3107 0 obj << +/D [3104 0 R /XYZ 56.693 741.747 null] +>> endobj +3108 0 obj << +/D [3104 0 R /XYZ 65.161 742.431 null] +>> endobj +3109 0 obj << +/D [3104 0 R /XYZ 56.693 694.923 null] +>> endobj +3110 0 obj << +/D [3104 0 R /XYZ 65.161 695.606 null] +>> endobj +3111 0 obj << +/D [3104 0 R /XYZ 65.161 684.647 null] +>> endobj +3112 0 obj << +/D [3104 0 R /XYZ 65.161 673.689 null] +>> endobj +3113 0 obj << +/D [3104 0 R /XYZ 56.693 626.181 null] +>> endobj +3114 0 obj << +/D [3104 0 R /XYZ 65.161 626.864 null] +>> endobj +3115 0 obj << +/D [3104 0 R /XYZ 65.161 615.905 null] +>> endobj +3116 0 obj << +/D [3104 0 R /XYZ 65.161 604.946 null] +>> endobj +3117 0 obj << +/D [3104 0 R /XYZ 56.693 557.439 null] +>> endobj +3118 0 obj << +/D [3104 0 R /XYZ 65.161 558.122 null] +>> endobj +3119 0 obj << +/D [3104 0 R /XYZ 56.693 510.614 null] +>> endobj +3120 0 obj << +/D [3104 0 R /XYZ 65.161 511.298 null] +>> endobj +3121 0 obj << +/D [3104 0 R /XYZ 56.693 463.79 null] +>> endobj +3122 0 obj << +/D [3104 0 R /XYZ 65.161 464.473 null] +>> endobj +3123 0 obj << +/D [3104 0 R /XYZ 56.693 416.965 null] +>> endobj +3124 0 obj << +/D [3104 0 R /XYZ 65.161 417.649 null] +>> endobj +3125 0 obj << +/D [3104 0 R /XYZ 56.693 370.141 null] +>> endobj +3126 0 obj << +/D [3104 0 R /XYZ 65.161 370.824 null] +>> endobj +3127 0 obj << +/D [3104 0 R /XYZ 65.161 359.865 null] +>> endobj +3128 0 obj << +/D [3104 0 R /XYZ 65.161 348.907 null] +>> endobj +3129 0 obj << +/D [3104 0 R /XYZ 56.693 301.399 null] +>> endobj +3130 0 obj << +/D [3104 0 R /XYZ 65.161 302.082 null] +>> endobj +3131 0 obj << +/D [3104 0 R /XYZ 56.693 254.574 null] +>> endobj +3132 0 obj << +/D [3104 0 R /XYZ 65.161 255.258 null] +>> endobj +3133 0 obj << +/D [3104 0 R /XYZ 56.693 208.992 null] +>> endobj +3134 0 obj << +/D [3104 0 R /XYZ 65.161 208.433 null] +>> endobj +3135 0 obj << +/D [3104 0 R /XYZ 65.161 197.474 null] +>> endobj +3136 0 obj << +/D [3104 0 R /XYZ 56.693 149.967 null] +>> endobj +3137 0 obj << +/D [3104 0 R /XYZ 65.161 150.65 null] +>> endobj +3138 0 obj << +/D [3104 0 R /XYZ 56.693 103.142 null] +>> endobj +3139 0 obj << +/D [3104 0 R /XYZ 65.161 103.826 null] +>> endobj +3103 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3143 0 obj << +/Length 2388 +/Filter /FlateDecode +>> +stream +xÚÝ\ÝsÛ6÷_Ái;S{¦FðAd;÷Цq{mÒÌ%zèLÒH‚$Ž)Ò!)Û™›ûßoù!ŸDIö•Î=‰¢ÀÅØß~bEƒy@ƒ_Î~½¸’4ˆI¬¸ +F³@q¢t1A„FÓàÃù;›ZSÚ‹K.éùyeËör–íEµè~ü9Ÿü”ç×í—?ß¿¾økôLsɉ¥l©½¯>§¶\X[•õÏ0; "˜]‰zöPi¢y\Jën~¥€ ŽÎ_´LÅõƒg¯FgŸÎ§ ¤"*ŽQ”“åÙ‡¿h0…߀ÆQp׌\’QÂ…‚ë4xö¯3Ú­=¸"kÚaLU-O9— ëÇ^\Áæ=Âú™ˆ„*‚ÚÌǶ¨..¥ðúæs•gß_\2_ͪʫ|BîËô‡v@š”U¹ñ}žæeiŠÏ·fùÆ—ÊŒS»ñýÆÌmi«ÕM}¯e¿æ²þøe{Ù`³™æðj‘ª—­¾/)lB¨Nâ( +Ì6×i‹Úþ»»ðˆp®×´„Y=Ú—¾$L±>}IÑ°þ˜6eH‘˜ÇG`¶!X̃öâ]'T[²f\0"Y§Ó-™Ú¥|hö¸\ÝÜä Q¨Á5LQJ²ùÖ`àê²»±ûÔù2ŸÚþð|ux|‘:¯ÆýÁ_µþ‘JúÈÉ|Q¹L“; Níl‡6°Ã>Ñ0œd¸ ¸z‹—¯ª›U«>7!X´3M¸Š‡ã6}O0z3ëFN‰”†¹0ÙÜ"™dee²‰-‘8Ã[šbÞGùß#<ŒÂ¾3xpä­IWkXq㬙,p#Ó|bÒ¯õÛGL+`¢ˆ˜˜múž€ñfÖ0‘&ªÃËÜf•½GÚkû703KÛ×¹Ílïq¢žo¿{*¨Š|ºšàÊ}¯; ÛõøLX£iúÁæÓ‚­ …N°·é{ +¶7³‚­Ñœµ’}Úøó8)¬Ìü:zóú$!ªÒ”„aè“:ðy0½§BÐNìÈé½Æ- ÷wvü«o€òÃ.„®b=\fhðbõ6}OP{3ëjA åÊ13gªªHÆà´9€º´UyäT \+hßmdFª [ }]l9µ³çk .ñIµ +œÿÍ´…Œ¡”§-d ‡szôý´…?³xm!#A„`ŽÚâ€ïI|σ´Ù9²ZqKP?ÎRkB¥<%œ¥ ›’ÏPµ=웇àÞÓh@ü +Óp¸Ô¾'~½™uÀ¯Aµ¿Jîqr>^Í÷†i2„èûãT…> 5`°ÖK×à†Þ¾ìù‰Xw…Ma&X¿gœæ“ë$›í„J/‰«’*µf<.ì-Ri3ãnKΉª[ä=‘ê˪P¹$j}2¤.»Y3=nÑíÓÊ–ûòêOexäÍ­IÒúÌÞê·¶+ŸëC8{“<rÑäœN +Û¢„Uv YLBÊNé5„±"R‹gx ¿Û¤Z´NÕY¤óÂ>x °cS%K·!Œ€ç6„@ËÁtQ¾Ÿ2òg¯B ·"áèöm!4ÒÏ“ =›Ç{÷êÇŸß¼:rpðçû×£__;¹Ps¢©:)jØD:þò¨q#“á–ç=lÐöD+?ß +NxÔUŸÞäØlugÍ5:†/¬lªmaªçÃï`²-GŸT*ŽM1Ë‘/4·È“¦Öµ˜rE(;­»@aQøňáj@wADÐáÜ…}?äÏ,^ ‰H¯Ý…ìzf*‹®,ØåM…Œ¬šÌ¦è¼Â$]M÷¤+‰{íý¾g×a#ìᘩkD-tLÓƒaž×r£e¼ zrˆÚ×$ìGeŒn”U{jƒ—<$b]e­»,fyšæ\žßÕ ÛÜš4‡U»¾Œ…¹à .˜<ïž[›µWK3íî¯øмÑÌ ÌþonÐSDkµV@‹j™îáthruƒših– +¶×Ò]h®‹¶£„l¯Æ%g öIÃ…„ÉÅq³±}H-ÉA/H¿,ôãZ’kFjYJKöèûiIfñZ’ƒ Dk;ùÎ.ó[ì©™ÂNWÙÔdHí—¬bB—1÷$úž,c]1d^·t䡹Ô.-v±’¬Lœ5.W´9#9˜ŒoÓ÷”qofd\ ˜³ëû™&·l:po4ãsÓn\j¢N[{çôÃú¸Õ±ÌC’¥I¶ÙG× ¹n¦Û¸•ÔIÊÍa[Í{e{$»ÜߟךY¹Á]ÅDÂeÇßGJðÃèÃk¯{îB> endobj +3144 0 obj << +/D [3142 0 R /XYZ -11.232 900.716 null] +>> endobj +3145 0 obj << +/D [3142 0 R /XYZ 56.693 741.791 null] +>> endobj +3146 0 obj << +/D [3142 0 R /XYZ 65.161 742.474 null] +>> endobj +3147 0 obj << +/D [3142 0 R /XYZ 65.161 731.515 null] +>> endobj +3148 0 obj << +/D [3142 0 R /XYZ 65.161 720.556 null] +>> endobj +3149 0 obj << +/D [3142 0 R /XYZ 65.161 709.597 null] +>> endobj +3150 0 obj << +/D [3142 0 R /XYZ 65.161 698.638 null] +>> endobj +3151 0 obj << +/D [3142 0 R /XYZ 65.161 687.68 null] +>> endobj +3152 0 obj << +/D [3142 0 R /XYZ 56.693 640.301 null] +>> endobj +3153 0 obj << +/D [3142 0 R /XYZ 65.161 640.985 null] +>> endobj +3154 0 obj << +/D [3142 0 R /XYZ 56.693 593.607 null] +>> endobj +3155 0 obj << +/D [3142 0 R /XYZ 65.161 594.29 null] +>> endobj +3156 0 obj << +/D [3142 0 R /XYZ 56.693 546.912 null] +>> endobj +3157 0 obj << +/D [3142 0 R /XYZ 65.161 547.595 null] +>> endobj +3158 0 obj << +/D [3142 0 R /XYZ 65.161 536.636 null] +>> endobj +3159 0 obj << +/D [3142 0 R /XYZ 56.693 489.258 null] +>> endobj +3160 0 obj << +/D [3142 0 R /XYZ 65.161 489.942 null] +>> endobj +3161 0 obj << +/D [3142 0 R /XYZ 56.693 442.563 null] +>> endobj +3162 0 obj << +/D [3142 0 R /XYZ 65.161 443.247 null] +>> endobj +3163 0 obj << +/D [3142 0 R /XYZ 56.693 395.869 null] +>> endobj +3164 0 obj << +/D [3142 0 R /XYZ 65.161 396.552 null] +>> endobj +286 0 obj << +/D [3142 0 R /XYZ 56.693 359.463 null] +>> endobj +3165 0 obj << +/D [3142 0 R /XYZ 56.693 331.953 null] +>> endobj +3166 0 obj << +/D [3142 0 R /XYZ 56.693 285.16 null] +>> endobj +3167 0 obj << +/D [3142 0 R /XYZ 65.161 285.843 null] +>> endobj +3168 0 obj << +/D [3142 0 R /XYZ 65.161 274.884 null] +>> endobj +3169 0 obj << +/D [3142 0 R /XYZ 56.693 227.506 null] +>> endobj +3170 0 obj << +/D [3142 0 R /XYZ 65.161 228.189 null] +>> endobj +3171 0 obj << +/D [3142 0 R /XYZ 65.161 217.231 null] +>> endobj +3172 0 obj << +/D [3142 0 R /XYZ 65.161 206.272 null] +>> endobj +3173 0 obj << +/D [3142 0 R /XYZ 56.693 158.893 null] +>> endobj +3174 0 obj << +/D [3142 0 R /XYZ 65.161 159.577 null] +>> endobj +3175 0 obj << +/D [3142 0 R /XYZ 65.161 148.618 null] +>> endobj +3176 0 obj << +/D [3142 0 R /XYZ 56.693 101.24 null] +>> endobj +3177 0 obj << +/D [3142 0 R /XYZ 65.161 101.923 null] +>> endobj +3141 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3180 0 obj << +/Length 2168 +/Filter /FlateDecode +>> +stream +xÚÕ\[ã¶~Ÿ_!lû° t¸¼Klч&é& šÙ™vó@[ôXXYšÕefv},ybkìñáÐr›òD‘ßwn¤L£›ˆFß_|s}ñö¢‘!Fs]/"͉Ž£„ "âè:>¼~ïrgk÷æ’+úúç²qu¸(«þ Y¿+çß”å§þǯWÿ~óÛõÐÍ%cÄ(ÕK»j¾ä®^:×ÔÝeèE ô®E×»Ô1‰y]*b⡃À8yý¶ÿbÚt7^üóúâóñ4b‘ÒDņMy4_]|øF)\ˆ4It¿n¹Š£„ ÇytuñËF‚‘li£º×é#çj­Å涷ï Éú9dwOB¤NàB?€åÌUÍ›KM)<¾ýÒ”Å_ß\2?ç˶øt9/W«² uþ·¾ÕútSηN¥å|c;nt9_ÚâÆÍlUo]²mSféC?ÀFm)&Cª}¤”*Œ>±þhýl0kÝãu_ßïŽ7 „Å<ŠŒI,»ñîÎ+ +³'uĉILT¹h±=À;ÒöŸ}ÚOgzÓA/˜u­Cå+Â4ËW”‘&ÓÃ6ø41Üœ@ÙµÀê&êÞhÜAÖFqÁˆ¢¢ŸÅoËâ®CØ6 ŸÊŠ>¬±±h‹y“•ÅNkr9œxzÛk{g³ÜÎr‡ì ªaQ¦ÎCÚ5ãÖ©¢ðaoZ÷Ó”8}Úzô„Ç ÀbÂU<>wåâ3XY|rJ””=> w›€?;°aã9&‡±@Ä @äd¨¿µ•]ášf®¸ÚC +#) ¨˜æß=¤ï+Yüù“m«¬ùÚ;¯-êß]ämFAqô©u*$j:‡¤cÀ5ŸÎ!ä‡>\Y<áu,H¿Ë\ŠÃ8Ä5¸†³öæÄî§*ï=¼ÏÒe7ËÓQC`«Äyé(%ÑÉKÖïì]–ödüŒš«6\¼É˺¶ÕF +Ib5%#¹ ±™‘»ò¬¬#yLh20ò_EãªÂvŸÍ³¯XvÞvÁbkŸÄ‹Á®m¤Ú!}«-R?±6¯KÏPNCÄ’Ðøœ U& 'N)ó¬n¶sÁe³Ê·~ÎòrþɃ¿*IåòWÅS=GòÃø®,ž¿*¡D¨¿?•’+.w+WôÕa2mìkás‡;Ÿh»iªlÖvÕ¥ºØnŽ.ÉR°²@Ò†3Ôßþ‘¦Xã–ÂæîìSþL:´ºÍmƒäÁý2›/±1(Z…%²÷Ü7ã¡ø È +æM&ÓyW~ ƒ•õ²'(™fÕŽ"š¬Áfý‡ÍÖeàl‘¬916ç¹­kÏÇó ¦ä €0„wåB8TÙÀ•1‘›uŒ®Vyض5Ö,cCñ® å Jtêì,Øb·§ËÐîZ2ÂÏm³„i&Š¶±OMA2K¦ §%äRMǼ‘ü0æ…+ëá<(…¡~\Ó„HbŽ´—+tìgeÛ| +3ŒlyŸ5KìS=­ÿýÕaõT]dt7¾çÕikêöö¶/zåŸL4QÓ‘c[z 5Å£[Ž“¤'†³uæN`ÞÖM¹Ê¾Ú}ˉX7 AcçtRS¢O\uyAeT*0HÜLè +Lìtùð®ø@´‡ªêw)Uƒ¸ÚgD^yV|ÊŠ›?v%Ô‡›Bƒe8/7™ Fœ–›Yç|˜IA 3a& `PL¤ä‡q3\Y<9…ÑDðx³fŒ²}¹È3¡ÉCGdÏÔ¨r¶ªº­VH[Q¥X7Z.ù\UÎ]]gO KX> CÁô•ÏBÇ„™']•[xÐY¨8t+Ä:K@-λò鬬¥!Ê tþ|z YVÕ äR+lÞõÉy¸E¼`¬÷M¦:{ì=hž¸ðWhÎC¸#ÎZgœÍÿõª¦ÀnÇxÞ$pȧ3 #ùa&!\Y“@9Itì½å·øSØVðÿha3¸þQ¶Ímë[þàIB4Ÿ•;âAª*“Ü0bèPÙ[ç:>]0:~Ï3+„ÁÉßxm,¼à¿*ë&`ÿGÊã˜hͦÃè®ü@+ëÒîݬ_€{¬¬‰³iŠ/[4§5Su¹BϱCó`œ ¶’èø¬WŒ$œ6Ðú ƒkk×xS\‚Ö1¹€+bB‹°+?Ð"+ëa„$œ%±’¹÷Hê¢_ÛXcÆ#$Jݶy“Û™C®•ÝÙ¼ÅPu‰Ý/a±[0Úðkmk·~¿ªö Í<ž06Û•ˆò`e=PÎáÃr ÚòûMÙgמ9;˜2XdY`æ°ñt_Ü´Y½©ü,‘z‹}e›¬^dÎpÔÊÄt€Û•¸`e=Ç8tð«ïœmZìúÿ{·FÒh×—þÄ”0T*tÒkþjs´ßl_¼ÆÅ”!Üœ×n +M¤<±ÝþÂÁ# c\‡î¤9b¥QM¡ŽäZ©`e=¬KÈæE;¼•Â—¨m1_–U}â’Þm•­lõÅ“òÝ”íy߇ß|ŒÈÆò—«Òf…ÇéD%Q¿’Ó£}W~ Úƒ•õ@;–$Â㴽ͳ9z]"¼*s'ßËšf‹d{EsbР=Hßrd)ciïÐ{½°óâ#ÇJ»ÿVRçt¬qBb5u>ò˜zìHß÷ïR’ªÍKþ\ê¿ký$ +endstream +endobj +3179 0 obj << +/Type /Page +/Contents 3180 0 R +/Resources 3178 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3140 0 R +>> endobj +3181 0 obj << +/D [3179 0 R /XYZ -16.307 900.716 null] +>> endobj +3182 0 obj << +/D [3179 0 R /XYZ 56.693 741.779 null] +>> endobj +3183 0 obj << +/D [3179 0 R /XYZ 65.161 742.462 null] +>> endobj +3184 0 obj << +/D [3179 0 R /XYZ 65.161 731.503 null] +>> endobj +3185 0 obj << +/D [3179 0 R /XYZ 56.693 684.09 null] +>> endobj +3186 0 obj << +/D [3179 0 R /XYZ 65.161 684.773 null] +>> endobj +3187 0 obj << +/D [3179 0 R /XYZ 56.693 637.359 null] +>> endobj +3188 0 obj << +/D [3179 0 R /XYZ 65.161 638.043 null] +>> endobj +3189 0 obj << +/D [3179 0 R /XYZ 56.693 590.629 null] +>> endobj +3190 0 obj << +/D [3179 0 R /XYZ 65.161 591.312 null] +>> endobj +3191 0 obj << +/D [3179 0 R /XYZ 65.161 580.354 null] +>> endobj +3192 0 obj << +/D [3179 0 R /XYZ 65.161 569.395 null] +>> endobj +3193 0 obj << +/D [3179 0 R /XYZ 65.161 558.436 null] +>> endobj +3194 0 obj << +/D [3179 0 R /XYZ 56.693 511.022 null] +>> endobj +3195 0 obj << +/D [3179 0 R /XYZ 65.161 511.705 null] +>> endobj +3196 0 obj << +/D [3179 0 R /XYZ 65.161 500.747 null] +>> endobj +3197 0 obj << +/D [3179 0 R /XYZ 56.693 453.333 null] +>> endobj +3198 0 obj << +/D [3179 0 R /XYZ 65.161 454.016 null] +>> endobj +3199 0 obj << +/D [3179 0 R /XYZ 56.693 406.603 null] +>> endobj +3200 0 obj << +/D [3179 0 R /XYZ 65.161 407.286 null] +>> endobj +3201 0 obj << +/D [3179 0 R /XYZ 56.693 359.872 null] +>> endobj +3202 0 obj << +/D [3179 0 R /XYZ 65.161 360.556 null] +>> endobj +3203 0 obj << +/D [3179 0 R /XYZ 56.693 313.142 null] +>> endobj +3204 0 obj << +/D [3179 0 R /XYZ 65.161 313.825 null] +>> endobj +3205 0 obj << +/D [3179 0 R /XYZ 65.161 302.867 null] +>> endobj +3206 0 obj << +/D [3179 0 R /XYZ 65.161 291.908 null] +>> endobj +3207 0 obj << +/D [3179 0 R /XYZ 56.693 244.494 null] +>> endobj +3208 0 obj << +/D [3179 0 R /XYZ 65.161 245.177 null] +>> endobj +3209 0 obj << +/D [3179 0 R /XYZ 65.161 234.218 null] +>> endobj +3210 0 obj << +/D [3179 0 R /XYZ 65.161 223.26 null] +>> endobj +3211 0 obj << +/D [3179 0 R /XYZ 56.693 175.846 null] +>> endobj +3212 0 obj << +/D [3179 0 R /XYZ 65.161 176.529 null] +>> endobj +3213 0 obj << +/D [3179 0 R /XYZ 56.693 129.116 null] +>> endobj +3214 0 obj << +/D [3179 0 R /XYZ 65.161 129.799 null] +>> endobj +3215 0 obj << +/D [3179 0 R /XYZ 65.161 118.84 null] +>> endobj +3178 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3218 0 obj << +/Length 2367 +/Filter /FlateDecode +>> +stream +xÚÍ\ßsã¶~÷_ÁIꛉÄ/¶Ó‡ÜµM&“¤mì‡v.y )ÈâEèH*²:ýã»”¨‹E[öB |y%Ë%¸ßî·‹ir—Ð䛋·7_ý]Ò$#™â*¹™'Š¥ÃR’êäf–¼¿üÉV6oí›+.é害íþpîšýA·þü«+Þ:÷aÿåß×ß¿ùåæ;¸Ìc$“r/íºÛV¶]XÛµýßpu–¸ºJû« ¥‰æ&¹’$ÓÃõ•Ú\~µÿ`*ëO¼øÛÍÅÇ âi©ˆÊÒDgŒ(Ê“byñþšÌà?P€ˆÌ$›ÝÈe"%v)p2Nì»çø3çòHõѳ7D€qÒÁ¹[ÛtovÏàºË·«ÿôæŠqøzßØ9¹o«?ïÿÍ×+g÷ý/Øy àïLvF/#I +¦ÇãYú±ü@KVÖÃÒ tˆ_=U:3ÖœjëÎßÖny‡ÅòÎ +·®xëèyÖ짆•Êˆ¡i<ÐËM°² Ñ)¡ÙÀþãÖHÛÊ¢?>÷>—â½ÀÄÉËü!^ ‰ñ­-òuk§v)e낤!Fˆxh:–ˆ¦`e=ÐÔOPÊ÷h‚'5›ÖžWU^؉M™—h£.X„•‰V³œàFÎ+·9;LHIŒ”¯™­©4%œêiÓ5ÿüLñ¾¥#&h• +fâùŒcù>#XYŸÁ$ÑTyÖ]Úõjå,$Щ Žè²Ïï¾–3EÁj³( dª¼‚`_vÞ¬Y¨xØ9PU=C8©Áu®[”XnôØÊ‚có'*×N!¿½ùá{$9]w«5Ò#49@í°tÖ»–!3JÀÜ¢öH~˜e‡+‹7m™¥DãYÌðòo]ÙUö\¢$&’ñ×$JR búÕ+o¢ôC¾nÊî¿{¦ôÍëö7¦Ônk·òàI"ME<ž$… TËx8–‰`e= !4IÿÄ“°ÉÕÒÍleÑuo»„,«³+çŠj\{‡Ûøßi®â\YC8™3¾—β÷…]…¬XIHH‹G6Fò 0XYLTì ð]åZ‹´©ÛõÝèaì~þƒ¤ ÜþÁP¸~UŸ ×:›69ý˜×³¼µ‡×™&Jdñ¼®0ý G³ùcña&¬*Þâ…‹ÐæE?`iȺAŽÌqýÈÛi«´O¾^^ù±¿Ú›=bG–SÏ@í¸â—XðjItää¢+XYxéŒP6xW¯Ú>Ö–ù»²€ÌíÜ6¶.°ä ][Æ »ùÇ;$ßBò²¾¯å\¢$ !Ñ:ÞBüH~ ]+ëa×ÀiÍ·8²õôè„×gIbƒuŠ>u”ÛíÔëÏxÚÓü²CkÌ›sCÈË°‘)1,ÞRüH~ l‚•õ€Ô„Ña)Þk±mþûyüQªMBRb¸xÍÌGp—Vqº(±·Í IEÄ^hS¯z$?ŠÁÊz@ä*íÛ Ö“g/ɦìøÚ¹ùât ê)Nu峂÷Å ìéræå}P}†3ÊeÆÑNŠ +’fÙk:©Ô ägõQ©f€Îx.*U´¿ëh.j$?ÌE…+‹wQ)z.†äñG·93ß FÙ®6ó¸7ó¿SU¸‘nØeßüÖ"/n+»„»ú,YîǵmñëxĢ:E#6ÃŽäb*XYLÛç™ç¢«GÛ*º‡ Ëè'/Ž»Ë=Hz*4¡ìUIzÊ!ä*oybØî´è–•OLd‚È4"oOiJ¤ŽÇÛGò¬¬€©"F Œè]cÑ,»µ}»Wgý|;1…/ÜrµîÊúnòpææ1B ;°ÝXß0Å{«ˆ£#ùaV®,ÞÊy&Iv(°NÍ=ž¦sÓítj×ØVÉ»>‡]¼À7äOß0›WÝÔ$‹iì4>Î ^†($ JÆ[7É„h°²5‚d‡ÖTô¦¹Pˆb©צùÄ+25Ÿ”ói™ZY÷¶xšgí‚ EXÌâO%ái¼Dk$?ÁÊzÀ#5DræY¼ðÚó0}¥cµhòÖwm®-—=³ô<묎4û¸vÝÙÝr.®ãíýÉ´é`e=lšk"ý©K×vhR2_WSw +ùÄü¶SÐy;EÑLË'8qF¸yÕ=x,ƒx˜N¼¯s…G,bÆC#î¿cZ#âeS#ùa¸ W[´¥êð®MS¢Ë®ˆR/è\„xˆõ j·øþ±ÙÔÊ­Öý<ÍμþË(û2ñÒ•cñUÕšÂìhÏzvg¿ãýP W÷)°Çн»½Î—S¯¨W®óZ,jÏ yLJ’EìÉ4Ì`e=,Sf„³¡ýf¥óò>xo†„ûÞ€nI¾›8, ž‡xÕ}y,¥„gSïËÛõ‹­ò»‡é}_w5íÁo³òײ-]ýD`øú›¤£0 ŠÉŠõ[$ªýL)MýtÄöGÈÇÀ)ÜhÄ]‚Œ‚º4Þ.Á‘ü@¬¬‡Ç`œèÌ—`1nr +fg ÈDZyU^|¨Ý¦²³»'IpÛÁmÿ®ØitVùˆw>¡w½ûØR¹_ëE‹}U +lûhàE$Cf(#¾yáX|Ì‚Uõ@(jÒa+d[.Ë*oªí´øè–EþÌNÖS'~e¦ç¡ßÀ”¯V6G2lƒÆ¼q5zó°nï"â¼ó^¨íß±‹øX|F‚UÅc$£Äš3ózëkôgS@#ˆÌb¼pøÑ[À%t¿Õ÷%àÿH_µ¨ +endstream +endobj +3217 0 obj << +/Type /Page +/Contents 3218 0 R +/Resources 3216 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3140 0 R +>> endobj +3219 0 obj << +/D [3217 0 R /XYZ -11.232 900.716 null] +>> endobj +3220 0 obj << +/D [3217 0 R /XYZ 56.693 759.068 null] +>> endobj +3221 0 obj << +/D [3217 0 R /XYZ 65.161 752.393 null] +>> endobj +3222 0 obj << +/D [3217 0 R /XYZ 56.693 705.284 null] +>> endobj +3223 0 obj << +/D [3217 0 R /XYZ 65.161 705.968 null] +>> endobj +3224 0 obj << +/D [3217 0 R /XYZ 65.161 695.009 null] +>> endobj +3225 0 obj << +/D [3217 0 R /XYZ 65.161 684.05 null] +>> endobj +3226 0 obj << +/D [3217 0 R /XYZ 65.161 673.091 null] +>> endobj +3227 0 obj << +/D [3217 0 R /XYZ 56.693 625.982 null] +>> endobj +3228 0 obj << +/D [3217 0 R /XYZ 65.161 626.665 null] +>> endobj +3229 0 obj << +/D [3217 0 R /XYZ 65.161 615.706 null] +>> endobj +3230 0 obj << +/D [3217 0 R /XYZ 65.161 604.747 null] +>> endobj +3231 0 obj << +/D [3217 0 R /XYZ 56.693 557.638 null] +>> endobj +3232 0 obj << +/D [3217 0 R /XYZ 65.161 558.321 null] +>> endobj +3233 0 obj << +/D [3217 0 R /XYZ 65.161 547.362 null] +>> endobj +3234 0 obj << +/D [3217 0 R /XYZ 56.693 500.253 null] +>> endobj +3235 0 obj << +/D [3217 0 R /XYZ 65.161 500.937 null] +>> endobj +3236 0 obj << +/D [3217 0 R /XYZ 65.161 489.978 null] +>> endobj +3237 0 obj << +/D [3217 0 R /XYZ 65.161 479.019 null] +>> endobj +3238 0 obj << +/D [3217 0 R /XYZ 65.161 468.06 null] +>> endobj +3239 0 obj << +/D [3217 0 R /XYZ 56.693 420.951 null] +>> endobj +3240 0 obj << +/D [3217 0 R /XYZ 65.161 421.634 null] +>> endobj +3241 0 obj << +/D [3217 0 R /XYZ 56.693 374.525 null] +>> endobj +3242 0 obj << +/D [3217 0 R /XYZ 65.161 375.208 null] +>> endobj +3243 0 obj << +/D [3217 0 R /XYZ 65.161 364.249 null] +>> endobj +3244 0 obj << +/D [3217 0 R /XYZ 56.693 317.14 null] +>> endobj +3245 0 obj << +/D [3217 0 R /XYZ 65.161 317.823 null] +>> endobj +3246 0 obj << +/D [3217 0 R /XYZ 65.161 306.865 null] +>> endobj +3247 0 obj << +/D [3217 0 R /XYZ 65.161 295.906 null] +>> endobj +3248 0 obj << +/D [3217 0 R /XYZ 56.693 248.796 null] +>> endobj +3249 0 obj << +/D [3217 0 R /XYZ 65.161 249.48 null] +>> endobj +3250 0 obj << +/D [3217 0 R /XYZ 65.161 238.521 null] +>> endobj +3251 0 obj << +/D [3217 0 R /XYZ 56.693 191.412 null] +>> endobj +3252 0 obj << +/D [3217 0 R /XYZ 65.161 192.095 null] +>> endobj +3253 0 obj << +/D [3217 0 R /XYZ 65.161 181.136 null] +>> endobj +3254 0 obj << +/D [3217 0 R /XYZ 65.161 170.177 null] +>> endobj +3255 0 obj << +/D [3217 0 R /XYZ 56.693 123.068 null] +>> endobj +3256 0 obj << +/D [3217 0 R /XYZ 65.161 123.751 null] +>> endobj +3257 0 obj << +/D [3217 0 R /XYZ 65.161 112.792 null] +>> endobj +3258 0 obj << +/D [3217 0 R /XYZ 65.161 101.834 null] +>> endobj +3216 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3261 0 obj << +/Length 2143 +/Filter /FlateDecode +>> +stream +xÚÍ\ÝsÛ6÷_Á™{¸äæŒ >Û››¦mÒN›ÜÍÅ~ÈLÒˆ‚-Ž)R!)Ü_ߥ(§–dÙ TûD‰K`»?ì¢ÉeB“ŸN¾??yõVÒÄ«¸JÎ/ʼn҉a)Iur>M>½øà ïÿò”Kúâ?Uë›þãEU÷ÚÙúÇ«ìûªºê¿|<{÷ò·ó_ ›Sƈ•²—vÖÞ¾™yß6ÝÏÐ;K ô®Ò®w¡4ÑÜ$§’X½î_Y¨Í‹Wý…ÁwxðäÍùÉ—âi©ˆ²i¢-#Šò$›Ÿ|ú&Sø  šäfÕržHF O|.’³“ÿÐõHн#r/[X¨êuú̹\iqÿØ«·Ðdõ¢{Æ¡ üÐ`5ñuûòTQ +¯ïîÚªüæå)ãð5/§þ–Ü6E/ †©“×]~Ú|A˜¦y¢SPB¤Ý v÷%…á*áÄ›Ô>¹xøFÒ¿»Û7„qßA/˜u­cåKÂÛ–/)#F +ÓÃÃÙVÄr;€²+õeÒø°žþ©¼WÃ\›œ2®S…2ÄbóxD K£ˆfrX ÃÄÍ]ÑÁøÛþ÷Y;/ÚIl5Ñ’l v¬m:°·äÇ;^Y<°¥²„C÷1G¦f‚>½Føùüý;dHu(‘+Š²jVÍèµkÛ:Ÿ,Ñk÷¬ªk ÅÝ¡á]ÂÕPqT¯ZbŽî W;í7~‚}ozq3¢ `Ý[Øñ\À¦üH­l€ àœp¹N̾¯®‘¹„›:ßI‘€€Ó½à1¯¦Ø”_g=#¨ã*G]ˆ +›ªImÿês 2«w~ëfÅeí¿"¨ö¾l뻀0*LJ1»-4\ÅxÙí-ùqŠW!¡%é×ìö"‡ŒnùÈõÝíæbjÿ~:‚çe“OýÈ ×”¬pMó˜>Ÿ©¤O8$‡uHwHK’2MK“SF€Dõ3ÿ}}ÙÁºõA˼¼vE> L¯âÆ“¬&/vÙ +ŒÃ:`Lª£ú[¡lXƲ"›!ÎVz\Û-—$/ë·)>ÒÕƪài¹!Šš¡,VH£ùÓ¨ÃÖã\QT7X‚Ó4í¬®–—³akLYU¤GÀ-­J>&HªØx¼)?Ò‚£• 0aˆJ¬AàjÉÍg¾Ä.›:ãZÎËf1,ÂúÛÖY¨ÚäØÚèµË üpì”=Ÿ·]šAGt¾›ò#m7ZÙÛ¥]îMwx+bÙº2ó‡ñ\!XÂÊï0Fæ ïêfà¢ÐÌ +nPéïû…NGÍÂgÍ¡kiAéŠä‘Ü¥xµ=$õÞ-ë¼ýÏî~ñ®lþ`w“¢Ê®Ø]ªÀ–R=»Káu¥¯Ô´%?ÎÃÄ+‹÷0©´Ä¨?JMþO-6¹ìª¬n +?½ Ù»ƒu®nól÷Xt¦BÅÆKinÉ´¡helHÀ-ºÞÿzbØ™›tût·¦íÕɇU ös——ïœ`‰ÒÜ‚¬‘uÜPÁ,Ñlà-ÅÙlY^fÕ|^•!ƒ‚.rÄÜ+·†h;^îuK~Øã• ;å„>d Séç ë:²äˆ­M¶°^8€5ÕK§‹¼¼:˜)r+‰¡GMr͉±|XøÅ¢k|}WËGÌrɈÕã!C|$ðcUÅãžKI¸(Ȥ€‹ùæ9Üã:YѪz70_Ä5;ÿï……eƒt9–¯\yyQ°¤6o ï&“Ú_#]V=²2i#.¡l¼”ç–üH¨F+€U!·_k_MëÝtØÄ÷—eW"ÝJ4>oøùELÆñÉäg_ÕÇšèýÙ¿G|“ +¼èlÔTöW|Ý¥w§ ©!”ó£Ò6y_AtÕvn€SÐCŒ¸›™YA˜7lÉóFñÊâ½³š-þ»™/}ék°¹£c鸦S׺‰k¯-´¶÷°(}P¸3a–vÜ­_LÂvë×G#˜4$å#BbB“TWÛ’éL¢• p&’z2bâÛ{4aQå%º16#øáÍëß¿Ø—}<{wþó»@ÎÌ€¦ú¨yCÆÒþù e ‡±ÈÄ(%2¯È´%?´ÑÊ€–¦ÄðuæøuY3ÆæÓ ¦b á•ß¢ã)šÁ7ír‘O`{Ž]dÅrŠÝ3䲺jô±ÈÌ7MU°‘óÌÝb·˜Ô@ÛìlI3‘Ì O¨¼GýgÚŸiFæA#½úC‹u›S$æ%RW²ÛÈhUx4’P£ˉQëz]ØL)¶³ªÆfÙ>äòlæ#6ÅEä'ûvþ±GPBûs"¡Øó;D8t1 +endstream +endobj +3260 0 obj << +/Type /Page +/Contents 3261 0 R +/Resources 3259 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3140 0 R +>> endobj +3262 0 obj << +/D [3260 0 R /XYZ -16.307 900.716 null] +>> endobj +3263 0 obj << +/D [3260 0 R /XYZ 56.693 741.747 null] +>> endobj +3264 0 obj << +/D [3260 0 R /XYZ 65.161 742.431 null] +>> endobj +3265 0 obj << +/D [3260 0 R /XYZ 65.161 731.472 null] +>> endobj +3266 0 obj << +/D [3260 0 R /XYZ 65.161 720.513 null] +>> endobj +3267 0 obj << +/D [3260 0 R /XYZ 56.693 673.005 null] +>> endobj +3268 0 obj << +/D [3260 0 R /XYZ 65.161 673.689 null] +>> endobj +3269 0 obj << +/D [3260 0 R /XYZ 56.693 626.181 null] +>> endobj +3270 0 obj << +/D [3260 0 R /XYZ 65.161 626.864 null] +>> endobj +3271 0 obj << +/D [3260 0 R /XYZ 56.693 579.356 null] +>> endobj +3272 0 obj << +/D [3260 0 R /XYZ 65.161 580.04 null] +>> endobj +3273 0 obj << +/D [3260 0 R /XYZ 56.693 532.532 null] +>> endobj +3274 0 obj << +/D [3260 0 R /XYZ 65.161 533.215 null] +>> endobj +3275 0 obj << +/D [3260 0 R /XYZ 56.693 485.708 null] +>> endobj +3276 0 obj << +/D [3260 0 R /XYZ 65.161 486.391 null] +>> endobj +3277 0 obj << +/D [3260 0 R /XYZ 56.693 438.883 null] +>> endobj +3278 0 obj << +/D [3260 0 R /XYZ 65.161 439.567 null] +>> endobj +3279 0 obj << +/D [3260 0 R /XYZ 65.161 428.608 null] +>> endobj +3280 0 obj << +/D [3260 0 R /XYZ 65.161 417.649 null] +>> endobj +3281 0 obj << +/D [3260 0 R /XYZ 56.693 371.383 null] +>> endobj +3282 0 obj << +/D [3260 0 R /XYZ 65.161 370.824 null] +>> endobj +3283 0 obj << +/D [3260 0 R /XYZ 65.161 359.865 null] +>> endobj +3284 0 obj << +/D [3260 0 R /XYZ 56.693 312.358 null] +>> endobj +3285 0 obj << +/D [3260 0 R /XYZ 65.161 313.041 null] +>> endobj +3286 0 obj << +/D [3260 0 R /XYZ 56.693 265.533 null] +>> endobj +3287 0 obj << +/D [3260 0 R /XYZ 65.161 266.217 null] +>> endobj +3288 0 obj << +/D [3260 0 R /XYZ 65.161 255.258 null] +>> endobj +3289 0 obj << +/D [3260 0 R /XYZ 56.693 207.75 null] +>> endobj +3290 0 obj << +/D [3260 0 R /XYZ 65.161 208.433 null] +>> endobj +3291 0 obj << +/D [3260 0 R /XYZ 56.693 160.925 null] +>> endobj +3292 0 obj << +/D [3260 0 R /XYZ 65.161 161.609 null] +>> endobj +3293 0 obj << +/D [3260 0 R /XYZ 56.693 114.101 null] +>> endobj +3294 0 obj << +/D [3260 0 R /XYZ 65.161 114.784 null] +>> endobj +3259 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3297 0 obj << +/Length 2158 +/Filter /FlateDecode +>> +stream +xÚí\ÝsÛ6÷_ÁiïÁ~ €ø Û™›¹ôš&½º×Æš¹Ü¤DA/üБí䯿å‡b‰–œe(Ú}¸i\,€Ýßþv›zKz?œ½˜ž]¾”Ô I¨¸ò¦ Oq¢´0ŸøڛνwçolbMi/&\ÒóŸsgËæv‘Í[µ/ÿžG/òü}óËÛëŸ.~ŸþÝL#¡”´k÷!±åÊZWV¯¡wæлò«Þ…ÒDóÀ›Hê¶MA Î/› SaõáÙ÷Ó³ÿž1O=æIETè{:dDQîEéٻߩ7‡w aàÝÖ-SO2J¸¯à>ñ®Ï~=£íLУ3²•-B¨jtúsYk±ýìò%4©Ç!ªo"T/êÆÿ°±[]L¥ç/Í*Y6ûæbÂ8ü~c‹™qqJîʤ‘3U‰¬.?ìV†iîi?$‚Õc¬žK +3&”ÇI„^a½Åî ö¤~ú°ÚKÛA#˜U­‡Ê—„)Ö•/)#& ÓÃî‚+òðÊÖ‹¥×ܼi-`o5·Šû ©`Í¢^å…ݳ€‡‚¼wõš»[kÞÇÙÙz…{k>`%‡k .;}õ®í<·%®%Àĉ%f9r@K‹l™$±óý¶Ÿ÷D.ÁÍÅOŸÛž>¯4D_°ô±|žWv£e¸ëôJø„‹Öé5‘É›0 +c¹2ÙÚ\0À<ðjzn·ìjD€ŠqAhØ’˜é–·-ò$É/¸<¿­¦¹~­L¶Ü2½•¹àLž·_̬͚»ÔÌÛg.¿§ƒuß ú}ß,Dkµ…£´RwyPKI‰Ïضa½FµÜ¬Çvg‰ßÜ O%ûÓ3á¾ÈÔp#ï‡Þ :ßä3[¸;¯ùàòOÐéÌ,±=pSÂ,øjDò&µO¼uäÃÍáÊâqSêÊ™Zòö]žÝTKŠB‰Å&‹\œg]ÌšÇ,scâ¤2 $C³%V,™ÊºÐö¸Âe‡(U.B%…vô£ã“s| yO¸•pBŒgÎûòšó`e{˜3\µÏsÆÛO¾Àµû‹ý„i÷AŽÛÏ!s#½ÌœÌ›Ö¦0éñŸ78 ñ]ʧäôÒׄêð Ó•Ù±ûØD¦­ÉÊûȔĥ+ûD&®‰È#SDp5ž+ïËèʃ•íáÊ,$š‰–ÑÏçÝ<ô(AÇ—t St€™Å³$Î++Ã{rýáwI^býÙ¦›)Ô¿f“!,Ö¶ð _?)iZî‡[Ò®’vûËföçæév}PCîAOÈу…Úrt}ÚòÆ,Î.˵.«±üQXxW–@YÊ?ª§¤˜}{ÑZtÛn'¶¼Ì3hiÖ«8"wMÞ +D?M¾mçLîh"‚H¸muùR}C¶½cÍÎZ ˆ¿[=5 ¸S¼99wäCâáÊâ‘X€\´9Âu/W[ÙHÑåàlcÀGÞ=Oе,»‹SH½óÙl„­µu¦ø‹Ü 7â­ÙÈRÓf½Î±i[ŒÌIæ3—oQnj:xxïà‚¶0ì´ÒD€wµm&Ho÷C5j¡³#˜3WáŒAU¯QÐWx_èDÓ’·¯¨>µ™~ÿóôõôßå—¥¹ÇÚA Ê“$n¼.Ë=Ȇ¸–Tþ8í*lå:XÜ™!aï Hc\ãW¶póå—¦f~èZz=šùšAjvZ:2Ï£Yž¿ï‘šùŠ_«ñ/)L‡AûòbÐ`eñ„hÑT~JÍNš˜Ey‚­›™:F¬ÈYé +¹;1.vØÌíÊ"õHÍz&8q†…Vô6ú<êÎÀ7ÇgâJTÄk|Á·þùËKä|YgæÆ™ç¢+ÕéŒûòBÅ`e{ÐÁkT®gË=·ù?‚ÚoÜzãNK?V6YŸØ› vÛØÙ;‡Í° Ÿ„­K»™ç½6HR“¹8*1°j«ä‘O7K[Vd‹"OõnÁ“lï®NS…áxÞ½/ wV¶‡wWG¿‚– ^Åžôþ+¶s0ìÀöC¯Š$°ÞOÉ{©O˜/ž§·CWæšBròx5ŒÇyuö'`£¹LGþ0—®,ž;óê ’ +·îEa#t5­ÄžÛëÅÞ“-7fiO[?ÆÜNÀ cdñLJªN¸óâÈF ×R²mðû¼/V‡§Bþ”HÆ¥&Œ©gG2ì ˆÛ|ÄóAÜW0ÈñÎuä„«ÁÊö€+È´d{p…­–e&µåÚDØ”ÓF‰)LJˆM#“ØÙ ©ÉÛWÓ+äio›ØÔfîÄõÏÔ¼·è$ņŽ"6Iüñ`©ô«C›w€|”\™W¼ŽWÚïÈèkƒ•Å³iÌ]‡íá¥,/R“t˜<ÿ +=ËØñ“–…!=Ÿ».ÌB:´ þx°`U¼Æ« wä3àáÊ⃭u›½°'- „£Ë¬³Ø=ëö´™åØ¢0ß.Ùü¼kUÿíÞº6“‚0ÎGsínFÛ2H“T >s ¥HI-†‚ŸÜ~ … T4]|ÈÌÕxŦŽüè2XÙè´WKÝs×iûÇ·È“õé‡çpë·“¿>ž9¢SÞ^éy«ÓÛFè]þê uoò! +?-FÑ€0*þQ^£cã!T´_ŽWÚÛ? Ÿ«Š‡'`zK~ÇA§y÷¸ò³âÒ}xúÏJÄn5F¡íÁ¿\”Ð&.öý ÿ\Ah™ +endstream +endobj +3296 0 obj << +/Type /Page +/Contents 3297 0 R +/Resources 3295 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3140 0 R +>> endobj +3298 0 obj << +/D [3296 0 R /XYZ -11.232 900.716 null] +>> endobj +3299 0 obj << +/D [3296 0 R /XYZ 56.693 742.016 null] +>> endobj +3300 0 obj << +/D [3296 0 R /XYZ 65.161 742.7 null] +>> endobj +3301 0 obj << +/D [3296 0 R /XYZ 56.693 695.998 null] +>> endobj +3302 0 obj << +/D [3296 0 R /XYZ 65.161 696.682 null] +>> endobj +290 0 obj << +/D [3296 0 R /XYZ 56.693 659.916 null] +>> endobj +3303 0 obj << +/D [3296 0 R /XYZ 56.693 632.631 null] +>> endobj +3304 0 obj << +/D [3296 0 R /XYZ 56.693 586.966 null] +>> endobj +3305 0 obj << +/D [3296 0 R /XYZ 65.161 587.649 null] +>> endobj +3306 0 obj << +/D [3296 0 R /XYZ 65.161 576.691 null] +>> endobj +3307 0 obj << +/D [3296 0 R /XYZ 56.693 531.231 null] +>> endobj +3308 0 obj << +/D [3296 0 R /XYZ 65.161 530.673 null] +>> endobj +294 0 obj << +/D [3296 0 R /XYZ 56.693 493.907 null] +>> endobj +3309 0 obj << +/D [3296 0 R /XYZ 56.693 466.622 null] +>> endobj +3310 0 obj << +/D [3296 0 R /XYZ 56.693 420.957 null] +>> endobj +3311 0 obj << +/D [3296 0 R /XYZ 65.161 421.64 null] +>> endobj +3312 0 obj << +/D [3296 0 R /XYZ 56.693 363.98 null] +>> endobj +3313 0 obj << +/D [3296 0 R /XYZ 65.161 364.664 null] +>> endobj +3314 0 obj << +/D [3296 0 R /XYZ 56.693 296.044 null] +>> endobj +3315 0 obj << +/D [3296 0 R /XYZ 65.161 296.728 null] +>> endobj +3316 0 obj << +/D [3296 0 R /XYZ 56.693 250.027 null] +>> endobj +3317 0 obj << +/D [3296 0 R /XYZ 65.161 250.71 null] +>> endobj +3318 0 obj << +/D [3296 0 R /XYZ 56.693 193.05 null] +>> endobj +3319 0 obj << +/D [3296 0 R /XYZ 65.161 193.733 null] +>> endobj +3320 0 obj << +/D [3296 0 R /XYZ 56.693 147.032 null] +>> endobj +3321 0 obj << +/D [3296 0 R /XYZ 65.161 147.715 null] +>> endobj +3322 0 obj << +/D [3296 0 R /XYZ 56.693 101.014 null] +>> endobj +3323 0 obj << +/D [3296 0 R /XYZ 65.161 101.698 null] +>> endobj +3295 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3326 0 obj << +/Length 2501 +/Filter /FlateDecode +>> +stream +xÚÍ\[oÛF~÷¯ °µÕx®¼´»Án³ëݶÉ&6@R5²ˆP†¤â8¿~o¶DIö“údZ9žï;—9#êÜ8Ôùñì‡ë³Ë+E€.wë¥ãrâzŽÏžs½pÞŸ¿Ñ‰ }1㊞ÿfJ]4—K“7媽ù/ý`ÌÇæŸwo¹øýúg˜fÆ ”j¤½-ï]¬´.‹ê6ÌÎfwE5»t=âqß™)xíüž~ÙüanP}ñìß×gŸÎˆ§s”KÜ@8^ÀˆK¹­ÏÞÿN܈ |綹v£„ ®çíÙÏh»ôèŠt²e@u>p®j-º¯]^Áú9dõŸHׇõàÿè¸\]Ì\JϯÂUr“ëô»‹ãðÿÂDsX1ò¥H¾oFÌãô²Ètt©³Íü\‡I5àê#’Ïûƒ–1,æ¥ÉפC)#_še Ô–:Òˆ‚ËV¡0`ôþŠ5WõÁ»ªªúóãî*ƒm0;ž€•²ZåêsEáI×á$ð'×Îr{Yw¤þtîæ«n‚F0«F•¯sY_¾‚UóàuafØ69—<AÙZ`~ã4oZܱ§NqÁˆôDóÿ¹Xì˜à¾ç}m-,QƒÃyQæaTîŒnïÍ^´Ÿùî«×W¸IQOüùwG%Ÿ/tåqVÆ&ÅI_‡Y§7ÈçM‘«¼×PÖ‘×y)Þ[àAÊ‘¿ÇiŠrÂ}ù šzcæ:/‚y[†w¥9DSHŽpNçÓq„ë3"ÀiLÅ=ùÃ8b¸²xŽp}IÜÖÙ¾\é‰û ®,,£nh±™¯ã²ÔH€Íïpã6…Α5HÀ2©É–ÄU9çþðÙñáaÔ¶,óx¾)µ%¹DBTN‡˜]ù3XY Äx¨“7ÁÚŒ• ‹ Ž+ Òj!Ü^ë´ï€Ï –y!„–LÒç¸REù¸¡qã.楩â`ì£ ÐC² Dù|:íÊ¡ÁÊZ@ˆ»ÄwƒûÀ´~uä#ôg6e¶)±<ŒÑ€Þ±µ'dÄX§‘Ží×rýiѨ-ÿsJT NI *ðØïISæ6SFR†òa˜?e(Ï% n*ÊèÉFÕÅS†ò)¡²­ñ¼Lt˜ŽŸ³åúf“„yü-ºªe¡ÞèTç!ž†Ì7. ׺ÈÂË.©ü7t‰@úy<¼ oÏü{ùÎòï~ºþõ—‘_··—-å/IÛQþÖ(›¯í˜–?Àš}ÊGL_Ý>v¿¿ùÝ9A+õü“<Š1ò».èê·^£‰ +Ð9d•r•wYíÍTÑãñÇ*DeœyÌͼhê-#ã83qZ¢©Ï`£/4Gq’ÜYòBœF&Ïu„Ô%ú;„øfc +À+I|ÉO øÝ9Gü$²îx +` ðV>a<èÞŒbè…gÄW§ _9h/ÇOk·÷wà^Q@Q<¾Å“ëe”„EA¾¬±%XÅ@;oÊЖú„² CÛ]ùCÛÁÊZ„¶ŒAï·O×æ3’0CdÌÉžÖ—‡|áߎ;¬ÏØ/žbì"^è‰'Aû¼(öÀ:\ _Ó~ìêVUÝ„3cu¤Y¿ù¿› ÌÎs­‘qú9Lâ…¥«Ä+Œµºl–¦Àò‚’¥¥S3ÿOAÓóÄD?mL©³\[p5"„)w:®–.#,ð&ãêžüa\=\YÁ‡ß\¾8DÎi(‚ûDp6CÞ•?Ð!VÖÂ!‹ªU»ÍÚ,\º¨ŽÆadêà-Ç:™½àôx‚n@,2>žçæ¶Ðy1n·Þ:NÏm$’\!ød©<¯ë *ØÎå… ºßvÁ|}a´­fü¤“¬=?°] ÎŒK"ºþÇëîdÂÒ$‰¹à +^ZýQ´ +Ó›î,Ã*¼àÓ\0uÞ~c®uÚ\Õe–æ ƒy8ðÐðƒØš›ù’xžÛ1Ī\'«ÃZBÜ+Ø}ü_oaÔr‹BÞ™ +À3‡¡—á&) Xs¢I¾ƒ²(2óŠ„ÄtŒÌ© 9ätݱ=ùÃy¸²xFæ4 J–ŒÜ¾l$}ëϲh‚ûGmbƒŽ% íŠÅW¤×aþqƒmÍ©ôl2æTùôþ@®›ünò¸üÚÐÉÏ:L‹:©úh«U+H„f…Í–«OhLØ^ÀT@¤œ®½ ' WO' ÈëŒÁbË +Ý]p‹= +.U—Úº Ö™Ýü{ îåMwž¿' J+k¿m\Øs%ƒYš2vãþ°%[¤XŒ)â²é«÷ä4‡É”mƒV?é0Ýïáôä\ŒÁÊZ`’Î@Š®ºlÅñ:kÎâ£a +W¯^ +Z`%Ž;¨w–4ÿ21膢«7‡Ôù ó.€ë° ÃqÝÓþÜO<%Æ­²~ó¸ª%qQˆ˜×$ËM£ãírk;Ç¡Ÿ!ƒ¸†ºÁs~…ìÿ9ÁÈ> +endstream +endobj +3325 0 obj << +/Type /Page +/Contents 3326 0 R +/Resources 3324 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3354 0 R +>> endobj +3327 0 obj << +/D [3325 0 R /XYZ -16.307 900.716 null] +>> endobj +3328 0 obj << +/D [3325 0 R /XYZ 56.693 741.748 null] +>> endobj +3329 0 obj << +/D [3325 0 R /XYZ 65.161 742.432 null] +>> endobj +3330 0 obj << +/D [3325 0 R /XYZ 56.693 694.926 null] +>> endobj +3331 0 obj << +/D [3325 0 R /XYZ 65.161 695.609 null] +>> endobj +3332 0 obj << +/D [3325 0 R /XYZ 65.161 684.65 null] +>> endobj +3333 0 obj << +/D [3325 0 R /XYZ 56.693 637.145 null] +>> endobj +3334 0 obj << +/D [3325 0 R /XYZ 65.161 637.828 null] +>> endobj +3335 0 obj << +/D [3325 0 R /XYZ 56.693 590.323 null] +>> endobj +3336 0 obj << +/D [3325 0 R /XYZ 65.161 591.006 null] +>> endobj +3337 0 obj << +/D [3325 0 R /XYZ 56.693 521.583 null] +>> endobj +3338 0 obj << +/D [3325 0 R /XYZ 65.161 522.266 null] +>> endobj +3339 0 obj << +/D [3325 0 R /XYZ 56.693 474.76 null] +>> endobj +3340 0 obj << +/D [3325 0 R /XYZ 65.161 475.444 null] +>> endobj +298 0 obj << +/D [3325 0 R /XYZ 56.693 405.418 null] +>> endobj +3341 0 obj << +/D [3325 0 R /XYZ 56.693 377.865 null] +>> endobj +3342 0 obj << +/D [3325 0 R /XYZ 56.693 330.859 null] +>> endobj +3343 0 obj << +/D [3325 0 R /XYZ 65.161 331.543 null] +>> endobj +302 0 obj << +/D [3325 0 R /XYZ 56.693 294.393 null] +>> endobj +3344 0 obj << +/D [3325 0 R /XYZ 56.693 266.841 null] +>> endobj +3345 0 obj << +/D [3325 0 R /XYZ 56.693 219.835 null] +>> endobj +3346 0 obj << +/D [3325 0 R /XYZ 65.161 220.518 null] +>> endobj +3347 0 obj << +/D [3325 0 R /XYZ 56.693 173.013 null] +>> endobj +3348 0 obj << +/D [3325 0 R /XYZ 65.161 173.696 null] +>> endobj +3349 0 obj << +/D [3325 0 R /XYZ 65.161 162.737 null] +>> endobj +3350 0 obj << +/D [3325 0 R /XYZ 65.161 151.778 null] +>> endobj +3351 0 obj << +/D [3325 0 R /XYZ 65.161 140.819 null] +>> endobj +3352 0 obj << +/D [3325 0 R /XYZ 65.161 129.86 null] +>> endobj +3353 0 obj << +/D [3325 0 R /XYZ 65.161 118.901 null] +>> endobj +3324 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3357 0 obj << +/Length 2103 +/Filter /FlateDecode +>> +stream +xÚÍ\[oë6~ϯ°M€Í”¤HJì¾ì¶Û-ºE{’ +œö±i[{dÉG¢sé¯ßÑ%'ÇJœŒLËèC`Ù¢‡#r¾ontX´ŒXôýÙ××g_~§XdÀh¡£ëE¤è$Jy q]Ï£÷çï\îlí..…bç?—ÞÕÝ墬º ¿êoþ»œ}]–º7¿]ýtñÇõ8Í%ç`”ê¤]ù‡ÜÕ+ç|ÝÜÆÙy”âì:nf—:D¤Ñ¥“ôó'&éù—Ý ×¦ùâÙ·×gÏ8Šg”mâ(14Ñl}öþÍñ*Ò¤Ñ];r)Î@įóèêì×3Ö¯C›ËæåûÏ$ãzðDD‰4À™n$7Ÿ+†zJ 0©‰*-öŠ¢N§Àeò8A'˜7£Cå+àšå+Æ!Ñ)i†Ï—Yƒæʶ«eÔ]¼ë-·°µÙZb¯¸ä ãÞzþ5Ÿ·›¿_NôþR3v^¸;ÚÀ[[eö&wyVûoàlÐðü«çÞUëÃ7U¹q•Ï\MÓÊ—´qˆÁµõD™¨r=Ôùï{un¿ƒJï +ßÙÍ>Ú±H€§étv¼+?ÐŽƒ•aÇ1Q¢;;®ÜÇ­{fpí’ÿí¢}áF§ +Y¸BXv ܘ~ÚóúÜE<’-.½H{`þ.„ÚyšÁ"¤ q—XïQÊC÷œWÞ>ø²øêâ’ |ûÑs s·°ÛÜçöÆåp¿Î‰‹ ‘þc!¦#i2ˆñ¦2îü0ãW–nÜ:A£'GÒþ®<2›·æ3‚—?74ª¿È·T¯‰çWT/¶k„Ž#®oíf>+‹z$…km@25•ïÊ´ò`eGXy‚Á±•£¥M±g­_x¾iû†ÏlAxãhãæeÅr›aŒ>§#©cï+ë³zñ,ÊyÛâú©§³¸]ù¬ì‹Ó¨iw÷³~[÷ñÝ+W±aRQc ­H•œ2¶Ð±%ããÆY1w÷gŇ| =;Ž‰/j•N^`¢¬Ÿ»òa¬ìp †™n‡¿YÙbIe³Î¿”tõŸò×3$j¦†iÚlEº±µ§’úÊÞfeµ‡§ß6h–‚Fz9!²Uª áéq‘íîëŠrîÔì­Íò&§m• ZjÂúŽÒ3]}g ? ÛáÊÒ±­t +ì1ü¡.së5lΨåwïÉÚÀßlN½¶KÚÀÊ-m5Çè‹6¼±ú!ò¿ÚŸë4ø¿Ü?‘DSãÜe!¥bHãéJFùÐVv4T\ô%£´íȈÛFÅŽ»uDH,²{j–“‡¢ìíšåÿ¶T÷‰ +wMW® +@ƒTž´‚§D&V±([qÔ*™°Š×Hd|º*Þ@~ ß+;‚oPnÌÆVñ6¶²ëã¶5feá«’X‘»[9¿¢rÕg·VL$HÔõ6´EÅaKõ&l¤ÑÀÔtU»ü0«W–nÕÒˆåcÕnT唸U™Ï‰!+5ºôäÊ1qâMåfYMœ—3Kürq ®o›4æŠÌLWÈ4é`eG˜tšBœöå±–ª^éG–_ÙIë{RàæÈõ½e^ÖuËÆÐtó!ón O÷!ˆ”D<]"ãD2]¡o ?аƒ•aØ’ƒR}¡ïgj×Ïz_e7[jÝàÙQðjÀ“é7ÿiåÚÔ1ÐŽˆô¤>ÉÄÚÚë²(ë9ÀlôÓ#Â]6÷«1Àfä”ǸbÃANxŒk ? ÙáÊÒ‘ Éc®IFv›[8ïŽ6ÕÛͦ¬ˆ$ðÏÖȈ±PA ÇÊ%>YÞ5[©© µí?«œ+¥Œc ÖåK1Úˆ’òÊøÝV™ÿ³ãŒ-ê'ÎXeËUŽêr[ÍÆtb… +¥|BšôS„q|šØ•HÁÊŽ  ™€é+ÿÝÌ­§VÉè¨\Y-m‘ýI•Lαæ‘—mžeNcÀ‡ñŽåIÁÇSHÄqÝõÆ.¬mµÌ +(1.«ìý㢧ô§{YQt÷¨ËÃP×°“¯ãR”h¦kE ä‡á2\Ù¸DMYªG–göÖQ¶Ù´bWàÛ_ŽÜy»[9¢ç¾C3tÙ¯7ÒÖþ[pK¦j¼Ú žlxmpîþPúä¥ì¤= ÌL!5GîaØÊg³ÜÝl\1Ïî¡-ñ j =ŸõÍ6öñM9€Ú£$h +4…ï~í‚š>©#S +/{…~gŒ£œ}ºâÝqñ5OXµ +ï$ÓõMòÉ1XY:9 +%Wïñ¤¶_ŒÝ£½=GkŒ#'FUoÏò"7ûQÜ3µFNqœÌð´> endobj +3358 0 obj << +/D [3356 0 R /XYZ -11.232 900.716 null] +>> endobj +3359 0 obj << +/D [3356 0 R /XYZ 56.693 759.068 null] +>> endobj +3360 0 obj << +/D [3356 0 R /XYZ 65.161 752.393 null] +>> endobj +3361 0 obj << +/D [3356 0 R /XYZ 65.161 741.435 null] +>> endobj +3362 0 obj << +/D [3356 0 R /XYZ 56.693 693.927 null] +>> endobj +3363 0 obj << +/D [3356 0 R /XYZ 65.161 694.61 null] +>> endobj +3364 0 obj << +/D [3356 0 R /XYZ 65.161 683.651 null] +>> endobj +3365 0 obj << +/D [3356 0 R /XYZ 65.161 672.692 null] +>> endobj +3366 0 obj << +/D [3356 0 R /XYZ 56.693 625.185 null] +>> endobj +3367 0 obj << +/D [3356 0 R /XYZ 65.161 625.868 null] +>> endobj +3368 0 obj << +/D [3356 0 R /XYZ 56.693 578.36 null] +>> endobj +3369 0 obj << +/D [3356 0 R /XYZ 65.161 579.044 null] +>> endobj +3370 0 obj << +/D [3356 0 R /XYZ 65.161 568.085 null] +>> endobj +3371 0 obj << +/D [3356 0 R /XYZ 56.693 520.577 null] +>> endobj +3372 0 obj << +/D [3356 0 R /XYZ 65.161 521.26 null] +>> endobj +3373 0 obj << +/D [3356 0 R /XYZ 65.161 510.301 null] +>> endobj +3374 0 obj << +/D [3356 0 R /XYZ 65.161 499.342 null] +>> endobj +3375 0 obj << +/D [3356 0 R /XYZ 56.693 451.835 null] +>> endobj +3376 0 obj << +/D [3356 0 R /XYZ 65.161 452.518 null] +>> endobj +3377 0 obj << +/D [3356 0 R /XYZ 56.693 405.01 null] +>> endobj +3378 0 obj << +/D [3356 0 R /XYZ 65.161 405.694 null] +>> endobj +3379 0 obj << +/D [3356 0 R /XYZ 56.693 358.186 null] +>> endobj +3380 0 obj << +/D [3356 0 R /XYZ 65.161 358.869 null] +>> endobj +3381 0 obj << +/D [3356 0 R /XYZ 56.693 311.361 null] +>> endobj +3382 0 obj << +/D [3356 0 R /XYZ 65.161 312.045 null] +>> endobj +3383 0 obj << +/D [3356 0 R /XYZ 56.693 264.537 null] +>> endobj +3384 0 obj << +/D [3356 0 R /XYZ 65.161 265.22 null] +>> endobj +3385 0 obj << +/D [3356 0 R /XYZ 65.161 254.261 null] +>> endobj +3386 0 obj << +/D [3356 0 R /XYZ 56.693 206.754 null] +>> endobj +3387 0 obj << +/D [3356 0 R /XYZ 65.161 207.437 null] +>> endobj +3388 0 obj << +/D [3356 0 R /XYZ 56.693 159.929 null] +>> endobj +3389 0 obj << +/D [3356 0 R /XYZ 65.161 160.613 null] +>> endobj +3390 0 obj << +/D [3356 0 R /XYZ 56.693 113.105 null] +>> endobj +3391 0 obj << +/D [3356 0 R /XYZ 65.161 113.788 null] +>> endobj +3355 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3394 0 obj << +/Length 1304 +/Filter /FlateDecode +>> +stream +xÚíYKsÛ6¾ëW`¦é o½9'®“´S[‡Ì89Ð$±¦H—¤l¹¿¾Ë—-Ò’ ›R2îô ák±X,v¿oW hŽúØ{7î>H‚ 6Š)4ž!Å°ÒÈ£sÆStÑ?³¡õS;2Iú¿Ç™MËÛYœ”7Ù¢úø>ž¼‹ã«òáëùçÁ÷ñ)L3¤)KmçÙ]hÓ…µYš†Ù)ò`vÅóÙ…ÒX3 %6ºš_sP¨½þ¨¼Peò½ãqïïõQ$V†#m(V„¡É²wñ )|°0º-$—HR‚Wp¢óÞŸ=Ry‚4<ˆii +—ÔÊ…Á”¨Ê(\ZQCCJéŸóE¿,ˆæÕú6½ Î`sUiמ›Åa˜ìßæãŠW“…Ík_/ü#ý›•ýjÄ¥µQy·ô§Õ»,~Øbn°úanê ¬u¾òbîÅÓ–j£µð$®çHƒhb[ûN1Hóò>)£7½Ÿ`“Îo°!¼Ôú1Ù+,.¢Aä6xX(¯6á4H®üÁP“?Å©½úu0¤ ÎŽÞ9.Õ@˜åšòËÇf€@XSÍò<ìi™Hþ^7¡ÃÆ3(±h¶ mÛß>ž@CdPUOP*¦¹tWýSEÛú%߃\fØÌ… 3{0¶P˜ÌQysV¥OckÃ=Šå^þMÂUÄQc÷kƒ¬Ê÷;ž¹ÉµCúùE\;IÞú©›`,¯Ã`Øi úuNìøGÞ9ú#r4L‰“ÌQÖq}Q|ë(h'6Mýän‡žOV@Ãt—dÝq}L{Æ+É0¡¯§O6È%<}ðá<±ÑëJ€‡(N11ìpÕÔß :û€âÀaÚ”»y4:c:ã“Ïn²‰õ§ËVò>̃ƒÿÐ< àÏì7&ñrGx†Ž¹ „"D.$”DLéƒ%CK·dèn¬{2HOcY—ìGaf“ÈÏIÇÏ2»¼Î\…YÕ¬+=yuñ(a!£Ü·ëmcžÎùñkkŒç?/–´w°ŒßÖÞH!°`uÏ€³µ¿…ÏýuY¹íhnäÏonc†ƒaޮ찭=½¿öFP,¡…}}{óÅ_%AöO‰œ§ÖÒø8Ód2ðE·~˜.FÅšFc»Îð_þ列ˆj¯<’àBÔ$µ•aÏ4«Y9HTV>|#„­ ®¾¦ñ²&ãœWóê}mcGö˜‹ÓW ¯ØðÜnåm…½íƒ£‡ÿ®[+¢0ˆ@•Q º? Î} ëçÿˆÏ«ÔŸÛÚê4KV“,ˆ£·8¹¹CÊáAP4äà5Zýi^±ìgm}¢TÙvt XA”yÍÉõ¿¹*ûH +endstream +endobj +3393 0 obj << +/Type /Page +/Contents 3394 0 R +/Resources 3392 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3354 0 R +>> endobj +3395 0 obj << +/D [3393 0 R /XYZ -16.307 900.716 null] +>> endobj +306 0 obj << +/D [3393 0 R /XYZ 56.693 759.068 null] +>> endobj +3396 0 obj << +/D [3393 0 R /XYZ 56.693 738.489 null] +>> endobj +3397 0 obj << +/D [3393 0 R /XYZ 56.693 692.721 null] +>> endobj +3398 0 obj << +/D [3393 0 R /XYZ 65.161 692.163 null] +>> endobj +3399 0 obj << +/D [3393 0 R /XYZ 56.693 644.655 null] +>> endobj +3400 0 obj << +/D [3393 0 R /XYZ 65.161 645.338 null] +>> endobj +3401 0 obj << +/D [3393 0 R /XYZ 56.693 597.83 null] +>> endobj +3402 0 obj << +/D [3393 0 R /XYZ 65.161 598.514 null] +>> endobj +310 0 obj << +/D [3393 0 R /XYZ 56.693 561.363 null] +>> endobj +3403 0 obj << +/D [3393 0 R /XYZ 56.693 533.81 null] +>> endobj +3404 0 obj << +/D [3393 0 R /XYZ 56.693 486.8 null] +>> endobj +3405 0 obj << +/D [3393 0 R /XYZ 65.161 487.484 null] +>> endobj +3406 0 obj << +/D [3393 0 R /XYZ 65.161 476.525 null] +>> endobj +314 0 obj << +/D [3393 0 R /XYZ 56.693 439.374 null] +>> endobj +3407 0 obj << +/D [3393 0 R /XYZ 56.693 411.821 null] +>> endobj +3408 0 obj << +/D [3393 0 R /XYZ 56.693 364.811 null] +>> endobj +3409 0 obj << +/D [3393 0 R /XYZ 65.161 365.495 null] +>> endobj +3410 0 obj << +/D [3393 0 R /XYZ 65.161 354.536 null] +>> endobj +318 0 obj << +/D [3393 0 R /XYZ 56.693 316.313 null] +>> endobj +3411 0 obj << +/D [3393 0 R /XYZ 56.693 280.149 null] +>> endobj +322 0 obj << +/D [3393 0 R /XYZ 56.693 231.321 null] +>> endobj +3412 0 obj << +/D [3393 0 R /XYZ 56.693 194.324 null] +>> endobj +3392 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3415 0 obj << +/Length 2298 +/Filter /FlateDecode +>> +stream +xÚÅYYsÛ¶~÷¯àL_¤™ +!¸3}i&i›ä^ßHs§3I ’0& •c+¿¾EJ´+×íôE$±œ gùä{[Ï÷Þ^]¯®^¼‰}/Gy$Þjã%JR/Ã! +SoUzŸfiE‰ óEû³ÿpI…yÝðÖ¼Èü‘לߚ_—ïç¿­~6 ŒQdžÚR**v”J¡¦;ö2àž„Š{”¤( 2o£<µüÓ¦Ùì…yà$W¯^¯®~¿Â@Þ÷°'(ÉC/Í1JüÀ+ê«O¿ù^ s ŠòÌ»Ó+k/Æ> +ÂÞ+oyõ¿+ßZÂY$ðp€rŒc%”#%(Ɖ +ûZ·Ëû´À¾ïl’j[½œ/Â(ša”F[‡öó ?Ž ÝÕŽYó¶C³³¦¨ºÒYžÕ{ÞJÒHó¹žþ¬ÛšÏ¾ÜÏqû±ÿ•¶Ü|•t3w&]%aƒw'~>ûYšÙ†7 µö[øL#ø4âS~o¸··ÝÞðPÅPÑzMò)OU³siKä@ì©H×ÖøVY5s‡œh¶êI¨gUQ!Ì1•.q5·t_æi½-Ýp!—EËöÒLƒ™÷`êÓE²ÚÍ…%¯¤Õ/{WÒÙú0b2X´Xí-^$rLJQ¢ »ôRðza’‚Ù¡VÊŸ§¨ªÉ‰Çý P¯ã€^}xÿì@žÈ·Q†pÔËu×2•1NIçJlô£Ì-v1&¨e1®Ì%k©®,ÇÀŸàŸÇ(ëÓ=”Õ('™àû `/è0› uÇÀ¥ÝsóxÅZ Ø,M¦ã4ITQ>M©É÷4Ô€IE•=ì6ß`Ç®¢*ó0]×Ü. ²[“V {QÙ)eJµ~MͳŽ¹Î¿êÅ:».Ýê[SS À­t‘¡Þï˜Ü™·Å(^-´î«Ã" BgÏ0ˆ´=ÕÔ¼«Ìó}kôe*Û† ÉVå³ÀdÈAq躦†T=Ç3dñ¬«àÕŽ\-^Ѷ¢ w–—È]’ÖJ£ÕìÅÔ‰å(œ²âT.’p&‘gؼàPN˜CªàLù'©œËlYqRõFV>ƒKj=ìÍGKóìãg§Åîœá<ÇñêŒ=&zÓ­/Ž{»çW>éj³-²|XdûöÑž2ù¡äk×j²-“Î>¯¹úî†4·b²ÚîFW]åÜVžbÃwâ8GúÀZ@ÒÀ¼¬ ŒÅÁ@9˜ª¹.-0¬CF) +6g·aš™ê‹]5ÌÄ®ÀhqÎúؘÀ|o˜ÐV€§S_oodË Ô·œ°)?0ùž}%fäGRæI‰Õ4U»·÷}=þ!K¥(¢R)à?…sö؇ˆ'qŽgpš"Fÿ¸°Ý’ªá:“X£$¹Pæ‡Ï+ŒPŒÏëFG 4E§½×XNØYÇ5ì¶&®âEY¯ï ½ì Ø·p0sŽÖHž!ÜF÷u5!C–¡8I'D¸}[§°tþµË™äºœÑ»^UÐï9øYB»5} ú'Ûaç.Kà];éÍãcèöÛ–œŸÄ0Äž}]₃ߤÑøªwõÈͲ»Ø¶‘\1ÇÜñ²WË=Š“~±RwCɽ 'êKwt~Õ^ƹ»¸C”¦¹»ä7Wög×üo—½ÓWúü l2Rù2EÝ¡*-]&øtü½OoWï'BF aožeGP +Æcgøñ‰¹GY;CQÒ÷ìØ‚V + ËÚ´o Xz E÷µÀw­ó‹ÛƒJIß™È-Ý0S›® /õx;þ‡( N/ÏP¢ÿR£±¯ÊFâ(Ïr¯¥Þfø‡ÐˆÖôèù,…Ú‚}C«ÅÏ%# tÇäc,x ƒá_e ʃüù¢jzíÖ3/í_g£¶bç°5²1Õл‘Oœ“ SûŽµú¯Ÿ‹ÛK•‹ÖêÔ}ÑÊŸ«—-½&·¬å_Æ‹ÿÔ!X“ôYîøÀóìŸÑÈG>€ž¿ðÇè.=¼ÿ +endstream +endobj +3414 0 obj << +/Type /Page +/Contents 3415 0 R +/Resources 3413 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3354 0 R +>> endobj +3416 0 obj << +/D [3414 0 R /XYZ -11.232 900.716 null] +>> endobj +326 0 obj << +/D [3414 0 R /XYZ 56.693 759.068 null] +>> endobj +3417 0 obj << +/D [3414 0 R /XYZ 56.693 731.272 null] +>> endobj +330 0 obj << +/D [3414 0 R /XYZ 56.693 176.268 null] +>> endobj +3418 0 obj << +/D [3414 0 R /XYZ 56.693 147.941 null] +>> endobj +3419 0 obj << +/D [3414 0 R /XYZ 56.693 101.224 null] +>> endobj +3420 0 obj << +/D [3414 0 R /XYZ 65.161 101.908 null] +>> endobj +3413 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F57 861 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3423 0 obj << +/Length 2522 +/Filter /FlateDecode +>> +stream +xÚÍ\_sÛ¸÷§à\jÏT$¾´Iš»Ismj»37“Üt +”8¦HIÙñ}ú.EÒ¶(QZ +¢ç^,ŠK`÷·aêÌêüxñîöâÍGAE”Ï}ç6r|NüÀ‘Ì%nàÜÎœ¯—×&1º0W.è忲Òõe”åõE¹h~ü…ï²ì®þòËÍç«_o?Á4ƈ¢¦vS>&¦XSÕÏ0;s$Ìî»Õ잀Kg"ˆ +šùyù¦þ`¾ª¼øÇíÅo ÈS‡9Â'¾r@1âSî„Ë‹¯¿Rg¿ÄSÒyØŒ\:‚QÂ]®çæâ?´Y Ú»"-mOFýš§oœ‹ íco>ÂÍ{xÕ3’x¾„6ƒÖë<.¿šø”^~2:-²ôíÕ„qøšd¡NÌ“’ïˤ¦kU­>~Ü~KØpà„’@¸Õ[V÷…5ó|‡%•“'zùZ[ÔößÝ€+(¯ &̪Ѷôa>ëÒ”‘– 3ÃË-÷‰âê Ìnæs§¾¸nd`k?[Æ]—PÉëmýûlff[Bà|ÝlñÍÍ.Ùê™ð.Í3››¥Ikxñøå+Ü'’ +èùìW˜ƒ1v‚|ÈÒ9¨|:¯Uà¾väÿ÷ÅÿÂ!*à+ * ÇS_E¥FS};°g¯>@,• 4ßÄËUGqGö‰þfçß/âÔ€)A .s@ÊD—q–vÕ«%¾ôˆd¯©$~µLì+qMM^6RêÇrÇH$÷•†üµÒÜ õî½U¹{¯Ìwï騾·1ÃðÚÏŒyR— kß(eÀ +£OW¬¾Bî¬Màh¯|OŽg¯:ô-•ÕšÙÊ +> UÏö +§xà­ÄÖ¥›ô›µe6C*õ¬žù^âeÞå£-2$Íõj•åHòx¾(¬C‡‰Ãƒ!ÙHt:_ë¹)NÆAú£!¯8j ©"²õá+§»ë*1 +¯öñßMðK!dàè50zÛÆQ–$Ù—•Xln… X›6"Yè+N/ﯘ¸lž˜“ÖWK=kîÁ&=…-5ô¹/æf`2‚Ào¡/ÊöðÇ<ây¢f-å"NCÓ‰‰*O ‡<ƒ²8ÖÚ#}Ô<Œä’¥E™¯Ã}ï·‡`6°ˆ¼NÃ~q1 YUTñÂÉ(ãQ"ùxÅ”}Kñ·fv€ø{Þsµà}’Xû;]Ï÷™‹?1éJ vcÜ€È×E& óNª¢ÇáB›ä´\Â_Ö”J–q¹h­@œBØn^X‚•Îõ’|0Ó­`ç±+D«êòˆµ WA„íŽW»èÐ·Ó {fè…â|°iÀ£s% +Hßp©ãŸa¹¬†ïÖ<`R=M°oˆ¶gurýø¸l]®Öå©èîJ‘@Œ'ÁÛô-%ØšY¼»ŠÁg“Ïÿ¢ËpÜß3Q¶bû”¹rªúÓjºž1À\&+o U)Z½jOŽË]ÀàøçwºFÞ=eZ/²ÏÍ\ÄóER5 éy#ÂuA÷F4ÔÛô-šÙHQu6¶…÷ÿ®æ¹FƒÅ(m'è¤a¢KS ‰Þ›¼è&ú=Bdq藛Ϸ?}Þ‡ œP¤Üs›ËÇëèзKkfw…0 Dx›>á¬)ÜL&G¿°íX]êün½:oZ»Æ74 !º?,.°UÉa9¸.§Ç¥R2Ø¡ñÊÓú–RiËl¿TJAx{vã˜TÆå¹7 ƒY:ÇŽRcÎî+ÆÑ#6íP.N×Ã8óu¾Û.Ýï ƉÁ×Ñ)ìOú^£seòòq¨^Vå#:^.¹CßR/m™í×ËÀ#\ù8½'¢A'ÚzÛWÿrNÒ0YÏТ÷ÅäÉÀ¾<– ¬º Û[®×S$v$ìÞ$سqm?2 ”ÍÖ»Ê|Ä?ÞˆþþŸ•d€MxR'4[XÛ05}fÆ@äxIŸ}Ku²fv€:k!g­Nëâì +s“š*wõ6‚‰¶Ž»í ý.MŒÍÎ<•xÐL`Ðk…*å´Š Ç«wè[J¹-³ý2 ñ—ËD{²éPôo¹¹«êI”èwwÓ‹v¯ödà·^Üb‹@{½?¥²¬Â€t~Óÿêu}.ËtQ‚Û¬óÙußѳ£‚^„ðÇKn“·skV`9¥Äm½dtðÒcÚ„[ËÕ¦qW‘œN°!Ï<ÏlÛlmÕ€˜Kú„±Ñä}‹º¸Û2Š—v©ˆ«štÉA¢ÓÇëý=oŒ2Á$= Ü]Q~îÍfJ1ÞK—0>FŸÌÎMƒ µÁž¡ÿ4íÿ6Ó×C +endstream +endobj +3422 0 obj << +/Type /Page +/Contents 3423 0 R +/Resources 3421 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3354 0 R +>> endobj +3424 0 obj << +/D [3422 0 R /XYZ -16.307 900.716 null] +>> endobj +3425 0 obj << +/D [3422 0 R /XYZ 56.693 744.03 null] +>> endobj +3426 0 obj << +/D [3422 0 R /XYZ 65.161 744.041 null] +>> endobj +3427 0 obj << +/D [3422 0 R /XYZ 56.693 701.362 null] +>> endobj +3428 0 obj << +/D [3422 0 R /XYZ 65.161 702.046 null] +>> endobj +3429 0 obj << +/D [3422 0 R /XYZ 56.693 659.368 null] +>> endobj +3430 0 obj << +/D [3422 0 R /XYZ 65.161 660.051 null] +>> endobj +334 0 obj << +/D [3422 0 R /XYZ 56.693 625.203 null] +>> endobj +3431 0 obj << +/D [3422 0 R /XYZ 56.693 599.26 null] +>> endobj +3432 0 obj << +/D [3422 0 R /XYZ 56.693 561.541 null] +>> endobj +3433 0 obj << +/D [3422 0 R /XYZ 65.161 560.983 null] +>> endobj +3434 0 obj << +/D [3422 0 R /XYZ 56.693 507.346 null] +>> endobj +3435 0 obj << +/D [3422 0 R /XYZ 65.161 508.029 null] +>> endobj +3436 0 obj << +/D [3422 0 R /XYZ 56.693 465.351 null] +>> endobj +3437 0 obj << +/D [3422 0 R /XYZ 65.161 466.034 null] +>> endobj +3438 0 obj << +/D [3422 0 R /XYZ 65.161 455.075 null] +>> endobj +3439 0 obj << +/D [3422 0 R /XYZ 56.693 412.397 null] +>> endobj +3440 0 obj << +/D [3422 0 R /XYZ 65.161 413.08 null] +>> endobj +3441 0 obj << +/D [3422 0 R /XYZ 65.161 402.122 null] +>> endobj +3442 0 obj << +/D [3422 0 R /XYZ 56.693 360.685 null] +>> endobj +3443 0 obj << +/D [3422 0 R /XYZ 65.161 360.127 null] +>> endobj +3444 0 obj << +/D [3422 0 R /XYZ 56.693 317.448 null] +>> endobj +3445 0 obj << +/D [3422 0 R /XYZ 65.161 318.132 null] +>> endobj +3446 0 obj << +/D [3422 0 R /XYZ 65.161 307.173 null] +>> endobj +3447 0 obj << +/D [3422 0 R /XYZ 65.161 296.214 null] +>> endobj +3448 0 obj << +/D [3422 0 R /XYZ 65.161 285.255 null] +>> endobj +338 0 obj << +/D [3422 0 R /XYZ 56.693 250.408 null] +>> endobj +3449 0 obj << +/D [3422 0 R /XYZ 56.693 224.464 null] +>> endobj +3450 0 obj << +/D [3422 0 R /XYZ 56.693 185.504 null] +>> endobj +3451 0 obj << +/D [3422 0 R /XYZ 65.161 186.187 null] +>> endobj +3452 0 obj << +/D [3422 0 R /XYZ 56.693 143.509 null] +>> endobj +3453 0 obj << +/D [3422 0 R /XYZ 65.161 144.192 null] +>> endobj +3454 0 obj << +/D [3422 0 R /XYZ 65.161 133.233 null] +>> endobj +3455 0 obj << +/D [3422 0 R /XYZ 65.161 122.274 null] +>> endobj +3456 0 obj << +/D [3422 0 R /XYZ 65.161 111.315 null] +>> endobj +3457 0 obj << +/D [3422 0 R /XYZ 65.161 100.357 null] +>> endobj +3421 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F52 815 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3460 0 obj << +/Length 2595 +/Filter /FlateDecode +>> +stream +xÚí]msÛ¸þî_Áé‡Vž©aH0×¹i2I®×Krnìvn&¹¹¡(Hbդ줿¾€H9&%JKƒ°ë›|‰ Zlû<»X,ì,ìüpòâêäü5ÇN€zÎÕÜñ(ò|G¹¾s5s>LÞËD†¥<=£OÞå•,ëÇy^ÔÕ²ùðe½ÈóOõ_~¹|súëÕßÕ4g„ €óZÚeõ%‘åRʪÔ«Ù‰#Ôìž«ggž|*œ3Ž¿™ß÷”@_LÎëâú‹'¯®NþsB”xì‡{È \Çò0u¢ôäïؙ©Ï”ˆ¹ٌLN0¢®§žçòä'¸±nY„:j˜ÏƒI¶ÂY€öj¥ÔÇl£Æö{·3‚1ž¼ ³UxJðdqªÞ˜Èí¿ò®•I(C®×ȺÚÚož'I~Jùä&Îõ[Ñ2Ì[‹/ÃSŠ'ק„OšoL¥Ìê§4œ5ïUù×eÙÌ­tÿ:7 ù¾þ÷oæNµº‹½ZrŒ\B¶£|+¿Œ³HvVž Ÿ!\?µ¿ ¶yΨ˾zPk‹ÝZêGJykÜFÛ?0­ƒ@Ì[ÞÆÊ2ùˆ9®Rõ'9=ó”Å/Ó¸Z>SÖ¦ê/³<š*DŸË¤–«GÄ#]ù«ÅPFƒÌp@ +h0‚²Å©Þ7ˆj­êVqAŬ^Ü‹uÕr„]9 +az¹·>>pƒ¦ ’@Ãñç¯òl`>‡[ÈLa%g°áE>ŸC-UÀÊ0ZÂFjRéðãä‘Ú¹o0mù†€1Uv¾"Hªq­"kÂæGâ²?4íó·öÊ73Wó¨ÈhÍÌmù†f6Vv/ñQÑçÕºXå%òq ¥ Þ>¯’8Š«ä P®LØÈçW]tþ±×»&WÀÙáŒS-G§ÛÆé™I9y¡¦r(ø˜Ê†ÜÀøÚò Ág¬ìð1\Ú¤þ«b'ˆœõ»éªÈ#Y–ÐøX-‹|½Æ³jšt5Ñy(Ñièw‡yy‡EfÀˆ/Ö””€HË׃#ˆ«’~‹¤%ÞÐ…MUàÁ®¯öv¢öàp]åiXÅQ˜tH\}øçÃŽ3…¦Äáj2‡‰G&ÿàßÑjžÌƒ‚ P“ýdÏki‚L¥Š·• ¾·2!/ÖÓÅþøŹګ!õÃ#"Q eRˆøIÆÕ².>¼—ÉBaïþõ®™ öꜺsk,ÝoÆÒƪÂYš+¯r݆¥/ +º±y +y®Éø»¼¨òlÜbÁóY>•ã’ìBãQ”_Ëbd†Ota ªJ q6º5_Æ‹¸ ++ÿjWqž•c §aÏ^Œi•ëÃæË–Ó8;/W2:×Ìÿ[!Õge©íñ›~ÓïêïÝŽ›Ç‰,ϯùÆÃÐç4é(WM˜áwÔa"@\=6 +}Ę(¾}"õŒ°™P– ÆÌ÷¥ö +Æùf”m®,œ³™¯Ö‘°ÁœåYUÄ*†n §ÀôðMüßÈ +!<å„KÃOФ·Iü€Ä ªRÁY.®§9t·º)rÇQwƒ‚o•žÏj"ÝÙeଜ‹zöªÍù†h3VvÚ<øöØv{´ÛÙXhÛs„ÿÔ¿},÷}å/ýãw]P½ùýáÕÏò¨Ó³’2OþšÄi æ•r½Z©\ï¾#Œ«šÅ‚KG¾¡«ZS¶1s‘ËìUP;ò aªl?J™Ê϶­g‡qR.óu==”s©2µƒpôMÍÁ?_¼† u<“#ŸœBÓ„ƒ4{äüO–ÀýÙ,֩̆–{ÃÈõtÓA|¤ÜÒ¦£ÞLÄå4Û·“Ø~ZøtO“8gÈþ¦CY› foÓáâÔ^™¨#ߌNÍ•…§An Ah½Š6þBêœ~j5úÉé,êIHöågŠ³*žïæhæšÆ•ZãÚ”xA#o  Ý",¦»-)›ô9Þüu9¶*E¼XV{ r+¸b{õŽ|C¨ZS¶1†Ï‡ímß:ò a¬ìÞò}$‚fû¦öÇP‚Éä ´Ù¤¬Êûne\ÏE³·•éÈ7\6SeûIÏàz£gïq%k(‰BŠ>MƒödcOÜÝB÷6N‘'ìí;ò ½ÍTÙ~oãwÚêÍÛ€IÀ—/Þ%ï?ß¿yW7Š÷öZuþX§2£ïÑSY…³° +‡â›)À¹öàÝoˆnCUûÁ­›ôˆx*à¾üîÇ1èÓ·‹‘ï{ènË7„·©²ýøÖ}BJÊ“À÷¶06.ÆÃß!p‡Yêé—ÔÕ3kàmË7¯©²ýà¥." ÝÇŠ£¡ èò>hä_£$,¡S5}"ßxëëKëP£¾~{¦Ápsò!îÞ_CL!·Üý8Q`göˆ¢-ß(Œ•Ôñ„¾/í)RRb yüÞ£æHxü!©PÒ9±ÖÞ=8Üt:6Ý@hP_@Ø;û£êS{屎|3ì™+ ¯¡Sõê’¦`öcº*òk ¦94>]¾úÊÌØoܯ”i¨‚ClJªŠuT¯“AУå:û=t€·(æëj½mã”Y¹.À½Œ»'°ÇÌ ²xFÕo/SU Kwˆñ¦bu͹’›ð ´‹Of³{Þ}4>ØÁSgÐFðÜK2n؇ÿìÃ/»zûf?ô´ùÈ{5¡Ž|CHYS¶1 áööØù†Æ0VvÁ¸1v¨yòìÀëÕª”Žû%ˆöv1ù†Kaªl¿á)AL> endobj +3461 0 obj << +/D [3459 0 R /XYZ -11.232 900.716 null] +>> endobj +342 0 obj << +/D [3459 0 R /XYZ 56.693 759.068 null] +>> endobj +3462 0 obj << +/D [3459 0 R /XYZ 56.693 738.489 null] +>> endobj +3463 0 obj << +/D [3459 0 R /XYZ 56.693 691.874 null] +>> endobj +3464 0 obj << +/D [3459 0 R /XYZ 65.161 692.163 null] +>> endobj +3465 0 obj << +/D [3459 0 R /XYZ 65.161 681.204 null] +>> endobj +3466 0 obj << +/D [3459 0 R /XYZ 65.161 670.245 null] +>> endobj +3467 0 obj << +/D [3459 0 R /XYZ 65.161 659.286 null] +>> endobj +3468 0 obj << +/D [3459 0 R /XYZ 65.161 648.327 null] +>> endobj +346 0 obj << +/D [3459 0 R /XYZ 56.693 611.177 null] +>> endobj +3469 0 obj << +/D [3459 0 R /XYZ 56.693 583.623 null] +>> endobj +3470 0 obj << +/D [3459 0 R /XYZ 56.693 536.614 null] +>> endobj +3471 0 obj << +/D [3459 0 R /XYZ 65.161 537.297 null] +>> endobj +3472 0 obj << +/D [3459 0 R /XYZ 56.693 489.789 null] +>> endobj +3473 0 obj << +/D [3459 0 R /XYZ 65.161 490.472 null] +>> endobj +3474 0 obj << +/D [3459 0 R /XYZ 65.161 479.514 null] +>> endobj +3475 0 obj << +/D [3459 0 R /XYZ 65.161 468.555 null] +>> endobj +3476 0 obj << +/D [3459 0 R /XYZ 65.161 457.596 null] +>> endobj +3477 0 obj << +/D [3459 0 R /XYZ 56.693 410.088 null] +>> endobj +3478 0 obj << +/D [3459 0 R /XYZ 65.161 410.771 null] +>> endobj +3479 0 obj << +/D [3459 0 R /XYZ 65.161 399.812 null] +>> endobj +3480 0 obj << +/D [3459 0 R /XYZ 65.161 388.854 null] +>> endobj +3481 0 obj << +/D [3459 0 R /XYZ 65.161 377.895 null] +>> endobj +3482 0 obj << +/D [3459 0 R /XYZ 65.161 366.936 null] +>> endobj +3483 0 obj << +/D [3459 0 R /XYZ 65.161 355.977 null] +>> endobj +3484 0 obj << +/D [3459 0 R /XYZ 65.161 345.018 null] +>> endobj +3485 0 obj << +/D [3459 0 R /XYZ 65.161 334.059 null] +>> endobj +3486 0 obj << +/D [3459 0 R /XYZ 56.693 275.592 null] +>> endobj +3487 0 obj << +/D [3459 0 R /XYZ 65.161 276.276 null] +>> endobj +3488 0 obj << +/D [3459 0 R /XYZ 65.161 265.317 null] +>> endobj +3489 0 obj << +/D [3459 0 R /XYZ 65.161 254.358 null] +>> endobj +3490 0 obj << +/D [3459 0 R /XYZ 65.161 243.399 null] +>> endobj +3491 0 obj << +/D [3459 0 R /XYZ 65.161 232.44 null] +>> endobj +3492 0 obj << +/D [3459 0 R /XYZ 65.161 221.481 null] +>> endobj +3493 0 obj << +/D [3459 0 R /XYZ 65.161 210.522 null] +>> endobj +3494 0 obj << +/D [3459 0 R /XYZ 65.161 199.563 null] +>> endobj +3495 0 obj << +/D [3459 0 R /XYZ 56.693 152.056 null] +>> endobj +3496 0 obj << +/D [3459 0 R /XYZ 65.161 152.739 null] +>> endobj +3497 0 obj << +/D [3459 0 R /XYZ 56.693 105.231 null] +>> endobj +3498 0 obj << +/D [3459 0 R /XYZ 65.161 105.915 null] +>> endobj +3458 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3501 0 obj << +/Length 2956 +/Filter /FlateDecode +>> +stream +xÚí\ÝÛ6ß¿BèCa5W¤HJÊ´×l.½\’˺¸Ò¢-z-D–IÎfû×ß IÙ’ÖÎÊÑ*éCâçp8ó›~y]çÆqg?Ì/.¯„ë„$”L:ó•#‘¾Px¾3·“7*UQ©¦3&ÜÉ˼R¥I®òÂ$ªµ­ü1_þçïLæ—ëÓßæ?Á03JI(„¡v]Ý¥ª\+U•X £S'€Ñ¥‡£séŸÎLзãû>ôƒÉ¥ùPbÇ‹§ó‹÷È»u„$2ô?¤DºÌYn.Þþæ:1Ô„‡s«[nA]Â< éÔ¹¾øÏ…k%áž”HM›‡„ºÒðô+cBsQw»¼‚&zû„Ë*t㩤ZOgÒu'WÑ:½)Töd:£ ò‹$»ŒU®¶»ÅßL,J“Åeœ/ LR4+Ê­Z^®à%è¡ú}¹++ò±L»M”‘m(<ñ $’–«_]—Ôݧ¨IéiÂpføyÖ5„ú Är¥ZÔX.\P—#a:…rVMÙ¶¨/½? ^=€!L±õPú‚PI»ô…K‰:ë3Bw’„,|f5ÁâÆ1‰7ˆ-PÕŒ{ DM¿ã$»iAñ>)ç­FG¹Ûnó¢ê×­»WÃ]©Ú-«™-¸ße‚ðLV‰ŠûQG€ç›ä¨Jò¬_—4ºSEÙ¯mÒ“fm£íÖ “àø#9ñ=í¦\IÜÀÿ"nʸ(û½Pм,AGåïXÚöZ§ÝÙènJ†>ñB>ž›’¨Ø£¹©ýanj8³ýÝ”=úŒï¦þq}=‚?«òŽ“ҥ䴣ºoî'IGŪŽ‘ÿö$ùÓ^†~Òܾ Ü—ãa¯M ö†2{i€f ›ðå¤}"ô,»rþÎx¢Ù§ú”å1ž=Ýãêù‹§Ý~;ꢃý¹Tý°vúðÞÛÞúà•©"ªú†ø_þ9ÿ÷‹®ÄH_œêgmúM`4f­0„G„ÆF›þ@aŒÆ¬gD„áxÂhÓ(ŒÁÌž˜¹ A½B¬·ìÝôä´ƒ{zþ:Xz°/çã©¢E~ &²zZì‡#vBz;8æê 7šìÚô +o(³§¥Ç<( +Šñf]¸ÎwiÜw¸LwqÏà=r@M“ìÝãîSï…ÒÓËr£ªè^—‡ñÆ°9w¼my‡þ@@ f¶?"ðúþþ$ˆ¨¢EßXÙ7Tj•gÃÅ#Œz_ò"˜ÃÐ'GöÞY^l¢4)+ÕïèËFe]ÄLW¬ééιà„ò_—p}èÐh¿ƒ™=Ã~¹$Ü·Šç\î}]Þª¢Ì³,ÚôÞ¡ÃöA•Ÿ{¡Ä¹KhøEŸlp’€#[j£0®â#‹¯¾¢”P6â‹ +k +*Ç{QÑ¡?Ð43{†iºž~dV¿¨øºv™ª›(Íò*YªÏµ5ªÍ÷ãÛšçKâ‡áȶv›ñ&eûàxFäó$ld\1žyy„ÎÇ»1ïÐf^Ùío^ž„½ŒÇÿ$+×¼¸9'æõ\ãîªu—‡‰k±æ­ÿ°RÏ#~@ÏJí«Óed—¨û£«<7Êz›´­‚†ìvô—ŒúaçxŽ‚žÙx¯G:ô:†ÁÌžá¨O8µ;©Ÿ·qÿ§M-Ø}v”„°OåxY:ôêe0³gèÅ…­Š°ç“÷Þw~êÐçÔ«—Oߟ@Lèùh=O{&DUU$‹]¥>ëëév7E¾ÛžéçYÈïD«M~ʳÚd,ú÷Cd«"ߌ³Uòñ‘×: ½ßå½a–TÝS³‡ÑÁŽ1öE/x˜Ý¾¿àñ^ð¼žz`hE´)ÿÜ7<ÛS×u›¨x~¹ÑžMÔf¡ôfÔږ*Z®MêðšÚ’ÈL¿m„ŠÁ¢rW·­ÖQeR¯ó²º^ɶ2­ÍMöb¶½:P=òcÍÙ|[î{p!¯y߸îñàrÀe°®þ½(§ÜrÉÁtÌ°ì6IS“ª_èLdÚe;’íúïʛKµQ¢[ŪLn2”%·ôð í´6Vlª'Žµïw°š¯îÚ¤ Z\Lgë!²PF3 KO_´%õ0üacot.} WSò«+\£È4`åú(ÓɪÚíaÔ Ù€–fæ[ƒgJ'qÝ×V¡ìK;ªOÖcYáÎŽÂJÜãèU‘s/¬•›b=:”š‰AA P±G#w[ø†* NŽš—–¼aš»†iS¶¸«›u@­ø„IÿaØz>‘boP¾ðÃɧ°‘œ|ÿæåó—Ïž˜çÆ«;3Îði¯´b²…6>™Ï'5õó ]‚s`>Â1©Ûœ +fÁ™ß™Tž™ïJEÕ®ÐaHwD¤b¹V&ôžö•liò:Á–„+ô„+Ó÷ìå϶M]‡°³ô2Ëã½!ÀójÏ­Må+óýf™FåQØ”ÉòŒPbòý·¾óoç&[5ƒ¬ùU9xì …ug m¥Ž˜ˆU‘`'ãÜ+›F/Aa°WFí +|ŽÂ0#d›žÆ +&, 0y—ïLbo4:g“f¬È(Jw<( +²{37]Йaja‰*Šë«È®`ò uì1ªuŒßò®¬Ô¦lÞ®mÿŒYÈCYC§˜Ýë3bð¸6™ÄÒO²²ŠRàý;ƒjëf &²-€äå‹$Û}lq‡vÁ¸Y*hâÖ4‘U=Li¤Ô‰#s×òñƒƒ|tÎ`=<ÈáPÔú€”Yþ@1ð2špòƒmûµ$s$¼á/ý©èßðÀÖíËè^ ÄPL^¾ÂÅÎüéS=¯¹n¬KôüV–ÿuM¨å ƒíop­-¸l‹22sRKãndËé2X‰ÔNëN«ŒÓÅ ++SY¯:¢¡aH8 {úРáCaÁ0yn9Ágiz,7_µçݲš™òË~›e9Ù•fa~àÙŸ\½2‹hù©ÊbrT¿øÕÌÍŸ¿>2* ÝÝ=±~>"aØ–ûÿ¦x¤§}¸Æe”µ%lŠÛº-]˜ÿ£á7=ž_{(¨6k$,ª£E±Ë²îäEgÇr$üQ@µ”ç†?Œu’Öìñ+“ÐQV³ð÷} ÙÚ¸ÔŠÔBÑ„m ˜hÊj]oœšŽ ?^™Ä^X¸Ëº³»œ½ šû ‡dÀ\Ðj >G0mɶñÊŒd'ÛÜ;û‡$à!\svîÿ#ù?ݯx +endstream +endobj +3500 0 obj << +/Type /Page +/Contents 3501 0 R +/Resources 3499 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3502 0 obj << +/D [3500 0 R /XYZ -16.307 900.716 null] +>> endobj +3503 0 obj << +/D [3500 0 R /XYZ 56.693 743.016 null] +>> endobj +3504 0 obj << +/D [3500 0 R /XYZ 65.161 743.7 null] +>> endobj +3505 0 obj << +/D [3500 0 R /XYZ 56.693 699.998 null] +>> endobj +3506 0 obj << +/D [3500 0 R /XYZ 65.161 700.681 null] +>> endobj +3507 0 obj << +/D [3500 0 R /XYZ 65.161 689.722 null] +>> endobj +3508 0 obj << +/D [3500 0 R /XYZ 65.161 678.763 null] +>> endobj +3509 0 obj << +/D [3500 0 R /XYZ 65.161 667.804 null] +>> endobj +3510 0 obj << +/D [3500 0 R /XYZ 65.161 656.846 null] +>> endobj +3511 0 obj << +/D [3500 0 R /XYZ 65.161 645.887 null] +>> endobj +3512 0 obj << +/D [3500 0 R /XYZ 65.161 634.928 null] +>> endobj +3513 0 obj << +/D [3500 0 R /XYZ 65.161 623.969 null] +>> endobj +3514 0 obj << +/D [3500 0 R /XYZ 65.161 613.01 null] +>> endobj +350 0 obj << +/D [3500 0 R /XYZ 56.693 577.674 null] +>> endobj +3515 0 obj << +/D [3500 0 R /XYZ 56.693 551.39 null] +>> endobj +3516 0 obj << +/D [3500 0 R /XYZ 56.693 510.724 null] +>> endobj +3517 0 obj << +/D [3500 0 R /XYZ 65.161 511.407 null] +>> endobj +3518 0 obj << +/D [3500 0 R /XYZ 65.161 500.448 null] +>> endobj +3519 0 obj << +/D [3500 0 R /XYZ 56.693 457.141 null] +>> endobj +3520 0 obj << +/D [3500 0 R /XYZ 65.161 457.43 null] +>> endobj +3521 0 obj << +/D [3500 0 R /XYZ 56.693 413.728 null] +>> endobj +3522 0 obj << +/D [3500 0 R /XYZ 65.161 414.411 null] +>> endobj +3523 0 obj << +/D [3500 0 R /XYZ 56.693 371.104 null] +>> endobj +3524 0 obj << +/D [3500 0 R /XYZ 65.161 371.393 null] +>> endobj +3525 0 obj << +/D [3500 0 R /XYZ 56.693 327.691 null] +>> endobj +3526 0 obj << +/D [3500 0 R /XYZ 65.161 328.375 null] +>> endobj +3527 0 obj << +/D [3500 0 R /XYZ 65.161 317.416 null] +>> endobj +3528 0 obj << +/D [3500 0 R /XYZ 65.161 306.457 null] +>> endobj +354 0 obj << +/D [3500 0 R /XYZ 56.693 271.121 null] +>> endobj +3529 0 obj << +/D [3500 0 R /XYZ 56.693 244.837 null] +>> endobj +3499 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3533 0 obj << +/Length 2429 +/Filter /FlateDecode +>> +stream +xÚí[[sÛ¸~÷¯àLgZi&B¼mŸœMœË:k«ÓIö"!‘ EjI0Ž÷×÷à&™º8iµûà‡X$|çòˆë,×y{öjzöò"p%¡:Ó¹z(ŒœûÈœiæ|]³’Ñ–'^àŽþQsÖªËyݨ žë‡¯ëôU]U7¿Þ\Ž›~€i&£$”´~W²6gŒ·â1ÌŽf}1; #y±3 Péù£Fñè¥úÁa"ž½™žý~†A¼ë`'Q˜øN”`ºž“.Ï>ÿæ:<IbçVö\:v‘ç‡p]:7gÿ +A¼Dðåin¹¾Mm‰Ë+Z—–™æUÝ°²,ì1)Gý\Ö-k·É'ñÜ8ô=l¨5 öþ—Y%$D£Çg•Eó•ªLò à«É$y±ÈKøÇQ[wM*‹È¿«~›GßÛ’ç%Jëj^,ŽÉ3>Aœ0Ïx> +¢&š¾üŽ:XÙ#Õ Q,ZÄÚÿkµhhöä…^·ZÕm±—[Ö®%~h)ôkÚíªðpF˜ÛõÚ9}w¹/>xȵÅ=ŒãÓÁ²/ ,‡*» BÈHj w5oŸLŽË,»-D—´ùÚ­ìú–øPÑÎZ…Ôš­e•WÛVyM²v‡¸ý•“0HN‡Ê¾ü¨ªìaTº%$´CeÁŸz‘-Ã`]-XcKØÓ÷K‹ù-íàù£ƒë&ª®¡Ü:ÆÏ‹’Ùî{Xï»| ß¨µc®XÃïŽôË qQt2¯ìIæ“=è‘A⃰ÈÎ#*;¬y¥5Å.iµèèb‡AŒ^ü TiÙeÖ »bMyä Ww<·uZYÆ‹ënfn©e¤»?v‘˜Æ'£Zžr$÷¹V¸PB+PÂÓx»$Ä.¼Ì;ÑôÊnÑ6×™xù¡35:æu ,× F·bœlJs@–ù4’Ó±õí#=bÆX¥®–PÊëï&õæû‰œ´ÞÌc‚¢(40XÓˆ Ï泬n¤lˆ“)ÛúL1„@-,¯õqõ­ÀË“H\@ è?!aMW« pÑ MMû·<-û «|{@½\Ö• µ¦8[¿KÆÊU^h£÷T$q‚¸ÔJ~q] zaw}…Õ•O PCï„û°$JÄ׸Så–¾øaÉe°ªöä˜Ä >ˆžÉñÿ…ƒßåOʾü¨ªìÁ¢‡D"dòLŽÿä˜{ït¨ìˈʡÊFeˆ‘Kž¹ñ37þspcBB%þéܲ/ [Uö°[qÍi‚g†üÌ÷8Šb—œ’!ƒ,Œƒ{ ™€·Ä‰¡Èx/AÞþ‹buøˆœOˆ!‘û938€9#5Í‹¶G5ÕB‹áËÅR žV\“eÁž;M¬yß%“ÖÅÒª‹,k·¨íbÞ‹ªBÒµü9£¼kX¸ÿ´Ål_ôßéFlÕÍôÌ´}\lšÚ²‰G`pÔ?y%Þ‰v%˜3ŽÀ´ lÃu<G‡Î³zÆÔé!Ñ$ßYôûE¼+ )Éö )$/ «Ä°O»fEYŽñèNuøȲ‚näô7&„À¬®¨( åcµo šyN¹j[°Š5‚¸ìÙ£ðcÃq`è´²Ë.$|À’˜^YvKVñVÍdÎ8‚7>雩w¦´¨VG0L~®÷S(P}:iØœ Ì^ªdb•aõ`õ+=^oÓH•m½½OO˜é[ÎŒÖ'Y¤‚ÐI„Ã/­Ô/¤J}Õ¨3ÚÀ†DÐ4Ùªà +Ssñ¾â¬©¤²´TM¯‹EÁÍÍU7+‹6W †{¹îuÓ-Õ­Xú÷¯¯.ÄB¿PsÑ­©x£ö¤šY_;£~ÛÖi±®IÖ'wu„Ø=ï›­Uöº¯¢4wÖµ¼¹‡ÁhŸý®Õ~¼¬/ÒYÝq3‰‰ÒÅbébf÷ì–yâÜòz÷I¬ÍËë7ç¯?¾yȯ'˜D(O04zr¿¾›~¼4[ex¨ŸOÇ1taádÚ!šº%ú¸“X¹H¯ôåM‘ê®F#hVÁEÏ,p¯À­! M2 w c5!ws[6¨uÖ&_룅ÈʼnÜu Èt{•m:ì9èý{„Ó„àeQÒfw×Sߘ{óNèÁe[ÛY¬š†ç[ðvq$U +êV™ YǬչ]uËÓêJŸ kIii³¿«¦ÎŽxÀïª }µaÒµÀÝ7ñ‡©¨ùü‰³|^¾Ì§@=Ô­7â B%•+(i華©«âô½Ò±H• M¹4è,¤.…²*\J›èð.žl™ +Z >c³¾Æ 4ý[zK“)¸Ç£¿ª•,!MK4“ÑͦFÞSªúêÿ…O?ÍEê”…CµÂÙñ‹tQ4-?œc Z¨M1g¯Ô €“U;{zv¨ô½Pš»ò]ÕÄ„YÖbe“|gÞTÏýB”k<ªÎY¥º¯*¨u?ÄSµ>⹉©ø!huÕcÞUê¸÷}…„´ÿ@B(àDŠ-i]vËj_ð¸-2ž·ý¼ýóùå çV×7lï×QîëÊdmûVgtùþ•`ì{ª€"¾¹ÆÐ&K4.媫ÄoÌÑëW‰}-2¹m* Þç$UŒÙX:ðÑÇGÞ}öý´5Lóßiþ z‡ã' +endstream +endobj +3532 0 obj << +/Type /Page +/Contents 3533 0 R +/Resources 3531 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3534 0 obj << +/D [3532 0 R /XYZ -11.232 900.716 null] +>> endobj +3535 0 obj << +/D [3532 0 R /XYZ 56.693 741.747 null] +>> endobj +3536 0 obj << +/D [3532 0 R /XYZ 65.161 742.431 null] +>> endobj +3537 0 obj << +/D [3532 0 R /XYZ 56.693 695.317 null] +>> endobj +3538 0 obj << +/D [3532 0 R /XYZ 65.161 695.606 null] +>> endobj +3539 0 obj << +/D [3532 0 R /XYZ 65.161 684.647 null] +>> endobj +3540 0 obj << +/D [3532 0 R /XYZ 56.693 637.14 null] +>> endobj +3541 0 obj << +/D [3532 0 R /XYZ 65.161 637.823 null] +>> endobj +3542 0 obj << +/D [3532 0 R /XYZ 65.161 626.864 null] +>> endobj +3543 0 obj << +/D [3532 0 R /XYZ 65.161 615.905 null] +>> endobj +3544 0 obj << +/D [3532 0 R /XYZ 65.161 604.946 null] +>> endobj +358 0 obj << +/D [3532 0 R /XYZ 56.693 567.796 null] +>> endobj +3545 0 obj << +/D [3532 0 R /XYZ 56.693 540.243 null] +>> endobj +3546 0 obj << +/D [3532 0 R /XYZ 56.693 493.233 null] +>> endobj +3547 0 obj << +/D [3532 0 R /XYZ 65.161 493.916 null] +>> endobj +3548 0 obj << +/D [3532 0 R /XYZ 65.161 482.957 null] +>> endobj +3549 0 obj << +/D [3532 0 R /XYZ 65.161 471.999 null] +>> endobj +3550 0 obj << +/D [3532 0 R /XYZ 65.161 461.04 null] +>> endobj +362 0 obj << +/D [3532 0 R /XYZ 56.693 422.817 null] +>> endobj +3551 0 obj << +/D [3532 0 R /XYZ 56.693 386.652 null] +>> endobj +3531 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3554 0 obj << +/Length 2043 +/Filter /FlateDecode +>> +stream +xÚÕ\ÛrÛÈ}×W ö‰ªŠÆs¿$OkïÚ›Ä몬•ªTì­DI˜$  eåëÓ @Kuip8\çEÉaOO£Ï™¾ D“YB“7g//Ï^¼V4qÄi®“Ëi¢9Ñ&±La’ËIòaô›_ú´òç\ÑÑ»¢öU{9-Êö¢žw_þTŒ_Å¢}ó¯÷oÏ¿üLsÁqJµÒÞ×·K_ͽ¯«æk˜%f×¢™]jC ·É…"Îtó½h_˜vÍÏ~¾<û|Æ@\0JéèÏkÎÔèkÝ­ï¾uÁ\¡;)—[ËM‹å²8çjt“å³ö£ñ<Íg[[ÏÓsNG_¹Ý/®¼ÏÛ«U:é>«‹»²™´¾››YIŒiV¾™{Ö(ú ’4b;n\lÅWY>ö½[Έ„·×eë(d×.œ7vsp7•ŠVêGÎÕθ²G–Hm·*üš1üò#U´^Á_v~¡ÁÔïWY=ÿóùãðfYŒÓ¥‘MÈ×Õ²• N×o^Þìº 893<ÑÖkTã.Í犂óIpâ¬KJŸLïûÇŽ´‡?ÝŸÀâ˜ÞNÐ +fÍèPùŠ0Íúò…ÛfÃÌp;š8ìF`9KÚ‹ß:0íÜ×­â–Ne{{_Íýxá';î°/ ÖÜô,ÇÛÂ5€ƒ÷×|Rä¾Ê +¤­SâÆVë+ðçk‡«[ܸŸ×Òo×óuš§+Üèkà3Ü=ÈVHK¥³¢G½#‚E¼‘àë&ñ¼îï¤Ý¶¡'”E¦½e=„ö$h“õ#Ôñx¬·+?õ‚•ÀzvVãÚ»ûãd‚Åz.{ ^xÏÒ\VÇá²?K®Òñ⸄û.[ËôÓy»þ^¦ëŲÇÑC[ˆ®ÄI‚;[—Ñæ댦œ"œëx”¦ væÚD£´žü0J WOiÊ¢¶¹Ý4ûŠ…¼/KHñ-‹_Ž›Lõa(=ð»Qº¼ž#Ùgâ§YžÕèØ«ö/ë|––ƒh¸R>&Ü6ö”$¡”…ët†ÜÍ7µ +ÔÈ)–}ò«ƒq «ýÓ£ÔÓ>9Ò ¥¯ê¢Äm•UUÖ‹•º¯~xœ «:-ëÏë¢Þ[ÅO¯báo^DÄRÉ“cDEæ¥Oé^+câñ’t”hf£ñRO~/…+‹ç%éqÛŠî«b5$g‰’“}J_WšfƒiiZÈ*Ћt–!â*½M«y†ÏÚ)&¤•¯JHæ|¼!:¤à´,ÖX¦^¥ùmW|W÷Z×C'ÚÆ7´}œfÄ<Åäš3ªÇmÇ|^gèC(ÅjhŸTPMuñPµ+?UÁÊ@uD¹® †?]³ŸA‡HTÁÙ)C$n)‘Ô|GÍ!n@#)ã…C\9"­Šæò=ùa.®,Þå9ÈÜu­ó/¾D7‡z}œ§Ï |s†ç m]ŽíúçRëÊc{Õ)rAë<Ãwì_e:®}Ya­5ü¹´Dñx¿žü@$+; Š˺ ¾iÑ=…‚h¯ë5ÖefËÛëùð¨^ãÆÝ̱áÌm±Fƒ›dØ”¢>î±3d§yûˆn)ƒÓ. QÏUöäb.TÙÇ&)±ÛS”O'MѧÈ}¨˜ªßH»L}é÷:¢í"6äBuÚÓ‹œ1¢õ÷tJˆ7®óô"s$Æ;½Ø“ÅpeñÛs’PÁþßžU‹ƒ†ž<úšG<£ô,J™Xžö<#Ó’ØÈL• y¼Œ)P(æyF&qÏ3öä2U°²˜J¿gB*øÂük?ñ%¤m¸Ñÿö9xÓÀ A4äNÚcÌÊô ú©Ègä³<ð¶‡ÿÎÿ3·À‡‚.Jă3„: =»âÃÀ¬êìPJ„僟Í|è¬=¦;~ð°°§wyÝûoCªÝ!ÿLãI\“ +endstream +endobj +3553 0 obj << +/Type /Page +/Contents 3554 0 R +/Resources 3552 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3555 0 obj << +/D [3553 0 R /XYZ -16.307 900.716 null] +>> endobj +366 0 obj << +/D [3553 0 R /XYZ 56.693 759.068 null] +>> endobj +3556 0 obj << +/D [3553 0 R /XYZ 56.693 738.489 null] +>> endobj +3557 0 obj << +/D [3553 0 R /XYZ 56.693 691.874 null] +>> endobj +3558 0 obj << +/D [3553 0 R /XYZ 65.161 692.163 null] +>> endobj +3559 0 obj << +/D [3553 0 R /XYZ 56.693 645.049 null] +>> endobj +3560 0 obj << +/D [3553 0 R /XYZ 65.161 645.338 null] +>> endobj +3561 0 obj << +/D [3553 0 R /XYZ 56.693 598.225 null] +>> endobj +3562 0 obj << +/D [3553 0 R /XYZ 65.161 598.514 null] +>> endobj +3563 0 obj << +/D [3553 0 R /XYZ 56.693 551.4 null] +>> endobj +3564 0 obj << +/D [3553 0 R /XYZ 65.161 551.689 null] +>> endobj +3565 0 obj << +/D [3553 0 R /XYZ 56.693 504.182 null] +>> endobj +3566 0 obj << +/D [3553 0 R /XYZ 65.161 504.865 null] +>> endobj +3567 0 obj << +/D [3553 0 R /XYZ 65.161 482.947 null] +>> endobj +3568 0 obj << +/D [3553 0 R /XYZ 56.693 435.834 null] +>> endobj +3569 0 obj << +/D [3553 0 R /XYZ 65.161 436.123 null] +>> endobj +3570 0 obj << +/D [3553 0 R /XYZ 56.693 389.009 null] +>> endobj +3571 0 obj << +/D [3553 0 R /XYZ 65.161 389.298 null] +>> endobj +3572 0 obj << +/D [3553 0 R /XYZ 56.693 342.185 null] +>> endobj +3573 0 obj << +/D [3553 0 R /XYZ 65.161 342.474 null] +>> endobj +3574 0 obj << +/D [3553 0 R /XYZ 65.161 331.515 null] +>> endobj +3575 0 obj << +/D [3553 0 R /XYZ 65.161 320.556 null] +>> endobj +3576 0 obj << +/D [3553 0 R /XYZ 56.693 273.048 null] +>> endobj +3577 0 obj << +/D [3553 0 R /XYZ 65.161 273.732 null] +>> endobj +3578 0 obj << +/D [3553 0 R /XYZ 65.161 262.773 null] +>> endobj +3579 0 obj << +/D [3553 0 R /XYZ 65.161 251.814 null] +>> endobj +3580 0 obj << +/D [3553 0 R /XYZ 56.693 204.306 null] +>> endobj +3581 0 obj << +/D [3553 0 R /XYZ 65.161 204.989 null] +>> endobj +3582 0 obj << +/D [3553 0 R /XYZ 56.693 157.876 null] +>> endobj +3583 0 obj << +/D [3553 0 R /XYZ 65.161 158.165 null] +>> endobj +3584 0 obj << +/D [3553 0 R /XYZ 56.693 110.657 null] +>> endobj +3585 0 obj << +/D [3553 0 R /XYZ 65.161 111.341 null] +>> endobj +3552 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3588 0 obj << +/Length 2660 +/Filter /FlateDecode +>> +stream +xÚí][oãÆ~÷¯ Ú‡Ê@<™;ÉšMÓm¶Ec °É%Ž,ÖGáÅ—ß¡HÁKÊ´Îh8® äe¥•Gg¿oÎm†ÂÁm€ƒï.>Ü\|ùWƒÅ’ÊàfHŠdD„!7iðiñƒÊUR©Ë+*ð⟺VU÷v­ËîM½éÿø½ú õ]÷ŸŸ®¿¿üåæïfš+BP,D'íº~ÊUµQª®Ú?›ÙI™Ù%kgç2D!‚+â°Ÿ?ÂF`-¾ì^ˆŒÛ/^|{sñë1âq@!‘ŒYÆILƒÕöâÓ/8HÍߌˆÇQð°¹ Áˆ2iÞçÁõÅ¿/po <° Ì°PÄ{“„ó,;¥Ì%ѽ‡ïŸ®ÆxñÞnuÑ_Úç†5v  ÅQÔ ¸9m­ó\_R±xÈŠÛî£Õ&)nfÞ$—/î/‰XôßX*Utï¶IÚVëç{±ŸÛ(ü<7‰8 +Ãö¢÷s¯¦tdbâ³aéUV¬Ôèf2cƒýû²ƒZ䊚 &Œš7fzÙ_øÏ”ŠÁ¸½®{ðV‡q3´Wácfl¡òŸ±ÀõÖüK.¯¤1òõ6«7_]^jþ“\ Ç*µrÛ—ï†1È&! dlî¬-FÚÏ6ˆã2 æÖÄA©‚õç H{ùÓã ÂE8 S[Ea#+U×`$ήçª)KUÔ°Á©^5ÛñègŸf…Qd°åCùŽ¬pVÖ‚’õaÒ7¹®TõÒzü{ãBôú:xcB¡» + wõÑÏé¡ÿPE¡Ò§óAÂQìiL¼‡í}Œ*5sPO‘V©Ö†1å“M´Õ†€"òmó{äáP¾#•µà!ˆG=×Ù#4ÚªžŠ:y„Ue9ŽSN#Lj’·$…ˆB„Å;"…C3Kè-ÞöGŠ‘|7R¸+ '…1 +c{R$ÀD7»|î0íi§+KŽ É oÊ1N“ï‰cÌ`2ôÉ1ŠQDü¥E#ùŽsVÖ‚c”?×ÉÌË +(ËL¬—æ³ç«d‚N}بRAóî’–µ†J7åʶ0ò±§gÙ&E“䳜¦ŽñÐ&pðìxG\»ªjkb"YÞפ·ªNÒ¤º… ¿mVUpø—`L“ ô› +8päù2YÝAgQƒÓ÷¬¨j•¤ð"Üþ[?ÚÖ¾xlp€‰7.Œä»‘Á]Y 6`c C/£ÐÐEs§ËzÖëǤ,ÀœÉÖÿ·L°¨:ðX ˜¼iøÇC†BÁßOøÇ¥ Bg“óC}(ßê®ÊN› $XÜû}Gø“ñ¥UÔºÎTžÚV8‹•ìM} M¾)Þ‘ï1-ÜJœ¯;K$¤?FŽä»1Ò]Y¸óa±IyÏÑíæ‹°töƒU:÷òâ<“·ZÕøµÉÔQÜù÷,Hbæ–CùŽ°ô¦loŒ#ɹ?c å;ÃUÙcF†&¡­š!ŠY_¾zÝ=A³®ØçÍuq«J™iñTofÏ9›*YæÊbÿȲ©-FÚfô®]ŽÊr\¸=½H†d$ü¡~(ßõÎÊôõg 3€Um]@×;›(ã¥ìÁSÑÒͽoó̺#]²ç úCùŽÐwVÖbÝ»è;•^zþuó7w`Â÷:Ÿ†prúœRÈDUv\Ÿ>‡*§ã,(g²Ú–8Bw!Å;RÀUU ´û,þ ±–ÝuÄç8ózÅ…Ô3¯•ÚŒ׊_Ìãð,¢ñlµ‡ã`»f5tŸPÍÔmƒKwõ +_„Éwc”»²”2šR{ìëù+Á$.>ð4d¢.µ÷™¡|GÈxS¶7FØ%wÞŒ1”ïh geá­ ÆÈpèùð/ ¹K}=ýÔVHJpÚEYªUv!µªà —‡¬Þ/è­íéÏRú¨Ójè2OÏÝTI °ðWÉw$†³²Äb¼¯ŒÚd ¥‰@’z6l“ÔgBhšœM½Ñ%4.Ûïý2™I’CË +«Öðä zLîˆË§1.º*Œ7Œå;bÜUÙiD‹±ˆŸÜ)R@O!¾Ü$«Iy×ìfÞEçÇT®ü…]*?=0¯ô[ä4îyWpñ†û¡|GÜ;+k±¶s‰8í·æèmV¿¯¢‘õ®«kF¯¬ÿà’Ô¥žËüÓÇï-wÕ_[ó…uåo|Êw䋳²|aqÙ·12ð“  Q?tãÄ­Öé¼±ÄmMc ¬·@¯¨ÒÄJ+h´¸ÍŠTõ¥†ùÀ¡¥¹6Û&¥]ÙÅU†ò©â¬¬U(G÷MŽ$7Y\ +Œ–ïƽv…CÐô}~˜Çw ÞñvøRµ³‰»Š†/SŒä»ÙÂ]Y hbŠDÔ—J¿©§à®’“BÏ +¥jÞµú¸Šs:0ZgÖÑW­ëy5_‚SìJ•5ÔÂЀÌ8Œ]cÛ¿#Q[ýð×oÉw$‘³²p‘öQŽ}UzvIiâ&OÊsO†[ìv&a—å{»sCùŽwΛ²½1d—èy3ÆP¾£1\•Ü†DÚÇ‹Ønç¹Ï¢®=9—’ÓçŠÀžâéým‚ûIž;öéO/A¢K½±n(ß‘uÎÊ›ÕDD(ÌòtúšñG;39Y%|³ÈY ï+o Êw•7e{c0†„ÇgŸŽä;ÃUÙi¿Æ$Š˜üͯý¯üÚ÷MÞ[£]þìtCùŽ¤sVÖ­Q¢Ãcñskv "û|Ò¦â!åKÕÞ#z¬Û å;ÚÂYY‹’f{¹/nÑò”{Øï[W=3P¨•ªªzh½}K¹Mê:¨'\HeÛaŒº<ÜćâÝî¬*àqŸ-›'°ë¨ÏÿeüLU7ëõì}ó³ÝÌ|{í“\•ðç•3?ÝþG Â.¡öE¨¡x7B9« +'TDæýžÞBA +»R/sh—[¯ç=;±T`B¿|ü:“;:þÎÎèõèçž8FXÆçüÚÓ³{‹› +endstream +endobj +3587 0 obj << +/Type /Page +/Contents 3588 0 R +/Resources 3586 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3589 0 obj << +/D [3587 0 R /XYZ -11.232 900.716 null] +>> endobj +370 0 obj << +/D [3587 0 R /XYZ 56.693 759.068 null] +>> endobj +3590 0 obj << +/D [3587 0 R /XYZ 56.693 738.489 null] +>> endobj +3591 0 obj << +/D [3587 0 R /XYZ 56.693 693.764 null] +>> endobj +3592 0 obj << +/D [3587 0 R /XYZ 65.161 694.053 null] +>> endobj +3593 0 obj << +/D [3587 0 R /XYZ 65.161 683.094 null] +>> endobj +3594 0 obj << +/D [3587 0 R /XYZ 65.161 672.135 null] +>> endobj +3595 0 obj << +/D [3587 0 R /XYZ 56.693 625.762 null] +>> endobj +3596 0 obj << +/D [3587 0 R /XYZ 65.161 626.445 null] +>> endobj +3597 0 obj << +/D [3587 0 R /XYZ 56.693 580.072 null] +>> endobj +3598 0 obj << +/D [3587 0 R /XYZ 65.161 580.755 null] +>> endobj +3599 0 obj << +/D [3587 0 R /XYZ 56.693 534.382 null] +>> endobj +3600 0 obj << +/D [3587 0 R /XYZ 65.161 535.065 null] +>> endobj +3601 0 obj << +/D [3587 0 R /XYZ 65.161 524.106 null] +>> endobj +3602 0 obj << +/D [3587 0 R /XYZ 65.161 513.147 null] +>> endobj +3603 0 obj << +/D [3587 0 R /XYZ 56.693 466.774 null] +>> endobj +3604 0 obj << +/D [3587 0 R /XYZ 65.161 467.457 null] +>> endobj +3605 0 obj << +/D [3587 0 R /XYZ 65.161 456.498 null] +>> endobj +3606 0 obj << +/D [3587 0 R /XYZ 56.693 410.125 null] +>> endobj +3607 0 obj << +/D [3587 0 R /XYZ 65.161 410.808 null] +>> endobj +3608 0 obj << +/D [3587 0 R /XYZ 65.161 399.849 null] +>> endobj +3609 0 obj << +/D [3587 0 R /XYZ 65.161 388.89 null] +>> endobj +3610 0 obj << +/D [3587 0 R /XYZ 65.161 377.932 null] +>> endobj +3611 0 obj << +/D [3587 0 R /XYZ 65.161 366.973 null] +>> endobj +3612 0 obj << +/D [3587 0 R /XYZ 65.161 356.014 null] +>> endobj +3613 0 obj << +/D [3587 0 R /XYZ 65.161 345.055 null] +>> endobj +3614 0 obj << +/D [3587 0 R /XYZ 65.161 334.096 null] +>> endobj +3615 0 obj << +/D [3587 0 R /XYZ 65.161 323.137 null] +>> endobj +3616 0 obj << +/D [3587 0 R /XYZ 65.161 312.178 null] +>> endobj +3617 0 obj << +/D [3587 0 R /XYZ 65.161 301.219 null] +>> endobj +3618 0 obj << +/D [3587 0 R /XYZ 65.161 290.26 null] +>> endobj +3619 0 obj << +/D [3587 0 R /XYZ 65.161 279.301 null] +>> endobj +3620 0 obj << +/D [3587 0 R /XYZ 65.161 268.343 null] +>> endobj +3621 0 obj << +/D [3587 0 R /XYZ 65.161 257.384 null] +>> endobj +3622 0 obj << +/D [3587 0 R /XYZ 65.161 246.425 null] +>> endobj +3623 0 obj << +/D [3587 0 R /XYZ 65.161 235.466 null] +>> endobj +3624 0 obj << +/D [3587 0 R /XYZ 65.161 224.507 null] +>> endobj +3625 0 obj << +/D [3587 0 R /XYZ 65.161 213.548 null] +>> endobj +3626 0 obj << +/D [3587 0 R /XYZ 65.161 202.589 null] +>> endobj +3627 0 obj << +/D [3587 0 R /XYZ 65.161 191.63 null] +>> endobj +3628 0 obj << +/D [3587 0 R /XYZ 65.161 180.671 null] +>> endobj +3629 0 obj << +/D [3587 0 R /XYZ 65.161 169.712 null] +>> endobj +3630 0 obj << +/D [3587 0 R /XYZ 65.161 158.753 null] +>> endobj +3631 0 obj << +/D [3587 0 R /XYZ 65.161 147.795 null] +>> endobj +3632 0 obj << +/D [3587 0 R /XYZ 65.161 136.836 null] +>> endobj +3633 0 obj << +/D [3587 0 R /XYZ 65.161 125.877 null] +>> endobj +3634 0 obj << +/D [3587 0 R /XYZ 65.161 114.918 null] +>> endobj +3635 0 obj << +/D [3587 0 R /XYZ 65.161 103.959 null] +>> endobj +3636 0 obj << +/D [3587 0 R /XYZ 65.161 93 null] +>> endobj +3586 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3639 0 obj << +/Length 2586 +/Filter /FlateDecode +>> +stream +xÚå]msÛ¸þî_Á¹~qfñzÓÉär½—Ü4íõâ™v&¹´Y“„Ž¤b§Ó_P¤®õ¶0{Ò~°%Kàb ì>xv± qr“à䇋×W/¾ç8ÑH *’«E"(2Q$E©L®æÉûË_La²Æ<{N9¾ü«mMÓ¿]غÓ.‡/ÿlg¯­½íÿø绿<ûõê'×ÍsBæ¼—ö®ýT˜fiLÛt_»ÞI¢\ï"ízgB"IUòœ#-‡þq¥º|Ñ¿¡» /¾»ºøí‚8ñ8! Hè4‘š i2+/ÞÿŠ“¹ûÎ)€˜VÉݦe™p‚M…{_$ï.þ~‡‘¿î̶¦Á¢×í¥|£Íö²ß»&›ûaÝ5 +1¡Ü›ÆoóÙ23ÅÌq[ºßî¾Æ—ïʼ]~ýì9¡îÚ,LÕÖŸÐ}Sô‚ÝÐu²»—voÚM‘4‘©F\¥ÝMwŸs솉„"­tR›dñù]îH;üé~T!AÙ¶ƒ^0éZ‡Êçˆ2–Ï1AÒ¤‡Ï-@ MõÊnÖ7Iÿæ—Áv¦u«xê ›Ð~vÿ±4ÕŽ)ì JÞo&üÆT¦ÎÚ¼ºµ/³j•Ý˜ÖÚ®ÛÕºÝië´ûãðÁ‘‹î Lxeaí +[ݘÖ¶6+[·°¶Yõ©]‚._ì¶;ïJD"!xòŽãk”B5wy;[N½ðÀã˜YV˜iñ¦º~0€0‰(g + ”#J#áÇÌ–¥­Ïß:—ˆ +1&PŠãEÑ#ùÀ¬¬°2¸JŸÞÂ)ÐÜÌŠ¬«x±Ðµ{Ý2/K¯-óËküÜz´_eõ^G÷Θ?MË9úéXãÇ5Þz”ÇMÂóÎÈR”’GÝÓb”¸ðO DnÐ +ãŠ1Ò¹mÄXŒaŒŽWv7’CÁÊzÀfkꋆ”õ +^ëŽîù=4ȘOœØ®ÍǼÉ÷@dóäTA¢®eVÍ p%¿ïk³ð€¶=Â<4û¹³0™U³åh‡âô¥M¥³gþ™=3™"–nÑéf¸/‰Öê³F1C›ç@pJ•FŠÅ+dÉÃŽpeØ¡8ÂJ$©NI‡DÞÞüìFbçGY:®â%ªGòG9XY8B§ª ¡”îÇì#8ö!ØÃ7ëúÔÑ ´ZX%ZÛë”ÓFí](:­Dx"3«oLûTcÝí­f¦i¡ÎCÞæ¡,9Òù Œ»ò"XY ŽË“Ë[ØzÊáz}0óý¢RERžSh/ÔÉœ˜hʃÁÂ8^ñËH~à`+ëa¥L#ª‡í÷î0³‰A ¾<ÂûΛ‰Ëh&_—]èÌá/mó„kÔã-=Áª6m>JÂÃWÞó š:®1ö؈"¡ªz€HªûéA¤6ÕÜÔÐĘëBÚÕß¾õ.qƒšÖÌ®‹ù´•÷3[5¹Çxeåçö¡®×@?´SϘ…—l/Áx ßÙÓïÚìR:´OèECŒ]ù¬¬fP‰Òíž[c¦ÎI®l^X*¨ñÁƒýf -쟞MÌfæv¶ +)A§¹B»C`B?õ6 +Uq&âm£P©Wñbï‘ü0p W.T¤$÷ßFñ-9³í$+>™gßçÇ]ùÔ‰ú©ýpbÈåž©…m]OÓnØÂKŽ²Ú®«¹çh¶\¬=Š\¹1Oþy¿ /s2’èVÁÊz¸•t×’¡H"[­Flè¿›8gw(_jõ)êQ Ñ” Áä““Eê^êÏEâxxÄäzU°²^EbÛ0^ç,4ô(ç;8‰ÿW« +VîU<&´%aô©¡Åݵ£ˆñÅ9ª[ã¬ÉC–peáÈB„ûˆ yñŸ{¾ÿ ÆïÔðƒ,<} |ÖÞÃ3߉>T/øŠm„3$q¼,óH~ +ëá\"­'¬Á\SÌ!e¥ß•+hÁü_üéµ`û”!×T’GMª‘OžQÒ43Sͳ=Îú½VˆF|JÓ®ø0§ VÕÃ'¢œ™g»ðäVwP^ž) ù¹;[b×w‚ÍgŸ8¯ÜÚob5œ+¿ÊçU^ýþPDÐáÿüau@ÓO!ðôC%QÄ- éa^ª(Ü 5F\Èm•W³.Ú©«¼¼Vƒk µðèEfáõ“«XfP‘‹bïGçJæ¦ ¥´dšB#Åòd²½ÿ´Áð¦xäÿhã?ãæO® +endstream +endobj +3638 0 obj << +/Type /Page +/Contents 3639 0 R +/Resources 3637 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3640 0 obj << +/D [3638 0 R /XYZ -16.307 900.716 null] +>> endobj +3641 0 obj << +/D [3638 0 R /XYZ 56.693 742.187 null] +>> endobj +3642 0 obj << +/D [3638 0 R /XYZ 65.161 742.871 null] +>> endobj +3643 0 obj << +/D [3638 0 R /XYZ 65.161 731.912 null] +>> endobj +3644 0 obj << +/D [3638 0 R /XYZ 65.161 720.953 null] +>> endobj +3645 0 obj << +/D [3638 0 R /XYZ 65.161 709.994 null] +>> endobj +3646 0 obj << +/D [3638 0 R /XYZ 56.693 664.201 null] +>> endobj +3647 0 obj << +/D [3638 0 R /XYZ 65.161 664.49 null] +>> endobj +3648 0 obj << +/D [3638 0 R /XYZ 56.693 618.697 null] +>> endobj +3649 0 obj << +/D [3638 0 R /XYZ 65.161 618.986 null] +>> endobj +3650 0 obj << +/D [3638 0 R /XYZ 65.161 608.027 null] +>> endobj +3651 0 obj << +/D [3638 0 R /XYZ 56.693 562.233 null] +>> endobj +3652 0 obj << +/D [3638 0 R /XYZ 65.161 562.522 null] +>> endobj +3653 0 obj << +/D [3638 0 R /XYZ 56.693 516.335 null] +>> endobj +3654 0 obj << +/D [3638 0 R /XYZ 65.161 517.018 null] +>> endobj +3655 0 obj << +/D [3638 0 R /XYZ 65.161 506.059 null] +>> endobj +3656 0 obj << +/D [3638 0 R /XYZ 56.693 461.113 null] +>> endobj +3657 0 obj << +/D [3638 0 R /XYZ 65.161 460.555 null] +>> endobj +3658 0 obj << +/D [3638 0 R /XYZ 56.693 415.609 null] +>> endobj +3659 0 obj << +/D [3638 0 R /XYZ 65.161 415.05 null] +>> endobj +3660 0 obj << +/D [3638 0 R /XYZ 65.161 393.133 null] +>> endobj +3661 0 obj << +/D [3638 0 R /XYZ 65.161 382.174 null] +>> endobj +3662 0 obj << +/D [3638 0 R /XYZ 65.161 371.215 null] +>> endobj +3663 0 obj << +/D [3638 0 R /XYZ 65.161 360.256 null] +>> endobj +3664 0 obj << +/D [3638 0 R /XYZ 65.161 349.297 null] +>> endobj +3665 0 obj << +/D [3638 0 R /XYZ 65.161 338.338 null] +>> endobj +3666 0 obj << +/D [3638 0 R /XYZ 56.693 293.392 null] +>> endobj +3667 0 obj << +/D [3638 0 R /XYZ 65.161 292.834 null] +>> endobj +3668 0 obj << +/D [3638 0 R /XYZ 65.161 281.875 null] +>> endobj +3669 0 obj << +/D [3638 0 R /XYZ 65.161 270.916 null] +>> endobj +3670 0 obj << +/D [3638 0 R /XYZ 56.693 225.97 null] +>> endobj +3671 0 obj << +/D [3638 0 R /XYZ 65.161 225.412 null] +>> endobj +3672 0 obj << +/D [3638 0 R /XYZ 56.693 180.466 null] +>> endobj +3673 0 obj << +/D [3638 0 R /XYZ 65.161 179.907 null] +>> endobj +3674 0 obj << +/D [3638 0 R /XYZ 65.161 168.948 null] +>> endobj +3675 0 obj << +/D [3638 0 R /XYZ 56.693 124.003 null] +>> endobj +3676 0 obj << +/D [3638 0 R /XYZ 65.161 123.444 null] +>> endobj +3677 0 obj << +/D [3638 0 R /XYZ 65.161 112.485 null] +>> endobj +3678 0 obj << +/D [3638 0 R /XYZ 65.161 101.526 null] +>> endobj +3637 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3681 0 obj << +/Length 2075 +/Filter /FlateDecode +>> +stream +xÚÍ\Ërã¶Ýû+XÉF®Š0x˜¬òšTRyݱoÕ­šÉ‚"!‰eŠ`HÈåë/øPdÑ–H9+QØh}N°AÁ`ÀàÇ«oo¯Þ¼c0@r̃ÛeÀ1àa $ n“àÃì½ÊTT©ë9fpö›6ªj—ºl̺ûñ{«õ]ûå7¿\ÿyû³ífŽŒµÖnÌ.SÕZ)SÕ?ÛÞQ lïœÔ½S‚‹`΀ »þ¶C1{Ó~ .ë ¯~¸½úë +Yó0@ã€K„qo®>ü ƒÄþfTŠà¡i¹ ‚n³àæê?W° x4"8°ÍB&›!Ù§ È[§ì-‘ÆýuÁ‡9‚ÎÞýÞÝÖãAµc€ ²»øv?`Keú³ÙCš¯ÚSñ:ÊWû!^G×ÎuW,”ÊÛ£M”tçŒ>ÌCÓ·uöÐ7„a}ÃMßKýŒˆJÙ¾I¬÷–«4Uo’ ÀíqÙ†8‰9’`ŒìMÛ®­3Õ³£vŸÍÔÓÚ({~¶ejþ¾žs;¤?«(¯tþözŽ°ýZ¤àS•µ¦l\ÕÖê#ÂÆ1 +qÀ¥GL눨Ï3hã‹ò)dPª`ù8Ž¬=öi¡!gûZèníkŸÄQß>ƒvüí8¹ôðH,Gp¶1X®‚öà}‡—£‰Ü;.€¬›üÿIdTr4ÿOmY Õóèx»Q¹‰Lªs·Kj.rjx§TÑÃílÞxz‰…ÖJÙÈ/û—×ð y>ð;ñù”¹;šâŒ68.èLTÝ eB9!ìµÑ5êŽÌ{‚Î×Õ˜#! D´ÓùC-2WÌm+åÖP/ÝÚuÉè2ˆB +»ý¿âQ«Ð®Þñ¾ÍÜ•e(ô ÑÆgcûž,àí¬ fu‰%Zj—XíX6 =[cJõÛ˜<8að¾Úøz !Ë£á„ÌJ~ãÇî±}ÏØõvv@³ÚZ +6b©ˆQ$åÛ—•á>DÔ`û¹ê4Ÿ®õ6{‡«óÎÕ:G¹.Þ#cÊt±uÝÉẵÜzçY/«|…HZØùmÐJ?(d€í+•£­ÁÛÝøñº8‹§ãĨµ5]îìÙ÷ãgÝù1p8X@G¯ºU*NZ¤‹,í«×ϯ‰o]‰d½+TiÃØuSXT®\—ói52éQiùæ•Þ(ÕRÙîã^èôuqX?ùD#J<¨¶ñ±}lßÛÞκëbDíJuxOáå+×Q&À ß©ëÙ÷eog0(á‡RS”'çÁ«;ýÅi¶vÝXcÔ§'Õ½/^fÅÑéÙh;ݽ©T¶t݌׻ ’q·<,Ê(¾Sç¿„ð²ï"Û‡ýÂÁÒM +@¦|©PX›ŽuŽ¬ûqŽ¯£îŒ#á¡nö«¾w~…WÅYTx×U*ÔÓ¾þ8Cïsí[S9oWLÍn܇„õ->}µáÍi'R5 d3;=„Ÿ¡ €Lò^â“s –ç¸<çÏþ‡GG¼ +endstream +endobj +3680 0 obj << +/Type /Page +/Contents 3681 0 R +/Resources 3679 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3530 0 R +>> endobj +3682 0 obj << +/D [3680 0 R /XYZ -11.232 900.716 null] +>> endobj +374 0 obj << +/D [3680 0 R /XYZ 56.693 759.068 null] +>> endobj +3683 0 obj << +/D [3680 0 R /XYZ 56.693 738.489 null] +>> endobj +3684 0 obj << +/D [3680 0 R /XYZ 56.693 693.328 null] +>> endobj +3685 0 obj << +/D [3680 0 R /XYZ 65.161 694.012 null] +>> endobj +3686 0 obj << +/D [3680 0 R /XYZ 56.693 648.855 null] +>> endobj +3687 0 obj << +/D [3680 0 R /XYZ 65.161 648.297 null] +>> endobj +3688 0 obj << +/D [3680 0 R /XYZ 56.693 601.898 null] +>> endobj +3689 0 obj << +/D [3680 0 R /XYZ 65.161 602.582 null] +>> endobj +3690 0 obj << +/D [3680 0 R /XYZ 56.693 556.183 null] +>> endobj +3691 0 obj << +/D [3680 0 R /XYZ 65.161 556.867 null] +>> endobj +3692 0 obj << +/D [3680 0 R /XYZ 65.161 545.908 null] +>> endobj +3693 0 obj << +/D [3680 0 R /XYZ 56.693 500.751 null] +>> endobj +3694 0 obj << +/D [3680 0 R /XYZ 65.161 500.193 null] +>> endobj +3695 0 obj << +/D [3680 0 R /XYZ 56.693 453.795 null] +>> endobj +3696 0 obj << +/D [3680 0 R /XYZ 65.161 454.478 null] +>> endobj +3697 0 obj << +/D [3680 0 R /XYZ 56.693 408.08 null] +>> endobj +3698 0 obj << +/D [3680 0 R /XYZ 65.161 408.763 null] +>> endobj +3699 0 obj << +/D [3680 0 R /XYZ 56.693 362.365 null] +>> endobj +3700 0 obj << +/D [3680 0 R /XYZ 65.161 363.048 null] +>> endobj +3701 0 obj << +/D [3680 0 R /XYZ 56.693 317.044 null] +>> endobj +3702 0 obj << +/D [3680 0 R /XYZ 65.161 317.333 null] +>> endobj +3703 0 obj << +/D [3680 0 R /XYZ 56.693 270.935 null] +>> endobj +3704 0 obj << +/D [3680 0 R /XYZ 65.161 271.618 null] +>> endobj +3705 0 obj << +/D [3680 0 R /XYZ 56.693 214.261 null] +>> endobj +3706 0 obj << +/D [3680 0 R /XYZ 65.161 214.944 null] +>> endobj +3707 0 obj << +/D [3680 0 R /XYZ 56.693 169.788 null] +>> endobj +3708 0 obj << +/D [3680 0 R /XYZ 65.161 169.229 null] +>> endobj +3709 0 obj << +/D [3680 0 R /XYZ 65.161 147.312 null] +>> endobj +3710 0 obj << +/D [3680 0 R /XYZ 56.693 102.155 null] +>> endobj +3711 0 obj << +/D [3680 0 R /XYZ 65.161 101.597 null] +>> endobj +3679 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3714 0 obj << +/Length 1908 +/Filter /FlateDecode +>> +stream +xÚÍ›[“Û¶€ß÷Wp¶±Æ@Ò4Ó¬kO=q/^e¦3N&C‰Äš"’Zíö×÷P”‹+yÔäI" ‚øÎ $ŽŽÞ^}?¹zõFàH#-©Œ&óHR$ãH†XMÒèã‹&7Im^ÞP_üÃ6¦îþÎmÕýi–»‹¯íì{k?uÿ¹ûáåÏ“w0Ì !H ÑI»ksS/iêö2ŒN"£KÖŽÎeŒbª¢t¼_1«¯º"uÛñêo“«_¯ˆÇ‰„DR³(ÖIL£ÙêêãÏ8Já(€¸VÑfÛr ‚eþçÑÝÕ¿¯ðn&ðÉÙËæ,;~¢TlµØw{õšl}âRÁ…mã÷ɺʚÿ½¼‘¿xg’¢¶Å×/o…ÃÔΦ0eè¡Î;y0S­Èöçíá=“!1bzpÖÞc{^`˜1.#Š´ÒQe¢ùç7u íøÙ§P…ˆâû:Á¤m*_ "I_¾ÀÅ0Y.#|þÀ%ÒT ìV`µˆº?v+ààiîgq˜ íCý±L“Ƥ‹à©¬èãö¡¯L]' ãÖ8™ÚuãÖt]¬’f¶tU@^™âP6Ü +r]y殬¼¿§¡ÃQE†®Lªd…6fêxçRSĈ9©£4r‡âÈ VÕ8©8’|çþš¦®ë<ÏŠOn-ëÖ®¬ì<± ·æ³eR6¦rklçní&·oÏ%WÆ +Ü9¹$¹RÄE<0¹•™ƒ«=ü¥ä ˆæ#²Ë8LŒï¡ü@zƒ•õÀ—ÅHQÖ=Õ7Ùƒ+¾Íci{+}{þ',ðîüÓžíÒ¨ [ÖušÝëó—“½·×“‘ÐŽNœyƒHA€áº$oX!Éؼ½Nî³´£íü¢©ö°ÍmÙröMw ŽÈg‡e3ûìèÁ”H +­Ú$c4"…‰„ŒFdO~‘áʺ)4ôÕÚÛ¡BÎ× ëP!h9úè…)L±ö çwÌdEj={ º5Ý,Mᥲs¼P¦Ž1@›+®’êS}Øüyâ ’Š)½¤A’ …ÕÀÀ¢JÊe6«}¬ ØmÅňæ†c¤T<ž¹9”hn‚•õ07œÃqosS¯ËÒVŽ§-C95|Ÿ4Ë÷?¸µÍAÏVÖ§I“œ™‹6FÒê¢`Òù9`fؘ¼ÃšUuˆÞ­²f¹t³ì'S2œú#,éhpöä‡Á®¬;œ\Lj‰}‰weï]é\…™µ­êѱìôÐTÉÐÆÌiÖd¶hwÌCYÁ,8Š]&§ËæŠ!‚Ùx ÷P~à VÖcá*‰˜ÞÕ·qd=°§(“ºÎîMÓ‹!=Ì:WÂ/iÖ¹ˆýcuÎA¦F4êL"ëñØ8”ÈF°²l0„ÜUÝ^÷Œ#œúêtÎäºåPWÚúƒý¥„­n*ÓKÄàüÍé.@³É…G;ý¯™9Þfæ˜m\7u*ã\in«sê¸L}= ˆˆd'TUt¨BrŸ¯>ëN=ŽÛÜÖ¦>V}üQX*­Ÿ0Y&…«Cs-¶¼[×ÍÚQ濲¤¿sáã÷(EŒ]t£Á”r2ôFÃÌ®J[˜¢ñp{L&băþz¼mžü0tÕug—)ÐT1ïBÃ̦fXÔìº)]wïs¢É?oŽoÇd()KYÖð)–óèU“Írsnmöy\eŒ¯lדHS°²4Å)º+Q}oì¬ßúÛ/žÇž3œ~õ…^ëòˆ:_ù{ñÓ%ùõ⸻—RK¡\='“ ~ÑB ãIvN!2‹E Ä-v¹"îç4›æ™½Éj+5öqž ”‰G,2ŠQLÆ {{òqVÖ÷=ê·zº¾¤f +ðÎIʼ²«c\Ÿf|“©ÝÔOÒ;B¾þ2½õëÇÉ›'ã¨kgrIûÎ*»$¹Ts¤°úµ¸ÌƒWª@>â&>RJÆkO~¯áʺóJã&HžñjjgëöÐĽnîS¦Ó¹ý%O¦&÷¨Èl²´W½ðÈ5i¦h}Qîx ÒÅÀÜåYÝølhS¦ÛÌ=#,ÇÛzèÉD/XYôFL?ȆvûÝÅ%Ù<]3úû°â,ÉsH¤·\œm(G8¾èËêÖq»Jü­Ã;5°<º`ºI›ßCO{X¢A =âæ Qí4ãm¾ôä‡Y‡peÝ­Q º«DÞy!Á®s0½€äÔ}ó½}9ešÔÎa}Se®™oVÔ™ký¬[Æiv6ÐÂzQž‰àˆ19,Ï`ÝWIîÃ3-â¿÷"Œ!NÆ{½'?ç`e=xfÅx·§~kWens‡¿;ýçïN;çÖ£;î'.6}HÛzÜ5¹þî™×áã¬èµgý•PŠ¸o7£'?pÝ+ë±î¨Äw»»oöœwíÙö•h0aýfAK$8›w—›ßíëNÚ±¯…9†ÄAŸó±ðÿYb© +endstream +endobj +3713 0 obj << +/Type /Page +/Contents 3714 0 R +/Resources 3712 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3715 0 obj << +/D [3713 0 R /XYZ -16.307 900.716 null] +>> endobj +3716 0 obj << +/D [3713 0 R /XYZ 56.693 742.989 null] +>> endobj +3717 0 obj << +/D [3713 0 R /XYZ 65.161 742.431 null] +>> endobj +3718 0 obj << +/D [3713 0 R /XYZ 56.693 694.923 null] +>> endobj +3719 0 obj << +/D [3713 0 R /XYZ 65.161 695.606 null] +>> endobj +3720 0 obj << +/D [3713 0 R /XYZ 56.693 648.099 null] +>> endobj +3721 0 obj << +/D [3713 0 R /XYZ 65.161 648.782 null] +>> endobj +3722 0 obj << +/D [3713 0 R /XYZ 56.693 601.274 null] +>> endobj +3723 0 obj << +/D [3713 0 R /XYZ 65.161 601.958 null] +>> endobj +3724 0 obj << +/D [3713 0 R /XYZ 56.693 554.45 null] +>> endobj +3725 0 obj << +/D [3713 0 R /XYZ 65.161 555.133 null] +>> endobj +3726 0 obj << +/D [3713 0 R /XYZ 56.693 508.02 null] +>> endobj +3727 0 obj << +/D [3713 0 R /XYZ 65.161 508.309 null] +>> endobj +3728 0 obj << +/D [3713 0 R /XYZ 65.161 497.35 null] +>> endobj +3729 0 obj << +/D [3713 0 R /XYZ 56.693 450.237 null] +>> endobj +3730 0 obj << +/D [3713 0 R /XYZ 65.161 450.525 null] +>> endobj +3731 0 obj << +/D [3713 0 R /XYZ 65.161 439.567 null] +>> endobj +3732 0 obj << +/D [3713 0 R /XYZ 56.693 392.059 null] +>> endobj +3733 0 obj << +/D [3713 0 R /XYZ 65.161 392.742 null] +>> endobj +3734 0 obj << +/D [3713 0 R /XYZ 65.161 381.783 null] +>> endobj +3735 0 obj << +/D [3713 0 R /XYZ 56.693 334.275 null] +>> endobj +3736 0 obj << +/D [3713 0 R /XYZ 65.161 334.959 null] +>> endobj +3737 0 obj << +/D [3713 0 R /XYZ 56.693 287.451 null] +>> endobj +3738 0 obj << +/D [3713 0 R /XYZ 65.161 288.134 null] +>> endobj +3739 0 obj << +/D [3713 0 R /XYZ 56.693 241.868 null] +>> endobj +3740 0 obj << +/D [3713 0 R /XYZ 65.161 241.31 null] +>> endobj +3741 0 obj << +/D [3713 0 R /XYZ 56.693 193.802 null] +>> endobj +3742 0 obj << +/D [3713 0 R /XYZ 65.161 194.486 null] +>> endobj +3743 0 obj << +/D [3713 0 R /XYZ 56.693 146.978 null] +>> endobj +3744 0 obj << +/D [3713 0 R /XYZ 65.161 147.661 null] +>> endobj +3745 0 obj << +/D [3713 0 R /XYZ 65.161 136.702 null] +>> endobj +3712 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3749 0 obj << +/Length 3367 +/Filter /FlateDecode +>> +stream +xÚÕ]mã¶þ¾¿BHöè2$ERRÒ´MCÚ¦¹ àr(d™^«+KŽ^nwï×—zqz’-{¸#îµö­åјšg8ó̤ޭG½o®¾º¹úükI½ˆDŠ+ïfã)NTà…Ì'~àݬ½·/~ЙŽ+ýòšKúâoE­«þí¦(û7õvøðÏEòUQÜõÿùéÍw/ßݼ6·¹fŒDRöÒÞÔ™®¶Z×Uû±¹;óBswå·w* ½kI¢`¸(ŒÀ |ñyÿÂTÔ~ñê/7W¿\1#žzÌ“Š¨È÷‚ˆE¹—ì®Þ¾£ÞÚ|f " +½ûîÊ'%ÜWæ}æ½¹úÇF‚Û·íË7I6ãÁî""ŒªVrûwIžByœDaä•ÚÛÌŠ‚ÞÀ Áá½`Ö^•/ Sl*_RF‚îðñ0+ñhe;å­×¿ùa°Dó;[%Š F„?XÏ·y÷ìçÅxo¯íMva¼ÊÆ—š»áÇßy±ÊŠä(ZïöY\Iÿý¬ôîkñz­×°;Ä°Ë’­†êÜbzÙ^¯6Å¿î´ÞO‡áz~ëâV›Uùþ[Ë® +èoŒëñ•#[9 Šy@XºCñX>Åhe-Pì7¨ÅñS±9{é.~„]¸*u|7±—©¤ó¹Ö{¯Óüv—bi75±ñÙëÞÇYsäpÌOc|N½¨ÃÙÇ·úéãŒûí¾s³M+˜ôûxa®õ‘Ó½Œu¦70r†õ±|$ÖÑÊZ`ED²!z«Ò<Ñ £¡hjèä°)¦ÖõÅ2“ûŠ™ª)Ë¢Éו…-<䊅%æêó1Ô}ZoÓÜâI‘5»£/üá³ùoÄÙ}üXM¿1|á2²©$Üa(>Ä5VU XÓHö°^çÛµÞÄMV[Fh÷Û4ÙçšR¿×y]9Ï æ[;‹ÙnD\žðþ”•þÀUs{*ºù ”ɤ/Ç:7iYO†*ÄgÌf&òq Á+ GŠ"£¨G…U­ è#Ï àLTêj¯“ž·=5ÿjNôµ*bÄçC¬Ì¼s[K¤THÙϜˑþ“Çh.5vFû‹ÿ7eZèQôZÇyUä_¼¼f¼uD)y¨2诖F®pH')º›Ã&ò‘xD+kGII tÒçZ6ú˜±¦UÎ'¿,‹c–ê\üS'G“Ìg`D +Ñ1¦Ï‰HΈ ňLó,͵ *#F‡¨¤”(ÅÝ¡r,‰J´²¨¤~ûÝî‘þXièÄWîâ,ý -R‰j'§z™$I¤Î­ ×*“ ƒÂ¤Øíã25v[ÙóRФªû¶ÞeÓÑù|þö=Â,R¿_±ø´`Aš`Jâ9]“ 9ð–‹y¦¸©‹tý`ᚤ2jD;×$¥OBßs=‘sMxeá®IÊ€0®µÐ]ñ2L“ÍáÏo{Æ=%ÅþO¯ÞwL&^§É´Ò´@¾j‘-—·º†RÔe +OƒÒÅ ~§ªróDDZyˆ<ÞÍDhƬäGf%Œ=¼ÄÏTÐá¢ð£‹L¾Ì͇Ê :‘ô he-<0„‹팾Mª™²Àåq6jRêÐå#Ç­¬…f~\tà ]Ž½Ðù,®È-.>òm`Äž£ä¡Bú +<«›”Š²gÍ-E({Jj™&ÛXg-5Pï:â¢ûÅov打_¯úOLàóÑ7EQçEmC “ +3ßa*”o^Ýå ù8Xã•…ÃZ˜{šÖ¤uïãUš¥õã²ÙÖ×7jì›záÖÃuZ™ îcýøÃwÕÂ*ÄYfY’ÎÜåfùHÓF+kaÚRãIzÓÞš¹¢<rAT¨ÎôÞ°‹Ë;(ŠšýÒdÁCû-ú|¶Æw-³®ËtÕÔº²ï|2×rÙú#\¹3þ‘x¤ícUµ0}!ˆCÆ\Mù£3Y0ЛC³e²±ÈTchþg¥Ž×Ð~·|=mcù‹Þ#(ÇQ;)ªÉ“µÈˆ„O‰OÝežùHŒ¡•µ™ï)‘NáË +NÔ¶æãœrYDæÍn¥Kèütå+LiM°ˆøÂ]J=‘4 gʃAC⇾»ÁËGZY 4µÁ³~'w·]oóÒ«" ŽÕ¤Áù­ž ¤.š¼Dpéì)Oäãž2^Y‹§L) ïŸòaQ牉T^XU’eÅýÉHþLçR³JiÒºh溷çîÖF'zk—ë4Þµ5|Ø¥EMÐsh¾rgtûaO83ï±|¤y£•…›·F$þ°-”C~¹h·à¯ù.ìò7ðþÐöüx _Ô5ÕgHnŸv_FLÐsÎ3–D ZY Ä! ¢¡?3µ^ÍæEÀuÛãuŽóI´1š¥AqÐÕ¸ò8'áÖë ã£'ñ»3­EËRÀI‘×e\Õ® ¨znÄÇò‘PD+kEÐWc3±\àSäÙ#˜ŸF|ø ŠKp'G» +&ݤ‰Õ¼ÿFÚ¢Jz¼& Êüø²'8œ!e,‰´²H‘Š„‡MdÀ3 <7Ã4p™3Æ ï¡(i Ë–=f‹6/ Ü“/8QîØ–±x¤»Ru ¿çWœ ÅX>r,ÐÊZ€ÙÜ¡»PCC°´ªÁ ´ª]·°‚Ô"ÞëEóÆn™¯´Ú-\¶éŠ&àñ +ñ¶‘ïÉ%g&>–4q´²&· Úiê n7ãËØ\åû´•ùæyq!”^A[\LÝ6!µ]€ïÓžÔr«±|$¬ÐÊZÀŠù„Š¡d^+ß—~ÛFîÜv2phÃ;¸ŸÛ±Â£žÎr…•‰|VðÊZ`…rBáðó)š”ÛúëDeð ^¹ˆ,6S,À«PŽ.›{ØSFÎÌ},iîheáæÎ#F +As©÷…É_çñ +n`îþáAœ†€’ +»êúOµé\¶ò §{œYùX>ÒÊÑÊZXyHÍë¡xóßÕôévë¼GD]yj鵊Me csWE™ÈGb­¬&TD86Ù.¾¬ôdy†ý¯¶Å½sÒù¼ +§ávf‹×2ÞUn+°–Œ\ö¡3cËG»3e‡ÁÓ±Tj#ž'­á" <íÛ –΀k'y‰EÝœÁLÛ –!5ªf¿/ÊúYøŠË~Àï gæ?–„ZY øŠø‡ÕÁpãNŽV»¡çÇ*Ýí­Ž]x°È]N»Ð}v}½XSDÒ”¥1N(B¡þaWT¶gpÞ“6Îì},iïXeç­›Ë_¬9Ÿ€ùz0[ÿϸÌO¬íýâ|Œ°øa¡ÿmü…®‘Z/N5¯u»sbšëjé¢å¡d;'ø‚‡'ÿLä# ­¬…ûQ‡“úÚ÷ «*½Í—•©c(zÚ\°½v‹&g§Å M;m{‰~q{¼'Qœáa,‰´²xàŠâ°ê6ú?}C;·õþÔÐnø~ƒƒÇ3<÷[‹Ó‹ÁGª–uš4YlÛÂXÏS83DZ|¤9¢•µ0G&I2×½®i^Õ1øT(åêf ú¬;}uÉBc [Ú{_ÚsÎÌ},iîhe-Ì +òÛÏubžB\¦à ¥ÖðC²îÌ’õÂäΦ)áηÖËÁgŒ·'’Æ™³3棞jpeácñ8G« +·ïÈ'¡òOîPröŒÍÜb k‡ÀTQƒ7D‡¶3g¬“úô™—:% U¼ª€nkjfT“ÕÚ,P²ÝS$ˆˆbîxü±xä±ÎXUáÀ t*ì€v…¹“ÜK/9jÒ™³Ç—÷YÓaó~J¨êXÁ·ï¨·6½6O¡=8ó¾»p×üÀ}eÞgÞ›Ù«ûÊ +endstream +endobj +3748 0 obj << +/Type /Page +/Contents 3749 0 R +/Resources 3747 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3750 0 obj << +/D [3748 0 R /XYZ -11.232 900.716 null] +>> endobj +3751 0 obj << +/D [3748 0 R /XYZ 56.693 759.068 null] +>> endobj +3752 0 obj << +/D [3748 0 R /XYZ 65.161 752.393 null] +>> endobj +3753 0 obj << +/D [3748 0 R /XYZ 65.161 741.435 null] +>> endobj +3754 0 obj << +/D [3748 0 R /XYZ 65.161 730.476 null] +>> endobj +3755 0 obj << +/D [3748 0 R /XYZ 65.161 719.517 null] +>> endobj +3756 0 obj << +/D [3748 0 R /XYZ 65.161 708.558 null] +>> endobj +3757 0 obj << +/D [3748 0 R /XYZ 56.693 661.05 null] +>> endobj +3758 0 obj << +/D [3748 0 R /XYZ 65.161 661.733 null] +>> endobj +3759 0 obj << +/D [3748 0 R /XYZ 56.693 615.467 null] +>> endobj +3760 0 obj << +/D [3748 0 R /XYZ 65.161 614.909 null] +>> endobj +3761 0 obj << +/D [3748 0 R /XYZ 56.693 568.643 null] +>> endobj +3762 0 obj << +/D [3748 0 R /XYZ 65.161 568.085 null] +>> endobj +3763 0 obj << +/D [3748 0 R /XYZ 65.161 546.167 null] +>> endobj +3764 0 obj << +/D [3748 0 R /XYZ 65.161 524.249 null] +>> endobj +3765 0 obj << +/D [3748 0 R /XYZ 56.693 477.136 null] +>> endobj +3766 0 obj << +/D [3748 0 R /XYZ 65.161 477.425 null] +>> endobj +3767 0 obj << +/D [3748 0 R /XYZ 65.161 466.466 null] +>> endobj +3768 0 obj << +/D [3748 0 R /XYZ 65.161 455.507 null] +>> endobj +3769 0 obj << +/D [3748 0 R /XYZ 65.161 444.548 null] +>> endobj +3770 0 obj << +/D [3748 0 R /XYZ 65.161 433.589 null] +>> endobj +3771 0 obj << +/D [3748 0 R /XYZ 65.161 422.63 null] +>> endobj +3772 0 obj << +/D [3748 0 R /XYZ 65.161 411.671 null] +>> endobj +3773 0 obj << +/D [3748 0 R /XYZ 65.161 400.712 null] +>> endobj +3774 0 obj << +/D [3748 0 R /XYZ 65.161 389.753 null] +>> endobj +3775 0 obj << +/D [3748 0 R /XYZ 65.161 378.794 null] +>> endobj +3776 0 obj << +/D [3748 0 R /XYZ 65.161 367.836 null] +>> endobj +3777 0 obj << +/D [3748 0 R /XYZ 65.161 356.877 null] +>> endobj +3778 0 obj << +/D [3748 0 R /XYZ 65.161 345.918 null] +>> endobj +3779 0 obj << +/D [3748 0 R /XYZ 65.161 334.959 null] +>> endobj +3780 0 obj << +/D [3748 0 R /XYZ 65.161 324 null] +>> endobj +3781 0 obj << +/D [3748 0 R /XYZ 65.161 313.041 null] +>> endobj +3782 0 obj << +/D [3748 0 R /XYZ 65.161 302.082 null] +>> endobj +3783 0 obj << +/D [3748 0 R /XYZ 65.161 291.123 null] +>> endobj +3784 0 obj << +/D [3748 0 R /XYZ 65.161 280.164 null] +>> endobj +3785 0 obj << +/D [3748 0 R /XYZ 65.161 269.205 null] +>> endobj +3786 0 obj << +/D [3748 0 R /XYZ 65.161 258.246 null] +>> endobj +3787 0 obj << +/D [3748 0 R /XYZ 65.161 247.288 null] +>> endobj +3788 0 obj << +/D [3748 0 R /XYZ 65.161 236.329 null] +>> endobj +3789 0 obj << +/D [3748 0 R /XYZ 65.161 225.37 null] +>> endobj +3790 0 obj << +/D [3748 0 R /XYZ 65.161 214.411 null] +>> endobj +3791 0 obj << +/D [3748 0 R /XYZ 65.161 203.452 null] +>> endobj +3792 0 obj << +/D [3748 0 R /XYZ 65.161 192.493 null] +>> endobj +3793 0 obj << +/D [3748 0 R /XYZ 65.161 181.534 null] +>> endobj +3794 0 obj << +/D [3748 0 R /XYZ 65.161 170.575 null] +>> endobj +3795 0 obj << +/D [3748 0 R /XYZ 65.161 159.616 null] +>> endobj +3796 0 obj << +/D [3748 0 R /XYZ 65.161 148.657 null] +>> endobj +3797 0 obj << +/D [3748 0 R /XYZ 65.161 137.699 null] +>> endobj +3798 0 obj << +/D [3748 0 R /XYZ 65.161 126.74 null] +>> endobj +3799 0 obj << +/D [3748 0 R /XYZ 65.161 115.781 null] +>> endobj +3800 0 obj << +/D [3748 0 R /XYZ 65.161 104.822 null] +>> endobj +3801 0 obj << +/D [3748 0 R /XYZ 65.161 93.863 null] +>> endobj +3747 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3804 0 obj << +/Length 2574 +/Filter /FlateDecode +>> +stream +xÚÅ\YsÛÈ~ׯ@mBUEc̉Án¥*ëu¼—ÄVj·ÊÞ‘ˆ@ €’•_ŸÆAY%±G(O‰a£1Óß×Ç4Ë ~3°˜éL×~6ïÇ þÊâ™ÅÍS»>çâÊ”èƲ…ßgËÚ¢Ñn_©Î!(±ûø]ðàD®LSÙ‘C>[ŒÜGKûä˜ÖDFÏÚ Çb”?¥îm–®“7ûõº­õt•ç5×.Ûµó`ï”t¦8&$rº¦¸|OÖóVŸ„1¡aª©û¾_ÓºS\ÃX%éØO«]%ef·þ1ÆjGÖÁM‡02Úfùâ€Ïˆ "âéšÓò=íÛ[Yûæ@%»®òm±Àºôn–ׇiG·Ì*lȽ½@ú¬Èí2¿ë䛓¶F·»act°9y5Õ¡ŒqˆÄ§ëÈ÷D–·²ÈbŠhÆ÷ u-‡c“6|€]³—½ñý™ RGóecÒÚ,FF+‚óÒ$Ø[*nîI/Žƒ†2ˆg§ë +È÷·² ¡’hÕw…˜¼2OÎÂf£L?gÆ@uD¨œ(aXØtní¥Ã® ""˜š.g `BM×"2ïgÄþÊ☪˜D»·±$9COl§XåÚqCݱò>ÏŠþýÛδÎVèmÚ¡¡i¸õðPvàlMÃ"óqŒIId8ÝÎå@¾'¼•u€€„´9V·Èšü³Æ/Yu°!‡Ã–#´îÃÊñd‚ˆ +{ÏØÆi¿4OÒËqKxÃØãø‚H1]oÍ@¾'>¼•uÀ‡ˆˆÞ½þ«‰ÉG.©8˜É¦´)ä‡hgпƒ»WµÂ> ³­&y_Nã \sZÊ!MŒ§ÛÈ÷4[oeÌ–CNõ-)W¦¬²±ŸwÃo9×7y»'뼶áîvÏ–„fOŽÙÕ®¶ÅåYj×k[8ä1HŸðé!H€„ž6ûâýPã­*4qzÆ»7=è^š<+.[7…ã)ÞIsðH’PÅOy äÿ{µ¨ +endstream +endobj +3803 0 obj << +/Type /Page +/Contents 3804 0 R +/Resources 3802 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3805 0 obj << +/D [3803 0 R /XYZ -16.307 900.716 null] +>> endobj +3806 0 obj << +/D [3803 0 R /XYZ 65.161 760.065 null] +>> endobj +3807 0 obj << +/D [3803 0 R /XYZ 65.161 749.106 null] +>> endobj +3808 0 obj << +/D [3803 0 R /XYZ 65.161 738.147 null] +>> endobj +378 0 obj << +/D [3803 0 R /XYZ 56.693 701.337 null] +>> endobj +3809 0 obj << +/D [3803 0 R /XYZ 56.693 674.022 null] +>> endobj +3810 0 obj << +/D [3803 0 R /XYZ 56.693 628.205 null] +>> endobj +3811 0 obj << +/D [3803 0 R /XYZ 65.161 628.888 null] +>> endobj +3812 0 obj << +/D [3803 0 R /XYZ 56.693 582.096 null] +>> endobj +3813 0 obj << +/D [3803 0 R /XYZ 65.161 582.779 null] +>> endobj +3814 0 obj << +/D [3803 0 R /XYZ 56.693 535.987 null] +>> endobj +3815 0 obj << +/D [3803 0 R /XYZ 65.161 536.67 null] +>> endobj +3816 0 obj << +/D [3803 0 R /XYZ 56.693 489.877 null] +>> endobj +3817 0 obj << +/D [3803 0 R /XYZ 65.161 490.561 null] +>> endobj +3818 0 obj << +/D [3803 0 R /XYZ 65.161 479.602 null] +>> endobj +3819 0 obj << +/D [3803 0 R /XYZ 56.693 418.23 null] +>> endobj +3820 0 obj << +/D [3803 0 R /XYZ 65.161 417.672 null] +>> endobj +3821 0 obj << +/D [3803 0 R /XYZ 65.161 406.713 null] +>> endobj +3822 0 obj << +/D [3803 0 R /XYZ 65.161 395.754 null] +>> endobj +3823 0 obj << +/D [3803 0 R /XYZ 65.161 384.795 null] +>> endobj +3824 0 obj << +/D [3803 0 R /XYZ 65.161 373.836 null] +>> endobj +3825 0 obj << +/D [3803 0 R /XYZ 56.693 328.285 null] +>> endobj +3826 0 obj << +/D [3803 0 R /XYZ 65.161 327.727 null] +>> endobj +3827 0 obj << +/D [3803 0 R /XYZ 56.693 259.411 null] +>> endobj +3828 0 obj << +/D [3803 0 R /XYZ 65.161 259.7 null] +>> endobj +3829 0 obj << +/D [3803 0 R /XYZ 65.161 248.741 null] +>> endobj +3830 0 obj << +/D [3803 0 R /XYZ 65.161 237.782 null] +>> endobj +3831 0 obj << +/D [3803 0 R /XYZ 65.161 226.823 null] +>> endobj +3832 0 obj << +/D [3803 0 R /XYZ 56.693 180.425 null] +>> endobj +3833 0 obj << +/D [3803 0 R /XYZ 65.161 180.714 null] +>> endobj +3834 0 obj << +/D [3803 0 R /XYZ 65.161 169.755 null] +>> endobj +3835 0 obj << +/D [3803 0 R /XYZ 65.161 158.796 null] +>> endobj +3836 0 obj << +/D [3803 0 R /XYZ 65.161 147.837 null] +>> endobj +3837 0 obj << +/D [3803 0 R /XYZ 56.693 102.286 null] +>> endobj +3838 0 obj << +/D [3803 0 R /XYZ 65.161 101.728 null] +>> endobj +3802 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3841 0 obj << +/Length 2530 +/Filter /FlateDecode +>> +stream +xÚí\moÛÈþî_A @›õd_¸Ëå5¸Ã]î’æz ÚØh ä‚‚¦Ök¾¹Šíþú.Eê΢,iV+:A‘/¶D-‡ÃÝyæåÙ!IpàÕÉwç'Ï^ +ÄK&ƒóË@2Q (ç³àý“w:×I«Ÿž2Až¼­Œnû—UÓ0óáÇï«ô»ªºî¿üë짧δ—9¥b!zigæ.×í\kÓv?Û«Ó@Ù«KÞ]=”DL§âh¸¾’V`¤ž<ëÿQw'žüp~òË µâI@!AÆ<ˆb +’° -NÞ ÁÌþf€0VÁÍrdJ€qi?çÁÙÉßOÈ0d댬d‡1P"{~fL,µXö쥲¼°;GA(•ýa9øM²h2óߧ§’'?ê¤l«ò«§§”Ù¯&¹È5ܶy/ÍÎS'°û÷jýíºÐˆ·Z„¼»Ãî¸ v¾B0ˆU4:¸¼KkÒ>ºy¦€ªpu^0íFûÊ@%Ë„Bd§ +s…ûË-!fñ”] +l®‚þûaý×Ör¥8§Ú Z.é·³™ž­À¦¤àýrÁÜ°Ëì7ÐT¸qEr­q#›ê¦Õ5ònê:¿;®¢û@ Ì“Ö ï7°ºDë˜ ×;+qãtiš;s‘¯¶¦XOÀ¬]Ú_=<Á–ÿÛ] aÀ=Äfé<ÑùÏDSØ¿´w†gEfæ+WØÞ•Uíà +eÌ€Óx:W()¦ò„ëâý¡·ªx?(U2bóYVÔyv™¡a‰ØšF'Ež•XÉs+Ú¿:.î«…©H§ÓåC¨ß¾={=Fýép`ó;6cZ—¼‘ÍzÎv×å{¯·²ÖqVüÒz/eZ7•©Ì]­6+èO[WÏ)¦UÓèÔ5¯°÷g3ÌæäÕo’yOÉ¢EÃrsö[ºˆ! Ùt–¾.ßÓÒ½•u°t;Aï }–˜ä¸IÛ6g«°96oB§‹.¾»Nš¤ÐF#=øL_fef²ªl·¤oÛÎ|‰ ú6±¡Uoñ4ûaÚüKñé`±.ßÞÊ:ÀBXM£!‡E‡ì¤Äqk’2Å‚#ÖhfžmXÚWXSà6]E?’ïi +¾Ên.|$¬äÎb (:ÔïÏ·§[KW`>žî¯·Ÿò±ÊÖ³Ô@[0©à”‚C²ñÇ%&€Û©ùíè>E6|ÒnM:G_›3ž?;ä2ï?ì=oû<í7K&í4ˆéÌr]¾§Yú*»Ý±”â4Àžð~M’^ë½ÕYþÖUáÛ×5+gYštΆuIÓ$w¦ÝБ;çæF7ØÉÑè»›5U]jP’F2"’IÒX­Áæ~Ÿ I#bÑtˆb+qº:w$ßωø+‹Os„â@Ød^Ì“ò +K¤üåüÍOŸ’rùëk¿ßî«ÞùÑ(;«qhs¤ö8òó¹öªLöO*ˆÔtuñH¾'2¼•u@FÄ€ ôå¶:nGC.[Yaëc‹Ìæø-¶šÆÒÝ6¥{.aæÕâj~äº~ c·"Ŧ+‰Gò=á­¬"$J‡’¸5Yž#m¬}(I;–ãktÒVå‘©w´‘¥ËyÐ<]ÝPs¿q‡”œ®ÈÉ÷4noeŒ[ bH‡¯‡„Áú¼Ež¸œÑí',äv;N+ª–ÒE'F^ýÖÚirÖy?,¸€˜LG2Œä{ÂÂ[YXt}Dñ@;|!é'!é½£Õ˜ZÙoî,„8œ®ea$ßÓܽ•u0w¦€ñ°7÷Ï‘¤”Ûû¦[¹uùž+ç«ìV’^ÐX$¾ôŸ I/HO#Mf–ëò=ÍÒWÙíîƒHàT~!éÿ/Iú0^2BSÙøºx?÷V2ÃغA1eèªÝí™nÑMDGn%žéÉ]Üdf^ +ßi…æ *,߈¥š#Ïy:¯½ã‹Ú1 UOLM†ÌuùžÐôVÖ›*nS—%6çV‚kýäßÜ;ËÚ:GcŽÆTy(™½«T+×vÏ lA;†Ø~@D=™5 Öå{Â[Y@DÂ{åúiÿ,°ÁÊ…©ÀÛlâBf®DÆ,ÈÐá#ïžïCüe‘a‰J,OY7Ú˜;_4îG™è¹±ÉP¶.ßeÞÊ: ÌNP¸zþ»—Ñ=<ŠÍ±›3ØrÛ¥Ü.Ž½¯›•}èÈ°[X؄С,Ú uï¯H`$|ÌÖ¥sXõ¬½s©ÎÚ–BƳ —BÊ€Ë鈕‘|Oã­¬ƒ¡¤¨–E=K ¶qé¦jfGïFšUé‘· Ü$th_úÛk×€GâŽñ|D¤s%-~åTPï +¸½Ñ~ú[åº4Ãw×.FId§~N·}?’ïçü•Å».(ÎVo¢(ªXw€.‹wœÛv1ot;¯ò™C¹î˜ð¿ÞøØáR¦oeÛ,‚PÓmÐä{¾·²†ß5€­žßsHú­ž}¢½üÝÇ‚fŠæI[:X´ÁæÐyïm†Þ'.ÆÛ‹ýa$6åæ‚‚ˆõiÎHÅŽüV›«&©çYÚº„Xª bFØN¢œŽKÉ÷t4ÞÊ:8J„Êù½6í¢®«Æ|ªͬ¸r½m“:Œ®ìæ#¥Žž†³¼Â \!Í1Ox‘W­Æ2‹«‡Ûï¨RŠÊíÜH‘Â]S”PGvné|Q^Ÿ¦UQT¥ƒƒc‘UÆï}=»=“ö— ßW3’ïçáü•Å{8&C`,töpEÖâÛbÛ:Iõ¡Ì&{qø¨8ãȪ#Î o;b³ì¡ñÏ$o-»-$ꪴU¶ *˜U#¢¢‚†@ét[f#ùž¨ðVÖ4‚aù_bß=7Û¹¸9ºÏçW«A&™É±‘++Û [’t„=²Å%×…U·Åîià·ŒÃs—X'V7U­›ñ;ûöãÒf…”ñÇôH6ŸF> úŸFV•PN畨Œ€)5™WÉ÷óJþÊ⽈Uð<Û7»˜›"ÿwkFÍH»Iõe*‡ñº¸Ðøì½s•ØV«$¯çÉ…6YŠms«šÙfÏ0öBÔ“OØü;’ïi¤ÞÊ:©ˆA®Ú/³[4%­oÍq·§Î_ ëÄV§{Ñ+T;€Í¦Š•—wx?/ø£n\SN d‡lg}Ÿ|Ìf}¸zÑQ ÍañŠÙëË ÷§(‰Aéö§Fò=]·²®€2ˆbö¸ìÙpøù7;ž1YÆCì»Výƒ¦=þÍ×»9'›‰¦Ú¡¢îúøšÅnk?ˆAõÕÈŠƒ$ô˜`L3­¶²ïù…AüCo ¾cÃõEøÿ3x« +endstream +endobj +3840 0 obj << +/Type /Page +/Contents 3841 0 R +/Resources 3839 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3842 0 obj << +/D [3840 0 R /XYZ -11.232 900.716 null] +>> endobj +3843 0 obj << +/D [3840 0 R /XYZ 56.693 742.989 null] +>> endobj +3844 0 obj << +/D [3840 0 R /XYZ 65.161 742.431 null] +>> endobj +3845 0 obj << +/D [3840 0 R /XYZ 56.693 694.923 null] +>> endobj +3846 0 obj << +/D [3840 0 R /XYZ 65.161 695.606 null] +>> endobj +3847 0 obj << +/D [3840 0 R /XYZ 65.161 684.647 null] +>> endobj +3848 0 obj << +/D [3840 0 R /XYZ 65.161 673.689 null] +>> endobj +3849 0 obj << +/D [3840 0 R /XYZ 65.161 662.73 null] +>> endobj +3850 0 obj << +/D [3840 0 R /XYZ 65.161 651.771 null] +>> endobj +3851 0 obj << +/D [3840 0 R /XYZ 65.161 640.812 null] +>> endobj +3852 0 obj << +/D [3840 0 R /XYZ 56.693 593.304 null] +>> endobj +3853 0 obj << +/D [3840 0 R /XYZ 65.161 593.987 null] +>> endobj +3854 0 obj << +/D [3840 0 R /XYZ 65.161 583.029 null] +>> endobj +3855 0 obj << +/D [3840 0 R /XYZ 65.161 572.07 null] +>> endobj +3856 0 obj << +/D [3840 0 R /XYZ 65.161 561.111 null] +>> endobj +3857 0 obj << +/D [3840 0 R /XYZ 65.161 550.152 null] +>> endobj +3858 0 obj << +/D [3840 0 R /XYZ 65.161 539.193 null] +>> endobj +3859 0 obj << +/D [3840 0 R /XYZ 65.161 528.234 null] +>> endobj +3860 0 obj << +/D [3840 0 R /XYZ 65.161 517.275 null] +>> endobj +3861 0 obj << +/D [3840 0 R /XYZ 65.161 506.316 null] +>> endobj +3862 0 obj << +/D [3840 0 R /XYZ 65.161 495.357 null] +>> endobj +3863 0 obj << +/D [3840 0 R /XYZ 65.161 484.398 null] +>> endobj +3864 0 obj << +/D [3840 0 R /XYZ 65.161 473.44 null] +>> endobj +3865 0 obj << +/D [3840 0 R /XYZ 56.693 425.932 null] +>> endobj +3866 0 obj << +/D [3840 0 R /XYZ 65.161 426.615 null] +>> endobj +3867 0 obj << +/D [3840 0 R /XYZ 56.693 379.107 null] +>> endobj +3868 0 obj << +/D [3840 0 R /XYZ 65.161 379.791 null] +>> endobj +3869 0 obj << +/D [3840 0 R /XYZ 65.161 368.832 null] +>> endobj +3870 0 obj << +/D [3840 0 R /XYZ 56.693 321.324 null] +>> endobj +3871 0 obj << +/D [3840 0 R /XYZ 65.161 322.007 null] +>> endobj +3872 0 obj << +/D [3840 0 R /XYZ 56.693 275.741 null] +>> endobj +3873 0 obj << +/D [3840 0 R /XYZ 65.161 275.183 null] +>> endobj +3874 0 obj << +/D [3840 0 R /XYZ 56.693 227.675 null] +>> endobj +3875 0 obj << +/D [3840 0 R /XYZ 65.161 228.359 null] +>> endobj +3876 0 obj << +/D [3840 0 R /XYZ 56.693 180.851 null] +>> endobj +3877 0 obj << +/D [3840 0 R /XYZ 65.161 181.534 null] +>> endobj +3878 0 obj << +/D [3840 0 R /XYZ 65.161 170.575 null] +>> endobj +3879 0 obj << +/D [3840 0 R /XYZ 56.693 123.067 null] +>> endobj +3880 0 obj << +/D [3840 0 R /XYZ 65.161 123.751 null] +>> endobj +3839 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3883 0 obj << +/Length 2574 +/Filter /FlateDecode +>> +stream +xÚÍ\[Û6~Ÿ_!dvÔ ï³—¦Mš Åv±;™ $E Ë´­Yòê2žé¯/eËÉX¶ìCSröÉuxDñûΕÂÞÌÃÞ»«o¯^¼ØSHI*½Û©')’¾†˜ïÝN¼×7:Ña¡Ÿ¨À×ÿÌJ]l¾N³|ó¥œ7ÿ|“E?fÙÝæÿ|øÇóßn6ÓŒAJˆ´åc¢‹¹ÖeQÿÛÌN¼ÀÌ.Y=;—>òiàR~3à~pýbóA¤ª/¼úéöêWĈÇñ„DR1ÏWIL½hqõñ7ìMÌÿŒˆ«À[­G.jþš%YQ„ù#z(šyúƱÑ" Ãñ€4Æ(ŒZòÝxÀ]Y8HÅ‘ùX?Ñ·ñ”ÆÕì²ÿDÁ‰R/#j»CÚHDÝàý²—N’Â<«à]TÆþ‚Ö¶6»áÆ°€ Ë2ÇU Ýf“£‹«ÓÒfy×þPó­½0{J<ÙS|„ 5®þ¬èzY‹ðžŠï›C\Ò‡‚› EÎð!~ «<.ßx?ë0-²tëFÄi§Ú‰œ¯c’áœÆ`j8'bW¾£ᬬ…Á$ +¨oL„@@êÅ2 ¡v²ttŒâRãq·)ç´©¼…úóÇ¥ÎÍ>¾Þi˜Ï40¸Š‹ž}—e˜·èŒL{ž<×Sm¦Z[§í`ø +ð0¥èkèÕ?¶wÄ;BÛUU²p`|*P`]/eX¾ƒ.1!HR2ÜïÊw\dge-ø“p¤Ì¶^¯r˜NÎÃVóó³n‡mž•PÆ}(ÛOùÙqJìŽî¶îéËB'@R24cb$¨‘Šq×8£»&ÿz–ã†dŒö%7aPî“à[;nÂ7jˆ³ÀBrä«á²À-ùnÄã®,œx„ Í_8 Ü9ðÕÞ§dÔzy$g«~A OôÄÆ'Õ6 , /ð¿k¶©^Y²|Û8ž#×æ^"Ý1Ïin l8¿¬%ߺÎÊZ@WøˆÔl^C÷>L* M;æÚ +äúàÿ„>RjÉò\Ë,…g= Y›[mE)§7ëçqî3Pï˜ø| pub0‰î1ØiˆqŠ¸´FK¾#Äœ•µ€—æ³IkT‡lÓ¾· åMä.t©ÛÕÒeäë¿&"Â{ ì⨃„å77î6%Ÿì^çy<®Eý4þ1[{8øíˆwDŸ«ªàcQÜÄ&`ö3q«ÎÓX+üõˆžzÖî4$^G£¸ðZ®¼ú’bÊÎ2Uæbês@CUAÍãb䢡*–ÿ[‡ª\5„.TåuâMÉÁØ %ßÜ•…óÄÖ·ä»AØ]Y8„™âÈßv>¿ž‡éLƒËF<Ÿ5ͳ…eZh§“lµg<ÍFøDz¨Å§çúõöíÞ<Á3(z™qÆøe•™y|â¬Få›l¬ó²n>–_ ï½°eÂh1d£2ãɯ¦½ØîÊw„­³²°å>Rä‹á N.ô®7 ÔƒNÁƒ¨õ¯û{chÎÀîÆ&ñýÙ5lfÜ#ÉøEyÈÌܳCÛp68N ÊHTÃÕÀZòÝ8Á]Y N0šÖ]J¶ÞxÝ: 6ä¯òl¿Ðû·#¦µŒöŽ +5ÎIÝàvA™Ð JôŒ õa«Ñ&Pcé/›Qe\&zÎlrnT¤Ø€Ñ®q¯òùpøÚ•ïˆ/geáø¢‚#ºmì¾ÑÓ0*³òêY˜¤Yïÿ_k¸ŸÇ…™æ×>Ô÷ÝqzÒ^ßwŽ´OÙ´&_‡6‰·iœè4\ØV‹)Ç1Xvå;‚ÅYY °p†nRƒ‡+ºGj®°q+$ýJoÛÍÁÜχwM×EÿzßsOJÞéêõ‚EQVÙdò7Çå`ÂÛ=VÝýªûi0R…°®ZÔ’ïFge-ÀÈ(bÛlÝùp«àÖ•â+´t\Û˜-j>Kð™T0{¤ ‹À’R‰°¼h©‡b†ˆ`ÿ¿~1QFA5œ[LŠ Ž#—–|7rqWN.$HmHÕr¦ 2ë~=÷jw¾ÀW˜+ñÐ$šûœ±Co/¡0‘+õ‡Ë•¶ä;nPge-6¨Ï‘hÒ"ö]áÉ^ÅôìÔR4x‡A-[V•ÆA_ÃÅÕ\÷} +Îíö¤3]ì-ñŸä“zïð´}/ ‘12\‚¤%ßhÎÊZM2$q“ yµ«It¼zh½æèx7lç©KW7v5£9Ð5 û_Êî{Ëo7Ñ©ÎÁ†4.Âû7‡Î=þJ¸BL —9iÉwD‘³²(IÞxÚ¹.ª¤´xÙV¯¯°Ko$ñ]ÆÕ?Ò‡§«Ù-̽—§=)>¸7*[D¥Ó +éŽué4–X€Ø€m²-ùŽXrVÖKu6h«¸œgUß ìÞÞisô˜U@{TŸåÀ=ºK¡ÇIÈù×´M¿¤e§=¿AåH-š!ÔGœ ×OÖ’ïˆ8ge-Ç0ò©8mu;>p#“Íâ¨_~áoz[.“¸ïcGï4‰Tðª}˜ÚžSž÷õZá‰#Î/ÚBG ¦ã=g4êÌâÉj綽I¸.ÇIu΋„ÿ;ˆ +endstream +endobj +3882 0 obj << +/Type /Page +/Contents 3883 0 R +/Resources 3881 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3884 0 obj << +/D [3882 0 R /XYZ -16.307 900.716 null] +>> endobj +3885 0 obj << +/D [3882 0 R /XYZ 56.693 759.068 null] +>> endobj +3886 0 obj << +/D [3882 0 R /XYZ 65.161 752.393 null] +>> endobj +3887 0 obj << +/D [3882 0 R /XYZ 56.693 704.886 null] +>> endobj +3888 0 obj << +/D [3882 0 R /XYZ 65.161 705.569 null] +>> endobj +3889 0 obj << +/D [3882 0 R /XYZ 56.693 648.344 null] +>> endobj +3890 0 obj << +/D [3882 0 R /XYZ 65.161 647.786 null] +>> endobj +3891 0 obj << +/D [3882 0 R /XYZ 65.161 625.868 null] +>> endobj +3892 0 obj << +/D [3882 0 R /XYZ 56.693 579.602 null] +>> endobj +3893 0 obj << +/D [3882 0 R /XYZ 65.161 579.044 null] +>> endobj +3894 0 obj << +/D [3882 0 R /XYZ 65.161 568.085 null] +>> endobj +3895 0 obj << +/D [3882 0 R /XYZ 65.161 557.126 null] +>> endobj +3896 0 obj << +/D [3882 0 R /XYZ 65.161 546.167 null] +>> endobj +3897 0 obj << +/D [3882 0 R /XYZ 56.693 499.901 null] +>> endobj +3898 0 obj << +/D [3882 0 R /XYZ 65.161 499.342 null] +>> endobj +3899 0 obj << +/D [3882 0 R /XYZ 56.693 451.835 null] +>> endobj +3900 0 obj << +/D [3882 0 R /XYZ 65.161 452.518 null] +>> endobj +3901 0 obj << +/D [3882 0 R /XYZ 56.693 405.01 null] +>> endobj +3902 0 obj << +/D [3882 0 R /XYZ 65.161 405.694 null] +>> endobj +3903 0 obj << +/D [3882 0 R /XYZ 56.693 358.186 null] +>> endobj +3904 0 obj << +/D [3882 0 R /XYZ 65.161 358.869 null] +>> endobj +3905 0 obj << +/D [3882 0 R /XYZ 56.693 311.361 null] +>> endobj +3906 0 obj << +/D [3882 0 R /XYZ 65.161 312.045 null] +>> endobj +3907 0 obj << +/D [3882 0 R /XYZ 56.693 264.537 null] +>> endobj +3908 0 obj << +/D [3882 0 R /XYZ 65.161 265.22 null] +>> endobj +3909 0 obj << +/D [3882 0 R /XYZ 65.161 254.261 null] +>> endobj +3910 0 obj << +/D [3882 0 R /XYZ 65.161 243.303 null] +>> endobj +3911 0 obj << +/D [3882 0 R /XYZ 56.693 195.795 null] +>> endobj +3912 0 obj << +/D [3882 0 R /XYZ 65.161 196.478 null] +>> endobj +3913 0 obj << +/D [3882 0 R /XYZ 65.161 185.519 null] +>> endobj +3914 0 obj << +/D [3882 0 R /XYZ 65.161 174.56 null] +>> endobj +3915 0 obj << +/D [3882 0 R /XYZ 65.161 163.601 null] +>> endobj +3916 0 obj << +/D [3882 0 R /XYZ 65.161 152.643 null] +>> endobj +3917 0 obj << +/D [3882 0 R /XYZ 65.161 141.684 null] +>> endobj +3881 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3920 0 obj << +/Length 2632 +/Filter /FlateDecode +>> +stream +xÚÕ\mã¶þ¾¿B¸ÍnQóHŠ/RÓIÚ&@Ð+ÚÜmqw´m«+‰®$ßfóëK½øÎ’-{´4擵Zj4"gÎ3C{+{ßÝ|sóú[Ž½…‚ +ï~é Š„ôâ#_z÷‰÷îö•©¨Rw Êñíßt­ªîr©Ëî¢^÷ÿü³Ž¿Ñú±ûã_oÿz÷áþ{óš!(伓ö¶~ÎTµVª®š›·/0o~óv&$’4ð…²2¸}Ýý6Þüåþæ¿7ĈÇñ¸@"ô=$0õâüæÝì%æFÄÂÀ{j[æ'Q_˜ëÌ{{óÜ÷6*6—ÍÏw{’MI=ÉBD°h$7÷96z2áQ¡W*o9) +ú?@„ÉÝ :Á¤im+Ÿ#"ÈX>ÇI€Þ°ßÍ…4¼€²­Àråu?ô–h†°µÖZb¯8#ˆù|g‹¹þ¨’Ö¦eyïwv¹ß°¿ýî×ýÝÃÇn«XoÆÝ~ùaòVà¦TIGµ‚©µ,uþ²˜n•+UÃÚ~ŒÊ4zÈ€’ÓâÒªª|“ûê)­×°–E” Ü^ucLï³Y1.‘1aÜÔ{Ìpß(Øk$3>Ù·Ytr†<@Ÿ S‰H¸sá¡|K¶VàÂG8. KÑõf©–ªTE|0Z¯´Ÿ‰@Ô|‚³~Ê·ìgkeg@% 'ý´y¿N+ ¥Y­J CFÕ…!Ž¶°©^ÂÚåiU¥Å +Šp‰úÖô!Š³´xvÁÓZÑó«Ÿt샨Î~_ÕÏ(ʇ„µ4C|½~ú„¥o&u' Œ9¢èxKh°Uuãqt]ÙZ¼ñø¼Cðo,B†|BœõòH¾]7Û+ G`JÄðëgxðrˆAæq4¦Žœëtãh"#‚NÇ´Êt¥€8÷°]‹³ED€_ °QäSjC±&~YnÏ…PÀúázO)cÖÀ•36ØÃÑ›h[¦õOwí—~¯¢¢ÒÅïî„6S_Zgj­ú±Ê ÏóKÁÜòË‘|K—e×ã—‚ïñ˯“d4ÁõÆüÅ´eθøâ,a\¦À˜£ÖŽ·ˆ’u¸~u¦VQVè:¡±áz[o“Ä)Š·´HâžR{_„êȳÃG…"¸£:´é8ÉÃ}®Ã%7ÝÐǹ„ >þ‚Í—¼‰ŠMtGðíÊ|«vEº}ò„½e&>ç»D£Ú³LßQnˆo±ênÅë¨Xí +†ëèŽâÛw„ßöO<(UtWy”ô÷L°õ©ªØå„ü½w“€!)ÅŽ†åº«£Zrܲþ¾a¬wò«´É= —Æl}D»ë²+w¢a÷,¨ßdR¤¹0VÊü—PÆÔô†Êš9®Î›y¥#oó´^﨣6*•3h#'>sG9æ(€ŒäÛ!ˆ½²páØvÑÛA•¥«uC²(ù϶ª¡3`µ‰bp2;*õš Ž¥u +àò¨|Te5“¶pLQÈkfuX`(qå¢Mýª¨ËçÆK¿ìþ¿­Ó,­Ÿgø-“¸YfáÌm‘t˜ É·s[{eánËL…»í7švÂ-´BbÌ£RqíƒÆ&UXA}¨Â¦T±J ø%’8X½pz©@53 tP%;ï‘,0uç1Cù–c­ì áa6×aÀl¨)}5x‚›‘“LKh’1Í€¾ë¢6ÚBy^ôìJ}<¨À – bWX©ß,q3¯>d:~œ3…qær5‘ w˜pÉ·Dkeg Bf·C« hØÛy:p‘š*¢:®“SÅÇ´ÔEnÄW—]Övÿï§nÏÏR…®/«nq˜î<‘œ¹õzºõßßÎ(? ÛZøÊ—*þOÊùï¡|óÙŒ2g5’o‡PöÊÂÊoÝ- xmU›™Ãâs0¤A‹ˆ±.MüÇÉ:£ ¨r–® +¸ÆÐXëe‰„¹hÂý¶LM4ñcMŽÑ¤O"ÌMýù” JB‡èÒì”p—ùŠ·Ä[Ug@Kv»å"G2y§§ÑÞ½¡ìÜ™Ëê<µõYÛheQœî7»ÐffÜ­ãøÆé¨$×%Ú@Bé”T‘ͯ8D%G˜sw8DC8tD#ùvHd¯,Šh_¶£û­.é^w†-%iµÉ" Ù\j]7–<ã[{Û2­mþpP âyŸ2ÁñÝ•íGò-MÞZÙ&ß“ˆ®ê¶Ý˜!ˆËtób§#‚«8•HHæÀëfkß^TY=zcUª¢D¢Ð'ñ;’¾;cÊ·4vkeg{Õv‹TÚ…À Ñ´M²‹§Ô fíªgã–й+Γ֠«´š9y,·E|æѳž@B0q—nÉ·3T{eá†JÂù¸'Êà jíp,Ëh§7Õ¾¾º8×Ðîghvõ XùiA¸|²ç™&Á€\Þi‚ý°rkeg8M Ÿõ9Ê“4tjœÿ©.l·à¸àêîªÔËåÑ•ÞÄgÓVÔWUqÝã +M¿6³ÜeN€;+Šë-4•û”&ãÍ…ç]Qº%Ò#ù–®h«ì´ãɆ6÷øbq™ÝDðíî[ƒøÐùn©‹ú˜÷œÓúâ;·š­ã‰t%‡›kÎ<¥ç–ˆpË–Gò-íZ\-Ñ°å~™ö ­OGuTs’"ó7ö@ϔЛ@0ðSç˜ÞˆyóënµÉH¾¥[+;È9GLô4øˆ…Yƒ`¼ŽJ3õŽ³yÃÍ_“ DÀ§¬GJT9ƒ@»_¡rB×í +j«Ù»PÂ.5áÊð‡âíìÞZÕf›Ýr}}aw€huYÎ}Z«ìMw²˜u"2«êñ—Ï5ï ËG¸2ï¡x;ó¶VnÞÁÞbå¶ Tmt‘€™âѽ;`òõ‘ô¥· ˆ‹~ïÎo¦ «95@x{-;ÛŒ¸FväÝÙqŒñ–Ç1ÚªÚÿœJÎ0Â"|É¡äÿ‰ëðÍ +endstream +endobj +3919 0 obj << +/Type /Page +/Contents 3920 0 R +/Resources 3918 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 3746 0 R +>> endobj +3921 0 obj << +/D [3919 0 R /XYZ -11.232 900.716 null] +>> endobj +3922 0 obj << +/D [3919 0 R /XYZ 56.693 759.068 null] +>> endobj +3923 0 obj << +/D [3919 0 R /XYZ 65.161 752.393 null] +>> endobj +3924 0 obj << +/D [3919 0 R /XYZ 65.161 730.476 null] +>> endobj +3925 0 obj << +/D [3919 0 R /XYZ 65.161 708.558 null] +>> endobj +3926 0 obj << +/D [3919 0 R /XYZ 56.693 661.71 null] +>> endobj +3927 0 obj << +/D [3919 0 R /XYZ 65.161 662.394 null] +>> endobj +3928 0 obj << +/D [3919 0 R /XYZ 65.161 651.435 null] +>> endobj +3929 0 obj << +/D [3919 0 R /XYZ 65.161 640.476 null] +>> endobj +3930 0 obj << +/D [3919 0 R /XYZ 65.161 629.517 null] +>> endobj +382 0 obj << +/D [3919 0 R /XYZ 56.693 592.681 null] +>> endobj +3931 0 obj << +/D [3919 0 R /XYZ 56.693 565.348 null] +>> endobj +3932 0 obj << +/D [3919 0 R /XYZ 56.693 519.833 null] +>> endobj +3933 0 obj << +/D [3919 0 R /XYZ 65.161 520.122 null] +>> endobj +3934 0 obj << +/D [3919 0 R /XYZ 56.693 473.275 null] +>> endobj +3935 0 obj << +/D [3919 0 R /XYZ 65.161 473.958 null] +>> endobj +3936 0 obj << +/D [3919 0 R /XYZ 65.161 462.999 null] +>> endobj +3937 0 obj << +/D [3919 0 R /XYZ 56.693 416.546 null] +>> endobj +3938 0 obj << +/D [3919 0 R /XYZ 65.161 416.835 null] +>> endobj +3939 0 obj << +/D [3919 0 R /XYZ 56.693 370.382 null] +>> endobj +3940 0 obj << +/D [3919 0 R /XYZ 65.161 370.671 null] +>> endobj +3941 0 obj << +/D [3919 0 R /XYZ 56.693 324.218 null] +>> endobj +3942 0 obj << +/D [3919 0 R /XYZ 65.161 324.506 null] +>> endobj +3943 0 obj << +/D [3919 0 R /XYZ 56.693 278.053 null] +>> endobj +3944 0 obj << +/D [3919 0 R /XYZ 65.161 278.342 null] +>> endobj +3945 0 obj << +/D [3919 0 R /XYZ 65.161 267.383 null] +>> endobj +3946 0 obj << +/D [3919 0 R /XYZ 56.693 220.536 null] +>> endobj +3947 0 obj << +/D [3919 0 R /XYZ 65.161 221.219 null] +>> endobj +3948 0 obj << +/D [3919 0 R /XYZ 65.161 210.26 null] +>> endobj +3949 0 obj << +/D [3919 0 R /XYZ 65.161 199.301 null] +>> endobj +3950 0 obj << +/D [3919 0 R /XYZ 65.161 188.342 null] +>> endobj +3951 0 obj << +/D [3919 0 R /XYZ 65.161 177.384 null] +>> endobj +3952 0 obj << +/D [3919 0 R /XYZ 65.161 166.425 null] +>> endobj +3953 0 obj << +/D [3919 0 R /XYZ 65.161 155.466 null] +>> endobj +3954 0 obj << +/D [3919 0 R /XYZ 65.161 144.507 null] +>> endobj +3955 0 obj << +/D [3919 0 R /XYZ 65.161 133.548 null] +>> endobj +3956 0 obj << +/D [3919 0 R /XYZ 65.161 122.589 null] +>> endobj +3957 0 obj << +/D [3919 0 R /XYZ 65.161 111.63 null] +>> endobj +3958 0 obj << +/D [3919 0 R /XYZ 65.161 100.671 null] +>> endobj +3959 0 obj << +/D [3919 0 R /XYZ 65.161 89.712 null] +>> endobj +3918 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +3962 0 obj << +/Length 2452 +/Filter /FlateDecode +>> +stream +xÚÍ\Y“ã¶~Ÿ_Á·ÌTe`ÜãTªÖÛ©Ô:ÇΤʩõ>pHHb–‡Ìcfçߤ({D] ý²ÒJP³§Ñ_ß–¾¿ùæñæ«ï"I*ƒÇE )’a C, Óàãíë¸Ñw÷TàÛT­n6oU½yÓ®Æ/ÿZ%ßTÕçÍ~|x÷éñïæ1÷„ Hˆ µ‡ö5×ÍJë¶é¿6O'2O—¬:—! +© +îŠÂñù*2CuûÕæ…ȨÿáÍ·7?ßC$ɈaDÄ4HŠ›Ÿpšï ˆG*xV Q&ÍûÞKŒo_²v[Ù®*£} ¥É*.—ºÙYlØúãøÁ‘_ÅySéWu­“V§°å1lÙº®žr]@¥·@fã®rÚCxgáŽZì@m Æ‘2úä »ôá̬ ˜B„¶+©ÊV—À «°uÍkY­u¼,À¤[ ‚?–ÖÕz=Q.ÐJ :qª/‚Øyµ¥ yTÚ·ÔUÖ‘Q …¥!"JmöY×m–Äùtgïîìm³Ž“ jö7z^¥Óÿu VÌÆuÕAU¶ .ÍÚ|â¤à9¯áÄh 'þt|—¾£–;3k¡çD"jž9èy\€#•&{ÊÁ*smÎʦËd?lA›Îï86á»`¿îˆ‰¡¹… ”âá×ýô` ´¥2ÏP£,¢Tìð>‘¿BÜ(Þ,þ!3&@ç?aÛÂüKî!<&üÓÝ=¡½#4áH¾49P2TˆnÂþKp:ú—&-¡œyÃÔ„¾¦Ü™…cJ† F6[ÛÃôª0ðƒ­Í >‚‹C¾(7Þ¥‹'æôOʸ€Úm]¬ó¸Ù{Õº­3ý ¤úm¹Ì³feដä(ý}iœGŸäˆ +~UóÃ)Âñd~Þ›Ÿ¯ïFm쿶±GŒ"¹G{D \ø³G»ôí‘3³öˆšDÑÑǧ)4ÿí-’…Æ…f1ú‹1,Y Ž2^V¯À…Ð|nbŽôþpܤå´î€ Y®áf¸êÚ=Êç!iN(é1»ôã̬bC*äÄ@5;kã/‡Ù”:ÖµÊJø(`a­D)%¯éa˜Â(¤ì÷’± Â^§´¹¡1¹L—êEÜåí…•ŒSó&Dƒ×|,Ž+‚coð8`µMøŠ?aiξÈÞÕÙ#,£KnÎþ?9¸§À +endstream +endobj +3961 0 obj << +/Type /Page +/Contents 3962 0 R +/Resources 3960 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4002 0 R +>> endobj +3963 0 obj << +/D [3961 0 R /XYZ -16.307 900.716 null] +>> endobj +3964 0 obj << +/D [3961 0 R /XYZ 65.161 760.065 null] +>> endobj +3965 0 obj << +/D [3961 0 R /XYZ 65.161 749.106 null] +>> endobj +3966 0 obj << +/D [3961 0 R /XYZ 65.161 738.147 null] +>> endobj +3967 0 obj << +/D [3961 0 R /XYZ 65.161 727.188 null] +>> endobj +3968 0 obj << +/D [3961 0 R /XYZ 56.693 681.201 null] +>> endobj +3969 0 obj << +/D [3961 0 R /XYZ 65.161 681.49 null] +>> endobj +3970 0 obj << +/D [3961 0 R /XYZ 56.693 635.108 null] +>> endobj +3971 0 obj << +/D [3961 0 R /XYZ 65.161 635.791 null] +>> endobj +3972 0 obj << +/D [3961 0 R /XYZ 65.161 624.832 null] +>> endobj +3973 0 obj << +/D [3961 0 R /XYZ 56.693 578.845 null] +>> endobj +3974 0 obj << +/D [3961 0 R /XYZ 65.161 579.134 null] +>> endobj +3975 0 obj << +/D [3961 0 R /XYZ 56.693 532.753 null] +>> endobj +3976 0 obj << +/D [3961 0 R /XYZ 65.161 533.436 null] +>> endobj +3977 0 obj << +/D [3961 0 R /XYZ 56.693 487.449 null] +>> endobj +3978 0 obj << +/D [3961 0 R /XYZ 65.161 487.738 null] +>> endobj +3979 0 obj << +/D [3961 0 R /XYZ 65.161 476.779 null] +>> endobj +3980 0 obj << +/D [3961 0 R /XYZ 56.693 430.792 null] +>> endobj +3981 0 obj << +/D [3961 0 R /XYZ 65.161 431.08 null] +>> endobj +3982 0 obj << +/D [3961 0 R /XYZ 65.161 420.122 null] +>> endobj +3983 0 obj << +/D [3961 0 R /XYZ 56.693 374.134 null] +>> endobj +3984 0 obj << +/D [3961 0 R /XYZ 65.161 374.423 null] +>> endobj +3985 0 obj << +/D [3961 0 R /XYZ 65.161 363.464 null] +>> endobj +3986 0 obj << +/D [3961 0 R /XYZ 65.161 352.505 null] +>> endobj +3987 0 obj << +/D [3961 0 R /XYZ 65.161 341.547 null] +>> endobj +3988 0 obj << +/D [3961 0 R /XYZ 65.161 330.588 null] +>> endobj +3989 0 obj << +/D [3961 0 R /XYZ 65.161 319.629 null] +>> endobj +3990 0 obj << +/D [3961 0 R /XYZ 56.693 273.247 null] +>> endobj +3991 0 obj << +/D [3961 0 R /XYZ 65.161 273.93 null] +>> endobj +3992 0 obj << +/D [3961 0 R /XYZ 56.693 227.549 null] +>> endobj +3993 0 obj << +/D [3961 0 R /XYZ 65.161 228.232 null] +>> endobj +3994 0 obj << +/D [3961 0 R /XYZ 65.161 217.273 null] +>> endobj +3995 0 obj << +/D [3961 0 R /XYZ 65.161 206.314 null] +>> endobj +3996 0 obj << +/D [3961 0 R /XYZ 56.693 160.327 null] +>> endobj +3997 0 obj << +/D [3961 0 R /XYZ 65.161 160.616 null] +>> endobj +3998 0 obj << +/D [3961 0 R /XYZ 65.161 149.657 null] +>> endobj +3999 0 obj << +/D [3961 0 R /XYZ 56.693 103.276 null] +>> endobj +4000 0 obj << +/D [3961 0 R /XYZ 65.161 103.959 null] +>> endobj +4001 0 obj << +/D [3961 0 R /XYZ 65.161 93 null] +>> endobj +3960 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4005 0 obj << +/Length 3021 +/Filter /FlateDecode +>> +stream +xÚí]m“Û¶þ~¿‚“/µgz8¼ñ-M;uš8qÇ/©ï<Ó'( :qŽ"¾Xç™þø‚"•˜”(.n‰«;ñó,Ëð<‹ÝŤέC.¾½¹¸zîR'$¡Ç=çfíxœx¾0A„ïܬœ÷OÞªDE¥zzÉ]úäuV©²ýsíÕ¦ûò»lùm–ݵÿù÷õ˧¿ÜüS?æ’1ºn+íºú˜¨r£TU6_ë§3'ÐO÷DótéùÄçsé’ÐïžR-О\µæ…Íßß\üzÁ´xê0Çõˆ +Çñ(w–Û‹÷¿Pg¥¿Ó +Înßr브.<ýwâ\_üë‚v=1¼÷Ìá2$Œz­n?sîîµ9Üvõ\7ÙÿÙÜéú‹}ãWñr©ägêÒj«ÿeO/=JŸ\oãjóõÓKÆõTºJ›.&÷eò—öû<*¢-¹ß©Eï•Ví“uß6o.?ô{E%ó¹ã ­qà7½Ò|îRÝÇÒs8 ƒÐ)”³þ´zÒNzü®G­{@+˜5­±ò]Â<6”ïRF|Ý­'| +„<œAÙ½ÀâÖiÿxÛa¥7îÅ#.ë°òlµR«XŽ%9ï÷#œª¬á +°¦Û(í5Ô‘îƒã;ž,ÆÛ×Ebк±ðÖ…J¢*þ`¢N§wå ý¾ÈøMûïË\-ãu¬JXŸFýfÓLd>á^h(}ùH¢ •5 +§Äu;ƒ„½Ñþ÷ö%¬áq£ O‚m´õ(ÎÇÿ¨üºyÀ÷>á¿ßŸºéëqm6…Z>#ÞF·jUÑÈ}ÓD Ìzâ‘4ÀªjÀWû*{Dõ*ÎÎôñØØ|ˆWêä}{ã¼õÛd»†ÌØ®ñ A oUªŠ¨‚ίßÜ| kZªeg@}³µ¡I÷B—×”òqXÆ+ ³Äa æÎÇå¸EʵuW]åu÷ ö7Ý@1ù!Jjõ0Ü|ñÂNyaãæ¤4¥] ‰¹=Úõå#i‡VÖ€vO¼n +É •ë€jS« èõ¦m8SïÞ¾€Î)Qõ0XýøG´ÇÞxÓcvCÝ-ÏD +a-}ùH¶ •5`‹ïŸ³–.à8Cÿuœ¨¡ôqôVU/êjÌ6OÃC_¥/íÁ£/ kÊvá¶9kÑ—ì ´²\q% ¨h¹òˆÍY ´nИßxR)çhà»Ìêb©f~¼îP  9d㽺ViU|4uÃd›·±F–¾|$YÐÊE +HÙ’¥‚áT¥«™)–¨J›/aÊi#•–ª2Ç£ È4©x›²Fª¾|$©ÐÊJpÝB"6S;Út' ÐñÊs§ò¿_Ã-zXH¬ïüj");wJî±rlà8sš9¬Í9YcN_>’9he ˜Ã™~¦ÿèɸ¹Ò½ë"ÛÎíž•'s‡ÑÑð§ñÎr=/²E´H€i•4«LyA÷I!k´è‰G²«ª)¹‡\ÙœTû[»(5uj#¡²^ngUsÜDPÛBÑ]—š Êò*Ô$cÜ°M Ù¢Ì@>Ž3xe HC)¡´[ÖYfi¥î«y§ýo^½´¸ús™:ð4fºS3{`Lܪ(ÓÛu õ]‡áå4%WcÔÞ’Ë@>’heá”pƒÐ.*yë5ÖÐ +wév‚‹ÃðûWtŽŠv¦ ã· Sk„éËG­¬aü€ÐF#_RM&‹œy§•éú¹ëµùIkØìËGb­¬6=Ÿ0Á[lB§~°…ÖnpœB«OTQΞSA9WŸs4rµcšn›Q´Fƒ¾|$ ÐÊÐÀõt‰CªõÔâЬy•çЕqumóD,ÓO¸laÖ¼/9àÖ”í:C´ kÑ—ì ¬²ÇX÷]-¹QS~ØŸôÍøì}_&Õ![3Òh{è¿žYBø£oå8¬„L³·É +kïËG«ì8À¹ <ì¶!ýíLASUåG¿º¿a·Û å*Re®¬¸¶>£L^/ Z—ÙºÚ Ó—·,·­oãÊ õ*[¡üê›+{Æèw$L³ˆù„rÌöAÓ=–2”„…ÂÒË8]gä·þ›üù2ÐÓçÕksoŸ”¾ ‚ÙsBòqV +¯,Ü •¾†ƒiÅYô`/Õ°8ê\.ŠÓyKuxSoµ‘Á2;4rzów¯¾}óìæś׆ñ“ÔWa±þk  ]´²ÐÕWï·ú¯ÕÓ¹ÎÕñgVš+(”ó¬€VÏCs­@¨o¢qz Ì:Çe nüìÝÍoÞB“îÚeÝF§ÆZ.-]F„Åú¬|$èÑÊ€Þ•Ä;Ôg=KJÓ•¶xmÜj±‰™«¢ÌÒER‹™7!Un˜w28árO Ú)‹2M!I‰´X¨5¤ZY +IA|Þ…jû̾äy·oGy:6Y S«ç·rmÐ8U&Òq9'EÁE×ÃΞF<‰´8gôÄ#ñŽUÕî‚ïÝÃýÌS³ C‘!{ÔHœ +²²Ï!¡Øÿ`k‘¸4{áÌ@>Ž¦xeá<G¨/Í"ñ0¼Vé2«›‰j£íêjsœþϯâÊ膬ڨbY4÷Aƒ²ŠÒ¥š» ‰–w–Ž,>#ų½ò‘”@+k@ __Yì;P|$,y€OŽòg¯…¨KU˜ŸdT! gPS>iZC#’÷he ˆO=âÒ.ŠgŽ†–‘…eŸu Mlw2Ùépb_ö2?òPmãy·ì¢"…/0@»VGÊ8SÎCN¸k/þÈÇ‘¯,œ„ ꤫>M4!‰Gíz6äZYŸ‡RıÈfòÌø¶/`nã»(p«ïK¯4_…N|ëÛ¤¸ú~Ã*X<%Õ}ž‹Ló âI{±Ï@>’he øÀõ3Eû€10œ ª­8§ÄûÔAµï±Ps^0K.Ð"É–w> |2nÏb¾R×Þ>å|ÖñʱÎJ¸ìp0{õVTDó®•ñ.tþC”áB\”Àg/7q²šùT1h&I²Ñó ¦I«!†öâŠ|$§ÐÊpÊÓmÐÅeç…*°Ã;}ΔûäbØ´àŸ~š›e»¬†"=mVµèyJ Ìys/ȃ˜i¹.¡Â^\2äZY¹\ü°¬§—KUb0åÌ€ ù‚ßLd%’—he x)}"“Û¨¸«s(1ëRÍ»i¬Ìë"Îê|ؘZ*ºƒÎ+Ú#VóÖí6 +˜åê–ÛÕÊ·ŒÐàq£IîÙŠ&“¸¬J“h’êyCZŒ&uì,{ õÅãìZU³@)ñ|fü&ÐÆC—ò¼å0]©œS_fF1S9s¦±Û “Y7È9‘Ü^ðÖÃ0ZU8†ƒø¬‹Ü®³™Ë]B˺Ól7óEš¼ Ø<ñî»ËËóŽaã €9uò"»-¢mCó,·ïêéÆ^pÕ| 'VUƒ×pÄw»È +l¤à‡1ïôì=¯Ý³w T‚!¼@~`©Ñ„1âóLÛë©÷ÆKJh[eaúÚøÿýZ +endstream +endobj +4004 0 obj << +/Type /Page +/Contents 4005 0 R +/Resources 4003 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4002 0 R +>> endobj +4006 0 obj << +/D [4004 0 R /XYZ -11.232 900.716 null] +>> endobj +4007 0 obj << +/D [4004 0 R /XYZ 56.693 741.791 null] +>> endobj +4008 0 obj << +/D [4004 0 R /XYZ 65.161 742.475 null] +>> endobj +4009 0 obj << +/D [4004 0 R /XYZ 65.161 731.516 null] +>> endobj +4010 0 obj << +/D [4004 0 R /XYZ 65.161 720.557 null] +>> endobj +4011 0 obj << +/D [4004 0 R /XYZ 65.161 709.598 null] +>> endobj +4012 0 obj << +/D [4004 0 R /XYZ 65.161 698.639 null] +>> endobj +4013 0 obj << +/D [4004 0 R /XYZ 65.161 687.68 null] +>> endobj +4014 0 obj << +/D [4004 0 R /XYZ 65.161 676.721 null] +>> endobj +4015 0 obj << +/D [4004 0 R /XYZ 65.161 665.762 null] +>> endobj +4016 0 obj << +/D [4004 0 R /XYZ 65.161 654.803 null] +>> endobj +4017 0 obj << +/D [4004 0 R /XYZ 65.161 643.844 null] +>> endobj +4018 0 obj << +/D [4004 0 R /XYZ 65.161 632.885 null] +>> endobj +4019 0 obj << +/D [4004 0 R /XYZ 65.161 621.927 null] +>> endobj +4020 0 obj << +/D [4004 0 R /XYZ 65.161 610.968 null] +>> endobj +4021 0 obj << +/D [4004 0 R /XYZ 65.161 600.009 null] +>> endobj +4022 0 obj << +/D [4004 0 R /XYZ 65.161 589.05 null] +>> endobj +4023 0 obj << +/D [4004 0 R /XYZ 65.161 578.091 null] +>> endobj +4024 0 obj << +/D [4004 0 R /XYZ 65.161 567.132 null] +>> endobj +4025 0 obj << +/D [4004 0 R /XYZ 65.161 556.173 null] +>> endobj +4026 0 obj << +/D [4004 0 R /XYZ 65.161 545.214 null] +>> endobj +4027 0 obj << +/D [4004 0 R /XYZ 65.161 534.255 null] +>> endobj +4028 0 obj << +/D [4004 0 R /XYZ 56.693 487.273 null] +>> endobj +4029 0 obj << +/D [4004 0 R /XYZ 65.161 487.562 null] +>> endobj +4030 0 obj << +/D [4004 0 R /XYZ 65.161 476.603 null] +>> endobj +4031 0 obj << +/D [4004 0 R /XYZ 65.161 465.644 null] +>> endobj +4032 0 obj << +/D [4004 0 R /XYZ 65.161 454.685 null] +>> endobj +4033 0 obj << +/D [4004 0 R /XYZ 65.161 443.726 null] +>> endobj +4034 0 obj << +/D [4004 0 R /XYZ 56.693 396.744 null] +>> endobj +4035 0 obj << +/D [4004 0 R /XYZ 65.161 397.033 null] +>> endobj +4036 0 obj << +/D [4004 0 R /XYZ 65.161 386.074 null] +>> endobj +4037 0 obj << +/D [4004 0 R /XYZ 65.161 375.115 null] +>> endobj +4038 0 obj << +/D [4004 0 R /XYZ 65.161 364.157 null] +>> endobj +4039 0 obj << +/D [4004 0 R /XYZ 56.693 317.174 null] +>> endobj +4040 0 obj << +/D [4004 0 R /XYZ 65.161 317.463 null] +>> endobj +4041 0 obj << +/D [4004 0 R /XYZ 65.161 306.504 null] +>> endobj +4042 0 obj << +/D [4004 0 R /XYZ 56.693 259.522 null] +>> endobj +4043 0 obj << +/D [4004 0 R /XYZ 65.161 259.811 null] +>> endobj +4044 0 obj << +/D [4004 0 R /XYZ 65.161 248.852 null] +>> endobj +4045 0 obj << +/D [4004 0 R /XYZ 65.161 237.893 null] +>> endobj +4046 0 obj << +/D [4004 0 R /XYZ 56.693 190.911 null] +>> endobj +4047 0 obj << +/D [4004 0 R /XYZ 65.161 191.2 null] +>> endobj +4048 0 obj << +/D [4004 0 R /XYZ 65.161 180.241 null] +>> endobj +4049 0 obj << +/D [4004 0 R /XYZ 65.161 169.282 null] +>> endobj +4050 0 obj << +/D [4004 0 R /XYZ 65.161 158.323 null] +>> endobj +4051 0 obj << +/D [4004 0 R /XYZ 56.693 111.341 null] +>> endobj +4052 0 obj << +/D [4004 0 R /XYZ 65.161 111.63 null] +>> endobj +4053 0 obj << +/D [4004 0 R /XYZ 65.161 100.671 null] +>> endobj +4054 0 obj << +/D [4004 0 R /XYZ 65.161 89.712 null] +>> endobj +4003 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4057 0 obj << +/Length 2450 +/Filter /FlateDecode +>> +stream +xÚÍ\[oã6~ϯæ¡;š3$ERdûÒ-º[`Ñ] <ì¢ÓƦmmtq%9™ì¯_Ê–ÛXŽãÃPL`Ç–ŽÈï;w‰$Ë„$?^|}ñáï‚$´d2¹^$’ÌESH³äzžüúþ[XÓÚË+&ÈûÕmwou³{Ó­†/¨gß×õíîŸüéò·ë¸Ó\Q +Zˆ´ÝCaÛ•µ]ÛíÎNåÎ.Óþì\f1•\ ÐÙp~MÀL½ÿ°{¡R÷?¼øÛõÅïÔ‰' M„©Ó$Ó$aɬ¼øõ7’ÌÝwNàZ%÷Û#ËDP,•î}‘|¼øù‚ +AœŠýÛþåÇG’ÝzÐŒ% ¨ê%÷Ÿ3ÐJ'´?Z'M'%•/€J:–/…L*Ô¯‚ÍôÊn6Ëd÷æ—(n…·[Å·@Ù+®¹ÛªÒTÛ½ÙËq] Œº¯Öfiê¨+IÈûzÓ­7ÝX4\n¿üDywú,m^® äyf¦(ܹÚñ™N‹ßþ¬´¦jqgØ´yµD*S—Ïq‡šjtàÁ®0e甃rpˆ†çCùxVÖÏ©ÊÓ3àá;ÓX÷·@îñºÎ«½Í]=9òªíL5³G8þöyçNþ4ÿpš€M½X„ÐüëÝç!ÍRˆèÇÒᨨ˜YT©˜ïÑFðhwÿrzw;$Ìë—K>©n»Y¯ë¦Ã"·¹Ý¬‘Ä\™kÔ-Ò4ô†¤µÝ ­úsRÇ ë¼"EÇ}IéŸàv1—2‘|úõ8¼5©3Ðz°²ŸêÀ¬€;®‘ÝÁÿÌg+c‹Þéwåö"·Kð±Ì»Õ7—W”¹nŠzv ŸÛ¹R) ©Y€ç£G™e@2Í8䇙§peñJ*iÿI¿µuU< =ìK!ÜaE^a#Q¤+k×f†im&½œ;Ûܘ./‘Ñò’òÎÃx#íá¢vÖ½EÚ¹›‡-Óyþ;äSšÅ£ç¡ü@z+ëAO©“!sïìg$ëªzŽ¥Ó´À_›Æ,³^y ÊÔ«z@N€QÉnº¼È»˜:}è©æ®*Éå’,XY’1bˆÑÑŽÍÏÄÛê.oꪴU×bSH¤Ÿ+òåªÃúí¶t 5ÖÙ-ꪛVÙªö)O]_ÿÇ׌iÊãAüP~ ă•õ€8¥ ¼ã,³´R.^ÓB Å€§4’….ò¶k=ì³ÈØöÑ쳉W@Éo¸²xð +É!Ûçªe^ac–ûUÞÙã<ày£ƒÏ»¨›ÒtøJ#6wÙBó¸Ø~Rç?@|Öü×›fœ¾P Ø«? ÷-·'>sÚp‘ø”ƒT"ñå?XYâÓ ´[ ÝÖlN㈙Wö8Öz¾6ºÈ?c‹ˆØŽÁSŽ6Ô6ÔÍÜ6vÞƒxâ"¦3–eþ¿§DŸ§I!cñÊk#ùUö4^i û”òêjš^K©OudBñ¹Ä¡ö÷âe­©g®k95ßæy».̶×4v6Îœžu´Ûß]¯òÖ“\3‡×xå­‘ü0z„+‹7ð\K ûÁ繫%ºEæÑòmðöÃwŸhÊO;ƒ™ç¬îÎÓåu…o„aq,þo°ïù]ñµÝ½µ•/àEâ ëŒä>XYÀ+D‘mïh{§ë˜vb§ß÷‰@鹞gºÃ5¶ôÕn;uÇ·yó¹@läXš¼ò6ïÅã%î#ùhVÖíºŸbÄFôζ¦´SwM;±’>fþ~e+¯@gdÄý†úIO%_3­çœƒæò ™9à©ÓFELë9ã@X¼´~$?Ð,+ëaX)ež —7›$¸³M—ÏLñ¦sE£-åS Àûæ•ñö 4"ãÕFò©¬¬U¨„T …6¿)<†—=âžÝZöÑ +"\¬j¤.ÿÝ`+[ع|ü³óH§Z€ŠôCña[MÕa%ßîs´¥8”¸ÁÊâU +Ñûò|?ø(¡39¶9êwK¦-×݃§&_¨s<ÏjEA§¯»R¡ÐX±«;¢)ͶKÐ8 .Â&"bHKSDÇ iGò­H°²V„SHÕ~^¾®úœKs–{Ô’<Æzø™Y7õÐû±!8ñߦ¸w_½»DŒ©ôæÖšù´Í“ã‘–óë–FŒ)åR TÙÓ€O p6tÊmè»ÞÄ)ã£+ý#ÁÞ®ÖuÔfrBÖ³Ù}CÁÔsù¶š˜d/õxÀ!¥Ò½ÆKâFòI¬¬‡_êG ä~ÐÓ ã=×z<Õ㦯¼{›[«¬élåÙo4h3Ux8ñûº)æo5.pT7šn0’ŒÅãàø@ +†ªêÁ@¢@¡Çˆ¿;åè¾Þݸ#¡Î> endobj +4058 0 obj << +/D [4056 0 R /XYZ -16.307 900.716 null] +>> endobj +4059 0 obj << +/D [4056 0 R /XYZ 65.161 760.065 null] +>> endobj +4060 0 obj << +/D [4056 0 R /XYZ 65.161 749.106 null] +>> endobj +4061 0 obj << +/D [4056 0 R /XYZ 65.161 738.147 null] +>> endobj +4062 0 obj << +/D [4056 0 R /XYZ 56.693 691.034 null] +>> endobj +4063 0 obj << +/D [4056 0 R /XYZ 65.161 691.322 null] +>> endobj +4064 0 obj << +/D [4056 0 R /XYZ 65.161 680.364 null] +>> endobj +4065 0 obj << +/D [4056 0 R /XYZ 56.693 632.856 null] +>> endobj +4066 0 obj << +/D [4056 0 R /XYZ 65.161 633.539 null] +>> endobj +4067 0 obj << +/D [4056 0 R /XYZ 65.161 622.58 null] +>> endobj +4068 0 obj << +/D [4056 0 R /XYZ 56.693 575.467 null] +>> endobj +4069 0 obj << +/D [4056 0 R /XYZ 65.161 575.756 null] +>> endobj +4070 0 obj << +/D [4056 0 R /XYZ 56.693 528.642 null] +>> endobj +4071 0 obj << +/D [4056 0 R /XYZ 65.161 528.931 null] +>> endobj +4072 0 obj << +/D [4056 0 R /XYZ 65.161 517.972 null] +>> endobj +4073 0 obj << +/D [4056 0 R /XYZ 65.161 507.014 null] +>> endobj +4074 0 obj << +/D [4056 0 R /XYZ 65.161 496.055 null] +>> endobj +4075 0 obj << +/D [4056 0 R /XYZ 65.161 485.096 null] +>> endobj +4076 0 obj << +/D [4056 0 R /XYZ 56.693 437.982 null] +>> endobj +4077 0 obj << +/D [4056 0 R /XYZ 65.161 438.271 null] +>> endobj +4078 0 obj << +/D [4056 0 R /XYZ 65.161 427.312 null] +>> endobj +4079 0 obj << +/D [4056 0 R /XYZ 65.161 416.354 null] +>> endobj +4080 0 obj << +/D [4056 0 R /XYZ 56.693 369.24 null] +>> endobj +4081 0 obj << +/D [4056 0 R /XYZ 65.161 369.529 null] +>> endobj +4082 0 obj << +/D [4056 0 R /XYZ 56.693 322.416 null] +>> endobj +4083 0 obj << +/D [4056 0 R /XYZ 65.161 322.705 null] +>> endobj +4084 0 obj << +/D [4056 0 R /XYZ 65.161 311.746 null] +>> endobj +4085 0 obj << +/D [4056 0 R /XYZ 65.161 300.787 null] +>> endobj +4086 0 obj << +/D [4056 0 R /XYZ 65.161 289.828 null] +>> endobj +4087 0 obj << +/D [4056 0 R /XYZ 56.693 242.715 null] +>> endobj +4088 0 obj << +/D [4056 0 R /XYZ 65.161 243.004 null] +>> endobj +4089 0 obj << +/D [4056 0 R /XYZ 65.161 232.045 null] +>> endobj +4090 0 obj << +/D [4056 0 R /XYZ 65.161 221.086 null] +>> endobj +4091 0 obj << +/D [4056 0 R /XYZ 65.161 210.127 null] +>> endobj +4092 0 obj << +/D [4056 0 R /XYZ 65.161 199.168 null] +>> endobj +4093 0 obj << +/D [4056 0 R /XYZ 56.693 151.66 null] +>> endobj +4094 0 obj << +/D [4056 0 R /XYZ 65.161 152.344 null] +>> endobj +4095 0 obj << +/D [4056 0 R /XYZ 65.161 141.385 null] +>> endobj +4096 0 obj << +/D [4056 0 R /XYZ 65.161 130.426 null] +>> endobj +4097 0 obj << +/D [4056 0 R /XYZ 65.161 119.467 null] +>> endobj +4055 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4100 0 obj << +/Length 1989 +/Filter /FlateDecode +>> +stream +xÚÕ\KsÛ6¾ûWpzrfê Þ$šS2M“tš>bg¦$š‚$6©’Ô8þ÷EjÑ’µ0%¹˜².WÀ~ß¾’h‘èÅÙ³«³Ç¿HiЊ©èj)*ŽÊÇÑÕ$zwþÆ&mÌ£ &ÉùïUkšþã´ªûí|8ùs•=«ªý?_þöèÃÕ¯ö6”‚–²—vÙÞ¦™Ó6Ýi{w%öîŠww*†˜%Ñ…÷×Ì +Œ“óÇý*Ý]xöüêì¿3jÅ“ˆFRÒ<Š5EX”-ÎÞ} ÑÄž³ +€ÐIt³¹ˆ$%À¸²Ÿ‹èòì¯32̱*v»Ã‹/$Ûù 1‹b¡ÕIî¾—Äê)TÄ@':ªM4Ý+ +{žñæ½`Úö•/*:–/ …X%¨;|9Í +4ÓGPv-°žEý‡7ƒ%Ú%\Û‚X[â ¸  ø`=Õª]®ÚõúoDEï.!ç? _ŽåÚ‹šåè‚{¯e]kÛf뢽c›|±Lë7x§úç?Þ¯MYµ8éé´55nh¾sßIöOc¯|›—³Ýc۶л‹&I8lË÷„€·²à–ÃbÕCÀa•kÓ¬ŠžgËUâƭʉiò:½.¹™çÖg,ÓÌW »6ÏVEŠœÌ:±fŒ½'÷c¯óqŽFL0kÁŒx[¾§{+ë`ÄTƒ¤ƒO7ŸÒÅrd@‡™k]@‚8Ÿ5x¼Ÿÿ¦ÎVuž8Ù“*kœm‡>1ÆžãÝ0o˜”&ÀÙÀ,ï“[2a-ôƒ_çÙ<5Eç2Ú…ýK­õå"oç?=º ¬[‡Ž$àSS<éO6·eµüâÿU›y{Û}Óß÷à ©Äê«D¸0L) ‚È`ðÉ÷ƒ¯¿²xøªØ&šõ‹_›2]˜ ÓºZ q›·w9áb?"—µIh?ÔVH¿’—Ù|¬ì×¢­fÆ2Ò ¥åë¼—…õ™ß`w}Áý‹0ia.T8lË÷€·²PVSÎ{\›öƤ;ZÓ^“7X¸¤³…)±aÛå[lüSßRò²iM:qô¡JJ2>©å ¤à¡(ÀÌj“ô”‚b4AlË÷$oe‚ +ÐD÷+»jÌ7áóŒ ³Ó9úN¶³W,>û[ÿ¾Æ½Ú°ý{ë*ÓS{IB@)Ûò=Aà­¬ï®]c`žfÇ–Ý‘Ü,o!=t5é*ŸC!ï9;`œØÚ÷ŽûwÕ­TzRÇ â“&¯2‡Ê]ÝsS©¬::çy¥äðpõÑ‘|?ÒñWO:RÆ@7UŒÌ:È››~—Þ·Y-­Mƒ®Äy‰íf,Ó -v‰`ÄáÊ£#ùž6ì­¬ƒ eCytn}]×ú¡ä}R +¦v¦‚qp^N+¶?˜Ð€ÅA¡®88’ïg¼þÊâWh \ ÅÁéªÆ'ùµ™ZrêêÇ}òrbeâ{•ÈRÎÓ·W/ÿxs‰$S“µyU:‚XhD©S¢XĨdP|]TÙÇ/ªþUg°ÊjçGk`-40Õ[â=Aí«ª¦%I“MÁ¿ƒ)2¨šÛ ®@C‹èt²¨Ê¼”«[Öµ2AOŠ(Ƴ8¢Š¼iuOs)A„ áš#ùžòVÖDDZ{ýÒ¾ÅÖGæþ¶ô›çÇuqiYáÝ÷ºE…} Ä`Ÿ©ºÁ¶ï±“W`k܆7‚ž´§Àc’ðo#°æ92`\Í¥™„k)Œäûч¿²xúà2DéÍs¸wц*.¦×»ª°ûÇ£{X×=‚¾—é]Èÿúñ¾ßÖËƶ F¿#ùžØóVÖ{"M{èí*Ïnu#昂â'­sš@̾Òs]®î…X]eÀÂ9ÓV¢W8É÷³qelÜjJ’MáÜæm3lŽ‡îˆuÐIËÌ4^\p÷û¯(·Œ‡ñÐ p2- !'­ä²˜B²éÜ1\k>LQÐœ¤iÏ|nWŸ¶å{R‚·²xJ`R€ýa¯ÁIæS‹ÝƒoF¹lù|‰L­ÇRQYÜ7µ.«Ò¡×xuõσw!Ö…7‰<)Å0 $¦¡ËÌXŠ¡ÖàIÀå@E¸VçH¾'Åx+ë@1vªÅçÝ¥7Uývì2uï~ú¾Ê2*¹ÎÒÕ¤±“e±¬j=`/ ë¦™6_î¹â D¨æ@Ãð¶x?ûõVo¾T+ñйIërÜê +,pÿº¼B: 7pØ:övUö[à nàÌ´.­Z3Á?Hî4žN÷0HŒ‡{t$ß&ÞÊ:à$‘ ©¾gãöAãDnl¨ +'"=È"µÞ¦vçù[S#Ó?THí­‰«IÞ,‹ôû3Jqw3‡ÍÐ-pÑXü”Á$µGÎô7’¯RaµQ_A¹A½b$ß“e¼•u`žX{êO',€ž½v¨ª?%—¬®š#‡§N/]8ez§ÂVæ 6?˜ëã– "\ex$ßVÞÊ:ÀŠYã›WN ë5]~ÜÎa;^z§Ä(yÒ"ªN@ +yª ƒÜ]/BˆÒyÒÿˤ¹[ +endstream +endobj +4099 0 obj << +/Type /Page +/Contents 4100 0 R +/Resources 4098 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4002 0 R +>> endobj +4101 0 obj << +/D [4099 0 R /XYZ -11.232 900.716 null] +>> endobj +4102 0 obj << +/D [4099 0 R /XYZ 56.693 759.068 null] +>> endobj +4103 0 obj << +/D [4099 0 R /XYZ 65.161 752.393 null] +>> endobj +4104 0 obj << +/D [4099 0 R /XYZ 65.161 741.435 null] +>> endobj +4105 0 obj << +/D [4099 0 R /XYZ 65.161 730.476 null] +>> endobj +4106 0 obj << +/D [4099 0 R /XYZ 56.693 682.968 null] +>> endobj +4107 0 obj << +/D [4099 0 R /XYZ 65.161 683.651 null] +>> endobj +4108 0 obj << +/D [4099 0 R /XYZ 65.161 672.692 null] +>> endobj +4109 0 obj << +/D [4099 0 R /XYZ 56.693 625.579 null] +>> endobj +4110 0 obj << +/D [4099 0 R /XYZ 65.161 625.868 null] +>> endobj +4111 0 obj << +/D [4099 0 R /XYZ 65.161 614.909 null] +>> endobj +4112 0 obj << +/D [4099 0 R /XYZ 56.693 567.401 null] +>> endobj +4113 0 obj << +/D [4099 0 R /XYZ 65.161 568.085 null] +>> endobj +4114 0 obj << +/D [4099 0 R /XYZ 65.161 557.126 null] +>> endobj +4115 0 obj << +/D [4099 0 R /XYZ 56.693 510.012 null] +>> endobj +4116 0 obj << +/D [4099 0 R /XYZ 65.161 510.301 null] +>> endobj +4117 0 obj << +/D [4099 0 R /XYZ 56.693 463.188 null] +>> endobj +4118 0 obj << +/D [4099 0 R /XYZ 65.161 463.477 null] +>> endobj +4119 0 obj << +/D [4099 0 R /XYZ 56.693 416.364 null] +>> endobj +4120 0 obj << +/D [4099 0 R /XYZ 65.161 416.652 null] +>> endobj +4121 0 obj << +/D [4099 0 R /XYZ 56.693 369.539 null] +>> endobj +4122 0 obj << +/D [4099 0 R /XYZ 65.161 369.828 null] +>> endobj +4123 0 obj << +/D [4099 0 R /XYZ 65.161 358.869 null] +>> endobj +4124 0 obj << +/D [4099 0 R /XYZ 56.693 311.361 null] +>> endobj +4125 0 obj << +/D [4099 0 R /XYZ 65.161 312.045 null] +>> endobj +4126 0 obj << +/D [4099 0 R /XYZ 56.693 264.931 null] +>> endobj +4127 0 obj << +/D [4099 0 R /XYZ 65.161 265.22 null] +>> endobj +4128 0 obj << +/D [4099 0 R /XYZ 56.693 218.107 null] +>> endobj +4129 0 obj << +/D [4099 0 R /XYZ 65.161 218.396 null] +>> endobj +4130 0 obj << +/D [4099 0 R /XYZ 65.161 207.437 null] +>> endobj +4131 0 obj << +/D [4099 0 R /XYZ 65.161 196.478 null] +>> endobj +4132 0 obj << +/D [4099 0 R /XYZ 56.693 149.365 null] +>> endobj +4133 0 obj << +/D [4099 0 R /XYZ 65.161 149.654 null] +>> endobj +4134 0 obj << +/D [4099 0 R /XYZ 65.161 138.695 null] +>> endobj +4098 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4137 0 obj << +/Length 2877 +/Filter /FlateDecode +>> +stream +xÚí]Û’Û¸}Ÿ¯`åÉ®ÚÁ A»O»‰³ÙÔ&©x¦r)ï>`$Hb™"’²<ûõ/rLêÂÆ4a{¶òbi,ê°žÓèn4A¬üpóýýÍ×4PDÅ<îWAÌIœ’…$L‚ûeðæÅk“]™—·\Ð-jSuoWEÙ½©7ý‡(ßÅÛîÝýôò—û?ÛÓÜ2F”Ú]ý˜™jcL]5Û³³@Ú³Çasö(NHÂep+ˆJúó«Ð&òÅ×Ý ‹UóÅ›W÷7ÿ¹až,1‰U$Š‘˜ò`±½yó –ö3k‰” í‘Û@0JxÛ÷Ypwó÷Úµ&6o›—>B¶ãÁ$‘"ŒÆ róÿ‚Z;£8àDI”&X]„‚ž ”„EÉñ0kŽÆâ Âb6Æ”‘$– 3|<Ì1Q\Í`l X®ƒîÍ랉ö¶\ˆZ&ö†GŒDaÏžEitm–-.concJ_lõ[38Òþ?N¿òâ¡È–‡×i˜!µÙî2k7ìè‡GàÏ+Þ¥ùhÁ‰±öÜ^ 0øN—5ìÈb?:p@Ž¢²à aRú“Å) ´±²­_KâN«²Ø®@nª±~®3¡2‹:-r‡o`…qUví×î7i;βâ<¶™Æ`uG]¸2žÅ„[2ycüÉx´±ŒgŠÖ:« +àÕ^Õ}W L(·ù¡‰» nu]ƒ©ª—Û"OµWÎœ 0ÁÑ…×Óø´ôbEIÈ{÷÷3çb`ñˆ@’D–á´;ø/éb£Mö3´ÞÚÙËöÇßmÓzóÍË[Æíi¾*Èû*ë@'~,­1qä/8ŒcE"*¼ù„>Î'à…û„8±éŠâÝ•Ý¢‹žÖ×B¾êC¬–€ò\»Ç2]ojèáymòºzÚlr1$+Í;‹ +öSÀèg¬ƒã)÷9ìÀ4wtL±ådÄâOꙢÊ=y¦Ò¬ìu-ïôm÷ya¯_ùÑßû:ÍÒúÑÅ…ÖäPyô_œá/ˆÂ#½ÖTçÅ‘ÖÐöâoõè`vE +Uv•þ +-Và nìfñÊk³jÒ  Sò¥l;zcôè…ÒõÚ”®®¨ _û”®H(ûz,£ÍîŠ>ø —2& þ¼ŒHIDìÍÍŒðq~o,ÜшDE磤ËÎ#k¢˜ \‚HÕN/ ™¶©ƃƒ»?Á…>³§ÙçKSfinžÆ\,Ö8Õ]îïÿíè’D‘Dù«9ð‘‚Aë ˜X*ûšó¹)0´ŒH*?©·%‘*òäíwºÔ[òþ`ú0³ûŒŽÃPètÀ­5!ó8°„¨„ûc÷Én´±ìæŒK'ß-—в¸œµÕ¹Ã:Š¥^¹Õ;‡oTû‡ÊÔ_Ø•Å*Í\Ö‚L¾ÎÒj^ÿÐ[S›ræYÅæzvJYºz+$Ê"´â#i6Öö7¤¬ã=˜Ì{¹2p%šF#ý倩åûÌ¢eºZ™Òºï¾0é½:§ IòF6c¡Â_¡s„#/ÞX8y#¥HõU%°q _¹8½ªØ—‹K.uú:KA¨ò—ªð‘×Ù›±ý`$a¡¿0|„ ´±¤Oñ> ‡/úôãçöš çÅÁa‚†j)xÉ{t¤ço ŽCûꯨ;ÂG²Ö›±ý`N8ó·h?ÂGÚX Al×IøÇÕÌ™Æ;íg.p1Yξ2¸œh®|êLÜ‚_MYŒÿ +êz¢6õ&¶Ë€ë#ÅÊ¡Ü~êH®Èm÷ÔÂf¨º’•/Šðq÷gl?2&Qì/Qá#m,\ï¡T$ý,÷·&à9¤§éþLÁ?Xy¿Ùh¶Èg©²€¦¢&3Û“Fìi/’tU3oÂâ#…ƒ6ÖA8‰$ɱÇš¹%¨`fgê*-«Ünж–#ˆ­±œ^©i©Ä]ÕË›T†øH© uJœöm>.\çþ>ÊôÐŒ*(x…læÁÉ‹ç:éNKNt%0o’â#%‡6ÖAr"&òØo>F™ëU'·ôç7\G™¦pÔV™¼1x$0ÖTþF‚(öᆤÿwq>Ÿ²Ë4ãîÄäòC|$çÑÆ:>ŒZÜçHúé«Î)I˜¿e†>òª{3¶ ÚU]¼ Æ9hc$ÀBB#vì³3nÄ^næ‚ïq(<ôïÁè´km‡«®„á‹…#| ñÆ:°rB%FŽøÊö Å»ti*ðrÃ.Í×ÕÌwUˆú+O›+pÙU¼1yˆd2ÚX8“¹b„ñ¾¼ÿÏfÇ­Úd´/‹v54¹û^¯Í“Õ íËõì{Äͽ¬ñº;µ“.“÷Fí!>’ÚXc/YRûz¼¥ôj—Ûùö¸¶Íæz½Cg»~0µ{cÝww¿ÿñG/ Àg¦†æ‡@£nž„DÊOzó/!‰¾­xÄeïíå!%TøËkFøH}¢u˜z„= þ¡Ë´ØC뻥®kêV§9t‡ˆÒdð½[¡·1îw;S.t¾CºKD»‹å“oŽáLªü¥š#|$?½Û•„…3ž!>r0°ÆžJ3¹¹fŒD¼Ïon'&EømùúÜÄù»Ë³æO}ÐxJí‰ov‚7µ¶ŽØö ߪwx] ØA7àÛ²m`¬=h™J쫿α>N%xcSš´¡läMm¼^ÞŒÚ5{%9Y;Ï|P¦ù2]€o±wêÕ:Q1v†L}U˜½ìœùK½FøHx3¶ ;wp;'Žð‘ƒ5öâÔÉID$>÷ÔYm¸9öSS¦^”żµeŽw³b¡¶þ×põÇ9øvŸãˆpå¯Õd„ä?ÚXø¤Èâ„Ùww!rü.E–ÜUåÀ¯¦Í°]5šyC\b÷ídS0æ0‹ÎÓjëJtÑæíÞx>€GÒkªË›êïRJ“¥PÒÌÞG{tu.í'mesfµeÅÁ§g §ÉqJ½%#|$}ÑÆ:ð7$ŽûÞ’µÍ2Í{`îòÖ<νáWñ † nŸ*¼Ý«Ë®pãÞC|$½ÑÆ:Ð;ŒÈñ®Åg“¢6‡˜æ +ïŠÞ¸2ÄGrÅ›±ý`PEõÕ ñ‘ƒ5öröÊ8IÔg/üVu9ö»=2›ýju:L¤»—žé5QO;lÒÅÆGw ¸TýPêñÍO“rW]]ÂÁ‡ð8~£Mu˜¬¡2ì+¶«}~ú9pw€Ö-KÏ0{Š§àÆÁV7àhlmà˜¤94zÓÐ~äkçmdWJðEâ!<ŽÄhSá$V”ÈcCÅy×9Q3€ÞRVë·¦ú|·}:¶Æ€Û}Øzþ:|åX»™~œ]WuðöÆ<òŒXSá‚HQ¬¯Á{äøc•Yвɓˆcê…óƒIÁ;@»fû²/O÷Œ<¾ž{VvD ÕS•ý_#ìGú +endstream +endobj +4136 0 obj << +/Type /Page +/Contents 4137 0 R +/Resources 4135 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4002 0 R +>> endobj +4138 0 obj << +/D [4136 0 R /XYZ -16.307 900.716 null] +>> endobj +4139 0 obj << +/D [4136 0 R /XYZ 56.693 759.068 null] +>> endobj +4140 0 obj << +/D [4136 0 R /XYZ 65.161 752.393 null] +>> endobj +4141 0 obj << +/D [4136 0 R /XYZ 65.161 741.435 null] +>> endobj +4142 0 obj << +/D [4136 0 R /XYZ 65.161 730.476 null] +>> endobj +4143 0 obj << +/D [4136 0 R /XYZ 56.693 683.362 null] +>> endobj +4144 0 obj << +/D [4136 0 R /XYZ 65.161 683.651 null] +>> endobj +4145 0 obj << +/D [4136 0 R /XYZ 56.693 636.143 null] +>> endobj +4146 0 obj << +/D [4136 0 R /XYZ 65.161 636.827 null] +>> endobj +4147 0 obj << +/D [4136 0 R /XYZ 56.693 589.713 null] +>> endobj +4148 0 obj << +/D [4136 0 R /XYZ 65.161 590.002 null] +>> endobj +4149 0 obj << +/D [4136 0 R /XYZ 65.161 579.044 null] +>> endobj +4150 0 obj << +/D [4136 0 R /XYZ 56.693 531.536 null] +>> endobj +4151 0 obj << +/D [4136 0 R /XYZ 65.161 532.219 null] +>> endobj +4152 0 obj << +/D [4136 0 R /XYZ 65.161 521.26 null] +>> endobj +4153 0 obj << +/D [4136 0 R /XYZ 65.161 510.301 null] +>> endobj +4154 0 obj << +/D [4136 0 R /XYZ 65.161 499.342 null] +>> endobj +4155 0 obj << +/D [4136 0 R /XYZ 65.161 488.383 null] +>> endobj +4156 0 obj << +/D [4136 0 R /XYZ 65.161 477.425 null] +>> endobj +4157 0 obj << +/D [4136 0 R /XYZ 65.161 466.466 null] +>> endobj +4158 0 obj << +/D [4136 0 R /XYZ 65.161 455.507 null] +>> endobj +4159 0 obj << +/D [4136 0 R /XYZ 65.161 444.548 null] +>> endobj +4160 0 obj << +/D [4136 0 R /XYZ 65.161 433.589 null] +>> endobj +4161 0 obj << +/D [4136 0 R /XYZ 65.161 422.63 null] +>> endobj +4162 0 obj << +/D [4136 0 R /XYZ 65.161 411.671 null] +>> endobj +4163 0 obj << +/D [4136 0 R /XYZ 65.161 400.712 null] +>> endobj +4164 0 obj << +/D [4136 0 R /XYZ 65.161 389.753 null] +>> endobj +4165 0 obj << +/D [4136 0 R /XYZ 65.161 378.794 null] +>> endobj +4166 0 obj << +/D [4136 0 R /XYZ 65.161 367.836 null] +>> endobj +4167 0 obj << +/D [4136 0 R /XYZ 65.161 356.877 null] +>> endobj +4168 0 obj << +/D [4136 0 R /XYZ 65.161 345.918 null] +>> endobj +4169 0 obj << +/D [4136 0 R /XYZ 65.161 334.959 null] +>> endobj +4170 0 obj << +/D [4136 0 R /XYZ 65.161 324 null] +>> endobj +4171 0 obj << +/D [4136 0 R /XYZ 65.161 313.041 null] +>> endobj +4172 0 obj << +/D [4136 0 R /XYZ 65.161 302.082 null] +>> endobj +4173 0 obj << +/D [4136 0 R /XYZ 65.161 291.123 null] +>> endobj +4174 0 obj << +/D [4136 0 R /XYZ 56.693 244.01 null] +>> endobj +4175 0 obj << +/D [4136 0 R /XYZ 65.161 244.299 null] +>> endobj +4176 0 obj << +/D [4136 0 R /XYZ 65.161 233.34 null] +>> endobj +4177 0 obj << +/D [4136 0 R /XYZ 65.161 222.381 null] +>> endobj +4178 0 obj << +/D [4136 0 R /XYZ 65.161 211.422 null] +>> endobj +4179 0 obj << +/D [4136 0 R /XYZ 65.161 200.463 null] +>> endobj +4180 0 obj << +/D [4136 0 R /XYZ 65.161 189.504 null] +>> endobj +4181 0 obj << +/D [4136 0 R /XYZ 65.161 178.545 null] +>> endobj +4182 0 obj << +/D [4136 0 R /XYZ 65.161 167.586 null] +>> endobj +4183 0 obj << +/D [4136 0 R /XYZ 65.161 156.628 null] +>> endobj +4184 0 obj << +/D [4136 0 R /XYZ 65.161 145.669 null] +>> endobj +4185 0 obj << +/D [4136 0 R /XYZ 65.161 134.71 null] +>> endobj +4186 0 obj << +/D [4136 0 R /XYZ 65.161 123.751 null] +>> endobj +4187 0 obj << +/D [4136 0 R /XYZ 65.161 112.792 null] +>> endobj +4188 0 obj << +/D [4136 0 R /XYZ 65.161 101.833 null] +>> endobj +4189 0 obj << +/D [4136 0 R /XYZ 65.161 90.874 null] +>> endobj +4135 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4192 0 obj << +/Length 2640 +/Filter /FlateDecode +>> +stream +xÚÍ]Kwã¶ÞûWðxÑÚçÄâI°]Åm2“œ6™ŽÕÓ¦3YÐ$±¦H…QÜ__ð¡©ISÒ…A¸ÙŒ5ùñ¸ß}°ï­=ß{{q»¸xó-÷½…‚o±òA"ð$¦ˆÞbé}¼ú R•êú†pÿꇼRe÷q•݇jÓùç<¾Íó‡î?ÿ¼ûËõÏ‹ïõcn0F!çÚ]õ˜ªr£TU6_ë§cOê§ Ú<‰Dz7…AÿüiÀ@^½é~`67^|³¸øåkxßÃH„Ô BŒ„O¼x{ññgß[êï´ˆ…ÒÛ·Wn=Ž}D¨ÐŸSïîâo~?¾±ùØüxûYˆ0Ž$– ró{‚Bz¸¹:ô +å­Ž"Åç <Æç>F '<BÎ l X¬½îÇ^Qô·SÅš©’zÈe#xˆ°/º©jT¢™›ã8ÞÇáûWI¼®„]Wå°ëÖ*SET) êxaT¬ë­Ê€/%ðó×E¾Z1Ï.Ô/µ*Go4P–4¡ I­eÎh2Ä·¤‰µ°4¡aÖ[´jUe™+ ʪH²5ìÚz·SE•ã´h¨ûÅù‰&9œæ§è–“ìHÐ~°†dØÝ@ ñ-‡ÂVØçÚh?M1"ú ­vßô:uÌV.—j ÓÓmô Ž(èÄ-cÓvúâL Í<Ðd¿7Ìòb¥®^1‹¶ãiX€‹^*Š7ÐBtuØëg/øÕiq÷бË÷ÐÞä.bho6ftåNcšV‚8ÅZÝÕüFø–”´Ö€’”#ÂIGÉÙãKm_…i{í€õål©Š2Î UÂÛ-í‹ t•ƒÊʺ€6àMæ*ÏS hš<˜†Öœ`äûîj¥#|K†X kÀÂ9 SõëºÈ×S +!jš¦° ¼‡ZÍûTÍ»ôFgzå+xÛö÷§íÀÔXÚç©ßŸhоx,ÎóH«¡Ï&PC|KY kÀ£f­"í¨F#f7qžUÔ‡M„½«®­iŸË×Ì¥˜Ô¶H?ÒM.µÌãû<0H¥XÀåS)¦“Ǧ[ãŠM#|;6Ù g]U¾Ü÷3—/ûª$´( u-S%?Û2âË"kO™dË$§¦û*æö«Ûȸ½Å8AŒºK„Fø–„²Ö€Pœ£€ô‰PãIÀ(«¨¨&² @ˆó¹Snx»uîNœ°q$ØR­’,©’<† +àLjcÕ1†sXá[ÒÆZXÚ0¦%í³£– óª ØN8—ó%¯šÕ|].úY  PéZçð\/2í50ê·=Xgœâ[rÆZXÎPŠ¤ßgBÛd½©æ- +|NÔÞ@[­†þWõ8¯$@œ¼nÂä³v£Úo¦ùDC†äÓÞÍÜ•´íSºbÝߎuöÂÂYGe€0LJ®-Àû”V…,)·3¯u6]™ít­,•>’MrR.‘pGäÔWÛh‡Úõì& eáÀ!AiÐ6AtˆoIPka ʺ-Àí  ß~ôŸ8*žWÏD~ÿzÉMåKno2º{Žn]£p±5µ!VWÐe*šƒ/ݽH‰h›“Ψ2Ä·¤Šµ°T!!â´ßÈoLnU”Í^u?ìÕjù·I¦]©‹åÀ7ƒ7á2 ÉÒ<[CÙ0Ù£8OÌÛ¤3" ñ-‰`-¬°DüP/!)"`Q+ŠcàCUû‹a,§š7g–!kSýhЄ*q’••Š€opÿåeñ•zååx ÇyZèìŽ:,fð-ia-¬-tÔ*Ål×®t„³;º20Qöª9 ´`®rˆ\“²hr‡?v_š/Ø&B"ÁÜe„mÐFøv°N"ô½"<ôsŠBÅ`CAW·­ U– 4hÿÜP-òeƒ¥½Ïgîÿ>ªÎDë|öUQ]Y@˜h»wÎh0Ä·¤µ°4à>òûøh™W3ŸÓ­H›l±úw]Bµy2κü„)C—×  Ë(:Ê”ZºÀ§¯ð»Ã;œn!ï7Il7ÊÛ¦3¶ ñ-Ùb-¬[hˆüCšUïÁ¦ zœÚüëDÇ e«¸ÂcÐðÜDÙZ_ß Ð\‚‚àUw_ÿÊY•ú-$}òEè.¦Ä2D ÔCx;ã`-*Ü6à°98¢/Oÿ©UdhVÅ +ZÖÀËÜrÖkšê!Y m`•:V7Xõc|ÖIcÓ +t¦áC|K·Ö@ÇesÆChxJhsHipDcó +•Åªœ»Ù^Î2©asî*7y.ç^´­HO¥rž"@ÚȹcÅß’Ö°"ðë ?4×·9ò´;æ^iµI 5QÇBm£Ùw–tü&ß©U¦æÛïÏŽÁ:È#Ô]&4·Ôyka tž‡ˆ“/«eÊ:ýƒŠ9qV݉:Sù‚MiFè"×£‡œžWyèȼ¿3ekκt·t„oÉ ka ˜Á$â¢ï­LZop¿3‚ˆ¯™Íbj_&e³I¶Ê 2Y¬Sk» t§ÙP¶]0W*<„·Ó`kQ ¸91×ïƒ|ðq³†G —õýFÛIx¾Ù§;oFðLèãñÉyçNz¿þûâÝî\å²2@Âa)wo§ãÖ¢Âuûs1ìK½Óô¯ÅüÅDͺ +endstream +endobj +4191 0 obj << +/Type /Page +/Contents 4192 0 R +/Resources 4190 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4002 0 R +>> endobj +4193 0 obj << +/D [4191 0 R /XYZ -11.232 900.716 null] +>> endobj +4194 0 obj << +/D [4191 0 R /XYZ 65.161 760.065 null] +>> endobj +4195 0 obj << +/D [4191 0 R /XYZ 65.161 749.106 null] +>> endobj +4196 0 obj << +/D [4191 0 R /XYZ 65.161 738.147 null] +>> endobj +4197 0 obj << +/D [4191 0 R /XYZ 65.161 727.188 null] +>> endobj +4198 0 obj << +/D [4191 0 R /XYZ 65.161 716.229 null] +>> endobj +4199 0 obj << +/D [4191 0 R /XYZ 65.161 705.27 null] +>> endobj +4200 0 obj << +/D [4191 0 R /XYZ 65.161 694.311 null] +>> endobj +4201 0 obj << +/D [4191 0 R /XYZ 65.161 683.352 null] +>> endobj +4202 0 obj << +/D [4191 0 R /XYZ 65.161 672.393 null] +>> endobj +4203 0 obj << +/D [4191 0 R /XYZ 65.161 661.435 null] +>> endobj +4204 0 obj << +/D [4191 0 R /XYZ 65.161 650.476 null] +>> endobj +4205 0 obj << +/D [4191 0 R /XYZ 56.693 603.139 null] +>> endobj +4206 0 obj << +/D [4191 0 R /XYZ 65.161 603.823 null] +>> endobj +4207 0 obj << +/D [4191 0 R /XYZ 56.693 556.486 null] +>> endobj +4208 0 obj << +/D [4191 0 R /XYZ 65.161 557.17 null] +>> endobj +4209 0 obj << +/D [4191 0 R /XYZ 65.161 546.211 null] +>> endobj +4210 0 obj << +/D [4191 0 R /XYZ 65.161 535.252 null] +>> endobj +4211 0 obj << +/D [4191 0 R /XYZ 65.161 524.293 null] +>> endobj +4212 0 obj << +/D [4191 0 R /XYZ 56.693 477.351 null] +>> endobj +4213 0 obj << +/D [4191 0 R /XYZ 65.161 477.64 null] +>> endobj +4214 0 obj << +/D [4191 0 R /XYZ 65.161 466.681 null] +>> endobj +4215 0 obj << +/D [4191 0 R /XYZ 65.161 455.722 null] +>> endobj +4216 0 obj << +/D [4191 0 R /XYZ 65.161 444.763 null] +>> endobj +4217 0 obj << +/D [4191 0 R /XYZ 56.693 397.427 null] +>> endobj +4218 0 obj << +/D [4191 0 R /XYZ 65.161 398.11 null] +>> endobj +4219 0 obj << +/D [4191 0 R /XYZ 56.693 350.774 null] +>> endobj +4220 0 obj << +/D [4191 0 R /XYZ 65.161 351.457 null] +>> endobj +4221 0 obj << +/D [4191 0 R /XYZ 65.161 340.498 null] +>> endobj +4222 0 obj << +/D [4191 0 R /XYZ 65.161 329.539 null] +>> endobj +4223 0 obj << +/D [4191 0 R /XYZ 65.161 318.581 null] +>> endobj +4224 0 obj << +/D [4191 0 R /XYZ 56.693 271.244 null] +>> endobj +4225 0 obj << +/D [4191 0 R /XYZ 65.161 271.928 null] +>> endobj +4226 0 obj << +/D [4191 0 R /XYZ 65.161 260.969 null] +>> endobj +4227 0 obj << +/D [4191 0 R /XYZ 65.161 250.01 null] +>> endobj +4228 0 obj << +/D [4191 0 R /XYZ 56.693 202.673 null] +>> endobj +4229 0 obj << +/D [4191 0 R /XYZ 65.161 203.357 null] +>> endobj +4230 0 obj << +/D [4191 0 R /XYZ 65.161 192.398 null] +>> endobj +4231 0 obj << +/D [4191 0 R /XYZ 65.161 181.439 null] +>> endobj +4232 0 obj << +/D [4191 0 R /XYZ 65.161 170.48 null] +>> endobj +4233 0 obj << +/D [4191 0 R /XYZ 65.161 159.521 null] +>> endobj +4234 0 obj << +/D [4191 0 R /XYZ 56.693 112.579 null] +>> endobj +4235 0 obj << +/D [4191 0 R /XYZ 65.161 112.868 null] +>> endobj +4236 0 obj << +/D [4191 0 R /XYZ 65.161 101.909 null] +>> endobj +4190 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4239 0 obj << +/Length 2579 +/Filter /FlateDecode +>> +stream +xÚÝÛrã¶õÝ_ÁÉKwgb,î ’§f’MÛi;éÚílò@IÄš"UZÛýú‚OMJ´ ÁIûbÉxxxpî'›'?^}w{õá£À‰FZR™Ü®I‘TIJb*¹]%Ÿß}2…Éjóþš +üî¯Ucêþíº²ý›f;|ù}µü®ªîúþ~óç÷¿ÜþÉÝ暤…è¡Ý4…©·Æ4uûµ»;IRwwÉÚ»s©¢ir-VÃýµpUúîCÿB¤n/¼úáöê_WÄÇ I„DR³Di‚$¦Érwõùœ¬ÜwÄušÜw+w‰ Q&Ýû"¹¹úÛ(g)ò›kD°ìqú™RÑañtÙ‡nI÷¼½&E\¦î‹nñ_òå63ÅÏXàfçþ’÷×ãw7»¼Ù~óþšP÷Ï¢¨–wè¡.z¨Ž^-àöåÇñ“ºý!Š&Š9l8kŸ´ý\`G7.Štªk’õóGA;ýéñ hŠHÊŸnÐ&íêPøI¦ð&H9’Aîð|Û%ÒT_Ù Ý$ý›OŒöô qFwê¶vhFlp 'ùÜmö²ZØÊuUaf¶:”+ØÚ½­66ÛyÝäåvi–£…îy”=©#–û6€=g^çåSDSI>ëDzڷòùmÿåªZ.œªóX©)bDÇ“X™ä[,ƒ“×`Táâ*SŽ$L‰Ù- P`–‡º©v°µ»li+ØÒ•YçeÞäUYÃ.ÈK(À…ûlcê©\=|0wMq¢{o³=le'QuþJ2œ7åì>&ñÄa ?P‚‘õÅtà;1Kç·À9sœÐ·4’óÎÛ‹cL¹*[ÿ×Gë3Žµ>eH¨ˆj ?σ‘õàs*QÚ~ÒîyËõí™ñŽN\ò®>,¶&[}¯ÆìöEÖ@±ZŸ)uP6ðæ@Uîùpmäè©Jˆ KIËÇð¹<Y.'.RÆClý¤Ÿ€»f–­òZ_b$Õo©ÝE*‘""’voc#ÕîR‚ÆSíÂí±Ò,ÓOà‡1}8²p¦R#üêý~µ‚곺Ú?õ[¿R¡QÀ`M™¯§ây=ocœí*=–›j—U¹êb–¬ðÔÛBp”²xY¤ ü@FÖƒ…EŠ²H»ÌÞö—7¶Z¯=üèF¦™BþÝ ® ¨‡‹VA—æeÝ8Ƕ¸ZÃÖm3»ò3bÁŽ‰ ÎPªD<9ÔÃ`d=ä+÷Ê9<M¾/€Ìå Äò8“‚Ô£4Uoê@…ôSîúâTå }–#=4y‘7>.NÑóœÊ¥=*®r¸Gƒ ü01GÖC 0FŒ I¡?¶ Ê©©Ÿõ ¶fy5JP wÔW–¨›fM~¡1õ.»ë÷Ÿn¦êâüáøéû@ªš£:ÔYQã.–šÆ…1ü@QF. +<Õˆ ĵ”Š5¿kÓ<üpÅ Bá¹þvdt¾zÙ¯+Ú¢<ˆ•¦iŒ…絺‹n¡9³åÁZ­nž’l‡Ë7@S•ÛN/xžÀäïhÈÄÜ½Æ Ã&ð‰Šì±h;òjJºî.÷çúe¦vŒº26F)+ƒÖ쿻Ț|ç•Î»pY1Áª¬ê½ó‡=ì[ÔÚ Q/à™ÀäøhÈÄàQ¯F4HŒPdçÅŸ $8‰?¸±( E¾Ù6Yƒ5@“-ï6@ ³Í¡k³¢n/¤–Ög.¿†zFÕñJCøÌŒ,À‘uβL[Ä9éP-±ëö={¬ <Ë–•Ó\`çhtFÛ¹1üÀ‹†ì@ Ü…Ñh1HŠ@Tçt[8• +¦ ­ùŽ% …춊}ajò{ñ³þ…v¦- 87Ñ;¼Ðìôñû½±Ëlš°?«˜N§ñ2uøaŒì¼oñÂC^®M¾Î{ Y îpy„ö›Ë2ÃÒ…'4½~B z cÀÒ>Ú‹ÆBcø, ÙJ"ã¥C&ð‰Šì¬…aJ#¥ ÈÂd´ºÊë½s˜`‹¬Y×—MAÿŸ™7è½ËÊîÀeŠW˜ Ù‡‹ÑDf ?PdB‘5AL¦(eb‚¢”ÛO{ž¦@ô¡P´­ÃÜÊhÈÄà µeáhÄÃ$F(²ó¦€»;X6he³û §ƒJ t€§¡ÿGÍÀyée}XaÇð6²1hÄKLà#YxÝ–QŽ´æsá%IŸþ]¶ºpC>xÜ^,Þºv†µ²Í…ñÌÕhUÇdÍÁBio¬ym-˜9–‹Øü6(1±Pí)AuÿÄ"Å~-‚‘·ý˜!¬RX£¿¼DÂ=S.õHk˜µÍ¥¹p·û³¾ñâÑÓèÓ´;¢qê~ §# /ëPíD†”`ù4#g58! u'<î”û8_¼<[ZÓOaƒgñ ÆJ±óâçåA)”ªx ¼ ü@yFÖCRÒ=@'yS›Âwìá>o¶ïK™™Ÿ*(WÅë'(#fç wTT>ÏŲº£qñ~ #ëÁÅ +#Š‡,›SNÇ3´C ~F˜¹ÇÀGÙ² v–—}£“$¸—–ë¼( ÎÝ¢zÈ@R!º3°¢1þ~ ã#ëÁøB#ʇŸ üÔ¬uÙŒtc^ó9-ਃ +ÓÄ^mZÐåÉf®ÿ2ýo:iHyŸŠ&pcø ÙŒ#ÌâeP'ð‰ŠìlØO™BŒŠK‡ýÜۯ;YÞ¼´ãN+Ö‘ÕâúEV¾E[JûÌN4NÃäô`d=ì,•ˆÉ!=~ÔPï>ûöRݱ8ùT-Œm†aÝ&{lªòi\ךµ)ë3ŸKR…(‰xê(QQ/>œÀßpdáÕ-¢4|ˆÝÎív>¡tÒPC—ÞCO2Hì÷“PöÌ)&~ê#JÏÉ?uãÓƒ”ÿÛx<áÉA©6xh]kèéD1D回°JFLßÈñK„;lÒ4¢.¢ñx ×1ø@MŠª‡"b)2ôèÌ x”(ß”;pÇ>TR×¹…Šjë=¬~-—ìå˜l¹õˆÏ¶Œtd !N„U¼Rñ~ #ë!mS‹ŠÇ•í†&Ú½ˆ0çešÛÛxÎìÿðàs8Ü®Ù]ú„mm)YL³À6wvCxuæ ü@6FÖƒÍÛNýtNpv€Ž¡'Q;åi3xdÛl9ö±‚ÙÐ9²&³¯=.“`Žeo鯥íaè·qר§~”ÃùiXê×ü&Ç 97& +endstream +endobj +4238 0 obj << +/Type /Page +/Contents 4239 0 R +/Resources 4237 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4286 0 R +>> endobj +4240 0 obj << +/D [4238 0 R /XYZ -16.307 900.716 null] +>> endobj +4241 0 obj << +/D [4238 0 R /XYZ 56.693 742.142 null] +>> endobj +4242 0 obj << +/D [4238 0 R /XYZ 65.161 742.431 null] +>> endobj +4243 0 obj << +/D [4238 0 R /XYZ 56.693 694.923 null] +>> endobj +4244 0 obj << +/D [4238 0 R /XYZ 65.161 695.606 null] +>> endobj +4245 0 obj << +/D [4238 0 R /XYZ 65.161 684.647 null] +>> endobj +4246 0 obj << +/D [4238 0 R /XYZ 56.693 637.534 null] +>> endobj +4247 0 obj << +/D [4238 0 R /XYZ 65.161 637.823 null] +>> endobj +4248 0 obj << +/D [4238 0 R /XYZ 65.161 626.864 null] +>> endobj +4249 0 obj << +/D [4238 0 R /XYZ 56.693 579.751 null] +>> endobj +4250 0 obj << +/D [4238 0 R /XYZ 65.161 580.04 null] +>> endobj +4251 0 obj << +/D [4238 0 R /XYZ 65.161 569.081 null] +>> endobj +4252 0 obj << +/D [4238 0 R /XYZ 65.161 558.122 null] +>> endobj +4253 0 obj << +/D [4238 0 R /XYZ 56.693 510.614 null] +>> endobj +4254 0 obj << +/D [4238 0 R /XYZ 65.161 511.298 null] +>> endobj +4255 0 obj << +/D [4238 0 R /XYZ 65.161 500.339 null] +>> endobj +4256 0 obj << +/D [4238 0 R /XYZ 65.161 489.38 null] +>> endobj +4257 0 obj << +/D [4238 0 R /XYZ 65.161 478.421 null] +>> endobj +4258 0 obj << +/D [4238 0 R /XYZ 65.161 467.462 null] +>> endobj +4259 0 obj << +/D [4238 0 R /XYZ 65.161 456.503 null] +>> endobj +4260 0 obj << +/D [4238 0 R /XYZ 65.161 445.544 null] +>> endobj +4261 0 obj << +/D [4238 0 R /XYZ 65.161 434.585 null] +>> endobj +4262 0 obj << +/D [4238 0 R /XYZ 65.161 423.626 null] +>> endobj +4263 0 obj << +/D [4238 0 R /XYZ 65.161 412.667 null] +>> endobj +4264 0 obj << +/D [4238 0 R /XYZ 65.161 401.709 null] +>> endobj +4265 0 obj << +/D [4238 0 R /XYZ 65.161 390.75 null] +>> endobj +4266 0 obj << +/D [4238 0 R /XYZ 65.161 379.791 null] +>> endobj +4267 0 obj << +/D [4238 0 R /XYZ 65.161 368.832 null] +>> endobj +4268 0 obj << +/D [4238 0 R /XYZ 65.161 357.873 null] +>> endobj +4269 0 obj << +/D [4238 0 R /XYZ 65.161 346.914 null] +>> endobj +4270 0 obj << +/D [4238 0 R /XYZ 65.161 335.955 null] +>> endobj +4271 0 obj << +/D [4238 0 R /XYZ 65.161 324.996 null] +>> endobj +4272 0 obj << +/D [4238 0 R /XYZ 65.161 314.037 null] +>> endobj +4273 0 obj << +/D [4238 0 R /XYZ 65.161 303.078 null] +>> endobj +4274 0 obj << +/D [4238 0 R /XYZ 65.161 292.119 null] +>> endobj +4275 0 obj << +/D [4238 0 R /XYZ 65.161 281.161 null] +>> endobj +4276 0 obj << +/D [4238 0 R /XYZ 65.161 270.202 null] +>> endobj +4277 0 obj << +/D [4238 0 R /XYZ 65.161 259.243 null] +>> endobj +4278 0 obj << +/D [4238 0 R /XYZ 65.161 248.284 null] +>> endobj +4279 0 obj << +/D [4238 0 R /XYZ 65.161 237.325 null] +>> endobj +4280 0 obj << +/D [4238 0 R /XYZ 56.693 189.817 null] +>> endobj +4281 0 obj << +/D [4238 0 R /XYZ 65.161 190.501 null] +>> endobj +4282 0 obj << +/D [4238 0 R /XYZ 56.693 143.387 null] +>> endobj +4283 0 obj << +/D [4238 0 R /XYZ 65.161 143.676 null] +>> endobj +4284 0 obj << +/D [4238 0 R /XYZ 65.161 132.717 null] +>> endobj +4285 0 obj << +/D [4238 0 R /XYZ 65.161 121.758 null] +>> endobj +4237 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4289 0 obj << +/Length 2490 +/Filter /FlateDecode +>> +stream +xÚÕ\msÛ6þî_ÁéÍ\œ™3‚w×››i®—6wi'{îeÒ~ (Hâ™"U²ãþú‚F”e-Âm¾XoàrM>öÙ]€8™'8ùæìåÕÙ‹W'iIer5K$ER%)aˆ©äjš¼?gJ“5æùøüûº5Íöí¬¶Û7í¢ÿñë:Y××Ûÿ½|óüÇ«¸Ó\‚´[k—í]iš…1mÓýìÎN’Ô]²îì\*¤hš\¤U~-A•ž¿Ø¾©»Ïþ~uöÓqæqB!‘Ô,Qš ‰i’/ÏÞÿˆ“©ûÍ9€¸N“ÛÍÈe"F”I÷¾L.Ïþu†û+‹ÝÛîå›O,»ëAM׈`ÙYî¾ØùÉeB‘NubM2;h +z–"ÂÕý ¶†I7:Ô¾@D’¡} R2áÓË,‘¦zg7í<Ù¾y×#ÑÝ ø‰½ãœ ÎzôüÇf«•™npØVòþBb|ÞÔKiëÙ 62¯«iÑu•• ìˆÌÖëj:¶ËÌ^¯W°±QAk;5ÖLË¢iwع‡;Ä»G/Uˆ¤i<ôîÚDo°³èenúQr‹Þ Šƒ¢5Ëâç‡îÄÁ[·nWëݱî„ê¿8H˜ñv‘µÐ‘@Æuÿ@eR`TËs³j³I t¢¨`ãÞ^úÒHDÒ¢Ña×~ ‚õ ÑH>°?€Ù÷–[S–ãZ¼ºúßVhû Q¢¼î˶^I£ýtó¥bÇõÁ=Iw ÁÛÁßù"3åXàvéþ’ç›ÿþrY´‹??¿ Ô}XèCS~¹ý¥¹«êÕ'ŸW™Í–èí™ì|aªxµdê|—<žÄ’R#ŽE4V쇱2ÜY8+¥r¢_Ó-¾šN¡ <Û/³ê‡8â|¶®ò ºš¢ñ8¬é2 ˜?hšÖX¸ùÍqßB' ð•i2¨F5³™ÉÛÓÛqî 7p»ö©ì¬5¤ó”±-5ŒWÙÜ4'K²à`ÆÕoÅ¡ƒÃÐ*ʾ½úî/ʹB<—cì¢<ØY” Œ”eYÉ/.Ÿ͇NSÐDajfÙºZ½ÉÊ54MhºÏ³(«šbHºg_º¢jZ“ãn=ótèz/Ð=ƒjXÉù¦~ö”"–$RIÄ~Ô­Ð @rE”¥#)i¼Yi×~à¬ì¬Ç¬„Ywl_„¾­í5T˜.²jZÕü$:÷Ï!‰þx˜qïàazeë¶nïV&¤ÒsD¸¾ΊU ­ÉTshä·¦,†šé(ëDª‘Â,)öÃHî,œB;óšô¡ºY6C#÷CÊaqpÞf“u™ñÒšåªÌZÓxV3'kpväkÿ¿†–`§543˜v/•;ΕºÀ¯z1°Ȉ`g=‘R„Y_½h­_³Ú.³®I\}bwæø¼û +Úz‰[Nj P°#éÝØië&©t:Þ—]Û8W¾ØäF°³ÜPaÅüëíÐ,<« ö¦¦j¡ú Þ÷šÕeYß‚¥ˆŠ2Ú¿)­ž2oœ 4e¿“¼I0âà/mÔý"I<ÎïÚä|°³œ§Q®·wö­­WÆ–wP–¶fn³6Nž5û}ÃÇ®B îkN wç1Ž—ñìB7ØYèv Ó¹ÍÇ…bžšë +:Ç狺Èc'¦½5¦ú,ð ^fòÕ÷—¯#ÐÇ—\k„y¼\`?ŒáÎzÐSÄXŸëçkk„‚Nåy]µÖ‰#x/×Öëù6xݘqKkC]ÖÝ ’ÃÔÙ+Vt²§/NãuÆŽ;MNã¥ìûÀvl® bªOÙOmÆwK‘Çî5MLžÁ _þ`œ¼®Šf9v!ÉsN°:²ö]@À•B„ÆËÀö¡ì¬ÔSŒ8铲Ñæžã…08½º¦Ð²@¼•EídÜFkÇYáGd¼û¬uö0ºµl⾡ûhL÷œ€³Þg?»X韂ƪMÜ|Hÿ‰›/¡TæÍzµª¡· œo̾ .¢8Þ„ý@²;낺õrº_ -mäÖdP}•}ž«@Áyò2»6¿åÜ.œíOÇY÷ÕÂh¬ÙµÈš`g=XÃ÷{ ÷*% ʵ•5±7ccÌ|(š\õBäÄ,²›¢¶„ò¢ò)$œ¤ˆñX»#¦u>©ëk ÇΟ”Åë‘0­§ñ +ûaäwÖƒÜ#EúDßñð`^ãL¼8< ¬ +èõ;GCBá]bš#Ξ”pL$(D8”ß4żª­¹ßqTxIç›ÐÉ'0ŠWÙ±H¼@Gá´c‚¡4Mm4ê±ýÅa~L'K芃Çôã…g­å‹Ç3ª·¯GœE•×vU{tb‹Ñ{›{2ã8£˜F’ÇëÈì‚>ØYØsº9çöN&5Öº(§§.?aÌÍÀ‚>édOR,4Ù[33Ukï|fxìRŸÙA5E)‰WÞØ|¸³pÀS-ÁýÒýWÅè,fÍÜ¥B |å&¸X¶©*NÇ]Ó¶®L“gàÇ‘L³f1î‚ÔÉé[Ž³‡¦¥"^9m`?ÜÁÎz€;u¯÷Y¤×º7‡Uàý¾`±à¬®Ö^‚íV|Ü•î¶þ­t'h ‘kþ®ûI5§œCcU¥:^ij`?ÁÎz PqDÒ¾4uµÈªëf܉åë¬* 0}cŠ©±í©B…J…4yJÒ!PëXU Úéfë!R(³ˆO½ ”#¬âÕ€öY쬋¨BLRo‘²²õ¤4Àµ·ÐUÐ}Î.êz hs¿«=uq¬·ó97•y ã=Î —w¯Ò2°ð`g=N$âø×gWÀïn.~ùT-Ž®Ùý¼ƒ˜»ƒ„>éfÿ%±6{UYTÆ#ŒåÜñ¢qü¡:^mi`?ŒäáÎÂIN¤FBiïg7mVmرÐ.6æ]OMk×y;s<ú·Wo¡”éžšY°SÐ8¸ÿ´Îã41oçÇÀ~ Œƒõ€±HѽóYجíæùªPØOîNÜßÿ—Ãp4{‹±þzd‰f6ß ´_Y¼—©ã?ÜÚc˜¨’=…A.{c*Þf‘ý@;ëÁ ®”ýf‘¢ÍÊ“$ [F8NAH¤ŒêGδQ#1ÔáeÌàþÙf‘Ýä‹âúTyH8A,äáÞÐ9FXêS€þ Víÿœ +endstream +endobj +4288 0 obj << +/Type /Page +/Contents 4289 0 R +/Resources 4287 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4286 0 R +>> endobj +4290 0 obj << +/D [4288 0 R /XYZ -11.232 900.716 null] +>> endobj +4291 0 obj << +/D [4288 0 R /XYZ 56.693 759.068 null] +>> endobj +4292 0 obj << +/D [4288 0 R /XYZ 65.161 752.393 null] +>> endobj +4293 0 obj << +/D [4288 0 R /XYZ 65.161 741.435 null] +>> endobj +4294 0 obj << +/D [4288 0 R /XYZ 65.161 730.476 null] +>> endobj +4295 0 obj << +/D [4288 0 R /XYZ 56.693 682.968 null] +>> endobj +4296 0 obj << +/D [4288 0 R /XYZ 65.161 683.651 null] +>> endobj +4297 0 obj << +/D [4288 0 R /XYZ 65.161 672.692 null] +>> endobj +4298 0 obj << +/D [4288 0 R /XYZ 65.161 661.733 null] +>> endobj +4299 0 obj << +/D [4288 0 R /XYZ 56.693 614.226 null] +>> endobj +4300 0 obj << +/D [4288 0 R /XYZ 65.161 614.909 null] +>> endobj +4301 0 obj << +/D [4288 0 R /XYZ 65.161 603.95 null] +>> endobj +4302 0 obj << +/D [4288 0 R /XYZ 65.161 592.991 null] +>> endobj +4303 0 obj << +/D [4288 0 R /XYZ 65.161 582.032 null] +>> endobj +4304 0 obj << +/D [4288 0 R /XYZ 56.693 534.524 null] +>> endobj +4305 0 obj << +/D [4288 0 R /XYZ 65.161 535.208 null] +>> endobj +4306 0 obj << +/D [4288 0 R /XYZ 65.161 524.249 null] +>> endobj +4307 0 obj << +/D [4288 0 R /XYZ 65.161 513.29 null] +>> endobj +4308 0 obj << +/D [4288 0 R /XYZ 65.161 502.331 null] +>> endobj +4309 0 obj << +/D [4288 0 R /XYZ 65.161 491.372 null] +>> endobj +4310 0 obj << +/D [4288 0 R /XYZ 65.161 480.413 null] +>> endobj +4311 0 obj << +/D [4288 0 R /XYZ 65.161 469.454 null] +>> endobj +4312 0 obj << +/D [4288 0 R /XYZ 65.161 458.496 null] +>> endobj +4313 0 obj << +/D [4288 0 R /XYZ 56.693 411.382 null] +>> endobj +4314 0 obj << +/D [4288 0 R /XYZ 65.161 411.671 null] +>> endobj +4315 0 obj << +/D [4288 0 R /XYZ 56.693 364.163 null] +>> endobj +4316 0 obj << +/D [4288 0 R /XYZ 65.161 364.847 null] +>> endobj +4317 0 obj << +/D [4288 0 R /XYZ 65.161 353.888 null] +>> endobj +4318 0 obj << +/D [4288 0 R /XYZ 56.693 306.38 null] +>> endobj +4319 0 obj << +/D [4288 0 R /XYZ 65.161 307.063 null] +>> endobj +4320 0 obj << +/D [4288 0 R /XYZ 65.161 296.105 null] +>> endobj +4321 0 obj << +/D [4288 0 R /XYZ 65.161 285.146 null] +>> endobj +4322 0 obj << +/D [4288 0 R /XYZ 56.693 238.032 null] +>> endobj +4323 0 obj << +/D [4288 0 R /XYZ 65.161 238.321 null] +>> endobj +4324 0 obj << +/D [4288 0 R /XYZ 65.161 227.362 null] +>> endobj +4325 0 obj << +/D [4288 0 R /XYZ 56.693 180.249 null] +>> endobj +4326 0 obj << +/D [4288 0 R /XYZ 65.161 180.538 null] +>> endobj +4327 0 obj << +/D [4288 0 R /XYZ 65.161 169.579 null] +>> endobj +4328 0 obj << +/D [4288 0 R /XYZ 65.161 158.62 null] +>> endobj +4287 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4331 0 obj << +/Length 2705 +/Filter /FlateDecode +>> +stream +xÚí][oÛ8~ϯÐÛ†¤HŠêì,vfš³»3í¶Ù Ð +Ybl!²ä‘ä¤yÙß¾¤%§‘l9G¡˜A¬ÊôáÑá÷ñ\H*Ø›{Ø{}ôýÅÑÙ+Ž½…‚ +ïâÒ‰À“ÄG~à]$Þ‡ãw*SQ¥NN)ÇÇ?µªšËË¢l.êEûåË"þ¾(®šÿü÷ý?N~¹ø›îæ”rÞH{_ßfªZ(UWækÝ;ñ¤î]ø¦w&Pérmÿa òø¬ù "4?<:¿8úõˆhñØ#H„¾„ L½xyôáì%ú;­b¡ôn6-—'Q_èëÌ{ôÏ#ÜZw,B=Ý,àáÆ$[á,D‹F)ýHb£ÆöwÞ‡S‚1>>_­gíƒÝ7«¶e·F¸ØZì²È²â„òã›4Ÿ7·âE”Ï·6^D'_Ÿ~Üþb¦TÞ\-£¤½W_bÓµÖöK×D2æ‰7}«ý +R&ÛFq±•]¥y¬zãLPà#Ú\— :PקTˆè4O}7ö)åvM7£ÏŒ1!·*ü]¥õâäTh›¾ŠÙ¼Tù‹“SBõÿgi~V­T|öîü»—?Ó´º»kžðS©¢l¦ÁøÉÜBå¬éWëbº6¯»Ò¸'õD¨á™A¹Ï±Æ#E¡ ½Ry—÷!Ó‘¶ÿînA¨ñÈ·4‚‰im+Ÿ#"H_>Çz°´Q!=ܧ“@! í•Ý°©3Æ[5%Eô›¡þc +ó¯œ{ÍÅ;Ã)=ù4ÃØãÚŸl°`½ó“Á–yqk¸ŠªJUݶÃ)ˆë9ÃNŸ»3w;M Î¥lzÆ%³º0Ôj鶟{;w³tv–±CÍÂýTm'-~O1&CÄõe«ÚGŒ‰V…à»+Ò\YÍâz6rÇjßG‚Hw¬îÊ·dµµ²;湯ûÜ:Í«òH¶2]¦uz­`Íÿ“æIqSÁWëÕª(kXcä€nÙk]ªK¥éŸ/]®2µTyÕi‘÷çÂoÏ… %'~Ürç&déÍ-] +3D4²î(ÌpKty¯U€˜æOÛæÊgª£TVgtëÊ·¤›µ²ºIŽ°º/8³6pÖ‘z äD”'¤EïÇÇæ6võpöÔQ9W@§9¬Ý\媌²‘ܪz&QPÎì‹e†Rpê)âµ™öÙû#æxØäUfpà£4«ö9j!MZã‚ä:…³¦¯kŸ?‡¿ß¥ýý‡H•yG1bb0ùŒÐÑy˜”Í€IÜŽ7#ÌÁQ–( ä)ƒ_.u«î:øí皺yUi×\mÓMPì<îå:ý$u÷rÍI}gŽ¸'ßÎÛ+ {¹‘¬fhK:°y¿€µ{óö0Þ]¥¹š¶ï¼€º¦õ*K㨆ƹ‰Œ«©#óÖ=åÞ˜yX(¡BÁ‹êÇ…WÃAGQÔ{ƒšþÄøˆù.ü8ç IÁÜÍ]ù–s„µ²ð`s‰§5¿ø(«U<5Sªh©F¸8'HüI}<Õ.2ô§õñ[ý¹Ê °&Z3&úV>…2pÇ›®|KÞX+;·ŠhЮ)¼J?÷ëƒøÎÒü +Üê ãâšþ5MúSñŸç—IªS´<†«Êb kYhÿÍ”J€MqùX“}q'ûÒÔtÍÕ˜öÉøT8šGi>rtj×] +ëöFûNJd,Ôy9•Oš?÷úœ*ƒvó(ãshó<>ikÙ?éàZ[z]¨2ßEüˆTš…:dðçt³s(àÁ×v³LøÈ®†pØË2®?9qæe{òí¼¬½²p/Ë8× A[Jù×*‰j¸ë„&'uZgjZßï»®«féeÚr3XÍù:M&ÎÞg@yË¢¶TŸMšŸ>¢=Þ…>ÜnÏÔütKSŒDBên>éÊ·œO¬•…g»Œ1ÄÚôÑ—ˆbö¤‘pm4âh+“ú™EÞê,ZFÕ¯kõÉpªHTry­çT¬.wªÏý9¯(3,tîåp”¯#Ÿ¸ÛÕ“oÇ{eáþØ×Q°ÀmÙãÇ<­Ó¸t/T|µ›Üœ ÏÊKUÎ'öËnVwáïMQ^A÷ž×ÚçÄgÀ-o£5p¸~.ÊZ„Zÿ»¤˜-íùÚIú\¸cbW¾%­•ÁD ÁÚvà5Ý:‰i1ð¾‡òøJ³ì¶ÿt¾Ô‰²Oéœ}ê(ƒílÕg¡Nš¤C÷¨ã¸ÛùÔ“oIJ[e‡)ÈŒ^mqâÛo—é^ïÙÚ3…ŸoÐÙ»ãða,Ñqê®2Ñ“o9ÔΔmA„ŽbÝ¥U=ù–Æ°Vv„3"!’¬-Óü¾v¸/U?PR³¯ýÿÎlçÛÓÉ¡ÝÅ +º–¾OðÙám…ŸF*SÎÆróMpî ž]ù–ðt¦lc ²M|äÊ=ùvÆ°WÎU(ôÛÿía¹*_¼†åùŽoz˜TúHHwétO¾åXØ*;ly©{üN)ïÀžÞu–L[JfÙW*âÆ¥Šê~2û0lÌâu—ûõä[ÂÆVÙaØaÂ&‡ÙL Lî€I`݇–«ÏiUƒ×3.ÓllÝ€Š&6w†®|KìØ*;Œý‰·'_SŽÎŒè®¨ÌÈ 9F»;’דo C[e‡aÈ¡˜†_q<ȃ/Gº1 ÝYº~>~“W9ƒOW¾%|l•†óÙ¾ bBø,"èÙNðJy\”¥‚n•[¦KUß®~Cx£I‡p눷D›¥ªÃ`ó-äWs™×Q¶ëà$§íA4|zØ®¬Óx¼#%&kuW‡ìɷĦ­²Ãà¤Q>ƒó)ÁyèN±†–ßµW0góÆâ75g¸ïʷĽ­²Ã¸7/LÏ° { v΃?ˆK6E W¸ìÉ·Ã¥µ²ƒ¸$aˆ|LžùTÀ\1½†îTH;ÒšD@¦@ÀÎËhµH㱌”M©Ç#»ò-i«ì0#¥D>£ÏŒ|fäÃùw”ߎ¢äØèMÝË'»ò-9i«ì0'ƒù’=sò™“rò[‹¦øèŒÃ]ù–¶Uv˜Ã¼Ôfú•¤RÁ߃ÍâÕrUßN^‡¯v§ÊxSut†²®|K”Ù*;Œ2sÞO8X(*òË´\B‹ýРD¿ÿ‡pZ=V_€YS™tà®|KÛ*; `ó’W<ýRøÝ=igkèaÍ·/_UÓ)m"¨KòjÚ‰zʇ_}A"mì_=¢ÒKüM‰Ó:â-éc©ê0{|q6ýÚÛ(R'õ‹7?À_øò»#YÿuNíí?;´}/PÿËÛcéCšJ¬3þtå[È™²­1pSsfŒ®|KcX+ ßüLÌŸÌð·/mÊÓj¡’Gq³½K1Xú!`®R:MÆB:lª&®±+Þn ©ÚXB6¹§+KtÅÛYÂVÕAèʤ­k“ð¶=’¿û*©Í×øð¯ÍÆàu9úÏLMêæjºâíÉZÕösçoÿ0Œ°ó§þ©J5 +endstream +endobj +4330 0 obj << +/Type /Page +/Contents 4331 0 R +/Resources 4329 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4286 0 R +>> endobj +4332 0 obj << +/D [4330 0 R /XYZ -16.307 900.716 null] +>> endobj +386 0 obj << +/D [4330 0 R /XYZ 56.693 759.068 null] +>> endobj +4333 0 obj << +/D [4330 0 R /XYZ 56.693 738.489 null] +>> endobj +4334 0 obj << +/D [4330 0 R /XYZ 56.693 693.058 null] +>> endobj +4335 0 obj << +/D [4330 0 R /XYZ 65.161 693.742 null] +>> endobj +4336 0 obj << +/D [4330 0 R /XYZ 56.693 647.181 null] +>> endobj +4337 0 obj << +/D [4330 0 R /XYZ 65.161 647.865 null] +>> endobj +4338 0 obj << +/D [4330 0 R /XYZ 56.693 579.386 null] +>> endobj +4339 0 obj << +/D [4330 0 R /XYZ 65.161 580.07 null] +>> endobj +4340 0 obj << +/D [4330 0 R /XYZ 56.693 522.55 null] +>> endobj +4341 0 obj << +/D [4330 0 R /XYZ 65.161 523.234 null] +>> endobj +4342 0 obj << +/D [4330 0 R /XYZ 56.693 465.714 null] +>> endobj +4343 0 obj << +/D [4330 0 R /XYZ 65.161 466.398 null] +>> endobj +4344 0 obj << +/D [4330 0 R /XYZ 56.693 408.879 null] +>> endobj +4345 0 obj << +/D [4330 0 R /XYZ 65.161 409.562 null] +>> endobj +4346 0 obj << +/D [4330 0 R /XYZ 65.161 398.603 null] +>> endobj +4347 0 obj << +/D [4330 0 R /XYZ 56.693 352.043 null] +>> endobj +4348 0 obj << +/D [4330 0 R /XYZ 65.161 352.726 null] +>> endobj +4349 0 obj << +/D [4330 0 R /XYZ 65.161 341.767 null] +>> endobj +4350 0 obj << +/D [4330 0 R /XYZ 65.161 330.808 null] +>> endobj +4351 0 obj << +/D [4330 0 R /XYZ 65.161 319.849 null] +>> endobj +4352 0 obj << +/D [4330 0 R /XYZ 65.161 308.89 null] +>> endobj +4353 0 obj << +/D [4330 0 R /XYZ 65.161 297.932 null] +>> endobj +4354 0 obj << +/D [4330 0 R /XYZ 65.161 286.973 null] +>> endobj +4355 0 obj << +/D [4330 0 R /XYZ 65.161 276.014 null] +>> endobj +4356 0 obj << +/D [4330 0 R /XYZ 65.161 265.055 null] +>> endobj +4357 0 obj << +/D [4330 0 R /XYZ 65.161 254.096 null] +>> endobj +4358 0 obj << +/D [4330 0 R /XYZ 65.161 243.137 null] +>> endobj +4359 0 obj << +/D [4330 0 R /XYZ 65.161 232.178 null] +>> endobj +4360 0 obj << +/D [4330 0 R /XYZ 65.161 221.219 null] +>> endobj +4361 0 obj << +/D [4330 0 R /XYZ 65.161 210.26 null] +>> endobj +4362 0 obj << +/D [4330 0 R /XYZ 65.161 199.301 null] +>> endobj +4363 0 obj << +/D [4330 0 R /XYZ 65.161 188.342 null] +>> endobj +4364 0 obj << +/D [4330 0 R /XYZ 65.161 177.384 null] +>> endobj +4365 0 obj << +/D [4330 0 R /XYZ 65.161 166.425 null] +>> endobj +4366 0 obj << +/D [4330 0 R /XYZ 65.161 155.466 null] +>> endobj +4367 0 obj << +/D [4330 0 R /XYZ 65.161 144.507 null] +>> endobj +4368 0 obj << +/D [4330 0 R /XYZ 65.161 133.548 null] +>> endobj +4369 0 obj << +/D [4330 0 R /XYZ 65.161 122.589 null] +>> endobj +4370 0 obj << +/D [4330 0 R /XYZ 65.161 111.63 null] +>> endobj +4371 0 obj << +/D [4330 0 R /XYZ 65.161 100.671 null] +>> endobj +4372 0 obj << +/D [4330 0 R /XYZ 65.161 89.712 null] +>> endobj +4329 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4375 0 obj << +/Length 2290 +/Filter /FlateDecode +>> +stream +xÚí\ëÛÆÿ®¿‚p[DDë}sר $õ# œ‰/EÛ(qO"L‘ +IÝ£}—"e‹”H-µÚ;Õ}·óúͽ¹½·£ï¯GÏß0èI 9æÞõÇ1à¾'Ä÷®CïÃøW« WWÌàøç´Pyux“fÕA±¨¿|•Î¾OÓÏÕ?ÿyÿîêÓõz™ B@2Vq{_<Ä*_(Uäå×zuä ½:'åê”ûÀÇ›0 ýz})4C_ŒŸWˆËòÂÑëëÑ#¤ÙCyŒ.‰çK8ÄÞl9úð z¡þN ¨Þ݆ré1&\ÇÞûÑ/#XkjËÃòãíg­äcϧ $JÎåy ¤*©¥—)煉ÓQþ ŽÚüDÀçÂh…]-p ±t(l­ Bмœ)£ÉßR¶Ân|D×ÆJéÆG¶b +€hm¥/_n¬nVÏæ^uðëÛ‘÷aÂ!ÿ[eÓT{QET¯×E¬Vë©¥öÆÂŒr–Þª,˜J̃(1eý{Ç¿›‘¦7†÷µPæ +ÓYÞ¤n<ÈF¤Øš0&À¡ïr·4_G‚Öj@š%EîÑäo© +ka÷Œ¨Û·X¯¹ñí7Aç†ö˜ÒÅ ÊúüGÈ`g «,K3CIŠlÌ‚B…­eÊ%Ћêäq7ÑL +ìÎ>šü-íÃVØnk€ à:УR†ê㺘:S_‹¿ú¬…íT—„*ý}ÓmÞÛú±e°/^t_òÚ8Sæ‹t‡f´SÓ,9MÓTjF—©$T™áêfd·A…‡b è 4Æj-QÀù3º¥Îûë¥JŠC7÷¼ûæ~ËU+ˆê“=ôŸUT,Òksg;æNH; ¬,ý#¤°¦;T> :4Ô4ÓH" €œ¹‹$Mþ–‘ÄZXƒD-€‚ëµ4Re¸Òæ]š}ð`µýLÄ›IÏêvÿ2‘ç>Pïùh?ù4JPç+5r§‡ªðþKf4¤ë"Žò¶ÿŽ„¤'8Ý/ãCÿÀOßôƒ°7ßýëÝëW¡ç Èݹ^“¿¥ëÙ +ÛÄ} ˆþâ’Ä/Iü’ÄOKâ¬j9‹$Mþ–‘ÄZØIœ#@ »$ñ?]_†ùC’®ò(?ÄÑ)Iœ¹IâÔ×^í®ßâoéz¶Âv'quàâ•£ýg¹HÕs¦¾&Kõ9¶VÞtƒœé¢ÁÞR¶¢šwL9€1QwL£$ÊÊ°RÛ j›³K $’´?äj–&áÐþ?GUKÊÙClò·|ŠÎ„­•+ íLMþ–Ê°¶Û‚!å‰Ò€1>bvê>X®bµ—ö¾½Ú|Xÿå7A¯35Ôl™¬@˜«'Õâo÷¤Ü [+C”U£»îz‹¿¥2l…í4[¦‹ñSÚmõC¤â0?Üÿf´Ž!Þ +5Ô‘|(ÝiºøÀ×ÿVÅ05þ¬Fjpùl}&735õt +£QwP6¦¶bÔ7óÃõOï~PñªžŽÙÍÞS€i]¿]oçnnÒ8N¯0ßEɼ:5[É|;©³®0ß^!6®¯˜*•TGË ¬Ïé×qž +ð’µQie>ßBÞE±Œ‡¥Ô%f™¬jÂYºåŸGÉLµ&†´ÀÕqVͦV&˜”Ñ× °í­Ę5èÚ¸Pí©µ?ë,*þ[ø*Hò4yq5AXÿ»½É,].Ó|AoG-ˆ +¬…ocAýáú`‡¥Åß.¼Ù k^iRŸ¶1ß…¡:Øûû ˆÞÓ¼;Ð8êé.¬‚,XšÅ­$Xª6ç—ϺYÿ±ŽÔ^³üÙ±ò8V³bÈ*-t<À±öÆÆÏžÿ£_4Óvj¹SŸÖ¡=îÅ\G+‡À¶ÅßÒɬ…àdœŽê™ã¶ï´j€é4µoûÍæ,k€aþzûÅÃJ ¼‰ Ýh´P÷…•rzZúºp ŠýÒÑ´‰D©Äw‡¹[ü-}ÍZؾÆ0àÛÖÉõ"2 vËà³i!~¦þI6ëÕJƒƒ“…ê†Q¬ö²e·b´ÁÜT7Aœ§gÞ&ÛVÆCÑ5+r׃iñ·tka8‡FM\Ö“˜¥¥Yan4ùð!Ë»E4[nG+µÌÏ»wlºk}· +ÓQSS–æ{ëê~u ª,'#A„x¯ …™®ç‡Ý_§‚è:È4çhôH1yTœO¤‚£/8_Äù¯g%(£U®z ¾ÿôP_ͺ„¤B·ôq9»"-þ«à6 ++œÿOÂT¶…ùõ= €÷„H€wGkÏ ï swcE-þvß^Xó€OŒÕm²ßL_™ÉuZL3~QdÑt]œ’"óXLc鸯CæÝ @%æª)£…á^\¨„Ê–C·&Èf«Ñwi-Æ:ÐB]7Cô´K¬€Ã> Ús¥»>`‹¿] °Ö‘¬GaÞªDíO†8+†úº†°ÔtO(CÓQâ½7À;‰çizÞVæ*^Ï÷çÕè´—ïæ’W©é~@’BƒU8mLðx¯§ Òc©»wL[ü-ʵ°æ¯§ ¿üÍ S{©~{[K²'âDÉ5{ÒrˆçÉ¡"å¨$w˜?qù„»ŽJ‹¿¥¡[ ; b¢%eôt™¬²ž¬BP†ÜMVµø[:™µ°œ a ¿LV]&«Î5Y¥Q/s·“Øànçg¶‚ð2-§øº}~™©ú?œ©þf{Е_4ÙÛ9†µ¨æž!!â2Ou™§:ežJPÀw§ÏJ÷~Ë—–¿!%Où)ßÿ} ä“ +endstream +endobj +4374 0 obj << +/Type /Page +/Contents 4375 0 R +/Resources 4373 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4286 0 R +>> endobj +4376 0 obj << +/D [4374 0 R /XYZ -11.232 900.716 null] +>> endobj +4377 0 obj << +/D [4374 0 R /XYZ 65.161 760.065 null] +>> endobj +4378 0 obj << +/D [4374 0 R /XYZ 65.161 749.106 null] +>> endobj +4379 0 obj << +/D [4374 0 R /XYZ 65.161 738.147 null] +>> endobj +4380 0 obj << +/D [4374 0 R /XYZ 65.161 727.188 null] +>> endobj +4381 0 obj << +/D [4374 0 R /XYZ 65.161 716.229 null] +>> endobj +4382 0 obj << +/D [4374 0 R /XYZ 65.161 705.27 null] +>> endobj +4383 0 obj << +/D [4374 0 R /XYZ 65.161 683.352 null] +>> endobj +4384 0 obj << +/D [4374 0 R /XYZ 65.161 661.435 null] +>> endobj +4385 0 obj << +/D [4374 0 R /XYZ 65.161 650.476 null] +>> endobj +4386 0 obj << +/D [4374 0 R /XYZ 65.161 639.517 null] +>> endobj +4387 0 obj << +/D [4374 0 R /XYZ 65.161 628.558 null] +>> endobj +4388 0 obj << +/D [4374 0 R /XYZ 65.161 617.599 null] +>> endobj +4389 0 obj << +/D [4374 0 R /XYZ 65.161 606.64 null] +>> endobj +4390 0 obj << +/D [4374 0 R /XYZ 65.161 595.681 null] +>> endobj +390 0 obj << +/D [4374 0 R /XYZ 56.693 558.701 null] +>> endobj +4391 0 obj << +/D [4374 0 R /XYZ 56.693 531.266 null] +>> endobj +4392 0 obj << +/D [4374 0 R /XYZ 56.693 484.852 null] +>> endobj +4393 0 obj << +/D [4374 0 R /XYZ 65.161 485.535 null] +>> endobj +4394 0 obj << +/D [4374 0 R /XYZ 65.161 474.576 null] +>> endobj +4395 0 obj << +/D [4374 0 R /XYZ 65.161 463.617 null] +>> endobj +4396 0 obj << +/D [4374 0 R /XYZ 65.161 452.658 null] +>> endobj +394 0 obj << +/D [4374 0 R /XYZ 56.693 415.678 null] +>> endobj +4397 0 obj << +/D [4374 0 R /XYZ 56.693 388.244 null] +>> endobj +4398 0 obj << +/D [4374 0 R /XYZ 56.693 341.829 null] +>> endobj +4399 0 obj << +/D [4374 0 R /XYZ 65.161 342.512 null] +>> endobj +4400 0 obj << +/D [4374 0 R /XYZ 56.693 295.361 null] +>> endobj +4401 0 obj << +/D [4374 0 R /XYZ 65.161 296.045 null] +>> endobj +4402 0 obj << +/D [4374 0 R /XYZ 56.693 248.894 null] +>> endobj +4403 0 obj << +/D [4374 0 R /XYZ 65.161 249.577 null] +>> endobj +4404 0 obj << +/D [4374 0 R /XYZ 65.161 238.618 null] +>> endobj +4405 0 obj << +/D [4374 0 R /XYZ 56.693 191.467 null] +>> endobj +4406 0 obj << +/D [4374 0 R /XYZ 65.161 192.151 null] +>> endobj +4407 0 obj << +/D [4374 0 R /XYZ 56.693 134.041 null] +>> endobj +4408 0 obj << +/D [4374 0 R /XYZ 65.161 134.724 null] +>> endobj +4409 0 obj << +/D [4374 0 R /XYZ 65.161 123.765 null] +>> endobj +4410 0 obj << +/D [4374 0 R /XYZ 65.161 112.806 null] +>> endobj +4411 0 obj << +/D [4374 0 R /XYZ 65.161 101.847 null] +>> endobj +4373 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4414 0 obj << +/Length 2055 +/Filter /FlateDecode +>> +stream +xÚÍ[[së¶~÷¯à´}°g*Ü ¤M§=m“N&iÚcÏ´3çä"!‹5/ +IùÒ_ߥHÙu1(JŸDQàb¹Øo¿Ý„ƒûß^}¼»úðÀFZRÜÍI‘ Ebap—Ÿ¯?™ÌDµ¹™P¯ÿ^6¦î.geÕ]4óþÇ¿”ñDz|è¾üûöû›Ÿî¾ƒi&„ -D'í¶yÉL=7¦©ÛŸav(˜]²vv.CRLÒa?¿Ö 0T׺"uûàÕ_ï®~¾" $IÍ‚P$1 âüêóO8Hà7Pq­‚§ÕÈ<#Ê$\gÁíÕ?¯po ¼eÀ°Pè•IÖ¹FËN©ö•Vj¬Ÿ >OÆøú»è†ˆëÇŠ¯£¿™lѿ䦉Á"”#&{QwkóÍÊ,+o¨¸~J‹ûîV<ŠûµÁçQ+õ±•ß?15¦è®ò(éï5åÛª¬æÕßæ&Š£0l_5÷¢Çh¾_K#d=0.×òë´ˆÍ`á +¢ÝuÕ¹ ڶ΄2° +á–³NêJÅÖ¸•¶+wà­ +q©Ö*ü-«´ùïÍD¶f6QQ—ÅW7Báëú=ÐsuÁãZ™íÇ·Û¾NBH¥ +Eë+í}Áó¸ (ÒJ• f›Î±%mÿÝÝ Âi"×t‚I;ÚU¾@D’¡|aÀZ63lG"Mõ”] ¬îƒîâS¤­å\+®¢˜w«ú§$1ÉIí +ÿ¾¿9 ϼ.òë×_ý”6óáðÉáየŠò­ñû†­T,¢Ü %ý«Ã¢^¦¦>pxüjŽà7cfùM<_Ã'Ð;je/;Š}øÃqÕ ÒX™)Ž²¬¶:ù>Š[ÿ¡?mËw™³²#@Ïñžt{.xßþOaÍ×Ùëj¿=î6g™Ãû‘áI7/ 3ò%¢"ñcÑÆ<7NÆ9Œ-“/²¨Mßö‹k¨R)oXÛ–ïˆ5geG`MhDÕk:—Z»'Ã;Ÿ^âß6æÑtþG(ÖÕý4+㇚&Ó‡¶¾ÿÝMïíU’g´(«<ÊRÐƾôœÃüÊ_é/Gû#ƒ|72pWÖž  Õ=ÌÒgËØM³úѤØd™e”'2U}æô¡sÍ‘…µ5f+·¥Ðûe5º¶IlY$_Ì£:­GtWê¦*‹û‘¹•`X¨7„Ä–Vo½Þ³u)ûìÇ$è9·U\ƒ&œû‹U\…ˆ(á-V ä»Å*weíc×q0ÐjYÿ¼¢iK\ü1.Olxõw…mzÄ쉖—„—²ê™Ý7n&MÒß\w0ÆÀ2ZF´Gøp ‰ž?ôl‰w«ª#°Ã‚D¿[÷h§Å‹å4‰3ž:m'ÈMÁ ‘e *’,òÕ¡Ñia™t¤Ó,-MÑT/#‰CúÄ‹2!'q¡Î÷“HƒÚã^Ó 0Èwñ»²ö@fZ"EîÕí$Ú7zlk“¤MZ§6°0ºàá%áÃdˆ$;c-œ”ñ´,&‹¶AºSO:Þܸßß¹qc%jòZH÷=±¡W ¸ìUû‚1u~½"Ý•å2ˆ°=câÌ\¢P`Þ–ïfgeG€™ƒ®;[ŸL^>ZÃyûÔÎ!]fÉH¶OÌ¢21d –ºÇeñ5þ0nKæerrŒÌ'¤ì¢1†b¤°>#E/LœÎR°1­nyzL¦´,ËýyúFÌaÃø´Ðû1!Å¥¿ CµFJù;x0ïdÜ•d0‰ÿ“ŒáÇ…±„ý3ðøZe¶ï·/w9<839#µIóEeÓë-­m}Øa·Q{žåTV;‘ƒ#ò¶ñsÜǵ1*\5sú1Ë0B þŽ< ä;¢ÜYY ”«ö'RM%}ƒô_QžÙ“þ±»ÿo±Xi¦/I½T2„©8õ¾fᓸÌó²8…j×m²uoýàz©›Hæ‘z9|bî”ÛòA鬬=õR.Ó}köû¦Øp¯Þ¹ÃÕ„¾?;gìmÇ›]õqÏYvc_ÿVï¼iýRÄóª, ~$G3dˆ3/„É"ÜßnÒ@¾#6•A˜ŒƒÉÙaÚâÃ…2½¥T!".ºïD±@L9ªÝwàdƒ…ŸÆüù„hx™Ðã¶T{ +ˆQâ ‡ùn8tWÖž#‰ +‘Äjä ”8Zìk<¿W6M•N—ÍèL–(‚»è>€¢.ÐD ®ƒ[ÁÞ3YÂáE…Çm'€dµ¿m§|G”:+;¥£Pñ·Lö̧tG$yÖükßOÙŸ7¾ïŽB€^4*‚„öv”Ӈි8ÔÉÐ߆Ѷx7:«jBÍVbÇžáð´õû¼ÈÒ8mN&ù#KTEqcª1›a#ÁÛ¦ÊǶÐΟà!tb©Oùüÿ½rð +endstream +endobj +4413 0 obj << +/Type /Page +/Contents 4414 0 R +/Resources 4412 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4286 0 R +>> endobj +4415 0 obj << +/D [4413 0 R /XYZ -16.307 900.716 null] +>> endobj +398 0 obj << +/D [4413 0 R /XYZ 56.693 759.068 null] +>> endobj +4416 0 obj << +/D [4413 0 R /XYZ 56.693 738.489 null] +>> endobj +4417 0 obj << +/D [4413 0 R /XYZ 56.693 691.479 null] +>> endobj +4418 0 obj << +/D [4413 0 R /XYZ 65.161 692.163 null] +>> endobj +4419 0 obj << +/D [4413 0 R /XYZ 65.161 681.204 null] +>> endobj +4420 0 obj << +/D [4413 0 R /XYZ 65.161 670.245 null] +>> endobj +4421 0 obj << +/D [4413 0 R /XYZ 65.161 659.286 null] +>> endobj +402 0 obj << +/D [4413 0 R /XYZ 56.693 622.135 null] +>> endobj +4422 0 obj << +/D [4413 0 R /XYZ 56.693 594.582 null] +>> endobj +4423 0 obj << +/D [4413 0 R /XYZ 56.693 547.967 null] +>> endobj +4424 0 obj << +/D [4413 0 R /XYZ 65.161 548.256 null] +>> endobj +4425 0 obj << +/D [4413 0 R /XYZ 56.693 500.748 null] +>> endobj +4426 0 obj << +/D [4413 0 R /XYZ 65.161 501.431 null] +>> endobj +4427 0 obj << +/D [4413 0 R /XYZ 56.693 453.924 null] +>> endobj +4428 0 obj << +/D [4413 0 R /XYZ 65.161 454.607 null] +>> endobj +4429 0 obj << +/D [4413 0 R /XYZ 56.693 407.099 null] +>> endobj +4430 0 obj << +/D [4413 0 R /XYZ 65.161 407.783 null] +>> endobj +4431 0 obj << +/D [4413 0 R /XYZ 56.693 360.275 null] +>> endobj +4432 0 obj << +/D [4413 0 R /XYZ 65.161 360.958 null] +>> endobj +4433 0 obj << +/D [4413 0 R /XYZ 56.693 313.45 null] +>> endobj +4434 0 obj << +/D [4413 0 R /XYZ 65.161 314.134 null] +>> endobj +4435 0 obj << +/D [4413 0 R /XYZ 56.693 255.667 null] +>> endobj +4436 0 obj << +/D [4413 0 R /XYZ 65.161 256.35 null] +>> endobj +4437 0 obj << +/D [4413 0 R /XYZ 56.693 197.884 null] +>> endobj +4438 0 obj << +/D [4413 0 R /XYZ 65.161 198.567 null] +>> endobj +4439 0 obj << +/D [4413 0 R /XYZ 56.693 151.059 null] +>> endobj +4440 0 obj << +/D [4413 0 R /XYZ 65.161 151.743 null] +>> endobj +4441 0 obj << +/D [4413 0 R /XYZ 56.693 105.477 null] +>> endobj +4442 0 obj << +/D [4413 0 R /XYZ 65.161 104.918 null] +>> endobj +4412 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4445 0 obj << +/Length 1954 +/Filter /FlateDecode +>> +stream +xÚÍ[Ksã6¾ûWð(WÅ0Þ$’Sf2“ªÉ&›]Ù­šÉ"!‰1Ih ÒýõÛ)Yk Š¢“‹ “@£ö÷õƒæ~¼xw{qýQà@!%© ng¤H†ADbap›Ÿ'¿™Ìhg.¯¨À“_le\ۜٲmT‹îá6~gí]ûÏnþqùÇí'˜æŠ¤„h¥ÝTO™q c*×<†ÙIÁì’5³s˜>ä,¸H…ÝücF“ëöB¤jF^|¸½øïù8 H*„Š ‰içŸÿÀAÏ@ÄU<¬zæ Q&¡7ÿºÀÝVà£[²–Í"X¶J}¡T¬´X»þ]V á͘qÁƒnÍæ¶Hbr=Ža üÂÔù0<Íl|çh2½ë^©èÊnGC¯Œ€qÇï®øaجª?te$WùÞºiÆmr“¤ÚNÿ4qõW">7•Nt¥wzÃz¯í…°/yKÐI¸2˜úl ÛxÌ«Øæ¹-è}×vÛÅcw³2ù2Ó8Ø|} :ÐÖÿnõ[Ý\ö2—HH:"™€x†‡ä]ù¡ û hv}Á” oZ¤mùQ*ã!”G©Œ5Ev1¥îÉF©Ã•õ§TÆÀ‹‹~¥)tîú–ŠØ3ÛÊÁ ÷9¤¹<çÄ÷®5dÿjüi¥•×UÙ`ê¥q TõMf:N³´Ò•çrkçÙÑzV`ûáâÕñe¹ûƒòÅŠ¬<91$Bù¦>*È(•|öiìEŸöë%û/uþ7/ô/é8j¡ÿö“×Õú¢z‘͉6ŽlYO‘®+›é©ÉšÏ¯žDYˆ$ Çs*”6ß Æ+ÌìÉæT†+ëïTšG‰Î~1~ä²²VSùÖG½õÆ€z–…^òêßXgÏ°½Á Õ[æÐŒ‡§Äœº.Óê-F?]8»hÕ|]@³æõ¡©-S¢Øf¶Ü:+Ñv‰M–¡¥Nšï /?ì†W£‡œDDG<üH"Œ&£‘Þüaä0\Yr øõŽ]ä©sÞùvif˺\ZgÎý…01..ÓesVòäó $ #ô-qOD˜×5CT‚žSÇ®™@J)6"ú xTŒ‡¾]ùÑ7XÙ胠ˆÒî݇ͻ;ï‹^·ïëû‰ï‡íYHû¤•ÿÒLÏ­8ø2ûZzxROÆêjYW's ƒ‡\¼)·àæè¼yJ9~ü[®dÙ¼]æEóF­Úÿ•Ï¿Ïó7͇ÿÜ<òúö}›§„ ˆóFÚz—Êr%¥*ëŸõ݉ê» ¿¾;Ó·˜ï=å( +ÚûL´Ä ||ݼÕW^=»½úóŠhùØ#HD¾D L½ùúêåkì-ôoZÄ¢ÐÛîZ®=N0¢¾ÐïSïæêßW¸í +<Ú%{Ù,B‹F©W”òûË®ÐMvÿ«¯ ¡þa×ø×d¾Šeú +s¬Öú¯þÆoÖ‰Z}õä)¡úÃ:ÎPšdoJUÙBú£\ ûuú¦}ÝDf‹¬ݶTúSÂÄ™ÕèÉ·³öÊ­†|$´øݘ÷)™ÜÂnâ"^»ðS5ðLq‘9Á õö–ns× è„ï,7rž, ´kq·Ùi"ò1FÝ¥+ß’(ÖÊ¥NÚZï:€Þh÷ÿñâùÄ>í Ö <`ûCm×áð•_Õ7 åÆ®ùöþÐE_k³*äÒðÉ:ÖáO¬âsÃLÁ´7 }w<èÊ·äµ²<àZÓ€4Dˆ«E’éæ±áy›,äÁëvÆqû·Ê· œI6qü{'3YÄ +ê#ûýöÙ ¬i)ç*ÉúæKS£îˆSw5†ž|K0[+kf†QHÚðø@øñtÜ(m´W¥6•2L‘o¡˜|§•<7_â°—&)bRšÒŽ +Ä…»REO¾%í¬•5 PÈÛ`jSÈÌÀ‰4Q³w.ª?^ü u*±:WÀPþ‚aå7ÒrŽîèÒ•oIke èBBF¬¡Ë‚ghð¿LRÙ—>Ž^¥ŠdV)ynõL`† ÜÁ£+ßΔm:ƒGMÙÆUgôäÛu†½²p®ðHß3hç/bó]^­4ï7v*å´) Ü`—yUÌåÄ·× +´!ûÙt`¯.e¦Šw†qw¥g\鈷¤Š­ªL ¤]~РÀÐO€ç*ÁüJe åÌ—$å°…ÊJ© ÇqPÿ8ͨ )9£TW¾%§¬•5 UÀæá~Ñ‚]©v´é6IS`ÔµÙȸ8T~td…Ãy ±¾òщªìÔ¹KUØÀIæi戦âäŒ9]ù–̱VÖ€9‚!rñBÜT¥Þe‘¯§ûä“uÃx`þÿ6Þy@¦oŠ|ÏR`E%Ë•)+XSrÆŠ®|KVX+kÀ +î#ÂZ^lÁ%%pÀµ3Óha&ç18*«ùê2óšã6º€š‡ +ðª¬W¤:ž„:M¿) 9#MW¾%i¬•5 Ó¶³:óûb롹¡Ik+?@'Æå}¼Þ¤rd–þô€‡u)ÌÙp?”n9ØŽm»!hjÎ:¢+ß²+l•¢<àZr­¦@Œ¶S +_ûíû25Xb°-#‹×(sdúàsßƱŸ9ÍsÑÔ)œ¼+ßà¶ÊŽ\«ËD»éŸGV2)µ üúzü‚ívk0”od‘IpåÅ]¿õe6ÕÌ u™/ÕöÀNãc—Ì×­ïeÐz‘Ï(¿þúÚ1ú€„Ó,â"‘É]•Ìˆ‘Ã]•¥*’ì•Õ¬Tho ¶R2*Oî¥d„#Ÿ»KËzò-Í–µ²ñ( ‘`mZVþYIù—<¸Åï‰îñÙx{OÛ“}¤ä^c ¶5”Sëžl[ƒê½)ä[™M[¥“÷ª0ÝUnª"É+Óºà ù‘Ä°+ß’€ÖÊPÛ:¶ !¼ˆ­KlW‰’å&žË©K3 >ü ÉJY€«ñRÉ<ǧÝp}äX©æç.çö#1ßÝ +æž|;Û+ ± Ðv]&túe®1ƒ딫ßy :Œ'—Œ¸| ¾?«kòˆk_;Ò‘VVÅ)ZÆi:‹çoæD½ÉáÁÑSï›6¤aSç'Réhñ€¹‹ï|¦ûœ¸›DíÉ·d¦µ²Ìd—¸D]ä™Á:+5ùþ‚å:)çI¶Ì¿§q9 ó7G’¹XM¿·ºftÏ—ÉOE8kg€ïs$¸»ÙÏž|K¨Û*;l_ÅÚ¹ÎGǪ‡ªæŒv“^~Üaû¬¥Š +Ù¹&ÓEi Š„.êöp„‚ýFY'…ݪ¨ë u¥Aªïa£Ã'1~áÜ÷ÑH÷GDÜù>†(ôÝ•d{òí ‚½²pßG#ÝA$Ú/‡X@×ækh²TjÍUù8齕1t5îü?õ6tóe4Pèp»ZO¾%­•5€`Hv¯g¬ÈiM”I±lg .h-§Á2»ÓÉöêìcÔHb( Ù%åEÁµFÆCå„™»R`O¾¥±°VÖÀXø ù¾0>×¼Jê³4@\Mï Ö™ÛðtäÓÄ¢awÅîxKÔÛªjzZhßš_0’Wz¬RpÉZ,?„ø#Û„j°O|Tï"Y.e!3•€ 3©F ,£>;DŸÓÈÕ)ñÝ­jêÉ·Ä®µ²à%1Ò®s›,7YùÿÌÄâ]#xrœIî^]sO¾Ý8»S¶íŒ0@”¸Ëizò-;ÃZY8èI„‘Ö¶ýí +zØ6~÷±­0x[e–o ü4NKÀ[†§@×á’@ ÊÝm°ìÉ·D­3eÛÎÐJÓÈݬPO¾egX+k@a"úf'N©x¼ç'“âTF+$DS%+Pcblü%‹³ŸrBx“¾:c[W¾%Û¬•5` Ì0JttÙqŒ1¾-¥äÄGa +aKïÎ=îp–;Ю%Æ kòeg,ëÊ·d™µ²,«WUˆv%kƒk@’½_Ì Z¿ÿá3Fœïä]ø\—f¼2;´¨ëôáoÎN(!~“Ò;ãWW¾%¿¬•5à—ÏQ°Êb8Åó~°r<¶0Ìé€mÛGËêìÝçXR žĸ»âtO¾%ê­•5@=e(`myÚQˆ®sŠx!µ’ñâ#åVË +z„£Æ AÉ}hHŽÐmsvq“4e+gïÊ·„¸3e›Îˆ"Ä>1«+Þ®+¬U5 ;¦(¤í‚¡ßëpg›”ÒQè?­êÿ5–ͧ>§©È¡‰¨Låz°›ê¤ ›ª™+ÖtÅÛ±ÆZU8k"‚BíŸ@mÊ•ÉAºLŠRÙ¬7Âôô§âŸ~dlSírö°ãŽxËgÛª +gI¨/Ý?µË§à„ßEyšfCÉ/‹MÜ9Yþ?ëk›×Ñö[ú1Âb—½|½…þé P…Þv×píq æúéÍØK½›hþ/ZÄ +endstream +endobj +4474 0 obj << +/Type /Page +/Contents 4475 0 R +/Resources 4473 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4527 0 R +>> endobj +4476 0 obj << +/D [4474 0 R /XYZ -16.307 900.716 null] +>> endobj +4477 0 obj << +/D [4474 0 R /XYZ 56.693 742.142 null] +>> endobj +4478 0 obj << +/D [4474 0 R /XYZ 65.161 742.431 null] +>> endobj +4479 0 obj << +/D [4474 0 R /XYZ 65.161 731.472 null] +>> endobj +4480 0 obj << +/D [4474 0 R /XYZ 56.693 684.359 null] +>> endobj +4481 0 obj << +/D [4474 0 R /XYZ 65.161 684.647 null] +>> endobj +4482 0 obj << +/D [4474 0 R /XYZ 65.161 673.689 null] +>> endobj +4483 0 obj << +/D [4474 0 R /XYZ 65.161 662.73 null] +>> endobj +4484 0 obj << +/D [4474 0 R /XYZ 65.161 651.771 null] +>> endobj +4485 0 obj << +/D [4474 0 R /XYZ 65.161 640.812 null] +>> endobj +4486 0 obj << +/D [4474 0 R /XYZ 65.161 629.853 null] +>> endobj +4487 0 obj << +/D [4474 0 R /XYZ 65.161 618.894 null] +>> endobj +4488 0 obj << +/D [4474 0 R /XYZ 65.161 607.935 null] +>> endobj +4489 0 obj << +/D [4474 0 R /XYZ 65.161 596.976 null] +>> endobj +4490 0 obj << +/D [4474 0 R /XYZ 65.161 586.017 null] +>> endobj +4491 0 obj << +/D [4474 0 R /XYZ 65.161 575.058 null] +>> endobj +4492 0 obj << +/D [4474 0 R /XYZ 65.161 564.1 null] +>> endobj +4493 0 obj << +/D [4474 0 R /XYZ 65.161 553.141 null] +>> endobj +4494 0 obj << +/D [4474 0 R /XYZ 65.161 542.182 null] +>> endobj +4495 0 obj << +/D [4474 0 R /XYZ 65.161 531.223 null] +>> endobj +4496 0 obj << +/D [4474 0 R /XYZ 65.161 520.264 null] +>> endobj +4497 0 obj << +/D [4474 0 R /XYZ 65.161 509.305 null] +>> endobj +4498 0 obj << +/D [4474 0 R /XYZ 65.161 498.346 null] +>> endobj +4499 0 obj << +/D [4474 0 R /XYZ 65.161 487.387 null] +>> endobj +4500 0 obj << +/D [4474 0 R /XYZ 65.161 476.428 null] +>> endobj +4501 0 obj << +/D [4474 0 R /XYZ 56.693 428.921 null] +>> endobj +4502 0 obj << +/D [4474 0 R /XYZ 65.161 429.604 null] +>> endobj +4503 0 obj << +/D [4474 0 R /XYZ 65.161 418.645 null] +>> endobj +4504 0 obj << +/D [4474 0 R /XYZ 65.161 407.686 null] +>> endobj +4505 0 obj << +/D [4474 0 R /XYZ 56.693 360.178 null] +>> endobj +4506 0 obj << +/D [4474 0 R /XYZ 65.161 360.862 null] +>> endobj +4507 0 obj << +/D [4474 0 R /XYZ 65.161 349.903 null] +>> endobj +4508 0 obj << +/D [4474 0 R /XYZ 56.693 302.395 null] +>> endobj +4509 0 obj << +/D [4474 0 R /XYZ 65.161 303.078 null] +>> endobj +4510 0 obj << +/D [4474 0 R /XYZ 65.161 292.119 null] +>> endobj +4511 0 obj << +/D [4474 0 R /XYZ 56.693 244.612 null] +>> endobj +4512 0 obj << +/D [4474 0 R /XYZ 65.161 245.295 null] +>> endobj +4513 0 obj << +/D [4474 0 R /XYZ 65.161 234.336 null] +>> endobj +4514 0 obj << +/D [4474 0 R /XYZ 65.161 223.377 null] +>> endobj +4515 0 obj << +/D [4474 0 R /XYZ 65.161 212.418 null] +>> endobj +4516 0 obj << +/D [4474 0 R /XYZ 65.161 201.459 null] +>> endobj +4517 0 obj << +/D [4474 0 R /XYZ 65.161 190.501 null] +>> endobj +4518 0 obj << +/D [4474 0 R /XYZ 65.161 179.542 null] +>> endobj +4519 0 obj << +/D [4474 0 R /XYZ 65.161 168.583 null] +>> endobj +4520 0 obj << +/D [4474 0 R /XYZ 65.161 157.624 null] +>> endobj +4521 0 obj << +/D [4474 0 R /XYZ 65.161 146.665 null] +>> endobj +4522 0 obj << +/D [4474 0 R /XYZ 65.161 135.706 null] +>> endobj +4523 0 obj << +/D [4474 0 R /XYZ 65.161 124.747 null] +>> endobj +4524 0 obj << +/D [4474 0 R /XYZ 65.161 113.788 null] +>> endobj +4525 0 obj << +/D [4474 0 R /XYZ 65.161 102.829 null] +>> endobj +4526 0 obj << +/D [4474 0 R /XYZ 65.161 91.87 null] +>> endobj +4473 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4530 0 obj << +/Length 2778 +/Filter /FlateDecode +>> +stream +xÚÕ]Y“Û6~Ÿ_Áò‹ÇUž`öÉñ:‰SN*ñLj·Ê›Š‚$®y(ó»•ã3ðGPoßîª×.wn<ƒþý”0E1×ßtÔÛ'¯^Ý]ýyE}âPÇóÁ¹„|Âœ8»z÷q–êžâÜP8»ýÈÌñ(Æ}u:·W¿]‘~*ˆâ±½l?~ø‚²âˆÌ \-åö{¡ÚŽR:«“”&é{@}:¦ï +/Poør|Y8³{‚åÚé.ÞöHQ3¼_+w”ã!PâwkÕu™,šZîWè@MÝxÞ1&ë¼»ñÉBùà‘s#qãMTFq-Ë1+7'Y¹Î¢-ŽxÕ,*Y#Çneœ¬¹Ä _|¼p" 9Ž„¹ B!À„‡ô !l̬„¹êöê&‹ò1bà4bZ”Qsþ‰ sþmY¬’Tj¤o¸æÖ˜í'Cq +fo2†ô 'ØY  °^áßa=Še²ZÉRæ1rüBÖ;9»_Sï +¥šW­×›¨ÖÔÀ¾òÉ s­pDß „æÌâAè‡.pJ¿"=|Ú‰(‹ûd)‘ Rœo“|ÝÆ™z?ó¹.’â{ö<¤oˆdcf5,8puHþ—Tþ\‰T{¯š²ØÊ9:òu­åÅÊêÔȨD=/j´[]_æÒ[ˆ·ÅX™  íwQ¼5héBÛ”ÙÓ@pucäÿœÖ¯²º‡èù\G”n7ÑâHïïå‹Û—¯_›d?Nû +Ǧ¡ýG°N·¯†Òàóê¸~¿0Heóðçq‚²Ïôù.F+Ř7à´º\6Ò þ9Q“#Óvªël¿\û)¸Í’zóí³Êö*‡ÞÆBg9¡·‡ð!K±³Â‹®É¤œ÷î}Æ€ {¡Îˆ¾¡Ì3«aŽ˜žvËýb¹Äf"j¤g½”«¨Ik¼$¢óŠø¬ 6M¨¼=²˜jZ¾Å‚˜RàÌ^9¢o2kÌö“ApŸÛ›Œ!}ÃÉ0eöX¾OQnÙäà{}àr3™ÙÈÐ=9måRYùðêë'çßcßßê¿~zšó—Gùe‘×e‘"½Ø9R%¼‰êä(ˆ¼™ðFn›í6•™ÌuÃzO„à{ÁЈ¾™,3{, Bù!Êžy!SþÃxŒs®Oï ==ÿðïyKlº*-â÷º ”kåÚ Fô A`ÊìI…è Åç(…xŒ‚ÓÁñ‡Zæcïå|óÅ¥k +@M=s˜¥é_%ëf‹Ve‘éJ‡€+{Ò1¤o(ÆÌ"ôƒÒ ÛÉ >Kó€†:5tÝKÉH¬è®U´¸Òl‚¨°‰ý"“³ M6s¢¬ª“±hOË‹Ší=f¯ÇfDßP^Œ™Õ/Aû›mT¡£ÄzSÍÙ U†&©Ng¾¦Úítk =¤o¸ÐÖ˜í'ƒ»àÛËâ ÉN…)«øŽÇ¡Ð,ÑÊÕJÆØš'^;b«£Ê§È×rfMŠ·Xã”aë-[|­e-sYF5V1õ¦uë’ÖädHßPPŒ™Õ¦ÞÉûlgVTH°ü}ÊtQ¾œ¹ü}’çÔfžOfR³ÐaôKXÃð¾!†™ÕÀ0Ut¯ì¿Ò«V¹mPa¹NoèúhìógSÙ(Že^ç!&R²'ÄDÓU$]jÅšÈ éŠŒ1³"C< ¬O£‰¸ÈïeYÏ];wO»hUmëQØR³v©[xÑ7Ã=fûɺ¸ÐÚd éN†1³xápzèøµ”÷IÑTéGM‡[cÕªï°-u¶ÂüzST–r¤Ñ…ݦÓRï ž½Lꈾ!ÐM™= ë@M‡ëbŠMh§º©ÐË›K9{/ESÉ™}³U£ãÇ£[3¼‰T»(ŸÝ罧eËë2-ÖdkHßP¶Œ™Õ0">*¼C•ÂšÖ|Ø'ÓlÁsÝ. `m‡ô Wѳýdð}8im.ä §Â”U <ó˜ßGÙ/°&7¬”Úz”¼ë´w÷wÌ‚j%ë¦uëBDkr0¤o(ÆÌjHÀIŸ2µšÛÜ%Xgd´.÷‰ÜE ìÆlI_S–ù}RyÛ‘4sÍ|·Iâ.Ä© Ä·—QÑ7„¸1³§ðO¾ Ö%Œ&\Íz3Ïä0Ëh§™¾Ì‹\£®‘ÖŽªË™…ý¨ÝC'ÿF)€?æV.P/¼d«GÔ”Iý¿.Áý“ÒñU‘¶xL5¤r¥ +ÏI¬®“ü}»ÃãÏæJy¯œ‘º(?~‚œ/(æÃÀÞ.îÀ¸=gwDßLš3‹×€< à1O{H’+·,‹ê¤@ŠvܦØÍêHR™GXËö¦‹lÛ<ŽbU÷]`nø¨*Â¥Àæn6Ñçu¡n ì’e½Ñ‘|®x +˜EÉg\j¯46¢o(ùÆÌjH>ã¾4ö2Jã—~}Í[Fë‹)áÊ9SñÎcJ ]8lÙ±²]rÕäqõ1/¶URAÕžò¦!+L(î\aOVXÀÁöÒc#úf²bÎ,^VXàƒ8µ§³Wr#/k6;ßžð%ŠtN·hñfrÞÕYòûç~Œª™g¦B[î®­ÑÒ©¬=òÑž’7 SV5äB}†ôó!YIÀ¢©·Ø2³ƒê¯ 3©™ÓD?ÞýüFâ?°—Ñ7¹1³(÷Ü=Ý=ÊÀm?å7{Úä‡XnëÙÛ™± F­þ‹û(m. ˜¦7«è! ÝÄM“Ó§zdåžb}Tæ +ð{T•y{¹±ã¤TÒ5*0€zSÊjS¤Kg•z ¾<Ëfvg•¸ \{Ý.#ú†êʘY uEPîΥΊûÙÝÕ íg''ÈÓ°ºš.ë믌®±=@ÈF”´È×Rw 9a/—9¢o|sfñÀ§a &¨Ïo-d’¯ç?…wîýÕèƒЭjÊ•Ì5ÝUŒ>£³JÐgfÉò!S­ì5À4$ ÂGM£R?PÔçN£véÓm[e/ëDV¦–z³˜C¥nÄbô;¢o¨qŒ™ÕÐ8~HÞb·¯¼—r«Q4­‹µT +EÇlî”G—èfã"m²ü¢.ËéªrÔ=rýdÂ*ß¡Ûš*)³jÞþÐÅÜݶø ‡•TÑÑQ'À´ +à>PboÃLj¾¡„3«!¡<~8yÈVŒîPÛ+ù‹wõPÎRÿQm]û;0„Ílëúâq +Åâ¿2®GV¯o+ˆ–Y‘úŒ¶›$®@¶ÇüT‰úêóùgÓýLŽúg?³ãŠ> endobj +4531 0 obj << +/D [4529 0 R /XYZ -11.232 900.716 null] +>> endobj +4532 0 obj << +/D [4529 0 R /XYZ 65.161 760.065 null] +>> endobj +4533 0 obj << +/D [4529 0 R /XYZ 65.161 749.106 null] +>> endobj +4534 0 obj << +/D [4529 0 R /XYZ 65.161 738.147 null] +>> endobj +4535 0 obj << +/D [4529 0 R /XYZ 65.161 727.188 null] +>> endobj +4536 0 obj << +/D [4529 0 R /XYZ 65.161 716.229 null] +>> endobj +4537 0 obj << +/D [4529 0 R /XYZ 65.161 705.27 null] +>> endobj +4538 0 obj << +/D [4529 0 R /XYZ 65.161 694.311 null] +>> endobj +4539 0 obj << +/D [4529 0 R /XYZ 65.161 683.352 null] +>> endobj +4540 0 obj << +/D [4529 0 R /XYZ 56.693 635.845 null] +>> endobj +4541 0 obj << +/D [4529 0 R /XYZ 65.161 636.528 null] +>> endobj +4542 0 obj << +/D [4529 0 R /XYZ 65.161 625.569 null] +>> endobj +4543 0 obj << +/D [4529 0 R /XYZ 65.161 614.61 null] +>> endobj +4544 0 obj << +/D [4529 0 R /XYZ 65.161 603.651 null] +>> endobj +4545 0 obj << +/D [4529 0 R /XYZ 65.161 592.692 null] +>> endobj +4546 0 obj << +/D [4529 0 R /XYZ 65.161 581.733 null] +>> endobj +4547 0 obj << +/D [4529 0 R /XYZ 65.161 570.774 null] +>> endobj +4548 0 obj << +/D [4529 0 R /XYZ 65.161 559.816 null] +>> endobj +4549 0 obj << +/D [4529 0 R /XYZ 65.161 548.857 null] +>> endobj +4550 0 obj << +/D [4529 0 R /XYZ 65.161 537.898 null] +>> endobj +4551 0 obj << +/D [4529 0 R /XYZ 65.161 526.939 null] +>> endobj +4552 0 obj << +/D [4529 0 R /XYZ 65.161 515.98 null] +>> endobj +4553 0 obj << +/D [4529 0 R /XYZ 65.161 505.021 null] +>> endobj +4554 0 obj << +/D [4529 0 R /XYZ 65.161 494.062 null] +>> endobj +4555 0 obj << +/D [4529 0 R /XYZ 65.161 483.103 null] +>> endobj +4556 0 obj << +/D [4529 0 R /XYZ 65.161 472.144 null] +>> endobj +4557 0 obj << +/D [4529 0 R /XYZ 65.161 461.185 null] +>> endobj +4558 0 obj << +/D [4529 0 R /XYZ 65.161 450.227 null] +>> endobj +4559 0 obj << +/D [4529 0 R /XYZ 65.161 439.268 null] +>> endobj +4560 0 obj << +/D [4529 0 R /XYZ 65.161 428.309 null] +>> endobj +4561 0 obj << +/D [4529 0 R /XYZ 56.693 380.801 null] +>> endobj +4562 0 obj << +/D [4529 0 R /XYZ 65.161 381.484 null] +>> endobj +4563 0 obj << +/D [4529 0 R /XYZ 56.693 335.218 null] +>> endobj +4564 0 obj << +/D [4529 0 R /XYZ 65.161 334.66 null] +>> endobj +4565 0 obj << +/D [4529 0 R /XYZ 56.693 287.152 null] +>> endobj +4566 0 obj << +/D [4529 0 R /XYZ 65.161 287.836 null] +>> endobj +4567 0 obj << +/D [4529 0 R /XYZ 65.161 276.877 null] +>> endobj +4568 0 obj << +/D [4529 0 R /XYZ 65.161 265.918 null] +>> endobj +4569 0 obj << +/D [4529 0 R /XYZ 56.693 218.41 null] +>> endobj +4570 0 obj << +/D [4529 0 R /XYZ 65.161 219.093 null] +>> endobj +4571 0 obj << +/D [4529 0 R /XYZ 65.161 208.134 null] +>> endobj +4572 0 obj << +/D [4529 0 R /XYZ 56.693 160.627 null] +>> endobj +4573 0 obj << +/D [4529 0 R /XYZ 65.161 161.31 null] +>> endobj +4574 0 obj << +/D [4529 0 R /XYZ 65.161 150.351 null] +>> endobj +4575 0 obj << +/D [4529 0 R /XYZ 56.693 102.843 null] +>> endobj +4576 0 obj << +/D [4529 0 R /XYZ 65.161 103.527 null] +>> endobj +4528 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4579 0 obj << +/Length 1864 +/Filter /FlateDecode +>> +stream +xÚÍ[KsÛ6¾ûWpÒ‹}ÐoéôФM:iÒicwÚ™8˜‚,Ž)B%)?ò뻩ؒ-EMO¢DpñØoŸ‰.#½;z}vôò­$‘£˜ŠÎ&‘b âHS<ŽÎÆÑçãO.s¶t'#&Éño¾res9ñEsQMÛ›?ùäµ÷WÍ—¿O?œ|9{ÓŒ(#e#í´ºË\9u®*ëÛ8;4ήx=»ÀécÁ£‘·óSÂQb¬_6T™úÉ£ŸÏŽþ9¢(ŸD4’ +”áQl((¢dvôù ‰Æx€0:ºYŽœE’`\áuýqDÚ­ [·d%[ D5 Î“K«Ç^¾Å!Ë…ˆú Bi¼±üÑ.Š´úz2R„¿w6/}þêdD~Ù<¸²‚4‡ Üf§ÜβF8î[-¿þx·¾`Ü(³(æ +7 \ÿ.IŒû§"F›¨pÑäá +פ=ýëã ˜ªÅj‚F0­G÷•/*º)_ +1î\È O_af`—‹Ë¨¹øÔªÃÚÑ®€s +7hyÂùbœæ—kñXVôy©“ôÖ•kCQ„8Ãéñnßò¹]ñ ¦éžêìØø¼ryóÂÏ]Q¥®¬µÿû摉Gs³mLà†)ÀS3C”¦€öd(‚¬‹ïÇÞPÃé¡´%ZþãxìÆaä(Üd¾(æÎŽ Q±FßEÉ%%ï™!‹,ͯ æ@^{ݼhî”SÓ…A1 ¸ÉåpLX—ß“ +½ÁvàA3ÞœøŸó±­BÙPÇXAW¡×:g–·d0qУI¤ì!‰C4(Î÷Lœ4»[˜¹jêÇXs™ù²D2»¨<,9NitÆ©Q"¥ƒ±gC~?öôÎiðYcÚôaî²,8Ò²y Ïn¿Iô‹1c‡$™T4Ñ{&Yb³Ì/*¸,ì|š&%¸[ ÒÊÔç]H%š²JÐ:ŽUëò{²ª7ج7H4çü&³f¡d±×6ÍìE憯$ØãÍlUî™ßßtswÞÖ>Üèƒò– +”.öÌÛU< ¥›CÖ$a;%V’H ŒÇ] V(6w7ä÷ãn°áÜ&ÞÖÓÞø¢pIu¸ôJ +$æ‡$j6Piv Âû´¸² ~Å5_="ÁNš/$â1Æ‚BÄÀ¸Nó×å÷ÔüÞ`;h¾$ ™ì\U˜ù"Ð[Ý+D`䈮mÂ^‚H«@°˜Ð¤ÁŽ¸ò¡6ó§À¼3iÌOvêÝÛbFàú2›„qŠþ}ì6-ƒ| CCoŠºÙÚ†s"HÓ‚@·~?*^VuÛ1£P‹À°Ø GØuù= Ûla5Zá\¤j+c×®¸°U: ŒÙ27syµsÄ&8fê§py¼ïQ:»„²H`n«i'E:`gˆkB×ÚßOçûƒ wRÜÔM̶3„§·EŸÐûc<ç£k®o\…:´4ThšgiîÚô.Ôù]é̵BƨCò™+R²=ó¹´·>‡dj ›ÔÝ­ÂÍ W¢¥CÓØ©xÂ%ÂÓv¶¸` øp_ß“ß}¡v ·`¨îƒž½y6°.LïÌô·J´ùÅ©‚˜Åÿ¯Ç ‚Q™‘ ÉpíÞ ùýXÑl8-˜1@Ì.M®±+“"×Ö/ì? tP‡ô½Ï_Ây½¸|ª?÷µdL<ÿpá®ÍB·´šÚò?™Ã0;Òb¸Jù†üžŠÝlÅÖ(oË°ÕÔ…Vnlh;0-OË«ýòc––‹:Õ/+›‡·¿¦þf¿UŒÇÁi‡Ç4-‡«Ë³Z­biz<†Y½ H)P±ÉkJp]¿' 㜶jYnxP˜®Ú‚ÖÙêEʉÏ2Â$ãøÜò'ŒóËÕ«—S[K¾>¡ò¸}â¹¼¹šÙqû[åïßÏlêüÁÜ´nDÆjå‹ç…Ÿ¤[`â²Ù}Ý$ñ« Ê4OÜÆ; ÈjL»›ë¢ysÖw—Làšq Â÷XÖ½-3Ö,Ä^ªÐj'‹(n‰¦Ã™Ö ùýLk°á¦•Æ1P":‡Ò¹ 4AÅ" ­5†VG[ý +4íYZG]¾âØQu¹+Âã«‹Àâì/g?ŽtÙü©PæœH²=dBk‘-ÂýŒÍÒPZÈ#‚`h¨ˆ hvÐæ.1f‘»4w?ù WTõ;­ì]uŸ4µº9š¡‰îb9b‘vr)CÛb†ëänÈïi{ƒí`9A×Úœë¢t¡Í¬ñ£îí/žIUž°Xøó‹çŽ4/+gÇû8¿éä=ŒWÛ'~~·9|´}x(ˆà—*mUéÅ"¸]UúŽ9¥ +®Â¶!¿'/zƒíÀ j€3ú-ç +ô`‰ ¬ \¸}÷1ÐMC» É¢¬ü,ýºáÀ;d=”r bˆ<úK• ¬›]þQõ/W.µõ +endstream +endobj +4578 0 obj << +/Type /Page +/Contents 4579 0 R +/Resources 4577 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4527 0 R +>> endobj +4580 0 obj << +/D [4578 0 R /XYZ -16.307 900.716 null] +>> endobj +4581 0 obj << +/D [4578 0 R /XYZ 56.693 742.989 null] +>> endobj +4582 0 obj << +/D [4578 0 R /XYZ 65.161 742.431 null] +>> endobj +4583 0 obj << +/D [4578 0 R /XYZ 56.693 694.923 null] +>> endobj +4584 0 obj << +/D [4578 0 R /XYZ 65.161 695.606 null] +>> endobj +4585 0 obj << +/D [4578 0 R /XYZ 56.693 648.493 null] +>> endobj +4586 0 obj << +/D [4578 0 R /XYZ 65.161 648.782 null] +>> endobj +4587 0 obj << +/D [4578 0 R /XYZ 56.693 601.274 null] +>> endobj +4588 0 obj << +/D [4578 0 R /XYZ 65.161 601.958 null] +>> endobj +4589 0 obj << +/D [4578 0 R /XYZ 56.693 554.45 null] +>> endobj +4590 0 obj << +/D [4578 0 R /XYZ 65.161 555.133 null] +>> endobj +4591 0 obj << +/D [4578 0 R /XYZ 56.693 507.625 null] +>> endobj +4592 0 obj << +/D [4578 0 R /XYZ 65.161 508.309 null] +>> endobj +4593 0 obj << +/D [4578 0 R /XYZ 56.693 460.801 null] +>> endobj +4594 0 obj << +/D [4578 0 R /XYZ 65.161 461.484 null] +>> endobj +4595 0 obj << +/D [4578 0 R /XYZ 56.693 403.018 null] +>> endobj +4596 0 obj << +/D [4578 0 R /XYZ 65.161 403.701 null] +>> endobj +4597 0 obj << +/D [4578 0 R /XYZ 56.693 356.193 null] +>> endobj +4598 0 obj << +/D [4578 0 R /XYZ 65.161 356.877 null] +>> endobj +4599 0 obj << +/D [4578 0 R /XYZ 56.693 309.369 null] +>> endobj +4600 0 obj << +/D [4578 0 R /XYZ 65.161 310.052 null] +>> endobj +4601 0 obj << +/D [4578 0 R /XYZ 65.161 299.093 null] +>> endobj +418 0 obj << +/D [4578 0 R /XYZ 56.693 261.943 null] +>> endobj +4602 0 obj << +/D [4578 0 R /XYZ 56.693 234.389 null] +>> endobj +4603 0 obj << +/D [4578 0 R /XYZ 56.693 187.38 null] +>> endobj +4604 0 obj << +/D [4578 0 R /XYZ 65.161 188.063 null] +>> endobj +4605 0 obj << +/D [4578 0 R /XYZ 56.693 140.555 null] +>> endobj +4606 0 obj << +/D [4578 0 R /XYZ 65.161 141.239 null] +>> endobj +4607 0 obj << +/D [4578 0 R /XYZ 65.161 130.28 null] +>> endobj +4577 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4610 0 obj << +/Length 2325 +/Filter /FlateDecode +>> +stream +xÚÍ\[sÛ¸~÷¯àSGž©`\yÙ>%›d›Í:ÙÆÞNg²;;”Y¬IB%);î¯ï¡DÙ%Y‚àæŤ)ðà8ßw.Dƒ›€?½¾>»x§h$äap= BNÂ(ˆ™ " +®'Á—Ágë´ÖçC®èà£it½ºšjuÓ̺ߘñkcnWÿüëê—ó?®†n†Œ‘D©•´«æ!×õLë¦n?†ÞYCï¡h{—Ð}$E0T$‰ºþ• 1Š« “öͳ·×gÿ9c Ÿ,P! D #!åÁ¸8ûò &ðh@d÷Ë–E %\„pŸWgÿ8£ÝPÐ!á4‹T²“µp™FÃN+F˜Zê±~1ø2d”ÒÁõyLÆäëï÷íèÂ`pY%VB®×#75ynιÜgåÍêÑx––7뱞¥çœîΙtoŒ´.WwE:éž5æiB–}ƒÒO}³X’(j¿ø²ïfŠ‚ÃÌÇëVc³^gåX÷&œ‘H¾º¯VfB6ÇdÈY%ᆓ8ìïwÎ7Çn©êÒ d«CLdø¨ÂeC¡óß©¢MÙù0„a¾*²föÃùqÚŽÁ­¾¸„?Ó,×dm‡ËÀôÚNÚËO›6¶Æ"ÀÔ’Œl¦}®h&œ$qT:˜~k$Òv?Ýî Y0¤]+Á¬mí*_²¾|EaZ`ø0=|  $<9²KÕM°ºùÜ!jc~ _ÛÄ]ZefQo˜Å¶,Y;ùkp §åÙp2ɚ̔H¹7T»z1Ÿ›ªÁ5Kn)Õö€üfõ8Ë&fŒm½Ùî0„"N(KüYø¦|G wVÖÂÂ#EíYZâ†?+ç ¤µ€.ÒÆv¶Â„PáÂw{®ÛÑDç9C&Ù÷Hþ|zÂ<’?!Üàþ ±)ßÎÊZ@C0aÖr–ÛÄüd”§þŠ$èVªž¦‹‰¹_ß¼CS¹®Ð8>ñWÒ_Óbžk¼¦-xl‰„+ÂåË2 •>KOLòµÎ/F‹,Ÿ\Ìš"ç•™N #)bQŽç•iLó0GÂÚ,š~$ý‘½ª,_z¤Áýæ"u$»A™iÛàSA*ãÐ*6å;¢ÂYY TD!$üWšòÄæï×—¿àZÞV}îGC“ŽyŠõ†|\ÚôL¤üõyaã묬"©äß‹)vb°¹ë$«ôØ6ÀWpU<ò‡ˆMùŽˆpVÖpYW‰lª´¬W T†F’ôÚÈÁ’wßaC@¾e·£8¢ kìY }¨OÌ?ó´J Üm±¡ íýãzò±á¬¬6”$±êŠq; âŽÄ–á°ò&ºl°ñ[žÕèZIž›{t¨‡7ÄAÙà›¤Œ‰Š’—L£€pázL•.ª¬ùï*wúYƒšr;{jóÉ!ü;\‚´¶É¡X _Þc +ÕJŒ™?øoÊw„¿³²ðgŒÐµI\¶KJ8P7M•A8¥-B¼º[ûCÔ%t1ÒU}ÚÜÌÎÃÉB‡ýýõ,C~1]¦£0B.{{âõ ¿sœ›˜ä™„$æþJ¯=ùnXwWÖë”ÖUã+=Õ•n—v‘™ËxQ€{ÞŽ™-žL‰Å‹Ö eÒå÷Y7”¡ IâÑéI%þê†=ùŽ@pV Ö!xW7\Ô}‚[Nô~¼~ï£Æˆ%D?5Æú¡4óëšlòôG‘–óôƺ¨ƒ/¿X¯oKÉ ü•{ò䬬€¤""ìhõíCÓ”W:<œ6ú{õñêýñ¶}ØRDBh½¨kƒ”‰%ñ÷éÚhB¸Œý¹6‘Ä„Çþvžôä»!Ó]Y d‚¦*êÊ9ïۥࢪ’•Y“¥¹‡ýMh/`ç4­– ^¦‚Š¦ªƒ(qDžÂåÓÛø†xGwUoá"¡$dÝÞª#VG±qÖÎpä´k®¯ÆcÍê £ü–F,† +SÙ¦Ø"‚:òWNëÉw´Mge-Œ3JH¨ºrÚîeJçº º•ñW…ždisìâîE[cÑxkml¿cy<+€´ñUL0±’ù+&õä;Zº³²–Ƥ#áeœˆ›H¶OŒ†1$ XóF#g_*z±ß¼Û0Ù¦PÚæÛxw1xŒ½E™NÀUò-Ó Q«ð_¦›˜ñ°­”áfdÌ­EJ#'*öX­œ‘û«Öõä;2³²LÃ%I·]¢Bƒ½­çqþx~ +ÙÞNú6•>ß¾¶ãyÒiMߢy’d) ÁÈÂÐ_I®'ß%ÎÊZ „ x·£Ð¬Àgæ>mí÷m‡«ºµ9uì‡-SŽ±V°õÌÕŸ|¯qwðÒ?éö–fÇæÒÉü¦j÷lb3ùÚøF£\¾×Õ÷—تÝü¿Î³ì²òçÙi{ÛíGþvöä;¢ÂYY<*x ]9¿õ{gƒÍ?x¬Ú#øÞò]gü¹b2Ú§3þáÎ3þo¿6º¬×G…¿ßCþú9=a˜ÛÓ×';é/#B%ïNú«#r¸º=Ð¼Ú Îò›J?î-¼Ü8¡vÐtXî/Ecq{ðÍ_Ù³'ß&Ü•ÅÓJR¼ƒÏo5’Ûß|úñõ§Oþ¼úçGÜ ío´{âûçîtõp?Ó•¶Œ=ç;]Îß-AÁðç÷}óîÏËWÞ~¶ôg,Œ+þ’%0`Pá©„cËŠoVUOÎ’©ü­Íõä;2³²L Á­üæoz¬c"Œ,Rî´2¶F\7ØŽvE ËDz±…òÃàí/#ù+4öä;Ú®³²¶+‰â®Ðh7e{Ì÷˜y><<"Š†/Jî4|Zs?9¹“ñ]Ý”ËÐG ‰6kt§f÷8ôZ#Ùï†gUñðˆ“§Ie“‘ÛlFÐżyðã2êÅh’U–`‹˜\të7ì$]Ä9â'ìþ“4  +endstream +endobj +4609 0 obj << +/Type /Page +/Contents 4610 0 R +/Resources 4608 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4527 0 R +>> endobj +4611 0 obj << +/D [4609 0 R /XYZ -11.232 900.716 null] +>> endobj +422 0 obj << +/D [4609 0 R /XYZ 56.693 759.068 null] +>> endobj +4612 0 obj << +/D [4609 0 R /XYZ 56.693 738.489 null] +>> endobj +4613 0 obj << +/D [4609 0 R /XYZ 56.693 696.936 null] +>> endobj +4614 0 obj << +/D [4609 0 R /XYZ 65.161 697.225 null] +>> endobj +4615 0 obj << +/D [4609 0 R /XYZ 65.161 686.266 null] +>> endobj +4616 0 obj << +/D [4609 0 R /XYZ 56.693 642.19 null] +>> endobj +4617 0 obj << +/D [4609 0 R /XYZ 65.161 642.479 null] +>> endobj +4618 0 obj << +/D [4609 0 R /XYZ 56.693 598.402 null] +>> endobj +4619 0 obj << +/D [4609 0 R /XYZ 65.161 598.691 null] +>> endobj +4620 0 obj << +/D [4609 0 R /XYZ 65.161 587.732 null] +>> endobj +4621 0 obj << +/D [4609 0 R /XYZ 65.161 576.774 null] +>> endobj +4622 0 obj << +/D [4609 0 R /XYZ 65.161 565.815 null] +>> endobj +4623 0 obj << +/D [4609 0 R /XYZ 56.693 521.344 null] +>> endobj +4624 0 obj << +/D [4609 0 R /XYZ 65.161 522.027 null] +>> endobj +4625 0 obj << +/D [4609 0 R /XYZ 65.161 511.069 null] +>> endobj +4626 0 obj << +/D [4609 0 R /XYZ 56.693 466.992 null] +>> endobj +4627 0 obj << +/D [4609 0 R /XYZ 65.161 467.281 null] +>> endobj +4628 0 obj << +/D [4609 0 R /XYZ 65.161 456.322 null] +>> endobj +4629 0 obj << +/D [4609 0 R /XYZ 56.693 412.246 null] +>> endobj +4630 0 obj << +/D [4609 0 R /XYZ 65.161 412.535 null] +>> endobj +4631 0 obj << +/D [4609 0 R /XYZ 65.161 401.576 null] +>> endobj +4632 0 obj << +/D [4609 0 R /XYZ 65.161 390.617 null] +>> endobj +4633 0 obj << +/D [4609 0 R /XYZ 65.161 379.659 null] +>> endobj +4634 0 obj << +/D [4609 0 R /XYZ 56.693 335.582 null] +>> endobj +4635 0 obj << +/D [4609 0 R /XYZ 65.161 335.871 null] +>> endobj +4636 0 obj << +/D [4609 0 R /XYZ 65.161 324.912 null] +>> endobj +4637 0 obj << +/D [4609 0 R /XYZ 65.161 313.954 null] +>> endobj +4638 0 obj << +/D [4609 0 R /XYZ 65.161 302.995 null] +>> endobj +426 0 obj << +/D [4609 0 R /XYZ 56.693 267.292 null] +>> endobj +4639 0 obj << +/D [4609 0 R /XYZ 56.693 240.751 null] +>> endobj +4640 0 obj << +/D [4609 0 R /XYZ 56.693 198.804 null] +>> endobj +4641 0 obj << +/D [4609 0 R /XYZ 65.161 199.487 null] +>> endobj +4642 0 obj << +/D [4609 0 R /XYZ 56.693 155.411 null] +>> endobj +4643 0 obj << +/D [4609 0 R /XYZ 65.161 155.7 null] +>> endobj +4644 0 obj << +/D [4609 0 R /XYZ 65.161 144.741 null] +>> endobj +4645 0 obj << +/D [4609 0 R /XYZ 56.693 100.271 null] +>> endobj +4646 0 obj << +/D [4609 0 R /XYZ 65.161 100.954 null] +>> endobj +4608 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4649 0 obj << +/Length 1600 +/Filter /FlateDecode +>> +stream +xÚí[Û’›F}×WPÎ˪*š;3É›/qÅåuK•r•íV­ˆ(€ö’¯O# ´BÒjð%Nô²°0ôzúœžîe±wãaïuïù¨wù“ÀžFZR馞¤Húž" 1ßM¼ïMd‚ÌôTà‹wIn²òtš¤åI>«n¾LÆÏ“äKùˇáÛþçјf@ÒB”Ö†ùCd²™1yV܆ى§`vÉŠÙ9Lïsæ Ò~5?Á,úêâ²<©‹'{¯F½?{ìcxB"©™çk‚$¦ÞxÞûø{¸×Ê»[œ{‚`D™„óÈö~ëáÊxÃ%Ôƒa¾Ð+ŸÔƹFË +AÄ_á¨ô>Æ« ƒû$®Þï±wÁ”#&+#£ÚsÓ$Š’>wa|S^Ï‚ø¦öõ,èS|qÛ'â¢zâÚ˜¸<›“êZž¬d57€^ÏMG¾_¼øjîû,ô0:ÛƒÞÚW~=|œÔ³da<6•'Ègˆ–çi/hÓ9ðÞ Xeƒ4f¥ÕO”Šq+Ì«xà…¸T5„«|b¢OXà|?I ÁßÃy˜Ï~è…_~õ~øó/ïJ›u…Ùâðz3\ ̈O=©R¾(Â¥¸.°Ñ'=Š´Ò^j¼éãøØ°¶ûêö¾4‘õ¥aRŒvµ/‘¤i_`Xp˜Í ¹#‘¦ú`WÓ¯{5lD·rù³§sy¤7&?®ÐÝi\G­•C½áóî¢~Ó¾cÔ;ƒmõ„‚’:‹íŒ"¸ƒž^éQ’m=´ºóñ5lNÙ# ܗ측ò2ˆCÙ}k èôž×¶/‰ˆ§LtBA•è“nk¿*¯]_ÌZ‹zC@Ë°ê.‡ 82®;csþ›ÝÁÚ³YÀQÖͦ—¡ešY$YÞ"UM ËŠ# ÚÔ="i¯ÙdÚE•¸]°þ‹ëÔI˜f-³ 1“SÊ“ˆsùÏìÇw«Xõknê¨?ì7 +/¡x‡‚FTt'h›öÍl A# +)Ru8¯’Ô¶l¾3Á±·Ö[Ù]úxHQƒÉC[.ÃÆ ÈÕ—wuí¹éE‰u×^ííÚ¨…ìèÚßïÁú?èÚsà2*Çqݲ5ì»)›;X{eã…«;wíÏ]ûºöL³ÇÙáè´kØw£;X{Ú1-‘¢üܵ*v0Ü?e•À¤u+;q•`™#™ð‹ï8:K‘ŒÃ>ƒÐiß‘«Î`[p•C h}nÉÿ'[òŒ ¨/ºûCTþcØ;ƒmöL#ÌÏy§ŽX¦aþW)co Ë’¸ÖÀÅC>KâËâUÐâÁRÜгÅvøTþ›¸¹ƒµ7 +TâökÚ6«Ø¶Q¢l¹æÎòI²´´ZnÍb˹abû.È,°L+±Ká­‰¿¶.$Å¥¤»¿G5ì;ÒÀl Ÿ¿ÖZ8Læ–뻌c36Y¤–‘kæá8‰’8³eÏ<¹5“¯^oâ#Bå)wØšCÉGOT*“»þycØ*ë¯ùß½¿¨kHL +endstream +endobj +4648 0 obj << +/Type /Page +/Contents 4649 0 R +/Resources 4647 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4527 0 R +>> endobj +4650 0 obj << +/D [4648 0 R /XYZ -16.307 900.716 null] +>> endobj +430 0 obj << +/D [4648 0 R /XYZ 56.693 759.068 null] +>> endobj +4651 0 obj << +/D [4648 0 R /XYZ 56.693 738.489 null] +>> endobj +4652 0 obj << +/D [4648 0 R /XYZ 56.693 691.874 null] +>> endobj +4653 0 obj << +/D [4648 0 R /XYZ 65.161 692.163 null] +>> endobj +4654 0 obj << +/D [4648 0 R /XYZ 65.161 681.204 null] +>> endobj +4655 0 obj << +/D [4648 0 R /XYZ 56.693 633.696 null] +>> endobj +4656 0 obj << +/D [4648 0 R /XYZ 65.161 634.379 null] +>> endobj +4657 0 obj << +/D [4648 0 R /XYZ 65.161 623.42 null] +>> endobj +4658 0 obj << +/D [4648 0 R /XYZ 56.693 576.307 null] +>> endobj +4659 0 obj << +/D [4648 0 R /XYZ 65.161 576.596 null] +>> endobj +4660 0 obj << +/D [4648 0 R /XYZ 56.693 529.088 null] +>> endobj +4661 0 obj << +/D [4648 0 R /XYZ 65.161 529.772 null] +>> endobj +434 0 obj << +/D [4648 0 R /XYZ 56.693 492.621 null] +>> endobj +4662 0 obj << +/D [4648 0 R /XYZ 56.693 465.068 null] +>> endobj +4663 0 obj << +/D [4648 0 R /XYZ 56.693 418.453 null] +>> endobj +4664 0 obj << +/D [4648 0 R /XYZ 65.161 418.741 null] +>> endobj +4665 0 obj << +/D [4648 0 R /XYZ 65.161 407.783 null] +>> endobj +4666 0 obj << +/D [4648 0 R /XYZ 56.693 360.275 null] +>> endobj +4667 0 obj << +/D [4648 0 R /XYZ 65.161 360.958 null] +>> endobj +4668 0 obj << +/D [4648 0 R /XYZ 65.161 349.999 null] +>> endobj +4669 0 obj << +/D [4648 0 R /XYZ 56.693 302.886 null] +>> endobj +4670 0 obj << +/D [4648 0 R /XYZ 65.161 303.175 null] +>> endobj +4671 0 obj << +/D [4648 0 R /XYZ 56.693 255.667 null] +>> endobj +4672 0 obj << +/D [4648 0 R /XYZ 65.161 256.35 null] +>> endobj +438 0 obj << +/D [4648 0 R /XYZ 56.693 219.2 null] +>> endobj +4673 0 obj << +/D [4648 0 R /XYZ 56.693 191.647 null] +>> endobj +4674 0 obj << +/D [4648 0 R /XYZ 56.693 144.637 null] +>> endobj +4675 0 obj << +/D [4648 0 R /XYZ 65.161 145.32 null] +>> endobj +4676 0 obj << +/D [4648 0 R /XYZ 65.161 134.362 null] +>> endobj +4647 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4679 0 obj << +/Length 2199 +/Filter /FlateDecode +>> +stream +xÚÝ[[Û¶~ß_! /^ Ëå]d{p€¤Ý-šÓžì>Hú µh[ˆ,¹½—þú3å¬-_BYRNÑ'É49rf¾¹ÂÁ<ÀÁÛ‹×w×o4Ò’ÊànHŠd( ƒ»8ø0yoR•æòŠ +<ùOnMé^gyá^ì¢ùóÇ|ú:Ï?¹¿ßþrùÇÝÏ0Í!H á¨ÝÚçÔ” clYý ³“@Áì’U³s˜>ä,¸H‡ÍüK ªÉµ{©«‘7w^ ‰¤fA¨ ’˜ÓåŇ?pÃÀâZuÏe F”IxOƒÛ‹ÿ^àf+0ðX½V·[”#Ò ä'åª]à•EZé 0Áì()ß ˜B„‡› aRõîK_ "I›¾À…RyÍ°½Íiª`¶&XÌ÷ò¾QEa­ ¼VņqNgú¼Šc×â?N)øp%1žD~Ýfëlj“<óëm‘õëùçº6¯¾«¨ˆ–ƚ¯ûC”®[¤›>b›öý±›ûÑ7Y¹.ÌÐ0ñì)9ßÉ“ ölUÀÎùêÄî®Â‰-…ãR!,àŸZÕ>bŽDz¼t +kmú\9r;*¾ƒKã¦!"JgÜ»ô{wof=Œ[ „• t¥ÛÍÒI6o+v¥Ôùn4‘ˆÂFÛè]ú=7º7³P”h$Èg—¾J£©¯ÑÄLlyÙQ=ÁoVäKoñëèɯï2ש'ÝÇÄ.FàÀØE墳¿Ê3DyŸÀäÈs?8l¢,©!Hd¤IJETw ¬nðò]2]D&­Ü”]Vv}YïÀí6ö»Ë+B+gø Û‘]¿¿yõã»›ï]‡6ôËO¯!º¼óÜ©R”Œ¹É"%éh˜Ó¢ßsú3ë92”%j'úÂdãxBÈS™¶Íáêx\“&÷0À¶G\áô©Ã§yž0•ÿsù‚C‡ìâA­9hR#²¯ŠX½ÑJ7»#V´.û—ƒ¡ŸM”•yv©|шCÀ#؈hD5ä»|<4Ú¥ßz3ÛE¡¢N¬w&úä‹FÞq‡5OvÐä4M¬m'"°$úÕ,N Ð"DlYšP!b0¹Ò m'©ê^*J¡r%°(ÆùT b™¦.´mÆ8€¾è³ðIUƒÒVO¥'ežšôÙµE®i™du +Zî/)ž¬çW1¦O®i½Š! u=¯ë6WÇ‚†š â Ç+º¼âTO~²®‡£DÄÄ”/“ê*‘Ÿ~ŠæUäWw3E±á!ÉšÉêI a{7Ì|[ýÒU’Z·>š4uƒ¢ÝYšõ¸ÿ’ìP™m–ç6ËmS˜[DYœ:®Dà +<ßüêžùÚ®Öµ qWº@ž…ˆ†MÐGØ)ÁnK“—&Ñ;â8E“—¶§pkû2[2ØÉp»YOŽÝûgPè S”ˆÍ +ë{k|k2˜DïLýÀÒ@… Û,ÍlŠ¥iš_R)ÄF  góM1uUë{¨UªY°1œ–Q|`•®2Á¶æ&Š£0”Ï5¯=È$çˆ1¶é7Í7äË$›š®û ¦UiTW/ˆs9°“Mói”šëØ §eê |L ¤¸ÏÉ2Øj5^•a—|?Û›UË”‚Ýi°ÿÕj•&¾vÙéâPAóJxj_—Ç€ &_3¶d’ ªéHÙp£þéCõ`ˆŠŽ¨þœ AÙxú¿K¿§ôf¶ƒ´*B:ŸUÔRNþŠü"ªÓ7¯Ž¿y¼®ëq·ÆžI2¦`|ÌHòÅoì +sÐböÙŽ%!ˆù[{áY~€?+ãb0L4d·”4X ì€mtŸ‚ó-}ÑE˜ðñЇ2°£¡O‹~?ôéϬ?úPNãÒ¿Ëãd– Ÿâ΋|½òM‡—«´ +ÑýJæù™'Ž°ØoÖ¨ºe­ëåЇËuj“UÚi‡Ë#Kü²ùQ…°ïA‹~OëèÍlë`A0ì¬#ò•qì+äÈÚ"¹_ûj{â©e.9÷ìë;Diê×qš…)Wy{fÍò¶â~wâB¾¹,87yHòu™>Ÿm"$D„wߢßÓDz3ÛÁD(Fœ6¸ß{Q9hÙÓšÒSåWE¾Hîë­Ÿv‘œqs&ʆ½t4Í—K“y®±Œž;,Ï÷:ŽÛ᜼­ _¶3,á9^™¤E¿§õf¶ƒa Ñ·ÜØY”ùâ»ù»­ÇÄÛwDëÒ“¨ïú]9ýøí cã^¯í™àpÜ&Y–Ãß{îV–ûÖ ±-:š,ÑRÉÑ,v—|?ƒíͪ¿½­Àjs‘!5Q¶—ƒ|Z ;l`˜åÃ5‚'…`l9tîóæ×ß¹[;½_¾)Ûï7'àtáô ?¤yé›ìݯçÇÊÓXïò4ÑAò5ËÓ$$HR:pQh^D«E2-;Ô…<«Úèhu!Ž@‰ñªÒ-ú=Ñ«7³àKÀ“Ÿsõ\8$h或ÛÐøïÓ†sTÑðàu—ǨÈ:ÜÂ,Ëh~Öµzóati +O@†î&+“ý«Y].:®’_õÚ'¡ +Q1ô%ª(^æY!;óËËïJŒ#»ô{ÂHof;ÀNæ¼|“UµO™›Ì·ò™g¬Ÿa®þ'l*YàWæ`r2Pi:Éâ +8 +ß´#ñ-Vö—tø*±jv_(ÀŸ]Ûo¡2ÄÙ_èè :Þ™Ò.ù~6ß›UÿÏsƳ5¿÷Ø1T 9ÞYÄ.ù~»Ú›U UB?±É&g¦0ÙÔ lÖÞz5®ø–t²aKÓÂì}Vôå€aò¶zém)†D¨G¶ö¾`æa©Ïù€ùåVb +endstream +endobj +4678 0 obj << +/Type /Page +/Contents 4679 0 R +/Resources 4677 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4527 0 R +>> endobj +4680 0 obj << +/D [4678 0 R /XYZ -11.232 900.716 null] +>> endobj +4681 0 obj << +/D [4678 0 R /XYZ 56.693 759.068 null] +>> endobj +4682 0 obj << +/D [4678 0 R /XYZ 65.161 752.393 null] +>> endobj +4683 0 obj << +/D [4678 0 R /XYZ 65.161 730.476 null] +>> endobj +4684 0 obj << +/D [4678 0 R /XYZ 56.693 686.425 null] +>> endobj +4685 0 obj << +/D [4678 0 R /XYZ 65.161 687.108 null] +>> endobj +4686 0 obj << +/D [4678 0 R /XYZ 56.693 643.058 null] +>> endobj +4687 0 obj << +/D [4678 0 R /XYZ 65.161 643.741 null] +>> endobj +442 0 obj << +/D [4678 0 R /XYZ 56.693 607.167 null] +>> endobj +4688 0 obj << +/D [4678 0 R /XYZ 56.693 572.154 null] +>> endobj +446 0 obj << +/D [4678 0 R /XYZ 56.693 530.953 null] +>> endobj +4689 0 obj << +/D [4678 0 R /XYZ 56.693 495.109 null] +>> endobj +450 0 obj << +/D [4678 0 R /XYZ 56.693 466.934 null] +>> endobj +4690 0 obj << +/D [4678 0 R /XYZ 56.693 439.701 null] +>> endobj +4691 0 obj << +/D [4678 0 R /XYZ 56.693 399.126 null] +>> endobj +4692 0 obj << +/D [4678 0 R /XYZ 65.161 399.137 null] +>> endobj +4693 0 obj << +/D [4678 0 R /XYZ 56.693 355.481 null] +>> endobj +4694 0 obj << +/D [4678 0 R /XYZ 65.161 355.77 null] +>> endobj +454 0 obj << +/D [4678 0 R /XYZ 56.693 320.268 null] +>> endobj +4695 0 obj << +/D [4678 0 R /XYZ 56.693 293.866 null] +>> endobj +4696 0 obj << +/D [4678 0 R /XYZ 56.693 253.861 null] +>> endobj +4697 0 obj << +/D [4678 0 R /XYZ 65.161 253.302 null] +>> endobj +4698 0 obj << +/D [4678 0 R /XYZ 65.161 242.343 null] +>> endobj +4699 0 obj << +/D [4678 0 R /XYZ 65.161 231.384 null] +>> endobj +4700 0 obj << +/D [4678 0 R /XYZ 65.161 220.425 null] +>> endobj +4701 0 obj << +/D [4678 0 R /XYZ 65.161 209.466 null] +>> endobj +4702 0 obj << +/D [4678 0 R /XYZ 56.693 165.416 null] +>> endobj +4703 0 obj << +/D [4678 0 R /XYZ 65.161 166.099 null] +>> endobj +4704 0 obj << +/D [4678 0 R /XYZ 56.693 123.29 null] +>> endobj +4705 0 obj << +/D [4678 0 R /XYZ 65.161 122.732 null] +>> endobj +4706 0 obj << +/D [4678 0 R /XYZ 65.161 100.814 null] +>> endobj +4677 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4709 0 obj << +/Length 2497 +/Filter /FlateDecode +>> +stream +xÚÕ\[sÛÆ~ׯÀ8‘fªõÞ¤—iœ¤N2q§µ”Ngœ<,%‰%«¿>‹›m€¤xV hÒ‹‡»ßwn{ØÛxØ{}ñêöâåßöBJ*½Ûµ')’¾†˜ïÝÆ޻˷:ÕªÒW×TàË¿µ®ºë¢ì>ÔÛþËo‹èUQ¼ïþó®~½ýÑ<æš +ÑI»©R]mµ®«ækótâæé’5Oçæñ>gÞµ@¡ß?Ÿ`ßHôƒË—Ý"Ãæ΋ïn/þ{AŒ|ìOH$Cæù!AS/Ê.ÞýŠ½Ø|g4@< ¼ûvdæ ‚eÒ|N½›‹^à~*ðhJ¨g†ù"lçdÎCD°ìµ2Ôª1Üç½»&ãËïoßüÔÿ²ÏçÕLåˆÉþöÛaÎÖEšWT\Þ'ù¦»mU¾fy«®(¾¼»"ⲿc¥uÞ}ÊTÜ_«‹OKÑ>Û¨ûéÙ$àÈ÷›ŸÜ>{[gé ©D“aPT ²«$ôd¥ òÂÝç²ÃÏÆ55«NÌš1(Ĭ“ú ¥b4®Õ´]Þè .ƒA…7j_&õÿ®®¥™ÖµÊ«"ÿêêšPóß:©S½S>Ti'Ñ`¬Úüy=‡ñ©'ƒ¾hÀÑ\Ø7X“Eaz¥öÖŸ£a$íøÕÃø> +‰Ð &ÍhWùI¦ò6Ë`¦ ò„Ï™"QHÔm–¯ûð¶§Îh=Å‚(æݲ~Ç:žR§Yâ?õ§bÍ=ùã—_©ô`øõéáµÎv©ªõè–c#[-s•é©ð?¿8-}W‘®ªé-èô뢨óÖÎNîyñò/'ïju3fôÔªªKÕ°ÑÇçç<Ý  96Œå;²ÁYY 6øÆñÞVÀ%«· +¸\Çásrx’CÇ­‹) _ž±ÄT d_ϦòŸÚû¾I‹ +:#«ýæ˜yú‚ø‡Æi@ÝdfåwsâïaÔÖG(’„Š¯MLÔ¡Ó_°Àufþ%׽ɒz;øÜ]Ò8Û?vßTy±³q¾Ì¨Ò/ň0¶œ¹Ëw47ÎÊZ˜Ê§Ý2Ó†–1Œflœ6Q)ht±†âc€Ä}½Ûƒ^ µ£@Keq‹ñ*š 3[¶›„ÂçËAv,ß²ÎÊZ@–PcœH‡Ùõ>ìVÂ$$™ÎëƒøéûˆjmçvÆê¯I õ¯U­L¦UÍì17:×¥‰Þâ'é,ŠE JÄb(žÈwC±»²(6šŠ!ó5v'a ¶d3c%ÖU¤óXM¹ãlôUþ`E] ‰.òZ%9ØE)à,¬ŒíO“ª¶%Bà#*–Kÿ'ò‰à¬,œ"ÄHð>,…:êxÕþÃe85þ?X¦_§Uaé!ö»\':[郒ÈÉÑ¥^ëR79Ø,Qµtuž¾D4\®0‘ïH ge-ˆá‡H}%à„Ù‡›ó ˆhµ)SïhM †?Õªœ;TƒûÓHk&+k¦`0,Ç”±|G¦8+kÁ ¶ÖÑ0e_A­å}Ro¡®eb°Y½ß&ÐôÃ:5…ê`Ÿj„–ç!.8b~¸ÄÇò!Ä…¤ì7=ïT +M£m’Æ&$8þ„ >g™RÐq_.T¦4ŒËTjQš$@‚ðåJ“D!ÌÇò!שּׁäÜ€³¡ÏàN—à:8¼Þ©²ž7™-õ]R%E~l“@†‚žÙ£$‘‚;:xIåѶ(gñ¬JÔtW,E‰‰|7J¸+ §C}®ìZ»›£²eE³?Ø^ ÔÕtTW–)ûíVåïg†îÖånjä›"µ­òó@ É–Ë~'ò¡î¬¬Ôs‰öÙ/»¥Þe=­ùYÄ;< HògÝ—å"D>{ʾìÛbeœbåÔê¡þÔµI‹ªRåƒE¤Ã¹ÑÃ'ËE:œ( ËmÂNä;bÝYY ¬s3A}ÿSûÙÓG`m{ <}vEÏ“»yóÖVªIÉ¡¿Ë5eâL €òg5!ÄH'¿ƒ.JŽ"Ü_Ά°YËÕÀ&òÝlˆ»²pÂBè6¿)âd@#ÃToTšuÝ7°ë‰œ¿‰ œÞ­šÖtxoåA÷æcy£[k  ‚Ì"•Fûô0¦?Ë;„éru³‰|GZ8+kA‹€#Fúº´Ø ÆW̽‚nÇϽ#Wê»mRÕÜýí§iÔùÜëçê0æž·m[ívéÃú¶+[&ùáåò±±xG¹ªjA#Ÿ!&‚ŽFYsúâɽE”ÅÒ­“Tk¤q¦CK§zÒRÜ*†ÎvÆÇÐò˜q’@ºåû™yÜ0,ÕÓØ„nóW|º?–œ2.!d9Rå;²ÊYY Z™ baø± l‰ð ž¦Á° àù@]³­-‰ŽØ*då“ i3¹¡ì9Ó>Æ¢8œ9ïÛ”j·M¢Ê"ícÔ(Âå‚iŸIpi° [Ëw´ ÎÊZX"ðû2éÏmЗUû]S+ÙKÝüëõ±0°Ù“=ͺlm?ZéY ^m©gæŽÌ¸]³ j^»÷í«cÓ*š]n°2 ftÁÒÉX¾#‡œ•µàæHyêê33誷ÐC0àãyGAiáÜh ö¼} Ôˆ@³9·î˜ôW€pÉ–skTp$ðrg|&òÝ(é®,œ’T˜©*Ú”Œ‹hß´ß©zÚ‚ñŒ‡ÃâÕvûĶt€³„·}€YsTB¨-ÂêJçUR'wzîc}ßët7ÕÃÆÉQÎàËuSMä;2ÊUÙÓüálx¯Æ£xº§÷…]~ZA;Àk‡/~yZï–™k_>^çuªê$MçuÁÍ{U¶GÀýhîšeEî–½Úq#!äbNþØks(fÈÇâãksøÑ×æ¼QùN]“›7Ž/uõû~‡NÖ¨»9ª¥Àˆ‘ߣÃÂÓ{tM³:ÛwFX„NĘ6î/Ø6KEbÁƒ¥ùn†Þ]YxèDšöƒ +?äPü ±OªŸ?7´+B÷ËÊæè&ô Áª€Ö¯[ û|–ú°~zü”|nHçÇæX¾#6•µÀ¦±ÐÁpÖ3?ômîf”Ê¡ç4–óôaö£×¶Pœ·–®ì^ô´n«ó$0 žëœÈw$³²$0aN0œëT¹Y‚Ãlõÿ³Ûy†^…cí»½ïi•êl9C†H.xàr,Þ ÁΪZ¸iòŽ[ÂO²H*øÒ}½EÁ24é_¢^yðVQ“4a>奢¿õ'G/ +endstream +endobj +4708 0 obj << +/Type /Page +/Contents 4709 0 R +/Resources 4707 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4746 0 R +>> endobj +4710 0 obj << +/D [4708 0 R /XYZ -16.307 900.716 null] +>> endobj +458 0 obj << +/D [4708 0 R /XYZ 56.693 759.068 null] +>> endobj +4711 0 obj << +/D [4708 0 R /XYZ 56.693 738.489 null] +>> endobj +4712 0 obj << +/D [4708 0 R /XYZ 56.693 691.479 null] +>> endobj +4713 0 obj << +/D [4708 0 R /XYZ 65.161 692.163 null] +>> endobj +4714 0 obj << +/D [4708 0 R /XYZ 65.161 681.204 null] +>> endobj +4715 0 obj << +/D [4708 0 R /XYZ 56.693 633.696 null] +>> endobj +4716 0 obj << +/D [4708 0 R /XYZ 65.161 634.379 null] +>> endobj +4717 0 obj << +/D [4708 0 R /XYZ 65.161 623.42 null] +>> endobj +4718 0 obj << +/D [4708 0 R /XYZ 65.161 612.461 null] +>> endobj +4719 0 obj << +/D [4708 0 R /XYZ 65.161 601.503 null] +>> endobj +4720 0 obj << +/D [4708 0 R /XYZ 65.161 590.544 null] +>> endobj +4721 0 obj << +/D [4708 0 R /XYZ 65.161 579.585 null] +>> endobj +4722 0 obj << +/D [4708 0 R /XYZ 65.161 568.626 null] +>> endobj +4723 0 obj << +/D [4708 0 R /XYZ 56.693 521.512 null] +>> endobj +4724 0 obj << +/D [4708 0 R /XYZ 65.161 521.801 null] +>> endobj +4725 0 obj << +/D [4708 0 R /XYZ 65.161 510.843 null] +>> endobj +4726 0 obj << +/D [4708 0 R /XYZ 65.161 499.884 null] +>> endobj +4727 0 obj << +/D [4708 0 R /XYZ 56.693 452.376 null] +>> endobj +4728 0 obj << +/D [4708 0 R /XYZ 65.161 453.059 null] +>> endobj +4729 0 obj << +/D [4708 0 R /XYZ 56.693 405.551 null] +>> endobj +4730 0 obj << +/D [4708 0 R /XYZ 65.161 406.235 null] +>> endobj +4731 0 obj << +/D [4708 0 R /XYZ 65.161 395.276 null] +>> endobj +4732 0 obj << +/D [4708 0 R /XYZ 65.161 384.317 null] +>> endobj +4733 0 obj << +/D [4708 0 R /XYZ 65.161 373.358 null] +>> endobj +4734 0 obj << +/D [4708 0 R /XYZ 56.693 325.85 null] +>> endobj +4735 0 obj << +/D [4708 0 R /XYZ 65.161 326.534 null] +>> endobj +4736 0 obj << +/D [4708 0 R /XYZ 65.161 315.575 null] +>> endobj +4737 0 obj << +/D [4708 0 R /XYZ 56.693 268.067 null] +>> endobj +4738 0 obj << +/D [4708 0 R /XYZ 65.161 268.75 null] +>> endobj +4739 0 obj << +/D [4708 0 R /XYZ 65.161 257.791 null] +>> endobj +462 0 obj << +/D [4708 0 R /XYZ 56.693 220.641 null] +>> endobj +4740 0 obj << +/D [4708 0 R /XYZ 56.693 193.088 null] +>> endobj +4741 0 obj << +/D [4708 0 R /XYZ 56.693 146.472 null] +>> endobj +4742 0 obj << +/D [4708 0 R /XYZ 65.161 146.761 null] +>> endobj +4743 0 obj << +/D [4708 0 R /XYZ 65.161 135.803 null] +>> endobj +4744 0 obj << +/D [4708 0 R /XYZ 65.161 124.844 null] +>> endobj +4745 0 obj << +/D [4708 0 R /XYZ 65.161 113.885 null] +>> endobj +4707 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4749 0 obj << +/Length 1496 +/Filter /FlateDecode +>> +stream +xÚíZ]s›8}÷¯àÑžY«ú@Bì>m§Ýv:íN7ñÃδ}ÀF¶i±€“æßï•»+‚ɶ¾EWGWçÞs`gã`çÕäùbòìŽù‚ +g±vEÂs$aˆyÎ"t>L/T¬‚BÍæ”ã韺TEÕ\ë¼j”ÛúÇzõ\ë«êŸ¿/ßÎ>-ÞÀ4sBÏyeí²¼U±Uª,ÌÏ0;q$Ì.˜™Ý…é=—9sŽ|¯žŸ` =9}V]ˆðÍ“—‹É?ö±C.ð™ãù LU2ùð ;!üëKçf?2q8Áˆ2íعœü5Áµ+pÇ%Ôa÷÷>iŒ»>"XÔ¨â{Í}·9ÁO_/Þ½}­â¬^]Û·à +ê"&j‹ÆokÇzFùô&J7U×j¤›ÆÓÛ`FñôzFø´¾c©TZµ’ ¬ûJ}¿û¹òýÜDºÈó̲÷soË$ÞGÉ1b„4Wº±_DéJì8AC¸jçOP×+sÊ8ÂÒƒì)f•Õ”v½·G»çk0Hä +Ù@x7Tüs\&ð—Ìæ}™Dåö×ÙœPø§YÏ|¥“D§èKWöyf +syÕ¥ PxÔR"éqCÓϱ E¾ô\9ë6G:ÖŽ÷>œÀóOD3Ae˜˜ÑCísD9´Ï1l +8Ïf†vüäSÿ `÷óS5.ê€êìn\D±[mòïa¨Â%Z‚3DÜÄê ø¦óºãáMÓ,( +;Ói¨" V}¬ee™‰\;ô»,Óyi7bÚnÜVÙ lÇ}{}¿ØF‹á ÷Æ#s×þ@2ÛƒÌÈŠ[‹œZÅQV¨N>µ7AjŸƒëàÁ&ž&\WqÛ€õ®3X¯’#O\O«­ "Ä»S[qTm_®Œ4ÞyûÛÜ%@º€±óé-5UŠ_ë-IoëåôÐY”RŠñt–sX0/5Ø–š†ƒµOMœûˆþSg¿#åZ÷üdîÚHæÁ`{Ù•ˆrñcê,wá¤ìùOª³ƒc©¼ÓYï¨Î¾ Œ^Y ¾ýÓm{ãžòt;–Ú6ëé!·.Ĥô½ñäÖeP²ñ2Ôýaj8Xû å2Q*~Êíw$·.¥íÄ{~2wí$ó`°=ÈL¢Âû1åÖ%  O«¶L2D˜§¶ò¨Ú^è]šøûŠÌòÿ_fó¯À„õRpãÙt*# k~üSäËR]«J[ŸqÜHë2Ö««‚†Ë+#®¿UZaÖY¾¤©Î“ Žz}™ X,ÇÓbfÞ°¸ã¥¯ûÃÒ×p°öé‹Žhó"ëwqÃÞY&¤{œWÖ€~úÆnèjW”:‰Š ŒtúXuc·òÜùÙÑ1?C¡öàvõdÿ:­O¥c^’Úq'X‚œ—g«{Ó²†úaLžT© ¨yRêèUÇ÷31”IñmËcv +#“ˆqqÆ'¾¦¦ ´ñB/0º:x–Ám©ÓF³\¯T¸Ë‚V£"U /‰­ôQÏÄOúˆ4~-·uÍËmƒ¡Úç6â3DÝ:·Ým¡]Ö¸ ,ÓP”nU•ÖGÄ+¥²ÐRo„eþ\ç:±NÉOœŽÑËÏjUö¸á>Rz•–»²g’&žßNÒçç×þÀ ¶GHº?€ì# °ÔË~j[ÁNµe¹*Û*ĶX*Ûà̬Þô‰Ëå­¥3Õ:ØÅåcòÄ:Z±rp´5µ +á ̾|„ܾš“èûস×Ú2*c…Ö:-Ñ:H¢øÖm}ú\é$Ó©‚Ÿâ`©b¥B¼ A‹¡ÊhúîGï«I´†úC¡e]©ð¤ˆC³ô¢0|×"UËÒù®)@F|µ Õ \Ç{µ{``– ¶G–cˆÅ›57æ|ÛCK{ñÎû<;ÖùæÑl>_c|jòàcQ#,üÇ|+ú/ù‡†Z +endstream +endobj +4748 0 obj << +/Type /Page +/Contents 4749 0 R +/Resources 4747 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4746 0 R +>> endobj +4750 0 obj << +/D [4748 0 R /XYZ -11.232 900.716 null] +>> endobj +466 0 obj << +/D [4748 0 R /XYZ 56.693 759.068 null] +>> endobj +4751 0 obj << +/D [4748 0 R /XYZ 56.693 738.489 null] +>> endobj +4752 0 obj << +/D [4748 0 R /XYZ 56.693 691.479 null] +>> endobj +4753 0 obj << +/D [4748 0 R /XYZ 65.161 692.163 null] +>> endobj +4754 0 obj << +/D [4748 0 R /XYZ 65.161 681.204 null] +>> endobj +470 0 obj << +/D [4748 0 R /XYZ 56.693 644.053 null] +>> endobj +4755 0 obj << +/D [4748 0 R /XYZ 56.693 616.5 null] +>> endobj +4756 0 obj << +/D [4748 0 R /XYZ 56.693 569.49 null] +>> endobj +4757 0 obj << +/D [4748 0 R /XYZ 65.161 570.174 null] +>> endobj +4758 0 obj << +/D [4748 0 R /XYZ 65.161 559.215 null] +>> endobj +474 0 obj << +/D [4748 0 R /XYZ 56.693 522.064 null] +>> endobj +4759 0 obj << +/D [4748 0 R /XYZ 56.693 494.511 null] +>> endobj +4760 0 obj << +/D [4748 0 R /XYZ 56.693 447.501 null] +>> endobj +4761 0 obj << +/D [4748 0 R /XYZ 65.161 448.185 null] +>> endobj +4762 0 obj << +/D [4748 0 R /XYZ 65.161 437.226 null] +>> endobj +478 0 obj << +/D [4748 0 R /XYZ 56.693 400.075 null] +>> endobj +4763 0 obj << +/D [4748 0 R /XYZ 56.693 372.522 null] +>> endobj +4764 0 obj << +/D [4748 0 R /XYZ 56.693 325.512 null] +>> endobj +4765 0 obj << +/D [4748 0 R /XYZ 65.161 326.196 null] +>> endobj +4766 0 obj << +/D [4748 0 R /XYZ 65.161 315.237 null] +>> endobj +482 0 obj << +/D [4748 0 R /XYZ 56.693 278.086 null] +>> endobj +4767 0 obj << +/D [4748 0 R /XYZ 56.693 250.533 null] +>> endobj +4768 0 obj << +/D [4748 0 R /XYZ 56.693 203.523 null] +>> endobj +4769 0 obj << +/D [4748 0 R /XYZ 65.161 204.207 null] +>> endobj +4770 0 obj << +/D [4748 0 R /XYZ 65.161 193.248 null] +>> endobj +4771 0 obj << +/D [4748 0 R /XYZ 56.693 145.74 null] +>> endobj +4772 0 obj << +/D [4748 0 R /XYZ 65.161 146.423 null] +>> endobj +4747 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4776 0 obj << +/Length 2673 +/Filter /FlateDecode +>> +stream +xÚ½Z[sÛ¶~÷¯àô¡#ÍDÞsž7Í¥I“+ÓÓ“tÎÀ,±¦•¤â8¿þìàÕ´MÙq^,v{ý4uÖu^=[=þÕ§NLâ€ÎòÌ 8 B'b.qCg¹r>Í>ÈLŠRÎܧ³ßU%Kóx¦ +óPmìË_TòL©s3øÏÉ›ù_Ë×ÀfÁ‰}ßP;©.3Yn¤¬J| Ü™÷ÀEî°=×Yø$-Fc F³Çæ‡1îo¼³Ì¹ˆø>«]¨bU¦ßäMNµ`O¼ êëîÏ9Ã|½·ù¦Îa­+hׯU08þ)¸ŽÍuL4Zÿ‚D¶¯ë£:¤•^ÀsŠÅÙ»F;t ÷ŠrzÄX@¢0ÓÍ´ªªHM‡Êr³§¸*"öSű)ÙMZÓ¿[‘/vb-»9ùn¡aýË‘ViF­_›qk3|¹ß!x©—‚É2 ‚”v¢oʨ.¾cK[Œ ß²¯/w"‘µ$EºÛ5´0Éý½/­XÂÒ±†o‚×ØËåÛ7ˆÝl=Ň_ßÁ¯w×®ÈJežV +s(™/|@!Oaj²ð‰à°ÆÊœGguTöÝΈEµ lå*êôo™T#Þ`Qj\ôç1Çc„¹M¡Ks`/o¦cÉivØó þž‹d3Â*^52¤[±^h¥.<8 Âø®ßHÀHb„)d¢(nÌ£±úKBκÁ¨®!åWµ¤.÷f£ªf!a´ ¶/éJ^GìêÓ†;(,/@™ÆPÄ*€sˆÁF˜„z©`²9yаÁ2ŽŒÑÆ4òûѤ[ôb(7á‰ÂW€}í©ð#ÄœHÊ¡å³fu#°g<È¥Ú‰ü W35”ÏthÀ„ö{i'µ²`r»wÒ3:AãT 1l¦4d—–^i&A çeËb$v ÆQ§NØŒ˜Ô%aÜ(ïñ56a ²1¥BVgn|  ž)U¡"Çœ6 Ôkó~abtÅ;Yg-ŒÖmáþì©ÑØ&pÁQõ´I@îuÚ1cÞ8’ȉØWU”¤”*™‹S´àˆ¼˜ÐJw°ï‡ZÔ¥Ÿ¨Ýe‘®7Õ~LÂè*X/í™tþå3CÀÌu‘(%&  Û’/º[¶hùb#A=E¯*Žtà µXËÚÁJŽ–úÚÖ$ħ—/ß}8³9% ¼ ¸¡9úñ»÷~xõâårÌŸ)T醚Õêm˜qøA3¼³dhšöbÀî‘ãx2nº¸ÚìMŸ Ìl%^0¤åÖ ÍÍ gV×ͺòý×EC@Ã=˜OÔÊÒ.s(ýºBãc“Âs‹K€A—À«ã!µ,-‘¹}…PdР¡~¬F1¯¢68moþþå{¶lö¨½‹ùl9½Ù°{W舥“»+Ãó¯;Y¤ºýÉÆPz@õå˜õh•NI-¾–ÙÂ\`Ì“'ŸnD… ×'4ã70 ©ús£i‰ñvE¾¾ÃÓ€„4š.ß0YñÚž5Ëëkd·/vª´ÿA¬‹MŠ¥H;‹5³ÆÊè…º%i†·vt§—Ös.óÄêoixexT™„•‰ÓêÎZ.våFUmc~joN¶R䃮¥@î£>ÂA‹$ô㾓¸.‰·¾¸$lôêòØÅX©ºæÆÒ#nÐkÆ/“n籱рÙÖ¶iRæu7²’ýþ¤ÛŽu yP³FAG…ô@B·I¿6Žõõ¦¹ èv„ @%¡½[×¾6áÀ<&Œõ¯5?sî”ÞsâH7µV‚·à\BfhÍjkj6zðÉ’Å“ù‚qjïçäãì ùºÍþe¼çò,Íl ^ƒ¼ðçEÿÖ ¹Ã#æâ­7Îû4$¡A@THç¬{ÍÝ£6>{•AÜ÷j†0ÃÕ÷¥ï¨w@ð6`§h‡î'€Raü„Õ‹µc>Øo=37‚òì-þSõº¾q•¸¾iž´¸wI>iGë;MŒ›Æê†-xS5‰ø‹´¨ÊiKÿ›B·Et( ™êØ!‚hÿ>Ž}ÍïÕ_ö#LùìÁþ ƒr#1 ê ‡á Æ¿mþ—äæSïâívü€q¡Ü‡ ëù{Fõ}E= ¨]h˜™ýúø¬P{@šÓüðÀ¤uæ+Ãíë4è™´RÃÏI+e~M4Žl˜5¾zÕtbf‚Þm;1yؙƺ’Ûrú™ôž§󨼘¶¯±O˜´x+Šó©…Â^NPl(1»Z#ɶˆs<öC³-uõ ÂáÙöuZœ “iT>HµIy@že1Hx—gY¿Ô°D; ¿L{a§§ZùÄ݃ñÓ65ß5 A„Þî!vá ¿œò;„Äu*ñªF£J\V*D…T‡D…‚á{¸ èÓ¿gPÜ[Ø‚ˆÄíßé]‚üÎU¥ùß—»Ö†X*æ?4€hLÜ0zÚßã˜x̸Š"ýµî¡â§Oþ~ásoQ§GO rzž1èÇÝt}@,òS•M¬TËR¬…ÈÏ7ûý]c(2ÿ(ñýCèÊ¿OzpP|—ÿžü?Y#â +endstream +endobj +4775 0 obj << +/Type /Page +/Contents 4776 0 R +/Resources 4774 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4746 0 R +/Annots [ 4773 0 R ] +>> endobj +4773 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [359.467 600.817 460.541 611.721] +/Subtype/Link/A<> +>> endobj +4777 0 obj << +/D [4775 0 R /XYZ -16.307 900.716 null] +>> endobj +486 0 obj << +/D [4775 0 R /XYZ 56.693 759.068 null] +>> endobj +4778 0 obj << +/D [4775 0 R /XYZ 56.693 731.272 null] +>> endobj +490 0 obj << +/D [4775 0 R /XYZ 56.693 364.712 null] +>> endobj +4780 0 obj << +/D [4775 0 R /XYZ 56.693 336.327 null] +>> endobj +4781 0 obj << +/D [4775 0 R /XYZ 56.693 289.712 null] +>> endobj +4782 0 obj << +/D [4775 0 R /XYZ 65.161 290.001 null] +>> endobj +4783 0 obj << +/D [4775 0 R /XYZ 56.693 242.493 null] +>> endobj +4784 0 obj << +/D [4775 0 R /XYZ 65.161 243.176 null] +>> endobj +4785 0 obj << +/D [4775 0 R /XYZ 56.693 196.341 null] +>> endobj +4786 0 obj << +/D [4775 0 R /XYZ 65.161 196.352 null] +>> endobj +4787 0 obj << +/D [4775 0 R /XYZ 56.693 148.844 null] +>> endobj +4788 0 obj << +/D [4775 0 R /XYZ 65.161 149.528 null] +>> endobj +4789 0 obj << +/D [4775 0 R /XYZ 56.693 102.02 null] +>> endobj +4790 0 obj << +/D [4775 0 R /XYZ 65.161 102.703 null] +>> endobj +4774 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F57 861 0 R /F102 2555 0 R /F93 1063 0 R /F105 4779 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4793 0 obj << +/Length 2459 +/Filter /FlateDecode +>> +stream +xÚÅ\msÛ6þî_Áé'û¦FÉöæfÒæ’»4¹™&îLg’Î DAŠdI*Žûëoù¢Æ¤,{a¾/–L‚‹°ÏƒÝÅR4X4xuöÃÕÙ³—’ IWÁÕ*Pœ¨(ˆYHÂ(¸ZÎß™ÜèÆ\\rIÏÿS¶¦¾®ÊzøÒnÆ›/Êô‡²ü4üóëû7¿]½†n.#‰”ƒ´÷íMnš1mÓ݆ÞYCï*ìzÐ}$ÂàR’$ûgŒ‚Ä(>6|0•tOžýóêì3òiÀ©ˆJ JQ”éöìÃo4XÂ=Ѐˆ$®û–Û@2Jx¨à{¼?ûùŒŽSANÉ^¶H£jPê#ç²×bÿس—Фˆèž‰‰P1Üè¿ÎêOúâRQzþSÙ˜Oß]\2ÿäeªsóÌäË6ÿ~h0^K›îÚÐL^×I÷ñj:j˜-qÐŒ'ݨ»ë’F0‰*à$‹µ V·‡9‘v÷ÕÃ8 =ÜËä²®±«xI˜b3ñ’2Áäa:¸mŠ$RAÆ2ûÚ(":¶¹Ä‹á“ùôT¾#¢•E@:–À  +؃rûÙ4:Ýà2×Åz§×Ss ½0o1w!ð#ŸGw3•Âö#µÚÍÞféF›ü#•´ÝÂ_6l\ï·Y»™ílMýß7º½c{kj‹íMÁâ0Áýmo*‚¹ˆ…78Ìä»ÁÁ]Yü§¢Ž^Ø°î?–[Xb< oè-±.·¸–o³¼œÃì#ùxíÈS?•[=åÚðF~ ¸ rO±œî}Ö[—Ó£²ÏÍçl*øC²d"”+a%tØBKÜt¼7õ"Ãîw«lî£Xp”Šap÷)9JÒ¾k{ŽzW.LÝŽÄÔ꛶,fÔô»¶a c—Ò#…0ÒDùc ©|GrVÖ‚Bð€íúU}™}AsOÕ¤—!Ñ“–Ek¾ ]»/µYÍ‘vyœGŠÝv1Ó÷þt±´hÝfm>óu¶yN£'Å;U°µI/xÏZ ¼Ë$ë‹ýá]Æ +&7ñ†÷™|7¼»+‹Ç»Œ"’1ÉòïmU—Ÿ±ÇgS7YYœÚáè`_g‹][ÖÝ:eþ¤Þ½ìzN¢Çx÷zWgퟔ^]4PÚ}²’ Ó‘$8Ì­¿Pv&ßIÎÊZ IH"éà=¯ª<éÒí,ðo@¼È)Ø2véÄð0ôf÷¼›ºH&炨h5„ÏÇÁ( ¤ e¦˜Á|t\í3Û«2‡°ƒËóë.×_ÚÇ7ý?}Á.˜<ŸXS ߶z9^§þ¯„ùÉ oõ A‰"µbzLÇ0&¡¼Õl/½ÉŠÔÌ2ò`¬œÐá{=äñÉtF.9 ˜…¼8UÊWB@/LÞ/ –7D—m"Ä!`ùWf:9qÌ仇»²xâìÈý9ǽ•#‰Ú.st²º\áÚ'ÝåTSd²VïÚÒÂ5î ­s³Ã¦ÛnÆ÷0B:]úó!gò ØUÙãæ +Ѩ{W8èøZ_o Ò=Ìk§«Êè™äÂĸ=`\ÓmUèã†Ü|6ùAî¬ãë{SQYsâS½Z™G\܉M”èâföâ[B{çô"C5úé;Æ„’€ÉÜjx˜º{˜2$ï }½¡d*ß%ÎÊZ DJ¸4¦Ž$Uï)ËéW÷9¶ü¤9ñ«þU].ô"¿9uÊ»Ä#¶ÊuŠEÂ5~ +šl›å³÷P–.º*n†>ïh箪Z˜¹„Ò1dçâÏÃŒ@AÜ&'¢®Óe <ì[ú r³ñÒÂ.Sÿ¤ï11}ÐäÄï1U™EÎÑTñX–€ÀÐ_yØT¼¾UµÀ7(Jù˜yz[.³Uv`¹ýÚþý8ØþZ䯶þEu8\ûÇ¥ÑÈ0q©[Óf[cSLÛýöOëp +.ëO–[U¬Hù«›Šw3egUñ¦ ž1Ucå‘®ËÖ¹úUçè_2Ú­ËêqH¢ØG)ÖÁ³u¿R¦’Çü6ÛÿÎv¿Ô +endstream +endobj +4792 0 obj << +/Type /Page +/Contents 4793 0 R +/Resources 4791 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4746 0 R +>> endobj +4794 0 obj << +/D [4792 0 R /XYZ -11.232 900.716 null] +>> endobj +4795 0 obj << +/D [4792 0 R /XYZ 56.693 743.088 null] +>> endobj +4796 0 obj << +/D [4792 0 R /XYZ 65.161 743.376 null] +>> endobj +4797 0 obj << +/D [4792 0 R /XYZ 56.693 687.948 null] +>> endobj +4798 0 obj << +/D [4792 0 R /XYZ 65.161 688.43 null] +>> endobj +4799 0 obj << +/D [4792 0 R /XYZ 56.693 643.759 null] +>> endobj +4800 0 obj << +/D [4792 0 R /XYZ 65.161 644.443 null] +>> endobj +4801 0 obj << +/D [4792 0 R /XYZ 56.693 599.772 null] +>> endobj +4802 0 obj << +/D [4792 0 R /XYZ 65.161 600.455 null] +>> endobj +4803 0 obj << +/D [4792 0 R /XYZ 56.693 556.457 null] +>> endobj +4804 0 obj << +/D [4792 0 R /XYZ 65.161 556.468 null] +>> endobj +494 0 obj << +/D [4792 0 R /XYZ 56.693 520.67 null] +>> endobj +4805 0 obj << +/D [4792 0 R /XYZ 56.693 494.062 null] +>> endobj +4806 0 obj << +/D [4792 0 R /XYZ 56.693 452.176 null] +>> endobj +4807 0 obj << +/D [4792 0 R /XYZ 65.161 452.465 null] +>> endobj +4808 0 obj << +/D [4792 0 R /XYZ 65.161 441.506 null] +>> endobj +4809 0 obj << +/D [4792 0 R /XYZ 65.161 430.547 null] +>> endobj +4810 0 obj << +/D [4792 0 R /XYZ 56.693 386.27 null] +>> endobj +4811 0 obj << +/D [4792 0 R /XYZ 65.161 386.559 null] +>> endobj +4812 0 obj << +/D [4792 0 R /XYZ 65.161 375.601 null] +>> endobj +4813 0 obj << +/D [4792 0 R /XYZ 56.693 330.93 null] +>> endobj +4814 0 obj << +/D [4792 0 R /XYZ 65.161 331.613 null] +>> endobj +4815 0 obj << +/D [4792 0 R /XYZ 65.161 320.654 null] +>> endobj +4816 0 obj << +/D [4792 0 R /XYZ 65.161 309.695 null] +>> endobj +4817 0 obj << +/D [4792 0 R /XYZ 65.161 298.736 null] +>> endobj +4818 0 obj << +/D [4792 0 R /XYZ 56.693 254.066 null] +>> endobj +4819 0 obj << +/D [4792 0 R /XYZ 65.161 254.749 null] +>> endobj +4820 0 obj << +/D [4792 0 R /XYZ 56.693 210.473 null] +>> endobj +4821 0 obj << +/D [4792 0 R /XYZ 65.161 210.762 null] +>> endobj +4822 0 obj << +/D [4792 0 R /XYZ 65.161 199.803 null] +>> endobj +4823 0 obj << +/D [4792 0 R /XYZ 65.161 188.844 null] +>> endobj +4824 0 obj << +/D [4792 0 R /XYZ 65.161 177.885 null] +>> endobj +4825 0 obj << +/D [4792 0 R /XYZ 65.161 166.926 null] +>> endobj +4826 0 obj << +/D [4792 0 R /XYZ 65.161 155.967 null] +>> endobj +4827 0 obj << +/D [4792 0 R /XYZ 56.693 111.296 null] +>> endobj +4828 0 obj << +/D [4792 0 R /XYZ 65.161 111.98 null] +>> endobj +4829 0 obj << +/D [4792 0 R /XYZ 65.161 101.021 null] +>> endobj +4791 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4832 0 obj << +/Length 1867 +/Filter /FlateDecode +>> +stream +xÚÝ[MÛ6½ï¯PÛ‹è2ü¦Ø¢‡~£AÛ´É(ä Ë´-¬,:’œÝô×wdÉ»±gISrŠž,ËÔpD¾÷fÈ¡q´ˆpôóÅw×O~8ÒHK*£ëy$)’*Š CLE׳èåä¹ÉMR™Ë+*ðäw[›ª½œÛ²½¨—Ý?Øô;koÚ/¿øõòõõSè护…h­½¨ßå¦ZSWÍÏÐ;‰bè]²¦wÝ+΢+´êú'„€EOž´DêæÉ‹¯/Þ\°# ‰¤f‘ÒIL£tuñò5Žfðx€¸Ž£ÛmËU$F”I¸Î£^àn(ðÞК)¡·c²3Î5"Xv^qĶnìž‹^^Œñä§gÝ{½?ª0ÝÃ×»›Û<·—TLn³bÑÞJ—I±Øñ2¹¤xòö’ˆI÷ÄÔ˜¢½Z%³î^m&bÛ78ûÐ7‰9Rªyámßsûÿàm8»&©ÝY®²"5½Y&HQ„Ûë²ÅÚ‰+¢5¢”ÀKÃØYÆ3ˆtJß3ÞÌ€~´u“}85l`3¬ˆ$¥Iúl|r\šæ•©Oæ/ň06Îöíâ,ØYœQ†8maöGRÖn“gÁ0Ïîât³è'ŒÍí/ˆTBÖjÞ+,ðq(ËÇÝ/í ¤ž=ƒ¿ÄÉD!Âù9#‘Ð’ýSQy¸É›é¨WÍKv©è*«—»€”yV$ §R“„‚eŽGÓŠžý0­wÖ]+„’h»˜5&­’:]¬kÈmáÖc+X «sÇvÕýÂþÔH'FŒè³êWˆc1ì5Ϫºò‘Np6¢,P‰xÌÇ“…}û²쬇,P”¢Þ²PmÖkëšq8S½Z'i³ Ô£Ï7ŸOš½$=`Üñ'¶eŽzò6)³dš›Ðý.¾üx [§eEG–æ`Èï3(ÌåØYgšÄQ‹³ê ÆHÄdX©›¹ñЮ1’$Og¸ÒH +=šÎôì‡éL¸³î:Ãc0Ï»ýìí´9ÿÅm63‡‚@!xµ´›ÜQË’¼rŒð›*ÈílŸ­K ‚QgÆq»/©ë2›n7Å®>¶EwrbÂ!{”ŠœS0¸`H 5ðš÷ŠÒ¤4Q2E1ãIƾý@ÉvÖC2˜Dd·tý-¹q¤^šÕIÙ‘HÅfáÅ5íÉ7¦Ù4Ïì¢LÖËw*ðAg:“Ÿ}ÓÚ9ÈsHíb.ÏÊY 0atØ ¿­„ »[3ýúò¡4‚î—yÓà•ÔãQ˜ÅaBF£pÏ~…Ãu§0‹5¢:ö,}æÖ1Ê–vžåýÃ`%5çeK²™e¤p‡[[Ϊ쟓ë^,fSzN`#‚ãÿšðŠX cL#WûîÙ€`g=€SÄ÷Þ^H“<·›Ú#tf©-|ÊÕ}^=®'Ó°ÉcôYËÏŒ0DãO<¤Î =ËÑ 3Ä(…TSÄäxõèžý0†;ëÎBª’\{†áq¶øîD7ŽÒ1NÛ“줢0ÅÎÉN +àBËÎdSÛÚ¦ïÑ38lRð—k9"a¹@‚©ñ»o?°ÁÎz–Ç(¦â?AØ7¯&>Ø' b?M­îúÙ÷'+ä4‚ŸµHG‰F’‰OŠ”bpDÑñ$è)2ÞYŸžý0IwÖC0Ewõ“_V°ô}ë\ÂÿŸù ×2çýûÛ¬v<Æ0mŽûŸ¨$ò2EÏzºECWáfÙÛ¬Êlá¡#>c>â9 "Šãñ +q=û:쬻ŽŸJîþØ2OÒÚ–ƒ+É4[œHŸ$!+\3†j•ä¹k­~™´W¢óá;‡GŒm{æ!êª"9G”t…¾¿ªS±ØÝþÈQ‘!ÂÛãGKFŒsýS+ŽBPã&zö!ì¬æCTÄ»?{u‰°8îCÝP —j K7S ¬ÃÎë«­°¬k°<Ád¼·žý@˜;ë3JóÞüEHÍÒæ3ר´S‘¡ëZóÒz‘"…5I9plš¤7A.xáX"LϺ¨"XŸ«^Ö}¯Lº=!ú*ö¡?C"€Ûâ¹ïÿ‰ÿrÂ"= +endstream +endobj +4831 0 obj << +/Type /Page +/Contents 4832 0 R +/Resources 4830 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4746 0 R +>> endobj +4833 0 obj << +/D [4831 0 R /XYZ -16.307 900.716 null] +>> endobj +498 0 obj << +/D [4831 0 R /XYZ 56.693 759.068 null] +>> endobj +4834 0 obj << +/D [4831 0 R /XYZ 56.693 738.489 null] +>> endobj +4835 0 obj << +/D [4831 0 R /XYZ 56.693 691.479 null] +>> endobj +4836 0 obj << +/D [4831 0 R /XYZ 65.161 692.163 null] +>> endobj +4837 0 obj << +/D [4831 0 R /XYZ 56.693 645.897 null] +>> endobj +4838 0 obj << +/D [4831 0 R /XYZ 65.161 645.338 null] +>> endobj +4839 0 obj << +/D [4831 0 R /XYZ 65.161 634.379 null] +>> endobj +4840 0 obj << +/D [4831 0 R /XYZ 56.693 587.266 null] +>> endobj +4841 0 obj << +/D [4831 0 R /XYZ 65.161 587.555 null] +>> endobj +4842 0 obj << +/D [4831 0 R /XYZ 56.693 540.047 null] +>> endobj +4843 0 obj << +/D [4831 0 R /XYZ 65.161 540.73 null] +>> endobj +4844 0 obj << +/D [4831 0 R /XYZ 56.693 493.223 null] +>> endobj +4845 0 obj << +/D [4831 0 R /XYZ 65.161 493.906 null] +>> endobj +4846 0 obj << +/D [4831 0 R /XYZ 56.693 447.64 null] +>> endobj +4847 0 obj << +/D [4831 0 R /XYZ 65.161 447.082 null] +>> endobj +4848 0 obj << +/D [4831 0 R /XYZ 56.693 399.574 null] +>> endobj +4849 0 obj << +/D [4831 0 R /XYZ 65.161 400.257 null] +>> endobj +4850 0 obj << +/D [4831 0 R /XYZ 56.693 352.749 null] +>> endobj +4851 0 obj << +/D [4831 0 R /XYZ 65.161 353.433 null] +>> endobj +4852 0 obj << +/D [4831 0 R /XYZ 56.693 305.925 null] +>> endobj +4853 0 obj << +/D [4831 0 R /XYZ 65.161 306.608 null] +>> endobj +4854 0 obj << +/D [4831 0 R /XYZ 56.693 259.101 null] +>> endobj +4855 0 obj << +/D [4831 0 R /XYZ 65.161 259.784 null] +>> endobj +4856 0 obj << +/D [4831 0 R /XYZ 56.693 212.276 null] +>> endobj +4857 0 obj << +/D [4831 0 R /XYZ 65.161 212.96 null] +>> endobj +4858 0 obj << +/D [4831 0 R /XYZ 56.693 165.452 null] +>> endobj +4859 0 obj << +/D [4831 0 R /XYZ 65.161 166.135 null] +>> endobj +4860 0 obj << +/D [4831 0 R /XYZ 65.161 155.176 null] +>> endobj +4861 0 obj << +/D [4831 0 R /XYZ 65.161 144.217 null] +>> endobj +4862 0 obj << +/D [4831 0 R /XYZ 65.161 133.258 null] +>> endobj +4830 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4865 0 obj << +/Length 2123 +/Filter /FlateDecode +>> +stream +xÚÍ\Ms㸽ûW°æd„Á7Á¤R•l&»ÉdgSYûª™=@$1¦IYv~}š"5#Q+ ˆª¹Ø´6šÀ{¯ Ð8ZD8úé懇›·? +%(‘TFóHR$ãH†X=Ì¢·¿šÜèÚÜM¨À·¿ØÆÔÝåÜVÝE³ì¿|gÓ¬}ìþøÏýÏw¿=¼‡n&„ DˆÎÚ}ó’›ziLS·_Cï$Rлdmïº9‹&%qß?!,Æêöm÷‹È¤½óæo7ŸoØlj„D2aQœ$1ÒÕÍÇßp4ƒïÀÄm¶-W‘ Q&á:îoþ}ƒû¡Ààc{ÙþúiÏ2xDbų¡®zP– +¤ÀÑ.N”eþâ(šG9ñëŠ_Ù͈ñ¡1«2×¹lâß‚ÚÑ¢£`À(¸>‘µgk +5:%ã!ýÐ~ ÔƒõÀ:á(Á‰gNôhLé‘vl²féѼ0ÏÍeQû}1s³4…37WwΫ@Ç[=;›lX!]× àB uÙî®E NˆËuBr'ã•ëöÃT,ÜYwR!¬¼Ëu>Ùx[yvj83s½Î½V‹žê4oKz!å?. Áb㥈û vÖr"F„ö5»³g·ù˜®ƒ™Ø~L@:8—¯¯ÖÚDivO¶ÍuíˆëtiÒÇ SàÏ+[™£¼Î u)~Õ¢ 1JØ… ˆ•™›¢©^|‚?â˃­ELÆ+ì2:ØYFƒ]†ÉwD²b~´Öyûzãe3@€nè6€Àa*®Éb®"„œÁâwú)›u$þk3«‡?ëb¦kãSâç1xÁÕxæ#¢’Ñ8<°ÆápgÝ9Ì%C|·‰ÿA?W^ºµû¼6õ1%Â뫺¨7¦r´:5Kýdœ×qŽ2æœRn´c9L×ç–”¾M0H¾èUu…qD•î}2< ÐÝ2Éj+ìAlÃÓ$#nò0àŒ/ß?4Fë`WÝYÍd‚UÞ¬'߇†+g¹èÀÖ®-ÝÏ ¤©­fÎ=¸–Öÿqÿ/À»c­!kôѹÓ#ÝžÚ> endobj +4866 0 obj << +/D [4864 0 R /XYZ -11.232 900.716 null] +>> endobj +4867 0 obj << +/D [4864 0 R /XYZ 56.693 759.068 null] +>> endobj +4868 0 obj << +/D [4864 0 R /XYZ 65.161 752.393 null] +>> endobj +4869 0 obj << +/D [4864 0 R /XYZ 65.161 741.435 null] +>> endobj +4870 0 obj << +/D [4864 0 R /XYZ 56.693 693.927 null] +>> endobj +4871 0 obj << +/D [4864 0 R /XYZ 65.161 694.61 null] +>> endobj +4872 0 obj << +/D [4864 0 R /XYZ 65.161 683.651 null] +>> endobj +4873 0 obj << +/D [4864 0 R /XYZ 56.693 636.143 null] +>> endobj +4874 0 obj << +/D [4864 0 R /XYZ 65.161 636.827 null] +>> endobj +4875 0 obj << +/D [4864 0 R /XYZ 65.161 625.868 null] +>> endobj +4876 0 obj << +/D [4864 0 R /XYZ 56.693 578.36 null] +>> endobj +4877 0 obj << +/D [4864 0 R /XYZ 65.161 579.044 null] +>> endobj +4878 0 obj << +/D [4864 0 R /XYZ 65.161 568.085 null] +>> endobj +4879 0 obj << +/D [4864 0 R /XYZ 56.693 520.577 null] +>> endobj +4880 0 obj << +/D [4864 0 R /XYZ 65.161 521.26 null] +>> endobj +4881 0 obj << +/D [4864 0 R /XYZ 56.693 473.752 null] +>> endobj +4882 0 obj << +/D [4864 0 R /XYZ 65.161 474.436 null] +>> endobj +4883 0 obj << +/D [4864 0 R /XYZ 56.693 428.17 null] +>> endobj +4884 0 obj << +/D [4864 0 R /XYZ 65.161 427.611 null] +>> endobj +4885 0 obj << +/D [4864 0 R /XYZ 56.693 380.104 null] +>> endobj +4886 0 obj << +/D [4864 0 R /XYZ 65.161 380.787 null] +>> endobj +4887 0 obj << +/D [4864 0 R /XYZ 65.161 369.828 null] +>> endobj +4888 0 obj << +/D [4864 0 R /XYZ 65.161 347.91 null] +>> endobj +4889 0 obj << +/D [4864 0 R /XYZ 56.693 300.402 null] +>> endobj +4890 0 obj << +/D [4864 0 R /XYZ 65.161 301.086 null] +>> endobj +4891 0 obj << +/D [4864 0 R /XYZ 56.693 253.578 null] +>> endobj +4892 0 obj << +/D [4864 0 R /XYZ 65.161 254.261 null] +>> endobj +502 0 obj << +/D [4864 0 R /XYZ 56.693 217.111 null] +>> endobj +4893 0 obj << +/D [4864 0 R /XYZ 56.693 189.558 null] +>> endobj +4894 0 obj << +/D [4864 0 R /XYZ 56.693 142.548 null] +>> endobj +4895 0 obj << +/D [4864 0 R /XYZ 65.161 143.231 null] +>> endobj +4896 0 obj << +/D [4864 0 R /XYZ 65.161 132.273 null] +>> endobj +4863 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4899 0 obj << +/Length 2801 +/Filter /FlateDecode +>> +stream +xÚÝ]m“Û¶þ~¿‚“f¦öLÆ;À¤íL\§©3Iǵo&qò"¡cŠTIÊç˯/(QΉ:‰ “|’Ž.—Äóì.vŽn#}sõüæêÙ?ŽbK*£›y$)’*Ò„!¦¢›,zûäµ)LÒ˜§×Tà'ÿ®ZÓl¿Î«zû¥]ôÿ|Q¥Ï«êÝöÿ¾ùîéO7ßÚË\‚b!¶ÒÞ´÷…iÆ´M÷o{ui{uɺ«s{yÅYt-P¬úë¬D¥Ÿ<Û~wg^}}sõ¿+båãˆDB"³HÅIL£tyõö'eöVÄcÝmF.#A0¢LÚïEôæê?W¸ØêØ}í>¾y ÙjDÁ²“ÜXYEeDQ¬ã¨6Ñü¨(è˜F„«Ý¶‚I7ÚW¾@D’¡| RRƒ®ðð1KÓxe7ëÛhûåuE;…0ð {Å9AœõðùÇ")oM¶ÀqYÑÛk‰ñ;6+òò6ºšÃƵyk Ûq4°´¼Úiïõ/ý#§Ü%u9¼¹ñ³ÒdÝæUéxV¾\Uu›”í‘óöæx˜;tS…ˆÖáн/ßÝÞÊ: ›Yó¤äÝm¾‚Á%É–U™wÙ gä‹Ó3ùƒòH›u»Z·@µK sÿuóýw@Ž3à8“¯]•Å=ld>°ã, Q °`,Ø—ïÉoeX@b$Hïð7àÂ…õ“Ö|h‹df +à¬5P(q}\‰_L]ñUŸ‡®£þha\p|Ú®“J†´*Û$Ø#%°@4`Ô³'Þ“¾ª:ðk$„îùà— ûåioPYðÔwyã{!—rèÏ'ˆÂã|*7’@5,Š#¶n”;2戌<ù~ìñVö(Yd¬ˆã-Y~ÄGثڼϫu30jÓþÎÔÆÅ-xyE²Y®ÚûiAÆù{øq‚h†˜ á²/ß“ ÞÊÂý‹Ôu:ÆÜ%À€â€ãüOã, æ¼¬<¼0²V‰@ºÆˆÙ¹ñH4ù;îmºáiώʨB!Ãál_¾'μ•uÀÈr¶ÅÙ«¤n§ÍËÎó#q¶fW7‡ÿD¤¢«Jt8/æãê×Õ;sfu®ef'Q]ÔY8,ýLæ‹6^y•ÜšÎ!}ù´OX,WUiÊöÁ±,Ÿ76xxp¨1é&ÏêàÊDLW*œ+š AÂeÓòýLŒ¿²p#4G gWfm´¤æéû*^=[¯Š<{Ò<ªz·0À0øÖ”¦NKP'Ödƒ›;=8iÛ:Ÿ­[Óú¸Iº nØ ¼ ¨ #3Ó¤u¾:Üêß·4YžT³Ÿ 4üÉ˦MÊÔ¸î cvéŽãpùÍ|Oðz+ë^"Ûˆòš¦kL—?€¦ áûo]Ö{ó¼8º,ò® +®›pÝKÃàî&ËdyfÈ?Î TÂÂuä{òÂ[Y^`Ž8í71„O‡•I ³º€vd@·½|áøÀ #x ?ÐÁ»¼¢Ÿ%Í#œå"±ý — È÷㢿²p.Ò˜Ù¨ºÏ…ƒc ðtDB#¥´_Ã!¸Ÿrïœ ½—úÑÝ©yï! ôã,R1¢›Ùò=Yä­¬‹4µ+ç¾pvôdzËÞ_ÿCà´†JhÀFõ|Oh{+ëmEàjרnàТ0ÅÔ0«M +®¥›£:x§pç~ùbêµan“¢«§Î’Pˆ…cÁCéžðTÔ#¡õnÿh’Ä-3vÙ´~g¸/Á“)¶³û)ß& +ƒ!w_¾'v½•u@/‘¤}à {<æ…[Æ®¬´¶y …Qmæy¹)þO̸€.§ µ™²mB1È÷å{‚Ü[Y3ݽ wƒñó ÇkJ]¬£ˆÅ}cµœc~‰ÎHèCÀöŸ˜‡«¦mŸWÈ÷£‰¿²pš˜! AçÆÇ®‹¥‚¾br ¯p4ûo¬ž0šYÕÕÊÀÇÚø°9ûmÆ£"ÊάWXÈ÷Ä··²øÖÑÝÛ‘ªúžçè¡.%/²i{Þ’u» ÕÁñ%P_tû5a¬.ÒÚ} +œ#{ë=cHðp Ò|Ofz+ëÀL&‘fÒµãó3Þvq,þ9+‡Æ€Ÿú¥ÄéåqØSŠ„—ÛÈ÷D¥·²¨¤éÝŒ>ÿc´%y-tãþï­"ï¼à»\E~œš„ nA¿/Þ“˜¾ª:ð’pý±©µ„7°Á; +BÉß–à`~¸ªévÂó²í¯ÇGïbvˆ¹¿všvn%º³—q㘷ë©ÂíhÈ÷D½·²°Çl#w»|qìÖ›¼ð +-9Ÿˆ·FüÀÏkèk À¥´ºòïöjüFJ꣄Ñ1R$\ic_¼]¼U…³%îkƒ›ã××#í²Í´½ìY5õ«ÝšÞ7MUNÛ9€D#%ÂKûâ=€ÄWU84E˜“]¬”´S¿eØàuRbÿÅ$ÞI§ƒ_äaŸó#‚ÿn‘ö +endstream +endobj +4898 0 obj << +/Type /Page +/Contents 4899 0 R +/Resources 4897 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +4900 0 obj << +/D [4898 0 R /XYZ -16.307 900.716 null] +>> endobj +4901 0 obj << +/D [4898 0 R /XYZ 56.693 759.068 null] +>> endobj +4902 0 obj << +/D [4898 0 R /XYZ 65.161 752.393 null] +>> endobj +4903 0 obj << +/D [4898 0 R /XYZ 65.161 741.435 null] +>> endobj +4904 0 obj << +/D [4898 0 R /XYZ 65.161 730.476 null] +>> endobj +4905 0 obj << +/D [4898 0 R /XYZ 65.161 719.517 null] +>> endobj +4906 0 obj << +/D [4898 0 R /XYZ 65.161 708.558 null] +>> endobj +4907 0 obj << +/D [4898 0 R /XYZ 65.161 697.599 null] +>> endobj +4908 0 obj << +/D [4898 0 R /XYZ 56.693 652.719 null] +>> endobj +4909 0 obj << +/D [4898 0 R /XYZ 65.161 652.161 null] +>> endobj +4910 0 obj << +/D [4898 0 R /XYZ 65.161 641.202 null] +>> endobj +4911 0 obj << +/D [4898 0 R /XYZ 56.693 595.081 null] +>> endobj +4912 0 obj << +/D [4898 0 R /XYZ 65.161 595.764 null] +>> endobj +4913 0 obj << +/D [4898 0 R /XYZ 65.161 584.805 null] +>> endobj +4914 0 obj << +/D [4898 0 R /XYZ 56.693 538.684 null] +>> endobj +4915 0 obj << +/D [4898 0 R /XYZ 65.161 539.367 null] +>> endobj +4916 0 obj << +/D [4898 0 R /XYZ 65.161 528.409 null] +>> endobj +4917 0 obj << +/D [4898 0 R /XYZ 56.693 482.287 null] +>> endobj +4918 0 obj << +/D [4898 0 R /XYZ 65.161 482.971 null] +>> endobj +4919 0 obj << +/D [4898 0 R /XYZ 65.161 472.012 null] +>> endobj +4920 0 obj << +/D [4898 0 R /XYZ 56.693 425.891 null] +>> endobj +4921 0 obj << +/D [4898 0 R /XYZ 65.161 426.574 null] +>> endobj +4922 0 obj << +/D [4898 0 R /XYZ 65.161 415.615 null] +>> endobj +4923 0 obj << +/D [4898 0 R /XYZ 65.161 404.656 null] +>> endobj +4924 0 obj << +/D [4898 0 R /XYZ 65.161 393.697 null] +>> endobj +4925 0 obj << +/D [4898 0 R /XYZ 65.161 382.738 null] +>> endobj +4926 0 obj << +/D [4898 0 R /XYZ 56.693 336.617 null] +>> endobj +4927 0 obj << +/D [4898 0 R /XYZ 65.161 337.3 null] +>> endobj +4928 0 obj << +/D [4898 0 R /XYZ 65.161 326.342 null] +>> endobj +4929 0 obj << +/D [4898 0 R /XYZ 65.161 315.383 null] +>> endobj +4930 0 obj << +/D [4898 0 R /XYZ 65.161 304.424 null] +>> endobj +4931 0 obj << +/D [4898 0 R /XYZ 65.161 293.465 null] +>> endobj +4932 0 obj << +/D [4898 0 R /XYZ 65.161 282.506 null] +>> endobj +4933 0 obj << +/D [4898 0 R /XYZ 65.161 271.547 null] +>> endobj +4934 0 obj << +/D [4898 0 R /XYZ 65.161 260.588 null] +>> endobj +4935 0 obj << +/D [4898 0 R /XYZ 65.161 249.629 null] +>> endobj +4936 0 obj << +/D [4898 0 R /XYZ 56.693 203.508 null] +>> endobj +4937 0 obj << +/D [4898 0 R /XYZ 65.161 204.191 null] +>> endobj +4938 0 obj << +/D [4898 0 R /XYZ 65.161 193.232 null] +>> endobj +4939 0 obj << +/D [4898 0 R /XYZ 56.693 147.506 null] +>> endobj +4940 0 obj << +/D [4898 0 R /XYZ 65.161 147.795 null] +>> endobj +4941 0 obj << +/D [4898 0 R /XYZ 65.161 136.836 null] +>> endobj +4942 0 obj << +/D [4898 0 R /XYZ 65.161 125.877 null] +>> endobj +4943 0 obj << +/D [4898 0 R /XYZ 65.161 114.918 null] +>> endobj +4944 0 obj << +/D [4898 0 R /XYZ 65.161 103.959 null] +>> endobj +4945 0 obj << +/D [4898 0 R /XYZ 65.161 93 null] +>> endobj +4897 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4949 0 obj << +/Length 2232 +/Filter /FlateDecode +>> +stream +xÚí\Ksã6¾ûWps‰§*Æ ‚ÙGÕfgó˜ìfkm¶j&H„l–ùДóëÓ©±HYvS •”kO’H¨Ñúûºh’zWõ~8ùîòäí÷’z! WÞåÂSœ¨ÀÓÌ'~à]FÞ‡Ós›XSÚ7g\ÒÓ_òÊ–Í×E^4_ªëöæ»|þ]žß4?þwñ¯7¿^¾‡nÎ#¡”´‹ê!±åµµUY߆ޙ§¡wå×½ è>¾w&I´ý3&@b Oß6L…õ?Oþyyòé„|ê1O*¢Bß BFåÞ<=ùð+õ"¸jïnÝ2õ$£„û +¾'ÞÅÉOh;ýÏÝ©Ùô!B¨j”ûȹ\k³ùÛÛï¡Éz@¢þ&Bi¸±nüÎÜÆÑ›3Eéé? +“ÚâÛ7gŒÃ¯ûÂ.È}™4’`²jaõÇÝQÂì°€{¢e}]Ò&Myœ„:ô +ë-¶‡Õ‘öôÕݸ&œ©M`V·v•/ S¬/_RF˜&LÛK®HÈÔ] ,®¼æËy»öuÜ(î3"©ß,ç&‹ÛYý]QÞ‡õz›¤Â5¬ì=²ežáÚÕÆU";ÏqíÊÊ.‘"ï®-RÏšFнãZF¹-»½Ã²}Ý^ØýÏ)ræ¯Í-vÙ‘C«ž!2Ë\Î6L”ƒ{cR`—U9€Uȉr ÒŒ-'ãÀž|7tWÏJ -þ=ŠlÔ³Üõêþe?Ê–}KÿÛÞ¶kQ¤6CbÓù*‹°\[¤¸–1’ÃnM›Ybkk›!ÞJMUYäà –ók}Çuæ6£>%È-K>%~È6¤ð‘ +Úƒ§=¶ +ˆ¶mΰ¼P"ùt¡KO¾#l•EÀVKBµ‚¾|¢™hf3K“ÄWWùblL,Lk0Å•ª÷×Uš<Å\©¤ûÉ+ËwŠ³ý­?­ââ Ä4vbÐ…=OŽùªZ®zkø2HT@¤¯2(!ˆÒ£fMŸÀ‚ 1­†D >ø.)'Œ¸O‚pBúéÊw¤geD <¯ jø´²ÀGØì Ír&+ïldD3³I9µÓÞÏT“yõÀ›Ø~ˆîNø“DŒíÓA¼+ßâÎʈ0˜"Œ·YáÿöèN›†D‹£:m©ÁŠÂà÷Ìóe~C©éd„Œ»÷›˜U?祽Ù`î*ÉËÒ`æ „žf¾ÒÛ=£Ã¬'ß fîÊâaæŒHÖÂì|•`ýÞÑÖ%IüíA7æƒk q_c•žYPÛ¢Kç°ÛfØ";`&‹Þ_Ë°c®2à‰âŲŽì@=Ú™‘/ÂÕt™rO¾#¤•Åï7ùŠ)Ûý&kæ×ØsÂìje®})Ž2ú>ƒœväs~½ÊnÎæyšæÙVูmG“©Éâ…-«~»!®Ã w”|0³­Â”ñqÒ•ïˆge¸>æ½9[=· 3¯rôÖº²zmhç—æÞcOUÒ][ +2“¢gʦËÄT‡êEñ0$ò‘wF·ïž|7ûvWv€}SN´j#ûµ8yhøoÀfåƯzkŒ©©°NÎÑŸù Ù¬ÃÜÂ¥ož?Ö韾Œ"­‰âÓ¨#ÞC®ªâ!ÄCÈÇ7§Nya‹É°vc3|¥øÌV¶ÿ]{ÜßtUVy6;õwb?DÁ|Mf>]ùŽöã¬ìÒð_¶ÏiZ;vp, ™Z9nQÁ“l6õ£7 RtšÙÊÄIy¸á +¢~̤…Ka'7iZÆ(N—tpîøBW¾#!8+;€|È’™¸­m²ù5;ø]íÊ¡Óo÷ƒ[—…î~š‚¨[SÔ‚ëmÁ‡ƒI@ÚÇ%* G&…Â.Öó0€X(]+{ž'¦ÁþétÄГïF îÊâ‰é€­ÿç]q¶ÈûàyûÌ#Þ;Z;ø~¾ÞÎî ÇÍ䡼À4î>*/0©‰¯F<œÛ)Ÿij“¶60£|>Ëó›­+_*l:9‹Ë\…t¹íZ‚ô¹øõIÂtÜÒïH-®ª`AI õ¾¢ó#sKûÈ5zG´1¶AÇ|f>‡\Ý6Yÿéâ?`ïÃʱoßx8ü]Œ+"Ù„µ+ßÑì•`÷<$AØæÞ¿`ë½öÖjX½ãêV«"Ãâk3ì¸í¯}ˆEo`X1;`)ªü©²Ú¯žI€Öîî¸ÏT0&‰”/ìuöuíçùû»xïö¹ïX©_?ÉP¶ã§§ÎÂÓdó„ôWØI§‚ÈPLG¨]ùŽ„ê¬ìB…€Më6I½ÄïQFÈ–wØ÷«,‹ü6FÇ1X>{o2以ÞÝæ…¹ÉoÍÀCFëWéÉ£¾VJCì絨¶þÔ»!¥*<äU‚¿t!f +endstream +endobj +4948 0 obj << +/Type /Page +/Contents 4949 0 R +/Resources 4947 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +4950 0 obj << +/D [4948 0 R /XYZ -11.232 900.716 null] +>> endobj +4951 0 obj << +/D [4948 0 R /XYZ 56.693 743.021 null] +>> endobj +4952 0 obj << +/D [4948 0 R /XYZ 65.161 742.462 null] +>> endobj +4953 0 obj << +/D [4948 0 R /XYZ 56.693 696.29 null] +>> endobj +4954 0 obj << +/D [4948 0 R /XYZ 65.161 695.732 null] +>> endobj +4955 0 obj << +/D [4948 0 R /XYZ 56.693 637.359 null] +>> endobj +4956 0 obj << +/D [4948 0 R /XYZ 65.161 638.043 null] +>> endobj +4957 0 obj << +/D [4948 0 R /XYZ 56.693 580.912 null] +>> endobj +4958 0 obj << +/D [4948 0 R /XYZ 65.161 580.354 null] +>> endobj +4959 0 obj << +/D [4948 0 R /XYZ 56.693 523.223 null] +>> endobj +4960 0 obj << +/D [4948 0 R /XYZ 65.161 522.664 null] +>> endobj +4961 0 obj << +/D [4948 0 R /XYZ 56.693 475.251 null] +>> endobj +4962 0 obj << +/D [4948 0 R /XYZ 65.161 475.934 null] +>> endobj +4963 0 obj << +/D [4948 0 R /XYZ 56.693 428.52 null] +>> endobj +4964 0 obj << +/D [4948 0 R /XYZ 65.161 429.204 null] +>> endobj +4965 0 obj << +/D [4948 0 R /XYZ 56.693 381.79 null] +>> endobj +4966 0 obj << +/D [4948 0 R /XYZ 65.161 382.474 null] +>> endobj +4967 0 obj << +/D [4948 0 R /XYZ 56.693 324.101 null] +>> endobj +4968 0 obj << +/D [4948 0 R /XYZ 65.161 324.784 null] +>> endobj +4969 0 obj << +/D [4948 0 R /XYZ 65.161 313.825 null] +>> endobj +4970 0 obj << +/D [4948 0 R /XYZ 65.161 302.867 null] +>> endobj +4971 0 obj << +/D [4948 0 R /XYZ 65.161 291.908 null] +>> endobj +4972 0 obj << +/D [4948 0 R /XYZ 56.693 244.494 null] +>> endobj +4973 0 obj << +/D [4948 0 R /XYZ 65.161 245.177 null] +>> endobj +4974 0 obj << +/D [4948 0 R /XYZ 56.693 197.764 null] +>> endobj +4975 0 obj << +/D [4948 0 R /XYZ 65.161 198.447 null] +>> endobj +4976 0 obj << +/D [4948 0 R /XYZ 56.693 151.033 null] +>> endobj +4977 0 obj << +/D [4948 0 R /XYZ 65.161 151.717 null] +>> endobj +4978 0 obj << +/D [4948 0 R /XYZ 65.161 140.758 null] +>> endobj +4979 0 obj << +/D [4948 0 R /XYZ 65.161 118.84 null] +>> endobj +4947 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +4982 0 obj << +/Length 2726 +/Filter /FlateDecode +>> +stream +xÚÝ\[sã¶~÷¯à¤©Ý©±€dz™Ùl’Íf²ÝÖvgÒÙÍDÁÇ¡”må×)¯DIÖ@¸;y±hŠ:8$¾ï\â`ààíÙ77g¯¾ç8HP"¨nnA‘ˆ‚˜„(Œ‚›qðñüJåJVêâ’r|þO]«ª=¼Õe{PO»/¿Õé7Zßµÿü|ýÓÅ/7?ša. A ç­´ëz™«jªT]5_›ÑI›ÑEØŒÎÌð ƒKŽ’¨Ÿn$Fñù«öƒˆ¤ùåÙw7g¿ž#$à‰$ ¢„ iÎÎ>þ‚ƒ±ùÎh€X«+g'ÑP˜ã<¸>û÷î6:6‡ÍÇÛ ÉF#Ñ b "X4’›óGFQP”ÄIPªàö (èaŒ‹Ö´‚Isµ«|Žˆ }ù‰4Âæc(¡ÉÊ®–“ =¸ê h¦p¶‚b§8#ˆ…|^Ç«É?,'øx)0>OežÃ®¬5Pb.«jëR£êNìþæ\Öu™µ:Iîìßž‘ß×å¯]‰Ò‹z¾¨aÊÊÏTQW°«+à4†b ½bûÂ-m1M!Çþè³-ß‘>ÎÊZÐ'4ö/-}¦òGy*)^z/ó˜ úÑ8`ˆ$‰‹>ð¹ë+×NÇ`3Ú>áO”ò-Ý{³#f`ƒÛ‹ßËE™Õ¿]¬núG%‹J__\jþ亪d¹DU¼wa¼_„c>JÄØHL¼‘¬'ßdîÊÂI&b†ð:`ú>{T@/5ZLöYý?ÁX“¯¡/yœ–-ñŽ³â¨êá)ˆ qÒNÁŸ¹B3”±…æJ‘<ÐÉJeô_£R¦ +he©PpPóÇ\“…œ@­½]¬²2åÕ©&ZðÅ!ñ×mùŽxuUö0`F묎×÷úŠ×±2Þ¹”u¦ Øô-ì:;lÝË2“£\ ×zTVÝ«|Øû¯žrØ“)À"GÔ¶å;RÀYY Gʉùl¡~£ªŠõ‡¬žÂ®üYæ½ä õ—çS§kù¨m#¡6ÝÄwõ¼ÔééXb(Ž™·ˆ—®ŒO6C^c2Öhâý(†`sgïe1—ÄIJ&¦5Iåºâ³CãàÒDìMA¦óu-éVç¹¾ ÜÌl1iO¥ScwÖÕ§©¼ Æ¶\~Þýb¤TÑÍä¸;g¬ÉS‰j5¶ÑýóØÄDmQ$ÖÑø¬Qw²WKŽQHÈúÂT¯åWY‘ª^ÌP"Ü—mí m?žKr„ãÈpÄI|J晧¡òO˜ãzfþ’6‡¸ž¬3ˆ¹1þ3ôø Fm¿ët¤õ]“QtgÚKL¦Äg±‚Ç*ÄÄ_¬'ßÍ0º+ 7Œœn´vÈ?~ál×*>WÜZÔS]Ú”Ã*•îD"ÏÿBMØŒûæö8–©0‘¿ŠQO¾#Ôœ•µ€Zˆ¡âÉ(ZLYªçË2›Lë/+§jeÖÖ–ªJ1] Ýþ¦Jà•Se[*å„›xÎ_¹ 'ßøÎÊZŸ$泫â,õ8²¨‡ýj1Ÿ— +ZWgÕ<—ËaS°Û0Ž`§V{y˜ºU(“’BÉûú?7?|¸ºöæ03 óG„-ñŽ{ö›X8™…èEk¶!5^…ž\LVÜj‹‚mh`ãÄŸ‹¡ISmñÆ£mñn4rVÕ‚E&B$a×ùú`±_jÿº÷RM®&2/´ÉûÕ°µ¨=Ë:žµÔО6›Ì º>LMf²“å›’‹¿eæ=ùŽ wVŽrš4¨k®Ís™ª¡·ïË·ÙÀ%V\-fà«.Ç=TÔ©þ¼i'ÁjÊ.þúp=ùŽ˜wVÖó1A´Û¢·¯UhöõžÝ©RÍuY÷4‹èˆF %Œ½d|D95ÑlôÅô´)£ˆñÐcˆÄºž|G.9+kÁ¥¡hÝÔ¾RU­Kh"Þ¬lÓƒÓi€Ìóèý­šgŠke6Ÿƒ3/h¾?ñ:NÚ”K ge-XÈ2¾}½8×VéÚËðã–Àoóø}ø¯ãæðfj»‹„QØ–xGN¸ªjA‰04 I×ÇP2…¶1V¡Ú°k |,<×ãlÿï_†î}̹¯†ZLk©Ë~ÞÑfQgyV/m¹Ab ž|Gv8+kAJ_'ϵšÍsYC=Áƒ‚ö6R›¼ƒ5õ(¨È½7¶2Â«ï› +Àaœ¾ƒr6+î ÙǾ³X.zoí2Vï.ñ·é®'ß‘ÎÊZЂ$ºVà….›Éônà0æV—ÐÿÜ–zv¢MIÚŽ”¹'e™fÁßÀ +uÛ™m• iK>¾Xµ-ÞTΪZpªY+‘õ»4À°´ig”Íꈜž@麄nÕ“™í,'iJËÐD?në(¾°³-Þ ;ÞTí^_Ëþò™mñŽ/1vUÕâÆÍ[§:ÏôºX>ôÞvqÜ>‚S‹ÒÏ~)õ»Ê¿,CæÝÕ@íç¾ø3Œ°HNyÿÿǹŽO +endstream +endobj +4981 0 obj << +/Type /Page +/Contents 4982 0 R +/Resources 4980 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +4983 0 obj << +/D [4981 0 R /XYZ -16.307 900.716 null] +>> endobj +4984 0 obj << +/D [4981 0 R /XYZ 56.693 759.068 null] +>> endobj +4985 0 obj << +/D [4981 0 R /XYZ 65.161 752.393 null] +>> endobj +4986 0 obj << +/D [4981 0 R /XYZ 65.161 741.435 null] +>> endobj +4987 0 obj << +/D [4981 0 R /XYZ 56.693 694.312 null] +>> endobj +4988 0 obj << +/D [4981 0 R /XYZ 65.161 694.996 null] +>> endobj +4989 0 obj << +/D [4981 0 R /XYZ 65.161 684.037 null] +>> endobj +4990 0 obj << +/D [4981 0 R /XYZ 65.161 673.078 null] +>> endobj +4991 0 obj << +/D [4981 0 R /XYZ 65.161 662.119 null] +>> endobj +506 0 obj << +/D [4981 0 R /XYZ 56.693 625.152 null] +>> endobj +4992 0 obj << +/D [4981 0 R /XYZ 56.693 597.727 null] +>> endobj +4993 0 obj << +/D [4981 0 R /XYZ 56.693 551.36 null] +>> endobj +4994 0 obj << +/D [4981 0 R /XYZ 65.161 552.044 null] +>> endobj +4995 0 obj << +/D [4981 0 R /XYZ 65.161 541.085 null] +>> endobj +4996 0 obj << +/D [4981 0 R /XYZ 65.161 530.126 null] +>> endobj +4997 0 obj << +/D [4981 0 R /XYZ 65.161 519.167 null] +>> endobj +4998 0 obj << +/D [4981 0 R /XYZ 65.161 508.208 null] +>> endobj +4999 0 obj << +/D [4981 0 R /XYZ 56.693 461.48 null] +>> endobj +5000 0 obj << +/D [4981 0 R /XYZ 65.161 461.769 null] +>> endobj +5001 0 obj << +/D [4981 0 R /XYZ 65.161 450.81 null] +>> endobj +5002 0 obj << +/D [4981 0 R /XYZ 65.161 439.851 null] +>> endobj +5003 0 obj << +/D [4981 0 R /XYZ 65.161 428.893 null] +>> endobj +5004 0 obj << +/D [4981 0 R /XYZ 65.161 417.934 null] +>> endobj +5005 0 obj << +/D [4981 0 R /XYZ 56.693 371.206 null] +>> endobj +5006 0 obj << +/D [4981 0 R /XYZ 65.161 371.495 null] +>> endobj +5007 0 obj << +/D [4981 0 R /XYZ 65.161 360.536 null] +>> endobj +5008 0 obj << +/D [4981 0 R /XYZ 56.693 313.808 null] +>> endobj +5009 0 obj << +/D [4981 0 R /XYZ 65.161 314.097 null] +>> endobj +5010 0 obj << +/D [4981 0 R /XYZ 65.161 303.138 null] +>> endobj +5011 0 obj << +/D [4981 0 R /XYZ 65.161 292.179 null] +>> endobj +5012 0 obj << +/D [4981 0 R /XYZ 56.693 245.451 null] +>> endobj +5013 0 obj << +/D [4981 0 R /XYZ 65.161 245.74 null] +>> endobj +5014 0 obj << +/D [4981 0 R /XYZ 65.161 234.781 null] +>> endobj +5015 0 obj << +/D [4981 0 R /XYZ 56.693 187.659 null] +>> endobj +5016 0 obj << +/D [4981 0 R /XYZ 65.161 188.342 null] +>> endobj +5017 0 obj << +/D [4981 0 R /XYZ 65.161 177.384 null] +>> endobj +5018 0 obj << +/D [4981 0 R /XYZ 65.161 166.425 null] +>> endobj +5019 0 obj << +/D [4981 0 R /XYZ 65.161 155.466 null] +>> endobj +5020 0 obj << +/D [4981 0 R /XYZ 65.161 144.507 null] +>> endobj +5021 0 obj << +/D [4981 0 R /XYZ 65.161 133.548 null] +>> endobj +5022 0 obj << +/D [4981 0 R /XYZ 65.161 122.589 null] +>> endobj +5023 0 obj << +/D [4981 0 R /XYZ 65.161 111.63 null] +>> endobj +5024 0 obj << +/D [4981 0 R /XYZ 65.161 100.671 null] +>> endobj +5025 0 obj << +/D [4981 0 R /XYZ 65.161 89.712 null] +>> endobj +4980 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5028 0 obj << +/Length 3320 +/Filter /FlateDecode +>> +stream +xÚÍ]K“Ûƾï¯@9‡¬ª²£y ªâHvÅe9ïR%é0 Idñ ñ—þõ<(À’ìá`’`£9øúÝ=ÀÎÚÁÎ7ß?ܼþÁÃNˆBN¹ó°r8EÜwÂó‡Øùpû«L¥¨ä«;êáÛ_ŠZVýáª(ûƒz3|ù¶ˆ¾/Š§þÍî~õéá'u™;BPèy=µûzŸÊj#e]µ_««'PW笽º«.ï»Ì¹óPè×'„+Š~pûº!ÇFVÉC±ƒº‡I¾ÂK< ÙÖžÀÔGS–2¯§Ëõúôr•RNTäµ|Ö–ÊEi8¦n( †ŒjHõ ‚^fÚö´:*‹la¸TESFSeß}ó{ø4hòbiàê h¾k 47û¥×÷‹k7ýoj}IÿÙe " +.±'Ccú†Rd̬†Ž¨ºfoQ +è½µŽù¯Áš¿ªÅz†a½ÉjÕÀڻÉcú†7Ù³ýbp³`êZ[Œ }³Å0gŽxºˆÒ#þ¬[EÕ€µÌ¶©¨¡ž´†wa^r3L]ùG wõ k•0]LMÏŠaîÙ“’1}C)1fVCJ†˜G{)ÙŠRÁ¿–¥fŒZ-nOÀðX¤±†ŸÔP^×¢´4u‘C£z© uÞgT¬A}LßêÆÌj@ݧˆ©/:¨¿¤9Ï»Ñb'J¸ZŽ“:f¢Œž¦@Óð‡¸×g ¬Ýñ1}Ã;nÙa1Ü>`´¶cú†‹a̬ü=Œ\Ÿü¡hiwP“ü(*­Ì©ŒdU‰r¿¬Q”ñÄ|ûCU³Ý–Š×+ ’¶…¹,ï¬å¬A|LßâÆÌj@œ…È#CÚŠ˜:©S©›•ßm’hD¤òeÊ]Mᮧ%‚Ó¸ŒJ¹ƒ:àÍêüG¢òZ¬–Îl5ÙcÞè¦M9õµhþFä ¥Á”U a ò¼!sºû¥]ô²XoÿFäq + “sYÁs†Î¿ŽEúl‚5é¢Ì³Ãbà>h´¶cú†‹a̬†ÌaŽÚZ‘ûGZT3»ÒÁöO„û®ÇÜ6¯ÎÛ™÷ ÔÌ(ÁÍŸ.ê¾y"ñòÏ2QžW­mGÁµM¨=Ÿy¶eÛ ûÀÐœ'ôÍàlÎ,Î^è! )Ô¸ˆÛöxÄü\±óج5È®]CÓ2OM®E»š4h¢2Ú$ò3Ô ýX‚Û=Þ‹ª†F:U-ꦺÖôyAˆ\|”Ûô‘ïòy@Ƚü:ï±Z°ûþ H?RêxŸ€5@®’&ÜŸü^ùåB¦mI¶ÎºÂa·÷YRoþúêŽÐni=¡/è¼¼Š«Ðc& pÞžz®‡ÂÐ^ gBßP3«¡€ÜÑ`ÈNÿ® Ø÷ÜP¹=žoÉCjê$M꽆äâŒÛó‘\ßGÜ·—å›Ð7“.sfáÄ Ôoù0ñ¶°Ðþ›äQÚ@;/Sïþv«‹|+ÖPGj•¤2ŸZ½óyÁ­¨79ØP&«+B]éo§™¹~kéFø0ˆ’èÖƒŠZ÷\Ë\–`?ë%I_üÖˆ4Y%Ð0©••u€ T ûtù\kù“ïòušT›—º„¡Ûå ùÇÎ?À`»ÊGCK[æqÞÎÖéXlFõ‹›bĈ½2õ„¾¡ª1fVCÕP†8|·Z±‚ESoÝd¼Tˆ‚6…”¹ŠÀ–× +ÂݘE¥o WEQ·tÿtÍÜ~‡ˆÙ‹ùÆä !nʪ EÜ ókÐ’òF|ãd²ÞÀ3|m¼Ží.…Õ®æÓý‚ɼî 5}¬ ±½Bö„¾dí1;,Fà#×µWÈžÐ7\ cfáÌBŒ|¦;;Ñd²”±†/·S>ŒÆéJ6׉–Gœäñ,Y½XË÷T±¶+pÊ4¾Ò®^~Ÿ#7°WéžÐ7Ä»1³x÷CäûC¥»TÞ´,Á08øÞËf=À)þ_þõðîh5eïJ‡VÅ2¸½»¯ÛT€+g­+ +ê®{gæ&ô ÅÀ˜Y 1à +ÈPoMTy4QUM¶mV-»-ÇfñÁ¹Ã^3×N~Ÿï +*5åÓ•½»j¥ßœiÚÍ$õ5º,ž‹øìIǘ¾¡t3«!žoðŠ¾é VäêGb¦ëM£aó¦aðÜ[;Ÿ%¦¶ò2tÝ>³b ºcú†Ð5fVº.GA8e»þ' :•Ÿ¡…Ô.4-¥.ì’¥ Ô‰û¥sÀèÜöêB‡– ÃB·Ï±>¹cMÈÆô …̘Y !c +ÙP‰¢¥ÐÆ+¨ÁIj™%¿Ë8MªzYÊÝpa¸a€úM` °JJ(—b5 Š. %ˆöŠ ú†Âb̬†°P÷ë&šð¸Ê‚6«ÁMA^@ë$ûeƒí—SÆžº|S6èüa7B¯ÝÊH—Y´&#ò†â`ʪ†4a2L¶e±•eºÿ?%”ôòY3c Q‹ aŸu³† }34ØcvXŒ Ï½X[Œ1}ÃÅ0f.4T t(E4º9`ØëØOìVw. ”¾ ¬€…V±¸ +í¦ ë¥›¶¯hT£~Ÿl±&cú†â`̬†8wˆHTÒÖ†ÂU³VâP_é˜wnŽïyÊúw¯91½’…{Êw¥Ø.©¸>¼,C¼ÏúX“¡1}C2fVC†|ŒÈa®Ì^¼¼SjO~†vž€÷È[º=E§Açê¢Üéy¹jb èN@/mÛv89C!ædß'uÛ6Kï›Ô Œ ×síµ}RÚ>1Áޤ߄¾¡Ò1fVCéP†ü`(ý=Že ߪ(Þä3› ÓžÏRÏ³Ú M‚}H½™Þά^Ù’qY†pˆ<‹]Ÿú†7fVâ„¢€e¦« vETc¸óv¾Çâ%o¹²žCðÑV觳re)£z^þÛHÌ‘w¼Û£}Ie–‰­aÆN´òMÿeµÏ‹íÑû/ÛA ïÛ§R½mÝÂêè}ë¯äu¹?úHö!•bÔ;bÔ ”à©ÃÕ+îÁ_ŽH»-Äw-Xåf¯v>¡o¦ÔÌ™…+5¢®éRïð8+åσ7(ÓÜäRV‘Ø.¾mÅ£Pj5ó‰© ª/.j[©…xÊ ÿ^ûj¯ê<¡oOcf5àéyJ#ƒ‹à§ä,¾uãN¦©V_v[;JŠ|æ",þ#ô_&àì,°ÁPl·R”Õµ­u¤ -ŽÄMè‚ؘY ».ò#qYR­›$ž;_ ü™´b×YYÎ3‹g5W&•‘'U¦F…䲈›héG!œH¨ª;J†âaDíÅ)cò†h3eUlŒ)784û÷ϧ< µ»»Å¶ÎD¼ô¾9P=.ÒZ–¹¨“Ϻiú³òt$DÌâ¸Ù„¾!™Õ!¥È †yp¥|J©;T-;PØZYu×ShsI»Ï¹2ËB§‡ìHÚ² 8@ÌâxÞ„¾!xŒ™Õ!ˆ³³ØYÐ[W–(#¨ÜÓ>¤ï¿ ´4³-“âÊýÿ/Â1ô ìUÓÆäÍÀh̪1Fü0:WÉ2iòûK³ k +eÕ‚•`¯×-?Щù`ŒYÄu—AŸŸ°…Ë1y3\³ +Çe"ÿ0ÊVí«ZfKWCÁFô¨/í8‚‡ŸÆ¾ñÝi ËOtìSÖè8"oøìøÔ>ůKŸ|ø„X}õ“ÓV›gט9že\§ÎýrþEÅnf +endstream +endobj +5027 0 obj << +/Type /Page +/Contents 5028 0 R +/Resources 5026 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +5029 0 obj << +/D [5027 0 R /XYZ -11.232 900.716 null] +>> endobj +5030 0 obj << +/D [5027 0 R /XYZ 65.161 760.065 null] +>> endobj +5031 0 obj << +/D [5027 0 R /XYZ 65.161 749.106 null] +>> endobj +5032 0 obj << +/D [5027 0 R /XYZ 65.161 738.147 null] +>> endobj +5033 0 obj << +/D [5027 0 R /XYZ 65.161 727.188 null] +>> endobj +5034 0 obj << +/D [5027 0 R /XYZ 65.161 716.229 null] +>> endobj +5035 0 obj << +/D [5027 0 R /XYZ 65.161 705.27 null] +>> endobj +5036 0 obj << +/D [5027 0 R /XYZ 65.161 694.311 null] +>> endobj +5037 0 obj << +/D [5027 0 R /XYZ 65.161 683.352 null] +>> endobj +5038 0 obj << +/D [5027 0 R /XYZ 65.161 672.393 null] +>> endobj +5039 0 obj << +/D [5027 0 R /XYZ 65.161 661.435 null] +>> endobj +5040 0 obj << +/D [5027 0 R /XYZ 65.161 650.476 null] +>> endobj +5041 0 obj << +/D [5027 0 R /XYZ 65.161 639.517 null] +>> endobj +5042 0 obj << +/D [5027 0 R /XYZ 65.161 628.558 null] +>> endobj +5043 0 obj << +/D [5027 0 R /XYZ 65.161 617.599 null] +>> endobj +5044 0 obj << +/D [5027 0 R /XYZ 65.161 606.64 null] +>> endobj +5045 0 obj << +/D [5027 0 R /XYZ 56.693 559.952 null] +>> endobj +5046 0 obj << +/D [5027 0 R /XYZ 65.161 560.241 null] +>> endobj +5047 0 obj << +/D [5027 0 R /XYZ 65.161 549.282 null] +>> endobj +5048 0 obj << +/D [5027 0 R /XYZ 65.161 538.323 null] +>> endobj +5049 0 obj << +/D [5027 0 R /XYZ 56.693 491.24 null] +>> endobj +5050 0 obj << +/D [5027 0 R /XYZ 65.161 491.924 null] +>> endobj +5051 0 obj << +/D [5027 0 R /XYZ 65.161 480.965 null] +>> endobj +5052 0 obj << +/D [5027 0 R /XYZ 56.693 434.277 null] +>> endobj +5053 0 obj << +/D [5027 0 R /XYZ 65.161 434.566 null] +>> endobj +5054 0 obj << +/D [5027 0 R /XYZ 65.161 423.607 null] +>> endobj +5055 0 obj << +/D [5027 0 R /XYZ 65.161 412.648 null] +>> endobj +5056 0 obj << +/D [5027 0 R /XYZ 65.161 401.689 null] +>> endobj +5057 0 obj << +/D [5027 0 R /XYZ 65.161 390.73 null] +>> endobj +5058 0 obj << +/D [5027 0 R /XYZ 65.161 379.771 null] +>> endobj +5059 0 obj << +/D [5027 0 R /XYZ 65.161 368.812 null] +>> endobj +5060 0 obj << +/D [5027 0 R /XYZ 65.161 357.853 null] +>> endobj +5061 0 obj << +/D [5027 0 R /XYZ 65.161 346.894 null] +>> endobj +5062 0 obj << +/D [5027 0 R /XYZ 65.161 335.935 null] +>> endobj +5063 0 obj << +/D [5027 0 R /XYZ 65.161 324.977 null] +>> endobj +5064 0 obj << +/D [5027 0 R /XYZ 65.161 314.018 null] +>> endobj +5065 0 obj << +/D [5027 0 R /XYZ 65.161 303.059 null] +>> endobj +5066 0 obj << +/D [5027 0 R /XYZ 65.161 292.1 null] +>> endobj +5067 0 obj << +/D [5027 0 R /XYZ 65.161 281.141 null] +>> endobj +5068 0 obj << +/D [5027 0 R /XYZ 56.693 234.058 null] +>> endobj +5069 0 obj << +/D [5027 0 R /XYZ 65.161 234.742 null] +>> endobj +5070 0 obj << +/D [5027 0 R /XYZ 65.161 223.783 null] +>> endobj +5071 0 obj << +/D [5027 0 R /XYZ 56.693 176.7 null] +>> endobj +5072 0 obj << +/D [5027 0 R /XYZ 65.161 177.384 null] +>> endobj +5073 0 obj << +/D [5027 0 R /XYZ 65.161 166.425 null] +>> endobj +5074 0 obj << +/D [5027 0 R /XYZ 65.161 155.466 null] +>> endobj +5075 0 obj << +/D [5027 0 R /XYZ 65.161 144.507 null] +>> endobj +5076 0 obj << +/D [5027 0 R /XYZ 65.161 133.548 null] +>> endobj +5077 0 obj << +/D [5027 0 R /XYZ 65.161 122.589 null] +>> endobj +5078 0 obj << +/D [5027 0 R /XYZ 65.161 111.63 null] +>> endobj +5079 0 obj << +/D [5027 0 R /XYZ 65.161 100.671 null] +>> endobj +5080 0 obj << +/D [5027 0 R /XYZ 65.161 89.712 null] +>> endobj +5026 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5083 0 obj << +/Length 3234 +/Filter /FlateDecode +>> +stream +xÚÝ]Ý“Û¶¿¿‚“δv§ ’Γ“8™dìN{wéŒãˆ„$æøq!)Ý)}A²Ô×BKØmŸN'AËøÛïÅÒuŽëütõÝÝÕ«׉IÌwîæg„‡ND=â…Î]ê|xq#s)ùòšî‹¿W­lú—óªî_´KýáUò]UÝ÷ÿüûöÝËw¿¨Ë\SJâ è©Ý¶›\6K)Û¦ûX]:‘º:÷º«ûêò¡ï9׉C}}JCE1Œ^¼êÿPwß¼z{wõûUô]‡:'<öœ0¦„»ÌIŠ«]'UŸ)ˆGÎãveáÔ%ÌãêuîÜ^ýóÊÕ[á*»—ÝŸŸžQVÑ9¡ˆFåî}Fâ(vh·:vjéÌR:K? ”Ó1ýÀ¥$äè +Ïw“˜Å0»%X/œþÅFŠÚáí½ò·HÙ1êòþ^‰v{kŽ“q>\s·‡ háL.²²ÌÊly5‡­{¨«D6͘®þôúZ¿{”)…}àåȺړ¶´®æ£ß9¸‰ÁØÁ×óI¤î¾5øé#á‹fÖ¾^D¨¯UM!êûÕì&@×eÍb/ÈitÝ-G_9º2YŠrÄa5[g¢ÓÝÓÊg)e +[Ù™‹Ë®}ÜÌ#¡ýœ:ØHF `ÍBB£è3¬¡º¥Ù4­, !û3P틼©€*Nþ¾Êj(\lY^ùT +ðÊ7oÞæ«zÏŠ6U ñ©=hé#ÁfÖÞ”¦®¹…÷icþ«¸GÑ ×J¹¨¡ªvžårOéÿí´®‰,²³YS˜ÂNá Ž˜=Ø é#a‡fÖvn@˜öd™‚ÝR¨¯Ðk=0ÙE¶³ بCãBU½XÉÕfà,€¸ +Ã\æ[Ј>@ö˜Õ›¹Äå½ÍÒGnšY¸4ñÈ#^Àzqú>¯(g«ƒšþO”sJÃð¬-Ê{¨ tWn“ªú·…Ls¹¹Ði>/z¼Ç­¡mH‰64³h ñÔ;—aÁõ7пTš‚¤K¨;+`'a¾~, îD ̘ˆ…¤D;šY´sJ|Oç\Á¸Qb1Ë%:Y»œ8›€wn?Ǫç±ã÷!²5ì é#±cY½^PYÛŒ!}äf ™5$/&Õ>ÿpþ¢¨ÖÐÄ\:‡sè„[R•kY·`kXVåXæŽ'Ì_Ìj)îÍSœmC-kxGÂ˪YD‚@§õš‘€]f‘ÜóÕ%Ôé·´Z¢À2m0 gòSa*5©¼Øô0FXô,ï’Ðç:@Ìþ»_ÐÕ•Ñ Ž‰Çµû•±`Àûmñ•4¸ýâ÷™R;2ï\Ӷغ|:ŽQöÿõËkʺìXÖ´ yjràQL|7ÀlÀi{„ê7øö }œÁ3 × A¤8õtôcöµR–\ìLªº–I ¶i…hÛÉëÁ¥ŠÜ ;±u&Ô^t˜¿T<$~dϼè#á‰fÖž¡KÂП2'¸±G¿BNèå«ÉüSß÷–ÞŠE4Xo7{öç›Ó¿òÌRåè]ZÛIó%­–OIùÿ-VKáˆ3jÑj1—pn¯ð2¢T hf ÔBW8×ÙŒ÷âêÒ­ ]:ð<•Ès`ÁP+keÑ@ !p"™ý!Ó=ës¢ hتZi#ʵi§†ÒÅ$t={ÒGͬÀ»âyLwÙi™ÈêÌ6“&±g¹2…Pˆ—ÒZsÓ\ù¦Ó¶ÔrQw}U9µR¨’d¥¼XÓìµ2¦Ê€Ø« Žèã¤Ϭ4¸Œ¸ž® >.%T7–M+Êdêz88…p÷hš;©«©1ø(¡ÆnÕÈim’€†rU«ÆTJ"åfEöBù}¤” ™…K‰ß5.„:”_˺Ól_ ú‡‚áIan)?Åï¥Ú&‚æ1k“%8G×›Ûñ&¼:¾ 7oÍKÀ3™ˆ=ù=/B!'‘Ålúˆ>R„Ð̈PäJu| Ußi%›½ +È_N”í¡ÑÊÃCU·ð„Õ~Ããó&-¬‘«¶*D›%*âz˜ YÊÞd~¹CzðêþFÜ^mwD x4³€ï:n}Zçÿ~¦Ou¶j/Ò„–„é|Àq ÔÜ?1›‚ã2qH»çöEó=?}$E²4dc|ã²ÆHÆ_2-è{Ý[¥´à,¯’û.-øíKíw‚òìQ‹‚<=Ê™~#­’YU=ÿŽúÆ}³÷Y¶ÀT£ï¹Äu™½T£Ocâúö21#úH ‰fÖ@C2F<îrPÏhÌÊU1ƒv8AôþXM‚ä¢Ú핹,¶›K«ƒçÅÁˆYÌ” é#ÑŠfÖ­”/Ô™’jeƒàuzñž«pª›¨ý¤ç>Ó~ T|^ÊìEû#ú¸;mY½WLÛ‹ÛFô‘›eö(Ƚ®[$ÐQÚ™³ÙoàšYÜNWÈ4Õì·qSƒþøϧùïã4ÀÕZ/ sí…@#úHì ™¨Lu˜uŒ+0Ö!ÐÛ±ƒ|üÆb!SÑ +ÈI¬Ò¬ºà{P¸­³TîÓ?gª í¯Ç}Â|{íÁ#úH0¡™5I°›”Ò96çÌ)4lz=c‰ h¯¬MxÄb›ú<†XV P¨ââ ÔmÁm-á¾hÉŒ}Le7'¨ZÕ‰i¸[Ú‰¿µòÐí€Jo±J–¶¦Yx~€ZÃø>ähf Pî„S}èÞSþ(6ÓÊÂ6·3qï(•Äˆ6Û?Zq¢€$òÖ`õ¼ªÚ­X^ìQz}¬i ˜CúH`ZcVos‰OíåÏFô‘›fÖ@J™GBWçÏîÀí …ec!ÕÕü&G¡îÍ®–Nï’3sç…×íchkxÒGâͬ^i7r}ž”4qgÄC.’‰ûm ÎÓBIÎó±+~Ôœ.%¼«VN[ŸE7‹»˜Þ^~xD‡n<³èî8tÐÿB*âd‹¥éT%¸ûe¨MYÔ‡ýÖð6¤ÄšY8ÞXì’ˆéTíöhWóPLJ23Ú²L;vânÖ~e7ÀŒaý[ã>Œhf ÀÆ$â¦C04¨š 똩gãJðÁŽùä~bjÌ·†“ðÎãŸ÷ykøÒGâͬþ¹zk7šÙHWvE\å;N=-ö_7º®Š‰¯ÝMe¬å*«mÍV­1Ÿp{Åë!y$±¬à0IìëôôäÊèÿ¸0gœc~Ÿv±½!}$ö¬1«7Ãëczk›1¤Ü 4³’èqâî†?˜44˜TÿÀQ×é^‡©Žyí¡:/L¬š­ágH‰4³øaqCÜ]Šµœx~âSk„d™å©­A˦Ì@£Á4kr±1>,ÊhY[Ãä>“hf 0I}B)3oÁ°Fí@saÂÕÀÖÓ¸kmAaD{Ìê͈ú ÇÚf é#7ËìÑI«íˆa=’7²4Õȵ¬E~Ybàäùœm!ýàr‡úQQƒsMIÀuÅÿ¯Ç©ý ¹ólåö°ÅÄÓ|Ì~ÙÁÒç_וH½¿Î ˆ=ÿ%ÐúG7õº‹°¬ Á>RÐÌÂ(aŸæà‚>2ÏÁv~B.¦§ùÕ³šæ-|´ƒAd/]7¢Ä*šY¬†.a!ßÕNL2pEe0éèËü¶‚b`¿!êü¹Lø(Ý4ƒZª¬Èra:0ŸÛØä‘`IJj€Å &ÞnìqÝù Ó”øŠGæŽ {=}*+[Y—PWh-ê‹;í:÷§ ³­rH‰JkÌêÍðúøÎÚf é#7Ëìqß ÉäG ŒfN€ûécÿúÄ4˜q]4 +EäT%ÁçÑʧl°@`•GO‹VdH‰Q4³v„qâû:ahmðEr!`/øj¦…“çe)± Þ­ÁgH kÌêÍpûÍÚf é#7Ëìq}ïú$`HãŸKQBu>ôatð“8݉£¢+å¤_"h½d²ØY ŒûÐËæ†äqC³ +×Þ±Gþ©™/•¸ÇžìÓ@Á–A'ð²i6cý>_•÷S…? ]4Ybú0Ï>³ö,Ïyä£<±¬Â‘1Â]4|®´=tž]-®e½–Èå|ž%àîj°³•VÉêШ—þï»YMÝ%· ´]'Uý¢î[7Gþq»°pu™ÇÕëܹ}v“ÿ£9‰} +endstream +endobj +5082 0 obj << +/Type /Page +/Contents 5083 0 R +/Resources 5081 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +5084 0 obj << +/D [5082 0 R /XYZ -16.307 900.716 null] +>> endobj +5085 0 obj << +/D [5082 0 R /XYZ 65.161 760.065 null] +>> endobj +5086 0 obj << +/D [5082 0 R /XYZ 65.161 749.106 null] +>> endobj +5087 0 obj << +/D [5082 0 R /XYZ 65.161 738.147 null] +>> endobj +5088 0 obj << +/D [5082 0 R /XYZ 65.161 727.188 null] +>> endobj +5089 0 obj << +/D [5082 0 R /XYZ 65.161 716.229 null] +>> endobj +5090 0 obj << +/D [5082 0 R /XYZ 65.161 705.27 null] +>> endobj +5091 0 obj << +/D [5082 0 R /XYZ 65.161 694.311 null] +>> endobj +5092 0 obj << +/D [5082 0 R /XYZ 65.161 683.352 null] +>> endobj +5093 0 obj << +/D [5082 0 R /XYZ 65.161 672.393 null] +>> endobj +5094 0 obj << +/D [5082 0 R /XYZ 65.161 661.435 null] +>> endobj +5095 0 obj << +/D [5082 0 R /XYZ 65.161 650.476 null] +>> endobj +5096 0 obj << +/D [5082 0 R /XYZ 65.161 639.517 null] +>> endobj +5097 0 obj << +/D [5082 0 R /XYZ 56.693 592.403 null] +>> endobj +5098 0 obj << +/D [5082 0 R /XYZ 65.161 592.692 null] +>> endobj +5099 0 obj << +/D [5082 0 R /XYZ 65.161 581.733 null] +>> endobj +5100 0 obj << +/D [5082 0 R /XYZ 56.693 534.62 null] +>> endobj +5101 0 obj << +/D [5082 0 R /XYZ 65.161 534.909 null] +>> endobj +5102 0 obj << +/D [5082 0 R /XYZ 65.161 523.95 null] +>> endobj +5103 0 obj << +/D [5082 0 R /XYZ 65.161 512.991 null] +>> endobj +5104 0 obj << +/D [5082 0 R /XYZ 65.161 502.032 null] +>> endobj +5105 0 obj << +/D [5082 0 R /XYZ 65.161 491.073 null] +>> endobj +5106 0 obj << +/D [5082 0 R /XYZ 65.161 480.114 null] +>> endobj +5107 0 obj << +/D [5082 0 R /XYZ 56.693 432.607 null] +>> endobj +5108 0 obj << +/D [5082 0 R /XYZ 65.161 433.29 null] +>> endobj +5109 0 obj << +/D [5082 0 R /XYZ 65.161 422.331 null] +>> endobj +5110 0 obj << +/D [5082 0 R /XYZ 65.161 411.372 null] +>> endobj +5111 0 obj << +/D [5082 0 R /XYZ 65.161 400.413 null] +>> endobj +5112 0 obj << +/D [5082 0 R /XYZ 65.161 389.454 null] +>> endobj +5113 0 obj << +/D [5082 0 R /XYZ 65.161 378.496 null] +>> endobj +5114 0 obj << +/D [5082 0 R /XYZ 65.161 367.537 null] +>> endobj +5115 0 obj << +/D [5082 0 R /XYZ 65.161 356.578 null] +>> endobj +5116 0 obj << +/D [5082 0 R /XYZ 65.161 345.619 null] +>> endobj +5117 0 obj << +/D [5082 0 R /XYZ 65.161 334.66 null] +>> endobj +5118 0 obj << +/D [5082 0 R /XYZ 65.161 323.701 null] +>> endobj +5119 0 obj << +/D [5082 0 R /XYZ 65.161 312.742 null] +>> endobj +5120 0 obj << +/D [5082 0 R /XYZ 65.161 301.783 null] +>> endobj +5121 0 obj << +/D [5082 0 R /XYZ 65.161 290.824 null] +>> endobj +5122 0 obj << +/D [5082 0 R /XYZ 65.161 279.865 null] +>> endobj +5123 0 obj << +/D [5082 0 R /XYZ 65.161 268.906 null] +>> endobj +5124 0 obj << +/D [5082 0 R /XYZ 65.161 257.948 null] +>> endobj +5125 0 obj << +/D [5082 0 R /XYZ 65.161 246.989 null] +>> endobj +5126 0 obj << +/D [5082 0 R /XYZ 65.161 236.03 null] +>> endobj +5127 0 obj << +/D [5082 0 R /XYZ 65.161 225.071 null] +>> endobj +5128 0 obj << +/D [5082 0 R /XYZ 65.161 214.112 null] +>> endobj +5129 0 obj << +/D [5082 0 R /XYZ 65.161 203.153 null] +>> endobj +5130 0 obj << +/D [5082 0 R /XYZ 65.161 192.194 null] +>> endobj +5131 0 obj << +/D [5082 0 R /XYZ 65.161 181.235 null] +>> endobj +5132 0 obj << +/D [5082 0 R /XYZ 65.161 170.276 null] +>> endobj +5133 0 obj << +/D [5082 0 R /XYZ 65.161 159.317 null] +>> endobj +5134 0 obj << +/D [5082 0 R /XYZ 65.161 148.359 null] +>> endobj +5135 0 obj << +/D [5082 0 R /XYZ 65.161 137.4 null] +>> endobj +5136 0 obj << +/D [5082 0 R /XYZ 65.161 126.441 null] +>> endobj +5137 0 obj << +/D [5082 0 R /XYZ 65.161 115.482 null] +>> endobj +5138 0 obj << +/D [5082 0 R /XYZ 65.161 104.523 null] +>> endobj +5139 0 obj << +/D [5082 0 R /XYZ 65.161 93.564 null] +>> endobj +5081 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5142 0 obj << +/Length 1907 +/Filter /FlateDecode +>> +stream +xÚÍ[]sÛ6}÷¯àLÖš©|èf:³Ù4m3M§›øag’>@dsM‘\’²üú^ðÑhIMÑÍ“ ¼¸î9÷ˆÂÁe€ƒŸÏ^]œ½x#p ‘–T«@R$Ã@†X\,ƒçïmbMigs*ðùïYe˦¹ÊŠ¦Q]µ7_gÑ«,»n¾ü÷Ão³?/ÞÂ0sB¢±ö¡úœØòÊÚªt·at(]27:‡áC΂¹@:lÇ'DÅP¿h>ˆÔîɳŸ.ÎþFÀ>H $’š¡&HbDë³â` ÷Àĵ +nëžë@Œ(“ÐN‚gÿ9ÃíR`ðÑ5ÝÇÏ[–Á#Ò ä)¢œew"­t@\o6X´ô¨}ˆ$}ûJå5Âö*H¤©>³µÁâ2hïÛH®÷Š»½ +a¨s\#‚e³WÕ•©êÍ9l(ø8—ŸGYZ™8õëlüº%™çàÙʯ_ê¢=Û‘-w€™~ß^8ðäbãéŠïz9 zv«¾³ÿ8èìùîÄv£aaG +Âh2ìÚ‰ƒÑÎÀSˆð–³<v{néÂV•-üúÓ'ÊÁ~·æAø£æ‚G¸¤Â¯»½Ëv#'æôS4£€ª8‡ÌÖä¡í,I‹2øÆ+]†[eI’ͨ8¿ÓËæRË}ÙåÄ+ã¬Þ̈8oŸXX›6­µY¶×ªìkâ¬Ç¯¿ŽMGaèT=¶9É9bŒuý¢¬3_Æid{©PDnÚE“ÐÑîºÌ)uD®¡k ³¶ú‰R±Ó¯ü +q@gëÂ;³)âêˬš·Ö¤e–þ0› +_ß™k»Šë7’A¤„tLàÏç°†"Ùd<Ö³?ŽÇÆ;ëÁcã CfGßÄwvéIQ›Ë>ÐÜåïHHÖì‡ãùr7<Ë•ž~UFaMå êÕ;/2çƒç„olQÆYzÚŠc í{èv_¿+ÏJc¹ìMmK CEùdD¾Ík;È@Ðç¡×æ&^6,ôï¬mÑ‘P»ºè~Í·Ðð)&ä!¡"z:êÙÇCãõç!i«–‡þõ vÔìÅÚ$ñ—š)‚syR)²MêáJoèýŒÞdñÒ[,½ íö*ã?¹U‘­==Îsk +oG|…^[yðé¦Ê}%V¼ê3‡Ø +7®4RwÜñ sÜej»ÈGÀÚö™û’GèŽøtØÞµ?Û£õÀ¶+ c1$(íÎ laŸ®XfÒ»ª0χ©öî',ðaׇäõˇ}ë^~¤Š«äÁ?/¼ÞdYÿ‰—/†³&LJ994Ç2/„ åâYå¨Ü¥‚ ÷ªÑ·ÆIÆ'Í/6É¿mIú?sc®ö{)0b„œN“2GáDš´›Ç€zs¹SžÉêAwNÔtçÌ=ûãrÆxgýëAŸù—Ræ^]‘ôYµ)…JÞ‹SµWœ¾wl çW¥Å7a¾TéÓÉRN:xº,ýPÙÛÔ¶¯L’t…í"É¢ë’.×®´ýç¬KÌËuBÛz¨ùù¢½u–6ªâ,-·nv—hcL©ükJÅBüYOä Œ¡Ød豌œÞ<ÀddëPm!Ð-¦Ü×­¹±šZA +›œ*DlÂŒìšÍÑ®ú#ScPErðë¥Õg@äÀ?aÔùÒóm‚µoOÐÛž/\vyý‰ÜIœÑ)¨áÁ¿¦ nÄR?åOS7W×µ +endstream +endobj +5141 0 obj << +/Type /Page +/Contents 5142 0 R +/Resources 5140 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 4946 0 R +>> endobj +5143 0 obj << +/D [5141 0 R /XYZ -11.232 900.716 null] +>> endobj +5144 0 obj << +/D [5141 0 R /XYZ 65.161 760.065 null] +>> endobj +5145 0 obj << +/D [5141 0 R /XYZ 65.161 749.106 null] +>> endobj +510 0 obj << +/D [5141 0 R /XYZ 56.693 712.53 null] +>> endobj +5146 0 obj << +/D [5141 0 R /XYZ 56.693 685.378 null] +>> endobj +5147 0 obj << +/D [5141 0 R /XYZ 56.693 641.618 null] +>> endobj +5148 0 obj << +/D [5141 0 R /XYZ 65.161 641.059 null] +>> endobj +5149 0 obj << +/D [5141 0 R /XYZ 56.693 594.756 null] +>> endobj +5150 0 obj << +/D [5141 0 R /XYZ 65.161 595.44 null] +>> endobj +514 0 obj << +/D [5141 0 R /XYZ 56.693 547.905 null] +>> endobj +5151 0 obj << +/D [5141 0 R /XYZ 56.693 520.753 null] +>> endobj +5152 0 obj << +/D [5141 0 R /XYZ 56.693 475.751 null] +>> endobj +5153 0 obj << +/D [5141 0 R /XYZ 65.161 476.434 null] +>> endobj +5154 0 obj << +/D [5141 0 R /XYZ 56.693 430.131 null] +>> endobj +5155 0 obj << +/D [5141 0 R /XYZ 65.161 430.815 null] +>> endobj +5156 0 obj << +/D [5141 0 R /XYZ 65.161 408.897 null] +>> endobj +518 0 obj << +/D [5141 0 R /XYZ 56.693 372.321 null] +>> endobj +5157 0 obj << +/D [5141 0 R /XYZ 56.693 345.169 null] +>> endobj +5158 0 obj << +/D [5141 0 R /XYZ 56.693 300.562 null] +>> endobj +5159 0 obj << +/D [5141 0 R /XYZ 65.161 300.851 null] +>> endobj +5160 0 obj << +/D [5141 0 R /XYZ 56.693 254.548 null] +>> endobj +5161 0 obj << +/D [5141 0 R /XYZ 65.161 255.231 null] +>> endobj +522 0 obj << +/D [5141 0 R /XYZ 56.693 218.655 null] +>> endobj +5162 0 obj << +/D [5141 0 R /XYZ 56.693 191.503 null] +>> endobj +5163 0 obj << +/D [5141 0 R /XYZ 56.693 146.501 null] +>> endobj +5164 0 obj << +/D [5141 0 R /XYZ 65.161 147.185 null] +>> endobj +5165 0 obj << +/D [5141 0 R /XYZ 56.693 100.881 null] +>> endobj +5166 0 obj << +/D [5141 0 R /XYZ 65.161 101.565 null] +>> endobj +5140 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5169 0 obj << +/Length 2390 +/Filter /FlateDecode +>> +stream +xÚÕ\YsÛÈ~ׯ@íËJ©U{.\ÉS¼;ëdS‰å¤ReïÊX,Iô¯Oã -‚¦ÔàªÊ‹ƒžžA}™wã1ïíÙëg¯ÞøÌ‹!Dà}Xz€ ô".A†Þ‡…÷ñü½ÉŒ®ÌÅ¥ðÙù?lmªþriËþ¢^ _þd“×ÖÞöÿü÷êï¿~x‡Ó\r±ï÷Ô®êMfª•1uÕ~³s/ÂÙÙήpúPIïÒ‡8æçyö—g¿Ÿq¤Ï<îù±ô˜CÀ„—¬Ï>þʼ~‡€Š#ï¾¹ö|Î@ȯ3ïêì_glØ +vpK¶´U œ=SŸ„ð;.¶½zƒCº…¨ö™TáÝà_tS¦õç‹Ë€±ówFç•ÍÿxqÉþû›¾Ó+“`òÄ.ÒüÖYO7­%Þ~¼Ý]-î…Jäw WÛÞ÷Yˆ›xâ(öJã-/o‡Ú·ïîO "à‘ÚNÐæíhWú>ð€éûŒCˆÛF™áñ« ñ ˜í–7^ñ~…÷ºe\rP¸Aýëµwf±# û”¼ÝË_˜$Ó¥®S›ÓÐ9•²MšµÉë ´í’6n+¢;£qÝ0ÜØì|+Ì´ –¥]ÏÆÊC•Ñh×–8ÕÝÎÀçqÊC@}1Œvé;Âș٠0 |.{•æ¦ApŒ^m·åß~½ÂimjSÒ^ÞZ'«47åf,AßUérÕÙ¥{àó å ЪI!Nlyn  ¤ Ðu]¦× Úö æ'ˆ­`>ë„h¹Ÿ 6#ún°qg–› ” ùîÿy± ZŸÒ,‹¦,leˆšÎ<Ô4íó„ ¸xQ˜(Õyz§…‰ÎsÛ[Uø­CÇŸ.ËüåþM©‹Uš€-Lþôˆ$Ã͇ÞñÅÅ~eGE1øx90ô‰1ŽósöåŠ÷WÄÍ— +|éÏM!Áƒù ¹KßšÎÌN€¦ jïL„浩É6ìWGã¸5ÑQô’8öãcPu ŽÓd¥Mö‰ù¬^ã_ÞñjÖ«-ž“U“ßšlSM ÉB×ú²2I‹ÓK u['ú1ÎGã«]rÙÜà˜ÙìG¸ÝœÏdÄ„¾˜ È#ún@vg–d?bÀ|“>Pq\Ù5•×¥½5ÄHmiË5ºhä€*Í©Ü6eBäw™f¦"³K8`뛺ɓ Õ/½KŽ€œ? +P +PÃ?ÙÅ{Zï*îP +ÂX΋]úŽ°pfv,‚XÄû=ÖDy(lš×T¡ž%hC÷“¾#Šø?õ}5JžL°”>~FL½¨¥”1l〓ÊL_› ÚÜ ˜ê ¡/SÍhµx»®x>xîÒw„§3³à)ÈQÿ¸Òù v8v‘‘ 5uˆ®ª)MNµ1º%áp—‡s?„’y®šdEÍðéÚi}Ï#„E0cfc—¼£ø:²zXV9ñ%\GMtøE߯¨žRJ|qº(Œ.‰ö‹* {™áƒ~]AäDº™¹3ÙÖ>´cý^——Û{â>,—'‘CÚÍ\ùt…"®~6øŒè»áÇÙ êŸ1rp:í8¡P²W…yzxëÝ¿Ö?à‰,ô4ÉT'uµ)êçù@7©¨÷#”gž"WíZ5”/Ò‡c}N+`Á‹fYUÈ«SgYeèùo¥˜‡ÚäU›;¥û*@Ö¢ÓžÊg D8ŸâÙ¥ï¨xœ™¥+åKðù.ù1ÓeºL©vbÏÛîÿDyy+cÜ|ÿ4.;w­:m9¸Í‹í¬^›£ó°J… ä‹æa•P Å\yX}]Õ¥NjÈmÖ™“ëëÌ,¦à#ƒÁŒÙQÅ$(6_vtDßïÎÌNÀ{›››^€ÌÍý±.Ãa:ÈÑ×e¸Iý,l ^ Pj¾t∾›¹3K—#ûÊ!øó’¯ä’ŸMi'ºoÔôy_:mÆ„C~SîŽ +[D^‰ëïPTèstž]FÔŒ †#úŽÀpfv0"á¶Áp‘VE¦7ÿ‚¶¯YóUS`ðVUú7dàÏØ€7¢ï(fÎÌN³PB´mÀ{mÝP› +ÚBg®©%Ám¨UŒ7Ôž× À9Q€ï5YM–T¯çèPh +ÌžG߶&̽Žè;¢À™Ù (h+wþè ^,÷]C « žüðEã4)%Á\qÚZ瀠=™P5h +`­‹ 1šB6cŒ&y{dd¾mDßQª™ Õ<6¨ö MNÜãßwê‚N6&8ä¥uS*;Åi36¥Yf†êÏ,éžÏžò~­0E3Æ…»ôe×™Ù ²Ë|`á^OñK¨î¯Îm«é©“ƒ§¤«ºŸVb·0±ðf32ÒËÛ¦8ª§l¸ûDÎäê¯Ñ b‘˜/ÑwCƒ;³t4ˆXçC0ø¤Ãó{jŠš(™E?½ûKœ]/¨å5¢ËoË[]Ú†Zµ#÷7Òcì$Iíé½l*f¢`¾ÈvDß3ÎÌNÀL$ûƒûƒêÓ”‰®Nßßd—Ä‘¦JtAõ©èq M’¦,©C#r—Ú¦Ê6ÇfRD@†/Þ_â-yDxó.E\÷!Íßlen¿†4åMš·…'ËÌêêMaõü÷©¥ÍkXêušm×V`Ùž:„k[.L ‰Íl ³ŸJÍG Œ"™š¯©fDßQ“83;A“ȤŠ]?¯‹’~Ü{êáTSëö8ÊT 0ÿE›@ÎÁå1M ïíµ)ë!ÏPëMýµw¶-¦šãE•~~ ÈíWºY¤m»å„‘ÕpƦ ø|iµ}7à¸3Ko•ûzŽëXjkÙëˆnÿó´¿°¦vB÷‚~â_‰ØBëXóÏÑ«âE³›<` ¹:­ªÙk7Ë›5†,]§õãçhKã>®ÀŸ1Êe 2ž/:¢ï¨œ™ ”€ šÜ¦rõŸ·´[±8±²ZÚ£û¦`ýÅä‹b™KPGX"`9M•[¿ºL‚/Âù  ôÿ£Ù¹KÞ ˜Î¬Òqû}ùA0C´õ{vË9z$ÇëàÖ:Ca<Úö~Ma8П7›úhÿ,vÑ +endstream +endobj +5168 0 obj << +/Type /Page +/Contents 5169 0 R +/Resources 5167 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5170 0 obj << +/D [5168 0 R /XYZ -16.307 900.716 null] +>> endobj +5171 0 obj << +/D [5168 0 R /XYZ 56.693 741.747 null] +>> endobj +5172 0 obj << +/D [5168 0 R /XYZ 65.161 742.431 null] +>> endobj +5173 0 obj << +/D [5168 0 R /XYZ 65.161 731.472 null] +>> endobj +5174 0 obj << +/D [5168 0 R /XYZ 56.693 683.964 null] +>> endobj +5175 0 obj << +/D [5168 0 R /XYZ 65.161 684.647 null] +>> endobj +5176 0 obj << +/D [5168 0 R /XYZ 56.693 637.14 null] +>> endobj +5177 0 obj << +/D [5168 0 R /XYZ 65.161 637.823 null] +>> endobj +5178 0 obj << +/D [5168 0 R /XYZ 56.693 590.315 null] +>> endobj +5179 0 obj << +/D [5168 0 R /XYZ 65.161 590.999 null] +>> endobj +5180 0 obj << +/D [5168 0 R /XYZ 65.161 580.04 null] +>> endobj +5181 0 obj << +/D [5168 0 R /XYZ 56.693 532.532 null] +>> endobj +5182 0 obj << +/D [5168 0 R /XYZ 65.161 533.215 null] +>> endobj +5183 0 obj << +/D [5168 0 R /XYZ 65.161 522.256 null] +>> endobj +5184 0 obj << +/D [5168 0 R /XYZ 65.161 511.298 null] +>> endobj +5185 0 obj << +/D [5168 0 R /XYZ 56.693 463.79 null] +>> endobj +5186 0 obj << +/D [5168 0 R /XYZ 65.161 464.473 null] +>> endobj +5187 0 obj << +/D [5168 0 R /XYZ 56.693 417.36 null] +>> endobj +5188 0 obj << +/D [5168 0 R /XYZ 65.161 417.649 null] +>> endobj +5189 0 obj << +/D [5168 0 R /XYZ 65.161 406.69 null] +>> endobj +5190 0 obj << +/D [5168 0 R /XYZ 65.161 395.731 null] +>> endobj +5191 0 obj << +/D [5168 0 R /XYZ 65.161 384.772 null] +>> endobj +5192 0 obj << +/D [5168 0 R /XYZ 65.161 373.813 null] +>> endobj +5193 0 obj << +/D [5168 0 R /XYZ 56.693 326.305 null] +>> endobj +5194 0 obj << +/D [5168 0 R /XYZ 65.161 326.989 null] +>> endobj +5195 0 obj << +/D [5168 0 R /XYZ 65.161 316.03 null] +>> endobj +5196 0 obj << +/D [5168 0 R /XYZ 65.161 305.071 null] +>> endobj +5197 0 obj << +/D [5168 0 R /XYZ 65.161 294.112 null] +>> endobj +5198 0 obj << +/D [5168 0 R /XYZ 56.693 246.604 null] +>> endobj +5199 0 obj << +/D [5168 0 R /XYZ 65.161 247.288 null] +>> endobj +5200 0 obj << +/D [5168 0 R /XYZ 56.693 199.78 null] +>> endobj +5201 0 obj << +/D [5168 0 R /XYZ 65.161 200.463 null] +>> endobj +5202 0 obj << +/D [5168 0 R /XYZ 56.693 152.955 null] +>> endobj +5203 0 obj << +/D [5168 0 R /XYZ 65.161 153.639 null] +>> endobj +5204 0 obj << +/D [5168 0 R /XYZ 56.693 106.131 null] +>> endobj +5205 0 obj << +/D [5168 0 R /XYZ 65.161 106.814 null] +>> endobj +5167 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5209 0 obj << +/Length 2012 +/Filter /FlateDecode +>> +stream +xÚÍ[Ksã6¾ûW°r’ÂàMb÷”Éc’I*›Œ½µ©šÉ¦ eŠÐí¯O󡉤±\MQtæàM6  ¿¯ F‹ˆFo®^ß^½ú^ÑÈ£¹Žnç‘æDÇQÂqt;‹ÞOÞÙܦ•½žrE'¿ø`«örîËö",»‡ßúìµ÷÷í?¿ßü|ýÇí[hfÊ1JµÚnÂ6·ÕÒÚPÕ¡u%кu뚥ˆ¦Š˜¸kŸq +ãdòªýaÚÔo^}w{õñŠ~±Hi¢ˆbȦ<ÊVWïÿ Ñ žDš$zl$W‘b”p¡á:n®~»¢ÝPГC²Ó- aT·F}à\5Vì^{õ=ˆ4‘õ; ‘:ð[WÞ§×SMéä'_Ùû]O¡St2³ót“²)\¨ÈŸ«üß­P¶Ü÷¶$~Ö›@V6,ýlïyðÉ]HØ®íÞýNÞ3[´ƒkÔžM21DÁegÕJÂè§+Ö^5Ý‚«{Vÿ¼9j˜"ó(0RÖC]ßW4†™Ó'&1Qi£ùþØh{úîç ð„°Díh³Zz¨~E˜fÇúe$†9ô°ïwšn.`l£°\DíŻΜjg¸`DÆ¢Åÿ®gi°³_ü\Wô¾quZ¦àM¶Ä‰ƒh +ÚSœtðH9  ”`aq‚ÀD«4ÈÂȬ#sV£‡8ò‰ßÓTB9ቸ •¬ÒbG7Ά|»Ï.ä–Ì}È<]¹ƒgsïC¤N*»&@ô3àué׶ ÎV£³ˆ6œÎÆc0"4EŽôc‘áÆâYD'’è.(=›a)¤98É´¿JƒóE…{ÁX +éÉcg„X°É'.·Õ¹t¢ãR'ù’t¢•Ž`gÐÉ;@o™à&¤Ûà‹£T6«GŒd@©+€ \Yà ìXH0̘Ñ-$Qr»?—2T¬I¬Ìx|¨ 6¶‡'”PÙR¾ÎsÿX¡]2¸btw|ÄÃIb³ÇÆÇ°1tîÏw/Aâø%’R”$*¾àªõÎÝåÎ/Êt½Ü’ª® ö‰@Ì1jÄÄa„À‡úx°±=,á\ö^;殸¿l-éî'‡]2bIÿÑ…%v]Ye¥[ã–~Ž%%›¹Wiy¿YcKj=[è¸þãÍ´¡ÈˆÚ âu鎖ØÀspuù²”G%¡B]6_¥÷–lmZ’2-½²niÀžXŒÇy2„±ñVÔGú‡qÞpcñœ'M$íj,ßäiéæ[l½;Ef§«MÜ›<Ô„“ì +7È,+-‘”öãÆ•GtÒ#ƒ‘2®^ÏRÅ„3~Y<»yLË2Ó^P–`ʈًšpÃÆCò¡þHll$ CTlÚi½Ý”èØ Þî žxa²sdôÜ¢ ÞõÆòÙÀ„üNPþ¢À„ÉæKYZHJ‰äÉxà‰NŒW8Ò? œÃŃSNb¥{/-ª>UntfÛn,ãkÏd·'£m–ùr†n»0ê““g®Ý¦CŽt¥s™EÄ QãŤCõ½~¨©=œ>CMWéÿ{êaŸáκÓ>­ŠÝ!´X0c]{Õ {î-Ÿœ…çã~©Ç%ÂæîW§u»ÊwØòè†ùûè†ÜI%{R1‘€ÔNfŠ¶Ž÷÷Çž†Ë±­ÇÀyþùçh?lóܱZ?”®ì'@‡ÙŒ"4Ñ@7”$» è+ì¨Cö¤Ìx‡[Žô$ÔÁÆö`TeHÒê-ö¼YægØaZ¡7ž:‰ÁòÙÛ´@în|ûàËôÞ?¤=KmB ¢©xÉ€~/»2_¶çÙBz—osï;!Å §$u­@ÍÞFÏå1~ ~ ćšÚáLºÛŒêuÆ%õH·k¿@C}ïÐäå2ùÖ‡±Gîе}Îpš18ûàŒ šÄÉxgxí`±2ûTÂu½ÖÕj™$ŒgPŒBÇ~p‹e»Üðˆ—h4å’ˆÝÉÛÝWsŸçþš«Écý^s+[6…üöŸezÍéäáš©I÷ƵE{µ‚¹ì>šð<Ñæ`b¯m–H’ÞQÜòyKcI8g;á&Œ5º+Wdöè €7'´½.Û/;ÈáèÀ#@›‰ë b(»`Q&›.ó=òý³ÊÃ2Ÿf¾˜»EÊå5ÍÐwA˜I@ãx» Gú‡‘îpcñ¬Ë)8à_Hyæä¶3€ss¼ýûìò¬yí×Qr·×å¦@2ÿ›]-Ã{/3ª©¤½$ñ²š9vŸHÕÄËž$Þ_Ëš!ýJyþÅs/Äõ¹;a&t›'ærÄ+¡Ðçó‰÷™\¸í‡®ÀJÌ‹t£æ˜çˆÙmspr¼Bø¡úaD;ØT<Ï6G<ãO4ûO’,ú+¬ ô8ŽŠ-”ofÎÖ°ºl&üèËYåþvE»&‹1ÖÉŸ}Ú*)pƒ9çËÖ¿ÊÜ9 +endstream +endobj +5208 0 obj << +/Type /Page +/Contents 5209 0 R +/Resources 5207 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5210 0 obj << +/D [5208 0 R /XYZ -11.232 900.716 null] +>> endobj +5211 0 obj << +/D [5208 0 R /XYZ 56.693 741.748 null] +>> endobj +5212 0 obj << +/D [5208 0 R /XYZ 65.161 742.431 null] +>> endobj +5213 0 obj << +/D [5208 0 R /XYZ 56.693 694.926 null] +>> endobj +5214 0 obj << +/D [5208 0 R /XYZ 65.161 695.609 null] +>> endobj +5215 0 obj << +/D [5208 0 R /XYZ 56.693 648.103 null] +>> endobj +5216 0 obj << +/D [5208 0 R /XYZ 65.161 648.787 null] +>> endobj +5217 0 obj << +/D [5208 0 R /XYZ 56.693 601.281 null] +>> endobj +5218 0 obj << +/D [5208 0 R /XYZ 65.161 601.964 null] +>> endobj +5219 0 obj << +/D [5208 0 R /XYZ 65.161 591.005 null] +>> endobj +5220 0 obj << +/D [5208 0 R /XYZ 56.693 543.499 null] +>> endobj +5221 0 obj << +/D [5208 0 R /XYZ 65.161 544.183 null] +>> endobj +5222 0 obj << +/D [5208 0 R /XYZ 56.693 496.677 null] +>> endobj +5223 0 obj << +/D [5208 0 R /XYZ 65.161 497.36 null] +>> endobj +5224 0 obj << +/D [5208 0 R /XYZ 56.693 449.854 null] +>> endobj +5225 0 obj << +/D [5208 0 R /XYZ 65.161 450.538 null] +>> endobj +5226 0 obj << +/D [5208 0 R /XYZ 56.693 403.032 null] +>> endobj +5227 0 obj << +/D [5208 0 R /XYZ 65.161 403.715 null] +>> endobj +5228 0 obj << +/D [5208 0 R /XYZ 65.161 392.756 null] +>> endobj +5229 0 obj << +/D [5208 0 R /XYZ 65.161 370.839 null] +>> endobj +5230 0 obj << +/D [5208 0 R /XYZ 56.693 323.333 null] +>> endobj +5231 0 obj << +/D [5208 0 R /XYZ 65.161 324.016 null] +>> endobj +526 0 obj << +/D [5208 0 R /XYZ 56.693 286.867 null] +>> endobj +5232 0 obj << +/D [5208 0 R /XYZ 56.693 259.314 null] +>> endobj +5233 0 obj << +/D [5208 0 R /XYZ 56.693 212.308 null] +>> endobj +5234 0 obj << +/D [5208 0 R /XYZ 65.161 212.991 null] +>> endobj +530 0 obj << +/D [5208 0 R /XYZ 56.693 175.842 null] +>> endobj +5235 0 obj << +/D [5208 0 R /XYZ 56.693 148.289 null] +>> endobj +5236 0 obj << +/D [5208 0 R /XYZ 56.693 101.282 null] +>> endobj +5237 0 obj << +/D [5208 0 R /XYZ 65.161 101.966 null] +>> endobj +5207 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5240 0 obj << +/Length 2225 +/Filter /FlateDecode +>> +stream +xÚÍ\ÛrÛ8}÷W°j_쪄+Aî>íd6ÙI%{»fS•ÌDA'©å%²çë·)R¶H[V3 “y±i +l´}ú ©wëQïÍÅ7ó׊z! }î{7+ÏçÄ×^ÀÚ»Yz/¶‰5…½šqE/ÿ™•¶h.WYÞ\”ëöóè‡,ûÜüñáúÝÕ¯7o¡›c$Tª±v]Þ'¶X[[õÇÐ;óèÝuïº×Rx3EBÝöÏ8‹:¸œ7¿˜ÖO^üýæâ ìSyÊ'~(<2âSîE›‹¿Ro ŸD†·Û·ÜxŠQÂ…׉w}ñŸ Ú†‚vBÂ=h¦U¸ÉÁ¸ £~ë•$Œïý8<è}œ1Jéå»xÑ~³ã¸B¸$Âo¿9Äl•%IvÅÕå.No›[ÑÚ¤·‡(¯Í§—_®˜ºlŸXX›6W³lï•ÙãPìûwûf$Z×_yßwò¬ƒÂÄÅ¡M”LqÙÞ@3¢9¡ÍuÞ¤éÆbÆ©", ᆒŠÆê'ÎU§ÝÞÑýðËÚ‡€H?8¸ð>†@ØäU´ÜÀOÈÂ{½‰Ëõ_®fŒÃðUÈÝÎ.£eµÝú×›nz@Z1Í=?H Uõ}E5d›ïq¡—[ouœkÏß}ÚÖ$dþ¡ƒÆ0«[»Ú‡hú¬o_Q ˆ¦‡c¬ø$äáÎî æ·^sñs žÎáT6#ûjŸàËN&<µxªÇ;5‹k™­pí¶¹ÝÚtÙï嬽ñô©Ë­A:[ÚÍ61%Òa@-Îa3ÄÙ¢Ìk*AY6)ö‹í€²?cǬè}±óÀ¬SRéépÓµïˆggàFÃl%Û¹3.qáLŠk¸D&à"+׸–y|».ûÉ:?¬‰]•h,ûy –ú}± \¨ÿÄïÓƒÏ5aL? âÙ‚áæ*òÊ’â]6”'\JÅ`¼ÂAДl >Qá°ˆÓ¿6·áj¾Ì¢®³»"™UÛåŸÍªš‚ÀŸ® P +¢À§#Æž}7btwOŒJ…„³–ŒÑ¶˜ˆ 9Ój;îDÞâì|Ã8-J“$'ÈîÙY@•Gväê¨[˜•’ò˜·Ç@×¾#œ®Úy¡%°U"PÝ€ÖǤx6â<Þ–ß 8î8m:†Ê:ë[þóIËÃßVù6+ìPtI( §CG×¾#:œ€¡ ÛÒ + wk¨]Œ›à+ÅI\¢A•Ó=Ž÷i4éß ¹µl.Êo†òóÐâ‚P5²:æåêê\qŸ4¸*R³-ÖY_ï퇨®¾OÇ™¼(ŠqWòçQ«¬’Tœêóoª$e  Ú}’òY!ùáúÝìÚÜeé BR}!Y«¬«Y­Oø +_Zz\±æ +—½’C¢êp:Å*ŒŸŒ7»æÝxÓÙU›î„XϾ#O9;‹ç)^Ç<¼¯ô*ÛÆØ2)û‚]^m“ ׸}#ì|÷ºÈòö®´iñdolÈ,'Câóð›îæsˆ·óÕÉíüý£ž Øο;áë¤ÛùSo>ÛUœØ…"sŠÈ•œòX‚`:ÊëÙw£€¢ÊS4å­õÍq" v¢3è2-N–xÃûgžî2ž<öd7@ëÈƇy¿ŽÖÏãCÐcÎ?}»öÓ×ÙÙé+ / 9Ï‚§OˆTÛm–½#Eðrèaļ×c}-‡¾ ÈXX¿?YÆvÌ;&¬««òµ>L¦ÚBæéHµÁ†bç ý„L†û¬B«Kä"I•ç6-“{ì1ôzçûzÏç$ ˆfÓ-öì;f¥³³Ò²þ‡a»p¸‹±ï®byÆš<‰í0VœšÏ/G¢±“ZlÑ„]멶·¹Y}·%„ªYM·üØ5ï–ÜήÈíú@›<¼‘ûõéÒcæó£šÏŸb íÉÿp‘õñúðkþ…ËÿÜCH +endstream +endobj +5239 0 obj << +/Type /Page +/Contents 5240 0 R +/Resources 5238 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5241 0 obj << +/D [5239 0 R /XYZ -16.307 900.716 null] +>> endobj +534 0 obj << +/D [5239 0 R /XYZ 56.693 759.068 null] +>> endobj +5242 0 obj << +/D [5239 0 R /XYZ 56.693 738.489 null] +>> endobj +5243 0 obj << +/D [5239 0 R /XYZ 56.693 691.874 null] +>> endobj +5244 0 obj << +/D [5239 0 R /XYZ 65.161 692.163 null] +>> endobj +5245 0 obj << +/D [5239 0 R /XYZ 65.161 681.204 null] +>> endobj +538 0 obj << +/D [5239 0 R /XYZ 56.693 644.053 null] +>> endobj +5246 0 obj << +/D [5239 0 R /XYZ 56.693 616.5 null] +>> endobj +5247 0 obj << +/D [5239 0 R /XYZ 56.693 569.49 null] +>> endobj +5248 0 obj << +/D [5239 0 R /XYZ 65.161 570.174 null] +>> endobj +5249 0 obj << +/D [5239 0 R /XYZ 65.161 559.215 null] +>> endobj +5250 0 obj << +/D [5239 0 R /XYZ 65.161 548.256 null] +>> endobj +5251 0 obj << +/D [5239 0 R /XYZ 65.161 537.297 null] +>> endobj +542 0 obj << +/D [5239 0 R /XYZ 56.693 500.147 null] +>> endobj +5252 0 obj << +/D [5239 0 R /XYZ 56.693 472.593 null] +>> endobj +5253 0 obj << +/D [5239 0 R /XYZ 56.693 425.583 null] +>> endobj +5254 0 obj << +/D [5239 0 R /XYZ 65.161 426.267 null] +>> endobj +5255 0 obj << +/D [5239 0 R /XYZ 65.161 404.349 null] +>> endobj +5256 0 obj << +/D [5239 0 R /XYZ 56.693 345.882 null] +>> endobj +5257 0 obj << +/D [5239 0 R /XYZ 65.161 346.566 null] +>> endobj +5258 0 obj << +/D [5239 0 R /XYZ 65.161 335.607 null] +>> endobj +5259 0 obj << +/D [5239 0 R /XYZ 65.161 324.648 null] +>> endobj +5260 0 obj << +/D [5239 0 R /XYZ 65.161 313.689 null] +>> endobj +5261 0 obj << +/D [5239 0 R /XYZ 56.693 266.181 null] +>> endobj +5262 0 obj << +/D [5239 0 R /XYZ 65.161 266.865 null] +>> endobj +546 0 obj << +/D [5239 0 R /XYZ 56.693 229.714 null] +>> endobj +5263 0 obj << +/D [5239 0 R /XYZ 56.693 202.161 null] +>> endobj +5264 0 obj << +/D [5239 0 R /XYZ 56.693 155.546 null] +>> endobj +5265 0 obj << +/D [5239 0 R /XYZ 65.161 155.835 null] +>> endobj +5266 0 obj << +/D [5239 0 R /XYZ 65.161 144.876 null] +>> endobj +5267 0 obj << +/D [5239 0 R /XYZ 65.161 133.917 null] +>> endobj +5268 0 obj << +/D [5239 0 R /XYZ 65.161 122.958 null] +>> endobj +5269 0 obj << +/D [5239 0 R /XYZ 65.161 111.999 null] +>> endobj +5238 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5272 0 obj << +/Length 3444 +/Filter /FlateDecode +>> +stream +xÚÅ[[sÛ6~÷¯àÌîL¥ &@‚»Oiºé&“nÚØÓt&í-AŠTI*¶ûë÷\x3í@‘Õ}nÎå;çïÝx¾÷ÃÙwWg¯¸ï%$‰Xä]­½ˆ‘(ö H{W+ïãì½ÌeZËù‚qöß²‘µ.®ËJšéü¾\~W–Ÿtå×Ë·ó߯ÞÀ2 JI¹ží²¹Ïe½‘²©±V§ž€Õ£Waù8 ¼'IlÖ§ŒÁŒ±˜]è%øåÙ¿¯Îþ<£0¿ïQG$J/N(‰|æ-·g÷½ô$L„w«Fn=N}‚ʹwyöó™oXá?Ê;w˜êGš¨ß㊠+ûÙÅ+¢6â7‚„‘€5øÇt_eÍ_óEäû³72-ê²øv¾  ªwiž,¾¨«åŲÜ^·i^o.TóÅ/²ºN›lKþH?§ÿÒß?ùfiÂ{”„"!Š†–ß|ŸÂÒÔoKT—Ôf@N¸üùaÈ` ™À0Û¹ƒ¼"‘D$^%½uŸ£ƒÙ¦[.À¡"´ è‰)Ž>v~NhDÇósŸ’$å²B_Û"’°äˆUV7ž.¼7ê7P%Kx@I RR|±ZÉÕ@ÿÎä}Tú²-WÙ:[‚•EíöI]ºk6iã:Rº ,ä­ÛÀešçå~¸<0†˜†‡_ͲeY0¼Îþr¤y—VéV6²rž9J¡I?ÉÂqÊ¢qYº\–ûbšmcàˆ–ÞâFè›A¢7(V:iÆ,\A„Æðót6>œÿH?šXœø"<ñ §ææÕf¬)_f¬E§cìpþ#{4±€§N‡š±'²×}í +É99 |õÎmáß|î?Žq·Y9‚Üå/?8"xyûÌ8èê;VrîsGtS¥»M¶¬%¶uõuÎÒ5.¬~4hKN¾QÂIàÇO›Ý˜â±>Ýÿ7Fk>†®³Z9ÍVúyÀHG‰ <áV2œgÎ3Ðä˜Øù‘ßGs–(JHèógÎYêô®,">NATóÅ+e*/µn»$.'ÏY"LÙér–(Ö‰àdnw4ÿqn÷xbÝÝnÆÇôàœeY®ä3ƒí,dIPqãèIM›¦Ê®÷x*â檋ÃKà6î?W?¾uÜW±úb”™3v1áìtÇ£ù4±£‰=ÀÄBŸÊlÊ k礵Yn\•Véuî8ñ²*ëz,æÅã1h%ׄKWZ\3Ýà h—§KWtº¾w4¡J¦®xWV«¬HÇ(rˆ°\æérêÑüGÈÑÄ` ,!‚›œúµc [VŸêçö@:ã øüQÓÐYe‘¹{CgÐnä]s„¢—”“È?Ý‘Ähþ#õòhbÐK*ˆHÌ‘ÄOiå(rí¨–ÙÝ3ëïõþfê„á4Š9§ÁÜá¼áÀþyQÞc¯«r|žzhþF©ýù‡D(öƒ¯Éß²å&•9Ê£Ùâ.µ|.·Y³qÊã>Èë:k¤ëÕÓɳ8+Bzº,ŽG‚Ä‚ ©Fó‡TÇëŽTK7Vt@0²\0! À6ÐÛîé¡äÈPÚ4›í’ù"bv5À½ŒIU¹cQšs¨±pVKC³9¶÷`¯háAŸq«i¾GyF‰f~Üžõ_¼¢>ë{ áÅx7WžØR,ˆï·—ÝmZI#vq Sû˜¦ì؉Nõú^S¼‚ˆ„‰çØβæ›9ç³Z¯×ßhl/=FË'€é±|Ê<9 DoqˆXÌýaZå¾Üëù­˜°±§É±ß‰éáúfô;G­¾“ÅB‹/ a Š¯™Ô%Œhƒ–€[ЧZ/ qGVèr:A-Ž˜‹ÂÄï¸1µNX0ÜÌ*ûì0ÐÆg:3(RWÀý)ó¬žÒ=à$Ä5vdZÉŽùr¥Ë¥âít}èsvö¨–ÝÝN‘/ú# ùûZš™_-¸ÜW•T0 +ÕnöéµÍ8×nÁ˼mFMA%cÉìµÂÅȨg«²øfNŬÑí­ÆA¹qHN¡Gà€×+e–0vÅ`‹AôrZ÷À'œM謣Y<ËåÚ ¡t¶½P õ(Å–È´±ýÝÐ¥™ÝiÙBQ6†™~~9ZJ+ùÖE–V­W §fÈûÚô¯²z—§÷ö[e;Ø\.÷[i¢æ   yÊ.ZmÌöa®´}…þIyz”)skW¤T¿ïË}±·°;×õw;Y¼[+çlvÐú*ãàG¢ƒ¿¼øB D=.ÄJª²hAa3¾å }@WŒ1* Ýtûµln¥4Ë+3gfšõ—í&ÌŠxÅ åXü»ï_é´ ;µó†BûÄ+¿*ß…MŠ’ÕÄX:t®9~þ¨¹ð,4#aÌðZ¹NlQÞ~‚šš!H­¬ò{ýå&] æBþä¹\6îÒÒ¥dMn],H +N#k@æ C, ÀÞõ•ÁHŠêz|"Ã¥>.{Ú¤¦ X¦>ªŒ« +ó£!DY/>ܾì [ðmõv +;IK¾ÕtP'¨À”#Ž‚ÕtÙìÓÜèý²ÜÉQ|»ÛW»ÒÌ6¦Ìó‚Ú6¨Dï„b`aª9ºÄp‹ðÆ(±§pT¥>ª0²¿;Bo;B¥5=pÚp¨RyôѺ¶”Ùk{—‘m³F¿´AÕÖ°óƒŠFÎuÇغÎ'ÍÀ²ëÅn—fý„$gª‡@WѨýr]•Û©gÇ?¾= _«Ä¦M~†E^\J#ú?÷²Ö'@|…xùîå×¥€c&5xëÙ„îi…‰»ªDÆ|Îtâ…!v ·Pѯ°a\Öîa‘àuoùzû E»¿©¨ü¯ßÆ=fyÅX°±é¹$¨¾=ȦØÓF +Ðn¼›Íðóbhâ“ Ý×”c;4nOŒqqÑ£k†òs]Ó‰Lt/”Ǫ²Lä,TDTw´ÏS’¤)—ôúÒ Mî=`Oç(I˜ŒsµÍAŽˆ¨ËQ&Ј„%ŽÙHp“àz*TÄBwo8æÎ"ôq;£´âKLŸÃNG´q¥°-¨½ëWŽÛÚ ZØdqX×´ Awªë=…˜¹ä¹î6ç“ù6'4ŽÂFšPL9R+FåŽëóÉØ—ÄÁpÂG²˜É kÌuÐhfÈè ÃÒS¶Ä ïØnCk¢ñÿÊ:Æž’é†~æÛó…ÉÊ@¹Š¦ïúGJ ÁíÝ[ÏÛËðHOÿÎäŸp‡˜Žÿ ôþ ‚Oœ“„¶ÿ±gmÝRÌTˆŸöù(þfâ¯+þC˜ŸD’tÒšÐ÷þ” +”õ2ƒÍaF ¿sHT¢šÒõzo—îH “³`'Xª¹ýJA˜=sP£Tô†ýÛç2_Kݨ¬KQÒÈ• Ãú$'É×üOö°>w +endstream +endobj +5271 0 obj << +/Type /Page +/Contents 5272 0 R +/Resources 5270 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5273 0 obj << +/D [5271 0 R /XYZ -11.232 900.716 null] +>> endobj +5274 0 obj << +/D [5271 0 R /XYZ 56.693 741.747 null] +>> endobj +5275 0 obj << +/D [5271 0 R /XYZ 65.161 742.431 null] +>> endobj +5276 0 obj << +/D [5271 0 R /XYZ 65.161 720.513 null] +>> endobj +5277 0 obj << +/D [5271 0 R /XYZ 56.693 662.046 null] +>> endobj +5278 0 obj << +/D [5271 0 R /XYZ 65.161 662.73 null] +>> endobj +5279 0 obj << +/D [5271 0 R /XYZ 65.161 651.771 null] +>> endobj +5280 0 obj << +/D [5271 0 R /XYZ 65.161 640.812 null] +>> endobj +5281 0 obj << +/D [5271 0 R /XYZ 65.161 629.853 null] +>> endobj +5282 0 obj << +/D [5271 0 R /XYZ 56.693 582.345 null] +>> endobj +5283 0 obj << +/D [5271 0 R /XYZ 65.161 583.029 null] +>> endobj +550 0 obj << +/D [5271 0 R /XYZ 56.693 544.806 null] +>> endobj +5284 0 obj << +/D [5271 0 R /XYZ 56.693 508.641 null] +>> endobj +5270 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R /F57 861 0 R /F102 2555 0 R /F110 5285 0 R /F112 5286 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5289 0 obj << +/Length 2142 +/Filter /FlateDecode +>> +stream +xÚÍYKs䶾ëW°*UñLʃ%À·sÉ®7²Ë嵓¬©ZûÀá`4¬%‰ A®¤üút 8¢´ÒÚ%çD¼èÇ×_70ap„Áwo®.^]&aP°"ipµRÁÒ,ÈyÄ¢,¸ÚVÿ’,µ\oD®~RƒÔ¶¹W½m š|«ª7J}´¿ÿqýëÕp̆sV$‰Ýíýp×H}rÐ8 §ó ‡ÓÓOáø,Ž‚MŠŒÎç"‚³|õÊ~xZà//þ~uñŸ û‡’”¥Edgi(‚ª½øðkì`$`q‘7fe$6%¹ŽTÖIè<  +b)~‚*QqO»©ù–NŽýZ€‘e/;ZQ©Æ©€ú8‰á¤º*éB¶NÁ Š’*eO šºû¨QovŽJÕ!BV`Å‚eaaÅý–°m7jËþ£žËîë³·‹[Û{Ý ²ëH·ïÕèX¹Ä4.Q[‹(Ù?/"fE˜ÍÝû~<UOJ’j+¥³én'wgÜv-;Ù—_´nÿˆbǾî†Wÿx{y_OÚÇí?êiÇ'èÌÖyî §´çwÊX˜6Õˆx½ÑãVõ0µ"ÑÀÛgÚ´e‡ÈÖ3ežjr"¨«eÖá98‘!Ĭ`ÌÆÚòÈU• Ð\â4f)çî÷e·[<$ƒT=奇ÅS ]L§˾lå`Â;h-ÂÕ'tŽ´#IزH2De!MfHtA)»rÛk ÇÖ²w1ì-GØsÜô¨2V'j{nÕì  ²æF#†pj;ý" uŸ2Wí°áÔ„öõÍ2r󙌶¡—Mbtö»J™pÄ®—…L‚„f¬ø%û 8UK ¤H¿@*ljð^Ùo+“!àÎ×àצÖã4¨«\iY|#{’«õœA òæëdŸDÙ,Õ? ŸŸT°›u§Z¢èªìqQœªÞƒPsçc¤þ¯Ü=ÜŠ(»CÙUºÆÈn1#<F0•<“ ~RÈÞ7° O©h„ÆÙþ8åö7=CGæ +`Æ°àìÐT–ƒaú¦¶­i°—&3V´Õ Ø»…YÛB1“ ¥ÛV6 ƒfQ¬^7ZaUñM&÷·\p5pKs߆_Û¡›C]| ,¼}“؆gðýØUÓ% øn&«g»tV™'ŽdÚ#„˶6»>Ó—~¿‰’xÕ9çbøKCDaŽQ5QîÅéIì$ö3‹ÚƒVh&³‚FoÛæ›5_Õ;[žlR!œo¢<\ܼîöÊÊq‚€ÙÝèK¿äѬ>Nœ˜«²Q†pÓÜ๷ƒ±§á¨; }žE„3@~ƒÿÔUè¸ÅÞþ¾ƒ4ƒšSÕ 3Îÿt( +cð S½„P±± +SÛ;;jòÚæ|£Ü2 +Ì׃SÅŽäPtÆ®DXÂSÜTÀß®|©€C¦âÁÏs½ôŠŸéê¨}<™ø°¦}àܪFʳÅmÝÕmÙ¸ú7·ãñÙÑòýÕ;ª½ª¦ÔK$Mcɘ7®¢ìvcMWD™ Øì·ŽµwòKª),¹€â$ XP¸Ì…-¼‡ÉÞd1˯Ø5 \8wˆÉ¯¶ƒ8B‡¡Gáþꇄ°C5Mù%0t·$Jy<6wˆ¥dI™@?Ǩ³ÜùÉ ™~ ­ú Ô›ÀyCplÜ¥L;׎ñ'`Ÿ,™8K>Pwnëjc.pþ5s +"]gÀ+ÇA5åV6úÙiÚÛ]-Áúˆ8\™·àtiXÉ°[»ÁJwkÀ«B£;ÇQ4ÎTÃuóÃo²ó'lÛ¾)ØvM'Ùª ËÅê+»¹Ùû«E^ëçÕëŸÿt›¦ü¯ÌÖíÎ2"a"Éüø3×æ± +MNpps9”õä,/©˜ß/Ð#’t§¦~ÕŒ»i_ ØkÐLy©½7‰é.?¿’Ì/·m9…Fm "¥ÐƸ#hóÞw§"à!Ë’ÂlE,Ibz£Kà×þúàƇ@ߪ¶UÝÂí*4&æÉç-;3ÕÓT¼ÊÙ½Áx»IÒ¼y¤gov³lcÊpzèÒÎ#Žê(V·òLÇcEGõö­ë¡¡Gÿ&»¯ä\?ÇÚŽN©ùÌkKÿpÆ! ÓâKþàüNÊØ +endstream +endobj +5288 0 obj << +/Type /Page +/Contents 5289 0 R +/Resources 5287 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5290 0 obj << +/D [5288 0 R /XYZ -16.307 900.716 null] +>> endobj +554 0 obj << +/D [5288 0 R /XYZ 56.693 378.597 null] +>> endobj +5292 0 obj << +/D [5288 0 R /XYZ 56.693 350.427 null] +>> endobj +558 0 obj << +/D [5288 0 R /XYZ 56.693 205.465 null] +>> endobj +5293 0 obj << +/D [5288 0 R /XYZ 56.693 176.672 null] +>> endobj +5287 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F113 5291 0 R /F57 861 0 R /F102 2555 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5296 0 obj << +/Length 1302 +/Filter /FlateDecode +>> +stream +xÚÍX[oÛ6~÷¯°=ØÃ̈ºÙÞ[“®ë†tÃ(õ‘Žm"”¨Tœì×IÉRì6+<'Oâß9üÎM¾·ö|ï—Ñùrtö.ö½Z$Aâ-W^ dæÍqˆÂ™·Ì¼ëñG`@$L¦Aìç +¤i®¸0 µ±“oyzÎù­é|ººœ|^þ¦¯™bŒqlN»R ä@ÉzZߎ½¹¾= ëÛ#}ý, +½iŒ3{?"}âl>>3œ,꣟—£»Öçûöâ%‹Ð›-0JüÀKóÑõgßËôœF€¢ÅÜÛ6+s/Æ> +ÂD·™w5úsä[UøUâÎŽû‰õwÄ Šáv÷={§·tgÌQ”ÌõD³ùAÀj2M|\ð­iȪ,¹Ð:izŒ·?mô²Í@%i±¶+i^2@Í3¢@¨h ÄÔ ˜b=Cˆ°š OAYȤÈL#%Œ™U滥jc¹©tC„„»¾@òùÅGèM–Rq)x +²{ÅR‘ÄÍ!¿aÚÚrr(Ô‹ÉaHe:¹6ª¼´P‰¸µŒ£…ù¾)1÷¼’OYxÚ‚fñ¢> Ѽ6áÆ`cö6y×Sì×ç-?\Z£ßU€öA„ÂÄʾtîdÅã“ Ö|©õ^iškç€6døãû ŽÇvÇ @aZ9ÉìXýTÎK5w÷‡çšÍ§ºÊÙ„A‚"»E)wgkB¤0p‚Í0¦-Œëì«PK«"ÖîM¯A ?üÿŸ\ê¡–»kÆ¥$âÑR´P‚‚|M½Ó¶D-âiß܈ÛØ,©¡[)î*ŠòBö×g<­j4½å§u‘ä°CéIîàÞAÉ F¥:è_ÌYÝãoNäa¦¸ ÏÍ ?4á½Ôsogi_Y’uã¾eì‘N[pÆ ë»”)Qš‹7• *¹¶³/Ë…#EəپXÈú~"HÊùt÷X!÷—I°ï”ÁŠTLín>©Ñ]ðâ㺸ÛÉÙŠ20¢J:‘6ð5Ñw>kA’?¹©Ðú”.9° ¸qgWRñœþã’sag´'¥ìñ…Bé3_{ ¢à Ê=¹pÐ 9Ô9wÎD@Nhц +ZèÅò0‘¿hBqöl‘²díÉ}ÊçZü±]tOŠ./wèKØŸƒö_rðc¼î¯¹v¶÷Ð窓¤¨bø[.n‡ øŽD¬AµÆ_D’¯Rµ7»é6:ÖOxZä9R°í`ý†‚¯¤HëkÕÄä=8u&ù^ë?ÕFÄ”çe¥H™ãà@nå.”3îýŽÌŸsq订ÎJˆ5YBJ‰ ˜D«*çh±â§%Õ;úÐæo9YëQ:Mñ6Sxúœ:-Áìøš·¡`%xÞþ)%¡-­¸Èä>ò9Ú6õ¤y*dw×7­ÑÞ¢õ)J2ÁòDŒA¾î +6¯á®÷¢Œ}â#V±aŒüù‘«XG¬Ì•~-ϵ`ˆWJ{¤u]ׇu‰ ¨K¦l«#[òmè^¥HoÛâƒ×~±MBö›ÙVЮ„^Qg%Q›Lvè´}‚áÅ]äý¾–™pÊ*—J:Tm¶ÝÜaå¹Ðµ»»ð;Ï5¡gv궠ëÒöµçV’¦œi> R²·¤ `ýÚ%Ð žH]ešu¿½¦U¹Ä\@S~÷ù±ïïlä#?Y|ËÏÙ.?µI +endstream +endobj +5295 0 obj << +/Type /Page +/Contents 5296 0 R +/Resources 5294 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5206 0 R +>> endobj +5297 0 obj << +/D [5295 0 R /XYZ -11.232 900.716 null] +>> endobj +562 0 obj << +/D [5295 0 R /XYZ 56.693 673.858 null] +>> endobj +5298 0 obj << +/D [5295 0 R /XYZ 56.693 644.85 null] +>> endobj +566 0 obj << +/D [5295 0 R /XYZ 56.693 244.407 null] +>> endobj +5299 0 obj << +/D [5295 0 R /XYZ 56.693 214.019 null] +>> endobj +5294 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5302 0 obj << +/Length 1724 +/Filter /FlateDecode +>> +stream +xÚíX[Ó8~﯈$¦Ú©›K“¶Ë,±ÄÎi%àÁMÜ&jjÛa~ý'¶s©‡!–}Ù‡Ñ8s®ßùα}oïùÞËÉÓÍdþ"ö½5Z'aâmv^¢dé­‚EKo“yÎ/II° ÓYûço™$¢]îo2×/Ÿ±ô)c‡öáï«×ÓO›?AÍ,Ð:Ž[iWò¦$"'D +õ´Þ +´'‘Ò¾õËEäÍb´^jýAƒÄåê|Þþ ’µúrò|3ù< @¾ï^œ dyËu€?ôÒãäÃ'ßËàX€ë•wÝìD(Þ–$»hw]çEš»"œ2*9+…ÙF ?¼}xøúÉÛ—íò .kÒ. ½µ iY[Ë +j­©ðžˆ*…]Qeš€ifœ‘yó;jŸ_Im ã½·,Z½Ì ñ»‘Fh´Â_íÌ{rb2ÛÝ+TCÿ(£³o„³ WÔ@ÒLùÙnUŽ§¸ÑÙèÑŽ2Y÷PpÛqLªADÁ;½½€2>Š§6Iÿß±²d×âñ x:z3­ñ4P¢ÞfwŨy$8Í;ËìV¥O{0ð¤"ie =ÒKÜþ›7±šƒM«ùŽ1´zÙˆ7rûˆøAŸîö§ŸßÛ|ëRŽMôj1ö›ä xaÄ%³Ø(‚ à·ðgÉ{¡ý8ûD rf&$ÁÙ°ZšêïÌx ñµÅéA”XäýHèmIŠkA:´;¼çl§ud,ÕñøÆ|„å#1*—”qNRi)ÀÔŽdFÎcíR°¡%®"BZýØô ´ ïp]¶«gõ–6ÚÆ꧳Ò¦ŒAIcÎ5¾.¹ ë“|­ÀE’=…›|ÅǪ$nu +h†|5Ô¤Bµ¶˜£°¡r¢U½®+ô]X¶úy¨ìµ8›rU¯Br0JÕ«èˆ+T²—¨2$«Zˆ›oý” Ùk¡DnÚÎ&g¸Ý;—ø–6tcRRµ1YVÈ‚Ñq{K\{"†€mÍ›5æ²Vß·«ªI„ 3kfÓŠ;Ö×x¿~8Ž“K¯ GW1í<1`D X!Áw̵Qâ¸å8tN•”Žú%DÝéíƒ`'ËheÓ£jtèè•‚®$¹¬ÌF¦ÀtÖiWî¦FxM\3Š°§ÑÄemà¦x£O†œÊBTŸu|Ñ‘Ô6¸™Ýš9e°»× )î_–ñ¿T–o0?ÔÚ[õ„ÊaNìNˆŠâMï?¡Ð½‰v¯©Ž"a(n 9þ žó"Ոл.ñÍ‘Ñì×òÙ%©JœšØá²4èb8.w“Ï5ÀKŒ'Æ÷¿…‘v¨;з]£|Â/F,„»\‘âÊ„1¥?Ùú±¦« ÓÔŽš¶K7nMjíøÕ1¢ÄZGÌm¸= c ?{õ“SÕCŽ§!ŒŒÓ >×_l ¡íêØ࿹ÊcÝ•^£{P4Áj–ËÄ”Mu›0áE±Ý–2#`‘’Ña€– +Ú5oo‡¡ÃQ‹­ýðçŽA0ßØé^wJv€¾­êÓÁIz0ž2Õo¤ÁŸ¨« +†Ñ‘úk^t³­ºR˜nú†ÎN¯æN®+zSú6jØVºáµwcׯ“A¼/õ«U=ØÇ¡§)+Mw×˸%pö¥Èº¦`lÚÜMë¶ýG#óÿ—µÝe­ë~á#?YÿÈ-ü?7†‰< +endstream +endobj +5301 0 obj << +/Type /Page +/Contents 5302 0 R +/Resources 5300 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5305 0 R +>> endobj +5303 0 obj << +/D [5301 0 R /XYZ -16.307 900.716 null] +>> endobj +570 0 obj << +/D [5301 0 R /XYZ 56.693 228.912 null] +>> endobj +5304 0 obj << +/D [5301 0 R /XYZ 56.693 198.524 null] +>> endobj +5300 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5308 0 obj << +/Length 1760 +/Filter /FlateDecode +>> +stream +xÚÍXKoÜ6¾ï¯œv‹õ–‹’¾Ð¢mÐ؇I\‰»+X+ª"{óë;|éµJ¤FÒ“(ŠÎ|óÍ Gž³w<ç×Õ‹ÛÕÕ/‘çd(‹ýعÝ9±âÄIq€‚Ĺ-œ7ëW´¢„ÓëGÞú/&(×Ãkõ@ÌÇŸXþ‚±;ýòúæÍ»Ûßác”E‘–v#NåJ—Ÿátì¤pzÈÓC8> ÇP–˜ó±ƒÄ$]_éŽ3¹sõóíêŸùžƒ(Fq8I†QìùN~\½yç9| P˜¥Î½Zyt"ì!?ˆa\97«¿WÞ +1‚"B8ÆN$ƒ–J™ßv7öŒÍrðžT2óíHjÄ:ÑtU¤Þ£²F59RDk²­h¡•\?kV»hË.'`Åú4ä6doäïÊŠš]¤µgªsôø¾‡™vßIÎ-ë¼êŠ^“zÉO ¢l‡s¥ælf¦"£ibž;VUìžo…úÊ x®9ð'Þm‹²åA¤^)ɃbýRyœ1`bÈ!ÑË@{d†D?®TW Szµc ¥S#•x+WÛôߌzÜ ±?fÜàrbÑgHYb °ÎS!c¹>‹yׇñ!ê0ÌùFô[ß&›æÏY´¤(ŒSø 6?/zzõ\”ÈpÑ–  Ã:’U,'j,I],‘ñS[ÖU-Ø)( ®'nŒÓù·%ñÚAz¥’j”)ŠR”¬æƒnj_K{ÁôS«ç*õJÑÉ}Öì¦/|)¾¥ûXON TM{ìØøÄÏË’[kØNZ£?qASã@6¨ÿXê‹0?Ãa'AÚ»‡Ôw3oˆ|#(ÈeU1S%wˆ¶ËEióš!>LÒ¥Cy_oìI­è,Ý –‰‚Ù¼*y£‡Ë•q{bÖÓ ÞÅÏI…—³ê„’@ÕOÅ¥Ž)–ñÓ„¥Íù}@²´ º;ni !ÈÚŠÒòz{2Ðé*ñùz>qúx\SË"ëŽq`Ç;–È(|mŒ õTËã}ΣüëÚû'{otâvï@˲VÊÿpÑÒ¦"9½0Úkãsv-;Z&a™ 3H$ƒm'¨Ë©XŒ³°4´Î‰aK§HÒâ1•wM!;ÏH0Õg€=dNZƒ ­Áf€¾&_ Éš!ñ['˜Û–~ùGfÒ)ã„,>3’Bš`È7 aÑÓ„pçÑ6¦·^y”E¦l0›¡³(«Ó™™¾·ô$Ê&vJe› š‚Å“MÎ{²ªlbj‚A7cÌä…4DAlີ­‹ºµnüJ²¤•œê˼|9%wƒ£µÙ±¥´Ö£#)ÌœÇvDêì Ö8 Q’Ämñq-#Û…9³ò9p‰Îš.ŒŒ°·ºU›Â)¯«òÒÐVyÁÓ&è{ÖÞ‘–uõ¼T¿&Uσn­G-°Ì.¾ÃÝŠ5'pÍ Å<.š“k_dÍ~†c/LO_@¾€EÉ"‹^I{€àÍÿ›Bí'Ô„ŽØO³§ãPˆ‘GOÈ¡V÷%“¬ÒtÙ_ÁõàeCë—»]™ÓiY8÷¸/[³hâñò£qørÒ0¿8€£AZ4–=²l=_×Ú'1Þ,kûo¤k +U•ç®`÷f°»öÖÏ+f9¤[¼‘t}mÑc +ŠI’ZÙñÖóüE3~iôæ©K‘ÑVÜoà(£ÔŽ}/ñöz +–÷ˆóÍÀ4¹AqÍïÉÿ"()RŪ“-áv3ñp¬®õ¿ eym +ÐÒ‚­*2\Ì/lêžó©»ÈLW?l Ù“­Ÿ|÷3U¨å$tWòòÈõ›ý¯ Ç涯خ~f…:XSÈ>}°Bk.j¶˜ïÃyA— ²B”zýRƒu=\Šû%ÙHdÿÀöÕ3¡>Ç#©Ä‚8 A„»F&eùC¶Ø¬_@ù†~¹:mâHŸå+zùNu‘(Ö:7êÙ=5ÈÑ +ùoDý^ @¡g-, ³5WÙÂÓµâ-9-XI/Jú¤×Åîlò3$É™MúÒª ô2•Ù!z^D ¡¢Xª»K?òŠp;ÃõŠ åsmëZ8çâZË®gu> endobj +5309 0 obj << +/D [5307 0 R /XYZ -11.232 900.716 null] +>> endobj +574 0 obj << +/D [5307 0 R /XYZ 56.693 390.919 null] +>> endobj +5310 0 obj << +/D [5307 0 R /XYZ 56.693 361.911 null] +>> endobj +578 0 obj << +/D [5307 0 R /XYZ 56.693 306.788 null] +>> endobj +5311 0 obj << +/D [5307 0 R /XYZ 56.693 277.78 null] +>> endobj +582 0 obj << +/D [5307 0 R /XYZ 56.693 221.585 null] +>> endobj +5312 0 obj << +/D [5307 0 R /XYZ 56.693 183.966 null] +>> endobj +5306 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5315 0 obj << +/Length 1516 +/Filter /FlateDecode +>> +stream +xÚíXmoÛ6þî_!¸ÀêõfÉVÚXºv[ÑnXã Ú~ %Úb-‘žHÙÎ~ýNIYŽt]³ E?™")ÞÝóÜs<˵֖ký0º\Œœç¡kÅ(ŽüÈZ¬¬ÈGÑÌš{ +fÖ"µÞN^“œ`AÎl?t'?sID;\ñ²ÈL-~Ï“KÎ7íÛ«—gï/ÀŒíy(Ãö´+y‘"E½ Ö=kÖ£ ¶>ó³i`Ù!ŠgʾçÏàÄÙ|â´?^×oŽž-FŒ<8ßµ<+ŒPÖ,öPäúVRŒÞ¾w­ÖÀ4çÖ¾ÙYX¡ç"?ˆ`œ[W£_G®‚ÂíAâ[°mÆ &úðiŒ<7R^EÈkÜÐïYomÏuÝÉS^œ©ØŽ‘ ü) +"uÀB£¶âyÎÏüp²§lÝN%fks†Ï|w²;ó‰zcIkGNÕœämp¸³íͧh6«ƒnl'·ùÌQmÓ§ Êr¶‡f`ÐŒË6GPÛ÷ä> €O7hO}çûaoßéï‰ïs4æÚ¥çuÒEó'›=.Óö Úb‰—4§òºÂ•ä4=Øl"oç¨P¿lÇ7 ÚõÓxÃÙŒõRJf© 2ãÊ^cÊúž g·®ÚLùágˆö»TÙÕvËKÙ>¬4opŽY;\FJ,ã¸ý)9W/ŠübÙȸ~ÊéF>ð›QõÒ_‡hù&ýýÁôþËÿ;õW|À?oŠ¦ÓÏ—ö^#ßÿšö÷Ÿö5õ“ú.áYÃâÍÔ7ǤËP x"þõÉ!nK¾R5µ÷j?g]Pƒ–;ÓÇI,+E7–²¤Ë +.ì¿¡ïÀè;Ô÷‹W/ïPxøß+<“E>à¡¡©ë}¾« šZ”¯ÿ5} ¿Wú^a¼‘s›bŠ\±Å‰Ú“’$Çu{™蓺-ÉŽ°®G<äC1ôÇ!ÁŒ3šàœþI‚«’긒5? c5•91¬ïÈ w¿½þ©EÏRölh[cÏkíÚí¦§M˜©q”‰‹Í“ñ¼Ã PD‡ 5Ýõæ ]éÑ)w4!ãÎ@ÔLCaͤÜ^8Î~¿×Ç‚gU±¤Ðù8{ÿ}Õ»4IB¶RáC(`Vš-†Þ}熮 +³#[Üx :« + ´áÚ!I˜ míê"@u‰†ã¼A5¯çªŽ5¥¹I¬…ÄW†mã’ÈÉêŠ2¬jåCçáIÑ, +,IIq>nÁÖDÝž Ê3‚Ö蘿ΔË'ãš#¶Ç¹ÈС.eèw˜PŠ±ÉÿÛò¡wNó2}ûynLÍ춟Ê3ø„0(&#ˆ—k§qÁþ ùÕ”>¨å`uÙ­ìÉ­L¨„ìëô(?SN„˜ª]{š+Ç‚Û\]‡•8åZ@Q4Å€w‹>”tÝ–PÍZÁEW¹»kYäXd}çÍ{/Ua—èŠÎÇgW/¥j´K’Ò’$òÉÐ\´©=€DGT¼V[?¶ätGßÁ¶£wÏ»ëhOœÖ¬ê zžPlžsak +¼9e/©ÊÒÜ Gy­=PlI‚þaþâ-­§žk—U°9]:FS­î¼`³ø~úƒLí ı%º0=A’UlÓ[‚B UM¨úty­/ã®ry~§,v8¯H_K.³~Ù$ÅV^«ú=ȉ³p““ÒÔ\óm°!õê¥jïkà©ËŠæZoDv2£ª„y©óiüäp!Aß~óààâG3¡SWw)¼L¡Þq¢ªî"ÁºXé*íÛiãc¢‡¼ZB¼6·a¬9I6xMôáiÿ]<ä +#{艺^«Ä Àª(­Sý’$ØTÀ”®V§Ý"/4‘]í—œçB ðZ³ uvèÎ(KݲBaØ4{`ÂÑ+L·äK’aÝgéÂH USöa¦NàĺTÛUê9B÷{M‡1¨²•®x0ƒnˆuèSñÔEnÊ—â¿ž‡/ +endstream +endobj +5314 0 obj << +/Type /Page +/Contents 5315 0 R +/Resources 5313 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5305 0 R +>> endobj +5316 0 obj << +/D [5314 0 R /XYZ -16.307 900.716 null] +>> endobj +586 0 obj << +/D [5314 0 R /XYZ 56.693 759.068 null] +>> endobj +5317 0 obj << +/D [5314 0 R /XYZ 56.693 738.489 null] +>> endobj +590 0 obj << +/D [5314 0 R /XYZ 56.693 663.441 null] +>> endobj +5318 0 obj << +/D [5314 0 R /XYZ 56.693 634.433 null] +>> endobj +594 0 obj << +/D [5314 0 R /XYZ 56.693 539.459 null] +>> endobj +5319 0 obj << +/D [5314 0 R /XYZ 56.693 510.451 null] +>> endobj +5313 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5325 0 obj << +/Length 1847 +/Filter /FlateDecode +>> +stream +xÚÝXëÛ6ÿ¾…°z6°fô–•$w›¦i“¶Y8 éZ¢m”è’T¼ûßwø’%EŠ= ¸¶øœÎüæA†Á>ƒ®^n®ž½Ê DeçÁfä1Ê‹`%()‚M|X¼'Œ`I–«8 ï¸"Ò6w\؆:¸Éóê%çGÛùÏÝÏË?6o€Í*ŠP™e–Úz`DQRO÷(X÷<ÑÜS`_¤I°ÊPY8þQ¼ŠÅzñÌ~¢¼Ô;¯n7W^E@? ¢ ËQ^&AQF(ã j®>ü5Ì(-×ÁÙ¬l‚, +QœäÐfÁÝÕoW¡SE8RIÀ²"+N<ñ´DQ˜;©r”1ü¾àÃ* +Ãpñšî ~Š¶{w¡~Aq‚²µ¥²ñªÛqÆø2Îg½Í UÜî½²x‡‹OË([¸[BZÛjpíÆ¿XÄ°©/¬£uŠŠBŸÜð>|YÐ"EqùÅ÷<$m+21|„ŠE¶-,\ÐX90V. {úÔácg£uÓïäk”æk/Ò‹º&õr•ƒÎ­H«!ª;´d6XQÞŽhO­º²ÔV @.){«f³V}‹Û^FáŒÿD~Õ¦m´´ûY!³%Ñš5ÉP¸þ™•¶TQÌlGv§ÊÏØoPÓã:un…‰N¶ÁU QëÆvq Ž›¹ð„[dzž•Tt#‘í¿Ä’V˜±G´õà·8Q[~¶=qDÀÞ5óÇ2ú5G  ábË;Š£íq"†ã%ˆ“gsá/]%Vžö;ì§bXÊñ̵VÏœ2$ïp¼~n×½p§ëš-ž|ƒÅ‘8USéÝ1@MÎ}b¸"cCös ¦íœ,ŠÜ{Ë2¯ÞóôGîµÀ«ªÛ\èS'eÅ[EZ%'J«©¹.Ø›‡‡%mÝÚLhìH*mæOK<¤øî³³º=öõ1ÌB_€€ÌHQ¥¡3#ÍûÛW·ïoßýëöîfúÛvϨ< ÝÂ-Ùz9S×­ãm£’)·ßw¿lnï@ªy ÀÓKˆ .Èy›ÝSzGpÞ*ÞœQ¼?za¸8ÊÉ.UPèìzN%9=ÛIð-Þz6  ãcOØs^=6’¡ë¤|˙Ǥ4Éó}¶„ÔSu’û—dê .#œ(¥ñaàLÈA Ñ{öZ…ÄÀºÚ SÆ[ =ˆÞ |: BìºwÇZ¾nè½WÑ–ñêx=òÑ›¹è8Oi ÕézÄTÃ>ú|ÕK\ºö8š2v…0.úªÈ…ªšìpÇÔ%ÿιÑ'Ì:2v¼-øï8w椾›ö^XxD´¾6ì/žº£/žNÑ£«æg¡«£Ì›„ør`P' ¤ôÑûúû{ÉžëRäŸß~sâï¾Ö\ßL¢©¨! Íį>´²»”/¾lè‹H‘—šW[8ï +˜¯ ímRû:¢·”ß‹çTÐ’3 ø’þ®@­èRŠ¼$îd_!ívS,÷‰fçLNRi¨š“€Ñç{HJ—ZX<ó3}±%ü‰Œ«WȨ]=šÏ}ÅþYé47Ÿ·ÚèÞ›£gè´­4´Õ%-ÒµÐß¹Wóq\è˜Ë?†a̾ø`P”_A4ïCÞ̽2Gñº|º€žF(̳ÿ§€ ‰uåœ@R ¢ôOJóqïop KÒÔê.|'k­óae®5ì¿úf¥KbÝÆ"CÆàýÈ(7ÃUÊQs_S‰ÚSzØ©³~%áÞøû–jºnݾ\MMØöùTUÅçø÷o £ç5ËÄ[Óˆe¬ü…T§¨ ‹q0°>3†h­‡ÙŽ;(t¢rÀ5öO¡š€¹1¯üaà07¶Yýc…iïì tW7· .þz‰¹ r]î3ó  ÇÔAðn˜M6Þ¯£0¶ï¬©qìEågÈŠ?®õ…àZêNg{/\ÅeêtÆ‹7.î€ÞðÊ9Q& ª/~ TâöeάäÏŽ +s4èÝá{;‘XßÒc >.í{›éš\¤€Æ¬‘íð1ð­Ÿ´ßè¥o) ‹Ùmo9¤‘jâ_‹,³l!§CXKÆpÑF/6¯žÒC„æ¾hZ5Q˜2çØ4DÜSý°Ãð*ŽÎAZ&Ù.ŒG'©<“­¤ŠŒ½fî5< !†–ç1ü/‚P‚ +endstream +endobj +5324 0 obj << +/Type /Page +/Contents 5325 0 R +/Resources 5323 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5305 0 R +/Annots [ 5320 0 R 5321 0 R ] +>> endobj +5320 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [489.208 87.556 561.28 98.459] +/Subtype/Link/A<> +>> endobj +5321 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [80.603 77.658 119.866 86.504] +/Subtype/Link/A<> +>> endobj +5326 0 obj << +/D [5324 0 R /XYZ -11.232 900.716 null] +>> endobj +598 0 obj << +/D [5324 0 R /XYZ 56.693 759.068 null] +>> endobj +5327 0 obj << +/D [5324 0 R /XYZ 56.693 738.489 null] +>> endobj +602 0 obj << +/D [5324 0 R /XYZ 56.693 688.227 null] +>> endobj +5328 0 obj << +/D [5324 0 R /XYZ 56.693 658.625 null] +>> endobj +606 0 obj << +/D [5324 0 R /XYZ 56.693 439.611 null] +>> endobj +5329 0 obj << +/D [5324 0 R /XYZ 56.693 411.389 null] +>> endobj +610 0 obj << +/D [5324 0 R /XYZ 56.693 269.315 null] +>> endobj +5330 0 obj << +/D [5324 0 R /XYZ 56.693 240.654 null] +>> endobj +614 0 obj << +/D [5324 0 R /XYZ 56.693 187.941 null] +>> endobj +5331 0 obj << +/D [5324 0 R /XYZ 56.693 151.107 null] +>> endobj +5323 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F57 861 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5334 0 obj << +/Length 1958 +/Filter /FlateDecode +>> +stream +xÚÍX[sÛ6~÷¯àøÅÒ6¢^Åô)qÒ³išÖžîÎ$}€HÈbM,Zvý´HÉN¼ë™öACÜÏíÃwD¼+xÿ 281]ÎNí‡&™Þyôöòè# +çzqâ'Yè¥õxy}ôù7â0øQ¶ô¶feíÅ”øA˜@»ò.Ž~>"èŠý¯=ûÚs­Yw˜{wQú1M½4Ê|J«ñF©öåéém]]õ]ïçž„$§$=-D¾-æ ð¼k»µíMyµ©à§ÊæÊXçÔ˜„g€/AÞ‚‚¼}zé û¶²ã”÷]ÇUÝÙnUÖ¥â†NØïH¼k ã^ØÖ{6ÈìfÄ3†CŸÞ}šSJgØ}ëvSbçGQô[¨™è»œKœc Ê?ÿxn_ þÔötd{ägdbûÙ†5W’ÎÖ+Q6¿ýŠ7‡wj™3Åë¶bîI(gÊN€Ä¢âv”UŠw S¥vËÍœÆ3Ü­Åëî­õ(,­¹ÚˆBÚé-ïðøÂÖ휂ϻký1ÁÑ +ûu~‡ea7ñ®ÕvàéœãÌêÎŽæ¼S¬lì ,çËaK#Ô¡»¹âFÙ0™+m¡ni-ì·â¸C÷Às:Û`»í¸äMŽë5pô·oz©•Òíußäª Äwéìßóð©6xòFCU·:K5€’4¢™œ©68‹…Í\—õŠw'¸µs£ÆÃ’_Ÿ2ý>8QloN”@ óª/ŒgMÏÎZºƒ‚¯õ™¬¯”‘÷܆†$›ãѼ³»LTa¨—xŒ±Ò,ZãŠps¨Ö Û»ƒKd[y/•¨Ë?™Ž8ÖŽVìÎI©aSJصiÊ +޹둋VG‹Uxw³l¿Ö7›Ë—£›¥7²ö— ˆÇ >ÏÓ¨º:5÷³¸] 1ñoeµw}gO9Î~dzÏK?n-ž ÛÎÚSlê® Îïc`ò"…4fc¤™*¤~é4dVnó-80‹ŽrxêG@k¸¸eƒ¥³uÇ×À=æºênË®ø$Ÿ×¢Ã¡²Áši0fö¨-ýaΗù Ñ6àQù!vöáûàÙ%õ‡\Š‰n9¹zq:¥[X‚Þ1íFXŽ5œ5vÏÀã0Èòr$Çõ vÇrp™´ýw@:(›ÅŠI·AÂc+¸ïú†&Æ4»òw{ÿ`ÉÛæª*åFB‚¥tú±Æ”@å(YŽéhWbÅb“+§8½¬ðŠ^u¢o'¹U•ÀÖP-¢«ÄÐôÍXH.zèt€5ÎÂÞÂ)ø ÷ÑD(Lè8BzÀUó–·¡ñà)ü$ˆ¾ñK¨Â‚ˆ× 6™´‹È•èD­[dvÂm˜NP)a¿'ë2ÇÁÏ™amÝ ålسÚÜš‚Ct“ÝdƒngÙ{4’)ÎÈgñ€32àŒÜãÌÈ uýÇ@yšÐI™¸UeÕÊ=W,2W$ºc]nßd[ ­mq‚…Œ¬8G‹jV¸º´øfÈ1ÔO‰O'™¼¿WýP_ûiœ™G„úu€N¤)ìž €à™¨kȈû !ÖËøëîYûm6:vð<~',#?M‡Ðü!Ã¥Æ;Ëþ/‚½`0 ƒ1öîîô;ÑÝ^TéUa +¢„ìd_ç¹ +ðYÙ‰û—L,º‘‹Fuàlãf=`öHÛ¶î˜Ö(;ÙÊ,êUÛ+ÿÑ’c+O¢g°øÂ=ªŒÍb‹úÚ; [¬3÷¨NÒæ9(EÉÿ03ú5»ôv†!þ-P9‡G™™Ï 8ö7bNØ7¼«XÛº èzߪƒ.‚jƒ‹A᯼'S?YF_É¿Oñ×G¾µ¢±Nœ€ß¨ƒ‚Ã;Íôø­â´O…o rüÜA–Š¨¼éMéæ j¿ºšç…!ÉÇËi9¡­à m½,ÿ{SLÏ$ðƒäé+J}='}Ý_<ä°-¼ºÝeÚ±Í^®¾¬pJÞIÅëïm§q(péG®^›ŠÎRBS¸Æ ’ B䇟Fô×Cc-èu\=$h–ùAà <$àEöRw¿bŽŠ˜R]¹ê0æj+ú©àˆm%a‡Û® §ü ©M•ª‚2V¢QÇïÙ ;~OZ\g@ðñù›Ç8†vßè2~Êëˆé+ÚüÞ¼1øÔj^1)å]#ZYJT€«Ü·­/$&e×cךâ÷L±åÝŽ‘¿ïÙ4²,ªcCQä«JŠQºÂeùwßO·žé±Z<®6ž×¶(Öý'úòÜ«õšç +ÝüîÒü›˜j_³F?ãå¸F2³J p]õDÇAŒc{—À +×òPñ¥Ðǯ»’a¨^á®_A:ïV}‡gžŸa}èïùˆø$Éþ—çÿ ƒÌb +endstream +endobj +5333 0 obj << +/Type /Page +/Contents 5334 0 R +/Resources 5332 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5305 0 R +/Annots [ 5322 0 R ] +>> endobj +5322 0 obj << +/Type /Annot +/Border[0 0 0]/H/I/C[0 1 1] +/Rect [102.521 746.575 422.322 756.473] +/Subtype/Link/A<> +>> endobj +5335 0 obj << +/D [5333 0 R /XYZ -16.307 900.716 null] +>> endobj +618 0 obj << +/D [5333 0 R /XYZ 56.693 462.938 null] +>> endobj +5336 0 obj << +/D [5333 0 R /XYZ 56.693 435.333 null] +>> endobj +622 0 obj << +/D [5333 0 R /XYZ 56.693 314.279 null] +>> endobj +5337 0 obj << +/D [5333 0 R /XYZ 56.693 286.051 null] +>> endobj +626 0 obj << +/D [5333 0 R /XYZ 56.693 234.386 null] +>> endobj +5338 0 obj << +/D [5333 0 R /XYZ 56.693 206.158 null] +>> endobj +5332 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F57 861 0 R /F102 2555 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5341 0 obj << +/Length 1588 +/Filter /FlateDecode +>> +stream +xÚíY[oÛ6~÷¯ü’dÝm÷­—uKѵ[c Ú>Ðek¡D¤ê¸¿~‡)K2ÓCàvÀQ¤ÈsÎwî´ël×ùeòt5¹z¹Î-c?vV™û(ž; /@ÁÜY¥Îûó·„,ÈÅÌÜó×LÑ3ÆÛÜêÅç,yÊØmûòîæÕÅÇÕK 3ó<´Œ¢ö´¹§Dl ‘B-uÏYõ8PÔC ?g¡å\Ó÷Nœ/ίڇ/ÕÎÉÏ«ÉßÎwωb/g¾ôPìúNRLÞtÖ€.ήù²p"ÏE~Ø:7“?&®†Â½sv¸Dž·L}ðý¨áb¼Ý<¯^À–Ã Æ Xh6?IS’^Ìb×=uU1.Û—Q5hUN2ÂI™„kÉ(^Ú.T˜ã¢æeûüàFî;øçýºúíU;…KMæÅ›.X-«Z¢#Ùg-ã3¦ü‡ý¦/0g;a$ÆzsÒðêŠÜ9n,¢ÙüS³¢lcáô¦VT”HB÷íúÍç‘ec#{ÜßÉ>NqUu¬÷#Tœ$$ÍËMÇðÑò½9Š¡Æ+z¼ÞÌ9.7†CI@VÜ8¡Ýdc)¹ëø.ˆÜ²TØŒ ³‘dÛ#ÓnhÇ%.Ìô)74Û3M”éé5yröí–ôȼ&;Í+Kkzˆö¬‚! äN’R䬧5ÿU͵»²,Ó6Gqy;[³t?’ c•‡ŒÈ5æ"‡°Ð}Ø\àÒ¦ã”xJ&-'×O’ƒñÓª‚aKü Úá'Ìs\Ê¡‘Íã$¹T>.YJf‚˜ÅºL$à…l@ôh$fP 2Üydõ†€Š°*À^jÅÕš¤‚·<“‚ÚX |°M™&C kÑY¢¡:ßpžCæäz°&%?¤v±—À‡Ú€ø‘Òž¿ ‰ÁD…1÷öù†olŠÙÝ0bIRs³»–"OIwTÍcËè[D^fZŠ„•àOóš·k­ëCÆìIwÙœ5óâ9”BÁÝGj“º/¦á|¸¢xA`·£ —輄ãˆúdÄåšÉ­ ;£™î¬{Äi?úZí‘0F+éÞ$@:lÌÕbÞO²,§9>xMÇÃK¶–¹¤ä´Füœ)?4ÀWûJùXÝcsMäŽýò–dÊÙGÀlUóŠ™èg6ì¾Ò YZîµþžPÁØ~ÙtàHùW ~6¢k]Žxæ¤g˜‚™R²®7›ŽµÉ=‡²k‡5çRŽ;¡º´pPà²Â"Ž¡6V\`~;ªLH™Ž‚’óô9¸éJSC‚/J Í‹\.)U(N{Õ¶ñÆÌ$…rö™pv(¾• ¶äK2\SÙK2‡’׆=æ¬6ª%3ÅaçÃ|ÒÀ¯hkØŠül¬†ÃAÐÙ Ûd3NIv9Úx/Û*4 ¥§õöë2—9¦–hÖؾ”øN{[¾ÙRø“G1n +†ÂV­ØŸmq˜jH³nˆfØTxbËjÚ99x¿´¬‹5áÇ)ç<’Ãw ÷GË A€±¯[í9 +›œ÷3Ï5¥m×û`€©ù! +bÃÊ\dŒRváG细35Õvúê`‹/|¨ò.¼è\ïX7ÑX +œê9JÌýBC{¢·¡Í‹ Œ[YP ‡~ŒB×3%Ìœ­«çÁõ .òÚ1o/=†ªþÎCÞšRj ×õCš,:»…êTkKÉs¨0‰‰6»®Z5ÀŽÍÕ®ÝY yl–¿c¿ßd´›d9} 5ïT‡™éïЊOÇmzýüÕTÏ ÓÐÚÚþZ‚Ÿ¿_°bjŠ„b! R°Jä&¥™ CtU —àtí_µ°\Êv„÷„ü«/de2Oé´„à ¨M“G¦ã­ÏÔœ…‹/³­Ï«ªi×h4Π¥çu¥dgq¨(/M0fßV hIžQÖÙ+Ô íÀ‹"?|ýÉ +íõf”Ó§ªÔÐè]uÂ×µ)³¯¯§?F»ô£ßáEßí/´·háWïðÂ{îðÂSÜáÅÿßáý×îðl? „.rãå¿ù]àjÇq +endstream +endobj +5340 0 obj << +/Type /Page +/Contents 5341 0 R +/Resources 5339 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5305 0 R +>> endobj +5342 0 obj << +/D [5340 0 R /XYZ -11.232 900.716 null] +>> endobj +630 0 obj << +/D [5340 0 R /XYZ 56.693 367.009 null] +>> endobj +5343 0 obj << +/D [5340 0 R /XYZ 56.693 338.001 null] +>> endobj +5339 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5346 0 obj << +/Length 1526 +/Filter /FlateDecode +>> +stream +xÚÅXMoÛ8½ûWÅ›.bF²c9î-mÚÝÝ-ÚøP í–h›Eª$•ÔýõŠú°ì6‹ =!%‘3óæqæÑq´‰âèïÑóåèìÕ,Žh‘NÒh¹ŽÒ JçÑE2EÓy´Ì£O'#X‘§ãÉ,>ùOh¢ìp-¤è­{y%²çBÜØÉÇë·O¿,߀™q’ Ålfw»Ö;FÔ–­Ìk°žD`=ëç`~~>Æ3´˜;ûÉ4ç'gö_’.ÌÊÑËåèë(ýã(‰f)JÓh¾HPO¢¬}úG9¼Ðùâ"º«¿,¢Y£É4…1‹®GïG±ƒ">‰ßû|’8µN}žLfµýåþÿÙ+XÒìqÎÓ xQ/¾Ìs’?§q|¢È-‘˜Ù 'wvðÏòß·vTb‰ ¢‰Tv^ƒn™àZ +Æ(ßظ, |Ì3bçb=¿YF¸vŸð¾9M5#Þò†¨g~É-’¤ÙCÒ¢¬D8^1’ÛO­ŽÍ×kžàãïD +;ûÏâš9f’“5®˜†gÉ©ó­Òe¥C(Ö;ÿ¹óÀN€žE‰ª¡¨sªJ†wtìÀ´4[†]$SÒż»lÅDvÓY…j£Þ¤ËZf£L’œjÄè A¸Ò[!€–ƒö+°´Œ @ã³]ç¸Îî= £¼gK-ÝÈœè.B6H7æn ã–hÃ@vâC­¹1àÊϘҺuõ©TsnÚQ ±^Plè£^"Ž„=ÄG‘«ä + ŽBbî¤ر–¢h»U›éùVB]¼õÆæ>ÌèЪU:†’{߃_Ç0àÄ£Èm6«²”D©Ÿ9ÙxTqhKn¾•JRbŸ=!u®,TJ‹‚~ÇšŠ=¶d¸RÞ2àà’¤:+â\Æ*h™#ä1ì"ùjç)ó°EØEõ3ú݃ù²¶éÜÝÙÿ[‚óʯᕸ%û•C]QÝšs´æµ×:. Ncî5óñäÀFÏ&³‡éæÖüGÌ|m¸Å’âP2Ø œt¯‹“oŠég\äd¬ˆYñÌð ز‘ùAåÏ‚_Ù ™û¤[&Ý­ô®<ª¹ Šÿ©;]’$Éw9Ñ{Ô[ã[L™a¡7s<ÄÍCPUpü…ìÁÿê]«Ò;ÚÍ”ö¼T”+mä”ê2ïÜ %æšP#‘e•×mÀaEó®4KÒMæœÖš·Þæ¯úU¿­Ç”¯EOqØ꺧àZѺ²‘ÎAËOºîpøò¡¨ÛazÏ»oŒ/xÛë%”{ .„Oz^® Uaç3ö:Žýè@š[ÊXi5s•©”rXÓu€Þ—ë5e´U§ƒoĪ®êKâ+aÎá^Ù+Í«Zn®ˆ¾#ÄM>5r,OËJ–¡SÒÁ ÁÞWŽ°¤(õÎåï’)ÑÁö8u`KMÎl·0ŽÖiÏgIZÄT¢iUm6ÁÒÕzÝo«w^|n‡+•n)× +Ì[  µgqåM¿×ð¼W Lœõë$yàûc¸2’Š/Ê £5×Å škdO‘ +¡Æ½§ 3NÂKQ<6†3\«³–þr)0¿ßò›\Ç·ÍfOožöt»‘‹¿­e}…3€‰NP¸ ˆl?uW6^c°ªwhMÐ Xöî ZÜëÆ;{o<宕-Þ(XšÙ–2È/ª·ÞÄ%Ww¤+Û”Ébo«ŸÝB—ï^¸x_0øTbmí0™Å‹8¹8t­l.IW˜SâXõ–@«–mV½¨¤¹úžš\ 3/#š¦Õ.'Æ +m¿\ ½ËwÂNí—â–¶oFÏ×…±}¼ØK -y%on +uA,Ðj‰zÔJùšSMýÏk¹*øŽküÍEH7[z/JÀaÇQeÞ©ÇMÃuÇo+?qû{Áï³ÿÇ !%ò”C´0?–TÒ—?t +¨qKÚVüƉ¿`pè§ãóÅéâÿürüå3¿ +endstream +endobj +5345 0 obj << +/Type /Page +/Contents 5346 0 R +/Resources 5344 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +>> endobj +5347 0 obj << +/D [5345 0 R /XYZ -16.307 900.716 null] +>> endobj +5344 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5351 0 obj << +/Length 1621 +/Filter /FlateDecode +>> +stream +xÚÍXÛrÛ6}×Wð­RÇ‚yI©}Ê¥m’q:m¬Ìt&ÉDBj` ÐŽúõ]xKÇãä!1HØݳ»ò½ƒç{¿Ížng—¿Æ¾·A›$L¼íÞKB”¤Þ:ˆP”zÛÜ{7CÁ’,–aìÏŠÈv¸U;PGóñ¹Èž +qÓ>üu}µø°}f–A€6qÜîv­NŒÈ#!JêÏ`=ðÖ`=‰´õ˜OW‘·ŒÑ&5öƒ(„Óõü²ý$½röËvöÏ,€ý}/ðâ%›ÈK7JüÐËŠÙ»¾—Ã7ð­6kï®™Yxqà£0J`̼ëÙŸ3ß@á =˜–Æ›»ùjƒ?1^¥(nÜ°ë¼wËÀ÷ýù z82ø§(?˜ûøá +ùë¨Ýfk±Û ÆÄ"Œçwz]ó*;b~°hñ"ôç·‹ ž›;Bx;*pnÞ)Ñ¥¤± nw¶ƒõ +¥©½±}ü´§é +…a`'gÂÚ”gd”ù¥> +ÚqÕò ÑOæMªÈ·lx†CÇG¬Ñ*Y[—^rª(f‹e°Ëº,E¥Ú±7/O\áíxí`VY‰C… F¥þ&‡Ž¹°l]XFZÅÇ…d’ ¯1/ñ"ðç`þ'òû&D¡Ý=Lzû( + `ýd¸†üWDÊ6¥{!©jŸ +\ÝÊ|Â<7é¯UYÂÜáŠ;^¨#VÃmìÒŠLIÌh¿Ÿˆ‘äg\êcj©lP²Šƒ31S.†ÜÈ!×qžk”.d«Ò—5£üÆ®1“juÔâ®Ç6${ÎìC¨1ÄBz2+ ¤À”œûyŒ8•í §²dv 0V˜8zæ[¨µÁ GtTdè€[ÓÆg ‘œªîAeÈ 9lü¸é{.ø^;b2`3¡#Zj‘²<6à¼í'°ÅÕdà(¤EIUŽÞ·˜Õ–$r +:š®hf3®%d_oK+ª ÆueVa&wµ ›çWµu|YjóÎ!Šo‡w_ ÊšgªÆŠZ®íˆºk¤U?¼!{î8î´Þ–uU:¼é~ +سYîd”êdpz¤Á;UE2séÃ}vwÁ–&…—Š*6yÜY»ù\‘BÜÚÝ¥°1ådWÎTõ~?>¥wöHq>‚8Lxக3¨-µ´@HFx>’.'äD>.Ižä¹Ž“»ž’¡œ0ZP "ï˜Vb(&L6_ß¹àËIeÂ}ïÇþ=ú™“=®™‚Bg¦»„¦°Ç•¨mjɲÓZ£ø~mÛ¤`¼ØÓÐm7y ]E§#»-¼×mi.êǾ_r˵s6^¸S; ‚a©.9ße Wé`nA›²j7þ±ùÒ6,½×”ïÅ8[RTÍ|(út  ñî€òÖ WîxÃÊêd%Àx]Ehi¯úg¢FkÅÉÃua„ óÀ¡§ä+ }F”‚‚áa=í&Ê–^Ž™€S`;4k¤«I'øìlô…æË%/|à» Â’%Îœ:g 1M3:d¹ÈêN­ŒtÉN¼ìágä‘ïæ·eÞ¯=ròAòŽ"w¡Œb#2ƒ¢Ô‰Ä-•®þ!ª.GQÒB«ˆKycÀÀòQ.¿i1"É-ÜþlT™¼Ø¾¾1Y~ŽÊ¸,á†ëÚ1Y»êeŽ¶2î̵姱 úó“ÝŽñ&è¶ø‘©õMÑÔÎ4¦&?]<™ŒŽË¥~yyVÍ&®åQ'dΰiU\‰%ûÍJ·¥ÛNÔ‘¸Ëóá²ÙÍ`jK|«¦?Ï*Ýœ"Fo¡‚žõëAûXzÆ& q-·Nq¯tšnGÑÉ~Ýt'6êÐû?<¸{»mЇ*zV~N¹ò9¦Œ£îcd[³Q8µ×m“ÜÙ7€Ó¡k£Ü2÷‡=Ô—©Ÿ¼W>ò“ÍÿùÅû? ¶J9 +endstream +endobj +5350 0 obj << +/Type /Page +/Contents 5351 0 R +/Resources 5349 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +>> endobj +5352 0 obj << +/D [5350 0 R /XYZ -11.232 900.716 null] +>> endobj +634 0 obj << +/D [5350 0 R /XYZ 56.693 759.068 null] +>> endobj +5353 0 obj << +/D [5350 0 R /XYZ 56.693 738.489 null] +>> endobj +638 0 obj << +/D [5350 0 R /XYZ 56.693 684.618 null] +>> endobj +5354 0 obj << +/D [5350 0 R /XYZ 56.693 655.892 null] +>> endobj +642 0 obj << +/D [5350 0 R /XYZ 56.693 348.39 null] +>> endobj +5355 0 obj << +/D [5350 0 R /XYZ 56.693 319.665 null] +>> endobj +5349 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5358 0 obj << +/Length 1705 +/Filter /FlateDecode +>> +stream +xÚÅXK“Ó8¾çW¸8%UDcùà Ø……ear  +8(¶µ­žÈ‹VÖ^¾™[>¶‘ã0ά«Ù‡™Ý‡–èAá#`+tC„ÁKéÌ&kÊ âªYѹ¦ˆd“Ñ䉌V‡ªBÔœ×ébØö¼àÅò;-ùcuÉ›z×Ôjœ–š¯ˆZ»Ød<¾ñ#×{ +÷±¼¯„NpÛxüànO7â îMé>Í©å<3KN©.ÎD­Bw¹˜³'Èù¡µ¦–‘°Ü3qTf¢š·ToXy£©è¯…ëÏáìv3*ñs¤Pø•9šÈÏ·ÏoýAz™rqK ³$†Æ­úV©Æ¢ÇQ#un«H[¾ÌÔÁH•c¿ +Euà‰òpñqy¸O EçÚþ1´¦>"{À!Aô3ßÿT-$ô +endstream +endobj +5357 0 obj << +/Type /Page +/Contents 5358 0 R +/Resources 5356 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +>> endobj +5359 0 obj << +/D [5357 0 R /XYZ -16.307 900.716 null] +>> endobj +646 0 obj << +/D [5357 0 R /XYZ 56.693 496.928 null] +>> endobj +5360 0 obj << +/D [5357 0 R /XYZ 56.693 468.619 null] +>> endobj +650 0 obj << +/D [5357 0 R /XYZ 56.693 302.749 null] +>> endobj +5361 0 obj << +/D [5357 0 R /XYZ 56.693 265.828 null] +>> endobj +654 0 obj << +/D [5357 0 R /XYZ 56.693 219.771 null] +>> endobj +5362 0 obj << +/D [5357 0 R /XYZ 56.693 192.085 null] +>> endobj +5356 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5366 0 obj << +/Length 1870 +/Filter /FlateDecode +>> +stream +xÚÍX[oã¶~ϯú$kšº[[Ù¶ÛM»íæ$.ЃÝ>Ðc³‘DU¤ÖIýÞdIqi}2ÍÛ|œË73ÂÞÎÃÞgo6g«· ör”§aêmn¼4Diæ­ƒE™·)½þ­(t± ìÿÂ%fxÃ;3{»ø/Þp~kþüvý~ñûæG³ ”'‰¹íZÞWTì)•B-ƒôÀ[ƒô4RÒcŸÅ‘·LPžYùAÃÙÚ_™Ÿ ÍÕɳï7gžp?ö/IQšG^–(Å¡WÔgÇ^ k€ÅùÚ;èµ—…Q +ãÊ»>ûﶪÀ•„lË’\ëÄ]ç(À©EµF¡†áÎy—ÆØ·ùù½}ÙX¯ †0B9¼q»áUÅaâX³3SÅž4;§ã=Y„Øÿ¼ßžØRÚ˜QMJ;'ùÑZ2€=JÖ1Ê2õ`-{/ëê¾0E1ܦ‚»»k +:³s€2Œ°wÆ;ÐTËl€—a:[›[?…a2×Y*»îÛ–wÒ:ћω»Ziæ3Œ7V&÷Vs}U™éåÞ¹bCj‹ñNpÃí¼©îÇ›YÃ$#•€MvÒ5ŠÓ58j‚"lÝîg^²O‡´|½XFÖŠ[m+^Ü¢;Q½ +À‹¾¶VR+’ÉŠ¶dGíªöZX\šŸYwKÌð§E”ø\ÐÛ‰.æN·´˜¢á$œ.zÔéÞѪý·;Þþ4Æ£(xAç‹„×Îù²/;Ÿƒ…v´¡‘±äÃÃïßä>æ·1ú‚?kì·¤#õ+5N}ãfk¥.Ø@:F¶`ZFy +×Ça±¦¤±7É=‘ftÏ{³ZÆÌp%Ùè½ë˜V„ íQA¥4ƒC7¯í©^ +ج…®Ðö^P˜‰«8ù°w¦5x`à”aþ ‘´«…‹©™a X¢ûcð J]tÈöõju8i⣻ºB¯Wm¿]‘Uˆq¼ÂÙ*ˆWå¶)ï2Ç7*Œþ©èDCQ¡¹þBh*®Ü` jÞ¸P\ÿ½Pbâ-Mÿwû¾¹E’‘¦D—Â)Ðüêä`F6&ÔóÜ÷e/H5á@5ñIª¹\D@£àýâq²ÁÿºiÉ&éË‘zp>lÎË’–`Ó$Š( ü†ZfQóDÊŽm•:zIÍ”PÅ’Þ©˦EˆqÉ»{S:÷ ¶ã-í$£ˆ)Ê2ÿÔNÍMÇVfcA=z¢ U5>¦¡æ*a–‚7²ÛV'mKÁ0ƒ¦ùÍ$×;Á“ yûÁîíeÛË)#œJÖšù$UG±J՞׎h#au†íŸJ^ôÊ_]Á³€wűDƒÄûÝ~ê.ÐA‰–t) µí ©¦*c3Q?|~ÒsŽ›×LÃg„oÏß_»°+çå’ŠY1U“Fq²g‡ç#³Îpµ´û<(Âmî¹0ûëÕÅ žS¿pìB¤Ã}»°;Ø‹Y*üíBG }ÎSNkv(g¾²ÿÕP>éO/±"ᦕ§õЧ»Ü4wMÁÉ.÷Ô§öjù4Ηöÿ¸u¬ +endstream +endobj +5365 0 obj << +/Type /Page +/Contents 5366 0 R +/Resources 5364 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +/Annots [ 5363 0 R ] +>> endobj +5363 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [173.304 365.653 208.492 376.557] +/A << /S /GoTo /D (dot0) >> +>> endobj +5367 0 obj << +/D [5365 0 R /XYZ -11.232 900.716 null] +>> endobj +658 0 obj << +/D [5365 0 R /XYZ 56.693 759.068 null] +>> endobj +5368 0 obj << +/D [5365 0 R /XYZ 56.693 738.489 null] +>> endobj +662 0 obj << +/D [5365 0 R /XYZ 56.693 673.041 null] +>> endobj +5369 0 obj << +/D [5365 0 R /XYZ 56.693 645.921 null] +>> endobj +666 0 obj << +/D [5365 0 R /XYZ 56.693 534.551 null] +>> endobj +5370 0 obj << +/D [5365 0 R /XYZ 56.693 507.431 null] +>> endobj +670 0 obj << +/D [5365 0 R /XYZ 56.693 417.001 null] +>> endobj +5371 0 obj << +/D [5365 0 R /XYZ 56.693 381.269 null] +>> endobj +5364 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5374 0 obj << +/Length 2634 +/Filter /FlateDecode +>> +stream +xÚ½Y[wÛ¸~÷¯ÐÑ>T:'†y/IÛÓl’Ýz»ñnc÷v’} DÈâš$Œíþú0Š”iÇIŽûbÁÜæþÍЛ]μÙGß_üÀ½YƲ8ˆg›Y°8™¥~ÈÂdvQÌÞ/Þ‰JäJ,î-Τ +‡Ùâ@o‰øZ®¿—ò +ÿù÷ùÏËß.~‚kŽ}Ÿeœãiçú¶j+„V† ·û³nCs{×'Q8;æ,Kè~?äpb’.NðÇ3³óèÍÅÑÇ#Î÷fþŒÇ,ÎÂY’ù,ö‚Ùº>zÿ›7+€/`Q–ήíÊzÆ}a ãjv~ô÷#DáDÌ`YÂ3+wx”1ß‹éU0¶Ïpûfï}Ïó¯d]ˆxJ,õqÿ…ÚFV•\|q]6—8µÞæÍ¥ó6_ÞâÓÒç Ú±¢ÁQ4§å^öjxïþj?X’žíÝëûž¦,äƒeîtU6kq l´·h"l,`7d~ÀÀ·"·§~~(8r{Y7ܨêùÕÒ÷€o`þö>«»*땠ɲ)ìâ›^–µÐ[YØ—Eq +æÈ™oÌͼæ­,Êžˆâùò8„»P6'y§eYÜ7— žñ ÞÇãÏ; WjŸëüV£8¼»»@¢qöHÎU·ÛIw¬aÔiÒ:Hd4”D¬×ÏǼ)@êzB‘Qȼ0u ‘{0OPXò8þ«|%*E¼‡É 2L$ªn¥K nLôòˆf÷‰w>”W±Úêº:)Vr¥sGûõô!™úawõb•m!ZQT¥š’l vMgl¯7¶’ür%õG½xû3Ž@Y8øáRG0?RøC2}¸åØ<ÔI›{#iŸÉ¶ÎéMÿZ¦ðˆJmï—wòY;ÄëžÓ „ vÉù⮋³¤t[î÷rÿì3ï~eÃiál´Ñ¢¡“kˆpå†Â +ÆZq­îW»ûòì?örB}8r‚þî×W¯—,[ú¾¿¸Xf! )p¯óN é>¬­eW ^˜—}„o¯ºÝËL駋K¡‹\ç+› ]W}2)£uÜõ®0aÜï¦g{{_Ìê2Ü9ØÇ®º"9íò6¯)ž%ó²±¹ºldÞgSNÖååV;PTaÑ,=0<ððç+l€$Á¤Ì\A¼¢¸Å¹Á/ˆ±k â “tqª‘ „¨åÊèéS);:©ÁNR)‡&ä†Þâ›q÷J¤’ž@§©²ÞU·Ã5Áb×i$Ò™Á²9 ·Rê©FN˜]Zw!…¡L_6Å!pœ°´µ,Ù^SûUÉÿ¡ä0°/Î㈺0;Wr£ ¼ˆ9ÔX"h¿jM„u•›hhH}rUHrí˜qlãKƒaz­Kµ.¨pïú7Å}¿ö*oêy%=A»Pn' Ð\ ^kí%&ð„9f¹qqjyCWñBÆÃW†{~ q“™Ý40…9è­Ë«ù$Ê™Bij‡€̇qàr8Ëô–Q]×æ«óV‰æf1}‡v‡?™õ‘f’,ƒ„†“öESŽñMiÿñ%øfÑÝ,µ^z|p<ÈÏÃv…ÃB®oâ:´äɯ*©±…È/ÝúP)΂/.OGÝ ¿?ã"É +˜pô±ƒ?¥\CÎ4mGƒ*Ìp0UCµg2ñŸæ'ó?ã”M߆”S‡Òþ7L8Ñ)„ó!0r[wàZÓ¾«dÓïubÇåS8*ø³ zU›ÕüäìÇþe÷ ¨‘mD¤\ÓÐ?ŒÓwúøY°¸  ßðE«î{ͺêúžô¶¼cRToT®ëbóÖ–Åa¹vRw½ÔÊ7$‹èém鬣~t–XtwÙAõú á¡ØÀ)ß•À°VSQ8Þ´²žª¶RÎâ¬òÆI&2A±h_w–:‘O¥—3ÓøÀ_(¯ †ª‘FÉ„<0Ûí ¾ âe,ñö_ +¶ùÊfºæ¶s<ñ*(›÷8ݽ@Y‹€K5=Å3Z «/¶n}?²,”ƒµêÄdlâô±„êb*hl•_ª}QoI½jpúÚ‰g°i´Jõ[L°VQÍ$j2㶲Åù€P PÜ‚) í̶¢Ozx]3%ØÈóX_*XÏHÅ“oᢜs½Ï'Û{? +Ä#WzM’w bH¤¢ý¶o"€(e¾9Vu®î1ÿ½8öœÞD“- +²/6ìÇ‹©Sc–fƒî$5ü\Ù5/ü„ñì‘ߘÆßI¢§ì̺ïŠeU´îã¡ñs¬–©}tØ~cÀ´ Õ«ßÍÀ÷}Ÿ™Òƒm:~u³ºÿà=q›úµî¿uï}t„ƒ„%½k+Ùˆ5…Éc¤½ÑR¨æ†U=ÑéW;±ÆÞµ ¿ì•–«>‹b¹ØCëf +2SÉ>¨Ýÿ”6¶ÏŸÊöŠº†[š.ˆW#qO}7}Hpü¯ø8ÿ?Ž¦] +endstream +endobj +5373 0 obj << +/Type /Page +/Contents 5374 0 R +/Resources 5372 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +>> endobj +5375 0 obj << +/D [5373 0 R /XYZ -16.307 900.716 null] +>> endobj +674 0 obj << +/D [5373 0 R /XYZ 56.693 759.068 null] +>> endobj +5376 0 obj << +/D [5373 0 R /XYZ 56.693 738.489 null] +>> endobj +5372 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5379 0 obj << +/Length 1859 +/Filter /FlateDecode +>> +stream +xÚÍYIsÛ6¾ûWp¦‡H3€àÖœ²8i’¶ic%íL’EÂcTH0–ÿ}€¢$ʲ;Ó“@xË÷v; ;¯NžÍN¦/=ìD(ò©ïÌΟ"?pBâ"7pf©óiôžç<®ùxB=<ú³”¼ÖËó²Ò ¹4›/ÊäYY^è‡Ï~™½6BPäyšÚ™¼Êy½ä\Öj¸'¸3`0×™x( + âú@1GSýCüHÝ<9|;!@;Äñ|äG®Dù˜:Iqòé vRØ ‹Bç²=Y8Áˆº>¬sçìäïl À[PŽ^Ôbb‰³ì©"D[1ì=çÓ„`ŒG§kÉE•Âê×GÀ  ¹¾!2³È—y^Ž©7ºÌÄB¿J–±XX¬—ñ˜âÑ÷1ñFæÆœs¡WEœšw²Ü¤å Box“¡ PŠ·¼ùur‚¨ßMJË¡ÎDÂw¬ˆ.z]i_AÛÈ€ÎÂŒÂìŠ]Mõ3¥Þ.‚xÖ¬Ve%ÅylôÏh*DÌÁ©€Ó”þ(Óì3Æ”§¿Ž'Ì #ªÓoºVDh0EÉ÷:[ˆ²‚ýÑc™Œy2ž¸Œº2W¸7Yž¢u‘?&æ¸w踘¯ªò+Od—¾5 +GitÌ'Y±Ê{P‚ß^p¡@hCðjÅ+™ñú6ÌïÞí»¨biÝH‡ºJ¦IYLÅåÅy½Ô[ÓçÏÐW +,ñŠ!â9@îæê$þR/«"–‡ÙÜIê á(æ×Ñ¿W5^Uñj™%¦Ílt×o¦’ÿ£*}™Êk÷­R#’‡1Æë"^ð×BVÜHêûø/u>®â¢~±gãžç9¿/û®rSš“!MŽ1ú8&„ŒxQ–{œtMšØ®<Ê”©Z…ÌN ´e Š,õ®¯€¿Å"ÍwËlÒõ`—K^íîfÊ;^2Ó5ĉlÀ½¯ÌS×´ýSužb +ëÀúï_4ÄGÄ줩͖–K-³<×KÁyjÞ¶h–ÕEÛ +8Ê*ÈwmÙ&uÛÝ·[¯Ká3w×>íûcÁni¡Ý¦ÏÌuQèÓ®és›¾—ïþßÍÞy9dW†óî­É#´Ä”ܬÉ{šÆ+ÉS R­Šúm¹…ü¨…G¿ÍDªýB£o”¨à† {`×ÞIësµ~üÚÔRÓ˳‹që^íûØœ†š}e›³ DŒ!Ð^*k~qH‚Ëe™>V0Ι0ñ¦ŽCÏÆ .”šý¾µ—‚T £.7hhU`œ—Ó¸‘e–®'bÖµj¢¼-“U±^¾»žûÎèiš¶Æj+U¸äÕîØ·äà‹Õô¼„‘°È-Äs£®õ/©ŠÀ€Rˆ©.¹™ÈŠ¦° ²ÅRšB%ðÖc0­ )Ô\6+ƒ’ŸX¹§­*,¢8ÞÛX_ò¹Ú!î²ïË9·ãÈ™Œ¯d)®Ö? +ì~Øn0c0äÊáÖCù(Œ6 Y{Ꮅƞ72Ðù©°< +Üœ(:ˆ ýlŽ8äò6¾U ‹‰A*²³ zh=Ï…H“ËŠ›Û1©Þh4jPÌ‹Z9õ sÞ©~:‹<«—“R¨ Ý܆äШ½u¡¥–]h=RøÖý;šQSw‚œª@":šŠþíj‡´% °§yV\ßf€l¶E gpð5€*‹z9HúC½›Õ µ!EØ»“ >ÚõÁ­BUCÙHl8»8²èH?°I{&šÝðáܯ ͺÿ„rº} uµuöîùPq ¡ßÙ”ßÁÉ u½×7hú ªÊZÌCíe+™þ…éeÕti’AšŒÂUY&Ö^.´r˜-Šñ½*£Õ'˜öÑŽPȬúMž‰ ´¼Z-¹Pyb®ZͨÃAoUÙä¨{fQƒbhÈLÐÏà}Å}( “M<¨*„D£·—ˆiN„Ç~+‡s1yÀ\Ük^ X;e£ÆõPño WÍ•‹Éè—ˆQ2½£‚]ýÆiªwãJI‰†ÜØCý|>&#Û ª7-Áö ת臤*ëZŸ¨ø94`ÐìÖÛÂo7à­:ú‚ânLéb¤œt+¡ïüxS·l£ü„®c8µíD[/·Ý-Ø /“ŸŠÒN«jfÒ®•LìD6·sNÅcóù`UfBÖ66M­«òºËsP€ht+€ýŸ.:»Èd©—¿@’÷ /oWÃ"îF’~EÍS·0~£}»¿h¯˜Ó¢û SaòÜ[™Ä{ŸßÑM_¹Í¢&±ùÎ%ºsp6Óe¦†èƒb°†`„ýè¨Û]ÕPÒD,"»‚µ .Ân¸I›Ý_øÆ#¤¬2ýyAÚ©ŸÛ†x†ÁQCZö¶S¸ÝØ4ôùŽi”îðõî?Á²] +endstream +endobj +5378 0 obj << +/Type /Page +/Contents 5379 0 R +/Resources 5377 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5348 0 R +>> endobj +5380 0 obj << +/D [5378 0 R /XYZ -11.232 900.716 null] +>> endobj +678 0 obj << +/D [5378 0 R /XYZ 56.693 759.068 null] +>> endobj +5381 0 obj << +/D [5378 0 R /XYZ 56.693 738.489 null] +>> endobj +682 0 obj << +/D [5378 0 R /XYZ 56.693 535.296 null] +>> endobj +5382 0 obj << +/D [5378 0 R /XYZ 56.693 506.911 null] +>> endobj +5377 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5385 0 obj << +/Length 2294 +/Filter /FlateDecode +>> +stream +xÚµY[oÛ8~ϯºÀÂjFÔ]³˜‡Nwºsig»‰ Y¢cm$QÕ%©ç×ï9ä¡dÙr¦››")ò\¿s‘mÝZ¶õ¯‹VWo|ÛŠY8µÚXÂЊ¸ËÜÐZeևŵ(DÒŠË¥ãÛ‹ßd'Z=ÜÈFº--þS¦?Hy§þ¸y{ùçê¸fÉ9‹}_ŸvÓí +Ñn…èZ\†Û¹Áí‹·{p}è¹ÖÒgqH÷s7„Ãhq¥ÿxã›?®.>]p8߶¸å,ˆ]+Œ9 lÇJË‹ÚVk@óâÈzP;KËç6sÜÆ…usñŸ ›DaŸ‰9Û‹·MÔGÇñæ5ëÃÒ·íÅ«,ÓlÁ Š-Op"ƹûÔ»Ÿ’*vÄÿþUžÏ|×ì뤖d#eÇ@ ¥¨º–)¡.Ÿñ0Ñ‚ <½ýÌò¶íˆì»Ë¥ËQAW™L× ö¹-^ræq}àRÿ]˵h:=¾é’]'«)KˈyA—ÎyÆE¦Ï*e&¾Q'·‚µâS/ªT¼ K!ŽÊäî$³É‰°²\4ÓuO‹©¬:àŸÞ¨ÌzBÛà2=272-ƒ7yÓÒK}kDË=V’g;, +ýÇhÉe¶›¤Ï ™çWI*ËZVÀ +)EY÷S•âY)?—µ6›s‘t}C¢jPTF:ãžëyv4Û×µ4ä€ØʤëòêV?ËÍœ©ƒe:Þ`Ãë|]ä(hv3‚ôÁ£Âè@. +¼àœ õÑFŠþs›ö1« pŸÇOâ´nd æÂøs1ljÏò\'MR2¸XŽÃ½Ðü籆Îíç3©›}‹x¿z}õªYó¸äþâ3M#ä”Is§Þ2‡RÙ{¼u)ÍNáë74ÇJ¿Œ ŠvûÜZî’u!fôë,Š§pè…¸Ù°H¯ ”ž—9K9FÑ”y7sOä2?ÎÒ³Á 5Wh×ã,ß\:>àGÆWìhC#K%¨ÿÛ¾Hó.Iöípy®ÿuœ2p;~>¿ŒMIÚÉfÖ |…c0ÿ‚€ýq“ N´€_ þû*ßìhj+òFAã©h[ ³ð qHF0ÆÙ¢ÐYw¹¬èä¼:Xív5ê`éú>8 ªðaÎÆí€ÅQôžF«AºŽâ!³ÐìÉ+eDÅ©ºÃî—Iã˜9ýMòFäÌuÀ–n‹#wñü]Ï) á৮,ô᧯_"ã.F~ýŠÊTq¹MJí©¶¢¡Íµ%ÙêáWËVbôõíCž º°‘]‚Z¡Ç>°vW&˜Ä-}?\¬ÔeûI2aTŽÔ8 +Ñ$ºFŒyN©©ØÊ"sL0×õ¿ª0±Jò +/¼ÁÈC_‹–Š³#«ððÐ$u­ÌSÑ8kXEœ¥Äµ™y£­˜ÕÕE²“ýÀyŽ6ó8.Qn¸h‰m0øãÇ÷s)Œ@½ò .ïf/[z€°21Ù(Ú¼êEFé/IQµ`”Öš¶&y6é¦Ãió1‘cƒÁ|IµãQäôJ·à$ÝÚ¬Äã‚bÔàèùv¯T¨„†$Ëw]“¯/A-}7dósÀmj™]e:£0¾—¤`âGÁt(aQS,Š!· r r]õÇ´¦Ñÿ+Ì=äë«·r¥ñ‹CñlGçc]Òwh'‰;ña´£(蟌‚Sý’7wTýzéB`hÅÝ·×s^|TèYÂ2ý`Rmá Z«^8$‚êžÁ‡¡Qpy>Ò²;K›ã´—qo° M~Û7³å@$ÚG´8úÂàè¼Õ7V²Zþ%‰þ«ø\é YÞB:²›saªþØ} >‹¼!œS#é€C–Âœ§û!©{0¦¥gû‹WT¥æíŸVïÞê÷  Ð‰bek'}óoŠ"ê4WÜ!CŸºÚœ‘:ѱ‘ºh¤|ÎHZÁ0?}Ç>^¡·â˜–Ôl{e„9h‹}.u>ÓÑ%wx—§ÛD +½JÄò ¨R·ßÔÁj$âí=þ˜´áõÍ#¥ï4íÝ\Žè1{(ÉÛ~mz¬&ŒCä8g17](‚%áýùg Ôÿí[Ýàó &©“ô’/4®ÃsÒȾ¢µ_ÿ~½¤ž˜/Ý@f|È›¾J3±™s(ÈÛÿL°pôÎ÷hW'ƒ\nôÎÁC—>Ýâˆ$4§zÅ0£óf˜ |¦†|f×4𑊦2Ò¡êWd%Èa¡ TßvϦE•µchŸ~å€Ôt©×ºíÁ“2“×(³5U‡»Nà=6–¶»JÖ¦Ó5MížÇ·Þ%±´.‹ý¾î5@i+Dg¸6‰ïªº¶y;vêB’_ÒMß'ôÜr™TØÊo÷>)ZA_Ñ`œˆ7üˆ7x”xCw_¼ð4N#J.ÇxÁµØT ñ,¿Ÿk%û)ÁDàp: F“v=<+±Ã?‰=¤¾öÄŽ*±#”E>ŠH•,ӤРct/@dÕ­ °°Æ¥ä™,*j;Fö–”ÑF> œƒŒV±~¢û4žÊJeY&ì¡}j 9Thê“FHv 3e_t¹®HB®2]¬ëZ½iƒøH:ÇÕVÿÓÇ"Ø€á;"¡ æ?{€í±¢ª/§Øq‡ì)¡K!Ôb‚qŸË¾-vH”’u`ò! F”Ë,i·Ô)s#¹öA§Œ6dÍ(ÞQ(­û¦ßš35@ü°ú:tDÇœñ+·ÏÅhH:*ý¡i?Í#ç>«ð?åðÿfI +endstream +endobj +5384 0 obj << +/Type /Page +/Contents 5385 0 R +/Resources 5383 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5387 0 R +>> endobj +5386 0 obj << +/D [5384 0 R /XYZ -16.307 900.716 null] +>> endobj +5383 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5390 0 obj << +/Length 2121 +/Filter /FlateDecode +>> +stream +xÚÅYÝsÛ6÷_ÁI_¨9øÍÜÜC“\z׋ã¶V§7“ô"!5I°$ÛýëoA”(Ó‘Ý©}/&„v÷·¿]ÀØÙ:ØùîìÍêlù>ÂN†²ØÕƉ}'NJ$Ϊp>¹?±ŠÑž-A8!SX(÷‘ » ¨ñëøÞ‡Ÿï•Ÿ•öjŒ6úËTç-8¨¡ÚFªSZ}2T¢Ùn¬ˆqØlÙùL7¡tŒ¼ž±HŒHh§€ü»¥”íëåò†_sD[š— Á®$u·KѶ£mÉóÞ-W 0h'vkÅÄB(—.ߊºÍ±½g{C~ ìì> ]…ZÇ®E·½l”ý€}×qê6L#ê¾9£%Äšªc›¼¢ý,BÐs#ÔïÚVÁZ‹oiGkÝ\©vƪ£à=`âNÿ˜%|’d(„´:2þç‰Q‚£C‚TB5w©mŒâŠ3‡ý,™ÁVî;nÍ"¤™_˜n:¤0 †ý` 5m‡j¨®YNwý€[r4ÔÉ\ÿ¶Q”ﺹºÓ?ÛõR/ïyuÐÏ·è”ýf¢ …D•ø1Uˆ²` ˆQλ•)ÀqäšH¶¯Có÷³Gú†„1¤õÈÌ3l¯@1b›ÞÑ…Ý/ê¥üËœU<×m…õB {ÀŸJ  ×itŒùÙßµ°RÖÕì„àe²†–£ât:RT§lÖzRl°ŸéþáßÓ|ªªž®¦&ŸŠõoPØôÚ6ö,'’§^oéO4ÿI¬™=Ù•¤wR4Ï¡ðLvJÂ}¹u:5¥ +Í‘´úÀª˜ì$B&-6`ÀR¿ +÷CCF¶ýÉÿÃf¦Ñ0®¡^¬iwý4ßCœ©…F‘ {E´3‡B@•žƒC‡!U0inNOZ@7Š!‘}Q‚Y%ÚZ—µ6]ÝP]ݳÍ×3”suØ{^÷ßÞ°5 =ŸÉ@€•et×äSµ>×=7åÒ4yeR”¨Ù‘Ѓµºƒ<‘PÀÃQäeKþ#:™^Þ2¨Å‚ñHûîV˜L®V ¯ûÇ«[H@į ³d!Šâè$„Ô*cˆ88L9ÑsÇ‘özɨ¼ºKÌhŸ¡ÃË€ÍþÁ¢1×UoBòÒŒ­3‘$8–tºp„ûP ºs»)•²ãkU%ì$ó F¶´‡ÃKÅ#p¨·¶IÝV0BA}ßA‚"’í1U°Û9ÓCžÊ*h¦8FZ†k€g¡n"*Xvô¤t$¥Ý5¹Ü™k×ù´·bm\K)d5mæ¬{ât'/nm‰ŸÛÄ_©¦‡XÆcm[ñf6à!üÆByîF r:2‚xHÊÄ{†lÕ5c¦6'(ÆHT,pŠ†Ô›Œ¥¢Ë˹#†( ÆéoU©ßß5¢íù\”øpgÉö%¿1h^òª€{‡y·Q…î{w¹÷<ùñ»ed™ ÒÄ`"–KUüøÀÎx2L‡ãÚ|Òäd${’üÊkÆÌ>²µ[Agùlâ8jY¬±u:À‡™ÐJŽN? è%¶Èœ$éÐ4ê>ªrÖìúË"»üKâξ•k3Õ{–ÂtÄÙ5\cPÇ€¹ø†x­êvÝ,@½ #Ÿ¯ F½Ø—gDن̕g¡¬v¸&Mî˜UYl††Þ~iobF…}Áu Šyn$s÷Ïã— jªµŸžC‘b¨±¥9³A ÇÏÁA‰?ÿÍÇ{ÃçÛiوףL}J…|tyHkä¾?°“Ôå¾…ë~ÞpÚ~¶Vüžw×T7ÿ£ÝDÏ®ÿüƒ×¥ý‚ŠHû`/ͬ6µ4íË£Û«½}oå÷šÊý+Åþí5ÒϘƒM‡cØr¹w-Ü[÷Äø8Ûn„±Jò‚´gn›á hWÍñ $(/Ú]³êT-yà YqÆñ“?‡Ê†ÿayfÌK¢LÚÞŠ÷Ò> endobj +5391 0 obj << +/D [5389 0 R /XYZ -11.232 900.716 null] +>> endobj +5388 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5394 0 obj << +/Length 2933 +/Filter /FlateDecode +>> +stream +xÚ½ZK“Û6¾Ï¯P/TÕ&@$“Ê!‰ãl²önÖ3U»UvXÇ–Ûã_¿Ýx‰” ÑxSÉÁ& tãë.îáâç«î®^¾NÂENrÎøân»àŒðt‘шDéâ®X¼ÞÉJŠ^.W, ƒ´ƒìõí¶íôÍ°3“¯ÚÍmû üçöÍò÷»_a™¥$O-ívx¬d¿“rèqV§‹ Vç®Ãòi-V ÉS³>r˜fÁK}¡<Ç7¯~º»úïùá‚.Nx-Òœ²Å¦¾zÿ{¸(`v@â<[|ROÖ‹„†„Eî«ÅíÕ¿®BcŠð¬I¬ì8'4äzSKÔ.ìk‹÷«$ ƒŸe#;1 AbTíFTåYhUAˆR5F©YBh–Á»JÞP•4™®ÍrÙgÐà§rhLBšÚgÞÉmÿØ´û¾ì‹ò£G`š’”ºeË­ÞhÓê«Øï»vß•¨ÁéR<#œÙWïž±ãBöÙ¢´øm;6…¾-}íÛ±ÛH²\EaüXµ½‚L¼ Œ²(ÏÌÔÝ®T€Y¬XžD“9¬6;ÑÜÖâaIÃÀât-wbÉÂàci;C®Ç¢,&qê½5öÔè;wPiLršÛw6mo R) }*‡Ý‘³œn«ÝêëßîÞ¾ÑwBYK©ÔìŽը‡ý8mšƒÁs +7à31Õë_õí9Ò¢(%Ê‚Ï}õÍØË•†®\ãâã W=¸âw×MÛÕ¢">s¤Œ$µªíE'|ÇNIâLFú½Ø”Íýµ^w@tEy°xÐC÷ÆOÌÎÎ@°æM?օŶg6pØ5`‡¿urÉ´ôØWKžÆ6ÃN zzkÊ Qƒ¿ó9¾vÂœ„ò¸ Í9™cUegå¦ü†L7»rc ÐÉ~¬´êð«,œ¸M'êÚÎ{³ð}´˜ úEœÐœŸùÔxq§çл“¢ Ö”¤,1èÒÓoÛÂèö Ø—¢?½ìäÀÞ)ãÀÙ %,ûÖºÛKunfœFzx¥/oÁ.BVÂ$jøŸêáÛ]faW‰y†ˆ'9KžŽÃßÔƒ$l-Ùõs›õã~ßvÆú&R‹¡lçDf`Q<›B~>-ËAÖfc³Fµ‚1. S26w]ŸuÅ8´eñÙ0Jf|×®¥Uãvhðí¦t¢G'XJa‹ÑLuÒŒ5,Mz‰&¬ ÏlA)äŒÔYãÆ'°GÙ\r‡Ñü‚àˆ°|"<=RÓ³c$;^Q_X!$YO㞃Qiål#¬Ú•>Ú8 §ô(IBì&&4>쨃%Ÿ_æžBŸ,eoSE Þ".9³R•À»¶,?x±ÿüI®ÑCögÃP%þë»% ÀØÀ–øOÏ‘l6²¿öš*'Œ;RÔ˲­'î…À†&¨ÖùB'`\¦h7zÓ¢ 8ê²ûfI“àQ?¡SŽŒdœž0y½ ò ØÀ¾¥Œ ãð S°S”G—Aœ®)ÝFî-z>»3êW¢ÇvEgÁ+ Aèp ó­^ãqÄyp­bìÖÒÀhÃô¨îhëܘe|BßTxÎ’`ý¨g„þ‰} iÙ*Mƒ»e¦ƒ7ÎA©Óɾ×/)¤FNª( ÚFÀÍáDâP5\òƆÙSÉ8n«î£âýé©@xéôcMˆ¬¦¹nœÎ,å8¬÷ãMîKEhéëkmži^6f'mŸü8µ‰ÎNte Û· œ²ЌŜ®ÍÃc/·£i)•& >¶ã92‰’ê·¶­ $¥c;Û°:•QµVW”ÓûÔt]Zž/(T$<åD{üdî3¥”á<¸µ¸°ÅÕV…×ÙÆ÷.ƒÊBÛæD£§´Çˆz¯ØL\Wí`ä+ÀÁÙ1®ˆ;¾Ö£šÄâ V‡d \o°<‹'æ¸ajŠB-zúé‚Û î×:Ž»Ý+é³–mÅ"¤H·[Ë/re.9‹„øðq÷œý®´àqˆRƒv_;ê¾+…€U õÙF£Ãkà¦FŸÞ÷½j-AiÐôÌçÛÒxÕŠòrR@L¶Î_áæ ýáœ~èâÎü;Æ!Htm1nlµÑÖÒæõæîï¨õ^$Ϊ–©ªcCoúŠœaÍàieÇ㶒ÈÍ„*2¦¢âl:3ÆOg¬¸è[ŸÛY\Ì`¸WH ‡Ùé"4öÏÚꈛi]L¾4qò r`W»VÝëo}(yRÐ!9MÄü55˜/6 u> endobj +5395 0 obj << +/D [5393 0 R /XYZ -16.307 900.716 null] +>> endobj +5392 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5398 0 obj << +/Length 2808 +/Filter /FlateDecode +>> +stream +xÚÅZm“Û¶þ~¿B3ù"ÍX8€àk<ýà8vëÔŽ]Ÿ:MÇÎt(:qŽ"²îúë»xã›p:9n&ŸÐb±Ø}öYPxv;ó¿^ý°ºº~áY†²8ˆg«Í,PœÌRBMf«röiþ‘Õ,l± "<ÿ™K&LsÃ[Ó[;ø#/~àüÎt~¹y»øuõ,³$eQd¤Ýȇš‰-cR¨aXÌRX=¦jõ–OB:[F(Kìú$Ä 1Iç×æAâLýòêÕêê·+òñŒÌ¢Å%A1fÅîêÓ¯xVÂh€Â,õÌÝ,"4†v=»¹úǶ¦ÀšÄÉ3Dpl”ú‘ÖÂýlöia<³Û×lÇÉJc†¯_™Æw$œH[%Eaœ‚e`Ÿ¡‘øï!xÎ0; æEÞ˜kòuÍìË–ïMk—·wÂ4+=‘Ìø¡5oJ^” +¦·~0OÁ¤¬šÛ^ÒBþBÌ›¼)Mã~A¢9Û#¦ž÷’5¢â LC‹eˆãù‹ýžåmÞÌ,Ë7gtS»ú€5ÞÚúKÁÙòºv¶ÒªÂs ì˜d­u'ª}$TÇAÀ7C‚P-¬Û +;$ãTÃóK)ŠÂØÍÿŒ#ï%<È3Ÿø D4ÌN¥óÍL蟢Bf >|³eYÏ:!E ‰O×9V¥ÜúwAÒt¸ F‘YǸÔ2¤1ûÔ‹ZpP"LUŒ¶Ì4+až [Ñüh;`ðÒNeàù´³‹Üž´‚µ‹Ï—ÖG–ûJ€[Pœ ½Wÿ¨1 ®&~ѳÛc[9¡•´O7­-YkW· +ï[^ +;_ðm}x#܆r9Y̺“éüòêƒ~r ^%E[­çiE๕rÿýõõñx\Äѵ¬ÅîQÁw×-Û€ ÁïÑVîêïÞäþ ÿóZí·»ÜÀ™^®·ÿ;^VŸ1Xù½ +…™×kIt/êgÑø9Œ=¢ÝAàÂûôäýý‘­a KúªFT@툞/®'îwjNZúL4ü%D7øˆrüáÏ#ÏÚmŸ˜$ܸ^šÇOU{—›æ߬)ØÝZ!‚ ve:–<)3Q›$2Nñ˜`ä¿­Þ½õDìYzl÷¼r)lpÄu\¬T(µÍ›[—ô¶¹ +ãÑ´³Î³ËKûN;±ÍŒzmHýÚ$ Q’t¡¯ÜÉ£a£“¸“-*ƒ½ÃÄ I/sVmMºFckÀ™ƒÝ!¥Â”az>‹Uƒ,æôï‘ rt–R§Y!rï×?Í:E€ç[^Nð½H»Ÿ–Ù™éÂ"[JPHBZÄ[”`mÇëü yUÞ»HGžö‘¯Y+MûFæ’7+¹´ Û¢ó6ÊËÒk +‡Ûç3Ö¹È6ΓÄa¿çNwê@«4IºsÕ±Õ"•1Èã€ÔmÂŽyXØ¥äè«‚þf˜Eʵֿ\o\Ž‘¹ûð¦¯ñ=±C3 N]HköÎʺ¾ò(rw¹®9ìĺ„åx÷š«€Q-ƒ´#Zðú½9ųª´Î&4 ê;Þ\›‡=ʘ sšÒSØ‘ögÅä­JÿR‘›×b{ÆÜO\¼p\ÒG"P«3኿ôAgŠâ.œ¦@¼ùD£ñà@»cÈMa8¼Å1A=¬WǤ"Ü“>UÁøÖ‹’ž×ôÇ–àø¢È„Š+’á©••²ä—JÝF¸ ¾®Žøý|$ˆÀ7L¹*ótïÐT`¹]ý`ºÄI\°?™Mu«Í©Ùàƒ¤3›ÂÇ„X’+5žù2E=»v”k†s*;?ë'úÏ–$÷$U£v–ת›Dˆ’´W÷T`„HF§ò˜ÙŒïjƒŽÉdÿ~U0Í&¢—öþ#‚ddc­ÏÙü¡ßˆ»E1/ŸöV³+Wiß@Õ⋨ڨâs¡â1T—w×cu¾fõÓåYÕ í"š?+ +r7¨E\ i4²ËE¬×ꋊѼ>0óžÛñ3Êf\åÛ•…E*[¡7¼Yþ—µü™y­E +«GË\ÚQ|ß\keö*›dÂ)wF¯d *9ËîÚã )TvaçÌ«÷^`¡œÔò´5•|9ØVOH–[]ÌÎŒ£`»dêîn»ÊGÜv…¬êÚ&ýJìëüÁmmßV¼=½³0°û¨9”-žÙÄݱ¸á‚ —çeä5wÀpåÑÊfä¹P{Yª ç²Øº»uGiœ"ž«mÞ܉ñ¶ò&—¼¶Ì’[Éêî±/ZöÓì1ˆöe.uy&™‡:§#u$vÌRG'SéÔçû›´sï=Þ;(ŽrV+^.wýuôÍ®’Ûo®µµ4ù¶öío“»‹¿X¢-x°·ì‹0¢iÔ»Íkðžªðå‰(‡ãõ4úPõ¢}ÎÏQº‚I0¨˜ðͳ +ºfÿWuÉú8ÕîPË +Ò¨«$3ŠõÁlË4ˆ7«Æ–U—Æ=E~`ÛíÐÖ ¶ŠÑ”ÐáArf™ Ó0R«6ýD÷MÐôÝ¢V€òàjúu>^~¡?_ÁŠÇr?FîK˜±I\ØË´B·µ‰Ò˜Ú‚Ù ‚>«ÔÓÎí(rô‡;h÷—Ð'ÎOÒä) (Iº1ÃJ\À­kÂD‰)≂ñ±öØGãOf†Ò¾nû=Ý(«³áÈ›Ì9)îJâñ÷EÞø23$Ý4yÒØ@žÈ©­‡I‚åÅÖW ¥(MÉâq·E>6CïYaÓŠÍa¯ü«¤P†…é×lbë>yÉ3ß8r)ÛÊærÀ­m@Œ¤ÊgùmÞ}kðüÞæu{ï3¡…ŠàtßàZSÔé{) ¾›–ï&úN~Î7À4e(HÿL 6™Å€4Äy˜P¯!݇ǖm¾Á”]ñ~ÂâþùñíØl݈r·zð%>¯šÎá¶lBœ\fÔ¥›=Ù5¾’{/•P‘ n12ÜëÄVJ´µÅd”ö`Dç#x­m¥^è»{õônVe³0¿N!G¬H½XÁÛ–‰=oJÿÅ.T a^fÑ8€lA‡ÿPô˜=!öz]¦ý¾å·@Ü \.ô­«–]êê«¿CÜàôîzW5Ó?qt~Ögw/‡œÒ÷ yçwüƒçh·˜ù +endstream +endobj +5397 0 obj << +/Type /Page +/Contents 5398 0 R +/Resources 5396 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5387 0 R +>> endobj +5399 0 obj << +/D [5397 0 R /XYZ -11.232 900.716 null] +>> endobj +686 0 obj << +/D [5397 0 R /XYZ 56.693 649.325 null] +>> endobj +5400 0 obj << +/D [5397 0 R /XYZ 56.693 620.94 null] +>> endobj +5396 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F52 815 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5403 0 obj << +/Length 2522 +/Filter /FlateDecode +>> +stream +xÚ½Y[sܶ~ׯàlûÀf!€$xI$ÍØqœ(µÖÒ4±óÀ%±KF¼™-)þ÷ܸäŠ+m¬q_vA<8÷ó[[ [?ž¼¼>9}M±¡Èw|ëzcùò+$.rë:µ>ØïYÁâŽ-WÅö»š³N 7u«<Ó‹¯êäe]ߨ‡_½Yþvý3³"E”*jWü¾`]ÆïÄ2œN¬N÷]qºÇžk­(Š}>ñP BûTý?ožüp}òé„}l‹úÈ\+ˆò±c%åɇ߰•Âp€¼(´nåÎÒ¢#Çõa\XW'ÿ<Á‡UAñ‰x"ØW̼^jÁ™x¸‹Ë¦`ß²R‘Ú|¦$¾¤„ž J‘O"Ø(7yu£µ0>Øñ&fOËŠóÅ !#yfWR7÷m¾Íø 9/D ÍÎ…â=kÙæ|QT«$ª÷i@¡”ãr˜6QŽA¯â¥ƒEÅÀxû%aEž¨±Hi-'v9aÀ·-a ¢£97kຠ¹V‰¤bˉÆA7·Áý?Tð´ ¥±ÌĆ²Ní,SÌI"(e\¡_Þn[r^RÆEþ[uMœ0!€`_CÀ÷ Â.Ñý×jW©.vR’@§! ÔB÷R¹Û6n²<é´bi0QìûzÍLR¾âñ=¯«/×ç÷ªLëZ9‹@ ‘ŠzÎcž«óVê M§x­­—¸çu ï'q!bRLÉþÄ6ǸûБ­óu‘×Z!³MDw¨@Ê'gJP„vévgŸá˜¤†Ò5u•Î'ˆÈC.2d¼^·ìóÌ1ÁN°KëÊîõ/¸Ç^IkâÉ\^®˜é‚ñÒ£q•ð9ðiô¬ÕÆ c„æâ1`Å;îŸA ½²N¡sB­x½ÐJPŸ> FºðÝCJzN<=®&Áå+dh+p.½’oö<=Ü#q㬆–1<=¦)¸ì”àd*ø;‘è´Ò]ú‹.{@:u‰ÂnsYć`ŸA-Ž‹Â]dzɷ}ËŽ 5èÖ¡ŽÓcÔ²‘YÞ„ùzñ §BÂ6Ñ`jò¼]¬OhN&Ja²–ŧ⧨HÌTL&Ó Ù!ĺÓ2W>ó;ÈãšK â4¹¢«E¡‹"ûR¯íÀ•¼µÐ8Dt ê”JsÂóR1¼ñºO²§Â‹âTш†€n5> (d=gŠ€4s£ÈX˦åb­ŸY¯ SKnUwK÷NŸÒŽq7îy”žê7§ÿëw‚š»—öo3G}\Ûæ©r=˜ß‚'g>qHµî²rÊ¨M_%¼—Ð@G¢ªó£c48îà ƜöÎá× Q£\ÏŸjž¥‡ytK0YÔ‰ˆ + +É™ù,„æ˜:ÇhÒÛ銫fe¬Ô•‹Ãƒ×W— ³†1Ÿ½;»yCƒóÃ#Ž3éžÇ÷×E]›/NE®zeÍ”aÎÜñt}Á§líÚ[Eú…”uI›¯À³ƒ£8Á4Òž ¨2ÅÜ= $UÏ=&X&w  eδ<¢"/xÖ2¦?éå©y¾8;Í<ù¡³÷Õ²y’G‘]ä·Âù‚F#ÏÖâ2ˆ WÜ®FóáC»ëí±1§0£irwq³Ã|“0DxwOYÆš^¿‘s÷ìTcŽ<Õ>x%b–kU.&…rî3¶‡ø÷_±ÿÉub5 +endstream +endobj +5402 0 obj << +/Type /Page +/Contents 5403 0 R +/Resources 5401 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5387 0 R +>> endobj +5404 0 obj << +/D [5402 0 R /XYZ -16.307 900.716 null] +>> endobj +5401 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5407 0 obj << +/Length 2711 +/Filter /FlateDecode +>> +stream +xÚíÛŽã¶õ}¾Â˜>ÔÖR)ióPd·I°E³A3S¤Ành›c«#‰^‰žKŠþ{yH]<òÌt‘ ‚¢/ER<÷+MgÛ}wöæêìâ[Ng9ÉE$fW×3‘Î2“8]mfæ?ªRÉV-–§ó÷Ú¨‡×ºÁÙùÅ?ëõ­oðå—]ü|õ³dŒäœãi—æ¡TíN)ÓÚe€Îf@±…žø4‰gKNòÔÃgI'¦ÙüLäö˳o®Î>18ŸÎØŒ "òx–æŒÍÖÕÙ‡Ÿélk€IòlvçvV3Î(‰bãrvyö·3zšœ0Áfi’F…g†4…®e©^2Ÿ_í”c ¥óõNÖ[Çx‘e©ŸßÙW6{yé7éÚ4ºÄ}Od ö¥\«JÕ¿z´,¯d¹Ô«ªµAöÑŽ}‰Å8Ž8á)ãp5…)•gò®(#Yž„]*&‹ëí‚ñ¹‡dô4;ÝѸ¶ÄÉyó„$€ÇHÜßÚ3­¢ÄI gÃ˽¬ö¥z3BÌmQoqÑA²Ç+;8ÿHi¬¥9Ÿ ”%)É’ŽÔ}£÷ª1Ô&‚$€ß¨j¹*­ÈÇG'ÀžìY&Æ”ÄL„]²Þà‘'€ÆçÊ“Ö¨z£å÷êúˆòVV~Tµ"‹%Ïòù7È0äq”Æ„Sîyìu²íLêugq`? ®’ #°Ö±äÓÁ)õï@¢àA¸po<‹º5Jnì Ÿïä"¢½ë·Û&½"ƒ¨Aóè‘ú,ã(?©)'Y÷‘&x¿!6H ¬ãÈ1p; $büeŠœg>ƆšöLZËQ«+ev.09¼ŠËF¢œ ŽE9ØÝþ.|ï]±1;?Ó/ÎjÂ)³ÿ¯<>ÿwÊ¿¶SÆc¾×›˜©ß¿3Uyi'¹oËWŒD?_âãûRnU~¤œš +~N_V…Ù¹ +!¤ö³e™ià÷ÈÛìÇ(âã]–²Ú¯7ç¢zG½ÞjtÍ‚ó9ѳ?òéP¨;ô~ ìîrèÒ{~Ù@Fg”wè­>s† pÂ9%¬TP»>pW>zlÔµóô‡ÒU³@îÀ§Ù{Lšç³ñù½•Gç§Ef‹›ö×ap{Øïucúzò±Vg ¡´+V /¾™ÒjÆö¼šÊé!t¶¡O" .ÊûcP ³Ÿ°5F2ž…­÷ ðâ<@½zWØ‚gþðÊ ÄÊnû[›O´µÞ·E;YÁÚ{wàÊÔ£¢Ü@œ%(ckoÔZÚ© +ýýwܪÕÂkN¾®‹òˆPW×=a¬×úÂaë5ˆqoéNËF+ùo`ÃïU¨½yÖ[ákä#ƒøÔ³R”„w)J±!w²©!öO1ç„¥YqÌ1é058À_T£­ÞˆÝù£ÜÙ8!äó­ªU# Aú(úl?‰u¶ÿ28ŒR”ú6ú\8JÞ­Gíj?ÍÁ/¡³È†Î +IÄów(hHkñ¸¸tth›¸yÕèÒçÞe9öUF{O'·ÛFµí »ð§g=?g¨4«bU:x$§O™_Zëj¯kÈMÂj:\Ý ¸¢…”Ž 7Œb +ˇKÛR·­l¢w†Lô±ÜvûΉí9Á¯À0×ì«b¸ê4’þ°’eWîïÔ +–òt¸>¾£ 7´ 0@rëãi¼„öÂ*ú@CÉ}åÐü’~ß +0ºËêdžG$K;G£Ôž`kêV‘¢’[Eͤ+d1Ç:]€æ´ÔB;°¦™e##‚tŽ17«V—3Y|ˆ˜ˆ¾¤ùûï¦0‚ýq×A²¾Mz,Ö²\Joûð~Ýè +G €×+Ûfesï-òõfEµõeHl»TùQ#¨Yö(™Kcšbe}Pa©†í`Qˆ|·Énºµf"˃=QlÒŽy0»¥ÇÝ°„ð~[»WkoÑÖQ +nÆù2@äÎÏ´ üY„4»Ò1®GÖ­?!ªÈö9“.¢^¥ªmƒm2·ŽD‡=úc‚Š@œz¨ÉÜ飯w"PˆŒ¬C…*»X{‰¾ª)ç“^œün¹ßÁ!Þ¢ùMË.}.6‘™D„wlÜH£žËudr'3jÛÏD~q¨yôLn +Ù~ã)Oâa:1^ú­rÕºÏ)†™ý„'Ë3"Òü3<Ù2§$bì´fD™ãÍ0~äÌÇ€nÞGF““1'=sB òq‹ƒŽ‚>(é‚ÇD¸ùL±ˆ‹Å`‚ò”ŒŽï«v.—ØÞtø*ȇŠ%l¯&}I +9H×sº•MY´ãñc9Š”ФSUº+v2ý´—H÷‹‘ÌáøÂ^SXÄbD\eMäu§qãxÀ‚¢$àFÚ)Ûž£üTÄM`Øßý÷@s§]wÍÆY kÇ,‡J§1I´£ýâ›´dÞû‡X$$¥ÙX‹D½ª\ï&d% ‹í}Q/ÐÓþêIÑCp`쥂‡0ȳ£&Í‘ÀYž“4ÍŸx«¬úšÉ`Ël/(Š›CLòâæ)ðt‚Š˜Ä,z)û¦¢îxµ/§®½›ŠŸã»M'ø±iXeÉ ¾BòãîÂNk#èÖû|' +O©WlÛ•åDkÍ Á±MjkèqLOYÔ»‚³ÓÖð´D Õl"µ€iÄþvwƒs^íô 5fÀª8Ÿ×ãŒö]y—g¬ÕÞø¾¼ã&À(%z’döÆç†M£žçVI>?ÇW—¿6S0ÎtÌf¨Æ*Û)˸ØÐHÀ—cÑ +_Û=°{ Ë„¥P¡fè¼í$ ¶ZÄð²½4,:/…ÛôâH¨ëÕäIº¾X¿‹rÜÌ],LUÖžžr„ωrÀNLÚ§…¹u0é8?ïÚ}ªÚߺ zŽ=gNÏÏûÖË8G 5˜m¾µ`ïš ,7Eù/cÙ¸ß1…2òÛëC9.ëñVÄÉqka Ý;ò¶s$Eø_HßÞ||F©­öœÉK¬·P‚»£ Îý‹©© hîW¹oü’#Fˆù¥¬pâÒ(`¤.78Ñæûë7ä3¬¹LDðáÿpá¼ÔÆŸï¦<Æ¢Åøg7zí'‘X;¥*(¾MhìîÅ KC-Ä£§ +ȬNL/n½ÇÂ~‚[_—­ÊA®ê:Å/j Žö½5(¥ÊG7”kÛ¦9N‰Nx&[XEIôœg‚‚…/,º4nê¯; %TäŸóÏÿ6ÞŸ« +endstream +endobj +5406 0 obj << +/Type /Page +/Contents 5407 0 R +/Resources 5405 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5387 0 R +>> endobj +5408 0 obj << +/D [5406 0 R /XYZ -11.232 900.716 null] +>> endobj +5405 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5411 0 obj << +/Length 2660 +/Filter /FlateDecode +>> +stream +xÚÅZ[sÛ¸~÷¯Ð¸/tÆ‚àeó”t»­w6¶ñCg’} $ÈbM‘ +AÅq}ÏÁx‘(ÙÎd¶/ˆË¹_>Àá³ûŸýõâýÝÅÍ/ŠÏ2–Å2žÝ­g±dq2KEÈÂdv·š} +þ¥K}5—Š¯[mh¸®´·øs½|_×ôñï¿]ý~÷+°™ Á2¥ˆÚÇö©Ôf£ukp¸‹Y +Üã¹GÀ>‰ÂÙ\±,qüEÅ$ nèGÄž¼øËÝÅ— ôùLÌTÌâ,œ%™`1—³åöâÓï|¶‚5€EY:{´;·3%8“a ãröñâŸü´)±˜%QÆI˜»MaÕ—Ár“W÷Vqäë+©‚µ^¶n1/KZ©÷ínßÒ$l›ûŸ¹â»ûðÛ5íûÇÏ¿\¥<¸¦Åm^íò{m`“`WóP(`ìx­ôúJð ß—ŽìBoò+Ƀ¯9DfSïËmß5ºmŸÙýrC³ÞæEE³Î}p,ßz}Ì”ë4Ð×äÞ²$ÍxPø_»Ú˜bQº°@Us·’—(ü£ÕàÉêçc(o¢©70ƒ<9UÛÔ«ýÒÍ›zëF•F<…»¿/*m ëtQ,”¤Ê‡zU|æ\êÕOp"Å`¾) ÓöÍ”×Cò-Ì ;¿Ë›|ËtÕÂ|šÎ{Ô XÈ2·°i·åˆT”WFÄâãO.|;å#e #Õ¯™ˆhzÕ1±[¶³ææ+Z1oŠ¼‡LX«›-[4:`ù>®” +Ø·-2“2ž%d4.·õˆ ùlN? +ð».1fÚm·E»±iïóu6OY§À¦®ìØ®*W1Rƒò)LB€oš¨­ +Ýý †ŸØhM”zÝÒÄÌ"ÒàÄÊa-ã.žFÇ\VàPÙÃÕÀ.ZDSÖ.8ø×ÁçÓÜ’ŒQ_T*õ`õ(€{„;¸ÇΫz Þ}p=4‰ìú[Õºö°œ‚ö¿r`·— ¡É=5¼+L‚|)§WÈ—Ñá2Dœlž®âŽƒð›Žmâô·„!§ijò³»ÉµÝ½AdÀàÏ€Áéçî Ñ‹{-J1FUw(ÕÁ`¼îLÀ³´‡¬l]×m…/)lU`p-VºM +Þy¢¢¬a߾ŲA¥óåfBš>+M»:i\W¢Xmr@¾ø¥R[)m¡Ê\¡‚}„ Üx§—.§èæ8.t»ONÊã Ö±ð±–Ó­ÿ,œÝ­ æ裗€;Þ'd:hª¤è[þ-Ärœ'^¿ŽµËB–òä•Ê‘©æ¡É(wðq7šèM®. ú¬ñ ±tiü¸Ñîñe%HÖ_›íßrÝÀ^Î^ãÂ@xä×;’‹î ½·6߉Û{§m|œq°ÌþŒ×…ˆY…¯v»ÐgÌm×û=ðÞÞø-uUúP8”~€ë†ÚIQòq, -&gì¢=Ôvw—ÛõW†PPëψ0"ïQ¼Æôé‚‚x:’rPŽÙ cåÅAž­ýü|í—ǀ̙§‹©> Ÿ±ìˆÂà ãætþš ʳ†*2…j²aï~]ßßè¯|f¢?œâ“)]|¾8Da,Êz2E{ +/†Ù¨'˜ëäªjÙ=?¡à]€O<2KÉRõ¤¦ëv²bûqÎb©¾/IĹ$Ùù$™¸µXï ò²¿4IG­~|¨‡Bžuh.²CAë}µ4OU½3…Á[ð„3Ó l8ê1ϱPÊþigÀb×ÔmÝ>í¦‚% …: +ÓP¦¦ÈÌ"˜õ“ÒP„îššþ„KÓ¼8¦íNk¼«~Ë·»R;Âïo¯4K!ñÓh|›ï²ä¶w Òš¸¶E ÙkL™2§C[N¤$’¼ØxÒ^‚Üî¨Ý„„‹…<ó”2Ê©EY/}FçÌ8ãâìlÆ¥ç3nеæS¯)tÆšÒ?£ñ£s«§Rxd¼ÓÝÞ¡÷ºÄÈ÷?²c=ûvaôý©áU½ï#f¿Û5ژ㋠¯ /¯À\SU&e> endobj +5412 0 obj << +/D [5410 0 R /XYZ -16.307 900.716 null] +>> endobj +690 0 obj << +/D [5410 0 R /XYZ 56.693 624.82 null] +>> endobj +5413 0 obj << +/D [5410 0 R /XYZ 56.693 597.302 null] +>> endobj +5409 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F52 815 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5417 0 obj << +/Length 2834 +/Filter /FlateDecode +>> +stream +xÚÅZY“·~ß_ÁÚ¼ ]"4˜æHžt8–R–åHL•S’†$¸kj­6¿>Ýh`.¹´]Q^–\ÝèóCcÝÅÝÂ]üpó|}óôïÒ]Ä,¼`±Þ/á"â>óÃÅz·øà¼S™Jjµ\yÒu~*USs_VÔhfðe¹}^–Ÿèã—÷?.]ÿȬ8g±”´Ûûæ!SõA©¦Æa ÎP|¤.€|(üÅJ²84ô¹°c9Oé‡1®¼ù~}óù†Ãþî‚/dÀ‚Ø_„1gë-¶ù͇_ÝÅÆ€&âhq¯gæ É]æù´³Åû›Þ¸FîY‘ؽE̸S=Oj.ì²Å‡•t]çÙn§v$€<)XÙ6ǶatRŒé£ +Ü5’Œ{°TosÓ½ª#’!uá3×íD¦Šd“YIqJËneˆã=Mî‡ÌÂn¶O3Ø.WsT%“^Gõ˜TI^ë+ßõ˜€ýV”$hÂë=ðóÇÎ,CÆ}ñg 4Òš~‹²XýGUå“%°Ä„z³6Ô­Róä:]×£sš…d¸Ä-5ŽÉ¼S…ª’ÆÛ<Ð/Ù84êÎ~i÷¦JŠvÌ“&-‹ŽC-)‡¾qc9÷UÚ4ª0®SN\ˆ˜¥6²lô«Ùxܦ¸ŠøZG€gl”ó+,eå¹’‰0ÙÛr—âQÔî¯Àx¤×B~º+·ˆìk=_ ÿã|0^‚(ª¥”Ž™Áãé mŒ` Žó£_ïÕ‡#3¬{Wsñ¨~:ç;ÆàØ×\ó0Üe~Aod“5MYf¸äÓ>ÔÓ7¦A󙉘0bsZÑÏ›t{HTöÑ•n“Ã_>Jó´9ŒƒÐ*×DU€~ç:2µô™Ñðc§ö(®¤Í”ºº‚çë$„tÄƽžWiqg‡6 $lzÎmž.Áuk¼¥ž<©>µG3±2Ô¾¯‰·,0CKé$hš]„—SÙ ð…Àó¯^¡°s@”Ý.ù-W"öQ*Z`Br|¬öAÜ…»}¥&KwŒÛPrkÔsKŸ«•Ý&iìÊéÎEŸô»Œ3–·ªÌôº=+U×à?Ùö¡á§·Ká:ëï10ÄÒdŽÀy([ê m q¬Ê­Ò:3ô“%Õ’G +Z—äe[444« HÛW©˜ì4²-‹c &—°ç.O¨±1\bœ Nt,‡žú¨({H-ìô(S§w…ŽÛ¤h20Íêß<Þ=á27ò'‘J5 í€Â¶š![ ¯/KÊZÕ´yÀžÑµÞ÷î@:Æ­¹,òIÛ2ÏËâiG0è#|x1ÂËË>ÇæÑþ³<›ð< +¨&5W8 ¾ºûO†Û‡¤¸#ÈœD¦D ·Œpô‘;8O‡-"sNj“ÅEÐDöö„γ¬6c»´Þ&ÕΆi)ZÉ—t×&Ùér6´¡ 9ô}”š=ôÐ6ïÓf{°!Æ¢šßÚÚÄ”¶žZ.ÙCj ÷é„Üg‹Š¤ëc(4I s¡æjr‚"Òb_ž 1k3êŘh:CÛèjÎ'Žá›ý¿4ËÁ…¥7¼1ÒL V+ÔF£Ø.­Úy2Ö7Æ̪ÌL‚8(- ýa¯ŠIºí‡€wšBˆ²ÉGf¦åÁ¨?­Ô¶)«A ²§>c>?o:ÈÈÁxÛ¤YÚŒ´!¾6|DpD§G,ãÅteÁ^#âŒ`ˆïŽNÅx‚_–\:ªÚÀPnv4‡•±óÂl¤ÉÁ²æP•íÝfþò‡ž©)°á¦5Kv¿AîÒNŽ“/ćËûLò–½mj½ÈÊÚšÇ_¸'¼8G®ÎSõ&+·VÑüDÑCø–Jæñ@ÉiHÉÐ;V2Ÿdœ‘4 Cu$™±Øùn“µÕ†ú¬? ×;Ï0Zýkýêí»÷³×E\Z Pƒ×!§€î ì¯`f<›™&j͌ǚ¹.Ü Üà²ÍPØ›ƒÃÀãzg¦tætfVÒ6‡²šl¥Å‡W¯s³FŠÓŽÉìu,W5ª²Öû²ORcXnB;˜W•lqAŸèÒ¢nTbb²FC,^A0²?I‚ãùÑtÊ‘3.%àÂÄlΧE x‚€b^¢Ï’ã"s0LAƒä…mß^$ —®5}l!hÖÊLµf4Áëîðf„™¸Ê“L}Mòc6W€ˆ|æ{}‚¥·å|É׆“Tƒ+Í©.ÐOvæ :Á/¹#µ©J³èp÷]èZ¬úàú¬Žaí‰ÍƒD¨ùÚê2->Íá¾»}Ÿ˜ +Å"^𻄣~º‹[ms+\r:ÐUtË*½K @¤C˜ï¹ ¸¸a¢®˜B IÔõ/á¯è"þŠ¾yݤò )ˆÑjU“m‡o·äO)è¬6…Çü°©EyÜWÉ]ŽJ:Õ%`áuº´`«µ%ù[VMÖâÅmGníG[¤Ñ7ÜM·Fa}:› 8Ç,±ÀkHභߗצ`}ÂƾYŠ "](«†>(ÅB«°”^ƒ˜À(öv`?À7Jj%f'+¼-}wI5ˆp”VèdÄÃMŽÇªªf™ùô¸®éâÒU=|ˆƒã +×Ñ…¢ ‹ö0 À¡ÄW­Ž£ºk‡³s5}›W¡ë] ‹Væwh6ØA¬Ðd”°yÍŽÂÄD A3ƒÅª‹Õᓹ(h¹ISªÙ2 z.Jß„âbboŒ®‡’zÿ0Q´ùFUHEÈ +ÈdÐyóÔe[mg©û’D—ß]]«6ÊöcDbÅ:tä{xáÒõüòµènº>d¸ÂYCBøTÓmâ0å¥*R³Éó*Ù’v4ÔÝt:è±É–º÷*iZ} †J}nAT?°ô{"/ʺÑí÷àï©šÐ[8ªÝŒ$öºÕX€ÒG(Á@Sx9¨ì¸o³ñåÌï ÄîàÂx ¾x¬ÆËué2¯õ×–!€á–âXÎÖLöL_T¨ +è.š³+½N(‚Îe1Y ƒû²ÕÐ1 ¨N,ƒ”Aïˆr}6î +ò1g‚óácÀýº'8#E‘˜VB•\Ž•kÞÓºp—edÓÿp83\—‰ðJ? °¢Oòæë‰BºžÛw,ÐüÚKÍ8²Qp”gî°áËMsÿâ„Oƒpº?ðNÿºåEQ +endstream +endobj +5416 0 obj << +/Type /Page +/Contents 5417 0 R +/Resources 5415 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5414 0 R +>> endobj +5418 0 obj << +/D [5416 0 R /XYZ -11.232 900.716 null] +>> endobj +5415 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5421 0 obj << +/Length 3790 +/Filter /FlateDecode +>> +stream +xÚÅZÝsܶ÷_qsÉŒyEàW:}°§u¦‰SK™fÆöÄI¬I‚!y±Õ¿¾»Xäx’’ɸÒ €],~û «ëU°úû“WO.¾‹‚Uægq¯®ö«8ôãd•2îóduU®Þyoe-óAn¶ax?ªQÔÜ«žãyù­*^(õ‘~¹üçæÃÕ÷@f˘ŸE­v9ÞÖr¸‘rð5Pg«¨Ç© Ÿ¾ÚF~–úLD°b’zôÃâ g>yuõä×' ÖVlÅ~œñU’1?ÂUÑé‘Í*bòÚõêòÉ¿žFÁY‘صEæ³ &¦Þ‡a¤¹°ÓVï¶Q"èóa¬Š¼®o7[p¯—›0ò>mXà©þ#þÈßÆPCíi¨–#vüòÓ†E^>ÞP¿Ä§Ï]/‡¡Rí@c­Ã½ª%A‹Zy…ðãÀšf·—{ÙŽý­ù|w"öƒ8´9æe>æDäz£Ù}Õ^±í–Þªéj9Êi›B6Ãv‡_wyd«v¯4¶aÊü$HŽ‘·8\¤Þxè[=U$Þ×z’î®ÚQQgNƒéY :ZU"(±k¼ÉG;­¨³~Iݱ '°‡vözA‹ÑÈ»ò䀞DVLoï•g0;°«g9H8H  Û4¦ V¤,«-,¦Il[r­6‚¶6¸¦SmWV9wùPF5'|éGø¢¾VlõaT½W‡ëué¹2¶à}‡A£äÈ"ÐÒ9b…:pGø[ÜÈâ£ïLI¾ zÁ¹?IÀ)¤2?b™ì°oHb"Šü0Î@b`R„{àŸÙ»‹ \óÎyWƒöš·ìƒî×ÝìƒïlÙ´Ìa-H‘µ,ô1ö ¡±ÆÕÖÔÖ‡~11´CÆ…GñC[~”¤vh½^¸TÅÏ›žT_Êžš¤©N# U Ï †‡ª5 Y¨æ¶wÚÈ‚e b? ÃÇiBM ¥½eó.%Ý(j5–ÍѱÐ"qj-æ`GË`w—Õ8ð£ìQœr?à=tÖ[p?æìèÈ_O7QäÔ×t4‚Ä…Õ‡â&o¯ ä›Ü¼Þõ27ÎqPtsÚëá¯'C[é4Îì°« +3÷ЮÑU²°^¹ðôÈã1bñÿ¼Ô³9‹å‰Â–r[ʵÑðßÐäõA.8}-Hîve4P“ùkòÖo|ùyìóÐoòÏ~-Ûk0ZšÔy½´À6ÌÂÅ)ƒ:ô…ôÛ¼‘gæ±Åyä¿{td˜ëòk9\€%ÚAôw$ció^i 9³ˆléç‡ +)k´¾cƒV—º/›Šà2EZ[8ö8.ÀCR5w*Ö•¾ëòqtúÞÜRÌ2_wœêâã‡E/{G‹¢îjUX5eì5ŽNßësù¿XO>WðHh¨,hxæiú ‚ÕX“z‡OˆŠo20'ô¹I#ÄIÃhGjµÌ"ý‚†P7 É5¡1Ko„·vn½€ÅÖfh[ÒÛ²º:¿µTþs° çûqÃÀWšhÄ@œ«€•ÊøJ… „4KK)Åyäœ`CÜ‹ ñg`#~68„ñÝH‰#ONÌæ鼸NdAÞ{² BÝ0¸qúÏ‹¥ –¥~¸RÆw‡¶n[Õ Õ°€®²¤(ByH+bïP¤¸¶¿ƒ2æK ö@Øì3Þ=,d„À.Õf(ÀIaX’ ˆä8zdAz68*Ä9xj‰94êÁ÷ðÔ©‹ + ¢Út_ÕÒp… ‡¶Â3°žqA8­¥_Ò‚j°BqÄBMLëhyßBhT†6&—èSx^™è@’ã–.•4<ÕcaË$M4ºèóÎ,¥è÷&ß„aÓnpÉU`a©_LP#Ÿâ±p‰u¡Ñ V‡±Ó¥ ÁI,ð‹hÅ- +8sE]¯é'7 ¸ ¥± €ÎIŸi€°¾Ô,N­#@ +}ªv¡^‚*ÜR•áðBÈ ý”‘ÚÔh|A¬¤ìXrýÄK”yC'‹*¯éa¯Z¼ î¤í?£8eýöõš^˜È9pA¦ÙæÖ[f°.æ¢óš +MÈÌs^Òƒ¶Ù±s Ùi®™y뚈棧Áwˆ Ä Ô +%¨Ó•]³•Î°göTÀcAà­1³[ª÷êÇñ\õ!ÕxÛ-¹´š|2:(ŵ)hµåý„ ä‹S>'dÑj˦'´ÒØ&Ä-[ëÛ@ÂkšMèM}ȆT'õ²ÄâÈ Í󗯘ˆÂP$®œ˜·Ob§ï•¡õ¦m”t÷r`Š§¬èáè SøYŽùX{íC˜“›¼3™)‹Mò½h§oOœ);}_µj8oߟ÷êó2cÃ/‘zý¬/cÂÔ{ŽçøóÕ?Þ¼½ÄŽd¦oaºœ„1ð‰ÞžëÙ (ãàFÅT»ÛÓ’Ÿ$Ñ9±Ñð¦%®¨Ê OT®­QsÀ¸õÕçt2ƒ·¶Fþ8àƒy³ +1< ‡â†Ö¡zæÄMê]ËVöË•U&>Ÿ*«ùa¼Q&` ´"ÍNòI.~¡DøqäªÐrr¥º„É´ˆ8Î'IÏ¥jŸnlŸ%†=ùb¬„óØaâ÷ôx"€Z4+wù@ËÖŠ®jÀô˜,»š•é¢Š0™†AS +††-ƒâAœ Ú ô´ã-½µÛ+òÖŒ9˜ªÖ‘[rÊIæG±ãø¼œyr>*äC%2°ññqQ¾À!óÌK Ìí•X> ²ÙÑÝThî×B{ÛBC–3,_Š©¸ýü>ùgl~if.uB²¬ '„[ì¶uøÐÈp–„`g«Ì[ÕÚ;5ˆã–XLÁcLUíó "Nƒ±òØ3úgî{# qÆykEH]ëÝTŽ2íªŽîž f)nŒ¯«L¦üÉyÀˆUJ×iur‹‹àæþù ?‰D°XwR*··Sù¶š +,’ð?áh„¥¹³~î27éËQ‚a¢ÐmÑ×-º·‡2dò–V~:½øé°««áÃâæá`T»W¡ãÐ¥ƒñ£àîÂKî€ÅŽÓjnË5ÜFÈçUvn5.±âg ¢oBgQŸï÷U]åg 3­ÊÁìû\oÉu£¸©êr ÙÞ5—wx£;õ«®'•{™Íc /FS!¢L—‚ÐÞš-Fh®Ôvä¸zE(„*¼hÓ8ˆäa·sÐE¤LiË«²ÿŒuŒgTݸÚÀ^û¼ Û˜ô†gž ߦmAäCêZ1Òs­Œ°uÖ…*%õµ´‡Î~Íâ¥/JàŒU꼯þKHÒ}:3ó‘?wwÌP7¦ë| A\㪠“1Ä•‘gØi$2ï¹eé(ÎÅŽœ~4×–%+@K8¤#9`¹È –K—òp`“&myŒ9Ábã÷,Óeˆ"r…pJ‘¤¾v¶-q}ùLÁ@úœñÓ«Š¾{n¯Ã_œâ#¨¦q¥P+@¸f3ÔÙ%ÛÖT¹ôm·¾ÐüÕ}’襳/IhK;ÐrÆ/aF&й^ €2€œ^ʦ»É—ËV"%O_wA*ü·§/žêB@Bff'.’¨½êuIZoóÛFµ¥ûŒ!Á*]QWûQö8i¯£R5€È•ØÔG3ïzVH‚G:!j7y¿ažCvYä0ûYzò ˜)eaı^¸9µPZ¿g\ìí9y'O´£ÝE1C4ÆüqbŽø‚”µŒ¨|ÂS?Éø£9¯+ˆ/xƒ“‰™÷ËÎ^àD>w~õR^SálÿøpÑk³"ô¾EU¯Üx–zo,ò¢®Ngú>F›:°ËÆ1 '0€÷­¢_w©`¸Õ5ò²6 a-Ž†j2†ƒ9Íå]rDÞô¹ìS_B-lq+"8Þð¤H`¿°£¢°Î„u-Wš*ñAJG¥aAw˜Ø-]uW_.Yœú MYòYÎN¾X³E¢Ú¯¦Þë¥ ¼î,µ½g×€z1]Ô»¬7¡«ÙZȺ,n*ÿî¥EiKH¼ÌþmÝÕ……;:!´¥B§CÎ> endobj +5422 0 obj << +/D [5420 0 R /XYZ -16.307 900.716 null] +>> endobj +5419 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5425 0 obj << +/Length 2574 +/Filter /FlateDecode +>> +stream +xÚµYKs㸾ûW¨¼‡PU ›Ólv7ÙÔÌf2vUR5³ˆ„,”IBC‚ãñþú4^|H”ìšÍ^L€ºî¯»¿†ñêa…W¿úáþêögŠW9Ê“0YÝïVIˆ’t•‘Eéê¾\} >ðŠ³Ž¯7!ÅÁ¯Rñξîdk_ÔÞMþ(‹¤|´ÿ½{»þíþŸ fCÊ)µÒîÔsÅ»=çªÓÓ ¬2ОDZ{ êÓ8Zm(ÊS§ŸÄ HL³àÖ>H’ë_^ýtõùŠ€|¼"+š $ViNP‚ÃUQ_}ü ¯J˜ƒ 8ÏVOfe½¢£0Jà½ZÝ]ýû +Ÿ7E$!«4ÎÁ‰ÝŒÜÙ]ƒ.³ëX/‰ÖÍŶwg›Š s« +Y«…oº¾µF%`K¦ì°pÏm)3·gMYñÒ²my¡ªg;';ì|óÎe$xÚó–{™}édßn^t³Ÿ’ Ø‹Êiãš'[8uSD³á@ïYË–NM ý´ÞD„«dÇÖg +Ž¿&Á¦åŸ{Þ)ƒšMŒS‘lžïHŒ1ÎS#÷`‘G‡F%Y#xeßßrQòVƒë©bo_Á²n¬ïö7Gc^ô›ŠuŠ 'æè ?þ ã°ÍÑ*ÙŠÑ0·/fóáN†`èÇÄž÷,…–ÈËïí‰kÖØïn+Ñ©}íªhþ«5ÌöJTB=¯¸5Û%ûx'Š=ãÕ'L±ªá/±ÃwµP{\>*V› ʼnv¸4tnø†t¾êã†büRZ¹Ñ¸3Ÿí`o¨7½ÚËöö§R(xü ,Õ-‡/k¯Uç¡uHƒ§5Ñ2õÃ+(d£xãÜl«Aq#›ÍÑ ˆÇñŒ…¬ëa5+K/…)ïíÃ\g%Ú¸£ôš+V2ÅìH§úÞàNkš;Óîÿͨªëy‚ËÞð–©ÁR.š¤³Iª ”Cº€‹‹™£ÀÓÑæ~¡Áådó}Çw}u´ƒ}3èïØNq·`»a²Cçb„«Óš˜%i:à ³ JKYl¡\8„ƉFñã¢ÙI7™ÏI ˜5ñ¯8(#$7! §!°T­þX@L|®,ríGã°ìPÕ2ÀoëêQà88Ö}¥Ä–× 99 SÂæ׿°V' +€{û¼‘$E8 e^F÷ýîÀseP6§ñB;­é¡mËÙ#²ˆ9ÕG JGQæbÀÓöŠW„©I— ºcx•ø[•æ@e†2¥«Ö¥sÃ57:±æ¦Úêá'QUöÍ…#·_L?â Òß`=Jb”â£údvr5&œú*I>§g ƒCçå3F˜ Ñ~ÉõÖñ1¢4«ò’ÃIž£4ÍçÁ|jüŽküB_2½ÎAéÔß4Œ½¿iºÈ*b ž$|í928s4RªÊsÓYáÆXÏÄf:ÒÑè%ÃS„Sz-YlëzDÈú­ P­°;ðÂe:; Ü1¬3”;=ÂÌ +XÕk‰‘ ó(ÌÏÅÔ–„’ó±pÙÊ’áÇCÞ± +M`À+Ì `ÌXŸ1;Eyô2Š³ê\³ƒ¯?(+ZùÛ»ãkŠìŽÆ°;7VòÎ :ßêµvGœ×öS§ræ-!:Ó¹¥uå×Õ:K ÇV•49ØäçŒÛg;Ãìgw+ØR¾‰Iܯ3›½õ”o ìýAË ™6MäIÓ0l©¼Œ‰q ËfØš­¢SèqßfÌo÷¥Lø’÷ãpô”t<;×æÈRoåõA={‚ÓµH[úúúÓÇu|¹¶1Ïz­¨aû•.4ƒk¥+“[·xJV„+ƒÏ²÷UR“Ë8O*¤ù¶¶‰ð ¬ïµ–dTràð §[dçCã;á$IdC~èL`Êœ&I‚;VÛ;ÅÁ’ÒôXIâê=Œ{ò,Jkh˜c²!Ãêƒáp0q]IåäÄÁÛ²Ö¨·|mGd¹A{Z=ÄkÙ€;¡¸•~ΉÂЊ^ EÎZÓ.Çû[”Ù‹ü·êäÍ ënd[³JüÎ7>âð„ª³ªš#LT@ä¢3Ù) 3Æ/ÖXhQI>«†Àw ëO!YÎí{e ŽÍƒk—™åýÐŒ»I·kÈ^z×ÆïôAý +}ÌÜ¿{{c×½ÿñg^nì¤g°.ûè†ùÞ·æ³T¨o¹÷†eÐÚïeoÛwæâÊÆ/ˆímC cÕìä¾ ƒ8uçé–œ¾åp~3í\ðÿtaui¹ÆTÁ|ôWzó†³çnôóˆCâ ¬)ý˜%ZYö…ïdÍø´ÝÜôÛ€”—ÛjÝ’ì䬡N|3ã&ƒ!È0žeÇã_ŸøV·'¾?Ù«ºš‰Š³éÌLXr:ãÅAC¿à‚åæ_ï +Ã8;UBâåY§ˆ$nÚŒv·.S^àצãªMǵ¸Ç‹‚Æò4óm÷¡¾wKinbØweQ†ÜÅa-ßQWF0´eïב.E°Ñ…l€uì£(¡C1óm™§ Cö± íÎÕ-çGpÉç‰l w¯&5:ƒ¦bìUçöeØçñU"D„h|p ‘pν•[{•‹Ž:Ú0Œ‰ o2—ãèrOûë¥ÞÕÏmGoowRÝÙœ?Rݶ¼æî42t-Q÷µW öîÒhC ãh~otr‡æ 궤‘h´"'i@÷xÀîÖãìâ†?Èípéx§Ø³’Í·ß ÜM¯Š†–ÆeÃÒÒ‚à‰½,¯Já +T;\{U€Û^§ƒÓË6rÙjƒRd•ýùøle¼S\êc裇Ní3kJ¦á·x#–&ŠôõîÓ)°R|yQØ®•õcC„ó¡öW +H)[¼Ž‰è(Òø/áÅ>6ï[^°Þ.³ ­yk¨4| ·Ä–Ù®ùËšdÁtL¶€˜[ùÆJÓô¡ÒAŽ)ëðtö‚$96³3ÃCÁ' OŠî*|q$h&²D ÏArjUÇìÀ1¹ Gà®—.qÇ+⦯·þ¨å&ú +>¦É%èã$CwW‰æñ¥ !w-á…JŸsŠBš¼Êz¢éÀ8HkCzóÈíû\…þ¿Æö›ËƬe;ÒÁ–§uf¿¦Áóaïë¬tÏ'=²ŽD¿_½9õÞÐ7}§ÖΠ0fÙôîÐhïÛÆ70²ñ C¡$K_et§Øo^ƒWŸ°[.> «íºèσù¬Ê3]³ËШq5w‚mm– æNÆË¡-tBž½Ë¢òbvNP–¦syµøÊËyXÏx÷8tu)8'•“¦ÛÕÿD€Þó¼û¦ÀXúwuŒ†3ëÿ =uó +endstream +endobj +5424 0 obj << +/Type /Page +/Contents 5425 0 R +/Resources 5423 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5414 0 R +>> endobj +5426 0 obj << +/D [5424 0 R /XYZ -11.232 900.716 null] +>> endobj +694 0 obj << +/D [5424 0 R /XYZ 56.693 398.267 null] +>> endobj +5427 0 obj << +/D [5424 0 R /XYZ 56.693 369.881 null] +>> endobj +5423 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5430 0 obj << +/Length 2780 +/Filter /FlateDecode +>> +stream +xÚÍZY“Û¸~Ÿ_¡š}¡\†àÍuœª]ï‘ÝØIÅ3©J•½”¸CZÚ±òëÓOAÒøØ$O"  ÑÝèþú€ÜÙýÌýxõíÝÕÍ¡;KYyÑìn=‹<ų„ûÌgwùìóV”"kÄ|á…®ó7©DCkYÓƒÚ˜Áïäê[)èå_·¯ç¿Üý Û,8giµ[u(E³B58 »óY»G>îÀöqàÏ!Kc³?b 'Î ýð(Å•Wßß]ývž;ã³0bQêÏ┳Èõf«íÕ»_ÜYcÀ Òdö¨gng!w™çGð\În¯þqåU¸'UÒÒRÆ݈˜zïy¡æ¢]6{·]×ù&ÏE>_ðÔu*1÷Bç‘^vYm…5 ÍG-u€¤KäH“^möÕSrÕ°¬ÊY);M ™ +Ìãq»ˆm²†Ñ4`µ'ÍæE¼¥ +U + 1/aqêµ³7ÅjCl¯d¥jY6FˆZ4¢Z z“kÛ~nÌx܆EE3úijK™m´:èñ±P†¯»y ¼ºy-ïæqàhÉg ?öYÄcƒû®h²eYT÷n®Mã³)‹B¿;ž¬B;Œœ%Z};¿Ïyèˆú@_÷XïK)Öôí ÷ô!«}¹•‘+ý¾Fëh„¢ir¯v{E#ïÝÐ}eù^ß9hïƒ9j#1\l&,çžëì ¡Fn͜վQðR7ôZ‹¬,¤µ˜3NHJ3æý8çp•ê|KO/Àgc‡,naâÌ‹÷®ë‰ükäÄu6j[ÞèÓ[¬d.؇¦|Ž[½€an†µ[0Q)Iýã‘b‰‹\ÏŒéÏÍÅG´è#d¶z'ü,HŽŸ‹ú!£Ç¿ÎýÐ]>ŒÝy‘° J`qÊBž>Éé‘Zçôø’)Uæ@ DâÛ¼&d:C”+›ÇGŒûiçð`Ò‚íj¹µ*Ž0Ù8nI†¼ìvt§½ßåš~‘ŒYŒnˆ¿CçÒÂ!¸Ixæ¼ýþh€ù)oÝhòÌ”¥$Ík×YÄ;xU€'¼¼×îZJUõ¡NIúÝdx˜äðô%‡m×¢­·I-÷€÷ÃÊû}™Õíq™m €A¤ ýÄè9¹ g”ƒµ.iû­\Â(=ߪì dõéʾ§DmÍowÿXäâå5¿6Ö¶üU¬”³Ýé ÆDtþ«Â œ¹Kl²½’h×ãJæºç–ÙR”6ã‚Ÿö¾[Tl3®b&B<ãqÝâq?¡ËiÏÖïhzY¹ô]šñ3ܦ.ãéçs ›æÈ+Y-þ-jùœ>k’á£-°¬Ê=iWVô;¢ GÞi0|Î*©ò’ˆ¥A—oÜýýÕeä$z?,Ô@ Í^£Dfx!Éô‘è.NÇᤤ·QEY¶ðÐìÊìЊ¶«‹.i–;§ŠîðÒG÷á†çid¥lãåP£i‡qP7àóªXnZûT+³ô+ȃÃ$J9ëÝ&«&P™U™’åÁ|« 8eñpªrд/§À§ÎZ§œÂ ;âÔ’SxÇ#]NÁ͘Áš–¦>Ó©Ñ÷¸¸àŽ%µxYs&JLØÔÓ$H[Ôø#•IK¢AèDQÙLØZ„.ó!”· î³̧XÙBbOœô~cq?ÈŸ;Zht0á,ì2}¦@¡­¿TF®³ ¾¦_”]þ~yÛ}©ŠDZSb¤>ó°@³ïEdÎø0f|•ƒqKùÜv"šÊ@°¬ì«ÜO˜Û"n3€d?q×jÂ_ÓáôÞnj  Ó5x@6•zP‡öÜ@˜/(üN˜ \–º]6Q Àk ²Lk·¿Ü½y 6‚Ë}½Æ«à]€S‰šž33rÝRг^h·~žÄ—,ÀgqÜI$J±¥ÜO²ž®ƒ`ìs*ïZyãc÷̱Æ/xfÊ’(ý?0ubVÇÑ5Ñ9ñ˜¹MÊEYÙb3„Ý$¾¨lÈŸø±®‡QBd«…<„Ÿ$áCÁÇ„èX™°bbØ÷öM_[åGleè$¸­e[œôÕØ°2àÖªõÀE’iÒgRܬ­ Ê“¥å£éLCLq G¹¨ ¡&Ÿ–'Ö¼rP*ž5_/Š™—ü/‘šB ¡4øyûvMš*wS‹õgè²ik £DîŸo_õÖ Á•¢/г¢ê,âDz á&pã§iuÑΞŠíCÊ’Ù€.äOh¥nw°e!i£,ßå£À#:"Áoƒù¼¢gÔ—þµ +Œ!-ˆ‚ãICR³±’u-š¬r{ߊ† ž¦ÕȃÑuÿ04".R)DC÷‰*íö‡êöò· Ð]9M<×ÍbÏ5¹&à®wÜÛÜUëÆËÃÄØú¯£¦%µþa Y|ùmÿ¿¶Mþ“EX쫤ƒ_/¯mZ•¥+¹;ÔÅýFÙ²0Þ!ÇuïÊ/¯ËjQ䊀ø ±êzPÞ¼¼~MÍ—9Úgw—G~ýgRpš@bÇO—?_ñ Ž–Ó5Ïm¶m› O–ù'tJ·[Y™º&8Ý+ågz¥î¸W:È({ KSÚ/lE¡ÑCÿ)"]žl +¥ÃÊä ë5z[»;|]u&P·•Õ‰¾²ä6« `ÌálØc‘ë;N4V4€–Õý¢ÃÅÜ‹4k°ÌógÆÕK)K‘UçÖ,Ë}½lN.I,,–E£Î¯°Â`½¹ðX`m›6²éXZ xs“#Ôw¦èI÷v"Ìð ÈÖé|˜:M•íšTºçù6åÂ,º¡hh}•mõaÂc?;ÃB„ååq&˜'†ò¨-@£ÖàÁˆ@/xô·¶fM–÷›56•5]H%SFž±,ÿuß(ƒß”Í4q°jk‚&-é„Æ ‚EkÂÓͲ½ÚȺ1[ögÔ¢=^ © XæÉëœ;*Zbg)L×›ZW^AÛz€áÛ^júi^ÜV;ɸŠM5”Pµ£Tàü¦ïáŸÑÄþ0hºV|§Â$u}¯Ý7ž½“- l¢"Œ«={n?HÔ™N¡Äí0p‡tªOæf'êFVúY¶9uMB£c?ù±O}:¤6èâ+µâô úPŠµ¢[P Oœ{]…#Z3íBŒõƒeÆ+ðQü¶Ç膃:Ï‚O”ÁÃ07ƒqº¾=ãæšìå†I‹òG<!ñ]v/š›\®àtL˜‹=öãEµ–fÐs§‹5|µ?wµ¢N +š+u— !5ŒÝŒaTõ<û¨‰¬^0+‚•õau;ð`}§¸Û«ät´= èj¥=Â䋳éh»`‹7ê ú±[üüå‚-raK%ñoáÅ;ºñÅD}–S][ä¢>¾L‰C¦Ñ¤e‡¸Vu¢·àãi'O¸2ôúþ§ k@ÔÔv7`ÕÈ¥Ðlj¤jïo|lÃÕQøÜw$h™Nèý¨Ÿ}Bsžç3×÷¾ê`Ÿþ¯*úµ0btJðñ¯kY‹ž?*º9Ý^bƒÒa5<¹ZÝX.¬|–ôõï…3whPUÄnt!÷>…IþÔ×1Kma':‹"ü<ŠøC·\Øà‹|u|Á;>(hŸ“+Ûþ<¸ÌÒOùïÔðDS +endstream +endobj +5429 0 obj << +/Type /Page +/Contents 5430 0 R +/Resources 5428 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5414 0 R +>> endobj +5431 0 obj << +/D [5429 0 R /XYZ -16.307 900.716 null] +>> endobj +5428 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5434 0 obj << +/Length 2270 +/Filter /FlateDecode +>> +stream +xÚ½ZY“ã¶~Ÿ_ÁÒ“¦j„@$ã$UÞÄŽ7åµËÞyHÕ®( ’XK‘2 eFùõiœ ÁÁ6ÀÁ¿îÞ<Ý=~Ïp¢”S™¯y)+3zÞå«vqȶö„"X8ŠYmgÝe¾L]s¨2­!¢*²^ÎG—PZ]U¥¬«Âçy'àCðx‘´½j;k›q^šO#…¾qî<çrçÖ=É¥‡m«!ÎæÈãr¨ÿ½§lžG§œj3Pû«ÂQþ\³k½¢n½ÞzèÀzÇÆm©Ê¹ÂPz½þí.@ÔؘÄÒ¸ÊFέ)ʪ\üOÔøQHðüíf`•ŽÚ›«Q¢G^‘nc†õéóTVò¼'eÖ¡,³}å]µ6ˆ\ÿN$Z%Fó¸®VKHè¥)Šé7°N:ëZc`N «O¯¾<‹¥Zv‡õlóØQ÷)ò½ì+òÍT®j¶G¡ €½3/tûÍö…ùxq&ÅGÌ°ÜÃ_»ú~°ì§‰Äqž€œz{2Qòl ŠXÌA:j!3ch¥’rn”£$MÝ.´Ù:/·ÍD~8Ç'e :ùL>t(äã–L.§É¤(L{9¡yÔ6ªp ·R¶>æK(E K®^8'žõ=i±]ŽŒ0Fœ²×„\ I/ƒ„ŒA¢­§ïæm|+H:Gõý¾¤«³›\=$ô²«Cr¡¾ +ÚËUs*«C“7y¹©&Œ™@Í–örÌ5Œ!ž°.‹C]ÉJžS·³‘›†41nª˜é +fsÒ^’Ð$µPCè‡T°1ÓÆyÕ¼R­?-î ›¿dûC!,á7oli–ð“AåñÆ¢ämkEk|Ï00¤Ÿ£Ê1žtu91߬<ˆÔSìp7@Ho„Ô²¨VPcÈôÇÓ‹€K.®“´ÓhRg´&-?:âgfWÏ!¸§»nŽ:³·k<Û ÿTÿc—•[ßÿT®º( žøÛ Ï.Åf(¢cîËÆZlVEÖ4Óý n3dçáMãj †ó²‘øúÕBÇ}DH_Õ”tP†ad=ŒL¸XتÚÉãÙY‡_/4ºì<²bD¸BØžKªugÝ(Úèzä.ú>§ŽŠÜ ÂQ|«ŒÉ‡5öƒ—©tÅks(²“iÂÓFŒF·HÂó©Š 9œtÎ@®°îŲ€}@í¯)xr1ZÅ£•…€Ñè„bî<ôæ~Àà_!` |ûB_ ¹ŽPg Ø›oD#¯»xïqcêÄ‘šòYÆÐÙ{WÙäÛŸs:(Wõ1d9±”’kwV¸£?rià¡]>; 1Ñ­Ìy#ÍHã×?¨{Úƒ¦Þ6Òšv53ÜŠR¨nÊ2[žÌ§ 0hüsŸ¡.ë¬l€â>“yUz MD†2šÄa?_=×¹”Ý.¥ MlL‘­}—§›|Š0Pa”Þªàäæ¦æ‚§,(†6*N^ Fx¯ôK’ncÏT?½xÁ/Ç‹¤/SÑ ×{ì Zã³»?Ð:ÙàŒ¬ªBùt_Äã;;0û‘}`†ý‘y·Y˜qpšzyþ¡j¢ŽŽk[Œ×.Ýä e1NÇñ"¡ÖïÒ˽0?™èÀ¹Õè¤uøHzღ>ã—q'ÂgRzSMÇP±‰TÛ —jÕ¼åïm#ÌæßšŽ +êM{ú‡§w?šó¶aQmSª ¾žs|ÿóø•L?#ŽÞÀÈÈnªÔÒÐz´Ÿw Ä;¹/úgðxÅžJ©ü\Aúõkþ›qw¬O×Ýo/d†¶B¢ß¹ÅéV|„„è·Q3Ò—46™¯ÅFE‘ìXHumÝGÇêeTe1µÁ> ù³ÞW—æÅG/-«£íËgû{•¬ ÅÚÎÜ;Býéx°kË­“5ócm[XºÔªˆíg&‘ žŒ8 oч +Áç%¥ºuê0¤¡ÒŠyžbPÍóÃ+h›2-~ëwvf­c{ºÅ‘ÉÜ \3¤\¶?úB¬¯ïÞÃu‹÷Iüýô³úñìé;…¾”ÙŠŠÏOÕÑL:0€&z%´Ñì‚ù(²úž$sýxç²}uÔ‡°4Ý6¤@÷&›€”É –é¢+n¥ÛëK+¥~‹Ô’èfšƒ0U›+_…Ï›|[ê ´Ê@v(æNf~yr¿Ýa„“AAÕ)ý‹iÖo§&»éç#4“[ÑœG·¯`Ý%á•ÂhUí÷Uùèò¶ò‰/V>ìråÂkKRæ?-ÜÞø›È RÕÊiyd«t˜5ÕFZ\‰™Y4xÓ‹×¢YÙ“õR÷‡?µTM=ÓPFQÒ>À‚šöy³:ó`‰½é•‚c:)^nEµ°­„š\ƒòUVh¯V«•Y +Çz%f*¾ð´Íë!¡_üFö÷íij–“šìqê´3p–cVÌ®þ±ô’gª´rÚ-ˆå™—]hˆ(ÔÅ/Êá-ÌÚw%}‚Lº£¹>ÒÅ3D[›sÑ—ðÇ©¬P‘„§¯ù¿Šÿ¡,[s +endstream +endobj +5433 0 obj << +/Type /Page +/Contents 5434 0 R +/Resources 5432 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5414 0 R +>> endobj +5435 0 obj << +/D [5433 0 R /XYZ -11.232 900.716 null] +>> endobj +5432 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5438 0 obj << +/Length 2919 +/Filter /FlateDecode +>> +stream +xÚ½Z[sÛ6~÷¯Ðx;Si'‚ ‚ÉìÃN³Ý줳M»±gÚ™4IÜð¢’Tlç×ï98/2åØÝIl’¸ƒsý `¶›³]¼º¹¸z-ƒYÊRªÙÍv¦B¦âYÂñìf3{?gr£³X†2˜¿­ZÓÐ붪é¥Ý»Îï«õ«ªúH¿^ÿ{ñáæ ³äœ¥RÒj×í}nš½1mƒÝ@Ï ®R€|‰ÙR²4vôy”Šq2¿¢W)μøçÍÅïÖf|&S©˜Å)g*gëââý‡`¶>à€Ei2»µ#‹™ä …‚÷|v}ñŸ‹À‰"8+¿v”2(bê·0”– ?mö~)A­›6[ë<¿_,E æµY„r~»àÁ¼ª?âÃl°'šÃz©¶4ÔÊ~ýyÁå\·{j7øuw¨MÓdUÙИcCëˆyV’ E+Èy£ˆq.€5Ënm¶¦lë{'òáî"Åú…iõF·šˆì– Sg厈-—Ô³®ŠCnZÓo³¨ÍOøÏï𛃮lVn+k +Ë0á,â±Eè‡Gɼ=Ö¥Åóoì$Ûœ•mEšÓÒ·4”Õ›Ú½ný´u~´jþ«_8†=”-°×P-F#ÊS€ÕˆXz1½{Tž2à~à!?žå q;ƒ€f÷Òo0#g™-Øb+'@å¸6Më½¼µÀ5Lk»ñιÒM¶v®ÙÛ—1²/j++2[ûA¶F®^WÇݾ:¶ô¹Xð[ ƒcc­dhi¶B ¸#|®÷fý±ß…=!úHÖKŒÓLH=äLòÔvøK’X$% U +ƒuÝþY#{u…k~À9ïsð^×Ë?ØvÛÌ?°.–õËÜ­1XdnÖVW4¼\âj—ôn•~Õ3?Ú!SR}i‹“qâ×Û…7Õúˆú¦¯ªÞ˜š^ÉS;€·¬y/aØsX•îÅd-º¹oí72YÅâ0|š'iÏp RÚz6R²/ë¼jÀ–êxÈF‹¡±cdð÷U0™>‰SÁÑYézÉÁ”à#•¿i¿]H9wVŸgÐ1ÞÖ{]îœÉÚu¯j£]rlªÂtsÊ]ó·“¡¥é<Îíð­ÝÜãátCfÖ>+ç`<5ò8¶XNü—7Õ‹!‹›‡Ý˜-nIsçáŸ0èüh&’¾$‡t;0e P}ø+tÉÚ=3wm­CVè;–›r硸ÀÔÝ9Á¶® +¢cIˆ€ùl’°Èf“^A?V›ì· Íæ%ŒNLTEU^уÝ5ù ˆ Ê›w]vT 6»ÁtÑ\ù}Øpv²vWàŒpššÔ:ŸZ`¦á䔦:ÖkÃJ]˜3óøä<Êß5&‚'2 ÌôÎ4W‰V€þF2¶6íú+ad'b.iÀ’?f`‘&ÇèÛu©ùºÈÈ\z¤µµ«¸ã åãxì»ÍÆÚ¸€`sh)½‰Ä™14"æ 4$lºcßÒU•»‰0¸ÐmÛ ›\,@U]FLO3b:¿|e‰X>jü€JÌÑ@¯@£wºñk–¦Cש×Ê„ñ@õDAðóÏTU®¯ÔÐõ!f·U{˜ +^EtPŠ—v—›Ç )ÉT"†„¼µúâî„Vد·X¢å+’¤e—ËWv8ëñÈ ŠA!C•Rý?,V¤ñá‘ Ã(îŠ]~lÆ°á‡ÊÑú©n}•óðck48„û¨ÍïG›“HêÐ …¦Å‚™5ÇL.ôÁåO®DèRâ*¯Ö>aòà´÷$¡òÓþ¬Ì³ÒøéêñìlõåƆñ×̼§æxÓ& š’Ž2NCZê†ÊЪô@»ÓÛëŸ~ö0µÃ-Ô°Ðÿ‰y]çÙÈ°¹³RôˆÎ²Nбïô¤ù®Z™ÚçëVߣ±âŽ“®‡CåWëv œ8c)uvÀ†=Gž­'I‚O‹‚ÿ¢ø’{gì¹ÏSŠïò¦8´ÎbÈ%}áä†A?šîÃEŒ"Ú?ݺi_t±¢<‰V.CÖ;ÙÖŸ©´C¾Ô?.Y¹!ÆXy,VNyÁ^,‰-¶ž*Fúy5}Ï›Û*¦gLœ¯áoût™ô²~9UÆ’E²KTÙ†Ýj o¦BLG â›-‘)«rùÙÔ¶Z† opýRv€KÎ)š‹©f–¾´€—6ksßX­þKD¶ÃžÈXlQ•ß.8´PÇ ¨ôk4Žµ›ü«®kuOÏ3 ?:¿d1VD—oªÞ6û£‹Û,ÏÇɹ­œÃèÝÎöýïÇbã¨!ù|ßùÕ*[åYåDV×…gÉU N×¥§aï†Èe¶$u¹ŽXLšû®tصˆÐèQa“yÒÇ~áÜÁvôÎÐ'Û¾×Z$þ¡'IöÜÝšt¥ñ°kâÌ! ‡cë¸ÆuŠà±ã4ô…NFã·('¹~A ¦ófÿÇÒWÖö´j¥ûX8ážP«ª¸«U?s`µœ}2,+¨°c=Y-¡\ 9¯?5ŽT v;èb°“Nç#åsÕ"Ÿ†‰ò!¨C&U‡Ñs½2ùÔ±sÊú£ÑÛlão :=Ÿ^BÙ]dŸ½mtxÃMwø +xw¥‘ +%éÀ5hÐNqΠ¢SÍ:g5.NÒ›cWevëÌîÍ+l<Úñ~nðŸ§ÝÓÊ߃() ìüì‘ uÛáâ¬{ºfM¶ùjH„?‰ðg#þg!‘ü[J¥EÀSÏ€ªlÈÃPV€wfKÜÛÔ1QC¶ìJüOÚ›öÜ=†ŠYuˆÆßN%P¦d‰P#mÃò™^åƺ•¶½³`zÛÅóñ™½TLôG +`"˜_,@ÆS¸3—¼¦Ñ`OÏ$ +)\"­`<µÇOØLpß(þ„ /azÎ$$3ÉÏ»ÂãêHX¢úŸôE(´~ ࡬Ý´9Ææ36ÌAN"_6⤷tŠÎkshiévðÛm¯À¡|‘‘;ýĶQù>dõÕ¥óKúÄ)=ŠÂS?ù‰ðd0ý#¿øùñÙñ0 +endstream +endobj +5437 0 obj << +/Type /Page +/Contents 5438 0 R +/Resources 5436 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5440 0 R +>> endobj +5439 0 obj << +/D [5437 0 R /XYZ -16.307 900.716 null] +>> endobj +5436 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5443 0 obj << +/Length 2724 +/Filter /FlateDecode +>> +stream +xÚÍZë“Û¶ÿ~Çþ`*sÂà;ž|pœ8u'®ï¦“Žé@tâI°$dÝõ¯ï ð!QçGÛ™~€‹ÝÅîoTàÝz÷ÓÅ÷7W¯âÀËIž°Ä»Ùz #Iêe4$aêÝl¼÷þ;Q +މŒÅÿ›T¢ÃáV¶8P;»øƒ\/å>üqýëâÏ›Ÿá˜%¥$c¤v­JÑí„P^†Ó©—ÁéI¨Oàø4 +½eLòÔžOã(¦™…?4Éõ›?Þ\üó‚ýÀ£^œ$½4§$ ˜·®.ÞÿxXH”gÞÁ쬼˜„… ŒKïúâ¯ÁyUÄ„&ÔK£œÐ AfÖ²ª8ð‘% YÊ‹ýƒØè™Ø_=à +ÇÇ®ákñ!ˆ)Y,#šú7‹,ð¥]Û7M+º_hE½mQßâ¢Üâ4*hxË(< +üK˜Ë#˜S“]±ÿQ3Ã˽} ¨SЇÑp¤… +£˜Äy"y>ò¶à«R”E§ˆmE†³ðzÆ¡QF"º—•47¼Œòˆ4^to¢jÔ;e…„1(&xòÕãì$†›±¯ß섳9ÍO%€9kx¼u mQÿ¥¥^ÔJëqc­RâïÊnÞwb»/íÎ-þ>È=v|ÁP }»½Ú—ªXjà3*·Õz5ˆá¼@í¸:G£”NXM§›Ê¡œ/KÙZIì?¥a$iöÆ`/;^ßÙ%#M’ø׼‰k%@•²Üà<:#Ì7­Ô|,6¨iXã5. ½pÏ«¦¸ð¤”ÊÒ7&S–e}¢fù ÎnäÚN¢´zJT²†ûäÊ(ܬY²c;DÒ38`µÕ›ƒî[6ªÚ³êzQvòÒšÁ¦¿ëZ¶/‹‰¥ó¹@.®yYNMt´ßëÏ–Ö_ïÐêJ—a,#,b½Õk›8õ FILs· ™_2ÀŽ0äÈ´ c<Ì_à ß©©Ï·Zm[±VvѲM}¹WÍ^áäVKêvh9ÿróæ×KÜ÷ö‡Wa.q±âuÃoEg(„»¿ÙÙ³6b»  A°qܼî>Ô™ßíäÞl¤RèÂ@v:2³­¨xQã¬uvx <ÕÊÓÍ]ûJ€ÂÞàJ¹·îS¸_ëX„Z•b@ îü¿ÔÌŒÝpу+öØ3(<š8ÑÊÍ~mç;YÙQ- œ™»½-j0•Y[|#7Ň `bó­F\¯4>tä¾+/!±ç0OͼÁ0ÈóYv<+XÈs»°SU9!eã• ±ätÅ‘ ŸÏ]3ŒÉLó +±aXB£ùU{Mì²™í®,V–U+øá[xXıOî+}0åñQBC„‘ÁK[âÏ›.^”ÚhT5ÈuU(ãà}Ð÷–Ð’ ÏÀ{í½~`,žîz¿ŒƒÀ)ká[kjÏjùlŠ.ã ‡þ;\0`$Z–ãâœu…4p:‘eQß@dU¨RXñ£‰øïäªçïZñŒŸ—:|\ê×:^T`lß½úO)ËY<Ÿˆ`oñ…EèœYoª vä!".L““8Ÿ#¼qÚ´8!p$>Îésæœæ{]PßNi›Ám:Ù¸Ž,ZŸylɪ”ë;¡AP¿œÁÿ0g$Ìzh/”¨ Ôl ñÓ8D$Ž³>Æ~‘þë|m3PÎŒVs>Š’û§´!ëßnZÖx‡9 Â㜧sùŠrÉ©¨Ç‘j3·ûâ™­µÖûNI¸CcÈ–Ú¡p ΪO^1HÃHºdj¸Â"遼øÎq0£:ΰô$˜¥Çó.údvÁâÖØöˆ¹’±Æû`püÊr.<ôtæ) `9ëãó[G&÷({óoL÷™˜4ú…蟋öŽãð—EIr'î¾>2=ŠÑ ÀÎ…™¿/(Hdê  RS+À@Ôs/= ²áª-SÀÐD¶ŒêªÅI{Í>a-Ì4Z+[Ø"%bˆ|GqFƒÜ›¨Ú,R Æê´gjç ñ_4­×&iƒc±D>Û–b6÷´>$uX–½·=œÔ™3…3¥!‰(íEób3/YHâ(qûu0K¥×åy€ŒSêr»Õ•þ y°‹$“gÒ·Y²ƒÙé9QHRšœžs(6j7/Ͳñ1ÔxŽ­q¢pô´J.¢Lgâ€`h{øb¾~oìVVÌ•Ý­«6·¥{«qid٣à ›¯y©ÆÖÀ˜¨ÚÂ55†þuÛ´ÛÓ-ÃM_Àƒ- `ôöuçâêè0kOøðÇo'¶gûFù7¢[CBãLÏå‡;¥šo¯®‡Ã*f‚ý {²–ÕU+¶ B0|¢3ü§¿›bð¯´l¶üÌÒüs%åÅó09Sœ$犓tXpÎjk‡pŠ‹G®1ž³¨>~Sb2¦?~=ž9Ãî'6u³UÂbð'òä—ãÕ³KÀñÆ›Q¼î‹ÓUwR¿á{%Mðùf,È´¾€;wÑ}R°öïº\`TÒ÷Q&KŸqä´ÇrëMqOzÂV‹±ÖrÖïƒÌ¥q5ÝñÖÈl ÝVøQgÈ {Ààg̓ƒ œÐÿº²0Žy4 iœs÷‚ýGöžiNÒã{¦\ô[ƒER«¬Ô‘í3qÆ€ñ°oeº{vã¾@Ä´¯;×AòÊoÄÔt“Ãe¾£m‘4íàl[œaJ6”5kéèŠÚõFúF +$€¹sŸ?#_a%AÃ6'éãÞò¶ˆ@öQ!ÅÞŽÄxn°ùVØžú6Í6> endobj +5444 0 obj << +/D [5442 0 R /XYZ -11.232 900.716 null] +>> endobj +698 0 obj << +/D [5442 0 R /XYZ 56.693 321.711 null] +>> endobj +5445 0 obj << +/D [5442 0 R /XYZ 56.693 294.364 null] +>> endobj +702 0 obj << +/D [5442 0 R /XYZ 56.693 156.748 null] +>> endobj +5446 0 obj << +/D [5442 0 R /XYZ 56.693 129.774 null] +>> endobj +5441 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5451 0 obj << +/Length 1732 +/Filter /FlateDecode +>> +stream +xÚÍYmoÛ6þž_¡o³ˆå‹^·O)Ú š¡kt@[`´ÄØjdÑ•ä&é¯ßñM–lÅ‘»5ØÃu¼;>w|x>coéaï·³—×g/~ ±—¢4¢‘w}ãEE±—†Xì]çÞ‡Ù;Q +Þˆ¹OC<ûC¶¢1ÃY›A»²/_É쥔·æᯫ7óO׿ƒŸ”†¡ÑvÕ>”¢Y Ñ6ê5X'^Ö#¦¬`>˜ç‡(­}Ð'³æ‹D©ZyöúúìËýØ#^¡(e^œaêe볟°—Ã;ðiâÝiɵŒ(‹`\zWgža @B=‹ÃTcâ”)"8²^dÚ ·ÎûàŒñìý<Â3€†âY~ùÆî±0BÄ"«èÚ¡w#ËRÎi8»+ª¥™ÊV¼Z:¼W\éü:'áÌ®XQ™Ñšçv®•» hÛàøÎ6IÇjóÚö¬óu9â#K ;±L:íMQeb/ê€8àbƵÉ4DƧ”!Â( ®˜­) ÷ @žç"ï|×¹hŸÀõ ÝùTµu±ñ=Àˆ„N üY‹ª=w€µ­¨œU^vHËó‹›9¶ek&6¼æËšoV•¾:¯ý(B#Ý°§ÀX»”yñc*òŸç>=wJ™ùņC$ýJÖk^Ñ}Sžt¿½=Áf»ÙȺ9º_+z(²úÊ\ÅK«ŽFÖ7_W­P ÕÏ™—¼,÷¢“  J`! ÿ‹Ø,ê"_Š•àùHx|!šÁ&ƒ½æ2[©ø¿>jdLÌáJŒ <lÅzSòV8“: + p„ÍFV¡\¶ F­“0IpJ`Ù¿ l4%°æ”2»mzé®ÙzÈ.6Gí‚bQR’B4ö¨-KÙ4¼.{Ái3ƒ/0Š0ôï9§åÂ%¿UB½/…Cy½w¯/^]¾†wìðÙšßlDæ‚ðh& î Kü±l8ÈÂhjŽì£Y[ÈjàíÈ–Ô[WƵ¸Û;’×c¾÷s=z|­Íî#Ú8ÐËn ‡ÓQѽƒ@Ÿ:ˆ½¥C»öYÎÐSä¸yÁåâ3¸fꙌo”“?ˆ*ƒ'©2œžTt"Y†'’%}š,OºÉsÜ‚¦BEr;BfäûÂÅž W0•SN 25^ƒ(Ÿtág Éûy¢}°7–õÜ<™‹cÊÍÃŽòù?0 _4mÍFFj`†0ëÏw›¿×>Žé¦1¢Aâ–°á⛀ +¹Ó( “=ý[(§oMmL"ud£Éð>–˜ø„Kl†õÑÓê†Åˆ­rvi¸æ•’~°?îo·µ+†\õVIðîÞ ªz,h£w±­Å×ÄHÖ#a +ŠÓý0Ä©«ÓVÅrU§…‰Cc ÐHLH8ÄPHØ÷—rtZ%F§ÒVR=YN<’šéÄ«pB¥tJù“•lÅrÌ^ DŸù” f«Ì[Ô‚»ßw+×ÁXŠJÔ€°“t,~ùæàd]l6î¼=r€Nç÷½K–=^ ¢{:š¦·DQJH¨Žõ“Á¡£ÆOŠGK»>œj‚™¦Ëxw TÅÔu— +À†%ĵfÔ¹In×E¥šyjf¡šLÛ¥o©§¶›\_ JR1—šÓÝ5¡ÁhîÇ8˜]”RS Ýíj ÞLï’E±Q@¸vŒXQeå6‘“•0Ó™¬Ôšå¶ÖgÑWÍ™µP-‘3lšg:Ô©ë²…û ž¢!ãåÖ¾7 p×?#˜ö‘0‚bÜQ*¯*Ùj_P/÷öB’¦}Ýù¬íq£2­¿Ž1J!5ìr> endobj +5447 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [305.796 125.53 393.287 136.434] +/A << /S /GoTo /D (V1690_MAN) >> +>> endobj +5448 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [289.228 107.598 373.232 118.501] +/A << /S /GoTo /D (dot0) >> +>> endobj +5452 0 obj << +/D [5450 0 R /XYZ -16.307 900.716 null] +>> endobj +706 0 obj << +/D [5450 0 R /XYZ 56.693 759.068 null] +>> endobj +5453 0 obj << +/D [5450 0 R /XYZ 56.693 738.489 null] +>> endobj +710 0 obj << +/D [5450 0 R /XYZ 56.693 283.166 null] +>> endobj +5454 0 obj << +/D [5450 0 R /XYZ 56.693 246.169 null] +>> endobj +714 0 obj << +/D [5450 0 R /XYZ 56.693 179.543 null] +>> endobj +5455 0 obj << +/D [5450 0 R /XYZ 56.693 142.412 null] +>> endobj +5449 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5459 0 obj << +/Length 2864 +/Filter /FlateDecode +>> +stream +xÚ­ZYsÔH~÷¯è 6u]­Ò-–0Œa¼ Ø ÞY6`"¨–ÊÝÂjUŽϯßÌ:t¹l`†§®3++Ï/Kí.¶ wñâèéÅÑúyè.R’F^´¸¸\D‰âEB}âÇ‹‹|ñÞyÃKξ\y¡ë¼-oTóRÔªÑîôäÏ"{*Ä•ê¼{ûrùÛÅ?à˜¥$ CEím{]òfÇyÛà4œN œùxzÇÇ¿X…$õù4ô€bœ8kõC£w\ý~D¾» ‹0"Qê/â”’ÈõÙþèýoî"‡9à€i²ø,Wî!u‰çGÐ.oþuäjQ¸‘x X‡©”‰!¤„º‘âÊ£„J6̾Åûu]×y&ö{QM¦f"‰xñ#Méƒç…sJ!ºØ ißõœÚhÀw©Ãò\—"ceñk Qé!©l´Kêì¸,K±ôBçsQmõVVm;¶åÍÃå* ¾s\nXU°êLÓÐ9ÞïX]d¦÷¯7¬ø+äHàüRTy¡gOë¢Ù)ªÜÐ}ÁxYdТzí‹î«ÇÒDÉÔ"þɪŠåì2›W¢ÚŠR±‚ý³º¸6sç]õ‰m +Ý»X&®Ã¶ËÐa¥ØN÷E©ûÿÁ>/›™ŠxeµxáÝŠ8Îsžã }§éQ·ª£… £ž—×Zº¾Suû ¯ûE{ÖN´ã;¬k…j•lÜ ô¤K€­I—ÐZ¼(!IàC’ÉlÇ-× 'fåÇ$ +³î…TH¢€šìpà Å/JO\ÿÛ)Hä&𦰆ÈaUn»#=½š_²ŒßvÅž$ÛRp¸ª 7*ú\´;ij«ÀHSkÃ`% S4 QÎeCPQREfÒˆ$#§RšR HšÐ™æî¦II~Mýãøt¤J齦”AaÉ`@Z w³ë“4ˆGÌ°=‡+6sg ¨¶àiw‹¾ÉÝÑ kŠL5{Ï3©ç¦Al†vM±) ·°0º$u{CÊjÑè¤ËyÍ« |y~ Æ$¤ô=1ÃʹÒAYl+ÕTÙb~ +nû=‹`;…Y8uV—ÐÞp +)Hxƒ·îy^0±ùÄ3›Ó†ââdð°©<Âfàý j‘ñ¦‘aû¹Èº=¯ÚÆÀ +¦wt}ؑƯ¡ú­ÀúšÚì”÷¯ó{S¨I@\·Y`ôûÜjiõØ£¤]ý°vwØÕ˜ï-êñIœÞªš$ñÒos³“wç'oN_¼¾X¦^ðÓÈ9­2QÃåY+*ŒH¡cãmYäþ°7‘ •`7MÑêUÍàÉ¢’ÉnL©Wv(Úw‚.¯¤@œèå¼¾ß3 +±a ¾Dò…í%ŸÍŸÅÊ2¦½°RI>1QcÝ`¬½)ÎÐýûÍém9¯ \û?ä“×7Y4Ö1ÊygüÁÐئ+YM¾4¶x PÁòè×õJþp¢ü’ND +¹2\ ©8¥jÿ®m×kØ”EÑÕ‡+F*Þ®5*]+묫!j¶ëÏêë›·!aƒÂä¡ô+îióØO‡dˆÊÊ»Úê8×£>à#Fúw ¦l! ^;¤ö¶hKM/ÔÓD°Žä;‚N[såHò ½BZü~,*‰Ëûª?ð/»ˆ¦÷@·4+$¦"´ +ùÎ4wÑ1 W‹þ4°µkÕÙòŠ×GË¢iX¢>HȧSw—#7@Κû‚kz÷Q3—xýKÌ.&¹©y‰‰{1”Ç A×Àá‰óðžzÎVÓÏøܢU–Ž9ä«IvvåJà ’(À’6"↑¡…Nue·,0Ö×2<ˆ¥C2×ÈE-rðK p7²¸¸ß— ƒx” ¡£” ­¸BêúR¡ð›íD‘q½“#$lÍ–¢2¿pm³¤ÀXfH¾§ºêÅ)^±MÉuQèê¶3™îl¯Å¡.X«©ë +™ç·å‹=»˜õ »ÚÈÑ{#¼™Y>‚è•fÑGØ‹†i’ìž# Ê+UBå^·*ãX¦/etÓ€ ä(ÝÇøA~߆+?ã’X<𮃮,›¥=¡zò"S"„žAa‰s-:5ôyI‘ÑVõ˜ú9Õ;lœø¸1¡a'Ö0E†éBõñ2RÄ©92q*nv·šËC7= +&¸EÓÖ]¦ 6ÏOv´ñÈ rÛ;Ff-þäÖé‘EAXƒô©ãI¾1‚‰À«Tû§{—BÜ{b¡N!Æ~ÛJ®qh‚¯Ù®(ói|ííθ¨î9š²Å®¿ )P¨Üȇ¤ öãúZ¨ðÇÏvB4úª—µØÛäzöúD-)g¯_þ×´ôr¿’{I A¬‡6šF^ ö]@Êʇî=¶n¹E3¢¾§žØ·í9¦±ÇÇÖº5YMW=µ¯šÑzÖ¯"ÖÃM?ZK¡ZlÀ™¨à¬kµOÌ"×Iµz;´|»†Ñ¨S:KœF—2£.ÕkjhDU^ÏænØž"+yãó#Z䱩OLãé3³l 7ê}‘©ˆ¤XµÔת+c”¨¯X-:YªÀ˜z~õ²Áɪ¨a¦[{ÑèÞe²e(] S‰j¥Å«dÂÑ+üÖ\梺¿¤‰£ÉîØÒsu0¹ÆøM×µŌôMQPÇa§67ÔÁÆT‰ ei ² 0Õ-—SQ-Óô!r*EÁoaLVDЇZ<ÿ»zù…5§L?Ç'”ÝC[ü„j&½¿@EgŸPøáñ©GãÄ_Ú™L#…è')Ðî¾~Nôtêê˜f8›]T™×=“/ +ªú>I"¯ÿ¢àY¿(z:aý5XaV‡Ör· +‰¤gøâ•-0DdTGjûSO8-½[Z2tL<ÿ›åæγKcâ¹ÒÕ ,B¶S÷›ÊÐÊÐÕR1/1`ª7¿Øx~D€þ Ï£x­þà c&Þ" Þ¿¹ë{‡Ùßë3~gªZ@«·|}Míoü¶ÿ<X¥æ/ÿjçÚÛ +endstream +endobj +5458 0 obj << +/Type /Page +/Contents 5459 0 R +/Resources 5457 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5440 0 R +>> endobj +5460 0 obj << +/D [5458 0 R /XYZ -11.232 900.716 null] +>> endobj +718 0 obj << +/D [5458 0 R /XYZ 56.693 759.068 null] +>> endobj +5461 0 obj << +/D [5458 0 R /XYZ 56.693 738.489 null] +>> endobj +722 0 obj << +/D [5458 0 R /XYZ 56.693 228.512 null] +>> endobj +5462 0 obj << +/D [5458 0 R /XYZ 56.693 198.069 null] +>> endobj +5457 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5465 0 obj << +/Length 3482 +/Filter /FlateDecode +>> +stream +xÚ­[Ioì6¾ûWôe€öà5£}yL0y“É û0@’[b·K¢"QÏv~ý­MµÔ²/6µ‹ÅZ¾*V»óÎØ}{÷ÕãÝ߸Æ.D¡gy»ÇÓγçïÓF¶¿{Œw¿î!Á5¹?X®±ÿe¤–íä€%êá¿iô¥Oòâ?ÞÿþøLs0Mº®¤öÀ^3R'„°š?†ÙÍ]³{6ŸÝé}ÇÞ\új~Óµ¢ì¿ÿL/ä_Þ}ýx÷ç ô¹s=ä…öÎMäÖ.Êï~ýÝØÅð 8@NìžÅ›ùÎ5 dÙŒ³ÝÃÝï % +cV$-m'D¦áI¦~³,WpÑ~¶ûõàÆþ_qLb)€º)KZ±‰°¾{üéG9ÊqõÔ”R@^Ááó™Ž<Dzb*†Q²²e…ÈÛ—Ž´Š‰š3V¥Ç{ËØ7Œ|P÷Ê2K[Εÿ ŽuGÌ!†É24^ÚÁô}dØ. €K7¸.‚Ç„heyÈqÍÑšÐs³D³26Ñ ºwI^f˜µìáB +zo¹ûçVÖ¹zL³&WoÔ%‰”®¦§ö£BÑij—fè Ëogþ›†7ÝsØS ù!H +¹Jÿ®¡â";Øõ¯Låm -+TòרÜ%#¶\³S}ù“š¥f)-4<62ƒNêäÞt÷/Œ5[ +ƱNjž‡‚ñL´aYZå½¥[/ŸÒâ<ÖÕ´`¤*p&¯+©§Â³¸†Î:emíÕó<À…´WDMÍhžþÅÒl¶í¢ °ÛåàcÍ*1ͺœH'£ç”%’~YÑ’TìUñnÝlÏÜ¢«h–µìõŸ°ÖÀLðt^ÜÙ¦9å©RRkØ2 ºÛ\ÄZÒ`þŽ?¥|þýà¸+ܱ—G,e`àW§m:ÝÌ%®pN`/öXAŽé­ÞOó i:½‚RV@Óí’ ~®Û¥Öyº‡ `k|tÐÑB«õÀñvlI‹ ¬uÝ…rÛ8¾Y4¤êñd}ì¼+ÃÐ…ÐaËM÷6Òqv)¸ÀA†áŒE²ÜôaܱÚWέë,­µ¦€þt[uÛ,d¸Î-¾vÛRSdé_$žáÒã6Ö«Þk~¤™Î«›¨÷7"œi„‘Åš[¯ïöº­ýB/É ø^XµºëÙ¡³‡‰EøÕy ÃD`É©p™¤ÎŽsZ¤Üg/ø$B¨á-ù$îí‚$6L@àrú‰†¸Iù6/@¾g›tÒc©‚ŠAT»Õ\Ò]î4¸sðz§Uå8ã^R'¦Å Ðp R3‚'ô¤!í€Ñƒññô tGGÚˆ7ëP ƒVïä;ÇJ?qž4B9~A1)µ8<G‘Ó{ﺦá;KW7LÐ(Ç'a µð*öt ¦køŽdå”Ü È-€á‚(¾Ž²´lóLNó#xsEJu&© ¶JK9€T8C¤ƒäõúr ¹N?ìêèÊã犅® "¦¿Çòßo`èUÍ×e€8™z¨þ÷«†‹´ÿU,‡÷•±ˆ»R&0èSq¸pžzkS3PJ €sIÂXõ9VµÂpŒUa¦Fys¬†²¬ËQ»ÖË™®Ð6Ǿ¸WjÇØsÀä8Êÿ9Ö>F/˱;¾àÙ˜;úÏ<ˆá‡¨JK&ï«íý§‡y‡‹ >ã°Üößð¼HHåTxMÅ„á4«5!’ˆôyü9Ή”«¸%÷J½¤‘ãXÈ /eÔÂnùx »ÿІ9õà÷ƒv*êöEµŽžÙ«é/Ôm¯ŠÑ‚²N»L0¿‡¬™Ì4pƒ+“D€ u‘Á´y‘È[Î<ì0Y°Ò“+½P[¦ÈRØíƒH˜e$Íñ¹CÜå5Ôhº‰º¸Å?£Ç?HÄ":çâƒIZÉeV\·•}î +Voõ¡pS]â´Ò§®n9VõTN6¯½[¶Ì¼è–£n_¦ùÕU„JÌ’/5ô„îvòú§.-EŽÛÑûùûËtÁE¾ãÝ–.xÖ°ºÐš> J\÷»3Á·`¶gõŠÐ/LŸ=˜“² +7öxò/цÖþQ^µ +ÃQñ§–÷žRÈÀ"@ÕU +Ê΢ãMjVçga8ãÜ„Ý)²V–[Cš„ˆÚ ‹6!™–·àÀ4XÕ­U¡YÈñ›áàoä…iÖ‚ùî¥Q9ÜOL9|áøäcRU”¤ºôÂ$q½S{Öez`æîßÊÆC6N6cÚ4 +0ùr®¾¸–kY+vÆ혺ÍRÅE¯:@‹ð»h“n2†dúÄ¿›)žù†?-fFÒ.«2@¦Ï¬N]VÔf^iÝU¶»÷‰¦¤ßi|4˜ç2×8x7‰ÍÓOyöŒ3ˆ¿¶m(o©P*L&ßé ƒ_­²Mg„Åù. øhò–¬"ÀQO‹FˆŒ>1Ÿ+Ù2lGŸ¾Ë +šËG|@þ'þ3íI/}î‚ʇÈò»™‰D™¨­øÄŒ<Ûc"w$"rb9Æq¬îÜŒ×Ú¨Û¦Ì\rY&Ï;”ñ=‰¯+-Zd¯r$Aû=Iò@5WóWê‘( +ŒiqðQ—'ƺù¬Ûø½=}ÐÕ7†[Œ£ˆd:§A0\$ÓïVTõÙƒP´YÛ½æZ;F¾w}«÷p8šÉÖ,Ùòz}åGrÑl¢"³¯Ë/kXB+e·«Aû<½#9§EÉÁR=u‘T”Îf“¢Ü~%p–'ÐÎêU‡ bºÁê}äÔæ<‹Xbx ©×™ˆf®Wˆ(4XèCͲÌNÈ’?ö;ÉFÎ\«3«ˆæy—…uÞGÞ’ÌÇ„JðÎÕ°Àw³šºV/2€§ lñ(g¥fF­Ä×jKNog‰ä8Ýê2'Åg\m&ÓsSU´šQ§5aÈ'µYÑ/¹êN"Á˜Æ¤&B^Øʚȼ}ËY^Ëwð†ä%"%w‡3뇠ÚëØ ¿¼yu§4#s»±Bc‹;¥UÍÞ°±SRà)òw E+’ž‹2©ôf)D¾>4žš"zŸx&-7¯QïðÏMzlÓ³·HÓA¡ÓéJ#=ÒYt‰œ5 ”á£ß-+Ø”€Óf3Kö„?“ݾ¦\ÕÍq†1Q1_¿ÂWñ3Çåo–UB @„§4Ú„oF¤DóÍ Gä½H]sØ0ÍŒ ¹1?‘×—ú„Ž>îÝÎP­M@ndˆ'~zh~#C‚еãžq¹t=Ø\œ½±aoä[$•“ò¡ß³l™ZbÅ3ª9>[¦E[ \äYÁØšš¼Á‡Cˆé³YZ^KVo¥ƒ³­AÏïÀŸhEÀq\mM»&¤Þ7üAí8zºbR·7ðÔ-¯$U=‹×(Ü­d¦UhE0d‰gàæ"JðBk6—H,êÒõ¨²NYѸ‰æ çšZJØ×´ZbM~Ônã¼8&——l£/ û#€®StLPú³Ñw?®Q†ÁÂÚRÌ\eM*3àª"Üëo–Ó€­2 1Ó‘¹NL±¦‚:k¶Óƒt†Ï›Ìˆ«wŠW'“F ÛdFcJ oÔNÆëÉT„lSô)0¿SJ²x+6®­ºâ蘱æXËV‘¹Õ€­†{÷9bëÖ8à«ÚŒ˜Ç„]§oÚÁך7»v âò­ Ê×'^ëLÀêÛ®Ïï@ð˜œ6…þ1!ú¤íjYgFýoc͹ÂuZÖs¤/Y-WG 5Uº¥Æ4¦Q“*-ô5ßUdOê3~›¶w„žiãšÿ½ÖÔw°-k}Çk{öì ;>†Í^QÒÈ_·èÛ­¾—¥"Ÿ“´fT[”æ¿ýo= ©¦jRÂ(S]g¼¯0S­hü,°Nó4êy­ý¤ëQ0l· óε®g®–çÑ0Fº¦,½S¿ŒœqÙe-O~Ü(ZìüýÏü¼³(QîÃ7P8iû“»üÜû1¡yÛéô%?<‘££¶qÖ^Ñæœèáâ CfAžïžÑõ–Ôïí¥úngû®u£Ø ª¡¬ë"ÊL£@/uÆûagÿ=e^°ÏpqnTÓŽ/Žzj9üå›Oí½¼ÌRÌϦ¶gõ Iìòpq¤4#âvâÛ‚ëÏY¾>i´ÔˆÐöFÖ%¸æ"žPuŠdG…tØ5íIñ§X¬Öó¥øÁþ{~ší[û”+¬oËî ¸.hqø‹TTÞåZ/ÜçMš§{P ÞÙÁÕíƒü=)¬ôíU¾ß1˲¯“S/ä},/‡›"‰÷ŸÓ,“÷Žê/œ:¼ûhjR‡ÇÂèà1–—É=Ì\ÊÎ*¾†B>UͽpG”‰%ûjɶZ²Å—,$)Å3’#—À‡Ißý€yÑ¥Ò¶&*æùoÚ7ÉIuáúNú"u¿»»7¼pËÏnÿ….. +endstream +endobj +5464 0 obj << +/Type /Page +/Contents 5465 0 R +/Resources 5463 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5440 0 R +>> endobj +5466 0 obj << +/D [5464 0 R /XYZ -16.307 900.716 null] +>> endobj +726 0 obj << +/D [5464 0 R /XYZ 56.693 519.936 null] +>> endobj +5467 0 obj << +/D [5464 0 R /XYZ 56.693 492.517 null] +>> endobj +730 0 obj << +/D [5464 0 R /XYZ 56.693 464.058 null] +>> endobj +5468 0 obj << +/D [5464 0 R /XYZ 56.693 436.64 null] +>> endobj +5463 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R /F98 1205 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5471 0 obj << +/Length 4055 +/Filter /FlateDecode +>> +stream +xÚ¥Z[¯Ü¶~?¿bÑ=:€WÑ…ÔÅyŠ‘¶q›&hì’G»âîªÖŠk]||úë;ÃRÔ®ìé“x‡Ãá𛡢Íqmþz÷êíÝW‘Ѧ Ë,É6o›, ³|SÄi˜æ›·õæ—à'ÕªjPÛDFÁzTº§ÂxâÎoõþ•Öï¨ò¯7ß?üööo0Í6ŽÃRJâöf|nÕpRj°f7Ìž¥8»€és‘n¶2,sž?–8æEð}â¬Ä‘w~{÷þ.þÑ&ÞÈ,ÌÊt“—q˜EÉf¾ûå·hSCHŠ²Ø<ÊóFÆQ˜¤”ÛÍ›»ÞE¬Šh¡’dd¹,N,sQ†q”‘TIJ#†·ùeGQœ«Žæ«´ˆ0ÍxôÛSZLÓ8è­vÓ4 ö­wèi¤F!¨_ª#u'ÁàôH½»‡$ +¦£ezÑýÈ”UWSëAUãÔóT½z?©a‡­”"xÍ“UuÍóŸ5‘Æ°¿°$Ó›JjéÔC"ƒ'Zw¿FQrœújltG—j»¶û}uV£êÑ‚ +kAEŒ,Æ^·mÓ©§.j?Ô«Ô +Ø¢¸u/¨"ìÙn©­éöíT;.§<_NªcÁÄh;ÿ= cƒ‚ïMï l-Xj=‹A3Ç´¼ E²>ˆ(øðËVÂŒ íÊ‚îš½®ù|ìOU_íqý/¨„ÁP€êF>YfZ¹X0ÔNªªIuþȃÖÈ0\Ú"š¡(%)~M’c•`«?Ø}4³^PׇûØê]Õ¶ÏT«›¡Ú¡~¾¥îXQrEÓ¾ˆWš~IÇ#†cj¾Àó‘FE—xšÀ°òÐ ;<¯&p"N--γÂ1ÎÂ\ˆÇðĪ5–PLµÑæf+°“°¡ JA=èÿ`Ue§­¯,ÙÿAS­1,|jGj -ú$;=ž¨d6Ùté;Ñ'à÷?ª×Ôùk$# „M:@1³Ia‚ÚW *gíªšShšY„ò@”G­™DwfC¡ô¡Þf\ +Qµ ám®ª¿’$õšµ¿ŸH=þ¥ðøÝl÷ÔÔ¹qèõùŠþØó‚©ÚtM%< /Vl¿°õ±¿™à›Ë¸Ñ )aû|ú3™ÑT©ÌMΚªþ!ÍnîôH­Gj­¸jv PÛ¹3˜ZÅt¸³ø}Òf|§=-Òy¼Ù ªfzödØGJ¡ ñ§S³GâQâÄL~Eµ–A·Äð °.`½²UM7¨~¤\‚'Ãëãã^ CóÁ–ª³žÈ%A?Y«†KµWÔ´Sã“"ë‘˵F(išÇþA˜¡qÛY&Á=qq'q¸Í“hj¶GL²qŠ`_ñ|Ö9˜ +.˜‡~áŠÑà4ÛÕy²*Æš] Œ¼Bʼn®xíÂ⤽ã‘O’—^ïZu¦Š9^ðåµAÉ7x¨Ò¡ Œÿ„Ât¡¯ïdÍ* ­¢O«™™>Xö@r3Õ³ž¨PãY„]áö'㶺ñfÅ" ú€BV}~ŸÖÁmÎsTVؽ>ŸÙ#_o€!Ç›/ç³d…ÕùÒ*ôpGÒLǹ”ºÐ:³ÒúMpu›P7M½7´Ñ¥e–¤ª ÔŪñDfTâi HŽŠ dI–!¸PDJØúõξÇÓ6¦YÛXOJß“:ãᑱ%´_XXpˆÉ4°MðlP=Xâ³ÀÀl¬šŽüÔIÕ挣z ÁCwÖ‘Îø/„˜t°èŽ‚“_÷5aG‰†n¬®X¸È‘ì2Ê Ÿ:*ìqrÕSÅè¾'m1&TÎz©D‹h:¦¯b6C±2Ø +`gçj„½YE‘¯&æ3Ò®-ˆ}æ\dæó”{Eø÷ì|˜ö'>8Ž,‡êÛµÕAíMvضE(²+ò)ØöM]“ñ!+Rg·eѤÎV ZÆ@ÓŸáR<´éŒáIÍRsç´ÊÝ,±‡- +~þé{´àð+tÅYìÀÌBÍæÆ3ì¸ Õf5áûîÀ·Afí# O%e¾‚úK7¾³F…•aº\À –‡#EðOEaõñªá¬û©ï®Ãý ¾êá%ôKt5@¨èÛ< +£HZd¹o«a@e®Ü"€6E\ZÊ+Ìd(dáX1ŽèFV8¥a”_ÌIuݲIB—Ÿh+Ê2Lf/üê{Ý›°ç÷-2¸§ d…OšÀ¼_Î"â¼™9Ô·Ì$öyñÅÌ{÷Mw™Æÿ}ãóeM Ì.ø\ŒËq΂]’†ñ¼•°‘Ÿ°®43¹diošˆ"•5ã ‘Ø1‡†ýÀ§–]¬ ÜsF¾0 z ž‘ÿíŒEÆÂÅawÿOíÏn2´E˜fåÒ¨\dø•æ÷qÌ.º§ü¥ (a-¬ŒE(Ët5® ­ßÙe¬Ègq˜–òÊ@–s7³õ>·1˜BžfÞ&$"ÿTx :Ì‹xu’-+Ž¿ñR‘áÔ·°ƒY´¸zne)²0Ê—ñ´wו C!¿ì²{Ðð Þ÷(MråÀgÎAAexFDØiÂA76Ò™'œU—ŠÁÊœŠA#1=\YŠx$º‘ÀU`Å#a;7Ñ¥¿§`q^‚afÂÊû8Œ½“e˜v€`ÆéswÞ¹ºÜ_%cjí—G¼¸º±©Z&b‡šºI/U<Æ­Úæ—ì Œƒ1eA +yÞ9õ³S~ +HÕWSð1 +ðÁœIìEBi–yJ‚ŠÛ³LñÑ„:a^*è‹Pâ ç@#Hbl?U5ÌžÀ·ÖD ZÚÖ\1ÇÙP¢é¼ XÓTèØXâ¡4Üò§?I} ûê¼›m¿^¼ŒbiÛbA±|›Ž¾ûã~%67cH¨ªÑ(H~^ s J•@¡Ú5°2&3XÎïÅ 1Z4'Û©SÓ÷¨:PÈÈ”˜º§²ŒâÜï'Ž0ök9E d’ êœàÄ)ŸÏ;Ýkšp†‚™Ý÷b™]ùŽ+43[ ˆnìPApÓa¸6ÒY<#ó€cÞF/“›~V E× gê$÷í¾ûXšt %ëèØ|ÜÒ°u^Úµ5Î*66·¦b$Ã+Ê]B‹KRQ˜ˆÒÃ6ÖesÇ¡WØ:˾uÕy¦3@…# ËÍÕˆ1]Ááê@ÊAaØW-‡HPãˆÕëÇ«°…ÛÝk.xC µ Ûa-&å®x|ÅÜq›ñàÐ)ÇŽ~׌}erfH Zµ·Ï …M¾oy- ËkÁSb’Ù‡ (%}Í^Ã3N©ðï‘]Ýñ)x$lÐ3Qe =’?6Y9hà;/ÝÁ‹<%‹a9|UDÑÚ­pfÆ g{WöF“²´§ +=§ ÷Ír "nð¶ +“òJc^F*•éŠ…R;'ð|¦š¹8R)ÌE p»\̶"©fq|ÓÕn°Q B[µ£G/(¦‚¾óAƒJÓÍ›Â÷˜ ÛÆTÁóòúÍÛ¢å6fûEyZ½Ç´ºS,ÉÏ#—›0½9žÌeˆ. 4^lÏTgW –‡õÌ]›2hôubZÍ{”¢ +èÇödüÄ#]öŠn1Xñw“8ÙUÓS“÷Ú +®GOýžÕz?Í0 ¿’é©i[*a>keý{ Áí~´÷þò½k´ÿÈÙÓwR3jX&ïׯ“Õga®¿5þ)þUuÝpѬ±÷h™ÜÅÙv³µàºÁgíAÜ +gÂÓ@º4/´ÏTX 3}:…Ë4ij™ìtÎ ±ÂÏPÒhÏ4d¾¡Ýú¤Lƒ7•KÄt•ítý¼–1|:á¼¹¤ÄE>ï)‰ÜX}/—¶q©Ðm¶å¼-TFfs®LúKlÝP¤Uúd´JäJ‚\ݞǣͽÛ+¬ƒ\2ò€Âã?*Ìf‚P{sÑCÓĺî?ûJj^²ù¼B‘¯@û]¹; +(fü$½piL¾‚¯9Ñêñµñµo4oç|æm}ö…˜y½µhN[Kð/?öD嶖ƴó"寽‹+Ú¥°úo\E6ó-ìø®ùyÃöà®Æ"^õ= ·7û‰9>™KW§÷ËÏüßÊMÐcðŸŒq÷<ÖÆ‹ûªVõ½‡FL¡×K@[‡ÉEMMgeï½ã®9¼7š³¥¤Á ðj»–ï‚üë¼Öçð]Q„Y>',f´‹s8p‡¹XfVsWCO.ä³ØA:³¶ #AZ‘ê $@’+îöy%"?-»j°©kJBÇlnYì²Ñ6æ6%NE(¢lé[ ÷/)ñc #Æ×~L MÇ·ØÉø4wÄÞ±ÀúLiQ·©´øtÀ$ 3eô°@e£˜†_tr÷c³PÀŸ¡Ê$xKµ$Œˆ¸+»; t\½š½@›BÚÁÞýHr¾€ßïÅ&Ê»È?d‘ X>e‰„ÕE\iT=Q—ù}Iî™Á=â÷z:ž¨óS)´2 ³¨ðsO” Í„!N²‚ƒAñ§¸ì‚Ì7æ6›é¤ËÑ´¸ÅäàË&n…åÇ(蘽®!‡øäd!r$Âs¢¼\!N¿%-aÛƒ’†Œ=¾˜?›€ÂÏÐJÿYcù³ÙÚïÆ" +£¬ü=ÿÃE² +endstream +endobj +5470 0 obj << +/Type /Page +/Contents 5471 0 R +/Resources 5469 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5440 0 R +>> endobj +5472 0 obj << +/D [5470 0 R /XYZ -11.232 900.716 null] +>> endobj +734 0 obj << +/D [5470 0 R /XYZ 56.693 759.068 null] +>> endobj +5456 0 obj << +/D [5470 0 R /XYZ 56.693 738.489 null] +>> endobj +5469 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F102 2555 0 R /F110 5285 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5475 0 obj << +/Length 2642 +/Filter /FlateDecode +>> +stream +xÚµÛrÛ¸õÝ_Á7SS!À{g_²g“m·¶2Ód§(ÈbM‘ +AÆë¿ïÀ‹DÛJvúb pîwùέã;¿žý¼<{ñ:òŒd1‹åƉ‰'¥ g¹v>¹×¢\Š…Ç"ßýP·BârS7¸h·æã«:ÿ¹®ïpóï›w‹?–¿R’EB»iJ!·B´R}ìÔI{(ì! OÂÀñ"’%?"€˜¤î üGãL½<»\ž}=£ßw¨Å$Î'É(‰}æ仳Oøξ$ÌRç^ßÜ9õ bX—ÎÍÙ¿Î|# +,J¤*Ô2‰©“„¡~ŒTíxEò-ov|ODÅW¥Xkª,˜±2M§¢h»¦2²TxÞŠfÁ|טx,»ý¾nZÜÔÕ‹z³`‘»9@4%ÖëQ CzLm'‘ÝJŠö{ –{‘Ÿ}ŸYh·ÜÇ-Á.Ò»90I½í¹, 4 lmN*Ù +¾~Φ+ËÄé²8’KöM½)Jñ—ÅpÔ¶SÂUþ®)N&:~„h^™ÿ%PXñöeµu¯¬StõE¶¼Zóf}þ4XÝ‚Fî·b=ØÀ¨u!Û¦X)!vmQWÎ/ðIÆÀ,ðÏŒ†>3M¯}ò"ßwßîö¥Ø‰ªÕÈ2êÖ]ëÕ¯,*[ v·æóÿ û’?¨ß~¼~'q…ðòÎœ}ö#?ïš•‹8r/@*€¬Ê‡á•Ž„ÙXõAŸ¥@µæ¤S MÀœ¨8&i–Ù[€Œ’…»Ü†‚ÛBoJ¼Â=ÔòÐna8ηu‘ 9¡ ¤ +9Œ²©á„3Ò¹fúïSqg$Œ£©N€À|èv+4 +©M@‰Q¶x¤ag0qÉóípŠ+ !Ô­44!8­”B/ps_´æßµ7ñ¿üÚñFàz†z· ¾«R•~±oD.Ö†qf-s „XƒMU­¼˜p¢P*iR%Ë`êcŠýžãAªÜÆ:kS£€É×½·X·ì½ET¹äºÎ;eûzðzê†XÃfuu…¦;!wPï¾(5Âôݪ6-¿¸5î< EÊgºÊÞTFý˜tþßBñ'âfÅqIºR âU]/hêNX?"œ[¢ÖÓëÀH/0û‡dð£ ;ÞŒ£þ¾ ÀƒŽiàæZ9°à¥¬ÍѶ®u€õýVè7–"XÊmÝ•k\¯ôÝÐíªµh”g®U¬ò3ˆUÊZl”Ãñ®lñ 0`¾´öʽºP7wò÷žgqÊöƒ—‘sè»úÀº!\ê1è44ôÜÎÔ¬È{˜¤ EŽÆŠÍ!h‡1‰‚>«L(qã*ñ ˆSš’„†öÝÅh¨Z?< Fúòèh ä‡Z 38 ^H†”3Å1(mK@! öårüN@’—FZ5Y&úÚ$BEPÝj£Œ¬u†cCÐÎ l9ó _m¡ü0A9²]É–ÎQï;‘ ¡{}ùúòúòÃ/—7?ŒŒv¨xX¬ ¬)±Ü@ë¤A>jAB1 ÏH¿O¬NÙŒeíXä—iz$ðPsןÄazZaô‹æoŸ:`¡ª’ö]‹E•×(uµSGÝø¸|í¥Ä›Œ-$c„õžÅ‰ÆQ ‰Ou†PG;¡¤®¡j «;{´ç·öoT°x>&­¨ðBÃïñ@S5[ +N¡%ÄûPìx©ük\“0‰Æà4±•­˜ èé`n†NÓÉ< Z`·¢ËÊÒd­¤~_!:ôáÿP&¨M³*Ú†7(HhIû ÄõÆTø!ƒÌ’T¥Àû/¨ôÊ:déâ#FÁq"•8&ñÊ>¼|9çª!¨˜=«¹¤¿róû‡«Þ¼½™³‚˜ }íãÕËË7W×3 ‚hïqšh-‘km–m}2þ¢që‹ë]]ÊÌKUÿÎÑ”Re} SÌI +. ”_Ì œøAoZo1AHIq”ƒc~ßæ ò(±¼W¼T£ Ï‚ƒDVÖS¯q­c³ö sè{,.«[HÏ[HÃq˜¹oq¨ ªf|ÜD¤°¸•hx{ªÝê²T-u*ˆ£Xä5´ây‹›²Îyi>(™ÿ·“ú TŒòàÝë+ƒ¼2ØÞ,ßÏÎ7åh¾i +mìÊ÷¤øiOºž-zu7j*úPÅH!wÓX.¥Ø­†ö\eL\)1B²x±©kS›™^k˜Ð™öõ¸g˜P°TOC}囹Â0%C,Ýñ¼1 Ê—¶hí˜L•ç½Œ )añtèõFØF²ï(e½³­ŒhyQJBH¯áåKÝ?3†%c-!Ô™â—æœÏ0™%$ô£gyÏè£zŸ&)²ÌT‡„Í’AkÄÌŒ=«c3ÿ„*¾5B•Ý¨Kf',äÇÊÍ|Ê‚AÎFÏÐðÓS~£ÌeOArI|à¿Ö„¼ M™wF3ÜS·?… +•þäjüv`dॵóÒš¸X•MFÎ[®f˜Óú™ä¦+Ÿ1ûé„j˜œ‚ÞÇm“fßc}f†~ÛÞyõ^‡iå4‰™K„ࢿ.ÿñ7\°ú(Es.qýžW®ñRØÌ¿V×~R-¬ZíÌ•>%lᥠ+'óýÀ£>ÐÀ²Ó0ŒTíæLÔúvËËb5z§AÞàñÀÚ”1}çøé‰LM€Sª"«ZÇxöJä'&ú4Ë2@™>ràòÀS½9µ¾´#’í±%÷àíŒÚ9"¬¶…uˆùI£dA_ÚÜBlØüŒz |¦¯ƒò3÷à‡æ ec¼æ=XŽ7EÝÙŸ$x3ÎGŽaüâ$·ðõ¡x ÛÑ¡H±dªYÔU¶!þ„40›'îýô¬±hHLß2`éé`O4ÄtÕOŽtDéóh/¶ +Zí°…0 a6> endobj +5476 0 obj << +/D [5474 0 R /XYZ -16.307 900.716 null] +>> endobj +5477 0 obj << +/D [5474 0 R /XYZ 56.693 613.45 null] +>> endobj +5478 0 obj << +/D [5474 0 R /XYZ 56.693 587.611 null] +>> endobj +5479 0 obj << +/D [5474 0 R /XYZ 56.693 569.614 null] +>> endobj +5473 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F113 5291 0 R /F93 1063 0 R /F102 2555 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5483 0 obj << +/Length 3135 +/Filter /FlateDecode +>> +stream +xÚÍ\_“£6ŸOAåe˜»X‹ÊÝÃî&›Üm6w™ÉÕUmRµŒ-©Åà<³“O-µÀÆ[ë­›HúÿŽ¦¤4êf!¡Qt9uwé[ªÛVØ}uGà0‘BxG(Žª;ÍçÅÙª¦‚0XÅÅTÝ¥o©j[a÷U‡$€pL8 jz–ÔrOÓÌóü õ&Ìûöʼnb” ¶B<õ!ÈúÌñ‰ ÊóØyŒÂ•Â‚3sD0ž›P äÁ…GMlî<ׯ˜^Hxœ° ƺyK@XŠ:ìz^D8 ^\Æ÷DŸÒ‹iz‡¾ª­…Ôµäq<&«,eœ­íÊ&Î.§í.}KmÛ +;é„Rz0:ƒ×iÉ÷=÷PÜ=ž]¬ê´È«Ý'ùÛqÁºñ”ùRÌYá4ì„Svf8!#>Xâb¸ëÒ·Ä­°ƒ¸ƒR9û1à-“ü±Èòõr϶á!X ?Ö—b¡>¦ÌÜD+ÿ\L,¤/†‰.}KLØ +;ˆ ±Q?­¦{©¶oòDxž;Í’j/ªüí«aU±.§ò„È•'˽é_ˆ‹oîþ¹;ý¯GÂ\ï’‚œÊ`ßÏP4ç"šã^åbˆîÒ·D´­°ƒˆæ>ˆåÿ ý(Ë +rë>FÁäŸx\@Äxü<à5¡”Ÿ <·n^—¾%ðl…^ÀHäàA&^'™mlœ­…úµ’åî#×¢û¸¥þÔ+ùçsßè@œý Î"Îu†ÛÚ‹9K—¾¥³Ø +;¼ãKD?¾»·ÝrRÜÙ^LÝ]ú–ê¶vXÝÌ#QŽ Nª®š¥g+ÜÓ»Û‹é»CÞRÝ–¢f"‹Æ*ûO¶·? ÒQãó·˜—²þ};ó[ ;d«žQ§i«u¹*ªS p['ù,)gãê«b ÕÀÈÉoÓ\Ž›ùs²'«¡£&ž^…ü«,Êdy*Äký8Ê#Ü4_ å]ú–(·v0§ð("•Á-s +qOw1…wé[*ÜVØa…‡!ñ8W*9­éÙ긓¹˜º»ô-Õm+ì`^|ühìÔóùײš–© §„­ClŽ[”cµ}1‹vé[ZÔVØA‹rÖ?~4´JÊäƒÞ-Ò‘™°gc>8w•<ŒLÆ3 ¨{9Rõ9Ò¸s‡Sj‡ltí0P•~}8Ó?-Òé¢Ëà8êÜô\ õ]ú–¨·vOuƒ~ sR•”'Àa'd cläÑV’e—* ï“JŽÄn²Zeé4é…%9“Šãàd¸I¼8»ô-Ái+ìpMãû„Ñqç@vE ÅMÙÅôÝ¥o©o[a¿äŒÆÅ(}[}@È)0Œl¾ݹê%m抈„!w‚8$E—øPkçÛ_¦¾º #^sºs«¾Óí~åûA}fvm5¶Šùδ…Lf²|1/ŠZ–7œ»dÿ¸zÂ`ïË„2â3a·DvêÃá%êbtk—’ýðKþaÙÛ¯©{dWQ"ýþð Ýó4o^“뵫þ‚Fà§A /ãñ†rß~ÁˆÏ#¬åw…‡Ç"â«OT%15Qâ¥ÌŠÆÝ'õ…¾¯K.ÝJ ŸVY’›âz† +E^Шj¹ªöú6¿À‘äã õ\‰4 CVu-—«ÚLi:«J.ï3CI•øº1K+å |x(ŠÙ5`¨ªv¦oG®‰Fîûó=?m˜m6¾Õ×ðÜH@ËðLR£õ©Ç¶+VŸx^¤­Øœ¨þEçÄ+mu7¯wÍ(T¹ 'U ;‰s;9LÏY;w;î ñãfÞÅùéNi6SÍÐýÍãÞÓB}r –7xÇIim¤P ӨцÙlíª€r Ìv€5k`µ<$4ˆûV«eêUhÄ©átâLƒÖºæC¾ˆwµ¶äᆻIš]ûKU½iã8ÍRÉïýïM7¾n-G!HUžFù©.Úˆà1©ÐÈ£Ò®âС¿ tÊκ^y £úÈ_ßPW»´? ›*Ö×8kÃn”’Õ4¥ì©èíÞ®Wfbnh7Øë,•Ê)ÓMA$­Dxp®¨¡·õX\-8Š*Õ'KÕÈöκG*€»²8rïz]€zPŠ†9¥Ú°Ñëo¢í†7LÞ0ÁVçhBÁŠ®c²Ò¿ æ©ÁTR5ÅEcõ÷úýÕS–Tæ±A—êTBÚ¸ã“80iôî& +*FÅîª,”1әĎz¡ZSÄÀ9 ÌMç͸ìõI¦Î¾ãÝPA”ȘÌÓL™'eg=Š£ÂcwÜxåE>ùC–…½ú;±^‹ºÓùtãQ©!ÉÖæ4Ö#6d§v+q×z¥ï“rp¶à0 ¯éE›Œ÷3ÈU>¥•TÑ!î½J+‘@ÌU–JÖYmFÔÀ"fܬŒE¡ùýô%}0å V#Hó»ŽýÈï‡-:‹² 3ø­ó¬ïHá CÖB‹<3rk߆ž¸õÙIÜŸÅ¢qIlk)©U£Ûæ¹ëÚ(+« +EC"ÅpF%•IÀ È@ê ¦‘¢ësÆþ?*÷ 'xAOV­i’kõù”º÷¦o^¬ó™Ê,2x†Á.èaVÞ”Pšîº.–P4M“L™@u=È\–-Ã8+`Fú‡œ!ÑY‘?4LK p½‘Ïhtój]¦ÍD]™˜ôî6T”d +àOåÏ&¤-šØ6msʹ nëzµ®{Õø®¹“WÏU†0F± ù¥©¢XJì*eRé,íçb J³‡Éº„Þj½Z•²ªðã¡j™Ui^tCdš²³æysÕ.®„u­•§:¼4‘ ï¶B•z`Þ¸f óˆÙVv!õ‚@ 01ÉÄŒwCYBI» }$‹@δÀ†JI$ôªuŽlÕl þP;³Aæ>§ +ù9Wðcêüú6«g(ü— +ýŒbÙ­z‹|o”¹Oi½ÀV‚—e{Ž>@@WŸ+„&‰ªI-5Ý9^ÛÑMÙî‘P»dͨ4ó°îÑ"mêu«êuM•Gmˆï—>zÓÆZKgr^›N½p°b!‘詆¶ŠS qÏTC¸mû…C…’8bã+¤0ìH†¯)qÚÉÔ7i5T mïü÷ê!ó®æÚã¸ISœ6õÎîv^dfWŠÞª4£-ž,Wy¿9蜑P'åæôoŒ‰C°W­6×~¯X5¿¿Oó¤Lee¤_Wí’—OtÒÈ—¥¸ÇýFÅcÏ}óîWóÄ»ïînbæN˜¹¿}{k~rŸV5è3$ ÁŒÿôêUÿøá€+è`äüE£óAÛ[}k©­Ã’ó£ZÊ\fÍ@b’ Æm‰²ÊºT¹^W.J§Eñ±UpRÕš0¤ú<Çp´f"[Ídé}™”ÏcTsÐ)æë\õíÁååíkl@Yeº¶üúíÛf4 Ôćf›d O;K€ËTWºB0ZÓ0’4 åø¦ÆU€÷WØ4v°gLÁëÌ„E¢ðˆV7”ðÒtäëå½Þ%B[—@ —æ¬ðïLðVg5œ»·…Wï¾`XÁÀÕxÞ=µ">ÉñzÊ¡6„sè²£˜lÎÂÛÊ¢'뇉¢6C¿KtAFî6?¦ØÍé”ÑîÚÓ°B7„õýÔõ¾f9õï0þšªK3 +endstream +endobj +5482 0 obj << +/Type /Page +/Contents 5483 0 R +/Resources 5481 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5480 0 R +>> endobj +5484 0 obj << +/D [5482 0 R /XYZ -11.232 900.716 null] +>> endobj +5485 0 obj << +/D [5482 0 R /XYZ 56.693 759.068 null] +>> endobj +5486 0 obj << +/D [5482 0 R /XYZ 65.161 752.393 null] +>> endobj +5487 0 obj << +/D [5482 0 R /XYZ 65.161 741.435 null] +>> endobj +5488 0 obj << +/D [5482 0 R /XYZ 65.161 730.476 null] +>> endobj +5489 0 obj << +/D [5482 0 R /XYZ 226.558 730.476 null] +>> endobj +5491 0 obj << +/D [5482 0 R /XYZ 65.161 719.517 null] +>> endobj +5492 0 obj << +/D [5482 0 R /XYZ 65.161 708.558 null] +>> endobj +5493 0 obj << +/D [5482 0 R /XYZ 65.161 697.599 null] +>> endobj +5494 0 obj << +/D [5482 0 R /XYZ 328.775 697.599 null] +>> endobj +5495 0 obj << +/D [5482 0 R /XYZ 65.161 686.64 null] +>> endobj +5496 0 obj << +/D [5482 0 R /XYZ 231.937 686.64 null] +>> endobj +5497 0 obj << +/D [5482 0 R /XYZ 65.161 675.681 null] +>> endobj +5498 0 obj << +/D [5482 0 R /XYZ 377.194 675.681 null] +>> endobj +5499 0 obj << +/D [5482 0 R /XYZ 65.161 664.722 null] +>> endobj +5500 0 obj << +/D [5482 0 R /XYZ 350.295 664.722 null] +>> endobj +5501 0 obj << +/D [5482 0 R /XYZ 65.161 653.763 null] +>> endobj +5502 0 obj << +/D [5482 0 R /XYZ 425.613 653.763 null] +>> endobj +5503 0 obj << +/D [5482 0 R /XYZ 65.161 642.804 null] +>> endobj +5504 0 obj << +/D [5482 0 R /XYZ 65.161 631.845 null] +>> endobj +5505 0 obj << +/D [5482 0 R /XYZ 65.161 620.887 null] +>> endobj +5506 0 obj << +/D [5482 0 R /XYZ 65.161 609.928 null] +>> endobj +5507 0 obj << +/D [5482 0 R /XYZ 65.161 598.969 null] +>> endobj +5508 0 obj << +/D [5482 0 R /XYZ 65.161 588.01 null] +>> endobj +5509 0 obj << +/D [5482 0 R /XYZ 65.161 577.051 null] +>> endobj +5510 0 obj << +/D [5482 0 R /XYZ 65.161 566.092 null] +>> endobj +5511 0 obj << +/D [5482 0 R /XYZ 65.161 555.133 null] +>> endobj +5512 0 obj << +/D [5482 0 R /XYZ 65.161 544.174 null] +>> endobj +5513 0 obj << +/D [5482 0 R /XYZ 65.161 533.215 null] +>> endobj +5481 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F4 5490 0 R /F52 815 0 R /F102 2555 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5516 0 obj << +/Length 3152 +/Filter /FlateDecode +>> +stream +xÚÍÙŽÜÆñ}¿bàÍšûâ#@,ÛòYB¬µ@`.Ù³CˆCŽIŽÖë¯OUW7¯á^’‘ä‰Í¾ê>É`uµ +Vß=¿8{öB«„%¡WÛU(X­b.™ŒVùêíúgSš´5硃õ«º3- ·uCƒnç¿©³çuý^þýæåùû‹̆s–hM·½énJÓîŒéZ\è|ôP"tà#%WÍ’ÈÁç:‚£xýŒtpIZ"‰±^ÿ°¥iT-«%„jÕDYT}­É‰,fø +Å„Nü&(uô€ÄYsXÝš3pí¯ßfàUÀdrà^¦—åÍæŒD~lg;ÂŽ?¯›~¹q qÂ4œhŸ"¤D®/ñšD¬«z‰(¥™õ}üäL ¿Ø%¹.*ºþzWXÙ„ |…_ÝÒ*aiW-`*]æ­­÷óVF,Dë¡ut5cV4=e5¬XVÂÛ™½Ã¶kM¹u÷Wu7»jP¢Äƒ·’€Mzë¬D©‚µ³`Ë1çRŒ'áýz?ègáœuZM<É9BUü™vË}Ú¯úQã\͈›ðv]”%.Ýú²b ć•(#J^ŠO¼ÕÅy TÌÐÚ +óc‘šèv–ÞP­³ºêLÕ!EaBl o·i°dàYc¶p´¹am}l2Ã5 `m‹Ò0SL¾@HC§»$­òEPK„:ô‘3@Ù8HF­§Jt+RC€’þrÐ5@¼3è*T¼N­$U’ª6š¦~Jó¤Í0hG‘ÙnÌv&û0ÙõPòè΀í,I] +¦Âø!ü$76ðÁÑ-ˆéˆOéžòhþH3É£™¹É±½F½¾.Z¯ð—N«s³…X¸Ne7˜j˜[÷ ç<Ûº,kdÊuQ]9S)ÓÌ´Þ¢«ûÔMnš¿Obï*d<Š¦ñ“³É–ùóÙ H€Fê2ÐmBe/ø›å¦Vñj4]TÛú™óeÕq sG€‘]É©QŠÿ?ÌxBWÈOAmP\0 ô>‹6ClÞþ3+Ó $„œéôxâ¬÷Éû»±ód|SŸ˜7ØÌc9tŠƒþdÙ©eÙ©ÙÝ“-/éTø×òæ^ N9ýµªóXðñüêíFƒ²½…4d×{Žm}¬rçiÚšžP­‹Àå9Î ¹¤ÃìÝÍû;ë³Àtº#}!b˜ÛìW¬ºÑ˜T勉ãE–Ó»+ àÜ¥)ëêªuûkzb5NMx!lÒý¡´Y†Põ®~GÜæÜ´YSØx©g‚"–@Þâu‡~¥1ejÑ´Û‡²Èlnßb?%†ë „ë“D'*ÒkzqI;:Áç9 ®õIŽ:ÑFÄÒ›ä¸RÏ ×p¾´#:Ô,Q?˜1¦QÎÉ¥y>èó«™].‹Ýž`©ÏH°NCNWt壃ølØO\VòIàåÿ6Ö©ÿJ¬2mÛR ÓÊÁ~'„^‚þ³!«à˜ À‡Y,é46„°ïW'Ó”HbFÔÏzÆÌÃ¥„a_|ÚÒë ;A¼~ÔYW¡BróöȨ3€÷EóŠk©-¥™ŠûKÏS¸ÙÕxz^êÁ?චp ßÃÕ¸J±HêÏäHã(–AïËSíZÑ° +QÆ•kJûZµÈ]4‰8‹ƒø¤!c}‹ÔŠœ)< ÷ÞÙÈ£}qµsÃiÌ´‹ û–ûÖ{+|±Y%¦ù[ÑÆÔíÁ)+…/ÁKá¨â¤ÍH­Ô²)ˆJîrlÁØãÇÆa“vªu[¬6UÛST·fÉÇVOmZ¸ë+7)]JÎÕ÷ÜVš¬ëͲw¼uS\UZ.ªD õíä,¨D”<ôJs›°^»&”Ä44hMó±ÈÌ>mlâá+4äý<'ÍÁw€§~Wœ‰°o\¢á¼ùÉ„9UaÍÓáä>‹ãë.n½nÜg„è5lqhÕ‰£×¾JZ +ÁTo\_¼ãR!änÿÅr“QD=¸¦Ûïçr}‰®Ñ³»³¾©÷ŽÃäSGøa[üs(X"g ó4ËÌ¡C˜«WÓGX¬Ð¼·ØÑLn6ê÷Ü©qH0ª«nç[ö4×{<Ê´ìœoìs·kÔÂŸê‹ +Yܳš]|¿d øé¬çð©ýjÀgÉ{‹¼ëë—¹Ûf·cö~¶Oÿ`@«o;Ç1‹1òádf· ’ÇJLªAbR9‰Á =˜¬ØÞÀp“Ó6›*«s·â +œ¥@!•«Ea€µè—8Lz °ü„%ÛqXà¡ìyH YuGfA86ê¶ØT,[ÂH_ Âàû‹Ÿ^.ß(¬VÄì_¶;VÀ·>(¨9O¤µ¹ +˜ŽÃ‡¹Ù!&‚èc"ŒÉç =i[ +‹0E(œ-…ñ¢VK |»¦l‡C±k*©HŽ¨©ILGR³Çn“ZÎ… RûýX˜®¼YZÀÂ$Y”ÂêjßÇ3A4íRô.â6Q*› +# ÞJ$¡VZ™x˜Ô.(R\ÉŒo”ã¬Í6XJ@ŠœÙ|KIRVEòkÚnSZÑS>\.4p:ú…I8‰| ·Éñ¸¬…Lt)6* V:þ@Œõ@WîEW &‡pî ,²Ô3&ñcá2ÈyÇ_ÁPÛóâãî²ø.gö#9áÁMUÚ¢ÍóVèægÅE <`ÑØ+ñy¾Ü—}øí+=SšüDç&ÄÃû×':%ƒÈ™ÒŒÎn’‡qbêðñxÔÍŠÖÇÖ8ÔšŠ!ƒÎˆŒ˜ ø¼á»å«¯~úö–4n@Ì…gu–Isz¡Î\ ¸XBämgÉZ‡Zͨ^þ»$âÉà@ +ìom ²÷…€Ù§”î·xRþdDúø™@f¤…r]7˜qýwYfÿs Ž=L½xMOºâ)ew}*ˆ[)jÃp¼מð¿O´†ºþ°n]=EtÐÛ¥éè›v‚™|Õšñf1ïi'ü–DL…zÜúMÖcóÑo öBôM?¸¤UÅ!K"±ô× šRÖ¡Lwo#:ìŽlg9:Fý̼ž¶³(q¶ÿ^تñfúyÙÉE»bV.˜¶zÑ⢫š¯MY2ÆNþ{LZýUžûz£{íÿléÿ <4uæBþ‚¦ ü›® Ûc•ÙÀÖÞë§îgé/@0Žœø'üøøjx\ +endstream +endobj +5515 0 obj << +/Type /Page +/Contents 5516 0 R +/Resources 5514 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5480 0 R +>> endobj +5517 0 obj << +/D [5515 0 R /XYZ -16.307 900.716 null] +>> endobj +5518 0 obj << +/D [5515 0 R /XYZ 56.693 614.345 null] +>> endobj +5519 0 obj << +/D [5515 0 R /XYZ 56.693 601.147 null] +>> endobj +5520 0 obj << +/D [5515 0 R /XYZ 56.693 587.328 null] +>> endobj +5521 0 obj << +/D [5515 0 R /XYZ 56.693 573.946 null] +>> endobj +5522 0 obj << +/D [5515 0 R /XYZ 56.693 559.688 null] +>> endobj +5523 0 obj << +/D [5515 0 R /XYZ 56.693 545.868 null] +>> endobj +5524 0 obj << +/D [5515 0 R /XYZ 56.693 532.048 null] +>> endobj +5525 0 obj << +/D [5515 0 R /XYZ 56.693 518.976 null] +>> endobj +5526 0 obj << +/D [5515 0 R /XYZ 56.693 428.518 null] +>> endobj +5527 0 obj << +/D [5515 0 R /XYZ 56.693 413.264 null] +>> endobj +5528 0 obj << +/D [5515 0 R /XYZ 56.693 399.444 null] +>> endobj +5529 0 obj << +/D [5515 0 R /XYZ 56.693 386.371 null] +>> endobj +5514 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F57 861 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5532 0 obj << +/Length 3872 +/Filter /FlateDecode +>> +stream +xÚ­ZmÛ6þ¾¿Âè/+"õÞÞ}hzM›¢Mïº ´‡¦@d‰¶ÕÕ‹#JÙlýÍp†”ì•›"¹»¢Hj8ÎË3Cû«ýÊ_}sõüöêÙ‹È_e^Ëxu»[ÅÒ‹“U*/HV·åê×õOªV¹V×ùëWÝ 45w]OáÀƒÿêŠç]wG/¿Ü|ýÛíw°ÌF/‹"¢v3<ÔJ”4Ãêb•Âêq€«‡°|«Mäe ¯/¢(&éú=Dœá—W_ß^½½@ß_‰U{q¬’Lx±/WEsõëoþª„1àÀ ³tuof6«Høž bh׫›«ÿ\ù, +ÿ¢H,í0ó„S¯¥Œ ö³Õ¯›È÷AXMw-¢õ;ü§ÊëMF$ lèc^(Û—Ôº¿þ:×ô²UU»§f7Çq°ÝýR-I x1 ‘9)2O¦ ð`øÚmQª‹v¾‹Px~Ûyy[.‰—ÊÀÎ9æ}Þ\ x~Ù‰_“Y°V¸ç÷ys¬¯ÅZ}~ vwŸ/¬–O$©ã¼îP"1±GîLëµùﺪ„§X`N;Œ’36ÚîZ‚T—VÜ„Iä…BžªäÙÊçkº#>[|“zaœ)è’P‹Ûk8ıoQ#Ð8ºò¸£—mW—Τš|Œ +<2±…ã +A3cw ÃÃQ-I†ž/ì°åFµQ½?€J™VÅ=]QŒ=Û÷}5*Ï—V—Vð4Ï÷D踄--Ðò½$[Ò»‹Â"Ð!XüÑŸ‹ÿ«®ïU1é'ñºWm©z’r’àa,q$½‰i]V«ºÒÃÂþ¢˜wS=ÔBýe‹Öð°d±±'i§ÿcFÚ¨ žâ??«ÚºjÕg «‰ ñdä´jõ·èUpg•¦-± Ì·K›OŒ§ÁÞœ^‹®iòV(tºìMæ!ýðÔLˆE™Æ*óZwø&žPÞÒ³;U×æ5½Õ]‘×Õ´¾\¿{Âózz¾ézîÙ*PyEí¼ÈÛun×®ÕPk³!‚Zñ¤R颯ÌÚÔ¡j[(‡ƒ²DBÃG`Pš»zßtßÐòñ!ØÌŽñ<’Í.Äì$‚m«ÓŠŒ]ÒMOXeIå@‘D<,jÀ‚‘%¡›Æ$§CÆ7N´[óÚµjStõØ´ôNÑ©ª {ì6ÈåVû¶#û0ü”ý „™×£â5ÁpÌ'n´SŽ/ ±4õ’Àª»Iâ…ý 8¼¾Ú^K=:lQ±k<öpLíðÈŸ:ßZc}^ºÎË’œ04¹kèŽÔèvôìgî9]ënì}A›rºVyJeà­ö<8¼TmQ%í'#£Ô #¢<ÃB¦ƒÏE“#ɱÙ*^ÒX¶Ô™õ¯ýíí·¬\æŠ:-ói‚ü!/ñx£h]òvÏí¡£'œîŸö€âÆÎ7”ìÎØÐêÙu-nw¢¢ÁÔbøð‹/ŽÖOa<•ŸÌ^¬É[88 v¨¶èÆv@‘ákÛY†µ›ÂÀ G•1—Ù¶ê’ 1Fï ”)ŒúÄ!y/xV¸·ÜSì C1Nà  ‡K1<8êÌùµÂÝó]×™ÆOKÑp\ôAç‹ô„äËmÞÿ5’û™ö׸ñg´EÞ.¸¹~,ÐËjê±Á£6;ÑðØN EgAÈ5È’ŒHžº—LÀ‰y¯ªú¡íŽÞ{] àØžÏÎèÏ”µ@¤Ã˜«jO œnx‚uÌ +ºÒ òŒAþ¡“¿Åñ´(BäBùÝ@úÊ~müþP‘of{å˜bœ–×6:Áfn—U*K<9@&ƒd“ :½$žO¶œííAäߥJ€§E`&8=“¸Ic21¢2º‚Æaƒ‰”€?úk‘®÷#ºfMsi»Ø€ ¦<¨ª¨^û¾4ö£¦3Z¤Ÿv‰¹¢©?Ýâ7ÿ}õã¿o^Þ0ieXäÏ-Z€ip0Ø +f¹œÖu¥~VvƧ@±4˜5‹jÐK˜ >ŠªÈG­.7``×wCBÓøº°<Ýj— ™Ã”Â:yið9Dì&šF‚]…´ÑwîÝçé&†ÄiŒ8e‚šžLPžD7Õo/€Ðú¼‚Jæ…©bÒÐF”v#åÔG¸æ5ߊe$rÃ{çN'hܤ˜ßF®‹tô,•É6¹jak&9GÙÞÅÑÂ2«ó*æC7žÒ¥³ÅóøCõÝæ¾*-}·±É»ù¼±Yq”5Ò45@oÐÆÙç„€f‹5åÿhb1ÇR#1x^ÖÄSÌñ-N.¢Uéű+^¼!]^ò}™MžˆkNˆYbÁŽ—p…Oâ¢/7húÌ¢9xZÓ„&«•ÅjÐÓäý±G¦LJpq2‰!ØFµ ö‡‰ï8µjÃ3øé-2,’ ùAdG›7Œl¨w02è¸\fKšÆL”ÀÆÿôóü¡·ïŽä¹`ÔHDb A`yÍU® xÄb-ë 4tq躚Fî 5аÐSç^µ +°> ¼)ƾ†Ôn +©'Ê ž_7yÁ]´½,uc¿l~¾ÑJ-°Ûä‹ ;!x‰ŸU­è«%uÍM¥î5‡]ãñØõw¾1¹ô³õKê)»ö Q7¡jïh… ürÇXÏ;¡Äåý’†ªAžƒ©@9ƒ¯¿lMÒ:Ÿi½%Á2äÒl¨‰ŽAVF|ðBü@A³?ÍÐg£1ö1H¨¢.šQôù‘Z\ †Ö»JMê_tÜŸÛmôqІ‡g€mtg€né¥ 1Û¢êPð6Òõ¶Wù^òõ\'dü#år]6Š½dª~]´ÜØKOJ²@öç´$h»¢Lp¬‡§Ë+ø~ð¡ßSÒ<Á;àÛMäß^àH[$ÅÕgåP@úù´gôhh¤Aˆ%DH¹]ª£†4O75R4^5#®ž2Ž3/IÅ©666tÚ¸ç:°(ÉÑ–žµÚq)FÒjlð·5Ïœm‚HÂ&>~eêB%éS“°o”©‘Ña71‡-BÓÐ`æp¦†ÈvÏ%lèæÀƒ'‹¨H ݇œ©Ø2VÕ1’Û*Å_WmAw 4DìYVMÉ·Õ*è°ý DCþûß²ø ¶Î8cQÇÁÌÓ»™dvjâOàÌ„PÊÈ)Át㽨 &§¹ZÃesxRÙÚ΂-.„™).Ø2VÀ(5fUNx™ 9°ÂÀ! +àÁ…Æ'§‚ +–¦ýîíò–˜Ò­å’×&LR—3ù2ÙâY?påöyÍRU]äGS™ è½ä^†ˆ;Y‚z™CæM÷xtÛž]okáfS‡ Ý \=Æ–§gt©"‰-¡(Ñv„$úzmÙõdÕÉ@ðñ,Žwšgœ¥ÁTÈg¾w\‚ ‰<ªÇÙ _žAÀѬŠà²ž·zð€§¥«+áϯ¾\ñë:€xê.D ++|È}\ö3 f~ß«Ö—Š¾—L12- Õ§}Éy Í¤2ÉríÑuÐHÑwZo`9HÈè’f1Ô– +¥zLg¬æ¡»åkD(‹`5õÃÇ÷¼g|°°AúFÃ६8!ÎÀ€ñò\¸ŠÇ + zþ꬘Âe°Ø&­±?£ û ë£{+!˜nî)L×éåt%7¿yJþã¤dj†rnµ³p ^ +2ܦò(ŠIŸ0+½BÈÄ›NãåÈ­>w€Ø$lvz¥—ð\Ëù¡z;VT‘2ÆänÕØÁ˜¨Ðx+Ýœ¦Ÿ'õVí}ÚýÌ+å\³äKXjsT@wrÇÉ“X¿S=¨œÓÑ5‚_ å uUL€a?³œ;Kx£Õ£_ªÜÒIŸR£>ÉHï*]ˆ˜­Åº2¿Ò$Öy%õÅ£ˆ:sW¶ö0«Ÿÿ>êÁåã¶Ó&ú  ˆç ûT£ñ1‚–ù–0®ÀÅBs]Ûr.•¢ܤŒ2/§~ÒIÝ++#žEO™zq2°§:¤±&ò¯iÅ‹ê½ËýYã& ë¼°—®÷sÑXÙŒÅãrÇ”¸´èêînÕw?X" Yµê Â~åJHÈÂ! ‡ û¸)Ø mEÊó߸ywSŸ®…§ÞÒ…’@*D‹2Mf÷üð¬jj1·ð5gŒ©Íò an5ò^WôŠ~\ù˜”ÓMxÞTmN­oÁ»5@–ÃjS^hTͱ?/|^Zw°üÿò=x´Í¶Àóí¥òB.õê› ×‚»–*·Ÿ_ˆ$¡ïB,To¢lý#ÚÚ!Þ€EÆ6«FLZqmÇø·˜~e¦j;þŒnú÷Œ­ï©k<–à[æu{õ sÎ>µù™—[;¥É+lj« 'ñšÖA13K'¬%ÌOe ôª¾§_(­6 Êð,rôÁ25† .Y3 =Bl½¥îïì™ø@=T«ùú?îl›ÞÏûÞ6-xrA+³î »úΖÄÁ2ïèºKÛævvì l‘æbƒ•”—BÆTËÕí›x4—º¼˜+»C€+îêÅ¿ô +UÕY¾sš ×à&MìžçÖÕþ}5üA/ßáE‹Í]Ž2ôÙ0ôPí!šæÓBŽ"묔ê0Çrêk–~( +:îºùˆß‰þ}Ò^Ï +endstream +endobj +5531 0 obj << +/Type /Page +/Contents 5532 0 R +/Resources 5530 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5480 0 R +>> endobj +5533 0 obj << +/D [5531 0 R /XYZ -11.232 900.716 null] +>> endobj +738 0 obj << +/D [5531 0 R /XYZ 56.693 197.942 null] +>> endobj +5534 0 obj << +/D [5531 0 R /XYZ 56.693 160.945 null] +>> endobj +5530 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5537 0 obj << +/Length 2377 +/Filter /FlateDecode +>> +stream +xÚíZYã6~ï_! ¬ Œ9"uQØs$‹™Íìvc`’Z¢m¡ux%º{œ_¿ÅK—év{Òó¶/mê*’U_}u°}oëùÞû›ïn^¿‹|/EiLbïnãÅʼnGq€‚Ļ˽ϋ󒳎/W$òÿlïôpÓ´z væá›&û±iîõů·–¿ßý¦YaŒÒ(ÒÒnűäÝŽsÑÉÇ0;ö(Ìrö¦OÂÀ[E(MÌü8JAbB¯õŽSùåÍÛ»›ÿÞ`ï{Ø‹b§—¤Å>ñ²êæóï¾—Ã3X +Sê=ª7+/Â>"A ãÒ»½ù×oTáOTBŠh _üh®Ê4ù±‘3<¨ir»•FÔ@³Õ¶ÙsØ­U„hÌ.„h ½^ÁW MåKDRX)yz?乸;ì÷M+f +튜÷ + &¬*Ö.1]l‹Ú(T:Í\ÙÙ¡M5ýþO/´æK-{,°Š ÞOÃàÊÕB‰A¸Bx¥¯…¯›üˆ:ðAEóZ8`›( û…܉KnŒh’LÄò:?/”Sjß·F”œâNB”ú±}l‹6eóˆÆPˆA#‚Wû’ î˜G>Šƒ~Û3¯Â„ ìÓBÈ—ªü¾È_}jW@Hƒ^hˆ|?´›jùh#k‹½°oO9†=§I3“RAu(E±/¹cѧ(Á£E××¼xp¬–”¤ýŠ»“%'Š®³š\AôžÚI$`¿tE{ãË(`3:r‹9ýLÙi¢%ÍÅLM=%\9½ä¾/úR®£à§( +âøE7þu^^LzÇÌXYN·ÍY¶s@ Lí¿Ú4ßËyâCá0sÄyUvƒÒLÜ7E-æÚƒâ(|¶öžíŽIˆú]ýöÔ.Ó—+BŽ0çr4{7Ù[ˆý“ÎD®°ÊSž·+G”ݱ6ÏšÞ­ça¶÷ìBóB†ž‡¢ë¡, +Q΃óY^—Ä>ó= ¤d\ð¿(8çs«4A$‰¾ ÷±E°uÉW%;B¶å2}ñ·§¿}ç—BÙ³:;€OÅòÓkÀ±q17EQBO·erËL!´¨Þ6%N‰:Ä‘Èr¾.ýð±J?V6ÿðgù<·.3«:ƒ%´w¿º©·-Ûï +ÈDË«¦†ô“ 1)ŸIñå7¢ò|šË³¬‚’44}±Ø{åžоyê"[kÖ®‹\ì{€*9$ôDQS¤N* ^‰ãÞʼnQŒÈÐíe¼ïÙZ‡èD{ÈF‰ý Q@èl ŽÙ €ÆQz®ü àDúÌÌèD®Êµ’Dç{r…I¼x,@oêîOw?èQÅÚûÃ^?·!ER ÌØ +ž ¶‚OÎS¼ÙÛ*_o] ­·YSº+þ¸Ç짟_™+†IO{fúU‘;Cú–LSÝö+Õ\…]üOû¿nÇó!ØÓ1_œ‚‡xz©X9õLqž"Œ¯­e>G2à#ˆâ1çƒÂÎpm…átŽŒ—%Úƒå%Є & GMf´ø¡ìd®™1xŒb2˜ð!ë OÍ`kyigŠÏÛ9ñÏ-üiÝD(ÐqŽH„iä½.›ìþRù@!Ýꦴû;&̈­UÍm6˜±ZÖ\ÿª']p‰!ô £ªƒMéTUFç2ÿ¹Ôìê@6$šZ°¢îY¬©Ë£‹µ€x£¡.ïÅÁýà,ïÛEŽ® +0ØÐ ²ëÊý Y¢= *Âræ@d$ª½ä¼'lê‹^ÝLŒÇìH×cL¦ã¥Ñ¡»ã~ÇkxÉb‰¢Bd,Úà³ÆdBq¯ÛGå;=©F ,¥Ûó¬ØÍÝA˜zÈ6¦Jˆ†oc}/ÊÀUs}±n9»×C#"G–Z =€Nƒd +=™ +Ab$½}‡×ËÐ_<mS›BsÓë“$ù¨†•—jJ9ø—¿U½Ê‘¬^•HÕ̼¶÷wæÕBf5¬Ôª¡T5*•ä‘FäµQƒz¤]@_(ük{–ц懄¾­”¾¤?‡“ýélÈÕÃ!@ŒÅJcä“dŠ¼Ÿû•€ÿ&>VÜ…èÛ†c  +JïÕø-üÅ‹Û' ‰² |%Æ'çÌ·ÿ‘‹os$[ëkSw³ÓïšIZz(¶Ëh1:ý**¶Ÿr¹þÏ#ôaÙé×ü›ÇÿKîU +endstream +endobj +5536 0 obj << +/Type /Page +/Contents 5537 0 R +/Resources 5535 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5480 0 R +>> endobj +5538 0 obj << +/D [5536 0 R /XYZ -16.307 900.716 null] +>> endobj +742 0 obj << +/D [5536 0 R /XYZ 56.693 759.068 null] +>> endobj +5539 0 obj << +/D [5536 0 R /XYZ 56.693 731.272 null] +>> endobj +5540 0 obj << +/D [5536 0 R /XYZ 72.912 703.158 null] +>> endobj +5541 0 obj << +/D [5536 0 R /XYZ 89.4 197.115 null] +>> endobj +5542 0 obj << +/D [5536 0 R /XYZ 93.036 101.493 null] +>> endobj +5535 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F102 2555 0 R /F93 1063 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5547 0 obj << +/Length 2459 +/Filter /FlateDecode +>> +stream +xÚ¥YYsܸ~ׯ`éeg&ÀÛy’y-—´Vô\ËöIjþ4pàÄ0Z½V?4ˆqçÉùöäÏ +ç;µü€±k…1%ì´<ùú‡ceð $ ^Y÷reiùÔ!Ì €.¬ÍÉ¿N­ +g¢fQFbJ}”Êîħ’ŠyR³ËújSÇqFÊBIA•„ékŽ• :a OµÝçZ§õX×߇=¬©¿2O´¾“]¡—ìÖÌYu·jWm-².å™Ïì#å¡Ndr‹ùÅAN7"^¤¯ì¿ðÊô‰+»O^9¯Ò¢Ëf÷­ºrǵ¯‰›…‹EzŸ IÀ|ÃŒ—- +±fþê>¯ôÞ"oZÍîP <ä{žéåo“¼0ÂìD×*òìúBÏUZÕ7=´"s)‰X ÂH¥'dGFœŽOi@œÐí·ñòP$­¥qõ?ê;$•"vz™²´r]çYÆ+u¥ÞHuÛ®Ïõ¦I'íšV”ù“6™)<ˆ`}Lý€â‘ùÈ¡] éQ·³Ü¸»MEaÆmDuȵ± "J^µ3A-cøœŒ4Z}z'%dÁ a´ªxÏ#›×IÉ[ˆ+i. +Is03…Põc®&sñ†§-É+ÒŠtÁÂwýÁ/þ<ñs³F§ëŠV1ýŽ$EÇÕ‚ùØÅB„(2'9 ¼B0,5 Ò¤kT¾ˆF‚ª1ú2þî ¿2o[£›Z”Š2ÓR›]òä!Å$ +¦6b},0ÔØÓ{¿Ð®1Íy³¤m„z¥†¢SD ®¬Ž·³ü>Q¯Ó«wfÛ£Ñ×#pÄ þ±N°¦z½M–ò¿OÜž'y'Jtp+Ú.êòÍħ‡ÂDéø4Ûõ\L"b36¿š0jÔ(©×8Wý²vAejNƬL}8’†Á•‡OjEKsà7©c ¶ë˜­Ä;½RŸ“@$Î t±É®ÑDšJ¥d<5×BÞïy…wãa-ÇR÷àŒ¦WT¥ÑˆÌœßy¹ÐŽ8Ü' o9×p½+*w¥!Å«¬QÔ}ÞîÕ¢Óó.••æZ§ê³Ð'¾!ü~x%”ZÕ΋ +¤.!Ë®1_ÛPfôn¼)¤^ÍJ–M$¤W#‘‰Þ.xÎ}RµêC» פX“½±–6ÖÈ™º’®¼,¹nô= ¹²È胧‹’Ê,ÕõiEúÎb:Ñ+õQÅkë2j~Ãk^¥f·PÓ;=NWN**N‚Ò½ú Šñ¼¾*Šò *ÄmÞ|!G¡¡7®IFŽ…ÃY@¢0ú?‡?ý Q»C¹ž\É–% ù6#þÂHa@ v\ƒ;€nè/ƒ;ž=å…ázáq‘ÃÞÔïUv[ˆ¦A„s|g¸²3T»_Ö¾¿j†N¥nÚ%d më÷ :[8š‡ÎqDsàiŽ.ƒH=YÑ77ààÇœ"ÀOqFnÄtü®´w"{\wžöÕÛí€P7T‹Žñ²³ÙÊ¿WòïåÏt9æ†už²Ô~ÉŽñ¼n _Ægg”J¤gèŠúÖRÄgy=üþþÓüÒ£Þñè…eÖ-Ï=¡GáË|ýR:FÙø (×w©Q®ÐA¹8xZ¹r\ÚûEÇ>@2À¦2C²ÛÕüûRR`€ =6R²G ~[•glúqböR° ¦r£HJ'/­8ô…¶Qãû\¶Ì¬±K—2â±þ®O_Ïö‚:häÌ9|×AΞ r¦Aå–#û¨­Ê_5O´²µ~$1Ì,uòÃÔWÒŽgòïo`üÐs‚6ÎP¸Õ¯rþ\Zyó¤•Gùüœ÷™Bíß&+H+Ùëª+y§ý³Y¤˜k@;6À‹¼}4w‚urýJT6Ä`r×W¼æ¤:«†Fâ¾ìš×o‡üÏN#9Ù.÷ò›ã;»$½kŠ¤ÙÛm^d¦èäo¬Ã/2t6ãú¸ ~OAÕgëÐ]ý{ ê>C­ûZÉ_¤Â·’>7F¿9s!éO“ù§Œ‚p-za••¡¢øÁÌ#±2°¡2†Y~¤.ƒ’cî÷;æ}#ò8w!‚bÃÓ è:¸O¸ºh^Ù–‚P½|þ* >yP³ºYJ!gߧðóàTrYdÎ<ÕGäJ•4½î4î BƒÓI] 7RÙ×ßt…¢uþj’¡`üa{u©)^¥üˆßñ‘C=¨õîó1t"GÁêB½Ã|–@>SAkÐ=uÓ†g©î¨kQµ^ó!¹-T»Du›D ++Ô-µÑL.ÿ/ÙU}<îô/võ~¤?{«1Ñæžg¼0òIé— +ù„ª™&§Ï=à*^àOûFJ{¨äDnÞ^ëˆ%óW1íAHjBò?æÑ!¹y…íßóûÍ‹Ë^ðŸ/IÌ’¾”ôÓzÖŽ>Š®^‚Ð"8Ðüèèywy¶Ù\Ÿm?LÔ³ôO1¨ÄNÿ•ÿ‰ýxd!2 +endstream +endobj +5546 0 obj << +/Type /Page +/Contents 5547 0 R +/Resources 5545 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5480 0 R +/Annots [ 5543 0 R 5544 0 R ] +>> endobj +5543 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [381.086 328.316 395.81 339.22] +/A << /S /GoTo /D (V1671_FO) >> +>> endobj +5544 0 obj << +/Type /Annot +/Subtype /Link +/Border[0 0 0]/H/I/C[1 0 0] +/Rect [483.555 246.786 567.925 257.69] +/A << /S /GoTo /D (V1671_EXT) >> +>> endobj +5548 0 obj << +/D [5546 0 R /XYZ -11.232 900.716 null] +>> endobj +746 0 obj << +/D [5546 0 R /XYZ 56.693 759.068 null] +>> endobj +5549 0 obj << +/D [5546 0 R /XYZ 56.693 731.272 null] +>> endobj +750 0 obj << +/D [5546 0 R /XYZ 56.693 700.818 null] +>> endobj +5550 0 obj << +/D [5546 0 R /XYZ 56.693 664.129 null] +>> endobj +5551 0 obj << +/D [5546 0 R /XYZ 72.912 615.459 null] +>> endobj +5552 0 obj << +/D [5546 0 R /XYZ 89.4 356.448 null] +>> endobj +5553 0 obj << +/D [5546 0 R /XYZ 115.223 274.918 null] +>> endobj +5554 0 obj << +/D [5546 0 R /XYZ 108.398 213.005 null] +>> endobj +5555 0 obj << +/D [5546 0 R /XYZ 158.958 163.046 null] +>> endobj +5556 0 obj << +/D [5546 0 R /XYZ 56.693 92.448 null] +>> endobj +5545 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R /F110 5285 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5559 0 obj << +/Length 3002 +/Filter /FlateDecode +>> +stream +xÚí\moã6þž_!äË:@Íð]Ro[ Ým{-úr·Éa tûA±™X]½¸’Ç÷ëo(ÒŠ-ËŽTF½n±X`­Päp4óÌpÄ{wö¾9ûòúìòk½…’JïúÖ“Iß CÌ÷®çÞ/“7*QQ©.¦TàÉy¥Jsy›æ¢ZØ›¯óÙ—yþÞüñóÕ÷¿^ÓL A¡†ÚUµIT¹Pª*õm˜xÌ.™žÃô>gÞT Ð·óI€¢L.Í‘¡yöÕõÙïgècxB"2Ï ’˜z³ôì—_±7‡{Àâaà­ëž©'F”I¸N¼«³Ÿa+ +|T$>GúÊç!"X¦(ªyØò~™ +Œ'¯ +UZ!žDú‡ìÈ$42©/f«²ÊÓø¿Qç™iJ¢*̘ét‡ž¼Ã˜&ÊÜÊ¢TÍààqy¤‚ƒÄ(0S³—nÊFÎè¡L¬¨wŸ* `|; Ö%̵^è brAĤÍPw?¹˜2xÔ¨2·,iœÅé*ý¤Vù”q‚°`ûšŸåYÅYÙÍmž$¹žqgwŸ©Â -Xýó;žŽpèùÔߪY7ó@ €Eaz…ònwõºG¬»õ€>8 -}C—èήä}„ýúÜQ zM°‹x‰Bú ¼Ö€0ÕVÈkhø(`š2 …£½—ïú_q癋7ù‹¯c˜|z¼÷#0÷=­s, øx:Ù§ï¦g^$w¨%‚Á‚C=YP›~­¦‡4ÉÊÚèÐÝgçÇ»/ªjy@ýòòø€õzÝîNôf:çÅ]»÷% Ãð7vMÚr¼÷ue%¬ri{Ìy?/%CŽ|*FCl‹¾bÝy€X k&Ì ö^¥^Û(|KÈ‹Ï{J:`È—rEöÇ3Ë}únféÌkHÁP)‡É$ÈÇÆÅÇT…¡çü²¯¯”<O)ûôÝ”âÊë _)"L>³¯ÌWÕrÕÓW¦ªZäóaÞ2MŽÄ"Ç&QÙ,ŸÃ‹ÕiÞ~ûãëŸÞ^µ‡L ô‰éâlÞá§NM–åÉ£1’÷é»!Ù•×H†W²Ý,y6$/£"JûYïI …ñ@‡w ÆOÀ±„uyÖÇ ü/Î?y9ž€¡±/ò™y3 ùûôÝïÊë äs†( >äÏ«ì½*†¼ä.(-eˆ¥P³92š¥ìÓw³W^OX +£ˆ™ÆRÊèápO²,àeV ²­B- UB¼bváG7˜ æ¹?Â_ÇTˆÙ•ÍTöé»™Š+¯G7½%%ÈîL=ŸZŽìyÑ ¼¢Sî’ðx2ÍeÕ$ÂùØ.ªßfOî/(žäï/¼O\Lg“«Ú<á’OÖqµ0:¥³ÍLíÈU Λ<ÓvyBkxUÈ×e½Ztd§‘ˆ…þvØw‘fá^§‰"3Y¹)+•–E¾TEµ±w@ʆŸ¼ƒB8’Xl Ïòeë()¨v9è­áë[ÆKÖŒþ‡IwqDýtW“U:“ö¥ËDõS¶róѲ[Úˆ(o·´EßÉÐÝyí±-cM_È fÿ·è>j§xµßGï©F! ÆÛýjÑw³+¯ÇC!à×ç{‡]>òõ±ÈõT¾ÈkgúÙ‰`!O‡l×îaÈŽóÀØ¥årÇ9bt¼­½}7Ä9ó:À°¹`m<þÝijdDÍ×Å0WqÁPÅ3†˜o'¬EßMñμP<“H +[3ÏgC6Ù[›­Ç7r7Çã»›ø=´Œ þ”‚$,­Ïþ©Ð1à'­¢¯Èü¤yaëxÀ® ©ì_ç…Šs¹Öqc^$ósÛ±)&+MáiÈ!„´ôó¥~)³ÅB›|õBSI,Éj³ŒgQ’lvfˆ²ÊÞÌÍïªT=ˉæH9ZÀÅC†„/hÑw2Ow^û›'% +8®€‹"Žñ–¿}71»òz<àªáÈ×ø÷ ¼Ž·î¶è»!Ε׈ó9Lá?8mãKðéÞ˨(UQñ:Ÿ­R•U_®âd®Š¯£Y•›ƒM½A5h'¦‹–Ñl1¤ +åA35ä~‹ºÓj­’&1âbŒš”åˆ>x¼›A¸r: àƒKmvS­ußBøäèxˆ|:^V°EßMø®¼žðF‚!ŒÃÏ]}ñó¿êAc?ÔïÉŸÁX€|9^Þ¯EßÍ\y=a œ",þߦP+¤F=Š¯ÿˆ9ü•öxäÐMá +—ªkÑwC·3¯^(ñ¿ïF'æy4ÅïÓwS¼+¯'Üň0ú¤_{è·7öê9ÈYªÌ“ûA… Už'CVç7õðæÿóß¿QÑü`²¡¨ÄzÇa¼]ZôÝPéÊë TâŸ=‰ÊÍGTþ¨d¡Ù• •-úN¨tæõ8*Y JžÎ¿QÙÕÿUTEI~÷¦{¦¡ Ì6ÀhܧïIg^ûÇm ø§Û™>OǸç‡F¢ŽIŽê£l±Ö”>¹ÉëŠ,"êT[©?Øgöƒ{ÝxÞ>àÜ Û3 ¯ËE¾Jæ¦ÿm‹ÌŸÍº­uŽn²çÔÓ›/þëôž¾eYà¦LQUz{¤î¸Mš»qÖupDY©¥IìµÏ^˜ÖyQ ÝC$ˆþßQ*ºŽh°•k…Y•Êô÷§å§zr «PšëvsþÁÜôÜtµ¹ÑÞ8ê«b÷È pï£ÖLJ Mê@Ñe ·úYYP×C˜Ó%d›u‚1Þ9‰Cƒ$` Mu#@To?Šà´D¾0lf«ô¦I¾Þš_óég“Y½ÑEx+›«Õpy¨…T¶ôûiâ‹ù|O¾Ý’í¤LOSþ*‹n’c2v>udHb¹ÝÒžßÜæµk¨ô€é:žW‹Žª¿¤žp{TFÖUVHì±Ê±*6ÕM×±\ ÞÕvŒ-ª¾þÉ +¾£ÜÞv„,Õrµ¬¿Üm÷‡lk‡…›âÌ"OÔgeUä&'Ø>'Ã!RH—‹¨ŒË#R`ƒ„@1¨n¨°?É”õ,fhlüa`ºW!J}¬]l– •E•B°ü߀£K»S f Bô1)f¢Y”™™µÕ «Ò0˜2h©V…íS»h9³J%I|0:7Më"Z.M™„îxkZí-†©úŽ2õº1¨PgÚ–9¥àQ©>_§½QË$šmÑ%I‡Æu)hrD/«êó——ð_‡ˆ¬qø>FǦ|#ÞZݾ­€úfÀËY>W@¼þ9åõ¦0œ^? ¼ZDÙ]·§ˆù§ˆæiž¡;ÐÂ"ž¡c~‚`Ž|Ü-W`I´­ˆÙ–¥4…3ómL¾='²™Ç·´·ªþèÛŒÒ Ä;%1Yp±°¥Ñ +G‡[Λ’ýà ‚ ôÇkýñÄ žnÞ:ÏçŸ×?|ßiVüGØØH¹€7¼S&åû(ä ²-Ö.>¯¶ ì««+»\e$Ds¸IÚ‘0°Ñ oµ­©¹ ®/pH¯º@Ö> endobj +5560 0 obj << +/D [5558 0 R /XYZ -16.307 900.716 null] +>> endobj +5561 0 obj << +/D [5558 0 R /XYZ 56.693 759.068 null] +>> endobj +5562 0 obj << +/D [5558 0 R /XYZ 56.693 729.43 null] +>> endobj +5563 0 obj << +/D [5558 0 R /XYZ 87.079 730.89 null] +>> endobj +5564 0 obj << +/D [5558 0 R /XYZ 87.079 719.931 null] +>> endobj +5565 0 obj << +/D [5558 0 R /XYZ 87.079 708.972 null] +>> endobj +5566 0 obj << +/D [5558 0 R /XYZ 87.079 698.013 null] +>> endobj +5567 0 obj << +/D [5558 0 R /XYZ 87.079 676.095 null] +>> endobj +5568 0 obj << +/D [5558 0 R /XYZ 87.079 665.136 null] +>> endobj +5569 0 obj << +/D [5558 0 R /XYZ 87.079 654.177 null] +>> endobj +5570 0 obj << +/D [5558 0 R /XYZ 87.079 643.218 null] +>> endobj +5571 0 obj << +/D [5558 0 R /XYZ 87.079 632.259 null] +>> endobj +5572 0 obj << +/D [5558 0 R /XYZ 56.693 579.033 null] +>> endobj +5573 0 obj << +/D [5558 0 R /XYZ 87.079 580.492 null] +>> endobj +5574 0 obj << +/D [5558 0 R /XYZ 87.079 569.533 null] +>> endobj +5575 0 obj << +/D [5558 0 R /XYZ 87.079 558.574 null] +>> endobj +5576 0 obj << +/D [5558 0 R /XYZ 87.079 547.615 null] +>> endobj +5577 0 obj << +/D [5558 0 R /XYZ 56.693 506.344 null] +>> endobj +5578 0 obj << +/D [5558 0 R /XYZ 87.079 507.803 null] +>> endobj +5579 0 obj << +/D [5558 0 R /XYZ 87.079 496.844 null] +>> endobj +5580 0 obj << +/D [5558 0 R /XYZ 87.079 485.886 null] +>> endobj +5581 0 obj << +/D [5558 0 R /XYZ 87.079 463.968 null] +>> endobj +5582 0 obj << +/D [5558 0 R /XYZ 87.079 453.009 null] +>> endobj +5583 0 obj << +/D [5558 0 R /XYZ 87.079 442.05 null] +>> endobj +5584 0 obj << +/D [5558 0 R /XYZ 87.079 431.091 null] +>> endobj +5585 0 obj << +/D [5558 0 R /XYZ 87.079 420.132 null] +>> endobj +5586 0 obj << +/D [5558 0 R /XYZ 87.079 409.173 null] +>> endobj +5587 0 obj << +/D [5558 0 R /XYZ 87.079 398.214 null] +>> endobj +754 0 obj << +/D [5558 0 R /XYZ 56.693 316.209 null] +>> endobj +5588 0 obj << +/D [5558 0 R /XYZ 56.693 279.626 null] +>> endobj +5557 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F95 1080 0 R /F98 1205 0 R /F52 815 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5592 0 obj << +/Length 3031 +/Filter /FlateDecode +>> +stream +xÚµZK“㶾ϯÐÍT• ’[åÃÚY'Nmv+;“Š«l(’h“CPÞQ~}/¾ÄÍx+—~~ÝÞ7xó×»ïî¾ùáMŠRNùæá°áñx“…ñæ¡Øü|•È”Øî(ÃÁÙ e²³ýÉ}ü‹Ì¿“òwûòÓýûí¯‡mv„ ”1Kí¾¿TB„è•þ »“M»óPïÁöqnv ¥±ÛŸp +ã$øÆþ#<Õ+ïÞ=ÜýçŽ}¼!ÆOÃMœÄ1ÝäõÝÏ¿âM߀¥Éæ³™YoÁˆ†ž«ÍýÝ?ï°~R$žv”"‚¹eêJ™áÂ/Ûü¼co‹BÛ]…:·­ìzûb„FQËfáà-aèú²9Z1ÀF ‘Þ‘„ÑXŸÍlö®nO™*½À¦¼EE,ñ{iw;vò°¥,8ØײϪ2·ûgM±²aÌP„£«ývŽÔÉJ|ûÕ^VÅW+ P.&|ÉžŽ¶;–âà{Ùô@£òrÙ_,z9HAÈ<õd„ã`gLh10G67$Ôv²ÍŽØ#RÚ¨V˜K#ÐÜ@´Íº¬þÚŠa¿¥88kåP4Ò<° ù¹MoX…á>œ•V”«Ê- zØܽ«‹êE­ÏòàßZ·eUÙO…´«ûSæwZïŽê/˜á¶ÊšÆgV|0/+ +; d-ì7ë¬8ܱ¬8øäp¢‡)p°]îdží+盲íKÙ,]÷´eÁ¥=‰&Ó_혶ûž*Ú!p°ÿaÄ‘Tm–Ãg8As_Ø%(â 0˜"­ÝU‡Y€]âT•gU%Ï=:vY{*s…šs½ªÊºìÑc]­Yb‚¦l¦í7 ;&G9Šb® +qØÂÇì\õN,¬W½‘! ÞHðÚæ!¢ŒL¼`… žQakT0ŠWZÊ4d1JþRýCt{Ptm\G¡V™€àCb¿È‰Ð¶ëS…Jñàb'gLâÛCV)±`m¶ÍŽD ±4zþ<.¬ÞgWæùS®c¶1œk¡ß2íèø—ÙÏî‹h”vÙ¬!ûHí}ãú˜4Â(‰ãúק? %+¨vbí+’Œ)Šè }€²Q û_0¦Þ7OX⎱à«-üQK½ë\ŒÃÉir¨£hD—õ¥MKPáþÓ»÷ïÞÞ¿Û à?>¼»G=„¨5Ë€Àƒ‡Ù#,Í”$ÀnD_Áî5aŒŒêÇ÷oß¿_Ë~ +ÇsLEªµbÕnm~îÇP87DB'®!Üå$MyÔ±ÆkwßJØËTòIÔRó`3¾SŽÜƒñ@´^9{!â"‰¬ÖœB*ÊNä½ì.“8fž Bÿž¯ünE)!Ì:"á(¥,-±SK’ÆËÃlNãÁ Fb²yÎÉüÑñäj²ÜÚ ?O7e­]3kœwÚ¼}iõ«VˆjÈóû~:J|^ kKâ!‚¼Ùgj bè FEd}ß•[xœl³¿ ]Xú¦=ÔŇ6Ù~lòê\¸É¬s¡”7ÔHgÐÔªc.k­ô‰±/å³ÀÇ1¡!u€üj8ÈÌxT¹P•YïoV9U[¢Žo‘õçnÉ$:žú……”šæÏŸ~ +L«ãÿ窺:ÌŒk”>ºyç¾@ò‡;»áŽ€l=J}o‹—'$íyá€&!ƒ<‚žfè™…ú„4ÅóJØ#Œ¿äÍóhD­Ú€xh¥ã£àe´˜áõãÞlÞ¬Õ$ňŒ•‘MºÈ¬FP6‡(ײMQ+¿^£Î€6]§]Сˎ«¥Rˆ¢$~9aK±¾ +Š ³ÂúY´?¯nÕ»±fñ|#€SG¸­ÚCÖ@Jüç,š|Í¢˜_MÿYÔ™ðiÀ½M²‹‡‚ „b­k²ÊJÿ ¡Ó˜Ž Š©$¸Æö¹/x`È™óš×ÖPîÝOgGHúxQ…Š,?ùTë °y,®e7ø Ö¦ÒºM`rdÝna¦¹x4¥S£,Ä#‚úK+Ö±iÂgµ’ã=uÍ +šN=F !3¼Œ!ð±ÔõfqÎM€5ïvêØ‚A@kvÔm.8ïjeÇ,À‡YÃGPZuõéôS :4œ)«]²@U?WÍEžAٌآZCº†°c5}e[¹7Ø©ÌuÓ/ºvÎJW“ë2±´½m½›¢égGÙ•~™,z:LÒƒÀ3'aðƒžfz?ðé¬L g µæÔf}ÖU%h¬{1’k€ ÎJØÉÆ|õˆ×ÔJÇmTîŠÑD 8J®ŒF÷|n4÷z‘W¶LCS?¾¦^‰£é ®Ÿ£$¨«](;÷²Êö¢BuöQ²íOkþéª9Y³tØÔ䛘G;24Îô°ÛÊ1h†-à6–Þ;b[jÂh.+Ý +ÓŽ8IäF!Öeï-7å(älÞË1 +Ÿ‚)0®³ß|hÙÓ}™ ̪ԢVÐn‹býÕÑ)›Ó97–Qü‰FÏ âÖ¤Ø;HÙ75!ÿ´Ø. È?ß®à!Jö ¾Qbél^tƒ&}-¡­d,=Kj—Ú®l¿!œcbúª¯p…0Lž÷XÈB,jÞ²>"ÕåiV­ŸÇ¦²ó²Q–~¦ÿÅ:…Ú +Ê š( £{øÇ{;´ílàÎÊÝóŒ)X¶plOèÅAé7óçŠÝIðù¤ãçX8vôìÆ~i»¸8O‰Âáýé¹v òSÖö#Üa°¸m¡R/=)GÓÞØ5²vöD E¦15'sro&âq äF«AÖåäËú‰Fa4 Ú*ËÅIV…±g˜vnáµ[_»Þ#GéxåcŘ‹ªº!K¢áÈ°lýGºIÅ×Hï+™ÿ~ ï@ÕÆÓŸècˆÆ žA9î×›]D¡ÌŠÉ"Q̔ƜÒؽVš®)ŠFËò:Ýi¦Ÿ¨–Ç;‹<™7 èUã…ßb'ý[Ov22Y»'3ð¢›YªÕ5ݤ’»l9³Ý/…àÈ$ð-°iŸùûwy +Üõ™íD3ž™¾”±ìj$æ|ßædˆg8]Ä3 ÄŸj{½ä®fh„“¶TL¯üÔ„â~`c0‚ñb{DB}Ùß DG… a\],µ,JsóÌÿÐBç–ƒK~/§p³Âl;¤%]sÁµÏ`Š¹}°9Ê#ž£(ZZò²ô\ûm,Ä<ý3?ú8@è¾ +endstream +endobj +5591 0 obj << +/Type /Page +/Contents 5592 0 R +/Resources 5590 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5589 0 R +>> endobj +5593 0 obj << +/D [5591 0 R /XYZ -11.232 900.716 null] +>> endobj +758 0 obj << +/D [5591 0 R /XYZ 56.693 590.311 null] +>> endobj +5594 0 obj << +/D [5591 0 R /XYZ 56.693 553.6 null] +>> endobj +5590 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R /F57 861 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5597 0 obj << +/Length 2700 +/Filter /FlateDecode +>> +stream +xÚ­ZYÛ8~ï_aäÉbE÷ì,°ÉΑÁ$“ÝöbÈ̃,±mnË¢#Qéîùõ[Å*ê²:é$û$Š"‹Å:¾:lwuX¹«¯^î®^ü¹«ÌÉb?^ínV±ïÄÉ*õ'HV»rõ~ýoQ‰¼›­¹ë·J‹–†7ª¡>òǪâ¥R·ôòûõ/›?w?Ã1[Ïs²("j×ú¡íQÝâg8Ý[¥pzàé!Ÿ„Áj9YÂç{q“tý‚^œáΫïwW®< ï®¼U;q¬’Ìsb×_§«÷º«¾N˜¥«;³ò´Š<×ñƒÆÕêúê_W.‹Â}T$–v˜9žSø~d¸°ÛVï·‘ë®ÿQ–¢>Ãx}ß«š†mw>«FÓ É 9u¡JYxVëFî7¾»î´ )KmdÜ™…Èžï‡N”†1-îu™ëœ…;¾G ì:PêIÔÚÙl7³]‹­ïèåœ7ùIhÑ9D;ìù‰ãÏÏuJq“w•vàV[cÛ M$ó§v@7¾dÒ‡¡ëYªwGYÉžÚ³(ä®ë[û‰ Þ^šŸ‹¦@œ R‹Ó'Š1ò{9Jææ$Ûu¦F±õ³Ä‰ÒîüÏÏn“û§s•ë%E‡©ãƽÀ«|/*Geë´¢ÐÒÞjÂk–9‘ÝP+«Ø8YªÖªù8á©JÐK˼˜3ž£Ûù°]Ó¤ª«^Ûí·f‰¥BÊ2ä›F´gU—-MhEO0(-‹®ÊÚC· ;ñ‚Ìq³pj'?l¼h­š“`°Ù‹cŽÚü(UÇSwôÌzxýæ§_y¥Qº5þ,õº º6ßWb®ÃÔ ã”5}Zƒ–[°:²À$YËšžZjÒý¾1ö‘& `°Ûxéú×Wô’×% Ž"/EÓ2!~žA´¢ùˆG ^ÇÖ§E#˜ŠÔŠ©)]Éú–^Ú“G1âÑ!óF:0š¿XfÔg¥4Ò]{$“3\Ç3ûÇ! hß³üÕÍü3’nµdãNÍË‹c^,Øh¤Pì“ysÛ?¥Î'¡ù¥'©ãõŽ(k-óÊ9çáÔÝioÁr?Bvòmfˆ¾x¸žæ‰EœO'ŽÜ©%»Åc·|ì6žÏ:‹F?,0áE“ø±%alÏC–…à'Ê? U˜¬™7Õés§ÙcƒØ…8=óØW]«ÕIþe H³5b†{Ã[…9€=¨-Íj”&ɦqÄüÁˆ.ÚSGÐ(-Øiâ§ë]}¶ò$ Ö˜Ó•åg]ÝÐÉo$ðâÏhuk7M0Ü’l9gs¥ûâÈÜw°`{|{ÝÝØ?+™s¯cæž ë‘ξÖõƒÄI¢`$²BÄ +ÕÁ\ + 2Ôõ/ÝÀO +IHn`&dB"L–N„ÍçÞÐíž&B½1ジÀ3®°‚³pÙzpZòk=<¿ LU­Q/ä`nòE8\âÄ\u^i²ë? Ä®)óŒ0œ×‡ŽíɆœVE^É¿¥1”ÊôÚÂv¶3&ì5G°’0î='ï´’åýv³E£=8÷mµd 1$úÑ4‹JF9 +¼èü£4åuÀo£N4*UÑaìneBDfùxmûЂi ”BÌUsjêC½á³°EyñW;ËÛF¹1ÅòÀM&>‹0Øá|óÕdq¼î(PÓ>¥k*»ðËnäÊ뮩“W5|ñhþ˜·4¹C‘`MÉs Ö&r,i\ÖŸÏO39.9É{›pà<ÂRп“š3v¨o`ÇÃEXîøæÈ ä¼Qq/hÔ—Ž˜†Žô8Õ°ð&oÉíÁ¬%Ïk±Õ¥ÉðBéÏz4Ìd8} /0¨u’š_8x %sÇ›éq”1¢ü—Χ$Œv0YyÃOf㎲BÔ +ÙïA5LuWÂ68é×}Ðή¾9„P%7(Ìý„ÂÜhRê,׊ÏÕÖ ­Å1X+›Ö]^Ù”¹ºHO§1Ÿ¼€b씘¢å…pÙA `A4X%ÅC•Ö¹hD)—Âm;~zYòÏnENæE_äwA8ºAdœK†l^3–³pÔx(÷7Š2Õ[!Î[­Â@ÃBºêºŽß' ï^ÓtI¸ “jÿ_pˆ–> Bj,ä *±¿FÜ;t}¥à–Cdíg>t9z¿BbqhòS%[kDUpá0s‡©y„/?œµ4F~ë=“8&&iL6@ãÓ_S¤;÷_Y(æ|9`_8X6ÚÁYUuâÃ&ŽÖÏù¨féx6jS'MþÞ<Ð[¥(þélnŒ—âÆ”Ò]Å$ˆþX³–òB7°¯¼ó3¦s\Hv¾¼ü&’ ÃóQœ£T¢}n=¹ãyîQ-*ê–¡êâ8¤Ù}TÖ-.Ó#d~n£{xw.á6å QЪ¦Åî”Ï óé>ÑI«Š£ûBÊ9±7 à$Á†©KŒ½qÅia“û/æÎÜi ’1 ûJ}ìØ 01 +¼±2àógÏ€­è›K“È›€Î¶vå$¡†uû•`†P1´½ÊAѺéú`;DXˆ"ø(­%µêFÏk¶=8æíež&íyÜ”YˆàùÀ5"2B¬qûË6¶ê®µ—Ÿ5q3Jø>ÔÚî­¾ýq)> endobj +5598 0 obj << +/D [5596 0 R /XYZ -16.307 900.716 null] +>> endobj +5595 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5601 0 obj << +/Length 2972 +/Filter /FlateDecode +>> +stream +xÚíZÝ“Û¸ ß¿BãëL䙈+Rßé}ÌÝ%ÙnçšI³Û6Ë=heÚÒE–}d7ùë ¤,ÉöÆßö¡Óñƒ)’@øh+Ã6.Î~º>;éÙFÄ"_øÆõÒðó#äsãzaüj¾‘¹Œk9·„g›¯ÊFÖÔ\–5šT >/“ŸÊò==¼½úeþÛõ_Å9‹<¨]5ŸrY§R65wn„ÀÝw» ì×1,EâÏ}(¡yNÜðͳ×gÎ8з nx>ó#Ç"Î|[Éúì×ßlcc s£Ð¸íf® ÛL8>´sãêìïg¶R…=R‰0¸`çJ¥‰»>ó¸OR‰°B¿eüjqÛ¶ÊBI™ï1{4o¢mPŽYh‡DôÞ”¬T$•íúF*¥—KúÏÖ›²j⢡Ǜ¹°ÍvEïl[Ü͹gÊšÉâ¦D,ð¿Àv± \ŠkÆøç™·s¬«÷qU¶…jJ‹ó¼œ œCÝ©$=xf=ØóÑ+›ªLd­:·Ö#¯.¨sQ&íZ ,ÀrB–äÙ—Í“¹T[š˜Æ‰zµIã†ú6•´ YëA¹%lu2ו‘*… GeÛ%ý×M•mzÍÃ*—Û/⵬7q¢ãN;4¡ V‹Bt&¶Ô™¼‹&ÀCL>½w¬å]?+Ê…´jÙ(ZL ˜+B=[‹·UäP¦JÖmÞ0Ðo¯%|—ù®÷ +}ØâFVEÜd¨eÑ@V,$>ÞeÅŠzÖ2Iã"«×ø˜·i–¤4’Æ55ndÓtæÜP”Ë"γÏ]ƒFêvƒûïòÈ|%µ‰àÚ¤e/¬²GÅn6»Á™ÓMWÈÔyT’Àö“áûfÞ ©¬'ÏÞ£(³–O‘°0ß9ïš›½ *G& &Bƒ(Ô nÔé©k}ÀŒ™œuï›— &q¡ý¬.iR3ç°Çdí ¨L²8ÒRb£ÓH¶RgI:ëL¢{+VsÊBI ÛVÅ +2Doe#½YoòÞÔa}k…EÅÄ“²ªd¢\iSÖ™ÚÖ›z™@£` +·R;Ê,Mœh–ÍÆ~þ,;s‚f«6^I\ëeöXè)P½Äw\°Eš†f·5ðßv…iVSkh·ðø©lU[7ÔJPåê½zËõÖ^¡+?i6Úè¡I0­xÔåZ½k ¶IϨŸÞÜ4jlaÀu|fÃé¤p`Yž Ý|’ +,=>²p€–=ˆÂ9Ž¦ôt3Ÿ9!×ÒfŸ'i[¼gûéžù¡¯§“¥9¾ Ýt|GA"veE’· Äfì7c›*ë´‹ÃCàómÖ¤4µÐ0@T†0€Ã à'¡÷¬H€{.¨/n›2[ÜYs Á|u`mÜöX°…ß²ÚCÛr#Ð%ë¾SÛ‘L¸Ëì@ 5¨Üä%.S‡]´æx½Éå3Âmà†ÐãðÂ*½Â+Â#ì÷ì´àé„‘QIc9Œ‡FÔö÷î29 "_3 ÂgŸJßcÜçSúž €ãÇpÆŠ>‹Dtº°]¨8:Ì{1!î ]Ú¿oÕ¡Š¿jePã ¯Ú!'®ùìðì; _Ú7×òáà¾[çEýú{¤ùnvxzÚ4›êçç‡_¸½½Îg÷Ìv0¹¬VÓÙç<Š¢{¤Qß'£WϾ®â¢†/žõôÙ±®Ø,„OªGóŒ1ý=ãdawt¸ë+`M8ÈÌe\(˜üA ¥;vÈ™=ûþX]{ ƒðñt=¦¢®MX¥ TΣÇSƘþ‰Ê8UØÃì &ìà†d +뎃㴒ËGÅW>6ë²­ °¶’x«˜@÷#g¥2"Ç¿±g î™´ðQkot)¸«š.Æe\,Š) ÚfÓ6ìë æyY<™sÐvÙBCÿD_Ðà +ŽÅ4KÔ’²%™‡Ïœ±@¬nË@ˆÕWûŒ%„HYOûn€÷< ùq¿ê¡BßÞ÷ð³ä¬Îl¬‘ ]¯·Rg‘ºo‘ÂÁc4ñ†_Ïy|#÷U%#NÆÞ7´Y@lDϲ*§Ûç¬Û"xÐ-×1×Y]ÓW˜O$EÀ–Ž—-¼ió„fÆMSet:èŠ<•öb=žÛuI:a1Jv]ultµ¹ïÜs;wÇO©Cìœþ&AOd°=ЭXºg¤Ýh{a¢Gp´V¼†B1Ô ûó;WÞóÍñ÷>º ~¦ÛÚIë>õA{%—¿5´‰ö!u\Á¶¨[#;.!ƒ'ú+@õ1[ÈeÜæÍAsƒïbÑ»×Än¥F±ív 58ûÓlªàmç+\¯môEÅñš – Ã^¾x±F\—w×:Œ‡½ûlÕ5ÒbÓVÅžKfxéR}Ûýk"°pÕ#›DuÇzºxîÞq‹ ýF~ Âß@tçùüøëRoÂÛ¯U—lb0¿xÿ=Ã#O{<æ,mRYì»qÉN²{ö Ûf‚÷ŠOJ•ÖlÐz<qÚ¥ àé÷fnä*+6ñJî¡êÙ,²·(;ZÞLY”r‹£)ì韵ë)õ^?¿èï5õJÛwñÕµ™íG_sïõ?Lœð +endstream +endobj +5600 0 obj << +/Type /Page +/Contents 5601 0 R +/Resources 5599 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5589 0 R +>> endobj +5602 0 obj << +/D [5600 0 R /XYZ -11.232 900.716 null] +>> endobj +762 0 obj << +/D [5600 0 R /XYZ 56.693 759.068 null] +>> endobj +5603 0 obj << +/D [5600 0 R /XYZ 56.693 731.272 null] +>> endobj +5604 0 obj << +/D [5600 0 R /XYZ 56.693 594.583 null] +>> endobj +5605 0 obj << +/D [5600 0 R /XYZ 65.161 596.043 null] +>> endobj +5606 0 obj << +/D [5600 0 R /XYZ 65.161 585.084 null] +>> endobj +5607 0 obj << +/D [5600 0 R /XYZ 65.161 574.125 null] +>> endobj +5608 0 obj << +/D [5600 0 R /XYZ 65.161 563.166 null] +>> endobj +5609 0 obj << +/D [5600 0 R /XYZ 65.161 552.207 null] +>> endobj +5610 0 obj << +/D [5600 0 R /XYZ 65.161 541.248 null] +>> endobj +5611 0 obj << +/D [5600 0 R /XYZ 65.161 530.289 null] +>> endobj +766 0 obj << +/D [5600 0 R /XYZ 56.693 465.321 null] +>> endobj +5612 0 obj << +/D [5600 0 R /XYZ 56.693 428.489 null] +>> endobj +770 0 obj << +/D [5600 0 R /XYZ 56.693 349.133 null] +>> endobj +5613 0 obj << +/D [5600 0 R /XYZ 56.693 311.678 null] +>> endobj +5599 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5616 0 obj << +/Length 2451 +/Filter /FlateDecode +>> +stream +xÚÍZYܸ~Ÿ_!Ü ¸iQ·6àcíÝÅnìx&@ï>°%v·2ºLQsäקxêhÍLÏÌ: ü0l‰¬*¿¯Ê®³w\çÃÙ›‹³WïC×IQy‘s±s"E±“`ù±s‘;_VŸiIIG×/tWk8íÔp×05àýò]“½išKõãŸç?¯»ø Ôl0Fi*içü¶¤ÝRމנ; h|¡=õqà;›¥±Ö£$ÆÉê•úƒ£T¬<ûþâìëù®ƒ0BQê;qŠQäzNV}ùÍurx  Mœk9³rBì"Ï`\:çg?sµ+Ü;]bd)Ân¤ŒúÕóBi…Yæ|Ù„®»zç4Wèú¶mŸ9ë°W·íÖ„M½É„‘ŒS¶ÜÕËÅ)mßFókJƒ„O?ª¿E­iD¶¥&RF˲û“WärÝ5 bzÄšµ®®;ÚÎp*ìü©_¬q²ÒúD àjC#ÔâÇ­úAwBäŽfzzSÏ^’ŽO´ëyÌjî«z^¸é0v/O ¸6‚WŠb›kÀ–1šK@ˆ€ü‘=\k}ÁKÚ’½Ù±ÞJÁ¹q÷–rA‰Yìbä§éiæ¿nÛ²Ä÷=¼úÕu½5ܱ¦#oõ“v®zþ†’Røðñ2q4¹Z"Ý.ÞlÅ©õûù‚¶çjbG³¦Î »ÕÏå^Ũî«-eú!ü!f·¬¨ì\€=ž¢õ&ô‚Õù¯HEռ내JAæ©xÙ€·Ut×ÑÃ*ÃgdžD™Q9õ·‘vŠ·‡ ›Sᶺ!OkÝiÞ3ê½úq%|OX!)¶0Äø!äŽK y ²ÐGqjA6ß…Ù%Â'îãCíØû( £eQµ†Ì»`N¢ÐK‡‰¬"œÛ}¿¨Åƒò…ö¼ð‚b¿vÖõÁŒ +Ãù,ëÍšÈD ½k0Vßpˆ ,zI×Ò¬ØÖIÏX3õRœ"7ö}Ø×Â[„Õv{Òü…ãL!c{6#ì˦ë~èÞsÅn€b×.*ô†Àí:H”¤¾ÔÉE’O=—‘ÚN†ü7Ò3¬f7b\Ò#‰°ã§%åOE¦«­¾©Û1Idy|§M¦–šÇ˜Ã^ +ôø@–‰£`–ogÓìT°)\YK ”w Œ`èÇw2 +AIz?Xf¨`bõçô&/®–Øã#wØÌ«…­@=Ù 2•<äÚŠ0ÒófOkÊ ÄÈ ©rE"ÉC2b²z=Ϋ­8^ rsÈGAÓßD§é3­¡óÊäÂÐíë¾£9Œ°áyÕ6µ,ˆÄ~gåÜ£+Ç_FZ•‚ß™B¦G¹UH*›Ž~íi§äʆHÍb:ß–MvÙ=©æø‡ijÄ¡Fƒ¸@Ê*b6×EÎÂ;xpŒI1UÖb6Nñƒür¤-* +Þ{À‘8 õ Ô»Ó ìš JrÊ^‰´AÙ¨º45¥hMí´Ÿ-¡erÆ”PlÏÄ0ꇼúþ㧧§ñ·jÂ×N•Üó8ºÜ&a\”èH° +•E}¹ÆCäº6ˆ V‹ùÖn{Y'ª¾ÊødV*7=oM„ß—PùXœÕÅÝÖ°AQ7/&C‘¦ýÓóA Ý&ˆ3!¦ƒ¸X' øíÓoz‘cè4qó|ù`¼|¹$ z7+i[lË¢Ù3Ò–¤E +‡flÞ¸MÃð¤o“ýÔ8lÃÙԃlj7‚Ä{r,ÝÉZ$ƒ^Ñ„ÒìЖ5¹IüͼZÊúŽ7Uñor\µJ!Úå¾aPƒWóþn˜BKÙ¸šr­…'7ÀÂ"ƒzìÂ…ÓÞlÿ%ºÆ;ªåÓl{`âªéXŽÅY<êì–ª„þpø@CpN^;mK1¬¸»îðcèò“Ó(;éò_¬ÃpÕqàì‹i§o›At6°)‹Ž?Îï‹›q*çÔ4çLäM6µÀ&ÑžÕS›¾¾Àõ–$ ?¾EO²kT±Câ‚tÞ!‰YdÚ˜nj ô‡Ü3aM¿?¨átÚ(òÚ†øΆo¦jH#ö”£~Hw,{FÉ2D/Âèwfº¾zœè[†yšƒv(±½œªÈ Êi ý÷1jcÀ¹— ù­ÈC{ÆšÒrm~iºd!kâ-ul±•`-U·ºcÿôçͻo‹šã:‡òNÍûß+ØV-§K¡>ÄÈM½IÉM¶[F¯–o|¡BÐ够ˆDM*u槅 +ðVfø+©'ÒN€ux…‡“k±z|w VkHL´‡Ù­ð¤ïô+Õ‘Á›N5d𨻭9¹Qcéz±n¡lSµ hEqM/ÎåÕ×(dü>÷'Ë—ÔÓ¼²¥üšþ,xcœœta5™+¦‰K&8‡léƒA€¼‰MÝL?eEðì‡Rå§,ñ v®f_;¬¾»g®½¢¯Yšº‰\mç +þò‡»5@mYd%/¹{…Tt X;ÿÐq¿¢]óˆ}Ë»˜#›þz*à¡ÇóqðÀ?ø)ל¹ë!? ç7½’ì§ò3uØ7¤g‚åeì·bçTüóÈù\Sïäf]4šÿCn>FôÇ1êÿ›ó1T­qø;Rþè„.r£ô)ÿ!ä?ç£±Ò +endstream +endobj +5615 0 obj << +/Type /Page +/Contents 5616 0 R +/Resources 5614 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5589 0 R +>> endobj +5617 0 obj << +/D [5615 0 R /XYZ -16.307 900.716 null] +>> endobj +774 0 obj << +/D [5615 0 R /XYZ 56.693 233.807 null] +>> endobj +5618 0 obj << +/D [5615 0 R /XYZ 56.693 196.811 null] +>> endobj +5619 0 obj << +/D [5615 0 R /XYZ 56.693 137.09 null] +>> endobj +5620 0 obj << +/D [5615 0 R /XYZ 65.161 138.549 null] +>> endobj +5621 0 obj << +/D [5615 0 R /XYZ 56.693 96.308 null] +>> endobj +5622 0 obj << +/D [5615 0 R /XYZ 65.161 95.71 null] +>> endobj +5614 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F102 2555 0 R /F93 1063 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5625 0 obj << +/Length 2675 +/Filter /FlateDecode +>> +stream +xÚí[í›Èÿ¾ªÆ–γó¤/R®wI¯jõ²'UJ"›±Mƒ8»Ûªÿ{ŸaÆ»`ÂõõÌ<óÌ<¿ç•[ [¯¯¾½¹º~%°å"WRiݬ-I‘´-‡0ÄlëÆ·ÞÍ~T¡òR5_Pg‹3•šæ:NL#Û/¿‹WßÆñ­¹ùÇÛ¿Ì?Üü¦Y‚\! µ·ÙC¨Ò­RYª_ÃìÄr`vÉô즷9³¹v1?‘(ÚÎìÚ\ˆtõÈ«ïo®>] -b ‰¤Ë,Û%Hbj­vWï>`ˇwÀâ®cÝå=w– Q&¡Zo¯þ~…‹­Àç·D "‰es, S/³, –sŠg³!XÌÖI¼3­¶$1ÍÈÛ©tï­L'9{¢UxðƒhcºdÛ8ßÞ¼ée¦å%Å£Côéà…Á{Œ©òa4i½â9³;C}ïå›~¨U>””“ø°Ù"¸sÅì‡È<Ý'Þ* Vê¸%:ÅZvÊ‹Ò.ùÖÅž/±|V¾=¤9úYl®Ë¢ûÇuüâù|ÁžÕVö"—)†‰´ôåuS€ bS˦6"Ž£%¬Ÿ l`¤E‘ë¸V¢¬u]¤ jÝOO' Qê–ÂD÷K¿€Q“¾ÀÙÒé5Cî¹@d4³9ÚAqräu´ R¨àïŒpòÉ“e?¾¾Òx²P¯KE:í¶ØàÄot…ñ‹GH«Ý>ô2ÕòûgçǬâÝ>ŽT”µ¡!K€‡Ïúâ DíéÐÒ ?,cY=Ù¼SôL‘£wÅAB8={/ñvíý}q^Qì’¹uÍÀõ‡Ö Î© +×'ì?¿—€I=EÔ;ò¡/¨¤Ë#d2TµèƒÕxfûãJº6®kpµŽ€*S÷Ù™ƒ_ÚDƒ Ø•\jE¤ñ– Ó ¼I¤ÀG3;@àvüyß*µ ï» Ûèu éQÞyéÅè°)b°;“¡£I$:F3;¶@Ò!ÀcGCÌAü«Ã%ýæü€­!ÚC~Û[â’ ÎÄtoÒ)ñÑ̸äȦtz‰ß©`³¤ãË8ô/ÖpIª-§“w“þHyfv€¼NÙôò^{»råyÿûü_w&hKh(Kÿyvý‡¾¨â6âŽ=&Wî[‘´ð›Ú„® Tµ ]ˆ.H÷%º®˜.Ý—@Q² 5¯I¤æeölº/5Ê¿dºŸ Iù¾ÆÒ€p!vµ§« ´èƒÖxfûuÈàà‘øuà²ê€p²‰3®šôGâj4³p帗ú_vÂ/lˆc§ó:Mò#%8–Õ´„yQtþš2x!rðt½ý‘Íì‰KaÇ)ãû_tR.°Ì§+ÒµèâhfQHD¨{‘Þ<[p‚gºJZ‹þHŽfv€9,À&‰ðkLsãòŸ#u¤ ßl•9Ñ’ƒ˜ÐšÈæE¾{{oSômàÀÌ.ûz‘ßEÏF”óz‹ìs‘"µè,¶e9H…jõwÇç›·6*R‰ÎÌò»»ÄÛïURô*ËR€ìœ’ÙËÈ7¯jÅ9™©â©×>eÏâÈ\Í© }BaAÃ6všj rZ”$ ±÷Rs2ÚÇ3 ;°õAÑÙ~(ºä õLcåE¦q¬nè1Þíœà™*‡•çy3‡0´Ø ö$?–¡ßÇQÑ X’úà\ÌEÿѹŠ¡‡6>ê“ ñóâ> endobj +5626 0 obj << +/D [5624 0 R /XYZ -11.232 900.716 null] +>> endobj +5627 0 obj << +/D [5624 0 R /XYZ 56.693 729.016 null] +>> endobj +5628 0 obj << +/D [5624 0 R /XYZ 65.161 730.476 null] +>> endobj +5629 0 obj << +/D [5624 0 R /XYZ 65.161 719.517 null] +>> endobj +5630 0 obj << +/D [5624 0 R /XYZ 65.161 708.558 null] +>> endobj +5631 0 obj << +/D [5624 0 R /XYZ 65.161 697.599 null] +>> endobj +5632 0 obj << +/D [5624 0 R /XYZ 65.161 686.64 null] +>> endobj +5633 0 obj << +/D [5624 0 R /XYZ 65.161 675.681 null] +>> endobj +5634 0 obj << +/D [5624 0 R /XYZ 65.161 664.722 null] +>> endobj +5635 0 obj << +/D [5624 0 R /XYZ 56.693 620.423 null] +>> endobj +5636 0 obj << +/D [5624 0 R /XYZ 65.161 621.883 null] +>> endobj +5637 0 obj << +/D [5624 0 R /XYZ 65.161 610.924 null] +>> endobj +5638 0 obj << +/D [5624 0 R /XYZ 65.161 599.965 null] +>> endobj +5639 0 obj << +/D [5624 0 R /XYZ 65.161 589.006 null] +>> endobj +5640 0 obj << +/D [5624 0 R /XYZ 65.161 578.047 null] +>> endobj +5641 0 obj << +/D [5624 0 R /XYZ 65.161 567.088 null] +>> endobj +5642 0 obj << +/D [5624 0 R /XYZ 65.161 556.129 null] +>> endobj +5643 0 obj << +/D [5624 0 R /XYZ 56.693 487.92 null] +>> endobj +5644 0 obj << +/D [5624 0 R /XYZ 65.161 489.38 null] +>> endobj +5645 0 obj << +/D [5624 0 R /XYZ 65.161 478.421 null] +>> endobj +5646 0 obj << +/D [5624 0 R /XYZ 65.161 467.462 null] +>> endobj +5647 0 obj << +/D [5624 0 R /XYZ 65.161 456.503 null] +>> endobj +5648 0 obj << +/D [5624 0 R /XYZ 65.161 445.544 null] +>> endobj +5623 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5651 0 obj << +/Length 1635 +/Filter /FlateDecode +>> +stream +xÚX[oÛ6~÷¯òR¨YQwaO½,]‡tíÐ(-Ñ6WITE*ûëw(‘´eˉã‡D2Eëw¾s(×Y;®óvòj1yqºNŠÒÈ‹œÅʉ<ÅN‚}äÇÎ"w>O?Ñ‚Ags/t§qIE»âM#7úáž½âü{ÿãßÛ›Ù×ÅŸ fŽ1Jð—v+·J¥PA;vÐùJ{êãÀwæ!Jc­G1HŒ“é‹þ‚£T½9ù}1ù1Á ßu°F(J}'N1Š\ÏÉÊÉ篮“Ã3°iâüìv–Nˆ]äùÜÎíäCáž ‰‘¤»QoÔÏ ;+ÌkÎçyèºÓ—yNó>YA„‘²aË™çN[>Éû+« +VéB¤KZI†¢UÁïÝoxõl†“©ÔJsmÈ7´‘eñl¨Ö&í‹ëz­Hi c9˜ÀÔ²ñä'“›ƒ·¾åË=¡ß°8|’Å€¨LË'ýe1KÜ)­ÍØЪ¿4“ŒWÚàŒW’°ª‡$ªƒS 2‡cÅ€#·7£¡+p­Ùjàíç8ð‘ë'fãaæŽP‚Ãó¼zO¾Ï0$s`«Ž“…Yg¿Lĵ³«¶ÚÛÊW»wöbÀõ¾k‚?cñ’ç[T!iƒ”䓹»X =„­žƒ=”bpö‚æyAêÌ}Péõ¯øÞ¡·Øwwü Š…)òF´"<kY $ý‚…âý ‡S‹ëýµ/¡µ)œLÖd­ïú@˜BÛ¯Œ´Âˆ¾þðqX+•3Šc${1JÒGrþ‰–\Y~×™¯ê&I´epÓPµ¼†ÜÎU¡©ÅxºjxyzŸJh¿Øö/ R}ï—”§€Ñyà*’ }6 éè÷UÜ#¢“Ò ×Ölæ#ûÝV÷¡ÂäHaÿéWÚŠýh;˜(ƒ(²¼ö²K¡&‘œ³JgNðã|è(™(‰Ì6‡©³éÊ©„‚:*PcÃåù¡•u«Å¾{s²™)06Bh5dÝz#†Ø+˜€’¦å…Œ}Íî-^º¸˜¨AŠb€yqôpa#kHcW +U[.m)˜·sÞ. :Ì6«’çô2)ÁÿZ‹©$[ UúaÞÖˈ4:wÁï+A9K­+uÃó6³-Èr?­r¨m½Ÿ±¾ï(p#Ãt÷@û#„äÈÅfO à”YeCn¬=»&XQa}²i3Ù6‡Á›ûÀvŽÎ‹¡ÂA_[—6`HS¹KÞH‡ƒª <ëýÑ’®…<¹ÃႦçáv¿„,嶦#ãŽMTwm+Þä@Xù®~„©·Ðýçþã!VÿX¼¿12Š­~¶:Ð ršñ†ì¨ªYÈ Õ…ÍLz›öB¤¿&EÖĸd•¯¸IX×yÖ¯@)£®ï#ÈgMÉ ç ~HsLZ&ïz£gÆ;Y­K;“õ?× år@¬»ÞªC…½Z^=<¸ÃþïŸÙÿñýõ|ªÿk;2ù9äÃ}úüùüU[¬gá”4̌Ϡuº "謁ká÷–6X YßMÝxÿÛ@ɧ=91#d?†•Ô6± “æ¢à{QTîÄœ7ËÄÒªdYåeî۬洧ÚB›w§l#EKÚmÓ-h}0.d¼°‹¦t«}¯ð•~E?­M¥¿~ys{Y?ÞC‡hëš7»ƒÉ÷&ÐAÜÀ0jWâd¹lèÝü#8—F©Ù«¸®;)¢’5ÜÕ™¥¡UF…¢Æ#ÖB8®ûg‚sŠÇîÅÐÀ`žÓ&—4g„/ÿƒáëQ÷¬¨Ž4»–Î SÝ©ñÕÇ©Ûã/+û¹öÐGa/8sÙË DX¶ÖÜ»µ¥Vé |{ºZ±5´ø¿}y±õ[<C JB{ê¢÷¤¬‹QI1ŠÂä ’éôe$I`ÊçxgKôX¢¢Ø÷í<ÕpÝÆc¨Á(=9ˆøpN Üô‰Gí‘)ÐGa`«SŒTÐO-‘mtÍÈ% ³#@º¾ŸG)·û<¢FQ¡>€ÌI—1îð[Ãã³q‚öçŒÆ¶Þf…æ 3EcKeý‚Þí“%Õ‡Iõ]g}ÔH x!Ö:Ï»·ð i¶{³””¶Ö¡º±O„PÙ.PÕ_ÿ>MUP +endstream +endobj +5650 0 obj << +/Type /Page +/Contents 5651 0 R +/Resources 5649 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5655 0 R +>> endobj +5652 0 obj << +/D [5650 0 R /XYZ -16.307 900.716 null] +>> endobj +778 0 obj << +/D [5650 0 R /XYZ 56.693 672.94 null] +>> endobj +5653 0 obj << +/D [5650 0 R /XYZ 56.693 635.167 null] +>> endobj +782 0 obj << +/D [5650 0 R /XYZ 56.693 444.87 null] +>> endobj +5654 0 obj << +/D [5650 0 R /XYZ 56.693 407.873 null] +>> endobj +5649 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5658 0 obj << +/Length 2038 +/Filter /FlateDecode +>> +stream +xÚ­YKÛ6¾ï¯ÚÃÚ@Ì)‘’zkÚ¦HÑÚøP )Ù¢-ueÑ©dÝ_ßáK–dy³Ùô$>‡3Ãy|C…Á>ƒo^®oî^Ñ0ÈPÆ Ö»€Ä’ ÅŠ’`]oðšç’/W„†‹_…âÒ6w¢µ UºÉïÅö¥÷¶ó盟—­‚cV£ŒRKí:Õ\–œ+©§át¤p:‹ôé1ŸÄQ°¢(KÜù˜¥@1IwöƒY¦wÞü°¾ùçý0ÀeˆeQd±ÛÃÍۿ €9àÅY|4+Å!"ƒv¼¹ùý&tªG*!&(Øj®<ñ˜!Š™å*Š ~Wðv…Ã0(KsŠhŠB'æPÉ B'ÄÒZ{º ¦…S´7_5•ªòÚ wÇ£hÕä2øÓŃâ¬D#ý6û}µ:¶bûbzBîˆð%¡‹¾“«®åÒ/n +Ûx†äAâí`³$á¢ÛK4Vˆ–1AiæôõŽ:Õ…­Ë +èD8Y´^uº³Ê«ÆL1kazXÞJe;¹Rüpì;véH~;Õ+JwŒ¢tÃ+-W`öô¸hê“m]b (õƒÖR^Õù¦v{”°ß"WnÄ å8g@Ö¯-Uí)ŠY:vŽ¼ø»“ÊéUYúº¹uwp—ø±*T Êb`n]cÍ Ìól^8¢ˆQв!Ê{k¸ó2ßOªé£ãiÆBI—¤žÆänWQœ ˆ2à¶úø¿ª¬½c{Ûæ6¯·]+£j= vÞJµNüæKM8e ?߶|;uŠVtMQ5{ç"m+Ús}Š,o†N×pØ¿Æb­½Bí/ å; Ö¹§9¤Úúu>dêÓ¡SÜÿ•Ó?aÏß…?ò" ^šu£0Œ{kT{R›zÆžã…Qv-èaÈg¡'Ÿ(ä1oš^ USX+r×ÄÛÃF£K‘cPÅ b @Š®ÝÎy1‹¥WBý +Ê%h{à0‡_"ú$,”X,4¤ý(ºÎ`)ñ`©bTærÙÜ.qºp7Pˆm§]Ã[MÉ[îrèoâ(:´Òẩ˞$.û\èÇf¥ùŸñÖl&X ¹-»æÞǃ»WÙÎ"”àÞ3,hÓ›>Vum[›vfÊïm7÷ã\³ûÒÚ¿>"¤8¸íèÔù‰·šÓÇ%ÙÕZö2‡Í._qô“–oî^´•*hFùQ¢Ä ñzgwœDw»4Z³çòBL _å…Þ—½Ò\¨ûò'W“⨂ë÷&•4êÖvy ‰ß“à ¥ 駥ô† AýÒÛ ¸pJzÀ¡!—re˜[¹´9£0oÈ=Ìoë!þ®­xSÈ Ðé>¡Ù3⟖¶j:/CPÕ€V½S6à¢íVÍŒ¬8K>#&Ñ€à…ÎÄs¡ ÊAÖ‡¶i:êñá«ß.„%P‰¥4yš°ƒt´.óÊÛ˜ÿ2¸Ï4s÷à"æèøG‡SóPqÒ3HœñÓSZ«?#“d‚W’Å{H.¶ÙóÛ¹ôe +þ^™ºxÐÀ\5.‹ûäeŸ|¨Ç^Ô•¶ðµ/VºUBá…»U[íK…ìÓF˜Ø•}d!KÑé5…íú`e{¹ýÞ_ض›Êv^[IK÷ +¦1édU÷]kŸ´NAÔh¼:—·J1ÀC>⌀lëÄÕD²'H-ÿPp¹m«ã•Wš<§Ã¨C“^vK|MS‚3b’ÏÄÆ0Àr’~Na;—eà·÷Ò‚ïò®VhW‹\¡mÏCöH.ðݹ¤ è‹ë{•³bÆYÂÂhNLÐ(!Ï{œy'˜©âŽ'ËÍl0K!Lž}ë*ºÓUlœ°ÏFw/@JLPÓûC%e/ˆ;»¼<ÚæI¾Ÿ<ÍýÒ€’%dÙsþhüùóŸ¼ +endstream +endobj +5657 0 obj << +/Type /Page +/Contents 5658 0 R +/Resources 5656 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5655 0 R +>> endobj +5659 0 obj << +/D [5657 0 R /XYZ -11.232 900.716 null] +>> endobj +786 0 obj << +/D [5657 0 R /XYZ 56.693 759.068 null] +>> endobj +5660 0 obj << +/D [5657 0 R /XYZ 56.693 731.272 null] +>> endobj +790 0 obj << +/D [5657 0 R /XYZ 56.693 489.17 null] +>> endobj +5661 0 obj << +/D [5657 0 R /XYZ 56.693 452.173 null] +>> endobj +794 0 obj << +/D [5657 0 R /XYZ 56.693 421.278 null] +>> endobj +5662 0 obj << +/D [5657 0 R /XYZ 56.693 384.281 null] +>> endobj +5656 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F52 815 0 R /F93 1063 0 R /F110 5285 0 R /F102 2555 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5665 0 obj << +/Length 2699 +/Filter /FlateDecode +>> +stream +xÚ¥Ymsܶþ®_q3패N"@$›Ovc·î8qj©“ÌØ™1ŽÄÝ1â,AZºüú.°y/”%;_î@vÏî> †‹Í"\üóâåíÅõë$\ä$çŒ/n× ÎOH”.nËŇཬ¥ÐòjÉ’0øIõRcs­:lô[7øƒ*^*u‡¿Þ¼½úíöß°Í’R’' ®vÓïk©·RöÚ Ãît‘Áî<2»Ç°}G‹eBòÔíOy+¦YpæÞ¼xu{ñ¿ +ë‡ ºH8áy´HsJxÈÅîâÃoᢄ1€Äy¶¸·3w‹„†„EÚõâæâ?¡3Eø¨IüÚqNhÈQ¨Œ%V +ÿÚâÃ2 ÃàçNR;Õà%«ZlU£$Êc˜kßÝÆ©¸ÍØÁM)T×É¢¯÷hϪÁ1³v’0_ÜtjhgVgœdyîg‘«eDÃàc˜„/‡ ®ý&4 ¡+·¤ ~žrhÀzì #¼—;uE“à³ù‘%lÄ£àòî +¶“²]ÞWývÙH3øÐ_âèºS;™ÂñMšÑ8"Œs/4`n'jÒW}-IÛ©Vv}%õœ)YJ¢d4wßwÕꊅÁÐKÜQ˺bIpo`Y¸n‹j;ñ±Ø1´­êzÿ‚›¦Ú¾Rk¯-ô— àLãìØÚ¡ï«ÆZœÁZÅ[V'ëZ4XÉÚ e‡ÐÁX V¿"ìÉ%àŠsSþÚÖ¢;ÙôøüÙLõà†KК²ÛU nÆ‚jÿݺ›ÕvÒlð¹Rƒ¾Dá+·î áèg"€ò6¬æØ\Õª¸#'ØËHÌ3‡¼äËÈû¥-®ôièjƒmƒåKç9àM‰m§œìQ/K©áD„9?Ûî·Ò»[k`ÖU¢—'r…ÏéuõàÝÀ*»oÕ±Cj׊¢Ç‡ºÒ®¥¡`2ï¦4‰y|î¦á7ú'î7tæñi+ôö$î4ÅÖGüFìä#‚¥)Mì [½(ËÎDOÜØý7Îà¬4|ï…F ºœÝ{TsªVl¤~DÜŒ‡á7‹{ ž‰Ygã„úгêªr#·R”¤jH¯Š™`•Ç$¤cdnEöl~Áû|npI–§®C$¿ôy¨x³ƒEaC¨X›]×v*ëèv¬ÁC‚ae‚Gÿºýñ-öÀš¡Å‡Õÿ«¦è€D`؃gô}x¯v+«è¸ lsëƒ#vnjÕ»µÜ‰/æTÃôTôqü)MtòÑe&BýêÞ0ž’ÀŸO7>sX„Š•G¨•Ð†‚¦‡È}@°Îs=e1´ÇÄÖ¶²)!Äœƒ*NHÂFPN3kŠÙÄIú +,3³T”ž|™9$9ÌÈg˜RåϳϪ¹¼¢Yà,Tm]¢—Þªo&þ9¯c$ƒŒë¯ZÕ•Ú@VØîgôâ1I’q²ö®œY˜‰'ŠU+­E7·&–0šÖœ7V±ŒÍ+‰Ïžé°-e9€à¸’)œ”r-†º'Õâ ¹¯Ê~;Ç—BFM¿|Æ”gÉÜÓ('iÄŸ5¯2@|/j½€-!…¸7¼BuH/æN ÍHÆG½šBïÕêjŽþñ”Ð4›¨t)¿7Õƒ‹"‡¬MŒNã“À?D¢@ÖX‹î»ñhðQly‚ˆM¬‰ÌË`g9¾¡zy_j#ÏzÎæ 08x +?Óp‰d2ŽS àÇ‘ +”' ¢ô[l«êrîtM=7ÑáƒÓBœj|:éªÍ¶?N:< ¾Ãž7ž½UÍëzýî( ¹Þaëùk7Aùô|°.™£$ £çêý~ÀÐ|bꌧþl8p—Ó:Ùw¢»ƒìdA½jp‰4(QÐ_żBÕªÓ8E`× +¡ÅmÁë Ø‡=Ÿô^÷rG,pÑþÒ--wøz·¾VøÖ#~ëGò•WMû›Gb)„> +©Y²bâêC—5¤áNãH´GXSÈù\‘x˜ Ÿ»0éA$p˜R'•Á§¿YÊp÷ÚÖ7gTý¾«úQ!5xF­|Ðü¢«\™fwÞÍþ6Zÿ£@¤yäwr®.gPÏùµ–QC«Š¹Ë)á| Ú5x×1ýs×¾|™¸Ø©¬V£¼M…çÏöûÙ‚;Ú@ÇH±Z’²êæ]ÄéRŽ±A&ƒbàyÆü¯¡j‘ÇnçVlÓU:t|®ÐË]åmõž\M†’©*4N«Ö³Je ›nV´&¥ƒb?Wͤš‘8iÜ®QÍòÙ)j„ˆÁ‹\:^ŒÛ7àÞ¢ÄÃêÌ‹c6þ˜çÀã1–šTü³E°»@+ÆàæGîîðÿ=žèîˆÃmæÁ˜q’„ãÁb}ôÔ%‘>qHà6¨Ÿp°òÞUÔ'wƒ–tè§o°hÌlÀ÷¹¯š”8f¢ÀRÒü1бœƒ™â¯A¦Ö–K±k.€ß Œòˆäq:¹¨î ^X¸Z}®²KI4Ñѳò,§„åÉŸJsÖI +dR„R§¬r 6µœ‹´.¼ø«’Fßõ§Çôa¥²’S¤=L>«½'ßx]òËÇZ¼J"™©—´'þBzºE+OÄŒÇ~¶ë Ìh…JO ¡ú±|À¿êš·ÞœU*ñ>$y6†Ïm¿«Ùƒù%ºžx¯ §Þ{‘LIÞ§ÒáÀ^^σ2Öæ î.[Ÿ1§é³Go—;6ÈÊ ô"9…ÌÂ.)pU +•Õ2ïRÄ +¥§†£!Xî]]ZiÒ ˜¢ýÔ0Gèᬕ2\ ‹ÃŒâ15˜§ÄS´Ø/†½¾n„~Çã@¹aØolÐų‰ ǨbK§#ëÛ¿__Ÿ5Ñjè + CÕÈþ$º7ýíþºTÅJ©»k8Õë÷¯Þ¾zqójé½_ï(¸ÿôîöÕ yØÍa ‚E³ÿÒÃÛÀÑоáQÒ»k˜±Õ(ÏÏ>ð43xÆcq~Y©îÂF!Åðè­'ât²@qge³8y±BN8)U¿üãj‰8f„¯‚Ïø¥*ÊsóÍæwˬbØü;‚åqÄä{èˆqh2ƒƒRk€ZËŽ¬$öOÕP÷ucYNR+8Æ +VÉZà/&›‹¹OHŠÓ7#SW˜mì›}á%êCÀÞɵVµûx ½t{'±»q:S‚56ÚzÐV_‹Ï(òÔ‡ž™KþÁòŒæ‹€Mò +LTø`ñb:¡D•Ø¼—òÎ^Ž„Qð³ÇôoeݺÉîeÙXvíp £KÚC=¿w{¬ñÔÌv6nþ¨™}:4<­Ü +Øu=8m`/ûU`ã„ÅvîcÆ´ ~‚Ë™[ ÿá¡“†ÁŽAz% +ÇóÅj,YDc|y?¦A8µs¾½&¢×à}¯•)%y¡Lo̱† ™+ü7Êu@‚W;›å=¦Ã}í‚–]×4×BCàßx˜Ä圂v³æè5º +÷E ž]Ý àƒRö ¦•ïð;Ö¸µ÷(ÓFLWn_¤Î¡ÿÚv*œò$^šžžÓ¦“bdw®þ5yÿ$ÛÏ}SŽ!¢Aaö Ÿ”ÿ ' +endstream +endobj +5664 0 obj << +/Type /Page +/Contents 5665 0 R +/Resources 5663 0 R +/MediaBox [0 0 595.276 841.89] +/Parent 5655 0 R +>> endobj +5666 0 obj << +/D [5664 0 R /XYZ -16.307 900.716 null] +>> endobj +798 0 obj << +/D [5664 0 R /XYZ 56.693 281.628 null] +>> endobj +5667 0 obj << +/D [5664 0 R /XYZ 56.693 244.631 null] +>> endobj +802 0 obj << +/D [5664 0 R /XYZ 56.693 201.781 null] +>> endobj +1056 0 obj << +/D [5664 0 R /XYZ 56.693 164.785 null] +>> endobj +5663 0 obj << +/Font << /F50 811 0 R /F51 812 0 R /F93 1063 0 R /F102 2555 0 R /F52 815 0 R /F110 5285 0 R >> +/ProcSet [ /PDF /Text ] +>> endobj +5668 0 obj +[700] +endobj +5670 0 obj +[600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600] +endobj +5671 0 obj +[556 222 222 500 222 833 556 556 556 556 333 500 278 556 500 722] +endobj +5672 0 obj +[500 500 167 333 556 278 333 333 0 333 675 0 556 389 333 278 0 0 0 0 0 0 0 0 0 0 0 0 333 214 250 333 420 500 500 833 778 333 333 333 500 675 250 333 250 278 500 500 500 500 500 500 500 500 500 500 333 333 675 675 675 500 920 611 611 667 722 611 611 722 722 333 444 667 556 833 667 722 611 722 611 500 556 722 611 833 611 556 556 389 278 389 422 500 333 500 500 444 500 444 278 500 500 278 278 444 278 722 500 500 500 500 389 389 278 500 444 667 444 444 389] +endobj +5673 0 obj +[600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600] +endobj +5674 0 obj +[600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600] +endobj +5675 0 obj +[277.8 500 500 500 500 500 500 500 500 500 500 500 500 277.8 277.8 777.8 500 777.8] +endobj +5676 0 obj +[277.8 777.8 500 777.8 500 777.8 777.8 777.8 777.8 777.8 777.8 777.8 1000 500 500 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 777.8 1000 1000 777.8 777.8 1000] +endobj +5677 0 obj +[600 600 0 0 0 0 0 0 0 0 0 0 0 0 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 0 0 0 600 600 600 600 600 600 600 600 600 600 600 0 0 0 0 0 0 600 600 600 600 600 600 600 600 600 600 0 0 600 0 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600] +endobj +5678 0 obj +[556 556 167 333 667 278 333 333 0 333 570 0 667 444 333 278 0 0 0 0 0 0 0 0 0 0 0 0 333 278 250 333 555 500 500 1000 833 333 333 333 500 570 250 333 250 278 500 500 500 500 500 500 500 500 500 500 333 333 570 570 570 500 930 722 667 722 722 667 611 778 778 389 500 778 667 944 722 778 611 778 722 556 667 722 722 1000 722 722 667 333 278 333 581 500 333 500 556 444 556 444 333 500 556 278 333 556 278 833 556 500 556 556 444 389 333 556 500 722 500 500 444 394 220 394 520 0 0 0 333 500 500 1000 500 500 333 1000 556 333 1000 0 0 0 0 0 0 500 500 350 500] +endobj +5679 0 obj +[611 611 167 333 611 278 333 333 0 333 584 0 611 500 333 278 0 0 0 0 0 0 0 0 0 0 0 0 333 238 278 333 474 556 556 889 722 278 333 333 389 584 278 333 278 278 556 556 556 556 556 556 556 556 556 556 333 333 584 584 584 611 975 722 722 722 722 667 611 778 722 278 556 722 611 833 722 778 667 778 722 667 611 722 667 944 667 667 611 333 278 333 584 556 278 556 611 556 611 556 333 611 611 278 278 556 278 889 611 611 611 611 389 556 333 611 556 778 556 556 500] +endobj +5680 0 obj +[333 333 389 584 278 333 278 278 556 556 556 556 556 556 556 556 556 556 278 278 584 584 584 556 1015 667 667 722 722 667 611 778 722 278 500 667 556 833 722 778 667 778 722 667 611 722 667 944 667 667 611 278 278 278 469 556 222 556 556 500 556 556 278 556 556 222 222 500 222 833 556 556 556 556 333 500 278 556 500 722 500 500] +endobj +5681 0 obj +[556 556 167 333 611 278 333 333 0 333 564 0 611 444 333 278 0 0 0 0 0 0 0 0 0 0 0 0 333 180 250 333 408 500 500 833 778 333 333 333 500 564 250 333 250 278 500 500 500 500 500 500 500 500 500 500 278 278 564 564 564 444 921 722 667 667 722 611 556 722 722 333 389 722 611 889 722 722 556 722 667 556 611 722 722 944 722 722 611 333 278 333 469 500 333 444 500 444 500 444 333 500 500 278 278 500 278 778 500 500 500 500 333 389 278 500 500 722 500 500 444 480 200 480 541 0 0 0 333 500 444 1000 500 500 333 1000 556 333 889 0 0 0 0 0 0 444 444 350 500 1000 333 980 389 333 722 0 0 722 0 333 500 500 500 500 200 500 333 760 276 500 564 333 760 333 400 564 300 300 333 500 453 250 333 300 310 500 750 750 750 444 722 722 722 722 722 722 889 667 611 611 611 611 333 333 333 333 722 722 722 722 722 722 722 564 722 722 722 722 722 722 556 500 444 444 444 444 444 444 667 444 444 444 444 444] +endobj +5682 0 obj << +/Length1 1465 +/Length2 6153 +/Length3 0 +/Length 7141 +/Filter /FlateDecode +>> +stream +xÚwTÓ}Û?R"!")C›ÞFIw§4ˆÄFlcÒÒ]Ò"Ý J +¢4HH¨(ïPïçyîçÿ?ç}ÏÎÙ~W_Ÿïõ¹¾ç7¶ûüò¶H˜ +å €$ŠÚÚê`É88 áXgØßz2cG"$þÃC ƒ`q:%ç¨D4Üœ`!XT|O‚@â;"Ñ%ˆ;Ü -Ð@"`2E$Ê ·wÀâêüýà‚rÀââ÷ø~…ä]`h8‚hC°0\E(Ä`€„ÂaX¯¤à’rÀbQ@ ‡‡‡Ä#€DÛËpó<àX€> C»Ãl—:ØhdC8æ·Ái‡õ€ aœÂ…!0¸7„- ÀU¨ktQ0Äog­ß|€?‡ €ÿ•îOôe"8âW0 +Eº  /8Â`w†tU´°žX>a{éqÆ qñwÜbƒsøÕ: "¯€àþÁ‡¢á(,Fw¾Ä¼Lƒ;fe„­"ÒņÀbÈ.ûS‚£aPܹ{ÿ × ô@øü-ÙÁ¶v—0lÝP@#ÜÕ ¦®ôǧ"û·Î†ˆ€Äî ‰‰`®˜'ÔxYÀÐ ûe_ªqü|PHÀæ·ƒá~È|0w‹vƒùùü§áŸ °…C±˜=Aöïì85Ìî·Œ›?î 0áè€.?ÿz²À1̉pöú·û¯•u•5uõyÿ@þ—QAé ðá𠊀`°àîÁïŸyþu£ÿ¥½ÿéî?2ª#ì€Ë—(pÇ÷7÷?Ôàú³7Ü€–ÐAâ pý›ÿA" (î üÞ‚_!ÿ?ò_fù_ùÿß©¸9;ÿ²sývø츳סݰ¸åÐFâVñß®&°ß­ ³…»¹ü·U Á-‰<ÂGt~°°Hø·ŽQ{ÂlïñP‡ßdú{¸Îpì>¿¼xpQ ÐÙp»uÂ].ÜÌ~› Ü"b÷R†áVíŸ}(# HÛË@ÐhˆŽ8IàÆ-¯-Ìóç@‹ à0ûìh²ËA ‹€¸(¤‡éô{„8û/“¨ hyùáNè_:è|Ùߥâ@ÝÐh\§¿„ëòoù×Mƒy dS“H¨dˆcmHÛQµ<“ÿê°ÑvÚ‘© ÿp¡% ¶GyÌj)Á ;kZ³Leª¬béØ¡£àz”3ÿa×g¥ŽµÞKø€ŸUeÝžÕ&nòâàÊD¢Ï!óIÊf¼§&) +·%JÐ=x÷Y¢©:Iemí{ 8(}ÿªíú˜èÁI[ªrO#´M§½³º4K‹ŽYÜøË'}l‹M¿áªÈý_¹Ÿ\ž/Ç<ŒLÕɸ£)Õ~L–àQEµØ7Ð?KÝÍò*:PÃ=hõ;{–ZY²ŸYIøj•ñlþõŸ¹%î[4>6ª7ä¶l{ž/p§Õêì8¬ìlY°q%uÞs°N²‹ñ>f¡FÍÒ*¤¡ó +Ö¢lgrÂY šúd1Æ]épµ×óŸXœ4ÂC5½¦'ºFºi¦ª›ô†pñi'HŸ—¯|ñkàxën†ßúWu +õŠ2/]÷¦Ÿ]p~/»söìW脉 ¹XšC›¡Lñ¬xHk€)µ…;<­Òè:°ásßÕ"³oáóüÝövÎiתhD,MŒ÷bݬoFáÓ“m0ðM=4½&FÑÛÃeéÀ·ÊsÉB«ÏYäWáÝæ"òuñõ㤀5çÙfGTH,½@k䊙åîˆýÛåøq¶x¥:yÏOöéÞö"Ûð„ÈÜKcN¶¼Ï¶ð3:d¨zo¢²û7%Ç:ìEûò{Èñe¦ø.~È´¦êh»Èƒ†Îô…'[xhû}ÚyóéZWhÄ©—Bán«#ÚI+ºr”~ü7f¸SÑêõo$<‰i“_ÜkÉæ¯ašøz­­T:D@üÙ笭=!{&ÆÝ,éë¬æíV¬6H«›ß˜ Nzƒ¯6î˜ÜaýÊ€¿Ò˜ùz²³| ‚ÑçI*äضÜiñˆÑyQ1®&³¯ä·ÿd&;¾Ç,ùzÛ×ú°ãƒÊ`ûÒëÄ`›ö–,2ˆ¯u»Cl‰Í#îWfÁÛPsNcÒ÷ZS¼{^Göd7Ò šBó9‰ùÑ ÎùÇ6í&-ÓI+²&gaoãÝu„þîb‹U,L®ªŽßÛ7%>Ù.Ð$>Äý¸/=S!ÌàñFhäɧ<>Ë›„ŒïÞƒ-$òÁPa+âåÍD4³§½Ã'àmÞÑiêñ+”_LjPÈ,¥Ó¬ç‘íž2vÔêNÌY- •^9fè÷GùyOÉWVè6iTsÎb+Þ¦³ ¨Ú½ÜÌl56ãÃÙ@ÛF¶ÆI[áüÃ"Ê) ¾åwÚ»PÍ'<³“’¼Þ#7¯šÆTÑxS8nê/xôÈ@\{mDWÁ±ê'-ÚTœ¡²°wïã¥#6íZ¥¾;jþ|<ÎîÔì|0ÏaµçÂnA•.¾Ìßœ·zË ¢5øˆqö8Ípä>Øç]à FZD^äã÷9*Ó>6†/‡ÚìˆÃ>}Í«ð‰ÔÛâŒèì$0Í_(^<9üÖ° #xcz¥Þ0ïc?ò›¾GÆø’YøíLXË6p‡4²u…ù=×é×æë~!yáصiÓüàÖ;÷v\±!‹v'~4k£IÜÕab„úã¦É^·h¤²0õ‚ŽÉº–mKÁ­Tמe·†.úÈLÄóÊ«ž)º VAÃå~OQ3·l?û8Ð ËDÑD]µôP*þ.ÓÛ³½ÞM° ÛšZ.Êu4È’ ®Á…$™kzZäY`§§·ûöö¯ŒÞ©Ð„n¬Y‘‘íÉü|óÓ9*]ÈÃ|£ùÍà‰WaÀÔ]Ô böt£afHq@m@¶ˆžà! úì&¦~)3ÕQðÑÔX¡š@”Ë +­}ç(j©™ÅV÷zºÓ¼¼á°¢ÂÏžy'Ó†–«ÁÛIIOß+Y×w}ñ°¹;Û‰|E‡á@¸bœXø8}o¡nöÂQž'ÓÚ~,\¯¬¦–”«ø³ä``µ…kˆ"Êfý­œäQ—"ž8lƒSÅœ+š,ÿgèqÜq±ì0},/êkZ[«Õ^eèUê1;]“ùwøË¥¹¥nÇ ¹ÃøX'`B%g•Èþµ7c¥Ç ï?’Öð/h™?(³ù"lšc>rr¤“Qžpª ¨e3íéÔŠko1TcîGŒ{evÃŒz{/~bBå g³¢¡B¬Ã¾¬€*‹ô•5&ï–À9JÎdÆ$Õ÷F`¹†0 8¾dߨú•Íï$öâö£@M|çv¢ž®‹y,¤^dµ~5AjjÀ:Ž“›d§ÄªŸf5^HÏwŽ•ßR= j ^¦<ôjàFÜ’mÍ1^Òhd¸}LÌËÚÏä Í3§óž²K«  Iý`§Î3gnÇ ¯MC'4ÎÍÑöãY%U¢kYe£.QÇCþl1 ·s¶4ºÈÔ¸™Ñzq ,z" ém´ü€2Ã"N4_è¥õ<òuÏïщüŒ¸Ë$‘ü/ßÈŠNë¾l|CßÀ-ÅÊ5íƒ÷ðí÷Ó2Éש{G#V¯­þâùàxפ+[iSl=š}gÜw'‡­I%ja`(ªùœqcZ+QÒê™­^Š†:{ckJ—Y?×Gz:}×õ‡æô þv“Tâ|)ÏEë>ݲŸŒû{È_l=c6à#’?‘ &!ß”ŸèYðræ +ZÖºÒ2‚}‘ÇJ°mGóíË:i'Ãs¹1ºÓ8CZñ¸åü"]{þé”ÉW1”Õj¨5úë5âÛwHzž½¦ŽßQv4&òÉG‚ k’µÎÆD¼L4}½Æv—S¿ûN7b¯:*Øn„KWzO MwNjø·­™×¶7œ¿²>sÏ;G!ÐÁF×´MÊ2>ß0ãÇ®§§mTWÔ +zg¿ÿR„N&e Š78wÏY¿°ÉX‹ÂËmÅSߢe±âÎ~¾;a£R¾n€¥(2‚Š|y«¸$„ì¡êóÔRzÛ!ŸÕøè¬G§˜å> @+úk–]¯çš WJÐ"¯vz2k>[62ú,CÑ5ÕüéD=ORMp{WÙü?AùYÓ—ýëëÁ¥Þ/SVŸ +‰(7ÇØ‹ÊȵðQqŸ%šèö“ó8T™rƆÁn¢ Œu YÂ^²oFk"W pîB ×Æw…Ú3~j§¶-9½)NEK{§/4oWºDÏÉÍ[Êÿµö¡óAëx' »>ŒÔeBÉœ "¶3å?ø½ò{$9±él¢ü™˜‹¼÷Ôþç,BÛvÉ;+éþôÄ£ ¥í¨…¶ƒÔ›Í ŠªÅ×uÞåV?î^ð•h^ý&JÕ)¿p8Ñgm½Òî($Ç¿…÷ îIÀŹQ1ω(Óû +kK‰ÓñR›«÷cØQŽ½]ØP^xé<¼²P£l"§éçà¥QQÏàw̺Yk¶c¨_>ÙÃ×X5ÅÍ«ÛÇ·ÓdJK«€¤>pX÷òµt‚r©§ULí›#g¾¯|R¡ÕáÎG Ç\%tÓIÒx¿½enfžzÐ|Žbpþ ‚”PÖ³+—%¨¨Åºàq/Üš/"*Ç.è¯Â3ÙAžNlgŠé⟭†ù_ø9ùkÊ}þZþšbPUºÛò¹ÃÇMn§ªÌ8©˜Íxü‘ÆòÖ‘§ê…@| å½îaXƃèoŽUË*´†³mï(øØ!ÛÁŒú3Õ'»¤ú‚Â] N`d ïÚ#’𡵀WÊ›á6ÛÑ|Š•®»]œag¦7¶Ô 2{'ÒÑ/Î4¾zsñéT†´vOXjEÛÞBÉ~™¨¬Ê²{¯8|“¸æÙd‹ Ñ*lb׉8?x¸_>•ŠkÊB{…á5%)íÁlœe`Åè{Ýä繑w^ÒÌ{¥–Þ"Ê1 ÞìçAƒÐ¯ó A'ƒ(Ô“—òßñJÐòЗÖDoÏ¢ÛZ†T•&8×eo‡ +n,V2Y'g/ˉG³¥!Êi%B S-ô±ä_(½;ªþbäyuh$Ư<ʸšˆ|ahói®Cd¥ª©ãçKÁ¤v™ç_4=]…ºŠßXaKX*27âÞùŽš|àˆ I¯)ÇËUµ& l Z.¢ëŠ$r¹XÔdÊaëÓ÷‡æê&$«?ö}xâçb’µÁÿ£A{I~Øc±ñ‹Ë‰™:ëÂ4ËÑZ%bÚ€ø©9Ë*!”º ʯŸ§:‹žwx¨jmsår[¬0£‰k~§ßÒHèF•kFýÄþöò®"ÑçîÑÍûŽçÔx±²i¹'³ƒò,ãMk"¥‰v‹>&I5ÁÊЗµ²ÎõµPZš•s¼ûE‡{l0’‚™M~,øñG #°/ÞF*,9qöÌé¸ê³@¼1š„Ìλòäm/Áò—"1UêHÔpÛ›­Þ&íãÉ'ˆ³×ìPƒ€-&¶²„œVPrÔ§i¹P¶”Fÿ%Òñ»b’×=Ý©¿ØŲäZnVKÛ+~ϯœ“=^ßúà}U2ÖÊ"± íûs¨–X Äþ$ïÚ]U|vOÕþqKÚñ& Êciqöý«?ú¶èÙ3yšDã÷OúДûlÁ¤¬°rÉõÁëc&=¥¶þ‡ªç å´¥aR¼Ây9ðJcQ¬'¼:ʸÌõZüPsÕó¤ +ªIÔgûB+^ “³f1‚®.ßÎes>i6žHúìï¶Q…uæ¾~R¢“¿=AµHÜî´µØm»èùJÝAYº/¸$¢È"Á 0Lèô£hý¦tú5SpŽ¡ò.EQ8aúùf9iu*Ùû¨Û™W‹‘~ Ó"Aî¤a ’éùÛÀŽ°ß6ÓûyÆ/{¸6¼çG7]|Ü_>îÒÁòäýÈ€Rá)¥× 1&[Ib&æù3³7…Y8JJ‰TJ·Ó®Í}­e¼B ¯›ËU†ycWÃÁ5{ŠVšQ»#ÈI”ÆŠ"×Üö¯Ž´YÞb“vSÞÕÛHJ%áÚR’’¬s¬îh:Y˜R_=Äвä7.œÊ×Û‡©&¾Õ1è‹‚ö +Nülý€¦›[¾÷^ñ±¥¢BÞRôz5­ô:nÔ:e‡6ËÙµ‚KÐb®#]Æ”­¹žªcù"[2†§þ ·ŒMÛ¹N{“Úú¾¿Á«´æÜ…¬òñš&Sf&gïndú!» )»ù‡ ç$J¨oë“™ÑÓr×`¢|ë<4àÙ¡‚÷¶¤4E&¡êÌ£GÞbT÷ Ð(ΰZöH§ý•·rË$ ÅiÑ퀈×)·hïÔÂ|OÓölª>ÝN'¿†Õ +­¥DøŽŒo¶ëÞæ^p}·J¥’Œ%MÑÍÅ/ö¬-jí!Šž¦øXlµÖ#}‘HuÆ›Z5¦+¾&ï7Dÿô!ù’—%%Ÿ´§UÌ«çFD/žt.<Õ% wT˜^“ • ù¼ªDô"/žÙüñž—RÒTÇU“b«» 6Ñ‹_njuëEÊŠ.8â éżäÐÈ6DÝê——ã\ó’{ù•îÓx˜8¿3 —cì…Í*´/6†‰:–¢é97mW׿ÅH·zà•÷Ç’Ÿ²ò°>QaÞIå/íš©;¦~ä î/š}^g[N@¥ü(ñt€³‹6è#qoIáÑ#­YPýÿûåikÅkxA÷\a†…t%R6Eä(¶¶i~¬kh¢kÆ<ö]X@דÝ3Áó3õÇG¦Í yåƒöbšª´Vß@ul“È=ïb“àïCƒp‰>b“6ÞÂTͺ¶ŽŸ“†„ŸŸa\à ËÛ‚DÑÓ›;Z‰œ&fQÝméñ€eû²Â-[™˜Èp|Í«™r§Bï~3Б{Z@÷—=áFñ‰‘ì<÷Ê„¾ Çèé42¦) m]&J”b¹»ÏŸ;T7ìù³>S‘·À;ƒK¾Né¥\0v ý¼ÆóvUòæÅÄÛ}û¯r˜AÚûÈ»¨Qà ŽîÕ+üúy\2E<Ã'¤c¥_úE"ÚÖ·[}ÕDÜ^YëÝ/8œ â¶þñ,UO¯¯qƒëçÕCáDúä:Ë’àù Zí…*d ‰ˆ*µì[}íRŠÅ®€ó÷CöË7QvÓ ø‚s¼v‘^0¥myaKüWÍî-s-2¯fWÒz…ÎFö.¹¿"D7ØL¶ɆãN”o6öª·l‹ñª¾b=öÊœ +ÿ–xE-oY»0†:äXÐ;sÎ,6¶¨«¸ŠýEqT@Îdyï©Õ`þ¨ëŠåEÛ2Ti–óñ]Dâ…©[à G*Wÿ¡iSR¾L&Ž(K:`hâ–:áõ×h†²¥x¦Ï»5ã¸-ÇAÀÿ0)å! +endstream +endobj +5683 0 obj << +/Type /FontDescriptor +/FontName /EOEKOR+CMMI10 +/Flags 4 +/FontBBox [-32 -250 1048 750] +/Ascent 694 +/CapHeight 683 +/Descent -194 +/ItalicAngle -14 +/StemV 72 +/XHeight 431 +/CharSet (/arrowhookright/greater/less) +/FontFile 5682 0 R +>> endobj +5684 0 obj << +/Length1 1432 +/Length2 6046 +/Length3 0 +/Length 7021 +/Filter /FlateDecode +>> +stream +xÚxTTíÚ6Ò ]Ò HwHw×Ð ’3 3À ÝÒ%%Jƒ€„4JJ— ˆ‚”tˆ ßèë{ÎyÏÿ¯õ}k¯5{?w>×}_÷³÷V ±€áQGÀQ"‚ÂÒ=cKa€°°˜ °°(!‡ ƒü-'ä0ƒx"¡¸ôX¨xBìQh™ª= +m¨‡€´½`1€ˆ„´ˆ¤´°0@TXXêoC„§4@ÕÞ +è ´p’Cáîç urF¡óüýàñD¤¤$ù»”Ü žP= gr†¸¡3‚ìac +Aùý#·¬3 +å.-$äãã#hï†Dx:Éóð| (g€ ñô†€¿ ôíÝ   rLœ¡È¿ÆG”½'€À  ‰vñ‚ƒ!žtv€±–.ÀÀÿËX÷/~ÀŸâDEþî÷¯@Pøog{áæn÷ƒÂŽP` ®+ˆòEñìáà_†ö0$íoïm…Ù;  ~oÝ ®d°G#üƒ ò„º£‚H(ìF¡_aÐeVƒƒUnn8 +IøkªPO]w?¡?Íu…#|௡p°ã/`/w!S8Ôà ¢¥úÇ-"ü·Ì ‚ˆ KIHˆ‹ ˆ/ÈYèW?wÈoåo1CP€;Âàˆ† ‚:BÐ7¤½7€òô‚ü§âŸ+B +B NP8á¿££ÅÇ¿Öèþ{B}VÂhú‰„]ÿz²F3 Œ€Ãüþmþ»ÅBf–Ú*æ| ÿK©¬ŒðˆJ¤$„"""IIq@Ð?ãü«£ÿ-ÚCÿìî?"jÁ©¿@ «÷7ï?Ìàþ36<€fÐG ù pÿ›þ…Å…Aè‘ÿóüvùÿqÿW”ÿ•þÿ½#u/ì·žû/ƒÿGoï…ùý±@óÙ …ž =zBàÿmjùk õ `¨—ÛkµPöèQ‚;¡y. rOPøÞ_r(Rê ¡(ó_\ú»è0(D ¡¿Î´—°ðéУrEŸ-HtË~« èÉúg^58þ5‚¢â{OO{?B4Ð+q@€zVÁßß Â(´ 1àˆð$üÕX1Q€Ú áƒ8¢~©~KEBîè!Àè¡G]è_š$yyz¢•¿‚ÞÕßëßâ .Ì!@2‘./#;.ê”|6Æp—WºâR,ûcÅQœïŸ8ëâåjL{(ÛkhGç+¢§æx.Æ}¾É[ÊÒ,Da¨õ¯)  }?yãa#è&$Ç­‘¦2‘ÚYa[q¥›Ï]EIöˆm¾øòüº ¹ù@jà(=#cÍb@%*tíb>²de_A [>$K¢ð´Êö2Ñ2¸Æ|M:WîH ûî·f•”3üéÓÛüþÇbÇÅ:½µ5Ñ”tTþÚ¬#iƒtÔ©ùÚ¯œÊâg*™)lt%nÑœKXv’K?fŠÚSżšœôUÂn6{5 Äçä +z–Žm×óL¾ Ó¶¤Å9ó×=fWæ¨cœ gÖŠÁ +{±i˜¸ ]‹7z3ˆ²òsK]ÌÍ xÁb6_&i/ìsSED­3å`÷??S–˜ÝGÍ?\Éf(é9(ZXú¬.+^#wù¿=ë‡VY°¤ÃO·ZÞv ÷Ä!ؘ¨§ÃR,:swûvR_i‰Ÿ½#7ãU“@Õë¼GtÛò$$Ï„`Û»4d(JÍO²%›‰‘™¿7ÑÝÄÈÖ'°”ŽR +!#¡t=¨`zñ¡Zbô©\x‹\æýPáàÅÉ£[ª†{Édõk· {¾ãؤ8x ‰âÛèv=p¶+ÓçÒFÝK6ï¦\m)[N‡IÎ-*ÿ4 ±¥,~Xè˜ø#éÛæiÓa¡…RCìX\F÷tÈší³Q¦ÎIŒÙ¯'÷z;¹27}5›.Ï°(†5¤Ù"K`UÍÉâm*Ÿ¨ãL­ìu;N[ð={F›O¿‰XËÜ[s·ÙjÒ?tÿQ顬 +  åš’[«Ñ å” +À&Š5 Q%þvŸ‚Ø~²)\t.ˆáìØL¸SÐù@S¼kÅþ¨%ž¼áRÃý謗ñe[=£ö ?è«$\ýþo ØÇÏBoý”ÝõÁ»›Öæ ªáz­¸±–÷–ËN¢[È‹-“gG‹-€jGº×¢k¶¢­·kZ+š™„"w|§é¨†v¸º;¼èÛÄg—æú,LF¹jÇ¥û9­É3˜§?83Ö²a,ê74CtÉ1œE^0«8|-­™â‹«\XJK{¸ñ#½g|Ž´ùz»û, Aç0FïR,ÛAMˆQõëJ·èu²wвHJƒ¡é$V­Û /g^þؤýfDþÓ5c.“Ó=ú5{ÐK‘ûn%Šw´Œræ¶éÓü€Àµoß ƒìÅ6ÔËaX™]'÷}±«ðžO£Ò4Í•Ê{jVeX?˜-Mþ$Vi¦Š0C4<^ôn+ØKSèiÈ`‘Éȯ—ù(Ï9°VVÕõ­ê{sfî)£}o#•Ìùì|CUgB:’E[þ‚Aš‘|ÒNW +šDGئ’Öг²!Çg!—²¬5¤éïÊ :‹ðý‘Â?¶g°âî_¾Ÿßšyˆh·yÏþŠ3aãäØšü>,3yý²•32òPÊêª O.«ÉF_¨=ñ æJõÁÂdà +MX§1[‘LòVæ•— †q¡’øqŽ„²ùb±7|1Çd ¿&'¹~¢ƒ-j꼂ÒZwL $( vj`H±p&‹ïc.”äÖuÈ~Ü>´¸Ö8óy6 ’X¿"ãЙù½rû¨€Ñú~Eÿ9MøúFµÙ‡õñÁˆnûŠ\ëÓ-…Y~"ÌýcT,=Û™L"õÆ Ö»Ç¶ ×h{´A*Å`ƒÜg5t?'x“ÂpÞê)qÞñF¦¤áAÖV÷Àº÷<³”+‘yM“fšŸ» ½êÐû5@º ݾHþ¤ô‘Q¤uõ§< 6Žð@ȧÖ­ú¬1‰Ä‘#àû—W­Ò7ïx†:“ÔîÎo•€¹ª{7ºZ›‰ÞŠb1ô8¾&Å,t3$̼Cä6UûàŠ¾¯X—äþÄëÓ…DÐÈIÓ‚j³:>OW³ä]›ÎÇÓ“æžìox|ïA–~™ýcí%…y·)mõF®íð„)Ìp¯¸Nó'ê'Ï*PÆåCÏIÁ +Ÿê-¨±)¹#,#¢úÎ]õÍ›,_ï«ÏËn)5dm»6,öâ-ís˜°ç ÆTººÞs‹lÇH'݆ºE fÞîUÜ£3Üh£®‰,ò{B˜žüÁ›…â/8åy!s_†Z(éÝˬ4½Ý÷B5gL4»¨ù(¬+MHnôP¥qÛ[ÿ`“MC"ˆ¨tø¯°ÀºI¤HéNÊë„ ¾ÀÍ:îõV³Ù¯ËñåÕ0ÉpGs*ÿ%ÏBÛ}¹l\•÷F¢-ô¥ÜÝ´½™õчtþBšü§u{D¶Æ©Þb¸'@ú}EXmß½9žþñeˉÒàJL5~lÃÛºù¥õŒÖ7(XWý¸æu‘†I˜/r\¯˜) +ÇÛø©H.u,íÂðqýCË|¡)Â#‰_ž eKœì= gfšÿÖXÕk¦í¦ ˆó?Ù¼?ÐØ]"¾qñ3ÉM ëm2süòx…ΣlÔIe˜.õ$õpþu[î-)œö “X•¥¡>Tp[jv4N‚‰wÿ±T€çĬ֣"„K­é¾Î¥¯KQ› ?îØŸƒHÝÜ˯D½Zy0UÝCÃXbaçÍ@8â´ã¸“KvÒ²s"°'"tA’P(–À«&~÷18æësDRV€µJ¥<ûO,u'ÖÉXÞgˆ6Œ—øwú?ÂöÇJÆjÇ÷“ûu| >%ºçóŠØP’„ ÎÅÇ>ïÙ­'Ò5‹ >}{suáFL³'¶æ Úd+µKi¯°}aø +ÊB¿îþú¬?‰y™†)î'h‘ŒÅ8=ö‚çëÆb“¢}ŒÒ3°ˆNa±kUÕh¼Ë§ªb|¸°ÿJL+,q¯’wí+Ì ·9ü#ghµ_¶Î[<§/îCiù ÷u=Äž¹×o•~÷9S„ê]µwáiîîµê¼Uåßê—²½= fÀãpIøíçäÓXŽR¼µ {Òߺ6å;r¥yÇ–t™1Ç©{¥Ò8íÓ\dø˜¨Û…cx&?(¥9õÖéðî„Yèô`.š5sù/<8UbúÀC?8›¸Ý0kÒ‘AÞ›“²¨;¾L¢½{x¼m£ +-¿¶*=’FÊ>ùØ"ÚÃú•jÉ4æ20#ë.îwq³È]Ç)Óø`XÐùÕt ÜMB.ú{¦GÜ Ø‹»…Ì•úZÆœ´¾‘ÎKÈÄçä®Ê_ÇÿF.Ð¥JTœ\e(\2ïÛ,QÚaVmÓãyF²Ám!õr†¡Öáâ,”QþJ[<¦ £„È™ž®›ú²>çæ~| ƒhT¬«_Í +»±=ÚQš+[5¤ÞîVf6; f?’R+n£Iq‘#|d­¨ÚzàƒSkK*.v^¢~à4ÓÝpï‰rÎÖzÞžRyÅJ§Çˉ£R–å×KS÷šðâ™cž§Lˆ¼:Ò¾#¨>áŸ3î/”8]ëÀa|êù¼Ì*õÓo»ÏDMõ?ïœv‡øžk°ß2D–ìLµŽßÍxU~çãD—úXN¨®>75\Ž¶æ#ë[,¼#•‚¸B›>¸}qF÷Û¸åúƒZ:{õ9µÜ|z&oÁúÖ-òuXqFCb~Ã6m¦¢¹uñäþ;×;³©8²~ùú^Äöx;%åý‚¥‡˜(ýÆ’¾X˜èK²W%-ëž;z¤!ÍÆÅ_n,³àMôቸ¸9ɳœå¼6ILƒ©\W E ÒUÚ+ÎWC²ËãýÏŸw1OÑï×QÜì,Tòe€HjB›e‹‚ý¸Üö²9¦ÛaR]˜e†¾­s•êçi4®àdË“`ö—½v±n¤€ŸˆYÈkù+,¨î‡Êé_DÝêt€3%xÜq°ä–g[¸Ï»õ¨kh̵ÜOì±ñz§¹ÖCœ¬ê³Úzaý<”¨“!…zü4@-z¸¤÷‘OØÝJ¹ ;µÙʦ3=*ÿÌß•ÝÕ•ÝúÞn-5öȱ¥è²–¬]Û'5E¦׫3½²µëŒGGóUuL[vA$)„«¸3Ïð¡`†\ÝF'W<©7Ü–Z) 0»ßdìf©7¿(MâkJ7¾xºb©Éä ’Þ´Ú®9Ðâ1hdc9•KGÂOø”]½ü]–¦ê±½‚û1žßÔãV*à‡º\{xÏà€r îÙÂY‘†Î<й!X¿Ñª[kØv'6TÿÈ„ÆiÚ‘`“@v&+#á*ì–Ý=ô[YMdN›«ãzå»].i8Þ‡‡å¡ä«ú¢®ŽÅö'/mI±'!d;ÇÞ+;ݧ!:‹æùz3Kb +ï“+ôŽ­¿K›ÓÉP‘{³¤D‘eãX¬ÊàD*³¤Ä•YP& W´d +YMžÇo¿BÒìa™Z¯¿ˆH“›²ˆÿyû:M¼ñu|¨g¨JÞO®6šw-ÌA«+؆¸ÕÏ äY_ãj¾è/ͼ:¹õðô|¾pˆQ7 s7¢˜Î)‰B‘bžyiøËè8Ýûp2•È,óÊ‹‡m»Aæò£qfVwçÈÑÕ7•à…níˆv¡4u6 SÁ:aùM\ÌS¾:†3‘ÂtlÃ3USr»a_‘ÛKû¾më•÷•¬£>WŸƒ„¢vGBÄÉŠÍVG*øªÉK^U×¼¾b’Œo0E†ç¾˜«ðÛÜîKÇ3)LP¿ÒðtZ5Åí#eOŽyœÀX—ÜÔœùI£r}þ~Áãâ¢Z\=ïen—;¨²ˆµeñ׉bø×ý<ëqë~CÌQsÚ(ƒùTúX7Á„gI5GFV]w&³ú².w¿àÿä +ßìë©¡œ'y-ÄBzõP/ä hŽ[z’\¯p½Fù ç³N¬S vEÿÖóžŠMRJÅ„|“ê À,—ýÇ€N ¡NÐçâ·kÇ^ªÑùéq$A'œ¡×}÷¥¯çÊÚ7轕A|!jÝ| +DC⥱œ0©S‹V ü$Üé”@K}SZ¡•1Ÿ‚klj0 qUq³*ù\e )æj~éZR\щ9bQËñò€©”&Ÿ”ºGÖ´ìå{ýÅûº°Ë"ò=‰YŒ–N»èg…âs½T­ð¥mbTiÓ¼7nDôìCúV!‡µ©Þc=3uêaañ›q>W­ Qs)yǬ ŠW²É‹¾æS1TLsÕM[‘Ketio [Yã—Óƒ”9ÂÂÁ!+êÝxçBÌ$K +êžy„¸¤+õòÏô»!xši1ø«}ÇO‘µHßýÍYuòµõ˜yœ±}ç²Û­$&i£0Üø—¦œÌP$“`kÓr½ª;–+_ÿ裿ñ¤ÁV)Ç~a ¾ \ô鵌SŽgÕY‹›a³Ù˜úîäñSJ¸ÞQm€[ÆMîç°#è½`ž«rVed7l-žÀàû×];Šaü2÷´ì€–år-‰;*Y:×*XB>uOܨðª>¿caøƒyJE÷´ø$µ…Æ7Û‡àsW)S”zËR'q0[äºZºüXt`³Œ6i?‘÷Ž –µ&Vû 9\ëÃpf<›ÆcSz—Äå*ÜH¿ø#”·ï¬´Ø0•ÆëŸ-ÕK0[zå3¾Í7ÑÖó°ZßÏ\>Çk/UȺUu˜ ðèÞÄ8æq;)úX;–šåŒôXí„ï&ˆ¨ßf¶!Uó®&\5Èóž®el½åMDè¹aÒ²t9"¼ð‰ÊáîYÞ-«<¿‰´YvlˆHõ¢ë¬øc°‘Òžw”b@ŠŽŸ¹|÷Qìºüejí¦Ÿâ—þ›VÓ•Küß)ôjÊ ‚²Ždý”$+`¬œ¾ÉmG8Š1ï3ñÀEØ‹^ë;1zÆ0¿°e‡œsy R³Ê/ŠýnL¼ÓÛñÌföE-ÏlŽ@À+ƒäÖ:ƒ¹KQ2£òžFRß·[»ø,±†ýø§>ÊN“©«×Æ×íylï+ayGgþ2­õÙZ~³ÕÞã¼Ù‰s÷,wÕ#z¥ˆ«Øá|ýT,3Ö;‡2>ÿÒÇÁ¶Ï³%än4x±´ðº’V´É‹0[ ’&~Á×·P‡,{pÌEOUßZö-ûó¦C¬áKúÓ£:cE¡Kÿ …ŽÞÏ›ƒl)t5˜CRÇÿ¡>UQ|äæÕÚ9ÚÿÄLtš\Nï‚’‡J L4höù¹ô4½é‚èT‹üHìû·él¤Ý†æmO# ®¿M¥Þã5ðÿÑ&j9qeTYr^-œŸŸ LÞÛ‘Û•¤È°¤Íi<»x{´Ã¯$ÖZVÏÊW¸ÏY!¶¶G +6êón¾4ikLI¥ÜŒ5+È™0OÓfÛr[0W;ÝzêYyì þ¤ï‹ê[çvæW]z’GÕc[Þ³åM8æ÷•‘r%ÛŽo{Á\ – ­zÁØÌY€ñ¶Jé‰V¯+yýÅ)ÜÏÇ7î ¢¿C¼»/±tFàÝŒ«ÎïÉÏìK¢ c +ºß·Ó3Å+hYFíJ³Õ²Ö±[ò.H–A@†‰fœsƒº«¢iLg » Œì‚7íµ&7E§¢ñ= ®·>é+êÅïÞS›ŸHØÉl+í¦€Bm4±qøßtäPLù™æË4okjœN¬<‡}Ûdo·ÚwH{…; ;Evµ¼£ý£HY±¯‘øáÉ;Ö.¶?ßcLè‹¿¶jàµ$åÐ×ɨÄÍç ~I*J Úž¡íÎ#&âÁëÛ“dØ0F¸ÒÂ>­DmV°ÿžuÕÉ‹Æ}ÇDV©Çúþþ±‘z‹ÒWqÁÐ<€+/uƒ&]vc ÿ`B`n¥akÊ\q'óeMÛ×ãG ìôUçQuŸ±ÑŸ$¥ûjjݬÁfš[Þ ¶%–Rn'˜O¼ðÊ3ïÉúÈè&'H> endobj +5686 0 obj << +/Length1 1360 +/Length2 1006 +/Length3 0 +/Length 1841 +/Filter /FlateDecode +>> +stream +xÚSiTWÃmpQPà º«ÁnÖHš¥‘fDP¡¨zM—tWµÕÕ„H"ã‰ÑaDe :jd dY<ä A– '.P˜°›¸ÄDã1š©nÅ™9}Îëzßýî}ï»ï~.ŒMðáT £HÆ“ÏEüATˆ$>$*”ñæ"ˆÇÅ%‘`p^ˆã’i5A‘þóH!4D£ Ë•R$ˆÔ(ßð…þ|^â÷‚HÑþ@Œj H¹ ’"¡šãB© 4‘)güÁì'pÃÜßÏÏÇÔDJHJ)ÊÈ¡’=C ÂÈ”p ”3ŒÊŸÇÓét\T©æRtæ&w #9ˆ‡jHk!ŒÂA4ª„sê¸('ÔÓ±JÆèPP$Õl–†Ä! Ø €IˆQArš5Mð3ý|.¶ÜL¶±Aš’Q £”*”4d& +b¢¸Œžñ(‰‰¨BM±ù¨%hK0Ýa¢8€²"g$ª1šP1j®šPeòŒeØN‡’x¥TB’QsŒ÷4ÄØÖxs¯œER:2g #H\fƒkT¼?‘Ä. ”ˆgh,Ä™Ã2!Ÿï·Ñ À]ê19ÏxL¢AMA¾f•äæ¨(±b`.!ƒì'Gj!`h ÌÍ™X¸ãðù'0dÀL‚äÌUga(›Þ³ƒ@zŠ°sȈñ7ûµ5œ"†9ºé­y‰±›S¶Š6Ì©žSzãɦW/dãÌ’»°Ül#^4Á„Æ¢ÄÌ%çU•2 +øLka›øBvfLÜfläžM±ó Ûœ¶!cþo6…)åÿyÁXå·ØáåK…i +Åm–ó?TI( 3$4&¿LاÍ-…8¡Q¾•0(k™©˜m"¡#ô%L>=I&²6Y˜Jbnô“—@PšF „/äðYãáPošTÀã’敆É2Šæ†Ï÷<Ô¸²0gAiLCÓ¬•LoÈžûboò-„zˆqúz), `ç'Í“µ¢5:ϱËBòQnÄk´ÇwG5­ì?øþwNײªªj)ÿ°†¤²û¶¿h[këWî!Žè‡ïsȶ{Èònð3-RqÆéÁ4‡ûx~¡­ƒ]I[µ«okºCnóŸ=E]Å1—NÝg¶ýÀ×}«Ë|»v£ÃHj}K’×Uí÷¾Üá”j#z±OÛsUfœø:Hr7œ¾k¾kä@Ùã¢g¤}§8Ï1²Êã+AÙ2/ëˆPù˜•õ—R^ÿ¥@I£™üûŸƒÜä[ýNCgËÅ›Éô–âíZó-híö<ôûOáÎØ ·±æ4ÉhcqruàýOŃ×}o7÷¬²þ¡&» ñXœÚíòJ[ü×;”±•gŽHíŸ8ãܼv¯tÓþºìc=ÝâÛ[¯¸S~?;<¯«àVS¯Ÿ!üoõÇVQ’þ 7üÝÛuÞ¹þøßÖsµý×¢“‹Æìñ ’ôð|§÷ª&ÉAK)ZÔ4â.Ìêª!J+Ê#÷Û¼§Ê=­Nù>Ç·:?ÐÕØL"iXùÈá¸Òè›_Äv…7Å¿Š¿QYX”„\|¢oŒçtÞ4ë³1?-yºÿbÐOmSâ +3çÂÞH½wöÝ=š žqZÞ®Î:ú1q5ݲä_Ñ{žï +Ý©ë´{vbóÑÉ ÉÂÉ牖¢÷ƒKõ¿6ÆÖ}dmïÖŠÎýãdÝõâ㷼υ+ˆ2ïáÅþâ7«Ö[9í (¾ƒTÖœÞ\¾w¨üzjý¦E;_ó¼6ù¤ìÑ•Ñþé:¶¯n¸<6áòýx ´=jÏj´è®ZÚY¼¢ÓéÕdÊ>úÐ_O´Ï««yÃèÊÎÖ…jhS¬NY[¡ÎÚóøÊú#Ï÷û \¦+bòÍÊÃ솺[^Ä>ÿ}ú(¹Üa­_ÀàDß­£ë/-~çKùòqWóo_—ܧò~ç”_纎WêIÙu¤D[¬ ªæWïøPy° =Kß¹ž²Rt(/OŸý2Ú1êô¬;¥òcíÈǼ%Íõ?Úàéf¢CKU¸ ¯zøé**ßõp÷›¥Ïï}”ŒÓqcX$ Y$=sóq¸.vé:ÞÀêH«+êÊeb¯!¦þ˜®¿§aÒОøíÎhŸy¼´JÝF“§Ÿžݶ캤ó§&²o®éÊÈÙWÿ´&Ùâ+û¬²-MÛK‚l?kÔyë¯önÓZ>°ZÏzO„ZmPìø¬˜’ü4‰4´r±–æÔº¸·»Z …Øù·##–,‘]Ht«l™ð8WjÆ S%½ïž ïë쬿žfoÇ3o Kÿeó_ÃŸË +endstream +endobj +5687 0 obj << +/Type /FontDescriptor +/FontName /TPKZYA+LCIRCLE10 +/Flags 4 +/FontBBox [-2000 -2000 2040 2040] +/Ascent 0 +/CapHeight 0 +/Descent 0 +/ItalicAngle 0 +/StemV 40 +/XHeight 0 +/CharSet (/a118) +/FontFile 5686 0 R +>> endobj +5688 0 obj << +/Length1 1606 +/Length2 7713 +/Length3 0 +/Length 8530 +/Filter /FlateDecode +>> +stream +xÚ­VeT\Ý’Å‚“` ¤qww kph ‘n »qK ¸‡à4hp÷`!¸÷à.CòÍ{oÖ7ï×Ìûq׺§ªÎ®]µëœ{hÔµ8d¬  (ÎÁÃÉ- +‚-0U(D…Cê`x0 +`30ȹ€Ìá`(DÞè¬ò K//€GDD› uòpÛØÂÌ:šz,llìÿ²üXxüÃó°¶^\AP'GþñÞ¨ච€5ØSS7x T0+uŠ ÈÅÜ Ž°p[TÀ–  Ä°†ºþZ,¡+ðïÒ`œX20€9æ²?l¹[‚œ~»ØN G0 öðÃ6.æøCàPb逰úMàÁn ýCÈÉúáøà{S‡Âà0K°ðU]^á/žp[søïÜ0ðƒµ~ˆ´‚Z"~—ôÇ÷óà…›ƒ!0äÿË°ÃœÌ=r?€9¹€ÿÐ@ÀÀ›1`¸€lÌ]¬@0ØÌöïîü«NÀÿ¨ÞÜÉÉÁãÏn蟨rÃa kNlÞ‡œ–ð‡Ü6`6×ïAy ±†x¸ÿ²[!œþás¹üióï™ay an…8x¬@ÖØ\@(ü!%€ùÿ¦2çNäÿ€Äÿÿ#òþÿÄý»FÿãÿÏóß¡@sLJøë‚<Ü0P€ +à÷ó¿bÍÁÿ&úïz ¿þ;—pó‡6È@l¤àæäþˆ)€ÝAVê`¸¥-ÀÚÜá¡Gì:+‹zÐòO<ÜÜóiÛ‚-í!¿›.ð— ±ú;óyþðæ’×74Ð`ûûmú'JýAu¸¶‡Ó±ÿ®CjõÏÅo YY¨;À‹ƒŸÀÁ+$ æ ñøü›l`xþµV5‡»€Ý¯JææùSø?ÿZÿ æÄjõ{J´à櫇Áú§á·Ûáâò çŸ³þPð?ÖFrYbOÿ€ZŠÚ%§¥À?‘döÉ¿îlçAí}çTX­—ã_móKY)1»©xÇYóMô®ÁcbÛévU™u­¿ý™S["h?›Â‡Ž¥#‡`ž±Iˆmí-—I!^ÊŽ^„ׯï*‹h†‚ܺk?‡44M +nÐ)¿5ñ¹`þ:gñ§sÍñ'¦?szìk™Tý´¿‰ðSîöãûÍó3¦î¾Þž¶ÃG«ÏÙ2¢±ÄÌI|¶iâáf.'Õ–w®\…WX[C ÞD¶Óߢp_âÝlÕ;b‰[ÙÅ™™ƒRZ•1÷K¨.Uc¬‹å¤½7*ÙM|¨†GÕñËã‚jÙ*C_*Ù+Ä'M•ã¹‘Ÿ™w´=RÖ›Ó;àݽ¯…ályºb¨æ=a­=|ÐAÿ¶Ï‚ ¼I{:1לéÍ‹ÁCˆ’¸«cÞÖhX/¦Ç‰ž VªÔÜh<)ËpO9®`ÓÞ.ñ]îÍên>gËÆ>5²y›\­ l?éšq’ îv~ÖL®]O>´Õn¤ ¶®ƒ¹ý¤~áç}¶ìŽRþÓ¢àoÆð¦êò4dûA‡ùGaUøç‡%̽5Ýz#¤²î @¶I9™Ëþ«ëL‚·Îo™oƒÅœGÞ%_îèŽG_I8?>y£Í¯¨Öä}R#F&ªå{‡áÀø‘òÅô‘ßPصþuseóq)4»0ì3¥°Lh䤢£SÎGïhf©riü;nèh àè|ctQùM‹’b­lÚ·Žá¾‰]6ªe|±q“g\½£Gôq†x¾µõ¿ÎßÒë>jŠ¢BÓ+Ÿ¸h>š¦5½âMkù.Â5ô%²Ôîqøò£X7„/W—,H5ö3ýc-§Û¯Ì$óp\>Ïèq +ãاÏ!¢MêoP¦O®Qƒ§"ß&‰i9G$OD¤ŒÐ}Vy–^Û%1“¨ ˜w/&»§»0}¿Sš/7U•kܼ©"Ÿ‹& ¿IÛ$æÁ7¿‹ð×°,HðY/V>¿[nxö¯¿ÙÊ'Ée¡?c^|âAÒëàm¸•š‚ãâíà8”AКÜåÆ¡Ô„~±¦ë¡–¹K5u[vK\{¾¯w˜£êÎøA tâ>0]jýî:/¡«þ ¦¸‡ÒÑë^îÑÒ‘åË+Ã[ÉNŒ¾[ßÆnl[QåFàá»f«ø™;·ˆóMi:²´Ÿúæª`ñ¢J$XíàRȃñäZ=á$ú,d˜&¬­!\–¶ßÀÌ`÷¨Prшwì}8¹²p+WUÃ|¡uüz2S˜àÊ붗ÔŠ6ªæ2ƒ~¥Óö³7B’TÔÁ!Ô“Í¢>V,ì:ÁÇpzsÔûÍ;v)ÍÌ3J¦ñ»ˆ&K¨Òz5À­eíÉ4|¸À/~—¬k—·ØÂ> +Œƒô-§ÕûÿêMœô¡y$89J6°gÙŒ2Ö˜$˜ÉZË$¢ì:ê´ G¾I‚Q?É‹S¢­eÔƒåoÚ‘äQÁ>wwû³œª[Kâa8"ý¦ £öóNÈ\ãuÙª^hÛŒ‘¸ùZqñºyµÀ‡/û’Ð(±“Y+Û¿§Ä¸(J4?²_ ÞrÚÄ”¼8‹óöM<’ÃŒ"»I·Ì +äµNëgùõÜ·ëŠëë4àÓùrW4QÔRWËødk/±¿a¾……؉¬¸€YÕyQÑl +ÔÇoæí§«'ÛÉ6zÂÐÍqgˆÜ€©”_6”°ð’ž²åä3u(òuu0þßAÒ9¸ä”\/Õ Þ[Ü-Äó„ÜGß¡]]ÉVùÈ÷¸=Ó¥Ô¢¬êäÎ/e”©[1Xù¶ËW†gêÆÊ£¢ ­ñéÊÚȾ"N2AÖ)a|ïÂÊœ‡Ñ»n×3±'f§cÆ—º7GC“)Â1»mFé8·Qde Egˆ]÷ä¾¹*|ßý|½«^þ³¤¾9ÏY|ÛÁž[a Ÿ7Žÿ¥‘v”1°û†t +鸪°võ§=à¥E³m©bsÏXfHù–Fç ÚâDÞ®cÏØÆÆ2‰fø0»_®ëUÞ?,f“[L.½ò0WP‚ÑtW¿Ÿ¢ü’è"0Är’[«ẩ¡´Ÿ~ošÒU¦mãà|›¿üá¤/>ïê QoUx˜ðþµMÙ /4Y©‘YQ¹4¿ 8ã;ž,BTjÁ‰3¬Ø`—WiQ) ­f-$¨° î'¿ÿð¦§dñê)°"q:Ý:7ÒcD”CÀåBÞTªb8 fÆùF6=g¿<—Ñ2rGéípQ¹3ZDÈEBnbS©¢B)cå ¾³Øw嚣[VPphueÊûÅFäÏgEÇ#aè„€¥…¨jn?0(¾6?!@?cå?'ΕTÌãfŠñ‹Q +Ö÷w1nßf¦c;ühù994úÖÆâ·^ô– +5÷M·mCÙí¦ç+?%eûüznÍRº“j+Yþi%ÓXöFŠ@ZO³4^õÍ2JïU¨®šß‡ìŸ<Óqϵi Ž–Ý­§8±×5Ç'†T?ÁQ“¯ÌRö€Þ±]üTö0€‘Ãç^Ñû¶'ìlÚ [þrô@tíuntžŽõ÷œÝæÂlóUÛ=w¶–Çb*÷—x™…‹ÇN[XRAÑŠ#JˆÀÊË…ãÔ²yá¥H63»ªæÉ’÷EXc/•Ä>_IÃ*.±$µ{&w±¶7ó¥9Á³ï•&’%ÑfÈE6Ò®ˆ‘;™óuè8®á3¬•ßÖÒxÛlȧ¸pç)¸ëö*9ô2N>]þŒI˜Ô•>ã³a]ávk¥ªG• ”µñ¼D[*¡GÕéÖ¦ Ä Â”=êcý9”'­K}ÑEj†˜ƒîg-&‰£=ÎÝáN“n©r=¸uH9..’ ^öûª¤·ý~Ò"ùº:2c´—¤C,náuh²!g&ïá+÷4ÛÞ7ÛS#"'Ç!~Ì9ÓkÏÕsëpÍ#[y%ðzýøâ#±°¢j[íw`V7‹¨ˆ·ìåIŒí2¡ä øГ”åŽ±zð#/­kÞŸ&¡˜"QÛ,ë\`–qÎkQžêøž0»žCªMŠUoüÕ¯tod?ZÞ¶£Ïƒä³E™ù,¯šœËkrÕŒdáÑž’YÍ +¹_²éKìi/¥ôñäUØBW°K¼Ë ÷1>ý@?ð6­ -*ßI©VrUdγ†QüÌ'àᨅ¡cûÂÈ]W&C+Ö+NbR¿Õ^±œ¬ît|.³¹ÕhÕ%‘^„uò¬ksm³Û1¼`¶—!Åþ…´¨.¤­ÌWÇ8T‘,xi§dû´à)®¿eíØH»ä5Ý‚§À׌vk‡™0p>£À\¨3õuc(hXXJMy}&yÔœòÑZÆt+îµhéwhYIŽ½6߸øl“Äh@’­ò;Ï‘ælpݧ·¾ø¶#|E» gO‘­o[ÏVe˜_äc^dj]j={¦,Ü?m§šKE÷²ê¥a€ÐPVÕ¦˜·÷AñÚF–fz[¡Di˜^t7c,sÀQƒ2¢1ìl—2ýÖN\Îëc ï„Ö°§Ã…AÜ<_©‹.!å„Ñ»Û.› âîÆÌ®þÆM·“áõ³žÈë7/ÃÚ쟨=ïTié±ãj›,RK{à“’…,èÀ“ÏÈø^§Nf*KF•×·¦9ä*ôù× Èèëa®F¥Q­5ÈLjôÀ~ EW¹/AQ‘]½˜U÷…·Éƒ‘*ìu?ü®® r%ôœJuqh‰“Ûta"Í%ÁÎö”O–®¯ßi"pëÑÉ«Bð¼Q‰Ž¹ Vp;Ùæ"\Ä! -Ü›RPõ!w˜„‡•¹¢þ}áüN3Üϱv>eg7ÒxùËɘ­`pv¢vÂ^˜Ðé¼ð{AþÆmÓ!¦²z€¡Xgû!J#7ã]ÚúuŒ&t)r ò¸cà͆“ć;î)‚qS4yì° +fDzq ²ÖU¿±3jà9~JÜs•W–G†KäjáY¯OÓæÎÓÑ8q¾¶X=Ï°‘T¬M}» W&ßoƒCËŠÚå>±ݽò¼ü@óìp-Š›f¢sqÕ©[â0£= Ýת5IFõ׌œß´žðΟ/J1ôõŠÏUˆXJä gW«/<Õ­Ø›O3 êuùeêƒøÅ/ã9Ò³ø\>´ÏV1ƒœÅÂ5”ßp†M*ÎýâÛc[óù‹jU½OÇ,5bªà7æµf!â:v߸%Œ‚W6†å)"¸ +`EgkªÜŸ¥®ÝÚ*˜ûžºN'ê±3ôarŽ¤èo ž+@ét"Gïf ]ɬoÙ ÓcUf¾Fi–Ĥ‘ÿÈVnŸìåuDò¦?íæÔ¯)œ»pbü1üÃïCÞ=ß Y]õZç€' ¹9Úº°*âõñ¬mb¯c ÂW|ã¤K +×:ÂÚóLì)‘â|Z+m +jÿ¤ð¥MK;ÞÓ•Ù¢þº!¢‹ª•´§ú&Ϊ\ââ ¥ú Yõú]MÃXN°1æY0”-ܤÌÞ©!´„ýd_„»ýœ.ñéË=b+Ì° †>|pÆŒ`æJ˜¬èÅgZ~ü¥¡ Íb¸cÏŒÅÞø„þ<Ú«Wx©DøøMO><­‘ÁÀÂ9VÊžo.~Sšï#“~¯«ò-õ1)[Z¼ü­0~ {q~?Ea½`®ëÒXZI*UŽR4Úþdªv‘¨.f2dú”çs©OqÝ“Šp¹Ké÷q«Ód^rÊW©Ÿ.¹v&Á¢wôv•o±K}ãëb»^@s +1þ1xý£àT¯ŠfcI 9Îôì+¿”þÈùjœ žeëlìÆKX^åeˆ Í,hò†’Lþ"ø2ØÒíq†aæVt@ðãñ›ÅNgS!òH;Fcý×%c +ú¦ßUü®'êÝÕ•å"Äø†‹©ZsãOÜÔ÷ª)›V_m™áò}_¢1ÖD^­Sý+'G%;øÇW¥Wh®St¥í#£.™ˆvëŸS‹ó“r§Ž7ؘ2¾Ëf)6ôˆ"D ¿qö7hvCö8ª‡ÙÁÎŽÒHAV׺ȸè@´%{#ž T)† (!ÏMêݛ㢭L«X*÷±ÅíwÙždï0¥y‰ÚÓ‚°L¤ú0|eò»õŽ…õ ˜$7È mua bâW¼aÏÄ©§øԌڊì“ZÕ¬I‚R;9„К›~Þ_¤8ª¡ø#5`åñŸÔø‡P¦XY¦—8à†ˆP¨R…?¶Ó ª;ÙLFKA{šÑ ¡ñró}Øvç£ÆäŠ ®fQŒèš(ój4°ãœw¿³yÚV=K?ŸŠÂ~ªCñ'Jž1§ò,Š/Hª [‹Îx¦ôHÇì.ô ´+ï‡}Æšm\ZׯœA÷†? …Oßù+&¤N·X\­­«'B$sR¡ +£wót VHzÈ`)¨ÖÂf^U±¯( jÂAÀ±Iéz8Oa££_Šå¦ô^Ç-ïý)ÌÔZ"é؉˜X7ÆEžmNaÊâì+DØÐ6é4OÛÊ´"(Px ±3U.©ÍܯQ¹܉S+üíðÅ(è¨îöUÊ:r.IDüã,«ÕŸòbƒýS"Þ4-ØÆX?ë%ôôÌ ª.„šC]£^]ÄæÈ,›s«j°þ^„MÀórŒ°ú8_zôi\6ÓÃÿº5ºZêê:%лrÕ¢‰ôuúÊ'¦¦ê  ¶Þårµ¿Àlmp"C¬cujwµŽS8W¬mŸékeF•¡´ü"ô…¹V¾jUV=~àg²`=&övLçsFûǶï·e7‰Ÿ(õRx6P¯6™Ãt)]òÈÔnpÔ(5+®…ÎÆùü7L§M! +XAîw;$óh8"Ÿ¿Ì‡LonÁLèÒ6 €»^C‰³¥I.'çË<”yë…ÂYNÖ6ýý¸b”wågW ¨Êñ“xzL.r‚›ñdÇ:¶t+ ¦Ã©§;‡AÏ Éiçð”½4¨1·'IuÒ&¥&Ú)™øyåê +€§úay¶‰/ rV¯#Ýí—SýÐE¢ž×£ÝÆìz,®§o¿à¥uîšvfÌ&Ï$,†eÛæ]Õ%W+N¦¨½}⯑µ»u±´à¹%"ÃxÆAPò¢°É³4ŽP” ÊP£§ŒÂ>Ú<o Â{¿íÍçµúÌØVPg6¨¾Ø”Ræj9F5RâÜԀѰݯÕÖ£÷Ôˆ¬X‚z+`L$g?¿»åSS’`GäW&ÊÎÞívF­X Té­—ÉçcÆs_,¦"wL.êXÛ´]!×^„w@hq´Y›4”h“¿»û”ÙPʮٴ’©iÙÉÝ^—$‹B,õ'òºTùL»zŽx–7éL1Lí`Whä[!5RdÞÇèÈ„Q·f²9Œ¹þHe–q}X%Fu¬‰]:n£Ïgô’l¡ÝÍG£¯Oµ„×ÛN˜°-Áƒ»,ÂŒM㛉‚1BD8 m„«ˆùdÓ\kþÅñh#ÓmÙB©‡!lÚXNH¯¸ÆÀƒ”úÚiœÛ8Çy[±)lâÑ™tÊÝ}Iΰ4•‰ +y,ɜݱ‹¬ž0U·íh|ƒd±ð5Ëgkô_„ôótþÜÂÚ7ÄDŒùÛöñ›Ù<‡©^„Û>¥QjÛ鮣Oô¨–å‡.ÊG(\¥¦øå½ü³†À®ýÊ€èÇz#€ïŸ5UJ ñ²äÖhðÍŠ\ÄwÓ ‘•¼|K†˜A]˜í¦}jêEið<ÊÏ`—ç¹Øü~üç묭òågäh…ùe<+ûU/¸<9­¤d§({Ž²=’®[m7'° Ûr‰æõ:%bJDù0NÚŸq¬ÐK<|¸KÎ<[W +Nyû¦÷¡(NAïXËÎΗýŒD„µÖ‡Åœ¦¡ƒo^¼aß#.eÉgVºñð¢NÙÇ·ñB¬Ÿ³l¬´^™Û#L‰ŒøÄ‚ÇE6{ü»…¹ì(bÄžO¡"¿ŽÒ(±sÚDµQØä%®;Ƭ†=ÔÏYx‰Ž¯?®Ôí,Söù"ÝTmœÛ×<ʱ©¦{¢Ó.´ˆâf|J£Ë®-¡z£‹Ÿß/üU|7yï–RPåÔŸOµ)#´)–wã§Î(±æÜž…ð£NF‡ =›,¯©Ã£"Ã:LciòÁªÍe÷mõQ]¯{:@!ýX«ò5éÕÛÕˆ€æ: ec¢› +ôÜ;•AâyAgñ-÷Ÿ3FïTÃ4½]_›0’dqÅiPm‚vÌHœÆìà±´°è7sÊÛÏžp ƒ?àÓ¾u]{Q’°”@3—æbYäPN«†Ößo÷,+—É—É3Ãáé÷ëâó6ªÃëì…¥Ãní1-¿ Xb©)Êz> tåÝ‹Qžò|å7d¢ßÖ­l6›“BQw§VêsÓ8ÇgvËØ0÷õâ»°FÍÛ³@´á‘Α÷Éú¯Ö#ú-ujêï¤Â'sÇWý‚¸˜Ç9Û––ï?nÐNTþš\½zŽÑ¢¥`HæçKmj‹²çGêwK2Æ<¿<Ûi´¸žºWù"ØkÑ×dòâDõS*sÇc–©Àü¥ÉÙµÐK¬úYìw0PA•}“žÞ¬ +ž'²±¨mtóÑDK@ó—ÄÃYŒV_/1›/–çœnŸ>³"qn16Ü~ñ_ Ž¦™\†Û&ŸH2Ù$é~äwWÙFÝ#F[%ÙˆRTðû(žT¬G¾¸Õ=þBºLyuv™L-.°‘œš8R5S&®ErÞ#\å÷õÈyí&í—ÿRcq§SS5P T»íqçu‚ÛbLÈâõõrÒ×#Â3Ì¢‘_·ÆÞŠXŸ,ÑšŒ:ò»5¢é·ÚGà b˜SÓè¤WÅ´Ñ¡‚7º¨ôñþˆèQIº’ýÀ{7 bËpaÔòÂnM[½´½2w_KÛ¶&ž!7}Iʽw÷´^´¢;îCËXº‡ZJmÔFIþíÒ¾o?E)ÌæÃƲ¾Ø\ìˆñ—2d–nc¶qm@©66¸”k÷v}§& ŠíQÒ°%ΰ/€âAŸn¼±#³lzpRh9ñ5î~‘ŠSmÏ92Ž?îÇ9JdL>˜Ãy¿Í3ÚJ»>E¾ÌÆ­Äi®\}½6¨Óõî›Ï)ÂÒÎî½F¤„vŒ^wUË µª>^=–ò¬©Üi5è9ˆÐÒt— ;kG‡é¢Qô'ÝÐr>¡áU¢cz#õ…†…©ð?šx¯×•tÄf1ëT +ûämÏýÙç;§ÔÌXnzïwÝp¹XÖ5@5Sù¸Nj˜‚­&ÆÝwñ¨Dúã)§¼KxxΧ5o™!~´™'iÀÍYÜ'½g4O¦ç×MT7·­È![¼G§m¤;RÒ™.¿Fö¾œ"TÃ>íIzßzu¤Áu‹[; ãÄ÷íéð*]ø1¡¸CûÇ7œãùBPιϤÜÇ-~lõœ&¹Í„Q»ÎIâ¼ÿÒ@þ=&€u_¿œ©~™$æú”QºÒIðw¥gÿ×ůéF,`T±k!Û>i÷ٸK•‰{§öÇFß6 Ã£í¬ƒ¥›’sµÒ/ù¨ªæ~*<)ÛI9ݤ“²M´˜qÜñ+´<0˜qáumÚ¯hx§!ŒU_Ä¢žˆuÛãIΜòÕP˜9êqÄ‘ˤ1…ë}šDË\)_õ¯qÇHqÚIFËÌëbÇ"”¡ã{Af`²Î–â ñÆ-|î 6@MhZ¤ ¬r¿žö8k/Ùñ®ëôfË/ç~'¸uÍM÷®cŠ°¨ò ǵWÙM«×Ùj±ínŸ¾µì2.Ðú‡Ø÷V¸½—5@B{Õã6Äî«uöú™Sï&Ó•µ8\>VŒ^ i¤*eúPˆëNPvÿÊÞmÃJW3à´[RšäUAîS…iÿ„#TKÌóÀòÜÇÇ°¥³«š8½Y²qbŠÖé›M£1Wö—ú9ôv;A%yk`ÉñA‹_cRÛÓï%>% fcr/Ä?œ#B‰“ Zn."ìKÚ¬“œ÷`TÎ1­`Õ¥| ž›8¦ù¥¼ZU²m\m#•5‹ãH«i°Ÿnú!”^K<<5à[ÑÐäZ× ïX̤6•3;ñ…·÷ðÕÇÏ (Âä_>hÆÒ(¡Îôæ +Å«{QûáëkçÙ˜W}—mµ¯47š¶`!¤ã_J?¢ÓH—c&ªíü¬‰î0é ÝE2ŒÆfR#¶uN¯‰î[|sÆ4±Ùˆ„n;:,}µAWÍXêÑfM-mÐ ß+/b&œo#º°›ñµxä÷󀾿™µbdí“^gQ¸ó›ÀgVÁ²µÕPÐ$k7QÕ”­êt9Ã[Ã`ú +endstream +endobj +5689 0 obj << +/Type /FontDescriptor +/FontName /DQDZYQ+NimbusMonL-Bold +/Flags 4 +/FontBBox [-43 -278 681 871] +/Ascent 623 +/CapHeight 552 +/Descent -126 +/ItalicAngle 0 +/StemV 101 +/XHeight 439 +/CharSet (/a/b/c/d/e/hyphen/i/k/l/n/o/p/r/s/t/u/w/x/z) +/FontFile 5688 0 R +>> endobj +5690 0 obj << +/Length1 1624 +/Length2 7166 +/Length3 0 +/Length 7996 +/Filter /FlateDecode +>> +stream +xÚ­tuXÔm·.!¤”Ô tww7(90300Ìà0”4ÒRÒ!-(RÒHƒ Ýê‹„t7C }Ï·¿}½gÿµÏ÷ÇÌõ{Ö½Ö½îÏÃÎbh§B8€ÕpŸ¿ 4@êæà顇€ëò)#` pˆ²³« Á@W¢ÀÒ 0  +v „¤¤¤Ù*w_$ÔÉà23¶à~ü˜÷ß–ß.ß!w‘P'8€ãîà C¸»á¨;Šÿu   @9ƒ( P10|¢¥¯àÒÐ7h€á`$0ô¼+Å  uÃ=ÀÜ €ý}8"à èïÒ<ø︔<@€‡;Øzöq»ÿ†xî`¤ÔÃãîõ8!pÔ]Pîóýpg‡ þrG"î<Üî°;2C„Êà uGªÿ­å DýÎí½ƒÈ'áèù»¤?ØÍŠBáØõ;—‚z¸Ã€¾w¹ïÈÜ‘Ð?2<= p§+à ÁN@$ö𸣹ãþÝ× øoÕÝÝa¾¢¼þKå†Aø …„ïr:¢îr;Aá„¿—E A„ÿ¶ƒ<Ýÿ…y‘Äõ{g¸ïDA8ÌCô¨»”®ÿÝ”ùÿsCþŒø?2àÿÈxÿÿ†ûÏý·Küÿ{ŸÿI­î ƒéÝîàïGp÷Ê º€ßï à÷CóÌüÿÄÝ 0ßÿ!꟎à¿•þ&û'¦…ÞµC ît7>!a~Á¿ÍPu¨dE9: @Ø]·þØÍà 0…ƒï¦ú§¡wA‚‚ÿÀL¡Ž®ðßíûÃAÿÔ~7¨?ÊtÍM5ôôÿOoëOû@™úºƒÿ7…ô_‡ß<ÊÊ€Ÿ¸€OXB )*” +ø2þ¡ú÷YˆBB}V‚ü‚‚B€»ÿýþ}²ùÜú½3&( t·fÿeø ;z"‘wÓýsóïŠþ×ùσÁ>`GÂo3G™0—ô¬ TM^ߪUW‡v_¸{i­iQAðD{PzÔ¢Ô;ûëÊpþ#Ò7M¾Ó[î¿V´yVû;¨aœí©à½|†VîÎò-WClKïgl[ÄúíOé.Ü{*.h¾º4ddl[rË8Ò"‚ÄßGs³z?`;s' tL«yEÕJöƒ¢ªpk›#y}ÆÙ3𹯷ý§s…þqî+v Màë-–”¯=ò¤ÖñçÒK“d™§- +áOéümO¬uÿz³Ñ@ä’dO g´iãï½cºÐK€”«(úoxêæ·ˆ`?=’«ÅKù9)k¯;48_‰É[);k§"ˆù «‡jó„F=Š<¿¤9 ˸È@h1†i¯°ü‹}5žCÆ{íO¬ûX‡øÎTŽç¡=‡\ÏeKDHîÛPb+O†ŠÕ¤‹Y2¬ô­‚‡Ùi˜ÉCîÉÞhøí°˜"³²:%ŸÍFx6‘’µçš1"Ć˜—KUÉ Êdo>ŠcºØÈ>öVëߊ–ŒæbºÝ¥}DïDžþ¡oL{é—œOô¯{?ØÇ)”•ÎD†›¾\nÏ\U^:û½%’™ßh<ú^ÌmoLõ•2ê\ºZûHïÂÇKXhÍx–Üö#u¾ühUÒИÉ;&! ·÷%ÅÀ¶«‘}3zÝ„ãz!ãCÞŽyÂ%‡ÝŒ‚¥©ñXv· +¥h¼%ÖÅüø²_vD8œ_#CöY*èD"ÑfÌ;‹fCω–“_›$^iÒ+*U§/°¤Ø&:óퟖ ¢ET.ÑÔF–r¤ ( ªæ›p”ËÍ!צ¦&yð@Ù!¸;´™)%Z¿ªû¶¡Rkaú~÷ &@!C•5m;¢Œ÷*ÎüØ”]túàÈñRWîRÂ_kTobÔøÊÊÿ¸qŠäg^["uó}%5Áóɱ¯'ÄAEx‰\¹RªåIúqVt„Ç7—¸?ß?½]ÿêoŸöJ¢"&ÁÌSÌÚ¬=/l½¾¦™tÿÿ6Ýg\jË)šó} ˜k &S-mŠQ”s‰>YìŸb5UÏ7$XlTZ>ùTõ3œ*NítC=cü•Ùú>_g7T‚B„;TK]_¢äüˆm3ƒÊ¢µ¨u7ÞŶÿâ¥ynOÀj=‚ü)û}>'¢.ü’êÐwGxÝ Tè3`³7cœFûK¨5*Iù™.t¨Å­8ê'»V—"ιä#úOúVüíî”Íe«¾P`Þ߶¢˜ê ¿º +fŸøk&ƒùBÞŸ ÎHLê¹÷Ä_`’)æƶ³Øp?W`¾êD̲(2@Ýäu/ÑR1þªÕì’žYA³\eøe%ç›Ê²nýlÌzþ#9«tyoá£ÜÇ⣕|ß¹f„zŸ´^ñŸª©$®gD }Ÿ| ù«„£ïEm¿‰8ÛV”’OÐN„‚¥óeû;³ØÉ—g"3˜S,Ô§xÇ  w7bhuòý€â®yK)íWk÷5ê«E90|8#óSƒ€DØ7‘)œE–­¾³û¼µ«–uö÷„¸{9‘õE°Ø]ÒCÈCÌ(cðùY6§ë?·Þ†ÓËëöÐ*öZÆ͸uOêžÇ€Z¤ñnö#®z6E%~qÔ”¯uƤmøža™bøj!–k5¼Da&ŒVîÈRÂÝkYhД­¤æ´}ªë;8£*tJÇ?9ôPqe­ò òf–Ãj×ÆŸá—xaÝ3¦Å>ĉ>¸ÍcÄàQJy›E´TrFu`䪕¡¼ +¿JÅ…òu8Ø|Bž–ÿt÷*8“ƒ-ùõ|ýˆµåFsš9"Šåì³ZM§ÉËøáS[i2ÍjèÛôM³‡¹ÌÙW¡]ÙrsøõÅFU]a)×&jVm¬ò³…Šƒm¿¥4*õo¼Gbl>HâÀ9©#˜±Ÿuéz7Fò÷ã8V®ë¬¡JqÏõFNx”lÄUÇKQp,å^ÿj|ÖÎÖ6yíÜ¿¢Z Êšµ +pOÚ}ÛÁîç-áó¥å†_“ìélNà„…MÕW- eô…nnñ8ƒoDå!WölÙg ¯ 1Uï'¿ÚÉÆLNïôý.µ4DÅsúâË +sPÐb¹sÀ7JŠ"¦î…Ú±µ]ýRNR97•÷à>áOBGy¸!«> +‰•Ä[îµZ«&¹?«²¬\ø¿:åªèºŠìMJ!²%ê[>\\¸´¿£ÿ"ÿÙ„ƒ6žû¦Koº¤â…´NÉb-h ûxž¨W¨§òWÓ-תØÌméÚõÈk¶Ðb¢‰ñ_ÅmAk†j|¹Ò"sÅ +uEV·ËS#³ÜŽŠ. )ùÚ4µäñ†e?f'çÊÉ‘oôUŸr=<²hÿuùéz=#ZœñÍì»—iYßÛU®Œµì ÍÕÄ™ýÑ߶Z›R‰¦z9¼\G|Ý{Hw:'¿d†S6¾lè²0Ycrú®¿±uËZ›qtK ÖæF.4$^•±Í*eH‹‰ñh ü=oLí·5 +óÏ4Òê£%1+9B™)>L’n $Þû¹6;¸§E–2‰-B+¶”¤÷Ã^zä@5̓¥ãg²±Ml'6ÚNB Ó¬ãjV¾ý©Ög2á-ˆ·»Ë°žF4Ë5/!ai¶N|ëÛMôš:¼Hèœ.L䀹û6ÍWr•_­t~ÙÙ™œ\'­sº‘T@˜ ÁXc¤aEi2àºN9sÎK?>ïƒO)Vª×ºß"Á.#;A²Ò<õÈ^šÙFƒ4R¬–çPÌ>7øçM›¶ƒÔ’èß1v¤Œ„¹èË*]Â)¥@-=›Í3­.ÌäCsSÅCH¶&Ï FCÌ4‡¹Ÿ¸X×_Œw°çËèJ³cýÉËØSO¸áj®òí%ÊÂà({Âœi_ +!^IuM+& [hÜŠÓ1îÛÔG׶PŠÝHzzŠ½ú\AebwÉ”6,$¯¸°½ÂA7šóñE÷ÃØ-ß4Rn«òÆ‘ÃUH-Hr® Í§î@‚{—L¾ BáA脱!yŠ„/:ª…T ºK·##Î.Ì­Þ_ÄrÃ6uy‰.¦¤»ó|Ǩª<#0 p£ãÜMÚ’ÿLi¿©™‰EÈüÚAï{ëMà8÷Ì‹Õ’5ü^ïmÎùq“ËÅâlP÷›¾Æ÷m‡¨ü8¦§¹|öVckšÔÐ42‹Kf}Ñ®¼ECz´•®iÊÖhV~‹vXVÕŠ‰ þF¤fã¢^HÝ"m«çÊï½Vb϶x¥lrùþ†¼°ÃÞ™6qpUùUm+óÒš6½œ)J»:¾>´ÏÆyê:`ä_Eo[Z€®qÓêÖOÈU('wøñ´HJð¦3«e®ê ’FÆàgoÕà·uô‡’ýp|ðž­ò+6îjUÅ h9cù†e9]r×#•VÖ +í!ÉMR³5`2¾Í—7tè\Ö„lD}ÀØ3µ.!¶L+C¢Û­êÇq™v}þ¯‹ _—æ–JªI"LìÄ8)å¦åÇ$ßèìœïQØûœb3\=²Ú{@A~„!¿[b h²ëkZâ!"-ÃûÅOÄ|_0ÀtÅ÷»¢”Æí­°µ¶w ÜôªÍx^5;µ-.ªÜéuð&ÐF˜tð”QôŸ”|U³KƒØÍþ-#ºÃD\Lr$› 9¶akÿâ/ˆ?ñ .¬TÝz/èXµfŒ™óv ôÅ«°÷:Vxqm^ȨJª³œ{_LãÁìdcú˜/P—>ç}jqóܘ˜Iqªå‹ ö1Nm¦HTž+}8åóšáù ´t?ÙÏ#0z…¯kq&Ãt\þe´Bƒ¨b£{½ƒ‚džZ¡“Ë#ù)*/{Û¢a·aÞKõ¡® LÕgÍé1+ŠyÎVbÎs}ß—ÁÛ·llÂÊÉ’ è,XLyë꞊ ¨$Ö§3U$ÉòJmY’šg¨E «uO˜H€R0òq[&|›eˆl¾t¹cñøe*¨«ã§b¶i™°¸<‘¢Ï{Œ‰ +®,oeÕÐÉ1]#/µ!ë•/%ãxVÑÔS‰‚ŒˆWgž›¿²¥–a÷Ñ›Îu½Å_»¶éX›pæUhÖt³Pr⬇ðÙ°¼W©œnì˜0dxj£qïÎsfÑTSy@ð>Añ™Ï¦:0#-ßš=ú4ú +ÊþHK(ÅñŒ,¥XúoàuCJþ…¢X ˜3t“ò™L‚ŒºaÝð¯³(4ÍÖð‹M7ßç‰S1¤È“|L´M? LrÅÁ£2y_–)Dè©|­}ã)˜8#1¼ÔwU¥=Æke +àŸì ¬íÛ£xáÖøÈñíŽâ +‘”Õt¢nѵ~¢¤£% Ž\l×ìݱ´§ÏfÉt, • :Mo°Ó+K¨ +p9>T­?¹­ìì]0¾)Âd h,ÕÒÉñ-)nšÓøÀ;p#ošÐEÄØjãz²ÇzÁYxõjöìäV„åŠAÆ™l“u–šB‡Qô¥˜”Y¨xxàõëɇ˜Qþ‰Õ59Ó̱ôÜIWv¥rú^?:&‚¡”Oü +‰âÅ ±†ìÀÙ†õÏ0„Ö¬¾G‘­I–{ᲈá·bÇÒ®)k2Æ$°­˜*¸}ƒýµ…êˆ2‹Ý,±]•ùäÅq<ªéH³ýèä1©g/ê's›àÓ(b•¦üÅ0µ •ð•¾rS ÁËI_%õô‘Ý\Yã³³¢‘]önP«njq¯GÃÔëW*õé6.¢SÒBp­9ªO¡?õcäeÊ—z/Ø(³o“®s„)˜ÛwftÅ„îÙý¥A!¨ÁZlÑÓqHGN}ØßÈi¹Âȼºå¢KþöÐ((¢Ôª-‚èæÑÖRc,«AÁ¢gÓÍ–Í8ñ˜˜½­…´mN£÷_ayÅÁŸÏx/íEuæÝ“œ)éDh«¹çŒN)¢Ý£©¢Dø-q 3(צŒ¹fíÚ! ý3ôùýûçrr0¿ +ŽJE-;v,Y hô¤…”Ù˜8™Cÿ5·CgEµ°!6\ÔÎdµÏ àû²¥ºŠk.½PÍ@ê8±ˆ^ýrndÄ2ÂœXÎoN½<èMÏz#½ô²~^VGíÑ‚™qPj|Œž·^õõùì.*—9ß=X±@¼_mhÀuôŸî…ëD}ŸæêsÝŠ&3F+g¯ã°È(F¯GáÒÞßœ¾÷%B2µßcã A#>¸Y±ÏìûÒ:ؽVÖ¬~òÓ¶s.̾yŸð‡¨ ƒü[gã nD$I— …û緥絷~~&Zòe[‡s$=E˯ã¶OÔ#Cüݘ"kuöH©GHJQ-þ+)6™ITëp×`ëÅ'Bºí$ëß…¯Çô0!škÓ †y7P ûò¾C¾švÃÓ¿xu×ìç˜'•9:·'/ég&¯ãÔ¸õó“’,G­Ê®Rrî¼ÖÛïTmxsBá—rèO/,ÜZ ¸ÖúÕø±ý¡•Ytæ³ö«7Îä½°ùo0ŠÜ¸-#šÚ~^ò K¾ƒJÊT†EPò€ÿÜüÛ&-oÜ{:c†Ï›µE|®š;@)ð¥ËÃÝSŒ$€äËÛE «WŠ¥ŽÑ*ó©=[;ìZä<÷%Ýù[—€TUêç'¤"½âe+®i…8|žÞÎåçú¼^ZDêmpR¹xô±ë#ƒ¡$>©÷©~X»9!ÃÌ ¤vh}3ÚCíàž¯„ê8å §,yä´O×Õ_¼À¸ÍD²r––âs+—>e`/cÝÊÑ”ø°>Y9~“dh]K§Ð‡Y×ýü¡1’ìvÞ®(æ8ÏR "H³ôk‚dT2ûY1”Ô¡9úðÝΦ!U™^Ið[ÀÜu8ÿ“HÑa"ž3„{%éœÁ8xJ°°ŽdÕ㯠7óµ`\ÛÐS¯¶œ¯ôÊ;Û*JVÉWÖ¾h}õ…xº%jœ0.²»''m©2Ólfðýušr0¦WÃ|ØæÏl1ïÎâÂNÞ~Òô‹1‘‚=¿(6Š>lQëþ,”äáF¿ % >ʃ¿Þ»b‰¯8‹z¶KPkÍ=(,_ªUÜÇ_–ÀÃÈ{0žÁR¯¶Ûl6(­_íwN7#–\•óc·Ž2U²né_j~õÁAõM’x׸‡¼Ð¶<Ïó`i‹ G5i>„$©8ØcÊ>¯²SNìqÌ Û‰1—•·Yåñ4¯^̹T–+÷’Þ?_­íMSÙGó´:›l¬â}–+aŠ?üd—’7ÿ‡ö“‡h<¯ôÆâÅNŠ¡3h™Òt|ÈûKîáf+Ìh‘žç¾ ãÜ…'¶LмñÓg/¸L,Ì[K&ÜVr>`7¼uÏì$¼7Y“Èl»ló$×dß‚œý`Ðm¸°è̸–ߦ߹_u™µkk_"¨h`škkKôdW1X®Ø(ò~æNÙeŒžX7a•£½áP!MÉŒDí4n§§?5ÀŽ¶Zð«ø°k§r šÂ>hùî€2<áÔ—}ͪçÇÒ}oOS"_°éUƒ&G$G6ÄæùÔ׸äŽ~‚4®º“3/Ç,»D²ôÚëT<Ð5T‡Ýs¯7 ,ŠÈ/¢5p*Ûy»œ29Pã·­0‰ŒÅb›‚ŸD> endobj +5692 0 obj << +/Length1 1612 +/Length2 19759 +/Length3 0 +/Length 20600 +/Filter /FlateDecode +>> +stream +xÚ¬»c”e]³%œv¥Í“V¥Ui۶͓¶*mÛ¶••v¥mÛ¶ºž÷íÛ·ÇýúûÓ}œ1öŠˆ5cFÌXkìýã+(Ó šLÅ€vÎtLôŒ\9K[#'Y  ’©¹ ௑ Žœ\ØÑÔÐÙh'bèlÊP75ˆ˜˜™Lœœœpäa ½‡£¥¹…3€JUIš–öûZþ yü‡çïN'Ks;ÅßWS ½­©ó_ˆÿëʦ¦g S€™¥)@X^ASRN@%.§ +7µ3u4´(¸ÙXd,MíœL©f@G€Í¿c ‰å?¥9ÑÿÅtœìM-ÿn3u76µÿÇõ`oêhkéäô÷`é0w4´sþÛg ÀÒÎØÆÅäífÀ²wþ°ýëû ¦trv2v´´wüͪ "öožÎ†Îÿäv²üëÍþFš]þ)é_¾¿0½Î†–vNgSwçr™L,ìm =þæþ fïhù/.N–væÿÉà;ÀÑÔÜÐÑÄÆÔÉé/Ì_ìºóŸuþ·ê íím<þµø¯¨ÿÅÁÒÙÉÔÆŒŽ‰ùoNc翹Í-íàþI;3 €‰ñßvûÿð¹š:þ«ATÿÌ õ_†&@;€‰©ƒÐùoJÕÿÊôÿ}"ÿ7Hüß"ð‹¼ÿoâþWþ·Cüÿzžÿ+´˜‹œ¡íßø÷ø{Ã2€îCÇÿO¸¡­¥Çÿaà T7ý7ÉÿIgÿÍ´3ÿ+#=ã¿–Nb–î¦& +–ÎÆ3C›¿ú—]ÕÎÄÔÑÆÒÎô¯¢ÿj&€Ž‰‘ñ¿øT,,­íþi=Û¿]¦v&ÿ•ü_‘þEA^KVFE˜ö¿Þ©ÿŠRø«½³Š‡ý_bÿ³Y ÉÿZüƒ!$txÑý=tÌ,ö¿ 01ùü²ý †é?ײ†ÎŽ–îí¿%32ý«ðÿùûÏ•îµ3šü3+ÊΆv&Çëþq»8:þUõ_'þoÁÿ±þ× ›šº›í,¹ƒ¬Ò2Óë°r‡ÆE´ûz˜À‡‚íKUŠ +ük€Ý~iaÛœ•ïµÁôM“\Ÿí §öûR4#=˜6”Ý)¦—ùø>¤Ô½(´ z¥ßÒÏÔ£¼®æe¶ ´ØÕvÆ•ôJÞ¡&;Xa®ž¨ýI] üÑÉí}Sb1~#7 ÖžžQ$?=RŒ vß@öîãÑæÄÂ’sbù&Ÿ'9{8Þ7B¾ºr¸íp+"WÓŸ%µEùŒ8]i +6{A…p´Xa“§Ï(úå 8—+çb2çû-Š5SOö51ÞLô¯`›`ÉÙ¨·[Ñu·Œ ¿gÁ´šó²¯Äð¹—í»G²îÙ5 ÷,F°ï’ôÜü"‘0æ:wùm“ã׳ +Z ãf$–á[tWÎ,x{'ã¸ÆbxÚcú£„é±l\¼¾yË»;'Žzž¡Z:îVæá;lˆ¼©·7›ƒ?‡¼ Àcßqh ÷».ø :;Èô†pzZ²uZÊ×ïŽV¿Þs}B¡À8tijvßY²Ó}Å1>Öìl!ÚÕH«­]¬l¬Ba$”ä×”Ë÷“/ðÝ6VǽïM±ªæSÔµ?ð­[–ë/Q­Û+Ãþuö>àØl¤‚>°û͸ݜÚ90^bËcBD@·¥˜µT¿¾âËGÒå4B=¢ß^d -9Omxeg|‹—>˜FÖ'QáÀU½ÑujxÊ÷‡3ú~ÖKwy…è‰êOzëŸNUzúÓצ›·3¬ÓMÊLš}ÝH-É)áGdz؟Y©\¡UˆÁ\*tm9^I"Õ")µ-)]ˆµ£žBØjõ=¿^´õËBÍâɪÙÓšEôŠ§~É)ºË)‰1pQòn#å/s[E!zÔNܘ·ûÒ-¥´1ÍMSÇŸÄ­ß®u€P¼ä+ö8B˜Æ|ï)~?&W“»šŽù¾–ò°%>»Nõ«„9@Uxú±xTŒñ¥¤ºÁD„¯uú±?ŒGÍðÞ¯S¯1Á…ÞØË eõœ]~¬`z¦¡­å“ó6 <²X„½%Ï+–Ü&Õ»ŸÞOØtDuƒlá.ð¦Â]íý‚B>p‚кvÄ©m +aι<µEpV̤ó“óÉ‹$‘,ioßÄMÿ̸—¼ð(au’‹»õ!tw²˜óhÇЂaø/ò¸vãÇÿÔœVÔ¬w—[›>6,ÒÍ…²‹úMüùPb%ó¼T¿ëÏ3Õ;úNÓ™G‰Ï‚*Îï÷ýR£:ë +Yßhm·ËæWiàшÌç ‚ª÷)ËÃB"ŽYÎÚÁ¬Á²Þ¹=fdêŽ[#«nõ¦²$P‹¤‚Aóy.Äþ3Ñ +ÒCHè$kã4º¸éàÀ*TG’—Nb¼ÆÐ@™T[Ú¤F¹Ø){œ§S <‚”©²haØ¿vqä¤0eçdo31êª-2Þ{ºfä3"g6<ºr–›ç´g,1Æ^åפ÷4BšèýVŒË4‚ù‚Œ9ónÚ2oì– +8;Þï¢C¤ +¹J€|{75þã_5uÞ:rM̼ª@†š Úù³®#n!æjƯQù:—¸º)i”šraw.ÕŸÎIàËŠXˆ'Ë{î'Üj'»G³jù6r¬›Z§‡LûýÅ’§/¨ß¶ÊO<¾Â‡ºïɬ\zM’Ž<¹GÁ΂Ÿ•ã‰ö}Ás+×y;ÄÓ$±‘oLx1@ñ!/ð&ÝQø¥@–93b±¬ÕèÇkX-½K\5#H-mÔE1™ÉË\ý–"„}©Kw <ÒÍÄ蜥ažo[EŸ ÛPÒ΄isSÆ,Ö)¨BÉ5‡‚·RÙ P„¤šó8‚ÍfÁm€î}ø4…IÓî+xÄHÍņ-T÷}„-WàS.Ûí‚ÒÖ—‹tµæ–¨=W™¯õ¼:yÀÁ¡b+ÜhH$fŒüz—ŽüsUº×¦9e&²_îy¦4]/ê2Šl)@…ú«qÔIöŽ”êbÒ´Út9¿Â~A˜ÊfI|†çœ†çÏÛlµÔsCc2YÁçnÈdUz]v[«¼Ø…êÈU'¿Êcm%n:-ÆN÷^Ë{‹«eEG¹Œˆ6?ZvéÝã÷ºÚëioÅâ‚ŒöWˆ€“õ:á){y¬ÎÞW"_Ãä‹o ùöˆ_º–Ncð%nåõ%to¾òu—¡ÆD¢­È3?ƒºƒ·ð¿„V6Š„ábÒ@ÐYÕå•)‰[‹m±¢Ì!é±%g:X(˜üò»l‘_+yz}ÃͧÒɹø•°ÎÊ^km0Âç-¿ú5²Ú +õ7ž‹õ÷EôösƲ{y2E^•LBàí˜`T¦Îµ_PøVâA+(oËß­••'†¿x‘ŒM“‚›ÊÉâ^ó;d6©ÍTúKYåÀì`Loü»ý’”‡oìñ8¨å—òj.RæÛ-%ôãïÃ0 —$Óƒþ“ƒ¡‘ãÍ/9µ‰©’œÀêÖŠ'›fcªG®nûÎõC¥wJß D:u¤pó +o»¦7\È—OÞ_o•¦—Ø?¬ˆŽ3'A4‰‹ÔÈs»·_ZϺ^AæÌ<Å.ˆ,¿ñetL‹9¶7Zñ%›)Bjw=-í»…yÓ:“ftõÖ’2­SóÕ=ƒíH£š¯é +±Ë,hC×hØÐbCѦëLå ü>žP¢A’íõ²J( \ +OôñB©p—뮹P?ݺEç6m`G/m–ªggÔâhaºT+³â¹y Ÿ}¢$]7éamº¿¤«Ùö¶Ä‚»^Øo}cŸ§Þ˜Ëñ7¡cñKP*‰½ã²ñæIœš½Éó¯ûÊ`HÊúr¹Oö×7Ú6¡œïhÉ ƒ]f\kxw9Läû ž +ƒó«}R?%K0mžŸÌVìíЊú›„é|6·Ü¼uá7Ü3‘KÆÚzljIÄ>LJl€¿*ž)¡Šã—~ÁÎiS°}½”B¯Šô¸/ÇÄ44ï>OijÎk`’¬˜’Õ¦¶SQ3ØainCì’ëvl—‚øª‚ŠÔ²y2O0ïI|ÐÌ÷"°L3¿ƒ}E„{KKë°¥ÓÛTDŒšY)!Ò§a˽7çÐ)ËÊE6ã¤Æį'솦éæ×dÛ FÑsCrðïZ‚šÊâºK +cþϺÖCÀá¤ÝV£LZÆ4‡ßÊø¤c]gz§¡I[%ýMj·œº [?Jv_ͦn*P¨ïß(ñasÙ¼#ÍŸ]ƒ¿júŽ¡‡ÜÌEID:¤œê€q±.ºþ‘ͺàf:•Ì6É'¸~"rüR*+IÍýq”âb$sÑ,GuÓ¦³G¤'Û“¦ôÐä%?EKÔ˜t_6:éï[‘1¿¼±ŒYíµYø“PÜñ{]>§y÷º‘>ÎCë ¹¨n«i³¾8´©® aÔª©·~kz(Ú åì+ ó’³ÀýX +ëç—†çT?H&'ˆ~ÌM;>•C茸´#äúŸÄæù<·¨w\þn_‰â‘(Êm5¥¹þŠ?»c™ZÂÙì¡{´«ÅRLž@û@ž°ÚHÛ ‹c æ#3J´I@ÚAgöÔ¥„Šr<™‡œ@ÄÚY±_á/9ìýÐÊÅ[+^½‹Ìç=8·%j¹/†Þ+,‰ï*ªoI ÁëNç¹êkL“G{êrX r]ÀðûàƒÓ°j©˜éŒWÁ9ÿS¬Ý · Ôx·Þvá¾Éi¨C߆‚äKDUÇÖ.²þ.ÂÉŸž:AB^È7Ôõ€&XSÛ~ÔÙz7}0_ÝŒÒk¤YoM-‚´<ºq<~Ü ';ÈEHÑxFûS绪¨çé,qÞe‚ ,.C‹sU^ågþAÃ!ÂÞmð>ødÀ†ÚµtÜÈçPJÁvK®ÃRi!ЪhêÊÜW¦[ï²3Gv­HVüZˆ‘d$â/ +¦^V ¹ÙIÝÆ_ÉÃÏã<÷vgI`}¯^ëH=2Š0y±¶À¬c¢m uÐáÝ-MUßu÷,¾hÜñ®â ƒüt-ü3 ïo*d/¢]®ê–ñpü¦/³eÖBÙž0ÁÛ|-ݼÁïLÞˆM'è +ÿ™Ü•º‡v‘ºG?ÑkË«.E›KÓ\mƒ©Åy†IŽö{× ËdÉbp—–º¬=¦l‚ÍIȺž¶l+ û&˜Ï5!'<ü"–QK >SwÇHÆŒ¦ÅYwÈï6-îŸ?faN]–åU}Î8WÞ„ÙOªp&ìä@–S*k'rm6ü©Z +„¢”}ï ê> ¥8Ð;nòylrE$¹CØ^%ê(W“Yq†ÖÁ´ïè.¤ÕÆH›IË/o£ -ý)¯kuPîwxÂèÇ$¾-_„¤Öî’D]µ†HüuÉyѦH»© {Ã`…'«BtJù(P<&ß" ÁàÒm½^æ¼úµüî©i‰FRn,Uê×ÝÆÖÊ,)É+â|ì¦uø:5r³y1#yt«KbŠðÎÀóÄýÁ!m„פ1&äžÅ5»Tö1ÃÌ64oŒm Ý÷9dÆC©ÉÚÍbŽ· +ÕÉ&€HÕSŠž>ù€D•*4"LSQŸ#ŽºÞvYNp7·À˜íI>ñÖNoPu´|µŒÅ¦+êXüMY25mN3÷\”šèV­¢ª”0ˆŒÔ­>/4jÄ7â^0F3*¹ÀÞ.ˆ`ƒ²A6g[DYŽîJg*õùܺ†~N! ëVB‘Gé£ê B£iˆ@ñ|¾™‘†Þ¦òV»^Ø›_U֫ljà ¿œänûCN®ä@þ§˜l¤Ñ¹bÒêtdL0 ,ôJšä” íÌÎñføý•f€ùB]å£Ëêi_VŠˆ¿Ò¤öNgÇ~ŽˆÓ˜E~ˆ¡K¡BdÀòt3ñk)Ôà§7³F“guÀdqYõ‘ž7)žÂ3Ö‹TIbvÍmË'¸‰›9,²ëÉ#B\óÞ°Ú¼PŽÖ4,¸ïÎê½”u׸äw«_øA+Äb¿}í‰Æ]o¯üÆ~kwªq×.ïÑü2'*‡J+—L +M/|ë¡/± Õb- ã ‰È}Ûí#_«a[Is^H¬ÜàèQ3½ÙˆFÜsÏv7t]• ./€€“Q¸¦Ð• §µ×ˆö;ÊñĦÿ-[û½8±u$ Ÿöw,íMæìŒ)ƒ^ÃoÛÁ÷WÌ{BlŸLPYuƒ"/»ÄÈzRb®CÒzLÄbº+£“~–K4!ÝäÛÛðµSîìjⓦËUÚ]ïî¥Ú´Nø36j¬Ý¨à6q£ä¤´ÞõNçžÏ¼­ŸË…‹Ò£föbÔ›·›Q%]Õ\-)áÞÕôÀúÃÈdÌÑ\]· 'ÕßU'[óç†&A¥ZÁjÙÇ~»ü(—{rدi]ɵ`p5ìlù¶¶ŠúDºó!WZYÝo©Iñ’¾³Ìš$öîÌ‹«Ûo•œìÛå~Úéh€ÝU2š>Ó§4"tö(ñ|×_ Åÿp§¡ÆN’à6ËÈ»meŠ®}NxÐvá(v5ü¨ü$ ¬'Û½õïq´ƒ”iÜ¥ t2aí–ÏT‘Aõ9â³{ñäSúà +¶¡ªÝÒ ”ƒ¿Û!€öŽd ¼Æÿ9OÛ”H­kÓ¸MÈ´ž½?wý–ÊêhÙÏ¢óè}¸)¤Ã`äó˜’=}œÈEŽþE—¦Î’ÿŠBöx¼Ú¾9vÚo¹Dè*âÕCÖÜEíâ»EjÞK•ÀœäȦÄ|_déÿð¬Ößx^JZø…nºD&q$%Í1Ø«ãÒ;PÊCB5½oRèß·ÝËqZôV J•ð²) ÍIÄ«p,ðNÞ¿H41ÚögEÄûáXÔ©ÄÕµ1B)1V#pa;Õ!pUQêêÞ›ø+­°dá1ÔÅ=®À… o܃¤(S[ö§Û1ô b¦ÍÚ*gÒdf®ðåjI©ÇTÁ»KXÿª¸ÝÌŬ](º¼}§Ž‘ÆáÓƒ×`s/”q1MÓ°hH @—J4l`ÒîÅä—Pµ¬iÒvÚ˜;f³·µLœ8¾{¶µm ÂÌ¡ï`+ýZî¬wA>¤¾¸ÁPIç–QGËm Ôžviy7^i7w¿ùÛóìicœT¬çêó-«ä¯§ ÑP4 ö‹=/f¿¬îæ±x¦RÛÓ^–žùonE’ ¨Ø¸4;¼å¾j—B§ÛŠøý5®)\i#›Êù`—ÙIÔ¬^¸EQ×ÞÓå…R>MQ„jŒö»5™J‘büû:ù§ ‹ƒ¯ÖâN?èèý‹v†Ûž³\K8A¶ÆKŸ^3úyö–†ávMpg´©bÌgä(šÚÜWa1S~±Sü"“R³åF¢ôS¯Ž!«4k<ìšç©á÷l† +~Bg7³™à›ƒô<¿½&^L|hÓNZ¼ð×ïÓ²«Á]‰q«ŽÜGÌÝ{†u8ˆh¨|B«*_Öp’;AGjs#ÈÂ¥¤ÖÙ*ì +æ![:²tê_2t¶ +jëÛ+ BgR•¥6„å  $òߺ§e£–ëL:ô€˜ƒÒ‹= „—B$W°o¨¢ö3²Y`"+çOPþ]´¼h퇄±¿‰èñƒ4–£ôâØ"¿ š0Våo|Ñ@¯ÂfâÄÞ>:‚pø"1N2+gh DHea–¡÷œÏ&Ï=á]ˆ~„ÂIYˆã—”VeÎ|ÕB¾Ê²HßìÞ—½ÅÜ õ¿LÕ#]ÃæËO0Í-Æçi0ŠÎ*ÃÓ…ýz£øsÚ &o¾”¼{Pºi"  “gÕÐz‡œ§àÈÊ#AJ„eWIc@¶ÑÅ<¦)Ø#y§E¼)ÏaËÿM4Ã¥™%‹•¥Lé ž¯BN"K‚qUõ£§1¿wVCœ/B¼Ê¾OäÞ ˆ%ˆêôÛS*|(Ä_er(ÊlÔÓ88Ás@Ø&éjžî¨<‹V†­öÁ-½¼Žô™áðGò +D_Ó®+„u8phãh“ô\ Æ9ºMf +sš$ˆ€|è]]œs‚⨠ý=“y»´«7š^¥E,ËÎ wÀØÿm:'›©^²7ìŽþ›döÃK0::µ[»{¤èB† ó£õic0í‹Oo“‚ŽÇ3¼°ž¬ÈŽ±ë¨ Ö¯A¬íêçû· åÖ,Oý‡ÑHcH ;ƒÅiò‘f'ž”¢Ó]BéÅ —ž¤Œ$!Ö\&D-ÅÄc1}º YµæÉ'h~·fRã½›|O,ñJÎ=Þ‰LßtPs‘ÒáζÝ@0λ£º=›¼ø¢Òô|OºSXXö8•uµdÒ|iÁ—ÙI­`ÓаˆÎkØI%TCE§Üa^VhOWÚ»[ ‹Ùz1zù4.?Q ÏVùªÇÝ êYÕÄÍüÈî'HJöJÄhß'wÐC £Žg}àÿä»;ìâö¯ú‡w|?ôŹàX¢ìJ|SíðíÇzœ€Óõ†w3C:¬ÃxAjŒ]µO‘¯xËÓPSÂg\C &x;:f&ØkŒÄv€Éæ÷:æ:ûí&î½®+ªO]¡œDÄƱ|Q Ì™øÕ õ»@R© íÁîØü¬pcô ,³C +àvfÍŒÀùÁý*ÜÒ';ä ¤$ø­r¸qZ…g.œäÇ×IÌÑÙÊ©ùÒ+4SG[íÜëÛÁ«•NZaÏ¿‰!ÊW>¡H½¥š³ÿÔd)#¤™Â™©Øì¾³Üm!ÁÃKÁCŠTÚ—…¥ß ÚM +Ÿ1Œ"X­ãMÀZdŒBÐ|àõõɶœl6A8(Ÿ§•Ï¹`¨Í¥QŸ;cÈ*"ÒoX;]‘œ2Ј,ß%èü“0‡ìyÕ'Ú=,&\0œÎkÅñ²TÞZ|;ÓBÓaOö÷w’LÂÙ^¡–ûœ›!¬B:«(b¿<î;Ø|ug¶. äÊák›g,ÃaøT šôZA)"&EÂb;B³¸üÇí¾€äBŹ„o\¹08Æ_Çt¨Z ªJæ +Іá{Z?«cŸÇ2\ÇꀤÎO䘰sx¬p”J@,‘ßyÞÚ6¿Òö®SÌHg‰—‘j.ñg)Æ ó“Íø߸PÙ¯Ž¡ût´Þ…iôyGN`ÄŠc™„oo@h–èQæûZÇ{Ã(=k 0ùÀ4|ìÎB¡öÔ‘× ‡¹ý>Ý + æ['ÅU|öqkUÔ^î¦(ˆd-]_g• +aòÑ”‰÷ÄÆû6ÌãÛœY« °º®oCð]§ãÉîõ~„+ÓÖnÛ¬ÅÐD•¨–8/f'NñÜGÂît™:`*â…|¹jάn¸'J¡‘ÝБE7ÃúÙÈ’Þ—ïIÌ +¶>¨´š’äçy¯i6iç[î"Lõ èîÏŸQ¼7Ñ\^‘µ?X¤¿ó2Àµ¾·Uov%‘¤rmÛ±â!iÝbÃqÁˆ;#R Þmõ¹!`dSùE/¯ð)&!‚d±"ñ¶ÂáI9òN²ú¢h[#p^xYî#ìLt¸lKtͦÚƨc‚ AÚèQ{…-É9+Uÿ¶¬ßËâ õ[ tGßæ\æ”åS46ü)KÐÄjŠÐ:¼È5S²0ïD^C׼īšs©ðŸ+&¹“®{–ã?.`°Âõ @ôÉjï­øXÊ3zÐü¨“ƒÔ¿²‘Ϋ€}¬ÇapÞd@õÔŒÜ]-'â`‚\\ƾb V=7ò˃¹©3r'¶1Ï]Üaxý¨.RL³`#²HOW nည’ß°|„ïì:&žåó2§¯¯qu,yB4ÎnyŒ¡óÀöUº„ɬPšz½TmîÉmp&i…O–W•‚Ýb¶ÜZ@uÁ«òµ‘ò`ý5}ÙraÁý~«bãWâ(ñYcË¡&>ìŠî&mkÜÕ¿iÿ,ÄQ6Aþ Ž )&›™à4)TÂà·/Gœ&ÜÀs'ÖœP5†h¡­¹ôµŸ¨™mc‘Y<¤{Yº9-ÆàšÛtY¹N¢‡;;ìü ¢OiÃÊ~žDÖ>_‘‹v=ˆ`³]A4°}æ½7DÑš@«̧.}êÄâH´'è±óà³bCyÖÁŽñ¿W3Í!¯ëŒJcÞMw}ÕzÑn¨Ô}…Eñ¢* +ˆ‚pöîÃ/Ÿ6ù>ŠÚ’Žz„n>ø3»Ž…ÇÑ ~[¹U TÚÜØøµÇkß =ÚOЧÓul´LôîÙGÍâ©›hç;‹²fU½§w‘¥½À[ý9gû“-IGusÁŠÔ‹69ö’–fã sýaÔÃï™ç*0Z6B(¡sîŽtKùÄ{Õ˜å4o0 ýÛáu^²É% +*É nLcs_øª ª>ùµäxëÕ¬ßôS˜‹|Y†¾*1HìÖüH)Sd•£WͶìøÆBV­s~YõýÅÝ•eÉiefpÔB >ô‹ð9"k¡¢²;icGdv X\{?nx­è®ÑAöuZh_æ{FÀÅdáµÙ |P$§¬T%µèÇÄGLx#¹I˜I™±î}ÑoÓC¿u?òú£+ø`o@EŸHG”>w†ëùxZMlÜJ°öˆ9ð³öÓ ¿âŽpfâŠ@Ÿ§qŠv0D *?ùìAjt°×£"¶0Á«{ÿ/6 y×;¨‡:þ&Hz®³xÒÓ $Ð]UÔfèþý‡!=ÏOÙ%­ŸIÇ‘1P_ÕïÕˆFȺúÛÅ;¬Pöœö"Ñ]o¹ËÄho橃d¹á +¬¶$.nD<¦a´/¤¹à•˜,_†…Aμš}j'gf¡·ºÓZÂ.Ù-e >î¼n±N㟓¨¼U¨aå4ôýØ'ï"ówœV 9aú !•{oÏöRð$¤ìjÐÝKDÅìuà3›¢;otá`yºc ÔX¥×`F©_ZB„ÿüîHdü²O…Aö¾…)¼cJȽ;@¨Iâ—ÉÆw-3Ú9™âžŒÕ·ïq¶ +ɼO:RNcg÷í‹Fb«#‚AvþÝ{úåZ›Ñb쪻ÓÂ]Ðb}»Î¸1Ø@3ÞÙÙ\ÂœZ—S.ê"ºŸúõt^ùŽëÛ @£îyÜ„¼‡ÏÛô;ct‡ôq¾C†A’8ž•ûÑDjSjë6Rë‰Öø\ÇüYó€³ê°ÑóRðïrT ɽۖÞJ«¶UýU3gw·ˆ“‡A™+r&ž¥îu3ijV#½#=¿—híU>>ªZò'ÓSz~²ô™5ØòA÷ŒùFáà~Ua7è¦èmó›}ݧËág_ýæ—¦•–—îXÊ|ïþ_˜m1€'ü-/<,xí¼N¤dzƒåÓ6¯PY T?fŠÎ9¡.L³Cn½Ÿ¯nÓHj‚ÏWòº¯…Ž¿¥ƒ“sgÆ‘uá ÞpJÀÏ›Fì"&èŠdáý=¶X]îäû4*…N»ÖÒG¢äÄq4™„ÁOÎýFiŽ ¤T¼ëCXr3¦21©¨Ø/9jêÔ=ŽNlWW 3xý¸PîÆb-xŸÿЛŠ›°ÑEr­V½Éí܃Ê4y)P¡%Áܯ½ hüÌÁ–MìõgDdÂZ§Den0ž‘-q¼Y¸[f&xÕ*TžÍ^HÛ»¹kÙc,Þc +y«>ä—ï«ñ…i=­ÃüÙ«H`›‹$,Ý…«†Ê´Ô¨‰R\7ÊÉÁÖÞ>xÖÀÝçö(Œ^¹È:Çи·üŸôSÁeU8@V¢"-/'šÖGªÏ§Ý£HÍoLáá.S§øÕ Ú> +ðAÑô(,Ñ¡ u´R Žª¥©ʫ퉾ú_ÖCK/uk (x¿·Ÿfµ®í!€ø$vTëmMÌnßDÅ2GÄ„è2‹7)š%¹. +‹£I½É+“øíÊÞooÝH‚¼ÃF{ +¾!Y­\¸IS:W…;¿b˜×Ã#LH€…ÑêEl6ä\«héýÜ0aÆ“qM ü–=¢)ðáܬœOµµ×²²„¿ ÝeþnUÛ^q†J…É;ÃÏÇpÀ‰x蟕õA~ïÞ¤9 „;TFܱv¥‚ùÚZ]ÉA¨Ú=Ô´(p‹——oY¢ìKûA¾8mIÛ)NDxœE $ƒrýè Š£y‚|–§oD„À§øçO†µä•l,Ô ¶[ÙùUÆÖå–C­¼$: Ôý »ù®- •%Á+É·Àª×çfÛßÀÛ)"õB±|Wuü]½Ò?Äëƒ1÷•jXÈ•rvþ¸Í²P*Ö†w ¹ÞŸc{œñINX|Vêû¹í()æÁܦ¼¨ž<™g§!V ¡áülðߪÓ:¹&¼&[”µŒxðÒsôœÖ„䯑»pòâVñû²/nÙê"‹¤0¬>¸k +H<ŠE5Z“$¥” óÚ˜rzŸ=w¯Î ]³È~· @Í&¸<}Fuò.þœ¦¬Åé\Ýy3ÈÝŠ5<Ügr¬"áÏTc¿±K¶7Iª8ÿ@}cÕÉZ•ÑÛ$#Cá¯ì ,½þqRc€L³xËÒD©ž±Iµº?ôy¢ò7Àßð©Ì°iâóÉ$Š/ÞmŽ%b]70CœŒk.—?;§-aድQ+D:‰©ÊˆöÉ lP\5Í-R­“ád eÇÌ.<¹~`EZX÷tkSþc˜ÈúéqèG±W3ç´cŒ"DÁc«LçF—üÐ#ß­Yø0{WQØñÅJL­Cõp¢ «ÏOØþkÜbyå0¸OCo#×ð¼|ŠÇxlèÃÚ +yiáêùZý×]ðŒÁN¥ò{ ¨Û=©fÍ8ÉÀ>¬æöóʦ¤ß+k~¢2Å?šÖ¾V>ÅØÊÔLË¾ì… Zx‚!jMÏ¢¼Dõ@”tG %XÂódš áǯÆ. UÆ­¥j'fT2º×³-^O¡>ÖÛövíY—W<Û¿¬²±û^„ñŒ"ûÊûGð³ ¬MÿôAbÀ΋ÃR+ÊláÓ'‰†3HƒÅõÛDMÖ¯Tˆ4†I@ùÑ,­KŠ3ÙLÂ4Æšô>@ç +º 5GÌYc~×ö<á.~æ¥/GÏO0™]T2ÌÒœÈl«Òn‰ïðàd¢>}¬3“ Þ«¿{ßM_Ÿ¤¤¦í‰´©Êì]¶TçxŸI#hžCƒÕSóÇÞ^OG@³Ž½0ûΆJÃ^nX»A ±Ýª·r¼Ú +£´Q ì§öqÕP9_7h‘d%*aÏàeŒ¥¿àG +òôÎNŒáG@6:ã'ï§sÐvyW'm©®t;*.yF>ÊDÐ ÚnÑ‹Ü…?»Ôô¥‰<¢kʤãÕ^ªišnSW •†£Ú„צV?Ÿ^m¸œ‰CÓ%€ßÛ½çGkR—Ù°^ÔÊ1¸C)ìyÿH´n¾ÉYÒ¢åuŒ|ƒœ´6Õpªû8Bª<¹:pxy /ŸñR¿nÉL ¯?Ò‡=JHx¥'Ýa=ÝÄĘúF2½Bma|o䱜{JNuYjXŸex¬ËkväÕš¦½àÞ8©±ÂéC–`ƒoB51ÿûlömeèäU.p-äïËÁŽ-¾ö×*úéÆOÄØĽR¤Òüt ³Äk[  ¯0³Ñ­‚÷ ÐCxÞ³Ïêþ‹Õ Is²òµR=âã}.)ÉA/ËÄi²—àGêžaÛæ8”N u"Q»2¦üîa :k.œvÃÎ ‰•ÿ^ÞBV%Ùò4xiE‰½±–É›û]:o pÍ›m-EÔÐSxÑIÆ­u-…ÑM­E²h(}*”£‡·´A`A—,Raå™_²å¬¯cí|5$Ðʇz IcðÛ}2zþb¢šãWÄ‹ïÈB˜¨Ÿÿ¢ßöW<ÃFÊ‚®Oí¢ï«‡Q× +8–0c&íf~³—v´¦ wvº‘ïcÔáÍZ·Û–=54]wdp*á§>…4…hh>ô! ’­ÄÀûï(CæcAs¿¦Ž]ÄQjg!—ñJË_ÀL¹,÷'r+sá0#¯µ™©Ö5ÞÁ)Ïå§i Vݾ5p íçšB7pUp_ŹO‘0ØB +Ò’lz N¡ºúû”´…•ÙNkY ’­^òô×÷œ~ÒC‡i3ãŸ,¨R2¿À}ÜHô†Ë¿“Z+¿)ê>JDÌíóU=ÂŽÄE=·äšõó|óf<Œm•V86ê¹õñèÁâ:5ŒKðá’r|ÃH#‰…Ͻr¶ÏɼðɪÅnÏ**]3Í +g½ø£™1^ËÁE?ƒ14P°JO·Ö;ßëT>iE‘,²‰¸Q¼‚ipØèÆD¸x Šª à&ÁjC-q4\šŠ%”®fSJIzµNöâ4å7 +† VNËzÑgè!˜Ä¿[Bä‘i|æà5éΡ¦ÌÑ€æC×ZúÃKe¼Œ”¾³—ÙÊÚé+kv0àáyCìÅŒéÝø§ZÏ‚­ñ0:ÆÓ¦GY…EP;×öñ aŸ¸ÒõhJoÑL=›ƒÙ½že……Á»Êr–2^bkU­âïV(—žêñR§’bc6îWQ¬®šÁºr½ ‘†8J1ýÙgåY•¥\$¢øµç_{oê‡ËÏç6Ë{uÛÝ°£’Éî*Ø£q䡬¸n…£­ÚòuY ͘0U$Û…í¢”¦˜ÊÙÅHÝ̈¶Ì®Šº“ÎOp‰d×~J¼Ý‚ûcåãÐ`±ß/y8 ]õ²F–¶¹ÍÑ:>Ýöéø¡ð½£2Á’gü]¹º—ô來C§z`Ü}´’‹(‘£Ã²pFà!²5=Ç­aŽ@à`‰Ÿ){Ñ$kTa̧ÇPÑ…ÃtßYkë×Ù<=ü€B »ÑùÈú'ÈEê•JŒ>ýW´wÚ¹#誤=á¶t×ÉüRIn¸±ÿm?xWVC6S~ 29|êý˜ç‡Ã +ù +g·ÓíP‡¹»ùÄ1¶\Ôù‡Ð ¿cÚ=›gAY†.ô†œÅ Y`ÖõÕ(›.ahØ0Â=ž)¼léÓ߯¢ ··8.á¼eŒÞ²¬ÊŽíÙÓŒòÈ5«¤pQÖ“Ú†–]+kâ±¥CS4¼¶4Ïy‚?Þœå]q½ðAáV´èºïN$; £1šM­jëÊÐþ`‹‹¿Ÿ„VpºfÚ'µsA/ò½¬F”>ÿá#”Ú/_íÁ®Š @xOŠìÌR˜Ñ/Ñ@_ÄaÐk²“ Lmë…å[8Nq{ÅžãîØÝü½øÛÂ"bu4þL¤¬0¦?Cƒ†lF6Præ’ClGþ¾B œg»‘¢í*¥}º­Ú#&žV§”hߺÑ;§÷ó'³¢ÐΟ¥?NQ(CЇyvÜ—5„zÊ—¯¼¯l_ß{èôª¤ ÈzÕD¸`?H¼¬P"–»…+,m…tâSOŸ™6æ ¶·ÈÈ*í¸¢)Xq’ôAæŽ?q¤‘À !;K˜ÖÇu%*ôÐ>ˆ¶1`JnË,­1ÝL$ÖâFìüüJ +‚”iä:WwêðSGã[®&t8¾Ê&Û Î„ ¥nŸLS‘ä{ †«T5,S™ ÒQö +#8÷Y[ï%*&ÉàId³±/fzn‰SÎxÎåÝ÷…}ŒÓ›ñv“ªë† k.3š³åZR°ª +ü$UâQø´¨ì6tIþnPõk[B[„tÅ6Ôj“» ä\˜²Ì—²y… ÍþÐpÊhò/X+àß#B±Ýý¤{ÒÛؘ[߃¯J‰%“,vÛäNq’ÈÅö!ÚYò_  un™`qiBbîLi÷h˜ÑIÕpÜa½x+áÒ9eã‡ÏáŠ-ðR"9-ĺòñð[篸Šm0J·jô%q9’ +¿RH‹}%Õ™ÈR ²ÅÏRàbÊ-Rd>jÀa~OŸÂn6­Í¶ÌžûU}àŽyvƒX½y\_žãAn(c_ë³#㙨ÇwÒb—úÖ÷¸7]G¸ÈT®ÀZf +}P¥’ßù›áÄïW Ó$™Zè7•ð‚}iߊñ¡õãT¬¹›ï…àï7L D·Ä +y(åºßð}¶/ÖMof9ôÆÜÇaÊoíï²þj¶Yñ4MžtŸaª¢Û 뎖cÏngj¯œ‚°—&Ÿ½¨ä­ êßå5ˆäý‹÷ãº%ÚÐ9NüC¾sf‡+ª¹AQ‰Ed<¡ŠôMÞ[¤d†§–m¹øªQOD–‘Lï£_j*03pˆ9øÈýxšy¿$× yµWÄùal¨<%eòÉw8ä»õÕ‘Ö> +Öý‡ú©jŸ­CENBÉYs‹ž"(5ë®úWòu¬Ô~½É’?øzûK5‹¶¯-~ Ñlï"›ëPùÓ[²‹ºË³³·›GNü¨èl$÷|DWM”רBÁ +ŨËØ`=¯á{ý×Ø28JTÆÜ¥ *qð2l TI^èS—c_;ƒEmrN*ö{7Úe-š€Ö …/aÆn«æáå?þq?Øàæli#Å]ŸB¬a¬¨?Ý;vvóm:ëî{ÈdQ-þÊž6_ŒŸ~qíUeô!”sSN:¹£å•}æëÝ9V6Zö@”Ž!´×)òCÛ>g÷SøÂÏG9Óèkë«S(ÎÞܘUÃO¾ó°ú|i¡ËÊX˜GŸKŠ Õ,Äýø}y¢cŒMÃßp)µpÁ{ â½b¬›EJ2HxŽOQ|G¡zGªûŸ@~Œ±!ö‚‘Á<Þ$NÿÐÑ`;‚ô­ßßÕÁ• †áŠã)*vAÌ%ì j쵨ROüxK@v~fW6qîÔëô®3(âMØ÷4¿gbÆ4kwJJ\!]8Q©-u#7ÓU¬âÀbø2Ù=óiòñ)z³–J»ÇšÂ)kc‘/¼ö–rÔ¡r¿×ìm(¼‘äg Š¢´)yà8)") –ÖÌ:„ËÖ àÈ îúqô ZcðËR¦“2²æ¥Ï—Š.r˜SI‹ðá°Åšöהʥ¡N¡ÌX³¯¯]þÚ2ºf´«]Ýõâ€9\®ÜÞ +Y6¾5äÁHh=/Ò#ŸgÏ5Ópè>Í9¯|BQ ¹§äŒÌÉ-Ê#&8{‡–)ä]$¦O˜Ç^òjGU®ŽlU_ûʲ¶àn®­’YìOHÑyF/Aû¶âˆ²r2h!ݼ긧™à{KÑ}¨ê©Â?+@t_¿Ëx/ä9„§P1Ïj–âyv8‹«cÔikŒ¤ÖMWê0C8"çÞÕý©šòDS•àßûZÞZ¿ž.u}U¹!ȇœŽN°Tlì«ù¤TÀ¯~Óá6®–‹õ:QXÜHt¨žðäøÁU늅ªdQr .PN€1ʤê?7ƒrà M^ž)2NIWseçÏ]‰òCS¶NUþöñ;wª—¬ÓY áùNW÷ªÅu + +/n‰2+g >"F5:$P£çø@EÞ~yöDÅЛw^´z%áK±'“’‚!£€ÍମÚ9H ¢ÚVÞ,} +Új¿(XytyZ¼üZ 9À¢(<” >Û<«*ºÉŠ„‚SäL·?Ô¢èÞCË_ùšYºëu…f ¦êgƒS‰lgœ` gRi9üë b¤mÕƒfùx:nš¤ZaFGãëWk^§Èñ¶5‹ÃÅH,çˆx•|,ÁóYƒC9iÿtL³SF:KªVP(ÿÑq<Ç›1ŸÞ<¯Íh¶XžÄ!úC’'Ža¾gøCïÀ‹ôÄyELÕË +ËOÃ$œ¨?ùÞ›ëˆí¶g}§ê²†Í%øw ø2 PÓê« +¤“ìóýºn†+|Ø͆=Æ!Þb62ÖFòŠ«f`ö7:fæËð©øn¨o…z’Yξ˨àwšg8µÐôù +¹ðâ 2¿äHxN ¢Özàõ}ŸÒ‘¿ Øâù…&Zò¶êTV­êòJŒmE|6ÏôÚFÎfkÝï¶+_LüE´îrh›Ã guXÍ +kU½°:/Áû Ð>òz¯–nÏv˘̠“À; žªNaàtC:ç«]%SFNPžØUåñ˜&ÎØÝHjË«¬ÁßÕMeÐÏä ãÞé冥.cªm¹«ÇpþF.Ò}AåÙ_¥ñ]Sñ(‰g« ˜ìÀ DI¼º®”"„?Ï°JÚ¥Br„¨§9(”ð×$®¡§hÓL S¡²È”›â½^Ä‘<¥n¬ûôŸÛÓújMÄŠß×Bèå±ßCvˆƒÞÆ÷‚û×):r²”KÖçÙ<ûÇé3Z^Ì’1Qò5¨u¾uuN´h‹ÅÐõF çüN´ùËÖ úOˆ¤ô¨=é\-o‘@ëxƒ¥ã4Y˜;›,ÊŽa,:FªÆ.A_–€ÕýÙñ‰.ô§ÚÕnê¨a¡aÁ ŦƒQ_Û¤IÔ;-´­æ öÀ¢Qéopf™O6"C<—Fí„2»ŸŠÁ>–HÈR_VÐ4‰¯5ûŒÎcƒ–ïÙôÌuªN")£¹Fµ½y¤®É(A0ÂËž¦Ÿp{T¶‡gtEìL$ Š£knð¶Œu¹EãÆ‘£þ@ç)mMÂx-ʧū©W¨ŠàÊz-à€¦ŸüdR«ºÇ«e!ÚqÂó³ÍÞ#ä3„Ξë"œUqD œMýÞ\8³„è½^÷ˆˆžÖ÷4I9îåË¢ÞÕšìÕ"©O$î)´Ò´ÊŠãtÍœï]±EÓþﺈàÌù{g +ÓSç,ºgÁŽª’p®‹à§-ó&:~b»6d9Gû¡·˜O²N©&΀HrñYCºÛ6 Õb'5³¥YŽ ffÄ=èEGÔ’Oýž”·onE×>Gw/]å¯ C/9â­Òä‹y¼Ri›¾U²Ò­Ûc|‰t«¨ +›ë¯8hîM›CEÕ¥RzÐ.¡&{šÉyÑŒºj8þHÁ榙Èø‡Þʽò•‘×z2PRr‘z˜ñ¼Ä¸"†þjE5T'ÜŽFkzµF21ÜÔ9Kþk¶;öZE`{ !«Œ 6B®×ÄK®¢dàcLBëa÷îúšÿv÷äEšZï³=²lå _lj Û-V§.2…'oxèøÂc†.%>ˆ;jèC4U4ÙZâ¬ÝWˆ¶É„ù'oWàs¢Ôð ¿óÅæ,ªàS"ì±a|Æï/49_ÊfÅKƒ¾$¢±)€å´q羃UYçv´ÝöÉšù!Zý:0Æì»'M3½•íA¤SÊØ¢×!Gi\˜Krb:üúÇ­ßý<ÒÄx…ó1œ6h§¦ã¥ôFˆ*¼†äles°>ì$Êf³Ídf:Y°'"v?EbØ€*jÞ*L¥Je0&׶`æáË?hĉAøåaÅU›ªüì¯Á¯`Ñc€)°ŒþÐ –(ú)ò'ܳ +êgùÄ,×wÏSU^·>š!A=G»6S¤HÅ +V«CßR7Dr=/ w¬„s¢†±Ah"˜äÀæòáê“i8£`ê·DV&=ÛZ!m·ft'-ç.ªx[…« ý‡´˜ºbmp·ÅŸ([NŸêaü8÷~ª$И +ó‘SLý¬¾¸¸ ¿‹ðÙ[¡ñ£—ìæ+1'":÷ûÞã†3'‡)€jNq 噟oÓÓøÀ% @±Xn f: ý2üi°3ƒ$KfÞÅíý½`gÕ6H‰¥hx…y +Ðow——êži¢ø|ˆäæuâð4ƳËÈ{w;[»&vg…¹X1 ™ºÑкžÉžeZÿÓœI'çüñ¿w‘²{Þ¦ý'ß)šË-Oeþ)¯oõÁò4 LV‡]FÞ¼xl@Q/”åçø>D£(æP+¤—Ù .Èc`ß;öÛƒ¯ZfòùÚáÎ7g{”ç>åŠì媀 ]Œ}˜0(§´}˜žI” ð4±±-jGF _`¶í†rÒR8æu½kŸµ©-á +å¢#oÚ\^ Ë³ƒ¹/ƒYKæaÇÉ6m]>Ïú/è@iHÌ;ð ¸Ëëúú†¢#½]¨¸Çœä“C‡×*Í”¤,?#}¥íK®fA‡_ô-~á~JÞ/›îs2h’¢ä'°?ÇöîT^y¨A¶ö8M&òO ¹2V>Þ¹º§7Ç<¿{/F3²b½Û×­.ÊÙºJ2¡×e®weâ½ì1΂Ï^QÝ„¢¸*#núEž.5qZŸÀ_<ãѱþ@V˳ޥÆ&ãi}¬ŠÝ·›¨© åƒ~^þ·Tìê@;tXµ¢[¢'p7®Åˆ}GóEé^òØó3±ôs¸•jÞÚvæ+Ùmnµ8CoÅ¿wm²Fh z¥Èx宦û$ª€P©ù}턨k‘=ÄE ÝjËá~ISÎäÖ[=©»IÁØoÙ @è¡~f»þÙÅyŵ0³¦;9¾õeyd$”ù_L7úz +ô°¡IÆú•£6RmŸé`Ö°ÃÅ.¤Q‰É¬­°|Y†sóÜa´*è8 °%ˆ Ð$²,ÏOfT@*ºB§”v›{žD€fxxÇ¢êbÎXåj~/³ýÐQ!;5]B˜Cн‡åÊÔÿÏôó§W“ƒ.Cì~Jb(f3}yX:¦¿­¦åG=m€-ˆc>hË£«„í›ÐæþäoX',Ù½Ö‘üã‹ig +z…6ˆãªÝ†ë[ÜBuyà]Oo0¸«rnq¦f_ðX>8¡³œbLO³Ù‡¼Kb’Ã"«& +!Ktöæ¡•¬váâaïS°äqPà>Rè `pªm›ý€v®SñH?·Hž[M!%¿¿Þ:£Ï¢-/ æ!½š°+#l +ሜS‘ÿ[…U¥q5ÀE›‡æêlà°þ#÷Á –²X­~[€ëè ã¡Á bò8i™ÐÍWèªh‹§›áwR3l¶ ä—Œµ·BZn„Ô‹Ñp¯Üç,’%ß cˆ¯N´S>:eç{¶ÍŸªAÂÙª íÒãxrf„,V_A% +™",e:Á— +œ]u(èM²:ïk×þ†~¬‹f4 ®sÊ“îqÙ§=CÈj¬ôöôˆ>Rö~“ê*ròKes\„œ$•þÛ `„‚¤ +‹ýÁß­w†ª_H†A ÏA92™ä݃S!Ýìâ´‡0QÀ7 Jˆ]ùîY‚¹“Ã)³øýCç«ÎDm-ÒÛUl—`Ç]-иˆo7Õìæ Ä`ôl7L$$Ÿ ä¶M±L/í¿J¡Uz¼•v¸èÏY·0q<@Ñ·ámD<4{é¥e©\JÇDQ`[`ÚãGùÚÍïA–Y®*Yvíû‰– kÐG«‚ìÃÔ¹Kýä¨N6Xå=|Ÿ|%s6ê캭4µ‚ߺ»°[ŠJ"yY å8XzÚ‹”âvžê\õr»yŸ21Úƒk4 ‹Zåj%eÙÝœñ—3[iGI¶%)ÅåŽKò"tÓö9ÆÄMŠê˜Ý¦>{‚KC:@à¨mp¥îó‚Nw`+=SI ¸aYV¸ŸæØàÝoó&t7Yå+¥WÍ}¾i¥'2É‹Ý´Ž‘D³ñ–X¦F7Ê>ö øÅ©[¯·ß&rÙzZ5W4m˜â»åVûߢòÙ ´ß¬)i›ÚÆ°F×@ÏQZŠ}…a˜o¹ÌÙ˜Sq~ª„ÄŠaß0†eìgæÄŽ³«Ý$º ÊE@È •á½:ó=gÍ6…e»z=‹à,„I©™¥tûݪõô„qeƒ*àb10¿ Ý©8HÙbÊ4νúPŒì¤ˆ!ö}ø¯éé:ò9ªÓVèȹßÎÅÊ;Uþ[¸èÊpµÑY‹ó 4"ÃÚnLȲ])*Émü˜Ú‡gæÎm€†9ÖË_Rƒ™ßÄß…2B?C½øÞ6F¥[®c±Oîæ³ÛÒP[ƒe~Ã\Ú>‹°ëTß%bæF€M‚ËPAðó _gKÝ&ÀTÓÆô„=·Ã2}µ…±¶plxrj¦Q +Ö½‡é½ó<šl lA˜\>g¥ç¾¨eTãþÖT‚Gù+~O]Ã]2&/¶Ò4>Çÿ/é]/2sO~°Ê{µè_æ8¦Úgh¨­¤ƒÇ«ÃBX‹%›Véî.=\Û>X§V%1Wg ,³HP÷íLw`çø°]™¡A“Çn±h|÷ÓftÓÃpei;eåùeKz4ÀŽnœ  ^Kw’ ¯‡A"nÝ*i¿á€Ò;™-uD«ŒwB¨ä§v$c|ˆä¸%©9UÆX%ØB½Ýhmc%H Y&M†>äq´H@“ŸÍ(ÓÍ­µ¢à+ç2Ð?Nˆ™ïS h4q¾¥s‹.;…1í¸Ø÷TI ?Š—i&h‰Mñ#2æ°Ef¹gyœ¯áG&àlRZQ$&æ±bö ˆÍ©ÆUr±qÚY=VʲÁIŒ” 8é‘õùÖÙ_næc +Rq„Ôž§Íºè¼»4ÖtANÁÉ`›oíÈùCØÃä}tÅ-¦gÞçæÅi4¿gž5I‰;|'‡‰Í0„4…ã +šg¦äðÏÜ5½ +jí?èUý8ó¡´á²ïQ®•‰„Ö¥€\ϹɊ w”>baú­—öØIZò±"0ŒGèBvõÚh3Tŧ1"5ï.€Üº÷Çb³¾´ß@²r2!H¸½–ÞüÛÝÛ›7õô1­'$Îε,†&P|zf«è# +áòWJ„ù´~• ÿ܇MB]ÏSZcã²k¬ªÙ w·`P°kƒ“S»/Í>Xm\•oz± ¬@²LæÏËÌß~©Öa»¿w$)†‰ÅAt º"²&<ÿ¾MŸWƒfš¸œq$+ѧ¢ò +endstream +endobj +5693 0 obj << +/Type /FontDescriptor +/FontName /OZMLTC+NimbusMonL-Regu +/Flags 4 +/FontBBox [-12 -237 650 811] +/Ascent 625 +/CapHeight 557 +/Descent -147 +/ItalicAngle 0 +/StemV 41 +/XHeight 426 +/CharSet (/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/a/acute/ampersand/aring/asciitilde/asterisk/at/b/backslash/bar/braceleft/braceright/bracketleft/bracketright/c/caron/colon/comma/d/dollar/e/eacute/eight/equal/exclam/f/five/four/g/greater/h/hyphen/i/j/k/l/less/m/n/nine/numbersign/o/one/p/parenleft/parenright/percent/period/plus/q/question/quotedbl/quoteright/r/s/scaron/semicolon/seven/six/slash/t/three/two/u/underscore/v/w/x/y/z/zero) +/FontFile 5692 0 R +>> endobj +5694 0 obj << +/Length1 1630 +/Length2 9604 +/Length3 0 +/Length 10449 +/Filter /FlateDecode +>> +stream +xÚ­weTœk–5î\ ÷Â=8Á]ƒ‚P8EáÁÝÝÝ]‚{€\C 8 Np ¹wº{Vók¦T­÷9ûœ}dŸ÷YUôÔêZì’Žf YG(;S  +¶7suQqtPf×Y¹ª™Ù/=½4d +;:ȘBAÂ=@dàæp ¡Ñ¤ÊO.9GÝ5hùYqw«:ä·#Š‰Hb•Ï'óslñtM—Kïýf"%Ü“ßqÓ!¼Â"šü›¨¿›)[/,³:[nGp*ÝDón\ÖV44ÝÌ èI€óî7ý{fþ<#íL/¦XŠ#«V +JóÜ•[“ã¯gÏ®¹ÉaÞµÀßoö ŽìM,µŒÎªÃ¨ ÚÎ’Ïô¿ 2X§âîÓ2›TçÃœžÊ°—¤jÜx¶ñØ)Ç&£ây÷Ó3£š%0™ê•Ž¯Ë0€y À쬮þ=ÿ©Ý¾Ji’*Í,¥y{_ÅÖ¼¿!YkVh&*ÜM±Ð‘ä–]Û¶ u w3"胈TkÆ0­§·°¤ý0¶ º!:rÈh|Èz‰Ø4s6Iì[7*úØÊÁɹ½˜õ):ûÇÎÅ= íjrþŠŠá—êÊUÆ{O÷7l±¹û¥4×æ0­Ù†Œ¼n)çþ8¶¿{– +_fñ 5­… +îŸÑ—kÏoá| öæxŸ(i³7dÙž‚ÿ^Ô?¯ðYöD58oôh’%ÏŽkƒdq/Ÿ ‹&çÊZs“¿Á³&ª™Ø*U±”cÿû<ºüyŸ“]„£âõ„@3*Œ?q3«‚¡YŠÄ˱®f¾³¶ôÖX9"è\κŠ ++W²¿:)ÿjJ£ÔêÇxq†Áyóg¢Ç‘×&&)gïl iñmN»Å¹IZÏ=îdºÏd‡Ü}Ä‘À4òìR“õ +¿ÞGØæúM`:ÿÇ`8ÕŸÚdï¹hÆduZê +!ó:H 7üÀ½ôÚÆdËž•†+›Ü óN…–ü]þ{$Qûh-õHÏþu¨ʶê)£<ÇÊ/£{Š³N^ƒoçÇ¢­,ê1ÁDnvU•'0ôSþ©â—x¢ý×VJêQêíé“÷‰=~E„™ýž¨%Õ¦Æ|Ù0ƒž'^‡=êMÿã|Úô—qK[OØ®¸ÌuñÂç¦ÍÄhaüŽ=¾vTæ7½ãg±²ÈÜ6%%T²–Vh=6é4Ï%ßwcU)ý™Ö_-ÚQ¹fÚz~ç¯ +cz÷ïÊ…­µO˜žÈ8toËÌ‚l)y*ÆÏÝÔQ5ºeEaX6y*#·§·©{…˜$c¿ÛÑÈi5w9º ÓnàÓ%nw²ÓeéÄ%ÔbYô:ÝpFē܆ý´ùÚŠiô;ëü††\ÍzÜnQßîåÙŠCrýï¨I‘<@ž—eŸ<£©4voø‘oÌù{ÓRmP’-D÷“$IÇè“jÌ÷ ŸÁsÒhï{»¶€=°Ú¤Û×(ƒ†©Û‚›m±½”›Øk,·U–€u”=Ѭ»’K~Zazhû«ò ‡h$ ,XC ‰6:ëѽXxë‡W˜™hœ[ÝxfïˆÔ ;Î-¾µà&YÎô&¡3/YR#ºüc46r3a{K‚_jÇÌ‘Ö¨®år‰M‹?€yªß|ý ÕDLÌùßt5\…ˆñ/£PX¨ŽÎ`YÍXéfmä—€ 5Ú°Y´•xC6±±–—ÞÁ{«À}Ô˜­Fá«?é£\Ò‘»¦²¼äBÊ'hî™JNòÙÕ?ô#vE”œnhÓá®È"š8ÂäˆóR%É||^¿Ue²_.íþ'¡‘3~˜aœ47íqcOdË™„zòSÇVõ€V†nª±Mäg³5ÞÍÒ<œxŸ 5÷zzû¯Ïi'NÌ3©'¥×¹« ý˜èô»ë•u—͆/&sƒEåFE†ß]½Ö6Z§ì](™ÈGàj”¬—2p,¨IýS´úéï›ÌoB5~›Â1–&:PÓö„©yÚô‡Ê$“†)7¢‘4û{ˆÂ"´±à“¬ÉÇÀ …nvÞ8À¹Sž]o´Ø„ø:JªÞ£ ƒ†æ©ÞŠ‘òë#ά|RàÄF¹GŠÉ@°°W­psåÊ‚ÜC)<Ž¾à¼¢“þçC{bþqv¼ÄÉô³yi™•šøcá½ó)wö½ø¹˜7ˆj5öFlï+‡çõ!<Š¬æj1¬Ò' +"úx?´oÖ_eýäÑkÂ(”Ö™kg€G¾²¹u«gÕþ°i·â~;þáç;ðñ;”ûË’~©ä@ù‡Û«[.ÅÐ}Œåâˤ-$&œºš‘ Åà-‹¥Ó[­·búG^¤—ÀŸ®žœ²¡!pYGkk”” dú„N!1¬»§=ä,º¢-/…ÉèŸIÏT|€KLþÑBÁÏÊ°Äa`™™€W»ÉOŸúæ‘®]x|ß“Z]ú[3«i’óëÊ Ì «v±Ü÷¼É¦ýåɶ­\©ýw۞짟vž"llïúIÛûEãçѨ³|›ª/¥ü?-ŽHX1ÁþÖJ´]ÊJiÖÞ<`k®7© +CO³axCU¾ΆˆÎ•çUò˜á‹b™2'ʆø!| w³ÆT™‰n‰‡ªè/Ëå`smWrgoݧôŽ•e¬ð´ÚÑÿn•`ý·I®¾*xOÈí4³ÒeªðºŒ©¾¶Qeb³,ê\®»Cw{ŸEPö$–l$ð o‚·'“6ð]€J¹ÿ=X󅱼蠻÷ë3 ?G?›ó.öç„DM—~‰·ùl +-iË:™ ]ͽE$„Š ï;Âê9FLâÃ|Œ¨Zíáþ”Yì˜Cñ”2gî +¨"M½H`æ±ußw_[Û1  ¸‚Qy“ÿQ&E_ç¦Óœ"2œûÑQ”ÚÄã6¤à«!{“fåè +Ý鯆qÔt&\UC´yòüUÅL·ý>€Èvä—£™ÔÝé6 m6†h8燉•ï•-`{¼p!¿oõy+ˆ„¦€–+ òu<ÜÒOÉAW®Sµ—Œc +…W{°eh¦g˜V^ñoQ´Þßãî °£XeÍñÛ® ¶Qq=JÑ®¥ñÙÏÔ‡oYågwØà€µS5SòÝ?ß.7o#½!œöõ„sFóH3Ýu4ß Ò¶‰ûN^Øosùî|Ö—.綣#£ÿ®éÜ­OŽ¬-0Ûݤ§ïX–+{ïWbhí¶‚om†ÞÞøŠ®Ýb\g‰¥·×œ€NŠ¦ +ÍàÛ6AÈ„wΘ W¶ç.÷c&´ O>L­Cp«ÐÀŲ§ÿé•´Í«£nƒê 4â¥q‹GR2ðFpçò+æ,Y¬<(#’ÐƹSÈ[-Ö„ +l²Ôàw‘6 ´òEÑ1 ÄBY +DFD}Ó¿˜w姮š®YÒÍ¥,5 3ïìö¹_‰ë‰®Y+Km9S©fæjò¢¡šRÖ; ÊÐËð)úS"mŠWG‚J¸ÝGËD ‘,¦ÐUJ#3Õd$44;©úÜœs‡åZì?kÝyҚν®U2ž¯îfÇõ=·{7ݬ +p­OÈF„Ö|ðÕw»÷•a¼Ï÷W8ïÒº.úr†ºº¾Œ,\çÒM\ìa^`?©VÁ¼GX{w²·~3ß«*‹ÚúýýÅ|÷VxèÏ gλ矤â|-ÕzóÊÎR +Š {u½&xß]C -1G³ßWF‡YZD¦¦i)æø ^åa½º=¹ðÝw“Ñ5O{núÖ®”l}µIÖ9àTI +%1X¿ÞZßò^â +ÃŽÈiùÝ·ïe_-0K¯MùlÄ#w±ü³ž‹ôf[Ÿ_¼gߘÙ\•½ªÈðl¯Ò=@`‘©‰ïÉR”-Þ£ >Ú[1`õ’é"ÔÒ+Â!Õió{]?Ž¸¼Û™9{e¨v¸%ÈcÂû vgm’$K#az~Û3·ßñΨ Lᬠ+ÏCkÐáïÞïö(Ú`¤MC%Âm»9YË–„•Jè²’‰idiv‰>ÿ4ìK®‹¯úy|ÓÉW;p]M@š=¯kÉÄ{E¤>D÷´Àfhhp„ôI¾ÓÓSb¥.˳ ¬ŒõÅ®býY·­µ±‰{¯È/j‰"à³¼™¿é$ÑË$æÊO‰Œôï1ŠD¥£Ênu°vÏ]e\¬FÛ®Î\ÚáÉ6÷Ï»Éeï!M ƒóÝÈ_¦4 GL­‹ Úéux¿yíÄKcú÷‚UEmS\BÏåìhÍÔPƒCE~žLY+}S6ÓãrØùŠRþL,ø…Ì~ÓO[õ3onœ¾bËÉûÞ^áVA’^ä¾€@£ÞÞˆ ø¡C¶†V²“ÅÄ}+ð¹Ô=Ú¯ãTyá²Ý]÷½ùè`²;p,ê|çX™íäÁ/PìÁEú@ç a[¼@üùEßÏÆ“ñ|J¶‚” Šx‘Ãh¤òJȯ•c‡ -|OM‘2îé^SÕ¹o,oïÂáaãK”AÝä”õ+°5q㶑²3ìê"‰©ñÐ[±MâºúÌc‡ñA +Øiúºk$²Yú¦K1’Óã¤FþÑSáF(¨ÑeDwG4ÝEÆtåΙ訪RsJ°´vFÂbV˜ââd"¸Øi+3ª¾³Î ;æîSòl.ue<Ñb¥»ôWø1’úC¼ŸN ½ 6ý©ú‘ó6±Î]cB‡oèE$h¾"<¬™ùÈݬ[Mĸ5NÉ%mºLs_uœ­N=×sˆ0ÛÂx¿màÿ€ÐûéDÑp³uz?ò³,)k21„£åé÷,œÿ°ˆ{ig@åçñÃ}ÕǪ…›öî3¶äÕ—Âò¢ƒ=RÍÑŠ†ë×4:MW¯wR…â0mG©¶?vÃAà›HÅóNËEFDÑf +þI x™:£Y¶†(Cá"’¤!$ú’Pƒza"žL­xlbl`ó*…±Ûè3@')Wü÷<Ê‚jåê§â™Žk"T¢á’€¶@òFéžcv§R{æÔ5cXHý×R)nùØâv5£ +ñe|Î/5²„±M¼¨]Š5ojz ëî®vŒâTù+õa¾Ãß̳™¢JŠmîÓÇjì¯B<ª'`Ç·Ð¥•{!ß‚Øh™ã7Èúè$Õ{;1w¾ždHΫÄ4ÆwÁ¦êZè:þ¼_×Ö +Ùl?Ë8¨Ä9+|³4W„Ž¦_ž&¡‚&iðé€ û ‘™–^_mó¬ã:,o¼#ZhëÇ„«DBOƒD¯òv؇^Ñp‰4Ûõ%’ÔºÕŽhò‚m]‡ž—$èü¤%~xK¿IšŠx¾+ˆ ™^=V°ÇèÎdÜ+†(Rü¸'á̾Ì~{bú ž}»/Q#IêAVèÂD ì6Zd¿-Xe]ɦ¼MH£M½Â¢ã$~±Ã=¯ÿéëpù«Bv9ÆÍ#æŽEïT¤yù£±¸r¢–†8¼ÊU¨döÓôŸÞù'éЯnýøp〱¾FJ¤®â}žú däáLÌPœ‚ƒoœ<‹nû]QÆ‘o'9Ž¯[ Ë]«SX+Ooû㯱?òÏÞh«Ãs—©áS„y\$ „6ÐWÎØÚú|Á”9ôI2-Q¥ä8šhù¡´Òªlp÷ÞBæIŽyT )¶z+›ÊD•Ä}-ÇjšÏµúö•tÑO*þÒ.?X–\xòÎWŠS…0ÎÐaE`d¤³òsúyYæŽerõA¢[Ô++›œ:ö%P]䬟c¡x¨Óùc»wSÐÛ +íla|ov©%È·a—Ù:-‚ ñú¨FC¿–ßë›x~±ÉÚ²¨gG&t-Çò)Ȁ„W²^x•›°0‹£ôdÚ=ç‹ÐʇÜãÔÏ•j…C3,<¨ø´ƒX +«ùþÌ´õ§û¸}´½†£š±vïaE/³MTdx­*Dß­,«ÌlûÔTö.iýG¢«"tôè£Ûf §ÛWÉÙ¤0ÙüÔ%/õîB¨¸>²i¯Q}}FºHµ¿)™`"J¸ÝÄ ‡¹¾¡ìÆ‹A_· ;•WMmóÂ’ÈR1&ÂÁ.Fo×ËvövûENøÑzæ¹vYÇ|m€þ9:÷øÌýÄpŠÉ5]”ÙšM·39ZÄ‚1²ó#šœYÉ·°\“Ð,ãÖ«WÆQ³ÚKçnZ“™«÷Õ¯T‹(~}š .fNeïé©2Ë9ÿí Y,ªþî+‚ŸKtD9®Úb%d7pÇ, ÖæÈ~=³9©ã·Î@5þmÙÝ ãsZýœ³ï¶ïEH™Í–Á‡—±1v›Å±¢0€ÃÊôÀ]‹Çk6:ûŽ$Ó¸Ûp%þ„V€»ø1¡J6È?P›uÜ\·(å‡w" ñü‘o5{NµËZž¸Š>ïñµ?V·à£ô¸š~ÓÅû›²«mæì°RÙ» ôÈj¸Ó^8ñ¦ê¦ÃÎI=±N6”r¼]2‹¹&ú~÷Œí¬ãF éšó1­Ý¶Vžì·å¢µÌìænµ쳨‹>œ(ûW%Ñ~_¬/¶ýLx;¬lH0,3šB4¡­Êy=š†ÄʽÝjN¯Ÿýãå8ùr TÛõ’¥YtÒˆ…A¾ ¤Žfz„_1ÐVI>àkO®Ÿ„¾ù¢ô¶Ž§Jþý ëÇ)ýYÍ•ˆB –¹úl74ûÁbGL`cx +GŒ,%‘«r±ÚÂÒþö=ULÝ–£\ñ¨QÎ%=ŠëÿÚk™â!á¾™M(#—Jª'ú±/CÝhû8Pv˜r:ÚØí.ô¤ùD ÔÐ$J÷Ñr/2•‚ë ·_•œ;ù„c|Æ–>ꤛ0ó±ìòAuÜeìo„_¶´f€¢¬+´†J“m™B§®~>ÜX¨’²§²zšÕÁ`U¥¸¨ˆÐÂõ± µ| ¿¨<Œ¬9ëEËáÌPÂZæm2ü ÍãG¥íQÇ4‹ŸK¢,§B8½5>CËgöáÇ¥reòwGó³{æ‹ŒÜ;>ÑÖ]ÁýCŒx†{ñËcp&:d„Eß&Ñ&5»%ºÔßÌ‚1R@œvë«ix†0úoü²j¸êG4q@bÎqßùß P¤¥mÂTW=ê„L“Ž…¹”sì ÿ Ÿ9„=£Mñb'};4¡HíES+1•£ú-á`~<¡Túü:ÝkhǺüyœ]¯óé„ »±fN*^ ›z¨0`ÌSšé'ö<&Ñ¢ýütä½oHçgïk}•‘ú!#ŸýqØŠÓ\ÞŠôà¨&%„9B.òN¶³UKÑÛ# ï›÷Èš‡¿Ò¤é¤ºÃwIbÏôÐEË5BÛ=¢ÖÇP­-Ê#>êrq§€J(`™à»ò @R¿€d½Ü2þ>÷„÷õnäÉ{ã¸+Ÿã[ÝC[ :}RlÞ¦iéÌšaèªúéÊhºfüÝUè*“€Ì«ùùm£?\ø)^çï+ÍZàÞ¶kMÀœiI Ýb‹“EH«³»_žTG´@-!èñFËÍ ¤¯jøÀâ—!¦àû%Bk¹X=Î ~R—Þ:Æß’~ãFm;PƒÖ²ç*·{hU^~u&9… +kAì–ŽÏfÒ.¦n"%C{ÊÃíl!4[ž¿¦¸ÅàL94ÉÛr™$Áª‘?™Bƒr„~!µÑÌû…‘tRx}n?? T¬1Î5qñ¬Ñx2¼o¬yË4îXž¬Y/ijy‰–æ¬×ËG”ãÊ‚«¹†Ò¿L×Ýßt¶¦Tïwg«v£þeÇ‚díéÛ{\»MW,™ÚòªúÈ+W»U‹7^ªÞùe®ǧû0q°†™Kãˆ.a½ÄÖ·¨¬Ø†éÈ]׈lK% CÙŸ‘}”Ï}Ýýá~»j¿æ(-¥dNäÄÌK¶¢žÆ@¬g®J{ZÓ8)½b2˼1»Ï`”?,O¦™Ü™H…‰v|3;sƒõEonAY–tCÚ”­üCï!¦¥ïÎ"8ÿ‘£|ÇwpQo랇*…¢Xƒ÷ì]ƒdU7üP¾´Ê`Ýýý*É +\+½WŒî¶{“ pA²ÝC]°[ú&ç´)ØõZjËrtÍ=«~…i;RFÁ‘÷IgÈÓ9C“Ô¯xw²Kbˆ¼$’-¯`£ëZîÄHùéóÝàÑ»IÄb¦D¢2ÒP±Ž*…Íùµ¯+íD1åꮞWg`oÒ(K$à}S<‚3»ÎR4WZkjeŸ2ž°{Ãñ¤ ®*öF*apðÉåŠÂ ®‚²à‚»æíÞV‰(š¨îaú`™àcj7ÖÙÖõÞÔW$s¹Œw4¹ˆì_c¼´6Üè‹:ÈŠÃ0³[ÑuGy½'Á}[ç^B4ørÅòÈ-˦6\eÙŒåÎb«0>&éw¥·!êm9ëD§HÒ~ϱ䤾̸~ÚÒ¤â…M,l6=båßVŸ-S2΋ѽýÖ¤„­ ÂâQ¨¿/È@ácl¨ Jª—ZŸ·Úù¢ž~ן‰m“›&÷Í´®F//#½¢¯¥Tnõþ¡]Œ`ìÎt;ö}ïá¬mc¹i ¼6ËÖþó3~s¶ñY9Êožµùò•™+oö‚˜u¾íE¾ÐíÄhâÙºÀo¦Øsa|ø¨k\§OIýmx‚nèhº8>Æ„*ù¥Œ–‚¦Oñ®Ü»éªy3]ò"ùd’¾"‡³¸×5SŸ-òØz¸^{i,ål|ÉJ³ÓzÛq\ ·€1ºûñšL+¼ +‘K¿Eõ'*Êi+«³@ý›à:Z’/f5gC$q¯®]é>\~¥5ü¦pº.Õ…¯Ú:³í‰ ž-Ö¿é!Z¯ üYÜìdÝYÙ>ythèP˜TÓ¤~P Ü<뾪€ö/Íñ²ñÚ˜½Þ$Æ‘qSÌÆôÛãÖü<ü]è×[j{˜]aÄy¥êÃÖ"lj Ýžgp"9ðófÌØšD8ß‘dIËxû¦V Õž‹²]\s_‰óÄÿ—Qqï35(ÛM;ª™ŽLH£Õ/½Pí(ËÖÅ~¾ÐMtªÖ‹£ Æcý!²3ußÁ^9´¢h<ŒÄߦ³>½å=,Ë‚KÅöÁ„}=yïo«ŸŠ–9Fcæ×ψ=áYÙKgâ[©7Çö Š7QŽq?4ž/ò_-xpô'“ž„PÞÝ:Æ+?6·„w±º07¡åI<žm¼!rí-ó‡®b*'­ÜÚسÑ°1JcõR´:¨¸:/¸¶IÙ8R†ùÒd7„»m†‹²%¿Ôˆ¥šŠ3=ÖËiÈúÏË+ù™–KPÚ\ö}kß¡ÑxO±ê-’\Z5÷ù°¸øå$Ÿ äË!tõa‰E¡ÕÄqãÌ}TIB0=:Â&Æ\ÛÇÀû”áï£ Ÿ.ò¶@ú1-OŽHuè½ù:´J¶(¥:ðydô(”V‘vº{à!É¢~“X¹ÈWtÎ݃Xë•ÄÈùšç{+Yô+‰õ«ä¥‹6¸Q¬[Ka Þ·¿Àܬºp¡½üÂ|*#zÁwõÂvƒÆ¹ŽÎ¯>?ô?1åÊ­g­sƒ¹·S©ÃããÊÙŽ, 9ŽsœšÉµ‰¨D´ ¹Rjl}JµÚð÷òùbÒ¼‰%¿ÝQˆumcêÞãÃúN^"8¢ªã û61§¤Æ‚·Œ¨®™˜Ú€(>žÜ3}}çxÊ7ä;ŒÛ;eÍô ?½»~Øm±,q¬&¥/Ô“ª àÉ>^ÅЊøãuž” cÍšôË­¾s(‹¨ Ö­Åk²ë\šJ’̺…4æ2Uu1tÅzÜ»–|7ªòs4Ú‹«DvÓNdGs1ÒNøéø4ÄúÜf iS®)Ê=Ðx]²oâ`8‹²Ðñ¨æƒnßµ{ü¨Ô&^ÆôáÖE ÊL‡ª<ž]Yóœ\Zl¦ , +£(JD¹G“˜—”Ô²ñl¾p™‹¡×V«Có%ÂÜÔç`’êºyj(ºo”Ëõa#M˜FsðÒ2ÊÐœ¨4ÅÈÍÉ':ðDØt»Þª?êÔåÆ,n)näÆ$Û;›qP®&€Ÿ…“{}ý£ºÈÃ;Ï»§]'Ä˜Ú pYÜ9 ÛœWæ=IјOѯmü§©Æ¤‡9˜½[v¾ÇÝ¡î˜Jÿ†AJéªé&)ĈzXà°ðf˜Ð°eÊtiø½sõ—/Õm%uØ,ó|ã,ÖTº9ѴRëkDQ…À»¯zcBÎqÌL ¸•c¹°ƒ©V6mßB|&–¬ø³Fq\…«Ô¯6—4¼æ>Ÿ˜‚¯«aø¿î§²&ð¬ßÏûÍ>²[œ÷Þþ?FªÙ` +endstream +endobj +5695 0 obj << +/Type /FontDescriptor +/FontName /CFFDXI+NimbusMonL-ReguObli +/Flags 4 +/FontBBox [-61 -237 774 811] +/Ascent 625 +/CapHeight 557 +/Descent -147 +/ItalicAngle -12 +/StemV 43 +/XHeight 426 +/CharSet (/N/V/a/asterisk/b/c/d/dollar/e/f/g/h/hyphen/i/j/k/l/m/n/o/one/p/period/q/r/s/t/two/u/v/w/x/y/z/zero) +/FontFile 5694 0 R +>> endobj +5696 0 obj << +/Length1 1608 +/Length2 10676 +/Length3 0 +/Length 11498 +/Filter /FlateDecode +>> +stream +xÚ­xeTœÝ’5î$·@ãîî‚»K7ÐAiÜ  A‚÷àîîîw÷àäã}ïܹ³î7¿fædzÖsªêìÚU»Îé^ …ª‹b’ØCY8XÙÊ`;sg 3{%Iˆ-ðjäA£¡ùà2ƒ‚!öRfP @H,œœ4Àˆƒ‡ØÊ + ×R×a`bbþ—寀¹Ç?=¯;ÁVöÚ×W-ÄÁd}…øoÔPkÀl |PQÕ“W–ÐË*kdAö '3[€ª‹¹-Ø ¶Ù;ƒ–'€í? ˆ=üWiά¯XÎ3€³Èüº änrøËÅ p9Ù_ß`g€•“™=ôµPloaëü‹À«Ýò7!'Èk„Ý«ïLâ u¶p;@¯YU¥dþÁjmý+·3øÕ €X¾F!.•ô·ïæÕ 5Û;  wè_¹ÌA ØÙÁÖÌã5÷+˜ƒøo.Î`{«1`8¬Ìœ€¶ gçW˜W쿺ó¯:ÿ¥z3[¿wCþŽúO`¨3ÈÖ’ƒó5§ô5·Øí¯A‘··„8Øÿaº8üÓç +rú»AôÍ Ã+ 3 ÄÞÖY¢±)C ¯)ôÿ3•YÿïDþ?øÿDàÿyÿwâþ»FÿåÿoÏó¿C˸ØÚ*›Ù½À?.Àë ã PüuÇü±fv`[ÿ&úßu@ÿ`øßÈCÍ^Û aoõ*;+û?Œ`g°;¨ +†ZX,Íl_{ô·]Ër²Ûƒ^µü»žóiZƒ-lìÿj:¯Àß.=ðß™¿Êó7o6MyYM9U¦¿MÿŽR}UªéáðJì?êøþçâ/ IIˆ;À‹…ƒ ÀÂÅÎ÷zØعÜ>ÿM¾¿8þµþhu» ^‹fçø»ôÿxþµ2ú7i{ ð¯9Ñ€šÙ_Gë? ¹-\œœ^ýû´¿–üÏõßC¹ƒ,Ðç BAŸ’ÓR ™}#R]ð}ÁÕš¹Ùþåv¿äÐuÓ§ŸÁ¬5c‚/³‡ÏÛ +Œ;ø¶tíI Ó¤>T ÙïVh›ù˜vÙŒ 0SŽt"½Îf”ÖôyÙµw6FÔÔóŸÞ5s9¡œÝ2øS¹fûãRÿvxãkñ­*¯«»"çðˆ6~ÿö7]Ï`_oûbç6 SF4*oâ!EÔÃÔéºÚâÙ¥\0=>x”¢k‰õþ'5z5ÂŽ‰ø{ëS£d®µp‹º%ß™{Ä +œcï+\bqê‚Z™k[†un’D%c¹Ü…æl-|©· b5Vfv_jhHxd{„¿ÞJ†?­ŽÃ[yþê„ögŠ›&#Á÷Sg +Õþ:©+ª•–n¹,:ÑS“—á³;»—ç<# 1t–·Réf Ff÷XóJ 0òUåŸÂ®–5l]àÈ©îE<´þýhiw·jK!)¯¬FÿŒcò€±(¦O}V¼rU:m& ÚÕeŠtjC:kÊ +ƒƒ7¿rÂûDtúßkŽ+BÝÓqë‡ÐÈ•ÇàÐ+¦Ç c†=e\º ½ó­ˆbq”Î0R% h.ˆp).99á¤Lô¯åOçíE6‰¹·àfHæO/sá-¿°… Y|)ÜöÊ3†„-ëa `½TyYS…Ô]öt¬ÁÂ/äᦵ?ÅA¿›K ZíXo•Tp¨2+E—‚tòªÌå† s§ï’*Š„ÀEh¿hjDnaÐßÒ³{÷ýþÖ›õ)Üî(²I©b’w YO¬¤s éü"©$› ±dƘxý '¬ÕbæCBÌ}I79•^Ûï¾K¼^]î!¤¢a³@Y‹?½OÙ¨‡ú8!nK B΄6¾ðHM (.Ä­÷›ÕdÅTÁêù@¼7lÁÒƒ¦$Sy…Döx~Ñ„°Þð¡ÄíÈs]DO÷ ¤jmˆS¥Ûæ%¡)›q™˜d+•QÉ!þQ‚ëmKÜ#’áü=’ c-;gŠG·¿•O†BÀSXN(Åë9åˆí +¤#§ìeÙ{ÊG;‘£¶ÚN¹ÔÐ6±`´Jya¡“êž ïËòö¡­ëk^vGÎàsdèô<Ë,`+ÐÐYÉÃ÷Æ\V‰³¼:w¥™Å6Å’’÷‹k&$»þl°WYé¸"Ó3‰èh.5—´sbƤ d +KtjOš’«,k2î ÷Ã(AµÇQâ­z™¨ÂRþP…-À»|;·î`‰_`eW ÈžcûBÉñ˜·ñNddCëT“î¿~WXëSí&y6WïŸ4ñ~=Fœà¾"¥ªP>x;,TÐØ_g^ò›­Zâ©5uù,ìÆâß1ï`P¯£öKO–¹!Q. ¤ïÂÊ낯ÏY +sÍ[=¼Š“}*ßÉßĬ@çxÔ‘ò[¾E€Fêö[ž£—ËiÍ·ìà ´€)&ŒÈœZóÝÒðð7Ù6I¬ üOBXT™mî¨×ŸÅ‹SÍV§6VÍŽ7Å—'El¤vÛãëQ)ЊóöÁzÉüLÌôÕ‘Þý$ˆOvBžÒ ÿ)s¼GžåEŒ¢ãý ç£:,2ÀùM¦Z½ià™²ÓÔåQ¹'ÌqÇFåÜêlÏyý™˜=žVNî'öw*ðLY O=™j¶ÁF­$ÍÚÁÏd%6]…£t÷ÚÉ—6k›Û#ãeó»Ö€…cŽ:*,VêÛ·šT>¹ÃÚŠýU"Žzï²êXl:¤^Ч“¥£«#Â+ùÀ¢íñß½3–é CÀ_£ªÆuR÷ðÐÖÏÏÙ1;«[.®æê…fvºD88(rGÇOF>«œöV†)k}K±¼NzɾXöã•.Ì;xA8×FGèæ dþ,‹UGþñAÑ1¨&LþC1³àºÞ=‘η2H*Í{¶ëÑ÷`ïˆMÁdcð™pÔ« †s&Ó õxÄ¿ÿ³ k peh⿇£Bƒ +R>½”c‰"MŽ³ÿþK¦ðã~;rDîE¿ð]8s3 w#5n²ÕÕ¾#"rC¼h4eÒêÙpùF¨;ó‡R‰::kì™'ƒú ï` 1ûÖ ÆA™G]%*1:›Ð& ”šd´ºxR;¥5¾ú¢È©Cåbk†*C]ÊÍÖAwÖBÀÇ@åí!Ï}G‘¶Ò¡”aãŒêñ*õ®*<Ú‡GMôT;0~ŸçLç½õkŠåÄÜÓ‚ê×Hã¬æH1?дàúÏ$4ŒWid³?&bÞ<“>_5Tô~Ê€-ÎÑ£ì2¶/šZuhhŽÝ—˜j¤ª)ÀðyîìÙ™ž'ý-ž +à‡º!B÷pl„@’#eÕÓëÜ÷HÈ3$þú¦ów™*SkÞ·8ýj ÉTƒÖ«5X${Ãê®v¢½5%zËûBë{¼u5œŒñMÆÁ™OF9ád9t7ÛQäRÑÌ“Áð”õ\,áiÕpB¶ un—Ú§sþ«t-rÒF: ›~}Û._Bb Œœº k…{ NHìÑa$ïäm¥Ê›Bú[·ø gf:K}´Ýº·zl¶/®&ŒOQëIŸVê:¿ ¬ß_;ˆn)Ï"ðLáðXÏ*ø_ðe¢4 4 +éûQ)g¢5¶6Q:ÖÜE`Ö…9ãÍ-égEà»Â”Ù zþ¡|¬0¤/‰¼s_Œ5÷F¼ç7gHeA=Ñ¡{ÿk·•švoŒGÒ +’#–°l“êí‡D‡ÒyªÔ÷ b}sûVŠŒ‚ÅÄó:†?HÖ Gì…BLjì …NĆNúj6jw7 kÙHZã#âç¾µø(-£üëèû*õ¬zIW,ÕØ;weÒ9]xf•ÙAé*lç­Ç=Œû42Yޛ̫qã·|¢ÙôŽ‹4",uªM*}#¥ç\ƒôH•ÏnWÜ?’Ë*´ UìË/i2ˆ±ocÇã^óITIlìö!¹¡+žÇ_?qOhÏ®gHÙqoU”ðÇxkå|7ÉÏ ›5Pã:©Æ¯GËä“oP~\QežQp ÐFTíy†ŒA +†®–Lïyçœ,DÞ;طʴ’Aã=¬†l˜-Õ—K‹Cr{mÑbCvGß(Ðc4\|.íÐœuÛÔtú—«¼t©ˆD»2¦;º…|•=h· ÎÛŠ|¼Î½.9îÂÍovŠ”[F* b¶h”¦¶þòž¥§`Q_dý£4 «z /=èy͘X¹dƾ)·ì®P Íwàv ÓX:y£½ór&Iíµù3/CKVÊáþX²tÇÇÔ¼çkC†ù’{BÁñ¸ùа³’DŤã;Eõ}+pÑâ¬Ip>H"ºîâØC Vóã±ýý/ÐÐFì– +Jø.bº/w!’CÉ1È)ÉAÚÊšð{ˆuPÞdêˆÕ ­C³˜xà "Ô y²`~6öÏ8HƒÛ׎ ëß³Š.ܺ=»ob~sœôõJ_r¬bf›¯—$Ñ|š¦ƒSȲ¢½‚Fê2熆²Ò¼I¾æ‡ãÝ ¾Ú|¶ê<»¹úå¬÷悯ìÈzk·dÝŸ;>eì3ç2»~ éÌp÷£ +ÖÈû asM¡˜úärý5‰Œô¥ía’`®¸ÞОè +WDC–¢ðI§råú C—‡OׄÍÞÍa6+ÖHÎüî‹·ÀB«ö~["GÑ>,@'•ÆôyÊDÓm>¿o÷(V!\mC)ÐËp.¢èò»(Éfwø(„ȯtÂÓWÁH_<Ÿ–…YýÊèÁu¡•¾j¿‹I}jkñõ/¾y°² æÑÝuäaüu«å6±o£ë²–L»9;a_z½ù}Èó/¹{;wK‚%Ôw]:e?MšNšÜ—Þ~s¬ÙöA> á2IÀcL•Ë¬˜Ú° Ï™_’ðŽ±mò÷ˆ/§ƒiIÅ“Îë2Zü=ÈÚÞÝ×PQE‚âO~·K,L3ïô*®o_]›ùº9ÈЯúx©iøǧ@oèÌ}Ðñ9JB„y+'ÜÄ?±ÃêÚbÕVæƒkÅÐ¥ ˆÔ‚ŒT§;Wºå»£´LwÎðÒoâ—Pû:2”@ÃÒvMx™¸Ø;!¤ÊI,-iƒ|…ŸŽ[…µ÷ÄżÜ|[3‘‹ ÉvôÐÀ dÆÜÏ´r*÷£.› rE²ˆ¸ìÌ’i3§?ùOÆ>5ñzãµò'‡C;Þò„ÍÔàän,Z>EŒÄ҈舖ž”áÑ÷‡3¯dnì ’iBq7Ÿ8Þ¾$Ö¬J‰I +Ú¹ÌHêSkë¢'‰^gCTXbßyžÒߪa:\tÀÖ.OÊ äQ÷\äK8kÃâãƒëBŽ¢ý6=úLÈ~v,äÁwãÒÌæ«{‹­f¹*Zí +wˆNçuÂï|Ï&÷.3?7R%‡a;n±9*Cmˆt½¡+“Cɨm!‚j@ýÒJ}Áà±ÃL0ãšä`›¯O³]Ε·‹ÿt.77®Ô8 ;%öÆáB{J|4¾Î‹ŽM?ot³¾B\ú•M:1+:®;™<̾w]ÍÈvý‹?-u n#™ÆÚºæe´ìtüÊÇ*šÄ¾_ï•OV#\ä¿úbö/:¢lo›ï„3O¶(SÃÜ!5 ϦÈíÍíX~9èÕËîTKMIþ.†O/ø¢V²EûÎàM,YLìg†q˜‡ÒQ¨È®ççÄ^ÄuaDßO>#Iž‘>*E?ð÷8p¿Ÿ¨Ooz(+;£rÅ-ÉÐß©ä1µµ//Æ%ŠÙLF¿Šv`á-=LÍÀX±þ>}gN¡œ<Êp^(™ùÜ.+\9ÚâJ¢BKhjòœØ }OIØœ«üçcå³^\çj9«Šýö4š¢Uÿ3rbzßú;¶üu»Ú¾°å­tç¦Èï¨bW¶0AÌš¿[Â`a0wUªMŸ-¢u8õF¦+ѸÉ[X5"hÞåkÎØЂ©3jPx† z60U?~Ùˆ‡$ýò¯Çb(tg¡x¢Êg²#É«Ðc/$· +,h¡V&_ŠýŽÂ˜H·ê™pk¹’óàí&ýQŒÞ§:Š5ÓÌ¡…Pжž)©È )»CL¦jel@ÌØ}pO“Aæ˘ë,¶Ã¦$økü‚ŠAô¾²Z,•T˜•ïf@u{‰åšû¢ØFJ%;=Å7zÖ%PNoÊÞO¾y 9FÞ!ÛŸ9DO*b5bš‹û‹Ê‚vPÿ¨;gºœ_L©ÎufãU:1ìö-;º¨§{äÉD7<‘µý€‡¶†bÛ4ø]­©é±,âI+Þïß Î.Ï7c;k£½q‡ÞÛ3pkþXO[Åçà› oÙÈå{Û>¬ ;‡5°œÈ‡®‚_ ƒW†Ôòîê\ù7(6õŸÈº) 4, è\¹Ž'_ÐSÂmé¬[å‹-™úq°ðòèop7îÅ’ÊQÿñøª0õxw€{›‚ð­œBŽö67e­6Ë„&.^®Õx+¸t‘z6Ÿ¼Ky•ãr¯7!Cµ†«”öÐÍÇ>d¹AŒ}—‘üú‡²’ˆÆÖ +$3”Uæ·XÙ×ÍŸ;¡üR¥àH¯×N¡t¡x×®AŽˆ Þñ:‰UXÏ8 +eðt<”„¢/ñïi­\Ùð·È‘øfOqiu&FaÌŸ ÆüZ\’ä ζEHÂ|\E¹¢ +*i5/¼ÂS±Ó ¥ìi0ù…äÝ}?ÓŒå5éM“æ$†×tÄRm|L/¾1µqE´¦i÷Eñ‡kì×5jÔ€ÖDt[n9‰94}1»ß’emä­ê;–¾XäËË´Z}tMÛ1ï€B';´FMæDk öž +`¦#"~`¿¡-úÀæ÷£ _©(‚1ã°a'¯5lSnéô~xúCÃ;ÁÏ7®_ÏjÎ ¤Ð‡Ÿ›zèWÚâÇœB|frÓh“ߢØk’y¸+ø‹à\’1Å´D£gbZ¿sŒ¨pS<ž‹g_QeÁ–iÚëÊ ,N{'÷1‚>ÐØ”ý‹5½+2Úz‘×àKwŸßSª¤} £ËÔ4n¯íjEí_pˆè³Àza™#µeöâ®±ÑøÑ©D._´2æ¸õiHˆ.Ä¥}´3eFrÝe4î +šgkŠ$1ÿJ‘X­Úh•ïÇW§cǯýäZqôGañ"MéÝ£änòÒ"œã—n›™]9²`á~,\b¬,>…›Ì›QüMC”ò&kµ BƒsÅ1ä8OF4âb´ºó©_Ñ5Ýo€Hëx׶ ”iQ.+ã BŒ!L×½H±GØ7´¹Ýcq`²FÏ8ê!ÅÖ›½pj°Âª¿Ï¸ÜŸ:¸™zA]=4÷x ë—|"¿ðIwMÊgõ@l:„á÷¾‹•Á¾}QNhÒ‹ùãD5Ýà8‹“¤e1»¸Fk§ ´Õ#Þ aÕd ‰9­p@:þxüMÈ8.©²JôHF¡ù‹§ÙwȯŒzªÃ´©dyÀqÈñ氘χåM›jŠ&:^$Ë"!ºÉý0ßb¯“ã{"mlGábŒÈÅáLÆó7áÂfÁyfIÜVjÊ|¨›š8‹†;6Aï ”Ý< ãÎÖuµå£e’‚QšHÓýðZu?ý’Ï t‡é!¶ú`ÜbÏÜaÚ†²€6ò¥/<ŽBq[ÀPo†œÑÌ›f8ÄUËÊMLÏÛ±'ÁÅp5P¼—4 ÞÖª4)XÍD]ŠÜþ[¿út¼„Êñ¤«Øò©ˆ=›k싢ΨØÉìóî¦a×*U¿x²õ‘±œ«ý“òF’ŸØ{lì#‡(~Ô+~®:·w©)}ÞFá!ãéáÎúnßßôÙ;§žqýyÊúLÚIÆ>±Öh•NˆëqÒ{únÌ6° |½qòÕšbÞ %›OC ®`^Oƒ_ï^AXùÁWI¡“?làBƒÕe8ûÆ +AÎM£§é‰§'æáŽú# Þ(¯ ΋!a+ª8ŠHŠãeso€ÚOÄr®cë¶0)ÁL†¬Oü1•ßñ.Q¼ +¹Ä¾e rHn}Ù‹‡‹ƒ%Ïð¸EÐ4«åª¶8•âÆVK‰wêÓlöˆÆ>vs²ÒœZïvÛ†éY´ èmÌB±.TJ)ÅK®ž!i¿¯¯NPwAÂH Hð&•J¸w[H4ÓÈ•LÑ´ª0f¯GßñɃDÀÖ´‡|s +PÚßËPÌFm3û´bÙ©j¸ÜÈyêåŸ +J8‘+;‰n°ø?m®À”‡d]–¤X«ìèHBÚû±gA®)Y ·éÙΊéA¾ñTÌð2ÀM8IÌË|è¼ú$†Þ/î,ßòg-J/ÌF·êŠKmWç]øf%cdѺ“û|}p/C˜k½FصÛI c°ñOF‡…EÜ¢~éñcöw)»Yû1ÖG›µ¤è¹ÀÍ‚òòNœ»Û?œOäO°÷å ïqåc•û¿¹KùTºÁXcºö¤¤fì!þL»ô+!_Å5,¹4ß✃p}¼¥ *3¸©Aëƒ- +ŸÍ ‚Í£[c‘ÞÃwU6¾·HtþƒÚ †ŠR# -È—É)È ê&#ïp~·ÞÞ}F¼˜™œU$íh‡Ak™~cຌüg±Ûs_èCAå úÂÄ—¼oz!^öW>¸ä2f‡T³«Ê&†›™A‹,Z²sel©£æDƒ…ãZ÷{Õ¾/³Ógò¬ÓzÚAÖ&,NÅ&]Y>𶳟®oƒ±¹ªù©T·m¶p8ÓY#\lÛ°¿‚ÔÀ™J7iYòãš&/FœiLNA–wƒKzmÓ€‘\CyÆbï2ml]øyÌœo©ïrØݳéလ3 Î7›ƒ=×q]q‘_Ïìò œ†×Y&*Ùk–Îk{k"¦JõqjsùëÉmýÉ%TJ)X(Œ¿P%opdž Úøösó)&¨±µ ]f¯°Í‘ÁFÀÖÎ])<²€KI­ðµügK½» Ê2¶Т¢G¡IC÷á²ZbÊ»;ØPqѱ"WÍ4ìJ©°’_qiæWIÁ‘:ÑîÓDº¼’n5¯~C`Õ³‰Ø㪰+h•´ŒaèWú(n5{¼=†ExVŽÎ‘;²ntŒ´1ôã`úíqÜ[ú•“f­ý˜‘‹,*'>MAÀán•÷õDúáhŒ¼ôöÚõy°\¢‘&ûË0â>nF˜²žƒ`éÉ›û¾ÓŽí †F¿¨i÷#Ÿ",ÙTƇp#"œkÄí}>ÉÖ^—2®Å›•æÓQ¢ÄYyõ)“PÙçÀÒÀĈ âtiʲ]r‰_‚µÓ÷“SÇ·&Ma]ÞûYÓ¸›ëëU=XÈnU9Œ¡¤1vÇBxHZñT»ØÎO éTñr¹M}_ôÒ:s†0G~7ÇÑ-.p$Î0=-ã¼–½ÉóôàÙÚ¹^zê}þ•\’ÅÏ©Úž:ùû÷„!îea*]aÍ÷e}Ø|Ùzc!'7Çæ*“k–ñ¢-Kh›‡êÇm^\{ˆ‹è¼½Ž0‡RÈvz_Xw^jÑÔ*swUt·Óyú1¬#+ð«N"+C‹œFœÚÁbÒèžLµÆ'ïâÏÓëÞ‹$òS#¹Æ×À˜å»*kU>—™Lß!®Ô•ÌqËòµ5‹ØURpWé?6ñ=Sp ÃP3@°õîELÄVî߯«Ü%ã±QÁ )NrÉ/N>]µE%Ζè‰Ïu:ƒäva?Ôxß-xך|$Ù Ö¼žetP/dÕG²i¶JäTÅ_a´”ýÄŠ8“TÙÓÂh˜]~`#l}ëP‹c ØqNÓ£™ðÑPÖ ßàvWǶÒÍÁôI·EÔk‰Ò XlÃaÊÁøÕÑÄɧgü2CË8žpÕB(íNn: mb] WLäÁ{ëzÐm‡47¼•$@m®ökÁD;­ðDžqú«h2½]ÿþ–Î=åø>Çp©å³Ñ÷+¨Ä&û*eÏdlÅêâí&ÕÁ1Ñ2Æ5T[V¹œtVÔš;“ß"XhF.¶“|ŽóPsßÒǵg2g=×8oD#Ì8[wŸ¼xô€òœ^òô+ÁÆÑÞe†ïŒ€Z +EÊa¾y´–ã8&tðrÍËzcÇšãpºTÌî¾½§ùh9–t)X4ú¥,ÒJÁ‹|'izôõ,9×ûÏ»üR‡íÂ)·Á?šóép#<7„.¨›Ï’˜n ¦`S•ˆx ˆ²)|ÆvI¥%ô¿]û‘1Ï4K‚85ÕA§•ƒá¸WSß¾)m94V^+°Éäó÷»¸wP÷Â×ÜÂ>p|L#ÐØdtFöL0ÞÇìÐ÷º™PýÞ=m¤ïoƒå÷‘Å,Nñ…òv·åže}šâôýæˆIeÈPÇ2ÂA3ǶÅEç5@“œnª4-IE‚>±ŸOÌqÂF¥JÑ +Žˆ-Úï7§¡0«çzKM=‚ªNI3Ì¢Õœ[¹ü +Ê¢°¾´¤;*­M7µoM“†xqÏߪâ쑵j¿ rSÖ:•‰WV3W~Á`!ž@Y€ú¡U…„éxÂÏ‘úO0·e¤O‹ÂDMOT«öào‡N_/<%]¨¥’’¸p&Ó´ÆQ-=‚*õydÇôðˆR}‘iŠ9ñÊ$œDž¬ÁšuC«ñI4yÂEÍϱ–ŸÃNÑYâèTí5Cm¯¤a½9q¼-ÉŽÜ2ÂwAGãcòI ÈVNáê´Êƭ3ï Hô +[üýú^‹¤n]¤Ì9÷_¾­nèÆÎ}âC uÍ*°¸—“€ÉŠ¦„XÈ?3½6W>fª¶}u‹^õ­Ç®0hXߦ¬œ7 +"Þ=B€E‚oo:öQ;=ø×H¹ +Zjo­„@ûíç”!OgÄ•Ôõä‡Y~{Ô‘=Öã° ­¥£G«+‘‹ï0 @ KQK¨öY +ÊÛ‚w(‚b>ºNGLÆ‹Cô ÝÞÔwßÎ#£çšRŽØ'zÃ$¶æ‰ÇÈeŸÊY×mê»q‰%²¿\=D,3ÔTœXèíLQб>f7j|¸ ?^9@XN»7;ÿ>†úÌLWa'棿|¾›½°_#Ç8ÉE¤gOÛcǽ)AÔæ7`—ÿB¦€;[fA4W-è6ùaøä«­pÑ—,vQÖ¬9Þø3ë§r_«JìµÛG£Ov8»4Õµ]-Ûé[嚉i¥MJI†;˜=wîѯuƒÖ8 A¿fäCߎ¥7~½kZðã<ÿ“…•tû™ž»1r\Åö÷‡ÃŸÐ +ƒ—u-O´cŽvD ’âÓÏÉ^ÛæöW*äzE9‡ ‹~²n£:ß¡‚PLš¯hO´ƒÅãì—9-#×ЛPK ú0AÍ´zÎ`üxeEJߘñ®ó÷C$ZÞ“šŸ ¬-«mñî?—¹B©ï1Éýo%¶þ¨–Û~û‰¡H$ki0G/&EY‰`…¿ä5¾òí_ý$Ö"˜à~ü9i¾c]É’1í9ê˧޵ފ“N"»ñ˜núÞœg•IKÓ:[8Ì‘è U¢—bF'PÞ·ßîl)ßrvÔ˜ù%ñ×à]N›«¿iö`˜0I+H> endobj +5698 0 obj << +/Length1 1166 +/Length2 6149 +/Length3 0 +/Length 6914 +/Filter /FlateDecode +>> +stream +xÚuSu\”ÛºQº[rè†Aº»»;``˜Aº»»‘Aº†F:¤Q@@@i¤äâÞwŸ}Ï>çþ¾?¾µžç]o<ëYLtÚz\2vp°"æÁÅË hB\l<Ýõ@0u.]°ƒ'àa21éC< àÿ 970ȇɃ<x}GO€È ð àŠ…ExÖ@¾¿án¢m7ˆ Ü  ö»A!°Jnëé†yèyººB!`;]°;ÜÓÍì. +°èì?«äாnG«®ç߯ˆˆÀÆ÷/ v‡8ÀÌ /0îú»ÒC +%0 ìöдÝïXm{‚Äã÷¸VGWQW{øãv·ç†=xØU€ÙÉÁ]~'pÇü­™<Ä lû0”/Ï?us†Á½aþÿÛC`vŒdçéÊcƒ<÷«Èÿoð„ù7æöŸE€Ïàç°­#Ïï’ú¾®à?HÞß0fèï +w؃ îà@ˆ=øá‡éïò<Ü<Áþÿ—ø÷&//Àbë°;<\ÃßÙ`°ýŸ{ ‡Ä`äyÀßß¿Vj‡A}ÿ×¹€<êÊÚjÊÿœý_Q²²ð‡”\¼Bü®gÂNyÈ("À÷ÏŒÿÒâ/þ@µAÿíøwJ˜= òç8:þ5’ØÍýÁ›Ö?lÌø÷üšpˆ-Àú·uÌÀ×<üxÿ«¥þÿ¯Æúg EO(ôUXÿ”ð ‡;@ð[(Èí?ÂA.¨ï9ðÏ@#ðŸîÿò¨x€ [˜ô_2AÜ!>`;mˆ‡­ãŸvùKe»?Þ!Xîùý’\¼¼ÿàô!¶Î0°»ûÃ]üAavÿ(©³…ÛA`=W‚Üìþü¦m=ÝÜäùã‚Îþµ·‡<4û€m1—á¶bNMW 2”Þ\_ßó½4¸¸÷¤åÇL„"oq?ê×$w®¢ä/9Î,×w”¬3CÑ@AŽJ¡THòv‘íâF#$Š$|¤KqÈÝ,®)Š}ŒÎ:}|G‘š@ž]´'ç;¤|DW}aÂ$)7I¨' ¦¾2ÝÙ}®…JISý²Ckw‘M„ôgØw-ehŽ(êüh·<Ð),:KµçÍÌ5‹ª)Ö›ÃK¢Ú.Bë…ÅYàù(%L¦cJ“*!ÑîÉžg?»Ô¤»‘{9ËãŠYvNy&°~}eŸÇF%OO¥^ÅÆ%'Ÿ +Pw[²E§Ì](èšaÅþÈ%³>°©÷¦[ó«*,f ÷TGSú¼¹rÕ6ñlüC×G¸ý©ƒEBÄ0qgÛÀu®á¢ Ùê¬Åø¶—\·ÚÆÖR£9 ’U0¼>=ÌKþf?@EϪïeŽ R2‚ßID¦Lü¨ÅšÜ]—R†N»_H½3¥wdùÃ’ù §võÅ€ÿŠ­ÛZA¸zYçkɽ²ÒMØbK:$v¹W–‹V#žÆ·j3QèÉ»£w}Ô%ÌÚtÙ »0£bô|WÉüý›¹Ûkq³ÑkÝÊf;ú…Iª5tY šûN`¤.^.”†ÅÈ.6± e¥XYioa3þê&Vo-¦5XÿÕª ¤8!»”E©¬>œçWd° ´Ú(ƒ)9f+<„Râ{lü°Tc.‰Ú¹aŸµê™_¥Í Í MC–Æ´»õnÏæKÉhWÎUì½P˜ô+v‡ ô¦>4jÇׂP)æ rõq«¼YÔÕ©¬ÈâÔv2ë ܸ„#‰×ÒéXG½ÚÜK›ÏMãBbªvÛ0ŽZ8}Ü°òšŸ‰*.£zµ£íï·Šr¿/ŸÞ¼¦î§^%o2}0¥¬€ñâK˜÷ªµ=qÀÛøX@IÝ‚qãðòf˜A:ï!Ž¨*4‰çªó…‡v +–p†Ä´áù¯½ .w¹ŒRuºk›nÝZ¦€Ú¿C2ã(œÃˆ¾µÛ™ž¨Œ^9q¥á%©˜nçq¨#v„-pG‡ò¨Úﲆ†™,Ç·rP»…ÝÀ,¾FfOXš90"“B?•Ëç›»dÊ‘ä6C¯DŸZ"àñsýÅ…†OW øÒõÎÇz‚UôSRJC”ûf›+e㬧”{žÏû±çÂ’ÙÂøøYÑi1Θ»:'U=$¶ÅüÂ3/˜‚KDZ7±F…˜èŠ.‹¥ñ™ÙHòÇ‹÷×Å3|äò× Ôã¹/ÍÜôÞùDŸT2Ì­uÅzE8ž`eJw½úòTæåm:*.çh,B’¨Ý¸wÝ´>õ'×¹ÚIÜ;}Dkߣ«@ëïH]‹×ú,tW¼‰‘–¬Wdz²Ü b¦Mbß̧J•{›@•‹þ‚Ö'R³ö"Oj¡8`…àæ“DíÝU^YÎmŸb—Ž~žñ|õ|?Ï®wIýÖ,A5¾r,Á½„Èï zÐQ*¯´;÷.Ä[V‘Ï ֖諧½bäIŽº-ä g“rÈYˆ'h}yŠoìò~s¹Âp¦*ÂDŸW‹˜]ÓÚ)N)A|¸Í„AŽ[º›˜Cx/[õ÷£é=–©†8uF+_Îí +ŽgŒ ë¶Öîé9¦6"N>u5+™[®1ô&¢´º[lÉkÞ¸t.EÇFÈx1bòä&GÞa§‹Ær_ÿóUCS—A’‘„1>Û¢{’uºÈqRt+D«Ë3˜&ô¤Y>oȼժÅAßM+p%ƈŒÄü>K'Ë;Bˆ’r²¼A hÒ÷ÿ¤ “¬r§²pkBžkT;ó6âdŽ¼ô?™iÊ("˜#­ÛÑ°Ô’1é¹n_¶fd·YØÏ©š0°a ™,µ¼î—îÓi7|bTùóÍ*0˜"²Ýó%*õà +Ž(Â%_U@:Œ•Öš—œÍ s–èZ8ÒiOª6>ÖΓ½å-.q±m¿\;¿>ÍgÎÆêOg^r¬góQzãf£Z‹­8‹§£V^o¥»#á#šÎ89LdÊIr +<ÊÆ•µ8U™VVtc§Å]£îslæB|S3GSŠwÄ=(uKà0ú1“y2m ®Uµz6|ØÂHšC·Õ˜Ó³CÉ6¥BG››!‹BTΉ£¥kíMª¾'ðµÿÅfa"é\qŒRºY—›áÂíä¶#È*ÃSDÛ¦û¼‘š-ÇB+œ-…‚Z[&Ø&ù®Ì3 ß4íÓ6XÚy*'"8¼«Ám®½Ž˜²kî fïKò€>áçäÅæjÛék 3Œ2áOôã{h~MË ͳî¼WYöýMùˆô—Ùš0ÝWv!a÷^R¿sqN¨¸µÖºéʘ÷–ö1ÙZÓÝòtÔ<¥úséÁuŸœ€»ƒ*’{‹: •¼OîµÀ¯«Z×ý¬9Á¶+̘tôÏøcbÙ)ÍMN»K¬¹Ø,TÜß~ªMb);,}Çy—,w‘úójZOô|€NµåÛ,º"åÑy…75jè]»5ÞÓ + ¦áS‘0ö׺iÈÀ¨à+ ¶xG¾m³a°­ž”ñÞagÔo*ƒè^b"óOÔ„IG‘D ¡â]Ì:žT”–gUsÏ[üxó½>:,½ 'Á+½Àenú‘r?Ì«xyŒ'õF èÍj|ñÝÜ¢Bž„·žz b EÊ'‹ +ám»v³ÂR‹¼-z½Û†ò$€³f,bb,ˆ¦?Aä8y¨YUDB=u…ÈÉ¢íJE·¿S¢Dšy† ’Ïׂ%1)ý^ÿ»Ük‡áÁ€Øe“Ù•æÄè³éE2âÇ[™hœÂÅG嚥vaY§Ås}BLÇ´_ ³(\A#{É?Å÷ƒXÜSÀæÒyWaÊ v«BQÕjÁõ0ÉqníˆÚÊònΣRÂ¥†GFÓJŒÆ£lhúõÛ=Ä)JÐZxʶJëÚØ]PÄÕD_âxFV(pb0¢D +(Ó®fd+Œ‹·_‰s½øòEEkr\ r¤E… ýÙ8’ÙJ3ýêéu]¦íÀI‰ dÄcbmªûðìî'3ê+t·‹‚c<ÐfûÏÈ‚ŠÎ_[Æ)û¼D UÄÜÏ;i·Š³é:›Åø5ÚoÖªrÎz¢Ò»%"šŽÍt–Ãó¿ózþè}5ƒƒoôk^àK†ÖÚLÃusêTè£ëÛÇ¥ª«!ž¶éŸKüâ¿Ï‘¢‹g´Hß~G ìÎvDÍ +Ç5¤‰íÜ}®Ä}ñÎG&)1ÃEß(íãÛH{¯ˆ»yÒ"hãÍ Ôy'Ç–|±ÏŸýñäžÇŽ³ÉÓe±2EP‹tÃÈÔßjG†06¿Ñ—še¥5ªQãq6u ë¼²ï&M&t ö¦ÆäG‹_ežÿd(ùÑÀ§æp½5/œÇ¥Lø…vkSŸ³Â­ Þ“€ñ­'Nà©EÄ!DiáÔ4Ч-ô­Ùbá ì·*ÅfÉyh‡ÞMÕÙìâo9U”6ŽzOR%}œWeÆ"¤ÂLŽ”¼•%•ò…\r]Ɖ=jNBeŒyßL½Gω$¹a—òVzšO¶Ò…·~,§:¦ñÑ~ïàçlD˜TÔ±’'»–p„§è‰–s"²2ì{…Œ!–¨¢#þ-kÜ©Ä´Œ€’Kѹԡû>ë’|£¯B=„”)Æü‘§ UØýÚ"—Áî"vª,Eëú|½œ3ðè&+M€“sÖY öÍÌòíÝÙÒýE¡¼úÞÄ&ÅK ­8’·o+9˜ ÇüD)ÃóBÛ4bŽ¥·5O"ï¾ÿ ÷ óó—~®Zþõ3Q`ÈÏ…"U9˜ËO†9E)A™ »2ï®òéiÜkœÁŒãè9Ð Ú£«{Ѳ€gRÓûêÔ $¸@J5#ÓìÞ“^t¹áPpÎS‰jù›ú@ߺ5àP㾆}R7ÿþöM(‰SVýBçø‡Nýþ“#"éƧ¼BŸ¦³3¦Xx>úuF[%5²*±»”Ñçk¸8’¥ˆq÷@œ¶u½ÝT õa6ŒÇ3Ü:ñì•|8ÕYF‚™uõeõíó0w]æÁÏ󄙌•jVáY¤däSœD®þI~K{vµÅ RøŸb‘ {»ÅsuHæ”V&ÒljÈ2Øfæóu~Ý*Œ†B7ÜçËð9¯|Îã™GDz7”ü`Oêb’7S Jëˆ|±L¢Zô [«h©Û^]v0À£{Íß‚‘ dQӠųÖ8ƒG ë&I¼/žÖ¥º§­Å®ä-ÑbŸ?Ô}ï£kPµÂ‚4¹Ã`³IƒÝè—ÙãöužkÛ™Œ«Éñ‹8Þz–†°ÞþW9Ý0§©‚0œí–›ÓןøeêZ‘³‘ñ™Ä¯2Õ·£~e9_„7ýÞn`~ è³¤ÒÝcû\þ¶¸—!ËcÁ“™ƒÑUžÓ‘r®ã€ÑVG7Ô*Ö€UçT) yäˆ=V^ „¸™Oñc¾9îÜöåˆä9>À¤·"ý„z>¿[4âÜ*ή%Æ6Z”èÓÈ”â}L=’Ž]´tûÞèm7CÊVŒ¼”Ó"nƱZˆp-O#â ‚Mš¿É^‚7“>z\×Qä{ro©¯¾Ò֑̔{—óˆüÓÚÛëp–ä Íab߆ÅA4t~ZRã:â±®ÝdÔpóeØ7ªžŽm©öagfÔi®€6»$O +ƒäb•»“iT±ŠcTõQ¿ž¥‹qþä6¿ÛÕk²_ø‹=2+ Ì5sb(éº-õHòn¦bìýE63(• { ¶ KQ¿ïEÒô×S–>"t½øH ÝH†Â˜yM–zjŽÄÜö!&íS£íÃ÷ß% T©È=­ œÂ®'ïD(ÈašV!#X(mÓ®›dû2/pŸÕ†ŠÆعrgIÜx¤êë¯En[ÅŽú±ª £žd@•V”“-æ‘u\»]­(ovH g€MÓ:t¬[¾Ž8wl涽ªÊ'\<&!k" '€íÔÞ7~Aö/@i ¼ˆ‹wIî#³HòÝvL£=ŠÿÙ†þÓð©#Å +ˆº9Y+è2ò(`RÝä,²‘p˜:À®Ç€8®Ü¨q#,34IÉ 94¼È¤z{#ÚÐÇ%¡|TQEíµÎS6º<Ü»¶‘º ³S’¢JÅ:~ËÜ™_♆*¼zé*D‘˜¶a2t;ýCª<4(á†uØF¦’ûf¾;•9˜ŒÄ~XçCÈþn‡8M°Cy^¦·”¯m Æùú×1o†Ìý—æÒêëº*ë(S¤t÷1¥¸Ê­£û ´ùžZœWù1K!Y²]ùsEè"›°Eñz¿–/Mý|?9ìT*Œû†ËúáƒcqíÉ¢#9ºý·.$G¿ÕbÛuÖÖÍ®—¯Wú½^`zV_a,£qÂWî+è9beƒš‚è|OVhk_ûàHºvh( ,©•Ûž˜T"icžIܤ>2· î,‹óK²ðE§°q£®1ðçæT¢ýRÎÊÆ™äÅŠnŸÞ™k&¢;PÍ~ÈÅ þ°—qõ‹÷€§P’"D4w¯«Úÿ6–ÏÂÆrV—mÑeX®7m.Í wÃu«c9¨ÄûE¿GtðuÍ&9ºûž~랥a"ÁÂû–]ð×îˆX·É†|+æ<Ê4b|$2ÚëBÆ´v’åÒ ëGs|!´wž‡Ç†gk§+jË`~ù´ +O/R¿µ\2nŽ×—¶ÎkD§`=-w{÷E×Þæ#*.ú(Ÿ³³„(;‘˜óÚôD–.¼*ÀO,Èv„€`7L½­—Ó©,Ö»!h—ï¾ó”ÛÒAƒá`‰áí3éæ|ûôIÎt!×uÖªláÇ›ŸeÚ¡¾<æµë!æÝ=õ|K:tÓ«}Ò’UïÍS_ ñ³V¿•Ö^µ^ÂBÞWÛ<ËOä9<¼Ò®ÿP$܆ñNÏ—ÌIªž±:)êBkò-ú|)ï ¸f9Ë'j>8\Àzþ‹¸GX¡­ÜgsÞò;¾m#²©ä\øã²›ÛiÝBÓ+MGéôÆQ Ú×*tEâ£ãúkÈíkQñ{šMÌ;Èì5q7j:}•7V +¸ò¢uèTßÁ1÷Ì™Ò-ô*vÞOñ¤E$çÛÆB6ÊéÄZ£*î%ðÕ5å½P¯’p±Å¦‹OL$·9®XQ6_^‘׳³Ø¼8x\”³_Êl]®÷ÕœŒ“t¤j$üŠªcÙ]6ìÑÐw«Â“zeóñ¦·yª’Cªð q'b?ãæ‚xÂp‹ëòð}½¶þ•qûÒt6n!œ_æImó+zÿ‹Üæ‰DJUõÄËÖ”9à½ì©&áCü[ùVñ¼ýf] +M¼,Üæö­˜Òó´Bvõ÷Ý'«7¹ÐÇ…Nq°0?®ïgÖ]ñ”Â\·I{#,Í{eKűzœßÕ^4"JZÈg^×>íZI EhJy¿(˜ —ö2ÍLc’ªDI‚¶eÕ +mØ=Í—HëvÉYËCø +SpqϨ¾ÒñÑÂÌàq>SÀÍdYz÷ÍŒ4¦Õ\‰…1:QÅre«ô•„~¯»eÓØÒ ’®Ôëw¯Ñ³Tê*uµÍ³§â¶úÁÂ/Z¢[Êô!‚4ñ)›ìƒ ‚p£—uºš{ÓÞx4å’ù(ø«”)½ë˜{míLìé®á£ûìh“¸Üá]d©ÕÏ™KÊvB›µ&r½ð¤T׋Vûç‰n÷mÊØhæ~®wfÃ9 ›l¤ó¥O(¡ç[•]³á¹šŠFgIkðk"¹|Á×™@ ¹FGé÷–=“ÜšD‘ˆâ•¤ûšy¿ž;Ä䇾 æyÿxWu$‰AíýÙ[&ïÐWF +ÙŸEHYÙk×÷é2]KŠ³’|:}„ë•¿¦h*Û¯ ­EY°Ñ×CËŠ?}§s.šàŵ½fèeA¨›tv$ä*À³¸'Ž©†æÑ€|ŒÛ[Ÿé÷ ÷—:Öo19H6œS«J =g²Â™Ô;4Oßö¾Ü›¹¢0Þ5ÉÇW ~O´BïÎMaï÷£<õ²)uq%YÀ„ö¨|»öc\‡%hùÍ”å+'¢ÿ2K¼ +endstream +endobj +5699 0 obj << +/Type /FontDescriptor +/FontName /LHPKHM+NimbusSanL-Regu +/Flags 4 +/FontBBox [-174 -285 1001 953] +/Ascent 712 +/CapHeight 712 +/Descent -213 +/ItalicAngle 0 +/StemV 85 +/XHeight 523 +/CharSet (/C/O/T/a/b/c/d/e/eight/f/five/four/g/h/i/l/m/n/nine/o/one/p/parenleft/parenright/period/r/s/seven/six/slash/t/three/two/u/v/y/zero) +/FontFile 5698 0 R +>> endobj +5700 0 obj << +/Length1 1199 +/Length2 2227 +/Length3 0 +/Length 2969 +/Filter /FlateDecode +>> +stream +xÚmSy½>÷ûûï9ßsÎ÷wjµ‡§ž-a&W£ÆnPhãIbºêmi¼\&$ +åqà¢.О ’¸Ìt q>^t@ ±C4€AãÐf8c´àŒ6úé³q€ +…w d3 ¦r€É¼PÉõä±X ¤l90M98€*¨pñÌ€=ÌŠbC4:ÐòÞ¼U[GG÷·ƒÅb ¨Ÿàr X+8„ƒ ˜µM@á2A¶ pÊ‚¯•„§@Ü…¶-:—Ë°¨$P`ÓçPõ™ ×@[P,žI±‡C8ˆý 6H4e°˜†!L8‚½(D…˜”ïíQx,o&Æ7:ü 0!~Ûh 0A¢±h3 ÀH2Ý`!µW übÌ$&%6š³*‰Ác!*(ø!¢9¤pà²y`lôÿÿ¾!0€‘¹@H<Éov¤þ¸H\6 ø£õÑh €^ø~K™Œ¨ßîn¤P0°u!zû8é,Öÿ/O;;X@«‡15ô ÍŒ FÐ'ÖÄèOÖ_züÔâ»ÕƒýS+ú7åF&°?Zhù³­pÍÌ* õ}´µó»Á\ˆ Z¿Ç(m‚Là‡Yt¼þ…/:dæpä1ß•Ñú! Є¸ ª0‹³  Dþ¿(R(ĈZ$îOÇ­à…ø‡îOø»-“Æ=Œá#Äq„"AŠÄ%ÓÌÎO¹)ßô€9Њ BL0`^tˆÂ9Á£|‡@&å¤x&¦@LàÉŒ(‰MùeX€É<6[ Ó÷—Äþ¼S!A‰  ’=]0Ù<1¸<ñ¿Ô¡7øШ~ƒ÷ô¤$Tî+²ÓS†¨mRçïRªïqùt%[>ãMDú6dnbšç'œÔÙCMÖq -' q'¯n/J-äi,YŸµüܺ»_{ŽbÈcY3ix¤ïÀ™{õZ¥s7Ñî$dø{8Ø”xfçxíæX¶­Þt€¤GÙU6ç/s˜PªCÈí MǯY–W IHÃQB9ÖӪݣ»ûƒ¦×«$n+]Áƒ13$|kqÞ åŒF™Åú¦&ïÜ+Š°ŒÍqHÜh”ž>3 •¢%ä—UäÓ~hS%'\nD뽧¾ûz™Î +℧¥)]ªocpºù½:×FN6áaÍø©Àýã©¡å"ϧ„Ûân¨¢ò€V(ÖåIJûïn^½E9Sb\ƈvGZ Gö¦G­údù:í„M˜ÙžÈ3W§Da…vSÄÅ×:3Þ&Ö©}y&”›®Š¸Fâ¸Fmçý5ÍqšVºwíJ?örùJG;ÎèÅ`F©Qï?¿^Û˜B%…µ)È›6™›¿n̸þ‚áS4k›‡A\©k£MYÙ~y“my}¡¨w¼Ä¡ºŠÇ9·+ù‘j¸Ð÷.–Þt»3k{>¾ÆCŸ +,úµ6ä·¾ºVþpx„ý±VòqÏ]6ßfõvÁ=ÉI1(¶Òߎý sün«ÀÀú¦Cæ•ŠCÖ !t™Ö»Œºõ®ºfÑBù9i0o.¥ÿBU°¼ä2ÔåÖ¯:*kŠDQÊ:RÓ*âÁôq …î;ù3¸¥È·.˜ömÏ Q…8^ÆlQudŸL<*¹uàÞ›ves0êÛ&ÝRqanŠEйŸ {ÌÏÆ 6Ϙ—m5ˆäµx]vë“MîDÙÒ +Õ +ˆ[ª:r5G…éc!Ã…S7JÅLЗ/?wÁ“Œï˜´—sÎú–4ðiùgËó"‡ÞIFúó‡ÆðÞqp?DW¬±=ôòÊ(—QHC¨T[3?êß$ +W<»ÿZI’pjsö4jy”ïµÝ¯D-V8užö"–mžäÍ!9¡Î·[íXÍOž iÔ|²p A:Ô êÜzÚqeïiÿwj±Œ«­ò(ë"ç̈Š$cL§sÌç£mGªPϸûŸL*£–R ü(ÊN÷~ÛÔUÿÞ€hÃ;¢å›dþlɾ•ŠJç±u*U_W®s®Òu~›oüãµÅ>™=š.–ú­«ï‡è ¡eõ»¢³s¼Î=OÙ³o¸óøTY%fðƒò«æ¼ú*öUMôD{…vƒ>;¥.TÈïÛÓY*{% Þ…8sáÃ=ZÿÞWŕLj_"cÅ™ M®´#äÎó…SÕ·HÎ+€¥%~îTe¹Iæá´©>æ< éÇ/ê‰v,Á —Êûmß}oÝwݶƒ(Ÿx‰]š/ÏŠ™•¯û/º¿Á~ +endstream +endobj +5701 0 obj << +/Type /FontDescriptor +/FontName /AJQUXG+NimbusSanL-ReguItal +/Flags 4 +/FontBBox [-178 -284 1108 953] +/Ascent 712 +/CapHeight 712 +/Descent -213 +/ItalicAngle -12 +/StemV 88 +/XHeight 523 +/CharSet (/h/i/n/t/w) +/FontFile 5700 0 R +>> endobj +5702 0 obj << +/Length1 1626 +/Length2 15471 +/Length3 0 +/Length 16310 +/Filter /FlateDecode +>> +stream +xÚ­¸eT]ݶ%Š»;Ù¸»»»{pÝÀ&8w‚;ÁÝÝÝÝ]‚·@ðà¯|çÔ­[í¾zªîÕÚšCû}̹„š\M“YÜÒÑ(ãèffga¨€ìÍÝ\5íUù•˜•– À_975µ¤ Ð rt2º@K€ÐÀÁ`çççG¢H::y¹€¬mÀ:m ]zFF¦ÿ”üc0÷úÍ_OWµ€æï;ÐÎÑÉèþâÿÚQ€m€+ ©ª¦'¯"  “UÑÈ€.fv57s;@ dtpÒ¬]vÿ^,,Aÿ”æÊò7–¸+À àê´ýuzZþQ1œ€.ö W׿÷+ÀÚÅÌü·`GÈÁÂÎÍòåVŽÿääâø×Âþ¯îo05GW°«… È ø›UMJæß8Á6fàr»‚þªŽV---Üþ)é_º¿aþjÁf Wè þ'—9` ru²3óú›ûo0'п`¸¹‚¬ÿÀhmæbituýæoìºóŸuþ·êÍœœì¼þåíø/«ÿ…vÚY± ±süÍiþ›Ûä€ÄúϬÈ;X9ØÙþ-·tsú;Ðå_ ¢ûgfèÿ‚0³tt°óX­XUÁSèþïXfùï#ù¿âÿ‚ÿ[èý#÷¿rô¿mâÿ×ýü_C˸ÙÙ©˜Ùÿ€Ÿ1€¿‡Œ™àï9PüsиÙÿ\ÌìAv^ÿNÿÕZøo´Žv–ÿU'6ûÛqë¿´°±°ý[r•y-Õ@` €•™Ýß~ýK®í` t±9ÿòú¯–˜ÙÙØþ‹NËdñÅá¸ÿ­:XþWø©úxVeI]%]ÆÿÃáú/Cµ¿CÖòrú‹í–¢ìhù¿ÿ„‘pôø0³óð˜9¹Øÿ€øyØüþ)ÿˆý?×Êf`'ÀàoÝlìÿªþ^ÿ¹2ú/a¤,-ÿM°™ƒåßIû_‚Ôn.. þ×æÿ[õ¬ÿ5ó@ 'ÐimÅÑB0Ä6=+\Ÿ7:-e0ØÏ=êTÖ¤U\XëرË_eúZÊÒ<+ðÞáµ|êôöSáp¼ÏŽ¶/xY@ìGI?Pˆ¹EÓÅËxÌj\†šq¦ãó{IiFŸ‡MçpoZ]øôŽd¶‹Óá÷#} ¥{a Õƒš¿EZcÇÕìš à—0¿¸*j4ýÑûöÓíýÇ*EÔ«?jvt…„egCL½ò$B—Ú0©AAÎoÈØnÂu<܇°)¯}a/Û .þœl#uç|aúfœÀïŸA×ýŸ +’®‹ÁtvgrBê˜a•sJ¢ŽÂN=Ÿß=Í%fbŒ€ú1” +lx_xK»_Þ{Œ89-€0o~¯d>“æ^[ùu2Ž%­HÛ E¸±¦MÞ81‡Ë={«Ó ®}ôG£5â¸^s5°š‰OÀ˜´,ÆÈúÖì[­î„–A§WeB·ø+u ’ˆ{¶0Ýæ¡{†çÛ’–ÄÚ¬ X£÷{» +æ•H‘Ö~¦:ø&›éÛË;˜¡ê‚+™cÝÊK+£ß*+EÔˆ¬Å?a߯u“ìàI’‡ «Ju×…xBsû9´Y?ýA³ |ðÞÿ´ðÄèý™Œà|aPl»Nµ;G¯D¯±§s8®åÊù“jÛ!%³•T! ﵋›#\ eˆùÙÄê±·{(ž)Ú÷×Pàh‰åey½² •ÙèaŠŒ_Ü÷˜Qyhª¶éˆÊúlDrŠr&  ÚèâßÊ01HfE ðW¤/º‘yŸ|×½Õ¼­l÷¼Xà&³ýêZ&™jJ³Ë¯Ë +©ûhökóo5:&Ôš½w€h„Ê»R¹¶µ^j(Í¿&Ù£B 7ñãiª™5Ng(‹ÿ¶í÷Ññ+C¥ž¡…§W{H*&çÁaö(“Ò¥L1=<È^¾Õ¨£ºê<Ðjã“.Rj%r|ǧ«D1E§'S"Æ^\,Eªâí£N6¹"B äFNlPGÐp´_„fŒZ\j¶’Ñ©saO‡ýÒœÔé9t>ñ +Šø]âë•*ôãIðKô- I’?èMýhí‹Öà|>`&…ïÉðÊÐi3bdÕíBëŸÖæXÈËò¢àƒ™²yÈ’Éÿö&<9O@ÅÖX´î,Ì=w*ôƒë×£ÀjÒ·²P¼›<ŸÆíý«ø"ð4­]>:¨¿±;6òJ_:ì†ÚmÔÆã%ÛíXÑbç|>YɹpùN˽õ…-£ïÌ?%¤¯<¼H!ðM;DÇG˨êSýà4Œ5ó™Cúç_b2 ô1sakƒj"Lå Õ½§Cúèy¿cq}“¢[+ &»‘œÍ#SdÛŽh‰e-Ï?IqYsñ±(Ö¨¸T¬À;™fÎQâ +îí]'Gù—Sl=Sµ¼.üOûA­W1U­V©©1?pø'ìñ¹.Xf‰ùcv|±ºÂs=]½LOˆ+yä’Û»°ÕÄJÉÛ¬ÔØL*bÕYŒŸ:iõåkWlãÔO9‡zNžnr•a¿#©pWìfÔ!æ›Ç„æfyÛ»u_ và©käF‘>· è=? Y]ÅÙí\£æ;kt+¾ÜÁÎf²a[4iËSüœ +Y&eNvL449o§ÐxYkòmöðjQ†Ÿ7âÍ1n„uƒn´²"¿h¥¢ÐÃQš?òây‰öÊ™Ôz™¤|I‚’¢xUpsê¸À x9´Ò³D²E:îü¬–Æ¥‹À˜ÀR¼xN½7d$%[sRÁ,&F4Ó1ªÛ8fA[]p`óÀÛÈÿÂV1/'¦m!§Ö»)ÕðÂÈÍ­ß]؈hOòh9"ƒù[ËqhºR2DÇ7|z»OÕ¦ƒšå¼d’WÑr”Eñ±Í&/hzugÒ—å³zþ—ÎÊ)L\ 6B¼s| +9ã4ÁZ¬/EaoõLgêžE·ƒQ|aZKó£Q›p ãœ7Zþe´Žlj¶G\—1ÔÝ9ßÊv’°7±vóE)ü¼f2·e†®é°i0ò +6µRˆáºT°fÄŽ€5ˆÕ%¤B¦÷0˶%–¿âPa';]¯PpaÊÚºñLð,t* àd»OÖbî{súF£À·Ð«×Ô«q±¸RÑ83™’ƒä=Õðé8©;¡‚ §:3®R (uéêu¦$;i(¼ú>Ìaí-\€? +<,“úqðàÅ;ÑïäŸI ¿N_³ÈE‰RÝ/ÆI*VÏ‚C:þX§•á×ÔT`Žéă—ü+µ³rólĶd¦V:íä‹¥Pc¹wò îW<à@ôÉ¢&3?ûëƲìw[’5Üà&Q2#,â¡”“^èf$ª|ÖJTŽL} t.Çi›Z!¨±S­}ÂaL‚¹ìYl•4‘/ï|udš5Lôâ”ö¹—Z›p¹Â0) ÜÉúâÖ£5×°û4­@rö¿ùÚRó‚ WËÕßíl¥›‚m¸˜™éÝ’ +'”_3± +â|ö‘ˆÄ¯¼;wC'£Yz&™?=fY9"ãåè!D´xƒ¼ìPÀ^z+ί¬°ãö“è»îRP0Ôuüè§ “Ôü…½WÙ³0!D†éþ”<$lʬ h“µ¿ + UZ‹40Òƒ(ªH;ñ ùѹllÕ3L5õÝ6¶ya©înf ¬S._YEÆ&ΰȓÏ|;. ©‰ùnß,ìÞ\œÀ»M#28bo¢ÒmÆë&}1ß C©vbØk+20ÛÇÞïÎBgÝèæIòòÉ›3i<–3‚nAãÊLŒàKûØÎJ¤‡ÖÖ™«ãZͺØ-%P 0òkHù-´›Ã^¨.¬Ï Ã),‚xm‚ó3õ§Ý¾¶µÝŒÞoÆ¥Hù{³$êÀùq‹÷ œ¬ë²ªõ1©-ÖæosûU)ˆîS±Iù5»ÂªÓÏ ©ƒò¤+·¥Uñ‡‘óÆÈ“Ò]•¦iým†i_…ô.A̹þ×P£$•\ŒTk¹”ÇÍéµ\†åТn&]¡¸_š9¦Ì1:DMgÆ ï0¡7oí#•ó8„UE4 å•? +±#^J.A—[_2è2ô v5áv-m,&›iºÁŽˆÚrœ”¿]û[£PÂh|ïÏ–+žfÃÒ'è÷¦°ÑM—Ù¡EÄÂ× \3{KTœÍìàa4nÕÍé ÍêK~½ sª±s—è¤(˳Ïý³ºÍÃ4ÌÃÖJÜ A—üXË'ý¨— +=”¼ˆLŒ J¼Š»Ð½ZEq/0êB½ uWT%ýþD1!m»*§˜•¾–-åag,ˆX®9:mRað$2jÆçp¶ÌÌ›QBc›ë:Ü4ö#ªð,[ðyWÁK1un¸+þzDÙ+";D‚¬¾–mÿ¨7Ü°hçP×ýÊËýÍPi©ýf_Jz’VA¬ÿ Íï~®ƒ—Dôž¶•#ù>lü%úÎÅ‘|ERÛ¯ˆHæÍ„´— ųÛ4˜ÓëNS›hÙõ®ÉÎ÷°—‚q»Ìš¨2/Æáþ£íE.±¶6‘+ÛÒûÆöÅ£c@˜û$3A›ü¼IQuÙ­2®”zgû^… +ü ™7ý÷ü(ó 26Õ`~Á4 ÛÔh.Á^qGEdè%Œ‹ kîÊ ¢ÍüÙ\•¬ðTúoœè\àRÓÑ$}BÎoŠ÷nÂÊó¤&nØÙ˜¸KÐ\…VV;qP{ƒë{*èV¿®^!£¬‚‹ ÁÐdqì.œ‹DFéÛgUÔÇËщ6MýQÔ +q¡ÌUò³ðn„ŽK)×eû÷ÂÕ7ÉkÝ&¾°øÞõfœm$#AO7ÒžzO5z éу©æâ„ ç€!:`Ôi³Ã%Ž½Ã™ð!ÆaOJ×P܈ ¶c…OjL§ðV/{…*-9°ü¨fè& r ˜™Œ½:9åŒHHÂôþ|›|WÛ0Sx§°ÍAçÄ?°«w™w‰|ky?2`ÞþÓ×@4™èª5ãóS-Ps¢%QuȦ´.Jv…ssÀÈä»ÜT©)Ο§vð6ì> UT¸J¢°çíÝdQôñ=þq¯ ³™ÿFYv²:Mˆhe#!ÛÉ'dû#”.Ñ´DTó;ËŠ•3-¿³GŒƒ9-·ù "HžöGjtŠPÁ&#òj§ÊðSÙg +©rÈ¬Þ U¤ò¸:'$ˆ$-‰uD¤ K„¢“³¤q^Š/pm:³-¯%b<1$ α~éÏŒä¿ÎßP–ó'k‘Yn(Z¯?ʵ?¦òkßÝu œvý"µúdLP¯«òt83éë4ãÍ +–ˆûýJ»5ÐçdÎZàŽƒÿFmpNìú»MçÅÁ÷ÞÁ8øO"³ªüÀøÕÒ;±×ÛrÙQM,YÌñÛC¬!ËŽåô|BT‚Sy­ メÈÓ§&5Ïꬰz ±³$ëŽÚ›æW97uº»ye%ª»²þ„ÏX¯ ÆÌö£³ñ1·ÍD­ö _1r+‘OÙÀ5úvaZTn(§º9Ðɘ'ˆH +>®%]ÞPÅx¢·fº$Cád‚Kãì—ºüX°qî7ãÈmÎiÆnØó¸f:{sà˜Ö~¹d¾ÞÈuµ¾j¯Œ^zBÒÇ l¸›Š#V™T)Ò¹ä2–p¦Ö ½ÓXæ‚êÜåK.+be$1Õ”2wve1‘ýÙäjy©É.OQ-'ŒÉÑFv]yù§þã´Lî?XwVÎe4Üû:¤$òqìã“ŠŒ¢ +É\SOõMÆîé©×òjh´*ܯ€ÜÙ€âÕO»•ÓM½Æ‚Ä*^͉wó«°n¬>ækžPèÖíu(bî²ôòÁØ°÷¬rW•Í -‹fŒHy~IZh‘(¼i¤îŽs«J–Q9=¶žBò¼É}Xj,0¯p*ó°7СÅα9Õié•Á~‚’&½ù@;éCZʸ†s5ÝZ‹ô+Žs$µ„S'Š>»={\S• ³©PHaÍÔ‡Y]¨é³ÅÓ×é¦R®°5¹É<@“F²)zFOi³åÔnó6è7ßòíÎÄš`5™»Å—tI¦Ún¬†¬’S +îJ©¶ÿ|6³0p>ZZÀ“þ·³|Á¦©Öº,§ÞŬgøp@záBMñðŸŸæßËŠâÞŒ›Ó~ÓVe¢î®›­õ–×ðþr¨XU}QâLR‡$Š¨†qþ…[ƒpÿ{y…‡y-éÏZÔD2ÎT22ì_¬Äd[ÔøÂ]ø­[Õ+Wˆ³šÍ—RØè;˜°Jⶑ²ê£fXSgˆ{PqP$xøì•øqm 4¿7=Y°ÈÖø¬ w#èÔ£™è.‡¾æ×/Ìó„úšó oéÝkÞX—=`5œBY%NÅJ’è°’ó) õ°ÏÕ5Q[?J×X‹e{pžVÆHͲtùµ­{; o­f“mÊ{úg¨oKlïæ9{cì 7îëùFeŠJ.³Ãù¯Á²ÿÅxòù¥C¸§í8=+J-©ýkJ yÖký®ÐÑè×õC”Þ>,TÈ:Ã4ò µ2ÿ>â?Dœ +Ša==øJêýjâó:6_4¥û,ÉäDD|¢__É2W1Âõ\ŇS\Íbí²ÿÜ#£q ”#°JgÍŒ!‡¶¯pÀôÁbÚI\R~³žJ„FÉDZPVÒŽŠ{ÎyzðˆõCÊw{¥‡¤7Y@ZƒèÃLún¯µâÿÂOä—^=És£¸6²¢³nˆEX×WU«p»_sªË¿Ü&Žà™è|d8F7WXU \pȇÞîÈÍ0̨:Á³vˆçaÁ{ç²nþ²ÁlW󉘾ŠÌT¯à.ˆêp.kNn’ü– ü&\ÔwÆÛ)¾QRáû¢‹sMÖû‡B¡*5ÆÅám¬/éaƒŠ+wýXŽÎ! +ä:Ú"\.嬮O…O†Xñpö•ÅE+cÕ¦ Ã\F‡ ª hTUèÝá|¼³×Ñ"­ì'@ŸñgŽ;@†¥ŒœP\ ·#¦£ÓžŽ#4¤²ùóD ‡Ø6# ;t“7ÅÅm#W"7?–8úPŸÍñúÖK¤•©Á^ú”=RÉWÈ¥Œ’Ø–žÙ|Š¸xþÊ涂Ï/KëjM[¿î~}Ãï_tÎp{ÈÙXÊ×|ùÕ´°ûõÆfeÌ“#ßZ)+ôÔ BO@lÑ“|ÆðV¿Mÿ´_Œï›·Yòê`ûÆœäï~~ŠMtW»8$UvaÆÛ½PtáÇSF?æ–ÛYPBó#ir·l8ï~Æ"õT)ï9¯JFôr}q¿*• ¯qÖ±±~÷g˜p9ëïó¾ÊiöMåZS×EÕW=.Ú …¡’l‚ì]y§‘ÆìíÝœJj«DæѼ%«ïj(âGµ!&ôoX~ú¶žONHB£¹¡oÅ–7|;²ïÂa}ÈÊo§P¨ÁêË(×V¥,¥|͆Ìt©`ÔwÏW¨“Šín OÙV.À£4ˆ´› ©þ¢ä¡éH;½ú‘1up -¸’Sª©rmA«¢å–y×PÒ-wù8,T8¬t §ý]š I*e-ð‹ä€4ê¨U1BZ…‚f&C²ÇŸÅ½°‚[dÌjãÇÅä4§$9Ö «:÷¡ YÙ‹ÜãBr YE'·6Df!€ZC54æÚRu›b +ð-úñb’nÑk¼šõµ.»¬ ¦G?û‡Å×SÜÞUg ²íŸf[ãO;—FÐõÓï!Ì‘ÀÇbD¥‚unÖ Ñ uwŽ¬ÞûNš¡Iñ¨zl¸¨HÍ6ŒËnÞ+Æ“³4ޑɆÕòbôf§ºIJ¤ªów®dh¸#‚è÷"ØÓ\ì¯âTùŸþ„µ§ÍN,j¿œçû½HîvóPÉ‹,#µF!S”y­þÀ3Ï!“#·tÿ.™h“JÂÈô±¼à8–á/ä â,—%ßв9÷79(ÈîCƒ‰GãyC 44Qº›ÅOÚ”Îc‹ú +ÚTÉ7¦ãSAQfèÙe5ES¡¨ðfM‰ë¥AÓ.ï¨÷Pm¼hŽ;¸ãQ:õÄ’‚„W¾v¬+òJÍ°²ú!I²®¦ïªE@Égrz¨÷Æ6úÕs›j=éûeÌ¢n0^BRò‚Âò¹³) š¿´bIk-‹€ÝO*/çéèx°üôÚJâÒ'ÇDµÂïKÅjÓ³­D%èaßrw;U,ÐáW˜„T)Ñ[ùI,p ßÿ¸N²‰e“ïÀŸKE»;›Ÿ*i—SпW>ïrÛU‡’XΟfIŸbØâ +ÓQK²`Ç?…+±|Ìo‚̃q³0Ž&æËF™íH?Þ`&Ý”ñ’\¸‹LNÌúçŒêgùªDÄ{ÚËy-çü.aI‹ò¤ÆõÓó"§ãœ¡¬'Hú¬þÑ}3rìò Wf.ùnÔL¾¹G3÷|ìð1”ñePÂ2þ„;5ø¶I‘Œœ¦•B¸ÎTmú:Èóć55æu4íe´Ç5MÈöÓ0¤þAÈ7.Ýæï1ê¥)~xD·÷ +ðØøÄ_òðËùZ—*Å÷áü[¦”ìé DŒ§Í׺)ertü­dß>mò›#ÕI¾ä ´o„p xrÝ?oÌî~ñÄàd„ïÆ%§U +&ÓKcæƒ0š¸€;!RfÊëA4&Ïç¡åÅN4f@+â]îÐÆC¿Ñ!¦¬Àæ{rm‘ªï,ÀßΉ‡ÏW¶ »R‹èáá—l”ªÛ<vM¨uYY—ÕW4E¾X,¨\(<_°XÏ/Ãõw‚¢«=žå7ü'…û†|½cEÒ0ö«è´Ü"‹}Øf·« ¾!'h++{Éöøáƒg½# =£wëÂMÔ[·qŽ]ìâämAò/¹Ø›JÉ?IL§‡§ö]å¥ÍÑ™ò?9&ˆ¾Œö}õ43´)¯ÌÃ:EÁ|ɇ•|oÂxð_÷`›fÑm!“2óÿjvoVÝHÙmƒ:ÚN;ÁPÖ/?Õ¢÷4jfMOX| QÂe—‡’Ø¢nrU,XÁ=]„¶¤¿„£¶¢—ù92+EÌi¢,Q~ÁRÖ§ùù‰ Ș,ËIGÜï8O%=mÀ¼e¿ŒÑû¾ +eøÅ™ZDÿb.!µ÷žW5Vóœ¤EoÍfºÕ^çžB'9 ÞSsº|õ§ô—‘@¼-þ”X4 ¡¼/`…åë™rÚ¼k×óØÛí­%pаš@|•¥Ì°n(>·Z.ì´¾ì ù¡“rÄM + Ov,ž‰÷•ò™õ#/LN>j7•ÿ«¥µ†îƒ Úù“ÈÊ2\ò•pñb.ÚÔÉ¡(Ž‰ËѶž=ñ¨ÏÒqYõí +R&GÊèB½ˆà‡GšöP¯Ià¾@¼Ü8þ/“rÍßnù¨#Ù/ùååßœª7ÚðH«f·R8 í'é ]B"Olùv6T(‚P4Eu"iïYó¾½<É£t¶©…4ÌIZ•ÿnõ—Øg—S[Ähuð‹1oÌâ¯æãæñ⬥Eg/FX•sþÕÐÓ¦ɦU‡LhGnh7¿'cwèØ=Eò nkF«ó«Í{ëb·YÅRÂLƒ³ÄYœÖàU“@‰ÌíÝXß`*kàׇFô·ùuþ òrŽÚ‡4«¡äÄw•Bã´¸šÊÿZÀ¹¡¯®H󀺷ãýœbÀ^©º ™GØý`a,ó»C-<é ýÀ—áwI“,†}ù4[X¨Ôó+‚H5\Ë» Ÿ²IÖÌÙs”°iʤù¦ï\GL¤",Œí·&›ª£cî)Z°ݽou¸¹/lŸnZ-{²Ñ*â^ÙóÅÄÚ‘Ù¢:Ú¡ŒfçS&±¬¦Ñ‹V·æ0¡ÿ\ª |˜Ä™HøøÐÐ>»,&®ö2×S=~Ý£¤-t|Î WPdŽ`$mÐ=N¤.—æ©WÁñN ôuçø ã=´GßJ + :â!.&5&¹jSÉ !iæh¦ ɹÍ뜌äkÚ4»wóv 8C!ÅxpNà·'!Ê՞Br üÖÇü8'MµŽÚÁØl»Ñˆ—F«ˆùÍ0“ç®Jh•¸„4ÔeêúÇÝÃ7î‹vçãë@VR_àWaC3ÑÅAoÇÇïh¿ºª3]t2Æ{4‰^)?L”¦3?1hÓÆŸ·ÝgÏy0µ€Éa*š\¸z8tKnöÐÌž— ’r0 ¶º2›Zê n¤ªm5ÏA D áY$1 éN¹‚ãfúé£víà +=S×¹§m +ÚÅøÉc ¶¡Ì…5¾¿JfŠÚ}“b¨˜e[ˆöãN’m^×:¤—õˆž ¤m6óK +NCmï°>p±”½šÛ(G‡x±<ÎïK¼²¢Ù?JXÅ´•ÕúÛn£HååÛÃnŸŽî´›£›³§ÃÏ»âã5|Ó>v²&ÎÊ”¦Ä°£æ‡ƒ®Í'Û'ä?VÃòëŽl)²z^R`ÍÐhø® 5©ØvNEdUÍÃg\¥òYû~V#­wŠå ÖúíÃJGn´rq©Š@•? +kÝÜŸ?aC,¼j9#œC-£ †·¦š{Ï&æ•%¦þHõÿšFqÎÄ(i²˜pÿ:M—6‘Ÿ·c ‹Ü{h4vS»móø©´(ãžÌÒÁ–Ž¯-¹ü¼«Ù£Œ‹Ù²6 w«†ˆµàîxª¥Êxù#{€Èq¹ZË> á®‡Ô-c™ÓÃ’ ­Žq¾ùÙÈ,íÏ«;]`K\M§X^0ÜA®n~Ë€g‡i7%Ãd´°ö˜†ÜÏ °ê.Nô0éØÖÍs€K¡[Fx<ä¯/í™’5¡Ð*oA´è¬–Ý»·n-n&¿8N;ó?IãïÅëtƒRt‘—Ö.«qS¡9AJ2רì,\ˆ¶/e©5‰¼‡²€„Bf#J²¨FqVôPïm6ù?dÎþ¶(ú +µŸÙïlF=Т(v¡*Òƒc‚aõ†v_Ý„QœÔ¹/ÉQ’Ö`ÕY—´—IÌCµ'ÇLÞy2S˹S*n]¯!ÙY™;ñ.6eú¯‘÷Dö`>¦nBÆ¿¹…d÷2?€¸fVÓ÷JË—öF~CÞ$à¥r+¢¯›NI0Kª=ùâû!*ËNz‡n½.¢äQ†¶§’‚•éÞ&¶Ž˜D…1ÈuNú”}0¸iå%l2KqÉß|›™/Ö“YÈ_ã¹oFš,KÝUw®"ÞåLo¹0 sƒç·n>®ÆY½œÜf>¼û“K XRê•7;E|ü$-W9ÏÌIQüª +‘ÃÔg)ˆFüÌÖyûýªUþR]Þ¥!®¦…u¾Ž›T÷6'`²‡„¾Ea`hä³þX1ªGÜ@?ï3à/HŽ~J_OìnKx—RÎÃ=¤€ù9ÔyDUûKµLTg‡'ìÉ\Æpgi‹4ÃâüC= ñ³y{YƒÜ„ßV{ù6±Ù-T¯ ð¾÷àØÇI“ÚL»?~ºéõKÊ‚cpP”ðL cCt M‘|ÆH9åšrï7ì“dû»/ðI’‚ª<û±+èL$‚¹…ã¹àècQ’²íEÿ‹½–žÃ ²§Ï¬>|­$iEÝeȲÎ>[Ýb3p°Ð‡=¹ùÚ2b%P"ŸtÊ‚aZÄ"~çR¡¨ˆ‚…ÈÚm'jù…¿þ*,BOXѧˆÂ7PL£âÖ(â•qæ(àãRá€ø°Ñ_«÷@(uw°(ò“u©eŒ,Ū¨x<ö[A,Žôƒq…ßuì鑸Sí(=*o£FùBк+áÂø£>OL†öâÔa52>?]ÝæÜ·žÅ5\ƒ ±!IƒÑ5¸«ÔP;BÜHñ§ÊµÊ c…q“(`O~ÊSI‹|ë/ôU1åá*”¸w|)/uíYÊÊGÇuLŸe ÆØ1BŸv‘1(êÑu牽*§»o +LNŒNo•ð¾ùêÛØ&0=ܹlaå‹Eˆ9°÷Ÿp™¶°('PRŸây ýôÑ’áöÓ’4Í'ª§”ëvátBàþúXÌÛHT°¿`sÉÖ£W.˜5ßy%ɸN¾DÙÔ`Š˜1ßì!Z [œm™Ú(…U=F(¬–ÅŒ^8tgà0ýÂt3Q&/7}‚Såoøõg´eÝãæwS!'›/%‹S.}DkG×6íYrµg»È+fùÅxÑ*:²#œ¼«´ÉQLÃøó#t¿ÊÛIb `ÑâCzúÜ4¼åDƒ)bsIqáÝûn|lû…ñ\Í”yr`;£Çè§õ<ž8>iùÎ;å6ßdí$öå3ê¯;bÕz¯®Äí[ÏùÀñ±IÒUcnÓ¾õ$Î8ƒ±†?’ìóÓˆX¥ ÌwÌ8mo<| M­¸jÈixZ8øuáÄ%5¬Ê6ĺœ's[¡pšD]0oHç@°qƯÜiK3¦¡¦‡{Z4Tv,ðϬ¼w•¸é´dæä½×Œ?Ô¹&ÏÀ º—;Ózd¾]¢Œ¶z»FX½Q˜n^>­°°{ð,ý²ƒ| ‡r,þQã‡þÓ”ÛO–¹ùË3¨_úOÐ{ƒŸÎ–©$« +–Èéô ×›AáÙ¢Ù_žjÌ°ÏáUáKÓXKêF{åy—©z5Ao‡•@*图4ïpÛäD¿ø"«êͼ°jú˜ù²V“»þ”þR6N±ô&4ýŸþkeÛåڢȤ–l«·‘öÁc²³ÕjLm;–‚ž8Ú=c)Fú å2Å<dú:%ÛÒ;zßíÖ|eiykï5³™?ö„µ4Ù¼ù Ôô—}©VÑb”âgîòøõР•u!Äb`ƒY ¥í#¾‡\X¿Š‘ât•m$”cGÃØbk®à“Å tÿQ½î2õMŸw–ña‹ôµ§N&ú=áÌülM2ŸXé~oäÓN'J}âÒ`„ÙëŸÝéÙxY}oRCDW_hXº$¼?´î ­¸87‹PÏbs3÷î‘8`ÿÇ"E>yÿÔ÷QÒ8ûÍtÀª½Ú©°ræà!B”y$áÿ™u"¹Ã91ö>Ô´)çN9‰—q.Üšëàçb/(e¿«Ö’TƧNåS¦¦kMêxFA¾nWvîÏM~kï±% ëJWk›äó‡Ü¤ZAÆ„~/Ãwëì BC•(˜GUÝ&°£Gz\(éÓØ$ñÒ*>qQ@ƒØíö«þ3´ÆÃ-8xËEƵôËþ¼A«Š/=ˆ;Ä‹6îuàÊe{IÖÝoôvY-êì )cç3DMÆ*»“òZ̯^”]5“÷èñIÓeö ?/‡p|õb†E¦kÅ6z‚ &LF⺣«Ô#ЙÆOËÌ“¤€Y„ÊÙŸÞƒÉëžn4X…ŠS™7´qãm9=dõxô+„áƒZéf!Ç–ssm*bÌüç£6Vpj‰•½,Š .‘ð×±¼ÕÈSß™d?2»÷c.ŠÔ Øþû‘YížbM÷tƒèCê2ËÏx™*ˆ5ÊrÆVˆÇ Gƒži´t¿d,Õ„¤]kY¬~ÿá{o˜ÌaìUp/û­×zSkãTGcÉú¼d.¹£lŠ`3 ++9"Hp²!*`gÈu¼õ{;0jt¯‚¬ÙOm³¤>ñù›ZêÎNÆô4Ï©·b€œ‚öG >ôqÄçs ö§pÃ(‹xŽ¤¡±÷8¬~Ÿùۃ䳠#tIwBºKÄ +ªQÀÔ +«%Ó“#!ÿoý†§….o…½‡Š‡ñ^C‹ýÂuM ×ã‰orêdJÖy*›¢ËGÿž¬Û+Ü?ñÃTÖãOT¹&)‚r—î]„ÉÞyúg™üËTéqù‚á±d9Ód«ljô‡áÀŸ:¿¿%pYòiìoÇÌ7`7›ðÝòâ]Ào2iÄF!¶1lØVQgWÏ•ö2ÁÊÍsÒõÞá3ìpõ6ß zw€úýîïu%à +M´{éP×¢eÅ-í͆9&Œ”ç…žU8åê,³!û‡ŒÉhºš—â„;Êç_4—ÄÅÊoZ¸„=¨¡n6y•ZsLù”ʶ$à3;j¥ŠÙ݉¿—d•˜È枈¹'Ÿ„F­qÙvkŽ u_+ÓH©ÒAÎü}íO3Šö|…êØÏ”$þ!rzP„.°„ñM”Ÿ_mþˆ9‹?ró#ª»…ÈÚL{@XùFóÇνņµ1çî/%C›úIÂNn.M•Îc ^tÜ:oõŠÛáT­=)_…ñRhÜjô®‰$ÈŸkyaôžŠ„¶¤Ë•ˆôÂyVŸ¬¼¤õZgŽ¶PF7 b 6¸óS1ØC!À ƒõ*Ò4›ŠýæÏ[ÈC;eQàH’Ó'=Ëx~¡VÌ:¹îR6ë(WŠ›7<ô~fIÎ/r¿U­^¸—LÿI?Š·S7ù0^’Þ èâUÔwZɦ‰ôøž´ê³÷’5)÷ÔAþ¡Þ´tР-Ë ×\ní²ò²™ÛÿÚœvš=Ð ¬ï` šÀø¹RlP›å—xÁü‘9™a :gü‡¨–Aæ)mpµ­¨º⣘Ȣk<öÛa–.9¾ä͈sÀ^ í`ìó<ïE(‰N‡÷*=~çz„«p”ÑßÇm©èW)Q^"Â8’»pÆœáÏâ5b +Qyáâßgfp*”£Õ•äN&ºíéOÊ©‰ÐfYsƒYYʯ1Œ¾Kìbs\žéf3z%q˜Úƒ£$®ÿñÖz[ôleüú§ÂÈ.c Ço„ÌíQÖttâôïœE¨f:•÷Ïe¿A_Íç"›ˆè}…ƒÞBúžiø¿„qU?Íñ¯OË øE©V#*ë3Ö%"FÉôå‹gíW]"¶ÆÜZN½F±TÕÒü®?ÄoY95: ¡‘f +~?>Ö“ñxÀGOÈŠ÷D ZГx—Á½ËýÍKdraR¿¹ÇGM¶dHgBÇ<4E´øý¾m„5Á•—‡,]:ºŒìCÒØ”F +_î%žØËöDØ„ ŒSô âLˆ~ºc¶n‡…¼9½i ÒÓÓI‡gÇpFÙlÚĨIæF©Ïƒü6ê½ú휚HôÜÞUúÔ4„…Çuç9º-Õ×T… +{³É¢LøÇÖvôC{‚å>žÎ¨¥ÔÎ9Ãÿ û‡yÅ"i}ËÖ½W6¨ÅƒÃ*J/XÍ\S]´ܺ×|M+V‰ÜáÌçSÿˆÜ½à¬£ÝœÿøÄ-@Ø13È +*˜ƒü>0û¶Œƒãˆ˵õtŒè…NÛKÉig¹!ëú½ÈØ#ÞÙ'Œ¡8ÿæä‹ŒÓðtTE$Q©aªÎw²ÌÛôȱBy3^çS9ÐŒ"¯%øÎ)§ºØR‹óù®Ë>éÁNàÐ\Û +š+c?ÿʶÛyŒ¢Õ)zx,5$^òsÐF˜Oãìq‰yY²ríDÑbôZ ÏËú„PƆ÷ë¹ûŸfIÜBäÎ'®y®òï n$µè›ø¹ÛL~–¥¹étc»h Ž(,#5øÄ0ZiÃAã´F\%9\Ò6cEå˜ÎgWx+öÈTø·ÏM9‰1øf´©Ëµ ^|ÊòÒ,›MìxÂöõ”€hcZ†‘¨\¬Þö†D`ÒÚðN¥Ù±às^›w0¦j,ØÇî³K`Äì;_uŠøâƒóH?…bÆgû¹Ÿ +;Kwšbã@ÕØ],ãJø|wa(m[ÿøŠÒ“,c,"ëò$iŽ‘¼,÷|§†é¶œïøÕ¡ü³Ù*öS¿XŽi¤ÇÀ}.œ9§>sÇ8-gêûÞÅ'JóçÍúÈзú•±aó8îDËÌ?Oc*<'µ+D“è†u(ý„"†îÙݵl<ô"'yÛE½9C| o3ù@+AÐoçâ™"Õþ$ö]±›ª?ÆÏ‚„œ/>fõ™;íQ"ô7ªƒkú©HQxî£Õ¢;A0D[»º@ï¹%é¹ v!˜ËÇ€V£¥+ì¸:õ¶1Naî쟌ô£‚©ßVáZ6Ä‹ ²)|9û ü7 -g@ ¸hT=i:öVÝ"…MŸyõwúÒб¼ŸLFHк´RC•Ä‹|›”ŠsæºrGÚº“ΰá72”L>S ŠAs4¤ëüŽÖÝ•|)¾iÇr6âÄ:2o0€bwdÎB¸ oèK(Pl{µ.s_&l™ÍÉÛh˜îç=FTedí)**úš³^ˆŒò°ñ + +ìýX‹ °Ù }ª8K)PñFáw_øDØå5'X/Rå† ÞŸ’“Ú‘AMUçE­Ÿ‰"8´Š‡y+0Z%ñ½YêdtuÉÇØêUw#%wÇì "kŽB$¨D +…„õé]XÆ 1Ô›³I†Â\Éy¼nOªšiÏz†œø¬ÐÛ>høQoNlƧœR~'ÝcØ[Ì°”}ᇓo)C Öðºiêêa2u'VÉߊ=‚3²(­åR«ÉúºDw„ƒeñÑí[1xý¶5]?xÌDb¹ÖÄ ³ÿ¾°bž2#³—€¶ÿÎô—1•(•¡ëPOôƒ±f”p'™èc®ÍnF{î·--(>¶p‚çV~jLº÷© Éð L©{¼ün·ñc¾¯F8¯åGVcãQ%íIýë|”½ã± QMrdg¿ d2œr>BOËO q-8[£NžQg}êSËaÌ@r«!çëéâ©îŠ—çäÌ«[ft_‰ 톪eÅT"NÐS{Y/egIö9›çÉæ`1‰ÆH³ê*ƒº zaÅWGW[Aë !ÝÔ"7DÕ%WýEPõ]˜¦]ëý–VK&íˆz&è%í­i@Wó·Þ¯\LÝKn º ‚´Õ¦ÔÆ‚*¢QÚ\£H10"ã>Ãâ]eiQþÜTfÛÑ:…tF£JC缶§6›r‹{¡©òv;è»™²!„LPÜd鿸aÐçÖè+\œ”ÝJF÷^ãfh˜Òå(QÙ· ¸ët½°n-N…žôjÓ|™&DXF+å®Õ{a$êÚœT0 ²_íÚÎVðB”-‘£/š¥ží°UÍ ô*%±Öjæ·Æl]äZ"‹pšô;‡‚ûɱÂäÌïì-i›Ø d*º¯Œ‹Ä»€ ]¯™ÁTìx=–ágÓ9ýM–% ËT£™Fµö¨JSÉ0‘åúe(òÖ~š¡c—4}3ÂÕÛÔôŒ:¬u€‘ž¾‰ló¼Ëð;¢(ÎÓfü֪ץwí8¢Ž,ÇB Gc¿äŠõÆ‹xZ8Ÿü,´qÀK2³pÃù||_80µóÍ ]ÍÑ—l+šqlÚÑ.¡Á`)X159¦'/™(ºIÂ*£äë‹×pVtç©sÇïýücÓO®GüùN#ž­#üTûˆÌÒŠ™bæîüµÔ/ïÛ L‹0L Ða¶yékz +ÐZqŠ>¦"SÌYÉ ‰|7@öþ,ç—S|Vq™ö~ E´'-âÜéK扺2£)‡?_Ôé'î»CúOU,åò?¥Eã<)]è?ne¾:VzÙÖuÓpåTz%eêËòH$­(==hȮز_xTFnOŸiäûùë³É_ …¥÷÷ÎóR7ª:Sá­³ÿ>¦¹îBÄK€\Ý^hýKÇöÕúéÛN Ÿ>ësb-Ò*rW%u†ÄPK­ÉØw&xuƒÉô¡¨vÁ¬€üa» p§{³´ØSX`ÂÚ4£†ZH{æ8­Œz0X.)­ßæå¡Ê.PmPX›{MGžõ`‚‡_“jµñÁNÖ×Ælž&8ú +O?§â!†ÅR"5¾N3¹’ÎüK°j·§%º_)O½z¨\w"ÝÑ—ýTqYŬûGRÝ’O®K×Ø9l^_ýWKú¨Ñ¤º*§P³>v?ÍiĨZÌ‹¿âPœô=Ì°©»–o9žù„,~…öÖ¹K?F©ryTCJ4vàø'”®²Þ3…Ë ž<Í€»X>DÔ¼òok|‹µ(a¸ r¿Ñv3{%ŸB˜…ƒZr¾=è‘ ÁÝl¤bñEë‘éõáÂT£ðèóe½¦4k•#Õ•Ñõy%S·»£#UvÅj ò˜U18Žq­ +bçâg¼-ð¯_+¸):b»ìOliôrŠö°”zÔ|_÷e_M’Löž2ú8ÿŠÐLËWW,Ï \VûøÌ\lù>G1]³®9n+[U½IƉ†ºðëMÎgdÙ¤d·f ™ù=/ÂŒùQ e×GÇ™aÆîÃqÏ‘.–zľHüòt<¸1Ôÿgø'ID4]öëc#àªeŸ aAG2ÿðÒ‚³—•È)ÿl>"%öâÚÐTÿ¸ç¼qå(‡®—¦I–5¥ˆvs& ¹^D%›¡ÐRR™ƒòÅÁýLã# +endstream +endobj +5703 0 obj << +/Type /FontDescriptor +/FontName /MFCWLW+NimbusRomNo9L-Medi +/Flags 4 +/FontBBox [-168 -341 1000 960] +/Ascent 690 +/CapHeight 690 +/Descent -209 +/ItalicAngle 0 +/StemV 140 +/XHeight 461 +/CharSet (/A/B/C/D/E/F/G/H/I/J/L/M/N/O/P/Q/R/S/T/U/V/W/X/a/b/c/colon/comma/d/e/eight/endash/f/fi/five/four/g/h/hyphen/i/k/l/m/n/nine/o/one/p/parenleft/parenright/period/q/r/s/seven/six/t/three/two/u/underscore/v/w/x/y/z/zero) +/FontFile 5702 0 R +>> endobj +5704 0 obj << +/Length1 1630 +/Length2 20369 +/Length3 0 +/Length 21212 +/Filter /FlateDecode +>> +stream +xÚ¬¸ctem·&œ¤bT’Š½c۶특“ìTl[Û¶m'Û¨ØVÅþêyß>}zœ¯ûO÷ù±ÆX÷Ä5qÍ{Ž½9±’*½°©­1PÂÖƉž™‰ ²6vvT±µV°å–£Wš;þÊÙáÉÉE€FN [1#' @h +šXXÌÜÜÜðäQ[;w¹…€J]E“š––î?%ÿ˜ŒÝÿCó×Ódn øûâ´²µ³Ú8ý…ø¿vTN@€È +UTÒ’VPI*¨$6@#+€’³±È 2Ú8©f¶«&¶6¦ Jsdø‹%ì08ÚM@Ý€n&@»Tt; ƒ5ÈÑñï;ä0w0²qúÛ'[ÈÆÄÊÙôŸþÊÍlÿ•ƒí_ 뿺¿`J¶ŽNŽ& ;'ÀߨJbÿÎÓÉÂÈéŸØŽ ¿j€­Ù_KS[çJú—î/Ì_­“ÈÆàtsú'–1` +r´³2rÿû/˜è_i8;‚lÌÿ3:€ÐÜÈÁÔ +èèøæ/ö?ÝùÏ:ÿKõFvvVîÿò¶ý—ÕÿÌää´2c€gfùÓÄéols <ã?³"mcf `fú·ÜÔÙî?t.@‡5ˆêŸ™¡þ›„‘©­•;ÀhϨ`ëô7$€êÿŽe†ÿ>’ÿ(þo!ø¿…Þÿ7rÿ+GÿË%þ½ÏÿZÂÙÊJÁÈúïü{Çþ.#Àß=ü³h¬Œþ>FÖ +÷ÿ“×µÖþ;Ýÿ˜´“Ñ߶Û˜ÿ¥†‰éßB£È hªr2±˜YýíÙ¿äê6¦@+ ð/·ÿj+€ž™‰é¿èÔ,@&?lþ!ýß* é­à/]ÿÊŸQü»¶¤”0íÿfÁþËPéï 8©¹ÛýÍíT#okú?ÿÀˆˆØº<é™9¸ô,\Ìïßß„¸Yؼÿ7!ÿÄüŸgy#'@çoÝLÌÿªþ<ÿyÒû/0â6&¶¦ÿŒŽª“‘éßiûŸ‚Ô&ÎIþ×ø[õœÿ5÷@ Ð~uÉÖ„7È25#Í©+ghBL§¿—ùËP°]IƒZa¾_µmojØ6w…á[M0CãÏG›ûâ©Ýû¾ ÍÁH/¦eO2ð2ß›”º/uƒ¢ƒ“ö €Q¿)íL3ÒójAn R›ƒIã`gBYE¿ø š`ªƒÕöê‘ÚÔ%ßìÁî«IJ} F'J#Ø·Ú‚Ó3Š„ãÇÊÑá¡Áž¨¾}<Úì8r^#,Ÿ¤SâD'wC‡»“¨NÇÊÅÌÍjÔuW¼×%g"²ûèm4æ´ VBóOað=&¡%ãY×ËЄh–Âx:¢1Ñi5ýºÎ%鳎ßçõ<©?2V¸£A‡K’©¤…웨TBR Ú!q¦RL\(iÊZüÓœlu¸‚äâ_#„jýFËw„Š¢ô;œ¼ aù»ÁªÔRÕe)Ññƒ¾ÐG1º†ßÙó1 iY†ÐœE>À¼¨”±E îòáB$o4bŠ”OZVÎ ­BÁ¦6Ew¡Ö¸Ê^¾à„¢JmX7ñDJçßzÝ&é·ôètu§Š³ Í Nõ7ÊïÀº7 iIu_€•Ê D+äú°%iŸ½]0®ll¤Ó‰8ÖÝ®ÀËlIÎè çØMä%È<\±aîR¸ªç%!…¸…ÿø:=XûMfüހќÉêD¦ú;\=€·C;[Ǭþ)/\Ü"ÆxeÇWîmrFôBÃ"±Âu=·Í.‚‚ÜnÎËÅ%c167§ +ƒt¯‹pñ=ȹ·É3 Kk¶H×®!Ín}Ú:s-9Ö¢ÐøLjI5f2$8šÚ¤@—r“ ^™[Ž‹›Ú͹Låq[ ¹f$¯¬mO•¤)iÅ÷A_©ú"¹,±*vkkÿRƒ`·:G ”·@;tæû|%Va0%@3÷Ýw1ä[á‹Bͧ*4¨pV¸© +¶APö®²4„i®ÂoÈÖš‹‡xEúܪg±ýK6VG7&ÛN¤°ûŸ˜5s>KZ8såB#¦Ï…¾5iàWSñˆ ƒ×úuAKi¿æ“å¢^£Ë+Å°9«?Õ [Ë$¾7 ¾žW-Ž­¿ö_ŸÊS;EÁs ¯ÚŽqAM¢''eùŠ×jH²O‘&ûnšbÔ³ÎpAª”±Ÿ{w¶U·2O_ÎR)â¿Éϧ~¬×D‡ÌŒVëÿ$Jü(¦5Í…Ž‚m•àñt¿ãxÀ‰üÐ3Ð…³_7ª{ À»Ù¦‹ë“>ë3é5›ìáóÿtÈWmntí—1f`sÜÁúrLOHÜN’ŽŽRñBl/Jƒ[r¨]©²`ð4<ȦR d°j^/ '6®-Ža×&÷ãú¥JïžåÀÕ® $ëm-»ctáØZ´h´Ó)ýuÇw’ß]† ø ΟÎXD>£7ö7-ùxŒJkP®ÓÀ€ +Æ ô€0MË5…|7Œ¡±ËÓQ’VòŸÖj¡µ¶G4“ŸùO_»Fº,l-Ã`~í9T¬„¼Eך!$ìz£^B +æÔU­€)¹ò ¦/¶lß Ê>½F{c.^ö°¼¿R%g@o4@s³3qJ±o‚Ô¥¹n’AGÚŒöç(á ÷²i߃ßuÍ>‡UTÀ³m"æôÆ %ôú¯:BŸ,U +7Ù-/¿¶c˜k±À7Þî•*ÈnÛñÒD›þv:2mvûvšÎU %ôvÓÚPösŽòçmWð–hg«ÚB ‹üÙ ê´-©.óË,nMAX4Ê=jòÕ²ö#T}Ù¨E +*±îh šƒ@Årt4Hûøþ0>Í¥SÞø`4oTDÝ–àÈGTÎ7 wè6ÉÜ“=¿Û¾Äw8¾óìy.í‹@è†òo9®^ÏÁÔJÙÇÆòñb`åVœ +-ß9iqC÷Ç¿55!12“4QºÊ8U0Ï;cþ &¾0ã~Æš¶«AÍyVç~·cú>NÕË“çeôÛÆ‚#Ìã¦ôeÂås w5UÊ_‘p×"Í`ÂÑ1Ë£Á< 6Ù,¤ÁBhÞŠœãg>âô»ÃN[™äÇx%’ í6ê/+×ݹ° Y¤ù³L)'ŸE=ˆMÊå¿{ª}"ª°ÉÒ“B­_ú®ÎMh‰(~{Ñ Rs ­ÅŸ©µä7‘SÎr6)ñŸÊŠtelá½A”2E`øâO2|àß92;Œ#WB"èðùnäjN$v3 XûN†îØWäÍŠNâf¯Ï:%àÜᤱzh;BLºóóíg®lRY¿5`¡ø­l1­ŒQyÐB"Ú? +´A‰Ôžý)ƒ•`s-žžÌ‰ %fp~y¸IÖa) b³…¹âø¦Ê—oÙ7/‰¬[ÈxÚžÐK›xW“Õ ôÿ–$¹!.x‰–gn,²Ë| Ýˆš"g,/ÿÕKMm×JtÊ›…*+à©’Õ^4™XŽ#u®8!òzšþ6|_y„Ü>^ô×/:9ç&¿RâbæÙúÌ/ÆÎ1ÿZN5=ƒ4s‡CbÆÇðAtBkö²žXbO¶7NÙƒ²5€õ^‡Mï-¢úq‡ª÷,a7Wš}·Ó¬çÚ´í‹s{Žïøóv”%hွó²_ä-\Ò€«%ô´ár‰n;=U+ÞÌJ¼ŒEH°°ˆA#N{ñ³¬0_¨çº~’íÜ–üìbÿ(Óc1Ú5ýõ‚¿I¬,´=kÍ3߉Èl)ÐV]ó.ˆ†ßa¨^ž3ÊÇç*f`ØXà9¼BÈÂí§E ËEÈjÏÎB'3œâ{kÒ þçìÈ |ö¾Ð–?VˆNÙ‹²\½z[!¿sBŒ”DÐë|p0Э$oS5f b_-ܸò cBMŸ†ä"‘ûY=x9)–9¢‰:¤À‹š#jì«ÂL˽Q“+*±ÃBú>Ielª®d}ÉMP 3Äûy9¢Ù[°¨~­·ÉÕ5Áñu@7Z9äá›iðßUmÐOãp3—j³_ä›fD`:öuÛä­óÛñ z+âß­Á•†ÙùÎ[—#ùH=­5bâäþt,Å´¦…t‰vfóðÅLD‹§ñi9ÝN]w¤ïÿ)]6Û=©Uvç"HnVR„VÜG¤Ñl…À:ñÓrË£ÝÈ«éø>üô¦IÊY74ä€Lo‰Ò8æNÅM{Þ#= ›¦x¹²V¿x…¦ [׸•V>§¸²tļ‘7Î\Ž/{Mâ›ôÆ"oñÙ…¤8’%‘^‘¾ sdÁÚ¥ýÒIíþŸPúººÔ´ð½iwθPÀþõ,hp»·é[¨3nšÛnóɹª–»nmh C}DfZó|š«²qaPB†Ç +J3<âð3ãØqâý%ÑÀIŸVœçwÛ•o¾Ü9™× IA|éõà}%ÐÆX[0G4 ìIeR“µ¾½:ÑádªO¤žÇß÷8»„ƒ5¶~¬å.1·–?YèWžv tfŸ*vG¬¼1iùÁOð|Öt ûP±Ó¶_(9µ&oŒ—0ð­zÏŒüÍ(feã¼·pH¿KtÜ=_‹M !/­32oê1o³uþÜ×'}˜ü=ÎÃ÷õÔÆ:zÞa‹ÖnlåyÃ%`þ »+úI +ô¶nÌM»T™ïH­.ô“,’ÁkœsÖ¬œ´n]c¨AÄñŽ(LŠþºtÖ!ÅÔÕAUk´X‚Ô-†=uÝÞ£'áäÀØ£Dý á­qÑË‘>Oa`Cäö%B‰—~®CE«¡„'”JÓ¼ÔHs€‚YHp›óÊìZFD]8æ ›hü $QÈAZ•K·Üµ÷'R{W1"W籉³;ï2^CÞÁGò¦Á;÷_ºJ|¹¨Åï;å0õ }}ÿÒž?"L¯Mþ{"…¾?ü1Œ©µ|¸ó"s¢… Ý *õ¦B_ߤœ«Ê7Ǻ —E æ1DtÓ÷ +üÌÆÝJa†j©7QÌBsD¥¦ö/bW"£ ÷ºYâÅ)­_YcSΤ uýM4•+£\ÚØ·Õ£Š2¡´§à9ÖM ý‰¾J\Mãn©û—°\°NNGñ{‚ÁÇ[œµ€«Ä5Ó8QŸx$ƒÆ9­ +ò×#:󌫀lؾZh­NXMÆKÃ7ð¯xCµÒò›<ÑÃgraqydÊnÞ£•{Úô|¼„©9É ç „"‡ÂÏŠ·ŠéÞ2¯}%žŠRžûS¡m§´NŸz»+F¯AÙ¦Ãå™rÎKI–ºéùgÖ?§ýÊÌjôdÜÀuäLöÂ’6}ä"w£™ØѬ0L7Úfw÷…_K§˜Û9》l—úMVàKAä6sÔò_óÆ؇lVÍ&É Ó¿DµJö–çˆMrâ]fx]Q™ºYÆ— ciéðiur4Oœ7ÏŒ9Ò ºß—tŸs¦ÈZ ?Ÿ¨ì pjöaÞ9É Úf¬³|2¦8.MÕTšÇ÷¹ÙœO”ã´HÀ¦9¢wîÀa[.è>9MÀ°Á7|ëØ~pEÉ€;‹‰Øž´Û‰â«iƒ_ÅûÌïL<ÛëŠÝ^ŸI`5X)üž ¸áíeat´Íoó¸õ“$ ‘"L`p9ün„`¡u¹% +þ´.,ºzEÔ‚ê¹6.¯Em9ž‹xqçlÜ­ê"Â&.±¿-XݯÒâ_èe€*œ,\]±Ñ µÚnc°öBíT;]C®‰!r’ÊãWŽþ™1|¼¯ÈÛË/E7wj¯ÿMÿ.¼Ýø“äX‚øû µâšYŒÉM3{¾e¾ñ‹·&òÊzù%RplW{ÙÇU¤òËkÙÅÉa»­dïY׺åðZyc’ó7÷¢þ ¹ßÚ“ kª˜mÞ¼¨ +ËSHx²Îä¼ÀûªNã¢èH’ŸîÐ;{äù‘¿dÐ +ų9HYQíÊbjÐñü÷³ Øïññ®$+`' Ž¬}Ø@ç³hj…ɸU;D‚ª»ÔY öæÞ9”™ZB +PˆÜ_|ùº–pà |S8—™IÀ4Xc»¡ÅóBóüžî¯Ó0‰áöGÁq~´Ñ¬»ô‚JB/ÍÁÜW'à…,:‹yÎØgAJ€r+ñJÓŸVàÚ¾_þÁ‘é– íé…ߌ*”„ï¶Jq ^©SÂDsÅ€3}ÊÙ)¢Ã² êÃ+is<µGA2 .Ó1>ãù2rñÄæ:gé:Ûœ/o Ô;WÈ55Ìw³NÕ™Ý Ü £²¶úCUNfQ…1: #aöËK\Å0Ep‹{rßõ¸‡¼ãbQŠdâÊ·aJ/ôu•Åû¦v·D¡¢<ž×¹nÀ&VGð3§ýæú!ÒaWh›tPY¾/ ^RÚ +_‚Ðs–®îEóÑS^( Zr¦SÓj1cÔOà ¼£ÄøËr>ú âAô«ÊYöغ}CiLõøÿø9ŒÕêë-hûðH-MÅY’Ç»0Ï Á"/–ºßÞg¾A:·ÔR˜¦Œ!ÊYÉä +Sê:ZeXõ óóÙ7Š0Ä_/W[ÖQZ;5tž¨öTé]\“04¤KaÚÃ&yÂnä)† ‰Os$(s^~cÃr'››ŸBZj³yý-}PÏ¡º -€ˆaߤĩÉ~F,IL¢òrÇ»r„™Ñ`<·Gå×l™Yñ½:«@Ë5U-éú„¯àÍùt«VRçNòÖQ¿1§tŸ„D‡°Ïpµ¦Ôºú¨kô±!#m>æÅ=ê4ï¢1ΚKîéE¬üИifóX掕`”õL»å° ±ºÇÉ“×BÂbèáDÛa}ãŒXã- ±Ô³­ì•3ÇWó㌃/1ùèÐœmKg‰”ÁQÎoÅ”¹¯¿‡-óº€4#ûºRðeëßgœ-RZzî¥6áùyzì¾±¿Â«ðšËNtÈÍÌ·¾àR†Ê•y˜‡DU¾cÍÅ›•ð”D.ôéqSIù*ÛîܯP™3•yÐ#öö÷ϳ“Ñ“þj ¿fïõÛü4L„׼᧘Ø6/ ÉL=u#YH5 ÓpÛ‹p°·_h #Ø:w%ÉU‰¸ÓÁPK‡…Ò±`ëµÂu™Ðí/uH˜DÎÁMR`±ˆé‚ØàILaç£ærynŸú¢±õ‹¿‰í ¹¦)"UQâ¬YÛ9.4¤Ï½6‘:K¾”s»\ƒc©šˆTN†ó6"<¦^Œ"´þîU ªòCp ªÏ”(ôë,Jóju ¨½çùqxæïÓ„ }L«cHäO{峊•_D·gRpÒ5«Í­©f‹\JO„#“;ßÕÚ=H$Äpsžgfåî†.äÇé;+*¹]$‘aÚq|dÊ¥}†=þ¨œÛqˆ÷É)M¾Ã4Ù¬Y•3¦°Xßš38~VùzAdÛI€ab¸’ýíÐál·7TŠ2AKMYXÔâ¸E€5ƒ‰“îo¡²øK¹ÌóÕ"¿£ÚˆÑqª÷#Øz…aÞ„­ó™b üÜP¤ÚvÛñ(–`÷• ,%l”Ö×ÓÓÅÌm‚ê^)âMÒ— ªÏo(ø· ØOabä,–¿dñ_/*ŽDãÍ‚?•h»7VéÙld†Vp`£”†N­°fr­!FCàNà#­+¬_X6“˜³S4PÝû{¯!ÛÅ=vÓ7$²p¶É=àˆX®¦aÜÀhÞ"1¦£z§­‡éh=aÚ&Rè µuä%Ú¢‘e7LJut¾CZ¤¢=Ö†¶”ÌÍë4ké¡’B9ŠXš@m CŽ¬ñyÏNî CY ’õc¨~ö~7¼ÈW70ƒÍNye9 –Þ0¼Ä«Ý(9PèfÞý¥3ó8œþDVÕKÓBŠ9öâ÷¢­Ò²®¶Rs[±æäÊåØåSèŲä ap‘€.ë½clMWTA¸©yPñsçcmÐS‡þ؉•V?NPBÍpâªcîR´_úR«…ÜU‰:.%Ý°}¼`ÉÛH^푲6ÒŽ¶ÏßpÍ>è¡è¢þ ë{ßÅù;þ…¥©5sV1}£E—ó¬Z8ÏœIÌÖhRWïù‘&Š£Ò»ÊšµàA;³=òEKî'a¹¬nkd‡9£ø :„‘;ìŒâÚÇàïÚÁ¤¹ôZxŠG¨AŠÕyµÎÚ±?šçòžßËm<|Gñnn 5E2H?6ŸA»âCHEOg ø玒})H'v3Z•â\bC>enc-j ‰še…™+Äà›G‡X9âÀûË3kLÚ·ÝÌ@øuËÐÒóÇΟ»Å–àÜÍ!zå‘ ã`¯•¤†”Ô~ßsÑ™éb2Z‡¯f§1‰~ñŽ°õ-Ôdk«Å]fÊÎ"Ý’–¯ßo’º&Ï*ìéáaŽýð1\ÞÇ +jÞ† †Wp~åC9«>+ÏÁpߛĤa¢ø·r|k8£ì_QE~4‘™¯jÑ´³&ÛnœÇÀ×W^üˆÉŒóÀ¬Tk°³‡ÙPQÓˆ˜O=”ÃÑíÑ¢Ðnsú'çÁüžyu…XQ–)_°½~°Ñvö@µr}¡Œ>ÖE;ü`” +ÌιCü­Œ›¬‰“¶\2ÐŒêÏ9þԺυ¥„#¢–àªi¬È‹RÍ;dʬ…/øÞïüæv?!è–5U4M ˆÉmýj(z2Tþ›MgñhËÐül†ˆs¨ÿB +Äù,†7bŽãÿý1µøö59­|V;Wd"¦·”Ù+Ýç:@Üùe¾_šUEˆ4}ýELçv-ª’^iË@ÜÖ²ðCÜ{m§6šòìøF:€cÀ³Çç´IP¶þ›¥Ím´Zü] œÅ•s®Àl„ÙH¸9j¢u òŒ‰y}.ááXT=yƒFóü®ƯŸg d¢´„fúEá¾ M²µ +ýyO@>š6‚mÝç?Röa%í/Êl ¢¶¡´OÏáÛ¿º59™q°Üú¡Ê†ÛÛò|Ú¦è| 10 ½¼;'°Rã ¢òþ°´_ÚÁFfS$';ß߶ Ç›¨hEcËí²/pÌ{3w^¤ZRbàiHÔª®1NÊCâÙT©¢X¡a ×ÖÐƬ2Ø9±Û8»EÐŒšM[> …#"ÌÇGS)(Qà7K7mò—ž¼§‡ïùa„Ü6¬êÏ¿¶˜ôO˜îþæ`®ðK?R?ÀZ[ä;ù¨¥W1ÒIø\ŽŒ±&k¨ÕRd8‹d\¤S7ó.ÿb‚*¬.Çjrï@> ëøH®`à75€öILÀ…ª-G0NgFá¾ÔŸ+_Us-R³ÍëO¡$¦ŠÀ +§©þ*àÏvë0x¬÷vààîãÀâ×˾Ðõü¥ƒþvÁY k=èÞ¦¯QÿrÉÄ£¡;É!id¾ÍoèÁ0ç?!rs&‡¹n‘eg(dW}VqÞo¼É¯b¤ë Æ3.†§ñï‘ n°šNåéSßöĤ'túâãÉ¢}Aä¬eȇAùQEƲ ?ƒÊo½ñE jUÍBXä@e%í*î >:°¿2ÍaŸ¾ÉE2+X?…_Wk€ä“ £xù^ξvú1BÍ_zð+dqWQI)ëœ\àØh-¤Ž>\‹–üÁ“=Ô<»# ÈÓŠ >yG0¬ (¯´ËXÚ”8Θ‰ïÆO-5qA­º‡î.®“!º`~A4ÔF*ú‘ª¨n“ðèÊÄQq‹ë¬°³ÃmT¹I-•ñíFzOŸQ‹€¼ +ü\ŽÙ?‹~¸A÷Ïêõ]|>5º`÷‘>þÏ©?º¹¦¼õ…–ú¬Ôos¥ö.L±NÈnDÀ3Ù2€ý¹ˆ(š{'¶X›,Š êts‘ž¿:jÛ?æYÝ LKß3õÚSÈz_=ÉÀ¼ èˆL+V\¼ Æô¤¦Yjü¢3}kõ· ¤>d`C[\ôöÊÙ ÓM†œ!n'â÷Ê^½—àá¸jñiëN¾$d “³£ö§ü™œh ÑŒrÐl€}¨¢_:sÒ1-ñÂs´ øêŽîþÝTD8[v¨w½hÛÙÎ6êØ4ì 8‘ÆLO 9M°Ž”¯†ëwBœåÐcAµJ³Ž_çuzó=±$[Nfàýxo%Iãi®™pI4M¸sGxÉÉfEäÄd³lËÛa ˜ös zw âìLß7ârÊ?„oføp,ô‚¡K²§ð +š."˜É Ìà:¼…— ‹B“”—ò¿V©-Ñ8ç†X;4ƒ‡¤Éž™g›ZÝ]ò_ã.CU&4’ôÈç&º—CÍ ÆÇUÓ(º®Õ]ù€‹³šºKF_ëý˜x1Ž]¦hõŒ¨*ߺýµÕ$ÆÚ—-e‰ð ©fµƒ“8Y1î]S»ÏîíÈÒв ˆò›ýq‡)‰5dCá 8sîR·r5D®n†4jç×+ 3®ˆ¡¼Îß¾Ýó35`edÿ6ÂMÉ|±:&S ”ÕÍp9c[æ6W[¸¤± Ëì¶O_óÜî_ÚÔª£AZ?LP›~±Ô¨‰¸w»Øš]„‡$Œbéê²³=•E‡Ã 5×™nˆRqú‚ªHFãÊÚ"¸ã?oßß6²ö”¤G +46¡/h)PF%Âװͦ质›ÉÐõUÑiX.f ¡¦e~†¬T”¶éMq½ÔËä0Ô¸ôÜV$ú)7Ð<F™Üü£C?]?ìµ» «p©Ày"·ðÖ©:¹›¼oüÊ’›gP…?Þ¡Ø%-AŽ´Ëßà#"š?UlÅD¿¢/GûI’. +è"ÞõçªÔŒÔÌç%tP›×uÛ­~WCÉËÞu·oºŒL5½$¨'¸XÜ«)‡Ê;P{:4¿S3–…AÅÓžî­Ô&/µÉŠåmÕöÑöéÑýÙsòD-ù +††ióѹÐß "sFÎ*š=;ÁÐèÎÅ3÷v Õx…êf¬Wê ¿x𰟼\ÚÊÃYÀsŠñãŽà_²¨& ~ÇÐŒKí<á ÷2Áf¶3÷~SÀ`úÕÒe*ézð‰ujüòÙÆåã§Uà a¦ƒ`$8¶œœ’:Œ½žÈÝågŒøKån&SìØa(AÙš( -—“WJ¶Ç—ýº¹Þà«‚ÊVØR«Â.âÍBðᯄy¨óügnà'€LÆ“Þµp×e–ûÁ“-ÈôÌ¡¥Ç‡àrÄVb¸æ¼×‡ƒýÞÀ™ò¥>á*lÈpÈ ÇÒ¬W–wŒGéC`e,iŽdÿ²üqHÀIhä ƒX«GâiH5Ì´òÅÚ7†·”]-`ØóœEO™°‡h5-Ú¥¥“°Ÿ¤~«v0$%‰Ì’¼p'ìL@¬%R‰Ùê³}oL5Zk¬´é"Û|È[^Š¹„[ù…£†qñˆ¤;(áJ´4F뼤i¶›ˆ +b~T0]Ë!´Â9’¡ª”wEd@á^Ñù¸FGHÿ4 hÈ>¦ð?>Ç×jžiä±ÿkCw­ô_âÊá½2ý¶£Ën]Å‹ùF4$·.ªf¨ðGÿ¦Èö*uJ󺌘(¼¾ ¸ãb®«@ÌpÜNš@t—¡“A-¢Ô?„ &›•@²ìÍGÏQûLî‡É7G²z©Ðà¤ã/Ë‹gŽK¾ûS0 œº†§%[ù(®tAji@¿âûôÕXHëù•|¾#ëÈÈR\³©“úîIÊø¿üTw€í‚•+Øÿ0S¤_+\8 + +'·ÉóÍ„'®«VfTÿÒ’lD«Rw¸PÃÀø®)Xé¸!åZo4ê»~€‰¿¼,JtYëV ' ;Þ:vqKÑ'Ë?ª‹-öÐî—ÈIºœß= Zòh‰â›žOB³ß"ò/t.˜tÝz–G û"XˆyLѬƒØ…¿X@å­É«ý> §c˜Èþ¶Ö~çf×'®GU«ïVE2"y¨.ðƒDLQÏM!»E¯lÍ^aDºTØAòþŸ“`—(!ñAV¹ a;¦->Fþ×g"»ÐK"S½Ý²ˆÊa‰! +½(²ÌM‘n†:¯ðüru¹=0® Ô½{ÏïfG…¸†Û <Ñ=9¥Žyï àã¨)_kË>îñŽ÷AµÔ F:;îâ‚Cþ!0*à¦Eëoçô%ïMTËÅ®JCÒ+¬ëzÆïB*kf(±ê\Y“©y‘ÜÄ—úö¹Ñ¬"r8)óÇ/E@f|U——;þÊì¿ÞŠš _ùSnÊoM³ŸGNI¾¿}׎æáÞœ­.¬Å…F¾l~ieiJeNæé`'u ïiζ}<(áÖúJD¹ÊeõhY'—÷ˆVzj9íµ•‡4ôtÖ–œ-¢ iºÜ9ò›ÉW¨²z'È|úÞJþ²Ø®©+?¿)jMêo|Ú¦=¦Yp–Yv5ª<±Ø¶¥îŽ¥Ôƒõ ÈˆúîQ€·Ò3™…cˆ‚¸®…'JùƒD8›Œù{ÿZ$VbåÕ!س{ùçZ¹‹Y…®äPV:C lã×€a6¼#ºJ"8s}X±?¦ÍãàD,Ï€ð¸‹6ï›4µ,5¼Õ¹o¸§!:J/h0û6‰µh2bMO‚¹Ê<*}FJ™­“‡¼Ó—ý2NçMfà*blq”!l(ß,…AÏ EX¾,Ú{®{¾¾¿mÉè†ñ6l.¦X‘ñf»$¤ã&ª¦uÅZï¿áÅ<^­ó8›Ëín \eÜÓ"®÷Á¾±8:a¬á©« ÍÏU§  ¢ïao³"}(èßáÔ­ë?ˆjºníó"wci¢¸`aäƒûàæ»àþÑ™i>‹w0ƒØö$Ýþõ°4ëŽp'„³©é2sÏÍ_CÞOŸÍ2¨n‰ôÐÛfk³± ‘=£÷‘ª¥Ì$ ®FÒ%`ûЕŒ®aÞñ¤å0DS˜Â‹eg»ôu4]a/—•ž¹Å_Û*õà縫êºìÔL !Ý—tyÓ%Ü~ÙýI Y;_ø{ko*š…ш©}Í­ÔßôfÔ+¿ÈW³,Ô>’E-8Ó;% ·ªë´ç–øU·:!õ(û^ù~?_t›¢ v¤•Iˆw;ºŽUˆ ânqyx¿`øpl:ùÇ;6VÓFÏ=»±ÕìÃàŠÁ¼÷V’ à§HʦD†Èùí`Ôbå5 +f ͼFóæò}(”„e€ ~—ÇhKtÝ/oÌkâ:ÞÈ‚…k÷…ZkW÷b…kéP n¯2Õ¥ù¼P0»ï°Ëߌù”¼ÍO„ìLHžùÑ–‹`¶Ý† +èÎ`GL2f"=ÕõˆMªS§°Ä½øØ©ª,dL×O¤Ocâ®ÅyÂøêé÷}>î{˜ês«ˆX EÆìv²hwjÕ\䬚¨~¨~é˜iÛa§\¢#—\ñq¼üQªú¾ ákáÔ8'+ÌÒÓ•œúñF—™Š×ˆ¡*(I±%Ü%·4¼‡UèêV5 xø/nûHPiÒ {tTf«YáüI#Ñ7¡Dl&«¹ŽØig`i½þ.ëå[gALµESè_ËEŒî÷^+‚»m*.Džv vüÙsûÆ·#Iðh¬6oŒz ϧ÷QCŠF5Ó«#Ä’¬è’¹ïä€2Š +\#­ |)ž±üššo8—F…~ášäYõë>z€CÇÈöàò‡ßbýQñîõ/ÝCU’B§…¬z™ ò1¨óôdS³ìQÿ¶ljQªe¸õn)õ@ñU—:NUêÚ¸Ìnªziºè…AgI«feýt/ƒqŽçû!Þ ¶Êy–…¥§Tw¸[ uRíz¨<sï'|׃'omª:þÚ~³o f._5üB?4ý²ÿ º¨¸ïßKå<$í’N+ß¿©yÓú†*˜'Ü^Ž…>ú*9F6wîªT;Wâ(¨ ¿dï3š0¢Eºí·åÞ¥lÒf“/šó¼±é:ëUgÊCÿ¶Ý^j²j¶2C¿ÓC=ÀÁrFÐÄ–@Œ´ŒwÔT8~ÏqêÂ5¯b8D9ß-¥iÖ ˽IåH ”#ÕÃTLˆËÒJ´±{/&t¢U+èÚ]“¾êíOö’%ÿù’y‚ƒ‚³=0"µ¤Èe÷é=f:™Mþ°¬„ ³a@øȉØÍVTžvšpËH{wiþÍ rC[sYDJâ¯ÚÔeæ´]¸bGÊÓVÓd’Bó6YÓlŒ@@,îAž\XX[†VEK!w%ßdÅ\F»®txL `}PÆ ~ ¨Ì|!‚gTˆž&c¢Íyž{£Oéú[gK"0°n-ÔM6Có©Q5iØ…ºæê̈ó;Ø/â‚[Y/'G–ÈÎú¦°Y¾Âr ›2Û©¼%©ß÷x›v (ÑYcìK­?ÚgO • 1ó]þÈ@íEÝp²`YÏ1ŠŠ ªõ|Ï íïT³*”ÈSNjFH¹phØœPÁúÉ–¹BËR¥œd} Ö¶ +1]#@n‚¿Ý=ؾQ0!×-FÌ{ÀҖ½Ü=áüSÌÃëš[³;²VïÚ¾úÛïq‚\Ô„;¹%Ø>Gü±„8j?;‡´Xx9õÆ8MlC‘³}µ@8ó>ß{Šò}Â:ŒE›'ûãŽ1?8g„µvGó®ž÷ÂÁØ÷3"aW㜖]²I†rª~´~°óvaü”½5ÎùÆU{6q ª"MÃV)¿’èx‰ú‘œ×!Õ9Î;4éNU£5\ AŽ˜3 +±Örjk¥›Ç#øgbf8¸j‰ +é>ê;;¾¦4~_,\Ü8„ -Íþ ›æå·tÒqMsŒbÌb³ B[òrþçÒIBŽeDG$×BJP);Õt¤;ãÂ74B‰–YûoôÕßó[¨ÄLŠ•ë9°ÑÏ©ÑúÙÁA !;ÁÚÍ)]¢gFMMãu>(:€QÌj*ëîa¶ãx¾ÊO´5)¯‡zšÅáèW¾>åöë>ró$—'7o¡èMÜQmåëp è€Ê\ùPµ~„ÃÛ rftRq]>qËã8Ýês¿KE#$¦¥§^æùºˆÖÕô~Vª\¨¤ÔÄŠ¨äÓÆê¹äOÛtûy â6åoP]äÉÞ5¨ÞĘ́ß~2¢ìϯ‚ÿ" ‡/q^:¯µºxÿÁûÙû:-àÿ%]"oÆŽ4Ná! ÜÚ¼Æ%¨ØsP#úÍf•^‡N"ýheï÷Õ>¬ÄdY#1l ðÀ¢–ü šü¦óÍ\{w¡†—&ƒÞÊ3ã¡¢Œ2CY*âr>µ²Š”=ù `L|ÏðÇc™a¬3’‰AÄøu¬¸ç.È…Ž~A¸‘è—žcÀcÞ¸§ç゚œ@pÓ•¨ 8Ù˽T˜ðM$±µõE¶êZÊ‹a/gÀþS½¨p˜WÈV{ÍøPÚÍa_«ÈÙÝ4mO|é3a‹^2B8õäØFèC59ðM8J®.ì+mÀ×Pñ×áBþ²àSÃþmãß“ÇÍŒ.8çÙzÊV –è…C ëè)sFÓ·Ã46tóÎÔS>xŸ¶¢`öî·qµ 1.Du¡­:FÆ6¿'ªÞWlYV±ŽT$žÿæp=3¾»vÏë> ³ÙZ0w,˜fÂ-y)ß<ÿæúüúöMÚ@IÉü6S\cöøþj¯2ÜGR­br]UK™¾÷Q­¥ÊñæØãðƒN;áYò=£`Zè§S˜­­TïL|µÂE؇T3?£±i½S¼cð{OL_ç ïy~`+rx¡-Mp¤4=®ûÝ6Å7HECüßGý´¾ÖvŽ×TMr¼Ñ:vPÈù²†¨áÈÉ34;èø†5 «e(j‹bÇqÞÐ~/½„DéQ%lףȚ6Xû¤ôÏëÖ"b%Àòñ²ãÎw´V·‚ÒqpUÕh¦rQ±{9àª8i0€Þ +tÑBþa +%jM<½õ4imÅÕȲ}Äö$š™+¢¥ÝKëÌk³f‹¢ñÞÀB Ç`è¢yPQE’3åà磞¨!6£ÔŸóülsÞCtmq ›Zþ¹ùlÃÄ*\ÂØõ9¿.¿^þnͨ4;EJò™3@ÛE³8u$2³;üú!WR(Ó©5rÌô + AñdÕÊ‚Êû‰.Ñê¼ÏÛÓ‹z“¨>¿Q•Y¯‰iÆQBO`6^,âbúF½ÈjT)G„BFbJEób3qHWQ²½C ‘óŦ +žHª5ÞÐj 3ý? BÊ’Ö¦¢q˯d°wé_ጥrU²b=.Jú9­½4"ňCV5õlÕ"îÁN¢ØjC¥ÅYËGª,§žŠ Û¿`Ÿçzgà +ÿçÊeƒ¯í°&o¹@íÞˆàçVð5‘•ÐR»&»À™ôê7úRðé9þ˜Ý>¤®ó +÷ç‹oÚ¯ô†uJ§ŸW„üÐáÅ7z9DÅwV£§´øÌ3ù^6†ÜI”àÇÑM6fOõ½×þü*>ç ª`¶´ÙÜM²dF:Èhe+$ìBm¶‰¸„úÌþù3¬Xpæ>iT¯Ž‘îC\‡ À Ï°ˆ›{»‡¤V•lÜýFÕÊòyD³r?¸êiÁLD?h×BèÝ!æ«*KR»ˆ…b"ûI†£ÊÍzŽ¾¸e˜+Ì©ÍÈîï'He%Î`O‡Ë9Ý?Æœ?æ'‘åk5iKWú‰Ó.4MÉ4µIYPâƒÎ4‰_ ÖÕüÿÓ,îmÿLs\DË)ô¦ql… ‡y>º‚˜zÑÚc¢¹/®7Ì ƒ3v›ù†-+¾å•4щîÃæÝéüÌRŸs•ê`kjà·#S:,(nµØN/,;ƒ(ïÎ[Ôö*[Þž¿·ý%óØáô™o +RŒ7YÒ×ÞeÅ<³°Áœ=9Èõà³× …: J}&⩦+@¢‚D—?µèx3UrGM"ñ:ׄ%%H‚[‚©0è™ìrW~EÈ‘ƒgE¡j°“¿ö¨·½êötÌ‚„ÄMÍ@#žY³Qåž/cj½¬œYF^‘{(ïp¿ë¤B +óí宂ÜÃhê7yQÓù˜}N¦eæéÌHè^x‘£ ûô 0_@ˆŒo†ÊÖ"ùzÜ'a‹qâ·1G†a¢;Õäújg©§Ë´ô4n¥Œó4ŽXà$YÄ$³Y¯¨ïó¼Òs)"ú¹ +‚Ä^@‡ãoâ ±«dü‹KdÉb ÏK.ç<ÂéÅŽÉë‡[¹ýâ––…å¹;ăôÌtMPžï¬t瀖ê\s{I6¶"hV¼\œ˜ŠÓí³Òí›»ÔF{Ô”h³ªçøÃ`® ViÀìgc…ËaÛK­Ý)t”ü’'|ãŽÐ¸oþ(·æÓÓò¬8»„}‡*‘“›$ðÌXšRò‹s%tÀ²¹°ãæ:µ TÝ+mŸ^C±ÇZ¤µCiÚÛ™þÖCÁÝ°¦åÉo`R,JnKÑá}à ZVmìÚ]Ö’’“²þÉ<*U¸øËVß–6‡\6Ûöéú¯Ÿ½¨þÜ´¶˜\åÀÿ`BÙCmtâÊYæ?P­(TV¬1T ­ZXÇo¾P¨S³/8øá…ßÓÒÁy‚³Ëö0mµÛñ99ÑÿBxAd©ª2†PÒˆ{3\‡* aœžÆ/ÃA†|4Yýžkx,ýÐKZÒ¨ %†TŒ±,XÓm›×øBp[¾ªOÏÍ +xŽ;ªÌd"§Ì®@ë òµÈaÚ5%‘'ö€Ò90÷Îê’O9ÐþZ‚RÏŸ¨’OýN?|š}ímƒìT§In¢ùG}¿;‡c{ö4lAnÐÄa_™°øUŽýÊËCX®æŒØìÔêSÊwÙT N‰VVõ%P·s¹F/ùþš//ÜVìU˜xkØ«¬ Ø»Œ9í4=h›áö ¼û·®³ký€œ$IÊ­0£%k %FÐ=ž’©8÷º1±×AEÆ Á^w]N_×/ÄqmüKTï4e#ÓÊe|n~Ý .ÙÕÝJjÚæªÛN=ôÆz}¹ø¨Fû‡²à‚P¥¶á¸$µ§PÇÄ>ËWÿ²½þ¡Ì® Ÿ¾Xs’è²kÙvX áï3—š‡îd&~n‘ÌÄ]ácLϪ ¯9ò# Îv9†Ø–sÑQû:‘gk5`GãÚFŸ 6¿«ò˜o©ì¨FïBaT%’cî]% øùä›`O ê´b ý¼ý…ªA‚‡Ra¦Å+c ඔ4;Ø>RŒ–` ÓD‰±Í³ÙAÎæ{ú?I wŽ0(èúÎÞÃÄ},£×åŒMy%žÀ³/¥h¯ŸsP_DX¬œ’ù·ÈHzïkƃ°ÙRþ"­^†`•óëø<õ¦ŒÌêWi3¤Õ;à ¸vÑêƒÇb;R¼çºÍC­X«£E2š mŸèƒ±Æ íT +Áqe@6 +„oÝ–5µ˜_6#®Iì|ÂZ1ü¸ä!*D´‘ G) ;1üŽ@0Û› ÐwTV¡6Ox/Êœ¤´wo…tiÛÄÿ¬2§‚q +¸Ÿ+ªr®¨Ùº\¶ëŸ;í̧ž6Î\ lñKž-LúÔ8ÿrQÒ£]Ë÷l ˜a#ŽS'Ú™ä”ÙáÛˆÔž+€bw¤itë²Ü÷Åý÷XÍúrÿ¼¬z h9á"Þ±–?%eEYL@Vç}Í|ÝKÈ‘i(¬؃DóÖ—ö}EþÉ™ÁgOËIi½W%š.ËÖ¥¯öú‰«Ú +m0‡ñüÊ3ÜüW@HÝŒô÷—cx/‡@5óƆƒmÞM²P¡q—Æ +“t§ò8/ÜïŸa˜ž7·Mö1ð [Ÿ²çêltÆÐFû•G0éÇç×_ÁÇþ +EÞ.ßûpOÂŽt ¿mq÷”$§iûÚZ¼ƒè Ë·fÝùz)6wû‡Cå•t¥k+ìùÜn ‰h¡`Ü­55Žð €Ô— ê§ðÃ077oGC¬rÝPèH«úP‰jfyòuø¯=w½+ð«Ù¾„üŲ+2ÿ2åa)àR¦ÁEg‹% k¤_Óç³ÎDkGÈ(”v·o37ÍGà‘ùƒ*Zx¾Aá˜;½ÝÌü1 E÷Jr×ékìk†»åxåûF¯¾[ÀùÏzÅ%ܺ¸02­P°3Ó·Ö"!siÈEµ•KP^å@ñº€Šx_v~?9|1ýse +½ÿtÆì ‡Ñ6"ÑÛÕ éq(9™QFà¦ìÇÂgå5¯hlBã¼1 þlˆé­F•‡Lþ×ÀQqòËGò&8f(±âWÙš0œ­F¡^BdÙuzpMµ÷3N2‰–¨[6lÿȹä$„=Š”F19›T8ÚÓÚì>F™ƒàÒµór¾6~Âÿ>‡¯y“j¿0¼Ú(“÷‹4"zõÙÀf„¼=»W£GxÒÍxä %¼´·ÆåŒÀuÐÖ­tm²v§Ž=\ò‚~»óÌ_g^«·:’ìÚ†Žt”ú¤‹åUË Aò*ó´î°DBÚmKšÄé¯ðR‡†ùGZ\dÿû­âH.`o›¶¬xé€ÌIüƒ £Ë0Œ‰l’šÑ-Y™$H†ò{:Í>QAy‡ú3õUw¿¼ñ ðZ6KŒn;8'è1¶Çhîû|Ÿ„¼I' +jê 2ûR´†fwÅ¡iù.ö5b _…üýû|4)€L,ä3zöjjà à™ÙÌ~#¿¼ÙÙH삪ËÊDK2ßMg¼…jL©ŸÚµWâ‹Ii˜Eiâ7­ø{Ž”bóTåÄ]./óZÜ°Ùt}ó7$‚“À÷¾”ˆjÂI‡¦g=F: ÏŠîj¾!?î¢õ½aâsÆг¢Mz}`ˆÀ溂“ôû>`”~4U6}{^#b¦ÜD¹Ôº)Y¾÷˜Æ`:¶"ΫDupw‹¦hâ³m%®ÿ`pڥà œ´þwìòAýÁã¥G +¦ÿ‘‰ñ<ŠÞ• ZÄ"|¸{än–³7.÷Ð…Üx%Ë‘»¢"‡¦GU©û)<Ä"w®NYrˆxà¸ï?VŠ.C©Qæb7å|©\ù Î0ßâ [Ya§Hö•ÙºBFn>¤lßS(d)Øp4 Û[i ÐŒãB"C¸=zÂg½|êAQÅîy¼Pó¤Ÿø„¦ºòß`º¶Ú—ÚLÆøIÅûÚ j>Çœ¹èÈL""Ü ±)š4V)hèäšH•¦T @.‹7¹cW¯œAõZô÷ËðmÍ‘qëõ“+øwŸ–kßZŠüh@N¸‘¨sÍeGu:Ø0`O8Õ%X¶Dxbˆõ¬/çâÑ#ÉQ»Yw-G¸uß±™aÁetÊŸ©Íµ[ey[ó;ÊÃûâxGì+ħmä|I“ÿÙjJ´lÂ{C†Üõ^ùœ–ÛïÃ>W»ˆ¥kŽiŸé©.²N#¼eh—º„ +E‚9µGÝ`q­·qX'Ç=ðÕ³¯¾Î*á­#ñ8DªNŒ3dþÿÔ’ó‚æ¤Ò±‰:²KèßkDp Š§JÑjX‹9p8õç*ð× ´'°!4„¬Z +Ÿ’Þ.ÓàWyŽb%yŽ ½%´ U—R¼õÈ°ÂË£äR‰ó‰óæ7Âvçiúá±É[õ͇&?-¹Ñ¼}wK‘–§ŸñÆŽ^x«<®%κ†O6¤,f}àõ!R¤d±Ô„ѵÈ‚I¨e8E²˜ýN !ÝEc˜Sø—‡U\°ýššnµB{—óƤ^’¤?Š±"SdŒ2á2vr0¾—1lÒãÕè舽5‰Ó/VîÕvà’§(7PÜó¨¥4ÒŸh7æ"ÇÙéÕn‰ÎOpwmû <Ãðüóý¥ý‘>&V>ìMEvˆ$~ýˆ£ùTœÚeO‰Ó<|.ûÅ\,OÈûj=š'æ G¸ÏÙZÊ(§¥Šò ,š¶3·Öß3 Ý/Pój‰ð‘k êL£yùM™M=p0‚øˆëGP/öÂùzvw†Æ,'ÿS|Î$¾«‡D}Zƒšw9‘Å©¦(Gá΋üôCBžã[ïµÞÐ÷vMÀ¢·,"¶l§4¨®§÷Çh®i˜'û}@ +çSÐndJWQZHtdö¬EKm92zÐ,. Ö~,´ Aìý«Þðt9Rs—ï’I–¡²ó¦XVD ¿rðÐ[B ©?šb®Ïd°g¨;Ò†5 ^CÝã;T¦vIµ›ÚìÀ‡½6÷Ö¯êË·I …PëÞÙ¦K•0úEÀˆP%-¦Ì*dýó¨Ý­`&„Ž¥3¨Šj:,;ö×LáSô] ÿõßb*Å6‰?¹;> endobj +5706 0 obj << +/Length1 1647 +/Length2 12086 +/Length3 0 +/Length 12939 +/Filter /FlateDecode +>> +stream +xÚ­weTÜ’-Ü]B qîîNp'Xš4Þ¸ww'¸{p‚ÜÝÝÁßwçÎuß›?óæG÷êS»jWÕÙuj­¦&WQg3³5JÛÚ@˜Ø˜YùJ k'G5[k%[>&5 …“Ä xø©©%€Æ­¤1ÈК$¦vv25@ÂÖÎÍda ÐiªiÓ300þËò— ÀÄíŸÈ[¤#ÈÂ@óööµ³Ú@Þ(þÇê@ b ˜ƒÀ@€„²Š®œ’ €NFI ´:¼5¡âd™@¦@G =ÀÜÖþÇ`jkcú«5Gæ7.1G€1ÀÑh +z ºšíþ‚v@k£ãÛoÈ`á`ly»ˆ-dc +v2û«€7»¹íßÙ9ؾyX¿aod*¶ŽGSð–UERúuB,!åv½Á[ó7O3[S§¿Zú{£yC!Æ Gè +ù+— `r´»½å~#³sý]†“#ÈÆâ_0€Æf` £ãÍ÷_·ó¯>ÿ¥{c;;°ÛßѶ{ýg ˆ#lÎŒÌÆþ–Óò–ÛdƒÌò×¼ÈÙ˜ÛØXÿa7s²û'æ tøû‚èþšú·"ŒÍlmÀn3 92‹’-ä-%€î¦2óÿžÈÿ ÿ¯ü¿"ïÿŸ¸ÿ®ÑyÄÿ¿ïùß©¥À`%cë·øÇž¼-cÀÛ®(þZ6`cÀ_ dú…[ƒÀnÿ]ð¿{kÿQõpþ;üb6o +1±q1sýà r”¹ÍT@SK€¹1øíòþ¶kÚ˜À à›Èßï[+ë¿a– Ó¯6©Áõhcöï=¼éöw,ºJòŠŸdþ›mû·³ÊÛT@4Ü쀀ÿȤ­hköŸ‡¿¨ÄÅm]LlÜ|&vÖ·ÇøöùØ9½þiÿ&bû×YÑârè±2³²²Þ¾ÿùù×Éàßh¤lLmÍþš#uˆ±ÙÛèý§á/ØÔÉÁáMñ¿·Á[çÿ<ÿý€@W )ò✭©@€UJz*¤š »DR¯û'l ]QF~žo¥m§OJÈ_Ù—§ª@æú1þ—f·Ù#»çù»ƒ?ñÁ´IÀ³\/Jú®<¬UšV†Ýo,†Eh©ÇÚç3 +ëï>s³jínŽ¨ª>Ákåp@<¿£÷¥tÎóÅ¥úm‡îmš\׆Y…]ýýè˜&þàî7mï¯þ¾ÎK¸®÷ YÑHÔÆÞ‰Gä ·/7u¦/pœyœP\ÐjGDF@¶0{C'çÿ ÞLÐ)„¤ó¼üñź:¶]¤«ã‰À£æ³ª=§¶÷tà“)µ¤ʦ¶ÿØø¦6¶ÈxØY‹KBÆÄN8Ù7º_òj[ÿŒ}%Æÿ­l|*d:Û&Þ`‚š*ÉË¥ÐßzHË_Õê×É ¡0š:œnèJ ©b½Óá²ä«3z¢áuœÞa’àU$hŠ‚+!SÝÍÈFј”N…>Ì㊙p…[í2#ÿB]ó;?(=_\ |„}#Åa ôecïzl!qâö +`Ýh6ßî”Ôè † +p\Ì,É÷`ƒY&Ê?,¯ÙAŠµòéwåÉÅÏsk×˲#§þóþ¿Õ™Hµ6ñ››VçÞ`¤%e±pSr® ɺ÷l@4¶ñ¿”s ÐœbHM³”Çzσ³Re›€»û…%‡ ‘²AW|Ž"A_i20™.BÙÛGï=“ SD_=a¯Tip%ŸgEœ+„(y{¾Løq«8„…‘R?«ê +ÌÔ5¬I5¢v©@Ži/ ++»ÜkÜU„÷Ùp­v’òq6< 2‰EB2Z_F¼ýŒñ²úZUÍ0àþ­š„@쬦»VjÔä㧭§ÐÖ98ÔJï!Z†)—M:ú6éD¬P±Í¾ èUi'×áÓ©Üii˜ôwž#õ`̸di4±&'Âbý__é›ÓÞ«Ì­¼ü‚ÇKá¨öYŽº<Àš±&?lZþÒœ#Ïï¸ëµŽ¾ÌÏèjþËw[P¬%÷Ü‘+¯-#`r£ƒvN˜¡Ñtßd€ÿ£)ΘÔæ¨óÚs÷Ny•ÿ~þ=E)›fZ¬÷û>izfI.GãMþ^7—o^˜WT·²âæK¶¿°ÂÝÐë#­¹lzÐKK/.4FVup+ƒ`Eð>uEþ¢EõP"k8I'òâVžraH;ƒå×™; /5ÇÕ½hUôýØ$úÑ„ˆU Ô†ƒÙÛi«+Ù^ä-îh§ÙãaÖ<¿XS:YD¤œ„Å€*·x˜Z4ŸI#ߟêQµÙÄÐÙ1r½O¢Ñy™i8줲ÝöŽ/³ µ[X2wJÝ'´ó­T>¶Âq‡qLu~Ƕ¬êEœ ª¸ÊCu‚c‘~n`7oªþÖç]h^|wá샂Mû}“‘ƒ­+UÍbÈ…Bw¦a!4/"S¢Ôh·@ð­9TÙï}ÿü¤hðçÙ =¯â^®¼(ê…QÕMR—ÚØùBòqÚª5Ýã„»ìAC ­÷‚Žìä§"\Žd‰X4rä9Ôµo#£°¿)ÝݨG/šûSm€oCtErZRÓ¨2ËÿÀ¶þŒ•Ó†¸X5{VA}¥Ÿfbä QêWØïÙ±¾Ž{wK{¶yUÆ*®A".d¢H*%O?M…Ø~Ì÷1™|à׃ŠÚ -LFx>Áç­#UÍã4œn¥v7="·ƒ™Óâéc…üv‡?¢æjïg(UKAS }'q%·«Ò´Œ® Þ²·b>$Å%¦$£Fñe€m°KñËLäæ3,Ïï9ìœc $þœ¶©Í}¨SDnýV+R‡®Q«üT¼iUY^Y*h—&™èÙ/ðW6„šEkíeq¤Lú}—âH‡2·<,‰œ]jžáôûõö¡&é± )¥¸;s-|R=…h¤_úÕ/Ù†åg•«$rwMwJÛòBHæ“w~%æåÍ5íD©w>$Š“Ÿ…„ñOn´cV3QQvèFÈ°»Ë•6…Šïh9~\×+Ëîmâ·ÿEÉ•Î;±ïØŒZ—ÐÅšXåå¶+ɤkëK­ét)ÿ†”wÈõ¯™ÔH3¸•r3‹ª)ƒ +„Õ›¾Øg_¾{‡úeqÄ]±ÚkÊ.ò sÄļgÁ§!ã)|–µ»€Û6…c¡<]ïÖ•¦îy£Û%è`Grl7ëÀþR^sr-Š\2áì¡®Ni[Ôd».nj”Mï$†Ø3}ÊTiñ÷ÕݽÌtŒ:Ž–’PVž1=̼TׇLµ;tÜ!L$`@-±µleS(w¼U릢`ãƒãÆEóÎçÎ(ík<¡?‰ë¹ >P—PeÊ°òسæ…×K<9™Üí¾â„T@u¡ yJÃi+Jä +Cÿ@cr«Ï€8 J”à]YÊOû ö_•˜‘ÃwmOè_‘ôóš@ÇŸE{+ãÿñ”HÎׄ1qNµ‡7©jf?æ%íK½µšàœ-çm!´·r9 +zi†ö†ùÓ÷J[ +ì\UMˆ@²>kà’öçô X ëËΩÑV>èõŽÏ‚W©‰–¥Ò%áG0ÄÑ ‹Ê‚} kqV¸2&5#ÄqµS:y‚© üØ‹+Ÿ¬à—/–‰–0E9+H&ͤ°iáÇ0“+rƒöÅ8Q0õì36."Ý;VW\EW¤ï`Þi¸¢“ ð«É¬ px8x}É˨‘uËí°w4J5HÒªxœýÖ6bXÄo©±µÒ¨‚Š/‘,­”[‰ –hÇ7ÁÂZ,$€_qaM‹)ošÛŠ½ÿØà{f–9ïë¤Ù2Ijm–Bƒ€zôô{" ¬“ŒêH®VÜ*ÛƒJfUéDZj3sL ¤÷%ÄÁ– ñÇUXMŒÊÄù¦|Æ!Eê¿Ea¬Ù–IÌý€šVšû]Í÷è…l–®¹—†¶Ýx冡à[R ìdŸ8èxŒFï±2õÊbØÍwúÀü‹u¬«žçPê‘‚ŸÐù~P°7“02Z‹n”dòÒ œkbâõºZF\kTÃYÍ•mÁök6Üúè¿Ž-é™ Ô#èCoK÷2pçÖpŽ"\sFÄ6§vQÜÄÂá— Yº¢rnåa*H^Íw÷gá!‡}c:oäÁ¥p0…ÒŸµ‹c~_›îŒ@›b²C´Ïš»KãêQnÁ5ø,ÆÎåÙt+¶­‘§1`@òÀƒU$Ia?ïØWtVˆü“ເÞé©-rKN;ˆ˜¯Y¤%ÔûìCvû@r¥ª[üS7†ÓG'W-RY€±bq^µç•š:ÕÅÚ„•KH ¢f›£ÃäÏ´Žp’a,î“óŸZ÷Ø›2ä®mËâWœ{õÌ=3&Çý¼bjxMÛð]ˆŸQ0¿ò‰¡ûS; ']õ6?a8¶gæëy#j +¿_O›4yÑZÄ‚‘hĨbW”`w­ãý>kö3´ûšÏxüÅÛ­í`nâk–oÀÙ‚9uâñ‹<9aX›rA&ˆº¡ˆ¯°›h‚IXdûŒ*½÷c„™Ôð÷°jTßšFt±^&îÙtÕ@%\Ç’ÀäJàZRɧV¸ŒõŸï|¨dÃià?%ЇãÕ\*²-OÅ@&ØÛÈÃOgÄvO“¬EÅߊ6$ |ï HÀ•3§ ⎯Û=¯WxÜ©Ìj ­vÚWjÓ_þ„Ì\šk]DŠ%#úú[ã[6é͉ßÝ"oÔ§WÁOäÔ(Ü•¦qʯ 1ˆôiª[žTg[—;R|ÀQ ÆLT<°|Âé·Q÷u Ĭ¿îâ¾Áîa8¿óÔm*¼ÑãÀ“®Կñ½ßÔˆ@RGß]=úT‡å_®„¹ÞsX«ºü€Ð‘¼ØLɺ€§GLq2øÕ _„ô>2ÜÓsIàö ¢uc½Aÿ½yÜ‘7— }V5ìWî¦BÛ¯¼è¾¤¬EÁfQÚë Px-òNºgë.±²êÇ(ÇD,½œrðÒËÀ@DxYÈl&ƒÆ]*R!_qïqñ©ö’´M¤dDZÍÐ/ßÈ|GgWÕRÉdÍ2ܸ™j®÷®ò:ó‡R×[l“­p„bKŒ•yAG›F¦^Þ˜0-–úë2ä“Ô†u÷ÇN׊ð?“¢ñ~ ¢f³¿QG ºnNe-ùÒ]1éñzâƒ/î7§ó½pÊÑÓãü„·KtoCNŒé°²Éá®ë+ž´KcÅõ!‰ÄŒŽ±nEu~ü‰Ä*éy]Ú¼IÞY5×Ýú=ª_ (UTMS*À •«x8C§böúwÞhU@f7F"3¼y¹£Û~­#ÐAÎÝR·5|ôó¤j…Ÿ{I<÷ŽPel“¬%†W&)µe(Ä¥°–.äì)!-iŸ.1el+e22f€+ÂʯŽ©T:¦ÿœû‘]3MVz*¦Ã5)2]¸½yª‹èüs]r¢öÈÓ1ü8ðž“Ôj‡%@c>¥¨•Ñ¨ä£O(üJ᯾ǟ +\ä+,±XÙ† CeÀ‘*VÙۂ˩æPùé!ü¡Mãm Ÿáuh}øÓi? …÷¬Ç f¦?E}‘%Á¥ôÊ£9‚‹óÐñå Úk˜ðn…Q¿Ñk\£¤<íÍõ*ò 32sÈîãÄx7 qŒY"°ÃyVË\R¹±âû¶ÕvÊ´*eà#tFÆ‚ô|´h¦›Ü‡¾>Ö×:~l Š‰ß”“oÎ b>È–ÈVbÿuÖÿ£}S&O5`tINçáW(cì(EŠŽbx÷¢Gòàg5ÏçríŸ"óÉ,ˆ¼ -µ—Œþiõ + JqáËñ2Gf›7ÜÂFZå\¾÷œr£=[ø–³ ÎoÕÁxt¹§šÛ—“J«å>°¶ÒÆa`"2‡c#\Zí‘Úa•¸ŒZã_)Ä(‘g(pc7ŠUáÅï›`Ÿq˜}>\47ë‡w¿,NuZ ‹µ˜˜_¯-T4qÃ䙪nP×r@–Q×ÌýU€+jïØGß5hm`>÷©–7æïUŠÐ5Œp‘R Ú<òL¦­²=½—á> ´ÝŸBAĶà•#a ~Ü*msàÌêÛX™?6ó~ìÿ0IR_ó9Zñ³=¤šçS¢?{w ŸWNi•¶ b×üï9øm™Nn’ +–‚挬‹Ù•;B•„z4ìôB£ å\?úsÛ&˜[ýé%Þ `ÉÝ@ÞÕ48±L'ÃL¾7â:AûˆkoÃqw2 PÿŽqn‘«eÏ­)* ˜|áNþ0“Žm€™¥  ëƉ1ŒpÑ û^=——îÞ;4$QŠl±þ‡—Ém– +‚ ªÇ veùÔÒ´ž-úï.ô½:o·BÉåCk£&Ê/ߣÇÃZË-Fº~+É=@\YO‰%¨P›âŒ(æ­‹±‹î‘놣léZ7ñBbvyˆŽlQîD+zü›éóLêÅ_Ó+Î:¼>„¦©^±#ÎîŽ^w +óTðVóF–hX2•"7— Õ­|BH Õ)÷TOî/FŸŸª8f¸>|eçWÉ;÷™/ë,Žö¦§ô…¡‹4ã””Š¡ úØ”îÙŽ&Šù§öœ#;¼kG®00ìÊÊH³Ï*%OÆúÒF:|¢1B.u€ô³Ú‹ARu­u“M?"•~TŸiŠ)cáçâømâ3b6ãôˆ_º3ÑòFäÔ™ ÄÔ­ãÛ—d,*ÇTwÞP~Õ!n×$ô=£Ý(´­ æW({‘>Ãs¯ô¹WýÅ«ê§ù™yjowh{ø*8ëÒüµ|èKA¶#*3¢ŽhŠoŠŽ†¬3‰©¶±£Kô`†õ×ω2ç&±(We“íÕ¹¹n{jLú”§F®r5R?ZãµÙôôK“–ǤU‘ŠŒ¾&ˆw!Ž +!§¡3~‡ã®qxûú>óÏ µƒþºúd îËàÖ%·Œ¯y/± ³dŠG&«êQ ­þ§¾’eð-Ë'üXº‚oÚì,ƒ·i_ -`U[.X”ḡšçé'©*ç`#«Ãí«DÏ6o)PÂ,A>ók‡õíÄ*L“Q&·UÊwV@Íè Ù†~™ »ÄÒ͸Á‡G›Dn5‹§¨ô€ ‰ê˜ùêNYÚ‡»üôúó§‹ÆIù´tåU6cð šßSºÎŽNò”¦ÄþJ®^°½jãK'JÎ Ók3Iy +íÈæñØKc*(«ÙÐ¥ò¦µ€«QN±õ£] A³`ËÆ Hʧ0y<‰›_TLþ— ïVÉ®Á±ßlO¯9°Ñ¿aö'…¢“@Í]$ÍAØ3úŸ_¦ÅnÈV¶駅Åðsœ,VU›¾Q_t¦åÛBùcZHå[UsÍ¥÷Dª^mé´ÓÔe€3â¤ï×ÿD¹•¤U›Ð&n Û¹²&’x´©X•6Öˆx}Œ]'•ÌÞ™ÑJòçǹK"é¶&3®Ã¦ó9ËäòÞ?ؼձq ÇtF¦E}ààdÃë5ÚŸÛ¡9œtá¼¢Ÿ°“dËW ©Ò’ "Ððã)힃§‰–•»XÜ£RÓ‚F·OmÐgúø§LS?}G8à‰¾«§P­£")'‹ÔRb4†^,’E\¾Š¨ ,ÀUP¼ßpp8¾ýIŸŠÃ›ÕøÛ®Åhù¾çx{V…¸߀dû«‡­=yáiŠ2T[ÝZÄ +#‰õ¶Ê&æßq®¨Ú·ï· zp ž©Lž;ý8gŽg€ú>}—G«¿¢ ¹LRÜz©ù¾çmÔï\ñãí +]Ë8·—õÐ 4—ÏÑi2*—4ʈa¥¦,˜Ÿ¶™¡ª¢ÈÚ”è@¯˜7ï› J4ɤsÁ7][ÌÑ< 6žšÁ«?§øCÖ[S5¡Ù¬ÕüOñT­ŒL‡|¯Ï60¤\„ºßùmý„ÒKÚe©  Ê鶴n©qý5·¹¬êGP€ZDÌ?LM €ÊW_v‚,J™†?øeòJ>‘–Wyèýl=¬åô;ŒHò«±H9b.þºqT¿U+:{“#Q?w›V®ÔÿdèÙÙsåEî,2 ñ`-Q0Pù3Õü™¾`TñÆ9d ֳ㠳Ÿcôn/Œ#¾9Ômˆù:RAv ¬GÚ÷n’.x¿OÇñ“Ñ‹ «»Fy·eTq6DkV˜0‡ÜMÉåQh*CïêîÕeùη[1‚‘ºÚj^9.åOcL d4Bô¯}ï°êFP6óª+ø‰ÁØóEq`ïQm‡³Þëkù1ewƒ„öòYSqÇ@€'•ÇΉá,}p?Z@•J´ïÀ³LÌhŸÖÕ×`ú}ãƒs®ã±‰Å¯:}BÓmýÈíÖG/óØ…Â'¯¼O“¯É8õzjkn)t*«î.Èô«×í8 ×ÌÄÙ±lhöJ³d(\±gß]öw­ƒûœ‚Îò‰Œ_q„$=âÌÔª~—Zº×K.îø…Çe¹peôÿLëKMœŠí¿ž"k-Èÿ™^†5ŒBÌrƒ´Ž²V”ÿy¶ðÝîÑç$ãhÛ‘ñÚi„Ë´¥‚Š'Õ¾ú&yÌæ4…:¤ªFÀ÷É€’0mþnEG¨ªP´|^„7[—4Ú=º!ÍëCayÖ15c=ÑÄn!Ó +Uc­­`‘Y¤¡rO9É=îصï‘^»˜à#´!ˆ:ÛN]X”yç~@÷7ÓÁH^é9Q&@5̱±©&Ÿc9Ÿ„ ¶+ÊOiŽ À‘J Aà½í™A»57üÛ¹£)qqÉ¥Û1œMVÒ›þf3fÜ>9Ÿv¸¹M[ :êî­(ÆG½`ÂEcuœ3ôu8%£P"F»8žÂ>׫m¥åò²væÄÃ3yTµÍÝ;‡›Ÿ Ÿ,5Ê$}ÔÙC(Ò—qé½×ñÕHè¼Û£e?^KxꬋF ¢¸Ä†Ó° ã8YÜšäÁ|ŠÎGäoN}Q‘G9ùPòìu5À`l§OKjð8ñn¦}*û=.VµÛ7GvX}ºm·9_¿¶nj«3§~Güðäšâ;ŠNRŸS¸ŸX2V¿¡þPar§Êúè¤<¹!¶KK6HK †½+ãï¾ZúÒŒöW˜èg”vÐËz£$+sÞ¶9>€±œ”º¾Š¯2¿îPaÚ4Š§-¾g‰ÙV¸NþDª*)ËÒ‘ÍÔæ›×œtÓŽ„ï‘ÝÆrèjØ¡m˜a Jà¬]húî’T·9 Û¿+ÌD¶L7€ïJeq2Ê”pä¾öÙõ=”Ôº¶Aâ?|o7¤jÙà·‰*cœ¢ZZxf 3u÷_œýÖ‘c¼Ø xU•yÏágÝ¿÷‘·Ñkÿ5*BGûy6s{´J\qógó¡•ËŸ\¼á^Œ š_5™î +¿bzá1P¶ómŽ÷ðýŽúƵîãNLMÿ1Ç„ ìñÍ@Ãq§*Àæ’’˜É +Œ¹Â|xg óåpVìGS Gk¼²åZkÑÈN`¡w/C"}y<¿R6_Þz=lŸ®bi9­DÚĦÒÌ5MŽ¨Ã¨¹ZàW'e¢@×ÃÀœT¬ÜÄl`ïÞôÑõØ}¨N-å¡]L»Û!·RæjCy{? vPÉ7î+ÁâëîºNàÛʬ™‚}صÛR´èÝ6ÍI6… M˜“»Ñ¯ªÁ%óÆÃg¾lƒðxºÏÔ› aùb±í¹ÜŠý†êo_Ëì2sbù|ÍH$¼‘3ng^øhùÈ -˜}jK‘¦g•¤ã^‚9ý¯-×Óî«õ\HB ð÷Úq¬ ìˆ÷w ‰3†aã Øši„Jh¨j²Èk«2T£»p`"%eÙejÈÏ#š>ÅЛ³àÖø®ª)Iºbƒƒ¾í´lÑ–VÂؤ•*QèÓ‘e¼D~8³¥© =µí±Ö¢¸Ke¥˜ÜQäV¸o“öO“ðÙlEQºf’CÏ#½ãë_YˆÍ’ºðw"˜1UYöàÅápÉÌs3)a%Œ.nV ŠñÓeÕ>0…»FÒF‘øú‡þ‚áé… ÂHnmWÓßÒð›ax &êÓ²Zƒ÷˜|ò¾æè¶Ø{Ó_ؾõ9³48ž²]†™ßîÙô¦¼ŠËRSÔ-ˆìÀˆ…Øƪ”s7%Í”ýNî³d‘ß½X¿ç´3|ÆÅà<,È©øW6; {­ŽqOHS…”]`ÏVIØ D›gƒßóžO‘…zz)Ld ÷«xâ@ࢶœ‹•¬” }φÖÁ’øpø¸Îa± ðÊënðªÿòiâýW^!ó3pdrê—ÎÅ üT~IàÊcùÔјײãö5+¬'ýUB§ÒO-Wãô/èñQ­®(†ø'®ªÃMÓz£i\CƲV²Q Èõ(ÜâânS3íb="¼¾É6–P]÷`vù¹:QoMæ©òh&0æ0›³„`[éæ¤Ñ/q«l*nøºbØÞEjÕ@oLl^«{V’ÅíÊTX§.ó$“*«Ôçt#ðØRÂðIƒ¥{–;Ö:k™m9Ǫ‘Jé½ Ùi-#ûN s<6ôFÅ.Z Ê2ÓÁ‡/2;h)gOØdÐ~ÑUÞä4vÿ +ûÙÀL·žÌr¤0aY0Ê çp*ðà VYð–ùc Îè´Tt°ŒKØû“ç¤n«ñ'N«Ä¢4剛­ ç[sBÄák¿æù Ä!cŠ²Àß –ÇÖúCëÁóù9A‚½àvV–YP­åÁÊxúõðtœM§féMV£û¢Õ¿½»ºü~ï1ìwl>ÇCéDToâyZ‹ÅGT{`ohxÅkÐùk#´“ ➀ž§> endobj +5669 0 obj << +/Type /Encoding +/Differences [2/fi/fl 16/caron 30/grave 33/exclam/quotedbl/numbersign/dollar/percent/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright 95/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright/asciitilde 147/quotedblleft/quotedblright/bullet/endash/emdash 154/scaron 180/acute 229/aring 233/eacute 235/edieresis] +>> endobj +1205 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /EOEKOR+CMMI10 +/FontDescriptor 5683 0 R +/FirstChar 45 +/LastChar 62 +/Widths 5675 0 R +>> endobj +1080 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /VOYJCW+CMSY10 +/FontDescriptor 5685 0 R +/FirstChar 1 +/LastChar 32 +/Widths 5676 0 R +>> endobj +5490 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /TPKZYA+LCIRCLE10 +/FontDescriptor 5687 0 R +/FirstChar 118 +/LastChar 118 +/Widths 5668 0 R +>> endobj +4779 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /DQDZYQ+NimbusMonL-Bold +/FontDescriptor 5689 0 R +/FirstChar 45 +/LastChar 122 +/Widths 5673 0 R +/Encoding 5669 0 R +>> endobj +5291 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /LVTGMN+NimbusMonL-BoldObli +/FontDescriptor 5691 0 R +/FirstChar 46 +/LastChar 120 +/Widths 5670 0 R +/Encoding 5669 0 R +>> endobj +1063 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /OZMLTC+NimbusMonL-Regu +/FontDescriptor 5693 0 R +/FirstChar 16 +/LastChar 233 +/Widths 5677 0 R +/Encoding 5669 0 R +>> endobj +2555 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /CFFDXI+NimbusMonL-ReguObli +/FontDescriptor 5695 0 R +/FirstChar 36 +/LastChar 122 +/Widths 5674 0 R +/Encoding 5669 0 R +>> endobj +815 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /TIGTHP+NimbusSanL-Bold +/FontDescriptor 5697 0 R +/FirstChar 2 +/LastChar 122 +/Widths 5679 0 R +/Encoding 5669 0 R +>> endobj +812 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /LHPKHM+NimbusSanL-Regu +/FontDescriptor 5699 0 R +/FirstChar 40 +/LastChar 121 +/Widths 5680 0 R +/Encoding 5669 0 R +>> endobj +5286 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /AJQUXG+NimbusSanL-ReguItal +/FontDescriptor 5701 0 R +/FirstChar 104 +/LastChar 119 +/Widths 5671 0 R +/Encoding 5669 0 R +>> endobj +861 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /MFCWLW+NimbusRomNo9L-Medi +/FontDescriptor 5703 0 R +/FirstChar 2 +/LastChar 150 +/Widths 5678 0 R +/Encoding 5669 0 R +>> endobj +811 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /EXZGHA+NimbusRomNo9L-Regu +/FontDescriptor 5705 0 R +/FirstChar 2 +/LastChar 235 +/Widths 5681 0 R +/Encoding 5669 0 R +>> endobj +5285 0 obj << +/Type /Font +/Subtype /Type1 +/BaseFont /YNJMKH+NimbusRomNo9L-ReguItal +/FontDescriptor 5707 0 R +/FirstChar 2 +/LastChar 122 +/Widths 5672 0 R +/Encoding 5669 0 R +>> endobj +816 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [806 0 R 858 0 R 902 0 R 941 0 R 982 0 R 1020 0 R] +>> endobj +1043 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [1040 0 R 1053 0 R 1058 0 R 1092 0 R 1129 0 R 1161 0 R] +>> endobj +1237 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [1200 0 R 1239 0 R 1275 0 R 1307 0 R 1345 0 R 1379 0 R] +>> endobj +1455 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [1416 0 R 1457 0 R 1495 0 R 1528 0 R 1554 0 R 1580 0 R] +>> endobj +1649 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [1612 0 R 1651 0 R 1685 0 R 1716 0 R 1746 0 R 1779 0 R] +>> endobj +1844 0 obj << +/Type /Pages +/Count 6 +/Parent 5708 0 R +/Kids [1814 0 R 1846 0 R 1880 0 R 1914 0 R 1948 0 R 1974 0 R] +>> endobj +1990 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [1987 0 R 1992 0 R 2019 0 R 2052 0 R 2092 0 R 2122 0 R] +>> endobj +2200 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [2160 0 R 2202 0 R 2226 0 R 2260 0 R 2298 0 R 2331 0 R] +>> endobj +2393 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [2361 0 R 2395 0 R 2430 0 R 2462 0 R 2499 0 R 2528 0 R] +>> endobj +2573 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [2551 0 R 2575 0 R 2605 0 R 2639 0 R 2672 0 R 2707 0 R] +>> endobj +2774 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [2744 0 R 2776 0 R 2822 0 R 2847 0 R 2875 0 R 2898 0 R] +>> endobj +2927 0 obj << +/Type /Pages +/Count 6 +/Parent 5709 0 R +/Kids [2923 0 R 2929 0 R 2951 0 R 2994 0 R 3027 0 R 3065 0 R] +>> endobj +3140 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [3104 0 R 3142 0 R 3179 0 R 3217 0 R 3260 0 R 3296 0 R] +>> endobj +3354 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [3325 0 R 3356 0 R 3393 0 R 3414 0 R 3422 0 R 3459 0 R] +>> endobj +3530 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [3500 0 R 3532 0 R 3553 0 R 3587 0 R 3638 0 R 3680 0 R] +>> endobj +3746 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [3713 0 R 3748 0 R 3803 0 R 3840 0 R 3882 0 R 3919 0 R] +>> endobj +4002 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [3961 0 R 4004 0 R 4056 0 R 4099 0 R 4136 0 R 4191 0 R] +>> endobj +4286 0 obj << +/Type /Pages +/Count 6 +/Parent 5710 0 R +/Kids [4238 0 R 4288 0 R 4330 0 R 4374 0 R 4413 0 R 4444 0 R] +>> endobj +4527 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [4474 0 R 4529 0 R 4578 0 R 4609 0 R 4648 0 R 4678 0 R] +>> endobj +4746 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [4708 0 R 4748 0 R 4775 0 R 4792 0 R 4831 0 R 4864 0 R] +>> endobj +4946 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [4898 0 R 4948 0 R 4981 0 R 5027 0 R 5082 0 R 5141 0 R] +>> endobj +5206 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [5168 0 R 5208 0 R 5239 0 R 5271 0 R 5288 0 R 5295 0 R] +>> endobj +5305 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [5301 0 R 5307 0 R 5314 0 R 5324 0 R 5333 0 R 5340 0 R] +>> endobj +5348 0 obj << +/Type /Pages +/Count 6 +/Parent 5711 0 R +/Kids [5345 0 R 5350 0 R 5357 0 R 5365 0 R 5373 0 R 5378 0 R] +>> endobj +5387 0 obj << +/Type /Pages +/Count 6 +/Parent 5712 0 R +/Kids [5384 0 R 5389 0 R 5393 0 R 5397 0 R 5402 0 R 5406 0 R] +>> endobj +5414 0 obj << +/Type /Pages +/Count 6 +/Parent 5712 0 R +/Kids [5410 0 R 5416 0 R 5420 0 R 5424 0 R 5429 0 R 5433 0 R] +>> endobj +5440 0 obj << +/Type /Pages +/Count 6 +/Parent 5712 0 R +/Kids [5437 0 R 5442 0 R 5450 0 R 5458 0 R 5464 0 R 5470 0 R] +>> endobj +5480 0 obj << +/Type /Pages +/Count 6 +/Parent 5712 0 R +/Kids [5474 0 R 5482 0 R 5515 0 R 5531 0 R 5536 0 R 5546 0 R] +>> endobj +5589 0 obj << +/Type /Pages +/Count 6 +/Parent 5712 0 R +/Kids [5558 0 R 5591 0 R 5596 0 R 5600 0 R 5615 0 R 5624 0 R] +>> endobj +5655 0 obj << +/Type /Pages +/Count 3 +/Parent 5712 0 R +/Kids [5650 0 R 5657 0 R 5664 0 R] +>> endobj +5708 0 obj << +/Type /Pages +/Count 36 +/Parent 5713 0 R +/Kids [816 0 R 1043 0 R 1237 0 R 1455 0 R 1649 0 R 1844 0 R] +>> endobj +5709 0 obj << +/Type /Pages +/Count 36 +/Parent 5713 0 R +/Kids [1990 0 R 2200 0 R 2393 0 R 2573 0 R 2774 0 R 2927 0 R] +>> endobj +5710 0 obj << +/Type /Pages +/Count 36 +/Parent 5713 0 R +/Kids [3140 0 R 3354 0 R 3530 0 R 3746 0 R 4002 0 R 4286 0 R] +>> endobj +5711 0 obj << +/Type /Pages +/Count 36 +/Parent 5713 0 R +/Kids [4527 0 R 4746 0 R 4946 0 R 5206 0 R 5305 0 R 5348 0 R] +>> endobj +5712 0 obj << +/Type /Pages +/Count 33 +/Parent 5713 0 R +/Kids [5387 0 R 5414 0 R 5440 0 R 5480 0 R 5589 0 R 5655 0 R] +>> endobj +5713 0 obj << +/Type /Pages +/Count 177 +/Kids [5708 0 R 5709 0 R 5710 0 R 5711 0 R 5712 0 R] +>> endobj +5714 0 obj << +/Type /Outlines +/First 3 0 R +/Last 803 0 R +/Count 38 +>> endobj +803 0 obj << +/Title 804 0 R +/A 801 0 R +/Parent 5714 0 R +/Prev 799 0 R +>> endobj +799 0 obj << +/Title 800 0 R +/A 797 0 R +/Parent 5714 0 R +/Prev 795 0 R +/Next 803 0 R +>> endobj +795 0 obj << +/Title 796 0 R +/A 793 0 R +/Parent 5714 0 R +/Prev 791 0 R +/Next 799 0 R +>> endobj +791 0 obj << +/Title 792 0 R +/A 789 0 R +/Parent 5714 0 R +/Prev 787 0 R +/Next 795 0 R +>> endobj +787 0 obj << +/Title 788 0 R +/A 785 0 R +/Parent 5714 0 R +/Prev 783 0 R +/Next 791 0 R +>> endobj +783 0 obj << +/Title 784 0 R +/A 781 0 R +/Parent 5714 0 R +/Prev 779 0 R +/Next 787 0 R +>> endobj +779 0 obj << +/Title 780 0 R +/A 777 0 R +/Parent 5714 0 R +/Prev 775 0 R +/Next 783 0 R +>> endobj +775 0 obj << +/Title 776 0 R +/A 773 0 R +/Parent 5714 0 R +/Prev 771 0 R +/Next 779 0 R +>> endobj +771 0 obj << +/Title 772 0 R +/A 769 0 R +/Parent 5714 0 R +/Prev 767 0 R +/Next 775 0 R +>> endobj +767 0 obj << +/Title 768 0 R +/A 765 0 R +/Parent 5714 0 R +/Prev 763 0 R +/Next 771 0 R +>> endobj +763 0 obj << +/Title 764 0 R +/A 761 0 R +/Parent 5714 0 R +/Prev 759 0 R +/Next 767 0 R +>> endobj +759 0 obj << +/Title 760 0 R +/A 757 0 R +/Parent 5714 0 R +/Prev 755 0 R +/Next 763 0 R +>> endobj +755 0 obj << +/Title 756 0 R +/A 753 0 R +/Parent 5714 0 R +/Prev 751 0 R +/Next 759 0 R +>> endobj +751 0 obj << +/Title 752 0 R +/A 749 0 R +/Parent 5714 0 R +/Prev 747 0 R +/Next 755 0 R +>> endobj +747 0 obj << +/Title 748 0 R +/A 745 0 R +/Parent 5714 0 R +/Prev 743 0 R +/Next 751 0 R +>> endobj +743 0 obj << +/Title 744 0 R +/A 741 0 R +/Parent 5714 0 R +/Prev 739 0 R +/Next 747 0 R +>> endobj +739 0 obj << +/Title 740 0 R +/A 737 0 R +/Parent 5714 0 R +/Prev 715 0 R +/Next 743 0 R +>> endobj +735 0 obj << +/Title 736 0 R +/A 733 0 R +/Parent 715 0 R +/Prev 731 0 R +>> endobj +731 0 obj << +/Title 732 0 R +/A 729 0 R +/Parent 715 0 R +/Prev 727 0 R +/Next 735 0 R +>> endobj +727 0 obj << +/Title 728 0 R +/A 725 0 R +/Parent 715 0 R +/Prev 723 0 R +/Next 731 0 R +>> endobj +723 0 obj << +/Title 724 0 R +/A 721 0 R +/Parent 715 0 R +/Prev 719 0 R +/Next 727 0 R +>> endobj +719 0 obj << +/Title 720 0 R +/A 717 0 R +/Parent 715 0 R +/Next 723 0 R +>> endobj +715 0 obj << +/Title 716 0 R +/A 713 0 R +/Parent 5714 0 R +/Prev 711 0 R +/Next 739 0 R +/First 719 0 R +/Last 735 0 R +/Count -5 +>> endobj +711 0 obj << +/Title 712 0 R +/A 709 0 R +/Parent 5714 0 R +/Prev 671 0 R +/Next 715 0 R +>> endobj +707 0 obj << +/Title 708 0 R +/A 705 0 R +/Parent 671 0 R +/Prev 703 0 R +>> endobj +703 0 obj << +/Title 704 0 R +/A 701 0 R +/Parent 671 0 R +/Prev 699 0 R +/Next 707 0 R +>> endobj +699 0 obj << +/Title 700 0 R +/A 697 0 R +/Parent 671 0 R +/Prev 695 0 R +/Next 703 0 R +>> endobj +695 0 obj << +/Title 696 0 R +/A 693 0 R +/Parent 671 0 R +/Prev 691 0 R +/Next 699 0 R +>> endobj +691 0 obj << +/Title 692 0 R +/A 689 0 R +/Parent 671 0 R +/Prev 687 0 R +/Next 695 0 R +>> endobj +687 0 obj << +/Title 688 0 R +/A 685 0 R +/Parent 671 0 R +/Prev 683 0 R +/Next 691 0 R +>> endobj +683 0 obj << +/Title 684 0 R +/A 681 0 R +/Parent 671 0 R +/Prev 679 0 R +/Next 687 0 R +>> endobj +679 0 obj << +/Title 680 0 R +/A 677 0 R +/Parent 671 0 R +/Prev 675 0 R +/Next 683 0 R +>> endobj +675 0 obj << +/Title 676 0 R +/A 673 0 R +/Parent 671 0 R +/Next 679 0 R +>> endobj +671 0 obj << +/Title 672 0 R +/A 669 0 R +/Parent 5714 0 R +/Prev 651 0 R +/Next 711 0 R +/First 675 0 R +/Last 707 0 R +/Count -9 +>> endobj +667 0 obj << +/Title 668 0 R +/A 665 0 R +/Parent 651 0 R +/Prev 663 0 R +>> endobj +663 0 obj << +/Title 664 0 R +/A 661 0 R +/Parent 651 0 R +/Prev 659 0 R +/Next 667 0 R +>> endobj +659 0 obj << +/Title 660 0 R +/A 657 0 R +/Parent 651 0 R +/Prev 655 0 R +/Next 663 0 R +>> endobj +655 0 obj << +/Title 656 0 R +/A 653 0 R +/Parent 651 0 R +/Next 659 0 R +>> endobj +651 0 obj << +/Title 652 0 R +/A 649 0 R +/Parent 5714 0 R +/Prev 615 0 R +/Next 671 0 R +/First 655 0 R +/Last 667 0 R +/Count -4 +>> endobj +647 0 obj << +/Title 648 0 R +/A 645 0 R +/Parent 615 0 R +/Prev 643 0 R +>> endobj +643 0 obj << +/Title 644 0 R +/A 641 0 R +/Parent 615 0 R +/Prev 639 0 R +/Next 647 0 R +>> endobj +639 0 obj << +/Title 640 0 R +/A 637 0 R +/Parent 615 0 R +/Prev 635 0 R +/Next 643 0 R +>> endobj +635 0 obj << +/Title 636 0 R +/A 633 0 R +/Parent 615 0 R +/Prev 631 0 R +/Next 639 0 R +>> endobj +631 0 obj << +/Title 632 0 R +/A 629 0 R +/Parent 615 0 R +/Prev 627 0 R +/Next 635 0 R +>> endobj +627 0 obj << +/Title 628 0 R +/A 625 0 R +/Parent 615 0 R +/Prev 623 0 R +/Next 631 0 R +>> endobj +623 0 obj << +/Title 624 0 R +/A 621 0 R +/Parent 615 0 R +/Prev 619 0 R +/Next 627 0 R +>> endobj +619 0 obj << +/Title 620 0 R +/A 617 0 R +/Parent 615 0 R +/Next 623 0 R +>> endobj +615 0 obj << +/Title 616 0 R +/A 613 0 R +/Parent 5714 0 R +/Prev 583 0 R +/Next 651 0 R +/First 619 0 R +/Last 647 0 R +/Count -8 +>> endobj +611 0 obj << +/Title 612 0 R +/A 609 0 R +/Parent 583 0 R +/Prev 607 0 R +>> endobj +607 0 obj << +/Title 608 0 R +/A 605 0 R +/Parent 583 0 R +/Prev 603 0 R +/Next 611 0 R +>> endobj +603 0 obj << +/Title 604 0 R +/A 601 0 R +/Parent 583 0 R +/Prev 599 0 R +/Next 607 0 R +>> endobj +599 0 obj << +/Title 600 0 R +/A 597 0 R +/Parent 583 0 R +/Prev 595 0 R +/Next 603 0 R +>> endobj +595 0 obj << +/Title 596 0 R +/A 593 0 R +/Parent 583 0 R +/Prev 591 0 R +/Next 599 0 R +>> endobj +591 0 obj << +/Title 592 0 R +/A 589 0 R +/Parent 583 0 R +/Prev 587 0 R +/Next 595 0 R +>> endobj +587 0 obj << +/Title 588 0 R +/A 585 0 R +/Parent 583 0 R +/Next 591 0 R +>> endobj +583 0 obj << +/Title 584 0 R +/A 581 0 R +/Parent 5714 0 R +/Prev 551 0 R +/Next 615 0 R +/First 587 0 R +/Last 611 0 R +/Count -7 +>> endobj +579 0 obj << +/Title 580 0 R +/A 577 0 R +/Parent 551 0 R +/Prev 575 0 R +>> endobj +575 0 obj << +/Title 576 0 R +/A 573 0 R +/Parent 551 0 R +/Prev 571 0 R +/Next 579 0 R +>> endobj +571 0 obj << +/Title 572 0 R +/A 569 0 R +/Parent 551 0 R +/Prev 567 0 R +/Next 575 0 R +>> endobj +567 0 obj << +/Title 568 0 R +/A 565 0 R +/Parent 551 0 R +/Prev 563 0 R +/Next 571 0 R +>> endobj +563 0 obj << +/Title 564 0 R +/A 561 0 R +/Parent 551 0 R +/Prev 559 0 R +/Next 567 0 R +>> endobj +559 0 obj << +/Title 560 0 R +/A 557 0 R +/Parent 551 0 R +/Prev 555 0 R +/Next 563 0 R +>> endobj +555 0 obj << +/Title 556 0 R +/A 553 0 R +/Parent 551 0 R +/Next 559 0 R +>> endobj +551 0 obj << +/Title 552 0 R +/A 549 0 R +/Parent 5714 0 R +/Prev 487 0 R +/Next 583 0 R +/First 555 0 R +/Last 579 0 R +/Count -7 +>> endobj +547 0 obj << +/Title 548 0 R +/A 545 0 R +/Parent 487 0 R +/Prev 543 0 R +>> endobj +543 0 obj << +/Title 544 0 R +/A 541 0 R +/Parent 487 0 R +/Prev 539 0 R +/Next 547 0 R +>> endobj +539 0 obj << +/Title 540 0 R +/A 537 0 R +/Parent 487 0 R +/Prev 535 0 R +/Next 543 0 R +>> endobj +535 0 obj << +/Title 536 0 R +/A 533 0 R +/Parent 487 0 R +/Prev 531 0 R +/Next 539 0 R +>> endobj +531 0 obj << +/Title 532 0 R +/A 529 0 R +/Parent 487 0 R +/Prev 527 0 R +/Next 535 0 R +>> endobj +527 0 obj << +/Title 528 0 R +/A 525 0 R +/Parent 487 0 R +/Prev 523 0 R +/Next 531 0 R +>> endobj +523 0 obj << +/Title 524 0 R +/A 521 0 R +/Parent 487 0 R +/Prev 519 0 R +/Next 527 0 R +>> endobj +519 0 obj << +/Title 520 0 R +/A 517 0 R +/Parent 487 0 R +/Prev 515 0 R +/Next 523 0 R +>> endobj +515 0 obj << +/Title 516 0 R +/A 513 0 R +/Parent 487 0 R +/Prev 511 0 R +/Next 519 0 R +>> endobj +511 0 obj << +/Title 512 0 R +/A 509 0 R +/Parent 487 0 R +/Prev 507 0 R +/Next 515 0 R +>> endobj +507 0 obj << +/Title 508 0 R +/A 505 0 R +/Parent 487 0 R +/Prev 503 0 R +/Next 511 0 R +>> endobj +503 0 obj << +/Title 504 0 R +/A 501 0 R +/Parent 487 0 R +/Prev 499 0 R +/Next 507 0 R +>> endobj +499 0 obj << +/Title 500 0 R +/A 497 0 R +/Parent 487 0 R +/Prev 495 0 R +/Next 503 0 R +>> endobj +495 0 obj << +/Title 496 0 R +/A 493 0 R +/Parent 487 0 R +/Prev 491 0 R +/Next 499 0 R +>> endobj +491 0 obj << +/Title 492 0 R +/A 489 0 R +/Parent 487 0 R +/Next 495 0 R +>> endobj +487 0 obj << +/Title 488 0 R +/A 485 0 R +/Parent 5714 0 R +/Prev 447 0 R +/Next 551 0 R +/First 491 0 R +/Last 547 0 R +/Count -15 +>> endobj +483 0 obj << +/Title 484 0 R +/A 481 0 R +/Parent 447 0 R +/Prev 479 0 R +>> endobj +479 0 obj << +/Title 480 0 R +/A 477 0 R +/Parent 447 0 R +/Prev 475 0 R +/Next 483 0 R +>> endobj +475 0 obj << +/Title 476 0 R +/A 473 0 R +/Parent 447 0 R +/Prev 471 0 R +/Next 479 0 R +>> endobj +471 0 obj << +/Title 472 0 R +/A 469 0 R +/Parent 447 0 R +/Prev 467 0 R +/Next 475 0 R +>> endobj +467 0 obj << +/Title 468 0 R +/A 465 0 R +/Parent 447 0 R +/Prev 463 0 R +/Next 471 0 R +>> endobj +463 0 obj << +/Title 464 0 R +/A 461 0 R +/Parent 447 0 R +/Prev 459 0 R +/Next 467 0 R +>> endobj +459 0 obj << +/Title 460 0 R +/A 457 0 R +/Parent 447 0 R +/Prev 455 0 R +/Next 463 0 R +>> endobj +455 0 obj << +/Title 456 0 R +/A 453 0 R +/Parent 447 0 R +/Prev 451 0 R +/Next 459 0 R +>> endobj +451 0 obj << +/Title 452 0 R +/A 449 0 R +/Parent 447 0 R +/Next 455 0 R +>> endobj +447 0 obj << +/Title 448 0 R +/A 445 0 R +/Parent 5714 0 R +/Prev 443 0 R +/Next 487 0 R +/First 451 0 R +/Last 483 0 R +/Count -9 +>> endobj +443 0 obj << +/Title 444 0 R +/A 441 0 R +/Parent 5714 0 R +/Prev 363 0 R +/Next 447 0 R +>> endobj +439 0 obj << +/Title 440 0 R +/A 437 0 R +/Parent 363 0 R +/Prev 435 0 R +>> endobj +435 0 obj << +/Title 436 0 R +/A 433 0 R +/Parent 363 0 R +/Prev 431 0 R +/Next 439 0 R +>> endobj +431 0 obj << +/Title 432 0 R +/A 429 0 R +/Parent 363 0 R +/Prev 427 0 R +/Next 435 0 R +>> endobj +427 0 obj << +/Title 428 0 R +/A 425 0 R +/Parent 363 0 R +/Prev 423 0 R +/Next 431 0 R +>> endobj +423 0 obj << +/Title 424 0 R +/A 421 0 R +/Parent 363 0 R +/Prev 419 0 R +/Next 427 0 R +>> endobj +419 0 obj << +/Title 420 0 R +/A 417 0 R +/Parent 363 0 R +/Prev 415 0 R +/Next 423 0 R +>> endobj +415 0 obj << +/Title 416 0 R +/A 413 0 R +/Parent 363 0 R +/Prev 411 0 R +/Next 419 0 R +>> endobj +411 0 obj << +/Title 412 0 R +/A 409 0 R +/Parent 363 0 R +/Prev 407 0 R +/Next 415 0 R +>> endobj +407 0 obj << +/Title 408 0 R +/A 405 0 R +/Parent 363 0 R +/Prev 403 0 R +/Next 411 0 R +>> endobj +403 0 obj << +/Title 404 0 R +/A 401 0 R +/Parent 363 0 R +/Prev 399 0 R +/Next 407 0 R +>> endobj +399 0 obj << +/Title 400 0 R +/A 397 0 R +/Parent 363 0 R +/Prev 395 0 R +/Next 403 0 R +>> endobj +395 0 obj << +/Title 396 0 R +/A 393 0 R +/Parent 363 0 R +/Prev 391 0 R +/Next 399 0 R +>> endobj +391 0 obj << +/Title 392 0 R +/A 389 0 R +/Parent 363 0 R +/Prev 387 0 R +/Next 395 0 R +>> endobj +387 0 obj << +/Title 388 0 R +/A 385 0 R +/Parent 363 0 R +/Prev 383 0 R +/Next 391 0 R +>> endobj +383 0 obj << +/Title 384 0 R +/A 381 0 R +/Parent 363 0 R +/Prev 379 0 R +/Next 387 0 R +>> endobj +379 0 obj << +/Title 380 0 R +/A 377 0 R +/Parent 363 0 R +/Prev 375 0 R +/Next 383 0 R +>> endobj +375 0 obj << +/Title 376 0 R +/A 373 0 R +/Parent 363 0 R +/Prev 371 0 R +/Next 379 0 R +>> endobj +371 0 obj << +/Title 372 0 R +/A 369 0 R +/Parent 363 0 R +/Prev 367 0 R +/Next 375 0 R +>> endobj +367 0 obj << +/Title 368 0 R +/A 365 0 R +/Parent 363 0 R +/Next 371 0 R +>> endobj +363 0 obj << +/Title 364 0 R +/A 361 0 R +/Parent 5714 0 R +/Prev 327 0 R +/Next 443 0 R +/First 367 0 R +/Last 439 0 R +/Count -19 +>> endobj +359 0 obj << +/Title 360 0 R +/A 357 0 R +/Parent 327 0 R +/Prev 355 0 R +>> endobj +355 0 obj << +/Title 356 0 R +/A 353 0 R +/Parent 327 0 R +/Prev 351 0 R +/Next 359 0 R +>> endobj +351 0 obj << +/Title 352 0 R +/A 349 0 R +/Parent 327 0 R +/Prev 347 0 R +/Next 355 0 R +>> endobj +347 0 obj << +/Title 348 0 R +/A 345 0 R +/Parent 327 0 R +/Prev 343 0 R +/Next 351 0 R +>> endobj +343 0 obj << +/Title 344 0 R +/A 341 0 R +/Parent 327 0 R +/Prev 339 0 R +/Next 347 0 R +>> endobj +339 0 obj << +/Title 340 0 R +/A 337 0 R +/Parent 327 0 R +/Prev 335 0 R +/Next 343 0 R +>> endobj +335 0 obj << +/Title 336 0 R +/A 333 0 R +/Parent 327 0 R +/Prev 331 0 R +/Next 339 0 R +>> endobj +331 0 obj << +/Title 332 0 R +/A 329 0 R +/Parent 327 0 R +/Next 335 0 R +>> endobj +327 0 obj << +/Title 328 0 R +/A 325 0 R +/Parent 5714 0 R +/Prev 323 0 R +/Next 363 0 R +/First 331 0 R +/Last 359 0 R +/Count -8 +>> endobj +323 0 obj << +/Title 324 0 R +/A 321 0 R +/Parent 5714 0 R +/Prev 319 0 R +/Next 327 0 R +>> endobj +319 0 obj << +/Title 320 0 R +/A 317 0 R +/Parent 5714 0 R +/Prev 271 0 R +/Next 323 0 R +>> endobj +315 0 obj << +/Title 316 0 R +/A 313 0 R +/Parent 271 0 R +/Prev 311 0 R +>> endobj +311 0 obj << +/Title 312 0 R +/A 309 0 R +/Parent 271 0 R +/Prev 307 0 R +/Next 315 0 R +>> endobj +307 0 obj << +/Title 308 0 R +/A 305 0 R +/Parent 271 0 R +/Prev 303 0 R +/Next 311 0 R +>> endobj +303 0 obj << +/Title 304 0 R +/A 301 0 R +/Parent 271 0 R +/Prev 299 0 R +/Next 307 0 R +>> endobj +299 0 obj << +/Title 300 0 R +/A 297 0 R +/Parent 271 0 R +/Prev 295 0 R +/Next 303 0 R +>> endobj +295 0 obj << +/Title 296 0 R +/A 293 0 R +/Parent 271 0 R +/Prev 291 0 R +/Next 299 0 R +>> endobj +291 0 obj << +/Title 292 0 R +/A 289 0 R +/Parent 271 0 R +/Prev 287 0 R +/Next 295 0 R +>> endobj +287 0 obj << +/Title 288 0 R +/A 285 0 R +/Parent 271 0 R +/Prev 283 0 R +/Next 291 0 R +>> endobj +283 0 obj << +/Title 284 0 R +/A 281 0 R +/Parent 271 0 R +/Prev 279 0 R +/Next 287 0 R +>> endobj +279 0 obj << +/Title 280 0 R +/A 277 0 R +/Parent 271 0 R +/Prev 275 0 R +/Next 283 0 R +>> endobj +275 0 obj << +/Title 276 0 R +/A 273 0 R +/Parent 271 0 R +/Next 279 0 R +>> endobj +271 0 obj << +/Title 272 0 R +/A 269 0 R +/Parent 5714 0 R +/Prev 251 0 R +/Next 319 0 R +/First 275 0 R +/Last 315 0 R +/Count -11 +>> endobj +267 0 obj << +/Title 268 0 R +/A 265 0 R +/Parent 251 0 R +/Prev 263 0 R +>> endobj +263 0 obj << +/Title 264 0 R +/A 261 0 R +/Parent 251 0 R +/Prev 259 0 R +/Next 267 0 R +>> endobj +259 0 obj << +/Title 260 0 R +/A 257 0 R +/Parent 251 0 R +/Prev 255 0 R +/Next 263 0 R +>> endobj +255 0 obj << +/Title 256 0 R +/A 253 0 R +/Parent 251 0 R +/Next 259 0 R +>> endobj +251 0 obj << +/Title 252 0 R +/A 249 0 R +/Parent 5714 0 R +/Prev 211 0 R +/Next 271 0 R +/First 255 0 R +/Last 267 0 R +/Count -4 +>> endobj +247 0 obj << +/Title 248 0 R +/A 245 0 R +/Parent 211 0 R +/Prev 243 0 R +>> endobj +243 0 obj << +/Title 244 0 R +/A 241 0 R +/Parent 211 0 R +/Prev 239 0 R +/Next 247 0 R +>> endobj +239 0 obj << +/Title 240 0 R +/A 237 0 R +/Parent 211 0 R +/Prev 235 0 R +/Next 243 0 R +>> endobj +235 0 obj << +/Title 236 0 R +/A 233 0 R +/Parent 211 0 R +/Prev 231 0 R +/Next 239 0 R +>> endobj +231 0 obj << +/Title 232 0 R +/A 229 0 R +/Parent 211 0 R +/Prev 227 0 R +/Next 235 0 R +>> endobj +227 0 obj << +/Title 228 0 R +/A 225 0 R +/Parent 211 0 R +/Prev 223 0 R +/Next 231 0 R +>> endobj +223 0 obj << +/Title 224 0 R +/A 221 0 R +/Parent 211 0 R +/Prev 219 0 R +/Next 227 0 R +>> endobj +219 0 obj << +/Title 220 0 R +/A 217 0 R +/Parent 211 0 R +/Prev 215 0 R +/Next 223 0 R +>> endobj +215 0 obj << +/Title 216 0 R +/A 213 0 R +/Parent 211 0 R +/Next 219 0 R +>> endobj +211 0 obj << +/Title 212 0 R +/A 209 0 R +/Parent 5714 0 R +/Prev 171 0 R +/Next 251 0 R +/First 215 0 R +/Last 247 0 R +/Count -9 +>> endobj +207 0 obj << +/Title 208 0 R +/A 205 0 R +/Parent 171 0 R +/Prev 203 0 R +>> endobj +203 0 obj << +/Title 204 0 R +/A 201 0 R +/Parent 171 0 R +/Prev 199 0 R +/Next 207 0 R +>> endobj +199 0 obj << +/Title 200 0 R +/A 197 0 R +/Parent 171 0 R +/Prev 195 0 R +/Next 203 0 R +>> endobj +195 0 obj << +/Title 196 0 R +/A 193 0 R +/Parent 171 0 R +/Prev 191 0 R +/Next 199 0 R +>> endobj +191 0 obj << +/Title 192 0 R +/A 189 0 R +/Parent 171 0 R +/Prev 187 0 R +/Next 195 0 R +>> endobj +187 0 obj << +/Title 188 0 R +/A 185 0 R +/Parent 171 0 R +/Prev 183 0 R +/Next 191 0 R +>> endobj +183 0 obj << +/Title 184 0 R +/A 181 0 R +/Parent 171 0 R +/Prev 179 0 R +/Next 187 0 R +>> endobj +179 0 obj << +/Title 180 0 R +/A 177 0 R +/Parent 171 0 R +/Prev 175 0 R +/Next 183 0 R +>> endobj +175 0 obj << +/Title 176 0 R +/A 173 0 R +/Parent 171 0 R +/Next 179 0 R +>> endobj +171 0 obj << +/Title 172 0 R +/A 169 0 R +/Parent 5714 0 R +/Prev 155 0 R +/Next 211 0 R +/First 175 0 R +/Last 207 0 R +/Count -9 +>> endobj +167 0 obj << +/Title 168 0 R +/A 165 0 R +/Parent 155 0 R +/Prev 163 0 R +>> endobj +163 0 obj << +/Title 164 0 R +/A 161 0 R +/Parent 155 0 R +/Prev 159 0 R +/Next 167 0 R +>> endobj +159 0 obj << +/Title 160 0 R +/A 157 0 R +/Parent 155 0 R +/Next 163 0 R +>> endobj +155 0 obj << +/Title 156 0 R +/A 153 0 R +/Parent 5714 0 R +/Prev 87 0 R +/Next 171 0 R +/First 159 0 R +/Last 167 0 R +/Count -3 +>> endobj +151 0 obj << +/Title 152 0 R +/A 149 0 R +/Parent 87 0 R +/Prev 147 0 R +>> endobj +147 0 obj << +/Title 148 0 R +/A 145 0 R +/Parent 87 0 R +/Prev 143 0 R +/Next 151 0 R +>> endobj +143 0 obj << +/Title 144 0 R +/A 141 0 R +/Parent 87 0 R +/Prev 139 0 R +/Next 147 0 R +>> endobj +139 0 obj << +/Title 140 0 R +/A 137 0 R +/Parent 87 0 R +/Prev 135 0 R +/Next 143 0 R +>> endobj +135 0 obj << +/Title 136 0 R +/A 133 0 R +/Parent 87 0 R +/Prev 131 0 R +/Next 139 0 R +>> endobj +131 0 obj << +/Title 132 0 R +/A 129 0 R +/Parent 87 0 R +/Prev 127 0 R +/Next 135 0 R +>> endobj +127 0 obj << +/Title 128 0 R +/A 125 0 R +/Parent 87 0 R +/Prev 123 0 R +/Next 131 0 R +>> endobj +123 0 obj << +/Title 124 0 R +/A 121 0 R +/Parent 87 0 R +/Prev 119 0 R +/Next 127 0 R +>> endobj +119 0 obj << +/Title 120 0 R +/A 117 0 R +/Parent 87 0 R +/Prev 115 0 R +/Next 123 0 R +>> endobj +115 0 obj << +/Title 116 0 R +/A 113 0 R +/Parent 87 0 R +/Prev 111 0 R +/Next 119 0 R +>> endobj +111 0 obj << +/Title 112 0 R +/A 109 0 R +/Parent 87 0 R +/Prev 107 0 R +/Next 115 0 R +>> endobj +107 0 obj << +/Title 108 0 R +/A 105 0 R +/Parent 87 0 R +/Prev 103 0 R +/Next 111 0 R +>> endobj +103 0 obj << +/Title 104 0 R +/A 101 0 R +/Parent 87 0 R +/Prev 99 0 R +/Next 107 0 R +>> endobj +99 0 obj << +/Title 100 0 R +/A 97 0 R +/Parent 87 0 R +/Prev 95 0 R +/Next 103 0 R +>> endobj +95 0 obj << +/Title 96 0 R +/A 93 0 R +/Parent 87 0 R +/Prev 91 0 R +/Next 99 0 R +>> endobj +91 0 obj << +/Title 92 0 R +/A 89 0 R +/Parent 87 0 R +/Next 95 0 R +>> endobj +87 0 obj << +/Title 88 0 R +/A 85 0 R +/Parent 5714 0 R +/Prev 3 0 R +/Next 155 0 R +/First 91 0 R +/Last 151 0 R +/Count -16 +>> endobj +83 0 obj << +/Title 84 0 R +/A 81 0 R +/Parent 3 0 R +/Prev 79 0 R +>> endobj +79 0 obj << +/Title 80 0 R +/A 77 0 R +/Parent 3 0 R +/Prev 75 0 R +/Next 83 0 R +>> endobj +75 0 obj << +/Title 76 0 R +/A 73 0 R +/Parent 3 0 R +/Prev 71 0 R +/Next 79 0 R +>> endobj +71 0 obj << +/Title 72 0 R +/A 69 0 R +/Parent 3 0 R +/Prev 67 0 R +/Next 75 0 R +>> endobj +67 0 obj << +/Title 68 0 R +/A 65 0 R +/Parent 3 0 R +/Prev 63 0 R +/Next 71 0 R +>> endobj +63 0 obj << +/Title 64 0 R +/A 61 0 R +/Parent 3 0 R +/Prev 59 0 R +/Next 67 0 R +>> endobj +59 0 obj << +/Title 60 0 R +/A 57 0 R +/Parent 3 0 R +/Prev 55 0 R +/Next 63 0 R +>> endobj +55 0 obj << +/Title 56 0 R +/A 53 0 R +/Parent 3 0 R +/Prev 51 0 R +/Next 59 0 R +>> endobj +51 0 obj << +/Title 52 0 R +/A 49 0 R +/Parent 3 0 R +/Prev 47 0 R +/Next 55 0 R +>> endobj +47 0 obj << +/Title 48 0 R +/A 45 0 R +/Parent 3 0 R +/Prev 43 0 R +/Next 51 0 R +>> endobj +43 0 obj << +/Title 44 0 R +/A 41 0 R +/Parent 3 0 R +/Prev 39 0 R +/Next 47 0 R +>> endobj +39 0 obj << +/Title 40 0 R +/A 37 0 R +/Parent 3 0 R +/Prev 35 0 R +/Next 43 0 R +>> endobj +35 0 obj << +/Title 36 0 R +/A 33 0 R +/Parent 3 0 R +/Prev 31 0 R +/Next 39 0 R +>> endobj +31 0 obj << +/Title 32 0 R +/A 29 0 R +/Parent 3 0 R +/Prev 27 0 R +/Next 35 0 R +>> endobj +27 0 obj << +/Title 28 0 R +/A 25 0 R +/Parent 3 0 R +/Prev 23 0 R +/Next 31 0 R +>> endobj +23 0 obj << +/Title 24 0 R +/A 21 0 R +/Parent 3 0 R +/Prev 19 0 R +/Next 27 0 R +>> endobj +19 0 obj << +/Title 20 0 R +/A 17 0 R +/Parent 3 0 R +/Prev 15 0 R +/Next 23 0 R +>> endobj +15 0 obj << +/Title 16 0 R +/A 13 0 R +/Parent 3 0 R +/Prev 11 0 R +/Next 19 0 R +>> endobj +11 0 obj << +/Title 12 0 R +/A 9 0 R +/Parent 3 0 R +/Prev 7 0 R +/Next 15 0 R +>> endobj +7 0 obj << +/Title 8 0 R +/A 5 0 R +/Parent 3 0 R +/Next 11 0 R +>> endobj +3 0 obj << +/Title 4 0 R +/A 1 0 R +/Parent 5714 0 R +/Next 87 0 R +/First 7 0 R +/Last 83 0 R +/Count -20 +>> endobj +5715 0 obj << +/Names [(Doc-Start) 813 0 R (Item.1) 5477 0 R (Item.10) 5524 0 R (Item.11) 5525 0 R (Item.12) 5526 0 R (Item.13) 5527 0 R] +/Limits [(Doc-Start) (Item.13)] +>> endobj +5716 0 obj << +/Names [(Item.14) 5528 0 R (Item.15) 5529 0 R (Item.16) 5556 0 R (Item.17) 5561 0 R (Item.2) 5478 0 R (Item.3) 5479 0 R] +/Limits [(Item.14) (Item.3)] +>> endobj +5717 0 obj << +/Names [(Item.4) 5518 0 R (Item.5) 5519 0 R (Item.6) 5520 0 R (Item.7) 5521 0 R (Item.8) 5522 0 R (Item.9) 5523 0 R] +/Limits [(Item.4) (Item.9)] +>> endobj +5718 0 obj << +/Names [(V1.71.0) 5331 0 R (V1.71.0_Common) 5336 0 R (V1.71.0_Extensions) 5337 0 R (V1.71.0_FO) 5338 0 R (V1.71.0_HTML) 5343 0 R (V1.71.0_Highlighting) 5353 0 R] +/Limits [(V1.71.0) (V1.71.0_Highlighting)] +>> endobj +5719 0 obj << +/Names [(V1.71.0_Manpages) 5354 0 R (V1.71.0_Params) 5355 0 R (V1.71.0_Tools) 5360 0 R (V1.71.1) 5312 0 R (V1.71.1_Common) 5317 0 R (V1.71.1_FO) 5318 0 R] +/Limits [(V1.71.0_Manpages) (V1.71.1_FO)] +>> endobj +5720 0 obj << +/Names [(V1.71.1_HTML) 5319 0 R (V1.71.1_Highlighting) 5327 0 R (V1.71.1_Manpages) 5328 0 R (V1.71.1_Params) 5329 0 R (V1.71.1_Profiling) 5330 0 R (V1.72.0) 5284 0 R] +/Limits [(V1.71.1_HTML) (V1.72.0)] +>> endobj +5721 0 obj << +/Names [(V1.72.0_Common) 5292 0 R (V1.72.0_FO) 5293 0 R (V1.72.0_HTML) 5298 0 R (V1.72.0_Manpages) 5299 0 R (V1.72.0_Params) 5304 0 R (V1.72.0_Roundtrip) 5311 0 R] +/Limits [(V1.72.0_Common) (V1.72.0_Roundtrip)] +>> endobj +5722 0 obj << +/Names [(V1.72.0_Template) 5310 0 R (V1.73.0) 4778 0 R (V1.73.0_Common) 4805 0 R (V1.73.0_Eclipse) 5146 0 R (V1.73.0_FO) 4834 0 R (V1.73.0_Gentext) 4780 0 R] +/Limits [(V1.72.0_Template) (V1.73.0_Gentext)] +>> endobj +5723 0 obj << +/Names [(V1.73.0_HTML) 4893 0 R (V1.73.0_Highlighting) 5232 0 R (V1.73.0_JavaHelp) 5151 0 R (V1.73.0_Lib) 5242 0 R (V1.73.0_Manpages) 4992 0 R (V1.73.0_Params) 5162 0 R] +/Limits [(V1.73.0_HTML) (V1.73.0_Params)] +>> endobj +5724 0 obj << +/Names [(V1.73.0_Profiling) 5235 0 R (V1.73.0_Roundtrip) 5157 0 R (V1.73.0_Tools) 5246 0 R (V1.73.0_XSL-Saxon) 5252 0 R (V1.73.0_XSL-Xalan) 5263 0 R (V1.73.1) 4689 0 R] +/Limits [(V1.73.0_Profiling) (V1.73.1)] +>> endobj +5725 0 obj << +/Names [(V1.73.1_Eclipse) 4755 0 R (V1.73.1_FO) 4695 0 R (V1.73.1_Gentext) 4690 0 R (V1.73.1_HTML) 4711 0 R (V1.73.1_HTMLHelp) 4751 0 R (V1.73.1_JavaHelp) 4759 0 R] +/Limits [(V1.73.1_Eclipse) (V1.73.1_JavaHelp)] +>> endobj +5726 0 obj << +/Names [(V1.73.1_Manpages) 4740 0 R (V1.73.1_Params) 4767 0 R (V1.73.1_Roundtrip) 4763 0 R (V1.73.2) 4688 0 R (V1.74.0) 3551 0 R (V1.74.0_Common) 3590 0 R] +/Limits [(V1.73.1_Manpages) (V1.74.0_Common)] +>> endobj +5727 0 obj << +/Names [(V1.74.0_Eclipse) 4397 0 R (V1.74.0_Epub) 4333 0 R (V1.74.0_Extensions) 4639 0 R (V1.74.0_FO) 3683 0 R (V1.74.0_Gentext) 3556 0 R (V1.74.0_HTML) 3809 0 R] +/Limits [(V1.74.0_Eclipse) (V1.74.0_HTML)] +>> endobj +5728 0 obj << +/Names [(V1.74.0_HTMLHelp) 4391 0 R (V1.74.0_JavaHelp) 4416 0 R (V1.74.0_Manpages) 3931 0 R (V1.74.0_Params) 4464 0 R (V1.74.0_Profiling) 4602 0 R (V1.74.0_Roundtrip) 4422 0 R] +/Limits [(V1.74.0_HTMLHelp) (V1.74.0_Roundtrip)] +>> endobj +5729 0 obj << +/Names [(V1.74.0_Slides) 4453 0 R (V1.74.0_Tools) 4612 0 R (V1.74.0_Website) 4461 0 R (V1.74.0_XSL-Saxon) 4651 0 R (V1.74.0_XSL-Xalan) 4662 0 R (V1.74.0_XSL-libxslt) 4673 0 R] +/Limits [(V1.74.0_Slides) (V1.74.0_XSL-libxslt)] +>> endobj +5730 0 obj << +/Names [(V1.74.1) 3417 0 R (V1.74.2) 3412 0 R (V1.74.3) 3411 0 R (V1.75.0) 2926 0 R (V1.76.0) 2554 0 R (V1.76.1) 2539 0 R] +/Limits [(V1.74.1) (V1.76.1)] +>> endobj +5731 0 obj << +/Names [(V1.77.0) 1985 0 R (V1560) 5662 0 R (V1570) 5661 0 R (V1580) 5660 0 R (V1591) 5654 0 R (V1592) 5653 0 R] +/Limits [(V1.77.0) (V1592)] +>> endobj +5732 0 obj << +/Names [(V1601) 5618 0 R (V1610) 5613 0 R (V1641) 5612 0 R (V1650) 5603 0 R (V1661) 5594 0 R (V1670) 5588 0 R] +/Limits [(V1601) (V1670)] +>> endobj +5733 0 obj << +/Names [(V1671) 5550 0 R (V1671_EXT) 5555 0 R (V1671_FO) 5551 0 R (V1671_HELP) 5553 0 R (V1671_HTML) 5552 0 R (V1671_MAN) 5554 0 R] +/Limits [(V1671) (V1671_MAN)] +>> endobj +5734 0 obj << +/Names [(V1672) 5549 0 R (V1680) 5539 0 R (V1680_FO) 5540 0 R (V1680_HTML) 5541 0 R (V1680_images) 5542 0 R (V1681) 5534 0 R] +/Limits [(V1672) (V1681)] +>> endobj +5735 0 obj << +/Names [(V1690) 5455 0 R (V1690_COMMON) 5461 0 R (V1690_FO) 5462 0 R (V1690_HELP) 5467 0 R (V1690_HTML) 5468 0 R (V1690_MAN) 5456 0 R] +/Limits [(V1690) (V1690_MAN)] +>> endobj +5736 0 obj << +/Names [(V1691) 5454 0 R (V1700) 5371 0 R (V1700_Common) 5376 0 R (V1700_Extensions) 5381 0 R (V1700_FO) 5382 0 R (V1700_HTML) 5400 0 R] +/Limits [(V1691) (V1700_HTML)] +>> endobj +5737 0 obj << +/Names [(V1700_Manpages) 5413 0 R (V1700_Params) 5427 0 R (V1700_Profiling) 5445 0 R (V1700_Tools) 5446 0 R (V1700_WordML) 5453 0 R (V1701) 5361 0 R] +/Limits [(V1700_Manpages) (V1701)] +>> endobj +5738 0 obj << +/Names [(V1701_FO) 5362 0 R (V1701_HTML) 5368 0 R (V1701_HTMLHelp) 5369 0 R (V1701_Params) 5370 0 R (VOlder) 5667 0 R (VrnV1.77_Common) 2022 0 R] +/Limits [(V1701_FO) (VrnV1.77_Common)] +>> endobj +5739 0 obj << +/Names [(Vsnapshot_9372_Common) 1105 0 R (Vsnapshot_9372_Eclipse) 1544 0 R (Vsnapshot_9372_Epub) 1531 0 R (Vsnapshot_9372_Extensions) 1977 0 R (Vsnapshot_9372_FO) 1137 0 R (Vsnapshot_9372_Gentext) 1062 0 R] +/Limits [(Vsnapshot_9372_Common) (Vsnapshot_9372_Gentext)] +>> endobj +5740 0 obj << +/Names [(Vsnapshot_9372_HTML) 1295 0 R (Vsnapshot_9372_HTMLHelp) 1541 0 R (Vsnapshot_9372_Highlighting) 1942 0 R (Vsnapshot_9372_JavaHelp) 1547 0 R (Vsnapshot_9372_Lib) 1954 0 R (Vsnapshot_9372_Manpages) 1524 0 R] +/Limits [(Vsnapshot_9372_HTML) (Vsnapshot_9372_Manpages)] +>> endobj +5741 0 obj << +/Names [(Vsnapshot_9372_Params) 1849 0 R (Vsnapshot_9372_Profiling) 1951 0 R (Vsnapshot_9372_Roundtrip) 1557 0 R (Vsnapshot_9372_Slides) 1560 0 R (Vsnapshot_9372_Template) 1962 0 R (Vsnapshot_9372_Webhelp) 1566 0 R] +/Limits [(Vsnapshot_9372_Params) (Vsnapshot_9372_Webhelp)] +>> endobj +5742 0 obj << +/Names [(Vsnapshot_9372_Website) 1563 0 R (Vsnapshot_9372_XSL-Saxon) 1982 0 R (cocnt.1) 5489 0 R (cocnt.2) 5494 0 R (cocnt.3) 5496 0 R (cocnt.4) 5498 0 R] +/Limits [(Vsnapshot_9372_Website) (cocnt.4)] +>> endobj +5743 0 obj << +/Names [(cocnt.5) 5500 0 R (cocnt.6) 5502 0 R (current) 1061 0 R (dot0) 1056 0 R (lstlisting.-1) 1064 0 R (lstlisting.-10) 1085 0 R] +/Limits [(cocnt.5) (lstlisting.-10)] +>> endobj +5744 0 obj << +/Names [(lstlisting.-100) 1351 0 R (lstlisting.-1000) 4407 0 R (lstlisting.-1001) 4417 0 R (lstlisting.-1002) 4423 0 R (lstlisting.-1003) 4425 0 R (lstlisting.-1004) 4427 0 R] +/Limits [(lstlisting.-100) (lstlisting.-1004)] +>> endobj +5745 0 obj << +/Names [(lstlisting.-1005) 4429 0 R (lstlisting.-1006) 4431 0 R (lstlisting.-1007) 4433 0 R (lstlisting.-1008) 4435 0 R (lstlisting.-1009) 4437 0 R (lstlisting.-101) 1353 0 R] +/Limits [(lstlisting.-1005) (lstlisting.-101)] +>> endobj +5746 0 obj << +/Names [(lstlisting.-1010) 4439 0 R (lstlisting.-1011) 4441 0 R (lstlisting.-1012) 4447 0 R (lstlisting.-1013) 4449 0 R (lstlisting.-1014) 4451 0 R (lstlisting.-1015) 4454 0 R] +/Limits [(lstlisting.-1010) (lstlisting.-1015)] +>> endobj +5747 0 obj << +/Names [(lstlisting.-1016) 4459 0 R (lstlisting.-1017) 4462 0 R (lstlisting.-1018) 4465 0 R (lstlisting.-1019) 4467 0 R (lstlisting.-102) 1355 0 R (lstlisting.-1020) 4469 0 R] +/Limits [(lstlisting.-1016) (lstlisting.-1020)] +>> endobj +5748 0 obj << +/Names [(lstlisting.-1021) 4471 0 R (lstlisting.-1022) 4477 0 R (lstlisting.-1023) 4480 0 R (lstlisting.-1024) 4501 0 R (lstlisting.-1025) 4505 0 R (lstlisting.-1026) 4508 0 R] +/Limits [(lstlisting.-1021) (lstlisting.-1026)] +>> endobj +5749 0 obj << +/Names [(lstlisting.-1027) 4511 0 R (lstlisting.-1028) 4540 0 R (lstlisting.-1029) 4561 0 R (lstlisting.-103) 1358 0 R (lstlisting.-1030) 4563 0 R (lstlisting.-1031) 4565 0 R] +/Limits [(lstlisting.-1027) (lstlisting.-1031)] +>> endobj +5750 0 obj << +/Names [(lstlisting.-1032) 4569 0 R (lstlisting.-1033) 4572 0 R (lstlisting.-1034) 4575 0 R (lstlisting.-1035) 4581 0 R (lstlisting.-1036) 4583 0 R (lstlisting.-1037) 4585 0 R] +/Limits [(lstlisting.-1032) (lstlisting.-1037)] +>> endobj +5751 0 obj << +/Names [(lstlisting.-1038) 4587 0 R (lstlisting.-1039) 4589 0 R (lstlisting.-104) 1361 0 R (lstlisting.-1040) 4591 0 R (lstlisting.-1041) 4593 0 R (lstlisting.-1042) 4595 0 R] +/Limits [(lstlisting.-1038) (lstlisting.-1042)] +>> endobj +5752 0 obj << +/Names [(lstlisting.-1043) 4597 0 R (lstlisting.-1044) 4599 0 R (lstlisting.-1045) 4603 0 R (lstlisting.-1046) 4605 0 R (lstlisting.-1047) 4613 0 R (lstlisting.-1048) 4616 0 R] +/Limits [(lstlisting.-1043) (lstlisting.-1048)] +>> endobj +5753 0 obj << +/Names [(lstlisting.-1049) 4618 0 R (lstlisting.-105) 1363 0 R (lstlisting.-1050) 4623 0 R (lstlisting.-1051) 4626 0 R (lstlisting.-1052) 4629 0 R (lstlisting.-1053) 4634 0 R] +/Limits [(lstlisting.-1049) (lstlisting.-1053)] +>> endobj +5754 0 obj << +/Names [(lstlisting.-1054) 4640 0 R (lstlisting.-1055) 4642 0 R (lstlisting.-1056) 4645 0 R (lstlisting.-1057) 4652 0 R (lstlisting.-1058) 4655 0 R (lstlisting.-1059) 4658 0 R] +/Limits [(lstlisting.-1054) (lstlisting.-1059)] +>> endobj +5755 0 obj << +/Names [(lstlisting.-106) 1365 0 R (lstlisting.-1060) 4660 0 R (lstlisting.-1061) 4663 0 R (lstlisting.-1062) 4666 0 R (lstlisting.-1063) 4669 0 R (lstlisting.-1064) 4671 0 R] +/Limits [(lstlisting.-106) (lstlisting.-1064)] +>> endobj +5756 0 obj << +/Names [(lstlisting.-1065) 4674 0 R (lstlisting.-1066) 4681 0 R (lstlisting.-1067) 4684 0 R (lstlisting.-1068) 4686 0 R (lstlisting.-1069) 4691 0 R (lstlisting.-107) 1367 0 R] +/Limits [(lstlisting.-1065) (lstlisting.-107)] +>> endobj +5757 0 obj << +/Names [(lstlisting.-1070) 4693 0 R (lstlisting.-1071) 4696 0 R (lstlisting.-1072) 4702 0 R (lstlisting.-1073) 4704 0 R (lstlisting.-1074) 4712 0 R (lstlisting.-1075) 4715 0 R] +/Limits [(lstlisting.-1070) (lstlisting.-1075)] +>> endobj +5758 0 obj << +/Names [(lstlisting.-1076) 4723 0 R (lstlisting.-1077) 4727 0 R (lstlisting.-1078) 4729 0 R (lstlisting.-1079) 4734 0 R (lstlisting.-108) 1369 0 R (lstlisting.-1080) 4737 0 R] +/Limits [(lstlisting.-1076) (lstlisting.-1080)] +>> endobj +5759 0 obj << +/Names [(lstlisting.-1081) 4741 0 R (lstlisting.-1082) 4752 0 R (lstlisting.-1083) 4756 0 R (lstlisting.-1084) 4760 0 R (lstlisting.-1085) 4764 0 R (lstlisting.-1086) 4768 0 R] +/Limits [(lstlisting.-1081) (lstlisting.-1086)] +>> endobj +5760 0 obj << +/Names [(lstlisting.-1087) 4771 0 R (lstlisting.-1088) 4781 0 R (lstlisting.-1089) 4783 0 R (lstlisting.-109) 1371 0 R (lstlisting.-1090) 4785 0 R (lstlisting.-1091) 4787 0 R] +/Limits [(lstlisting.-1087) (lstlisting.-1091)] +>> endobj +5761 0 obj << +/Names [(lstlisting.-1092) 4789 0 R (lstlisting.-1093) 4795 0 R (lstlisting.-1094) 4797 0 R (lstlisting.-1095) 4799 0 R (lstlisting.-1096) 4801 0 R (lstlisting.-1097) 4803 0 R] +/Limits [(lstlisting.-1092) (lstlisting.-1097)] +>> endobj +5762 0 obj << +/Names [(lstlisting.-1098) 4806 0 R (lstlisting.-1099) 4810 0 R (lstlisting.-11) 1087 0 R (lstlisting.-110) 1374 0 R (lstlisting.-1100) 4813 0 R (lstlisting.-1101) 4818 0 R] +/Limits [(lstlisting.-1098) (lstlisting.-1101)] +>> endobj +5763 0 obj << +/Names [(lstlisting.-1102) 4820 0 R (lstlisting.-1103) 4827 0 R (lstlisting.-1104) 4835 0 R (lstlisting.-1105) 4837 0 R (lstlisting.-1106) 4840 0 R (lstlisting.-1107) 4842 0 R] +/Limits [(lstlisting.-1102) (lstlisting.-1107)] +>> endobj +5764 0 obj << +/Names [(lstlisting.-1108) 4844 0 R (lstlisting.-1109) 4846 0 R (lstlisting.-111) 1376 0 R (lstlisting.-1110) 4848 0 R (lstlisting.-1111) 4850 0 R (lstlisting.-1112) 4852 0 R] +/Limits [(lstlisting.-1108) (lstlisting.-1112)] +>> endobj +5765 0 obj << +/Names [(lstlisting.-1113) 4854 0 R (lstlisting.-1114) 4856 0 R (lstlisting.-1115) 4858 0 R (lstlisting.-1116) 4867 0 R (lstlisting.-1117) 4870 0 R (lstlisting.-1118) 4873 0 R] +/Limits [(lstlisting.-1113) (lstlisting.-1118)] +>> endobj +5766 0 obj << +/Names [(lstlisting.-1119) 4876 0 R (lstlisting.-112) 1382 0 R (lstlisting.-1120) 4879 0 R (lstlisting.-1121) 4881 0 R (lstlisting.-1122) 4883 0 R (lstlisting.-1123) 4885 0 R] +/Limits [(lstlisting.-1119) (lstlisting.-1123)] +>> endobj +5767 0 obj << +/Names [(lstlisting.-1124) 4889 0 R (lstlisting.-1125) 4891 0 R (lstlisting.-1126) 4894 0 R (lstlisting.-1127) 4901 0 R (lstlisting.-1128) 4908 0 R (lstlisting.-1129) 4911 0 R] +/Limits [(lstlisting.-1124) (lstlisting.-1129)] +>> endobj +5768 0 obj << +/Names [(lstlisting.-113) 1384 0 R (lstlisting.-1130) 4914 0 R (lstlisting.-1131) 4917 0 R (lstlisting.-1132) 4920 0 R (lstlisting.-1133) 4926 0 R (lstlisting.-1134) 4936 0 R] +/Limits [(lstlisting.-113) (lstlisting.-1134)] +>> endobj +5769 0 obj << +/Names [(lstlisting.-1135) 4939 0 R (lstlisting.-1136) 4951 0 R (lstlisting.-1137) 4953 0 R (lstlisting.-1138) 4955 0 R (lstlisting.-1139) 4957 0 R (lstlisting.-114) 1387 0 R] +/Limits [(lstlisting.-1135) (lstlisting.-114)] +>> endobj +5770 0 obj << +/Names [(lstlisting.-1140) 4959 0 R (lstlisting.-1141) 4961 0 R (lstlisting.-1142) 4963 0 R (lstlisting.-1143) 4965 0 R (lstlisting.-1144) 4967 0 R (lstlisting.-1145) 4972 0 R] +/Limits [(lstlisting.-1140) (lstlisting.-1145)] +>> endobj +5771 0 obj << +/Names [(lstlisting.-1146) 4974 0 R (lstlisting.-1147) 4976 0 R (lstlisting.-1148) 4984 0 R (lstlisting.-1149) 4987 0 R (lstlisting.-115) 1389 0 R (lstlisting.-1150) 4993 0 R] +/Limits [(lstlisting.-1146) (lstlisting.-1150)] +>> endobj +5772 0 obj << +/Names [(lstlisting.-1151) 4999 0 R (lstlisting.-1152) 5005 0 R (lstlisting.-1153) 5008 0 R (lstlisting.-1154) 5012 0 R (lstlisting.-1155) 5015 0 R (lstlisting.-1156) 5045 0 R] +/Limits [(lstlisting.-1151) (lstlisting.-1156)] +>> endobj +5773 0 obj << +/Names [(lstlisting.-1157) 5049 0 R (lstlisting.-1158) 5052 0 R (lstlisting.-1159) 5068 0 R (lstlisting.-116) 1392 0 R (lstlisting.-1160) 5071 0 R (lstlisting.-1161) 5097 0 R] +/Limits [(lstlisting.-1157) (lstlisting.-1161)] +>> endobj +5774 0 obj << +/Names [(lstlisting.-1162) 5100 0 R (lstlisting.-1163) 5107 0 R (lstlisting.-1164) 5147 0 R (lstlisting.-1165) 5149 0 R (lstlisting.-1166) 5152 0 R (lstlisting.-1167) 5154 0 R] +/Limits [(lstlisting.-1162) (lstlisting.-1167)] +>> endobj +5775 0 obj << +/Names [(lstlisting.-1168) 5158 0 R (lstlisting.-1169) 5160 0 R (lstlisting.-117) 1394 0 R (lstlisting.-1170) 5163 0 R (lstlisting.-1171) 5165 0 R (lstlisting.-1172) 5171 0 R] +/Limits [(lstlisting.-1168) (lstlisting.-1172)] +>> endobj +5776 0 obj << +/Names [(lstlisting.-1173) 5174 0 R (lstlisting.-1174) 5176 0 R (lstlisting.-1175) 5178 0 R (lstlisting.-1176) 5181 0 R (lstlisting.-1177) 5185 0 R (lstlisting.-1178) 5187 0 R] +/Limits [(lstlisting.-1173) (lstlisting.-1178)] +>> endobj +5777 0 obj << +/Names [(lstlisting.-1179) 5193 0 R (lstlisting.-118) 1397 0 R (lstlisting.-1180) 5198 0 R (lstlisting.-1181) 5200 0 R (lstlisting.-1182) 5202 0 R (lstlisting.-1183) 5204 0 R] +/Limits [(lstlisting.-1179) (lstlisting.-1183)] +>> endobj +5778 0 obj << +/Names [(lstlisting.-1184) 5211 0 R (lstlisting.-1185) 5213 0 R (lstlisting.-1186) 5215 0 R (lstlisting.-1187) 5217 0 R (lstlisting.-1188) 5220 0 R (lstlisting.-1189) 5222 0 R] +/Limits [(lstlisting.-1184) (lstlisting.-1189)] +>> endobj +5779 0 obj << +/Names [(lstlisting.-119) 1399 0 R (lstlisting.-1190) 5224 0 R (lstlisting.-1191) 5226 0 R (lstlisting.-1192) 5230 0 R (lstlisting.-1193) 5233 0 R (lstlisting.-1194) 5236 0 R] +/Limits [(lstlisting.-119) (lstlisting.-1194)] +>> endobj +5780 0 obj << +/Names [(lstlisting.-1195) 5243 0 R (lstlisting.-1196) 5247 0 R (lstlisting.-1197) 5253 0 R (lstlisting.-1198) 5256 0 R (lstlisting.-1199) 5261 0 R (lstlisting.-12) 1089 0 R] +/Limits [(lstlisting.-1195) (lstlisting.-12)] +>> endobj +5781 0 obj << +/Names [(lstlisting.-120) 1401 0 R (lstlisting.-1200) 5264 0 R (lstlisting.-1201) 5274 0 R (lstlisting.-1202) 5277 0 R (lstlisting.-1203) 5282 0 R (lstlisting.-1204) 5485 0 R] +/Limits [(lstlisting.-120) (lstlisting.-1204)] +>> endobj +5782 0 obj << +/Names [(lstlisting.-1205) 5562 0 R (lstlisting.-1206) 5572 0 R (lstlisting.-1207) 5577 0 R (lstlisting.-1208) 5604 0 R (lstlisting.-1209) 5619 0 R (lstlisting.-121) 1404 0 R] +/Limits [(lstlisting.-1205) (lstlisting.-121)] +>> endobj +5783 0 obj << +/Names [(lstlisting.-1210) 5621 0 R (lstlisting.-1211) 5627 0 R (lstlisting.-1212) 5635 0 R (lstlisting.-1213) 5643 0 R (lstlisting.-122) 1406 0 R (lstlisting.-123) 1409 0 R] +/Limits [(lstlisting.-1210) (lstlisting.-123)] +>> endobj +5784 0 obj << +/Names [(lstlisting.-124) 1412 0 R (lstlisting.-125) 1419 0 R (lstlisting.-126) 1421 0 R (lstlisting.-127) 1425 0 R (lstlisting.-128) 1428 0 R (lstlisting.-129) 1431 0 R] +/Limits [(lstlisting.-124) (lstlisting.-129)] +>> endobj +5785 0 obj << +/Names [(lstlisting.-13) 1095 0 R (lstlisting.-130) 1434 0 R (lstlisting.-131) 1442 0 R (lstlisting.-132) 1446 0 R (lstlisting.-133) 1448 0 R (lstlisting.-134) 1450 0 R] +/Limits [(lstlisting.-13) (lstlisting.-134)] +>> endobj +5786 0 obj << +/Names [(lstlisting.-135) 1452 0 R (lstlisting.-136) 1460 0 R (lstlisting.-137) 1466 0 R (lstlisting.-138) 1469 0 R (lstlisting.-139) 1472 0 R (lstlisting.-14) 1097 0 R] +/Limits [(lstlisting.-135) (lstlisting.-14)] +>> endobj +5787 0 obj << +/Names [(lstlisting.-140) 1475 0 R (lstlisting.-141) 1477 0 R (lstlisting.-142) 1481 0 R (lstlisting.-143) 1484 0 R (lstlisting.-144) 1486 0 R (lstlisting.-145) 1489 0 R] +/Limits [(lstlisting.-140) (lstlisting.-145)] +>> endobj +5788 0 obj << +/Names [(lstlisting.-146) 1492 0 R (lstlisting.-147) 1498 0 R (lstlisting.-148) 1504 0 R (lstlisting.-149) 1507 0 R (lstlisting.-15) 1106 0 R (lstlisting.-150) 1511 0 R] +/Limits [(lstlisting.-146) (lstlisting.-150)] +>> endobj +5789 0 obj << +/Names [(lstlisting.-151) 1514 0 R (lstlisting.-152) 1516 0 R (lstlisting.-153) 1518 0 R (lstlisting.-154) 1521 0 R (lstlisting.-155) 1525 0 R (lstlisting.-156) 1532 0 R] +/Limits [(lstlisting.-151) (lstlisting.-156)] +>> endobj +5790 0 obj << +/Names [(lstlisting.-157) 1534 0 R (lstlisting.-158) 1537 0 R (lstlisting.-159) 1539 0 R (lstlisting.-16) 1109 0 R (lstlisting.-160) 1542 0 R (lstlisting.-161) 1545 0 R] +/Limits [(lstlisting.-157) (lstlisting.-161)] +>> endobj +5791 0 obj << +/Names [(lstlisting.-162) 1548 0 R (lstlisting.-163) 1550 0 R (lstlisting.-164) 1558 0 R (lstlisting.-165) 1561 0 R (lstlisting.-166) 1564 0 R (lstlisting.-167) 1567 0 R] +/Limits [(lstlisting.-162) (lstlisting.-167)] +>> endobj +5792 0 obj << +/Names [(lstlisting.-168) 1569 0 R (lstlisting.-169) 1571 0 R (lstlisting.-17) 1111 0 R (lstlisting.-170) 1573 0 R (lstlisting.-171) 1575 0 R (lstlisting.-172) 1577 0 R] +/Limits [(lstlisting.-168) (lstlisting.-172)] +>> endobj +5793 0 obj << +/Names [(lstlisting.-173) 1583 0 R (lstlisting.-174) 1585 0 R (lstlisting.-175) 1587 0 R (lstlisting.-176) 1589 0 R (lstlisting.-177) 1591 0 R (lstlisting.-178) 1593 0 R] +/Limits [(lstlisting.-173) (lstlisting.-178)] +>> endobj +5794 0 obj << +/Names [(lstlisting.-179) 1595 0 R (lstlisting.-18) 1113 0 R (lstlisting.-180) 1597 0 R (lstlisting.-181) 1599 0 R (lstlisting.-182) 1603 0 R (lstlisting.-183) 1605 0 R] +/Limits [(lstlisting.-179) (lstlisting.-183)] +>> endobj +5795 0 obj << +/Names [(lstlisting.-184) 1607 0 R (lstlisting.-185) 1609 0 R (lstlisting.-186) 1615 0 R (lstlisting.-187) 1617 0 R (lstlisting.-188) 1619 0 R (lstlisting.-189) 1621 0 R] +/Limits [(lstlisting.-184) (lstlisting.-189)] +>> endobj +5796 0 obj << +/Names [(lstlisting.-19) 1115 0 R (lstlisting.-190) 1628 0 R (lstlisting.-191) 1632 0 R (lstlisting.-192) 1634 0 R (lstlisting.-193) 1636 0 R (lstlisting.-194) 1639 0 R] +/Limits [(lstlisting.-19) (lstlisting.-194)] +>> endobj +5797 0 obj << +/Names [(lstlisting.-195) 1641 0 R (lstlisting.-196) 1643 0 R (lstlisting.-197) 1645 0 R (lstlisting.-198) 1647 0 R (lstlisting.-199) 1654 0 R (lstlisting.-2) 1066 0 R] +/Limits [(lstlisting.-195) (lstlisting.-2)] +>> endobj +5798 0 obj << +/Names [(lstlisting.-20) 1117 0 R (lstlisting.-200) 1656 0 R (lstlisting.-201) 1658 0 R (lstlisting.-202) 1660 0 R (lstlisting.-203) 1662 0 R (lstlisting.-204) 1664 0 R] +/Limits [(lstlisting.-20) (lstlisting.-204)] +>> endobj +5799 0 obj << +/Names [(lstlisting.-205) 1666 0 R (lstlisting.-206) 1668 0 R (lstlisting.-207) 1670 0 R (lstlisting.-208) 1672 0 R (lstlisting.-209) 1674 0 R (lstlisting.-21) 1119 0 R] +/Limits [(lstlisting.-205) (lstlisting.-21)] +>> endobj +5800 0 obj << +/Names [(lstlisting.-210) 1676 0 R (lstlisting.-211) 1678 0 R (lstlisting.-212) 1680 0 R (lstlisting.-213) 1682 0 R (lstlisting.-214) 1688 0 R (lstlisting.-215) 1690 0 R] +/Limits [(lstlisting.-210) (lstlisting.-215)] +>> endobj +5801 0 obj << +/Names [(lstlisting.-216) 1692 0 R (lstlisting.-217) 1694 0 R (lstlisting.-218) 1696 0 R (lstlisting.-219) 1698 0 R (lstlisting.-22) 1121 0 R (lstlisting.-220) 1700 0 R] +/Limits [(lstlisting.-216) (lstlisting.-220)] +>> endobj +5802 0 obj << +/Names [(lstlisting.-221) 1702 0 R (lstlisting.-222) 1704 0 R (lstlisting.-223) 1706 0 R (lstlisting.-224) 1709 0 R (lstlisting.-225) 1711 0 R (lstlisting.-226) 1713 0 R] +/Limits [(lstlisting.-221) (lstlisting.-226)] +>> endobj +5803 0 obj << +/Names [(lstlisting.-227) 1719 0 R (lstlisting.-228) 1721 0 R (lstlisting.-229) 1723 0 R (lstlisting.-23) 1126 0 R (lstlisting.-230) 1725 0 R (lstlisting.-231) 1727 0 R] +/Limits [(lstlisting.-227) (lstlisting.-231)] +>> endobj +5804 0 obj << +/Names [(lstlisting.-232) 1729 0 R (lstlisting.-233) 1731 0 R (lstlisting.-234) 1733 0 R (lstlisting.-235) 1735 0 R (lstlisting.-236) 1737 0 R (lstlisting.-237) 1739 0 R] +/Limits [(lstlisting.-232) (lstlisting.-237)] +>> endobj +5805 0 obj << +/Names [(lstlisting.-238) 1741 0 R (lstlisting.-239) 1743 0 R (lstlisting.-24) 1132 0 R (lstlisting.-240) 1749 0 R (lstlisting.-241) 1751 0 R (lstlisting.-242) 1753 0 R] +/Limits [(lstlisting.-238) (lstlisting.-242)] +>> endobj +5806 0 obj << +/Names [(lstlisting.-243) 1755 0 R (lstlisting.-244) 1757 0 R (lstlisting.-245) 1759 0 R (lstlisting.-246) 1761 0 R (lstlisting.-247) 1763 0 R (lstlisting.-248) 1765 0 R] +/Limits [(lstlisting.-243) (lstlisting.-248)] +>> endobj +5807 0 obj << +/Names [(lstlisting.-249) 1767 0 R (lstlisting.-25) 1134 0 R (lstlisting.-250) 1769 0 R (lstlisting.-251) 1771 0 R (lstlisting.-252) 1773 0 R (lstlisting.-253) 1775 0 R] +/Limits [(lstlisting.-249) (lstlisting.-253)] +>> endobj +5808 0 obj << +/Names [(lstlisting.-254) 1782 0 R (lstlisting.-255) 1784 0 R (lstlisting.-256) 1791 0 R (lstlisting.-257) 1793 0 R (lstlisting.-258) 1795 0 R (lstlisting.-259) 1797 0 R] +/Limits [(lstlisting.-254) (lstlisting.-259)] +>> endobj +5809 0 obj << +/Names [(lstlisting.-26) 1138 0 R (lstlisting.-260) 1799 0 R (lstlisting.-261) 1801 0 R (lstlisting.-262) 1803 0 R (lstlisting.-263) 1805 0 R (lstlisting.-264) 1807 0 R] +/Limits [(lstlisting.-26) (lstlisting.-264)] +>> endobj +5810 0 obj << +/Names [(lstlisting.-265) 1809 0 R (lstlisting.-266) 1811 0 R (lstlisting.-267) 1817 0 R (lstlisting.-268) 1819 0 R (lstlisting.-269) 1821 0 R (lstlisting.-27) 1140 0 R] +/Limits [(lstlisting.-265) (lstlisting.-27)] +>> endobj +5811 0 obj << +/Names [(lstlisting.-270) 1823 0 R (lstlisting.-271) 1825 0 R (lstlisting.-272) 1828 0 R (lstlisting.-273) 1830 0 R (lstlisting.-274) 1832 0 R (lstlisting.-275) 1835 0 R] +/Limits [(lstlisting.-270) (lstlisting.-275)] +>> endobj +5812 0 obj << +/Names [(lstlisting.-276) 1837 0 R (lstlisting.-277) 1841 0 R (lstlisting.-278) 1850 0 R (lstlisting.-279) 1852 0 R (lstlisting.-28) 1142 0 R (lstlisting.-280) 1854 0 R] +/Limits [(lstlisting.-276) (lstlisting.-280)] +>> endobj +5813 0 obj << +/Names [(lstlisting.-281) 1856 0 R (lstlisting.-282) 1858 0 R (lstlisting.-283) 1860 0 R (lstlisting.-284) 1862 0 R (lstlisting.-285) 1864 0 R (lstlisting.-286) 1866 0 R] +/Limits [(lstlisting.-281) (lstlisting.-286)] +>> endobj +5814 0 obj << +/Names [(lstlisting.-287) 1873 0 R (lstlisting.-288) 1875 0 R (lstlisting.-289) 1877 0 R (lstlisting.-29) 1144 0 R (lstlisting.-290) 1883 0 R (lstlisting.-291) 1885 0 R] +/Limits [(lstlisting.-287) (lstlisting.-291)] +>> endobj +5815 0 obj << +/Names [(lstlisting.-292) 1887 0 R (lstlisting.-293) 1889 0 R (lstlisting.-294) 1891 0 R (lstlisting.-295) 1893 0 R (lstlisting.-296) 1895 0 R (lstlisting.-297) 1897 0 R] +/Limits [(lstlisting.-292) (lstlisting.-297)] +>> endobj +5816 0 obj << +/Names [(lstlisting.-298) 1899 0 R (lstlisting.-299) 1901 0 R (lstlisting.-3) 1068 0 R (lstlisting.-30) 1146 0 R (lstlisting.-300) 1903 0 R (lstlisting.-301) 1905 0 R] +/Limits [(lstlisting.-298) (lstlisting.-301)] +>> endobj +5817 0 obj << +/Names [(lstlisting.-302) 1907 0 R (lstlisting.-303) 1910 0 R (lstlisting.-304) 1917 0 R (lstlisting.-305) 1919 0 R (lstlisting.-306) 1921 0 R (lstlisting.-307) 1923 0 R] +/Limits [(lstlisting.-302) (lstlisting.-307)] +>> endobj +5818 0 obj << +/Names [(lstlisting.-308) 1925 0 R (lstlisting.-309) 1928 0 R (lstlisting.-31) 1148 0 R (lstlisting.-310) 1930 0 R (lstlisting.-311) 1932 0 R (lstlisting.-312) 1934 0 R] +/Limits [(lstlisting.-308) (lstlisting.-312)] +>> endobj +5819 0 obj << +/Names [(lstlisting.-313) 1936 0 R (lstlisting.-314) 1938 0 R (lstlisting.-315) 1940 0 R (lstlisting.-316) 1943 0 R (lstlisting.-317) 1945 0 R (lstlisting.-318) 1952 0 R] +/Limits [(lstlisting.-313) (lstlisting.-318)] +>> endobj +5820 0 obj << +/Names [(lstlisting.-319) 1955 0 R (lstlisting.-32) 1150 0 R (lstlisting.-320) 1959 0 R (lstlisting.-321) 1963 0 R (lstlisting.-322) 1965 0 R (lstlisting.-323) 1967 0 R] +/Limits [(lstlisting.-319) (lstlisting.-323)] +>> endobj +5821 0 obj << +/Names [(lstlisting.-324) 1969 0 R (lstlisting.-325) 1971 0 R (lstlisting.-326) 1978 0 R (lstlisting.-327) 1980 0 R (lstlisting.-328) 1983 0 R (lstlisting.-329) 1996 0 R] +/Limits [(lstlisting.-324) (lstlisting.-329)] +>> endobj +5822 0 obj << +/Names [(lstlisting.-33) 1152 0 R (lstlisting.-330) 1998 0 R (lstlisting.-331) 2000 0 R (lstlisting.-332) 2002 0 R (lstlisting.-333) 2004 0 R (lstlisting.-334) 2006 0 R] +/Limits [(lstlisting.-33) (lstlisting.-334)] +>> endobj +5823 0 obj << +/Names [(lstlisting.-335) 2008 0 R (lstlisting.-336) 2010 0 R (lstlisting.-337) 2012 0 R (lstlisting.-338) 2016 0 R (lstlisting.-339) 2023 0 R (lstlisting.-34) 1154 0 R] +/Limits [(lstlisting.-335) (lstlisting.-34)] +>> endobj +5824 0 obj << +/Names [(lstlisting.-340) 2026 0 R (lstlisting.-341) 2028 0 R (lstlisting.-342) 2030 0 R (lstlisting.-343) 2032 0 R (lstlisting.-344) 2034 0 R (lstlisting.-345) 2039 0 R] +/Limits [(lstlisting.-340) (lstlisting.-345)] +>> endobj +5825 0 obj << +/Names [(lstlisting.-346) 2043 0 R (lstlisting.-347) 2045 0 R (lstlisting.-348) 2047 0 R (lstlisting.-349) 2049 0 R (lstlisting.-35) 1156 0 R (lstlisting.-350) 2055 0 R] +/Limits [(lstlisting.-346) (lstlisting.-350)] +>> endobj +5826 0 obj << +/Names [(lstlisting.-351) 2057 0 R (lstlisting.-352) 2061 0 R (lstlisting.-353) 2063 0 R (lstlisting.-354) 2068 0 R (lstlisting.-355) 2070 0 R (lstlisting.-356) 2072 0 R] +/Limits [(lstlisting.-351) (lstlisting.-356)] +>> endobj +5827 0 obj << +/Names [(lstlisting.-357) 2077 0 R (lstlisting.-358) 2079 0 R (lstlisting.-359) 2082 0 R (lstlisting.-36) 1158 0 R (lstlisting.-360) 2085 0 R (lstlisting.-361) 2088 0 R] +/Limits [(lstlisting.-357) (lstlisting.-361)] +>> endobj +5828 0 obj << +/Names [(lstlisting.-362) 2095 0 R (lstlisting.-363) 2097 0 R (lstlisting.-364) 2100 0 R (lstlisting.-365) 2102 0 R (lstlisting.-366) 2104 0 R (lstlisting.-367) 2108 0 R] +/Limits [(lstlisting.-362) (lstlisting.-367)] +>> endobj +5829 0 obj << +/Names [(lstlisting.-368) 2110 0 R (lstlisting.-369) 2112 0 R (lstlisting.-37) 1164 0 R (lstlisting.-370) 2114 0 R (lstlisting.-371) 2116 0 R (lstlisting.-372) 2119 0 R] +/Limits [(lstlisting.-368) (lstlisting.-372)] +>> endobj +5830 0 obj << +/Names [(lstlisting.-373) 2125 0 R (lstlisting.-374) 2130 0 R (lstlisting.-375) 2132 0 R (lstlisting.-376) 2134 0 R (lstlisting.-377) 2137 0 R (lstlisting.-378) 2140 0 R] +/Limits [(lstlisting.-373) (lstlisting.-378)] +>> endobj +5831 0 obj << +/Names [(lstlisting.-379) 2142 0 R (lstlisting.-38) 1167 0 R (lstlisting.-380) 2144 0 R (lstlisting.-381) 2147 0 R (lstlisting.-382) 2149 0 R (lstlisting.-383) 2152 0 R] +/Limits [(lstlisting.-379) (lstlisting.-383)] +>> endobj +5832 0 obj << +/Names [(lstlisting.-384) 2155 0 R (lstlisting.-385) 2163 0 R (lstlisting.-386) 2171 0 R (lstlisting.-387) 2175 0 R (lstlisting.-388) 2181 0 R (lstlisting.-389) 2184 0 R] +/Limits [(lstlisting.-384) (lstlisting.-389)] +>> endobj +5833 0 obj << +/Names [(lstlisting.-39) 1171 0 R (lstlisting.-390) 2186 0 R (lstlisting.-391) 2189 0 R (lstlisting.-392) 2191 0 R (lstlisting.-393) 2195 0 R (lstlisting.-394) 2197 0 R] +/Limits [(lstlisting.-39) (lstlisting.-394)] +>> endobj +5834 0 obj << +/Names [(lstlisting.-395) 2206 0 R (lstlisting.-396) 2209 0 R (lstlisting.-397) 2212 0 R (lstlisting.-398) 2215 0 R (lstlisting.-399) 2217 0 R (lstlisting.-4) 1070 0 R] +/Limits [(lstlisting.-395) (lstlisting.-4)] +>> endobj +5835 0 obj << +/Names [(lstlisting.-40) 1175 0 R (lstlisting.-400) 2221 0 R (lstlisting.-401) 2223 0 R (lstlisting.-402) 2229 0 R (lstlisting.-403) 2231 0 R (lstlisting.-404) 2233 0 R] +/Limits [(lstlisting.-40) (lstlisting.-404)] +>> endobj +5836 0 obj << +/Names [(lstlisting.-405) 2235 0 R (lstlisting.-406) 2237 0 R (lstlisting.-407) 2239 0 R (lstlisting.-408) 2241 0 R (lstlisting.-409) 2243 0 R (lstlisting.-41) 1177 0 R] +/Limits [(lstlisting.-405) (lstlisting.-41)] +>> endobj +5837 0 obj << +/Names [(lstlisting.-410) 2245 0 R (lstlisting.-411) 2247 0 R (lstlisting.-412) 2249 0 R (lstlisting.-413) 2251 0 R (lstlisting.-414) 2253 0 R (lstlisting.-415) 2257 0 R] +/Limits [(lstlisting.-410) (lstlisting.-415)] +>> endobj +5838 0 obj << +/Names [(lstlisting.-416) 2263 0 R (lstlisting.-417) 2265 0 R (lstlisting.-418) 2272 0 R (lstlisting.-419) 2276 0 R (lstlisting.-42) 1179 0 R (lstlisting.-420) 2278 0 R] +/Limits [(lstlisting.-416) (lstlisting.-420)] +>> endobj +5839 0 obj << +/Names [(lstlisting.-421) 2281 0 R (lstlisting.-422) 2283 0 R (lstlisting.-423) 2285 0 R (lstlisting.-424) 2287 0 R (lstlisting.-425) 2289 0 R (lstlisting.-426) 2291 0 R] +/Limits [(lstlisting.-421) (lstlisting.-426)] +>> endobj +5840 0 obj << +/Names [(lstlisting.-427) 2293 0 R (lstlisting.-428) 2295 0 R (lstlisting.-429) 2301 0 R (lstlisting.-43) 1181 0 R (lstlisting.-430) 2303 0 R (lstlisting.-431) 2305 0 R] +/Limits [(lstlisting.-427) (lstlisting.-431)] +>> endobj +5841 0 obj << +/Names [(lstlisting.-432) 2307 0 R (lstlisting.-433) 2309 0 R (lstlisting.-434) 2311 0 R (lstlisting.-435) 2313 0 R (lstlisting.-436) 2315 0 R (lstlisting.-437) 2317 0 R] +/Limits [(lstlisting.-432) (lstlisting.-437)] +>> endobj +5842 0 obj << +/Names [(lstlisting.-438) 2319 0 R (lstlisting.-439) 2321 0 R (lstlisting.-44) 1186 0 R (lstlisting.-440) 2323 0 R (lstlisting.-441) 2325 0 R (lstlisting.-442) 2327 0 R] +/Limits [(lstlisting.-438) (lstlisting.-442)] +>> endobj +5843 0 obj << +/Names [(lstlisting.-443) 2334 0 R (lstlisting.-444) 2336 0 R (lstlisting.-445) 2338 0 R (lstlisting.-446) 2340 0 R (lstlisting.-447) 2342 0 R (lstlisting.-448) 2344 0 R] +/Limits [(lstlisting.-443) (lstlisting.-448)] +>> endobj +5844 0 obj << +/Names [(lstlisting.-449) 2346 0 R (lstlisting.-45) 1188 0 R (lstlisting.-450) 2348 0 R (lstlisting.-451) 2350 0 R (lstlisting.-452) 2352 0 R (lstlisting.-453) 2354 0 R] +/Limits [(lstlisting.-449) (lstlisting.-453)] +>> endobj +5845 0 obj << +/Names [(lstlisting.-454) 2356 0 R (lstlisting.-455) 2358 0 R (lstlisting.-456) 2364 0 R (lstlisting.-457) 2366 0 R (lstlisting.-458) 2368 0 R (lstlisting.-459) 2370 0 R] +/Limits [(lstlisting.-454) (lstlisting.-459)] +>> endobj +5846 0 obj << +/Names [(lstlisting.-46) 1190 0 R (lstlisting.-460) 2372 0 R (lstlisting.-461) 2374 0 R (lstlisting.-462) 2376 0 R (lstlisting.-463) 2378 0 R (lstlisting.-464) 2380 0 R] +/Limits [(lstlisting.-46) (lstlisting.-464)] +>> endobj +5847 0 obj << +/Names [(lstlisting.-465) 2382 0 R (lstlisting.-466) 2384 0 R (lstlisting.-467) 2386 0 R (lstlisting.-468) 2388 0 R (lstlisting.-469) 2391 0 R (lstlisting.-47) 1192 0 R] +/Limits [(lstlisting.-465) (lstlisting.-47)] +>> endobj +5848 0 obj << +/Names [(lstlisting.-470) 2398 0 R (lstlisting.-471) 2405 0 R (lstlisting.-472) 2407 0 R (lstlisting.-473) 2409 0 R (lstlisting.-474) 2411 0 R (lstlisting.-475) 2413 0 R] +/Limits [(lstlisting.-470) (lstlisting.-475)] +>> endobj +5849 0 obj << +/Names [(lstlisting.-476) 2415 0 R (lstlisting.-477) 2417 0 R (lstlisting.-478) 2419 0 R (lstlisting.-479) 2421 0 R (lstlisting.-48) 1194 0 R (lstlisting.-480) 2423 0 R] +/Limits [(lstlisting.-476) (lstlisting.-480)] +>> endobj +5850 0 obj << +/Names [(lstlisting.-481) 2425 0 R (lstlisting.-482) 2427 0 R (lstlisting.-483) 2433 0 R (lstlisting.-484) 2435 0 R (lstlisting.-485) 2437 0 R (lstlisting.-486) 2439 0 R] +/Limits [(lstlisting.-481) (lstlisting.-486)] +>> endobj +5851 0 obj << +/Names [(lstlisting.-487) 2442 0 R (lstlisting.-488) 2444 0 R (lstlisting.-489) 2446 0 R (lstlisting.-49) 1203 0 R (lstlisting.-490) 2449 0 R (lstlisting.-491) 2451 0 R] +/Limits [(lstlisting.-487) (lstlisting.-491)] +>> endobj +5852 0 obj << +/Names [(lstlisting.-492) 2455 0 R (lstlisting.-493) 2459 0 R (lstlisting.-494) 2465 0 R (lstlisting.-495) 2467 0 R (lstlisting.-496) 2469 0 R (lstlisting.-497) 2471 0 R] +/Limits [(lstlisting.-492) (lstlisting.-497)] +>> endobj +5853 0 obj << +/Names [(lstlisting.-498) 2478 0 R (lstlisting.-499) 2480 0 R (lstlisting.-5) 1072 0 R (lstlisting.-50) 1206 0 R (lstlisting.-500) 2482 0 R (lstlisting.-501) 2484 0 R] +/Limits [(lstlisting.-498) (lstlisting.-501)] +>> endobj +5854 0 obj << +/Names [(lstlisting.-502) 2486 0 R (lstlisting.-503) 2488 0 R (lstlisting.-504) 2491 0 R (lstlisting.-505) 2494 0 R (lstlisting.-506) 2496 0 R (lstlisting.-507) 2502 0 R] +/Limits [(lstlisting.-502) (lstlisting.-507)] +>> endobj +5855 0 obj << +/Names [(lstlisting.-508) 2504 0 R (lstlisting.-509) 2506 0 R (lstlisting.-51) 1208 0 R (lstlisting.-510) 2509 0 R (lstlisting.-511) 2511 0 R (lstlisting.-512) 2514 0 R] +/Limits [(lstlisting.-508) (lstlisting.-512)] +>> endobj +5856 0 obj << +/Names [(lstlisting.-513) 2517 0 R (lstlisting.-514) 2521 0 R (lstlisting.-515) 2525 0 R (lstlisting.-516) 2532 0 R (lstlisting.-517) 2534 0 R (lstlisting.-518) 2537 0 R] +/Limits [(lstlisting.-513) (lstlisting.-518)] +>> endobj +5857 0 obj << +/Names [(lstlisting.-519) 2541 0 R (lstlisting.-52) 1211 0 R (lstlisting.-520) 2545 0 R (lstlisting.-521) 2548 0 R (lstlisting.-522) 2557 0 R (lstlisting.-523) 2559 0 R] +/Limits [(lstlisting.-519) (lstlisting.-523)] +>> endobj +5858 0 obj << +/Names [(lstlisting.-524) 2561 0 R (lstlisting.-525) 2563 0 R (lstlisting.-526) 2565 0 R (lstlisting.-527) 2567 0 R (lstlisting.-528) 2569 0 R (lstlisting.-529) 2571 0 R] +/Limits [(lstlisting.-524) (lstlisting.-529)] +>> endobj +5859 0 obj << +/Names [(lstlisting.-53) 1214 0 R (lstlisting.-530) 2579 0 R (lstlisting.-531) 2581 0 R (lstlisting.-532) 2583 0 R (lstlisting.-533) 2585 0 R (lstlisting.-534) 2588 0 R] +/Limits [(lstlisting.-53) (lstlisting.-534)] +>> endobj +5860 0 obj << +/Names [(lstlisting.-535) 2590 0 R (lstlisting.-536) 2592 0 R (lstlisting.-537) 2594 0 R (lstlisting.-538) 2596 0 R (lstlisting.-539) 2598 0 R (lstlisting.-54) 1216 0 R] +/Limits [(lstlisting.-535) (lstlisting.-54)] +>> endobj +5861 0 obj << +/Names [(lstlisting.-540) 2601 0 R (lstlisting.-541) 2608 0 R (lstlisting.-542) 2610 0 R (lstlisting.-543) 2613 0 R (lstlisting.-544) 2616 0 R (lstlisting.-545) 2619 0 R] +/Limits [(lstlisting.-540) (lstlisting.-545)] +>> endobj +5862 0 obj << +/Names [(lstlisting.-546) 2623 0 R (lstlisting.-547) 2625 0 R (lstlisting.-548) 2628 0 R (lstlisting.-549) 2630 0 R (lstlisting.-55) 1219 0 R (lstlisting.-550) 2632 0 R] +/Limits [(lstlisting.-546) (lstlisting.-550)] +>> endobj +5863 0 obj << +/Names [(lstlisting.-551) 2634 0 R (lstlisting.-552) 2636 0 R (lstlisting.-553) 2642 0 R (lstlisting.-554) 2644 0 R (lstlisting.-555) 2646 0 R (lstlisting.-556) 2650 0 R] +/Limits [(lstlisting.-551) (lstlisting.-556)] +>> endobj +5864 0 obj << +/Names [(lstlisting.-557) 2652 0 R (lstlisting.-558) 2654 0 R (lstlisting.-559) 2657 0 R (lstlisting.-56) 1221 0 R (lstlisting.-560) 2659 0 R (lstlisting.-561) 2663 0 R] +/Limits [(lstlisting.-557) (lstlisting.-561)] +>> endobj +5865 0 obj << +/Names [(lstlisting.-562) 2666 0 R (lstlisting.-563) 2669 0 R (lstlisting.-564) 2675 0 R (lstlisting.-565) 2677 0 R (lstlisting.-566) 2679 0 R (lstlisting.-567) 2681 0 R] +/Limits [(lstlisting.-562) (lstlisting.-567)] +>> endobj +5866 0 obj << +/Names [(lstlisting.-568) 2684 0 R (lstlisting.-569) 2686 0 R (lstlisting.-57) 1223 0 R (lstlisting.-570) 2688 0 R (lstlisting.-571) 2690 0 R (lstlisting.-572) 2693 0 R] +/Limits [(lstlisting.-568) (lstlisting.-572)] +>> endobj +5867 0 obj << +/Names [(lstlisting.-573) 2695 0 R (lstlisting.-574) 2698 0 R (lstlisting.-575) 2700 0 R (lstlisting.-576) 2704 0 R (lstlisting.-577) 2710 0 R (lstlisting.-578) 2712 0 R] +/Limits [(lstlisting.-573) (lstlisting.-578)] +>> endobj +5868 0 obj << +/Names [(lstlisting.-579) 2714 0 R (lstlisting.-58) 1225 0 R (lstlisting.-580) 2716 0 R (lstlisting.-581) 2718 0 R (lstlisting.-582) 2720 0 R (lstlisting.-583) 2723 0 R] +/Limits [(lstlisting.-579) (lstlisting.-583)] +>> endobj +5869 0 obj << +/Names [(lstlisting.-584) 2725 0 R (lstlisting.-585) 2727 0 R (lstlisting.-586) 2729 0 R (lstlisting.-587) 2731 0 R (lstlisting.-588) 2738 0 R (lstlisting.-589) 2740 0 R] +/Limits [(lstlisting.-584) (lstlisting.-589)] +>> endobj +5870 0 obj << +/Names [(lstlisting.-59) 1228 0 R (lstlisting.-590) 2748 0 R (lstlisting.-591) 2751 0 R (lstlisting.-592) 2753 0 R (lstlisting.-593) 2755 0 R (lstlisting.-594) 2761 0 R] +/Limits [(lstlisting.-59) (lstlisting.-594)] +>> endobj +5871 0 obj << +/Names [(lstlisting.-595) 2763 0 R (lstlisting.-596) 2765 0 R (lstlisting.-597) 2768 0 R (lstlisting.-598) 2770 0 R (lstlisting.-599) 2772 0 R (lstlisting.-6) 1074 0 R] +/Limits [(lstlisting.-595) (lstlisting.-6)] +>> endobj +5872 0 obj << +/Names [(lstlisting.-60) 1231 0 R (lstlisting.-600) 2779 0 R (lstlisting.-601) 2786 0 R (lstlisting.-602) 2805 0 R (lstlisting.-603) 2807 0 R (lstlisting.-604) 2811 0 R] +/Limits [(lstlisting.-60) (lstlisting.-604)] +>> endobj +5873 0 obj << +/Names [(lstlisting.-605) 2818 0 R (lstlisting.-606) 2828 0 R (lstlisting.-607) 2832 0 R (lstlisting.-608) 2834 0 R (lstlisting.-609) 2836 0 R (lstlisting.-61) 1234 0 R] +/Limits [(lstlisting.-605) (lstlisting.-61)] +>> endobj +5874 0 obj << +/Names [(lstlisting.-610) 2838 0 R (lstlisting.-611) 2840 0 R (lstlisting.-612) 2843 0 R (lstlisting.-613) 2851 0 R (lstlisting.-614) 2853 0 R (lstlisting.-615) 2855 0 R] +/Limits [(lstlisting.-610) (lstlisting.-615)] +>> endobj +5875 0 obj << +/Names [(lstlisting.-616) 2857 0 R (lstlisting.-617) 2860 0 R (lstlisting.-618) 2862 0 R (lstlisting.-619) 2865 0 R (lstlisting.-62) 1242 0 R (lstlisting.-620) 2868 0 R] +/Limits [(lstlisting.-616) (lstlisting.-620)] +>> endobj +5876 0 obj << +/Names [(lstlisting.-621) 2870 0 R (lstlisting.-622) 2872 0 R (lstlisting.-623) 2879 0 R (lstlisting.-624) 2881 0 R (lstlisting.-625) 2884 0 R (lstlisting.-626) 2886 0 R] +/Limits [(lstlisting.-621) (lstlisting.-626)] +>> endobj +5877 0 obj << +/Names [(lstlisting.-627) 2889 0 R (lstlisting.-628) 2892 0 R (lstlisting.-629) 2895 0 R (lstlisting.-63) 1244 0 R (lstlisting.-630) 2903 0 R (lstlisting.-631) 2905 0 R] +/Limits [(lstlisting.-627) (lstlisting.-631)] +>> endobj +5878 0 obj << +/Names [(lstlisting.-632) 2908 0 R (lstlisting.-633) 2910 0 R (lstlisting.-634) 2913 0 R (lstlisting.-635) 2915 0 R (lstlisting.-636) 2917 0 R (lstlisting.-637) 2920 0 R] +/Limits [(lstlisting.-632) (lstlisting.-637)] +>> endobj +5879 0 obj << +/Names [(lstlisting.-638) 2933 0 R (lstlisting.-639) 2935 0 R (lstlisting.-64) 1246 0 R (lstlisting.-640) 2937 0 R (lstlisting.-641) 2940 0 R (lstlisting.-642) 2942 0 R] +/Limits [(lstlisting.-638) (lstlisting.-642)] +>> endobj +5880 0 obj << +/Names [(lstlisting.-643) 2944 0 R (lstlisting.-644) 2946 0 R (lstlisting.-645) 2948 0 R (lstlisting.-646) 2955 0 R (lstlisting.-647) 2957 0 R (lstlisting.-648) 2967 0 R] +/Limits [(lstlisting.-643) (lstlisting.-648)] +>> endobj +5881 0 obj << +/Names [(lstlisting.-649) 2970 0 R (lstlisting.-65) 1249 0 R (lstlisting.-650) 2973 0 R (lstlisting.-651) 2975 0 R (lstlisting.-652) 2977 0 R (lstlisting.-653) 2981 0 R] +/Limits [(lstlisting.-649) (lstlisting.-653)] +>> endobj +5882 0 obj << +/Names [(lstlisting.-654) 2985 0 R (lstlisting.-655) 2988 0 R (lstlisting.-656) 2997 0 R (lstlisting.-657) 3001 0 R (lstlisting.-658) 3003 0 R (lstlisting.-659) 3005 0 R] +/Limits [(lstlisting.-654) (lstlisting.-659)] +>> endobj +5883 0 obj << +/Names [(lstlisting.-66) 1251 0 R (lstlisting.-660) 3007 0 R (lstlisting.-661) 3010 0 R (lstlisting.-662) 3012 0 R (lstlisting.-663) 3015 0 R (lstlisting.-664) 3017 0 R] +/Limits [(lstlisting.-66) (lstlisting.-664)] +>> endobj +5884 0 obj << +/Names [(lstlisting.-665) 3019 0 R (lstlisting.-666) 3022 0 R (lstlisting.-667) 3024 0 R (lstlisting.-668) 3030 0 R (lstlisting.-669) 3032 0 R (lstlisting.-67) 1253 0 R] +/Limits [(lstlisting.-665) (lstlisting.-67)] +>> endobj +5885 0 obj << +/Names [(lstlisting.-670) 3042 0 R (lstlisting.-671) 3045 0 R (lstlisting.-672) 3048 0 R (lstlisting.-673) 3050 0 R (lstlisting.-674) 3052 0 R (lstlisting.-675) 3054 0 R] +/Limits [(lstlisting.-670) (lstlisting.-675)] +>> endobj +5886 0 obj << +/Names [(lstlisting.-676) 3057 0 R (lstlisting.-677) 3060 0 R (lstlisting.-678) 3062 0 R (lstlisting.-679) 3068 0 R (lstlisting.-68) 1255 0 R (lstlisting.-680) 3070 0 R] +/Limits [(lstlisting.-676) (lstlisting.-680)] +>> endobj +5887 0 obj << +/Names [(lstlisting.-681) 3073 0 R (lstlisting.-682) 3075 0 R (lstlisting.-683) 3078 0 R (lstlisting.-684) 3080 0 R (lstlisting.-685) 3082 0 R (lstlisting.-686) 3085 0 R] +/Limits [(lstlisting.-681) (lstlisting.-686)] +>> endobj +5888 0 obj << +/Names [(lstlisting.-687) 3088 0 R (lstlisting.-688) 3091 0 R (lstlisting.-689) 3093 0 R (lstlisting.-69) 1257 0 R (lstlisting.-690) 3096 0 R (lstlisting.-691) 3099 0 R] +/Limits [(lstlisting.-687) (lstlisting.-691)] +>> endobj +5889 0 obj << +/Names [(lstlisting.-692) 3107 0 R (lstlisting.-693) 3109 0 R (lstlisting.-694) 3113 0 R (lstlisting.-695) 3117 0 R (lstlisting.-696) 3119 0 R (lstlisting.-697) 3121 0 R] +/Limits [(lstlisting.-692) (lstlisting.-697)] +>> endobj +5890 0 obj << +/Names [(lstlisting.-698) 3123 0 R (lstlisting.-699) 3125 0 R (lstlisting.-7) 1076 0 R (lstlisting.-70) 1262 0 R (lstlisting.-700) 3129 0 R (lstlisting.-701) 3131 0 R] +/Limits [(lstlisting.-698) (lstlisting.-701)] +>> endobj +5891 0 obj << +/Names [(lstlisting.-702) 3133 0 R (lstlisting.-703) 3136 0 R (lstlisting.-704) 3138 0 R (lstlisting.-705) 3145 0 R (lstlisting.-706) 3152 0 R (lstlisting.-707) 3154 0 R] +/Limits [(lstlisting.-702) (lstlisting.-707)] +>> endobj +5892 0 obj << +/Names [(lstlisting.-708) 3156 0 R (lstlisting.-709) 3159 0 R (lstlisting.-71) 1266 0 R (lstlisting.-710) 3161 0 R (lstlisting.-711) 3163 0 R (lstlisting.-712) 3166 0 R] +/Limits [(lstlisting.-708) (lstlisting.-712)] +>> endobj +5893 0 obj << +/Names [(lstlisting.-713) 3169 0 R (lstlisting.-714) 3173 0 R (lstlisting.-715) 3176 0 R (lstlisting.-716) 3182 0 R (lstlisting.-717) 3185 0 R (lstlisting.-718) 3187 0 R] +/Limits [(lstlisting.-713) (lstlisting.-718)] +>> endobj +5894 0 obj << +/Names [(lstlisting.-719) 3189 0 R (lstlisting.-72) 1268 0 R (lstlisting.-720) 3194 0 R (lstlisting.-721) 3197 0 R (lstlisting.-722) 3199 0 R (lstlisting.-723) 3201 0 R] +/Limits [(lstlisting.-719) (lstlisting.-723)] +>> endobj +5895 0 obj << +/Names [(lstlisting.-724) 3203 0 R (lstlisting.-725) 3207 0 R (lstlisting.-726) 3211 0 R (lstlisting.-727) 3213 0 R (lstlisting.-728) 3220 0 R (lstlisting.-729) 3222 0 R] +/Limits [(lstlisting.-724) (lstlisting.-729)] +>> endobj +5896 0 obj << +/Names [(lstlisting.-73) 1270 0 R (lstlisting.-730) 3227 0 R (lstlisting.-731) 3231 0 R (lstlisting.-732) 3234 0 R (lstlisting.-733) 3239 0 R (lstlisting.-734) 3241 0 R] +/Limits [(lstlisting.-73) (lstlisting.-734)] +>> endobj +5897 0 obj << +/Names [(lstlisting.-735) 3244 0 R (lstlisting.-736) 3248 0 R (lstlisting.-737) 3251 0 R (lstlisting.-738) 3255 0 R (lstlisting.-739) 3263 0 R (lstlisting.-74) 1278 0 R] +/Limits [(lstlisting.-735) (lstlisting.-74)] +>> endobj +5898 0 obj << +/Names [(lstlisting.-740) 3267 0 R (lstlisting.-741) 3269 0 R (lstlisting.-742) 3271 0 R (lstlisting.-743) 3273 0 R (lstlisting.-744) 3275 0 R (lstlisting.-745) 3277 0 R] +/Limits [(lstlisting.-740) (lstlisting.-745)] +>> endobj +5899 0 obj << +/Names [(lstlisting.-746) 3281 0 R (lstlisting.-747) 3284 0 R (lstlisting.-748) 3286 0 R (lstlisting.-749) 3289 0 R (lstlisting.-75) 1280 0 R (lstlisting.-750) 3291 0 R] +/Limits [(lstlisting.-746) (lstlisting.-750)] +>> endobj +5900 0 obj << +/Names [(lstlisting.-751) 3293 0 R (lstlisting.-752) 3299 0 R (lstlisting.-753) 3301 0 R (lstlisting.-754) 3304 0 R (lstlisting.-755) 3307 0 R (lstlisting.-756) 3310 0 R] +/Limits [(lstlisting.-751) (lstlisting.-756)] +>> endobj +5901 0 obj << +/Names [(lstlisting.-757) 3312 0 R (lstlisting.-758) 3314 0 R (lstlisting.-759) 3316 0 R (lstlisting.-76) 1284 0 R (lstlisting.-760) 3318 0 R (lstlisting.-761) 3320 0 R] +/Limits [(lstlisting.-757) (lstlisting.-761)] +>> endobj +5902 0 obj << +/Names [(lstlisting.-762) 3322 0 R (lstlisting.-763) 3328 0 R (lstlisting.-764) 3330 0 R (lstlisting.-765) 3333 0 R (lstlisting.-766) 3335 0 R (lstlisting.-767) 3337 0 R] +/Limits [(lstlisting.-762) (lstlisting.-767)] +>> endobj +5903 0 obj << +/Names [(lstlisting.-768) 3339 0 R (lstlisting.-769) 3342 0 R (lstlisting.-77) 1286 0 R (lstlisting.-770) 3345 0 R (lstlisting.-771) 3347 0 R (lstlisting.-772) 3359 0 R] +/Limits [(lstlisting.-768) (lstlisting.-772)] +>> endobj +5904 0 obj << +/Names [(lstlisting.-773) 3362 0 R (lstlisting.-774) 3366 0 R (lstlisting.-775) 3368 0 R (lstlisting.-776) 3371 0 R (lstlisting.-777) 3375 0 R (lstlisting.-778) 3377 0 R] +/Limits [(lstlisting.-773) (lstlisting.-778)] +>> endobj +5905 0 obj << +/Names [(lstlisting.-779) 3379 0 R (lstlisting.-78) 1288 0 R (lstlisting.-780) 3381 0 R (lstlisting.-781) 3383 0 R (lstlisting.-782) 3386 0 R (lstlisting.-783) 3388 0 R] +/Limits [(lstlisting.-779) (lstlisting.-783)] +>> endobj +5906 0 obj << +/Names [(lstlisting.-784) 3390 0 R (lstlisting.-785) 3397 0 R (lstlisting.-786) 3399 0 R (lstlisting.-787) 3401 0 R (lstlisting.-788) 3404 0 R (lstlisting.-789) 3408 0 R] +/Limits [(lstlisting.-784) (lstlisting.-789)] +>> endobj +5907 0 obj << +/Names [(lstlisting.-79) 1290 0 R (lstlisting.-790) 3419 0 R (lstlisting.-791) 3425 0 R (lstlisting.-792) 3427 0 R (lstlisting.-793) 3429 0 R (lstlisting.-794) 3432 0 R] +/Limits [(lstlisting.-79) (lstlisting.-794)] +>> endobj +5908 0 obj << +/Names [(lstlisting.-795) 3434 0 R (lstlisting.-796) 3436 0 R (lstlisting.-797) 3439 0 R (lstlisting.-798) 3442 0 R (lstlisting.-799) 3444 0 R (lstlisting.-8) 1078 0 R] +/Limits [(lstlisting.-795) (lstlisting.-8)] +>> endobj +5909 0 obj << +/Names [(lstlisting.-80) 1293 0 R (lstlisting.-800) 3450 0 R (lstlisting.-801) 3452 0 R (lstlisting.-802) 3463 0 R (lstlisting.-803) 3470 0 R (lstlisting.-804) 3472 0 R] +/Limits [(lstlisting.-80) (lstlisting.-804)] +>> endobj +5910 0 obj << +/Names [(lstlisting.-805) 3477 0 R (lstlisting.-806) 3486 0 R (lstlisting.-807) 3495 0 R (lstlisting.-808) 3497 0 R (lstlisting.-809) 3503 0 R (lstlisting.-81) 1296 0 R] +/Limits [(lstlisting.-805) (lstlisting.-81)] +>> endobj +5911 0 obj << +/Names [(lstlisting.-810) 3505 0 R (lstlisting.-811) 3516 0 R (lstlisting.-812) 3519 0 R (lstlisting.-813) 3521 0 R (lstlisting.-814) 3523 0 R (lstlisting.-815) 3525 0 R] +/Limits [(lstlisting.-810) (lstlisting.-815)] +>> endobj +5912 0 obj << +/Names [(lstlisting.-816) 3535 0 R (lstlisting.-817) 3537 0 R (lstlisting.-818) 3540 0 R (lstlisting.-819) 3546 0 R (lstlisting.-82) 1298 0 R (lstlisting.-820) 3557 0 R] +/Limits [(lstlisting.-816) (lstlisting.-820)] +>> endobj +5913 0 obj << +/Names [(lstlisting.-821) 3559 0 R (lstlisting.-822) 3561 0 R (lstlisting.-823) 3563 0 R (lstlisting.-824) 3565 0 R (lstlisting.-825) 3568 0 R (lstlisting.-826) 3570 0 R] +/Limits [(lstlisting.-821) (lstlisting.-826)] +>> endobj +5914 0 obj << +/Names [(lstlisting.-827) 3572 0 R (lstlisting.-828) 3576 0 R (lstlisting.-829) 3580 0 R (lstlisting.-83) 1300 0 R (lstlisting.-830) 3582 0 R (lstlisting.-831) 3584 0 R] +/Limits [(lstlisting.-827) (lstlisting.-831)] +>> endobj +5915 0 obj << +/Names [(lstlisting.-832) 3591 0 R (lstlisting.-833) 3595 0 R (lstlisting.-834) 3597 0 R (lstlisting.-835) 3599 0 R (lstlisting.-836) 3603 0 R (lstlisting.-837) 3606 0 R] +/Limits [(lstlisting.-832) (lstlisting.-837)] +>> endobj +5916 0 obj << +/Names [(lstlisting.-838) 3641 0 R (lstlisting.-839) 3646 0 R (lstlisting.-84) 1302 0 R (lstlisting.-840) 3648 0 R (lstlisting.-841) 3651 0 R (lstlisting.-842) 3653 0 R] +/Limits [(lstlisting.-838) (lstlisting.-842)] +>> endobj +5917 0 obj << +/Names [(lstlisting.-843) 3656 0 R (lstlisting.-844) 3658 0 R (lstlisting.-845) 3666 0 R (lstlisting.-846) 3670 0 R (lstlisting.-847) 3672 0 R (lstlisting.-848) 3675 0 R] +/Limits [(lstlisting.-843) (lstlisting.-848)] +>> endobj +5918 0 obj << +/Names [(lstlisting.-849) 3684 0 R (lstlisting.-85) 1304 0 R (lstlisting.-850) 3686 0 R (lstlisting.-851) 3688 0 R (lstlisting.-852) 3690 0 R (lstlisting.-853) 3693 0 R] +/Limits [(lstlisting.-849) (lstlisting.-853)] +>> endobj +5919 0 obj << +/Names [(lstlisting.-854) 3695 0 R (lstlisting.-855) 3697 0 R (lstlisting.-856) 3699 0 R (lstlisting.-857) 3701 0 R (lstlisting.-858) 3703 0 R (lstlisting.-859) 3705 0 R] +/Limits [(lstlisting.-854) (lstlisting.-859)] +>> endobj +5920 0 obj << +/Names [(lstlisting.-86) 1310 0 R (lstlisting.-860) 3707 0 R (lstlisting.-861) 3710 0 R (lstlisting.-862) 3716 0 R (lstlisting.-863) 3718 0 R (lstlisting.-864) 3720 0 R] +/Limits [(lstlisting.-86) (lstlisting.-864)] +>> endobj +5921 0 obj << +/Names [(lstlisting.-865) 3722 0 R (lstlisting.-866) 3724 0 R (lstlisting.-867) 3726 0 R (lstlisting.-868) 3729 0 R (lstlisting.-869) 3732 0 R (lstlisting.-87) 1317 0 R] +/Limits [(lstlisting.-865) (lstlisting.-87)] +>> endobj +5922 0 obj << +/Names [(lstlisting.-870) 3735 0 R (lstlisting.-871) 3737 0 R (lstlisting.-872) 3739 0 R (lstlisting.-873) 3741 0 R (lstlisting.-874) 3743 0 R (lstlisting.-875) 3751 0 R] +/Limits [(lstlisting.-870) (lstlisting.-875)] +>> endobj +5923 0 obj << +/Names [(lstlisting.-876) 3757 0 R (lstlisting.-877) 3759 0 R (lstlisting.-878) 3761 0 R (lstlisting.-879) 3765 0 R (lstlisting.-88) 1319 0 R (lstlisting.-880) 3810 0 R] +/Limits [(lstlisting.-876) (lstlisting.-880)] +>> endobj +5924 0 obj << +/Names [(lstlisting.-881) 3812 0 R (lstlisting.-882) 3814 0 R (lstlisting.-883) 3816 0 R (lstlisting.-884) 3819 0 R (lstlisting.-885) 3825 0 R (lstlisting.-886) 3827 0 R] +/Limits [(lstlisting.-881) (lstlisting.-886)] +>> endobj +5925 0 obj << +/Names [(lstlisting.-887) 3832 0 R (lstlisting.-888) 3837 0 R (lstlisting.-889) 3843 0 R (lstlisting.-89) 1321 0 R (lstlisting.-890) 3845 0 R (lstlisting.-891) 3852 0 R] +/Limits [(lstlisting.-887) (lstlisting.-891)] +>> endobj +5926 0 obj << +/Names [(lstlisting.-892) 3865 0 R (lstlisting.-893) 3867 0 R (lstlisting.-894) 3870 0 R (lstlisting.-895) 3872 0 R (lstlisting.-896) 3874 0 R (lstlisting.-897) 3876 0 R] +/Limits [(lstlisting.-892) (lstlisting.-897)] +>> endobj +5927 0 obj << +/Names [(lstlisting.-898) 3879 0 R (lstlisting.-899) 3885 0 R (lstlisting.-9) 1081 0 R (lstlisting.-90) 1323 0 R (lstlisting.-900) 3887 0 R (lstlisting.-901) 3889 0 R] +/Limits [(lstlisting.-898) (lstlisting.-901)] +>> endobj +5928 0 obj << +/Names [(lstlisting.-902) 3892 0 R (lstlisting.-903) 3897 0 R (lstlisting.-904) 3899 0 R (lstlisting.-905) 3901 0 R (lstlisting.-906) 3903 0 R (lstlisting.-907) 3905 0 R] +/Limits [(lstlisting.-902) (lstlisting.-907)] +>> endobj +5929 0 obj << +/Names [(lstlisting.-908) 3907 0 R (lstlisting.-909) 3911 0 R (lstlisting.-91) 1325 0 R (lstlisting.-910) 3922 0 R (lstlisting.-911) 3926 0 R (lstlisting.-912) 3932 0 R] +/Limits [(lstlisting.-908) (lstlisting.-912)] +>> endobj +5930 0 obj << +/Names [(lstlisting.-913) 3934 0 R (lstlisting.-914) 3937 0 R (lstlisting.-915) 3939 0 R (lstlisting.-916) 3941 0 R (lstlisting.-917) 3943 0 R (lstlisting.-918) 3946 0 R] +/Limits [(lstlisting.-913) (lstlisting.-918)] +>> endobj +5931 0 obj << +/Names [(lstlisting.-919) 3968 0 R (lstlisting.-92) 1327 0 R (lstlisting.-920) 3970 0 R (lstlisting.-921) 3973 0 R (lstlisting.-922) 3975 0 R (lstlisting.-923) 3977 0 R] +/Limits [(lstlisting.-919) (lstlisting.-923)] +>> endobj +5932 0 obj << +/Names [(lstlisting.-924) 3980 0 R (lstlisting.-925) 3983 0 R (lstlisting.-926) 3990 0 R (lstlisting.-927) 3992 0 R (lstlisting.-928) 3996 0 R (lstlisting.-929) 3999 0 R] +/Limits [(lstlisting.-924) (lstlisting.-929)] +>> endobj +5933 0 obj << +/Names [(lstlisting.-93) 1332 0 R (lstlisting.-930) 4007 0 R (lstlisting.-931) 4028 0 R (lstlisting.-932) 4034 0 R (lstlisting.-933) 4039 0 R (lstlisting.-934) 4042 0 R] +/Limits [(lstlisting.-93) (lstlisting.-934)] +>> endobj +5934 0 obj << +/Names [(lstlisting.-935) 4046 0 R (lstlisting.-936) 4051 0 R (lstlisting.-937) 4062 0 R (lstlisting.-938) 4065 0 R (lstlisting.-939) 4068 0 R (lstlisting.-94) 1334 0 R] +/Limits [(lstlisting.-935) (lstlisting.-94)] +>> endobj +5935 0 obj << +/Names [(lstlisting.-940) 4070 0 R (lstlisting.-941) 4076 0 R (lstlisting.-942) 4080 0 R (lstlisting.-943) 4082 0 R (lstlisting.-944) 4087 0 R (lstlisting.-945) 4093 0 R] +/Limits [(lstlisting.-940) (lstlisting.-945)] +>> endobj +5936 0 obj << +/Names [(lstlisting.-946) 4102 0 R (lstlisting.-947) 4106 0 R (lstlisting.-948) 4109 0 R (lstlisting.-949) 4112 0 R (lstlisting.-95) 1336 0 R (lstlisting.-950) 4115 0 R] +/Limits [(lstlisting.-946) (lstlisting.-950)] +>> endobj +5937 0 obj << +/Names [(lstlisting.-951) 4117 0 R (lstlisting.-952) 4119 0 R (lstlisting.-953) 4121 0 R (lstlisting.-954) 4124 0 R (lstlisting.-955) 4126 0 R (lstlisting.-956) 4128 0 R] +/Limits [(lstlisting.-951) (lstlisting.-956)] +>> endobj +5938 0 obj << +/Names [(lstlisting.-957) 4132 0 R (lstlisting.-958) 4139 0 R (lstlisting.-959) 4143 0 R (lstlisting.-96) 1338 0 R (lstlisting.-960) 4145 0 R (lstlisting.-961) 4147 0 R] +/Limits [(lstlisting.-957) (lstlisting.-961)] +>> endobj +5939 0 obj << +/Names [(lstlisting.-962) 4150 0 R (lstlisting.-963) 4174 0 R (lstlisting.-964) 4205 0 R (lstlisting.-965) 4207 0 R (lstlisting.-966) 4212 0 R (lstlisting.-967) 4217 0 R] +/Limits [(lstlisting.-962) (lstlisting.-967)] +>> endobj +5940 0 obj << +/Names [(lstlisting.-968) 4219 0 R (lstlisting.-969) 4224 0 R (lstlisting.-97) 1340 0 R (lstlisting.-970) 4228 0 R (lstlisting.-971) 4234 0 R (lstlisting.-972) 4241 0 R] +/Limits [(lstlisting.-968) (lstlisting.-972)] +>> endobj +5941 0 obj << +/Names [(lstlisting.-973) 4243 0 R (lstlisting.-974) 4246 0 R (lstlisting.-975) 4249 0 R (lstlisting.-976) 4253 0 R (lstlisting.-977) 4280 0 R (lstlisting.-978) 4282 0 R] +/Limits [(lstlisting.-973) (lstlisting.-978)] +>> endobj +5942 0 obj << +/Names [(lstlisting.-979) 4291 0 R (lstlisting.-98) 1342 0 R (lstlisting.-980) 4295 0 R (lstlisting.-981) 4299 0 R (lstlisting.-982) 4304 0 R (lstlisting.-983) 4313 0 R] +/Limits [(lstlisting.-979) (lstlisting.-983)] +>> endobj +5943 0 obj << +/Names [(lstlisting.-984) 4315 0 R (lstlisting.-985) 4318 0 R (lstlisting.-986) 4322 0 R (lstlisting.-987) 4325 0 R (lstlisting.-988) 4334 0 R (lstlisting.-989) 4336 0 R] +/Limits [(lstlisting.-984) (lstlisting.-989)] +>> endobj +5944 0 obj << +/Names [(lstlisting.-99) 1348 0 R (lstlisting.-990) 4338 0 R (lstlisting.-991) 4340 0 R (lstlisting.-992) 4342 0 R (lstlisting.-993) 4344 0 R (lstlisting.-994) 4347 0 R] +/Limits [(lstlisting.-99) (lstlisting.-994)] +>> endobj +5945 0 obj << +/Names [(lstlisting.-995) 4392 0 R (lstlisting.-996) 4398 0 R (lstlisting.-997) 4400 0 R (lstlisting.-998) 4402 0 R (lstlisting.-999) 4405 0 R (lstnumber.-1.1) 1065 0 R] +/Limits [(lstlisting.-995) (lstnumber.-1.1)] +>> endobj +5946 0 obj << +/Names [(lstnumber.-10.1) 1086 0 R (lstnumber.-100.1) 1352 0 R (lstnumber.-1000.1) 4408 0 R (lstnumber.-1000.2) 4409 0 R (lstnumber.-1000.3) 4410 0 R (lstnumber.-1000.4) 4411 0 R] +/Limits [(lstnumber.-10.1) (lstnumber.-1000.4)] +>> endobj +5947 0 obj << +/Names [(lstnumber.-1001.1) 4418 0 R (lstnumber.-1001.2) 4419 0 R (lstnumber.-1001.3) 4420 0 R (lstnumber.-1001.4) 4421 0 R (lstnumber.-1002.1) 4424 0 R (lstnumber.-1003.1) 4426 0 R] +/Limits [(lstnumber.-1001.1) (lstnumber.-1003.1)] +>> endobj +5948 0 obj << +/Names [(lstnumber.-1004.1) 4428 0 R (lstnumber.-1005.1) 4430 0 R (lstnumber.-1006.1) 4432 0 R (lstnumber.-1007.1) 4434 0 R (lstnumber.-1008.1) 4436 0 R (lstnumber.-1009.1) 4438 0 R] +/Limits [(lstnumber.-1004.1) (lstnumber.-1009.1)] +>> endobj +5949 0 obj << +/Names [(lstnumber.-101.1) 1354 0 R (lstnumber.-1010.1) 4440 0 R (lstnumber.-1011.1) 4442 0 R (lstnumber.-1012.1) 4448 0 R (lstnumber.-1013.1) 4450 0 R (lstnumber.-1014.1) 4452 0 R] +/Limits [(lstnumber.-101.1) (lstnumber.-1014.1)] +>> endobj +5950 0 obj << +/Names [(lstnumber.-1015.1) 4455 0 R (lstnumber.-1015.2) 4456 0 R (lstnumber.-1015.3) 4457 0 R (lstnumber.-1015.4) 4458 0 R (lstnumber.-1016.1) 4460 0 R (lstnumber.-1017.1) 4463 0 R] +/Limits [(lstnumber.-1015.1) (lstnumber.-1017.1)] +>> endobj +5951 0 obj << +/Names [(lstnumber.-1018.1) 4466 0 R (lstnumber.-1019.1) 4468 0 R (lstnumber.-102.1) 1356 0 R (lstnumber.-102.2) 1357 0 R (lstnumber.-1020.1) 4470 0 R (lstnumber.-1021.1) 4472 0 R] +/Limits [(lstnumber.-1018.1) (lstnumber.-1021.1)] +>> endobj +5952 0 obj << +/Names [(lstnumber.-1022.1) 4478 0 R (lstnumber.-1022.2) 4479 0 R (lstnumber.-1023.1) 4481 0 R (lstnumber.-1023.10) 4490 0 R (lstnumber.-1023.11) 4491 0 R (lstnumber.-1023.12) 4492 0 R] +/Limits [(lstnumber.-1022.1) (lstnumber.-1023.12)] +>> endobj +5953 0 obj << +/Names [(lstnumber.-1023.13) 4493 0 R (lstnumber.-1023.14) 4494 0 R (lstnumber.-1023.15) 4495 0 R (lstnumber.-1023.16) 4496 0 R (lstnumber.-1023.17) 4497 0 R (lstnumber.-1023.18) 4498 0 R] +/Limits [(lstnumber.-1023.13) (lstnumber.-1023.18)] +>> endobj +5954 0 obj << +/Names [(lstnumber.-1023.19) 4499 0 R (lstnumber.-1023.2) 4482 0 R (lstnumber.-1023.20) 4500 0 R (lstnumber.-1023.3) 4483 0 R (lstnumber.-1023.4) 4484 0 R (lstnumber.-1023.5) 4485 0 R] +/Limits [(lstnumber.-1023.19) (lstnumber.-1023.5)] +>> endobj +5955 0 obj << +/Names [(lstnumber.-1023.6) 4486 0 R (lstnumber.-1023.7) 4487 0 R (lstnumber.-1023.8) 4488 0 R (lstnumber.-1023.9) 4489 0 R (lstnumber.-1024.1) 4502 0 R (lstnumber.-1024.2) 4503 0 R] +/Limits [(lstnumber.-1023.6) (lstnumber.-1024.2)] +>> endobj +5956 0 obj << +/Names [(lstnumber.-1024.3) 4504 0 R (lstnumber.-1025.1) 4506 0 R (lstnumber.-1025.2) 4507 0 R (lstnumber.-1026.1) 4509 0 R (lstnumber.-1026.2) 4510 0 R (lstnumber.-1027.1) 4512 0 R] +/Limits [(lstnumber.-1024.3) (lstnumber.-1027.1)] +>> endobj +5957 0 obj << +/Names [(lstnumber.-1027.10) 4521 0 R (lstnumber.-1027.11) 4522 0 R (lstnumber.-1027.12) 4523 0 R (lstnumber.-1027.13) 4524 0 R (lstnumber.-1027.14) 4525 0 R (lstnumber.-1027.15) 4526 0 R] +/Limits [(lstnumber.-1027.10) (lstnumber.-1027.15)] +>> endobj +5958 0 obj << +/Names [(lstnumber.-1027.16) 4532 0 R (lstnumber.-1027.17) 4533 0 R (lstnumber.-1027.18) 4534 0 R (lstnumber.-1027.19) 4535 0 R (lstnumber.-1027.2) 4513 0 R (lstnumber.-1027.20) 4536 0 R] +/Limits [(lstnumber.-1027.16) (lstnumber.-1027.20)] +>> endobj +5959 0 obj << +/Names [(lstnumber.-1027.21) 4537 0 R (lstnumber.-1027.22) 4538 0 R (lstnumber.-1027.23) 4539 0 R (lstnumber.-1027.3) 4514 0 R (lstnumber.-1027.4) 4515 0 R (lstnumber.-1027.5) 4516 0 R] +/Limits [(lstnumber.-1027.21) (lstnumber.-1027.5)] +>> endobj +5960 0 obj << +/Names [(lstnumber.-1027.6) 4517 0 R (lstnumber.-1027.7) 4518 0 R (lstnumber.-1027.8) 4519 0 R (lstnumber.-1027.9) 4520 0 R (lstnumber.-1028.1) 4541 0 R (lstnumber.-1028.10) 4550 0 R] +/Limits [(lstnumber.-1027.6) (lstnumber.-1028.10)] +>> endobj +5961 0 obj << +/Names [(lstnumber.-1028.11) 4551 0 R (lstnumber.-1028.12) 4552 0 R (lstnumber.-1028.13) 4553 0 R (lstnumber.-1028.14) 4554 0 R (lstnumber.-1028.15) 4555 0 R (lstnumber.-1028.16) 4556 0 R] +/Limits [(lstnumber.-1028.11) (lstnumber.-1028.16)] +>> endobj +5962 0 obj << +/Names [(lstnumber.-1028.17) 4557 0 R (lstnumber.-1028.18) 4558 0 R (lstnumber.-1028.19) 4559 0 R (lstnumber.-1028.2) 4542 0 R (lstnumber.-1028.20) 4560 0 R (lstnumber.-1028.3) 4543 0 R] +/Limits [(lstnumber.-1028.17) (lstnumber.-1028.3)] +>> endobj +5963 0 obj << +/Names [(lstnumber.-1028.4) 4544 0 R (lstnumber.-1028.5) 4545 0 R (lstnumber.-1028.6) 4546 0 R (lstnumber.-1028.7) 4547 0 R (lstnumber.-1028.8) 4548 0 R (lstnumber.-1028.9) 4549 0 R] +/Limits [(lstnumber.-1028.4) (lstnumber.-1028.9)] +>> endobj +5964 0 obj << +/Names [(lstnumber.-1029.1) 4562 0 R (lstnumber.-103.1) 1359 0 R (lstnumber.-103.2) 1360 0 R (lstnumber.-1030.1) 4564 0 R (lstnumber.-1031.1) 4566 0 R (lstnumber.-1031.2) 4567 0 R] +/Limits [(lstnumber.-1029.1) (lstnumber.-1031.2)] +>> endobj +5965 0 obj << +/Names [(lstnumber.-1031.3) 4568 0 R (lstnumber.-1032.1) 4570 0 R (lstnumber.-1032.2) 4571 0 R (lstnumber.-1033.1) 4573 0 R (lstnumber.-1033.2) 4574 0 R (lstnumber.-1034.1) 4576 0 R] +/Limits [(lstnumber.-1031.3) (lstnumber.-1034.1)] +>> endobj +5966 0 obj << +/Names [(lstnumber.-1035.1) 4582 0 R (lstnumber.-1036.1) 4584 0 R (lstnumber.-1037.1) 4586 0 R (lstnumber.-1038.1) 4588 0 R (lstnumber.-1039.1) 4590 0 R (lstnumber.-104.1) 1362 0 R] +/Limits [(lstnumber.-1035.1) (lstnumber.-104.1)] +>> endobj +5967 0 obj << +/Names [(lstnumber.-1040.1) 4592 0 R (lstnumber.-1041.1) 4594 0 R (lstnumber.-1042.1) 4596 0 R (lstnumber.-1043.1) 4598 0 R (lstnumber.-1044.1) 4600 0 R (lstnumber.-1044.2) 4601 0 R] +/Limits [(lstnumber.-1040.1) (lstnumber.-1044.2)] +>> endobj +5968 0 obj << +/Names [(lstnumber.-1045.1) 4604 0 R (lstnumber.-1046.1) 4606 0 R (lstnumber.-1046.2) 4607 0 R (lstnumber.-1047.1) 4614 0 R (lstnumber.-1047.2) 4615 0 R (lstnumber.-1048.1) 4617 0 R] +/Limits [(lstnumber.-1045.1) (lstnumber.-1048.1)] +>> endobj +5969 0 obj << +/Names [(lstnumber.-1049.1) 4619 0 R (lstnumber.-1049.2) 4620 0 R (lstnumber.-1049.3) 4621 0 R (lstnumber.-1049.4) 4622 0 R (lstnumber.-105.1) 1364 0 R (lstnumber.-1050.1) 4624 0 R] +/Limits [(lstnumber.-1049.1) (lstnumber.-1050.1)] +>> endobj +5970 0 obj << +/Names [(lstnumber.-1050.2) 4625 0 R (lstnumber.-1051.1) 4627 0 R (lstnumber.-1051.2) 4628 0 R (lstnumber.-1052.1) 4630 0 R (lstnumber.-1052.2) 4631 0 R (lstnumber.-1052.3) 4632 0 R] +/Limits [(lstnumber.-1050.2) (lstnumber.-1052.3)] +>> endobj +5971 0 obj << +/Names [(lstnumber.-1052.4) 4633 0 R (lstnumber.-1053.1) 4635 0 R (lstnumber.-1053.2) 4636 0 R (lstnumber.-1053.3) 4637 0 R (lstnumber.-1053.4) 4638 0 R (lstnumber.-1054.1) 4641 0 R] +/Limits [(lstnumber.-1052.4) (lstnumber.-1054.1)] +>> endobj +5972 0 obj << +/Names [(lstnumber.-1055.1) 4643 0 R (lstnumber.-1055.2) 4644 0 R (lstnumber.-1056.1) 4646 0 R (lstnumber.-1057.1) 4653 0 R (lstnumber.-1057.2) 4654 0 R (lstnumber.-1058.1) 4656 0 R] +/Limits [(lstnumber.-1055.1) (lstnumber.-1058.1)] +>> endobj +5973 0 obj << +/Names [(lstnumber.-1058.2) 4657 0 R (lstnumber.-1059.1) 4659 0 R (lstnumber.-106.1) 1366 0 R (lstnumber.-1060.1) 4661 0 R (lstnumber.-1061.1) 4664 0 R (lstnumber.-1061.2) 4665 0 R] +/Limits [(lstnumber.-1058.2) (lstnumber.-1061.2)] +>> endobj +5974 0 obj << +/Names [(lstnumber.-1062.1) 4667 0 R (lstnumber.-1062.2) 4668 0 R (lstnumber.-1063.1) 4670 0 R (lstnumber.-1064.1) 4672 0 R (lstnumber.-1065.1) 4675 0 R (lstnumber.-1065.2) 4676 0 R] +/Limits [(lstnumber.-1062.1) (lstnumber.-1065.2)] +>> endobj +5975 0 obj << +/Names [(lstnumber.-1066.1) 4682 0 R (lstnumber.-1066.2) 4683 0 R (lstnumber.-1067.1) 4685 0 R (lstnumber.-1068.1) 4687 0 R (lstnumber.-1069.1) 4692 0 R (lstnumber.-107.1) 1368 0 R] +/Limits [(lstnumber.-1066.1) (lstnumber.-107.1)] +>> endobj +5976 0 obj << +/Names [(lstnumber.-1070.1) 4694 0 R (lstnumber.-1071.1) 4697 0 R (lstnumber.-1071.2) 4698 0 R (lstnumber.-1071.3) 4699 0 R (lstnumber.-1071.4) 4700 0 R (lstnumber.-1071.5) 4701 0 R] +/Limits [(lstnumber.-1070.1) (lstnumber.-1071.5)] +>> endobj +5977 0 obj << +/Names [(lstnumber.-1072.1) 4703 0 R (lstnumber.-1073.1) 4705 0 R (lstnumber.-1073.2) 4706 0 R (lstnumber.-1074.1) 4713 0 R (lstnumber.-1074.2) 4714 0 R (lstnumber.-1075.1) 4716 0 R] +/Limits [(lstnumber.-1072.1) (lstnumber.-1075.1)] +>> endobj +5978 0 obj << +/Names [(lstnumber.-1075.2) 4717 0 R (lstnumber.-1075.3) 4718 0 R (lstnumber.-1075.4) 4719 0 R (lstnumber.-1075.5) 4720 0 R (lstnumber.-1075.6) 4721 0 R (lstnumber.-1075.7) 4722 0 R] +/Limits [(lstnumber.-1075.2) (lstnumber.-1075.7)] +>> endobj +5979 0 obj << +/Names [(lstnumber.-1076.1) 4724 0 R (lstnumber.-1076.2) 4725 0 R (lstnumber.-1076.3) 4726 0 R (lstnumber.-1077.1) 4728 0 R (lstnumber.-1078.1) 4730 0 R (lstnumber.-1078.2) 4731 0 R] +/Limits [(lstnumber.-1076.1) (lstnumber.-1078.2)] +>> endobj +5980 0 obj << +/Names [(lstnumber.-1078.3) 4732 0 R (lstnumber.-1078.4) 4733 0 R (lstnumber.-1079.1) 4735 0 R (lstnumber.-1079.2) 4736 0 R (lstnumber.-108.1) 1370 0 R (lstnumber.-1080.1) 4738 0 R] +/Limits [(lstnumber.-1078.3) (lstnumber.-1080.1)] +>> endobj +5981 0 obj << +/Names [(lstnumber.-1080.2) 4739 0 R (lstnumber.-1081.1) 4742 0 R (lstnumber.-1081.2) 4743 0 R (lstnumber.-1081.3) 4744 0 R (lstnumber.-1081.4) 4745 0 R (lstnumber.-1082.1) 4753 0 R] +/Limits [(lstnumber.-1080.2) (lstnumber.-1082.1)] +>> endobj +5982 0 obj << +/Names [(lstnumber.-1082.2) 4754 0 R (lstnumber.-1083.1) 4757 0 R (lstnumber.-1083.2) 4758 0 R (lstnumber.-1084.1) 4761 0 R (lstnumber.-1084.2) 4762 0 R (lstnumber.-1085.1) 4765 0 R] +/Limits [(lstnumber.-1082.2) (lstnumber.-1085.1)] +>> endobj +5983 0 obj << +/Names [(lstnumber.-1085.2) 4766 0 R (lstnumber.-1086.1) 4769 0 R (lstnumber.-1086.2) 4770 0 R (lstnumber.-1087.1) 4772 0 R (lstnumber.-1088.1) 4782 0 R (lstnumber.-1089.1) 4784 0 R] +/Limits [(lstnumber.-1085.2) (lstnumber.-1089.1)] +>> endobj +5984 0 obj << +/Names [(lstnumber.-109.1) 1372 0 R (lstnumber.-109.2) 1373 0 R (lstnumber.-1090.1) 4786 0 R (lstnumber.-1091.1) 4788 0 R (lstnumber.-1092.1) 4790 0 R (lstnumber.-1093.1) 4796 0 R] +/Limits [(lstnumber.-109.1) (lstnumber.-1093.1)] +>> endobj +5985 0 obj << +/Names [(lstnumber.-1094.1) 4798 0 R (lstnumber.-1095.1) 4800 0 R (lstnumber.-1096.1) 4802 0 R (lstnumber.-1097.1) 4804 0 R (lstnumber.-1098.1) 4807 0 R (lstnumber.-1098.2) 4808 0 R] +/Limits [(lstnumber.-1094.1) (lstnumber.-1098.2)] +>> endobj +5986 0 obj << +/Names [(lstnumber.-1098.3) 4809 0 R (lstnumber.-1099.1) 4811 0 R (lstnumber.-1099.2) 4812 0 R (lstnumber.-11.1) 1088 0 R (lstnumber.-110.1) 1375 0 R (lstnumber.-1100.1) 4814 0 R] +/Limits [(lstnumber.-1098.3) (lstnumber.-1100.1)] +>> endobj +5987 0 obj << +/Names [(lstnumber.-1100.2) 4815 0 R (lstnumber.-1100.3) 4816 0 R (lstnumber.-1100.4) 4817 0 R (lstnumber.-1101.1) 4819 0 R (lstnumber.-1102.1) 4821 0 R (lstnumber.-1102.2) 4822 0 R] +/Limits [(lstnumber.-1100.2) (lstnumber.-1102.2)] +>> endobj +5988 0 obj << +/Names [(lstnumber.-1102.3) 4823 0 R (lstnumber.-1102.4) 4824 0 R (lstnumber.-1102.5) 4825 0 R (lstnumber.-1102.6) 4826 0 R (lstnumber.-1103.1) 4828 0 R (lstnumber.-1103.2) 4829 0 R] +/Limits [(lstnumber.-1102.3) (lstnumber.-1103.2)] +>> endobj +5989 0 obj << +/Names [(lstnumber.-1104.1) 4836 0 R (lstnumber.-1105.1) 4838 0 R (lstnumber.-1105.2) 4839 0 R (lstnumber.-1106.1) 4841 0 R (lstnumber.-1107.1) 4843 0 R (lstnumber.-1108.1) 4845 0 R] +/Limits [(lstnumber.-1104.1) (lstnumber.-1108.1)] +>> endobj +5990 0 obj << +/Names [(lstnumber.-1109.1) 4847 0 R (lstnumber.-111.1) 1377 0 R (lstnumber.-1110.1) 4849 0 R (lstnumber.-1111.1) 4851 0 R (lstnumber.-1112.1) 4853 0 R (lstnumber.-1113.1) 4855 0 R] +/Limits [(lstnumber.-1109.1) (lstnumber.-1113.1)] +>> endobj +5991 0 obj << +/Names [(lstnumber.-1114.1) 4857 0 R (lstnumber.-1115.1) 4859 0 R (lstnumber.-1115.2) 4860 0 R (lstnumber.-1115.3) 4861 0 R (lstnumber.-1115.4) 4862 0 R (lstnumber.-1116.1) 4868 0 R] +/Limits [(lstnumber.-1114.1) (lstnumber.-1116.1)] +>> endobj +5992 0 obj << +/Names [(lstnumber.-1116.2) 4869 0 R (lstnumber.-1117.1) 4871 0 R (lstnumber.-1117.2) 4872 0 R (lstnumber.-1118.1) 4874 0 R (lstnumber.-1118.2) 4875 0 R (lstnumber.-1119.1) 4877 0 R] +/Limits [(lstnumber.-1116.2) (lstnumber.-1119.1)] +>> endobj +5993 0 obj << +/Names [(lstnumber.-1119.2) 4878 0 R (lstnumber.-112.1) 1383 0 R (lstnumber.-1120.1) 4880 0 R (lstnumber.-1121.1) 4882 0 R (lstnumber.-1122.1) 4884 0 R (lstnumber.-1123.1) 4886 0 R] +/Limits [(lstnumber.-1119.2) (lstnumber.-1123.1)] +>> endobj +5994 0 obj << +/Names [(lstnumber.-1123.2) 4887 0 R (lstnumber.-1123.3) 4888 0 R (lstnumber.-1124.1) 4890 0 R (lstnumber.-1125.1) 4892 0 R (lstnumber.-1126.1) 4895 0 R (lstnumber.-1126.2) 4896 0 R] +/Limits [(lstnumber.-1123.2) (lstnumber.-1126.2)] +>> endobj +5995 0 obj << +/Names [(lstnumber.-1127.1) 4902 0 R (lstnumber.-1127.2) 4903 0 R (lstnumber.-1127.3) 4904 0 R (lstnumber.-1127.4) 4905 0 R (lstnumber.-1127.5) 4906 0 R (lstnumber.-1127.6) 4907 0 R] +/Limits [(lstnumber.-1127.1) (lstnumber.-1127.6)] +>> endobj +5996 0 obj << +/Names [(lstnumber.-1128.1) 4909 0 R (lstnumber.-1128.2) 4910 0 R (lstnumber.-1129.1) 4912 0 R (lstnumber.-1129.2) 4913 0 R (lstnumber.-113.1) 1385 0 R (lstnumber.-113.2) 1386 0 R] +/Limits [(lstnumber.-1128.1) (lstnumber.-113.2)] +>> endobj +5997 0 obj << +/Names [(lstnumber.-1130.1) 4915 0 R (lstnumber.-1130.2) 4916 0 R (lstnumber.-1131.1) 4918 0 R (lstnumber.-1131.2) 4919 0 R (lstnumber.-1132.1) 4921 0 R (lstnumber.-1132.2) 4922 0 R] +/Limits [(lstnumber.-1130.1) (lstnumber.-1132.2)] +>> endobj +5998 0 obj << +/Names [(lstnumber.-1132.3) 4923 0 R (lstnumber.-1132.4) 4924 0 R (lstnumber.-1132.5) 4925 0 R (lstnumber.-1133.1) 4927 0 R (lstnumber.-1133.2) 4928 0 R (lstnumber.-1133.3) 4929 0 R] +/Limits [(lstnumber.-1132.3) (lstnumber.-1133.3)] +>> endobj +5999 0 obj << +/Names [(lstnumber.-1133.4) 4930 0 R (lstnumber.-1133.5) 4931 0 R (lstnumber.-1133.6) 4932 0 R (lstnumber.-1133.7) 4933 0 R (lstnumber.-1133.8) 4934 0 R (lstnumber.-1133.9) 4935 0 R] +/Limits [(lstnumber.-1133.4) (lstnumber.-1133.9)] +>> endobj +6000 0 obj << +/Names [(lstnumber.-1134.1) 4937 0 R (lstnumber.-1134.2) 4938 0 R (lstnumber.-1135.1) 4940 0 R (lstnumber.-1135.2) 4941 0 R (lstnumber.-1135.3) 4942 0 R (lstnumber.-1135.4) 4943 0 R] +/Limits [(lstnumber.-1134.1) (lstnumber.-1135.4)] +>> endobj +6001 0 obj << +/Names [(lstnumber.-1135.5) 4944 0 R (lstnumber.-1135.6) 4945 0 R (lstnumber.-1136.1) 4952 0 R (lstnumber.-1137.1) 4954 0 R (lstnumber.-1138.1) 4956 0 R (lstnumber.-1139.1) 4958 0 R] +/Limits [(lstnumber.-1135.5) (lstnumber.-1139.1)] +>> endobj +6002 0 obj << +/Names [(lstnumber.-114.1) 1388 0 R (lstnumber.-1140.1) 4960 0 R (lstnumber.-1141.1) 4962 0 R (lstnumber.-1142.1) 4964 0 R (lstnumber.-1143.1) 4966 0 R (lstnumber.-1144.1) 4968 0 R] +/Limits [(lstnumber.-114.1) (lstnumber.-1144.1)] +>> endobj +6003 0 obj << +/Names [(lstnumber.-1144.2) 4969 0 R (lstnumber.-1144.3) 4970 0 R (lstnumber.-1144.4) 4971 0 R (lstnumber.-1145.1) 4973 0 R (lstnumber.-1146.1) 4975 0 R (lstnumber.-1147.1) 4977 0 R] +/Limits [(lstnumber.-1144.2) (lstnumber.-1147.1)] +>> endobj +6004 0 obj << +/Names [(lstnumber.-1147.2) 4978 0 R (lstnumber.-1147.3) 4979 0 R (lstnumber.-1148.1) 4985 0 R (lstnumber.-1148.2) 4986 0 R (lstnumber.-1149.1) 4988 0 R (lstnumber.-1149.2) 4989 0 R] +/Limits [(lstnumber.-1147.2) (lstnumber.-1149.2)] +>> endobj +6005 0 obj << +/Names [(lstnumber.-1149.3) 4990 0 R (lstnumber.-1149.4) 4991 0 R (lstnumber.-115.1) 1390 0 R (lstnumber.-115.2) 1391 0 R (lstnumber.-1150.1) 4994 0 R (lstnumber.-1150.2) 4995 0 R] +/Limits [(lstnumber.-1149.3) (lstnumber.-1150.2)] +>> endobj +6006 0 obj << +/Names [(lstnumber.-1150.3) 4996 0 R (lstnumber.-1150.4) 4997 0 R (lstnumber.-1150.5) 4998 0 R (lstnumber.-1151.1) 5000 0 R (lstnumber.-1151.2) 5001 0 R (lstnumber.-1151.3) 5002 0 R] +/Limits [(lstnumber.-1150.3) (lstnumber.-1151.3)] +>> endobj +6007 0 obj << +/Names [(lstnumber.-1151.4) 5003 0 R (lstnumber.-1151.5) 5004 0 R (lstnumber.-1152.1) 5006 0 R (lstnumber.-1152.2) 5007 0 R (lstnumber.-1153.1) 5009 0 R (lstnumber.-1153.2) 5010 0 R] +/Limits [(lstnumber.-1151.4) (lstnumber.-1153.2)] +>> endobj +6008 0 obj << +/Names [(lstnumber.-1153.3) 5011 0 R (lstnumber.-1154.1) 5013 0 R (lstnumber.-1154.2) 5014 0 R (lstnumber.-1155.1) 5016 0 R (lstnumber.-1155.10) 5025 0 R (lstnumber.-1155.11) 5030 0 R] +/Limits [(lstnumber.-1153.3) (lstnumber.-1155.11)] +>> endobj +6009 0 obj << +/Names [(lstnumber.-1155.12) 5031 0 R (lstnumber.-1155.13) 5032 0 R (lstnumber.-1155.14) 5033 0 R (lstnumber.-1155.15) 5034 0 R (lstnumber.-1155.16) 5035 0 R (lstnumber.-1155.17) 5036 0 R] +/Limits [(lstnumber.-1155.12) (lstnumber.-1155.17)] +>> endobj +6010 0 obj << +/Names [(lstnumber.-1155.18) 5037 0 R (lstnumber.-1155.19) 5038 0 R (lstnumber.-1155.2) 5017 0 R (lstnumber.-1155.20) 5039 0 R (lstnumber.-1155.21) 5040 0 R (lstnumber.-1155.22) 5041 0 R] +/Limits [(lstnumber.-1155.18) (lstnumber.-1155.22)] +>> endobj +6011 0 obj << +/Names [(lstnumber.-1155.23) 5042 0 R (lstnumber.-1155.24) 5043 0 R (lstnumber.-1155.25) 5044 0 R (lstnumber.-1155.3) 5018 0 R (lstnumber.-1155.4) 5019 0 R (lstnumber.-1155.5) 5020 0 R] +/Limits [(lstnumber.-1155.23) (lstnumber.-1155.5)] +>> endobj +6012 0 obj << +/Names [(lstnumber.-1155.6) 5021 0 R (lstnumber.-1155.7) 5022 0 R (lstnumber.-1155.8) 5023 0 R (lstnumber.-1155.9) 5024 0 R (lstnumber.-1156.1) 5046 0 R (lstnumber.-1156.2) 5047 0 R] +/Limits [(lstnumber.-1155.6) (lstnumber.-1156.2)] +>> endobj +6013 0 obj << +/Names [(lstnumber.-1156.3) 5048 0 R (lstnumber.-1157.1) 5050 0 R (lstnumber.-1157.2) 5051 0 R (lstnumber.-1158.1) 5053 0 R (lstnumber.-1158.10) 5062 0 R (lstnumber.-1158.11) 5063 0 R] +/Limits [(lstnumber.-1156.3) (lstnumber.-1158.11)] +>> endobj +6014 0 obj << +/Names [(lstnumber.-1158.12) 5064 0 R (lstnumber.-1158.13) 5065 0 R (lstnumber.-1158.14) 5066 0 R (lstnumber.-1158.15) 5067 0 R (lstnumber.-1158.2) 5054 0 R (lstnumber.-1158.3) 5055 0 R] +/Limits [(lstnumber.-1158.12) (lstnumber.-1158.3)] +>> endobj +6015 0 obj << +/Names [(lstnumber.-1158.4) 5056 0 R (lstnumber.-1158.5) 5057 0 R (lstnumber.-1158.6) 5058 0 R (lstnumber.-1158.7) 5059 0 R (lstnumber.-1158.8) 5060 0 R (lstnumber.-1158.9) 5061 0 R] +/Limits [(lstnumber.-1158.4) (lstnumber.-1158.9)] +>> endobj +6016 0 obj << +/Names [(lstnumber.-1159.1) 5069 0 R (lstnumber.-1159.2) 5070 0 R (lstnumber.-116.1) 1393 0 R (lstnumber.-1160.1) 5072 0 R (lstnumber.-1160.10) 5085 0 R (lstnumber.-1160.11) 5086 0 R] +/Limits [(lstnumber.-1159.1) (lstnumber.-1160.11)] +>> endobj +6017 0 obj << +/Names [(lstnumber.-1160.12) 5087 0 R (lstnumber.-1160.13) 5088 0 R (lstnumber.-1160.14) 5089 0 R (lstnumber.-1160.15) 5090 0 R (lstnumber.-1160.16) 5091 0 R (lstnumber.-1160.17) 5092 0 R] +/Limits [(lstnumber.-1160.12) (lstnumber.-1160.17)] +>> endobj +6018 0 obj << +/Names [(lstnumber.-1160.18) 5093 0 R (lstnumber.-1160.19) 5094 0 R (lstnumber.-1160.2) 5073 0 R (lstnumber.-1160.20) 5095 0 R (lstnumber.-1160.21) 5096 0 R (lstnumber.-1160.3) 5074 0 R] +/Limits [(lstnumber.-1160.18) (lstnumber.-1160.3)] +>> endobj +6019 0 obj << +/Names [(lstnumber.-1160.4) 5075 0 R (lstnumber.-1160.5) 5076 0 R (lstnumber.-1160.6) 5077 0 R (lstnumber.-1160.7) 5078 0 R (lstnumber.-1160.8) 5079 0 R (lstnumber.-1160.9) 5080 0 R] +/Limits [(lstnumber.-1160.4) (lstnumber.-1160.9)] +>> endobj +6020 0 obj << +/Names [(lstnumber.-1161.1) 5098 0 R (lstnumber.-1161.2) 5099 0 R (lstnumber.-1162.1) 5101 0 R (lstnumber.-1162.2) 5102 0 R (lstnumber.-1162.3) 5103 0 R (lstnumber.-1162.4) 5104 0 R] +/Limits [(lstnumber.-1161.1) (lstnumber.-1162.4)] +>> endobj +6021 0 obj << +/Names [(lstnumber.-1162.5) 5105 0 R (lstnumber.-1162.6) 5106 0 R (lstnumber.-1163.1) 5108 0 R (lstnumber.-1163.10) 5117 0 R (lstnumber.-1163.11) 5118 0 R (lstnumber.-1163.12) 5119 0 R] +/Limits [(lstnumber.-1162.5) (lstnumber.-1163.12)] +>> endobj +6022 0 obj << +/Names [(lstnumber.-1163.13) 5120 0 R (lstnumber.-1163.14) 5121 0 R (lstnumber.-1163.15) 5122 0 R (lstnumber.-1163.16) 5123 0 R (lstnumber.-1163.17) 5124 0 R (lstnumber.-1163.18) 5125 0 R] +/Limits [(lstnumber.-1163.13) (lstnumber.-1163.18)] +>> endobj +6023 0 obj << +/Names [(lstnumber.-1163.19) 5126 0 R (lstnumber.-1163.2) 5109 0 R (lstnumber.-1163.20) 5127 0 R (lstnumber.-1163.21) 5128 0 R (lstnumber.-1163.22) 5129 0 R (lstnumber.-1163.23) 5130 0 R] +/Limits [(lstnumber.-1163.19) (lstnumber.-1163.23)] +>> endobj +6024 0 obj << +/Names [(lstnumber.-1163.24) 5131 0 R (lstnumber.-1163.25) 5132 0 R (lstnumber.-1163.26) 5133 0 R (lstnumber.-1163.27) 5134 0 R (lstnumber.-1163.28) 5135 0 R (lstnumber.-1163.29) 5136 0 R] +/Limits [(lstnumber.-1163.24) (lstnumber.-1163.29)] +>> endobj +6025 0 obj << +/Names [(lstnumber.-1163.3) 5110 0 R (lstnumber.-1163.30) 5137 0 R (lstnumber.-1163.31) 5138 0 R (lstnumber.-1163.32) 5139 0 R (lstnumber.-1163.33) 5144 0 R (lstnumber.-1163.34) 5145 0 R] +/Limits [(lstnumber.-1163.3) (lstnumber.-1163.34)] +>> endobj +6026 0 obj << +/Names [(lstnumber.-1163.4) 5111 0 R (lstnumber.-1163.5) 5112 0 R (lstnumber.-1163.6) 5113 0 R (lstnumber.-1163.7) 5114 0 R (lstnumber.-1163.8) 5115 0 R (lstnumber.-1163.9) 5116 0 R] +/Limits [(lstnumber.-1163.4) (lstnumber.-1163.9)] +>> endobj +6027 0 obj << +/Names [(lstnumber.-1164.1) 5148 0 R (lstnumber.-1165.1) 5150 0 R (lstnumber.-1166.1) 5153 0 R (lstnumber.-1167.1) 5155 0 R (lstnumber.-1167.2) 5156 0 R (lstnumber.-1168.1) 5159 0 R] +/Limits [(lstnumber.-1164.1) (lstnumber.-1168.1)] +>> endobj +6028 0 obj << +/Names [(lstnumber.-1169.1) 5161 0 R (lstnumber.-117.1) 1395 0 R (lstnumber.-117.2) 1396 0 R (lstnumber.-1170.1) 5164 0 R (lstnumber.-1171.1) 5166 0 R (lstnumber.-1172.1) 5172 0 R] +/Limits [(lstnumber.-1169.1) (lstnumber.-1172.1)] +>> endobj +6029 0 obj << +/Names [(lstnumber.-1172.2) 5173 0 R (lstnumber.-1173.1) 5175 0 R (lstnumber.-1174.1) 5177 0 R (lstnumber.-1175.1) 5179 0 R (lstnumber.-1175.2) 5180 0 R (lstnumber.-1176.1) 5182 0 R] +/Limits [(lstnumber.-1172.2) (lstnumber.-1176.1)] +>> endobj +6030 0 obj << +/Names [(lstnumber.-1176.2) 5183 0 R (lstnumber.-1176.3) 5184 0 R (lstnumber.-1177.1) 5186 0 R (lstnumber.-1178.1) 5188 0 R (lstnumber.-1178.2) 5189 0 R (lstnumber.-1178.3) 5190 0 R] +/Limits [(lstnumber.-1176.2) (lstnumber.-1178.3)] +>> endobj +6031 0 obj << +/Names [(lstnumber.-1178.4) 5191 0 R (lstnumber.-1178.5) 5192 0 R (lstnumber.-1179.1) 5194 0 R (lstnumber.-1179.2) 5195 0 R (lstnumber.-1179.3) 5196 0 R (lstnumber.-1179.4) 5197 0 R] +/Limits [(lstnumber.-1178.4) (lstnumber.-1179.4)] +>> endobj +6032 0 obj << +/Names [(lstnumber.-118.1) 1398 0 R (lstnumber.-1180.1) 5199 0 R (lstnumber.-1181.1) 5201 0 R (lstnumber.-1182.1) 5203 0 R (lstnumber.-1183.1) 5205 0 R (lstnumber.-1184.1) 5212 0 R] +/Limits [(lstnumber.-118.1) (lstnumber.-1184.1)] +>> endobj +6033 0 obj << +/Names [(lstnumber.-1185.1) 5214 0 R (lstnumber.-1186.1) 5216 0 R (lstnumber.-1187.1) 5218 0 R (lstnumber.-1187.2) 5219 0 R (lstnumber.-1188.1) 5221 0 R (lstnumber.-1189.1) 5223 0 R] +/Limits [(lstnumber.-1185.1) (lstnumber.-1189.1)] +>> endobj +6034 0 obj << +/Names [(lstnumber.-119.1) 1400 0 R (lstnumber.-1190.1) 5225 0 R (lstnumber.-1191.1) 5227 0 R (lstnumber.-1191.2) 5228 0 R (lstnumber.-1191.3) 5229 0 R (lstnumber.-1192.1) 5231 0 R] +/Limits [(lstnumber.-119.1) (lstnumber.-1192.1)] +>> endobj +6035 0 obj << +/Names [(lstnumber.-1193.1) 5234 0 R (lstnumber.-1194.1) 5237 0 R (lstnumber.-1195.1) 5244 0 R (lstnumber.-1195.2) 5245 0 R (lstnumber.-1196.1) 5248 0 R (lstnumber.-1196.2) 5249 0 R] +/Limits [(lstnumber.-1193.1) (lstnumber.-1196.2)] +>> endobj +6036 0 obj << +/Names [(lstnumber.-1196.3) 5250 0 R (lstnumber.-1196.4) 5251 0 R (lstnumber.-1197.1) 5254 0 R (lstnumber.-1197.2) 5255 0 R (lstnumber.-1198.1) 5257 0 R (lstnumber.-1198.2) 5258 0 R] +/Limits [(lstnumber.-1196.3) (lstnumber.-1198.2)] +>> endobj +6037 0 obj << +/Names [(lstnumber.-1198.3) 5259 0 R (lstnumber.-1198.4) 5260 0 R (lstnumber.-1199.1) 5262 0 R (lstnumber.-12.1) 1090 0 R (lstnumber.-120.1) 1402 0 R (lstnumber.-120.2) 1403 0 R] +/Limits [(lstnumber.-1198.3) (lstnumber.-120.2)] +>> endobj +6038 0 obj << +/Names [(lstnumber.-1200.1) 5265 0 R (lstnumber.-1200.2) 5266 0 R (lstnumber.-1200.3) 5267 0 R (lstnumber.-1200.4) 5268 0 R (lstnumber.-1200.5) 5269 0 R (lstnumber.-1201.1) 5275 0 R] +/Limits [(lstnumber.-1200.1) (lstnumber.-1201.1)] +>> endobj +6039 0 obj << +/Names [(lstnumber.-1201.2) 5276 0 R (lstnumber.-1202.1) 5278 0 R (lstnumber.-1202.2) 5279 0 R (lstnumber.-1202.3) 5280 0 R (lstnumber.-1202.4) 5281 0 R (lstnumber.-1203.1) 5283 0 R] +/Limits [(lstnumber.-1201.2) (lstnumber.-1203.1)] +>> endobj +6040 0 obj << +/Names [(lstnumber.-1204.1) 5486 0 R (lstnumber.-1204.10) 5501 0 R (lstnumber.-1204.11) 5503 0 R (lstnumber.-1204.12) 5504 0 R (lstnumber.-1204.13) 5505 0 R (lstnumber.-1204.14) 5506 0 R] +/Limits [(lstnumber.-1204.1) (lstnumber.-1204.14)] +>> endobj +6041 0 obj << +/Names [(lstnumber.-1204.15) 5507 0 R (lstnumber.-1204.16) 5508 0 R (lstnumber.-1204.17) 5509 0 R (lstnumber.-1204.18) 5510 0 R (lstnumber.-1204.19) 5511 0 R (lstnumber.-1204.2) 5487 0 R] +/Limits [(lstnumber.-1204.15) (lstnumber.-1204.2)] +>> endobj +6042 0 obj << +/Names [(lstnumber.-1204.20) 5512 0 R (lstnumber.-1204.21) 5513 0 R (lstnumber.-1204.3) 5488 0 R (lstnumber.-1204.4) 5491 0 R (lstnumber.-1204.5) 5492 0 R (lstnumber.-1204.6) 5493 0 R] +/Limits [(lstnumber.-1204.20) (lstnumber.-1204.6)] +>> endobj +6043 0 obj << +/Names [(lstnumber.-1204.7) 5495 0 R (lstnumber.-1204.8) 5497 0 R (lstnumber.-1204.9) 5499 0 R (lstnumber.-1205.1) 5563 0 R (lstnumber.-1205.2) 5564 0 R (lstnumber.-1205.3) 5565 0 R] +/Limits [(lstnumber.-1204.7) (lstnumber.-1205.3)] +>> endobj +6044 0 obj << +/Names [(lstnumber.-1205.4) 5566 0 R (lstnumber.-1205.5) 5567 0 R (lstnumber.-1205.6) 5568 0 R (lstnumber.-1205.7) 5569 0 R (lstnumber.-1205.8) 5570 0 R (lstnumber.-1205.9) 5571 0 R] +/Limits [(lstnumber.-1205.4) (lstnumber.-1205.9)] +>> endobj +6045 0 obj << +/Names [(lstnumber.-1206.1) 5573 0 R (lstnumber.-1206.2) 5574 0 R (lstnumber.-1206.3) 5575 0 R (lstnumber.-1206.4) 5576 0 R (lstnumber.-1207.1) 5578 0 R (lstnumber.-1207.10) 5587 0 R] +/Limits [(lstnumber.-1206.1) (lstnumber.-1207.10)] +>> endobj +6046 0 obj << +/Names [(lstnumber.-1207.2) 5579 0 R (lstnumber.-1207.3) 5580 0 R (lstnumber.-1207.4) 5581 0 R (lstnumber.-1207.5) 5582 0 R (lstnumber.-1207.6) 5583 0 R (lstnumber.-1207.7) 5584 0 R] +/Limits [(lstnumber.-1207.2) (lstnumber.-1207.7)] +>> endobj +6047 0 obj << +/Names [(lstnumber.-1207.8) 5585 0 R (lstnumber.-1207.9) 5586 0 R (lstnumber.-1208.1) 5605 0 R (lstnumber.-1208.2) 5606 0 R (lstnumber.-1208.3) 5607 0 R (lstnumber.-1208.4) 5608 0 R] +/Limits [(lstnumber.-1207.8) (lstnumber.-1208.4)] +>> endobj +6048 0 obj << +/Names [(lstnumber.-1208.5) 5609 0 R (lstnumber.-1208.6) 5610 0 R (lstnumber.-1208.7) 5611 0 R (lstnumber.-1209.1) 5620 0 R (lstnumber.-121.1) 1405 0 R (lstnumber.-1210.1) 5622 0 R] +/Limits [(lstnumber.-1208.5) (lstnumber.-1210.1)] +>> endobj +6049 0 obj << +/Names [(lstnumber.-1211.1) 5628 0 R (lstnumber.-1211.2) 5629 0 R (lstnumber.-1211.3) 5630 0 R (lstnumber.-1211.4) 5631 0 R (lstnumber.-1211.5) 5632 0 R (lstnumber.-1211.6) 5633 0 R] +/Limits [(lstnumber.-1211.1) (lstnumber.-1211.6)] +>> endobj +6050 0 obj << +/Names [(lstnumber.-1211.7) 5634 0 R (lstnumber.-1212.1) 5636 0 R (lstnumber.-1212.2) 5637 0 R (lstnumber.-1212.3) 5638 0 R (lstnumber.-1212.4) 5639 0 R (lstnumber.-1212.5) 5640 0 R] +/Limits [(lstnumber.-1211.7) (lstnumber.-1212.5)] +>> endobj +6051 0 obj << +/Names [(lstnumber.-1212.6) 5641 0 R (lstnumber.-1212.7) 5642 0 R (lstnumber.-1213.1) 5644 0 R (lstnumber.-1213.2) 5645 0 R (lstnumber.-1213.3) 5646 0 R (lstnumber.-1213.4) 5647 0 R] +/Limits [(lstnumber.-1212.6) (lstnumber.-1213.4)] +>> endobj +6052 0 obj << +/Names [(lstnumber.-1213.5) 5648 0 R (lstnumber.-122.1) 1407 0 R (lstnumber.-122.2) 1408 0 R (lstnumber.-123.1) 1410 0 R (lstnumber.-123.2) 1411 0 R (lstnumber.-124.1) 1413 0 R] +/Limits [(lstnumber.-1213.5) (lstnumber.-124.1)] +>> endobj +6053 0 obj << +/Names [(lstnumber.-124.2) 1414 0 R (lstnumber.-125.1) 1420 0 R (lstnumber.-126.1) 1422 0 R (lstnumber.-126.2) 1423 0 R (lstnumber.-126.3) 1424 0 R (lstnumber.-127.1) 1426 0 R] +/Limits [(lstnumber.-124.2) (lstnumber.-127.1)] +>> endobj +6054 0 obj << +/Names [(lstnumber.-127.2) 1427 0 R (lstnumber.-128.1) 1429 0 R (lstnumber.-128.2) 1430 0 R (lstnumber.-129.1) 1432 0 R (lstnumber.-129.2) 1433 0 R (lstnumber.-13.1) 1096 0 R] +/Limits [(lstnumber.-127.2) (lstnumber.-13.1)] +>> endobj +6055 0 obj << +/Names [(lstnumber.-130.1) 1435 0 R (lstnumber.-130.2) 1436 0 R (lstnumber.-130.3) 1437 0 R (lstnumber.-130.4) 1438 0 R (lstnumber.-130.5) 1439 0 R (lstnumber.-130.6) 1440 0 R] +/Limits [(lstnumber.-130.1) (lstnumber.-130.6)] +>> endobj +6056 0 obj << +/Names [(lstnumber.-130.7) 1441 0 R (lstnumber.-131.1) 1443 0 R (lstnumber.-131.2) 1444 0 R (lstnumber.-131.3) 1445 0 R (lstnumber.-132.1) 1447 0 R (lstnumber.-133.1) 1449 0 R] +/Limits [(lstnumber.-130.7) (lstnumber.-133.1)] +>> endobj +6057 0 obj << +/Names [(lstnumber.-134.1) 1451 0 R (lstnumber.-135.1) 1453 0 R (lstnumber.-135.2) 1454 0 R (lstnumber.-136.1) 1461 0 R (lstnumber.-136.2) 1462 0 R (lstnumber.-136.3) 1463 0 R] +/Limits [(lstnumber.-134.1) (lstnumber.-136.3)] +>> endobj +6058 0 obj << +/Names [(lstnumber.-136.4) 1464 0 R (lstnumber.-136.5) 1465 0 R (lstnumber.-137.1) 1467 0 R (lstnumber.-137.2) 1468 0 R (lstnumber.-138.1) 1470 0 R (lstnumber.-138.2) 1471 0 R] +/Limits [(lstnumber.-136.4) (lstnumber.-138.2)] +>> endobj +6059 0 obj << +/Names [(lstnumber.-139.1) 1473 0 R (lstnumber.-139.2) 1474 0 R (lstnumber.-14.1) 1098 0 R (lstnumber.-14.2) 1099 0 R (lstnumber.-14.3) 1100 0 R (lstnumber.-14.4) 1101 0 R] +/Limits [(lstnumber.-139.1) (lstnumber.-14.4)] +>> endobj +6060 0 obj << +/Names [(lstnumber.-14.5) 1102 0 R (lstnumber.-14.6) 1103 0 R (lstnumber.-14.7) 1104 0 R (lstnumber.-140.1) 1476 0 R (lstnumber.-141.1) 1478 0 R (lstnumber.-141.2) 1479 0 R] +/Limits [(lstnumber.-14.5) (lstnumber.-141.2)] +>> endobj +6061 0 obj << +/Names [(lstnumber.-141.3) 1480 0 R (lstnumber.-142.1) 1482 0 R (lstnumber.-142.2) 1483 0 R (lstnumber.-143.1) 1485 0 R (lstnumber.-144.1) 1487 0 R (lstnumber.-144.2) 1488 0 R] +/Limits [(lstnumber.-141.3) (lstnumber.-144.2)] +>> endobj +6062 0 obj << +/Names [(lstnumber.-145.1) 1490 0 R (lstnumber.-145.2) 1491 0 R (lstnumber.-146.1) 1493 0 R (lstnumber.-147.1) 1499 0 R (lstnumber.-147.2) 1500 0 R (lstnumber.-147.3) 1501 0 R] +/Limits [(lstnumber.-145.1) (lstnumber.-147.3)] +>> endobj +6063 0 obj << +/Names [(lstnumber.-147.4) 1502 0 R (lstnumber.-147.5) 1503 0 R (lstnumber.-148.1) 1505 0 R (lstnumber.-148.2) 1506 0 R (lstnumber.-149.1) 1508 0 R (lstnumber.-149.2) 1509 0 R] +/Limits [(lstnumber.-147.4) (lstnumber.-149.2)] +>> endobj +6064 0 obj << +/Names [(lstnumber.-149.3) 1510 0 R (lstnumber.-15.1) 1107 0 R (lstnumber.-15.2) 1108 0 R (lstnumber.-150.1) 1512 0 R (lstnumber.-150.2) 1513 0 R (lstnumber.-151.1) 1515 0 R] +/Limits [(lstnumber.-149.3) (lstnumber.-151.1)] +>> endobj +6065 0 obj << +/Names [(lstnumber.-152.1) 1517 0 R (lstnumber.-153.1) 1519 0 R (lstnumber.-153.2) 1520 0 R (lstnumber.-154.1) 1522 0 R (lstnumber.-154.2) 1523 0 R (lstnumber.-155.1) 1526 0 R] +/Limits [(lstnumber.-152.1) (lstnumber.-155.1)] +>> endobj +6066 0 obj << +/Names [(lstnumber.-156.1) 1533 0 R (lstnumber.-157.1) 1535 0 R (lstnumber.-157.2) 1536 0 R (lstnumber.-158.1) 1538 0 R (lstnumber.-159.1) 1540 0 R (lstnumber.-16.1) 1110 0 R] +/Limits [(lstnumber.-156.1) (lstnumber.-16.1)] +>> endobj +6067 0 obj << +/Names [(lstnumber.-160.1) 1543 0 R (lstnumber.-161.1) 1546 0 R (lstnumber.-162.1) 1549 0 R (lstnumber.-163.1) 1551 0 R (lstnumber.-163.2) 1552 0 R (lstnumber.-164.1) 1559 0 R] +/Limits [(lstnumber.-160.1) (lstnumber.-164.1)] +>> endobj +6068 0 obj << +/Names [(lstnumber.-165.1) 1562 0 R (lstnumber.-166.1) 1565 0 R (lstnumber.-167.1) 1568 0 R (lstnumber.-168.1) 1570 0 R (lstnumber.-169.1) 1572 0 R (lstnumber.-17.1) 1112 0 R] +/Limits [(lstnumber.-165.1) (lstnumber.-17.1)] +>> endobj +6069 0 obj << +/Names [(lstnumber.-170.1) 1574 0 R (lstnumber.-171.1) 1576 0 R (lstnumber.-172.1) 1578 0 R (lstnumber.-173.1) 1584 0 R (lstnumber.-174.1) 1586 0 R (lstnumber.-175.1) 1588 0 R] +/Limits [(lstnumber.-170.1) (lstnumber.-175.1)] +>> endobj +6070 0 obj << +/Names [(lstnumber.-176.1) 1590 0 R (lstnumber.-177.1) 1592 0 R (lstnumber.-178.1) 1594 0 R (lstnumber.-179.1) 1596 0 R (lstnumber.-18.1) 1114 0 R (lstnumber.-180.1) 1598 0 R] +/Limits [(lstnumber.-176.1) (lstnumber.-180.1)] +>> endobj +6071 0 obj << +/Names [(lstnumber.-181.1) 1600 0 R (lstnumber.-181.2) 1601 0 R (lstnumber.-181.3) 1602 0 R (lstnumber.-182.1) 1604 0 R (lstnumber.-183.1) 1606 0 R (lstnumber.-184.1) 1608 0 R] +/Limits [(lstnumber.-181.1) (lstnumber.-184.1)] +>> endobj +6072 0 obj << +/Names [(lstnumber.-185.1) 1610 0 R (lstnumber.-186.1) 1616 0 R (lstnumber.-187.1) 1618 0 R (lstnumber.-188.1) 1620 0 R (lstnumber.-189.1) 1622 0 R (lstnumber.-189.2) 1623 0 R] +/Limits [(lstnumber.-185.1) (lstnumber.-189.2)] +>> endobj +6073 0 obj << +/Names [(lstnumber.-189.3) 1624 0 R (lstnumber.-189.4) 1625 0 R (lstnumber.-189.5) 1626 0 R (lstnumber.-189.6) 1627 0 R (lstnumber.-19.1) 1116 0 R (lstnumber.-190.1) 1629 0 R] +/Limits [(lstnumber.-189.3) (lstnumber.-190.1)] +>> endobj +6074 0 obj << +/Names [(lstnumber.-190.2) 1630 0 R (lstnumber.-190.3) 1631 0 R (lstnumber.-191.1) 1633 0 R (lstnumber.-192.1) 1635 0 R (lstnumber.-193.1) 1637 0 R (lstnumber.-193.2) 1638 0 R] +/Limits [(lstnumber.-190.2) (lstnumber.-193.2)] +>> endobj +6075 0 obj << +/Names [(lstnumber.-194.1) 1640 0 R (lstnumber.-195.1) 1642 0 R (lstnumber.-196.1) 1644 0 R (lstnumber.-197.1) 1646 0 R (lstnumber.-198.1) 1648 0 R (lstnumber.-199.1) 1655 0 R] +/Limits [(lstnumber.-194.1) (lstnumber.-199.1)] +>> endobj +6076 0 obj << +/Names [(lstnumber.-2.1) 1067 0 R (lstnumber.-20.1) 1118 0 R (lstnumber.-200.1) 1657 0 R (lstnumber.-201.1) 1659 0 R (lstnumber.-202.1) 1661 0 R (lstnumber.-203.1) 1663 0 R] +/Limits [(lstnumber.-2.1) (lstnumber.-203.1)] +>> endobj +6077 0 obj << +/Names [(lstnumber.-204.1) 1665 0 R (lstnumber.-205.1) 1667 0 R (lstnumber.-206.1) 1669 0 R (lstnumber.-207.1) 1671 0 R (lstnumber.-208.1) 1673 0 R (lstnumber.-209.1) 1675 0 R] +/Limits [(lstnumber.-204.1) (lstnumber.-209.1)] +>> endobj +6078 0 obj << +/Names [(lstnumber.-21.1) 1120 0 R (lstnumber.-210.1) 1677 0 R (lstnumber.-211.1) 1679 0 R (lstnumber.-212.1) 1681 0 R (lstnumber.-213.1) 1683 0 R (lstnumber.-214.1) 1689 0 R] +/Limits [(lstnumber.-21.1) (lstnumber.-214.1)] +>> endobj +6079 0 obj << +/Names [(lstnumber.-215.1) 1691 0 R (lstnumber.-216.1) 1693 0 R (lstnumber.-217.1) 1695 0 R (lstnumber.-218.1) 1697 0 R (lstnumber.-219.1) 1699 0 R (lstnumber.-22.1) 1122 0 R] +/Limits [(lstnumber.-215.1) (lstnumber.-22.1)] +>> endobj +6080 0 obj << +/Names [(lstnumber.-22.2) 1123 0 R (lstnumber.-22.3) 1124 0 R (lstnumber.-22.4) 1125 0 R (lstnumber.-220.1) 1701 0 R (lstnumber.-221.1) 1703 0 R (lstnumber.-222.1) 1705 0 R] +/Limits [(lstnumber.-22.2) (lstnumber.-222.1)] +>> endobj +6081 0 obj << +/Names [(lstnumber.-223.1) 1707 0 R (lstnumber.-223.2) 1708 0 R (lstnumber.-224.1) 1710 0 R (lstnumber.-225.1) 1712 0 R (lstnumber.-226.1) 1714 0 R (lstnumber.-227.1) 1720 0 R] +/Limits [(lstnumber.-223.1) (lstnumber.-227.1)] +>> endobj +6082 0 obj << +/Names [(lstnumber.-228.1) 1722 0 R (lstnumber.-229.1) 1724 0 R (lstnumber.-23.1) 1127 0 R (lstnumber.-230.1) 1726 0 R (lstnumber.-231.1) 1728 0 R (lstnumber.-232.1) 1730 0 R] +/Limits [(lstnumber.-228.1) (lstnumber.-232.1)] +>> endobj +6083 0 obj << +/Names [(lstnumber.-233.1) 1732 0 R (lstnumber.-234.1) 1734 0 R (lstnumber.-235.1) 1736 0 R (lstnumber.-236.1) 1738 0 R (lstnumber.-237.1) 1740 0 R (lstnumber.-238.1) 1742 0 R] +/Limits [(lstnumber.-233.1) (lstnumber.-238.1)] +>> endobj +6084 0 obj << +/Names [(lstnumber.-239.1) 1744 0 R (lstnumber.-24.1) 1133 0 R (lstnumber.-240.1) 1750 0 R (lstnumber.-241.1) 1752 0 R (lstnumber.-242.1) 1754 0 R (lstnumber.-243.1) 1756 0 R] +/Limits [(lstnumber.-239.1) (lstnumber.-243.1)] +>> endobj +6085 0 obj << +/Names [(lstnumber.-244.1) 1758 0 R (lstnumber.-245.1) 1760 0 R (lstnumber.-246.1) 1762 0 R (lstnumber.-247.1) 1764 0 R (lstnumber.-248.1) 1766 0 R (lstnumber.-249.1) 1768 0 R] +/Limits [(lstnumber.-244.1) (lstnumber.-249.1)] +>> endobj +6086 0 obj << +/Names [(lstnumber.-25.1) 1135 0 R (lstnumber.-25.2) 1136 0 R (lstnumber.-250.1) 1770 0 R (lstnumber.-251.1) 1772 0 R (lstnumber.-252.1) 1774 0 R (lstnumber.-253.1) 1776 0 R] +/Limits [(lstnumber.-25.1) (lstnumber.-253.1)] +>> endobj +6087 0 obj << +/Names [(lstnumber.-253.2) 1777 0 R (lstnumber.-254.1) 1783 0 R (lstnumber.-255.1) 1785 0 R (lstnumber.-255.2) 1786 0 R (lstnumber.-255.3) 1787 0 R (lstnumber.-255.4) 1788 0 R] +/Limits [(lstnumber.-253.2) (lstnumber.-255.4)] +>> endobj +6088 0 obj << +/Names [(lstnumber.-255.5) 1789 0 R (lstnumber.-255.6) 1790 0 R (lstnumber.-256.1) 1792 0 R (lstnumber.-257.1) 1794 0 R (lstnumber.-258.1) 1796 0 R (lstnumber.-259.1) 1798 0 R] +/Limits [(lstnumber.-255.5) (lstnumber.-259.1)] +>> endobj +6089 0 obj << +/Names [(lstnumber.-26.1) 1139 0 R (lstnumber.-260.1) 1800 0 R (lstnumber.-261.1) 1802 0 R (lstnumber.-262.1) 1804 0 R (lstnumber.-263.1) 1806 0 R (lstnumber.-264.1) 1808 0 R] +/Limits [(lstnumber.-26.1) (lstnumber.-264.1)] +>> endobj +6090 0 obj << +/Names [(lstnumber.-265.1) 1810 0 R (lstnumber.-266.1) 1812 0 R (lstnumber.-267.1) 1818 0 R (lstnumber.-268.1) 1820 0 R (lstnumber.-269.1) 1822 0 R (lstnumber.-27.1) 1141 0 R] +/Limits [(lstnumber.-265.1) (lstnumber.-27.1)] +>> endobj +6091 0 obj << +/Names [(lstnumber.-270.1) 1824 0 R (lstnumber.-271.1) 1826 0 R (lstnumber.-271.2) 1827 0 R (lstnumber.-272.1) 1829 0 R (lstnumber.-273.1) 1831 0 R (lstnumber.-274.1) 1833 0 R] +/Limits [(lstnumber.-270.1) (lstnumber.-274.1)] +>> endobj +6092 0 obj << +/Names [(lstnumber.-274.2) 1834 0 R (lstnumber.-275.1) 1836 0 R (lstnumber.-276.1) 1838 0 R (lstnumber.-276.2) 1839 0 R (lstnumber.-276.3) 1840 0 R (lstnumber.-277.1) 1842 0 R] +/Limits [(lstnumber.-274.2) (lstnumber.-277.1)] +>> endobj +6093 0 obj << +/Names [(lstnumber.-277.2) 1843 0 R (lstnumber.-278.1) 1851 0 R (lstnumber.-279.1) 1853 0 R (lstnumber.-28.1) 1143 0 R (lstnumber.-280.1) 1855 0 R (lstnumber.-281.1) 1857 0 R] +/Limits [(lstnumber.-277.2) (lstnumber.-281.1)] +>> endobj +6094 0 obj << +/Names [(lstnumber.-282.1) 1859 0 R (lstnumber.-283.1) 1861 0 R (lstnumber.-284.1) 1863 0 R (lstnumber.-285.1) 1865 0 R (lstnumber.-286.1) 1867 0 R (lstnumber.-286.2) 1868 0 R] +/Limits [(lstnumber.-282.1) (lstnumber.-286.2)] +>> endobj +6095 0 obj << +/Names [(lstnumber.-286.3) 1869 0 R (lstnumber.-286.4) 1870 0 R (lstnumber.-286.5) 1871 0 R (lstnumber.-286.6) 1872 0 R (lstnumber.-287.1) 1874 0 R (lstnumber.-288.1) 1876 0 R] +/Limits [(lstnumber.-286.3) (lstnumber.-288.1)] +>> endobj +6096 0 obj << +/Names [(lstnumber.-289.1) 1878 0 R (lstnumber.-29.1) 1145 0 R (lstnumber.-290.1) 1884 0 R (lstnumber.-291.1) 1886 0 R (lstnumber.-292.1) 1888 0 R (lstnumber.-293.1) 1890 0 R] +/Limits [(lstnumber.-289.1) (lstnumber.-293.1)] +>> endobj +6097 0 obj << +/Names [(lstnumber.-294.1) 1892 0 R (lstnumber.-295.1) 1894 0 R (lstnumber.-296.1) 1896 0 R (lstnumber.-297.1) 1898 0 R (lstnumber.-298.1) 1900 0 R (lstnumber.-299.1) 1902 0 R] +/Limits [(lstnumber.-294.1) (lstnumber.-299.1)] +>> endobj +6098 0 obj << +/Names [(lstnumber.-3.1) 1069 0 R (lstnumber.-30.1) 1147 0 R (lstnumber.-300.1) 1904 0 R (lstnumber.-301.1) 1906 0 R (lstnumber.-302.1) 1908 0 R (lstnumber.-302.2) 1909 0 R] +/Limits [(lstnumber.-3.1) (lstnumber.-302.2)] +>> endobj +6099 0 obj << +/Names [(lstnumber.-303.1) 1911 0 R (lstnumber.-303.2) 1912 0 R (lstnumber.-304.1) 1918 0 R (lstnumber.-305.1) 1920 0 R (lstnumber.-306.1) 1922 0 R (lstnumber.-307.1) 1924 0 R] +/Limits [(lstnumber.-303.1) (lstnumber.-307.1)] +>> endobj +6100 0 obj << +/Names [(lstnumber.-308.1) 1926 0 R (lstnumber.-308.2) 1927 0 R (lstnumber.-309.1) 1929 0 R (lstnumber.-31.1) 1149 0 R (lstnumber.-310.1) 1931 0 R (lstnumber.-311.1) 1933 0 R] +/Limits [(lstnumber.-308.1) (lstnumber.-311.1)] +>> endobj +6101 0 obj << +/Names [(lstnumber.-312.1) 1935 0 R (lstnumber.-313.1) 1937 0 R (lstnumber.-314.1) 1939 0 R (lstnumber.-315.1) 1941 0 R (lstnumber.-316.1) 1944 0 R (lstnumber.-317.1) 1946 0 R] +/Limits [(lstnumber.-312.1) (lstnumber.-317.1)] +>> endobj +6102 0 obj << +/Names [(lstnumber.-318.1) 1953 0 R (lstnumber.-319.1) 1956 0 R (lstnumber.-319.2) 1957 0 R (lstnumber.-319.3) 1958 0 R (lstnumber.-32.1) 1151 0 R (lstnumber.-320.1) 1960 0 R] +/Limits [(lstnumber.-318.1) (lstnumber.-320.1)] +>> endobj +6103 0 obj << +/Names [(lstnumber.-320.2) 1961 0 R (lstnumber.-321.1) 1964 0 R (lstnumber.-322.1) 1966 0 R (lstnumber.-323.1) 1968 0 R (lstnumber.-324.1) 1970 0 R (lstnumber.-325.1) 1972 0 R] +/Limits [(lstnumber.-320.2) (lstnumber.-325.1)] +>> endobj +6104 0 obj << +/Names [(lstnumber.-326.1) 1979 0 R (lstnumber.-327.1) 1981 0 R (lstnumber.-328.1) 1984 0 R (lstnumber.-329.1) 1997 0 R (lstnumber.-33.1) 1153 0 R (lstnumber.-330.1) 1999 0 R] +/Limits [(lstnumber.-326.1) (lstnumber.-330.1)] +>> endobj +6105 0 obj << +/Names [(lstnumber.-331.1) 2001 0 R (lstnumber.-332.1) 2003 0 R (lstnumber.-333.1) 2005 0 R (lstnumber.-334.1) 2007 0 R (lstnumber.-335.1) 2009 0 R (lstnumber.-336.1) 2011 0 R] +/Limits [(lstnumber.-331.1) (lstnumber.-336.1)] +>> endobj +6106 0 obj << +/Names [(lstnumber.-337.1) 2013 0 R (lstnumber.-337.2) 2014 0 R (lstnumber.-337.3) 2015 0 R (lstnumber.-338.1) 2017 0 R (lstnumber.-339.1) 2024 0 R (lstnumber.-339.2) 2025 0 R] +/Limits [(lstnumber.-337.1) (lstnumber.-339.2)] +>> endobj +6107 0 obj << +/Names [(lstnumber.-34.1) 1155 0 R (lstnumber.-340.1) 2027 0 R (lstnumber.-341.1) 2029 0 R (lstnumber.-342.1) 2031 0 R (lstnumber.-343.1) 2033 0 R (lstnumber.-344.1) 2035 0 R] +/Limits [(lstnumber.-34.1) (lstnumber.-344.1)] +>> endobj +6108 0 obj << +/Names [(lstnumber.-344.2) 2036 0 R (lstnumber.-344.3) 2037 0 R (lstnumber.-344.4) 2038 0 R (lstnumber.-345.1) 2040 0 R (lstnumber.-345.2) 2041 0 R (lstnumber.-346.1) 2044 0 R] +/Limits [(lstnumber.-344.2) (lstnumber.-346.1)] +>> endobj +6109 0 obj << +/Names [(lstnumber.-347.1) 2046 0 R (lstnumber.-348.1) 2048 0 R (lstnumber.-349.1) 2050 0 R (lstnumber.-35.1) 1157 0 R (lstnumber.-350.1) 2056 0 R (lstnumber.-351.1) 2058 0 R] +/Limits [(lstnumber.-347.1) (lstnumber.-351.1)] +>> endobj +6110 0 obj << +/Names [(lstnumber.-351.2) 2059 0 R (lstnumber.-351.3) 2060 0 R (lstnumber.-352.1) 2062 0 R (lstnumber.-353.1) 2064 0 R (lstnumber.-353.2) 2065 0 R (lstnumber.-353.3) 2066 0 R] +/Limits [(lstnumber.-351.2) (lstnumber.-353.3)] +>> endobj +6111 0 obj << +/Names [(lstnumber.-353.4) 2067 0 R (lstnumber.-354.1) 2069 0 R (lstnumber.-355.1) 2071 0 R (lstnumber.-356.1) 2073 0 R (lstnumber.-356.2) 2074 0 R (lstnumber.-356.3) 2075 0 R] +/Limits [(lstnumber.-353.4) (lstnumber.-356.3)] +>> endobj +6112 0 obj << +/Names [(lstnumber.-356.4) 2076 0 R (lstnumber.-357.1) 2078 0 R (lstnumber.-358.1) 2080 0 R (lstnumber.-358.2) 2081 0 R (lstnumber.-359.1) 2083 0 R (lstnumber.-359.2) 2084 0 R] +/Limits [(lstnumber.-356.4) (lstnumber.-359.2)] +>> endobj +6113 0 obj << +/Names [(lstnumber.-36.1) 1159 0 R (lstnumber.-360.1) 2086 0 R (lstnumber.-360.2) 2087 0 R (lstnumber.-361.1) 2089 0 R (lstnumber.-361.2) 2090 0 R (lstnumber.-362.1) 2096 0 R] +/Limits [(lstnumber.-36.1) (lstnumber.-362.1)] +>> endobj +6114 0 obj << +/Names [(lstnumber.-363.1) 2098 0 R (lstnumber.-363.2) 2099 0 R (lstnumber.-364.1) 2101 0 R (lstnumber.-365.1) 2103 0 R (lstnumber.-366.1) 2105 0 R (lstnumber.-366.2) 2106 0 R] +/Limits [(lstnumber.-363.1) (lstnumber.-366.2)] +>> endobj +6115 0 obj << +/Names [(lstnumber.-366.3) 2107 0 R (lstnumber.-367.1) 2109 0 R (lstnumber.-368.1) 2111 0 R (lstnumber.-369.1) 2113 0 R (lstnumber.-37.1) 1165 0 R (lstnumber.-37.2) 1166 0 R] +/Limits [(lstnumber.-366.3) (lstnumber.-37.2)] +>> endobj +6116 0 obj << +/Names [(lstnumber.-370.1) 2115 0 R (lstnumber.-371.1) 2117 0 R (lstnumber.-372.1) 2120 0 R (lstnumber.-373.1) 2126 0 R (lstnumber.-373.2) 2127 0 R (lstnumber.-373.3) 2128 0 R] +/Limits [(lstnumber.-370.1) (lstnumber.-373.3)] +>> endobj +6117 0 obj << +/Names [(lstnumber.-373.4) 2129 0 R (lstnumber.-374.1) 2131 0 R (lstnumber.-375.1) 2133 0 R (lstnumber.-376.1) 2135 0 R (lstnumber.-376.2) 2136 0 R (lstnumber.-377.1) 2138 0 R] +/Limits [(lstnumber.-373.4) (lstnumber.-377.1)] +>> endobj +6118 0 obj << +/Names [(lstnumber.-377.2) 2139 0 R (lstnumber.-378.1) 2141 0 R (lstnumber.-379.1) 2143 0 R (lstnumber.-38.1) 1168 0 R (lstnumber.-38.2) 1169 0 R (lstnumber.-38.3) 1170 0 R] +/Limits [(lstnumber.-377.2) (lstnumber.-38.3)] +>> endobj +6119 0 obj << +/Names [(lstnumber.-380.1) 2145 0 R (lstnumber.-380.2) 2146 0 R (lstnumber.-381.1) 2148 0 R (lstnumber.-382.1) 2150 0 R (lstnumber.-382.2) 2151 0 R (lstnumber.-383.1) 2153 0 R] +/Limits [(lstnumber.-380.1) (lstnumber.-383.1)] +>> endobj +6120 0 obj << +/Names [(lstnumber.-383.2) 2154 0 R (lstnumber.-384.1) 2156 0 R (lstnumber.-384.2) 2157 0 R (lstnumber.-384.3) 2158 0 R (lstnumber.-385.1) 2164 0 R (lstnumber.-385.2) 2165 0 R] +/Limits [(lstnumber.-383.2) (lstnumber.-385.2)] +>> endobj +6121 0 obj << +/Names [(lstnumber.-385.3) 2166 0 R (lstnumber.-385.4) 2167 0 R (lstnumber.-385.5) 2168 0 R (lstnumber.-385.6) 2169 0 R (lstnumber.-385.7) 2170 0 R (lstnumber.-386.1) 2172 0 R] +/Limits [(lstnumber.-385.3) (lstnumber.-386.1)] +>> endobj +6122 0 obj << +/Names [(lstnumber.-386.2) 2173 0 R (lstnumber.-386.3) 2174 0 R (lstnumber.-387.1) 2176 0 R (lstnumber.-387.2) 2177 0 R (lstnumber.-387.3) 2178 0 R (lstnumber.-387.4) 2179 0 R] +/Limits [(lstnumber.-386.2) (lstnumber.-387.4)] +>> endobj +6123 0 obj << +/Names [(lstnumber.-387.5) 2180 0 R (lstnumber.-388.1) 2182 0 R (lstnumber.-388.2) 2183 0 R (lstnumber.-389.1) 2185 0 R (lstnumber.-39.1) 1172 0 R (lstnumber.-39.2) 1173 0 R] +/Limits [(lstnumber.-387.5) (lstnumber.-39.2)] +>> endobj +6124 0 obj << +/Names [(lstnumber.-39.3) 1174 0 R (lstnumber.-390.1) 2187 0 R (lstnumber.-390.2) 2188 0 R (lstnumber.-391.1) 2190 0 R (lstnumber.-392.1) 2192 0 R (lstnumber.-392.2) 2193 0 R] +/Limits [(lstnumber.-39.3) (lstnumber.-392.2)] +>> endobj +6125 0 obj << +/Names [(lstnumber.-392.3) 2194 0 R (lstnumber.-393.1) 2196 0 R (lstnumber.-394.1) 2198 0 R (lstnumber.-394.2) 2199 0 R (lstnumber.-395.1) 2207 0 R (lstnumber.-396.1) 2210 0 R] +/Limits [(lstnumber.-392.3) (lstnumber.-396.1)] +>> endobj +6126 0 obj << +/Names [(lstnumber.-397.1) 2213 0 R (lstnumber.-398.1) 2216 0 R (lstnumber.-399.1) 2218 0 R (lstnumber.-399.2) 2219 0 R (lstnumber.-4.1) 1071 0 R (lstnumber.-40.1) 1176 0 R] +/Limits [(lstnumber.-397.1) (lstnumber.-40.1)] +>> endobj +6127 0 obj << +/Names [(lstnumber.-400.1) 2222 0 R (lstnumber.-401.1) 2224 0 R (lstnumber.-402.1) 2230 0 R (lstnumber.-403.1) 2232 0 R (lstnumber.-404.1) 2234 0 R (lstnumber.-405.1) 2236 0 R] +/Limits [(lstnumber.-400.1) (lstnumber.-405.1)] +>> endobj +6128 0 obj << +/Names [(lstnumber.-406.1) 2238 0 R (lstnumber.-407.1) 2240 0 R (lstnumber.-408.1) 2242 0 R (lstnumber.-409.1) 2244 0 R (lstnumber.-41.1) 1178 0 R (lstnumber.-410.1) 2246 0 R] +/Limits [(lstnumber.-406.1) (lstnumber.-410.1)] +>> endobj +6129 0 obj << +/Names [(lstnumber.-411.1) 2248 0 R (lstnumber.-412.1) 2250 0 R (lstnumber.-413.1) 2252 0 R (lstnumber.-414.1) 2254 0 R (lstnumber.-414.2) 2255 0 R (lstnumber.-414.3) 2256 0 R] +/Limits [(lstnumber.-411.1) (lstnumber.-414.3)] +>> endobj +6130 0 obj << +/Names [(lstnumber.-415.1) 2258 0 R (lstnumber.-416.1) 2264 0 R (lstnumber.-417.1) 2266 0 R (lstnumber.-417.2) 2267 0 R (lstnumber.-417.3) 2268 0 R (lstnumber.-417.4) 2269 0 R] +/Limits [(lstnumber.-415.1) (lstnumber.-417.4)] +>> endobj +6131 0 obj << +/Names [(lstnumber.-417.5) 2270 0 R (lstnumber.-417.6) 2271 0 R (lstnumber.-418.1) 2273 0 R (lstnumber.-418.2) 2274 0 R (lstnumber.-418.3) 2275 0 R (lstnumber.-419.1) 2277 0 R] +/Limits [(lstnumber.-417.5) (lstnumber.-419.1)] +>> endobj +6132 0 obj << +/Names [(lstnumber.-42.1) 1180 0 R (lstnumber.-420.1) 2279 0 R (lstnumber.-420.2) 2280 0 R (lstnumber.-421.1) 2282 0 R (lstnumber.-422.1) 2284 0 R (lstnumber.-423.1) 2286 0 R] +/Limits [(lstnumber.-42.1) (lstnumber.-423.1)] +>> endobj +6133 0 obj << +/Names [(lstnumber.-424.1) 2288 0 R (lstnumber.-425.1) 2290 0 R (lstnumber.-426.1) 2292 0 R (lstnumber.-427.1) 2294 0 R (lstnumber.-428.1) 2296 0 R (lstnumber.-429.1) 2302 0 R] +/Limits [(lstnumber.-424.1) (lstnumber.-429.1)] +>> endobj +6134 0 obj << +/Names [(lstnumber.-43.1) 1182 0 R (lstnumber.-43.2) 1183 0 R (lstnumber.-43.3) 1184 0 R (lstnumber.-43.4) 1185 0 R (lstnumber.-430.1) 2304 0 R (lstnumber.-431.1) 2306 0 R] +/Limits [(lstnumber.-43.1) (lstnumber.-431.1)] +>> endobj +6135 0 obj << +/Names [(lstnumber.-432.1) 2308 0 R (lstnumber.-433.1) 2310 0 R (lstnumber.-434.1) 2312 0 R (lstnumber.-435.1) 2314 0 R (lstnumber.-436.1) 2316 0 R (lstnumber.-437.1) 2318 0 R] +/Limits [(lstnumber.-432.1) (lstnumber.-437.1)] +>> endobj +6136 0 obj << +/Names [(lstnumber.-438.1) 2320 0 R (lstnumber.-439.1) 2322 0 R (lstnumber.-44.1) 1187 0 R (lstnumber.-440.1) 2324 0 R (lstnumber.-441.1) 2326 0 R (lstnumber.-442.1) 2328 0 R] +/Limits [(lstnumber.-438.1) (lstnumber.-442.1)] +>> endobj +6137 0 obj << +/Names [(lstnumber.-442.2) 2329 0 R (lstnumber.-443.1) 2335 0 R (lstnumber.-444.1) 2337 0 R (lstnumber.-445.1) 2339 0 R (lstnumber.-446.1) 2341 0 R (lstnumber.-447.1) 2343 0 R] +/Limits [(lstnumber.-442.2) (lstnumber.-447.1)] +>> endobj +6138 0 obj << +/Names [(lstnumber.-448.1) 2345 0 R (lstnumber.-449.1) 2347 0 R (lstnumber.-45.1) 1189 0 R (lstnumber.-450.1) 2349 0 R (lstnumber.-451.1) 2351 0 R (lstnumber.-452.1) 2353 0 R] +/Limits [(lstnumber.-448.1) (lstnumber.-452.1)] +>> endobj +6139 0 obj << +/Names [(lstnumber.-453.1) 2355 0 R (lstnumber.-454.1) 2357 0 R (lstnumber.-455.1) 2359 0 R (lstnumber.-456.1) 2365 0 R (lstnumber.-457.1) 2367 0 R (lstnumber.-458.1) 2369 0 R] +/Limits [(lstnumber.-453.1) (lstnumber.-458.1)] +>> endobj +6140 0 obj << +/Names [(lstnumber.-459.1) 2371 0 R (lstnumber.-46.1) 1191 0 R (lstnumber.-460.1) 2373 0 R (lstnumber.-461.1) 2375 0 R (lstnumber.-462.1) 2377 0 R (lstnumber.-463.1) 2379 0 R] +/Limits [(lstnumber.-459.1) (lstnumber.-463.1)] +>> endobj +6141 0 obj << +/Names [(lstnumber.-464.1) 2381 0 R (lstnumber.-465.1) 2383 0 R (lstnumber.-466.1) 2385 0 R (lstnumber.-467.1) 2387 0 R (lstnumber.-468.1) 2389 0 R (lstnumber.-468.2) 2390 0 R] +/Limits [(lstnumber.-464.1) (lstnumber.-468.2)] +>> endobj +6142 0 obj << +/Names [(lstnumber.-469.1) 2392 0 R (lstnumber.-47.1) 1193 0 R (lstnumber.-470.1) 2399 0 R (lstnumber.-470.2) 2400 0 R (lstnumber.-470.3) 2401 0 R (lstnumber.-470.4) 2402 0 R] +/Limits [(lstnumber.-469.1) (lstnumber.-470.4)] +>> endobj +6143 0 obj << +/Names [(lstnumber.-470.5) 2403 0 R (lstnumber.-470.6) 2404 0 R (lstnumber.-471.1) 2406 0 R (lstnumber.-472.1) 2408 0 R (lstnumber.-473.1) 2410 0 R (lstnumber.-474.1) 2412 0 R] +/Limits [(lstnumber.-470.5) (lstnumber.-474.1)] +>> endobj +6144 0 obj << +/Names [(lstnumber.-475.1) 2414 0 R (lstnumber.-476.1) 2416 0 R (lstnumber.-477.1) 2418 0 R (lstnumber.-478.1) 2420 0 R (lstnumber.-479.1) 2422 0 R (lstnumber.-48.1) 1195 0 R] +/Limits [(lstnumber.-475.1) (lstnumber.-48.1)] +>> endobj +6145 0 obj << +/Names [(lstnumber.-48.2) 1196 0 R (lstnumber.-48.3) 1197 0 R (lstnumber.-48.4) 1198 0 R (lstnumber.-480.1) 2424 0 R (lstnumber.-481.1) 2426 0 R (lstnumber.-482.1) 2428 0 R] +/Limits [(lstnumber.-48.2) (lstnumber.-482.1)] +>> endobj +6146 0 obj << +/Names [(lstnumber.-483.1) 2434 0 R (lstnumber.-484.1) 2436 0 R (lstnumber.-485.1) 2438 0 R (lstnumber.-486.1) 2440 0 R (lstnumber.-486.2) 2441 0 R (lstnumber.-487.1) 2443 0 R] +/Limits [(lstnumber.-483.1) (lstnumber.-487.1)] +>> endobj +6147 0 obj << +/Names [(lstnumber.-488.1) 2445 0 R (lstnumber.-489.1) 2447 0 R (lstnumber.-489.2) 2448 0 R (lstnumber.-49.1) 1204 0 R (lstnumber.-490.1) 2450 0 R (lstnumber.-491.1) 2452 0 R] +/Limits [(lstnumber.-488.1) (lstnumber.-491.1)] +>> endobj +6148 0 obj << +/Names [(lstnumber.-491.2) 2453 0 R (lstnumber.-491.3) 2454 0 R (lstnumber.-492.1) 2456 0 R (lstnumber.-492.2) 2457 0 R (lstnumber.-493.1) 2460 0 R (lstnumber.-494.1) 2466 0 R] +/Limits [(lstnumber.-491.2) (lstnumber.-494.1)] +>> endobj +6149 0 obj << +/Names [(lstnumber.-495.1) 2468 0 R (lstnumber.-496.1) 2470 0 R (lstnumber.-497.1) 2472 0 R (lstnumber.-497.2) 2473 0 R (lstnumber.-497.3) 2474 0 R (lstnumber.-497.4) 2475 0 R] +/Limits [(lstnumber.-495.1) (lstnumber.-497.4)] +>> endobj +6150 0 obj << +/Names [(lstnumber.-497.5) 2476 0 R (lstnumber.-497.6) 2477 0 R (lstnumber.-498.1) 2479 0 R (lstnumber.-499.1) 2481 0 R (lstnumber.-5.1) 1073 0 R (lstnumber.-50.1) 1207 0 R] +/Limits [(lstnumber.-497.5) (lstnumber.-50.1)] +>> endobj +6151 0 obj << +/Names [(lstnumber.-500.1) 2483 0 R (lstnumber.-501.1) 2485 0 R (lstnumber.-502.1) 2487 0 R (lstnumber.-503.1) 2489 0 R (lstnumber.-503.2) 2490 0 R (lstnumber.-504.1) 2492 0 R] +/Limits [(lstnumber.-500.1) (lstnumber.-504.1)] +>> endobj +6152 0 obj << +/Names [(lstnumber.-504.2) 2493 0 R (lstnumber.-505.1) 2495 0 R (lstnumber.-506.1) 2497 0 R (lstnumber.-507.1) 2503 0 R (lstnumber.-508.1) 2505 0 R (lstnumber.-509.1) 2507 0 R] +/Limits [(lstnumber.-504.2) (lstnumber.-509.1)] +>> endobj +6153 0 obj << +/Names [(lstnumber.-51.1) 1209 0 R (lstnumber.-51.2) 1210 0 R (lstnumber.-510.1) 2510 0 R (lstnumber.-511.1) 2512 0 R (lstnumber.-512.1) 2515 0 R (lstnumber.-513.1) 2518 0 R] +/Limits [(lstnumber.-51.1) (lstnumber.-513.1)] +>> endobj +6154 0 obj << +/Names [(lstnumber.-513.2) 2519 0 R (lstnumber.-513.3) 2520 0 R (lstnumber.-514.1) 2522 0 R (lstnumber.-514.2) 2523 0 R (lstnumber.-515.1) 2526 0 R (lstnumber.-516.1) 2533 0 R] +/Limits [(lstnumber.-513.2) (lstnumber.-516.1)] +>> endobj +6155 0 obj << +/Names [(lstnumber.-517.1) 2535 0 R (lstnumber.-518.1) 2538 0 R (lstnumber.-519.1) 2542 0 R (lstnumber.-519.2) 2543 0 R (lstnumber.-52.1) 1212 0 R (lstnumber.-52.2) 1213 0 R] +/Limits [(lstnumber.-517.1) (lstnumber.-52.2)] +>> endobj +6156 0 obj << +/Names [(lstnumber.-520.1) 2546 0 R (lstnumber.-521.1) 2549 0 R (lstnumber.-522.1) 2558 0 R (lstnumber.-523.1) 2560 0 R (lstnumber.-524.1) 2562 0 R (lstnumber.-525.1) 2564 0 R] +/Limits [(lstnumber.-520.1) (lstnumber.-525.1)] +>> endobj +6157 0 obj << +/Names [(lstnumber.-526.1) 2566 0 R (lstnumber.-527.1) 2568 0 R (lstnumber.-528.1) 2570 0 R (lstnumber.-529.1) 2572 0 R (lstnumber.-53.1) 1215 0 R (lstnumber.-530.1) 2580 0 R] +/Limits [(lstnumber.-526.1) (lstnumber.-530.1)] +>> endobj +6158 0 obj << +/Names [(lstnumber.-531.1) 2582 0 R (lstnumber.-532.1) 2584 0 R (lstnumber.-533.1) 2586 0 R (lstnumber.-533.2) 2587 0 R (lstnumber.-534.1) 2589 0 R (lstnumber.-535.1) 2591 0 R] +/Limits [(lstnumber.-531.1) (lstnumber.-535.1)] +>> endobj +6159 0 obj << +/Names [(lstnumber.-536.1) 2593 0 R (lstnumber.-537.1) 2595 0 R (lstnumber.-538.1) 2597 0 R (lstnumber.-539.1) 2599 0 R (lstnumber.-539.2) 2600 0 R (lstnumber.-54.1) 1217 0 R] +/Limits [(lstnumber.-536.1) (lstnumber.-54.1)] +>> endobj +6160 0 obj << +/Names [(lstnumber.-54.2) 1218 0 R (lstnumber.-540.1) 2602 0 R (lstnumber.-540.2) 2603 0 R (lstnumber.-541.1) 2609 0 R (lstnumber.-542.1) 2611 0 R (lstnumber.-542.2) 2612 0 R] +/Limits [(lstnumber.-54.2) (lstnumber.-542.2)] +>> endobj +6161 0 obj << +/Names [(lstnumber.-543.1) 2614 0 R (lstnumber.-543.2) 2615 0 R (lstnumber.-544.1) 2617 0 R (lstnumber.-544.2) 2618 0 R (lstnumber.-545.1) 2620 0 R (lstnumber.-545.2) 2621 0 R] +/Limits [(lstnumber.-543.1) (lstnumber.-545.2)] +>> endobj +6162 0 obj << +/Names [(lstnumber.-546.1) 2624 0 R (lstnumber.-547.1) 2626 0 R (lstnumber.-547.2) 2627 0 R (lstnumber.-548.1) 2629 0 R (lstnumber.-549.1) 2631 0 R (lstnumber.-55.1) 1220 0 R] +/Limits [(lstnumber.-546.1) (lstnumber.-55.1)] +>> endobj +6163 0 obj << +/Names [(lstnumber.-550.1) 2633 0 R (lstnumber.-551.1) 2635 0 R (lstnumber.-552.1) 2637 0 R (lstnumber.-553.1) 2643 0 R (lstnumber.-554.1) 2645 0 R (lstnumber.-555.1) 2647 0 R] +/Limits [(lstnumber.-550.1) (lstnumber.-555.1)] +>> endobj +6164 0 obj << +/Names [(lstnumber.-555.2) 2648 0 R (lstnumber.-555.3) 2649 0 R (lstnumber.-556.1) 2651 0 R (lstnumber.-557.1) 2653 0 R (lstnumber.-558.1) 2655 0 R (lstnumber.-558.2) 2656 0 R] +/Limits [(lstnumber.-555.2) (lstnumber.-558.2)] +>> endobj +6165 0 obj << +/Names [(lstnumber.-559.1) 2658 0 R (lstnumber.-56.1) 1222 0 R (lstnumber.-560.1) 2660 0 R (lstnumber.-560.2) 2661 0 R (lstnumber.-560.3) 2662 0 R (lstnumber.-561.1) 2664 0 R] +/Limits [(lstnumber.-559.1) (lstnumber.-561.1)] +>> endobj +6166 0 obj << +/Names [(lstnumber.-561.2) 2665 0 R (lstnumber.-562.1) 2667 0 R (lstnumber.-563.1) 2670 0 R (lstnumber.-564.1) 2676 0 R (lstnumber.-565.1) 2678 0 R (lstnumber.-566.1) 2680 0 R] +/Limits [(lstnumber.-561.2) (lstnumber.-566.1)] +>> endobj +6167 0 obj << +/Names [(lstnumber.-567.1) 2682 0 R (lstnumber.-567.2) 2683 0 R (lstnumber.-568.1) 2685 0 R (lstnumber.-569.1) 2687 0 R (lstnumber.-57.1) 1224 0 R (lstnumber.-570.1) 2689 0 R] +/Limits [(lstnumber.-567.1) (lstnumber.-570.1)] +>> endobj +6168 0 obj << +/Names [(lstnumber.-571.1) 2691 0 R (lstnumber.-571.2) 2692 0 R (lstnumber.-572.1) 2694 0 R (lstnumber.-573.1) 2696 0 R (lstnumber.-573.2) 2697 0 R (lstnumber.-574.1) 2699 0 R] +/Limits [(lstnumber.-571.1) (lstnumber.-574.1)] +>> endobj +6169 0 obj << +/Names [(lstnumber.-575.1) 2701 0 R (lstnumber.-575.2) 2702 0 R (lstnumber.-575.3) 2703 0 R (lstnumber.-576.1) 2705 0 R (lstnumber.-577.1) 2711 0 R (lstnumber.-578.1) 2713 0 R] +/Limits [(lstnumber.-575.1) (lstnumber.-578.1)] +>> endobj +6170 0 obj << +/Names [(lstnumber.-579.1) 2715 0 R (lstnumber.-58.1) 1226 0 R (lstnumber.-58.2) 1227 0 R (lstnumber.-580.1) 2717 0 R (lstnumber.-581.1) 2719 0 R (lstnumber.-582.1) 2721 0 R] +/Limits [(lstnumber.-579.1) (lstnumber.-582.1)] +>> endobj +6171 0 obj << +/Names [(lstnumber.-582.2) 2722 0 R (lstnumber.-583.1) 2724 0 R (lstnumber.-584.1) 2726 0 R (lstnumber.-585.1) 2728 0 R (lstnumber.-586.1) 2730 0 R (lstnumber.-587.1) 2732 0 R] +/Limits [(lstnumber.-582.2) (lstnumber.-587.1)] +>> endobj +6172 0 obj << +/Names [(lstnumber.-587.2) 2733 0 R (lstnumber.-587.3) 2734 0 R (lstnumber.-587.4) 2735 0 R (lstnumber.-587.5) 2736 0 R (lstnumber.-587.6) 2737 0 R (lstnumber.-588.1) 2739 0 R] +/Limits [(lstnumber.-587.2) (lstnumber.-588.1)] +>> endobj +6173 0 obj << +/Names [(lstnumber.-589.1) 2741 0 R (lstnumber.-589.2) 2742 0 R (lstnumber.-59.1) 1229 0 R (lstnumber.-59.2) 1230 0 R (lstnumber.-590.1) 2749 0 R (lstnumber.-590.2) 2750 0 R] +/Limits [(lstnumber.-589.1) (lstnumber.-590.2)] +>> endobj +6174 0 obj << +/Names [(lstnumber.-591.1) 2752 0 R (lstnumber.-592.1) 2754 0 R (lstnumber.-593.1) 2756 0 R (lstnumber.-593.2) 2757 0 R (lstnumber.-593.3) 2758 0 R (lstnumber.-593.4) 2759 0 R] +/Limits [(lstnumber.-591.1) (lstnumber.-593.4)] +>> endobj +6175 0 obj << +/Names [(lstnumber.-594.1) 2762 0 R (lstnumber.-595.1) 2764 0 R (lstnumber.-596.1) 2766 0 R (lstnumber.-596.2) 2767 0 R (lstnumber.-597.1) 2769 0 R (lstnumber.-598.1) 2771 0 R] +/Limits [(lstnumber.-594.1) (lstnumber.-598.1)] +>> endobj +6176 0 obj << +/Names [(lstnumber.-599.1) 2773 0 R (lstnumber.-6.1) 1075 0 R (lstnumber.-60.1) 1232 0 R (lstnumber.-60.2) 1233 0 R (lstnumber.-600.1) 2780 0 R (lstnumber.-600.2) 2781 0 R] +/Limits [(lstnumber.-599.1) (lstnumber.-600.2)] +>> endobj +6177 0 obj << +/Names [(lstnumber.-600.3) 2782 0 R (lstnumber.-600.4) 2783 0 R (lstnumber.-600.5) 2784 0 R (lstnumber.-600.6) 2785 0 R (lstnumber.-601.1) 2787 0 R (lstnumber.-601.10) 2796 0 R] +/Limits [(lstnumber.-600.3) (lstnumber.-601.10)] +>> endobj +6178 0 obj << +/Names [(lstnumber.-601.11) 2797 0 R (lstnumber.-601.12) 2798 0 R (lstnumber.-601.13) 2799 0 R (lstnumber.-601.14) 2800 0 R (lstnumber.-601.15) 2801 0 R (lstnumber.-601.16) 2802 0 R] +/Limits [(lstnumber.-601.11) (lstnumber.-601.16)] +>> endobj +6179 0 obj << +/Names [(lstnumber.-601.17) 2803 0 R (lstnumber.-601.18) 2804 0 R (lstnumber.-601.2) 2788 0 R (lstnumber.-601.3) 2789 0 R (lstnumber.-601.4) 2790 0 R (lstnumber.-601.5) 2791 0 R] +/Limits [(lstnumber.-601.17) (lstnumber.-601.5)] +>> endobj +6180 0 obj << +/Names [(lstnumber.-601.6) 2792 0 R (lstnumber.-601.7) 2793 0 R (lstnumber.-601.8) 2794 0 R (lstnumber.-601.9) 2795 0 R (lstnumber.-602.1) 2806 0 R (lstnumber.-603.1) 2808 0 R] +/Limits [(lstnumber.-601.6) (lstnumber.-603.1)] +>> endobj +6181 0 obj << +/Names [(lstnumber.-603.2) 2809 0 R (lstnumber.-603.3) 2810 0 R (lstnumber.-604.1) 2812 0 R (lstnumber.-604.2) 2813 0 R (lstnumber.-604.3) 2814 0 R (lstnumber.-604.4) 2815 0 R] +/Limits [(lstnumber.-603.2) (lstnumber.-604.4)] +>> endobj +6182 0 obj << +/Names [(lstnumber.-604.5) 2816 0 R (lstnumber.-605.1) 2819 0 R (lstnumber.-605.2) 2820 0 R (lstnumber.-605.3) 2825 0 R (lstnumber.-605.4) 2826 0 R (lstnumber.-606.1) 2829 0 R] +/Limits [(lstnumber.-604.5) (lstnumber.-606.1)] +>> endobj +6183 0 obj << +/Names [(lstnumber.-606.2) 2830 0 R (lstnumber.-606.3) 2831 0 R (lstnumber.-607.1) 2833 0 R (lstnumber.-608.1) 2835 0 R (lstnumber.-609.1) 2837 0 R (lstnumber.-61.1) 1235 0 R] +/Limits [(lstnumber.-606.2) (lstnumber.-61.1)] +>> endobj +6184 0 obj << +/Names [(lstnumber.-61.2) 1236 0 R (lstnumber.-610.1) 2839 0 R (lstnumber.-611.1) 2841 0 R (lstnumber.-612.1) 2844 0 R (lstnumber.-613.1) 2852 0 R (lstnumber.-614.1) 2854 0 R] +/Limits [(lstnumber.-61.2) (lstnumber.-614.1)] +>> endobj +6185 0 obj << +/Names [(lstnumber.-615.1) 2856 0 R (lstnumber.-616.1) 2858 0 R (lstnumber.-617.1) 2861 0 R (lstnumber.-618.1) 2863 0 R (lstnumber.-619.1) 2866 0 R (lstnumber.-62.1) 1243 0 R] +/Limits [(lstnumber.-615.1) (lstnumber.-62.1)] +>> endobj +6186 0 obj << +/Names [(lstnumber.-620.1) 2869 0 R (lstnumber.-621.1) 2871 0 R (lstnumber.-622.1) 2873 0 R (lstnumber.-623.1) 2880 0 R (lstnumber.-624.1) 2882 0 R (lstnumber.-625.1) 2885 0 R] +/Limits [(lstnumber.-620.1) (lstnumber.-625.1)] +>> endobj +6187 0 obj << +/Names [(lstnumber.-626.1) 2887 0 R (lstnumber.-627.1) 2890 0 R (lstnumber.-628.1) 2893 0 R (lstnumber.-629.1) 2896 0 R (lstnumber.-63.1) 1245 0 R (lstnumber.-630.1) 2904 0 R] +/Limits [(lstnumber.-626.1) (lstnumber.-630.1)] +>> endobj +6188 0 obj << +/Names [(lstnumber.-631.1) 2906 0 R (lstnumber.-632.1) 2909 0 R (lstnumber.-633.1) 2911 0 R (lstnumber.-634.1) 2914 0 R (lstnumber.-635.1) 2916 0 R (lstnumber.-636.1) 2918 0 R] +/Limits [(lstnumber.-631.1) (lstnumber.-636.1)] +>> endobj +6189 0 obj << +/Names [(lstnumber.-637.1) 2921 0 R (lstnumber.-638.1) 2934 0 R (lstnumber.-639.1) 2936 0 R (lstnumber.-64.1) 1247 0 R (lstnumber.-64.2) 1248 0 R (lstnumber.-640.1) 2938 0 R] +/Limits [(lstnumber.-637.1) (lstnumber.-640.1)] +>> endobj +6190 0 obj << +/Names [(lstnumber.-640.2) 2939 0 R (lstnumber.-641.1) 2941 0 R (lstnumber.-642.1) 2943 0 R (lstnumber.-643.1) 2945 0 R (lstnumber.-644.1) 2947 0 R (lstnumber.-645.1) 2949 0 R] +/Limits [(lstnumber.-640.2) (lstnumber.-645.1)] +>> endobj +6191 0 obj << +/Names [(lstnumber.-646.1) 2956 0 R (lstnumber.-647.1) 2958 0 R (lstnumber.-647.2) 2959 0 R (lstnumber.-647.3) 2960 0 R (lstnumber.-647.4) 2961 0 R (lstnumber.-647.5) 2962 0 R] +/Limits [(lstnumber.-646.1) (lstnumber.-647.5)] +>> endobj +6192 0 obj << +/Names [(lstnumber.-647.6) 2963 0 R (lstnumber.-647.7) 2964 0 R (lstnumber.-647.8) 2965 0 R (lstnumber.-647.9) 2966 0 R (lstnumber.-648.1) 2968 0 R (lstnumber.-648.2) 2969 0 R] +/Limits [(lstnumber.-647.6) (lstnumber.-648.2)] +>> endobj +6193 0 obj << +/Names [(lstnumber.-649.1) 2971 0 R (lstnumber.-649.2) 2972 0 R (lstnumber.-65.1) 1250 0 R (lstnumber.-650.1) 2974 0 R (lstnumber.-651.1) 2976 0 R (lstnumber.-652.1) 2978 0 R] +/Limits [(lstnumber.-649.1) (lstnumber.-652.1)] +>> endobj +6194 0 obj << +/Names [(lstnumber.-652.2) 2979 0 R (lstnumber.-652.3) 2980 0 R (lstnumber.-653.1) 2982 0 R (lstnumber.-653.2) 2983 0 R (lstnumber.-653.3) 2984 0 R (lstnumber.-654.1) 2986 0 R] +/Limits [(lstnumber.-652.2) (lstnumber.-654.1)] +>> endobj +6195 0 obj << +/Names [(lstnumber.-654.2) 2987 0 R (lstnumber.-655.1) 2989 0 R (lstnumber.-655.2) 2990 0 R (lstnumber.-655.3) 2991 0 R (lstnumber.-655.4) 2992 0 R (lstnumber.-656.1) 2998 0 R] +/Limits [(lstnumber.-654.2) (lstnumber.-656.1)] +>> endobj +6196 0 obj << +/Names [(lstnumber.-656.2) 2999 0 R (lstnumber.-656.3) 3000 0 R (lstnumber.-657.1) 3002 0 R (lstnumber.-658.1) 3004 0 R (lstnumber.-659.1) 3006 0 R (lstnumber.-66.1) 1252 0 R] +/Limits [(lstnumber.-656.2) (lstnumber.-66.1)] +>> endobj +6197 0 obj << +/Names [(lstnumber.-660.1) 3008 0 R (lstnumber.-661.1) 3011 0 R (lstnumber.-662.1) 3013 0 R (lstnumber.-662.2) 3014 0 R (lstnumber.-663.1) 3016 0 R (lstnumber.-664.1) 3018 0 R] +/Limits [(lstnumber.-660.1) (lstnumber.-664.1)] +>> endobj +6198 0 obj << +/Names [(lstnumber.-665.1) 3020 0 R (lstnumber.-665.2) 3021 0 R (lstnumber.-666.1) 3023 0 R (lstnumber.-667.1) 3025 0 R (lstnumber.-668.1) 3031 0 R (lstnumber.-669.1) 3033 0 R] +/Limits [(lstnumber.-665.1) (lstnumber.-669.1)] +>> endobj +6199 0 obj << +/Names [(lstnumber.-669.2) 3034 0 R (lstnumber.-669.3) 3035 0 R (lstnumber.-669.4) 3036 0 R (lstnumber.-669.5) 3037 0 R (lstnumber.-669.6) 3038 0 R (lstnumber.-669.7) 3039 0 R] +/Limits [(lstnumber.-669.2) (lstnumber.-669.7)] +>> endobj +6200 0 obj << +/Names [(lstnumber.-669.8) 3040 0 R (lstnumber.-669.9) 3041 0 R (lstnumber.-67.1) 1254 0 R (lstnumber.-670.1) 3043 0 R (lstnumber.-670.2) 3044 0 R (lstnumber.-671.1) 3046 0 R] +/Limits [(lstnumber.-669.8) (lstnumber.-671.1)] +>> endobj +6201 0 obj << +/Names [(lstnumber.-671.2) 3047 0 R (lstnumber.-672.1) 3049 0 R (lstnumber.-673.1) 3051 0 R (lstnumber.-674.1) 3053 0 R (lstnumber.-675.1) 3055 0 R (lstnumber.-675.2) 3056 0 R] +/Limits [(lstnumber.-671.2) (lstnumber.-675.2)] +>> endobj +6202 0 obj << +/Names [(lstnumber.-676.1) 3058 0 R (lstnumber.-676.2) 3059 0 R (lstnumber.-677.1) 3061 0 R (lstnumber.-678.1) 3063 0 R (lstnumber.-679.1) 3069 0 R (lstnumber.-68.1) 1256 0 R] +/Limits [(lstnumber.-676.1) (lstnumber.-68.1)] +>> endobj +6203 0 obj << +/Names [(lstnumber.-680.1) 3071 0 R (lstnumber.-680.2) 3072 0 R (lstnumber.-681.1) 3074 0 R (lstnumber.-682.1) 3076 0 R (lstnumber.-682.2) 3077 0 R (lstnumber.-683.1) 3079 0 R] +/Limits [(lstnumber.-680.1) (lstnumber.-683.1)] +>> endobj +6204 0 obj << +/Names [(lstnumber.-684.1) 3081 0 R (lstnumber.-685.1) 3083 0 R (lstnumber.-685.2) 3084 0 R (lstnumber.-686.1) 3086 0 R (lstnumber.-686.2) 3087 0 R (lstnumber.-687.1) 3089 0 R] +/Limits [(lstnumber.-684.1) (lstnumber.-687.1)] +>> endobj +6205 0 obj << +/Names [(lstnumber.-687.2) 3090 0 R (lstnumber.-688.1) 3092 0 R (lstnumber.-689.1) 3094 0 R (lstnumber.-689.2) 3095 0 R (lstnumber.-69.1) 1258 0 R (lstnumber.-69.2) 1259 0 R] +/Limits [(lstnumber.-687.2) (lstnumber.-69.2)] +>> endobj +6206 0 obj << +/Names [(lstnumber.-69.3) 1260 0 R (lstnumber.-69.4) 1261 0 R (lstnumber.-690.1) 3097 0 R (lstnumber.-690.2) 3098 0 R (lstnumber.-691.1) 3100 0 R (lstnumber.-691.2) 3101 0 R] +/Limits [(lstnumber.-69.3) (lstnumber.-691.2)] +>> endobj +6207 0 obj << +/Names [(lstnumber.-691.3) 3102 0 R (lstnumber.-692.1) 3108 0 R (lstnumber.-693.1) 3110 0 R (lstnumber.-693.2) 3111 0 R (lstnumber.-693.3) 3112 0 R (lstnumber.-694.1) 3114 0 R] +/Limits [(lstnumber.-691.3) (lstnumber.-694.1)] +>> endobj +6208 0 obj << +/Names [(lstnumber.-694.2) 3115 0 R (lstnumber.-694.3) 3116 0 R (lstnumber.-695.1) 3118 0 R (lstnumber.-696.1) 3120 0 R (lstnumber.-697.1) 3122 0 R (lstnumber.-698.1) 3124 0 R] +/Limits [(lstnumber.-694.2) (lstnumber.-698.1)] +>> endobj +6209 0 obj << +/Names [(lstnumber.-699.1) 3126 0 R (lstnumber.-699.2) 3127 0 R (lstnumber.-699.3) 3128 0 R (lstnumber.-7.1) 1077 0 R (lstnumber.-70.1) 1263 0 R (lstnumber.-70.2) 1264 0 R] +/Limits [(lstnumber.-699.1) (lstnumber.-70.2)] +>> endobj +6210 0 obj << +/Names [(lstnumber.-70.3) 1265 0 R (lstnumber.-700.1) 3130 0 R (lstnumber.-701.1) 3132 0 R (lstnumber.-702.1) 3134 0 R (lstnumber.-702.2) 3135 0 R (lstnumber.-703.1) 3137 0 R] +/Limits [(lstnumber.-70.3) (lstnumber.-703.1)] +>> endobj +6211 0 obj << +/Names [(lstnumber.-704.1) 3139 0 R (lstnumber.-705.1) 3146 0 R (lstnumber.-705.2) 3147 0 R (lstnumber.-705.3) 3148 0 R (lstnumber.-705.4) 3149 0 R (lstnumber.-705.5) 3150 0 R] +/Limits [(lstnumber.-704.1) (lstnumber.-705.5)] +>> endobj +6212 0 obj << +/Names [(lstnumber.-705.6) 3151 0 R (lstnumber.-706.1) 3153 0 R (lstnumber.-707.1) 3155 0 R (lstnumber.-708.1) 3157 0 R (lstnumber.-708.2) 3158 0 R (lstnumber.-709.1) 3160 0 R] +/Limits [(lstnumber.-705.6) (lstnumber.-709.1)] +>> endobj +6213 0 obj << +/Names [(lstnumber.-71.1) 1267 0 R (lstnumber.-710.1) 3162 0 R (lstnumber.-711.1) 3164 0 R (lstnumber.-712.1) 3167 0 R (lstnumber.-712.2) 3168 0 R (lstnumber.-713.1) 3170 0 R] +/Limits [(lstnumber.-71.1) (lstnumber.-713.1)] +>> endobj +6214 0 obj << +/Names [(lstnumber.-713.2) 3171 0 R (lstnumber.-713.3) 3172 0 R (lstnumber.-714.1) 3174 0 R (lstnumber.-714.2) 3175 0 R (lstnumber.-715.1) 3177 0 R (lstnumber.-716.1) 3183 0 R] +/Limits [(lstnumber.-713.2) (lstnumber.-716.1)] +>> endobj +6215 0 obj << +/Names [(lstnumber.-716.2) 3184 0 R (lstnumber.-717.1) 3186 0 R (lstnumber.-718.1) 3188 0 R (lstnumber.-719.1) 3190 0 R (lstnumber.-719.2) 3191 0 R (lstnumber.-719.3) 3192 0 R] +/Limits [(lstnumber.-716.2) (lstnumber.-719.3)] +>> endobj +6216 0 obj << +/Names [(lstnumber.-719.4) 3193 0 R (lstnumber.-72.1) 1269 0 R (lstnumber.-720.1) 3195 0 R (lstnumber.-720.2) 3196 0 R (lstnumber.-721.1) 3198 0 R (lstnumber.-722.1) 3200 0 R] +/Limits [(lstnumber.-719.4) (lstnumber.-722.1)] +>> endobj +6217 0 obj << +/Names [(lstnumber.-723.1) 3202 0 R (lstnumber.-724.1) 3204 0 R (lstnumber.-724.2) 3205 0 R (lstnumber.-724.3) 3206 0 R (lstnumber.-725.1) 3208 0 R (lstnumber.-725.2) 3209 0 R] +/Limits [(lstnumber.-723.1) (lstnumber.-725.2)] +>> endobj +6218 0 obj << +/Names [(lstnumber.-725.3) 3210 0 R (lstnumber.-726.1) 3212 0 R (lstnumber.-727.1) 3214 0 R (lstnumber.-727.2) 3215 0 R (lstnumber.-728.1) 3221 0 R (lstnumber.-729.1) 3223 0 R] +/Limits [(lstnumber.-725.3) (lstnumber.-729.1)] +>> endobj +6219 0 obj << +/Names [(lstnumber.-729.2) 3224 0 R (lstnumber.-729.3) 3225 0 R (lstnumber.-729.4) 3226 0 R (lstnumber.-73.1) 1271 0 R (lstnumber.-73.2) 1272 0 R (lstnumber.-73.3) 1273 0 R] +/Limits [(lstnumber.-729.2) (lstnumber.-73.3)] +>> endobj +6220 0 obj << +/Names [(lstnumber.-730.1) 3228 0 R (lstnumber.-730.2) 3229 0 R (lstnumber.-730.3) 3230 0 R (lstnumber.-731.1) 3232 0 R (lstnumber.-731.2) 3233 0 R (lstnumber.-732.1) 3235 0 R] +/Limits [(lstnumber.-730.1) (lstnumber.-732.1)] +>> endobj +6221 0 obj << +/Names [(lstnumber.-732.2) 3236 0 R (lstnumber.-732.3) 3237 0 R (lstnumber.-732.4) 3238 0 R (lstnumber.-733.1) 3240 0 R (lstnumber.-734.1) 3242 0 R (lstnumber.-734.2) 3243 0 R] +/Limits [(lstnumber.-732.2) (lstnumber.-734.2)] +>> endobj +6222 0 obj << +/Names [(lstnumber.-735.1) 3245 0 R (lstnumber.-735.2) 3246 0 R (lstnumber.-735.3) 3247 0 R (lstnumber.-736.1) 3249 0 R (lstnumber.-736.2) 3250 0 R (lstnumber.-737.1) 3252 0 R] +/Limits [(lstnumber.-735.1) (lstnumber.-737.1)] +>> endobj +6223 0 obj << +/Names [(lstnumber.-737.2) 3253 0 R (lstnumber.-737.3) 3254 0 R (lstnumber.-738.1) 3256 0 R (lstnumber.-738.2) 3257 0 R (lstnumber.-738.3) 3258 0 R (lstnumber.-739.1) 3264 0 R] +/Limits [(lstnumber.-737.2) (lstnumber.-739.1)] +>> endobj +6224 0 obj << +/Names [(lstnumber.-739.2) 3265 0 R (lstnumber.-739.3) 3266 0 R (lstnumber.-74.1) 1279 0 R (lstnumber.-740.1) 3268 0 R (lstnumber.-741.1) 3270 0 R (lstnumber.-742.1) 3272 0 R] +/Limits [(lstnumber.-739.2) (lstnumber.-742.1)] +>> endobj +6225 0 obj << +/Names [(lstnumber.-743.1) 3274 0 R (lstnumber.-744.1) 3276 0 R (lstnumber.-745.1) 3278 0 R (lstnumber.-745.2) 3279 0 R (lstnumber.-745.3) 3280 0 R (lstnumber.-746.1) 3282 0 R] +/Limits [(lstnumber.-743.1) (lstnumber.-746.1)] +>> endobj +6226 0 obj << +/Names [(lstnumber.-746.2) 3283 0 R (lstnumber.-747.1) 3285 0 R (lstnumber.-748.1) 3287 0 R (lstnumber.-748.2) 3288 0 R (lstnumber.-749.1) 3290 0 R (lstnumber.-75.1) 1281 0 R] +/Limits [(lstnumber.-746.2) (lstnumber.-75.1)] +>> endobj +6227 0 obj << +/Names [(lstnumber.-75.2) 1282 0 R (lstnumber.-75.3) 1283 0 R (lstnumber.-750.1) 3292 0 R (lstnumber.-751.1) 3294 0 R (lstnumber.-752.1) 3300 0 R (lstnumber.-753.1) 3302 0 R] +/Limits [(lstnumber.-75.2) (lstnumber.-753.1)] +>> endobj +6228 0 obj << +/Names [(lstnumber.-754.1) 3305 0 R (lstnumber.-754.2) 3306 0 R (lstnumber.-755.1) 3308 0 R (lstnumber.-756.1) 3311 0 R (lstnumber.-757.1) 3313 0 R (lstnumber.-758.1) 3315 0 R] +/Limits [(lstnumber.-754.1) (lstnumber.-758.1)] +>> endobj +6229 0 obj << +/Names [(lstnumber.-759.1) 3317 0 R (lstnumber.-76.1) 1285 0 R (lstnumber.-760.1) 3319 0 R (lstnumber.-761.1) 3321 0 R (lstnumber.-762.1) 3323 0 R (lstnumber.-763.1) 3329 0 R] +/Limits [(lstnumber.-759.1) (lstnumber.-763.1)] +>> endobj +6230 0 obj << +/Names [(lstnumber.-764.1) 3331 0 R (lstnumber.-764.2) 3332 0 R (lstnumber.-765.1) 3334 0 R (lstnumber.-766.1) 3336 0 R (lstnumber.-767.1) 3338 0 R (lstnumber.-768.1) 3340 0 R] +/Limits [(lstnumber.-764.1) (lstnumber.-768.1)] +>> endobj +6231 0 obj << +/Names [(lstnumber.-769.1) 3343 0 R (lstnumber.-77.1) 1287 0 R (lstnumber.-770.1) 3346 0 R (lstnumber.-771.1) 3348 0 R (lstnumber.-771.2) 3349 0 R (lstnumber.-771.3) 3350 0 R] +/Limits [(lstnumber.-769.1) (lstnumber.-771.3)] +>> endobj +6232 0 obj << +/Names [(lstnumber.-771.4) 3351 0 R (lstnumber.-771.5) 3352 0 R (lstnumber.-771.6) 3353 0 R (lstnumber.-772.1) 3360 0 R (lstnumber.-772.2) 3361 0 R (lstnumber.-773.1) 3363 0 R] +/Limits [(lstnumber.-771.4) (lstnumber.-773.1)] +>> endobj +6233 0 obj << +/Names [(lstnumber.-773.2) 3364 0 R (lstnumber.-773.3) 3365 0 R (lstnumber.-774.1) 3367 0 R (lstnumber.-775.1) 3369 0 R (lstnumber.-775.2) 3370 0 R (lstnumber.-776.1) 3372 0 R] +/Limits [(lstnumber.-773.2) (lstnumber.-776.1)] +>> endobj +6234 0 obj << +/Names [(lstnumber.-776.2) 3373 0 R (lstnumber.-776.3) 3374 0 R (lstnumber.-777.1) 3376 0 R (lstnumber.-778.1) 3378 0 R (lstnumber.-779.1) 3380 0 R (lstnumber.-78.1) 1289 0 R] +/Limits [(lstnumber.-776.2) (lstnumber.-78.1)] +>> endobj +6235 0 obj << +/Names [(lstnumber.-780.1) 3382 0 R (lstnumber.-781.1) 3384 0 R (lstnumber.-781.2) 3385 0 R (lstnumber.-782.1) 3387 0 R (lstnumber.-783.1) 3389 0 R (lstnumber.-784.1) 3391 0 R] +/Limits [(lstnumber.-780.1) (lstnumber.-784.1)] +>> endobj +6236 0 obj << +/Names [(lstnumber.-785.1) 3398 0 R (lstnumber.-786.1) 3400 0 R (lstnumber.-787.1) 3402 0 R (lstnumber.-788.1) 3405 0 R (lstnumber.-788.2) 3406 0 R (lstnumber.-789.1) 3409 0 R] +/Limits [(lstnumber.-785.1) (lstnumber.-789.1)] +>> endobj +6237 0 obj << +/Names [(lstnumber.-789.2) 3410 0 R (lstnumber.-79.1) 1291 0 R (lstnumber.-79.2) 1292 0 R (lstnumber.-790.1) 3420 0 R (lstnumber.-791.1) 3426 0 R (lstnumber.-792.1) 3428 0 R] +/Limits [(lstnumber.-789.2) (lstnumber.-792.1)] +>> endobj +6238 0 obj << +/Names [(lstnumber.-793.1) 3430 0 R (lstnumber.-794.1) 3433 0 R (lstnumber.-795.1) 3435 0 R (lstnumber.-796.1) 3437 0 R (lstnumber.-796.2) 3438 0 R (lstnumber.-797.1) 3440 0 R] +/Limits [(lstnumber.-793.1) (lstnumber.-797.1)] +>> endobj +6239 0 obj << +/Names [(lstnumber.-797.2) 3441 0 R (lstnumber.-798.1) 3443 0 R (lstnumber.-799.1) 3445 0 R (lstnumber.-799.2) 3446 0 R (lstnumber.-799.3) 3447 0 R (lstnumber.-799.4) 3448 0 R] +/Limits [(lstnumber.-797.2) (lstnumber.-799.4)] +>> endobj +6240 0 obj << +/Names [(lstnumber.-8.1) 1079 0 R (lstnumber.-80.1) 1294 0 R (lstnumber.-800.1) 3451 0 R (lstnumber.-801.1) 3453 0 R (lstnumber.-801.2) 3454 0 R (lstnumber.-801.3) 3455 0 R] +/Limits [(lstnumber.-8.1) (lstnumber.-801.3)] +>> endobj +6241 0 obj << +/Names [(lstnumber.-801.4) 3456 0 R (lstnumber.-801.5) 3457 0 R (lstnumber.-802.1) 3464 0 R (lstnumber.-802.2) 3465 0 R (lstnumber.-802.3) 3466 0 R (lstnumber.-802.4) 3467 0 R] +/Limits [(lstnumber.-801.4) (lstnumber.-802.4)] +>> endobj +6242 0 obj << +/Names [(lstnumber.-802.5) 3468 0 R (lstnumber.-803.1) 3471 0 R (lstnumber.-804.1) 3473 0 R (lstnumber.-804.2) 3474 0 R (lstnumber.-804.3) 3475 0 R (lstnumber.-804.4) 3476 0 R] +/Limits [(lstnumber.-802.5) (lstnumber.-804.4)] +>> endobj +6243 0 obj << +/Names [(lstnumber.-805.1) 3478 0 R (lstnumber.-805.2) 3479 0 R (lstnumber.-805.3) 3480 0 R (lstnumber.-805.4) 3481 0 R (lstnumber.-805.5) 3482 0 R (lstnumber.-805.6) 3483 0 R] +/Limits [(lstnumber.-805.1) (lstnumber.-805.6)] +>> endobj +6244 0 obj << +/Names [(lstnumber.-805.7) 3484 0 R (lstnumber.-805.8) 3485 0 R (lstnumber.-806.1) 3487 0 R (lstnumber.-806.2) 3488 0 R (lstnumber.-806.3) 3489 0 R (lstnumber.-806.4) 3490 0 R] +/Limits [(lstnumber.-805.7) (lstnumber.-806.4)] +>> endobj +6245 0 obj << +/Names [(lstnumber.-806.5) 3491 0 R (lstnumber.-806.6) 3492 0 R (lstnumber.-806.7) 3493 0 R (lstnumber.-806.8) 3494 0 R (lstnumber.-807.1) 3496 0 R (lstnumber.-808.1) 3498 0 R] +/Limits [(lstnumber.-806.5) (lstnumber.-808.1)] +>> endobj +6246 0 obj << +/Names [(lstnumber.-809.1) 3504 0 R (lstnumber.-81.1) 1297 0 R (lstnumber.-810.1) 3506 0 R (lstnumber.-810.2) 3507 0 R (lstnumber.-810.3) 3508 0 R (lstnumber.-810.4) 3509 0 R] +/Limits [(lstnumber.-809.1) (lstnumber.-810.4)] +>> endobj +6247 0 obj << +/Names [(lstnumber.-810.5) 3510 0 R (lstnumber.-810.6) 3511 0 R (lstnumber.-810.7) 3512 0 R (lstnumber.-810.8) 3513 0 R (lstnumber.-810.9) 3514 0 R (lstnumber.-811.1) 3517 0 R] +/Limits [(lstnumber.-810.5) (lstnumber.-811.1)] +>> endobj +6248 0 obj << +/Names [(lstnumber.-811.2) 3518 0 R (lstnumber.-812.1) 3520 0 R (lstnumber.-813.1) 3522 0 R (lstnumber.-814.1) 3524 0 R (lstnumber.-815.1) 3526 0 R (lstnumber.-815.2) 3527 0 R] +/Limits [(lstnumber.-811.2) (lstnumber.-815.2)] +>> endobj +6249 0 obj << +/Names [(lstnumber.-815.3) 3528 0 R (lstnumber.-816.1) 3536 0 R (lstnumber.-817.1) 3538 0 R (lstnumber.-817.2) 3539 0 R (lstnumber.-818.1) 3541 0 R (lstnumber.-818.2) 3542 0 R] +/Limits [(lstnumber.-815.3) (lstnumber.-818.2)] +>> endobj +6250 0 obj << +/Names [(lstnumber.-818.3) 3543 0 R (lstnumber.-818.4) 3544 0 R (lstnumber.-819.1) 3547 0 R (lstnumber.-819.2) 3548 0 R (lstnumber.-819.3) 3549 0 R (lstnumber.-819.4) 3550 0 R] +/Limits [(lstnumber.-818.3) (lstnumber.-819.4)] +>> endobj +6251 0 obj << +/Names [(lstnumber.-82.1) 1299 0 R (lstnumber.-820.1) 3558 0 R (lstnumber.-821.1) 3560 0 R (lstnumber.-822.1) 3562 0 R (lstnumber.-823.1) 3564 0 R (lstnumber.-824.1) 3566 0 R] +/Limits [(lstnumber.-82.1) (lstnumber.-824.1)] +>> endobj +6252 0 obj << +/Names [(lstnumber.-824.2) 3567 0 R (lstnumber.-825.1) 3569 0 R (lstnumber.-826.1) 3571 0 R (lstnumber.-827.1) 3573 0 R (lstnumber.-827.2) 3574 0 R (lstnumber.-827.3) 3575 0 R] +/Limits [(lstnumber.-824.2) (lstnumber.-827.3)] +>> endobj +6253 0 obj << +/Names [(lstnumber.-828.1) 3577 0 R (lstnumber.-828.2) 3578 0 R (lstnumber.-828.3) 3579 0 R (lstnumber.-829.1) 3581 0 R (lstnumber.-83.1) 1301 0 R (lstnumber.-830.1) 3583 0 R] +/Limits [(lstnumber.-828.1) (lstnumber.-830.1)] +>> endobj +6254 0 obj << +/Names [(lstnumber.-831.1) 3585 0 R (lstnumber.-832.1) 3592 0 R (lstnumber.-832.2) 3593 0 R (lstnumber.-832.3) 3594 0 R (lstnumber.-833.1) 3596 0 R (lstnumber.-834.1) 3598 0 R] +/Limits [(lstnumber.-831.1) (lstnumber.-834.1)] +>> endobj +6255 0 obj << +/Names [(lstnumber.-835.1) 3600 0 R (lstnumber.-835.2) 3601 0 R (lstnumber.-835.3) 3602 0 R (lstnumber.-836.1) 3604 0 R (lstnumber.-836.2) 3605 0 R (lstnumber.-837.1) 3607 0 R] +/Limits [(lstnumber.-835.1) (lstnumber.-837.1)] +>> endobj +6256 0 obj << +/Names [(lstnumber.-837.10) 3616 0 R (lstnumber.-837.11) 3617 0 R (lstnumber.-837.12) 3618 0 R (lstnumber.-837.13) 3619 0 R (lstnumber.-837.14) 3620 0 R (lstnumber.-837.15) 3621 0 R] +/Limits [(lstnumber.-837.10) (lstnumber.-837.15)] +>> endobj +6257 0 obj << +/Names [(lstnumber.-837.16) 3622 0 R (lstnumber.-837.17) 3623 0 R (lstnumber.-837.18) 3624 0 R (lstnumber.-837.19) 3625 0 R (lstnumber.-837.2) 3608 0 R (lstnumber.-837.20) 3626 0 R] +/Limits [(lstnumber.-837.16) (lstnumber.-837.20)] +>> endobj +6258 0 obj << +/Names [(lstnumber.-837.21) 3627 0 R (lstnumber.-837.22) 3628 0 R (lstnumber.-837.23) 3629 0 R (lstnumber.-837.24) 3630 0 R (lstnumber.-837.25) 3631 0 R (lstnumber.-837.26) 3632 0 R] +/Limits [(lstnumber.-837.21) (lstnumber.-837.26)] +>> endobj +6259 0 obj << +/Names [(lstnumber.-837.27) 3633 0 R (lstnumber.-837.28) 3634 0 R (lstnumber.-837.29) 3635 0 R (lstnumber.-837.3) 3609 0 R (lstnumber.-837.30) 3636 0 R (lstnumber.-837.4) 3610 0 R] +/Limits [(lstnumber.-837.27) (lstnumber.-837.4)] +>> endobj +6260 0 obj << +/Names [(lstnumber.-837.5) 3611 0 R (lstnumber.-837.6) 3612 0 R (lstnumber.-837.7) 3613 0 R (lstnumber.-837.8) 3614 0 R (lstnumber.-837.9) 3615 0 R (lstnumber.-838.1) 3642 0 R] +/Limits [(lstnumber.-837.5) (lstnumber.-838.1)] +>> endobj +6261 0 obj << +/Names [(lstnumber.-838.2) 3643 0 R (lstnumber.-838.3) 3644 0 R (lstnumber.-838.4) 3645 0 R (lstnumber.-839.1) 3647 0 R (lstnumber.-84.1) 1303 0 R (lstnumber.-840.1) 3649 0 R] +/Limits [(lstnumber.-838.2) (lstnumber.-840.1)] +>> endobj +6262 0 obj << +/Names [(lstnumber.-840.2) 3650 0 R (lstnumber.-841.1) 3652 0 R (lstnumber.-842.1) 3654 0 R (lstnumber.-842.2) 3655 0 R (lstnumber.-843.1) 3657 0 R (lstnumber.-844.1) 3659 0 R] +/Limits [(lstnumber.-840.2) (lstnumber.-844.1)] +>> endobj +6263 0 obj << +/Names [(lstnumber.-844.2) 3660 0 R (lstnumber.-844.3) 3661 0 R (lstnumber.-844.4) 3662 0 R (lstnumber.-844.5) 3663 0 R (lstnumber.-844.6) 3664 0 R (lstnumber.-844.7) 3665 0 R] +/Limits [(lstnumber.-844.2) (lstnumber.-844.7)] +>> endobj +6264 0 obj << +/Names [(lstnumber.-845.1) 3667 0 R (lstnumber.-845.2) 3668 0 R (lstnumber.-845.3) 3669 0 R (lstnumber.-846.1) 3671 0 R (lstnumber.-847.1) 3673 0 R (lstnumber.-847.2) 3674 0 R] +/Limits [(lstnumber.-845.1) (lstnumber.-847.2)] +>> endobj +6265 0 obj << +/Names [(lstnumber.-848.1) 3676 0 R (lstnumber.-848.2) 3677 0 R (lstnumber.-848.3) 3678 0 R (lstnumber.-849.1) 3685 0 R (lstnumber.-85.1) 1305 0 R (lstnumber.-850.1) 3687 0 R] +/Limits [(lstnumber.-848.1) (lstnumber.-850.1)] +>> endobj +6266 0 obj << +/Names [(lstnumber.-851.1) 3689 0 R (lstnumber.-852.1) 3691 0 R (lstnumber.-852.2) 3692 0 R (lstnumber.-853.1) 3694 0 R (lstnumber.-854.1) 3696 0 R (lstnumber.-855.1) 3698 0 R] +/Limits [(lstnumber.-851.1) (lstnumber.-855.1)] +>> endobj +6267 0 obj << +/Names [(lstnumber.-856.1) 3700 0 R (lstnumber.-857.1) 3702 0 R (lstnumber.-858.1) 3704 0 R (lstnumber.-859.1) 3706 0 R (lstnumber.-86.1) 1311 0 R (lstnumber.-86.2) 1312 0 R] +/Limits [(lstnumber.-856.1) (lstnumber.-86.2)] +>> endobj +6268 0 obj << +/Names [(lstnumber.-86.3) 1313 0 R (lstnumber.-86.4) 1314 0 R (lstnumber.-86.5) 1315 0 R (lstnumber.-86.6) 1316 0 R (lstnumber.-860.1) 3708 0 R (lstnumber.-860.2) 3709 0 R] +/Limits [(lstnumber.-86.3) (lstnumber.-860.2)] +>> endobj +6269 0 obj << +/Names [(lstnumber.-861.1) 3711 0 R (lstnumber.-862.1) 3717 0 R (lstnumber.-863.1) 3719 0 R (lstnumber.-864.1) 3721 0 R (lstnumber.-865.1) 3723 0 R (lstnumber.-866.1) 3725 0 R] +/Limits [(lstnumber.-861.1) (lstnumber.-866.1)] +>> endobj +6270 0 obj << +/Names [(lstnumber.-867.1) 3727 0 R (lstnumber.-867.2) 3728 0 R (lstnumber.-868.1) 3730 0 R (lstnumber.-868.2) 3731 0 R (lstnumber.-869.1) 3733 0 R (lstnumber.-869.2) 3734 0 R] +/Limits [(lstnumber.-867.1) (lstnumber.-869.2)] +>> endobj +6271 0 obj << +/Names [(lstnumber.-87.1) 1318 0 R (lstnumber.-870.1) 3736 0 R (lstnumber.-871.1) 3738 0 R (lstnumber.-872.1) 3740 0 R (lstnumber.-873.1) 3742 0 R (lstnumber.-874.1) 3744 0 R] +/Limits [(lstnumber.-87.1) (lstnumber.-874.1)] +>> endobj +6272 0 obj << +/Names [(lstnumber.-874.2) 3745 0 R (lstnumber.-875.1) 3752 0 R (lstnumber.-875.2) 3753 0 R (lstnumber.-875.3) 3754 0 R (lstnumber.-875.4) 3755 0 R (lstnumber.-875.5) 3756 0 R] +/Limits [(lstnumber.-874.2) (lstnumber.-875.5)] +>> endobj +6273 0 obj << +/Names [(lstnumber.-876.1) 3758 0 R (lstnumber.-877.1) 3760 0 R (lstnumber.-878.1) 3762 0 R (lstnumber.-878.2) 3763 0 R (lstnumber.-878.3) 3764 0 R (lstnumber.-879.1) 3766 0 R] +/Limits [(lstnumber.-876.1) (lstnumber.-879.1)] +>> endobj +6274 0 obj << +/Names [(lstnumber.-879.10) 3775 0 R (lstnumber.-879.11) 3776 0 R (lstnumber.-879.12) 3777 0 R (lstnumber.-879.13) 3778 0 R (lstnumber.-879.14) 3779 0 R (lstnumber.-879.15) 3780 0 R] +/Limits [(lstnumber.-879.10) (lstnumber.-879.15)] +>> endobj +6275 0 obj << +/Names [(lstnumber.-879.16) 3781 0 R (lstnumber.-879.17) 3782 0 R (lstnumber.-879.18) 3783 0 R (lstnumber.-879.19) 3784 0 R (lstnumber.-879.2) 3767 0 R (lstnumber.-879.20) 3785 0 R] +/Limits [(lstnumber.-879.16) (lstnumber.-879.20)] +>> endobj +6276 0 obj << +/Names [(lstnumber.-879.21) 3786 0 R (lstnumber.-879.22) 3787 0 R (lstnumber.-879.23) 3788 0 R (lstnumber.-879.24) 3789 0 R (lstnumber.-879.25) 3790 0 R (lstnumber.-879.26) 3791 0 R] +/Limits [(lstnumber.-879.21) (lstnumber.-879.26)] +>> endobj +6277 0 obj << +/Names [(lstnumber.-879.27) 3792 0 R (lstnumber.-879.28) 3793 0 R (lstnumber.-879.29) 3794 0 R (lstnumber.-879.3) 3768 0 R (lstnumber.-879.30) 3795 0 R (lstnumber.-879.31) 3796 0 R] +/Limits [(lstnumber.-879.27) (lstnumber.-879.31)] +>> endobj +6278 0 obj << +/Names [(lstnumber.-879.32) 3797 0 R (lstnumber.-879.33) 3798 0 R (lstnumber.-879.34) 3799 0 R (lstnumber.-879.35) 3800 0 R (lstnumber.-879.36) 3801 0 R (lstnumber.-879.37) 3806 0 R] +/Limits [(lstnumber.-879.32) (lstnumber.-879.37)] +>> endobj +6279 0 obj << +/Names [(lstnumber.-879.38) 3807 0 R (lstnumber.-879.39) 3808 0 R (lstnumber.-879.4) 3769 0 R (lstnumber.-879.5) 3770 0 R (lstnumber.-879.6) 3771 0 R (lstnumber.-879.7) 3772 0 R] +/Limits [(lstnumber.-879.38) (lstnumber.-879.7)] +>> endobj +6280 0 obj << +/Names [(lstnumber.-879.8) 3773 0 R (lstnumber.-879.9) 3774 0 R (lstnumber.-88.1) 1320 0 R (lstnumber.-880.1) 3811 0 R (lstnumber.-881.1) 3813 0 R (lstnumber.-882.1) 3815 0 R] +/Limits [(lstnumber.-879.8) (lstnumber.-882.1)] +>> endobj +6281 0 obj << +/Names [(lstnumber.-883.1) 3817 0 R (lstnumber.-883.2) 3818 0 R (lstnumber.-884.1) 3820 0 R (lstnumber.-884.2) 3821 0 R (lstnumber.-884.3) 3822 0 R (lstnumber.-884.4) 3823 0 R] +/Limits [(lstnumber.-883.1) (lstnumber.-884.4)] +>> endobj +6282 0 obj << +/Names [(lstnumber.-884.5) 3824 0 R (lstnumber.-885.1) 3826 0 R (lstnumber.-886.1) 3828 0 R (lstnumber.-886.2) 3829 0 R (lstnumber.-886.3) 3830 0 R (lstnumber.-886.4) 3831 0 R] +/Limits [(lstnumber.-884.5) (lstnumber.-886.4)] +>> endobj +6283 0 obj << +/Names [(lstnumber.-887.1) 3833 0 R (lstnumber.-887.2) 3834 0 R (lstnumber.-887.3) 3835 0 R (lstnumber.-887.4) 3836 0 R (lstnumber.-888.1) 3838 0 R (lstnumber.-889.1) 3844 0 R] +/Limits [(lstnumber.-887.1) (lstnumber.-889.1)] +>> endobj +6284 0 obj << +/Names [(lstnumber.-89.1) 1322 0 R (lstnumber.-890.1) 3846 0 R (lstnumber.-890.2) 3847 0 R (lstnumber.-890.3) 3848 0 R (lstnumber.-890.4) 3849 0 R (lstnumber.-890.5) 3850 0 R] +/Limits [(lstnumber.-89.1) (lstnumber.-890.5)] +>> endobj +6285 0 obj << +/Names [(lstnumber.-890.6) 3851 0 R (lstnumber.-891.1) 3853 0 R (lstnumber.-891.10) 3862 0 R (lstnumber.-891.11) 3863 0 R (lstnumber.-891.12) 3864 0 R (lstnumber.-891.2) 3854 0 R] +/Limits [(lstnumber.-890.6) (lstnumber.-891.2)] +>> endobj +6286 0 obj << +/Names [(lstnumber.-891.3) 3855 0 R (lstnumber.-891.4) 3856 0 R (lstnumber.-891.5) 3857 0 R (lstnumber.-891.6) 3858 0 R (lstnumber.-891.7) 3859 0 R (lstnumber.-891.8) 3860 0 R] +/Limits [(lstnumber.-891.3) (lstnumber.-891.8)] +>> endobj +6287 0 obj << +/Names [(lstnumber.-891.9) 3861 0 R (lstnumber.-892.1) 3866 0 R (lstnumber.-893.1) 3868 0 R (lstnumber.-893.2) 3869 0 R (lstnumber.-894.1) 3871 0 R (lstnumber.-895.1) 3873 0 R] +/Limits [(lstnumber.-891.9) (lstnumber.-895.1)] +>> endobj +6288 0 obj << +/Names [(lstnumber.-896.1) 3875 0 R (lstnumber.-897.1) 3877 0 R (lstnumber.-897.2) 3878 0 R (lstnumber.-898.1) 3880 0 R (lstnumber.-899.1) 3886 0 R (lstnumber.-9.1) 1082 0 R] +/Limits [(lstnumber.-896.1) (lstnumber.-9.1)] +>> endobj +6289 0 obj << +/Names [(lstnumber.-9.2) 1083 0 R (lstnumber.-9.3) 1084 0 R (lstnumber.-90.1) 1324 0 R (lstnumber.-900.1) 3888 0 R (lstnumber.-901.1) 3890 0 R (lstnumber.-901.2) 3891 0 R] +/Limits [(lstnumber.-9.2) (lstnumber.-901.2)] +>> endobj +6290 0 obj << +/Names [(lstnumber.-902.1) 3893 0 R (lstnumber.-902.2) 3894 0 R (lstnumber.-902.3) 3895 0 R (lstnumber.-902.4) 3896 0 R (lstnumber.-903.1) 3898 0 R (lstnumber.-904.1) 3900 0 R] +/Limits [(lstnumber.-902.1) (lstnumber.-904.1)] +>> endobj +6291 0 obj << +/Names [(lstnumber.-905.1) 3902 0 R (lstnumber.-906.1) 3904 0 R (lstnumber.-907.1) 3906 0 R (lstnumber.-908.1) 3908 0 R (lstnumber.-908.2) 3909 0 R (lstnumber.-908.3) 3910 0 R] +/Limits [(lstnumber.-905.1) (lstnumber.-908.3)] +>> endobj +6292 0 obj << +/Names [(lstnumber.-909.1) 3912 0 R (lstnumber.-909.2) 3913 0 R (lstnumber.-909.3) 3914 0 R (lstnumber.-909.4) 3915 0 R (lstnumber.-909.5) 3916 0 R (lstnumber.-909.6) 3917 0 R] +/Limits [(lstnumber.-909.1) (lstnumber.-909.6)] +>> endobj +6293 0 obj << +/Names [(lstnumber.-91.1) 1326 0 R (lstnumber.-910.1) 3923 0 R (lstnumber.-910.2) 3924 0 R (lstnumber.-910.3) 3925 0 R (lstnumber.-911.1) 3927 0 R (lstnumber.-911.2) 3928 0 R] +/Limits [(lstnumber.-91.1) (lstnumber.-911.2)] +>> endobj +6294 0 obj << +/Names [(lstnumber.-911.3) 3929 0 R (lstnumber.-911.4) 3930 0 R (lstnumber.-912.1) 3933 0 R (lstnumber.-913.1) 3935 0 R (lstnumber.-913.2) 3936 0 R (lstnumber.-914.1) 3938 0 R] +/Limits [(lstnumber.-911.3) (lstnumber.-914.1)] +>> endobj +6295 0 obj << +/Names [(lstnumber.-915.1) 3940 0 R (lstnumber.-916.1) 3942 0 R (lstnumber.-917.1) 3944 0 R (lstnumber.-917.2) 3945 0 R (lstnumber.-918.1) 3947 0 R (lstnumber.-918.10) 3956 0 R] +/Limits [(lstnumber.-915.1) (lstnumber.-918.10)] +>> endobj +6296 0 obj << +/Names [(lstnumber.-918.11) 3957 0 R (lstnumber.-918.12) 3958 0 R (lstnumber.-918.13) 3959 0 R (lstnumber.-918.14) 3964 0 R (lstnumber.-918.15) 3965 0 R (lstnumber.-918.16) 3966 0 R] +/Limits [(lstnumber.-918.11) (lstnumber.-918.16)] +>> endobj +6297 0 obj << +/Names [(lstnumber.-918.17) 3967 0 R (lstnumber.-918.2) 3948 0 R (lstnumber.-918.3) 3949 0 R (lstnumber.-918.4) 3950 0 R (lstnumber.-918.5) 3951 0 R (lstnumber.-918.6) 3952 0 R] +/Limits [(lstnumber.-918.17) (lstnumber.-918.6)] +>> endobj +6298 0 obj << +/Names [(lstnumber.-918.7) 3953 0 R (lstnumber.-918.8) 3954 0 R (lstnumber.-918.9) 3955 0 R (lstnumber.-919.1) 3969 0 R (lstnumber.-92.1) 1328 0 R (lstnumber.-92.2) 1329 0 R] +/Limits [(lstnumber.-918.7) (lstnumber.-92.2)] +>> endobj +6299 0 obj << +/Names [(lstnumber.-92.3) 1330 0 R (lstnumber.-92.4) 1331 0 R (lstnumber.-920.1) 3971 0 R (lstnumber.-920.2) 3972 0 R (lstnumber.-921.1) 3974 0 R (lstnumber.-922.1) 3976 0 R] +/Limits [(lstnumber.-92.3) (lstnumber.-922.1)] +>> endobj +6300 0 obj << +/Names [(lstnumber.-923.1) 3978 0 R (lstnumber.-923.2) 3979 0 R (lstnumber.-924.1) 3981 0 R (lstnumber.-924.2) 3982 0 R (lstnumber.-925.1) 3984 0 R (lstnumber.-925.2) 3985 0 R] +/Limits [(lstnumber.-923.1) (lstnumber.-925.2)] +>> endobj +6301 0 obj << +/Names [(lstnumber.-925.3) 3986 0 R (lstnumber.-925.4) 3987 0 R (lstnumber.-925.5) 3988 0 R (lstnumber.-925.6) 3989 0 R (lstnumber.-926.1) 3991 0 R (lstnumber.-927.1) 3993 0 R] +/Limits [(lstnumber.-925.3) (lstnumber.-927.1)] +>> endobj +6302 0 obj << +/Names [(lstnumber.-927.2) 3994 0 R (lstnumber.-927.3) 3995 0 R (lstnumber.-928.1) 3997 0 R (lstnumber.-928.2) 3998 0 R (lstnumber.-929.1) 4000 0 R (lstnumber.-929.2) 4001 0 R] +/Limits [(lstnumber.-927.2) (lstnumber.-929.2)] +>> endobj +6303 0 obj << +/Names [(lstnumber.-93.1) 1333 0 R (lstnumber.-930.1) 4008 0 R (lstnumber.-930.10) 4017 0 R (lstnumber.-930.11) 4018 0 R (lstnumber.-930.12) 4019 0 R (lstnumber.-930.13) 4020 0 R] +/Limits [(lstnumber.-93.1) (lstnumber.-930.13)] +>> endobj +6304 0 obj << +/Names [(lstnumber.-930.14) 4021 0 R (lstnumber.-930.15) 4022 0 R (lstnumber.-930.16) 4023 0 R (lstnumber.-930.17) 4024 0 R (lstnumber.-930.18) 4025 0 R (lstnumber.-930.19) 4026 0 R] +/Limits [(lstnumber.-930.14) (lstnumber.-930.19)] +>> endobj +6305 0 obj << +/Names [(lstnumber.-930.2) 4009 0 R (lstnumber.-930.20) 4027 0 R (lstnumber.-930.3) 4010 0 R (lstnumber.-930.4) 4011 0 R (lstnumber.-930.5) 4012 0 R (lstnumber.-930.6) 4013 0 R] +/Limits [(lstnumber.-930.2) (lstnumber.-930.6)] +>> endobj +6306 0 obj << +/Names [(lstnumber.-930.7) 4014 0 R (lstnumber.-930.8) 4015 0 R (lstnumber.-930.9) 4016 0 R (lstnumber.-931.1) 4029 0 R (lstnumber.-931.2) 4030 0 R (lstnumber.-931.3) 4031 0 R] +/Limits [(lstnumber.-930.7) (lstnumber.-931.3)] +>> endobj +6307 0 obj << +/Names [(lstnumber.-931.4) 4032 0 R (lstnumber.-931.5) 4033 0 R (lstnumber.-932.1) 4035 0 R (lstnumber.-932.2) 4036 0 R (lstnumber.-932.3) 4037 0 R (lstnumber.-932.4) 4038 0 R] +/Limits [(lstnumber.-931.4) (lstnumber.-932.4)] +>> endobj +6308 0 obj << +/Names [(lstnumber.-933.1) 4040 0 R (lstnumber.-933.2) 4041 0 R (lstnumber.-934.1) 4043 0 R (lstnumber.-934.2) 4044 0 R (lstnumber.-934.3) 4045 0 R (lstnumber.-935.1) 4047 0 R] +/Limits [(lstnumber.-933.1) (lstnumber.-935.1)] +>> endobj +6309 0 obj << +/Names [(lstnumber.-935.2) 4048 0 R (lstnumber.-935.3) 4049 0 R (lstnumber.-935.4) 4050 0 R (lstnumber.-936.1) 4052 0 R (lstnumber.-936.2) 4053 0 R (lstnumber.-936.3) 4054 0 R] +/Limits [(lstnumber.-935.2) (lstnumber.-936.3)] +>> endobj +6310 0 obj << +/Names [(lstnumber.-936.4) 4059 0 R (lstnumber.-936.5) 4060 0 R (lstnumber.-936.6) 4061 0 R (lstnumber.-937.1) 4063 0 R (lstnumber.-937.2) 4064 0 R (lstnumber.-938.1) 4066 0 R] +/Limits [(lstnumber.-936.4) (lstnumber.-938.1)] +>> endobj +6311 0 obj << +/Names [(lstnumber.-938.2) 4067 0 R (lstnumber.-939.1) 4069 0 R (lstnumber.-94.1) 1335 0 R (lstnumber.-940.1) 4071 0 R (lstnumber.-940.2) 4072 0 R (lstnumber.-940.3) 4073 0 R] +/Limits [(lstnumber.-938.2) (lstnumber.-940.3)] +>> endobj +6312 0 obj << +/Names [(lstnumber.-940.4) 4074 0 R (lstnumber.-940.5) 4075 0 R (lstnumber.-941.1) 4077 0 R (lstnumber.-941.2) 4078 0 R (lstnumber.-941.3) 4079 0 R (lstnumber.-942.1) 4081 0 R] +/Limits [(lstnumber.-940.4) (lstnumber.-942.1)] +>> endobj +6313 0 obj << +/Names [(lstnumber.-943.1) 4083 0 R (lstnumber.-943.2) 4084 0 R (lstnumber.-943.3) 4085 0 R (lstnumber.-943.4) 4086 0 R (lstnumber.-944.1) 4088 0 R (lstnumber.-944.2) 4089 0 R] +/Limits [(lstnumber.-943.1) (lstnumber.-944.2)] +>> endobj +6314 0 obj << +/Names [(lstnumber.-944.3) 4090 0 R (lstnumber.-944.4) 4091 0 R (lstnumber.-944.5) 4092 0 R (lstnumber.-945.1) 4094 0 R (lstnumber.-945.2) 4095 0 R (lstnumber.-945.3) 4096 0 R] +/Limits [(lstnumber.-944.3) (lstnumber.-945.3)] +>> endobj +6315 0 obj << +/Names [(lstnumber.-945.4) 4097 0 R (lstnumber.-946.1) 4103 0 R (lstnumber.-946.2) 4104 0 R (lstnumber.-946.3) 4105 0 R (lstnumber.-947.1) 4107 0 R (lstnumber.-947.2) 4108 0 R] +/Limits [(lstnumber.-945.4) (lstnumber.-947.2)] +>> endobj +6316 0 obj << +/Names [(lstnumber.-948.1) 4110 0 R (lstnumber.-948.2) 4111 0 R (lstnumber.-949.1) 4113 0 R (lstnumber.-949.2) 4114 0 R (lstnumber.-95.1) 1337 0 R (lstnumber.-950.1) 4116 0 R] +/Limits [(lstnumber.-948.1) (lstnumber.-950.1)] +>> endobj +6317 0 obj << +/Names [(lstnumber.-951.1) 4118 0 R (lstnumber.-952.1) 4120 0 R (lstnumber.-953.1) 4122 0 R (lstnumber.-953.2) 4123 0 R (lstnumber.-954.1) 4125 0 R (lstnumber.-955.1) 4127 0 R] +/Limits [(lstnumber.-951.1) (lstnumber.-955.1)] +>> endobj +6318 0 obj << +/Names [(lstnumber.-956.1) 4129 0 R (lstnumber.-956.2) 4130 0 R (lstnumber.-956.3) 4131 0 R (lstnumber.-957.1) 4133 0 R (lstnumber.-957.2) 4134 0 R (lstnumber.-958.1) 4140 0 R] +/Limits [(lstnumber.-956.1) (lstnumber.-958.1)] +>> endobj +6319 0 obj << +/Names [(lstnumber.-958.2) 4141 0 R (lstnumber.-958.3) 4142 0 R (lstnumber.-959.1) 4144 0 R (lstnumber.-96.1) 1339 0 R (lstnumber.-960.1) 4146 0 R (lstnumber.-961.1) 4148 0 R] +/Limits [(lstnumber.-958.2) (lstnumber.-961.1)] +>> endobj +6320 0 obj << +/Names [(lstnumber.-961.2) 4149 0 R (lstnumber.-962.1) 4151 0 R (lstnumber.-962.10) 4160 0 R (lstnumber.-962.11) 4161 0 R (lstnumber.-962.12) 4162 0 R (lstnumber.-962.13) 4163 0 R] +/Limits [(lstnumber.-961.2) (lstnumber.-962.13)] +>> endobj +6321 0 obj << +/Names [(lstnumber.-962.14) 4164 0 R (lstnumber.-962.15) 4165 0 R (lstnumber.-962.16) 4166 0 R (lstnumber.-962.17) 4167 0 R (lstnumber.-962.18) 4168 0 R (lstnumber.-962.19) 4169 0 R] +/Limits [(lstnumber.-962.14) (lstnumber.-962.19)] +>> endobj +6322 0 obj << +/Names [(lstnumber.-962.2) 4152 0 R (lstnumber.-962.20) 4170 0 R (lstnumber.-962.21) 4171 0 R (lstnumber.-962.22) 4172 0 R (lstnumber.-962.23) 4173 0 R (lstnumber.-962.3) 4153 0 R] +/Limits [(lstnumber.-962.2) (lstnumber.-962.3)] +>> endobj +6323 0 obj << +/Names [(lstnumber.-962.4) 4154 0 R (lstnumber.-962.5) 4155 0 R (lstnumber.-962.6) 4156 0 R (lstnumber.-962.7) 4157 0 R (lstnumber.-962.8) 4158 0 R (lstnumber.-962.9) 4159 0 R] +/Limits [(lstnumber.-962.4) (lstnumber.-962.9)] +>> endobj +6324 0 obj << +/Names [(lstnumber.-963.1) 4175 0 R (lstnumber.-963.10) 4184 0 R (lstnumber.-963.11) 4185 0 R (lstnumber.-963.12) 4186 0 R (lstnumber.-963.13) 4187 0 R (lstnumber.-963.14) 4188 0 R] +/Limits [(lstnumber.-963.1) (lstnumber.-963.14)] +>> endobj +6325 0 obj << +/Names [(lstnumber.-963.15) 4189 0 R (lstnumber.-963.16) 4194 0 R (lstnumber.-963.17) 4195 0 R (lstnumber.-963.18) 4196 0 R (lstnumber.-963.19) 4197 0 R (lstnumber.-963.2) 4176 0 R] +/Limits [(lstnumber.-963.15) (lstnumber.-963.2)] +>> endobj +6326 0 obj << +/Names [(lstnumber.-963.20) 4198 0 R (lstnumber.-963.21) 4199 0 R (lstnumber.-963.22) 4200 0 R (lstnumber.-963.23) 4201 0 R (lstnumber.-963.24) 4202 0 R (lstnumber.-963.25) 4203 0 R] +/Limits [(lstnumber.-963.20) (lstnumber.-963.25)] +>> endobj +6327 0 obj << +/Names [(lstnumber.-963.26) 4204 0 R (lstnumber.-963.3) 4177 0 R (lstnumber.-963.4) 4178 0 R (lstnumber.-963.5) 4179 0 R (lstnumber.-963.6) 4180 0 R (lstnumber.-963.7) 4181 0 R] +/Limits [(lstnumber.-963.26) (lstnumber.-963.7)] +>> endobj +6328 0 obj << +/Names [(lstnumber.-963.8) 4182 0 R (lstnumber.-963.9) 4183 0 R (lstnumber.-964.1) 4206 0 R (lstnumber.-965.1) 4208 0 R (lstnumber.-965.2) 4209 0 R (lstnumber.-965.3) 4210 0 R] +/Limits [(lstnumber.-963.8) (lstnumber.-965.3)] +>> endobj +6329 0 obj << +/Names [(lstnumber.-965.4) 4211 0 R (lstnumber.-966.1) 4213 0 R (lstnumber.-966.2) 4214 0 R (lstnumber.-966.3) 4215 0 R (lstnumber.-966.4) 4216 0 R (lstnumber.-967.1) 4218 0 R] +/Limits [(lstnumber.-965.4) (lstnumber.-967.1)] +>> endobj +6330 0 obj << +/Names [(lstnumber.-968.1) 4220 0 R (lstnumber.-968.2) 4221 0 R (lstnumber.-968.3) 4222 0 R (lstnumber.-968.4) 4223 0 R (lstnumber.-969.1) 4225 0 R (lstnumber.-969.2) 4226 0 R] +/Limits [(lstnumber.-968.1) (lstnumber.-969.2)] +>> endobj +6331 0 obj << +/Names [(lstnumber.-969.3) 4227 0 R (lstnumber.-97.1) 1341 0 R (lstnumber.-970.1) 4229 0 R (lstnumber.-970.2) 4230 0 R (lstnumber.-970.3) 4231 0 R (lstnumber.-970.4) 4232 0 R] +/Limits [(lstnumber.-969.3) (lstnumber.-970.4)] +>> endobj +6332 0 obj << +/Names [(lstnumber.-970.5) 4233 0 R (lstnumber.-971.1) 4235 0 R (lstnumber.-971.2) 4236 0 R (lstnumber.-972.1) 4242 0 R (lstnumber.-973.1) 4244 0 R (lstnumber.-973.2) 4245 0 R] +/Limits [(lstnumber.-970.5) (lstnumber.-973.2)] +>> endobj +6333 0 obj << +/Names [(lstnumber.-974.1) 4247 0 R (lstnumber.-974.2) 4248 0 R (lstnumber.-975.1) 4250 0 R (lstnumber.-975.2) 4251 0 R (lstnumber.-975.3) 4252 0 R (lstnumber.-976.1) 4254 0 R] +/Limits [(lstnumber.-974.1) (lstnumber.-976.1)] +>> endobj +6334 0 obj << +/Names [(lstnumber.-976.10) 4263 0 R (lstnumber.-976.11) 4264 0 R (lstnumber.-976.12) 4265 0 R (lstnumber.-976.13) 4266 0 R (lstnumber.-976.14) 4267 0 R (lstnumber.-976.15) 4268 0 R] +/Limits [(lstnumber.-976.10) (lstnumber.-976.15)] +>> endobj +6335 0 obj << +/Names [(lstnumber.-976.16) 4269 0 R (lstnumber.-976.17) 4270 0 R (lstnumber.-976.18) 4271 0 R (lstnumber.-976.19) 4272 0 R (lstnumber.-976.2) 4255 0 R (lstnumber.-976.20) 4273 0 R] +/Limits [(lstnumber.-976.16) (lstnumber.-976.20)] +>> endobj +6336 0 obj << +/Names [(lstnumber.-976.21) 4274 0 R (lstnumber.-976.22) 4275 0 R (lstnumber.-976.23) 4276 0 R (lstnumber.-976.24) 4277 0 R (lstnumber.-976.25) 4278 0 R (lstnumber.-976.26) 4279 0 R] +/Limits [(lstnumber.-976.21) (lstnumber.-976.26)] +>> endobj +6337 0 obj << +/Names [(lstnumber.-976.3) 4256 0 R (lstnumber.-976.4) 4257 0 R (lstnumber.-976.5) 4258 0 R (lstnumber.-976.6) 4259 0 R (lstnumber.-976.7) 4260 0 R (lstnumber.-976.8) 4261 0 R] +/Limits [(lstnumber.-976.3) (lstnumber.-976.8)] +>> endobj +6338 0 obj << +/Names [(lstnumber.-976.9) 4262 0 R (lstnumber.-977.1) 4281 0 R (lstnumber.-978.1) 4283 0 R (lstnumber.-978.2) 4284 0 R (lstnumber.-978.3) 4285 0 R (lstnumber.-979.1) 4292 0 R] +/Limits [(lstnumber.-976.9) (lstnumber.-979.1)] +>> endobj +6339 0 obj << +/Names [(lstnumber.-979.2) 4293 0 R (lstnumber.-979.3) 4294 0 R (lstnumber.-98.1) 1343 0 R (lstnumber.-980.1) 4296 0 R (lstnumber.-980.2) 4297 0 R (lstnumber.-980.3) 4298 0 R] +/Limits [(lstnumber.-979.2) (lstnumber.-980.3)] +>> endobj +6340 0 obj << +/Names [(lstnumber.-981.1) 4300 0 R (lstnumber.-981.2) 4301 0 R (lstnumber.-981.3) 4302 0 R (lstnumber.-981.4) 4303 0 R (lstnumber.-982.1) 4305 0 R (lstnumber.-982.2) 4306 0 R] +/Limits [(lstnumber.-981.1) (lstnumber.-982.2)] +>> endobj +6341 0 obj << +/Names [(lstnumber.-982.3) 4307 0 R (lstnumber.-982.4) 4308 0 R (lstnumber.-982.5) 4309 0 R (lstnumber.-982.6) 4310 0 R (lstnumber.-982.7) 4311 0 R (lstnumber.-982.8) 4312 0 R] +/Limits [(lstnumber.-982.3) (lstnumber.-982.8)] +>> endobj +6342 0 obj << +/Names [(lstnumber.-983.1) 4314 0 R (lstnumber.-984.1) 4316 0 R (lstnumber.-984.2) 4317 0 R (lstnumber.-985.1) 4319 0 R (lstnumber.-985.2) 4320 0 R (lstnumber.-985.3) 4321 0 R] +/Limits [(lstnumber.-983.1) (lstnumber.-985.3)] +>> endobj +6343 0 obj << +/Names [(lstnumber.-986.1) 4323 0 R (lstnumber.-986.2) 4324 0 R (lstnumber.-987.1) 4326 0 R (lstnumber.-987.2) 4327 0 R (lstnumber.-987.3) 4328 0 R (lstnumber.-988.1) 4335 0 R] +/Limits [(lstnumber.-986.1) (lstnumber.-988.1)] +>> endobj +6344 0 obj << +/Names [(lstnumber.-989.1) 4337 0 R (lstnumber.-99.1) 1349 0 R (lstnumber.-99.2) 1350 0 R (lstnumber.-990.1) 4339 0 R (lstnumber.-991.1) 4341 0 R (lstnumber.-992.1) 4343 0 R] +/Limits [(lstnumber.-989.1) (lstnumber.-992.1)] +>> endobj +6345 0 obj << +/Names [(lstnumber.-993.1) 4345 0 R (lstnumber.-993.2) 4346 0 R (lstnumber.-994.1) 4348 0 R (lstnumber.-994.10) 4357 0 R (lstnumber.-994.11) 4358 0 R (lstnumber.-994.12) 4359 0 R] +/Limits [(lstnumber.-993.1) (lstnumber.-994.12)] +>> endobj +6346 0 obj << +/Names [(lstnumber.-994.13) 4360 0 R (lstnumber.-994.14) 4361 0 R (lstnumber.-994.15) 4362 0 R (lstnumber.-994.16) 4363 0 R (lstnumber.-994.17) 4364 0 R (lstnumber.-994.18) 4365 0 R] +/Limits [(lstnumber.-994.13) (lstnumber.-994.18)] +>> endobj +6347 0 obj << +/Names [(lstnumber.-994.19) 4366 0 R (lstnumber.-994.2) 4349 0 R (lstnumber.-994.20) 4367 0 R (lstnumber.-994.21) 4368 0 R (lstnumber.-994.22) 4369 0 R (lstnumber.-994.23) 4370 0 R] +/Limits [(lstnumber.-994.19) (lstnumber.-994.23)] +>> endobj +6348 0 obj << +/Names [(lstnumber.-994.24) 4371 0 R (lstnumber.-994.25) 4372 0 R (lstnumber.-994.26) 4377 0 R (lstnumber.-994.27) 4378 0 R (lstnumber.-994.28) 4379 0 R (lstnumber.-994.29) 4380 0 R] +/Limits [(lstnumber.-994.24) (lstnumber.-994.29)] +>> endobj +6349 0 obj << +/Names [(lstnumber.-994.3) 4350 0 R (lstnumber.-994.30) 4381 0 R (lstnumber.-994.31) 4382 0 R (lstnumber.-994.32) 4383 0 R (lstnumber.-994.33) 4384 0 R (lstnumber.-994.34) 4385 0 R] +/Limits [(lstnumber.-994.3) (lstnumber.-994.34)] +>> endobj +6350 0 obj << +/Names [(lstnumber.-994.35) 4386 0 R (lstnumber.-994.36) 4387 0 R (lstnumber.-994.37) 4388 0 R (lstnumber.-994.38) 4389 0 R (lstnumber.-994.39) 4390 0 R (lstnumber.-994.4) 4351 0 R] +/Limits [(lstnumber.-994.35) (lstnumber.-994.4)] +>> endobj +6351 0 obj << +/Names [(lstnumber.-994.5) 4352 0 R (lstnumber.-994.6) 4353 0 R (lstnumber.-994.7) 4354 0 R (lstnumber.-994.8) 4355 0 R (lstnumber.-994.9) 4356 0 R (lstnumber.-995.1) 4393 0 R] +/Limits [(lstnumber.-994.5) (lstnumber.-995.1)] +>> endobj +6352 0 obj << +/Names [(lstnumber.-995.2) 4394 0 R (lstnumber.-995.3) 4395 0 R (lstnumber.-995.4) 4396 0 R (lstnumber.-996.1) 4399 0 R (lstnumber.-997.1) 4401 0 R (lstnumber.-998.1) 4403 0 R] +/Limits [(lstnumber.-995.2) (lstnumber.-998.1)] +>> endobj +6353 0 obj << +/Names [(lstnumber.-998.2) 4404 0 R (lstnumber.-999.1) 4406 0 R (page.1) 1060 0 R (page.10) 1381 0 R (page.100) 4446 0 R (page.101) 4476 0 R] +/Limits [(lstnumber.-998.2) (page.101)] +>> endobj +6354 0 obj << +/Names [(page.102) 4531 0 R (page.103) 4580 0 R (page.104) 4611 0 R (page.105) 4650 0 R (page.106) 4680 0 R (page.107) 4710 0 R] +/Limits [(page.102) (page.107)] +>> endobj +6355 0 obj << +/Names [(page.108) 4750 0 R (page.109) 4777 0 R (page.11) 1418 0 R (page.110) 4794 0 R (page.111) 4833 0 R (page.112) 4866 0 R] +/Limits [(page.108) (page.112)] +>> endobj +6356 0 obj << +/Names [(page.113) 4900 0 R (page.114) 4950 0 R (page.115) 4983 0 R (page.116) 5029 0 R (page.117) 5084 0 R (page.118) 5143 0 R] +/Limits [(page.113) (page.118)] +>> endobj +6357 0 obj << +/Names [(page.119) 5170 0 R (page.12) 1459 0 R (page.120) 5210 0 R (page.121) 5241 0 R (page.122) 5273 0 R (page.123) 5290 0 R] +/Limits [(page.119) (page.123)] +>> endobj +6358 0 obj << +/Names [(page.124) 5297 0 R (page.125) 5303 0 R (page.126) 5309 0 R (page.127) 5316 0 R (page.128) 5326 0 R (page.129) 5335 0 R] +/Limits [(page.124) (page.129)] +>> endobj +6359 0 obj << +/Names [(page.13) 1497 0 R (page.130) 5342 0 R (page.131) 5347 0 R (page.132) 5352 0 R (page.133) 5359 0 R (page.134) 5367 0 R] +/Limits [(page.13) (page.134)] +>> endobj +6360 0 obj << +/Names [(page.135) 5375 0 R (page.136) 5380 0 R (page.137) 5386 0 R (page.138) 5391 0 R (page.139) 5395 0 R (page.14) 1530 0 R] +/Limits [(page.135) (page.14)] +>> endobj +6361 0 obj << +/Names [(page.140) 5399 0 R (page.141) 5404 0 R (page.142) 5408 0 R (page.143) 5412 0 R (page.144) 5418 0 R (page.145) 5422 0 R] +/Limits [(page.140) (page.145)] +>> endobj +6362 0 obj << +/Names [(page.146) 5426 0 R (page.147) 5431 0 R (page.148) 5435 0 R (page.149) 5439 0 R (page.15) 1556 0 R (page.150) 5444 0 R] +/Limits [(page.146) (page.150)] +>> endobj +6363 0 obj << +/Names [(page.151) 5452 0 R (page.152) 5460 0 R (page.153) 5466 0 R (page.154) 5472 0 R (page.155) 5476 0 R (page.156) 5484 0 R] +/Limits [(page.151) (page.156)] +>> endobj +6364 0 obj << +/Names [(page.157) 5517 0 R (page.158) 5533 0 R (page.159) 5538 0 R (page.16) 1582 0 R (page.160) 5548 0 R (page.161) 5560 0 R] +/Limits [(page.157) (page.161)] +>> endobj +6365 0 obj << +/Names [(page.162) 5593 0 R (page.163) 5598 0 R (page.164) 5602 0 R (page.165) 5617 0 R (page.166) 5626 0 R (page.167) 5652 0 R] +/Limits [(page.162) (page.167)] +>> endobj +6366 0 obj << +/Names [(page.168) 5659 0 R (page.169) 5666 0 R (page.17) 1614 0 R (page.18) 1653 0 R (page.19) 1687 0 R (page.2) 1094 0 R] +/Limits [(page.168) (page.2)] +>> endobj +6367 0 obj << +/Names [(page.20) 1718 0 R (page.21) 1748 0 R (page.22) 1781 0 R (page.23) 1816 0 R (page.24) 1848 0 R (page.25) 1882 0 R] +/Limits [(page.20) (page.25)] +>> endobj +6368 0 obj << +/Names [(page.26) 1916 0 R (page.27) 1950 0 R (page.28) 1976 0 R (page.29) 1989 0 R (page.3) 1131 0 R (page.30) 1994 0 R] +/Limits [(page.26) (page.30)] +>> endobj +6369 0 obj << +/Names [(page.31) 2021 0 R (page.32) 2054 0 R (page.33) 2094 0 R (page.34) 2124 0 R (page.35) 2162 0 R (page.36) 2204 0 R] +/Limits [(page.31) (page.36)] +>> endobj +6370 0 obj << +/Names [(page.37) 2228 0 R (page.38) 2262 0 R (page.39) 2300 0 R (page.4) 1163 0 R (page.40) 2333 0 R (page.41) 2363 0 R] +/Limits [(page.37) (page.41)] +>> endobj +6371 0 obj << +/Names [(page.42) 2397 0 R (page.43) 2432 0 R (page.44) 2464 0 R (page.45) 2501 0 R (page.46) 2530 0 R (page.47) 2553 0 R] +/Limits [(page.42) (page.47)] +>> endobj +6372 0 obj << +/Names [(page.48) 2577 0 R (page.49) 2607 0 R (page.5) 1202 0 R (page.50) 2641 0 R (page.51) 2674 0 R (page.52) 2709 0 R] +/Limits [(page.48) (page.52)] +>> endobj +6373 0 obj << +/Names [(page.53) 2746 0 R (page.54) 2778 0 R (page.55) 2824 0 R (page.56) 2849 0 R (page.57) 2877 0 R (page.58) 2900 0 R] +/Limits [(page.53) (page.58)] +>> endobj +6374 0 obj << +/Names [(page.59) 2925 0 R (page.6) 1241 0 R (page.60) 2931 0 R (page.61) 2953 0 R (page.62) 2996 0 R (page.63) 3029 0 R] +/Limits [(page.59) (page.63)] +>> endobj +6375 0 obj << +/Names [(page.64) 3067 0 R (page.65) 3106 0 R (page.66) 3144 0 R (page.67) 3181 0 R (page.68) 3219 0 R (page.69) 3262 0 R] +/Limits [(page.64) (page.69)] +>> endobj +6376 0 obj << +/Names [(page.7) 1277 0 R (page.70) 3298 0 R (page.71) 3327 0 R (page.72) 3358 0 R (page.73) 3395 0 R (page.74) 3416 0 R] +/Limits [(page.7) (page.74)] +>> endobj +6377 0 obj << +/Names [(page.75) 3424 0 R (page.76) 3461 0 R (page.77) 3502 0 R (page.78) 3534 0 R (page.79) 3555 0 R (page.8) 1309 0 R] +/Limits [(page.75) (page.8)] +>> endobj +6378 0 obj << +/Names [(page.80) 3589 0 R (page.81) 3640 0 R (page.82) 3682 0 R (page.83) 3715 0 R (page.84) 3750 0 R (page.85) 3805 0 R] +/Limits [(page.80) (page.85)] +>> endobj +6379 0 obj << +/Names [(page.86) 3842 0 R (page.87) 3884 0 R (page.88) 3921 0 R (page.89) 3963 0 R (page.9) 1347 0 R (page.90) 4006 0 R] +/Limits [(page.86) (page.90)] +>> endobj +6380 0 obj << +/Names [(page.91) 4058 0 R (page.92) 4101 0 R (page.93) 4138 0 R (page.94) 4193 0 R (page.95) 4240 0 R (page.96) 4290 0 R] +/Limits [(page.91) (page.96)] +>> endobj +6381 0 obj << +/Names [(page.97) 4332 0 R (page.98) 4376 0 R (page.99) 4415 0 R (page.i) 810 0 R (page.ii) 860 0 R (page.iii) 904 0 R] +/Limits [(page.97) (page.iii)] +>> endobj +6382 0 obj << +/Names [(page.iv) 943 0 R (page.v) 984 0 R (page.vi) 1022 0 R (page.vii) 1042 0 R (page.viii) 1055 0 R (releasenotes) 814 0 R] +/Limits [(page.iv) (releasenotes)] +>> endobj +6383 0 obj << +/Names [(rnV1.76.0_Common) 2578 0 R (rnV1.76.0_Eclipse) 2817 0 R (rnV1.76.0_Epub) 2760 0 R (rnV1.76.0_FO) 2622 0 R (rnV1.76.0_Gentext) 2556 0 R (rnV1.76.0_HTML) 2668 0 R] +/Limits [(rnV1.76.0_Common) (rnV1.76.0_HTML)] +>> endobj +6384 0 obj << +/Names [(rnV1.76.0_Manpages) 2747 0 R (rnV1.76.0_Params) 2827 0 R (rnV1.76.0_XSL-Xalan) 2842 0 R (rnV1.76.1_FO) 2540 0 R (rnV1.76.1_HTML) 2544 0 R (rnV1.76.1_Params) 2547 0 R] +/Limits [(rnV1.76.0_Manpages) (rnV1.76.1_Params)] +>> endobj +6385 0 obj << +/Names [(rnV1.77_) 2214 0 R (rnV1.77_Eclipse) 2211 0 R (rnV1.77_Epub) 2205 0 R (rnV1.77_Extensions) 2531 0 R (rnV1.77_FO) 2042 0 R (rnV1.77_Gentext) 1995 0 R] +/Limits [(rnV1.77_) (rnV1.77_Gentext)] +>> endobj +6386 0 obj << +/Names [(rnV1.77_HTML) 2118 0 R (rnV1.77_HTMLHelp) 2208 0 R (rnV1.77_Highlighting) 2508 0 R (rnV1.77_Lib) 2516 0 R (rnV1.77_Params) 2458 0 R (rnV1.77_Profiling) 2513 0 R] +/Limits [(rnV1.77_HTML) (rnV1.77_Profiling)] +>> endobj +6387 0 obj << +/Names [(rnV1.77_Template) 2524 0 R (rnV1.77_Webhelp) 2220 0 R (rnV1.77_XSL-Saxon) 2536 0 R (rn_V1.75.0_Common) 2954 0 R (rn_V1.75.0_Epub) 3309 0 R (rn_V1.75.0_FO) 3009 0 R] +/Limits [(rnV1.77_Template) (rn_V1.75.0_FO)] +>> endobj +6388 0 obj << +/Names [(rn_V1.75.0_Gentext) 2932 0 R (rn_V1.75.0_HTML) 3165 0 R (rn_V1.75.0_HTMLHelp) 3341 0 R (rn_V1.75.0_Highlighting) 3396 0 R (rn_V1.75.0_Manpages) 3303 0 R (rn_V1.75.0_Params) 3344 0 R] +/Limits [(rn_V1.75.0_Gentext) (rn_V1.75.0_Params)] +>> endobj +6389 0 obj << +/Names [(rn_V1.75.0_XSL-Saxon) 3403 0 R (rn_V1.75.0_XSL-Xalan) 3407 0 R (rn_V1.75.1) 2901 0 R (rn_V1.75.1_Epub) 2912 0 R (rn_V1.75.1_FO) 2902 0 R (rn_V1.75.1_HTML) 2907 0 R] +/Limits [(rn_V1.75.0_XSL-Saxon) (rn_V1.75.1_HTML)] +>> endobj +6390 0 obj << +/Names [(rn_V1.75.1_Params) 2919 0 R (rn_V1.75.2) 2845 0 R (rn_V1.75.2_Common) 2859 0 R (rn_V1.75.2_Epub) 2883 0 R (rn_V1.75.2_FO) 2864 0 R (rn_V1.75.2_Gentext) 2850 0 R] +/Limits [(rn_V1.75.1_Params) (rn_V1.75.2_Gentext)] +>> endobj +6391 0 obj << +/Names [(rn_V1.75.2_HTML) 2867 0 R (rn_V1.75.2_Manpages) 2878 0 R (rn_V1.75.2_Profiling) 2888 0 R (rn_V1.75.2_XSL-Saxon) 2891 0 R (rn_V1.75.2_XSL-Xalan) 2894 0 R (section.1) 2 0 R] +/Limits [(rn_V1.75.2_HTML) (section.1)] +>> endobj +6392 0 obj << +/Names [(section.10) 326 0 R (section.11) 362 0 R (section.12) 442 0 R (section.13) 446 0 R (section.14) 486 0 R (section.15) 550 0 R] +/Limits [(section.10) (section.15)] +>> endobj +6393 0 obj << +/Names [(section.16) 582 0 R (section.17) 614 0 R (section.18) 650 0 R (section.19) 670 0 R (section.2) 86 0 R (section.20) 710 0 R] +/Limits [(section.16) (section.20)] +>> endobj +6394 0 obj << +/Names [(section.21) 714 0 R (section.22) 738 0 R (section.23) 742 0 R (section.24) 746 0 R (section.25) 750 0 R (section.26) 754 0 R] +/Limits [(section.21) (section.26)] +>> endobj +6395 0 obj << +/Names [(section.27) 758 0 R (section.28) 762 0 R (section.29) 766 0 R (section.3) 154 0 R (section.30) 770 0 R (section.31) 774 0 R] +/Limits [(section.27) (section.31)] +>> endobj +6396 0 obj << +/Names [(section.32) 778 0 R (section.33) 782 0 R (section.34) 786 0 R (section.35) 790 0 R (section.36) 794 0 R (section.37) 798 0 R] +/Limits [(section.32) (section.37)] +>> endobj +6397 0 obj << +/Names [(section.38) 802 0 R (section.4) 170 0 R (section.5) 210 0 R (section.6) 250 0 R (section.7) 270 0 R (section.8) 318 0 R] +/Limits [(section.38) (section.8)] +>> endobj +6398 0 obj << +/Names [(section.9) 322 0 R (subsection.1.1) 6 0 R (subsection.1.10) 42 0 R (subsection.1.11) 46 0 R (subsection.1.12) 50 0 R (subsection.1.13) 54 0 R] +/Limits [(section.9) (subsection.1.13)] +>> endobj +6399 0 obj << +/Names [(subsection.1.14) 58 0 R (subsection.1.15) 62 0 R (subsection.1.16) 66 0 R (subsection.1.17) 70 0 R (subsection.1.18) 74 0 R (subsection.1.19) 78 0 R] +/Limits [(subsection.1.14) (subsection.1.19)] +>> endobj +6400 0 obj << +/Names [(subsection.1.2) 10 0 R (subsection.1.20) 82 0 R (subsection.1.3) 14 0 R (subsection.1.4) 18 0 R (subsection.1.5) 22 0 R (subsection.1.6) 26 0 R] +/Limits [(subsection.1.2) (subsection.1.6)] +>> endobj +6401 0 obj << +/Names [(subsection.1.7) 30 0 R (subsection.1.8) 34 0 R (subsection.1.9) 38 0 R (subsection.10.1) 330 0 R (subsection.10.2) 334 0 R (subsection.10.3) 338 0 R] +/Limits [(subsection.1.7) (subsection.10.3)] +>> endobj +6402 0 obj << +/Names [(subsection.10.4) 342 0 R (subsection.10.5) 346 0 R (subsection.10.6) 350 0 R (subsection.10.7) 354 0 R (subsection.10.8) 358 0 R (subsection.11.1) 366 0 R] +/Limits [(subsection.10.4) (subsection.11.1)] +>> endobj +6403 0 obj << +/Names [(subsection.11.10) 402 0 R (subsection.11.11) 406 0 R (subsection.11.12) 410 0 R (subsection.11.13) 414 0 R (subsection.11.14) 418 0 R (subsection.11.15) 422 0 R] +/Limits [(subsection.11.10) (subsection.11.15)] +>> endobj +6404 0 obj << +/Names [(subsection.11.16) 426 0 R (subsection.11.17) 430 0 R (subsection.11.18) 434 0 R (subsection.11.19) 438 0 R (subsection.11.2) 370 0 R (subsection.11.3) 374 0 R] +/Limits [(subsection.11.16) (subsection.11.3)] +>> endobj +6405 0 obj << +/Names [(subsection.11.4) 378 0 R (subsection.11.5) 382 0 R (subsection.11.6) 386 0 R (subsection.11.7) 390 0 R (subsection.11.8) 394 0 R (subsection.11.9) 398 0 R] +/Limits [(subsection.11.4) (subsection.11.9)] +>> endobj +6406 0 obj << +/Names [(subsection.13.1) 450 0 R (subsection.13.2) 454 0 R (subsection.13.3) 458 0 R (subsection.13.4) 462 0 R (subsection.13.5) 466 0 R (subsection.13.6) 470 0 R] +/Limits [(subsection.13.1) (subsection.13.6)] +>> endobj +6407 0 obj << +/Names [(subsection.13.7) 474 0 R (subsection.13.8) 478 0 R (subsection.13.9) 482 0 R (subsection.14.1) 490 0 R (subsection.14.10) 526 0 R (subsection.14.11) 530 0 R] +/Limits [(subsection.13.7) (subsection.14.11)] +>> endobj +6408 0 obj << +/Names [(subsection.14.12) 534 0 R (subsection.14.13) 538 0 R (subsection.14.14) 542 0 R (subsection.14.15) 546 0 R (subsection.14.2) 494 0 R (subsection.14.3) 498 0 R] +/Limits [(subsection.14.12) (subsection.14.3)] +>> endobj +6409 0 obj << +/Names [(subsection.14.4) 502 0 R (subsection.14.5) 506 0 R (subsection.14.6) 510 0 R (subsection.14.7) 514 0 R (subsection.14.8) 518 0 R (subsection.14.9) 522 0 R] +/Limits [(subsection.14.4) (subsection.14.9)] +>> endobj +6410 0 obj << +/Names [(subsection.15.1) 554 0 R (subsection.15.2) 558 0 R (subsection.15.3) 562 0 R (subsection.15.4) 566 0 R (subsection.15.5) 570 0 R (subsection.15.6) 574 0 R] +/Limits [(subsection.15.1) (subsection.15.6)] +>> endobj +6411 0 obj << +/Names [(subsection.15.7) 578 0 R (subsection.16.1) 586 0 R (subsection.16.2) 590 0 R (subsection.16.3) 594 0 R (subsection.16.4) 598 0 R (subsection.16.5) 602 0 R] +/Limits [(subsection.15.7) (subsection.16.5)] +>> endobj +6412 0 obj << +/Names [(subsection.16.6) 606 0 R (subsection.16.7) 610 0 R (subsection.17.1) 618 0 R (subsection.17.2) 622 0 R (subsection.17.3) 626 0 R (subsection.17.4) 630 0 R] +/Limits [(subsection.16.6) (subsection.17.4)] +>> endobj +6413 0 obj << +/Names [(subsection.17.5) 634 0 R (subsection.17.6) 638 0 R (subsection.17.7) 642 0 R (subsection.17.8) 646 0 R (subsection.18.1) 654 0 R (subsection.18.2) 658 0 R] +/Limits [(subsection.17.5) (subsection.18.2)] +>> endobj +6414 0 obj << +/Names [(subsection.18.3) 662 0 R (subsection.18.4) 666 0 R (subsection.19.1) 674 0 R (subsection.19.2) 678 0 R (subsection.19.3) 682 0 R (subsection.19.4) 686 0 R] +/Limits [(subsection.18.3) (subsection.19.4)] +>> endobj +6415 0 obj << +/Names [(subsection.19.5) 690 0 R (subsection.19.6) 694 0 R (subsection.19.7) 698 0 R (subsection.19.8) 702 0 R (subsection.19.9) 706 0 R (subsection.2.1) 90 0 R] +/Limits [(subsection.19.5) (subsection.2.1)] +>> endobj +6416 0 obj << +/Names [(subsection.2.10) 126 0 R (subsection.2.11) 130 0 R (subsection.2.12) 134 0 R (subsection.2.13) 138 0 R (subsection.2.14) 142 0 R (subsection.2.15) 146 0 R] +/Limits [(subsection.2.10) (subsection.2.15)] +>> endobj +6417 0 obj << +/Names [(subsection.2.16) 150 0 R (subsection.2.2) 94 0 R (subsection.2.3) 98 0 R (subsection.2.4) 102 0 R (subsection.2.5) 106 0 R (subsection.2.6) 110 0 R] +/Limits [(subsection.2.16) (subsection.2.6)] +>> endobj +6418 0 obj << +/Names [(subsection.2.7) 114 0 R (subsection.2.8) 118 0 R (subsection.2.9) 122 0 R (subsection.21.1) 718 0 R (subsection.21.2) 722 0 R (subsection.21.3) 726 0 R] +/Limits [(subsection.2.7) (subsection.21.3)] +>> endobj +6419 0 obj << +/Names [(subsection.21.4) 730 0 R (subsection.21.5) 734 0 R (subsection.3.1) 158 0 R (subsection.3.2) 162 0 R (subsection.3.3) 166 0 R (subsection.4.1) 174 0 R] +/Limits [(subsection.21.4) (subsection.4.1)] +>> endobj +6420 0 obj << +/Names [(subsection.4.2) 178 0 R (subsection.4.3) 182 0 R (subsection.4.4) 186 0 R (subsection.4.5) 190 0 R (subsection.4.6) 194 0 R (subsection.4.7) 198 0 R] +/Limits [(subsection.4.2) (subsection.4.7)] +>> endobj +6421 0 obj << +/Names [(subsection.4.8) 202 0 R (subsection.4.9) 206 0 R (subsection.5.1) 214 0 R (subsection.5.2) 218 0 R (subsection.5.3) 222 0 R (subsection.5.4) 226 0 R] +/Limits [(subsection.4.8) (subsection.5.4)] +>> endobj +6422 0 obj << +/Names [(subsection.5.5) 230 0 R (subsection.5.6) 234 0 R (subsection.5.7) 238 0 R (subsection.5.8) 242 0 R (subsection.5.9) 246 0 R (subsection.6.1) 254 0 R] +/Limits [(subsection.5.5) (subsection.6.1)] +>> endobj +6423 0 obj << +/Names [(subsection.6.2) 258 0 R (subsection.6.3) 262 0 R (subsection.6.4) 266 0 R (subsection.7.1) 274 0 R (subsection.7.10) 310 0 R (subsection.7.11) 314 0 R] +/Limits [(subsection.6.2) (subsection.7.11)] +>> endobj +6424 0 obj << +/Names [(subsection.7.2) 278 0 R (subsection.7.3) 282 0 R (subsection.7.4) 286 0 R (subsection.7.5) 290 0 R (subsection.7.6) 294 0 R (subsection.7.7) 298 0 R] +/Limits [(subsection.7.2) (subsection.7.7)] +>> endobj +6425 0 obj << +/Names [(subsection.7.8) 302 0 R (subsection.7.9) 306 0 R (summary_V1.74.1_Epub) 3469 0 R (summary_V1.74.1_FO) 3431 0 R (summary_V1.74.1_Gentext) 3418 0 R (summary_V1.74.1_HTML) 3449 0 R] +/Limits [(subsection.7.8) (summary_V1.74.1_HTML)] +>> endobj +6426 0 obj << +/Names [(summary_V1.74.1_Highlighting) 3545 0 R (summary_V1.74.1_Manpages) 3462 0 R (summary_V1.74.1_Params) 3529 0 R (summary_V1.74.1_Roundtrip) 3515 0 R] +/Limits [(summary_V1.74.1_Highlighting) (summary_V1.74.1_Roundtrip)] +>> endobj +6427 0 obj << +/Kids [5715 0 R 5716 0 R 5717 0 R 5718 0 R 5719 0 R 5720 0 R] +/Limits [(Doc-Start) (V1.72.0)] +>> endobj +6428 0 obj << +/Kids [5721 0 R 5722 0 R 5723 0 R 5724 0 R 5725 0 R 5726 0 R] +/Limits [(V1.72.0_Common) (V1.74.0_Common)] +>> endobj +6429 0 obj << +/Kids [5727 0 R 5728 0 R 5729 0 R 5730 0 R 5731 0 R 5732 0 R] +/Limits [(V1.74.0_Eclipse) (V1670)] +>> endobj +6430 0 obj << +/Kids [5733 0 R 5734 0 R 5735 0 R 5736 0 R 5737 0 R 5738 0 R] +/Limits [(V1671) (VrnV1.77_Common)] +>> endobj +6431 0 obj << +/Kids [5739 0 R 5740 0 R 5741 0 R 5742 0 R 5743 0 R 5744 0 R] +/Limits [(Vsnapshot_9372_Common) (lstlisting.-1004)] +>> endobj +6432 0 obj << +/Kids [5745 0 R 5746 0 R 5747 0 R 5748 0 R 5749 0 R 5750 0 R] +/Limits [(lstlisting.-1005) (lstlisting.-1037)] +>> endobj +6433 0 obj << +/Kids [5751 0 R 5752 0 R 5753 0 R 5754 0 R 5755 0 R 5756 0 R] +/Limits [(lstlisting.-1038) (lstlisting.-107)] +>> endobj +6434 0 obj << +/Kids [5757 0 R 5758 0 R 5759 0 R 5760 0 R 5761 0 R 5762 0 R] +/Limits [(lstlisting.-1070) (lstlisting.-1101)] +>> endobj +6435 0 obj << +/Kids [5763 0 R 5764 0 R 5765 0 R 5766 0 R 5767 0 R 5768 0 R] +/Limits [(lstlisting.-1102) (lstlisting.-1134)] +>> endobj +6436 0 obj << +/Kids [5769 0 R 5770 0 R 5771 0 R 5772 0 R 5773 0 R 5774 0 R] +/Limits [(lstlisting.-1135) (lstlisting.-1167)] +>> endobj +6437 0 obj << +/Kids [5775 0 R 5776 0 R 5777 0 R 5778 0 R 5779 0 R 5780 0 R] +/Limits [(lstlisting.-1168) (lstlisting.-12)] +>> endobj +6438 0 obj << +/Kids [5781 0 R 5782 0 R 5783 0 R 5784 0 R 5785 0 R 5786 0 R] +/Limits [(lstlisting.-120) (lstlisting.-14)] +>> endobj +6439 0 obj << +/Kids [5787 0 R 5788 0 R 5789 0 R 5790 0 R 5791 0 R 5792 0 R] +/Limits [(lstlisting.-140) (lstlisting.-172)] +>> endobj +6440 0 obj << +/Kids [5793 0 R 5794 0 R 5795 0 R 5796 0 R 5797 0 R 5798 0 R] +/Limits [(lstlisting.-173) (lstlisting.-204)] +>> endobj +6441 0 obj << +/Kids [5799 0 R 5800 0 R 5801 0 R 5802 0 R 5803 0 R 5804 0 R] +/Limits [(lstlisting.-205) (lstlisting.-237)] +>> endobj +6442 0 obj << +/Kids [5805 0 R 5806 0 R 5807 0 R 5808 0 R 5809 0 R 5810 0 R] +/Limits [(lstlisting.-238) (lstlisting.-27)] +>> endobj +6443 0 obj << +/Kids [5811 0 R 5812 0 R 5813 0 R 5814 0 R 5815 0 R 5816 0 R] +/Limits [(lstlisting.-270) (lstlisting.-301)] +>> endobj +6444 0 obj << +/Kids [5817 0 R 5818 0 R 5819 0 R 5820 0 R 5821 0 R 5822 0 R] +/Limits [(lstlisting.-302) (lstlisting.-334)] +>> endobj +6445 0 obj << +/Kids [5823 0 R 5824 0 R 5825 0 R 5826 0 R 5827 0 R 5828 0 R] +/Limits [(lstlisting.-335) (lstlisting.-367)] +>> endobj +6446 0 obj << +/Kids [5829 0 R 5830 0 R 5831 0 R 5832 0 R 5833 0 R 5834 0 R] +/Limits [(lstlisting.-368) (lstlisting.-4)] +>> endobj +6447 0 obj << +/Kids [5835 0 R 5836 0 R 5837 0 R 5838 0 R 5839 0 R 5840 0 R] +/Limits [(lstlisting.-40) (lstlisting.-431)] +>> endobj +6448 0 obj << +/Kids [5841 0 R 5842 0 R 5843 0 R 5844 0 R 5845 0 R 5846 0 R] +/Limits [(lstlisting.-432) (lstlisting.-464)] +>> endobj +6449 0 obj << +/Kids [5847 0 R 5848 0 R 5849 0 R 5850 0 R 5851 0 R 5852 0 R] +/Limits [(lstlisting.-465) (lstlisting.-497)] +>> endobj +6450 0 obj << +/Kids [5853 0 R 5854 0 R 5855 0 R 5856 0 R 5857 0 R 5858 0 R] +/Limits [(lstlisting.-498) (lstlisting.-529)] +>> endobj +6451 0 obj << +/Kids [5859 0 R 5860 0 R 5861 0 R 5862 0 R 5863 0 R 5864 0 R] +/Limits [(lstlisting.-53) (lstlisting.-561)] +>> endobj +6452 0 obj << +/Kids [5865 0 R 5866 0 R 5867 0 R 5868 0 R 5869 0 R 5870 0 R] +/Limits [(lstlisting.-562) (lstlisting.-594)] +>> endobj +6453 0 obj << +/Kids [5871 0 R 5872 0 R 5873 0 R 5874 0 R 5875 0 R 5876 0 R] +/Limits [(lstlisting.-595) (lstlisting.-626)] +>> endobj +6454 0 obj << +/Kids [5877 0 R 5878 0 R 5879 0 R 5880 0 R 5881 0 R 5882 0 R] +/Limits [(lstlisting.-627) (lstlisting.-659)] +>> endobj +6455 0 obj << +/Kids [5883 0 R 5884 0 R 5885 0 R 5886 0 R 5887 0 R 5888 0 R] +/Limits [(lstlisting.-66) (lstlisting.-691)] +>> endobj +6456 0 obj << +/Kids [5889 0 R 5890 0 R 5891 0 R 5892 0 R 5893 0 R 5894 0 R] +/Limits [(lstlisting.-692) (lstlisting.-723)] +>> endobj +6457 0 obj << +/Kids [5895 0 R 5896 0 R 5897 0 R 5898 0 R 5899 0 R 5900 0 R] +/Limits [(lstlisting.-724) (lstlisting.-756)] +>> endobj +6458 0 obj << +/Kids [5901 0 R 5902 0 R 5903 0 R 5904 0 R 5905 0 R 5906 0 R] +/Limits [(lstlisting.-757) (lstlisting.-789)] +>> endobj +6459 0 obj << +/Kids [5907 0 R 5908 0 R 5909 0 R 5910 0 R 5911 0 R 5912 0 R] +/Limits [(lstlisting.-79) (lstlisting.-820)] +>> endobj +6460 0 obj << +/Kids [5913 0 R 5914 0 R 5915 0 R 5916 0 R 5917 0 R 5918 0 R] +/Limits [(lstlisting.-821) (lstlisting.-853)] +>> endobj +6461 0 obj << +/Kids [5919 0 R 5920 0 R 5921 0 R 5922 0 R 5923 0 R 5924 0 R] +/Limits [(lstlisting.-854) (lstlisting.-886)] +>> endobj +6462 0 obj << +/Kids [5925 0 R 5926 0 R 5927 0 R 5928 0 R 5929 0 R 5930 0 R] +/Limits [(lstlisting.-887) (lstlisting.-918)] +>> endobj +6463 0 obj << +/Kids [5931 0 R 5932 0 R 5933 0 R 5934 0 R 5935 0 R 5936 0 R] +/Limits [(lstlisting.-919) (lstlisting.-950)] +>> endobj +6464 0 obj << +/Kids [5937 0 R 5938 0 R 5939 0 R 5940 0 R 5941 0 R 5942 0 R] +/Limits [(lstlisting.-951) (lstlisting.-983)] +>> endobj +6465 0 obj << +/Kids [5943 0 R 5944 0 R 5945 0 R 5946 0 R 5947 0 R 5948 0 R] +/Limits [(lstlisting.-984) (lstnumber.-1009.1)] +>> endobj +6466 0 obj << +/Kids [5949 0 R 5950 0 R 5951 0 R 5952 0 R 5953 0 R 5954 0 R] +/Limits [(lstnumber.-101.1) (lstnumber.-1023.5)] +>> endobj +6467 0 obj << +/Kids [5955 0 R 5956 0 R 5957 0 R 5958 0 R 5959 0 R 5960 0 R] +/Limits [(lstnumber.-1023.6) (lstnumber.-1028.10)] +>> endobj +6468 0 obj << +/Kids [5961 0 R 5962 0 R 5963 0 R 5964 0 R 5965 0 R 5966 0 R] +/Limits [(lstnumber.-1028.11) (lstnumber.-104.1)] +>> endobj +6469 0 obj << +/Kids [5967 0 R 5968 0 R 5969 0 R 5970 0 R 5971 0 R 5972 0 R] +/Limits [(lstnumber.-1040.1) (lstnumber.-1058.1)] +>> endobj +6470 0 obj << +/Kids [5973 0 R 5974 0 R 5975 0 R 5976 0 R 5977 0 R 5978 0 R] +/Limits [(lstnumber.-1058.2) (lstnumber.-1075.7)] +>> endobj +6471 0 obj << +/Kids [5979 0 R 5980 0 R 5981 0 R 5982 0 R 5983 0 R 5984 0 R] +/Limits [(lstnumber.-1076.1) (lstnumber.-1093.1)] +>> endobj +6472 0 obj << +/Kids [5985 0 R 5986 0 R 5987 0 R 5988 0 R 5989 0 R 5990 0 R] +/Limits [(lstnumber.-1094.1) (lstnumber.-1113.1)] +>> endobj +6473 0 obj << +/Kids [5991 0 R 5992 0 R 5993 0 R 5994 0 R 5995 0 R 5996 0 R] +/Limits [(lstnumber.-1114.1) (lstnumber.-113.2)] +>> endobj +6474 0 obj << +/Kids [5997 0 R 5998 0 R 5999 0 R 6000 0 R 6001 0 R 6002 0 R] +/Limits [(lstnumber.-1130.1) (lstnumber.-1144.1)] +>> endobj +6475 0 obj << +/Kids [6003 0 R 6004 0 R 6005 0 R 6006 0 R 6007 0 R 6008 0 R] +/Limits [(lstnumber.-1144.2) (lstnumber.-1155.11)] +>> endobj +6476 0 obj << +/Kids [6009 0 R 6010 0 R 6011 0 R 6012 0 R 6013 0 R 6014 0 R] +/Limits [(lstnumber.-1155.12) (lstnumber.-1158.3)] +>> endobj +6477 0 obj << +/Kids [6015 0 R 6016 0 R 6017 0 R 6018 0 R 6019 0 R 6020 0 R] +/Limits [(lstnumber.-1158.4) (lstnumber.-1162.4)] +>> endobj +6478 0 obj << +/Kids [6021 0 R 6022 0 R 6023 0 R 6024 0 R 6025 0 R 6026 0 R] +/Limits [(lstnumber.-1162.5) (lstnumber.-1163.9)] +>> endobj +6479 0 obj << +/Kids [6027 0 R 6028 0 R 6029 0 R 6030 0 R 6031 0 R 6032 0 R] +/Limits [(lstnumber.-1164.1) (lstnumber.-1184.1)] +>> endobj +6480 0 obj << +/Kids [6033 0 R 6034 0 R 6035 0 R 6036 0 R 6037 0 R 6038 0 R] +/Limits [(lstnumber.-1185.1) (lstnumber.-1201.1)] +>> endobj +6481 0 obj << +/Kids [6039 0 R 6040 0 R 6041 0 R 6042 0 R 6043 0 R 6044 0 R] +/Limits [(lstnumber.-1201.2) (lstnumber.-1205.9)] +>> endobj +6482 0 obj << +/Kids [6045 0 R 6046 0 R 6047 0 R 6048 0 R 6049 0 R 6050 0 R] +/Limits [(lstnumber.-1206.1) (lstnumber.-1212.5)] +>> endobj +6483 0 obj << +/Kids [6051 0 R 6052 0 R 6053 0 R 6054 0 R 6055 0 R 6056 0 R] +/Limits [(lstnumber.-1212.6) (lstnumber.-133.1)] +>> endobj +6484 0 obj << +/Kids [6057 0 R 6058 0 R 6059 0 R 6060 0 R 6061 0 R 6062 0 R] +/Limits [(lstnumber.-134.1) (lstnumber.-147.3)] +>> endobj +6485 0 obj << +/Kids [6063 0 R 6064 0 R 6065 0 R 6066 0 R 6067 0 R 6068 0 R] +/Limits [(lstnumber.-147.4) (lstnumber.-17.1)] +>> endobj +6486 0 obj << +/Kids [6069 0 R 6070 0 R 6071 0 R 6072 0 R 6073 0 R 6074 0 R] +/Limits [(lstnumber.-170.1) (lstnumber.-193.2)] +>> endobj +6487 0 obj << +/Kids [6075 0 R 6076 0 R 6077 0 R 6078 0 R 6079 0 R 6080 0 R] +/Limits [(lstnumber.-194.1) (lstnumber.-222.1)] +>> endobj +6488 0 obj << +/Kids [6081 0 R 6082 0 R 6083 0 R 6084 0 R 6085 0 R 6086 0 R] +/Limits [(lstnumber.-223.1) (lstnumber.-253.1)] +>> endobj +6489 0 obj << +/Kids [6087 0 R 6088 0 R 6089 0 R 6090 0 R 6091 0 R 6092 0 R] +/Limits [(lstnumber.-253.2) (lstnumber.-277.1)] +>> endobj +6490 0 obj << +/Kids [6093 0 R 6094 0 R 6095 0 R 6096 0 R 6097 0 R 6098 0 R] +/Limits [(lstnumber.-277.2) (lstnumber.-302.2)] +>> endobj +6491 0 obj << +/Kids [6099 0 R 6100 0 R 6101 0 R 6102 0 R 6103 0 R 6104 0 R] +/Limits [(lstnumber.-303.1) (lstnumber.-330.1)] +>> endobj +6492 0 obj << +/Kids [6105 0 R 6106 0 R 6107 0 R 6108 0 R 6109 0 R 6110 0 R] +/Limits [(lstnumber.-331.1) (lstnumber.-353.3)] +>> endobj +6493 0 obj << +/Kids [6111 0 R 6112 0 R 6113 0 R 6114 0 R 6115 0 R 6116 0 R] +/Limits [(lstnumber.-353.4) (lstnumber.-373.3)] +>> endobj +6494 0 obj << +/Kids [6117 0 R 6118 0 R 6119 0 R 6120 0 R 6121 0 R 6122 0 R] +/Limits [(lstnumber.-373.4) (lstnumber.-387.4)] +>> endobj +6495 0 obj << +/Kids [6123 0 R 6124 0 R 6125 0 R 6126 0 R 6127 0 R 6128 0 R] +/Limits [(lstnumber.-387.5) (lstnumber.-410.1)] +>> endobj +6496 0 obj << +/Kids [6129 0 R 6130 0 R 6131 0 R 6132 0 R 6133 0 R 6134 0 R] +/Limits [(lstnumber.-411.1) (lstnumber.-431.1)] +>> endobj +6497 0 obj << +/Kids [6135 0 R 6136 0 R 6137 0 R 6138 0 R 6139 0 R 6140 0 R] +/Limits [(lstnumber.-432.1) (lstnumber.-463.1)] +>> endobj +6498 0 obj << +/Kids [6141 0 R 6142 0 R 6143 0 R 6144 0 R 6145 0 R 6146 0 R] +/Limits [(lstnumber.-464.1) (lstnumber.-487.1)] +>> endobj +6499 0 obj << +/Kids [6147 0 R 6148 0 R 6149 0 R 6150 0 R 6151 0 R 6152 0 R] +/Limits [(lstnumber.-488.1) (lstnumber.-509.1)] +>> endobj +6500 0 obj << +/Kids [6153 0 R 6154 0 R 6155 0 R 6156 0 R 6157 0 R 6158 0 R] +/Limits [(lstnumber.-51.1) (lstnumber.-535.1)] +>> endobj +6501 0 obj << +/Kids [6159 0 R 6160 0 R 6161 0 R 6162 0 R 6163 0 R 6164 0 R] +/Limits [(lstnumber.-536.1) (lstnumber.-558.2)] +>> endobj +6502 0 obj << +/Kids [6165 0 R 6166 0 R 6167 0 R 6168 0 R 6169 0 R 6170 0 R] +/Limits [(lstnumber.-559.1) (lstnumber.-582.1)] +>> endobj +6503 0 obj << +/Kids [6171 0 R 6172 0 R 6173 0 R 6174 0 R 6175 0 R 6176 0 R] +/Limits [(lstnumber.-582.2) (lstnumber.-600.2)] +>> endobj +6504 0 obj << +/Kids [6177 0 R 6178 0 R 6179 0 R 6180 0 R 6181 0 R 6182 0 R] +/Limits [(lstnumber.-600.3) (lstnumber.-606.1)] +>> endobj +6505 0 obj << +/Kids [6183 0 R 6184 0 R 6185 0 R 6186 0 R 6187 0 R 6188 0 R] +/Limits [(lstnumber.-606.2) (lstnumber.-636.1)] +>> endobj +6506 0 obj << +/Kids [6189 0 R 6190 0 R 6191 0 R 6192 0 R 6193 0 R 6194 0 R] +/Limits [(lstnumber.-637.1) (lstnumber.-654.1)] +>> endobj +6507 0 obj << +/Kids [6195 0 R 6196 0 R 6197 0 R 6198 0 R 6199 0 R 6200 0 R] +/Limits [(lstnumber.-654.2) (lstnumber.-671.1)] +>> endobj +6508 0 obj << +/Kids [6201 0 R 6202 0 R 6203 0 R 6204 0 R 6205 0 R 6206 0 R] +/Limits [(lstnumber.-671.2) (lstnumber.-691.2)] +>> endobj +6509 0 obj << +/Kids [6207 0 R 6208 0 R 6209 0 R 6210 0 R 6211 0 R 6212 0 R] +/Limits [(lstnumber.-691.3) (lstnumber.-709.1)] +>> endobj +6510 0 obj << +/Kids [6213 0 R 6214 0 R 6215 0 R 6216 0 R 6217 0 R 6218 0 R] +/Limits [(lstnumber.-71.1) (lstnumber.-729.1)] +>> endobj +6511 0 obj << +/Kids [6219 0 R 6220 0 R 6221 0 R 6222 0 R 6223 0 R 6224 0 R] +/Limits [(lstnumber.-729.2) (lstnumber.-742.1)] +>> endobj +6512 0 obj << +/Kids [6225 0 R 6226 0 R 6227 0 R 6228 0 R 6229 0 R 6230 0 R] +/Limits [(lstnumber.-743.1) (lstnumber.-768.1)] +>> endobj +6513 0 obj << +/Kids [6231 0 R 6232 0 R 6233 0 R 6234 0 R 6235 0 R 6236 0 R] +/Limits [(lstnumber.-769.1) (lstnumber.-789.1)] +>> endobj +6514 0 obj << +/Kids [6237 0 R 6238 0 R 6239 0 R 6240 0 R 6241 0 R 6242 0 R] +/Limits [(lstnumber.-789.2) (lstnumber.-804.4)] +>> endobj +6515 0 obj << +/Kids [6243 0 R 6244 0 R 6245 0 R 6246 0 R 6247 0 R 6248 0 R] +/Limits [(lstnumber.-805.1) (lstnumber.-815.2)] +>> endobj +6516 0 obj << +/Kids [6249 0 R 6250 0 R 6251 0 R 6252 0 R 6253 0 R 6254 0 R] +/Limits [(lstnumber.-815.3) (lstnumber.-834.1)] +>> endobj +6517 0 obj << +/Kids [6255 0 R 6256 0 R 6257 0 R 6258 0 R 6259 0 R 6260 0 R] +/Limits [(lstnumber.-835.1) (lstnumber.-838.1)] +>> endobj +6518 0 obj << +/Kids [6261 0 R 6262 0 R 6263 0 R 6264 0 R 6265 0 R 6266 0 R] +/Limits [(lstnumber.-838.2) (lstnumber.-855.1)] +>> endobj +6519 0 obj << +/Kids [6267 0 R 6268 0 R 6269 0 R 6270 0 R 6271 0 R 6272 0 R] +/Limits [(lstnumber.-856.1) (lstnumber.-875.5)] +>> endobj +6520 0 obj << +/Kids [6273 0 R 6274 0 R 6275 0 R 6276 0 R 6277 0 R 6278 0 R] +/Limits [(lstnumber.-876.1) (lstnumber.-879.37)] +>> endobj +6521 0 obj << +/Kids [6279 0 R 6280 0 R 6281 0 R 6282 0 R 6283 0 R 6284 0 R] +/Limits [(lstnumber.-879.38) (lstnumber.-890.5)] +>> endobj +6522 0 obj << +/Kids [6285 0 R 6286 0 R 6287 0 R 6288 0 R 6289 0 R 6290 0 R] +/Limits [(lstnumber.-890.6) (lstnumber.-904.1)] +>> endobj +6523 0 obj << +/Kids [6291 0 R 6292 0 R 6293 0 R 6294 0 R 6295 0 R 6296 0 R] +/Limits [(lstnumber.-905.1) (lstnumber.-918.16)] +>> endobj +6524 0 obj << +/Kids [6297 0 R 6298 0 R 6299 0 R 6300 0 R 6301 0 R 6302 0 R] +/Limits [(lstnumber.-918.17) (lstnumber.-929.2)] +>> endobj +6525 0 obj << +/Kids [6303 0 R 6304 0 R 6305 0 R 6306 0 R 6307 0 R 6308 0 R] +/Limits [(lstnumber.-93.1) (lstnumber.-935.1)] +>> endobj +6526 0 obj << +/Kids [6309 0 R 6310 0 R 6311 0 R 6312 0 R 6313 0 R 6314 0 R] +/Limits [(lstnumber.-935.2) (lstnumber.-945.3)] +>> endobj +6527 0 obj << +/Kids [6315 0 R 6316 0 R 6317 0 R 6318 0 R 6319 0 R 6320 0 R] +/Limits [(lstnumber.-945.4) (lstnumber.-962.13)] +>> endobj +6528 0 obj << +/Kids [6321 0 R 6322 0 R 6323 0 R 6324 0 R 6325 0 R 6326 0 R] +/Limits [(lstnumber.-962.14) (lstnumber.-963.25)] +>> endobj +6529 0 obj << +/Kids [6327 0 R 6328 0 R 6329 0 R 6330 0 R 6331 0 R 6332 0 R] +/Limits [(lstnumber.-963.26) (lstnumber.-973.2)] +>> endobj +6530 0 obj << +/Kids [6333 0 R 6334 0 R 6335 0 R 6336 0 R 6337 0 R 6338 0 R] +/Limits [(lstnumber.-974.1) (lstnumber.-979.1)] +>> endobj +6531 0 obj << +/Kids [6339 0 R 6340 0 R 6341 0 R 6342 0 R 6343 0 R 6344 0 R] +/Limits [(lstnumber.-979.2) (lstnumber.-992.1)] +>> endobj +6532 0 obj << +/Kids [6345 0 R 6346 0 R 6347 0 R 6348 0 R 6349 0 R 6350 0 R] +/Limits [(lstnumber.-993.1) (lstnumber.-994.4)] +>> endobj +6533 0 obj << +/Kids [6351 0 R 6352 0 R 6353 0 R 6354 0 R 6355 0 R 6356 0 R] +/Limits [(lstnumber.-994.5) (page.118)] +>> endobj +6534 0 obj << +/Kids [6357 0 R 6358 0 R 6359 0 R 6360 0 R 6361 0 R 6362 0 R] +/Limits [(page.119) (page.150)] +>> endobj +6535 0 obj << +/Kids [6363 0 R 6364 0 R 6365 0 R 6366 0 R 6367 0 R 6368 0 R] +/Limits [(page.151) (page.30)] +>> endobj +6536 0 obj << +/Kids [6369 0 R 6370 0 R 6371 0 R 6372 0 R 6373 0 R 6374 0 R] +/Limits [(page.31) (page.63)] +>> endobj +6537 0 obj << +/Kids [6375 0 R 6376 0 R 6377 0 R 6378 0 R 6379 0 R 6380 0 R] +/Limits [(page.64) (page.96)] +>> endobj +6538 0 obj << +/Kids [6381 0 R 6382 0 R 6383 0 R 6384 0 R 6385 0 R 6386 0 R] +/Limits [(page.97) (rnV1.77_Profiling)] +>> endobj +6539 0 obj << +/Kids [6387 0 R 6388 0 R 6389 0 R 6390 0 R 6391 0 R 6392 0 R] +/Limits [(rnV1.77_Template) (section.15)] +>> endobj +6540 0 obj << +/Kids [6393 0 R 6394 0 R 6395 0 R 6396 0 R 6397 0 R 6398 0 R] +/Limits [(section.16) (subsection.1.13)] +>> endobj +6541 0 obj << +/Kids [6399 0 R 6400 0 R 6401 0 R 6402 0 R 6403 0 R 6404 0 R] +/Limits [(subsection.1.14) (subsection.11.3)] +>> endobj +6542 0 obj << +/Kids [6405 0 R 6406 0 R 6407 0 R 6408 0 R 6409 0 R 6410 0 R] +/Limits [(subsection.11.4) (subsection.15.6)] +>> endobj +6543 0 obj << +/Kids [6411 0 R 6412 0 R 6413 0 R 6414 0 R 6415 0 R 6416 0 R] +/Limits [(subsection.15.7) (subsection.2.15)] +>> endobj +6544 0 obj << +/Kids [6417 0 R 6418 0 R 6419 0 R 6420 0 R 6421 0 R 6422 0 R] +/Limits [(subsection.2.16) (subsection.6.1)] +>> endobj +6545 0 obj << +/Kids [6423 0 R 6424 0 R 6425 0 R 6426 0 R] +/Limits [(subsection.6.2) (summary_V1.74.1_Roundtrip)] +>> endobj +6546 0 obj << +/Kids [6427 0 R 6428 0 R 6429 0 R 6430 0 R 6431 0 R 6432 0 R] +/Limits [(Doc-Start) (lstlisting.-1037)] +>> endobj +6547 0 obj << +/Kids [6433 0 R 6434 0 R 6435 0 R 6436 0 R 6437 0 R 6438 0 R] +/Limits [(lstlisting.-1038) (lstlisting.-14)] +>> endobj +6548 0 obj << +/Kids [6439 0 R 6440 0 R 6441 0 R 6442 0 R 6443 0 R 6444 0 R] +/Limits [(lstlisting.-140) (lstlisting.-334)] +>> endobj +6549 0 obj << +/Kids [6445 0 R 6446 0 R 6447 0 R 6448 0 R 6449 0 R 6450 0 R] +/Limits [(lstlisting.-335) (lstlisting.-529)] +>> endobj +6550 0 obj << +/Kids [6451 0 R 6452 0 R 6453 0 R 6454 0 R 6455 0 R 6456 0 R] +/Limits [(lstlisting.-53) (lstlisting.-723)] +>> endobj +6551 0 obj << +/Kids [6457 0 R 6458 0 R 6459 0 R 6460 0 R 6461 0 R 6462 0 R] +/Limits [(lstlisting.-724) (lstlisting.-918)] +>> endobj +6552 0 obj << +/Kids [6463 0 R 6464 0 R 6465 0 R 6466 0 R 6467 0 R 6468 0 R] +/Limits [(lstlisting.-919) (lstnumber.-104.1)] +>> endobj +6553 0 obj << +/Kids [6469 0 R 6470 0 R 6471 0 R 6472 0 R 6473 0 R 6474 0 R] +/Limits [(lstnumber.-1040.1) (lstnumber.-1144.1)] +>> endobj +6554 0 obj << +/Kids [6475 0 R 6476 0 R 6477 0 R 6478 0 R 6479 0 R 6480 0 R] +/Limits [(lstnumber.-1144.2) (lstnumber.-1201.1)] +>> endobj +6555 0 obj << +/Kids [6481 0 R 6482 0 R 6483 0 R 6484 0 R 6485 0 R 6486 0 R] +/Limits [(lstnumber.-1201.2) (lstnumber.-193.2)] +>> endobj +6556 0 obj << +/Kids [6487 0 R 6488 0 R 6489 0 R 6490 0 R 6491 0 R 6492 0 R] +/Limits [(lstnumber.-194.1) (lstnumber.-353.3)] +>> endobj +6557 0 obj << +/Kids [6493 0 R 6494 0 R 6495 0 R 6496 0 R 6497 0 R 6498 0 R] +/Limits [(lstnumber.-353.4) (lstnumber.-487.1)] +>> endobj +6558 0 obj << +/Kids [6499 0 R 6500 0 R 6501 0 R 6502 0 R 6503 0 R 6504 0 R] +/Limits [(lstnumber.-488.1) (lstnumber.-606.1)] +>> endobj +6559 0 obj << +/Kids [6505 0 R 6506 0 R 6507 0 R 6508 0 R 6509 0 R 6510 0 R] +/Limits [(lstnumber.-606.2) (lstnumber.-729.1)] +>> endobj +6560 0 obj << +/Kids [6511 0 R 6512 0 R 6513 0 R 6514 0 R 6515 0 R 6516 0 R] +/Limits [(lstnumber.-729.2) (lstnumber.-834.1)] +>> endobj +6561 0 obj << +/Kids [6517 0 R 6518 0 R 6519 0 R 6520 0 R 6521 0 R 6522 0 R] +/Limits [(lstnumber.-835.1) (lstnumber.-904.1)] +>> endobj +6562 0 obj << +/Kids [6523 0 R 6524 0 R 6525 0 R 6526 0 R 6527 0 R 6528 0 R] +/Limits [(lstnumber.-905.1) (lstnumber.-963.25)] +>> endobj +6563 0 obj << +/Kids [6529 0 R 6530 0 R 6531 0 R 6532 0 R 6533 0 R 6534 0 R] +/Limits [(lstnumber.-963.26) (page.150)] +>> endobj +6564 0 obj << +/Kids [6535 0 R 6536 0 R 6537 0 R 6538 0 R 6539 0 R 6540 0 R] +/Limits [(page.151) (subsection.1.13)] +>> endobj +6565 0 obj << +/Kids [6541 0 R 6542 0 R 6543 0 R 6544 0 R 6545 0 R] +/Limits [(subsection.1.14) (summary_V1.74.1_Roundtrip)] +>> endobj +6566 0 obj << +/Kids [6546 0 R 6547 0 R 6548 0 R 6549 0 R 6550 0 R 6551 0 R] +/Limits [(Doc-Start) (lstlisting.-918)] +>> endobj +6567 0 obj << +/Kids [6552 0 R 6553 0 R 6554 0 R 6555 0 R 6556 0 R 6557 0 R] +/Limits [(lstlisting.-919) (lstnumber.-487.1)] +>> endobj +6568 0 obj << +/Kids [6558 0 R 6559 0 R 6560 0 R 6561 0 R 6562 0 R 6563 0 R] +/Limits [(lstnumber.-488.1) (page.150)] +>> endobj +6569 0 obj << +/Kids [6564 0 R 6565 0 R] +/Limits [(page.151) (summary_V1.74.1_Roundtrip)] +>> endobj +6570 0 obj << +/Kids [6566 0 R 6567 0 R 6568 0 R 6569 0 R] +/Limits [(Doc-Start) (summary_V1.74.1_Roundtrip)] +>> endobj +6571 0 obj << +/Dests 6570 0 R +>> endobj +6572 0 obj << +/Type /Catalog +/Pages 5713 0 R +/Outlines 5714 0 R +/Names 6571 0 R +/PageMode/UseOutlines/PageLabels<>8<>]>> +/OpenAction 805 0 R +>> endobj +6573 0 obj << +/Author()/Title(Release Notes for the DocBook XSL Stylesheets)/Subject()/Creator(DBLaTeX-0.3-2)/Producer(pdfTeX-1.40.10)/Keywords() +/CreationDate (D:20120520203311Z) +/ModDate (D:20120520203311Z) +/Trapped /False +/PTEX.Fullbanner (This is pdfTeX, Version 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0) +>> endobj +xref +0 6574 +0000000000 65535 f +0000000015 00000 n +0000062855 00000 n +0000947274 00000 n +0000000060 00000 n +0000000109 00000 n +0000062978 00000 n +0000947204 00000 n +0000000159 00000 n +0000000184 00000 n +0000068049 00000 n +0000947120 00000 n +0000000234 00000 n +0000000259 00000 n +0000072072 00000 n +0000947034 00000 n +0000000310 00000 n +0000000331 00000 n +0000091093 00000 n +0000946948 00000 n +0000000382 00000 n +0000000405 00000 n +0000118662 00000 n +0000946862 00000 n +0000000456 00000 n +0000000483 00000 n +0000120872 00000 n +0000946776 00000 n +0000000534 00000 n +0000000557 00000 n +0000121562 00000 n +0000946690 00000 n +0000000608 00000 n +0000000635 00000 n +0000121809 00000 n +0000946604 00000 n +0000000686 00000 n +0000000712 00000 n +0000122057 00000 n +0000946518 00000 n +0000000763 00000 n +0000000790 00000 n +0000124316 00000 n +0000946432 00000 n +0000000842 00000 n +0000000870 00000 n +0000124566 00000 n +0000946346 00000 n +0000000922 00000 n +0000000947 00000 n +0000124816 00000 n +0000946260 00000 n +0000000999 00000 n +0000001025 00000 n +0000125066 00000 n +0000946174 00000 n +0000001077 00000 n +0000001103 00000 n +0000162437 00000 n +0000946088 00000 n +0000001155 00000 n +0000001180 00000 n +0000172401 00000 n +0000946002 00000 n +0000001232 00000 n +0000001263 00000 n +0000174999 00000 n +0000945916 00000 n +0000001315 00000 n +0000001343 00000 n +0000175249 00000 n +0000945830 00000 n +0000001395 00000 n +0000001417 00000 n +0000175813 00000 n +0000945744 00000 n +0000001469 00000 n +0000001496 00000 n +0000179424 00000 n +0000945658 00000 n +0000001548 00000 n +0000001577 00000 n +0000179800 00000 n +0000945585 00000 n +0000001629 00000 n +0000001657 00000 n +0000180050 00000 n +0000945457 00000 n +0000001703 00000 n +0000001743 00000 n +0000185824 00000 n +0000945383 00000 n +0000001794 00000 n +0000001820 00000 n +0000189609 00000 n +0000945296 00000 n +0000001871 00000 n +0000001896 00000 n +0000190928 00000 n +0000945207 00000 n +0000001947 00000 n +0000001969 00000 n +0000200266 00000 n +0000945116 00000 n +0000002021 00000 n +0000002045 00000 n +0000212344 00000 n +0000945024 00000 n +0000002097 00000 n +0000002121 00000 n +0000212595 00000 n +0000944932 00000 n +0000002173 00000 n +0000002201 00000 n +0000212846 00000 n +0000944840 00000 n +0000002253 00000 n +0000002280 00000 n +0000213097 00000 n +0000944748 00000 n +0000002332 00000 n +0000002360 00000 n +0000213536 00000 n +0000944656 00000 n +0000002412 00000 n +0000002439 00000 n +0000244192 00000 n +0000944564 00000 n +0000002492 00000 n +0000002518 00000 n +0000251783 00000 n +0000944472 00000 n +0000002571 00000 n +0000002603 00000 n +0000252159 00000 n +0000944380 00000 n +0000002656 00000 n +0000002685 00000 n +0000252408 00000 n +0000944288 00000 n +0000002738 00000 n +0000002761 00000 n +0000252972 00000 n +0000944196 00000 n +0000002814 00000 n +0000002842 00000 n +0000255298 00000 n +0000944104 00000 n +0000002895 00000 n +0000002925 00000 n +0000255675 00000 n +0000944026 00000 n +0000002978 00000 n +0000003007 00000 n +0000255926 00000 n +0000943894 00000 n +0000003054 00000 n +0000003095 00000 n +0000256051 00000 n +0000943815 00000 n +0000003147 00000 n +0000003169 00000 n +0000256365 00000 n +0000943722 00000 n +0000003221 00000 n +0000003245 00000 n +0000256616 00000 n +0000943643 00000 n +0000003297 00000 n +0000003323 00000 n +0000259145 00000 n +0000943510 00000 n +0000003370 00000 n +0000003411 00000 n +0000259270 00000 n +0000943431 00000 n +0000003463 00000 n +0000003490 00000 n +0000262997 00000 n +0000943338 00000 n +0000003542 00000 n +0000003568 00000 n +0000268248 00000 n +0000943245 00000 n +0000003620 00000 n +0000003642 00000 n +0000273461 00000 n +0000943152 00000 n +0000003694 00000 n +0000003718 00000 n +0000285798 00000 n +0000943059 00000 n +0000003770 00000 n +0000003798 00000 n +0000286678 00000 n +0000942966 00000 n +0000003850 00000 n +0000003874 00000 n +0000293579 00000 n +0000942873 00000 n +0000003926 00000 n +0000003953 00000 n +0000296262 00000 n +0000942780 00000 n +0000004005 00000 n +0000004031 00000 n +0000297268 00000 n +0000942701 00000 n +0000004083 00000 n +0000004112 00000 n +0000297519 00000 n +0000942568 00000 n +0000004159 00000 n +0000004200 00000 n +0000299665 00000 n +0000942489 00000 n +0000004252 00000 n +0000004279 00000 n +0000300294 00000 n +0000942396 00000 n +0000004331 00000 n +0000004357 00000 n +0000300671 00000 n +0000942303 00000 n +0000004409 00000 n +0000004431 00000 n +0000300921 00000 n +0000942210 00000 n +0000004483 00000 n +0000004507 00000 n +0000303404 00000 n +0000942117 00000 n +0000004559 00000 n +0000004587 00000 n +0000303781 00000 n +0000942024 00000 n +0000004639 00000 n +0000004663 00000 n +0000304156 00000 n +0000941931 00000 n +0000004715 00000 n +0000004744 00000 n +0000304407 00000 n +0000941838 00000 n +0000004796 00000 n +0000004825 00000 n +0000304658 00000 n +0000941759 00000 n +0000004877 00000 n +0000004906 00000 n +0000307046 00000 n +0000941626 00000 n +0000004953 00000 n +0000004994 00000 n +0000307171 00000 n +0000941547 00000 n +0000005046 00000 n +0000005068 00000 n +0000307548 00000 n +0000941454 00000 n +0000005120 00000 n +0000005144 00000 n +0000307922 00000 n +0000941361 00000 n +0000005196 00000 n +0000005220 00000 n +0000308424 00000 n +0000941282 00000 n +0000005272 00000 n +0000005298 00000 n +0000311610 00000 n +0000941148 00000 n +0000005345 00000 n +0000005386 00000 n +0000314090 00000 n +0000941069 00000 n +0000005438 00000 n +0000005465 00000 n +0000318184 00000 n +0000940976 00000 n +0000005517 00000 n +0000005543 00000 n +0000323858 00000 n +0000940883 00000 n +0000005595 00000 n +0000005617 00000 n +0000343193 00000 n +0000940790 00000 n +0000005669 00000 n +0000005693 00000 n +0000361323 00000 n +0000940697 00000 n +0000005745 00000 n +0000005773 00000 n +0000361763 00000 n +0000940604 00000 n +0000005825 00000 n +0000005849 00000 n +0000366494 00000 n +0000940511 00000 n +0000005901 00000 n +0000005929 00000 n +0000366745 00000 n +0000940418 00000 n +0000005981 00000 n +0000006007 00000 n +0000373710 00000 n +0000940325 00000 n +0000006059 00000 n +0000006091 00000 n +0000374212 00000 n +0000940232 00000 n +0000006144 00000 n +0000006173 00000 n +0000374523 00000 n +0000940153 00000 n +0000006226 00000 n +0000006255 00000 n +0000374837 00000 n +0000940059 00000 n +0000006302 00000 n +0000006343 00000 n +0000374962 00000 n +0000939965 00000 n +0000006390 00000 n +0000006431 00000 n +0000377767 00000 n +0000939832 00000 n +0000006479 00000 n +0000006520 00000 n +0000377892 00000 n +0000939753 00000 n +0000006573 00000 n +0000006600 00000 n +0000381452 00000 n +0000939660 00000 n +0000006653 00000 n +0000006675 00000 n +0000382646 00000 n +0000939567 00000 n +0000006728 00000 n +0000006752 00000 n +0000386280 00000 n +0000939474 00000 n +0000006805 00000 n +0000006833 00000 n +0000386783 00000 n +0000939381 00000 n +0000006886 00000 n +0000006910 00000 n +0000392853 00000 n +0000939288 00000 n +0000006963 00000 n +0000006992 00000 n +0000393795 00000 n +0000939195 00000 n +0000007045 00000 n +0000007071 00000 n +0000397374 00000 n +0000939116 00000 n +0000007124 00000 n +0000007156 00000 n +0000397813 00000 n +0000938982 00000 n +0000007204 00000 n +0000007245 00000 n +0000400390 00000 n +0000938903 00000 n +0000007298 00000 n +0000007325 00000 n +0000405410 00000 n +0000938810 00000 n +0000007378 00000 n +0000007404 00000 n +0000416256 00000 n +0000938717 00000 n +0000007457 00000 n +0000007479 00000 n +0000432448 00000 n +0000938624 00000 n +0000007532 00000 n +0000007556 00000 n +0000448341 00000 n +0000938531 00000 n +0000007609 00000 n +0000007637 00000 n +0000497856 00000 n +0000938438 00000 n +0000007690 00000 n +0000007714 00000 n +0000504012 00000 n +0000938345 00000 n +0000007767 00000 n +0000007795 00000 n +0000504452 00000 n +0000938252 00000 n +0000007848 00000 n +0000007875 00000 n +0000507924 00000 n +0000938159 00000 n +0000007928 00000 n +0000007956 00000 n +0000508364 00000 n +0000938066 00000 n +0000008010 00000 n +0000008039 00000 n +0000512489 00000 n +0000937973 00000 n +0000008093 00000 n +0000008119 00000 n +0000513055 00000 n +0000937880 00000 n +0000008173 00000 n +0000008200 00000 n +0000513306 00000 n +0000937787 00000 n +0000008254 00000 n +0000008280 00000 n +0000530138 00000 n +0000937694 00000 n +0000008334 00000 n +0000008363 00000 n +0000533311 00000 n +0000937601 00000 n +0000008417 00000 n +0000008442 00000 n +0000535073 00000 n +0000937508 00000 n +0000008496 00000 n +0000008526 00000 n +0000537619 00000 n +0000937415 00000 n +0000008580 00000 n +0000008609 00000 n +0000538373 00000 n +0000937322 00000 n +0000008663 00000 n +0000008692 00000 n +0000539127 00000 n +0000937243 00000 n +0000008746 00000 n +0000008777 00000 n +0000542460 00000 n +0000937149 00000 n +0000008825 00000 n +0000008866 00000 n +0000542585 00000 n +0000937016 00000 n +0000008914 00000 n +0000008949 00000 n +0000542710 00000 n +0000936937 00000 n +0000009002 00000 n +0000009029 00000 n +0000543086 00000 n +0000936844 00000 n +0000009082 00000 n +0000009104 00000 n +0000546810 00000 n +0000936751 00000 n +0000009157 00000 n +0000009181 00000 n +0000548696 00000 n +0000936658 00000 n +0000009234 00000 n +0000009262 00000 n +0000551014 00000 n +0000936565 00000 n +0000009315 00000 n +0000009343 00000 n +0000551328 00000 n +0000936472 00000 n +0000009396 00000 n +0000009423 00000 n +0000551639 00000 n +0000936379 00000 n +0000009476 00000 n +0000009504 00000 n +0000551953 00000 n +0000936286 00000 n +0000009557 00000 n +0000009586 00000 n +0000552267 00000 n +0000936207 00000 n +0000009639 00000 n +0000009665 00000 n +0000556003 00000 n +0000936073 00000 n +0000009713 00000 n +0000009748 00000 n +0000556128 00000 n +0000935994 00000 n +0000009801 00000 n +0000009828 00000 n +0000560395 00000 n +0000935901 00000 n +0000009881 00000 n +0000009907 00000 n +0000564305 00000 n +0000935808 00000 n +0000009960 00000 n +0000009982 00000 n +0000570329 00000 n +0000935715 00000 n +0000010035 00000 n +0000010059 00000 n +0000584733 00000 n +0000935622 00000 n +0000010112 00000 n +0000010140 00000 n +0000603325 00000 n +0000935529 00000 n +0000010193 00000 n +0000010220 00000 n +0000603700 00000 n +0000935436 00000 n +0000010273 00000 n +0000010301 00000 n +0000604140 00000 n +0000935343 00000 n +0000010354 00000 n +0000010383 00000 n +0000604517 00000 n +0000935250 00000 n +0000010436 00000 n +0000010462 00000 n +0000613609 00000 n +0000935157 00000 n +0000010516 00000 n +0000010548 00000 n +0000613860 00000 n +0000935064 00000 n +0000010602 00000 n +0000010631 00000 n +0000616746 00000 n +0000934971 00000 n +0000010685 00000 n +0000010708 00000 n +0000617060 00000 n +0000934878 00000 n +0000010762 00000 n +0000010787 00000 n +0000617497 00000 n +0000934785 00000 n +0000010841 00000 n +0000010870 00000 n +0000618252 00000 n +0000934706 00000 n +0000010924 00000 n +0000010953 00000 n +0000623238 00000 n +0000934573 00000 n +0000011001 00000 n +0000011036 00000 n +0000625973 00000 n +0000934494 00000 n +0000011089 00000 n +0000011115 00000 n +0000626098 00000 n +0000934401 00000 n +0000011168 00000 n +0000011190 00000 n +0000627950 00000 n +0000934308 00000 n +0000011243 00000 n +0000011267 00000 n +0000628074 00000 n +0000934215 00000 n +0000011320 00000 n +0000011348 00000 n +0000630305 00000 n +0000934122 00000 n +0000011401 00000 n +0000011427 00000 n +0000632572 00000 n +0000934029 00000 n +0000011480 00000 n +0000011508 00000 n +0000632697 00000 n +0000933950 00000 n +0000011561 00000 n +0000011590 00000 n +0000632821 00000 n +0000933817 00000 n +0000011638 00000 n +0000011673 00000 n +0000634844 00000 n +0000933738 00000 n +0000011726 00000 n +0000011752 00000 n +0000634969 00000 n +0000933645 00000 n +0000011805 00000 n +0000011827 00000 n +0000635094 00000 n +0000933552 00000 n +0000011880 00000 n +0000011904 00000 n +0000637828 00000 n +0000933459 00000 n +0000011957 00000 n +0000011989 00000 n +0000637953 00000 n +0000933366 00000 n +0000012042 00000 n +0000012070 00000 n +0000638078 00000 n +0000933273 00000 n +0000012123 00000 n +0000012149 00000 n +0000638203 00000 n +0000933194 00000 n +0000012202 00000 n +0000012231 00000 n +0000638328 00000 n +0000933061 00000 n +0000012279 00000 n +0000012314 00000 n +0000641044 00000 n +0000932982 00000 n +0000012367 00000 n +0000012393 00000 n +0000641169 00000 n +0000932889 00000 n +0000012446 00000 n +0000012476 00000 n +0000641294 00000 n +0000932796 00000 n +0000012529 00000 n +0000012551 00000 n +0000643417 00000 n +0000932703 00000 n +0000012604 00000 n +0000012628 00000 n +0000647440 00000 n +0000932610 00000 n +0000012681 00000 n +0000012713 00000 n +0000647565 00000 n +0000932517 00000 n +0000012766 00000 n +0000012794 00000 n +0000647690 00000 n +0000932424 00000 n +0000012847 00000 n +0000012873 00000 n +0000649901 00000 n +0000932345 00000 n +0000012926 00000 n +0000012951 00000 n +0000650026 00000 n +0000932212 00000 n +0000012999 00000 n +0000013034 00000 n +0000650151 00000 n +0000932133 00000 n +0000013087 00000 n +0000013109 00000 n +0000652697 00000 n +0000932040 00000 n +0000013162 00000 n +0000013186 00000 n +0000652822 00000 n +0000931947 00000 n +0000013239 00000 n +0000013267 00000 n +0000652947 00000 n +0000931868 00000 n +0000013320 00000 n +0000013346 00000 n +0000653072 00000 n +0000931735 00000 n +0000013394 00000 n +0000013429 00000 n +0000656213 00000 n +0000931656 00000 n +0000013482 00000 n +0000013508 00000 n +0000658594 00000 n +0000931563 00000 n +0000013561 00000 n +0000013591 00000 n +0000658719 00000 n +0000931470 00000 n +0000013644 00000 n +0000013666 00000 n +0000670534 00000 n +0000931377 00000 n +0000013719 00000 n +0000013743 00000 n +0000679701 00000 n +0000931284 00000 n +0000013796 00000 n +0000013824 00000 n +0000690188 00000 n +0000931191 00000 n +0000013877 00000 n +0000013903 00000 n +0000702555 00000 n +0000931098 00000 n +0000013956 00000 n +0000013985 00000 n +0000702680 00000 n +0000931005 00000 n +0000014038 00000 n +0000014063 00000 n +0000705264 00000 n +0000930926 00000 n +0000014116 00000 n +0000014142 00000 n +0000705389 00000 n +0000930832 00000 n +0000014190 00000 n +0000014224 00000 n +0000705514 00000 n +0000930699 00000 n +0000014272 00000 n +0000014306 00000 n +0000708913 00000 n +0000930620 00000 n +0000014359 00000 n +0000014385 00000 n +0000709038 00000 n +0000930527 00000 n +0000014438 00000 n +0000014460 00000 n +0000713056 00000 n +0000930434 00000 n +0000014513 00000 n +0000014537 00000 n +0000713181 00000 n +0000930341 00000 n +0000014590 00000 n +0000014614 00000 n +0000717771 00000 n +0000930262 00000 n +0000014667 00000 n +0000014690 00000 n +0000735052 00000 n +0000930168 00000 n +0000014738 00000 n +0000014772 00000 n +0000737951 00000 n +0000930074 00000 n +0000014820 00000 n +0000014854 00000 n +0000741451 00000 n +0000929980 00000 n +0000014902 00000 n +0000014936 00000 n +0000741576 00000 n +0000929886 00000 n +0000014984 00000 n +0000015018 00000 n +0000747191 00000 n +0000929792 00000 n +0000015066 00000 n +0000015100 00000 n +0000750772 00000 n +0000929698 00000 n +0000015148 00000 n +0000015182 00000 n +0000757361 00000 n +0000929604 00000 n +0000015230 00000 n +0000015264 00000 n +0000757990 00000 n +0000929510 00000 n +0000015312 00000 n +0000015346 00000 n +0000758115 00000 n +0000929416 00000 n +0000015394 00000 n +0000015428 00000 n +0000761088 00000 n +0000929322 00000 n +0000015476 00000 n +0000015510 00000 n +0000767935 00000 n +0000929228 00000 n +0000015558 00000 n +0000015592 00000 n +0000768059 00000 n +0000929134 00000 n +0000015640 00000 n +0000015674 00000 n +0000770618 00000 n +0000929040 00000 n +0000015722 00000 n +0000015756 00000 n +0000770743 00000 n +0000928946 00000 n +0000015804 00000 n +0000015838 00000 n +0000770867 00000 n +0000928852 00000 n +0000015886 00000 n +0000015920 00000 n +0000774103 00000 n +0000928758 00000 n +0000015968 00000 n +0000016002 00000 n +0000774228 00000 n +0000928678 00000 n +0000016050 00000 n +0000016093 00000 n +0000016513 00000 n +0000016632 00000 n +0000017264 00000 n +0000016146 00000 n +0000017080 00000 n +0000923797 00000 n +0000923267 00000 n +0000017142 00000 n +0000017203 00000 n +0000923094 00000 n +0000924154 00000 n +0000018808 00000 n +0000018959 00000 n +0000019116 00000 n +0000019272 00000 n +0000019429 00000 n +0000019586 00000 n +0000019742 00000 n +0000019897 00000 n +0000020053 00000 n +0000020209 00000 n +0000020365 00000 n +0000020522 00000 n +0000020679 00000 n +0000020836 00000 n +0000020993 00000 n +0000021150 00000 n +0000021307 00000 n +0000021464 00000 n +0000021621 00000 n +0000021778 00000 n +0000021935 00000 n +0000022092 00000 n +0000022243 00000 n +0000022399 00000 n +0000022555 00000 n +0000022711 00000 n +0000022867 00000 n +0000023023 00000 n +0000023179 00000 n +0000023335 00000 n +0000023491 00000 n +0000023647 00000 n +0000023804 00000 n +0000023961 00000 n +0000024118 00000 n +0000024275 00000 n +0000024432 00000 n +0000024588 00000 n +0000026181 00000 n +0000026331 00000 n +0000024805 00000 n +0000018373 00000 n +0000017398 00000 n +0000024743 00000 n +0000923621 00000 n +0000026487 00000 n +0000026643 00000 n +0000026799 00000 n +0000026950 00000 n +0000027105 00000 n +0000027261 00000 n +0000027417 00000 n +0000027573 00000 n +0000027729 00000 n +0000027884 00000 n +0000028040 00000 n +0000028196 00000 n +0000028352 00000 n +0000028503 00000 n +0000028658 00000 n +0000028814 00000 n +0000028970 00000 n +0000029126 00000 n +0000029282 00000 n +0000029437 00000 n +0000029593 00000 n +0000029749 00000 n +0000029905 00000 n +0000030056 00000 n +0000030211 00000 n +0000030366 00000 n +0000030522 00000 n +0000030678 00000 n +0000030828 00000 n +0000030984 00000 n +0000031140 00000 n +0000031296 00000 n +0000031452 00000 n +0000031607 00000 n +0000033327 00000 n +0000033482 00000 n +0000033638 00000 n +0000033794 00000 n +0000033951 00000 n +0000031822 00000 n +0000025762 00000 n +0000024916 00000 n +0000031760 00000 n +0000034108 00000 n +0000034258 00000 n +0000034409 00000 n +0000034561 00000 n +0000034717 00000 n +0000034874 00000 n +0000035031 00000 n +0000035188 00000 n +0000035345 00000 n +0000035502 00000 n +0000035659 00000 n +0000035816 00000 n +0000035968 00000 n +0000036125 00000 n +0000036281 00000 n +0000036438 00000 n +0000036595 00000 n +0000036752 00000 n +0000036909 00000 n +0000037066 00000 n +0000037222 00000 n +0000037379 00000 n +0000037537 00000 n +0000037696 00000 n +0000037855 00000 n +0000038013 00000 n +0000038172 00000 n +0000038331 00000 n +0000038490 00000 n +0000038649 00000 n +0000038807 00000 n +0000040434 00000 n +0000040586 00000 n +0000040739 00000 n +0000040897 00000 n +0000039025 00000 n +0000032908 00000 n +0000031920 00000 n +0000038963 00000 n +0000041055 00000 n +0000041213 00000 n +0000041370 00000 n +0000041528 00000 n +0000041686 00000 n +0000041844 00000 n +0000042002 00000 n +0000042159 00000 n +0000042312 00000 n +0000042470 00000 n +0000042628 00000 n +0000042786 00000 n +0000042943 00000 n +0000043101 00000 n +0000043259 00000 n +0000043417 00000 n +0000043575 00000 n +0000043732 00000 n +0000043891 00000 n +0000044050 00000 n +0000044209 00000 n +0000044368 00000 n +0000044527 00000 n +0000044685 00000 n +0000044838 00000 n +0000044996 00000 n +0000045154 00000 n +0000045312 00000 n +0000045470 00000 n +0000045628 00000 n +0000045786 00000 n +0000047332 00000 n +0000047484 00000 n +0000047642 00000 n +0000047800 00000 n +0000047958 00000 n +0000048116 00000 n +0000046006 00000 n +0000040023 00000 n +0000039123 00000 n +0000045944 00000 n +0000048274 00000 n +0000048431 00000 n +0000048589 00000 n +0000048742 00000 n +0000048900 00000 n +0000049056 00000 n +0000049214 00000 n +0000049372 00000 n +0000049530 00000 n +0000049688 00000 n +0000049846 00000 n +0000050003 00000 n +0000050156 00000 n +0000050314 00000 n +0000050472 00000 n +0000050629 00000 n +0000050788 00000 n +0000050942 00000 n +0000051101 00000 n +0000051260 00000 n +0000051418 00000 n +0000051576 00000 n +0000051735 00000 n +0000051894 00000 n +0000052053 00000 n +0000052212 00000 n +0000052371 00000 n +0000053700 00000 n +0000053853 00000 n +0000054012 00000 n +0000054171 00000 n +0000054330 00000 n +0000054489 00000 n +0000054648 00000 n +0000052589 00000 n +0000046922 00000 n +0000046104 00000 n +0000052525 00000 n +0000054802 00000 n +0000054956 00000 n +0000055109 00000 n +0000055263 00000 n +0000055417 00000 n +0000055570 00000 n +0000055724 00000 n +0000055878 00000 n +0000056032 00000 n +0000056186 00000 n +0000056340 00000 n +0000056494 00000 n +0000056648 00000 n +0000056802 00000 n +0000056956 00000 n +0000057106 00000 n +0000057324 00000 n +0000053358 00000 n +0000052688 00000 n +0000057260 00000 n +0000924273 00000 n +0000059102 00000 n +0000059320 00000 n +0000059537 00000 n +0000059754 00000 n +0000059913 00000 n +0000060076 00000 n +0000060292 00000 n +0000060439 00000 n +0000060651 00000 n +0000058895 00000 n +0000057423 00000 n +0000060587 00000 n +0000774290 00000 n +0000064737 00000 n +0000062668 00000 n +0000060750 00000 n +0000062791 00000 n +0000062915 00000 n +0000063038 00000 n +0000922740 00000 n +0000063101 00000 n +0000063164 00000 n +0000063227 00000 n +0000063290 00000 n +0000063353 00000 n +0000063416 00000 n +0000063479 00000 n +0000063542 00000 n +0000063605 00000 n +0000063668 00000 n +0000063731 00000 n +0000063794 00000 n +0000063857 00000 n +0000063920 00000 n +0000063983 00000 n +0000064046 00000 n +0000922090 00000 n +0000064109 00000 n +0000064172 00000 n +0000064235 00000 n +0000064297 00000 n +0000064360 00000 n +0000064423 00000 n +0000064486 00000 n +0000064548 00000 n +0000064611 00000 n +0000064674 00000 n +0000069556 00000 n +0000067233 00000 n +0000064864 00000 n +0000067356 00000 n +0000067420 00000 n +0000067483 00000 n +0000067546 00000 n +0000067609 00000 n +0000067672 00000 n +0000067734 00000 n +0000067797 00000 n +0000067860 00000 n +0000067923 00000 n +0000067986 00000 n +0000068110 00000 n +0000068173 00000 n +0000068236 00000 n +0000068299 00000 n +0000068362 00000 n +0000068424 00000 n +0000068487 00000 n +0000068550 00000 n +0000068613 00000 n +0000068675 00000 n +0000068738 00000 n +0000068801 00000 n +0000068864 00000 n +0000068927 00000 n +0000068990 00000 n +0000069053 00000 n +0000069116 00000 n +0000069179 00000 n +0000069242 00000 n +0000069305 00000 n +0000069368 00000 n +0000069431 00000 n +0000069493 00000 n +0000073579 00000 n +0000071570 00000 n +0000069683 00000 n +0000071693 00000 n +0000071757 00000 n +0000071820 00000 n +0000071883 00000 n +0000071946 00000 n +0000072009 00000 n +0000072133 00000 n +0000072196 00000 n +0000072259 00000 n +0000072322 00000 n +0000072384 00000 n +0000072447 00000 n +0000072510 00000 n +0000072573 00000 n +0000072636 00000 n +0000072699 00000 n +0000072762 00000 n +0000072824 00000 n +0000072887 00000 n +0000072950 00000 n +0000073013 00000 n +0000073076 00000 n +0000073139 00000 n +0000073202 00000 n +0000073265 00000 n +0000073328 00000 n +0000073391 00000 n +0000073454 00000 n +0000073516 00000 n +0000078283 00000 n +0000075895 00000 n +0000073706 00000 n +0000076018 00000 n +0000076082 00000 n +0000076145 00000 n +0000076208 00000 n +0000076271 00000 n +0000076334 00000 n +0000076397 00000 n +0000076460 00000 n +0000076522 00000 n +0000076585 00000 n +0000076648 00000 n +0000076711 00000 n +0000076774 00000 n +0000076836 00000 n +0000076899 00000 n +0000076962 00000 n +0000077025 00000 n +0000077088 00000 n +0000077151 00000 n +0000077214 00000 n +0000077276 00000 n +0000077339 00000 n +0000077402 00000 n +0000077465 00000 n +0000077528 00000 n +0000077591 00000 n +0000077654 00000 n +0000077717 00000 n +0000077780 00000 n +0000077842 00000 n +0000077905 00000 n +0000077968 00000 n +0000078031 00000 n +0000078094 00000 n +0000078157 00000 n +0000078220 00000 n +0000082833 00000 n +0000080571 00000 n +0000078383 00000 n +0000080694 00000 n +0000080758 00000 n +0000080821 00000 n +0000921944 00000 n +0000080883 00000 n +0000080946 00000 n +0000081009 00000 n +0000081072 00000 n +0000081135 00000 n +0000081197 00000 n +0000081260 00000 n +0000081323 00000 n +0000081386 00000 n +0000081449 00000 n +0000081511 00000 n +0000081573 00000 n +0000081636 00000 n +0000081699 00000 n +0000081762 00000 n +0000081825 00000 n +0000081888 00000 n +0000081951 00000 n +0000082014 00000 n +0000082077 00000 n +0000082140 00000 n +0000082203 00000 n +0000082266 00000 n +0000082329 00000 n +0000082392 00000 n +0000082455 00000 n +0000082518 00000 n +0000082581 00000 n +0000082644 00000 n +0000082707 00000 n +0000082770 00000 n +0000924398 00000 n +0000087719 00000 n +0000085518 00000 n +0000082961 00000 n +0000085641 00000 n +0000085705 00000 n +0000085768 00000 n +0000085831 00000 n +0000085894 00000 n +0000085957 00000 n +0000086020 00000 n +0000086083 00000 n +0000086146 00000 n +0000086209 00000 n +0000086272 00000 n +0000086335 00000 n +0000086398 00000 n +0000086461 00000 n +0000086524 00000 n +0000086587 00000 n +0000086650 00000 n +0000086713 00000 n +0000086776 00000 n +0000086839 00000 n +0000086902 00000 n +0000086965 00000 n +0000087028 00000 n +0000087091 00000 n +0000087154 00000 n +0000087216 00000 n +0000087279 00000 n +0000087341 00000 n +0000087404 00000 n +0000087467 00000 n +0000087530 00000 n +0000087593 00000 n +0000087656 00000 n +0000091845 00000 n +0000089836 00000 n +0000087847 00000 n +0000089959 00000 n +0000090023 00000 n +0000090086 00000 n +0000090149 00000 n +0000090212 00000 n +0000090275 00000 n +0000090338 00000 n +0000090401 00000 n +0000090464 00000 n +0000090527 00000 n +0000090590 00000 n +0000090652 00000 n +0000090715 00000 n +0000090778 00000 n +0000090841 00000 n +0000090904 00000 n +0000090967 00000 n +0000091030 00000 n +0000091154 00000 n +0000091217 00000 n +0000091280 00000 n +0000091343 00000 n +0000091405 00000 n +0000091468 00000 n +0000091531 00000 n +0000091594 00000 n +0000091657 00000 n +0000091720 00000 n +0000091783 00000 n +0000096207 00000 n +0000093880 00000 n +0000091958 00000 n +0000094003 00000 n +0000094067 00000 n +0000094130 00000 n +0000094193 00000 n +0000094256 00000 n +0000094319 00000 n +0000094382 00000 n +0000094445 00000 n +0000094508 00000 n +0000094571 00000 n +0000094634 00000 n +0000094697 00000 n +0000094759 00000 n +0000094822 00000 n +0000094885 00000 n +0000094948 00000 n +0000095011 00000 n +0000095074 00000 n +0000095137 00000 n +0000095200 00000 n +0000095263 00000 n +0000095326 00000 n +0000095389 00000 n +0000095452 00000 n +0000095515 00000 n +0000095578 00000 n +0000095641 00000 n +0000095704 00000 n +0000095767 00000 n +0000095830 00000 n +0000095893 00000 n +0000095956 00000 n +0000096018 00000 n +0000096081 00000 n +0000096144 00000 n +0000100419 00000 n +0000098349 00000 n +0000096307 00000 n +0000098472 00000 n +0000098536 00000 n +0000098599 00000 n +0000098662 00000 n +0000098725 00000 n +0000098788 00000 n +0000098851 00000 n +0000098914 00000 n +0000098977 00000 n +0000099040 00000 n +0000099102 00000 n +0000099165 00000 n +0000099228 00000 n +0000099291 00000 n +0000099354 00000 n +0000099416 00000 n +0000099479 00000 n +0000099542 00000 n +0000099605 00000 n +0000099668 00000 n +0000099731 00000 n +0000099794 00000 n +0000099853 00000 n +0000099916 00000 n +0000099979 00000 n +0000100042 00000 n +0000100105 00000 n +0000100168 00000 n +0000100231 00000 n +0000100294 00000 n +0000100356 00000 n +0000104941 00000 n +0000102680 00000 n +0000100547 00000 n +0000102803 00000 n +0000102867 00000 n +0000102930 00000 n +0000102993 00000 n +0000103056 00000 n +0000103119 00000 n +0000103181 00000 n +0000103244 00000 n +0000103307 00000 n +0000103370 00000 n +0000103433 00000 n +0000103496 00000 n +0000103559 00000 n +0000103622 00000 n +0000103684 00000 n +0000103747 00000 n +0000103810 00000 n +0000103873 00000 n +0000103935 00000 n +0000103998 00000 n +0000104061 00000 n +0000104124 00000 n +0000104187 00000 n +0000104250 00000 n +0000104313 00000 n +0000104376 00000 n +0000104438 00000 n +0000104501 00000 n +0000104564 00000 n +0000104627 00000 n +0000104689 00000 n +0000104752 00000 n +0000104815 00000 n +0000104878 00000 n +0000109872 00000 n +0000107419 00000 n +0000105041 00000 n +0000107542 00000 n +0000107606 00000 n +0000107669 00000 n +0000107732 00000 n +0000107795 00000 n +0000107858 00000 n +0000107921 00000 n +0000107984 00000 n +0000108047 00000 n +0000108110 00000 n +0000108173 00000 n +0000108236 00000 n +0000108299 00000 n +0000108362 00000 n +0000108425 00000 n +0000108488 00000 n +0000108551 00000 n +0000108614 00000 n +0000108677 00000 n +0000108740 00000 n +0000108803 00000 n +0000108866 00000 n +0000108929 00000 n +0000108991 00000 n +0000109054 00000 n +0000109117 00000 n +0000109180 00000 n +0000109243 00000 n +0000109306 00000 n +0000109369 00000 n +0000109432 00000 n +0000109495 00000 n +0000109557 00000 n +0000109620 00000 n +0000109683 00000 n +0000109746 00000 n +0000109809 00000 n +0000924523 00000 n +0000114558 00000 n +0000112237 00000 n +0000109986 00000 n +0000112360 00000 n +0000112424 00000 n +0000112487 00000 n +0000112550 00000 n +0000112613 00000 n +0000112676 00000 n +0000112739 00000 n +0000112802 00000 n +0000112864 00000 n +0000112927 00000 n +0000112990 00000 n +0000113053 00000 n +0000113115 00000 n +0000113178 00000 n +0000113241 00000 n +0000113304 00000 n +0000113367 00000 n +0000113428 00000 n +0000113491 00000 n +0000113554 00000 n +0000113617 00000 n +0000113678 00000 n +0000113741 00000 n +0000113804 00000 n +0000113867 00000 n +0000113930 00000 n +0000113992 00000 n +0000114055 00000 n +0000114118 00000 n +0000114181 00000 n +0000114243 00000 n +0000114306 00000 n +0000114369 00000 n +0000114432 00000 n +0000114495 00000 n +0000118912 00000 n +0000116842 00000 n +0000114658 00000 n +0000116965 00000 n +0000117029 00000 n +0000117092 00000 n +0000117155 00000 n +0000117218 00000 n +0000117281 00000 n +0000117344 00000 n +0000117407 00000 n +0000117469 00000 n +0000117532 00000 n +0000117595 00000 n +0000117658 00000 n +0000117720 00000 n +0000117783 00000 n +0000117846 00000 n +0000117909 00000 n +0000117972 00000 n +0000118035 00000 n +0000118098 00000 n +0000118161 00000 n +0000118224 00000 n +0000118285 00000 n +0000118348 00000 n +0000118411 00000 n +0000118474 00000 n +0000118536 00000 n +0000118599 00000 n +0000118723 00000 n +0000118786 00000 n +0000118849 00000 n +0000122494 00000 n +0000120685 00000 n +0000119053 00000 n +0000120808 00000 n +0000120933 00000 n +0000120996 00000 n +0000121059 00000 n +0000121122 00000 n +0000121185 00000 n +0000121248 00000 n +0000121311 00000 n +0000121374 00000 n +0000121437 00000 n +0000121500 00000 n +0000121622 00000 n +0000121685 00000 n +0000121748 00000 n +0000121869 00000 n +0000121932 00000 n +0000121995 00000 n +0000122117 00000 n +0000122180 00000 n +0000122243 00000 n +0000122305 00000 n +0000122368 00000 n +0000122431 00000 n +0000125945 00000 n +0000124129 00000 n +0000122635 00000 n +0000124252 00000 n +0000124377 00000 n +0000124440 00000 n +0000124503 00000 n +0000124627 00000 n +0000124690 00000 n +0000124753 00000 n +0000124877 00000 n +0000124940 00000 n +0000125003 00000 n +0000125127 00000 n +0000125190 00000 n +0000125253 00000 n +0000125316 00000 n +0000125379 00000 n +0000125442 00000 n +0000125505 00000 n +0000125568 00000 n +0000125631 00000 n +0000125693 00000 n +0000125756 00000 n +0000125819 00000 n +0000125882 00000 n +0000130002 00000 n +0000128058 00000 n +0000126086 00000 n +0000128181 00000 n +0000128245 00000 n +0000128308 00000 n +0000128371 00000 n +0000128434 00000 n +0000128497 00000 n +0000128559 00000 n +0000128622 00000 n +0000128685 00000 n +0000128747 00000 n +0000128810 00000 n +0000128873 00000 n +0000128936 00000 n +0000128999 00000 n +0000129062 00000 n +0000129125 00000 n +0000129188 00000 n +0000129251 00000 n +0000129314 00000 n +0000129377 00000 n +0000129440 00000 n +0000129499 00000 n +0000129562 00000 n +0000129625 00000 n +0000129688 00000 n +0000129751 00000 n +0000129814 00000 n +0000129877 00000 n +0000129939 00000 n +0000134922 00000 n +0000132602 00000 n +0000130130 00000 n +0000132725 00000 n +0000132789 00000 n +0000132852 00000 n +0000132915 00000 n +0000132978 00000 n +0000133041 00000 n +0000133104 00000 n +0000133167 00000 n +0000133230 00000 n +0000133293 00000 n +0000133356 00000 n +0000133419 00000 n +0000133482 00000 n +0000133545 00000 n +0000133608 00000 n +0000133671 00000 n +0000133734 00000 n +0000133797 00000 n +0000133860 00000 n +0000133923 00000 n +0000133986 00000 n +0000134049 00000 n +0000134111 00000 n +0000134173 00000 n +0000134236 00000 n +0000134299 00000 n +0000134362 00000 n +0000134425 00000 n +0000134487 00000 n +0000134550 00000 n +0000134613 00000 n +0000134676 00000 n +0000134739 00000 n +0000134802 00000 n +0000134864 00000 n +0000924648 00000 n +0000139026 00000 n +0000136954 00000 n +0000135050 00000 n +0000137077 00000 n +0000137141 00000 n +0000137203 00000 n +0000137266 00000 n +0000137329 00000 n +0000137392 00000 n +0000137455 00000 n +0000137518 00000 n +0000137581 00000 n +0000137644 00000 n +0000137707 00000 n +0000137770 00000 n +0000137833 00000 n +0000137896 00000 n +0000137959 00000 n +0000138022 00000 n +0000138084 00000 n +0000138147 00000 n +0000138210 00000 n +0000138273 00000 n +0000138336 00000 n +0000138399 00000 n +0000138462 00000 n +0000138525 00000 n +0000138587 00000 n +0000138650 00000 n +0000138713 00000 n +0000138776 00000 n +0000138839 00000 n +0000138901 00000 n +0000138963 00000 n +0000143294 00000 n +0000141410 00000 n +0000139140 00000 n +0000141533 00000 n +0000141597 00000 n +0000141660 00000 n +0000141723 00000 n +0000141786 00000 n +0000141849 00000 n +0000141912 00000 n +0000141975 00000 n +0000142038 00000 n +0000142100 00000 n +0000142163 00000 n +0000142226 00000 n +0000142289 00000 n +0000142352 00000 n +0000142415 00000 n +0000142478 00000 n +0000142539 00000 n +0000142602 00000 n +0000142665 00000 n +0000142728 00000 n +0000142791 00000 n +0000142854 00000 n +0000142917 00000 n +0000142979 00000 n +0000143042 00000 n +0000143105 00000 n +0000143168 00000 n +0000143231 00000 n +0000147322 00000 n +0000145500 00000 n +0000143422 00000 n +0000145623 00000 n +0000145687 00000 n +0000145750 00000 n +0000145813 00000 n +0000145876 00000 n +0000145939 00000 n +0000146002 00000 n +0000146065 00000 n +0000146128 00000 n +0000146191 00000 n +0000146253 00000 n +0000146316 00000 n +0000146379 00000 n +0000146442 00000 n +0000146505 00000 n +0000146568 00000 n +0000146631 00000 n +0000146693 00000 n +0000146756 00000 n +0000146819 00000 n +0000146882 00000 n +0000146945 00000 n +0000147008 00000 n +0000147071 00000 n +0000147134 00000 n +0000147197 00000 n +0000147259 00000 n +0000151343 00000 n +0000149331 00000 n +0000147450 00000 n +0000149454 00000 n +0000149518 00000 n +0000149581 00000 n +0000149644 00000 n +0000149707 00000 n +0000149770 00000 n +0000149833 00000 n +0000149896 00000 n +0000149959 00000 n +0000150021 00000 n +0000150084 00000 n +0000150147 00000 n +0000150210 00000 n +0000150273 00000 n +0000150336 00000 n +0000150399 00000 n +0000150462 00000 n +0000150525 00000 n +0000150588 00000 n +0000150651 00000 n +0000150713 00000 n +0000150776 00000 n +0000150839 00000 n +0000150902 00000 n +0000150965 00000 n +0000151028 00000 n +0000151091 00000 n +0000151154 00000 n +0000151217 00000 n +0000151280 00000 n +0000155698 00000 n +0000153561 00000 n +0000151471 00000 n +0000153684 00000 n +0000153748 00000 n +0000153811 00000 n +0000153874 00000 n +0000153937 00000 n +0000154000 00000 n +0000154062 00000 n +0000154125 00000 n +0000154188 00000 n +0000154251 00000 n +0000154314 00000 n +0000154377 00000 n +0000154439 00000 n +0000154502 00000 n +0000154565 00000 n +0000154628 00000 n +0000154691 00000 n +0000154754 00000 n +0000154817 00000 n +0000154880 00000 n +0000154943 00000 n +0000155006 00000 n +0000155069 00000 n +0000155132 00000 n +0000155195 00000 n +0000155258 00000 n +0000155320 00000 n +0000155383 00000 n +0000155446 00000 n +0000155509 00000 n +0000155572 00000 n +0000155635 00000 n +0000160026 00000 n +0000158141 00000 n +0000155826 00000 n +0000158264 00000 n +0000158328 00000 n +0000158391 00000 n +0000158454 00000 n +0000158517 00000 n +0000158580 00000 n +0000158643 00000 n +0000158706 00000 n +0000158769 00000 n +0000158831 00000 n +0000158894 00000 n +0000158957 00000 n +0000159020 00000 n +0000159083 00000 n +0000159146 00000 n +0000159209 00000 n +0000159271 00000 n +0000159334 00000 n +0000159397 00000 n +0000159460 00000 n +0000159523 00000 n +0000159586 00000 n +0000159649 00000 n +0000159711 00000 n +0000159774 00000 n +0000159837 00000 n +0000159900 00000 n +0000159963 00000 n +0000924773 00000 n +0000164386 00000 n +0000162250 00000 n +0000160154 00000 n +0000162373 00000 n +0000162498 00000 n +0000162561 00000 n +0000162624 00000 n +0000162687 00000 n +0000162750 00000 n +0000162813 00000 n +0000162875 00000 n +0000162938 00000 n +0000163001 00000 n +0000163063 00000 n +0000163126 00000 n +0000163189 00000 n +0000163252 00000 n +0000163315 00000 n +0000163378 00000 n +0000163441 00000 n +0000163504 00000 n +0000163567 00000 n +0000163630 00000 n +0000163693 00000 n +0000163756 00000 n +0000163819 00000 n +0000163882 00000 n +0000163945 00000 n +0000164008 00000 n +0000164071 00000 n +0000164134 00000 n +0000164197 00000 n +0000164260 00000 n +0000164323 00000 n +0000168468 00000 n +0000166393 00000 n +0000164527 00000 n +0000166516 00000 n +0000166580 00000 n +0000166643 00000 n +0000166706 00000 n +0000166769 00000 n +0000166832 00000 n +0000166895 00000 n +0000166958 00000 n +0000167021 00000 n +0000167084 00000 n +0000167146 00000 n +0000167209 00000 n +0000167272 00000 n +0000167335 00000 n +0000167398 00000 n +0000167461 00000 n +0000167524 00000 n +0000167586 00000 n +0000167649 00000 n +0000167712 00000 n +0000167775 00000 n +0000167838 00000 n +0000167901 00000 n +0000167964 00000 n +0000168027 00000 n +0000168090 00000 n +0000168153 00000 n +0000168216 00000 n +0000168279 00000 n +0000168342 00000 n +0000168405 00000 n +0000172776 00000 n +0000170645 00000 n +0000168582 00000 n +0000170768 00000 n +0000170832 00000 n +0000170895 00000 n +0000170958 00000 n +0000171021 00000 n +0000171084 00000 n +0000171147 00000 n +0000171209 00000 n +0000171272 00000 n +0000171335 00000 n +0000171397 00000 n +0000171460 00000 n +0000171523 00000 n +0000171586 00000 n +0000171647 00000 n +0000171710 00000 n +0000171773 00000 n +0000171835 00000 n +0000171898 00000 n +0000171961 00000 n +0000172024 00000 n +0000172087 00000 n +0000172150 00000 n +0000172213 00000 n +0000172276 00000 n +0000172339 00000 n +0000172462 00000 n +0000172525 00000 n +0000172587 00000 n +0000172650 00000 n +0000172713 00000 n +0000176567 00000 n +0000174812 00000 n +0000172917 00000 n +0000174935 00000 n +0000175060 00000 n +0000175123 00000 n +0000175186 00000 n +0000175310 00000 n +0000175373 00000 n +0000175436 00000 n +0000175499 00000 n +0000175562 00000 n +0000175625 00000 n +0000175688 00000 n +0000175750 00000 n +0000175874 00000 n +0000175937 00000 n +0000176000 00000 n +0000176063 00000 n +0000176126 00000 n +0000176189 00000 n +0000176252 00000 n +0000176315 00000 n +0000176378 00000 n +0000176441 00000 n +0000176504 00000 n +0000180174 00000 n +0000179237 00000 n +0000176708 00000 n +0000179360 00000 n +0000179485 00000 n +0000179548 00000 n +0000179611 00000 n +0000179674 00000 n +0000179737 00000 n +0000179861 00000 n +0000179924 00000 n +0000179987 00000 n +0000180111 00000 n +0000183461 00000 n +0000183274 00000 n +0000180314 00000 n +0000183397 00000 n +0000924898 00000 n +0000187332 00000 n +0000185637 00000 n +0000183574 00000 n +0000185760 00000 n +0000185885 00000 n +0000185947 00000 n +0000186010 00000 n +0000186073 00000 n +0000186136 00000 n +0000186199 00000 n +0000186262 00000 n +0000186325 00000 n +0000186388 00000 n +0000186451 00000 n +0000186514 00000 n +0000186577 00000 n +0000186640 00000 n +0000186703 00000 n +0000186766 00000 n +0000186829 00000 n +0000186892 00000 n +0000186955 00000 n +0000187018 00000 n +0000187081 00000 n +0000187143 00000 n +0000187206 00000 n +0000187269 00000 n +0000191556 00000 n +0000189422 00000 n +0000187459 00000 n +0000189545 00000 n +0000189670 00000 n +0000189733 00000 n +0000189796 00000 n +0000189859 00000 n +0000189922 00000 n +0000189985 00000 n +0000190048 00000 n +0000190111 00000 n +0000190174 00000 n +0000190237 00000 n +0000190299 00000 n +0000190362 00000 n +0000190425 00000 n +0000190488 00000 n +0000190551 00000 n +0000190614 00000 n +0000190677 00000 n +0000190740 00000 n +0000190803 00000 n +0000190865 00000 n +0000190989 00000 n +0000191052 00000 n +0000191115 00000 n +0000191178 00000 n +0000191241 00000 n +0000191304 00000 n +0000191367 00000 n +0000191430 00000 n +0000191493 00000 n +0000196315 00000 n +0000193865 00000 n +0000191683 00000 n +0000193988 00000 n +0000194052 00000 n +0000194115 00000 n +0000194178 00000 n +0000194241 00000 n +0000194304 00000 n +0000194367 00000 n +0000194430 00000 n +0000194493 00000 n +0000194556 00000 n +0000194619 00000 n +0000194682 00000 n +0000194745 00000 n +0000194808 00000 n +0000194871 00000 n +0000194934 00000 n +0000194997 00000 n +0000195060 00000 n +0000195123 00000 n +0000195186 00000 n +0000195249 00000 n +0000195312 00000 n +0000195375 00000 n +0000195437 00000 n +0000195500 00000 n +0000195562 00000 n +0000195625 00000 n +0000195688 00000 n +0000195750 00000 n +0000195813 00000 n +0000195875 00000 n +0000195938 00000 n +0000196001 00000 n +0000196063 00000 n +0000196126 00000 n +0000196189 00000 n +0000196252 00000 n +0000200517 00000 n +0000198632 00000 n +0000196415 00000 n +0000198755 00000 n +0000198819 00000 n +0000198882 00000 n +0000198945 00000 n +0000199008 00000 n +0000199071 00000 n +0000199133 00000 n +0000199196 00000 n +0000199259 00000 n +0000199322 00000 n +0000199385 00000 n +0000199448 00000 n +0000199511 00000 n +0000199574 00000 n +0000199636 00000 n +0000199699 00000 n +0000199762 00000 n +0000199825 00000 n +0000199888 00000 n +0000199951 00000 n +0000200014 00000 n +0000200077 00000 n +0000200140 00000 n +0000200203 00000 n +0000200328 00000 n +0000200391 00000 n +0000200454 00000 n +0000205265 00000 n +0000202940 00000 n +0000200658 00000 n +0000203063 00000 n +0000203127 00000 n +0000203190 00000 n +0000203253 00000 n +0000203316 00000 n +0000203379 00000 n +0000203442 00000 n +0000203505 00000 n +0000203568 00000 n +0000203631 00000 n +0000203694 00000 n +0000203756 00000 n +0000203819 00000 n +0000203882 00000 n +0000203945 00000 n +0000204007 00000 n +0000204070 00000 n +0000204133 00000 n +0000204196 00000 n +0000204259 00000 n +0000204322 00000 n +0000204385 00000 n +0000204448 00000 n +0000204511 00000 n +0000204574 00000 n +0000204637 00000 n +0000204700 00000 n +0000204762 00000 n +0000204825 00000 n +0000204888 00000 n +0000204951 00000 n +0000205014 00000 n +0000205076 00000 n +0000205139 00000 n +0000205202 00000 n +0000210437 00000 n +0000207924 00000 n +0000205379 00000 n +0000208047 00000 n +0000208111 00000 n +0000208174 00000 n +0000208237 00000 n +0000208300 00000 n +0000208363 00000 n +0000208426 00000 n +0000208489 00000 n +0000208552 00000 n +0000208614 00000 n +0000208677 00000 n +0000208740 00000 n +0000208803 00000 n +0000208866 00000 n +0000208928 00000 n +0000208991 00000 n +0000209054 00000 n +0000209117 00000 n +0000209180 00000 n +0000209243 00000 n +0000209305 00000 n +0000209368 00000 n +0000209431 00000 n +0000209494 00000 n +0000209556 00000 n +0000209619 00000 n +0000209682 00000 n +0000209745 00000 n +0000209808 00000 n +0000209871 00000 n +0000209934 00000 n +0000209997 00000 n +0000210060 00000 n +0000210122 00000 n +0000210185 00000 n +0000210248 00000 n +0000210311 00000 n +0000210374 00000 n +0000925023 00000 n +0000213910 00000 n +0000212157 00000 n +0000210565 00000 n +0000212280 00000 n +0000212406 00000 n +0000212469 00000 n +0000212532 00000 n +0000212657 00000 n +0000212720 00000 n +0000212783 00000 n +0000212908 00000 n +0000212971 00000 n +0000213034 00000 n +0000213159 00000 n +0000213222 00000 n +0000213285 00000 n +0000213348 00000 n +0000213411 00000 n +0000213474 00000 n +0000213597 00000 n +0000213660 00000 n +0000213723 00000 n +0000213784 00000 n +0000213847 00000 n +0000218126 00000 n +0000216053 00000 n +0000214051 00000 n +0000216176 00000 n +0000216240 00000 n +0000216303 00000 n +0000216366 00000 n +0000216429 00000 n +0000216491 00000 n +0000216554 00000 n +0000216617 00000 n +0000216680 00000 n +0000216743 00000 n +0000216805 00000 n +0000216868 00000 n +0000216931 00000 n +0000216994 00000 n +0000217057 00000 n +0000217120 00000 n +0000217183 00000 n +0000217246 00000 n +0000217309 00000 n +0000217372 00000 n +0000217435 00000 n +0000217498 00000 n +0000217561 00000 n +0000217624 00000 n +0000217687 00000 n +0000217750 00000 n +0000217813 00000 n +0000217876 00000 n +0000217937 00000 n +0000218000 00000 n +0000218063 00000 n +0000222963 00000 n +0000220648 00000 n +0000218254 00000 n +0000220771 00000 n +0000220835 00000 n +0000220898 00000 n +0000220961 00000 n +0000221024 00000 n +0000221087 00000 n +0000221150 00000 n +0000221213 00000 n +0000221276 00000 n +0000221338 00000 n +0000221401 00000 n +0000221464 00000 n +0000221527 00000 n +0000221590 00000 n +0000221653 00000 n +0000221715 00000 n +0000221778 00000 n +0000221841 00000 n +0000221904 00000 n +0000221965 00000 n +0000222028 00000 n +0000222091 00000 n +0000222154 00000 n +0000222216 00000 n +0000222279 00000 n +0000222342 00000 n +0000222405 00000 n +0000222466 00000 n +0000222529 00000 n +0000222592 00000 n +0000222655 00000 n +0000222717 00000 n +0000222780 00000 n +0000222843 00000 n +0000222905 00000 n +0000227390 00000 n +0000225379 00000 n +0000223091 00000 n +0000225502 00000 n +0000225566 00000 n +0000225628 00000 n +0000225691 00000 n +0000225754 00000 n +0000225817 00000 n +0000225880 00000 n +0000225943 00000 n +0000226006 00000 n +0000226069 00000 n +0000226131 00000 n +0000226194 00000 n +0000226257 00000 n +0000226320 00000 n +0000226383 00000 n +0000226446 00000 n +0000226509 00000 n +0000226572 00000 n +0000226635 00000 n +0000226697 00000 n +0000226760 00000 n +0000226823 00000 n +0000226886 00000 n +0000226949 00000 n +0000227012 00000 n +0000227075 00000 n +0000227138 00000 n +0000227201 00000 n +0000227264 00000 n +0000227327 00000 n +0000231445 00000 n +0000229623 00000 n +0000227518 00000 n +0000229746 00000 n +0000229810 00000 n +0000229873 00000 n +0000229936 00000 n +0000229999 00000 n +0000230062 00000 n +0000230125 00000 n +0000230188 00000 n +0000230251 00000 n +0000230314 00000 n +0000230376 00000 n +0000230439 00000 n +0000230502 00000 n +0000230565 00000 n +0000230628 00000 n +0000230691 00000 n +0000230754 00000 n +0000230816 00000 n +0000230879 00000 n +0000230942 00000 n +0000231005 00000 n +0000231068 00000 n +0000231131 00000 n +0000231194 00000 n +0000231257 00000 n +0000231320 00000 n +0000231382 00000 n +0000235477 00000 n +0000233465 00000 n +0000231573 00000 n +0000233588 00000 n +0000233652 00000 n +0000233715 00000 n +0000233778 00000 n +0000233841 00000 n +0000233904 00000 n +0000233967 00000 n +0000234030 00000 n +0000234093 00000 n +0000234155 00000 n +0000234218 00000 n +0000234281 00000 n +0000234344 00000 n +0000234407 00000 n +0000234470 00000 n +0000234533 00000 n +0000234596 00000 n +0000234659 00000 n +0000234722 00000 n +0000234785 00000 n +0000234847 00000 n +0000234910 00000 n +0000234973 00000 n +0000235036 00000 n +0000235099 00000 n +0000235162 00000 n +0000235225 00000 n +0000235288 00000 n +0000235351 00000 n +0000235414 00000 n +0000925148 00000 n +0000239839 00000 n +0000237702 00000 n +0000235605 00000 n +0000237825 00000 n +0000237889 00000 n +0000237952 00000 n +0000238015 00000 n +0000238078 00000 n +0000238141 00000 n +0000238204 00000 n +0000238267 00000 n +0000238330 00000 n +0000238393 00000 n +0000238456 00000 n +0000238519 00000 n +0000238581 00000 n +0000238644 00000 n +0000238707 00000 n +0000238770 00000 n +0000238833 00000 n +0000238896 00000 n +0000238959 00000 n +0000239021 00000 n +0000239084 00000 n +0000239147 00000 n +0000239210 00000 n +0000239273 00000 n +0000239336 00000 n +0000239399 00000 n +0000239461 00000 n +0000239524 00000 n +0000239587 00000 n +0000239650 00000 n +0000239713 00000 n +0000239776 00000 n +0000244441 00000 n +0000242431 00000 n +0000239967 00000 n +0000242554 00000 n +0000242618 00000 n +0000242681 00000 n +0000242744 00000 n +0000242807 00000 n +0000242870 00000 n +0000242933 00000 n +0000242996 00000 n +0000243059 00000 n +0000243121 00000 n +0000243184 00000 n +0000243247 00000 n +0000243310 00000 n +0000243373 00000 n +0000243436 00000 n +0000243499 00000 n +0000243562 00000 n +0000243625 00000 n +0000243688 00000 n +0000243751 00000 n +0000243814 00000 n +0000243877 00000 n +0000243940 00000 n +0000244003 00000 n +0000244066 00000 n +0000244129 00000 n +0000244254 00000 n +0000244316 00000 n +0000244378 00000 n +0000249011 00000 n +0000246748 00000 n +0000244582 00000 n +0000246871 00000 n +0000246935 00000 n +0000246998 00000 n +0000247061 00000 n +0000247124 00000 n +0000247187 00000 n +0000247250 00000 n +0000247313 00000 n +0000247376 00000 n +0000247438 00000 n +0000247501 00000 n +0000247564 00000 n +0000247627 00000 n +0000247690 00000 n +0000247753 00000 n +0000247816 00000 n +0000247879 00000 n +0000247942 00000 n +0000248005 00000 n +0000248068 00000 n +0000248131 00000 n +0000248194 00000 n +0000248257 00000 n +0000248319 00000 n +0000248382 00000 n +0000248445 00000 n +0000248508 00000 n +0000248570 00000 n +0000248633 00000 n +0000248696 00000 n +0000248759 00000 n +0000248822 00000 n +0000248885 00000 n +0000248948 00000 n +0000253223 00000 n +0000251218 00000 n +0000249125 00000 n +0000251341 00000 n +0000251405 00000 n +0000251468 00000 n +0000251531 00000 n +0000251594 00000 n +0000251657 00000 n +0000251720 00000 n +0000251845 00000 n +0000251907 00000 n +0000251970 00000 n +0000252033 00000 n +0000252096 00000 n +0000252221 00000 n +0000252284 00000 n +0000252345 00000 n +0000252470 00000 n +0000252533 00000 n +0000252596 00000 n +0000252658 00000 n +0000252721 00000 n +0000252784 00000 n +0000252847 00000 n +0000252910 00000 n +0000253034 00000 n +0000253097 00000 n +0000253160 00000 n +0000256867 00000 n +0000255111 00000 n +0000253364 00000 n +0000255234 00000 n +0000255360 00000 n +0000255423 00000 n +0000255486 00000 n +0000255549 00000 n +0000255612 00000 n +0000255737 00000 n +0000255800 00000 n +0000255863 00000 n +0000255988 00000 n +0000256113 00000 n +0000256176 00000 n +0000256239 00000 n +0000256302 00000 n +0000256427 00000 n +0000256490 00000 n +0000256553 00000 n +0000256678 00000 n +0000256741 00000 n +0000256804 00000 n +0000260397 00000 n +0000258958 00000 n +0000257008 00000 n +0000259081 00000 n +0000259207 00000 n +0000922915 00000 n +0000259332 00000 n +0000259395 00000 n +0000259458 00000 n +0000259521 00000 n +0000259584 00000 n +0000259643 00000 n +0000259706 00000 n +0000259769 00000 n +0000259832 00000 n +0000259895 00000 n +0000259958 00000 n +0000260021 00000 n +0000260084 00000 n +0000260147 00000 n +0000260210 00000 n +0000260272 00000 n +0000260334 00000 n +0000925273 00000 n +0000264697 00000 n +0000262810 00000 n +0000260552 00000 n +0000262933 00000 n +0000263059 00000 n +0000263122 00000 n +0000263185 00000 n +0000263248 00000 n +0000263311 00000 n +0000263374 00000 n +0000263437 00000 n +0000263500 00000 n +0000263563 00000 n +0000263626 00000 n +0000263689 00000 n +0000263752 00000 n +0000263815 00000 n +0000263878 00000 n +0000263941 00000 n +0000264004 00000 n +0000264067 00000 n +0000264130 00000 n +0000264193 00000 n +0000264256 00000 n +0000264319 00000 n +0000264382 00000 n +0000264445 00000 n +0000264508 00000 n +0000264571 00000 n +0000264634 00000 n +0000269317 00000 n +0000267181 00000 n +0000264838 00000 n +0000267304 00000 n +0000267368 00000 n +0000267431 00000 n +0000267494 00000 n +0000267557 00000 n +0000267620 00000 n +0000267681 00000 n +0000267744 00000 n +0000267807 00000 n +0000267870 00000 n +0000267933 00000 n +0000267996 00000 n +0000268059 00000 n +0000268122 00000 n +0000268185 00000 n +0000268310 00000 n +0000268373 00000 n +0000268436 00000 n +0000268499 00000 n +0000268562 00000 n +0000268625 00000 n +0000268688 00000 n +0000268751 00000 n +0000268814 00000 n +0000268877 00000 n +0000268940 00000 n +0000269003 00000 n +0000269066 00000 n +0000269129 00000 n +0000269191 00000 n +0000269254 00000 n +0000273710 00000 n +0000271640 00000 n +0000269458 00000 n +0000271763 00000 n +0000271827 00000 n +0000271890 00000 n +0000271953 00000 n +0000272016 00000 n +0000272079 00000 n +0000272142 00000 n +0000272205 00000 n +0000272268 00000 n +0000272331 00000 n +0000272394 00000 n +0000272457 00000 n +0000272520 00000 n +0000272583 00000 n +0000272645 00000 n +0000272708 00000 n +0000272771 00000 n +0000272834 00000 n +0000272896 00000 n +0000272959 00000 n +0000273022 00000 n +0000273085 00000 n +0000273148 00000 n +0000273210 00000 n +0000273273 00000 n +0000273336 00000 n +0000273399 00000 n +0000273522 00000 n +0000273585 00000 n +0000273648 00000 n +0000278234 00000 n +0000276097 00000 n +0000273851 00000 n +0000276220 00000 n +0000276284 00000 n +0000276347 00000 n +0000276410 00000 n +0000276473 00000 n +0000276536 00000 n +0000276599 00000 n +0000276662 00000 n +0000276725 00000 n +0000276787 00000 n +0000276850 00000 n +0000276913 00000 n +0000276976 00000 n +0000277038 00000 n +0000277101 00000 n +0000277164 00000 n +0000277227 00000 n +0000277290 00000 n +0000277353 00000 n +0000277416 00000 n +0000277479 00000 n +0000277542 00000 n +0000277605 00000 n +0000277668 00000 n +0000277730 00000 n +0000277793 00000 n +0000277856 00000 n +0000277919 00000 n +0000277982 00000 n +0000278045 00000 n +0000278108 00000 n +0000278171 00000 n +0000282939 00000 n +0000280676 00000 n +0000278362 00000 n +0000280799 00000 n +0000280863 00000 n +0000280926 00000 n +0000280988 00000 n +0000281051 00000 n +0000281114 00000 n +0000281177 00000 n +0000281240 00000 n +0000281303 00000 n +0000281366 00000 n +0000281429 00000 n +0000281492 00000 n +0000281555 00000 n +0000281617 00000 n +0000281680 00000 n +0000281743 00000 n +0000281806 00000 n +0000281869 00000 n +0000281932 00000 n +0000281995 00000 n +0000282058 00000 n +0000282121 00000 n +0000282184 00000 n +0000282247 00000 n +0000282310 00000 n +0000282373 00000 n +0000282436 00000 n +0000282499 00000 n +0000282562 00000 n +0000282625 00000 n +0000282687 00000 n +0000282750 00000 n +0000282813 00000 n +0000282876 00000 n +0000287621 00000 n +0000285611 00000 n +0000283067 00000 n +0000285734 00000 n +0000285860 00000 n +0000285923 00000 n +0000285986 00000 n +0000286049 00000 n +0000286112 00000 n +0000286175 00000 n +0000286237 00000 n +0000286300 00000 n +0000286363 00000 n +0000286426 00000 n +0000286489 00000 n +0000286552 00000 n +0000286615 00000 n +0000286740 00000 n +0000286803 00000 n +0000286866 00000 n +0000286929 00000 n +0000286992 00000 n +0000287055 00000 n +0000287118 00000 n +0000287181 00000 n +0000287243 00000 n +0000287306 00000 n +0000287369 00000 n +0000287432 00000 n +0000287495 00000 n +0000287558 00000 n +0000925398 00000 n +0000293892 00000 n +0000291001 00000 n +0000287762 00000 n +0000291124 00000 n +0000291188 00000 n +0000291251 00000 n +0000291314 00000 n +0000291377 00000 n +0000291440 00000 n +0000291503 00000 n +0000291565 00000 n +0000291628 00000 n +0000291691 00000 n +0000291754 00000 n +0000291817 00000 n +0000291880 00000 n +0000291943 00000 n +0000292006 00000 n +0000292069 00000 n +0000292132 00000 n +0000292194 00000 n +0000292257 00000 n +0000292320 00000 n +0000292383 00000 n +0000292446 00000 n +0000292509 00000 n +0000292572 00000 n +0000292635 00000 n +0000292698 00000 n +0000292761 00000 n +0000292824 00000 n +0000292887 00000 n +0000292950 00000 n +0000293013 00000 n +0000293076 00000 n +0000293139 00000 n +0000293202 00000 n +0000293265 00000 n +0000293328 00000 n +0000293391 00000 n +0000293454 00000 n +0000293516 00000 n +0000293641 00000 n +0000293703 00000 n +0000293766 00000 n +0000293829 00000 n +0000297644 00000 n +0000295949 00000 n +0000294033 00000 n +0000296072 00000 n +0000296136 00000 n +0000296199 00000 n +0000296324 00000 n +0000296387 00000 n +0000296450 00000 n +0000296513 00000 n +0000296576 00000 n +0000296639 00000 n +0000296702 00000 n +0000296765 00000 n +0000296828 00000 n +0000296890 00000 n +0000296953 00000 n +0000297016 00000 n +0000297079 00000 n +0000297142 00000 n +0000297205 00000 n +0000297330 00000 n +0000297393 00000 n +0000297456 00000 n +0000297581 00000 n +0000301420 00000 n +0000299478 00000 n +0000297785 00000 n +0000299601 00000 n +0000299727 00000 n +0000299790 00000 n +0000299853 00000 n +0000299916 00000 n +0000299979 00000 n +0000300042 00000 n +0000300105 00000 n +0000300168 00000 n +0000300231 00000 n +0000300356 00000 n +0000300419 00000 n +0000300482 00000 n +0000300545 00000 n +0000300608 00000 n +0000300733 00000 n +0000300796 00000 n +0000300858 00000 n +0000300981 00000 n +0000301044 00000 n +0000301107 00000 n +0000301169 00000 n +0000301232 00000 n +0000301295 00000 n +0000301357 00000 n +0000304909 00000 n +0000303217 00000 n +0000301533 00000 n +0000303340 00000 n +0000303466 00000 n +0000303529 00000 n +0000303592 00000 n +0000303655 00000 n +0000303718 00000 n +0000303843 00000 n +0000303906 00000 n +0000303969 00000 n +0000304032 00000 n +0000304093 00000 n +0000304218 00000 n +0000304281 00000 n +0000304344 00000 n +0000304469 00000 n +0000304532 00000 n +0000304595 00000 n +0000304720 00000 n +0000304783 00000 n +0000304846 00000 n +0000308675 00000 n +0000306859 00000 n +0000305050 00000 n +0000306982 00000 n +0000307108 00000 n +0000307233 00000 n +0000307296 00000 n +0000307359 00000 n +0000307422 00000 n +0000307485 00000 n +0000307609 00000 n +0000307672 00000 n +0000307734 00000 n +0000307797 00000 n +0000307860 00000 n +0000307984 00000 n +0000308047 00000 n +0000308110 00000 n +0000308173 00000 n +0000308235 00000 n +0000308298 00000 n +0000308361 00000 n +0000308486 00000 n +0000308549 00000 n +0000308612 00000 n +0000311735 00000 n +0000311423 00000 n +0000308816 00000 n +0000311546 00000 n +0000311672 00000 n +0000925523 00000 n +0000315285 00000 n +0000313903 00000 n +0000311876 00000 n +0000314026 00000 n +0000314152 00000 n +0000314215 00000 n +0000314278 00000 n +0000314341 00000 n +0000314404 00000 n +0000314467 00000 n +0000314530 00000 n +0000314593 00000 n +0000314656 00000 n +0000314719 00000 n +0000314782 00000 n +0000314845 00000 n +0000314908 00000 n +0000314971 00000 n +0000315033 00000 n +0000315096 00000 n +0000315159 00000 n +0000315222 00000 n +0000320694 00000 n +0000317997 00000 n +0000315440 00000 n +0000318120 00000 n +0000318246 00000 n +0000318309 00000 n +0000318372 00000 n +0000318435 00000 n +0000318498 00000 n +0000318561 00000 n +0000318624 00000 n +0000318685 00000 n +0000318748 00000 n +0000318811 00000 n +0000318874 00000 n +0000318937 00000 n +0000319000 00000 n +0000319063 00000 n +0000319126 00000 n +0000319189 00000 n +0000319252 00000 n +0000319315 00000 n +0000319378 00000 n +0000319441 00000 n +0000319504 00000 n +0000319567 00000 n +0000319630 00000 n +0000319692 00000 n +0000319755 00000 n +0000319818 00000 n +0000319881 00000 n +0000319944 00000 n +0000320007 00000 n +0000320070 00000 n +0000320133 00000 n +0000320196 00000 n +0000320259 00000 n +0000320321 00000 n +0000320384 00000 n +0000320447 00000 n +0000320510 00000 n +0000320573 00000 n +0000320636 00000 n +0000324989 00000 n +0000322916 00000 n +0000320807 00000 n +0000323039 00000 n +0000323103 00000 n +0000323166 00000 n +0000323229 00000 n +0000323292 00000 n +0000323355 00000 n +0000323418 00000 n +0000323481 00000 n +0000323544 00000 n +0000323607 00000 n +0000323670 00000 n +0000323732 00000 n +0000323795 00000 n +0000323920 00000 n +0000323983 00000 n +0000324046 00000 n +0000324109 00000 n +0000324172 00000 n +0000324235 00000 n +0000324298 00000 n +0000324361 00000 n +0000324424 00000 n +0000324486 00000 n +0000324549 00000 n +0000324612 00000 n +0000324675 00000 n +0000324737 00000 n +0000324800 00000 n +0000324863 00000 n +0000324926 00000 n +0000329697 00000 n +0000327373 00000 n +0000325102 00000 n +0000327496 00000 n +0000327560 00000 n +0000327623 00000 n +0000327686 00000 n +0000327749 00000 n +0000327812 00000 n +0000327874 00000 n +0000327937 00000 n +0000328000 00000 n +0000328063 00000 n +0000328126 00000 n +0000328189 00000 n +0000328252 00000 n +0000328315 00000 n +0000328377 00000 n +0000328440 00000 n +0000328503 00000 n +0000328566 00000 n +0000328628 00000 n +0000328691 00000 n +0000328754 00000 n +0000328817 00000 n +0000328880 00000 n +0000328943 00000 n +0000329006 00000 n +0000329069 00000 n +0000329132 00000 n +0000329195 00000 n +0000329258 00000 n +0000329320 00000 n +0000329383 00000 n +0000329446 00000 n +0000329509 00000 n +0000329571 00000 n +0000329634 00000 n +0000334649 00000 n +0000332267 00000 n +0000329825 00000 n +0000332390 00000 n +0000332454 00000 n +0000332517 00000 n +0000332580 00000 n +0000332643 00000 n +0000332706 00000 n +0000332769 00000 n +0000332832 00000 n +0000332893 00000 n +0000332956 00000 n +0000333019 00000 n +0000333082 00000 n +0000333145 00000 n +0000333208 00000 n +0000333271 00000 n +0000333334 00000 n +0000333397 00000 n +0000333460 00000 n +0000333523 00000 n +0000333586 00000 n +0000333649 00000 n +0000333711 00000 n +0000333774 00000 n +0000333837 00000 n +0000333900 00000 n +0000333963 00000 n +0000334026 00000 n +0000334089 00000 n +0000334151 00000 n +0000334214 00000 n +0000334276 00000 n +0000334339 00000 n +0000334402 00000 n +0000334465 00000 n +0000334528 00000 n +0000334591 00000 n +0000339164 00000 n +0000336900 00000 n +0000334777 00000 n +0000337023 00000 n +0000337087 00000 n +0000337150 00000 n +0000337213 00000 n +0000337276 00000 n +0000337339 00000 n +0000337402 00000 n +0000337465 00000 n +0000337528 00000 n +0000337591 00000 n +0000337654 00000 n +0000337717 00000 n +0000337780 00000 n +0000337843 00000 n +0000337906 00000 n +0000337969 00000 n +0000338031 00000 n +0000338094 00000 n +0000338157 00000 n +0000338220 00000 n +0000338283 00000 n +0000338346 00000 n +0000338409 00000 n +0000338472 00000 n +0000338535 00000 n +0000338598 00000 n +0000338661 00000 n +0000338724 00000 n +0000338787 00000 n +0000338850 00000 n +0000338913 00000 n +0000338976 00000 n +0000339038 00000 n +0000339101 00000 n +0000925648 00000 n +0000344072 00000 n +0000341748 00000 n +0000339278 00000 n +0000341871 00000 n +0000341935 00000 n +0000341998 00000 n +0000342061 00000 n +0000342124 00000 n +0000342187 00000 n +0000342250 00000 n +0000342313 00000 n +0000342375 00000 n +0000342438 00000 n +0000342501 00000 n +0000342564 00000 n +0000342626 00000 n +0000342689 00000 n +0000342752 00000 n +0000342815 00000 n +0000342878 00000 n +0000342941 00000 n +0000343004 00000 n +0000343067 00000 n +0000343130 00000 n +0000343255 00000 n +0000343318 00000 n +0000343380 00000 n +0000343443 00000 n +0000343506 00000 n +0000343569 00000 n +0000343632 00000 n +0000343695 00000 n +0000343758 00000 n +0000343821 00000 n +0000343884 00000 n +0000343947 00000 n +0000344009 00000 n +0000348775 00000 n +0000346449 00000 n +0000344199 00000 n +0000346572 00000 n +0000346636 00000 n +0000346699 00000 n +0000346762 00000 n +0000346825 00000 n +0000346887 00000 n +0000346950 00000 n +0000347013 00000 n +0000347076 00000 n +0000347139 00000 n +0000347202 00000 n +0000347265 00000 n +0000347328 00000 n +0000347391 00000 n +0000347454 00000 n +0000347517 00000 n +0000347580 00000 n +0000347643 00000 n +0000347706 00000 n +0000347769 00000 n +0000347832 00000 n +0000347895 00000 n +0000347958 00000 n +0000348021 00000 n +0000348084 00000 n +0000348147 00000 n +0000348210 00000 n +0000348273 00000 n +0000348336 00000 n +0000348399 00000 n +0000348461 00000 n +0000348524 00000 n +0000348587 00000 n +0000348650 00000 n +0000348713 00000 n +0000353978 00000 n +0000351338 00000 n +0000348889 00000 n +0000351461 00000 n +0000351525 00000 n +0000351588 00000 n +0000351651 00000 n +0000351714 00000 n +0000351777 00000 n +0000351840 00000 n +0000351902 00000 n +0000351965 00000 n +0000352028 00000 n +0000352091 00000 n +0000352154 00000 n +0000352217 00000 n +0000352280 00000 n +0000352343 00000 n +0000352406 00000 n +0000352469 00000 n +0000352532 00000 n +0000352595 00000 n +0000352658 00000 n +0000352720 00000 n +0000352783 00000 n +0000352846 00000 n +0000352909 00000 n +0000352972 00000 n +0000353035 00000 n +0000353097 00000 n +0000353160 00000 n +0000353223 00000 n +0000353286 00000 n +0000353349 00000 n +0000353411 00000 n +0000353474 00000 n +0000353537 00000 n +0000353600 00000 n +0000353663 00000 n +0000353726 00000 n +0000353789 00000 n +0000353852 00000 n +0000353915 00000 n +0000358518 00000 n +0000356317 00000 n +0000354092 00000 n +0000356440 00000 n +0000356504 00000 n +0000356567 00000 n +0000356630 00000 n +0000356693 00000 n +0000356756 00000 n +0000356819 00000 n +0000356882 00000 n +0000356945 00000 n +0000357008 00000 n +0000357071 00000 n +0000357133 00000 n +0000357196 00000 n +0000357259 00000 n +0000357322 00000 n +0000357385 00000 n +0000357448 00000 n +0000357511 00000 n +0000357574 00000 n +0000357637 00000 n +0000357700 00000 n +0000357763 00000 n +0000357826 00000 n +0000357889 00000 n +0000357952 00000 n +0000358015 00000 n +0000358078 00000 n +0000358141 00000 n +0000358203 00000 n +0000358266 00000 n +0000358329 00000 n +0000358392 00000 n +0000358455 00000 n +0000362766 00000 n +0000360886 00000 n +0000358646 00000 n +0000361009 00000 n +0000361073 00000 n +0000361136 00000 n +0000361197 00000 n +0000361260 00000 n +0000361385 00000 n +0000361448 00000 n +0000361511 00000 n +0000361574 00000 n +0000361637 00000 n +0000361700 00000 n +0000361825 00000 n +0000361888 00000 n +0000361951 00000 n +0000362013 00000 n +0000362075 00000 n +0000362138 00000 n +0000362201 00000 n +0000362264 00000 n +0000362327 00000 n +0000362389 00000 n +0000362451 00000 n +0000362514 00000 n +0000362577 00000 n +0000362640 00000 n +0000362703 00000 n +0000367436 00000 n +0000365490 00000 n +0000362907 00000 n +0000365613 00000 n +0000365677 00000 n +0000365740 00000 n +0000365803 00000 n +0000365866 00000 n +0000365929 00000 n +0000365991 00000 n +0000366054 00000 n +0000366117 00000 n +0000366180 00000 n +0000366243 00000 n +0000366306 00000 n +0000366369 00000 n +0000366431 00000 n +0000366556 00000 n +0000366619 00000 n +0000366682 00000 n +0000366807 00000 n +0000366870 00000 n +0000366933 00000 n +0000366996 00000 n +0000367059 00000 n +0000367122 00000 n +0000367185 00000 n +0000367248 00000 n +0000367311 00000 n +0000367373 00000 n +0000925773 00000 n +0000372023 00000 n +0000369762 00000 n +0000367577 00000 n +0000369885 00000 n +0000369949 00000 n +0000370012 00000 n +0000370075 00000 n +0000370138 00000 n +0000370201 00000 n +0000370263 00000 n +0000370326 00000 n +0000370389 00000 n +0000370452 00000 n +0000370515 00000 n +0000370577 00000 n +0000370640 00000 n +0000370703 00000 n +0000370766 00000 n +0000370828 00000 n +0000370891 00000 n +0000370954 00000 n +0000371017 00000 n +0000371080 00000 n +0000371142 00000 n +0000371205 00000 n +0000371268 00000 n +0000371331 00000 n +0000371394 00000 n +0000371457 00000 n +0000371520 00000 n +0000371582 00000 n +0000371645 00000 n +0000371708 00000 n +0000371771 00000 n +0000371834 00000 n +0000371897 00000 n +0000371960 00000 n +0000375087 00000 n +0000373523 00000 n +0000372137 00000 n +0000373646 00000 n +0000373772 00000 n +0000373835 00000 n +0000373898 00000 n +0000373961 00000 n +0000374024 00000 n +0000374087 00000 n +0000374149 00000 n +0000374274 00000 n +0000374336 00000 n +0000374397 00000 n +0000374460 00000 n +0000374585 00000 n +0000374648 00000 n +0000374711 00000 n +0000374774 00000 n +0000374899 00000 n +0000375024 00000 n +0000378143 00000 n +0000377580 00000 n +0000375200 00000 n +0000377703 00000 n +0000377829 00000 n +0000377954 00000 n +0000378017 00000 n +0000378080 00000 n +0000383275 00000 n +0000380888 00000 n +0000378284 00000 n +0000381011 00000 n +0000381075 00000 n +0000381137 00000 n +0000381200 00000 n +0000381263 00000 n +0000381326 00000 n +0000381389 00000 n +0000381514 00000 n +0000381576 00000 n +0000381639 00000 n +0000381702 00000 n +0000381765 00000 n +0000381828 00000 n +0000381891 00000 n +0000381954 00000 n +0000382017 00000 n +0000382080 00000 n +0000382142 00000 n +0000382205 00000 n +0000382268 00000 n +0000382331 00000 n +0000382394 00000 n +0000382457 00000 n +0000382520 00000 n +0000382583 00000 n +0000382708 00000 n +0000382771 00000 n +0000382834 00000 n +0000382897 00000 n +0000382960 00000 n +0000383023 00000 n +0000383086 00000 n +0000383149 00000 n +0000383212 00000 n +0000388734 00000 n +0000386093 00000 n +0000383416 00000 n +0000386216 00000 n +0000386342 00000 n +0000386405 00000 n +0000386468 00000 n +0000386531 00000 n +0000386594 00000 n +0000386657 00000 n +0000386720 00000 n +0000386845 00000 n +0000386908 00000 n +0000386971 00000 n +0000387034 00000 n +0000387097 00000 n +0000387160 00000 n +0000387223 00000 n +0000387286 00000 n +0000387349 00000 n +0000387412 00000 n +0000387475 00000 n +0000387538 00000 n +0000387601 00000 n +0000387664 00000 n +0000387727 00000 n +0000387790 00000 n +0000387853 00000 n +0000387916 00000 n +0000387979 00000 n +0000388042 00000 n +0000388105 00000 n +0000388168 00000 n +0000388231 00000 n +0000388293 00000 n +0000388356 00000 n +0000388419 00000 n +0000388482 00000 n +0000388545 00000 n +0000388608 00000 n +0000388671 00000 n +0000393920 00000 n +0000391913 00000 n +0000388875 00000 n +0000392036 00000 n +0000392100 00000 n +0000392163 00000 n +0000392224 00000 n +0000392287 00000 n +0000392350 00000 n +0000392413 00000 n +0000392476 00000 n +0000392539 00000 n +0000392602 00000 n +0000392665 00000 n +0000392728 00000 n +0000392791 00000 n +0000392915 00000 n +0000392977 00000 n +0000393040 00000 n +0000393103 00000 n +0000393166 00000 n +0000393229 00000 n +0000393291 00000 n +0000393354 00000 n +0000393417 00000 n +0000393480 00000 n +0000393543 00000 n +0000393606 00000 n +0000393669 00000 n +0000393732 00000 n +0000393857 00000 n +0000925898 00000 n +0000397938 00000 n +0000396558 00000 n +0000394047 00000 n +0000396681 00000 n +0000396745 00000 n +0000396808 00000 n +0000396871 00000 n +0000396934 00000 n +0000396997 00000 n +0000397060 00000 n +0000397122 00000 n +0000397185 00000 n +0000397248 00000 n +0000397311 00000 n +0000397436 00000 n +0000397499 00000 n +0000397562 00000 n +0000397625 00000 n +0000397688 00000 n +0000397751 00000 n +0000397875 00000 n +0000402340 00000 n +0000400203 00000 n +0000398078 00000 n +0000400326 00000 n +0000400452 00000 n +0000400515 00000 n +0000400578 00000 n +0000400641 00000 n +0000400704 00000 n +0000400767 00000 n +0000400830 00000 n +0000400893 00000 n +0000400954 00000 n +0000401017 00000 n +0000401080 00000 n +0000401143 00000 n +0000401206 00000 n +0000401269 00000 n +0000401332 00000 n +0000401395 00000 n +0000401458 00000 n +0000401521 00000 n +0000401584 00000 n +0000401647 00000 n +0000401710 00000 n +0000401773 00000 n +0000401836 00000 n +0000401899 00000 n +0000401962 00000 n +0000402025 00000 n +0000402088 00000 n +0000402151 00000 n +0000402214 00000 n +0000402277 00000 n +0000408425 00000 n +0000405223 00000 n +0000402481 00000 n +0000405346 00000 n +0000405472 00000 n +0000405535 00000 n +0000405598 00000 n +0000405661 00000 n +0000405724 00000 n +0000405787 00000 n +0000405850 00000 n +0000405913 00000 n +0000405976 00000 n +0000406039 00000 n +0000406102 00000 n +0000406165 00000 n +0000406228 00000 n +0000406291 00000 n +0000406354 00000 n +0000406417 00000 n +0000406480 00000 n +0000406543 00000 n +0000406606 00000 n +0000406669 00000 n +0000406731 00000 n +0000406794 00000 n +0000406857 00000 n +0000406920 00000 n +0000406983 00000 n +0000407046 00000 n +0000407109 00000 n +0000407172 00000 n +0000407235 00000 n +0000407297 00000 n +0000407360 00000 n +0000407423 00000 n +0000407486 00000 n +0000407549 00000 n +0000407612 00000 n +0000407675 00000 n +0000407738 00000 n +0000407801 00000 n +0000407863 00000 n +0000407926 00000 n +0000407989 00000 n +0000408052 00000 n +0000408115 00000 n +0000408178 00000 n +0000408241 00000 n +0000408304 00000 n +0000408367 00000 n +0000413784 00000 n +0000411206 00000 n +0000408538 00000 n +0000411329 00000 n +0000411393 00000 n +0000411456 00000 n +0000411519 00000 n +0000411582 00000 n +0000411645 00000 n +0000411708 00000 n +0000411771 00000 n +0000411833 00000 n +0000411896 00000 n +0000411959 00000 n +0000412022 00000 n +0000412085 00000 n +0000412148 00000 n +0000412211 00000 n +0000412274 00000 n +0000412337 00000 n +0000412400 00000 n +0000412463 00000 n +0000412526 00000 n +0000412588 00000 n +0000412651 00000 n +0000412714 00000 n +0000412777 00000 n +0000412840 00000 n +0000412903 00000 n +0000412966 00000 n +0000413029 00000 n +0000413092 00000 n +0000413155 00000 n +0000413218 00000 n +0000413280 00000 n +0000413343 00000 n +0000413406 00000 n +0000413469 00000 n +0000413532 00000 n +0000413595 00000 n +0000413658 00000 n +0000413721 00000 n +0000418144 00000 n +0000416069 00000 n +0000413912 00000 n +0000416192 00000 n +0000416318 00000 n +0000416381 00000 n +0000416444 00000 n +0000416507 00000 n +0000416570 00000 n +0000416633 00000 n +0000416696 00000 n +0000416759 00000 n +0000416822 00000 n +0000416885 00000 n +0000416948 00000 n +0000417011 00000 n +0000417074 00000 n +0000417137 00000 n +0000417200 00000 n +0000417262 00000 n +0000417325 00000 n +0000417388 00000 n +0000417451 00000 n +0000417514 00000 n +0000417577 00000 n +0000417640 00000 n +0000417703 00000 n +0000417766 00000 n +0000417829 00000 n +0000417892 00000 n +0000417955 00000 n +0000418018 00000 n +0000418081 00000 n +0000422348 00000 n +0000420275 00000 n +0000418285 00000 n +0000420398 00000 n +0000420462 00000 n +0000420525 00000 n +0000420588 00000 n +0000420651 00000 n +0000420714 00000 n +0000420777 00000 n +0000420840 00000 n +0000420903 00000 n +0000420966 00000 n +0000421028 00000 n +0000421091 00000 n +0000421153 00000 n +0000421216 00000 n +0000421278 00000 n +0000421341 00000 n +0000421404 00000 n +0000421467 00000 n +0000421530 00000 n +0000421593 00000 n +0000421656 00000 n +0000421719 00000 n +0000421782 00000 n +0000421845 00000 n +0000421908 00000 n +0000421971 00000 n +0000422033 00000 n +0000422096 00000 n +0000422159 00000 n +0000422222 00000 n +0000422285 00000 n +0000926023 00000 n +0000429288 00000 n +0000425897 00000 n +0000422448 00000 n +0000426020 00000 n +0000426084 00000 n +0000426147 00000 n +0000426210 00000 n +0000426273 00000 n +0000426336 00000 n +0000426399 00000 n +0000426462 00000 n +0000426524 00000 n +0000426587 00000 n +0000426650 00000 n +0000426713 00000 n +0000426776 00000 n +0000426839 00000 n +0000426902 00000 n +0000426965 00000 n +0000427028 00000 n +0000427091 00000 n +0000427154 00000 n +0000427217 00000 n +0000427280 00000 n +0000427343 00000 n +0000427405 00000 n +0000427468 00000 n +0000427531 00000 n +0000427594 00000 n +0000427657 00000 n +0000427720 00000 n +0000427783 00000 n +0000427846 00000 n +0000427909 00000 n +0000427968 00000 n +0000428031 00000 n +0000428094 00000 n +0000428157 00000 n +0000428220 00000 n +0000428283 00000 n +0000428346 00000 n +0000428409 00000 n +0000428472 00000 n +0000428534 00000 n +0000428597 00000 n +0000428660 00000 n +0000428723 00000 n +0000428786 00000 n +0000428849 00000 n +0000428912 00000 n +0000428975 00000 n +0000429038 00000 n +0000429100 00000 n +0000429163 00000 n +0000429226 00000 n +0000434396 00000 n +0000432072 00000 n +0000429416 00000 n +0000432195 00000 n +0000432259 00000 n +0000432322 00000 n +0000432385 00000 n +0000432510 00000 n +0000432573 00000 n +0000432636 00000 n +0000432699 00000 n +0000432762 00000 n +0000432825 00000 n +0000432888 00000 n +0000432950 00000 n +0000433013 00000 n +0000433076 00000 n +0000433139 00000 n +0000433201 00000 n +0000433264 00000 n +0000433327 00000 n +0000433390 00000 n +0000433453 00000 n +0000433516 00000 n +0000433579 00000 n +0000433642 00000 n +0000433705 00000 n +0000433766 00000 n +0000433829 00000 n +0000433892 00000 n +0000433955 00000 n +0000434018 00000 n +0000434081 00000 n +0000434144 00000 n +0000434207 00000 n +0000434270 00000 n +0000434333 00000 n +0000439727 00000 n +0000437149 00000 n +0000434537 00000 n +0000437272 00000 n +0000437336 00000 n +0000437399 00000 n +0000437462 00000 n +0000437525 00000 n +0000437588 00000 n +0000437651 00000 n +0000437714 00000 n +0000437776 00000 n +0000437839 00000 n +0000437902 00000 n +0000437965 00000 n +0000438028 00000 n +0000438091 00000 n +0000438153 00000 n +0000438216 00000 n +0000438279 00000 n +0000438342 00000 n +0000438405 00000 n +0000438468 00000 n +0000438531 00000 n +0000438594 00000 n +0000438657 00000 n +0000438719 00000 n +0000438782 00000 n +0000438845 00000 n +0000438908 00000 n +0000438971 00000 n +0000439034 00000 n +0000439097 00000 n +0000439160 00000 n +0000439223 00000 n +0000439286 00000 n +0000439349 00000 n +0000439412 00000 n +0000439475 00000 n +0000439538 00000 n +0000439601 00000 n +0000439664 00000 n +0000444746 00000 n +0000442483 00000 n +0000439827 00000 n +0000442606 00000 n +0000442670 00000 n +0000442733 00000 n +0000442796 00000 n +0000442859 00000 n +0000442922 00000 n +0000442985 00000 n +0000443048 00000 n +0000443111 00000 n +0000443174 00000 n +0000443237 00000 n +0000443300 00000 n +0000443363 00000 n +0000443426 00000 n +0000443489 00000 n +0000443552 00000 n +0000443615 00000 n +0000443678 00000 n +0000443740 00000 n +0000443803 00000 n +0000443866 00000 n +0000443929 00000 n +0000443992 00000 n +0000444055 00000 n +0000444118 00000 n +0000444180 00000 n +0000444243 00000 n +0000444306 00000 n +0000444369 00000 n +0000444432 00000 n +0000444495 00000 n +0000444557 00000 n +0000444620 00000 n +0000444683 00000 n +0000450227 00000 n +0000447588 00000 n +0000444874 00000 n +0000447711 00000 n +0000447775 00000 n +0000447838 00000 n +0000447901 00000 n +0000447964 00000 n +0000448027 00000 n +0000448089 00000 n +0000448152 00000 n +0000448215 00000 n +0000448278 00000 n +0000448403 00000 n +0000448466 00000 n +0000448529 00000 n +0000448592 00000 n +0000448655 00000 n +0000448718 00000 n +0000448781 00000 n +0000448844 00000 n +0000448907 00000 n +0000448970 00000 n +0000449033 00000 n +0000449096 00000 n +0000449159 00000 n +0000449222 00000 n +0000449285 00000 n +0000449348 00000 n +0000449411 00000 n +0000449474 00000 n +0000449536 00000 n +0000449599 00000 n +0000449662 00000 n +0000449725 00000 n +0000449788 00000 n +0000449851 00000 n +0000449914 00000 n +0000449977 00000 n +0000450040 00000 n +0000450102 00000 n +0000450165 00000 n +0000455475 00000 n +0000452902 00000 n +0000450368 00000 n +0000453025 00000 n +0000453089 00000 n +0000453152 00000 n +0000453215 00000 n +0000453278 00000 n +0000453341 00000 n +0000453404 00000 n +0000453466 00000 n +0000453529 00000 n +0000453592 00000 n +0000453655 00000 n +0000453718 00000 n +0000453781 00000 n +0000453844 00000 n +0000453907 00000 n +0000453970 00000 n +0000454033 00000 n +0000454096 00000 n +0000454159 00000 n +0000454221 00000 n +0000454284 00000 n +0000454347 00000 n +0000454410 00000 n +0000454473 00000 n +0000454536 00000 n +0000454599 00000 n +0000454662 00000 n +0000454725 00000 n +0000454788 00000 n +0000454850 00000 n +0000454913 00000 n +0000454976 00000 n +0000455039 00000 n +0000455102 00000 n +0000455165 00000 n +0000455228 00000 n +0000455291 00000 n +0000455354 00000 n +0000455417 00000 n +0000926148 00000 n +0000461883 00000 n +0000458678 00000 n +0000455575 00000 n +0000458801 00000 n +0000458865 00000 n +0000458928 00000 n +0000458991 00000 n +0000459054 00000 n +0000459117 00000 n +0000459180 00000 n +0000459243 00000 n +0000459305 00000 n +0000459368 00000 n +0000459431 00000 n +0000459494 00000 n +0000459557 00000 n +0000459620 00000 n +0000459683 00000 n +0000459746 00000 n +0000459809 00000 n +0000459871 00000 n +0000459934 00000 n +0000459997 00000 n +0000460060 00000 n +0000460123 00000 n +0000460186 00000 n +0000460249 00000 n +0000460312 00000 n +0000460375 00000 n +0000460438 00000 n +0000460501 00000 n +0000460564 00000 n +0000460627 00000 n +0000460690 00000 n +0000460753 00000 n +0000460816 00000 n +0000460879 00000 n +0000460942 00000 n +0000461005 00000 n +0000461068 00000 n +0000461131 00000 n +0000461194 00000 n +0000461257 00000 n +0000461320 00000 n +0000461383 00000 n +0000461444 00000 n +0000461507 00000 n +0000461570 00000 n +0000461633 00000 n +0000461696 00000 n +0000461758 00000 n +0000461821 00000 n +0000467156 00000 n +0000464515 00000 n +0000461983 00000 n +0000464638 00000 n +0000464702 00000 n +0000464765 00000 n +0000464828 00000 n +0000464891 00000 n +0000464954 00000 n +0000465017 00000 n +0000465080 00000 n +0000465143 00000 n +0000465206 00000 n +0000465268 00000 n +0000465331 00000 n +0000465394 00000 n +0000465457 00000 n +0000465520 00000 n +0000465583 00000 n +0000465646 00000 n +0000465709 00000 n +0000465772 00000 n +0000465835 00000 n +0000465898 00000 n +0000465961 00000 n +0000466024 00000 n +0000466086 00000 n +0000466149 00000 n +0000466212 00000 n +0000466275 00000 n +0000466338 00000 n +0000466401 00000 n +0000466464 00000 n +0000466527 00000 n +0000466590 00000 n +0000466653 00000 n +0000466716 00000 n +0000466779 00000 n +0000466842 00000 n +0000466904 00000 n +0000466967 00000 n +0000467030 00000 n +0000467093 00000 n +0000471592 00000 n +0000469327 00000 n +0000467256 00000 n +0000469450 00000 n +0000469514 00000 n +0000469577 00000 n +0000469640 00000 n +0000469703 00000 n +0000469766 00000 n +0000469829 00000 n +0000469892 00000 n +0000469955 00000 n +0000470018 00000 n +0000470081 00000 n +0000470144 00000 n +0000470207 00000 n +0000470270 00000 n +0000470333 00000 n +0000470396 00000 n +0000470459 00000 n +0000470522 00000 n +0000470585 00000 n +0000470648 00000 n +0000470711 00000 n +0000470774 00000 n +0000470837 00000 n +0000470900 00000 n +0000470963 00000 n +0000471026 00000 n +0000471089 00000 n +0000471151 00000 n +0000471214 00000 n +0000471277 00000 n +0000471340 00000 n +0000471403 00000 n +0000471466 00000 n +0000471529 00000 n +0000478041 00000 n +0000474651 00000 n +0000471692 00000 n +0000474774 00000 n +0000474838 00000 n +0000474901 00000 n +0000474964 00000 n +0000475027 00000 n +0000475090 00000 n +0000475153 00000 n +0000475216 00000 n +0000475279 00000 n +0000475342 00000 n +0000475405 00000 n +0000475468 00000 n +0000475531 00000 n +0000475594 00000 n +0000475657 00000 n +0000475719 00000 n +0000475782 00000 n +0000475845 00000 n +0000475908 00000 n +0000475971 00000 n +0000476034 00000 n +0000476097 00000 n +0000476160 00000 n +0000476223 00000 n +0000476285 00000 n +0000476348 00000 n +0000476411 00000 n +0000476474 00000 n +0000476537 00000 n +0000476600 00000 n +0000476663 00000 n +0000476726 00000 n +0000476789 00000 n +0000476848 00000 n +0000476911 00000 n +0000476974 00000 n +0000477037 00000 n +0000477099 00000 n +0000477162 00000 n +0000477224 00000 n +0000477287 00000 n +0000477350 00000 n +0000477413 00000 n +0000477476 00000 n +0000477539 00000 n +0000477602 00000 n +0000477665 00000 n +0000477728 00000 n +0000477790 00000 n +0000477853 00000 n +0000477916 00000 n +0000477979 00000 n +0000483753 00000 n +0000480863 00000 n +0000478141 00000 n +0000480986 00000 n +0000481050 00000 n +0000481113 00000 n +0000481176 00000 n +0000481239 00000 n +0000481302 00000 n +0000481365 00000 n +0000481427 00000 n +0000481490 00000 n +0000481553 00000 n +0000481616 00000 n +0000481679 00000 n +0000481742 00000 n +0000481805 00000 n +0000481868 00000 n +0000481931 00000 n +0000481993 00000 n +0000482056 00000 n +0000482119 00000 n +0000482182 00000 n +0000482245 00000 n +0000482307 00000 n +0000482370 00000 n +0000482433 00000 n +0000482496 00000 n +0000482559 00000 n +0000482621 00000 n +0000482684 00000 n +0000482747 00000 n +0000482810 00000 n +0000482873 00000 n +0000482936 00000 n +0000482999 00000 n +0000483062 00000 n +0000483125 00000 n +0000483187 00000 n +0000483250 00000 n +0000483313 00000 n +0000483376 00000 n +0000483439 00000 n +0000483501 00000 n +0000483564 00000 n +0000483627 00000 n +0000483690 00000 n +0000489533 00000 n +0000486514 00000 n +0000483853 00000 n +0000486637 00000 n +0000486701 00000 n +0000486764 00000 n +0000486827 00000 n +0000486890 00000 n +0000486953 00000 n +0000487016 00000 n +0000487079 00000 n +0000487142 00000 n +0000487205 00000 n +0000487268 00000 n +0000487330 00000 n +0000487393 00000 n +0000487456 00000 n +0000487519 00000 n +0000487582 00000 n +0000487645 00000 n +0000487707 00000 n +0000487770 00000 n +0000487833 00000 n +0000487896 00000 n +0000487959 00000 n +0000488022 00000 n +0000488085 00000 n +0000488148 00000 n +0000488211 00000 n +0000488273 00000 n +0000488336 00000 n +0000488399 00000 n +0000488462 00000 n +0000488525 00000 n +0000488588 00000 n +0000488651 00000 n +0000488714 00000 n +0000488777 00000 n +0000488840 00000 n +0000488903 00000 n +0000488966 00000 n +0000489029 00000 n +0000489092 00000 n +0000489155 00000 n +0000489218 00000 n +0000489281 00000 n +0000489344 00000 n +0000489407 00000 n +0000489470 00000 n +0000926273 00000 n +0000494782 00000 n +0000492205 00000 n +0000489633 00000 n +0000492328 00000 n +0000492392 00000 n +0000492455 00000 n +0000492518 00000 n +0000492581 00000 n +0000492644 00000 n +0000492707 00000 n +0000492770 00000 n +0000492833 00000 n +0000492896 00000 n +0000492959 00000 n +0000493022 00000 n +0000493084 00000 n +0000493147 00000 n +0000493210 00000 n +0000493273 00000 n +0000493336 00000 n +0000493399 00000 n +0000493461 00000 n +0000493524 00000 n +0000493587 00000 n +0000493650 00000 n +0000493713 00000 n +0000493776 00000 n +0000493839 00000 n +0000493902 00000 n +0000493965 00000 n +0000494028 00000 n +0000494091 00000 n +0000494153 00000 n +0000494216 00000 n +0000494279 00000 n +0000494342 00000 n +0000494405 00000 n +0000494468 00000 n +0000494531 00000 n +0000494594 00000 n +0000494657 00000 n +0000494720 00000 n +0000500432 00000 n +0000497669 00000 n +0000494882 00000 n +0000497792 00000 n +0000497918 00000 n +0000497981 00000 n +0000498044 00000 n +0000498107 00000 n +0000498170 00000 n +0000498233 00000 n +0000498296 00000 n +0000498358 00000 n +0000498420 00000 n +0000498483 00000 n +0000498546 00000 n +0000498609 00000 n +0000498672 00000 n +0000498735 00000 n +0000498798 00000 n +0000498861 00000 n +0000498924 00000 n +0000498987 00000 n +0000499050 00000 n +0000499113 00000 n +0000499175 00000 n +0000499238 00000 n +0000499301 00000 n +0000499364 00000 n +0000499427 00000 n +0000499490 00000 n +0000499553 00000 n +0000499616 00000 n +0000499679 00000 n +0000499741 00000 n +0000499804 00000 n +0000499867 00000 n +0000499930 00000 n +0000499993 00000 n +0000500056 00000 n +0000500119 00000 n +0000500182 00000 n +0000500245 00000 n +0000500307 00000 n +0000500370 00000 n +0000505459 00000 n +0000502945 00000 n +0000500573 00000 n +0000503068 00000 n +0000503132 00000 n +0000503195 00000 n +0000503258 00000 n +0000503321 00000 n +0000503384 00000 n +0000503447 00000 n +0000503509 00000 n +0000503572 00000 n +0000503635 00000 n +0000503698 00000 n +0000503761 00000 n +0000503824 00000 n +0000503887 00000 n +0000503949 00000 n +0000504074 00000 n +0000504137 00000 n +0000504200 00000 n +0000504263 00000 n +0000504326 00000 n +0000504389 00000 n +0000504514 00000 n +0000504577 00000 n +0000504640 00000 n +0000504703 00000 n +0000504766 00000 n +0000504829 00000 n +0000504892 00000 n +0000504955 00000 n +0000505018 00000 n +0000505081 00000 n +0000505144 00000 n +0000505207 00000 n +0000505270 00000 n +0000505333 00000 n +0000505396 00000 n +0000509747 00000 n +0000507737 00000 n +0000505600 00000 n +0000507860 00000 n +0000507986 00000 n +0000508049 00000 n +0000508112 00000 n +0000508175 00000 n +0000508238 00000 n +0000508301 00000 n +0000508426 00000 n +0000508489 00000 n +0000508552 00000 n +0000508615 00000 n +0000508678 00000 n +0000508741 00000 n +0000508804 00000 n +0000508867 00000 n +0000508930 00000 n +0000508993 00000 n +0000509056 00000 n +0000509119 00000 n +0000509181 00000 n +0000509244 00000 n +0000509307 00000 n +0000509369 00000 n +0000509432 00000 n +0000509495 00000 n +0000509558 00000 n +0000509621 00000 n +0000509684 00000 n +0000513934 00000 n +0000511924 00000 n +0000509888 00000 n +0000512047 00000 n +0000512111 00000 n +0000512174 00000 n +0000512237 00000 n +0000512300 00000 n +0000512363 00000 n +0000512426 00000 n +0000512551 00000 n +0000512614 00000 n +0000512677 00000 n +0000512740 00000 n +0000512803 00000 n +0000512866 00000 n +0000512929 00000 n +0000512992 00000 n +0000513117 00000 n +0000513180 00000 n +0000513243 00000 n +0000513367 00000 n +0000513430 00000 n +0000513493 00000 n +0000513556 00000 n +0000513619 00000 n +0000513682 00000 n +0000513745 00000 n +0000513808 00000 n +0000513871 00000 n +0000520579 00000 n +0000517247 00000 n +0000514061 00000 n +0000517370 00000 n +0000517434 00000 n +0000517497 00000 n +0000517560 00000 n +0000517623 00000 n +0000517686 00000 n +0000517749 00000 n +0000517812 00000 n +0000517874 00000 n +0000517937 00000 n +0000518000 00000 n +0000518063 00000 n +0000518126 00000 n +0000518189 00000 n +0000518252 00000 n +0000518315 00000 n +0000518378 00000 n +0000518439 00000 n +0000518502 00000 n +0000518565 00000 n +0000518628 00000 n +0000518691 00000 n +0000518754 00000 n +0000518817 00000 n +0000518880 00000 n +0000518943 00000 n +0000519006 00000 n +0000519069 00000 n +0000519132 00000 n +0000519195 00000 n +0000519258 00000 n +0000519321 00000 n +0000519384 00000 n +0000519447 00000 n +0000519510 00000 n +0000519573 00000 n +0000519636 00000 n +0000519699 00000 n +0000519762 00000 n +0000519825 00000 n +0000519888 00000 n +0000519951 00000 n +0000520014 00000 n +0000520077 00000 n +0000520140 00000 n +0000520203 00000 n +0000520266 00000 n +0000520329 00000 n +0000520392 00000 n +0000520455 00000 n +0000520518 00000 n +0000926398 00000 n +0000526569 00000 n +0000523553 00000 n +0000520693 00000 n +0000523676 00000 n +0000523740 00000 n +0000523803 00000 n +0000523866 00000 n +0000523929 00000 n +0000523992 00000 n +0000524055 00000 n +0000524117 00000 n +0000524180 00000 n +0000524243 00000 n +0000524306 00000 n +0000524369 00000 n +0000524432 00000 n +0000524494 00000 n +0000524557 00000 n +0000524620 00000 n +0000524683 00000 n +0000524746 00000 n +0000524809 00000 n +0000524872 00000 n +0000524935 00000 n +0000524998 00000 n +0000525060 00000 n +0000525123 00000 n +0000525186 00000 n +0000525249 00000 n +0000525312 00000 n +0000525375 00000 n +0000525438 00000 n +0000525501 00000 n +0000525564 00000 n +0000525627 00000 n +0000525690 00000 n +0000525753 00000 n +0000525815 00000 n +0000525878 00000 n +0000525941 00000 n +0000526004 00000 n +0000526067 00000 n +0000526129 00000 n +0000526192 00000 n +0000526255 00000 n +0000526318 00000 n +0000526380 00000 n +0000526443 00000 n +0000526506 00000 n +0000530576 00000 n +0000528629 00000 n +0000526683 00000 n +0000528752 00000 n +0000528816 00000 n +0000528879 00000 n +0000528942 00000 n +0000529005 00000 n +0000529068 00000 n +0000529131 00000 n +0000529194 00000 n +0000529257 00000 n +0000529320 00000 n +0000529382 00000 n +0000529445 00000 n +0000529508 00000 n +0000529571 00000 n +0000529634 00000 n +0000529697 00000 n +0000529760 00000 n +0000529823 00000 n +0000529886 00000 n +0000529949 00000 n +0000530012 00000 n +0000530075 00000 n +0000530200 00000 n +0000530263 00000 n +0000530325 00000 n +0000530388 00000 n +0000530451 00000 n +0000530514 00000 n +0000535637 00000 n +0000533124 00000 n +0000530717 00000 n +0000533247 00000 n +0000533373 00000 n +0000533436 00000 n +0000533499 00000 n +0000533562 00000 n +0000533625 00000 n +0000533687 00000 n +0000533750 00000 n +0000533813 00000 n +0000533876 00000 n +0000533939 00000 n +0000534002 00000 n +0000534065 00000 n +0000534128 00000 n +0000534191 00000 n +0000534254 00000 n +0000534317 00000 n +0000534380 00000 n +0000534443 00000 n +0000534506 00000 n +0000534569 00000 n +0000534632 00000 n +0000534695 00000 n +0000534758 00000 n +0000534821 00000 n +0000534884 00000 n +0000534947 00000 n +0000535010 00000 n +0000535135 00000 n +0000535198 00000 n +0000535261 00000 n +0000535324 00000 n +0000535387 00000 n +0000535448 00000 n +0000535511 00000 n +0000535574 00000 n +0000539438 00000 n +0000537432 00000 n +0000535750 00000 n +0000537555 00000 n +0000537681 00000 n +0000537744 00000 n +0000537807 00000 n +0000537870 00000 n +0000537933 00000 n +0000537996 00000 n +0000538059 00000 n +0000538121 00000 n +0000538184 00000 n +0000538247 00000 n +0000538310 00000 n +0000538435 00000 n +0000538498 00000 n +0000538561 00000 n +0000538624 00000 n +0000538687 00000 n +0000538750 00000 n +0000538813 00000 n +0000538876 00000 n +0000538939 00000 n +0000539002 00000 n +0000539065 00000 n +0000539187 00000 n +0000539250 00000 n +0000539313 00000 n +0000539375 00000 n +0000543903 00000 n +0000541832 00000 n +0000539551 00000 n +0000541955 00000 n +0000542019 00000 n +0000542082 00000 n +0000542145 00000 n +0000542208 00000 n +0000542271 00000 n +0000542334 00000 n +0000542397 00000 n +0000542522 00000 n +0000542647 00000 n +0000542772 00000 n +0000542835 00000 n +0000542898 00000 n +0000542961 00000 n +0000543024 00000 n +0000543148 00000 n +0000543211 00000 n +0000543274 00000 n +0000543337 00000 n +0000543400 00000 n +0000543463 00000 n +0000543526 00000 n +0000543589 00000 n +0000543652 00000 n +0000543715 00000 n +0000543777 00000 n +0000543840 00000 n +0000549136 00000 n +0000546623 00000 n +0000544044 00000 n +0000546746 00000 n +0000546872 00000 n +0000546935 00000 n +0000546998 00000 n +0000547061 00000 n +0000547124 00000 n +0000547187 00000 n +0000547250 00000 n +0000547312 00000 n +0000547375 00000 n +0000547438 00000 n +0000547501 00000 n +0000547564 00000 n +0000547627 00000 n +0000547690 00000 n +0000547753 00000 n +0000547816 00000 n +0000547879 00000 n +0000547942 00000 n +0000548005 00000 n +0000548068 00000 n +0000548131 00000 n +0000548194 00000 n +0000548257 00000 n +0000548320 00000 n +0000548382 00000 n +0000548445 00000 n +0000548508 00000 n +0000548571 00000 n +0000548633 00000 n +0000548758 00000 n +0000548821 00000 n +0000548884 00000 n +0000548947 00000 n +0000549010 00000 n +0000549073 00000 n +0000926523 00000 n +0000552706 00000 n +0000550827 00000 n +0000549249 00000 n +0000550950 00000 n +0000551076 00000 n +0000551139 00000 n +0000551202 00000 n +0000551265 00000 n +0000551390 00000 n +0000551451 00000 n +0000551513 00000 n +0000551576 00000 n +0000551701 00000 n +0000551764 00000 n +0000551827 00000 n +0000551890 00000 n +0000552015 00000 n +0000552078 00000 n +0000552141 00000 n +0000552204 00000 n +0000552329 00000 n +0000552392 00000 n +0000552455 00000 n +0000552518 00000 n +0000552581 00000 n +0000552643 00000 n +0000555732 00000 n +0000556882 00000 n +0000555588 00000 n +0000552833 00000 n +0000555939 00000 n +0000556065 00000 n +0000922386 00000 n +0000556190 00000 n +0000556253 00000 n +0000556316 00000 n +0000556379 00000 n +0000556442 00000 n +0000556505 00000 n +0000556568 00000 n +0000556631 00000 n +0000556694 00000 n +0000556757 00000 n +0000556819 00000 n +0000562028 00000 n +0000559579 00000 n +0000557038 00000 n +0000559702 00000 n +0000559766 00000 n +0000559829 00000 n +0000559892 00000 n +0000559955 00000 n +0000560017 00000 n +0000560080 00000 n +0000560143 00000 n +0000560206 00000 n +0000560269 00000 n +0000560332 00000 n +0000560456 00000 n +0000560519 00000 n +0000560582 00000 n +0000560645 00000 n +0000560708 00000 n +0000560771 00000 n +0000560833 00000 n +0000560896 00000 n +0000560959 00000 n +0000561021 00000 n +0000561084 00000 n +0000561147 00000 n +0000561210 00000 n +0000561273 00000 n +0000561336 00000 n +0000561399 00000 n +0000561462 00000 n +0000561525 00000 n +0000561588 00000 n +0000561651 00000 n +0000561714 00000 n +0000561777 00000 n +0000561840 00000 n +0000561903 00000 n +0000561965 00000 n +0000566191 00000 n +0000564118 00000 n +0000562169 00000 n +0000564241 00000 n +0000564367 00000 n +0000564430 00000 n +0000564493 00000 n +0000564556 00000 n +0000564619 00000 n +0000564682 00000 n +0000564745 00000 n +0000564808 00000 n +0000564871 00000 n +0000564934 00000 n +0000564996 00000 n +0000565059 00000 n +0000565122 00000 n +0000565184 00000 n +0000565247 00000 n +0000565310 00000 n +0000565373 00000 n +0000565436 00000 n +0000565499 00000 n +0000565562 00000 n +0000565625 00000 n +0000565688 00000 n +0000565751 00000 n +0000565814 00000 n +0000565876 00000 n +0000565939 00000 n +0000566002 00000 n +0000566065 00000 n +0000566128 00000 n +0000570643 00000 n +0000568509 00000 n +0000566304 00000 n +0000568632 00000 n +0000568696 00000 n +0000568759 00000 n +0000568822 00000 n +0000568885 00000 n +0000568948 00000 n +0000569010 00000 n +0000569073 00000 n +0000569136 00000 n +0000569199 00000 n +0000569262 00000 n +0000569324 00000 n +0000569387 00000 n +0000569450 00000 n +0000569513 00000 n +0000569575 00000 n +0000569638 00000 n +0000569701 00000 n +0000569763 00000 n +0000569826 00000 n +0000569889 00000 n +0000569952 00000 n +0000570015 00000 n +0000570077 00000 n +0000570140 00000 n +0000570203 00000 n +0000570266 00000 n +0000570391 00000 n +0000570454 00000 n +0000570517 00000 n +0000570580 00000 n +0000576682 00000 n +0000573667 00000 n +0000570784 00000 n +0000573790 00000 n +0000573854 00000 n +0000573917 00000 n +0000573980 00000 n +0000574043 00000 n +0000574106 00000 n +0000574169 00000 n +0000574232 00000 n +0000574295 00000 n +0000574358 00000 n +0000574421 00000 n +0000574484 00000 n +0000574547 00000 n +0000574610 00000 n +0000574673 00000 n +0000574736 00000 n +0000574799 00000 n +0000574862 00000 n +0000574925 00000 n +0000574988 00000 n +0000575051 00000 n +0000575114 00000 n +0000575177 00000 n +0000575240 00000 n +0000575303 00000 n +0000575366 00000 n +0000575429 00000 n +0000575492 00000 n +0000575553 00000 n +0000575616 00000 n +0000575679 00000 n +0000575742 00000 n +0000575805 00000 n +0000575868 00000 n +0000575931 00000 n +0000575994 00000 n +0000576057 00000 n +0000576120 00000 n +0000576183 00000 n +0000576246 00000 n +0000576309 00000 n +0000576372 00000 n +0000576435 00000 n +0000576498 00000 n +0000576561 00000 n +0000576624 00000 n +0000926648 00000 n +0000581106 00000 n +0000579096 00000 n +0000576782 00000 n +0000579219 00000 n +0000579283 00000 n +0000579346 00000 n +0000579409 00000 n +0000579471 00000 n +0000579534 00000 n +0000579597 00000 n +0000579660 00000 n +0000579723 00000 n +0000579786 00000 n +0000579849 00000 n +0000579912 00000 n +0000579975 00000 n +0000580038 00000 n +0000580100 00000 n +0000580163 00000 n +0000580225 00000 n +0000580288 00000 n +0000580351 00000 n +0000580414 00000 n +0000580477 00000 n +0000580540 00000 n +0000580603 00000 n +0000580666 00000 n +0000580729 00000 n +0000580792 00000 n +0000580855 00000 n +0000580918 00000 n +0000580981 00000 n +0000581044 00000 n +0000586931 00000 n +0000584042 00000 n +0000581234 00000 n +0000584165 00000 n +0000584229 00000 n +0000584292 00000 n +0000584355 00000 n +0000584418 00000 n +0000584481 00000 n +0000584544 00000 n +0000584607 00000 n +0000584670 00000 n +0000584795 00000 n +0000584858 00000 n +0000584920 00000 n +0000584983 00000 n +0000585046 00000 n +0000585109 00000 n +0000585172 00000 n +0000585235 00000 n +0000585297 00000 n +0000585360 00000 n +0000585422 00000 n +0000585485 00000 n +0000585548 00000 n +0000585611 00000 n +0000585674 00000 n +0000585737 00000 n +0000585800 00000 n +0000585863 00000 n +0000585926 00000 n +0000585989 00000 n +0000586052 00000 n +0000586115 00000 n +0000586177 00000 n +0000586240 00000 n +0000586303 00000 n +0000586366 00000 n +0000586429 00000 n +0000586492 00000 n +0000586555 00000 n +0000586618 00000 n +0000586681 00000 n +0000586744 00000 n +0000586806 00000 n +0000586869 00000 n +0000593850 00000 n +0000590460 00000 n +0000587058 00000 n +0000590583 00000 n +0000590647 00000 n +0000590710 00000 n +0000590773 00000 n +0000590836 00000 n +0000590899 00000 n +0000590962 00000 n +0000591024 00000 n +0000591087 00000 n +0000591150 00000 n +0000591213 00000 n +0000591276 00000 n +0000591339 00000 n +0000591402 00000 n +0000591465 00000 n +0000591528 00000 n +0000591590 00000 n +0000591653 00000 n +0000591716 00000 n +0000591779 00000 n +0000591842 00000 n +0000591904 00000 n +0000591967 00000 n +0000592030 00000 n +0000592093 00000 n +0000592156 00000 n +0000592219 00000 n +0000592282 00000 n +0000592345 00000 n +0000592407 00000 n +0000592470 00000 n +0000592533 00000 n +0000592596 00000 n +0000592659 00000 n +0000592722 00000 n +0000592785 00000 n +0000592848 00000 n +0000592911 00000 n +0000592972 00000 n +0000593035 00000 n +0000593098 00000 n +0000593161 00000 n +0000593224 00000 n +0000593285 00000 n +0000593348 00000 n +0000593411 00000 n +0000593474 00000 n +0000593537 00000 n +0000593600 00000 n +0000593663 00000 n +0000593725 00000 n +0000593788 00000 n +0000600923 00000 n +0000597280 00000 n +0000593964 00000 n +0000597403 00000 n +0000597467 00000 n +0000597530 00000 n +0000597593 00000 n +0000597656 00000 n +0000597719 00000 n +0000597782 00000 n +0000597844 00000 n +0000597907 00000 n +0000597970 00000 n +0000598033 00000 n +0000598096 00000 n +0000598159 00000 n +0000598222 00000 n +0000598285 00000 n +0000598348 00000 n +0000598411 00000 n +0000598473 00000 n +0000598536 00000 n +0000598598 00000 n +0000598661 00000 n +0000598724 00000 n +0000598787 00000 n +0000598850 00000 n +0000598913 00000 n +0000598975 00000 n +0000599038 00000 n +0000599101 00000 n +0000599164 00000 n +0000599227 00000 n +0000599290 00000 n +0000599353 00000 n +0000599416 00000 n +0000599479 00000 n +0000599541 00000 n +0000599604 00000 n +0000599667 00000 n +0000599730 00000 n +0000599793 00000 n +0000599856 00000 n +0000599919 00000 n +0000599982 00000 n +0000600045 00000 n +0000600107 00000 n +0000600170 00000 n +0000600233 00000 n +0000600296 00000 n +0000600359 00000 n +0000600422 00000 n +0000600485 00000 n +0000600548 00000 n +0000600611 00000 n +0000600672 00000 n +0000600735 00000 n +0000600798 00000 n +0000600861 00000 n +0000604894 00000 n +0000603012 00000 n +0000601023 00000 n +0000603135 00000 n +0000603199 00000 n +0000603262 00000 n +0000603386 00000 n +0000603449 00000 n +0000603512 00000 n +0000603575 00000 n +0000603638 00000 n +0000603762 00000 n +0000603825 00000 n +0000603888 00000 n +0000603951 00000 n +0000604014 00000 n +0000604077 00000 n +0000604202 00000 n +0000604265 00000 n +0000604328 00000 n +0000604391 00000 n +0000604454 00000 n +0000604579 00000 n +0000604642 00000 n +0000604705 00000 n +0000604768 00000 n +0000604831 00000 n +0000609892 00000 n +0000607507 00000 n +0000605035 00000 n +0000607630 00000 n +0000607694 00000 n +0000607757 00000 n +0000607820 00000 n +0000607883 00000 n +0000607946 00000 n +0000608009 00000 n +0000608071 00000 n +0000608134 00000 n +0000608197 00000 n +0000608260 00000 n +0000608322 00000 n +0000608385 00000 n +0000608448 00000 n +0000608511 00000 n +0000608574 00000 n +0000608636 00000 n +0000608699 00000 n +0000608761 00000 n +0000608824 00000 n +0000608886 00000 n +0000608949 00000 n +0000609012 00000 n +0000609075 00000 n +0000609138 00000 n +0000609201 00000 n +0000609263 00000 n +0000609326 00000 n +0000609389 00000 n +0000609452 00000 n +0000609515 00000 n +0000609577 00000 n +0000609640 00000 n +0000609703 00000 n +0000609766 00000 n +0000609829 00000 n +0000926773 00000 n +0000614111 00000 n +0000612100 00000 n +0000610006 00000 n +0000612223 00000 n +0000612287 00000 n +0000612350 00000 n +0000612413 00000 n +0000612476 00000 n +0000612539 00000 n +0000612602 00000 n +0000612665 00000 n +0000612728 00000 n +0000612791 00000 n +0000612854 00000 n +0000612917 00000 n +0000612980 00000 n +0000613043 00000 n +0000613105 00000 n +0000613168 00000 n +0000613231 00000 n +0000613294 00000 n +0000613357 00000 n +0000613420 00000 n +0000613483 00000 n +0000613546 00000 n +0000613671 00000 n +0000613734 00000 n +0000613797 00000 n +0000613922 00000 n +0000613985 00000 n +0000614048 00000 n +0000618755 00000 n +0000616559 00000 n +0000614252 00000 n +0000616682 00000 n +0000616808 00000 n +0000616871 00000 n +0000616934 00000 n +0000616997 00000 n +0000617122 00000 n +0000617183 00000 n +0000617245 00000 n +0000617308 00000 n +0000617371 00000 n +0000617434 00000 n +0000617559 00000 n +0000617622 00000 n +0000617685 00000 n +0000617748 00000 n +0000617811 00000 n +0000617874 00000 n +0000617937 00000 n +0000618000 00000 n +0000618063 00000 n +0000618126 00000 n +0000618189 00000 n +0000618314 00000 n +0000618377 00000 n +0000618440 00000 n +0000618503 00000 n +0000618566 00000 n +0000618629 00000 n +0000618692 00000 n +0000623363 00000 n +0000622422 00000 n +0000618896 00000 n +0000622545 00000 n +0000622609 00000 n +0000622672 00000 n +0000622735 00000 n +0000622798 00000 n +0000622861 00000 n +0000622923 00000 n +0000622986 00000 n +0000623049 00000 n +0000623112 00000 n +0000623175 00000 n +0000623300 00000 n +0000923973 00000 n +0000923441 00000 n +0000626223 00000 n +0000625786 00000 n +0000623562 00000 n +0000625909 00000 n +0000922561 00000 n +0000626035 00000 n +0000626160 00000 n +0000628199 00000 n +0000627763 00000 n +0000626379 00000 n +0000627886 00000 n +0000628012 00000 n +0000628136 00000 n +0000630430 00000 n +0000630118 00000 n +0000628312 00000 n +0000630241 00000 n +0000630367 00000 n +0000926898 00000 n +0000632946 00000 n +0000632385 00000 n +0000630543 00000 n +0000632508 00000 n +0000632634 00000 n +0000632759 00000 n +0000632883 00000 n +0000635219 00000 n +0000634657 00000 n +0000633059 00000 n +0000634780 00000 n +0000634906 00000 n +0000635031 00000 n +0000635156 00000 n +0000637414 00000 n +0000637580 00000 n +0000640778 00000 n +0000638453 00000 n +0000637261 00000 n +0000635332 00000 n +0000637764 00000 n +0000637890 00000 n +0000638015 00000 n +0000638140 00000 n +0000638265 00000 n +0000638390 00000 n +0000641419 00000 n +0000640634 00000 n +0000638594 00000 n +0000640980 00000 n +0000641106 00000 n +0000641231 00000 n +0000641356 00000 n +0000643542 00000 n +0000643230 00000 n +0000641560 00000 n +0000643353 00000 n +0000643479 00000 n +0000645450 00000 n +0000645263 00000 n +0000643655 00000 n +0000645386 00000 n +0000927023 00000 n +0000647814 00000 n +0000647253 00000 n +0000645550 00000 n +0000647376 00000 n +0000647502 00000 n +0000647627 00000 n +0000647751 00000 n +0000650276 00000 n +0000649714 00000 n +0000647927 00000 n +0000649837 00000 n +0000649963 00000 n +0000650088 00000 n +0000650213 00000 n +0000652485 00000 n +0000653197 00000 n +0000652341 00000 n +0000650389 00000 n +0000652633 00000 n +0000652759 00000 n +0000652884 00000 n +0000653009 00000 n +0000653134 00000 n +0000656338 00000 n +0000656026 00000 n +0000653310 00000 n +0000656149 00000 n +0000656275 00000 n +0000658844 00000 n +0000658407 00000 n +0000656466 00000 n +0000658530 00000 n +0000658656 00000 n +0000658781 00000 n +0000661535 00000 n +0000661348 00000 n +0000658972 00000 n +0000661471 00000 n +0000927148 00000 n +0000664025 00000 n +0000663838 00000 n +0000661635 00000 n +0000663961 00000 n +0000667342 00000 n +0000667155 00000 n +0000664140 00000 n +0000667278 00000 n +0000670658 00000 n +0000670347 00000 n +0000667457 00000 n +0000670470 00000 n +0000670596 00000 n +0000673577 00000 n +0000673390 00000 n +0000670786 00000 n +0000673513 00000 n +0000676657 00000 n +0000676470 00000 n +0000673677 00000 n +0000676593 00000 n +0000679825 00000 n +0000679514 00000 n +0000676772 00000 n +0000679637 00000 n +0000679762 00000 n +0000927273 00000 n +0000683056 00000 n +0000682869 00000 n +0000679953 00000 n +0000682992 00000 n +0000687230 00000 n +0000687043 00000 n +0000683171 00000 n +0000687166 00000 n +0000690313 00000 n +0000690001 00000 n +0000687345 00000 n +0000690124 00000 n +0000690250 00000 n +0000693490 00000 n +0000693303 00000 n +0000690441 00000 n +0000693426 00000 n +0000696144 00000 n +0000695957 00000 n +0000693605 00000 n +0000696080 00000 n +0000699447 00000 n +0000699260 00000 n +0000696259 00000 n +0000699383 00000 n +0000927398 00000 n +0000702805 00000 n +0000702368 00000 n +0000699562 00000 n +0000702491 00000 n +0000702617 00000 n +0000702742 00000 n +0000704900 00000 n +0000705052 00000 n +0000705639 00000 n +0000704747 00000 n +0000702933 00000 n +0000705200 00000 n +0000705326 00000 n +0000705451 00000 n +0000705576 00000 n +0000717833 00000 n +0000709163 00000 n +0000708726 00000 n +0000705780 00000 n +0000708849 00000 n +0000708975 00000 n +0000709100 00000 n +0000713305 00000 n +0000712869 00000 n +0000709305 00000 n +0000712992 00000 n +0000713118 00000 n +0000713243 00000 n +0000717896 00000 n +0000717584 00000 n +0000713447 00000 n +0000717707 00000 n +0000721138 00000 n +0000720763 00000 n +0000718039 00000 n +0000720886 00000 n +0000720950 00000 n +0000721012 00000 n +0000721075 00000 n +0000927523 00000 n +0000726452 00000 n +0000724498 00000 n +0000721281 00000 n +0000724621 00000 n +0000724685 00000 n +0000724748 00000 n +0000724811 00000 n +0000724874 00000 n +0000724937 00000 n +0000922235 00000 n +0000725001 00000 n +0000725064 00000 n +0000725127 00000 n +0000725190 00000 n +0000725254 00000 n +0000725316 00000 n +0000725379 00000 n +0000725442 00000 n +0000725506 00000 n +0000725569 00000 n +0000725633 00000 n +0000725696 00000 n +0000725760 00000 n +0000725823 00000 n +0000725886 00000 n +0000725949 00000 n +0000726012 00000 n +0000726075 00000 n +0000726137 00000 n +0000726200 00000 n +0000726263 00000 n +0000726326 00000 n +0000726389 00000 n +0000730783 00000 n +0000729840 00000 n +0000726606 00000 n +0000729963 00000 n +0000730027 00000 n +0000730090 00000 n +0000730153 00000 n +0000730216 00000 n +0000730279 00000 n +0000730342 00000 n +0000730405 00000 n +0000730468 00000 n +0000730531 00000 n +0000730594 00000 n +0000730657 00000 n +0000730720 00000 n +0000735177 00000 n +0000734865 00000 n +0000730911 00000 n +0000734988 00000 n +0000735114 00000 n +0000738263 00000 n +0000737764 00000 n +0000735305 00000 n +0000737887 00000 n +0000738013 00000 n +0000738076 00000 n +0000738139 00000 n +0000738200 00000 n +0000741085 00000 n +0000741235 00000 n +0000742079 00000 n +0000740932 00000 n +0000738391 00000 n +0000741387 00000 n +0000741513 00000 n +0000741638 00000 n +0000741701 00000 n +0000741764 00000 n +0000741825 00000 n +0000741889 00000 n +0000741953 00000 n +0000742017 00000 n +0000747316 00000 n +0000745306 00000 n +0000742222 00000 n +0000745429 00000 n +0000745493 00000 n +0000745556 00000 n +0000745618 00000 n +0000745680 00000 n +0000745743 00000 n +0000745806 00000 n +0000745869 00000 n +0000745932 00000 n +0000745995 00000 n +0000746058 00000 n +0000746121 00000 n +0000746184 00000 n +0000746247 00000 n +0000746310 00000 n +0000746373 00000 n +0000746436 00000 n +0000746499 00000 n +0000746562 00000 n +0000746625 00000 n +0000746688 00000 n +0000746751 00000 n +0000746814 00000 n +0000746877 00000 n +0000746939 00000 n +0000747002 00000 n +0000747065 00000 n +0000747128 00000 n +0000747253 00000 n +0000927648 00000 n +0000750895 00000 n +0000750585 00000 n +0000747472 00000 n +0000750708 00000 n +0000750834 00000 n +0000754005 00000 n +0000753818 00000 n +0000751036 00000 n +0000753941 00000 n +0000758240 00000 n +0000757174 00000 n +0000754120 00000 n +0000757297 00000 n +0000757423 00000 n +0000757486 00000 n +0000757549 00000 n +0000757612 00000 n +0000757675 00000 n +0000757738 00000 n +0000757801 00000 n +0000757864 00000 n +0000757927 00000 n +0000758052 00000 n +0000758177 00000 n +0000761461 00000 n +0000760901 00000 n +0000758368 00000 n +0000761024 00000 n +0000761150 00000 n +0000761213 00000 n +0000761275 00000 n +0000761338 00000 n +0000761400 00000 n +0000765916 00000 n +0000764346 00000 n +0000761589 00000 n +0000764469 00000 n +0000764533 00000 n +0000764596 00000 n +0000764659 00000 n +0000764722 00000 n +0000764785 00000 n +0000764848 00000 n +0000764910 00000 n +0000764973 00000 n +0000765036 00000 n +0000765099 00000 n +0000765162 00000 n +0000765225 00000 n +0000765288 00000 n +0000765351 00000 n +0000765414 00000 n +0000765477 00000 n +0000765540 00000 n +0000765602 00000 n +0000765664 00000 n +0000765727 00000 n +0000765790 00000 n +0000765853 00000 n +0000768183 00000 n +0000767748 00000 n +0000766031 00000 n +0000767871 00000 n +0000767996 00000 n +0000768120 00000 n +0000927773 00000 n +0000770992 00000 n +0000770431 00000 n +0000768311 00000 n +0000770554 00000 n +0000770680 00000 n +0000770804 00000 n +0000770929 00000 n +0000774353 00000 n +0000773916 00000 n +0000771135 00000 n +0000774039 00000 n +0000774165 00000 n +0000774496 00000 n +0000921332 00000 n +0000774520 00000 n +0000774840 00000 n +0000774924 00000 n +0000775400 00000 n +0000775732 00000 n +0000776100 00000 n +0000776202 00000 n +0000776402 00000 n +0000777246 00000 n +0000777821 00000 n +0000778297 00000 n +0000778646 00000 n +0000779553 00000 n +0000786815 00000 n +0000787065 00000 n +0000794207 00000 n +0000794454 00000 n +0000796416 00000 n +0000796639 00000 n +0000805290 00000 n +0000805562 00000 n +0000813679 00000 n +0000813959 00000 n +0000834681 00000 n +0000835348 00000 n +0000845918 00000 n +0000846251 00000 n +0000857871 00000 n +0000858270 00000 n +0000865305 00000 n +0000865665 00000 n +0000868755 00000 n +0000869001 00000 n +0000885433 00000 n +0000885881 00000 n +0000907215 00000 n +0000907909 00000 n +0000920970 00000 n +0000927871 00000 n +0000927996 00000 n +0000928122 00000 n +0000928248 00000 n +0000928374 00000 n +0000928500 00000 n +0000928601 00000 n +0000947384 00000 n +0000947563 00000 n +0000947737 00000 n +0000947906 00000 n +0000948135 00000 n +0000948356 00000 n +0000948582 00000 n +0000948817 00000 n +0000949046 00000 n +0000949282 00000 n +0000949515 00000 n +0000949751 00000 n +0000949977 00000 n +0000950207 00000 n +0000950457 00000 n +0000950706 00000 n +0000950883 00000 n +0000951048 00000 n +0000951209 00000 n +0000951395 00000 n +0000951571 00000 n +0000951760 00000 n +0000951952 00000 n +0000952161 00000 n +0000952370 00000 n +0000952660 00000 n +0000952956 00000 n +0000953255 00000 n +0000953479 00000 n +0000953673 00000 n +0000953920 00000 n +0000954167 00000 n +0000954416 00000 n +0000954664 00000 n +0000954913 00000 n +0000955161 00000 n +0000955410 00000 n +0000955658 00000 n +0000955907 00000 n +0000956155 00000 n +0000956404 00000 n +0000956651 00000 n +0000956898 00000 n +0000957147 00000 n +0000957395 00000 n +0000957644 00000 n +0000957892 00000 n +0000958141 00000 n +0000958387 00000 n +0000958636 00000 n +0000958884 00000 n +0000959133 00000 n +0000959381 00000 n +0000959630 00000 n +0000959877 00000 n +0000960124 00000 n +0000960373 00000 n +0000960621 00000 n +0000960870 00000 n +0000961118 00000 n +0000961367 00000 n +0000961615 00000 n +0000961864 00000 n +0000962112 00000 n +0000962361 00000 n +0000962608 00000 n +0000962853 00000 n +0000963100 00000 n +0000963347 00000 n +0000963593 00000 n +0000963834 00000 n +0000964073 00000 n +0000964312 00000 n +0000964553 00000 n +0000964793 00000 n +0000965034 00000 n +0000965274 00000 n +0000965515 00000 n +0000965755 00000 n +0000965996 00000 n +0000966236 00000 n +0000966477 00000 n +0000966716 00000 n +0000966953 00000 n +0000967192 00000 n +0000967431 00000 n +0000967672 00000 n +0000967912 00000 n +0000968153 00000 n +0000968393 00000 n +0000968634 00000 n +0000968874 00000 n +0000969115 00000 n +0000969355 00000 n +0000969596 00000 n +0000969835 00000 n +0000970074 00000 n +0000970315 00000 n +0000970555 00000 n +0000970796 00000 n +0000971036 00000 n +0000971277 00000 n +0000971515 00000 n +0000971756 00000 n +0000971996 00000 n +0000972237 00000 n +0000972477 00000 n +0000972718 00000 n +0000972957 00000 n +0000973196 00000 n +0000973437 00000 n +0000973677 00000 n +0000973918 00000 n +0000974158 00000 n +0000974399 00000 n +0000974639 00000 n +0000974880 00000 n +0000975120 00000 n +0000975361 00000 n +0000975600 00000 n +0000975837 00000 n +0000976076 00000 n +0000976315 00000 n +0000976556 00000 n +0000976796 00000 n +0000977037 00000 n +0000977277 00000 n +0000977518 00000 n +0000977758 00000 n +0000977999 00000 n +0000978239 00000 n +0000978480 00000 n +0000978719 00000 n +0000978958 00000 n +0000979199 00000 n +0000979439 00000 n +0000979680 00000 n +0000979920 00000 n +0000980161 00000 n +0000980399 00000 n +0000980640 00000 n +0000980880 00000 n +0000981121 00000 n +0000981361 00000 n +0000981602 00000 n +0000981841 00000 n +0000982080 00000 n +0000982321 00000 n +0000982561 00000 n +0000982802 00000 n +0000983042 00000 n +0000983283 00000 n +0000983523 00000 n +0000983764 00000 n +0000984004 00000 n +0000984245 00000 n +0000984484 00000 n +0000984721 00000 n +0000984960 00000 n +0000985199 00000 n +0000985440 00000 n +0000985680 00000 n +0000985921 00000 n +0000986161 00000 n +0000986402 00000 n +0000986642 00000 n +0000986883 00000 n +0000987123 00000 n +0000987364 00000 n +0000987603 00000 n +0000987842 00000 n +0000988083 00000 n +0000988323 00000 n +0000988564 00000 n +0000988804 00000 n +0000989045 00000 n +0000989283 00000 n +0000989524 00000 n +0000989764 00000 n +0000990005 00000 n +0000990245 00000 n +0000990486 00000 n +0000990725 00000 n +0000990964 00000 n +0000991205 00000 n +0000991445 00000 n +0000991686 00000 n +0000991926 00000 n +0000992167 00000 n +0000992407 00000 n +0000992648 00000 n +0000992888 00000 n +0000993129 00000 n +0000993368 00000 n +0000993605 00000 n +0000993844 00000 n +0000994083 00000 n +0000994324 00000 n +0000994564 00000 n +0000994805 00000 n +0000995045 00000 n +0000995286 00000 n +0000995526 00000 n +0000995767 00000 n +0000996007 00000 n +0000996248 00000 n +0000996487 00000 n +0000996726 00000 n +0000996967 00000 n +0000997207 00000 n +0000997448 00000 n +0000997688 00000 n +0000997929 00000 n +0000998167 00000 n +0000998408 00000 n +0000998648 00000 n +0000998889 00000 n +0000999129 00000 n +0000999370 00000 n +0000999609 00000 n +0000999848 00000 n +0001000089 00000 n +0001000329 00000 n +0001000570 00000 n +0001000810 00000 n +0001001051 00000 n +0001001291 00000 n +0001001532 00000 n +0001001772 00000 n +0001002013 00000 n +0001002252 00000 n +0001002491 00000 n +0001002743 00000 n +0001003000 00000 n +0001003257 00000 n +0001003512 00000 n +0001003769 00000 n +0001004024 00000 n +0001004285 00000 n +0001004550 00000 n +0001004810 00000 n +0001005067 00000 n +0001005324 00000 n +0001005589 00000 n +0001005853 00000 n +0001006114 00000 n +0001006373 00000 n +0001006638 00000 n +0001006900 00000 n +0001007157 00000 n +0001007412 00000 n +0001007669 00000 n +0001007924 00000 n +0001008181 00000 n +0001008438 00000 n +0001008694 00000 n +0001008951 00000 n +0001009208 00000 n +0001009465 00000 n +0001009721 00000 n +0001009978 00000 n +0001010233 00000 n +0001010490 00000 n +0001010747 00000 n +0001011004 00000 n +0001011261 00000 n +0001011517 00000 n +0001011774 00000 n +0001012031 00000 n +0001012288 00000 n +0001012542 00000 n +0001012799 00000 n +0001013053 00000 n +0001013310 00000 n +0001013567 00000 n +0001013824 00000 n +0001014080 00000 n +0001014337 00000 n +0001014594 00000 n +0001014850 00000 n +0001015107 00000 n +0001015364 00000 n +0001015618 00000 n +0001015875 00000 n +0001016132 00000 n +0001016389 00000 n +0001016646 00000 n +0001016903 00000 n +0001017158 00000 n +0001017415 00000 n +0001017672 00000 n +0001017927 00000 n +0001018184 00000 n +0001018441 00000 n +0001018701 00000 n +0001018966 00000 n +0001019230 00000 n +0001019491 00000 n +0001019748 00000 n +0001020008 00000 n +0001020270 00000 n +0001020527 00000 n +0001020786 00000 n +0001021051 00000 n +0001021313 00000 n +0001021570 00000 n +0001021827 00000 n +0001022088 00000 n +0001022353 00000 n +0001022617 00000 n +0001022882 00000 n +0001023145 00000 n +0001023402 00000 n +0001023659 00000 n +0001023914 00000 n +0001024171 00000 n +0001024428 00000 n +0001024685 00000 n +0001024940 00000 n +0001025197 00000 n +0001025452 00000 n +0001025709 00000 n +0001025966 00000 n +0001026218 00000 n +0001026475 00000 n +0001026732 00000 n +0001026995 00000 n +0001027258 00000 n +0001027518 00000 n +0001027775 00000 n +0001028032 00000 n +0001028291 00000 n +0001028548 00000 n +0001028805 00000 n +0001029061 00000 n +0001029318 00000 n +0001029575 00000 n +0001029832 00000 n +0001030083 00000 n +0001030332 00000 n +0001030579 00000 n +0001030828 00000 n +0001031077 00000 n +0001031326 00000 n +0001031575 00000 n +0001031819 00000 n +0001032064 00000 n +0001032313 00000 n +0001032562 00000 n +0001032811 00000 n +0001033058 00000 n +0001033307 00000 n +0001033554 00000 n +0001033803 00000 n +0001034050 00000 n +0001034299 00000 n +0001034547 00000 n +0001034796 00000 n +0001035045 00000 n +0001035293 00000 n +0001035542 00000 n +0001035791 00000 n +0001036035 00000 n +0001036284 00000 n +0001036531 00000 n +0001036778 00000 n +0001037023 00000 n +0001037272 00000 n +0001037520 00000 n +0001037769 00000 n +0001038017 00000 n +0001038266 00000 n +0001038512 00000 n +0001038761 00000 n +0001039010 00000 n +0001039257 00000 n +0001039504 00000 n +0001039753 00000 n +0001040002 00000 n +0001040250 00000 n +0001040499 00000 n +0001040748 00000 n +0001040996 00000 n +0001041245 00000 n +0001041489 00000 n +0001041738 00000 n +0001041986 00000 n +0001042235 00000 n +0001042483 00000 n +0001042732 00000 n +0001042980 00000 n +0001043229 00000 n +0001043478 00000 n +0001043725 00000 n +0001043974 00000 n +0001044222 00000 n +0001044471 00000 n +0001044720 00000 n +0001044969 00000 n +0001045216 00000 n +0001045465 00000 n +0001045711 00000 n +0001045960 00000 n +0001046209 00000 n +0001046454 00000 n +0001046703 00000 n +0001046952 00000 n +0001047201 00000 n +0001047450 00000 n +0001047696 00000 n +0001047943 00000 n +0001048192 00000 n +0001048437 00000 n +0001048686 00000 n +0001048934 00000 n +0001049183 00000 n +0001049432 00000 n +0001049681 00000 n +0001049928 00000 n +0001050177 00000 n +0001050421 00000 n +0001050670 00000 n +0001050918 00000 n +0001051167 00000 n +0001051415 00000 n +0001051664 00000 n +0001051912 00000 n +0001052161 00000 n +0001052409 00000 n +0001052658 00000 n +0001052905 00000 n +0001053150 00000 n +0001053399 00000 n +0001053647 00000 n +0001053896 00000 n +0001054145 00000 n +0001054390 00000 n +0001054639 00000 n +0001054888 00000 n +0001055134 00000 n +0001055383 00000 n +0001055629 00000 n +0001055878 00000 n +0001056126 00000 n +0001056375 00000 n +0001056622 00000 n +0001056869 00000 n +0001057118 00000 n +0001057365 00000 n +0001057614 00000 n +0001057863 00000 n +0001058111 00000 n +0001058360 00000 n +0001058608 00000 n +0001058857 00000 n +0001059106 00000 n +0001059353 00000 n +0001059602 00000 n +0001059851 00000 n +0001060098 00000 n +0001060347 00000 n +0001060596 00000 n +0001060841 00000 n +0001061092 00000 n +0001061349 00000 n +0001061601 00000 n +0001061850 00000 n +0001062099 00000 n +0001062348 00000 n +0001062595 00000 n +0001062842 00000 n +0001063089 00000 n +0001063338 00000 n +0001063586 00000 n +0001063835 00000 n +0001064082 00000 n +0001064331 00000 n +0001064580 00000 n +0001064829 00000 n +0001065077 00000 n +0001065326 00000 n +0001065575 00000 n +0001065822 00000 n +0001066071 00000 n +0001066320 00000 n +0001066569 00000 n +0001066817 00000 n +0001067066 00000 n +0001067313 00000 n +0001067562 00000 n +0001067811 00000 n +0001068057 00000 n +0001068303 00000 n +0001068552 00000 n +0001068801 00000 n +0001069045 00000 n +0001069292 00000 n +0001069541 00000 n +0001069790 00000 n +0001070037 00000 n +0001070286 00000 n +0001070535 00000 n +0001070783 00000 n +0001071032 00000 n +0001071281 00000 n +0001071526 00000 n +0001071775 00000 n +0001072024 00000 n +0001072273 00000 n +0001072522 00000 n +0001072770 00000 n +0001073019 00000 n +0001073266 00000 n +0001073512 00000 n +0001073761 00000 n +0001074009 00000 n +0001074258 00000 n +0001074506 00000 n +0001074755 00000 n +0001075004 00000 n +0001075251 00000 n +0001075500 00000 n +0001075749 00000 n +0001075996 00000 n +0001076245 00000 n +0001076494 00000 n +0001076738 00000 n +0001076987 00000 n +0001077236 00000 n +0001077485 00000 n +0001077734 00000 n +0001077983 00000 n +0001078231 00000 n +0001078480 00000 n +0001078729 00000 n +0001078978 00000 n +0001079227 00000 n +0001079474 00000 n +0001079723 00000 n +0001079971 00000 n +0001080220 00000 n +0001080469 00000 n +0001080726 00000 n +0001080982 00000 n +0001081239 00000 n +0001081493 00000 n +0001081742 00000 n +0001081990 00000 n +0001082239 00000 n +0001082488 00000 n +0001082737 00000 n +0001082985 00000 n +0001083234 00000 n +0001083480 00000 n +0001083724 00000 n +0001083973 00000 n +0001084222 00000 n +0001084469 00000 n +0001084718 00000 n +0001084967 00000 n +0001085224 00000 n +0001085480 00000 n +0001085737 00000 n +0001085993 00000 n +0001086250 00000 n +0001086502 00000 n +0001086750 00000 n +0001086999 00000 n +0001087248 00000 n +0001087497 00000 n +0001087744 00000 n +0001087996 00000 n +0001088245 00000 n +0001088494 00000 n +0001088739 00000 n +0001088981 00000 n +0001089230 00000 n +0001089479 00000 n +0001089728 00000 n +0001089975 00000 n +0001090224 00000 n +0001090475 00000 n +0001090732 00000 n +0001090983 00000 n +0001091229 00000 n +0001091475 00000 n +0001091724 00000 n +0001091973 00000 n +0001092222 00000 n +0001092474 00000 n +0001092731 00000 n +0001092981 00000 n +0001093230 00000 n +0001093479 00000 n +0001093728 00000 n +0001093977 00000 n +0001094226 00000 n +0001094474 00000 n +0001094723 00000 n +0001094972 00000 n +0001095221 00000 n +0001095470 00000 n +0001095718 00000 n +0001095967 00000 n +0001096216 00000 n +0001096464 00000 n +0001096718 00000 n +0001096975 00000 n +0001097228 00000 n +0001097477 00000 n +0001097732 00000 n +0001097987 00000 n +0001098244 00000 n +0001098495 00000 n +0001098744 00000 n +0001098993 00000 n +0001099242 00000 n +0001099490 00000 n +0001099739 00000 n +0001099988 00000 n +0001100245 00000 n +0001100501 00000 n +0001100758 00000 n +0001101007 00000 n +0001101256 00000 n +0001101504 00000 n +0001101753 00000 n +0001102002 00000 n +0001102251 00000 n +0001102500 00000 n +0001102747 00000 n +0001103000 00000 n +0001103257 00000 n +0001103513 00000 n +0001103770 00000 n +0001104025 00000 n +0001104280 00000 n +0001104529 00000 n +0001104778 00000 n +0001104984 00000 n +0001105169 00000 n +0001105353 00000 n +0001105538 00000 n +0001105722 00000 n +0001105907 00000 n +0001106090 00000 n +0001106273 00000 n +0001106458 00000 n +0001106642 00000 n +0001106827 00000 n +0001107011 00000 n +0001107196 00000 n +0001107374 00000 n +0001107551 00000 n +0001107727 00000 n +0001107904 00000 n +0001108080 00000 n +0001108257 00000 n +0001108433 00000 n +0001108610 00000 n +0001108786 00000 n +0001108963 00000 n +0001109138 00000 n +0001109313 00000 n +0001109490 00000 n +0001109666 00000 n +0001109843 00000 n +0001110018 00000 n +0001110204 00000 n +0001110445 00000 n +0001110695 00000 n +0001110917 00000 n +0001111157 00000 n +0001111400 00000 n +0001111667 00000 n +0001111916 00000 n +0001112162 00000 n +0001112407 00000 n +0001112602 00000 n +0001112795 00000 n +0001112990 00000 n +0001113184 00000 n +0001113379 00000 n +0001113568 00000 n +0001113784 00000 n +0001114013 00000 n +0001114235 00000 n +0001114463 00000 n +0001114698 00000 n +0001114941 00000 n +0001115181 00000 n +0001115416 00000 n +0001115651 00000 n +0001115889 00000 n +0001116129 00000 n +0001116364 00000 n +0001116599 00000 n +0001116834 00000 n +0001117069 00000 n +0001117304 00000 n +0001117539 00000 n +0001117771 00000 n +0001118006 00000 n +0001118233 00000 n +0001118464 00000 n +0001118694 00000 n +0001118921 00000 n +0001119148 00000 n +0001119375 00000 n +0001119605 00000 n +0001119832 00000 n +0001120094 00000 n +0001120343 00000 n +0001120461 00000 n +0001120591 00000 n +0001120713 00000 n +0001120835 00000 n +0001120974 00000 n +0001121108 00000 n +0001121241 00000 n +0001121375 00000 n +0001121509 00000 n +0001121643 00000 n +0001121775 00000 n +0001121906 00000 n +0001122038 00000 n +0001122170 00000 n +0001122302 00000 n +0001122433 00000 n +0001122565 00000 n +0001122697 00000 n +0001122829 00000 n +0001122959 00000 n +0001123090 00000 n +0001123222 00000 n +0001123354 00000 n +0001123486 00000 n +0001123617 00000 n +0001123749 00000 n +0001123881 00000 n +0001124013 00000 n +0001124144 00000 n +0001124276 00000 n +0001124408 00000 n +0001124540 00000 n +0001124671 00000 n +0001124803 00000 n +0001124935 00000 n +0001125067 00000 n +0001125199 00000 n +0001125331 00000 n +0001125465 00000 n +0001125600 00000 n +0001125737 00000 n +0001125873 00000 n +0001126009 00000 n +0001126145 00000 n +0001126281 00000 n +0001126417 00000 n +0001126552 00000 n +0001126688 00000 n +0001126825 00000 n +0001126962 00000 n +0001127098 00000 n +0001127234 00000 n +0001127370 00000 n +0001127506 00000 n +0001127642 00000 n +0001127778 00000 n +0001127913 00000 n +0001128047 00000 n +0001128180 00000 n +0001128314 00000 n +0001128448 00000 n +0001128582 00000 n +0001128716 00000 n +0001128850 00000 n +0001128984 00000 n +0001129118 00000 n +0001129252 00000 n +0001129386 00000 n +0001129520 00000 n +0001129654 00000 n +0001129788 00000 n +0001129922 00000 n +0001130056 00000 n +0001130189 00000 n +0001130323 00000 n +0001130457 00000 n +0001130591 00000 n +0001130725 00000 n +0001130859 00000 n +0001130993 00000 n +0001131127 00000 n +0001131261 00000 n +0001131395 00000 n +0001131528 00000 n +0001131662 00000 n +0001131796 00000 n +0001131930 00000 n +0001132064 00000 n +0001132198 00000 n +0001132332 00000 n +0001132466 00000 n +0001132600 00000 n +0001132734 00000 n +0001132869 00000 n +0001133004 00000 n +0001133138 00000 n +0001133273 00000 n +0001133408 00000 n +0001133541 00000 n +0001133675 00000 n +0001133810 00000 n +0001133946 00000 n +0001134081 00000 n +0001134215 00000 n +0001134349 00000 n +0001134483 00000 n +0001134609 00000 n +0001134727 00000 n +0001134844 00000 n +0001134960 00000 n +0001135076 00000 n +0001135202 00000 n +0001135330 00000 n +0001135457 00000 n +0001135589 00000 n +0001135721 00000 n +0001135853 00000 n +0001135984 00000 n +0001136107 00000 n +0001136234 00000 n +0001136366 00000 n +0001136498 00000 n +0001136630 00000 n +0001136761 00000 n +0001136893 00000 n +0001137026 00000 n +0001137162 00000 n +0001137298 00000 n +0001137433 00000 n +0001137567 00000 n +0001137701 00000 n +0001137835 00000 n +0001137969 00000 n +0001138103 00000 n +0001138237 00000 n +0001138372 00000 n +0001138499 00000 n +0001138624 00000 n +0001138757 00000 n +0001138883 00000 n +0001139016 00000 n +0001139142 00000 n +0001139241 00000 n +0001139359 00000 n +0001139399 00000 n +0001139571 00000 n +trailer +<< /Size 6574 +/Root 6572 0 R +/Info 6573 0 R +/ID [<00AB7861DB4067A5AD036B4A4CC32B86> <00AB7861DB4067A5AD036B4A4CC32B86>] >> +startxref +1139917 +%%EOF diff --git a/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.xml b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.xml new file mode 100644 index 0000000000..1f8ed7775b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/RELEASE-NOTES.xml @@ -0,0 +1,12059 @@ +

    + + + Release Notes for the DocBook XSL Stylesheets + + $Revision: 9401 $ $Date: 2012-06-04 21:47:26 +0000 (Mon, 04 Jun 2012) $ + + +This release-notes + document is available in the following formats: + HTML, + PDF, + plain text; it provides a per-release list +of enhancements and changes to the stylesheets’ public APIs +(user-configurable parameters) and excludes descriptions of most +bug fixes. For a complete list of all changes (including all bug +fixes) that have been made since the previous release, see the +separate NEWS (plain text) or NEWS.html files. Also available: +An online hyperlinked change history (warning: big file) of all +changes made over the entire history of the codebase. +As with all DocBook Project dot-zero releases, this is an + experimental release. It will be followed shortly by a stable + release. +As with all DocBook Project “dot + one plus†releases, this release aspires to be stable (in + contrast to dot-zero releases, which + are experimental). +This is a pre-release “snapshot†of the +DocBook XSL Stylesheets. The change information in the first +section of this file +(for “â€) is +auto-generated from change descriptions stored in the project +source-code repository. +That means the first section contains +descriptions both of bug fixes and of feature changes. The +remaining sections are manually edited changelog subsets that +exclude bug-fix descriptions – that is, trimmed down to just those +those descriptions that document enhancements and changes to the +public APIs (user-configurable parameters). + + + + + + + + +Release Notes: 1.78.1 +The following is a list of changes that have been made + since the 1.78.0 release. + + +Common +The following changes have been made to the + common code + since the 1.78.0 release. + + +Robert Stayton: titles.xslMake sure part and set titleabbrev are used in mode="titleabbrev.markup" + + +Robert Stayton: titles.xslAdd empty default template for titleabbrev since it is always processed in a mode. + + +Robert Stayton: gentext.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: titles.xslfor missing title in xref, provide parent information of target to help locate problem element. +Process bridgehead in mode="title.markup", not normal mode. + + +Jirka Kosek: l10n.xslFixed bug #3598963 + + +Robert Stayton: gentext.xsl; labels.xslMake sure bridgeheads are not numbered in all contexts, including html title attributes. + + + + + +FO +The following changes have been made to the + fo code + since the 1.78.0 release. + + +Robert Stayton: division.xslFix bug where part TOC not generated when partintro is present. + + +Jirka Kosek: xref.xslFootnotes can't be placed into fo:float + + +Robert Stayton: titlepage.templates.xmlRemove margin-left when start-indent is used because they interfere +with each other. + + +Robert Stayton: fo.xsl; pagesetup.xslUse dingbat.fontset rather than dingbat.font.family so it falls +back to symbol font if glyph not found, like other font properties. + + +Robert Stayton: inline.xslChange last instance of inline.charseq in inline glossterm to +inline.italicseq so it is consistent with the others. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + + + + +HTML +The following changes have been made to the + html code + since the 1.78.0 release. + + +Robert Stayton: admon.xslTurn off $admon.style if $make.clean.html is set to non-zero. + + +Jirka Kosek: highlight.xslAdded new definitions for syntax highlighting + + +Robert Stayton: chunk-common.xslMake active.olink.hrefs param work for chunked output too. + + +Robert Stayton: xref.xslMake consistent handling of titleabbrev in xrefs. + + +Robert Stayton: graphics.xslAdd round() function when pixel counts are used for image width and height. + + +Robert Stayton: glossary.xslfix missing class and id attributes on glossterm and glossdef. + + +Robert Stayton: autoidx.xslFix bug where prefer.index.titleabbrev ignored info/titleabbrev. + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.78.0 release. + + +Robert Stayton: utility.xslFix bug 3599520: spurious newline in para when starts with +whitespace and inline element. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.78.0 release. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix test for webhelp.include.search.tab param + + +David Cramer: Makefile.sampleWebhelp: Fix order of args to xsltproc + + +David Cramer: docsrc/readme.xmlWebhelp: Turn on xinclude-test.xml in readme to demo xinclude functionality + + +David Cramer: Makefile; Makefile.sampleWebhelp: In Makefiles, do xinclude in first pass at document + + + + + +Params +The following changes have been made to the + params code + since the 1.78.0 release. + + +David Cramer: webhelp.include.search.tab.xmlWebhelp: Fix test for webhelp.include.search.tab param + + +Robert Stayton: article.appendix.title.properties.xmlRemove unneeded margin-left property from article appendix title. +It interferes with the start-indent property. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.78.0 release. + + +Jirka Kosek: c-hl.xml; cpp-hl.xml; sql2003-hl.xml; php-hl.xml; upc-hl.xml; bourne-hl.xml; ⋯Added new definitions for syntax highlighting + + + + + + +Release Notes: 1.78.0 +The following is a list of changes that have been made + since the 1.77.1 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.77.1 release. + + +Mauritz Jeanson: locale/nn.xml; locale/nb.xmlBug #3556630: Updated nb and nn locale files. + + +Mauritz Jeanson: locale/READMEBug #3556628: Updated information in README. + + +tom_schr: locale/de.xmlAdded keycap context from RFE#3540451 to support @function attribute + + +tom_schr: locale/en.xmlAdded keycap context from RFE#3540451 to support @function attribute + + +Robert Stayton: locale/en.xmlAdd support for title element in screenshot, now allowed in DocBook 5. + + + + + +Common +The following changes have been made to the + common code + since the 1.77.1 release. + + +Robert Stayton: titles.xslCorrected template for bridgehead in mode="title.markup" to +process its children in normal mode. + + +Robert Stayton: labels.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: olink.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: olink.xslAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + + + + +FO +The following changes have been made to the + fo code + since the 1.77.1 release. + + +Robert Stayton: pagesetup.xslChange initial page number for book from 1 to auto so front +cover and title pages are sequential, and so that book inside +set will continue numbering. + + +Robert Stayton: inline.xslAdd missing closing tag for xsl:choose in new template. + + +Robert Stayton: param.xweb; param.ent; pagesetup.xslAdd force.blank.pages parameter to allow turning off blank +pages in double.sided output. + + +Robert Stayton: lists.xsl; callout.xslImplement active links between co and callout elements for +PDF output, linking in both directions. + + +Robert Stayton: table.xslFix typo to replace "ro" with "row" in three places. + + +Robert Stayton: ebnf.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: inline.xslMake comma inserted after function/parameter or function/replaceable +conditional on $function.parens to be consistent with the function template. + + +tom_schr: inline.xslAdded new inline.sansseq template for consistency reasons. +Makes it easier for customization layers: Just use + <xsl:call-template name="inline.sansseq"/> +to change to sans serif font, but also takes into account +XLinks and direction of text. + + +Robert Stayton: xref.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: table.xslRemove passivetex.extensions code. + + +Robert Stayton: spaces.xsl; autotoc.xsl; docbook.xsl; division.xsl; table.xsl; sections.xs⋯Remove all passivetex code because it is obsolete. + + +Robert Stayton: param.xweb; param.entAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + +Mauritz Jeanson: table.xslAdded support for keep-together PI on informaltable. Closes bug #3555609. + + +tom_schr: verbatim.xslFixed subtle typo when calling lastLineNumber template: must be $listing instead of listing + + +tom_schr: autoidx.xslFixed typo: fole -> role attribute for phrase + + +tom_schr: inline.xslAdded support for @function attribute in keycap (uses keycap context +from language files) => fixes RFE#3540451 +If @function is set and keycap is empty, then template will use the +content from the keycap context, otherwise it will use just the given +text + + +Robert Stayton: graphics.xsl; xref.xslAdd support for title element in screenshot, now allowed in DocBook 5. + + +Robert Stayton: graphics.xslRestore formatting of figure/caption that was broken in 1.77.1. + + + + + +HTML +The following changes have been made to the + html code + since the 1.77.1 release. + + +David Cramer: autotoc.xslFixing bug where toc.title.p and nodes params had not been declared inside manual-toc template + + +Robert Stayton: autotoc.xslAdd 'toc.list.attributes' template to insert class and other +attributes on the top level list element in a table of contents. + + +Robert Stayton: block.xslFix bug 3590039 abstract/title not rendered. + + +Jirka Kosek: chunk-common.xsl; footnote.xslFixed positioning of footnote separate when CSS decoration is used. + + +Robert Stayton: ebnf.xslConvert hard wired xsl:number for production into a template +with mode="label.markup" to be consistent with other element numbering. + + +Robert Stayton: inline.xslMake comma inserted after function/parameter or function/replaceable +conditional on $function.parens to be consistent with the function template. + + +Robert Stayton: graphics.xslAdd support for mediaobject/alt, with precedence over +mediaobject/textobject/phrase. + + +Robert Stayton: param.xwebRemove src:fragref elements for deleted obsolete olink params. + + +Robert Stayton: chunker.xslFix bug #3563697 where template make-relative-filename was using a +global param chunk.base.dir instead of its local param base.dir. Now it uses base.dir. + + +Robert Stayton: param.xweb; param.ent; xref.xslRemove all references and code for obsolete olink attributes +@linkmode @targetdocent and @localinfo. + + +Robert Stayton: param.xweb; param.entAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + +stefan: graphics.xslAdd hook for customization. + + +tom_schr: docbook.xslSplitting head.content into smaller chunks of templates. +See https://lists.oasis-open.org/archives/docbook-apps/201209/msg00037.html + + +tom_schr: verbatim.xslFixed subtle typo when calling lastLineNumber template: must be $listing instead of listing + + +Robert Stayton: footnote.xslFix bug in footnote link introduced in 1.77.1. + + +Robert Stayton: formal.xsl; htmltbl.xslResolve conflict of duplicate ids on html table with caption. +Wrap a div with class and id attribute around html table without caption. + + +Robert Stayton: component.xslRemove call to 'generate.id' template in <h1> in component.title because the +id is already generated for the parent div element. + + +Robert Stayton: chunker.xslSet omit-xml-declaration to 'yes' for write.text.chunk template, since a text +file should never have an xml declaration. + + +tom_schr: inline.xslAdded support for @function attribute in keycap (uses keycap context +from language files) => fixes RFE#3540451 +If @function is set and keycap is empty, then template will use the +content from the keycap context, otherwise it will use just the given +text + + +David Cramer: docbook.xslAlso set the title param in head.content since it's sometimes +called without that param being passed in. Use the passed-in +value in user.head.title. + + +Robert Stayton: docbook.xslRestore missing title param on 'head.content' template, and passed +it along to user.head.title. That param +is used for certain special chunkings such as Long Descriptions. + + +Robert Stayton: graphics.xsl; xref.xslAdd support for title in screenshot, available since DocBook 5. + + +David Cramer: docbook.xslHTML: Add hook for easily customizing html/head/title + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.77.1 release. + + +Robert Stayton: lists.xslAdd a line break at start of variablelist to fix bug #3595156. + + +Robert Stayton: lists.xslBetter fix for bug #3545150 by putting the title with the step number +rather than before it. + + +Robert Stayton: utility.xslAdd 'content' param to template name inline.monoseq to support +email format, fixing bug #3524417. + + +Robert Stayton: utility.xslFix bug #3512473 where an inline synopsis element produced +an extra line break in nroff output. + + +Robert Stayton: lists.xslFix bug 3545150 where procedure/step/title not rendered in man pages. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.77.1 release. + + +Robert Stayton: dbk2wordml.xslFix bug #3297553 error in Word metadata elements from including +WordML markup instead of just text. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.77.1 release. + + +gaborkovesdan: xhtml/plain.xsl- Use real push-style processing in the foil/foilgroup page content, which + allows better customization in general (e.g. you can add PI templates) + and also let us render scattered speakernotes/handoutnotes if that is + desired + + +gaborkovesdan: xhtml/Makefile- Titlepage markup belongs to the XHTML namespace + + +gaborkovesdan: xhtml/plain.xsl- Remove now unnecessary template redefinition + + +gaborkovesdan: xhtml/plain.xsl- Generate valid links from cross-references + + +gaborkovesdan: xhtml/plain.xsl- Do not add fallbacks for EXSLT extensions, the main DocBook XSL stylesheets + do not do that either + + +Robert Stayton: schema/relaxng/slides.rncUpdate the import path for docbook.rnc after the slides directory was moved. + + +stefan: xhtml/plain.xslAdd missing stylesheet. + + +stefan: schema/xsd/Makefile; schema/Makefile; schema/relaxng/MakefileAdjust Makefiles. + + +stefan: locatingrules.xml; RELEASE-NOTES.xml; doc; images; locatingrules.xml; Makefile; im⋯Moved many files from slides/ to xsl/slides/ + + +stefan: fo/param.xweb; xhtml/Makefile; xhtml/param.xweb; fo/MakefileSeparate slides package. + + +stefan: MakefileA bit of cleanup... + + +stefan: xhtml/Makefile; fo/MakefileAdd to 'clean' target. + + +David Cramer: MakefileSlides: Change html to xhtml passim. + + +David Cramer: xhtmlAdding items to svn ignore for slides + + +stefan: slidyImport slidy from vendor branch. + + +stefan: s5Import s5 from vendor branch. + + +stefan: Makefile; common/common.xsl; common; fo/param.ent; graphics; xhtml/Makefile.param;⋯Merge Slides GSoC project to trunk. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.77.1 release. + + +David Cramer: docsrc/readme.xmlWebhelp: More doc updates + + +David Cramer: docsrc/readme.xmlWebhelp: Documentation updates. + + +David Cramer: template/content; Makefile; Makefile.sample; build.xml; template/searchWebhelp: Improving sample Makefile to allow for profiling params and other params, removing content dir from template and making related adjustments in Makefile and build.xml + + +David Cramer: Makefile.sampleAttempting to include sample Makefile in webhelp output dir + + +David Cramer: template/common/css/positioning.cssWebhelp: Do not display sidebar if js is disabled in browser since it will not be functional + + +Jirka Kosek: build.xmlXerces must be on the classpath in order to XInclude work + + +David Cramer: MakefileAdding generated files to various clean targets. + + +David Cramer: build.propertiesWebhelp: By default don't validate against dtd when using ant build + + +David Cramer: MakefileWebhelp: By default only exclude ix01.html from search in Makefile + + +David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯Webhelp: Reverting last commit + + +David Cramer: template/common/jquery/jquery-ui-1.8.2.custom.min.js; template/common/jquery⋯Webhelp: Removing two more unused jquery files + + +David Cramer: template/common/jquery/jquery-1.4.2.min.jsWebhelp: Removing old, unused jquery file + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix header logo link + + +David Cramer: xsl/webhelp-common.xslWebhelp: Fix bad link to favicon.ico + + +David Cramer: template/common/jquery/jquery-1.7.2.min.js; template/common/main.js; templat⋯First part of the GSoC 2012 work by Arun and Visitha: + +Visitha Baddegama +Remove content folder from Webhelp output +Build Webhelp using GNU Make/without ant +Support a parameterized list of files to exclude while indexing +Improve information message for browser with JavaScript disabled +Support searching for terms with punctuation like build.xml + +Arun Bharadwaj +Make it possible to include the doc title in head/title and + not in the search results +Improve performance in IE 8/9 +Expandable TOC pane +Information message for browser with JavaScript disabled + + +David Cramer: xsl/webhelp-common.xslUse user.head.title to add title to webhelp pages, +but do not yet add the book title to the page title. + + +David Cramer: xsl/webhelp-common.xslWebhelp: Revert 9433. We need to fix the indexer before we can include the document title in the html/head/title + + +David Cramer: xsl/webhelp-common.xslWebhelp: Append document title to html/head/title + + +David Cramer: xsl/webhelp-common.xslWebhelp: fix missing reference to ie.css + + + + + +Params +The following changes have been made to the + params code + since the 1.77.1 release. + + +Robert Stayton: page.height.portrait.xml; page.width.portrait.xmlAdd USlegal and USlegallandscape. + + +Robert Stayton: force.blank.pages.xmlImprove the description. + + +Robert Stayton: page.margin.outer.xml; writing.mode.xml; double.sided.xml; page.margin.inn⋯Improve the description. + + +Robert Stayton: force.blank.pages.xmlNew param to control generating blank even-numbered pages. + + +Robert Stayton: passivetex.extensions.xmlIndicate that passivetex is no longer supported. + + +Robert Stayton: footnote.properties.xmlFix bug #3555628 where a footnote inside a blockquote inherits the end-indent from the blockquote. + + +stefan: foil.page-sequence.properties.xml; handoutnotes.properties.xml; slidy.duration.xml⋯Merge Slides GSoC project to trunk. + + +Robert Stayton: activate.external.olinks.xmlAdd parameter 'activate.external.olinks' to allow making +external olinks inactive, as for epub output. + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.77.1 release. + + +Robert Stayton: xsl2profile.xslTest for @xml:id as well as @id for $rootid. + + + + + +Tools +The following changes have been made to the + tools code + since the 1.77.1 release. + + +David Cramer: bin/docbook-xsl-updates/VERSION/VERSION.xsl/ again. + + +David Cramer: xsl/build/xsl-param-link.xsl; xsl/build/make-xsl-params.xslSlides: Change html to xhtml passim. + + + + + +Template +The following changes have been made to the + template code + since the 1.77.1 release. + + +Jirka Kosek: titlepage.xslAutoguess of proper parameter settings + + + + + + + +Release Notes: 1.77.1 +The following list summarizes the major changes that have been made + since the 1.76.1 release. It is followed by sections detailing changes to individual files +from the SVN checkin logs, edited to remove housekeeping changes and bug fixes. +See the NEWS.xml file for a complete unedited list of SVN changes. + + Gentext + + webhelp + + Many improvements to the generated text for webhelp output. + + + + Common + + Support more media types + + Expanded list of supported filename extensions for media to include video and audio, mostly for HTML5 and EPUB3 outputs. + + + + Topic element + + Add basic support for new topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic. + + + + + +FO + + Add para.properties attribute-set + + Add a para.properties attribute-set that applies only to para elements. That allows still using normal.para.spacing attribute-set for many block elements for uniform spacing, but allows separate formatting of para elements. + + + + List of titles in article + + Add support for List of Tables, List of Figures, etc. for articles and other component-level elements. Includes a new template for each in autotoc.xsl, new attribute-sets in titlepage.xsl, and new entries in the titlepage.templates.xml file tu support customization. + + + + Customizing links in FO + + Add template mode simple.xlink.properties to allow +easy customization of formatting of links generated +from elements that use +the xlink attributes. This extends link formatting beyond that of xref, link, and olink which use xref.properties attribute-set. + + + + Table caption + + The caption element in an HTML table is now handled like a title in a CALS table, using the formal.object.title template with all its features, including placement. Now caption template in mode="htmlTable" does nothing, because +caption handled by formal.object.title template. Also adds support for table caption element in a CALS table, placing it after the table. + + + + Graphics attribute handling + + Refactored the big process.image template to use individual templates such as image.width for most attributes to allow easier customization of individual properties. + + + + Side regions + + Add support for side page regions in addition to header and footer regions. This feature lets you add running content to the side margins, and by default the content is rotated 90 degrees. Adds new templates named running.side.content, region.inner and region.outer; new template modes region.inner.mode and region.outer.mode; new parameters named region.inner.extent, region.outer.extent, body.margin.inner, body.margin.outer, and side.region.precedence; and new attribute-sets named inner.region.content.properties, outer.region.content.properties, region.inner.properties, and region.outer.properties. + + + + Callout formatting + + Add new attribute-sets for calloutlist. + + + + Topic element + + Add basic support for formatting a topic element, which is available in DocBook 5.1. + + + + + HTML + + + HTML5 + + Add variables to the base HTML stylesheets that can be adjusted for the HTML5 stylesheets. + + + + Insert Javascript reference + + Add support for html.script param to insert reference to a Javascript file. + + + + Namespace for titlepage mechanism. + + Titlepage mechanism is now namespace aware to support XHTML. + + + + Chunked filename prefix + + New param named chunked.filename.prefix lets you add a filename prefix to each chunked file. This replaces the buggy practice of adding such a prefix to the base.dir param. Now the base.dir param will always have a trailing slash added if it is not present, so you no longer have to remember to add it to the param value. + + + + Generate id attributes + + The stylesheet param generate.id.attributes already existed but was incompletely implemented. Now when it is set to 1, only id attributes should be output, not <a name> named anchors. + + + + Generate consistent id attributes + + New generate.consistent.ids parameter which allows generating a more stable id values based on XPath rather than the generate-id() function, which may not produce consistent values between runs. Stable output ids allow you to make stable links to generated content from the outside. + + + + Topic element + + Add basic support for formatting a topic element, which is available in DocBook 5.1. Generally a topic element will be used with assembly and may be transformed to some other hierarchical element during processing, but it can also be formatted as a plain topic. + + + + + + Webhelp + + + Webhelp refactored + + Webhelp templates refactored to better support customization. + + + + Added documentation. + + More and better documentation added. + + + + Webhelp generated text + + Many improvements to the generated text for webhelp output. + + + + + XHTML5 + New stylesheets to generate HTML5 output, in an XML serialization. These templates are a customization layer on top of the XHTML stylesheet files. + + + EPUB3 + New stylesheets to generate EPUB3 output. These templates are a customization layer on top of the xhtml5 stylesheet files. + + + Assembly + New assembly.xsl stylesheet to convert a DocBook 5.1 assembly into a standard DocBook 5 document. Also includes a topic-maker-chunk.xsl stylesheet that can convert a DocBook 5 book or article document into an assembly with a collection of modular files, including converting some elements to topic files. + + + +Gentext +The following changes have been made to the + gentext code + since the 1.76.1 release. + + +stefanhinz: locale/de.xmlTranslated German WebHelp strings + + +David Cramer: locale/zh.xml; locale/en.xml; locale/fr.xml; locale/de.xml; locale/ja.xmlWebhelp: Update non-en gentext strings + + +Robert Stayton: locale/en.xmlAdd topic to title-numbered context. + + +Robert Stayton: locale/en.xmlAdd basic topic element templates. + + +Mauritz Jeanson: locale/el.xmlUpdated gentext for quotation marks. Fixes bug #3512440. + + +Jirka Kosek: locale/cs.xmlAdding missing context for webhelp + + +David Cramer: locale/en.xmlFixing syntax of webhelp gentext entries + + +David Cramer: locale/en.xmlMoving webhelp gentext strings into a context + + +tom_schr: locale/zh.xml; locale/en.xml; locale/cs.xml; locale/fr.xml; locale/de.xml; local⋯Moved language specific of WebHelp to gentext/locale/ as discussed with +Stefan following the "minimal intrusive approach". :) +In the long run, maybe moving the text into a context, not sure. + + + +Jirka Kosek: locale/ru.xmlAligned capitalization of first letters with English original + + + + + +Common +The following changes have been made to the + common code + since the 1.76.1 release. + + +Robert Stayton: common.xslIn "select.mediaobject.index" template, add selection of videoobject +and audioobject since now supported in HTML5. + + +Robert Stayton: labels.xsl; titles.xsl; entities.ent; targets.xsl; subtitles.xsl; gentext.⋯Add basic support for new <topic> element. + + +Robert Stayton: common.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: olink.xslGenerate error message if olink data in targetset is in a namespace. + + +Robert Stayton: common.xslAdd support for generate.consistent.ids parameter. + + +Robert Stayton: subtitles.xslAdd verbose param to subtitle.markup templates to allow its +error message to be ignored. +Add that param to fop1.xsl application of subtitle.markup +to avoid unnecessary error message in document information. + + +Robert Stayton: labels.xslAdd empty templates for glossdiv, glosslist, and glossentry in +mode="label.markup". + + + + + +FO +The following changes have been made to the + fo code + since the 1.76.1 release. + + +Robert Stayton: graphics.xslqualify caption template to mediaobject/caption so not confused with table/caption. + + +Robert Stayton: table.xslAdd template to process table/caption element. + + +Robert Stayton: titlepage.xsl; autotoc.xsl; component.xsl; xref.xsl; titlepage.templates.x⋯Add basic support for new <topic> element. + + +Robert Stayton: graphics.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: titlepage.xslAdd default style att-sets for component.list.of.titles, etc. + + +Robert Stayton: autotoc.xsl; component.xsl; titlepage.templates.xmlAdd make.component.tocs to support lists of tables, etc. for +article and other components. Added component.list.of.tables to +titlepage.templates.xml to format the title. + + +Robert Stayton: param.xweb; param.entAdd new para.properties attribute-set for paragraphs. + + +Robert Stayton: inline.xslAdd template mode 'simple.xlink.properties' to allow +easy customization of formatting of links generated +from elements other than xref, link, and olink using +the xlink attributes. + + +Robert Stayton: param.xweb; param.entAdd table.caption.properties to format table captions. + + +Robert Stayton: table.xslAdd support for caption in a CALS table. + + +Robert Stayton: graphics.xsl; math.xslRefactored the 'process.image' template to create modular +templates for each attribute so they can be individually +customized. Also merged in support for embedded svg and +mml content so they can have image attributes too. + + +Robert Stayton: param.xweb; param.entCheck in new params for FO side regions in page masters. + + +Robert Stayton: titlepage.xsl; titlepage.templates.xmlAdd support for itermset in info elements, using titlepage mechanism +to ensure entries are placed inside page-sequence. + + +Robert Stayton: pagesetup.xslAdd support for side body margins and side static content regions. +Fixes bug 3389931. + + +Robert Stayton: param.xweb; param.ent; task.xslAdd attribute-set task.properties to task element to +support customization. + + +Robert Stayton: lists.xsl; param.xweb; param.entAdd new attribute-sets calloutlist.properties and callout.properties +to better support customization of calloutlists, fixing bug 3160341. + + +Jirka Kosek: MakefileTitlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty. + + +Robert Stayton: graphics.xslAllow selection by role for multiple imageobject elements +within an imageobjectco, which since Docbook 5 allows multiple imageobjects. + + +Mauritz Jeanson: titlepage.xslAdded template for collabname. Fixes bug #3414436. + + +David Cramer: verbatim.xslSupport the keep-together processing-instruction on programlisting, screen, synopsis, and literallayout. Tracker id #3396906. + + +Robert Stayton: pagesetup.xslPass the pageclass, sequence, and gentext-key to the template +named header.footer.widths to enable further customization +based on page master. + + +Jirka Kosek: xref.xslhyphenation of URL content must be disabled for link, not only for ulink because od DB5 + + +Jirka Kosek: xref.xslURLs shouldn't be hyphenated as normal text + + +Jirka Kosek: callout.xslAdded support for alternative circled numbers + + +Mauritz Jeanson: axf.xsl; fop1.xsl; xep.xslAdded support for author/orgname in document metadata. Closes bug #3132862. + + +Robert Stayton: component.xslAdd template for article/colophon to avoid nested page-sequence. + + + + + +HTML +The following changes have been made to the + html code + since the 1.76.1 release. + + +Robert Stayton: xref.xslAdd support for using info/title as well as title in target element. + + +Robert Stayton: component.xslEnable support for html5 features, including using <section> instead of +<div> for certain elements, and setting heading level to <h1> for chapters. +These features are not changed in the base html stylesheet for backwards +compatibility. + + +Robert Stayton: docbook.css.xmlAdd style for footnote rule. + + +Robert Stayton: biblio-iso690.xslAdd support for subtitle inside info. + + +Robert Stayton: docbook.xslAdd call to new 'root.attributes' placeholder template to allow +adding attributes to the <html> output element. + + +Robert Stayton: inline.xsl; titlepage.xsl; formal.xsl; division.xsl; toc.xsl; sections.xsl⋯Finish implementation of generate.id.attributes for all elements +using the template named id.attribute. + + +Robert Stayton: autotoc.xsl; chunktoc.xsl; titlepage.xsl; chunk-code.xsl; changebars.xsl; ⋯Add basic support for new <topic> element. + + +Robert Stayton: graphics.xslFix handling of mediatypes for video and audio files, mostly for HTML5 and EPUB3 outputs. + + +Robert Stayton: callout.xsl; verbatim.xslRestore programlisting to use <pre> instead of <div> and instead +wrap callout img elements in <span> to make valid HTML. + + +Robert Stayton: graphics.xslTurn off img longdesc attribute because not supported by browsers. + + +Robert Stayton: footnote.xslMove square brackets and <sup> inside <a> element for footnote +marks to fix display problems in some browsers. + + +Robert Stayton: param.xweb; param.entAdd new params html.script and html.script.type to support +Javascript references. + + +Robert Stayton: chunk-common.xsl; chunktoc.xsl; titlepage.xsl; chunker.xsl; chunk-code.xsl⋯Add support for chunked.filename.prefix param. +Make sure base.dir value has a trailing slash in +the chunk.base.dir internal param used by the templates. + + +Robert Stayton: formal.xsl; htmltbl.xslNow handles caption in html markup table like title, +so formal.object.title is used with all its features, including +formatting and placement. +Added htmlTable.with.caption template to handle the wrapper, and +left htmlTable template unchanged. +Now caption template in mode="htmlTable" does nothing, because +caption handled by formal.object.title template. + + +Robert Stayton: html.xslTurn off generating the title attribute for block and hierarchical elements. +Should only be used for inline elements, usually using the alt element. +Also used for links to show the target title. + + +Robert Stayton: lists.xslThe spacing="compact" attribute on lists in HTML no longer outputs compact="compact" +(or just "compact" in the case of Saxon 6), since that attribute is +deprecated and improperly supported. Instead, the output uses a +multiple class attribute such as class="orderedlist compact". +Use CSS to style such lists without margin above. + + +Robert Stayton: graphics.xslAllow selection by role for multiple imageobject elements +within an imageobjectco, which since Docbook 5 allows multiple imageobjects. + + +Robert Stayton: pi.xslImprove doc descriptions of dbhtml filename and dir. + + +Robert Stayton: autoidx.xslAdd setindex to context param in mode="reference" to better +support setindex. + + +Robert Stayton: autotoc.xslSupport set as child of set in set.toc template. + + +Robert Stayton: qandaset.xslChange question and title templates to replace hard-coded +class="local-name()" with mode="class.attribute" to support customization +of class values. + + +Norman Walsh: chunktoc.xslSeparate book appendixes from article appendixes (so that they can be customized independently) + + +Mauritz Jeanson: graphics.xslAdded condition to prevent "Failed to interpret image" messages (SVG is not supported +by the graphic size extension). + + + + + + +Epub +The following changes have been made to the + epub code + since the 1.76.1 release. + + +Robert Stayton: docbook.xslReplace $base.dir with $chunk.base.dir to ensure trailing slash in place. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.76.1 release. + + +Robert Stayton: htmlhelp-common.xslChange $base.dir to $chunk.base.dir to ensure trailing slash in place. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.76.1 release. + + +Robert Stayton: eclipse.xsl; eclipse3.xslUse $chunk.base.dir instead of $base.dir to ensure trailing slash is in place. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.76.1 release. + + +Robert Stayton: javahelp.xslChange $base.dir to $chunk.base.dir to ensure trailing slash is present. + + +Mauritz Jeanson: javahelp.xslReplaced empty header.navigation and footer.navigation templates with parameter suppress.navigation=1, +which simplifies customization. See bug #3310904. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.76.1 release. + + +David Cramer: template/common/css/positioning.cssWebhelp: Adding print-only css rules + + +David Cramer: template/common/main.jsWebhelp: Arun's fix for bug where heading was partially hidden by header in some situations. + + +David Cramer: xsl/webhelp-common.xslWebhelp: turn off autolabeling by default + + +David Cramer: xsl/webhelp.xslWebhelp: Import xhtml base stylesheets + + +David Cramer: docsrc/readme.xmlWebhelp: Link to the DocBook reference docs from the webhelp readme + + +David Cramer: xsl/webhelp-common.xslWebhelp: Use gentext value for noscript warning + + +David Cramer: MakefileWebhelp: Delete tempfile after DocBook xsl build + + +David Cramer: xsl/webhelp.xslWebhelp: moving parameters into the standard location so they will be part of the parameter reference + + +David Cramer: xsl/webhelp.xsl; xsl/webhelp-common.xslWebhelp: moving parameters into the standard location so they will be part of the parameter reference + + +David Cramer: template/common/main.jsWebhelp: tweaking scrolldown offset for anchors + + +David Cramer: docsrc/images; docsrc/images/sample.jpg; docsrc/readme.xml; template/content⋯Webhelp: updating docs. Ant version, install instructions, handling of images. + + +David Cramer: xsl/webhelp.xslPatch from Arun Bharadwaj to display message if JavaScript is disabled + + +David Cramer: template/content/search/nwSearchFnt.jsPatch from Arun Bharadwaj to strip quotes from search query strings + + +Robert Stayton: xsl/webhelp.xslAdd basic support for new <topic> element. + + +Jirka Kosek: xsl/webhelp.xslPut back old extensibility point. + +Guys, please don't remove existing extensibility points like named templates, it will break existing customizations. + + +David Cramer: xsl/webhelp.xslMoving webhelp gentext strings into a context + + +tom_schr: param.entDisabled branding and brandname entities for the time being + + +tom_schr: param.xweb; param.entPrepared WebHelp reference documentation :) +Not clear about parameters brandname and branding: Should they renamed +to "webhelp.branding" and "webhelp.brandname"? +Currently, docsrc/reference.xml contains only a comment for the WebHelp +ref doc to be non-intrusive. +Idea is to enable it when it is ready + + +tom_schr: xsl/webhelp.xslMoved language specific of WebHelp to gentext/locale/ as discussed with +Stefan following the "minimal intrusive approach". :) +In the long run, maybe moving the text into a context, not sure. + + +David Cramer: template/common/css/positioning.cssWebhelp: Lower the minimum width of content pane + + +kasunbg: xsl/webhelp.xsl; template/common/main.jsIf an user moved to another page by clicking on a toc link, and then clicked on #searchDiv, +search should be performed if the cookie textToSearch is not empty. + + +David Cramer: xsl/webhelp.xslWebhelp: Left align titles in nav header. Display for all but the topmost page + + +David Cramer: template/content/search/stemmers/en_stemmer.js; docsrc/xinclude-test.xmlWebhelp: Cleanup related to en_stemmer.js changes + + +David Cramer: template/common/css/positioning.cssWebhelp: Don't put borders around qandaset list + + +David Cramer: template/common/main.jsWebhelp: Avoid unnecessary scroll ups when anchor is clicked on + + +David Cramer: build.propertiesWebhelp: Show footer nav by default + + +David Cramer: build.properties; build.xmlWebhelp: Support setting suppress.footer.navigation from build.properties + + +David Cramer: build.properties; build.xmlWebhelp: Support admon.graphics param in build.properties + + +David Cramer: docsrc/xinclude-test.xml; docsrc/readme.xmlWebhelp: Adding xinclude example to the demo/readme doc + + +David Cramer: template/common/css/positioning.cssWebhelp: Remove border around table used to format callout list + + +David Cramer: xsl/webhelp.xsl; template/common/images/admon/tip.png; template/common/image⋯Webhelp: Support admon graphics (still off by default) + + +David Cramer: xsl/webhelp.xsl; template/common/css/positioning.cssWebhelp: Turn on navfooter and fix related css + + +David Cramer: xsl/webhelp.xslWebhelp: Fix error about undeclared doc.title param + + +David Cramer: docsrc/readme.xmlWebhelp: Adding some test search terms to the readme + + +David Cramer: template/content/search/stemmers/en_stemmer.jsHandle exceptional cases listed in the Porter 2 stemming algo + + +David Cramer: template/content/search/stemmers/en_stemmer.jsWebhelp: adding special case word 'say' to en js stemmer + + +David Cramer: template/content/search/stemmers/en_stemmer.jsWebhelp: Refine stemming of terms that end in (only stem if there's a consonant before the -y) + + +David Cramer: template/content/search/stemmers/en_stemmer.js; template/content/search/nwSe⋯Webhelp: fixed bug where words like key, day, and nucleus, were not found due to differences in the way the client stemmer and indexer stemmed words + + +David Cramer: build.xmlWebhelp: Support xinclude and two-pass profiling in build.xml + + +David Cramer: xsl/webhelp.xslFix bad link to default topic. + + +kasunbg: docsrc/readme.xmlAutomatically limit the size of the search description to something 140 characters + + +kasunbg: xsl/webhelp.xslremoving outline in 'contents' and 'search' buttons that is visible when clicked. tabindex for SIDEBAR button. + + +kasunbg: xsl/webhelp.xsl; build.xmlWebhelp ant script changes - HTML transformation support for WebHelp - Uses Tagsoup for parsing the bad html. +tagsoup-1.2.1.jar is added to trunk/xsl-webhelpindexer/lib/ + + +kasunbg: xsl/webhelp.xslproper support for saxon xhtml transformation. + + +kasunbg: template/common/images/callouts/10.png; template/common/images/callouts/11.png; t⋯webhelp - adding callouts + + +kasunbg: xsl/webhelp.xsl; template/common/main.js; template/common/css/positioning.csswebhelp - animations for show/hide Sidebar + + +kasunbg: build.propertiescommenting about brand and brandname + + +kasunbg: Makefileparameterized MAKE for webhelp + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; build.properties; build.xmlwebhelp xsl customization - logo + + +kasunbg: template/content/search/nwSearchFnt.jsremove some JS warninings + + +kasunbg: template/content/search/nwSearchFnt.jsFix for missing "No results found for..." bug + + +kasunbg: xsl/webhelp.xslcommented about the importance of the order of css contents. Order is important between the in-html-file css and the linked css files. Some css declarations in jquery-ui-1.8.2.custom.css are over-ridden. If that's a concern, just remove the additional css contents inside these default jquery css files. I thought of keeping them intact for easier maintenance. + + +Jirka Kosek: xsl/webhelp.xsl; template/common/css/positioning.cssMinor cleanup, added extensibility hook, some styling moved into CSS for easier customization + + +David Cramer: template/content/search/nwSearchFnt.jsRemoving onclick that came from Oxygen's dita stuff + + +kasunbg: docsrc/readme.xmlwebhelp - documenting about features + + +kasunbg: template/common/css/positioning.csswebhelp search text box + + +kasunbg: template/common/css/positioning.cssadding header background image + + +kasunbg: xsl/webhelp.xsl; template/common/images/header-bg.pngnew header background image + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.cssfix left navigation + + +kasunbg: template/common/css/positioning.csssome css + + +kasunbg: build.xmlAdding html.extension property + + +kasunbg: template/common/css/positioning.css; build.properties; build.xmlwebhelp - Adding enable.stemming, toc.file build properties + + +David Cramer: template/common/css/positioning.cssMake the webhelp banner slightly larger. + + +David Cramer: template/common/main.js; template/common/css/positioning.cssAdjust colors and positioning of header and search/toc tabs + + +David Cramer: xsl/webhelp.xslOnly put doc title in header + + +David Cramer: template/common/css/positioning.css; template/common/images/main_bg_fade.pngAdjusting default color of the header + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.cssadjustments to header title. Now output in Opera looks good. + + +kasunbg: template/common/images/sidebar.png; template/content/search/punctuation.props; te⋯deleting svn:executable flag from webhelp files + + +kasunbg: xsl/webhelp.xsl; template/common/css/positioning.css; template/common/images/sear⋯Customized the left navagation headers; Contents and Search. +Adding custom css for the current redmond ui of jquery-ui. These override jquery-ui's default css customizations. These are supposed to take precedence. + + +kasunbg: docsrc/readme.xmltypo fix + + +kasunbg: template/common/images/next-arrow.png; xsl/webhelp.xsl; template/common/main.js; ⋯UI improvements. + Moved search highligher to search tab. + Added nice icons for navigation buttons etc. + Removed footer navigation + Corrected tree colorings + Overall, some css magic + + +David Cramer: docsrc/readme.xmlAdded listitem thinking SyncRO Soft for their contributions. + + +kasunbg: build.xmlsupport for default classpath for Gentoo Linux + + +kasunbg: docsrc/readme.xmlwebhelp - some updates to the documentation about search + + +kasunbg: template/common/css/positioning.cssFix for issue 'Keep "search" & "contents" titles always visible in webhelp - ID: 3403438' + + +David Cramer: template/common/images/starsSmall.pngChanged icons used to show search weightings from stars to boxes so they won't look like user ratings + + +David Cramer: xsl/webhelp.xsl; template/common/main.js; template/common/images/starsSmall.⋯Merged Oxygen webhelp improvements (search weightings etc) into trunk: -r9031:9039 + + +kasunbg: docsrc/readme.xmlwebhelp documentation - search indexing, faq + + +kasunbg: docsrc/readme.xmlupdate webhelp documentation + + +David Cramer: xsl/webhelp.xslFixed bug where webhelp.default.topic was not being used if it was set + + +David Cramer: xsl/webhelp.xsl; template/content/search/nwSearchFnt.jsLocalize string in nwSearchFnt.js file + + +David Cramer: xsl/webhelp.xslAdded tabindex attributes to make tab order in UI more logical in webhelp. + + +David Cramer: template/common/main.jsFixed bug where anchors in pages landed beneath the banner. + + +kasunbg: xsl/webhelp.xslAdded more comments to the xsl/webhelp/xsl/webhelp.xsl file. Removed some clutter. + + +David Cramer: template/common/main.jsFixed problem reported in IE 8. See tracker id # 373747. + + +David Cramer: xsl/webhelp.xslAddressed tracker #3247166 by removing hard-coded reference to ch01.html. + + +kasunbg: build.xmlChanged the webhelp build.xml to reflect the changes to xsl-webhelpindexer. +Added classpaths for xercesImpl and xml-api jars to the indexer. Paths added for *nix environments, need to look at how the current system behaves in Windows. Discussion: http://lists.oasis-open.org/archives/docbook-apps/201011/msg00116.html + + +kasunbg: template/common/images/loading.gif; template/common/jquery/treeview/jquery.treevi⋯webhelp: Removing some unnecessary JQuery JS files + + +kasunbg: template/common/main.jswebhelp: Usability improvement - when click on a node in the TOC tree, the child nodes will auto populate now. + + +kasunbg: xsl/webhelp.xslAdded google translated localizations for Japanese, German, French, and Chinese. The translations might not be pretty accurate. +Better translations are appreciated. + + +kasunbg: docsrc/readme.xml; template/content/images; template/content/images/sample.jpgAdded documentation for how to add images to WebHelp + + +Jirka Kosek: xsl/webhelp.xslAdded more customization hooks +Search code output only when search tab is active +Added cs localization + + +Jirka Kosek: xsl/webhelp.xslAdded parameter webhelp.common.dir for specifying location of common files (JS+CSS) +Added hooks for adding additional user defined tabs + + + + + +Params +The following changes have been made to the + params code + since the 1.76.1 release. + + +David Cramer: webhelp.indexer.language.xmlWebhelp: Fixing list of supported languages + + +David Cramer: webhelp.indexer.language.xmlWebhelp: Correct language code in docs for Chinese + + +Mauritz Jeanson: admon.graphics.extension.xmlAdded list of graphics formats. + + +Mauritz Jeanson: passivetex.extensions.xmlUpdated link. + + +tom_schr: webhelp.indexer.language.xml; webhelp.default.topic.xml; webhelp.tree.cookie.id.⋯Prepared WebHelp reference documentation :) +Not clear about parameters brandname and branding: Should they renamed +to "webhelp.branding" and "webhelp.brandname"? +Currently, docsrc/reference.xml contains only a comment for the WebHelp +ref doc to be non-intrusive. +Idea is to enable it when it is ready + + +Robert Stayton: glossary.collection.xmlAdd info about relative paths. + + +Robert Stayton: para.properties.xmlSpecial attribute-set for para only. + + +Robert Stayton: table.caption.properties.xmlTo format table captions. + + +Robert Stayton: html.script.type.xml; html.script.xmlAdd support for specifying javascript references like css references. + + +Robert Stayton: body.margin.outer.xml; region.outer.extent.xml; body.margin.inner.xml; reg⋯Add support for side regions in FO output. + + +Robert Stayton: chunked.filename.prefix.xmlNew param chunked.filename.prefix to separate any such prefix from +the base.dir param, which helps fix bug 3087359. + + +Robert Stayton: generate.consistent.ids.xmlNew param to support replacing generate-id() with xsl:number +for more consistent id values. + + +Robert Stayton: task.properties.xmlAllow task to be customized more easily. + + +Robert Stayton: calloutlist.properties.xml; callout.properties.xmlSupport better customization of callout lists. + + +Jirka Kosek: callout.unicode.start.character.xmlAdded support for alternative circled numbers + + +David Cramer: example.properties.xmlMade example.properties use keep-together='auto' like table.properies to avoid problems where example/programlisting takes more than one page + + +Mauritz Jeanson: graphicsize.extension.xmlAdded info about supported image formats. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.76.1 release. + + +Jirka Kosek: csharp-hl.xmlAdded LINQ keywords + + +Jirka Kosek: delphi-hl.xmlAdditional keywords from Yuri Zhilin + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.76.1 release. + + +David Cramer: profile-mode.xslWhen profile.* params only consist of space characters, then ignore them. + + + + + +Lib +The following changes have been made to the + lib code + since the 1.76.1 release. + + +Robert Stayton: lib.xwebAdded two utility templates to make lib.xsl work +without reference to other modules since it is used +that way with profiling/xsl2profile.xsl. + + +Robert Stayton: lib.xwebFix trim.common.uri.paths to first resolve any ../ in +the paths. + + + + + +Template +The following changes have been made to the + template code + since the 1.76.1 release. + + +Jirka Kosek: titlepage.xslTitlepage mechanism is now namespace aware to support XHTML. Please note that when generating titlepage template stylesheets you have to pass FO or XHTML namespace inside ns parameter. For HTML parameter should be empty. + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.76.1 release. + + +kasunbg: Makefilewebhelp - Adding enable.stemming, toc.file build properties + + +David Cramer: MakefileAttempt to convince Makefile that webhelpindexer is dirty + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.76.1 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/Verbatim.java; src/com/nwalsh/saxon/FormatGraphicCal⋯Added fixes to ensure that generated XHTML markup for callouts is in the proper namespace. + + + + + + +Release Notes: 1.77.1 +The following is a list of changes that have been made + since the 1.77.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.77.0 release. + + +Robert Stayton: docbook.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + +Robert Stayton: block.xslIn sidebar, turn off space before first para if there is no title. + + +Robert Stayton: math.xslRestored templates for mml:* elements that were accidentally deleted. + + + + + +HTML +The following changes have been made to the + html code + since the 1.77.0 release. + + +Robert Stayton: docbook.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + +Robert Stayton: sections.xslUse $div.element variable in place of div to support html5 section element. +output + + +Robert Stayton: autoidx.xslFix bug 3528673, missing "separator" param on template with +match="indexterm" mode="reference". That param is passed +for endofrange processing to output the range separator. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.77.0 release. + + +Robert Stayton: dbk2ooo.xsl; dbk2pages.xsl; dbk2wordml.xsl; dbk2wp.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.77.0 release. + + +Robert Stayton: html/slides-common.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Website +The following changes have been made to the + website code + since the 1.77.0 release. + + +Robert Stayton: website-common.xslImport the VERSION.xsl file instead of VERSION so mimetype is interpreted correctly +from the filename. + + + + + +Webhelp +The following changes have been made to the + webhelp code + since the 1.77.0 release. + + +kasunbg: docsrc/readme.xmlupdated webhelp documentation + + +kasunbg: template/content/search/nwSearchFnt.js; xsl/webhelp-common.xslRemoved the script htmlFileList.js since it's content is in htmlFileInfoList.js + + +Robert Stayton: xsl/webhelp-common.xslIn the <h1> output, replace call to 'get.doc.title' with +mode="title.markup" because get.doc.title returns only +the string value of the title, losing any markup such +as <trademark> or <superscript>. + + +kasunbg: template/common/css/positioning.css; template/content/search/nwSearchFnt.jsRemove unnecessary bits of code from webhelp + + +David Cramer: docsrc/readme.xmlWebhelp: Minor edits to the readme + + +David Cramer: xsl/webhelp.xsl; xsl/titlepage.templates.xsl; xsl/titlepage.templates.xmlWebhelp: Suppress abstracts from titlepages. These are used to create the search result summary sentence and should not be shown + + +David Cramer: build.xmlWebhelp: calculate path to profile.xsl from main build.xml file + + + + + + +Release Notes: 1.76.1 +The following is a list of changes that have been made + since the 1.76.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.76.0 release. + + +Robert Stayton: docbook.xsl; xref.xsl; fop1.xslApply patch to support named destination in fop1.xsl, per Sourceforge +bug report #3029845. + + + + + +HTML +The following changes have been made to the html code since the 1.76.0 release. + + +Keith Fahlgren: highlight.xslImplementing handling for <b> and <i>: transform to <strong> and <em> for XHTML outputs and do not use in the highliting output (per Mauritz Jeanson) + + + + + +Params +The following changes have been made to the + params code + since the 1.76.0 release. + + +Robert Stayton: draft.mode.xmlChange default for draft.mode to 'no'. + + + + + + + + Release Notes: 1.76.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +Webhelp +A new browser-based, cross-platform help format with full-text search and other features typically found in help systems. See webhelp/docs/content/ch01.html for more information and a demo. + + + + +Gentext +Many updates and additions to translation/locales thanks to Red Hat, the Fedora Project, and other contributors. + + +Common +Faster localization support, as language files are loaded on demand. + + + + FO + Support for SVG content in imagedata added. + + + HTML + Output improved when using 'make.clean.html' and a stock CSS file is now provided. + + +EPUB +A number of improvements to NCX, cover and image selection, and XHTML 1.1 element choices + + + + + The following is a list of changes that have been made since the 1.75.2 release. + + Gentext + The following changes have been made to the gentext code since the 1.75.2 release. + + + + rlandmann: locale/fa.xml + + + Update to Persian translation from the Fedora Project + + + + + rlandmann: locale/nds.xml + + + Locale for Low German + + + + + Mauritz Jeanson: locale/ka.xml; Makefile + + + Added support for Georgian based on patch #2917147. + + + + + rlandmann: locale/nl.xml; locale/ja.xml + + + Updated translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/bs.xml; locale/ru.xml; locale/hr.xml + + + Updated locales from Red Hat and the Fedora Project + + + + + rlandmann: locale/pt.xml; locale/cs.xml; locale/es.xml; locale/bg.xml; locale/nl.xml; loca⋯ + + + Updated translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/as.xml; locale/bn_IN.xml; locale/ast.xml; locale/ml.xml; locale/te.xml; ⋯ + + + New translations from Red Hat and the Fedora Project + + + + + rlandmann: locale/pt.xml; locale/ca.xml; locale/da.xml; locale/sr.xml; locale/ru.xml; loca⋯ + + + Updated translations from Red Hat and the Fedora Project + + + + + + + Common + The following changes have been made to the common code since the 1.75.2 release. + + + + Mauritz Jeanson: common.xsl + + + Fixed bug in output-orderedlist-starting-number template (@startingnumber did not work for FO). + + + + + Mauritz Jeanson: gentext.xsl + + + Added fix to catch ID also of descendants of listitem. Closes bug #2955077. + + + + + Jirka Kosek: l10n.xsl + + + Stripped down, faster version of gentext.template is used when there is no localization customization. + + + + + Mauritz Jeanson: stripns.xsl + + + Added fix that preserves link/@role (makes links in the reference documentation +with @role="tcg" work). + + + + + Mauritz Jeanson: l10n.xsl + + + Fixed bugs related to manpages and L10n. + + + + + Jirka Kosek: entities.ent; autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Jirka Kosek: l10n.xsl; l10n.dtd; l10n.xml; autoidx-kosek.xsl + + + Refactored localization support. Language files are loaded on demand. Speedup is about 30%. + + + + + Jirka Kosek: l10n.xsl + + + Added xsl:keys for improved performance of localization texts look up. Performance gain around 15%. + + + + + Mauritz Jeanson: titles.xsl + + + Fixed bug #2912677 (error with xref in title). + + + + + Robert Stayton: olink.xsl + + + Fix bug in xrefstyle "title" handling introduced with +the 'insert.targetdb.data' template. + + + + + Robert Stayton: gentext.xsl + + + Fix bug in xref to equation without title to use context="xref-number" instead +of "xref-number-and-title". + + + + + Robert Stayton: labels.xsl + + + Number all equations in one sequence, with or without title. + + + + + Robert Stayton: entities.ent + + + Fix bug #2896909 where duplicate @sortas on indexterms caused +some indexterms to drop out of index. + + + + + Robert Stayton: stripns.xsl + + + Expand the "Stripping namespace ..." message to advise users to +use the namespaced stylesheets. + + + + + Robert Stayton: stripns.xsl + + + need a local version of $exsl.node.set.available variable because +this module imported many places. + + + + + Mauritz Jeanson: olink.xsl + + + Added /node() to the select expression that is used to compute the title text +so that no <ttl> elements end up in the output. Closes bug #2830119. + + + + + + + FO + The following changes have been made to the + fo code + since the 1.75.2 release. + + + + Robert Stayton: table.xsl + + + Fix bug 2979166 able - Attribute @rowheader not working + + + + + Mauritz Jeanson: inline.xsl + + + Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents +with many inline glossterms. + + + + + Robert Stayton: titlepage.xsl + + + Fix bug 2805530 author/orgname not appearing on title page. + + + + + Mauritz Jeanson: graphics.xsl + + + Added support for SVG content in imagedata (inspired by patch #2909154). + + + + + Mauritz Jeanson: table.xsl + + + Removed superfluous test used when computing column-width. Closes bug #3000898. + + + + + Mauritz Jeanson: inline.xsl + + + Added missing <xsl:call-template name="anchor"/>. Closes bug #2998567. + + + + + Mauritz Jeanson: lists.xsl + + + Added table-layout="fixed" on segmentedlist table (required by XSL spec when proportional-column-width() is used). + + + + + Jirka Kosek: autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Jirka Kosek: index.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Robert Stayton: xref.xsl + + + Fix bug in olink template when an olink has an id. +Add warning message with id value when trying to link +to an element that has no generated text. + + + + + Mauritz Jeanson: refentry.xsl + + + Fixed bug #2930968 (indexterm in refmeta not handled correctly). + + + + + Robert Stayton: block.xsl + + + fix bug 2949567 title in revhistory breaks FO transform. + + + + + Robert Stayton: glossary.xsl + + + Output id attributes on glossdiv blocks so they can be added to +xrefs or TOC. + + + + + Jirka Kosek: xref.xsl + + + Enabled hyphenation of URLs when ulink content is the same as link target + + + + + Robert Stayton: table.xsl + + + Apply patch to turn off row recursion if no @morerows attributes present. +This will enable very large tables without row spanning to +process without running into recursion limits. + + + + + Robert Stayton: formal.xsl + + + Format equation without title using table layout with equation number +next to the equation. + + + + + Robert Stayton: param.xweb; param.ent + + + Add equation.number.properties. + + + + + + + HTML + The following changes have been made to the + html code + since the 1.75.2 release. + + + + Mauritz Jeanson: block.xsl + + + Modified acknowledgements template to avoid invalid output (<p> in <p>). + + + + + Mauritz Jeanson: titlepage.xsl + + + Added default sidebar attribute-sets. + + + + + Robert Stayton: table.xsl + + + Fix bug 2979166 able - Attribute @rowheader not working + + + + + Robert Stayton: footnote.xsl + + + Fix bug 3033191 footnotes in html tables. + + + + + Mauritz Jeanson: inline.xsl + + + Improved glossterm auto-linking by using keys. The old code was inefficient when processing documents +with many inline glossterms. + + + + + Robert Stayton: docbook.css.xml; verbatim.xsl + + + Fix bug 2844927 Validity error for callout bugs. + + + + + Robert Stayton: formal.xsl + + + Convert formal.object.heading to respect make.clean.html param. + + + + + Robert Stayton: titlepage.templates.xml; block.xsl + + + Fix bug 2840768 sidebar without title inserts empty b tag. + + + + + Mauritz Jeanson: docbook.xsl + + + Moved the template that outputs <base> so that the base URI also applies to relative CSS paths that come later. +See patch #2896121. + + + + + Jirka Kosek: autoidx-kosek.xsl + + + Upgraded to use common entities. Fixed bug when some code used @sortas and some not for grouping/sorting of indexterms. + + + + + Robert Stayton: chunk-code.xsl + + + fix bug 2948363 generated filename for refentry not unique, when +used in a set. + + + + + Robert Stayton: component.xsl + + + Fix missing "Chapter n" label when use chapter/info/title. + + + + + Robert Stayton: table.xsl + + + Row recursion turned off if no @morerows attributes in the table. +This will prevent failure on long table (with no @morerows) due +to excessive depth of recursion. + + + + + Robert Stayton: autotoc.xsl; docbook.css.xml + + + Support make.clean.html in autotoc.xsl. + + + + + Robert Stayton: docbook.css.xml; block.xsl + + + Add support for make.clean.html setting in block elements. + + + + + Robert Stayton: docbook.css.xml + + + Stock CSS styles for DocBook HTML output when 'make.clean.html' is non-zero. + + + + + Robert Stayton: html.xsl + + + Add templates for generating CSS files and links to them. + + + + + Robert Stayton: param.xweb + + + Fix bugs in new entity references. + + + + + Robert Stayton: chunk-common.xsl + + + List of Equations now includes on equations with titles. + + + + + Robert Stayton: table.xsl + + + If a colspec has a colname attribute, add it to the HTML col +element as a class attribute so it can be styled. + + + + + Robert Stayton: formal.xsl + + + Fix bug 2825842 where table footnotes not appearing in HTML-coded table. + + + + + Robert Stayton: chunktoc.xsl + + + Fix bug #2834826 where appendix inside part was not chunked as it should be. + + + + + Mauritz Jeanson: chunktoc.xsl + + + Added missing namespace declarations. Closes bug #2890069. + + + + + Mauritz Jeanson: footnote.xsl + + + Updated the template for footnote paras to use the 'paragraph' template. Closes bug #2803739. + + + + + Keith Fahlgren: inline.xsl; lists.xsl + + + Remove <b> and <i> elements "discouraged in favor of style sheets" from +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl. + +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB + +Added regression to EPUB specs: + + + + + Mauritz Jeanson: inline.xsl + + + Fixed bug #2844916 (don't output @target if ulink.target is empty). + + + + + Keith Fahlgren: autoidx.xsl + + + Fix a bug when using index.on.type: an 'index symbols' section was created +even if that typed index didn't include any symbols (they were in the other types). + + + + + + + Manpages + The following changes have been made to the + manpages code + since the 1.75.2 release. + + + + Mauritz Jeanson: other.xsl + + + Modified the write.stubs template so that the section directory name is not output twice. Should fix bug #2831602. +Also ensured that $lang is added to the .so path (when man.output.lang.in.name.enabled=1). + + + + + Mauritz Jeanson: docbook.xsl; other.xsl + + + Fixed bug #2412738 (apostrophe escaping) by applying the submitted patch. + + + + + Norman Walsh: block.xsl; endnotes.xsl + + + Fix bug where simpara in footnote didn't work. Patch by Jonathan Nieder, jrnieder@gmail.com + + + + + dleidert: lists.xsl + + + Fix two indentation issues: In the first case there is no corresponding .RS +macro (Debian #519438, sf.net 2793873). In the second case an .RS instead of +the probably intended .sp leads to an indentation bug (Debian #527309, +sf.net #2642139). + + + + + + + Epub + The following changes have been made to the + epub code + since the 1.75.2 release. + + + + Keith Fahlgren: bin/spec/examples/AMasqueOfDays.epub; docbook.xsl; bin/spec/epub_spec.rb + + + Resolve some actual regressions in date output spotted by more recent versions of epubcheck + + + + + Keith Fahlgren: docbook.xsl + + + Updated mediaobject selection code that better uses roles (when available); based on contributons by Glenn McDonald + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl + + + Ensure that NCX documents are always outputted with a default namespace +to prevent problems with the kindlegen machinery + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/partintro.xml; docbook.x⋯ + + + Adding support for partintros with sect2s, 3s, etc + + + + + Keith Fahlgren: docbook.xsl + + + Adding param to workaround horrific ADE bug with the inability to process <br> + + + + + Keith Fahlgren: docbook.xsl + + + Add support for authorgroup/author in OPF metadata (via Michael Wiedmann) + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb + + + Remove <b> and <i> elements "discouraged in favor of style sheets" from +XHTML, XHTML 1.1 (and therefore EPUB) outputs by changing html2xhtml.xsl. + +Fixes bug #2873153: No <b> and <i> tags in XHTML/EPUB + +Added regression to EPUB specs: + + + + + Keith Fahlgren: bin/lib/docbook.rb; bin/spec/files/DejaVuSerif-Italic.otf; docbook.xsl; bi⋯ + + + This resolves bug #2873142, Please add support for multiple embedded fonts + + +If you navigate to a checkout of DocBook-XSL and go to: +xsl/epub/bin/spec/files +You can now run the following command: + +../../dbtoepub -f DejaVuSerif.otf -f DejaVuSerif-Italic.otf -c test.css +-s test_cust.xsl orm.book.001.xml + +In dbtoepub, the following option can be used more than once: +-f, --font [OTF FILE] Embed OTF FILE in .epub. + +The underlying stylesheet now accepts a comma-separated list of font file +names rather than just one as the RENAMED epub.embedded.fonts ('s' added). + +The runnable EPUB spec now includes: +- should be valid .epub after including more than one embedded font + + + + + Keith Fahlgren: docbook.xsl + + + Improve the selection of cover images when working in DocBook 4.x land (work in progress) + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl + + + Improve the quality of the OPF spine regression by ensuring that the spine +elements for deeply nested refentries are in order and adjacent to their +opening wrapper XHTML chunk. + + + + + Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/orm.book.00⋯ + + + Add more careful handling of refentries to ensure that they always appear in the opf:spine. +This was only a problem when refentries were pushed deep into the hierarchy (like inside +a sect2), but presented navigational problems for many reading systems (despite the +correct NCX references). This may *not* be the best solution, but attacking a better +chunking strategy for refentries was too big a nut to crack at this time. + + + + + + + Eclipse + The following changes have been made to the + eclipse code + since the 1.75.2 release. + + + + Mauritz Jeanson: eclipse3.xsl + + + Added a stylesheet module that generates plug-ins conforming to the standard (OSGi-based) Eclipse 3.x +architecture. The main difference to the older format is that metadata is stored in a separate +manifest file. The module imports and extends the existing eclipse.xsl module. Based on code +contributed in patch #2624668. + + + + + + + Params + The following changes have been made to the + params code + since the 1.75.2 release. + + + + Robert Stayton: draft.watermark.image.xml + + + Fix bug 2922488 draft.watermark.image pointing to web resource. +Now the value is images/draft.png, and may require customization +for local resolution. + + + + + Mauritz Jeanson: equation.number.properties.xml + + + Corrected refpurpose. + + + + + Norman Walsh: paper.type.xml + + + Added USlegal and USlegallandscape paper types. + + + + + Jirka Kosek: highlight.xslthl.config.xml + + + Added note about specifying location as URL + + + + + Robert Stayton: docbook.css.source.xml; generate.css.header.xml; custom.css.source.xml; ma⋯ + + + Params to support generated CSS files. + + + + + Robert Stayton: equation.number.properties.xml + + + New attribute set for numbers appearing next to equations. + + + + + + + XSL-Xalan + The following changes have been made to the + xsl-xalan code + since the 1.75.2 release. + + + + dleidert: nbproject/genfiles.properties; nbproject/build-impl.xml + + + Rebuild netbeans build files after adding missing Netbeans configuration to allow easier packaging for Debian. + + + + + + + +Release Notes: 1.75.2 +The following is a list of changes that have been made + since the 1.75.1 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.75.1 release. + + +dleidert: locale/ja.xmlImproved Japanese translation for Note(s). Closes bug #2823965. + + +dleidert: locale/pl.xmlPolish alphabet contains O with acute accent, not with grave accent. Closes bug #2823964. + + +Robert Stayton: locale/ja.xmlFix translation of "index", per bug report 2796064. + + +Robert Stayton: locale/is.xmlNew Icelandic locale file. + + + + + +Common +The following changes have been made to the + common code + since the 1.75.1 release. + + +Norman Walsh: stripns.xslSupport more downconvert cases + + +Robert Stayton: titles.xslMake sure title inside info is used if no other title. + + + + + +FO +The following changes have been made to the + fo code + since the 1.75.1 release. + + +Robert Stayton: pi.xslTurn off dbfo-need for fop1.extensions also, per bug #2816141. + + + + + +HTML +The following changes have been made to the + html code + since the 1.75.1 release. + + +Mauritz Jeanson: titlepage.xslOutput "Copyright" heading in XHTML too. + + +Mauritz Jeanson: titlepage.xslAdded stylesheet.result.type test for copyright. Closes bug #2813289. + + +Norman Walsh: htmltbl.xslRemove ambiguity wrt @span, @rowspan, and @colspan + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.75.1 release. + + +Mauritz Jeanson: endnotes.xslAdded normalize-space() for ulink content. Closes bug #2793877. + + +Mauritz Jeanson: docbook.xslAdded stylesheet.result.type test for copyright. Closes bug #2813289. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.75.1 release. + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rbCorrected bugs caused by path and file assumptions were not met + + +Keith Fahlgren: bin/lib/docbook.rb; docbook.xslCleaning up hardcoded values into parameters and fixing Ruby library to pass them properly; all thanks to patch from Liza Daly + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.75.1 release. + + +Robert Stayton: profile.xslFix bug 2815493 missing exsl.node.set.available parameter. + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.75.1 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/ColumnUpdateEmitter.java; src/com/nwalsh/saxon/Colum⋯Added fixes so that colgroups in the XHTML namespace are processed properly. + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.75.1 release. + + +Mauritz Jeanson: nbproject/project.xmlAdded missing NetBeans configuration. + + + + + + + + +Release Notes: 1.75.1 +This release includes bug fixes. + +The following is a list of changes that have been made since the 1.75.0 release. + + + +FO +The following changes have been made to the fo code since the 1.75.0 release. + + +Keith Fahlgren: block.xslSwitching to em dash for character before attribution in epigraph; resolves Bug #2793878 + + +Robert Stayton: lists.xslFixed bug 2789947, id attribute missing on simplelist fo output. + + + + + +HTML +The following changes have been made to the + html code + since the 1.75.0 release. + + +Keith Fahlgren: block.xslSwitching to em dash for character before attribution in epigraph; resolves Bug #2793878 + + +Robert Stayton: lists.xslFixed bug 2789678: apply-templates line accidentally deleted. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.75.0 release. + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xslAdded regression and fix to correct "bug" with namespace-prefixed container elements in META-INF/container.xml ; resolves Issue #2790017 + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯Another attempt at flexible named entity and XInclude processing + + +Keith Fahlgren: bin/lib/docbook.rbTweaking solution to Bug #2750442 following regression reported by Michael Wiedmann. + + + + + +Params +The following changes have been made to the + params code + since the 1.75.0 release. + + +Mauritz Jeanson: highlight.source.xmlUpdated documentation to reflect changes made in r8419. + + + + + + + + +Release Notes: 1.75.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +Gentext +Modifications to translations have been made. + + + +Common + +Added support for some format properties on tables using +HTML table markup. +Added two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. +Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + + + +FO + +The inclusion of highlighting code has been simplified. +Add support for pgwide on informal objects. +Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. Closes FR #1792326. +Add support for more dbfo processing instructions. +Add new variablelist.term.properties to format terms, per request # 1968513. +Add support for @width on screen and programlisting, fixes bug #2012736. +Add support for writing-mode="rl-tb" (right-to-left) in FO outputs. +Add writing.mode param for FO output. + + + +HTML + +Convert all calls to class.attribute to calls to common.html.attributes to support dir, lang, and title attributes in html output for all elements. Fulfills feature request #1993833. +Inclusion of highlighting code was simplified. Only one import is now necessary. +Add new param index.links.to.section. +Add support for the new index.links.to.section param which permits precise links to indexterms in HTML output rather than to the section title. + + + +ePub + +Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog. +Added a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann) +Added DocBook subjectset -> OPF dc:subject mapping and tests +Added DocBook date -> OPF dc:date mapping and tests +Added DocBook abstract -> OPF dc:description mapping and tests +Added --output option to dbtoepub based on user request + + + + +HTMLHelp + +Add support for generating olink target database for htmlhelp files. + + + + +Params + +Add default setting for @rules attribute on HTML markup tables. +Added a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326. +Add new variablelist.term.properties to format terms, per request # 1968513. +Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045. +Add param to control whether an index entry links to a section title or to the precise location of the indexterm. +New attribute list for glossentry in glossary. +New parameter to support @width on programlisting and screen. +Add attribute-sets for formatting glossary terms and defs. + + + +Highlighting + +Inclusion of highlighting code was simplified. Only one import is now necessary. + + + + + + + +The following is a list of changes that have been made + since the 1.74.3 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.74.3 release. + + +Robert Stayton: locale/sv.xml; locale/ja.xml; locale/pl.xmlCheck in translations of Legalnotice submitted on mailing list. + + +Robert Stayton: locale/es.xmlFix spelling errors in Acknowledgements entries. + + +Robert Stayton: locale/es.xmlCheck in translations for 4 elements submitted through docbook-apps +message of 14 April 2009. + + +David Cramer: locale/zh.xml; locale/ca.xml; locale/ru.xml; locale/ga.xml; locale/gl.xml; l⋯Internationalized punctuation in glosssee and glossseealso + + +Robert Stayton: MakefileCheck in fixes for DSSSL gentext targets from submitted patch #1689633. + + +Robert Stayton: locale/uk.xmlCheck in major update submitted with bug report #2008524. + + +Robert Stayton: locale/zh_tw.xmlCheck in fix to Note string submitted in bug #2441051. + + +Robert Stayton: locale/ru.xmlCheckin typo fix submitted in bug #2453406. + + + + + +Common +The following changes have been made to the + common code + since the 1.74.3 release. + + +Robert Stayton: gentext.xslFix extra generated space when xrefstyle includes 'nopage'. + + +Robert Stayton: table.xslAdd support for some format properties on tables using +HTML table markup. These include: + - frame attribute on table (or uses $default.table.frame parameter). + - rules attribute on table (or uses $default.table.rules parameter). + - align attribute on td and th + - valign attribute on td and th + - colspan on td and th + - rowspan on td and th + - bgcolor on td and th + + +Robert Stayton: olink.xslAdd placeholder template to massage olink hot text to make +customization easier, per Feature Request 1828608. + + +Robert Stayton: targets.xslAdd support for collecting olink targets from a glossary +generated from a glossary.collection. + + +Robert Stayton: titles.xslHandle firstterm like glossterm in mode="title.markup". + + +Robert Stayton: titles.xslAdd match on info/title in title.markup templates where missing. + + +Mauritz Jeanson: titles.xslChanged "ancestor::title" to "(ancestor::title and (@id or @xml:id))". +This enables proper formatting of inline elements in titles in TOCs, +as long as these inlines don't have id or xml:id attributes. + + +Robert Stayton: labels.xslAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: stripns.xsl; pi.xslConvert function-available(exsl:node-set) to use the new param +so Xalan bug is isolated. + + +Mauritz Jeanson: titles.xslAdded fixes for bugs #2112656 and #1759205: +1. Reverted mistaken commits r7485 and r7523. +2. Updated the template with match="link" and mode="no.anchor.mode" so that +@endterm is used if it exists and if the link has no content. + + +Mauritz Jeanson: titles.xslAdded code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: olink.xslFix bug #2018717 use.local.olink.style uses wrong gentext context. + + +Robert Stayton: olink.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: common.xslFix bug #1669654 Broken output if copyright <year> contains a range. + + +Robert Stayton: labels.xslFix bug in labelling figure inside appendix inside article inside book. + + + + + +FO +The following changes have been made to the + fo code + since the 1.74.3 release. + + +Jirka Kosek: highlight.xslInclusion of highlighting code was simplified. Only one import is now necessary. + + +Robert Stayton: fop1.xslAdd the new fop extensions namespace declaration, in case FOP +extension functions are used. + + +Robert Stayton: formal.xslAdd support for pgwide on informal objects. + + +Robert Stayton: docbook.xslFixed spurious closing quote on line 134. + + +Robert Stayton: docbook.xsl; autoidx-kosek.xsl; autoidx.xslConvert function-available for node-set() to use +new $exsl.node.set.available param in test. + + +David Cramer: xref.xslSuppress extra space after xref when xrefstyle='select: label nopage' (#2740472) + + +Mauritz Jeanson: pi.xslFixed doc bug for row-height. + + +David Cramer: glossary.xslInternationalized punctuation in glosssee and glossseealso + + +Robert Stayton: param.xweb; param.ent; htmltbl.xsl; table.xslAdd support for some format properties on tables using +HTML table markup. These include: + - frame attribute on table (or uses $default.table.frame parameter). + - rules attribute on table (or uses $default.table.rules parameter). + - align attribute on td and th + - valign attribute on td and th + - colspan on td and th + - rowspan on td and th + - bgcolor on td and th + + +Robert Stayton: table.xslAdd support bgcolor in td and th +elements in HTML table markup. + + +Robert Stayton: htmltbl.xslAdd support for colspan and rowspan and bgcolor in td and th +elements in HTML table markup. + + +Robert Stayton: param.xwebFix working of page-master left and right margins. + + +Mauritz Jeanson: param.xweb; param.ent; fop1.xslAdded a new parameter, bookmarks.collapse, that controls the initial state of the bookmark tree. When the parameter has a non-zero value (the default), only the top-level bookmarks are displayed initially. Otherwise, the whole tree of bookmarks is displayed. This is implemented for FOP 0.9X. Closes FR #1792326. + + +Robert Stayton: table.xsl; pi.xslAdd support for dbfo row-height processing instruction, like that in dbhtml. + + +Robert Stayton: lists.xslAdd support for dbfo keep-together processing instruction for +entire list instances. + + +Robert Stayton: lists.xsl; block.xslAdd support fo dbfo keep-together processing instruction to +more blocks like list items and paras. + + +Robert Stayton: lists.xsl; param.xweb; param.entAdd new variablelist.term.properties to format terms, per request # 1968513. + + +Robert Stayton: inline.xslIn simple.xlink, rearrange order of processing. + + +Robert Stayton: xref.xslHandle firstterm like glossterm in mode="xref-to". + + +Robert Stayton: glossary.xsl; xref.xsl; pi.xsl; footnote.xslImplement simple.xlink for glosssee and glossseealso so they can use +other types of linking besides otherterm. + + +Robert Stayton: qandaset.xslAdd two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045. + + +Robert Stayton: titlepage.xslFor the book title templates, I changed info/title to book/info/title +so other element's titles will not be affected. + + +Robert Stayton: xref.xsl; verbatim.xslUse param exsl.node.set.available to test for function. + + +Robert Stayton: param.xweb; param.ent; footnote.xslStart using new param exsl.node.set.available to work around Xalan bug. + + +Robert Stayton: titlepage.templates.xmlAdd comment on use of t:predicate for editor to prevent +extra processing of multiple editors. Fixes bug 2687842. + + +Robert Stayton: xref.xsl; autoidx.xslAn indexterm primary, secondary, or tertiary element with an id or xml:id +now outputs that ID, so that index entries can be cross referenced to. + + +Mauritz Jeanson: synop.xslAdded modeless template for ooclass|oointerface|ooexception. +Closes bug #1623468. + + +Robert Stayton: xref.xslAdd template with match on indexterm in mode="xref-to" to fix bug 2102592. + + +Robert Stayton: xref.xslNow xref to qandaentry will use the label element in a question for +the link text if it has one. + + +Robert Stayton: inline.xslAdd id if specified from @id to output for quote and phrase so +they can be xref'ed to. + + +Robert Stayton: xref.xslAdd support for xref to phrase, simpara, anchor, and quote. +This assumes the author specifies something using xrefstyle since +the elements don't have ordinary link text. + + +Robert Stayton: toc.xslFix bug in new toc templates. + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: toc.xslRewrite toc templates to support an empty toc or populated toc +in all permitted contexts. Same for lot elements. +This fixes bug #1595969 for FO outputs. + + +Robert Stayton: index.xslFix indents for seealsoie so they are consistent. + + +Mauritz Jeanson: param.xwebRemoved duplicate (monospace.font.family). + + +Robert Stayton: param.xweb; param.entAdd glossentry.list.item.properties. + + +Robert Stayton: param.xweb; param.entAdd monospace.verbatim.font.width param to support @width on programlisting. + + +Robert Stayton: verbatim.xslPut programlisting in fo:block-container with writing-mode="lr-tb" +when text direction is right to left because all program languages +are left-to-right. + + +Robert Stayton: verbatim.xslAdd support for @width on screen and programlisting, fixes bug #2012736. + + +Robert Stayton: xref.xslFix bug #1973585 xref to para with xrefstyle not handled correctly. + + +Mauritz Jeanson: block.xslAdded support for acknowledgements in article. +Support in book/part remains to be added. + + +Robert Stayton: xref.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: fo.xslAdd writing-mode="tb-rl" as well since some XSL-FO processors support it. + + +Robert Stayton: autotoc.xsl; lists.xsl; glossary.xsl; fo.xsl; table.xsl; pagesetup.xslAdd support for writing-mode="rl-tb" (right-to-left) in FO outputs. +Changed instances of margin-left to margin-{$direction.align.start} +and margin-right to margin-{$direction.align.end}. Those direction.align +params are computed from the writing mode value in each locale's +gentext key named 'writing-mode', introduced in 1.74.3 to add +right-to-left support to HTML outputs. + + +Robert Stayton: param.xweb; param.entAdd attribute-sets for formatting glossary terms and defs. + + +Robert Stayton: param.xweb; param.entAdd writing.mode param for FO output. + + +Robert Stayton: autotoc.xslFix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title +instead of question, if available. For DocBook 5, use the info versions. + + +Keith Fahlgren: verbatim.xslAdd better pointer to README for XSLTHL + + +Keith Fahlgren: verbatim.xslMore tweaking the way that XSLTHL does or does not get called + + +Keith Fahlgren: verbatim.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +HTML +The following changes have been made to the + html code + since the 1.74.3 release. + + +Robert Stayton: lists.xslRemoved redundant lang and title attributes on list element inside +div element for lists. + + +Robert Stayton: inline.xsl; titlepage.xsl; division.xsl; toc.xsl; sections.xsl; table.xsl;⋯Convert all calls to class.attribute to calls to common.html.attributes +to support dir, lang, and title attributes in html output for all elements. +Fulfills feature request #1993833. + + +Robert Stayton: chunk-common.xslFix bug #2750253 wrong links in list of figures in chunk.html +when target html is in a subdirectory and dbhtml filename used. + + +Jirka Kosek: highlight.xslInclusion of highlighting code was simplified. Only one import is now necessary. + + +Robert Stayton: chunk-common.xsl; chunktoc.xsl; docbook.xsl; chunk-changebars.xsl; autoidx⋯Convert function-available for node-set() to use +new $exsl.node.set.available param in test. + + +Mauritz Jeanson: pi.xslFixed doc bug for row-height. + + +David Cramer: glossary.xslInternationalized punctuation in glosssee and glossseealso + + +Robert Stayton: lists.xsl; html.xsl; block.xslMore elements get common.html.attributes. +Added locale.html.attributes template which does the lang, +dir, and title attributes, but not the class attribute +(used on para, for example). + + +Robert Stayton: lists.xslReplace more literal class atts with mode="class.attribute" to support +easier customization. + + +Robert Stayton: glossary.xslSupport olinking in glosssee and glossseealso. + + +Robert Stayton: inline.xslIn simple.xlink, rearrange order of processing. + + +Robert Stayton: xref.xslHandle firstterm like glossterm in mode="xref-to". + + +Robert Stayton: lists.xsl; html.xsl; block.xslAdded template named common.html.attributes to output +class, title, lang, and dir for most elements. +Started adding it to some list and block elements. + + +Robert Stayton: qandaset.xslAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: param.xweb; chunk-code.xsl; param.ent; xref.xsl; chunkfast.xsl; verbatim.x⋯Use new param exsl.node.set.available to test, handles Xalan bug. + + +Robert Stayton: autoidx.xslUse named anchors for primary, secondary, and tertiary ids so +duplicate entries with different ids can still have an id output. + + +Robert Stayton: param.xweb; param.entAdd new param index.links.to.section. + + +Robert Stayton: xref.xsl; autoidx.xslPass through an id on primary, secondary, or tertiary to +the index entry, so that one could link to an index entry. +You can't link to the id on an indexterm because that is +used to place the main anchor in the text flow. + + +Robert Stayton: autoidx.xslAdd support for the new index.links.to.section param which permits +precise links to indexterms in HTML output rather than to +the section title. + + +Mauritz Jeanson: synop.xslAdded modeless template for ooclass|oointerface|ooexception. +Closes bug #1623468. + + +Robert Stayton: qandaset.xslMake sure a qandaset has an anchor, even when it has no title, +because it may be referenced in a TOC or xref. +Before, the anchor was output by the title, but there was no +anchor if there was no title. + + +Robert Stayton: xref.xslAdd a template for indexterm with mode="xref-to" to fix bug 2102592. + + +Robert Stayton: xref.xslNow xref to qandaentry will use the label element in a question for +the link text if it has one. + + +Robert Stayton: qandaset.xsl; html.xslCreate separate templates for computing label of question and answer +in a qandaentry, so such can be used for the alt text of an xref +to a qandaentry. + + +Robert Stayton: inline.xsl; xref.xslNow support xref to phrase, simpara, anchor, and quote, +most useful when an xrefstyle is used. + + +Robert Stayton: toc.xslRewrite toc templates to support an empty toc or populated toc +in all permitted contexts. Same for lot elements. +This fixes bug #1595969 for HTML outputs. + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; xref.xsl; titlepage.templates⋯Added code to handle acknowledgements in book and part. The element is processed +similarly to dedication. All acknowledgements will appear as front matter, after +any dedications. + + +Robert Stayton: index.xslRewrote primaryie, secondaryie and tertiaryie templates to handle +nesting of elements and seeie and seealsoie, as reported in +bug # 1168912. + + +Robert Stayton: autotoc.xslFix simplesect in toc problem. + + +Robert Stayton: verbatim.xslAdd support for @width per bug report #2012736. + + +Robert Stayton: formal.xsl; htmltbl.xslFix bug #1787140 HTML tables not handling attributes correctly. + + +Robert Stayton: param.xwebMove writing-mode param. + + +Keith Fahlgren: refentry.xslRemove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly) + + +Robert Stayton: table.xslFix bug #1945872 to allow passthrough of colwidth values to +HTML table when no tablecolumns.extension is available and +when no instance of * appears in the table's colspecs. + + +Mauritz Jeanson: block.xslAdded support for acknowledgements in article. +Support in book/part remains to be added. + + +Robert Stayton: chunk-common.xslFix bug #1787167 incorrect hot text for some olinks. + + +Robert Stayton: qandaset.xslFix bug 1546008: in qandaentry in a TOC, use its blockinfo/titleabbrev or blockinfo/title +instead of question, if available. For DocBook 5, use the info versions. + + +Robert Stayton: chunktoc.xslAdd support for generating olink database when using chunktoc.xsl. + + +Keith Fahlgren: verbatim.xslAdd better pointer to README for XSLTHL + + +Keith Fahlgren: verbatim.xslAnother stab at fixing the stupid XSLTHT includes across processors (Saxon regression reported by Sorin Ristache) + + +Keith Fahlgren: verbatim.xslMore tweaking the way that XSLTHL does or does not get called + + +Keith Fahlgren: verbatim.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.74.3 release. + + +Robert Stayton: table.xslConvert function-available test for node-set() function to +test of $exsl.node.set.available param. + + +Mauritz Jeanson: lists.xslAdded a template for bibliolist. Closes bug #1815916. + + + + + +ePub +The following changes have been made to the + epub code + since the 1.74.3 release. + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;⋯Slightly more nuanced handling of imageobject alternatives and better support in dbtoepub for XIncludes and ENTITYs to resolve Issue #2750442 reported by Raphael Hertzog. + + +Keith Fahlgren: docbook.xslAdd a colon after an abstract/title when mapping into the dc:description for OPF metadata in ePub output to help the flat text have more pseudo-semantics (sugestions from Michael Wiedmann) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xsl; bin/spec/files/de.xmlCorrectly set dc:language in OPF metadata when i18nizing. Closes Bug #2755150 + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; docbook.xslCorrected namespace declarations for literal XHTML elements to make them serialize "normally" + + +Keith Fahlgren: docbook.xslBe a little bit more nuanced about dates + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook subjectset -> OPF dc:subject mapping and tests + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook date -> OPF dc:date mapping and tests + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Add DocBook abstract -> OPF dc:description mapping and tests + + +Robert Stayton: docbook.xslCheck in patch submitted by user to add opf:file-as attribute +to dc:creator element. + + +Keith Fahlgren: bin/dbtoepubAdding --output option to dbtoepub based on user request + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rbCleaning and regularizing the generation of namespaced nodes for OPF, NCX, XHTML and other outputted filetypes (hat tip to bobstayton for pointing out the silly, incorrect code) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/refclass.xmlRemove a nesting of <p> inside <p> for refclass (made XHTML* invalid, made HTML silly) + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/blockquotepre.xmlAdded regression test and fix for XHTML validation problem with <a>s added inside <blockquote>; This potentially causes another problem (where something is referenced by has no anchor, but someone reporting that should cause the whole <a id='thing'/> thing to be reconsidered with modern browsers in mind. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.74.3 release. + + +Robert Stayton: htmlhelp-common.xslAdd support for generating olink target database for htmlhelp files. + + + + + + +Params +The following changes have been made to the + params code + since the 1.74.3 release. + + +Robert Stayton: default.table.rules.xmlAdd default setting for @rules attribute on HTML markup tables. + + +Mauritz Jeanson: bookmarks.collapse.xmlAdded a new parameter, bookmarks.collapse, that controls the initial state +of the bookmark tree. When the parameter has a non-zero value (the default), +only the top-level bookmarks are displayed initially. Otherwise, the whole +tree of bookmarks is displayed. + +This is implemented for FOP 0.9X. Closes FR #1792326. + + +Robert Stayton: variablelist.term.properties.xmlAdd new variablelist.term.properties to format terms, per +request # 1968513. + + +Robert Stayton: qanda.defaultlabel.xmlAdd two new qanda.defaultlabel values so that numbered sections +and numbered questions can be distinguished. Satisfies +Feature Request #1539045. + + +Robert Stayton: index.links.to.section.xmlChange default to 1 to match past behavior. + + +Robert Stayton: exsl.node.set.available.xmlIsolate this text for Xalan bug regarding exsl:node-set available. +If it is ever fixed in Xalan, just fix it here. + + +Robert Stayton: index.links.to.section.xmlAdd param to control whether an index entry links to +a section title or to the precise location of the +indexterm. + + +Robert Stayton: glossentry.list.item.properties.xmlNew attribute list for glossentry in glossary. + + +Robert Stayton: monospace.verbatim.font.width.xmlNew parameter to support @width on programlisting and screen. + + +Mauritz Jeanson: highlight.source.xmlUpdated and reorganized the description. + + +Robert Stayton: page.margin.outer.xml; page.margin.inner.xmlAdd caveat about XEP bug when writing-mode is right-to-left. + + +Robert Stayton: article.appendix.title.properties.xml; writing.mode.xml; body.start.indent⋯Change 'left' to 'start' and 'right' to 'end' to support right-to-left +writing mode. + + +Robert Stayton: glossdef.block.properties.xml; glossdef.list.properties.xml; glossterm.blo⋯Add attribute-sets for formatting glossary terms and defs. + + +Robert Stayton: glossterm.separation.xmlClarify the description. + + +Robert Stayton: make.year.ranges.xmlNow handles year element containing a comma or dash without error. + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.74.3 release. + + +Jirka Kosek: READMEInclusion of highlighting code was simplified. Only one import is now necessary. + + +Keith Fahlgren: READMEAdding XSLTHL readme + + +Keith Fahlgren: common.xslAlternate attempt at sanely including/excluding XSLTHT code + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.74.3 release. + + +Mauritz Jeanson: src/com/nwalsh/saxon/Text.javaAdded a fix that prevents output of extra blank line. +Hopefully this closes bug #894805. + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.74.3 release. + + +Mauritz Jeanson: src/com/nwalsh/xalan/Text.javaAdded a fix that prevents output of extra blank line. +Hopefully this closes bug #894805. + + + + + + + + +Release Notes: 1.74.3 +This release fixes some bugs in the 1.74.2 release. +See highlighting/README for XSLTHL usage instructions. + + +Release Notes: 1.74.2 +This release fixes some bugs in the 1.74.1 release. + + + +Release Notes: 1.74.1 +This release includes important bug fixes and adds the following +significant feature changes: + + +Gentext +Kirghiz locale added and Chinese translations have been simplified. +Somme support for gentext and right-to-left languages has been added. + + +FO +Various bugs have been resolved. +Support for a new processing instruction: dbfo funcsynopsis-style has been added. +Added new param email.mailto.enabled for FO output. Patch from Paolo Borelli. + +Support for documented metadata in fop1 mode has been added. + + + + +Highlighting +Support for the latest version of XSLTHL 2.0 and some new language syntaxes have been added to a variety of outputs. + + + + +Manpages +Added man.output.better.ps.enabled param (zero default). It non-zero, no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command. + + + + + +HTML +Support for writing.mode to set text direction and alignment based on document locale has been added. + +Added a new top-level stylesheet module, chunk-changebars.xsl, to be +used for generating chunked output with highlighting based on change +(@revisionflag) markup. The module imports/includes the standard chunking +and changebars templates and contains additional logic for chunked output. +See FRs #1015180 and #1819915. + + + + +ePub + +Covers now look better in Adobe Digital Editions thanks to a patch from Paul Norton of Adobe + +Cover handling now more generic (including limited DocBook 5.0 cover support thanks to patch contributed by Liza Daly. +Cover markup now carries more reliably into files destined for .mobi and the Kindle. +dc:identifiers are now generated from more types of numbering schemes. +Both SEO and semantic structure of chunked ePub output by ensuring that we always send out one and only one h1 in each XHTML chunk. + +Primitive support for embedding a single font added. + + +Support for embedding a CSS customizations added. + + + + + +Roundtrip + + +Support for imagedata-metadata and table as images added. + + +Support for imagedata-metadata and legalnotice as images added. + + + + +Params +man.output.better.ps.enabled added for Manpages output + +writing.mode.xml added to set text direction. + + +Added new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +highlight.source upgraded to support the latest version of XSLTHL 2.0. + + + + + + + + +The following is a list of changes that have been made since the 1.74.0 release. + + + +Gentext +The following changes have been made to the gentext code since the 1.74.0 release. + + +Michael(tm) Smith: locale/ky.xml; Makefilenew Kirghiz locale from Ilyas Bakirov + + +Mauritz Jeanson: locale/en.xmlAdded "Acknowledgements". + + +Dongsheng Song: locale/zh_cn.xmlSimplified Chinese translation. + + +Robert Stayton: locale/lv.xml; locale/ca.xml; locale/pt.xml; locale/tr.xml; locale/af.xml;⋯Add writing-mode gentext string to support right-to-left languages. + + + + + +FO +The following changes have been made to the fo code since the 1.74.0 release. + + +David Cramer: footnote.xslAdded a check to confirm that a footnoteref's linkend points to a footnote. Stylesheets stop processing if not and provide a useful error message. + + +Mauritz Jeanson: spaces.xslConvert spaces to fo:leader also in elements in the DB 5 namespace. + + +Mauritz Jeanson: pi.xsl; synop.xslAdded support for a new processing instruction: dbfo funcsynopsis-style. +Closes bug #1838213. + + +Michael(tm) Smith: inline.xsl; param.xweb; param.entAdded new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +Mauritz Jeanson: docbook.xslAdded support for document metadata for fop1 (patch #2067318). + + +Jirka Kosek: param.ent; param.xweb; highlight.xslUpgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + +HTML +The following changes have been made to the html code since the 1.74.0 release. + + +Robert Stayton: param.xweb; docbook.xsl; param.ent; html.xslAdd support for writing.mode to set text direction and alignment based on document locale. + + +Mauritz Jeanson: chunk-changebars.xslAdded a new top-level stylesheet module, chunk-changebars.xsl, to be +used for generating chunked output with highlighting based on change +(@revisionflag) markup. The module imports/includes the standard chunking +and changebars templates and contains additional logic for chunked output. +See FRs #1015180 and #1819915. + + + + + +Manpages +The following changes have been made to the manpages code since the 1.74.0 release. + + +Michael(tm) Smith: docbook.xslPut the following at the top of generated roff for each page: + \" t +purpose is to explicitly tell AT&T troff that the page needs to be +pre-processed through tbl(1); groff can figure it out +automatically, but apparently AT&T troff needs to be explicitly told + + + + + +ePub +The following changes have been made to the epub code since the 1.74.0 release. + + +Keith Fahlgren: docbook.xslPatch from Paul Norton of Adobe to get covers to look better in Adobe Digital Editions + + +Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/v5cover.xml; bin/spec/sp⋯Patch contributed by Liza Daly to make ePub cover handling more generic. Additionally +DocBook 5.0's <cover> now has some limited support: + +- should reference a cover in the OPF guide for a DocBook 5.0 test document + + +Keith Fahlgren: bin/spec/files/isbn.xml; bin/spec/files/issn.xml; bin/spec/files/biblioid.⋯Liza Daly reported that the dc:identifer-generation code was garbage (she was right). + +Added new tests: +- should include at least one dc:identifier +- should include an ISBN as URN for dc:identifier if an ISBN was in the metadata +- should include an ISSN as URN for dc:identifier if an ISSN was in the metadata +- should include an biblioid as a dc:identifier if an biblioid was in the metadata +- should include a URN for a biblioid with @class attribute as a dc:identifier if an biblioid was in the metadata + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_spec.rbImprove both SEO and semantic structure of chunked ePub output by ensuring that +we always send out one and only one h1 in each XHTML chunk. + +DocBook::Epub +- should include one and only one <h1> in each HTML file in rendered ePub files +for <book>s +- should include one and only one <h1> in each HTML file in rendered ePub files +for <book>s even if they do not have section markup + + +Keith Fahlgren: docbook.xsl; bin/spec/epub_realbook_spec.rb; bin/spec/files/orm.book.001.x⋯Adding better support for covers in epub files destined for .mobi and the Kindle + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/DejaVuSerif.otf; docbook.⋯Adding primitive support for embedding a single font + + +Keith Fahlgren: bin/dbtoepub; bin/lib/docbook.rb; bin/spec/files/test_cust.xsl; bin/spec/e⋯Adding support for user-specified customization layers in dbtoepub + + +Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯Adding CSS support to .epub target & dbtoepub: + -c, --css [FILE] Use FILE for CSS on generated XHTML. + + +DocBook::Epub +... +- should include a CSS link in HTML files when a CSS file has been provided +- should include CSS file in .epub when a CSS file has been provided +- should include a CSS link in OPF file when a CSS file has been provided + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.74.0 release. + + +Steve Ball: blocks2dbk.xsl; template.xml; template.dotadded support for imagedata-metadata +added support for table as images + + +Steve Ball: blocks2dbk.xsl; normalise2sections.xsl; sections2blocks.xslImproved support for personname inlines. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xmlAdded support for legalnotice. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xsladded support for orgname in author + + +Steve Ball: specifications.xml; supported.xml; blocks2dbk.xsl; wordml2normalise.xsl; dbk2w⋯Updated specification. +to-DocBook: add cols attribute to tgroup +from-DocBook: fix for blockquote title + + + + + +Params +The following changes have been made to the params since the 1.74.0 release. + + +The change was to add man.output.better.ps.enabled parameter, with +its default value set to zero. + +If the value of the man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps command for that +page will include a number of enhancements designed to improve the +quality of that output. + +If man.output.better.ps.enabled is zero (the default), no such +markup is embedded in generated man pages, and no enhancements are +included in the PostScript output generated from those man pages +by the man -Tps command. + +WARNING: The enhancements provided by this parameter rely on +features that are specific to groff (GNU troff) and that are not +part of "classic" AT&T troff or any of its derivatives. Therefore, +any man pages you generate with this parameter enabled will be +readable only on systems on which the groff (GNU troff) program is +installed, such as GNU/Linux systems. The pages will not not be +readable on systems on with the classic troff (AT&T troff) command +is installed. + +NOTE: The value of this parameter only affects PostScript output +generated from the man command. It has no effect on output +generated using the FO backend. + +TIP: You can generate PostScript output for any man page by +running the following command: + +man FOO -Tps > FOO.ps + +You can then generate PDF output by running the following command: + +ps2pdf FOO.ps + + +Robert Stayton: writing.mode.xmlwriting mode param used to set text direction. + + +Michael(tm) Smith: email.mailto.enabled.xmlAdded new param email.mailto.enabled for FO output. +Patch from Paolo Borelli. Closes #2086321. + + +Jirka Kosek: highlight.source.xml; highlight.xslthl.config.xmlUpgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.74.0 release. + + +Jirka Kosek: cpp-hl.xml; c-hl.xml; tcl-hl.xml; php-hl.xml; common.xsl; perl-hl.xml; delphi⋯Upgraded to support the latest version of XSLTHL 2.0 + -- nested markup in highlited code is now processed + -- it is no longer needed to specify path XSLTHL configuration file using Java property + -- support for new languages, including Perl, Python and Ruby was added + + + + + + + + +Release Notes: 1.74.0 +This release includes important bug fixes and adds the following +significant feature changes: + + +.epub target +Paul Norton (Adobe) and Keith Fahlgren(O'Reilly Media) have donated code that generates .epub documents from +DocBook input. An alpha-reference implementation in Ruby has also been provided. +.epub is an open standard of the The International Digital Publishing Forum (IDPF), +a the trade and standards association for the digital publishing industry. +Read more about this target in epub/README + + + + +XHTML 1.1 target +To support .epub output, a strict XHTML 1.1 target has been added. The stylesheets for this output are +generated and are quite similar to the XHTML target. + + +Gentext updates +A number of locales have been updated. + + +Roundtrip improvements +Table, figure, template syncronization, and character style improvements have been made for WordML & Pages. Support added for OpenOffice.org. + + + + + First implementation of a libxslt extension + + A stylesheet extension for libxslt, written in Python, has been added. + The extension is a function for adjusting column widths in CALS tables. See + extensions/README.LIBXSLT for more information. + + + + + +The following is a list of changes that have been made + since the 1.73.2 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.73.2 release. + + +Michael(tm) Smith: locale/id.xmlChecked in changes to Indonesion locale submitted by Euis Luhuanam a long time ago. + + +Michael(tm) Smith: locale/lt.xmlAdded changes to Lithuanian locate submitted a long time back by Nikolajus Krauklis. + + +Michael(tm) Smith: locale/hu.xmlfixed error in lowercase.alpha definition in Hungarian locale + + +Michael(tm) Smith: locale/nb.xmlCorrected language code for nb locale, and restored missing "startquote" key. + + +Michael(tm) Smith: locale/ja.xmlCommitted changes to ja locale file, from Akagi Kobayashi. Adds bracket quotes around many xref instances that did not have them +before. + + +Michael(tm) Smith: Makefile"no" locale is now "nb" + + +Michael(tm) Smith: locale/nb.xmlUpdate Norwegian BokmÃ¥l translation. Thanks to Hans F. Nordhaug. + + +Michael(tm) Smith: locale/no.xml; locale/nb.xmlper message from Hans F. Nordhaug, correct identifier for +Norwegian BokmÃ¥l is "nb" (not "no") and has been for quite some +time now... + + +Michael(tm) Smith: locale/ja.xmlConverted ja.xml source file to use real unicode characters so +that the actual glyphs so up when you edit it in a text editor +(instead of the character references). + + +Michael(tm) Smith: locale/ja.xmlChecked in changes to ja.xml locale file. Thanks to Akagi Kobayashi. + + +Michael(tm) Smith: locale/it.xmlChanges from Federico Zenith + + +Dongsheng Song: locale/zh_cn.xmlAdded missing translations. + + + + + +Common +The following changes have been made to the + common code + since the 1.73.2 release. + + +Michael(tm) Smith: l10n.xslAdded new template "l10.language.name" for retrieving the +English-language name of the lang setting of the current document. +Closes #1916837. Thanks to Simon Kennedy. + + +Michael(tm) Smith: refentry.xslfixed syntax error + + +Michael(tm) Smith: refentry.xslfixed a couple of typos + + +Michael(tm) Smith: refentry.xslrefined handling of cases where refentry "source" or "manual" +metadata is missing or when we use fallback content instead. We +now report a Warning if we use fallback content. + + +Michael(tm) Smith: refentry.xsldon't use refmiscinfo@class=date value as fallback for refentry +"source" or "manual" metadata fields + + +Michael(tm) Smith: refentry.xslMade reporting of missing refentry metadata more quiet: + + - we no longer report anything if usable-but-not-preferred + metadata is found; we just quietly use whatever we manage to + find + + - we now only report missing "source" metadata if the refentry + is missing BOTH "source name" and "version" metadata; if it + has one but not the other, we use whichever one it has and + don't report anything as missing + +The above changes were made because testing with some "real world" +source reveals that some authors are intentionally choosing to use +"non preferred" markup for some metadata, and also choosing to +omit "source name" or "version" metadata in there DocBook XML. So +it does no good to give them pedantic reminders about what they +already know... + +Also, changed code to cause "fixme" text to be inserted in output +in particular cases: + + - if we can't manage to find any "source" metadata at all, we + now put fixme text into the output + + - if we can't manage to find any "manual" metadata a all, we + now put fixme text into the output + +The "source" and "manual" metadata is necessary information, so +buy putting the fixme stuff in the output, we alert users to the +need problem of it being missing. + + +Michael(tm) Smith: refentry.xslWhen generating manpages output, we no longer report anything if +the refentry source is missing date or pubdate content. In +practice, many users intentionally omit the date from the source +because they explicitly want it to be generated. + + +Michael(tm) Smith: l10n.xmlfurther change needed for switch from no locale to nb. + + +Michael(tm) Smith: common.xslAdded support for orgname in authorgroup. Thanks to Camille +Bégnis. + + +Michael(tm) Smith: Makefile"no" locale is now "nb" + + +Mauritz Jeanson: stripns.xslRemoved the template matching "ng:link|db:link" (in order to make @xlink:show +work with <link> elements). As far as I can tell, this template is no longer needed. + + +Mauritz Jeanson: entities.entMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: titles.xslAdded an update the fix made in revision 7528 (handling of xref/link in no.anchor.mode mode). +Having xref in title is not a problem as long as the target is not an ancestor element. +Closes bug #1838136. + +Note that an xref that is in a title and whose target is an ancestor element is still not +rendered in the TOC. This could be considered a bug, but on the other hand I cannot really +see the point in having such an xref in a document. + + +Mauritz Jeanson: titles.xslAdded a "not(ancestor::title)" test to work around "too many nested +apply-templates" problems when processing xrefs or links in no.anchor.mode mode. +Hopefully, this closes bug #1811721. + + +Mauritz Jeanson: titles.xslRemoved old template matching "link" in no.anchor.mode mode. + + +Mauritz Jeanson: titles.xslProcess <link> in no.anchor.mode mode with the same template as <xref>. +Closes bug #1759205 (Empty link in no.anchor.mode mode). + + +Mauritz Jeanson: titles.xslIn no.anchor.mode mode, do not output anchors for elements that are descendants +of <title>. Previously, having inline elements with @id/@xml:id in <title>s +resulted in anchors both in the TOC and in the main flow. Closes bug #1797492. + + + + + +FO +The following changes have been made to the + fo code + since the 1.73.2 release. + + Mauritz Jeanson: pi.xslUpdated documentation for keep-together. + Mauritz Jeanson: task.xslEnabled use of the keep-together PI on task elements. + +Robert Stayton: index.xslFOP1 requires fo:wrapper for inline index entries, not fo:inline. + + +Robert Stayton: index.xslFixed non-working inline.or.block template for indexterm wrappers. +Add fop1 to list of processors using inline.or.block. + + +Mauritz Jeanson: table.xslFixed bug #1891965 (colsep in entytbl not working). + + +Mauritz Jeanson: titlepage.xslAdded support for title in revhistory. Closes bug #1842847. + + +Mauritz Jeanson: pi.xslSmall doc cleanup (dbfo float-type). + + +Mauritz Jeanson: titlepage.xslInsert commas between multiple copyright holders. + + +Mauritz Jeanson: autotoc.xsl; division.xslAdded modifications to support nested set elements. See bug #1853172. + + +David Cramer: glossary.xslAdded normalize-space to xsl:sorts to avoid missorting of glossterms due to stray leading spaces. + + +David Cramer: glossary.xslFixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry + + +Mauritz Jeanson: inline.xslAdded a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid, +and the "hot text" is the biblioid itself enclosed in brackets. + + +Mauritz Jeanson: inline.xslMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: docbook.xslUpdated message about unmatched element. + + +Mauritz Jeanson: param.xwebAdded link to profiling chapter of TCG. + + +Mauritz Jeanson: refentry.xslFixed typo (refsynopsysdiv -> refsynopsisdiv). + + +David Cramer: fop.xsl; fop1.xsl; ptc.xsl; xep.xslAdded test to check generate.index param when generating pdf bookmarks + + +Mauritz Jeanson: graphics.xslAdded support for MathML in imagedata. + + +Michael(tm) Smith: math.xslRemoved unnecessary extra test condition in test express that +checks for passivetex. + + +Michael(tm) Smith: math.xslDon't use fo:instream-foreign-object if we are processing with +passivetex. Closes #1806899. Thanks to Justus Piater. + + +Mauritz Jeanson: component.xslAdded code to output a TOC for an appendix in an article when +generate.toc='article/appendix toc'. Closes bug #1669658. + + +Dongsheng Song: biblio-iso690.xslChange encoding from "windows-1250" to "UTF-8". + + +Mauritz Jeanson: pi.xslUpdated documentation for dbfo_label-width. + + +Mauritz Jeanson: lists.xslAdded support for the dbfo_label-width PI in calloutlists. + + +Robert Stayton: biblio.xslSupport finding glossary database entries inside bibliodivs. + + +Robert Stayton: formal.xslComplete support for <?dbfo pgwide="1"?> for informal +elements too. + + +Mauritz Jeanson: table.xslIn the table.block template, added a check for the dbfo_keep-together PI, so that +a table may break (depending on the PI value) at a page break. This was needed +since the outer fo:block that surrounds fo:table has keep-together.within-column="always" +by default, which prevents the table from breaking. Closes bug #1740964 (Titled +table does not respect dbfo PI). + + +Mauritz Jeanson: pi.xslAdded a few missing @role="tcg". + + +Mauritz Jeanson: inline.xslUse normalize-space() in glossterm comparisons (as in html/inline.xsl). + + +Mauritz Jeanson: autoidx.xslRemoved the [&scope;] predicate from the target variable in the template with name="reference". +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms, +with index.on.type=1. Closes bug #1680836. + + +Michael(tm) Smith: inline.xsl; xref.xsl; footnote.xslAdded capability in FO output for displaying URLs for all +hyperlinks (elements marked up with xlink:href attributes) in the +same way as URLs for ulinks are already handled (which is to say, +either inline or as numbered footnotes). + +Background on this change: +DocBook 5 allows "ubiquitous" linking, which means you can make +any element a hyperlink just by adding an xlink:href attribute to +it, with the value set to an external URL. That's in contrast to +DocBook 4, which only allows you to use specific elements (e.g., +the link and ulink elements) to mark up hyperlinks. + +The existing FO stylesheets have a mechanism for handling display +of URLs for hyperlinks that are marked up with ulink, but they did +not handle display of URLs for elements that were marked up with +xlink:href attributes. This change adds handling for those other +elements, enabling the URLs they link to be displayed either +inline or as numbered footnotes (depending on what values the user +has the ulink.show and ulink.footnotes params set to). + +Note that this change only adds URL display support for elements +that call the simple.xlink template -- which currently is most +(but not all) inline elements. + +This change also moves the URL display handling out of the ulink +template and into a new "hyperlink.url.display" named template; +the ulink template and the simple.xlink named template now both +call the hyperlink.url.display template. + +Warning: In the stylesheet code that determines what footnote +number to assign to each footnote or external hyperlink, there is +an XPath expression for determining whether a particular +xlink:href instance is an external hyperlink; that expression is +necessarily a bit complicated and further testing may reveal that +it doesn't handle all cases as expected -- so some refinements to +it may need to be done later. + +Closes #1785519. Thanks to Ken Morse for reporting and +troubleshooting the problem. + + + + + +HTML +The following changes have been made to the + html code + since the 1.73.2 release. + + Keith Fahlgren: inline.xsl; synop.xslWork to make HTML and XHTML targets more valid + Keith Fahlgren: table.xslAdd better handling for tables that have footnotes in the titles + Keith Fahlgren: biblio.xslAdd anchors to bibliodivs + +Keith Fahlgren: formal.xsl; Makefile; htmltbl.xslInitial checkin/merge of epub target from work provided by Paul Norton of Adobe +and Keith Fahlgren of O'Reilly. +This change includes new code for generating the XHTML 1.1 target sanely. + + +Mauritz Jeanson: biblio.xslAdded code for creating URLs from biblioids with @class="doi" (representing Digital +Object Identifiers). See FR #1934434 and http://doi.org. + +To do: 1) Add support for FO output. 2) Figure out how @class="doi" should be handled +for bibliorelation, bibliosource and citebiblioid. + + +Norman Walsh: formal.xslDon't use xsl:copy because it forces the resulting element to be in the same namespace as the source element; in the XHTML stylesheets, that's wrong. But the HTML-to-XHTML converter does the right thing with literal result elements, so use one of them. + + +Michael(tm) Smith: MakefileAdded checks and hacks to various makefiles to enable building +under Cygwin. This stuff is ugly and maybe not worth the mess and +trouble, but does seem to work as expected and not break anything +else. + + +Michael(tm) Smith: docbook.xsladded "exslt" namespace binding to html/docbook.xsl file (in +addition to existing "exsl" binding. reason is because lack of it +seems to cause processing problems when using the profiled +version of the stylsheet + + +Norman Walsh: chunk-common.xslRename link + + +Mauritz Jeanson: table.xslAdded a fix to make rowsep apply to the last row of thead in entrytbl. + + +Michael(tm) Smith: synop.xslSimplified and streamlined handling of output for ANSI-style +funcprototype output, to correct a problem that was causing type +data to be lost in the output parameter definitions. For example, +for an instance like this: + <paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +... the brackets (indicating an array type) were being dropped. + + +Michael(tm) Smith: synop.xslChanged HTML handling of K&R-style paramdef output. The parameter +definitions are no longer output in a table (though the prototype +still is). The reason for the change is that the +kr-tabular-funcsynopsis-mode template was causing type data to be +lost in the output parameter definitions. For example, for an +instance like this: + <paramdef>void *<parameter>dataptr</parameter>[]</paramdef> +... the brackets (indicating an array type) were being dropped. +The easiest way to deal with the problem is to not try to chop up +the parameter definitions and display them in table format, but to +instead just output them as-is. May not look quite as pretty, but +at least we can be sure no information is being lost... + + +Michael(tm) Smith: pi.xslupdated wording of doc for funcsynopsis-style PI + + +Michael(tm) Smith: param.xweb; param.ent; synop.xslRemoved the funcsynopsis.tabular.threshold param. It's no longer +being used in the code and hasn't been since mid 2006. + + +Mauritz Jeanson: graphics.xslAdded support for the img.src.path parameter for SVG graphics. Closes bug #1888169. + + +Mauritz Jeanson: chunk-common.xslAdded missing space. + + +Norman Walsh: component.xslFix bug where component titles inside info elements were not handled properly + + +Michael(tm) Smith: pi.xslMoved dbhtml_stop-chunking embedded doc into alphabetical order, +fixed text of TCG section it see-also'ed. + + +David Cramer: pi.xslAdded support for <?dbhtml stop-chunking?> processing instruction + + +David Cramer: chunk-common.xsl; pi.xslAdded support for <?dbhtml stop-chunking?> processing instruction + + +David Cramer: glossary.xslFixed bug #1854199: glossary.xsl should use the sortas attribute on glossentry. Also added normalize-space to avoid missorting due to stray leading spaces. + + +Mauritz Jeanson: inline.xslAdded a template for citebiblioid. The hyperlink target is the parent of the referenced biblioid, +and the "hot text" is the biblioid itself enclosed in brackets. + + +Mauritz Jeanson: inline.xslAdded support for @xlink:show in the simple.xlink template. The "new" and "replace" +values are supported (corresponding to values of "_blank" and "_top" for the +ulink.target parameter). I have assumed that @xlink:show should override ulink.target +for external URI links. This closes bugs #1762023 and #1727498. + + +Mauritz Jeanson: inline.xslMoved declaration of comment.block.parents entity to common/entities.ent. + + +Mauritz Jeanson: param.xwebAdded link to profiling chapter of TCG. + + +Dongsheng Song: biblio-iso690.xslChange encoding from "windows-1250" to "UTF-8". + + +Robert Stayton: biblio.xslAdd support in biblio collection to entries in bibliodivs. + + +Mauritz Jeanson: pi.xslAdded missing @role="tcg". + + +Mauritz Jeanson: chunk-common.xsl; titlepage.xslRefactored legalnotice/revhistory chunking, so that the use.id.as.filename +parameter as well as the dbhtml_filename PI are taken into account. A new named +template in titlepage.xsl is used to compute the filename. + + +Mauritz Jeanson: chunk-common.xsl; titlepage.xslAn update to the fix for bug #1790495 (r7433): +The "ln-" prefix is output only when the legalnotice doesn't have an +@id/@xml:id, in which case the stylesheets generate an ID value, +resulting in a filename like "ln-7e0fwgj.html". This is useful because +without the prefix, you wouldn't know that the file contained a legalnotice. +The same logic is also applied to revhistory, using an "rh-" prefix. + + +Mauritz Jeanson: autoidx.xslRemoved the [&scope;] predicate from the target variable in the template with name="reference". +This filter was the cause of missing index backlinks when @zone and @type were used on indexterms, +with index.on.type=1. Closes bug #1680836. + + +Mauritz Jeanson: titlepage.xslAdded 'ln-' prefix to the name of the legalnotice chunk, in order to match the +<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl). +Modified the href attribute on the legalnotice link. +Closes bug #1790495. + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.73.2 release. + + +Michael(tm) Smith: other.xslslightly adjusted spacing around admonition markers + + +Michael(tm) Smith: refentry.xsl; utility.xslmake sure refsect3 titles are preceded by a line of space, and +make the indenting of their child content less severe + + +Michael(tm) Smith: block.xslonly indent verbatim environments in TTY output, not in non-TTY/PS + + +Michael(tm) Smith: block.xslmade another adjustment to correct vertical alignment of admonition marker + + +Michael(tm) Smith: block.xsl; other.xslAdjusted/corrected alignment of adominition marker in PS/non-TTY output. + + +Michael(tm) Smith: endnotes.xslFor PS/non-TTY output, display footnote/endnote numbers in +superscript. + + +Michael(tm) Smith: table.xsl; synop.xsl; utility.xslChanged handling of hanging indents for cmdsynopsis, funcsynopsis, +and synopfragment such that they now look correct in non-TTY/PS +output. We now use the groff \w escape to hang by the actual width +-- in the current font -- of the command, funcdef, or +synopfragment references number (as opposed to hanging by the +number of characters). This rendering in TTY output remains the +same, since the width in monospaced TTY output is the same as the +number of characters. + +Also, created new synopsis-block-start and synopsis-block-end +templates to use for cmdsynopsis and funcsynopsis instead of the +corresponding verbatim-* templates. + +Along with those changes, also corrected a problem that caused the +content of synopfragment to be dropped, and made a +vertical-spacing change to adjust spacing around table titles and +among sibling synopfragment instances. + + +Michael(tm) Smith: other.xsluse common l10.language.name template to retrieve English-language name + + +Michael(tm) Smith: synop.xsl; inline.xsladded comment in code explaining why we don't put filename output +in italic (despite the fact that man guidelines say we should) + + +Michael(tm) Smith: inline.xslput filename output in monospace instead of italic + + +Michael(tm) Smith: synop.xslput cmdsynopsis in monospace + + +Michael(tm) Smith: inline.xslremoved template match for literal. template matches for monospace +inlines are all imported from the HTML stylesheet + + +Michael(tm) Smith: block.xsldon't indent verbatim environments that are descendants of +refsynopsisdiv, not put backgrounds behind them + + +Michael(tm) Smith: inline.xslset output of the literal element in monospace. this causes all +inline monospace instances in the git man pages to be set in +monospace (since DocBook XML source for git docs is generated with +asciidoc and asciidoc consistently outputs only <literal> for +inline monospace (not <command> or <code> or anything else). +Of course this only affects non-TTY output... + + +Michael(tm) Smith: utility.xslAdded inline.monoseq named template. + + +Michael(tm) Smith: utility.xsldon't bother using a custom register to store the previous +font-family value when setting blocks of text in code font; just +use \F[] .fam with no arg to switch back + + +Michael(tm) Smith: endnotes.xslput links in blue in PS output (note that this matches how groff +renders content marked up with the .URL macro) + + +Michael(tm) Smith: endnotes.xsl; param.xweb; param.entremoved man.links.are.underlined and added man.font.links. Also, +changed the default font formatting for links to bold. + + +Michael(tm) Smith: endnotes.xsl; param.xweb; param.entAdded new param man.base.url.for.relative.links .. specifies a +base URL for relative links (for ulink, @xlink:href, imagedata, +audiodata, videodata) shown in the generated NOTES section of +man-page output. The value of man.base.url.for.relative.links is +prepended to any relative URI that is a value of ulink url, +xlink:href, or fileref attribute. + +If you use relative URIs in link sources in your DocBook refentry +source, and you leave man.base.url.for.relative.links unset, the +relative links will appear "as is" in the NOTES section of any +man-page output generated from your source. That's probably not +what you want, because such relative links are only usable in the +context of HTML output. So, to make the links meaningful and +usable in the context of man-page output, set a value for +man.base.url.for.relative.links that points +to the online version of HTML output generated from your DocBook +refentry source. For example: + + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + +Michael(tm) Smith: info.xslIf a source refentry contains a Documentation or DOCUMENTATION +section, don't report it as having missing AUTHOR information. +Also, if missing a contrib/personblurb for a person or org, report +pointers to http://docbook.sf.net/el/personblurb and to +http://docbook.sf.net/el/contrib + + +Michael(tm) Smith: info.xslIf we encounter an author|editor|othercredit instance that lacks a +personblurb or contrib, report it to the user (because that means +we have no information about that author|editor|othercredit to +display in the generated AUTHOR|AUTHORS section...) + + +Michael(tm) Smith: info.xsl; docbook.xsl; other.xslif we can't find any usable author data, emit a warning and insert +a fixme in the output + + +Michael(tm) Smith: info.xslfixed bug in indenting of output for contrib instances in AUTHORS +section. Thanks to Daniel Leidert and the fglrx docs for exposing +the bug. + + +Michael(tm) Smith: block.xslfor a para or simpara that is the first child of a callout, +suppress the .sp or .PP that would normally be output (because in +those cases, the output goes into a table cell, and the .sp or .PP +markup causes a spurious linebreak before it when displayed + + +Michael(tm) Smith: lists.xslAdded support for rendering co callouts and calloutlist instances. +So you can now use simple callouts -- marking up programlisting +and such with co instances -- and have the callouts displayed in +man-page output. ("simple callouts" means using co@id and +callout@arearefs pointing to co@id instances; in man/roff output, +we can't/don't support markup that uses areaset and area) + + +Michael(tm) Smith: block.xslonly put a line of space after a verbatim if it's followed by a +text node or a paragraph + + +Michael(tm) Smith: utility.xslput verbatim environments in slightly smaller font in non-TTY +output + + +Michael(tm) Smith: lists.xslminor whitespace-only reformatting of lists.xsl source + + +Michael(tm) Smith: lists.xslMade refinements/fixes to output of orderedlist and itemizedlist +-- in part, to get mysql man pages to display correctly. This +change causes a "\c" continuation marker to be added between +listitem markers and contents (to ensure that the content remains +on the same line as the marker when displayed) + + +Michael(tm) Smith: block.xslput a line of vertical space after all verbatim output that has +sibling content following it (not just if that sibling content is +a text node) + + +Michael(tm) Smith: block.xslrefined spacing around titles for admonitions + + +Michael(tm) Smith: block.xsl; other.xslDeal with case of verbatim environments that have a linebreak +after the opening tag. Assumption is that users generally don't +want that linebreak to appear in output, so we do some groff +hackery to mess with vertical spacing and close the space. + + +Michael(tm) Smith: inline.xslindexterm instances now produce groff comments like this: + + .\" primary: secondary: tertiary + +remark instances, if non-empty, now produce groff comments + + +Michael(tm) Smith: charmap.groff.xsl; other.xslconvert no-break space character to groff "\ \&" (instead of just +"\ "). the reason is that if a space occurs at the end of a line, +our processing causes it to be eaten. a real-world case of this is +the mysql(1) man page. appending the "\&" prevents that + + +Michael(tm) Smith: block.xsloutput "sp" before simpara output, not after it (outputting it +after results in undesirable whitespace in particular cases; for +example, in the hg/mercurial docs + + +Michael(tm) Smith: table.xsl; synop.xsl; utility.xslrenamed from title-preamble to pinch.together and replaced "sp -1" +between synopsis fragments with call to pinch.together instead + + +Michael(tm) Smith: table.xsluse title-preamble template for table titles (instead of "sp -1" +hack), and "sp 1" after all tables (instead of just "sp" + + +Michael(tm) Smith: utility.xslcreated title-preamble template for suppressing line spacing after +headings + + +Michael(tm) Smith: info.xslfurther refinement of indenting in AUTHORS section + + +Michael(tm) Smith: block.xsl; other.xslrefined handling of admonitions + + +Michael(tm) Smith: lists.xslUse RS/RE in another place where we had IP "" + + +Michael(tm) Smith: info.xslReplace (ab)use of IP with "sp -1" in AUTHORS section with RS/RE +instead. + + +Michael(tm) Smith: table.xsl; synop.xsl; info.xslchanged all instances of ".sp -1n" to ".sp -1" + + +Michael(tm) Smith: other.xsladd extra line before SH heads only in non-TTY output + + +Michael(tm) Smith: block.xslReworked output for admonitions (caution, important, note, tip, +warning). In TTY output, admonitions now get indented. In non-TTY +output, a colored marker (yellow) is displayed next to them. + + +Michael(tm) Smith: other.xslAdded BM/EM macros for putting a colored marker in margin next to +a block of text. + + +Michael(tm) Smith: utility.xslcreated make.bold.title template by moving title-bolding part out +from nested-section-title template. This allows the bolding to +also be used by the template for formatting admonitions + + +Michael(tm) Smith: info.xslput .br before copyright contents to prevent them from getting run in + + +Michael(tm) Smith: refentry.xsl; other.xsl; utility.xslmade point size of output for Refsect2 and Refsect3 heads bigger + + +Michael(tm) Smith: other.xslput slightly more space between SH head and underline in non-TTY +output + + +Michael(tm) Smith: param.xweb; param.ent; other.xslAdded the man.charmap.subset.profile.english parameter and refined +the handling of charmap subsets to differentiate between English +and non-English source. + +This way charmap subsets are now handled is this: + +If the value of the man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that is, if its +lang or xml:lang attribute has a value other than en), then the +character-map subset specified by the man.charmap.subset.profile +parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root element +in your DocBook source or on the first refentry element in your +source has the value en or if it has no lang or xml:lang +attribute, then the character-map subset specified by the +man.charmap.subset.profile.english parameter is used instead of +man.charmap.subset.profile. + +The difference between the two subsets is that +man.charmap.subset.profile provides mappings for characters in +Western European languages that are not part of the Roman +(English) alphabet (ASCII character set). + + +Michael(tm) Smith: other.xslVarious updates, mainly related to uppercasing SH titles: + + - added a "Language: " metadata line to the top comment area of + output man pages, to indicate the language the page is in + + - added a "toupper" macro of doing locale-aware uppercasing of + SH titles and cross-references to SH titles; the mechanism + relies on the uppercase.alpha and lowercase.alpha DocBook + gentext keys to do locale-aware uppercasing based on the + language the page is written in + + - added a "string.shuffle" template, which provides a library + function for "shuffling" two strings together into a single + string; it takes the first character for the first string, the + first character from second string, etc. The only current use + for it is to generate the argument for the groff tr request + that does string uppercasing. + + - added make.tr.uppercase.arg and make.tr.normalcase.arg named + templates for use in generating groff code for uppercasing and + "normal"-casing SH titles + + - made the BB/BE "background drawing" macros have effect only in + non-TTY output + + - output a few comments in the top part of source + + +Michael(tm) Smith: utility.xslremoved some leftover kruft + + +Michael(tm) Smith: refentry.xslTo create the name(s) for each man page, we now replace any spaces +in the refname(s) with underscores. This ensures that tools like +lexgrog(1) will be able to parse the name (lexgrog won't parse +names that contain spaces). + + +Michael(tm) Smith: docbook.xslPut a comment into source of man page to indicate where the main +content starts. (We now have a few of macro definitions at the +start of the source, so putting this comment in helps those that +might be viewing the source.) + + +Michael(tm) Smith: refentry.xslrefined mechanism for generating SH titles + + +Michael(tm) Smith: charmap.groff.xslAdded zcaron, Zcaron, scaron, and Scaron to the groff character map. +This means that generated Finnish man pages will no longer contain +any raw accented characters -- they'll instead by marked up with +groff escapes. + + +Michael(tm) Smith: other.xsl; utility.xslcorrected a regression I introduced about a year ago that caused +dots to be output just as "\." -- instead needs to be "\&." (which +is what it will be now, after this change) + + +Michael(tm) Smith: refentry.xslChanged backend handling for generating titles for SH sections and +for cross-references to those sections. This should have no effect +on TTY output (behavior should remain the same hopefully) but +results in titles in normal case (instead of uppercase) in PS +output. + + +Michael(tm) Smith: info.xsluse make.subheading template to make subheadings for AUTHORS and +COPYRIGHT sections (instead of harcoding roff markup) + + +Michael(tm) Smith: block.xslput code font around programlisting etc. + + +Michael(tm) Smith: synop.xsl; docbook.xslembed custom macro definitions in man pages, plus wrap synopsis in +code font + + +Michael(tm) Smith: endnotes.xsluse the make.subheading template to generated SH subheading for +endnotes section. + + +Michael(tm) Smith: lists.xslAdded some templates for generating if-then-else conditional +markup in groff, so let's use those instead of hard-coding it in +multiple places... + + +Michael(tm) Smith: other.xsl; utility.xslInitial checkin of some changes related to making PS/PDF output +from "man -l -Tps" look better. The current changes: + + - render synopsis and verbatim sections in a monospace/code font + + - put a light-grey background behind all programlisting, screen, + and literallayout instances + + - prevent SH heads in PS output from being rendered in uppercase + (as they are in console output) + + - also display xrefs to SH heads in PS output in normal case + (instead of uppercase) + + - draw a line under SH heads in PS output + +The changes made to the code to support the above features were: + + - added some embedded/custom macros: one for conditionally + upper-casing SH x-refs, one for redefining the SH macro + itself, with some conditional handling for PS output, and + finally a macro for putting a background/screen (filled box) + around a block of text (e.g., a program listing) in PS output + + - added utility templates for wrapping blocks of text in code + font; also templates for inline code font + + +Robert Stayton: refentry.xslrefpurpose nodes now get apply-templates instead of just normalize-space(). + + +Michael(tm) Smith: lists.xslFixed alignment of first lined of text for each listitem in +orderedlist output for TTY. Existing code seemed to have been +causing an extra undesirable space to appear. + + +Michael(tm) Smith: lists.xslWrapped some roff conditionals around roff markup for orderedlist +and itemizedlist output, so that the lists look acceptable in PS +output as well as TTY. + + +Michael(tm) Smith: pi.xsl; synop.xsl; param.xweb; param.entAdded the man.funcsynopsis.style parameter. Has the same effect in +manpages output as the funcsynopsis.style parameter has in HTML +output -- except that its default value is 'ansi' instead of 'kr'. + + +Michael(tm) Smith: synop.xslReworked handling of K&R funcprototype output. It no longer relies +on the HTML kr-tabular templates, but instead just does direct +transformation to roff. For K&R output, it displays the paramdef +output in an indented list following the prototype. + + +Michael(tm) Smith: synop.xslProperly integrated handling for K&R output into manpages +stylesheet. The choice between K&R output and ANSI output is +currently controlled through use of the (HTML) funcsynopsis.style +parameter. Note that because the mechanism does currently rely on +funcsynopsis.style, the default in manpages output is now K&R +(because that's the default of that param). But I suppose I ought +to create a man.funcsynopsis.style and make the default for that +ANSI (to preserve the existing default behavior). + + +Michael(tm) Smith: docbook.xsladded manpages/pi.xsl file + + +Michael(tm) Smith: .cvsignore; pi.xslAdded "dbman funcsynopsis-style" PI and incorporated it into the +doc build. + + +Michael(tm) Smith: refentry.xslFixed regression that caused an unescaped dash to be output +between refname and refpurpose content. Closes bug #1894244. +Thanks to Daniel Leidert. + + +Michael(tm) Smith: other.xslFixed problem with dots being escaped in filenames of generated +man files. Closes #1827195. Thanks to Daniel Leidert. + + +Michael(tm) Smith: inline.xslAdded support for processing structfield (was appearing in roff +output surrounded by HTML <em> tags; fixed so that it gets roff +ital markup). Closes bug #1858329. Thanks to Sam Varshavchik. + + + + + +Epub +The following changes have been made to the + epub code + since the 1.73.2 release. + + Keith Fahlgren: bin/spec/README; bin/spec/epub_realbook_spec.rb'Realbook' spec now passes + Keith Fahlgren: bin/dbtoepub; README; bin/spec/README; bin/lib/docbook.rb; bin/spec/epub_r⋯Very primitive Windows support for dbtoepub reference implementation; README for running tests and for the .epub target in general; shorter realbook test document (still fails for now) + Keith Fahlgren: bin/dbtoepub; bin/spec/epub_regressions_spec.rb; bin/lib/docbook.rb; bin/s⋯Changes to OPF spine to not duplicate idrefs for documents with parts not at the root; regression specs for same + Keith Fahlgren: docbook.xslFixing linking to cover @id, distinct from other needs of cover-image-id (again, thanks to Martin Goerner) + Keith Fahlgren: docbook.xslUpdating the title of the toc element in the guide to be more explicit (thanks to Martin Goerner) + +Keith Fahlgren: bin/spec/examples/amasque_exploded/content.opf; bin/spec/examples/amasque_⋯Initial checkin/merge of epub target from work provided by Paul Norton of Adobe +and Keith Fahlgren of O'Reilly. + + +Keith Fahlgren: docbook.xsl== General epub test support + +$ spec -O ~/.spec.opts spec/epub_spec.rb + +DocBook::Epub +- should be able to be created +- should fail on a nonexistent file +- should be able to render to a file +- should create a file after rendering +- should have the correct mimetype after rendering +- should be valid .epub after rendering an article +- should be valid .epub after rendering an article without sections +- should be valid .epub after rendering a book +- should be valid .epub after rendering a book even if it has one graphic +- should be valid .epub after rendering a book even if it has many graphics +- should be valid .epub after rendering a book even if it has many duplicated graphics +- should report an empty file as invalid +- should confirm that a valid .epub file is valid +- should not include PDFs in rendered epub files as valid image inclusions +- should include a TOC link in rendered epub files for <book>s + +Finished in 20.608395 seconds + +15 examples, 0 failures + + +== Verbose epub test coverage against _all_ of the testdocs + +Fails on only (errors truncated): +1) +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/calloutlist.003.xml [30]' FAILED +'DocBook::Epub should be able to render a valid .epub for the test document /Users/keith/work/docbook-dev/trunk/xsl/epub/bin/spec/testdocs/cmdsynopsis.001.xml [35]' FAILED +.... + +Finished in 629.89194 seconds + +224 examples, 15 failures + +224 examples, 15 failures yields 6% failure rate + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.73.2 release. + + +Mauritz Jeanson: htmlhelp-common.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.73.2 release. + + +David Cramer: eclipse.xslUse sortas attributes (if they exist) when sorting indexterms + + +David Cramer: eclipse.xslAdded support for indexterm/see in eclipse index.xml + + +Mauritz Jeanson: eclipse.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> +to helpidx template. + + +David Cramer: eclipse.xslGenerate index.xml file and add related goo to plugin.xml file. Does not yet support see and seealso. + + +Mauritz Jeanson: eclipse.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.73.2 release. + + +Mauritz Jeanson: javahelp.xslAdded <xsl:with-param name="quiet" select="$chunk.quietly"/> to calls to +the write.chunk, write.chunk.with.doctype, and write.text.chunk templates. +This makes chunk.quietly=1 suppress chunk filename messages also for help +support files (which seems to be what one would expect). See bug #1648360. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.73.2 release. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xslfix table/cell borders for wordml, fix formal figure, add emphasis-strong + + +Mauritz Jeanson: supported.xmlChanged @cols to 5. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; template.xmladded pubdate, fixed metadata handling in biblioentry + + +Steve Ball: supported.xmlAdded support for edition. + + +Steve Ball: docbook-pages.xsl; wordml-blocks.xsl; docbook.xsl; wordml.xsl; pages-normalise⋯Removed stylesheets for old, deprecated conversion method. + + +Steve Ball: specifications.xml; dbk2ooo.xsl; blocks2dbk.xsl; dbk2pages.xsl; blocks2dbk.dtd⋯Added support for Open Office, added edition element, improved list and table support in Word and Pages + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; dbk2pages.xsl; template-pages.xml; templ⋯Fixed bug in WordML table handling, improved table handling for Pages 08, synchronised WordML and Pages templates. + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; wordml2normalise.xsl; dbk2wp.xslfix caption, attributes + + +Steve Ball: specifications.xml; blocks2dbk.xsl; wordml2normalise.xsl; blocks2dbk.dtd; temp⋯Fixes to table and list handling + + +Steve Ball: blocks2dbk.xsladded support for explicit emphasis character styles + + +Steve Ball: wordml2normalise.xsladded support for customisation in image handling + + +Steve Ball: blocks2dbk.xslAdded inlinemediaobject support for metadata. + + +Steve Ball: normalise-common.xsl; blocks2dbk.xsl; template.xml; dbk2wordml.xsl; dbk2wp.xslAdded support file. Added style locking. Conversion bug fixes. + + + + + +Slides +The following changes have been made to the + slides code + since the 1.73.2 release. + + +Michael(tm) Smith: fo/Makefile; html/MakefileAdded checks and hacks to various makefiles to enable building +under Cygwin. This stuff is ugly and maybe not worth the mess and +trouble, but does seem to work as expected and not break anything +else. + + +Jirka Kosek: html/plain.xslAdded support for showing foil number + + + + + +Website +The following changes have been made to the + website code + since the 1.73.2 release. + + +Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/xalan2/.classes/com/⋯renamed a bunch more .cvsignore files to .gitignore (to facilitate use of git-svn) + + + + + +Params +The following changes have been made to the + params code + since the 1.73.2 release. + + Keith Fahlgren: epub.autolabel.xmlNew parameter for epub, epub.autolabel + +Mauritz Jeanson: table.frame.border.color.xml; table.cell.padding.xml; table.cell.border.t⋯Added missing refpurposes and descriptions. + + +Keith Fahlgren: ade.extensions.xmlExtensions to support Adobe Digital Editions extensions in .epub output. + + +Mauritz Jeanson: fop.extensions.xml; fop1.extensions.xmlClarified that fop1.extensions is for FOP 0.90 and later. Version 1 is not here yet... + + +Michael(tm) Smith: man.links.are.underlined.xml; man.endnotes.list.enabled.xml; man.font.l⋯removed man.links.are.underlined and added man.font.links. Also, +changed the default font formatting for links to bold. + + +Michael(tm) Smith: man.base.url.for.relative.links.xmlAdded new param man.base.url.for.relative.links .. specifies a +base URL for relative links (for ulink, @xlink:href, imagedata, +audiodata, videodata) shown in the generated NOTES section of +man-page output. The value of man.base.url.for.relative.links is +prepended to any relative URI that is a value of ulink url, +xlink:href, or fileref attribute. + +If you use relative URIs in link sources in your DocBook refentry +source, and you leave man.base.url.for.relative.links unset, the +relative links will appear "as is" in the NOTES section of any +man-page output generated from your source. That's probably not +what you want, because such relative links are only usable in the +context of HTML output. So, to make the links meaningful and +usable in the context of man-page output, set a value for +man.base.url.for.relative.links that points +to the online version of HTML output generated from your DocBook +refentry source. For example: + + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + +Michael(tm) Smith: man.string.subst.map.xmlsqueeze .sp\n.sp into a single .sp (to prevent a extra, spurious +line of whitespace from being inserted after programlisting etc. +in certain cases) + + +Michael(tm) Smith: refentry.manual.fallback.profile.xml; refentry.source.fallback.profile.⋯don't use refmiscinfo@class=date value as fallback for refentry +"source" or "manual" metadata fields + + +Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯made some further doc tweaks related to the +man.charmap.subset.profile.english param + + +Michael(tm) Smith: man.charmap.subset.profile.xml; man.charmap.enabled.xml; man.charmap.su⋯Added the man.charmap.subset.profile.english parameter and refined +the handling of charmap subsets to differentiate between English +and non-English source. + +This way charmap subsets are now handled is this: + +If the value of the man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that is, if its +lang or xml:lang attribute has a value other than en), then the +character-map subset specified by the man.charmap.subset.profile +parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root element +in your DocBook source or on the first refentry element in your +source has the value en or if it has no lang or xml:lang +attribute, then the character-map subset specified by the +man.charmap.subset.profile.english parameter is used instead of +man.charmap.subset.profile. + +The difference between the two subsets is that +man.charmap.subset.profile provides mappings for characters in +Western European languages that are not part of the Roman +(English) alphabet (ASCII character set). + + +Michael(tm) Smith: man.charmap.subset.profile.xmlAdded to default charmap used by manpages: + + - the "letters" part of the 'C1 Controls And Latin-1 Supplement + (Latin-1 Supplement)' Unicode block + - Latin Extended-A block (but not all of the characters from + that block have mappings in groff, so some of them are still + passed through as-is) + +The effects of this change are that in man pages generated for +most Western European languages and for Finnish, all characters +not part of the Roman alphabet are (e.g., "accented" characters) +are converted to groff escapes. + +Previously, by default we passed through those characters as is +(and users needed to use the full charmap if they wanted to have +those characters converted). + +As a result of this change, man pages generated for Western +European languages will be viewable in some environments in which +they are not viewable if the "raw" non-Roman characters are in them. + + +Mauritz Jeanson: generate.legalnotice.link.xml; generate.revhistory.link.xmlAdded information on how the filename is computed. + + +Mauritz Jeanson: default.table.width.xmlClarified PI usage. + + +Michael(tm) Smith: man.funcsynopsis.style.xmlAdded the man.funcsynopsis.style parameter. Has the same effect in +manpages output as the funcsynopsis.style parameter has in HTML +output -- except that its default value is 'ansi' instead of 'kr'. + + +Michael(tm) Smith: funcsynopsis.tabular.threshold.xmlRemoved the funcsynopsis.tabular.threshold param. It's no longer +being used in the code and hasn't been since mid 2006. + + +Mauritz Jeanson: table.properties.xmlSet keep-together.within-column to "auto". This seems to be the most sensible +default value for tables. + + +Mauritz Jeanson: informal.object.properties.xml; admon.graphics.extension.xml; informalequ⋯Several small documentation fixes. + + +Mauritz Jeanson: manifest.in.base.dir.xmlWording fixes. + + +Mauritz Jeanson: header.content.properties.xml; footer.content.properties.xmlAdded refpurpose. + + +Mauritz Jeanson: ulink.footnotes.xml; ulink.show.xmlUpdated for DocBook 5. + + +Mauritz Jeanson: index.method.xml; glossterm.auto.link.xmlSpelling and wording fixes. + + +Mauritz Jeanson: callout.graphics.extension.xmlClarifed available graphics formats and extensions. + + +Mauritz Jeanson: footnote.sep.leader.properties.xmlCorrected refpurpose. + + +Jirka Kosek: footnote.properties.xmlAdded more properties which make it possible to render correctly footnotes placed inside verbatim elements. + + +Mauritz Jeanson: img.src.path.xmlimg.src.path works with inlinegraphic too. + + +Mauritz Jeanson: saxon.character.representation.xmlAdded TCG link. + + +Mauritz Jeanson: img.src.path.xmlUpdated description of img.src.path. Bug #1785224 revealed that +there was a risk of misunderstanding how it works. + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.73.2 release. + + +Jirka Kosek: xsl2profile.xslAdded new rules to profile all content generated by HTML Help (including alias files) + + +Robert Stayton: profile-mode.xsluse mode="profile" instead of xsl:copy-of for attributes so +they can be more easily customized. + + + + + + +Tools +The following changes have been made to the + tools code + since the 1.73.2 release. + + +Michael(tm) Smith: make/Makefile.DocBookvarious changes and additions to support making with asciidoc as +an input format + + +Michael(tm) Smith: make/Makefile.DocBookmake dblatex the default PDF maker for the example makefile + + +Michael(tm) Smith: xsl/build/html2roff.xslReworked handling of K&R funcprototype output. It no longer relies +on the HTML kr-tabular templates, but instead just does direct +transformation to roff. For K&R output, it displays the paramdef +output in an indented list following the prototype. + + +Mauritz Jeanson: xsl/build/make-xsl-params.xslMade attribute-sets members of the param list. This enables links to attribute-sets in the +reference documentation. + + +Michael(tm) Smith: xsl/build/html2roff.xsluse .BI handling in K&R funsynopsis output for manpages, just as +we do already of ANSI output + + +Michael(tm) Smith: xsl/build/html2roff.xslImplemented initial support for handling tabular K&R output of +funcprototype in manpages output. Accomplished by adding more +templates to the intermediate HTML-to-roff stylesheet that the +build uses to create the manpages/html-synop.xsl stylesheet. + + +Michael(tm) Smith: xsl/build/doc-link-docbook.xslMade the xsl/tools/xsl/build/doc-link-docbook.xsl stylesheet +import profile-docbook.xsl, so that we can do profiling of release +notes. Corrected some problems in the target for the release-notes +HTML build. + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.73.2 release. + + Keith Fahlgren: MakefileUse DOCBOOK_SVN variable everywhere, please; build with PDF_MAKER + +Michael(tm) Smith: Makefilemoved extensions build targets from master xsl/Makefile to +xsl/extensions/Makefile + + +Michael(tm) Smith: .cvsignorere-adding empty extensions subdir + + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.73.2 release. + + +Michael(tm) Smith: VERSIONbring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with +recent change to snapshot build infrastructure + + +Michael(tm) Smith: nbproject/build-impl.xml; nbproject/project.propertiesChanged hard-coded file references in "clean" target to variable +references. Closes #1792043. Thanks to Daniel Leidert. + + +Michael(tm) Smith: VERSION; MakefileDid post-release wrap-up of xsl-saxon and xsl-xalan dirs + + +Michael(tm) Smith: nbproject/build-impl.xml; VERSION; Makefile; testMore tweaks to get release-ready + + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.73.2 release. + + +Michael(tm) Smith: VERSIONbring xsl2, xsl-saxon, and xsl-xalan VERSION files up-to-date with +recent change to snapshot build infrastructure + + +Michael(tm) Smith: nbproject/build-impl.xmlChanged hard-coded file references in "clean" target to variable +references. Closes #1792043. Thanks to Daniel Leidert. + + +Michael(tm) Smith: Makefile; VERSIONDid post-release wrap-up of xsl-saxon and xsl-xalan dirs + + +Michael(tm) Smith: Makefile; nbproject/build-impl.xml; VERSIONMore tweaks to get release-ready + + + + + +XSL-libxslt +The following changes have been made to the + xsl-libxslt code + since the 1.73.2 release. + + +Mauritz Jeanson: python/xslt.pyPrint the result to stdout if no outfile has been given. +Some unnecessary semicolons removed. + + +Mauritz Jeanson: python/xslt.pyAdded a function that quotes parameter values (to ensure that they are interpreted as strings). +Replaced deprecated functions from the string module with string methods. + + +Michael(tm) Smith: python/README; python/README.LIBXSLTrenamed xsl-libxslt/python/README to xsl-libxslt/python/README.LIBXSLT + + +Mauritz Jeanson: python/READMETweaked the text a little. + + + + + + + +Release Notes: 1.73.2 +This is solely a minor bug-fix update to the 1.73.1 release. + It fixes a packaging error in the 1.73.1 package, as well as a + bug in footnote handling in FO output. + + + +Release: 1.73.1 +This is mostly a bug-fix update to the 1.73.0 release. + + +Gentext +The following changes have been made to the + gentext code + since the 1.73.0 release. + + +Mauritz Jeanson: locale/de.xmlApplied patch #1766009. + + +Michael(tm) Smith: locale/lv.xmlAdded localization for ProductionSet. + + + + + +FO +The following changes have been made to the + fo code + since the 1.73.0 release. + + +Mauritz Jeanson: table.xslModified the tgroup template so that, for tables with multiple tgroups, +a width attribute is output on all corresponding fo:tables. Previously, +there was a test prohibiting this (and a comment saying that outputting more +than one width attribute will cause an error). But this seems to be no longer +relevant; it is not a problem with FOP 0.93 or XEP 4.10. Closes bug #1760559. + + +Mauritz Jeanson: graphics.xslReplaced useless <a> elements with warning messages (textinsert extension). + + +Mauritz Jeanson: admon.xslEnabled generation of ids (on fo:wrapper) for indexterms in admonition titles, so that page +references in the index can be created. Closes bug #1775086. + + + + + +HTML +The following changes have been made to the + html code + since the 1.73.0 release. + + +Mauritz Jeanson: titlepage.xslAdded <xsl:call-template name="process.footnotes"/> to abstract template +so that footnotes in info/abstract are processed. Closes bug #1760907. + + +Michael(tm) Smith: pi.xsl; synop.xslChanged handling of HTML output for the cmdsynopsis and +funcsynopsis elements, such that a@id instances are generated for +them if they are descendants of any element containing a dbcmdlist +or dbfunclist PI. Also, update the embedded reference docs for the +dbcmdlist and dbfunclist PIs to make it clear that they can be +used within any element for which cmdsynopsis or funcsynopsis are +valid children. + + +Michael(tm) Smith: formal.xslReverted the part of revision 6952 that caused a@id anchors to be +generated for output of informal objects. Thanks to Sam Steingold +for reporting. + + +Robert Stayton: glossary.xslAccount for a glossary with no glossdiv or glossentry children. + + +Mauritz Jeanson: titlepage.xslModified legalnotice template so that the base.name parameter is calculated +in the same way as for revhistory chunks. Using <xsl:apply-templates +mode="chunk-filename" select="."/> did not work for single-page output since +the template with that mode is in chunk-code.xsl. + + +Mauritz Jeanson: graphics.xslUpdated support for SVG (must be a child of imagedata in DB 5). +Added support for MathML in imagedata. + + +Mauritz Jeanson: pi.xslAdded documentation for the dbhh PI (used for context-sensitive HTML Help). +(The two templates matching 'dbhh' are still in htmlhelp-common.xsl). + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.73.0 release. + + +Michael(tm) Smith: endnotes.xslIn manpages output, generate warnings about notesources with +non-para children only if the notesource is a footnote or +annotation. Thanks to Sam Steingold for reporting problems with +the existing handling. + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.73.0 release. + + +Michael(tm) Smith: htmlhelp-common.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.73.0 release. + + +Michael(tm) Smith: eclipse.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.73.0 release. + + +Michael(tm) Smith: javahelp.xslAdded single-pass namespace-stripping support to the htmlhelp, +eclipse, and javahelp stylesheets. + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.73.0 release. + + +Steve Ball: blocks2dbk.xsl; blocks2dbk.dtd; pages2normalise.xslModularised blocks2dbk to allow customisation, +Added support for tables to pages2normalise + + + + + +Params +The following changes have been made to the + params code + since the 1.73.0 release. + + +Robert Stayton: procedure.properties.xmlprocedure was inheriting keep-together from formal.object.properties, but +a procedure does not need to be kept together by default. + + +Dave Pawson: title.font.family.xml; component.label.includes.part.label.xml; table.frame.b⋯Regular formatting re-org. + + + + + + +Release: 1.73.0 +This release includes important bug fixes and adds the following +significant feature changes: + + + New localizations and localization updates + + We added two new localizations: Latvian and + Esperanto, and made updates to the Czech, Chinese + Simplified, Mongolian, Serbian, Italian, and Ukrainian + localizations. + + + + ISO690 citation style for bibliography output. + + Set the + bibliography.style parameter to + iso690 to use ISO690 style. + + + + New documentation for processing instructions (PI) + + The reference documentation that ships with the + release now includes documentation on all PIs that you can use to + control output from the stylesheets. + + + + New profiling parameters for audience and wordsize + + You can now do profiling based on the values of the + audience and + wordsize attributes. + + + + Changes to man-page output + + The manpages stylesheet now supports single-pass + profiling and single-pass DocBook 5 namespace stripping + (just as the HTML and FO stylesheets also do). Also, added + handling for mediaobject & + inlinemediaobject. (Each imagedata, + audiodata, or videodata element + within a mediaobject or inline + mediaobject is now treated as a "notesource" + and so handled in much the same way as links and + annotation/alt/footnote + are in manpages output.) And added the + man.authors.section.enabled and + man.copyright.section.enabled + parameters to enable control over whether output includes + auto-generated AUTHORS and + COPYRIGHT sections. + + + + Highlighting support for C + + The highlighting mechanism for generating + syntax-highlighted code snippets in output now supports C + code listings (along with Java, PHP, XSLT, and others). + + + + Experimental docbook-xsl-update script + + We added an experimental docbook-xsl-update + script, the purpose of which is to facilitate + easy sync-up to the latest docbook-xsl snapshot (by means + of rsync). + + + + + + +Gentext +The following changes have been made to the +gentext code +since the 1.72.0 release. + + +Michael(tm) Smith: locale/lv.xml; MakefileAdded Latvian localization file, from Girts Ziemelis. + + +Dongsheng Song: locale/zh_cn.xmlBrought up to date with en.xml in terms of items. A few strings marked for translation. + + +Jirka Kosek: locale/cs.xmlAdded missing translations + + +Robert Stayton: locale/eo.xmlNew locale for Esperanto. + + +Robert Stayton: locale/mn.xmlUpdate from Ganbold Tsagaankhuu. + + +Jirka Kosek: locale/en.xml; locale/cs.xmlRules for normalizing glossary entries before they are sorted can be now different for each language. + + +Michael(tm) Smith: locale/sr_Latn.xml; locale/sr.xmlCommitted changes from MiloÅ¡ KomarÄević to Serbian files. + + +Robert Stayton: locale/ja.xmlFix chapter in context xref-number-and-title + + +Robert Stayton: locale/it.xmlImproved version from contributor. + + +Mauritz Jeanson: locale/uk.xmlApplied patch 1592083. + + + + +Common +The following changes have been made to the +common code +since the 1.72.0 release. + + +Michael(tm) Smith: labels.xslChanged handling of reference auto-labeling such that reference +(when it appears at the component level) is now affected by the +label.from.part param, just as preface, chapter, and appendix. + + +Michael(tm) Smith: common.xslAdded support to the HTML stylesheets for proper processing of +orgname as a child of author. + + +Michael(tm) Smith: refentry.xslRefined logging output of refentry metadata-gathering template; +for some cases of "missing" elements (refmiscinfo stuff, etc.), +the log messages now include URL to corresponding page in the +Definitive Guide (TDG). + + +Robert Stayton: titles.xslAdd refsection/info/title support. + + +Michael(tm) Smith: titles.xslAdded support for correct handling of xref to elements that +contain info/title descendants but no title children. + +This should be further refined so that it handles any *info +elements. And there are probably some other places where similar +handling for *info/title should be added. + + +Mauritz Jeanson: pi.xslModified <xsl:when> in datetime.format template to work +around Xalan bug. + + + + +FO +The following changes have been made to the +fo code +since the 1.72.0 release. + + +Robert Stayton: component.xslAdd parameters to the page.sequence utility template. + + +Mauritz Jeanson: xref.xslAdded template for xref to area/areaset. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: inline.xslAdded template match for person element to fo stylesheet. + + +Robert Stayton: lists.xslAdded support for spacing="compact" in variablelist, per bug report #1722540. + + +Robert Stayton: table.xsltable pgwide="1" should also use pgwide.properties attribute-set. + + +Mauritz Jeanson: inline.xslMake citations numbered if bibliography.numbered != 0. + + +Robert Stayton: param.xweb; param.entAdd new profiling parameters for audience and wordsize. + + +Robert Stayton: param.xweb; param.entAdded callout.icon.size parameter. + + +Robert Stayton: inline.xsl; xref.xslAdd support for xlink as olink. + + +Robert Stayton: autotoc.xsl; param.xweb; param.entAdd support for qanda.in.toc to fo TOC. + + +Robert Stayton: component.xslImproved the page.sequence utility template for use with book. + + +Robert Stayton: division.xslRefactored the big book template into smaller pieces. +Used the "page.sequence" utility template in +component.xsl to shorten the toc piece. +Added placeholder templates for front.cover and back.cover. + + +Robert Stayton: param.xweb; param.ent; sections.xslAdd section.container.element parameter to enable +pgwide spans inside sections. + + +Robert Stayton: param.xweb; param.ent; component.xslAdd component.titlepage.properties attribute-set to +support span="all" and other properties. + + +Robert Stayton: htmltbl.xsl; table.xslApply table.row.properties template to html tr rows too. +Add keep-with-next to table.row.properties when row is in thead. + + +Robert Stayton: table.xslAdd support for default.table.frame parameter. +Fix bug 1575446 rowsep last check for @morerows. + + +Robert Stayton: refentry.xslAdd support for info/title in refsections. + + +David Cramer: qandaset.xslMake fo questions and answers behave the same way as html + + +Jirka Kosek: lists.xslAdded missing attribute set for procedure + + +Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xslAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: param.xweb; param.ent; pagesetup.xslAdd header.table.properties and footer.table.properties attribute-sets. + + +Robert Stayton: inline.xslAdd fop1.extensions for menuchoice arrow handling exception. + + + + +HTML +The following changes have been made to the + html code + since the 1.72.0 release. + + +Mauritz Jeanson: param.xweb; param.entMoved declaration and documentation of javahelp.encoding from javahelp.xsl to the +regular "parameter machinery". + + +Michael(tm) Smith: admon.xslChanged handling of titles for note, warning, caution, important, +tip admonitions: We now output and HTML h3 head only if +admon.textlabel is non-zero or if the admonition actually contains +a title; otherwise, we don't output an h3 head at all. +(Previously, we were outputting an empty h3 if the admon.textlabel +was zero and if the admonition had no title.) + + +Mauritz Jeanson: xref.xslAdded template for xref to area/areaset. +Part of fix for bug #1675513 (xref to area broken). + + +Mauritz Jeanson: titlepage.xsl; component.xsl; division.xsl; sections.xslAdded fixes to avoid duplicate ids when generate.id.attributes = 1. +This (hopefully) closes bug #1671052. + + +Michael(tm) Smith: formal.xsl; pi.xslMade the dbfunclist PI work as intended. Also added doc for +dbfunclist and dbcmdlist PIs. + + +Michael(tm) Smith: pi.xsl; synop.xslMade the dbcmdlist work the way it appears to have been intended +to work. Restored dbhtml-dir template back to pi.xsl. + + +Michael(tm) Smith: titlepage.xsl; param.xweb; param.entAdded new param abstract.notitle.enabled. +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. +Because sometimes you really don't want or need that title +there... + + +Michael(tm) Smith: chunk-code.xsl; graphics.xslWhen we are chunking long descriptions for mediaobject instances +into separate HTML output files, and use.id.as.filename is +non-zero, if a mediaobject has an ID, use that ID as the basename +for the long-description file (otherwise, we generate an ID for it +and use that ID as the basename for the file). +The parallels the recent change made to cause IDs for legalnotice +instances to be used as basenames for legalnotice chunks. +Also, made some minor refinements to the recent changes for +legalnotice chunk handling. + + +Michael(tm) Smith: titlepage.xslAdded support to the HTML stylesheets for proper processing of +orgname as a child of author. + + +Michael(tm) Smith: chunk-code.xslWhen $generate.legalnotice.link is non-zero and +$use.id.as.filename is also non-zero, if a legalnotice has an ID, +then instead of assigning the "ln-<generatedID>" basename to the +output file for that legalnotice, just use its real ID as the +basename for the file -- as we do when chunking other elements +that have IDs. + + +David Cramer: xref.xslHandle alt text on xrefs to steps when the step doesn't have a title. + + +David Cramer: lists.xslAdded <p> element around term in variablelist when formatted as table to avoid misalignment of term and listitem in xhtml (non-quirks mode) output + + +David Cramer: qandaset.xslAdded <p> element around question and answer labels to avoid misalignment of label and listitem in xhtml (non-quirks mode) output + + +David Cramer: lists.xslAdded <p> element around callouts to avoid misalignment of callout and listitem in xhtml (non-quirks mode) output + + +Mauritz Jeanson: inline.xslMake citations numbered if bibliography.numbered != 0. + + +Robert Stayton: param.xweb; param.entAdd support for new profiling attributes audience and wordsize. + + +Robert Stayton: inline.xsl; xref.xslAdd support for xlink olinks. + + +Jirka Kosek: glossary.xslRules for normalizing glossary entries before they are sorted can be now different for each language. + + +Robert Stayton: chunk-common.xsl; chunk-code.xsl; manifest.xsl; chunk.xslRefactored the chunking modules to move all named templates to +chunk-common.xsl and all match templates to chunk-code.xsl, in +order to enable better chunk customization. +See the comments in chunk.xsl for more details. + + +Robert Stayton: lists.xslAdd anchor for xml:id for listitem in varlistentry. + + +Robert Stayton: refentry.xslAdd support for info/title in refsections for db5. + + +Jirka Kosek: param.xweb; biblio.xsl; docbook.xsl; param.ent; biblio-iso690.xslAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: inline.xsl; xref.xslAdd call to class.attribute to <a> output elements so they can +have a class value too. + + +Mauritz Jeanson: glossary.xslFixed bug #1644881: +* Added curly braces around all $language attribute values. +* Moved declaration of language variable to top level of stylesheet. +Tested with Xalan, Saxon, and xsltproc. + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.72.0 release. + + +Michael(tm) Smith: param.xweb; docbook.xsl; param.entAdded the man.authors.section.enabled and +man.copyright.section.enabled parameters. Set those to zero when +you want to suppress display of the auto-generated AUTHORS and +COPYRIGHT sections. Closes request #1467806. Thanks to Daniel +Leidert. + + +Michael(tm) Smith: docbook.xslTook the test that the manpages stylesheet does to see if there +are any Refentry chilren in current doc, and made it +namespace-agnostic. Reason for that is because the test otherwise +won't work when it is copied over into the generated +profile-docbook.xsl stylesheet. + + +Michael(tm) Smith: MakefileAdded a manpages/profile-docbook.xsl file to enable single-pass +profiling for manpages output. + + +Michael(tm) Smith: info.xslOutput copyright and legalnotice in man-page output in whatever +place they are in in document order. Closes #1690539. Thanks to +Daniel Leidert for reporting. + + +Michael(tm) Smith: docbook.xslRestored support for single-pass namespace stripping to manpages +stylesheet. + + +Michael(tm) Smith: synop.xsl; block.xsl; info.xsl; inline.xsl; lists.xsl; endnotes.xsl; ut⋯Changed handling of bold and italic/underline output in manpages +output. Should be transparent to users, but... + +This touches handling of all bold and italic/underline output. The +exact change is that the mode="bold" and mode="italic" utility +templates were changed to named templates. (I think maybe I've +changed it back and forth from mode to named before, so this is +maybe re-reverting it yet again). + +Anyway, the reason for the change is that the templates are +sometimes call on dynamically node-sets, and using modes to format +those doesn't allow passing info about the current/real context +node from the source (not the node-set created by the stylesheet) +to that formatting stage. + +The named templates allow the context to be passed in as a +parameter, so that the bold/ital formatting template can use +context-aware condition checking. + +This was basically necessary in order to suppress bold formatting +in titles, which otherwise gets screwed up because of the numbnut +way that roff handles nested bold/ital. + +Closes #1674534). Much thanks to Daniel Leidert, whose in his +docbook-xsl bug-finding kung-fu has achieved Grand Master status. + + +Michael(tm) Smith: block.xslFixed handling of example instances by adding the example element +to the same template we use for processing figure. Closes +#1674538. Thanks to Daniel Leidert. + + +Michael(tm) Smith: utility.xslDon't include lang in manpages filename/pathname if lang=en (that +is, only generate lang-qualified file-/pathnames for non-English). + + +Michael(tm) Smith: endnotes.xslIn manpages output, emit warnings for notesources (footnote, etc.) +that have something other than para as a child. + +The numbered-with-hanging-indent formatting that's used for +rendering endnotes in the NOTES section of man pages places some +limits/assumptions on how the DocBook source is marked up; namely, +for notesources (footnote, annotation, etc.) that can contain +block-level children, if the they have a block-level child such as +a table or itemizedlist or orderedlist that is the first child of +a footnote, we have no way of rendering/indenting its content +properly in the endnotes list. + +Thus, the manpages stylesheet not emits a warning message for that +case, and suggests the "fix" (which is to wrap the table or +itemizedlist or whatever in a para that has some preferatory text. + + +Michael(tm) Smith: utility.xslAdded support to mixed-block template for handling tables in +mixed-blocks (e.g., as child of para) correctly. + + +Michael(tm) Smith: table.xsl; synop.xsl; block.xsl; info.xsl; lists.xsl; refentry.xsl; end⋯Reverted necessary escaping of backslash, dot, and dash +out of the well-intentioned (but it now appears, +misguided) "marker" mechanism (introduced in the 1.72.0 +release) -- which made use of alternative "marker" +characters as internal representations of those +characters, and then replaced them just prior to +serialization -- and back into what's basically the +system that was used prior to the 1.69.0 release; that +is, into a part of stylesheet code that gets executed +at the beginning of processing -- before any other roff +markup up is. This change obviates the need for the +marker system. It also requires a lot less RAM during +processing (for large files, the marker mechanism +ending up requiring gigabytes of memory). + +Closes bug #1661177. Thanks to Scott Smedley for +providing a test case (the fvwm man page) that exposed +the problem with the marker mechanism. + +Also moved the mechanism for converting non-breaking +spaces back into the same area of the stylesheet code. + + +Michael(tm) Smith: lists.xslFixed problem with incorrect formatting of nested variablelist. +Closes bug #1650931. Thanks to Daniel "Eagle Eye" Leidert. + + +Michael(tm) Smith: lists.xslMake sure that all listitems in itemizedlist and orderedlist are +preceded by a blank line. This fixes a regression that occurred +when instances of the TP macro that were use in a previous +versions of the list-handling code were switched to RS/RE (because +TP doesn't support nesting). TP automatically generates a blank +line, but RS doesn't. So I added a .sp before each .RS + + +Michael(tm) Smith: block.xsl; inline.xsl; param.xweb; docbook.xsl; links.xsl; param.entMade a number of changes related to elements with +out-of-line content: + +- Added handling for mediaobject & inlinemediaobject. + Each imagedata, audiodata, or videodata element + within a mediaobject or inline mediaobject is now + treated as a "notesource" and so handled in much the + same way as links and annotation/alt/footnotes. + + That means a numbered marker is generated inline to + mark the place in the main flow where the imagedata, + audiodata, or videodata element occurs, and a + corresponding numbered endnote for it is generated in + the endnotes list at the end of the man page; the + endnote contains the URL from the fileref attribute + of the imagedata, audiodata, or videodata element. + + For mediobject and inlinemediaobject instances that + have a textobject child, the textobject is displayed + within the main text flow. + +- Renamed several man.link.* params to man.endnotes.*, + to reflect that fact that the endnotes list now + contains more than just links. Also did similar + renaming for a number of stylesheet-internal vars. + +- Added support for xlink:href (along with existing + support for the legacy ulink element). + +- Cleaned up and streamlined the endnotes-handling + code. It's still messy and klunky and the basic + mechanism it uses is very inefficent for documents + that contain a lot of notesources, but at least it's + a bit better than it was. + + + + +Eclipse +The following changes have been made to the + eclipse code + since the 1.72.0 release. + + +Mauritz Jeanson: MakefileFixed bug #1715093: Makefile for creating profiled version of eclipse.xsl added. + + +David Cramer: eclipse.xslAdded normalize-space around to avoid leading whitespace from appearing in the output if there's extra leading whitespace (e.g. <title> Foo</title>) in the source + + + + +JavaHelp +The following changes have been made to the + javahelp code + since the 1.72.0 release. + + +Mauritz Jeanson: javahelp.xslImplemented FR #1230233 (sorted index in javahelp). + + +Mauritz Jeanson: javahelp.xslAdded normalize-space() around titles and index entries to work around whitespace problems. +Added support for glossary and bibliography in toc and map files. + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.72.0 release. + + +Steve Ball: blocks2dbk.xsl; wordml2normalise.xsl; normalise2sections.xsl; sections2blocks.⋯new stylesheets for better word processor support and easier maintenance + + +Steve Ball: template-pages.xml; dbk2wp.xsl; sections-spec.xmlfixed bugs + + + + +Params +The following changes have been made to the + params code + since the 1.72.0 release. + + +Mauritz Jeanson: htmlhelp.button.back.xml; htmlhelp.button.forward.xml; htmlhelp.button.zo⋯Modified refpurpose text. + + +Mauritz Jeanson: htmlhelp.map.file.xml; htmlhelp.force.map.and.alias.xml; htmlhelp.alias.f⋯Fixed typos, made some small changes. + + +Mauritz Jeanson: javahelp.encoding.xmlMoved declaration and documentation of javahelp.encoding from javahelp.xsl to the +regular "parameter machinery". + + +Mauritz Jeanson: generate.id.attributes.xmlAdded refpurpose text. + + +Mauritz Jeanson: annotation.js.xml; annotation.graphic.open.xml; annotation.graphic.close.⋯Added better refpurpose texts. + + +Michael(tm) Smith: chunker.output.cdata-section-elements.xml; chunker.output.standalone.xm⋯Fixed some broken formatting in source files for chunker.* params, +as pointed out by Dave Pawson. + + +Michael(tm) Smith: label.from.part.xmlChanged handling of reference auto-labeling such that reference +(when it appears at the component level) is now affected by the +label.from.part param, just as preface, chapter, and appendix. + + +Mauritz Jeanson: callout.graphics.extension.xmlClarified that 'extension' refers to file names. + + +Michael(tm) Smith: abstract.notitle.enabled.xmlAdded new param abstract.notitle.enabled. +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. +Because sometimes you really don't want or need that title +there... + + +Michael(tm) Smith: man.string.subst.map.xmlUpdated manpages string-substitute map to reflect fact that +because of another recent change to suppress bold markup in .SH +output, we no longer need to add a workaround for the accidental +uppercasing of roff escapes that occurred previously. + + +Jirka Kosek: margin.note.float.type.xml; title.font.family.xml; table.frame.border.color.x⋯Improved parameter metadata + + +Robert Stayton: profile.wordsize.xml; profile.audience.xmlAdd support for profiling on new attributes audience and wordsize. + + +Robert Stayton: callout.graphics.number.limit.xml; callout.graphics.extension.xmlAdded SVG graphics for fo output. + + +Robert Stayton: callout.icon.size.xmlSet size of callout graphics. + + +Jirka Kosek: default.units.xml; chunker.output.method.xml; toc.list.type.xml; output.inden⋯Updated parameter metadata to the new format. + + +Jirka Kosek: man.output.quietly.xml; title.font.family.xml; footnote.sep.leader.properties⋯Added type annotations into parameter definition files. + + +Robert Stayton: section.container.element.xmlSupport spans in sections for certain processors. + + +Robert Stayton: component.titlepage.properties.xmlEmpty attribute set for top level component titlepage block. +Allows setting a span on title info. + + +Jirka Kosek: bibliography.style.xmlAdded link to WiKi page with description of special markup needed for ISO690 biblioentries + + +Robert Stayton: make.year.ranges.xmlClarify that multiple year elements are required. + + +Robert Stayton: id.warnings.xmlTurn off id.warnings by default. + + +Jirka Kosek: bibliography.style.xmlAdded support for formatting biblioentries according to ISO690 citation style. +New bibliography style can be turned on by setting parameter bibliography.style to "iso690" +The code was provided by Jana Dvorakova + + +Robert Stayton: header.table.properties.xml; footer.table.properties.xmlSupport adding table properties to header and footer tables. + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.72.0 release. + + +Jirka Kosek: c-hl.xml; xslthl-config.xmlAdded support for C language. Provided by Bruno Guegan. + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.72.0 release. + + +Robert Stayton: profile-mode.xslAdd support for new profiling attributes audience and wordsize. + + + + +Lib +The following changes have been made to the + lib code + since the 1.72.0 release. + + +Michael(tm) Smith: lib.xwebChanged name of prepend-pad template to pad-string and twheeked so +it can do both right/left padding. + + + + +Tools +The following changes have been made to the + tools code + since the 1.72.0 release. + + +Michael(tm) Smith: bin; bin/docbook-xsl-updateDid some cleanup to the install.sh source and added a +docbook-xsl-update script to the docbook-xsl distro, the purpose +of which is to facilitate easy sync-up to the latest docbook-xsl +snapshot (by means of rsync). + + + + +XSL-Saxon +The following changes have been made to the + xsl-saxon code + since the 1.72.0 release. + + +Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯Added modifications so that the new callout.icon.size parameter is taken into account. This +parameter is used for FO output (where SVG now is the default graphics format for callouts). + + +Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯Added code for generating id attributes on callouts in HTML and FO output. +These patches enable cross-references to callouts placed by area coordinates. +It works for graphic, unicode and text callouts. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯Copied over Website XSL Java extensions. + + + + +XSL-Xalan +The following changes have been made to the + xsl-xalan code + since the 1.72.0 release. + + +Michael(tm) Smith: Makefile; xalan2Turned off xalan2.jar build. This removes DocBook XSL +Java extensions support for versions of Xalan prior to +Xalan 2.7. If you are currently using the extensions +with an earlier version of Xalan, you need to upgrade +to Xalan 2.7. + + +Mauritz Jeanson: xalan27/src/com/nwalsh/xalan/Verbatim.java; xalan27/src/com/nwalsh/xalan/⋯Added modifications so that the new callout.icon.size parameter is taken into account. This +parameter is used for FO output (where SVG now is the default graphics format for callouts). + + +Mauritz Jeanson: saxon65/src/com/nwalsh/saxon/FormatCallout.java; xalan27/src/com/nwalsh/x⋯Added code for generating id attributes on callouts in HTML and FO output. +These patches enable cross-references to callouts placed by area coordinates. +It works for graphic, unicode and text callouts. +Part of fix for bug #1675513 (xref to area broken). + + +Michael(tm) Smith: saxon65/src/com/nwalsh/saxon/Website.java; xalan27/src/com/nwalsh/xalan⋯Copied over Website XSL Java extensions. + + + + + + +Release: 1.72.0 +This release includes important bug fixes and adds the following +significant feature changes: + + + Automatic sorting of glossary entries + + The HTML and FO stylesheets now support automatic sorting + of glossary entries. To enable glossary sorting, set + the value of the glossary.sort parameter + to 1 (by default, it’s value is + 0). When you enable glossary sorting, + glossentry elements within a glossary, + glossdiv, or glosslist are sorted on the + glossterm, using the current language setting. If you + don’t enable glossary sorting, then the order of + glossentry elements is left “as is†— that is, they + are not sorted but are instead just displayed in document + order. + + + + WordML renamed to Roundtrip, OpenOffice support added + + Stylesheets for “roundtrip†conversion between documents in + OpenOffice format (ODF) and DocBook XML have been added to the set + of stylesheets that formerly had the collective title + WordML, and that set of stylesheets has + been renamed to Roundtrip to better + reflect the actual scope and purpose of its contents. + So the DocBook XSL Stylesheets now support roundtrip + conversion (with certain limitations) of WordML, OpenOffice, and + Apple Pages documents to and from DocBook XML. + + + + Including QandASet questions in TOCs + + The HTML stylesheet now provides support for including + QandASet questions in the document TOC. To + enable display of questions in the document TOC, set + the value of the qanda.in.toc to + 1 (by default, it’s 0). When you + enable qanda.in.toc, then the generated + table of contents for a document will include + qandaset titles, qandadiv titles, and + question elements. The default value of zero + excludes them from the TOC. + + The qanda.in.toc parameter does + not affect any tables of contents that may be generated + within a qandaset or + qandadiv (only in the document TOC). + + + + + + Language identifier in man-page filenames and pathnames + + Added new parameter man.output.lang.in.name.enabled, which controls whether + a language identifier is included in man-page filenames and + pathnames. It works like this: + + If the value of man.output.lang.in.name.enabled is non-zero, + man-page files are output with a language identifier included in + their filenames or pathnames as follows: + + + if + man.output.subdirs.enabled is non-zero, + each file is output to, e.g., a + /$lang/man8/foo.8 pathname + + if + man.output.subdirs.enabled is zero, + each file is output with a foo.$lang.8 + filename + + + + + + index.page.number.properties property set + + For FO output, use the + index.page.number.properties to control + formatting of page numbers in index output — to (for + example) to display page numbers in index output in a + different color (to indicate that they are links). + + + + Crop marks in output from Antenna House XSL Formatter + + Support has been added for generating crop marks in + print/PDF output generated using Antenna House XSL Formatter + + + + More string-substitution hooks in manpages output + + The man.string.subst.map.local.pre + and man.string.subst.map.local.post + parameters have been added to enable easier control over + custom string substitutions. + + + + Moved verbatim properties to attribute-set + + The hardcoded properties used in verbatim elements (literallayout, + programlisting, screen) were moved to the verbatim.properties + attribute-set so they can be more easily customized. + + + + enhanced simple.xlink template + + Now the simple.xlink template in inline.xsl works with + cross reference elements xref and link as well. Also, more elements + call simple.xlink, which enables DB5 xlink functionality. + + + + + DocBook 5 compatibility + + Stylesheets now consistently support DocBook 5 attributes + (such as xml:id). Also, DocBook 5 info elements are now checked + along with other *info elements, and the use of name() function + was replaced by local-name() so it also matches on DocBook 5 elements. + These changes enable reusing the stylesheets with DocBook 5 + documents with minimal fixup. + + + + + HTML class attributes now handled in class.attribute mode + + The HTML class attributes were formerly hardcoded to the + element name. Now the class attribute is generated by applying + templates in class.attribute mode so class attribute names + can be customized. The default is still the element name. + + + + arabic-indic numbering enabled in autolabels + + Numbering of chapter, sections, and pages can now use + arabic-indic numbering when number format is set to 'arabicindic' or + to ١. + + + +The following is a detailed list of changes (not +including bug fixes) that have been made since the 1.71.1 +release. + + +Common +The following changes have been made to the + common code + since the 1.71.1 release. + + +Add support for arabicindic numbering to autolabel.format template.M: /trunk/xsl/common/labels.xsl - Robert Stayton + + +Finish support for @xml:id everywhere @id is used.M: /trunk/xsl/common/gentext.xsl; M: /trunk/xsl/common/titles.xsl - Robert Stayton + + +replace name() with local-name() in most cases.M: /trunk/xsl/common/l10n.xsl; M: /trunk/xsl/common/olink.xsl; M: /trunk/xsl/common/subtitles.xsl; M: /trunk/xsl/common/labels.xsl; M: /trunk/xsl/common/titles.xsl; M: /trunk/xsl/common/common.xsl - Robert Stayton + + +Add support for info.M: /trunk/xsl/common/subtitles.xsl; M: /trunk/xsl/common/labels.xsl; M: /trunk/xsl/common/titles.xsl; M: /trunk/xsl/common/common.xsl; M: /trunk/xsl/common/targets.xsl - Robert Stayton + + +Add utility template tabstyle to return the tabstyle from +any table element.M: /trunk/xsl/common/table.xsl - Robert Stayton + + + + + +FO +The following changes have been made to the + fo code + since the 1.71.1 release. + + +Add support for sorting glossary entriesM: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent; M: /trunk/xsl/fo/glossary.xsl - Robert Stayton + + +Add table.row.properties template to customize table rows.M: /trunk/xsl/fo/table.xsl - Robert Stayton + + +Moved all properties to attribute-sets so can be customized more easily.M: /trunk/xsl/fo/verbatim.xsl - Robert Stayton + + +Add index.page.number.properties attribute-set to format page numbers.M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + +xref now supports xlink:href, using simple.xlink template.M: /trunk/xsl/fo/xref.xsl - Robert Stayton + + +Rewrote simple.xlink, and call it with all charseq templates.M: /trunk/xsl/fo/inline.xsl - Robert Stayton + + +Add simple.xlink processing to term and member elements.M: /trunk/xsl/fo/lists.xsl - Robert Stayton + + +Add support for crop marks in Antenna House.M: /trunk/xsl/fo/axf.xsl; M: /trunk/xsl/fo/pagesetup.xsl - Robert Stayton + + + + + +HTML +The following changes have been made to the + html code + since the 1.71.1 release. + + +Add support for sorting glossary entriesM: /trunk/xsl/html/glossary.xsl - Robert Stayton + + +Add support for qanda.in.toc to add qandaentry questions to document TOC.M: /trunk/xsl/html/autotoc.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Robert Stayton + + +add simple.xlink support to variablelist term and simplelist member.M: /trunk/xsl/html/lists.xsl - Robert Stayton + + +*.propagates.style now handled in class.attribute mode.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/block.xsl; M: /trunk/xsl/html/footnote.xsl - Robert Stayton + + +add class parameter to class.attribute mode to set default class.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Convert all class attributes to use the class.attribute mode +so class names can be customized more easily.M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/chunk-code.xsl; M: /trunk/xsl/html/division.xsl; M: /trunk/xsl/html/sections.xsl; M: /trunk/xsl/html/math.xsl; M: /trunk/xsl/html/block.xsl; M: /trunk/xsl/html/info.xsl; M: /trunk/xsl/html/footnote.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/admon.xsl; M: /trunk/xsl/html/refentry.xsl; M: /trunk/xsl/html/qandaset.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/biblio.xsl; M: /trunk/xsl/html/task.xsl; M: /trunk/xsl/html/component.xsl; M: /trunk/xsl/html/glossary.xsl; M: /trunk/xsl/html/callout.xsl; M: /trunk/xsl/html/index.xsl; M: /trunk/xsl/html/synop.xsl; M: /trunk/xsl/html/verbatim.xsl; M: /trunk/xsl/html/ebnf.xsl - Robert Stayton + + +Add class.attribute mode to generate class attributes.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Added simple.xlink to most remaining inlines. +Changed class attributes to applying class.attributes mode.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Changed xref template to use simple.xlink tempalte.M: /trunk/xsl/html/xref.xsl - Robert Stayton + + +Improve generate.html.title to work with link targets too.M: /trunk/xsl/html/html.xsl - Robert Stayton + + +Improved simple.xlink to support link and xref.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Use new link.title.attribute now.M: /trunk/xsl/html/xref.xsl - Robert Stayton + + +Rewrote simple.xlink to handle linkend also. +Better computation of title attribute on link too.M: /trunk/xsl/html/inline.xsl - Robert Stayton + + +Handle Xalan quirk as special case.M: /trunk/xsl/html/db5strip.xsl - Robert Stayton + + +Add support for info.M: /trunk/xsl/html/admon.xsl; M: /trunk/xsl/html/autotoc.xsl; M: /trunk/xsl/html/lists.xsl; M: /trunk/xsl/html/refentry.xsl; M: /trunk/xsl/html/biblio.xsl; M: /trunk/xsl/html/qandaset.xsl; M: /trunk/xsl/html/component.xsl; M: /trunk/xsl/html/glossary.xsl; M: /trunk/xsl/html/division.xsl; M: /trunk/xsl/html/index.xsl; M: /trunk/xsl/html/sections.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/block.xsl - Robert Stayton + + +Fixed imagemaps so they work properly going from calspair coords +to HTML area coords.M: /trunk/xsl/html/graphics.xsl - Robert Stayton + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.71.1 release. + + +Added doc for man.output.lang.in.name.enabled parameter. This +checkin completes support for writing file/pathnames for man-pages +with $lang include in the names. Closes #1585967. knightly +accolades to Daniel Leidert for providing the feature request.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent - Michael(tm) Smith + + +Added new param man.output.lang.in.name.enabled, which +controls whether $LANG value is included in manpages +filenames and pathnames. It works like this: + +If the value of man.output.lang.in.name.enabled is non-zero, +man-page files are output with the $lang value included in +their filenames or pathnames as follows; + +- if man.output.subdirs.enabled is non-zero, each file is + output to, e.g., a /$lang/man8/foo.8 pathname + +- if man.output.subdirs.enabled is zero, each file is output + with a foo.$lang.8 filenameM: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Use "\e" instead of "\\" for backslash output, because the +groff docs say that's the correct thing to do; also because +testing (thanks, Paul Dubois) shows that "\\" doesn't always +work as expected; for example, "\\" within a table seems to +mess things up.M: /trunk/xsl/manpages/charmap.groff.xsl - Michael(tm) Smith + + +Added the man.string.subst.map.local.pre and +man.string.subst.map.local.post parameters. Those parameters +enable local additions and changes to string-substitution mappings +without the need to change the value of man.string.subst.map +parameter (which is for standard system mappings). Closes +#1456738. Thanks to Sam Steingold for constructing a true +stylesheet torture test (the clisp docs) that exposed the need for +these params.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent; M: /trunk/xsl/manpages/other.xsl - Michael(tm) Smith + + +Added the Markup element to the list of elements that get output +in bold. Thanks to Eric S. Raymond.M: /trunk/xsl/manpages/inline.xsl - Michael(tm) Smith + + +Replaced all dots in roff requests with U+2302 ("house" +character), and added escaping in output for all instances of dot +that are not in roff requests. This fixes the problem case where a +string beginning with a dot (for example, the string ".bashrc") +might occur at the beginning of a line in output, in which case +would mistakenly get interpreted as a roff request. Thanks to Eric +S. Raymond for pushing to fix this.M: /trunk/xsl/manpages/table.xsl; M: /trunk/xsl/manpages/synop.xsl; M: /trunk/xsl/manpages/block.xsl; M: /trunk/xsl/manpages/info.xsl; M: /trunk/xsl/manpages/lists.xsl; M: /trunk/xsl/manpages/refentry.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Made change to ensure that list content nested in +itemizedlist and orderedlist instances is properly indented. This +is a switch from using .TP to format those lists to using .RS/.RE +to format them instead (because .TP does not allow nesting). Closes bug #1602616. +Thanks to Daniel Leidert.M: /trunk/xsl/manpages/lists.xsl - Michael(tm) Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.71.1 release. + + +Added doc for man.output.lang.in.name.enabled parameter. This +checkin completes support for writing file/pathnames for man-pages +with $lang include in the names. Closes #1585967. knightly +accolades to Daniel Leidert for providing the feature request.A: /trunk/xsl/params/man.output.lang.in.name.enabled.xml - Michael(tm) Smith + + +Added new param man.output.lang.in.name.enabled, which +controls whether $LANG value is included in manpages +filenames and pathnames. It works like this: + +If the value of man.output.lang.in.name.enabled is non-zero, +man-page files are output with the $lang value included in +their filenames or pathnames as follows; + +- if man.output.subdirs.enabled is non-zero, each file is + output to, e.g., a /$lang/man8/foo.8 pathname + +- if man.output.subdirs.enabled is zero, each file is output + with a foo.$lang.8 filenameM: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + +Added the man.string.subst.map.local.pre and +man.string.subst.map.local.post parameters. Those parameters +enable local additions and changes to string-substitution mappings +without the need to change the value of man.string.subst.map +parameter (which is for standard system mappings). Closes +#1456738. Thanks to Sam Steingold for constructing a true +stylesheet torture test (the clisp docs) that exposed the need for +these params.A: /trunk/xsl/params/man.string.subst.map.local.post.xml; A: /trunk/xsl/params/man.string.subst.map.local.pre.xml; M: /trunk/xsl/params/man.string.subst.map.xml - Michael(tm) Smith + + +Add index.page.number.properties by default.M: /trunk/xsl/params/xep.index.item.properties.xml - Robert Stayton + + +Added index.page.number.properties to allow customizations of page numbers in indexes.A: /trunk/xsl/params/index.page.number.properties.xml - Robert Stayton + + +Move show-destination="replace" property from template to attribute-set +so it can be customized.M: /trunk/xsl/params/olink.properties.xml - Robert Stayton + + +Add support for sorting glossary entriesA: /trunk/xsl/params/glossary.sort.xml - Robert Stayton + + +Add option to include qanda in tables of contents.A: /trunk/xsl/params/qanda.in.toc.xml - Robert Stayton + + +Moved all properties to attribute-sets so can be customized more easily.M: /trunk/xsl/params/verbatim.properties.xml - Robert Stayton + + + + + +Template +The following changes have been made to the + template code + since the 1.71.1 release. + + +Added workaround for Xalan bug: use for-each and copy instead of copy-of (#1604770).M: /trunk/xsl/template/titlepage.xsl - Mauritz Jeanson + + + + + +Roundtrip +The following changes have been made to the + roundtrip code + since the 1.71.1 release. + + +rename to roundtrip, add OpenOffice supportM: /trunk/xsl/roundtrip/docbook-pages.xsl; M: /trunk/xsl/roundtrip/specifications.xml; A: /trunk/xsl/roundtrip/dbk2ooo.xsl; M: /trunk/xsl/roundtrip/docbook.xsl; A: /trunk/xsl/roundtrip/dbk2pages.xsl; M: /trunk/xsl/roundtrip/template.xml; A: /trunk/xsl/roundtrip/dbk2wordml.xsl; A: /trunk/xsl/roundtrip/dbk2wp.xsl; M: /trunk/xsl/roundtrip/template.dot; M: /trunk/xsl/roundtrip/wordml-final.xsl - Steve Ball + + + + + + +Release: 1.71.1 +This is a minor update to the 1.71.0 release. Along with a +number of bug fixes, it includes two feature changes: + + + + Added support for profiling based on xml:lang and status attributes. + + + Added initial support in manpages output for + footnote, annotation, and alt + instances. Basically, they all now get handled the same way + ulink instances are. They are treated as a class as + "note sources": A numbered marker is generated at the place in the + main text flow where they occur, then their contents are displayed + in an endnotes section at the end of the man page. + + + + + +Common +The following changes have been made to the + common code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.D: /trunk/xsl/common/autoidx-ng.xsl - Jirka Kosek + + +Add support for Xalan generating a root xml:base like saxon.M: /trunk/xsl/common/stripns.xsl - Robert Stayton + + + + + +FO +The following changes have been made to the + fo code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.M: /trunk/xsl/fo/autoidx-ng.xsl; M: /trunk/xsl/fo/autoidx-kosek.xsl - Jirka Kosek + + +Add support for Xalan to add root node xml:base for db5 docs.M: /trunk/xsl/fo/docbook.xsl - Robert Stayton + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.71.1 release. + + +For backward compatability autoidx-ng.xsl is invoking "kosek" indexing method again.M: /trunk/xsl/html/autoidx-ng.xsl; M: /trunk/xsl/html/autoidx-kosek.xsl - Jirka Kosek + + +Add support for Xalan to add root node xml:base for db5 docs.M: /trunk/xsl/html/chunk-code.xsl; M: /trunk/xsl/html/docbook.xsl - Robert Stayton + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Jirka Kosek + + +Made changes in namespace declarations to prevent xmllint's +canonicalizer from treating them as relative namespace URIs. + + - Changed xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" + to xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService"; + Saxon accepts either form + (see http://www.saxonica.com/documentation/extensibility/functions.html); + to Saxon, "the part of the URI before the final '/' is immaterial". + + - Changed, e.g. xmlns:xverb="com.nwalsh.xalan.Verbatim" to + xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"; Xalan accepts + either form + (see http://xml.apache.org/xalan-j/extensions.html#java-namespace-declare); + just as Saxon does, it will "simply use the string to the + right of the rightmost forward slash as the Java class name". + + - Changed xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" + to xmlns:redirect="http://xml.apache.org/xalan/redirect", and + adjusted associated code to make the current Xalan redirect spec. + (see http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/Redirect.html)M: /trunk/xsl/html/oldchunker.xsl; M: /trunk/xsl/html/chunker.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/callout.xsl; M: /trunk/xsl/html/autoidx-kimber.xsl; M: /trunk/xsl/html/autoidx-kosek.xsl; M: /trunk/xsl/html/table.xsl; M: /trunk/xsl/html/verbatim.xsl - Michael(tm) Smith + + +Added the html.append and chunk.append parameters. By default, the +value of both is empty; but the internal DocBook XSL stylesheets +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order +to ensure that all files in the docbook-xsl-doc package end in a +newline character. (Because diff and some other tools may emit +error messages and/or not behave as expected when processing +files that are not newline-terminated.)M: /trunk/xsl/html/chunk-common.xsl; M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/docbook.xsl; M: /trunk/xsl/html/graphics.xsl; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.71.1 release. + + +Added license informationM: /trunk/xsl/highlighting/delphi-hl.xml; M: /trunk/xsl/highlighting/myxml-hl.xml; M: /trunk/xsl/highlighting/php-hl.xml; M: /trunk/xsl/highlighting/m2-hl.xml; M: /trunk/xsl/highlighting/ini-hl.xml; M: /trunk/xsl/highlighting/xslthl-config.xml; M: /trunk/xsl/highlighting/java-hl.xml - Jirka Kosek + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.71.1 release. + + +Added initial support in manpages output for footnote, annotation, +and alt instances. Basically, they all now get handled the same +way ulink instances are. They are treated as a class as "note +sources": A numbered marker is generated at the place in the main +text flow where they occur, then their contents are displayed in +an endnotes section at the end of the man page (currently titled +REFERENCES, for English output, but will be changed to NOTES). + +This support is not yet complete. It works for most "normal" +cases, but probably mishandles a good number of cases. More +testing will be needed to expose the problems. It may well also +introduce some bugs and regressions in other areas, including +basic paragraph handling, handling of "mixed block" content, +handling of other indented content, and handling of authorblurb +and personblurb in the AUTHORS section.M: /trunk/xsl/manpages/table.xsl; M: /trunk/xsl/manpages/block.xsl; M: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl; M: /trunk/xsl/manpages/utility.xsl - Michael(tm) Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.71.1 release. + + +Added support for profiling based on xml:lang and status attributes.A: /trunk/xsl/params/profile.status.xml - Jirka Kosek + + +Added the html.append and chunk.append parameters. By default, the +value of both is empty; but the internal DocBook XSL stylesheets +build sets their value to "<xsl:text>&#x0a;</xsl:text>", in order +to ensure that all files in the docbook-xsl-doc package end in a +newline character. (Because diff and some other tools may emit +error messages and/or not behave as expected when processing +files that are not newline-terminated.)A: /trunk/xsl/params/html.append.xml; A: /trunk/xsl/params/chunk.append.xml - Michael(tm) Smith + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.71.1 release. + + +Added support for profiling based on xml:lang and status attributes.M: /trunk/xsl/profiling/profile.xsl; M: /trunk/xsl/profiling/profile-mode.xsl - Jirka Kosek + + + + + + + +Release: 1.71.0 +This is mainly a bug fix release, but it also includes two +significant feature changes: + + + Highlighting support added + + The stylesheets now include support for source-code + highlighting in output of programlisting instances (controlled + through the highlight.source + parameter). The Java-based implementation requires Saxon and + makes use of MichalMolhanec’s XSLTHL. More details are available at Jirka Kosek’s + website:
    The support is currently limited to highlighting + of XML, Java, PHP, Delphi, Modula-2 sources, and INI + files.
    +
    +
    + + Changes to autoindexing + + The templates that handle alternative indexing methods + were reworked to avoid errors produced by certain processors not + being able to tolerate the presence of unused functions. With + this release, none of the code for the 'kimber' or 'kosek' + methods is included in the default stylesheets. In order to use + one of those methods, your customization layer must import one + of the optional stylesheet modules: + + + + html/autoidx-kosek.xsl + + + html/autoidx-kimber.xsl + + + fo/autoidx-kosek.xsl + + + fo/autoidx-kimber.xsl + + + See the index.method parameter + reference page for more information. + + Two other changes to note: + + + The default indexing method now can handle accented + characters in latin-based alphabets, not just English. This + means accented latin letters will group and sort with their + unaccented counterpart. + + + The default value for the + index.method parameter was changed + from 'english' to 'basic' because now the default method can + handle latin-based alphabets, not just English. + + + + + +
    +The following is a list of changes that have +been made since the 1.70.1 release.
    + + +Common +The following changes have been made to the + common code + since the 1.70.1 release. + + + +Added reference.autolabel parameter for controlling labels on +reference output.M: /trunk/xsl/common/labels.xsl - Michael(tm) Smith + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/common/table.xsl - Norman Walsh + + +New modules for supporting indexing extensions.A: /trunk/xsl/common/autoidx-kimber.xsl; A: /trunk/xsl/common/autoidx-kosek.xsl - Robert Stayton + + +Support startinglinenumber on orderedlistM: /trunk/xsl/common/common.xsl - Norman Walsh + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.70.1 release. + + +Completely reworked extensions build system; now uses NetBeans and antD: /trunk/xsl/extensions/xalan27/.cvsignore; A: /trunk/xsl/extensions/saxon65/nbproject; A: /trunk/xsl/extensions/saxon65/nbproject/project.properties; D: /trunk/xsl/extensions/prj.el; A: /trunk/xsl/extensions/saxon65/src; A: /trunk/xsl/extensions/xalan2/src/com; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Text.java; A: /trunk/xsl/extensions/saxon65/nbproject/project.xml; D: /trunk/xsl/extensions/build.xml; A: /trunk/xsl/extensions/saxon65/build.xml; A: /trunk/xsl/extensions/xalan2/nbproject/genfiles.properties; A: /trunk/xsl/extensions/saxon65; D: /trunk/xsl/extensions/xalan2/com; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Func.java; A: /trunk/xsl/extensions/xalan2/test; A: /trunk/xsl/extensions/saxon65/src/com; A: /trunk/xsl/extensions/xalan2/nbproject/build-impl.xml; A: /trunk/xsl/extensions/xalan2/nbproject; A: /trunk/xsl/extensions/xalan2/src; A: /trunk/xsl/extensions/xalan2/nbproject/project.properties; D: /trunk/xsl/extensions/.cvsignore; M: /trunk/xsl/extensions/Makefile; D: /trunk/xsl/extensions/saxon8; A: /trunk/xsl/extensions/saxon65/nbproject/genfiles.properties; A: /trunk/xsl/extensions/xalan2/nbproject/project.xml; A: /trunk/xsl/extensions/saxon65/test; M: /trunk/xsl/extensions/xalan2/src/com/nwalsh/xalan/Verbatim.java; A: /trunk/xsl/extensions/xalan2/build.xml; M: /trunk/xsl/extensions/xalan2; D: /trunk/xsl/extensions/saxon643; A: /trunk/xsl/extensions/saxon65/nbproject/build-impl.xml - Norman Walsh + + + + + +FO +The following changes have been made to the + fo code + since the 1.70.1 release. + + + +xsl:sort lang attribute now uses two-char substring of lang attribute.M: /trunk/xsl/fo/autoidx-kimber.xsl - Robert Stayton + + + +Support titlecase "Java", "Perl", and "IDL" as values for the +language attribute on classsynopsis, etc. (instead of just +lowercase "java", "perl", and "idl"). Also support "c++" and "C++" +(instead of just "cpp"). + +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks +to "Brian A. Vanderburg II".M: /trunk/xsl/fo/synop.xsl - Michael(tm) Smith + + + +Added support for the reference.autolabel param in (X)HTML and FO +output.M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Michael(tm) Smith + + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/fo/table.xsl - Norman Walsh + + + +Rearranged templates for the 3 indexing methods +and changed method named 'english' to 'basic'.M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + +New modules for supporting indexing extensions.A: /trunk/xsl/fo/autoidx-kimber.xsl; A: /trunk/xsl/fo/autoidx-kosek.xsl - Robert Stayton + + + +Turn off blank-body for fop1.extensions too since fop 0.92 +does not support it either.M: /trunk/xsl/fo/pagesetup.xsl - Robert Stayton + + + +Add Xalan variant to test for exslt:node-set function. +Xalan can use function named node-set(), but doesn't +recognize it using function-available().M: /trunk/xsl/fo/autoidx.xsl - Robert Stayton + + + +Added support to FO stylesheets for handling instances of Org +where it occurs outside of *info content. In HTML stylesheets, +moved handling of Org out of info.xsl and into inline.xsl. In both +FO and HTML stylesheets, added support for correctly processing +Affiliation and Jobtitle.M: /trunk/xsl/fo/inline.xsl - Michael(tm) Smith + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/fo/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/fo/inline.xsl; M: /trunk/xsl/fo/param.xweb; M: /trunk/xsl/fo/param.ent - Michael(tm) Smith + + + +Initial support of syntax highlighting of programlistings.M: /trunk/xsl/fo/param.ent; M: /trunk/xsl/fo/param.xweb; A: /trunk/xsl/fo/highlight.xsl; M: /trunk/xsl/fo/verbatim.xsl - Jirka Kosek + + +Chapter after preface should restart numbering of pages.M: /trunk/xsl/fo/pagesetup.xsl - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.70.1 release. + + + +xsl:sort lang attribute now uses two-char substring of lang attribute.M: /trunk/xsl/html/autoidx-kimber.xsl - Robert Stayton + + +Support titlecase "Java", "Perl", and "IDL" as values for the +language attribute on classsynopsis, etc. (instead of just +lowercase "java", "perl", and "idl"). Also support "c++" and "C++" +(instead of just "cpp"). + +Affects HTML, FO, and manpages output. Closes bug 1552332. Thanks +to "Brian A. Vanderburg II".M: /trunk/xsl/html/synop.xsl - Michael(tm) Smith + + + +Added support for the reference.autolabel param in (X)HTML and FO +output.M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + +Support rows that are *completely* overlapped by the preceding rowM: /trunk/xsl/html/table.xsl - Norman Walsh + + + +Rearranged templates for the 3 indexing methods +and changed method named 'english' to 'basic'.M: /trunk/xsl/html/autoidx.xsl - Robert Stayton + + +New modules for supporting indexing extensions.A: /trunk/xsl/html/autoidx-kimber.xsl; A: /trunk/xsl/html/autoidx-kosek.xsl - Robert Stayton + + + +Added several new HTML parameters for controlling appearance of +content on HTML title pages: + +contrib.inline.enabled: + If non-zero (the default), output of the contrib element is + displayed as inline content rather than as block content. + +othercredit.like.author.enabled: + If non-zero, output of the othercredit element on titlepages is + displayed in the same style as author and editor output. If zero + (the default), othercredit output is displayed using a style + different than that of author and editor. + +blurb.on.titlepage.enabled: + If non-zero, output from authorblurb and personblurb elements is + displayed on title pages. If zero (the default), output from + those elements is suppressed on title pages (unless you are + using a titlepage customization that causes them to be included). + +editedby.enabled + If non-zero (the default), a localized Edited by heading is + displayed above editor names in output of the editor element.M: /trunk/xsl/html/titlepage.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + +Add Xalan variant to test for exslt:node-set function. +Xalan can use function named node-set(), but doesn't +recognize it using function-available().M: /trunk/xsl/html/autoidx.xsl - Robert Stayton + + + +Added support to FO stylesheets for handling instances of Org +where it occurs outside of *info content. In HTML stylesheets, +moved handling of Org out of info.xsl and into inline.xsl. In both +FO and HTML stylesheets, added support for correctly processing +Affiliation and Jobtitle.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/info.xsl - Michael(tm) Smith + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/html/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/html/inline.xsl; M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent - Michael(tm) Smith + + + +Added qanda.nested.in.toc param. Default value is zero. If +non-zero, instances of "nested" Qandaentry (ones that are children +of Answer elements) are displayed in the TOC. Closes patch 1509018 +(from Daniel Leidert). Currently on affects HTML output (no patch +for FO output provided).M: /trunk/xsl/html/param.xweb; M: /trunk/xsl/html/param.ent; M: /trunk/xsl/html/qandaset.xsl - Michael(tm) Smith + + + + +Improved handling of relative locations generated filesM: /trunk/xsl/html/html.xsl - Jirka Kosek + + + +Initial support of syntax highlighting of programlistings.M: /trunk/xsl/html/param.ent; M: /trunk/xsl/html/param.xweb; A: /trunk/xsl/html/highlight.xsl; M: /trunk/xsl/html/verbatim.xsl - Jirka Kosek + + +Support orgM: /trunk/xsl/html/info.xsl - Norman Walsh + + +Support personM: /trunk/xsl/html/inline.xsl - Norman Walsh + + +Support $keep.relative.image.uris also when chunkingM: /trunk/xsl/html/chunk-code.xsl - Jirka Kosek + + + + + +Highlighting +The following changes have been made to the + highlighting code + since the 1.70.1 release. + + + +Initial support of syntax highlighting of programlistings.A: /trunk/xsl/highlighting/php-hl.xml; A: /trunk/xsl/highlighting/common.xsl; A: /trunk/xsl/highlighting/delphi-hl.xml; A: /trunk/xsl/highlighting/myxml-hl.xml; A: /trunk/xsl/highlighting/m2-hl.xml; A: /trunk/xsl/highlighting/ini-hl.xml; A: /trunk/xsl/highlighting/xslthl-config.xml; A: /trunk/xsl/highlighting/java-hl.xml - Jirka Kosek + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.70.1 release. + + + +Suppress footnote markers and output warning that footnotes are +not yet supported.M: /trunk/xsl/manpages/docbook.xsl; M: /trunk/xsl/manpages/links.xsl; M: /trunk/xsl/manpages/other.xsl - Michael(tm) Smith + + + +Handle instances of address/otheraddr/ulink in author et al in the +same way as email instances; that is, display them on the same +linke as the author, editor, etc., name.M: /trunk/xsl/manpages/info.xsl - Michael(tm) Smith + + +Don't number or link-list any Ulink instance whose string value is +identical to the value of its url attribute. Just display it inline.M: /trunk/xsl/manpages/links.xsl - Michael(tm) Smith + + + +Don't output punctuation between Refname and Refpurpose if +Refpurpose is empty. Also corrected handling of Refsect2/title +instances, and removed some debugging stuff that was generated in +manpages output to mark the ends of sections.M: /trunk/xsl/manpages/refentry.xsl - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.M: /trunk/xsl/manpages/param.xweb; M: /trunk/xsl/manpages/param.ent - Michael(tm) Smith + + + +In manpages output, if the last/nearest *info element for +particular Refentry has multiple Copyright and/or Legalnotice +children, process them all (not just the first ones). Closes bug +1524576. Thanks to Sam Steingold for the report and to Daniel +Leidert for providing a patch.M: /trunk/xsl/manpages/info.xsl - Michael(tm) Smith + + + + + + +Params +The following changes have been made to the + params code + since the 1.70.1 release. + + +Added reference.autolabel parameter for controlling labels on +reference output.A: /trunk/xsl/params/reference.autolabel.xml - Michael(tm) Smith + + +Added namespace declarations to document elements for all param files.M: /trunk/xsl/params/toc.line.properties.xml; M: /trunk/xsl/params/title.font.family.xml; M: /trunk/xsl/params/component.label.includes.part.label.xml; M: /trunk/xsl/params/refentry.manual.profile.xml; M: /trunk/xsl/params/orderedlist.properties.xml; M: /trunk/xsl/params/olink.pubid.xml; M: /trunk/xsl/params/informalexample.properties.xml; M: /trunk/xsl/params/appendix.autolabel.xml; M: /trunk/xsl/params/htmlhelp.show.toolbar.text.xml; M: /trunk/xsl/params/index.on.role.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.url.xml; M: /trunk/xsl/params/variablelist.term.separator.xml; M: /trunk/xsl/params/para.propagates.style.xml; M: /trunk/xsl/params/html.stylesheet.xml; M: /trunk/xsl/params/qanda.nested.in.toc.xml; M: /trunk/xsl/params/annotation.css.xml; M: /trunk/xsl/params/funcsynopsis.style.xml; M: /trunk/xsl/params/htmlhelp.encoding.xml; M: /trunk/xsl/params/footer.content.properties.xml; M: /trunk/xsl/params/verbatim.properties.xml; M: /trunk/xsl/params/autotoc.label.in.hyperlink.xml; M: /trunk/xsl/params/body.margin.top.xml; M: /trunk/xsl/params/bibliography.numbered.xml; M: /trunk/xsl/params/figure.properties.xml; M: /trunk/xsl/params/variablelist.max.termlength.xml; M: /trunk/xsl/params/table.cell.border.style.xml; M: /trunk/xsl/params/htmlhelp.button.options.xml; M: /trunk/xsl/params/preferred.mediaobject.role.xml; M: /trunk/xsl/params/htmlhelp.chm.xml; M: /trunk/xsl/params/man.charmap.subset.profile.xml; M: /trunk/xsl/params/qanda.title.level3.properties.xml; M: /trunk/xsl/params/page.width.xml; M: /trunk/xsl/params/firstterm.only.link.xml; M: /trunk/xsl/params/section.level6.properties.xml; M: /trunk/xsl/params/htmlhelp.button.locate.xml; M: /trunk/xsl/params/chunk.sections.xml; M: /trunk/xsl/params/use.local.olink.style.xml; M: /trunk/xsl/params/refentry.date.profile.enabled.xml; M: /trunk/xsl/params/refentry.version.suppress.xml; M: /trunk/xsl/params/refentry.generate.title.xml; M: /trunk/xsl/params/punct.honorific.xml; M: /trunk/xsl/params/column.gap.index.xml; M: /trunk/xsl/params/body.start.indent.xml; M: /trunk/xsl/params/crop.mark.width.xml; M: /trunk/xsl/params/refentry.version.profile.enabled.xml; M: /trunk/xsl/params/superscript.properties.xml; M: /trunk/xsl/params/chunker.output.doctype-public.xml; M: /trunk/xsl/params/saxon.character.representation.xml; M: /trunk/xsl/params/saxon.linenumbering.xml; M: /trunk/xsl/params/shade.verbatim.style.xml; M: /trunk/xsl/params/annotate.toc.xml; M: /trunk/xsl/params/profile.attribute.xml; M: /trunk/xsl/params/callout.graphics.number.limit.xml; M: /trunk/xsl/params/profile.arch.xml; M: /trunk/xsl/params/saxon.tablecolumns.xml; M: /trunk/xsl/params/glossterm.auto.link.xml; M: /trunk/xsl/params/default.units.xml; M: /trunk/xsl/params/qanda.title.level1.properties.xml; M: /trunk/xsl/params/list.block.spacing.xml; M: /trunk/xsl/params/section.level4.properties.xml; M: /trunk/xsl/params/spacing.paras.xml; M: /trunk/xsl/params/column.count.index.xml; M: /trunk/xsl/params/dingbat.font.family.xml; M: /trunk/xsl/params/citerefentry.link.xml; M: /trunk/xsl/params/keep.relative.image.uris.xml; M: /trunk/xsl/params/ulink.footnotes.xml; M: /trunk/xsl/params/prefer.internal.olink.xml; M: /trunk/xsl/params/refentry.title.properties.xml; M: /trunk/xsl/params/variablelist.term.break.after.xml; M: /trunk/xsl/params/use.id.function.xml; M: /trunk/xsl/params/callout.unicode.start.character.xml; M: /trunk/xsl/params/column.gap.titlepage.xml; M: /trunk/xsl/params/editedby.enabled.xml; M: /trunk/xsl/params/funcsynopsis.tabular.threshold.xml; M: /trunk/xsl/params/use.extensions.xml; M: /trunk/xsl/params/index.preferred.page.properties.xml; M: /trunk/xsl/params/man.th.extra3.max.length.xml; M: /trunk/xsl/params/column.gap.back.xml; M: /trunk/xsl/params/tex.math.delims.xml; M: /trunk/xsl/params/article.appendix.title.properties.xml; M: /trunk/xsl/params/ulink.target.xml; M: /trunk/xsl/params/suppress.header.navigation.xml; M: /trunk/xsl/params/olink.resolver.xml; M: /trunk/xsl/params/admon.textlabel.xml; M: /trunk/xsl/params/procedure.properties.xml; M: /trunk/xsl/params/blurb.on.titlepage.enabled.xml; M: /trunk/xsl/params/section.level2.properties.xml; M: /trunk/xsl/params/column.gap.front.xml; M: /trunk/xsl/params/margin.note.title.properties.xml; M: /trunk/xsl/params/glossary.collection.xml; M: /trunk/xsl/params/admon.graphics.xml; M: /trunk/xsl/params/current.docid.xml; M: /trunk/xsl/params/qanda.inherit.numeration.xml; M: /trunk/xsl/params/table.cell.padding.xml; M: /trunk/xsl/params/preface.autolabel.xml; M: /trunk/xsl/params/man.th.extra3.suppress.xml; M: /trunk/xsl/params/wordml.template.xml; M: /trunk/xsl/params/htmlhelp.use.hhk.xml; M: /trunk/xsl/params/textinsert.extension.xml; M: /trunk/xsl/params/ebnf.table.bgcolor.xml; M: /trunk/xsl/params/refentry.source.fallback.profile.xml; M: /trunk/xsl/params/body.font.master.xml; M: /trunk/xsl/params/l10n.gentext.default.language.xml; M: /trunk/xsl/params/list.block.properties.xml; M: /trunk/xsl/params/refentry.source.name.suppress.xml; M: /trunk/xsl/params/htmlhelp.hhp.window.xml; M: /trunk/xsl/params/sidebar.properties.xml; M: /trunk/xsl/params/tex.math.file.xml; M: /trunk/xsl/params/man.justify.xml; M: /trunk/xsl/params/subscript.properties.xml; M: /trunk/xsl/params/column.count.front.xml; M: /trunk/xsl/params/index.term.separator.xml; M: /trunk/xsl/params/biblioentry.properties.xml; M: /trunk/xsl/params/biblioentry.item.separator.xml; M: /trunk/xsl/params/htmlhelp.button.home.url.xml; M: /trunk/xsl/params/column.count.body.xml; M: /trunk/xsl/params/suppress.navigation.xml; M: /trunk/xsl/params/htmlhelp.remember.window.position.xml; M: /trunk/xsl/params/htmlhelp.hhc.section.depth.xml; M: /trunk/xsl/params/xref.with.number.and.title.xml; M: /trunk/xsl/params/make.year.ranges.xml; M: /trunk/xsl/params/region.before.extent.xml; M: /trunk/xsl/params/xref.label-page.separator.xml; M: /trunk/xsl/params/html.longdesc.link.xml; M: /trunk/xsl/params/man.subheading.divider.enabled.xml; M: /trunk/xsl/params/index.entry.properties.xml; M: /trunk/xsl/params/generate.legalnotice.link.xml; M: /trunk/xsl/params/section.autolabel.xml; M: /trunk/xsl/params/html.base.xml; M: /trunk/xsl/params/suppress.footer.navigation.xml; M: /trunk/xsl/params/nominal.image.depth.xml; M: /trunk/xsl/params/table.footnote.number.symbols.xml; M: /trunk/xsl/params/table.footnote.number.format.xml; M: /trunk/xsl/params/callout.graphics.xml; M: /trunk/xsl/params/man.break.after.slash.xml; M: /trunk/xsl/params/function.parens.xml; M: /trunk/xsl/params/part.autolabel.xml; M: /trunk/xsl/params/saxon.callouts.xml; M: /trunk/xsl/params/css.decoration.xml; M: /trunk/xsl/params/htmlhelp.button.home.xml; M: /trunk/xsl/params/email.delimiters.enabled.xml; M: /trunk/xsl/params/column.count.lot.xml; M: /trunk/xsl/params/draft.mode.xml; M: /trunk/xsl/params/use.role.for.mediaobject.xml; M: /trunk/xsl/params/refentry.separator.xml; M: /trunk/xsl/params/man.font.funcsynopsisinfo.xml; M: /trunk/xsl/params/man.output.manifest.filename.xml; M: /trunk/xsl/params/process.empty.source.toc.xml; M: /trunk/xsl/params/man.output.in.separate.dir.xml; M: /trunk/xsl/params/graphicsize.use.img.src.path.xml; M: /trunk/xsl/params/man.output.encoding.xml; M: /trunk/xsl/params/column.gap.lot.xml; M: /trunk/xsl/params/profile.role.xml; M: /trunk/xsl/params/column.count.titlepage.xml; M: /trunk/xsl/params/show.comments.xml; M: /trunk/xsl/params/informalfigure.properties.xml; M: /trunk/xsl/params/entry.propagates.style.xml; M: /trunk/xsl/params/bibliography.collection.xml; M: /trunk/xsl/params/contrib.inline.enabled.xml; M: /trunk/xsl/params/section.title.level5.properties.xml; M: /trunk/xsl/params/fop.extensions.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.xml; M: /trunk/xsl/params/man.hyphenate.urls.xml; M: /trunk/xsl/params/profile.condition.xml; M: /trunk/xsl/params/header.column.widths.xml; M: /trunk/xsl/params/annotation.js.xml; M: /trunk/xsl/params/chunker.output.standalone.xml; M: /trunk/xsl/params/targets.filename.xml; M: /trunk/xsl/params/default.float.class.xml; M: /trunk/xsl/params/chapter.autolabel.xml; M: /trunk/xsl/params/sidebar.float.type.xml; M: /trunk/xsl/params/profile.separator.xml; M: /trunk/xsl/params/generate.index.xml; M: /trunk/xsl/params/nongraphical.admonition.properties.xml; M: /trunk/xsl/params/navig.graphics.xml; M: /trunk/xsl/params/htmlhelp.button.next.xml; M: /trunk/xsl/params/insert.olink.pdf.frag.xml; M: /trunk/xsl/params/htmlhelp.button.stop.xml; M: /trunk/xsl/params/footnote.font.size.xml; M: /trunk/xsl/params/profile.value.xml; M: /trunk/xsl/params/ebnf.table.border.xml; M: /trunk/xsl/params/htmlhelp.hhc.folders.instead.books.xml; M: /trunk/xsl/params/glossary.as.blocks.xml; M: /trunk/xsl/params/body.end.indent.xml; M: /trunk/xsl/params/use.role.as.xrefstyle.xml; M: /trunk/xsl/params/man.indent.blurbs.xml; M: /trunk/xsl/params/chunker.output.encoding.xml; M: /trunk/xsl/params/chunker.output.omit-xml-declaration.xml; M: /trunk/xsl/params/sans.font.family.xml; M: /trunk/xsl/params/html.cleanup.xml; M: /trunk/xsl/params/htmlhelp.hhp.xml; M: /trunk/xsl/params/htmlhelp.only.xml; M: /trunk/xsl/params/eclipse.plugin.name.xml; M: /trunk/xsl/params/section.title.level3.properties.xml; M: /trunk/xsl/params/man.th.extra1.suppress.xml; M: /trunk/xsl/params/chunk.section.depth.xml; M: /trunk/xsl/params/htmlhelp.hhp.tail.xml; M: /trunk/xsl/params/sidebar.title.properties.xml; M: /trunk/xsl/params/hyphenate.xml; M: /trunk/xsl/params/paper.type.xml; M: /trunk/xsl/params/chunk.tocs.and.lots.has.title.xml; M: /trunk/xsl/params/symbol.font.family.xml; M: /trunk/xsl/params/page.margin.bottom.xml; M: /trunk/xsl/params/callout.unicode.number.limit.xml; M: /trunk/xsl/params/itemizedlist.properties.xml; M: /trunk/xsl/params/root.filename.xml; M: /trunk/xsl/params/tablecolumns.extension.xml; M: /trunk/xsl/params/htmlhelp.show.favorities.xml; M: /trunk/xsl/params/informaltable.properties.xml; M: /trunk/xsl/params/revhistory.table.cell.properties.xml; M: /trunk/xsl/params/htmlhelp.default.topic.xml; M: /trunk/xsl/params/compact.list.item.spacing.xml; M: /trunk/xsl/params/page.height.portrait.xml; M: /trunk/xsl/params/html.head.legalnotice.link.types.xml; M: /trunk/xsl/params/passivetex.extensions.xml; M: /trunk/xsl/params/orderedlist.label.properties.xml; M: /trunk/xsl/params/othercredit.like.author.enabled.xml; M: /trunk/xsl/params/header.content.properties.xml; M: /trunk/xsl/params/refentry.meta.get.quietly.xml; M: /trunk/xsl/params/section.properties.xml; M: /trunk/xsl/params/htmlhelp.button.hideshow.xml; M: /trunk/xsl/params/simplesect.in.toc.xml; M: /trunk/xsl/params/chunk.quietly.xml; M: /trunk/xsl/params/htmlhelp.enumerate.images.xml; M: /trunk/xsl/params/section.title.level1.properties.xml; M: /trunk/xsl/params/qanda.defaultlabel.xml; M: /trunk/xsl/params/htmlhelp.enhanced.decompilation.xml; M: /trunk/xsl/params/man.th.title.max.length.xml; M: /trunk/xsl/params/footnote.number.format.xml; M: /trunk/xsl/params/body.margin.bottom.xml; M: /trunk/xsl/params/htmlhelp.window.geometry.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.xml; M: /trunk/xsl/params/use.svg.xml; M: /trunk/xsl/params/qanda.title.level6.properties.xml; M: /trunk/xsl/params/collect.xref.targets.xml; M: /trunk/xsl/params/html.extra.head.links.xml; M: /trunk/xsl/params/variablelist.as.table.xml; M: /trunk/xsl/params/man.indent.width.xml; M: /trunk/xsl/params/eclipse.plugin.id.xml; M: /trunk/xsl/params/linenumbering.width.xml; M: /trunk/xsl/params/axf.extensions.xml; M: /trunk/xsl/params/menuchoice.separator.xml; M: /trunk/xsl/params/glossterm.separation.xml; M: /trunk/xsl/params/htmlhelp.autolabel.xml; M: /trunk/xsl/params/chunk.separate.lots.xml; M: /trunk/xsl/params/man.hyphenate.computer.inlines.xml; M: /trunk/xsl/params/linenumbering.separator.xml; M: /trunk/xsl/params/htmlhelp.title.xml; M: /trunk/xsl/params/index.number.separator.xml; M: /trunk/xsl/params/htmlhelp.button.prev.xml; M: /trunk/xsl/params/refentry.manual.fallback.profile.xml; M: /trunk/xsl/params/table.frame.border.color.xml; M: /trunk/xsl/params/footnote.sep.leader.properties.xml; M: /trunk/xsl/params/hyphenate.verbatim.characters.xml; M: /trunk/xsl/params/table.cell.border.thickness.xml; M: /trunk/xsl/params/template.xml; M: /trunk/xsl/params/margin.note.properties.xml; M: /trunk/xsl/params/man.segtitle.suppress.xml; M: /trunk/xsl/params/generate.toc.xml; M: /trunk/xsl/params/formal.object.properties.xml; M: /trunk/xsl/params/footnote.mark.properties.xml; M: /trunk/xsl/params/header.table.height.xml; M: /trunk/xsl/params/htmlhelp.button.back.xml; M: /trunk/xsl/params/qanda.title.level4.properties.xml; M: /trunk/xsl/params/man.links.are.numbered.xml; M: /trunk/xsl/params/manual.toc.xml; M: /trunk/xsl/params/olink.lang.fallback.sequence.xml; M: /trunk/xsl/params/refentry.manual.profile.enabled.xml; M: /trunk/xsl/params/ulink.hyphenate.chars.xml; M: /trunk/xsl/params/manifest.xml; M: /trunk/xsl/params/olink.fragid.xml; M: /trunk/xsl/params/refentry.date.profile.xml; M: /trunk/xsl/params/linenumbering.extension.xml; M: /trunk/xsl/params/component.title.properties.xml; M: /trunk/xsl/params/alignment.xml; M: /trunk/xsl/params/refentry.version.profile.xml; M: /trunk/xsl/params/ebnf.assignment.xml; M: /trunk/xsl/params/htmlhelp.button.print.xml; M: /trunk/xsl/params/annotation.support.xml; M: /trunk/xsl/params/sidebar.float.width.xml; M: /trunk/xsl/params/normal.para.spacing.xml; M: /trunk/xsl/params/xref.title-page.separator.xml; M: /trunk/xsl/params/callout.unicode.font.xml; M: /trunk/xsl/params/default.table.frame.xml; M: /trunk/xsl/params/pages.template.xml; M: /trunk/xsl/params/htmlhelp.button.zoom.xml; M: /trunk/xsl/params/admonition.title.properties.xml; M: /trunk/xsl/params/callout.graphics.extension.xml; M: /trunk/xsl/params/make.valid.html.xml; M: /trunk/xsl/params/qanda.title.level2.properties.xml; M: /trunk/xsl/params/page.margin.top.xml; M: /trunk/xsl/params/xep.index.item.properties.xml; M: /trunk/xsl/params/section.level5.properties.xml; M: /trunk/xsl/params/line-height.xml; M: /trunk/xsl/params/table.cell.border.color.xml; M: /trunk/xsl/params/qandadiv.autolabel.xml; M: /trunk/xsl/params/xref.label-title.separator.xml; M: /trunk/xsl/params/chunk.tocs.and.lots.xml; M: /trunk/xsl/params/man.font.funcprototype.xml; M: /trunk/xsl/params/process.source.toc.xml; M: /trunk/xsl/params/page.orientation.xml; M: /trunk/xsl/params/refentry.generate.name.xml; M: /trunk/xsl/params/navig.showtitles.xml; M: /trunk/xsl/params/table.table.properties.xml; M: /trunk/xsl/params/arbortext.extensions.xml; M: /trunk/xsl/params/informalequation.properties.xml; M: /trunk/xsl/params/headers.on.blank.pages.xml; M: /trunk/xsl/params/table.footnote.properties.xml; M: /trunk/xsl/params/root.properties.xml; M: /trunk/xsl/params/htmlhelp.display.progress.xml; M: /trunk/xsl/params/htmlhelp.hhp.windows.xml; M: /trunk/xsl/params/graphical.admonition.properties.xml; M: /trunk/xsl/params/refclass.suppress.xml; M: /trunk/xsl/params/profile.conformance.xml; M: /trunk/xsl/params/htmlhelp.button.forward.xml; M: /trunk/xsl/params/segmentedlist.as.table.xml; M: /trunk/xsl/params/margin.note.float.type.xml; M: /trunk/xsl/params/man.table.footnotes.divider.xml; M: /trunk/xsl/params/man.output.quietly.xml; M: /trunk/xsl/params/htmlhelp.hhc.show.root.xml; M: /trunk/xsl/params/footers.on.blank.pages.xml; M: /trunk/xsl/params/crop.mark.offset.xml; M: /trunk/xsl/params/olink.doctitle.xml; M: /trunk/xsl/params/section.level3.properties.xml; M: /trunk/xsl/params/callout.unicode.xml; M: /trunk/xsl/params/formal.procedures.xml; M: /trunk/xsl/params/toc.section.depth.xml; M: /trunk/xsl/params/index.prefer.titleabbrev.xml; M: /trunk/xsl/params/nominal.image.width.xml; M: /trunk/xsl/params/htmlhelp.show.menu.xml; M: /trunk/xsl/params/linenumbering.everyNth.xml; M: /trunk/xsl/params/double.sided.xml; M: /trunk/xsl/params/generate.revhistory.link.xml; M: /trunk/xsl/params/olink.properties.xml; M: /trunk/xsl/params/tex.math.in.alt.xml; M: /trunk/xsl/params/man.output.subdirs.enabled.xml; M: /trunk/xsl/params/section.title.properties.xml; M: /trunk/xsl/params/column.count.back.xml; M: /trunk/xsl/params/toc.indent.width.xml; M: /trunk/xsl/params/man.charmap.uri.xml; M: /trunk/xsl/params/index.method.xml; M: /trunk/xsl/params/generate.section.toc.level.xml; M: /trunk/xsl/params/page.width.portrait.xml; M: /trunk/xsl/params/man.th.extra2.max.length.xml; M: /trunk/xsl/params/abstract.properties.xml; M: /trunk/xsl/params/revhistory.table.properties.xml; M: /trunk/xsl/params/nominal.table.width.xml; M: /trunk/xsl/params/ulink.show.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.title.xml; M: /trunk/xsl/params/index.div.title.properties.xml; M: /trunk/xsl/params/profile.userlevel.xml; M: /trunk/xsl/params/html.cellpadding.xml; M: /trunk/xsl/params/orderedlist.label.width.xml; M: /trunk/xsl/params/crop.marks.xml; M: /trunk/xsl/params/menuchoice.menu.separator.xml; M: /trunk/xsl/params/author.othername.in.middle.xml; M: /trunk/xsl/params/section.level1.properties.xml; M: /trunk/xsl/params/textdata.default.encoding.xml; M: /trunk/xsl/params/label.from.part.xml; M: /trunk/xsl/params/use.embed.for.svg.xml; M: /trunk/xsl/params/list.item.spacing.xml; M: /trunk/xsl/params/htmlhelp.hhc.width.xml; M: /trunk/xsl/params/column.gap.body.xml; M: /trunk/xsl/params/rootid.xml; M: /trunk/xsl/params/glosslist.as.blocks.xml; M: /trunk/xsl/params/index.range.separator.xml; M: /trunk/xsl/params/html.ext.xml; M: /trunk/xsl/params/callout.list.table.xml; M: /trunk/xsl/params/highlight.source.xml; M: /trunk/xsl/params/show.revisionflag.xml; M: /trunk/xsl/params/man.output.manifest.enabled.xml; M: /trunk/xsl/params/make.single.year.ranges.xml; M: /trunk/xsl/params/pgwide.properties.xml; M: /trunk/xsl/params/generate.id.attributes.xml; M: /trunk/xsl/params/emphasis.propagates.style.xml; M: /trunk/xsl/params/abstract.title.properties.xml; M: /trunk/xsl/params/htmlhelp.hhc.xml; M: /trunk/xsl/params/monospace.properties.xml; M: /trunk/xsl/params/htmlhelp.hhk.xml; M: /trunk/xsl/params/table.borders.with.css.xml; M: /trunk/xsl/params/man.links.are.underlined.xml; M: /trunk/xsl/params/profile.vendor.xml; M: /trunk/xsl/params/shade.verbatim.xml; M: /trunk/xsl/params/callout.graphics.path.xml; M: /trunk/xsl/params/olink.debug.xml; M: /trunk/xsl/params/make.graphic.viewport.xml; M: /trunk/xsl/params/footnote.number.symbols.xml; M: /trunk/xsl/params/man.charmap.enabled.xml; M: /trunk/xsl/params/page.height.xml; M: /trunk/xsl/params/htmlhelp.button.jump1.url.xml; M: /trunk/xsl/params/man.font.table.title.xml; M: /trunk/xsl/params/revhistory.title.properties.xml; M: /trunk/xsl/params/chunker.output.media-type.xml; M: /trunk/xsl/params/glossterm.width.xml; M: /trunk/xsl/params/points.per.em.xml; M: /trunk/xsl/params/page.margin.inner.xml; M: /trunk/xsl/params/itemizedlist.label.width.xml; M: /trunk/xsl/params/ulink.hyphenate.xml; M: /trunk/xsl/params/crop.mark.bleed.xml; M: /trunk/xsl/params/use.id.as.filename.xml; M: /trunk/xsl/params/section.title.level6.properties.xml; M: /trunk/xsl/params/highlight.default.language.xml; M: /trunk/xsl/params/man.th.extra2.suppress.xml; M: /trunk/xsl/params/id.warnings.xml; M: /trunk/xsl/params/title.margin.left.xml; M: /trunk/xsl/params/chunker.output.doctype-system.xml; M: /trunk/xsl/params/man.indent.verbatims.xml; M: /trunk/xsl/params/table.frame.border.thickness.xml; M: /trunk/xsl/params/monospace.verbatim.properties.xml; M: /trunk/xsl/params/formal.title.properties.xml; M: /trunk/xsl/params/margin.note.width.xml; M: /trunk/xsl/params/man.hyphenate.filenames.xml; M: /trunk/xsl/params/blockquote.properties.xml; M: /trunk/xsl/params/callout.defaultcolumn.xml; M: /trunk/xsl/params/profile.security.xml; M: /trunk/xsl/params/informal.object.properties.xml; M: /trunk/xsl/params/formal.title.placement.xml; M: /trunk/xsl/params/draft.watermark.image.xml; M: /trunk/xsl/params/equation.properties.xml; M: /trunk/xsl/params/body.font.family.xml; M: /trunk/xsl/params/ignore.image.scaling.xml; M: /trunk/xsl/params/chunk.first.sections.xml; M: /trunk/xsl/params/base.dir.xml; M: /trunk/xsl/params/footnote.properties.xml; M: /trunk/xsl/params/olink.outline.ext.xml; M: /trunk/xsl/params/img.src.path.xml; M: /trunk/xsl/params/qanda.title.properties.xml; M: /trunk/xsl/params/ebnf.statement.terminator.xml; M: /trunk/xsl/params/callouts.extension.xml; M: /trunk/xsl/params/manifest.in.base.dir.xml; M: /trunk/xsl/params/fop1.extensions.xml; M: /trunk/xsl/params/olink.sysid.xml; M: /trunk/xsl/params/section.title.level4.properties.xml; M: /trunk/xsl/params/monospace.font.family.xml; M: /trunk/xsl/params/l10n.gentext.language.xml; M: /trunk/xsl/params/graphic.default.extension.xml; M: /trunk/xsl/params/default.image.width.xml; M: /trunk/xsl/params/htmlhelp.button.refresh.xml; M: /trunk/xsl/params/chunker.output.cdata-section-elements.xml; M: /trunk/xsl/params/admon.graphics.path.xml; M: /trunk/xsl/params/admon.style.xml; M: /trunk/xsl/params/profile.revision.xml; M: /trunk/xsl/params/generate.manifest.xml; M: /trunk/xsl/params/html.longdesc.xml; M: /trunk/xsl/params/footer.rule.xml; M: /trunk/xsl/params/eclipse.plugin.provider.xml; M: /trunk/xsl/params/refentry.source.name.profile.xml; M: /trunk/xsl/params/toc.max.depth.xml; M: /trunk/xsl/params/chunker.output.indent.xml; M: /trunk/xsl/params/html.head.legalnotice.link.multiple.xml; M: /trunk/xsl/params/toc.list.type.xml; M: /trunk/xsl/params/link.mailto.url.xml; M: /trunk/xsl/params/table.properties.xml; M: /trunk/xsl/params/side.float.properties.xml; M: /trunk/xsl/params/man.charmap.use.subset.xml; M: /trunk/xsl/params/annotation.graphic.open.xml; M: /trunk/xsl/params/html.cellspacing.xml; M: /trunk/xsl/params/default.table.width.xml; M: /trunk/xsl/params/xep.extensions.xml; M: /trunk/xsl/params/admonition.properties.xml; M: /trunk/xsl/params/toc.margin.properties.xml; M: /trunk/xsl/params/chunk.toc.xml; M: /trunk/xsl/params/table.entry.padding.xml; M: /trunk/xsl/params/header.rule.xml; M: /trunk/xsl/params/glossentry.show.acronym.xml; M: /trunk/xsl/params/variablelist.as.blocks.xml; M: /trunk/xsl/params/man.hyphenate.xml; M: /trunk/xsl/params/refentry.source.name.profile.enabled.xml; M: /trunk/xsl/params/section.label.includes.component.label.xml; M: /trunk/xsl/params/bridgehead.in.toc.xml; M: /trunk/xsl/params/section.title.level2.properties.xml; M: /trunk/xsl/params/admon.graphics.extension.xml; M: /trunk/xsl/params/inherit.keywords.xml; M: /trunk/xsl/params/insert.xref.page.number.xml; M: /trunk/xsl/params/pixels.per.inch.xml; M: /trunk/xsl/params/refentry.pagebreak.xml; M: /trunk/xsl/params/profile.lang.xml; M: /trunk/xsl/params/insert.olink.page.number.xml; M: /trunk/xsl/params/generate.meta.abstract.xml; M: /trunk/xsl/params/graphicsize.extension.xml; M: /trunk/xsl/params/man.indent.lists.xml; M: /trunk/xsl/params/funcsynopsis.decoration.xml; M: /trunk/xsl/params/runinhead.title.end.punct.xml; M: /trunk/xsl/params/man.string.subst.map.xml; M: /trunk/xsl/params/man.links.list.enabled.xml; M: /trunk/xsl/params/section.autolabel.max.depth.xml; M: /trunk/xsl/params/htmlhelp.show.advanced.search.xml; M: /trunk/xsl/params/htmlhelp.map.file.xml; M: /trunk/xsl/params/l10n.gentext.use.xref.language.xml; M: /trunk/xsl/params/body.font.size.xml; M: /trunk/xsl/params/html.stylesheet.type.xml; M: /trunk/xsl/params/refentry.xref.manvolnum.xml; M: /trunk/xsl/params/runinhead.default.title.end.punct.xml; M: /trunk/xsl/params/navig.graphics.extension.xml; M: /trunk/xsl/params/itemizedlist.label.properties.xml; M: /trunk/xsl/params/htmlhelp.force.map.and.alias.xml; M: /trunk/xsl/params/profile.os.xml; M: /trunk/xsl/params/htmlhelp.alias.file.xml; M: /trunk/xsl/params/page.margin.outer.xml; M: /trunk/xsl/params/annotation.graphic.close.xml; M: /trunk/xsl/params/eclipse.autolabel.xml; M: /trunk/xsl/params/table.frame.border.style.xml; M: /trunk/xsl/params/navig.graphics.path.xml; M: /trunk/xsl/params/htmlhelp.hhc.binary.xml; M: /trunk/xsl/params/index.on.type.xml; M: /trunk/xsl/params/target.database.document.xml; M: /trunk/xsl/params/man.subheading.divider.xml; M: /trunk/xsl/params/chunker.output.method.xml; M: /trunk/xsl/params/make.index.markup.xml; M: /trunk/xsl/params/olink.base.uri.xml; M: /trunk/xsl/params/phrase.propagates.style.xml; M: /trunk/xsl/params/man.indent.refsect.xml; M: /trunk/xsl/params/example.properties.xml; M: /trunk/xsl/params/man.font.table.headings.xml; M: /trunk/xsl/params/profile.revisionflag.xml; M: /trunk/xsl/params/region.after.extent.xml; M: /trunk/xsl/params/qanda.title.level5.properties.xml; M: /trunk/xsl/params/marker.section.level.xml; M: /trunk/xsl/params/footer.table.height.xml; M: /trunk/xsl/params/autotoc.label.separator.xml; M: /trunk/xsl/params/footer.column.widths.xml; M: /trunk/xsl/params/hyphenate.verbatim.xml; M: /trunk/xsl/params/xref.properties.xml; M: /trunk/xsl/params/man.output.base.dir.xml; M: /trunk/xsl/params/man.links.list.heading.xml; M: /trunk/xsl/params/insert.link.page.number.xml; M: /trunk/xsl/params/htmlhelp.button.jump2.title.xml; M: /trunk/xsl/params/l10n.lang.value.rfc.compliant.xml - Michael(tm) Smith + + +Updated index.method doc to describe revised setup for importing index extensions.M: /trunk/xsl/params/index.method.xml - Robert Stayton + + +Added several new HTML parameters for controlling appearance of +content on HTML title pages: + +contrib.inline.enabled: + If non-zero (the default), output of the contrib element is + displayed as inline content rather than as block content. + +othercredit.like.author.enabled: + If non-zero, output of the othercredit element on titlepages is + displayed in the same style as author and editor output. If zero + (the default), othercredit output is displayed using a style + different than that of author and editor. + +blurb.on.titlepage.enabled: + If non-zero, output from authorblurb and personblurb elements is + displayed on title pages. If zero (the default), output from + those elements is suppressed on title pages (unless you are + using a titlepage customization that causes them to be included). + +editedby.enabled + If non-zero (the default), a localized Edited by heading is + displayed above editor names in output of the editor element.A: /trunk/xsl/params/contrib.inline.enabled.xml; A: /trunk/xsl/params/blurb.on.titlepage.enabled.xml; A: /trunk/xsl/params/othercredit.like.author.enabled.xml; A: /trunk/xsl/params/editedby.enabled.xml - Michael(tm) Smith + + +Added new email.delimiters.enabled param. If non-zero (the +default), delimiters are generated around e-mail addresses (output +of the email element). If zero, the delimiters are suppressed.A: /trunk/xsl/params/email.delimiters.enabled.xml - Michael(tm) Smith + + + +Added qanda.nested.in.toc param. Default value is zero. If +non-zero, instances of "nested" Qandaentry (ones that are children +of Answer elements) are displayed in the TOC. Closes patch 1509018 +(from Daniel Leidert). Currently on affects HTML output (no patch +for FO output provided).A: /trunk/xsl/params/qanda.nested.in.toc.xml - Michael(tm) Smith + + + +Initial support of syntax highlighting of programlistings.A: /trunk/xsl/params/highlight.source.xml; A: /trunk/xsl/params/highlight.default.language.xml - Jirka Kosek + + + + + +Tools +The following changes have been made to the + tools code + since the 1.70.1 release. + + + +Racheted down font sizes of headings in example makefile FO output.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + +Added param and attribute set to example makefile, for getting +wrapping in verbatims in FO output.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + +Renamed Makefile.paramDoc to Makefile.docParam.A: /trunk/xsl/tools/make/Makefile.docParam; D: /trunk/xsl/tools/make/Makefile.paramDoc - Michael(tm) Smith + + +Added Makefile.paramDoc file, for creating versions of param.xsl +files with doc embedded.A: /trunk/xsl/tools/make/Makefile.paramDoc - Michael(tm) Smith + + +Added variable to example makefile for controlling whether HTML or +XHTML is generated.M: /trunk/xsl/tools/make/Makefile.DocBook - Michael(tm) Smith + + + + +
    + + +Release: 1.70.1 + +This is a stable release of the 1.70 stylesheets. It includes only a +few small changes from 1.70.0. + +The following is a list of changes that have been made + since the 1.70.0 release. + + +FO +The following changes have been made to the + fo code + since the 1.70.0 release. + + +Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. +Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek + + +Support DBv5 revisions with full author name (not only authorinitials) +Modified: fo/block.xsl,1.33; fo/titlepage.xsl,1.40 - Jirka Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.70.0 release. + + +Support DBv5 revisions with full author name (not only authorinitials) +Modified: html/block.xsl,1.23; html/titlepage.xsl,1.34 - Jirka Kosek + + + + + +HTMLHelp +The following changes have been made to the + htmlhelp code + since the 1.70.0 release. + + +htmlhelp.generate.index is now param, not variable. This means that you can override its setting from outside. This is useful when you generate indexterms on the fly (see http://www.xml.com/pub/a/2004/07/14/dbndx.html?page=3). +Modified: htmlhelp/htmlhelp-common.xsl,1.38 - Jirka Kosek + + +Support chunk.tocs.and.lots in HTML Help +Modified: htmlhelp/htmlhelp-common.xsl,1.37 - Jirka Kosek + + + + + +Params +The following changes have been made to the + params code + since the 1.70.0 release. + + +Added three new attribute sets (revhistory.title.properties, revhistory.table.properties and revhistory.table.cell.properties) for controlling appearance of revhistory in FO output. +Modified: fo/block.xsl,1.34; fo/param.ent,1.101; fo/param.xweb,1.114; fo/titlepage.xsl,1.41; params/revhistory.table.cell.properties.xml,1.1; params/revhistory.table.properties.xml,1.1; params/revhistory.title.properties.xml,1.1 - Jirka Kosek + + + + + + + +Release: 1.70.0 +As with all DocBook Project dot-zero +releases, this is an experimental release. It will be followed shortly +by a stable release. + +This release adds a number of new features, +including: + + + + support for selecting alternative index-collation methods + (in particular, support for using a collation library developed by + Eliot Kimber) + + + improved handling of DocBook 5 document instances (through a + namespace-stripping mechanism) + + + full support for CALS and HTML tables in manpages + output + + + a mechanism for preserving relative URIs in documents that + make use of XInclude + + + support for the "new" .90 version of + FOP + + + enhanced capabilities for controlling formatting of lists in HTML + and FO output + + + autogeneration of AUTHOR and COPYRIGHT sections in manpages + output + + + support for generating crop marks in FO/PDF output + + + support for qandaset as a root element in FO output + + + support for floatstyle and orient on all table types + + + support for floatstyle in figure, and example + + + pgwide.properties attribute-set supports extending figure, + example and table into the left indent area instead of spanning + multiple columns. + + + The following is a detailed list of enhancements and API + changes that have been made since the 1.69.1 release. + + +Common +The following changes have been made to the + common code + since the 1.69.1 release. + + +Add the xsl:key for the kimber +indexing method. +Modified: common/autoidx-ng.xsl,1.2 - Robert +Stayton + + +Add support for +qandaset. +Modified: common/labels.xsl,1.37; +common/subtitles.xsl,1.7; common/titles.xsl,1.35 - Robert +Stayton + + +Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO +Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh + + +Added CVS +header. +Modified: common/stripns.xsl,1.12 - Robert +Stayton + + +Changed content model of text +element to ANY rather than #PCDATA because they could contain +markup. +Modified: common/targetdatabase.dtd,1.7 - Robert +Stayton + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +After namespace stripping, the +source document is the temporary tree created by the stripping +process and it has the wrong base URI for relative +references. Earlier versions of this code used to try to fix that +by patching the elements with relative @fileref attributes. That +was inadequate because it calculated an absolute base URI +without considering that there might be xml:base attributes +already in effect. It seems obvious now that the right thing to +do is simply to put the xml:base on the root of the document. And +that seems to work. +Modified: common/stripns.xsl,1.7 - Norman +Walsh + + +Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual". +Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith + + +Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692. +Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith + + +Added <xsl:template +match="/"> to make stripns.xsl usable as a standalone +stylesheet for stripping out DocBook 5/NG to DocBook 4. Note that +DocBook XSLT drivers that include this stylesheet all override +the match="/" template. +Modified: common/stripns.xsl,1.4 - Michael(tm) +Smith + + +Number figures, examples, and +tables from book if there is no prefix (i.e. if +chapter.autolabel is set to 0). This avoids +having the list of figures where the figures mysteriously restart +their numeration periodically when +chapter.autolabel is set to +0. +Modified: common/labels.xsl,1.36 - David Cramer + + +Add task template in +title.markup mode. +Modified: common/titles.xsl,1.34 - Robert +Stayton + + +Add children (with ids) of formal +objects to target data. +Modified: common/targets.xsl,1.10 - Robert +Stayton + + +Added support for case when +personname doesn't contain specific name markup (as allowed +in DocBook 5.0) +Modified: common/common.xsl,1.54 - Jirka +Kosek + + + + + +Extensions +The following changes have been made to the + extensions code + since the 1.69.1 release. + + +Support Xalan +2.7 +Modified: extensions/xalan27/.cvsignore,1.1; +extensions/xalan27/build.xml,1.1; +extensions/xalan27/nbproject/.cvsignore,1.1; +extensions/xalan27/nbproject/build-impl.xml,1.1; +extensions/xalan27/nbproject/genfiles.properties,1.1; +extensions/xalan27/nbproject/project.properties,1.1; +extensions/xalan27/nbproject/project.xml,1.1; +extensions/xalan27/src/com/nwalsh/xalan/CVS.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Callout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatDingbatCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatGraphicCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatTextCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/FormatUnicodeCallout.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Func.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/ImageIntrinsics.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Params.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Table.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Text.java,1.1; +extensions/xalan27/src/com/nwalsh/xalan/Verbatim.java,1.1 - Norman +Walsh + + +Handle the case where the imageFn +is actually a URI. This still needs +work. +Modified: extensions/saxon643/com/nwalsh/saxon/ImageIntrinsics.java,1.4 +- Norman Walsh + + + + + +FO +The following changes have been made to the + fo code + since the 1.69.1 release. + + +Adapted to the new indexing +code. Now works just like a wrapper that calls kosek indexing method, +originally implemented here. +Modified: fo/autoidx-ng.xsl,1.5 - Jirka +Kosek + + +Added parameters for header/footer +table minimum height. +Modified: fo/pagesetup.xsl,1.60; +fo/param.ent,1.100; fo/param.xweb,1.113 - Robert +Stayton + + +Add the index.method +parameter. +Modified: fo/param.ent,1.99; fo/param.xweb,1.112 - Robert +Stayton + + +Integrate support for three +indexing methods: - the original English-only method. - +Jirka Kosek's method using EXSLT extensions. - Eliot Kimber's +method using Saxon extensions. Use the 'index.method' +parameter to select. +Modified: fo/autoidx.xsl,1.38 - Robert +Stayton + + +Add support for TOC for +qandaset in fo output. +Modified: fo/autotoc.xsl,1.30; +fo/qandaset.xsl,1.20 - Robert Stayton + + +Added parameter +ulink.hyphenate.chars. Added parameter +insert.link.page.number. +Modified: fo/param.ent,1.98; +fo/param.xweb,1.111 - Robert Stayton + + +Implemented feature request +#942524 to add insert.link.page.number to allow link +element cross references to have a page number. +Modified: fo/xref.xsl,1.67 - +Robert Stayton + + +Add support for +ulink.hyphenate.chars so more characters +can be break points in urls. +Modified: fo/xref.xsl,1.66 - Robert +Stayton + + +Implemented patch #1075144 to make +the url text in a ulink in FO output an active link as +well. +Modified: fo/xref.xsl,1.65 - Robert Stayton + + +table footnotes now +have their own table.footnote.properties +attribute set. +Modified: fo/footnote.xsl,1.23 - Robert +Stayton + + +Add qandaset to +root.elements. +Modified: fo/docbook.xsl,1.41 - Robert +Stayton + + +Added mode="page.sequence" to make +it easier to put content into a page sequence. First used for +qandaset. +Modified: fo/component.xsl,1.37 - Robert +Stayton + + +Implemented feature request +#1434408 to support formatting +of biblioentry. +Modified: fo/biblio.xsl,1.35 - Robert +Stayton + + +Added +biblioentry.properties. +Modified: fo/param.ent,1.97; +fo/param.xweb,1.110 - Robert Stayton + + +Support PTC/Arbortext +bookmarks +Modified: fo/docbook.xsl,1.40; fo/ptc.xsl,1.1 - Norman +Walsh + + +Added +table.footnote.properties to permit +table footnotes to format differently from regular +footnotes. +Modified: fo/param.ent,1.96; fo/param.xweb,1.109 - Robert +Stayton + + +Refactored table +templates to unify their processing and support all options in +all types. Now table and informaltable, in +both Cals and Html markup, use the same templates where possible, +and all support pgwide, rotation, and floats. There is also a +placeholder table.container template to +support wrapping a table in a layout table, +so the XEP table title "continued" +extension can be more easily implemented. +Modified: fo/formal.xsl,1.52; +fo/htmltbl.xsl,1.9; fo/table.xsl,1.48 - Robert +Stayton + + +Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT +Modified: fo/autotoc.xsl,1.29; fo/param.ent,1.95; +fo/param.xweb,1.108 - Jirka Kosek + + +Added support for float to example +and equation. Added support for pgwide to +figure, example, and equation (the latter +two via a dbfo pgwide="1" processing +instruction). +Modified: fo/formal.xsl,1.51 - Robert +Stayton + + +Add pgwide.properties +attribute-set. +Modified: fo/param.ent,1.94; fo/param.xweb,1.107 - Robert +Stayton + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Improved support for +task subelements +Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek + + +Adjusted spacing around +K&R-formatted Funcdef and Paramdef +output such that it can more easily be discerned where one ends +and the other begins. Closes #1213264. +Modified: fo/synop.xsl,1.18 - +Michael(tm) Smith + + +Made handling of +paramdef/parameter in FO output consistent with that in HTML and +manpages output. Closes #1213259. +Modified: fo/synop.xsl,1.17 - Michael(tm) +Smith + + +Made handling of +Refnamediv consistent with formatting in HTML +and manpages output; specifically, changed so that +Refname (comma-separated list of multiple instances +found) is used (instead of Refentrytitle as +previously), then em-dash, then the Refpurpose. Closes +#1212562. +Modified: fo/refentry.xsl,1.30 - Michael(tm) +Smith + + +Added output of +Releaseinfo to recto titlepage ("copyright" +page) for Book in FO output. This makes it consistent +with HTML output. Closes #1327034. Thanks to Paul DuBois for +reporting. +Modified: fo/titlepage.templates.xml,1.28 - Michael(tm) +Smith + + +Added condition for setting +block-progression-dimension.minimum on table-row, instead of +height, when fop1.extensions is +non-zero. For an explanation of the reason for the change, +see: http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages +Modified: fo/pagesetup.xsl,1.59 +- Michael(tm) Smith + + +Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting. +Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith + + +Add support for keep-together PI +to informal objects. +Modified: fo/formal.xsl,1.50 - Robert +Stayton + + +Add support for +fop1.extensions. +Modified: fo/formal.xsl,1.49; +fo/graphics.xsl,1.44; fo/table.xsl,1.47 - Robert +Stayton + + +Add support for fop1 +bookmarks. +Modified: fo/docbook.xsl,1.39 - Robert +Stayton + + +Add fop1.extentions parameter to +add support for fop development version. +Modified: fo/param.ent,1.92; +fo/param.xweb,1.105 - Robert Stayton + + +Start supporting fop development +version, which will become fop version 1. +Modified: fo/fop1.xsl,1.1 - +Robert Stayton + + +Add template for task +in mode="xref-to". +Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton + + +table footnotes now +also get footnote.properties +attribute-set. +Modified: fo/footnote.xsl,1.22 - Robert +Stayton + + +Added index.separator +named template to compute the separator punctuation based on +locale. +Modified: fo/autoidx.xsl,1.36 - Robert Stayton + + +Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it). +Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith + + +Support date as an +inline +Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Map Unicode space characters +U+2000-U+200A to fo:leaders. +Modified: fo/docbook.xsl,1.38; +fo/passivetex.xsl,1.4; fo/spaces.xsl,1.1 - Jirka +Kosek + + +Output a real em dash for em-dash +dingbat (instead of two hypens). +Modified: fo/fo.xsl,1.7 - Michael(tm) +Smith + + +Support default label +width parameters for itemized and ordered lists +Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh + + +Generate localized +title for Refsynopsisdiv if no +appropriate Title descendant found in source. Closes +#1212398. This change makes behavior for the Synopsis +title consistent with the behavior of HTML and +manpages output. +Also, added +xsl:use-attribute-sets="normal.para.spacing" to +block generated for Cmdsynopsis output. Previously, +that block had no spacing at all specified, which resulted it +being crammed up to closely to the Synopsis +head. +Modified: fo/refentry.xsl,1.28; fo/synop.xsl,1.13 - Michael(tm) +Smith + + +Added parameters to support +localization of index +item punctuation. +Modified: fo/autoidx.xsl,1.35 - Robert +Stayton + + +Added +index.number.separator, +index.range.separator, +and index.term.separator parameters to +support localization of punctuation in index +entries. +Modified: fo/param.ent,1.89; fo/param.xweb,1.102 - Robert +Stayton + + +Added "Cross References" +section in HTML doc (for consistency with the FO +doc). Also, moved the existing FO "Cross +References" section to follow the "Linking" +section. +Modified: fo/param.xweb,1.101; html/param.xweb,1.95 - +Michael(tm) Smith + + +Added ID attribues to all +Reference elements (e.g., id="tables" for the doc for +section on Table params). So pages for +all subsections of ref docs now have stable filenames instead +of arbitrary generated filenames. +Modified: fo/param.xweb,1.100; +html/param.xweb,1.94 - Michael(tm) Smith + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Add sidebar titlepage +placeholder attset for styles. +Modified: fo/titlepage.xsl,1.37 - Robert +Stayton + + +Add titlepage for +sidebar. +Modified: fo/titlepage.templates.xml,1.27 - Robert +Stayton + + +Implemented RFE +#1292615. +Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier. +Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek + + +Implemented RFE +#1242092. +You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt). +Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats +Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek + + + + + +HTML +The following changes have been made to the + html code + since the 1.69.1 release. + + +implemented +index.method parameter and three +methods. +Modified: html/autoidx.xsl,1.28 - Robert +Stayton + + +added index.method +parameter to support 3 indexing methods. +Modified: html/param.ent,1.94; +html/param.xweb,1.103 - Robert Stayton + + +Implemented feature request +#1072510 as a processing instruction to permit including external +HTML content into HTML output. +Modified: html/pi.xsl,1.9 - Robert +Stayton + + +Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-). +Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek + + +Support dbhtml/dbfo start PI for +orderedlist numbering in both HTML and +FO +Modified: common/common.xsl,1.61; html/lists.xsl,1.50 - Norman +Walsh + + +Allow ToC without +title also for set and +book. +Modified: html/autotoc.xsl,1.37; html/division.xsl,1.12 - +Jirka Kosek + + +Implemented floats uniformly for +figure, example, equation +and informalfigure, informalexample, and +informalequation. +Modified: html/formal.xsl,1.22 - Robert +Stayton + + +Added the +autotoc.label.in.hyperlink param. +If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles. +Closes patch #1065868. Thanks to anatoly techtonik +for the patch. +Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith + + +Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple. +If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes: + - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types + - +an href attribute whose value is set to the URL of the file +containing the legalnotice + - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet) +For +example: + <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice"> +Closes +#1476450. Thanks to Sam Steingold. +Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Improved support for +task subelements +Modified: fo/task.xsl,1.3; html/task.xsl,1.3 - +Jirka Kosek + + +Added new +refclass.suppress param for suppressing display +of Refclass in HTML and FO output. Did not add it to +manpages because manpages stylesheet is currently just silently +ignoring Refclass anyway. Closes request +#1461065. Thanks to Davor Ocelic (docelic) for +reporting. +Modified: fo/refentry.xsl,1.29; html/refentry.xsl,1.23 - +Michael(tm) Smith + + +Process alt text with +normalize-space(). Replace tab indents with +spaces. +Modified: html/graphics.xsl,1.57 - Robert +Stayton + + +Content of citation +element is automatically linked to the bibliographic entry +with the corresponding abbrev. +Modified: html/biblio.xsl,1.26; +html/inline.xsl,1.47; html/xref.xsl,1.58 - Jirka +Kosek + + +Add template for task +in mode="xref-to". +Modified: fo/xref.xsl,1.63; html/xref.xsl,1.57 - Robert +Stayton + + +Suppress ID warnings if the +.warnings parameter is 0 +Modified: html/html.xsl,1.17 - Norman +Walsh + + +Add support for floatstyle to +figure. +Modified: html/formal.xsl,1.21 - Robert +Stayton + + +Handling of xref to +area/areaset need support in extensions code also. I currently have no +time to touch extensions code, so code is here to be enabled when +extension is fixed also. +Modified: html/xref.xsl,1.56 - Jirka +Kosek + + +Added 3 parameters for overriding +gentext for index +punctuation. +Modified: html/param.ent,1.89; html/param.xweb,1.98 - Robert +Stayton + + +Added parameters to support +localization of index item punctuation. Added +index.separator named template to compute +the separator punctuation based on +locale. +Modified: html/autoidx.xsl,1.27 - Robert +Stayton + + +Added a <div +class="{$class}-contents"> wrapper around output of contents +of all formal objects. Also, added an optional <br +class="{class}-break"/> linebreak after all formal +objects. +WARNING: Because this change places an additional +DIV between the DIV wrapper for the equation and the +equation contents, it may break some existing CSS +stylesheets that have been created with the assumption that there +would never be an intervening DIV there. +The following is +an example of what Equation output looks like as a +result of the changes described above. + <div +class="equation"> <a name="three" +id="three"></a> + <p +class="title"><b>(1.3)</b></p> + +<div class="equation-contents"> <span +class="mathphrase">1+1=3</span> +</div> </div><br +class="equation-break"> +Rationale: These changes allow +CSS control of the placement of the formal-object +title relative to the formal-object +contents. For example, using the CSS "float" property +enables the title and contents to be rendered on the +same line. Example stylesheet: + .equation +{ margin-top: 20px; margin-bottom: 20px; } +.equation-contents { float: left; } + +.equation .title { margin-top: 0; +float: right; margin-right: 200px; } + +.equation .title b { font-weight: +normal; } + .equation-break { clear: both; +} +Note that the purpose of the ".equation-break" class is +to provide a way to clear off the floats. +If you want +to instead have the equation title rendered to +the left of the equation contents, you can do +something like this: + .equation { +margin-top: 20px; width: 300px; margin-bottom: 20px; +} .equation-contents { float: right; } + +.equation .title { margin-top: 0; +float: left; margin-right: 200px; } + +.equation .title b { font-weight: +normal; } + .equation-break { clear: both; +} +Modified: html/formal.xsl,1.20 - Michael(tm) Smith + + +Added a chunker.output.quiet +top-level parameter so that the chunker can be made quiet by +default +Modified: html/chunker.xsl,1.26 - Norman Walsh + + +Added support for link, +olink, and xref within OO +Classsynopsis and children. (Because DocBook NG/5 +allows it). +Modified: fo/synop.xsl,1.15; html/synop.xsl,1.19 - Michael(tm) +Smith + + +New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive? +Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh + + +If the +keep.relative.image.uris parameter is true, +don't use the absolute URI (as calculated from xml:base) in +the img src attribute, us the value the author +specified. Note that we still have to calculate the absolute +filename for use in the image intrinsics +extension. +Modified: html/graphics.xsl,1.56 - Norman +Walsh + + +Support date as an +inline +Modified: fo/inline.xsl,1.43; html/inline.xsl,1.46 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Added "wrapper-name" param to +inline.charseq named template, enabling it to output inlines +other than just "span". Acronym and Abbrev +templates now use inline.charseq to output HTML +"acronym" and "abbr" elements (instead of +"span"). Closes #1305468. Thanks to Sam Steingold for suggesting +the change. +Modified: html/inline.xsl,1.45 - Michael(tm) +Smith + + + + + +Manpages +The following changes have been made to the + manpages code + since the 1.69.1 release. + + +Added the following +params: + - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean) +Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something). +The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width. +Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith + + +Added +man.table.footnotes.divider param. +In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table. +Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith + + +Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters. +The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory. +The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory. +Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles. +Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output. +Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith + + +Added +man.segtitle.suppress param. +If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output. +Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith + + +Added +man.output.manifest.enabled and +man.output.manifest.filename params. +If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename +Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +Changed names of all boolean +indentation params to man.indent.* Also discarded individual +man.indent.*.value params and switched to just using a common +man.indent.width param (3n by default). +Modified: manpages/docbook.xsl,1.66; +manpages/info.xsl,1.19; manpages/lists.xsl,1.29; +manpages/other.xsl,1.18; manpages/refentry.xsl,1.13 - Michael(tm) +Smith + + +Added boolean +man.output.in.separate.dir param, to control whether or not man +files are output in separate directory. +Modified: manpages/docbook.xsl,1.65; +manpages/utility.xsl,1.14 - Michael(tm) Smith + + +Added options for controlling +indentation of verbatim output. Controlled through the +man.indentation.verbatims.adjust +and man.indentation.verbatims.value params. Closes +#1242997 +Modified: manpages/block.xsl,1.15; manpages/docbook.xsl,1.64 - +Michael(tm) Smith + + +Added options for controlling +indentation in lists and in *blurb output in the AUTHORS +section. Controlled through +the man.indentation.lists.adjust, +man.indentation.lists.value, man.indentation.authors.adjust, and +man.indentation.authors.value parameters. Default is 3 characters +(instead of the roff default of 8 characters). Closes +#1449369. +Also, removed the indent that was being set on +informalexample outuput. I will instead add an option +for indenting verbatims, which I think is what the +informalexample indent was intended +for originally. +Modified: manpages/block.xsl,1.14; +manpages/docbook.xsl,1.63; manpages/info.xsl,1.18; +manpages/lists.xsl,1.28 - Michael(tm) Smith + + +Changed line-spacing call before +synopfragment to use ".sp -1n" ("n" units specified) +instead of plain ".sp -1" +Modified: manpages/synop.xsl,1.28 - Michael(tm) +Smith + + +Added support for writing man +files into a specific output directory and into appropriate +subdirectories within that output directory. Controlled through +the man.base.dir parameter (similar to the +base.dir support in the HTML stylesheet) and +the man.subdirs.enabled parameter, which automatically determines +the name of an appropriate subdir (for example, man/man7, +man/man1, etc.) based on the section number/manvolnum +of the source Refentry. +Closes #1255036 and +#1170317. Thanks to Denis Bradford for the original feature +request, and to Costin Stroie for submitting a patch that was +very helpful in implementing the +support. +Modified: manpages/docbook.xsl,1.62; manpages/utility.xsl,1.13 - +Michael(tm) Smith + + +Refined XPath statements and +notification messages for refentry metadata +handling. +Modified: common/common.xsl,1.59; common/refentry.xsl,1.14; +manpages/docbook.xsl,1.61; manpages/other.xsl,1.17 - Michael(tm) +Smith + + +Added support for +copyright and legalnotice. The manpages +stylesheets now output a COPYRIGHT section, +after the AUTHORS section, if a copyright +or legalnotice is found in the source. The +section contains the copyright contents followed +by the legalnotice contents. Closes +#1450209. +Modified: manpages/docbook.xsl,1.59; manpages/info.xsl,1.17 - +Michael(tm) Smith + + +Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date): + +(($info[//date])[last()]/date)[1]. +That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry. +It's +likely this change may break some things; may need to pick up +some pieces later. +Also, changed the default value for the +man.th.extra2.max.length from 40 to +30. +Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith + + +Added support for DocBook 5 +namespace-stripping in manpages stylesheet. Closes request +#1210692. +Modified: common/common.xsl,1.56; manpages/docbook.xsl,1.57 - +Michael(tm) Smith + + +Fixed handling of table +footnotes. With this checkin, the table support in the +manpages stylesheet is now basically feature complete. So this +change closes request #619532, "No support for tables" -- the +oldest currently open manpages feature request, submitted by Ben +Secrest (blsecres) on 2002-10-07. Congratulations to me [patting +myself on the back]. +Modified: manpages/block.xsl,1.11; +manpages/docbook.xsl,1.55; manpages/table.xsl,1.15 - Michael(tm) +Smith + + +Added handling for +table titles. Also fixed handling of nested tables; +nest tables are now "extracted" and displayed just after their +parent tables. +Modified: manpages/docbook.xsl,1.54; manpages/table.xsl,1.14 +- Michael(tm) Smith + + +Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later. +Closes #1452247. Thanks to Joe Orton for the feature +request. +Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith + + +Use AUTHORS instead of +AUTHOR if we have multiple people to attribute. Also, +fixed checking such that we generate +author section even if we don't have an +author (as long as there is at least one other +person/entity we can put in the +section). Also adjusted assembly of content for +Author metainfo field such that we now not only use +author, but try to find a "best match" if we can't +find an author name to put there. +Closes +#1233592. Thanks to Sam Steingold for the +request. +Modified: manpages/info.xsl,1.12 - Michael(tm) +Smith + + +Changes for request #1243027, +"Impove handling of AUTHOR section." This +adds support for Collab, Corpauthor, Corpcredt, +Orgname, Publishername, and +Publisher. Also adds support for output +of Affiliation and its children, and support for using +gentext strings for auto-attributing roles (Author, +Editor, Publisher, Translator, etc.). Also +did a lot of code cleanup and modularization of all the +AUTHOR handling code. And fixed a bug that was causing +Author info to not be picked up correctly +for metainfo comment we embed in man-page +source. +Modified: manpages/info.xsl,1.11 - Michael(tm) +Smith + + +Support bold output for +"emphasis remap='B'". (because Eric Raymond's +doclifter(1) tool converts groff source marked up with ".B" +request or "\fB" escapes to DocBook "emphasis +remap='B'".) +Modified: manpages/inline.xsl,1.14 - Michael(tm) +Smith + + +Added support for +Segmentedlist. Details: Output is tabular, with no +option for "list" type output. Output for Segtitle +elements can be supressed by +setting man.segtitle.suppress. If Segtitle +content is output, it is rendered in italic type (not bold +because not all terminals support bold and so italic ensures the +stand out on those terminals). Extra space (.sp line) at end of +table code ensures that it gets handled correctly in +the case where its source is the child of a Para. +Closes feature-request #1400097. Thanks to Daniel Leidert for the +patch and push, and to Alastair Rankine for filing the original +feature request. +Modified: manpages/lists.xsl,1.23; +manpages/utility.xsl,1.10 - Michael(tm) Smith + + +Improved handling or +Author/Editor/Othercredit. +Reworked content of +(non-visible) comment added at top of each page (metadata +stuff). +Added support for generating a +manifest file (useful for cleaning up +after builds, etc.) +Modified: manpages/docbook.xsl,1.46; +manpages/info.xsl,1.9; manpages/other.xsl,1.12; +manpages/utility.xsl,1.6 - Michael(tm) Smith + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + + + + +Params +The following changes have been made to the + params code + since the 1.69.1 release. + + +New parameters to set +header/footer table minimum +height. +Modified: params/footer.table.height.xml,1.1; +params/header.table.height.xml,1.1 - Robert +Stayton + + +Support multiple indexing methods +for different languages. +Modified: params/index.method.xml,1.1 - Robert +Stayton + + +Remove qandaset and +qandadiv from generate.toc for fo +output because formerly it wasn't working, but now it is and +the default behavior should stay the +same. +Modified: params/generate.toc.xml,1.8 - Robert +Stayton + + +add support for page number +references to link element +too. +Modified: params/insert.link.page.number.xml,1.1 - Robert +Stayton + + +Add support for more characters to +hyphen on when ulink.hyphenate is turned +on. +Modified: params/ulink.hyphenate.chars.xml,1.1; +params/ulink.hyphenate.xml,1.3 - Robert Stayton + + +New attribute-set to format +biblioentry and +bibliomixed. +Modified: params/biblioentry.properties.xml,1.1 - +Robert Stayton + + +Added new parameter +chunk.tocs.and.lots.has.title which +controls presence of title in a separate chunk with +ToC/LoT. Disabling title can be very useful if you are +generating frameset output (well, yes those frames, but some customers +really want them ;-). +Modified: html/chunk-code.xsl,1.15; +html/param.ent,1.93; html/param.xweb,1.102; +params/chunk.tocs.and.lots.has.title.xml,1.1 - Jirka +Kosek + + +Added new attribute set +toc.line.properties for controlling appearance of lines in +ToC/LoT +Modified: params/toc.line.properties.xml,1.1 - Jirka +Kosek + + +Allow table footnotes +to have different properties from regular +footnotes. +Modified: params/table.footnote.properties.xml,1.1 - Robert +Stayton + + +Set properties for pgwide="1" +objects. +Modified: params/pgwide.properties.xml,1.1 - Robert +Stayton + + +Added the +autotoc.label.in.hyperlink param. +If the value +of autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it +is instead zero, labels are still displayed prior to the +hyperlinked titles, but are not hyperlinked along with the +titles. +Closes patch #1065868. Thanks to anatoly techtonik +for the patch. +Modified: html/autotoc.xsl,1.36; html/param.ent,1.92; +html/param.xweb,1.101; params/autotoc.label.in.hyperlink.xml,1.1 - +Michael(tm) Smith + + +Added two new params: +html.head.legalnotice.link.types +and html.head.legalnotice.link.multiple. +If +the value of the generate.legalnotice.link is +non-zero, then the stylesheet generates (in the head +section of the HTML source) either a single HTML +link element or, if the value of +the html.head.legalnotice.link.multiple is +non-zero, one link element for each link +type specified. Each link has the +following attributes: + - a rel attribute whose value +is derived from the value of +html.head.legalnotice.link.types + - +an href attribute whose value is set to the URL of the file +containing the legalnotice + - a title +attribute whose value is set to the title of the +corresponding legalnotice (or a title +programatically determined by the stylesheet) +For +example: + <link rel="copyright" +href="ln-id2524073.html" title="Legal Notice"> +Closes +#1476450. Thanks to Sam Steingold. +Modified: html/chunk-common.xsl,1.45; +html/param.ent,1.91; html/param.xweb,1.100; +params/generate.legalnotice.link.xml,1.4; +params/html.head.legalnotice.link.multiple.xml,1.1; +params/html.head.legalnotice.link.types.xml,1.1 - Michael(tm) +Smith + + +Added the following +params: + - man.indent.width (string-valued) - +man.indent.refsect (boolean) - man.indent.blurbs (boolean) +- man.indent.lists (boolean) - man.indent.verbatims +(boolean) +Note that in earlier snapshots, man.indent.width +was named man.indentation.default.value and the boolean params +had names like man.indentation.*.adjust. Also the +man.indent.blurbs param was called man.indentation.authors.adjust +(or something). +The behavior now is: If the value of a +particular man.indent.* boolean param is non-zero, the +corresponding contents (refsect*, list items, +authorblurb/personblurb, vervatims) are displayed with a left +margin indented by a width equal to the value +of man.indent.width. +Modified: params/man.indent.blurbs.xml,1.1; +manpages/docbook.xsl,1.74; manpages/info.xsl,1.20; +manpages/lists.xsl,1.30; manpages/other.xsl,1.20; +manpages/param.ent,1.22; manpages/param.xweb,1.24; +manpages/refentry.xsl,1.14; params/man.indent.lists.xml,1.1; +params/man.indent.refsect.xml,1.1; +params/man.indent.verbatims.xml,1.1; params/man.indent.width.xml,1.1 - +Michael(tm) Smith + + +Added +man.table.footnotes.divider param. +In each +table that contains footenotes, the string specified +by the man.table.footnotes.divider parameter is output +before the list of footnotes for the +table. +Modified: manpages/docbook.xsl,1.73; +manpages/links.xsl,1.6; manpages/param.ent,1.21; +manpages/param.xweb,1.23; params/man.table.footnotes.divider.xml,1.1 - +Michael(tm) Smith + + +Added the +man.output.in.separate.dir, +man.output.base.dir, +and man.output.subdirs.enabled parameters. +The +man.output.base.dir parameter specifies the +base directory into which man-page files are +output. The man.output.subdirs.enabled parameter controls whether +the files are output in subdirectories within the base +directory. +The values of the +man.output.base.dir +and man.output.subdirs.enabled parameters are used only if the +value of man.output.in.separate.dir parameter is non-zero. If the +value of man.output.in.separate.dir is zero, man-page files are +not output in a separate +directory. +Modified: manpages/docbook.xsl,1.72; manpages/param.ent,1.20; +manpages/param.xweb,1.22; params/man.output.base.dir.xml,1.1; +params/man.output.in.separate.dir.xml,1.1; +params/man.output.subdirs.enabled.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.table.headings and +man.font.table.title params, for +controlling font in table headings and +titles. +Modified: manpages/docbook.xsl,1.71; manpages/param.ent,1.19; +manpages/param.xweb,1.21; params/man.font.table.headings.xml,1.1; +params/man.font.table.title.xml,1.1 - Michael(tm) +Smith + + +Added +man.font.funcsynopsisinfo and +man.font.funcprototype params, for specifying the roff +font (for example, BI, B, I) for funcsynopsisinfo and +funcprototype output. +Modified: manpages/block.xsl,1.19; +manpages/docbook.xsl,1.69; manpages/param.ent,1.18; +manpages/param.xweb,1.20; manpages/synop.xsl,1.29; +manpages/table.xsl,1.21; params/man.font.funcprototype.xml,1.1; +params/man.font.funcsynopsisinfo.xml,1.1 - Michael(tm) +Smith + + +Changed to select="0" in +refclass.suppress (instead of +..>0</..) +Modified: params/refclass.suppress.xml,1.3 - Michael(tm) +Smith + + +Added +man.segtitle.suppress param. +If the value of +man.segtitle.suppress is non-zero, then display +of segtitle contents is suppressed in +output. +Modified: manpages/docbook.xsl,1.68; manpages/param.ent,1.17; +manpages/param.xweb,1.19; params/man.segtitle.suppress.xml,1.1 - +Michael(tm) Smith + + +Added +man.output.manifest.enabled and +man.output.manifest.filename params. +If +man.output.manifest.enabled is non-zero, a list +of filenames for man pages generated by the stylesheet +transformation is written to the file named by +man.output.manifest.filename +Modified: manpages/docbook.xsl,1.67; +manpages/other.xsl,1.19; manpages/param.ent,1.16; +manpages/param.xweb,1.18; params/man.output.manifest.enabled.xml,1.1; +params/man.output.manifest.filename.xml,1.1; +tools/make/Makefile.DocBook,1.4 - Michael(tm) +Smith + + +Added refclass.suppress +param. +If the value of refclass.suppress is +non-zero, then display refclass contents is suppressed +in output. Affects HTML and FO output +only. +Modified: fo/param.ent,1.93; fo/param.xweb,1.106; html/param.ent,1.90; +html/param.xweb,1.99; params/refclass.suppress.xml,1.1 - Michael(tm) +Smith + + +Added +refentry.meta.get.quietly param. +If zero (the +default), notes and warnings about "missing" markup are generated +during gathering of refentry metadata. If +non-zero, the metadata is gathered "quietly" -- that is, the +notes and warnings are suppressed. +NOTE: If you are +processing a large amount of refentry content, you +may be able to speed up processing significantly by setting a +non-zero value for +refentry.meta.get.quietly. +Modified: common/refentry.xsl,1.17; +manpages/param.ent,1.15; manpages/param.xweb,1.17; +params/refentry.meta.get.quietly.xml,1.1 - Michael(tm) +Smith + + +Added support for "software" and +"sectdesc" class values on refmiscinfo; "software" is +treated identically to "source", and "setdesc" is treated +identically to "manual". +Modified: common/refentry.xsl,1.10; +params/man.th.extra2.max.length.xml,1.3; +params/refentry.source.name.profile.xml,1.4 - Michael(tm) +Smith + + +Drastically reworked all of the +XPath expressions used in refentry metadata gathering +-- completely removed $parentinfo and turned $info into a set of +nodes that includes the *info contents of the Refentry +plus the *info contents all all of its ancestor elements. The +basic XPath expression now used throughout is (using the example +of checking for a date): + +(($info[//date])[last()]/date)[1]. +That selects the "last" +*info/date date in document order -- that is, the one +eitther on the Refentry itself or on the +closest ancestor to the Refentry. +It's +likely this change may break some things; may need to pick up +some pieces later. +Also, changed the default value for the +man.th.extra2.max.length from 40 to +30. +Modified: common/common.xsl,1.58; common/refentry.xsl,1.7; +params/man.th.extra2.max.length.xml,1.2; +params/refentry.date.profile.xml,1.2; +params/refentry.manual.profile.xml,1.2; +params/refentry.source.name.profile.xml,1.2; +params/refentry.version.profile.xml,1.2; manpages/docbook.xsl,1.58; +manpages/other.xsl,1.15 - Michael(tm) Smith + + +Added option for turning off bold +formatting in Funcsynopsis. Boldface formatting in +function synopsis is mandated in the +man(7) man page and is used almost universally in existing man +pages. Despite that, it really does look like crap to have an +entire Funcsynopsis output in bold, so I added params +for turning off the bold formatting and/or replacing it with a +different roff special font (e.g., "RI" for alternating +roman/italic instead of the default "BI" for alternating +bold/italic). The new params +are "man.funcprototype.font" and +"man.funcsynopsisinfo.font". To be documented +later. +Closes #1452247. Thanks to Joe Orton for the feature +request. +Modified: params/man.string.subst.map.xml,1.16; +manpages/block.xsl,1.10; manpages/docbook.xsl,1.51; +manpages/inline.xsl,1.16; manpages/synop.xsl,1.27 - Michael(tm) +Smith + + +fop.extensions now only +for FOP version 0.20.5 and earlier. +Modified: params/fop.extensions.xml,1.4 +- Robert Stayton + + +Support for fop1 different from +fop 0.20.5 and earlier. +Modified: params/fop1.extensions.xml,1.1 - Robert +Stayton + + +Reset default value to empty +string so template uses gentext first, then the parameter value +if not empty. +Modified: params/index.number.separator.xml,1.2; +params/index.range.separator.xml,1.2; +params/index.term.separator.xml,1.2 - Robert +Stayton + + +New parameter: +id.warnings. If non-zero, warnings are +generated for titled objects that don't have titles. True by default; +I wonder if this will be too aggressive? +Modified: html/biblio.xsl,1.25; +html/component.xsl,1.27; html/division.xsl,1.11; html/formal.xsl,1.19; +html/glossary.xsl,1.20; html/html.xsl,1.13; html/index.xsl,1.16; +html/param.ent,1.88; html/param.xweb,1.97; html/refentry.xsl,1.22; +html/sections.xsl,1.30; params/id.warnings.xml,1.1 - Norman +Walsh + + +Added new parameter +keep.relative.image.uris +Modified: fo/param.ent,1.91; +fo/param.xweb,1.104; html/param.ent,1.87; html/param.xweb,1.96; +params/keep.relative.image.uris.xml,1.1 - Norman +Walsh + + +Support default label +width parameters for itemized and ordered lists +Modified: fo/lists.xsl,1.64; +fo/param.ent,1.90; fo/param.xweb,1.103; +params/itemizedlist.label.width.xml,1.1; +params/orderedlist.label.width.xml,1.1 - Norman +Walsh + + +Added parameters to localize +punctuation in indexes. +Modified: params/index.number.separator.xml,1.1; +params/index.range.separator.xml,1.1; +params/index.term.separator.xml,1.1 - Robert +Stayton + + +Added two new parameters for +handling of multi-term +varlistentry elements: +variablelist.term.break.after: +When the variablelist.term.break.after is +non-zero, it will generate a line break after each +term multi-term +varlistentry. +variablelist.term.separator: +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is +placed after each term except the last. The default +is ", " (a comma followed by a space). To suppress rendering of +the separator, set the value of +variablelist.term.separator to the empty +string (""). +These parameters are primarily intended to be +useful if you have multi-term varlistentries that have long +terms. +Closes #1306676. Thanks to Sam Steingold for +providing an example "lots of long terms" doc that demonstrated +the value of having these options. +Also, added +normalize-space() call to processing of each +term. +This change affects all output formats +(HTML, PDF, manpages). The default behavior should pretty much +remain the same as before, but it is possible (as always) that +the change may introduce some +new bugginess. +Modified: fo/lists.xsl,1.62; fo/param.ent,1.88; +fo/param.xweb,1.99; html/lists.xsl,1.48; html/param.ent,1.86; +html/param.xweb,1.93; manpages/lists.xsl,1.22; +manpages/param.ent,1.14; manpages/param.xweb,1.16; +params/variablelist.term.break.after.xml,1.1; +params/variablelist.term.separator.xml,1.1 - Michael(tm) +Smith + + +Convert 'no' to string in default +value. +Modified: params/olink.doctitle.xml,1.4 - Robert +Stayton + + +Implemented RFE +#1292615. +Added bunch of new parameters (attribute sets) +that affect list presentation: list.block.properties, +itemizedlist.properties, orderedlist.properties, +itemizedlist.label.properties and +orderedlist.label.properties. Default behaviour +of stylesheets has not been changed but further customizations will be +much more easier. +Modified: fo/lists.xsl,1.61; fo/param.ent,1.87; +fo/param.xweb,1.98; params/itemizedlist.label.properties.xml,1.1; +params/itemizedlist.properties.xml,1.1; +params/list.block.properties.xml,1.1; +params/orderedlist.label.properties.xml,1.1; +params/orderedlist.properties.xml,1.1 - Jirka +Kosek + + +Implemented RFE +#1242092. +You can enable crop marks in your document by +setting crop.marks=1 and xep.extensions=1. Appearance of crop +marks can be controlled by parameters +crop.mark.bleed (6pt), +crop.mark.offset (24pt) and +crop.mark.width (0.5pt). +Also there +is new named template called user-xep-pis. You can overwrite it in +order to produce some PIs that can control XEP as described in +http://www.renderx.com/reference.html#Output_Formats +Modified: fo/docbook.xsl,1.36; +fo/param.ent,1.86; fo/param.xweb,1.97; fo/xep.xsl,1.23; +params/crop.mark.bleed.xml,1.1; params/crop.mark.offset.xml,1.1; +params/crop.mark.width.xml,1.1; params/crop.marks.xml,1.1 - Jirka +Kosek + + +Changed short descriptions in doc +for *autolabel* params to match new autolabel +behavior. +Modified: params/appendix.autolabel.xml,1.5; +params/chapter.autolabel.xml,1.4; params/part.autolabel.xml,1.5; +params/preface.autolabel.xml,1.4 - Michael(tm) +Smith + + + + + +Profiling +The following changes have been made to the + profiling code + since the 1.69.1 release. + + +Profiling now works together with +namespace stripping (V5 documents). Namespace striping should work +with all stylesheets named profile-, even if they are not supporting +namespace stripping in a non-profiling +variant. +Modified: profiling/profile-mode.xsl,1.4; +profiling/xsl2profile.xsl,1.7 - Jirka Kosek + + +Moved profiling stage out of +templates. This make possible to reuse profiled content by several +templates and still maintaing node indentity (needed for example for +HTML Help where content is processed multiple times). +I +don't know why this was not on the top level before. Maybe some XSLT +processors choked on it. I hope this will be OK +now. +Modified: profiling/xsl2profile.xsl,1.5 - Jirka +Kosek + + + + + +Tools +The following changes have been made to the + tools code + since the 1.69.1 release. + + +Moved Makefile.DocBook from +contrib module to xsl +module. +Modified: tools/make/Makefile.DocBook,1.1 - Michael(tm) +Smith + + + + + +WordML +The following changes have been made to the + wordml code + since the 1.69.1 release. + + +added contrib element, +better handling of default paragraph +style +Modified: wordml/pages-normalise.xsl,1.6; wordml/supported.xml,1.2; +wordml/wordml-final.xsl,1.14 - Steve Ball + + +added +bridgehead +Modified: wordml/docbook-pages.xsl,1.6; +wordml/docbook.xsl,1.17; wordml/pages-normalise.xsl,1.5; +wordml/template-pages.xml,1.7; wordml/template.dot,1.4; +wordml/template.xml,1.14; wordml/wordml-final.xsl,1.13 - Steve +Ball + + +added blocks stylesheet to support +bibliographies, glossaries and qandasets +Modified: wordml/Makefile,1.4; +wordml/README,1.3; wordml/blocks-spec.xml,1.1; +wordml/docbook-pages.xsl,1.5; wordml/docbook.xsl,1.16; +wordml/pages-normalise.xsl,1.4; wordml/sections-spec.xml,1.3; +wordml/specifications.xml,1.13; wordml/template-pages.xml,1.6; +wordml/template.dot,1.3; wordml/template.xml,1.13; +wordml/wordml-blocks.xsl,1.1; wordml/wordml-final.xsl,1.12; +wordml/wordml-sections.xsl,1.3 - Steve Ball + + +added mediaobject +caption +Modified: wordml/docbook-pages.xsl,1.4; +wordml/docbook.xsl,1.15; wordml/specifications.xml,1.12; +wordml/template-pages.xml,1.5; wordml/template.dot,1.2; +wordml/template.xml,1.12; wordml/wordml-final.xsl,1.11 - Steve +Ball + + +added +callouts +Modified: wordml/docbook-pages.xsl,1.3; wordml/docbook.xsl,1.14; +wordml/pages-normalise.xsl,1.3; wordml/specifications.xml,1.11; +wordml/template-pages.xml,1.4; wordml/wordml-final.xsl,1.10 - Steve +Ball + + +added Word template +file +Modified: wordml/template.dot,1.1 - Steve Ball + + +added abstract, fixed +itemizedlist, ulink +Modified: wordml/specifications.xml,1.10; +wordml/wordml-final.xsl,1.9 - Steve Ball + + +fixed Makefile added many +features to Pages support added revhistory, inlines, +highlights, abstract +Modified: wordml/Makefile,1.2; +wordml/docbook-pages.xsl,1.2; wordml/pages-normalise.xsl,1.2; +wordml/sections-spec.xml,1.2; wordml/specifications.xml,1.9; +wordml/template-pages.xml,1.3; wordml/template.xml,1.11; +wordml/wordml-final.xsl,1.8; wordml/wordml-sections.xsl,1.2 - Steve +Ball + + +fixed handling linebreaks when +generating WordML added Apple Pages +support +Modified: wordml/docbook.xsl,1.13; wordml/template-pages.xml,1.2 - +Steve Ball + + + + + + + Release 1.69.1 + This release is a minor bug-fix update to the 1.69.0 + release. Along with bug fixes, it includes one + configuration-parameter change: The default value of the + annotation.support parameter is now + 0 (off). The reason for that change is that + there have been reports that annotation handling is + causing a significant performance degradation in processing of + large documents with xsltproc. + + + + + Release 1.69.0 + The release includes major feature changes, + particularly in the manpages + stylesheets, as well as a large number of bug fixes. + + As with all DocBook Project dot zero releases, this is an + experimental release . + + + Common + + + This release adds localizations for the following + languages: + + + Albanian + Amharic + Azerbaijani + Hindi + Irish (Gaelic) + Gujarati + Kannada + Mongolian + Oriya + Punjabi + Tagalog + Tamil + Welsh + . + + + Added support for specifying number format for auto + labels for chapter, appendix, + part, and preface. Contolled with the + appendix.autolabel, + chapter.autolabel, + part.autolabel, and + preface.autolabel parameters. + + + Added basic support for biblioref cross + referencing. + + + Added support for align + on caption in mediaobject. + + + Added support for processing documents that use the + DocBook V5 namespace. + + + Added support for termdef and + mathphrase. + + + EXPERIMENTAL: Incorporated the Slides and Website + stylesheets into the DocBook XSL stylesheets package. So, + for example, Website documents can now be processed using + the following URI for the driver Website + tabular.xsl file: http://docbook.sourceforge.net/release/xsl/current/website/tabular.xsl + + + A procedure without a title is + now treated as an informal procedure (meaning + that it is not added to any generated list of + procedures and has no affect on numbering of + generated labels for other procedures). + + + docname is no longer added to + olink when pointing to a root element. + + + + Added support for generation of choice separator in + inline simplelist. This enables auto-generation of an + appropriate localized choice separator (for + example, and or or) before the + final item in an inline simplelist. + To indicate that you want a choice separator + generated for a particular list, you need to put a processing + instruction (PI) of the form + dbchoice choice="foo" as a + child of the list. For example: + <para>Choose from + ONE and ONLY ONE of the following: + <simplelist type="inline"> + <?dbchoice choice="or" ?> + <member>A</member> + <member>B</member> + <member>C</member>.</simplelist></para> + + Output (for English): +
    + Choose from ONE and only ONE of the + following choices: A, B, or C. +
    + As a temporary workaround for the fact that most of the + DocBook non-English locale files don't have a localization for + the word or, you can put in a literal string to + be used; example for French: dbchoice choice="ou". That is, use + ou instead of or.
    +
    +
    +
    + + FO + + + Added content-type property to + external-graphic element, based on + imagedata format + attribute. + + + Added support for generating + <rx:meta-field creator="$VERSION"/> + field for XEP output. This makes the DocBook XSL + stylesheet version information available through the + Document Properties menu in Acrobat + Reader and other PDF viewers. + + + Trademark symbol handling made consistent with + handling of same in HTML stylesheets. Prior to this change, + if you processed a document that contained no value for the + class attribute on the + trademark element, the HTML stylesheets would + default to rendering a superscript TM + symbol after the trademark contents, + but the FO stylesheets would render nothing. + + + Added support for generating XEP bookmarks for + refentry. + + + Added support for HTML markup table border attribute, applied to each + table cell. + + + The table.width template can now + sum column specs if none use % or + *. + + + Added fox:destination extension + inside fox:outline to support linking to + internal destinations. + + + Added support for customizing + abstract with property sets. Controlled + with the abstract.properties and + abstract.title.properties + parameters. + + + Add footnotes in table title to + table footnote set, and add support for table footnotes to + HTML table markup. + + + Added support for title in + glosslist. + + + Added support for itemizedlist symbol + none. + + + Implemented the new + graphical.admonition.properties and + nongraphical.admonition.properties + attribute sets. + + + Added id to + formalpara and some other blocks that were + missing it. + + + Changed the anchor template to output + fo:inline instead of + fo:wrapper. + + + Added support for toc.max.depth + parameter. + + + + + + Help + + + Eclipse Help: Added support for generating olink + database. + + + + + + HTML + + + Added a first cut at support in HTML output for + DocBook 5 style annotations. Controlled using the + annotation.support parameter, and + implemented using JavaScript and CSS styling. For more + details, see the documentation for the + annotation.js, + annotation.css, + annotation.graphic.open, and + annotation.graphic.close + parameters. + + + Generate client-side image map for + imageobjectco with areas using + calspair units + + + Added support for img.src.path PI. + + + Added support for passing + img.src.path to DocBook Java XSLT + image extensions when appropriate. Controlled using the + graphicsize.use.img.src.path + parameter. + + + Added support for (not + valid for DocBook 4) xlink:href + on area and (not valid for DocBook 4) + alt in area. + + + Added new parameter + default.table.frame to control table + framing if there is no frame + attribute on a table. + + + Added initial, experimental support for generating + content for the HTML title attribute from + content of the alt element. This change adds + support for the following inline elements only (none of them + are block elements): + + + abbrev + accel + acronym + action + application + authorinitials + beginpage + citation + citerefentry + citetitle + city + classname + code + command + computeroutput + constant + country + database + email + envar + errorcode + errorname + errortext + errortype + exceptionname + fax + filename + firstname + firstterm + foreignphrase + function + glossterm + guibutton + guiicon + guilabel + guimenu + guimenuitem + guisubmenu + hardware + honorific + interface + interfacename + keycap + keycode + keysym + lineage + lineannotation + literal + markup + medialabel + methodname + mousebutton + option + optional + otheraddr + othername + package + parameter + personname + phone + pob + postcode + productname + productnumber + prompt + property + quote + refentrytitle + remark + replaceable + returnvalue + tag + shortcut + state + street + structfield + structname + subscript + superscript + surname + symbol + systemitem + tag + termdef + token + trademark + type + uri + userinput + varname + wordasword + + + + + Added support for chunking revhistory into + separate file (similar to the support for doing same with + legalnotice). Patch from Thomas + Schraitle. Controlled through new + generate.revhistory.link parameter. + + + l10n.xsl: Made language codes RFC compliant. Added a + new boolean config parameter, + l10n.lang.value.rfc.compliant. If it + is non-zero (the default), any underscore in a language code + will be converted to a hyphen in HTML output. If it is zero, + the language code will be left as-is. + + + + + man + This release closes out 44 manpages stylesheet bug reports + and feature requests. It adds more than 35 new configuration + parameters for controlling aspects of man-page output -- + including hyphenation and justification, handling of links, + conversion of Unicode characters, and contents of man-page + headers and footers. + + + + New options for globally disabling/enabling + hyphenation and justification: + man.justify and + man.hyphenate. + Note that the default + for the both of those is zero (off), because justified text + looks good only when it is also hyphenated; to quote the + Hyphenation node from the groff info page: +
    + Since the odds are not great for finding a + set of words, for every output line, which fit nicely on a + line without inserting excessive amounts of space between + words, `gtroff' hyphenates words so that it can justify + lines without inserting too much space between + words. +
    + The problem is that groff can end up hyphenating a lot of + things that you don't want hyphenated (variable names and + command names, for example). Keeping both justification and + hyphenation disabled ensures that hyphens won't get inserted + where you don't want to them, and you don't end up with + lines containing excessive amounts of space between + words. These default settings run counter to how most + existing man pages are formatted. But there are some notable + exceptions, such as the perl man pages.
    +
    + + Added parameters for controlling hyphenation of + computer inlines, filenames, and URLs. By default, even when + hyphenation is enabled (globally), hyphenation is now + suppressed for "computer inlines" (currently, just + classname, constant, envar, + errorcode, option, + replaceable, userinput, + type, and varname, and for + filenames, and for URLs from link. It + can be (re)enabled using the + man.hyphenate.computer.inlines, + man.hyphenate.filenames, and + man.hyphenate.urls parameters. + + + + Implemented a new system for replacing Unicode + characters. There are two parts to the new system: a + string substitution map for doing + essential replacements, and a + character map that can optionally be disabled + and enabled. + The new system fixes all open bugs that had to do with + literal Unicode numbered entities such as &#8220; and + &#8221; showing up in output, and greatly expands the + ability of the stylesheets to generate good roff + equivalents for Unicode symbols and special + characters. + Here are some details... + The previous manpages mechanism for replacing Unicode + symbols and special characters with roff equivalents (the + replace-entities template) was not + scalable and not complete. The mechanism handled a somewhat + arbitrary selection of less than 20 or so Unicode + characters. But there are potentially more than + 800 Unicode special characters that + have some groff equivalent they can be mapped to. And there + are about 34 symbols in the Latin-1 (ISO-8859-1) block + alone. Users might reasonably expect that if they include + any of those Latin-1 characters in their DocBook source + documents, they will get correctly converted to known roff + equivalents in output. + In addition to those common symbols, certain users may + have a need to use symbols from other Unicode blocks. Say, + somebody who is documenting an application related to math + might need to use a bunch of symbols from the + Mathematical Operators Unicode block (there + are about 65 characters in that block that have reasonable + roff equivalents). Or somebody else might really like + Dingbats -- such as the checkmark character -- and so might + use a bunch of things from the Dingbat block + (141 characters in that that have roff equivalents or that + can at least be degraded somewhat gracefully + into roff). + So, the old replace-entities + mechanism was replaced with a completely different mechanism + that is based on use of two maps: a + substitution map and a character + map (the latter in a format compliant with the XSLT + 2.0 spec and therefore completely forward + compatible with XSLT 2.0). + The substitution map is controlled through the + man.string.subst.map parameter, and + is used to replace things like the backslash character + (which needs special handling to prevent it from being + interpreted as a roff escape). The substitution map cannot + be disabled, because disabling it will cause the output to + be broken. However, you can add to it and change it if + needed. + + The character map mechanism, on the + other hand, can be completely disabled. It is enabled by + default, and, by default, does replacement of all Latin-1 + symbols, along with most special spaces, dashes, and quotes + (about 75 characters by default). Also, you can optionally + enable a full character map that provides + support for converting all 800 or so of the characters that + have some reasonable groff equivalent. + + The character-map mechanism is controlled through the + following parameters: + + + man.charmap.enabled + turns character-map support + on/off + + + man.charmap.use.subset + specifies that a subset of the character + map is used instead of the full map + + + man.charmap.subset.profile + specifies profile of character-map + subset + + + man.charmap.uri + specifies an alternate character map to + use instead of the standard character map + provided in the distribution + + + + + + + Implemented out-of-line handling of display of URLs + for links (currently, only for ulink). This gives + you three choices for handling of links: + + + Number and list links. Each link is numbered + inline, with a number in square brackets preceding the + link contents, and a numbered list of all links is added + to the end of the document. + + + Only list links. Links are not numbered, but an + (unnumbered) list of links is added to the end of the + document. + + + Suppress links. Don't number links and don't add + any list of links to the end of the document. + + + You can also choose whether links should be underlined. The + default is the works -- list, number, and + underline links. You can use the + man.links.list.enabled, + man.links.are.numbered, and + man.links.are.underlined parameters + to change the defaults. The default heading for the link + list is REFERENCES. You can be change that using the + man.links.list.heading + parameter. + + + Changed default output encoding to UTF-8. This does not mean that man pages are output in + raw UTF-8, because the character map is applied + before final output, causing all UTF-8 characters covered in + the map to be converted to roff equivalents. + + + + Added support for processing refsect3 and + formalpara and nested refsection + elements, down to any arbitrary level of nesting. + + + + Output of the NAME and + SYNOPSIS and AUTHOR + headings and the headings for admonitions (note, + caution, etc.) are no longer hard-coded for + English. Instead, headings are generated for those in the + correct locale (just as the FO and HTML stylesheets + do). + + + + Re-worked mechanism for assembling page + headers/footers (the contents of the .TH + macro title line). + + Here are some details... + + All man pages contain a .TH roff + macro whose contents are used for rendering the title + line displayed in the header and footer of each + page. Here are a couple of examples of real-world man pages + that have useful page headers/footers: + gtk-options(7) GTK+ User's Manual gtk-options(7) <-- header + GTK+ 1.2 2003-10-20 gtk-options(7) <-- footer + + svgalib(7) Svgalib User Manual svgalib(7) <-- header + Svgalib 1.4.1 16 December 1999 svgalib(7) <-- footer + + And here are the terms with which the + groff_man(7) man page refers to the + various parts of the header/footer: + title(section) extra3 title(section) <- header + extra2 extra1 title(section) <- footer + Or, using the names with which the man(7) + man page refers to those same fields: + title(section) manual title(section) <- page header + source date title(section) <- page footer + + The easiest way to control the contents of those + fields is to mark up your refentry content like + the following (note that this is a minimal + example). + <refentry> + <info> + <date>2003-10-20</date> + </info> + <refmeta> + <refentrytitle>gtk-options</refentrytitle> + <manvolnum>7</manvolnum> + <refmiscinfo class="source-name">GTK+</refmiscinfo> + <refmiscinfo class="version">1.2</refmiscinfo> + <refmiscinfo class="manual">GTK+ User's Manual</refmiscinfo> + </refmeta> + <refnamediv> + <refname>gtk-options</refname> + <refpurpose>Standard Command Line Options for GTK+ Programs</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <para>This manual page describes the command line options, which + are common to all GTK+ based applications.</para> + </refsect1> + </refentry> + + + Sets the date part of the header/footer. + + + Sets the title part. + + + Sets the section part. + + + Sets the source name part. + + + Sets the version part. + + + Sets the manual part. + + + + Below are explanations of the steps the stylesheets + take to attempt to assemble and display + good headers and footer. [In the + descriptions, note that *info + is the refentry info child + (whatever its name), and + parentinfo is the + info child of its parent (again, whatever + its name).] + + + extra1 field (date) + + Content of the extra1 field is + what shows up in the center + footer position of each page. The + man(7) man page describes it as + the date of the last revision. + To provide this content, if the + refentry.date.profile.enabled + is non-zero, the stylesheets check the value of + refentry.date.profile. + Otherwise, by default, they check for a + date or pubdate not only in the + *info contents, but also in + the parentinfo + contents. + If a date cannot be found, the stylesheets now + automatically generate a localized long + format date, ensuring that this field always + has content in output. + However, if for some reason you want to suppress + this field, you can do so by setting a non-zero value + for man.th.extra1.suppress. + + + + extra2 field (source) + + On Linux systems and on systems with a modern + groff, the content of the extra2 field + are what shows up in the left + footer position of each page. + + The man(7) man page describes + this as the source of the command, and + provides the following examples: + + + For binaries, use somwething like: GNU, + NET-2, SLS Distribution, MCC Distribution. + + + For system calls, use the version of the + kernel that you are currently looking at: Linux + 0.99.11. + + + For library calls, use the source of the + function: GNU, BSD 4.3, Linux DLL 4.4.1. + + + + + In practice, there are many pages that simply + have a version number in the source + field. So, it looks like what we have is a two-part + field, + Name Version, + where: + + + Name + + product name (e.g., BSD) or org. name + (e.g., GNU) + + + + Version + + version name + + + + Each part is optional. If the + Name is a product name, + then the Version is + probably the version of the product. Or there may be + no Name, in which case, if + there is a Version, it is + probably the version of the item itself, not the + product it is part of. Or, if the + Name is an organization + name, then there probably will be no + Version. + + To provide this content, if the + refentry.source.name.profile.enabled + and + refentry.version.profile.enabled + parameter are non-zero, the stylesheets check the + value of refentry.source.name.profile + refentry.version.profile. + + Otherwise, by default, they check the following + places, in the following order: + + + *info/productnumber + + + *info/productnumber + + + refmeta/refmiscinfo[@class = 'version'] + + + parentinfo/productnumber + + + *info/productname + + + parentinfo/productname + + + refmeta/refmiscinfo + + + [nothing found, so leave it empty] + + + + + + + extra3 field + + On Linux systems and on systems with a modern + groff, the content of the extra3 field + are what shows up in the center + header position of each page. Some man + pages have extra2 content, some + don't. If a particular man page has it, it is most + often context data about some larger + system the documented item belongs to (for example, + the name or description of a group of related + applications). The stylesheets now check the following + places, in the following order, to look for content to + add to the extra3 field. + + + parentinfo/title + + + parent's title + + + refmeta/refmiscinfo + + + [nothing found, so leave it empty] + + + + + + + + + + Reworked *info gathering. For + each refentry found, the stylesheets now cache its + *info content, then check for any + valid parent of it that might have metainfo content and cache + that, if found; they then then do all further matches against + those node-sets (rather than re-selecting the original + *info nodes each time they are + needed). + + + + New option for breaking strings after forward + slashes. This enables long URLs and pathnames to be broken + across lines. Controlled through + man.break.after.slash parameter. + + + + Output for servicemark and trademark are now + (SM) and (TM). There is + a groff "\(tm" escape, but output from that + is not acceptable. + + + + New option for controlling the length of the title + part of the .TH title line. Controlled + through the man.th.title.max.length + parameter. + + + + New option for specifying output encoding of each man + page; controlled with + man.output.encoding (similar to the + HTML chunker.output.encoding + parameter). + + + + New option for suppressing filename messages when + generating output; controlled with + man.output.quietly (similar to the HTML + chunk.quietly parameter). + + + + The text of cross-references to first-level + refentry (refsect1, top-level + refsection, refnamediv, and + refsynopsisdiv) are now capitalized. + + + + Cross-references to refnamediv now use the + localized NAME title instead of using the + first refname child. This makes the output + inconsistent with HTML and FO output, but for man-page output, + it seems to make better sense to have the + NAME. (It may actually make better sense to + do it that way in HTML and FO output as well...) + + + + Added support for processing funcparams. + + + + Removed the space that was being output between + funcdef and paramdef; example: was: + float rand (void); now: + float rand(void) + + + + Turned off bold formatting for the type + element when it occurs within a funcdef or + paramdef + + + + Corrected rendering of simplelist. Any + <simplelist type="inline" instance + is now rendered as a comma-separated list (also with an + optional localized and or or before the last item -- see + description elsewhere in these release notes). Any simplelist + instance whose type is not + inline is rendered as a one-column vertical + list (ignoring the values of the type and columns attributes if present) + + + + Comment added at top of roff source for each page now + includes DocBook XSL stylesheets version number (as in the + HTML stylesheets) + + + + Made change to prevent sticky fonts + changes. Now, when the manpages stylesheets encounter node + sets that need to be boldfaced or italicized, they put the + \fBfoo\fR and \fIbar\fR + groff bold/italic instructions separately around each node in + the set. + + + synop.xsl: Boldface everything in + funcsynopsis output except parameters (which are in + ital). The man(7) man page says: +
    + For functions, the arguments are always specified + using italics, even in the SYNOPSIS section, where the rest + of the function is specified in bold. +
    + A look through the contents of the + man/man2 directory shows that most + (all) existing pages do follow this everything in + funcsynopsis bold rule. That means the + type content and any punctuation (parens, + semicolons, varargs) also must be bolded.
    +
    + + + Removed code for adding backslashes before periods/dots + in roff source, because backslashes in front of periods/dots + in roff source are needed only in the very rare case where a + period is the very first character in a line, without any + space in front of it. A better way to deal with that rare case + is for you to add a zero-width space in front of the offending + dot(s) in your source + + + + Removed special handling of the quote + element. That was hard-coded to cause anything marked up with + the quote element to be output preceded by two + backticks and followed by two apostrophes -- that is, that + old-school kludge for generating curly quotes in Emacs and + in X-Windows fonts. While Emacs still seems to support that, I + don't think X-Windows has for a long time now. And, anyway, it + looks (and has always looked) like crap when viewed on a + normal tty/console. In addition, it breaks localiztion of + quote. By default, quote content is + output with localized quotation marks, which, depending on the + locale, may or may not be left and right double quotation + marks. + + + + Changed mappings for left and right single quotation + marks. Those had previously been incorrectly mapped to the + backtick (&#96;) and apostrophe (&39;) characters (for + kludgy reasons -- see above). They are now correctly mapped to + the \(oq and \(cq roff + escapes. If you want the old (broken) behavior, you need to + manually change the mappings for those in the value of the + man.string.subst.map parameter. + + + Removed xref.xsl file. Now, of the + various cross-reference elements, only the ulink + element is handled differently; the rest are handled exactly + as the HTML stylesheets handle them, except that no hypertext + links are generated. (Because there is no equivalent hypertext + mechanism is man pages.) + + + + New option for making subheading dividers in generated + roff source. The dividers are not visible in the rendered man + page; they are just there to make the source + readable. Controlled using + man.subheading.divider. + + + + Fixed many places where too much space was being added + between lines. + +
    + +
    +
    + + + + Release 1.68.1 + The release adds localization support for Farsi (thanks to + Sina Heshmati) and improved support for the XLink-based DocBook NG + db:link element. Other than that, it is a minor + bug-fix update to the 1.68.0 release. The main thing it fixes is a + build error that caused the XSLT Java extensions to be jarred up + with the wrong package structure. Thanks to Jens Stavnstrup for + quickly reporting the problem, and to Mauritz Jeanson for + investigating and finding the cause. + + + + + Release 1.68.0 + This release includes some features changes, particularly + for FO/PDF output, and a number of bug fixes. + + FO + + Moved footnote properties to attribute-sets. + + + Added support for side floats, margin notes, and + custom floats. + + + Added new parameters + body.start.indent and + body.end.indent to the + set.flow.properties template. + + + Added support for xml:id + + + Added support for + refdescriptor. + + + Added support for multiple refnamedivs. + + + Added index.entry.properties + attribute-set to support customization of index + entries. + + + Added set.flow.properties + template call to each fo:flow + to support customizations entry point. + + + Add support for @floatstyle in + figure + + + Moved hardcoded properties for index division titles + to the index.div.title.properties + attribute-set. + + + Added support for + table-layout="auto" for XEP. + + + Added index.div.title.properties + attribute-set. + + + $verbose parameter is now + passed to most elements. + + + Added refentry to + toc in part, as it is + permitted by the DocBook schema/DTD. + + + Added backmatter elements and + article to toc in + part, since they are permitted by the + DocBook schema/DTD. + + + Added mode="toc" for + simplesect, since it is now permitted in + the toc if + simplesect.in.toc is set. + + + Moved hard-coded properties to + nongraphical.admonintion.properties + and graphical.admonition.properties + attribute sets. + + + Added support for sidebar-width and + float-type processing instructions in + sidebar. + + + For tables with HTML markup elements, added support + for dbfo bgcolor PI, the attribute-sets + named table.properties, + informaltable.properties, + table.table.properties, and + table.cell.padding. Also added + support for the templates named + table.cell.properties and + table.cell.block.properties so that + tabstyles can be implemented. Also added support for tables + containing only tr instead of + tbody with tr. + + + Added new paramater + hyphenate.verbatim.characters which + can specify characters after which a line break can occur in + verbatim environments. This parameter can be used to extend + the initial set of characters which contain only space and + non-breakable space. + + + Added itemizedlist.label.markup to enable + selection of different bullet symbol. Also added several + potential bullet characters, commented out by default. + + + Enabled all id's in XEP output for external olinking. + + + + + HTML + + Added support for + refdescriptor. + + + Added support for multiple refnamedivs. + + + Added support for xml:id + + + refsynopsisdiv as a section for + counting section levels + + + + Images + + Added new SVG admonition graphics and navigation images. + + + + + + + + Release 1.67.2 + This release fixes a table bug introduced in the 1.67.1 + release. + + + Release 1.67.1 + This release includes a number of bug fixes. + The following lists provide details about API and feature changes. + + FO + + Tables: Inherited cell properties are now passed to the + table.cell.properties template so they can + be overridden by a customization. + + + Tables: Added support for bgcolor PI on table row + element. + + + TOCs: Added new parameter + simplesect.in.toc; default value of + 0 causes simplesect to be omitted from TOCs; to + cause simplesect to be included in TOCs, you + must set the value of simplesect.in.toc to + 1.Comment from Norm: + +
    + Simplesect elements aren't supposed to + appear in the ToC at all... The use case for simplesect + is when, for example, every chapter in a book ends with + "Exercises" or "For More Information" sections and you + don't want those to appear in the ToC. +
    +
    +
    + + Sections: Reverted change that caused a variable reference + to be used in a template match and rewrote code to preserve + intended semantics. + + + Lists: Added workaround to prevent "* 0.60 + 1em" garbage in + list output from PassiveTeX + + + Moved the literal attributes from + component.title to the + component.title.properties attribute-set so + they can be customized. + + + Lists: Added glossdef's first + para to special handling in + fo:list-item-body. + +
    + + + HTML + + TOCs: Added new parameter + simplesect.in.toc; for details, see + the list of changes for this + release. + + + Indexing: Added new parameter + index.prefer.titleabbrev; when set to + 1, index references will use + titleabbrev instead of + title when available. + + + + HTML Help + + Added support for generating windows-1252-encoded + output using Saxon; for more details, see the list of changes for this release. + + + + man pages + + Replaced named/numeric character-entity references for + non-breaking space with groff equivalent (backslash-tilde). + + + + XSL Java extensions + + Saxon extensions: Added the + Windows1252 class. It extends Saxon + 6.5.x with the windows-1252 character set, which is + particularly useful when generating HTML Help for Western + European Languages (code from + Pontus + Haglund and contributed to the + DocBook community by Sectra AB, Sweden). + To use: + + + Make sure that the Saxon 6.5.x jar file and the jar file for + the DocBook XSL Java extensions are in your CLASSPATH + + + Create a DocBook XSL customization layer -- a file named + mystylesheet.xsl or whatever -- that, at a + minimum, contains the following: + <xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/> + <xsl:output method="html" encoding="WINDOWS-1252" indent="no"/> + <xsl:param name="htmlhelp.encoding" select="'WINDOWS-1252'"></xsl:param> + <xsl:param name="chunker.output.encoding" select="'WINDOWS-1252'"></xsl:param> + <xsl:param name="saxon.character.representation" select="'native'"></xsl:param> + </xsl:stylesheet> + + Invoke Saxon with the + encoding.windows-1252 Java system property set + to com.nwalsh.saxon.Windows1252; for example + java \ + -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ + com.icl.saxon.StyleSheet \ + mydoc.xml mystylesheet.xsl + + Or, for a more complete "real world" case showing other + options you'll typically want to use: + java \ + -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \ + -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \ + -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \ + -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \ + com.icl.saxon.StyleSheet \ + -x org.apache.xml.resolver.tools.ResolvingXMLReader \ + -y org.apache.xml.resolver.tools.ResolvingXMLReader \ + -r org.apache.xml.resolver.tools.CatalogResolver \ + mydoc.xml mystylesheet.xsl + + In both cases, the "mystylesheet.xsl" file should be a + DocBook customization layer containing the parameters + show in step 2. + + + + + + Saxon extensions: Removed Saxon 8 extensions from release package + + +
    +
    + + Release 1.67.0 + + + A number of important bug fixes. + + + Added Saxon8 extensions + + + Enabled dbfo table-width on + entrytbl in FO output + + + Added support for role=strong on + emphasis in FO output + + + Added new FO parameter + hyphenate.verbatim that can be used to turn + on "intelligent" wrapping of verbatim environments. + + + Replaced all <tt></tt> output with + <code></code> + + + Changed admon.graphic.width template to a + mode so that different admonitions can have different graphical + widths. + + + Deprecated the HTML shade.verbatim + parameter (use CSS instead) + + + Wrapped ToC + refentrytitle/refname and + refpurpose in span with class values. This + makes it possible to style them using a CSS stylesheet. + + + Use strong/em instead of + b/i in HTML output + + + Added support for converting Emphasis to + groff italic and Emphasis role='bold' to + bold. Controlled by + emphasis.propagates.style param, but not + documented yet using litprog system. Will do that next (planning + to add some other parameter-controllable options for hyphenation + and handling of line spacing). + + + callout.graphics.number.limit.xml + param: Changed the default from 10 to + 15. + + + verbatim.properties: Added + hyphenate=false + + + Saxon and Xalan Text.java extensions: Added support for + URIResolver() on insertfile href's + + + Added generated RELEASE-NOTES.txt + file. + + + Added INSTALL file (executable file for + generating catalog.xml) + + + Removed obsolete tools directory from + package + + + + +Release 1.66.1 + + +A number of important bug fixes. + + + + +Now xml:base attributes that are generated by an +XInclude processor are resolved for image files. + + + + +Rewrote olink templates to support several new features. + + + + +Extended full olink support to FO output. + + + + +Add support for xrefstyle attribute in olinks. + + + + +New parameters to support new olink features: +insert.olink.page.number, insert.olink.pdf.frag, +olink.debug, olink.lang.fallback.sequence, olink.properties, +prefer.internal.olink. +See the reference page for each parameter for more +information. + + + + + +Added index.on.type parameter for new type +attribute introduced in DocBook 4.3 for indexterms and index. +This allows you to create multiple indices containing +different categories of entries. +For users of 4.2 and earlier, you can use the new parameter index.on.role +instead. + + + + +Added new +section.autolabel.max.depth parameter to turn off section numbering +below a certain depth. +This permits you to number major section levels and leave minor +section levels unnumbered. + + + +Added footnote.sep.leader.properties attribute set to format +the line separating footnotes in printed output. + + + + +Added parameter img.src.path as a prefix to HTML img src +attributes. +The prefix is added to whatever path is already generated by the +stylesheet for each image file. + + + +Added new attribute-sets +informalequation.properties, +informalexample.properties, +informalfigure.properties, and informaltable.properties, +so each such element type can be formatted +individually if needed. + + + + +Add component.label.includes.part.label +parameter to add any part number to chapter, appendix +and other component labels when +the label.from.part parameter is nonzero. +This permits you to distinguish multiple chapters with the same +chapter number in cross references and the TOC. + + + +Added chunk.separate.lots parameter for HTML output. +This parameter lets you generate separate chunk files for each LOT +(list of tables, list of figures, etc.). + + +Added several table features: + + + +Added table.table.properties attribute set to add +properties to the fo:table element. + + + + +Added placeholder templates named table.cell.properties +and table.cell.block.properties to enable adding properties +to any fo:table-cell or the cell's fo:block, respectively. + These templates are a start for implementing table styles. + + + + + +Added new attribute +set component.title.properties for easy modifications of +component's title formatting in FO output. + + + + +Added Saxon support for an encoding attribute on the textdata element. Added new parameter +textdata.default.encoding which specifies encoding when +encoding attribute on +textdata is missing. + + + + +Template label.this.section now controls whole +section label, not only sub-label which corresponds to +particular label. Former behaviour was IMHO bug as it was +not usable. + + + + +Formatting in titleabbrev for TOC and headers +is preserved when there are no hotlink elements in the title. Formerly the title showed only the text of the title, no font changes or other markup. + + + + +Added intial.page.number template to set the initial-page-number +property for page sequences in print output. +Customizing this template lets you change when page numbering restarts. This is similar to the format.page.number template that lets you change how the page number formatting changes in the output. + + + + +Added force.page.count template to set the force-page-count +property for page sequences in print output. +This is similar to the format.page.number template. + + + + +Sort language for localized index sorting in autoidx-ng.xsl is now taken from document +lang, not from system environment. + + + + +Numbering and formatting of normal +and ulink footnotes (if turned on) has been unified. +Now ulink footnotes are mixed in with any other footnotes. + + + +Added support for renderas attribute in section and +sect1 et al. +This permits you to render a given section title as if it were a different level. + + + +Added support for label attribute in footnote to manually +supply the footnote mark. + + + + +Added support for DocBook 4.3 corpcredit element. + + + + +Added support for a dbfo keep-together PI for +formal objects (table, figure, example, equation, programlisting). That permits a formal object to be kept together if it is not already, or to be broken if it +is very long and the +default keep-together is not appropriate. + + + + +For graphics files, made file extension matching case +insensitive, and updated the list of graphics extensions. + + + + +Allow calloutlist to have block content before +the first callout + + + + +Added dbfo-need processing instruction to provide +soft page breaks. + + + + +Added implementation of existing but unused +default.image.width parameter for graphics. + + + + +Support DocBook NG tag inline element. + + + + +It appears that XEP now supports Unicode characters in +bookmarks. There is no further need to strip accents from +characters. + + + + +Make segmentedlist HTML markup +more semantic and available to CSS styles. + + + + +Added user.preroot placeholder template to +permit xsl-stylesheet and other PIs and comments to be +output before the HTML root element. + + + + +Non-chunked legalnotice now gets an <a +name="id"> element in HTML output +so it can be referenced with xref or link. + + + + +In chunked HTML output, changed link rel="home" to rel="start", +and link rel="previous" to rel="prev", per W3C HTML 4.01 +spec. + + + + +Added several patches to htmlhelp from W. Borgert + + + + +Added Bosnian locale file as common/bs.xml. + + + + + +Release 1.65.0 + + +A number of important bug fixes. + + + +Added a workaround to allow these stylesheets to process DocBook NG +documents. (It’s a hack that pre-processes the document to strip off the +namespace and then uses exsl:node-set to process +the result.) + + + +Added alternative indexing mechanism which has better +internationalization support. New indexing method allows grouping of +accented letters like e, é, ë into the same group under letter "e". It +can also treat special letters (e.g. "ch") as one character and place +them in the correct position (e.g. between "h" and "i" in Czech +language). +In order to use this mechanism you must create customization +layer which imports some base stylesheet (like +fo/docbook.xsl, +html/chunk.xsl) and then includes appropriate +stylesheet with new indexing code +(fo/autoidx-ng.xsl or +html/autoidx-ng.xsl). For example: +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> +<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/fo/autoidx-ng.xsl"/> + +</xsl:stylesheet> +New method is known to work with Saxon and it should also work +with xsltproc 1.1.1 and later. Currently supported languages are +English, Czech, German, French, Spanish and Danish. + + + + +Release 1.64.1 + +General bug fixes and improvements. Sorry about the failure to produce +an updated release notes file for 1.62.0—1.63.2 + +In the course of fixing bug #849787, wrapping Unicode callouts +with an appropriate font change in the Xalan extensions, I discovered +that the Xalan APIs have changed a bit. So xalan2.jar +will work with older Xalan 2 implementations, xalan25.jar +works with Xalan 2.5. + + + + +Release 1.61.0 + +Lots of bug fixes and improvements. + +Initial support for timestamp PI. From now you + can use <?dbtimestamp format="Y-m-d H:M:S"?> to get current + datetime in your document. Added localization support for datetime PI + + + +Added level 6 to test for section depth in +section.level template so that +section.title.level6.properties will be used for sections +that are 6 deep or deeper. This should also cause a h6 to be +created in html output. + + + +Don't use SVG graphics if use.svg=0 + + + +Now uses number-and-title-template for sections + only if section.autolabel is not zero. + + + +Added missing 'english-language-name' attribute to +the l10n element, and the missing 'style' attribute to the +template element so the current gentext documents will +validate. + + + +Corrected several references to parameter + qanda.defaultlabel that were missing the "$". + + + +Now accepts admon.textlabel parameter to turn off + Note, Warning, etc. label. + + + +FeatReq #684561: support more XEP metadata + + + +Added hyphenation support. Added support for coref. +Added beginpage support. (does nothing; see TDG). + + + +Added support for +hyphenation-character, hyphenation-push-character-count, and +hyphenation-remain-character-count + + + +Added root.properties, +ebnf.assignment, +and ebnf.statement.terminator + + + +Support bgcolor PI in table cells; make sure +rowsep and colsep don't have any effect on the last row or +column + + + +Handle othercredit on titlepage a little +better + + + +Applied fix from Jeff Beal that fixed the bug +that put secondary page numbers on primary entries. Same +with tertiary page numbers on secondary entries. + + + +Added definition of missing variable +collection. + + + +Make footnote formatting 'normal' even when it +occurs in a context that has special formatting + + + +Added warning when glossary.collection is not +blank, but it cannot open the specified file. + + + +Pick up the frame attribute on table and +informaltable. + + + +indexdiv/title +in non-autogenerated indexes are +now picked up. + + + +Removed (unused) +component.title.properties + + + +Move IDs from +page-sequences down to titlepage blocks + + + +Use +proportional-column-width(1) on more tables. + +Use proportional-column-width() for +header/footer tables; suppress relative-align when when +using FOP + + + +Check for glossterm.auto.link when linking +firstterms; don't output gl. prefix on glossterm links + + + +Generate Part ToCs + + + +Support glossary, bibliography, +and index in component ToCs. + + + +Refactored chunking code so that +customization of chunk algorithm and chunk elements is more +practical + + + +Support textobject/phrase +on inlinemediaobject. + + + +Support 'start' PI on ordered lists + + + +Fixed test of $toc PI to turn on qandaset TOC. + + + +Added process.chunk.footnotes to sect2 through +5 to fix bug of missing footnotes when chunk level greater +than 1. + + + +Added +paramater toc.max.depth which controls maximal depth of ToC +as requested by PHP-DOC group. + + + +Exempted titleabbrev from preamble processing in +lists, and fixed variablelist preamble code to use the same +syntax as the other lists. + + + +Added support for elements between variablelist +and first varlistentry since DocBook 4.2 supports that now. + + + + + +Release 1.60.1 + +Lots of bug fixes. + +The format of the titlepage.templates.xml files and +the stylesheet that transforms them have been significantly changed. All of the +attributes used to control the templates are now namespace qualified. So what +used to be: +<t:titlepage element="article" wrapper="fo:block"> +is now: +<t:titlepage t:element="article" t:wrapper="fo:block"> +Attributes from other namespaces (including those that are unqualified) are +now copied directly through. In practice, this means that the names that used +to be fo: qualified: +<title named-template="component.title" + param:node="ancestor-or-self::article[1]" + fo:text-align="center" + fo:keep-with-next="always" + fo:font-size="&hsize5;" + fo:font-weight="bold" + fo:font-family="{$title.font.family}"/> +are now unqualified: +<title t:named-template="component.title" + param:node="ancestor-or-self::article[1]" + text-align="center" + keep-with-next="always" + font-size="&hsize5;" + font-weight="bold" + font-family="{$title.font.family}"/> +The t:titlepage and t:titlepage-content +elements both generate wrappers now. And unqualified attributes on those elements +are passed through. This means that you can now make the title font apply to +ane entire titlepage and make the entire recto +titlepage centered by specifying the font and alignment on the those elements: +<t:titlepage t:element="article" t:wrapper="fo:block" + font-family="{$title.font.family}"> + + <t:titlepage-content t:side="recto" + text-align="center"> + + + + + + + +Support use of titleabbrev in running +headers and footers. + + + +Added (experimental) xref.with.number.and.title +parameter to enable number/title cross references even when the +default would +be just the number. + + + +Generate part ToCs if they're requested. + + + +Use proportional-column-width() in header/footer tables. + + + +Handle alignment correctly when screenshot +wraps a graphic in a figure. + + + +Format chapter and appendix +cross references consistently. + + + +Attempt to support tables with multiple tgroups +in FO. + + + +Output fo:table-columns in +simplelist tables. + + + +Use titlepage.templates.xml for +indexdiv and glossdiv formatting. + + + +Improve support for new bibliography elements. + + + +Added +footnote.number.format, +table.footnote.number.format, +footnote.number.symbols, and +table.footnote.number.symbols for better control of +footnote markers. + + + +Added glossentry.show.acronyms. + + + +Suppress the draft-mode page masters when +draft-mode is no. + + + +Make blank pages verso not recto. D'Oh! + + + +Improved formatting of ulink footnotes. + + + +Fixed bugs in graphic width/height calculations. + + + +Added class attributes to inline elements. + + + +Don't add .html to the filenames identified +with the dbhtml PI. + + + +Don't force a ToC when sections contain refentrys. + + + +Make section title sizes a function of the +body.master.size. + + + + + +Release 1.59.2 + +The 1.59.2 fixes an FO bug in the page masters that causes FOP to fail. + + +Removed the region-name from the region-body of blank pages. There's +no reason to give the body of blank pages a unique name and doing so causes +a mismatch that FOP detects. + + + +Output IDs for the first paragraphs in listitems. + + + +Fixed some small bugs in the handling of page numbers in double-sided mode. + + + +Attempt to prevent duplicated IDs from being produced when +endterm on xref points +to something with nested structure. + + + +Fix aligment problems in equations. + + + +Output the type attribute on unordered lists (UL) in HTML only if +the css.decoration parameter is true. + + + +Calculate the font size in formal.title.properties so that it's 1.2 times +the base font size, not a fixed "12pt". + + + + + +Release 1.59.1 + +The 1.59.1 fixes a few bugs. + + +Added Bulgarian localization. + + + +Indexing improvements; localize book indexes to books but allow setindex +to index an entire set. + + + +The default value for rowsep and colsep is now "1" as per CALS. + + + +Added support for titleabbrev (use them for cross +references). + + + +Improvements to mediaobject for selecting print vs. online +images. + + + +Added seperate property sets for figures, +examples, equations, tabless, +and procedures. + + + +Make lineannotations italic. + + + +Support xrefstyle attribute. + + + +Make endterm on +xref higher priority than +xreflabel target. + + + +Glossary formatting improvements. + + + + + +Release 1.58.0 + +The 1.58.0 adds some initial support for extensions in xsltproc, adds +a few features, and fixes bugs. + + +This release contains the first attempt at extension support for xsltproc. +The only extension available to date is the one that adjusts table column widths. +Run extensions/xsltproc/python/xslt.py. + + + +Fixed bugs in calculation of adjusted column widths to correct for rounding +errors. + + + +Support nested refsection elements correctly. + + + +Reworked gentext.template to take context into consideration. +The name of elements in localization files is now an xpath-like context list, not +just a simple name. + + + +Made some improvements to bibliography formatting. + + + +Improved graphical formatting of admonitions. + + + +Added support for entrytbl. + + + +Support spanning index terms. + + + +Support bibliosource. + + + + + +Release 1.57.0 + + +The 1.57.0 release wasn't documented here. Oops. + + + + + +Release 1.56.0 + +The 1.56.0 release fixes bugs. + + +Reworked chunking. This will break all existing customizations +layers that change the chunking algorithm. If you're customizing chunking, +look at the new content parameter that's passed to +process-chunk-element and friends. + + + +Support continued and inherited numeration in orderedlist +formatting for FOs. + + + +Added Thai localization. + + + +Tweaked stylesheet documentation stylesheets to link to TDG and +the parameter references. + + + +Allow title on tables of contents ("Table of Contents") to be optional. +Added new keyword to generate.toc. +Support tables of contents on sections. + + + +Made separate parameters for table borders and table cell borders: +table.frame.border.color, +table.frame.border.style, +table.frame.border.thickness, +table.cell.border.color, +table.cell.border.style, and +table.cell.border.thickness. + + + +Suppress formatting of endofrange indexterms. +This is only half-right. They should generate a range, but I haven't figured out how +to do that yet. + + + +Support revdescription. (Bug #582192) + + + +Added default.float.class and fixed figure +floats. (Bug #497603) + + + +Fixed formatting of sbr in FOs. + + + +Added context to the missing template error message. + + + +Process arg correctly in a group. +(Bug #605150) + + + +Removed 'keep-with-next' from formal.title.properties +attribute set now that the stylesheets support the option of putting +such titles below the object. Now the $placement value determines if +'keep-with-next' or 'keep-with-previous' is used in the title block. + + + +Wrap url() around external-destinations when appropriate. + + + +Fixed typo in compact list spacing. (Bug #615464) + + + +Removed spurious hash in anchor name. (Bug #617717) + + + +Address is now displayed verbatim on title pages. (Bug #618600) + + + +The bridgehead.in.toc parameter is now properly +supported. + + + +Improved effectiveness of HTML cleanup by increasing the number +of places where it is used. Improve use of HTML cleanup in XHTML stylesheets. + + + +Support table of contents for appendix in +article. (Bug #596599) + + + +Don't duplicate footnotes in bibliographys and +glossarys. (Bug #583282) + + + +Added default.image.width. (Bug #516859) + + + +Totally reworked funcsynopsis code; it now +supports a 'tabular' presentation style for 'wide' prototypes; see +funcsynopsis.tabular.threshold. (HTML only +right now, I think, FO support, uh, real soon now.) + + + +Reworked support for difference marking; toned down the colors a bit +and added a system.head.content template so that the diff CSS +wasn't overriding user.head.content. (Bug #610660) + + + +Added call to the *.head.content elements when writing +out long description chunks. + + + +Make sure legalnotice link is correct even when +chunking to a different base.dir. + + + +Use CSS to set viewport characteristics if +css.decoration is non-zero, use div instead of p for making +graphic a block element; make figure titles the +default alt +text for images in a figure. + + +Added space-after to list.block.spacing. + + + +Reworked section.level template to give correct answer +instead of being off by one. + + + +When processing tables, use the tabstyle +attribute as the division class. + + + +Fixed bug in html2xhtml.xsl that was causing the +XHTML chunker to output HTML instead of XHTML. + + + + + + Older releases + To view the release notes for older releases, see http://cvs.sourceforge.net/viewcvs.py/docbook/xsl/RELEASE-NOTES.xml. Be + aware that there were no release notes for releases prior to the + 1.50.0 release. + + + About dot-zero releases + DocBook Project “dot zero†releases should be + considered experimental and are always + followed by stable “dot one plus†releases, usually within + two or three weeks. Please help to ensure the stability of + “dot one plus†releases by carefully testing each + “dot zero†release and reporting back about any + problems you find. + It is not recommended that you use a “dot zero†+ release in a production system. Instead, you should wait for + the “dot one†or greater versions. + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/REVISION b/apache-fop/src/test/resources/docbook-xsl/REVISION new file mode 100644 index 0000000000..14db6eb9a2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/REVISION @@ -0,0 +1 @@ +9732 diff --git a/apache-fop/src/test/resources/docbook-xsl/TODO b/apache-fop/src/test/resources/docbook-xsl/TODO new file mode 100644 index 0000000000..1f421cdaf5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/TODO @@ -0,0 +1,23 @@ +The "to do" list for the DocBook Project XSL stylesheets is +maintained at Sourceforge. To view a list of all open feature +requests for the stylesheets: + + http://docbook.sf.net/tracker/xsl/requests + +To submit a feature request against the stylesheets: + + http://docbook.sf.net/tracker/submit/request + +To do a full-text search of all DocBook Project issues: + + http://docbook.sf.net/tracker/search + +Discussion about the DocBook Project XSL stylesheets takes place +on the docbook-apps mailing list: + + http://wiki.docbook.org/topic/DocBookAppsMailingList + +Real-time discussion takes place on IRC: + + http://wiki.docbook.org/topic/DocBookIrcChannel + irc://irc.freenode.net/docbook diff --git a/apache-fop/src/test/resources/docbook-xsl/VERSION b/apache-fop/src/test/resources/docbook-xsl/VERSION new file mode 100644 index 0000000000..0f99b74827 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/VERSION @@ -0,0 +1,115 @@ + + + + + + + + + +docbook-xsl +1.78.0 +9696 +$Revision: 9731 $ +$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $ + + + + + DocBook + XSL Stylesheets + + + 1.78.1 + + + + + + +* Major feature enhancements + + + + + + http://sourceforge.net/projects/docbook/ + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download + http://sourceforge.net/project/shownotes.php?release_id={SFRELID} + http://docbook.svn.sourceforge.net/viewvc/docbook/ + http://lists.oasis-open.org/archives/docbook-apps/ + This is a release with bugfixes and some enhancements. + + + + + + + + + + + + + + + + + + + + + + + You must specify the sf-relid as a parameter. + + + + + + + + + + + + + + + + + + : + + + + + + + + + : + + + + + + + + + : + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/VERSION.xsl b/apache-fop/src/test/resources/docbook-xsl/VERSION.xsl new file mode 100644 index 0000000000..0f99b74827 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/VERSION.xsl @@ -0,0 +1,115 @@ + + + + + + + + + +docbook-xsl +1.78.0 +9696 +$Revision: 9731 $ +$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $ + + + + + DocBook + XSL Stylesheets + + + 1.78.1 + + + + + + +* Major feature enhancements + + + + + + http://sourceforge.net/projects/docbook/ + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download + http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download + http://sourceforge.net/project/shownotes.php?release_id={SFRELID} + http://docbook.svn.sourceforge.net/viewvc/docbook/ + http://lists.oasis-open.org/archives/docbook-apps/ + This is a release with bugfixes and some enhancements. + + + + + + + + + + + + + + + + + + + + + + + You must specify the sf-relid as a parameter. + + + + + + + + + + + + + + + + + + : + + + + + + + + + : + + + + + + + + + : + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/README b/apache-fop/src/test/resources/docbook-xsl/assembly/README new file mode 100644 index 0000000000..2ef9fed0ef --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/README @@ -0,0 +1,195 @@ +DocBook Assembly Stylesheets +============================== +bobs@sagehill.net + +This directory provides XSL stylesheets for working with +DocBook assemblies. It is intended to enable working with + and elements, as defined in DocBook 5.1 +and later. + +This kit currently supports most features of an assembly. +See the "Unsupported Features" section below for details +of what is not currently supported. These more advanced +features will be supported as it is further developed. + + +Content of this directory: +-------------------------- +topic-maker-chunk.xsl - stylesheet to modularize an existing DB5 document. +topic-maker.xsl - imported by topic-maker-chunk.xsl. +assemble.xsl - stylesheet to process an into a document. + + +The toolkit consists of an assemble.xsl XSL stylesheet +to process a DocBook element to convert it +to an assembled DocBook 5 document ready to be formatted. +This stylesheet will enable users to structure a book from +modular files. + +To make it easy to initially create a modular book, this +kit also includes a topic-maker-chunk.xsl XSL stylesheet +to break apart an existing DocBook 5 book into modular +files, and also create the associated document. +Then you can run the assemble.xsl stylesheet to put it +back together as a single DocBook document. + + +To create an assembly and topic files from a book or article document +======================================================================= + +If you have an existing DocBook 5 book or article document, +you can convert it to an assembly and a collection of +modular topic files. If you want to convert a DocBook 4 +document, you must first convert it to version 5. + +For example, to disassemble a DocBook 5 book document named book.xml: + +xsltproc --xinclude \ + --stringparam assembly.filename myassembly.xml \ + --stringparam base.dir topics/ \ + topic-maker-chunk.xsl \ + mybook.xml + +This command will result in a master assembly file named +'myassembly.xml' with a root element of , containing +a single element. It will also break up the +content of the book into modular chunks that are output +to the 'topics/' subdirectory as specified in the 'base.dir' +parameter. + +Options +---------- +The name of the assembly file is set by the stylesheet param +named 'assembly.filename', which should include the filename suffix. + +Modular files are output to the directory location specified +by the 'base.dir' parameter. If you want them in the current +directory, then don't set that param. + +By default the assembly element is output to the current +directory, *not* into base.dir with the modular files. +The element in the assembly has its xml:base +attribute set to the value of 'base.dir', so that it is +added to the paths to the modular files when processed. +If you set the stylesheet param 'manifest.in.base.dir' +to 1, then the assembly file is created in the base.dir +directory and the xml:base attribute is omitted (since +they are together in the same directory). + +If you want the assembly file in 'base.dir' instead of +the current directory, then set the stylesheet param +'manifest.in.base.dir' to 1. + +The stylesheet chunks a document into modules at the +same boundaries as the chunking XHTML stylesheet, because +it reuses many of the chunking stylesheet templates. +You can alter the chunking behavior with the same options +as for XHTML chunking. + +For example, the stylesheet will chunk sections into topics +down to section level 3 by default. To change that level, +change the stylesheet param 'chunk.section.depth' to +another value. + +Finer control of chunking can be achieved by using +the processing instruction in +the source file. + +Many modular elements retain their original element name, +such as glossary, bibliography, index, and such. By default, the +stylesheet converts chapter, article, preface and section elements +into modules. To change that list of +converted element names, alter the stylesheet param named +'topic.elements'. If that param is empty, then no elements +will be converted to , so they will all retain their +original element names. + +Modular filenames use the same naming scheme as the chunking +XHTML stylesheet, and supports the same file naming options such as +the param 'use.id.as.filename', which is set to 1 by default. +Note that the stylesheet param 'html.ext' is set to '.xml' +because it is producing modular XML files, not HTML files. + +Root element conversion +------------------------ +By default, the root element of the original document is +also converted to a module, and gets a resourceref +attribute to reference it. If you set the stylesheet +param 'root.as.resourceref' to zero, then the root element +is handled differently, as described as follows. + +If the structure element does not have a resourcref +attribute, the root element is constructed rather +than copied from a resource. The structure element must +have a renderas attribute (or its child output element must +have such) to select the output root element name. + +Any content between the root element start tag and the +first module is put into a resource with the original +root element. To pull this content in, the first +module in the structure points to this resource but +uses a contentonly="yes" attribute. The effect of +that attribute is to pull in all content *except* +the root element of that resource. + +In general, if you have content that does not logically +have its own container element, you can put the content +into a suitable container element and then deselect the +container element upon assembly with the contentonly="yes" +attribute. That attribute can also be used to avoid +pulling in a resource's xml:id when you want to change it. + + +To process an into an assembled DocBook document +============================================================== + +To convert an and its associated modular +files into a single DocBook document, process +your assembly document with the assemble.xsl stylesheet. +You should then be able to process the resulting +document with a DocBook XSL formatting stylesheet. + + + + +Useful params in assemble.xsl +----------------------------- +The $root.default.renderas param sets the name of the +root element of the assembled document, if it is not +otherwise specified with @renderas. Its default value +is 'book'. + +The $topic.default.renderas param sets the name of the +output element for any topic element included in the +assembly, if it is not otherwise specified with +@renderas. It's default value is 'section'. + +The $structure.id param lets you specify at runtime +the id value of the structure you want to reassemble. +This is only necessary if you have more than one +structure element in your assembly. + +The $output.type param also lets you specify at runtime +which structure element to process. In this case, +the value should match on an @type attribute on +the structure element. + +The $output.format param lets you specify at runtime +which of several possible output formats are being generated. +The param value is compared to the @format +attribute on elements to select specific properties +for a module. + + + +Unsupported Features +----------------------- + +The transforms and transform elements are currently ignored +by the assembly stylesheet. + +The relationships and relationship elements are currently +ignored by the assembly stylesheet. + +The filterin and filterout elements are not currently +supported. diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/assemble.xsl b/apache-fop/src/test/resources/docbook-xsl/assembly/assemble.xsl new file mode 100644 index 0000000000..c09af8861f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/assemble.xsl @@ -0,0 +1,677 @@ + + + + + + + + + + + +5.0 +book +section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: structure.id param set to ' + + ' but no element with that xml:id exists in assembly. + + + + + ERROR: structure.id param set to ' + + ' but no structure with that xml:id exists in assembly. + + + + + + + + + + ERROR: output.type param set to ' + + but no structure element has that type attribute. Exiting. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + renderas + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: cannot determine output element name for + module with no @resourceref and no @renderas. Exiting. + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: cannot determine output element name for + @resourceref=" + + ". Exiting. + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: cannot determine output element name for + structure with no @renderas and no $root.default.renderas. + Exiting. + + + + + + + + + + + + + + + + ERROR: no xml:id matches @resourceref = ' + + '. + + + + + ERROR: xml:id matching @resourceref = ' + + is not a resource element'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: @fileref = ' + + ' has no content or is unresolved. + + + + + + + + + + + + omittitles + + + + + + contentonly + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: no xml:id matches @resourceref = ' + + '. + + + + + ERROR: xml:id matching @resourceref = ' + + is not a resource element'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: merge element with resourceref ' + + ' must point to something with an info element.' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: the <relationships> element is not currently + supported by this stylesheet. + + + + + + WARNING: the <transforms> element is not currently + supported by this stylesheet. + + + + + + WARNING: the <filterin> element is not currently + supported by this stylesheet. + + + + + + WARNING: the <filterin> element is not currently + supported by this stylesheet. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/schema/assembly51b7.rnc b/apache-fop/src/test/resources/docbook-xsl/assembly/schema/assembly51b7.rnc new file mode 100755 index 0000000000..0a26290cb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/schema/assembly51b7.rnc @@ -0,0 +1,11035 @@ +namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" +namespace ctrl = "http://nwalsh.com/xmlns/schema-control/" +default namespace db = "http://docbook.org/ns/docbook" +namespace html = "http://www.w3.org/1999/xhtml" +namespace mml = "http://www.w3.org/1998/Math/MathML" +namespace rng = "http://relaxng.org/ns/structure/1.0" +namespace s = "http://purl.oclc.org/dsdl/schematron" +namespace svg = "http://www.w3.org/2000/svg" +namespace xlink = "http://www.w3.org/1999/xlink" + +# This file is part of DocBook Assembly V5.1b7 +# +# Copyright 2008-2011 HaL Computer Systems, Inc., +# O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software +# Corporation, Norman Walsh, Sun Microsystems, Inc., and the +# Organization for the Advancement of Structured Information +# Standards (OASIS). +# +# Permission to use, copy, modify and distribute the DocBook schema +# and its accompanying documentation for any purpose and without fee +# is hereby granted in perpetuity, provided that the above copyright +# notice and this paragraph appear in all copies. The copyright +# holders make no representation about the suitability of the schema +# for any purpose. It is provided "as is" without expressed or implied +# warranty. +# +# If you modify the DocBook schema in any way, label your schema as a +# variant of DocBook. See the reference documentation +# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# for more information. +# +# Please direct all questions, bug reports, or suggestions for changes +# to the docbook@lists.oasis-open.org mailing list. For more +# information, see http://www.oasis-open.org/docbook/. +# +# ====================================================================== +div { + db._any.attribute = + + ## Any attribute, including any attribute in any namespace. + attribute * { text } + db._any = + + ## Any element from almost any namespace + element * - (db:* | html:*) { + (db._any.attribute | text | db._any)* + } +} +db.arch.attribute = + + ## Designates the computer or chip architecture to which the element applies + attribute arch { text } +db.audience.attribute = + + ## Designates the intended audience to which the element applies, for example, system administrators, programmers, or new users. + attribute audience { text } +db.condition.attribute = + + ## provides a standard place for application-specific effectivity + attribute condition { text } +db.conformance.attribute = + + ## Indicates standards conformance characteristics of the element + attribute conformance { text } +db.os.attribute = + + ## Indicates the operating system to which the element is applicable + attribute os { text } +db.revision.attribute = + + ## Indicates the editorial revision to which the element belongs + attribute revision { text } +db.security.attribute = + + ## Indicates something about the security level associated with the element to which it applies + attribute security { text } +db.userlevel.attribute = + + ## Indicates the level of user experience for which the element applies + attribute userlevel { text } +db.vendor.attribute = + + ## Indicates the computer vendor to which the element applies. + attribute vendor { text } +db.wordsize.attribute = + + ## Indicates the word size (width in bits) of the computer architecture to which the element applies + attribute wordsize { text } +db.effectivity.attributes = + db.arch.attribute? + & db.audience.attribute? + & db.condition.attribute? + & db.conformance.attribute? + & db.os.attribute? + & db.revision.attribute? + & db.security.attribute? + & db.userlevel.attribute? + & db.vendor.attribute? + & db.wordsize.attribute? +db.endterm.attribute = + + ## Points to the element whose content is to be used as the text of the link + attribute endterm { xsd:IDREF } +db.linkend.attribute = + + ## Points to an internal link target by identifying the value of its xml:id attribute + attribute linkend { xsd:IDREF } +db.linkends.attribute = + + ## Points to one or more internal link targets by identifying the value of their xml:id attributes + attribute linkends { xsd:IDREFS } +db.xlink.href.attribute = + + ## Identifies a link target with a URI + attribute xlink:href { xsd:anyURI } +db.xlink.simple.type.attribute = + + ## Identifies the XLink link type + attribute xlink:type { + + ## An XLink simple link type + "simple" + } +db.xlink.role.attribute = + + ## Identifies the XLink role of the link + attribute xlink:role { xsd:anyURI } +db.xlink.arcrole.attribute = + + ## Identifies the XLink arcrole of the link + attribute xlink:arcrole { xsd:anyURI } +db.xlink.title.attribute = + + ## Identifies the XLink title of the link + attribute xlink:title { text } +db.xlink.show.enumeration = + + ## An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context. + "new" + | + ## An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded. + "replace" + | + ## An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource. + "embed" + | + ## The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior. + "other" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + "none" +db.xlink.show.attribute = + + ## Identifies the XLink show behavior of the link + attribute xlink:show { db.xlink.show.enumeration } +db.xlink.actuate.enumeration = + + ## An application should traverse to the ending resource immediately on loading the starting resource. + "onLoad" + | + ## An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. + "onRequest" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior. + "other" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + "none" +db.xlink.actuate.attribute = + + ## Identifies the XLink actuate behavior of the link + attribute xlink:actuate { db.xlink.actuate.enumeration } +db.xlink.simple.link.attributes = + db.xlink.simple.type.attribute? + & db.xlink.href.attribute? + & db.xlink.role.attribute? + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? +db.xlink.attributes = + db.xlink.simple.link.attributes + | (db.xlink.extended.link.attributes + | db.xlink.locator.link.attributes + | db.xlink.arc.link.attributes + | db.xlink.resource.link.attributes + | db.xlink.title.link.attributes) +db.xml.id.attribute = + + ## Identifies the unique ID value of the element + attribute xml:id { xsd:ID } +db.version.attribute = + + ## Specifies the DocBook version of the element and its descendants + attribute version { text } +db.xml.lang.attribute = + + ## Specifies the natural language of the element and its descendants + attribute xml:lang { text } +db.xml.base.attribute = + + ## Specifies the base URI of the element and its descendants + attribute xml:base { xsd:anyURI } +db.remap.attribute = + + ## Provides the name or similar semantic identifier assigned to the content in some previous markup scheme + attribute remap { text } +db.xreflabel.attribute = + + ## Provides the text that is to be generated for a cross reference to the element + attribute xreflabel { text } +db.xrefstyle.attribute = + + ## Specifies a keyword or keywords identifying additional style information + attribute xrefstyle { text } +db.revisionflag.enumeration = + + ## The element has been changed. + "changed" + | + ## The element is new (has been added to the document). + "added" + | + ## The element has been deleted. + "deleted" + | + ## Explicitly turns off revision markup for this element. + "off" +db.revisionflag.attribute = + + ## Identifies the revision status of the element + attribute revisionflag { db.revisionflag.enumeration } +db.dir.enumeration = + + ## Left-to-right text + "ltr" + | + ## Right-to-left text + "rtl" + | + ## Left-to-right override + "lro" + | + ## Right-to-left override + "rlo" +db.dir.attribute = + + ## Identifies the direction of text in an element + attribute dir { db.dir.enumeration } +db.common.base.attributes = + db.version.attribute? + & db.xml.lang.attribute? + & db.xml.base.attribute? + & db.remap.attribute? + & db.xreflabel.attribute? + & db.revisionflag.attribute? + & db.dir.attribute? + & db.effectivity.attributes +db.common.attributes = + db.xml.id.attribute? + & db.common.base.attributes + & db.annotations.attribute? +db.common.idreq.attributes = + db.xml.id.attribute + & db.common.base.attributes + & db.annotations.attribute? +db.common.linking.attributes = + (db.linkend.attribute | db.xlink.attributes)? +db.common.req.linking.attributes = + db.linkend.attribute | db.xlink.attributes +db.common.data.attributes = + + ## Specifies the format of the data + attribute format { text }?, + ( + ## Indentifies the location of the data by URI + attribute fileref { xsd:anyURI } + | + ## Identifies the location of the data by external identifier (entity name) + attribute entityref { xsd:ENTITY }) +db.verbatim.continuation.enumeration = + + ## Line numbering continues from the immediately preceding element with the same name. + "continues" + | + ## Line numbering restarts (begins at 1, usually). + "restarts" +db.verbatim.continuation.attribute = + + ## Determines whether line numbering continues from the previous element or restarts. + attribute continuation { db.verbatim.continuation.enumeration } +db.verbatim.linenumbering.enumeration = + + ## Lines are numbered. + "numbered" + | + ## Lines are not numbered. + "unnumbered" +db.verbatim.linenumbering.attribute = + + ## Determines whether lines are numbered. + attribute linenumbering { db.verbatim.linenumbering.enumeration } +db.verbatim.startinglinenumber.attribute = + + ## Specifies the initial line number. + attribute startinglinenumber { xsd:integer } +db.verbatim.language.attribute = + + ## Identifies the language (i.e. programming language) of the verbatim content. + attribute language { text } +db.verbatim.xml.space.attribute = + + ## Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not. + attribute xml:space { + + ## Whitespace must be preserved. + "preserve" + } +db.verbatim.common.attributes = + db.verbatim.continuation.attribute? + & db.verbatim.linenumbering.attribute? + & db.verbatim.startinglinenumber.attribute? + & db.verbatim.xml.space.attribute? +db.verbatim.attributes = + db.verbatim.common.attributes & db.verbatim.language.attribute? +db.label.attribute = + + ## Specifies an identifying string for presentation purposes + attribute label { text } +db.width.characters.attribute = + + ## Specifies the width (in characters) of the element + attribute width { xsd:nonNegativeInteger } +db.spacing.enumeration = + + ## The spacing should be "compact". + "compact" + | + ## The spacing should be "normal". + "normal" +db.spacing.attribute = + + ## Specifies (a hint about) the spacing of the content + attribute spacing { db.spacing.enumeration } +db.pgwide.enumeration = + + ## The element should be rendered in the current text flow (with the flow column width). + "0" + | + ## The element should be rendered across the full text page. + "1" +db.pgwide.attribute = + + ## Indicates if the element is rendered across the column or the page + attribute pgwide { db.pgwide.enumeration } +db.language.attribute = + + ## Identifies the language (i.e. programming language) of the content. + attribute language { text } +db.performance.enumeration = + + ## The content describes an optional step or steps. + "optional" + | + ## The content describes a required step or steps. + "required" +db.performance.attribute = + + ## Specifies if the content is required or optional. + attribute performance { db.performance.enumeration } +db.floatstyle.attribute = + + ## Specifies style information to be used when rendering the float + attribute floatstyle { text } +db.width.attribute = + + ## Specifies the width of the element + attribute width { text } +db.depth.attribute = + + ## Specifies the depth of the element + attribute depth { text } +db.contentwidth.attribute = + + ## Specifies the width of the content rectangle + attribute contentwidth { text } +db.contentdepth.attribute = + + ## Specifies the depth of the content rectangle + attribute contentdepth { text } +db.scalefit.enumeration = + + ## False (do not scale-to-fit; anamorphic scaling may occur) + "0" + | + ## True (scale-to-fit; anamorphic scaling is forbidden) + "1" +db.scale.attribute = + + ## Specifies the scaling factor + attribute scale { xsd:positiveInteger } +db.classid.attribute = + + ## Specifies a classid for a media object player + attribute classid { text } +db.autoplay.attribute = + + ## Specifies the autoplay setting for a media object player + attribute autoplay { text } +db.halign.enumeration = + + ## Centered horizontally + "center" + | + ## Aligned horizontally on the specified character + "char" + | + ## Fully justified (left and right margins or edges) + "justify" + | + ## Left aligned + "left" + | + ## Right aligned + "right" +db.valign.enumeration = + + ## Aligned on the bottom of the region + "bottom" + | + ## Centered vertically + "middle" + | + ## Aligned on the top of the region + "top" +db.biblio.class.enumeration = + + ## A digital object identifier. + "doi" + | + ## An international standard book number. + "isbn" + | + ## An international standard technical report number (ISO 10444). + "isrn" + | + ## An international standard serial number. + "issn" + | + ## An international standard text code. + "istc" + | + ## A Library of Congress reference number. + "libraryofcongress" + | + ## A publication number (an internal number or possibly organizational standard). + "pubsnumber" + | + ## A Uniform Resource Identifier + "uri" +db.biblio.class-enum.attribute = + + ## Identifies the kind of bibliographic identifier + attribute class { db.biblio.class.enumeration }? +db.biblio.class-other.attribute = + + ## Identifies the nature of the non-standard bibliographic identifier + attribute otherclass { xsd:NMTOKEN } +db.biblio.class-other.attributes = + + ## Identifies the kind of bibliographic identifier + attribute class { + + ## Indicates that the identifier is some 'other' kind. + "other" + } + & db.biblio.class-other.attribute +db.biblio.class.attribute = + db.biblio.class-enum.attribute | db.biblio.class-other.attributes +db.ubiq.inlines = + (db.inlinemediaobject + | db.remark + | db.link.inlines + | db.alt + | db.trademark + | # below, effectively the publishing inlines (as of 5.0) + db.abbrev + | db.acronym + | db.date + | db._emphasis + | db.footnote + | db.footnoteref + | db._foreignphrase + | db._phrase + | db._quote + | db.subscript + | db.superscript + | db.wordasword) + | db.annotation + | (db._firstterm | db._glossterm) + | db.indexterm + | db.coref +db._text = (text | db.ubiq.inlines | db._phrase | db.replaceable)* +db._title = db.title? & db.titleabbrev? & db.subtitle? +db._title.req = db.title & db.titleabbrev? & db.subtitle? +db._title.only = db.title? & db.titleabbrev? +db._title.onlyreq = db.title & db.titleabbrev? +db._info = (db._title, db.titleforbidden.info?) | db.info? +db._info.title.req = + (db._title.req, db.titleforbidden.info?) | db.titlereq.info +db._info.title.only = + (db._title.only, db.titleforbidden.info?) | db.titleonly.info +db._info.title.onlyreq = + (db._title.onlyreq, db.titleforbidden.info?) | db.titleonlyreq.info +db._info.title.forbidden = db.titleforbidden.info? +db.all.inlines = + text | db.ubiq.inlines | db.general.inlines | db.domain.inlines +db.general.inlines = + db.publishing.inlines + | db.product.inlines + | db.bibliography.inlines + | db.graphic.inlines + | db.indexing.inlines + | db.link.inlines +db.domain.inlines = + db.technical.inlines + | db.math.inlines + | db.markup.inlines + | db.gui.inlines + | db.keyboard.inlines + | db.os.inlines + | db.programming.inlines + | db.error.inlines +db.technical.inlines = + (db.replaceable | db.package | db.parameter) + | db.termdef + | db.nonterminal + | (db.systemitem | db.option | db.optional | db.property) +db.product.inlines = + db.trademark + | (db.productnumber + | db.productname + | db.database + | db.application + | db.hardware) +db.bibliography.inlines = + db.citation + | db.citerefentry + | db.citetitle + | db.citebiblioid + | db.author + | db.person + | db.personname + | db.org + | db.orgname + | db.editor + | db.jobtitle +db.publishing.inlines = + (db.abbrev + | db.acronym + | db.date + | db.emphasis + | db.footnote + | db.footnoteref + | db.foreignphrase + | db.phrase + | db.quote + | db.subscript + | db.superscript + | db.wordasword) + | db.glossary.inlines + | db.coref +db.graphic.inlines = db.inlinemediaobject +db.indexing.inlines = notAllowed | db.indexterm +db.link.inlines = + (db.xref | db.link | db.olink | db.anchor) | db.biblioref +db.nopara.blocks = + (db.list.blocks + | db.formal.blocks + | db.informal.blocks + | db.publishing.blocks + | db.graphic.blocks + | db.technical.blocks + | db.verbatim.blocks + | db.bridgehead + | db.remark + | db.revhistory) + | db.indexterm + | db.synopsis.blocks + | db.admonition.blocks +db.para.blocks = db.anchor | db.para | db.formalpara | db.simpara +db.all.blocks = (db.nopara.blocks | db.para.blocks) | db.annotation +db.formal.blocks = (db.example | db.figure | db.table) | db.equation +db.informal.blocks = + (db.informalexample | db.informalfigure | db.informaltable) + | db.informalequation +db.publishing.blocks = + db.sidebar | db.blockquote | db.address | db.epigraph +db.graphic.blocks = db.mediaobject | db.screenshot +db.technical.blocks = + db.procedure + | db.task + | (db.productionset | db.constraintdef) + | db.msgset +db.list.blocks = + (db.itemizedlist + | db.orderedlist + | db.procedure + | db.simplelist + | db.variablelist + | db.segmentedlist) + | db.glosslist + | db.bibliolist + | db.calloutlist + | db.qandaset +db.verbatim.blocks = + (db.screen | db.literallayout) + | (db.programlistingco | db.screenco) + | (db.programlisting | db.synopsis) +db.info.extension = db._any +db.info.elements = + (db.abstract + | db.address + | db.artpagenums + | db.author + | db.authorgroup + | db.authorinitials + | db.bibliocoverage + | db.biblioid + | db.bibliosource + | db.collab + | db.confgroup + | db.contractsponsor + | db.contractnum + | db.copyright + | db.cover + | db.date + | db.edition + | db.editor + | db.issuenum + | db.keywordset + | db.legalnotice + | db.mediaobject + | db.org + | db.orgname + | db.othercredit + | db.pagenums + | db.printhistory + | db.pubdate + | db.publisher + | db.publishername + | db.releaseinfo + | db.revhistory + | db.seriesvolnums + | db.subjectset + | db.volumenum + | db.info.extension) + | db.annotation + | db.extendedlink + | (db.bibliomisc | db.bibliomset | db.bibliorelation | db.biblioset) + | db.itermset + | (db.productname | db.productnumber) +db.bibliographic.elements = + db.info.elements + | db.publishing.inlines + | db.citerefentry + | db.citetitle + | db.citebiblioid + | db.person + | db.personblurb + | db.personname + | db.subtitle + | db.title + | db.titleabbrev +div { + db.title.role.attribute = attribute role { text } + db.title.attlist = + db.title.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.title = + + ## The text of the title of a section of a document or of a formal block-level element + element title { db.title.attlist, db.all.inlines* } +} +div { + db.titleabbrev.role.attribute = attribute role { text } + db.titleabbrev.attlist = + db.titleabbrev.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.titleabbrev = + + ## The abbreviation of a title + element titleabbrev { db.titleabbrev.attlist, db.all.inlines* } +} +div { + db.subtitle.role.attribute = attribute role { text } + db.subtitle.attlist = + db.subtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subtitle = + + ## The subtitle of a document + element subtitle { db.subtitle.attlist, db.all.inlines* } +} +div { + db.info.role.attribute = attribute role { text } + db.info.attlist = db.info.role.attribute? & db.common.attributes + db.info = + + ## A wrapper for information about a component or other block + element info { db.info.attlist, (db._title & db.info.elements*) } +} +div { + db.titlereq.info.role.attribute = attribute role { text } + db.titlereq.info.attlist = + db.titlereq.info.role.attribute? & db.common.attributes + db.titlereq.info = + + ## A wrapper for information about a component or other block with a required title + element info { + db.titlereq.info.attlist, (db._title.req & db.info.elements*) + } +} +div { + db.titleonly.info.role.attribute = attribute role { text } + db.titleonly.info.attlist = + db.titleonly.info.role.attribute? & db.common.attributes + db.titleonly.info = + + ## A wrapper for information about a component or other block with only a title + element info { + db.titleonly.info.attlist, (db._title.only & db.info.elements*) + } +} +div { + db.titleonlyreq.info.role.attribute = attribute role { text } + db.titleonlyreq.info.attlist = + db.titleonlyreq.info.role.attribute? & db.common.attributes + db.titleonlyreq.info = + + ## A wrapper for information about a component or other block with only a required title + element info { + db.titleonlyreq.info.attlist, + (db._title.onlyreq & db.info.elements*) + } +} +div { + db.titleforbidden.info.role.attribute = attribute role { text } + db.titleforbidden.info.attlist = + db.titleforbidden.info.role.attribute? & db.common.attributes + db.titleforbidden.info = + + ## A wrapper for information about a component or other block without a title + element info { db.titleforbidden.info.attlist, db.info.elements* } +} +div { + db.subjectset.role.attribute = attribute role { text } + db.subjectset.scheme.attribute = + + ## Identifies the controlled vocabulary used by this set's terms + attribute scheme { xsd:NMTOKEN } + db.subjectset.attlist = + db.subjectset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.subjectset.scheme.attribute? + db.subjectset = + + ## A set of terms describing the subject matter of a document + element subjectset { db.subjectset.attlist, db.subject+ } +} +div { + db.subject.role.attribute = attribute role { text } + db.subject.weight.attribute = + + ## Specifies a ranking for this subject relative to other subjects in the same set + attribute weight { text } + db.subject.attlist = + db.subject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.subject.weight.attribute? + db.subject = + + ## One of a group of terms describing the subject matter of a document + element subject { db.subject.attlist, db.subjectterm+ } +} +div { + db.subjectterm.role.attribute = attribute role { text } + db.subjectterm.attlist = + db.subjectterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subjectterm = + + ## A term in a group of terms describing the subject matter of a document + element subjectterm { db.subjectterm.attlist, text } +} +div { + db.keywordset.role.attribute = attribute role { text } + db.keywordset.attlist = + db.keywordset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keywordset = + + ## A set of keywords describing the content of a document + element keywordset { db.keywordset.attlist, db.keyword+ } +} +div { + db.keyword.role.attribute = attribute role { text } + db.keyword.attlist = + db.keyword.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keyword = + + ## One of a set of keywords describing the content of a document + element keyword { db.keyword.attlist, text } +} +db.table.choice = notAllowed | db.cals.table | db.html.table +db.informaltable.choice = + notAllowed | db.cals.informaltable | db.html.informaltable +db.table = db.table.choice +db.informaltable = db.informaltable.choice +div { + db.procedure.role.attribute = attribute role { text } + db.procedure.attlist = + db.procedure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.procedure.info = db._info.title.only + db.procedure = + + ## A list of operations to be performed in a well-defined sequence + element procedure { + db.procedure.attlist, db.procedure.info, db.all.blocks*, db.step+ + } +} +div { + db.step.role.attribute = attribute role { text } + db.step.attlist = + db.step.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.step.info = db._info.title.only + # This content model is blocks*, step|stepalternatives, blocks* but + # expressed this way it avoids UPA issues in XSD and DTD versions + db.step = + + ## A unit of action in a procedure + element step { + db.step.attlist, + db.step.info, + ((db.all.blocks+, + ((db.substeps | db.stepalternatives), db.all.blocks*)?) + | ((db.substeps | db.stepalternatives), db.all.blocks*)) + } +} +div { + db.stepalternatives.role.attribute = attribute role { text } + db.stepalternatives.attlist = + db.stepalternatives.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.stepalternatives.info = db._info.title.forbidden + db.stepalternatives = + + ## Alternative steps in a procedure + element stepalternatives { + db.stepalternatives.attlist, db.stepalternatives.info, db.step+ + } +} +div { + db.substeps.role.attribute = attribute role { text } + db.substeps.attlist = + db.substeps.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.substeps = + + ## A wrapper for steps that occur within steps in a procedure + element substeps { db.substeps.attlist, db.step+ } +} +div { + db.sidebar.floatstyle.attribute = db.floatstyle.attribute + db.sidebar.role.attribute = attribute role { text } + db.sidebar.attlist = + db.sidebar.role.attribute? + & db.sidebar.floatstyle.attribute? + & db.common.attributes + & db.common.linking.attributes + db.sidebar.info = db._info + db.sidebar = + + ## A portion of a document that is isolated from the main narrative flow + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:sidebar" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of sidebar" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sidebar { + db.sidebar.attlist, db.sidebar.info, db.all.blocks+ + } +} +div { + db.abstract.role.attribute = attribute role { text } + db.abstract.attlist = + db.abstract.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.abstract.info = db._info.title.only + db.abstract = + + ## A summary + element abstract { + db.abstract.attlist, db.abstract.info, db.para.blocks+ + } +} +div { + db.personblurb.role.attribute = attribute role { text } + db.personblurb.attlist = + db.personblurb.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.personblurb.info = db._info.title.only + db.personblurb = + + ## A short description or note about a person + element personblurb { + db.personblurb.attlist, db.personblurb.info, db.para.blocks+ + } +} +div { + db.blockquote.role.attribute = attribute role { text } + db.blockquote.attlist = + db.blockquote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.blockquote.info = db._info.title.only + db.blockquote = + + ## A quotation set off from the main text + element blockquote { + db.blockquote.attlist, + db.blockquote.info, + db.attribution?, + db.all.blocks+ + } +} +div { + db.attribution.role.attribute = attribute role { text } + db.attribution.attlist = + db.attribution.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.attribution = + + ## The source of a block quote or epigraph + element attribution { + db.attribution.attlist, + (db._text + | db.person + | db.personname + | db.citetitle + | db.citation)* + } +} +div { + db.bridgehead.renderas.enumeration = + + ## Render as a first-level section + "sect1" + | + ## Render as a second-level section + "sect2" + | + ## Render as a third-level section + "sect3" + | + ## Render as a fourth-level section + "sect4" + | + ## Render as a fifth-level section + "sect5" + db.bridgehead.renderas-enum.attribute = + + ## Indicates how the bridge head should be rendered + attribute renderas { db.bridgehead.renderas.enumeration }? + db.bridgehead.renderas-other.attribute = + + ## Identifies the nature of the non-standard rendering + attribute otherrenderas { xsd:NMTOKEN } + db.bridgehead.renderas-other.attributes = + + ## Indicates how the bridge head should be rendered + attribute renderas { + + ## Identifies a non-standard rendering + "other" + } + & db.bridgehead.renderas-other.attribute + db.bridgehead.renderas.attribute = + db.bridgehead.renderas-enum.attribute + | db.bridgehead.renderas-other.attributes + db.bridgehead.role.attribute = attribute role { text } + db.bridgehead.attlist = + db.bridgehead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bridgehead.renderas.attribute? + db.bridgehead = + + ## A free-floating heading + element bridgehead { db.bridgehead.attlist, db.all.inlines* } +} +div { + db.remark.role.attribute = attribute role { text } + db.remark.attlist = + db.remark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.remark = + + ## A remark (or comment) intended for presentation in a draft manuscript + element remark { db.remark.attlist, db.all.inlines* } +} +div { + db.epigraph.role.attribute = attribute role { text } + db.epigraph.attlist = + db.epigraph.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.epigraph.info = db._info.title.forbidden + db.epigraph = + + ## A short inscription at the beginning of a document or component + element epigraph { + db.epigraph.attlist, + db.epigraph.info, + db.attribution?, + (db.para.blocks | db.literallayout)+ + } +} +div { + db.footnote.role.attribute = attribute role { text } + db.footnote.label.attribute = + + ## Identifies the desired footnote mark + attribute label { xsd:NMTOKEN } + db.footnote.attlist = + db.footnote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.footnote.label.attribute? + db.footnote = + + ## A footnote + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:footnote)" + "footnote must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:epigraph)" + "epigraph must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element footnote { db.footnote.attlist, db.all.blocks+ } +} +div { + db.formalpara.role.attribute = attribute role { text } + db.formalpara.attlist = + db.formalpara.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.formalpara.info = db._info.title.onlyreq + db.formalpara = + + ## A paragraph with a title + element formalpara { + db.formalpara.attlist, + db.formalpara.info, + db.indexing.inlines*, + db.para + } +} +div { + db.para.role.attribute = attribute role { text } + db.para.attlist = + db.para.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.para.info = db._info.title.forbidden + db.para = + + ## A paragraph + element para { + db.para.attlist, + db.para.info, + (db.all.inlines | db.nopara.blocks)* + } +} +div { + db.simpara.role.attribute = attribute role { text } + db.simpara.attlist = + db.simpara.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.simpara.info = db._info.title.forbidden + db.simpara = + + ## A paragraph that contains only text and inline markup, no block elements + element simpara { + db.simpara.attlist, db.simpara.info, db.all.inlines* + } +} +div { + db.itemizedlist.role.attribute = attribute role { text } + db.itemizedlist.mark.attribute = + + ## Identifies the type of mark to be used on items in this list + attribute mark { xsd:NMTOKEN } + db.itemizedlist.attlist = + db.itemizedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & db.itemizedlist.mark.attribute? + db.itemizedlist.info = db._info.title.only + db.itemizedlist = + + ## A list in which each entry is marked with a bullet or other dingbat + element itemizedlist { + db.itemizedlist.attlist, + db.itemizedlist.info, + db.all.blocks*, + db.listitem+ + } +} +div { + db.orderedlist.role.attribute = attribute role { text } + db.orderedlist.continuation.enumeration = + + ## Specifies that numbering should begin where the preceding list left off + "continues" + | + ## Specifies that numbering should begin again at 1 + "restarts" + db.orderedlist.continuation.attribute = + + ## Indicates how list numbering should begin relative to the immediately preceding list + attribute continuation { db.orderedlist.continuation.enumeration } + db.orderedlist.startingnumber.attribute = + + ## Specifies the initial line number. + attribute startingnumber { xsd:integer } + db.orderedlist.inheritnum.enumeration = + + ## Specifies that numbering should ignore list nesting + "ignore" + | + ## Specifies that numbering should inherit from outer-level lists + "inherit" + db.orderedlist.inheritnum.attribute = + + ## Indicates whether or not item numbering should be influenced by list nesting + attribute inheritnum { db.orderedlist.inheritnum.enumeration } + db.orderedlist.numeration.enumeration = + + ## Specifies Arabic numeration (1, 2, 3, …) + "arabic" + | + ## Specifies upper-case alphabetic numeration (A, B, C, …) + "upperalpha" + | + ## Specifies lower-case alphabetic numeration (a, b, c, …) + "loweralpha" + | + ## Specifies upper-case Roman numeration (I, II, III, …) + "upperroman" + | + ## Specifies lower-case Roman numeration (i, ii, iii …) + "lowerroman" + db.orderedlist.numeration.attribute = + + ## Indicates the desired numeration + attribute numeration { db.orderedlist.numeration.enumeration } + db.orderedlist.attlist = + db.orderedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & (db.orderedlist.continuation.attribute + | db.orderedlist.startingnumber.attribute)? + & db.orderedlist.inheritnum.attribute? + & db.orderedlist.numeration.attribute? + db.orderedlist.info = db._info.title.only + db.orderedlist = + + ## A list in which each entry is marked with a sequentially incremented label + element orderedlist { + db.orderedlist.attlist, + db.orderedlist.info, + db.all.blocks*, + db.listitem+ + } +} +div { + db.listitem.role.attribute = attribute role { text } + db.listitem.override.attribute = + + ## Specifies the keyword for the type of mark that should be used on this + ## item, instead of the mark that would be used by default + attribute override { xsd:NMTOKEN } + db.listitem.attlist = + db.listitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.listitem.override.attribute? + db.listitem = + + ## A wrapper for the elements of a list item + element listitem { db.listitem.attlist, db.all.blocks+ } +} +div { + db.segmentedlist.role.attribute = attribute role { text } + db.segmentedlist.attlist = + db.segmentedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.segmentedlist.info = db._info.title.only + db.segmentedlist = + + ## A segmented list, a list of sets of elements + element segmentedlist { + db.segmentedlist.attlist, + db.segmentedlist.info, + db.segtitle+, + db.seglistitem+ + } +} +div { + db.segtitle.role.attribute = attribute role { text } + db.segtitle.attlist = + db.segtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.segtitle = + + ## The title of an element of a list item in a segmented list + element segtitle { db.segtitle.attlist, db.all.inlines* } +} +div { + db.seglistitem.role.attribute = attribute role { text } + db.seglistitem.attlist = + db.seglistitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seglistitem = + + ## A list item in a segmented list + [ + s:pattern [ + name = "Cardinality of segments and titles" + "\x{a}" ~ + " " + s:rule [ + context = "db:seglistitem" + "\x{a}" ~ + " " + s:assert [ + test = "count(db:seg) = count(../db:segtitle)" + "The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element seglistitem { db.seglistitem.attlist, db.seg+ } +} +div { + db.seg.role.attribute = attribute role { text } + db.seg.attlist = + db.seg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seg = + + ## An element of a list item in a segmented list + element seg { db.seg.attlist, db.all.inlines* } +} +div { + db.simplelist.role.attribute = attribute role { text } + db.simplelist.type.enumeration = + + ## A tabular presentation in row-major order. + "horiz" + | + ## A tabular presentation in column-major order. + "vert" + | + ## An inline presentation, usually a comma-delimited list. + "inline" + db.simplelist.type.attribute = + + ## Specifies the type of list presentation. + [ a:defaultValue = "vert" ] + attribute type { db.simplelist.type.enumeration } + db.simplelist.columns.attribute = + + ## Specifies the number of columns for horizontal or vertical presentation + attribute columns { xsd:integer } + db.simplelist.attlist = + db.simplelist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.simplelist.type.attribute? + & db.simplelist.columns.attribute? + db.simplelist = + + ## An undecorated list of single words or short phrases + element simplelist { db.simplelist.attlist, db.member+ } +} +div { + db.member.role.attribute = attribute role { text } + db.member.attlist = + db.member.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.member = + + ## An element of a simple list + element member { db.member.attlist, db.all.inlines* } +} +div { + db.variablelist.role.attribute = attribute role { text } + db.variablelist.termlength.attribute = + + ## Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list + attribute termlength { text } + db.variablelist.attlist = + db.variablelist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & db.variablelist.termlength.attribute? + db.variablelist.info = db._info.title.only + db.variablelist = + + ## A list in which each entry is composed of a set of one or more terms and an associated description + element variablelist { + db.variablelist.attlist, + db.variablelist.info, + db.all.blocks*, + db.varlistentry+ + } +} +div { + db.varlistentry.role.attribute = attribute role { text } + db.varlistentry.attlist = + db.varlistentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varlistentry = + + ## A wrapper for a set of terms and the associated description in a variable list + element varlistentry { + db.varlistentry.attlist, db.term+, db.listitem + } +} +div { + db.term.role.attribute = attribute role { text } + db.term.attlist = + db.term.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.term = + + ## The word or phrase being defined or described in a variable list + element term { db.term.attlist, db.all.inlines* } +} +div { + db.example.role.attribute = attribute role { text } + db.example.label.attribute = db.label.attribute + db.example.width.attribute = db.width.characters.attribute + db.example.pgwide.attribute = db.pgwide.attribute + db.example.floatstyle.attribute = db.floatstyle.attribute + db.example.attlist = + db.example.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.example.label.attribute? + & db.example.floatstyle.attribute? + & (db.example.width.attribute | db.example.pgwide.attribute)? + db.example.info = db._info.title.onlyreq + db.example = + + ## A formal example, with a title + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element example { + db.example.attlist, db.example.info, db.all.blocks+, db.caption? + } +} +div { + db.informalexample.role.attribute = attribute role { text } + db.informalexample.width.attribute = db.width.characters.attribute + db.informalexample.pgwide.attribute = db.pgwide.attribute + db.informalexample.floatstyle.attribute = db.floatstyle.attribute + db.informalexample.attlist = + db.informalexample.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.informalexample.floatstyle.attribute? + & (db.informalexample.width.attribute + | db.informalexample.pgwide.attribute)? + db.informalexample.info = db._info.title.forbidden + db.informalexample = + + ## A displayed example without a title + element informalexample { + db.informalexample.attlist, + db.informalexample.info, + db.all.blocks+, + db.caption? + } +} +db.verbatim.inlines = (db.all.inlines | db.lineannotation) | db.co +db.verbatim.contentmodel = + db._info.title.forbidden, (db.textobject | db.verbatim.inlines*) +div { + db.literallayout.role.attribute = attribute role { text } + db.literallayout.class.enumeration = + + ## The literal layout should be formatted with a monospaced font + "monospaced" + | + ## The literal layout should be formatted with the current font + "normal" + db.literallayout.class.attribute = + + ## Specifies the class of literal layout + attribute class { db.literallayout.class.enumeration } + db.literallayout.attlist = + db.literallayout.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.literallayout.class.attribute? + db.literallayout = + + ## A block of text in which line breaks and white space are to be reproduced faithfully + element literallayout { + db.literallayout.attlist, db.verbatim.contentmodel + } +} +div { + db.screen.role.attribute = attribute role { text } + db.screen.width.attribute = db.width.characters.attribute + db.screen.attlist = + db.screen.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.screen.width.attribute? + db.screen = + + ## Text that a user sees or might see on a computer screen + element screen { db.screen.attlist, db.verbatim.contentmodel } +} +div { + db.screenshot.role.attribute = attribute role { text } + db.screenshot.attlist = + db.screenshot.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.screenshot.info = db._info + db.screenshot = + + ## A representation of what the user sees or might see on a computer screen + element screenshot { + db.screenshot.attlist, db.screenshot.info, db.mediaobject + } +} +div { + db.figure.role.attribute = attribute role { text } + db.figure.label.attribute = db.label.attribute + db.figure.pgwide.attribute = db.pgwide.attribute + db.figure.floatstyle.attribute = db.floatstyle.attribute + db.figure.attlist = + db.figure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.figure.label.attribute? + & db.figure.pgwide.attribute? + & db.figure.floatstyle.attribute? + db.figure.info = db._info.title.onlyreq + db.figure = + + ## A formal figure, generally an illustration, with a title + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element figure { + db.figure.attlist, db.figure.info, db.all.blocks+, db.caption? + } +} +div { + db.informalfigure.role.attribute = attribute role { text } + db.informalfigure.label.attribute = db.label.attribute + db.informalfigure.pgwide.attribute = db.pgwide.attribute + db.informalfigure.floatstyle.attribute = db.floatstyle.attribute + db.informalfigure.attlist = + db.informalfigure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.informalfigure.label.attribute? + & db.informalfigure.pgwide.attribute? + & db.informalfigure.floatstyle.attribute? + db.informalfigure.info = db._info.title.forbidden + db.informalfigure = + + ## A untitled figure + element informalfigure { + db.informalfigure.attlist, + db.informalfigure.info, + db.all.blocks+, + db.caption? + } +} +db.mediaobject.content = + (db.videoobject | db.audioobject | db.imageobject | db.textobject) + | db.imageobjectco +div { + db.mediaobject.role.attribute = attribute role { text } + db.mediaobject.attlist = + db.mediaobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mediaobject.info = db._info.title.forbidden + db.mediaobject = + + ## A displayed media object (video, audio, image, etc.) + element mediaobject { + db.mediaobject.attlist, + db.mediaobject.info, + db.alt?, + db.mediaobject.content+, + db.caption? + } +} +div { + db.inlinemediaobject.role.attribute = attribute role { text } + db.inlinemediaobject.attlist = + db.inlinemediaobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.inlinemediaobject.info = db._info.title.forbidden + db.inlinemediaobject = + + ## An inline media object (video, audio, image, and so on) + element inlinemediaobject { + db.inlinemediaobject.attlist, + db.inlinemediaobject.info, + db.alt?, + db.mediaobject.content+ + } +} +div { + db.videoobject.role.attribute = attribute role { text } + db.videoobject.attlist = + db.videoobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.videoobject.info = db._info.title.forbidden + db.videoobject = + + ## A wrapper for video data and its associated meta-information + element videoobject { + db.videoobject.attlist, + db.videoobject.info, + db.videodata, + db.multimediaparam* + } +} +div { + db.audioobject.role.attribute = attribute role { text } + db.audioobject.attlist = + db.audioobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.audioobject.info = db._info.title.forbidden + db.audioobject = + + ## A wrapper for audio data and its associated meta-information + element audioobject { + db.audioobject.attlist, + db.audioobject.info, + db.audiodata, + db.multimediaparam* + } +} +db.imageobject.content = + db.imagedata | db.imagedata.mathml | db.imagedata.svg +div { + db.imageobject.role.attribute = attribute role { text } + db.imageobject.attlist = + db.imageobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.imageobject.info = db._info.title.forbidden + db.imageobject = + + ## A wrapper for image data and its associated meta-information + element imageobject { + db.imageobject.attlist, + db.imageobject.info, + db.imageobject.content + } +} +div { + db.textobject.role.attribute = attribute role { text } + db.textobject.attlist = + db.textobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.textobject.info = db._info.title.forbidden + db.textobject = + + ## A wrapper for a text description of an object and its associated meta-information + element textobject { + db.textobject.attlist, + db.textobject.info, + (db.phrase | db.textdata | db.all.blocks+) + } +} +div { + db.videodata.role.attribute = attribute role { text } + db.videodata.align.enumeration = db.halign.enumeration + db.videodata.align.attribute = + + ## Specifies the (horizontal) alignment of the video data + attribute align { db.videodata.align.enumeration } + db.videodata.autoplay.attribute = db.autoplay.attribute + db.videodata.classid.attribute = db.classid.attribute + db.videodata.valign.enumeration = db.valign.enumeration + db.videodata.valign.attribute = + + ## Specifies the vertical alignment of the video data + attribute valign { db.videodata.valign.enumeration } + db.videodata.width.attribute = db.width.attribute + db.videodata.depth.attribute = db.depth.attribute + db.videodata.contentwidth.attribute = db.contentwidth.attribute + db.videodata.contentdepth.attribute = db.contentdepth.attribute + db.videodata.scalefit.enumeration = db.scalefit.enumeration + db.videodata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.videodata.scalefit.enumeration } + db.videodata.scale.attribute = db.scale.attribute + db.videodata.attlist = + db.videodata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.videodata.align.attribute? + & db.videodata.valign.attribute? + & db.videodata.width.attribute? + & db.videodata.contentwidth.attribute? + & db.videodata.scalefit.attribute? + & db.videodata.scale.attribute? + & db.videodata.depth.attribute? + & db.videodata.contentdepth.attribute? + & db.videodata.autoplay.attribute? + & db.videodata.classid.attribute? + db.videodata.info = db._info.title.forbidden + db.videodata = + + ## Pointer to external video data + element videodata { db.videodata.attlist, db.videodata.info } +} +div { + db.audiodata.role.attribute = attribute role { text } + db.audiodata.align.enumeration = db.halign.enumeration + db.audiodata.align.attribute = + + ## Specifies the (horizontal) alignment of the video data + attribute align { db.audiodata.align.enumeration } + db.audiodata.autoplay.attribute = db.autoplay.attribute + db.audiodata.classid.attribute = db.classid.attribute + db.audiodata.contentwidth.attribute = db.contentwidth.attribute + db.audiodata.contentdepth.attribute = db.contentdepth.attribute + db.audiodata.depth.attribute = db.depth.attribute + db.audiodata.scale.attribute = db.scale.attribute + db.audiodata.scalefit.enumeration = db.scalefit.enumeration + db.audiodata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.audiodata.scalefit.enumeration } + db.audiodata.valign.enumeration = db.valign.enumeration + db.audiodata.valign.attribute = + + ## Specifies the vertical alignment of the video data + attribute valign { db.audiodata.valign.enumeration } + db.audiodata.width.attribute = db.width.attribute + db.audiodata.attlist = + db.audiodata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.audiodata.align.attribute? + & db.audiodata.autoplay.attribute? + & db.audiodata.classid.attribute? + & db.audiodata.contentdepth.attribute? + & db.audiodata.contentwidth.attribute? + & db.audiodata.depth.attribute? + & db.audiodata.scale.attribute? + & db.audiodata.scalefit.attribute? + & db.audiodata.valign.attribute? + & db.audiodata.width.attribute? + db.audiodata.info = db._info.title.forbidden + db.audiodata = + + ## Pointer to external audio data + element audiodata { db.audiodata.attlist, db.audiodata.info } +} +div { + db.imagedata.role.attribute = attribute role { text } + db.imagedata.align.enumeration = db.halign.enumeration + db.imagedata.align.attribute = + + ## Specifies the (horizontal) alignment of the image data + attribute align { db.imagedata.align.enumeration } + db.imagedata.valign.enumeration = db.valign.enumeration + db.imagedata.valign.attribute = + + ## Specifies the vertical alignment of the image data + attribute valign { db.imagedata.valign.enumeration } + db.imagedata.width.attribute = db.width.attribute + db.imagedata.depth.attribute = db.depth.attribute + db.imagedata.contentwidth.attribute = db.contentwidth.attribute + db.imagedata.contentdepth.attribute = db.contentdepth.attribute + db.imagedata.scalefit.enumeration = db.scalefit.enumeration + db.imagedata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.imagedata.scalefit.enumeration } + db.imagedata.scale.attribute = db.scale.attribute + db.imagedata.attlist = + db.imagedata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.info = db._info.title.forbidden + db.imagedata = + + ## Pointer to external image data + element imagedata { db.imagedata.attlist, db.imagedata.info } +} +div { + db.textdata.role.attribute = attribute role { text } + db.textdata.encoding.attribute = + + ## Identifies the encoding of the text in the external file + attribute encoding { text } + db.textdata.attlist = + db.textdata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.textdata.encoding.attribute? + db.textdata.info = db._info.title.forbidden + db.textdata = + + ## Pointer to external text data + element textdata { db.textdata.attlist, db.textdata.info } +} +div { + db.multimediaparam.role.attribute = attribute role { text } + db.multimediaparam.name.attribute = + + ## Specifies the name of the parameter + attribute name { text } + db.multimediaparam.value.attribute = + + ## Specifies the value of the parameter + attribute value { text } + db.multimediaparam.valuetype.attribute = + + ## Specifies the type of the value of the parameter + attribute valuetype { text } + db.multimediaparam.attlist = + db.multimediaparam.role.attribute? + & db.common.attributes + & db.multimediaparam.name.attribute + & db.multimediaparam.value.attribute + & db.multimediaparam.valuetype.attribute? + db.multimediaparam = + + ## Application specific parameters for a media player + element multimediaparam { db.multimediaparam.attlist, empty } +} +div { + db.caption.role.attribute = attribute role { text } + db.caption.attlist = + db.caption.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.caption.info = db._info.title.forbidden + db.caption = + + ## A caption + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caption { + db.caption.attlist, db.caption.info, db.all.blocks+ + } +} +div { + db.address.role.attribute = attribute role { text } + db.address.attlist = + db.address.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.address = + + ## A real-world address, generally a postal address + element address { + db.address.attlist, + (db._text + | db.personname + | db.orgname + | db.pob + | db.street + | db.city + | db.state + | db.postcode + | db.country + | db.phone + | db.fax + | db.email + | db.uri + | db.otheraddr)* + } +} +div { + db.street.role.attribute = attribute role { text } + db.street.attlist = + db.street.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.street = + + ## A street address in an address + element street { db.street.attlist, db._text } +} +div { + db.pob.role.attribute = attribute role { text } + db.pob.attlist = + db.pob.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pob = + + ## A post office box in an address + element pob { db.pob.attlist, db._text } +} +div { + db.postcode.role.attribute = attribute role { text } + db.postcode.attlist = + db.postcode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.postcode = + + ## A postal code in an address + element postcode { db.postcode.attlist, db._text } +} +div { + db.city.role.attribute = attribute role { text } + db.city.attlist = + db.city.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.city = + + ## The name of a city in an address + element city { db.city.attlist, db._text } +} +div { + db.state.role.attribute = attribute role { text } + db.state.attlist = + db.state.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.state = + + ## A state or province in an address + element state { db.state.attlist, db._text } +} +div { + db.country.role.attribute = attribute role { text } + db.country.attlist = + db.country.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.country = + + ## The name of a country + element country { db.country.attlist, db._text } +} +div { + db.phone.role.attribute = attribute role { text } + db.phone.attlist = + db.phone.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.phone = + + ## A telephone number + element phone { db.phone.attlist, db._text } +} +div { + db.fax.role.attribute = attribute role { text } + db.fax.attlist = + db.fax.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.fax = + + ## A fax number + element fax { db.fax.attlist, db._text } +} +div { + db.otheraddr.role.attribute = attribute role { text } + db.otheraddr.attlist = + db.otheraddr.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.otheraddr = + + ## Uncategorized information in address + element otheraddr { db.otheraddr.attlist, db._text } +} +div { + db.affiliation.role.attribute = attribute role { text } + db.affiliation.attlist = + db.affiliation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.affiliation = + + ## The institutional affiliation of an individual + element affiliation { + db.affiliation.attlist, + db.shortaffil?, + db.jobtitle*, + (db.org? | (db.orgname?, db.orgdiv*, db.address*)) + } +} +div { + db.shortaffil.role.attribute = attribute role { text } + db.shortaffil.attlist = + db.shortaffil.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.shortaffil = + + ## A brief description of an affiliation + element shortaffil { db.shortaffil.attlist, db._text } +} +div { + db.jobtitle.role.attribute = attribute role { text } + db.jobtitle.attlist = + db.jobtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.jobtitle = + + ## The title of an individual in an organization + element jobtitle { db.jobtitle.attlist, db._text } +} +div { + db.orgname.class.enumeration = + + ## A consortium + "consortium" + | + ## A corporation + "corporation" + | + ## An informal organization + "informal" + | + ## A non-profit organization + "nonprofit" + db.orgname.class-enum.attribute = + + ## Specifies the nature of the organization + attribute class { db.orgname.class.enumeration } + db.orgname.class-other.attributes = + + ## Specifies the nature of the organization + attribute class { + + ## Indicates a non-standard organization class + "other" + }, + + ## Identifies the non-standard nature of the organization + attribute otherclass { text } + db.orgname.class.attribute = + db.orgname.class-enum.attribute | db.orgname.class-other.attributes + db.orgname.role.attribute = attribute role { text } + db.orgname.attlist = + db.orgname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.orgname.class.attribute? + db.orgname = + + ## The name of an organization + element orgname { db.orgname.attlist, db._text } +} +div { + db.orgdiv.role.attribute = attribute role { text } + db.orgdiv.attlist = + db.orgdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.orgdiv = + + ## A division of an organization + element orgdiv { db.orgdiv.attlist, db.all.inlines* } +} +div { + db.artpagenums.role.attribute = attribute role { text } + db.artpagenums.attlist = + db.artpagenums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.artpagenums = + + ## The page numbers of an article as published + element artpagenums { db.artpagenums.attlist, db._text } +} +div { + db.personname.role.attribute = attribute role { text } + db.personname.attlist = + db.personname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.personname = + + ## The personal name of an individual + element personname { + db.personname.attlist, + (db._text + | (db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername)+ + | (db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername)+) + } +} +db.person.author.contentmodel = + db.personname, + (db.personblurb + | db.affiliation + | db.email + | db.uri + | db.address + | db.contrib)* +db.org.author.contentmodel = + db.orgname, + (db.orgdiv + | db.affiliation + | db.email + | db.uri + | db.address + | db.contrib)* +db.credit.contentmodel = + db.person.author.contentmodel | db.org.author.contentmodel +div { + db.author.role.attribute = attribute role { text } + db.author.attlist = + db.author.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.author = + + ## The name of an individual author + element author { db.author.attlist, db.credit.contentmodel } +} +div { + db.authorgroup.role.attribute = attribute role { text } + db.authorgroup.attlist = + db.authorgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.authorgroup = + + ## Wrapper for author information when a document has multiple authors or collaborators + element authorgroup { + db.authorgroup.attlist, (db.author | db.editor | db.othercredit)+ + } +} +div { + db.collab.role.attribute = attribute role { text } + db.collab.attlist = + db.collab.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.collab = + + ## Identifies a collaborator + element collab { + db.collab.attlist, + (db.person | db.personname | db.org | db.orgname)+, + db.affiliation* + } +} +div { + db.authorinitials.role.attribute = attribute role { text } + db.authorinitials.attlist = + db.authorinitials.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.authorinitials = + + ## The initials or other short identifier for an author + element authorinitials { db.authorinitials.attlist, db._text } +} +div { + db.person.role.attribute = attribute role { text } + db.person.attlist = + db.person.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.person = + + ## A person and associated metadata + element person { + db.person.attlist, + db.personname, + (db.address + | db.affiliation + | db.email + | db.uri + | db.personblurb)* + } +} +div { + db.org.role.attribute = attribute role { text } + db.org.attlist = + db.org.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.org = + + ## An organization and associated metadata + element org { + db.org.attlist, + db.orgname, + (db.address | db.affiliation | db.email | db.uri | db.orgdiv)* + } +} +div { + db.confgroup.role.attribute = attribute role { text } + db.confgroup.attlist = + db.confgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confgroup = + + ## A wrapper for document meta-information about a conference + element confgroup { + db.confgroup.attlist, + (db.confdates + | db.conftitle + | db.confnum + | db.confsponsor + | db.address)* + } +} +div { + db.confdates.role.attribute = attribute role { text } + db.confdates.attlist = + db.confdates.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confdates = + + ## The dates of a conference for which a document was written + element confdates { db.confdates.attlist, db._text } +} +div { + db.conftitle.role.attribute = attribute role { text } + db.conftitle.attlist = + db.conftitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.conftitle = + + ## The title of a conference for which a document was written + element conftitle { db.conftitle.attlist, db._text } +} +div { + db.confnum.role.attribute = attribute role { text } + db.confnum.attlist = + db.confnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confnum = + + ## An identifier, frequently numerical, associated with a conference for which a document was written + element confnum { db.confnum.attlist, db._text } +} +div { + db.confsponsor.role.attribute = attribute role { text } + db.confsponsor.attlist = + db.confsponsor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confsponsor = + + ## The sponsor of a conference for which a document was written + element confsponsor { db.confsponsor.attlist, db._text } +} +div { + db.contractnum.role.attribute = attribute role { text } + db.contractnum.attlist = + db.contractnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contractnum = + + ## The contract number of a document + element contractnum { db.contractnum.attlist, db._text } +} +div { + db.contractsponsor.role.attribute = attribute role { text } + db.contractsponsor.attlist = + db.contractsponsor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contractsponsor = + + ## The sponsor of a contract + element contractsponsor { db.contractsponsor.attlist, db._text } +} +div { + db.copyright.role.attribute = attribute role { text } + db.copyright.attlist = + db.copyright.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.copyright = + + ## Copyright information about a document + element copyright { db.copyright.attlist, db.year+, db.holder* } +} +div { + db.year.role.attribute = attribute role { text } + db.year.attlist = + db.year.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.year = + + ## The year of publication of a document + element year { db.year.attlist, db._text } +} +div { + db.holder.role.attribute = attribute role { text } + db.holder.attlist = + db.holder.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.holder = + + ## The name of the individual or organization that holds a copyright + element holder { db.holder.attlist, db._text } +} +db.cover.contentmodel = + (db.para.blocks + | db.list.blocks + | db.informal.blocks + | db.publishing.blocks + | db.graphic.blocks + | db.technical.blocks + | db.verbatim.blocks + | db.bridgehead + | db.remark + | db.revhistory) + | db.synopsis.blocks +div { + db.cover.role.attribute = attribute role { text } + db.cover.attlist = + db.cover.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.cover = + + ## Additional content for the cover of a publication + element cover { db.cover.attlist, db.cover.contentmodel+ } +} +db.date.contentmodel = + xsd:date | xsd:dateTime | xsd:gYearMonth | xsd:gYear | text +div { + db.date.role.attribute = attribute role { text } + db.date.attlist = + db.date.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.date = + + ## The date of publication or revision of a document + element date { db.date.attlist, db.date.contentmodel } +} +div { + db.edition.role.attribute = attribute role { text } + db.edition.attlist = + db.edition.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.edition = + + ## The name or number of an edition of a document + element edition { db.edition.attlist, db._text } +} +div { + db.editor.role.attribute = attribute role { text } + db.editor.attlist = + db.editor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.editor = + + ## The name of the editor of a document + element editor { db.editor.attlist, db.credit.contentmodel } +} +div { + db.biblioid.role.attribute = attribute role { text } + db.biblioid.attlist = + db.biblioid.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.biblioid = + + ## An identifier for a document + element biblioid { db.biblioid.attlist, db._text } +} +div { + db.citebiblioid.role.attribute = attribute role { text } + db.citebiblioid.attlist = + db.citebiblioid.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.citebiblioid = + + ## A citation of a bibliographic identifier + element citebiblioid { db.citebiblioid.attlist, db._text } +} +div { + db.bibliosource.role.attribute = attribute role { text } + db.bibliosource.attlist = + db.bibliosource.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.bibliosource = + + ## The source of a document + element bibliosource { db.bibliosource.attlist, db._text } +} +div { + db.bibliorelation.type.enumeration = + + ## The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format + "hasformat" + | + ## The described resource includes the referenced resource either physically or logically + "haspart" + | + ## The described resource has a version, edition, or adaptation, namely, the referenced resource + "hasversion" + | + ## The described resource is the same intellectual content of the referenced resource, but presented in another format + "isformatof" + | + ## The described resource is a physical or logical part of the referenced resource + "ispartof" + | + ## The described resource is referenced, cited, or otherwise pointed to by the referenced resource + "isreferencedby" + | + ## The described resource is supplanted, displaced, or superceded by the referenced resource + "isreplacedby" + | + ## The described resource is required by the referenced resource, either physically or logically + "isrequiredby" + | + ## The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format + "isversionof" + | + ## The described resource references, cites, or otherwise points to the referenced resource + "references" + | + ## The described resource supplants, displaces, or supersedes the referenced resource + "replaces" + | + ## The described resource requires the referenced resource to support its function, delivery, or coherence of content + "requires" + db.bibliorelation.type-enum.attribute = + + ## Identifies the type of relationship + attribute type { db.bibliorelation.type.enumeration }? + db.bibliorelation.type-other.attributes = + + ## Identifies the type of relationship + attribute type { + + ## The described resource has a non-standard relationship with the referenced resource + "othertype" + }?, + + ## A keyword that identififes the type of the non-standard relationship + attribute othertype { xsd:NMTOKEN } + db.bibliorelation.type.attribute = + db.bibliorelation.type-enum.attribute + | db.bibliorelation.type-other.attributes + db.bibliorelation.role.attribute = attribute role { text } + db.bibliorelation.attlist = + db.bibliorelation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + & db.bibliorelation.type.attribute + db.bibliorelation = + + ## The relationship of a document to another + element bibliorelation { db.bibliorelation.attlist, db._text } +} +div { + db.bibliocoverage.spacial.enumeration = + + ## The DCMI Point identifies a point in space using its geographic coordinates + "dcmipoint" + | + ## ISO 3166 Codes for the representation of names of countries + "iso3166" + | + ## The DCMI Box identifies a region of space using its geographic limits + "dcmibox" + | + ## The Getty Thesaurus of Geographic Names + "tgn" + db.bibliocoverage.spatial-enum.attribute = + + ## Specifies the type of spatial coverage + attribute spatial { db.bibliocoverage.spacial.enumeration }? + db.bibliocoverage.spatial-other.attributes = + + ## Specifies the type of spatial coverage + attribute spatial { + + ## Identifies a non-standard type of coverage + "otherspatial" + }?, + + ## A keyword that identifies the type of non-standard coverage + attribute otherspatial { xsd:NMTOKEN } + db.bibliocoverage.spatial.attribute = + db.bibliocoverage.spatial-enum.attribute + | db.bibliocoverage.spatial-other.attributes + db.bibliocoverage.temporal.enumeration = + + ## A specification of the limits of a time interval + "dcmiperiod" + | + ## W3C Encoding rules for dates and times—a profile based on ISO 8601 + "w3c-dtf" + db.bibliocoverage.temporal-enum.attribute = + + ## Specifies the type of temporal coverage + attribute temporal { db.bibliocoverage.temporal.enumeration }? + db.bibliocoverage.temporal-other.attributes = + + ## Specifies the type of temporal coverage + attribute temporal { + + ## Specifies a non-standard type of coverage + "othertemporal" + }?, + + ## A keyword that identifies the type of non-standard coverage + attribute othertemporal { xsd:NMTOKEN } + db.bibliocoverage.temporal.attribute = + db.bibliocoverage.temporal-enum.attribute + | db.bibliocoverage.temporal-other.attributes + db.bibliocoverage.coverage.attrib = + db.bibliocoverage.spatial.attribute + & db.bibliocoverage.temporal.attribute + db.bibliocoverage.role.attribute = attribute role { text } + db.bibliocoverage.attlist = + db.bibliocoverage.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bibliocoverage.coverage.attrib + db.bibliocoverage = + + ## The spatial or temporal coverage of a document + element bibliocoverage { db.bibliocoverage.attlist, db._text } +} +div { + db.legalnotice.role.attribute = attribute role { text } + db.legalnotice.attlist = + db.legalnotice.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.legalnotice.info = db._info.title.only + db.legalnotice = + + ## A statement of legal obligations or requirements + element legalnotice { + db.legalnotice.attlist, db.legalnotice.info, db.all.blocks+ + } +} +div { + db.othercredit.class.enumeration = + + ## A copy editor + "copyeditor" + | + ## A graphic designer + "graphicdesigner" + | + ## Some other contributor + "other" + | + ## A production editor + "productioneditor" + | + ## A technical editor + "technicaleditor" + | + ## A translator + "translator" + | + ## An indexer + "indexer" + | + ## A proof-reader + "proofreader" + | + ## A cover designer + "coverdesigner" + | + ## An interior designer + "interiordesigner" + | + ## An illustrator + "illustrator" + | + ## A reviewer + "reviewer" + | + ## A typesetter + "typesetter" + | + ## A converter (a persons responsible for conversion, not an application) + "conversion" + db.othercredit.class-enum.attribute = + + ## Identifies the nature of the contributor + attribute class { db.othercredit.class.enumeration }? + db.othercredit.class-other.attribute = + + ## Identifies the nature of the non-standard contribution + attribute otherclass { xsd:NMTOKEN } + db.othercredit.class-other.attributes = + + ## Identifies the nature of the contributor + attribute class { + + ## Identifies a non-standard contribution + "other" + } + & db.othercredit.class-other.attribute + db.othercredit.class.attribute = + db.othercredit.class-enum.attribute + | db.othercredit.class-other.attributes + db.othercredit.role.attribute = attribute role { text } + db.othercredit.attlist = + db.othercredit.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.othercredit.class.attribute + db.othercredit = + + ## A person or entity, other than an author or editor, credited in a document + element othercredit { + db.othercredit.attlist, db.credit.contentmodel + } +} +div { + db.pagenums.role.attribute = attribute role { text } + db.pagenums.attlist = + db.pagenums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pagenums = + + ## The numbers of the pages in a book, for use in a bibliographic entry + element pagenums { db.pagenums.attlist, db._text } +} +div { + db.contrib.role.attribute = attribute role { text } + db.contrib.attlist = + db.contrib.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contrib = + + ## A summary of the contributions made to a document by a credited source + element contrib { db.contrib.attlist, db.all.inlines* } +} +div { + db.honorific.role.attribute = attribute role { text } + db.honorific.attlist = + db.honorific.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.honorific = + + ## The title of a person + element honorific { db.honorific.attlist, db._text } +} +div { + db.firstname.role.attribute = attribute role { text } + db.firstname.attlist = + db.firstname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.firstname = + + ## A given name of a person + element firstname { db.firstname.attlist, db._text } +} +div { + db.givenname.role.attribute = attribute role { text } + db.givenname.attlist = + db.givenname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.givenname = + + ## The given name of a person + element givenname { db.givenname.attlist, db._text } +} +div { + db.surname.role.attribute = attribute role { text } + db.surname.attlist = + db.surname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.surname = + + ## An inherited or family name; in western cultures the last name + element surname { db.surname.attlist, db._text } +} +div { + db.lineage.role.attribute = attribute role { text } + db.lineage.attlist = + db.lineage.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lineage = + + ## The portion of a person's name indicating a relationship to ancestors + element lineage { db.lineage.attlist, db._text } +} +div { + db.othername.role.attribute = attribute role { text } + db.othername.attlist = + db.othername.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.othername = + + ## A component of a person's name that is not a first name, surname, or lineage + element othername { db.othername.attlist, db._text } +} +div { + db.printhistory.role.attribute = attribute role { text } + db.printhistory.attlist = + db.printhistory.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.printhistory = + + ## The printing history of a document + element printhistory { db.printhistory.attlist, db.para.blocks+ } +} +div { + db.pubdate.role.attribute = attribute role { text } + db.pubdate.attlist = + db.pubdate.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pubdate = + + ## The date of publication of a document + element pubdate { db.pubdate.attlist, db.date.contentmodel } +} +div { + db.publisher.role.attribute = attribute role { text } + db.publisher.attlist = + db.publisher.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.publisher = + + ## The publisher of a document + element publisher { + db.publisher.attlist, db.publishername, db.address* + } +} +div { + db.publishername.role.attribute = attribute role { text } + db.publishername.attlist = + db.publishername.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.publishername = + + ## The name of the publisher of a document + element publishername { db.publishername.attlist, db._text } +} +div { + db.releaseinfo.role.attribute = attribute role { text } + db.releaseinfo.attlist = + db.releaseinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.releaseinfo = + + ## Information about a particular release of a document + element releaseinfo { db.releaseinfo.attlist, db._text } +} +div { + db.revhistory.role.attribute = attribute role { text } + db.revhistory.attlist = + db.revhistory.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revhistory.info = db._info.title.only + db.revhistory = + + ## A history of the revisions to a document + element revhistory { + db.revhistory.attlist, db.revhistory.info, db.revision+ + } +} +div { + db.revision.role.attribute = attribute role { text } + db.revision.attlist = + db.revision.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revision = + + ## An entry describing a single revision in the history of the revisions to a document + element revision { + db.revision.attlist, + db.revnumber?, + db.date, + (db.authorinitials | db.author)*, + (db.revremark | db.revdescription)? + } +} +div { + db.revnumber.role.attribute = attribute role { text } + db.revnumber.attlist = + db.revnumber.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revnumber = + + ## A document revision number + element revnumber { db.revnumber.attlist, db._text } +} +div { + db.revremark.role.attribute = attribute role { text } + db.revremark.attlist = + db.revremark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revremark = + + ## A description of a revision to a document + element revremark { db.revremark.attlist, db._text } +} +div { + db.revdescription.role.attribute = attribute role { text } + db.revdescription.attlist = + db.revdescription.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revdescription = + + ## A extended description of a revision to a document + element revdescription { db.revdescription.attlist, db.all.blocks* } +} +div { + db.seriesvolnums.role.attribute = attribute role { text } + db.seriesvolnums.attlist = + db.seriesvolnums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seriesvolnums = + + ## Numbers of the volumes in a series of books + element seriesvolnums { db.seriesvolnums.attlist, db._text } +} +div { + db.volumenum.role.attribute = attribute role { text } + db.volumenum.attlist = + db.volumenum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.volumenum = + + ## The volume number of a document in a set (as of books in a set or articles in a journal) + element volumenum { db.volumenum.attlist, db._text } +} +div { + db.issuenum.role.attribute = attribute role { text } + db.issuenum.attlist = + db.issuenum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.issuenum = + + ## The number of an issue of a journal + element issuenum { db.issuenum.attlist, db._text } +} +div { + db.package.role.attribute = attribute role { text } + db.package.attlist = + db.package.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.package = + + ## A software or application package + element package { db.package.attlist, db._text } +} +div { + db.email.role.attribute = attribute role { text } + db.email.attlist = + db.email.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.email = + + ## An email address + element email { db.email.attlist, db._text } +} +div { + db.lineannotation.role.attribute = attribute role { text } + db.lineannotation.attlist = + db.lineannotation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lineannotation = + + ## A comment on a line in a verbatim listing + element lineannotation { db.lineannotation.attlist, db._text } +} +div { + db.parameter.class.enumeration = + + ## A command + "command" + | + ## A function + "function" + | + ## An option + "option" + db.parameter.class.attribute = + + ## Identifies the class of parameter + attribute class { db.parameter.class.enumeration } + db.parameter.role.attribute = attribute role { text } + db.parameter.attlist = + db.parameter.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.parameter.class.attribute? + db.parameter = + + ## A value or a symbolic reference to a value + element parameter { db.parameter.attlist, db._text } +} +db.replaceable.inlines = db._text | db.co +div { + db.replaceable.class.enumeration = + + ## A command + "command" + | + ## A function + "function" + | + ## An option + "option" + | + ## A parameter + "parameter" + db.replaceable.class.attribute = + + ## Identifies the nature of the replaceable text + attribute class { db.replaceable.class.enumeration } + db.replaceable.role.attribute = attribute role { text } + db.replaceable.attlist = + db.replaceable.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.replaceable.class.attribute? + db.replaceable = + + ## Content that may or must be replaced by the user + element replaceable { + db.replaceable.attlist, db.replaceable.inlines* + } +} +div { + db.uri.type.attribute = + + ## Identifies the type of URI specified + attribute type { text }? + db.uri.role.attribute = attribute role { text } + db.uri.attlist = + db.uri.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.uri.type.attribute + db.uri = + + ## A Uniform Resource Identifier + element uri { db.uri.attlist, db._text } +} +div { + db.abbrev.role.attribute = attribute role { text } + db.abbrev.attlist = + db.abbrev.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.abbrev = + + ## An abbreviation, especially one followed by a period + element abbrev { + db.abbrev.attlist, + (db._text | db.superscript | db.subscript | db.trademark)* + } +} +div { + db.acronym.role.attribute = attribute role { text } + db.acronym.attlist = + db.acronym.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.acronym = + + ## An often pronounceable word made from the initial (or selected) letters of a name or phrase + element acronym { + db.acronym.attlist, + (db._text | db.superscript | db.subscript | db.trademark)* + } +} +div { + db.citation.role.attribute = attribute role { text } + db.citation.attlist = + db.citation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.citation = + + ## An inline bibliographic reference to another published work + element citation { db.citation.attlist, db.all.inlines* } +} +div { + db.citerefentry.role.attribute = attribute role { text } + db.citerefentry.attlist = + db.citerefentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.citerefentry = + + ## A citation to a reference page + element citerefentry { + db.citerefentry.attlist, db.refentrytitle, db.manvolnum? + } +} +div { + db.refentrytitle.role.attribute = attribute role { text } + db.refentrytitle.attlist = + db.refentrytitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refentrytitle = + + ## The title of a reference page + element refentrytitle { db.refentrytitle.attlist, db.all.inlines* } +} +div { + db.manvolnum.role.attribute = attribute role { text } + db.manvolnum.attlist = + db.manvolnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.manvolnum = + + ## A reference volume number + element manvolnum { db.manvolnum.attlist, db._text } +} +div { + db.citetitle.pubwork.enumeration = + + ## An article + "article" + | + ## A bulletin board system + "bbs" + | + ## A book + "book" + | + ## A CD-ROM + "cdrom" + | + ## A chapter (as of a book) + "chapter" + | + ## A DVD + "dvd" + | + ## An email message + "emailmessage" + | + ## A gopher page + "gopher" + | + ## A journal + "journal" + | + ## A manuscript + "manuscript" + | + ## A posting to a newsgroup + "newsposting" + | + ## A part (as of a book) + "part" + | + ## A reference entry + "refentry" + | + ## A section (as of a book or article) + "section" + | + ## A series + "series" + | + ## A set (as of books) + "set" + | + ## A web page + "webpage" + | + ## A wiki page + "wiki" + db.citetitle.pubwork.attribute = + + ## Identifies the nature of the publication being cited + attribute pubwork { db.citetitle.pubwork.enumeration } + db.citetitle.role.attribute = attribute role { text } + db.citetitle.attlist = + db.citetitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.citetitle.pubwork.attribute? + db.citetitle = + + ## The title of a cited work + element citetitle { db.citetitle.attlist, db.all.inlines* } +} +div { + db.emphasis.role.attribute = attribute role { text } + db.emphasis.attlist = + db.emphasis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.emphasis = + + ## Emphasized text + element emphasis { db.emphasis.attlist, db.all.inlines* } +} +div { + db._emphasis = + + ## A limited span of emphasized text + element emphasis { db.emphasis.attlist, db._text } +} +div { + db.foreignphrase.role.attribute = attribute role { text } + db.foreignphrase.attlist = + db.foreignphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.foreignphrase = + + ## A word or phrase in a language other than the primary language of the document + element foreignphrase { + db.foreignphrase.attlist, (text | db.general.inlines)* + } +} +div { + db._foreignphrase.role.attribute = attribute role { text } + db._foreignphrase.attlist = + db._foreignphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db._foreignphrase = + + ## A limited word or phrase in a language other than the primary language of the document + element foreignphrase { db._foreignphrase.attlist, db._text } +} +div { + db.phrase.role.attribute = attribute role { text } + db.phrase.attlist = + db.phrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.phrase = + + ## A span of text + element phrase { db.phrase.attlist, db.all.inlines* } +} +div { + db._phrase = + + ## A limited span of text + element phrase { db.phrase.attlist, db._text } +} +div { + db.quote.role.attribute = attribute role { text } + db.quote.attlist = + db.quote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.quote = + + ## An inline quotation + element quote { db.quote.attlist, db.all.inlines* } +} +div { + db._quote.role.attribute = attribute role { text } + db._quote.attlist = + db._quote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db._quote = + + ## A limited inline quotation + element quote { db._quote.attlist, db._text } +} +div { + db.subscript.role.attribute = attribute role { text } + db.subscript.attlist = + db.subscript.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subscript = + + ## A subscript (as in H2 + ## O, the molecular formula for water) + element subscript { db.subscript.attlist, db._text } +} +div { + db.superscript.role.attribute = attribute role { text } + db.superscript.attlist = + db.superscript.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.superscript = + + ## A superscript (as in x2 + ## , the mathematical notation for x multiplied by itself) + element superscript { db.superscript.attlist, db._text } +} +div { + db.trademark.class.enumeration = + + ## A copyright + "copyright" + | + ## A registered copyright + "registered" + | + ## A service + "service" + | + ## A trademark + "trade" + db.trademark.class.attribute = + + ## Identifies the class of trade mark + attribute class { db.trademark.class.enumeration } + db.trademark.role.attribute = attribute role { text } + db.trademark.attlist = + db.trademark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.trademark.class.attribute? + db.trademark = + + ## A trademark + element trademark { db.trademark.attlist, db._text } +} +div { + db.wordasword.role.attribute = attribute role { text } + db.wordasword.attlist = + db.wordasword.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.wordasword = + + ## A word meant specifically as a word and not representing anything else + element wordasword { db.wordasword.attlist, db._text } +} +div { + db.footnoteref.role.attribute = attribute role { text } + db.footnoteref.label.attribute = db.label.attribute + db.footnoteref.attlist = + db.footnoteref.role.attribute? + & db.common.attributes + & db.linkend.attribute + & db.footnoteref.label.attribute? + db.footnoteref = + + ## A cross reference to a footnote (a footnote mark) + [ + s:pattern [ + name = "Footnote reference type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnoteref" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'footnote' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on footnoteref must point to a footnote." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element footnoteref { db.footnoteref.attlist, empty } +} +div { + db.xref.role.attribute = attribute role { text } + db.xref.xrefstyle.attribute = db.xrefstyle.attribute + db.xref.endterm.attribute = db.endterm.attribute + db.xref.attlist = + db.xref.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.xref.xrefstyle.attribute? + & db.xref.endterm.attribute? + db.xref = + + ## A cross reference to another part of the document + element xref { db.xref.attlist, empty } +} +div { + db.link.role.attribute = attribute role { text } + db.link.xrefstyle.attribute = db.xrefstyle.attribute + db.link.endterm.attribute = db.endterm.attribute + db.link.attlist = + db.link.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.link.xrefstyle.attribute? + & db.link.endterm.attribute? + db.link = + + ## A hypertext link + element link { db.link.attlist, db.all.inlines* } +} +div { + db.olink.role.attribute = attribute role { text } + db.olink.xrefstyle.attribute = db.xrefstyle.attribute + db.olink.localinfo.attribute = + + ## Holds additional information that may be used by the application when resolving the link + attribute localinfo { text } + db.olink.targetdoc.attribute = + + ## Specifies the URI of the document in which the link target appears + attribute targetdoc { xsd:anyURI } + db.olink.targetptr.attribute = + + ## Specifies the location of the link target in the document + attribute targetptr { text } + db.olink.type.attribute = + + ## Identifies application-specific customization of the link behavior + attribute type { text } + db.olink.attlist = + db.common.attributes + & db.olink.targetdoc.attribute? + & db.olink.role.attribute? + & db.olink.xrefstyle.attribute? + & db.olink.localinfo.attribute? + & db.olink.targetptr.attribute? + & db.olink.type.attribute? + db.olink = + + ## A link that addresses its target indirectly + element olink { db.olink.attlist, db.all.inlines* } +} +div { + db.anchor.role.attribute = attribute role { text } + db.anchor.attlist = + db.anchor.role.attribute? & db.common.idreq.attributes + db.anchor = + + ## A spot in the document + element anchor { db.anchor.attlist, empty } +} +div { + db.alt.role.attribute = attribute role { text } + db.alt.attlist = db.alt.role.attribute? & db.common.attributes + db.alt = + + ## A text-only annotation, often used for accessibility + element alt { db.alt.attlist, (text | db.inlinemediaobject)* } +} +db.status.attribute = + + ## Identifies the editorial or publication status of the element on which it occurs + attribute status { text } +db.toplevel.sections = + ((db.section+, db.simplesect*) | db.simplesect+) + | (db.sect1+, db.simplesect*) + | db.refentry+ +db.toplevel.blocks.or.sections = + (db.all.blocks+, db.toplevel.sections?) | db.toplevel.sections +db.recursive.sections = + ((db.section+, db.simplesect*) | db.simplesect+) + | db.refentry+ +db.recursive.blocks.or.sections = + (db.all.blocks+, db.recursive.sections?) | db.recursive.sections +db.divisions = db.part | db.reference +db.components = + db.dedication + | db.acknowledgements + | db.preface + | db.chapter + | db.appendix + | db.article + | db.colophon +db.navigation.components = + notAllowed | db.glossary | db.bibliography | db.index | db.toc +db.component.contentmodel = + db.navigation.components*, + db.toplevel.blocks.or.sections, + db.navigation.components* +db.setindex.components = notAllowed | db.setindex +db.toc.components = notAllowed | db.toc +db.set.components = db.set | db.book +div { + db.set.status.attribute = db.status.attribute + db.set.role.attribute = attribute role { text } + db.set.attlist = + db.set.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.set.status.attribute? + db.set.info = db._info.title.req + db.set = + + ## A collection of books + element set { + db.set.attlist, + db.set.info, + db.toc.components?, + db.set.components+, + db.setindex.components? + } +} +db.book.components = + (db.navigation.components | db.components | db.divisions)* | db.topic* +div { + db.book.status.attribute = db.status.attribute + db.book.role.attribute = attribute role { text } + db.book.attlist = + db.book.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.book.status.attribute? + db.book.info = db._info + db.book = + + ## A book + element book { db.book.attlist, db.book.info, db.book.components } +} +div { + db.dedication.status.attribute = db.status.attribute + db.dedication.role.attribute = attribute role { text } + db.dedication.attlist = + db.dedication.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.dedication.status.attribute? + db.dedication.info = db._info + db.dedication = + + ## The dedication of a book or other component + element dedication { + db.dedication.attlist, db.dedication.info, db.all.blocks+ + } +} +div { + db.acknowledgements.status.attribute = db.status.attribute + db.acknowledgements.role.attribute = attribute role { text } + db.acknowledgements.attlist = + db.acknowledgements.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.acknowledgements.status.attribute? + db.acknowledgements.info = db._info + db.acknowledgements = + + ## Acknowledgements of a book or other component + element acknowledgements { + db.acknowledgements.attlist, + db.acknowledgements.info, + db.all.blocks+ + } +} +div { + db.colophon.status.attribute = db.status.attribute + db.colophon.role.attribute = attribute role { text } + db.colophon.attlist = + db.colophon.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.colophon.status.attribute? + db.colophon.info = db._info + db.colophon = + + ## Text at the back of a book describing facts about its production + element colophon { + db.colophon.attlist, + db.colophon.info, + ((db.all.blocks+, db.simplesect*) + | (db.all.blocks*, db.simplesect+)) + } +} +db.appendix.contentmodel = db.component.contentmodel | db.topic+ +div { + db.appendix.status.attribute = db.status.attribute + db.appendix.role.attribute = attribute role { text } + db.appendix.attlist = + db.appendix.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.appendix.status.attribute? + db.appendix.info = db._info.title.req + db.appendix = + + ## An appendix in a book or article + element appendix { + db.appendix.attlist, db.appendix.info, db.appendix.contentmodel? + } +} +db.chapter.contentmodel = db.component.contentmodel | db.topic+ +div { + db.chapter.status.attribute = db.status.attribute + db.chapter.role.attribute = attribute role { text } + db.chapter.attlist = + db.chapter.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.chapter.status.attribute? + db.chapter.info = db._info.title.req + db.chapter = + + ## A chapter, as of a book + element chapter { + db.chapter.attlist, db.chapter.info, db.chapter.contentmodel? + } +} +db.part.components = + (db.navigation.components | db.components) + | (db.refentry | db.reference) +db.part.contentmodel = db.part.components+ | db.topic+ +div { + db.part.status.attribute = db.status.attribute + db.part.role.attribute = attribute role { text } + db.part.attlist = + db.part.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.part.status.attribute? + db.part.info = db._info.title.req + db.part = + + ## A division in a book + element part { + db.part.attlist, + db.part.info, + db.partintro?, + db.part.contentmodel? + } +} +div { + db.preface.status.attribute = db.status.attribute + db.preface.role.attribute = attribute role { text } + db.preface.attlist = + db.preface.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.preface.status.attribute? + db.preface.info = db._info.title.req + db.preface = + + ## Introductory matter preceding the first chapter of a book + element preface { + db.preface.attlist, db.preface.info, db.component.contentmodel? + } +} +div { + db.partintro.status.attribute = db.status.attribute + db.partintro.role.attribute = attribute role { text } + db.partintro.attlist = + db.partintro.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.partintro.status.attribute? + db.partintro.info = db._info + db.partintro = + + ## An introduction to the contents of a part + element partintro { + db.partintro.attlist, + db.partintro.info, + db.toplevel.blocks.or.sections? + } +} +div { + db.section.status.attribute = db.status.attribute + db.section.role.attribute = attribute role { text } + db.section.attlist = + db.section.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.section.status.attribute? + db.section.info = db._info.title.req + db.section = + + ## A recursive section + element section { + db.section.attlist, + db.section.info, + db.recursive.blocks.or.sections?, + db.navigation.components* + } +} +div { + db.simplesect.status.attribute = db.status.attribute + db.simplesect.role.attribute = attribute role { text } + db.simplesect.attlist = + db.simplesect.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.simplesect.status.attribute? + db.simplesect.info = db._info.title.req + db.simplesect = + + ## A section of a document with no subdivisions + element simplesect { + db.simplesect.attlist, db.simplesect.info, db.all.blocks* + } +} +db.article.components = db.toplevel.sections +db.article.navcomponents = + db.navigation.components + | db.acknowledgements + | db.dedication + | db.appendix + | db.colophon +div { + db.article.status.attribute = db.status.attribute + db.article.class.enumeration = + + ## A collection of frequently asked questions. + "faq" + | + ## An article in a journal or other periodical. + "journalarticle" + | + ## A description of a product. + "productsheet" + | + ## A specification. + "specification" + | + ## A technical report. + "techreport" + | + ## A white paper. + "whitepaper" + db.article.class.attribute = + + ## Identifies the nature of the article + attribute class { db.article.class.enumeration } + db.article.role.attribute = attribute role { text } + db.article.attlist = + db.article.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.article.status.attribute? + & db.article.class.attribute? + db.article.info = db._info.title.req + db.article = + + ## An article + element article { + db.article.attlist, + db.article.info, + db.article.navcomponents*, + ((db.all.blocks+, db.article.components?) + | db.article.components), + db.article.navcomponents* + } +} +db.annotations.attribute = + + ## Identifies one or more annotations that apply to this element + attribute annotations { text } +div { + db.annotation.role.attribute = attribute role { text } + db.annotation.annotates.attribute = + + ## Identifies one ore more elements to which this annotation applies + attribute annotates { text } + db.annotation.attlist = + db.annotation.role.attribute? + & db.annotation.annotates.attribute? + & db.common.attributes + db.annotation.info = db._info.title.only + db.annotation = + + ## An annotation + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:annotation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:annotation)" + "annotation must not occur among the children or descendants of annotation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element annotation { + db.annotation.attlist, db.annotation.info, db.all.blocks+ + } +} +db.xlink.extended.type.attribute = + + ## Identifies the XLink extended link type + [ + s:pattern [ + name = "XLink extended placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='extended']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink extended type element may not occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink extended link type + "extended" + } +db.xlink.locator.type.attribute = + + ## Identifies the XLink locator link type + [ + s:pattern [ + name = "XLink locator placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='locator']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink locator type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink locator link type + "locator" + } +db.xlink.arc.type.attribute = + + ## Identifies the XLink arc link type + [ + s:pattern [ + name = "XLink arc placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='arc']" + "\x{a}" ~ + " " + s:assert [ + test = "parent::*[@xlink:type='extended']" + "An XLink arc type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink arc link type + "arc" + } +db.xlink.resource.type.attribute = + + ## Identifies the XLink resource link type + [ + s:pattern [ + name = "XLink resource placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='resource']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink resource type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink resource link type + "resource" + } +db.xlink.title.type.attribute = + + ## Identifies the XLink title link type + [ + s:pattern [ + name = "XLink title placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='title']" + "\x{a}" ~ + " " + s:assert [ + test = + "not(parent::*[@xlink:type='extended']) and not(parent::*[@xlink:type='locator']) and not(parent::*[@xlink:type='arc'])" + "An XLink title type element must occur as the direct child of an XLink extended, locator, or arc type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink title link type + "title" + } +db.xlink.extended.link.attributes = + db.xlink.extended.type.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? +db.xlink.locator.link.attributes = + db.xlink.locator.type.attribute + & db.xlink.href.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? +db.xlink.arc.link.attributes = + db.xlink.arc.type.attribute + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? + & db.xlink.from.attribute? + & db.xlink.to.attribute? +db.xlink.resource.link.attributes = + db.xlink.resource.type.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? +db.xlink.title.link.attributes = db.xlink.title.type.attribute +db.xlink.from.attribute = + + ## Specifies the XLink traversal-from + attribute xlink:from { xsd:NMTOKEN } +db.xlink.label.attribute = + + ## Specifies the XLink label + attribute xlink:label { xsd:NMTOKEN } +db.xlink.to.attribute = + + ## Specifies the XLink traversal-to + attribute xlink:to { xsd:NMTOKEN } +div { + db.extendedlink.role.attribute = attribute role { text } + db.extendedlink.attlist = + db.extendedlink.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "extended" ] + attribute xlink:type { + + ## An XLink extended link + "extended" + }? + & db.xlink.role.attribute? + & db.xlink.title.attribute? + db.extendedlink = + + ## An XLink extended link + element extendedlink { + db.extendedlink.attlist, (db.locator | db.arc | db.link)+ + } +} +div { + db.locator.role.attribute = attribute role { text } + db.locator.attlist = + db.locator.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "locator" ] + attribute xlink:type { + + ## An XLink locator link + "locator" + }? + & db.xlink.href.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? + db.locator = + + ## An XLink locator in an extendedlink + element locator { db.locator.attlist, empty } +} +div { + db.arc.role.attribute = attribute role { text } + db.arc.attlist = + db.arc.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "arc" ] + attribute xlink:type { + + ## An XLink arc link + "arc" + }? + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? + & db.xlink.from.attribute? + & db.xlink.to.attribute? + db.arc = + + ## An XLink arc in an extendedlink + element arc { db.arc.attlist, empty } +} +db.sect1.sections = (db.sect2+, db.simplesect*) | db.simplesect+ +div { + db.sect1.status.attribute = db.status.attribute + db.sect1.role.attribute = attribute role { text } + db.sect1.attlist = + db.sect1.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect1.status.attribute? + db.sect1.info = db._info.title.req + db.sect1 = + + ## A top-level section of document + element sect1 { + db.sect1.attlist, + db.sect1.info, + ((db.all.blocks+, db.sect1.sections?) | db.sect1.sections)?, + db.navigation.components* + } +} +db.sect2.sections = (db.sect3+, db.simplesect*) | db.simplesect+ +div { + db.sect2.status.attribute = db.status.attribute + db.sect2.role.attribute = attribute role { text } + db.sect2.attlist = + db.sect2.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect2.status.attribute? + db.sect2.info = db._info.title.req + db.sect2 = + + ## A subsection within a sect1 + element sect2 { + db.sect2.attlist, + db.sect2.info, + ((db.all.blocks+, db.sect2.sections?) | db.sect2.sections)?, + db.navigation.components* + } +} +db.sect3.sections = (db.sect4+, db.simplesect*) | db.simplesect+ +div { + db.sect3.status.attribute = db.status.attribute + db.sect3.role.attribute = attribute role { text } + db.sect3.attlist = + db.sect3.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect3.status.attribute? + db.sect3.info = db._info.title.req + db.sect3 = + + ## A subsection within a sect2 + element sect3 { + db.sect3.attlist, + db.sect3.info, + ((db.all.blocks+, db.sect3.sections?) | db.sect3.sections)?, + db.navigation.components* + } +} +db.sect4.sections = (db.sect5+, db.simplesect*) | db.simplesect+ +div { + db.sect4.status.attribute = db.status.attribute + db.sect4.role.attribute = attribute role { text } + db.sect4.attlist = + db.sect4.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect4.status.attribute? + db.sect4.info = db._info.title.req + db.sect4 = + + ## A subsection within a sect3 + element sect4 { + db.sect4.attlist, + db.sect4.info, + ((db.all.blocks+, db.sect4.sections?) | db.sect4.sections)?, + db.navigation.components* + } +} +db.sect5.sections = db.simplesect+ +div { + db.sect5.status.attribute = db.status.attribute + db.sect5.role.attribute = attribute role { text } + db.sect5.attlist = + db.sect5.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect5.status.attribute? + db.sect5.info = db._info.title.req + db.sect5 = + + ## A subsection within a sect4 + element sect5 { + db.sect5.attlist, + db.sect5.info, + ((db.all.blocks+, db.sect5.sections?) | db.sect5.sections)?, + db.navigation.components* + } +} +db.toplevel.refsection = db.refsection+ | db.refsect1+ +db.secondlevel.refsection = db.refsection+ | db.refsect2+ +db.reference.components = db.refentry +div { + db.reference.status.attribute = db.status.attribute + db.reference.role.attribute = attribute role { text } + db.reference.attlist = + db.reference.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.reference.status.attribute? + & db.label.attribute? + db.reference.info = db._info.title.req + db.reference = + + ## A collection of reference entries + element reference { + db.reference.attlist, + db.reference.info, + db.partintro?, + db.reference.components* + } +} +div { + db.refentry.status.attribute = db.status.attribute + db.refentry.role.attribute = attribute role { text } + db.refentry.attlist = + db.refentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refentry.status.attribute? + & db.label.attribute? + db.refentry.info = db._info.title.forbidden + db.refentry = + + ## A reference page (originally a UNIX man-style reference page) + element refentry { + db.refentry.attlist, + db.indexterm*, + db.refentry.info, + db.refmeta?, + db.refnamediv+, + db.refsynopsisdiv?, + db.toplevel.refsection + } +} +div { + db.refmeta.role.attribute = attribute role { text } + db.refmeta.attlist = + db.refmeta.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refmeta = + + ## Meta-information for a reference entry + element refmeta { + db.refmeta.attlist, + db.indexterm*, + db.refentrytitle, + db.manvolnum?, + db.refmiscinfo*, + db.indexterm* + } +} +db.refmiscinfo.class.enumeration = + + ## The name of the software product or component to which this topic applies + "source" + | + ## The version of the software product or component to which this topic applies + "version" + | + ## The section title of the reference page (e.g., User Commands) + "manual" + | + ## The section title of the reference page (believed synonymous with "manual" but in wide use) + "sectdesc" + | + ## The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use) + "software" +db.refmiscinfo.class-enum.attribute = + + ## Identifies the kind of miscellaneous information + attribute class { db.refmiscinfo.class.enumeration }? +db.refmiscinfo.class-other.attribute = + + ## Identifies the nature of non-standard miscellaneous information + attribute otherclass { text } +db.refmiscinfo.class-other.attributes = + + ## Identifies the kind of miscellaneious information + attribute class { + + ## Indicates that the information is some 'other' kind. + "other" + } + & db.refmiscinfo.class-other.attribute +db.refmiscinfo.class.attribute = + db.refmiscinfo.class-enum.attribute + | db.refmiscinfo.class-other.attributes +div { + db.refmiscinfo.role.attribute = attribute role { text } + db.refmiscinfo.attlist = + db.refmiscinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refmiscinfo.class.attribute? + db.refmiscinfo = + + ## Meta-information for a reference entry other than the title and volume number + element refmiscinfo { db.refmiscinfo.attlist, db._text } +} +div { + db.refnamediv.role.attribute = attribute role { text } + db.refnamediv.attlist = + db.refnamediv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refnamediv = + + ## The name, purpose, and classification of a reference page + element refnamediv { + db.refnamediv.attlist, + db.refdescriptor?, + db.refname+, + db.refpurpose, + db.refclass* + } +} +div { + db.refdescriptor.role.attribute = attribute role { text } + db.refdescriptor.attlist = + db.refdescriptor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refdescriptor = + + ## A description of the topic of a reference page + element refdescriptor { db.refdescriptor.attlist, db.all.inlines* } +} +div { + db.refname.role.attribute = attribute role { text } + db.refname.attlist = + db.refname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refname = + + ## The name of (one of) the subject(s) of a reference page + element refname { db.refname.attlist, db.all.inlines* } +} +div { + db.refpurpose.role.attribute = attribute role { text } + db.refpurpose.attlist = + db.refpurpose.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refpurpose = + + ## A short (one sentence) synopsis of the topic of a reference page + element refpurpose { db.refpurpose.attlist, db.all.inlines* } +} +div { + db.refclass.role.attribute = attribute role { text } + db.refclass.attlist = + db.refclass.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refclass = + + ## The scope or other indication of applicability of a reference entry + element refclass { db.refclass.attlist, (text | db.application)* } +} +div { + db.refsynopsisdiv.role.attribute = attribute role { text } + db.refsynopsisdiv.attlist = + db.refsynopsisdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refsynopsisdiv.info = db._info + db.refsynopsisdiv = + + ## A syntactic synopsis of the subject of the reference page + element refsynopsisdiv { + db.refsynopsisdiv.attlist, + db.refsynopsisdiv.info, + ((db.all.blocks+, db.secondlevel.refsection?) + | db.secondlevel.refsection) + } +} +div { + db.refsection.status.attribute = db.status.attribute + db.refsection.role.attribute = attribute role { text } + db.refsection.attlist = + db.refsection.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refsection.status.attribute? + & db.label.attribute? + db.refsection.info = db._info.title.req + db.refsection = + + ## A recursive section in a refentry + element refsection { + db.refsection.attlist, + db.refsection.info, + ((db.all.blocks+, db.refsection*) | db.refsection+) + } +} +db.refsect1.sections = db.refsect2+ +div { + db.refsect1.status.attribute = db.status.attribute + db.refsect1.role.attribute = attribute role { text } + db.refsect1.attlist = + db.refsect1.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect1.status.attribute? + db.refsect1.info = db._info.title.req + db.refsect1 = + + ## A major subsection of a reference entry + element refsect1 { + db.refsect1.attlist, + db.refsect1.info, + ((db.all.blocks+, db.refsect1.sections?) | db.refsect1.sections) + } +} +db.refsect2.sections = db.refsect3+ +div { + db.refsect2.status.attribute = db.status.attribute + db.refsect2.role.attribute = attribute role { text } + db.refsect2.attlist = + db.refsect2.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect2.status.attribute? + db.refsect2.info = db._info.title.req + db.refsect2 = + + ## A subsection of a refsect1 + element refsect2 { + db.refsect2.attlist, + db.refsect2.info, + ((db.all.blocks+, db.refsect2.sections?) | db.refsect2.sections) + } +} +div { + db.refsect3.status.attribute = db.status.attribute + db.refsect3.role.attribute = attribute role { text } + db.refsect3.attlist = + db.refsect3.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect3.status.attribute? + db.refsect3.info = db._info.title.req + db.refsect3 = + + ## A subsection of a refsect2 + element refsect3 { + db.refsect3.attlist, db.refsect3.info, db.all.blocks+ + } +} +db.glossary.inlines = + db.firstterm | db.glossterm | db._firstterm | db._glossterm +db.baseform.attribute = + + ## Specifies the base form of the term, the one that appears in the glossary. This allows adjectival, plural, and other variations of the term to appear in the element. The element content is the default base form. + attribute baseform { text }? +div { + db.glosslist.role.attribute = attribute role { text } + db.glosslist.attlist = + db.glosslist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.glosslist.info = db._info.title.only + db.glosslist = + + ## A wrapper for a list of glossary entries + element glosslist { + db.glosslist.attlist, + db.glosslist.info?, + db.all.blocks*, + db.glossentry+ + } +} +div { + db.glossentry.role.attribute = attribute role { text } + db.glossentry.sortas.attribute = + + ## Specifies the string by which the element's content is to be sorted; if unspecified, the content is used + attribute sortas { text } + db.glossentry.attlist = + db.glossentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossentry.sortas.attribute? + db.glossentry = + + ## An entry in a glossary or glosslist + element glossentry { + db.glossentry.attlist, + db.glossterm, + db.acronym?, + db.abbrev?, + db.indexterm*, + (db.glosssee | db.glossdef+) + } +} +div { + db.glossdef.role.attribute = attribute role { text } + db.glossdef.subject.attribute = + + ## Specifies a list of keywords for the definition + attribute subject { text } + db.glossdef.attlist = + db.glossdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossdef.subject.attribute? + db.glossdef = + + ## A definition in a glossentry + element glossdef { + db.glossdef.attlist, db.all.blocks+, db.glossseealso* + } +} +div { + db.glosssee.role.attribute = attribute role { text } + db.glosssee.otherterm.attribute = + + ## Identifies the other term + attribute otherterm { xsd:IDREF } + db.glosssee.attlist = + db.glosssee.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glosssee.otherterm.attribute? + db.glosssee = + + ## A cross-reference from one glossentry + ## to another + [ + s:pattern [ + name = "Glosssary 'see' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glosssee[@otherterm]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'" + "@otherterm on glosssee must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glosssee { db.glosssee.attlist, db.all.inlines* } +} +div { + db.glossseealso.role.attribute = attribute role { text } + db.glossseealso.otherterm.attribute = + + ## Identifies the other term + attribute otherterm { xsd:IDREF } + db.glossseealso.attlist = + db.glossseealso.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossseealso.otherterm.attribute? + db.glossseealso = + + ## A cross-reference from one glossentry to another + [ + s:pattern [ + name = "Glossary 'seealso' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossseealso[@otherterm]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'" + "@otherterm on glossseealso must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossseealso { db.glossseealso.attlist, db.all.inlines* } +} +div { + db.firstterm.role.attribute = attribute role { text } + db.firstterm.attlist = + db.firstterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.firstterm = + + ## The first occurrence of a term + [ + s:pattern [ + name = "Glossary 'firstterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:firstterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on firstterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element firstterm { db.firstterm.attlist, db.all.inlines* } +} +div { + db._firstterm.role.attribute = attribute role { text } + db._firstterm.attlist = + db._firstterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db._firstterm = + + ## The first occurrence of a term, with limited content + [ + s:pattern [ + name = "Glossary 'firstterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:firstterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on firstterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element firstterm { db._firstterm.attlist, db._text } +} +div { + db.glossterm.role.attribute = attribute role { text } + db.glossterm.attlist = + db.glossterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.glossterm = + + ## A glossary term + [ + s:pattern [ + name = "Glossary 'glossterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on glossterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossterm { db.glossterm.attlist, db.all.inlines* } +} +div { + db._glossterm.role.attribute = attribute role { text } + db._glossterm.attlist = + db._glossterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db._glossterm = + + ## A glossary term + [ + s:pattern [ + name = "Glossary 'glossterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on glossterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossterm { db._glossterm.attlist, db._text } +} +div { + db.glossary.status.attribute = db.status.attribute + db.glossary.role.attribute = attribute role { text } + db.glossary.attlist = + db.glossary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.glossary.status.attribute? + db.glossary.info = db._info + db.glossary = + + ## A glossary + element glossary { + db.glossary.attlist, + db.glossary.info, + db.all.blocks*, + (db.glossdiv* | db.glossentry*), + db.bibliography? + } +} +div { + db.glossdiv.status.attribute = db.status.attribute + db.glossdiv.role.attribute = attribute role { text } + db.glossdiv.attlist = + db.glossdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.glossdiv.status.attribute? + db.glossdiv.info = db._info.title.req + db.glossdiv = + + ## A division in a glossary + element glossdiv { + db.glossdiv.attlist, + db.glossdiv.info, + db.all.blocks*, + db.glossentry+ + } +} +div { + db.termdef.role.attribute = attribute role { text } + db.termdef.attlist = + db.termdef.role.attribute? + & db.glossentry.sortas.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.termdef = + + ## An inline definition of a term + [ + s:pattern [ + name = "Glossary term definition constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:termdef" + "\x{a}" ~ + " " + s:assert [ + test = "count(db:firstterm) = 1" + "A termdef must contain exactly one firstterm" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element termdef { db.termdef.attlist, db.all.inlines* } +} +db.relation.attribute = + + ## Identifies the relationship between the bibliographic elemnts + attribute relation { text } +div { + db.biblioentry.role.attribute = attribute role { text } + db.biblioentry.attlist = + db.biblioentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.biblioentry = + + ## A raw entry in a bibliography + element biblioentry { + db.biblioentry.attlist, db.bibliographic.elements+ + } +} +div { + db.bibliomixed.role.attribute = attribute role { text } + db.bibliomixed.attlist = + db.bibliomixed.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliomixed = + + ## A cooked entry in a bibliography + element bibliomixed { + db.bibliomixed.attlist, + ((db._text + | db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)* + | (db._text + | db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)*) + } +} +div { + db.biblioset.relation.attribute = db.relation.attribute + db.biblioset.role.attribute = attribute role { text } + db.biblioset.attlist = + db.biblioset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblioset.relation.attribute? + db.biblioset = + + ## A raw container for related bibliographic information + element biblioset { + db.biblioset.attlist, db.bibliographic.elements+ + } +} +div { + db.bibliomset.relation.attribute = db.relation.attribute + db.bibliomset.role.attribute = attribute role { text } + db.bibliomset.attlist = + db.bibliomset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bibliomset.relation.attribute? + db.bibliomset = + + ## A cooked container for related bibliographic information + element bibliomset { + db.bibliomset.attlist, + ((db._text + | db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)* + | (db._text + | db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)*) + } +} +div { + db.bibliomisc.role.attribute = attribute role { text } + db.bibliomisc.attlist = + db.bibliomisc.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliomisc = + + ## Untyped bibliographic information + element bibliomisc { db.bibliomisc.attlist, db._text } +} +div { + db.bibliography.status.attrib = db.status.attribute + db.bibliography.role.attribute = attribute role { text } + db.bibliography.attlist = + db.bibliography.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.bibliography.status.attrib? + db.bibliography.info = db._info + db.bibliography = + + ## A bibliography + element bibliography { + db.bibliography.attlist, + db.bibliography.info, + db.all.blocks*, + (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+) + } +} +div { + db.bibliodiv.status.attrib = db.status.attribute + db.bibliodiv.role.attribute = attribute role { text } + db.bibliodiv.attlist = + db.bibliodiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.bibliodiv.status.attrib? + db.bibliodiv.info = db._info.title.req + db.bibliodiv = + + ## A section of a bibliography + element bibliodiv { + db.bibliodiv.attlist, + db.bibliodiv.info, + db.all.blocks*, + (db.biblioentry | db.bibliomixed)+ + } +} +div { + db.bibliolist.role.attribute = attribute role { text } + db.bibliolist.attlist = + db.bibliolist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliolist.info = db._info.title.only + db.bibliolist = + + ## A wrapper for a list of bibliography entries + element bibliolist { + db.bibliolist.attlist, + db.bibliolist.info?, + db.all.blocks*, + (db.biblioentry | db.bibliomixed)+ + } +} +div { + db.biblioref.role.attribute = attribute role { text } + db.biblioref.xrefstyle.attribute = db.xrefstyle.attribute + db.biblioref.endterm.attribute = db.endterm.attribute + db.biblioref.units.attribute = + + ## The units (for example, pages) used to identify the beginning and ending of a reference. + attribute units { xsd:token } + db.biblioref.begin.attribute = + + ## Identifies the beginning of a reference; the location within the work that is being referenced. + attribute begin { xsd:token } + db.biblioref.end.attribute = + + ## Identifies the end of a reference. + attribute end { xsd:token } + db.biblioref.attlist = + db.biblioref.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.biblioref.xrefstyle.attribute? + & db.biblioref.endterm.attribute? + & db.biblioref.units.attribute? + & db.biblioref.begin.attribute? + & db.biblioref.end.attribute? + db.biblioref = + + ## A cross-reference to a bibliographic entry + element biblioref { db.biblioref.attlist, empty } +} +db.significance.enumeration = + + ## Normal + "normal" + | + ## Preferred + "preferred" +db.significance.attribute = + + ## Specifies the significance of the term + attribute significance { db.significance.enumeration } +db.zone.attribute = + + ## Specifies the IDs of the elements to which this term applies + attribute zone { xsd:IDREFS } +db.indexterm.pagenum.attribute = + + ## Indicates the page on which this index term occurs in some version of the printed document + attribute pagenum { text } +db.scope.enumeration = + + ## All indexes + "all" + | + ## The global index (as for a combined index of a set of books) + "global" + | + ## The local index (the index for this document only) + "local" +db.scope.attribute = + + ## Specifies the scope of the index term + attribute scope { db.scope.enumeration } +db.sortas.attribute = + + ## Specifies the string by which the term is to be sorted; if unspecified, the term content is used + attribute sortas { text } +db.index.type.attribute = + + ## Specifies the target index for this term + attribute type { text } +div { + db.itermset.role.attribute = attribute role { text } + db.itermset.attlist = + db.itermset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.itermset = + + ## A set of index terms in the meta-information of a document + element itermset { db.itermset.attlist, db.indexterm.singular+ } +} +db.indexterm.contentmodel = + db.primary?, + ((db.secondary, + ((db.tertiary, (db.see | db.seealso+)?) + | db.see + | db.seealso+)?) + | db.see + | db.seealso+)? +div { + db.indexterm.singular.role.attribute = attribute role { text } + db.indexterm.singular.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## A singular index term + "singular" + } + db.indexterm.singular.attlist = + db.indexterm.singular.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.significance.attribute? + & db.zone.attribute? + & db.indexterm.pagenum.attribute? + & db.scope.attribute? + & db.index.type.attribute? + & db.indexterm.singular.class.attribute? + db.indexterm.singular = + + ## A wrapper for an indexed term + element indexterm { + db.indexterm.singular.attlist, db.indexterm.contentmodel + } +} +div { + db.indexterm.startofrange.role.attribute = attribute role { text } + db.indexterm.startofrange.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## The start of a range + "startofrange" + } + db.indexterm.startofrange.attlist = + db.indexterm.startofrange.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.significance.attribute? + & db.zone.attribute? + & db.indexterm.pagenum.attribute? + & db.scope.attribute? + & db.index.type.attribute? + & db.indexterm.startofrange.class.attribute + db.indexterm.startofrange = + + ## A wrapper for an indexed term that covers a range + element indexterm { + db.indexterm.startofrange.attlist, db.indexterm.contentmodel + } +} +div { + db.indexterm.endofrange.role.attribute = attribute role { text } + db.indexterm.endofrange.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## The end of a range + "endofrange" + } + db.indexterm.endofrange.startref.attribute = + + ## Points to the start of the range + attribute startref { xsd:IDREF } + db.indexterm.endofrange.attlist = + db.indexterm.endofrange.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.indexterm.endofrange.class.attribute + & db.indexterm.endofrange.startref.attribute + db.indexterm.endofrange = + + ## Identifies the end of a range associated with an indexed term + element indexterm { db.indexterm.endofrange.attlist, empty } +} +div { + db.indexterm = + db.indexterm.singular + | db.indexterm.startofrange + | db.indexterm.endofrange +} +div { + db.primary.role.attribute = attribute role { text } + db.primary.attlist = + db.primary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.primary = + + ## The primary word or phrase under which an index term should be sorted + element primary { db.primary.attlist, db.all.inlines* } +} +div { + db.secondary.role.attribute = attribute role { text } + db.secondary.attlist = + db.secondary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.secondary = + + ## A secondary word or phrase in an index term + element secondary { db.secondary.attlist, db.all.inlines* } +} +div { + db.tertiary.role.attribute = attribute role { text } + db.tertiary.attlist = + db.tertiary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.tertiary = + + ## A tertiary word or phrase in an index term + element tertiary { db.tertiary.attlist, db.all.inlines* } +} +div { + db.see.role.attribute = attribute role { text } + db.see.attlist = + db.see.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.see = + + ## Part of an index term directing the reader instead to another entry in the index + element see { db.see.attlist, db.all.inlines* } +} +div { + db.seealso.role.attribute = attribute role { text } + db.seealso.attlist = + db.seealso.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seealso = + + ## Part of an index term directing the reader also to another entry in the index + element seealso { db.seealso.attlist, db.all.inlines* } +} +div { + db.index.status.attribute = db.status.attribute + db.index.role.attribute = attribute role { text } + db.index.attlist = + db.index.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.index.status.attribute? + & db.index.type.attribute? + db.index.info = db._info + # Yes, db.indexdiv* and db.indexentry*; that way an is valid. + # Authors can use an empty index to indicate where a generated index should + # appear. + db.index = + + ## An index to a book or part of a book + element index { + db.index.attlist, + db.index.info, + db.all.blocks*, + (db.indexdiv* | db.indexentry* | db.segmentedlist) + } +} +div { + db.setindex.status.attribute = db.status.attribute + db.setindex.role.attribute = attribute role { text } + db.setindex.attlist = + db.setindex.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.setindex.status.attribute? + & db.index.type.attribute? + db.setindex.info = db._info + db.setindex = + + ## An index to a set of books + element setindex { + db.setindex.attlist, + db.setindex.info, + db.all.blocks*, + (db.indexdiv* | db.indexentry*) + } +} +div { + db.indexdiv.status.attribute = db.status.attribute + db.indexdiv.role.attribute = attribute role { text } + db.indexdiv.attlist = + db.indexdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.indexdiv.status.attribute? + db.indexdiv.info = db._info.title.req + db.indexdiv = + + ## A division in an index + element indexdiv { + db.indexdiv.attlist, + db.indexdiv.info, + db.all.blocks*, + (db.indexentry+ | db.segmentedlist) + } +} +div { + db.indexentry.role.attribute = attribute role { text } + db.indexentry.attlist = + db.indexentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.indexentry = + + ## An entry in an index + element indexentry { + db.indexentry.attlist, + db.primaryie, + (db.seeie | db.seealsoie)*, + (db.secondaryie, (db.seeie | db.seealsoie | db.tertiaryie)*)* + } +} +div { + db.primaryie.role.attribute = attribute role { text } + db.primaryie.attlist = + db.primaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.primaryie = + + ## A primary term in an index entry, not in the text + element primaryie { db.primaryie.attlist, db.all.inlines* } +} +div { + db.secondaryie.role.attribute = attribute role { text } + db.secondaryie.attlist = + db.secondaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.secondaryie = + + ## A secondary term in an index entry, rather than in the text + element secondaryie { db.secondaryie.attlist, db.all.inlines* } +} +div { + db.tertiaryie.role.attribute = attribute role { text } + db.tertiaryie.attlist = + db.tertiaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.tertiaryie = + + ## A tertiary term in an index entry, rather than in the text + element tertiaryie { db.tertiaryie.attlist, db.all.inlines* } +} +div { + db.seeie.role.attribute = attribute role { text } + db.seeie.attlist = + db.seeie.role.attribute? + & db.common.attributes + & db.linkend.attribute? + db.seeie = + + ## A See + ## entry in an index, rather than in the text + element seeie { db.seeie.attlist, db.all.inlines* } +} +div { + db.seealsoie.role.attribute = attribute role { text } + db.seealsoie.attlist = + db.seealsoie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.seealsoie = + + ## A See also + ## entry in an index, rather than in the text + element seealsoie { db.seealsoie.attlist, db.all.inlines* } +} +db.toc.pagenum.attribute = + + ## Indicates the page on which this element occurs in some version of the printed document + attribute pagenum { text } +div { + db.toc.role.attribute = attribute role { text } + db.toc.attlist = + db.toc.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.toc.info = db._info.title.only + db.toc = + + ## A table of contents + element toc { + db.toc.attlist, + db.toc.info, + db.all.blocks*, + (db.tocdiv | db.tocentry)* + } +} +div { + db.tocdiv.role.attribute = attribute role { text } + db.tocdiv.pagenum.attribute = db.toc.pagenum.attribute + db.tocdiv.attlist = + db.tocdiv.role.attribute? + & db.common.attributes + & db.tocdiv.pagenum.attribute? + & db.linkend.attribute? + db.tocdiv.info = db._info + db.tocdiv = + + ## A division in a table of contents + element tocdiv { + db.tocdiv.attlist, + db.tocdiv.info, + db.all.blocks*, + (db.tocdiv | db.tocentry)+ + } +} +div { + db.tocentry.role.attribute = attribute role { text } + db.tocentry.pagenum.attribute = db.toc.pagenum.attribute + db.tocentry.attlist = + db.tocentry.role.attribute? + & db.common.attributes + & db.tocentry.pagenum.attribute? + & db.linkend.attribute? + db.tocentry = + + ## A component title in a table of contents + element tocentry { db.tocentry.attlist, db.all.inlines* } +} +db.task.info = db._info.title.req +div { + db.task.role.attribute = attribute role { text } + db.task.attlist = + db.task.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.task = + + ## A task to be completed + element task { + db.task.attlist, + db.task.info, + db.tasksummary?, + db.taskprerequisites?, + db.procedure+, + db.example*, + db.taskrelated? + } +} +div { + db.tasksummary.role.attribute = attribute role { text } + db.tasksummary.attlist = + db.tasksummary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.tasksummary.info = db._info.title.only + db.tasksummary = + + ## A summary of a task + element tasksummary { + db.tasksummary.attlist, db.tasksummary.info, db.all.blocks+ + } +} +div { + db.taskprerequisites.role.attribute = attribute role { text } + db.taskprerequisites.attlist = + db.taskprerequisites.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.taskprerequisites.info = db._info.title.only + db.taskprerequisites = + + ## The prerequisites for a task + element taskprerequisites { + db.taskprerequisites.attlist, + db.taskprerequisites.info, + db.all.blocks+ + } +} +div { + db.taskrelated.role.attribute = attribute role { text } + db.taskrelated.attlist = + db.taskrelated.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.taskrelated.info = db._info.title.only + db.taskrelated = + + ## Information related to a task + element taskrelated { + db.taskrelated.attlist, db.taskrelated.info, db.all.blocks+ + } +} +db.area.units.enumeration = + + ## Coordinates expressed as a pair of CALS graphic coordinates. + "calspair" + | + ## Coordinates expressed as a line and column. + "linecolumn" + | + ## Coordinates expressed as a pair of lines and columns. + "linecolumnpair" + | + ## Coordinates expressed as a line range. + "linerange" +db.area.units-enum.attribute = + + ## Identifies the units used in the coords attribute. The default units vary according to the type of callout specified: calspair + ## for graphics and linecolumn + ## for line-oriented elements. + attribute units { db.area.units.enumeration }? +db.area.units-other.attributes = + + ## Indicates that non-standard units are used for this area + ## . In this case otherunits + ## must be specified. + attribute units { + + ## Coordinates expressed in some non-standard units. + "other" + }?, + + ## Identifies the units used in the coords + ## attribute when the units + ## attribute is other + ## . This attribute is forbidden otherwise. + attribute otherunits { xsd:NMTOKEN } +db.area.units.attribute = + db.area.units-enum.attribute | db.area.units-other.attributes +div { + db.calloutlist.role.attribute = attribute role { text } + db.calloutlist.attlist = + db.calloutlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.calloutlist.info = db._info.title.only + db.calloutlist = + + ## A list of callout + ## s + element calloutlist { + db.calloutlist.attlist, + db.calloutlist.info, + db.all.blocks*, + db.callout+ + } +} +div { + db.callout.role.attribute = attribute role { text } + db.callout.arearefs.attribute = + + ## Identifies the areas described by this callout. + attribute arearefs { xsd:IDREFS } + db.callout.attlist = + db.callout.role.attribute? + & db.common.attributes + & db.callout.arearefs.attribute + db.callout = + + ## A called out + ## description of a marked area + element callout { db.callout.attlist, db.all.blocks+ } +} +div { + db.programlistingco.role.attribute = attribute role { text } + db.programlistingco.attlist = + db.programlistingco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.programlistingco.info = db._info.title.forbidden + db.programlistingco = + + ## A program listing with associated areas used in callouts + element programlistingco { + db.programlistingco.attlist, + db.programlistingco.info, + db.areaspec, + db.programlisting, + db.calloutlist* + } +} +div { + db.areaspec.role.attribute = attribute role { text } + db.areaspec.attlist = + db.areaspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.area.units.attribute + db.areaspec = + + ## A collection of regions in a graphic or code example + element areaspec { db.areaspec.attlist, (db.area | db.areaset)+ } +} +div { + db.area.role.attribute = attribute role { text } + db.area.linkends.attribute = + + ## Point to the callout + ## s which refer to this area. (This provides bidirectional linking which may be useful in online presentation.) + attribute linkends { xsd:IDREFS } + db.area.label.attribute = + + ## Specifies an identifying number or string that may be used in presentation. The area label might be drawn on top of the figure, for example, at the position indicated by the coords attribute. + attribute label { text } + db.area.coords.attribute = + + ## Provides the coordinates of the area. The coordinates must be interpreted using the units + ## specified. + attribute coords { text } + db.area.attlist = + db.area.role.attribute? + & db.common.idreq.attributes + & db.area.units.attribute + & (db.area.linkends.attribute | db.xlink.simple.link.attributes)? + & db.area.label.attribute? + & db.area.coords.attribute + db.area = + + ## A region defined for a callout in a graphic or code example + element area { db.area.attlist, db.alt? } +} +div { + # The only difference is that xml:id is optional + db.area.inareaset.attlist = + db.area.role.attribute? + & db.common.attributes + & db.area.units.attribute + & (db.area.linkends.attribute | db.xlink.simple.link.attributes)? + & db.area.label.attribute? + & db.area.coords.attribute + db.area.inareaset = + + ## A region defined for a callout in a graphic or code example + element area { db.area.inareaset.attlist, db.alt? } +} +div { + db.areaset.role.attribute = attribute role { text } + db.areaset.linkends.attribute = db.linkends.attribute + db.areaset.label.attribute = db.label.attribute + db.areaset.attlist = + db.areaset.role.attribute? + & db.common.idreq.attributes + & db.area.units.attribute + & (db.areaset.linkends.attribute | db.xlink.simple.link.attributes)? + & db.areaset.label.attribute? + db.areaset = + + ## A set of related areas in a graphic or code example + element areaset { db.areaset.attlist, db.area.inareaset+ } +} +div { + db.screenco.role.attribute = attribute role { text } + db.screenco.attlist = + db.screenco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.screenco.info = db._info.title.forbidden + db.screenco = + + ## A screen with associated areas used in callouts + element screenco { + db.screenco.attlist, + db.screenco.info, + db.areaspec, + db.screen, + db.calloutlist* + } +} +div { + db.imageobjectco.role.attribute = attribute role { text } + db.imageobjectco.attlist = + db.imageobjectco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.imageobjectco.info = db._info.title.forbidden + db.imageobjectco = + + ## A wrapper for an image object with callouts + element imageobjectco { + db.imageobjectco.attlist, + db.imageobjectco.info, + db.areaspec, + db.imageobject+, + db.calloutlist* + } +} +div { + db.co.role.attribute = attribute role { text } + db.co.linkends.attribute = db.linkends.attribute + db.co.label.attribute = db.label.attribute + db.co.attlist = + db.co.role.attribute? + & db.common.idreq.attributes + & db.co.linkends.attribute? + & db.co.label.attribute? + db.co = + + ## The location of a callout embedded in text + element co { db.co.attlist, empty } +} +div { + db.coref.role.attribute = attribute role { text } + db.coref.label.attribute = db.label.attribute + db.coref.attlist = + db.coref.role.attribute? + & db.common.attributes + & db.linkend.attribute + & db.coref.label.attribute? + db.coref = + + ## A cross reference to a co + element coref { db.coref.attlist, empty } +} +div { + db.productionset.role.attribute = attribute role { text } + db.productionset.attlist = + db.productionset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.productionset.info = db._info.title.only + db.productionset = + + ## A set of EBNF productions + element productionset { + db.productionset.attlist, + db.productionset.info, + (db.production | db.productionrecap)+ + } +} +div { + db.production.role.attribute = attribute role { text } + db.production.attlist = + db.production.role.attribute? + & db.common.idreq.attributes + & db.common.linking.attributes + db.production = + + ## A production in a set of EBNF productions + element production { + db.production.attlist, db.lhs, db.rhs+, db.constraint* + } +} +div { + db.lhs.role.attribute = attribute role { text } + db.lhs.attlist = + db.lhs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lhs = + + ## The left-hand side of an EBNF production + element lhs { db.lhs.attlist, text } +} +div { + db.rhs.role.attribute = attribute role { text } + db.rhs.attlist = + db.rhs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.rhs = + + ## The right-hand side of an EBNF production + element rhs { + db.rhs.attlist, + (text | db.nonterminal | db.lineannotation | db.sbr)* + } +} +div { + db.nonterminal.role.attribute = attribute role { text } + db.nonterminal.def.attribute = + + ## Specifies a URI that points to a production + ## where the nonterminal + ## is defined + attribute def { xsd:anyURI } + db.nonterminal.attlist = + db.nonterminal.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.nonterminal.def.attribute + db.nonterminal = + + ## A non-terminal in an EBNF production + element nonterminal { db.nonterminal.attlist, text } +} +div { + db.constraint.role.attribute = attribute role { text } + db.constraint.attlist = + db.constraint.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + db.constraint = + + ## A constraint in an EBNF production + element constraint { db.constraint.attlist, empty } +} +div { + db.productionrecap.role.attribute = attribute role { text } + db.productionrecap.attlist = + db.productionrecap.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + db.productionrecap = + + ## A cross-reference to an EBNF production + element productionrecap { db.productionrecap.attlist, empty } +} +div { + db.constraintdef.role.attribute = attribute role { text } + db.constraintdef.attlist = + db.constraintdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.constraintdef.info = db._info.title.only + db.constraintdef = + + ## The definition of a constraint in an EBNF production + element constraintdef { + db.constraintdef.attlist, db.constraintdef.info, db.all.blocks+ + } +} +db.char.attribute = + + ## Specifies the alignment character when align + ## is set to char + ## . + attribute char { text } +db.charoff.attribute = + + ## Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char + ## when align + ## is set to char + ## . + attribute charoff { + xsd:decimal { minExclusive = "0" maxExclusive = "100" } + } +db.frame.attribute = + + ## Specifies how the table is to be framed. Note that there is no way to obtain a border on only the starting edge (left, in left-to-right writing systems) of the table. + attribute frame { + + ## Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + "all" + | + ## Frame only the bottom of the table. + "bottom" + | + ## Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + "none" + | + ## Frame the left and right sides of the table. + "sides" + | + ## Frame the top of the table. + "top" + | + ## Frame the top and bottom of the table. + "topbot" + } +db.colsep.attribute = + + ## Specifies the presence or absence of the column separator + attribute colsep { + + ## No column separator rule. + "0" + | + ## Provide a column separator rule on the right + "1" + } +db.rowsep.attribute = + + ## Specifies the presence or absence of the row separator + attribute rowsep { + + ## No row separator rule. + "0" + | + ## Provide a row separator rule below + "1" + } +db.orient.attribute = + + ## Specifies the orientation of the table + attribute orient { + + ## 90 degrees counter-clockwise from the rest of the text flow. + "land" + | + ## The same orientation as the rest of the text flow. + "port" + } +db.tabstyle.attribute = + + ## Specifies the table style + attribute tabstyle { text } +db.rowheader.attribute = + + ## Indicates whether or not the entries in the first column should be considered row headers + attribute rowheader { + + ## Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + "firstcol" + | + ## Indicates that entries in the first column have no special significance with respect to column headers. + "norowheader" + } +db.align.attribute = + + ## Specifies the horizontal alignment of text in an entry. + attribute align { + + ## Centered. + "center" + | + ## Aligned on a particular character. + "char" + | + ## Left and right justified. + "justify" + | + ## Left justified. + "left" + | + ## Right justified. + "right" + } +db.valign.attribute = + + ## Specifies the vertical alignment of text in an entry. + attribute valign { + + ## Aligned on the bottom of the entry. + "bottom" + | + ## Aligned in the middle. + "middle" + | + ## Aligned at the top of the entry. + "top" + } +db.specify-col-by-colname.attributes = + + ## Specifies a column specification by name. + attribute colname { text } +db.specify-col-by-namest.attributes = + + ## Specifies a starting column by name. + attribute namest { text } +db.specify-span-by-spanspec.attributes = + + ## Specifies a span by name. + attribute spanname { text } +db.specify-span-directly.attributes = + + ## Specifies a starting column by name. + attribute namest { text } + & + ## Specifies an ending column by name. + attribute nameend { text } +db.column-spec.attributes = + db.specify-col-by-colname.attributes + | db.specify-col-by-namest.attributes + | db.specify-span-by-spanspec.attributes + | db.specify-span-directly.attributes +db.colname.attribute = + + ## Provides a name for a column specification. + attribute colname { text } +db.spanname.attribute = + + ## Provides a name for a span specification. + attribute spanname { text } +div { + db.tgroup.role.attribute = attribute role { text } + db.tgroup.tgroupstyle.attribute = + + ## Additional style information for downstream processing; typically the name of a style. + attribute tgroupstyle { text } + db.tgroup.cols.attribute = + + ## The number of columns in the table. Must be an integer greater than zero. + attribute cols { xsd:positiveInteger } + db.tgroup.attlist = + db.tgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.char.attribute? + & db.charoff.attribute? + & db.tgroup.tgroupstyle.attribute? + & db.tgroup.cols.attribute + & db.colsep.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.tgroup = + + ## A wrapper for the main content of a table, or part of a table + element tgroup { + db.tgroup.attlist, + db.colspec*, + db.spanspec*, + db.cals.thead?, + db.cals.tfoot?, + db.cals.tbody + } +} +div { + db.colspec.role.attribute = attribute role { text } + db.colspec.colnum.attribute = + + ## The number of the column to which this specification applies. Must be greater than any preceding column number. Defaults to one more than the number of the preceding column, if there is one, or one. + attribute colnum { xsd:positiveInteger } + db.colspec.colwidth.attribute = + + ## Specifies the width of the column. + attribute colwidth { text } + db.colspec.attlist = + db.colspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.colspec.colnum.attribute? + & db.char.attribute? + & db.colsep.attribute? + & db.colspec.colwidth.attribute? + & db.charoff.attribute? + & db.colname.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.colspec = + + ## Specifications for a column in a table + element colspec { db.colspec.attlist, empty } +} +div { + db.spanspec.role.attribute = attribute role { text } + db.spanspec.namest.attribute = + + ## Specifies a starting column by name. + attribute namest { text } + db.spanspec.nameend.attribute = + + ## Specifies an ending column by name. + attribute nameend { text } + db.spanspec.attlist = + db.spanspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spanname.attribute + & db.spanspec.namest.attribute + & db.spanspec.nameend.attribute + & db.char.attribute? + & db.colsep.attribute? + & db.charoff.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.spanspec = + + ## Formatting information for a spanned column in a table + element spanspec { db.spanspec.attlist, empty } +} +div { + db.cals.thead.role.attribute = attribute role { text } + db.cals.thead.attlist = + db.cals.thead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.thead = + + ## A table header consisting of one or more rows + element thead { db.cals.thead.attlist, db.colspec*, db.row+ } +} +div { + db.cals.tfoot.role.attribute = attribute role { text } + db.cals.tfoot.attlist = + db.cals.tfoot.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.tfoot = + + ## A table footer consisting of one or more rows + element tfoot { db.cals.tfoot.attlist, db.colspec*, db.row+ } +} +div { + db.cals.tbody.role.attribute = attribute role { text } + db.cals.tbody.attlist = + db.cals.tbody.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.tbody = + + ## A wrapper for the rows of a table or informal table + element tbody { db.cals.tbody.attlist, db.row+ } +} +div { + db.row.role.attribute = attribute role { text } + db.row.attlist = + db.row.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.rowsep.attribute? + & db.valign.attribute? + db.row = + + ## A row in a table + element row { db.row.attlist, (db.entry | db.entrytbl)+ } +} +div { + db.entry.role.attribute = attribute role { text } + db.entry.morerows.attribute = + + ## Specifies the number of additional rows which this entry occupies. Defaults to zero. + attribute morerows { xsd:integer } + db.entry.rotate.attribute = + + ## Specifies the rotation of this entry. A value of 1 (true) rotates the cell 90 degrees counter-clockwise. A value of 0 (false) leaves the cell unrotated. + attribute rotate { + + ## Do not rotate the cell. + "0" + | + ## Rotate the cell 90 degrees counter-clockwise. + "1" + } + db.entry.attlist = + db.entry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + & db.char.attribute? + & db.colsep.attribute? + & db.charoff.attribute? + & db.entry.morerows.attribute? + & db.column-spec.attributes? + & db.rowsep.attribute? + & db.entry.rotate.attribute? + & db.align.attribute? + db.entry = + + ## A cell in a table + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:entry" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of entry" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:entry" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:informaltable)" + "informaltable must not occur among the children or descendants of entry" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element entry { + db.entry.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.entrytbl.role.attribute = attribute role { text } + db.entrytbl.tgroupstyle.attribute = + + ## Additional style information for downstream processing; typically the name of a style. + attribute tgroupstyle { text } + db.entrytbl.cols.attribute = + + ## The number of columns in the entry table. Must be an integer greater than zero. + attribute cols { xsd:positiveInteger } + db.entrytbl.attlist = + db.entrytbl.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.char.attribute? + & db.charoff.attribute? + & db.column-spec.attributes? + & db.entrytbl.tgroupstyle.attribute? + & db.entrytbl.cols.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.entrytbl = + + ## A subtable appearing in place of an entry in a table + element entrytbl { + db.entrytbl.attlist, + db.colspec*, + db.spanspec*, + db.cals.entrytbl.thead?, + db.cals.entrytbl.tbody + } +} +div { + db.cals.entrytbl.thead.role.attribute = attribute role { text } + db.cals.entrytbl.thead.attlist = + db.cals.entrytbl.thead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.entrytbl.thead = + + ## A table header consisting of one or more rows + element thead { + db.cals.entrytbl.thead.attlist, db.colspec*, db.entrytbl.row+ + } +} +div { + db.cals.entrytbl.tbody.role.attribute = attribute role { text } + db.cals.entrytbl.tbody.attlist = + db.cals.entrytbl.tbody.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.entrytbl.tbody = + + ## A wrapper for the rows of a table or informal table + element tbody { db.cals.entrytbl.tbody.attlist, db.entrytbl.row+ } +} +div { + db.entrytbl.row.role.attribute = attribute role { text } + db.entrytbl.row.attlist = + db.entrytbl.row.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.rowsep.attribute? + & db.valign.attribute? + db.entrytbl.row = + + ## A row in a table + element row { db.entrytbl.row.attlist, db.entry+ } +} +div { + db.cals.table.role.attribute = attribute role { text } + db.cals.table.label.attribute = db.label.attribute + db.cals.table.attlist = + db.cals.table.role.attribute? + & db.cals.table.label.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tabstyle.attribute? + & db.floatstyle.attribute? + & db.orient.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.frame.attribute? + & db.pgwide.attribute? + & + ## Indicates if the short or long title should be used in a List of Tables + attribute shortentry { + + ## Indicates that the full title should be used. + "0" + | + ## Indicates that the short short title (titleabbrev) should be used. + "1" + }? + & + ## Indicates if the table should appear in a List of Tables + attribute tocentry { + + ## Indicates that the table should not occur in the List of Tables. + "0" + | + ## Indicates that the table should appear in the List of Tables. + "1" + }? + & db.rowheader.attribute? + db.cals.table.info = db._info.title.onlyreq + db.cals.table = + + ## A formal table in a document + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element table { + db.cals.table.attlist, + db.cals.table.info, + (db.alt? & db.indexing.inlines* & db.textobject*), + (db.mediaobject+ | db.tgroup+), + db.caption? + } +} +div { + db.cals.informaltable.role.attribute = attribute role { text } + db.cals.informaltable.attlist = + db.cals.informaltable.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tabstyle.attribute? + & db.floatstyle.attribute? + & db.orient.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.frame.attribute? + & db.pgwide.attribute? + & db.rowheader.attribute? + db.cals.informaltable.info = db._info.title.forbidden + db.cals.informaltable = + + ## A table without a title + element informaltable { + db.cals.informaltable.attlist, + db.cals.informaltable.info, + (db.alt? & db.indexing.inlines* & db.textobject*), + (db.mediaobject+ | db.tgroup+), + db.caption? + } +} +db.html.coreattrs = + + ## This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. + attribute class { text }? + & + ## This attribute specifies style information for the current element. + attribute style { text }? + & + ## This attribute offers advisory information about the element for which it is set. + attribute title { text }? +db.html.i18n = + + ## This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown. + attribute lang { text }? +db.html.events = + + ## Occurs when the pointing device button is clicked over an element. + attribute onclick { text }? + & + ## Occurs when the pointing device button is double clicked over an element. + attribute ondblclick { text }? + & + ## Occurs when the pointing device button is pressed over an element. + attribute onmousedown { text }? + & + ## Occurs when the pointing device button is released over an element. + attribute onmouseup { text }? + & + ## Occurs when the pointing device is moved onto an element. + attribute onmouseover { text }? + & + ## Occurs when the pointing device is moved while it is over an element. + attribute onmousemove { text }? + & + ## Occurs when the pointing device is moved away from an element. + attribute onmouseout { text }? + & + ## Occurs when a key is pressed and released over an element. + attribute onkeypress { text }? + & + ## Occurs when a key is pressed down over an element. + attribute onkeydown { text }? + & + ## Occurs when a key is released over an element. + attribute onkeyup { text }? +db.html.attrs = + db.common.attributes + & db.html.coreattrs + & db.html.i18n + & db.html.events +db.html.cellhalign = + + ## Specifies the alignment of data and the justification of text in a cell. + attribute align { + + ## Left-flush data/Left-justify text. This is the default value for table data. + "left" + | + ## Center data/Center-justify text. This is the default value for table headers. + "center" + | + ## Right-flush data/Right-justify text. + "right" + | + ## Double-justify text. + "justify" + | + ## Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. + "char" + }? + & + ## This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute. + attribute char { text }? + & + ## When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute. + attribute charoff { + xsd:integer >> a:documentation [ "An explicit offset." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage offset." ] + }? +db.html.cellvalign = + + ## Specifies the vertical position of data within a cell. + attribute valign { + + ## Cell data is flush with the top of the cell. + "top" + | + ## Cell data is centered vertically within the cell. This is the default value. + "middle" + | + ## Cell data is flush with the bottom of the cell. + "bottom" + | + ## All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells. + "baseline" + }? +db.html.table.attributes = + + ## Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille. + attribute summary { text }? + & + ## Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent. + attribute width { + xsd:integer >> a:documentation [ "An explicit width." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage width." ] + }? + & + ## Specifies the width (in pixels only) of the frame around a table. + attribute border { xsd:nonNegativeInteger }? + & + ## Specifies which sides of the frame surrounding a table will be visible. + attribute frame { + + ## No sides. This is the default value. + "void" + | + ## The top side only. + "above" + | + ## The bottom side only. + "below" + | + ## The top and bottom sides only. + "hsides" + | + ## The left-hand side only. + "lhs" + | + ## The right-hand side only. + "rhs" + | + ## The right and left sides only. + "vsides" + | + ## All four sides. + "box" + | + ## All four sides. + "border" + }? + & + ## Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. + attribute rules { + + ## No rules. This is the default value. + "none" + | + ## Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only. + "groups" + | + ## Rules will appear between rows only. + "rows" + | + ## Rules will appear between columns only. + "cols" + | + ## Rules will appear between all rows and columns. + "all" + }? + & + ## Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells. + attribute cellspacing { + xsd:integer >> a:documentation [ "An explicit spacing." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage spacing." ] + }? + & + ## Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space. + attribute cellpadding { + xsd:integer >> a:documentation [ "An explicit padding." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage padding." ] + }? +db.html.tablecell.attributes = + + ## Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content. + attribute abbr { text }? + & + ## This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details. + attribute axis { text }? + & + ## Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets. + attribute headers { text }? + & + ## Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables. + attribute scope { + + ## The current cell provides header information for the rest of the row that contains it + "row" + | + ## The current cell provides header information for the rest of the column that contains it. + "col" + | + ## The header cell provides header information for the rest of the row group that contains it. + "rowgroup" + | + ## The header cell provides header information for the rest of the column group that contains it. + "colgroup" + }? + & + ## Specifies the number of rows spanned by the current cell. The default value of this attribute is one (1 + ## ). The value zero (0 + ## ) means that the cell spans all rows from the current row to the last row of the table section (thead + ## , tbody + ## , or tfoot + ## ) in which the cell is defined. + attribute rowspan { xsd:nonNegativeInteger }? + & + ## Specifies the number of columns spanned by the current cell. The default value of this attribute is one (1 + ## ). The value zero (0 + ## ) means that the cell spans all columns from the current column to the last column of the column group (colgroup + ## ) in which the cell is defined. + attribute colspan { xsd:nonNegativeInteger }? +db.html.table.info = db._info.title.forbidden +db.html.table.model = + db.html.table.info?, + db.html.caption, + (db.html.col* | db.html.colgroup*), + db.html.thead?, + db.html.tfoot?, + (db.html.tbody+ | db.html.tr+) +db.html.informaltable.info = db._info.title.forbidden +db.html.informaltable.model = + db.html.informaltable.info?, + (db.html.col* | db.html.colgroup*), + db.html.thead?, + db.html.tfoot?, + (db.html.tbody+ | db.html.tr+) +div { + db.html.table.role.attribute = attribute role { text } + db.html.table.label.attribute = db.label.attribute + db.html.table.attlist = + db.html.attrs + & db.html.table.attributes + & db.html.table.role.attribute? + & db.html.table.label.attribute? + & db.orient.attribute? + & db.pgwide.attribute? + & db.tabstyle.attribute? + & db.floatstyle.attribute? + db.html.table = + + ## A formal (captioned) HTML table in a document + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element table { db.html.table.attlist, db.html.table.model } +} +div { + db.html.informaltable.role.attribute = attribute role { text } + db.html.informaltable.label.attribute = db.label.attribute + db.html.informaltable.attlist = + db.html.attrs + & db.html.table.attributes + & db.html.informaltable.role.attribute? + & db.html.informaltable.label.attribute? + & db.orient.attribute? + & db.pgwide.attribute? + & db.tabstyle.attribute? + & db.floatstyle.attribute? + db.html.informaltable = + + ## An HTML table without a title + element informaltable { + db.html.informaltable.attlist, db.html.informaltable.model + } +} +div { + db.html.caption.attlist = db.html.attrs + db.html.caption = + + ## An HTML table caption + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caption { db.html.caption.attlist, db.all.inlines* } +} +div { + db.html.col.attlist = + db.html.attrs + & + ## This attribute, whose value must be an integer > 0, specifies the number of columns spanned + ## by the col + ## element; the col + ## element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N > 1, the current col + ## element shares its attributes with the next N-1 columns. + attribute span { xsd:nonNegativeInteger }? + & + ## Specifies a default width for each column spanned by the current col + ## element. It has the same meaning as the width + ## attribute for the colgroup + ## element and overrides it. + attribute width { text }? + & db.html.cellhalign + & db.html.cellvalign + db.html.col = + + ## Specifications for a column in an HTML table + element col { db.html.col.attlist, empty } +} +div { + db.html.colgroup.attlist = + db.html.attrs + & + ## This attribute, which must be an integer > 0, specifies the number of columns in a column group. In the absence of a span attribute, each colgroup + ## defines a column group containing one column. If the span attribute is set to N > 0, the current colgroup + ## element defines a column group containing N columns. User agents must ignore this attribute if the colgroup + ## element contains one or more col + ## elements. + attribute span { xsd:nonNegativeInteger }? + & + ## This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form 0* + ## (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying 0* + ## will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a col + ## element. + attribute width { text }? + & db.html.cellhalign + & db.html.cellvalign + db.html.colgroup = + + ## A group of columns in an HTML table + element colgroup { db.html.colgroup.attlist, db.html.col* } +} +div { + db.html.thead.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.thead = + + ## A table header consisting of one or more rows in an HTML table + element thead { db.html.thead.attlist, db.html.tr+ } +} +div { + db.html.tfoot.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tfoot = + + ## A table footer consisting of one or more rows in an HTML table + element tfoot { db.html.tfoot.attlist, db.html.tr+ } +} +div { + db.html.tbody.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tbody = + + ## A wrapper for the rows of an HTML table or informal HTML table + element tbody { db.html.tbody.attlist, db.html.tr+ } +} +div { + db.html.tr.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tr = + + ## A row in an HTML table + element tr { db.html.tr.attlist, (db.html.th | db.html.td)+ } +} +div { + db.html.th.attlist = + db.html.attrs + & db.html.tablecell.attributes + & db.html.cellhalign + & db.html.cellvalign + db.html.th = + + ## A table header entry in an HTML table + element th { + db.html.th.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.html.td.attlist = + db.html.attrs + & db.html.tablecell.attributes + & db.html.cellhalign + & db.html.cellvalign + db.html.td = + + ## A table entry in an HTML table + element td { + db.html.td.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.msgset.role.attribute = attribute role { text } + db.msgset.attlist = + db.msgset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgset.info = db._info.title.only + db.msgset = + + ## A detailed set of messages, usually error messages + element msgset { + db.msgset.attlist, + db.msgset.info, + (db.msgentry+ | db.simplemsgentry+) + } +} +div { + db.msgentry.role.attribute = attribute role { text } + db.msgentry.attlist = + db.msgentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgentry = + + ## A wrapper for an entry in a message set + element msgentry { + db.msgentry.attlist, db.msg+, db.msginfo?, db.msgexplan* + } +} +div { + db.simplemsgentry.role.attribute = attribute role { text } + db.simplemsgentry.msgaud.attribute = + + ## The audience to which the message relevant + attribute msgaud { text } + db.simplemsgentry.msgorig.attribute = + + ## The origin of the message + attribute msgorig { text } + db.simplemsgentry.msglevel.attribute = + + ## The level of importance or severity of a message + attribute msglevel { text } + db.simplemsgentry.attlist = + db.simplemsgentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.simplemsgentry.msgaud.attribute? + & db.simplemsgentry.msgorig.attribute? + & db.simplemsgentry.msglevel.attribute? + db.simplemsgentry = + + ## A wrapper for a simpler entry in a message set + element simplemsgentry { + db.simplemsgentry.attlist, db.msgtext, db.msgexplan+ + } +} +div { + db.msg.role.attribute = attribute role { text } + db.msg.attlist = + db.msg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msg.info = db._info.title.only + db.msg = + + ## A message in a message set + element msg { + db.msg.attlist, db.msg.info, db.msgmain, (db.msgsub | db.msgrel)* + } +} +div { + db.msgmain.role.attribute = attribute role { text } + db.msgmain.attlist = + db.msgmain.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgmain.info = db._info.title.only + db.msgmain = + + ## The primary component of a message in a message set + element msgmain { db.msgmain.attlist, db.msgmain.info, db.msgtext } +} +div { + db.msgsub.role.attribute = attribute role { text } + db.msgsub.attlist = + db.msgsub.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgsub.info = db._info.title.only + db.msgsub = + + ## A subcomponent of a message in a message set + element msgsub { db.msgsub.attlist, db.msgsub.info, db.msgtext } +} +div { + db.msgrel.role.attribute = attribute role { text } + db.msgrel.attlist = + db.msgrel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgrel.info = db._info.title.only + db.msgrel = + + ## A related component of a message in a message set + element msgrel { db.msgrel.attlist, db.msgrel.info, db.msgtext } +} +div { + db.msgtext.role.attribute = attribute role { text } + db.msgtext.attlist = + db.msgtext.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgtext = + + ## The actual text of a message component in a message set + element msgtext { db.msgtext.attlist, db.all.blocks+ } +} +div { + db.msginfo.role.attribute = attribute role { text } + db.msginfo.attlist = + db.msginfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msginfo = + + ## Information about a message in a message set + element msginfo { + db.msginfo.attlist, (db.msglevel | db.msgorig | db.msgaud)* + } +} +div { + db.msglevel.role.attribute = attribute role { text } + db.msglevel.attlist = + db.msglevel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msglevel = + + ## The level of importance or severity of a message in a message set + element msglevel { db.msglevel.attlist, db._text } +} +div { + db.msgorig.role.attribute = attribute role { text } + db.msgorig.attlist = + db.msgorig.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgorig = + + ## The origin of a message in a message set + element msgorig { db.msgorig.attlist, db._text } +} +div { + db.msgaud.role.attribute = attribute role { text } + db.msgaud.attlist = + db.msgaud.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgaud = + + ## The audience to which a message in a message set is relevant + element msgaud { db.msgaud.attlist, db._text } +} +div { + db.msgexplan.role.attribute = attribute role { text } + db.msgexplan.attlist = + db.msgexplan.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgexplan.info = db._info.title.only + db.msgexplan = + + ## Explanatory material relating to a message in a message set + element msgexplan { + db.msgexplan.attlist, db.msgexplan.info, db.all.blocks+ + } +} +div { + db.qandaset.role.attribute = attribute role { text } + db.qandaset.defaultlabel.enumeration = + + ## No labels + "none" + | + ## Numeric labels + "number" + | + ## "Q:" and "A:" labels + "qanda" + db.qandaset.defaultlabel.attribute = + + ## Specifies the default labelling + attribute defaultlabel { db.qandaset.defaultlabel.enumeration } + db.qandaset.attlist = + db.qandaset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.qandaset.defaultlabel.attribute? + db.qandaset.info = db._info.title.only + db.qandaset = + + ## A question-and-answer set + element qandaset { + db.qandaset.attlist, + db.qandaset.info, + db.all.blocks*, + (db.qandadiv+ | db.qandaentry+) + } +} +div { + db.qandadiv.role.attribute = attribute role { text } + db.qandadiv.attlist = + db.qandadiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.qandadiv.info = db._info.title.only + db.qandadiv = + + ## A titled division in a qandaset + element qandadiv { + db.qandadiv.attlist, + db.qandadiv.info, + db.all.blocks*, + (db.qandadiv+ | db.qandaentry+) + } +} +div { + db.qandaentry.role.attribute = attribute role { text } + db.qandaentry.attlist = + db.qandaentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.qandaentry.info = db._info.title.only + db.qandaentry = + + ## A question/answer set within a qandaset + element qandaentry { + db.qandaentry.attlist, db.qandaentry.info, db.question, db.answer* + } +} +div { + db.question.role.attribute = attribute role { text } + db.question.attlist = + db.question.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.question = + + ## A question in a qandaset + element question { db.question.attlist, db.label?, db.all.blocks+ } +} +div { + db.answer.role.attribute = attribute role { text } + db.answer.attlist = + db.answer.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.answer = + + ## An answer to a question posed in a qandaset + element answer { db.answer.attlist, db.label?, db.all.blocks+ } +} +div { + db.label.role.attribute = attribute role { text } + db.label.attlist = + db.label.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.label = + + ## A label on a question or answer + element label { db.label.attlist, db._text } +} +db.math.inlines = db.inlineequation +db.equation.content = (db.mediaobject+ | db.mathphrase+) | db._any.mml+ +db.inlineequation.content = + (db.inlinemediaobject+ | db.mathphrase+) | db._any.mml+ +div { + db.equation.role.attribute = attribute role { text } + db.equation.label.attribute = db.label.attribute + db.equation.attlist = + db.equation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.equation.label.attribute? + & db.pgwide.attribute? + & db.floatstyle.attribute? + db.equation.info = db._info.title.only + db.equation = + + ## A displayed mathematical equation + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element equation { + db.equation.attlist, + db.equation.info, + db.alt?, + db.equation.content, + db.caption? + } +} +div { + db.informalequation.role.attribute = attribute role { text } + db.informalequation.attlist = + db.informalequation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.pgwide.attribute? + & db.floatstyle.attribute? + db.informalequation.info = db._info.title.forbidden + db.informalequation = + + ## A displayed mathematical equation without a title + element informalequation { + db.informalequation.attlist, + db.informalequation.info, + db.alt?, + db.equation.content, + db.caption? + } +} +div { + db.inlineequation.role.attribute = attribute role { text } + db.inlineequation.attlist = + db.inlineequation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.inlineequation = + + ## A mathematical equation or expression occurring inline + element inlineequation { + db.inlineequation.attlist, db.alt?, db.inlineequation.content + } +} +div { + db.mathphrase.role.attribute = attribute role { text } + db.mathphrase.attlist = + db.mathphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mathphrase = + + ## A mathematical phrase that can be represented with ordinary text and a small amount of markup + element mathphrase { + db.mathphrase.attlist, + (db._text | db.ubiq.inlines | db._emphasis)* + } +} +db.imagedata.mathml.content = db._any.mml +div { + db.imagedata.mathml.role.attribute = attribute role { text } + db.imagedata.mathml.attlist = + db.imagedata.mathml.role.attribute? + & db.common.attributes + & + ## Specifies that the format of the data is MathML + attribute format { + + ## Specifies MathML. + "mathml" + }? + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.mathml.info = db._info.title.forbidden + db.imagedata.mathml = + + ## A MathML expression in a media object + element imagedata { + db.imagedata.mathml.attlist, + db.imagedata.mathml.info, + db.imagedata.mathml.content+ + } +} +div { + db._any.mml = + + ## Any element from the MathML namespace + element mml:* { (db._any.attribute | text | db._any)* } +} +db.imagedata.svg.content = db._any.svg +div { + db.imagedata.svg.role.attribute = attribute role { text } + db.imagedata.svg.attlist = + db.imagedata.svg.role.attribute? + & db.common.attributes + & + ## Specifies that the format of the data is SVG + attribute format { + + ## Specifies SVG. + "svg" + }? + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.svg.info = db._info.title.forbidden + db.imagedata.svg = + + ## An SVG drawing in a media object + element imagedata { + db.imagedata.svg.attlist, + db.imagedata.svg.info, + db.imagedata.svg.content+ + } +} +div { + db._any.svg = + + ## Any element from the SVG namespace + element svg:* { (db._any.attribute | text | db._any)* } +} +db.markup.inlines = + db.tag + | db.markup + | db.token + | db.symbol + | db.literal + | db.code + | db.constant + | db.email + | db.uri +div { + db.markup.role.attribute = attribute role { text } + db.markup.attlist = + db.markup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.markup = + + ## A string of formatting markup in text that is to be represented literally + element markup { db.markup.attlist, db._text } +} +div { + db.tag.role.attribute = attribute role { text } + db.tag.class.enumeration = + + ## An attribute + "attribute" + | + ## An attribute value + "attvalue" + | + ## An element + "element" + | + ## An empty element tag + "emptytag" + | + ## An end tag + "endtag" + | + ## A general entity + "genentity" + | + ## The local name part of a qualified name + "localname" + | + ## A namespace + "namespace" + | + ## A numeric character reference + "numcharref" + | + ## A parameter entity + "paramentity" + | + ## A processing instruction + "pi" + | + ## The prefix part of a qualified name + "prefix" + | + ## An SGML comment + "comment" + | + ## A start tag + "starttag" + | + ## An XML processing instruction + "xmlpi" + db.tag.class.attribute = + + ## Identifies the nature of the tag content + attribute class { db.tag.class.enumeration } + db.tag.namespace.attribute = + + ## Identifies the namespace of the tag content + attribute namespace { xsd:anyURI } + db.tag.attlist = + db.tag.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tag.class.attribute? + & db.tag.namespace.attribute? + db.tag = + + ## A component of XML (or SGML) markup + element tag { db.tag.attlist, (db._text | db.tag)* } +} +div { + db.symbol.class.attribute = + + ## Identifies the class of symbol + attribute class { + + ## The value is a limit of some kind + "limit" + } + db.symbol.role.attribute = attribute role { text } + db.symbol.attlist = + db.symbol.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.symbol.class.attribute? + db.symbol = + + ## A name that is replaced by a value before processing + element symbol { db.symbol.attlist, db._text } +} +div { + db.token.role.attribute = attribute role { text } + db.token.attlist = + db.token.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.token = + + ## A unit of information + element token { db.token.attlist, db._text } +} +div { + db.literal.role.attribute = attribute role { text } + db.literal.attlist = + db.literal.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.literal = + + ## Inline text that is some literal value + element literal { db.literal.attlist, db._text } +} +div { + code.language.attribute = + + ## Identifies the (computer) language of the code fragment + attribute language { text } + db.code.role.attribute = attribute role { text } + db.code.attlist = + db.code.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & code.language.attribute? + db.code = + + ## An inline code fragment + element code { + db.code.attlist, (db.programming.inlines | db._text)* + } +} +div { + db.constant.class.attribute = + + ## Identifies the class of constant + attribute class { + + ## The value is a limit of some kind + "limit" + } + db.constant.role.attribute = attribute role { text } + db.constant.attlist = + db.constant.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.constant.class.attribute? + db.constant = + + ## A programming or system constant + element constant { db.constant.attlist, db._text } +} +div { + db.productname.role.attribute = attribute role { text } + db.productname.class.enumeration = + + ## A name with a copyright + "copyright" + | + ## A name with a registered copyright + "registered" + | + ## A name of a service + "service" + | + ## A name which is trademarked + "trade" + db.productname.class.attribute = + + ## Specifies the class of product name + attribute class { db.productname.class.enumeration } + db.productname.attlist = + db.productname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.productname.class.attribute? + db.productname = + + ## The formal name of a product + element productname { db.productname.attlist, db._text } +} +div { + db.productnumber.role.attribute = attribute role { text } + db.productnumber.attlist = + db.productnumber.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.productnumber = + + ## A number assigned to a product + element productnumber { db.productnumber.attlist, db._text } +} +div { + db.database.class.enumeration = + + ## An alternate or secondary key + "altkey" + | + ## A constraint + "constraint" + | + ## A data type + "datatype" + | + ## A field + "field" + | + ## A foreign key + "foreignkey" + | + ## A group + "group" + | + ## An index + "index" + | + ## The first or primary key + "key1" + | + ## An alternate or secondary key + "key2" + | + ## A name + "name" + | + ## The primary key + "primarykey" + | + ## A (stored) procedure + "procedure" + | + ## A record + "record" + | + ## A rule + "rule" + | + ## The secondary key + "secondarykey" + | + ## A table + "table" + | + ## A user + "user" + | + ## A view + "view" + db.database.class.attribute = + + ## Identifies the class of database artifact + attribute class { db.database.class.enumeration } + db.database.role.attribute = attribute role { text } + db.database.attlist = + db.database.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.database.class.attribute? + db.database = + + ## The name of a database, or part of a database + element database { db.database.attlist, db._text } +} +div { + db.application.class.enumeration = + + ## A hardware application + "hardware" + | + ## A software application + "software" + db.application.class.attribute = + + ## Identifies the class of application + attribute class { db.application.class.enumeration } + db.application.role.attribute = attribute role { text } + db.application.attlist = + db.application.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.application.class.attribute? + db.application = + + ## The name of a software program + element application { db.application.attlist, db._text } +} +div { + db.hardware.role.attribute = attribute role { text } + db.hardware.attlist = + db.hardware.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.hardware = + + ## A physical part of a computer system + element hardware { db.hardware.attlist, db._text } +} +db.gui.inlines = + db.guiicon + | db.guibutton + | db.guimenuitem + | db.guimenu + | db.guisubmenu + | db.guilabel + | db.menuchoice + | db.mousebutton +div { + db.guibutton.role.attribute = attribute role { text } + db.guibutton.attlist = + db.guibutton.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guibutton = + + ## The text on a button in a GUI + element guibutton { + db.guibutton.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guiicon.role.attribute = attribute role { text } + db.guiicon.attlist = + db.guiicon.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guiicon = + + ## Graphic and/or text appearing as a icon in a GUI + element guiicon { + db.guiicon.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guilabel.role.attribute = attribute role { text } + db.guilabel.attlist = + db.guilabel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guilabel = + + ## The text of a label in a GUI + element guilabel { + db.guilabel.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guimenu.role.attribute = attribute role { text } + db.guimenu.attlist = + db.guimenu.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guimenu = + + ## The name of a menu in a GUI + element guimenu { + db.guimenu.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guimenuitem.role.attribute = attribute role { text } + db.guimenuitem.attlist = + db.guimenuitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guimenuitem = + + ## The name of a terminal menu item in a GUI + element guimenuitem { + db.guimenuitem.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guisubmenu.role.attribute = attribute role { text } + db.guisubmenu.attlist = + db.guisubmenu.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guisubmenu = + + ## The name of a submenu in a GUI + element guisubmenu { + db.guisubmenu.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.menuchoice.role.attribute = attribute role { text } + db.menuchoice.attlist = + db.menuchoice.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.menuchoice = + + ## A selection or series of selections from a menu + element menuchoice { + db.menuchoice.attlist, + db.shortcut?, + (db.guibutton + | db.guiicon + | db.guilabel + | db.guimenu + | db.guimenuitem + | db.guisubmenu)+ + } +} +div { + db.mousebutton.role.attribute = attribute role { text } + db.mousebutton.attlist = + db.mousebutton.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mousebutton = + + ## The conventional name of a mouse button + element mousebutton { db.mousebutton.attlist, db._text } +} +db.keyboard.inlines = + db.keycombo + | db.keycap + | db.keycode + | db.keysym + | db.shortcut + | db.accel +div { + db.keycap.function.enumeration = + + ## The "Alt" key + "alt" + | + ## The "Backspace" key + "backspace" + | + ## The "Command" key + "command" + | + ## The "Control" key + "control" + | + ## The "Delete" key + "delete" + | + ## The down arrow + "down" + | + ## The "End" key + "end" + | + ## The "Enter" or "Return" key + "enter" + | + ## The "Escape" key + "escape" + | + ## The "Home" key + "home" + | + ## The "Insert" key + "insert" + | + ## The left arrow + "left" + | + ## The "Meta" key + "meta" + | + ## The "Option" key + "option" + | + ## The page down key + "pagedown" + | + ## The page up key + "pageup" + | + ## The right arrow + "right" + | + ## The "Shift" key + "shift" + | + ## The spacebar + "space" + | + ## The "Tab" key + "tab" + | + ## The up arrow + "up" + db.keycap.function-enum.attribute = + + ## Identifies the function key + attribute function { db.keycap.function.enumeration }? + db.keycap.function-other.attributes = + + ## Identifies the function key + attribute function { + + ## Indicates a non-standard function key + "other" + }?, + + ## Specifies a keyword that identifies the non-standard key + attribute otherfunction { text } + db.keycap.function.attrib = + db.keycap.function-enum.attribute + | db.keycap.function-other.attributes + db.keycap.role.attribute = attribute role { text } + db.keycap.attlist = + db.keycap.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.keycap.function.attrib + db.keycap = + + ## The text printed on a key on a keyboard + element keycap { db.keycap.attlist, db._text } +} +div { + db.keycode.role.attribute = attribute role { text } + db.keycode.attlist = + db.keycode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keycode = + + ## The internal, frequently numeric, identifier for a key on a keyboard + element keycode { db.keycode.attlist, db._text } +} +db.keycombination.contentmodel = + (db.keycap | db.keycombo | db.keysym) | db.mousebutton +div { + db.keycombo.action.enumeration = + + ## A (single) mouse click. + "click" + | + ## A double mouse click. + "double-click" + | + ## A mouse or key press. + "press" + | + ## Sequential clicks or presses. + "seq" + | + ## Simultaneous clicks or presses. + "simul" + db.keycombo.action-enum.attribute = + + ## Identifies the nature of the action taken. If keycombo + ## contains more than one element, simul + ## is the default, otherwise there is no default. + attribute action { db.keycombo.action.enumeration }? + db.keycombo.action-other.attributes = + + ## Identifies the nature of the action taken + attribute action { + + ## Indicates a non-standard action + "other" + }?, + + ## Identifies the non-standard action in some unspecified way. + attribute otheraction { text } + db.keycombo.action.attrib = + db.keycombo.action-enum.attribute + | db.keycombo.action-other.attributes + db.keycombo.role.attribute = attribute role { text } + db.keycombo.attlist = + db.keycombo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.keycombo.action.attrib + db.keycombo = + + ## A combination of input actions + element keycombo { + db.keycombo.attlist, db.keycombination.contentmodel+ + } +} +div { + db.keysym.role.attribute = attribute role { text } + db.keysym.attlist = + db.keysym.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keysym = + + ## The symbolic name of a key on a keyboard + element keysym { db.keysym.attlist, db._text } +} +div { + db.accel.role.attribute = attribute role { text } + db.accel.attlist = + db.accel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.accel = + + ## A graphical user interface (GUI) keyboard shortcut + element accel { db.accel.attlist, db._text } +} +div { + db.shortcut.action.attrib = db.keycombo.action.attrib + db.shortcut.role.attribute = attribute role { text } + db.shortcut.attlist = + db.shortcut.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.shortcut.action.attrib + db.shortcut = + + ## A key combination for an action that is also accessible through a menu + element shortcut { + db.shortcut.attlist, db.keycombination.contentmodel+ + } +} +db.os.inlines = + db.prompt + | db.envar + | db.filename + | db.command + | db.computeroutput + | db.userinput +db.computeroutput.inlines = + (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines) + | db.co + | db.markup.inlines +db.userinput.inlines = + (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines) + | db.co + | db.markup.inlines + | db.gui.inlines + | db.keyboard.inlines +db.prompt.inlines = db._text | db.co +div { + db.prompt.role.attribute = attribute role { text } + db.prompt.attlist = + db.prompt.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.prompt = + + ## A character or string indicating the start of an input field in a computer display + element prompt { db.prompt.attlist, db.prompt.inlines* } +} +div { + db.envar.role.attribute = attribute role { text } + db.envar.attlist = + db.envar.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.envar = + + ## A software environment variable + element envar { db.envar.attlist, db._text } +} +div { + db.filename.class.enumeration = + + ## A device + "devicefile" + | + ## A directory + "directory" + | + ## A filename extension + "extension" + | + ## A header file (as for a programming language) + "headerfile" + | + ## A library file + "libraryfile" + | + ## A partition (as of a hard disk) + "partition" + | + ## A symbolic link + "symlink" + db.filename.class.attribute = + + ## Identifies the class of filename + attribute class { db.filename.class.enumeration } + db.filename.path.attribute = + + ## Specifies the path of the filename + attribute path { text } + db.filename.role.attribute = attribute role { text } + db.filename.attlist = + db.filename.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.filename.path.attribute? + & db.filename.class.attribute? + db.filename = + + ## The name of a file + element filename { db.filename.attlist, db._text } +} +div { + db.command.role.attribute = attribute role { text } + db.command.attlist = + db.command.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.command = + + ## The name of an executable program or other software command + element command { db.command.attlist, db._text } +} +div { + db.computeroutput.role.attribute = attribute role { text } + db.computeroutput.attlist = + db.computeroutput.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.computeroutput = + + ## Data, generally text, displayed or presented by a computer + element computeroutput { + db.computeroutput.attlist, db.computeroutput.inlines* + } +} +div { + db.userinput.role.attribute = attribute role { text } + db.userinput.attlist = + db.userinput.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.userinput = + + ## Data entered by the user + element userinput { db.userinput.attlist, db.userinput.inlines* } +} +div { + db.cmdsynopsis.role.attribute = attribute role { text } + db.cmdsynopsis.sepchar.attribute = + + ## Specifies the character that should separate the command and its top-level arguments + attribute sepchar { text } + db.cmdsynopsis.cmdlength.attribute = + + ## Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line + attribute cmdlength { text } + db.cmdsynopsis.label.attribute = db.label.attribute + db.cmdsynopsis.attlist = + db.cmdsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.cmdsynopsis.sepchar.attribute? + & db.cmdsynopsis.cmdlength.attribute? + & db.cmdsynopsis.label.attribute? + db.cmdsynopsis.info = db._info.title.forbidden + db.cmdsynopsis = + + ## A syntax summary for a software command + element cmdsynopsis { + db.cmdsynopsis.attlist, + db.cmdsynopsis.info, + (db.command | db.arg | db.group | db.sbr)+, + db.synopfragment* + } +} +db.rep.enumeration = + + ## Can not be repeated. + "norepeat" + | + ## Can be repeated. + "repeat" +db.rep.attribute = + + ## Indicates whether or not repetition is possible. + [ a:defaultValue = "norepeat" ] attribute rep { db.rep.enumeration } +db.choice.enumeration = + + ## Formatted to indicate that it is optional. + "opt" + | + ## Formatted without indication. + "plain" + | + ## Formatted to indicate that it is required. + "req" +db.choice.opt.attribute = + + ## Indicates optionality. + [ a:defaultValue = "opt" ] attribute choice { db.choice.enumeration } +db.choice.req.attribute = + + ## Indicates optionality. + [ a:defaultValue = "req" ] attribute choice { db.choice.enumeration } +div { + db.arg.role.attribute = attribute role { text } + db.arg.rep.attribute = db.rep.attribute + db.arg.choice.attribute = db.choice.opt.attribute + db.arg.attlist = + db.arg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.arg.rep.attribute? + & db.arg.choice.attribute? + db.arg = + + ## An argument in a cmdsynopsis + element arg { + db.arg.attlist, + (db._text + | db.arg + | db.group + | db.option + | db.synopfragmentref + | db.sbr)* + } +} +div { + db.group.role.attribute = attribute role { text } + db.group.rep.attribute = db.rep.attribute + db.group.choice.attribute = db.choice.opt.attribute + db.group.attlist = + db.group.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.rep.attribute? + & db.group.choice.attribute? + db.group = + + ## A group of elements in a cmdsynopsis + element group { + db.group.attlist, + (db.arg + | db.group + | db.option + | db.synopfragmentref + | db.replaceable + | db.sbr)+ + } +} +div { + db.sbr.role.attribute = attribute role { text } + db.sbr.attlist = db.sbr.role.attribute? & db.common.attributes + db.sbr = + + ## An explicit line break in a command synopsis + element sbr { db.sbr.attlist, empty } +} +div { + db.synopfragment.role.attribute = attribute role { text } + db.synopfragment.attlist = + db.synopfragment.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.synopfragment = + + ## A portion of a cmdsynopsis broken out from the main body of the synopsis + element synopfragment { + db.synopfragment.attlist, (db.arg | db.group)+ + } +} +div { + db.synopfragmentref.role.attribute = attribute role { text } + db.synopfragmentref.attlist = + db.synopfragmentref.role.attribute? + & db.common.attributes + & db.linkend.attribute + db.synopfragmentref = + + ## A reference to a fragment of a command synopsis + [ + s:pattern [ + name = "Synopsis fragment type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:synopfragmentref" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'synopfragment' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on synopfragmentref must point to a synopfragment." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element synopfragmentref { db.synopfragmentref.attlist, text } +} +db.programming.inlines = + db.function + | db.parameter + | db.varname + | db.returnvalue + | db.type + | db.classname + | db.exceptionname + | db.interfacename + | db.methodname + | db.modifier + | db.initializer + | db.oo.inlines +db.oo.inlines = db.ooclass | db.ooexception | db.oointerface +db.synopsis.blocks = + (db.funcsynopsis + | db.classsynopsis + | db.methodsynopsis + | db.constructorsynopsis + | db.destructorsynopsis + | db.fieldsynopsis) + | db.cmdsynopsis +div { + db.synopsis.role.attribute = attribute role { text } + db.synopsis.label.attribute = db.label.attribute + db.synopsis.attlist = + db.synopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.synopsis.label.attribute? + db.synopsis = + + ## A general-purpose element for representing the syntax of commands or functions + element synopsis { db.synopsis.attlist, db.verbatim.contentmodel } +} +div { + db.funcsynopsis.role.attribute = attribute role { text } + db.funcsynopsis.attlist = + db.funcsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.funcsynopsis.info = db._info.title.forbidden + db.funcsynopsis = + + ## The syntax summary for a function definition + element funcsynopsis { + db.funcsynopsis.attlist, + db.funcsynopsis.info, + (db.funcsynopsisinfo | db.funcprototype)+ + } +} +div { + db.funcsynopsisinfo.role.attribute = attribute role { text } + db.funcsynopsisinfo.attlist = + db.funcsynopsisinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.funcsynopsisinfo = + + ## Information supplementing the funcdefs of a funcsynopsis + element funcsynopsisinfo { + db.funcsynopsisinfo.attlist, db.verbatim.contentmodel + } +} +div { + db.funcprototype.role.attribute = attribute role { text } + db.funcprototype.attlist = + db.funcprototype.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcprototype = + + ## The prototype of a function + element funcprototype { + db.funcprototype.attlist, + db.modifier*, + db.funcdef, + (db.void + | db.varargs + | ((db.paramdef | db.group.paramdef)+, db.varargs?)), + db.modifier* + } +} +div { + db.funcdef.role.attribute = attribute role { text } + db.funcdef.attlist = + db.funcdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcdef = + + ## A function (subroutine) name and its return type + element funcdef { + db.funcdef.attlist, (db._text | db.type | db.function)* + } +} +div { + db.function.role.attribute = attribute role { text } + db.function.attlist = + db.function.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.function = + + ## The name of a function or subroutine, as in a programming language + element function { db.function.attlist, db._text } +} +div { + db.void.role.attribute = attribute role { text } + db.void.attlist = + db.void.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.void = + + ## An empty element in a function synopsis indicating that the function in question takes no arguments + element void { db.void.attlist, empty } +} +div { + db.varargs.role.attribute = attribute role { text } + db.varargs.attlist = + db.varargs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varargs = + + ## An empty element in a function synopsis indicating a variable number of arguments + element varargs { db.varargs.attlist, empty } +} +div { + db.group.paramdef.role.attribute = attribute role { text } + db.group.paramdef.choice.attribute = db.choice.opt.attribute + db.group.paramdef.attlist = + db.group.paramdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.paramdef.choice.attribute? + db.group.paramdef = + + ## A group of parameters + element group { + db.group.paramdef.attlist, (db.paramdef | db.group.paramdef)+ + } +} +div { + db.paramdef.role.attribute = attribute role { text } + db.paramdef.choice.enumeration = + + ## Formatted to indicate that it is optional. + "opt" + | + ## Formatted to indicate that it is required. + "req" + db.paramdef.choice.attribute = + + ## Indicates optionality. + [ a:defaultValue = "opt" ] + attribute choice { db.paramdef.choice.enumeration } + db.paramdef.attlist = + db.paramdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.paramdef.choice.attribute? + db.paramdef = + + ## Information about a function parameter in a programming language + element paramdef { + db.paramdef.attlist, + (db._text + | db.initializer + | db.type + | db.parameter + | db.funcparams)* + } +} +div { + db.funcparams.role.attribute = attribute role { text } + db.funcparams.attlist = + db.funcparams.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcparams = + + ## Parameters for a function referenced through a function pointer in a synopsis + element funcparams { db.funcparams.attlist, db._text } +} +div { + db.classsynopsis.role.attribute = attribute role { text } + db.classsynopsis.class.enumeration = + + ## This is the synopsis of a class + "class" + | + ## This is the synopsis of an interface + "interface" + db.classsynopsis.class.attribute = + + ## Specifies the nature of the synopsis + attribute class { db.classsynopsis.class.enumeration } + db.classsynopsis.attlist = + db.classsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + & db.classsynopsis.class.attribute? + db.classsynopsis = + + ## The syntax summary for a class definition + element classsynopsis { + db.classsynopsis.attlist, + db.oo.inlines+, + (db.classsynopsisinfo + | db.methodsynopsis + | db.constructorsynopsis + | db.destructorsynopsis + | db.fieldsynopsis)* + } +} +div { + db.classsynopsisinfo.role.attribute = attribute role { text } + db.classsynopsisinfo.attlist = + db.classsynopsisinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.classsynopsisinfo = + + ## Information supplementing the contents of a classsynopsis + element classsynopsisinfo { + db.classsynopsisinfo.attlist, db.verbatim.contentmodel + } +} +div { + db.ooclass.role.attribute = attribute role { text } + db.ooclass.attlist = + db.ooclass.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.ooclass = + + ## A class in an object-oriented programming language + element ooclass { + db.ooclass.attlist, (db.package | db.modifier)*, db.classname + } +} +div { + db.oointerface.role.attribute = attribute role { text } + db.oointerface.attlist = + db.oointerface.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.oointerface = + + ## An interface in an object-oriented programming language + element oointerface { + db.oointerface.attlist, + (db.package | db.modifier)*, + db.interfacename + } +} +div { + db.ooexception.role.attribute = attribute role { text } + db.ooexception.attlist = + db.ooexception.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.ooexception = + + ## An exception in an object-oriented programming language + element ooexception { + db.ooexception.attlist, + (db.package | db.modifier)*, + db.exceptionname + } +} +db.modifier.xml.space.attribute = + + ## Can be used to indicate that whitespace in the modifier should be preserved (for multi-line annotations, for example). + attribute xml:space { + + ## Extra whitespace and line breaks must be preserved. + [ + # Ideally the definition of xml:space used on modifier would be + # different from the definition used on the verbatim elements. The + # verbatim elements forbid the use of xml:space="default" which + # wouldn't be a problem on modifier. But doing that causes the + # generated XSD schemas to be broken so I'm just reusing the existing + # definition for now. It won't be backwards incompatible to fix this + # problem in the future. + # | ## Extra whitespace and line breaks are not preserved. + # "default" + + ] + "preserve" + } +div { + db.modifier.role.attribute = attribute role { text } + db.modifier.attlist = + db.modifier.xml.space.attribute? + & db.modifier.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.modifier = + + ## Modifiers in a synopsis + element modifier { db.modifier.attlist, db._text } +} +div { + db.interfacename.role.attribute = attribute role { text } + db.interfacename.attlist = + db.interfacename.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.interfacename = + + ## The name of an interface + element interfacename { db.interfacename.attlist, db._text } +} +div { + db.exceptionname.role.attribute = attribute role { text } + db.exceptionname.attlist = + db.exceptionname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.exceptionname = + + ## The name of an exception + element exceptionname { db.exceptionname.attlist, db._text } +} +div { + db.fieldsynopsis.role.attribute = attribute role { text } + db.fieldsynopsis.attlist = + db.fieldsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.fieldsynopsis = + + ## The name of a field in a class definition + element fieldsynopsis { + db.fieldsynopsis.attlist, + db.modifier*, + db.type?, + db.varname, + db.initializer? + } +} +div { + db.initializer.role.attribute = attribute role { text } + db.initializer.attlist = + db.initializer.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.initializer.inlines = db._text | db.mathphrase | db.markup.inlines + db.initializer = + + ## The initializer for a fieldsynopsis + element initializer { + db.initializer.attlist, db.initializer.inlines* + } +} +div { + db.constructorsynopsis.role.attribute = attribute role { text } + db.constructorsynopsis.attlist = + db.constructorsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.constructorsynopsis = + + ## A syntax summary for a constructor + element constructorsynopsis { + db.constructorsynopsis.attlist, + db.modifier*, + db.methodname?, + ((db.methodparam | db.group.methodparam)+ | db.void?), + db.exceptionname* + } +} +div { + db.destructorsynopsis.role.attribute = attribute role { text } + db.destructorsynopsis.attlist = + db.destructorsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.destructorsynopsis = + + ## A syntax summary for a destructor + element destructorsynopsis { + db.destructorsynopsis.attlist, + db.modifier*, + db.methodname?, + ((db.methodparam | db.group.methodparam)+ | db.void?), + db.exceptionname* + } +} +div { + db.methodsynopsis.role.attribute = attribute role { text } + db.methodsynopsis.attlist = + db.methodsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.methodsynopsis = + + ## A syntax summary for a method + element methodsynopsis { + db.methodsynopsis.attlist, + db.modifier*, + (db.type | db.void)?, + db.methodname, + ((db.methodparam | db.group.methodparam)+ | db.void), + db.exceptionname*, + db.modifier* + } +} +div { + db.methodname.role.attribute = attribute role { text } + db.methodname.attlist = + db.methodname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.methodname = + + ## The name of a method + element methodname { db.methodname.attlist, db._text } +} +div { + db.methodparam.role.attribute = attribute role { text } + db.methodparam.rep.attribute = db.rep.attribute + db.methodparam.choice.attribute = db.choice.req.attribute + db.methodparam.attlist = + db.methodparam.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.methodparam.rep.attribute? + & db.methodparam.choice.attribute? + db.methodparam = + + ## Parameters to a method + element methodparam { + db.methodparam.attlist, + db.modifier*, + db.type?, + ((db.modifier*, db.parameter, db.initializer?) | db.funcparams), + db.modifier* + } +} +div { + db.group.methodparam.role.attribute = attribute role { text } + db.group.methodparam.choice.attribute = db.choice.opt.attribute + db.group.methodparam.attlist = + db.group.methodparam.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.methodparam.choice.attribute? + db.group.methodparam = + + ## A group of method parameters + element group { + db.group.methodparam.attlist, + (db.methodparam | db.group.methodparam)+ + } +} +div { + db.varname.role.attribute = attribute role { text } + db.varname.attlist = + db.varname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varname = + + ## The name of a variable + element varname { db.varname.attlist, db._text } +} +div { + db.returnvalue.role.attribute = attribute role { text } + db.returnvalue.attlist = + db.returnvalue.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.returnvalue = + + ## The value returned by a function + element returnvalue { db.returnvalue.attlist, db._text } +} +div { + db.type.role.attribute = attribute role { text } + db.type.attlist = + db.type.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.type = + + ## The classification of a value + element type { db.type.attlist, db._text } +} +div { + db.classname.role.attribute = attribute role { text } + db.classname.attlist = + db.classname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.classname = + + ## The name of a class, in the object-oriented programming sense + element classname { db.classname.attlist, db._text } +} +div { + db.programlisting.role.attribute = attribute role { text } + db.programlisting.width.attribute = db.width.characters.attribute + db.programlisting.attlist = + db.programlisting.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.programlisting.width.attribute? + db.programlisting = + + ## A literal listing of all or part of a program + element programlisting { + db.programlisting.attlist, db.verbatim.contentmodel + } +} +db.admonition.blocks = + db.caution | db.important | db.note | db.tip | db.warning +db.admonition.contentmodel = db._info.title.only, db.all.blocks+ +div { + db.caution.role.attribute = attribute role { text } + db.caution.attlist = + db.caution.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.caution = + + ## A note of caution + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caution { db.caution.attlist, db.admonition.contentmodel } +} +div { + db.important.role.attribute = attribute role { text } + db.important.attlist = + db.important.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.important = + + ## An admonition set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element important { + db.important.attlist, db.admonition.contentmodel + } +} +div { + db.note.role.attribute = attribute role { text } + db.note.attlist = + db.note.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.note = + + ## A message set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element note { db.note.attlist, db.admonition.contentmodel } +} +div { + db.tip.role.attribute = attribute role { text } + db.tip.attlist = + db.tip.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.tip = + + ## A suggestion to the user, set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element tip { db.tip.attlist, db.admonition.contentmodel } +} +div { + db.warning.role.attribute = attribute role { text } + db.warning.attlist = + db.warning.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.warning = + + ## An admonition set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element warning { db.warning.attlist, db.admonition.contentmodel } +} +db.error.inlines = + db.errorcode | db.errortext | db.errorname | db.errortype +div { + db.errorcode.role.attribute = attribute role { text } + db.errorcode.attlist = + db.errorcode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errorcode = + + ## An error code + element errorcode { db.errorcode.attlist, db._text } +} +div { + db.errorname.role.attribute = attribute role { text } + db.errorname.attlist = + db.errorname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errorname = + + ## An error name + element errorname { db.errorname.attlist, db._text } +} +div { + db.errortext.role.attribute = attribute role { text } + db.errortext.attlist = + db.errortext.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errortext = + + ## An error message. + element errortext { db.errortext.attlist, db._text } +} +div { + db.errortype.role.attribute = attribute role { text } + db.errortype.attlist = + db.errortype.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errortype = + + ## The classification of an error message + element errortype { db.errortype.attlist, db._text } +} +db.systemitem.inlines = db._text | db.co +div { + db.systemitem.class.enumeration = + + ## A daemon or other system process (syslogd) + "daemon" + | + ## A domain name (example.com) + "domainname" + | + ## An ethernet address (00:05:4E:49:FD:8E) + "etheraddress" + | + ## An event of some sort (SIGHUP) + "event" + | + ## An event handler of some sort (hangup) + "eventhandler" + | + ## A filesystem (ext3) + "filesystem" + | + ## A fully qualified domain name (my.example.com) + "fqdomainname" + | + ## A group name (wheel) + "groupname" + | + ## An IP address (127.0.0.1) + "ipaddress" + | + ## A library (libncurses) + "library" + | + ## A macro + "macro" + | + ## A netmask (255.255.255.192) + "netmask" + | + ## A newsgroup (comp.text.xml) + "newsgroup" + | + ## An operating system name (Hurd) + "osname" + | + ## A process (gnome-cups-icon) + "process" + | + ## A protocol (ftp) + "protocol" + | + ## A resource + "resource" + | + ## A security context (a role, permission, or security token, for example) + "securitycontext" + | + ## A server (mail.example.com) + "server" + | + ## A service (ppp) + "service" + | + ## A system name (hephaistos) + "systemname" + | + ## A user name (ndw) + "username" + db.systemitem.class-enum.attribute = + + ## Identifies the nature of the system item + attribute class { db.systemitem.class.enumeration }? + db.systemitem.class-other.attribute = + + ## Identifies the nature of the non-standard system item + attribute otherclass { xsd:NMTOKEN } + db.systemitem.class-other.attributes = + + ## Identifies the kind of systemitemgraphic identifier + attribute class { + + ## Indicates that the system item is some 'other' kind. + "other" + } + & db.systemitem.class-other.attribute + db.systemitem.class.attribute = + db.systemitem.class-enum.attribute + | db.systemitem.class-other.attributes + db.systemitem.role.attribute = attribute role { text } + db.systemitem.attlist = + db.systemitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.systemitem.class.attribute? + db.systemitem = + + ## A system-related item or term + element systemitem { db.systemitem.attlist, db.systemitem.inlines* } +} +div { + db.option.role.attribute = attribute role { text } + db.option.attlist = + db.option.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.option = + + ## An option for a software command + element option { db.option.attlist, db._text } +} +div { + db.optional.role.attribute = attribute role { text } + db.optional.attlist = + db.optional.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.optional = + + ## Optional information + element optional { db.optional.attlist, db._text } +} +div { + db.property.role.attribute = attribute role { text } + db.property.attlist = + db.property.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.property = + + ## A unit of data associated with some part of a computer system + element property { db.property.attlist, db._text } +} +div { + db.topic.status.attribute = db.status.attribute + db.topic.role.attribute = attribute role { text } + db.topic.type.attribute = + + ## Identifies the topic type + attribute type { text } + db.topic.attlist = + db.topic.role.attribute? + & db.topic.type.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.topic.status.attribute? + db.topic.info = db._info.title.req + db.topic = + + ## A modular unit of documentation not part of any particular narrative flow + element topic { + db.topic.attlist, + db.topic.info, + db.navigation.components*, + db.toplevel.blocks.or.sections, + db.navigation.components* + } +} +start = + db.assembly + | db.resources + | db.relationships + | db.transforms + | db.module +db.grammar.attribute = + + ## Identifies the markup grammar of a resource + attribute grammar { text } +div { + db.assembly.role.attribute = attribute role { text } + db.assembly.attlist = + db.assembly.role.attribute? & db.common.attributes + db.assembly.info = db._info + db.assembly = + + ## Defines the hierarchy and relationships for a collection of resources + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:assembly" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element assembly { + db.assembly.attlist, + db.assembly.info, + db.resources+, + db.structure*, + db.relationships*, + db.transforms? + } +} +div { + db.resources.role.attribute = attribute role { text } + db.resources.grammar.attribute = db.grammar.attribute + db.resources.attlist = + db.resources.role.attribute? + & db.resources.grammar.attribute? + & db.common.attributes + db.resources.info = db._info.title.forbidden + db.resources = + + ## Contains one or more resource objects that are managed by the assembly + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:resources" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element resources { + db.resources.attlist, + db.resources.info?, + (db.description*, db.resource+) + } +} +div { + db.resource.role.attribute = attribute role { text } + db.resource.fileref.attribute = + + ## Indentifies the location of the data by URI + attribute fileref { xsd:anyURI } + db.resource.grammar.attribute = db.grammar.attribute + db.resource.attlist = + db.resource.role.attribute? + & db.resource.grammar.attribute? + & db.common.attributes + db.resource = + + ## Identifies an object managed within the assembly + element resource { + db.resource.attlist, + db.resource.fileref.attribute, + db.description* + } +} +div { + db.structure.role.attribute = attribute role { text } + db.structure.type.attribute = + + ## Identifies the structure type of the structure + attribute type { xsd:NMTOKEN } + db.structure.resourceref.attribute = + + ## Indicates a single resource from which to construct this structure + attribute resourceref { xsd:IDREF } + db.structure.defaultformat.attribute = + + ## Identifies the default format of the structure + attribute defaultformat { xsd:NMTOKEN } + db.structure.renderas.attribute = + + ## Specifies the DocBook element to which this unit should be renamed + attribute renderas { xsd:QName } + db.structure.attlist = + db.structure.role.attribute? + & db.structure.type.attribute? + & db.structure.resourceref.attribute? + & db.structure.renderas.attribute? + & db.structure.defaultformat.attribute? + & db.common.attributes + db.structure.info = db.info? + db.structure = + + ## Describes the structure of a document + [ + s:pattern [ + name = "Specification of renderas" + "\x{a}" ~ + " " + s:rule [ + context = "db:structure" + "\x{a}" ~ + " " + s:assert [ + test = "@renderas and db:output/@renderas" + "The renderas attribute can be specified on either the structure or output, but not both." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element structure { + db.structure.attlist, + (db.output* & db.filterin? & db.filterout? & db.structure.info), + db.merge?, + db.revhistory?, + db.module+ + } +} +div { + db.output.role.attribute = attribute role { text } + db.output.chunk.attribute = + + ## Specifies chunking for this module + [ a:defaultValue = "auto" ] + attribute chunk { db.module.chunk.enumeration } + db.output.format.attribute = + + ## Identifies the format of the module or structure + attribute format { xsd:NMTOKENS } + db.output.file.attribute = + + ## Specifies the output file for this module or structure + attribute file { xsd:anyURI } + db.output.renderas.attribute = + + ## Specifies the DocBook element to which this unit should be renamed + attribute renderas { xsd:QName } + db.output.grammar.attribute = db.grammar.attribute + db.output.transform.attribute = + + ## Specifies the transformation that should be applied to this unit + attribute transform { xsd:NMTOKEN } + db.output.suppress.attribute = + + ## Indicates whether or not this unit should be suppressed + attribute suppress { xsd:boolean } + db.output.attlist = + db.output.role.attribute? + & db.common.attributes + & db.output.chunk.attribute? + & db.output.format.attribute? + & db.output.file.attribute? + & db.output.renderas.attribute? + & db.output.grammar.attribute? + & db.output.transform.attribute? + & db.output.suppress.attribute? + db.output = + + ## Specify an output format and/or file name and/or renderas + element output { db.output.attlist, empty } +} +div { + db.merge.role.attribute = attribute role { text } + db.merge.resourceref.attribute = + + ## Indicates a single resource from which to read merged info + attribute resourceref { xsd:IDREF } + db.merge.attlist = + db.merge.role.attribute? + & db.merge.resourceref.attribute? + & db.common.attributes + db.merge = + + ## A wrapper for information that a module overrides in the resource it includes + element merge { db.merge.attlist, (db._title & db.info.elements*) } +} +div { + db.module.role.attribute = attribute role { text } + db.module.chunk.enumeration = + + ## This module will be in a chunk + "true" + | + ## This module will not be in a chunk + "false" + | + ## Chunking of this module depends on the overall chunking algorithm + "auto" + db.module.chunk.attribute = + + ## Specifies chunking for this module + [ a:defaultValue = "auto" ] + attribute chunk { db.module.chunk.enumeration } + db.module.resourceref.attribute = + + ## Indicates a single resource from which to construct this module + attribute resourceref { xsd:IDREF } + db.module.omittitles.attribute = + + ## Indicates if titles should be omitted when including a resource + attribute omittitles { xsd:boolean }? + db.module.contentonly.attribute = + + ## Indicates if only the content should be copied when including a resource + attribute contentonly { xsd:boolean }? + db.module.renderas.attribute = + + ## Specifies the DocBook element to which this unit should be renamed + attribute renderas { xsd:QName } + db.module.attlist = + db.module.role.attribute? + & db.module.chunk.attribute? + & db.module.resourceref.attribute? + & db.module.omittitles.attribute? + & db.module.contentonly.attribute? + & db.module.renderas.attribute? + & db.common.attributes + db.module.info = db.info? + db.module = + + ## A modular component within a structure + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:module" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Specification of renderas" + "\x{a}" ~ + " " + s:rule [ + context = "db:module" + "\x{a}" ~ + " " + s:assert [ + test = "@renderas and db:output/@renderas" + "The renderas attribute can be specified on either the structure or output, but not both." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element module { + db.module.attlist, + ((db.output | db.filterin | db.filterout)*, + db.module.info, + db.merge?, + db.module*) + } +} +div { + db.filterout.role.attribute = attribute role { text } + db.filterout.attlist = + db.filterout.role.attribute? & db.common.attributes + db.filterout = + + ## Elements with effectivity attributes matching this element are suppressed + element filterout { db.filterout.attlist, empty } +} +div { + db.filterin.role.attribute = attribute role { text } + db.filterin.attlist = + db.filterin.role.attribute? & db.common.attributes + db.filterin = + + ## Elements with effectivity attributes matching this element are allowed + element filterin { db.filterin.attlist, empty } +} +div { + db.relationships.role.attribute = attribute role { text } + db.relationships.type.attribute = + + ## Identifies the type of the contained relationships + attribute type { xsd:NMTOKENS } + db.relationships.attlist = + db.relationships.role.attribute? + & db.relationships.type.attribute? + & db.common.attributes + db.relationships.info = db._info + db.relationships = + + ## Groups relationship elements to define associations between resources + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:relationships" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element relationships { + db.relationships.attlist, + db.relationships.info, + (db.relationship | db.instance)+ + } +} +div { + db.relationship.role.attribute = attribute role { text } + db.relationship.type.attribute = + + ## Identifies the type of the relationship + attribute type { xsd:NMTOKEN } + db.relationship.attlist = + db.relationship.role.attribute? + & db.relationship.type.attribute? + & db.linkend.attribute? + & db.common.attributes + db.relationship = + + ## A relationship associates one or more resources + element relationship { + db.relationship.attlist, db.association, db.instance+ + } +} +div { + db.association.role.attribute = attribute role { text } + db.association.attlist = + db.association.role.attribute? + & db.linkend.attribute? + & db.common.attributes + db.association = + + ## Identifies the type of relationship between one or more resources + element association { db.association.attlist, text? } +} +div { + db.instance.role.attribute = attribute role { text } + db.instance.linking.attribute = + + ## Specifies the type of link for this instance + attribute linking { xsd:NMTOKENS } + db.instance.attlist = + db.instance.role.attribute? + & db.instance.linking.attribute? + & db.common.attributes + db.instance = + + ## Identifies a resource that is part of a relationship + element instance { + db.instance.attlist, db.linkend.attribute, empty + } +} +div { + db.transforms.role.attribute = attribute role { text } + db.transforms.attlist = + db.transforms.role.attribute? & db.common.attributes + db.transforms.info = db._info + db.transforms = + + ## List of transforms for converting from non-DocBook schemas + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:transforms" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element transforms { + db.transforms.attlist, db.transforms.info, db.transform+ + } +} +div { + db.transform.role.attribute = attribute role { text } + db.transform.grammar.attribute = db.grammar.attribute + db.transform.fileref.attribute = + + ## Indentifies the location of the data by URI + attribute fileref { xsd:anyURI } + db.transform.name.attribute = + + ## Identifies the location of the data by reference + attribute name { xsd:NMTOKEN } + db.transform.attlist = + db.transform.role.attribute? + & (db.transform.grammar.attribute | db.transform.name.attribute) + & db.transform.fileref.attribute + & db.common.attributes + db.transform = + + ## Identifies a transform for converting from a non-DocBook schema + element transform { db.transform.attlist, empty } +} +div { + db.description.role.attribute = attribute role { text } + db.description.attlist = + db.description.role.attribute? & db.common.attributes + db.description = + + ## A description of a resource or resources + element description { db.description.attlist, db._text } +} diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/schema/docbook51b7.rnc b/apache-fop/src/test/resources/docbook-xsl/assembly/schema/docbook51b7.rnc new file mode 100755 index 0000000000..3c396cf0e3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/schema/docbook51b7.rnc @@ -0,0 +1,12976 @@ +namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0" +namespace ctrl = "http://nwalsh.com/xmlns/schema-control/" +default namespace db = "http://docbook.org/ns/docbook" +namespace html = "http://www.w3.org/1999/xhtml" +namespace mml = "http://www.w3.org/1998/Math/MathML" +namespace rng = "http://relaxng.org/ns/structure/1.0" +namespace s = "http://purl.oclc.org/dsdl/schematron" +namespace svg = "http://www.w3.org/2000/svg" +namespace xlink = "http://www.w3.org/1999/xlink" + +# This file is part of DocBook V5.1b7 +# +# Copyright 1992-2011 HaL Computer Systems, Inc., +# O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software +# Corporation, Norman Walsh, Sun Microsystems, Inc., and the +# Organization for the Advancement of Structured Information +# Standards (OASIS). +# +# Permission to use, copy, modify and distribute the DocBook schema +# and its accompanying documentation for any purpose and without fee +# is hereby granted in perpetuity, provided that the above copyright +# notice and this paragraph appear in all copies. The copyright +# holders make no representation about the suitability of the schema +# for any purpose. It is provided "as is" without expressed or implied +# warranty. +# +# If you modify the DocBook schema in any way, label your schema as a +# variant of DocBook. See the reference documentation +# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# for more information. +# +# Please direct all questions, bug reports, or suggestions for changes +# to the docbook@lists.oasis-open.org mailing list. For more +# information, see http://www.oasis-open.org/docbook/. +# +# ====================================================================== +start = + (db.set + | db.book + | db.divisions + | db.components + | db.navigation.components + | db.section + | db.para) + | (db.abstract + | db.mediaobject.content + | db.audiodata + | db.imagedata + | db.textdata + | db.videodata + | db.caption + | db.publishing.blocks + | db.formal.blocks + | db.informal.blocks + | db.formalpara + | db.inlinemediaobject + | db.list.blocks + | db.legalnotice + | db.verbatim.blocks + | db.graphic.blocks + | db.personblurb + | db.revhistory + | db.simpara + | db.step + | db.stepalternatives) + | (db.partintro | db.simplesect) + | db.annotation + | (db.sect1 | db.sect2 | db.sect3 | db.sect4 | db.sect5) + | (db.refentry | db.refsection | db.refsynopsisdiv) + | (db.refsect1 | db.refsect2 | db.refsect3) + | (db.glossary | db.glossdiv | db.glosslist) + | (db.bibliodiv | db.bibliolist) + | (db.setindex | db.index | db.indexdiv) + | (db.toc | db.tocdiv) + | (db.task | db.taskprerequisites | db.taskrelated | db.tasksummary) + | (db.calloutlist + | db.programlistingco + | db.screenco + | db.imageobjectco) + | (db.productionset | db.constraintdef) + | (db.msg + | db.msgexplan + | db.msgmain + | db.msgrel + | db.msgset + | db.msgsub) + | (db.qandadiv | db.qandaentry | db.qandaset) + | (db.equation | db.informalequation) + | db.cmdsynopsis + | (db.synopsis.blocks | db.funcsynopsisinfo | db.classsynopsisinfo) + | db.admonition.blocks + | db.topic +div { + db._any.attribute = + + ## Any attribute, including any attribute in any namespace. + attribute * { text } + db._any = + + ## Any element from almost any namespace + element * - (db:* | html:*) { + (db._any.attribute | text | db._any)* + } +} +db.arch.attribute = + + ## Designates the computer or chip architecture to which the element applies + attribute arch { text } +db.audience.attribute = + + ## Designates the intended audience to which the element applies, for example, system administrators, programmers, or new users. + attribute audience { text } +db.condition.attribute = + + ## provides a standard place for application-specific effectivity + attribute condition { text } +db.conformance.attribute = + + ## Indicates standards conformance characteristics of the element + attribute conformance { text } +db.os.attribute = + + ## Indicates the operating system to which the element is applicable + attribute os { text } +db.revision.attribute = + + ## Indicates the editorial revision to which the element belongs + attribute revision { text } +db.security.attribute = + + ## Indicates something about the security level associated with the element to which it applies + attribute security { text } +db.userlevel.attribute = + + ## Indicates the level of user experience for which the element applies + attribute userlevel { text } +db.vendor.attribute = + + ## Indicates the computer vendor to which the element applies. + attribute vendor { text } +db.wordsize.attribute = + + ## Indicates the word size (width in bits) of the computer architecture to which the element applies + attribute wordsize { text } +db.effectivity.attributes = + db.arch.attribute? + & db.audience.attribute? + & db.condition.attribute? + & db.conformance.attribute? + & db.os.attribute? + & db.revision.attribute? + & db.security.attribute? + & db.userlevel.attribute? + & db.vendor.attribute? + & db.wordsize.attribute? +db.endterm.attribute = + + ## Points to the element whose content is to be used as the text of the link + attribute endterm { xsd:IDREF } +db.linkend.attribute = + + ## Points to an internal link target by identifying the value of its xml:id attribute + attribute linkend { xsd:IDREF } +db.linkends.attribute = + + ## Points to one or more internal link targets by identifying the value of their xml:id attributes + attribute linkends { xsd:IDREFS } +db.xlink.href.attribute = + + ## Identifies a link target with a URI + attribute xlink:href { xsd:anyURI } +db.xlink.simple.type.attribute = + + ## Identifies the XLink link type + attribute xlink:type { + + ## An XLink simple link type + "simple" + } +db.xlink.role.attribute = + + ## Identifies the XLink role of the link + attribute xlink:role { xsd:anyURI } +db.xlink.arcrole.attribute = + + ## Identifies the XLink arcrole of the link + attribute xlink:arcrole { xsd:anyURI } +db.xlink.title.attribute = + + ## Identifies the XLink title of the link + attribute xlink:title { text } +db.xlink.show.enumeration = + + ## An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context. + "new" + | + ## An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded. + "replace" + | + ## An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource. + "embed" + | + ## The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior. + "other" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + "none" +db.xlink.show.attribute = + + ## Identifies the XLink show behavior of the link + attribute xlink:show { db.xlink.show.enumeration } +db.xlink.actuate.enumeration = + + ## An application should traverse to the ending resource immediately on loading the starting resource. + "onLoad" + | + ## An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. + "onRequest" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior. + "other" + | + ## The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + "none" +db.xlink.actuate.attribute = + + ## Identifies the XLink actuate behavior of the link + attribute xlink:actuate { db.xlink.actuate.enumeration } +db.xlink.simple.link.attributes = + db.xlink.simple.type.attribute? + & db.xlink.href.attribute? + & db.xlink.role.attribute? + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? +db.xlink.attributes = + db.xlink.simple.link.attributes + | (db.xlink.extended.link.attributes + | db.xlink.locator.link.attributes + | db.xlink.arc.link.attributes + | db.xlink.resource.link.attributes + | db.xlink.title.link.attributes) +db.xml.id.attribute = + + ## Identifies the unique ID value of the element + attribute xml:id { xsd:ID } +db.version.attribute = + + ## Specifies the DocBook version of the element and its descendants + attribute version { text } +db.xml.lang.attribute = + + ## Specifies the natural language of the element and its descendants + attribute xml:lang { text } +db.xml.base.attribute = + + ## Specifies the base URI of the element and its descendants + attribute xml:base { xsd:anyURI } +db.remap.attribute = + + ## Provides the name or similar semantic identifier assigned to the content in some previous markup scheme + attribute remap { text } +db.xreflabel.attribute = + + ## Provides the text that is to be generated for a cross reference to the element + attribute xreflabel { text } +db.xrefstyle.attribute = + + ## Specifies a keyword or keywords identifying additional style information + attribute xrefstyle { text } +db.revisionflag.enumeration = + + ## The element has been changed. + "changed" + | + ## The element is new (has been added to the document). + "added" + | + ## The element has been deleted. + "deleted" + | + ## Explicitly turns off revision markup for this element. + "off" +db.revisionflag.attribute = + + ## Identifies the revision status of the element + attribute revisionflag { db.revisionflag.enumeration } +db.dir.enumeration = + + ## Left-to-right text + "ltr" + | + ## Right-to-left text + "rtl" + | + ## Left-to-right override + "lro" + | + ## Right-to-left override + "rlo" +db.dir.attribute = + + ## Identifies the direction of text in an element + attribute dir { db.dir.enumeration } +db.common.base.attributes = + db.version.attribute? + & db.xml.lang.attribute? + & db.xml.base.attribute? + & db.remap.attribute? + & db.xreflabel.attribute? + & db.revisionflag.attribute? + & db.dir.attribute? + & db.effectivity.attributes +db.common.attributes = + db.xml.id.attribute? + & db.common.base.attributes + & db.annotations.attribute? +db.common.idreq.attributes = + db.xml.id.attribute + & db.common.base.attributes + & db.annotations.attribute? +db.common.linking.attributes = + (db.linkend.attribute | db.xlink.attributes)? +db.common.req.linking.attributes = + db.linkend.attribute | db.xlink.attributes +db.common.data.attributes = + + ## Specifies the format of the data + attribute format { text }?, + ( + ## Indentifies the location of the data by URI + attribute fileref { xsd:anyURI } + | + ## Identifies the location of the data by external identifier (entity name) + attribute entityref { xsd:ENTITY }) +db.verbatim.continuation.enumeration = + + ## Line numbering continues from the immediately preceding element with the same name. + "continues" + | + ## Line numbering restarts (begins at 1, usually). + "restarts" +db.verbatim.continuation.attribute = + + ## Determines whether line numbering continues from the previous element or restarts. + attribute continuation { db.verbatim.continuation.enumeration } +db.verbatim.linenumbering.enumeration = + + ## Lines are numbered. + "numbered" + | + ## Lines are not numbered. + "unnumbered" +db.verbatim.linenumbering.attribute = + + ## Determines whether lines are numbered. + attribute linenumbering { db.verbatim.linenumbering.enumeration } +db.verbatim.startinglinenumber.attribute = + + ## Specifies the initial line number. + attribute startinglinenumber { xsd:integer } +db.verbatim.language.attribute = + + ## Identifies the language (i.e. programming language) of the verbatim content. + attribute language { text } +db.verbatim.xml.space.attribute = + + ## Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not. + attribute xml:space { + + ## Whitespace must be preserved. + "preserve" + } +db.verbatim.common.attributes = + db.verbatim.continuation.attribute? + & db.verbatim.linenumbering.attribute? + & db.verbatim.startinglinenumber.attribute? + & db.verbatim.xml.space.attribute? +db.verbatim.attributes = + db.verbatim.common.attributes & db.verbatim.language.attribute? +db.label.attribute = + + ## Specifies an identifying string for presentation purposes + attribute label { text } +db.width.characters.attribute = + + ## Specifies the width (in characters) of the element + attribute width { xsd:nonNegativeInteger } +db.spacing.enumeration = + + ## The spacing should be "compact". + "compact" + | + ## The spacing should be "normal". + "normal" +db.spacing.attribute = + + ## Specifies (a hint about) the spacing of the content + attribute spacing { db.spacing.enumeration } +db.pgwide.enumeration = + + ## The element should be rendered in the current text flow (with the flow column width). + "0" + | + ## The element should be rendered across the full text page. + "1" +db.pgwide.attribute = + + ## Indicates if the element is rendered across the column or the page + attribute pgwide { db.pgwide.enumeration } +db.language.attribute = + + ## Identifies the language (i.e. programming language) of the content. + attribute language { text } +db.performance.enumeration = + + ## The content describes an optional step or steps. + "optional" + | + ## The content describes a required step or steps. + "required" +db.performance.attribute = + + ## Specifies if the content is required or optional. + attribute performance { db.performance.enumeration } +db.floatstyle.attribute = + + ## Specifies style information to be used when rendering the float + attribute floatstyle { text } +db.width.attribute = + + ## Specifies the width of the element + attribute width { text } +db.depth.attribute = + + ## Specifies the depth of the element + attribute depth { text } +db.contentwidth.attribute = + + ## Specifies the width of the content rectangle + attribute contentwidth { text } +db.contentdepth.attribute = + + ## Specifies the depth of the content rectangle + attribute contentdepth { text } +db.scalefit.enumeration = + + ## False (do not scale-to-fit; anamorphic scaling may occur) + "0" + | + ## True (scale-to-fit; anamorphic scaling is forbidden) + "1" +db.scale.attribute = + + ## Specifies the scaling factor + attribute scale { xsd:positiveInteger } +db.classid.attribute = + + ## Specifies a classid for a media object player + attribute classid { text } +db.autoplay.attribute = + + ## Specifies the autoplay setting for a media object player + attribute autoplay { text } +db.halign.enumeration = + + ## Centered horizontally + "center" + | + ## Aligned horizontally on the specified character + "char" + | + ## Fully justified (left and right margins or edges) + "justify" + | + ## Left aligned + "left" + | + ## Right aligned + "right" +db.valign.enumeration = + + ## Aligned on the bottom of the region + "bottom" + | + ## Centered vertically + "middle" + | + ## Aligned on the top of the region + "top" +db.biblio.class.enumeration = + + ## A digital object identifier. + "doi" + | + ## An international standard book number. + "isbn" + | + ## An international standard technical report number (ISO 10444). + "isrn" + | + ## An international standard serial number. + "issn" + | + ## An international standard text code. + "istc" + | + ## A Library of Congress reference number. + "libraryofcongress" + | + ## A publication number (an internal number or possibly organizational standard). + "pubsnumber" + | + ## A Uniform Resource Identifier + "uri" +db.biblio.class-enum.attribute = + + ## Identifies the kind of bibliographic identifier + attribute class { db.biblio.class.enumeration }? +db.biblio.class-other.attribute = + + ## Identifies the nature of the non-standard bibliographic identifier + attribute otherclass { xsd:NMTOKEN } +db.biblio.class-other.attributes = + + ## Identifies the kind of bibliographic identifier + attribute class { + + ## Indicates that the identifier is some 'other' kind. + "other" + } + & db.biblio.class-other.attribute +db.biblio.class.attribute = + db.biblio.class-enum.attribute | db.biblio.class-other.attributes +db.ubiq.inlines = + (db.inlinemediaobject + | db.remark + | db.link.inlines + | db.alt + | db.trademark + | # below, effectively the publishing inlines (as of 5.0) + db.abbrev + | db.acronym + | db.date + | db._emphasis + | db.footnote + | db.footnoteref + | db._foreignphrase + | db._phrase + | db._quote + | db.subscript + | db.superscript + | db.wordasword) + | db.annotation + | (db._firstterm | db._glossterm) + | db.indexterm + | db.coref +db._text = (text | db.ubiq.inlines | db._phrase | db.replaceable)* +db._title = db.title? & db.titleabbrev? & db.subtitle? +db._title.req = db.title & db.titleabbrev? & db.subtitle? +db._title.only = db.title? & db.titleabbrev? +db._title.onlyreq = db.title & db.titleabbrev? +db._info = (db._title, db.titleforbidden.info?) | db.info? +db._info.title.req = + (db._title.req, db.titleforbidden.info?) | db.titlereq.info +db._info.title.only = + (db._title.only, db.titleforbidden.info?) | db.titleonly.info +db._info.title.onlyreq = + (db._title.onlyreq, db.titleforbidden.info?) | db.titleonlyreq.info +db._info.title.forbidden = db.titleforbidden.info? +db.all.inlines = + text + | db.ubiq.inlines + | db.general.inlines + | db.domain.inlines + | db.extension.inlines +db.general.inlines = + db.publishing.inlines + | db.product.inlines + | db.bibliography.inlines + | db.graphic.inlines + | db.indexing.inlines + | db.link.inlines +db.domain.inlines = + db.technical.inlines + | db.math.inlines + | db.markup.inlines + | db.gui.inlines + | db.keyboard.inlines + | db.os.inlines + | db.programming.inlines + | db.error.inlines +db.technical.inlines = + (db.replaceable | db.package | db.parameter) + | db.termdef + | db.nonterminal + | (db.systemitem | db.option | db.optional | db.property) +db.product.inlines = + db.trademark + | (db.productnumber + | db.productname + | db.database + | db.application + | db.hardware) +db.bibliography.inlines = + db.citation + | db.citerefentry + | db.citetitle + | db.citebiblioid + | db.author + | db.person + | db.personname + | db.org + | db.orgname + | db.editor + | db.jobtitle +db.publishing.inlines = + (db.abbrev + | db.acronym + | db.date + | db.emphasis + | db.footnote + | db.footnoteref + | db.foreignphrase + | db.phrase + | db.quote + | db.subscript + | db.superscript + | db.wordasword) + | db.glossary.inlines + | db.coref +db.graphic.inlines = db.inlinemediaobject +db.indexing.inlines = notAllowed | db.indexterm +db.link.inlines = + (db.xref | db.link | db.olink | db.anchor) | db.biblioref +db.extension.inlines = notAllowed +db.nopara.blocks = + (db.list.blocks + | db.formal.blocks + | db.informal.blocks + | db.publishing.blocks + | db.graphic.blocks + | db.technical.blocks + | db.verbatim.blocks + | db.bridgehead + | db.remark + | db.revhistory) + | db.indexterm + | db.synopsis.blocks + | db.admonition.blocks +db.para.blocks = db.anchor | db.para | db.formalpara | db.simpara +db.all.blocks = + (db.nopara.blocks | db.para.blocks | db.extension.blocks) + | db.annotation +db.formal.blocks = (db.example | db.figure | db.table) | db.equation +db.informal.blocks = + (db.informalexample | db.informalfigure | db.informaltable) + | db.informalequation +db.publishing.blocks = + db.sidebar | db.blockquote | db.address | db.epigraph +db.graphic.blocks = db.mediaobject | db.screenshot +db.technical.blocks = + db.procedure + | db.task + | (db.productionset | db.constraintdef) + | db.msgset +db.list.blocks = + (db.itemizedlist + | db.orderedlist + | db.procedure + | db.simplelist + | db.variablelist + | db.segmentedlist) + | db.glosslist + | db.bibliolist + | db.calloutlist + | db.qandaset +db.verbatim.blocks = + (db.screen | db.literallayout) + | (db.programlistingco | db.screenco) + | (db.programlisting | db.synopsis) +db.extension.blocks = notAllowed +db.info.extension = db._any +db.info.elements = + (db.abstract + | db.address + | db.artpagenums + | db.author + | db.authorgroup + | db.authorinitials + | db.bibliocoverage + | db.biblioid + | db.bibliosource + | db.collab + | db.confgroup + | db.contractsponsor + | db.contractnum + | db.copyright + | db.cover + | db.date + | db.edition + | db.editor + | db.issuenum + | db.keywordset + | db.legalnotice + | db.mediaobject + | db.org + | db.orgname + | db.othercredit + | db.pagenums + | db.printhistory + | db.pubdate + | db.publisher + | db.publishername + | db.releaseinfo + | db.revhistory + | db.seriesvolnums + | db.subjectset + | db.volumenum + | db.info.extension) + | db.annotation + | db.extendedlink + | (db.bibliomisc | db.bibliomset | db.bibliorelation | db.biblioset) + | db.itermset + | (db.productname | db.productnumber) +db.bibliographic.elements = + db.info.elements + | db.publishing.inlines + | db.citerefentry + | db.citetitle + | db.citebiblioid + | db.person + | db.personblurb + | db.personname + | db.subtitle + | db.title + | db.titleabbrev +div { + db.title.role.attribute = attribute role { text } + db.title.attlist = + db.title.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.title = + + ## The text of the title of a section of a document or of a formal block-level element + element title { db.title.attlist, db.all.inlines* } +} +div { + db.titleabbrev.role.attribute = attribute role { text } + db.titleabbrev.attlist = + db.titleabbrev.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.titleabbrev = + + ## The abbreviation of a title + element titleabbrev { db.titleabbrev.attlist, db.all.inlines* } +} +div { + db.subtitle.role.attribute = attribute role { text } + db.subtitle.attlist = + db.subtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subtitle = + + ## The subtitle of a document + element subtitle { db.subtitle.attlist, db.all.inlines* } +} +div { + db.info.role.attribute = attribute role { text } + db.info.attlist = db.info.role.attribute? & db.common.attributes + db.info = + + ## A wrapper for information about a component or other block + element info { db.info.attlist, (db._title & db.info.elements*) } +} +div { + db.titlereq.info.role.attribute = attribute role { text } + db.titlereq.info.attlist = + db.titlereq.info.role.attribute? & db.common.attributes + db.titlereq.info = + + ## A wrapper for information about a component or other block with a required title + element info { + db.titlereq.info.attlist, (db._title.req & db.info.elements*) + } +} +div { + db.titleonly.info.role.attribute = attribute role { text } + db.titleonly.info.attlist = + db.titleonly.info.role.attribute? & db.common.attributes + db.titleonly.info = + + ## A wrapper for information about a component or other block with only a title + element info { + db.titleonly.info.attlist, (db._title.only & db.info.elements*) + } +} +div { + db.titleonlyreq.info.role.attribute = attribute role { text } + db.titleonlyreq.info.attlist = + db.titleonlyreq.info.role.attribute? & db.common.attributes + db.titleonlyreq.info = + + ## A wrapper for information about a component or other block with only a required title + element info { + db.titleonlyreq.info.attlist, + (db._title.onlyreq & db.info.elements*) + } +} +div { + db.titleforbidden.info.role.attribute = attribute role { text } + db.titleforbidden.info.attlist = + db.titleforbidden.info.role.attribute? & db.common.attributes + db.titleforbidden.info = + + ## A wrapper for information about a component or other block without a title + element info { db.titleforbidden.info.attlist, db.info.elements* } +} +div { + db.subjectset.role.attribute = attribute role { text } + db.subjectset.scheme.attribute = + + ## Identifies the controlled vocabulary used by this set's terms + attribute scheme { xsd:NMTOKEN } + db.subjectset.attlist = + db.subjectset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.subjectset.scheme.attribute? + db.subjectset = + + ## A set of terms describing the subject matter of a document + element subjectset { db.subjectset.attlist, db.subject+ } +} +div { + db.subject.role.attribute = attribute role { text } + db.subject.weight.attribute = + + ## Specifies a ranking for this subject relative to other subjects in the same set + attribute weight { text } + db.subject.attlist = + db.subject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.subject.weight.attribute? + db.subject = + + ## One of a group of terms describing the subject matter of a document + element subject { db.subject.attlist, db.subjectterm+ } +} +div { + db.subjectterm.role.attribute = attribute role { text } + db.subjectterm.attlist = + db.subjectterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subjectterm = + + ## A term in a group of terms describing the subject matter of a document + element subjectterm { db.subjectterm.attlist, text } +} +div { + db.keywordset.role.attribute = attribute role { text } + db.keywordset.attlist = + db.keywordset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keywordset = + + ## A set of keywords describing the content of a document + element keywordset { db.keywordset.attlist, db.keyword+ } +} +div { + db.keyword.role.attribute = attribute role { text } + db.keyword.attlist = + db.keyword.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keyword = + + ## One of a set of keywords describing the content of a document + element keyword { db.keyword.attlist, text } +} +db.table.choice = notAllowed | db.cals.table | db.html.table +db.informaltable.choice = + notAllowed | db.cals.informaltable | db.html.informaltable +db.table = db.table.choice +db.informaltable = db.informaltable.choice +div { + db.procedure.role.attribute = attribute role { text } + db.procedure.attlist = + db.procedure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.procedure.info = db._info.title.only + db.procedure = + + ## A list of operations to be performed in a well-defined sequence + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:procedure" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element procedure { + db.procedure.attlist, db.procedure.info, db.all.blocks*, db.step+ + } +} +div { + db.step.role.attribute = attribute role { text } + db.step.attlist = + db.step.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.step.info = db._info.title.only + # This content model is blocks*, step|stepalternatives, blocks* but + # expressed this way it avoids UPA issues in XSD and DTD versions + db.step = + + ## A unit of action in a procedure + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:step" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element step { + db.step.attlist, + db.step.info, + ((db.all.blocks+, + ((db.substeps | db.stepalternatives), db.all.blocks*)?) + | ((db.substeps | db.stepalternatives), db.all.blocks*)) + } +} +div { + db.stepalternatives.role.attribute = attribute role { text } + db.stepalternatives.attlist = + db.stepalternatives.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.stepalternatives.info = db._info.title.forbidden + db.stepalternatives = + + ## Alternative steps in a procedure + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:stepalternatives" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element stepalternatives { + db.stepalternatives.attlist, db.stepalternatives.info, db.step+ + } +} +div { + db.substeps.role.attribute = attribute role { text } + db.substeps.attlist = + db.substeps.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.performance.attribute? + db.substeps = + + ## A wrapper for steps that occur within steps in a procedure + element substeps { db.substeps.attlist, db.step+ } +} +div { + db.sidebar.floatstyle.attribute = db.floatstyle.attribute + db.sidebar.role.attribute = attribute role { text } + db.sidebar.attlist = + db.sidebar.role.attribute? + & db.sidebar.floatstyle.attribute? + & db.common.attributes + & db.common.linking.attributes + db.sidebar.info = db._info + db.sidebar = + + ## A portion of a document that is isolated from the main narrative flow + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:sidebar" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of sidebar" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sidebar" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sidebar { + db.sidebar.attlist, db.sidebar.info, db.all.blocks+ + } +} +div { + db.abstract.role.attribute = attribute role { text } + db.abstract.attlist = + db.abstract.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.abstract.info = db._info.title.only + db.abstract = + + ## A summary + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:abstract" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element abstract { + db.abstract.attlist, db.abstract.info, db.para.blocks+ + } +} +div { + db.personblurb.role.attribute = attribute role { text } + db.personblurb.attlist = + db.personblurb.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.personblurb.info = db._info.title.only + db.personblurb = + + ## A short description or note about a person + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:personblurb" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element personblurb { + db.personblurb.attlist, db.personblurb.info, db.para.blocks+ + } +} +div { + db.blockquote.role.attribute = attribute role { text } + db.blockquote.attlist = + db.blockquote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.blockquote.info = db._info.title.only + db.blockquote = + + ## A quotation set off from the main text + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:blockquote" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element blockquote { + db.blockquote.attlist, + db.blockquote.info, + db.attribution?, + db.all.blocks+ + } +} +div { + db.attribution.role.attribute = attribute role { text } + db.attribution.attlist = + db.attribution.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.attribution = + + ## The source of a block quote or epigraph + element attribution { + db.attribution.attlist, + (db._text + | db.person + | db.personname + | db.citetitle + | db.citation)* + } +} +div { + db.bridgehead.renderas.enumeration = + + ## Render as a first-level section + "sect1" + | + ## Render as a second-level section + "sect2" + | + ## Render as a third-level section + "sect3" + | + ## Render as a fourth-level section + "sect4" + | + ## Render as a fifth-level section + "sect5" + db.bridgehead.renderas-enum.attribute = + + ## Indicates how the bridge head should be rendered + attribute renderas { db.bridgehead.renderas.enumeration }? + db.bridgehead.renderas-other.attribute = + + ## Identifies the nature of the non-standard rendering + attribute otherrenderas { xsd:NMTOKEN } + db.bridgehead.renderas-other.attributes = + + ## Indicates how the bridge head should be rendered + attribute renderas { + + ## Identifies a non-standard rendering + "other" + } + & db.bridgehead.renderas-other.attribute + db.bridgehead.renderas.attribute = + db.bridgehead.renderas-enum.attribute + | db.bridgehead.renderas-other.attributes + db.bridgehead.role.attribute = attribute role { text } + db.bridgehead.attlist = + db.bridgehead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bridgehead.renderas.attribute? + db.bridgehead = + + ## A free-floating heading + element bridgehead { db.bridgehead.attlist, db.all.inlines* } +} +div { + db.remark.role.attribute = attribute role { text } + db.remark.attlist = + db.remark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.remark = + + ## A remark (or comment) intended for presentation in a draft manuscript + element remark { db.remark.attlist, db.all.inlines* } +} +div { + db.epigraph.role.attribute = attribute role { text } + db.epigraph.attlist = + db.epigraph.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.epigraph.info = db._info.title.forbidden + db.epigraph = + + ## A short inscription at the beginning of a document or component + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:epigraph" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element epigraph { + db.epigraph.attlist, + db.epigraph.info, + db.attribution?, + (db.para.blocks | db.literallayout)+ + } +} +div { + db.footnote.role.attribute = attribute role { text } + db.footnote.label.attribute = + + ## Identifies the desired footnote mark + attribute label { xsd:NMTOKEN } + db.footnote.attlist = + db.footnote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.footnote.label.attribute? + db.footnote = + + ## A footnote + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:footnote)" + "footnote must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:epigraph)" + "epigraph must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnote" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of footnote" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element footnote { db.footnote.attlist, db.all.blocks+ } +} +div { + db.formalpara.role.attribute = attribute role { text } + db.formalpara.attlist = + db.formalpara.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.formalpara.info = db._info.title.onlyreq + db.formalpara = + + ## A paragraph with a title + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:formalpara" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element formalpara { + db.formalpara.attlist, + db.formalpara.info, + db.indexing.inlines*, + db.para + } +} +div { + db.para.role.attribute = attribute role { text } + db.para.attlist = + db.para.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.para.info = db._info.title.forbidden + db.para = + + ## A paragraph + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:para" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element para { + db.para.attlist, + db.para.info, + (db.all.inlines | db.nopara.blocks)* + } +} +div { + db.simpara.role.attribute = attribute role { text } + db.simpara.attlist = + db.simpara.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.simpara.info = db._info.title.forbidden + db.simpara = + + ## A paragraph that contains only text and inline markup, no block elements + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:simpara" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element simpara { + db.simpara.attlist, db.simpara.info, db.all.inlines* + } +} +div { + db.itemizedlist.role.attribute = attribute role { text } + db.itemizedlist.mark.attribute = + + ## Identifies the type of mark to be used on items in this list + attribute mark { xsd:NMTOKEN } + db.itemizedlist.attlist = + db.itemizedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & db.itemizedlist.mark.attribute? + db.itemizedlist.info = db._info.title.only + db.itemizedlist = + + ## A list in which each entry is marked with a bullet or other dingbat + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:itemizedlist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element itemizedlist { + db.itemizedlist.attlist, + db.itemizedlist.info, + db.all.blocks*, + db.listitem+ + } +} +div { + db.orderedlist.role.attribute = attribute role { text } + db.orderedlist.continuation.enumeration = + + ## Specifies that numbering should begin where the preceding list left off + "continues" + | + ## Specifies that numbering should begin again at 1 + "restarts" + db.orderedlist.continuation.attribute = + + ## Indicates how list numbering should begin relative to the immediately preceding list + attribute continuation { db.orderedlist.continuation.enumeration } + db.orderedlist.startingnumber.attribute = + + ## Specifies the initial line number. + attribute startingnumber { xsd:integer } + db.orderedlist.inheritnum.enumeration = + + ## Specifies that numbering should ignore list nesting + "ignore" + | + ## Specifies that numbering should inherit from outer-level lists + "inherit" + db.orderedlist.inheritnum.attribute = + + ## Indicates whether or not item numbering should be influenced by list nesting + attribute inheritnum { db.orderedlist.inheritnum.enumeration } + db.orderedlist.numeration.enumeration = + + ## Specifies Arabic numeration (1, 2, 3, …) + "arabic" + | + ## Specifies upper-case alphabetic numeration (A, B, C, …) + "upperalpha" + | + ## Specifies lower-case alphabetic numeration (a, b, c, …) + "loweralpha" + | + ## Specifies upper-case Roman numeration (I, II, III, …) + "upperroman" + | + ## Specifies lower-case Roman numeration (i, ii, iii …) + "lowerroman" + db.orderedlist.numeration.attribute = + + ## Indicates the desired numeration + attribute numeration { db.orderedlist.numeration.enumeration } + db.orderedlist.attlist = + db.orderedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & (db.orderedlist.continuation.attribute + | db.orderedlist.startingnumber.attribute)? + & db.orderedlist.inheritnum.attribute? + & db.orderedlist.numeration.attribute? + db.orderedlist.info = db._info.title.only + db.orderedlist = + + ## A list in which each entry is marked with a sequentially incremented label + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:orderedlist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element orderedlist { + db.orderedlist.attlist, + db.orderedlist.info, + db.all.blocks*, + db.listitem+ + } +} +div { + db.listitem.role.attribute = attribute role { text } + db.listitem.override.attribute = + + ## Specifies the keyword for the type of mark that should be used on this + ## item, instead of the mark that would be used by default + attribute override { xsd:NMTOKEN } + db.listitem.attlist = + db.listitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.listitem.override.attribute? + db.listitem = + + ## A wrapper for the elements of a list item + element listitem { db.listitem.attlist, db.all.blocks+ } +} +div { + db.segmentedlist.role.attribute = attribute role { text } + db.segmentedlist.attlist = + db.segmentedlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.segmentedlist.info = db._info.title.only + db.segmentedlist = + + ## A segmented list, a list of sets of elements + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:segmentedlist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element segmentedlist { + db.segmentedlist.attlist, + db.segmentedlist.info, + db.segtitle+, + db.seglistitem+ + } +} +div { + db.segtitle.role.attribute = attribute role { text } + db.segtitle.attlist = + db.segtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.segtitle = + + ## The title of an element of a list item in a segmented list + element segtitle { db.segtitle.attlist, db.all.inlines* } +} +div { + db.seglistitem.role.attribute = attribute role { text } + db.seglistitem.attlist = + db.seglistitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seglistitem = + + ## A list item in a segmented list + [ + s:pattern [ + name = "Cardinality of segments and titles" + "\x{a}" ~ + " " + s:rule [ + context = "db:seglistitem" + "\x{a}" ~ + " " + s:assert [ + test = "count(db:seg) = count(../db:segtitle)" + "The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element seglistitem { db.seglistitem.attlist, db.seg+ } +} +div { + db.seg.role.attribute = attribute role { text } + db.seg.attlist = + db.seg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seg = + + ## An element of a list item in a segmented list + element seg { db.seg.attlist, db.all.inlines* } +} +div { + db.simplelist.role.attribute = attribute role { text } + db.simplelist.type.enumeration = + + ## A tabular presentation in row-major order. + "horiz" + | + ## A tabular presentation in column-major order. + "vert" + | + ## An inline presentation, usually a comma-delimited list. + "inline" + db.simplelist.type.attribute = + + ## Specifies the type of list presentation. + [ a:defaultValue = "vert" ] + attribute type { db.simplelist.type.enumeration } + db.simplelist.columns.attribute = + + ## Specifies the number of columns for horizontal or vertical presentation + attribute columns { xsd:integer } + db.simplelist.attlist = + db.simplelist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.simplelist.type.attribute? + & db.simplelist.columns.attribute? + db.simplelist = + + ## An undecorated list of single words or short phrases + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:simplelist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element simplelist { db.simplelist.attlist, db.member+ } +} +div { + db.member.role.attribute = attribute role { text } + db.member.attlist = + db.member.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.member = + + ## An element of a simple list + element member { db.member.attlist, db.all.inlines* } +} +div { + db.variablelist.role.attribute = attribute role { text } + db.variablelist.termlength.attribute = + + ## Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list + attribute termlength { text } + db.variablelist.attlist = + db.variablelist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spacing.attribute? + & db.variablelist.termlength.attribute? + db.variablelist.info = db._info.title.only + db.variablelist = + + ## A list in which each entry is composed of a set of one or more terms and an associated description + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:variablelist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element variablelist { + db.variablelist.attlist, + db.variablelist.info, + db.all.blocks*, + db.varlistentry+ + } +} +div { + db.varlistentry.role.attribute = attribute role { text } + db.varlistentry.attlist = + db.varlistentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varlistentry = + + ## A wrapper for a set of terms and the associated description in a variable list + element varlistentry { + db.varlistentry.attlist, db.term+, db.listitem + } +} +div { + db.term.role.attribute = attribute role { text } + db.term.attlist = + db.term.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.term = + + ## The word or phrase being defined or described in a variable list + element term { db.term.attlist, db.all.inlines* } +} +div { + db.example.role.attribute = attribute role { text } + db.example.label.attribute = db.label.attribute + db.example.width.attribute = db.width.characters.attribute + db.example.pgwide.attribute = db.pgwide.attribute + db.example.floatstyle.attribute = db.floatstyle.attribute + db.example.attlist = + db.example.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.example.label.attribute? + & db.example.floatstyle.attribute? + & (db.example.width.attribute | db.example.pgwide.attribute)? + db.example.info = db._info.title.onlyreq + db.example = + + ## A formal example, with a title + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:example" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of example" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:example" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element example { + db.example.attlist, db.example.info, db.all.blocks+, db.caption? + } +} +div { + db.informalexample.role.attribute = attribute role { text } + db.informalexample.width.attribute = db.width.characters.attribute + db.informalexample.pgwide.attribute = db.pgwide.attribute + db.informalexample.floatstyle.attribute = db.floatstyle.attribute + db.informalexample.attlist = + db.informalexample.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.informalexample.floatstyle.attribute? + & (db.informalexample.width.attribute + | db.informalexample.pgwide.attribute)? + db.informalexample.info = db._info.title.forbidden + db.informalexample = + + ## A displayed example without a title + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:informalexample" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element informalexample { + db.informalexample.attlist, + db.informalexample.info, + db.all.blocks+, + db.caption? + } +} +db.verbatim.inlines = (db.all.inlines | db.lineannotation) | db.co +db.verbatim.contentmodel = + db._info.title.forbidden, (db.textobject | db.verbatim.inlines*) +div { + db.literallayout.role.attribute = attribute role { text } + db.literallayout.class.enumeration = + + ## The literal layout should be formatted with a monospaced font + "monospaced" + | + ## The literal layout should be formatted with the current font + "normal" + db.literallayout.class.attribute = + + ## Specifies the class of literal layout + attribute class { db.literallayout.class.enumeration } + db.literallayout.attlist = + db.literallayout.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.literallayout.class.attribute? + db.literallayout = + + ## A block of text in which line breaks and white space are to be reproduced faithfully + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:literallayout" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element literallayout { + db.literallayout.attlist, db.verbatim.contentmodel + } +} +div { + db.screen.role.attribute = attribute role { text } + db.screen.width.attribute = db.width.characters.attribute + db.screen.attlist = + db.screen.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.screen.width.attribute? + db.screen = + + ## Text that a user sees or might see on a computer screen + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:screen" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element screen { db.screen.attlist, db.verbatim.contentmodel } +} +div { + db.screenshot.role.attribute = attribute role { text } + db.screenshot.attlist = + db.screenshot.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.screenshot.info = db._info + db.screenshot = + + ## A representation of what the user sees or might see on a computer screen + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:screenshot" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element screenshot { + db.screenshot.attlist, db.screenshot.info, db.mediaobject + } +} +div { + db.figure.role.attribute = attribute role { text } + db.figure.label.attribute = db.label.attribute + db.figure.pgwide.attribute = db.pgwide.attribute + db.figure.floatstyle.attribute = db.floatstyle.attribute + db.figure.attlist = + db.figure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.figure.label.attribute? + & db.figure.pgwide.attribute? + & db.figure.floatstyle.attribute? + db.figure.info = db._info.title.onlyreq + db.figure = + + ## A formal figure, generally an illustration, with a title + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of figure" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:figure" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element figure { + db.figure.attlist, db.figure.info, db.all.blocks+, db.caption? + } +} +div { + db.informalfigure.role.attribute = attribute role { text } + db.informalfigure.label.attribute = db.label.attribute + db.informalfigure.pgwide.attribute = db.pgwide.attribute + db.informalfigure.floatstyle.attribute = db.floatstyle.attribute + db.informalfigure.attlist = + db.informalfigure.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.informalfigure.label.attribute? + & db.informalfigure.pgwide.attribute? + & db.informalfigure.floatstyle.attribute? + db.informalfigure.info = db._info.title.forbidden + db.informalfigure = + + ## A untitled figure + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:informalfigure" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element informalfigure { + db.informalfigure.attlist, + db.informalfigure.info, + db.all.blocks+, + db.caption? + } +} +db.mediaobject.content = + (db.videoobject | db.audioobject | db.imageobject | db.textobject) + | db.imageobjectco +div { + db.mediaobject.role.attribute = attribute role { text } + db.mediaobject.attlist = + db.mediaobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mediaobject.info = db._info.title.forbidden + db.mediaobject = + + ## A displayed media object (video, audio, image, etc.) + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:mediaobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element mediaobject { + db.mediaobject.attlist, + db.mediaobject.info, + db.alt?, + db.mediaobject.content+, + db.caption? + } +} +div { + db.inlinemediaobject.role.attribute = attribute role { text } + db.inlinemediaobject.attlist = + db.inlinemediaobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.inlinemediaobject.info = db._info.title.forbidden + db.inlinemediaobject = + + ## An inline media object (video, audio, image, and so on) + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:inlinemediaobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element inlinemediaobject { + db.inlinemediaobject.attlist, + db.inlinemediaobject.info, + db.alt?, + db.mediaobject.content+ + } +} +div { + db.videoobject.role.attribute = attribute role { text } + db.videoobject.attlist = + db.videoobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.videoobject.info = db._info.title.forbidden + db.videoobject = + + ## A wrapper for video data and its associated meta-information + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:videoobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element videoobject { + db.videoobject.attlist, + db.videoobject.info, + db.videodata, + db.multimediaparam* + } +} +div { + db.audioobject.role.attribute = attribute role { text } + db.audioobject.attlist = + db.audioobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.audioobject.info = db._info.title.forbidden + db.audioobject = + + ## A wrapper for audio data and its associated meta-information + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:audioobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element audioobject { + db.audioobject.attlist, + db.audioobject.info, + db.audiodata, + db.multimediaparam* + } +} +db.imageobject.content = + db.imagedata | db.imagedata.mathml | db.imagedata.svg +div { + db.imageobject.role.attribute = attribute role { text } + db.imageobject.attlist = + db.imageobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.imageobject.info = db._info.title.forbidden + db.imageobject = + + ## A wrapper for image data and its associated meta-information + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:imageobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element imageobject { + db.imageobject.attlist, + db.imageobject.info, + db.imageobject.content + } +} +div { + db.textobject.role.attribute = attribute role { text } + db.textobject.attlist = + db.textobject.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.textobject.info = db._info.title.forbidden + db.textobject = + + ## A wrapper for a text description of an object and its associated meta-information + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:textobject" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element textobject { + db.textobject.attlist, + db.textobject.info, + (db.phrase | db.textdata | db.all.blocks+) + } +} +div { + db.videodata.role.attribute = attribute role { text } + db.videodata.align.enumeration = db.halign.enumeration + db.videodata.align.attribute = + + ## Specifies the (horizontal) alignment of the video data + attribute align { db.videodata.align.enumeration } + db.videodata.autoplay.attribute = db.autoplay.attribute + db.videodata.classid.attribute = db.classid.attribute + db.videodata.valign.enumeration = db.valign.enumeration + db.videodata.valign.attribute = + + ## Specifies the vertical alignment of the video data + attribute valign { db.videodata.valign.enumeration } + db.videodata.width.attribute = db.width.attribute + db.videodata.depth.attribute = db.depth.attribute + db.videodata.contentwidth.attribute = db.contentwidth.attribute + db.videodata.contentdepth.attribute = db.contentdepth.attribute + db.videodata.scalefit.enumeration = db.scalefit.enumeration + db.videodata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.videodata.scalefit.enumeration } + db.videodata.scale.attribute = db.scale.attribute + db.videodata.attlist = + db.videodata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.videodata.align.attribute? + & db.videodata.valign.attribute? + & db.videodata.width.attribute? + & db.videodata.contentwidth.attribute? + & db.videodata.scalefit.attribute? + & db.videodata.scale.attribute? + & db.videodata.depth.attribute? + & db.videodata.contentdepth.attribute? + & db.videodata.autoplay.attribute? + & db.videodata.classid.attribute? + db.videodata.info = db._info.title.forbidden + db.videodata = + + ## Pointer to external video data + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:videodata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element videodata { db.videodata.attlist, db.videodata.info } +} +div { + db.audiodata.role.attribute = attribute role { text } + db.audiodata.align.enumeration = db.halign.enumeration + db.audiodata.align.attribute = + + ## Specifies the (horizontal) alignment of the video data + attribute align { db.audiodata.align.enumeration } + db.audiodata.autoplay.attribute = db.autoplay.attribute + db.audiodata.classid.attribute = db.classid.attribute + db.audiodata.contentwidth.attribute = db.contentwidth.attribute + db.audiodata.contentdepth.attribute = db.contentdepth.attribute + db.audiodata.depth.attribute = db.depth.attribute + db.audiodata.scale.attribute = db.scale.attribute + db.audiodata.scalefit.enumeration = db.scalefit.enumeration + db.audiodata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.audiodata.scalefit.enumeration } + db.audiodata.valign.enumeration = db.valign.enumeration + db.audiodata.valign.attribute = + + ## Specifies the vertical alignment of the video data + attribute valign { db.audiodata.valign.enumeration } + db.audiodata.width.attribute = db.width.attribute + db.audiodata.attlist = + db.audiodata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.audiodata.align.attribute? + & db.audiodata.autoplay.attribute? + & db.audiodata.classid.attribute? + & db.audiodata.contentdepth.attribute? + & db.audiodata.contentwidth.attribute? + & db.audiodata.depth.attribute? + & db.audiodata.scale.attribute? + & db.audiodata.scalefit.attribute? + & db.audiodata.valign.attribute? + & db.audiodata.width.attribute? + db.audiodata.info = db._info.title.forbidden + db.audiodata = + + ## Pointer to external audio data + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:audiodata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element audiodata { db.audiodata.attlist, db.audiodata.info } +} +div { + db.imagedata.role.attribute = attribute role { text } + db.imagedata.align.enumeration = db.halign.enumeration + db.imagedata.align.attribute = + + ## Specifies the (horizontal) alignment of the image data + attribute align { db.imagedata.align.enumeration } + db.imagedata.valign.enumeration = db.valign.enumeration + db.imagedata.valign.attribute = + + ## Specifies the vertical alignment of the image data + attribute valign { db.imagedata.valign.enumeration } + db.imagedata.width.attribute = db.width.attribute + db.imagedata.depth.attribute = db.depth.attribute + db.imagedata.contentwidth.attribute = db.contentwidth.attribute + db.imagedata.contentdepth.attribute = db.contentdepth.attribute + db.imagedata.scalefit.enumeration = db.scalefit.enumeration + db.imagedata.scalefit.attribute = + + ## Determines if anamorphic scaling is forbidden + attribute scalefit { db.imagedata.scalefit.enumeration } + db.imagedata.scale.attribute = db.scale.attribute + db.imagedata.attlist = + db.imagedata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.info = db._info.title.forbidden + db.imagedata = + + ## Pointer to external image data + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:imagedata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element imagedata { db.imagedata.attlist, db.imagedata.info } +} +div { + db.textdata.role.attribute = attribute role { text } + db.textdata.encoding.attribute = + + ## Identifies the encoding of the text in the external file + attribute encoding { text } + db.textdata.attlist = + db.textdata.role.attribute? + & db.common.attributes + & db.common.data.attributes + & db.textdata.encoding.attribute? + db.textdata.info = db._info.title.forbidden + db.textdata = + + ## Pointer to external text data + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:textdata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element textdata { db.textdata.attlist, db.textdata.info } +} +div { + db.multimediaparam.role.attribute = attribute role { text } + db.multimediaparam.name.attribute = + + ## Specifies the name of the parameter + attribute name { text } + db.multimediaparam.value.attribute = + + ## Specifies the value of the parameter + attribute value { text } + db.multimediaparam.valuetype.attribute = + + ## Specifies the type of the value of the parameter + attribute valuetype { text } + db.multimediaparam.attlist = + db.multimediaparam.role.attribute? + & db.common.attributes + & db.multimediaparam.name.attribute + & db.multimediaparam.value.attribute + & db.multimediaparam.valuetype.attribute? + db.multimediaparam = + + ## Application specific parameters for a media player + element multimediaparam { db.multimediaparam.attlist, empty } +} +div { + db.caption.role.attribute = attribute role { text } + db.caption.attlist = + db.caption.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.caption.info = db._info.title.forbidden + db.caption = + + ## A caption + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caption { + db.caption.attlist, db.caption.info, db.all.blocks+ + } +} +div { + db.address.role.attribute = attribute role { text } + db.address.attlist = + db.address.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.address = + + ## A real-world address, generally a postal address + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:address" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element address { + db.address.attlist, + (db._text + | db.personname + | db.orgname + | db.pob + | db.street + | db.city + | db.state + | db.postcode + | db.country + | db.phone + | db.fax + | db.email + | db.uri + | db.otheraddr)* + } +} +div { + db.street.role.attribute = attribute role { text } + db.street.attlist = + db.street.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.street = + + ## A street address in an address + element street { db.street.attlist, db._text } +} +div { + db.pob.role.attribute = attribute role { text } + db.pob.attlist = + db.pob.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pob = + + ## A post office box in an address + element pob { db.pob.attlist, db._text } +} +div { + db.postcode.role.attribute = attribute role { text } + db.postcode.attlist = + db.postcode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.postcode = + + ## A postal code in an address + element postcode { db.postcode.attlist, db._text } +} +div { + db.city.role.attribute = attribute role { text } + db.city.attlist = + db.city.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.city = + + ## The name of a city in an address + element city { db.city.attlist, db._text } +} +div { + db.state.role.attribute = attribute role { text } + db.state.attlist = + db.state.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.state = + + ## A state or province in an address + element state { db.state.attlist, db._text } +} +div { + db.country.role.attribute = attribute role { text } + db.country.attlist = + db.country.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.country = + + ## The name of a country + element country { db.country.attlist, db._text } +} +div { + db.phone.role.attribute = attribute role { text } + db.phone.attlist = + db.phone.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.phone = + + ## A telephone number + element phone { db.phone.attlist, db._text } +} +div { + db.fax.role.attribute = attribute role { text } + db.fax.attlist = + db.fax.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.fax = + + ## A fax number + element fax { db.fax.attlist, db._text } +} +div { + db.otheraddr.role.attribute = attribute role { text } + db.otheraddr.attlist = + db.otheraddr.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.otheraddr = + + ## Uncategorized information in address + element otheraddr { db.otheraddr.attlist, db._text } +} +div { + db.affiliation.role.attribute = attribute role { text } + db.affiliation.attlist = + db.affiliation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.affiliation = + + ## The institutional affiliation of an individual + element affiliation { + db.affiliation.attlist, + db.shortaffil?, + db.jobtitle*, + (db.org? | (db.orgname?, db.orgdiv*, db.address*)) + } +} +div { + db.shortaffil.role.attribute = attribute role { text } + db.shortaffil.attlist = + db.shortaffil.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.shortaffil = + + ## A brief description of an affiliation + element shortaffil { db.shortaffil.attlist, db._text } +} +div { + db.jobtitle.role.attribute = attribute role { text } + db.jobtitle.attlist = + db.jobtitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.jobtitle = + + ## The title of an individual in an organization + element jobtitle { db.jobtitle.attlist, db._text } +} +div { + db.orgname.class.enumeration = + + ## A consortium + "consortium" + | + ## A corporation + "corporation" + | + ## An informal organization + "informal" + | + ## A non-profit organization + "nonprofit" + db.orgname.class-enum.attribute = + + ## Specifies the nature of the organization + attribute class { db.orgname.class.enumeration } + db.orgname.class-other.attributes = + + ## Specifies the nature of the organization + attribute class { + + ## Indicates a non-standard organization class + "other" + }, + + ## Identifies the non-standard nature of the organization + attribute otherclass { text } + db.orgname.class.attribute = + db.orgname.class-enum.attribute | db.orgname.class-other.attributes + db.orgname.role.attribute = attribute role { text } + db.orgname.attlist = + db.orgname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.orgname.class.attribute? + db.orgname = + + ## The name of an organization + element orgname { db.orgname.attlist, db._text } +} +div { + db.orgdiv.role.attribute = attribute role { text } + db.orgdiv.attlist = + db.orgdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.orgdiv = + + ## A division of an organization + element orgdiv { db.orgdiv.attlist, db.all.inlines* } +} +div { + db.artpagenums.role.attribute = attribute role { text } + db.artpagenums.attlist = + db.artpagenums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.artpagenums = + + ## The page numbers of an article as published + element artpagenums { db.artpagenums.attlist, db._text } +} +div { + db.personname.role.attribute = attribute role { text } + db.personname.attlist = + db.personname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.personname = + + ## The personal name of an individual + element personname { + db.personname.attlist, + (db._text + | (db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername)+ + | (db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername)+) + } +} +db.person.author.contentmodel = + db.personname, + (db.personblurb + | db.affiliation + | db.email + | db.uri + | db.address + | db.contrib)* +db.org.author.contentmodel = + db.orgname, + (db.orgdiv + | db.affiliation + | db.email + | db.uri + | db.address + | db.contrib)* +db.credit.contentmodel = + db.person.author.contentmodel | db.org.author.contentmodel +div { + db.author.role.attribute = attribute role { text } + db.author.attlist = + db.author.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.author = + + ## The name of an individual author + element author { db.author.attlist, db.credit.contentmodel } +} +div { + db.authorgroup.role.attribute = attribute role { text } + db.authorgroup.attlist = + db.authorgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.authorgroup = + + ## Wrapper for author information when a document has multiple authors or collaborators + element authorgroup { + db.authorgroup.attlist, (db.author | db.editor | db.othercredit)+ + } +} +div { + db.collab.role.attribute = attribute role { text } + db.collab.attlist = + db.collab.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.collab = + + ## Identifies a collaborator + element collab { + db.collab.attlist, + (db.person | db.personname | db.org | db.orgname)+, + db.affiliation* + } +} +div { + db.authorinitials.role.attribute = attribute role { text } + db.authorinitials.attlist = + db.authorinitials.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.authorinitials = + + ## The initials or other short identifier for an author + element authorinitials { db.authorinitials.attlist, db._text } +} +div { + db.person.role.attribute = attribute role { text } + db.person.attlist = + db.person.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.person = + + ## A person and associated metadata + element person { + db.person.attlist, + db.personname, + (db.address + | db.affiliation + | db.email + | db.uri + | db.personblurb)* + } +} +div { + db.org.role.attribute = attribute role { text } + db.org.attlist = + db.org.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.org = + + ## An organization and associated metadata + element org { + db.org.attlist, + db.orgname, + (db.address | db.affiliation | db.email | db.uri | db.orgdiv)* + } +} +div { + db.confgroup.role.attribute = attribute role { text } + db.confgroup.attlist = + db.confgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confgroup = + + ## A wrapper for document meta-information about a conference + element confgroup { + db.confgroup.attlist, + (db.confdates + | db.conftitle + | db.confnum + | db.confsponsor + | db.address)* + } +} +div { + db.confdates.role.attribute = attribute role { text } + db.confdates.attlist = + db.confdates.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confdates = + + ## The dates of a conference for which a document was written + element confdates { db.confdates.attlist, db._text } +} +div { + db.conftitle.role.attribute = attribute role { text } + db.conftitle.attlist = + db.conftitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.conftitle = + + ## The title of a conference for which a document was written + element conftitle { db.conftitle.attlist, db._text } +} +div { + db.confnum.role.attribute = attribute role { text } + db.confnum.attlist = + db.confnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confnum = + + ## An identifier, frequently numerical, associated with a conference for which a document was written + element confnum { db.confnum.attlist, db._text } +} +div { + db.confsponsor.role.attribute = attribute role { text } + db.confsponsor.attlist = + db.confsponsor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.confsponsor = + + ## The sponsor of a conference for which a document was written + element confsponsor { db.confsponsor.attlist, db._text } +} +div { + db.contractnum.role.attribute = attribute role { text } + db.contractnum.attlist = + db.contractnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contractnum = + + ## The contract number of a document + element contractnum { db.contractnum.attlist, db._text } +} +div { + db.contractsponsor.role.attribute = attribute role { text } + db.contractsponsor.attlist = + db.contractsponsor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contractsponsor = + + ## The sponsor of a contract + element contractsponsor { db.contractsponsor.attlist, db._text } +} +div { + db.copyright.role.attribute = attribute role { text } + db.copyright.attlist = + db.copyright.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.copyright = + + ## Copyright information about a document + element copyright { db.copyright.attlist, db.year+, db.holder* } +} +div { + db.year.role.attribute = attribute role { text } + db.year.attlist = + db.year.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.year = + + ## The year of publication of a document + element year { db.year.attlist, db._text } +} +div { + db.holder.role.attribute = attribute role { text } + db.holder.attlist = + db.holder.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.holder = + + ## The name of the individual or organization that holds a copyright + element holder { db.holder.attlist, db._text } +} +db.cover.contentmodel = + (db.para.blocks + | db.extension.blocks + | db.list.blocks + | db.informal.blocks + | db.publishing.blocks + | db.graphic.blocks + | db.technical.blocks + | db.verbatim.blocks + | db.bridgehead + | db.remark + | db.revhistory) + | db.synopsis.blocks +div { + db.cover.role.attribute = attribute role { text } + db.cover.attlist = + db.cover.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.cover = + + ## Additional content for the cover of a publication + element cover { db.cover.attlist, db.cover.contentmodel+ } +} +db.date.contentmodel = + xsd:date | xsd:dateTime | xsd:gYearMonth | xsd:gYear | text +div { + db.date.role.attribute = attribute role { text } + db.date.attlist = + db.date.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.date = + + ## The date of publication or revision of a document + element date { db.date.attlist, db.date.contentmodel } +} +div { + db.edition.role.attribute = attribute role { text } + db.edition.attlist = + db.edition.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.edition = + + ## The name or number of an edition of a document + element edition { db.edition.attlist, db._text } +} +div { + db.editor.role.attribute = attribute role { text } + db.editor.attlist = + db.editor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.editor = + + ## The name of the editor of a document + element editor { db.editor.attlist, db.credit.contentmodel } +} +div { + db.biblioid.role.attribute = attribute role { text } + db.biblioid.attlist = + db.biblioid.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.biblioid = + + ## An identifier for a document + element biblioid { db.biblioid.attlist, db._text } +} +div { + db.citebiblioid.role.attribute = attribute role { text } + db.citebiblioid.attlist = + db.citebiblioid.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.citebiblioid = + + ## A citation of a bibliographic identifier + element citebiblioid { db.citebiblioid.attlist, db._text } +} +div { + db.bibliosource.role.attribute = attribute role { text } + db.bibliosource.attlist = + db.bibliosource.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + db.bibliosource = + + ## The source of a document + element bibliosource { db.bibliosource.attlist, db._text } +} +div { + db.bibliorelation.type.enumeration = + + ## The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format + "hasformat" + | + ## The described resource includes the referenced resource either physically or logically + "haspart" + | + ## The described resource has a version, edition, or adaptation, namely, the referenced resource + "hasversion" + | + ## The described resource is the same intellectual content of the referenced resource, but presented in another format + "isformatof" + | + ## The described resource is a physical or logical part of the referenced resource + "ispartof" + | + ## The described resource is referenced, cited, or otherwise pointed to by the referenced resource + "isreferencedby" + | + ## The described resource is supplanted, displaced, or superceded by the referenced resource + "isreplacedby" + | + ## The described resource is required by the referenced resource, either physically or logically + "isrequiredby" + | + ## The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format + "isversionof" + | + ## The described resource references, cites, or otherwise points to the referenced resource + "references" + | + ## The described resource supplants, displaces, or supersedes the referenced resource + "replaces" + | + ## The described resource requires the referenced resource to support its function, delivery, or coherence of content + "requires" + db.bibliorelation.type-enum.attribute = + + ## Identifies the type of relationship + attribute type { db.bibliorelation.type.enumeration }? + db.bibliorelation.type-other.attributes = + + ## Identifies the type of relationship + attribute type { + + ## The described resource has a non-standard relationship with the referenced resource + "othertype" + }?, + + ## A keyword that identififes the type of the non-standard relationship + attribute othertype { xsd:NMTOKEN } + db.bibliorelation.type.attribute = + db.bibliorelation.type-enum.attribute + | db.bibliorelation.type-other.attributes + db.bibliorelation.role.attribute = attribute role { text } + db.bibliorelation.attlist = + db.bibliorelation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblio.class.attribute + & db.bibliorelation.type.attribute + db.bibliorelation = + + ## The relationship of a document to another + element bibliorelation { db.bibliorelation.attlist, db._text } +} +div { + db.bibliocoverage.spacial.enumeration = + + ## The DCMI Point identifies a point in space using its geographic coordinates + "dcmipoint" + | + ## ISO 3166 Codes for the representation of names of countries + "iso3166" + | + ## The DCMI Box identifies a region of space using its geographic limits + "dcmibox" + | + ## The Getty Thesaurus of Geographic Names + "tgn" + db.bibliocoverage.spatial-enum.attribute = + + ## Specifies the type of spatial coverage + attribute spatial { db.bibliocoverage.spacial.enumeration }? + db.bibliocoverage.spatial-other.attributes = + + ## Specifies the type of spatial coverage + attribute spatial { + + ## Identifies a non-standard type of coverage + "otherspatial" + }?, + + ## A keyword that identifies the type of non-standard coverage + attribute otherspatial { xsd:NMTOKEN } + db.bibliocoverage.spatial.attribute = + db.bibliocoverage.spatial-enum.attribute + | db.bibliocoverage.spatial-other.attributes + db.bibliocoverage.temporal.enumeration = + + ## A specification of the limits of a time interval + "dcmiperiod" + | + ## W3C Encoding rules for dates and times—a profile based on ISO 8601 + "w3c-dtf" + db.bibliocoverage.temporal-enum.attribute = + + ## Specifies the type of temporal coverage + attribute temporal { db.bibliocoverage.temporal.enumeration }? + db.bibliocoverage.temporal-other.attributes = + + ## Specifies the type of temporal coverage + attribute temporal { + + ## Specifies a non-standard type of coverage + "othertemporal" + }?, + + ## A keyword that identifies the type of non-standard coverage + attribute othertemporal { xsd:NMTOKEN } + db.bibliocoverage.temporal.attribute = + db.bibliocoverage.temporal-enum.attribute + | db.bibliocoverage.temporal-other.attributes + db.bibliocoverage.coverage.attrib = + db.bibliocoverage.spatial.attribute + & db.bibliocoverage.temporal.attribute + db.bibliocoverage.role.attribute = attribute role { text } + db.bibliocoverage.attlist = + db.bibliocoverage.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bibliocoverage.coverage.attrib + db.bibliocoverage = + + ## The spatial or temporal coverage of a document + element bibliocoverage { db.bibliocoverage.attlist, db._text } +} +div { + db.legalnotice.role.attribute = attribute role { text } + db.legalnotice.attlist = + db.legalnotice.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.legalnotice.info = db._info.title.only + db.legalnotice = + + ## A statement of legal obligations or requirements + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:legalnotice" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element legalnotice { + db.legalnotice.attlist, db.legalnotice.info, db.all.blocks+ + } +} +div { + db.othercredit.class.enumeration = + + ## A copy editor + "copyeditor" + | + ## A graphic designer + "graphicdesigner" + | + ## Some other contributor + "other" + | + ## A production editor + "productioneditor" + | + ## A technical editor + "technicaleditor" + | + ## A translator + "translator" + | + ## An indexer + "indexer" + | + ## A proof-reader + "proofreader" + | + ## A cover designer + "coverdesigner" + | + ## An interior designer + "interiordesigner" + | + ## An illustrator + "illustrator" + | + ## A reviewer + "reviewer" + | + ## A typesetter + "typesetter" + | + ## A converter (a persons responsible for conversion, not an application) + "conversion" + db.othercredit.class-enum.attribute = + + ## Identifies the nature of the contributor + attribute class { db.othercredit.class.enumeration }? + db.othercredit.class-other.attribute = + + ## Identifies the nature of the non-standard contribution + attribute otherclass { xsd:NMTOKEN } + db.othercredit.class-other.attributes = + + ## Identifies the nature of the contributor + attribute class { + + ## Identifies a non-standard contribution + "other" + } + & db.othercredit.class-other.attribute + db.othercredit.class.attribute = + db.othercredit.class-enum.attribute + | db.othercredit.class-other.attributes + db.othercredit.role.attribute = attribute role { text } + db.othercredit.attlist = + db.othercredit.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.othercredit.class.attribute + db.othercredit = + + ## A person or entity, other than an author or editor, credited in a document + element othercredit { + db.othercredit.attlist, db.credit.contentmodel + } +} +div { + db.pagenums.role.attribute = attribute role { text } + db.pagenums.attlist = + db.pagenums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pagenums = + + ## The numbers of the pages in a book, for use in a bibliographic entry + element pagenums { db.pagenums.attlist, db._text } +} +div { + db.contrib.role.attribute = attribute role { text } + db.contrib.attlist = + db.contrib.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.contrib = + + ## A summary of the contributions made to a document by a credited source + element contrib { db.contrib.attlist, db.all.inlines* } +} +div { + db.honorific.role.attribute = attribute role { text } + db.honorific.attlist = + db.honorific.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.honorific = + + ## The title of a person + element honorific { db.honorific.attlist, db._text } +} +div { + db.firstname.role.attribute = attribute role { text } + db.firstname.attlist = + db.firstname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.firstname = + + ## A given name of a person + element firstname { db.firstname.attlist, db._text } +} +div { + db.givenname.role.attribute = attribute role { text } + db.givenname.attlist = + db.givenname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.givenname = + + ## The given name of a person + element givenname { db.givenname.attlist, db._text } +} +div { + db.surname.role.attribute = attribute role { text } + db.surname.attlist = + db.surname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.surname = + + ## An inherited or family name; in western cultures the last name + element surname { db.surname.attlist, db._text } +} +div { + db.lineage.role.attribute = attribute role { text } + db.lineage.attlist = + db.lineage.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lineage = + + ## The portion of a person's name indicating a relationship to ancestors + element lineage { db.lineage.attlist, db._text } +} +div { + db.othername.role.attribute = attribute role { text } + db.othername.attlist = + db.othername.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.othername = + + ## A component of a person's name that is not a first name, surname, or lineage + element othername { db.othername.attlist, db._text } +} +div { + db.printhistory.role.attribute = attribute role { text } + db.printhistory.attlist = + db.printhistory.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.printhistory = + + ## The printing history of a document + element printhistory { db.printhistory.attlist, db.para.blocks+ } +} +div { + db.pubdate.role.attribute = attribute role { text } + db.pubdate.attlist = + db.pubdate.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.pubdate = + + ## The date of publication of a document + element pubdate { db.pubdate.attlist, db.date.contentmodel } +} +div { + db.publisher.role.attribute = attribute role { text } + db.publisher.attlist = + db.publisher.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.publisher = + + ## The publisher of a document + element publisher { + db.publisher.attlist, db.publishername, db.address* + } +} +div { + db.publishername.role.attribute = attribute role { text } + db.publishername.attlist = + db.publishername.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.publishername = + + ## The name of the publisher of a document + element publishername { db.publishername.attlist, db._text } +} +div { + db.releaseinfo.role.attribute = attribute role { text } + db.releaseinfo.attlist = + db.releaseinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.releaseinfo = + + ## Information about a particular release of a document + element releaseinfo { db.releaseinfo.attlist, db._text } +} +div { + db.revhistory.role.attribute = attribute role { text } + db.revhistory.attlist = + db.revhistory.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revhistory.info = db._info.title.only + db.revhistory = + + ## A history of the revisions to a document + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:revhistory" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element revhistory { + db.revhistory.attlist, db.revhistory.info, db.revision+ + } +} +div { + db.revision.role.attribute = attribute role { text } + db.revision.attlist = + db.revision.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revision = + + ## An entry describing a single revision in the history of the revisions to a document + element revision { + db.revision.attlist, + db.revnumber?, + db.date, + (db.authorinitials | db.author)*, + (db.revremark | db.revdescription)? + } +} +div { + db.revnumber.role.attribute = attribute role { text } + db.revnumber.attlist = + db.revnumber.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revnumber = + + ## A document revision number + element revnumber { db.revnumber.attlist, db._text } +} +div { + db.revremark.role.attribute = attribute role { text } + db.revremark.attlist = + db.revremark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revremark = + + ## A description of a revision to a document + element revremark { db.revremark.attlist, db._text } +} +div { + db.revdescription.role.attribute = attribute role { text } + db.revdescription.attlist = + db.revdescription.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.revdescription = + + ## A extended description of a revision to a document + element revdescription { db.revdescription.attlist, db.all.blocks* } +} +div { + db.seriesvolnums.role.attribute = attribute role { text } + db.seriesvolnums.attlist = + db.seriesvolnums.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seriesvolnums = + + ## Numbers of the volumes in a series of books + element seriesvolnums { db.seriesvolnums.attlist, db._text } +} +div { + db.volumenum.role.attribute = attribute role { text } + db.volumenum.attlist = + db.volumenum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.volumenum = + + ## The volume number of a document in a set (as of books in a set or articles in a journal) + element volumenum { db.volumenum.attlist, db._text } +} +div { + db.issuenum.role.attribute = attribute role { text } + db.issuenum.attlist = + db.issuenum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.issuenum = + + ## The number of an issue of a journal + element issuenum { db.issuenum.attlist, db._text } +} +div { + db.package.role.attribute = attribute role { text } + db.package.attlist = + db.package.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.package = + + ## A software or application package + element package { db.package.attlist, db._text } +} +div { + db.email.role.attribute = attribute role { text } + db.email.attlist = + db.email.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.email = + + ## An email address + element email { db.email.attlist, db._text } +} +div { + db.lineannotation.role.attribute = attribute role { text } + db.lineannotation.attlist = + db.lineannotation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lineannotation = + + ## A comment on a line in a verbatim listing + element lineannotation { db.lineannotation.attlist, db._text } +} +div { + db.parameter.class.enumeration = + + ## A command + "command" + | + ## A function + "function" + | + ## An option + "option" + db.parameter.class.attribute = + + ## Identifies the class of parameter + attribute class { db.parameter.class.enumeration } + db.parameter.role.attribute = attribute role { text } + db.parameter.attlist = + db.parameter.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.parameter.class.attribute? + db.parameter = + + ## A value or a symbolic reference to a value + element parameter { db.parameter.attlist, db._text } +} +db.replaceable.inlines = db._text | db.co +div { + db.replaceable.class.enumeration = + + ## A command + "command" + | + ## A function + "function" + | + ## An option + "option" + | + ## A parameter + "parameter" + db.replaceable.class.attribute = + + ## Identifies the nature of the replaceable text + attribute class { db.replaceable.class.enumeration } + db.replaceable.role.attribute = attribute role { text } + db.replaceable.attlist = + db.replaceable.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.replaceable.class.attribute? + db.replaceable = + + ## Content that may or must be replaced by the user + element replaceable { + db.replaceable.attlist, db.replaceable.inlines* + } +} +div { + db.uri.type.attribute = + + ## Identifies the type of URI specified + attribute type { text }? + db.uri.role.attribute = attribute role { text } + db.uri.attlist = + db.uri.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.uri.type.attribute + db.uri = + + ## A Uniform Resource Identifier + element uri { db.uri.attlist, db._text } +} +div { + db.abbrev.role.attribute = attribute role { text } + db.abbrev.attlist = + db.abbrev.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.abbrev = + + ## An abbreviation, especially one followed by a period + element abbrev { + db.abbrev.attlist, + (db._text | db.superscript | db.subscript | db.trademark)* + } +} +div { + db.acronym.role.attribute = attribute role { text } + db.acronym.attlist = + db.acronym.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.acronym = + + ## An often pronounceable word made from the initial (or selected) letters of a name or phrase + element acronym { + db.acronym.attlist, + (db._text | db.superscript | db.subscript | db.trademark)* + } +} +div { + db.citation.role.attribute = attribute role { text } + db.citation.attlist = + db.citation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.citation = + + ## An inline bibliographic reference to another published work + element citation { db.citation.attlist, db.all.inlines* } +} +div { + db.citerefentry.role.attribute = attribute role { text } + db.citerefentry.attlist = + db.citerefentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.citerefentry = + + ## A citation to a reference page + element citerefentry { + db.citerefentry.attlist, db.refentrytitle, db.manvolnum? + } +} +div { + db.refentrytitle.role.attribute = attribute role { text } + db.refentrytitle.attlist = + db.refentrytitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refentrytitle = + + ## The title of a reference page + element refentrytitle { db.refentrytitle.attlist, db.all.inlines* } +} +div { + db.manvolnum.role.attribute = attribute role { text } + db.manvolnum.attlist = + db.manvolnum.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.manvolnum = + + ## A reference volume number + element manvolnum { db.manvolnum.attlist, db._text } +} +div { + db.citetitle.pubwork.enumeration = + + ## An article + "article" + | + ## A bulletin board system + "bbs" + | + ## A book + "book" + | + ## A CD-ROM + "cdrom" + | + ## A chapter (as of a book) + "chapter" + | + ## A DVD + "dvd" + | + ## An email message + "emailmessage" + | + ## A gopher page + "gopher" + | + ## A journal + "journal" + | + ## A manuscript + "manuscript" + | + ## A posting to a newsgroup + "newsposting" + | + ## A part (as of a book) + "part" + | + ## A reference entry + "refentry" + | + ## A section (as of a book or article) + "section" + | + ## A series + "series" + | + ## A set (as of books) + "set" + | + ## A web page + "webpage" + | + ## A wiki page + "wiki" + db.citetitle.pubwork.attribute = + + ## Identifies the nature of the publication being cited + attribute pubwork { db.citetitle.pubwork.enumeration } + db.citetitle.role.attribute = attribute role { text } + db.citetitle.attlist = + db.citetitle.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.citetitle.pubwork.attribute? + db.citetitle = + + ## The title of a cited work + element citetitle { db.citetitle.attlist, db.all.inlines* } +} +div { + db.emphasis.role.attribute = attribute role { text } + db.emphasis.attlist = + db.emphasis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.emphasis = + + ## Emphasized text + element emphasis { db.emphasis.attlist, db.all.inlines* } +} +div { + db._emphasis = + + ## A limited span of emphasized text + element emphasis { db.emphasis.attlist, db._text } +} +div { + db.foreignphrase.role.attribute = attribute role { text } + db.foreignphrase.attlist = + db.foreignphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.foreignphrase = + + ## A word or phrase in a language other than the primary language of the document + element foreignphrase { + db.foreignphrase.attlist, (text | db.general.inlines)* + } +} +div { + db._foreignphrase.role.attribute = attribute role { text } + db._foreignphrase.attlist = + db._foreignphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db._foreignphrase = + + ## A limited word or phrase in a language other than the primary language of the document + element foreignphrase { db._foreignphrase.attlist, db._text } +} +div { + db.phrase.role.attribute = attribute role { text } + db.phrase.attlist = + db.phrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.phrase = + + ## A span of text + element phrase { db.phrase.attlist, db.all.inlines* } +} +div { + db._phrase = + + ## A limited span of text + element phrase { db.phrase.attlist, db._text } +} +div { + db.quote.role.attribute = attribute role { text } + db.quote.attlist = + db.quote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.quote = + + ## An inline quotation + element quote { db.quote.attlist, db.all.inlines* } +} +div { + db._quote.role.attribute = attribute role { text } + db._quote.attlist = + db._quote.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db._quote = + + ## A limited inline quotation + element quote { db._quote.attlist, db._text } +} +div { + db.subscript.role.attribute = attribute role { text } + db.subscript.attlist = + db.subscript.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.subscript = + + ## A subscript (as in H2 + ## O, the molecular formula for water) + element subscript { db.subscript.attlist, db._text } +} +div { + db.superscript.role.attribute = attribute role { text } + db.superscript.attlist = + db.superscript.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.superscript = + + ## A superscript (as in x2 + ## , the mathematical notation for x multiplied by itself) + element superscript { db.superscript.attlist, db._text } +} +div { + db.trademark.class.enumeration = + + ## A copyright + "copyright" + | + ## A registered copyright + "registered" + | + ## A service + "service" + | + ## A trademark + "trade" + db.trademark.class.attribute = + + ## Identifies the class of trade mark + attribute class { db.trademark.class.enumeration } + db.trademark.role.attribute = attribute role { text } + db.trademark.attlist = + db.trademark.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.trademark.class.attribute? + db.trademark = + + ## A trademark + element trademark { db.trademark.attlist, db._text } +} +div { + db.wordasword.role.attribute = attribute role { text } + db.wordasword.attlist = + db.wordasword.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.wordasword = + + ## A word meant specifically as a word and not representing anything else + element wordasword { db.wordasword.attlist, db._text } +} +div { + db.footnoteref.role.attribute = attribute role { text } + db.footnoteref.label.attribute = db.label.attribute + db.footnoteref.attlist = + db.footnoteref.role.attribute? + & db.common.attributes + & db.linkend.attribute + & db.footnoteref.label.attribute? + db.footnoteref = + + ## A cross reference to a footnote (a footnote mark) + [ + s:pattern [ + name = "Footnote reference type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:footnoteref" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'footnote' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on footnoteref must point to a footnote." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element footnoteref { db.footnoteref.attlist, empty } +} +div { + db.xref.role.attribute = attribute role { text } + db.xref.xrefstyle.attribute = db.xrefstyle.attribute + db.xref.endterm.attribute = db.endterm.attribute + db.xref.attlist = + db.xref.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.xref.xrefstyle.attribute? + & db.xref.endterm.attribute? + db.xref = + + ## A cross reference to another part of the document + element xref { db.xref.attlist, empty } +} +div { + db.link.role.attribute = attribute role { text } + db.link.xrefstyle.attribute = db.xrefstyle.attribute + db.link.endterm.attribute = db.endterm.attribute + db.link.attlist = + db.link.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.link.xrefstyle.attribute? + & db.link.endterm.attribute? + db.link = + + ## A hypertext link + element link { db.link.attlist, db.all.inlines* } +} +div { + db.olink.role.attribute = attribute role { text } + db.olink.xrefstyle.attribute = db.xrefstyle.attribute + db.olink.localinfo.attribute = + + ## Holds additional information that may be used by the application when resolving the link + attribute localinfo { text } + db.olink.targetdoc.attribute = + + ## Specifies the URI of the document in which the link target appears + attribute targetdoc { xsd:anyURI } + db.olink.targetptr.attribute = + + ## Specifies the location of the link target in the document + attribute targetptr { text } + db.olink.type.attribute = + + ## Identifies application-specific customization of the link behavior + attribute type { text } + db.olink.attlist = + db.common.attributes + & db.olink.targetdoc.attribute? + & db.olink.role.attribute? + & db.olink.xrefstyle.attribute? + & db.olink.localinfo.attribute? + & db.olink.targetptr.attribute? + & db.olink.type.attribute? + db.olink = + + ## A link that addresses its target indirectly + element olink { db.olink.attlist, db.all.inlines* } +} +div { + db.anchor.role.attribute = attribute role { text } + db.anchor.attlist = + db.anchor.role.attribute? & db.common.idreq.attributes + db.anchor = + + ## A spot in the document + element anchor { db.anchor.attlist, empty } +} +div { + db.alt.role.attribute = attribute role { text } + db.alt.attlist = db.alt.role.attribute? & db.common.attributes + db.alt = + + ## A text-only annotation, often used for accessibility + element alt { db.alt.attlist, (text | db.inlinemediaobject)* } +} +db.status.attribute = + + ## Identifies the editorial or publication status of the element on which it occurs + attribute status { text } +db.toplevel.sections = + ((db.section+, db.simplesect*) | db.simplesect+) + | (db.sect1+, db.simplesect*) + | db.refentry+ +db.toplevel.blocks.or.sections = + (db.all.blocks+, db.toplevel.sections?) | db.toplevel.sections +db.recursive.sections = + ((db.section+, db.simplesect*) | db.simplesect+) + | db.refentry+ +db.recursive.blocks.or.sections = + (db.all.blocks+, db.recursive.sections?) | db.recursive.sections +db.divisions = db.part | db.reference +db.components = + db.dedication + | db.acknowledgements + | db.preface + | db.chapter + | db.appendix + | db.article + | db.colophon +db.navigation.components = + notAllowed | db.glossary | db.bibliography | db.index | db.toc +db.component.contentmodel = + db.navigation.components*, + db.toplevel.blocks.or.sections, + db.navigation.components* +db.setindex.components = notAllowed | db.setindex +db.toc.components = notAllowed | db.toc +db.set.components = db.set | db.book +div { + db.set.status.attribute = db.status.attribute + db.set.role.attribute = attribute role { text } + db.set.attlist = + db.set.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.set.status.attribute? + db.set.info = db._info.title.req + db.set = + + ## A collection of books + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:set" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element set { + db.set.attlist, + db.set.info, + db.toc.components?, + db.set.components+, + db.setindex.components? + } +} +db.book.components = + (db.navigation.components | db.components | db.divisions)* | db.topic* +div { + db.book.status.attribute = db.status.attribute + db.book.role.attribute = attribute role { text } + db.book.attlist = + db.book.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.book.status.attribute? + db.book.info = db._info + db.book = + + ## A book + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:book" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element book { db.book.attlist, db.book.info, db.book.components } +} +div { + db.dedication.status.attribute = db.status.attribute + db.dedication.role.attribute = attribute role { text } + db.dedication.attlist = + db.dedication.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.dedication.status.attribute? + db.dedication.info = db._info + db.dedication = + + ## The dedication of a book or other component + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:dedication" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element dedication { + db.dedication.attlist, db.dedication.info, db.all.blocks+ + } +} +div { + db.acknowledgements.status.attribute = db.status.attribute + db.acknowledgements.role.attribute = attribute role { text } + db.acknowledgements.attlist = + db.acknowledgements.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.acknowledgements.status.attribute? + db.acknowledgements.info = db._info + db.acknowledgements = + + ## Acknowledgements of a book or other component + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:acknowledgements" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element acknowledgements { + db.acknowledgements.attlist, + db.acknowledgements.info, + db.all.blocks+ + } +} +div { + db.colophon.status.attribute = db.status.attribute + db.colophon.role.attribute = attribute role { text } + db.colophon.attlist = + db.colophon.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.colophon.status.attribute? + db.colophon.info = db._info + db.colophon = + + ## Text at the back of a book describing facts about its production + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:colophon" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element colophon { + db.colophon.attlist, + db.colophon.info, + ((db.all.blocks+, db.simplesect*) + | (db.all.blocks*, db.simplesect+)) + } +} +db.appendix.contentmodel = db.component.contentmodel | db.topic+ +div { + db.appendix.status.attribute = db.status.attribute + db.appendix.role.attribute = attribute role { text } + db.appendix.attlist = + db.appendix.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.appendix.status.attribute? + db.appendix.info = db._info.title.req + db.appendix = + + ## An appendix in a book or article + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:appendix" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element appendix { + db.appendix.attlist, db.appendix.info, db.appendix.contentmodel? + } +} +db.chapter.contentmodel = db.component.contentmodel | db.topic+ +div { + db.chapter.status.attribute = db.status.attribute + db.chapter.role.attribute = attribute role { text } + db.chapter.attlist = + db.chapter.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.chapter.status.attribute? + db.chapter.info = db._info.title.req + db.chapter = + + ## A chapter, as of a book + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:chapter" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element chapter { + db.chapter.attlist, db.chapter.info, db.chapter.contentmodel? + } +} +db.part.components = + (db.navigation.components | db.components) + | (db.refentry | db.reference) +db.part.contentmodel = db.part.components+ | db.topic+ +div { + db.part.status.attribute = db.status.attribute + db.part.role.attribute = attribute role { text } + db.part.attlist = + db.part.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.part.status.attribute? + db.part.info = db._info.title.req + db.part = + + ## A division in a book + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:part" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element part { + db.part.attlist, + db.part.info, + db.partintro?, + db.part.contentmodel? + } +} +div { + db.preface.status.attribute = db.status.attribute + db.preface.role.attribute = attribute role { text } + db.preface.attlist = + db.preface.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.preface.status.attribute? + db.preface.info = db._info.title.req + db.preface = + + ## Introductory matter preceding the first chapter of a book + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:preface" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element preface { + db.preface.attlist, db.preface.info, db.component.contentmodel? + } +} +div { + db.partintro.status.attribute = db.status.attribute + db.partintro.role.attribute = attribute role { text } + db.partintro.attlist = + db.partintro.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.partintro.status.attribute? + db.partintro.info = db._info + db.partintro = + + ## An introduction to the contents of a part + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:partintro" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element partintro { + db.partintro.attlist, + db.partintro.info, + db.toplevel.blocks.or.sections? + } +} +div { + db.section.status.attribute = db.status.attribute + db.section.role.attribute = attribute role { text } + db.section.attlist = + db.section.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.section.status.attribute? + db.section.info = db._info.title.req + db.section = + + ## A recursive section + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:section" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element section { + db.section.attlist, + db.section.info, + db.recursive.blocks.or.sections?, + db.navigation.components* + } +} +div { + db.simplesect.status.attribute = db.status.attribute + db.simplesect.role.attribute = attribute role { text } + db.simplesect.attlist = + db.simplesect.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.simplesect.status.attribute? + db.simplesect.info = db._info.title.req + db.simplesect = + + ## A section of a document with no subdivisions + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:simplesect" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element simplesect { + db.simplesect.attlist, db.simplesect.info, db.all.blocks* + } +} +db.article.components = db.toplevel.sections +db.article.navcomponents = + db.navigation.components + | db.acknowledgements + | db.dedication + | db.appendix + | db.colophon +div { + db.article.status.attribute = db.status.attribute + db.article.class.enumeration = + + ## A collection of frequently asked questions. + "faq" + | + ## An article in a journal or other periodical. + "journalarticle" + | + ## A description of a product. + "productsheet" + | + ## A specification. + "specification" + | + ## A technical report. + "techreport" + | + ## A white paper. + "whitepaper" + db.article.class.attribute = + + ## Identifies the nature of the article + attribute class { db.article.class.enumeration } + db.article.role.attribute = attribute role { text } + db.article.attlist = + db.article.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.article.status.attribute? + & db.article.class.attribute? + db.article.info = db._info.title.req + db.article = + + ## An article + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:article" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element article { + db.article.attlist, + db.article.info, + db.article.navcomponents*, + ((db.all.blocks+, db.article.components?) + | db.article.components), + db.article.navcomponents* + } +} +db.annotations.attribute = + + ## Identifies one or more annotations that apply to this element + attribute annotations { text } +div { + db.annotation.role.attribute = attribute role { text } + db.annotation.annotates.attribute = + + ## Identifies one ore more elements to which this annotation applies + attribute annotates { text } + db.annotation.attlist = + db.annotation.role.attribute? + & db.annotation.annotates.attribute? + & db.common.attributes + db.annotation.info = db._info.title.only + db.annotation = + + ## An annotation + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:annotation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:annotation)" + "annotation must not occur among the children or descendants of annotation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:annotation" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element annotation { + db.annotation.attlist, db.annotation.info, db.all.blocks+ + } +} +db.xlink.extended.type.attribute = + + ## Identifies the XLink extended link type + [ + s:pattern [ + name = "XLink extended placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='extended']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink extended type element may not occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink extended link type + "extended" + } +db.xlink.locator.type.attribute = + + ## Identifies the XLink locator link type + [ + s:pattern [ + name = "XLink locator placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='locator']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink locator type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink locator link type + "locator" + } +db.xlink.arc.type.attribute = + + ## Identifies the XLink arc link type + [ + s:pattern [ + name = "XLink arc placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='arc']" + "\x{a}" ~ + " " + s:assert [ + test = "parent::*[@xlink:type='extended']" + "An XLink arc type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink arc link type + "arc" + } +db.xlink.resource.type.attribute = + + ## Identifies the XLink resource link type + [ + s:pattern [ + name = "XLink resource placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='resource']" + "\x{a}" ~ + " " + s:assert [ + test = "not(parent::*[@xlink:type='extended'])" + "An XLink resource type element must occur as the direct child of an XLink extended type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink resource link type + "resource" + } +db.xlink.title.type.attribute = + + ## Identifies the XLink title link type + [ + s:pattern [ + name = "XLink title placement" + "\x{a}" ~ + " " + s:rule [ + context = "*[@xlink:type='title']" + "\x{a}" ~ + " " + s:assert [ + test = + "not(parent::*[@xlink:type='extended']) and not(parent::*[@xlink:type='locator']) and not(parent::*[@xlink:type='arc'])" + "An XLink title type element must occur as the direct child of an XLink extended, locator, or arc type element." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + attribute xlink:type { + + ## An XLink title link type + "title" + } +db.xlink.extended.link.attributes = + db.xlink.extended.type.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? +db.xlink.locator.link.attributes = + db.xlink.locator.type.attribute + & db.xlink.href.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? +db.xlink.arc.link.attributes = + db.xlink.arc.type.attribute + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? + & db.xlink.from.attribute? + & db.xlink.to.attribute? +db.xlink.resource.link.attributes = + db.xlink.resource.type.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? +db.xlink.title.link.attributes = db.xlink.title.type.attribute +db.xlink.from.attribute = + + ## Specifies the XLink traversal-from + attribute xlink:from { xsd:NMTOKEN } +db.xlink.label.attribute = + + ## Specifies the XLink label + attribute xlink:label { xsd:NMTOKEN } +db.xlink.to.attribute = + + ## Specifies the XLink traversal-to + attribute xlink:to { xsd:NMTOKEN } +div { + db.extendedlink.role.attribute = attribute role { text } + db.extendedlink.attlist = + db.extendedlink.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "extended" ] + attribute xlink:type { + + ## An XLink extended link + "extended" + }? + & db.xlink.role.attribute? + & db.xlink.title.attribute? + db.extendedlink = + + ## An XLink extended link + element extendedlink { + db.extendedlink.attlist, (db.locator | db.arc | db.link)+ + } +} +div { + db.locator.role.attribute = attribute role { text } + db.locator.attlist = + db.locator.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "locator" ] + attribute xlink:type { + + ## An XLink locator link + "locator" + }? + & db.xlink.href.attribute + & db.xlink.role.attribute? + & db.xlink.title.attribute? + & db.xlink.label.attribute? + db.locator = + + ## An XLink locator in an extendedlink + element locator { db.locator.attlist, empty } +} +div { + db.arc.role.attribute = attribute role { text } + db.arc.attlist = + db.arc.role.attribute? + & db.common.attributes + & + ## Identifies the XLink link type + [ a:defaultValue = "arc" ] + attribute xlink:type { + + ## An XLink arc link + "arc" + }? + & db.xlink.arcrole.attribute? + & db.xlink.title.attribute? + & db.xlink.show.attribute? + & db.xlink.actuate.attribute? + & db.xlink.from.attribute? + & db.xlink.to.attribute? + db.arc = + + ## An XLink arc in an extendedlink + element arc { db.arc.attlist, empty } +} +db.sect1.sections = (db.sect2+, db.simplesect*) | db.simplesect+ +div { + db.sect1.status.attribute = db.status.attribute + db.sect1.role.attribute = attribute role { text } + db.sect1.attlist = + db.sect1.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect1.status.attribute? + db.sect1.info = db._info.title.req + db.sect1 = + + ## A top-level section of document + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sect1" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sect1 { + db.sect1.attlist, + db.sect1.info, + ((db.all.blocks+, db.sect1.sections?) | db.sect1.sections)?, + db.navigation.components* + } +} +db.sect2.sections = (db.sect3+, db.simplesect*) | db.simplesect+ +div { + db.sect2.status.attribute = db.status.attribute + db.sect2.role.attribute = attribute role { text } + db.sect2.attlist = + db.sect2.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect2.status.attribute? + db.sect2.info = db._info.title.req + db.sect2 = + + ## A subsection within a sect1 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sect2" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sect2 { + db.sect2.attlist, + db.sect2.info, + ((db.all.blocks+, db.sect2.sections?) | db.sect2.sections)?, + db.navigation.components* + } +} +db.sect3.sections = (db.sect4+, db.simplesect*) | db.simplesect+ +div { + db.sect3.status.attribute = db.status.attribute + db.sect3.role.attribute = attribute role { text } + db.sect3.attlist = + db.sect3.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect3.status.attribute? + db.sect3.info = db._info.title.req + db.sect3 = + + ## A subsection within a sect2 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sect3" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sect3 { + db.sect3.attlist, + db.sect3.info, + ((db.all.blocks+, db.sect3.sections?) | db.sect3.sections)?, + db.navigation.components* + } +} +db.sect4.sections = (db.sect5+, db.simplesect*) | db.simplesect+ +div { + db.sect4.status.attribute = db.status.attribute + db.sect4.role.attribute = attribute role { text } + db.sect4.attlist = + db.sect4.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect4.status.attribute? + db.sect4.info = db._info.title.req + db.sect4 = + + ## A subsection within a sect3 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sect4" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sect4 { + db.sect4.attlist, + db.sect4.info, + ((db.all.blocks+, db.sect4.sections?) | db.sect4.sections)?, + db.navigation.components* + } +} +db.sect5.sections = db.simplesect+ +div { + db.sect5.status.attribute = db.status.attribute + db.sect5.role.attribute = attribute role { text } + db.sect5.attlist = + db.sect5.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.sect5.status.attribute? + db.sect5.info = db._info.title.req + db.sect5 = + + ## A subsection within a sect4 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:sect5" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element sect5 { + db.sect5.attlist, + db.sect5.info, + ((db.all.blocks+, db.sect5.sections?) | db.sect5.sections)?, + db.navigation.components* + } +} +db.toplevel.refsection = db.refsection+ | db.refsect1+ +db.secondlevel.refsection = db.refsection+ | db.refsect2+ +db.reference.components = db.refentry +div { + db.reference.status.attribute = db.status.attribute + db.reference.role.attribute = attribute role { text } + db.reference.attlist = + db.reference.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.reference.status.attribute? + & db.label.attribute? + db.reference.info = db._info.title.req + db.reference = + + ## A collection of reference entries + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:reference" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element reference { + db.reference.attlist, + db.reference.info, + db.partintro?, + db.reference.components* + } +} +div { + db.refentry.status.attribute = db.status.attribute + db.refentry.role.attribute = attribute role { text } + db.refentry.attlist = + db.refentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refentry.status.attribute? + & db.label.attribute? + db.refentry.info = db._info.title.forbidden + db.refentry = + + ## A reference page (originally a UNIX man-style reference page) + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refentry" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refentry { + db.refentry.attlist, + db.indexterm*, + db.refentry.info, + db.refmeta?, + db.refnamediv+, + db.refsynopsisdiv?, + db.toplevel.refsection + } +} +div { + db.refmeta.role.attribute = attribute role { text } + db.refmeta.attlist = + db.refmeta.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refmeta = + + ## Meta-information for a reference entry + element refmeta { + db.refmeta.attlist, + db.indexterm*, + db.refentrytitle, + db.manvolnum?, + db.refmiscinfo*, + db.indexterm* + } +} +db.refmiscinfo.class.enumeration = + + ## The name of the software product or component to which this topic applies + "source" + | + ## The version of the software product or component to which this topic applies + "version" + | + ## The section title of the reference page (e.g., User Commands) + "manual" + | + ## The section title of the reference page (believed synonymous with "manual" but in wide use) + "sectdesc" + | + ## The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use) + "software" +db.refmiscinfo.class-enum.attribute = + + ## Identifies the kind of miscellaneous information + attribute class { db.refmiscinfo.class.enumeration }? +db.refmiscinfo.class-other.attribute = + + ## Identifies the nature of non-standard miscellaneous information + attribute otherclass { text } +db.refmiscinfo.class-other.attributes = + + ## Identifies the kind of miscellaneious information + attribute class { + + ## Indicates that the information is some 'other' kind. + "other" + } + & db.refmiscinfo.class-other.attribute +db.refmiscinfo.class.attribute = + db.refmiscinfo.class-enum.attribute + | db.refmiscinfo.class-other.attributes +div { + db.refmiscinfo.role.attribute = attribute role { text } + db.refmiscinfo.attlist = + db.refmiscinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refmiscinfo.class.attribute? + db.refmiscinfo = + + ## Meta-information for a reference entry other than the title and volume number + element refmiscinfo { db.refmiscinfo.attlist, db._text } +} +div { + db.refnamediv.role.attribute = attribute role { text } + db.refnamediv.attlist = + db.refnamediv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refnamediv = + + ## The name, purpose, and classification of a reference page + element refnamediv { + db.refnamediv.attlist, + db.refdescriptor?, + db.refname+, + db.refpurpose, + db.refclass* + } +} +div { + db.refdescriptor.role.attribute = attribute role { text } + db.refdescriptor.attlist = + db.refdescriptor.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refdescriptor = + + ## A description of the topic of a reference page + element refdescriptor { db.refdescriptor.attlist, db.all.inlines* } +} +div { + db.refname.role.attribute = attribute role { text } + db.refname.attlist = + db.refname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refname = + + ## The name of (one of) the subject(s) of a reference page + element refname { db.refname.attlist, db.all.inlines* } +} +div { + db.refpurpose.role.attribute = attribute role { text } + db.refpurpose.attlist = + db.refpurpose.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refpurpose = + + ## A short (one sentence) synopsis of the topic of a reference page + element refpurpose { db.refpurpose.attlist, db.all.inlines* } +} +div { + db.refclass.role.attribute = attribute role { text } + db.refclass.attlist = + db.refclass.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refclass = + + ## The scope or other indication of applicability of a reference entry + element refclass { db.refclass.attlist, (text | db.application)* } +} +div { + db.refsynopsisdiv.role.attribute = attribute role { text } + db.refsynopsisdiv.attlist = + db.refsynopsisdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.refsynopsisdiv.info = db._info + db.refsynopsisdiv = + + ## A syntactic synopsis of the subject of the reference page + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refsynopsisdiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refsynopsisdiv { + db.refsynopsisdiv.attlist, + db.refsynopsisdiv.info, + ((db.all.blocks+, db.secondlevel.refsection?) + | db.secondlevel.refsection) + } +} +div { + db.refsection.status.attribute = db.status.attribute + db.refsection.role.attribute = attribute role { text } + db.refsection.attlist = + db.refsection.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.refsection.status.attribute? + & db.label.attribute? + db.refsection.info = db._info.title.req + db.refsection = + + ## A recursive section in a refentry + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refsection" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refsection { + db.refsection.attlist, + db.refsection.info, + ((db.all.blocks+, db.refsection*) | db.refsection+) + } +} +db.refsect1.sections = db.refsect2+ +div { + db.refsect1.status.attribute = db.status.attribute + db.refsect1.role.attribute = attribute role { text } + db.refsect1.attlist = + db.refsect1.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect1.status.attribute? + db.refsect1.info = db._info.title.req + db.refsect1 = + + ## A major subsection of a reference entry + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refsect1" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refsect1 { + db.refsect1.attlist, + db.refsect1.info, + ((db.all.blocks+, db.refsect1.sections?) | db.refsect1.sections) + } +} +db.refsect2.sections = db.refsect3+ +div { + db.refsect2.status.attribute = db.status.attribute + db.refsect2.role.attribute = attribute role { text } + db.refsect2.attlist = + db.refsect2.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect2.status.attribute? + db.refsect2.info = db._info.title.req + db.refsect2 = + + ## A subsection of a refsect1 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refsect2" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refsect2 { + db.refsect2.attlist, + db.refsect2.info, + ((db.all.blocks+, db.refsect2.sections?) | db.refsect2.sections) + } +} +div { + db.refsect3.status.attribute = db.status.attribute + db.refsect3.role.attribute = attribute role { text } + db.refsect3.attlist = + db.refsect3.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.refsect3.status.attribute? + db.refsect3.info = db._info.title.req + db.refsect3 = + + ## A subsection of a refsect2 + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:refsect3" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element refsect3 { + db.refsect3.attlist, db.refsect3.info, db.all.blocks+ + } +} +db.glossary.inlines = + db.firstterm | db.glossterm | db._firstterm | db._glossterm +db.baseform.attribute = + + ## Specifies the base form of the term, the one that appears in the glossary. This allows adjectival, plural, and other variations of the term to appear in the element. The element content is the default base form. + attribute baseform { text }? +div { + db.glosslist.role.attribute = attribute role { text } + db.glosslist.attlist = + db.glosslist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.glosslist.info = db._info.title.only + db.glosslist = + + ## A wrapper for a list of glossary entries + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:glosslist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glosslist { + db.glosslist.attlist, + db.glosslist.info?, + db.all.blocks*, + db.glossentry+ + } +} +div { + db.glossentry.role.attribute = attribute role { text } + db.glossentry.sortas.attribute = + + ## Specifies the string by which the element's content is to be sorted; if unspecified, the content is used + attribute sortas { text } + db.glossentry.attlist = + db.glossentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossentry.sortas.attribute? + db.glossentry = + + ## An entry in a glossary or glosslist + element glossentry { + db.glossentry.attlist, + db.glossterm, + db.acronym?, + db.abbrev?, + db.indexterm*, + (db.glosssee | db.glossdef+) + } +} +div { + db.glossdef.role.attribute = attribute role { text } + db.glossdef.subject.attribute = + + ## Specifies a list of keywords for the definition + attribute subject { text } + db.glossdef.attlist = + db.glossdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossdef.subject.attribute? + db.glossdef = + + ## A definition in a glossentry + element glossdef { + db.glossdef.attlist, db.all.blocks+, db.glossseealso* + } +} +div { + db.glosssee.role.attribute = attribute role { text } + db.glosssee.otherterm.attribute = + + ## Identifies the other term + attribute otherterm { xsd:IDREF } + db.glosssee.attlist = + db.glosssee.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glosssee.otherterm.attribute? + db.glosssee = + + ## A cross-reference from one glossentry + ## to another + [ + s:pattern [ + name = "Glosssary 'see' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glosssee[@otherterm]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'" + "@otherterm on glosssee must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glosssee { db.glosssee.attlist, db.all.inlines* } +} +div { + db.glossseealso.role.attribute = attribute role { text } + db.glossseealso.otherterm.attribute = + + ## Identifies the other term + attribute otherterm { xsd:IDREF } + db.glossseealso.attlist = + db.glossseealso.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.glossseealso.otherterm.attribute? + db.glossseealso = + + ## A cross-reference from one glossentry to another + [ + s:pattern [ + name = "Glossary 'seealso' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossseealso[@otherterm]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@otherterm]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@otherterm]) = 'http://docbook.org/ns/docbook'" + "@otherterm on glossseealso must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossseealso { db.glossseealso.attlist, db.all.inlines* } +} +div { + db.firstterm.role.attribute = attribute role { text } + db.firstterm.attlist = + db.firstterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.firstterm = + + ## The first occurrence of a term + [ + s:pattern [ + name = "Glossary 'firstterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:firstterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on firstterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element firstterm { db.firstterm.attlist, db.all.inlines* } +} +div { + db._firstterm.role.attribute = attribute role { text } + db._firstterm.attlist = + db._firstterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db._firstterm = + + ## The first occurrence of a term, with limited content + [ + s:pattern [ + name = "Glossary 'firstterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:firstterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on firstterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element firstterm { db._firstterm.attlist, db._text } +} +div { + db.glossterm.role.attribute = attribute role { text } + db.glossterm.attlist = + db.glossterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.glossterm = + + ## A glossary term + [ + s:pattern [ + name = "Glossary 'glossterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on glossterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossterm { db.glossterm.attlist, db.all.inlines* } +} +div { + db._glossterm.role.attribute = attribute role { text } + db._glossterm.attlist = + db._glossterm.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db._glossterm = + + ## A glossary term + [ + s:pattern [ + name = "Glossary 'glossterm' type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:glossterm[@linkend]" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'glossentry' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on glossterm must point to a glossentry." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossterm { db._glossterm.attlist, db._text } +} +div { + db.glossary.status.attribute = db.status.attribute + db.glossary.role.attribute = attribute role { text } + db.glossary.attlist = + db.glossary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.glossary.status.attribute? + db.glossary.info = db._info + db.glossary = + + ## A glossary + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:glossary" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossary { + db.glossary.attlist, + db.glossary.info, + db.all.blocks*, + (db.glossdiv* | db.glossentry*), + db.bibliography? + } +} +div { + db.glossdiv.status.attribute = db.status.attribute + db.glossdiv.role.attribute = attribute role { text } + db.glossdiv.attlist = + db.glossdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.glossdiv.status.attribute? + db.glossdiv.info = db._info.title.req + db.glossdiv = + + ## A division in a glossary + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:glossdiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element glossdiv { + db.glossdiv.attlist, + db.glossdiv.info, + db.all.blocks*, + db.glossentry+ + } +} +div { + db.termdef.role.attribute = attribute role { text } + db.termdef.attlist = + db.termdef.role.attribute? + & db.glossentry.sortas.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.baseform.attribute + db.termdef = + + ## An inline definition of a term + [ + s:pattern [ + name = "Glossary term definition constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:termdef" + "\x{a}" ~ + " " + s:assert [ + test = "count(db:firstterm) = 1" + "A termdef must contain exactly one firstterm" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element termdef { db.termdef.attlist, db.all.inlines* } +} +db.relation.attribute = + + ## Identifies the relationship between the bibliographic elemnts + attribute relation { text } +div { + db.biblioentry.role.attribute = attribute role { text } + db.biblioentry.attlist = + db.biblioentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.biblioentry = + + ## A raw entry in a bibliography + element biblioentry { + db.biblioentry.attlist, db.bibliographic.elements+ + } +} +div { + db.bibliomixed.role.attribute = attribute role { text } + db.bibliomixed.attlist = + db.bibliomixed.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliomixed = + + ## A cooked entry in a bibliography + element bibliomixed { + db.bibliomixed.attlist, + ((db._text + | db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)* + | (db._text + | db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)*) + } +} +div { + db.biblioset.relation.attribute = db.relation.attribute + db.biblioset.role.attribute = attribute role { text } + db.biblioset.attlist = + db.biblioset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.biblioset.relation.attribute? + db.biblioset = + + ## A raw container for related bibliographic information + element biblioset { + db.biblioset.attlist, db.bibliographic.elements+ + } +} +div { + db.bibliomset.relation.attribute = db.relation.attribute + db.bibliomset.role.attribute = attribute role { text } + db.bibliomset.attlist = + db.bibliomset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.bibliomset.relation.attribute? + db.bibliomset = + + ## A cooked container for related bibliographic information + element bibliomset { + db.bibliomset.attlist, + ((db._text + | db.honorific + | db.firstname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)* + | (db._text + | db.honorific + | db.givenname + | db.surname + | db.lineage + | db.othername + | db.bibliographic.elements)*) + } +} +div { + db.bibliomisc.role.attribute = attribute role { text } + db.bibliomisc.attlist = + db.bibliomisc.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliomisc = + + ## Untyped bibliographic information + element bibliomisc { db.bibliomisc.attlist, db._text } +} +div { + db.bibliography.status.attrib = db.status.attribute + db.bibliography.role.attribute = attribute role { text } + db.bibliography.attlist = + db.bibliography.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.bibliography.status.attrib? + db.bibliography.info = db._info + db.bibliography = + + ## A bibliography + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:bibliography" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element bibliography { + db.bibliography.attlist, + db.bibliography.info, + db.all.blocks*, + (db.bibliodiv+ | (db.biblioentry | db.bibliomixed)+) + } +} +div { + db.bibliodiv.status.attrib = db.status.attribute + db.bibliodiv.role.attribute = attribute role { text } + db.bibliodiv.attlist = + db.bibliodiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.bibliodiv.status.attrib? + db.bibliodiv.info = db._info.title.req + db.bibliodiv = + + ## A section of a bibliography + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:bibliodiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element bibliodiv { + db.bibliodiv.attlist, + db.bibliodiv.info, + db.all.blocks*, + (db.biblioentry | db.bibliomixed)+ + } +} +div { + db.bibliolist.role.attribute = attribute role { text } + db.bibliolist.attlist = + db.bibliolist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.bibliolist.info = db._info.title.only + db.bibliolist = + + ## A wrapper for a list of bibliography entries + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:bibliolist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element bibliolist { + db.bibliolist.attlist, + db.bibliolist.info?, + db.all.blocks*, + (db.biblioentry | db.bibliomixed)+ + } +} +div { + db.biblioref.role.attribute = attribute role { text } + db.biblioref.xrefstyle.attribute = db.xrefstyle.attribute + db.biblioref.endterm.attribute = db.endterm.attribute + db.biblioref.units.attribute = + + ## The units (for example, pages) used to identify the beginning and ending of a reference. + attribute units { xsd:token } + db.biblioref.begin.attribute = + + ## Identifies the beginning of a reference; the location within the work that is being referenced. + attribute begin { xsd:token } + db.biblioref.end.attribute = + + ## Identifies the end of a reference. + attribute end { xsd:token } + db.biblioref.attlist = + db.biblioref.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + & db.biblioref.xrefstyle.attribute? + & db.biblioref.endterm.attribute? + & db.biblioref.units.attribute? + & db.biblioref.begin.attribute? + & db.biblioref.end.attribute? + db.biblioref = + + ## A cross-reference to a bibliographic entry + element biblioref { db.biblioref.attlist, empty } +} +db.significance.enumeration = + + ## Normal + "normal" + | + ## Preferred + "preferred" +db.significance.attribute = + + ## Specifies the significance of the term + attribute significance { db.significance.enumeration } +db.zone.attribute = + + ## Specifies the IDs of the elements to which this term applies + attribute zone { xsd:IDREFS } +db.indexterm.pagenum.attribute = + + ## Indicates the page on which this index term occurs in some version of the printed document + attribute pagenum { text } +db.scope.enumeration = + + ## All indexes + "all" + | + ## The global index (as for a combined index of a set of books) + "global" + | + ## The local index (the index for this document only) + "local" +db.scope.attribute = + + ## Specifies the scope of the index term + attribute scope { db.scope.enumeration } +db.sortas.attribute = + + ## Specifies the string by which the term is to be sorted; if unspecified, the term content is used + attribute sortas { text } +db.index.type.attribute = + + ## Specifies the target index for this term + attribute type { text } +div { + db.itermset.role.attribute = attribute role { text } + db.itermset.attlist = + db.itermset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.itermset = + + ## A set of index terms in the meta-information of a document + element itermset { db.itermset.attlist, db.indexterm.singular+ } +} +db.indexterm.contentmodel = + db.primary?, + ((db.secondary, + ((db.tertiary, (db.see | db.seealso+)?) + | db.see + | db.seealso+)?) + | db.see + | db.seealso+)? +div { + db.indexterm.singular.role.attribute = attribute role { text } + db.indexterm.singular.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## A singular index term + "singular" + } + db.indexterm.singular.attlist = + db.indexterm.singular.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.significance.attribute? + & db.zone.attribute? + & db.indexterm.pagenum.attribute? + & db.scope.attribute? + & db.index.type.attribute? + & db.indexterm.singular.class.attribute? + db.indexterm.singular = + + ## A wrapper for an indexed term + element indexterm { + db.indexterm.singular.attlist, db.indexterm.contentmodel + } +} +div { + db.indexterm.startofrange.role.attribute = attribute role { text } + db.indexterm.startofrange.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## The start of a range + "startofrange" + } + db.indexterm.startofrange.attlist = + db.indexterm.startofrange.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.significance.attribute? + & db.zone.attribute? + & db.indexterm.pagenum.attribute? + & db.scope.attribute? + & db.index.type.attribute? + & db.indexterm.startofrange.class.attribute + db.indexterm.startofrange = + + ## A wrapper for an indexed term that covers a range + element indexterm { + db.indexterm.startofrange.attlist, db.indexterm.contentmodel + } +} +div { + db.indexterm.endofrange.role.attribute = attribute role { text } + db.indexterm.endofrange.class.attribute = + + ## Identifies the class of index term + attribute class { + + ## The end of a range + "endofrange" + } + db.indexterm.endofrange.startref.attribute = + + ## Points to the start of the range + attribute startref { xsd:IDREF } + db.indexterm.endofrange.attlist = + db.indexterm.endofrange.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.indexterm.endofrange.class.attribute + & db.indexterm.endofrange.startref.attribute + db.indexterm.endofrange = + + ## Identifies the end of a range associated with an indexed term + element indexterm { db.indexterm.endofrange.attlist, empty } +} +div { + db.indexterm = + db.indexterm.singular + | db.indexterm.startofrange + | db.indexterm.endofrange +} +div { + db.primary.role.attribute = attribute role { text } + db.primary.attlist = + db.primary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.primary = + + ## The primary word or phrase under which an index term should be sorted + element primary { db.primary.attlist, db.all.inlines* } +} +div { + db.secondary.role.attribute = attribute role { text } + db.secondary.attlist = + db.secondary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.secondary = + + ## A secondary word or phrase in an index term + element secondary { db.secondary.attlist, db.all.inlines* } +} +div { + db.tertiary.role.attribute = attribute role { text } + db.tertiary.attlist = + db.tertiary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.sortas.attribute? + db.tertiary = + + ## A tertiary word or phrase in an index term + element tertiary { db.tertiary.attlist, db.all.inlines* } +} +div { + db.see.role.attribute = attribute role { text } + db.see.attlist = + db.see.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.see = + + ## Part of an index term directing the reader instead to another entry in the index + element see { db.see.attlist, db.all.inlines* } +} +div { + db.seealso.role.attribute = attribute role { text } + db.seealso.attlist = + db.seealso.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.seealso = + + ## Part of an index term directing the reader also to another entry in the index + element seealso { db.seealso.attlist, db.all.inlines* } +} +div { + db.index.status.attribute = db.status.attribute + db.index.role.attribute = attribute role { text } + db.index.attlist = + db.index.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.index.status.attribute? + & db.index.type.attribute? + db.index.info = db._info + # Yes, db.indexdiv* and db.indexentry*; that way an is valid. + # Authors can use an empty index to indicate where a generated index should + # appear. + db.index = + + ## An index to a book or part of a book + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:index" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element index { + db.index.attlist, + db.index.info, + db.all.blocks*, + (db.indexdiv* | db.indexentry* | db.segmentedlist) + } +} +div { + db.setindex.status.attribute = db.status.attribute + db.setindex.role.attribute = attribute role { text } + db.setindex.attlist = + db.setindex.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.setindex.status.attribute? + & db.index.type.attribute? + db.setindex.info = db._info + db.setindex = + + ## An index to a set of books + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:setindex" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element setindex { + db.setindex.attlist, + db.setindex.info, + db.all.blocks*, + (db.indexdiv* | db.indexentry*) + } +} +div { + db.indexdiv.status.attribute = db.status.attribute + db.indexdiv.role.attribute = attribute role { text } + db.indexdiv.attlist = + db.indexdiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.indexdiv.status.attribute? + db.indexdiv.info = db._info.title.req + db.indexdiv = + + ## A division in an index + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:indexdiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element indexdiv { + db.indexdiv.attlist, + db.indexdiv.info, + db.all.blocks*, + (db.indexentry+ | db.segmentedlist) + } +} +div { + db.indexentry.role.attribute = attribute role { text } + db.indexentry.attlist = + db.indexentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.indexentry = + + ## An entry in an index + element indexentry { + db.indexentry.attlist, + db.primaryie, + (db.seeie | db.seealsoie)*, + (db.secondaryie, (db.seeie | db.seealsoie | db.tertiaryie)*)* + } +} +div { + db.primaryie.role.attribute = attribute role { text } + db.primaryie.attlist = + db.primaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.primaryie = + + ## A primary term in an index entry, not in the text + element primaryie { db.primaryie.attlist, db.all.inlines* } +} +div { + db.secondaryie.role.attribute = attribute role { text } + db.secondaryie.attlist = + db.secondaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.secondaryie = + + ## A secondary term in an index entry, rather than in the text + element secondaryie { db.secondaryie.attlist, db.all.inlines* } +} +div { + db.tertiaryie.role.attribute = attribute role { text } + db.tertiaryie.attlist = + db.tertiaryie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.tertiaryie = + + ## A tertiary term in an index entry, rather than in the text + element tertiaryie { db.tertiaryie.attlist, db.all.inlines* } +} +div { + db.seeie.role.attribute = attribute role { text } + db.seeie.attlist = + db.seeie.role.attribute? + & db.common.attributes + & db.linkend.attribute? + db.seeie = + + ## A See + ## entry in an index, rather than in the text + element seeie { db.seeie.attlist, db.all.inlines* } +} +div { + db.seealsoie.role.attribute = attribute role { text } + db.seealsoie.attlist = + db.seealsoie.role.attribute? + & db.common.attributes + & db.linkends.attribute? + db.seealsoie = + + ## A See also + ## entry in an index, rather than in the text + element seealsoie { db.seealsoie.attlist, db.all.inlines* } +} +db.toc.pagenum.attribute = + + ## Indicates the page on which this element occurs in some version of the printed document + attribute pagenum { text } +div { + db.toc.role.attribute = attribute role { text } + db.toc.attlist = + db.toc.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.toc.info = db._info.title.only + db.toc = + + ## A table of contents + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:toc" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element toc { + db.toc.attlist, + db.toc.info, + db.all.blocks*, + (db.tocdiv | db.tocentry)* + } +} +div { + db.tocdiv.role.attribute = attribute role { text } + db.tocdiv.pagenum.attribute = db.toc.pagenum.attribute + db.tocdiv.attlist = + db.tocdiv.role.attribute? + & db.common.attributes + & db.tocdiv.pagenum.attribute? + & db.linkend.attribute? + db.tocdiv.info = db._info + db.tocdiv = + + ## A division in a table of contents + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:tocdiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element tocdiv { + db.tocdiv.attlist, + db.tocdiv.info, + db.all.blocks*, + (db.tocdiv | db.tocentry)+ + } +} +div { + db.tocentry.role.attribute = attribute role { text } + db.tocentry.pagenum.attribute = db.toc.pagenum.attribute + db.tocentry.attlist = + db.tocentry.role.attribute? + & db.common.attributes + & db.tocentry.pagenum.attribute? + & db.linkend.attribute? + db.tocentry = + + ## A component title in a table of contents + element tocentry { db.tocentry.attlist, db.all.inlines* } +} +db.task.info = db._info.title.req +div { + db.task.role.attribute = attribute role { text } + db.task.attlist = + db.task.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.task = + + ## A task to be completed + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:task" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element task { + db.task.attlist, + db.task.info, + db.tasksummary?, + db.taskprerequisites?, + db.procedure+, + db.example*, + db.taskrelated? + } +} +div { + db.tasksummary.role.attribute = attribute role { text } + db.tasksummary.attlist = + db.tasksummary.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.tasksummary.info = db._info.title.only + db.tasksummary = + + ## A summary of a task + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:tasksummary" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element tasksummary { + db.tasksummary.attlist, db.tasksummary.info, db.all.blocks+ + } +} +div { + db.taskprerequisites.role.attribute = attribute role { text } + db.taskprerequisites.attlist = + db.taskprerequisites.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.taskprerequisites.info = db._info.title.only + db.taskprerequisites = + + ## The prerequisites for a task + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:taskprerequisites" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element taskprerequisites { + db.taskprerequisites.attlist, + db.taskprerequisites.info, + db.all.blocks+ + } +} +div { + db.taskrelated.role.attribute = attribute role { text } + db.taskrelated.attlist = + db.taskrelated.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.taskrelated.info = db._info.title.only + db.taskrelated = + + ## Information related to a task + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:taskrelated" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element taskrelated { + db.taskrelated.attlist, db.taskrelated.info, db.all.blocks+ + } +} +db.area.units.enumeration = + + ## Coordinates expressed as a pair of CALS graphic coordinates. + "calspair" + | + ## Coordinates expressed as a line and column. + "linecolumn" + | + ## Coordinates expressed as a pair of lines and columns. + "linecolumnpair" + | + ## Coordinates expressed as a line range. + "linerange" +db.area.units-enum.attribute = + + ## Identifies the units used in the coords attribute. The default units vary according to the type of callout specified: calspair + ## for graphics and linecolumn + ## for line-oriented elements. + attribute units { db.area.units.enumeration }? +db.area.units-other.attributes = + + ## Indicates that non-standard units are used for this area + ## . In this case otherunits + ## must be specified. + attribute units { + + ## Coordinates expressed in some non-standard units. + "other" + }?, + + ## Identifies the units used in the coords + ## attribute when the units + ## attribute is other + ## . This attribute is forbidden otherwise. + attribute otherunits { xsd:NMTOKEN } +db.area.units.attribute = + db.area.units-enum.attribute | db.area.units-other.attributes +div { + db.calloutlist.role.attribute = attribute role { text } + db.calloutlist.attlist = + db.calloutlist.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.calloutlist.info = db._info.title.only + db.calloutlist = + + ## A list of callout + ## s + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:calloutlist" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element calloutlist { + db.calloutlist.attlist, + db.calloutlist.info, + db.all.blocks*, + db.callout+ + } +} +div { + db.callout.role.attribute = attribute role { text } + db.callout.arearefs.attribute = + + ## Identifies the areas described by this callout. + attribute arearefs { xsd:IDREFS } + db.callout.attlist = + db.callout.role.attribute? + & db.common.attributes + & db.callout.arearefs.attribute + db.callout = + + ## A called out + ## description of a marked area + element callout { db.callout.attlist, db.all.blocks+ } +} +div { + db.programlistingco.role.attribute = attribute role { text } + db.programlistingco.attlist = + db.programlistingco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.programlistingco.info = db._info.title.forbidden + db.programlistingco = + + ## A program listing with associated areas used in callouts + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:programlistingco" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element programlistingco { + db.programlistingco.attlist, + db.programlistingco.info, + db.areaspec, + db.programlisting, + db.calloutlist* + } +} +div { + db.areaspec.role.attribute = attribute role { text } + db.areaspec.attlist = + db.areaspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.area.units.attribute + db.areaspec = + + ## A collection of regions in a graphic or code example + element areaspec { db.areaspec.attlist, (db.area | db.areaset)+ } +} +div { + db.area.role.attribute = attribute role { text } + db.area.linkends.attribute = + + ## Point to the callout + ## s which refer to this area. (This provides bidirectional linking which may be useful in online presentation.) + attribute linkends { xsd:IDREFS } + db.area.label.attribute = + + ## Specifies an identifying number or string that may be used in presentation. The area label might be drawn on top of the figure, for example, at the position indicated by the coords attribute. + attribute label { text } + db.area.coords.attribute = + + ## Provides the coordinates of the area. The coordinates must be interpreted using the units + ## specified. + attribute coords { text } + db.area.attlist = + db.area.role.attribute? + & db.common.idreq.attributes + & db.area.units.attribute + & (db.area.linkends.attribute | db.xlink.simple.link.attributes)? + & db.area.label.attribute? + & db.area.coords.attribute + db.area = + + ## A region defined for a callout in a graphic or code example + element area { db.area.attlist, db.alt? } +} +div { + # The only difference is that xml:id is optional + db.area.inareaset.attlist = + db.area.role.attribute? + & db.common.attributes + & db.area.units.attribute + & (db.area.linkends.attribute | db.xlink.simple.link.attributes)? + & db.area.label.attribute? + & db.area.coords.attribute + db.area.inareaset = + + ## A region defined for a callout in a graphic or code example + element area { db.area.inareaset.attlist, db.alt? } +} +div { + db.areaset.role.attribute = attribute role { text } + db.areaset.linkends.attribute = db.linkends.attribute + db.areaset.label.attribute = db.label.attribute + db.areaset.attlist = + db.areaset.role.attribute? + & db.common.idreq.attributes + & db.area.units.attribute + & (db.areaset.linkends.attribute | db.xlink.simple.link.attributes)? + & db.areaset.label.attribute? + db.areaset = + + ## A set of related areas in a graphic or code example + element areaset { db.areaset.attlist, db.area.inareaset+ } +} +div { + db.screenco.role.attribute = attribute role { text } + db.screenco.attlist = + db.screenco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.screenco.info = db._info.title.forbidden + db.screenco = + + ## A screen with associated areas used in callouts + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:screenco" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element screenco { + db.screenco.attlist, + db.screenco.info, + db.areaspec, + db.screen, + db.calloutlist* + } +} +div { + db.imageobjectco.role.attribute = attribute role { text } + db.imageobjectco.attlist = + db.imageobjectco.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.imageobjectco.info = db._info.title.forbidden + db.imageobjectco = + + ## A wrapper for an image object with callouts + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:imageobjectco" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element imageobjectco { + db.imageobjectco.attlist, + db.imageobjectco.info, + db.areaspec, + db.imageobject+, + db.calloutlist* + } +} +div { + db.co.role.attribute = attribute role { text } + db.co.linkends.attribute = db.linkends.attribute + db.co.label.attribute = db.label.attribute + db.co.attlist = + db.co.role.attribute? + & db.common.idreq.attributes + & db.co.linkends.attribute? + & db.co.label.attribute? + db.co = + + ## The location of a callout embedded in text + element co { db.co.attlist, empty } +} +div { + db.coref.role.attribute = attribute role { text } + db.coref.label.attribute = db.label.attribute + db.coref.attlist = + db.coref.role.attribute? + & db.common.attributes + & db.linkend.attribute + & db.coref.label.attribute? + db.coref = + + ## A cross reference to a co + element coref { db.coref.attlist, empty } +} +div { + db.productionset.role.attribute = attribute role { text } + db.productionset.attlist = + db.productionset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.productionset.info = db._info.title.only + db.productionset = + + ## A set of EBNF productions + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:productionset" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element productionset { + db.productionset.attlist, + db.productionset.info, + (db.production | db.productionrecap)+ + } +} +div { + db.production.role.attribute = attribute role { text } + db.production.attlist = + db.production.role.attribute? + & db.common.idreq.attributes + & db.common.linking.attributes + db.production = + + ## A production in a set of EBNF productions + element production { + db.production.attlist, db.lhs, db.rhs+, db.constraint* + } +} +div { + db.lhs.role.attribute = attribute role { text } + db.lhs.attlist = + db.lhs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.lhs = + + ## The left-hand side of an EBNF production + element lhs { db.lhs.attlist, text } +} +div { + db.rhs.role.attribute = attribute role { text } + db.rhs.attlist = + db.rhs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.rhs = + + ## The right-hand side of an EBNF production + element rhs { + db.rhs.attlist, + (text | db.nonterminal | db.lineannotation | db.sbr)* + } +} +div { + db.nonterminal.role.attribute = attribute role { text } + db.nonterminal.def.attribute = + + ## Specifies a URI that points to a production + ## where the nonterminal + ## is defined + attribute def { xsd:anyURI } + db.nonterminal.attlist = + db.nonterminal.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.nonterminal.def.attribute + db.nonterminal = + + ## A non-terminal in an EBNF production + element nonterminal { db.nonterminal.attlist, text } +} +div { + db.constraint.role.attribute = attribute role { text } + db.constraint.attlist = + db.constraint.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + db.constraint = + + ## A constraint in an EBNF production + element constraint { db.constraint.attlist, empty } +} +div { + db.productionrecap.role.attribute = attribute role { text } + db.productionrecap.attlist = + db.productionrecap.role.attribute? + & db.common.attributes + & db.common.req.linking.attributes + db.productionrecap = + + ## A cross-reference to an EBNF production + element productionrecap { db.productionrecap.attlist, empty } +} +div { + db.constraintdef.role.attribute = attribute role { text } + db.constraintdef.attlist = + db.constraintdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.constraintdef.info = db._info.title.only + db.constraintdef = + + ## The definition of a constraint in an EBNF production + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:constraintdef" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element constraintdef { + db.constraintdef.attlist, db.constraintdef.info, db.all.blocks+ + } +} +db.char.attribute = + + ## Specifies the alignment character when align + ## is set to char + ## . + attribute char { text } +db.charoff.attribute = + + ## Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char + ## when align + ## is set to char + ## . + attribute charoff { + xsd:decimal { minExclusive = "0" maxExclusive = "100" } + } +db.frame.attribute = + + ## Specifies how the table is to be framed. Note that there is no way to obtain a border on only the starting edge (left, in left-to-right writing systems) of the table. + attribute frame { + + ## Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + "all" + | + ## Frame only the bottom of the table. + "bottom" + | + ## Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + "none" + | + ## Frame the left and right sides of the table. + "sides" + | + ## Frame the top of the table. + "top" + | + ## Frame the top and bottom of the table. + "topbot" + } +db.colsep.attribute = + + ## Specifies the presence or absence of the column separator + attribute colsep { + + ## No column separator rule. + "0" + | + ## Provide a column separator rule on the right + "1" + } +db.rowsep.attribute = + + ## Specifies the presence or absence of the row separator + attribute rowsep { + + ## No row separator rule. + "0" + | + ## Provide a row separator rule below + "1" + } +db.orient.attribute = + + ## Specifies the orientation of the table + attribute orient { + + ## 90 degrees counter-clockwise from the rest of the text flow. + "land" + | + ## The same orientation as the rest of the text flow. + "port" + } +db.tabstyle.attribute = + + ## Specifies the table style + attribute tabstyle { text } +db.rowheader.attribute = + + ## Indicates whether or not the entries in the first column should be considered row headers + attribute rowheader { + + ## Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + "firstcol" + | + ## Indicates that entries in the first column have no special significance with respect to column headers. + "norowheader" + } +db.align.attribute = + + ## Specifies the horizontal alignment of text in an entry. + attribute align { + + ## Centered. + "center" + | + ## Aligned on a particular character. + "char" + | + ## Left and right justified. + "justify" + | + ## Left justified. + "left" + | + ## Right justified. + "right" + } +db.valign.attribute = + + ## Specifies the vertical alignment of text in an entry. + attribute valign { + + ## Aligned on the bottom of the entry. + "bottom" + | + ## Aligned in the middle. + "middle" + | + ## Aligned at the top of the entry. + "top" + } +db.specify-col-by-colname.attributes = + + ## Specifies a column specification by name. + attribute colname { text } +db.specify-col-by-namest.attributes = + + ## Specifies a starting column by name. + attribute namest { text } +db.specify-span-by-spanspec.attributes = + + ## Specifies a span by name. + attribute spanname { text } +db.specify-span-directly.attributes = + + ## Specifies a starting column by name. + attribute namest { text } + & + ## Specifies an ending column by name. + attribute nameend { text } +db.column-spec.attributes = + db.specify-col-by-colname.attributes + | db.specify-col-by-namest.attributes + | db.specify-span-by-spanspec.attributes + | db.specify-span-directly.attributes +db.colname.attribute = + + ## Provides a name for a column specification. + attribute colname { text } +db.spanname.attribute = + + ## Provides a name for a span specification. + attribute spanname { text } +div { + db.tgroup.role.attribute = attribute role { text } + db.tgroup.tgroupstyle.attribute = + + ## Additional style information for downstream processing; typically the name of a style. + attribute tgroupstyle { text } + db.tgroup.cols.attribute = + + ## The number of columns in the table. Must be an integer greater than zero. + attribute cols { xsd:positiveInteger } + db.tgroup.attlist = + db.tgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.char.attribute? + & db.charoff.attribute? + & db.tgroup.tgroupstyle.attribute? + & db.tgroup.cols.attribute + & db.colsep.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.tgroup = + + ## A wrapper for the main content of a table, or part of a table + element tgroup { + db.tgroup.attlist, + db.colspec*, + db.spanspec*, + db.cals.thead?, + db.cals.tfoot?, + db.cals.tbody + } +} +div { + db.colspec.role.attribute = attribute role { text } + db.colspec.colnum.attribute = + + ## The number of the column to which this specification applies. Must be greater than any preceding column number. Defaults to one more than the number of the preceding column, if there is one, or one. + attribute colnum { xsd:positiveInteger } + db.colspec.colwidth.attribute = + + ## Specifies the width of the column. + attribute colwidth { text } + db.colspec.attlist = + db.colspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.colspec.colnum.attribute? + & db.char.attribute? + & db.colsep.attribute? + & db.colspec.colwidth.attribute? + & db.charoff.attribute? + & db.colname.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.colspec = + + ## Specifications for a column in a table + element colspec { db.colspec.attlist, empty } +} +div { + db.spanspec.role.attribute = attribute role { text } + db.spanspec.namest.attribute = + + ## Specifies a starting column by name. + attribute namest { text } + db.spanspec.nameend.attribute = + + ## Specifies an ending column by name. + attribute nameend { text } + db.spanspec.attlist = + db.spanspec.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.spanname.attribute + & db.spanspec.namest.attribute + & db.spanspec.nameend.attribute + & db.char.attribute? + & db.colsep.attribute? + & db.charoff.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.spanspec = + + ## Formatting information for a spanned column in a table + element spanspec { db.spanspec.attlist, empty } +} +div { + db.cals.thead.role.attribute = attribute role { text } + db.cals.thead.attlist = + db.cals.thead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.thead = + + ## A table header consisting of one or more rows + element thead { db.cals.thead.attlist, db.colspec*, db.row+ } +} +div { + db.cals.tfoot.role.attribute = attribute role { text } + db.cals.tfoot.attlist = + db.cals.tfoot.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.tfoot = + + ## A table footer consisting of one or more rows + element tfoot { db.cals.tfoot.attlist, db.colspec*, db.row+ } +} +div { + db.cals.tbody.role.attribute = attribute role { text } + db.cals.tbody.attlist = + db.cals.tbody.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.tbody = + + ## A wrapper for the rows of a table or informal table + element tbody { db.cals.tbody.attlist, db.row+ } +} +div { + db.row.role.attribute = attribute role { text } + db.row.attlist = + db.row.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.rowsep.attribute? + & db.valign.attribute? + db.row = + + ## A row in a table + element row { db.row.attlist, (db.entry | db.entrytbl)+ } +} +div { + db.entry.role.attribute = attribute role { text } + db.entry.morerows.attribute = + + ## Specifies the number of additional rows which this entry occupies. Defaults to zero. + attribute morerows { xsd:integer } + db.entry.rotate.attribute = + + ## Specifies the rotation of this entry. A value of 1 (true) rotates the cell 90 degrees counter-clockwise. A value of 0 (false) leaves the cell unrotated. + attribute rotate { + + ## Do not rotate the cell. + "0" + | + ## Rotate the cell 90 degrees counter-clockwise. + "1" + } + db.entry.attlist = + db.entry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + & db.char.attribute? + & db.colsep.attribute? + & db.charoff.attribute? + & db.entry.morerows.attribute? + & db.column-spec.attributes? + & db.rowsep.attribute? + & db.entry.rotate.attribute? + & db.align.attribute? + db.entry = + + ## A cell in a table + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:entry" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of entry" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:entry" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:informaltable)" + "informaltable must not occur among the children or descendants of entry" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element entry { + db.entry.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.entrytbl.role.attribute = attribute role { text } + db.entrytbl.tgroupstyle.attribute = + + ## Additional style information for downstream processing; typically the name of a style. + attribute tgroupstyle { text } + db.entrytbl.cols.attribute = + + ## The number of columns in the entry table. Must be an integer greater than zero. + attribute cols { xsd:positiveInteger } + db.entrytbl.attlist = + db.entrytbl.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.char.attribute? + & db.charoff.attribute? + & db.column-spec.attributes? + & db.entrytbl.tgroupstyle.attribute? + & db.entrytbl.cols.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.align.attribute? + db.entrytbl = + + ## A subtable appearing in place of an entry in a table + element entrytbl { + db.entrytbl.attlist, + db.colspec*, + db.spanspec*, + db.cals.entrytbl.thead?, + db.cals.entrytbl.tbody + } +} +div { + db.cals.entrytbl.thead.role.attribute = attribute role { text } + db.cals.entrytbl.thead.attlist = + db.cals.entrytbl.thead.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.entrytbl.thead = + + ## A table header consisting of one or more rows + element thead { + db.cals.entrytbl.thead.attlist, db.colspec*, db.entrytbl.row+ + } +} +div { + db.cals.entrytbl.tbody.role.attribute = attribute role { text } + db.cals.entrytbl.tbody.attlist = + db.cals.entrytbl.tbody.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.valign.attribute? + db.cals.entrytbl.tbody = + + ## A wrapper for the rows of a table or informal table + element tbody { db.cals.entrytbl.tbody.attlist, db.entrytbl.row+ } +} +div { + db.entrytbl.row.role.attribute = attribute role { text } + db.entrytbl.row.attlist = + db.entrytbl.row.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.rowsep.attribute? + & db.valign.attribute? + db.entrytbl.row = + + ## A row in a table + element row { db.entrytbl.row.attlist, db.entry+ } +} +div { + db.cals.table.role.attribute = attribute role { text } + db.cals.table.label.attribute = db.label.attribute + db.cals.table.attlist = + db.cals.table.role.attribute? + & db.cals.table.label.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tabstyle.attribute? + & db.floatstyle.attribute? + & db.orient.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.frame.attribute? + & db.pgwide.attribute? + & + ## Indicates if the short or long title should be used in a List of Tables + attribute shortentry { + + ## Indicates that the full title should be used. + "0" + | + ## Indicates that the short short title (titleabbrev) should be used. + "1" + }? + & + ## Indicates if the table should appear in a List of Tables + attribute tocentry { + + ## Indicates that the table should not occur in the List of Tables. + "0" + | + ## Indicates that the table should appear in the List of Tables. + "1" + }? + & db.rowheader.attribute? + db.cals.table.info = db._info.title.onlyreq + db.cals.table = + + ## A formal table in a document + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:table" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element table { + db.cals.table.attlist, + db.cals.table.info, + (db.alt? & db.indexing.inlines* & db.textobject*), + (db.mediaobject+ | db.tgroup+), + db.caption? + } +} +div { + db.cals.informaltable.role.attribute = attribute role { text } + db.cals.informaltable.attlist = + db.cals.informaltable.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tabstyle.attribute? + & db.floatstyle.attribute? + & db.orient.attribute? + & db.colsep.attribute? + & db.rowsep.attribute? + & db.frame.attribute? + & db.pgwide.attribute? + & db.rowheader.attribute? + db.cals.informaltable.info = db._info.title.forbidden + db.cals.informaltable = + + ## A table without a title + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:informaltable" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element informaltable { + db.cals.informaltable.attlist, + db.cals.informaltable.info, + (db.alt? & db.indexing.inlines* & db.textobject*), + (db.mediaobject+ | db.tgroup+), + db.caption? + } +} +db.html.coreattrs = + + ## This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. + attribute class { text }? + & + ## This attribute specifies style information for the current element. + attribute style { text }? + & + ## This attribute offers advisory information about the element for which it is set. + attribute title { text }? +db.html.i18n = + + ## This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown. + attribute lang { text }? +db.html.events = + + ## Occurs when the pointing device button is clicked over an element. + attribute onclick { text }? + & + ## Occurs when the pointing device button is double clicked over an element. + attribute ondblclick { text }? + & + ## Occurs when the pointing device button is pressed over an element. + attribute onmousedown { text }? + & + ## Occurs when the pointing device button is released over an element. + attribute onmouseup { text }? + & + ## Occurs when the pointing device is moved onto an element. + attribute onmouseover { text }? + & + ## Occurs when the pointing device is moved while it is over an element. + attribute onmousemove { text }? + & + ## Occurs when the pointing device is moved away from an element. + attribute onmouseout { text }? + & + ## Occurs when a key is pressed and released over an element. + attribute onkeypress { text }? + & + ## Occurs when a key is pressed down over an element. + attribute onkeydown { text }? + & + ## Occurs when a key is released over an element. + attribute onkeyup { text }? +db.html.attrs = + db.common.attributes + & db.html.coreattrs + & db.html.i18n + & db.html.events +db.html.cellhalign = + + ## Specifies the alignment of data and the justification of text in a cell. + attribute align { + + ## Left-flush data/Left-justify text. This is the default value for table data. + "left" + | + ## Center data/Center-justify text. This is the default value for table headers. + "center" + | + ## Right-flush data/Right-justify text. + "right" + | + ## Double-justify text. + "justify" + | + ## Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. + "char" + }? + & + ## This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute. + attribute char { text }? + & + ## When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute. + attribute charoff { + xsd:integer >> a:documentation [ "An explicit offset." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage offset." ] + }? +db.html.cellvalign = + + ## Specifies the vertical position of data within a cell. + attribute valign { + + ## Cell data is flush with the top of the cell. + "top" + | + ## Cell data is centered vertically within the cell. This is the default value. + "middle" + | + ## Cell data is flush with the bottom of the cell. + "bottom" + | + ## All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells. + "baseline" + }? +db.html.table.attributes = + + ## Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille. + attribute summary { text }? + & + ## Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent. + attribute width { + xsd:integer >> a:documentation [ "An explicit width." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage width." ] + }? + & + ## Specifies the width (in pixels only) of the frame around a table. + attribute border { xsd:nonNegativeInteger }? + & + ## Specifies which sides of the frame surrounding a table will be visible. + attribute frame { + + ## No sides. This is the default value. + "void" + | + ## The top side only. + "above" + | + ## The bottom side only. + "below" + | + ## The top and bottom sides only. + "hsides" + | + ## The left-hand side only. + "lhs" + | + ## The right-hand side only. + "rhs" + | + ## The right and left sides only. + "vsides" + | + ## All four sides. + "box" + | + ## All four sides. + "border" + }? + & + ## Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. + attribute rules { + + ## No rules. This is the default value. + "none" + | + ## Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only. + "groups" + | + ## Rules will appear between rows only. + "rows" + | + ## Rules will appear between columns only. + "cols" + | + ## Rules will appear between all rows and columns. + "all" + }? + & + ## Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells. + attribute cellspacing { + xsd:integer >> a:documentation [ "An explicit spacing." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage spacing." ] + }? + & + ## Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space. + attribute cellpadding { + xsd:integer >> a:documentation [ "An explicit padding." ] + | xsd:string { pattern = "[0-9]+%" } + >> a:documentation [ "A percentage padding." ] + }? +db.html.tablecell.attributes = + + ## Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content. + attribute abbr { text }? + & + ## This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details. + attribute axis { text }? + & + ## Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets. + attribute headers { text }? + & + ## Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables. + attribute scope { + + ## The current cell provides header information for the rest of the row that contains it + "row" + | + ## The current cell provides header information for the rest of the column that contains it. + "col" + | + ## The header cell provides header information for the rest of the row group that contains it. + "rowgroup" + | + ## The header cell provides header information for the rest of the column group that contains it. + "colgroup" + }? + & + ## Specifies the number of rows spanned by the current cell. The default value of this attribute is one (1 + ## ). The value zero (0 + ## ) means that the cell spans all rows from the current row to the last row of the table section (thead + ## , tbody + ## , or tfoot + ## ) in which the cell is defined. + attribute rowspan { xsd:nonNegativeInteger }? + & + ## Specifies the number of columns spanned by the current cell. The default value of this attribute is one (1 + ## ). The value zero (0 + ## ) means that the cell spans all columns from the current column to the last column of the column group (colgroup + ## ) in which the cell is defined. + attribute colspan { xsd:nonNegativeInteger }? +db.html.table.info = db._info.title.forbidden +db.html.table.model = + db.html.table.info?, + db.html.caption, + (db.html.col* | db.html.colgroup*), + db.html.thead?, + db.html.tfoot?, + (db.html.tbody+ | db.html.tr+) +db.html.informaltable.info = db._info.title.forbidden +db.html.informaltable.model = + db.html.informaltable.info?, + (db.html.col* | db.html.colgroup*), + db.html.thead?, + db.html.tfoot?, + (db.html.tbody+ | db.html.tr+) +div { + db.html.table.role.attribute = attribute role { text } + db.html.table.label.attribute = db.label.attribute + db.html.table.attlist = + db.html.attrs + & db.html.table.attributes + & db.html.table.role.attribute? + & db.html.table.label.attribute? + & db.orient.attribute? + & db.pgwide.attribute? + & db.tabstyle.attribute? + & db.floatstyle.attribute? + db.html.table = + + ## A formal (captioned) HTML table in a document + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:table" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of table" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:table" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element table { db.html.table.attlist, db.html.table.model } +} +div { + db.html.informaltable.role.attribute = attribute role { text } + db.html.informaltable.label.attribute = db.label.attribute + db.html.informaltable.attlist = + db.html.attrs + & db.html.table.attributes + & db.html.informaltable.role.attribute? + & db.html.informaltable.label.attribute? + & db.orient.attribute? + & db.pgwide.attribute? + & db.tabstyle.attribute? + & db.floatstyle.attribute? + db.html.informaltable = + + ## An HTML table without a title + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:informaltable" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element informaltable { + db.html.informaltable.attlist, db.html.informaltable.model + } +} +div { + db.html.caption.attlist = db.html.attrs + db.html.caption = + + ## An HTML table caption + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:sidebar)" + "sidebar must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:task)" + "task must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caption" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:caption" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caption { db.html.caption.attlist, db.all.inlines* } +} +div { + db.html.col.attlist = + db.html.attrs + & + ## This attribute, whose value must be an integer > 0, specifies the number of columns spanned + ## by the col + ## element; the col + ## element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N > 1, the current col + ## element shares its attributes with the next N-1 columns. + attribute span { xsd:nonNegativeInteger }? + & + ## Specifies a default width for each column spanned by the current col + ## element. It has the same meaning as the width + ## attribute for the colgroup + ## element and overrides it. + attribute width { text }? + & db.html.cellhalign + & db.html.cellvalign + db.html.col = + + ## Specifications for a column in an HTML table + element col { db.html.col.attlist, empty } +} +div { + db.html.colgroup.attlist = + db.html.attrs + & + ## This attribute, which must be an integer > 0, specifies the number of columns in a column group. In the absence of a span attribute, each colgroup + ## defines a column group containing one column. If the span attribute is set to N > 0, the current colgroup + ## element defines a column group containing N columns. User agents must ignore this attribute if the colgroup + ## element contains one or more col + ## elements. + attribute span { xsd:nonNegativeInteger }? + & + ## This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form 0* + ## (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying 0* + ## will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a col + ## element. + attribute width { text }? + & db.html.cellhalign + & db.html.cellvalign + db.html.colgroup = + + ## A group of columns in an HTML table + element colgroup { db.html.colgroup.attlist, db.html.col* } +} +div { + db.html.thead.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.thead = + + ## A table header consisting of one or more rows in an HTML table + element thead { db.html.thead.attlist, db.html.tr+ } +} +div { + db.html.tfoot.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tfoot = + + ## A table footer consisting of one or more rows in an HTML table + element tfoot { db.html.tfoot.attlist, db.html.tr+ } +} +div { + db.html.tbody.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tbody = + + ## A wrapper for the rows of an HTML table or informal HTML table + element tbody { db.html.tbody.attlist, db.html.tr+ } +} +div { + db.html.tr.attlist = + db.html.attrs & db.html.cellhalign & db.html.cellvalign + db.html.tr = + + ## A row in an HTML table + element tr { db.html.tr.attlist, (db.html.th | db.html.td)+ } +} +div { + db.html.th.attlist = + db.html.attrs + & db.html.tablecell.attributes + & db.html.cellhalign + & db.html.cellvalign + db.html.th = + + ## A table header entry in an HTML table + element th { + db.html.th.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.html.td.attlist = + db.html.attrs + & db.html.tablecell.attributes + & db.html.cellhalign + & db.html.cellvalign + db.html.td = + + ## A table entry in an HTML table + element td { + db.html.td.attlist, (db.all.inlines* | db.all.blocks*) + } +} +div { + db.msgset.role.attribute = attribute role { text } + db.msgset.attlist = + db.msgset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgset.info = db._info.title.only + db.msgset = + + ## A detailed set of messages, usually error messages + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msgset" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msgset { + db.msgset.attlist, + db.msgset.info, + (db.msgentry+ | db.simplemsgentry+) + } +} +div { + db.msgentry.role.attribute = attribute role { text } + db.msgentry.attlist = + db.msgentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgentry = + + ## A wrapper for an entry in a message set + element msgentry { + db.msgentry.attlist, db.msg+, db.msginfo?, db.msgexplan* + } +} +div { + db.simplemsgentry.role.attribute = attribute role { text } + db.simplemsgentry.msgaud.attribute = + + ## The audience to which the message relevant + attribute msgaud { text } + db.simplemsgentry.msgorig.attribute = + + ## The origin of the message + attribute msgorig { text } + db.simplemsgentry.msglevel.attribute = + + ## The level of importance or severity of a message + attribute msglevel { text } + db.simplemsgentry.attlist = + db.simplemsgentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.simplemsgentry.msgaud.attribute? + & db.simplemsgentry.msgorig.attribute? + & db.simplemsgentry.msglevel.attribute? + db.simplemsgentry = + + ## A wrapper for a simpler entry in a message set + element simplemsgentry { + db.simplemsgentry.attlist, db.msgtext, db.msgexplan+ + } +} +div { + db.msg.role.attribute = attribute role { text } + db.msg.attlist = + db.msg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msg.info = db._info.title.only + db.msg = + + ## A message in a message set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msg" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msg { + db.msg.attlist, db.msg.info, db.msgmain, (db.msgsub | db.msgrel)* + } +} +div { + db.msgmain.role.attribute = attribute role { text } + db.msgmain.attlist = + db.msgmain.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgmain.info = db._info.title.only + db.msgmain = + + ## The primary component of a message in a message set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msgmain" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msgmain { db.msgmain.attlist, db.msgmain.info, db.msgtext } +} +div { + db.msgsub.role.attribute = attribute role { text } + db.msgsub.attlist = + db.msgsub.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgsub.info = db._info.title.only + db.msgsub = + + ## A subcomponent of a message in a message set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msgsub" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msgsub { db.msgsub.attlist, db.msgsub.info, db.msgtext } +} +div { + db.msgrel.role.attribute = attribute role { text } + db.msgrel.attlist = + db.msgrel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgrel.info = db._info.title.only + db.msgrel = + + ## A related component of a message in a message set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msgrel" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msgrel { db.msgrel.attlist, db.msgrel.info, db.msgtext } +} +div { + db.msgtext.role.attribute = attribute role { text } + db.msgtext.attlist = + db.msgtext.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgtext = + + ## The actual text of a message component in a message set + element msgtext { db.msgtext.attlist, db.all.blocks+ } +} +div { + db.msginfo.role.attribute = attribute role { text } + db.msginfo.attlist = + db.msginfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msginfo = + + ## Information about a message in a message set + element msginfo { + db.msginfo.attlist, (db.msglevel | db.msgorig | db.msgaud)* + } +} +div { + db.msglevel.role.attribute = attribute role { text } + db.msglevel.attlist = + db.msglevel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msglevel = + + ## The level of importance or severity of a message in a message set + element msglevel { db.msglevel.attlist, db._text } +} +div { + db.msgorig.role.attribute = attribute role { text } + db.msgorig.attlist = + db.msgorig.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgorig = + + ## The origin of a message in a message set + element msgorig { db.msgorig.attlist, db._text } +} +div { + db.msgaud.role.attribute = attribute role { text } + db.msgaud.attlist = + db.msgaud.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgaud = + + ## The audience to which a message in a message set is relevant + element msgaud { db.msgaud.attlist, db._text } +} +div { + db.msgexplan.role.attribute = attribute role { text } + db.msgexplan.attlist = + db.msgexplan.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.msgexplan.info = db._info.title.only + db.msgexplan = + + ## Explanatory material relating to a message in a message set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:msgexplan" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element msgexplan { + db.msgexplan.attlist, db.msgexplan.info, db.all.blocks+ + } +} +div { + db.qandaset.role.attribute = attribute role { text } + db.qandaset.defaultlabel.enumeration = + + ## No labels + "none" + | + ## Numeric labels + "number" + | + ## "Q:" and "A:" labels + "qanda" + db.qandaset.defaultlabel.attribute = + + ## Specifies the default labelling + attribute defaultlabel { db.qandaset.defaultlabel.enumeration } + db.qandaset.attlist = + db.qandaset.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.qandaset.defaultlabel.attribute? + db.qandaset.info = db._info.title.only + db.qandaset = + + ## A question-and-answer set + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:qandaset" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element qandaset { + db.qandaset.attlist, + db.qandaset.info, + db.all.blocks*, + (db.qandadiv+ | db.qandaentry+) + } +} +div { + db.qandadiv.role.attribute = attribute role { text } + db.qandadiv.attlist = + db.qandadiv.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.qandadiv.info = db._info.title.only + db.qandadiv = + + ## A titled division in a qandaset + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:qandadiv" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element qandadiv { + db.qandadiv.attlist, + db.qandadiv.info, + db.all.blocks*, + (db.qandadiv+ | db.qandaentry+) + } +} +div { + db.qandaentry.role.attribute = attribute role { text } + db.qandaentry.attlist = + db.qandaentry.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.qandaentry.info = db._info.title.only + db.qandaentry = + + ## A question/answer set within a qandaset + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:qandaentry" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element qandaentry { + db.qandaentry.attlist, db.qandaentry.info, db.question, db.answer* + } +} +div { + db.question.role.attribute = attribute role { text } + db.question.attlist = + db.question.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.question = + + ## A question in a qandaset + element question { db.question.attlist, db.label?, db.all.blocks+ } +} +div { + db.answer.role.attribute = attribute role { text } + db.answer.attlist = + db.answer.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.answer = + + ## An answer to a question posed in a qandaset + element answer { db.answer.attlist, db.label?, db.all.blocks+ } +} +div { + db.label.role.attribute = attribute role { text } + db.label.attlist = + db.label.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.label = + + ## A label on a question or answer + element label { db.label.attlist, db._text } +} +db.math.inlines = db.inlineequation +db.equation.content = (db.mediaobject+ | db.mathphrase+) | db._any.mml+ +db.inlineequation.content = + (db.inlinemediaobject+ | db.mathphrase+) | db._any.mml+ +div { + db.equation.role.attribute = attribute role { text } + db.equation.label.attribute = db.label.attribute + db.equation.attlist = + db.equation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.equation.label.attribute? + & db.pgwide.attribute? + & db.floatstyle.attribute? + db.equation.info = db._info.title.only + db.equation = + + ## A displayed mathematical equation + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:example)" + "example must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:figure)" + "figure must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:table)" + "table must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:equation)" + "equation must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of equation" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:equation" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element equation { + db.equation.attlist, + db.equation.info, + db.alt?, + db.equation.content, + db.caption? + } +} +div { + db.informalequation.role.attribute = attribute role { text } + db.informalequation.attlist = + db.informalequation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.pgwide.attribute? + & db.floatstyle.attribute? + db.informalequation.info = db._info.title.forbidden + db.informalequation = + + ## A displayed mathematical equation without a title + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:informalequation" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element informalequation { + db.informalequation.attlist, + db.informalequation.info, + db.alt?, + db.equation.content, + db.caption? + } +} +div { + db.inlineequation.role.attribute = attribute role { text } + db.inlineequation.attlist = + db.inlineequation.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.inlineequation = + + ## A mathematical equation or expression occurring inline + element inlineequation { + db.inlineequation.attlist, db.alt?, db.inlineequation.content + } +} +div { + db.mathphrase.role.attribute = attribute role { text } + db.mathphrase.attlist = + db.mathphrase.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mathphrase = + + ## A mathematical phrase that can be represented with ordinary text and a small amount of markup + element mathphrase { + db.mathphrase.attlist, + (db._text | db.ubiq.inlines | db._emphasis)* + } +} +db.imagedata.mathml.content = db._any.mml +div { + db.imagedata.mathml.role.attribute = attribute role { text } + db.imagedata.mathml.attlist = + db.imagedata.mathml.role.attribute? + & db.common.attributes + & + ## Specifies that the format of the data is MathML + attribute format { + + ## Specifies MathML. + "mathml" + }? + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.mathml.info = db._info.title.forbidden + db.imagedata.mathml = + + ## A MathML expression in a media object + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:imagedata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element imagedata { + db.imagedata.mathml.attlist, + db.imagedata.mathml.info, + db.imagedata.mathml.content+ + } +} +div { + db._any.mml = + + ## Any element from the MathML namespace + element mml:* { (db._any.attribute | text | db._any)* } +} +db.imagedata.svg.content = db._any.svg +div { + db.imagedata.svg.role.attribute = attribute role { text } + db.imagedata.svg.attlist = + db.imagedata.svg.role.attribute? + & db.common.attributes + & + ## Specifies that the format of the data is SVG + attribute format { + + ## Specifies SVG. + "svg" + }? + & db.imagedata.align.attribute? + & db.imagedata.valign.attribute? + & db.imagedata.width.attribute? + & db.imagedata.contentwidth.attribute? + & db.imagedata.scalefit.attribute? + & db.imagedata.scale.attribute? + & db.imagedata.depth.attribute? + & db.imagedata.contentdepth.attribute? + db.imagedata.svg.info = db._info.title.forbidden + db.imagedata.svg = + + ## An SVG drawing in a media object + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:imagedata" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element imagedata { + db.imagedata.svg.attlist, + db.imagedata.svg.info, + db.imagedata.svg.content+ + } +} +div { + db._any.svg = + + ## Any element from the SVG namespace + element svg:* { (db._any.attribute | text | db._any)* } +} +db.markup.inlines = + db.tag + | db.markup + | db.token + | db.symbol + | db.literal + | db.code + | db.constant + | db.email + | db.uri +div { + db.markup.role.attribute = attribute role { text } + db.markup.attlist = + db.markup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.markup = + + ## A string of formatting markup in text that is to be represented literally + element markup { db.markup.attlist, db._text } +} +div { + db.tag.role.attribute = attribute role { text } + db.tag.class.enumeration = + + ## An attribute + "attribute" + | + ## An attribute value + "attvalue" + | + ## An element + "element" + | + ## An empty element tag + "emptytag" + | + ## An end tag + "endtag" + | + ## A general entity + "genentity" + | + ## The local name part of a qualified name + "localname" + | + ## A namespace + "namespace" + | + ## A numeric character reference + "numcharref" + | + ## A parameter entity + "paramentity" + | + ## A processing instruction + "pi" + | + ## The prefix part of a qualified name + "prefix" + | + ## An SGML comment + "comment" + | + ## A start tag + "starttag" + | + ## An XML processing instruction + "xmlpi" + db.tag.class.attribute = + + ## Identifies the nature of the tag content + attribute class { db.tag.class.enumeration } + db.tag.namespace.attribute = + + ## Identifies the namespace of the tag content + attribute namespace { xsd:anyURI } + db.tag.attlist = + db.tag.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.tag.class.attribute? + & db.tag.namespace.attribute? + db.tag = + + ## A component of XML (or SGML) markup + element tag { db.tag.attlist, (db._text | db.tag)* } +} +div { + db.symbol.class.attribute = + + ## Identifies the class of symbol + attribute class { + + ## The value is a limit of some kind + "limit" + } + db.symbol.role.attribute = attribute role { text } + db.symbol.attlist = + db.symbol.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.symbol.class.attribute? + db.symbol = + + ## A name that is replaced by a value before processing + element symbol { db.symbol.attlist, db._text } +} +div { + db.token.role.attribute = attribute role { text } + db.token.attlist = + db.token.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.token = + + ## A unit of information + element token { db.token.attlist, db._text } +} +div { + db.literal.role.attribute = attribute role { text } + db.literal.attlist = + db.literal.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.literal = + + ## Inline text that is some literal value + element literal { db.literal.attlist, db._text } +} +div { + code.language.attribute = + + ## Identifies the (computer) language of the code fragment + attribute language { text } + db.code.role.attribute = attribute role { text } + db.code.attlist = + db.code.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & code.language.attribute? + db.code = + + ## An inline code fragment + element code { + db.code.attlist, (db.programming.inlines | db._text)* + } +} +div { + db.constant.class.attribute = + + ## Identifies the class of constant + attribute class { + + ## The value is a limit of some kind + "limit" + } + db.constant.role.attribute = attribute role { text } + db.constant.attlist = + db.constant.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.constant.class.attribute? + db.constant = + + ## A programming or system constant + element constant { db.constant.attlist, db._text } +} +div { + db.productname.role.attribute = attribute role { text } + db.productname.class.enumeration = + + ## A name with a copyright + "copyright" + | + ## A name with a registered copyright + "registered" + | + ## A name of a service + "service" + | + ## A name which is trademarked + "trade" + db.productname.class.attribute = + + ## Specifies the class of product name + attribute class { db.productname.class.enumeration } + db.productname.attlist = + db.productname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.productname.class.attribute? + db.productname = + + ## The formal name of a product + element productname { db.productname.attlist, db._text } +} +div { + db.productnumber.role.attribute = attribute role { text } + db.productnumber.attlist = + db.productnumber.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.productnumber = + + ## A number assigned to a product + element productnumber { db.productnumber.attlist, db._text } +} +div { + db.database.class.enumeration = + + ## An alternate or secondary key + "altkey" + | + ## A constraint + "constraint" + | + ## A data type + "datatype" + | + ## A field + "field" + | + ## A foreign key + "foreignkey" + | + ## A group + "group" + | + ## An index + "index" + | + ## The first or primary key + "key1" + | + ## An alternate or secondary key + "key2" + | + ## A name + "name" + | + ## The primary key + "primarykey" + | + ## A (stored) procedure + "procedure" + | + ## A record + "record" + | + ## A rule + "rule" + | + ## The secondary key + "secondarykey" + | + ## A table + "table" + | + ## A user + "user" + | + ## A view + "view" + db.database.class.attribute = + + ## Identifies the class of database artifact + attribute class { db.database.class.enumeration } + db.database.role.attribute = attribute role { text } + db.database.attlist = + db.database.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.database.class.attribute? + db.database = + + ## The name of a database, or part of a database + element database { db.database.attlist, db._text } +} +div { + db.application.class.enumeration = + + ## A hardware application + "hardware" + | + ## A software application + "software" + db.application.class.attribute = + + ## Identifies the class of application + attribute class { db.application.class.enumeration } + db.application.role.attribute = attribute role { text } + db.application.attlist = + db.application.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.application.class.attribute? + db.application = + + ## The name of a software program + element application { db.application.attlist, db._text } +} +div { + db.hardware.role.attribute = attribute role { text } + db.hardware.attlist = + db.hardware.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.hardware = + + ## A physical part of a computer system + element hardware { db.hardware.attlist, db._text } +} +db.gui.inlines = + db.guiicon + | db.guibutton + | db.guimenuitem + | db.guimenu + | db.guisubmenu + | db.guilabel + | db.menuchoice + | db.mousebutton +div { + db.guibutton.role.attribute = attribute role { text } + db.guibutton.attlist = + db.guibutton.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guibutton = + + ## The text on a button in a GUI + element guibutton { + db.guibutton.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guiicon.role.attribute = attribute role { text } + db.guiicon.attlist = + db.guiicon.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guiicon = + + ## Graphic and/or text appearing as a icon in a GUI + element guiicon { + db.guiicon.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guilabel.role.attribute = attribute role { text } + db.guilabel.attlist = + db.guilabel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guilabel = + + ## The text of a label in a GUI + element guilabel { + db.guilabel.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guimenu.role.attribute = attribute role { text } + db.guimenu.attlist = + db.guimenu.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guimenu = + + ## The name of a menu in a GUI + element guimenu { + db.guimenu.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guimenuitem.role.attribute = attribute role { text } + db.guimenuitem.attlist = + db.guimenuitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guimenuitem = + + ## The name of a terminal menu item in a GUI + element guimenuitem { + db.guimenuitem.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.guisubmenu.role.attribute = attribute role { text } + db.guisubmenu.attlist = + db.guisubmenu.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.guisubmenu = + + ## The name of a submenu in a GUI + element guisubmenu { + db.guisubmenu.attlist, + (db._text | db.accel | db.superscript | db.subscript)* + } +} +div { + db.menuchoice.role.attribute = attribute role { text } + db.menuchoice.attlist = + db.menuchoice.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.menuchoice = + + ## A selection or series of selections from a menu + element menuchoice { + db.menuchoice.attlist, + db.shortcut?, + (db.guibutton + | db.guiicon + | db.guilabel + | db.guimenu + | db.guimenuitem + | db.guisubmenu)+ + } +} +div { + db.mousebutton.role.attribute = attribute role { text } + db.mousebutton.attlist = + db.mousebutton.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.mousebutton = + + ## The conventional name of a mouse button + element mousebutton { db.mousebutton.attlist, db._text } +} +db.keyboard.inlines = + db.keycombo + | db.keycap + | db.keycode + | db.keysym + | db.shortcut + | db.accel +div { + db.keycap.function.enumeration = + + ## The "Alt" key + "alt" + | + ## The "Backspace" key + "backspace" + | + ## The "Command" key + "command" + | + ## The "Control" key + "control" + | + ## The "Delete" key + "delete" + | + ## The down arrow + "down" + | + ## The "End" key + "end" + | + ## The "Enter" or "Return" key + "enter" + | + ## The "Escape" key + "escape" + | + ## The "Home" key + "home" + | + ## The "Insert" key + "insert" + | + ## The left arrow + "left" + | + ## The "Meta" key + "meta" + | + ## The "Option" key + "option" + | + ## The page down key + "pagedown" + | + ## The page up key + "pageup" + | + ## The right arrow + "right" + | + ## The "Shift" key + "shift" + | + ## The spacebar + "space" + | + ## The "Tab" key + "tab" + | + ## The up arrow + "up" + db.keycap.function-enum.attribute = + + ## Identifies the function key + attribute function { db.keycap.function.enumeration }? + db.keycap.function-other.attributes = + + ## Identifies the function key + attribute function { + + ## Indicates a non-standard function key + "other" + }?, + + ## Specifies a keyword that identifies the non-standard key + attribute otherfunction { text } + db.keycap.function.attrib = + db.keycap.function-enum.attribute + | db.keycap.function-other.attributes + db.keycap.role.attribute = attribute role { text } + db.keycap.attlist = + db.keycap.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.keycap.function.attrib + db.keycap = + + ## The text printed on a key on a keyboard + element keycap { db.keycap.attlist, db._text } +} +div { + db.keycode.role.attribute = attribute role { text } + db.keycode.attlist = + db.keycode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keycode = + + ## The internal, frequently numeric, identifier for a key on a keyboard + element keycode { db.keycode.attlist, db._text } +} +db.keycombination.contentmodel = + (db.keycap | db.keycombo | db.keysym) | db.mousebutton +div { + db.keycombo.action.enumeration = + + ## A (single) mouse click. + "click" + | + ## A double mouse click. + "double-click" + | + ## A mouse or key press. + "press" + | + ## Sequential clicks or presses. + "seq" + | + ## Simultaneous clicks or presses. + "simul" + db.keycombo.action-enum.attribute = + + ## Identifies the nature of the action taken. If keycombo + ## contains more than one element, simul + ## is the default, otherwise there is no default. + attribute action { db.keycombo.action.enumeration }? + db.keycombo.action-other.attributes = + + ## Identifies the nature of the action taken + attribute action { + + ## Indicates a non-standard action + "other" + }?, + + ## Identifies the non-standard action in some unspecified way. + attribute otheraction { text } + db.keycombo.action.attrib = + db.keycombo.action-enum.attribute + | db.keycombo.action-other.attributes + db.keycombo.role.attribute = attribute role { text } + db.keycombo.attlist = + db.keycombo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.keycombo.action.attrib + db.keycombo = + + ## A combination of input actions + element keycombo { + db.keycombo.attlist, db.keycombination.contentmodel+ + } +} +div { + db.keysym.role.attribute = attribute role { text } + db.keysym.attlist = + db.keysym.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.keysym = + + ## The symbolic name of a key on a keyboard + element keysym { db.keysym.attlist, db._text } +} +div { + db.accel.role.attribute = attribute role { text } + db.accel.attlist = + db.accel.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.accel = + + ## A graphical user interface (GUI) keyboard shortcut + element accel { db.accel.attlist, db._text } +} +div { + db.shortcut.action.attrib = db.keycombo.action.attrib + db.shortcut.role.attribute = attribute role { text } + db.shortcut.attlist = + db.shortcut.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.shortcut.action.attrib + db.shortcut = + + ## A key combination for an action that is also accessible through a menu + element shortcut { + db.shortcut.attlist, db.keycombination.contentmodel+ + } +} +db.os.inlines = + db.prompt + | db.envar + | db.filename + | db.command + | db.computeroutput + | db.userinput +db.computeroutput.inlines = + (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines) + | db.co + | db.markup.inlines +db.userinput.inlines = + (text | db.ubiq.inlines | db.os.inlines | db.technical.inlines) + | db.co + | db.markup.inlines + | db.gui.inlines + | db.keyboard.inlines +db.prompt.inlines = db._text | db.co +div { + db.prompt.role.attribute = attribute role { text } + db.prompt.attlist = + db.prompt.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.prompt = + + ## A character or string indicating the start of an input field in a computer display + element prompt { db.prompt.attlist, db.prompt.inlines* } +} +div { + db.envar.role.attribute = attribute role { text } + db.envar.attlist = + db.envar.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.envar = + + ## A software environment variable + element envar { db.envar.attlist, db._text } +} +div { + db.filename.class.enumeration = + + ## A device + "devicefile" + | + ## A directory + "directory" + | + ## A filename extension + "extension" + | + ## A header file (as for a programming language) + "headerfile" + | + ## A library file + "libraryfile" + | + ## A partition (as of a hard disk) + "partition" + | + ## A symbolic link + "symlink" + db.filename.class.attribute = + + ## Identifies the class of filename + attribute class { db.filename.class.enumeration } + db.filename.path.attribute = + + ## Specifies the path of the filename + attribute path { text } + db.filename.role.attribute = attribute role { text } + db.filename.attlist = + db.filename.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.filename.path.attribute? + & db.filename.class.attribute? + db.filename = + + ## The name of a file + element filename { db.filename.attlist, db._text } +} +div { + db.command.role.attribute = attribute role { text } + db.command.attlist = + db.command.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.command = + + ## The name of an executable program or other software command + element command { db.command.attlist, db._text } +} +div { + db.computeroutput.role.attribute = attribute role { text } + db.computeroutput.attlist = + db.computeroutput.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.computeroutput = + + ## Data, generally text, displayed or presented by a computer + element computeroutput { + db.computeroutput.attlist, db.computeroutput.inlines* + } +} +div { + db.userinput.role.attribute = attribute role { text } + db.userinput.attlist = + db.userinput.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.userinput = + + ## Data entered by the user + element userinput { db.userinput.attlist, db.userinput.inlines* } +} +div { + db.cmdsynopsis.role.attribute = attribute role { text } + db.cmdsynopsis.sepchar.attribute = + + ## Specifies the character that should separate the command and its top-level arguments + attribute sepchar { text } + db.cmdsynopsis.cmdlength.attribute = + + ## Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line + attribute cmdlength { text } + db.cmdsynopsis.label.attribute = db.label.attribute + db.cmdsynopsis.attlist = + db.cmdsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.cmdsynopsis.sepchar.attribute? + & db.cmdsynopsis.cmdlength.attribute? + & db.cmdsynopsis.label.attribute? + db.cmdsynopsis.info = db._info.title.forbidden + db.cmdsynopsis = + + ## A syntax summary for a software command + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:cmdsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element cmdsynopsis { + db.cmdsynopsis.attlist, + db.cmdsynopsis.info, + (db.command | db.arg | db.group | db.sbr)+, + db.synopfragment* + } +} +db.rep.enumeration = + + ## Can not be repeated. + "norepeat" + | + ## Can be repeated. + "repeat" +db.rep.attribute = + + ## Indicates whether or not repetition is possible. + [ a:defaultValue = "norepeat" ] attribute rep { db.rep.enumeration } +db.choice.enumeration = + + ## Formatted to indicate that it is optional. + "opt" + | + ## Formatted without indication. + "plain" + | + ## Formatted to indicate that it is required. + "req" +db.choice.opt.attribute = + + ## Indicates optionality. + [ a:defaultValue = "opt" ] attribute choice { db.choice.enumeration } +db.choice.req.attribute = + + ## Indicates optionality. + [ a:defaultValue = "req" ] attribute choice { db.choice.enumeration } +div { + db.arg.role.attribute = attribute role { text } + db.arg.rep.attribute = db.rep.attribute + db.arg.choice.attribute = db.choice.opt.attribute + db.arg.attlist = + db.arg.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.arg.rep.attribute? + & db.arg.choice.attribute? + db.arg = + + ## An argument in a cmdsynopsis + element arg { + db.arg.attlist, + (db._text + | db.arg + | db.group + | db.option + | db.synopfragmentref + | db.sbr)* + } +} +div { + db.group.role.attribute = attribute role { text } + db.group.rep.attribute = db.rep.attribute + db.group.choice.attribute = db.choice.opt.attribute + db.group.attlist = + db.group.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.rep.attribute? + & db.group.choice.attribute? + db.group = + + ## A group of elements in a cmdsynopsis + element group { + db.group.attlist, + (db.arg + | db.group + | db.option + | db.synopfragmentref + | db.replaceable + | db.sbr)+ + } +} +div { + db.sbr.role.attribute = attribute role { text } + db.sbr.attlist = db.sbr.role.attribute? & db.common.attributes + db.sbr = + + ## An explicit line break in a command synopsis + element sbr { db.sbr.attlist, empty } +} +div { + db.synopfragment.role.attribute = attribute role { text } + db.synopfragment.attlist = + db.synopfragment.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.synopfragment = + + ## A portion of a cmdsynopsis broken out from the main body of the synopsis + element synopfragment { + db.synopfragment.attlist, (db.arg | db.group)+ + } +} +div { + db.synopfragmentref.role.attribute = attribute role { text } + db.synopfragmentref.attlist = + db.synopfragmentref.role.attribute? + & db.common.attributes + & db.linkend.attribute + db.synopfragmentref = + + ## A reference to a fragment of a command synopsis + [ + s:pattern [ + name = "Synopsis fragment type constraint" + "\x{a}" ~ + " " + s:rule [ + context = "db:synopfragmentref" + "\x{a}" ~ + " " + s:assert [ + test = + "local-name(//*[@xml:id=current()/@linkend]) = 'synopfragment' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'" + "@linkend on synopfragmentref must point to a synopfragment." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element synopfragmentref { db.synopfragmentref.attlist, text } +} +db.programming.inlines = + db.function + | db.parameter + | db.varname + | db.returnvalue + | db.type + | db.classname + | db.exceptionname + | db.interfacename + | db.methodname + | db.modifier + | db.initializer + | db.oo.inlines +db.oo.inlines = db.ooclass | db.ooexception | db.oointerface +db.synopsis.blocks = + (db.funcsynopsis + | db.classsynopsis + | db.methodsynopsis + | db.constructorsynopsis + | db.destructorsynopsis + | db.fieldsynopsis) + | db.cmdsynopsis +div { + db.synopsis.role.attribute = attribute role { text } + db.synopsis.label.attribute = db.label.attribute + db.synopsis.attlist = + db.synopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.synopsis.label.attribute? + db.synopsis = + + ## A general-purpose element for representing the syntax of commands or functions + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:synopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element synopsis { db.synopsis.attlist, db.verbatim.contentmodel } +} +div { + db.funcsynopsis.role.attribute = attribute role { text } + db.funcsynopsis.attlist = + db.funcsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.funcsynopsis.info = db._info.title.forbidden + db.funcsynopsis = + + ## The syntax summary for a function definition + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:funcsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element funcsynopsis { + db.funcsynopsis.attlist, + db.funcsynopsis.info, + (db.funcsynopsisinfo | db.funcprototype)+ + } +} +div { + db.funcsynopsisinfo.role.attribute = attribute role { text } + db.funcsynopsisinfo.attlist = + db.funcsynopsisinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.funcsynopsisinfo = + + ## Information supplementing the funcdefs of a funcsynopsis + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:funcsynopsisinfo" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element funcsynopsisinfo { + db.funcsynopsisinfo.attlist, db.verbatim.contentmodel + } +} +div { + db.funcprototype.role.attribute = attribute role { text } + db.funcprototype.attlist = + db.funcprototype.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcprototype = + + ## The prototype of a function + element funcprototype { + db.funcprototype.attlist, + db.modifier*, + db.funcdef, + (db.void + | db.varargs + | ((db.paramdef | db.group.paramdef)+, db.varargs?)), + db.modifier* + } +} +div { + db.funcdef.role.attribute = attribute role { text } + db.funcdef.attlist = + db.funcdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcdef = + + ## A function (subroutine) name and its return type + element funcdef { + db.funcdef.attlist, (db._text | db.type | db.function)* + } +} +div { + db.function.role.attribute = attribute role { text } + db.function.attlist = + db.function.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.function = + + ## The name of a function or subroutine, as in a programming language + element function { db.function.attlist, db._text } +} +div { + db.void.role.attribute = attribute role { text } + db.void.attlist = + db.void.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.void = + + ## An empty element in a function synopsis indicating that the function in question takes no arguments + element void { db.void.attlist, empty } +} +div { + db.varargs.role.attribute = attribute role { text } + db.varargs.attlist = + db.varargs.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varargs = + + ## An empty element in a function synopsis indicating a variable number of arguments + element varargs { db.varargs.attlist, empty } +} +div { + db.group.paramdef.role.attribute = attribute role { text } + db.group.paramdef.choice.attribute = db.choice.opt.attribute + db.group.paramdef.attlist = + db.group.paramdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.paramdef.choice.attribute? + db.group.paramdef = + + ## A group of parameters + element group { + db.group.paramdef.attlist, (db.paramdef | db.group.paramdef)+ + } +} +div { + db.paramdef.role.attribute = attribute role { text } + db.paramdef.choice.enumeration = + + ## Formatted to indicate that it is optional. + "opt" + | + ## Formatted to indicate that it is required. + "req" + db.paramdef.choice.attribute = + + ## Indicates optionality. + [ a:defaultValue = "opt" ] + attribute choice { db.paramdef.choice.enumeration } + db.paramdef.attlist = + db.paramdef.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.paramdef.choice.attribute? + db.paramdef = + + ## Information about a function parameter in a programming language + element paramdef { + db.paramdef.attlist, + (db._text + | db.initializer + | db.type + | db.parameter + | db.funcparams)* + } +} +div { + db.funcparams.role.attribute = attribute role { text } + db.funcparams.attlist = + db.funcparams.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.funcparams = + + ## Parameters for a function referenced through a function pointer in a synopsis + element funcparams { db.funcparams.attlist, db._text } +} +div { + db.classsynopsis.role.attribute = attribute role { text } + db.classsynopsis.class.enumeration = + + ## This is the synopsis of a class + "class" + | + ## This is the synopsis of an interface + "interface" + db.classsynopsis.class.attribute = + + ## Specifies the nature of the synopsis + attribute class { db.classsynopsis.class.enumeration } + db.classsynopsis.attlist = + db.classsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + & db.classsynopsis.class.attribute? + db.classsynopsis = + + ## The syntax summary for a class definition + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:classsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element classsynopsis { + db.classsynopsis.attlist, + db.oo.inlines+, + (db.classsynopsisinfo + | db.methodsynopsis + | db.constructorsynopsis + | db.destructorsynopsis + | db.fieldsynopsis)* + } +} +div { + db.classsynopsisinfo.role.attribute = attribute role { text } + db.classsynopsisinfo.attlist = + db.classsynopsisinfo.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + db.classsynopsisinfo = + + ## Information supplementing the contents of a classsynopsis + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:classsynopsisinfo" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element classsynopsisinfo { + db.classsynopsisinfo.attlist, db.verbatim.contentmodel + } +} +div { + db.ooclass.role.attribute = attribute role { text } + db.ooclass.attlist = + db.ooclass.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.ooclass = + + ## A class in an object-oriented programming language + element ooclass { + db.ooclass.attlist, (db.package | db.modifier)*, db.classname + } +} +div { + db.oointerface.role.attribute = attribute role { text } + db.oointerface.attlist = + db.oointerface.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.oointerface = + + ## An interface in an object-oriented programming language + element oointerface { + db.oointerface.attlist, + (db.package | db.modifier)*, + db.interfacename + } +} +div { + db.ooexception.role.attribute = attribute role { text } + db.ooexception.attlist = + db.ooexception.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.ooexception = + + ## An exception in an object-oriented programming language + element ooexception { + db.ooexception.attlist, + (db.package | db.modifier)*, + db.exceptionname + } +} +db.modifier.xml.space.attribute = + + ## Can be used to indicate that whitespace in the modifier should be preserved (for multi-line annotations, for example). + attribute xml:space { + + ## Extra whitespace and line breaks must be preserved. + [ + # Ideally the definition of xml:space used on modifier would be + # different from the definition used on the verbatim elements. The + # verbatim elements forbid the use of xml:space="default" which + # wouldn't be a problem on modifier. But doing that causes the + # generated XSD schemas to be broken so I'm just reusing the existing + # definition for now. It won't be backwards incompatible to fix this + # problem in the future. + # | ## Extra whitespace and line breaks are not preserved. + # "default" + + ] + "preserve" + } +div { + db.modifier.role.attribute = attribute role { text } + db.modifier.attlist = + db.modifier.xml.space.attribute? + & db.modifier.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.modifier = + + ## Modifiers in a synopsis + element modifier { db.modifier.attlist, db._text } +} +div { + db.interfacename.role.attribute = attribute role { text } + db.interfacename.attlist = + db.interfacename.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.interfacename = + + ## The name of an interface + element interfacename { db.interfacename.attlist, db._text } +} +div { + db.exceptionname.role.attribute = attribute role { text } + db.exceptionname.attlist = + db.exceptionname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.exceptionname = + + ## The name of an exception + element exceptionname { db.exceptionname.attlist, db._text } +} +div { + db.fieldsynopsis.role.attribute = attribute role { text } + db.fieldsynopsis.attlist = + db.fieldsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.fieldsynopsis = + + ## The name of a field in a class definition + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:fieldsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element fieldsynopsis { + db.fieldsynopsis.attlist, + db.modifier*, + db.type?, + db.varname, + db.initializer? + } +} +div { + db.initializer.role.attribute = attribute role { text } + db.initializer.attlist = + db.initializer.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.initializer.inlines = db._text | db.mathphrase | db.markup.inlines + db.initializer = + + ## The initializer for a fieldsynopsis + element initializer { + db.initializer.attlist, db.initializer.inlines* + } +} +div { + db.constructorsynopsis.role.attribute = attribute role { text } + db.constructorsynopsis.attlist = + db.constructorsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.constructorsynopsis = + + ## A syntax summary for a constructor + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:constructorsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element constructorsynopsis { + db.constructorsynopsis.attlist, + db.modifier*, + db.methodname?, + ((db.methodparam | db.group.methodparam)+ | db.void?), + db.exceptionname* + } +} +div { + db.destructorsynopsis.role.attribute = attribute role { text } + db.destructorsynopsis.attlist = + db.destructorsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.destructorsynopsis = + + ## A syntax summary for a destructor + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:destructorsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element destructorsynopsis { + db.destructorsynopsis.attlist, + db.modifier*, + db.methodname?, + ((db.methodparam | db.group.methodparam)+ | db.void?), + db.exceptionname* + } +} +div { + db.methodsynopsis.role.attribute = attribute role { text } + db.methodsynopsis.attlist = + db.methodsynopsis.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.language.attribute? + db.methodsynopsis = + + ## A syntax summary for a method + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:methodsynopsis" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element methodsynopsis { + db.methodsynopsis.attlist, + db.modifier*, + (db.type | db.void)?, + db.methodname, + ((db.methodparam | db.group.methodparam)+ | db.void), + db.exceptionname*, + db.modifier* + } +} +div { + db.methodname.role.attribute = attribute role { text } + db.methodname.attlist = + db.methodname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.methodname = + + ## The name of a method + element methodname { db.methodname.attlist, db._text } +} +div { + db.methodparam.role.attribute = attribute role { text } + db.methodparam.rep.attribute = db.rep.attribute + db.methodparam.choice.attribute = db.choice.req.attribute + db.methodparam.attlist = + db.methodparam.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.methodparam.rep.attribute? + & db.methodparam.choice.attribute? + db.methodparam = + + ## Parameters to a method + element methodparam { + db.methodparam.attlist, + db.modifier*, + db.type?, + ((db.modifier*, db.parameter, db.initializer?) | db.funcparams), + db.modifier* + } +} +div { + db.group.methodparam.role.attribute = attribute role { text } + db.group.methodparam.choice.attribute = db.choice.opt.attribute + db.group.methodparam.attlist = + db.group.methodparam.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.group.methodparam.choice.attribute? + db.group.methodparam = + + ## A group of method parameters + element group { + db.group.methodparam.attlist, + (db.methodparam | db.group.methodparam)+ + } +} +div { + db.varname.role.attribute = attribute role { text } + db.varname.attlist = + db.varname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.varname = + + ## The name of a variable + element varname { db.varname.attlist, db._text } +} +div { + db.returnvalue.role.attribute = attribute role { text } + db.returnvalue.attlist = + db.returnvalue.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.returnvalue = + + ## The value returned by a function + element returnvalue { db.returnvalue.attlist, db._text } +} +div { + db.type.role.attribute = attribute role { text } + db.type.attlist = + db.type.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.type = + + ## The classification of a value + element type { db.type.attlist, db._text } +} +div { + db.classname.role.attribute = attribute role { text } + db.classname.attlist = + db.classname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.classname = + + ## The name of a class, in the object-oriented programming sense + element classname { db.classname.attlist, db._text } +} +div { + db.programlisting.role.attribute = attribute role { text } + db.programlisting.width.attribute = db.width.characters.attribute + db.programlisting.attlist = + db.programlisting.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.verbatim.attributes + & db.programlisting.width.attribute? + db.programlisting = + + ## A literal listing of all or part of a program + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:programlisting" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element programlisting { + db.programlisting.attlist, db.verbatim.contentmodel + } +} +db.admonition.blocks = + db.caution | db.important | db.note | db.tip | db.warning +db.admonition.contentmodel = db._info.title.only, db.all.blocks+ +div { + db.caution.role.attribute = attribute role { text } + db.caution.attlist = + db.caution.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.caution = + + ## A note of caution + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of caution" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:caution" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element caution { db.caution.attlist, db.admonition.contentmodel } +} +div { + db.important.role.attribute = attribute role { text } + db.important.attlist = + db.important.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.important = + + ## An admonition set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:important" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of important" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:important" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element important { + db.important.attlist, db.admonition.contentmodel + } +} +div { + db.note.role.attribute = attribute role { text } + db.note.attlist = + db.note.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.note = + + ## A message set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:note" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of note" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:note" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element note { db.note.attlist, db.admonition.contentmodel } +} +div { + db.tip.role.attribute = attribute role { text } + db.tip.attlist = + db.tip.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.tip = + + ## A suggestion to the user, set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of tip" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:tip" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element tip { db.tip.attlist, db.admonition.contentmodel } +} +div { + db.warning.role.attribute = attribute role { text } + db.warning.attlist = + db.warning.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.warning = + + ## An admonition set off from the text + [ + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:caution)" + "caution must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:important)" + "important must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:note)" + "note must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:tip)" + "tip must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Element exclusion" + "\x{a}" ~ + " " + s:rule [ + context = "db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "not(.//db:warning)" + "warning must not occur among the children or descendants of warning" + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:warning" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element warning { db.warning.attlist, db.admonition.contentmodel } +} +db.error.inlines = + db.errorcode | db.errortext | db.errorname | db.errortype +div { + db.errorcode.role.attribute = attribute role { text } + db.errorcode.attlist = + db.errorcode.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errorcode = + + ## An error code + element errorcode { db.errorcode.attlist, db._text } +} +div { + db.errorname.role.attribute = attribute role { text } + db.errorname.attlist = + db.errorname.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errorname = + + ## An error name + element errorname { db.errorname.attlist, db._text } +} +div { + db.errortext.role.attribute = attribute role { text } + db.errortext.attlist = + db.errortext.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errortext = + + ## An error message. + element errortext { db.errortext.attlist, db._text } +} +div { + db.errortype.role.attribute = attribute role { text } + db.errortype.attlist = + db.errortype.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.errortype = + + ## The classification of an error message + element errortype { db.errortype.attlist, db._text } +} +db.systemitem.inlines = db._text | db.co +div { + db.systemitem.class.enumeration = + + ## A daemon or other system process (syslogd) + "daemon" + | + ## A domain name (example.com) + "domainname" + | + ## An ethernet address (00:05:4E:49:FD:8E) + "etheraddress" + | + ## An event of some sort (SIGHUP) + "event" + | + ## An event handler of some sort (hangup) + "eventhandler" + | + ## A filesystem (ext3) + "filesystem" + | + ## A fully qualified domain name (my.example.com) + "fqdomainname" + | + ## A group name (wheel) + "groupname" + | + ## An IP address (127.0.0.1) + "ipaddress" + | + ## A library (libncurses) + "library" + | + ## A macro + "macro" + | + ## A netmask (255.255.255.192) + "netmask" + | + ## A newsgroup (comp.text.xml) + "newsgroup" + | + ## An operating system name (Hurd) + "osname" + | + ## A process (gnome-cups-icon) + "process" + | + ## A protocol (ftp) + "protocol" + | + ## A resource + "resource" + | + ## A security context (a role, permission, or security token, for example) + "securitycontext" + | + ## A server (mail.example.com) + "server" + | + ## A service (ppp) + "service" + | + ## A system name (hephaistos) + "systemname" + | + ## A user name (ndw) + "username" + db.systemitem.class-enum.attribute = + + ## Identifies the nature of the system item + attribute class { db.systemitem.class.enumeration }? + db.systemitem.class-other.attribute = + + ## Identifies the nature of the non-standard system item + attribute otherclass { xsd:NMTOKEN } + db.systemitem.class-other.attributes = + + ## Identifies the kind of systemitemgraphic identifier + attribute class { + + ## Indicates that the system item is some 'other' kind. + "other" + } + & db.systemitem.class-other.attribute + db.systemitem.class.attribute = + db.systemitem.class-enum.attribute + | db.systemitem.class-other.attributes + db.systemitem.role.attribute = attribute role { text } + db.systemitem.attlist = + db.systemitem.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.systemitem.class.attribute? + db.systemitem = + + ## A system-related item or term + element systemitem { db.systemitem.attlist, db.systemitem.inlines* } +} +div { + db.option.role.attribute = attribute role { text } + db.option.attlist = + db.option.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.option = + + ## An option for a software command + element option { db.option.attlist, db._text } +} +div { + db.optional.role.attribute = attribute role { text } + db.optional.attlist = + db.optional.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.optional = + + ## Optional information + element optional { db.optional.attlist, db._text } +} +div { + db.property.role.attribute = attribute role { text } + db.property.attlist = + db.property.role.attribute? + & db.common.attributes + & db.common.linking.attributes + db.property = + + ## A unit of data associated with some part of a computer system + element property { db.property.attlist, db._text } +} +div { + db.topic.status.attribute = db.status.attribute + db.topic.role.attribute = attribute role { text } + db.topic.type.attribute = + + ## Identifies the topic type + attribute type { text } + db.topic.attlist = + db.topic.role.attribute? + & db.topic.type.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & db.topic.status.attribute? + db.topic.info = db._info.title.req + db.topic = + + ## A modular unit of documentation not part of any particular narrative flow + [ + s:pattern [ + name = "Root must have version" + "\x{a}" ~ + " " + s:rule [ + context = "/db:topic" + "\x{a}" ~ + " " + s:assert [ + test = "@version" + "If this element is the root element, it must have a version attribute." + ] + "\x{a}" ~ + " " + ] + "\x{a}" ~ + " " + ] + ] + element topic { + db.topic.attlist, + db.topic.info, + db.navigation.components*, + db.toplevel.blocks.or.sections, + db.navigation.components* + } +} diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker-chunk.xsl new file mode 100644 index 0000000000..a91ef50ffa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker-chunk.xsl @@ -0,0 +1,221 @@ + + + + + + + + + + +-info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker.xsl b/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker.xsl new file mode 100644 index 0000000000..b705aca05d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/assembly/topic-maker.xsl @@ -0,0 +1,78 @@ + + + + + + + + + + +myassembly.xml + + + +.xml +topics/ + + +xhtml + + + + + + + + + + + +http://docbook.org/ns/docbook + + +preface chapter article section + + + + + + + + + + + + + + + + + + + + + + + + + + + + topic + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/catalog.xml b/apache-fop/src/test/resources/docbook-xsl/catalog.xml new file mode 100644 index 0000000000..619f79e712 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/catalog.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/af.xml b/apache-fop/src/test/resources/docbook-xsl/common/af.xml new file mode 100644 index 0000000000..1b293e7ba3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/af.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/am.xml b/apache-fop/src/test/resources/docbook-xsl/common/am.xml new file mode 100644 index 0000000000..87375b7ce3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/am.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +áˆáˆáŠ­á‰¶á‰½ +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ar.xml b/apache-fop/src/test/resources/docbook-xsl/common/ar.xml new file mode 100644 index 0000000000..7feb734531 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ar.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/as.xml b/apache-fop/src/test/resources/docbook-xsl/common/as.xml new file mode 100644 index 0000000000..d6c0a81d6b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/as.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +চিহà§à¦¨ +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ast.xml b/apache-fop/src/test/resources/docbook-xsl/common/ast.xml new file mode 100644 index 0000000000..04366c5aec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ast.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Símbolos +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kimber.xsl b/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kimber.xsl new file mode 100644 index 0000000000..45c785d8b0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kimber.xsl @@ -0,0 +1,44 @@ + + +%common.entities; + + + + +]> + + + + + + + + + + ERROR: the 'kimber' index method requires the + Saxon version 6 or 8 XSLT processor. + + + 1 + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kosek.xsl b/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kosek.xsl new file mode 100644 index 0000000000..3d755c4fbb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/autoidx-kosek.xsl @@ -0,0 +1,154 @@ + + +%common.entities; +]> + + + + + + + + + + ERROR: the 'kosek' index method does not + work with the xsltproc XSLT processor. + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + No " + + " localization of index grouping letters exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No " + + " localization of index grouping letters exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/az.xml b/apache-fop/src/test/resources/docbook-xsl/common/az.xml new file mode 100644 index 0000000000..c28dcb5763 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/az.xml @@ -0,0 +1,714 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Ä°ÅŸarÉ™lÉ™r +A +a +B +b +C +c +Ç +ç +D +d +E +e +e +e +Æ +É™ +G +g +Äž +ÄŸ +H +h +X +x +I +ı +Ä° +i +J +j +K +k +Q +q +L +l +M +m +N +n +O +o +Ö +ö +P +p +R +r +S +s +Åž +ÅŸ +T +t +U +u +Ãœ +ü +V +v +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/bg.xml b/apache-fop/src/test/resources/docbook-xsl/common/bg.xml new file mode 100644 index 0000000000..3c489a3619 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/bg.xml @@ -0,0 +1,766 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Цифри и знаци +Ð +а +Б +б +Ð’ +в +Г +г +Д +д +Е +е +Ж +ж +З +з +И +и +Й +й +К +к +Л +л +Ðœ +м +Ð +н +О +о +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +У +у +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ш +ш +Щ +щ +Ъ +ÑŠ +Ь +ÑŒ +Ю +ÑŽ +Я +Ñ +Э +Ñ +Ы +Ñ‹ +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/bn.xml b/apache-fop/src/test/resources/docbook-xsl/common/bn.xml new file mode 100644 index 0000000000..52b86d6eac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/bn.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/bn_in.xml b/apache-fop/src/test/resources/docbook-xsl/common/bn_in.xml new file mode 100644 index 0000000000..b5e5a74abc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/bn_in.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +সংকেত +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/bs.xml b/apache-fop/src/test/resources/docbook-xsl/common/bs.xml new file mode 100644 index 0000000000..9e8f761460 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/bs.xml @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simboli +A +a +B +b +C +c +Ć +ć +ÄŒ +Ä +D +d +Ä +Ä‘ +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +R +r +S +s +Å  +Å¡ +T +t +U +u +V +v +Z +z +Ž +ž + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ca.xml b/apache-fop/src/test/resources/docbook-xsl/common/ca.xml new file mode 100644 index 0000000000..6aeff12dce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ca.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Símbols +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/charmap.xml b/apache-fop/src/test/resources/docbook-xsl/common/charmap.xml new file mode 100644 index 0000000000..a12a84f2b5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/charmap.xml @@ -0,0 +1,185 @@ + + + + + Common » Character-Map Template Reference + + $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the + character-map templates in the DocBook XSL Stylesheets. + + + +These templates are defined in a separate file from the set + of “common†templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + + +The character-map templates don’t import or include + any DocBook XSL stylesheet parameters, so the + character-map templates can be used without importing the + whole set of parameters. + + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +apply-character-map +Applies an XSLT character map + + +<xsl:template name="apply-character-map"> +<xsl:param name="content"/> +<xsl:param name="map.contents"/> + ... +</xsl:template> + +Description + +This template applies an XSLT character map; that is, it causes certain + individual characters to be substituted with strings of one + or more characters. It is useful mainly for replacing + multiple “special†characters or symbols in the same target + content. It uses the value of + map.contents to do substitution on + content, and then returns the + modified contents. + + + +This template is a very slightly modified version of + Jeni Tennison’s replace_strings + template in the multiple string replacements section of Dave Pawson’s + XSLT FAQ. + + +The apply-string-subst-map + template is essentially the same template as the + apply-character-map template; the + only difference is that in the map that + apply-string-subst-map expects, oldstring and newstring attributes are used + instead of character and string attributes. + + + Parameters + + + content + + +The content on which to perform the character-map + substitution. + + + + map.contents + + +A node set of elements, with each element having + the following attributes: + + + + character, a + character to be replaced + + + string, a + string with which to replace character + + + + + + + + + + + + + +read-character-map +Reads in all or part of an XSLT character map + + +<xsl:template name="read-character-map"> +<xsl:param name="use.subset"/> +<xsl:param name="subset.profile"/> +<xsl:param name="uri"/> + ... +</xsl:template> + +Description + +The XSLT 2.0 specification describes character maps and explains how they may be used + to allow a specific character appearing in a text or + attribute node in a final result tree to be substituted by + a specified string of characters during serialization. The + read-character-map template provides a + means for reading and using character maps with XSLT + 1.0-based tools. + + +This template reads the character-map contents from + uri (in full or in part, depending on + the value of the use.subset + parameter), then passes those contents to the + apply-character-map template, along with + content, the data on which to perform + the character substitution. + + +Using the character map “in part†means that it uses only + those output-character elements that match the + XPath expression given in the value of the + subset.profile parameter. The current + implementation of that capability here relies on the + evaluate extension XSLT function. + + Parameters + + + use.subset + + +Specifies whether to use a subset of the character + map instead of the whole map; boolean + 0 or 1 + + + + subset.profile + + +XPath expression that specifies what subset of the + character map to use + + + + uri + + +URI for a character map + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/charmap.xsl b/apache-fop/src/test/resources/docbook-xsl/common/charmap.xsl new file mode 100644 index 0000000000..3e0f5d4df7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/charmap.xsl @@ -0,0 +1,221 @@ + + + + + + + Common » Character-Map Template Reference + + $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ + + + + + Introduction + This is technical reference documentation for the + character-map templates in the DocBook XSL Stylesheets. + + These templates are defined in a separate file from the set + of “common†templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + The character-map templates don’t import or include + any DocBook XSL stylesheet parameters, so the + character-map templates can be used without importing the + whole set of parameters. + + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + + Applies an XSLT character map + + This template applies an XSLT character map; that is, it causes certain + individual characters to be substituted with strings of one + or more characters. It is useful mainly for replacing + multiple “special†characters or symbols in the same target + content. It uses the value of + map.contents to do substitution on + content, and then returns the + modified contents. + + This template is a very slightly modified version of + Jeni Tennison’s replace_strings + template in the multiple string replacements section of Dave Pawson’s + XSLT FAQ. + The apply-string-subst-map + template is essentially the same template as the + apply-character-map template; the + only difference is that in the map that + apply-string-subst-map expects, oldstring and newstring attributes are used + instead of character and string attributes. + + + + + content + + The content on which to perform the character-map + substitution. + + + map.contents + + A node set of elements, with each element having + the following attributes: + + + character, a + character to be replaced + + + string, a + string with which to replace character + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reads in all or part of an XSLT character map + + The XSLT 2.0 specification describes character maps and explains how they may be used + to allow a specific character appearing in a text or + attribute node in a final result tree to be substituted by + a specified string of characters during serialization. The + read-character-map template provides a + means for reading and using character maps with XSLT + 1.0-based tools. + This template reads the character-map contents from + uri (in full or in part, depending on + the value of the use.subset + parameter), then passes those contents to the + apply-character-map template, along with + content, the data on which to perform + the character substitution. + Using the character map “in part†means that it uses only + those output-character elements that match the + XPath expression given in the value of the + subset.profile parameter. The current + implementation of that capability here relies on the + evaluate extension XSLT function. + + + + use.subset + + Specifies whether to use a subset of the character + map instead of the whole map; boolean + 0 or 1 + + + subset.profile + + XPath expression that specifies what subset of the + character map to use + + + uri + + URI for a character map + + + + + + + + + + + + + + + + + + + + + + + +Error: To process character-map subsets, you must use an XSLT engine +that supports the evaluate() XSLT extension function. Your XSLT engine +does not support it. + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/common.xml b/apache-fop/src/test/resources/docbook-xsl/common/common.xml new file mode 100644 index 0000000000..7832c96eac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/common.xml @@ -0,0 +1,641 @@ + + + + + Common » Base Template Reference + + $Id: common.xsl 9347 2012-05-11 03:49:49Z bobstayton $ + + + + + Introduction + +This is technical reference documentation for the “base†+ set of common templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +is.component +Tests if a given node is a component-level element + + +<xsl:template name="is.component"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + +Parameters + + +node + + +The node which is to be tested. + + + + + +Returns + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + + + + + +is.section +Tests if a given node is a section-level element + + +<xsl:template name="is.section"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + +Parameters + + +node + + +The node which is to be tested. + + + + + +Returns + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + + + + + +section.level +Returns the hierarchical level of a section + + +<xsl:template name="section.level"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template calculates the hierarchical level of a section. +The element sect1 is at level 1, sect2 is +at level 2, etc. + + + +Recursive sections are calculated down to the fifth level. + +Parameters + + +node + + +The section node for which the level should be calculated. +Defaults to the context node. + + + + + +Returns + +The section level, 1, 2, etc. + + + + + + +qanda.section.level +Returns the hierarchical level of a QandASet + + +<xsl:template name="qanda.section.level"/> + +Description + +This template calculates the hierarchical level of a QandASet. + + +Returns + +The level, 1, 2, etc. + + + + + + +select.mediaobject +Selects and processes an appropriate media object from a list + + +<xsl:template name="select.mediaobject"> +<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> + ... +</xsl:template> + +Description + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and processes +the "right" object. + + + +This template relies on a template named +"select.mediaobject.index" to determine which object +in the list is appropriate. + + + +If no acceptable object is located, nothing happens. + +Parameters + + +olist + + +The node list of potential objects to examine. + + + + + +Returns + +Calls <xsl:apply-templates> on the selected object. + + + + + +select.mediaobject.index +Selects the position of the appropriate media object from a list + + +<xsl:template name="select.mediaobject.index"> +<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> +<xsl:param name="count">1</xsl:param> + ... +</xsl:template> + +Description + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and determines +the "right" object. It returns the position of that object +to be used by the calling template. + + + +If the parameter use.role.for.mediaobject +is nonzero, then it first checks for an object with +a role attribute of the appropriate value. It takes the first +of those. Otherwise, it takes the first acceptable object +through a recursive pass through the list. + + + +This template relies on a template named "is.acceptable.mediaobject" +to determine if a given object is an acceptable graphic. The semantics +of media objects is that the first acceptable graphic should be used. + + + + +If no acceptable object is located, no index is returned. + +Parameters + + +olist + + +The node list of potential objects to examine. + + + +count + + +The position in the list currently being considered by the +recursive process. + + + + + +Returns + +Returns the position in the original list of the selected object. + + + + + +is.acceptable.mediaobject +Returns '1' if the specified media object is recognized + + +<xsl:template name="is.acceptable.mediaobject"> +<xsl:param name="object"/> + ... +</xsl:template> + +Description + +This template examines a media object and returns '1' if the +object is recognized as a graphic. + +Parameters + + +object + + +The media object to consider. + + + + + +Returns + +0 or 1 + + + + + +check.id.unique +Warn users about references to non-unique IDs + + +<xsl:template name="check.id.unique"> +<xsl:param name="linkend"/> + ... +</xsl:template> + +Description + +If passed an ID in linkend, +check.id.unique prints +a warning message to the user if either the ID does not exist or +the ID is not unique. + + + + + +check.idref.targets +Warn users about incorrectly typed references + + +<xsl:template name="check.idref.targets"> +<xsl:param name="linkend"/> +<xsl:param name="element-list"/> + ... +</xsl:template> + +Description + +If passed an ID in linkend, +check.idref.targets makes sure that the element +pointed to by the link is one of the elements listed in +element-list and warns the user otherwise. + + + + + +copyright.years +Print a set of years with collapsed ranges + + +<xsl:template name="copyright.years"> +<xsl:param name="years"/> +<xsl:param name="print.ranges" select="1"/> +<xsl:param name="single.year.ranges" select="0"/> +<xsl:param name="firstyear" select="0"/> +<xsl:param name="nextyear" select="0"/> + ... +</xsl:template> + +Description + +This template prints a list of year elements with consecutive +years printed as a range. In other words: + + +<year>1992</year> +<year>1993</year> +<year>1994</year> + + +is printed 1992-1994, whereas: + + +<year>1992</year> +<year>1994</year> + + +is printed 1992, 1994. + + + +This template assumes that all the year elements contain only +decimal year numbers, that the elements are sorted in increasing +numerical order, that there are no duplicates, and that all the years +are expressed in full century+year +(1999 not 99) notation. + +Parameters + + +years + + +The initial set of year elements. + + + +print.ranges + + +If non-zero, multi-year ranges are collapsed. If zero, all years +are printed discretely. + + + +single.year.ranges + + +If non-zero, two consecutive years will be printed as a range, +otherwise, they will be printed discretely. In other words, a single +year range is 1991-1992 but discretely it's +1991, 1992. + + + + + +Returns + +This template returns the formatted list of years. + + + + + +find.path.params +Search in a table for the "best" match for the node + + +<xsl:template name="find.path.params"> +<xsl:param name="node" select="."/> +<xsl:param name="table" select="''"/> +<xsl:param name="location"> + <xsl:call-template name="xpath.location"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:param> + ... +</xsl:template> + +Description + +This template searches in a table for the value that most-closely +(in the typical best-match sense of XSLT) matches the current (element) +node location. + + + + + +string.upper +Converts a string to all uppercase letters + + +<xsl:template name="string.upper"> +<xsl:param name="string" select="''"/> + ... +</xsl:template> + +Description + +Given a string, this template does a language-aware conversion +of that string to all uppercase letters, based on the values of the +lowercase.alpha and +uppercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +lowercase.alpha and +uppercase.alpha. All other characters are left +unchanged. + +Parameters + + +string + + +The string to convert to uppercase. + + + + + + + + + +string.lower +Converts a string to all lowercase letters + + +<xsl:template name="string.lower"> +<xsl:param name="string" select="''"/> + ... +</xsl:template> + +Description + +Given a string, this template does a language-aware conversion +of that string to all lowercase letters, based on the values of the +uppercase.alpha and +lowercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +uppercase.alpha and +lowercase.alpha. All other characters are left +unchanged. + +Parameters + + +string + + +The string to convert to lowercase. + + + + + + + + + +select.choice.separator +Returns localized choice separator + + +<xsl:template name="select.choice.separator"/> + +Description + +This template enables auto-generation of an appropriate + localized "choice" separator (for example, "and" or "or") before + the final item in an inline list (though it could also be useful + for generating choice separators for non-inline lists). + + +It currently works by evaluating a processing instruction + (PI) of the form <?dbchoice choice="foo"?> : + + + + if the value of the choice + pseudo-attribute is "and" or "or", returns a localized "and" + or "or" + + + otherwise returns the literal value of the + choice pseudo-attribute + + + + The latter is provided only as a temporary workaround because the + locale files do not currently have translations for the word + or. So if you want to generate a a + logical "or" separator in French (for example), you currently need + to do this: + <?dbchoice choice="ou"?> + + + + +The dbchoice processing instruction is + an unfortunate hack; support for it may disappear in the future + (particularly if and when a more appropriate means for marking + up "choice" lists becomes available in DocBook). + + + + + + +evaluate.info.profile +Evaluates an info profile + + +<xsl:template name="evaluate.info.profile"> +<xsl:param name="profile"/> +<xsl:param name="info"/> + ... +</xsl:template> + +Description + +This template evaluates an "info profile" matching the XPath + expression given by the profile + parameter. It relies on the XSLT evaluate() + extension function. + + + +The value of the profile parameter + can include the literal string $info. If found + in the value of the profile parameter, the + literal string $info string is replaced with + the value of the info parameter, which + should be a set of *info nodes; the + expression is then evaluated using the XSLT + evaluate() extension function. + + Parameters + + + + profile + + +A string representing an XPath expression + + + + + info + + +A set of *info nodes + + + + + + Returns + +Returns a node (the result of evaluating the + profile parameter) + + + + + +graphic.format.content-type +Returns mimetype for media format + + +<xsl:template name="graphic.format.content-type"> +<xsl:param name="format"/> + ... +</xsl:template> + +Description + +This takes as input a 'format' param and returns + a mimetype string. It uses an xsl:choose after first + converting the input to all uppercase. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/common.xsl b/apache-fop/src/test/resources/docbook-xsl/common/common.xsl new file mode 100644 index 0000000000..3069223a04 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/common.xsl @@ -0,0 +1,2110 @@ + + + + ]> + + + + + + + Common » Base Template Reference + + $Id: common.xsl 9347 2012-05-11 03:49:49Z bobstayton $ + + + + + Introduction + This is technical reference documentation for the “base†+ set of common templates in the DocBook XSL Stylesheets. + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + + + + + + + + +Tests if a given node is a component-level element + + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + + + + +node + +The node which is to be tested. + + + + + + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + + + + + + + 1 + 0 + + + + + + +Tests if a given node is a section-level element + + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + + + + +node + +The node which is to be tested. + + + + + + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + + + + + + + 1 + 0 + + + + + + +Returns the hierarchical level of a section + + +This template calculates the hierarchical level of a section. +The element sect1 is at level 1, sect2 is +at level 2, etc. + +Recursive sections are calculated down to the fifth level. + + + + +node + +The section node for which the level should be calculated. +Defaults to the context node. + + + + + + +The section level, 1, 2, etc. + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + 6 + 5 + 4 + 3 + 2 + 1 + + + + + + + + + + 2 + 3 + 4 + 5 + 5 + + + 5 + 4 + 3 + 2 + + + 1 + + + 1 + + + + +Returns the hierarchical level of a QandASet + + +This template calculates the hierarchical level of a QandASet. + + + + +The level, 1, 2, etc. + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 2 + 3 + + + 5 + 4 + 3 + 2 + 1 + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + question + answer + qandadiv + qandaset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [FAMILY Given] + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[ +] +{ +} + + +[ +] +... + + + | +4pi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Selects and processes an appropriate media object from a list + + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and processes +the "right" object. + +This template relies on a template named +"select.mediaobject.index" to determine which object +in the list is appropriate. + +If no acceptable object is located, nothing happens. + + + + +olist + +The node list of potential objects to examine. + + + + + + +Calls <xsl:apply-templates> on the selected object. + + + + + + + + + + + + + + + + + + + + + +Selects the position of the appropriate media object from a list + + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and determines +the "right" object. It returns the position of that object +to be used by the calling template. + +If the parameter use.role.for.mediaobject +is nonzero, then it first checks for an object with +a role attribute of the appropriate value. It takes the first +of those. Otherwise, it takes the first acceptable object +through a recursive pass through the list. + +This template relies on a template named "is.acceptable.mediaobject" +to determine if a given object is an acceptable graphic. The semantics +of media objects is that the first acceptable graphic should be used. + + +If no acceptable object is located, no index is returned. + + + + +olist + +The node list of potential objects to examine. + + +count + +The position in the list currently being considered by the +recursive process. + + + + + + +Returns the position in the original list of the selected object. + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Returns '1' if the specified media object is recognized + + +This template examines a media object and returns '1' if the +object is recognized as a graphic. + + + + +object + +The media object to consider. + + + + + + +0 or 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + . + + + + + + + + + + + + + + + + +Warn users about references to non-unique IDs + +If passed an ID in linkend, +check.id.unique prints +a warning message to the user if either the ID does not exist or +the ID is not unique. + + + + + + + + + + + + Error: no ID for constraint linkend: + + . + + + + + + + Warning: multiple "IDs" for constraint linkend: + + . + + + + + + +Warn users about incorrectly typed references + +If passed an ID in linkend, +check.idref.targets makes sure that the element +pointed to by the link is one of the elements listed in +element-list and warns the user otherwise. + + + + + + + + + + + + + + Error: linkend ( + + ) points to " + + " not (one of): + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unexpected context in procedure.step.numeration: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + loweralpha + lowerroman + upperalpha + upperroman + arabic + arabic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1. + a. + i. + A. + I. + + + + Unexpected numeration: + + + + + + + + + + + + + + + + + + + + + + + + + + circle + square + disc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Print a set of years with collapsed ranges + + +This template prints a list of year elements with consecutive +years printed as a range. In other words: + +1992 +1993 +1994]]> + +is printed 1992-1994, whereas: + +1992 +1994]]> + +is printed 1992, 1994. + +This template assumes that all the year elements contain only +decimal year numbers, that the elements are sorted in increasing +numerical order, that there are no duplicates, and that all the years +are expressed in full century+year +(1999 not 99) notation. + + + + +years + +The initial set of year elements. + + +print.ranges + +If non-zero, multi-year ranges are collapsed. If zero, all years +are printed discretely. + + +single.year.ranges + +If non-zero, two consecutive years will be printed as a range, +otherwise, they will be printed discretely. In other words, a single +year range is 1991-1992 but discretely it's +1991, 1992. + + + + + + +This template returns the formatted list of years. + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + - + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + , + + , + + + + - + + , + + + + + + + + + + + + + + + + +Search in a table for the "best" match for the node + + +This template searches in a table for the value that most-closely +(in the typical best-match sense of XSLT) matches the current (element) +node location. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + +Converts a string to all uppercase letters + + +Given a string, this template does a language-aware conversion +of that string to all uppercase letters, based on the values of the +lowercase.alpha and +uppercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +lowercase.alpha and +uppercase.alpha. All other characters are left +unchanged. + + + + +string + +The string to convert to uppercase. + + + + + + + + + + + + + + + + + + + + + + + +Converts a string to all lowercase letters + + +Given a string, this template does a language-aware conversion +of that string to all lowercase letters, based on the values of the +uppercase.alpha and +lowercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +uppercase.alpha and +lowercase.alpha. All other characters are left +unchanged. + + + + +string + +The string to convert to lowercase. + + + + + + + + + + + + + + + + + + + + + + + + Returns localized choice separator + + This template enables auto-generation of an appropriate + localized "choice" separator (for example, "and" or "or") before + the final item in an inline list (though it could also be useful + for generating choice separators for non-inline lists). + It currently works by evaluating a processing instruction + (PI) of the form <?dbchoice choice="foo"?> : + + + if the value of the choice + pseudo-attribute is "and" or "or", returns a localized "and" + or "or" + + + otherwise returns the literal value of the + choice pseudo-attribute + + + The latter is provided only as a temporary workaround because the + locale files do not currently have translations for the word + or. So if you want to generate a a + logical "or" separator in French (for example), you currently need + to do this: + <?dbchoice choice="ou"?> + + + The dbchoice processing instruction is + an unfortunate hack; support for it may disappear in the future + (particularly if and when a more appropriate means for marking + up "choice" lists becomes available in DocBook). + + + + + + + + + + + + + + + + + + + + + + + + + + Evaluates an info profile + + This template evaluates an "info profile" matching the XPath + expression given by the profile + parameter. It relies on the XSLT evaluate() + extension function. + + The value of the profile parameter + can include the literal string $info. If found + in the value of the profile parameter, the + literal string $info string is replaced with + the value of the info parameter, which + should be a set of *info nodes; the + expression is then evaluated using the XSLT + evaluate() extension function. + + + + + profile + + A string representing an XPath expression + + + + info + + A set of *info nodes + + + + + + + Returns a node (the result of evaluating the + profile parameter) + + + + + + + + + + + + + + + + +Error: The "info profiling" mechanism currently requires an XSLT +engine that supports the evaluate() XSLT extension function. Your XSLT +engine does not support it. + + + + + + + + Returns mimetype for media format + + This takes as input a 'format' param and returns + a mimetype string. It uses an xsl:choose after first + converting the input to all uppercase. + + + + + + + + + application/postscript + application/pdf + image/png + image/svg+xml + image/jpeg + image/jpeg + image/gif + image/gif + image/gif + audio/acc + audio/mpeg + audio/mpeg + audio/mpeg + audio/mpeg + audio/mp4 + audio/mpeg + audio/wav + video/mp4 + video/mp4 + video/ogg + video/ogg + video/webm + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/cs.xml b/apache-fop/src/test/resources/docbook-xsl/common/cs.xml new file mode 100644 index 0000000000..1a3e02299f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/cs.xml @@ -0,0 +1,742 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symboly +A +a +à +á +B +b +C +c +ÄŒ +Ä +D +d +ÄŽ +Ä +E +e +É +é +Äš +Ä› +Ë +ë +F +f +G +g +H +h +Ch +ch +cH +CH +I +i +à +í +J +j +K +k +L +l +M +m +N +n +Ň +ň +O +o +Ó +ó +Ö +ö +P +p +Q +q +R +r +Ř +Å™ +S +s +Å  +Å¡ +T +t +Ť +Å¥ +U +u +Ú +ú +Å® +ů +Ãœ +ü +V +v +W +w +X +x +Y +y +à +ý +Z +z +Ž +ž + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/cy.xml b/apache-fop/src/test/resources/docbook-xsl/common/cy.xml new file mode 100644 index 0000000000..0bfc096702 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/cy.xml @@ -0,0 +1,1287 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +Ch +ch +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +Dd +dd +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +Ff +ff +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +Ng +ng +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +Ll +ll +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Ph +ph +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +Rh +rh +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +Th +th +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/da.xml b/apache-fop/src/test/resources/docbook-xsl/common/da.xml new file mode 100644 index 0000000000..ba3dcada3a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/da.xml @@ -0,0 +1,706 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Æ +æ +Ø +ø +Ã… +Ã¥ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/de.xml b/apache-fop/src/test/resources/docbook-xsl/common/de.xml new file mode 100644 index 0000000000..ca8b560a12 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/de.xml @@ -0,0 +1,708 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbole +A +a +Ä +ä +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +Ö +ö +P +p +Q +q +R +r +S +s +T +t +U +u +Ãœ +ü +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/el.xml b/apache-fop/src/test/resources/docbook-xsl/common/el.xml new file mode 100644 index 0000000000..205d234dd8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/el.xml @@ -0,0 +1,771 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ΣÏμβολα +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Α +α +Ά +ά +Î’ +β +Γ +γ +Δ +δ +Ε +ε +Έ +έ +Ζ +ζ +Η +η +Ή +ή +Θ +θ +Ι +ι +Ί +ί +Ϊ +ÏŠ +Î +Κ +κ +Λ +λ +Îœ +μ +Î +ν +Ξ +ξ +Ο +ο +ÎŒ +ÏŒ +Π +Ï€ +Ρ +Ï +Σ +σ +Ï‚ +Τ +Ï„ +Î¥ +Ï… +ÎŽ +Ï +Ϋ +Ï‹ +ΰ +Φ +φ +Χ +χ +Ψ +ψ +Ω +ω +Î +ÏŽ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/en.xml b/apache-fop/src/test/resources/docbook-xsl/common/en.xml new file mode 100644 index 0000000000..885410f45e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/en.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/entities.ent b/apache-fop/src/test/resources/docbook-xsl/common/entities.ent new file mode 100644 index 0000000000..9256b1ce23 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/entities.ent @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + +'> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/eo.xml b/apache-fop/src/test/resources/docbook-xsl/common/eo.xml new file mode 100644 index 0000000000..f44994e6f2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/eo.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/es.xml b/apache-fop/src/test/resources/docbook-xsl/common/es.xml new file mode 100644 index 0000000000..e9472a61ad --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/es.xml @@ -0,0 +1,718 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Símbolos +A +a +á +à +B +b +C +c +CH +ch +D +d +E +e +É +é +F +f +G +g +H +h +I +i +à +í +J +j +K +k +L +l +LL +ll +M +m +N +n +Ñ +ñ +O +o +Ó +ó +P +p +Q +q +R +r +S +s +T +t +U +u +Ú +ú +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/et.xml b/apache-fop/src/test/resources/docbook-xsl/common/et.xml new file mode 100644 index 0000000000..2217c09867 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/et.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/eu.xml b/apache-fop/src/test/resources/docbook-xsl/common/eu.xml new file mode 100644 index 0000000000..f66505a6db --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/eu.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/fa.xml b/apache-fop/src/test/resources/docbook-xsl/common/fa.xml new file mode 100644 index 0000000000..a7a65fd07d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/fa.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +سمبل‌های راهنم +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/fi.xml b/apache-fop/src/test/resources/docbook-xsl/common/fi.xml new file mode 100644 index 0000000000..d8962bdd90 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/fi.xml @@ -0,0 +1,712 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbole +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +Å  +Å¡ +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ž +ž +Ã… +Ã¥ +Ä +ä +Ö +ö + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/fr.xml b/apache-fop/src/test/resources/docbook-xsl/common/fr.xml new file mode 100644 index 0000000000..abf00ac0ce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/fr.xml @@ -0,0 +1,732 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symboles +A +a +à +À +â + +Æ +æ +B +b +C +c +ç +D +d +E +e +ê +Ê +é +É +è +È +ë +Ë +€ +F +f +G +g +H +h +I +i +ÃŽ +î +à +ï +J +j +K +k +L +l +M +m +N +n +O +o +Ö +ö +Å’ +Å“ +P +p +Q +q +R +r +S +s +T +t +U +u +Ù +ù +Û +û +Ãœ +ü +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ga.xml b/apache-fop/src/test/resources/docbook-xsl/common/ga.xml new file mode 100644 index 0000000000..e51fbc9c78 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ga.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Siombailí +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/gentext.xsl b/apache-fop/src/test/resources/docbook-xsl/common/gentext.xsl new file mode 100644 index 0000000000..2cef1f76b6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/gentext.xsl @@ -0,0 +1,846 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .formal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + object.xref.markup: empty xref template + for linkend=" + + " and @xrefstyle=" + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + Xref is only supported to listitems in an + orderedlist: + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + %n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + Attempt to use %d in gentext with no referrer! + + + + + + + % + + + % + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + labelnumber + + + labelname + + + label + + + + + + + + quotedtitle + + + title + + + + + + + + + + + + + + nopage + + + pagenumber + + + pageabbrev + + + Page + + + page + + + + + + + + + + + nodocname + + + docnamelong + + + docname + + + + + + + + + + + + + + + + + + + + + + %n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %t + + + + + + %t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %p + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/gl.xml b/apache-fop/src/test/resources/docbook-xsl/common/gl.xml new file mode 100644 index 0000000000..9ab31e9d3b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/gl.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/gu.xml b/apache-fop/src/test/resources/docbook-xsl/common/gu.xml new file mode 100644 index 0000000000..a4991b6376 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/gu.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +સંકેતો +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/he.xml b/apache-fop/src/test/resources/docbook-xsl/common/he.xml new file mode 100644 index 0000000000..d69084fae9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/he.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/hi.xml b/apache-fop/src/test/resources/docbook-xsl/common/hi.xml new file mode 100644 index 0000000000..5df6e958f1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/hi.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +संकेत +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/hr.xml b/apache-fop/src/test/resources/docbook-xsl/common/hr.xml new file mode 100644 index 0000000000..faf885afd4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/hr.xml @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Oznake +A +a +B +b +C +c +Ć +ć +ÄŒ +Ä +D +d +Ä +Ä‘ +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +R +r +S +s +Å  +Å¡ +T +t +U +u +V +v +Z +z +Ž +ž + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/hu.xml b/apache-fop/src/test/resources/docbook-xsl/common/hu.xml new file mode 100644 index 0000000000..515547600b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/hu.xml @@ -0,0 +1,720 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Jelzések +A +a +à +á +B +b +C +c +D +d +E +e +É +é +F +f +G +g +H +h +I +i +à +í +J +j +K +k +L +l +M +m +N +n +O +o +Ó +ó +Ö +ö +Å +Å‘ +P +p +Q +q +R +r +S +s +T +t +U +u +Ú +ú +Ãœ +ü +Å° +ű +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/id.xml b/apache-fop/src/test/resources/docbook-xsl/common/id.xml new file mode 100644 index 0000000000..0ce198d6ab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/id.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simbol +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/insertfile.xsl b/apache-fop/src/test/resources/docbook-xsl/common/insertfile.xsl new file mode 100644 index 0000000000..66bcf410e5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/insertfile.xsl @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/is.xml b/apache-fop/src/test/resources/docbook-xsl/common/is.xml new file mode 100644 index 0000000000..8e7607aa32 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/is.xml @@ -0,0 +1,714 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +tákn +A +a +à +á +B +b +D +d +Ä +ð +E +e +É +é +F +f +G +g +H +h +I +i +à +í +J +j +K +k +L +l +M +m +N +n +O +o +Ó +ó +P +p +R +r +S +s +T +t +U +u +Ú +ú +V +v +X +x +Y +y +à +ý +Þ +þ +Æ +æ +Ö +ö + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/it.xml b/apache-fop/src/test/resources/docbook-xsl/common/it.xml new file mode 100644 index 0000000000..7909954407 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/it.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simboli +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ja.xml b/apache-fop/src/test/resources/docbook-xsl/common/ja.xml new file mode 100644 index 0000000000..a2129e030d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ja.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +シンボル +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ka.xml b/apache-fop/src/test/resources/docbook-xsl/common/ka.xml new file mode 100644 index 0000000000..1ce0ce75eb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ka.xml @@ -0,0 +1,742 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +სიმბáƒáƒšáƒáƒ”ბი +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +რ+ბ +გ +დ +ე +ვ +ზ +ჱ +თ +ი +კ +ლ +მ +ნ +ჲ +რ+პ +ჟ +რ +ს +ტ +ჳ +უ +ფ +ქ +ღ +ყ +შ +ჩ +ც +ძ +წ +ჭ +ხ +ჴ +ჯ +ჰ +ჵ +ჶ +ჷ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/kn.xml b/apache-fop/src/test/resources/docbook-xsl/common/kn.xml new file mode 100644 index 0000000000..1dee5e306c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/kn.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ಸಂಕೇತಗಳೠ+A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ko.xml b/apache-fop/src/test/resources/docbook-xsl/common/ko.xml new file mode 100644 index 0000000000..0b7508d9d7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ko.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ky.xml b/apache-fop/src/test/resources/docbook-xsl/common/ky.xml new file mode 100644 index 0000000000..d23fd9988c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ky.xml @@ -0,0 +1,774 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Символдор +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ð +а +Б +б +Ð’ +в +Г +г +Д +д +Е +е +Ð +Ñ‘ +Ж +ж +З +з +И +и +Й +й +К +к +Л +л +Ðœ +м +Ð +н +Ò¢ +Ò£ +О +о +Ó¨ +Ó© +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +У +у +Ò® +Ò¯ +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ш +ш +Щ +щ +Ъ +ÑŠ +Ы +Ñ‹ +Ь +ÑŒ +Э +Ñ +Ю +ÑŽ +Я +Ñ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/l10n.dtd b/apache-fop/src/test/resources/docbook-xsl/common/l10n.dtd new file mode 100644 index 0000000000..9bf2f66b70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/l10n.dtd @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/l10n.xml b/apache-fop/src/test/resources/docbook-xsl/common/l10n.xml new file mode 100644 index 0000000000..da3df27875 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/l10n.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/l10n.xsl b/apache-fop/src/test/resources/docbook-xsl/common/l10n.xsl new file mode 100644 index 0000000000..50d0ab2da8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/l10n.xsl @@ -0,0 +1,597 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No localization exists for " + + " or " + + ". Using default " + + ". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No " + + " localization of " + + " exists + + + . + + + ; using "en". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bullet + + + + + + + + + + + + + + + + + + + + No " + + " localization of dingbat + + exists; using "en". + + + + + + + + + + + + + + + + startquote + + + + + + endquote + + + + + + nestedstartquote + + + + + + nestedendquote + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No " + + " localization exists. + + + + + + + + No context named " + + " exists in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No template for " + + " (or any of its leaves) exists in the context named " + + " in the " + + " localization. + + + + + + + + + + + + + + + + + + + + No " + + " localization exists. + + + + + + + + + + No context named " + + " exists in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No template for " + + " (or any of its leaves) exists in the context named " + + " in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/common/la.xml b/apache-fop/src/test/resources/docbook-xsl/common/la.xml new file mode 100644 index 0000000000..6085208fd3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/la.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/labels.xsl b/apache-fop/src/test/resources/docbook-xsl/common/labels.xsl new file mode 100644 index 0000000000..eb01dffa2d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/labels.xsl @@ -0,0 +1,892 @@ + + + + + + + + + + +Provides access to element labels + +Processing an element in the +label.markup mode produces the +element label. +Trailing punctuation is not added to the label. + + + + + + . + + + + + + + Request for label of unexpected element: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + label.markup: this can't happen! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + a + i + A + I + + + + Unexpected numeration: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + +Returns true if $section should be labelled + +Returns true if the specified section should be labelled. +By default, this template returns zero unless +the section level is less than or equal to the value of the +$section.autolabel.max.depth parameter, in +which case it returns +$section.autolabel. +Custom stylesheets may override it to get more selective behavior. + + + + + + + + + + + + + + + 1 + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + Unexpected .autolabel value: + ; using default. + + + + + + + + + +Returns format for autolabel parameters + +Returns format passed as parameter if non zero. Supported + format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i', + 'upperlapha' or 'A', 'upperroman' or 'I', 'arabicindic' or '١'. + If its not one of these then + returns the default format. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/lt.xml b/apache-fop/src/test/resources/docbook-xsl/common/lt.xml new file mode 100644 index 0000000000..8c18c7635a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/lt.xml @@ -0,0 +1,720 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simboliai +A +a +Ä„ +Ä… +B +b +C +c +ÄŒ +Ä +D +d +E +e +Ę +Ä™ +Ä– +Ä— +F +f +G +g +H +h +I +i +Ä® +į +Y +y +J +j +K +k +L +l +M +m +N +n +O +o +P +p +R +r +S +s +Å  +Å¡ +T +t +U +u +Ų +ų +Ū +Å« +V +v +Z +z +Ž +ž +Q +q +W +w +X +x + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/lv.xml b/apache-fop/src/test/resources/docbook-xsl/common/lv.xml new file mode 100644 index 0000000000..d4edbbd2ff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/lv.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ml.xml b/apache-fop/src/test/resources/docbook-xsl/common/ml.xml new file mode 100644 index 0000000000..486c54bd27 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ml.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +à´šà´¿à´¹àµà´¨à´™àµà´™à´³àµâ€ +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/mn.xml b/apache-fop/src/test/resources/docbook-xsl/common/mn.xml new file mode 100644 index 0000000000..c01267ce31 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/mn.xml @@ -0,0 +1,772 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ТÑмдÑгтүүд +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ð +а +Б +б +Ð’ +в +Г +г +Д +д +Е +е +Ð +Ñ‘ +Ж +ж +З +з +И +и +Й +й +К +к +Л +л +Ðœ +м +Ð +н +О +о +Ó¨ +Ó© +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +У +у +Ò® +Ò¯ +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ш +ш +Щ +щ +Ъ +ÑŠ +Ы +Ñ‹ +Ь +ÑŒ +Э +Ñ +Ю +ÑŽ +Я +Ñ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/mr.xml b/apache-fop/src/test/resources/docbook-xsl/common/mr.xml new file mode 100644 index 0000000000..99358acf84 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/mr.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +पà¥à¤°à¤¤à¥€à¤• +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/nb.xml b/apache-fop/src/test/resources/docbook-xsl/common/nb.xml new file mode 100644 index 0000000000..06140dea76 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/nb.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/nds.xml b/apache-fop/src/test/resources/docbook-xsl/common/nds.xml new file mode 100644 index 0000000000..7df798318e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/nds.xml @@ -0,0 +1,708 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbole +A +a +Ä +ä +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +Ö +ö +P +p +Q +q +R +r +S +s +T +t +U +u +Ãœ +ü +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/nl.xml b/apache-fop/src/test/resources/docbook-xsl/common/nl.xml new file mode 100644 index 0000000000..a50ae11275 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/nl.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbolen +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/nn.xml b/apache-fop/src/test/resources/docbook-xsl/common/nn.xml new file mode 100644 index 0000000000..a6612d435f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/nn.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/olink.xsl b/apache-fop/src/test/resources/docbook-xsl/common/olink.xsl new file mode 100644 index 0000000000..278a402420 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/olink.xsl @@ -0,0 +1,1240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olinks not processed: must specify a + $target.database.document parameter + when using olinks with targetdoc + and targetptr attributes. + + + + + Olink error: the targetset element and children in ' + + ' should not be in any namespace. + + + + + + Olink error: could not open target database ' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink debug: cases for targetdoc=' + + ' and targetptr=' + + ' in language ' + + '. + + + + + + + + + + + + + + Olink debug: CaseA matched. + + + + Olink debug: CaseA NOT matched + + + + + + + + + + + + + + + + Olink debug: CaseB matched. + + + + Olink debug: CaseB NOT matched + + + + + + + + + + + + + + + + + Olink debug: CaseC matched. + + + + Olink debug: CaseC NOT matched. + + + + + + + + + + + + + + + + + Olink debug: CaseD matched. + + + + Olink debug: CaseD NOT matched + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink debug: CaseE matched. + + + + Olink debug: CaseE NOT matched. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink debug: CaseF matched. + + + + Olink debug: CaseF NOT matched. + + + + + + + + + + + + + + Olink debug: CaseB key is the final selection: + + + + + + + + + Olink debug: CaseA key is the final selection: + + + + + + + + + Olink debug: CaseC key is the final selection: + + + + + + + + + Olink debug: CaseD key is the final selection: + + + + + + + + + Olink debug: CaseF key is the final selection: + + + + + + + + + Olink debug: CaseE key is the final selection: + + + + + + + + Olink debug: No case matched for lang ' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink error: cannot compute relative + sitemap path because $current.docid ' + + ' not found in target database. + + + + + + + Olink warning: cannot compute relative + sitemap path without $current.docid parameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + 0 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + xrefstyle is ' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink error: no gentext template + exists for xrefstyle ' + + ' for element ' + + ' in language ' + + ' in context 'xref-number-and-title + '. Using template without @style. + + + + + + + + Olink error: no gentext template + exists for xrefstyle ' + + ' for element ' + + ' in language ' + + ' in context 'xref-number + '. Using template without @style. + + + + + + + + Olink error: no gentext template + exists for xrefstyle ' + + ' for element ' + + ' in language ' + + ' in context 'xref + '. Using template without @style. + + + + + + Olink error: no gentext template + exists for xrefstyle ' + + ' for element ' + + ' in language ' + + '. Trying '%t'. + + + + + + + + + + + Olink debug: xrefstyle template is ' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink error: no generated text for + targetdoc/targetptr/lang = ' + + '. + + ???? + + + + + + + Olink error: no generated text for + targetdoc/targetptr/lang = ' + + '. + + + ???? + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink error: cannot locate targetdoc in sitemap + + + + + + + / + + + + + + + + + + + ../ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/or.xml b/apache-fop/src/test/resources/docbook-xsl/common/or.xml new file mode 100644 index 0000000000..61315de5d3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/or.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ପà­à¬°à¬¤à­€à¬• +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pa.xml b/apache-fop/src/test/resources/docbook-xsl/common/pa.xml new file mode 100644 index 0000000000..f037fc0c4c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pa.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ਚਿੰਨ +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pi.xml b/apache-fop/src/test/resources/docbook-xsl/common/pi.xml new file mode 100644 index 0000000000..64efdcae77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pi.xml @@ -0,0 +1,168 @@ + + +Common Processing Instruction Reference + + $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the + “common†part of the DocBook XSL stylesheets. + + +You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbchoice_choice +Generates a localized choice separator + + + + dbchoice choice="and"|"or"|string" + + +Description + +Use the dbchoice choice PI to + generate an appropriate localized “choice†separator (for + example, and or or) + before the final item in an inline simplelist + + + +This PI is a less-than-ideal hack; support for it may + disappear in the future (particularly if and when a more + appropriate means for marking up "choice" lists becomes + available in DocBook). + + + Parameters + + + choice="and" + + +generates a localized and separator + + + + choice="or" + + +generates a localized or separator + + + + choice="string" + + +generates a literal string separator + + + + + + + + + +dbtimestamp +Inserts a date timestamp + + + + dbtimestamp format="formatstring" [padding="0"|"1"] + + +Description + +Use the dbtimestamp PI at any point in a + source document to cause a date timestamp (a formatted + string representing the current date and time) to be + inserted in output of the document. + + Parameters + + + format="formatstring" + + +Specifies format in which the date and time are + output + + + +For details of the content of the format string, + see Date and time. + + + + + padding="0"|"1" + + +Specifies padding behavior; if non-zero, padding is is added + + + + + + + + + +dbtex_delims +Generates delimiters around embedded TeX equations + in output + + + + dbtex delims="no"|"yes" + + +Description + +Use the dbtex delims PI as a + child of a textobject containing embedded TeX + markup, to cause that markup to be surrounded by + $ delimiter characters in output. + + + +This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + Parameters + + + dbtex delims="no"|"yes" + + +Specifies whether delimiters are output + + + + + + Related Global Parameters + +tex.math.delims + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/common/pi.xsl new file mode 100644 index 0000000000..42aac0d5b3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pi.xsl @@ -0,0 +1,346 @@ + + + + + +Common Processing Instruction Reference + + $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the + “common†part of the DocBook XSL stylesheets. + + You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + Generates a localized choice separator + + Use the dbchoice choice PI to + generate an appropriate localized “choice†separator (for + example, and or or) + before the final item in an inline simplelist + + This PI is a less-than-ideal hack; support for it may + disappear in the future (particularly if and when a more + appropriate means for marking up "choice" lists becomes + available in DocBook). + + + + dbchoice choice="and"|"or"|string" + + + + choice="and" + + generates a localized and separator + + + choice="or" + + generates a localized or separator + + + choice="string" + + generates a literal string separator + + + + + + + + + + choice + + + + + Inserts a date timestamp + + Use the dbtimestamp PI at any point in a + source document to cause a date timestamp (a formatted + string representing the current date and time) to be + inserted in output of the document. + + + dbtimestamp format="formatstring" [padding="0"|"1"] + + + + format="formatstring" + + Specifies format in which the date and time are + output + + For details of the content of the format string, + see Date and time. + + + + padding="0"|"1" + + Specifies padding behavior; if non-zero, padding is is added + + + + + + + + + + + format + + + + + + + + + + + + + + + + + + + padding + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + Timestamp processing requires XSLT processor with EXSLT date support. + + + + + + + Generates delimiters around embedded TeX equations + in output + + Use the dbtex delims PI as a + child of a textobject containing embedded TeX + markup, to cause that markup to be surrounded by + $ delimiter characters in output. + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + dbtex delims="no"|"yes" + + + + dbtex delims="no"|"yes" + + Specifies whether delimiters are output + + + + + + + tex.math.delims + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + Timestamp processing requires an XSLT processor with support + for the EXSLT node-set() function. + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pl.xml b/apache-fop/src/test/resources/docbook-xsl/common/pl.xml new file mode 100644 index 0000000000..53c2873ab9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pl.xml @@ -0,0 +1,720 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbole +A +a +Ä„ +Ä… +B +b +C +c +Ć +ć +D +d +E +e +Ę +Ä™ +F +f +G +g +H +h +I +i +J +j +K +k +L +l +Å +Å‚ +M +m +N +n +Ń +Å„ +O +o +Ó +ó +P +p +Q +q +R +r +S +s +Åš +Å› +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ź +ź +Å» +ż + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pt.xml b/apache-fop/src/test/resources/docbook-xsl/common/pt.xml new file mode 100644 index 0000000000..7fe3720241 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pt.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Símbolos +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/pt_br.xml b/apache-fop/src/test/resources/docbook-xsl/common/pt_br.xml new file mode 100644 index 0000000000..9433df1206 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/pt_br.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Símbolos +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/refentry.xml b/apache-fop/src/test/resources/docbook-xsl/common/refentry.xml new file mode 100644 index 0000000000..4741ce0dad --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/refentry.xml @@ -0,0 +1,781 @@ + + + + + Common » Refentry Metadata Template Reference + + $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the “refentry + metadata†templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is provided + for developers writing customization layers for the stylesheets. + + + +Currently, only the manpages stylesheets make use of these + templates. They are, however, potentially useful elsewhere. + + + + + + +get.refentry.metadata +Gathers metadata from a refentry and its ancestors + + +<xsl:template name="get.refentry.metadata"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +Reference documentation for particular commands, functions, + etc., is sometimes viewed in isolation from its greater "context". For + example, users view Unix man pages as, well, individual pages, not as + part of a "book" of some kind. Therefore, it is sometimes necessary to + embed "context" information in output for each refentry. + + + +However, one problem is that different users mark up that + context information in different ways. Often (usually), the + context information is not actually part of the content of the + refentry itself, but instead part of the content of a + parent or ancestor element to the refentry. And + even then, DocBook provides a variety of elements that users might + potentially use to mark up the same kind of information. One user + might use the productnumber element to mark up version + information about a particular product, while another might use + the releaseinfo element. + + + +Taking all that in mind, the + get.refentry.metadata template tries to gather + metadata from a refentry element and its ancestor + elements in an intelligent and user-configurable way. The basic + mechanism used in the XPath expressions throughout this stylesheet + is to select the relevant metadata from the *info element that is + closest to the actual refentry – either on the + refentry itself, or on its nearest ancestor. + + + + +The get.refentry.metadata + template is actually just sort of a "driver" template; it + calls other templates that do the actual data collection, + then returns the data as a set. + + + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing user preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a node set with the following elements. The + descriptions are verbatim from the man(7) man + page. + + + + title + + +the title of the man page (e.g., MAN) + + + + + section + + +the section number the man page should be placed in (e.g., + 7) + + + + + date + + +the date of the last revision + + + + + source + + +the source of the command + + + + + manual + + +the title of the manual (e.g., Linux + Programmer's Manual) + + + + + + + + + + + +get.refentry.title +Gets title metadata for a refentry + + +<xsl:template name="get.refentry.title"> +<xsl:param name="refname"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + title of the man page (e.g., MAN). This differs + from refname in that, if the refentry has a + refentrytitle, we use that as the title; + otherwise, we just use first refname in the first + refnamediv in the source. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + + Returns + +Returns a title node. + + + + +get.refentry.section +Gets section metadata for a refentry + + +<xsl:template name="get.refentry.section"> +<xsl:param name="refname"/> +<xsl:param name="quiet" select="0"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + section number the man page should be placed in (e.g., + 7)". If we do not find a manvolnum + specified in the source, and we find that the refentry is + for a function, we use the section number 3 + ["Library calls (functions within program libraries)"]; otherwise, we + default to using 1 ["Executable programs or shell + commands"]. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + quiet + + +If non-zero, no "missing" message is emitted + + + + + + Returns + +Returns a string representing a section number. + + + + +get.refentry.date +Gets date metadata for a refentry + + +<xsl:template name="get.refentry.date"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + date of the last revision". If we cannot find a date in the source, we + generate one. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global stylesheet parameters) + + + + + + Returns + +Returns a date node. + + + + + +get.refentry.source +Gets source metadata for a refentry + + +<xsl:template name="get.refentry.source"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + source of the command", and provides the following examples: + + + + +For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + + +For system calls, use the version of the kernel that you are + currently looking at: Linux 0.99.11. + + + + +For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + + + + + +The solbook(5) man page describes + something very much like what man(7) calls + "source", except that solbook(5) names it + "software" and describes it like this: +
    + +This is the name of the software product that the topic + discussed on the reference page belongs to. For example UNIX + commands are part of the SunOS x.x + release. + +
    +
    + + + +In practice, there are many pages that simply have a version + number in the "source" field. So, it looks like what we have is a + two-part field, + Name Version, + where: + + + + Name + + +product name (e.g., BSD) or org. name (e.g., GNU) + + + + + Version + + +version name + + + + + + Each part is optional. If the Name is a + product name, then the Version is probably + the version of the product. Or there may be no + Name, in which case, if there is a + Version, it is probably the version of the + item itself, not the product it is part of. Or, if the + Name is an organization name, then there + probably will be no Version. + + +
    Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a source node. + +
    + + + +get.refentry.source.name +Gets source-name metadata for a refentry + + +<xsl:template name="get.refentry.source.name"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +A "source name" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "source name" data. + + + + + +get.refentry.version +Gets version metadata for a refentry + + +<xsl:template name="get.refentry.version"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +A "version" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "version" data. + + + + + +get.refentry.manual +Gets source metadata for a refentry + + +<xsl:template name="get.refentry.manual"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + title of the manual (e.g., Linux Programmer's + Manual)". Here are some examples from existing man pages: + + + + +dpkg utilities + (dpkg-name) + + + + +User Contributed Perl Documentation + (GET) + + + + +GNU Development Tools + (ld) + + + + +Emperor Norton Utilities + (ddate) + + + + +Debian GNU/Linux manual + (faked) + + + + +GIMP Manual Pages + (gimp) + + + + +KDOC Documentation System + (qt2kdoc) + + + + + + + + +The solbook(5) man page describes + something very much like what man(7) calls + "manual", except that solbook(5) names it + "sectdesc" and describes it like this: +
    + +This is the section title of the reference page; for + example User Commands. + +
    +
    + + +
    Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a manual node. + +
    + + + +get.refentry.metadata.prefs +Gets user preferences for refentry metadata gathering + + +<xsl:template name="get.refentry.metadata.prefs"/> + +Description + +The DocBook XSL stylesheets include several user-configurable + global stylesheet parameters for controlling refentry + metadata gathering. Those parameters are not read directly by the + other refentry metadata-gathering + templates. Instead, they are read only by the + get.refentry.metadata.prefs template, + which assembles them into a structure that is then passed to + the other refentry metadata-gathering + templates. + + + +So the, get.refentry.metadata.prefs + template is the only interface to collecting stylesheet parameters for + controlling refentry metadata gathering. + + Parameters + +There are no local parameters for this template; however, it + does rely on a number of global parameters. + + Returns + +Returns a manual node. + + + + + +set.refentry.metadata +Sets content of a refentry metadata item + + +<xsl:template name="set.refentry.metadata"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="contents"/> +<xsl:param name="context"/> +<xsl:param name="preferred"/> + ... +</xsl:template> + +Description + +The set.refentry.metadata template is + called each time a suitable source element is found for a certain + metadata field. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A single *info node that contains the selected source element. + + + + + contents + + +A node containing the selected source element. + + + + + context + + +A string describing the metadata context in which the + set.refentry.metadata template was + called: either "date", "source", "version", or "manual". + + + + + + Returns + +Returns formatted contents of a selected source element. + +
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/common/refentry.xsl new file mode 100644 index 0000000000..5a04b60c24 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/refentry.xsl @@ -0,0 +1,1352 @@ + + + + + + + + + Common » Refentry Metadata Template Reference + + $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ + + + + + Introduction + This is technical reference documentation for the “refentry + metadata†templates in the DocBook XSL Stylesheets. + This is not intended to be user documentation. It is provided + for developers writing customization layers for the stylesheets. + + Currently, only the manpages stylesheets make use of these + templates. They are, however, potentially useful elsewhere. + + + + + + + Gathers metadata from a refentry and its ancestors + + Reference documentation for particular commands, functions, + etc., is sometimes viewed in isolation from its greater "context". For + example, users view Unix man pages as, well, individual pages, not as + part of a "book" of some kind. Therefore, it is sometimes necessary to + embed "context" information in output for each refentry. + + However, one problem is that different users mark up that + context information in different ways. Often (usually), the + context information is not actually part of the content of the + refentry itself, but instead part of the content of a + parent or ancestor element to the refentry. And + even then, DocBook provides a variety of elements that users might + potentially use to mark up the same kind of information. One user + might use the productnumber element to mark up version + information about a particular product, while another might use + the releaseinfo element. + + Taking all that in mind, the + get.refentry.metadata template tries to gather + metadata from a refentry element and its ancestor + elements in an intelligent and user-configurable way. The basic + mechanism used in the XPath expressions throughout this stylesheet + is to select the relevant metadata from the *info element that is + closest to the actual refentry â€“ either on the + refentry itself, or on its nearest ancestor. + + + The get.refentry.metadata + template is actually just sort of a "driver" template; it + calls other templates that do the actual data collection, + then returns the data as a set. + + + + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing user preferences (from global + stylesheet parameters) + + + + + + Returns a node set with the following elements. The + descriptions are verbatim from the man(7) man + page. + + + title + + the title of the man page (e.g., MAN) + + + + section + + the section number the man page should be placed in (e.g., + 7) + + + + date + + the date of the last revision + + + + source + + the source of the command + + + + manual + + the title of the manual (e.g., Linux + Programmer's Manual) + + + + + + + + + + + + <xsl:call-template name="get.refentry.title"> + <xsl:with-param name="refname" select="$refname"/> + </xsl:call-template> + +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + +
    + + + + Gets title metadata for a refentry + + The man(7) man page describes this as "the + title of the man page (e.g., MAN). This differs + from refname in that, if the refentry has a + refentrytitle, we use that as the title; + otherwise, we just use first refname in the first + refnamediv in the source. + + + + + refname + + The first refname in the refentry + + + + + + Returns a title node. + + + + + + + + + + + + + + + + + + Gets section metadata for a refentry + + The man(7) man page describes this as "the + section number the man page should be placed in (e.g., + 7)". If we do not find a manvolnum + specified in the source, and we find that the refentry is + for a function, we use the section number 3 + ["Library calls (functions within program libraries)"]; otherwise, we + default to using 1 ["Executable programs or shell + commands"]. + + + + + refname + + The first refname in the refentry + + + + quiet + + If non-zero, no "missing" message is emitted + + + + + + Returns a string representing a section number. + + + + + + + + + + + + + Note + + meta manvol + + no refentry/refmeta/manvolnum + + + + Note + + meta manvol + + see http://docbook.sf.net/el/manvolnum + + + + + + + + + + Note + + meta manvol + + Setting man section to 3 + + + + + 3 + + + 1 + + + + + + + + + Gets date metadata for a refentry + + The man(7) man page describes this as "the + date of the last revision". If we cannot find a date in the source, we + generate one. + + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing users preferences (from global stylesheet parameters) + + + + + + Returns a date node. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets source metadata for a refentry + + The man(7) man page describes this as "the + source of the command", and provides the following examples: + + + For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + For system calls, use the version of the kernel that you are + currently looking at: Linux 0.99.11. + + + For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + + The solbook(5) man page describes + something very much like what man(7) calls + "source", except that solbook(5) names it + "software" and describes it like this: +
    + This is the name of the software product that the topic + discussed on the reference page belongs to. For example UNIX + commands are part of the SunOS x.x + release. +
    +
    + + In practice, there are many pages that simply have a version + number in the "source" field. So, it looks like what we have is a + two-part field, + Name Version, + where: + + + Name + + product name (e.g., BSD) or org. name (e.g., GNU) + + + + Version + + version name + + + + Each part is optional. If the Name is a + product name, then the Version is probably + the version of the product. Or there may be no + Name, in which case, if there is a + Version, it is probably the version of the + item itself, not the product it is part of. Or, if the + Name is an organization name, then there + probably will be no Version. + +
    + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns a source node. + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + meta source + + using + " + + " + for "source" + + + + + + + + [FIXME: source] + + + Warn + + meta source + + no fallback for source, so inserted a fixme + + + + + + + + + + [FIXME: source] + + + Warn + + meta source + + no source fallback given, so inserted a fixme + + + + + + + + + + Gets source-name metadata for a refentry + + A "source name" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing users preferences (from global + stylesheet parameters) + + + + + + Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "source name" data. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + source + + + + + + + + source + productname + + + + + + + + source + productname + + + + + + + + source + productname + + + + + + + + source + productname + + + + + + + + source + productname + + + + + + + + + + + + + Note + + meta source + + no *info/productname or alternative + + + + Note + + meta source + + see http://docbook.sf.net/el/productname + + + + Note + + meta source + + no refentry/refmeta/refmiscinfo@class=source + + + + Note + + meta source + + see http://docbook.sf.net/el/refmiscinfo + + + + + + + Gets version metadata for a refentry + + A "version" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing users preferences (from global + stylesheet parameters) + + + + + + Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "version" data. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + version + + + + + + + + version + productnumber + + + + + + + + version + productnumber + + + + + + + + + + + + + Note + + meta version + + no *info/productnumber or alternative + + + + Note + + meta version + + see http://docbook.sf.net/el/productnumber + + + + Note + + meta version + + no refentry/refmeta/refmiscinfo@class=version + + + + Note + + meta version + + see http://docbook.sf.net/el/refmiscinfo + + + + + + + Gets source metadata for a refentry + + The man(7) man page describes this as "the + title of the manual (e.g., Linux Programmer's + Manual)". Here are some examples from existing man pages: + + + dpkg utilities + (dpkg-name) + + + User Contributed Perl Documentation + (GET) + + + GNU Development Tools + (ld) + + + Emperor Norton Utilities + (ddate) + + + Debian GNU/Linux manual + (faked) + + + GIMP Manual Pages + (gimp) + + + KDOC Documentation System + (qt2kdoc) + + + + + The solbook(5) man page describes + something very much like what man(7) calls + "manual", except that solbook(5) names it + "sectdesc" and describes it like this: +
    + This is the section title of the reference page; for + example User Commands. +
    +
    + +
    + + + + refname + + The first refname in the refentry + + + + info + + A set of info nodes (from a refentry + element and its ancestors) + + + + prefs + + A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns a manual node. + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manual + + + + + + + + manual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + meta manual + + using + " + + " + for "manual" + + + + + + + + [FIXME: manual] + + + Warn + + meta manual + + no fallback for manual, so inserted a fixme + + + + + + + + + + [FIXME: manual] + + + Warn + + meta manual + + no manual fallback given, so inserted a fixme + + + + + + + + + + + Note + + meta manual + + no titled ancestor of refentry + + + + Note + + meta manual + + no refentry/refmeta/refmiscinfo@class=manual + + + + Note + + meta manual + + see http://docbook.sf.net/el/refmiscinfo + + + + + + Gets user preferences for refentry metadata gathering + + The DocBook XSL stylesheets include several user-configurable + global stylesheet parameters for controlling refentry + metadata gathering. Those parameters are not read directly by the + other refentry metadata-gathering + templates. Instead, they are read only by the + get.refentry.metadata.prefs template, + which assembles them into a structure that is then passed to + the other refentry metadata-gathering + templates. + + So the, get.refentry.metadata.prefs + template is the only interface to collecting stylesheet parameters for + controlling refentry metadata gathering. + + + There are no local parameters for this template; however, it + does rely on a number of global parameters. + + + Returns a manual node. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sets content of a refentry metadata item + + The set.refentry.metadata template is + called each time a suitable source element is found for a certain + metadata field. + + + + + refname + + The first refname in the refentry + + + + info + + A single *info node that contains the selected source element. + + + + contents + + A node containing the selected source element. + + + + context + + A string describing the metadata context in which the + set.refentry.metadata template was + called: either "date", "source", "version", or "manual". + + + + + + Returns formatted contents of a selected source element. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ro.xml b/apache-fop/src/test/resources/docbook-xsl/common/ro.xml new file mode 100644 index 0000000000..376c90f393 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ro.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ru.xml b/apache-fop/src/test/resources/docbook-xsl/common/ru.xml new file mode 100644 index 0000000000..68fcab5371 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ru.xml @@ -0,0 +1,768 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ð +а +Б +б +Ð’ +в +Г +г +Д +д +Е +е +Ð +Ñ‘ +Ж +ж +З +з +И +и +Й +й +К +к +Л +л +Ðœ +м +Ð +н +О +о +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +У +у +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ш +ш +Щ +щ +Ъ +ÑŠ +Ы +Ñ‹ +Ь +ÑŒ +Э +Ñ +Ю +ÑŽ +Я +Ñ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sk.xml b/apache-fop/src/test/resources/docbook-xsl/common/sk.xml new file mode 100644 index 0000000000..c573dbe6b6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sk.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sl.xml b/apache-fop/src/test/resources/docbook-xsl/common/sl.xml new file mode 100644 index 0000000000..faa4bea606 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sl.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sq.xml b/apache-fop/src/test/resources/docbook-xsl/common/sq.xml new file mode 100644 index 0000000000..31422893d9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sq.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sr.xml b/apache-fop/src/test/resources/docbook-xsl/common/sr.xml new file mode 100644 index 0000000000..ce3f893bb6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sr.xml @@ -0,0 +1,762 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Симболи +Ð +а +Б +б +Ð’ +в +Г +г +Д +д +Ђ +Ñ’ +Е +е +Ж +ж +З +з +И +и +Ј +ј +К +к +Л +л +Љ +Ñ™ +Ðœ +м +Ð +н +Њ +Ñš +О +о +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +Ћ +Ñ› +У +у +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ð +ÑŸ +Ш +ш +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +Q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sr_Latn.xml b/apache-fop/src/test/resources/docbook-xsl/common/sr_Latn.xml new file mode 100644 index 0000000000..3dc3baa533 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sr_Latn.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Simboli +A +a +B +b +C +c +ÄŒ +Ä +Ć +ć +D +d +DŽ +Dž +dž +Ä +Ä‘ +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +LJ +Lj +lj +M +m +N +n +NJ +Nj +nj +O +o +P +p +Q +Q +R +r +S +s +Å  +Å¡ +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ž +ž + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/stripns.xsl b/apache-fop/src/test/resources/docbook-xsl/common/stripns.xsl new file mode 100644 index 0000000000..a1e964d6e2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/stripns.xsl @@ -0,0 +1,372 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + info + + + objectinfo + + blockinfo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: cannot add @xml:base to node + set root element. + Relative paths may not work. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + 1 + 0 + + + + + + Stripping namespace from DocBook 5 document. + It is suggested to use namespaced version of the stylesheets + available in distribution file 'docbook-xsl-ns' + at //http://sourceforge.net/projects/docbook/files/ + which does not require namespace stripping step. + + + + + Processing stripped document. + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/subtitles.xsl b/apache-fop/src/test/resources/docbook-xsl/common/subtitles.xsl new file mode 100644 index 0000000000..9fb4ae80fb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/subtitles.xsl @@ -0,0 +1,180 @@ + + + + + + + + + + +Provides access to element subtitles + +Processing an element in the +subtitle.markup mode produces the +subtitle of the element. + + + + + + + + + Request for subtitle of unexpected element: + + + ???SUBTITLE??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/sv.xml b/apache-fop/src/test/resources/docbook-xsl/common/sv.xml new file mode 100644 index 0000000000..22b21bbb48 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/sv.xml @@ -0,0 +1,706 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ã… +Ã¥ +Ä +ä +Ö +ö + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/ta.xml b/apache-fop/src/test/resources/docbook-xsl/common/ta.xml new file mode 100644 index 0000000000..5372ea0d8c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/ta.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +கà¯à®±à®¿à®¯à¯€à®Ÿà¯à®•à®³à¯ +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/table.xsl b/apache-fop/src/test/resources/docbook-xsl/common/table.xsl new file mode 100644 index 0000000000..aefdb07f12 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/table.xsl @@ -0,0 +1,514 @@ + + + + + + + + + + + 0: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0: + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + +Determine the column number in which a given entry occurs + +If an entry has a +colname or +namest attribute, this template +will determine the number of the column in which the entry should occur. +For other entrys, nothing is returned. + + + +entry + +The entry-element which is to be tested. + + + + + + +This template returns the column number if it can be determined, +or 0 (the empty string) + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/targetdatabase.dtd b/apache-fop/src/test/resources/docbook-xsl/common/targetdatabase.dtd new file mode 100644 index 0000000000..2ace1e0030 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/targetdatabase.dtd @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/targets.xsl b/apache-fop/src/test/resources/docbook-xsl/common/targets.xsl new file mode 100644 index 0000000000..31e1fe3d68 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/targets.xsl @@ -0,0 +1,337 @@ + + + + + + + + + + +Collects information for potential cross reference targets + +Processing the root element in the +collect.targets mode produces +a set of target database elements that can be used by +the olink mechanism to resolve external cross references. +The collection process is controlled by the +collect.xref.targets parameter, which can be +yes to collect targets and process +the document for output, only to +only collect the targets, and no +(default) to not collect the targets and only process the document. + + +A targets.filename parameter must be +specified to receive the output if +collect.xref.targets is +set to yes so as to +redirect the target data to a file separate from the +document output. + + + + + + + + + + + Must specify a $targets.filename parameter when + $collect.xref.targets is set to 'yes'. + The xref targets were not collected. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + Warning: processing automatic glossary but unable to + open glossary.collection file ' + + ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/common/te.xml b/apache-fop/src/test/resources/docbook-xsl/common/te.xml new file mode 100644 index 0000000000..6a726fa728 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/te.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +à°šà°¿à°¹à±à°¨à°®à±à°²à± +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/th.xml b/apache-fop/src/test/resources/docbook-xsl/common/th.xml new file mode 100644 index 0000000000..d06615ae5d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/th.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/titles.xsl b/apache-fop/src/test/resources/docbook-xsl/common/titles.xsl new file mode 100644 index 0000000000..762d4fa70c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/titles.xsl @@ -0,0 +1,821 @@ + + + + + + + + + + +Provides access to element titles + +Processing an element in the +title.markup mode produces the +title of the element. This does not include the label. + + + + + + + + + + + + + + + + + + + + + + + Request for title of element with no title: + + + + (id=" + + ") + + + (xml:id=" + + ") + + + (contained in + + + with id + + + ) + + + + + ???TITLE??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REFENTRY WITHOUT TITLE??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: glossdiv missing its required title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + Important + Caution + Warning + Tip + + + + + + + + + + Question + + + + + Answer + + + + + Question + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Endterm points to nonexistent ID: + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XRef to nonexistent id: + + + + ??? + + + + + + + + + + Endterm points to nonexistent ID: + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/tl.xml b/apache-fop/src/test/resources/docbook-xsl/common/tl.xml new file mode 100644 index 0000000000..9a0bad26ab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/tl.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/tr.xml b/apache-fop/src/test/resources/docbook-xsl/common/tr.xml new file mode 100644 index 0000000000..134bab02b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/tr.xml @@ -0,0 +1,708 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Semboller +A +a +B +b +C +c +Ç +ç +D +d +E +e +F +f +G +g +Äž +ÄŸ +H +h +I +ı +Ä° +i +J +j +K +k +L +l +M +m +N +n +O +o +Ö +ö +P +p +R +r +S +s +Åž +ÅŸ +T +t +U +u +Ãœ +ü +V +v +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/uk.xml b/apache-fop/src/test/resources/docbook-xsl/common/uk.xml new file mode 100644 index 0000000000..436db94c2d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/uk.xml @@ -0,0 +1,768 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z +Ð +а +Б +б +Ð’ +в +Г +г +Ò +Ò‘ +Д +д +Е +е +Є +Ñ” +Ж +ж +З +з +И +и +І +Ñ– +Ї +Ñ— +Й +й +К +к +Л +л +Ðœ +м +Ð +н +О +о +П +п +Р +Ñ€ +С +Ñ +Т +Ñ‚ +У +у +Ф +Ñ„ +Ð¥ +Ñ… +Ц +ц +Ч +ч +Ш +ш +Щ +щ +Ь +ÑŒ +Ю +ÑŽ +Я +Ñ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/utility.xml b/apache-fop/src/test/resources/docbook-xsl/common/utility.xml new file mode 100644 index 0000000000..d9cbe3ca18 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/utility.xml @@ -0,0 +1,259 @@ + + + + + Common » Utility Template Reference + + $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the + miscellaneous utility templates in the DocBook XSL + Stylesheets. + + + +These templates are defined in a separate file from the set + of “common†templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + + +The utility templates don’t import or include any DocBook + XSL stylesheet parameters, so the utility templates can be used + without importing the whole set of parameters. + + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +log.message +Logs/emits formatted notes and warnings + + +<xsl:template name="log.message"> +<xsl:param name="level"/> +<xsl:param name="source"/> +<xsl:param name="context-desc"/> +<xsl:param name="context-desc-field-length">12</xsl:param> +<xsl:param name="context-desc-padded"> + <xsl:if test="not($context-desc = '')"> + <xsl:call-template name="pad-string"> + <xsl:with-param name="leftRight">right</xsl:with-param> + <xsl:with-param name="padVar" select="substring($context-desc, 1, $context-desc-field-length)"/> + <xsl:with-param name="length" select="$context-desc-field-length"/> + </xsl:call-template> + </xsl:if> + </xsl:param> +<xsl:param name="message"/> +<xsl:param name="message-field-length" select="45"/> +<xsl:param name="message-padded"> + <xsl:variable name="spaces-for-blank-level"> + <!-- * if the level field is blank, we'll need to pad out --> + <!-- * the message field with spaces to compensate --> + <xsl:choose> + <xsl:when test="$level = ''"> + <xsl:value-of select="4 + 2"/> + <!-- * 4 = hard-coded length of comment text ("Note" or "Warn") --> + <!-- * + 2 = length of colon-plus-space separator ": " --> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="spaces-for-blank-context-desc"> + <!-- * if the context-description field is blank, we'll need --> + <!-- * to pad out the message field with spaces to compensate --> + <xsl:choose> + <xsl:when test="$context-desc = ''"> + <xsl:value-of select="$context-desc-field-length + 2"/> + <!-- * + 2 = length of colon-plus-space separator ": " --> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="extra-spaces" select="$spaces-for-blank-level + $spaces-for-blank-context-desc"/> + <xsl:call-template name="pad-string"> + <xsl:with-param name="leftRight">right</xsl:with-param> + <xsl:with-param name="padVar" select="substring($message, 1, ($message-field-length + $extra-spaces))"/> + <xsl:with-param name="length" select="$message-field-length + $extra-spaces"/> + </xsl:call-template> + </xsl:param> + ... +</xsl:template> + +Description + +The log.message template is a utility + template for logging/emitting formatted messages – that is, + notes and warnings, along with a given log “level†and an + identifier for the “source†that the message relates to. + + Parameters + + + level + + +Text to log/emit in the message-level field to + indicate the message level + (Note or + Warning) + + + + source + + +Text to log/emit in the source field to identify the + “source†to which the notification/warning relates. + This can be any arbitrary string, but because the + message lacks line and column numbers to identify the + exact part of the source document to which it + relates, the intention is that the value you pass + into the source parameter should + give the user some way to identify the portion of + their source document on which to take potentially + take action in response to the log message (for + example, to edit, change, or add content). + + +So the source value should be, + for example, an ID, book/chapter/article title, title + of some formal object, or even a string giving an + XPath expression. + + + + context-desc + + +Text to log/emit in the context-description field to + describe the context for the message. + + + + context-desc-field-length + + +Specifies length of the context-description field + (in characters); default is 12 + + +If the text specified by the + context-desc parameter is longer + than the number of characters specified in + context-desc-field-length, it is + truncated to context-desc-field-length + (12 characters by default). + + +If the specified text is shorter than + context-desc-field-length, + it is right-padded out to + context-desc-field-length (12 by + default). + + +If no value has been specified for the + context-desc parameter, the field is + left empty and the text of the log message begins with + the value of the message + parameter. + + + + message + + +Text to log/emit in the actual message field + + + + message-field-length + + +Specifies length of the message + field (in characters); default is 45 + + + + + + Returns + +Outputs a message (generally, to standard error). + + + + +get.doc.title +Gets a title from the current document + + +<xsl:template name="get.doc.title"/> + +Description + +The get.doc.title template is a + utility template for returning the first title found in the + current document. + + Returns + +Returns a string containing some identifying title for the + current document . + + + + +pad-string +Right-pads or left-pads a string out to a certain length + + +<xsl:template name="pad-string"> +<xsl:param name="padChar" select="' '"/> +<xsl:param name="leftRight">left</xsl:param> +<xsl:param name="padVar"/> +<xsl:param name="length"/> + ... +</xsl:template> + +Description + +This function takes string padVar and + pads it out in the direction rightLeft to + the string-length length, using string + padChar (a space character by default) as + the padding string (note that padChar can + be a string; it is not limited to just being a single + character). + + + +This function began as a copy of Nate Austin's + prepend-pad function in the Padding + Content section of Dave Pawson's XSLT + FAQ. + + + Returns + +Returns a (padded) string. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/utility.xsl b/apache-fop/src/test/resources/docbook-xsl/common/utility.xsl new file mode 100644 index 0000000000..37092b7c55 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/utility.xsl @@ -0,0 +1,290 @@ + + + + + + + Common » Utility Template Reference + + $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ + + + + + Introduction + This is technical reference documentation for the + miscellaneous utility templates in the DocBook XSL + Stylesheets. + + These templates are defined in a separate file from the set + of “common†templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + The utility templates don’t import or include any DocBook + XSL stylesheet parameters, so the utility templates can be used + without importing the whole set of parameters. + + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + + + Logs/emits formatted notes and warnings + + + The log.message template is a utility + template for logging/emitting formatted messages â€“ that is, + notes and warnings, along with a given log “level†and an + identifier for the “source†that the message relates to. + + + + + level + + Text to log/emit in the message-level field to + indicate the message level + (Note or + Warning) + + + source + + Text to log/emit in the source field to identify the + “source†to which the notification/warning relates. + This can be any arbitrary string, but because the + message lacks line and column numbers to identify the + exact part of the source document to which it + relates, the intention is that the value you pass + into the source parameter should + give the user some way to identify the portion of + their source document on which to take potentially + take action in response to the log message (for + example, to edit, change, or add content). + So the source value should be, + for example, an ID, book/chapter/article title, title + of some formal object, or even a string giving an + XPath expression. + + + context-desc + + Text to log/emit in the context-description field to + describe the context for the message. + + + context-desc-field-length + + Specifies length of the context-description field + (in characters); default is 12 + If the text specified by the + context-desc parameter is longer + than the number of characters specified in + context-desc-field-length, it is + truncated to context-desc-field-length + (12 characters by default). + If the specified text is shorter than + context-desc-field-length, + it is right-padded out to + context-desc-field-length (12 by + default). + If no value has been specified for the + context-desc parameter, the field is + left empty and the text of the log message begins with + the value of the message + parameter. + + + message + + Text to log/emit in the actual message field + + + message-field-length + + Specifies length of the message + field (in characters); default is 45 + + + + + + Outputs a message (generally, to standard error). + + + + + + 12 + + + + right + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + right + + + + + + + + + : + + + + : + + + + + + + + + + Gets a title from the current document + + The get.doc.title template is a + utility template for returning the first title found in the + current document. + + + Returns a string containing some identifying title for the + current document . + + + + + + + + + + + + + + + Right-pads or left-pads a string out to a certain length + + This function takes string padVar and + pads it out in the direction rightLeft to + the string-length length, using string + padChar (a space character by default) as + the padding string (note that padChar can + be a string; it is not limited to just being a single + character). + + This function began as a copy of Nate Austin's + prepend-pad function in the Padding + Content section of Dave Pawson's XSLT + FAQ. + + + + Returns a (padded) string. + + + + + + left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/vi.xml b/apache-fop/src/test/resources/docbook-xsl/common/vi.xml new file mode 100644 index 0000000000..d9186ce1c7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/vi.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/xh.xml b/apache-fop/src/test/resources/docbook-xsl/common/xh.xml new file mode 100644 index 0000000000..23e5d3f3fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/xh.xml @@ -0,0 +1,1271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Symbols +A +a +À +à +à +á + +â +à +ã +Ä +ä +Ã… +Ã¥ +Ä€ +Ä +Ä‚ +ă +Ä„ +Ä… +Ç +ÇŽ +Çž +ÇŸ +Ç  +Ç¡ +Ǻ +Ç» +È€ +È +È‚ +ȃ +Ȧ +ȧ +Ḁ +Ḡ+ẚ +Ạ +ạ +Ả +ả +Ấ +ấ +Ầ +ầ +Ẩ +ẩ +Ẫ +ẫ +Ậ +ậ +Ắ +ắ +Ằ +ằ +Ẳ +ẳ +Ẵ +ẵ +Ặ +ặ +B +b +Æ€ +Æ +É“ +Æ‚ +ƃ +Ḃ +ḃ +Ḅ +ḅ +Ḇ +ḇ +C +c +Ç +ç +Ć +ć +Ĉ +ĉ +ÄŠ +Ä‹ +ÄŒ +Ä +Ƈ +ƈ +É• +Ḉ +ḉ +D +d +ÄŽ +Ä +Ä +Ä‘ +ÆŠ +É— +Æ‹ +ÆŒ +Ç… +Dz +È¡ +É– +Ḋ +ḋ +Ḍ +Ḡ+Ḏ +Ḡ+Ḡ+ḑ +Ḓ +ḓ +E +e +È +è +É +é +Ê +ê +Ë +ë +Ä’ +Ä“ +Ä” +Ä• +Ä– +Ä— +Ę +Ä™ +Äš +Ä› +È„ +È… +Ȇ +ȇ +Ȩ +È© +Ḕ +ḕ +Ḗ +ḗ +Ḙ +ḙ +Ḛ +ḛ +Ḝ +Ḡ+Ẹ +ẹ +Ẻ +ẻ +Ẽ +ẽ +Ế +ế +Ề +á» +Ể +ể +Ễ +á»… +Ệ +ệ +F +f +Æ‘ +Æ’ +Ḟ +ḟ +G +g +Äœ +Ä +Äž +ÄŸ +Ä  +Ä¡ +Ä¢ +Ä£ +Æ“ +É  +Ǥ +Ç¥ +Ǧ +ǧ +Ç´ +ǵ +Ḡ +ḡ +H +h +Ĥ +Ä¥ +Ħ +ħ +Èž +ÈŸ +ɦ +Ḣ +ḣ +Ḥ +ḥ +Ḧ +ḧ +Ḩ +ḩ +Ḫ +ḫ +ẖ +I +i +ÃŒ +ì +à +í +ÃŽ +î +à +ï +Ĩ +Ä© +Ī +Ä« +Ĭ +Ä­ +Ä® +į +Ä° +Æ— +ɨ +Ç +Ç +Ȉ +ȉ +ÈŠ +È‹ +Ḭ +ḭ +Ḯ +ḯ +Ỉ +ỉ +Ị +ị +J +j +Ä´ +ĵ +Ç° +Ê +K +k +Ķ +Ä· +Ƙ +Æ™ +Ǩ +Ç© +Ḱ +ḱ +Ḳ +ḳ +Ḵ +ḵ +L +l +Ĺ +ĺ +Ä» +ļ +Ľ +ľ +Ä¿ +Å€ +Å +Å‚ +Æš +Lj +È´ +É« +ɬ +É­ +Ḷ +ḷ +Ḹ +ḹ +Ḻ +ḻ +Ḽ +ḽ +M +m +ɱ +Ḿ +ḿ +á¹€ +á¹ +Ṃ +ṃ +N +n +Ñ +ñ +Ń +Å„ +Å… +ņ +Ň +ň +Æ +ɲ +Æž +È  +Ç‹ +Ǹ +ǹ +ȵ +ɳ +Ṅ +á¹… +Ṇ +ṇ +Ṉ +ṉ +Ṋ +ṋ +O +o +Ã’ +ò +Ó +ó +Ô +ô +Õ +õ +Ö +ö +Ø +ø +ÅŒ +Å +ÅŽ +Å +Å +Å‘ +ÆŸ +Æ  +Æ¡ +Ç‘ +Ç’ +Ǫ +Ç« +Ǭ +Ç­ +Ǿ +Ç¿ +ÈŒ +È +ÈŽ +È +Ȫ +È« +Ȭ +È­ +È® +ȯ +È° +ȱ +Ṍ +á¹ +Ṏ +á¹ +á¹ +ṑ +á¹’ +ṓ +Ọ +á» +Ỏ +á» +á» +ố +á»’ +ồ +á»” +ổ +á»– +á»— +Ộ +á»™ +Ớ +á»› +Ờ +á» +Ở +ở +á»  +ỡ +Ợ +ợ +P +p +Ƥ +Æ¥ +á¹” +ṕ +á¹– +á¹— +Q +q +Ê  +R +r +Å” +Å• +Å– +Å— +Ř +Å™ +È +È‘ +È’ +È“ +ɼ +ɽ +ɾ +Ṙ +á¹™ +Ṛ +á¹› +Ṝ +á¹ +Ṟ +ṟ +S +s +Åš +Å› +Åœ +Å +Åž +ÅŸ +Å  +Å¡ +Ș +È™ +Ê‚ +á¹  +ṡ +á¹¢ +á¹£ +Ṥ +á¹¥ +Ṧ +ṧ +Ṩ +ṩ +T +t +Å¢ +Å£ +Ť +Å¥ +Ŧ +ŧ +Æ« +Ƭ +Æ­ +Æ® +ʈ +Èš +È› +ȶ +Ṫ +ṫ +Ṭ +á¹­ +á¹® +ṯ +á¹° +á¹± +ẗ +U +u +Ù +ù +Ú +ú +Û +û +Ãœ +ü +Ũ +Å© +Ū +Å« +Ŭ +Å­ +Å® +ů +Å° +ű +Ų +ų +Ư +Æ° +Ç“ +Ç” +Ç• +Ç– +Ç— +ǘ +Ç™ +Çš +Ç› +Çœ +È” +È• +È– +È— +á¹² +á¹³ +á¹´ +á¹µ +Ṷ +á¹· +Ṹ +á¹¹ +Ṻ +á¹» +Ụ +ụ +Ủ +ủ +Ứ +ứ +Ừ +ừ +Ử +á»­ +á»® +ữ +á»° +á»± +V +v +Ʋ +Ê‹ +á¹¼ +á¹½ +á¹¾ +ṿ +W +w +Å´ +ŵ +Ẁ +Ạ+Ẃ +ẃ +Ẅ +ẅ +Ẇ +ẇ +Ẉ +ẉ +ẘ +X +x +Ẋ +ẋ +Ẍ +Ạ+Y +y +à +ý +ÿ +Ÿ +Ŷ +Å· +Ƴ +Æ´ +Ȳ +ȳ +Ẏ +Ạ+ẙ +Ỳ +ỳ +á»´ +ỵ +Ỷ +á»· +Ỹ +ỹ +Z +z +Ź +ź +Å» +ż +Ž +ž +Ƶ +ƶ +Ȥ +È¥ +Ê +Ê‘ +Ạ+ẑ +Ẓ +ẓ +Ẕ +ẕ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/zh.xml b/apache-fop/src/test/resources/docbook-xsl/common/zh.xml new file mode 100644 index 0000000000..eeb19e29ed --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/zh.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ç¬¦å· +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/zh_cn.xml b/apache-fop/src/test/resources/docbook-xsl/common/zh_cn.xml new file mode 100644 index 0000000000..ed1c56f772 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/zh_cn.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ç¬¦å· +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/common/zh_tw.xml b/apache-fop/src/test/resources/docbook-xsl/common/zh_tw.xml new file mode 100644 index 0000000000..c92de8a3b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/common/zh_tw.xml @@ -0,0 +1,702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +符號 +A +a +B +b +C +c +D +d +E +e +F +f +G +g +H +h +I +i +J +j +K +k +L +l +M +m +N +n +O +o +P +p +Q +q +R +r +S +s +T +t +U +u +V +v +W +w +X +x +Y +y +Z +z + + diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/authors.xml b/apache-fop/src/test/resources/docbook-xsl/docsrc/authors.xml new file mode 100644 index 0000000000..ea4bf024d3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/authors.xml @@ -0,0 +1,10 @@ + + + + WalshNorman + + + + The DocBook Project + + diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/copyright.xml b/apache-fop/src/test/resources/docbook-xsl/docsrc/copyright.xml new file mode 100644 index 0000000000..505f7f8efa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/copyright.xml @@ -0,0 +1,18 @@ + + + 1999-2007 + Norman Walsh + + + 2003 + Jiří Kosek + + + 2004-2007 + Steve Ball + + + 2001-2007 + The DocBook Project + + diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/license.xml b/apache-fop/src/test/resources/docbook-xsl/docsrc/license.xml new file mode 100644 index 0000000000..c265ce8e7a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/license.xml @@ -0,0 +1,23 @@ +License +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the Software), to deal in the Software without +restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. +Except as contained in this notice, the names of individuals +credited with contribution to this software shall not be used in +advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the individuals +in question. +Any stylesheet derived from this Software that is publically +distributed will be identified with a different name and the version +strings in any derived Software will be changed so that no possibility +of confusion between the derived package and this Software will +exist. + diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/page.png b/apache-fop/src/test/resources/docbook-xsl/docsrc/page.png new file mode 100644 index 0000000000..9c15d8883d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/docsrc/page.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.css b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.css new file mode 100644 index 0000000000..9e7e51135f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.css @@ -0,0 +1,79 @@ +/* reference.css, a stylesheet for reference documentation + * generated by the DocBook XSL Stylesheets */ +/* $Id: reference.css 8234 2009-02-09 12:10:48Z xmldoc $ */ + +div.legalnotice { + font-size: 80%; +} + +div.note, div.tip, div.warning { + margin-left: 5%; + margin-right: 10%; + padding: 5px; +} + +div.note, div.tip { + border-left: solid #d5dee3 20px; + border-right: solid #d5dee3 20px; +} + +div.note, div.tip { + border-left: solid palegreen 20px; + border-right: solid palegreen 20px; +} + +div.warning { + border-left: solid yellow 20px; + border-right: solid yellow 20px; +} + +div.note p, div.tip p, div.warning p { + margin-top: 0px; + margin-bottom: 4px; +} + +div.note h3, div.tip h3, div.warning h3 { + margin-top: 0; +} + +div.informalexample { + background-color: #d5dee3; + border-top-width: 2px; + border-top-style: double; + border-top-color: #d3d3d3; + border-bottom-width: 2px; + border-bottom-style: double; + border-bottom-color: #d3d3d3; + padding: 4px; + margin: 0em; + margin-left: 2em; +} + +pre.programlisting, pre.synopsis { + whitespace: pre; + font-family: monospace; + background-color: #d5dee3; + border-top-width: 1px; + border-top-style: single; + border-top-color: #d3d3d3; + border-bottom-width: 1px; + border-bottom-style: single; + border-bottom-color: #d3d3d3; + padding: 4px; + margin: 0em; + margin-top: 6px; + margin-bottom: 6px; +} + +div.informalexample pre { + whitespace: pre; + font-family: monospace; + border-top-width: 0px; + border-bottom-width: 0px; + padding: 0px; +} + +/* Parameter and PI titles */ + div.refnamediv h2 { + font-size: 2em; +} diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml new file mode 100644 index 0000000000..5286887e99 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml @@ -0,0 +1,241 @@ + + + + + + + + + + + DocBook XSL Stylesheets: Reference Documentation + $Id: reference.xml 9625 2012-10-20 23:12:33Z dcramer $ + + + + + + About this document + This is generated reference documentation for the DocBook + XSL stylesheets. It is available in the following formats: + + + HTML, + PDF, + plain text + + + This is primarily documentation on the parameters and processing instructions you can use + to control the behavior of the stylesheets. + + This is purely reference documentation â€“ not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + This document is divided into three sets of references: + the first two sets provides user documentation; the third, + developer documentation. + + + DocBook XSL Stylesheets User Reference: Parameters + + + This is generated reference documentation for all + user-configurable parameters in the DocBook XSL + stylesheets. + + This is purely reference documentation â€“ not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Slides Parameter Reference + + + + This is reference documentation for all + user-configurable parameters in the DocBook XSL Slides + stylesheets (for generating HTML and PDF slide + presentations). + + The Slides stylesheet for HTML output is a + customization layer of the DocBook XSL HTML + stylesheet; the Slides stylesheet for FO output is a + customization layer of the DocBook XSL FO stylesheet. + Therefore, in addition to the slides-specific + parameters listed in this section, you can also use a + number of HTML stylesheet + parameters and FO + stylesheet parameters to control Slides + output. + + + + + + + + + + + + + + + + + + DocBook XSL Stylesheets User Reference: PIs + + + + + This is generated reference documentation for all + user-specifiable processing instructions in the DocBook + XSL stylesheets. + + You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + + + + + + + + + + DocBook XSL Stylesheets Developer Reference + + + This is technical reference documentation for + developers using the DocBook XSL Stylesheets. It is not + intended to be user documentation, but is instead + provided for developers writing customization layers for + the stylesheets. + + + + + + + + + + + + Common Template Reference + + + + + This is technical reference documentation for the + “baseâ€, “refentryâ€, and “utility†sets of common + templates in the DocBook XSL Stylesheets. These + templates are “common†in that they are shared across + output formats (that is, they’re not + output-format-dependent) + This documentation is not intended to be user + documentation. It is provided for developers writing + customization layers for the stylesheets. + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml.included b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml.included new file mode 100644 index 0000000000..cf287d0e29 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/reference.xml.included @@ -0,0 +1,35597 @@ + + + + + + + + + + + DocBook XSL Stylesheets: Reference Documentation + $Id: reference.xml 9625 2012-10-20 23:12:33Z dcramer $ + + + + WalshNorman + + + + The DocBook Project + + + + 1999-2007 + Norman Walsh + + 2003 + Jiří Kosek + + 2004-2007 + Steve Ball + + 2001-2007 + The DocBook Project + + License +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the Software), to deal in the Software without +restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. +Except as contained in this notice, the names of individuals +credited with contribution to this software shall not be used in +advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the individuals +in question. +Any stylesheet derived from this Software that is publically +distributed will be identified with a different name and the version +strings in any derived Software will be changed so that no possibility +of confusion between the derived package and this Software will +exist. + + Warranty +THE SOFTWARE IS PROVIDED AS IS, +WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY +OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + + About this document + This is generated reference documentation for the DocBook + XSL stylesheets. It is available in the following formats: + + + HTML, + PDF, + plain text + + + This is primarily documentation on the parameters and processing instructions you can use + to control the behavior of the stylesheets. + + This is purely reference documentation – not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + This document is divided into three sets of references: + the first two sets provides user documentation; the third, + developer documentation. + + + DocBook XSL Stylesheets User Reference: Parameters + + + This is generated reference documentation for all + user-configurable parameters in the DocBook XSL + stylesheets. + + This is purely reference documentation – not how-to + documentation. For a thorough step-by-step how-to guide to + publishing content using the DocBook XSL stylesheets, see + Bob Stayton’s DocBook XSL: The Complete Guide, available online + at http://www.sagehill.net/docbookxsl/index.html + + + + + + + + + HTML Parameter Reference + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL HTML stylesheets (for generating + HTML output). + + + Admonitions + + +admon.graphics.extension +string + + +admon.graphics.extension +Filename extension for admonition graphics + + + + +<xsl:param name="admon.graphics.extension">.png</xsl:param> + + + +Description + +Sets the filename extension to use on admonition graphics. + + + The DocBook XSL distribution provides admonition graphics in the following formats: + GIF (extension: .gif) + PNG (extension: .png) + SVG (extension: .svg) + TIFF (extension: .tif) + + + + + + + +admon.graphics.path +string + + +admon.graphics.path +Path to admonition graphics + + + +<xsl:param name="admon.graphics.path">images/</xsl:param> + + +Description + +Sets the path to the directory containing the admonition graphics +(caution.png, important.png etc). This location is normally relative +to the output html directory. See base.dir + + + + + + +admon.graphics +boolean + + +admon.graphics +Use graphics in admonitions? + + + + +<xsl:param name="admon.graphics" select="0"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented in an alternate style that uses +a graphic. Default graphics are provided in the distribution. + + + + + + + +admon.textlabel +boolean + + +admon.textlabel +Use text label in admonitions? + + + + +<xsl:param name="admon.textlabel" select="1"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented with a generated +text label such as Note or Warning in the appropriate language. +If zero, such labels are turned off, but any title child +of the admonition element are still output. +The default value is 1. + + + + + + + +admon.style +string + + +admon.style +Specifies the CSS style attribute that should be added to +admonitions. + + + +<xsl:param name="admon.style"> + <xsl:value-of select="concat('margin-', $direction.align.start, ': 0.5in; margin-', $direction.align.end, ': 0.5in;')"></xsl:value-of> +</xsl:param> + + +Description + +Specifies the value of the CSS style +attribute that should be added to admonitions. + + + + + +Callouts + + +callout.defaultcolumn +integer + + +callout.defaultcolumn +Indicates what column callouts appear in by default + + + + +<xsl:param name="callout.defaultcolumn">60</xsl:param> + + + +Description + +If a callout does not identify a column (for example, if it uses +the linerange unit), +it will appear in the default column. + + + + + + + +callout.graphics.extension +string + + +callout.graphics.extension +Filename extension for callout graphics + + + + +<xsl:param name="callout.graphics.extension">.png</xsl:param> + + + + +Description +Sets the filename extension to use on callout graphics. + + +The Docbook XSL distribution provides callout graphics in the following formats: +SVG (extension: .svg) +PNG (extension: .png) +GIF (extension: .gif) + + + + + + +callout.graphics.number.limit +integer + + +callout.graphics.number.limit +Number of the largest callout graphic + + + + +<xsl:param name="callout.graphics.number.limit">15</xsl:param> + + + + +Description + +If callout.graphics is non-zero, graphics +are used to represent callout numbers instead of plain text. The value +of callout.graphics.number.limit is the largest +number for which a graphic exists. If the callout number exceeds this +limit, the default presentation "(plain text instead of a graphic)" +will be used. + + + + + + + +callout.graphics.path +string + + +callout.graphics.path +Path to callout graphics + + + + +<xsl:param name="callout.graphics.path">images/callouts/</xsl:param> + + + +Description + +Sets the path to the directory holding the callout graphics. his +location is normally relative to the output html directory. see +base.dir. Always terminate the directory with / since the graphic file +is appended to this string, hence needs the separator. + + + + + + + +callout.graphics +boolean + + +callout.graphics +Use graphics for callouts? + + + + +<xsl:param name="callout.graphics" select="1"></xsl:param> + + + +Description + +If non-zero, callouts are presented with graphics (e.g., reverse-video +circled numbers instead of "(1)", "(2)", etc.). +Default graphics are provided in the distribution. + + + + + + + +callout.list.table +boolean + + +callout.list.table +Present callout lists using a table? + + + + +<xsl:param name="callout.list.table" select="1"></xsl:param> + + + +Description + +The default presentation of calloutlists uses +an HTML DL element. Some browsers don't align DLs very well +if callout.graphics is used. With this option +turned on, calloutlists are presented in an HTML +TABLE, which usually results in better alignment +of the callout number with the callout description. + + + + + + +callout.unicode.number.limit +integer + + +callout.unicode.number.limit +Number of the largest unicode callout character + + + + +<xsl:param name="callout.unicode.number.limit">10</xsl:param> + + + +Description + +If callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.number.limit +is +the largest number for which a unicode character exists. If the callout number +exceeds this limit, the default presentation "(nnn)" will always +be used. + + + + + + + +callout.unicode.start.character +integer + + +callout.unicode.start.character +First Unicode character to use, decimal value. + + + + +<xsl:param name="callout.unicode.start.character">10102</xsl:param> + + + +Description + +If callout.graphics is zero and callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.start.character +is the decimal unicode value used for callout number one. Currently, +only values 9312 and 10102 are supported in the stylesheets for this parameter. + + + + + + + +callout.unicode +boolean + + +callout.unicode +Use Unicode characters rather than images for callouts. + + + +<xsl:param name="callout.unicode" select="0"></xsl:param> + + +Description + +The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. + + + + + + + +callouts.extension +boolean + + +callouts.extension +Enable the callout extension + + + + +<xsl:param name="callouts.extension" select="1"></xsl:param> + + + +Description + +The callouts extension processes areaset +elements in programlistingco and other text-based +callout elements. + + + + + +EBNF + + +ebnf.table.bgcolor +color + + +ebnf.table.bgcolor +Background color for EBNF tables + + + + +<xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param> + + + +Description + +Sets the background color for EBNF tables (a pale brown). No +bgcolor attribute is output if +ebnf.table.bgcolor is set to the null string. + + + + + + + +ebnf.table.border +boolean + + +ebnf.table.border +Selects border on EBNF tables + + + +<xsl:param name="ebnf.table.border" select="1"></xsl:param> + + +Description + +Selects the border on EBNF tables. If non-zero, the tables have +borders, otherwise they don't. + + + + + + +ebnf.assignment +rtf + + +ebnf.assignment +The EBNF production assignment operator + + + + +<xsl:param name="ebnf.assignment"> +<code>::=</code> +</xsl:param> + + + + +Description + +The ebnf.assignment parameter determines what +text is used to show assignment in productions +in productionsets. + +While ::= is common, so are several +other operators. + + + + + + +ebnf.statement.terminator +rtf + + +ebnf.statement.terminator +Punctuation that ends an EBNF statement. + + + + +<xsl:param name="ebnf.statement.terminator"></xsl:param> + + + + +Description + +The ebnf.statement.terminator parameter determines what +text is used to terminate each production +in productionset. + +Some notations end each statement with a period. + + + + +ToC/LoT/Index Generation + + +annotate.toc +boolean + + +annotate.toc +Annotate the Table of Contents? + + + +<xsl:param name="annotate.toc" select="1"></xsl:param> + + +Description + +If true, TOCs will be annotated. At present, this just means +that the refpurpose of refentry +TOC entries will be displayed. + + + + + + + +autotoc.label.separator +string + + +autotoc.label.separator +Separator between labels and titles in the ToC + + + + +<xsl:param name="autotoc.label.separator">. </xsl:param> + + + +Description + +String used to separate labels and titles in a table of contents. + + + + + + +autotoc.label.in.hyperlink +boolean + + +autotoc.label.in.hyperlink +Include label in hyperlinked titles in TOC? + + + +<xsl:param name="autotoc.label.in.hyperlink" select="1"></xsl:param> + + +Description + +If the value of +autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it is instead zero, +labels are still displayed prior to the hyperlinked titles, but +are not hyperlinked along with the titles. + + + + + + +process.source.toc +boolean + + +process.source.toc +Process a non-empty toc element if it occurs in a source document? + + + +<xsl:param name="process.source.toc" select="0"></xsl:param> + + +Description + +Specifies that the contents of a non-empty "hard-coded" +toc element in a source document are processed to +generate a TOC in output. + + This parameter has no effect on automated generation of + TOCs. An automated TOC may still be generated along with the + "hard-coded" TOC. To suppress automated TOC generation, adjust the + value of the generate.toc paramameter. + + The process.source.toc parameter also has + no effect if the toc element is empty; handling + for empty toc is controlled by the + process.empty.source.toc parameter. + + + + + + + + +process.empty.source.toc +boolean + + +process.empty.source.toc +Generate automated TOC if toc element occurs in a source document? + + + +<xsl:param name="process.empty.source.toc" select="0"></xsl:param> + + +Description + +Specifies that if an empty toc element is found in a +source document, an automated TOC is generated at this point in the +document. + + Depending on what the value of the + generate.toc parameter is, setting this + parameter to 1 could result in generation of + duplicate automated TOCs. So the + process.empty.source.toc is primarily useful + as an "override": by placing an empty toc in your + document and setting this parameter to 1, you can + force a TOC to be generated even if generate.toc + says not to. + + + + + + + + +bridgehead.in.toc +boolean + + +bridgehead.in.toc +Should bridgehead elements appear in the TOC? + + + +<xsl:param name="bridgehead.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, bridgeheads appear in the TOC. Note that +this option is not fully supported and may be removed in a future +version of the stylesheets. + + + + + + + +simplesect.in.toc +boolean + + +simplesect.in.toc +Should simplesect elements appear in the TOC? + + + +<xsl:param name="simplesect.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, simplesects will be included in the TOC. + + + + + + + +manual.toc +string + + +manual.toc +An explicit TOC to be used for the TOC + + + + +<xsl:param name="manual.toc"></xsl:param> + + + +Description + +The manual.toc identifies an explicit TOC that +will be used for building the printed TOC. + + + + + + + +toc.list.type +list +dl +ul +ol + + +toc.list.type +Type of HTML list element to use for Tables of Contents + + + +<xsl:param name="toc.list.type">dl</xsl:param> + + +Description + +When an automatically generated Table of Contents (or List of Titles) +is produced, this HTML element will be used to make the list. + + + + + + + +toc.section.depth +integer + + +toc.section.depth +How deep should recursive sections appear +in the TOC? + + + +<xsl:param name="toc.section.depth">2</xsl:param> + + +Description + +Specifies the depth to which recursive sections should appear in the +TOC. + + + + + + + +toc.max.depth +integer + + +toc.max.depth +How many levels should be created for each TOC? + + + +<xsl:param name="toc.max.depth">8</xsl:param> + + +Description + +Specifies the maximal depth of TOC on all levels. + + + + + + +generate.toc +table + + +generate.toc +Control generation of ToCs and LoTs + + + + +<xsl:param name="generate.toc"> +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title +</xsl:param> + + + + +Description + +This parameter has a structured value. It is a table of space-delimited +path/value pairs. Each path identifies some element in the source document +using a restricted subset of XPath (only the implicit child axis, no wildcards, +no predicates). Paths can be either relative or absolute. + +When processing a particular element, the stylesheets consult this table to +determine if a ToC (or LoT(s)) should be generated. + +For example, consider the entry: + +book toc,figure + +This indicates that whenever a book is formatted, a +Table Of Contents and a List of Figures should be generated. Similarly, + +/chapter toc + +indicates that whenever a document that has a root +of chapter is formatted, a Table of +Contents should be generated. The entry chapter would match +all chapters, but /chapter matches only chapter +document elements. + +Generally, the longest match wins. So, for example, if you want to distinguish +articles in books from articles in parts, you could use these two entries: + +book/article toc,figure +part/article toc + +Note that an article in a part can never match a book/article, +so if you want nothing to be generated for articles in parts, you can simply leave +that rule out. + +If you want to leave the rule in, to make it explicit that you're turning +something off, use the value nop. For example, the following +entry disables ToCs and LoTs for articles: + +article nop + +Do not simply leave the word article in the file +without a matching value. That'd be just begging the silly little +path/value parser to get confused. + +Section ToCs are further controlled by the +generate.section.toc.level parameter. +For a given section level to have a ToC, it must have both an entry in +generate.toc and be within the range enabled by +generate.section.toc.level. + + + + + +generate.section.toc.level +integer + + +generate.section.toc.level +Control depth of TOC generation in sections + + + + +<xsl:param name="generate.section.toc.level" select="0"></xsl:param> + + + +Description + +The generate.section.toc.level parameter +controls the depth of section in which TOCs will be generated. Note +that this is related to, but not the same as +toc.section.depth, which controls the depth to +which TOC entries will be generated in a given TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. + + + + + + + +generate.index +boolean + + +generate.index +Do you want an index? + + + +<xsl:param name="generate.index" select="1"></xsl:param> + + +Description + +Specify if an index should be generated. + + + + + + +index.method +list +basic +kosek +kimber + + +index.method +Select method used to group index entries in an index + + + + +<xsl:param name="index.method">basic</xsl:param> + + + +Description + +This parameter lets you select which method to use for sorting and grouping + index entries in an index. +Indexes in Latin-based languages that have accented characters typically +sort together accented words and unaccented words. +Thus Á (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together +with A (U+0041 LATIN CAPITAL LETTER A), so both would appear in the A +section of the index. +Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) +and languages using ideographic chararacters (such as Japanese) +require grouping specific to the languages and alphabets. + + +The default indexing method is limited. +It can group accented characters in Latin-based languages only. +It cannot handle non-Latin alphabets or ideographic languages. +The other indexing methods require extensions of one type or +another, and do not work with +all XSLT processors, which is why they are not used by default. + +The three choices for indexing method are: + + +basic + + +(default) Sort and groups words based only on the Latin alphabet. +Words with accented Latin letters will group and sort with +their respective primary letter, but +words in non-Latin alphabets will be +put in the Symbols section of the index. + + + + +kosek + + +This method sorts and groups words based on letter groups configured in +the DocBook locale file for the given language. +See, for example, the French locale file common/fr.xml. +This method requires that the XSLT processor +supports the EXSLT extensions (most do). +It also requires support for using +user-defined functions in xsl:key (xsltproc does not). + +This method is suitable for any language for which you can +list all the individual characters that should appear +in each letter group in an index. +It is probably not practical to use it for ideographic languages +such as Chinese that have hundreds or thousands of characters. + + +To use the kosek method, you must: + + + +Use a processor that supports its extensions, such as +Saxon 6 or Xalan (xsltproc and Saxon 8 do not). + + + +Set the index.method parameter's value to kosek. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kosek.xsl or +html/autoidx-kosek.xsl into your +customization. + + + + + + + +kimber + + +This method uses extensions to the Saxon processor to implement +sophisticated indexing processes. It uses its own +configuration file, which can include information for any number of +languages. Each language's configuration can group +words using one of two processes. In the +enumerated process similar to that used in the kosek method, +you indicate the groupings character-by-character. +In the between-key process, you specify the +break-points in the sort order that should start a new group. +The latter configuration is useful for ideographic languages +such as Chinese, Japanese, and Korean. +You can also define your own collation algorithms and how you +want mixed Latin-alphabet words sorted. + + +For a whitepaper describing the extensions, see: +http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf. + + + +To download the extension library, see +http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport. + + + + +To use the kimber method, you must: + + + +Use Saxon (version 6 or 8) as your XSLT processor. + + + +Install and configure the Innodata Isogen library, using +the documentation that comes with it. + + + +Set the index.method parameter's value to kimber. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kimber.xsl or +html/autoidx-kimber.xsl into your +customization. + + + + + + + + + + + + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + +<xsl:param name="index.on.type" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + + + + +index.on.role +boolean + + +index.on.role +Select indexterms based on role value + + + + +<xsl:param name="index.on.role" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +role attribute +value will contain only those indexterm +elements with a matching role value. +If an index has no role +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + +If index.on.role is zero, then the +role attribute has no effect +on selecting indexterms for an index. + + +If you are using DocBook version 4.3 or later, you should +use the type attribute instead of role +on indexterm and index, +and set the index.on.type to a nonzero +value. + + + + + + + +index.links.to.section +boolean + + +index.links.to.section +HTML index entries link to container section title + + + + +<xsl:param name="index.links.to.section" select="1"></xsl:param> + + + +Description + +If zero, then an index entry in an index links +directly to the location of the +generated anchor that is output +for the indexterm. If two identical indexterm elements +exist in the same section, then both entries appear +in the index with the same title but link to different +locations. + +If non-zero, then an index entry in an index links to the +section title containing the indexterm, rather than +directly to the anchor output for the indexterm. +Duplicate indexterm entries in the same section are dropped. + + +The default value is 1, so index entries link to +section titles by default. + +In both cases, the link text in an index entry is the +title of the section containing the indexterm. +That is because HTML does not have numbered pages. +It also provides the reader with context information +for each link. + +This parameter lets you choose which style of +index linking you want. + + + +When set to 0, an index entry takes you +to the precise location of its corresponding indexterm. +However, if you have a lot of duplicate +entries in sections, then you have a lot of duplicate +titles in the index, which makes it more cluttered. +The reader may not recognize why duplicate titles +appear until they follow the links. Also, the links +may land the reader in the middle of a section where the +section title is not visible, which may also be +confusing to the reader. + + +When set to 1, an index entry link is +less precise, but duplicate titles in the +index entries are eliminated. +Landing on the section title location may confirm the reader's +expectation that a link that +shows a section title will take them to that section title, +not a location within the section. + + + + + + + + + +index.prefer.titleabbrev +boolean + + +index.prefer.titleabbrev +Should abbreviated titles be used as back references? + + + + +<xsl:param name="index.prefer.titleabbrev" select="0"></xsl:param> + + + +Description + +If non-zero, and if a titleabbrev is defined, the abbreviated title +is used as the link text of a back reference in the index. + + + + + + + +index.term.separator +string + + +index.term.separator +Override for punctuation separating an index term +from its list of page references in an index + + + + +<xsl:param name="index.term.separator"></xsl:param> + + + +Description + +This parameter permits you to override +the text to insert between +the end of an index term and its list of page references. +Typically that might be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'term-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +fill in the content for this normally empty +override parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. +For fo output, it could be an fo:leader +element to provide space of a specific length, or a dot leader. + + + + + + + +index.number.separator +string + + +index.number.separator +Override for punctuation separating page numbers in index + + + + +<xsl:param name="index.number.separator"></xsl:param> + + + +Description + +This parameter permits you to override the text to insert between +page references in a formatted index entry. Typically +that would be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'number-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. This punctuation appears between +such section titles in an HTML index. + + + + + + + +index.range.separator +string + + +index.range.separator +Override for punctuation separating the two numbers +in a page range in index + + + + +<xsl:param name="index.range.separator"></xsl:param> + + + +Description + +This parameter permits you +to override the text to insert between +the two numbers of a page range in an index. +This parameter is only used by those XSL-FO processors +that support an extension for generating such page ranges +(such as XEP). + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'range-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. So there are no page ranges +and this parameter has no effect. + + + + + +Stylesheet Extensions + + +linenumbering.everyNth +integer + + +linenumbering.everyNth +Indicate which lines should be numbered + + + + +<xsl:param name="linenumbering.everyNth">5</xsl:param> + + + +Description + +If line numbering is enabled, everyNth line will be +numbered. Note that numbering is one based, not zero based. + +See also linenumbering.extension, +linenumbering.separator, +linenumbering.width and +use.extensions + + + + + + +linenumbering.extension +boolean + + +linenumbering.extension +Enable the line numbering extension + + + + +<xsl:param name="linenumbering.extension" select="1"></xsl:param> + + + +Description + +If non-zero, verbatim environments (address, literallayout, +programlisting, screen, synopsis) that specify line numbering will +have line numbers. + + + + + + + +linenumbering.separator +string + + +linenumbering.separator +Specify a separator between line numbers and lines + + + + +<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param> + + + +Description + +The separator is inserted between line numbers and lines in the +verbatim environment. The default value is a single white space. + Note the interaction with linenumbering.width + + + + + + + +linenumbering.width +integer + + +linenumbering.width +Indicates the width of line numbers + + + + +<xsl:param name="linenumbering.width">3</xsl:param> + + + +Description + +If line numbering is enabled, line numbers will appear right +justified in a field "width" characters wide. + + + + + + + +tablecolumns.extension +boolean + + +tablecolumns.extension +Enable the table columns extension function + + + + +<xsl:param name="tablecolumns.extension" select="1"></xsl:param> + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + + + + + textinsert.extension + boolean + + + textinsert.extension + Enables the textinsert extension element + + + + <xsl:param name="textinsert.extension" select="1"></xsl:param> + + + Description + The textinsert extension element inserts the contents of + a file into the result tree (as text). + + To use the textinsert extension element, you must use + either Saxon or Xalan as your XSLT processor (it doesn’t + work with xsltproc), along with either the DocBook Saxon + extensions or DocBook Xalan extensions (for more + information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both + the use.extensions and + textinsert.extension parameters to + 1. + As an alternative to using the textinsert element, + consider using an Xinclude element with the + parse="text" attribute and value + specified, as detailed in Using XInclude for text inclusions. + + + See Also + You can also use the dbhtml-include href processing + instruction to insert external files — both files containing + plain text and files with markup content (including HTML + content). + + More information + For how-to documentation on inserting contents of + external code files and other text files into output, see + External code files. + For guidelines on inserting contents of + HTML files into output, see Inserting external HTML code. + + + + + +textdata.default.encoding +string + + +textdata.default.encoding +Default encoding of external text files which are included +using textdata element + + + + +<xsl:param name="textdata.default.encoding"></xsl:param> + + + +Description + +Specifies the encoding of any external text files included using +textdata element. This value is used only when you do +not specify encoding by the appropriate attribute +directly on textdata. An empty string is interpreted as the system +default encoding. + + + + + + +graphicsize.extension +boolean + + +graphicsize.extension +Enable the getWidth()/getDepth() extension functions + + + + +<xsl:param name="graphicsize.extension" select="1"></xsl:param> + + + +Description + +If non-zero (and if use.extensions is non-zero +and if you're using a processor that supports extension functions), the +getWidth and getDepth functions +will be used to extract image sizes from graphics. + +The main supported image formats are GIF, JPEG, and PNG. Somewhat cruder +support for EPS and PDF images is also available. + + + + + +graphicsize.use.img.src.path +boolean + + +graphicsize.use.img.src.path +Prepend img.src.path before +filenames passed to extension functions + + + + +<xsl:param name="graphicsize.use.img.src.path" select="0"></xsl:param> + + + +Description + +If non-zero img.src.path parameter will +be appended before filenames passed to extension functions for +measuring image dimensions. + + + + + + +use.extensions +boolean + + +use.extensions +Enable extensions + + + + +<xsl:param name="use.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, extensions may be used. Each extension is +further controlled by its own parameter. But if +use.extensions is zero, no extensions will +be used. + + + + + +Automatic labelling + + +chapter.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +chapter.autolabel +Specifies the labeling format for Chapter titles + + + + +<xsl:param name="chapter.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, then chapters will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + +appendix.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +appendix.autolabel +Specifies the labeling format for Appendix titles + + + + +<xsl:param name="appendix.autolabel">A</xsl:param> + + + +Description + +If non-zero, then appendices will be numbered using the +parameter value as the number format if the value matches one of the +following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperalpha). + + + + + + + +part.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +part.autolabel +Specifies the labeling format for Part titles + + + + +<xsl:param name="part.autolabel">I</xsl:param> + + + +Description + +If non-zero, then parts will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperroman). + + + + + + + + +reference.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +reference.autolabel +Specifies the labeling format for Reference titles + + + + <xsl:param name="reference.autolabel">I</xsl:param> + + +Description +If non-zero, references will be numbered using the parameter + value as the number format if the value matches one of the + following: + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + +Any non-zero value other than the above will generate +the default number format (upperroman). + + + + + + +preface.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +preface.autolabel +Specifices the labeling format for Preface titles + + + +<xsl:param name="preface.autolabel" select="0"></xsl:param> + + +Description + +If non-zero then prefaces will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + + +qandadiv.autolabel +boolean + + +qandadiv.autolabel +Are divisions in QAndASets enumerated? + + + +<xsl:param name="qandadiv.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, unlabeled qandadivs will be enumerated. + + + + + + + +section.autolabel +boolean + + +section.autolabel +Are sections enumerated? + + + +<xsl:param name="section.autolabel" select="0"></xsl:param> + + +Description + +If true (non-zero), unlabeled sections will be enumerated. + + + + + + + +section.autolabel.max.depth +integer + + +section.autolabel.max.depth +The deepest level of sections that are numbered. + + + + +<xsl:param name="section.autolabel.max.depth">8</xsl:param> + + + +Description + +When section numbering is turned on by the +section.autolabel parameter, then this +parameter controls the depth of section nesting that is +numbered. Sections nested to a level deeper than this value will not +be numbered. + + + + + + + +section.label.includes.component.label +boolean + + +section.label.includes.component.label +Do section labels include the component label? + + + +<xsl:param name="section.label.includes.component.label" select="0"></xsl:param> + + +Description + +If non-zero, section labels are prefixed with the label of the +component that contains them. + + + + + + + +label.from.part +boolean + + +label.from.part +Renumber components in each part? + + + + +<xsl:param name="label.from.part" select="0"></xsl:param> + + + +Description + +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. + + + + + + +component.label.includes.part.label +boolean + + +component.label.includes.part.label +Do component labels include the part label? + + + +<xsl:param name="component.label.includes.part.label" select="0"></xsl:param> + + +Description + +If non-zero, number labels for chapter, +appendix, and other component elements are prefixed with +the label of the part element that contains them. So you might see +Chapter II.3 instead of Chapter 3. Also, the labels for formal +elements such as table and figure will include +the part label. If there is no part element container, then no prefix +is generated. + + +This feature is most useful when the +label.from.part parameter is turned on. +In that case, there would be more than one chapter +1, and the extra part label prefix will identify +each chapter unambiguously. + + + + + +HTML + + +html.base +uri + + +html.base +An HTML base URI + + + + +<xsl:param name="html.base"></xsl:param> + + +Description + +If html.base is set, it is used for the base element +in the head of the html documents. The parameter specifies +the base URL for all relative URLs in the document. This is useful +for dynamically served html where the base URI needs to be +shifted. + + + + + + +html.stylesheet +string + + +html.stylesheet +Name of the stylesheet(s) to use in the generated HTML + + + + +<xsl:param name="html.stylesheet"></xsl:param> + + + +Description + +The html.stylesheet parameter is either +empty, indicating that no stylesheet link tag should be +generated in the html output, or it is a list of one or more +stylesheet files. + +Multiple stylesheets are space-delimited. If you need to +reference a stylesheet URI that includes a space, encode it with +%20. A separate html link element will +be generated for each stylesheet in the order they are listed in the +parameter. + + + + + + +html.stylesheet.type +string + + +html.stylesheet.type +The type of the stylesheet used in the generated HTML + + + +<xsl:param name="html.stylesheet.type">text/css</xsl:param> + + +Description + +The type of the stylesheet to place in the HTML link tag. + + + + + + + +css.decoration +boolean + + +css.decoration +Enable CSS decoration of elements + + + + +<xsl:param name="css.decoration" select="1"></xsl:param> + + + +Description + + +If non-zero, then html elements produced by the stylesheet may be +decorated with style attributes. For example, the +li tags produced for list items may include a +fragment of CSS in the style attribute which sets +the CSS property "list-style-type". + + + + + + + +html.script +string + + +html.script +Name of the script(s) to use in the generated HTML + + + + +<xsl:param name="html.script"></xsl:param> + + + +Description + +The html.script parameter is either +empty (default), indicating that no script element should be +generated in the html output, or it is a list of one or more +script locations. + +Multiple script locations are space-delimited. If you need to +reference a script URI that includes a space, encode it with +%20. A separate html script element will +be generated for each script in the order they are listed in the +parameter. + + + + + + +html.script.type +string + + +html.script.type +The type of script used in the generated HTML + + + +<xsl:param name="html.script.type">text/javascript</xsl:param> + + +Description + +The type of script to place in the HTML script element. +Specifically, the value of the script element's type +attribute. +The default value is text/javascript. +This param is used only when the stylesheet parameter +html.script is non-blank and specifies the location of a script. + + + + + + + +spacing.paras +boolean + + +spacing.paras +Insert additional <p> elements for spacing? + + + + +<xsl:param name="spacing.paras" select="0"></xsl:param> + + + +Description + +When non-zero, additional, empty paragraphs are inserted in +several contexts (for example, around informal figures), to create a +more pleasing visual appearance in many browsers. + + + + + + + +emphasis.propagates.style +boolean + + +emphasis.propagates.style +Pass emphasis role attribute through to HTML? + + + +<xsl:param name="emphasis.propagates.style" select="1"></xsl:param> + + +Description +If non-zero, the role attribute of +emphasis elements will be passed through to the HTML as a +class attribute on a span that surrounds the +emphasis. + + + + + +para.propagates.style +boolean + + +para.propagates.style +Pass para role attribute through to HTML? + + + + +<xsl:param name="para.propagates.style" select="1"></xsl:param> + + + +Description + +If true, the role attribute of para elements +will be passed through to the HTML as a class attribute on the +p generated for the paragraph. + + + + + + +phrase.propagates.style +boolean + + +phrase.propagates.style +Pass phrase role attribute through to HTML? + + + + +<xsl:param name="phrase.propagates.style" select="1"></xsl:param> + + +Description + +If non-zero, the role attribute of phrase elements +will be passed through to the HTML as a class +attribute on a span that surrounds the +phrase. + + + + + + +entry.propagates.style +boolean + + +entry.propagates.style +Pass entry role attribute through to HTML? + + + + +<xsl:param name="entry.propagates.style" select="1"></xsl:param> + + + +Description + +If true, the role attribute of entry elements +will be passed through to the HTML as a class attribute on the +td or th generated for the table +cell. + + + + + + +html.longdesc +boolean + + +html.longdesc +Should longdesc URIs be created? + + + +<xsl:param name="html.longdesc" select="1"></xsl:param> + + +Description +If non-zero, HTML files will be created for the +longdesc attribute. These files +are created from the textobjects in +mediaobjects and +inlinemediaobject. + + + + + + +html.longdesc.link +boolean + + +html.longdesc.link +Should a link to the longdesc be included in the HTML? + + + + +<xsl:param name="html.longdesc.link" select="$html.longdesc"></xsl:param> + + + +Description + +If non-zero, links will be created to the +HTML files created for the +longdesc attribute. It makes no +sense to enable this option without also enabling the +html.longdesc parameter. + + + + + + + + +make.valid.html +boolean + + +make.valid.html +Attempt to make sure the HTML output is valid HTML + + + + +<xsl:param name="make.valid.html" select="0"></xsl:param> + + + +Description + +If make.valid.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is valid. This may mean that some +para tags are translated into HTML divs or +that other substitutions occur. + +This parameter is different from html.cleanup +because it changes the resulting markup; it does not use extension functions +to manipulate result-tree-fragments and is therefore applicable to any +XSLT processor. + + + + + + +html.cleanup +boolean + + +html.cleanup +Attempt to clean up the resulting HTML? + + + + +<xsl:param name="html.cleanup" select="1"></xsl:param> + + + +Description + +If non-zero, and if the EXSLT +extensions are supported by your processor, the resulting HTML will be +cleaned up. This improves the chances that the +resulting HTML will be valid. It may also improve the formatting of +some elements. + +This parameter is different from make.valid.html +because it uses extension functions to manipulate result-tree-fragments. + + + + + + +html.append +string + + +html.append +Specifies content to append to HTML output + + + +<xsl:param name="html.append"></xsl:param> + + +Description + +Specifies content to append to the end of HTML files output by +the html/docbook.xsl stylesheet, after the +closing <html> tag. You probably don’t want to set any +value for this parameter; but if you do, the only value it should ever +be set to is a newline character: &#x0a; or +&#10; + + + + + + +draft.mode +list +no +yes +maybe + + +draft.mode +Select draft mode + + + + +<xsl:param name="draft.mode">no</xsl:param> + + + +Description + +Selects draft mode. If draft.mode is +yes, the entire document will be treated +as a draft. If it is no, the entire document +will be treated as a final copy. If it is maybe, +individual sections will be treated as draft or final independently, depending +on how their status attribute is set. + + + + + + + +draft.watermark.image +uri + + +draft.watermark.image +The URI of the image to be used for draft watermarks + + + + +<xsl:param name="draft.watermark.image">images/draft.png</xsl:param> + + + +Description + +The image to be used for draft watermarks. + + + + + + +generate.id.attributes +boolean + + +generate.id.attributes +Generate ID attributes on container elements? + + + + +<xsl:param name="generate.id.attributes" select="0"></xsl:param> + + + +Description + +If non-zero, the HTML stylesheet will generate ID attributes on +containers. For example, the markup: + +<section id="foo"><title>Some Title</title> +<para>Some para.</para> +</section> + +might produce: + +<div class="section" id="foo"> +<h2>Some Title</h2> +<p>Some para.</p> +</div> + +The alternative is to generate anchors: + +<div class="section"> +<h2><a name="foo"></a>Some Title</h2> +<p>Some para.</p> +</div> + +Because the name attribute of +the a element and the id +attribute of other tags are both of type ID, producing both +generates invalid documents. + +As of version 1.50, you can use this switch to control which type of +identifier is generated. For backwards-compatibility, generating +a anchors is preferred. + +Note: at present, this switch is incompletely implemented. +Disabling ID attributes will suppress them, but enabling ID attributes +will not suppress the anchors. + + + + + + +generate.consistent.ids +boolean + + +generate.consistent.ids +Generate consistent id values if document is unchanged + + + + +<xsl:param name="generate.consistent.ids" select="0"></xsl:param> + + + +Description + +When the stylesheet assigns an id value to an output element, +the generate-id() function may be used. That function may not +produce consistent values between runs. Version control +systems may misidentify the changing id values as changes +to the document. + +If you set this parameter's value to 1, then the +template named object.id will replace +the use of the function generate-id() with +<xsl:number level="multiple" count="*"/>. +This counts preceding elements to generate a unique number for +the id value. + + +This param does not associate permanent unique id values +with particular elements. +The id values are consistent only as long as the document +structure does not change. +If the document structure changes, then the counting +of elements changes, and all id values after +the first such change may be different, even when there is +no change to the element itself or its output. + + + +The default value of this parameter is zero, so generate-id() is used +by default. + + + + + + +generate.meta.abstract +boolean + + +generate.meta.abstract +Generate HTML META element from abstract? + + + + +<xsl:param name="generate.meta.abstract" select="1"></xsl:param> + + + +Description + +If non-zero, document abstracts will be reproduced in the HTML +head, with >meta name="description" content="..." + + + + + + + +make.clean.html +boolean + + +make.clean.html +Make HTML conform to modern coding standards + + + + +<xsl:param name="make.clean.html" select="0"></xsl:param> + + + +Description + +If make.clean.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is conforms to +modern HTML coding standards. In addition to eliminating +excessive and noncompliant coding, it moves presentation +HTML coding to a CSS stylesheet. + +The resulting HTML is dependent on +CSS for formatting, and so the stylesheet is capable of +generating a supporting CSS file. The docbook.css.source +and custom.css.source parameters control +how a CSS file is generated. + +If you require your CSS to reside in the HTML +head element, then the generate.css.header +can be used to do that. + +The make.clean.html parameter is +different from html.cleanup +because the former changes the resulting markup; it does not use extension functions +like the latter to manipulate result-tree-fragments, +and is therefore applicable to any XSLT processor. + +If make.clean.html is set to zero (the default), +then the stylesheet retains its original +old style +HTML formatting features. + + + + + + docbook.css.source + string + + + docbook.css.source + Name of the default CSS input file + + + + <xsl:param name="docbook.css.source">docbook.css.xml</xsl:param> + + + Description + +The docbook.css.source parameter +specifies the name of the file containing the default DocBook +CSS styles. Those styles are necessary when the +make.clean.html parameter is nonzero. + +The file is a well-formed XML file that +must consist of a single style root +element that contains CSS styles as its text content. +The default value of the parameter (and filename) +is docbook.css.xml. +The stylesheets ship with the default file. You can substitute +your own and specify its path in this parameter. + +If docbook.css.source is not blank, +and make.clean.html is nonzero, then +the stylesheet takes the following actions: + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of docbook.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference the external CSS stylesheet. + For example: + <link rel="stylesheet" href="docbook.css" type="text/css"> + + However, if the docbook.css.link + parameter is set to zero, then no link is written + for the default CSS file. That is useful if a custom + CSS file will import the default CSS stylesheet to ensure + proper cascading of styles. + + + +If the docbook.css.source parameter +is changed from its default docbook.css.xml to blank, +then no default CSS is generated. Likewise if the +make.clean.html parameter is set to zero, +then no default CSS is generated. The +custom.css.source parameter can be used +instead to generate a complete custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + + + + +docbook.css.link +boolean + + +docbook.css.link +Insert a link referencing the default CSS stylesheet + + + + +<xsl:param name="docbook.css.link" select="1"></xsl:param> + + + +Description + +The stylesheets are capable of generating a default +CSS stylesheet file. The parameters +make.clean.html and +docbook.css.source control that feature. + +Normally if a default CSS file is generated, then +the stylesheet inserts a link tag in the HTML +HEAD element to reference it. +However, you can omit that link reference if +you set the docbook.css.link to zero +(1 is the default). + +This parameter is useful when you want to import the +default CSS into a custom CSS file generated using the +custom.css.source parameter. + + + + + + + + custom.css.source + string + + + custom.css.source + Name of a custom CSS input file + + + + <xsl:param name="custom.css.source"></xsl:param> + + + Description + +The custom.css.source +parameter enables you to add CSS styles to DocBook's +HTML output. + +The parameter +specifies the name of a file containing custom +CSS styles. The file must be a well-formed XML file that +consists of a single style root +element that contains CSS styles as its text content. +For example: +<?xml version="1.0"?> +<style> +h2 { + font-weight: bold; + color: blue; +} +... +</style> + + +The filename specified by the parameter +should have a .xml +filename suffix, although that is not required. +The default value of this parameter is blank. + +If custom.css.source is not blank, then +the stylesheet takes the following actions. +These actions take place regardless of the value of +the make.clean.html parameter. + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of custom.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference this external CSS stylesheet. + For example: + <link rel="stylesheet" href="custom.css" type="text/css"> + + + + + + + +If the make.clean.html parameter is nonzero +(the default is zero), +and if the docbook.css.source parameter +is not blank (the default is not blank), +then the stylesheet will also generate a default CSS file +and add a link tag to reference it. +The link to the custom CSS comes after the +link to the default, so it should cascade properly +in most browsers. +If you do not want two link tags, and +instead want your custom CSS to import the default generated +CSS file, then do the following: + + + + + Add a line like the following to your custom CSS source file: + @import url("docbook.css") + + + + Set the docbook.css.link parameter + to zero. This will omit the link tag + that references the default CSS file. + + + +If you set make.clean.html to nonzero but +you do not want the default CSS generated, then also set +the docbook.css.source parameter to blank. +Then no default CSS will be generated, and so +all CSS styles must come from your custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + + + + +generate.css.header +boolean + + +generate.css.header +Insert generated CSS styles in HEAD element + + + + +<xsl:param name="generate.css.header" select="0"></xsl:param> + + + +Description + +The stylesheets are capable of generating both default +and custom CSS stylesheet files. The parameters +make.clean.html, +docbook.css.source, and +custom.css.source control that feature. + +If you require that CSS styles reside in the HTML +HEAD element instead of external CSS files, +then set the generate.css.header +parameter to nonzero (it is zero by default). +Then instead of generating the CSS in external files, +they are wrapped in style elements in +the HEAD element of each HTML output file. + + + + + +XSLT Processing + + +rootid +string + + +rootid +Specify the root element to format + + + + +<xsl:param name="rootid"></xsl:param> + + +Description + +If rootid is not empty, it must be the +value of an ID that occurs in the document being formatted. The entire +document will be loaded and parsed, but formatting will begin at the +element identified, rather than at the root. For example, this allows +you to process only chapter 4 of a book. +Because the entire document is available to the processor, automatic +numbering, cross references, and other dependencies are correctly +resolved. + + + + + + +suppress.navigation +boolean + + +suppress.navigation +Disable header and footer navigation + + + + +<xsl:param name="suppress.navigation" select="0"></xsl:param> + + + +Description + + +If non-zero, header and footer navigation will be suppressed. + + + + + + +suppress.header.navigation +boolean + + +suppress.header.navigation +Disable header navigation + + + + +<xsl:param name="suppress.header.navigation" select="0"></xsl:param> + + + +Description + +If non-zero, header navigation will be suppressed. + + + + + + +suppress.footer.navigation +boolean + + +suppress.footer.navigation +Disable footer navigation + + + +<xsl:param name="suppress.footer.navigation">0</xsl:param> + + +Description + + +If non-zero, footer navigation will be suppressed. + + + + + + +header.rule +boolean + + +header.rule +Rule under headers? + + + + +<xsl:param name="header.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn below the page headers. + + + + + + +footer.rule +boolean + + +footer.rule +Rule over footers? + + + + +<xsl:param name="footer.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn above the page footers. + + + + + + +id.warnings +boolean + + +id.warnings +Should warnings be generated for titled elements without IDs? + + + +<xsl:param name="id.warnings" select="0"></xsl:param> + + +Description +If non-zero, the stylesheet will issue a warning for any element +(other than the root element) which has a title but does not have an +ID. + + + +Meta/*Info and Titlepages + + +inherit.keywords +boolean + + +inherit.keywords +Inherit keywords from ancestor elements? + + + + +<xsl:param name="inherit.keywords" select="1"></xsl:param> + + +Description + +If inherit.keywords +is non-zero, the keyword meta for each HTML +head element will include all of the keywords from +ancestor elements. Otherwise, only the keywords from the current section +will be used. + + + + + + + +make.single.year.ranges +boolean + + +make.single.year.ranges +Print single-year ranges (e.g., 1998-1999) + + + + +<xsl:param name="make.single.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, year ranges that span a single year will be printed +in range notation (1998-1999) instead of discrete notation +(1998, 1999). + + + + + + +make.year.ranges +boolean + + +make.year.ranges +Collate copyright years into ranges? + + + +<xsl:param name="make.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, multiple copyright year elements will be +collated into ranges. +This works only if each year number is put into a separate +year element. The copyright element permits multiple +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. + + + + + + + +author.othername.in.middle +boolean + + +author.othername.in.middle +Is othername in author a +middle name? + + + + +<xsl:param name="author.othername.in.middle" select="1"></xsl:param> + + +Description + +If non-zero, the othername of an author +appears between the firstname and +surname. Otherwise, othername +is suppressed. + + + + + + + +blurb.on.titlepage.enabled +boolean + + +blurb.on.titlepage.enabled +Display personblurb and authorblurb on title pages? + + + + +<xsl:param name="blurb.on.titlepage.enabled" select="0"></xsl:param> + + + +Description + +If non-zero, output from authorblurb and +personblurb elements is displayed on title pages. If zero +(the default), output from those elements is suppressed on title pages +(unless you are using a titlepage customization +that causes them to be included). + + + + + + +contrib.inline.enabled +boolean + + +contrib.inline.enabled +Display contrib output inline? + + + +<xsl:param name="contrib.inline.enabled">1</xsl:param> + + +Description + +If non-zero (the default), output of the contrib element is +displayed as inline content rather than as block content. + + + + + + +editedby.enabled +boolean + + +editedby.enabled +Display “Edited by” heading above editor name? + + + +<xsl:param name="editedby.enabled">1</xsl:param> + + +Description + +If non-zero, a localized Edited +by heading is displayed above editor names in output of the +editor element. + + + + + + +abstract.notitle.enabled +boolean + + +abstract.notitle.enabled +Suppress display of abstract titles? + + + <xsl:param name="abstract.notitle.enabled" select="0"></xsl:param> + +Description +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. + + + + + +othercredit.like.author.enabled +boolean + + +othercredit.like.author.enabled +Display othercredit in same style as author? + + + +<xsl:param name="othercredit.like.author.enabled">0</xsl:param> + + +Description + +If non-zero, output of the +othercredit element on titlepages is displayed in +the same style as author and +editor output. If zero then +othercredit output is displayed using a style +different than that of author and +editor. + + + + + + +generate.legalnotice.link +boolean + + +generate.legalnotice.link +Write legalnotice to separate chunk and generate link? + + + +<xsl:param name="generate.legalnotice.link" select="0"></xsl:param> + + +Description + +If the value of generate.legalnotice.link +is non-zero, the stylesheet: + + + + writes the contents of legalnotice to a separate + HTML file + + + inserts a hyperlink to the legalnotice file + + + adds (in the HTML head) either a single + link or element or multiple + link elements (depending on the value of the + html.head.legalnotice.link.multiple + parameter), with the value or values derived from the + html.head.legalnotice.link.types + parameter + + + + Otherwise, if generate.legalnotice.link is + zero, legalnotice contents are rendered on the title + page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename +processing instruction, that filename is used. + + + If the legalnotice has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename +is the concatenation of the id value and the value of the html.ext +parameter. + + + If the legalnotice does not have an id/xml:id + attribute, or if use.id.as.filename = 0, the filename is the concatenation of "ln-", +auto-generated id value, and html.ext value. + + + + + + + + + + + +generate.revhistory.link +boolean + + +generate.revhistory.link +Write revhistory to separate chunk and generate link? + + + +<xsl:param name="generate.revhistory.link" select="0"></xsl:param> + + +Description + +If non-zero, the contents of revhistory are written +to a separate HTML file and a link to the file is +generated. Otherwise, revhistory contents are rendered on +the title page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename processing instruction, +that filename is used. + + + If the revhistory has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename is the concatenation of +the id value and the value of the html.ext parameter. + + + If the revhistory does not have an id/xml:id +attribute, or if use.id.as.filename = 0, the filename is the concatenation of "rh-", +auto-generated id value, and html.ext value. + + + + + + + + + + + +html.head.legalnotice.link.types +string + + +html.head.legalnotice.link.types +Specifies link types for legalnotice link in html head + + + + +<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param> + + + +Description + +The value of +html.head.legalnotice.link.types is a +space-separated list of link types, as described in Section 6.12 +of the HTML 4.01 specification. If the value of the +generate.legalnotice.link parameter is +non-zero, then the stylesheet generates (in the +head section of the HTML source) either a single +HTML link element or, if the value of the +html.head.legalnotice.link.multiple is +non-zero, one link element for each link type +specified. Each link has the following attributes: + + + + a rel attribute whose + value is derived from the value of + html.head.legalnotice.link.types + + + an href attribute whose + value is set to the URL of the file containing the + legalnotice + + + a title attribute whose + value is set to the title of the corresponding + legalnotice (or a title programatically + determined by the stylesheet) + + + +For example: + + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + +About the default value + + In an ideal world, the default value of + html.head.legalnotice.link.types would + probably be “license”, since the content of the + DocBook legalnotice is typically license + information, not copyright information. However, the default value + is “copyright” for pragmatic reasons: because + that’s among the set of “recognized link types” listed in Section + 6.12 of the HTML 4.01 specification, and because certain + browsers and browser extensions are preconfigured to recognize that + value. + + + + + + + +html.head.legalnotice.link.multiple +boolean + + +html.head.legalnotice.link.multiple +Generate multiple link instances in html head for legalnotice? + + + + +<xsl:param name="html.head.legalnotice.link.multiple" select="1"></xsl:param> + + + +Description + +If html.head.legalnotice.link.multiple is +non-zero and the value of +html.head.legalnotice.link.types contains +multiple link types, then the stylesheet generates (in the +head section of the HTML source) one +link element for each link type specified. For +example, if the value of +html.head.legalnotice.link.types is +“copyright license”: + + <link rel="copyright" href="ln-id2524073.html" title="Legal Notice"> + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + Otherwise, the stylesheet generates generates a single + link instance; for example: + + <link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"> + + + + + +Reference Pages + + +funcsynopsis.decoration +boolean + + +funcsynopsis.decoration +Decorate elements of a funcsynopsis? + + + + +<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param> + + + +Description + +If non-zero, elements of the funcsynopsis will be +decorated (e.g. rendered as bold or italic text). The decoration is controlled by +templates that can be redefined in a customization layer. + + + + + + + +funcsynopsis.style +list +ansi +kr + + +funcsynopsis.style +What style of funcsynopsis should be generated? + + + +<xsl:param name="funcsynopsis.style">kr</xsl:param> + + +Description + +If funcsynopsis.style is ansi, +ANSI-style function synopses are generated for a +funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + + + +function.parens +boolean + + +function.parens +Generate parens after a function? + + + + +<xsl:param name="function.parens" select="0"></xsl:param> + + + +Description + +If non-zero, the formatting of a function element +will include generated parentheses. + + + + + + + +refentry.generate.name +boolean + + +refentry.generate.name +Output NAME header before refnames? + + + + +<xsl:param name="refentry.generate.name" select="1"></xsl:param> + + + +Description + +If non-zero, a "NAME" section title is output before the list +of refnames. This parameter and +refentry.generate.title are mutually +exclusive. This means that if you change this parameter to zero, you +should set refentry.generate.title to non-zero unless +you want get quite strange output. + + + + + + + +refentry.generate.title +boolean + + +refentry.generate.title +Output title before refnames? + + + + +<xsl:param name="refentry.generate.title" select="0"></xsl:param> + + + +Description + +If non-zero, the reference page title or first name is +output before the list of refnames. This parameter and +refentry.generate.name are mutually exclusive. +This means that if you change this parameter to non-zero, you +should set refentry.generate.name to zero unless +you want get quite strange output. + + + + + + + +refentry.xref.manvolnum +boolean + + +refentry.xref.manvolnum +Output manvolnum as part of +refentry cross-reference? + + + + +<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param> + + + +Description + +if non-zero, the manvolnum is used when cross-referencing +refentrys, either with xref +or citerefentry. + + + + + + + +citerefentry.link +boolean + + +citerefentry.link +Generate URL links when cross-referencing RefEntrys? + + + + +<xsl:param name="citerefentry.link" select="0"></xsl:param> + + +Description + +If non-zero, a web link will be generated, presumably +to an online man->HTML gateway. The text of the link is +generated by the generate.citerefentry.link template. + + + + + + + +refentry.separator +boolean + + +refentry.separator +Generate a separator between consecutive RefEntry elements? + + + + +<xsl:param name="refentry.separator" select="1"></xsl:param> + + + +Description + +If true, a separator will be generated between consecutive +reference pages. + + + + + + + +refclass.suppress +boolean + + +refclass.suppress +Suppress display of refclass contents? + + + + +<xsl:param name="refclass.suppress" select="0"></xsl:param> + + +Description + +If the value of refclass.suppress is +non-zero, then display of refclass contents is +suppressed in output. + + + + +Tables + + +default.table.width +length + + +default.table.width +The default width of tables + + + +<xsl:param name="default.table.width"></xsl:param> + + +Description +If non-zero, this value will be used for the +width attribute on tables that do not specify an +alternate width (with the dbhtml table-width or +dbfo table-width processing instruction). + + + + + +nominal.table.width +length + + +nominal.table.width +The (absolute) nominal width of tables + + + + +<xsl:param name="nominal.table.width">6in</xsl:param> + + + +Description + +In order to convert CALS column widths into HTML column widths, it +is sometimes necessary to have an absolute table width to use for conversion +of mixed absolute and relative widths. This value must be an absolute +length (not a percentage). + + + + + + +table.borders.with.css +boolean + + +table.borders.with.css +Use CSS to specify table, row, and cell borders? + + + + +<xsl:param name="table.borders.with.css" select="0"></xsl:param> + + + +Description + +If non-zero, CSS will be used to draw table borders. + + + + + + + +table.cell.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.cell.border.style +Specifies the border style of table cells + + + + +<xsl:param name="table.cell.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table cells. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.thickness +length + + +table.cell.border.thickness +Specifies the thickness of table cell borders + + + + +<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param> + + + +Description + +If non-zero, specifies the thickness of borders on table +cells. The units are points. See +CSS + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.color +color + + +table.cell.border.color +Specifies the border color of table cells + + + + +<xsl:param name="table.cell.border.color"></xsl:param> + + + + +Description + +Set the color of table cell borders. If non-zero, the value is used +for the border coloration. See CSS. A +color is either a keyword or a numerical RGB specification. +Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, +navy, olive, orange, purple, red, silver, teal, white, and +yellow. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.frame.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.frame.border.style +Specifies the border style of table frames + + + + +<xsl:param name="table.frame.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table frames. + + + + + + +table.frame.border.thickness +length + + +table.frame.border.thickness +Specifies the thickness of the frame border + + + + +<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param> + + + +Description + +Specifies the thickness of the border on the table's frame. + + + + + + +table.frame.border.color +color + + +table.frame.border.color +Specifies the border color of table frames + + + + +<xsl:param name="table.frame.border.color"></xsl:param> + + + + +Description + +Specifies the border color of table frames. + + + + + + +default.table.frame +string + + +default.table.frame +The default framing of tables + + + + +<xsl:param name="default.table.frame">all</xsl:param> + + + +Description + +This value will be used when there is no frame attribute on the +table. + + + + + + +html.cellspacing +integer + + +html.cellspacing +Default value for cellspacing in HTML tables + + + + +<xsl:param name="html.cellspacing"></xsl:param> + + + +Description + +If non-zero, this value will be used as the default cellspacing +value in HTML tables. nn for pixels or nn% for percentage +length. E.g. 5 or 5% + + + + + + +html.cellpadding +integer + + +html.cellpadding +Default value for cellpadding in HTML tables + + + + +<xsl:param name="html.cellpadding"></xsl:param> + + + +Description + +If non-zero, this value will be used as the default cellpadding value +in HTML tables. nn for pixels or nn% for percentage length. E.g. 5 or +5% + + + + +QAndASet + + +qanda.defaultlabel +list +number +qanda +none + + +qanda.defaultlabel +Sets the default for defaultlabel on QandASet. + + + + +<xsl:param name="qanda.defaultlabel">number</xsl:param> + + + +Description + +If no defaultlabel attribute is specified on +a qandaset, this value is used. It is generally one of the legal +values for the defaultlabel attribute (none, +number or +qanda), or one of the additional stylesheet-specific values +(qnumber or qnumberanda). +The default value is 'number'. + +The values are rendered as follows: + +qanda + +questions are labeled "Q:" and +answers are labeled "A:". + + + +number + +The questions are enumerated and the answers +are not labeled. + + + +qnumber + +The questions are labeled "Q:" followed by a number, and answers are not +labeled. +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +qnumberanda + +The questions are labeled "Q:" followed by a number, and +the answers are labeled "A:". +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +none + +No distinguishing label precedes Questions or Answers. + + + + + + + + + + +qanda.inherit.numeration +boolean + + +qanda.inherit.numeration +Does enumeration of QandASet components inherit the numeration of parent elements? + + + + +<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param> + + + +Description + +If non-zero, numbered qandadiv elements and +question and answer inherit the enumeration of +the ancestors of the qandaset. + + + + + + + +qanda.in.toc +boolean + + +qanda.in.toc +Should qandaentry questions appear in +the document table of contents? + + + +<xsl:param name="qanda.in.toc" select="0"></xsl:param> + + +Description + +If true (non-zero), then the generated table of contents +for a document will include qandaset titles, +qandadiv titles, +and question elements. The default value (zero) excludes +them from the TOC. + +This parameter does not affect any tables of contents +that may be generated inside a qandaset or qandadiv. + + + + + + + +qanda.nested.in.toc +boolean + + +qanda.nested.in.toc +Should nested answer/qandaentry instances appear in TOC? + + + + +<xsl:param name="qanda.nested.in.toc" select="0"></xsl:param> + + + +Description + +If non-zero, instances of qandaentry +that are children of answer elements are shown in +the TOC. + + + + +Linking + + +target.database.document +uri + + +target.database.document +Name of master database file for resolving +olinks + + + + <xsl:param name="target.database.document">olinkdb.xml</xsl:param> + + +Description + + +To resolve olinks between documents, the stylesheets use a master +database document that identifies the target datafiles for all the +documents within the scope of the olinks. This parameter value is the +URI of the master document to be read during processing to resolve +olinks. The default value is olinkdb.xml. + +The data structure of the file is defined in the +targetdatabase.dtd DTD. The database file +provides the high level elements to record the identifiers, locations, +and relationships of documents. The cross reference data for +individual documents is generally pulled into the database using +system entity references or XIncludes. See also +targets.filename. + + + + +targets.filename +string + + +targets.filename +Name of cross reference targets data file + + +<xsl:param name="targets.filename">target.db</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter lets you change the name of the generated +file from the default name target.db. +The name must agree with that used in the target database +used to resolve olinks during processing. +See also target.database.document. + + + + + + +olink.base.uri +uri + + +olink.base.uri +Base URI used in olink hrefs + + +<xsl:param name="olink.base.uri"></xsl:param> + + +Description + +When cross reference data is collected for resolving olinks, it +may be necessary to prepend a base URI to each target's href. This +parameter lets you set that base URI when cross reference data is +collected. This feature is needed when you want to link to a document +that is processed without chunking. The output filename for such a +document is not known to the XSL stylesheet; the only target +information consists of fragment identifiers such as +#idref. To enable the resolution of olinks between +documents, you should pass the name of the HTML output file as the +value of this parameter. Then the hrefs recorded in the cross +reference data collection look like +outfile.html#idref, which can be reached as links +from other documents. + + + + + +use.local.olink.style +boolean + + +use.local.olink.style +Process olinks using xref style of current +document + + +<xsl:param name="use.local.olink.style" select="0"></xsl:param> + +Description + +When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same. + + + + + +current.docid +string + + +current.docid +targetdoc identifier for the document being +processed + + +<xsl:param name="current.docid"></xsl:param> + + +Description + +When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet +the targetdoc identifier of the current document, since that +identifier does not appear in the document itself. +This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature. + + + + + +olink.doctitle +list +no +yes +maybe + + +olink.doctitle +show the document title for external olinks? + + + +<xsl:param name="olink.doctitle">no</xsl:param> + + +Description + +When olinks between documents are resolved, the generated text +may not make it clear that the reference is to another document. +It is possible for the stylesheets to append the other document's +title to external olinks. For this to happen, two parameters must +be set. + + +This olink.doctitle parameter +should be set to either yes or maybe +to enable this feature. + + + +And you should also set the current.docid +parameter to the document id for the document currently +being processed for output. + + + + + +Then if an olink's targetdoc id differs from +the current.docid value, the stylesheet knows +that it is a reference to another document and can +append the target document's +title to the generated olink text. + +The text for the target document's title is copied from the +olink database from the ttl element +of the top-level div for that document. +If that ttl element is missing or empty, +no title is output. + + +The supported values for olink.doctitle are: + + + +yes + + +Always insert the title to the target document if it is not +the current document. + + + + +no + + +Never insert the title to the target document, even if requested +in an xrefstyle attribute. + + + + +maybe + + +Only insert the title to the target document, if requested +in an xrefstyle attribute. + + + + +An xrefstyle attribute +may override the global setting for individual olinks. +The following values are supported in an +xrefstyle +attribute using the select: syntax: + + + + +docname + + +Insert the target document name for this olink using the +docname gentext template, but only +if the value of olink.doctitle +is not no. + + + + +docnamelong + + +Insert the target document name for this olink using the +docnamelong gentext template, but only +if the value of olink.doctitle +is not no. + + + + +nodocname + + +Omit the target document name even if +the value of olink.doctitle +is yes. + + + + +Another way of inserting the target document name +for a single olink is to employ an +xrefstyle +attribute using the template: syntax. +The %o placeholder (the letter o, not zero) +in such a template +will be filled in with the target document's title when it is processed. +This will occur regardless of +the value of olink.doctitle. + +Note that prior to version 1.66 of the XSL stylesheets, +the allowed values for this parameter were 0 and 1. Those +values are still supported and mapped to 'no' and 'yes', respectively. + + + + + + +activate.external.olinks +boolean + + +activate.external.olinks +Make external olinks into active links + + + + +<xsl:param name="activate.external.olinks" select="1"></xsl:param> + + + +Description + +If activate.external.olinks is nonzero +(the default), then any olinks that reference another document +become active links that can be clicked on to follow the link. +If the parameter is set to zero, then external olinks +will have the appropriate link text generated, but the link is +not made active. Olinks to destinations in +the current document remain active. + +To make an external olink active for HTML +outputs, the link text is wrapped in an a +element with an href attribute. To +make an external olink active for FO outputs, the link text is +wrapped in an fo:basic-link element with an +external-destination attribute. + +This parameter is useful when you need external olinks +to resolve but not be clickable. For example, if documents +in a collection are available independently of each other, +then having active links between them could lead to +unresolved links when a given target document is missing. + +The epub stylesheets set this parameter to zero by default +because there is no standard linking mechanism between Epub documents. + +If external links are made inactive, you should +consider setting the +stylesheet parameter olink.doctitle +to yes. That will append the external document's +title to the link text, making it easier for the user to +locate the other document. + +An olink is considered external when the +current.docid stylesheet parameter +is set to some value, and the olink's targetdoc +attribute has a different value. If the two values +match, then the link is considered internal. If the +current.docid parameter is blank, or +the olink element does not have a targetdoc attribute, +then the link is considered to be internal and will become +an active link. + +See also olink.doctitle, +prefer.internal.olink. + + + + + + +olink.debug +boolean + + +olink.debug +Turn on debugging messages for olinks + + + + +<xsl:param name="olink.debug" select="0"></xsl:param> + + + +Description + +If non-zero, then each olink will generate several +messages about how it is being resolved during processing. +This is useful when an olink does not resolve properly +and the standard error messages are not sufficient to +find the problem. + + +You may need to read through the olink XSL templates +to understand the context for some of the debug messages. + + + + + + + +olink.properties +attribute set + + +olink.properties +Properties associated with the cross-reference +text of an olink. + + + + +<xsl:attribute-set name="olink.properties"> + <xsl:attribute name="show-destination">replace</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the +fo:basic-link element of an olink. It is not applied to the +optional page number or optional title of the external +document. + + + + + + +olink.lang.fallback.sequence +string + + +olink.lang.fallback.sequence +look up translated documents if olink not found? + + + +<xsl:param name="olink.lang.fallback.sequence"></xsl:param> + + +Description + + +This parameter defines a list of lang values +to search among to resolve olinks. + + +Normally an olink tries to resolve to a document in the same +language as the olink itself. The language of an olink +is determined by its nearest ancestor element with a +lang attribute, otherwise the +value of the l10n.gentext.default.lang +parameter. + + +An olink database can contain target data for the same +document in multiple languages. Each set of data has the +same value for the targetdoc attribute in +the document element in the database, but with a +different lang attribute value. + + +When an olink is being resolved, the target is first +sought in the document with the same language as the olink. +If no match is found there, then this parameter is consulted +for additional languages to try. + +The olink.lang.fallback.sequence +must be a whitespace separated list of lang values to +try. The first one with a match in the olink database is used. +The default value is empty. + +For example, a document might be written in German +and contain an olink with +targetdoc="adminguide". +When the document is processed, the processor +first looks for a target dataset in the +olink database starting with: + +<document targetdoc="adminguide" lang="de">. + + +If there is no such element, then the +olink.lang.fallback.sequence +parameter is consulted. +If its value is, for example, fr en, then the processor next +looks for targetdoc="adminguide" lang="fr", and +then for targetdoc="adminguide" lang="en". +If there is still no match, it looks for +targetdoc="adminguide" with no +lang attribute. + + +This parameter is useful when a set of documents is only +partially translated, or is in the process of being translated. +If a target of an olink has not yet been translated, then this +parameter permits the processor to look for the document in +other languages. This assumes the reader would rather have +a link to a document in a different language than to have +a broken link. + + + + + + + +insert.olink.page.number +list +no +yes +maybe + + +insert.olink.page.number +Turns page numbers in olinks on and off + + + + +<xsl:param name="insert.olink.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references made between documents with +olink will +include page number citations. +In most cases this is only applicable to references in printed output. + +The parameter has three possible values. + + + +no +No page number references will be generated for olinks. + + + +yes +Page number references will be generated +for all olink references. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an olink element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + +Olinks that point to targets within the same document +are treated as xrefs, and controlled by +the insert.xref.page.number parameter. + + +Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(div or obj) +must have a page attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. + + + + + + + + + +insert.olink.pdf.frag +boolean + + +insert.olink.pdf.frag +Add fragment identifiers for links into PDF files + + + + +<xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param> + + + +Description + +The value of this parameter determines whether +the cross reference URIs to PDF documents made with +olink will +include fragment identifiers. + + +When forming a URI to link to a PDF document, +a fragment identifier (typically a '#' followed by an +id value) appended to the PDF filename can be used by +the PDF viewer to open +the PDF file to a location within the document instead of +the first page. +However, not all PDF files have id +values embedded in them, and not all PDF viewers can +handle fragment identifiers. + + +If insert.olink.pdf.frag is set +to a non-zero value, then any olink targeting a +PDF file will have the fragment identifier appended to the URI. +The URI is formed by concatenating the value of the +olink.base.uri parameter, the +value of the baseuri +attribute from the document +element in the olink database with the matching +targetdoc value, +and the value of the href +attribute for the targeted element in the olink database. +The href attribute +contains the fragment identifier. + + +If insert.olink.pdf.frag is set +to zero (the default value), then +the href attribute +from the olink database +is not appended to PDF olinks, so the fragment identifier is left off. +A PDF olink is any olink for which the +baseuri attribute +from the matching document +element in the olink database ends with '.pdf'. +Any other olinks will still have the fragment identifier added. + + + + + + +prefer.internal.olink +boolean + + +prefer.internal.olink +Prefer a local olink reference to an external reference + + + + +<xsl:param name="prefer.internal.olink" select="0"></xsl:param> + + + +Description + +If you are re-using XML content modules in multiple documents, +you may want to redirect some of your olinks. This parameter +permits you to redirect an olink to the current document. + + +For example: you are writing documentation for a product, +which includes 3 manuals: a little installation +booklet (booklet.xml), a user +guide (user.xml), and a reference manual (reference.xml). +All 3 documents begin with the same introduction section (intro.xml) that +contains a reference to the customization section (custom.xml) which is +included in both user.xml and reference.xml documents. + + +How do you write the link to custom.xml in intro.xml +so that it is interpreted correctly in all 3 documents? + +If you use xref, it will fail in user.xml. + +If you use olink (pointing to reference.xml), +the reference in user.xml +will point to the customization section of the reference manual, while it is +actually available in user.xml. + + + +If you set the prefer.internal.olink +parameter to a non-zero value, then the processor will +first look in the olink database +for the olink's targetptr attribute value +in document matching the current.docid +parameter value. If it isn't found there, then +it tries the document in the database +with the targetdoc +value that matches the olink's targetdoc +attribute. + + +This feature permits an olink reference to resolve to +the current document if there is an element +with an id matching the olink's targetptr +value. The current document's olink data must be +included in the target database for this to work. + + +There is a potential for incorrect links if +the same id attribute value is used for different +content in different documents. +Some of your olinks may be redirected to the current document +when they shouldn't be. It is not possible to control +individual olink instances. + + + + + + + +link.mailto.url +string + + +link.mailto.url +Mailto URL for the LINK REL=made HTML HEAD element + + + + +<xsl:param name="link.mailto.url"></xsl:param> + + + +Description + +If not the empty string, this address will be used for the +rel=made link element in the html head + + + + + + + +ulink.target +string + + +ulink.target +The HTML anchor target for ULinks + + + + +<xsl:param name="ulink.target">_top</xsl:param> + + + +Description + +If ulink.target is non-zero, its value will +be used for the target attribute +on anchors generated for ulinks. + + + + +Cross References + + +collect.xref.targets +list +no +yes +only + + +collect.xref.targets +Controls whether cross reference data is +collected + + +<xsl:param name="collect.xref.targets">no</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. +See also targets.filename. + + + + + + +insert.xref.page.number +list +no +yes +maybe + + +insert.xref.page.number +Turns page numbers in xrefs on and off + + + + +<xsl:param name="insert.xref.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references (xrefs) in +printed output will +include page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all xref elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an xref element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + + + + + + +use.role.as.xrefstyle +boolean + + +use.role.as.xrefstyle +Use role attribute for +xrefstyle on xref? + + + + +<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param> + + + +Description + +In DocBook documents that conform to a schema older than V4.3, this parameter allows +role to serve the purpose of specifying the cross reference style. + +If non-zero, the role attribute on +xref will be used to select the cross reference style. +In DocBook V4.3, the xrefstyle attribute was added for this purpose. +If the xrefstyle attribute is present, +role will be ignored, regardless of the setting +of this parameter. + + + +Example + +The following small stylesheet shows how to configure the +stylesheets to make use of the cross reference style: + +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../xsl/html/docbook.xsl"/> + +<xsl:output method="html"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:context name="xref"> + <l:template name="chapter" style="title" text="Chapter %n, %t"/> + <l:template name="chapter" text="Chapter %n"/> + </l:context> + </l:l10n> +</l:i18n> + +</xsl:stylesheet> + +With this stylesheet, the cross references in the following document: + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<book id="book"><title>Book</title> + +<preface> +<title>Preface</title> + +<para>Normal: <xref linkend="ch1"/>.</para> +<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para> + +</preface> + +<chapter id="ch1"> +<title>First Chapter</title> + +<para>Irrelevant.</para> + +</chapter> +</book> + +will appear as: + + +Normal: Chapter 1. +Title: Chapter 1, First Chapter. + + + + + + + +xref.with.number.and.title +boolean + + +xref.with.number.and.title +Use number and title in cross references + + + + +<xsl:param name="xref.with.number.and.title" select="1"></xsl:param> + + + +Description + +A cross reference may include the number (for example, the number of +an example or figure) and the title which is a required child of some +targets. This parameter inserts both the relevant number as well as +the title into the link. + + + + + + +xref.label-page.separator +string + + +xref.label-page.separator +Punctuation or space separating label from page number in xref + + + +<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and page +but no title, +then the value of this parameter is inserted between +label and page number in the output. +If a title is included, then other separators are used. + + + + + + + +xref.label-title.separator +string + + +xref.label-title.separator +Punctuation or space separating label from title in xref + + + +<xsl:param name="xref.label-title.separator">: </xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and title, +then the value of this parameter is inserted between +label and title in the output. + + + + + + + +xref.title-page.separator +string + + +xref.title-page.separator +Punctuation or space separating title from page number in xref + + + +<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both title and page number, +then the value of this parameter is inserted between +title and page number in the output. + + + + + +Lists + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + +<xsl:param name="segmentedlist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + + + + +variablelist.as.table +boolean + + +variablelist.as.table +Format variablelists as tables? + + + + +<xsl:param name="variablelist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, variablelists will be formatted as +tables. A processing instruction exists to specify a particular width for the +column containing the terms: +dbhtml term-width=".25in" + +You can override this setting with a processing instruction as the +child of variablelist: dbhtml +list-presentation="table" or dbhtml +list-presentation="list". + +This parameter only applies to the HTML transformations. In the +FO case, proper list markup is robust enough to handle the formatting. +But see also variablelist.as.blocks. + + <variablelist> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a table even if variablelist.as.table is set to 0. + </para> + </listitem> + </varlistentry> + </variablelist> + + + + + + +variablelist.term.separator +string + + +variablelist.term.separator +Text to separate terms within a multi-term +varlistentry + + + + +<xsl:param name="variablelist.term.separator">, </xsl:param> + + +Description + +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is placed +after each term except the last. + + + To generate a line break between multiple terms in + a varlistentry, set a non-zero value for the + variablelist.term.break.after parameter. If + you do so, you may also want to set the value of the + variablelist.term.separator parameter to an + empty string (to suppress rendering of the default comma and space + after each term). + + + + + + + +variablelist.term.break.after +boolean + + +variablelist.term.break.after +Generate line break after each term within a +multi-term varlistentry? + + + + +<xsl:param name="variablelist.term.break.after">0</xsl:param> + + +Description + +Set a non-zero value for the +variablelist.term.break.after parameter to +generate a line break between terms in a +multi-term varlistentry. + + +If you set a non-zero value for +variablelist.term.break.after, you may also +want to set the value of the +variablelist.term.separator parameter to an +empty string (to suppress rendering of the default comma and space +after each term). + + + + + +Bibliography + + +bibliography.style +list +normal +iso690 + + +bibliography.style +Style used for formatting of biblioentries. + + + + +<xsl:param name="bibliography.style">normal</xsl:param> + + + +Description + +Currently only normal and +iso690 styles are supported. + +In order to use ISO690 style to the full extent you might need +to use additional markup described on the +following WiKi page. + + + + + + +biblioentry.item.separator +string + + +biblioentry.item.separator +Text to separate bibliography entries + + + +<xsl:param name="biblioentry.item.separator">. </xsl:param> + + +Description + +Text to separate bibliography entries + + + + + + + +bibliography.collection +string + + +bibliography.collection +Name of the bibliography collection file + + + + +<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param> + + + + +Description + +Maintaining bibliography entries across a set of documents is tedious, time +consuming, and error prone. It makes much more sense, usually, to store all of +the bibliography entries in a single place and simply extract +the ones you need in each document. + +That's the purpose of the +bibliography.collection parameter. To setup a global +bibliography database, follow these steps: + +First, create a stand-alone bibliography document that contains all of +the documents that you wish to reference. Make sure that each bibliography +entry (whether you use biblioentry or bibliomixed) +has an ID. + +My global bibliography, ~/bibliography.xml begins +like this: + + +<!DOCTYPE bibliography + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<bibliography><title>References</title> + +<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, +Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup +Language (XML) 1.0 Second Edition</ulink></citetitle>. +World Wide Web Consortium, 2000. +</bibliomixed> + +<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, +Dave Hollander, +and Andrew Layman, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in +XML</ulink></citetitle>. +World Wide Web Consortium, 1999. +</bibliomixed> + +<!-- ... --> +</bibliography> + + + +When you create a bibliography in your document, simply +provide empty bibliomixed +entries for each document that you wish to cite. Make sure that these +elements have the same ID as the corresponding real +entry in your global bibliography. + +For example: + + +<bibliography><title>Bibliography</title> + +<bibliomixed id="xml-rec"/> +<bibliomixed id="xml-names"/> +<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and +Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, +1986. ISBN 0-201-13437-3. +</bibliomixed> +<bibliomixed id="relaxng"/> + +</bibliography> + + +Note that it's perfectly acceptable to mix entries from your +global bibliography with normal entries. You can use +xref or other elements to cross-reference your +bibliography entries in exactly the same way you do now. + +Finally, when you are ready to format your document, simply set the +bibliography.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global bibliography. + +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the bibliography in your document as if +all of the entries referenced appeared there literally. + + + + + + +bibliography.numbered +boolean + + +bibliography.numbered +Should bibliography entries be numbered? + + + + +<xsl:param name="bibliography.numbered" select="0"></xsl:param> + + + +Description + +If non-zero bibliography entries will be numbered + + + + +Glossary + + +glossterm.auto.link +boolean + + +glossterm.auto.link +Generate links from glossterm to glossentry automatically? + + + + +<xsl:param name="glossterm.auto.link" select="0"></xsl:param> + + + +Description + +If non-zero, links from inline glossterms to the corresponding +glossentry elements in a glossary or glosslist +will be automatically generated. This is useful when your glossterms are consistent +and you don't want to add links manually. + +The automatic link generation feature is not used on glossterm elements +that have a linkend attribute. + + + + + + +firstterm.only.link +boolean + + +firstterm.only.link +Does automatic glossterm linking only apply to firstterms? + + + + +<xsl:param name="firstterm.only.link" select="0"></xsl:param> + + + +Description + +If non-zero, only firstterms will be automatically linked +to the glossary. If glossary linking is not enabled, this parameter +has no effect. + + + + + + +glossary.collection +string + + +glossary.collection +Name of the glossary collection file + + + + +<xsl:param name="glossary.collection"></xsl:param> + + + +Description + +Glossaries maintained independently across a set of documents +are likely to become inconsistent unless considerable effort is +expended to keep them in sync. It makes much more sense, usually, to +store all of the glossary entries in a single place and simply +extract the ones you need in each document. + +That's the purpose of the +glossary.collection parameter. To setup a global +glossary database, follow these steps: + +Setting Up the Glossary Database + +First, create a stand-alone glossary document that contains all of +the entries that you wish to reference. Make sure that each glossary +entry has an ID. + +Here's an example glossary: + + + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glossary + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<glossary> +<glossaryinfo> +<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> +<title>Jargon File 4.2.3 (abridged)</title> +<releaseinfo>Just some test data</releaseinfo> +</glossaryinfo> + +<glossdiv><title>0</title> + +<glossentry> +<glossterm>0</glossterm> +<glossdef> +<para>Numeric zero, as opposed to the letter `O' (the 15th letter of +the English alphabet). In their unmodified forms they look a lot +alike, and various kluges invented to make them visually distinct have +compounded the confusion. If your zero is center-dotted and letter-O +is not, or if letter-O looks almost rectangular but zero looks more +like an American football stood on end (or the reverse), you're +probably looking at a modern character display (though the dotted zero +seems to have originated as an option on IBM 3270 controllers). If +your zero is slashed but letter-O is not, you're probably looking at +an old-style ASCII graphic set descended from the default typewheel on +the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, +curse this arrangement). (Interestingly, the slashed zero long +predates computers; Florian Cajori's monumental "A History of +Mathematical Notations" notes that it was used in the twelfth and +thirteenth centuries.) If letter-O has a slash across it and the zero +does not, your display is tuned for a very old convention used at IBM +and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> +arrangement even more, because it means two of their letters collide). +Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> +slash. Old CDC computers rendered letter O as an unbroken oval and 0 +as an oval broken at upper right and lower left. And yet another +convention common on early line printers left zero unornamented but +added a tail or hook to the letter-O so that it resembled an inverted +Q or cursive capital letter-O (this was endorsed by a draft ANSI +standard for how to draw ASCII characters, but the final standard +changed the distinguisher to a tick-mark in the upper-left corner). +Are we sufficiently confused yet?</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm>1TBS</glossterm> +<glossdef> +<para role="accidence"> +<phrase role="pronounce"></phrase> +<phrase role="partsofspeach">n</phrase> +</para> +<para>The "One True Brace Style"</para> +<glossseealso>indent style</glossseealso> +</glossdef> +</glossentry> + +<!-- ... --> + +</glossdiv> + +<!-- ... --> + +</glossary> + + + + +Marking Up Glossary Terms + +That takes care of the glossary database, now you have to get the entries +into your document. Unlike bibliography entries, which can be empty, creating +placeholder glossary entries would be very tedious. So instead, +support for glossary.collection relies on implicit linking. + +In your source document, simply use firstterm and +glossterm to identify the terms you wish to have included +in the glossary. The stylesheets assume that you will either set the +baseform attribute correctly, or that the +content of the element exactly matches a term in your glossary. + +If you're using a glossary.collection, don't +make explicit links on the terms in your document. + +So, in your document, you might write things like this: + + +<para>This is dummy text, without any real meaning. +The point is simply to reference glossary terms like <glossterm>0</glossterm> +and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. +The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly +religious issue.</para> + + +If you set the firstterm.only.link parameter, +only the terms marked with firstterm will be links. +Otherwise, all the terms will be linked. + + + +Marking Up the Glossary + +The glossary itself has to be identified for the stylesheets. For lack +of a better choice, the role is used. +To identify the glossary as the target for automatic processing, set +the role to auto. The title of this +glossary (and any other information from the glossaryinfo +that's rendered by your stylesheet) will be displayed, but the entries will +come from the database. + + +Unfortunately, the glossary can't be empty, so you must put in +at least one glossentry. The content of this entry +is irrelevant, it will not be rendered: + + +<glossary role="auto"> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + +What about glossary divisions? If your glossary database has glossary +divisions and your automatic glossary contains at least +one glossdiv, the automic glossary will have divisions. +If the glossdiv is missing from either location, no divisions +will be rendered. + +Glossary entries (and divisions, if appropriate) in the glossary will +occur in precisely the order they occur in your database. + + + +Formatting the Document + +Finally, when you are ready to format your document, simply set the +glossary.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global glossary. + +A relative path in the parameter is interpreted in one +of two ways: + + + If the parameter glossterm.auto.link + is set to zero, then the path is relative to the file containing + the empty glossary element in the document. + + + If the parameter glossterm.auto.link + is set to non-zero, then the path is relative to the file containing + the first inline glossterm or + firstterm in the document to be linked. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the glossary in your document as if +all of the entries implicilty referenced appeared there literally. + + +Limitations + +Glossary cross-references within the glossary are +not supported. For example, this will not work: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + +If you put glossary cross-references in your glossary that way, +you'll get the cryptic error: Warning: +glossary.collection specified, but there are 0 automatic +glossaries. + +Instead, you must do two things: + + + +Markup your glossary using glossseealso: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + + + +Make sure there is at least one glossterm reference to +gloss-2 in your document. The +easiest way to do that is probably within a remark in your +automatic glossary: + + +<glossary role="auto"> +<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + + + + + + + + + +glossary.sort +boolean + + +glossary.sort +Sort glossentry elements? + + + + +<xsl:param name="glossary.sort" select="0"></xsl:param> + + + +Description + +If non-zero, then the glossentry elements within a +glossary, glossdiv, or glosslist are sorted on the glossterm, using +the current lang setting. If zero (the default), then +glossentry elements are not sorted and are presented +in document order. + + + + + + + +glossentry.show.acronym +list +no +yes +primary + + +glossentry.show.acronym +Display glossentry acronyms? + + + + +<xsl:param name="glossentry.show.acronym">no</xsl:param> + + + +Description + +A setting of yes means they should be displayed; +no means they shouldn't. If primary is used, +then they are shown as the primary text for the entry. + + +This setting controls both acronym and +abbrev elements in the glossentry. + + + + + +Miscellaneous + + +formal.procedures +boolean + + +formal.procedures +Selects formal or informal procedures + + + + +<xsl:param name="formal.procedures" select="1"></xsl:param> + + + +Description + +Formal procedures are numbered and always have a title. + + + + + + + +formal.title.placement +table + + +formal.title.placement +Specifies where formal object titles should occur + + + + +<xsl:param name="formal.title.placement"> +figure before +example before +equation before +table before +procedure before +task before +</xsl:param> + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + + + + +runinhead.default.title.end.punct +string + + +runinhead.default.title.end.punct +Default punctuation character on a run-in-head + + + +<xsl:param name="runinhead.default.title.end.punct">.</xsl:param> + + + +Description + +If non-zero, For a formalpara, use the specified +string as the separator between the title and following text. The period is the default value. + + + + + + +runinhead.title.end.punct +string + + +runinhead.title.end.punct +Characters that count as punctuation on a run-in-head + + + + +<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param> + + + +Description + +Specify which characters are to be counted as punctuation. These +characters are checked for a match with the last character of the +title. If no match is found, the +runinhead.default.title.end.punct contents are +inserted. This is to avoid duplicated punctuation in the output. + + + + + + + +show.comments +boolean + + +show.comments +Display remark elements? + + + + +<xsl:param name="show.comments" select="1"></xsl:param> + + + +Description + +If non-zero, comments will be displayed, otherwise they +are suppressed. Comments here refers to the remark element +(which was called comment prior to DocBook +4.0), not XML comments (<-- like this -->) which are +unavailable. + + + + + + + +show.revisionflag +boolean + + +show.revisionflag +Enable decoration of elements that have a revisionflag + + + + +<xsl:param name="show.revisionflag" select="0"></xsl:param> + + + +Description + + +If show.revisionflag is turned on, then the stylesheets +may produce additional markup designed to allow a CSS stylesheet to +highlight elements that have specific revisionflag settings. + +The markup inserted will be usually be either a <span> or +<div> with an appropriate class +attribute. (The value of the class attribute will be the same as the +value of the revisionflag attribute). In some contexts, for example +tables, where extra markup would be structurally illegal, the class +attribute will be added to the appropriate container element. + +In general, the stylesheets only test for revisionflag in contexts +where an importing stylesheet would have to redefine whole templates. +Most of the revisionflag processing is expected to be done by another +stylesheet, for example changebars.xsl. + + + + + + +shade.verbatim +boolean + + +shade.verbatim +Should verbatim environments be shaded? + + + +<xsl:param name="shade.verbatim" select="0"></xsl:param> + + +Description + +In the FO stylesheet, if this parameter is non-zero then the +shade.verbatim.style properties will be applied +to verbatim environments. + +In the HTML stylesheet, this parameter is now deprecated. Use +CSS instead. + + + + + + +shade.verbatim.style +attribute set + + +shade.verbatim.style +Properties that specify the style of shaded verbatim listings + + + + +<xsl:attribute-set name="shade.verbatim.style"> + <xsl:attribute name="border">0</xsl:attribute> + <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute> +</xsl:attribute-set> + + + + +Description + +Properties that specify the style of shaded verbatim listings. The +parameters specified (the border and background color) are added to +the styling of the xsl-fo output. A border might be specified as "thin +black solid" for example. See xsl-fo + + + + + + +punct.honorific +string + + +punct.honorific +Punctuation after an honorific in a personal name. + + + + +<xsl:param name="punct.honorific">.</xsl:param> + + + +Description + +This parameter specifies the punctuation that should be added after an +honorific in a personal name. + + + + + + +tex.math.in.alt +list +plain +latex + + +tex.math.in.alt +TeX notation used for equations + + + + +<xsl:param name="tex.math.in.alt"></xsl:param> + + + +Description + +If you want type math directly in TeX notation in equations, +this parameter specifies notation used. Currently are supported two +values -- plain and latex. Empty +value means that you are not using TeX math at all. + +Preferred way for including TeX alternative of math is inside of +textobject element. Eg.: + +<inlineequation> +<inlinemediaobject> +<imageobject> +<imagedata fileref="eq1.gif"/> +</imageobject> +<textobject><phrase>E=mc squared</phrase></textobject> +<textobject role="tex"><phrase>E=mc^2</phrase></textobject> +</inlinemediaobject> +</inlineequation> + +If you are using graphic element, you can +store TeX inside alt element: + +<inlineequation> +<alt role="tex">a^2+b^2=c^2</alt> +<graphic fileref="a2b2c2.gif"/> +</inlineequation> + +If you want use this feature, you should process your FO with +PassiveTeX, which only supports TeX math notation. When calling +stylsheet, don't forget to specify also +passivetex.extensions=1. + +If you want equations in HTML, just process generated file +tex-math-equations.tex by TeX or LaTeX. Then run +dvi2bitmap program on result DVI file. You will get images for +equations in your document. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + +Related Parameters + tex.math.delims, + passivetex.extensions, + tex.math.file + + + + + + +tex.math.file +string + + +tex.math.file +Name of temporary file for generating images from equations + + + + +<xsl:param name="tex.math.file">tex-math-equations.tex</xsl:param> + + + +Description + +Name of auxiliary file for TeX equations. This file can be +processed by dvi2bitmap to get bitmap versions of equations for HTML +output. + + +Related Parameters + tex.math.in.alt, + tex.math.delims, + + +More information + For how-to documentation on embedding TeX equations and + generating output from them, see + DBTeXMath. + + + + + +tex.math.delims +boolean + + +tex.math.delims +Should equations output for processing by TeX be +surrounded by math mode delimiters? + + + + +<xsl:param name="tex.math.delims" select="1"></xsl:param> + + + +Description + +For compatibility with DSSSL based DBTeXMath from Allin Cottrell +you should set this parameter to 0. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + +Related Parameters + tex.math.in.alt, + passivetex.extensions + + +See Also + You can also use the dbtex delims processing + instruction to control whether delimiters are output. + + + + + + + +pixels.per.inch +integer + + +pixels.per.inch +How many pixels are there per inch? + + + + +<xsl:param name="pixels.per.inch">90</xsl:param> + + + +Description + +When lengths are converted to pixels, this value is used to +determine the size of a pixel. The default value is taken from the +XSL +Recommendation. + + + + + + + +points.per.em +number + + +points.per.em +Specify the nominal size of an em-space in points + + + + +<xsl:param name="points.per.em">10</xsl:param> + + + +Description + +The fixed value used for calculations based upon the size of a +character. The assumption made is that ten point font is in use. This +assumption may not be valid. + + + + + + +use.svg +boolean + + +use.svg +Allow SVG in the result tree? + + + + +<xsl:param name="use.svg" select="1"></xsl:param> + + + +Description + +If non-zero, SVG will be considered an acceptable image format. SVG +is passed through to the result tree, so correct rendering of the resulting +diagram depends on the formatter (FO processor or web browser) that is used +to process the output from the stylesheet. + + + + + + +menuchoice.separator +string + + +menuchoice.separator +Separator between items of a menuchoice +other than guimenuitem and +guisubmenu + + + + +<xsl:param name="menuchoice.separator">+</xsl:param> + + + +Description + +Separator used to connect items of a menuchoice other +than guimenuitem and guisubmenu. The latter +elements are linked with menuchoice.menu.separator. + + + + + + + +menuchoice.menu.separator +string + + +menuchoice.menu.separator +Separator between items of a menuchoice +with guimenuitem or +guisubmenu + + + + +<xsl:param name="menuchoice.menu.separator"> → </xsl:param> + + + +Description + +Separator used to connect items of a menuchoice with +guimenuitem or guisubmenu. Other elements +are linked with menuchoice.separator. + +The default value is &#x2192;, which is the +&rarr; (right arrow) character entity. +The current FOP (0.20.5) requires setting the font-family +explicitly. + +The default value also includes spaces around the arrow, +which will allow a line to break. Replace the spaces with +&#xA0; (nonbreaking space) if you don't want those +spaces to break. + + + + + + + +default.float.class +string + + +default.float.class +Specifies the default float class + + + + +<xsl:param name="default.float.class"> + <xsl:choose> + <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when> + <xsl:otherwise>before</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +Selects the direction in which a float should be placed. for +xsl-fo this is before, for html it is left. For Western texts, the +before direction is the top of the page. + + + + + + +footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +footnote.number.format +Identifies the format used for footnote numbers + + + + +<xsl:param name="footnote.number.format">1</xsl:param> + + + +Description + +The footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A). + + + + + + +table.footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +table.footnote.number.format +Identifies the format used for footnote numbers in tables + + + + +<xsl:param name="table.footnote.number.format">a</xsl:param> + + + +Description + +The table.footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A) in tables. + + + + + + +footnote.number.symbols + + + +footnote.number.symbols +Special characters to use as footnote markers + + + + +<xsl:param name="footnote.number.symbols"></xsl:param> + + + +Description + +If footnote.number.symbols is not the empty string, +footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +table.footnote.number.symbols +string + + +table.footnote.number.symbols +Special characters to use a footnote markers in tables + + + + +<xsl:param name="table.footnote.number.symbols"></xsl:param> + + + +Description + +If table.footnote.number.symbols is not the empty string, +table footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +table.footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +highlight.source +boolean + + +highlight.source +Should the content of programlisting +be syntactically highlighted? + + + + +<xsl:param name="highlight.source" select="0"></xsl:param> + + + +Description + +When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the +content of programlisting elements. You specify the language for each programlisting +by using the language attribute. The highlight.default.language +parameter can be used to specify the language for programlistings without a language +attribute. Syntax highlighting also works for screen and synopsis elements. + +The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be +downloaded separately (see below). + + +In order to use this extension, you must + +add xslthl-2.x.x.jar to your Java classpath. The latest version is available +from the XSLT syntax highlighting project +at SourceForge. + + +use a customization layer in which you import one of the following stylesheet modules: + + + html/highlight.xsl + + + + xhtml/highlight.xsl + + + + xhtml-1_1/highlight.xsl + + + + fo/highlight.xsl + + + + + +let either the xslthl.config Java system property or the +highlight.xslthl.config parameter point to the configuration file for syntax +highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file, +highlighting/xslthl-config.xml. + + + +The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is +an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.) + +The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows: + + +java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar +-Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet +-o test.html test.xml myhtml.xsl + + + + + + + +highlight.xslthl.config +uri + + +highlight.xslthl.config +Location of XSLTHL configuration file + + + + +<xsl:param name="highlight.xslthl.config"></xsl:param> + + + +Description + +This location has precedence over the corresponding Java property. + +Please note that usually you have to specify location as URL not +just as a simple path on the local +filesystem. E.g. file:///home/user/xslthl/my-xslthl-config.xml. + + + + + + + + +highlight.default.language +string + + +highlight.default.language +Default language of programlisting + + + + +<xsl:param name="highlight.default.language"></xsl:param> + + + +Description + +This language is used when there is no language attribute on programlisting. + + + + + + +email.delimiters.enabled +boolean + + +email.delimiters.enabled +Generate delimiters around email addresses? + + + + +<xsl:param name="email.delimiters.enabled" select="1"></xsl:param> + + + +Description + +If non-zero, delimiters + +For delimiters, the +stylesheets are currently hard-coded to output angle +brackets. + +are generated around e-mail addresses +(the output of the email element). + + + + + + +exsl.node.set.available +boolean + + +exsl.node.set.available +Is the test function-available('exsl:node-set') true? + + + +<xsl:param name="exsl.node.set.available"> + <xsl:choose> + <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +If non-zero, +then the exsl:node-set() function is available to be used in +the stylesheet. +If zero, then the function is not available. +This param automatically detects the presence of +the function and does not normally need to be set manually. + +This param was created to handle a long-standing +bug in the Xalan processor that fails to detect the +function even though it is available. + + + + +Annotations + + +annotation.support +boolean + + +annotation.support +Enable annotations? + + + + +<xsl:param name="annotation.support" select="0"></xsl:param> + + + +Description + +If non-zero, the stylesheets will attempt to support annotation +elements in HTML by including some JavaScript (see +annotation.js). + + + + + + +annotation.js +string + + +annotation.js +URIs identifying JavaScript files with support for annotation popups + + + + + +<xsl:param name="annotation.js"> +<xsl:text>http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js</xsl:text></xsl:param> + + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the URIs listed +in this parameter will be included. These JavaScript files are required +for popup annotation support. + + + + + + +annotation.css +string + + +annotation.css +CSS rules for annotations + + + + +<xsl:param name="annotation.css"> +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } +</xsl:param> + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the CSS in this +parameter will be included in the document. + + + + + + +annotation.graphic.open +uri + + +annotation.graphic.open +Image for identifying a link that opens an annotation popup + + + + +<xsl:param name="annotation.graphic.open">http://docbook.sourceforge.net/release/images/annot-open.png</xsl:param> + + + +Description + +This image is used inline to identify the location of +annotations. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + + + + +annotation.graphic.close +uri + + +annotation.graphic.close +Image for identifying a link that closes an annotation popup + + + + +<xsl:param name="annotation.graphic.close"> +http://docbook.sourceforge.net/release/images/annot-close.png</xsl:param> + + + +Description + +This image is used on popup annotations as the “x” that the +user can click to dismiss the popup. +This image is used on popup annotations as the “x” that the user can +click to dismiss the popup. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + + +Graphics + + +img.src.path +string + + +img.src.path +Path to HTML/FO image files + + + +<xsl:param name="img.src.path"></xsl:param> + + +Description + +Add a path prefix to the value of the fileref +attribute of graphic, inlinegraphic, and imagedata elements. The resulting +compound path is used in the output as the value of the src +attribute of img (HTML) or external-graphic (FO). + + + +The path given by img.src.path could be relative to the directory where the HTML/FO +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + + + + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + +<xsl:param name="keep.relative.image.uris" select="1"></xsl:param> + + + + +Description + +If non-zero, relative URIs (in, for example +fileref attributes) will be used in the generated +output. Otherwise, the URIs will be made absolute with respect to the +base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + + + + + +graphic.default.extension +string + + +graphic.default.extension +Default extension for graphic filenames + + + +<xsl:param name="graphic.default.extension"></xsl:param> + + +Description + +If a graphic or mediaobject +includes a reference to a filename that does not include an extension, +and the format attribute is +unspecified, the default extension will be used. + + + + + + + +default.image.width +length + + +default.image.width +The default width of images + + + + +<xsl:param name="default.image.width"></xsl:param> + + + +Description + +If specified, this value will be used for the +width attribute on images that do not specify any +viewport dimensions. + + + + + + +nominal.image.width +length + + +nominal.image.width +The nominal image width + + + + +<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"></xsl:param> + + + +Description + +Graphic widths expressed as a percentage are problematic. In the +following discussion, we speak of width and contentwidth, but +the same issues apply to depth and contentdepth. + +A width of 50% means "half of the available space for the image." +That's fine. But note that in HTML, this is a dynamic property and +the image size will vary if the browser window is resized. + +A contentwidth of 50% means "half of the actual image width". +But what does that mean if the stylesheets cannot assess the image's +actual size? Treating this as a width of 50% is one possibility, but +it produces behavior (dynamic scaling) that seems entirely out of +character with the meaning. + +Instead, the stylesheets define a +nominal.image.width and convert percentages to +actual values based on that nominal size. + + + + + + +nominal.image.depth +length + + +nominal.image.depth +Nominal image depth + + + + +<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"></xsl:param> + + + +Description + +See nominal.image.width. + + + + + + +use.embed.for.svg +boolean + + +use.embed.for.svg +Use HTML embed for SVG? + + + + +<xsl:param name="use.embed.for.svg" select="0"></xsl:param> + + + +Description + +If non-zero, an embed element will be created for +SVG figures. An object is always created, +this parameter merely controls whether or not an additional embed +is generated inside the object. + +On the plus side, this may be more portable among browsers and plug-ins. +On the minus side, it isn't valid HTML. + + + + + + +make.graphic.viewport +boolean + + +make.graphic.viewport +Use tables in HTML to make viewports for graphics + + + + +<xsl:param name="make.graphic.viewport" select="1"></xsl:param> + + + +Description + +The HTML img element only supports the notion +of content-area scaling; it doesn't support the distinction between a +content-area and a viewport-area, so we have to make some compromises. + +If make.graphic.viewport is non-zero, a table +will be used to frame the image. This creates an effective viewport-area. + + +Tables and alignment don't work together, so this parameter is ignored +if alignment is specified on an image. + + + + + +preferred.mediaobject.role +string + + +preferred.mediaobject.role +Select which mediaobject to use based on +this value of an object's role attribute. + + + + + +<xsl:param name="preferred.mediaobject.role"></xsl:param> + + + +Description + +A mediaobject may contain several objects such as imageobjects. +If the parameter use.role.for.mediaobject is +non-zero, then the role attribute on +imageobjects and other objects within a +mediaobject container will be used to select which object +will be used. If one of the objects has a role value that matches the +preferred.mediaobject.role parameter, then it +has first priority for selection. If more than one has such a role +value, the first one is used. + + +See the use.role.for.mediaobject parameter +for the sequence of selection. + + + + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + +<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param> + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + + + + +ignore.image.scaling +boolean + + +ignore.image.scaling +Tell the stylesheets to ignore the author's image scaling attributes + + + + +<xsl:param name="ignore.image.scaling" select="0"></xsl:param> + + + +Description + +If non-zero, the scaling attributes on graphics and media objects are +ignored. + + + + +Chunking + + +chunker.output.cdata-section-elements +string + + +chunker.output.cdata-section-elements +List of elements to escape with CDATA sections + + + +<xsl:param name="chunker.output.cdata-section-elements"></xsl:param> + + +Description +This parameter specifies the list of elements that should be escaped +as CDATA sections by the chunking stylesheet. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.doctype-public +string + + +chunker.output.doctype-public +Public identifer to use in the document type of generated pages + + + +<xsl:param name="chunker.output.doctype-public"></xsl:param> + + +Description +This parameter specifies the public identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.doctype-system +uri + + +chunker.output.doctype-system +System identifier to use for the document type in generated pages + + + +<xsl:param name="chunker.output.doctype-system"></xsl:param> + + +Description +This parameter specifies the system identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.encoding +string + + +chunker.output.encoding +Encoding used in generated pages + + + +<xsl:param name="chunker.output.encoding">ISO-8859-1</xsl:param> + + +Description +This parameter specifies the encoding to be used in files +generated by the chunking stylesheet. Not all processors support +specification of this parameter. + +This parameter used to be named default.encoding. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.indent +string + + +chunker.output.indent +Specification of indentation on generated pages + + + +<xsl:param name="chunker.output.indent">no</xsl:param> + + +Description +This parameter specifies the value of the indent +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.media-type +string + + +chunker.output.media-type +Media type to use in generated pages + + + +<xsl:param name="chunker.output.media-type"></xsl:param> + + +Description +This parameter specifies the media type that should be used by +the chunking stylesheet. Not all processors support specification of +this parameter. + +This parameter specifies the media type that should be used by the +chunking stylesheet. This should be one from those defined in +[RFC2045] and + [RFC2046] + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. +It must be one from html, xml or text + + + + + + +chunker.output.method +list +html +xml + + +chunker.output.method +Method used in generated pages + + + +<xsl:param name="chunker.output.method">html</xsl:param> + + +Description +This parameter specifies the output method to be used in files +generated by the chunking stylesheet. + +This parameter used to be named output.method. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.omit-xml-declaration +string + + +chunker.output.omit-xml-declaration +Omit-xml-declaration for generated pages + + + +<xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param> + + +Description +This parameter specifies the value of the omit-xml-declaration +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.standalone +string + + +chunker.output.standalone +Standalone declaration for generated pages + + + +<xsl:param name="chunker.output.standalone">no</xsl:param> + + +Description +This parameter specifies the value of the standalone + specification for generated pages. It must be either + yes or no. Not all + processors support specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +saxon.character.representation +string + + +saxon.character.representation +Saxon character representation used in generated HTML pages + + + + <xsl:param name="saxon.character.representation" select="'entity;decimal'"></xsl:param> + + +Description + +This parameter has effect only when Saxon 6 is used (version 6.4.2 or later). +It sets the character representation in files generated by the chunking stylesheets. +If you want to suppress entity references for characters with direct representations in +chunker.output.encoding, set the parameter value to native. + + + For more information, see Saxon output character representation. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + + + +html.ext +string + + +html.ext +Identifies the extension of generated HTML files + + + + +<xsl:param name="html.ext">.html</xsl:param> + + + +Description + +The extension identified by html.ext will +be used as the filename extension for chunks created by this +stylesheet. + + + + + + +use.id.as.filename +boolean + + +use.id.as.filename +Use ID value of chunk elements as the filename? + + + + +<xsl:param name="use.id.as.filename" select="0"></xsl:param> + + + +Description + +If use.id.as.filename +is non-zero, the filename of chunk elements that have IDs will be +derived from the ID value. + + + + + + + +html.extra.head.links +boolean + + +html.extra.head.links +Toggle extra HTML head link information + + + + +<xsl:param name="html.extra.head.links" select="0"></xsl:param> + + + +Description + +If non-zero, extra link elements will be +generated in the head of chunked HTML files. These +extra links point to chapters, appendixes, sections, etc. as supported +by the Site Navigation Bar in Mozilla 1.0 (as of CR1, at least). + + + + + + + +root.filename +uri + + +root.filename +Identifies the name of the root HTML file when chunking + + + + +<xsl:param name="root.filename">index</xsl:param> + + + +Description + +The root.filename is the base filename for +the chunk created for the root of each document processed. + + + + + + + +base.dir +uri + + +base.dir +The base directory of chunks + + + + +<xsl:param name="base.dir"></xsl:param> + + + +Description + +If specified, the base.dir parameter identifies +the output directory for chunks. (If not specified, the output directory +is system dependent.) + +Starting with version 1.77 of the stylesheets, +the param's value will have a trailing slash added if it does +not already have one. + +Do not use base.dir +to add a filename prefix string to chunked files. +Instead, use the chunked.filename.prefix +parameter. + + + + + + +chunked.filename.prefix +string + + +chunked.filename.prefix +Filename prefix for chunked files + + + + +<xsl:param name="chunked.filename.prefix"></xsl:param> + + + +Description + +If specified, the chunked.filename.prefix +parameter specifies a prefix string to add to each generated chunk filename. +For example: +<xsl:param name="chunked.filename.prefix">admin-<xsl:param> +will produce chunked filenames like: +admin-index.html +admin-ch01.html +admin-ch01s01.html +... + + +Trying to use the base.dir +parameter to add a string prefix (by omitting the trailing slash) +no longer works (it never worked completely anyway). That parameter +value should contain only a directory path, and +now gets a trailing slash appended if it was omitted from the param. + + + + + + generate.manifest + boolean + + + generate.manifest + Generate a manifest file? + + + + <xsl:param name="generate.manifest" select="0"></xsl:param> + + + Description + + If non-zero, a list of HTML files generated by the + stylesheet transformation is written to the file named by + the manifest parameter. + + + + + + + manifest + string + + + manifest + Name of manifest file + + + + + <xsl:param name="manifest">HTML.manifest</xsl:param> + + + + Description + + The name of the file to which a manifest is written (if the + value of the generate.manifest parameter + is non-zero). + + + + + + +manifest.in.base.dir +boolean + + +manifest.in.base.dir +Should the manifest file be written into base.dir? + + + + +<xsl:param name="manifest.in.base.dir" select="0"></xsl:param> + + + +Description + +If non-zero, the manifest file as well as project files for HTML Help and +Eclipse Help are written into base.dir instead +of the current directory. + + + + + + +chunk.toc +string + + +chunk.toc +An explicit TOC to be used for chunking + + + + +<xsl:param name="chunk.toc"></xsl:param> + + + +Description + +The chunk.toc identifies an explicit TOC that +will be used for chunking. This parameter is only used by the +chunktoc.xsl stylesheet (and customization layers built +from it). + + + + + + +chunk.tocs.and.lots +boolean + + +chunk.tocs.and.lots +Should ToC and LoTs be in separate chunks? + + + + +<xsl:param name="chunk.tocs.and.lots" select="0"></xsl:param> + + + +Description + +If non-zero, ToC and LoT (List of Examples, List of Figures, etc.) +will be put in a separate chunk. At the moment, this chunk is not in the +normal forward/backward navigation list. Instead, a new link is added to the +navigation footer. + +This feature is still somewhat experimental. Feedback welcome. + + + + + + +chunk.separate.lots +boolean + + +chunk.separate.lots +Should each LoT be in its own separate chunk? + + + + +<xsl:param name="chunk.separate.lots" select="0"></xsl:param> + + + +Description + +If non-zero, each of the ToC and LoTs +(List of Examples, List of Figures, etc.) +will be put in its own separate chunk. +The title page includes generated links to each of the separate files. + + +This feature depends on the +chunk.tocs.and.lots +parameter also being non-zero. + + + + + + + +chunk.tocs.and.lots.has.title +boolean + + +chunk.tocs.and.lots.has.title +Should ToC and LoTs in a separate chunks have title? + + + + +<xsl:param name="chunk.tocs.and.lots.has.title" select="1"></xsl:param> + + + +Description + +If non-zero title of document is shown before ToC/LoT in +separate chunk. + + + + + + +chunk.section.depth +integer + + +chunk.section.depth +Depth to which sections should be chunked + + + + +<xsl:param name="chunk.section.depth" select="1"></xsl:param> + + + +Description + +This parameter sets the depth of section chunking. + + + + + + +chunk.first.sections +boolean + + +chunk.first.sections +Chunk the first top-level section? + + + + +<xsl:param name="chunk.first.sections" select="0"></xsl:param> + + + +Description + +If non-zero, a chunk will be created for the first top-level +sect1 or section elements in +each component. Otherwise, that section will be part of the chunk for +its parent. + + + + + + + +chunk.quietly +boolean + + +chunk.quietly +Omit the chunked filename messages. + + + + +<xsl:param name="chunk.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), the XSL processor emits a message naming +each separate chunk filename as it is being output. +If nonzero, then the messages are suppressed. + + + + + + + +chunk.append +string + + +chunk.append +Specifies content to append to chunked HTML output + + + +<xsl:param name="chunk.append"></xsl:param> + + +Description + +Specifies content to append to the end of HTML files output by +the html/chunk.xsl stylesheet, after the closing +<html> tag. You probably don’t want to set any value +for this parameter; but if you do, the only value it should ever be +set to is a newline character: &#x0a; or +&#10; + + + + + + +navig.graphics +boolean + + +navig.graphics +Use graphics in navigational headers and footers? + + + + +<xsl:param name="navig.graphics" select="0"></xsl:param> + + + +Description + +If non-zero, the navigational headers and footers in chunked +HTML are presented in an alternate style that uses graphical icons for +Next, Previous, Up, and Home. Default graphics are provided in the +distribution. If zero, text is used instead of graphics. + + + + + + + +navig.graphics.extension +string + + +navig.graphics.extension +Extension for navigational graphics + + + + +<xsl:param name="navig.graphics.extension">.gif</xsl:param> + + + +Description + +Sets the filename extension to use on navigational graphics used +in the headers and footers of chunked HTML. + + + + + + +navig.graphics.path +string + + +navig.graphics.path +Path to navigational graphics + + + + +<xsl:param name="navig.graphics.path">images/</xsl:param> + + + +Description + +Sets the path, probably relative to the directory where the HTML +files are created, to the navigational graphics used in the +headers and footers of chunked HTML. + + + + + + + +navig.showtitles +boolean + + +navig.showtitles +Display titles in HTML headers and footers? + + + +<xsl:param name="navig.showtitles">1</xsl:param> + + +Description + +If non-zero, +the headers and footers of chunked HTML +display the titles of the next and previous chunks, +along with the words 'Next' and 'Previous' (or the +equivalent graphical icons if navig.graphics is true). +If false (zero), then only the words 'Next' and 'Previous' +(or the icons) are displayed. + + + + + +Profiling + +The following parameters can be used for attribute-based +profiling of your document. For more information about profiling, see +Profiling (conditional text). + + + +profile.arch +string + + +profile.arch +Target profile for arch +attribute + + + + +<xsl:param name="profile.arch"></xsl:param> + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.audience +string + + +profile.audience +Target profile for audience +attribute + + + + +<xsl:param name="profile.audience"></xsl:param> + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.condition +string + + +profile.condition +Target profile for condition +attribute + + + + +<xsl:param name="profile.condition"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.conformance +string + + +profile.conformance +Target profile for conformance +attribute + + + + +<xsl:param name="profile.conformance"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.lang +string + + +profile.lang +Target profile for lang +attribute + + + + +<xsl:param name="profile.lang"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.os +string + + +profile.os +Target profile for os +attribute + + + + +<xsl:param name="profile.os"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revision +string + + +profile.revision +Target profile for revision +attribute + + + + +<xsl:param name="profile.revision"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revisionflag +string + + +profile.revisionflag +Target profile for revisionflag +attribute + + + + +<xsl:param name="profile.revisionflag"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.role +string + + +profile.role +Target profile for role +attribute + + + + +<xsl:param name="profile.role"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +<emphasis role="bold">very important</emphasis> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, etc. + + + + + + + +profile.security +string + + +profile.security +Target profile for security +attribute + + + + +<xsl:param name="profile.security"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + +<xsl:param name="profile.status"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.userlevel +string + + +profile.userlevel +Target profile for userlevel +attribute + + + + +<xsl:param name="profile.userlevel"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.vendor +string + + +profile.vendor +Target profile for vendor +attribute + + + + +<xsl:param name="profile.vendor"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.wordsize +string + + +profile.wordsize +Target profile for wordsize +attribute + + + + +<xsl:param name="profile.wordsize"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.attribute +string + + +profile.attribute +Name of user-specified profiling attribute + + + + +<xsl:param name="profile.attribute"></xsl:param> + + + +Description + +This parameter is used in conjuction with +profile.value. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.value +string + + +profile.value +Target profile for user-specified attribute + + + + +<xsl:param name="profile.value"></xsl:param> + + + +Description + +When you are using this parameter you must also specify name of +profiling attribute with parameter +profile.attribute. + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.separator +string + + +profile.separator +Separator character for compound profile values + + + + +<xsl:param name="profile.separator">;</xsl:param> + + + +Description + +Separator character used for compound profile values. See profile.arch + + + + +HTML Help + + +htmlhelp.encoding +string + + +htmlhelp.encoding +Character encoding to use in files for HTML Help compiler. + + + + +<xsl:param name="htmlhelp.encoding">iso-8859-1</xsl:param> + + + +Description + +The HTML Help Compiler is not UTF-8 aware, so you should always use an +appropriate single-byte encoding here. See also Processing options. + + + + + + +htmlhelp.autolabel +boolean + + +htmlhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="htmlhelp.autolabel" select="0"></xsl:param> + + + +Description + +Set this to non-zero to include chapter and section numbers into ToC +in the left panel. + + + + + + +htmlhelp.chm +string + + +htmlhelp.chm +Filename of output HTML Help file. + + + + +<xsl:param name="htmlhelp.chm">htmlhelp.chm</xsl:param> + + + +Description + +Set the name of resulting CHM file + + + + + + +htmlhelp.default.topic +string + + +htmlhelp.default.topic +Name of file with default topic + + + + +<xsl:param name="htmlhelp.default.topic"></xsl:param> + + + +Description + +Normally first chunk of document is displayed when you open HTML +Help file. If you want to display another topic, simply set its +filename by this parameter. + +This is useful especially if you don't generate ToC in front of +your document and you also hide root element in ToC. E.g.: + +<xsl:param name="generate.book.toc" select="0"/> +<xsl:param name="htmlhelp.hhc.show.root" select="0"/> +<xsl:param name="htmlhelp.default.topic">pr01.html</xsl:param> + + + + + + + +htmlhelp.display.progress +boolean + + +htmlhelp.display.progress +Display compile progress? + + + + +<xsl:param name="htmlhelp.display.progress" select="1"></xsl:param> + + + +Description + +Set to non-zero to to display compile progress + + + + + + + +htmlhelp.hhp +string + + +htmlhelp.hhp +Filename of project file. + + + + +<xsl:param name="htmlhelp.hhp">htmlhelp.hhp</xsl:param> + + + +Description + +Change this parameter if you want different name of project +file than htmlhelp.hhp. + + + + + + +htmlhelp.hhc +string + + +htmlhelp.hhc +Filename of TOC file. + + + + +<xsl:param name="htmlhelp.hhc">toc.hhc</xsl:param> + + + +Description + +Set the name of the TOC file. The default is toc.hhc. + + + + + + +htmlhelp.hhk +string + + +htmlhelp.hhk +Filename of index file. + + + + +<xsl:param name="htmlhelp.hhk">index.hhk</xsl:param> + + + +Description + +set the name of the index file. The default is index.hhk. + + + + + + +htmlhelp.hhp.tail +string + + +htmlhelp.hhp.tail +Additional content for project file. + + + + +<xsl:param name="htmlhelp.hhp.tail"></xsl:param> + + + +Description + +If you want to include some additional parameters into project file, +store appropriate part of project file into this parameter. + + + + + + +htmlhelp.hhp.window +string + + +htmlhelp.hhp.window +Name of default window. + + + + +<xsl:param name="htmlhelp.hhp.window">Main</xsl:param> + + + +Description + +Name of default window. If empty no [WINDOWS] section will be +added to project file. + + + + + + +htmlhelp.hhp.windows +string + + +htmlhelp.hhp.windows +Definition of additional windows + + + + +<xsl:param name="htmlhelp.hhp.windows"></xsl:param> + + + +Description + +Content of this parameter is placed at the end of [WINDOWS] +section of project file. You can use it for defining your own +addtional windows. + + + + + + +htmlhelp.enhanced.decompilation +boolean + + +htmlhelp.enhanced.decompilation +Allow enhanced decompilation of CHM? + + + + +<xsl:param name="htmlhelp.enhanced.decompilation" select="0"></xsl:param> + + + +Description + +When non-zero this parameter enables enhanced decompilation of CHM. + + + + + + +htmlhelp.enumerate.images +boolean + + +htmlhelp.enumerate.images +Should the paths to all used images be added to the project file? + + + + +<xsl:param name="htmlhelp.enumerate.images" select="0"></xsl:param> + + + +Description + +Set to non-zero if you insert images into your documents as +external binary entities or if you are using absolute image paths. + + + + + + +htmlhelp.force.map.and.alias +boolean + + +htmlhelp.force.map.and.alias +Should [MAP] and [ALIAS] sections be added to the project file unconditionally? + + + +<xsl:param name="htmlhelp.force.map.and.alias" select="0"></xsl:param> + + +Description + Set to non-zero if you have your own + alias.h and context.h + files and you want to include references to them in the project + file. + + + + + +htmlhelp.map.file +string + + +htmlhelp.map.file +Filename of map file. + + + +<xsl:param name="htmlhelp.map.file">context.h</xsl:param> + + +Description +Set the name of map file. The default is + context.h. (used for context-sensitive + help). + + + + + +htmlhelp.alias.file +string + + +htmlhelp.alias.file +Filename of alias file. + + + + +<xsl:param name="htmlhelp.alias.file">alias.h</xsl:param> + + + +Description + +Specifies the filename of the alias file (used for context-sensitive help). + + + + + + +htmlhelp.hhc.section.depth +integer + + +htmlhelp.hhc.section.depth +Depth of TOC for sections in a left pane. + + + + +<xsl:param name="htmlhelp.hhc.section.depth">5</xsl:param> + + + +Description + +Set the section depth in the left pane of HTML Help viewer. + + + + + + +htmlhelp.hhc.show.root +boolean + + +htmlhelp.hhc.show.root +Should there be an entry for the root element in the ToC? + + + + +<xsl:param name="htmlhelp.hhc.show.root" select="1"></xsl:param> + + + +Description + +If set to zero, there will be no entry for the root element in the +ToC. This is useful when you want to provide the user with an expanded +ToC as a default. + + + + + + +htmlhelp.hhc.folders.instead.books +boolean + + +htmlhelp.hhc.folders.instead.books +Use folder icons in ToC (instead of book icons)? + + + + +<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"></xsl:param> + + + +Description + +Set to non-zero for folder-like icons or zero for book-like icons in the ToC. +If you want to use folder-like icons, you must switch off the binary ToC using +htmlhelp.hhc.binary. + + + + + + + + +htmlhelp.hhc.binary +boolean + + +htmlhelp.hhc.binary +Generate binary ToC? + + + + +<xsl:param name="htmlhelp.hhc.binary" select="1"></xsl:param> + + + +Description + +Set to non-zero to generate a binary TOC. You must create a binary TOC +if you want to add Prev/Next buttons to toolbar (which is default +behaviour). Files with binary TOC can't be merged. + + + + + + +htmlhelp.hhc.width +integer + + +htmlhelp.hhc.width +Width of navigation pane + + + + +<xsl:param name="htmlhelp.hhc.width"></xsl:param> + + + +Description + +This parameter specifies the width of the navigation pane (containing TOC and +other navigation tabs) in pixels. + + + + + + +htmlhelp.title +string + + +htmlhelp.title +Title of HTML Help + + + + +<xsl:param name="htmlhelp.title"></xsl:param> + + + +Description + +Content of this parameter will be used as a title for generated +HTML Help. If empty, title will be automatically taken from document. + + + + + + +htmlhelp.show.menu +boolean + + +htmlhelp.show.menu +Should the menu bar be shown? + + + + +<xsl:param name="htmlhelp.show.menu" select="0"></xsl:param> + + + +Description + +Set to non-zero to have an application menu bar in your HTML Help window. + + + + + + + +htmlhelp.show.toolbar.text +boolean + + +htmlhelp.show.toolbar.text +Show text under toolbar buttons? + + + + +<xsl:param name="htmlhelp.show.toolbar.text" select="1"></xsl:param> + + + +Description + +Set to non-zero to display texts under toolbar buttons, zero to switch +off displays. + + + + + + +htmlhelp.show.advanced.search +boolean + + +htmlhelp.show.advanced.search +Should advanced search features be available? + + + + +<xsl:param name="htmlhelp.show.advanced.search" select="0"></xsl:param> + + + +Description + +If you want advanced search features in your help, turn this +parameter to 1. + + + + + + +htmlhelp.show.favorities +boolean + + +htmlhelp.show.favorities +Should the Favorites tab be shown? + + + + +<xsl:param name="htmlhelp.show.favorities" select="0"></xsl:param> + + + +Description + +Set to non-zero to include a Favorites tab in the navigation pane +of the help window. + + + + + + +htmlhelp.button.hideshow +boolean + + +htmlhelp.button.hideshow +Should the Hide/Show button be shown? + + + + +<xsl:param name="htmlhelp.button.hideshow" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + + + + +htmlhelp.button.back +boolean + + +htmlhelp.button.back +Should the Back button be shown? + + + + +<xsl:param name="htmlhelp.button.back" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + + + + +htmlhelp.button.forward +boolean + + +htmlhelp.button.forward +Should the Forward button be shown? + + + + +<xsl:param name="htmlhelp.button.forward" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Forward button on the toolbar. + + + + + + +htmlhelp.button.stop +boolean + + +htmlhelp.button.stop +Should the Stop button be shown? + + + + +<xsl:param name="htmlhelp.button.stop" select="0"></xsl:param> + + + +Description + +If you want Stop button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.refresh +boolean + + +htmlhelp.button.refresh +Should the Refresh button be shown? + + + + +<xsl:param name="htmlhelp.button.refresh" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Stop button on the toolbar. + + + + + + +htmlhelp.button.home +boolean + + +htmlhelp.button.home +Should the Home button be shown? + + + + +<xsl:param name="htmlhelp.button.home" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Home button on the toolbar. + + + + + + +htmlhelp.button.home.url +string + + +htmlhelp.button.home.url +URL address of page accessible by Home button + + + + +<xsl:param name="htmlhelp.button.home.url"></xsl:param> + + + +Description + +URL address of page accessible by Home button. + + + + + + +htmlhelp.button.options +boolean + + +htmlhelp.button.options +Should the Options button be shown? + + + + +<xsl:param name="htmlhelp.button.options" select="1"></xsl:param> + + + +Description + +If you want Options button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.print +boolean + + +htmlhelp.button.print +Should the Print button be shown? + + + + +<xsl:param name="htmlhelp.button.print" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Print button on the toolbar. + + + + + + + +htmlhelp.button.locate +boolean + + +htmlhelp.button.locate +Should the Locate button be shown? + + + + +<xsl:param name="htmlhelp.button.locate" select="0"></xsl:param> + + + +Description + +If you want Locate button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.jump1 +boolean + + +htmlhelp.button.jump1 +Should the Jump1 button be shown? + + + +<xsl:param name="htmlhelp.button.jump1" select="0"></xsl:param> + + +Description + Set to non-zero to include the Jump1 button on the toolbar. + + + + + +htmlhelp.button.jump1.url +string + + +htmlhelp.button.jump1.url +URL address of page accessible by Jump1 button + + + + +<xsl:param name="htmlhelp.button.jump1.url"></xsl:param> + + + +Description + +URL address of page accessible by Jump1 button. + + + + + + +htmlhelp.button.jump1.title +string + + +htmlhelp.button.jump1.title +Title of Jump1 button + + + + +<xsl:param name="htmlhelp.button.jump1.title">User1</xsl:param> + + + +Description + +Title of Jump1 button. + + + + + + +htmlhelp.button.jump2 +boolean + + +htmlhelp.button.jump2 +Should the Jump2 button be shown? + + + + +<xsl:param name="htmlhelp.button.jump2" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Jump2 button on the toolbar. + + + + + + +htmlhelp.button.jump2.url +string + + +htmlhelp.button.jump2.url +URL address of page accessible by Jump2 button + + + + +<xsl:param name="htmlhelp.button.jump2.url"></xsl:param> + + + +Description + +URL address of page accessible by Jump2 button. + + + + + + +htmlhelp.button.jump2.title +string + + +htmlhelp.button.jump2.title +Title of Jump2 button + + + + +<xsl:param name="htmlhelp.button.jump2.title">User2</xsl:param> + + + +Description + +Title of Jump2 button. + + + + + + +htmlhelp.button.next +boolean + + +htmlhelp.button.next +Should the Next button be shown? + + + + +<xsl:param name="htmlhelp.button.next" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Next button on the toolbar. + + + + + + +htmlhelp.button.prev +boolean + + +htmlhelp.button.prev +Should the Prev button be shown? + + + + +<xsl:param name="htmlhelp.button.prev" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Prev button on the toolbar. + + + + + + + +htmlhelp.button.zoom +boolean + + +htmlhelp.button.zoom +Should the Zoom button be shown? + + + + +<xsl:param name="htmlhelp.button.zoom" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Zoom button on the toolbar. + + + + + + + +htmlhelp.remember.window.position +boolean + + +htmlhelp.remember.window.position +Remember help window position? + + + + +<xsl:param name="htmlhelp.remember.window.position" select="0"></xsl:param> + + + +Description + +Set to non-zero to remember help window position between starts. + + + + + + +htmlhelp.window.geometry +string + + +htmlhelp.window.geometry +Set initial geometry of help window + + + + +<xsl:param name="htmlhelp.window.geometry"></xsl:param> + + + +Description + +This parameter specifies initial position of help +window. E.g. + +<xsl:param name="htmlhelp.window.geometry">[160,64,992,704]</xsl:param> + + + + + + +htmlhelp.use.hhk +boolean + + +htmlhelp.use.hhk +Should the index be built using the HHK file? + + + + +<xsl:param name="htmlhelp.use.hhk" select="0"></xsl:param> + + + +Description + +If non-zero, the index is created using the HHK file (instead of using object +elements in the HTML files). For more information, see Generating an index. + + + + + +htmlhelp.only +boolean + + +htmlhelp.only +Should only project files be generated? + + + + +<xsl:param name="htmlhelp.only" select="0"></xsl:param> + + + +Description + + +Set to non-zero if you want to play with various HTML Help parameters +and you don't need to regenerate all HTML files. This setting will not +process whole document, only project files (hhp, hhc, hhk,...) will be +generated. + + + + + +Eclipse Help Platform + + +eclipse.autolabel +boolean + + +eclipse.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="eclipse.autolabel" select="0"></xsl:param> + + + +Description + +If you want to include chapter and section numbers into ToC in +the left panel, set this parameter to 1. + + + + + + +eclipse.plugin.name +string + + +eclipse.plugin.name +Eclipse Help plugin name + + + + +<xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param> + + + +Description + +Eclipse Help plugin name. + + + + + + +eclipse.plugin.id +string + + +eclipse.plugin.id +Eclipse Help plugin id + + + + +<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param> + + + +Description + +Eclipse Help plugin id. You should change this id to something +unique for each help. + + + + + + +eclipse.plugin.provider +string + + +eclipse.plugin.provider +Eclipse Help plugin provider name + + + + +<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param> + + + +Description + +Eclipse Help plugin provider name. + + + + +WebHelp + + +webhelp.autolabel +boolean + + +webhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="webhelp.autolabel">0</xsl:param> + + + +Description +To include chapter and section numbers the table of contents pane, set this parameter to 1. + + + + + +webhelp.base.dir +string + + +webhelp.base.dir +The base directory for webhelp output. + + + + +<xsl:param name="webhelp.base.dir">docs</xsl:param> + + + +Description +If specified, the webhelp.base.dir +parameter identifies the output directory for webhelp. (If not +specified, the output directory is system dependent.) By default, this +parameter is set to docs. + + + + + + +webhelp.common.dir +string + + +webhelp.common.dir +Path to the directory for the common webhelp resources (JavaScript, css, common images, etc). + + + + +<xsl:param name="webhelp.common.dir">../common/</xsl:param> + + + +Description +By default, webhelp creates a common directory containing resources such as JavaScript files, css, common images, etc. In some cases you may prefer to store these files in a standard location on your site and point all webhelp documents to that location. You can use this parameter to control the urls written to these common resources. For example, you might set this parameter to /common and create a single common directory at the root of your web server. + + + + + +webhelp.default.topic +string + + +webhelp.default.topic +The name of the file to which the start file in the webhelp base directory redirects + + + + +<xsl:param name="webhelp.default.topic">index.html</xsl:param> + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The +webhelp.default.topic parameter lets you +configure the name of the file that is redirected to. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + + + + +webhelp.include.search.tab +boolean + + +webhelp.include.search.tab +Should the webhelp output include a Search tab? + + + + +<xsl:param name="webhelp.include.search.tab">1</xsl:param> + + + +Description +Set this parameter to 0 to suppress the search tab from webhelp output. + + + + + +webhelp.indexer.language + + + +webhelp.indexer.language +The language to use for creating the webhelp search index. + + + + +<xsl:param name="webhelp.indexer.language">en</xsl:param> + + + +Description +To support stemming in the client-side webhelp stemmer, you must provide the language code. By default, the following languages are supported: + + + en: English + + + de: German + + + fr: French + + + zh: Chinese + + + ja: Japanese + + + ko: Korean + + +See the webhelp documentation for information on adding support for additional languages. + + + + + + +webhelp.start.filename +string + + +webhelp.start.filename +The name of the start file in the webhelp base directory. + + + + +<xsl:param name="webhelp.start.filename">index.html</xsl:param> + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The webhelp.start.filename parameter lets you configure the name of the redirect file. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + + + + +webhelp.tree.cookie.id +string + + +webhelp.tree.cookie.id +Controls how the cookie that stores the webhelp toc state is named. + + + + +<xsl:param name="webhelp.tree.cookie.id" select="concat( 'treeview-', count(//node()) )"></xsl:param> + + + +Description +The webhelp output does not use a frameset. Instead, the table of contents is a div on each page. To preserve the state of the table of contents as the user navigates from page to page, webhelp stores the state in a cookie and reads that cookie when you get to the next page. If you've published several webhelp documents on the same domain, it is important that each cookie have a unique id. In lieu of calling on a GUID generator, by default this parameter is just set to the number of nodes in the document on the assumption that it is unlikely that you will have more than one document with the exact number of nodes. A more optimal solution would be for the user to pass in some unique, stable identifier from the build system to use as the webhelp cookie id. For example, if you have safeguards in place to ensure that the xml:id of the root element of each document will be unique on your site, then you could set webhelptree.cookie.id as follows: + + <xsl:param name="webhelp.tree.cookie.id"> + <xsl:choose> + <xsl:when test="/*/@xml:id"> + <xsl:value-of select="concat('treeview-',/*/@xml:id)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat( 'treeview-', count(//node()) )"/> + </xsl:otherwise> + </xsl:choose> + </xsl:param> + + + + + +JavaHelp + + +javahelp.encoding +string + + +javahelp.encoding +Character encoding to use in control files for JavaHelp. + + + + +<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param> + + + +Description + +JavaHelp crashes on some characters when written as character +references. In that case you can use this parameter to select an appropriate encoding. + + + + + + + +Localization + + +l10n.gentext.language +string + + +l10n.gentext.language +Sets the gentext language + + + + +<xsl:param name="l10n.gentext.language"></xsl:param> + + + +Description + +If this parameter is set to any value other than the empty string, its +value will be used as the value for the language when generating text. Setting +l10n.gentext.language overrides any settings within the +document being formatted. + +It's much more likely that you might want to set the +l10n.gentext.default.language parameter. + + + + + + + l10n.gentext.default.language + string + + + l10n.gentext.default.language + Sets the default language for generated text + + + + +<xsl:param name="l10n.gentext.default.language">en</xsl:param> + + + +Description + +The value of the l10n.gentext.default.language +parameter is used as the language for generated text if no setting is provided +in the source document. + + + + + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + +<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param> + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
    +See also Kapital 3. +
    + +Where the more traditional rendering would be: + +
    +See also Chapter 3. +
    + +
    +
    + + + +l10n.lang.value.rfc.compliant +boolean + + +l10n.lang.value.rfc.compliant +Make value of lang attribute RFC compliant? + + + + +<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param> + + + +Description + +If non-zero, ensure that the values for all lang attributes in HTML output are RFC +compliantSection 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that: + +
    [RFC1766] defines and explains the language codes +that must be used in HTML documents. +Briefly, language codes consist of a primary code and a possibly +empty series of subcodes: + +language-code = primary-code ( "-" subcode )* + +And in RFC 1766, Tags for the Identification +of Languages, the EBNF for "language tag" is given as: + +Language-Tag = Primary-tag *( "-" Subtag ) +Primary-tag = 1*8ALPHA +Subtag = 1*8ALPHA + +
    +
    . + +by taking any underscore characters in any lang values found in source documents, and +replacing them with hyphen characters in output HTML files. For +example, zh_CN in a source document becomes +zh-CN in the HTML output form that source. + + +This parameter does not cause any case change in lang values, because RFC 1766 +explicitly states that all "language tags" (as it calls them) "are +to be treated as case insensitive". + +
    + +
    +
    + + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + +<xsl:param name="writing.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">writing-mode</xsl:with-param> + <xsl:with-param name="lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"></xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:param> + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But this param can also be +set on the command line to override that gentext value. + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + + +
    +
    + + + + FO Parameter Reference + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL FO stylesheets (for generating + XSL-FO output destined for final print/PDF output). + + + Admonitions + + +admon.graphics +boolean + + +admon.graphics +Use graphics in admonitions? + + + + +<xsl:param name="admon.graphics" select="0"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented in an alternate style that uses +a graphic. Default graphics are provided in the distribution. + + + + + + + +admon.graphics.extension +string + + +admon.graphics.extension +Filename extension for admonition graphics + + + + +<xsl:param name="admon.graphics.extension">.png</xsl:param> + + + +Description + +Sets the filename extension to use on admonition graphics. + + + The DocBook XSL distribution provides admonition graphics in the following formats: + GIF (extension: .gif) + PNG (extension: .png) + SVG (extension: .svg) + TIFF (extension: .tif) + + + + + + + +admon.graphics.path +string + + +admon.graphics.path +Path to admonition graphics + + + +<xsl:param name="admon.graphics.path">images/</xsl:param> + + +Description + +Sets the path to the directory containing the admonition graphics +(caution.png, important.png etc). This location is normally relative +to the output html directory. See base.dir + + + + + + +admon.textlabel +boolean + + +admon.textlabel +Use text label in admonitions? + + + + +<xsl:param name="admon.textlabel" select="1"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented with a generated +text label such as Note or Warning in the appropriate language. +If zero, such labels are turned off, but any title child +of the admonition element are still output. +The default value is 1. + + + + + + + + + admonition.title.properties + attribute set + + +admonition.title.properties +To set the style for admonitions titles. + + + + +<xsl:attribute-set name="admonition.title.properties"> + <xsl:attribute name="font-size">14pt</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + +Description +How do you want admonitions titles styled? +Set the font-size, weight etc to the style required. + + + + + + + admonition.properties + attribute set + + +admonition.properties +To set the style for admonitions. + + + +<xsl:attribute-set name="admonition.properties"></xsl:attribute-set> + + +Description +How do you want admonitions styled? +Set the font-size, weight, etc. to the style required + + + + + + +graphical.admonition.properties +attribute set + + +graphical.admonition.properties +To add properties to the outer block of a graphical admonition. + + + +<xsl:attribute-set name="graphical.admonition.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the outer block containing the +entire graphical admonition, including its title. +It is used when the parameter +admon.graphics is set to nonzero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a graphical admonition +also applies the admonition.title.properties +attribute-set to the title, and applies the +admonition.properties attribute-set +to the rest of the content. + + + + + + +nongraphical.admonition.properties +attribute set + + +nongraphical.admonition.properties +To add properties to the outer block of a nongraphical admonition. + + + +<xsl:attribute-set name="nongraphical.admonition.properties"> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">0.25in</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the outer block containing the +entire nongraphical admonition, including its title. +It is used when the parameter +admon.graphics is set to zero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a nongraphical admonition +also applies the admonition.title.properties +attribute-set to the title, and the +admonition.properties attribute-set +to the rest of the content. + + + + +Callouts + + +calloutlist.properties +attribute set + + +calloutlist.properties +Properties that apply to each list-block generated by calloutlist. + + + +<xsl:attribute-set name="calloutlist.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="provisional-distance-between-starts">2.2em</xsl:attribute> + <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to the fo:list-block generated by calloutlist. +Typically used to adjust spacing or margins of the entire list. +Change the provisional-distance-between-starts attribute to +change the indent of the list paragraphs relative to the +callout numbers. + + + + + +callout.properties +attribute set + + +callout.properties +Properties that apply to the list-item generated by each callout within a calloutlist. + + + +<xsl:attribute-set name="callout.properties"> +</xsl:attribute-set> + +Description +Properties that apply to the fo:list-item generated by each callout within a calloutlist. Typically used to add spacing properties. + + + + + +callout.defaultcolumn +integer + + +callout.defaultcolumn +Indicates what column callouts appear in by default + + + + +<xsl:param name="callout.defaultcolumn">60</xsl:param> + + + +Description + +If a callout does not identify a column (for example, if it uses +the linerange unit), +it will appear in the default column. + + + + + + + +callout.graphics +boolean + + +callout.graphics +Use graphics for callouts? + + + + +<xsl:param name="callout.graphics" select="1"></xsl:param> + + + +Description + +If non-zero, callouts are presented with graphics (e.g., reverse-video +circled numbers instead of "(1)", "(2)", etc.). +Default graphics are provided in the distribution. + + + + + + + +callout.graphics.extension +string + + +callout.graphics.extension +Filename extension for callout graphics + + + + + +<xsl:param name="callout.graphics.extension">.svg</xsl:param> + + + +Description +Sets the filename extension to use on callout graphics. + + +The Docbook XSL distribution provides callout graphics in the following formats: +SVG (extension: .svg) +PNG (extension: .png) +GIF (extension: .gif) + + + + + + +callout.graphics.number.limit +integer + + +callout.graphics.number.limit +Number of the largest callout graphic + + + + + +<xsl:param name="callout.graphics.number.limit">30</xsl:param> + + + +Description + +If callout.graphics is non-zero, graphics +are used to represent callout numbers instead of plain text. The value +of callout.graphics.number.limit is the largest +number for which a graphic exists. If the callout number exceeds this +limit, the default presentation "(plain text instead of a graphic)" +will be used. + + + + + + + +callout.graphics.path +string + + +callout.graphics.path +Path to callout graphics + + + + +<xsl:param name="callout.graphics.path">images/callouts/</xsl:param> + + + +Description + +Sets the path to the directory holding the callout graphics. his +location is normally relative to the output html directory. see +base.dir. Always terminate the directory with / since the graphic file +is appended to this string, hence needs the separator. + + + + + + + +callout.icon.size +length + + +callout.icon.size +Specifies the size of callout marker icons + + + + +<xsl:param name="callout.icon.size">7pt</xsl:param> + + + +Description + +Specifies the size of the callout marker icons. +The default size is 7 points. + + + + + + +callout.unicode +boolean + + +callout.unicode +Use Unicode characters rather than images for callouts. + + + +<xsl:param name="callout.unicode" select="0"></xsl:param> + + +Description + +The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. + + + + + + + +callout.unicode.font +string + + +callout.unicode.font +Specify a font for Unicode glyphs + + + + +<xsl:param name="callout.unicode.font">ZapfDingbats</xsl:param> + + + +Description + +The name of the font to specify around Unicode callout glyphs. +If set to the empty string, no font change will occur. + + + + + + + +callout.unicode.number.limit +integer + + +callout.unicode.number.limit +Number of the largest unicode callout character + + + + +<xsl:param name="callout.unicode.number.limit">10</xsl:param> + + + +Description + +If callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.number.limit +is +the largest number for which a unicode character exists. If the callout number +exceeds this limit, the default presentation "(nnn)" will always +be used. + + + + + + + +callout.unicode.start.character +integer + + +callout.unicode.start.character +First Unicode character to use, decimal value. + + + + +<xsl:param name="callout.unicode.start.character">10102</xsl:param> + + + +Description + +If callout.graphics is zero and callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.start.character +is the decimal unicode value used for callout number one. Currently, +only values 9312 and 10102 are supported in the stylesheets for this parameter. + + + + + + + +callouts.extension +boolean + + +callouts.extension +Enable the callout extension + + + + +<xsl:param name="callouts.extension" select="1"></xsl:param> + + + +Description + +The callouts extension processes areaset +elements in programlistingco and other text-based +callout elements. + + + + + +ToC/LoT/Index Generation + + +autotoc.label.separator +string + + +autotoc.label.separator +Separator between labels and titles in the ToC + + + + +<xsl:param name="autotoc.label.separator">. </xsl:param> + + + +Description + +String used to separate labels and titles in a table of contents. + + + + + + +process.empty.source.toc +boolean + + +process.empty.source.toc +Generate automated TOC if toc element occurs in a source document? + + + +<xsl:param name="process.empty.source.toc" select="0"></xsl:param> + + +Description + +Specifies that if an empty toc element is found in a +source document, an automated TOC is generated at this point in the +document. + + Depending on what the value of the + generate.toc parameter is, setting this + parameter to 1 could result in generation of + duplicate automated TOCs. So the + process.empty.source.toc is primarily useful + as an "override": by placing an empty toc in your + document and setting this parameter to 1, you can + force a TOC to be generated even if generate.toc + says not to. + + + + + + + + +process.source.toc +boolean + + +process.source.toc +Process a non-empty toc element if it occurs in a source document? + + + +<xsl:param name="process.source.toc" select="0"></xsl:param> + + +Description + +Specifies that the contents of a non-empty "hard-coded" +toc element in a source document are processed to +generate a TOC in output. + + This parameter has no effect on automated generation of + TOCs. An automated TOC may still be generated along with the + "hard-coded" TOC. To suppress automated TOC generation, adjust the + value of the generate.toc paramameter. + + The process.source.toc parameter also has + no effect if the toc element is empty; handling + for empty toc is controlled by the + process.empty.source.toc parameter. + + + + + + + + +generate.toc +table + + +generate.toc +Control generation of ToCs and LoTs + + + + + +<xsl:param name="generate.toc"> +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title +</xsl:param> + + + +Description + +This parameter has a structured value. It is a table of space-delimited +path/value pairs. Each path identifies some element in the source document +using a restricted subset of XPath (only the implicit child axis, no wildcards, +no predicates). Paths can be either relative or absolute. + +When processing a particular element, the stylesheets consult this table to +determine if a ToC (or LoT(s)) should be generated. + +For example, consider the entry: + +book toc,figure + +This indicates that whenever a book is formatted, a +Table Of Contents and a List of Figures should be generated. Similarly, + +/chapter toc + +indicates that whenever a document that has a root +of chapter is formatted, a Table of +Contents should be generated. The entry chapter would match +all chapters, but /chapter matches only chapter +document elements. + +Generally, the longest match wins. So, for example, if you want to distinguish +articles in books from articles in parts, you could use these two entries: + +book/article toc,figure +part/article toc + +Note that an article in a part can never match a book/article, +so if you want nothing to be generated for articles in parts, you can simply leave +that rule out. + +If you want to leave the rule in, to make it explicit that you're turning +something off, use the value nop. For example, the following +entry disables ToCs and LoTs for articles: + +article nop + +Do not simply leave the word article in the file +without a matching value. That'd be just begging the silly little +path/value parser to get confused. + +Section ToCs are further controlled by the +generate.section.toc.level parameter. +For a given section level to have a ToC, it must have both an entry in +generate.toc and be within the range enabled by +generate.section.toc.level. + + + + + +generate.index +boolean + + +generate.index +Do you want an index? + + + +<xsl:param name="generate.index" select="1"></xsl:param> + + +Description + +Specify if an index should be generated. + + + + + + +make.index.markup +boolean + + +make.index.markup +Generate XML index markup in the index? + + + + +<xsl:param name="make.index.markup" select="0"></xsl:param> + + + +Description + +This parameter enables a very neat trick for getting properly +merged, collated back-of-the-book indexes. G. Ken Holman suggested +this trick at Extreme Markup Languages 2002 and I'm indebted to him +for it. + +Jeni Tennison's excellent code in +autoidx.xsl does a great job of merging and +sorting indexterms in the document and building a +back-of-the-book index. However, there's one thing that it cannot +reasonably be expected to do: merge page numbers into ranges. (I would +not have thought that it could collate and suppress duplicate page +numbers, but in fact it appears to manage that task somehow.) + +Ken's trick is to produce a document in which the index at the +back of the book is displayed in XML. Because the index +is generated by the FO processor, all of the page numbers have been resolved. +It's a bit hard to explain, but what it boils down to is that instead of having +an index at the back of the book that looks like this: + +
    +A +ap1, 1, 2, 3 + +
    + +you get one that looks like this: + +
    +<indexdiv>A</indexdiv> +<indexentry> +<primaryie>ap1</primaryie>, +<phrase role="pageno">1</phrase>, +<phrase role="pageno">2</phrase>, +<phrase role="pageno">3</phrase> +</indexentry> +
    + +After building a PDF file with this sort of odd-looking index, you can +extract the text from the PDF file and the result is a proper index expressed in +XML. + +Now you have data that's amenable to processing and a simple Perl script +(such as fo/pdf2index) can +merge page ranges and generate a proper index. + +Finally, reformat your original document using this literal index instead of +an automatically generated one and bingo! + +
    +
    + + + +index.method +list +basic +kosek +kimber + + +index.method +Select method used to group index entries in an index + + + + +<xsl:param name="index.method">basic</xsl:param> + + + +Description + +This parameter lets you select which method to use for sorting and grouping + index entries in an index. +Indexes in Latin-based languages that have accented characters typically +sort together accented words and unaccented words. +Thus Á (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together +with A (U+0041 LATIN CAPITAL LETTER A), so both would appear in the A +section of the index. +Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) +and languages using ideographic chararacters (such as Japanese) +require grouping specific to the languages and alphabets. + + +The default indexing method is limited. +It can group accented characters in Latin-based languages only. +It cannot handle non-Latin alphabets or ideographic languages. +The other indexing methods require extensions of one type or +another, and do not work with +all XSLT processors, which is why they are not used by default. + +The three choices for indexing method are: + + +basic + + +(default) Sort and groups words based only on the Latin alphabet. +Words with accented Latin letters will group and sort with +their respective primary letter, but +words in non-Latin alphabets will be +put in the Symbols section of the index. + + + + +kosek + + +This method sorts and groups words based on letter groups configured in +the DocBook locale file for the given language. +See, for example, the French locale file common/fr.xml. +This method requires that the XSLT processor +supports the EXSLT extensions (most do). +It also requires support for using +user-defined functions in xsl:key (xsltproc does not). + +This method is suitable for any language for which you can +list all the individual characters that should appear +in each letter group in an index. +It is probably not practical to use it for ideographic languages +such as Chinese that have hundreds or thousands of characters. + + +To use the kosek method, you must: + + + +Use a processor that supports its extensions, such as +Saxon 6 or Xalan (xsltproc and Saxon 8 do not). + + + +Set the index.method parameter's value to kosek. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kosek.xsl or +html/autoidx-kosek.xsl into your +customization. + + + + + + + +kimber + + +This method uses extensions to the Saxon processor to implement +sophisticated indexing processes. It uses its own +configuration file, which can include information for any number of +languages. Each language's configuration can group +words using one of two processes. In the +enumerated process similar to that used in the kosek method, +you indicate the groupings character-by-character. +In the between-key process, you specify the +break-points in the sort order that should start a new group. +The latter configuration is useful for ideographic languages +such as Chinese, Japanese, and Korean. +You can also define your own collation algorithms and how you +want mixed Latin-alphabet words sorted. + + +For a whitepaper describing the extensions, see: +http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf. + + + +To download the extension library, see +http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport. + + + + +To use the kimber method, you must: + + + +Use Saxon (version 6 or 8) as your XSLT processor. + + + +Install and configure the Innodata Isogen library, using +the documentation that comes with it. + + + +Set the index.method parameter's value to kimber. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kimber.xsl or +html/autoidx-kimber.xsl into your +customization. + + + + + + + + + + + + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + +<xsl:param name="index.on.type" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + + + + +index.on.role +boolean + + +index.on.role +Select indexterms based on role value + + + + +<xsl:param name="index.on.role" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +role attribute +value will contain only those indexterm +elements with a matching role value. +If an index has no role +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + +If index.on.role is zero, then the +role attribute has no effect +on selecting indexterms for an index. + + +If you are using DocBook version 4.3 or later, you should +use the type attribute instead of role +on indexterm and index, +and set the index.on.type to a nonzero +value. + + + + + + + +index.preferred.page.properties +attribute set + + +index.preferred.page.properties +Properties used to emphasize page number references for +significant index terms + + + + +<xsl:attribute-set name="index.preferred.page.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties used to emphasize page number references for +significant index terms (significance=preferred). Currently works only with +XEP. + + + + + + +index.entry.properties +attribute set + + +index.entry.properties +Properties applied to the formatted entries +in an index + + + + +<xsl:attribute-set name="index.entry.properties"> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the block containing +the entries in a letter division in an index. It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all index entries. + + + + + + +index.div.title.properties +attribute set + + +index.div.title.properties +Properties associated with the letter headings in an +index + + + + +<xsl:attribute-set name="index.div.title.properties"> + <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute> + <xsl:attribute name="font-size">14.4pt</xsl:attribute> + <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is used on the letter headings that separate +the divisions in an index. + + + + + + +index.number.separator +string + + +index.number.separator +Override for punctuation separating page numbers in index + + + + +<xsl:param name="index.number.separator"></xsl:param> + + + +Description + +This parameter permits you to override the text to insert between +page references in a formatted index entry. Typically +that would be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'number-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. This punctuation appears between +such section titles in an HTML index. + + + + + + + +index.range.separator +string + + +index.range.separator +Override for punctuation separating the two numbers +in a page range in index + + + + +<xsl:param name="index.range.separator"></xsl:param> + + + +Description + +This parameter permits you +to override the text to insert between +the two numbers of a page range in an index. +This parameter is only used by those XSL-FO processors +that support an extension for generating such page ranges +(such as XEP). + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'range-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. So there are no page ranges +and this parameter has no effect. + + + + + + + +index.term.separator +string + + +index.term.separator +Override for punctuation separating an index term +from its list of page references in an index + + + + +<xsl:param name="index.term.separator"></xsl:param> + + + +Description + +This parameter permits you to override +the text to insert between +the end of an index term and its list of page references. +Typically that might be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'term-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +fill in the content for this normally empty +override parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. +For fo output, it could be an fo:leader +element to provide space of a specific length, or a dot leader. + + + + + + + +xep.index.item.properties +attribute set + + +xep.index.item.properties +Properties associated with XEP index-items + + + + +<xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties"> + <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute> + <xsl:attribute name="link-back">true</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties associated with XEP index-items, which generate +page numbers in an index processed by XEP. For more info see +the XEP documentation section "Indexes" in +http://www.renderx.com/reference.html#Indexes. + +This attribute-set also adds by default any properties from the +index.page.number.properties +attribute-set. + + + + + +toc.section.depth +integer + + +toc.section.depth +How deep should recursive sections appear +in the TOC? + + + +<xsl:param name="toc.section.depth">2</xsl:param> + + +Description + +Specifies the depth to which recursive sections should appear in the +TOC. + + + + + + + +toc.max.depth +integer + + +toc.max.depth +How many levels should be created for each TOC? + + + +<xsl:param name="toc.max.depth">8</xsl:param> + + +Description + +Specifies the maximal depth of TOC on all levels. + + + + + + +toc.indent.width +float + + +toc.indent.width +Amount of indentation for TOC entries + + + + +<xsl:param name="toc.indent.width">24</xsl:param> +<!-- inconsistant point specification? --> + + + +Description + +Specifies, in points, the distance by which each level of the +TOC is indented from its parent. + +This value is expressed in points, without +a unit (in other words, it is a bare number). Using a bare number allows the stylesheet +to perform calculations that would otherwise have to be performed by the FO processor +because not all processors support expressions. + + + + + + +toc.line.properties +attribute set + + +toc.line.properties +Properties for lines in ToCs and LoTs + + + + +<xsl:attribute-set name="toc.line.properties"> + <xsl:attribute name="text-align-last">justify</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties which are applied to every line in ToC (or LoT). You can +modify them in order to change appearance of all, or some lines. For +example, in order to make lines for chapters bold, specify the +following in your customization layer: + +<xsl:attribute-set name="toc.line.properties"> + <xsl:attribute name="font-weight"> + <xsl:choose> + <xsl:when test="self::chapter">bold</xsl:when> + <xsl:otherwise>normal</xsl:otherwise> + </xsl:choose> + </xsl:attribute> +</xsl:attribute-set> + + + + + + +toc.margin.properties +attribute set + + +toc.margin.properties +Margin properties used on Tables of Contents + + + + +<xsl:attribute-set name="toc.margin.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + + + +Description +This attribute set is used on Tables of Contents. These attributes are set +on the wrapper that surrounds the ToC block, not on each individual lines. + + + + + +bridgehead.in.toc +boolean + + +bridgehead.in.toc +Should bridgehead elements appear in the TOC? + + + +<xsl:param name="bridgehead.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, bridgeheads appear in the TOC. Note that +this option is not fully supported and may be removed in a future +version of the stylesheets. + + + + + + + +simplesect.in.toc +boolean + + +simplesect.in.toc +Should simplesect elements appear in the TOC? + + + +<xsl:param name="simplesect.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, simplesects will be included in the TOC. + + + + + + + +generate.section.toc.level +integer + + +generate.section.toc.level +Control depth of TOC generation in sections + + + + +<xsl:param name="generate.section.toc.level" select="0"></xsl:param> + + + +Description + +The generate.section.toc.level parameter +controls the depth of section in which TOCs will be generated. Note +that this is related to, but not the same as +toc.section.depth, which controls the depth to +which TOC entries will be generated in a given TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. + + + + + + + + +
    Processor Extensions + + +arbortext.extensions +boolean + + +arbortext.extensions +Enable Arbortext extensions? + + + +<xsl:param name="arbortext.extensions" select="0"></xsl:param> + + +Description + +If non-zero, +Arbortext +extensions will be used. + +This parameter can also affect which graphics file formats +are supported + + + + + + +axf.extensions +boolean + + +axf.extensions +Enable XSL Formatter extensions? + + + + +<xsl:param name="axf.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, +XSL Formatter +extensions will be used. XSL Formatter extensions consists of PDF bookmarks, +document information and better index processing. + +This parameter can also affect which graphics file formats +are supported + + + + + + +fop.extensions +boolean + + +fop.extensions +Enable extensions for FOP version 0.20.5 and earlier + + + +<xsl:param name="fop.extensions" select="0"></xsl:param> + + +Description + +If non-zero, extensions intended for +FOP +version 0.20.5 and earlier will be used. +At present, this consists of PDF bookmarks. + + +This parameter can also affect which graphics file formats +are supported. + +If you are using a version of FOP beyond +version 0.20.5, then use the fop1.extensions parameter +instead. + + + + + + +fop1.extensions +boolean + + +fop1.extensions +Enable extensions for FOP version 0.90 and later + + + +<xsl:param name="fop1.extensions" select="0"></xsl:param> + + +Description + +If non-zero, extensions for +FOP +version 0.90 and later will be used. + + +This parameter can also affect which graphics file formats +are supported. + +The original fop.extensions parameter +should still be used for FOP version 0.20.5 and earlier. + + + + + + +passivetex.extensions +boolean + + +passivetex.extensions +Enable PassiveTeX extensions? + + + +<xsl:param name="passivetex.extensions" select="0"></xsl:param> + + +Description + +The PassiveTeX XSL-FO processor is +no longer supported by DocBook XSL, beginning with version 1.78. + +PassiveTeX was never a complete implementation of +XSL-FO, and development has ceased. Setting this parameter will +have no effect on the output. + + + + + + +tex.math.in.alt +list +plain +latex + + +tex.math.in.alt +TeX notation used for equations + + + + +<xsl:param name="tex.math.in.alt"></xsl:param> + + + +Description + +If you want type math directly in TeX notation in equations, +this parameter specifies notation used. Currently are supported two +values -- plain and latex. Empty +value means that you are not using TeX math at all. + +Preferred way for including TeX alternative of math is inside of +textobject element. Eg.: + +<inlineequation> +<inlinemediaobject> +<imageobject> +<imagedata fileref="eq1.gif"/> +</imageobject> +<textobject><phrase>E=mc squared</phrase></textobject> +<textobject role="tex"><phrase>E=mc^2</phrase></textobject> +</inlinemediaobject> +</inlineequation> + +If you are using graphic element, you can +store TeX inside alt element: + +<inlineequation> +<alt role="tex">a^2+b^2=c^2</alt> +<graphic fileref="a2b2c2.gif"/> +</inlineequation> + +If you want use this feature, you should process your FO with +PassiveTeX, which only supports TeX math notation. When calling +stylsheet, don't forget to specify also +passivetex.extensions=1. + +If you want equations in HTML, just process generated file +tex-math-equations.tex by TeX or LaTeX. Then run +dvi2bitmap program on result DVI file. You will get images for +equations in your document. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + +Related Parameters + tex.math.delims, + passivetex.extensions, + tex.math.file + + + + + + +tex.math.delims +boolean + + +tex.math.delims +Should equations output for processing by TeX be +surrounded by math mode delimiters? + + + + +<xsl:param name="tex.math.delims" select="1"></xsl:param> + + + +Description + +For compatibility with DSSSL based DBTeXMath from Allin Cottrell +you should set this parameter to 0. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + +Related Parameters + tex.math.in.alt, + passivetex.extensions + + +See Also + You can also use the dbtex delims processing + instruction to control whether delimiters are output. + + + + + + + +xep.extensions +boolean + + +xep.extensions +Enable XEP extensions? + + + +<xsl:param name="xep.extensions" select="0"></xsl:param> + + +Description + +If non-zero, +XEP +extensions will be used. XEP extensions consists of PDF bookmarks, +document information and better index processing. + + +This parameter can also affect which graphics file formats +are supported + + + +Stylesheet Extensions + + +linenumbering.everyNth +integer + + +linenumbering.everyNth +Indicate which lines should be numbered + + + + +<xsl:param name="linenumbering.everyNth">5</xsl:param> + + + +Description + +If line numbering is enabled, everyNth line will be +numbered. Note that numbering is one based, not zero based. + +See also linenumbering.extension, +linenumbering.separator, +linenumbering.width and +use.extensions + + + + + + +linenumbering.extension +boolean + + +linenumbering.extension +Enable the line numbering extension + + + + +<xsl:param name="linenumbering.extension" select="1"></xsl:param> + + + +Description + +If non-zero, verbatim environments (address, literallayout, +programlisting, screen, synopsis) that specify line numbering will +have line numbers. + + + + + + + +linenumbering.separator +string + + +linenumbering.separator +Specify a separator between line numbers and lines + + + + +<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param> + + + +Description + +The separator is inserted between line numbers and lines in the +verbatim environment. The default value is a single white space. + Note the interaction with linenumbering.width + + + + + + + +linenumbering.width +integer + + +linenumbering.width +Indicates the width of line numbers + + + + +<xsl:param name="linenumbering.width">3</xsl:param> + + + +Description + +If line numbering is enabled, line numbers will appear right +justified in a field "width" characters wide. + + + + + + + +tablecolumns.extension +boolean + + +tablecolumns.extension +Enable the table columns extension function + + + + +<xsl:param name="tablecolumns.extension" select="1"></xsl:param> + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + + + + + textinsert.extension + boolean + + + textinsert.extension + Enables the textinsert extension element + + + + <xsl:param name="textinsert.extension" select="1"></xsl:param> + + + Description + The textinsert extension element inserts the contents of + a file into the result tree (as text). + + To use the textinsert extension element, you must use + either Saxon or Xalan as your XSLT processor (it doesn’t + work with xsltproc), along with either the DocBook Saxon + extensions or DocBook Xalan extensions (for more + information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both + the use.extensions and + textinsert.extension parameters to + 1. + As an alternative to using the textinsert element, + consider using an Xinclude element with the + parse="text" attribute and value + specified, as detailed in Using XInclude for text inclusions. + + + See Also + You can also use the dbhtml-include href processing + instruction to insert external files — both files containing + plain text and files with markup content (including HTML + content). + + More information + For how-to documentation on inserting contents of + external code files and other text files into output, see + External code files. + For guidelines on inserting contents of + HTML files into output, see Inserting external HTML code. + + + + + +textdata.default.encoding +string + + +textdata.default.encoding +Default encoding of external text files which are included +using textdata element + + + + +<xsl:param name="textdata.default.encoding"></xsl:param> + + + +Description + +Specifies the encoding of any external text files included using +textdata element. This value is used only when you do +not specify encoding by the appropriate attribute +directly on textdata. An empty string is interpreted as the system +default encoding. + + + + + + +use.extensions +boolean + + +use.extensions +Enable extensions + + + + +<xsl:param name="use.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, extensions may be used. Each extension is +further controlled by its own parameter. But if +use.extensions is zero, no extensions will +be used. + + + + + +Automatic labelling + + +appendix.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +appendix.autolabel +Specifies the labeling format for Appendix titles + + + + +<xsl:param name="appendix.autolabel">A</xsl:param> + + + +Description + +If non-zero, then appendices will be numbered using the +parameter value as the number format if the value matches one of the +following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperalpha). + + + + + + + +chapter.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +chapter.autolabel +Specifies the labeling format for Chapter titles + + + + +<xsl:param name="chapter.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, then chapters will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + +part.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +part.autolabel +Specifies the labeling format for Part titles + + + + +<xsl:param name="part.autolabel">I</xsl:param> + + + +Description + +If non-zero, then parts will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperroman). + + + + + + + + +reference.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +reference.autolabel +Specifies the labeling format for Reference titles + + + + <xsl:param name="reference.autolabel">I</xsl:param> + + +Description +If non-zero, references will be numbered using the parameter + value as the number format if the value matches one of the + following: + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + +Any non-zero value other than the above will generate +the default number format (upperroman). + + + + + + +preface.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +preface.autolabel +Specifices the labeling format for Preface titles + + + +<xsl:param name="preface.autolabel" select="0"></xsl:param> + + +Description + +If non-zero then prefaces will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + + +section.autolabel +boolean + + +section.autolabel +Are sections enumerated? + + + +<xsl:param name="section.autolabel" select="0"></xsl:param> + + +Description + +If true (non-zero), unlabeled sections will be enumerated. + + + + + + + +section.autolabel.max.depth +integer + + +section.autolabel.max.depth +The deepest level of sections that are numbered. + + + + +<xsl:param name="section.autolabel.max.depth">8</xsl:param> + + + +Description + +When section numbering is turned on by the +section.autolabel parameter, then this +parameter controls the depth of section nesting that is +numbered. Sections nested to a level deeper than this value will not +be numbered. + + + + + + + +section.label.includes.component.label +boolean + + +section.label.includes.component.label +Do section labels include the component label? + + + +<xsl:param name="section.label.includes.component.label" select="0"></xsl:param> + + +Description + +If non-zero, section labels are prefixed with the label of the +component that contains them. + + + + + + + +label.from.part +boolean + + +label.from.part +Renumber components in each part? + + + + +<xsl:param name="label.from.part" select="0"></xsl:param> + + + +Description + +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. + + + + + + +component.label.includes.part.label +boolean + + +component.label.includes.part.label +Do component labels include the part label? + + + +<xsl:param name="component.label.includes.part.label" select="0"></xsl:param> + + +Description + +If non-zero, number labels for chapter, +appendix, and other component elements are prefixed with +the label of the part element that contains them. So you might see +Chapter II.3 instead of Chapter 3. Also, the labels for formal +elements such as table and figure will include +the part label. If there is no part element container, then no prefix +is generated. + + +This feature is most useful when the +label.from.part parameter is turned on. +In that case, there would be more than one chapter +1, and the extra part label prefix will identify +each chapter unambiguously. + + + + + +XSLT Processing + + +rootid +string + + +rootid +Specify the root element to format + + + + +<xsl:param name="rootid"></xsl:param> + + +Description + +If rootid is not empty, it must be the +value of an ID that occurs in the document being formatted. The entire +document will be loaded and parsed, but formatting will begin at the +element identified, rather than at the root. For example, this allows +you to process only chapter 4 of a book. +Because the entire document is available to the processor, automatic +numbering, cross references, and other dependencies are correctly +resolved. + + + + +Meta/*Info + + +make.single.year.ranges +boolean + + +make.single.year.ranges +Print single-year ranges (e.g., 1998-1999) + + + + +<xsl:param name="make.single.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, year ranges that span a single year will be printed +in range notation (1998-1999) instead of discrete notation +(1998, 1999). + + + + + + +make.year.ranges +boolean + + +make.year.ranges +Collate copyright years into ranges? + + + +<xsl:param name="make.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, multiple copyright year elements will be +collated into ranges. +This works only if each year number is put into a separate +year element. The copyright element permits multiple +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. + + + + + + + +author.othername.in.middle +boolean + + +author.othername.in.middle +Is othername in author a +middle name? + + + + +<xsl:param name="author.othername.in.middle" select="1"></xsl:param> + + +Description + +If non-zero, the othername of an author +appears between the firstname and +surname. Otherwise, othername +is suppressed. + + + + + +Reference Pages + + +funcsynopsis.decoration +boolean + + +funcsynopsis.decoration +Decorate elements of a funcsynopsis? + + + + +<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param> + + + +Description + +If non-zero, elements of the funcsynopsis will be +decorated (e.g. rendered as bold or italic text). The decoration is controlled by +templates that can be redefined in a customization layer. + + + + + + + +funcsynopsis.style +list +ansi +kr + + +funcsynopsis.style +What style of funcsynopsis should be generated? + + + +<xsl:param name="funcsynopsis.style">kr</xsl:param> + + +Description + +If funcsynopsis.style is ansi, +ANSI-style function synopses are generated for a +funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + + + +function.parens +boolean + + +function.parens +Generate parens after a function? + + + + +<xsl:param name="function.parens" select="0"></xsl:param> + + + +Description + +If non-zero, the formatting of a function element +will include generated parentheses. + + + + + + + +refentry.generate.name +boolean + + +refentry.generate.name +Output NAME header before refnames? + + + + +<xsl:param name="refentry.generate.name" select="1"></xsl:param> + + + +Description + +If non-zero, a "NAME" section title is output before the list +of refnames. This parameter and +refentry.generate.title are mutually +exclusive. This means that if you change this parameter to zero, you +should set refentry.generate.title to non-zero unless +you want get quite strange output. + + + + + + + +refentry.generate.title +boolean + + +refentry.generate.title +Output title before refnames? + + + + +<xsl:param name="refentry.generate.title" select="0"></xsl:param> + + + +Description + +If non-zero, the reference page title or first name is +output before the list of refnames. This parameter and +refentry.generate.name are mutually exclusive. +This means that if you change this parameter to non-zero, you +should set refentry.generate.name to zero unless +you want get quite strange output. + + + + + + + +refentry.pagebreak +boolean + + +refentry.pagebreak +Start each refentry on a new page + + + +<xsl:param name="refentry.pagebreak" select="1"></xsl:param> + + +Description + +If non-zero (the default), each refentry +element will start on a new page. If zero, a page +break will not be generated between refentry elements. +The exception is when the refentry elements are children of +a part element, in which case the page breaks are always +retained. That is because a part element does not generate +a page-sequence for its children, so each refentry must +start its own page-sequence. + + + + + + + +refentry.title.properties +attribute set + + +refentry.title.properties +Title properties for a refentry title + + + + +<xsl:attribute-set name="refentry.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-size">18pt</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> + <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +Formatting properties applied to the title generated for the +refnamediv part of output for +refentry when the value of the +refentry.generate.title parameter is +non-zero. The font size is supplied by the appropriate section.levelX.title.properties +attribute-set, computed from the location of the +refentry in the section hierarchy. + + + This parameter has no effect on the the title generated for + the refnamediv part of output for + refentry when the value of the + refentry.generate.name parameter is + non-zero. By default, that title is formatted with the same + properties as the titles for all other first-level children of + refentry. + + + + + + + +refentry.xref.manvolnum +boolean + + +refentry.xref.manvolnum +Output manvolnum as part of +refentry cross-reference? + + + + +<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param> + + + +Description + +if non-zero, the manvolnum is used when cross-referencing +refentrys, either with xref +or citerefentry. + + + + + + + +refclass.suppress +boolean + + +refclass.suppress +Suppress display of refclass contents? + + + + +<xsl:param name="refclass.suppress" select="0"></xsl:param> + + +Description + +If the value of refclass.suppress is +non-zero, then display of refclass contents is +suppressed in output. + + + + +Tables + + +default.table.width +length + + +default.table.width +The default width of tables + + + +<xsl:param name="default.table.width"></xsl:param> + + +Description +If non-zero, this value will be used for the +width attribute on tables that do not specify an +alternate width (with the dbhtml table-width or +dbfo table-width processing instruction). + + + + + +nominal.table.width +length + + +nominal.table.width +The (absolute) nominal width of tables + + + + +<xsl:param name="nominal.table.width">6in</xsl:param> + + + +Description + +In order to convert CALS column widths into HTML column widths, it +is sometimes necessary to have an absolute table width to use for conversion +of mixed absolute and relative widths. This value must be an absolute +length (not a percentage). + + + + + + +default.table.frame +string + + +default.table.frame +The default framing of tables + + + + +<xsl:param name="default.table.frame">all</xsl:param> + + + +Description + +This value will be used when there is no frame attribute on the +table. + + + + + + +default.table.rules +string + + +default.table.rules +The default column and row rules for tables using HTML markup + + + + +<xsl:param name="default.table.rules">none</xsl:param> + + + +Description + +Tables using HTML markup elements can use an attribute +named rules on the table or +informaltable element +to specify whether column and row border rules should be +displayed. This parameter lets you specify a global default +style for all HTML tables that don't otherwise have +that attribute. +These are the supported values: + + +all + +Rules will appear between all rows and columns. + + + +rows + +Rules will appear between rows only. + + + +cols + +Rules will appear between columns only. + + + +groups + +Rules will appear between row groups (thead, tfoot, tbody). +No support for rules between column groups yet. + + + + +none + +No rules. This is the default value. + + + + + + +The border after the last row and the border after +the last column are not affected by +this setting. Those borders are controlled by +the frame attribute on the table element. + + + + + + + +table.cell.padding +attribute set + + +table.cell.padding +Specifies the padding of table cells + + + + +<xsl:attribute-set name="table.cell.padding"> + <xsl:attribute name="padding-start">2pt</xsl:attribute> + <xsl:attribute name="padding-end">2pt</xsl:attribute> + <xsl:attribute name="padding-top">2pt</xsl:attribute> + <xsl:attribute name="padding-bottom">2pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies the padding of table cells. + + + + + + +table.frame.border.thickness +length + + +table.frame.border.thickness +Specifies the thickness of the frame border + + + + +<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param> + + + +Description + +Specifies the thickness of the border on the table's frame. + + + + + + +table.frame.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.frame.border.style +Specifies the border style of table frames + + + + +<xsl:param name="table.frame.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table frames. + + + + + + +table.frame.border.color +color + + +table.frame.border.color +Specifies the border color of table frames + + + + + +<xsl:param name="table.frame.border.color">black</xsl:param> + + + +Description + +Specifies the border color of table frames. + + + + + + +table.cell.border.thickness +length + + +table.cell.border.thickness +Specifies the thickness of table cell borders + + + + +<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param> + + + +Description + +If non-zero, specifies the thickness of borders on table +cells. The units are points. See +CSS + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.cell.border.style +Specifies the border style of table cells + + + + +<xsl:param name="table.cell.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table cells. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.color +color + + +table.cell.border.color +Specifies the border color of table cells + + + + + +<xsl:param name="table.cell.border.color">black</xsl:param> + + + +Description + +Set the color of table cell borders. If non-zero, the value is used +for the border coloration. See CSS. A +color is either a keyword or a numerical RGB specification. +Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, +navy, olive, orange, purple, red, silver, teal, white, and +yellow. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.table.properties +attribute set + + +table.table.properties +Properties associated with a table + + + + +<xsl:attribute-set name="table.table.properties"> + <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute> + <xsl:attribute name="border-collapse">collapse</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for tables. This parameter should really +have been called table.properties, but that parameter +name was inadvertently established for the block-level properties +of the table as a whole. + + +See also table.properties. + + + + + + +table.caption.properties +attribute set + + +table.caption.properties +Properties associated with a table caption + + + + +<xsl:attribute-set name="table.caption.properties"> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for table caption element (not the table title). + +See also table.properties. + + + + +Linking + + +current.docid +string + + +current.docid +targetdoc identifier for the document being +processed + + +<xsl:param name="current.docid"></xsl:param> + + +Description + +When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet +the targetdoc identifier of the current document, since that +identifier does not appear in the document itself. +This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature. + + + + + +activate.external.olinks +boolean + + +activate.external.olinks +Make external olinks into active links + + + + +<xsl:param name="activate.external.olinks" select="1"></xsl:param> + + + +Description + +If activate.external.olinks is nonzero +(the default), then any olinks that reference another document +become active links that can be clicked on to follow the link. +If the parameter is set to zero, then external olinks +will have the appropriate link text generated, but the link is +not made active. Olinks to destinations in +the current document remain active. + +To make an external olink active for HTML +outputs, the link text is wrapped in an a +element with an href attribute. To +make an external olink active for FO outputs, the link text is +wrapped in an fo:basic-link element with an +external-destination attribute. + +This parameter is useful when you need external olinks +to resolve but not be clickable. For example, if documents +in a collection are available independently of each other, +then having active links between them could lead to +unresolved links when a given target document is missing. + +The epub stylesheets set this parameter to zero by default +because there is no standard linking mechanism between Epub documents. + +If external links are made inactive, you should +consider setting the +stylesheet parameter olink.doctitle +to yes. That will append the external document's +title to the link text, making it easier for the user to +locate the other document. + +An olink is considered external when the +current.docid stylesheet parameter +is set to some value, and the olink's targetdoc +attribute has a different value. If the two values +match, then the link is considered internal. If the +current.docid parameter is blank, or +the olink element does not have a targetdoc attribute, +then the link is considered to be internal and will become +an active link. + +See also olink.doctitle, +prefer.internal.olink. + + + + + + +collect.xref.targets +list +no +yes +only + + +collect.xref.targets +Controls whether cross reference data is +collected + + +<xsl:param name="collect.xref.targets">no</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. +See also targets.filename. + + + + + + +insert.olink.page.number +list +no +yes +maybe + + +insert.olink.page.number +Turns page numbers in olinks on and off + + + + +<xsl:param name="insert.olink.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references made between documents with +olink will +include page number citations. +In most cases this is only applicable to references in printed output. + +The parameter has three possible values. + + + +no +No page number references will be generated for olinks. + + + +yes +Page number references will be generated +for all olink references. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an olink element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + +Olinks that point to targets within the same document +are treated as xrefs, and controlled by +the insert.xref.page.number parameter. + + +Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(div or obj) +must have a page attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. + + + + + + + + + +insert.olink.pdf.frag +boolean + + +insert.olink.pdf.frag +Add fragment identifiers for links into PDF files + + + + +<xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param> + + + +Description + +The value of this parameter determines whether +the cross reference URIs to PDF documents made with +olink will +include fragment identifiers. + + +When forming a URI to link to a PDF document, +a fragment identifier (typically a '#' followed by an +id value) appended to the PDF filename can be used by +the PDF viewer to open +the PDF file to a location within the document instead of +the first page. +However, not all PDF files have id +values embedded in them, and not all PDF viewers can +handle fragment identifiers. + + +If insert.olink.pdf.frag is set +to a non-zero value, then any olink targeting a +PDF file will have the fragment identifier appended to the URI. +The URI is formed by concatenating the value of the +olink.base.uri parameter, the +value of the baseuri +attribute from the document +element in the olink database with the matching +targetdoc value, +and the value of the href +attribute for the targeted element in the olink database. +The href attribute +contains the fragment identifier. + + +If insert.olink.pdf.frag is set +to zero (the default value), then +the href attribute +from the olink database +is not appended to PDF olinks, so the fragment identifier is left off. +A PDF olink is any olink for which the +baseuri attribute +from the matching document +element in the olink database ends with '.pdf'. +Any other olinks will still have the fragment identifier added. + + + + + + +olink.base.uri +uri + + +olink.base.uri +Base URI used in olink hrefs + + +<xsl:param name="olink.base.uri"></xsl:param> + + +Description + +When cross reference data is collected for resolving olinks, it +may be necessary to prepend a base URI to each target's href. This +parameter lets you set that base URI when cross reference data is +collected. This feature is needed when you want to link to a document +that is processed without chunking. The output filename for such a +document is not known to the XSL stylesheet; the only target +information consists of fragment identifiers such as +#idref. To enable the resolution of olinks between +documents, you should pass the name of the HTML output file as the +value of this parameter. Then the hrefs recorded in the cross +reference data collection look like +outfile.html#idref, which can be reached as links +from other documents. + + + + + +olink.debug +boolean + + +olink.debug +Turn on debugging messages for olinks + + + + +<xsl:param name="olink.debug" select="0"></xsl:param> + + + +Description + +If non-zero, then each olink will generate several +messages about how it is being resolved during processing. +This is useful when an olink does not resolve properly +and the standard error messages are not sufficient to +find the problem. + + +You may need to read through the olink XSL templates +to understand the context for some of the debug messages. + + + + + + + +olink.doctitle +list +no +yes +maybe + + +olink.doctitle +show the document title for external olinks? + + + +<xsl:param name="olink.doctitle">no</xsl:param> + + +Description + +When olinks between documents are resolved, the generated text +may not make it clear that the reference is to another document. +It is possible for the stylesheets to append the other document's +title to external olinks. For this to happen, two parameters must +be set. + + +This olink.doctitle parameter +should be set to either yes or maybe +to enable this feature. + + + +And you should also set the current.docid +parameter to the document id for the document currently +being processed for output. + + + + + +Then if an olink's targetdoc id differs from +the current.docid value, the stylesheet knows +that it is a reference to another document and can +append the target document's +title to the generated olink text. + +The text for the target document's title is copied from the +olink database from the ttl element +of the top-level div for that document. +If that ttl element is missing or empty, +no title is output. + + +The supported values for olink.doctitle are: + + + +yes + + +Always insert the title to the target document if it is not +the current document. + + + + +no + + +Never insert the title to the target document, even if requested +in an xrefstyle attribute. + + + + +maybe + + +Only insert the title to the target document, if requested +in an xrefstyle attribute. + + + + +An xrefstyle attribute +may override the global setting for individual olinks. +The following values are supported in an +xrefstyle +attribute using the select: syntax: + + + + +docname + + +Insert the target document name for this olink using the +docname gentext template, but only +if the value of olink.doctitle +is not no. + + + + +docnamelong + + +Insert the target document name for this olink using the +docnamelong gentext template, but only +if the value of olink.doctitle +is not no. + + + + +nodocname + + +Omit the target document name even if +the value of olink.doctitle +is yes. + + + + +Another way of inserting the target document name +for a single olink is to employ an +xrefstyle +attribute using the template: syntax. +The %o placeholder (the letter o, not zero) +in such a template +will be filled in with the target document's title when it is processed. +This will occur regardless of +the value of olink.doctitle. + +Note that prior to version 1.66 of the XSL stylesheets, +the allowed values for this parameter were 0 and 1. Those +values are still supported and mapped to 'no' and 'yes', respectively. + + + + + + +olink.lang.fallback.sequence +string + + +olink.lang.fallback.sequence +look up translated documents if olink not found? + + + +<xsl:param name="olink.lang.fallback.sequence"></xsl:param> + + +Description + + +This parameter defines a list of lang values +to search among to resolve olinks. + + +Normally an olink tries to resolve to a document in the same +language as the olink itself. The language of an olink +is determined by its nearest ancestor element with a +lang attribute, otherwise the +value of the l10n.gentext.default.lang +parameter. + + +An olink database can contain target data for the same +document in multiple languages. Each set of data has the +same value for the targetdoc attribute in +the document element in the database, but with a +different lang attribute value. + + +When an olink is being resolved, the target is first +sought in the document with the same language as the olink. +If no match is found there, then this parameter is consulted +for additional languages to try. + +The olink.lang.fallback.sequence +must be a whitespace separated list of lang values to +try. The first one with a match in the olink database is used. +The default value is empty. + +For example, a document might be written in German +and contain an olink with +targetdoc="adminguide". +When the document is processed, the processor +first looks for a target dataset in the +olink database starting with: + +<document targetdoc="adminguide" lang="de">. + + +If there is no such element, then the +olink.lang.fallback.sequence +parameter is consulted. +If its value is, for example, fr en, then the processor next +looks for targetdoc="adminguide" lang="fr", and +then for targetdoc="adminguide" lang="en". +If there is still no match, it looks for +targetdoc="adminguide" with no +lang attribute. + + +This parameter is useful when a set of documents is only +partially translated, or is in the process of being translated. +If a target of an olink has not yet been translated, then this +parameter permits the processor to look for the document in +other languages. This assumes the reader would rather have +a link to a document in a different language than to have +a broken link. + + + + + + + +olink.properties +attribute set + + +olink.properties +Properties associated with the cross-reference +text of an olink. + + + + +<xsl:attribute-set name="olink.properties"> + <xsl:attribute name="show-destination">replace</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the +fo:basic-link element of an olink. It is not applied to the +optional page number or optional title of the external +document. + + + + + + +prefer.internal.olink +boolean + + +prefer.internal.olink +Prefer a local olink reference to an external reference + + + + +<xsl:param name="prefer.internal.olink" select="0"></xsl:param> + + + +Description + +If you are re-using XML content modules in multiple documents, +you may want to redirect some of your olinks. This parameter +permits you to redirect an olink to the current document. + + +For example: you are writing documentation for a product, +which includes 3 manuals: a little installation +booklet (booklet.xml), a user +guide (user.xml), and a reference manual (reference.xml). +All 3 documents begin with the same introduction section (intro.xml) that +contains a reference to the customization section (custom.xml) which is +included in both user.xml and reference.xml documents. + + +How do you write the link to custom.xml in intro.xml +so that it is interpreted correctly in all 3 documents? + +If you use xref, it will fail in user.xml. + +If you use olink (pointing to reference.xml), +the reference in user.xml +will point to the customization section of the reference manual, while it is +actually available in user.xml. + + + +If you set the prefer.internal.olink +parameter to a non-zero value, then the processor will +first look in the olink database +for the olink's targetptr attribute value +in document matching the current.docid +parameter value. If it isn't found there, then +it tries the document in the database +with the targetdoc +value that matches the olink's targetdoc +attribute. + + +This feature permits an olink reference to resolve to +the current document if there is an element +with an id matching the olink's targetptr +value. The current document's olink data must be +included in the target database for this to work. + + +There is a potential for incorrect links if +the same id attribute value is used for different +content in different documents. +Some of your olinks may be redirected to the current document +when they shouldn't be. It is not possible to control +individual olink instances. + + + + + + + +target.database.document +uri + + +target.database.document +Name of master database file for resolving +olinks + + + + <xsl:param name="target.database.document">olinkdb.xml</xsl:param> + + +Description + + +To resolve olinks between documents, the stylesheets use a master +database document that identifies the target datafiles for all the +documents within the scope of the olinks. This parameter value is the +URI of the master document to be read during processing to resolve +olinks. The default value is olinkdb.xml. + +The data structure of the file is defined in the +targetdatabase.dtd DTD. The database file +provides the high level elements to record the identifiers, locations, +and relationships of documents. The cross reference data for +individual documents is generally pulled into the database using +system entity references or XIncludes. See also +targets.filename. + + + + +targets.filename +string + + +targets.filename +Name of cross reference targets data file + + +<xsl:param name="targets.filename">target.db</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter lets you change the name of the generated +file from the default name target.db. +The name must agree with that used in the target database +used to resolve olinks during processing. +See also target.database.document. + + + + + + +use.local.olink.style +boolean + + +use.local.olink.style +Process olinks using xref style of current +document + + +<xsl:param name="use.local.olink.style" select="0"></xsl:param> + +Description + +When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same. + + + +Cross References + + +insert.xref.page.number +list +no +yes +maybe + + +insert.xref.page.number +Turns page numbers in xrefs on and off + + + + +<xsl:param name="insert.xref.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references (xrefs) in +printed output will +include page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all xref elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an xref element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + + + + + + +xref.properties +attribute set + + +xref.properties +Properties associated with cross-reference text + + + + +<xsl:attribute-set name="xref.properties"> +</xsl:attribute-set> + + + +Description + +This attribute set is used to set properties +on cross reference text. + + + + + + +xref.label-title.separator +string + + +xref.label-title.separator +Punctuation or space separating label from title in xref + + + +<xsl:param name="xref.label-title.separator">: </xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and title, +then the value of this parameter is inserted between +label and title in the output. + + + + + + + +xref.label-page.separator +string + + +xref.label-page.separator +Punctuation or space separating label from page number in xref + + + +<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and page +but no title, +then the value of this parameter is inserted between +label and page number in the output. +If a title is included, then other separators are used. + + + + + + + +xref.title-page.separator +string + + +xref.title-page.separator +Punctuation or space separating title from page number in xref + + + +<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both title and page number, +then the value of this parameter is inserted between +title and page number in the output. + + + + + + + +insert.link.page.number +list +no +yes +maybe + + +insert.link.page.number +Turns page numbers in link elements on and off + + + + +<xsl:param name="insert.link.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references using the link element in +printed output will +include standard page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all link elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for a link element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + +Although the xrefstyle attribute +can be used to turn the page reference on or off, it cannot be +used to control the formatting of the page number as it +can in xref. +In link it will always format with +the style established by the +gentext template with name="page.citation" +in the l:context name="xref". + + + + +Lists + + +compact.list.item.spacing +attribute set + + +compact.list.item.spacing +What space do you want between list items (when spacing="compact")? + + + +<xsl:attribute-set name="compact.list.item.spacing"> + <xsl:attribute name="space-before.optimum">0em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify what spacing you want between each list item when +spacing is +compact. + + + + + +itemizedlist.properties +attribute set + + +itemizedlist.properties +Properties that apply to each list-block generated by itemizedlist. + + + +<xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by itemizedlist. + + + + + +itemizedlist.label.properties +attribute set + + +itemizedlist.label.properties +Properties that apply to each label inside itemized list. + + + +<xsl:attribute-set name="itemizedlist.label.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each label inside itemized list. E.g.: +<xsl:attribute-set name="itemizedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + + + + +itemizedlist.label.width +length + + + itemizedlist.label.width +The default width of the label (bullet) in an itemized list. + + + + + <xsl:param name="itemizedlist.label.width">1.0em</xsl:param> + + + +Description +Specifies the default width of the label (usually a bullet or other +symbol) in an itemized list. You can override the default value on any +particular list with the “dbfo” processing instruction using the +“label-width” pseudoattribute. + + + + + +list.block.properties +attribute set + + +list.block.properties +Properties that apply to each list-block generated by list. + + + +<xsl:attribute-set name="list.block.properties"> + <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> + <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by itemizedlist/orderedlist. + + + + + +list.block.spacing +attribute set + + +list.block.spacing +What spacing do you want before and after lists? + + + +<xsl:attribute-set name="list.block.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. + + + + + +list.item.spacing +attribute set + + +list.item.spacing +What space do you want between list items? + + + +<xsl:attribute-set name="list.item.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify what spacing you want between each list item. + + + + + +orderedlist.properties +attribute set + + +orderedlist.properties +Properties that apply to each list-block generated by orderedlist. + + + +<xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties"> + <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by orderedlist. + + + + + +orderedlist.label.properties +attribute set + + +orderedlist.label.properties +Properties that apply to each label inside ordered list. + + + +<xsl:attribute-set name="orderedlist.label.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each label inside ordered list. E.g.: +<xsl:attribute-set name="orderedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + + + + +orderedlist.label.width +length + + +orderedlist.label.width +The default width of the label (number) in an ordered list. + + + + +<xsl:param name="orderedlist.label.width">1.2em</xsl:param> + + + +Description +Specifies the default width of the label (usually a number or +sequence of numbers) in an ordered list. You can override the default +value on any particular list with the “dbfo” processing instruction +using the “label-width” pseudoattribute. + + + + + +variablelist.max.termlength +number + + +variablelist.max.termlength +Specifies the longest term in variablelists + + + + +<xsl:param name="variablelist.max.termlength">24</xsl:param> + + + +Description + +In variablelists, the listitem +is indented to leave room for the +term elements. That indent may be computed +if it is not specified with a termlength +attribute on the variablelist element. + + +The computation counts characters in the +term elements in the list +to find the longest term. However, some terms are very long +and would produce extreme indents. This parameter lets you +set a maximum character count. Any terms longer than the maximum +would line wrap. The default value is 24. + + +The character counts are converted to physical widths +by multiplying by 0.50em. There will be some variability +in how many actual characters fit in the space +since some characters are wider than others. + + + + + + + +variablelist.term.separator +string + + +variablelist.term.separator +Text to separate terms within a multi-term +varlistentry + + + + +<xsl:param name="variablelist.term.separator">, </xsl:param> + + +Description + +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is placed +after each term except the last. + + + To generate a line break between multiple terms in + a varlistentry, set a non-zero value for the + variablelist.term.break.after parameter. If + you do so, you may also want to set the value of the + variablelist.term.separator parameter to an + empty string (to suppress rendering of the default comma and space + after each term). + + + + + + + +variablelist.term.properties +attribute set + + +variablelist.term.properties +To add properties to the term elements in a variablelist. + + + + +<xsl:attribute-set name="variablelist.term.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +term in a variablelist. +Use this attribute-set to set +font properties or alignment, for example. + + + + + + +variablelist.term.break.after +boolean + + +variablelist.term.break.after +Generate line break after each term within a +multi-term varlistentry? + + + + +<xsl:param name="variablelist.term.break.after">0</xsl:param> + + +Description + +Set a non-zero value for the +variablelist.term.break.after parameter to +generate a line break between terms in a +multi-term varlistentry. + + +If you set a non-zero value for +variablelist.term.break.after, you may also +want to set the value of the +variablelist.term.separator parameter to an +empty string (to suppress rendering of the default comma and space +after each term). + + + + + +QAndASet + + +qandadiv.autolabel +boolean + + +qandadiv.autolabel +Are divisions in QAndASets enumerated? + + + +<xsl:param name="qandadiv.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, unlabeled qandadivs will be enumerated. + + + + + + + +qanda.inherit.numeration +boolean + + +qanda.inherit.numeration +Does enumeration of QandASet components inherit the numeration of parent elements? + + + + +<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param> + + + +Description + +If non-zero, numbered qandadiv elements and +question and answer inherit the enumeration of +the ancestors of the qandaset. + + + + + + + +qanda.defaultlabel +list +number +qanda +none + + +qanda.defaultlabel +Sets the default for defaultlabel on QandASet. + + + + +<xsl:param name="qanda.defaultlabel">number</xsl:param> + + + +Description + +If no defaultlabel attribute is specified on +a qandaset, this value is used. It is generally one of the legal +values for the defaultlabel attribute (none, +number or +qanda), or one of the additional stylesheet-specific values +(qnumber or qnumberanda). +The default value is 'number'. + +The values are rendered as follows: + +qanda + +questions are labeled "Q:" and +answers are labeled "A:". + + + +number + +The questions are enumerated and the answers +are not labeled. + + + +qnumber + +The questions are labeled "Q:" followed by a number, and answers are not +labeled. +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +qnumberanda + +The questions are labeled "Q:" followed by a number, and +the answers are labeled "A:". +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +none + +No distinguishing label precedes Questions or Answers. + + + + + + + + + + +qanda.in.toc +boolean + + +qanda.in.toc +Should qandaentry questions appear in +the document table of contents? + + + +<xsl:param name="qanda.in.toc" select="0"></xsl:param> + + +Description + +If true (non-zero), then the generated table of contents +for a document will include qandaset titles, +qandadiv titles, +and question elements. The default value (zero) excludes +them from the TOC. + +This parameter does not affect any tables of contents +that may be generated inside a qandaset or qandadiv. + + + + + + + +qanda.nested.in.toc +boolean + + +qanda.nested.in.toc +Should nested answer/qandaentry instances appear in TOC? + + + + +<xsl:param name="qanda.nested.in.toc" select="0"></xsl:param> + + + +Description + +If non-zero, instances of qandaentry +that are children of answer elements are shown in +the TOC. + + + + +Bibliography + + +bibliography.style +list +normal +iso690 + + +bibliography.style +Style used for formatting of biblioentries. + + + + +<xsl:param name="bibliography.style">normal</xsl:param> + + + +Description + +Currently only normal and +iso690 styles are supported. + +In order to use ISO690 style to the full extent you might need +to use additional markup described on the +following WiKi page. + + + + + + +biblioentry.item.separator +string + + +biblioentry.item.separator +Text to separate bibliography entries + + + +<xsl:param name="biblioentry.item.separator">. </xsl:param> + + +Description + +Text to separate bibliography entries + + + + + + + +bibliography.collection +string + + +bibliography.collection +Name of the bibliography collection file + + + + +<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param> + + + + +Description + +Maintaining bibliography entries across a set of documents is tedious, time +consuming, and error prone. It makes much more sense, usually, to store all of +the bibliography entries in a single place and simply extract +the ones you need in each document. + +That's the purpose of the +bibliography.collection parameter. To setup a global +bibliography database, follow these steps: + +First, create a stand-alone bibliography document that contains all of +the documents that you wish to reference. Make sure that each bibliography +entry (whether you use biblioentry or bibliomixed) +has an ID. + +My global bibliography, ~/bibliography.xml begins +like this: + + +<!DOCTYPE bibliography + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<bibliography><title>References</title> + +<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, +Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup +Language (XML) 1.0 Second Edition</ulink></citetitle>. +World Wide Web Consortium, 2000. +</bibliomixed> + +<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, +Dave Hollander, +and Andrew Layman, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in +XML</ulink></citetitle>. +World Wide Web Consortium, 1999. +</bibliomixed> + +<!-- ... --> +</bibliography> + + + +When you create a bibliography in your document, simply +provide empty bibliomixed +entries for each document that you wish to cite. Make sure that these +elements have the same ID as the corresponding real +entry in your global bibliography. + +For example: + + +<bibliography><title>Bibliography</title> + +<bibliomixed id="xml-rec"/> +<bibliomixed id="xml-names"/> +<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and +Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, +1986. ISBN 0-201-13437-3. +</bibliomixed> +<bibliomixed id="relaxng"/> + +</bibliography> + + +Note that it's perfectly acceptable to mix entries from your +global bibliography with normal entries. You can use +xref or other elements to cross-reference your +bibliography entries in exactly the same way you do now. + +Finally, when you are ready to format your document, simply set the +bibliography.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global bibliography. + +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the bibliography in your document as if +all of the entries referenced appeared there literally. + + + + + + +bibliography.numbered +boolean + + +bibliography.numbered +Should bibliography entries be numbered? + + + + +<xsl:param name="bibliography.numbered" select="0"></xsl:param> + + + +Description + +If non-zero bibliography entries will be numbered + + + + + + + biblioentry.properties + attribute set + + +biblioentry.properties +To set the style for biblioentry. + + + +<xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing"> + <xsl:attribute name="start-indent">0.5in</xsl:attribute> + <xsl:attribute name="text-indent">-0.5in</xsl:attribute> +</xsl:attribute-set> + + +Description +How do you want biblioentry styled? +Set the font-size, weight, space-above and space-below, indents, etc. to the style required + + + + +Glossary + + +glossterm.auto.link +boolean + + +glossterm.auto.link +Generate links from glossterm to glossentry automatically? + + + + +<xsl:param name="glossterm.auto.link" select="0"></xsl:param> + + + +Description + +If non-zero, links from inline glossterms to the corresponding +glossentry elements in a glossary or glosslist +will be automatically generated. This is useful when your glossterms are consistent +and you don't want to add links manually. + +The automatic link generation feature is not used on glossterm elements +that have a linkend attribute. + + + + + + +firstterm.only.link +boolean + + +firstterm.only.link +Does automatic glossterm linking only apply to firstterms? + + + + +<xsl:param name="firstterm.only.link" select="0"></xsl:param> + + + +Description + +If non-zero, only firstterms will be automatically linked +to the glossary. If glossary linking is not enabled, this parameter +has no effect. + + + + + + +glossary.collection +string + + +glossary.collection +Name of the glossary collection file + + + + +<xsl:param name="glossary.collection"></xsl:param> + + + +Description + +Glossaries maintained independently across a set of documents +are likely to become inconsistent unless considerable effort is +expended to keep them in sync. It makes much more sense, usually, to +store all of the glossary entries in a single place and simply +extract the ones you need in each document. + +That's the purpose of the +glossary.collection parameter. To setup a global +glossary database, follow these steps: + +Setting Up the Glossary Database + +First, create a stand-alone glossary document that contains all of +the entries that you wish to reference. Make sure that each glossary +entry has an ID. + +Here's an example glossary: + + + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glossary + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<glossary> +<glossaryinfo> +<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> +<title>Jargon File 4.2.3 (abridged)</title> +<releaseinfo>Just some test data</releaseinfo> +</glossaryinfo> + +<glossdiv><title>0</title> + +<glossentry> +<glossterm>0</glossterm> +<glossdef> +<para>Numeric zero, as opposed to the letter `O' (the 15th letter of +the English alphabet). In their unmodified forms they look a lot +alike, and various kluges invented to make them visually distinct have +compounded the confusion. If your zero is center-dotted and letter-O +is not, or if letter-O looks almost rectangular but zero looks more +like an American football stood on end (or the reverse), you're +probably looking at a modern character display (though the dotted zero +seems to have originated as an option on IBM 3270 controllers). If +your zero is slashed but letter-O is not, you're probably looking at +an old-style ASCII graphic set descended from the default typewheel on +the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, +curse this arrangement). (Interestingly, the slashed zero long +predates computers; Florian Cajori's monumental "A History of +Mathematical Notations" notes that it was used in the twelfth and +thirteenth centuries.) If letter-O has a slash across it and the zero +does not, your display is tuned for a very old convention used at IBM +and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> +arrangement even more, because it means two of their letters collide). +Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> +slash. Old CDC computers rendered letter O as an unbroken oval and 0 +as an oval broken at upper right and lower left. And yet another +convention common on early line printers left zero unornamented but +added a tail or hook to the letter-O so that it resembled an inverted +Q or cursive capital letter-O (this was endorsed by a draft ANSI +standard for how to draw ASCII characters, but the final standard +changed the distinguisher to a tick-mark in the upper-left corner). +Are we sufficiently confused yet?</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm>1TBS</glossterm> +<glossdef> +<para role="accidence"> +<phrase role="pronounce"></phrase> +<phrase role="partsofspeach">n</phrase> +</para> +<para>The "One True Brace Style"</para> +<glossseealso>indent style</glossseealso> +</glossdef> +</glossentry> + +<!-- ... --> + +</glossdiv> + +<!-- ... --> + +</glossary> + + + + +Marking Up Glossary Terms + +That takes care of the glossary database, now you have to get the entries +into your document. Unlike bibliography entries, which can be empty, creating +placeholder glossary entries would be very tedious. So instead, +support for glossary.collection relies on implicit linking. + +In your source document, simply use firstterm and +glossterm to identify the terms you wish to have included +in the glossary. The stylesheets assume that you will either set the +baseform attribute correctly, or that the +content of the element exactly matches a term in your glossary. + +If you're using a glossary.collection, don't +make explicit links on the terms in your document. + +So, in your document, you might write things like this: + + +<para>This is dummy text, without any real meaning. +The point is simply to reference glossary terms like <glossterm>0</glossterm> +and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. +The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly +religious issue.</para> + + +If you set the firstterm.only.link parameter, +only the terms marked with firstterm will be links. +Otherwise, all the terms will be linked. + + + +Marking Up the Glossary + +The glossary itself has to be identified for the stylesheets. For lack +of a better choice, the role is used. +To identify the glossary as the target for automatic processing, set +the role to auto. The title of this +glossary (and any other information from the glossaryinfo +that's rendered by your stylesheet) will be displayed, but the entries will +come from the database. + + +Unfortunately, the glossary can't be empty, so you must put in +at least one glossentry. The content of this entry +is irrelevant, it will not be rendered: + + +<glossary role="auto"> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + +What about glossary divisions? If your glossary database has glossary +divisions and your automatic glossary contains at least +one glossdiv, the automic glossary will have divisions. +If the glossdiv is missing from either location, no divisions +will be rendered. + +Glossary entries (and divisions, if appropriate) in the glossary will +occur in precisely the order they occur in your database. + + + +Formatting the Document + +Finally, when you are ready to format your document, simply set the +glossary.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global glossary. + +A relative path in the parameter is interpreted in one +of two ways: + + + If the parameter glossterm.auto.link + is set to zero, then the path is relative to the file containing + the empty glossary element in the document. + + + If the parameter glossterm.auto.link + is set to non-zero, then the path is relative to the file containing + the first inline glossterm or + firstterm in the document to be linked. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the glossary in your document as if +all of the entries implicilty referenced appeared there literally. + + +Limitations + +Glossary cross-references within the glossary are +not supported. For example, this will not work: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + +If you put glossary cross-references in your glossary that way, +you'll get the cryptic error: Warning: +glossary.collection specified, but there are 0 automatic +glossaries. + +Instead, you must do two things: + + + +Markup your glossary using glossseealso: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + + + +Make sure there is at least one glossterm reference to +gloss-2 in your document. The +easiest way to do that is probably within a remark in your +automatic glossary: + + +<glossary role="auto"> +<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + + + + + + + + + +glossary.as.blocks +boolean + + +glossary.as.blocks +Present glossarys using blocks instead of lists? + + + + +<xsl:param name="glossary.as.blocks" select="0"></xsl:param> + + + +Description + +If non-zero, glossarys will be formatted as +blocks. + +If you have long glossterms, proper list +markup in the FO case may produce unattractive lists. By setting this +parameter, you can force the stylesheets to produce block markup +instead of proper lists. + +You can override this setting with a processing instruction as the +child of glossary: dbfo +glossary-presentation="blocks" or dbfo +glossary-presentation="list" + + + + + + +glosslist.as.blocks +boolean + + +glosslist.as.blocks +Use blocks for glosslists? + + + + +<xsl:param name="glosslist.as.blocks" select="0"></xsl:param> + + + +Description + +See glossary.as.blocks. + + + + + + +glossentry.list.item.properties +attribute set + + +glossentry.list.item.properties +To add properties to each glossentry in a list. + + + +<xsl:attribute-set name="glossentry.list.item.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the fo:list-item containing a +glossentry in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +spacing between entries, for example. + + + + + + +glossterm.block.properties +attribute set + + +glossterm.block.properties +To add properties to the block of a glossentry's glossterm. + + + +<xsl:attribute-set name="glossterm.block.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +font properties, +and any indent for the glossary term. + + + + + + +glossdef.block.properties +attribute set + + +glossdef.block.properties +To add properties to the block of a glossary definition. + + + +<xsl:attribute-set name="glossdef.block.properties"> + <xsl:attribute name="margin-{$direction.align.start}">.25in</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +any font properties, +and any indent for the glossary definition. + + + + + + +glossterm.list.properties +attribute set + + +glossterm.list.properties +To add properties to the glossterm in a list. + + + + +<xsl:attribute-set name="glossterm.list.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +font properties, for example. + + + + + + +glossdef.list.properties +attribute set + + +glossdef.list.properties +To add properties to the glossary definition in a list. + + + + +<xsl:attribute-set name="glossdef.list.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is zero. +Use this attribute-set to set font properties, for example. + + + + + + +glossterm.width +length + + +glossterm.width +Width of glossterm in list presentation mode + + + + +<xsl:param name="glossterm.width">2in</xsl:param> + + + +Description + +This parameter specifies the width reserved for glossary terms when +a list presentation is used. + + + + + + +glossterm.separation +length + + +glossterm.separation +Separation between glossary terms and descriptions in list mode + + + + +<xsl:param name="glossterm.separation">0.25in</xsl:param> + + + +Description + +Specifies the miminum horizontal +separation between glossary terms and descriptions when +they are presented side-by-side using lists +when the glossary.as.blocks +is zero. + + + + + + +glossentry.show.acronym +list +no +yes +primary + + +glossentry.show.acronym +Display glossentry acronyms? + + + + +<xsl:param name="glossentry.show.acronym">no</xsl:param> + + + +Description + +A setting of yes means they should be displayed; +no means they shouldn't. If primary is used, +then they are shown as the primary text for the entry. + + +This setting controls both acronym and +abbrev elements in the glossentry. + + + + + + + +glossary.sort +boolean + + +glossary.sort +Sort glossentry elements? + + + + +<xsl:param name="glossary.sort" select="0"></xsl:param> + + + +Description + +If non-zero, then the glossentry elements within a +glossary, glossdiv, or glosslist are sorted on the glossterm, using +the current lang setting. If zero (the default), then +glossentry elements are not sorted and are presented +in document order. + + + + + +Miscellaneous + + +formal.procedures +boolean + + +formal.procedures +Selects formal or informal procedures + + + + +<xsl:param name="formal.procedures" select="1"></xsl:param> + + + +Description + +Formal procedures are numbered and always have a title. + + + + + + + +formal.title.placement +table + + +formal.title.placement +Specifies where formal object titles should occur + + + + +<xsl:param name="formal.title.placement"> +figure before +example before +equation before +table before +procedure before +task before +</xsl:param> + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + + + + +runinhead.default.title.end.punct +string + + +runinhead.default.title.end.punct +Default punctuation character on a run-in-head + + + +<xsl:param name="runinhead.default.title.end.punct">.</xsl:param> + + + +Description + +If non-zero, For a formalpara, use the specified +string as the separator between the title and following text. The period is the default value. + + + + + + +runinhead.title.end.punct +string + + +runinhead.title.end.punct +Characters that count as punctuation on a run-in-head + + + + +<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param> + + + +Description + +Specify which characters are to be counted as punctuation. These +characters are checked for a match with the last character of the +title. If no match is found, the +runinhead.default.title.end.punct contents are +inserted. This is to avoid duplicated punctuation in the output. + + + + + + + +show.comments +boolean + + +show.comments +Display remark elements? + + + + +<xsl:param name="show.comments" select="1"></xsl:param> + + + +Description + +If non-zero, comments will be displayed, otherwise they +are suppressed. Comments here refers to the remark element +(which was called comment prior to DocBook +4.0), not XML comments (<-- like this -->) which are +unavailable. + + + + + + + +punct.honorific +string + + +punct.honorific +Punctuation after an honorific in a personal name. + + + + +<xsl:param name="punct.honorific">.</xsl:param> + + + +Description + +This parameter specifies the punctuation that should be added after an +honorific in a personal name. + + + + + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + +<xsl:param name="segmentedlist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + + + + +variablelist.as.blocks +boolean + + +variablelist.as.blocks +Format variablelists lists as blocks? + + + + +<xsl:param name="variablelist.as.blocks" select="0"></xsl:param> + + + +Description + +If non-zero, variablelists will be formatted as +blocks. + +If you have long terms, proper list markup in the FO case may produce +unattractive lists. By setting this parameter, you can force the stylesheets +to produce block markup instead of proper lists. + +You can override this setting with a processing instruction as the +child of variablelist: dbfo +list-presentation="blocks" or dbfo +list-presentation="list". + +When using list-presentation="list", +you can also control the amount of space used for the terms with +the dbfo term-width=".25in" processing instruction, +the termlength attribute on variablelist, +or allow the stylesheets to attempt to calculate the amount of space to leave based on the +number of letters in the longest term. + + + <variablelist> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1.5in"?> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a list even if variablelist.as.blocks is set to 1. + </para> + </listitem> + </varlistentry> + </variablelist> + + + + + + + + + blockquote.properties + attribute set + + +blockquote.properties +To set the style for block quotations. + + + + +<xsl:attribute-set name="blockquote.properties"> +<xsl:attribute name="margin-{$direction.align.start}">0.5in</xsl:attribute> +<xsl:attribute name="margin-{$direction.align.end}">0.5in</xsl:attribute> +<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> +<xsl:attribute name="space-after.optimum">1em</xsl:attribute> +<xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The blockquote.properties attribute set specifies +the formating properties of block quotations. + + + + + + +ulink.show +boolean + + +ulink.show +Display URLs after ulinks? + + + + +<xsl:param name="ulink.show" select="1"></xsl:param> + + + +Description + +If non-zero, the URL of each ulink will +appear after the text of the link. If the text of the link and the URL +are identical, the URL is suppressed. + +See also ulink.footnotes. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.show applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + + + + +ulink.footnotes +boolean + + +ulink.footnotes +Generate footnotes for ulinks? + + + + +<xsl:param name="ulink.footnotes" select="0"></xsl:param> + + + +Description + +If non-zero, and if ulink.show also is non-zero, +the URL of each ulink will appear as a footnote. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.footnotes applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + + + + +ulink.hyphenate +string + + +ulink.hyphenate +Allow URLs to be automatically hyphenated + + + + +<xsl:param name="ulink.hyphenate"></xsl:param> + + + +Description + +If not empty, the specified character (or more generally, +content) is added to URLs after every character included in the string +in the ulink.hyphenate.chars parameter (default +is /) to enable hyphenation of ulinks. If the character +in this parameter is a Unicode soft hyphen (0x00AD) or Unicode +zero-width space (0x200B), some FO processors will be able to +reasonably hyphenate long URLs. + +Note that this hyphenation process is only applied when the +ulink element is empty and the url attribute is reused as the link +text. It is not applied if the ulink has literal text content. The +same applies in in DocBook 5, where ulink was replaced with link with +an xlink:href attribute. + + + + + + +ulink.hyphenate.chars +string + + +ulink.hyphenate.chars +List of characters to allow ulink URLs to be automatically +hyphenated on + + + + +<xsl:param name="ulink.hyphenate.chars">/</xsl:param> + + + +Description + +If the ulink.hyphenate parameter is not +empty, then hyphenation of ulinks is turned on, and any character +contained in this parameter is treated as an allowable hyphenation +point. This and ulink.hyphenate work together, +one is pointless without the other being set to a non-empty value + +The default value is /, but the parameter could +be customized to contain other URL characters, as for example: + +<xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param> + + + + + + + +shade.verbatim +boolean + + +shade.verbatim +Should verbatim environments be shaded? + + + +<xsl:param name="shade.verbatim" select="0"></xsl:param> + + +Description + +In the FO stylesheet, if this parameter is non-zero then the +shade.verbatim.style properties will be applied +to verbatim environments. + +In the HTML stylesheet, this parameter is now deprecated. Use +CSS instead. + + + + + + +shade.verbatim.style +attribute set + + +shade.verbatim.style +Properties that specify the style of shaded verbatim listings + + + + + +<xsl:attribute-set name="shade.verbatim.style"> + <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties that specify the style of shaded verbatim listings. The +parameters specified (the border and background color) are added to +the styling of the xsl-fo output. A border might be specified as "thin +black solid" for example. See xsl-fo + + + + + + +hyphenate.verbatim +boolean + + +hyphenate.verbatim +Should verbatim environments be hyphenated on space characters? + + + +<xsl:param name="hyphenate.verbatim" select="0"></xsl:param> + + +Description + +If the lines of program listing are too long to fit into one +line it is quite common to split them at space and indicite by hook +arrow that code continues on the next line. You can turn on this +behaviour for programlisting, +screen and synopsis elements by +using this parameter. + +Note that you must also enable line wrapping for verbatim environments and +select appropriate hyphenation character (e.g. hook arrow). This can +be done using monospace.verbatim.properties +attribute set: + +<xsl:attribute-set name="monospace.verbatim.properties" + use-attribute-sets="verbatim.properties monospace.properties"> + <xsl:attribute name="wrap-option">wrap</xsl:attribute> + <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute> +</xsl:attribute-set> + +For a list of arrows available in Unicode see http://www.unicode.org/charts/PDF/U2190.pdf and http://www.unicode.org/charts/PDF/U2900.pdf and make sure that +selected character is available in the font you are using for verbatim +environments. + + + + + + +hyphenate.verbatim.characters +string + + +hyphenate.verbatim.characters +List of characters after which a line break can occur in listings + + + + +<xsl:param name="hyphenate.verbatim.characters"></xsl:param> + + + +Description + +If you enable hyphenate.verbatim line +breaks are allowed only on space characters. If this is not enough for +your document, you can specify list of additional characters after +which line break is allowed in this parameter. + + + + + + +use.svg +boolean + + +use.svg +Allow SVG in the result tree? + + + + +<xsl:param name="use.svg" select="1"></xsl:param> + + + +Description + +If non-zero, SVG will be considered an acceptable image format. SVG +is passed through to the result tree, so correct rendering of the resulting +diagram depends on the formatter (FO processor or web browser) that is used +to process the output from the stylesheet. + + + + + + +use.role.as.xrefstyle +boolean + + +use.role.as.xrefstyle +Use role attribute for +xrefstyle on xref? + + + + +<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param> + + + +Description + +In DocBook documents that conform to a schema older than V4.3, this parameter allows +role to serve the purpose of specifying the cross reference style. + +If non-zero, the role attribute on +xref will be used to select the cross reference style. +In DocBook V4.3, the xrefstyle attribute was added for this purpose. +If the xrefstyle attribute is present, +role will be ignored, regardless of the setting +of this parameter. + + + +Example + +The following small stylesheet shows how to configure the +stylesheets to make use of the cross reference style: + +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../xsl/html/docbook.xsl"/> + +<xsl:output method="html"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:context name="xref"> + <l:template name="chapter" style="title" text="Chapter %n, %t"/> + <l:template name="chapter" text="Chapter %n"/> + </l:context> + </l:l10n> +</l:i18n> + +</xsl:stylesheet> + +With this stylesheet, the cross references in the following document: + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<book id="book"><title>Book</title> + +<preface> +<title>Preface</title> + +<para>Normal: <xref linkend="ch1"/>.</para> +<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para> + +</preface> + +<chapter id="ch1"> +<title>First Chapter</title> + +<para>Irrelevant.</para> + +</chapter> +</book> + +will appear as: + + +Normal: Chapter 1. +Title: Chapter 1, First Chapter. + + + + + + + +menuchoice.separator +string + + +menuchoice.separator +Separator between items of a menuchoice +other than guimenuitem and +guisubmenu + + + + +<xsl:param name="menuchoice.separator">+</xsl:param> + + + +Description + +Separator used to connect items of a menuchoice other +than guimenuitem and guisubmenu. The latter +elements are linked with menuchoice.menu.separator. + + + + + + + +menuchoice.menu.separator +string + + +menuchoice.menu.separator +Separator between items of a menuchoice +with guimenuitem or +guisubmenu + + + + +<xsl:param name="menuchoice.menu.separator"> → </xsl:param> + + + +Description + +Separator used to connect items of a menuchoice with +guimenuitem or guisubmenu. Other elements +are linked with menuchoice.separator. + +The default value is &#x2192;, which is the +&rarr; (right arrow) character entity. +The current FOP (0.20.5) requires setting the font-family +explicitly. + +The default value also includes spaces around the arrow, +which will allow a line to break. Replace the spaces with +&#xA0; (nonbreaking space) if you don't want those +spaces to break. + + + + + + + +default.float.class +string + + +default.float.class +Specifies the default float class + + + + +<xsl:param name="default.float.class"> + <xsl:choose> + <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when> + <xsl:otherwise>before</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +Selects the direction in which a float should be placed. for +xsl-fo this is before, for html it is left. For Western texts, the +before direction is the top of the page. + + + + + + +footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +footnote.number.format +Identifies the format used for footnote numbers + + + + +<xsl:param name="footnote.number.format">1</xsl:param> + + + +Description + +The footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A). + + + + + + +table.footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +table.footnote.number.format +Identifies the format used for footnote numbers in tables + + + + +<xsl:param name="table.footnote.number.format">a</xsl:param> + + + +Description + +The table.footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A) in tables. + + + + + + +footnote.number.symbols + + + +footnote.number.symbols +Special characters to use as footnote markers + + + + +<xsl:param name="footnote.number.symbols"></xsl:param> + + + +Description + +If footnote.number.symbols is not the empty string, +footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +table.footnote.number.symbols +string + + +table.footnote.number.symbols +Special characters to use a footnote markers in tables + + + + +<xsl:param name="table.footnote.number.symbols"></xsl:param> + + + +Description + +If table.footnote.number.symbols is not the empty string, +table footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +table.footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +footnote.properties +attribute set + + +footnote.properties +Properties applied to each footnote body + + + + + +<xsl:attribute-set name="footnote.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> + <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute> + <xsl:attribute name="start-indent">0pt</xsl:attribute> + <xsl:attribute name="end-indent">0pt</xsl:attribute> + <xsl:attribute name="text-indent">0pt</xsl:attribute> + <xsl:attribute name="hyphenate"><xsl:value-of select="$hyphenate"></xsl:value-of></xsl:attribute> + <xsl:attribute name="wrap-option">wrap</xsl:attribute> + <xsl:attribute name="linefeed-treatment">treat-as-space</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote-block +for each footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all footnotes. + + + + + + +table.footnote.properties +attribute set + + +table.footnote.properties +Properties applied to each table footnote body + + + + + +<xsl:attribute-set name="table.footnote.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> + <xsl:attribute name="space-before">2pt</xsl:attribute> + <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote-block +for each table footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all table footnotes. + + + + + + +footnote.mark.properties +attribute set + + +footnote.mark.properties +Properties applied to each footnote mark + + + + + +<xsl:attribute-set name="footnote.mark.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size">75%</xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote mark used +for each footnote. +It should contain only inline properties. + + +The property to make the mark a superscript is contained in the +footnote template itself, because the current version of FOP reports +an error if baseline-shift is used. + + + + + + + +footnote.sep.leader.properties +attribute set + + +footnote.sep.leader.properties +Properties associated with footnote separators + + + + +<xsl:attribute-set name="footnote.sep.leader.properties"> + <xsl:attribute name="color">black</xsl:attribute> + <xsl:attribute name="leader-pattern">rule</xsl:attribute> + <xsl:attribute name="leader-length">1in</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for the rule line that separates the +footnotes from the body text. +These are properties applied to the fo:leader used as +the separator. + +If you want to do more than just set properties on +the leader element, then you can customize the template +named footnote.separator in +fo/pagesetup.xsl. + + + + + + +xref.with.number.and.title +boolean + + +xref.with.number.and.title +Use number and title in cross references + + + + +<xsl:param name="xref.with.number.and.title" select="1"></xsl:param> + + + +Description + +A cross reference may include the number (for example, the number of +an example or figure) and the title which is a required child of some +targets. This parameter inserts both the relevant number as well as +the title into the link. + + + + + + +superscript.properties +attribute set + + +superscript.properties +Properties associated with superscripts + + + + +<xsl:attribute-set name="superscript.properties"> + <xsl:attribute name="font-size">75%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies styling properties for superscripts. + + + + + + +subscript.properties +attribute set + + +subscript.properties +Properties associated with subscripts + + + + +<xsl:attribute-set name="subscript.properties"> + <xsl:attribute name="font-size">75%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies styling properties for subscripts. + + + + + + +pgwide.properties +attribute set + + +pgwide.properties +Properties to make a figure or table page wide. + + + + + +<xsl:attribute-set name="pgwide.properties"> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is used to set the properties +that make a figure or table "page wide" in fo output. +It comes into effect when an attribute pgwide="1" +is used. + + + +By default, it sets start-indent +to 0pt. +In a stylesheet that sets the parameter +body.start.indent +to a non-zero value in order to indent body text, +this attribute set can be used to outdent pgwide +figures to the start margin. + + +If a document uses a multi-column page layout, +then this attribute set could try setting span +to a value of all. However, this may +not work with some processors because a span property must be on an +fo:block that is a direct child of fo:flow. It may work in +some processors anyway. + + + + + + + +highlight.source +boolean + + +highlight.source +Should the content of programlisting +be syntactically highlighted? + + + + +<xsl:param name="highlight.source" select="0"></xsl:param> + + + +Description + +When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the +content of programlisting elements. You specify the language for each programlisting +by using the language attribute. The highlight.default.language +parameter can be used to specify the language for programlistings without a language +attribute. Syntax highlighting also works for screen and synopsis elements. + +The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be +downloaded separately (see below). + + +In order to use this extension, you must + +add xslthl-2.x.x.jar to your Java classpath. The latest version is available +from the XSLT syntax highlighting project +at SourceForge. + + +use a customization layer in which you import one of the following stylesheet modules: + + + html/highlight.xsl + + + + xhtml/highlight.xsl + + + + xhtml-1_1/highlight.xsl + + + + fo/highlight.xsl + + + + + +let either the xslthl.config Java system property or the +highlight.xslthl.config parameter point to the configuration file for syntax +highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file, +highlighting/xslthl-config.xml. + + + +The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is +an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.) + +The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows: + + +java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar +-Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet +-o test.html test.xml myhtml.xsl + + + + + + + +highlight.xslthl.config +uri + + +highlight.xslthl.config +Location of XSLTHL configuration file + + + + +<xsl:param name="highlight.xslthl.config"></xsl:param> + + + +Description + +This location has precedence over the corresponding Java property. + +Please note that usually you have to specify location as URL not +just as a simple path on the local +filesystem. E.g. file:///home/user/xslthl/my-xslthl-config.xml. + + + + + + + + +highlight.default.language +string + + +highlight.default.language +Default language of programlisting + + + + +<xsl:param name="highlight.default.language"></xsl:param> + + + +Description + +This language is used when there is no language attribute on programlisting. + + + + + + +email.delimiters.enabled +boolean + + +email.delimiters.enabled +Generate delimiters around email addresses? + + + + +<xsl:param name="email.delimiters.enabled" select="1"></xsl:param> + + + +Description + +If non-zero, delimiters + +For delimiters, the +stylesheets are currently hard-coded to output angle +brackets. + +are generated around e-mail addresses +(the output of the email element). + + + + + + +email.mailto.enabled +boolean + + +email.mailto.enabled +Generate mailto: links for email addresses? + + + + +<xsl:param name="email.mailto.enabled" select="0"></xsl:param> + + + +Description + +If non-zero the generated output for the email element +will be a clickable mailto: link that brings up the default mail client +on the system. + + + + + + +section.container.element +list +block +wrapper + + +section.container.element +Select XSL-FO element name to contain sections + + + + +<xsl:param name="section.container.element">block</xsl:param> + + + +Description + +Selects the element name for outer container of +each section. The choices are block (default) +or wrapper. +The fo: namespace prefix is added +by the stylesheet to form the full element name. + + +This element receives the section id +attribute and the appropriate section level attribute-set. + + +Changing this parameter to wrapper +is only necessary when producing multi-column output +that contains page-wide spans. Using fo:wrapper +avoids the nesting of fo:block +elements that prevents spans from working (the standard says +a span must be on a block that is a direct child of +fo:flow). + + +If set to wrapper, the +section attribute-sets only support properties +that are inheritable. That's because there is no +block to apply them to. Properties such as +font-family are inheritable, but properties such as +border are not. + + +Only some XSL-FO processors need to use this parameter. +The Antenna House processor, for example, will handle +spans in nested blocks without changing the element name. +The RenderX XEP product and FOP follow the XSL-FO standard +and need to use wrapper. + + + + + + + +monospace.verbatim.font.width +length + + +monospace.verbatim.font.width +Width of a single monospace font character + + + + +<xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param> + + + +Description + +Specifies with em units the width of a single character +of the monospace font. The default value is 0.6em. + +This parameter is only used when a screen +or programlisting element has a +width attribute, which is +expressed as a plain integer to indicate the maximum character count +of each line. +To convert this character count to an actual maximum width +measurement, the width of the font characters must be provided. +Different monospace fonts have different character width, +so this parameter should be adjusted to fit the +monospace font being used. + + + + + + + +exsl.node.set.available +boolean + + +exsl.node.set.available +Is the test function-available('exsl:node-set') true? + + + +<xsl:param name="exsl.node.set.available"> + <xsl:choose> + <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +If non-zero, +then the exsl:node-set() function is available to be used in +the stylesheet. +If zero, then the function is not available. +This param automatically detects the presence of +the function and does not normally need to be set manually. + +This param was created to handle a long-standing +bug in the Xalan processor that fails to detect the +function even though it is available. + + + + + + +bookmarks.collapse +boolean + + +bookmarks.collapse +Specifies the initial state of bookmarks + + + + +<xsl:param name="bookmarks.collapse" select="1"></xsl:param> + + + +Description + +If non-zero, the bookmark tree is collapsed so that only the +top-level bookmarks are displayed initially. Otherwise, the whole tree +of bookmarks is displayed. + +This parameter currently works with FOP 0.93 or later. + + + + + + +generate.consistent.ids +boolean + + +generate.consistent.ids +Generate consistent id values if document is unchanged + + + + +<xsl:param name="generate.consistent.ids" select="0"></xsl:param> + + + +Description + +When the stylesheet assigns an id value to an output element, +the generate-id() function may be used. That function may not +produce consistent values between runs. Version control +systems may misidentify the changing id values as changes +to the document. + +If you set this parameter's value to 1, then the +template named object.id will replace +the use of the function generate-id() with +<xsl:number level="multiple" count="*"/>. +This counts preceding elements to generate a unique number for +the id value. + + +This param does not associate permanent unique id values +with particular elements. +The id values are consistent only as long as the document +structure does not change. +If the document structure changes, then the counting +of elements changes, and all id values after +the first such change may be different, even when there is +no change to the element itself or its output. + + + +The default value of this parameter is zero, so generate-id() is used +by default. + + + + + + +base.dir +uri + + +base.dir +The base directory of chunks + + + + +<xsl:param name="base.dir"></xsl:param> + + + +Description + +If specified, the base.dir parameter identifies +the output directory for chunks. (If not specified, the output directory +is system dependent.) + +Starting with version 1.77 of the stylesheets, +the param's value will have a trailing slash added if it does +not already have one. + +Do not use base.dir +to add a filename prefix string to chunked files. +Instead, use the chunked.filename.prefix +parameter. + + + + + + +chunk.quietly +boolean + + +chunk.quietly +Omit the chunked filename messages. + + + + +<xsl:param name="chunk.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), the XSL processor emits a message naming +each separate chunk filename as it is being output. +If nonzero, then the messages are suppressed. + + + + + +Graphics + + +graphic.default.extension +string + + +graphic.default.extension +Default extension for graphic filenames + + + +<xsl:param name="graphic.default.extension"></xsl:param> + + +Description + +If a graphic or mediaobject +includes a reference to a filename that does not include an extension, +and the format attribute is +unspecified, the default extension will be used. + + + + + + + +default.image.width +length + + +default.image.width +The default width of images + + + + +<xsl:param name="default.image.width"></xsl:param> + + + +Description + +If specified, this value will be used for the +width attribute on images that do not specify any +viewport dimensions. + + + + + + +preferred.mediaobject.role +string + + +preferred.mediaobject.role +Select which mediaobject to use based on +this value of an object's role attribute. + + + + + +<xsl:param name="preferred.mediaobject.role"></xsl:param> + + + +Description + +A mediaobject may contain several objects such as imageobjects. +If the parameter use.role.for.mediaobject is +non-zero, then the role attribute on +imageobjects and other objects within a +mediaobject container will be used to select which object +will be used. If one of the objects has a role value that matches the +preferred.mediaobject.role parameter, then it +has first priority for selection. If more than one has such a role +value, the first one is used. + + +See the use.role.for.mediaobject parameter +for the sequence of selection. + + + + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + +<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param> + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + + + + +ignore.image.scaling +boolean + + +ignore.image.scaling +Tell the stylesheets to ignore the author's image scaling attributes + + + + +<xsl:param name="ignore.image.scaling" select="0"></xsl:param> + + + +Description + +If non-zero, the scaling attributes on graphics and media objects are +ignored. + + + + + + +img.src.path +string + + +img.src.path +Path to HTML/FO image files + + + +<xsl:param name="img.src.path"></xsl:param> + + +Description + +Add a path prefix to the value of the fileref +attribute of graphic, inlinegraphic, and imagedata elements. The resulting +compound path is used in the output as the value of the src +attribute of img (HTML) or external-graphic (FO). + + + +The path given by img.src.path could be relative to the directory where the HTML/FO +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + + + + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + + +<xsl:param name="keep.relative.image.uris" select="0"></xsl:param> + + + +Description + +If non-zero, relative URIs (in, for example +fileref attributes) will be used in the generated +output. Otherwise, the URIs will be made absolute with respect to the +base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + + + +Pagination and General Styles + +
    Understanding XSL FO Margins + +To make sense of the parameters in this section, it's useful to +consider . + +
    + Page Model + + + + + + + + Figure showing page margins + + This figure shows the physical page with the various FO page regions + identified. + + +
    + +First, let's consider the regions on the page. + +The white region is the physical page. Its dimensions are determined by +the page.height and page.width +parameters. + +The yellow region is the region-body. The size and placement of +the region body is constrained by the dimensions labelled in the +figure. + +The pink region at the top of the page is the region-before. The +darker area inside the region-before is the header text. In XSL, the default +display alignment for a region is before, but the +DocBook stylesheets still explicitly make it before. That's +why the darker area is at the top. + +The pink region at the bottom of the page is the region-after. +The darker area is the footer text. In XSL, the default display +alignment for a region is before, +but the DocBook stylesheets explicitly make it +after. That's why the darker area is at the bottom. + +The dimensions in the figure are: + + +The page-master margin-top. + +The region-before extent. + +The region-body margin-top. + +The region-after extent. + +The page-master margin-bottom. + +The region-body margin-bottom. + +The sum of the page-master margin-left and the +region-body margin-left. In DocBook, the region-body margin-left is +zero by default, so this is simply the page-master margin-left. + +The sum of the page-master margin-right and the +region-body margin-right. In DocBook, the region-body margin-right is +zero by default, so this is simply the page-master margin-right. + + + +
    +
    + + + +page.height +length + + +page.height +The height of the physical page + + + +<xsl:param name="page.height"> + <xsl:choose> + <xsl:when test="$page.orientation = 'portrait'"> + <xsl:value-of select="$page.height.portrait"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$page.width.portrait"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The page height is generally calculated from the +paper.type and +page.orientation parameters. + + + + + + + +page.height.portrait +length + + +page.height.portrait +Specify the physical size of the long edge of the page + + + +<xsl:param name="page.height.portrait"> + <xsl:choose> + <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when> + <xsl:when test="$paper.type = 'USletter'">11in</xsl:when> + <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlegal'">14in</xsl:when> + <xsl:when test="$paper.type = 'USlegallandscape'">8.5in</xsl:when> + <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when> + <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when> + <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when> + <xsl:when test="$paper.type = 'A1'">841mm</xsl:when> + <xsl:when test="$paper.type = 'A2'">594mm</xsl:when> + <xsl:when test="$paper.type = 'A3'">420mm</xsl:when> + <xsl:when test="$paper.type = 'A4'">297mm</xsl:when> + <xsl:when test="$paper.type = 'A5'">210mm</xsl:when> + <xsl:when test="$paper.type = 'A6'">148mm</xsl:when> + <xsl:when test="$paper.type = 'A7'">105mm</xsl:when> + <xsl:when test="$paper.type = 'A8'">74mm</xsl:when> + <xsl:when test="$paper.type = 'A9'">52mm</xsl:when> + <xsl:when test="$paper.type = 'A10'">37mm</xsl:when> + <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when> + <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when> + <xsl:when test="$paper.type = 'B2'">707mm</xsl:when> + <xsl:when test="$paper.type = 'B3'">500mm</xsl:when> + <xsl:when test="$paper.type = 'B4'">353mm</xsl:when> + <xsl:when test="$paper.type = 'B5'">250mm</xsl:when> + <xsl:when test="$paper.type = 'B6'">176mm</xsl:when> + <xsl:when test="$paper.type = 'B7'">125mm</xsl:when> + <xsl:when test="$paper.type = 'B8'">88mm</xsl:when> + <xsl:when test="$paper.type = 'B9'">62mm</xsl:when> + <xsl:when test="$paper.type = 'B10'">44mm</xsl:when> + <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when> + <xsl:when test="$paper.type = 'C1'">917mm</xsl:when> + <xsl:when test="$paper.type = 'C2'">648mm</xsl:when> + <xsl:when test="$paper.type = 'C3'">458mm</xsl:when> + <xsl:when test="$paper.type = 'C4'">324mm</xsl:when> + <xsl:when test="$paper.type = 'C5'">229mm</xsl:when> + <xsl:when test="$paper.type = 'C6'">162mm</xsl:when> + <xsl:when test="$paper.type = 'C7'">114mm</xsl:when> + <xsl:when test="$paper.type = 'C8'">81mm</xsl:when> + <xsl:when test="$paper.type = 'C9'">57mm</xsl:when> + <xsl:when test="$paper.type = 'C10'">40mm</xsl:when> + <xsl:otherwise>11in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The portrait page height is the length of the long +edge of the physical page. + + + + + + + +page.margin.bottom +length + + +page.margin.bottom +The bottom margin of the page + + + + +<xsl:param name="page.margin.bottom">0.5in</xsl:param> + + + +Description + +The bottom page margin is the distance from the bottom of the region-after +to the physical bottom of the page. + + + + + + + +page.margin.inner +length + + +page.margin.inner +The inner page margin + + + +<xsl:param name="page.margin.inner"> + <xsl:choose> + <xsl:when test="$double.sided != 0">1.25in</xsl:when> + <xsl:otherwise>1in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The inner page margin is the distance from bound edge of the +page to the first column of text. + +The inner page margin is the distance from bound edge of the +page to the outer edge of the first column of text. + +In left-to-right text direction, +this is the left margin of recto (front side) pages. +For single-sided output, it is the left margin +of all pages. + +In right-to-left text direction, +this is the right margin of recto pages. +For single-sided output, this is the +right margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + + + + +page.margin.outer +length + + +page.margin.outer +The outer page margin + + + +<xsl:param name="page.margin.outer"> + <xsl:choose> + <xsl:when test="$double.sided != 0">0.75in</xsl:when> + <xsl:otherwise>1in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The outer page margin is the distance from non-bound edge of the +page to the outer edge of the last column of text. + +In left-to-right text direction, +this is the right margin of recto (front side) pages. +For single-sided output, it is the right margin +of all pages. + +In right-to-left text direction, +this is the left margin of recto pages. +For single-sided output, this is the +left margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + + + + +page.margin.top +length + + +page.margin.top +The top margin of the page + + + + +<xsl:param name="page.margin.top">0.5in</xsl:param> + + + +Description + +The top page margin is the distance from the physical top of the +page to the top of the region-before. + + + + + + +page.orientation +list +portrait +landscape + + +page.orientation +Select the page orientation + + + + +<xsl:param name="page.orientation">portrait</xsl:param> + + + +Description + + Select one from portrait or landscape. +In portrait orientation, the short edge is horizontal; in +landscape orientation, it is vertical. + + + + + + + +page.width +length + + +page.width +The width of the physical page + + + +<xsl:param name="page.width"> + <xsl:choose> + <xsl:when test="$page.orientation = 'portrait'"> + <xsl:value-of select="$page.width.portrait"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$page.height.portrait"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The page width is generally calculated from the +paper.type and +page.orientation parameters. + + + + + + +page.width.portrait +length + + +page.width.portrait +Specify the physical size of the short edge of the page + + + +<xsl:param name="page.width.portrait"> + <xsl:choose> + <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlandscape'">11in</xsl:when> + <xsl:when test="$paper.type = 'USlegal'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlegallandscape'">14in</xsl:when> + <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when> + <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when> + <xsl:when test="$paper.type = 'A0'">841mm</xsl:when> + <xsl:when test="$paper.type = 'A1'">594mm</xsl:when> + <xsl:when test="$paper.type = 'A2'">420mm</xsl:when> + <xsl:when test="$paper.type = 'A3'">297mm</xsl:when> + <xsl:when test="$paper.type = 'A4'">210mm</xsl:when> + <xsl:when test="$paper.type = 'A5'">148mm</xsl:when> + <xsl:when test="$paper.type = 'A6'">105mm</xsl:when> + <xsl:when test="$paper.type = 'A7'">74mm</xsl:when> + <xsl:when test="$paper.type = 'A8'">52mm</xsl:when> + <xsl:when test="$paper.type = 'A9'">37mm</xsl:when> + <xsl:when test="$paper.type = 'A10'">26mm</xsl:when> + <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when> + <xsl:when test="$paper.type = 'B1'">707mm</xsl:when> + <xsl:when test="$paper.type = 'B2'">500mm</xsl:when> + <xsl:when test="$paper.type = 'B3'">353mm</xsl:when> + <xsl:when test="$paper.type = 'B4'">250mm</xsl:when> + <xsl:when test="$paper.type = 'B5'">176mm</xsl:when> + <xsl:when test="$paper.type = 'B6'">125mm</xsl:when> + <xsl:when test="$paper.type = 'B7'">88mm</xsl:when> + <xsl:when test="$paper.type = 'B8'">62mm</xsl:when> + <xsl:when test="$paper.type = 'B9'">44mm</xsl:when> + <xsl:when test="$paper.type = 'B10'">31mm</xsl:when> + <xsl:when test="$paper.type = 'C0'">917mm</xsl:when> + <xsl:when test="$paper.type = 'C1'">648mm</xsl:when> + <xsl:when test="$paper.type = 'C2'">458mm</xsl:when> + <xsl:when test="$paper.type = 'C3'">324mm</xsl:when> + <xsl:when test="$paper.type = 'C4'">229mm</xsl:when> + <xsl:when test="$paper.type = 'C5'">162mm</xsl:when> + <xsl:when test="$paper.type = 'C6'">114mm</xsl:when> + <xsl:when test="$paper.type = 'C7'">81mm</xsl:when> + <xsl:when test="$paper.type = 'C8'">57mm</xsl:when> + <xsl:when test="$paper.type = 'C9'">40mm</xsl:when> + <xsl:when test="$paper.type = 'C10'">28mm</xsl:when> + <xsl:otherwise>8.5in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The portrait page width is the length of the short +edge of the physical page. + + + + + + + +paper.type +list +open +open +USletter8.5x11in +USlandscape11x8.5in +USlegal8.5inx14in +USlegallandscape14inx8.5in +4A02378x1682mm +2A01682x1189mm +A01189x841mm +A1841x594mm +A2594x420mm +A3420x297mm +A4297x210mm +A5210x148mm +A6148x105mm +A7105x74mm +A874x52mm +A952x37mm +A1037x26mm +B01414x1000mm +B11000x707mm +B2707x500mm +B3500x353mm +B4353x250mm +B5250x176mm +B6176x125mm +B7125x88mm +B888x62mm +B962x44mm +B1044x31mm +C01297x917mm +C1917x648mm +C2648x458mm +C3458x324mm +C4324x229mm +C5229x162mm +C6162x114mm +C7114x81mm +C881x57mm +C957x40mm +C1040x28mm + + +paper.type +Select the paper type + + + + +<xsl:param name="paper.type">USletter</xsl:param> + + + +Description + +The paper type is a convenient way to specify the paper size. +The list of known paper sizes includes USletter and most of the A, +B, and C sizes. See page.width.portrait, for example. + + + + + + + + + +double.sided +boolean + + +double.sided +Is the document to be printed double sided? + + + + +<xsl:param name="double.sided" select="0"></xsl:param> + + + +Description + +This parameter is useful when printing a document +on both sides of the paper. + +if set to non-zero, documents are formatted using different page-masters +for odd and even pages. These can differ by using a slightly wider margin +on the binding edge of the page, and alternating left-right +positions of header or footer elements. + + +If set to zero (the default), then only the 'odd' page masters +are used for both even and odd numbered pages. + +See also force.blank.pages, +page.margin.inner and +page.margin.outer. + + + + + + +force.blank.pages +boolean + + +force.blank.pages +Generate blank page to end on even page number + + + + +<xsl:param name="force.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero (the default), then each page sequence will be forced to +end on an even-numbered page, by inserting a blank page +if necessary. This will force the next page sequence to start +on an odd-numbered page, which is a standard convention +for printed and bound books. + +If zero, then such blank pages will not be inserted. +Chapters will start on the next available page, +regardless of whether it is an even or odd number. +This is useful when publishing online where blank +pages are not needed. + + +This param is independent of the +double.sided parameter, which +just triggers the use of even and odd page sequence +masters that differ in their header and footer placement. +So you can combine the two params for alternating +headers/footers and no blank pages. + + + + + + + +body.margin.bottom +length + + +body.margin.bottom +The bottom margin of the body text + + + + +<xsl:param name="body.margin.bottom">0.5in</xsl:param> + + + +Description + +The body bottom margin is the distance from the last line of text +in the page body to the bottom of the region-after. + + + + + + + +body.margin.top +length + + +body.margin.top +To specify the size of the top margin of a page + + + + +<xsl:param name="body.margin.top">0.5in</xsl:param> + + + +Description + +The body top margin is the distance from the top of the +region-before to the first line of text in the page body. + + + + + + +body.margin.inner +length + + +body.margin.inner +Specify the size of the inner margin of the body region + + + + +<xsl:param name="body.margin.inner">0in</xsl:param> + + + +Description + +The inner body margin is the extra inner side +(binding side) margin taken from the body +region in addition to the inner page margin. +It makes room for a side region for text content whose width is +specified by the region.inner.extent +parameter. + +For double-sided output, +this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, +this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.outer, +side.region.precedence. + + + + + + +body.margin.outer +length + + +body.margin.outer +Specify the size of the outer margin of the body region + + + + +<xsl:param name="body.margin.outer">0in</xsl:param> + + + +Description + +The outer body margin is the extra outer side +(opposite the binding side) margin taken +from the body +region in addition to the outer page margin. +It makes room for a side region for text content whose width is +specified by the region.outer.extent +parameter. + +For double-sided output, +this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, +this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +side.region.precedence. + + + + + + +body.start.indent +length + + +body.start.indent +The start-indent for the body text + + + + +<xsl:param name="body.start.indent"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0">0pt</xsl:when> + <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> + <xsl:otherwise>4pc</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +This parameter provides +the means of indenting the body text relative to +section titles. +For left-to-right text direction, it indents the left side. +For right-to-left text direction, it indents the right side. +It is used in place of the +title.margin.left for +all XSL-FO processors except FOP 0.25. +It enables support for side floats to appear +in the indented margin area. + +This start-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + +If this parameter is used, section titles should have +a start-indent value of 0pt if they are to be +outdented relative to the body text. + + +If you are using FOP, then set this parameter to a zero +width value and set the title.margin.left +parameter to the negative value of the desired indent. + + +See also body.end.indent and +title.margin.left. + + + + + + + +body.end.indent +length + + +body.end.indent +The end-indent for the body text + + + + +<xsl:param name="body.end.indent">0pt</xsl:param> + + + +Description + +This end-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + + +See also body.start.indent. + + + + + + + +alignment + list + open + left + start + right + end + center + justify + + +alignment +Specify the default text alignment + + + +<xsl:param name="alignment">justify</xsl:param> + + +Description + +The default text alignment is used for most body text. +Allowed values are +left, +right, +start, +end, +center, +justify. +The default value is justify. + + + + + + + +hyphenate +list +closed +true +false + + +hyphenate +Specify hyphenation behavior + + + +<xsl:param name="hyphenate">true</xsl:param> + + +Description + +If true, words may be hyphenated. Otherwise, they may not. +See also ulink.hyphenate.chars + + + + + + +line-height +string + + +line-height +Specify the line-height property + + + + +<xsl:param name="line-height">normal</xsl:param> + + + +Description + +Sets the line-height property. + + + + + + +column.count.back +integer + + +column.count.back +Number of columns on back matter pages + + + + +<xsl:param name="column.count.back" select="1"></xsl:param> + + + +Description + +Number of columns on back matter (appendix, glossary, etc.) pages. + + + + + + +column.count.body +integer + + +column.count.body +Number of columns on body pages + + + + +<xsl:param name="column.count.body" select="1"></xsl:param> + + + +Description + +Number of columns on body pages. + + + + + + +column.count.front +integer + + +column.count.front +Number of columns on front matter pages + + + + +<xsl:param name="column.count.front" select="1"></xsl:param> + + + +Description + +Number of columns on front matter (dedication, preface, etc.) pages. + + + + + + +column.count.index +integer + + +column.count.index +Number of columns on index pages + + + + +<xsl:param name="column.count.index">2</xsl:param> + + + +Description + +Number of columns on index pages. + + + + + + +column.count.lot +integer + + +column.count.lot +Number of columns on a 'List-of-Titles' page + + + + +<xsl:param name="column.count.lot" select="1"></xsl:param> + + + +Description + +Number of columns on a page sequence containing the Table of Contents, +List of Figures, etc. + + + + + + +column.count.titlepage +integer + + +column.count.titlepage +Number of columns on a title page + + + + +<xsl:param name="column.count.titlepage" select="1"></xsl:param> + + + +Description + +Number of columns on a title page + + + + + + +column.gap.back +length + + +column.gap.back +Gap between columns in back matter + + + + +<xsl:param name="column.gap.back">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in back matter (if +column.count.back is greater than one). + + + + + + +column.gap.body +length + + +column.gap.body +Gap between columns in the body + + + + +<xsl:param name="column.gap.body">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in body matter (if +column.count.body is greater than one). + + + + + + +column.gap.front +length + + +column.gap.front +Gap between columns in the front matter + + + + +<xsl:param name="column.gap.front">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in front matter (if +column.count.front is greater than one). + + + + + + +column.gap.index +length + + +column.gap.index +Gap between columns in the index + + + + +<xsl:param name="column.gap.index">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in indexes (if +column.count.index is greater than one). + + + + + + +column.gap.lot +length + + +column.gap.lot +Gap between columns on a 'List-of-Titles' page + + + + +<xsl:param name="column.gap.lot">12pt</xsl:param> + + + +Description + +Specifies the gap between columns on 'List-of-Titles' pages (if +column.count.lot is greater than one). + + + + + + +column.gap.titlepage +length + + +column.gap.titlepage +Gap between columns on title pages + + + + +<xsl:param name="column.gap.titlepage">12pt</xsl:param> + + + +Description + +Specifies the gap between columns on title pages (if +column.count.titlepage is greater than one). + + + + + + + +region.after.extent +length + + +region.after.extent +Specifies the height of the footer. + + + + +<xsl:param name="region.after.extent">0.4in</xsl:param> + + + +Description + +The region after extent is the height of the area where footers +are printed. + + + + + + + +region.before.extent +length + + +region.before.extent +Specifies the height of the header + + + + +<xsl:param name="region.before.extent">0.4in</xsl:param> + + + +Description + +The region before extent is the height of the area where headers +are printed. + + + + + + + +region.inner.extent +length + + +region.inner.extent +Specifies the width of the inner side region + + + + +<xsl:param name="region.inner.extent">0in</xsl:param> + + + +Description + +The region inner extent is the width of the optional +text area next to the inner side (binding side) of the +body region. + +For double-sided output, this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.inner +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.outer.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + + + + + +region.outer.extent +length + + +region.outer.extent +Specifies the width of the outer side region + + + + +<xsl:param name="region.outer.extent">0in</xsl:param> + + + +Description + +The region outer extent is the width of the optional +text area next to the outer side (opposite the binding side) of the +body region. + +For double-sided output, this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.outer +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.inner.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + + + + +default.units +list +cm +mm +in +pt +pc +px +em + + +default.units +Default units for an unqualified dimension + + + + +<xsl:param name="default.units">pt</xsl:param> + + + +Description + +If an unqualified dimension is encountered (for example, in a +graphic width), the default.units will be used for the +units. Unqualified dimensions are not allowed in XSL Formatting Objects. + + + + + + + +normal.para.spacing +attribute set + + +normal.para.spacing +What space do you want between normal paragraphs + + + +<xsl:attribute-set name="normal.para.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify the spacing required between normal paragraphs as well as +the following block-level elements: + +ackno +acknowledgements +cmdsynopsis +glosslist +sidebar +simpara +simplelist + +To customize the spacing, you need to reset all three attributes. + +To specify properties on just para elements without +affecting these other elements, +use the +para.properties +attribute-set. + + + + + +para.properties +attribute set + + +para.properties +Properties to apply to para elements + + + +<xsl:attribute-set name="para.properties" use-attribute-sets="normal.para.spacing"> +</xsl:attribute-set> + +Description +Specify properties to apply to the fo:block of a para element, +such as text-indent. +Although the default attribute-set is empty, it uses the attribute-set +named normal.para.spacing to add vertical space before +each para. The para.properties attribute-set can override those +spacing properties for para only. +See also +normal.para.spacing. + + + + + + +body.font.master + number + + +body.font.master +Specifies the default point size for body text + + + + +<xsl:param name="body.font.master">10</xsl:param> + + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + + + + +body.font.size +length + + +body.font.size +Specifies the default font size for body text + + + + +<xsl:param name="body.font.size"> + <xsl:value-of select="$body.font.master"></xsl:value-of><xsl:text>pt</xsl:text> +</xsl:param> + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + + + + +footnote.font.size +length + + +footnote.font.size +The font size for footnotes + + + +<xsl:param name="footnote.font.size"> + <xsl:value-of select="$body.font.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text> +</xsl:param> + + +Description + +The footnote font size is used for...footnotes! + + + + + + + +title.margin.left +length + + +title.margin.left +Adjust the left margin for titles + + + + +<xsl:param name="title.margin.left"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0">-4pc</xsl:when> + <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +This parameter provides +the means of adjusting the left margin for titles +when the XSL-FO processor being used is +an old version of FOP (0.25 and earlier). +It is only useful when the fop.extensions +is nonzero. + +The left margin of the body region +is calculated to include this space, +and titles are outdented to the left outside +the body region by this amount, +effectively leaving titles at the intended left margin +and the body text indented. +Currently this method is only used for old FOP because +it cannot properly use the body.start.indent +parameter. + + +The default value when the fop.extensions +parameter is nonzero is -4pc, which means the +body text is indented 4 picas relative to +the titles. +The default value when the fop.extensions +parameter equals zero is 0pt, and +the body indent should instead be specified +using the body.start.indent +parameter. + + +If you set the value to zero, be sure to still include +a unit indicator such as 0pt, or +the FO processor will report errors. + + + + + + + +draft.mode +list +no +yes +maybe + + +draft.mode +Select draft mode + + + + +<xsl:param name="draft.mode">no</xsl:param> + + + +Description + +Selects draft mode. If draft.mode is +yes, the entire document will be treated +as a draft. If it is no, the entire document +will be treated as a final copy. If it is maybe, +individual sections will be treated as draft or final independently, depending +on how their status attribute is set. + + + + + + + +draft.watermark.image +uri + + +draft.watermark.image +The URI of the image to be used for draft watermarks + + + + +<xsl:param name="draft.watermark.image">images/draft.png</xsl:param> + + + +Description + +The image to be used for draft watermarks. + + + + + + +headers.on.blank.pages +boolean + + +headers.on.blank.pages +Put headers on blank pages? + + + + +<xsl:param name="headers.on.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero, headers will be placed on blank pages. + + + + + + +footers.on.blank.pages +boolean + + +footers.on.blank.pages +Put footers on blank pages? + + + + +<xsl:param name="footers.on.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero, footers will be placed on blank pages. + + + + + + +header.rule +boolean + + +header.rule +Rule under headers? + + + + +<xsl:param name="header.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn below the page headers. + + + + + + +footer.rule +boolean + + +footer.rule +Rule over footers? + + + + +<xsl:param name="footer.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn above the page footers. + + + + + + +header.column.widths +string + + +header.column.widths +Specify relative widths of header areas + + + +<xsl:param name="header.column.widths">1 1 1</xsl:param> + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside header for +double-sided output. The second number is the relative +width of the center header. The third number is the +relative width of the outside header for +double-sided output. + +For single-sided output, the first number is the +relative width of left header for left-to-right +text direction, or the right header for right-to-left +text direction. +The third number is the +relative width of right header for left-to-right +text direction, or the left header for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the header area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +header should have twice the width of the other areas. +A value of "0 0 1" means the entire header area +is reserved for the right (or outside) header text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + + + + +footer.column.widths +string + + +footer.column.widths +Specify relative widths of footer areas + + + +<xsl:param name="footer.column.widths">1 1 1</xsl:param> + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside footer for +double-sided output. The second number is the relative +width of the center footer. The third number is the +relative width of the outside footer for +double-sided output. + +For single-sided output, the first number is the +relative width of left footer for left-to-right +text direction, or the right footer for right-to-left +text direction. +The third number is the +relative width of right footer for left-to-right +text direction, or the left footer for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the footer area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +footer should have twice the width of the other areas. +A value of "0 0 1" means the entire footer area +is reserved for the right (or outside) footer text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + + + + +header.table.properties +attribute set + + +header.table.properties +Apply properties to the header layout table + + + + +<xsl:attribute-set name="header.table.properties"> + <xsl:attribute name="table-layout">fixed</xsl:attribute> + <xsl:attribute name="width">100%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties applied to the table that lays out the page header. + + + + + + +header.table.height +length + + +header.table.height +Specify the minimum height of the table containing the running page headers + + + +<xsl:param name="header.table.height">14pt</xsl:param> + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + + + + +footer.table.properties +attribute set + + +footer.table.properties +Apply properties to the footer layout table + + + + +<xsl:attribute-set name="footer.table.properties"> + <xsl:attribute name="table-layout">fixed</xsl:attribute> + <xsl:attribute name="width">100%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties applied to the table that lays out the page footer. + + + + + + +footer.table.height +length + + +footer.table.height +Specify the minimum height of the table containing the running page footers + + + +<xsl:param name="footer.table.height">14pt</xsl:param> + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + + + + +header.content.properties +attribute set + + +header.content.properties +Properties of page header content + + + + +<xsl:attribute-set name="header.content.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$title.margin.left"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties of page header content. + + + + + + +footer.content.properties +attribute set + + +footer.content.properties +Properties of page footer content + + + + +<xsl:attribute-set name="footer.content.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$title.margin.left"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties of page footer content. + + + + + + +marker.section.level +integer + + +marker.section.level +Control depth of sections shown in running headers or footers + + + + +<xsl:param name="marker.section.level">2</xsl:param> + + + +Description + +The marker.section.level parameter +controls the depth of section levels that may be displayed +in running headers and footers. For example, if the value +is 2 (the default), then titles from sect1 and +sect2 or equivalent section +elements are candidates for use in running headers and +footers. + +Each candidate title is marked in the FO output with a +<fo:marker marker-class-name="section.head.marker"> +element. + +In order for such titles to appear in headers +or footers, the header.content +or footer.content template +must be customized to retrieve the marker using +an output element such as: + + +<fo:retrieve-marker retrieve-class-name="section.head.marker" + retrieve-position="first-including-carryover" + retrieve-boundary="page-sequence"/> + + + + + + + + +side.region.precedence +string + + +side.region.precedence +Determines side region page layout precedence + + +<xsl:param name="side.region.precedence">false</xsl:param> + + +Description + +If optional side regions on a page +are established using parameters such as +body.margin.inner, +region.inner.extent, etc., then this +parameter determines what happens at the corners where the +side regions meet the header and footer regions. + +If the value of this parameter is true, +then the side regions have precedence and extend higher +and lower, while the header and footer regions are narrower +and fit inside the side regions. + +If the value of this parameter is false +(the default value), then the header and footer regions +have precedence and extend over and below the side regions. +Any value other than true or +false is taken to be false. + +If you need to set precedence separately for +individual regions, then you can set four +parameters that are normally internal to the stylesheet. +These four parameters are normally set based +on the value from side.region.precedence: + +region.before.precedence +region.after.precedence +region.start.precedence +region.end.precedence + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +body.margin.outer. + + + + + +region.inner.properties +attribute set + + +region.inner.properties +Properties of running inner side region + + + + +<xsl:attribute-set name="region.inner.properties"> + <xsl:attribute name="border-width">0</xsl:attribute> + <xsl:attribute name="padding">0</xsl:attribute> + <xsl:attribute name="reference-orientation">90</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the inner side (binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +inner.region.content.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + + + + +region.outer.properties +attribute set + + +region.outer.properties +Properties of running outer side region + + + + +<xsl:attribute-set name="region.outer.properties"> + <xsl:attribute name="border-width">0</xsl:attribute> + <xsl:attribute name="padding">0</xsl:attribute> + <xsl:attribute name="reference-orientation">90</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the outer side (opposite the binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +outer.region.content.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + + + + + +inner.region.content.properties +attribute set + + +inner.region.content.properties +Properties of running inner side content + + + + +<xsl:attribute-set name="inner.region.content.properties"> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the inner side (binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +region.inner.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + + + + +outer.region.content.properties +attribute set + + +outer.region.content.properties +Properties of running outer side content + + + + +<xsl:attribute-set name="outer.region.content.properties"> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the outer side (opposite the binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +region.outer.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + + +
    Font Families + + +body.font.family +list +open +serif +sans-serif +monospace + + +body.font.family +The default font family for body text + + + + +<xsl:param name="body.font.family">serif</xsl:param> + + + +Description + +The body font family is the default font used for text in the page body. +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + + +dingbat.font.family +list +open +serif +sans-serif +monospace + + +dingbat.font.family +The font family for copyright, quotes, and other symbols + + + + +<xsl:param name="dingbat.font.family">serif</xsl:param> + + + +Description + +The dingbat font family is used for dingbats. If it is defined +as the empty string, no font change is effected around dingbats. + + + + + + + +monospace.font.family +string + + +monospace.font.family +The default font family for monospace environments + + + + +<xsl:param name="monospace.font.family">monospace</xsl:param> + + + +Description + +The monospace font family is used for verbatim environments +(program listings, screens, etc.). + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + +sans.font.family +string + + +sans.font.family +The default sans-serif font family + + + + +<xsl:param name="sans.font.family">sans-serif</xsl:param> + + + +Description + +The default sans-serif font family. At the present, this isn't +actually used by the stylesheets. + + + + + + + +title.font.family +list +open +serif +sans-serif +monospace + + +title.font.family +The default font family for titles + + + + +<xsl:param name="title.font.family">sans-serif</xsl:param> + + + +Description + +The title font family is used for titles (chapter, section, figure, +etc.) + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + +symbol.font.family +list +open +serif +sans-serif +monospace + + +symbol.font.family +The font families to be searched for symbols outside + of the body font + + + + +<xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param> + + + +Description + +A typical body or title font does not contain all +the character glyphs that DocBook supports. This parameter +specifies additional fonts that should be searched for +special characters not in the normal font. +These symbol font names are automatically appended +to the body or title font family name when fonts +are specified in a +font-family +property in the FO output. + +The symbol font names should be entered as a +comma-separated list. The default value is +Symbol,ZapfDingbats. + + + + + +Property Sets + + +formal.object.properties +attribute set + + +formal.object.properties +Properties associated with a formal object such as a figure, or other component that has a title + + + + +<xsl:attribute-set name="formal.object.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for formal objects in docbook. Specify the spacing +before and after the object. + + + + + + +formal.title.properties +attribute set + + +formal.title.properties +Style the title element of formal object such as a figure. + + + + +<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> + <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute> + <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute> +</xsl:attribute-set> + + +Description +Specify how the title should be styled. Specify the font size and weight of the title of the formal object. + + + + + +informal.object.properties +attribute set + + +informal.object.properties +Properties associated with an informal (untitled) object, such as an informalfigure + + + +<xsl:attribute-set name="informal.object.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + +Description +The styling for informal objects in docbook. Specify the spacing before and after the object. + + + + + +monospace.properties +attribute set + + +monospace.properties +Properties of monospaced content + + + + +<xsl:attribute-set name="monospace.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$monospace.font.family"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies the font name for monospaced output. This property set +used to set the font-size as well, but that doesn't work very well +when different fonts are used (as they are in titles and paragraphs, +for example). + +If you want to set the font-size in a customization layer, it's +probably going to be more appropriate to set font-size-adjust, if your +formatter supports it. + + + + + + +verbatim.properties +attribute set + + +verbatim.properties +Properties associated with verbatim text + + + + +<xsl:attribute-set name="verbatim.properties"> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> + <xsl:attribute name="white-space-collapse">false</xsl:attribute> + <xsl:attribute name="white-space-treatment">preserve</xsl:attribute> + <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> +</xsl:attribute-set> + + +Description +This attribute set is used on all verbatim environments. + + + + + + +monospace.verbatim.properties +attribute set + + +monospace.verbatim.properties +What font and size do you want for monospaced content? + + + + +<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> +</xsl:attribute-set> + + +Description +Specify the font name and size you want for monospaced output + + + + + +sidebar.properties +attribute set + + +sidebar.properties +Attribute set for sidebar properties + + + + +<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="border-style">solid</xsl:attribute> + <xsl:attribute name="border-width">1pt</xsl:attribute> + <xsl:attribute name="border-color">black</xsl:attribute> + <xsl:attribute name="background-color">#DDDDDD</xsl:attribute> + <xsl:attribute name="padding-start">12pt</xsl:attribute> + <xsl:attribute name="padding-end">12pt</xsl:attribute> + <xsl:attribute name="padding-top">6pt</xsl:attribute> + <xsl:attribute name="padding-bottom">6pt</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute> +<!-- + <xsl:attribute name="margin-top">6pt</xsl:attribute> + <xsl:attribute name="margin-bottom">6pt</xsl:attribute> +--> +</xsl:attribute-set> + + + +Description + +The styling for sidebars. + + + + + + +sidebar.title.properties +attribute set + + +sidebar.title.properties +Attribute set for sidebar titles + + + + +<xsl:attribute-set name="sidebar.title.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for sidebars titles. + + + + + + +sidebar.float.type +list +none +before +left +start +right +end +inside +outside + + +sidebar.float.type +Select type of float for sidebar elements + + + + +<xsl:param name="sidebar.float.type">none</xsl:param> + + + +Description + +Selects the type of float for sidebar elements. + + + +If sidebar.float.type is +none, then +no float is used. + + + +If sidebar.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + + +If sidebar.float.type is +left, +then a left side float is used. + + + + +If sidebar.float.type is +start, +then when the text direction is left-to-right a left side float is used. +When the text direction is right-to-left, a right side float is used. + + + + +If sidebar.float.type is +right, +then a right side float is used. + + + + +If sidebar.float.type is +end, +then when the text direction is left-to-right a right side float is used. +When the text direction is right-to-left, a left side float is used. + + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + + + + +sidebar.float.width +length + + +sidebar.float.width +Set the default width for sidebars + + + + +<xsl:param name="sidebar.float.width">1in</xsl:param> + + + +Description + +Sets the default width for sidebars when used as a side float. +The width determines the degree to which the sidebar block intrudes into +the text area. + +If sidebar.float.type is +before or +none, then +this parameter is ignored. + + + + + + + +margin.note.properties +attribute set + + +margin.note.properties +Attribute set for margin.note properties + + + + +<xsl:attribute-set name="margin.note.properties"> + <xsl:attribute name="font-size">90%</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for margin notes. +By default, margin notes are not implemented for any +element. A stylesheet customization is needed to make +use of this attribute-set. + +You can use a template named floater +to create the customization. +That template can create side floats by specifying the +content and characteristics as template parameters. + + +For example: +<xsl:template match="para[@role='marginnote']"> + <xsl:call-template name="floater"> + <xsl:with-param name="position"> + <xsl:value-of select="$margin.note.float.type"/> + </xsl:with-param> + <xsl:with-param name="width"> + <xsl:value-of select="$margin.note.width"/> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:apply-imports/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + + + + + + +margin.note.title.properties +attribute set + + +margin.note.title.properties +Attribute set for margin note titles + + + + +<xsl:attribute-set name="margin.note.title.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for margin note titles. + + + + + + +margin.note.float.type +list +none +before +left +start +right +end +inside +outside + + +margin.note.float.type +Select type of float for margin note customizations + + + + +<xsl:param name="margin.note.float.type">none</xsl:param> + + + +Description + +Selects the type of float for margin notes. +DocBook does not define a margin note element, so this +feature must be implemented as a customization of the stylesheet. +See margin.note.properties for +an example. + + + +If margin.note.float.type is +none, then +no float is used. + + + +If margin.note.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + +If margin.note.float.type is +left or +start, then +a left side float is used. + + + +If margin.note.float.type is +right or +end, then +a right side float is used. + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + + + + +margin.note.width +length + + +margin.note.width +Set the default width for margin notes + + + + +<xsl:param name="margin.note.width">1in</xsl:param> + + + +Description + +Sets the default width for margin notes when used as a side +float. The width determines the degree to which the margin note block +intrudes into the text area. + +If margin.note.float.type is +before or +none, then +this parameter is ignored. + + + + + + + +component.title.properties +attribute set + + +component.title.properties +Properties for component titles + + + + +<xsl:attribute-set name="component.title.properties"> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align"> + <xsl:choose> + <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when> + <xsl:otherwise>start</xsl:otherwise> + </xsl:choose> + </xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all component titles. + + + + + + +component.titlepage.properties +attribute set + + +component.titlepage.properties +Properties for component titlepages + + + + +<xsl:attribute-set name="component.titlepage.properties"> +</xsl:attribute-set> + + + +Description + +The properties that are applied to the outer block containing +all the component title page information. +Its main use is to set a span="all" +property on the block that is a direct child of the flow. + +This attribute-set also applies to index titlepages. It is empty by default. + + + + + + +section.title.properties +attribute set + + +section.title.properties +Properties for section titles + + + + +<xsl:attribute-set name="section.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <!-- font size is calculated dynamically by section.heading template --> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all section titles. + + + + + + +section.title.level1.properties +attribute set + + +section.title.level1.properties +Properties for level-1 section titles + + + + +<xsl:attribute-set name="section.title.level1.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-1 section titles. + + + + + + + +section.title.level2.properties +attribute set + + +section.title.level2.properties +Properties for level-2 section titles + + + + +<xsl:attribute-set name="section.title.level2.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-2 section titles. + + + + + + +section.title.level3.properties +attribute set + + +section.title.level3.properties +Properties for level-3 section titles + + + + +<xsl:attribute-set name="section.title.level3.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-3 section titles. + + + + + + +section.title.level4.properties +attribute set + + +section.title.level4.properties +Properties for level-4 section titles + + + + +<xsl:attribute-set name="section.title.level4.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-4 section titles. + + + + + + +section.title.level5.properties +attribute set + + +section.title.level5.properties +Properties for level-5 section titles + + + + +<xsl:attribute-set name="section.title.level5.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-5 section titles. + + + + + + +section.title.level6.properties +attribute set + + +section.title.level6.properties +Properties for level-6 section titles + + + + +<xsl:attribute-set name="section.title.level6.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-6 section titles. This property set is actually +used for all titles below level 5. + + + + + + +section.properties +attribute set + + +section.properties +Properties for all section levels + + + + +<xsl:attribute-set name="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of all section levels, and therefore apply to +the whole section. +This attribute set is inherited by the +more specific attribute sets such as +section.level1.properties. +The default is empty. + + + + + + + +section.level1.properties +attribute set + + +section.level1.properties +Properties for level-1 sections + + + + +<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-1 section, and therefore apply to +the whole section. This includes sect1 +elements and section elements at level 1. + + +For example, you could start each level-1 section on +a new page by using: +<xsl:attribute-set name="section.level1.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level2.properties +attribute set + + +section.level2.properties +Properties for level-2 sections + + + + +<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-2 section, and therefore apply to +the whole section. This includes sect2 +elements and section elements at level 2. + + +For example, you could start each level-2 section on +a new page by using: +<xsl:attribute-set name="section.level2.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level3.properties +attribute set + + +section.level3.properties +Properties for level-3 sections + + + + +<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-3 section, and therefore apply to +the whole section. This includes sect3 +elements and section elements at level 3. + + +For example, you could start each level-3 section on +a new page by using: +<xsl:attribute-set name="section.level3.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level4.properties +attribute set + + +section.level4.properties +Properties for level-4 sections + + + + +<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-4 section, and therefore apply to +the whole section. This includes sect4 +elements and section elements at level 4. + + +For example, you could start each level-4 section on +a new page by using: +<xsl:attribute-set name="section.level4.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level5.properties +attribute set + + +section.level5.properties +Properties for level-5 sections + + + + +<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-5 section, and therefore apply to +the whole section. This includes sect5 +elements and section elements at level 5. + + +For example, you could start each level-5 section on +a new page by using: +<xsl:attribute-set name="section.level5.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level6.properties +attribute set + + +section.level6.properties +Properties for level-6 sections + + + + +<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level 6 or lower section, and therefore apply to +the whole section. This includes +section elements at level 6 and lower. + + +For example, you could start each level-6 section on +a new page by using: +<xsl:attribute-set name="section.level6.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +figure.properties +attribute set + + +figure.properties +Properties associated with a figure + + + + +<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for figures. + + + + + + +example.properties +attribute set + + +example.properties +Properties associated with a example + + + + +<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for examples. + + + + + + +equation.properties +attribute set + + +equation.properties +Properties associated with a equation + + + + +<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for equations. + + + + + + +equation.number.properties +attribute set + + +equation.number.properties +Properties that apply to the fo:table-cell containing the number +of an equation that does not have a title. + + + +<xsl:attribute-set name="equation.number.properties"> + <xsl:attribute name="text-align">end</xsl:attribute> + <xsl:attribute name="display-align">center</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to the fo:table-cell containing the number +of an equation when it has no title. The number in an equation with a +title is formatted along with the title, and this attribute-set does not apply. + + + + + +table.properties +attribute set + + +table.properties +Properties associated with the block surrounding a table + + + + +<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Block styling properties for tables. This parameter should really +have been called table.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + + + + +task.properties +attribute set + + +task.properties +Properties associated with a task + + + + +<xsl:attribute-set name="task.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties to style the entire block containing a task element. + + + + + + +informalfigure.properties +attribute set + + +informalfigure.properties +Properties associated with an informalfigure + + + + +<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalfigures. + + + + + + +informalexample.properties +attribute set + + +informalexample.properties +Properties associated with an informalexample + + + + +<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalexamples. + + + + + + +informalequation.properties +attribute set + + +informalequation.properties +Properties associated with an informalequation + + + + +<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalequations. + + + + + + +informaltable.properties +attribute set + + +informaltable.properties +Properties associated with the block surrounding an informaltable + + + + +<xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +Block styling properties for informaltables. This parameter should really +have been called informaltable.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + + + + +procedure.properties +attribute set + + +procedure.properties +Properties associated with a procedure + + + + +<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for procedures. + + + + + + +root.properties +attribute set + + +root.properties +The properties of the fo:root element + + + + +<xsl:attribute-set name="root.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="text-align"> + <xsl:value-of select="$alignment"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="line-height"> + <xsl:value-of select="$line-height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute> + <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute> + <xsl:attribute name="writing-mode"> + <xsl:value-of select="$direction.mode"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +This property set is used on the fo:root element of +an FO file. It defines a set of default, global parameters. + + + + + + +qanda.title.properties +attribute set + + +qanda.title.properties +Properties for qanda set titles + + + + +<xsl:attribute-set name="qanda.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <!-- font size is calculated dynamically by qanda.heading template --> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all qanda set titles. + + + + + + +qanda.title.level1.properties +attribute set + + +qanda.title.level1.properties +Properties for level-1 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level1.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-1 qanda set titles. + + + + + + +qanda.title.level2.properties +attribute set + + +qanda.title.level2.properties +Properties for level-2 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level2.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-2 qanda set titles. + + + + + + +qanda.title.level3.properties +attribute set + + +qanda.title.level3.properties +Properties for level-3 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level3.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-3 qanda set titles. + + + + + + +qanda.title.level4.properties +attribute set + + +qanda.title.level4.properties +Properties for level-4 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level4.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-4 qanda set titles. + + + + + + +qanda.title.level5.properties +attribute set + + +qanda.title.level5.properties +Properties for level-5 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level5.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-5 qanda set titles. + + + + + + +qanda.title.level6.properties +attribute set + + +qanda.title.level6.properties +Properties for level-6 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level6.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-6 qanda set titles. +This property set is actually +used for all titles below level 5. + + + + + + +article.appendix.title.properties +attribute set + + +article.appendix.title.properties +Properties for appendix titles that appear in an article + + + + +<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties section.title.level1.properties"> +</xsl:attribute-set> + + + +Description + +The properties for the title of an appendix that +appears inside an article. The default is to use +the properties of sect1 titles. + + + + + + +abstract.properties +attribute set + + +abstract.properties +Properties associated with the block surrounding an abstract + + + + +<xsl:attribute-set name="abstract.properties"> + <xsl:attribute name="start-indent">0.0in</xsl:attribute> + <xsl:attribute name="end-indent">0.0in</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Block styling properties for abstract. + +See also abstract.title.properties. + + + + + + +abstract.title.properties +attribute set + + +abstract.title.properties +Properties for abstract titles + + + + +<xsl:attribute-set name="abstract.title.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties for abstract titles. + +See also abstract.properties. + + + + + + +index.page.number.properties +attribute set + + +index.page.number.properties +Properties associated with index page numbers + + + + +<xsl:attribute-set name="index.page.number.properties"> +</xsl:attribute-set> + + + +Description + +Properties associated with page numbers in indexes. +Changing color to indicate the page number is a link is +one possibility. + + + + + + + +revhistory.table.properties +attribute set + + +revhistory.table.properties +The properties of table used for formatting revhistory + + + + +<xsl:attribute-set name="revhistory.table.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of revhistory table. + + + + + + +revhistory.table.cell.properties +attribute set + + +revhistory.table.cell.properties +The properties of table cells used for formatting revhistory + + + + +<xsl:attribute-set name="revhistory.table.cell.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of individual cells in revhistory table. + + + + + + +revhistory.title.properties +attribute set + + +revhistory.title.properties +The properties of revhistory title + + + + +<xsl:attribute-set name="revhistory.title.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of revhistory title. + + + + +Profiling + +The following parameters can be used for attribute-based +profiling of your document. For more information about profiling, see +Profiling (conditional text). + + + +profile.arch +string + + +profile.arch +Target profile for arch +attribute + + + + +<xsl:param name="profile.arch"></xsl:param> + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.audience +string + + +profile.audience +Target profile for audience +attribute + + + + +<xsl:param name="profile.audience"></xsl:param> + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.condition +string + + +profile.condition +Target profile for condition +attribute + + + + +<xsl:param name="profile.condition"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.conformance +string + + +profile.conformance +Target profile for conformance +attribute + + + + +<xsl:param name="profile.conformance"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.lang +string + + +profile.lang +Target profile for lang +attribute + + + + +<xsl:param name="profile.lang"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.os +string + + +profile.os +Target profile for os +attribute + + + + +<xsl:param name="profile.os"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revision +string + + +profile.revision +Target profile for revision +attribute + + + + +<xsl:param name="profile.revision"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revisionflag +string + + +profile.revisionflag +Target profile for revisionflag +attribute + + + + +<xsl:param name="profile.revisionflag"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.role +string + + +profile.role +Target profile for role +attribute + + + + +<xsl:param name="profile.role"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +<emphasis role="bold">very important</emphasis> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, etc. + + + + + + + +profile.security +string + + +profile.security +Target profile for security +attribute + + + + +<xsl:param name="profile.security"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + +<xsl:param name="profile.status"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.userlevel +string + + +profile.userlevel +Target profile for userlevel +attribute + + + + +<xsl:param name="profile.userlevel"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.vendor +string + + +profile.vendor +Target profile for vendor +attribute + + + + +<xsl:param name="profile.vendor"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.wordsize +string + + +profile.wordsize +Target profile for wordsize +attribute + + + + +<xsl:param name="profile.wordsize"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.attribute +string + + +profile.attribute +Name of user-specified profiling attribute + + + + +<xsl:param name="profile.attribute"></xsl:param> + + + +Description + +This parameter is used in conjuction with +profile.value. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.value +string + + +profile.value +Target profile for user-specified attribute + + + + +<xsl:param name="profile.value"></xsl:param> + + + +Description + +When you are using this parameter you must also specify name of +profiling attribute with parameter +profile.attribute. + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.separator +string + + +profile.separator +Separator character for compound profile values + + + + +<xsl:param name="profile.separator">;</xsl:param> + + + +Description + +Separator character used for compound profile values. See profile.arch + + + + +Localization + + +l10n.gentext.language +string + + +l10n.gentext.language +Sets the gentext language + + + + +<xsl:param name="l10n.gentext.language"></xsl:param> + + + +Description + +If this parameter is set to any value other than the empty string, its +value will be used as the value for the language when generating text. Setting +l10n.gentext.language overrides any settings within the +document being formatted. + +It's much more likely that you might want to set the +l10n.gentext.default.language parameter. + + + + + + + l10n.gentext.default.language + string + + + l10n.gentext.default.language + Sets the default language for generated text + + + + +<xsl:param name="l10n.gentext.default.language">en</xsl:param> + + + +Description + +The value of the l10n.gentext.default.language +parameter is used as the language for generated text if no setting is provided +in the source document. + + + + + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + +<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param> + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
    +See also Kapital 3. +
    + +Where the more traditional rendering would be: + +
    +See also Chapter 3. +
    + +
    +
    + + + +l10n.lang.value.rfc.compliant +boolean + + +l10n.lang.value.rfc.compliant +Make value of lang attribute RFC compliant? + + + + +<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param> + + + +Description + +If non-zero, ensure that the values for all lang attributes in HTML output are RFC +compliantSection 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that: + +
    [RFC1766] defines and explains the language codes +that must be used in HTML documents. +Briefly, language codes consist of a primary code and a possibly +empty series of subcodes: + +language-code = primary-code ( "-" subcode )* + +And in RFC 1766, Tags for the Identification +of Languages, the EBNF for "language tag" is given as: + +Language-Tag = Primary-tag *( "-" Subtag ) +Primary-tag = 1*8ALPHA +Subtag = 1*8ALPHA + +
    +
    . + +by taking any underscore characters in any lang values found in source documents, and +replacing them with hyphen characters in output HTML files. For +example, zh_CN in a source document becomes +zh-CN in the HTML output form that source. + + +This parameter does not cause any case change in lang values, because RFC 1766 +explicitly states that all "language tags" (as it calls them) "are +to be treated as case insensitive". + +
    + +
    +
    + + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + +<xsl:param name="writing.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">writing-mode</xsl:with-param> + <xsl:with-param name="lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"></xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:param> + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But this param can also be +set on the command line to override that gentext value. + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + + +
    EBNF + + +ebnf.assignment +rtf + + +ebnf.assignment +The EBNF production assignment operator + + + + + +<xsl:param name="ebnf.assignment"> + <fo:inline font-family="{$monospace.font.family}"> + <xsl:text>::=</xsl:text> + </fo:inline> +</xsl:param> + + + +Description + +The ebnf.assignment parameter determines what +text is used to show assignment in productions +in productionsets. + +While ::= is common, so are several +other operators. + + + + + + +ebnf.statement.terminator +rtf + + +ebnf.statement.terminator +Punctuation that ends an EBNF statement. + + + + + +<xsl:param name="ebnf.statement.terminator"></xsl:param> + + + +Description + +The ebnf.statement.terminator parameter determines what +text is used to terminate each production +in productionset. + +Some notations end each statement with a period. + + + + +Prepress + + +crop.marks +boolean + + +crop.marks +Output crop marks? + + + + +<xsl:param name="crop.marks" select="0"></xsl:param> + + + +Description + +If non-zero, crop marks will be added to each page. Currently this +works only with XEP if you have xep.extensions set. + + + + + + +crop.mark.width +length + + +crop.mark.width +Width of crop marks. + + + + +<xsl:param name="crop.mark.width">0.5pt</xsl:param> + + + +Description + +Width of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + + +crop.mark.offset +length + + +crop.mark.offset +Length of crop marks. + + + + +<xsl:param name="crop.mark.offset">24pt</xsl:param> + + + +Description + +Length of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + + +crop.mark.bleed +length + + +crop.mark.bleed +Length of invisible part of crop marks. + + + + +<xsl:param name="crop.mark.bleed">6pt</xsl:param> + + + +Description + +Length of invisible part of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + +
    + + + + Manpages Parameter Reference + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL "manpages" stylesheet (for + generating groff/nroff output). Note that the manpages + stylesheet is a customization layer of the DocBook XSL HTML + stylesheet. Therefore, you can also use a number of HTML stylesheet parameters + to control manpages output (in addition to the + manpages-specific parameters listed in this section). + + + + Hyphenation, justification, and breaking + + +man.hyphenate +boolean + + +man.hyphenate +Enable hyphenation? + + + + +<xsl:param name="man.hyphenate">0</xsl:param> + + +Description + +If non-zero, hyphenation is enabled. + + +The default value for this parameter is zero because groff is +not particularly smart about how it does hyphenation; it can end up +hyphenating a lot of things that you don't want hyphenated. To +mitigate that, the default behavior of the stylesheets is to suppress +hyphenation of computer inlines, filenames, and URLs. (You can +override the default behavior by setting non-zero values for the +man.hyphenate.urls, +man.hyphenate.filenames, and +man.hyphenate.computer.inlines parameters.) But +the best way is still to just globally disable hyphenation, as the +stylesheets do by default. + +The only good reason to enabled hyphenation is if you have also +enabled justification (which is disabled by default). The reason is +that justified text can look very bad unless you also hyphenate it; to +quote the Hypenation node from the groff info page: + +
    + Since the odds are not great for finding a set of + words, for every output line, which fit nicely on a line without + inserting excessive amounts of space between words, 'gtroff' + hyphenates words so that it can justify lines without inserting too + much space between words. +
    + +So, if you set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation).
    +
    + + +
    +
    + + + +man.hyphenate.urls +boolean + + +man.hyphenate.urls +Hyphenate URLs? + + + + +<xsl:param name="man.hyphenate.urls">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for output of +the ulink url attribute. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.urls is not necessary. + + +If man.hyphenate.urls is non-zero, URLs +will not be treated specially and are subject to hyphenation just like +other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.urls in order to make long + URLs break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long URLs to be broken after slashes. + + + + + + + +man.hyphenate.filenames +boolean + + +man.hyphenate.filenames +Hyphenate filenames? + + + + +<xsl:param name="man.hyphenate.filenames">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for +filename output. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.filenames is not + necessary. + + +If man.hyphenate.filenames is non-zero, +filenames will not be treated specially and are subject to hyphenation +just like other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.filenames in order to make long + filenames/pathnames break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long pathnames to be broken after slashes. + + + + + + + +man.hyphenate.computer.inlines +boolean + + +man.hyphenate.computer.inlines +Hyphenate computer inlines? + + + + +<xsl:param name="man.hyphenate.computer.inlines">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for +computer inlines such as environment variables, +constants, etc. This parameter current affects output of the following +elements: + + + classname + constant + envar + errorcode + option + replaceable + userinput + type + varname + + + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting the + man.hyphenate.computer.inlines is not + necessary. + + +If man.hyphenate.computer.inlines is +non-zero, computer inlines will not be treated specially and will be +hyphenated like other words when needed. + + + + + + +man.justify +boolean + + +man.justify +Justify text to both right and left margins? + + + + +<xsl:param name="man.justify">0</xsl:param> + + +Description + +If non-zero, text is justified to both the right and left +margins (or, in roff terminology, "adjusted and filled" to both the +right and left margins). If zero (the default), text is adjusted to +the left margin only -- producing what is traditionally called +"ragged-right" text. + + +The default value for this parameter is zero because justified +text looks good only when it is also hyphenated. Without hyphenation, +excessive amounts of space often end up getting between words, in +order to "pad" lines out to align on the right margin. + +The problem is that groff is not particularly smart about how it +does hyphenation; it can end up hyphenating a lot of things that you +don't want hyphenated. So, disabling both justification and +hyphenation ensures that hyphens won't get inserted where you don't +want to them, and you don't end up with lines containing excessive +amounts of space between words. + +However, if do you decide to set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation). + +Yes, these default settings run counter to how most existing man +pages are formatted. But there are some notable exceptions, such as +the perl man pages. + + + + + + +man.break.after.slash +boolean + + +man.break.after.slash +Enable line-breaking after slashes? + + + + +<xsl:param name="man.break.after.slash">0</xsl:param> + + +Description + +If non-zero, line-breaking after slashes is enabled. This is +mainly useful for causing long URLs or pathnames/filenames to be +broken up or "wrapped" across lines (though it also has the side +effect of sometimes causing relatively short URLs and pathnames to be +broken up across lines too). + +If zero (the default), line-breaking after slashes is +disabled. In that case, strings containing slashes (for example, URLs +or filenames) are not broken across lines, even if they exceed the +maximum column widith. + + + If you set a non-zero value for this parameter, check your + man-page output carefuly afterwards, in order to make sure that the + setting has not introduced an excessive amount of breaking-up of URLs + or pathnames. If your content contains mostly short URLs or + pathnames, setting a non-zero value for + man.break.after.slash will probably result in + in a significant number of relatively short URLs and pathnames being + broken across lines, which is probably not what you want. + + + + + +
    + Indentation + + +man.indent.width +length + + +man.indent.width +Specifies width used for adjusted indents + + + + +<xsl:param name="man.indent.width">4</xsl:param> + + + +Description +The man.indent.width parameter specifies +the width used for adjusted indents. The value of +man.indent.width is used for indenting of +lists, verbatims, headings, and elsewhere, depending on whether the +values of certain man.indent.* boolean parameters +are non-zero. + +The value of man.indent.width should +include a valid roff measurement unit (for example, +n or u). The default value of +4n specifies a 4-en width; when viewed on a +console, that amounts to the width of four characters. For details +about roff measurment units, see the Measurements +node in the groff info page. + + + + + + +man.indent.refsect +boolean + + +man.indent.refsect +Adjust indentation of refsect* and refsection? + + + + +<xsl:param name="man.indent.refsect" select="0"></xsl:param> + + +Description + +If the value of man.indent.refsect is +non-zero, the width of the left margin for +refsect1, refsect2 and +refsect3 contents and titles (and first-level, +second-level, and third-level nested +refsectioninstances) is adjusted by the value of +the man.indent.width parameter. With +man.indent.width set to its default value of +3n, the main results are that: + + + + contents of refsect1 are output with a + left margin of three characters instead the roff default of seven + or eight characters + + + contents of refsect2 are displayed in + console output with a left margin of six characters instead the of + the roff default of seven characters + + + the contents of refsect3 and nested + refsection instances are adjusted + accordingly. + + + +If instead the value of man.indent.refsect is +zero, no margin adjustment is done for refsect* +output. + + + If your content is primarly comprised of + refsect1 and refsect2 content + (or the refsection equivalent) – with few or + no refsect3 or lower nested sections , you may be + able to “conserve” space in your output by setting + man.indent.refsect to a non-zero value. Doing + so will “squeeze” the left margin in such as way as to provide an + additional four characters of “room” per line in + refsect1 output. That extra room may be useful + if, for example, you have many verbatim sections with long lines in + them. + + + + + + + +man.indent.blurbs +boolean + + +man.indent.blurbs +Adjust indentation of blurbs? + + + + +<xsl:param name="man.indent.blurbs" select="1"></xsl:param> + + +Description + +If the value of man.indent.blurbs is +non-zero, the width of the left margin for +authorblurb, personblurb, and +contrib output is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.blurbs is zero, the built-in roff +default width (7.2n) is used. + + + + + + +man.indent.lists +boolean + + +man.indent.lists +Adjust indentation of lists? + + + + +<xsl:param name="man.indent.lists" select="1"></xsl:param> + + +Description + +If the value of man.indent.lists is +non-zero, the width of the left margin for list items in +itemizedlist, +orderedlist, +variablelist output (and output of some other +lists) is set to the value of the +man.indent.width parameter +(4n by default). If instead the value of +man.indent.lists is zero, the built-in roff +default width (7.2n) is used. + + + + + + +man.indent.verbatims +boolean + + +man.indent.verbatims +Adjust indentation of verbatims? + + + + +<xsl:param name="man.indent.verbatims" select="1"></xsl:param> + + +Description + +If the value of man.indent.verbatims is +non-zero, the width of the left margin for output of verbatim +environments (programlisting, +screen, and so on) is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.verbatims is zero, the built-in roff +default width (7.2n) is used. + + + + + + Fonts + + +man.font.funcprototype +string + + +man.font.funcprototype +Specifies font for funcprototype output + + + + + <xsl:param name="man.font.funcprototype">BI</xsl:param> + + + +Description + +The man.font.funcprototype parameter +specifies the font for funcprototype output. It +should be a valid roff font name, such as BI or +B. + + + + + + +man.font.funcsynopsisinfo +string + + +man.font.funcsynopsisinfo +Specifies font for funcsynopsisinfo output + + + + + <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param> + + + +Description + +The man.font.funcsynopsisinfo parameter +specifies the font for funcsynopsisinfo output. It +should be a valid roff font name, such as B or +I. + + + + + + +man.font.links +string + + +man.font.links +Specifies font for links + + + + +<xsl:param name="man.font.links">B</xsl:param> + + + +Description + +The man.font.links parameter +specifies the font for output of links (ulink instances +and any instances of any element with an xlink:href attribute). + +The value of man.font.links must be + either B or I, or empty. If +the value is empty, no font formatting is applied to links. + +If you set man.endnotes.are.numbered and/or +man.endnotes.list.enabled to zero (disabled), then +you should probably also set an empty value for +man.font.links. But if +man.endnotes.are.numbered is non-zero (enabled), +you should probably keep +man.font.links set to +B or IThe + main purpose of applying a font format to links in most output +formats it to indicate that the formatted text is +“clickable”; given that links rendered in man pages are +not “real” hyperlinks that users can click on, it might +seem like there is never a good reason to have font formatting for +link contents in man output. +In fact, if you suppress the +display of inline link references (by setting +man.endnotes.are.numbered to zero), there is no +good reason to apply font formatting to links. However, if +man.endnotes.are.numbered is non-zero, having +font formatting for links (arguably) serves a purpose: It provides +“context” information about exactly what part of the text +is being “annotated” by the link. Depending on how you +mark up your content, that context information may or may not +have value.. + + +Related Parameters + man.endnotes.list.enabled, + man.endnotes.are.numbered + + + + + + +man.font.table.headings +string + + +man.font.table.headings +Specifies font for table headings + + + + + <xsl:param name="man.font.table.headings">B</xsl:param> + + + +Description + +The man.font.table.headings parameter +specifies the font for table headings. It should be +a valid roff font, such as B or +I. + + + + + + +man.font.table.title +string + + +man.font.table.title +Specifies font for table headings + + + + + <xsl:param name="man.font.table.title">B</xsl:param> + + + +Description + +The man.font.table.title parameter +specifies the font for table titles. It should be +a valid roff font, such as B or +I. + + + + + + SYNOPSIS section + + +man.funcsynopsis.style +list +ansi +kr + + +man.funcsynopsis.style +What style of funcsynopsis should be generated? + + +<xsl:param name="man.funcsynopsis.style">ansi</xsl:param> + +Description +If man.funcsynopsis.style is +ansi, ANSI-style function synopses are +generated for a funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + AUTHORS and COPYRIGHT sections + + +man.authors.section.enabled +boolean + + +man.authors.section.enabled +Display auto-generated AUTHORS section? + + + +<xsl:param name="man.authors.section.enabled">1</xsl:param> + + +Description + +If the value of +man.authors.section.enabled is non-zero +(the default), then an AUTHORS section is +generated near the end of each man page. The output of the +AUTHORS section is assembled from any +author, editor, and othercredit +metadata found in the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any author, editor, and +othercredit metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.authors.section.enabled is zero, the +the auto-generated AUTHORS section is +suppressed. + +Set the value of + man.authors.section.enabled to zero if + you want to have a manually created AUTHORS + section in your source, and you want it to appear in output + instead of the auto-generated AUTHORS + section. + + + + + +man.copyright.section.enabled +boolean + + +man.copyright.section.enabled +Display auto-generated COPYRIGHT section? + + + +<xsl:param name="man.copyright.section.enabled">1</xsl:param> + + +Description + +If the value of +man.copyright.section.enabled is non-zero +(the default), then a COPYRIGHT section is +generated near the end of each man page. The output of the +COPYRIGHT section is assembled from any +copyright and legalnotice metadata found in +the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any copyright and +legalnotice metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.copyright.section.enabled is zero, the +the auto-generated COPYRIGHT section is +suppressed. + +Set the value of + man.copyright.section.enabled to zero if + you want to have a manually created COPYRIGHT + section in your source, and you want it to appear in output + instead of the auto-generated COPYRIGHT + section. + + + + + Endnotes and link handling + + +man.endnotes.list.enabled +boolean + + +man.endnotes.list.enabled +Display endnotes list at end of man page? + + + + +<xsl:param name="man.endnotes.list.enabled">1</xsl:param> + + + +Description + +If the value of man.endnotes.list.enabled is +non-zero (the default), then an endnotes list is added to the end of +the output man page. + +If the value of man.endnotes.list.enabled is +zero, the list is suppressed — unless link numbering is enabled (that +is, if man.endnotes.are.numbered is non-zero), in +which case, that setting overrides the +man.endnotes.list.enabled setting, and the +endnotes list is still displayed. The reason is that inline +numbering of notesources associated with endnotes only makes sense +if a (numbered) list of endnotes is also generated. + + + Leaving + man.endnotes.list.enabled at its default + (non-zero) value ensures that no “out of line” information (such + as the URLs for hyperlinks and images) gets lost in your + man-page output. It just gets “rearranged”. + So if you’re thinking about disabling endnotes listing by + setting the value of + man.endnotes.list.enabled to zero: + Before you do so, first take some time to carefully consider + the information needs and experiences of your users. The “out + of line” information has value even if the presentation of it + in text output is not as interactive as it may be in other + output formats. + As far as the specific case of URLs: Even though the URLs + displayed in text output may not be “real” (clickable) + hyperlinks, many X terminals have convenience features for + recognizing URLs and can, for example, present users with + an options to open a URL in a browser with the user clicks on + the URL is a terminal window. And short of those, users with X + terminals can always manually cut and paste the URLs into a web + browser. + Also, note that various “man to html” tools, such as the + widely used man2html (VH-Man2html) + application, automatically mark up URLs with a@href markup + during conversion — resulting in “real” hyperlinks in HTML + output from those tools. + + +To “turn off” numbering of endnotes in the +endnotes list, set man.endnotes.are.numbered +to zero. The endnotes list will +still be displayed; it will just be displayed without the +numbersIt can still make sense to have +the list of endnotes displayed even if you have endnotes numbering turned +off. In that case, your endnotes list basically becomes a “list +of references” without any association with specific text in +your document. This is probably the best option if you find the inline +endnotes numbering obtrusive. Your users will still have access to all the “out of line” +such as URLs for hyperlinks. + + +The default heading for the endnotes list is +NOTES. To change that, set a non-empty +value for the man.endnotes.list.heading +parameter. + +In the case of notesources that are links: Along with the +URL for each link, the endnotes list includes the contents of the +link. The list thus includes only non-empty + +A “non-empty” link is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty link” is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + links. + +Empty links are never included, and never numbered. They are simply +displayed inline, without any numbering. + +In addition, if there are multiple instances of links in a +refentry that have the same URL, the URL is listed only +once. The contents listed for that link in the endnotes list are +the contents of the first link which has that URL. + +If you disable endnotes listing, you should probably also set +man.links.are.underlined to zero (to disable +link underlining). + + + + + +man.endnotes.list.heading +string + + +man.endnotes.list.heading +Specifies an alternate name for endnotes list + + + + +<xsl:param name="man.endnotes.list.heading"></xsl:param> + + + +Description + +If the value of the +man.endnotes.are.numbered parameter +and/or the man.endnotes.list.enabled +parameter is non-zero (the defaults for both are non-zero), a +numbered list of endnotes is generated near the end of each man +page. The default heading for the list of endnotes is the +equivalent of the English word NOTES in +the current locale. To cause an alternate heading to be displayed, +set a non-empty value for the +man.endnotes.list.heading parameter — +for example, REFERENCES. + + + + + +man.endnotes.are.numbered +boolean + + +man.endnotes.are.numbered +Number endnotes? + + + + +<xsl:param name="man.endnotes.are.numbered">1</xsl:param> + + + +Description + +If the value of man.endnotes.are.numbered is +non-zero (the default), then for each non-empty +A “non-empty” notesource is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty” notesource is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + “notesource”: + + + + a number (in square brackets) is displayed inline after the + rendered inline contents (if any) of the notesource + + + the contents of the notesource are included in a + numbered list of endnotes that is generated at the end of + each man page; the number for each endnote corresponds to + the inline number for the notesource with which it is + associated + + +The default heading for the list of endnotes is +NOTES. To output a different heading, set a value +for the man.endnotes.section.heading +parameter. + + + The endnotes list is also displayed (but without + numbers) if the value of + man.endnotes.list.enabled is + non-zero. + + + +If the value of man.endnotes.are.numbered is +zero, numbering of endnotess is suppressed; only inline +contents (if any) of the notesource are displayed inline. + + If you are thinking about disabling endnote numbering by setting + the value of man.endnotes.are.numbered to zero, + before you do so, first take some time to carefully + consider the information needs and experiences of your users. The + square-bracketed numbers displayed inline after notesources may seem + obstrusive and aesthetically unpleasingAs far as notesources that are links, ytou might + think it would be better to just display URLs for non-empty + links inline, after their content, rather than displaying + square-bracketed numbers all over the place. But it's not better. In + fact, it's not even practical, because many (most) URLs for links + are too long to be displayed inline. They end up overflowing the + right margin. You can set a non-zero value for + man.break.after.slash parameter to deal with + that, but it could be argued that what you end up with is at least + as ugly, and definitely more obstrusive, then having short + square-bracketed numbers displayed inline., + + but in a text-only output format, the + numbered-notesources/endnotes-listing mechanism is the only + practical way to handle this kind of content. + + Also, users of “text based” browsers such as + lynx will already be accustomed to seeing inline + numbers for links. And various "man to html" applications, such as + the widely used man2html (VH-Man2html) + application, can automatically turn URLs into "real" HTML hyperlinks + in output. So leaving man.endnotes.are.numbered + at its default (non-zero) value ensures that no information is + lost in your man-page output. It just gets + “rearranged”. + + +The handling of empty links is not affected by this +parameter. Empty links are handled simply by displaying their URLs +inline. Empty links are never auto-numbered. + +If you disable endnotes numbering, you should probably also set +man.font.links to an empty value (to +disable font formatting for links. + + +Related Parameters + man.endnotes.list.enabled, + man.font.links + + + + + + man.base.url.for.relative.links + string + + + man.base.url.for.relative.links + Specifies a base URL for relative links + + + + <xsl:param name="man.base.url.for.relative.links">[set $man.base.url.for.relative.links]/</xsl:param> + + + Description + + For any “notesource” listed in the auto-generated + “NOTES” section of output man pages (which is generated when + the value of the + man.endnotes.list.enabled parameter + is non-zero), if the notesource is a link source with a + relative URI, the URI is displayed in output with the value + of the + man.base.url.for.relative.links + parameter prepended to the value of the link URI. + + + A link source is an notesource that references an + external resource: + + + a ulink element with a url attribute + + + any element with an xlink:href attribute + + + an imagedata, audiodata, or + videodata element + + + + + + If you use relative URIs in link sources in your DocBook + refentry source, and you leave + man.base.url.for.relative.links + unset, the relative links will appear “as is” in the “Notes” + section of any man-page output generated from your source. + That’s probably not what you want, because such relative + links are only usable in the context of HTML output. So, to + make the links meaningful and usable in the context of + man-page output, set a value for + man.base.url.for.relative.links that + points to the online version of HTML output generated from + your DocBook refentry source. For + example: + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + + + + Related Parameters + man.endnotes.list.enabled + + + + + + Lists + + +man.segtitle.suppress +boolean + + +man.segtitle.suppress +Suppress display of segtitle contents? + + + + +<xsl:param name="man.segtitle.suppress" select="0"></xsl:param> + + +Description + +If the value of man.segtitle.suppress is +non-zero, then display of segtitle contents is +suppressed in output. + + + + + + Character/string substitution + + +man.charmap.enabled +boolean + + +man.charmap.enabled +Apply character map before final output? + + + + +<xsl:param name="man.charmap.enabled" select="1"></xsl:param> + + + +Description + +If the value of the man.charmap.enabled +parameter is non-zero, a "character map" is used to substitute certain +Unicode symbols and special characters with appropriate roff/groff +equivalents, just before writing each man-page file to the +filesystem. If instead the value of +man.charmap.enabled is zero, Unicode characters +are passed through "as is". + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + +You can also use a subset of a character map. For details, +see the man.charmap.use.subset, +man.charmap.subset.profile, and +man.charmap.subset.profile.english +parameters. + + + + + + + +man.charmap.uri +uri + + +man.charmap.uri +URI for custom roff character map + + + + +<xsl:param name="man.charmap.uri"></xsl:param> + + + +Description + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes an XSLT character +map. That character map can be considered the standard roff +character map for the distribution. + +If the value of the man.charmap.uri +parameter is non-empty, that value is used as the URI for the location +for an alternate roff character map to use in place of the standard +roff character map provided in the distribution. + + +Do not set a value for man.charmap.uri +unless you have a custom roff character map that differs from the +standard one provided in the distribution. + + + + + + +man.charmap.use.subset +boolean + + +man.charmap.use.subset +Use subset of character map instead of full map? + + + + +<xsl:param name="man.charmap.use.subset" select="1"></xsl:param> + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +a subset of the roff character map is used instead of the full roff +character map. The profile of the subset used is determined either +by the value of the +man.charmap.subset.profile +parameter (if the source is not in English) or the +man.charmap.subset.profile.english +parameter (if the source is in English). + + + You may want to experiment with setting a non-zero value of + man.charmap.use.subset, so that the full + character map is used. Depending on which XSLT engine you run, + setting a non-zero value for + man.charmap.use.subset may significantly + increase the time needed to process your documents. Or it may + not. For example, if you set it and run it with xsltproc, it seems + to dramatically increase processing time; on the other hand, if you + set it and run it with Saxon, it does not seem to increase + processing time nearly as much. + + If processing time is not a important concern and/or you can + tolerate the increase in processing time imposed by using the full + character map, set man.charmap.use.subset to + zero. + + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + + +Because it is not terrifically efficient to use the standard +800-character character map in full -- and for most (or all) users, +never necessary to use it in full -- the DocBook XSL Stylesheets +support a mechanism for using, within any given character map, a +subset of character mappings instead of the full set. You can use the +man.charmap.subset.profile or +man.charmap.subset.profile.english +parameter to tune the profile of that subset to use. + + + + + + + +man.charmap.subset.profile +string + + +man.charmap.subset.profile +Profile of character map subset + + + + +<xsl:param name="man.charmap.subset.profile"> +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + (@*[local-name() = 'class'] = 'symbols' or + @*[local-name() = 'class'] = 'letters') +) or +@*[local-name() = 'block'] = 'Latin Extended-A' +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' +</xsl:param> + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that + is, if the lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has a value other than + en), then the character-map subset specified + by the man.charmap.subset.profile + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root + element in your DocBook + source or on the first refentry element in your source + has the value en or if it has no lang or xml:lang attribute, then the character-map + subset specified by the + man.charmap.subset.profile.english + parameter is used instead of + man.charmap.subset.profile. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile +is a string representing an XPath expression that matches attribute +names and values for output-character +elements in the character map. + +The attributes supported in the standard roff character map included in the distribution are: + + + character + + a raw Unicode character or numeric Unicode + character-entity value (either in decimal or hex); all + characters have this attribute + + + + name + + a standard full/long ISO/Unicode character name (e.g., + "OHM SIGN"); all characters have this attribute + + + + block + + a standard Unicode "block" name (e.g., "General + Punctuation"); all characters have this attribute. For the full + list of Unicode block names supported in the standard roff + character map, see . + + + + class + + a class of characters (e.g., "spaces"). Not all + characters have this attribute; currently, it is used only with + certain characters within the "C1 Controls And Latin-1 + Supplement" and "General Punctuation" blocks. For details, see + . + + + + entity + + an ISO entity name (e.g., "ohm"); not all characters + have this attribute, because not all characters have ISO entity + names; for example, of the 800 or so characters in the standard + roff character map included in the distribution, only around 300 + have ISO entity names. + + + + + string + + a string representing an roff/groff escape-code (with + "@esc@" used in place of the backslash), or a simple ASCII + string; all characters in the roff character map have this + attribute + + + + +The value of man.charmap.subset.profile +is evaluated as an XPath expression at run-time to select a portion of +the roff character map to use. You can tune the subset used by adding +or removing parts. For example, if you need to use a wide range of +mathematical operators in a document, and you want to have them +converted into roff markup properly, you might add the following: + + @*[local-name() = 'block'] ='MathematicalOperators' + +That will cause a additional set of around 67 additional "math" +characters to be converted into roff markup. + + +Depending on which XSLT engine you use, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +man.charmap.subset.profile at run-time. If you +don't use xsltproc, Saxon, Xalan -- or some other XSLT engine that +supports dyn:evaluate -- you must either set the +value of the man.charmap.use.subset parameter +to zero and process your documents using the full character map +instead, or set the value of the +man.charmap.enabled parameter to zero instead +(so that character-map processing is disabled completely. + + +An alternative to using +man.charmap.subset.profile is to create your +own custom character map, and set the value of +man.charmap.uri to the URI/filename for +that. If you use a custom character map, you will probably want to +include in it just the characters you want to use, and so you will +most likely also want to set the value of +man.charmap.use.subset to zero. +You can create a +custom character map by making a copy of the standard roff character map provided in the distribution, and +then adding to, changing, and/or deleting from that. + + +If you author your DocBook XML source in UTF-8 or UTF-16 +encoding and aren't sure what OSes or environments your man-page +output might end up being viewed on, and not sure what version of +nroff/groff those environments might have, you should be careful about +what Unicode symbols and special characters you use in your source and +what parts you add to the value of +man.charmap.subset.profile. +Many of the escape codes used are specific to groff and using +them may not provide the expected output on an OS or environment that +uses nroff instead of groff. +On the other hand, if you intend for your man-page output to be +viewed only on modern systems (for example, GNU/Linux systems, FreeBSD +systems, or Cygwin environments) that have a good, up-to-date groff, +then you can safely include a wide range of Unicode symbols and +special characters in your UTF-8 or UTF-16 encoded DocBook XML source +and add any of the supported Unicode block names to the value of +man.charmap.subset.profile. + + + +For other details, see the documentation for the +man.charmap.use.subset parameter. + +Supported Unicode block names and "class" values + + + Below is the full list of Unicode block names and "class" + values supported in the standard roff stylesheet provided in the + distribution, along with a description of which codepoints from the + Unicode range corresponding to that block name or block/class + combination are supported. + + + + C1 Controls And Latin-1 Supplement (Latin-1 Supplement) (x00a0 to x00ff) + class values + + + symbols + + + letters + + + + + Latin Extended-A (x0100 to x017f, partial) + + + Spacing Modifier Letters (x02b0 to x02ee, partial) + + + Greek and Coptic (x0370 to x03ff, partial) + + + General Punctuation (x2000 to x206f, partial) + class values + + + spaces + + + dashes + + + quotes + + + daggers + + + bullets + + + leaders + + + primes + + + + + + Superscripts and Subscripts (x2070 to x209f) + + + Currency Symbols (x20a0 to x20b1) + + + Letterlike Symbols (x2100 to x214b) + + + Number Forms (x2150 to x218f) + + + Arrows (x2190 to x21ff, partial) + + + Mathematical Operators (x2200 to x22ff, partial) + + + Control Pictures (x2400 to x243f) + + + Enclosed Alphanumerics (x2460 to x24ff) + + + Geometric Shapes (x25a0 to x25f7, partial) + + + Miscellaneous Symbols (x2600 to x26ff, partial) + + + Dingbats (x2700 to x27be, partial) + + + Alphabetic Presentation Forms (xfb00 to xfb04 only) + + + + + + + + +man.charmap.subset.profile.english +string + + +man.charmap.subset.profile.english +Profile of character map subset + + + + +<xsl:param name="man.charmap.subset.profile.english"> +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + @*[local-name() = 'class'] = 'symbols') +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' +</xsl:param> + + + +Description + +If the value of the + man.charmap.use.subset parameter is + non-zero, and your DocBook source is written in English (that + is, if its lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has the value en or if + it has no lang or xml:lang attribute), then the + character-map subset specified by the + man.charmap.subset.profile.english + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute + on the root element in your DocBook source or on the first + refentry element in your source has a value other + than en, then the character-map subset + specified by the + man.charmap.subset.profile parameter is + used instead of + man.charmap.subset.profile.english. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile.english +is a string representing an XPath expression that matches attribute +names and values for output-character elements in the character map. + +For other details, see the documentation for the +man.charmap.subset.profile.english and +man.charmap.use.subset parameters. + + + + + + +man.string.subst.map.local.pre +string + + +man.string.subst.map.local.pre +Specifies “local” string substitutions + + + + + <xsl:param name="man.string.subst.map.local.pre"></xsl:param> + + + +Description + +Use the man.string.subst.map.local.pre +parameter to specify any “local” string substitutions to perform over +the entire roff source for each man page before +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + + + + +man.string.subst.map +rtf + + +man.string.subst.map +Specifies a set of string substitutions + + + + +<xsl:param name="man.string.subst.map"> + + <!-- * remove no-break marker at beginning of line (stylesheet artifact) --> + <ss:substitution oldstring="▒▀" newstring="▒"></ss:substitution> + <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space --> + <ss:substitution oldstring="▀" newstring="\ "></ss:substitution> + + <!-- ==================================================================== --> + + <!-- * squeeze multiple newlines before a roff request --> + <ss:substitution oldstring=" + +." newstring=" +."></ss:substitution> + <!-- * remove any .sp instances that directly precede a .PP --> + <ss:substitution oldstring=".sp +.PP" newstring=".PP"></ss:substitution> + <!-- * remove any .sp instances that directly follow a .PP --> + <ss:substitution oldstring=".sp +.sp" newstring=".sp"></ss:substitution> + <!-- * squeeze multiple .sp instances into a single .sp--> + <ss:substitution oldstring=".PP +.sp" newstring=".PP"></ss:substitution> + <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. --> + <ss:substitution oldstring=".nf + +" newstring=".nf +"></ss:substitution> + <!-- * squeeze multiple newlines after REstoring margin --> + <ss:substitution oldstring=".RE + +" newstring=".RE +"></ss:substitution> + <!-- * U+2591 is a marker we add before and after every Parameter in --> + <!-- * Funcprototype output --> + <ss:substitution oldstring="░" newstring=" "></ss:substitution> + <!-- * U+2592 is a marker we add for the newline before output of <sbr>; --> + <ss:substitution oldstring="▒" newstring=" +"></ss:substitution> + <!-- * --> + <!-- * Now deal with some other characters that are added by the --> + <!-- * stylesheets during processing. --> + <!-- * --> + <!-- * bullet --> + <ss:substitution oldstring="•" newstring="\(bu"></ss:substitution> + <!-- * left double quote --> + <ss:substitution oldstring="“" newstring="\(lq"></ss:substitution> + <!-- * right double quote --> + <ss:substitution oldstring="”" newstring="\(rq"></ss:substitution> + <!-- * left single quote --> + <ss:substitution oldstring="‘" newstring="\(oq"></ss:substitution> + <!-- * right single quote --> + <ss:substitution oldstring="’" newstring="\(cq"></ss:substitution> + <!-- * copyright sign --> + <ss:substitution oldstring="©" newstring="\(co"></ss:substitution> + <!-- * registered sign --> + <ss:substitution oldstring="®" newstring="\(rg"></ss:substitution> + <!-- * ...servicemark... --> + <!-- * There is no groff equivalent for it. --> + <ss:substitution oldstring="℠" newstring="(SM)"></ss:substitution> + <!-- * ...trademark... --> + <!-- * We don't do "\(tm" because for console output, --> + <!-- * groff just renders that as "tm"; that is: --> + <!-- * --> + <!-- * Product&#x2122; -> Producttm --> + <!-- * --> + <!-- * So we just make it to "(TM)" instead; thus: --> + <!-- * --> + <!-- * Product&#x2122; -> Product(TM) --> + <ss:substitution oldstring="™" newstring="(TM)"></ss:substitution> + +</xsl:param> + + + +Description + +The man.string.subst.map parameter +contains a map that specifies a set of +string substitutions to perform over the entire roff source for each +man page, either just before generating final man-page output (that +is, before writing man-page files to disk) or, if the value of the +man.charmap.enabled parameter is non-zero, +before applying the roff character map. + +You can use man.string.subst.map as a +“lightweight” character map to perform “essential” substitutions -- +that is, substitutions that are always performed, +even if the value of the man.charmap.enabled +parameter is zero. For example, you can use it to replace quotation +marks or other special characters that are generated by the DocBook +XSL stylesheets for a particular locale setting (as opposed to those +characters that are actually in source XML documents), or to replace +any special characters that may be automatically generated by a +particular customization of the DocBook XSL stylesheets. + + + Do you not change value of the + man.string.subst.map parameter unless you are + sure what you are doing. First consider adding your + string-substitution mappings to either or both of the following + parameters: + + + man.string.subst.map.local.pre + applied before + man.string.subst.map + + + man.string.subst.map.local.post + applied after + man.string.subst.map + + + By default, both of those parameters contain no + string substitutions. They are intended as a means for you to + specify your own local string-substitution mappings. + + If you remove any of default mappings from the value of the + man.string.subst.map parameter, you are + likely to end up with broken output. And be very careful about adding + anything to it; it’s used for doing string substitution over the + entire roff source of each man page – it causes target strings to be + replaced in roff requests and escapes, not just in the visible + contents of the page. + + + + + + Contents of the substitution map + + The string-substitution map contains one or more + ss:substitution elements, each of which has two + attributes: + + + oldstring + + string to replace + + + + newstring + + string with which to replace oldstring + + + + It may also include XML comments (that is, delimited with + "<!--" and "-->"). + + + + + + + + +man.string.subst.map.local.post +string + + +man.string.subst.map.local.post +Specifies “local” string substitutions + + + + +<xsl:param name="man.string.subst.map.local.post"></xsl:param> + + + +Description + +Use the man.string.subst.map.local.post +parameter to specify any “local” string substitutions to perform over +the entire roff source for each man page after +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + + + + Refentry metadata gathering + + +refentry.meta.get.quietly +boolean + + +refentry.meta.get.quietly +Suppress notes and warnings when gathering refentry metadata? + + + + +<xsl:param name="refentry.meta.get.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), notes and warnings about “missing” markup +are generated during gathering of refentry metadata. If non-zero, the +metadata is gathered “quietly” -- that is, the notes and warnings are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + refentry.meta.get.quietly. + + + + + + + +refentry.date.profile +string + + +refentry.date.profile +Specifies profile for refentry "date" data + + + + +<xsl:param name="refentry.date.profile"> + (($info[//date])[last()]/date)[1]| + (($info[//pubdate])[last()]/pubdate)[1] +</xsl:param> + + + +Description + +The value of refentry.date.profile is a +string representing an XPath expression. It is evaluated at run-time +and used only if refentry.date.profile.enabled +is non-zero. Otherwise, the refentry metadata-gathering +logic "hard coded" into the stylesheets is used. + + The man(7) man page describes this content +as "the date of the last revision". In man pages, it is the content +that is usually displayed in the center footer. + + + + + + +refentry.date.profile.enabled +boolean + + +refentry.date.profile.enabled +Enable refentry "date" profiling? + + + + +<xsl:param name="refentry.date.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.date.profile.enabled is non-zero, then +during refentry metadata gathering, the info profile +specified by the customizable +refentry.date.profile parameter is used. + +If instead the value of +refentry.date.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "date" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "date" data to show +up in your output, then consider setting a non-zero value for +refentry.date.profile.enabled and adjusting the +value of refentry.date.profile to cause correct +data to be gathered. + +Note that the terms "source" and "date" have special meanings in +this context. For details, see the documentation for the +refentry.date.profile parameter. + + + + + + +refentry.manual.profile +string + + +refentry.manual.profile +Specifies profile for refentry "manual" data + + + + +<xsl:param name="refentry.manual.profile"> + (($info[//title])[last()]/title)[1]| + ../title/node() +</xsl:param> + + + +Description + +The value of refentry.manual.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.manual.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +In man pages, this content is usually displayed in the middle of +the header of the page. The man(7) man page +describes this as "the title of the manual (e.g., Linux +Programmer's Manual)". Here are some examples from +existing man pages: + + + dpkg utilities + (dpkg-name) + + + User Contributed Perl Documentation + (GET) + + + GNU Development Tools + (ld) + + + Emperor Norton Utilities + (ddate) + + + Debian GNU/Linux manual + (faked) + + + GIMP Manual Pages + (gimp) + + + KDOC Documentation System + (qt2kdoc) + + + + + + + + + +refentry.manual.profile.enabled +boolean + + +refentry.manual.profile.enabled +Enable refentry "manual" profiling? + + + + +<xsl:param name="refentry.manual.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.manual.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.manual.profile parameter is +used. + +If instead the value of +refentry.manual.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "manual" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "manual" data to show +up in your output, then consider setting a non-zero value for +refentry.manual.profile.enabled and adjusting +the value of refentry.manual.profile to cause +correct data to be gathered. + +Note that the term "manual" has a special meanings in this +context. For details, see the documentation for the +refentry.manual.profile parameter. + + + + + + +refentry.source.name.suppress +boolean + + +refentry.source.name.suppress +Suppress "name" part of refentry "source" contents? + + + + +<xsl:param name="refentry.source.name.suppress">0</xsl:param> + + +Description + +If the value of +refentry.source.name.suppress is non-zero, then +during refentry metadata gathering, no "source name" data +is added to the refentry "source" contents. Instead (unless +refentry.version.suppress is also non-zero), +only "version" data is added to the "source" contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "source name" data to show up in your +output -- for example, in the footer (or possibly header) of a man +page -- then you might consider setting a non-zero value for +refentry.source.name.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + + + + +refentry.source.name.profile +string + + +refentry.source.name.profile +Specifies profile for refentry "source name" data + + + + +<xsl:param name="refentry.source.name.profile"> + (($info[//productname])[last()]/productname)[1]| + (($info[//corpname])[last()]/corpname)[1]| + (($info[//corpcredit])[last()]/corpcredit)[1]| + (($info[//corpauthor])[last()]/corpauthor)[1]| + (($info[//orgname])[last()]/orgname)[1]| + (($info[//publishername])[last()]/publishername)[1] +</xsl:param> + + + +Description + +The value of refentry.source.name.profile +is a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.source.name.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source name" is one part of a (potentially) two-part +Name Version +"source" field. In man pages, it is usually displayed in the left +footer of the page. It typically indicates the software system or +product that the item documented in the man page belongs to. The +man(7) man page describes it as "the source of +the command", and provides the following examples: + + + For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + For system calls, use the version of the kernel that you + are currently looking at: Linux 0.99.11. + + + For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + +In practice, there are many pages that simply have a Version +number in the "source" field. So, it looks like what we have is a +two-part field, +Name Version, +where: + + + Name + + product name (e.g., BSD) or org. name (e.g., GNU) + + + + Version + + version number + + + +Each part is optional. If the Name is a +product name, then the Version is probably +the version of the product. Or there may be no +Name, in which case, if there is a +Version, it is probably the version +of the item itself, not the product it is part of. Or, if the +Name is an organization name, then there +probably will be no Version. + + + + + +refentry.source.name.profile.enabled +boolean + + +refentry.source.name.profile.enabled +Enable refentry "source name" profiling? + + + + +<xsl:param name="refentry.source.name.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.source.name.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.source.name.profile parameter is +used. + +If instead the value of +refentry.source.name.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "source name" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "source name" data to +show up in your output, then consider setting a non-zero value for +refentry.source.name.profile.enabled and +adjusting the value of +refentry.source.name.profile to cause correct +data to be gathered. + +Note that the terms "source" and "source name" have special +meanings in this context. For details, see the documentation for the +refentry.source.name.profile parameter. + + + + + + +refentry.version.suppress +boolean + + +refentry.version.suppress +Suppress "version" part of refentry "source" contents? + + + + +<xsl:param name="refentry.version.suppress">0</xsl:param> + + +Description + +If the value of refentry.version.suppress +is non-zero, then during refentry metadata gathering, no +"version" data is added to the refentry "source" +contents. Instead (unless +refentry.source.name.suppress is also +non-zero), only "source name" data is added to the "source" +contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "version" data to show up in your output +-- for example, in the footer (or possibly header) of a man page -- +then you might consider setting a non-zero value for +refentry.version.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + + + + +refentry.version.profile +string + + +refentry.version.profile +Specifies profile for refentry "version" data + + + + +<xsl:param name="refentry.version.profile"> + (($info[//productnumber])[last()]/productnumber)[1]| + (($info[//edition])[last()]/edition)[1]| + (($info[//releaseinfo])[last()]/releaseinfo)[1] +</xsl:param> + + + +Description + +The value of refentry.version.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.version.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source.name" is one part of a (potentially) two-part +Name Version +"source" field. For more details, see the documentation for the +refentry.source.name.profile parameter. + + + + + + +refentry.version.profile.enabled +boolean + + +refentry.version.profile.enabled +Enable refentry "version" profiling? + + + + +<xsl:param name="refentry.version.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.version.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.version.profile parameter is +used. + +If instead the value of +refentry.version.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "version" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "version" data to show +up in your output, then consider setting a non-zero value for +refentry.version.profile.enabled and adjusting +the value of refentry.version.profile to cause +correct data to be gathered. + +Note that the terms "source" and "version" have special +meanings in this context. For details, see the documentation for the +refentry.version.profile parameter. + + + + + + +refentry.manual.fallback.profile +string + + +refentry.manual.fallback.profile +Specifies profile of "fallback" for refentry "manual" data + + + + +<xsl:param name="refentry.manual.fallback.profile"> +refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param> + + + +Description + +The value of +refentry.manual.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and +used only if no "manual" data can be found by other means (that is, +either using the refentry metadata-gathering logic "hard +coded" in the stylesheets, or the value of +refentry.manual.profile, if it is +enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.manual.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.manual.fallback.profile +parameter. + + + + + + + +refentry.source.fallback.profile +string + + +refentry.source.fallback.profile +Specifies profile of "fallback" for refentry "source" data + + + + +<xsl:param name="refentry.source.fallback.profile"> +refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param> + + + +Description + +The value of +refentry.source.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and used +only if no "source" data can be found by other means (that is, either +using the refentry metadata-gathering logic "hard coded" in +the stylesheets, or the value of the +refentry.source.name.profile and +refentry.version.profile parameters, if those +are enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.source.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.source.fallback.profile +parameter. + + + + + + + Page header/footer + + +man.th.extra1.suppress +boolean + + +man.th.extra1.suppress +Suppress extra1 part of header/footer? + + + + +<xsl:param name="man.th.extra1.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra1.suppress is +non-zero, then the extra1 part of the +.TH title line header/footer is suppressed. + +The content of the extra1 field is almost +always displayed in the center footer of the page and is, universally, +a date. + + + + + + +man.th.extra2.suppress +boolean + + +man.th.extra2.suppress +Suppress extra2 part of header/footer? + + + + +<xsl:param name="man.th.extra2.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra2.suppress is +non-zero, then the extra2 part of the +.TH title line header/footer is suppressed. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + + + You can use the + refentry.source.name.suppress and + refentry.version.suppress parameters to + independently suppress the Name and + Version parts of the + extra2 field. + + + + + + + +man.th.extra3.suppress +boolean + + +man.th.extra3.suppress +Suppress extra3 part of header/footer? + + + + +<xsl:param name="man.th.extra3.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra3.suppress is +non-zero, then the extra3 part of the +.TH title line header/footer is +suppressed. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + + + + + + +man.th.title.max.length +integer + + +man.th.title.max.length +Maximum length of title in header/footer + + + + +<xsl:param name="man.th.title.max.length">20</xsl:param> + + + +Description + +Specifies the maximum permitted length of the title part of the +man-page .TH title line header/footer. If the title +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +Details + + +Every man page generated using the DocBook stylesheets has a +title line, specified using the TH roff +macro. Within that title line, there is always, at a minimum, a title, +followed by a section value (representing a man "section" -- usually +just a number). + +The title and section are displayed, together, in the visible +header of each page. Where in the header they are displayed depends on +OS the man page is viewed on, and on what version of nroff/groff/man +is used for viewing the page. But, at a minimum and across all +systems, the title and section are displayed on the right-hand column +of the header. On many systems -- those with a modern groff, including +Linux systems -- they are displayed twice: both in the left and right +columns of the header. + +So if the length of the title exceeds a certain percentage of +the column width in which the page is viewed, the left and right +titles can end up overlapping, making them unreadable, or breaking to +another line, which doesn't look particularly good. + +So the stylesheets provide the +man.th.title.max.length parameter as a means +for truncating titles that exceed the maximum length that can be +viewing properly in a page header. + +The default value is reasonable but somewhat arbitrary. If you +have pages with long titles, you may want to experiment with changing +the value in order to achieve the correct aesthetic results. + + + + + + + +man.th.extra2.max.length +integer + + +man.th.extra2.max.length +Maximum length of extra2 in header/footer + + + + +<xsl:param name="man.th.extra2.max.length">30</xsl:param> + + + +Description + +Specifies the maximum permitted length of the +extra2 part of the man-page part of the +.TH title line header/footer. If the +extra2 content exceeds the maxiumum specified, it +is truncated down to the maximum permitted length. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data indicating the software system or product that the item +documented in the man page belongs to, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "source" information, +you may want to experiment with changing the value in order to achieve +the correct aesthetic results. + + + + + +man.th.extra3.max.length +integer + + +man.th.extra3.max.length +Maximum length of extra3 in header/footer + + + + +<xsl:param name="man.th.extra3.max.length">30</xsl:param> + + + +Description + +Specifies the maximum permitted length of the +extra3 part of the man-page .TH +title line header/footer. If the extra3 content +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "manual names" -- or +especially if you are processing pages that have both long "title" +parts (command/function, etc. names) and long +manual names -- you may want to experiment with changing the value in +order to achieve the correct aesthetic results. + + + + + Output + + + man.output.manifest.enabled + boolean + + + man.output.manifest.enabled + Generate a manifest file? + + + + <xsl:param name="man.output.manifest.enabled" select="0"></xsl:param> + + + Description + + If non-zero, a list of filenames for man pages generated by + the stylesheet transformation is written to the file named by the + man.output.manifest.filename parameter. + + + + + + + man.output.manifest.filename + string + + + man.output.manifest.filename + Name of manifest file + + + + <xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param> + + + Description + + The man.output.manifest.filename parameter + specifies the name of the file to which the manpages manifest file + is written (if the value of the + man.output.manifest.enabled parameter is + non-zero). + + + + + + +man.output.in.separate.dir +boolean + + +man.output.in.separate.dir +Output man-page files in separate output directory? + + + + +<xsl:param name="man.output.in.separate.dir" select="0"></xsl:param> + + + +Description + +If the value of man.output.in.separate.dir +parameter is non-zero, man-page files are output in a separate +directory, specified by the man.output.base.dir +parameter; otherwise, if the value of +man.output.in.separate.dir is zero, man-page files +are not output in a separate directory. + + + + + + +man.output.lang.in.name.enabled +boolean + + +man.output.lang.in.name.enabled +Include $LANG value in man-page filename/pathname? + + + + +<xsl:param name="man.output.lang.in.name.enabled" select="0"></xsl:param> + + + +Description + + The man.output.lang.in.name.enabled + parameter specifies whether a $lang value is + included in man-page filenames and pathnames. + + If the value of + man.output.lang.in.name.enabled is non-zero, + man-page files are output with the $lang value + included in their filenames or pathnames as follows; + + + + if man.output.subdirs.enabled is + non-zero, each file is output to, e.g., a + man/$lang/man8/foo.8 + pathname + + + if man.output.subdirs.enabled is + zero, each file is output with a + foo.$lang.8 + filename + + + + + + + + + +man.output.base.dir +uri + + +man.output.base.dir +Specifies separate output directory + + + +<xsl:param name="man.output.base.dir">man/</xsl:param> + + +Description + +The man.output.base.dir parameter +specifies the base directory into which man-page files are output. The +man.output.subdirs.enabled parameter controls +whether the files are output in subdirectories within the base +directory. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + + + + +man.output.subdirs.enabled +boolean + + +man.output.subdirs.enabled +Output man-page files in subdirectories within base output directory? + + + + +<xsl:param name="man.output.subdirs.enabled" select="1"></xsl:param> + + + +Description + +The man.output.subdirs.enabled parameter +controls whether man-pages files are output in subdirectories within +the base directory specified by the directory specified by the +man.output.base.dir parameter. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + + + + +man.output.quietly +boolean + + +man.output.quietly +Suppress filename messages emitted when generating output? + + + + +<xsl:param name="man.output.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), for each man-page file created, a message +with the name of the file is emitted. If non-zero, the files are +output "quietly" -- that is, the filename messages are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + man.output.quietly. + + + + + + + +man.output.encoding +string + + +man.output.encoding +Encoding used for man-page output + + + + +<xsl:param name="man.output.encoding">UTF-8</xsl:param> + + + +Description + +This parameter specifies the encoding to use for files generated +by the manpages stylesheet. Not all processors support specification +of this parameter. + + + If the value of the man.charmap.enabled + parameter is non-zero (the default), keeping the + man.output.encoding parameter at its default + value (UTF-8) or setting it to + UTF-16 does not cause your + man pages to be output in raw UTF-8 or UTF-16 -- because + any Unicode characters for which matches are found in the enabled + character map will be replaced with roff escape sequences before the + final man-page files are generated. + + So if you want to generate "real" UTF-8 man pages, without any + character substitution being performed on your content, you need to + set man.charmap.enabled to zero (which will + completely disable character-map processing). + + You may also need to set + man.charmap.enabled to zero if you want to + output man pages in an encoding other than UTF-8 + or UTF-16. Character-map processing is based on + Unicode character values and may not work with other output + encodings. + + + + + + + +man.output.better.ps.enabled +boolean + + +man.output.better.ps.enabled +Enable enhanced print/PostScript output? + + + +<xsl:param name="man.output.better.ps.enabled">0</xsl:param> + + +Description + +If the value of the +man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps +command for that page will include a number of enhancements +designed to improve the quality of that output. + +If man.output.better.ps.enabled is +zero (the default), no such markup is embedded in generated man +pages, and no enhancements are included in the PostScript +output generated from those man pages by the man + -Tps command. + + + The enhancements provided by this parameter rely on + features that are specific to groff (GNU troff) and that are + not part of “classic” AT&T troff or any of its + derivatives. Therefore, any man pages you generate with this + parameter enabled will be readable only on systems on which + the groff (GNU troff) program is installed, such as GNU/Linux + systems. The pages will not not be + readable on systems on with the classic troff (AT&T + troff) command is installed. + + +The value of this parameter only affects PostScript output + generated from the man command. It has no + effect on output generated using the FO backend. + + + You can generate PostScript output for any man page by + running the following command: + man FOO -Tps > FOO.ps + You can then generate PDF output by running the following + command: + ps2pdf FOO.ps + + + + + + + Other + + +man.table.footnotes.divider +string + + +man.table.footnotes.divider +Specifies divider string that appears before table footnotes + + + + +<xsl:param name="man.table.footnotes.divider">----</xsl:param> + + + +Description + +In each table that contains footenotes, the string specified by +the man.table.footnotes.divider parameter is +output before the list of footnotes for the table. + + + + + + +man.subheading.divider.enabled +boolean + + +man.subheading.divider.enabled +Add divider comment to roff source before/after subheadings? + + + + +<xsl:param name="man.subheading.divider.enabled">0</xsl:param> + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + + + + +man.subheading.divider +string + + +man.subheading.divider +Specifies string to use as divider comment before/after subheadings + + + + +<xsl:param name="man.subheading.divider">========================================================================</xsl:param> + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + + + +
    + + + + Roundtrip Parameter Reference + + + This is reference documentation for all user-configurable + parameters in the DocBook “Roundtrip” Stylesheets (for + transforming DocBook to WordML, OpenDocument, and Apple Pages, + and for converting from those formats back to DocBook). + + + + + + +wordml.template +uri + + +wordml.template +Specify the template WordML document + + + + +<xsl:param name="wordml.template"></xsl:param> + + + +Description + +The wordml.template parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets. + + + + + + +pages.template +uri + + +pages.template +Specify the template Pages document + + + + +<xsl:param name="pages.template"></xsl:param> + + + +Description + +The pages.template parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets. + + + + + + + Slides Parameter Reference + + + + This is reference documentation for all + user-configurable parameters in the DocBook XSL Slides + stylesheets (for generating HTML and PDF slide + presentations). + + The Slides stylesheet for HTML output is a + customization layer of the DocBook XSL HTML + stylesheet; the Slides stylesheet for FO output is a + customization layer of the DocBook XSL FO stylesheet. + Therefore, in addition to the slides-specific + parameters listed in this section, you can also use a + number of HTML stylesheet + parameters and FO + stylesheet parameters to control Slides + output. + + + + XHTML: General Params + + + +disable.collapsible +boolean + + +disable.collapsible +Specifies whether collapsible rendering is enabled + + + + + <xsl:param name="disable.collapsible">0</xsl:param> + + + +Description + +This parameter specifies whether elements marked as + collapsible are generated as such in the output document. + + + + + + +disable.incremental +boolean + + +disable.incremental +Specifies whether incremental rendering is enabled + + + + + <xsl:param name="disable.incremental">0</xsl:param> + + + +Description + +This parameter specifies whether elements marked as + incremental are generated as such in the output document. + + + + + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + <xsl:param name="generate.copyright">1</xsl:param> + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + + + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param> + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + + + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + <xsl:param name="generate.foilgroup.toc">1</xsl:param> + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + + + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + <xsl:param name="generate.handoutnotes">0</xsl:param> + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + + + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + <xsl:param name="generate.pubdate">1</xsl:param> + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + + + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + <xsl:param name="generate.speakernotes">0</xsl:param> + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + + + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + <xsl:param name="generate.titlepage">1</xsl:param> + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + + + + +mml.embedding.mode +list +inline +object +image +link +iframe +embed + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + <xsl:param name="mml.embedding.mode">inline</xsl:param> + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + + + + +svg.embedding.mode +list +inline +object +image +link +iframe +embed + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + <xsl:param name="svg.embedding.mode">object</xsl:param> + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + + + + +user.css +filename + + +user.css +Specifies the path to user-supplied CSS + + + + + <xsl:param name="user.css">user.css</xsl:param> + + + +Description + +This parameter specifies the path from where the + CSS styling is read. This file can be used to + add additional styling to the slides. + + + + + + +wrap.slidecontent +boolean + + +wrap.slidecontent +Specifies whether the foil content is wrapped into a div + + + + + <xsl:param name="wrap.slidecontent">0</xsl:param> + + + +Description + +This parameter specifies whether the foil content is wrapped into + a div so that additional styling can be applied. + + + + + + XHTML: S5 Params + + + +s5.controls +boolean + + +s5.controls +Specifies whether S5 controls are visible + + + + + <xsl:param name="s5.controls">0</xsl:param> + + + +Description + +This parameter specifies whether S5 navigation controls are + visible by default. + + + + + + +s5.defaultview +list +slideshow +outline + + +s5.defaultview +Specifies the default S5 view + + + + + <xsl:param name="s5.defaultview">slideshow</xsl:param> + + + +Description + +This parameter specifies, which is the default view + in the generated S5 presentation. + + + + + + +s5.opera.css +filename + + +s5.opera.css +Specifies the name of the S5 Opera-specific CSS file + + + + + <xsl:param name="s5.opera.css">opera.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 Opera-specific + CSS file. + + + + + + +s5.outline.css +filename + + +s5.outline.css +Specifies the name of the S5 outline CSS file + + + + + <xsl:param name="s5.outline.css">outline.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 outline CSS file. + + + + + + +s5.path.prefix +uri + + +s5.path.prefix +Specifies the path to S5 files + + + + + <xsl:param name="s5.path.prefix">files/s5/ui/default/</xsl:param> + + + +Description + +This parameter specifies the path where S5 CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + + + + +s5.print.css +filename + + +s5.print.css +Specifies the name of the S5 print CSS file + + + + + <xsl:param name="s5.print.css">print.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 print CSS file. + + + + + + +s5.slides.css +filename + + +s5.slides.css +Specifies the name of the S5 slides CSS file + + + + + <xsl:param name="s5.slides.css">slides.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 slides CSS file. + + + + + + +s5.slides.js +filename + + +s5.slides.js +Specifies the name of the S5 slides JavaScript file + + + + + <xsl:param name="s5.slides.js">slides.js</xsl:param> + + + +Description + +This parameter specifies the name of the S5 slides JavaScript + file. + + + + + + XHTML: Slidy Params + + + +slidy.duration +integer + + +slidy.duration +Specifies the duration of the presentation + + + + + <xsl:param name="slidy.duration">0</xsl:param> + + + +Description + +This parameter specifies the duration of the presentation + in minutes. A JavaScript clock will count down to help the + speaker in not running out of time. Can be disabled if set to 0. + + + + + + +slidy.path.prefix +uri + + +slidy.path.prefix +Specifies the path to Slidy files + + + + + <xsl:param name="slidy.path.prefix">files/slidy/</xsl:param> + + + +Description + +This parameter specifies the path where Slidy CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + + + + +slidy.slidy.css +filename + + +slidy.slidy.css +Specifies the name of the main Slidy CSS file + + + + + <xsl:param name="slidy.slidy.css">styles/slidy.css</xsl:param> + + + +Description + +This parameter specifies the name of the main Slidy CSS file. + + + + + + +slidy.slidy.js +filename + + +slidy.slidy.js +Specifies the name of the Slidy JavaScript file + + + + + <xsl:param name="slidy.slidy.js">scripts/slidy.js</xsl:param> + + + +Description + +This parameter specifies the name of the Slidy JavaScript file. + + + + + + +slidy.user.css +filename + + +slidy.user.css +Specifies the name of the Slidy user CSS file + + + + + <xsl:param name="slidy.user.css">styles/w3c-blue.css</xsl:param> + + + +Description + +This parameter specifies the name of the Slidy user CSS file. + + + + + + + FO: General Params + + + +foil.title.master +number + + +foil.title.master +Specifies unitless font size to use for foil titles + + + + +<xsl:param name="foil.title.master">36</xsl:param> +<!-- Inconsistant use of point size? --> + + + +Description + +Specifies a unitless font size to use for foil titles; used in +combination with the foil.title.size +parameter. + + + + + +foil.title.size +length + + +foil.title.size +Specifies font size to use for foil titles, including units + + + + + <xsl:param name="foil.title.size"> + <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text> + </xsl:param> + + + +Description + +This parameter combines the value of the +foil.title.master parameter with a unit +specification. The default unit is pt +(points). + + + + + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + <xsl:param name="generate.copyright">1</xsl:param> + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + + + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param> + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + + + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + <xsl:param name="generate.foilgroup.toc">1</xsl:param> + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + + + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + <xsl:param name="generate.handoutnotes">0</xsl:param> + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + + + + +generate.page.number +list +full1/2 +compact1 +no + + +generate.page.number +Specifies whether page numbers are generated + + + + + <xsl:param name="generate.page.number">compact</xsl:param> + + + +Description + +This parameter specifies how page numbers are generated in + the footer area. + + + + no + + No page numbers generated at all. + + + + full + + Current page number, a slash and the total number of pages + + + + compact + + Current page number only + + + + no + + No page numbers generated at all. + + + + + + + + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + <xsl:param name="generate.pubdate">1</xsl:param> + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + + + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + <xsl:param name="generate.speakernotes">0</xsl:param> + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + + + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + <xsl:param name="generate.titlepage">1</xsl:param> + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + + + + +mml.embedding.mode +list +inline +external-graphic +instream-foreign-object + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + <xsl:param name="mml.embedding.mode">external-graphic</xsl:param> + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + + + + +slide.font.family +list +open +serif +sans-serif +monospace + + +slide.font.family +Specifies font family to use for slide bodies + + + + +<xsl:param name="slide.font.family">Helvetica</xsl:param> + + + +Description + +Specifies the font family to use for slides bodies. + + + + + + +slide.title.font.family +list +open +serif +sans-serif +monospace + + +slide.title.font.family +Specifies font family to use for slide titles + + + + +<xsl:param name="slide.title.font.family">Helvetica</xsl:param> + + + +Description + +Specifies the font family to use for slides titles. + + + + + + +svg.embedding.mode +list +external-graphic +instream-foreign-object + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param> + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + + + + FO: Property Sets + + +foil.header.properties +attribute set + + +foil.header.properties +Specifies properties for foil header area + + + + + <xsl:attribute-set name="foil.header.properties"> + <xsl:attribute name="background-color">white</xsl:attribute> + <xsl:attribute name="color">black</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="space-after">12pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil header area. + + + + + + +foil.master.properties +attribute set + + +foil.master.properties +Specifies properties for foil master + + + + + <xsl:attribute-set name="foil.master.properties"> + <xsl:attribute name="page-width"> + <xsl:value-of select="$page.width"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="page-height"> + <xsl:value-of select="$page.height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$page.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$page.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$page.margin.inner"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-right"> + <xsl:value-of select="$page.margin.outer"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil master. + + + + + + +foil.page-sequence.properties +attribute set + + +foil.page-sequence.properties +Specifies properties for foil page-sequence + + + + + <xsl:attribute-set name="foil.page-sequence.properties"> + <xsl:attribute name="hyphenate"> + <xsl:value-of select="$hyphenate"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for foil page-sequence. + + + + + + +foil.properties +attribute set + + +foil.properties +Specifies properties for all foils + + + + + <xsl:attribute-set name="foil.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all foils. + + + + + + +foil.region-after.properties +attribute set + + +foil.region-after.properties +Specifies properties for foil region-after + + + + + <xsl:attribute-set name="foil.region-after.properties"> + <xsl:attribute name="extent"> + <xsl:value-of select="$region.after.extent"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="display-align">after</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-after. + + + + + + +foil.region-before.properties +attribute set + + +foil.region-before.properties +Specifies properties for foil region-before + + + + + <xsl:attribute-set name="foil.region-before.properties"> + <xsl:attribute name="extent"> + <xsl:value-of select="$region.before.extent"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="display-align"> + <xsl:value-of select="'before'"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-before. + + + + + + +foil.region-body.properties +attribute set + + +foil.region-body.properties +Specifies properties for foil region-body + + + + + <xsl:attribute-set name="foil.region-body.properties"> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$body.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$body.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="column-count"> + <xsl:value-of select="$column.count.body"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-body. + + + + + + +foil.subtitle.properties +attribute set + + +foil.subtitle.properties +Specifies properties for all foil subtitles + + + + + <xsl:attribute-set name="foil.subtitle.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name="space-after">12pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all foil subtitles. + + + + + + +foil.title.properties +attribute set + + +foil.title.properties +Specifies properties for foil title + + + + + <xsl:attribute-set name="foil.title.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.size"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil title. + + + + + + +foil.footer.properties +attribute set + + +foil.footer.properties +Specifies properties for slides footer + + + + + <xsl:attribute-set name="foil.footer.properties"></xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil footer. + + + + + + +handoutnotes.properties +attribute set + + +footnote.properties +Properties applied to handoutnotes + + + + + +<xsl:attribute-set name="handoutnotes.properties"></xsl:attribute-set> + + + +Description + +This attribute set is applied to handoutnotes. + + + + + + +slides.properties +attribute set + + +slides.properties +Specifies properties for all slides + + + + + <xsl:attribute-set name="slides.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all slides. + + + + + + +slides.titlepage.master.properties +attribute set + + +slides.titlepage.master.properties +Specifies properties for slides titlepage master + + + + + <xsl:attribute-set name="slides.titlepage.master.properties"> + <xsl:attribute name="page-width"> + <xsl:value-of select="$page.width"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="page-height"> + <xsl:value-of select="$page.height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$page.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$page.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$page.margin.inner"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-right"> + <xsl:value-of select="$page.margin.outer"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the slides titlepage master. + + + + + + +slides.titlepage.region-body.properties +attribute set + + +slides.titlepage.region-body.properties +Specifies properties for slides titlepage region-body + + + + + <xsl:attribute-set name="slides.titlepage.region-body.properties"> + <xsl:attribute name="margin-bottom">0pt</xsl:attribute> + <xsl:attribute name="margin-top">0pt</xsl:attribute> + <xsl:attribute name="column-count"> + <xsl:value-of select="$column.count.body"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the slides titlepage region-body. + + + + + + +slides.titlepage.corpauthor.properties +attribute set + + +slides.titlepage.corpauthor.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.corpauthor.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">20.736pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the corpauthor on the default + titlepage. + + + + + + +slides.titlepage.title.properties +attribute set + + +slides.titlepage.title.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.title.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="padding-top">1.5in</xsl:attribute> + <xsl:attribute name="keep-with-next">always</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.size"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the title on the default + titlepage. + + + + + + +slides.titlepage.subtitle.properties +attribute set + + +slides.titlepage.subtitle.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.subtitle.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the subtitle on the default + titlepage. + + + + + + +slides.titlepage.author.properties +attribute set + + +slides.titlepage.author.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.author.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">20.736pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the author on the default + titlepage. + + + + + + +slides.titlepage.pubdate.properties +attribute set + + +slides.titlepage.pubdate.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.pubdate.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">17.28pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the pubdate on the default + titlepage. + + + + + + +slides.titlepage.authorgroup.properties +attribute set + + +slides.titlepage.authorgroup.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.authorgroup.properties"></xsl:attribute-set> + + + +Description + +This parameter specifies properties for the authorgroup on the default + titlepage. + + + + + + +speakernotes.properties +attribute set + + +footnote.properties +Properties applied to speakernotes + + + + + +<xsl:attribute-set name="speakernotes.properties"></xsl:attribute-set> + + + +Description + +This attribute set is applied to speakernotes. + + + + + + + + + + Website Parameter Reference + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL Website stylesheet (for + generating websites from DocBook XML sources). Note that the + Website stylesheet is a customization layer of the DocBook XSL + HTML stylesheet. Therefore, in addition to the + Website-specific parameters listed in this section, you can + also use a number of HTML + stylesheet parameters to control Website output. + + + +General Parameters + + +autolayout-file +filename + + +autolayout-file +Identifies the autolayout.xml file + + + + +<xsl:param name="autolayout-file">autolayout.xml</xsl:param> + + + +Description +When the source pages are spread over several directories, this +parameter can be set (for example, from the command line of a batch-mode +XSLT processor) to indicate the location of the autolayout.xml file. +FIXME: for browser-based use, there needs to be a PI for this... + + + + + + +body.attributes +attribute set + + +body.attributes +DEPRECATED + + + + +<xsl:attribute-set name="body.attributes"> + <xsl:attribute name="bgcolor">white</xsl:attribute> + <xsl:attribute name="text">black</xsl:attribute> + <xsl:attribute name="link">#0000FF</xsl:attribute> + <xsl:attribute name="vlink">#840084</xsl:attribute> + <xsl:attribute name="alink">#0000FF</xsl:attribute> +</xsl:attribute-set> + + + +Description +DEPRECATED + + + + + +currentpage.marker +string + + +currentpage.marker +The text symbol used to mark the current page + + + + +<xsl:param name="currentpage.marker">@</xsl:param> + + + +Description +Character to use as identifying the current page in + + + + + +dry-run +boolean + + +dry-run +Indicates that no files should be produced + + + + <xsl:param name="dry-run" select="0"></xsl:param> + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to suppress the generation of +new and updated files. Effectively, this allows you to see what the +stylesheet would do, without actually making any changes. +Only applies when XSLT-based chunking is being used. + + + + + +feedback.href +uri + + +feedback.href +HREF (URI) for feedback link + + + + +<xsl:param name="feedback.href"></xsl:param> + + + +Description +The feedback.href value is used as the value +for the href attribute on the feedback +link. If feedback.href +is empty, no feedback link is generated. + + + + + +feedback.link.text +string + + +feedback.link.text +The text of the feedback link + + + + +<xsl:param name="feedback.link.text">Feedback</xsl:param> + + + +Description +The contents of this variable is used as the text of the feedback +link if feedback.href is not empty. If +feedback.href is empty, no feedback link is +generated. + + + + + +feedback.with.ids +boolean + + +feedback.with.ids +Toggle use of IDs in feedback + + + + +<xsl:param name="feedback.with.ids" select="0"></xsl:param> + + + +Description +If feedback.with.ids is non-zero, the ID of the +current page will be added to the feedback link. This can be used, for +example, if the feedback.href is a CGI script. + + + + + +filename-prefix +string + + +filename-prefix +Prefix added to all filenames + + + + +<xsl:param name="filename-prefix"></xsl:param> + + + +Description +To produce the text-only (that is, non-tabular) layout +of a website simultaneously with the tabular layout, the filenames have to +be distinguished. That's accomplished by adding the +filename-prefix to the front of each filename. + + + + + +footer.hr +boolean + + +footer.hr +Toggle <HR> before footer + + + + +<xsl:param name="footer.hr" select="1"></xsl:param> + + + +Description +If non-zero, an <HR> is generated at the bottom of each web page, +before the footer. + + + + + +header.hr +boolean + + +header.hr +Toggle <HR> after header + + + + +<xsl:param name="header.hr" select="1"></xsl:param> + + + +Description +If non-zero, an <HR> is generated at the bottom of each web page, +before the footer. + + + + + +output-root +filename + + +output-root +Specifies the root directory of the website + + + + +<xsl:param name="output-root">.</xsl:param> + + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to indicate the root directory +where the resulting pages are placed. +Only applies when XSLT-based chunking is being used. + + + + + +rebuild-all +boolean + + +rebuild-all +Indicates that all files should be produced + + + + +<xsl:param name="rebuild-all" select="0"></xsl:param> + + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to regenerate the whole website, +updating even pages that don't appear to need to be updated. +The dependency extension only looks at the source documents. So +if you change something in the stylesheet, for example, that has a global +effect, you can use this parameter to force the stylesheet to rebuild the +whole website. + +Only applies when XSLT-based chunking is being used. + + + + + +sequential.links +boolean + + +sequential.links +Make sequentional links? + + + + +<xsl:param name="sequential.links" select="0"></xsl:param> + + + +Description +FIXME + + + + + +suppress.homepage.title +boolean + + +suppress.homepage.title +Suppress title on homepage? + + + + +<xsl:param name="suppress.homepage.title" select="1"></xsl:param> + + + +Description +FIXME:If non-zero, the title on the homepage is suppressed? + + + + + +table.spacer.image +filename + + +table.spacer.image +Invisible pixel for tabular accessibility + + + + +<xsl:param name="table.spacer.image">graphics/spacer.gif</xsl:param> + + + +Description +This is the 1x1 pixel, transparent pixel used for the table trick to increase the accessibility of the tabular +website presentation. + + + + +Navigation Parameters + + +banner.before.navigation +boolean + + +banner.before.navigation +Put banner before navigation? + + + + +<xsl:param name="banner.before.navigation" select="1"></xsl:param> + + + +Description +FIXME + + + + + +navbgcolor +color + + +navbgcolor +The background color of the navigation TOC + + + + +<xsl:param name="navbgcolor">#4080FF</xsl:param> + + + +Description +The background color of the navigation TOC. +Only applies with the tabular presentation is being used. + + + + + +navbodywidth +length + + +navbodywidth +Specifies the width of the navigation table body + + + + +<xsl:param name="navbodywidth"></xsl:param> + + + +Description +The width of the body column. +Only applies with the tabular presentation is being used. + + + + + +nav.table.summary +string + + +nav.table.summary +HTML Table summary attribute value for navigation tables + + + + +<xsl:param name="nav.table.summary">Navigation</xsl:param> + + + +Description +The value of this parameter is used as the value of the table +summary attribute for the navigation table. +Only applies with the tabular presentation is being used. + + + + + +navtocwidth +length + + +navtocwidth +Specifies the width of the navigation table TOC + + + + +<xsl:param name="navtocwidth">220</xsl:param> + + + +Description +The width, in pixels, of the navigation column. +Only applies with the tabular presentation is being used. + + + + + +textbgcolor +color + + +textbgcolor +The background color of the table body + + + + +<xsl:param name="textbgcolor">white</xsl:param> + + + +Description +The background color of the table body. +Only applies with the tabular presentation is being used. + + + + +ToC Parameters + + +toc.blank.graphic +boolean + + +toc.blank.graphic +Use graphic for "blanks" in TOC? + + + + +<xsl:param name="toc.blank.graphic" select="1"></xsl:param> + + + +Description +If non-zero, "blanks" in the the TOC will be accomplished +with the graphic identified by toc.spacer.image. + +Only applies with the tabular presentation is being used. + + + + + +toc.blank.image +filename + + +toc.blank.image +The image for "blanks" in the TOC + + + + +<xsl:param name="toc.blank.image">graphics/blank.gif</xsl:param> + + + +Description +If toc.blank.graphic is non-zero, this image +will be used to for "blanks" in the TOC. +Only applies with the tabular presentation is being used. + + + + + +toc.blank.text +string + + +toc.blank.text +The text for "blanks" in the TOC + + + + +<xsl:param name="toc.blank.text">   </xsl:param> + + + +Description +If toc.blank.graphic is zero, this text string +will be used for "blanks" in the TOC. +Only applies with the tabular presentation is being used. + + + + + +toc.pointer.graphic +boolean + + +toc.pointer.graphic +Use graphic for TOC pointer? + + + + +<xsl:param name="toc.pointer.graphic" select="1"></xsl:param> + + + +Description +If non-zero, the "pointer" in the TOC will be displayed +with the graphic identified by toc.pointer.image. + +Only applies with the tabular presentation is being used. + + + + + +toc.pointer.image +filename + + +toc.pointer.image +The image for the "pointer" in the TOC + + + + +<xsl:param name="toc.pointer.image">graphics/arrow.gif</xsl:param> + + + +Description +If toc.pointer.graphic is non-zero, this image +will be used for the "pointer" in the TOC. +Only applies with the tabular presentation is being used. + + + + + +toc.pointer.text +string + + +toc.pointer.text +The text for the "pointer" in the TOC + + + + +<xsl:param name="toc.pointer.text"> > </xsl:param> + + + +Description +If toc.pointer.graphic is zero, this text string +will be used to display the "pointer" in the TOC. +Only applies with the tabular presentation is being used. + + + + + +toc.spacer.graphic +boolean + + +toc.spacer.graphic +Use graphic for TOC spacer? + + + + +<xsl:param name="toc.spacer.graphic" select="1"></xsl:param> + + + +Description +If non-zero, the indentation in the TOC will be accomplished +with the graphic identified by toc.spacer.image. + +Only applies with the tabular presentation is being used. + + + + + +toc.spacer.image +filename + + +toc.spacer.image +The image for spacing the TOC + + + + +<xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param> + + + +Description +If toc.spacer.graphic is non-zero, this image +will be used to indent the TOC. +Only applies with the tabular presentation is being used. + + + + + +toc.spacer.text +string + + +toc.spacer.text +The text for spacing the TOC + + + + +<xsl:param name="toc.spacer.text">   </xsl:param> + + + +Description +If toc.spacer.graphic is zero, this text string +will be used to indent the TOC. +Only applies with the tabular presentation is being used. + + + + + + +
    + + DocBook XSL Stylesheets User Reference: PIs + + + + + This is generated reference documentation for all + user-specifiable processing instructions in the DocBook + XSL stylesheets. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + HTML Processing Instruction Reference + + $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + +You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbhtml_background-color +Sets background color for an image + + + + dbhtml background-color="color" + + +Description + +Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + Parameters + + + background-color="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Background color + + + + + +dbhtml_bgcolor +Sets background color on a CALS table row or table cell + + + + dbhtml bgcolor="color" + + +Description + +Use the dbhtml bgcolor PI as child of a CALS table row + or cell to set a background color for that table row or cell. + + Parameters + + + bgcolor="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell background color + + + + + +dbhtml_cellpadding +Specifies cellpadding in CALS table or qandaset output + + + + dbhtml cellpadding="number" + + +Description + +Use the dbhtml cellpadding PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + Parameters + + + cellpadding="number" + + +Specifies the cellpadding + + + + + + Related Global Parameters + +html.cellpadding + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell spacing and cell padding, + Q and A formatting + + + + + +dbhtml_cellspacing +Specifies cellspacing in CALS table or qandaset output + + + + dbhtml cellspacing="number" + + +Description + +Use the dbhtml cellspacing PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + Parameters + + + cellspacing="number" + + +Specifies the cellspacing + + + + + + Related Global Parameters + +html.cellspacing + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell spacing and cell padding, + Q and A formatting + + + + + +dbhtml_class +Set value of the class attribute for a CALS table row + + + + dbhtml class="name" + + +Description + +Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + Parameters + + + class="name" + + +Specifies the class name + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table styles in HTML output + + + + + +dbhtml_dir +Specifies a directory name in which to write files + + + + dbhtml dir="path" + + +Description + +When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + + + +The output directory specification is inherited by all +chunks of the descendants of the element. If descendants need +to go to a different directory, then add another +dbhtml dir processing +instruction as a child of the source element +for that chunk, and specify the path relative to the +ancestor path. + + + +For example, to put most chunk files into +shared +but one chapter into +exception +at the same level, use: + + +<book> + <?dbhtml dir="shared"?> + ... + <chapter> + <?dbhtml dir="../exception"?> + </chapter> +</book> + + + + Parameters + + + dir="path" + + +Specifies the pathname for the directory + + + + + + Related Global Parameters + +base.dir + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +dbhtml dir processing instruction + + + + + +dbhtml_filename +Specifies a filename for a chunk + + + + dbhtml filename="filename" + + +Description + +When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. Include the filename suffix. + + + +You cannot include a directory path in the filename value, +or your links may not work. Add a +dbhtml dir processing instruction +to specify the output directory. You can also combine the two +specifications in one processing instruction: +dbhtml dir="mydir" filename="myfile.html". + + + Parameters + + + filename="path" + + +Specifies the filename for the file + + + + + + Related Global Parameters + +use.id.as.filename + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +dbhtml filenames + + + + + +dbhtml_funcsynopsis-style +Specifies presentation style for a funcsynopsis + + + + dbhtml funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbhtml funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays funcprototype output in K&R style + + + + funcsynopsis-style="ansi" + + +Displays funcprototype output in ANSI style + + + + + + Related Global Parameters + +funcsynopsis.style + + + + + +dbhtml_img.src.path +Specifies a path to the location of an image file + + + + dbhtml img.src.path="path" + + +Description + +Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + Parameters + + + img.src.path="path" + + +Specifies the pathname to prepend to the name of the image file + + + + + + Related Global Parameters + +img.src.path + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Using fileref + + + + + +dbhtml_label-width +Specifies the label width for a qandaset + + + + dbhtml label-width="width" + + +Description + +Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + Parameters + + + label-width="width" + + +Specifies the label width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A formatting + + + + + +dbhtml_linenumbering.everyNth +Specifies interval for line numbers in verbatims + + + + dbhtml linenumbering.everyNth="N" + + +Description + +Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + Parameters + + + linenumbering.everyNth="N" + + +Specifies numbering interval; a number is output + before every Nth line + + + + + + Related Global Parameters + +linenumbering.everyNth + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_linenumbering.separator +Specifies separator text for line numbers in verbatims + + + + dbhtml linenumbering.separator="text" + + +Description + +Use the dbhtml linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + Parameters + + + linenumbering.separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +linenumbering.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_linenumbering.width +Specifies width for line numbers in verbatims + + + + dbhtml linenumbering.width="width" + + +Description + +Use the dbhtml linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + Parameters + + + linenumbering.width="width" + + +Specifies the width (inluding units) + + + + + + Related Global Parameters + +linenumbering.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_list-presentation +Specifies presentation style for a variablelist or + segmentedlist + + + + dbhtml list-presentation="list"|"table" + + +Description + +Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + Parameters + + + list-presentation="list" + + +Displays the list as a list + + + + list-presentation="table" + + +Displays the list as a table + + + + + + Related Global Parameters + + + + +variablelist.as.table + + + + +segmentedlist.as.table + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_list-width +Specifies the width of a variablelist or simplelist + + + + dbhtml list-width="width" + + +Description + +Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + Parameters + + + list-width="width" + + +Specifies the output width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_row-height +Specifies the height for a CALS table row + + + + dbhtml row-height="height" + + +Description + +Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + Parameters + + + row-height="height" + + +Specifies the row height (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Row height + + + + + +dbhtml_start +(obsolete) Sets the starting number on an ordered list + + + + dbhtml start="character" + + +Description + +This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + Parameters + + + start="character" + + +Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +List starting number + + + + + +dbhtml_stop-chunking +Do not chunk any descendants of this element. + + + + dbhtml stop-chunking + + +Description + +When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: +<section> +<title>Configuring pencil</title> +<?dbhtml stop-chunking?> + +... + +</section> + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Chunking into multiple HTML files + + + + + +dbhtml_table-summary +Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output + + + + dbhtml table-summary="text" + + +Description + +Use the dbhtml table-summary PI as a child of + a CALS table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + Parameters + + + table-summary="text" + + +Specifies the summary text (zero or more characters) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML, + Table summary text + + + + + +dbhtml_table-width +Specifies the width for a CALS table + + + + dbhtml table-width="width" + + +Description + +Use the dbhtml table-width PI as a child of a + CALS table to specify the width of the table in + output. + + Parameters + + + table-width="width" + + +Specifies the table width (including units or as a percentage) + + + + + + Related Global Parameters + +default.table.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table width + + + + + +dbhtml_term-presentation +Sets character formatting for terms in a variablelist + + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + +Description + +Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + Parameters + + + term-presentation="bold" + + +Specifies that terms are displayed in bold + + + + term-presentation="italic" + + +Specifies that terms are displayed in italic + + + + term-presentation="bold-italic" + + +Specifies that terms are displayed in bold-italic + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_term-separator +Specifies separator text among terms in a varlistentry + + + + dbhtml term-separator="text" + + +Description + +Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + Parameters + + + term-separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +variablelist.term.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_term-width +Specifies the term width for a variablelist + + + + dbhtml term-width="width" + + +Description + +Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + Parameters + + + term-width="width" + + +Specifies the term width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_toc +Specifies whether a TOC should be generated for a qandaset + + + + dbhtml toc="0"|"1" + + +Description + +Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + Parameters + + + toc="0" + + +If zero, no TOC is generated + + + + toc="1" + + +If 1 (or any non-zero value), + a TOC is generated + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A list of questions, + Q and A formatting + + + + + +dbcmdlist +Generates a hyperlinked list of commands + + + + dbcmdlist + + +Description + +Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list” will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. + + Parameters + +[No parameters] + + + + + +dbfunclist +Generates a hyperlinked list of functions + + + + dbfunclist + + +Description + +Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list” will be generated at the top of + output for that element, enabling users to quickly + jump to to each function synopsis. + + Parameters + +[No parameters] + + + + + +dbhtml-include_href +Copies an external well-formed HTML/XML file into current doc + + + + dbhtml-include href="URI" + + +Description + +Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is” into your HTML output at the point in document order + where the PI occurs in the source. + + + +The referenced file may contain plain text (as long as + it is “wrapped” in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + + +Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper” when + they find it, leaving just the content you want to + insert. + + + Parameters + + + href="URI" + + +Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + Related Global Parameters + +textinsert.extension + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Inserting external HTML code, + External code files + + + + + +dbhh +Sets topic name and topic id for context-sensitive HTML Help + + + + dbhh topicname="name" topicid="id" + + +Description + +Use the dbhh PI as a child of components + that should be used as targets for context-sensitive help requests. + + Parameters + + + topicname="name" + + +Specifies a unique string constant that identifies a help topic + + + + topicid="id" + + +Specifies a unique integer value for the topicname string + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Context-sensitive help + + + + + + FO Processing Instruction Reference + + $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $ + + + + + Introduction + + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for FO output. + + +You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbfo_background-color +Sets background color for an image + + + + dbfo background-color="color" + + +Description + +Use the dbfo background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + Parameters + + + background-color="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Background color + + + + + +dbfo_bgcolor +Sets background color on a table row or table cell + + + + dbfo bgcolor="color" + + +Description + +Use the dbfo bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + + +This PI works for both CALS and HTML tables. + + Parameters + + + bgcolor="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell background color + + + + + +dbfo_float-type +Specifies float behavior for a sidebar + + + + dbfo float-type="margin.note" + + +Description + +Use the dbfo float-type PI to specify the float + behavior for a sidebar (to cause the sidebar to be + displayed as a marginal note). + + Parameters + + + float-type="margin.note" + + +Specifies that the sidebar should be + displayed as a marginal note. + + + + + + Related Global Parameters + +sidebar.float.type (parameter), + sidebar.float.width (parameter), + sidebar.properties (attribute-set), + sidebar.title.properties (attribute-set) + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +A sidebar as + side float + + + + + +dbfo_funcsynopsis-style +Specifies presentation style for a funcsynopsis + + + + dbfo funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbfo funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays funcprototype output in K&R style + + + + funcsynopsis-style="ansi" + + +Displays funcprototype output in ANSI style + + + + + + Related Global Parameters + +funcsynopsis.style + + + + + +dbfo_glossary-presentation +Specifies presentation style for a glossary + + + + dbfo glossary-presentation="list"|"blocks" + + +Description + +Use the dbfo glossary-presentation PI as a child of + a glossary to control its presentation style. + + Parameters + + + glossary-presentation="list" + + +Displays the glossary as a list + + + + glossary-presentation="blocks" + + +Displays the glossary as blocks + + + + + + Related Global Parameters + +glossary.as.blocks + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_glosslist-presentation +Specifies presentation style for a glosslist + + + + dbfo glosslist-presentation="list"|"blocks" + + +Description + +Use the dbfo glosslist-presentation PI as a child of + a glosslist to control its presentation style. + + Parameters + + + glosslist-presentation="list" + + +Displays the glosslist as a list + + + + glosslist-presentation="blocks" + + +Displays the glosslist as blocks + + + + + + Related Global Parameters + +glosslist.as.blocks + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_glossterm-width +Specifies the glossterm width for a glossary or + glosslist + + + + dbfo glossterm-width="width" + + +Description + +Use the dbfo glossterm-width PI as a child of a + glossary or glosslist to specify the + width for output of glossterm instances in the + output. + + Parameters + + + glossterm-width="width" + + +Specifies the glossterm width (including units) + + + + + + Related Global Parameters + +glossterm.width, + glossterm.separation + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_keep-together +Specifies “keep” behavior for a table, example, + figure, equation, procedure, or task + + + + dbfo keep-together="auto"|"always" + + +Description + +Use the dbfo keep-together PI as a child of a + formal object (table, example, + figure, equation, procedure, or + task) to specify “keep” behavior (to allow the object to + “break” across a page). + + +The PI also works with informaltable, informalexample, + informalfigure and informalequation. + + + + Parameters + + + keep-together="auto" + + +Enables the object to break across a page + + + + keep-together="always" + + +Prevents the object from breaking across a page (the + default stylesheet behavior) + + + + + + Related Global Parameters + +formal.object.properties + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Keep-together processing instruction + + + + + +dbfo_label-width +Specifies the label width for a qandaset, itemizedlist, orderedlist + or calloutlist + + + + dbfo label-width="width" + + +Description + +Use the dbfo label-width PI as a child of a + qandaset, itemizedlist, orderedlist, + or calloutlist to specify the width of labels. + + Parameters + + + label-width="width" + + +Specifies the label width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A formatting + + + + + +dbfo_linenumbering.everyNth +Specifies interval for line numbers in verbatims + + + + dbfo linenumbering.everyNth="N" + + +Description + +Use the dbfo linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + Parameters + + + linenumbering.everyNth="N" + + +Specifies numbering interval; a number is output + before every Nth line + + + + + + Related Global Parameters + +linenumbering.everyNth + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_linenumbering.separator +Specifies separator text for line numbers in verbatims + + + + dbfo linenumbering.separator="text" + + +Description + +Use the dbfo linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + Parameters + + + linenumbering.separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +linenumbering.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_linenumbering.width +Specifies width for line numbers in verbatims + + + + dbfo linenumbering.width="width" + + +Description + +Use the dbfo linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + Parameters + + + linenumbering.width="width" + + +Specifies the width (inluding units) + + + + + + Related Global Parameters + +linenumbering.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_list-presentation +Specifies presentation style for a variablelist or + segmentedlist + + + + dbfo list-presentation="list"|"blocks"|"table" + + +Description + +Use the dbfo list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + Parameters + + + list-presentation="list" + + +Displays the list as a list + + + + list-presentation="blocks" + + +(variablelist only) Displays the list as blocks + + + + list-presentation="table" + + +(segmentedlist only) Displays the list as a table + + + + + + Related Global Parameters + + + + +variablelist.as.blocks + + + + +variablelist.as.table + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in print + + + + + +dbfo_list-width +Specifies the width of a horizontal simplelist + + + + dbfo list-width="width" + + +Description + +Use the dbfo list-width PI as a child of a + simplelist whose class + value is horizontal, to specify the width + of the simplelist. + + Parameters + + + list-width="width" + + +Specifies the simplelist width (including units) + + + + + + + + + +dbfo_orientation +Specifies the orientation for a CALS table row or cell + + + + dbfo orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + +Description + +Use the dbfo orientation PI as a child of a CALS + table row or cell to specify the orientation + (rotation) for the row or cell. + + Parameters + + + orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + +Specifies the number of degrees by which the cell or + row is rotated + + + + + + + + + +dbfo_pgwide +Specifies if an equation or example goes across full page width + + + + dbfo pgwide="0"|"1" + + +Description + +Use the dbfo pgwide PI as a child of an + equation or example to specify that the + content should rendered across the full width of the page. + + Parameters + + + pgwide="0" + + +If zero, the content is rendered across the current + text flow + + + + pgwide="1" + + +If 1 (or any non-zero value), the + content is rendered across the full width of the page + + + + + + Related Global Parameters + +pgwide.properties + + + + + +dbfo_rotated-width +Specifies the width for a CALS table entry or + row + + + + dbfo rotated-width="width" + + +Description + +Use the dbfo rotated-width PI as a child of + entry or row instance in a CALS table to specify the + width of that the entry or row; or + use it higher up in table to cause the width to be inherited + recursively down. + + Parameters + + + rotated-width="width" + + +Specifies the width of a row or cell (including units) + + + + + + + + + +dbfo_sidebar-width +Specifies the width of a sidebar + + + + dbfo sidebar-width="width" + + +Description + +Use the dbfo sidebar-width PI as a child of a + sidebar to specify the width of the sidebar. + + Parameters + + + sidebar-width="width" + + +Specifies the sidebar width (including units) + + + + + + Related Global Parameters + +sidebar.float.type parameter, + sidebar.float.width parameter, + sidebar.properties attribute-set, + sidebar.title.properties + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +A sidebar as + side float + + + + + +dbfo_start +(obsolete) Sets the starting number on an ordered list + + + + dbfo start="character" + + +Description + +This PI is obsolete. The intent of + it was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + Parameters + + + start="character" + + +Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +List starting number + + + + + +dbfo_table-width +Specifies the width for a CALS table or for revhistory + output + + + + dbfo table-width="width" + + +Description + +Use the dbfo table-width PI as a child or + sibling of a CALS table, or as a child of an + informaltable, entrytbl, or + revhistory instance (which is rendered as a table + in output) to specify the width of the table in output. + + Parameters + + + table-width="width" + + +Specifies the table width (including units or as a percentage) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table width + + + + + +dbfo_term-width +Specifies the term width for a variablelist + + + + dbfo term-width="width" + + +Description + +Use the dbfo term-width PI as a child of a + variablelist to specify the width for + term output. + + Parameters + + + term-width="width" + + +Specifies the term width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in print + + + + + +dbfo_toc +Specifies whether a TOC should be generated for a qandaset + + + + dbfo toc="0"|"1" + + +Description + +Use the dbfo toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + Parameters + + + toc="0" + + +If zero, no TOC is generated + + + + toc="1" + + +If 1 (or any non-zero value), + a TOC is generated + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A list of questions, + Q and A formatting + + + + + +dbfo-need +Specify a need for space (a kind of soft page break) + + + + dbfo-need height="n" [space-before="n"] + + +Description + +A “need” is a request for space on a page. If the + requested space is not available, the page breaks and the + content that follows the need request appears on the next + page. If the requested space is available, then no page break + is inserted. + + Parameters + + + height="n" + + +The amount of height needed (including units) + + + + space-before="n" + + +The amount of extra vertical space to add (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Soft page breaks + + + + + +dbfo_row-height +Specifies the height for a CALS table row + + + + dbfo row-height="height" + + +Description + +Use the dbfo row-height PI as a child of a + row to specify the height of the row. + + Parameters + + + row-height="height" + + +Specifies the row height (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Row height + + + + + + manpages Processing Instruction Reference + + $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for manpages output. + + +You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbman_funcsynopsis-style +Specifies presentation style for a funcsynopsis. + + + + dbman funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbman + funcsynopsis-style PI as a child of a + funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays the funcprototype in K&R style + + + + funcsynopsis-style="ansi" + + +Displays the funcprototype in ANSI style + + + + + + Related Global Parameters + +man.funcsynopsis.style + + + + + + Common Processing Instruction Reference + + $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the + “common” part of the DocBook XSL stylesheets. + + +You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbchoice_choice +Generates a localized choice separator + + + + dbchoice choice="and"|"or"|string" + + +Description + +Use the dbchoice choice PI to + generate an appropriate localized “choice” separator (for + example, and or or) + before the final item in an inline simplelist + + + +This PI is a less-than-ideal hack; support for it may + disappear in the future (particularly if and when a more + appropriate means for marking up "choice" lists becomes + available in DocBook). + + + Parameters + + + choice="and" + + +generates a localized and separator + + + + choice="or" + + +generates a localized or separator + + + + choice="string" + + +generates a literal string separator + + + + + + + + + +dbtimestamp +Inserts a date timestamp + + + + dbtimestamp format="formatstring" [padding="0"|"1"] + + +Description + +Use the dbtimestamp PI at any point in a + source document to cause a date timestamp (a formatted + string representing the current date and time) to be + inserted in output of the document. + + Parameters + + + format="formatstring" + + +Specifies format in which the date and time are + output + + + +For details of the content of the format string, + see Date and time. + + + + + padding="0"|"1" + + +Specifies padding behavior; if non-zero, padding is is added + + + + + + + + + +dbtex_delims +Generates delimiters around embedded TeX equations + in output + + + + dbtex delims="no"|"yes" + + +Description + +Use the dbtex delims PI as a + child of a textobject containing embedded TeX + markup, to cause that markup to be surrounded by + $ delimiter characters in output. + + + +This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + Parameters + + + dbtex delims="no"|"yes" + + +Specifies whether delimiters are output + + + + + + Related Global Parameters + +tex.math.delims + + + + + + DocBook XSL Stylesheets Developer Reference + + + This is technical reference documentation for + developers using the DocBook XSL Stylesheets. It is not + intended to be user documentation, but is instead + provided for developers writing customization layers for + the stylesheets. + + + + + + XSL Library Template Reference + + Introduction + This is technical reference documentation for the + vocabulary-independent “library” templates in the DocBook XSL + Stylesheets. + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + General Library Templates + + + +dot.count +Returns the number of . characters in a string + + +Description + + Given a string, the dot.count + template returns the number of dot/period characters in the + string. This template is useful, for example, when testing the + nesting level of nested inline markup (for nested emphasis, + quotations, etc.). + + +<xsl:template name="dot.count"> + <!-- Returns the number of "." characters in a string --> + <xsl:param name="string"></xsl:param> + <xsl:param name="count" select="0"></xsl:param> + <xsl:choose> + <xsl:when test="contains($string, '.')"> + <xsl:call-template name="dot.count"> + <xsl:with-param name="string" select="substring-after($string, '.')"></xsl:with-param> + <xsl:with-param name="count" select="$count+1"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$count"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +copy-string +Returns count copies of a string + + +Description + + Given a string, the copy-string + template creates n copies of the + string, when the value of n is + given by the count parameter. + + +<xsl:template name="copy-string"> + <!-- returns 'count' copies of 'string' --> + <xsl:param name="string"></xsl:param> + <xsl:param name="count" select="0"></xsl:param> + <xsl:param name="result"></xsl:param> + + <xsl:choose> + <xsl:when test="$count>0"> + <xsl:call-template name="copy-string"> + <xsl:with-param name="string" select="$string"></xsl:with-param> + <xsl:with-param name="count" select="$count - 1"></xsl:with-param> + <xsl:with-param name="result"> + <xsl:value-of select="$result"></xsl:value-of> + <xsl:value-of select="$string"></xsl:value-of> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$result"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +string.subst +Substitute one text string for another in a string + + +Description + +The string.subst template replaces all +occurances of target in string +with replacement and returns the result. + + + +<xsl:template name="string.subst"> + <xsl:param name="string"></xsl:param> + <xsl:param name="target"></xsl:param> + <xsl:param name="replacement"></xsl:param> + + <xsl:choose> + <xsl:when test="contains($string, $target)"> + <xsl:variable name="rest"> + <xsl:call-template name="string.subst"> + <xsl:with-param name="string" select="substring-after($string, $target)"></xsl:with-param> + <xsl:with-param name="target" select="$target"></xsl:with-param> + <xsl:with-param name="replacement" select="$replacement"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$string"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +xpointer.idref +Extract IDREF from an XPointer + + +Description + +The xpointer.idref template returns the +ID portion of an XPointer which is a pointer to an ID within the current +document, or the empty string if it is not. +In other words, xpointer.idref returns +foo when passed either #foo +or #xpointer(id('foo')), otherwise it returns +the empty string. + + +<xsl:template name="xpointer.idref"> + <xsl:param name="xpointer">http://...</xsl:param> + <xsl:choose> + <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> + <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"></xsl:variable> + <xsl:variable name="quote" select="substring($rest, 1, 1)"></xsl:variable> + <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"></xsl:value-of> + </xsl:when> + <xsl:when test="starts-with($xpointer, '#')"> + <xsl:value-of select="substring-after($xpointer, '#')"></xsl:value-of> + </xsl:when> + <!-- otherwise it's a pointer to some other document --> + </xsl:choose> +</xsl:template> + + + + + + + + + +idref +Extract IDREF from a linking element + + +Description + +The idref template accepts +any xref or universally linking element as a parameter +and returns the local +ID that it points to. +If it has a linkend attribute, +it returns that value. +If it has a xlink:href, it +returns that value, parsed as needed to extract just +the id reference. Otherwise it returns an empty string. + + +<xsl:template name="idref"> + <xsl:param name="xref" select="."></xsl:param> + <xsl:param name="linkend" select="$xref/@linkend"></xsl:param> + <xsl:param name="xpointer"> + <xsl:call-template name="xpointer.idref"> + <xsl:with-param name="xpointer" select="$xref/@xlink:href"></xsl:with-param> + </xsl:call-template> + </xsl:param> + + <xsl:choose> + <xsl:when test="string-length($linkend) != 0"> + <xsl:value-of select="$linkend"></xsl:value-of> + </xsl:when> + <xsl:when test="string-length($xpointer) != 0"> + <xsl:value-of select="$xpointer"></xsl:value-of> + </xsl:when> + <!-- otherwise it's a pointer to some other document --> + </xsl:choose> +</xsl:template> + + + + + + + + + + +length-magnitude +Return the unqualified dimension from a length specification + + +Description + +The length-magnitude template returns the +unqualified length ("20" for "20pt") from a dimension. + + + +<xsl:template name="length-magnitude"> + <xsl:param name="length" select="'0pt'"></xsl:param> + + <xsl:choose> + <xsl:when test="string-length($length) = 0"></xsl:when> + <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> + <xsl:value-of select="substring($length,1,1)"></xsl:value-of> + <xsl:call-template name="length-magnitude"> + <xsl:with-param name="length" select="substring($length,2)"></xsl:with-param> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + + + + + + + + + +length-units +Return the units from a length specification + + +Description + +The length-units template returns the +units ("pt" for "20pt") from a length. If no units are supplied on the +length, the defauilt.units are returned. + + +<xsl:template name="length-units"> + <xsl:param name="length" select="'0pt'"></xsl:param> + <xsl:param name="default.units" select="'px'"></xsl:param> + <xsl:variable name="magnitude"> + <xsl:call-template name="length-magnitude"> + <xsl:with-param name="length" select="$length"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="units"> + <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$units = ''"> + <xsl:value-of select="$default.units"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$units"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +length-spec +Return a fully qualified length specification + + +Description + +The length-spec template returns the +qualified length from a dimension. If an unqualified length is given, +the default.units will be added to it. + + + +<xsl:template name="length-spec"> + <xsl:param name="length" select="'0pt'"></xsl:param> + <xsl:param name="default.units" select="'px'"></xsl:param> + + <xsl:variable name="magnitude"> + <xsl:call-template name="length-magnitude"> + <xsl:with-param name="length" select="$length"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="units"> + <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> + </xsl:variable> + + <xsl:value-of select="$magnitude"></xsl:value-of> + <xsl:choose> + <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> + <xsl:value-of select="$units"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = ''"> + <xsl:value-of select="$default.units"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Unrecognized unit of measure: </xsl:text> + <xsl:value-of select="$units"></xsl:value-of> + <xsl:text>.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +length-in-points +Returns the size, in points, of a specified length + + +Description + +The length-in-points template converts a length +specification to points and returns that value as an unqualified +number. + + + +There is no way for the template to infer the size of an +em. It relies on the default em.size +which is initially 10 (for 10pt). + +Similarly, converting pixels to points relies on the +pixels.per.inch parameter which is initially +90. + + + + +<xsl:template name="length-in-points"> + <xsl:param name="length" select="'0pt'"></xsl:param> + <xsl:param name="em.size" select="10"></xsl:param> + <xsl:param name="pixels.per.inch" select="90"></xsl:param> + + <xsl:variable name="magnitude"> + <xsl:call-template name="length-magnitude"> + <xsl:with-param name="length" select="$length"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="units"> + <xsl:value-of select="substring($length, string-length($magnitude)+1)"></xsl:value-of> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$units = 'pt'"> + <xsl:value-of select="$magnitude"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'cm'"> + <xsl:value-of select="$magnitude div 2.54 * 72.0"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'mm'"> + <xsl:value-of select="$magnitude div 25.4 * 72.0"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'in'"> + <xsl:value-of select="$magnitude * 72.0"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'pc'"> + <xsl:value-of select="$magnitude * 12.0"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'px'"> + <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"></xsl:value-of> + </xsl:when> + <xsl:when test="$units = 'em'"> + <xsl:value-of select="$magnitude * $em.size"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Unrecognized unit of measure: </xsl:text> + <xsl:value-of select="$units"></xsl:value-of> + <xsl:text>.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +pi-attribute +Extract a pseudo-attribute from a PI + + +Description + +The pi-attribute template extracts a pseudo-attribute +from a processing instruction. For example, given the PI +<?foo bar="1" baz='red'?>, +<xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" select="processing-instruction('foo')"/> + <xsl:with-param name="attribute" select="'baz'"/> +</xsl:call-template> +will return red. This template returns the first matching +attribute that it finds. Presented with processing instructions that +contain badly formed pseudo-attributes (missing or unbalanced quotes, +for example), the template may silently return erroneous results. + + +<xsl:template name="pi-attribute"> + <xsl:param name="pis" select="processing-instruction('BOGUS_PI')"></xsl:param> + <xsl:param name="attribute">filename</xsl:param> + <xsl:param name="count">1</xsl:param> + + <xsl:choose> + <xsl:when test="$count>count($pis)"> + <!-- not found --> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="pi"> + <xsl:value-of select="$pis[$count]"></xsl:value-of> + </xsl:variable> + <xsl:variable name="pivalue"> + <xsl:value-of select="concat(' ', normalize-space($pi))"></xsl:value-of> + </xsl:variable> + <xsl:choose> + <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))"> + <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"></xsl:variable> + <xsl:variable name="quote" select="substring($rest,1,1)"></xsl:variable> + <xsl:value-of select="substring-before(substring($rest,2),$quote)"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" select="$pis"></xsl:with-param> + <xsl:with-param name="attribute" select="$attribute"></xsl:with-param> + <xsl:with-param name="count" select="$count + 1"></xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +lookup.key +Retrieve the value associated with a particular key in a table + + +Description + +Given a table of space-delimited key/value pairs, +the lookup.key template extracts the value associated +with a particular key. + + +<xsl:template name="lookup.key"> + <xsl:param name="key" select="''"></xsl:param> + <xsl:param name="table" select="''"></xsl:param> + + <xsl:if test="contains($table, ' ')"> + <xsl:choose> + <xsl:when test="substring-before($table, ' ') = $key"> + <xsl:variable name="rest" select="substring-after($table, ' ')"></xsl:variable> + <xsl:choose> + <xsl:when test="contains($rest, ' ')"> + <xsl:value-of select="substring-before($rest, ' ')"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$rest"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="lookup.key"> + <xsl:with-param name="key" select="$key"></xsl:with-param> + <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"></xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + + + + + + + + + +xpath.location +Calculate the XPath child-sequence to the current node + + +Description + +The xpath.location template calculates the +absolute path from the root of the tree to the current element node. + + + +<xsl:template name="xpath.location"> + <xsl:param name="node" select="."></xsl:param> + <xsl:param name="path" select="''"></xsl:param> + + <xsl:variable name="next.path"> + <xsl:value-of select="local-name($node)"></xsl:value-of> + <xsl:if test="$path != ''">/</xsl:if> + <xsl:value-of select="$path"></xsl:value-of> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$node/parent::*"> + <xsl:call-template name="xpath.location"> + <xsl:with-param name="node" select="$node/parent::*"></xsl:with-param> + <xsl:with-param name="path" select="$next.path"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:text>/</xsl:text> + <xsl:value-of select="$next.path"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +comment-escape-string +Prepare a string for inclusion in an XML comment + + +Description + +The comment-escape-string template returns a string +that has been transformed so that it can safely be output as an XML comment. +Internal occurrences of "--" will be replaced with "- -" and a leading and/or +trailing space will be added to the string, if necessary. + + +<xsl:template name="comment-escape-string"> + <xsl:param name="string" select="''"></xsl:param> + + <xsl:if test="starts-with($string, '-')"> + <xsl:text> </xsl:text> + </xsl:if> + + <xsl:call-template name="comment-escape-string.recursive"> + <xsl:with-param name="string" select="$string"></xsl:with-param> + </xsl:call-template> + + <xsl:if test="substring($string, string-length($string), 1) = '-'"> + <xsl:text> </xsl:text> + </xsl:if> +</xsl:template> + + + + + + + + + +comment-escape-string.recursive +Internal function used by comment-escape-string + + +Description + +The comment-escape-string.recursive template is used +by comment-escape-string. + + +<xsl:template name="comment-escape-string.recursive"> + <xsl:param name="string" select="''"></xsl:param> + <xsl:choose> + <xsl:when test="contains($string, '--')"> + <xsl:value-of select="substring-before($string, '--')"></xsl:value-of> + <xsl:value-of select="'- -'"></xsl:value-of> + <xsl:call-template name="comment-escape-string.recursive"> + <xsl:with-param name="string" select="substring-after($string, '--')"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$string"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + +trim.text +Trim leading and trailing whitespace from a text node + + +Description + +Given a text node, this function trims leading and trailing +whitespace from it and returns the trimmed contents. + + + + <xsl:template name="trim.text"> + <xsl:param name="contents" select="."></xsl:param> + <xsl:variable name="contents-left-trimmed"> + <xsl:call-template name="trim-left"> + <xsl:with-param name="contents" select="$contents"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="contents-trimmed"> + <xsl:call-template name="trim-right"> + <xsl:with-param name="contents" select="$contents-left-trimmed"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="$contents-trimmed"></xsl:value-of> + </xsl:template> + + <xsl:template name="trim-left"> + <xsl:param name="contents"></xsl:param> + <xsl:choose> + <xsl:when test="starts-with($contents,' +') or starts-with($contents,' ') or starts-with($contents,' ') or starts-with($contents,' ')"> + <xsl:call-template name="trim-left"> + <xsl:with-param name="contents" select="substring($contents, 2)"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$contents"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <xsl:template name="trim-right"> + <xsl:param name="contents"></xsl:param> + <xsl:variable name="last-char"> + <xsl:value-of select="substring($contents, string-length($contents), 1)"></xsl:value-of> + </xsl:variable> + <xsl:choose> + <xsl:when test="($last-char = ' +') or ($last-char = ' ') or ($last-char = ' ') or ($last-char = ' ')"> + <xsl:call-template name="trim-right"> + <xsl:with-param name="contents" select="substring($contents, 1, string-length($contents) - 1)"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$contents"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + + + + + + + + +str.tokenize.keep.delimiters +Tokenize a string while preserving any delimiters + +Description +Based on the occurrence of one or more delimiter characters, +this function breaks a string into a list of tokens and delimiters, +marking up each of the tokens with a token element +and preserving the delimiters as text nodes between the tokens. + + This function is a very slightly modified version of a + function from the EXSLT + site. The original is available at: + +
    + + The str.tokenize.keep.delimiters function + differs only in that it preserves the delimiters instead of + discarding them.
    +
    + + <xsl:template name="str.tokenize.keep.delimiters"> + <xsl:param name="string" select="''"></xsl:param> + <xsl:param name="delimiters" select="' '"></xsl:param> + <xsl:choose> + <xsl:when test="not($string)"></xsl:when> + <xsl:when test="not($delimiters)"> + <xsl:call-template name="str.tokenize.keep.delimiters-characters"> + <xsl:with-param name="string" select="$string"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> + <xsl:with-param name="string" select="$string"></xsl:with-param> + <xsl:with-param name="delimiters" select="$delimiters"></xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + <xsl:template name="str.tokenize.keep.delimiters-characters"> + <xsl:param name="string"></xsl:param> + <xsl:if test="$string"> + <ssb:token><xsl:value-of select="substring($string, 1, 1)"></xsl:value-of></ssb:token> + <xsl:call-template name="str.tokenize.keep.delimiters-characters"> + <xsl:with-param name="string" select="substring($string, 2)"></xsl:with-param> + </xsl:call-template> + </xsl:if> + </xsl:template> + <xsl:template name="str.tokenize.keep.delimiters-delimiters"> + <xsl:param name="string"></xsl:param> + <xsl:param name="delimiters"></xsl:param> + <xsl:variable name="delimiter" select="substring($delimiters, 1, 1)"></xsl:variable> + <xsl:choose> + <xsl:when test="not($delimiter)"> + <ssb:token><xsl:value-of select="$string"></xsl:value-of></ssb:token> + </xsl:when> + <xsl:when test="contains($string, $delimiter)"> + <xsl:if test="not(starts-with($string, $delimiter))"> + <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> + <xsl:with-param name="string" select="substring-before($string, $delimiter)"></xsl:with-param> + <xsl:with-param name="delimiters" select="substring($delimiters, 2)"></xsl:with-param> + </xsl:call-template> + </xsl:if> + <!-- output each delimiter --> + <xsl:value-of select="$delimiter"></xsl:value-of> + <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> + <xsl:with-param name="string" select="substring-after($string, $delimiter)"></xsl:with-param> + <xsl:with-param name="delimiters" select="$delimiters"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="str.tokenize.keep.delimiters-delimiters"> + <xsl:with-param name="string" select="$string"></xsl:with-param> + <xsl:with-param name="delimiters" select="substring($delimiters, 2)"></xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + +
    +
    + + + + + + apply-string-subst-map + Apply a string-substitution map + + Description + This function applies a “string substitution” map. Use it when + you want to do multiple string substitutions on the same target + content. It reads in two things: content, the + content on which to perform the substitution, and + map.contents, a node set of + elements (the names of the elements don't matter), with each element + having the following attributes: + + + oldstring, a string to + be replaced + + + newstring, a string with + which to replace oldstring + + + The function uses map.contents to + do substitution on content, and then + returns the modified contents. + + This function is a very slightly modified version of Jeni + Tennison’s replace_strings function in the + multiple string replacements section of Dave Pawson’s + XSLT + FAQ. + The apply-string-subst-map function is + essentially the same function as the + apply-character-map function; the only + difference is that in the map that + apply-string-subst-map expects, oldstring and newstring attributes are used instead of + character and string attributes. + + + <xsl:template name="apply-string-subst-map"> + <xsl:param name="content"></xsl:param> + <xsl:param name="map.contents"></xsl:param> + <xsl:variable name="replaced_text"> + <xsl:call-template name="string.subst"> + <xsl:with-param name="string" select="$content"></xsl:with-param> + <xsl:with-param name="target" select="$map.contents[1]/@oldstring"></xsl:with-param> + <xsl:with-param name="replacement" select="$map.contents[1]/@newstring"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + <xsl:choose> + <xsl:when test="$map.contents[2]"> + <xsl:call-template name="apply-string-subst-map"> + <xsl:with-param name="content" select="$replaced_text"></xsl:with-param> + <xsl:with-param name="map.contents" select="$map.contents[position() > 1]"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$replaced_text"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + + +
    +Relative URI Functions + +Introduction + +These functions manipulate relative URI references. + +The following assumptions must hold true: + + + +All URIs are relative. + + +No URI contains the ../ sequence +which would effectively move up the hierarchy. + + + +If these assumptions do not hold, the results are unpredictable. + + + + + + + +count.uri.path.depth +Count the number of path components in a relative URI + + +Description + +This function counts the number of path components in a relative URI. + + +<xsl:template name="count.uri.path.depth"> + <xsl:param name="filename" select="''"></xsl:param> + <xsl:param name="count" select="0"></xsl:param> + + <xsl:choose> + <xsl:when test="contains($filename, '/')"> + <xsl:call-template name="count.uri.path.depth"> + <xsl:with-param name="filename" select="substring-after($filename, '/')"></xsl:with-param> + <xsl:with-param name="count" select="$count + 1"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$count"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + + + +trim.common.uri.paths +Trim common leading path components from a relative URI + + +Description + +This function trims common leading path components from a relative URI. + + +<xsl:template name="trim.common.uri.paths"> + <xsl:param name="uriA" select="''"></xsl:param> + <xsl:param name="uriB" select="''"></xsl:param> + <xsl:param name="return" select="'A'"></xsl:param> + + <!-- Resolve any ../ in the path --> + <xsl:variable name="trimmed.uriA"> + <xsl:call-template name="resolve.path"> + <xsl:with-param name="filename" select="$uriA"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="trimmed.uriB"> + <xsl:call-template name="resolve.path"> + <xsl:with-param name="filename" select="$uriB"></xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="contains($trimmed.uriA, '/') and contains($trimmed.uriB, '/') and substring-before($trimmed.uriA, '/') = substring-before($trimmed.uriB, '/')"> + <xsl:call-template name="trim.common.uri.paths"> + <xsl:with-param name="uriA" select="substring-after($trimmed.uriA, '/')"></xsl:with-param> + <xsl:with-param name="uriB" select="substring-after($trimmed.uriB, '/')"></xsl:with-param> + <xsl:with-param name="return" select="$return"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$return = 'A'"> + <xsl:value-of select="$trimmed.uriA"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$trimmed.uriB"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + +resolve.path +Resolve any ../ in path, except leading ../ + + +Description + +This function resolves any relative ../ parts of a file path. + + +<xsl:template name="resolve.path"> + <xsl:param name="filename" select="''"></xsl:param> + <xsl:choose> + <!-- Leading .. are not eliminated --> + <xsl:when test="starts-with($filename, '../')"> + <xsl:value-of select="'../'"></xsl:value-of> + <xsl:call-template name="resolve.path"> + <xsl:with-param name="filename" select="substring-after($filename, '../')"></xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:when test="contains($filename, '/../')"> + <xsl:call-template name="resolve.path"> + <xsl:with-param name="filename"> + <xsl:call-template name="dirname"> + <xsl:with-param name="filename" select="substring-before($filename, '/../')"></xsl:with-param> + </xsl:call-template> + <xsl:value-of select="substring-after($filename, '/../')"></xsl:value-of> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$filename"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + + + + + + +dirname +Return directory part of a path + + +Description + +This function returns the directory part of a path. + + + +<xsl:template name="dirname"> + <xsl:param name="filename" select="''"></xsl:param> + <xsl:if test="contains($filename, '/')"> + <xsl:value-of select="substring-before($filename, '/')"></xsl:value-of> + <xsl:text>/</xsl:text> + <xsl:call-template name="dirname"> + <xsl:with-param name="filename" select="substring-after($filename, '/')"></xsl:with-param> + </xsl:call-template> + </xsl:if> +</xsl:template> + + + + + + + +
    + Common Template Reference + + + + + This is technical reference documentation for the + “base”, “refentry”, and “utility” sets of common + templates in the DocBook XSL Stylesheets. These + templates are “common” in that they are shared across + output formats (that is, they’re not + output-format-dependent) + This documentation is not intended to be user + documentation. It is provided for developers writing + customization layers for the stylesheets. + + + + + Common » Base Template Reference + + $Id: common.xsl 9347 2012-05-11 03:49:49Z bobstayton $ + + + + + Introduction + +This is technical reference documentation for the “base” + set of common templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +is.component +Tests if a given node is a component-level element + + +<xsl:template name="is.component"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + +Parameters + + +node + + +The node which is to be tested. + + + + + +Returns + +This template returns '1' if the specified node is a component +(Chapter, Appendix, etc.), and '0' otherwise. + + + + + +is.section +Tests if a given node is a section-level element + + +<xsl:template name="is.section"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + +Parameters + + +node + + +The node which is to be tested. + + + + + +Returns + +This template returns '1' if the specified node is a section +(Section, Sect1, Sect2, etc.), and '0' otherwise. + + + + + +section.level +Returns the hierarchical level of a section + + +<xsl:template name="section.level"> +<xsl:param name="node" select="."/> + ... +</xsl:template> + +Description + +This template calculates the hierarchical level of a section. +The element sect1 is at level 1, sect2 is +at level 2, etc. + + + +Recursive sections are calculated down to the fifth level. + +Parameters + + +node + + +The section node for which the level should be calculated. +Defaults to the context node. + + + + + +Returns + +The section level, 1, 2, etc. + + + + + + +qanda.section.level +Returns the hierarchical level of a QandASet + + +<xsl:template name="qanda.section.level"/> + +Description + +This template calculates the hierarchical level of a QandASet. + + +Returns + +The level, 1, 2, etc. + + + + + + +select.mediaobject +Selects and processes an appropriate media object from a list + + +<xsl:template name="select.mediaobject"> +<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> + ... +</xsl:template> + +Description + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and processes +the "right" object. + + + +This template relies on a template named +"select.mediaobject.index" to determine which object +in the list is appropriate. + + + +If no acceptable object is located, nothing happens. + +Parameters + + +olist + + +The node list of potential objects to examine. + + + + + +Returns + +Calls <xsl:apply-templates> on the selected object. + + + + + +select.mediaobject.index +Selects the position of the appropriate media object from a list + + +<xsl:template name="select.mediaobject.index"> +<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> +<xsl:param name="count">1</xsl:param> + ... +</xsl:template> + +Description + +This template takes a list of media objects (usually the +children of a mediaobject or inlinemediaobject) and determines +the "right" object. It returns the position of that object +to be used by the calling template. + + + +If the parameter use.role.for.mediaobject +is nonzero, then it first checks for an object with +a role attribute of the appropriate value. It takes the first +of those. Otherwise, it takes the first acceptable object +through a recursive pass through the list. + + + +This template relies on a template named "is.acceptable.mediaobject" +to determine if a given object is an acceptable graphic. The semantics +of media objects is that the first acceptable graphic should be used. + + + + +If no acceptable object is located, no index is returned. + +Parameters + + +olist + + +The node list of potential objects to examine. + + + +count + + +The position in the list currently being considered by the +recursive process. + + + + + +Returns + +Returns the position in the original list of the selected object. + + + + + +is.acceptable.mediaobject +Returns '1' if the specified media object is recognized + + +<xsl:template name="is.acceptable.mediaobject"> +<xsl:param name="object"/> + ... +</xsl:template> + +Description + +This template examines a media object and returns '1' if the +object is recognized as a graphic. + +Parameters + + +object + + +The media object to consider. + + + + + +Returns + +0 or 1 + + + + + +check.id.unique +Warn users about references to non-unique IDs + + +<xsl:template name="check.id.unique"> +<xsl:param name="linkend"/> + ... +</xsl:template> + +Description + +If passed an ID in linkend, +check.id.unique prints +a warning message to the user if either the ID does not exist or +the ID is not unique. + + + + + +check.idref.targets +Warn users about incorrectly typed references + + +<xsl:template name="check.idref.targets"> +<xsl:param name="linkend"/> +<xsl:param name="element-list"/> + ... +</xsl:template> + +Description + +If passed an ID in linkend, +check.idref.targets makes sure that the element +pointed to by the link is one of the elements listed in +element-list and warns the user otherwise. + + + + + +copyright.years +Print a set of years with collapsed ranges + + +<xsl:template name="copyright.years"> +<xsl:param name="years"/> +<xsl:param name="print.ranges" select="1"/> +<xsl:param name="single.year.ranges" select="0"/> +<xsl:param name="firstyear" select="0"/> +<xsl:param name="nextyear" select="0"/> + ... +</xsl:template> + +Description + +This template prints a list of year elements with consecutive +years printed as a range. In other words: + + +<year>1992</year> +<year>1993</year> +<year>1994</year> + + +is printed 1992-1994, whereas: + + +<year>1992</year> +<year>1994</year> + + +is printed 1992, 1994. + + + +This template assumes that all the year elements contain only +decimal year numbers, that the elements are sorted in increasing +numerical order, that there are no duplicates, and that all the years +are expressed in full century+year +(1999 not 99) notation. + +Parameters + + +years + + +The initial set of year elements. + + + +print.ranges + + +If non-zero, multi-year ranges are collapsed. If zero, all years +are printed discretely. + + + +single.year.ranges + + +If non-zero, two consecutive years will be printed as a range, +otherwise, they will be printed discretely. In other words, a single +year range is 1991-1992 but discretely it's +1991, 1992. + + + + + +Returns + +This template returns the formatted list of years. + + + + + +find.path.params +Search in a table for the "best" match for the node + + +<xsl:template name="find.path.params"> +<xsl:param name="node" select="."/> +<xsl:param name="table" select="''"/> +<xsl:param name="location"> + <xsl:call-template name="xpath.location"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:param> + ... +</xsl:template> + +Description + +This template searches in a table for the value that most-closely +(in the typical best-match sense of XSLT) matches the current (element) +node location. + + + + + +string.upper +Converts a string to all uppercase letters + + +<xsl:template name="string.upper"> +<xsl:param name="string" select="''"/> + ... +</xsl:template> + +Description + +Given a string, this template does a language-aware conversion +of that string to all uppercase letters, based on the values of the +lowercase.alpha and +uppercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +lowercase.alpha and +uppercase.alpha. All other characters are left +unchanged. + +Parameters + + +string + + +The string to convert to uppercase. + + + + + + + + + +string.lower +Converts a string to all lowercase letters + + +<xsl:template name="string.lower"> +<xsl:param name="string" select="''"/> + ... +</xsl:template> + +Description + +Given a string, this template does a language-aware conversion +of that string to all lowercase letters, based on the values of the +uppercase.alpha and +lowercase.alpha gentext keys for the current +locale. It affects only those characters found in the values of +uppercase.alpha and +lowercase.alpha. All other characters are left +unchanged. + +Parameters + + +string + + +The string to convert to lowercase. + + + + + + + + + +select.choice.separator +Returns localized choice separator + + +<xsl:template name="select.choice.separator"/> + +Description + +This template enables auto-generation of an appropriate + localized "choice" separator (for example, "and" or "or") before + the final item in an inline list (though it could also be useful + for generating choice separators for non-inline lists). + + +It currently works by evaluating a processing instruction + (PI) of the form <?dbchoice choice="foo"?> : + + + + if the value of the choice + pseudo-attribute is "and" or "or", returns a localized "and" + or "or" + + + otherwise returns the literal value of the + choice pseudo-attribute + + + + The latter is provided only as a temporary workaround because the + locale files do not currently have translations for the word + or. So if you want to generate a a + logical "or" separator in French (for example), you currently need + to do this: + <?dbchoice choice="ou"?> + + + + +The dbchoice processing instruction is + an unfortunate hack; support for it may disappear in the future + (particularly if and when a more appropriate means for marking + up "choice" lists becomes available in DocBook). + + + + + + +evaluate.info.profile +Evaluates an info profile + + +<xsl:template name="evaluate.info.profile"> +<xsl:param name="profile"/> +<xsl:param name="info"/> + ... +</xsl:template> + +Description + +This template evaluates an "info profile" matching the XPath + expression given by the profile + parameter. It relies on the XSLT evaluate() + extension function. + + + +The value of the profile parameter + can include the literal string $info. If found + in the value of the profile parameter, the + literal string $info string is replaced with + the value of the info parameter, which + should be a set of *info nodes; the + expression is then evaluated using the XSLT + evaluate() extension function. + + Parameters + + + + profile + + +A string representing an XPath expression + + + + + info + + +A set of *info nodes + + + + + + Returns + +Returns a node (the result of evaluating the + profile parameter) + + + + + +graphic.format.content-type +Returns mimetype for media format + + +<xsl:template name="graphic.format.content-type"> +<xsl:param name="format"/> + ... +</xsl:template> + +Description + +This takes as input a 'format' param and returns + a mimetype string. It uses an xsl:choose after first + converting the input to all uppercase. + + + + + + Common » Refentry Metadata Template Reference + + $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the “refentry + metadata” templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is provided + for developers writing customization layers for the stylesheets. + + + +Currently, only the manpages stylesheets make use of these + templates. They are, however, potentially useful elsewhere. + + + + + + +get.refentry.metadata +Gathers metadata from a refentry and its ancestors + + +<xsl:template name="get.refentry.metadata"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +Reference documentation for particular commands, functions, + etc., is sometimes viewed in isolation from its greater "context". For + example, users view Unix man pages as, well, individual pages, not as + part of a "book" of some kind. Therefore, it is sometimes necessary to + embed "context" information in output for each refentry. + + + +However, one problem is that different users mark up that + context information in different ways. Often (usually), the + context information is not actually part of the content of the + refentry itself, but instead part of the content of a + parent or ancestor element to the refentry. And + even then, DocBook provides a variety of elements that users might + potentially use to mark up the same kind of information. One user + might use the productnumber element to mark up version + information about a particular product, while another might use + the releaseinfo element. + + + +Taking all that in mind, the + get.refentry.metadata template tries to gather + metadata from a refentry element and its ancestor + elements in an intelligent and user-configurable way. The basic + mechanism used in the XPath expressions throughout this stylesheet + is to select the relevant metadata from the *info element that is + closest to the actual refentry – either on the + refentry itself, or on its nearest ancestor. + + + + +The get.refentry.metadata + template is actually just sort of a "driver" template; it + calls other templates that do the actual data collection, + then returns the data as a set. + + + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing user preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a node set with the following elements. The + descriptions are verbatim from the man(7) man + page. + + + + title + + +the title of the man page (e.g., MAN) + + + + + section + + +the section number the man page should be placed in (e.g., + 7) + + + + + date + + +the date of the last revision + + + + + source + + +the source of the command + + + + + manual + + +the title of the manual (e.g., Linux + Programmer's Manual) + + + + + + + + + + + +get.refentry.title +Gets title metadata for a refentry + + +<xsl:template name="get.refentry.title"> +<xsl:param name="refname"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + title of the man page (e.g., MAN). This differs + from refname in that, if the refentry has a + refentrytitle, we use that as the title; + otherwise, we just use first refname in the first + refnamediv in the source. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + + Returns + +Returns a title node. + + + + +get.refentry.section +Gets section metadata for a refentry + + +<xsl:template name="get.refentry.section"> +<xsl:param name="refname"/> +<xsl:param name="quiet" select="0"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + section number the man page should be placed in (e.g., + 7)". If we do not find a manvolnum + specified in the source, and we find that the refentry is + for a function, we use the section number 3 + ["Library calls (functions within program libraries)"]; otherwise, we + default to using 1 ["Executable programs or shell + commands"]. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + quiet + + +If non-zero, no "missing" message is emitted + + + + + + Returns + +Returns a string representing a section number. + + + + +get.refentry.date +Gets date metadata for a refentry + + +<xsl:template name="get.refentry.date"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + date of the last revision". If we cannot find a date in the source, we + generate one. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global stylesheet parameters) + + + + + + Returns + +Returns a date node. + + + + + +get.refentry.source +Gets source metadata for a refentry + + +<xsl:template name="get.refentry.source"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + source of the command", and provides the following examples: + + + + +For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + + +For system calls, use the version of the kernel that you are + currently looking at: Linux 0.99.11. + + + + +For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + + + + + +The solbook(5) man page describes + something very much like what man(7) calls + "source", except that solbook(5) names it + "software" and describes it like this: +
    + +This is the name of the software product that the topic + discussed on the reference page belongs to. For example UNIX + commands are part of the SunOS x.x + release. + +
    +
    + + + +In practice, there are many pages that simply have a version + number in the "source" field. So, it looks like what we have is a + two-part field, + Name Version, + where: + + + + Name + + +product name (e.g., BSD) or org. name (e.g., GNU) + + + + + Version + + +version name + + + + + + Each part is optional. If the Name is a + product name, then the Version is probably + the version of the product. Or there may be no + Name, in which case, if there is a + Version, it is probably the version of the + item itself, not the product it is part of. Or, if the + Name is an organization name, then there + probably will be no Version. + + +
    Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a source node. + +
    + + + +get.refentry.source.name +Gets source-name metadata for a refentry + + +<xsl:template name="get.refentry.source.name"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +A "source name" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "source name" data. + + + + + +get.refentry.version +Gets version metadata for a refentry + + +<xsl:template name="get.refentry.version"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +A "version" is one part of a (potentially) two-part + Name Version + source field. For more details, see the documentation for the + get.refentry.source template. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Depending on what output method is used for the + current stylesheet, either returns a text node or possibly an element + node, containing "version" data. + + + + + +get.refentry.manual +Gets source metadata for a refentry + + +<xsl:template name="get.refentry.manual"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="prefs"/> + ... +</xsl:template> + +Description + +The man(7) man page describes this as "the + title of the manual (e.g., Linux Programmer's + Manual)". Here are some examples from existing man pages: + + + + +dpkg utilities + (dpkg-name) + + + + +User Contributed Perl Documentation + (GET) + + + + +GNU Development Tools + (ld) + + + + +Emperor Norton Utilities + (ddate) + + + + +Debian GNU/Linux manual + (faked) + + + + +GIMP Manual Pages + (gimp) + + + + +KDOC Documentation System + (qt2kdoc) + + + + + + + + +The solbook(5) man page describes + something very much like what man(7) calls + "manual", except that solbook(5) names it + "sectdesc" and describes it like this: +
    + +This is the section title of the reference page; for + example User Commands. + +
    +
    + + +
    Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A set of info nodes (from a refentry + element and its ancestors) + + + + + prefs + + +A node containing users preferences (from global + stylesheet parameters) + + + + + + Returns + +Returns a manual node. + +
    + + + +get.refentry.metadata.prefs +Gets user preferences for refentry metadata gathering + + +<xsl:template name="get.refentry.metadata.prefs"/> + +Description + +The DocBook XSL stylesheets include several user-configurable + global stylesheet parameters for controlling refentry + metadata gathering. Those parameters are not read directly by the + other refentry metadata-gathering + templates. Instead, they are read only by the + get.refentry.metadata.prefs template, + which assembles them into a structure that is then passed to + the other refentry metadata-gathering + templates. + + + +So the, get.refentry.metadata.prefs + template is the only interface to collecting stylesheet parameters for + controlling refentry metadata gathering. + + Parameters + +There are no local parameters for this template; however, it + does rely on a number of global parameters. + + Returns + +Returns a manual node. + + + + + +set.refentry.metadata +Sets content of a refentry metadata item + + +<xsl:template name="set.refentry.metadata"> +<xsl:param name="refname"/> +<xsl:param name="info"/> +<xsl:param name="contents"/> +<xsl:param name="context"/> +<xsl:param name="preferred"/> + ... +</xsl:template> + +Description + +The set.refentry.metadata template is + called each time a suitable source element is found for a certain + metadata field. + + Parameters + + + + refname + + +The first refname in the refentry + + + + + info + + +A single *info node that contains the selected source element. + + + + + contents + + +A node containing the selected source element. + + + + + context + + +A string describing the metadata context in which the + set.refentry.metadata template was + called: either "date", "source", "version", or "manual". + + + + + + Returns + +Returns formatted contents of a selected source element. + +
    + + + Common » Utility Template Reference + + $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the + miscellaneous utility templates in the DocBook XSL + Stylesheets. + + + +These templates are defined in a separate file from the set + of “common” templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + + +The utility templates don’t import or include any DocBook + XSL stylesheet parameters, so the utility templates can be used + without importing the whole set of parameters. + + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +log.message +Logs/emits formatted notes and warnings + + +<xsl:template name="log.message"> +<xsl:param name="level"/> +<xsl:param name="source"/> +<xsl:param name="context-desc"/> +<xsl:param name="context-desc-field-length">12</xsl:param> +<xsl:param name="context-desc-padded"> + <xsl:if test="not($context-desc = '')"> + <xsl:call-template name="pad-string"> + <xsl:with-param name="leftRight">right</xsl:with-param> + <xsl:with-param name="padVar" select="substring($context-desc, 1, $context-desc-field-length)"/> + <xsl:with-param name="length" select="$context-desc-field-length"/> + </xsl:call-template> + </xsl:if> + </xsl:param> +<xsl:param name="message"/> +<xsl:param name="message-field-length" select="45"/> +<xsl:param name="message-padded"> + <xsl:variable name="spaces-for-blank-level"> + <!-- * if the level field is blank, we'll need to pad out --> + <!-- * the message field with spaces to compensate --> + <xsl:choose> + <xsl:when test="$level = ''"> + <xsl:value-of select="4 + 2"/> + <!-- * 4 = hard-coded length of comment text ("Note" or "Warn") --> + <!-- * + 2 = length of colon-plus-space separator ": " --> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="spaces-for-blank-context-desc"> + <!-- * if the context-description field is blank, we'll need --> + <!-- * to pad out the message field with spaces to compensate --> + <xsl:choose> + <xsl:when test="$context-desc = ''"> + <xsl:value-of select="$context-desc-field-length + 2"/> + <!-- * + 2 = length of colon-plus-space separator ": " --> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="extra-spaces" select="$spaces-for-blank-level + $spaces-for-blank-context-desc"/> + <xsl:call-template name="pad-string"> + <xsl:with-param name="leftRight">right</xsl:with-param> + <xsl:with-param name="padVar" select="substring($message, 1, ($message-field-length + $extra-spaces))"/> + <xsl:with-param name="length" select="$message-field-length + $extra-spaces"/> + </xsl:call-template> + </xsl:param> + ... +</xsl:template> + +Description + +The log.message template is a utility + template for logging/emitting formatted messages – that is, + notes and warnings, along with a given log “level” and an + identifier for the “source” that the message relates to. + + Parameters + + + level + + +Text to log/emit in the message-level field to + indicate the message level + (Note or + Warning) + + + + source + + +Text to log/emit in the source field to identify the + “source” to which the notification/warning relates. + This can be any arbitrary string, but because the + message lacks line and column numbers to identify the + exact part of the source document to which it + relates, the intention is that the value you pass + into the source parameter should + give the user some way to identify the portion of + their source document on which to take potentially + take action in response to the log message (for + example, to edit, change, or add content). + + +So the source value should be, + for example, an ID, book/chapter/article title, title + of some formal object, or even a string giving an + XPath expression. + + + + context-desc + + +Text to log/emit in the context-description field to + describe the context for the message. + + + + context-desc-field-length + + +Specifies length of the context-description field + (in characters); default is 12 + + +If the text specified by the + context-desc parameter is longer + than the number of characters specified in + context-desc-field-length, it is + truncated to context-desc-field-length + (12 characters by default). + + +If the specified text is shorter than + context-desc-field-length, + it is right-padded out to + context-desc-field-length (12 by + default). + + +If no value has been specified for the + context-desc parameter, the field is + left empty and the text of the log message begins with + the value of the message + parameter. + + + + message + + +Text to log/emit in the actual message field + + + + message-field-length + + +Specifies length of the message + field (in characters); default is 45 + + + + + + Returns + +Outputs a message (generally, to standard error). + + + + +get.doc.title +Gets a title from the current document + + +<xsl:template name="get.doc.title"/> + +Description + +The get.doc.title template is a + utility template for returning the first title found in the + current document. + + Returns + +Returns a string containing some identifying title for the + current document . + + + + +pad-string +Right-pads or left-pads a string out to a certain length + + +<xsl:template name="pad-string"> +<xsl:param name="padChar" select="' '"/> +<xsl:param name="leftRight">left</xsl:param> +<xsl:param name="padVar"/> +<xsl:param name="length"/> + ... +</xsl:template> + +Description + +This function takes string padVar and + pads it out in the direction rightLeft to + the string-length length, using string + padChar (a space character by default) as + the padding string (note that padChar can + be a string; it is not limited to just being a single + character). + + + +This function began as a copy of Nate Austin's + prepend-pad function in the Padding + Content section of Dave Pawson's XSLT + FAQ. + + + Returns + +Returns a (padded) string. + + + + + Common » Character-Map Template Reference + + $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ + + + + + Introduction + +This is technical reference documentation for the + character-map templates in the DocBook XSL Stylesheets. + + + +These templates are defined in a separate file from the set + of “common” templates because some of the common templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + + +The character-map templates don’t import or include + any DocBook XSL stylesheet parameters, so the + character-map templates can be used without importing the + whole set of parameters. + + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +apply-character-map +Applies an XSLT character map + + +<xsl:template name="apply-character-map"> +<xsl:param name="content"/> +<xsl:param name="map.contents"/> + ... +</xsl:template> + +Description + +This template applies an XSLT character map; that is, it causes certain + individual characters to be substituted with strings of one + or more characters. It is useful mainly for replacing + multiple “special” characters or symbols in the same target + content. It uses the value of + map.contents to do substitution on + content, and then returns the + modified contents. + + + +This template is a very slightly modified version of + Jeni Tennison’s replace_strings + template in the multiple string replacements section of Dave Pawson’s + XSLT FAQ. + + +The apply-string-subst-map + template is essentially the same template as the + apply-character-map template; the + only difference is that in the map that + apply-string-subst-map expects, oldstring and newstring attributes are used + instead of character and string attributes. + + + Parameters + + + content + + +The content on which to perform the character-map + substitution. + + + + map.contents + + +A node set of elements, with each element having + the following attributes: + + + + character, a + character to be replaced + + + string, a + string with which to replace character + + + + + + + + + + + + + +read-character-map +Reads in all or part of an XSLT character map + + +<xsl:template name="read-character-map"> +<xsl:param name="use.subset"/> +<xsl:param name="subset.profile"/> +<xsl:param name="uri"/> + ... +</xsl:template> + +Description + +The XSLT 2.0 specification describes character maps and explains how they may be used + to allow a specific character appearing in a text or + attribute node in a final result tree to be substituted by + a specified string of characters during serialization. The + read-character-map template provides a + means for reading and using character maps with XSLT + 1.0-based tools. + + +This template reads the character-map contents from + uri (in full or in part, depending on + the value of the use.subset + parameter), then passes those contents to the + apply-character-map template, along with + content, the data on which to perform + the character substitution. + + +Using the character map “in part” means that it uses only + those output-character elements that match the + XPath expression given in the value of the + subset.profile parameter. The current + implementation of that capability here relies on the + evaluate extension XSLT function. + + Parameters + + + use.subset + + +Specifies whether to use a subset of the character + map instead of the whole map; boolean + 0 or 1 + + + + subset.profile + + +XPath expression that specifies what subset of the + character map to use + + + + uri + + +URI for a character map + + + + + + + +
    + + + + + Formatting Object Table Reference + + $Id: table.xsl 9666 2012-11-14 04:42:56Z bobstayton $ + + + + Introduction + +This is technical reference documentation for the FO + table-processing templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +calc.column.width +Calculate an XSL FO table column width specification from a +CALS table column width specification. + + +<xsl:template name="calc.column.width"> +<xsl:param name="colwidth">1*</xsl:param> + ... +</xsl:template> + +Description + +CALS expresses table column widths in the following basic +forms: + + + + + + +99.99units, a fixed length specifier. + + + + +99.99, a fixed length specifier without any units. + + + + +99.99*, a relative length specifier. + + + + +99.99*+99.99units, a combination of both. + + + + + + +The CALS units are points (pt), picas (pi), centimeters (cm), +millimeters (mm), and inches (in). These are the same units as XSL, +except that XSL abbreviates picas "pc" instead of "pi". If a length +specifier has no units, the CALS default unit (pt) is assumed. + + + +Relative length specifiers are represented in XSL with the +proportional-column-width() function. + + + +Here are some examples: + + + + + + +"36pt" becomes "36pt" + + + + +"3pi" becomes "3pc" + + + + +"36" becomes "36pt" + + + + +"3*" becomes "proportional-column-width(3)" + + + + +"3*+2pi" becomes "proportional-column-width(3)+2pc" + + + + +"1*+2" becomes "proportional-column-width(1)+2pt" + + + + +Parameters + + +colwidth + + +The CALS column width specification. + + + + + +Returns + +The XSL column width specification. + + + + + + + + + + Titlepage Template Stylesheet Reference + + $Id: titlepage.xsl 9600 2012-09-11 12:12:09Z kosek $ + + + + Introduction + +This is technical reference documentation for the + “titlepage” templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +t:templates +Construct a stylesheet for the templates provided + + +<xsl:template match="t:templates"/> + +Description + +The t:templates element is the root of a +set of templates. This template creates an appropriate +xsl:stylesheet for the templates. + + + +If the t:templates element has a +base-stylesheet attribute, an +xsl:import statement is constructed for it. + + + + + +xsl:* +Copy xsl: elements straight through + + +<xsl:template match="xsl:*"/> + +Description + +This template simply copies the xsl: elements +straight through into the result tree. + + + + + +t:titlepage +Create the templates necessary to construct a title page + + +<xsl:template match="t:titlepage"/> + +Description + +The t:titlepage element creates a set of +templates for processing the titlepage for an element. The +root of this template set is the template named +wrapper.titlepage. That is the +template that should be called to generate the title page. + + + + +The t:titlepage element has three attributes: + + + +element + +The name of the source document element for which +these templates apply. In other words, to make a title page for the +article element, set the +element attribute to +article. This attribute is required. + + + +wrapper + +The entire title page can be wrapped with an element. +This attribute identifies that element. + + + +class + +If the class attribute +is set, a class attribute with this +value will be added to the wrapper element that surrounds the entire +title page. + + + + + + + + + +Any other attributes are copied through literally to the +wrapper element. + + + +The content of a t:titlepage is one or +more t:titlepage-content, +t:titlepage-separator, and +t:titlepage-before elements. + + + +Each of these elements may be provided for the recto +and verso sides of the title page. + + + + + + +@* (in copy.literal.atts mode) +Copy t:titlepage attributes + + +<xsl:template match="@*" mode="copy.literal.atts"/> + +Description + +This template copies all of the other attributes +from a t:titlepage element onto the specified +wrapper. + + + + + +t:titlepage-content +Create templates for the content of one side of a title page + + +<xsl:template match="t:titlepage-content"/> + +Description + +The title page content, that is, the elements from the source +document that are rendered on the title page, can be controlled independently +for the recto and verso sides of the title page. + + + +The t:titlepage-content element has two attributes: + + + +side + +Identifies the side of the page to which this title +page content applies. The +side attribute is required and +must be set to either +recto or +verso. In addition, you must specify +exactly one t:titlepage-content for each side +within each t:titlepage. + + + +order + +Indicates how the order of the elements presented on +the title page is determined. If the +order is +document, the elements are presented +in document order. Otherwise (if the +order is +stylesheet), the elements are presented +in the order that they appear in the template (and consequently in +the stylesheet). + + + + + + + + + +The content of a t:titlepage-content element is +a list of element names. These names should be unqualified. They identify +the elements in the source document that should appear on the title page. + + + + +Each element may have a single attribute: +predicate. The value of this +attribute is used as a predicate for the expression that matches +the element on which it occurs. + + + +In other words, to put only the first three authors on the +recto-side of a title +page, you could specify: + + + <t:titlepage-contents side="recto"> + <!-- other titlepage elements --> + <author predicate="[count(previous-sibling::author)<2]"/> + <!-- other titlepage elements --> + </t:titlepage-contents> + + + + + +Usually, the elements so named are empty. But it is possible to +make one level of selection within them. Suppose that you want to +process authorgroup elements on the title page, but +you want to select only proper authors, editors, or corporate authors, +not collaborators or other credited authors. + + + +In that case, you can put a t:or group inside +the authorgroup element: + + + <t:titlepage-contents side="recto"> + <!-- other titlepage elements --> + <authorgroup> + <t:or> + <author/> + <editor/> + <corpauthor/> + </t:or> + </authorgroup> + <!-- other titlepage elements --> + </t:titlepage-contents> + + + + + +This will have the effect of automatically generating a template +for processing authorgroups in the title page mode, +selecting only the specified children. If you need more complex processing, +you'll have to construct the templates by hand. + + + + + + +t:titlepage-separator +Create templates for the separator + + +<xsl:template match="t:titlepage-separator"/> + +Description + +The title page is separated from the content which follows it by +the markup specified in the t:titlepage-separator +element. + + + + + +t:titlepage-before +Create templates for what precedes a title page + + +<xsl:template match="t:titlepage-before"/> + +Description + +Each side of the title page is preceded by the markup specified +in the t:titlepage-before element for that +side. + + + + + +* (in copy mode) +Copy elements + + +<xsl:template match="*" mode="copy"/> + +Description + +This template simply copies the elements that it applies to +straight through into the result tree. + + + + + +@* (in copy mode) +Copy attributes + + +<xsl:template match="@*" mode="copy"/> + +Description + +This template simply copies the attributes that it applies to +straight through into the result tree. + + + + + +* (in document.order mode) +Create rules to process titlepage elements in document order + + +<xsl:template match="*" mode="document.order"/> + +Description + +This template is called to process all of the children of the +t:titlepage-content element. It creates the hairy +select expression necessary to process each of those elements in +the title page. + + + +Note that this template automatically handles the case where +some DocBook elements, like title and subtitle, can occur both inside +the *info elements where metadata is usually stored and outside. + + + + +It also automatically calculates the name for the *info container +and handles elements that have historically had containers with different +names. + + + + + + +* (in document.order mode) +Create rules to process titlepage elements in stylesheet order + + +<xsl:template match="*" mode="document.order"/> + +Description + +This template is called to process all of the children of the +t:titlepage-content element. It creates the set +of xsl:apply-templates elements necessary +process each of those elements in the title page. + + + +Note that this template automatically handles the case where +some DocBook elements, like title and subtitle, can occur both inside +the *info elements where metadata is usually stored and outside. + + + + +It also automatically calculates the name for the *info container +and handles elements that have historically had containers with different +names. + + + + + + +* (in titlepage.specialrules mode) +Create templates for special rules + + +<xsl:template match="*" mode="titlepage.specialrules"/> + +Description + +This template is called to process all of the descendants of the +t:titlepage-content element that require special +processing. At present, that's just t:or elements. + + + + + + +* (in titlepage.subrules mode) +Create template for individual special rules + + +<xsl:template match="*" mode="titlepage.subrules"/> + +Description + +This template is called to process the children of special +template elements. + + + + + + +t:or +Process the t:or special rule + + +<xsl:template match="t:or"/><xsl:template match="t:or" mode="titlepage.subrules"/> + +Description + +This template processes t:or. + + + + + +t:or (in titlepage.subrules mode) +Process the t:or special rule in +titlepage.subrules mode + + +<xsl:template match="t:or" mode="titlepage.subrules"/> + +Description + +The titlepage.subrules mode doesn't apply to t:or, so just +reprocess this node in the normal mode. + + + + + +element-or-list +Construct the "or-list" used in the select attribute for +special rules. + + +<xsl:template name="element-or-list"> +<xsl:param name="elements" select="*"/> +<xsl:param name="element.count" select="count($elements)"/> +<xsl:param name="count" select="1"/> +<xsl:param name="orlist"/> + ... +</xsl:template> + +Description + +Walk through each of the children of t:or, producing the +text of the select attribute. + + + + +
    +
    \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/docsrc/warranty.xml b/apache-fop/src/test/resources/docbook-xsl/docsrc/warranty.xml new file mode 100644 index 0000000000..3c70d323c6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/docsrc/warranty.xml @@ -0,0 +1,11 @@ +Warranty +THE SOFTWARE IS PROVIDED AS IS, +WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY +OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT +OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse.xsl b/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse.xsl new file mode 100644 index 0000000000..775ee7e5ed --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse.xsl @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + Formatting from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + ) + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse3.xsl b/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse3.xsl new file mode 100644 index 0000000000..9c4f254916 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/eclipse/eclipse3.xsl @@ -0,0 +1,111 @@ + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manifest-Version: 1.0 + + Bundle-Version: 1.0 + + Bundle-Name: + + Bundle-SymbolicName: + + Bundle-Vendor: + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/eclipse/profile-eclipse.xsl b/apache-fop/src/test/resources/docbook-xsl/eclipse/profile-eclipse.xsl new file mode 100644 index 0000000000..0fcf390b68 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/eclipse/profile-eclipse.xsl @@ -0,0 +1,269 @@ + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + Formatting from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + ) + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub/README b/apache-fop/src/test/resources/docbook-xsl/epub/README new file mode 100644 index 0000000000..5e2587a12a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub/README @@ -0,0 +1,88 @@ +---------------------------------------------------------------------- + README file for the DocBook XSL Stylesheets +---------------------------------------------------------------------- + +These are XSL stylesheets for transforming DocBook XML document +instances into .epub format. + +.epub is an open standard of the The International Digital Publishing Forum (IDPF), +a the trade and standards association for the digital publishing industry. + +An alpha-quality reference implementation (dbtoepub) for a DocBook to .epub +converter (written in Ruby) is available under bin/. + +From http://idpf.org + What is EPUB, .epub, OPS/OCF & OEB? + + ".epub" is the file extension of an XML format for reflowable digital + books and publications. ".epub" is composed of three open standards, + the Open Publication Structure (OPS), Open Packaging Format (OPF) and + Open Container Format (OCF), produced by the IDPF. "EPUB" allows + publishers to produce and send a single digital publication file + through distribution and offers consumers interoperability between + software/hardware for unencrypted reflowable digital books and other + publications. The Open eBook Publication Structure or "OEB", + originally produced in 1999, is the precursor to OPS. + +---------------------------------------------------------------------- +.epub Constraints +---------------------------------------------------------------------- + +.epub does not support all of the image formats that DocBook supports. +When an image is available in an accepted format, it will be used. The +accepted @formats are: 'GIF','GIF87a','GIF89a','JPEG','JPG','PNG','SVG' +A mime-type for the image will be guessed from the file extension, +which may not work if your file extensions are non-standard. + +Non-supported elements: + * + * , , , with text/XML + @filerefs + * + * in lists (generic XHTML rendering inability) + * (just make your programlistings + siblings, rather than descendents of paras) + +---------------------------------------------------------------------- +dbtoepub Reference Implementation +---------------------------------------------------------------------- + +An alpha-quality DocBook to .epub conversion program, dbtoepub, is provided +in bin/dbtoepub. + +This tool requires: + - 'xsltproc' in your PATH + - 'zip' in your PATH + - Ruby 1.8.4+ + +Windows compatibility has not been extensively tested; bug reports encouraged. +[See http://www.zlatkovic.com/libxml.en.html and http://unxutils.sourceforge.net/] + +$ dbtoepub --help + Usage: dbtoepub [OPTIONS] [DocBook Files] + + dbtoepub converts DocBook and
    s into to .epub files. + + .epub is defined by the IDPF at www.idpf.org and is made up of 3 standards: + - Open Publication Structure (OPS) + - Open Packaging Format (OPF) + - Open Container Format (OCF) + + Specific options: + -d, --debug Show debugging output. + -h, --help Display usage info + -v, --verbose Make output verbose + + +---------------------------------------------------------------------- +Validation +---------------------------------------------------------------------- + +The epubcheck project provides limited validation for .epub documents. +See http://code.google.com/p/epubcheck/ for details. + +---------------------------------------------------------------------- +Copyright information +---------------------------------------------------------------------- +See the accompanying file named COPYING. + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub/bin/dbtoepub b/apache-fop/src/test/resources/docbook-xsl/epub/bin/dbtoepub new file mode 100755 index 0000000000..9976f816aa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub/bin/dbtoepub @@ -0,0 +1,76 @@ +#!/usr/bin/env ruby +# This program converts DocBook documents into .epub files. +# +# Usage: dbtoepub [OPTIONS] [DocBook Files] +# +# .epub is defined by the IDPF at www.idpf.org and is made up of 3 standards: +# - Open Publication Structure (OPS) +# - Open Packaging Format (OPF) +# - Open Container Format (OCF) +# +# Specific options: +# -c, --css [FILE] Use FILE for CSS on generated XHTML. +# -d, --debug Show debugging output. +# -f, --font [OTF FILE] Embed OTF FILE in .epub. +# -h, --help Display usage info. +# -s, --stylesheet [XSL FILE] Use XSL FILE as a customization +# layer (imports epub/docbook.xsl). +# -v, --verbose Make output verbose. + +lib = File.expand_path(File.join(File.dirname(__FILE__), 'lib')) +$LOAD_PATH.unshift(lib) if File.exist?(lib) + +require 'fileutils' +require 'optparse' +require 'tmpdir' + +require 'docbook' + +verbose = false +debug = false +css_file = nil +otf_files = [] +customization_layer = nil +output_file = nil + +#$DEBUG=true + +# Set up the OptionParser +opts = OptionParser.new +opts.banner = "Usage: #{File.basename($0)} [OPTIONS] [DocBook Files] + +#{File.basename($0)} converts DocBook and
    s into to .epub files. + +.epub is defined by the IDPF at www.idpf.org and is made up of 3 standards: +- Open Publication Structure (OPS) +- Open Packaging Format (OPF) +- Open Container Format (OCF) + +Specific options:" +opts.on("-c", "--css [FILE]", "Use FILE for CSS on generated XHTML.") {|f| css_file = f} +opts.on("-d", "--debug", "Show debugging output.") {debug = true; verbose = true} +opts.on("-f", "--font [OTF FILE]", "Embed OTF FILE in .epub.") {|f| otf_files << f} +opts.on("-h", "--help", "Display usage info.") {puts opts.to_s; exit 0} +opts.on("-o", "--output [OUTPUT FILE]", "Output ePub file as OUTPUT FILE.") {|f| output_file = f} +opts.on("-s", "--stylesheet [XSL FILE]", "Use XSL FILE as a customization layer (imports epub/docbook.xsl).") {|f| customization_layer = f} +opts.on("-v", "--verbose", "Make output verbose.") {verbose = true} + +db_files = opts.parse(ARGV) +if db_files.size == 0 + puts opts.to_s + exit 0 +end + +db_files.each {|docbook_file| + dir = File.expand_path(File.join(Dir.tmpdir, ".epubtmp#{Time.now.to_f.to_s}")) + FileUtils.mkdir_p(dir) + e = DocBook::Epub.new(docbook_file, dir, css_file, customization_layer, otf_files) + + if output_file + epub_file = output_file + else + epub_file = File.basename(docbook_file, ".xml") + ".epub" + end + puts "Rendering DocBook file #{docbook_file} to #{epub_file}" if verbose + e.render_to_file(epub_file) +} diff --git a/apache-fop/src/test/resources/docbook-xsl/epub/bin/lib/docbook.rb b/apache-fop/src/test/resources/docbook-xsl/epub/bin/lib/docbook.rb new file mode 100755 index 0000000000..14110d60b4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub/bin/lib/docbook.rb @@ -0,0 +1,227 @@ +require 'fileutils' +require 'rexml/parsers/pullparser' + +module DocBook + + class Epub + CHECKER = "epubcheck" + STYLESHEET = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', "docbook.xsl")) + CALLOUT_PATH = File.join('images', 'callouts') + CALLOUT_FULL_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', CALLOUT_PATH)) + CALLOUT_LIMIT = 15 + CALLOUT_EXT = ".png" + XSLT_PROCESSOR = "xsltproc" + OUTPUT_DIR = ".epubtmp#{Time.now.to_f.to_s}" + MIMETYPE = "application/epub+zip" + META_DIR = "META-INF" + OEBPS_DIR = "OEBPS" + ZIPPER = "zip" + + attr_reader :output_dir + + def initialize(docbook_file, output_dir=OUTPUT_DIR, css_file=nil, customization_layer=nil, embedded_fonts=[]) + @docbook_file = docbook_file + @output_dir = output_dir + @meta_dir = File.join(@output_dir, META_DIR) + @oebps_dir = File.join(@output_dir, OEBPS_DIR) + @css_file = css_file ? File.expand_path(css_file) : css_file + @embedded_fonts = embedded_fonts + @to_delete = [] + + if customization_layer + @stylesheet = File.expand_path(customization_layer) + else + @stylesheet = STYLESHEET + end + + unless File.exist?(@docbook_file) + raise ArgumentError.new("File #{@docbook_file} does not exist") + end + end + + def render_to_file(output_file, verbose=false) + render_to_epub(output_file, verbose) + bundle_epub(output_file, verbose) + cleanup_files(@to_delete) + end + + def self.invalid?(file) + # Obnoxiously, we can't just check for a non-zero output... + cmd = %Q(#{CHECKER} "#{file}") + output = `#{cmd} 2>&1` + + if $?.to_i == 0 + return false + else + STDERR.puts output if $DEBUG + return output + end + end + + private + def render_to_epub(output_file, verbose) + @collapsed_docbook_file = collapse_docbook() + + chunk_quietly = "--stringparam chunk.quietly " + (verbose ? '0' : '1') + callout_path = "--stringparam callout.graphics.path #{CALLOUT_PATH}/" + callout_limit = "--stringparam callout.graphics.number.limit #{CALLOUT_LIMIT}" + callout_ext = "--stringparam callout.graphics.extension #{CALLOUT_EXT}" + html_stylesheet = "--stringparam html.stylesheet #{File.basename(@css_file)}" if @css_file + base = "--stringparam base.dir #{OEBPS_DIR}/" + unless @embedded_fonts.empty? + embedded_fonts = @embedded_fonts.map {|f| File.basename(f)}.join(',') + font = "--stringparam epub.embedded.fonts \"#{embedded_fonts}\"" + end + meta = "--stringparam epub.metainf.dir #{META_DIR}/" + oebps = "--stringparam epub.oebps.dir #{OEBPS_DIR}/" + options = [chunk_quietly, + callout_path, + callout_limit, + callout_ext, + base, + font, + meta, + oebps, + html_stylesheet, + ].join(" ") + # Double-quote stylesheet & file to help Windows cmd.exe + db2epub_cmd = %Q(cd "#{@output_dir}" && #{XSLT_PROCESSOR} #{options} "#{@stylesheet}" "#{@collapsed_docbook_file}") + STDERR.puts db2epub_cmd if $DEBUG + success = system(db2epub_cmd) + raise "Could not render as .epub to #{output_file} (#{db2epub_cmd})" unless success + @to_delete << Dir["#{@meta_dir}/*"] + @to_delete << Dir["#{@oebps_dir}/*"] + end + + def bundle_epub(output_file, verbose) + + quiet = verbose ? "" : "-q" + mimetype_filename = write_mimetype() + meta = File.basename(@meta_dir) + oebps = File.basename(@oebps_dir) + images = copy_images() + csses = copy_csses() + fonts = copy_fonts() + callouts = copy_callouts() + # zip -X -r ../book.epub mimetype META-INF OEBPS + # Double-quote stylesheet & file to help Windows cmd.exe + zip_cmd = %Q(cd "#{@output_dir}" && #{ZIPPER} #{quiet} -X -r "#{File.expand_path(output_file)}" "#{mimetype_filename}" "#{meta}" "#{oebps}") + puts zip_cmd if $DEBUG + success = system(zip_cmd) + raise "Could not bundle into .epub file to #{output_file}" unless success + end + + # Input must be collapsed because REXML couldn't find figures in files that + # were XIncluded or added by ENTITY + # http://sourceforge.net/tracker/?func=detail&aid=2750442&group_id=21935&atid=373747 + def collapse_docbook + # Double-quote stylesheet & file to help Windows cmd.exe + collapsed_file = File.join(File.expand_path(File.dirname(@docbook_file)), + '.collapsed.' + File.basename(@docbook_file)) + entity_collapse_command = %Q(xmllint --loaddtd --noent -o "#{collapsed_file}" "#{@docbook_file}") + entity_success = system(entity_collapse_command) + raise "Could not collapse named entites in #{@docbook_file}" unless entity_success + + xinclude_collapse_command = %Q(xmllint --xinclude -o "#{collapsed_file}" "#{collapsed_file}") + xinclude_success = system(xinclude_collapse_command) + raise "Could not collapse XIncludes in #{@docbook_file}" unless xinclude_success + + @to_delete << collapsed_file + return collapsed_file + end + + def copy_callouts + new_callout_images = [] + if has_callouts? + calloutglob = "#{CALLOUT_FULL_PATH}/*#{CALLOUT_EXT}" + Dir.glob(calloutglob).each {|img| + img_new_filename = File.join(@oebps_dir, CALLOUT_PATH, File.basename(img)) + + # TODO: What to rescue for these two? + FileUtils.mkdir_p(File.dirname(img_new_filename)) + FileUtils.cp(img, img_new_filename) + @to_delete << img_new_filename + new_callout_images << img + } + end + return new_callout_images + end + + def copy_fonts + new_fonts = [] + @embedded_fonts.each {|font_file| + font_new_filename = File.join(@oebps_dir, File.basename(font_file)) + FileUtils.cp(font_file, font_new_filename) + new_fonts << font_file + } + return new_fonts + end + + def copy_csses + if @css_file + css_new_filename = File.join(@oebps_dir, File.basename(@css_file)) + FileUtils.cp(@css_file, css_new_filename) + end + end + + def copy_images + image_references = get_image_refs() + new_images = [] + image_references.each {|img| + # TODO: It'd be cooler if we had a filetype lookup rather than just + # extension + if img =~ /\.(svg|png|gif|jpe?g|xml)/i + img_new_filename = File.join(@oebps_dir, img) + img_full = File.join(File.expand_path(File.dirname(@docbook_file)), img) + + # TODO: What to rescue for these two? + FileUtils.mkdir_p(File.dirname(img_new_filename)) + puts(img_full + ": " + img_new_filename) if $DEBUG + FileUtils.cp(img_full, img_new_filename) + @to_delete << img_new_filename + new_images << img_full + end + } + return new_images + end + + def write_mimetype + mimetype_filename = File.join(@output_dir, "mimetype") + File.open(mimetype_filename, "w") {|f| f.print MIMETYPE} + @to_delete << mimetype_filename + return File.basename(mimetype_filename) + end + + def cleanup_files(file_list) + file_list.flatten.each {|f| + # Yikes + FileUtils.rm_r(f, :force => true ) + } + end + + # Returns an Array of all of the (image) @filerefs in a document + def get_image_refs + parser = REXML::Parsers::PullParser.new(File.new(@collapsed_docbook_file)) + image_refs = [] + while parser.has_next? + el = parser.pull + if el.start_element? and (el[0] == "imagedata" or el[0] == "graphic") + image_refs << el[1]['fileref'] + end + end + return image_refs.uniq + end + + # Returns true if the document has code callouts + def has_callouts? + parser = REXML::Parsers::PullParser.new(File.new(@collapsed_docbook_file)) + while parser.has_next? + el = parser.pull + if el.start_element? and (el[0] == "calloutlist" or el[0] == "co") + return true + end + end + return false + end + end +end diff --git a/apache-fop/src/test/resources/docbook-xsl/epub/bin/xslt/obfuscate.xsl b/apache-fop/src/test/resources/docbook-xsl/epub/bin/xslt/obfuscate.xsl new file mode 100644 index 0000000000..4ea4cd5573 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub/bin/xslt/obfuscate.xsl @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/epub/docbook.xsl new file mode 100644 index 0000000000..d0beab0a1e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub/docbook.xsl @@ -0,0 +1,1693 @@ + + + + + + + + + + 1 + 2 + + book toc,title + + + + + 4 + + + + + + + + + + + + + + + ncxtoc + htmltoc + + + + + + 0 + + + + + + + + .png + + + + + + + + + + + + + + + + 1 + + + 1 + + + 1 + + + 1 + + + 0 + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + Formatting from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + urn: + + : + + + + + urn:isbn: + + + + urn:issn: + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.0 + + + + + + + + + + + + + + + + + + + + + + cover + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0 + + + + + + + application/oebps-package+xml + + + + + + + + + + + + + + + + + + + + + + + + + 2005-1 + + + + + + cover + + + + + + + dtb:uid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + © + + + + + + + + + + + + + + + + cover + Cover + + + + + + + + + + + toc + Table of Contents + + + + + + + + + + + + + + + + + + + + + + yes + + no + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + application/x-dtbncx+xml + + + + + + + application/xhtml+xml + + + + + + + + + + + text/css + css + + + + + + + + + + + application/xhtml+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/gif + + + image/gif + + + image/png + + + image/png + + + image/jpeg + + + image/jpeg + + + image/jpeg + + + image/jpeg + + + image/svg+xml + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: mediaobjectco almost certainly will not render as expected in .epub! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + application/xhtml+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (missing alt) + + + + + + + + + + + + + + text-align: + + middle + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + + 1 + + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + + No insertfile extension available. Use a different processor (with extensions) or turn on $use.extensions and $textinsert.extension (see docs for more). + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cover + + text/css + + img { max-width: 100%; } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -toc + + + + + + + + + + + + + + + + + + + + + + + + font/opentype + + + + WARNING: OpenType fonts should be supplied! ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + clear: both + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + 1 + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + 6 + 5 + 4 + 3 + 2 + 1 + + + + + title + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/README b/apache-fop/src/test/resources/docbook-xsl/epub3/README new file mode 100644 index 0000000000..477e785fae --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/README @@ -0,0 +1,329 @@ +DocBook stylesheets for EPUB 3 output +============================================= + +This directory contains XSL stylesheets +for generating EPUB3 output from DocBook content. +For more information on EPUB3, see: + +http://idpf.org/epub/30 + +These EPUB3 stylesheets are a customization layer on +top of the xhtml5/ stylesheets in this distribution, which +are in turn a customization layer on top of the +xhtml/ stylesheets in this distribution. +Using a customization layer enables the EPUB3 +stylesheets to inherit all the features of the +XHTML stylesheets while making the minimum changes +for them to produce valid EPUB3. + +Usage +----------- +The general process for creating an EPUB3 ebook is: + +1. Generate chunked XHTML5 content that validates against +the EPUB3 schemas, and generate the EPUB3 package +files. + +2. Copy any image files into the output directory. + +3. Run a zip command to create an .epub file. + +4. Validate the .epub file. + + +Following are the steps in more detail. + +1. Create the XHTML5 files. +----------------------------- + +The first step is handled by these stylesheets. +To generate EPUB3-compatible XHTML5 files, +use one of the following stylesheets as you would any +other DocBook XSL stylesheet: + +epub3/chunk.xsl - Chunked output. +epub3/profile-chunk.xsl - Profiled chunk output. + +Although the stylesheet directory contains a docbook.xsl +stylesheet for single file output, that is not useful for +generated EPUB3. + +You should set the $base.dir stylesheet param to the +subdirectory that will contain the .xhtml files and +the epub package files. Here is an example using xsltproc: + +xsltproc \ + --stringparam base.dir ebook1/OEBPS/ \ + epub3/chunk.xsl \ + mybook.xml + +After processing a document with this setting, you should find +the following output: + +ebook1/mimetype - required mimetype file. +ebook1/META-INF/container.xml - required container file +ebook1/OEBPS/package.opf - required package file +ebook1/OEBPS/toc.ncx - optional NCX file for backwards compatibility +ebook1/OEBPS/docbook-epub.css - CSS file +ebook1/OEBPS/*.xhtml - The chunked content files. + + +2. Copy image files +--------------------------- + +Manually copy any image files used in the document +into the corresponding locations in the $base.dir +directory. For example, if your document contains: + + + +In this example base.dir, you would copy the file to: + + ebook1/OEBPS/images/caution.png + +You can get a list of image files from the manifest file +named ebook1/OEBPS/package.opf that is created by the +stylesheet. It includes references to image files for +callouts and admonitions if they are used in the output. +Note that the header and footer images are turned off for +EPUB3 output. + + +3. Create the epub3 file. +----------------------------- +Change to the directory containing the base.dir (ebook1 +in this example), and run the following zip command to +create the epub file: + +zip -r -X mybook.epub mimetype META-INF OEBPS + +The -r option means recursively include all directories. +The -X option excludes extra file attributes (required by epub3). +The "mybook.epub" in this example is the output file. +The other three arguments must appear in this order. + + +4. Validating with epubcheck 3 +----------------------------------- + +There is a java program that can be used to check an +epub3 file for conformance. It is currently available +from this website: + + http://code.google.com/p/epubcheck/wiki/EPUBCheck30 + +That website provides a download link, and information on +how to run the command. + + +Testing with EPUB readers +---------------------------- +The EPUB3 standard is not yet widely supported. The output of +these stylesheets has been tested in the following readers: + +Apple iBooks on an iPod and iPad. + - Handles videodata and audiodata. + - Does not format MathML yet. + - Handles SVG. + +Firefox browser with the EPUBReader version 1.4.10 add-on. + - Formats MathML nicely. + - Does not handle videodata or audiodata yet. + - Handles SVG. + +Ibis EPUB3 preview version + - Does not format MathML yet. + - Does not handle videodata or audiodata yet. + - Handles SVG with external viewer. + + +EPUB metadata +======================== +The info child of the document's root element is used +by the stylesheet to create EPUB metadata. Note that +metadata is plain text, so element content is converted +to text using the XSL normalize-space() function. + +Here is the current mapping of info elements to EPUB +metadata. Any others are ignored for metadata, but +may appear on the EPUB HTML titlepage, depending on the +titlepage customization. + +NOTE: the elements (not attributes of meta) duplicate +the meta elements for backwards compatibility, per the +EPUB3 specification. They can be turned off with the +$epub.include.optional.metadata.dc.elements parameter. + +abstract +--------- +The content must be converted to a text string for the +OPF metadata. The stylesheet converts only title, para, +formalpara, and simpara children in an abstract. All other +child elements are ignored. It puts any title first. +The OPF output appears as: + +title: abstract text +title: abstract text + + +author +------- +If uses a personname child, then it applies the +DocBook XSL person.name template to arrange the name. +Otherwise processes org or orgname into the content. +Then it outputs: + +Firstname Surname +Firstname Surname + +If there are multiple authors, the number in the id attribute +is incremented each time. + + +authorgroup +------------- +Applies templates to all of its children. + + +bibliocoverage +--------------- +bibliocoverage text +bibliocoverage text + + +biblioid +-------------- +This usually has @class="isbn" for the ISBN number. It is used +as the EPUB3 unique-identifier. That isbn value +is also output as follows: + +urn:isbn:value +urn:isbn:value + +A biblioid element with other class names are converted in a similar manner. + + +bibliorelation +---------------- +bibliorelation text +bibliorelation text + + +bibliosource +---------------- +bibliosource text +bibliosource text + + +collab +------------ +If a personname child is used, then it calls the +person.name template, otherwise is uses the orgname or +collabname text. + +collab text +collab text + + +copyright +------------- +Arranges the copyright elements into a text string with +copyright symbol, dates, and holder, and then +generates: + +Copyright text +Copyright text + +Also, if there is no info/date element, then the copyright +year is used to generate: + +year +year + + +corpauthor +------------ +corpauthor text +corpauthor text + + +corpcredit +------------ +corpcredit text +corpcredit text + + +date +------------- +date text +date text + +See also: copyright. + + +editor +-------------- +If a personname child is used, then it calls the +person.name template, otherwise is uses the orgname text. + +An editor can be considered as either a creator (when there +is no author) or a contributor. The stylesheet parameter +'editor.property' can be set to either 'creator' or +'contributor' (default) at runtime. So the output is either: + +editor text +editor text + +or + +editor text +editor text + + +isbn, issn, etc. +----------------- +Handled like biblioid @class="isbn". + + +keyword +----------- +keyword text +keyword text + + +keywordset +------------ +Applies templates to its children. + + +othercredit +------------ +Handled like collab. + + +pubdate +------------ +Handled like date. + + +publisher +-------------- +Applies templates only to publishername. + + +publishername +--------------- +publishername text +publishername text + + +subjectset +-------------- +Applies templates to subject/subjecterm descendants. + + +subjectterm +------------------ +subjecterm text +subjecterm text + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/chunk.xsl new file mode 100644 index 0000000000..be062b53df --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/chunk.xsl @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/chunkfast.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/chunkfast.xsl new file mode 100644 index 0000000000..8ec9550e61 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/chunkfast.xsl @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/docbook-epub.css.xml b/apache-fop/src/test/resources/docbook-xsl/epub3/docbook-epub.css.xml new file mode 100644 index 0000000000..9f28011cd4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/docbook-epub.css.xml @@ -0,0 +1,142 @@ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/docbook.xsl new file mode 100644 index 0000000000..af099b8ee2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/docbook.xsl @@ -0,0 +1,19 @@ + + + +]> + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-chunk-mods.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-chunk-mods.xsl new file mode 100644 index 0000000000..7aa6901228 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-chunk-mods.xsl @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FATAL ERROR: + Xalan processor not supported by DocBook Epub3 stylesheets. + Xalan does not properly support XSL output method="text", + which is required for the various epub support files. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-element-mods.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-element-mods.xsl new file mode 100644 index 0000000000..8ba786dc03 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/epub3-element-mods.xsl @@ -0,0 +1,2506 @@ + + + +]> + + + + + + + + + + + + + + + + +book toc,title,figure,table,example,equation +article toc,title,figure,table,example,equation + + + + + + + + + + +0 + + +.png + + + + + + + + +ol + + + + + + +docbook-epub.css.xml + + + + + + +3.0 + + +4 + + + + + + + + + +http://www.idpf.org/epub/30/profile/content/ +http://www.idpf.org/epub/30/profile/package/ + + + + + + + + + + + + +meta-identifier +pub-identifier +meta-title +pub-title +meta-language +pub-language +meta-creator +pub-creator +ncxtoc +ncx +application/x-dtbncx+xml +application/xhtml+xml +htmltoc + + + + +http://www.idpf.org/2007/ops +http://www.idpf.org/2007/opf +http://www.daisy.org/z3986/2005/ncx/ +http://purl.org/dc/elements/1.1/ + +id- + +contributor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + 1 + + + 1 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Generating EPUB package files. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:identifier + + + + + + + + + + + + + + + + + + + + + + + + dcterms:title + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:language + + + + + + + + + + + + + + + + + + + dcterms:modified + + + The preceding date value is actually local time (not UTC) in UTC format because there is no function in XSLT 1.0 to generate a correct UTC time + + + + ERROR: no last-modified date value could be determined, + so cannot output required meta element with + dcterms:modified attribute. Exiting. + + + + + + + + + + + + + + + + + + + + + + + + + + cover + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:creator + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + contributor + + + + + + + dcterms: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:contributor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:contributor + + + + + + + + + + + + + + + + + + + + + dcterms:date + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + 1 + 0 + + + + + + WARNING: wrong metadata date format: ' + + ' in element + + / + + . It must be in one of these forms: + YYYY, YYYY-MM, or YYYY-MM-DD. + + + + + + + + + + + + + + + + + : + + + + + + + + : + + + + + + + + + dcterms:description + + + + + + + + + + + + + + + + + dcterms:subject + + + + + + + + + + + + + + + + + dcterms:subject + + + + + + + + + + + + + + + + + dcterms:publisher + + + + + + + + + + + + + dcterms:coverage + + + + + + + + + + + + + dcterms:relation + + + + + + + + + + + + + dcterms:source + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dcterms:date + + + + + + + + + + + + + + + © + + + + + + + + dcterms:rights + + + + + + + + + + dcterms:rightsHolder + + + + + + + + + + + + + + + + + + + + + + + cover + Cover + + + + + + + + + + + toc + Table of Contents + + + + + + + + + + + + + + + urn: + + : + + + + + urn:isbn: + + + + urn:issn: + + + + + + + + + + + + + + + + + + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + subchapter + + + + + + division + + + + + + notice + + + + + + list + + + + + + list-item + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + footnotes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/css + docbook-css + + + + + + + + + + + + + text/css + custom-css + + + + + + + + + + + + + + + + + text/css + + html-css + + + + + + + + + + + + + + + + + + + text/css + + html-css + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cover-image + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nav + + + + + + + + + + + + + + + + + + + -toc + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + application/xhtml+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + svg + + + + + + svg + + + + + + + + + + + + + + + svg + + + + + + svg + + + + + + + + + + + + + + + + + + + + + + + + + + + + mathml + + + + + + + + + Generating image list ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: cannot process images list without + exsl:node-set() function + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Generating NCX file ... + + + + + + + + + + + + + 2005-1 + + + + + + cover + + + + + + + dtb:uid + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0 + + + + + + + application/oebps-package+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + Cover + + text/css + + img { max-width: 100%; } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + TableofContents + +
    +
    + +

    + + + TableofContents + + +

    +
    +
    +
    +
    + + + + + + + + + +
    + + +
    +
    +
    + + + +
    + + +
    +
    + +
    + + +
    +
    +
    + +
    +
    +
    + + + + + + + + + lot + loi + loi + loi + loi + loi + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + 1 + 2 + 3 + + + + + + + 2 + 3 + 4 + 5 + 6 + 2 + 3 + 4 + 1 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/profile-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/profile-chunk.xsl new file mode 100644 index 0000000000..64ed1fedd7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/profile-chunk.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/profile-docbook.xsl new file mode 100644 index 0000000000..7ff667df6f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/profile-docbook.xsl @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + +rtl + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xml b/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xml new file mode 100644 index 0000000000..c9b8ee5f32 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xml @@ -0,0 +1,712 @@ + + + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="set" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="book" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <isbn/> + <issn/> + <biblioid/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="part" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="division.title" + param:node="ancestor-or-self::part[1]"/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="div"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="reference" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> +<!-- uncomment this if you want refentry titlepages + <title t:force="1" + t:named-template="refentry.title" + param:node="ancestor-or-self::refentry[1]"/> +--> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator/> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::dedication[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::acknowledgements[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="preface" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="section" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::bibliography[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::glossary[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="index" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::index[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::setindex[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> +<t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="formal.object.heading" + param:object="ancestor-or-self::sidebar[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xsl new file mode 100644 index 0000000000..e2b5e37fa3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/epub3/titlepage.templates.xsl @@ -0,0 +1,3841 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="article.titlepage.verso"> +</xsl:template> + +<xsl:template name="article.titlepage.separator"><hr xmlns="http://www.w3.org/1999/xhtml"/> +</xsl:template> + +<xsl:template name="article.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="article.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="article.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="article.titlepage.before.recto"/> + <xsl:call-template name="article.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="article.titlepage.before.verso"/> + <xsl:call-template name="article.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="article.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="set.titlepage.verso"> +</xsl:template> + +<xsl:template name="set.titlepage.separator"><hr xmlns="http://www.w3.org/1999/xhtml"/> +</xsl:template> + +<xsl:template name="set.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="set.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="set.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="set.titlepage.before.recto"/> + <xsl:call-template name="set.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="set.titlepage.before.verso"/> + <xsl:call-template name="set.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="set.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/isbn"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/isbn"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/issn"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/issn"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/biblioid"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/biblioid"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="book.titlepage.verso"> +</xsl:template> + +<xsl:template name="book.titlepage.separator"><hr xmlns="http://www.w3.org/1999/xhtml"/> +</xsl:template> + +<xsl:template name="book.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="book.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="book.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="book.titlepage.before.recto"/> + <xsl:call-template name="book.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="book.titlepage.before.verso"/> + <xsl:call-template name="book.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="book.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="isbn" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="issn" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="biblioid" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="part.titlepage.verso"> +</xsl:template> + +<xsl:template name="part.titlepage.separator"> +</xsl:template> + +<xsl:template name="part.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="part.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="part.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="part.titlepage.before.recto"/> + <xsl:call-template name="part.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="part.titlepage.before.verso"/> + <xsl:call-template name="part.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="part.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="partintro.titlepage.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage.separator"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml"> + <xsl:variable name="recto.content"> + <xsl:call-template name="partintro.titlepage.before.recto"/> + <xsl:call-template name="partintro.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="partintro.titlepage.before.verso"/> + <xsl:call-template name="partintro.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="partintro.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="reference.titlepage.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage.separator"><hr xmlns="http://www.w3.org/1999/xhtml"/> +</xsl:template> + +<xsl:template name="reference.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="reference.titlepage.before.recto"/> + <xsl:call-template name="reference.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="reference.titlepage.before.verso"/> + <xsl:call-template name="reference.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="reference.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="refentry.titlepage.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage.separator"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refentry.titlepage.before.recto"/> + <xsl:call-template name="refentry.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refentry.titlepage.before.verso"/> + <xsl:call-template name="refentry.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="refentry.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="dedication.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="dedicationinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="dedication.titlepage.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage.separator"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="dedication.titlepage.before.recto"/> + <xsl:call-template name="dedication.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="dedication.titlepage.before.verso"/> + <xsl:call-template name="dedication.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="dedication.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="acknowledgementsinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.separator"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="acknowledgements.titlepage.before.recto"/> + <xsl:call-template name="acknowledgements.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="acknowledgements.titlepage.before.verso"/> + <xsl:call-template name="acknowledgements.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="acknowledgements.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <xsl:choose> + <xsl:when test="prefaceinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="preface.titlepage.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage.separator"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="preface.titlepage.before.recto"/> + <xsl:call-template name="preface.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="preface.titlepage.before.verso"/> + <xsl:call-template name="preface.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="preface.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="chapter.titlepage.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage.separator"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="chapter.titlepage.before.recto"/> + <xsl:call-template name="chapter.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="chapter.titlepage.before.verso"/> + <xsl:call-template name="chapter.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="chapter.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="appendix.titlepage.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage.separator"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="appendix.titlepage.before.recto"/> + <xsl:call-template name="appendix.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="appendix.titlepage.before.verso"/> + <xsl:call-template name="appendix.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="appendix.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="section.titlepage.verso"> +</xsl:template> + +<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="section.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="section.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="section.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="section.titlepage.before.recto"/> + <xsl:call-template name="section.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="section.titlepage.before.verso"/> + <xsl:call-template name="section.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="section.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect1info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect1info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect1.titlepage.before.recto"/> + <xsl:call-template name="sect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect1.titlepage.before.verso"/> + <xsl:call-template name="sect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect1.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect2info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect2info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect2.titlepage.before.recto"/> + <xsl:call-template name="sect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect2.titlepage.before.verso"/> + <xsl:call-template name="sect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect2.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect3info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect3info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect3.titlepage.before.recto"/> + <xsl:call-template name="sect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect3.titlepage.before.verso"/> + <xsl:call-template name="sect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect3.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect4.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect4info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect4info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect4.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect4.titlepage.before.recto"/> + <xsl:call-template name="sect4.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect4.titlepage.before.verso"/> + <xsl:call-template name="sect4.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect4.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect5.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect5info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect5info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect5.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect5.titlepage.before.recto"/> + <xsl:call-template name="sect5.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect5.titlepage.before.verso"/> + <xsl:call-template name="sect5.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect5.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr xmlns="http://www.w3.org/1999/xhtml"/></xsl:if> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="simplesect.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="bibliography.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliography.titlepage.before.recto"/> + <xsl:call-template name="bibliography.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliography.titlepage.before.verso"/> + <xsl:call-template name="bibliography.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="bibliography.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="glossary.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossary.titlepage.before.recto"/> + <xsl:call-template name="glossary.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossary.titlepage.before.verso"/> + <xsl:call-template name="glossary.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="glossary.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="index.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="indexinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="index.titlepage.verso"> +</xsl:template> + +<xsl:template name="index.titlepage.separator"> +</xsl:template> + +<xsl:template name="index.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="index.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="index.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="index.titlepage.before.recto"/> + <xsl:call-template name="index.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="index.titlepage.before.verso"/> + <xsl:call-template name="index.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="index.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="setindex.titlepage.recto"> + <div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="setindexinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="setindex.titlepage.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage.separator"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="setindex.titlepage.before.recto"/> + <xsl:call-template name="setindex.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="setindex.titlepage.before.verso"/> + <xsl:call-template name="setindex.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="setindex.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sidebar.titlepage.recto"> + <xsl:choose> + <xsl:when test="sidebarinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sidebarinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="sidebar.titlepage.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.separator"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage"> + <div xmlns="http://www.w3.org/1999/xhtml" class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sidebar.titlepage.before.recto"/> + <xsl:call-template name="sidebar.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sidebar.titlepage.before.verso"/> + <xsl:call-template name="sidebar.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sidebar.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:call-template name="formal.object.heading"> +<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/> +</xsl:call-template> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> +<div xmlns="http://www.w3.org/1999/xhtml" xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/extensions/README.LIBXSLT b/apache-fop/src/test/resources/docbook-xsl/extensions/README.LIBXSLT new file mode 100644 index 0000000000..2c80274484 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/extensions/README.LIBXSLT @@ -0,0 +1,52 @@ +---------------------------------------------------------------------- + README file for the libxslt extensions +---------------------------------------------------------------------- +$Id: README.LIBXSLT 7877 2008-03-08 04:07:52Z xmldoc $ + +These are XSLT extensions written in Python for use with the DocBook XML +stylesheets and the libxslt library[1]. + +Currently, the only available extension is a function for adjusting column +widths in tables. For more information, see the section describing the +equivalent Java extension in "DocBook XSL: The Complete Guide"[2]. + +---------------------------------------------------------------------- +Preparations +---------------------------------------------------------------------- +In addition to libxml2 and libxslt, the following software needs to +be installed before you start using the extensions: + +1. Python[3]. + +2. Python bindings for libxml2/libxslt. Most distributions of + libxml2/libxslt for Unix/Linux include these bindings. + A native Windows port is provided by Stéphane Bidoul[4]. + +---------------------------------------------------------------------- +Installation of the extensions +---------------------------------------------------------------------- +No special installation step is needed. + +---------------------------------------------------------------------- +How to use the extensions +---------------------------------------------------------------------- +Instead of using xsltproc, you run a Python program (xslt.py). The +command has this general form: + +python xslt.py xmlfile xslfile [outputfile] [param1=val1 [param2=val]...] + +Modify paths, filenames, and parameters as needed. Make sure to set +the "use.extensions" and "tablecolumns.extension" parameters to 1. + +---------------------------------------------------------------------- +Manifest +---------------------------------------------------------------------- +README.LIBXSLT This file +xslt.py Executable script file +docbook.py Module that implements extensions + +---------------------------------------------------------------------- +[1] http://xmlsoft.org/XSLT +[2] http://www.sagehill.net/docbookxsl/ColumnWidths.html +[3] http://www.python.org/download +[4] http://users.skynet.be/sbi/libxml-python diff --git a/apache-fop/src/test/resources/docbook-xsl/extensions/docbook.py b/apache-fop/src/test/resources/docbook-xsl/extensions/docbook.py new file mode 100644 index 0000000000..c07060232b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/extensions/docbook.py @@ -0,0 +1,239 @@ +# docbook.py: extension module +# $Id: docbook.py 8353 2009-03-17 16:57:50Z mzjn $ + +import sys +import string +import libxml2 +import libxslt +import re +import math + +# Some globals +pixelsPerInch = 96.0 +unitHash = { 'in': pixelsPerInch, + 'cm': pixelsPerInch / 2.54, + 'mm': pixelsPerInch / 25.4, + 'pc': (pixelsPerInch / 72.0) * 12, + 'pt': pixelsPerInch / 72.0, + 'px': 1 } + +# ====================================================================== + +def adjustColumnWidths(ctx, nodeset): + # + # Small check to verify the context is correcly accessed + # + try: + pctxt = libxslt.xpathParserContext(_obj=ctx) + ctxt = pctxt.context() + tctxt = ctxt.transformContext() + except: + pass + + # Get the nominal table width + varString = lookupVariable(tctxt, "nominal.table.width", None) + if varString == None: + nominalWidth = 6 * pixelsPerInch; + else: + nominalWidth = convertLength(varString); + + # Get the requested table width + tableWidth = lookupVariable(tctxt, "table.width", "100%") + + foStylesheet = (tctxt.variableLookup("stylesheet.result.type", None) == "fo") + + relTotal = 0 + relParts = [] + + absTotal = 0 + absParts = [] + + colgroup = libxml2.xmlNode(_obj = nodeset[0]) + # If this is an foStylesheet, we've been passed a list of fo:table-columns. + # Otherwise we've been passed a colgroup that contains a list of cols. + if foStylesheet: + colChildren = colgroup + else: + colChildren = colgroup.children + + col = colChildren + while col != None: + if foStylesheet: + width = col.prop("column-width") + else: + width = col.prop("width") + + if width == None: + width = "1*" + + relPart = 0.0 + absPart = 0.0 + starPos = string.find(width, "*") + if starPos >= 0: + relPart, absPart = string.split(width, "*", 2) + relPart = float(relPart) + relTotal = relTotal + float(relPart) + else: + absPart = width + + pixels = convertLength(absPart) + absTotal = absTotal + pixels + + relParts.append(relPart) + absParts.append(pixels) + + col = col.next + + # Ok, now we have the relative widths and absolute widths in + # two parallel arrays. + # + # - If there are no relative widths, output the absolute widths + # - If there are no absolute widths, output the relative widths + # - If there are a mixture of relative and absolute widths, + # - If the table width is absolute, turn these all into absolute + # widths. + # - If the table width is relative, turn these all into absolute + # widths in the nominalWidth and then turn them back into + # percentages. + + widths = [] + + if relTotal == 0: + for absPart in absParts: + if foStylesheet: + inches = absPart / pixelsPerInch + widths.append("%4.2fin" % inches) + else: + widths.append("%d" % absPart) + elif absTotal == 0: + for relPart in relParts: + rel = relPart / relTotal * 100 + widths.append(rel) + widths = correctRoundingError(widths) + else: + pixelWidth = nominalWidth + if string.find(tableWidth, "%") < 0: + pixelWidth = convertLength(tableWidth) + + if pixelWidth <= absTotal: + print "Table is wider than table width" + else: + pixelWidth = pixelWidth - absTotal + + absTotal = 0 + for count in range(len(relParts)): + rel = relParts[count] / relTotal * pixelWidth + relParts[count] = rel + absParts[count] + absTotal = absTotal + rel + absParts[count] + + if string.find(tableWidth, "%") < 0: + for count in range(len(relParts)): + if foStylesheet: + pixels = relParts[count] + inches = pixels / pixelsPerInch + widths.append("%4.2fin" % inches) + else: + widths.append(relParts[count]) + else: + for count in range(len(relParts)): + rel = relParts[count] / absTotal * 100 + widths.append(rel) + widths = correctRoundingError(widths) + + # Danger, Will Robinson! In-place modification of the result tree! + # Side-effect free? We don' need no steenkin' side-effect free! + count = 0 + col = colChildren + while col != None: + if foStylesheet: + col.setProp("column-width", widths[count]) + else: + col.setProp("width", widths[count]) + + count = count+1 + col = col.next + + return nodeset + +def convertLength(length): + # Given "3.4in" return the width in pixels + global pixelsPerInch + global unitHash + + m = re.search('([+-]?[\d\.]+)(\S+)', length) + if m != None and m.lastindex > 1: + unit = pixelsPerInch + if unitHash.has_key(m.group(2)): + unit = unitHash[m.group(2)] + else: + print "Unrecognized length: " + m.group(2) + + pixels = unit * float(m.group(1)) + else: + pixels = 0 + + return pixels + +def correctRoundingError(floatWidths): + # The widths are currently floating point numbers, we have to truncate + # them back to integers and then distribute the error so that they sum + # to exactly 100%. + + totalWidth = 0 + widths = [] + for width in floatWidths: + width = math.floor(width) + widths.append(width) + totalWidth = totalWidth + math.floor(width) + + totalError = 100 - totalWidth + columnError = totalError / len(widths) + error = 0 + for count in range(len(widths)): + width = widths[count] + error = error + columnError + if error >= 1.0: + adj = math.floor(error) + error = error - adj + widths[count] = "%d%%" % (width + adj) + else: + widths[count] = "%d%%" % width + + return widths + +def lookupVariable(tctxt, varName, default): + varString = tctxt.variableLookup(varName, None) + if varString == None: + return default + + # If it's a list, get the first element + if type(varString) == type([]): + varString = varString[0] + + # If it's not a string, it must be a node, get its content + if type(varString) != type(""): + varString = varString.content + + return varString + +# ====================================================================== +# Random notes... + +#once you have a node which is a libxml2 python xmlNode wrapper all common +#operations are possible: +# .children .last .parent .next .prev .doc for navigation +# .content .type for introspection +# .prop("attribute_name") to lookup attribute values + +# # Now make a nodeset to return +# # Danger, Will Robinson! This creates a memory leak! +# newDoc = libxml2.newDoc("1.0") +# newColGroup = newDoc.newDocNode(None, "colgroup", None) +# newDoc.addChild(newColGroup) +# col = colgroup.children +# while col != None: +# newCol = newDoc.newDocNode(None, "col", None) +# newCol.copyPropList(col); +# newCol.setProp("width", "4") +# newColGroup.addChild(newCol) +# col = col.next diff --git a/apache-fop/src/test/resources/docbook-xsl/extensions/xslt.py b/apache-fop/src/test/resources/docbook-xsl/extensions/xslt.py new file mode 100644 index 0000000000..c712f65fb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/extensions/xslt.py @@ -0,0 +1,84 @@ +#!/usr/bin/python -u +# $Id: xslt.py 8353 2009-03-17 16:57:50Z mzjn $ + +import sys +import libxml2 +import libxslt +from docbook import adjustColumnWidths + +# Check the arguments +usage = "Usage: %s xmlfile.xml xslfile.xsl [outputfile] [param1=val [param2=val]...]" % sys.argv[0] + +xmlfile = None +xslfile = None +outfile = "-" +params = {} + +try: + xmlfile = sys.argv[1] + xslfile = sys.argv[2] +except IndexError: + print usage + sys.exit(1) + +def quote(astring): + if astring.find("'") < 0: + return "'" + astring + "'" + else: + return '"' + astring + '"' + +try: + outfile = sys.argv[3] + if outfile.find("=") > 0: + name, value = outfile.split("=", 2) + params[name] = quote(value) + outfile = None + + count = 4 + while (sys.argv[count]): + try: + name, value = sys.argv[count].split("=", 2) + if params.has_key(name): + print "Warning: '%s' re-specified; replacing value" % name + params[name] = quote(value) + except ValueError: + print "Invalid parameter specification: '" + sys.argv[count] + "'" + print usage + sys.exit(1) + count = count+1 +except IndexError: + pass + +# ====================================================================== +# Memory debug specific +# libxml2.debugMemory(1) + +# Setup environment +libxml2.lineNumbersDefault(1) +libxml2.substituteEntitiesDefault(1) +libxslt.registerExtModuleFunction("adjustColumnWidths", + "http://nwalsh.com/xslt/ext/xsltproc/python/Table", + adjustColumnWidths) + +# Initialize and run +styledoc = libxml2.parseFile(xslfile) +style = libxslt.parseStylesheetDoc(styledoc) +doc = libxml2.parseFile(xmlfile) +result = style.applyStylesheet(doc, params) + +# Save the result +if outfile: + style.saveResultToFilename(outfile, result, 0) +else: + print result + +# Free things up +style.freeStylesheet() +doc.freeDoc() +result.freeDoc() + +# Memory debug specific +#libxslt.cleanup() +#if libxml2.debugMemory(1) != 0: +# print "Memory leak %d bytes" % (libxml2.debugMemory(1)) +# libxml2.dumpMemory() diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/admon.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/admon.xsl new file mode 100644 index 0000000000..67bf158d0c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/admon.xsl @@ -0,0 +1,129 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: admon.xsl 9647 2012-10-26 17:42:03Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<xsl:template match="note|important|warning|caution|tip"> + <xsl:choose> + <xsl:when test="$admon.graphics != 0"> + <xsl:call-template name="graphical.admonition"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="nongraphical.admonition"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="admon.graphic.width"> + <xsl:param name="node" select="."/> + <xsl:text>36pt</xsl:text> +</xsl:template> + +<xsl:template name="admon.graphic"> + <xsl:param name="node" select="."/> + + <xsl:variable name="filename"> + <xsl:value-of select="$admon.graphics.path"/> + <xsl:choose> + <xsl:when test="local-name($node)='note'">note</xsl:when> + <xsl:when test="local-name($node)='warning'">warning</xsl:when> + <xsl:when test="local-name($node)='caution'">caution</xsl:when> + <xsl:when test="local-name($node)='tip'">tip</xsl:when> + <xsl:when test="local-name($node)='important'">important</xsl:when> + <xsl:otherwise>note</xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$admon.graphics.extension"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$fop.extensions != 0 + or $arbortext.extensions != 0"> + <xsl:value-of select="$filename"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>url(</xsl:text> + <xsl:value-of select="$filename"/> + <xsl:text>)</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="graphical.admonition"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <xsl:variable name="graphic.width"> + <xsl:apply-templates select="." mode="admon.graphic.width"/> + </xsl:variable> + + <fo:block id="{$id}" + xsl:use-attribute-sets="graphical.admonition.properties"> + <fo:list-block provisional-distance-between-starts="{$graphic.width} + 18pt" + provisional-label-separation="18pt"> + <fo:list-item> + <fo:list-item-label end-indent="label-end()"> + <fo:block> + <fo:external-graphic width="auto" height="auto" + content-width="{$graphic.width}" > + <xsl:attribute name="src"> + <xsl:call-template name="admon.graphic"/> + </xsl:attribute> + </fo:external-graphic> + </fo:block> + </fo:list-item-label> + <fo:list-item-body start-indent="body-start()"> + <xsl:if test="$admon.textlabel != 0 or title or info/title"> + <fo:block xsl:use-attribute-sets="admonition.title.properties"> + <xsl:apply-templates select="." mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + <fo:block xsl:use-attribute-sets="admonition.properties"> + <xsl:apply-templates/> + </fo:block> + </fo:list-item-body> + </fo:list-item> + </fo:list-block> + </fo:block> +</xsl:template> + +<xsl:template name="nongraphical.admonition"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <fo:block id="{$id}" + xsl:use-attribute-sets="nongraphical.admonition.properties"> + <xsl:if test="$admon.textlabel != 0 or title or info/title"> + <fo:block keep-with-next.within-column='always' + xsl:use-attribute-sets="admonition.title.properties"> + <xsl:apply-templates select="." mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + + <fo:block xsl:use-attribute-sets="admonition.properties"> + <xsl:apply-templates/> + </fo:block> + </fo:block> +</xsl:template> + +<xsl:template match="note/title"></xsl:template> +<xsl:template match="important/title"></xsl:template> +<xsl:template match="warning/title"></xsl:template> +<xsl:template match="caution/title"></xsl:template> +<xsl:template match="tip/title"></xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/annotations.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/annotations.xsl new file mode 100644 index 0000000000..ba6baa64a5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/annotations.xsl @@ -0,0 +1,18 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: annotations.xsl 6910 2007-06-28 23:23:30Z xmldoc $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<xsl:template match="annotation"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kimber.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kimber.xsl new file mode 100644 index 0000000000..434572f216 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kimber.xsl @@ -0,0 +1,172 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; + +<!-- Documents using the kimber index method must have a lang attribute --> +<!-- Only one of these should be present in the entity --> +<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'> + +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" + exclude-result-prefixes="k" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-kimber.xsl 8729 2010-07-15 16:43:56Z bobstayton $ + ******************************************************************** + + This file is part of the DocBook XSL Stylesheet distribution. + See ../README or http://docbook.sf.net/ for copyright + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. --> +<!-- ==================================================================== --> +<!-- *** THIS MODULE ONLY WORKS WITH SAXON 6 OR SAXON 8 *** --> +<!-- ==================================================================== --> + +<xsl:include href="../common/autoidx-kimber.xsl"/> + +<!-- Java sort apparently works only on lang part, not country --> +<xsl:param name="sort.lang"> + <xsl:choose> + <xsl:when test="contains(⟨, '-')"> + <xsl:value-of select="substring-before(⟨, '-')"/> + </xsl:when> + <xsl:when test="contains(⟨, '_')"> + <xsl:value-of select="substring-before(⟨, '_')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="⟨"/> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + +<xsl:template name="generate-kimber-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="not(contains($vendor, 'SAXON '))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="not(function-available('k:getIndexGroupKey'))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Innodata Isogen Java extensions for </xsl:text> + <xsl:text>internationalized indexes. Install those </xsl:text> + <xsl:text>extensions, or use a different index method. </xsl:text> + <xsl:text>For more information, see: </xsl:text> + <xsl:text>http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm[count(.|key('k-group', + k:getIndexGroupKey(⟨, &primary;)) + [&scope;][1]) = 1 + and not(@class = 'endofrange')]"/> + + <xsl:variable name="alphabetical" + select="$terms[not(starts-with( + k:getIndexGroupKey(⟨, &primary;), + '#NUMERIC' + ))]"/> + + <xsl:variable name="others" + select="$terms[starts-with( + k:getIndexGroupKey(⟨, &primary;), + '#NUMERIC' + )]"/> + + <fo:block> + <xsl:if test="$others"> + <xsl:call-template name="indexdiv.title"> + <xsl:with-param name="titlecontent"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + <fo:block> + <xsl:apply-templates select="$others" + mode="index-symbol-div"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort lang="{$sort.lang}" + select="k:getIndexGroupSortKey(⟨, + k:getIndexGroupKey(⟨, &primary;))"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + + <xsl:apply-templates select="$alphabetical" + mode="index-div-kimber"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort lang="{$sort.lang}" + select="k:getIndexGroupSortKey(⟨, + k:getIndexGroupKey(⟨, &primary;))"/> + </xsl:apply-templates> + </fo:block> + +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-kimber"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="k:getIndexGroupKey(⟨, &primary;)"/> + + <xsl:variable name="label" + select="k:getIndexGroupLabel(⟨, $key)"/> + + <xsl:if test="key('k-group', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <fo:block> + <xsl:call-template name="indexdiv.title"> + <xsl:with-param name="titlecontent"> + <xsl:value-of select="$label"/> + </xsl:with-param> + </xsl:call-template> + <fo:block> + <xsl:apply-templates select="key('k-group', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;] + [1])=1]" + mode="index-primary"> + <xsl:sort select="&primary;" lang="{$sort.lang}"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </fo:block> + </fo:block> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kosek.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kosek.xsl new file mode 100644 index 0000000000..7ed54147a4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-kosek.xsl @@ -0,0 +1,139 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:rx="http://www.renderx.com/XSL/Extensions" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + xmlns:i="urn:cz-kosek:functions:index" + xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" + xmlns:func="http://exslt.org/functions" + xmlns:exslt="http://exslt.org/common" + extension-element-prefixes="func exslt" + exclude-result-prefixes="func exslt i l" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-kosek.xsl 8725 2010-07-15 08:08:04Z kosek $ + ******************************************************************** + + This file is part of the DocBook XSL Stylesheet distribution. + See ../README or http://docbook.sf.net/ for copyright + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "kosek" method contributed by Jirka Kosek. --> + +<xsl:include href="../common/autoidx-kosek.xsl"/> + +<xsl:template name="generate-kosek-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="contains($vendor, 'libxslt')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the xsltproc XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="contains($vendor, 'Saxonica')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the Saxon 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + + <xsl:if test="$exsl.node.set.available = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> + <xsl:text>has it, or use a different index method.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="not(function-available('i:group-index'))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>index extension functions be imported: </xsl:text> + <xsl:text> xsl:import href="common/autoidx-kosek.xsl"</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm[count(.|key('group-code', + i:group-index(&primary;)) + [&scope;][1]) = 1 + and not(@class = 'endofrange')]"/> + <fo:block> + <xsl:apply-templates select="$terms" mode="index-div-kosek"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="i:group-index(&primary;)" data-type="number"/> + </xsl:apply-templates> + </fo:block> +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-kosek"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="i:group-index(&primary;)"/> + + <xsl:variable name="lang"> + <xsl:call-template name="l10n.language"/> + </xsl:variable> + + <xsl:if test="key('group-code', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <fo:block> + <xsl:call-template name="indexdiv.title"> + <xsl:with-param name="titlecontent"> + <xsl:choose> + <xsl:when test="$key = 0"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="i:group-letter($key)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + <fo:block> + <xsl:apply-templates select="key('group-code', $key)[&scope;] + [count(.|key('primary', &primary;) + [&scope;][1])=1]" + mode="index-primary"> + <xsl:sort select="&primary;" lang="{$lang}"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </fo:block> + </fo:block> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-ng.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-ng.xsl new file mode 100644 index 0000000000..9407b5cf98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx-ng.xsl @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-ng.xsl 6910 2007-06-28 23:23:30Z xmldoc $ + ******************************************************************** + + This file is part of the DocBook XSL Stylesheet distribution. + See ../README or http://docbook.sf.net/ for copyright + copyright and other information. + + ******************************************************************** --> + +<!-- You should have this directly in your customization file. --> +<!-- This file is there only to retain backward compatibility. --> +<xsl:import href="autoidx-kosek.xsl"/> +<xsl:param name="index.method">kosek</xsl:param> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/autoidx.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx.xsl new file mode 100644 index 0000000000..14381184f2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/autoidx.xsl @@ -0,0 +1,1301 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:rx="http://www.renderx.com/XSL/Extensions" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + xmlns:exslt="http://exslt.org/common" + extension-element-prefixes="exslt" + exclude-result-prefixes="exslt" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx.xsl 9647 2012-10-26 17:42:03Z bobstayton $ + ******************************************************************** + + This file is part of the DocBook XSL Stylesheet distribution. + See ../README or http://docbook.sf.net/ for copyright + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "basic" method derived from Jeni Tennison's work. --> +<!-- The "kosek" method contributed by Jirka Kosek. --> +<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. --> + +<!-- Importing module for kimber or kosek method overrides one of these --> +<xsl:param name="kimber.imported" select="0"/> +<xsl:param name="kosek.imported" select="0"/> + +<!-- These keys used primary in all methods --> +<xsl:key name="letter" + match="indexterm" + use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> + +<xsl:key name="primary" + match="indexterm" + use="&primary;"/> + +<xsl:key name="secondary" + match="indexterm" + use="concat(&primary;, &sep;, &secondary;)"/> + +<xsl:key name="tertiary" + match="indexterm" + use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> + +<xsl:key name="endofrange" + match="indexterm[@class='endofrange']" + use="@startref"/> + +<xsl:key name="see-also" + match="indexterm[seealso]" + use="concat(&primary;, &sep;, + &secondary;, &sep;, + &tertiary;, &sep;, seealso)"/> + +<xsl:key name="see" + match="indexterm[see]" + use="concat(&primary;, &sep;, + &secondary;, &sep;, + &tertiary;, &sep;, see)"/> + + +<xsl:template name="generate-index"> + <xsl:param name="scope" select="(ancestor::book|/)[last()]"/> + + <xsl:choose> + <xsl:when test="$index.method = 'kosek'"> + <xsl:call-template name="generate-kosek-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$index.method = 'kimber'"> + <xsl:call-template name="generate-kimber-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="generate-basic-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="generate-basic-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm + [count(.|key('letter', + translate(substring(&primary;, 1, 1), + &lowercase;, + &uppercase;)) + [&scope;][1]) = 1 + and not(@class = 'endofrange')]"/> + + <xsl:variable name="alphabetical" + select="$terms[contains(concat(&lowercase;, &uppercase;), + substring(&primary;, 1, 1))]"/> + + <xsl:variable name="others" select="$terms[not(contains( + concat(&lowercase;, + &uppercase;), + substring(&primary;, 1, 1)))]"/> + <fo:block> + <xsl:if test="$others"> + <xsl:call-template name="indexdiv.title"> + <xsl:with-param name="titlecontent"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + <fo:block> + <xsl:apply-templates select="$others[count(.|key('primary', + &primary;)[&scope;][1]) = 1]" + mode="index-symbol-div"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, + &uppercase;)"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + + <xsl:apply-templates select="$alphabetical[count(.|key('letter', + translate(substring(&primary;, 1, 1), + &lowercase;,&uppercase;)) + [&scope;][1]) = 1]" + mode="index-div-basic"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </fo:block> +</xsl:template> + +<!-- This template not used if fo/autoidx-kosek.xsl is imported --> +<xsl:template name="generate-kosek-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="contains($vendor, 'libxslt')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the xsltproc XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + + <xsl:if test="$exsl.node.set.available = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> + <xsl:text>has it, or use a different index method.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="$kosek.imported = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>kosek index extensions be imported: </xsl:text> + <xsl:text> xsl:import href="fo/autoidx-kosek.xsl"</xsl:text> + </xsl:message> + </xsl:if> + +</xsl:template> + + +<!-- This template not used if fo/autoidx-kimber.xsl is imported --> +<xsl:template name="generate-kimber-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="not(contains($vendor, 'SAXON '))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="$kimber.imported = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>kimber index extensions be imported: </xsl:text> + <xsl:text> xsl:import href="fo/autoidx-kimber.xsl"</xsl:text> + </xsl:message> + </xsl:if> + +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-basic"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="translate(substring(&primary;, 1, 1), + &lowercase;,&uppercase;)"/> + + <xsl:if test="key('letter', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <fo:block> + <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> + <xsl:call-template name="indexdiv.title"> + <xsl:with-param name="titlecontent"> + <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + <fo:block xsl:use-attribute-sets="index.entry.properties"> + <xsl:apply-templates select="key('letter', $key)[&scope;] + [count(.|key('primary', &primary;) + [&scope;][1])=1]" + mode="index-primary"> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </fo:block> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="index-symbol-div"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> + + <fo:block xsl:use-attribute-sets="index.entry.properties"> + <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]" + mode="index-primary"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </fo:block> +</xsl:template> + +<xsl:template match="indexterm" mode="index-primary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="&primary;"/> + <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/> + + <xsl:variable name="term.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.term.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="range.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.range.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <fo:block> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute> + </xsl:if> + + <xsl:for-each select="$refs/primary"> + <xsl:if test="@id or @xml:id"> + <fo:inline id="{(@id|@xml:id)[1]}"/> + </xsl:if> + </xsl:for-each> + + <xsl:value-of select="primary"/> + + <xsl:choose> + <xsl:when test="$xep.extensions != 0"> + <xsl:if test="$refs[not(see) and not(secondary)]"> + <xsl:copy-of select="$term.separator"/> + <xsl:variable name="primary" select="&primary;"/> + <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/> + <rx:page-index list-separator="{$number.separator}" + range-separator="{$range.separator}"> + <xsl:if test="$refs[@significance='preferred'][not(see) and not(secondary)]"> + <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties" + ref-key="{$primary.significant}"/> + </xsl:if> + <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see) and not(secondary)]"> + <rx:index-item xsl:use-attribute-sets="xep.index.item.properties" + ref-key="{$primary}"/> + </xsl:if> + </rx:page-index> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="page-number-citations"> + <xsl:for-each select="$refs[not(see) + and not(secondary)]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:with-param name="position" select="position()"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:variable> + + <xsl:copy-of select="$page-number-citations"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs[not(secondary)]/*[self::see]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + + </fo:block> + + <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::seealso]"> + <fo:block start-indent="1pc"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" + mode="index-secondary"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="index-secondary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/> + <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/> + + <xsl:variable name="term.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.term.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="range.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.range.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <fo:block> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute> + </xsl:if> + + <xsl:for-each select="$refs/secondary"> + <xsl:if test="@id or @xml:id"> + <fo:inline id="{(@id|@xml:id)[1]}"/> + </xsl:if> + </xsl:for-each> + + <xsl:value-of select="secondary"/> + + <xsl:choose> + <xsl:when test="$xep.extensions != 0"> + <xsl:if test="$refs[not(see) and not(tertiary)]"> + <xsl:copy-of select="$term.separator"/> + <xsl:variable name="primary" select="&primary;"/> + <xsl:variable name="secondary" select="&secondary;"/> + <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/> + <rx:page-index list-separator="{$number.separator}" + range-separator="{$range.separator}"> + <xsl:if test="$refs[@significance='preferred'][not(see) and not(tertiary)]"> + <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties"> + <xsl:attribute name="ref-key"> + <xsl:value-of select="$primary.significant"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + </xsl:attribute> + </rx:index-item> + </xsl:if> + <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see) and not(tertiary)]"> + <rx:index-item xsl:use-attribute-sets="xep.index.item.properties"> + <xsl:attribute name="ref-key"> + <xsl:value-of select="$primary"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + </xsl:attribute> + </rx:index-item> + </xsl:if> + </rx:page-index> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="page-number-citations"> + <xsl:for-each select="$refs[not(see) + and not(tertiary)]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:with-param name="position" select="position()"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:variable> + + <xsl:copy-of select="$page-number-citations"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs[not(tertiary)]/*[self::see]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + + </fo:block> + + <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::seealso]"> + <fo:block start-indent="2pc"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" + mode="index-tertiary"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="index-tertiary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> + <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/> + + <xsl:variable name="term.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.term.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="range.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.range.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <fo:block> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute> + </xsl:if> + + <xsl:for-each select="$refs/tertiary"> + <xsl:if test="@id or @xml:id"> + <fo:inline id="{(@id|@xml:id)[1]}"/> + </xsl:if> + </xsl:for-each> + + <xsl:value-of select="tertiary"/> + + <xsl:choose> + <xsl:when test="$xep.extensions != 0"> + <xsl:if test="$refs[not(see)]"> + <xsl:copy-of select="$term.separator"/> + <xsl:variable name="primary" select="&primary;"/> + <xsl:variable name="secondary" select="&secondary;"/> + <xsl:variable name="tertiary" select="&tertiary;"/> + <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/> + <rx:page-index list-separator="{$number.separator}" + range-separator="{$range.separator}"> + <xsl:if test="$refs[@significance='preferred'][not(see)]"> + <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties"> + <xsl:attribute name="ref-key"> + <xsl:value-of select="$primary.significant"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$tertiary"/> + </xsl:attribute> + </rx:index-item> + </xsl:if> + <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see)]"> + <rx:index-item xsl:use-attribute-sets="xep.index.item.properties"> + <xsl:attribute name="ref-key"> + <xsl:value-of select="$primary"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + <xsl:text>, </xsl:text> + <xsl:value-of select="$tertiary"/> + </xsl:attribute> + </rx:index-item> + </xsl:if> + </rx:page-index> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="page-number-citations"> + <xsl:for-each select="$refs[not(see)]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:with-param name="position" select="position()"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:variable> + + <xsl:copy-of select="$page-number-citations"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs/see"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + + </fo:block> + + <xsl:if test="$refs/seealso"> + <fo:block> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="reference"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:param name="position" select="0"/> + <xsl:param name="separator" select="''"/> + + <xsl:variable name="term.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.term.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="range.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.range.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$separator != ''"> + <xsl:value-of select="$separator"/> + </xsl:when> + <xsl:when test="$position = 1"> + <xsl:value-of select="$term.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$number.separator"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:choose> + <xsl:when test="@zone and string(@zone)"> + <xsl:call-template name="reference"> + <xsl:with-param name="zones" select="normalize-space(@zone)"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="ancestor::*[contains(local-name(),'info') and not(starts-with(local-name(),'info'))]"> + <xsl:call-template name="info.reference"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + + <xsl:if test="key('endofrange', $id)[&scope;]"> + <xsl:apply-templates select="key('endofrange', $id)[&scope;][last()]" + mode="reference"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:with-param name="separator" select="$range.separator"/> + </xsl:apply-templates> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="reference"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:param name="zones"/> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="contains($zones, ' ')"> + <xsl:variable name="zone" select="substring-before($zones, ' ')"/> + <xsl:variable name="target" select="key('id', $zone)"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$target[1]"/> + </xsl:call-template> + </xsl:variable> + + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + + <xsl:copy-of select="$number.separator"/> + <xsl:call-template name="reference"> + <xsl:with-param name="zones" select="substring-after($zones, ' ')"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="zone" select="$zones"/> + <xsl:variable name="target" select="key('id', $zone)"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$target[1]"/> + </xsl:call-template> + </xsl:variable> + + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="info.reference"> + <!-- This is not perfect. It doesn't treat indexterm inside info element as a range covering whole parent of info. + It also not work when there is no ID generated for parent element. But it works in the most common cases. --> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="target" select="(ancestor::appendix|ancestor::article|ancestor::bibliography|ancestor::book| + ancestor::chapter|ancestor::glossary|ancestor::part|ancestor::preface| + ancestor::refentry|ancestor::reference|ancestor::refsect1|ancestor::refsect2| + ancestor::refsect3|ancestor::refsection|ancestor::refsynopsisdiv| + ancestor::sect1|ancestor::sect2|ancestor::sect3|ancestor::sect4|ancestor::sect5| + ancestor::section|ancestor::setindex|ancestor::set|ancestor::sidebar|ancestor::mediaobject)[&scope;]"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$target[position() = last()]"/> + </xsl:call-template> + </xsl:variable> + + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> +</xsl:template> + +<xsl:template match="indexterm" mode="index-see"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <fo:inline> + <xsl:text> (</xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'see'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:value-of select="see"/> + <xsl:text>)</xsl:text> + </fo:inline> +</xsl:template> + +<xsl:template match="indexterm" mode="index-seealso"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:for-each select="seealso"> + <xsl:sort select="translate(., &lowercase;, &uppercase;)"/> + <fo:block> + <xsl:text>(</xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'seealso'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:value-of select="."/> + <xsl:text>)</xsl:text> + </fo:block> + </xsl:for-each> + +</xsl:template> + +<!-- ====================================================================== --> + +<xsl:template name="generate-index-markup"> + <xsl:param name="scope" select="(ancestor::book|/)[last()]"/> + <xsl:param name="role" select="@role"/> + <xsl:param name="type" select="@type"/> + + <xsl:variable name="terms" select="$scope//indexterm[count(.|key('letter', + translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[&scope;][1]) = 1]"/> + <xsl:variable name="alphabetical" + select="$terms[contains(concat(&lowercase;, &uppercase;), + substring(&primary;, 1, 1))]"/> + <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, + &uppercase;), + substring(&primary;, 1, 1)))]"/> + + <xsl:text><index> </xsl:text> + <xsl:if test="$others"> + <xsl:text> <indexdiv> </xsl:text> + <xsl:text><title></xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + <xsl:text></title> </xsl:text> + <xsl:apply-templates select="$others[count(.|key('primary', + &primary;)[&scope;][1]) = 1]" + mode="index-symbol-div-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:text></indexdiv> </xsl:text> + </xsl:if> + + <xsl:apply-templates select="$alphabetical[count(.|key('letter', + translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[&scope;][1]) = 1]" + mode="index-div-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:text></index> </xsl:text> +</xsl:template> + +<xsl:template match="*" mode="index-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:text><</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text>> </xsl:text> + <xsl:apply-templates mode="index-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> + <xsl:text> <indexdiv> </xsl:text> + <xsl:text><title></xsl:text> + <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> + <xsl:text></title> </xsl:text> + + <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]" + mode="index-primary-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:text></indexdiv> </xsl:text> +</xsl:template> + +<xsl:template match="indexterm" mode="index-symbol-div-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> + + <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]" + mode="index-primary-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="indexterm" mode="index-primary-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="&primary;"/> + <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/> + <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/> + + <xsl:text> <indexentry> </xsl:text> + <xsl:text><primaryie></xsl:text> + <xsl:text><phrase></xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="string(primary)"/> + </xsl:call-template> + <xsl:text></phrase></xsl:text> + <xsl:if test="$pages">,</xsl:if> + <xsl:text> </xsl:text> + + <xsl:for-each select="$pages"> + <xsl:apply-templates select="." mode="reference-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + + <xsl:text></primaryie> </xsl:text> + + <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::see or self::seealso]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + + <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" + mode="index-secondary-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + <xsl:text></indexentry> </xsl:text> +</xsl:template> + +<xsl:template match="indexterm" mode="index-secondary-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/> + <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/> + <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/> + + <xsl:text><secondaryie></xsl:text> + <xsl:text><phrase></xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="string(secondary)"/> + </xsl:call-template> + <xsl:text></phrase></xsl:text> + <xsl:if test="$pages">,</xsl:if> + <xsl:text> </xsl:text> + + <xsl:for-each select="$pages"> + <xsl:apply-templates select="." mode="reference-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + + <xsl:text></secondaryie> </xsl:text> + + <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::see or self::seealso]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" + mode="index-tertiary-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="index-tertiary-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> + <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/> + <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/> + + <xsl:text><tertiaryie></xsl:text> + <xsl:text><phrase></xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="string(tertiary)"/> + </xsl:call-template> + <xsl:text></phrase></xsl:text> + <xsl:if test="$pages">,</xsl:if> + <xsl:text> </xsl:text> + + <xsl:for-each select="$pages"> + <xsl:apply-templates select="." mode="reference-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + + <xsl:text></tertiaryie> </xsl:text> + + <xsl:variable name="see" select="$refs/see | $refs/seealso"/> + <xsl:if test="$see"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]" + mode="index-see-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso-markup"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="reference-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:choose> + <xsl:when test="@zone and string(@zone)"> + <xsl:call-template name="reference-markup"> + <xsl:with-param name="zones" select="normalize-space(@zone)"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + + <xsl:choose> + <xsl:when test="@startref and @class='endofrange'"> + <xsl:text><phrase role="pageno"></xsl:text> + <xsl:text><link linkend="</xsl:text> + <xsl:value-of select="@startref"/> + <xsl:text>"></xsl:text> + <fo:basic-link internal-destination="{@startref}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{@startref}"/> + <xsl:text>-</xsl:text> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + <xsl:text></link></xsl:text> + <xsl:text></phrase> </xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text><phrase role="pageno"></xsl:text> + <xsl:if test="$id"> + <xsl:text><link linkend="</xsl:text> + <xsl:value-of select="$id"/> + <xsl:text>"></xsl:text> + </xsl:if> + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + <xsl:if test="$id"> + <xsl:text></link></xsl:text> + </xsl:if> + <xsl:text></phrase> </xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="reference-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:param name="zones"/> + <xsl:choose> + <xsl:when test="contains($zones, ' ')"> + <xsl:variable name="zone" select="substring-before($zones, ' ')"/> + <xsl:variable name="target" select="key('id', $zone)[&scope;]"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$target[1]"/> + </xsl:call-template> + </xsl:variable> + + <xsl:text><phrase role="pageno"></xsl:text> + <xsl:if test="$target[1]/@id or $target[1]/@xml:id"> + <xsl:text><link linkend="</xsl:text> + <xsl:value-of select="$id"/> + <xsl:text>"></xsl:text> + </xsl:if> + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + <xsl:if test="$target[1]/@id or $target[1]/@xml:id"> + <xsl:text></link></xsl:text> + </xsl:if> + <xsl:text></phrase> </xsl:text> + + <xsl:call-template name="reference"> + <xsl:with-param name="zones" select="substring-after($zones, ' ')"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="zone" select="$zones"/> + <xsl:variable name="target" select="key('id', $zone)[&scope;]"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$target[1]"/> + </xsl:call-template> + </xsl:variable> + + <xsl:text><phrase role="pageno"></xsl:text> + <xsl:if test="$target[1]/@id or target[1]/@xml:id"> + <xsl:text><link linkend="</xsl:text> + <xsl:value-of select="$id"/> + <xsl:text>"></xsl:text> + </xsl:if> + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="index.page.number.properties"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + <xsl:if test="$target[1]/@id or target[1]/@xml:id"> + <xsl:text></link></xsl:text> + </xsl:if> + <xsl:text></phrase> </xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="index-see-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <fo:block> + <xsl:text><seeie></xsl:text> + <xsl:text><phrase></xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="string(see)"/> + </xsl:call-template> + <xsl:text></phrase></xsl:text> + <xsl:text></seeie> </xsl:text> + </fo:block> +</xsl:template> + +<xsl:template match="indexterm" mode="index-seealso-markup"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <fo:block> + <xsl:text><seealsoie></xsl:text> + <xsl:text><phrase></xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="string(seealso)"/> + </xsl:call-template> + <xsl:text></phrase></xsl:text> + <xsl:text></seealsoie> </xsl:text> + </fo:block> +</xsl:template> + +<xsl:template name="escape-text"> + <xsl:param name="text" select="''"/> + + <xsl:variable name="ltpos" select="substring-before($text, '<')"/> + <xsl:variable name="amppos" select="substring-before($text, '&')"/> + + <xsl:choose> + <xsl:when test="contains($text,'<') and contains($text, '&') + and string-length($ltpos) < string-length($amppos)"> + <xsl:value-of select="$ltpos"/> + <xsl:text>&lt;</xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="substring-after($text, '<')"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="contains($text,'<') and contains($text, '&') + and string-length($amppos) < string-length($ltpos)"> + <xsl:value-of select="$amppos"/> + <xsl:text>&amp;</xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="substring-after($text, '&')"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="contains($text, '<')"> + <xsl:value-of select="$ltpos"/> + <xsl:text>&lt;</xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="substring-after($text, '<')"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="contains($text, '&')"> + <xsl:value-of select="$amppos"/> + <xsl:text>&amp;</xsl:text> + <xsl:call-template name="escape-text"> + <xsl:with-param name="text" select="substring-after($text, '&')"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:value-of select="$text"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="index.separator"> + <xsl:param name="key" select="''"/> + <xsl:param name="lang"> + <xsl:call-template name="l10n.language"/> + </xsl:param> + + <xsl:choose> + <xsl:when test="$key = 'index.term.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.term.separator != ''"> + <xsl:copy-of select="$index.term.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">term-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="$key = 'index.number.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.number.separator != ''"> + <xsl:copy-of select="$index.number.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">number-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="$key = 'index.range.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.range.separator != ''"> + <xsl:copy-of select="$index.range.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">range-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/autotoc.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/autotoc.xsl new file mode 100644 index 0000000000..be907bbcf8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/autotoc.xsl @@ -0,0 +1,960 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + version='1.0'> + +<!-- ******************************************************************** + $Id: autotoc.xsl 9647 2012-10-26 17:42:03Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template name="set.toc"> + + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" select="book|set|setindex"/> + + <xsl:if test="$nodes"> + <fo:block id="toc...{$id}" + xsl:use-attribute-sets="toc.margin.properties"> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level">1</xsl:attribute> + <xsl:attribute name="axf:outline-expand">false</xsl:attribute> + <xsl:attribute name="axf:outline-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + <xsl:call-template name="table.of.contents.titlepage"/> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="division.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" + select="$toc-context/part + |$toc-context/reference + |$toc-context/preface + |$toc-context/chapter + |$toc-context/appendix + |$toc-context/article + |$toc-context/topic + |$toc-context/bibliography + |$toc-context/glossary + |$toc-context/index"/> + + <xsl:if test="$nodes"> + <fo:block id="toc...{$cid}" + xsl:use-attribute-sets="toc.margin.properties"> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level">1</xsl:attribute> + <xsl:attribute name="axf:outline-expand">false</xsl:attribute> + <xsl:attribute name="axf:outline-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + <xsl:if test="$toc.title.p"> + <xsl:call-template name="table.of.contents.titlepage"/> + </xsl:if> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="component.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" select="section|sect1|refentry + |article|topic|bibliography|glossary + |qandaset[$qanda.in.toc != 0] + |appendix|index"/> + <xsl:if test="$nodes"> + <fo:block id="toc...{$id}" + xsl:use-attribute-sets="toc.margin.properties"> + <xsl:if test="$toc.title.p"> + <xsl:call-template name="table.of.contents.titlepage"/> + </xsl:if> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="component.toc.separator"> + <!-- Customize to output something between + component.toc and first output --> +</xsl:template> + +<xsl:template name="section.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" + select="section|sect1|sect2|sect3|sect4|sect5|refentry + |qandaset[$qanda.in.toc != 0] + |bridgehead[$bridgehead.in.toc != 0]"/> + + <xsl:variable name="level"> + <xsl:call-template name="section.level"/> + </xsl:variable> + + <xsl:if test="$nodes"> + <fo:block id="toc...{$id}" + xsl:use-attribute-sets="toc.margin.properties"> + + <xsl:if test="$toc.title.p"> + <xsl:call-template name="section.heading"> + <xsl:with-param name="level" select="$level + 1"/> + <xsl:with-param name="title"> + <fo:block space-after="0.5em"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </fo:block> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="section.toc.separator"> + <!-- Customize to output something between + section.toc and first output --> +</xsl:template> +<!-- ==================================================================== --> + +<xsl:template name="toc.line"> + <xsl:param name="toc-context" select="NOTANODE"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + + <fo:block xsl:use-attribute-sets="toc.line.properties"> + <fo:inline keep-with-next.within-line="always"> + <fo:basic-link internal-destination="{$id}"> + <xsl:if test="$label != ''"> + <xsl:copy-of select="$label"/> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + <xsl:apply-templates select="." mode="titleabbrev.markup"/> + </fo:basic-link> + </fo:inline> + <fo:inline keep-together.within-line="always"> + <xsl:text> </xsl:text> + <fo:leader leader-pattern="dots" + leader-pattern-width="3pt" + leader-alignment="reference-area" + keep-with-next.within-line="always"/> + <xsl:text> </xsl:text> + <fo:basic-link internal-destination="{$id}"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + </fo:inline> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="qandaset.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" select="qandadiv|qandaentry"/> + + <xsl:if test="$nodes"> + <fo:block id="toc...{$id}" + xsl:use-attribute-sets="toc.margin.properties"> + <xsl:if test="$toc.title.p"> + <xsl:call-template name="table.of.contents.titlepage"/> + </xsl:if> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="qandaset.toc.separator"> + <!-- Customize to output something between + qandaset.toc and first output --> +</xsl:template> + +<xsl:template match="qandadiv" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="nodes" select="qandadiv|qandaentry"/> + + <xsl:if test="$nodes"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="qandaentry" mode="toc"> + <xsl:apply-templates select="question" mode="toc"/> +</xsl:template> + +<xsl:template match="question" mode="toc"> + <xsl:variable name="firstchunk"> + <!-- Use a titleabbrev or title if available --> + <xsl:choose> + <xsl:when test="../blockinfo/titleabbrev"> + <xsl:apply-templates select="../blockinfo/titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../blockinfo/title"> + <xsl:apply-templates select="../blockinfo/title[1]/node()"/> + </xsl:when> + <xsl:when test="../info/titleabbrev"> + <xsl:apply-templates select="../info/titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../titleabbrev"> + <xsl:apply-templates select="../titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../info/title"> + <xsl:apply-templates select="../info/title[1]/node()"/> + </xsl:when> + <xsl:when test="../title"> + <xsl:apply-templates select="../title[1]/node()"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="(*[local-name(.)!='label'])[1]/node()"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="deflabel"> + <xsl:choose> + <xsl:when test="ancestor-or-self::*[@defaultlabel]"> + <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] + /@defaultlabel"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$qanda.defaultlabel"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + + <fo:block xsl:use-attribute-sets="toc.line.properties" + end-indent="{$toc.indent.width}pt" + last-line-end-indent="-{$toc.indent.width}pt"> + <xsl:attribute name="margin-{$direction.align.start}">3em</xsl:attribute> + <xsl:attribute name="text-indent">-3em</xsl:attribute> + <fo:inline keep-with-next.within-line="always"> + <fo:basic-link internal-destination="{$id}"> + <xsl:if test="$label != ''"> + <xsl:copy-of select="$label"/> + <xsl:if test="$deflabel = 'number' and not(label)"> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:copy-of select="$firstchunk"/> + </fo:basic-link> + </fo:inline> + <fo:inline keep-together.within-line="always"> + <xsl:text> </xsl:text> + <fo:leader leader-pattern="dots" + leader-pattern-width="3pt" + leader-alignment="reference-area" + keep-with-next.within-line="always"/> + <xsl:text> </xsl:text> + <fo:basic-link internal-destination="{$id}"> + <fo:page-number-citation ref-id="{$id}"/> + </fo:basic-link> + </fo:inline> + </fo:block> + +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="book|setindex" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="nodes" select="glossary|bibliography|preface|chapter + |reference|part|article|topic|appendix|index"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.max.depth > $depth.from.context + and $nodes"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="set" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="nodes" select="set|book|setindex"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.max.depth > $depth.from.context + and $nodes"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="part" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="nodes" select="chapter|appendix|preface|reference| + refentry|article|topic|index|glossary| + bibliography"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.max.depth > $depth.from.context + and $nodes"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="reference" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:if test="$toc.section.depth > 0 + and $toc.max.depth > $depth.from.context + and refentry"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="refentry" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="refentry" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="preface|chapter|appendix|article" + mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="nodes" select="section|sect1 + |qandaset[$qanda.in.toc != 0] + |simplesect[$simplesect.in.toc != 0] + |topic + |refentry|appendix"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 0 + and $toc.max.depth > $depth.from.context + and $nodes"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="sect1" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 1 + and $toc.max.depth > $depth.from.context + and sect2"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"/> + </xsl:attribute> + + <xsl:apply-templates select="sect2|qandaset[$qanda.in.toc != 0]" + mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="sect2" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 2 + and $toc.max.depth > $depth.from.context + and sect3"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"> + <xsl:with-param name="reldepth" select="$reldepth"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="sect3|qandaset[$qanda.in.toc != 0]" + mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="sect3" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 3 + and $toc.max.depth > $depth.from.context + and sect4"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"> + <xsl:with-param name="reldepth" select="$reldepth"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="sect4|qandaset[$qanda.in.toc != 0]" + mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="sect4" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth > 4 + and $toc.max.depth > $depth.from.context + and sect5"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"> + <xsl:with-param name="reldepth" select="$reldepth"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="sect5|qandaset[$qanda.in.toc != 0]" + mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="sect5|simplesect" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="topic" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="set.toc.indent"> + <xsl:param name="reldepth"/> + + <xsl:variable name="depth"> + <xsl:choose> + <xsl:when test="$reldepth != ''"> + <xsl:value-of select="$reldepth"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="count(ancestor::*)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$fop.extensions != 0"> + <xsl:value-of select="concat($depth*$toc.indent.width, 'pt')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($toc.indent.width, 'pt')"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + + +<xsl:template match="section" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="depth" select="count(ancestor::section) + 1"/> + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth >= $depth"> + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:if test="$toc.section.depth > $depth + and $toc.max.depth > $depth.from.context + and section"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"> + <xsl:with-param name="reldepth" select="$reldepth"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="section|qandaset[$qanda.in.toc != 0]" + mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + </xsl:if> +</xsl:template> + +<xsl:template match="bibliography|glossary" + mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="index" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:if test="* or $generate.index != 0"> + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="title" mode="toc"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="list.of.titles"> + <xsl:param name="titles" select="'table'"/> + <xsl:param name="nodes" select=".//table"/> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:if test="$nodes"> + <fo:block id="lot...{$titles}...{$id}"> + <xsl:choose> + <xsl:when test="$titles='table'"> + <xsl:call-template name="list.of.tables.titlepage"/> + </xsl:when> + <xsl:when test="$titles='figure'"> + <xsl:call-template name="list.of.figures.titlepage"/> + </xsl:when> + <xsl:when test="$titles='equation'"> + <xsl:call-template name="list.of.equations.titlepage"/> + </xsl:when> + <xsl:when test="$titles='example'"> + <xsl:call-template name="list.of.examples.titlepage"/> + </xsl:when> + <xsl:when test="$titles='procedure'"> + <xsl:call-template name="list.of.procedures.titlepage"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.unknowns.titlepage"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template name="component.list.of.titles"> + <xsl:param name="titles" select="'table'"/> + <xsl:param name="nodes" select=".//table"/> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:if test="$nodes"> + <fo:block id="lot...{$titles}...{$id}"> + <xsl:choose> + <xsl:when test="$titles='table'"> + <xsl:call-template name="component.list.of.tables.titlepage"/> + </xsl:when> + <xsl:when test="$titles='figure'"> + <xsl:call-template name="component.list.of.figures.titlepage"/> + </xsl:when> + <xsl:when test="$titles='equation'"> + <xsl:call-template name="component.list.of.equations.titlepage"/> + </xsl:when> + <xsl:when test="$titles='example'"> + <xsl:call-template name="component.list.of.examples.titlepage"/> + </xsl:when> + <xsl:when test="$titles='procedure'"> + <xsl:call-template name="component.list.of.procedures.titlepage"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="component.list.of.unknowns.titlepage"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="figure|table|example|equation|procedure" mode="toc"> + <xsl:param name="toc-context" select="."/> + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- qandaset handled like a section when qanda.in.toc is set --> +<xsl:template match="qandaset" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="cid"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="depth" select="count(ancestor::section) + 1"/> + <xsl:variable name="reldepth" + select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:if test="$toc.section.depth >= $depth"> + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + + <xsl:if test="$toc.section.depth > $depth + and $toc.max.depth > $depth.from.context + and (child::qandadiv or child::qandaentry)"> + <fo:block id="toc.{$cid}.{$id}"> + <xsl:attribute name="margin-{$direction.align.start}"> + <xsl:call-template name="set.toc.indent"> + <xsl:with-param name="reldepth" select="$reldepth"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="qandadiv|qandaentry" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </fo:block> + </xsl:if> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/axf.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/axf.xsl new file mode 100644 index 0000000000..42418133d8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/axf.xsl @@ -0,0 +1,113 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + version='1.0'> + +<!-- ******************************************************************** + $Id: axf.xsl 8983 2011-03-27 07:41:25Z mzjn $ + ******************************************************************** --> + +<xsl:template name="axf-document-information"> + + <xsl:variable name="authors" select="(//author|//editor| + //corpauthor|//authorgroup)[1]"/> + <xsl:if test="$authors"> + <xsl:variable name="author"> + <xsl:choose> + <xsl:when test="$authors[self::authorgroup]"> + <xsl:call-template name="person.name.list"> + <xsl:with-param name="person.list" + select="$authors/*[self::author|self::corpauthor| + self::othercredit|self::editor]"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$authors[self::corpauthor]"> + <xsl:value-of select="$authors"/> + </xsl:when> + <xsl:when test="$authors[orgname]"> + <xsl:value-of select="$authors/orgname"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"> + <xsl:with-param name="node" select="$authors"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:element name="axf:document-info"> + <xsl:attribute name="name">author</xsl:attribute> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($author)"/> + </xsl:attribute> + </xsl:element> + </xsl:if> + + <xsl:variable name="title"> + <xsl:apply-templates select="/*[1]" mode="label.markup"/> + <xsl:apply-templates select="/*[1]" mode="title.markup"/> + </xsl:variable> + + <!-- * see bug report #1465301 - mzjn --> + <axf:document-info name="title"> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </axf:document-info> + + <xsl:if test="//keyword"> + <xsl:element name="axf:document-info"> + <xsl:attribute name="name">keywords</xsl:attribute> + <xsl:attribute name="value"> + <xsl:for-each select="//keyword"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </xsl:element> + </xsl:if> + + <xsl:if test="//subjectterm"> + <xsl:element name="axf:document-info"> + <xsl:attribute name="name">subject</xsl:attribute> + <xsl:attribute name="value"> + <xsl:for-each select="//subjectterm"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </xsl:element> + </xsl:if> + +</xsl:template> + +<!-- These properties are added to fo:simple-page-master --> +<xsl:template name="axf-page-master-properties"> + <xsl:param name="page.master" select="''"/> + + <xsl:if test="$crop.marks != 0"> + <xsl:attribute name="axf:printer-marks">crop</xsl:attribute> + <xsl:attribute name="axf:bleed"><xsl:value-of + select="$crop.mark.bleed"/></xsl:attribute> + <xsl:attribute name="axf:printer-marks-line-width"><xsl:value-of + select="$crop.mark.width"/></xsl:attribute> + <xsl:attribute name="axf:crop-offset"><xsl:value-of + select="$crop.mark.offset"/></xsl:attribute> + </xsl:if> + + <xsl:call-template name="user-axf-page-master-properties"> + <xsl:with-param name="page.master" select="$page.master"/> + </xsl:call-template> + +</xsl:template> + +<xsl:template name="user-axf-page-master-properties"> + <xsl:param name="page.master" select="''"/> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/biblio-iso690.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/biblio-iso690.xsl new file mode 100644 index 0000000000..1bc385838e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/biblio-iso690.xsl @@ -0,0 +1,1300 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: biblio.xsl 6402 2006-11-12 08:23:21Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + The original code for processing bibliography in ISO690 style + was provided by Jana Dvorakova <jana4u@seznam.cz> + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- if biblioentry.alt.primary.seps is set to nonzero value then use alternative separators for primary responsibility - $alt.person.two.sep, $alt.person.last.sep, $alt.person.more.sep --> +<xsl:param name="biblioentry.alt.primary.seps" select="0"/> + +<!-- how many authors will be printed if there is more than three authors - set to number 1 (default value), 2 or 3 --> +<xsl:param name="biblioentry.primary.count" select="1"/> + +<!-- ==================================================================== --> + +<xsl:template name="iso690.makecitation"> +<!-- Types of resources --> + <xsl:choose> + + <!-- SYSTEMS OF ELECTRONIC COMMUNICATION : ENTIRE MESSAGE SYSTEM --> + <!-- same as Monographs --> + <xsl:when test="./@role='messagesystem'"> + <xsl:call-template name="iso690.monogr"/> + </xsl:when> + + <!-- SYSTEMS OF ELECTRONIC COMMUNICATION : ELECTRONIC MESSAGES --> + <!-- same as Contributions to Monographs --> + <xsl:when test="./@role='message'"> + <xsl:call-template name="iso690.paper.mon"/> + </xsl:when> + + <!-- SERIALS --> + <xsl:when test="./@role='serial' or ./biblioid/@class='issn' or ./issn"> + <xsl:call-template name="iso690.serial"/> + </xsl:when> + + <!-- PARTS OF MONOGRAPHS --> + <xsl:when test="./@role='part' or (./bibliomisc[@role='secnum']|./bibliomisc[@role='sectitle'])"> + <xsl:call-template name="iso690.monogr.part"/> + </xsl:when> + + <!-- CONTRIBUTIONS TO MONOGRAPHS --> + <xsl:when test="./@role='contribution' or (./biblioset/@relation='part' and ./biblioset/@relation='book')"> + <xsl:call-template name="iso690.paper.mon"/> + </xsl:when> + + <!-- ARTICLES, ETC., IN SERIALS --> + <xsl:when test="./@role='article' or (./biblioset/@relation='journal' and ./biblioset/@relation='article')"> + <xsl:call-template name="iso690.article"/> + </xsl:when> + + <!-- PATENT DOCUMENTS --> + <xsl:when test="./@role='patent' or (./bibliomisc[@role='patenttype'] and ./bibliomisc[@role='patentnum'])"> + <xsl:call-template name="iso690.patent"/> + </xsl:when> + + <!-- MONOGRAPHS --> + <xsl:otherwise> + <xsl:call-template name="iso690.monogr"/> + </xsl:otherwise> + + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- MONOGRAPHS --> +<xsl:template name="iso690.monogr"> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility --> + <xsl:call-template name="iso690.secondary"/> + <!-- Edition --> + <xsl:call-template name="iso690.edition"/> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Extent --> + <xsl:call-template name="iso690.extent"/> + <!-- Series --> + <xsl:call-template name="iso690.serie"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number --> + <xsl:call-template name="iso690.isbn"/> +</xsl:template> + +<!-- SERIALS --> +<xsl:template name="iso690.serial"> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Responsibility [nonEL] --> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./bibliomisc[@role='issuing']"/> + </xsl:call-template> + <!-- Issue designation (date and/or n°) [nonEL] --> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.issuing"/> + </xsl:if> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Series --> + <xsl:call-template name="iso690.serie"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number --> + <xsl:call-template name="iso690.issn"/> +</xsl:template> + +<!-- PARTS OF MONOGRAPHS --> +<xsl:template name="iso690.monogr.part"> + <!-- Primary responsibility of host document --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium of host document --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility of host document [EL] --> + <xsl:if test="./bibliomisc[@role='medium']"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./volumenum"/> + </xsl:call-template> + <!-- Numeration of the part [nonEL]--> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.partnr"/> + <!-- Subordinate responsibility [nonEL] --> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Location within host --> + <xsl:call-template name="iso690.part.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Numeration within host document [EL] --> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.isbn"/> + </xsl:if> +</xsl:template> + +<!-- CONTRIBUTIONS TO MONOGRAPHS --> +<xsl:template name="iso690.paper.mon"> +<!-- Contribution --> + <xsl:apply-templates mode="iso690.paper.part" select="./biblioset[@relation='part']"/> +<!-- In --> + <xsl:text>In </xsl:text> +<!-- Host --> + <xsl:apply-templates mode="iso690.paper.book" select="./biblioset[@relation='book']"/> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.paper.part"> +<!-- Contribution --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title --> + <xsl:call-template name="iso690.title"> + <xsl:with-param name="italic" select="0"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.paper.book"> +<!-- Host --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility [EL] --> + <xsl:if test="./bibliomisc[@role='medium']"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"/> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.paper.pub"/> + <!-- Numeration within host document [EL] --> + <!-- Location within host --> + <xsl:call-template name="iso690.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.isbn"/> + </xsl:if> +</xsl:template> + +<!-- ARTICLES, ETC., IN SERIALS --> +<xsl:template name="iso690.article"> +<!-- Article --> + <xsl:apply-templates mode="iso690.article.art" select="./biblioset[@relation='article']"/> +<!-- Serial --> + <xsl:apply-templates mode="iso690.article.jour" select="./biblioset[@relation='journal']"/> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.article.art"> +<!-- Article --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title --> + <xsl:call-template name="iso690.title"> + <xsl:with-param name="italic" select="0"/> + </xsl:call-template> + <!-- Subordinate responsibility [nonEL] --> + <xsl:if test="not(../*/bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.article.jour"> +<!-- Serial --> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./pubdate[not(@role='issuing')]|./volumenum|./issuenum|./pagenums"/> + </xsl:call-template> + <!-- Number designation [EL] --> + <!-- Location within host --> + <xsl:call-template name="iso690.article.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.issn"/> + </xsl:if> +</xsl:template> + +<!-- PATENT DOCUMENTS --> +<xsl:template name="iso690.patent"> + <!-- Primary responsibility (applicant) --> + <xsl:call-template name="iso690.primary"/> + <!-- Title of the invention --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility --> + <xsl:call-template name="iso690.secondary"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Identification --> + <xsl:call-template name="iso690.pat.ident"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Elements --> + +<!-- Primary responsibility --> +<xsl:template name="iso690.primary"> + <xsl:param name="primary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./authorgroup/author|./author"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/author|.//author"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./authorgroup/editor|./editor"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/editor|.//editor"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./authorgroup/corpauthor|./corpauthor"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/corpauthor|.//corpauthor"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:if test="(./firstname)and(./surname)"> + <xsl:call-template name="iso690.author"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(./firstname[1])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.author.list"> + <xsl:param name="person.list" + select="author|corpauthor|editor"/> + <xsl:param name="person.count" select="count($person.list)"/> + <xsl:param name="count" select="1"/> + <xsl:param name="group" select="./authorgroup[@role='many']"/> + <xsl:param name="many" select="0"/> + + <xsl:param name="primary.many"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.many'"/></xsl:call-template> + </xsl:param> + <xsl:param name="primary.editor"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.editor'"/></xsl:call-template> + </xsl:param> + <xsl:param name="primary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.sep'"/></xsl:call-template> + </xsl:param> + + <xsl:choose> + <xsl:when test="$count > $person.count"></xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$person.count < 4 and not($group)"> + <xsl:call-template name="iso690.author"> + <xsl:with-param name="node" select="$person.list[position()=$count]"/> + </xsl:call-template> + <xsl:choose> + <xsl:when test="$person.count = 2 and $count = 1 and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.two.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$person.count = 2 and $count = 1"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'sep2'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$person.count > 2 and $count+1 = $person.count and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.last.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$person.count > 2 and $count+1 = $person.count"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'seplast'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$count < $person.count and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.more.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$count < $person.count"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'sep'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="($count = $person.count)"> + <xsl:choose> + <xsl:when test="$many!=0"> + <xsl:if test="name($person.list[position()=$count])='editor'"> + <xsl:value-of select="$primary.editor"/> + </xsl:if> + <xsl:value-of select="$primary.many"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$primary.many"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="name($person.list[position()=$count])='editor'"> + <xsl:value-of select="$primary.editor"/> + <xsl:value-of select="$primary.sep"/> + </xsl:when> + <xsl:when test="name($person.list[position()=$count])='corpauthor'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string($person.list[position()=$count])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string($person.list[position()=$count]//firstname[1])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> + + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list"/> + <xsl:with-param name="person.count" select="$person.count"/> + <xsl:with-param name="count" select="$count+1"/> + <xsl:with-param name="many" select="$many"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:choose> + <xsl:when test="($biblioentry.primary.count>=3) and ($person.count>=3)"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]|$person.list[2]|$person.list[3]"/> + <xsl:with-param name="person.count" select="3"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="($biblioentry.primary.count>1) and ($person.count>1)"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]|$person.list[2]"/> + <xsl:with-param name="person.count" select="2"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]"/> + <xsl:with-param name="person.count" select="1"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.author"> + <xsl:param name="node" select="."/> + <xsl:param name="lastfirst.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'lastfirst.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="name($node)!='corpauthor'"> + <fo:inline text-transform="uppercase"> + <xsl:apply-templates mode="iso690.mode" select="$node//surname[1]"/> + </fo:inline> + <xsl:if test="$node//surname and $node//firstname"> + <xsl:value-of select="$lastfirst.sep"/> + </xsl:if> + <xsl:apply-templates mode="iso690.mode" select="$node//firstname[1]"/> + </xsl:when> + <xsl:otherwise> + <fo:inline text-transform="uppercase"> + <xsl:apply-templates mode="iso690.mode" select="$node"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="corpauthor|firstname|surname" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Title and Type of medium --> +<xsl:template name="iso690.title"> + <xsl:param name="medium" select="./bibliomisc[@role='medium']"/> + <xsl:param name="italic" select="1"/> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'title.sep'"/></xsl:call-template> + </xsl:param> + + <xsl:apply-templates mode="iso690.mode" select="./title"> + <xsl:with-param name="medium" select="$medium"/> + <xsl:with-param name="italic" select="$italic"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="title" mode="iso690.mode"> + <xsl:param name="medium"/> + <xsl:param name="italic" select="1"/> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'title.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="medium1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'medium1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="medium2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'medium2'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="$italic=1"> + <xsl:call-template name="iso690.italic.title"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.make.title"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="$medium"> + <xsl:value-of select="$medium1"/> + <xsl:apply-templates mode="iso690.mode" select="$medium"/> + <xsl:value-of select="$medium2"/> + </xsl:if> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="concat(string(.),string(../subtitle))"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="iso690.italic.title"> + <fo:inline font-style="italic"> + <xsl:call-template name="iso690.make.title"/> + </fo:inline> +</xsl:template> + +<xsl:template name="iso690.make.title"> + <xsl:param name="submaintitle.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'submaintitle.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:if test="../subtitle"> + <xsl:value-of select="$submaintitle.sep"/> + <xsl:apply-templates mode="iso690.mode" select="../subtitle"/> + </xsl:if> +</xsl:template> + +<xsl:template match="subtitle" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<xsl:template match="bibliomisc[@role='medium']" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Subordinate responsibility --> +<xsl:template name="iso690.secondary"> + <xsl:param name="secondary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'secondary.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="secondary.person.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'secondary.person.sep'"/></xsl:call-template> + </xsl:param> + <xsl:for-each select="./bibliomisc[@role='secondary']"> + <xsl:apply-templates mode="iso690.mode" select="."/> + <xsl:choose> + <xsl:when test="position()=count(../bibliomisc[@role='secondary'])"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$secondary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$secondary.person.sep"/> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> +</xsl:template> + +<xsl:template match="bibliomisc[@role='secondary']" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Edition --> +<xsl:template name="iso690.edition"> + <xsl:param name="after"/> + <xsl:param name="edition.serial.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'edition.serial.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="string($after)!=''"> + <xsl:apply-templates mode="iso690.mode" select="./edition"> + <xsl:with-param name="sep" select="$edition.serial.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./edition"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="edition" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'edition.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Issue designation (date and/or n°) --> +<xsl:template name="iso690.issuing"> + <xsl:param name="issuing.div"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.div'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.range"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.range'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum[2] and ./issuenum[2]"> + <xsl:call-template name="iso690.issuedate"/> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[1]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum[1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[2]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum[2]"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum[2]"> + <xsl:call-template name="iso690.issuedate"/> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[2]"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum and ./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing']"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./volumenum"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.issuedate"> + <xsl:param name="issuing.div"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.div'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.range"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.range'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pubdate[@role='issuing'][2]"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing'][1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing'][2]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="pubdate[@role='issuing']" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:variable name="substr" select="substring(string(.),string-length(string(.)))"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.space"> + <xsl:with-param name="text" select="$substr"/> + </xsl:call-template> + <xsl:choose> + <xsl:when test="$substr='-'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="' '"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- Numeration of the part --> +<xsl:template name="iso690.partnr"> + <xsl:param name="partnr.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'partnr.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$partnr.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> +<xsl:template name="iso690.pub"> + <xsl:param name="onlydate" select="0"/> + <xsl:param name="placesep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'placepubl.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="pubsep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'publyear.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="endsep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'pubinfo.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="(./publisher/publishername|./publishername|./publisher/address/city)and($onlydate=0)and(./pubdate[not(@role='issuing')]|./copyright/year|./date[@role='upd']|./date[@role='upd'])"> + <xsl:apply-templates mode="iso690.mode" select="./publisher/address/city"> + <xsl:with-param name="sep" select="$placesep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./publisher/publishername|./publishername"> + <xsl:with-param name="sep" select="$pubsep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]|./copyright/year"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + <xsl:if test="not(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:when test="(./publisher/publishername|./publishername)and(./publisher/address/city)and($onlydate=0)"> + <xsl:apply-templates mode="iso690.mode" select="./publisher/address/city"> + <xsl:with-param name="sep" select="$placesep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./publisher/publishername|./publishername"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="($onlydate=1)or(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]|./copyright/year"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + <xsl:if test="$onlydate=1"> + <xsl:call-template name="iso690.location"> + <xsl:with-param name="onlypages" select="1"/> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:when test="not(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.paper.pub"> + <xsl:param name="spec.pubinfo.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'spec.pubinfo.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./volumnum|./issuenum|./pagenums"> + <xsl:call-template name="iso690.pub"> + <xsl:with-param name="endsep" select="$spec.pubinfo.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.pub"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.data"> + <xsl:param name="sep"/> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./date[@role='upd']"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./date[@role='cit']"/> + <xsl:choose> + <xsl:when test="./date[@role='cit']"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$datecit2"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./date[@role='upd']"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(./date[@role='upd'])"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="publisher/address/city|publishername" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:param name="upd" select="0"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="pubdate|copyright/year" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:param name="upd" select="1"/> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:variable name="substr" select="substring(string(.),string-length(string(.)))"/> + <xsl:if test="name(.)!='pubdate'"> + <xsl:value-of select="'©'"/><!-- copyright --> + </xsl:if> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.space"> + <xsl:with-param name="text" select="$substr"/> + </xsl:call-template> + <xsl:if test="$upd!=0"> + <xsl:choose> + <xsl:when test="name(.)='pubdate'"> + <xsl:apply-templates mode="iso690.mode" select="../date[@role='upd']"/> + <xsl:apply-templates mode="iso690.mode" select="../date[@role='cit']"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="../../date[@role='upd']"/> + <xsl:apply-templates mode="iso690.mode" select="../../date[@role='cit']"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <xsl:choose> + <xsl:when test="../date[@role='cit']|../../date[@role='cit'] and $upd!=0"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$datecit2"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../date[@role='upd']|../../date[@role='upd'] and $upd!=0"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(../date[@role='upd'])"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$substr='-'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="' '"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.space"> + <xsl:param name="text" select="substring(string(.),string-length(string(.)))"/> + <xsl:if test="$text='-'"> + <xsl:value-of select="' '"/> + </xsl:if> +</xsl:template> + +<!-- Date of update/revision --> +<xsl:template match="date[@role='upd']" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'upd.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$sep"/> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Date of citation --> +<xsl:template match="date[@role='cit']" mode="iso690.mode"> + <xsl:param name="datecit1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$datecit1"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$datecit2"/> +</xsl:template> + +<!-- Extent --> +<xsl:template name="iso690.extent"> + <xsl:param name="extent.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'extent.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"> + <xsl:with-param name="sep" select="$extent.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Location within host --> +<xsl:template name="iso690.part.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='sectitle']"/> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + <xsl:when test="./bibliomisc[@role='sectitle']"> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='sectitle']"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.article.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="locs.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="not(./date[@role='upd']|./date[@role='cit'])"> + <xsl:choose> + <xsl:when test="./volumenum|./issuenum|./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:apply-templates> + <xsl:call-template name="iso690.location"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="./volumenum|./issuenum|./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="./pagenums"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:call-template> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./volumenum and not(./issuenum) and not(./pagenums)"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./issuenum and not(./pagenums)"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"/> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="bibliomisc[@role='secnum']|bibliomisc[@role='sectitle']" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="volumenum|issuenum" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="pagenums" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Series --> +<xsl:template name="iso690.serie"> + <xsl:apply-templates mode="iso690.mode" select=".//bibliomisc[@role='serie']"/> +</xsl:template> + +<!-- Notes --> +<xsl:template name="iso690.notice"> + <xsl:apply-templates mode="iso690.mode" select=".//bibliomisc[not(@role)]"/> +</xsl:template> + +<xsl:template match="bibliomisc[not(@role)]|bibliomisc[@role='serie']" mode="iso690.mode"> + <xsl:param name="notice.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'notice.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$notice.sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Avaibility and access --> +<xsl:template name="iso690.access"> + <xsl:for-each select="./biblioid[@class='uri']|./bibliomisc[@role='access']"> + <xsl:choose> + <xsl:when test="position()=1"> + <xsl:apply-templates mode="iso690.mode" select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="."> + <xsl:with-param name="firstacc" select="0"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> +</xsl:template> + +<xsl:template match="biblioid[@class='uri']/ulink|bibliomisc[@role='access']/ulink" mode="iso690.mode"> + <xsl:param name="link1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'link1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="link2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'link2'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$link1"/> + <xsl:call-template name="ulink"/> + <xsl:value-of select="$link2"/> +</xsl:template> + +<xsl:template match="biblioid[@class='uri']|bibliomisc[@role='access']" mode="iso690.mode"> + <xsl:param name="firstacc" select="1"/> + <xsl:param name="access"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access'"/></xsl:call-template> + </xsl:param> + <xsl:param name="acctoo"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'acctoo'"/></xsl:call-template> + </xsl:param> + <xsl:param name="onwww"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'onwww'"/></xsl:call-template> + </xsl:param> + <xsl:param name="oninet"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'oninet'"/></xsl:call-template> + </xsl:param> + <xsl:param name="access.end"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access.end'"/></xsl:call-template> + </xsl:param> + <xsl:param name="access.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="$firstacc=1"> + <xsl:value-of select="$access"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$acctoo"/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="(./ulink)and(string(./ulink)=string(.))"> + <xsl:choose> + <xsl:when test="(starts-with(./ulink/@url,'http://')or(starts-with(./ulink/@url,'https://')))"> + <xsl:value-of select="$onwww"/> + <xsl:value-of select="$access.end"/> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$oninet"/> + <xsl:value-of select="$access.end"/> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="(./ulink)and(string(./ulink)!=string(.))"> + <xsl:value-of select="text()[1]"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="text()[1]"/> + <xsl:with-param name="sep" select="$access.end"/> + </xsl:call-template> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$access.sep"/> +</xsl:template> + +<!-- Standard number - ISBN --> +<xsl:template name="iso690.isbn"> + <xsl:choose> + <xsl:when test="./biblioid/@class='isbn'"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='isbn']"/> + </xsl:when> + <xsl:when test="./isbn"> + <xsl:apply-templates mode="iso690.mode" select="./isbn"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="isbn|biblioid[@class='isbn']" mode="iso690.mode"> + <xsl:param name="isbn"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'isbn'"/></xsl:call-template> + </xsl:param> + <xsl:param name="stdnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'stdnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$isbn"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$stdnum.sep"/> +</xsl:template> + +<!-- Standard number - ISSN --> +<xsl:template name="iso690.issn"> + <xsl:choose> + <xsl:when test="./biblioid/@class='issn'"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='issn']"/> + </xsl:when> + <xsl:when test="./issn"> + <xsl:apply-templates mode="iso690.mode" select="./issn"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="issn|biblioid[@class='issn']" mode="iso690.mode"> + <xsl:param name="issn"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issn'"/></xsl:call-template> + </xsl:param> + <xsl:param name="stdnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'stdnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$issn"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$stdnum.sep"/> +</xsl:template> + +<!-- Identification of patent document --> +<xsl:template name="iso690.pat.ident"> + <xsl:param name="patdate.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patdate.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./address/country"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='patenttype']"/> + <xsl:choose> + <xsl:when test="./biblioid[@class='other' and @otherclass='patentnum']"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='other' and @otherclass='patentnum']"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='patentnum']"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="sep" select="$patdate.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Country or issuing office --> +<xsl:template match="address/country" mode="iso690.mode"> + <xsl:param name="patcountry.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patcountry.sep'"/></xsl:call-template> + </xsl:param> + <fo:inline font-style="italic"> + <xsl:apply-templates mode="iso690.mode"/> + </fo:inline> + <xsl:value-of select="$patcountry.sep"/> +</xsl:template> + +<!-- Kind of patent document --> +<xsl:template match="bibliomisc[@role='patenttype']" mode="iso690.mode"> + <xsl:param name="pattype.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'pattype.sep'"/></xsl:call-template> + </xsl:param> + <fo:inline font-style="italic"> + <xsl:apply-templates mode="iso690.mode"/> + </fo:inline> + <xsl:value-of select="$pattype.sep"/> +</xsl:template> + +<!-- Number --> +<xsl:template match="biblioid[@class='other' and @otherclass='patentnum']|bibliomisc[@role='patentnum']" mode="iso690.mode"> + <xsl:param name="patnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$patnum.sep"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Supplementary templates --> + +<xsl:template name="iso690.endsep"> + <xsl:param name="text"/> + <xsl:param name="sep" select=". "/> + <xsl:choose> + <xsl:when test="substring($text,string-length($text))!=substring($sep,1,1)"> + <xsl:value-of select="$sep"/> + </xsl:when> + <xsl:when test="substring($text,string-length($text))=' '"> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="' '"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="iso690.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/biblio.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/biblio.xsl new file mode 100644 index 0000000000..f022b069ef --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/biblio.xsl @@ -0,0 +1,1176 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: biblio.xsl 9330 2012-05-05 22:48:55Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="bibliography"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not(parent::*) or parent::part or parent::book"> + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}"> + <xsl:call-template name="bibliography.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em"> + <xsl:call-template name="bibliography.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="bibliography/bibliographyinfo"></xsl:template> +<xsl:template match="bibliography/info"></xsl:template> +<xsl:template match="bibliography/title"></xsl:template> +<xsl:template match="bibliography/subtitle"></xsl:template> +<xsl:template match="bibliography/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="bibliodiv"> + <fo:block> + <xsl:attribute name="id"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + <xsl:call-template name="bibliodiv.titlepage"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="bibliodiv/title"/> +<xsl:template match="bibliodiv/subtitle"/> +<xsl:template match="bibliodiv/titleabbrev"/> + +<!-- ==================================================================== --> + +<xsl:template match="bibliolist"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <fo:block id="{$id}" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em"> + + <xsl:if test="blockinfo/title|info/title|title"> + <xsl:call-template name="formal.object.heading"/> + </xsl:if> + + <xsl:apply-templates select="*[not(self::blockinfo) + and not(self::info) + and not(self::title) + and not(self::titleabbrev)]"/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="biblioentry"> + <xsl:param name="label"> + <xsl:call-template name="biblioentry.label"/> + </xsl:param> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="entry" select="$bib/bibliography// + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:apply-templates select="$entry"> + <xsl:with-param name="label" select="$label"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$entry"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing"> + <xsl:text>Error: no bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" xsl:use-attribute-sets="biblioentry.properties"> + <xsl:copy-of select="$label"/> + <xsl:choose> + <xsl:when test="$bibliography.style = 'iso690'"> + <xsl:call-template name="iso690.makecitation"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="bibliography.mode"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="bibliomixed"> + <xsl:param name="label"> + <xsl:call-template name="biblioentry.label"/> + </xsl:param> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="entry" select="$bib/bibliography// + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:apply-templates select="$entry"> + <xsl:with-param name="label" select="$label"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$entry"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing"> + <xsl:text>Error: no bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" xsl:use-attribute-sets="biblioentry.properties"> + <xsl:copy-of select="$label"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="biblioentry.label"> + <xsl:param name="node" select="."/> + + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:text>[</xsl:text> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="local-name($node/child::*[1]) = 'abbrev'"> + <xsl:text>[</xsl:text> + <xsl:apply-templates select="$node/abbrev[1]"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="$node/@xreflabel"> + <xsl:text>[</xsl:text> + <xsl:value-of select="$node/@xreflabel"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="$node/@id or $node/@xml:id"> + <xsl:text>[</xsl:text> + <xsl:value-of select="($node/@id|$node/@xml:id)[1]"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:otherwise><!-- nop --></xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="bibliography.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<xsl:template match="abbrev" mode="bibliography.mode"> + <xsl:if test="preceding-sibling::*"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> + </xsl:if> +</xsl:template> + +<xsl:template match="abstract" mode="bibliography.mode"> + <!-- suppressed --> +</xsl:template> + +<xsl:template match="address" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="affiliation" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="shortaffil" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="jobtitle" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="artheader|articleinfo|article/info" + mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="artpagenums" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="author" mode="bibliography.mode"> + <fo:inline> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates select="orgname" mode="bibliography.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </xsl:otherwise> + </xsl:choose> + </fo:inline> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="authorgroup" mode="bibliography.mode"> + <fo:inline> + <xsl:call-template name="person.name.list"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="authorinitials" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliomisc" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliomset" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="biblioset" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="biblioset/title|biblioset/citetitle" + mode="bibliography.mode"> + <xsl:variable name="relation" select="../@relation"/> + <xsl:choose> + <xsl:when test="$relation='article' or @pubwork='article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <fo:inline font-style="italic"> + <xsl:apply-templates/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$biblioentry.item.separator"/> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="citetitle" mode="bibliography.mode"> + <fo:inline> + <xsl:choose> + <xsl:when test="@pubwork = 'article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <fo:inline font-style="italic"> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="collab" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="confgroup" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contractnum" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contractsponsor" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contrib" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="copyright" mode="bibliography.mode"> + <fo:inline> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="year" mode="bibliography.mode"/> + <xsl:if test="holder"> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="holder" mode="bibliography.mode"/> + </xsl:if> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="year" mode="bibliography.mode"> + <xsl:apply-templates/><xsl:text>, </xsl:text> +</xsl:template> + +<xsl:template match="year[position()=last()]" mode="bibliography.mode"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="holder" mode="bibliography.mode"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="corpauthor" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="corpcredit" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="corpname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="date" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="edition" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="editor" mode="bibliography.mode"> + <fo:inline> + <xsl:call-template name="person.name"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="firstname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="honorific" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="indexterm" mode="bibliography.mode"> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="invpartnumber" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="isbn" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="issn" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="issuenum" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="lineage" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="orgname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="othercredit" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="othername" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pagenums" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="printhistory" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="productname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="productnumber" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pubdate" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="publisher" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="publishername" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pubsnumber" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="releaseinfo" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="revhistory" mode="bibliography.mode"> + <fo:block> + <xsl:apply-templates select="."/> <!-- use normal mode --> + </fo:block> +</xsl:template> + +<xsl:template match="seriesinfo" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="surname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="title" mode="bibliography.mode"> + <fo:inline> + <fo:inline font-style="italic"> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="titleabbrev" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="volumenum" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="orgdiv" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="collabname" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="confdates" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="conftitle" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="confnum" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="confsponsor" mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" + mode="bibliography.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:value-of select="$biblioentry.item.separator"/> + </fo:inline> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="bibliomixed.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<xsl:template match="abbrev" mode="bibliomixed.mode"> + <xsl:if test="preceding-sibling::*"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> + </xsl:if> +</xsl:template> + +<xsl:template match="abstract" mode="bibliomixed.mode"> + <fo:block start-indent="1in"> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="para" mode="bibliomixed.mode"> + <fo:block> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="address" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="affiliation" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="shortaffil" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="jobtitle" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="artpagenums" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="author" mode="bibliomixed.mode"> + <fo:inline> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates select="orgname" mode="bibliomixed.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + </xsl:otherwise> + </xsl:choose> + </fo:inline> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="authorgroup" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="authorinitials" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliomisc" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="bibliomset" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliomset/title|bibliomset/citetitle" + mode="bibliomixed.mode"> + <xsl:variable name="relation" select="../@relation"/> + <xsl:choose> + <xsl:when test="$relation='article' or @pubwork='article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <fo:inline font-style="italic"> + <xsl:apply-templates/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="biblioset" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="citetitle" mode="bibliomixed.mode"> + <xsl:choose> + <xsl:when test="@pubwork = 'article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <fo:inline font-style="italic"> + <xsl:apply-templates mode="bibliography.mode"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="collab" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="confgroup" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contractnum" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contractsponsor" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="contrib" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="copyright" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="corpauthor" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="corpcredit" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="corpname" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="date" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="edition" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="editor" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="firstname" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="honorific" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="indexterm" mode="bibliomixed.mode"> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="invpartnumber" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="isbn" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="issn" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="issuenum" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="lineage" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="orgname" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="othercredit" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="othername" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pagenums" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="printhistory" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="productname" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="productnumber" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pubdate" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="publisher" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="publishername" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="pubsnumber" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="releaseinfo" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="revhistory" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="surname" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="title" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="titleabbrev" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="volumenum" mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" + mode="bibliomixed.mode"> + <fo:inline> + <xsl:apply-templates mode="bibliomixed.mode"/> + </fo:inline> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/block.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/block.xsl new file mode 100644 index 0000000000..4137d22035 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/block.xsl @@ -0,0 +1,672 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: block.xsl 9389 2012-06-02 19:02:39Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="blockinfo|info"> + <!-- suppress --> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="block.object"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="para"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="para.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="simpara"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="normal.para.spacing"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="formalpara"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="normal.para.spacing"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- Only use title from info --> +<xsl:template match="formalpara/info"> + <xsl:apply-templates select="title"/> +</xsl:template> + +<xsl:template match="formalpara/title|formalpara/info/title"> + <xsl:variable name="titleStr"> + <xsl:apply-templates/> + </xsl:variable> + <xsl:variable name="lastChar"> + <xsl:if test="$titleStr != ''"> + <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/> + </xsl:if> + </xsl:variable> + + <fo:inline font-weight="bold" + keep-with-next.within-line="always" + padding-end="1em"> + <xsl:copy-of select="$titleStr"/> + <xsl:if test="$lastChar != '' + and not(contains($runinhead.title.end.punct, $lastChar))"> + <xsl:value-of select="$runinhead.default.title.end.punct"/> + </xsl:if> + <xsl:text> </xsl:text> + </fo:inline> +</xsl:template> + +<xsl:template match="formalpara/para"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="blockquote"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="blockquote.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <fo:block> + <xsl:if test="title|info/title"> + <fo:block xsl:use-attribute-sets="formal.title.properties"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </fo:block> + </xsl:if> + <xsl:apply-templates select="*[local-name(.) != 'title' + and local-name(.) != 'attribution']"/> + </fo:block> + <xsl:if test="attribution"> + <fo:block text-align="right"> + <!-- mdash --> + <xsl:text>—</xsl:text> + <xsl:apply-templates select="attribution"/> + </fo:block> + </xsl:if> + </fo:block> +</xsl:template> + +<!-- Use an em dash per Chicago Manual of Style and https://sourceforge.net/tracker/index.php?func=detail&aid=2793878&group_id=21935&atid=373747 --> +<xsl:template match="epigraph"> + <fo:block> + <xsl:call-template name="anchor"/> + <xsl:apply-templates select="para|simpara|formalpara|literallayout"/> + <xsl:if test="attribution"> + <fo:inline> + <xsl:text>—</xsl:text> + <xsl:apply-templates select="attribution"/> + </fo:inline> + </xsl:if> + </fo:block> +</xsl:template> + +<xsl:template match="attribution"> + <fo:inline><xsl:apply-templates/></fo:inline> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="floater"> + <xsl:param name="position" select="'none'"/> + <xsl:param name="clear" select="'both'"/> + <xsl:param name="width"/> + <xsl:param name="content"/> + <xsl:param name="start.indent">0pt</xsl:param> + <xsl:param name="end.indent">0pt</xsl:param> + + <xsl:choose> + <xsl:when test="not($fop.extensions = 0)"> + <!-- fop 0.20.5 does not support floats --> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:when test="$position = 'none'"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:when test="$position = 'before'"> + <fo:float float="before"> + <xsl:copy-of select="$content"/> + </fo:float> + </xsl:when> + <xsl:when test="$position = 'left' or + $position = 'start' or + $position = 'right' or + $position = 'end' or + $position = 'inside' or + $position = 'outside'"> + <xsl:variable name="float"> + <fo:float float="{$position}" + clear="{$clear}"> + <fo:block-container + start-indent="{$start.indent}" + end-indent="{$end.indent}"> + <xsl:if test="$width != ''"> + <xsl:attribute name="inline-progression-dimension"> + <xsl:value-of select="$width"/> + </xsl:attribute> + </xsl:if> + <fo:block> + <xsl:copy-of select="$content"/> + </fo:block> + </fo:block-container> + </fo:float> + </xsl:variable> + <xsl:choose> + <xsl:when test="$axf.extensions != 0 and self::sidebar"> + <fo:block xsl:use-attribute-sets="normal.para.spacing" + space-after="0pt" + space-after.precedence="force" + start-indent="0pt" end-indent="0pt"> + <xsl:copy-of select="$float"/> + </fo:block> + </xsl:when> + <xsl:when test="$axf.extensions != 0 and + ($position = 'left' or $position = 'start')"> + <fo:float float="{$position}" + clear="{$clear}"> + <fo:block-container + inline-progression-dimension=".001mm" + end-indent="{$start.indent} + {$width} + {$end.indent}"> + <xsl:attribute name="start-indent"> + <xsl:choose> + <xsl:when test="ancestor::para"> + <!-- Special case for handling inline floats + in Antenna House--> + <xsl:value-of select="concat('-', $body.start.indent)"/> + </xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> + </xsl:attribute> + <fo:block start-indent="{$start.indent}" + end-indent="-{$start.indent} - {$width}"> + <xsl:copy-of select="$content"/> + </fo:block> + </fo:block-container> + </fo:float> + + </xsl:when> + <xsl:when test="$axf.extensions != 0 and + ($position = 'right' or $position = 'end')"> + <!-- Special case for handling inline floats in Antenna House--> + <fo:float float="{$position}" + clear="{$clear}"> + <fo:block-container + inline-progression-dimension=".001mm" + end-indent="-{$body.end.indent}" + start-indent="{$start.indent} + {$width} + {$end.indent}"> + <fo:block end-indent="{$end.indent}" + start-indent="-{$end.indent} - {$width}"> + <xsl:copy-of select="$content"/> + </fo:block> + </fo:block-container> + </fo:float> + + </xsl:when> + <xsl:when test="$xep.extensions != 0 and self::sidebar"> + <!-- float needs some space above to line up with following para --> + <fo:block xsl:use-attribute-sets="normal.para.spacing"> + <xsl:copy-of select="$float"/> + </fo:block> + </xsl:when> + <xsl:when test="$xep.extensions != 0"> + <xsl:copy-of select="$float"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$float"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="sidebar" name="sidebar"> + <!-- Also does margin notes --> + <xsl:variable name="pi-type"> + <xsl:call-template name="pi.dbfo_float-type"/> + </xsl:variable> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$pi-type = 'margin.note'"> + <xsl:call-template name="margin.note"/> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="content"> + <fo:block xsl:use-attribute-sets="sidebar.properties" + id="{$id}"> + <xsl:call-template name="sidebar.titlepage"/> + <xsl:apply-templates select="node()[not(self::title) and + not(self::info) and + not(self::sidebarinfo)]"/> + </fo:block> + </xsl:variable> + + <xsl:variable name="pi-width"> + <xsl:call-template name="pi.dbfo_sidebar-width"/> + </xsl:variable> + + <xsl:variable name="position"> + <xsl:choose> + <xsl:when test="$pi-type != ''"> + <xsl:value-of select="$pi-type"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$sidebar.float.type"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="floater"> + <xsl:with-param name="content" select="$content"/> + <xsl:with-param name="position" select="$position"/> + <xsl:with-param name="width"> + <xsl:choose> + <xsl:when test="$pi-width != ''"> + <xsl:value-of select="$pi-width"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$sidebar.float.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="start.indent"> + <xsl:choose> + <xsl:when test="$position = 'start' or + $position = 'left'">0pt</xsl:when> + <xsl:when test="$position = 'end' or + $position = 'right'">0.5em</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="end.indent"> + <xsl:choose> + <xsl:when test="$position = 'start' or + $position = 'left'">0.5em</xsl:when> + <xsl:when test="$position = 'end' or + $position = 'right'">0pt</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<xsl:template match="sidebar/title|sidebarinfo|sidebar/info"/> + +<xsl:template match="sidebar/title|sidebarinfo/title|sidebar/info/title" + mode="titlepage.mode" priority="1"> + <fo:block xsl:use-attribute-sets="sidebar.title.properties"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- Turn off para space-before if sidebar starts with a para, not title --> +<xsl:template match="sidebar/*[1][self::para]"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="para.properties"> + <xsl:attribute name="space-before.maximum">0pt</xsl:attribute> + <xsl:attribute name="space-before.minimum">0pt</xsl:attribute> + <xsl:attribute name="space-before.optimum">0pt</xsl:attribute> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> + +</xsl:template> + +<xsl:template name="margin.note"> + <xsl:param name="content"> + <fo:block xsl:use-attribute-sets="margin.note.properties"> + <xsl:if test="./title"> + <fo:block xsl:use-attribute-sets="margin.note.title.properties"> + <xsl:apply-templates select="./title" mode="margin.note.title.mode"/> + </fo:block> + </xsl:if> + <xsl:apply-templates/> + </fo:block> + </xsl:param> + + <xsl:variable name="pi-width"> + <xsl:call-template name="pi.dbfo_sidebar-width"/> + </xsl:variable> + + <xsl:variable name="position" select="$margin.note.float.type"/> + + <xsl:call-template name="floater"> + <xsl:with-param name="content" select="$content"/> + <xsl:with-param name="position" select="$position"/> + <xsl:with-param name="width" > + <xsl:choose> + <xsl:when test="$pi-width != ''"> + <xsl:value-of select="$pi-width"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$margin.note.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="start.indent"> + <xsl:choose> + <xsl:when test="$position = 'start' or + $position = 'left'">0pt</xsl:when> + <xsl:when test="$position = 'end' or + $position = 'right'">0.5em</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="end.indent"> + <xsl:choose> + <xsl:when test="$position = 'start' or + $position = 'left'">0.5em</xsl:when> + <xsl:when test="$position = 'end' or + $position = 'right'">0pt</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sidebar/title" mode="margin.note.title.mode"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="abstract"> + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + <fo:block xsl:use-attribute-sets="abstract.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="abstract/title|abstract/info/title"> + <fo:block xsl:use-attribute-sets="abstract.title.properties"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="msgset"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgentry"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="simplemsgentry"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msg"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msgmain"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgsub"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgrel"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgtext"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msginfo"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msglevel"> + <fo:block> + <fo:inline font-weight="bold" + keep-with-next.within-line="always"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgLevel'"/> + </xsl:call-template> + </fo:inline> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="msgorig"> + <fo:block> + <fo:inline font-weight="bold" + keep-with-next.within-line="always"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgOrig'"/> + </xsl:call-template> + </fo:inline> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="msgaud"> + <fo:block> + <fo:inline font-weight="bold" + keep-with-next.within-line="always"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgAud'"/> + </xsl:call-template> + </fo:inline> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="msgexplan"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msgexplan/title"> + <fo:block font-weight="bold" + keep-with-next.within-column="always" + hyphenate="false"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> +<!-- For better or worse, revhistory is allowed in content... --> + +<xsl:template match="revhistory"> + <fo:table table-layout="fixed" xsl:use-attribute-sets="revhistory.table.properties"> + <xsl:call-template name="anchor"/> + <fo:table-column column-number="1" column-width="proportional-column-width(1)"/> + <fo:table-column column-number="2" column-width="proportional-column-width(1)"/> + <fo:table-column column-number="3" column-width="proportional-column-width(1)"/> + <fo:table-body start-indent="0pt" end-indent="0pt"> + <fo:table-row> + <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block xsl:use-attribute-sets="revhistory.title.properties"> + <xsl:choose> + <xsl:when test="title|info/title"> + <xsl:apply-templates select="title|info/title" mode="titlepage.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RevHistory'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:apply-templates/> + </fo:table-body> + </fo:table> +</xsl:template> + +<xsl:template match="revhistory/title"> + <!-- Handled in titlepage.mode --> +</xsl:template> + +<xsl:template match="revhistory/revision"> + <xsl:variable name="revnumber" select="revnumber"/> + <xsl:variable name="revdate" select="date"/> + <xsl:variable name="revauthor" select="authorinitials|author"/> + <xsl:variable name="revremark" select="revremark|revdescription"/> + <fo:table-row> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:call-template name="anchor"/> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Revision'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="$revnumber[1]"/> + </xsl:if> + </fo:block> + </fo:table-cell> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:apply-templates select="$revdate[1]"/> + </fo:block> + </fo:table-cell> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:for-each select="$revauthor"> + <xsl:apply-templates select="."/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:if test="$revremark"> + <fo:table-row> + <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:apply-templates select="$revremark[1]"/> + </fo:block> + </fo:table-cell> + </fo:table-row> + </xsl:if> +</xsl:template> + +<xsl:template match="revision/revnumber"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/date"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/authorinitials"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/author"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/revremark"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/revdescription"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="ackno|acknowledgements[parent::article]"> + <fo:block xsl:use-attribute-sets="normal.para.spacing"> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="highlights"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/callout.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/callout.xsl new file mode 100644 index 0000000000..e539b8fca2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/callout.xsl @@ -0,0 +1,314 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" + xmlns:xverb="com.nwalsh.xalan.Verbatim" + xmlns:lxslt="http://xml.apache.org/xslt" + exclude-result-prefixes="sverb xverb lxslt" + version='1.0'> + +<!-- ******************************************************************** + $Id: callout.xsl 9668 2012-11-28 00:47:59Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<lxslt:component prefix="xverb" + functions="insertCallouts"/> + +<xsl:template match="programlistingco|screenco"> + <xsl:variable name="verbatim" select="programlisting|screen"/> + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + + <xsl:choose> + <xsl:when test="$use.extensions != '0' + and $callouts.extension != '0'"> + <xsl:variable name="rtf"> + <xsl:apply-templates select="$verbatim"> + <xsl:with-param name="suppress-numbers" select="'1'"/> + </xsl:apply-templates> + </xsl:variable> + + <xsl:variable name="rtf-with-callouts"> + <xsl:choose> + <xsl:when test="contains($vendor, 'SAXON ')"> + <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/> + </xsl:when> + <xsl:when test="contains($vendor, 'Apache Software Foundation')"> + <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>Don't know how to do callouts with </xsl:text> + <xsl:value-of select="$vendor"/> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$verbatim/@linenumbering = 'numbered' + and $linenumbering.extension != '0'"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf-with-callouts"/> + <xsl:with-param name="pi.context" + select="programlisting|screen"/> + </xsl:call-template> + <xsl:apply-templates select="calloutlist"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$rtf-with-callouts"/> + <xsl:apply-templates select="calloutlist"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="areaspec|areaset|area"> +</xsl:template> + +<xsl:template match="areaset" mode="conumber"> + <xsl:number count="area|areaset" format="1"/> +</xsl:template> + +<xsl:template match="area" mode="conumber"> + <xsl:number count="area|areaset" format="1"/> +</xsl:template> + +<xsl:template match="co"> + <xsl:param name="coref"/> + <!-- link to the callout? --> + <xsl:variable name="linkend"> + <xsl:choose> + <!-- if more than one target, choose the first --> + <xsl:when test="contains(normalize-space(@linkends), ' ')"> + <xsl:value-of select="substring-before(normalize-space(@linkends), ' ')"/> + </xsl:when> + <xsl:when test="string-length(normalize-space(@linkends)) != 0"> + <xsl:value-of select="normalize-space(@linkends)"/> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string-length($linkend) != 0"> + <fo:basic-link internal-destination="{$linkend}"> + <xsl:choose> + <xsl:when test="$coref"> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select="$coref"/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="." mode="callout-bug"/> + </fo:basic-link> + </xsl:when> + <xsl:otherwise> + <fo:inline> + <xsl:choose> + <xsl:when test="$coref"> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select="$coref"/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="." mode="callout-bug"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="coref"> + <!-- this relies on the fact that we can process the "co" that's --> + <!-- "over there" as if it were "right here" --> + + <xsl:variable name="co" select="key('id', @linkend)"/> + <xsl:choose> + <xsl:when test="not($co)"> + <xsl:message> + <xsl:text>Error: coref link is broken: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + </xsl:when> + <xsl:when test="local-name($co) != 'co'"> + <xsl:message> + <xsl:text>Error: coref doesn't point to a co: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <!-- process it as if it were the co itself --> + <xsl:apply-templates select="$co"> + <xsl:with-param name="coref" select="."/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="co" mode="callout-bug"> + <xsl:call-template name="callout-bug"> + <xsl:with-param name="conum"> + <xsl:number count="co" + level="any" + from="programlisting|screen|literallayout|synopsis" + format="1"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template name="callout-bug"> + <xsl:param name="conum" select='1'/> + + <xsl:choose> + <!-- Draw callouts as images --> + <xsl:when test="$callout.graphics != '0' + and $conum <= $callout.graphics.number.limit"> + <xsl:variable name="filename" + select="concat($callout.graphics.path, $conum, + $callout.graphics.extension)"/> + + <fo:external-graphic content-width="{$callout.icon.size}" + width="{$callout.icon.size}"> + <xsl:attribute name="src"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0 + or $arbortext.extensions != 0"> + <xsl:value-of select="$filename"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>url(</xsl:text> + <xsl:value-of select="$filename"/> + <xsl:text>)</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + </fo:external-graphic> + </xsl:when> + + <xsl:when test="$callout.unicode != 0 + and $conum <= $callout.unicode.number.limit"> + <xsl:variable name="comarkup"> + <xsl:choose> + <xsl:when test="$callout.unicode.start.character = 10102"> + <xsl:choose> + <xsl:when test="$conum = 1">❶</xsl:when> + <xsl:when test="$conum = 2">❷</xsl:when> + <xsl:when test="$conum = 3">❸</xsl:when> + <xsl:when test="$conum = 4">❹</xsl:when> + <xsl:when test="$conum = 5">❺</xsl:when> + <xsl:when test="$conum = 6">❻</xsl:when> + <xsl:when test="$conum = 7">❼</xsl:when> + <xsl:when test="$conum = 8">❽</xsl:when> + <xsl:when test="$conum = 9">❾</xsl:when> + <xsl:when test="$conum = 10">❿</xsl:when> + <xsl:when test="$conum = 11">⓫</xsl:when> + <xsl:when test="$conum = 12">⓬</xsl:when> + <xsl:when test="$conum = 13">⓭</xsl:when> + <xsl:when test="$conum = 14">⓮</xsl:when> + <xsl:when test="$conum = 15">⓯</xsl:when> + <xsl:when test="$conum = 16">⓰</xsl:when> + <xsl:when test="$conum = 17">⓱</xsl:when> + <xsl:when test="$conum = 18">⓲</xsl:when> + <xsl:when test="$conum = 19">⓳</xsl:when> + <xsl:when test="$conum = 20">⓴</xsl:when> + </xsl:choose> + </xsl:when> + <xsl:when test="$callout.unicode.start.character = 9312"> + <xsl:choose> + <xsl:when test="$conum = 1">①</xsl:when> + <xsl:when test="$conum = 2">②</xsl:when> + <xsl:when test="$conum = 3">③</xsl:when> + <xsl:when test="$conum = 4">④</xsl:when> + <xsl:when test="$conum = 5">⑤</xsl:when> + <xsl:when test="$conum = 6">⑥</xsl:when> + <xsl:when test="$conum = 7">⑦</xsl:when> + <xsl:when test="$conum = 8">⑧</xsl:when> + <xsl:when test="$conum = 9">⑨</xsl:when> + <xsl:when test="$conum = 10">⑩</xsl:when> + <xsl:when test="$conum = 11">⑪</xsl:when> + <xsl:when test="$conum = 12">⑫</xsl:when> + <xsl:when test="$conum = 13">⑬</xsl:when> + <xsl:when test="$conum = 14">⑭</xsl:when> + <xsl:when test="$conum = 15">⑮</xsl:when> + <xsl:when test="$conum = 16">⑯</xsl:when> + <xsl:when test="$conum = 17">⑰</xsl:when> + <xsl:when test="$conum = 18">⑱</xsl:when> + <xsl:when test="$conum = 19">⑲</xsl:when> + <xsl:when test="$conum = 20">⑳</xsl:when> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Don't know how to generate Unicode callouts </xsl:text> + <xsl:text>when $callout.unicode.start.character is </xsl:text> + <xsl:value-of select="$callout.unicode.start.character"/> + </xsl:message> + <fo:inline background-color="#404040" + color="white" + padding-top="0.1em" + padding-bottom="0.1em" + padding-start="0.2em" + padding-end="0.2em" + baseline-shift="0.1em" + font-family="{$body.fontset}" + font-weight="bold" + font-size="75%"> + <xsl:value-of select="$conum"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$callout.unicode.font != ''"> + <fo:inline font-family="{$callout.unicode.font}"> + <xsl:copy-of select="$comarkup"/> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$comarkup"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <!-- Most safe: draw a dark gray square with a white number inside --> + <xsl:otherwise> + <fo:inline background-color="#404040" + color="white" + padding-top="0.1em" + padding-bottom="0.1em" + padding-start="0.2em" + padding-end="0.2em" + baseline-shift="0.1em" + font-family="{$body.fontset}" + font-weight="bold" + font-size="75%"> + <xsl:value-of select="$conum"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/component.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/component.xsl new file mode 100644 index 0000000000..cc11b8e704 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/component.xsl @@ -0,0 +1,938 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + version='1.0'> + +<!-- ******************************************************************** + $Id: component.xsl 9647 2012-10-26 17:42:03Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + + +<xsl:template name="component.title"> + <xsl:param name="node" select="."/> + <xsl:param name="pagewide" select="0"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$node"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="title"> + <xsl:apply-templates select="$node" mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </xsl:variable> + + <xsl:variable name="titleabbrev"> + <xsl:apply-templates select="$node" mode="titleabbrev.markup"/> + </xsl:variable> + + <xsl:variable name="level"> + <xsl:choose> + <xsl:when test="ancestor::section"> + <xsl:value-of select="count(ancestor::section)+1"/> + </xsl:when> + <xsl:when test="ancestor::sect5">6</xsl:when> + <xsl:when test="ancestor::sect4">5</xsl:when> + <xsl:when test="ancestor::sect3">4</xsl:when> + <xsl:when test="ancestor::sect2">3</xsl:when> + <xsl:when test="ancestor::sect1">2</xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <fo:block xsl:use-attribute-sets="component.title.properties"> + <xsl:if test="$pagewide != 0"> + <!-- Doesn't work to use 'all' here since not a child of fo:flow --> + <xsl:attribute name="span">inherit</xsl:attribute> + </xsl:if> + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level"> + <xsl:value-of select="count($node/ancestor::*)"/> + </xsl:attribute> + <xsl:attribute name="axf:outline-expand">false</xsl:attribute> + <xsl:attribute name="axf:outline-title"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </xsl:if> + + <!-- Let's handle the case where a component (bibliography, for example) + occurs inside a section; will we need parameters for this? + Danger Will Robinson: using section.title.level*.properties here + runs the risk that someone will set something other than + font-size there... --> + <xsl:choose> + <xsl:when test="$level=2"> + <fo:block xsl:use-attribute-sets="section.title.level2.properties"> + <xsl:copy-of select="$title"/> + </fo:block> + </xsl:when> + <xsl:when test="$level=3"> + <fo:block xsl:use-attribute-sets="section.title.level3.properties"> + <xsl:copy-of select="$title"/> + </fo:block> + </xsl:when> + <xsl:when test="$level=4"> + <fo:block xsl:use-attribute-sets="section.title.level4.properties"> + <xsl:copy-of select="$title"/> + </fo:block> + </xsl:when> + <xsl:when test="$level=5"> + <fo:block xsl:use-attribute-sets="section.title.level5.properties"> + <xsl:copy-of select="$title"/> + </fo:block> + </xsl:when> + <xsl:when test="$level=6"> + <fo:block xsl:use-attribute-sets="section.title.level6.properties"> + <xsl:copy-of select="$title"/> + </fo:block> + </xsl:when> + <xsl:otherwise> + <!-- not in a section: do nothing special --> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="dedication" mode="dedication"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="dedication.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" --> +<xsl:template match="dedication/docinfo"></xsl:template> +<xsl:template match="dedication/title"></xsl:template> +<xsl:template match="dedication/subtitle"></xsl:template> +<xsl:template match="dedication/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="acknowledgements" mode="acknowledgements"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="acknowledgements.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="acknowledgements"></xsl:template> +<xsl:template match="acknowledgements/info"></xsl:template> +<xsl:template match="acknowledgements/title"></xsl:template> +<xsl:template match="acknowledgements/titleabbrev"></xsl:template> +<xsl:template match="acknowledgements/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="colophon"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="colophon.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="colophon/title"></xsl:template> +<xsl:template match="colophon/subtitle"></xsl:template> +<xsl:template match="colophon/titleabbrev"></xsl:template> + +<!-- article/colophon has no page sequence --> +<xsl:template match="article/colophon"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <fo:block id="{$id}"> + <fo:block xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="colophon.titlepage"/> + </fo:block> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="preface"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="preface.titlepage"/> + </fo:block> + + <xsl:call-template name="make.component.tocs"/> + + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template> +<xsl:template match="preface/info"></xsl:template> +<xsl:template match="preface/title"></xsl:template> +<xsl:template match="preface/titleabbrev"></xsl:template> +<xsl:template match="preface/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="chapter"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="chapter.titlepage"/> + </fo:block> + + <xsl:call-template name="make.component.tocs"/> + + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template> +<xsl:template match="chapter/info"></xsl:template> +<xsl:template match="chapter/title"></xsl:template> +<xsl:template match="chapter/titleabbrev"></xsl:template> +<xsl:template match="chapter/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="appendix"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="appendix.titlepage"/> + </fo:block> + + <xsl:call-template name="make.component.tocs"/> + + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template> +<xsl:template match="appendix/info"></xsl:template> +<xsl:template match="appendix/title"></xsl:template> +<xsl:template match="appendix/titleabbrev"></xsl:template> +<xsl:template match="appendix/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="article"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}" + xsl:use-attribute-sets="component.titlepage.properties"> + <xsl:call-template name="article.titlepage"/> + </fo:block> + + <xsl:call-template name="make.component.tocs"/> + + <xsl:apply-templates/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="article/artheader"></xsl:template> +<xsl:template match="article/articleinfo"></xsl:template> +<xsl:template match="article/info"></xsl:template> +<xsl:template match="article/title"></xsl:template> +<xsl:template match="article/subtitle"></xsl:template> +<xsl:template match="article/titleabbrev"></xsl:template> + +<xsl:template match="article/appendix"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:variable> + + <xsl:variable name="titleabbrev"> + <xsl:apply-templates select="." mode="titleabbrev.markup"/> + </xsl:variable> + + <fo:block id='{$id}'> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level"> + <xsl:value-of select="count(ancestor::*)+2"/> + </xsl:attribute> + <xsl:attribute name="axf:outline-expand">false</xsl:attribute> + <xsl:attribute name="axf:outline-title"> + <xsl:value-of select="normalize-space($titleabbrev)"/> + </xsl:attribute> + </xsl:if> + + <fo:block xsl:use-attribute-sets="article.appendix.title.properties"> + <fo:marker marker-class-name="section.head.marker"> + <xsl:choose> + <xsl:when test="$titleabbrev = ''"> + <xsl:value-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$titleabbrev"/> + </xsl:otherwise> + </xsl:choose> + </fo:marker> + <xsl:copy-of select="$title"/> + </fo:block> + + <xsl:call-template name="make.component.tocs"/> + + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- Utility template to create a page sequence for an element --> +<xsl:template match="*" mode="page.sequence" name="page.sequence"> + <xsl:param name="content"> + <xsl:apply-templates/> + </xsl:param> + <xsl:param name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:param> + <xsl:param name="element" select="local-name(.)"/> + <xsl:param name="gentext-key" select="local-name(.)"/> + <xsl:param name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:param> + + <xsl:param name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="element" select="$element"/> + </xsl:call-template> + </xsl:param> + + <xsl:param name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="element" select="$element"/> + </xsl:call-template> + </xsl:param> + + <xsl:param name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="element" select="$element"/> + </xsl:call-template> + </xsl:param> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$master-reference}"> + <xsl:attribute name="language"> + <xsl:value-of select="$language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:value-of select="$format"/> + </xsl:attribute> + + <xsl:attribute name="initial-page-number"> + <xsl:value-of select="$initial-page-number"/> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:value-of select="$force-page-count"/> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="gentext-key" select="$gentext-key"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="gentext-key" select="$gentext-key"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" select="$master-reference"/> + </xsl:call-template> + + <xsl:copy-of select="$content"/> + + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template name="make.component.tocs"> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'figure') and .//figure"> + <xsl:call-template name="component.list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'table') and .//table"> + <xsl:call-template name="component.list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'example') and .//example"> + <xsl:call-template name="component.list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'equation') and + .//equation[title or info/title]"> + <xsl:call-template name="component.list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" + select=".//equation[title or info/title]"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'procedure') and + .//procedure[title or info/title]"> + <xsl:call-template name="component.list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" + select=".//procedure[title or info/title]"/> + </xsl:call-template> + </xsl:if> + + <xsl:choose> + <xsl:when test="$toc.params = ''"> + </xsl:when> + <xsl:when test="$toc.params = 'nop'"> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="component.toc.separator"/> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<xsl:template match="topic"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:element name="fo:{$section.container.element}"> + <xsl:attribute name="id"><xsl:value-of + select="$id"/></xsl:attribute> + <xsl:call-template name="topic.titlepage"/> + + <xsl:apply-templates/> + + </xsl:element> +</xsl:template> + +<xsl:template match="/topic | book/topic" name="topic.page.sequence"> + <xsl:variable name="master-reference"> + <xsl:call-template name="select.pagemaster"/> + </xsl:variable> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:apply-templates select="." mode="page.sequence"> + <xsl:with-param name="master-reference" select="$master-reference"/> + <xsl:with-param name="content"> + <xsl:element name="fo:{$section.container.element}"> + <xsl:attribute name="id"><xsl:value-of + select="$id"/></xsl:attribute> + <xsl:call-template name="topic.titlepage"/> + + <xsl:apply-templates/> + + </xsl:element> + </xsl:with-param> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="topic/info"></xsl:template> +<xsl:template match="topic/title"></xsl:template> +<xsl:template match="topic/subtitle"></xsl:template> +<xsl:template match="topic/titleabbrev"></xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/division.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/division.xsl new file mode 100644 index 0000000000..16a13d884c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/division.xsl @@ -0,0 +1,606 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" + version='1.0'> + +<!-- ******************************************************************** + $Id: division.xsl 9730 2013-03-15 15:26:25Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template name="division.title"> + <xsl:param name="node" select="."/> + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$node"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="title"> + <xsl:apply-templates select="$node" mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </xsl:variable> + + <fo:block keep-with-next.within-column="always" + hyphenate="false"> + <xsl:if test="$axf.extensions != 0"> + <xsl:attribute name="axf:outline-level"> + <xsl:choose> + <xsl:when test="count($node/ancestor::*) > 0"> + <xsl:value-of select="count($node/ancestor::*)"/> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:attribute> + <xsl:attribute name="axf:outline-expand">false</xsl:attribute> + <xsl:attribute name="axf:outline-title"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </xsl:if> + <xsl:copy-of select="$title"/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="set"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="preamble" + select="*[not(self::book or self::set or self::setindex)]"/> + + <xsl:variable name="content" select="book|set|setindex"/> + + <xsl:variable name="titlepage-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'titlepage'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="lot-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'lot'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$preamble"> + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$titlepage-master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}"> + <xsl:call-template name="set.titlepage"/> + </fo:block> + </fo:flow> + </fo:page-sequence> + </xsl:if> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="contains($toc.params, 'toc')"> + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$lot-master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$lot-master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$lot-master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + + <xsl:call-template name="set.toc"/> + </fo:flow> + </fo:page-sequence> + </xsl:if> + + <xsl:apply-templates select="$content"/> +</xsl:template> + +<xsl:template match="set/setinfo"></xsl:template> +<xsl:template match="set/title"></xsl:template> +<xsl:template match="set/subtitle"></xsl:template> +<xsl:template match="set/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="book"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="preamble" + select="title|subtitle|titleabbrev|bookinfo|info"/> + + <xsl:variable name="content" + select="node()[not(self::title or self::subtitle + or self::titleabbrev + or self::info + or self::bookinfo)]"/> + + <xsl:variable name="titlepage-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'titlepage'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="front.cover"/> + + <xsl:if test="$preamble"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + <xsl:with-param name="content"> + <fo:block id="{$id}"> + <xsl:call-template name="book.titlepage"/> + </fo:block> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:apply-templates select="dedication" mode="dedication"/> + <xsl:apply-templates select="acknowledgements" mode="acknowledgements"/> + + <xsl:call-template name="make.book.tocs"/> + + <xsl:apply-templates select="$content"/> + + <xsl:call-template name="back.cover"/> + +</xsl:template> + +<xsl:template match="book/bookinfo"></xsl:template> +<xsl:template match="book/info"></xsl:template> +<xsl:template match="book/title"></xsl:template> +<xsl:template match="book/subtitle"></xsl:template> +<xsl:template match="book/titleabbrev"></xsl:template> + +<!-- Placeholder templates --> +<xsl:template name="front.cover"/> +<xsl:template name="back.cover"/> + +<!-- ================================================================= --> +<xsl:template name="make.book.tocs"> + + <xsl:variable name="lot-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'lot'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'TableofContents'"/> + <xsl:with-param name="content"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'figure') and .//figure"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'ListofFigures'"/> + <xsl:with-param name="content"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'table') and .//table"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'ListofTables'"/> + <xsl:with-param name="content"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'example') and .//example"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'ListofExample'"/> + <xsl:with-param name="content"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'equation') and + .//equation[title or info/title]"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'ListofEquations'"/> + <xsl:with-param name="content"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" + select=".//equation[title or info/title]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params,'procedure') and + .//procedure[title or info/title]"> + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'ListofProcedures'"/> + <xsl:with-param name="content"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" + select=".//procedure[title or info/title]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:if> +</xsl:template> +<!-- ==================================================================== --> + +<xsl:template match="part"> + <xsl:if test="not(partintro)"> + <xsl:apply-templates select="." mode="part.titlepage.mode"/> + <xsl:call-template name="generate.part.toc"/> + </xsl:if> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="part" mode="part.titlepage.mode"> + <!-- done this way to force the context node to be the part --> + <xsl:param name="additional.content"/> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="titlepage-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'titlepage'"/> + </xsl:call-template> + </xsl:variable> + + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$titlepage-master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="." mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="." mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$titlepage-master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" + select="$titlepage-master-reference"/> + </xsl:call-template> + + <fo:block id="{$id}"> + <xsl:call-template name="part.titlepage"/> + </fo:block> + <xsl:copy-of select="$additional.content"/> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="part/docinfo|partinfo"></xsl:template> +<xsl:template match="part/info"></xsl:template> +<xsl:template match="part/title"></xsl:template> +<xsl:template match="part/subtitle"></xsl:template> +<xsl:template match="part/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="generate.part.toc"> + <xsl:param name="part" select="."/> + + <xsl:variable name="lot-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'lot'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="$part"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="nodes" select="$part/reference| + $part/preface| + $part/chapter| + $part/appendix| + $part/article| + $part/bibliography| + $part/glossary| + $part/index"/> + + <xsl:if test="count($nodes) > 0 and contains($toc.params, 'toc')"> + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="{$lot-master-reference}"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + <xsl:attribute name="format"> + <xsl:call-template name="page.number.format"> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="initial-page-number"> + <xsl:call-template name="initial.page.number"> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="force-page-count"> + <xsl:call-template name="force.page.count"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:attribute name="hyphenation-character"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-character'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-push-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-push-character-count'"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="hyphenation-remain-character-count"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:apply-templates select="$part" mode="running.head.mode"> + <xsl:with-param name="master-reference" select="$lot-master-reference"/> + </xsl:apply-templates> + + <xsl:apply-templates select="$part" mode="running.foot.mode"> + <xsl:with-param name="master-reference" select="$lot-master-reference"/> + </xsl:apply-templates> + + <fo:flow flow-name="xsl-region-body"> + <xsl:call-template name="set.flow.properties"> + <xsl:with-param name="element" select="local-name(.)"/> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + </xsl:call-template> + + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc-context" select="$part"/> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + + </fo:flow> + </fo:page-sequence> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="part/partintro"> + <xsl:apply-templates select=".." mode="part.titlepage.mode"> + <xsl:with-param name="additional.content"> + <xsl:if test="title"> + <xsl:call-template name="partintro.titlepage"/> + </xsl:if> + <xsl:apply-templates/> + </xsl:with-param> + </xsl:apply-templates> + + <xsl:call-template name="generate.part.toc"> + <xsl:with-param name="part" select=".."/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="partintro/title"></xsl:template> +<xsl:template match="partintro/subtitle"></xsl:template> +<xsl:template match="partintro/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="book" mode="division.number"> + <xsl:number from="set" count="book" format="1."/> +</xsl:template> + +<xsl:template match="part" mode="division.number"> + <xsl:number from="book" count="part" format="I."/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/docbook.xsl new file mode 100644 index 0000000000..aa5892e5ba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/docbook.xsl @@ -0,0 +1,343 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + exclude-result-prefixes="db ng exsl" + version='1.0'> + +<!-- It is important to use indent="no" here, otherwise verbatim --> +<!-- environments get broken by indented tags...at least when the --> +<!-- callout extension is used...at least with some processors --> +<xsl:output method="xml" indent="no"/> + +<!-- ******************************************************************** + $Id: docbook.xsl 9647 2012-10-26 17:42:03Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:include href="../VERSION.xsl"/> +<xsl:include href="param.xsl"/> +<xsl:include href="../lib/lib.xsl"/> +<xsl:include href="../common/l10n.xsl"/> +<xsl:include href="../common/common.xsl"/> +<xsl:include href="../common/utility.xsl"/> +<xsl:include href="../common/labels.xsl"/> +<xsl:include href="../common/titles.xsl"/> +<xsl:include href="../common/subtitles.xsl"/> +<xsl:include href="../common/gentext.xsl"/> +<xsl:include href="../common/olink.xsl"/> +<xsl:include href="../common/targets.xsl"/> +<xsl:include href="../common/pi.xsl"/> +<xsl:include href="autotoc.xsl"/> +<xsl:include href="autoidx.xsl"/> +<xsl:include href="lists.xsl"/> +<xsl:include href="callout.xsl"/> +<xsl:include href="verbatim.xsl"/> +<xsl:include href="graphics.xsl"/> +<xsl:include href="xref.xsl"/> +<xsl:include href="formal.xsl"/> +<xsl:include href="table.xsl"/> +<xsl:include href="htmltbl.xsl"/> +<xsl:include href="sections.xsl"/> +<xsl:include href="inline.xsl"/> +<xsl:include href="footnote.xsl"/> +<xsl:include href="fo.xsl"/> +<xsl:include href="fo-rtf.xsl"/> +<xsl:include href="info.xsl"/> +<xsl:include href="keywords.xsl"/> +<xsl:include href="division.xsl"/> +<xsl:include href="index.xsl"/> +<xsl:include href="toc.xsl"/> +<xsl:include href="refentry.xsl"/> +<xsl:include href="math.xsl"/> +<xsl:include href="admon.xsl"/> +<xsl:include href="component.xsl"/> +<xsl:include href="biblio.xsl"/> +<xsl:include href="biblio-iso690.xsl"/> +<xsl:include href="glossary.xsl"/> +<xsl:include href="block.xsl"/> +<xsl:include href="task.xsl"/> +<xsl:include href="qandaset.xsl"/> +<xsl:include href="synop.xsl"/> +<xsl:include href="titlepage.xsl"/> +<xsl:include href="titlepage.templates.xsl"/> +<xsl:include href="pagesetup.xsl"/> +<xsl:include href="pi.xsl"/> +<xsl:include href="spaces.xsl"/> +<xsl:include href="ebnf.xsl"/> +<xsl:include href="../html/chunker.xsl"/> +<xsl:include href="annotations.xsl"/> +<xsl:include href="../common/stripns.xsl"/> + +<xsl:include href="fop.xsl"/> +<xsl:include href="fop1.xsl"/> +<xsl:include href="xep.xsl"/> +<xsl:include href="axf.xsl"/> +<xsl:include href="ptc.xsl"/> + +<xsl:param name="stylesheet.result.type" select="'fo'"/> + +<!-- ==================================================================== --> + +<xsl:key name="id" match="*" use="@id|@xml:id"/> + +<!-- ==================================================================== --> + +<xsl:template match="*"> + <xsl:message> + <xsl:text>Element </xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> in namespace '</xsl:text> + <xsl:value-of select="namespace-uri(.)"/> + <xsl:text>' encountered</xsl:text> + <xsl:if test="parent::*"> + <xsl:text> in </xsl:text> + <xsl:value-of select="name(parent::*)"/> + </xsl:if> + <xsl:text>, but no template matches.</xsl:text> + </xsl:message> + + <fo:block color="red"> + <xsl:text><</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + <xsl:apply-templates/> + <xsl:text></</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + </fo:block> +</xsl:template> + +<!-- Update this list if new root elements supported --> +<xsl:variable name="root.elements" select="' appendix article bibliography book chapter colophon dedication glossary index part preface qandaset refentry reference sect1 section set setindex '"/> + +<xsl:template match="/"> + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>stripped namespace before processing</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:variable name="nons"> + <xsl:apply-templates mode="stripNS"/> + </xsl:variable> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>processing stripped document</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates select="exsl:node-set($nons)"/> + </xsl:when> + <!-- Can't process unless namespace removed --> + <xsl:when test="*/self::ng:* or */self::db:*"> + <xsl:message terminate="yes"> + <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text> + <xsl:text> cannot proceed.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:variable name="root.element" select="key('id', $rootid)"/> + <xsl:choose> + <xsl:when test="count($root.element) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:when test="not(contains($root.elements, concat(' ', local-name($root.element), ' ')))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: Document root element ($rootid=</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>) for FO output </xsl:text> + <xsl:text>must be one of the following elements:</xsl:text> + <xsl:value-of select="$root.elements"/> + </xsl:message> + </xsl:when> + <!-- Otherwise proceed --> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="$root.element" + mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="$root.element" + mode="process.root"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- Otherwise process the document root element --> + <xsl:otherwise> + <xsl:variable name="document.element" select="*[1]"/> + <xsl:choose> + <xsl:when test="not(contains($root.elements, + concat(' ', local-name($document.element), ' ')))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: Document root element for FO output </xsl:text> + <xsl:text>must be one of the following elements:</xsl:text> + <xsl:value-of select="$root.elements"/> + </xsl:message> + </xsl:when> + <!-- Otherwise proceed --> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="/" + mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="/" + mode="process.root"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="process.root"> + <xsl:variable name="document.element" select="self::*"/> + + <xsl:call-template name="root.messages"/> + + <xsl:variable name="title"> + <xsl:choose> + <xsl:when test="$document.element/title[1]"> + <xsl:value-of select="$document.element/title[1]"/> + </xsl:when> + <xsl:otherwise>[could not find document title]</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <!-- Include all id values in XEP output --> + <xsl:if test="$xep.extensions != 0"> + <xsl:processing-instruction + name="xep-pdf-drop-unused-destinations">false</xsl:processing-instruction> + </xsl:if> + + <fo:root xsl:use-attribute-sets="root.properties"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"/> + </xsl:call-template> + </xsl:attribute> + + <xsl:if test="$xep.extensions != 0"> + <xsl:call-template name="xep-pis"/> + <xsl:call-template name="xep-document-information"/> + </xsl:if> + <xsl:if test="$axf.extensions != 0"> + <xsl:call-template name="axf-document-information"/> + </xsl:if> + + <xsl:call-template name="setup.pagemasters"/> + + <xsl:if test="$fop.extensions != 0"> + <xsl:apply-templates select="$document.element" mode="fop.outline"/> + </xsl:if> + + <xsl:if test="$fop1.extensions != 0"> + <xsl:call-template name="fop1-document-information"/> + <xsl:variable name="bookmarks"> + <xsl:apply-templates select="$document.element" + mode="fop1.outline"/> + </xsl:variable> + <xsl:if test="string($bookmarks) != ''"> + <fo:bookmark-tree> + <xsl:copy-of select="$bookmarks"/> + </fo:bookmark-tree> + </xsl:if> + <xsl:apply-templates select="$document.element" + mode="fop1.foxdest"/> + </xsl:if> + + <xsl:if test="$xep.extensions != 0"> + <xsl:variable name="bookmarks"> + <xsl:apply-templates select="$document.element" mode="xep.outline"/> + </xsl:variable> + <xsl:if test="string($bookmarks) != ''"> + <rx:outline xmlns:rx="http://www.renderx.com/XSL/Extensions"> + <xsl:copy-of select="$bookmarks"/> + </rx:outline> + </xsl:if> + </xsl:if> + + <xsl:if test="$arbortext.extensions != 0 and $ati.xsl11.bookmarks != 0"> + <xsl:variable name="bookmarks"> + <xsl:apply-templates select="$document.element" + mode="ati.xsl11.bookmarks"/> + </xsl:variable> + <xsl:if test="string($bookmarks) != ''"> + <fo:bookmark-tree> + <xsl:copy-of select="$bookmarks"/> + </fo:bookmark-tree> + </xsl:if> + </xsl:if> + + <xsl:apply-templates select="$document.element"/> + </fo:root> +</xsl:template> + +<xsl:template name="root.messages"> + <!-- redefine this any way you'd like to output messages --> + <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE --> + <xsl:message> + <xsl:text>Making </xsl:text> + <xsl:value-of select="$page.orientation"/> + <xsl:text> pages on </xsl:text> + <xsl:value-of select="$paper.type"/> + <xsl:text> paper (</xsl:text> + <xsl:value-of select="$page.width"/> + <xsl:text>x</xsl:text> + <xsl:value-of select="$page.height"/> + <xsl:text>)</xsl:text> + </xsl:message> +</xsl:template> + +<xsl:template match="screen"> + <fo:block font-size="9pt" font-family="monospace" + white-space-treatment="preserve" + linefeed-treatment="preserve" + margin-top="0.5em"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/ebnf.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/ebnf.xsl new file mode 100644 index 0000000000..27847aaef4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/ebnf.xsl @@ -0,0 +1,325 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc" + version='1.0'> + +<!-- ******************************************************************** + $Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<doc:reference xmlns=""> +<referenceinfo> +<releaseinfo role="meta"> +$Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ +</releaseinfo> +<author><surname>Walsh</surname> +<firstname>Norman</firstname></author> +<copyright><year>1999</year><year>2000</year><year>2001</year> +<holder>Norman Walsh</holder> +</copyright> +</referenceinfo> +<title>HTML EBNF Reference + + +
    Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This reference describes the templates and parameters relevant +to formatting EBNF markup. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + Error: no ID for productionrecap linkend: + + . + + + + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + production + + + + + + + + + Non-terminals with no content must point to + production elements in the current document. + + + Invalid xpointer for empty nt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + /*  + +  */ + + + + + + + + + + constraintdef + + + + + + + + + + + + + + + + + + + : + + + + + + + : + + + + + + + + + +  ] + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/fo-rtf.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/fo-rtf.xsl new file mode 100644 index 0000000000..4aa0f32c07 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/fo-rtf.xsl @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/fo.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/fo.xsl new file mode 100644 index 0000000000..d3f2285714 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/fo.xsl @@ -0,0 +1,117 @@ + + + + + + + + + + + left + left + left + right + top + left + + + + + + right + right + right + left + bottom + right + + + + + + + WARNING: FOP does not support right-to-left writing-mode + lr-tb + + + WARNING: FOP does not support right-to-left writing-mode + lr-tb + + lr-tb + rl-tb + tb-rl + lr-tb + + + + + + + + + + + + + + + + + + + bullet + + + o + © + + + ® + (SM) + " + " + ' + ' + + - + o + + + + + + + + + + + + + + + + + + + # + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/footnote.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/footnote.xsl new file mode 100644 index 0000000000..cc0242d646 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/footnote.xsl @@ -0,0 +1,220 @@ + + + + + + + + + + + super + + + super + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. +Typically this happens when an id attribute is accidentally applied to the child of a footnote element. +target element: +linkend/id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: footnote number may not be generated + correctly; + + unexpected as first child of footnote. + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/fop.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/fop.xsl new file mode 100644 index 0000000000..c82a48df36 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/fop.xsl @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/fop1.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/fop1.xsl new file mode 100644 index 0000000000..d544723104 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/fop1.xsl @@ -0,0 +1,228 @@ + + + + + + + + + + hide + show + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + , + + + + + + + + + + + DocBook XSL Stylesheets with Apache FOP + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/formal.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/formal.xsl new file mode 100644 index 0000000000..bb40aa90b5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/formal.xsl @@ -0,0 +1,642 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + always + + + always + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Broken table: tr descendent of CALS Table. + The text in the first tr is: + + + + + + Broken table: row descendent of HTML table. + The text in the first row is: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/glossary.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/glossary.xsl new file mode 100644 index 0000000000..366b3cbfc7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/glossary.xsl @@ -0,0 +1,1169 @@ + + +%common.entities; +]> + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + Warning: processing automatic glossary but unable to + open glossary.collection file ' + + ' + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + , + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glosssee @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossseealso @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + + + + + + + + + + ( + + ) + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + , + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glosssee @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossseealso @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/graphics.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/graphics.xsl new file mode 100644 index 0000000000..2f50c416bd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/graphics.xsl @@ -0,0 +1,813 @@ + + + + ]> + + + + + + + + + + + + BMP GIF TIFF SVG PNG EPS JPG JPEG linespecific + + + BMP GIF TIFF SVG PNG EPS JPG JPEG linespecific + + + PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP + + + SVG PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP + + + PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP + + + + + + + 1 + + + + + + + bmp gif tif tiff svg png pdf jpg jpeg eps + + + bmp gif tif tiff svg png pdf jpg jpeg eps + + + png pdf jpg jpeg gif tif tiff bmp + + + svg png pdf jpg jpeg gif tif tiff bmp eps + + + svg png pdf jpg jpeg gif tif tiff bmp eps + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 0 + + 1 + 1 + 0 + + + + + + 0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + auto + + + + + + + + + + + + + + + + auto + + + + + + auto + + + + + + + + + + auto + + + + + + + + + auto + + + + + + + + + + + + % + + scale-to-fit + auto + + + + + + + + + auto + + + + + + + + + + + + % + + scale-to-fit + auto + + + + + + + + + + + + + baseline + central + text-before-edge + + + + + before + center + after + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + fo:instream-foreign-object + + + fo:instream-foreign-object + + + fo:external-graphic + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + alignment-baseline + + + display-align + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Don't know how to insert files with + + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Don't know how to insert files with + + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Don't know how to insert files with + + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/highlight.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/highlight.xsl new file mode 100644 index 0000000000..7843ad2318 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/highlight.xsl @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/htmltbl.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/htmltbl.xsl new file mode 100644 index 0000000000..c323e5ad27 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/htmltbl.xsl @@ -0,0 +1,425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + fixed + + + + + + + + + + + + 100% + + + + + + + all + all + bottom + top + topbot + sides + lhs + rhs + none + all + none + + + + + + + all + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + none + none + none + + + + + none + none + none + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + 1 + 0 + + + + + none + none + none + + + + + + + + + + + + + none + none + + + + + 1 + + 1 + 1 + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + none + none + + + + + + + + + + + + none + none + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/index.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/index.xsl new file mode 100644 index 0000000000..bf22d75cbf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/index.xsl @@ -0,0 +1,484 @@ + + +%common.entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + body + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + body + index + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.tnacifingis + + + + + + + + + fo:wrapper + + + + + + + + + + + + + + , + + + + , + + + + + + + + + + + , + + + + , + + + + + + + + + + + + + + + + + + + + , + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + + + ) + + + + + + + + + ( + + + + + + ) + + + + + + + + + ( + + + + + + ) + + + + + + + + + + + + + + + 3pc + 2pc + 1pc + + + ( + + + + + + ) + + + + + + + + + + + + + fo:block + fo:wrapper + fo:inline + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/info.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/info.xsl new file mode 100644 index 0000000000..7497b821f2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/info.xsl @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/inline.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/inline.xsl new file mode 100644 index 0000000000..b69dac22fc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/inline.xsl @@ -0,0 +1,1346 @@ + + +%common.entities; +]> + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XLink to nonexistent id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XLink to nonexistent id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + super + + + super + + + + + + + + + + + + + + + + + + + + + ltr + rtl + + + + + + sub + + + sub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + , + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + There's no entry for + + in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error: no glossentry for glossterm: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element + + + + + + + + + + + + + + + + + </ + + > + + + + + + + & + + ; + + + + + + + &# + + ; + + + + + + + % + + ; + + + + + + + <? + + > + + + + + + + <? + + ?> + + + + + + + < + + > + + + + + + + < + + /> + + + + + + + <!-- + + --> + + + + + + + + + + + + + + + < + + + + + + mailto: + + + + + + + + + + > + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + + + + + + + + + + + ] + + + + [ + + ] + + + + + + + + + + + + + [ + + + + + + + + + + + ] + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/keywords.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/keywords.xsl new file mode 100644 index 0000000000..6070b91bd3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/keywords.xsl @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/lists.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/lists.xsl new file mode 100644 index 0000000000..6f0401437d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/lists.xsl @@ -0,0 +1,1374 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em * 0.60 + + + + + + + + + em * 0.60 + + + + + + + 1em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.25in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + auto + + + + + + fixed + + + + + + + + + + + 1 + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + auto + + + + + + fixed + + + + + + + + + + 1 + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + 1 + 1 + + 1 + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/math.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/math.xsl new file mode 100644 index 0000000000..e25edf2393 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/math.xsl @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/pagesetup.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/pagesetup.xsl new file mode 100644 index 0000000000..88c22d7115 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/pagesetup.xsl @@ -0,0 +1,3486 @@ + + + + + + + + + + , + + + + + + , + + + + + + , + + + + + + + true + false + + + + + + true + false + + + + + + false + true + + + + + + false + true + + + + + + + + + + + + + + + + + + + blank + + + + + + + + + + + blank-body + + + + + + blank + blank + + + blank + blank + + + + + + + + + + + + + + + + + titlepage-first + + + + + + + + + + + + + + first + titlepage + + + first + titlepage + + + + + + + + + + + + + + + + titlepage-odd + + + + + + + + + + + + + + odd + titlepage + + + odd + titlepage + + + + + + + + + + + + + + + + titlepage-even + + + + + + + + + + + + + + even + titlepage + + + even + titlepage + + + + + + + + + + + + + + + + + lot-first + + + + + + + + + + + + + + first + lot + + + first + lot + + + + + + + + + + + + + + + + lot-odd + + + + + + + + + + + + + + odd + lot + + + odd + lot + + + + + + + + + + + + + + + + lot-even + + + + + + + + + + + + + + even + lot + + + even + lot + + + + + + + + + + + + + + + + + front-first + + + + + + + + + + + + + + first + front + + + first + front + + + + + + + + + + + + + + + + front-odd + + + + + + + + + + + + + + odd + front + + + odd + front + + + + + + + + + + + + + + + + front-even + + + + + + + + + + + + + + even + front + + + even + front + + + + + + + + + + + + + + + + + + + + body-first + + + + + + + + + + + + + + first + body + + + first + body + + + + + + + + + + + + + + + + body-odd + + + + + + + + + + + + + + body + odd + + + body + odd + + + + + + + + + + + + + + + + body-even + + + + + + + + + + + + + + body + even + + + body + even + + + + + + + + + + + + + + + + + back-first + + + + + + + + + + + + + + first + back + + + first + back + + + + + + + + + + + + + + + + back-odd + + + + + + + + + + + + + + odd + back + + + odd + back + + + + + + + + + + + + + + + + back-even + + + + + + + + + + + + + + even + back + + + even + back + + + + + + + + + + + + + + + + + index-first + + + + + + + + + + + + + + first + index + + + first + index + + + + + + + + + + + + + + + + index-odd + + + + + + + + + + + + + + odd + index + + + odd + index + + + + + + + + + + + + + + + + index-even + + + + + + + + + + + + + + even + index + + + even + index + + + + + + + + + + + + + + + + + + blank-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + blank + blank + + + blank + blank + + + + + + + + + + + + + + + + + titlepage-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + titlepage + + + first + titlepage + + + + + + + + + + + + + + + + titlepage-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + titlepage + + + odd + titlepage + + + + + + + + + + + + + + + + titlepage-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + titlepage + + + even + titlepage + + + + + + + + + + + + + + + + + lot-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + lot + + + first + lot + + + + + + + + + + + + + + + + lot-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + lot + + + odd + lot + + + + + + + + + + + + + + + + lot-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + lot + + + even + lot + + + + + + + + + + + + + + + + + front-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + front + + + first + front + + + + + + + + + + + + + + + + front-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + front + + + odd + front + + + + + + + + + + + + + + + + front-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + front + + + even + front + + + + + + + + + + + + + + + + + body-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + body + + + first + body + + + + + + + + + + + + + + + + body-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + body + + + odd + body + + + + + + + + + + + + + + + + body-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + body + + + even + body + + + + + + + + + + + + + + + + + back-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + back + + + first + back + + + + + + + + + + + + + + + + back-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + back + + + odd + back + + + + + + + + + + + + + + + + back-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + back + + + even + back + + + + + + + + + + + + + + + + + index-first-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + first + index + + + first + index + + + + + + + + + + + + + + + + index-odd-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + odd + index + + + odd + index + + + + + + + + + + + + + + + + index-even-draft + + + + + + + + + + + + + + + + fixed + no-repeat + center + center + + + + + + even + index + + + even + index + + + + + + + + + + + + + + + + titlepage-even + titlepage-odd + + + + + + + + + + + + + + + + + + lot-even + lot-odd + + + + + + + + + + + + + + + + + + front-even + front-odd + + + + + + + + + + + + + + + + + + body-even + body-odd + + + + + + + + + + + + + + + + + + back-even + back-odd + + + + + + + + + + + + + + + + + + index-even + index-odd + + + + + + + + + + + + + + + + + + + titlepage-even-draft + titlepage-odd-draft + + + + + + + + + + + + + + + + + + lot-even-draft + lot-odd-draft + + + + + + + + + + + + + + + + + + front-even-draft + front-odd-draft + + + + + + + + + + + + + + + + + + body-even-draft + body-odd-draft + + + + + + + + + + + + + + + + + + back-even-draft + back-odd-draft + + + + + + + + + + + + + + + + + + index-even-draft + index-odd-draft + + + + + + + + + + + + + + + + + + + + + + + + + + + + lot + front + front + front + back + back + back + index + back + body + + + + + -draft + + + + + + -draft + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.5pt + solid + black + + + + + + + + + + 0.5pt + solid + black + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + + + + + + 1 + 1 + 3 + + + + + + 3 + 3 + 1 + + + + + + + + + + + + + + proportional-column-width( + + header + + + + + + ) + + + + + proportional-column-width( + + header + + + + + + ) + + + + + proportional-column-width( + + header + + + + + + ) + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error: value in .column.widths at position is not a number. + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + + + + + + 1 + 1 + 3 + + + + + + 3 + 3 + 1 + + + + + + + + + + + + + proportional-column-width( + + footer + + + + + + ) + + + + + proportional-column-width( + + footer + + + + + + ) + + + + + proportional-column-width( + + footer + + + + + + ) + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + baseline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i + i + i + i + i + i + 1 + + + + + + + + + + auto + auto-odd + + + + + + + + + + + + + + 1 + 1 + + + + + + + + auto + auto + auto + 1 + 1 + auto + + + + + + + + + + + + no-force + + end-on-even + + no-force + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + blank + blank + + + + + + xsl-region-inner- + + + + + + + + + + + + + + xsl-region-inner- + + + + + + + + + + + + + + + + blank + blank + + + + + + xsl-region-outer- + + + + + + + + + + + + + + xsl-region-outer- + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/param.xml b/apache-fop/src/test/resources/docbook-xsl/fo/param.xml new file mode 100644 index 0000000000..00a44474fe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/param.xml @@ -0,0 +1,13331 @@ + + + +FO Parameter Reference + +$Id: param.xweb 9673 2012-12-02 20:06:41Z bobstayton $ + + + + Walsh + Norman + + + + 1999 + 2000 + 2001 + 2002 + 2003 + 2004 + 2005 + 2006 + 2007 + 2008 + 2009 + 2010 + 2011 + Norman Walsh + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL FO stylesheets (for generating + XSL-FO output destined for final print/PDF output). + + +Admonitions + + +admon.graphics +boolean + + +admon.graphics +Use graphics in admonitions? + + + + +<xsl:param name="admon.graphics" select="0"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented in an alternate style that uses +a graphic. Default graphics are provided in the distribution. + + + + + + + +admon.graphics.extension +string + + +admon.graphics.extension +Filename extension for admonition graphics + + + + +<xsl:param name="admon.graphics.extension">.png</xsl:param> + + + +Description + +Sets the filename extension to use on admonition graphics. + + + The DocBook XSL distribution provides admonition graphics in the following formats: + GIF (extension: .gif) + PNG (extension: .png) + SVG (extension: .svg) + TIFF (extension: .tif) + + + + + + + +admon.graphics.path +string + + +admon.graphics.path +Path to admonition graphics + + + +<xsl:param name="admon.graphics.path">images/</xsl:param> + + +Description + +Sets the path to the directory containing the admonition graphics +(caution.png, important.png etc). This location is normally relative +to the output html directory. See base.dir + + + + + + +admon.textlabel +boolean + + +admon.textlabel +Use text label in admonitions? + + + + +<xsl:param name="admon.textlabel" select="1"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented with a generated +text label such as Note or Warning in the appropriate language. +If zero, such labels are turned off, but any title child +of the admonition element are still output. +The default value is 1. + + + + + + + + + admonition.title.properties + attribute set + + +admonition.title.properties +To set the style for admonitions titles. + + + + +<xsl:attribute-set name="admonition.title.properties"> + <xsl:attribute name="font-size">14pt</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + +Description +How do you want admonitions titles styled? +Set the font-size, weight etc to the style required. + + + + + + + admonition.properties + attribute set + + +admonition.properties +To set the style for admonitions. + + + +<xsl:attribute-set name="admonition.properties"></xsl:attribute-set> + + +Description +How do you want admonitions styled? +Set the font-size, weight, etc. to the style required + + + + + + +graphical.admonition.properties +attribute set + + +graphical.admonition.properties +To add properties to the outer block of a graphical admonition. + + + +<xsl:attribute-set name="graphical.admonition.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the outer block containing the +entire graphical admonition, including its title. +It is used when the parameter +admon.graphics is set to nonzero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a graphical admonition +also applies the admonition.title.properties +attribute-set to the title, and applies the +admonition.properties attribute-set +to the rest of the content. + + + + + + +nongraphical.admonition.properties +attribute set + + +nongraphical.admonition.properties +To add properties to the outer block of a nongraphical admonition. + + + +<xsl:attribute-set name="nongraphical.admonition.properties"> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">0.25in</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">0.25in</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the outer block containing the +entire nongraphical admonition, including its title. +It is used when the parameter +admon.graphics is set to zero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a nongraphical admonition +also applies the admonition.title.properties +attribute-set to the title, and the +admonition.properties attribute-set +to the rest of the content. + + + + + +Callouts + + +calloutlist.properties +attribute set + + +calloutlist.properties +Properties that apply to each list-block generated by calloutlist. + + + +<xsl:attribute-set name="calloutlist.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="provisional-distance-between-starts">2.2em</xsl:attribute> + <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to the fo:list-block generated by calloutlist. +Typically used to adjust spacing or margins of the entire list. +Change the provisional-distance-between-starts attribute to +change the indent of the list paragraphs relative to the +callout numbers. + + + + + +callout.properties +attribute set + + +callout.properties +Properties that apply to the list-item generated by each callout within a calloutlist. + + + +<xsl:attribute-set name="callout.properties"> +</xsl:attribute-set> + +Description +Properties that apply to the fo:list-item generated by each callout within a calloutlist. Typically used to add spacing properties. + + + + + +callout.defaultcolumn +integer + + +callout.defaultcolumn +Indicates what column callouts appear in by default + + + + +<xsl:param name="callout.defaultcolumn">60</xsl:param> + + + +Description + +If a callout does not identify a column (for example, if it uses +the linerange unit), +it will appear in the default column. + + + + + + + +callout.graphics +boolean + + +callout.graphics +Use graphics for callouts? + + + + +<xsl:param name="callout.graphics" select="1"></xsl:param> + + + +Description + +If non-zero, callouts are presented with graphics (e.g., reverse-video +circled numbers instead of "(1)", "(2)", etc.). +Default graphics are provided in the distribution. + + + + + + + +callout.graphics.extension +string + + +callout.graphics.extension +Filename extension for callout graphics + + + + + +<xsl:param name="callout.graphics.extension">.svg</xsl:param> + + + +Description +Sets the filename extension to use on callout graphics. + + +The Docbook XSL distribution provides callout graphics in the following formats: +SVG (extension: .svg) +PNG (extension: .png) +GIF (extension: .gif) + + + + + + +callout.graphics.number.limit +integer + + +callout.graphics.number.limit +Number of the largest callout graphic + + + + + +<xsl:param name="callout.graphics.number.limit">30</xsl:param> + + + +Description + +If callout.graphics is non-zero, graphics +are used to represent callout numbers instead of plain text. The value +of callout.graphics.number.limit is the largest +number for which a graphic exists. If the callout number exceeds this +limit, the default presentation "(plain text instead of a graphic)" +will be used. + + + + + + + +callout.graphics.path +string + + +callout.graphics.path +Path to callout graphics + + + + +<xsl:param name="callout.graphics.path">images/callouts/</xsl:param> + + + +Description + +Sets the path to the directory holding the callout graphics. his +location is normally relative to the output html directory. see +base.dir. Always terminate the directory with / since the graphic file +is appended to this string, hence needs the separator. + + + + + + + +callout.icon.size +length + + +callout.icon.size +Specifies the size of callout marker icons + + + + +<xsl:param name="callout.icon.size">7pt</xsl:param> + + + +Description + +Specifies the size of the callout marker icons. +The default size is 7 points. + + + + + + +callout.unicode +boolean + + +callout.unicode +Use Unicode characters rather than images for callouts. + + + +<xsl:param name="callout.unicode" select="0"></xsl:param> + + +Description + +The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. + + + + + + + +callout.unicode.font +string + + +callout.unicode.font +Specify a font for Unicode glyphs + + + + +<xsl:param name="callout.unicode.font">ZapfDingbats</xsl:param> + + + +Description + +The name of the font to specify around Unicode callout glyphs. +If set to the empty string, no font change will occur. + + + + + + + +callout.unicode.number.limit +integer + + +callout.unicode.number.limit +Number of the largest unicode callout character + + + + +<xsl:param name="callout.unicode.number.limit">10</xsl:param> + + + +Description + +If callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.number.limit +is +the largest number for which a unicode character exists. If the callout number +exceeds this limit, the default presentation "(nnn)" will always +be used. + + + + + + + +callout.unicode.start.character +integer + + +callout.unicode.start.character +First Unicode character to use, decimal value. + + + + +<xsl:param name="callout.unicode.start.character">10102</xsl:param> + + + +Description + +If callout.graphics is zero and callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.start.character +is the decimal unicode value used for callout number one. Currently, +only values 9312 and 10102 are supported in the stylesheets for this parameter. + + + + + + + +callouts.extension +boolean + + +callouts.extension +Enable the callout extension + + + + +<xsl:param name="callouts.extension" select="1"></xsl:param> + + + +Description + +The callouts extension processes areaset +elements in programlistingco and other text-based +callout elements. + + + + + + +ToC/LoT/Index Generation + + +autotoc.label.separator +string + + +autotoc.label.separator +Separator between labels and titles in the ToC + + + + +<xsl:param name="autotoc.label.separator">. </xsl:param> + + + +Description + +String used to separate labels and titles in a table of contents. + + + + + + +process.empty.source.toc +boolean + + +process.empty.source.toc +Generate automated TOC if toc element occurs in a source document? + + + +<xsl:param name="process.empty.source.toc" select="0"></xsl:param> + + +Description + +Specifies that if an empty toc element is found in a +source document, an automated TOC is generated at this point in the +document. + + Depending on what the value of the + generate.toc parameter is, setting this + parameter to 1 could result in generation of + duplicate automated TOCs. So the + process.empty.source.toc is primarily useful + as an "override": by placing an empty toc in your + document and setting this parameter to 1, you can + force a TOC to be generated even if generate.toc + says not to. + + + + + + + + +process.source.toc +boolean + + +process.source.toc +Process a non-empty toc element if it occurs in a source document? + + + +<xsl:param name="process.source.toc" select="0"></xsl:param> + + +Description + +Specifies that the contents of a non-empty "hard-coded" +toc element in a source document are processed to +generate a TOC in output. + + This parameter has no effect on automated generation of + TOCs. An automated TOC may still be generated along with the + "hard-coded" TOC. To suppress automated TOC generation, adjust the + value of the generate.toc paramameter. + + The process.source.toc parameter also has + no effect if the toc element is empty; handling + for empty toc is controlled by the + process.empty.source.toc parameter. + + + + + + + + +generate.toc +table + + +generate.toc +Control generation of ToCs and LoTs + + + + + +<xsl:param name="generate.toc"> +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title +</xsl:param> + + + +Description + +This parameter has a structured value. It is a table of space-delimited +path/value pairs. Each path identifies some element in the source document +using a restricted subset of XPath (only the implicit child axis, no wildcards, +no predicates). Paths can be either relative or absolute. + +When processing a particular element, the stylesheets consult this table to +determine if a ToC (or LoT(s)) should be generated. + +For example, consider the entry: + +book toc,figure + +This indicates that whenever a book is formatted, a +Table Of Contents and a List of Figures should be generated. Similarly, + +/chapter toc + +indicates that whenever a document that has a root +of chapter is formatted, a Table of +Contents should be generated. The entry chapter would match +all chapters, but /chapter matches only chapter +document elements. + +Generally, the longest match wins. So, for example, if you want to distinguish +articles in books from articles in parts, you could use these two entries: + +book/article toc,figure +part/article toc + +Note that an article in a part can never match a book/article, +so if you want nothing to be generated for articles in parts, you can simply leave +that rule out. + +If you want to leave the rule in, to make it explicit that you're turning +something off, use the value nop. For example, the following +entry disables ToCs and LoTs for articles: + +article nop + +Do not simply leave the word article in the file +without a matching value. That'd be just begging the silly little +path/value parser to get confused. + +Section ToCs are further controlled by the +generate.section.toc.level parameter. +For a given section level to have a ToC, it must have both an entry in +generate.toc and be within the range enabled by +generate.section.toc.level. + + + + + +generate.index +boolean + + +generate.index +Do you want an index? + + + +<xsl:param name="generate.index" select="1"></xsl:param> + + +Description + +Specify if an index should be generated. + + + + + + +make.index.markup +boolean + + +make.index.markup +Generate XML index markup in the index? + + + + +<xsl:param name="make.index.markup" select="0"></xsl:param> + + + +Description + +This parameter enables a very neat trick for getting properly +merged, collated back-of-the-book indexes. G. Ken Holman suggested +this trick at Extreme Markup Languages 2002 and I'm indebted to him +for it. + +Jeni Tennison's excellent code in +autoidx.xsl does a great job of merging and +sorting indexterms in the document and building a +back-of-the-book index. However, there's one thing that it cannot +reasonably be expected to do: merge page numbers into ranges. (I would +not have thought that it could collate and suppress duplicate page +numbers, but in fact it appears to manage that task somehow.) + +Ken's trick is to produce a document in which the index at the +back of the book is displayed in XML. Because the index +is generated by the FO processor, all of the page numbers have been resolved. +It's a bit hard to explain, but what it boils down to is that instead of having +an index at the back of the book that looks like this: + +
    +A +ap1, 1, 2, 3 + +
    + +you get one that looks like this: + +
    +<indexdiv>A</indexdiv> +<indexentry> +<primaryie>ap1</primaryie>, +<phrase role="pageno">1</phrase>, +<phrase role="pageno">2</phrase>, +<phrase role="pageno">3</phrase> +</indexentry> +
    + +After building a PDF file with this sort of odd-looking index, you can +extract the text from the PDF file and the result is a proper index expressed in +XML. + +Now you have data that's amenable to processing and a simple Perl script +(such as fo/pdf2index) can +merge page ranges and generate a proper index. + +Finally, reformat your original document using this literal index instead of +an automatically generated one and bingo! + +
    +
    + + + +index.method +list +basic +kosek +kimber + + +index.method +Select method used to group index entries in an index + + + + +<xsl:param name="index.method">basic</xsl:param> + + + +Description + +This parameter lets you select which method to use for sorting and grouping + index entries in an index. +Indexes in Latin-based languages that have accented characters typically +sort together accented words and unaccented words. +Thus Á (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together +with A (U+0041 LATIN CAPITAL LETTER A), so both would appear in the A +section of the index. +Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) +and languages using ideographic chararacters (such as Japanese) +require grouping specific to the languages and alphabets. + + +The default indexing method is limited. +It can group accented characters in Latin-based languages only. +It cannot handle non-Latin alphabets or ideographic languages. +The other indexing methods require extensions of one type or +another, and do not work with +all XSLT processors, which is why they are not used by default. + +The three choices for indexing method are: + + +basic + + +(default) Sort and groups words based only on the Latin alphabet. +Words with accented Latin letters will group and sort with +their respective primary letter, but +words in non-Latin alphabets will be +put in the Symbols section of the index. + + + + +kosek + + +This method sorts and groups words based on letter groups configured in +the DocBook locale file for the given language. +See, for example, the French locale file common/fr.xml. +This method requires that the XSLT processor +supports the EXSLT extensions (most do). +It also requires support for using +user-defined functions in xsl:key (xsltproc does not). + +This method is suitable for any language for which you can +list all the individual characters that should appear +in each letter group in an index. +It is probably not practical to use it for ideographic languages +such as Chinese that have hundreds or thousands of characters. + + +To use the kosek method, you must: + + + +Use a processor that supports its extensions, such as +Saxon 6 or Xalan (xsltproc and Saxon 8 do not). + + + +Set the index.method parameter's value to kosek. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kosek.xsl or +html/autoidx-kosek.xsl into your +customization. + + + + + + + +kimber + + +This method uses extensions to the Saxon processor to implement +sophisticated indexing processes. It uses its own +configuration file, which can include information for any number of +languages. Each language's configuration can group +words using one of two processes. In the +enumerated process similar to that used in the kosek method, +you indicate the groupings character-by-character. +In the between-key process, you specify the +break-points in the sort order that should start a new group. +The latter configuration is useful for ideographic languages +such as Chinese, Japanese, and Korean. +You can also define your own collation algorithms and how you +want mixed Latin-alphabet words sorted. + + +For a whitepaper describing the extensions, see: +http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf. + + + +To download the extension library, see +http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport. + + + + +To use the kimber method, you must: + + + +Use Saxon (version 6 or 8) as your XSLT processor. + + + +Install and configure the Innodata Isogen library, using +the documentation that comes with it. + + + +Set the index.method parameter's value to kimber. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kimber.xsl or +html/autoidx-kimber.xsl into your +customization. + + + + + + + + + + + + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + +<xsl:param name="index.on.type" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + + + + +index.on.role +boolean + + +index.on.role +Select indexterms based on role value + + + + +<xsl:param name="index.on.role" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +role attribute +value will contain only those indexterm +elements with a matching role value. +If an index has no role +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + +If index.on.role is zero, then the +role attribute has no effect +on selecting indexterms for an index. + + +If you are using DocBook version 4.3 or later, you should +use the type attribute instead of role +on indexterm and index, +and set the index.on.type to a nonzero +value. + + + + + + + +index.preferred.page.properties +attribute set + + +index.preferred.page.properties +Properties used to emphasize page number references for +significant index terms + + + + +<xsl:attribute-set name="index.preferred.page.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties used to emphasize page number references for +significant index terms (significance=preferred). Currently works only with +XEP. + + + + + + +index.entry.properties +attribute set + + +index.entry.properties +Properties applied to the formatted entries +in an index + + + + +<xsl:attribute-set name="index.entry.properties"> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the block containing +the entries in a letter division in an index. It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all index entries. + + + + + + +index.div.title.properties +attribute set + + +index.div.title.properties +Properties associated with the letter headings in an +index + + + + +<xsl:attribute-set name="index.div.title.properties"> + <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute> + <xsl:attribute name="font-size">14.4pt</xsl:attribute> + <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is used on the letter headings that separate +the divisions in an index. + + + + + + +index.number.separator +string + + +index.number.separator +Override for punctuation separating page numbers in index + + + + +<xsl:param name="index.number.separator"></xsl:param> + + + +Description + +This parameter permits you to override the text to insert between +page references in a formatted index entry. Typically +that would be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'number-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. This punctuation appears between +such section titles in an HTML index. + + + + + + + +index.range.separator +string + + +index.range.separator +Override for punctuation separating the two numbers +in a page range in index + + + + +<xsl:param name="index.range.separator"></xsl:param> + + + +Description + +This parameter permits you +to override the text to insert between +the two numbers of a page range in an index. +This parameter is only used by those XSL-FO processors +that support an extension for generating such page ranges +(such as XEP). + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'range-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. So there are no page ranges +and this parameter has no effect. + + + + + + + +index.term.separator +string + + +index.term.separator +Override for punctuation separating an index term +from its list of page references in an index + + + + +<xsl:param name="index.term.separator"></xsl:param> + + + +Description + +This parameter permits you to override +the text to insert between +the end of an index term and its list of page references. +Typically that might be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'term-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +fill in the content for this normally empty +override parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. +For fo output, it could be an fo:leader +element to provide space of a specific length, or a dot leader. + + + + + + + +xep.index.item.properties +attribute set + + +xep.index.item.properties +Properties associated with XEP index-items + + + + +<xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties"> + <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute> + <xsl:attribute name="link-back">true</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties associated with XEP index-items, which generate +page numbers in an index processed by XEP. For more info see +the XEP documentation section "Indexes" in +http://www.renderx.com/reference.html#Indexes. + +This attribute-set also adds by default any properties from the +index.page.number.properties +attribute-set. + + + + + +toc.section.depth +integer + + +toc.section.depth +How deep should recursive sections appear +in the TOC? + + + +<xsl:param name="toc.section.depth">2</xsl:param> + + +Description + +Specifies the depth to which recursive sections should appear in the +TOC. + + + + + + + +toc.max.depth +integer + + +toc.max.depth +How many levels should be created for each TOC? + + + +<xsl:param name="toc.max.depth">8</xsl:param> + + +Description + +Specifies the maximal depth of TOC on all levels. + + + + + + +toc.indent.width +float + + +toc.indent.width +Amount of indentation for TOC entries + + + + +<xsl:param name="toc.indent.width">24</xsl:param> +<!-- inconsistant point specification? --> + + + +Description + +Specifies, in points, the distance by which each level of the +TOC is indented from its parent. + +This value is expressed in points, without +a unit (in other words, it is a bare number). Using a bare number allows the stylesheet +to perform calculations that would otherwise have to be performed by the FO processor +because not all processors support expressions. + + + + + + +toc.line.properties +attribute set + + +toc.line.properties +Properties for lines in ToCs and LoTs + + + + +<xsl:attribute-set name="toc.line.properties"> + <xsl:attribute name="text-align-last">justify</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="end-indent"><xsl:value-of select="concat($toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="last-line-end-indent"><xsl:value-of select="concat('-', $toc.indent.width, 'pt')"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties which are applied to every line in ToC (or LoT). You can +modify them in order to change appearance of all, or some lines. For +example, in order to make lines for chapters bold, specify the +following in your customization layer: + +<xsl:attribute-set name="toc.line.properties"> + <xsl:attribute name="font-weight"> + <xsl:choose> + <xsl:when test="self::chapter">bold</xsl:when> + <xsl:otherwise>normal</xsl:otherwise> + </xsl:choose> + </xsl:attribute> +</xsl:attribute-set> + + + + + + +toc.margin.properties +attribute set + + +toc.margin.properties +Margin properties used on Tables of Contents + + + + +<xsl:attribute-set name="toc.margin.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + + + +Description +This attribute set is used on Tables of Contents. These attributes are set +on the wrapper that surrounds the ToC block, not on each individual lines. + + + + + +bridgehead.in.toc +boolean + + +bridgehead.in.toc +Should bridgehead elements appear in the TOC? + + + +<xsl:param name="bridgehead.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, bridgeheads appear in the TOC. Note that +this option is not fully supported and may be removed in a future +version of the stylesheets. + + + + + + + +simplesect.in.toc +boolean + + +simplesect.in.toc +Should simplesect elements appear in the TOC? + + + +<xsl:param name="simplesect.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, simplesects will be included in the TOC. + + + + + + + +generate.section.toc.level +integer + + +generate.section.toc.level +Control depth of TOC generation in sections + + + + +<xsl:param name="generate.section.toc.level" select="0"></xsl:param> + + + +Description + +The generate.section.toc.level parameter +controls the depth of section in which TOCs will be generated. Note +that this is related to, but not the same as +toc.section.depth, which controls the depth to +which TOC entries will be generated in a given TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. + + + + + + + + +
    +Processor Extensions + + +arbortext.extensions +boolean + + +arbortext.extensions +Enable Arbortext extensions? + + + +<xsl:param name="arbortext.extensions" select="0"></xsl:param> + + +Description + +If non-zero, +Arbortext +extensions will be used. + +This parameter can also affect which graphics file formats +are supported + + + + + + +axf.extensions +boolean + + +axf.extensions +Enable XSL Formatter extensions? + + + + +<xsl:param name="axf.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, +XSL Formatter +extensions will be used. XSL Formatter extensions consists of PDF bookmarks, +document information and better index processing. + +This parameter can also affect which graphics file formats +are supported + + + + + + +fop.extensions +boolean + + +fop.extensions +Enable extensions for FOP version 0.20.5 and earlier + + + +<xsl:param name="fop.extensions" select="0"></xsl:param> + + +Description + +If non-zero, extensions intended for +FOP +version 0.20.5 and earlier will be used. +At present, this consists of PDF bookmarks. + + +This parameter can also affect which graphics file formats +are supported. + +If you are using a version of FOP beyond +version 0.20.5, then use the fop1.extensions parameter +instead. + + + + + + +fop1.extensions +boolean + + +fop1.extensions +Enable extensions for FOP version 0.90 and later + + + +<xsl:param name="fop1.extensions" select="0"></xsl:param> + + +Description + +If non-zero, extensions for +FOP +version 0.90 and later will be used. + + +This parameter can also affect which graphics file formats +are supported. + +The original fop.extensions parameter +should still be used for FOP version 0.20.5 and earlier. + + + + + + +passivetex.extensions +boolean + + +passivetex.extensions +Enable PassiveTeX extensions? + + + +<xsl:param name="passivetex.extensions" select="0"></xsl:param> + + +Description + +The PassiveTeX XSL-FO processor is +no longer supported by DocBook XSL, beginning with version 1.78. + +PassiveTeX was never a complete implementation of +XSL-FO, and development has ceased. Setting this parameter will +have no effect on the output. + + + + + + +tex.math.in.alt +list +plain +latex + + +tex.math.in.alt +TeX notation used for equations + + + + +<xsl:param name="tex.math.in.alt"></xsl:param> + + + +Description + +If you want type math directly in TeX notation in equations, +this parameter specifies notation used. Currently are supported two +values -- plain and latex. Empty +value means that you are not using TeX math at all. + +Preferred way for including TeX alternative of math is inside of +textobject element. Eg.: + +<inlineequation> +<inlinemediaobject> +<imageobject> +<imagedata fileref="eq1.gif"/> +</imageobject> +<textobject><phrase>E=mc squared</phrase></textobject> +<textobject role="tex"><phrase>E=mc^2</phrase></textobject> +</inlinemediaobject> +</inlineequation> + +If you are using graphic element, you can +store TeX inside alt element: + +<inlineequation> +<alt role="tex">a^2+b^2=c^2</alt> +<graphic fileref="a2b2c2.gif"/> +</inlineequation> + +If you want use this feature, you should process your FO with +PassiveTeX, which only supports TeX math notation. When calling +stylsheet, don't forget to specify also +passivetex.extensions=1. + +If you want equations in HTML, just process generated file +tex-math-equations.tex by TeX or LaTeX. Then run +dvi2bitmap program on result DVI file. You will get images for +equations in your document. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + +Related Parameters + tex.math.delims, + passivetex.extensions, + tex.math.file + + + + + + +tex.math.delims +boolean + + +tex.math.delims +Should equations output for processing by TeX be +surrounded by math mode delimiters? + + + + +<xsl:param name="tex.math.delims" select="1"></xsl:param> + + + +Description + +For compatibility with DSSSL based DBTeXMath from Allin Cottrell +you should set this parameter to 0. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + +Related Parameters + tex.math.in.alt, + passivetex.extensions + + +See Also + You can also use the dbtex delims processing + instruction to control whether delimiters are output. + + + + + + + +xep.extensions +boolean + + +xep.extensions +Enable XEP extensions? + + + +<xsl:param name="xep.extensions" select="0"></xsl:param> + + +Description + +If non-zero, +XEP +extensions will be used. XEP extensions consists of PDF bookmarks, +document information and better index processing. + + +This parameter can also affect which graphics file formats +are supported + + + + +Stylesheet Extensions + + +linenumbering.everyNth +integer + + +linenumbering.everyNth +Indicate which lines should be numbered + + + + +<xsl:param name="linenumbering.everyNth">5</xsl:param> + + + +Description + +If line numbering is enabled, everyNth line will be +numbered. Note that numbering is one based, not zero based. + +See also linenumbering.extension, +linenumbering.separator, +linenumbering.width and +use.extensions + + + + + + +linenumbering.extension +boolean + + +linenumbering.extension +Enable the line numbering extension + + + + +<xsl:param name="linenumbering.extension" select="1"></xsl:param> + + + +Description + +If non-zero, verbatim environments (address, literallayout, +programlisting, screen, synopsis) that specify line numbering will +have line numbers. + + + + + + + +linenumbering.separator +string + + +linenumbering.separator +Specify a separator between line numbers and lines + + + + +<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param> + + + +Description + +The separator is inserted between line numbers and lines in the +verbatim environment. The default value is a single white space. + Note the interaction with linenumbering.width + + + + + + + +linenumbering.width +integer + + +linenumbering.width +Indicates the width of line numbers + + + + +<xsl:param name="linenumbering.width">3</xsl:param> + + + +Description + +If line numbering is enabled, line numbers will appear right +justified in a field "width" characters wide. + + + + + + + +tablecolumns.extension +boolean + + +tablecolumns.extension +Enable the table columns extension function + + + + +<xsl:param name="tablecolumns.extension" select="1"></xsl:param> + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + + + + + textinsert.extension + boolean + + + textinsert.extension + Enables the textinsert extension element + + + + <xsl:param name="textinsert.extension" select="1"></xsl:param> + + + Description + The textinsert extension element inserts the contents of + a file into the result tree (as text). + + To use the textinsert extension element, you must use + either Saxon or Xalan as your XSLT processor (it doesn’t + work with xsltproc), along with either the DocBook Saxon + extensions or DocBook Xalan extensions (for more + information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both + the use.extensions and + textinsert.extension parameters to + 1. + As an alternative to using the textinsert element, + consider using an Xinclude element with the + parse="text" attribute and value + specified, as detailed in Using XInclude for text inclusions. + + + See Also + You can also use the dbhtml-include href processing + instruction to insert external files — both files containing + plain text and files with markup content (including HTML + content). + + More information + For how-to documentation on inserting contents of + external code files and other text files into output, see + External code files. + For guidelines on inserting contents of + HTML files into output, see Inserting external HTML code. + + + + + +textdata.default.encoding +string + + +textdata.default.encoding +Default encoding of external text files which are included +using textdata element + + + + +<xsl:param name="textdata.default.encoding"></xsl:param> + + + +Description + +Specifies the encoding of any external text files included using +textdata element. This value is used only when you do +not specify encoding by the appropriate attribute +directly on textdata. An empty string is interpreted as the system +default encoding. + + + + + + +use.extensions +boolean + + +use.extensions +Enable extensions + + + + +<xsl:param name="use.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, extensions may be used. Each extension is +further controlled by its own parameter. But if +use.extensions is zero, no extensions will +be used. + + + + + + +Automatic labelling + + +appendix.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +appendix.autolabel +Specifies the labeling format for Appendix titles + + + + +<xsl:param name="appendix.autolabel">A</xsl:param> + + + +Description + +If non-zero, then appendices will be numbered using the +parameter value as the number format if the value matches one of the +following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperalpha). + + + + + + + +chapter.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +chapter.autolabel +Specifies the labeling format for Chapter titles + + + + +<xsl:param name="chapter.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, then chapters will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + +part.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +part.autolabel +Specifies the labeling format for Part titles + + + + +<xsl:param name="part.autolabel">I</xsl:param> + + + +Description + +If non-zero, then parts will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperroman). + + + + + + + + +reference.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +reference.autolabel +Specifies the labeling format for Reference titles + + + + <xsl:param name="reference.autolabel">I</xsl:param> + + +Description +If non-zero, references will be numbered using the parameter + value as the number format if the value matches one of the + following: + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + +Any non-zero value other than the above will generate +the default number format (upperroman). + + + + + + +preface.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +preface.autolabel +Specifices the labeling format for Preface titles + + + +<xsl:param name="preface.autolabel" select="0"></xsl:param> + + +Description + +If non-zero then prefaces will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + + +section.autolabel +boolean + + +section.autolabel +Are sections enumerated? + + + +<xsl:param name="section.autolabel" select="0"></xsl:param> + + +Description + +If true (non-zero), unlabeled sections will be enumerated. + + + + + + + +section.autolabel.max.depth +integer + + +section.autolabel.max.depth +The deepest level of sections that are numbered. + + + + +<xsl:param name="section.autolabel.max.depth">8</xsl:param> + + + +Description + +When section numbering is turned on by the +section.autolabel parameter, then this +parameter controls the depth of section nesting that is +numbered. Sections nested to a level deeper than this value will not +be numbered. + + + + + + + +section.label.includes.component.label +boolean + + +section.label.includes.component.label +Do section labels include the component label? + + + +<xsl:param name="section.label.includes.component.label" select="0"></xsl:param> + + +Description + +If non-zero, section labels are prefixed with the label of the +component that contains them. + + + + + + + +label.from.part +boolean + + +label.from.part +Renumber components in each part? + + + + +<xsl:param name="label.from.part" select="0"></xsl:param> + + + +Description + +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. + + + + + + +component.label.includes.part.label +boolean + + +component.label.includes.part.label +Do component labels include the part label? + + + +<xsl:param name="component.label.includes.part.label" select="0"></xsl:param> + + +Description + +If non-zero, number labels for chapter, +appendix, and other component elements are prefixed with +the label of the part element that contains them. So you might see +Chapter II.3 instead of Chapter 3. Also, the labels for formal +elements such as table and figure will include +the part label. If there is no part element container, then no prefix +is generated. + + +This feature is most useful when the +label.from.part parameter is turned on. +In that case, there would be more than one chapter +1, and the extra part label prefix will identify +each chapter unambiguously. + + + + + + +XSLT Processing + + +rootid +string + + +rootid +Specify the root element to format + + + + +<xsl:param name="rootid"></xsl:param> + + +Description + +If rootid is not empty, it must be the +value of an ID that occurs in the document being formatted. The entire +document will be loaded and parsed, but formatting will begin at the +element identified, rather than at the root. For example, this allows +you to process only chapter 4 of a book. +Because the entire document is available to the processor, automatic +numbering, cross references, and other dependencies are correctly +resolved. + + + + + +Meta/*Info + + +make.single.year.ranges +boolean + + +make.single.year.ranges +Print single-year ranges (e.g., 1998-1999) + + + + +<xsl:param name="make.single.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, year ranges that span a single year will be printed +in range notation (1998-1999) instead of discrete notation +(1998, 1999). + + + + + + +make.year.ranges +boolean + + +make.year.ranges +Collate copyright years into ranges? + + + +<xsl:param name="make.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, multiple copyright year elements will be +collated into ranges. +This works only if each year number is put into a separate +year element. The copyright element permits multiple +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. + + + + + + + +author.othername.in.middle +boolean + + +author.othername.in.middle +Is othername in author a +middle name? + + + + +<xsl:param name="author.othername.in.middle" select="1"></xsl:param> + + +Description + +If non-zero, the othername of an author +appears between the firstname and +surname. Otherwise, othername +is suppressed. + + + + + + +Reference Pages + + +funcsynopsis.decoration +boolean + + +funcsynopsis.decoration +Decorate elements of a funcsynopsis? + + + + +<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param> + + + +Description + +If non-zero, elements of the funcsynopsis will be +decorated (e.g. rendered as bold or italic text). The decoration is controlled by +templates that can be redefined in a customization layer. + + + + + + + +funcsynopsis.style +list +ansi +kr + + +funcsynopsis.style +What style of funcsynopsis should be generated? + + + +<xsl:param name="funcsynopsis.style">kr</xsl:param> + + +Description + +If funcsynopsis.style is ansi, +ANSI-style function synopses are generated for a +funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + + + +function.parens +boolean + + +function.parens +Generate parens after a function? + + + + +<xsl:param name="function.parens" select="0"></xsl:param> + + + +Description + +If non-zero, the formatting of a function element +will include generated parentheses. + + + + + + + +refentry.generate.name +boolean + + +refentry.generate.name +Output NAME header before refnames? + + + + +<xsl:param name="refentry.generate.name" select="1"></xsl:param> + + + +Description + +If non-zero, a "NAME" section title is output before the list +of refnames. This parameter and +refentry.generate.title are mutually +exclusive. This means that if you change this parameter to zero, you +should set refentry.generate.title to non-zero unless +you want get quite strange output. + + + + + + + +refentry.generate.title +boolean + + +refentry.generate.title +Output title before refnames? + + + + +<xsl:param name="refentry.generate.title" select="0"></xsl:param> + + + +Description + +If non-zero, the reference page title or first name is +output before the list of refnames. This parameter and +refentry.generate.name are mutually exclusive. +This means that if you change this parameter to non-zero, you +should set refentry.generate.name to zero unless +you want get quite strange output. + + + + + + + +refentry.pagebreak +boolean + + +refentry.pagebreak +Start each refentry on a new page + + + +<xsl:param name="refentry.pagebreak" select="1"></xsl:param> + + +Description + +If non-zero (the default), each refentry +element will start on a new page. If zero, a page +break will not be generated between refentry elements. +The exception is when the refentry elements are children of +a part element, in which case the page breaks are always +retained. That is because a part element does not generate +a page-sequence for its children, so each refentry must +start its own page-sequence. + + + + + + + +refentry.title.properties +attribute set + + +refentry.title.properties +Title properties for a refentry title + + + + +<xsl:attribute-set name="refentry.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-size">18pt</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> + <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +Formatting properties applied to the title generated for the +refnamediv part of output for +refentry when the value of the +refentry.generate.title parameter is +non-zero. The font size is supplied by the appropriate section.levelX.title.properties +attribute-set, computed from the location of the +refentry in the section hierarchy. + + + This parameter has no effect on the the title generated for + the refnamediv part of output for + refentry when the value of the + refentry.generate.name parameter is + non-zero. By default, that title is formatted with the same + properties as the titles for all other first-level children of + refentry. + + + + + + + +refentry.xref.manvolnum +boolean + + +refentry.xref.manvolnum +Output manvolnum as part of +refentry cross-reference? + + + + +<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param> + + + +Description + +if non-zero, the manvolnum is used when cross-referencing +refentrys, either with xref +or citerefentry. + + + + + + + +refclass.suppress +boolean + + +refclass.suppress +Suppress display of refclass contents? + + + + +<xsl:param name="refclass.suppress" select="0"></xsl:param> + + +Description + +If the value of refclass.suppress is +non-zero, then display of refclass contents is +suppressed in output. + + + + + +Tables + + +default.table.width +length + + +default.table.width +The default width of tables + + + +<xsl:param name="default.table.width"></xsl:param> + + +Description +If non-zero, this value will be used for the +width attribute on tables that do not specify an +alternate width (with the dbhtml table-width or +dbfo table-width processing instruction). + + + + + +nominal.table.width +length + + +nominal.table.width +The (absolute) nominal width of tables + + + + +<xsl:param name="nominal.table.width">6in</xsl:param> + + + +Description + +In order to convert CALS column widths into HTML column widths, it +is sometimes necessary to have an absolute table width to use for conversion +of mixed absolute and relative widths. This value must be an absolute +length (not a percentage). + + + + + + +default.table.frame +string + + +default.table.frame +The default framing of tables + + + + +<xsl:param name="default.table.frame">all</xsl:param> + + + +Description + +This value will be used when there is no frame attribute on the +table. + + + + + + +default.table.rules +string + + +default.table.rules +The default column and row rules for tables using HTML markup + + + + +<xsl:param name="default.table.rules">none</xsl:param> + + + +Description + +Tables using HTML markup elements can use an attribute +named rules on the table or +informaltable element +to specify whether column and row border rules should be +displayed. This parameter lets you specify a global default +style for all HTML tables that don't otherwise have +that attribute. +These are the supported values: + + +all + +Rules will appear between all rows and columns. + + + +rows + +Rules will appear between rows only. + + + +cols + +Rules will appear between columns only. + + + +groups + +Rules will appear between row groups (thead, tfoot, tbody). +No support for rules between column groups yet. + + + + +none + +No rules. This is the default value. + + + + + + +The border after the last row and the border after +the last column are not affected by +this setting. Those borders are controlled by +the frame attribute on the table element. + + + + + + + +table.cell.padding +attribute set + + +table.cell.padding +Specifies the padding of table cells + + + + +<xsl:attribute-set name="table.cell.padding"> + <xsl:attribute name="padding-start">2pt</xsl:attribute> + <xsl:attribute name="padding-end">2pt</xsl:attribute> + <xsl:attribute name="padding-top">2pt</xsl:attribute> + <xsl:attribute name="padding-bottom">2pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies the padding of table cells. + + + + + + +table.frame.border.thickness +length + + +table.frame.border.thickness +Specifies the thickness of the frame border + + + + +<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param> + + + +Description + +Specifies the thickness of the border on the table's frame. + + + + + + +table.frame.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.frame.border.style +Specifies the border style of table frames + + + + +<xsl:param name="table.frame.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table frames. + + + + + + +table.frame.border.color +color + + +table.frame.border.color +Specifies the border color of table frames + + + + + +<xsl:param name="table.frame.border.color">black</xsl:param> + + + +Description + +Specifies the border color of table frames. + + + + + + +table.cell.border.thickness +length + + +table.cell.border.thickness +Specifies the thickness of table cell borders + + + + +<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param> + + + +Description + +If non-zero, specifies the thickness of borders on table +cells. The units are points. See +CSS + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.cell.border.style +Specifies the border style of table cells + + + + +<xsl:param name="table.cell.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table cells. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.color +color + + +table.cell.border.color +Specifies the border color of table cells + + + + + +<xsl:param name="table.cell.border.color">black</xsl:param> + + + +Description + +Set the color of table cell borders. If non-zero, the value is used +for the border coloration. See CSS. A +color is either a keyword or a numerical RGB specification. +Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, +navy, olive, orange, purple, red, silver, teal, white, and +yellow. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.table.properties +attribute set + + +table.table.properties +Properties associated with a table + + + + +<xsl:attribute-set name="table.table.properties"> + <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute> + <xsl:attribute name="border-collapse">collapse</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for tables. This parameter should really +have been called table.properties, but that parameter +name was inadvertently established for the block-level properties +of the table as a whole. + + +See also table.properties. + + + + + + +table.caption.properties +attribute set + + +table.caption.properties +Properties associated with a table caption + + + + +<xsl:attribute-set name="table.caption.properties"> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for table caption element (not the table title). + +See also table.properties. + + + + + +Linking + + +current.docid +string + + +current.docid +targetdoc identifier for the document being +processed + + +<xsl:param name="current.docid"></xsl:param> + + +Description + +When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet +the targetdoc identifier of the current document, since that +identifier does not appear in the document itself. +This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature. + + + + + +activate.external.olinks +boolean + + +activate.external.olinks +Make external olinks into active links + + + + +<xsl:param name="activate.external.olinks" select="1"></xsl:param> + + + +Description + +If activate.external.olinks is nonzero +(the default), then any olinks that reference another document +become active links that can be clicked on to follow the link. +If the parameter is set to zero, then external olinks +will have the appropriate link text generated, but the link is +not made active. Olinks to destinations in +the current document remain active. + +To make an external olink active for HTML +outputs, the link text is wrapped in an a +element with an href attribute. To +make an external olink active for FO outputs, the link text is +wrapped in an fo:basic-link element with an +external-destination attribute. + +This parameter is useful when you need external olinks +to resolve but not be clickable. For example, if documents +in a collection are available independently of each other, +then having active links between them could lead to +unresolved links when a given target document is missing. + +The epub stylesheets set this parameter to zero by default +because there is no standard linking mechanism between Epub documents. + +If external links are made inactive, you should +consider setting the +stylesheet parameter olink.doctitle +to yes. That will append the external document's +title to the link text, making it easier for the user to +locate the other document. + +An olink is considered external when the +current.docid stylesheet parameter +is set to some value, and the olink's targetdoc +attribute has a different value. If the two values +match, then the link is considered internal. If the +current.docid parameter is blank, or +the olink element does not have a targetdoc attribute, +then the link is considered to be internal and will become +an active link. + +See also olink.doctitle, +prefer.internal.olink. + + + + + + +collect.xref.targets +list +no +yes +only + + +collect.xref.targets +Controls whether cross reference data is +collected + + +<xsl:param name="collect.xref.targets">no</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. +See also targets.filename. + + + + + + +insert.olink.page.number +list +no +yes +maybe + + +insert.olink.page.number +Turns page numbers in olinks on and off + + + + +<xsl:param name="insert.olink.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references made between documents with +olink will +include page number citations. +In most cases this is only applicable to references in printed output. + +The parameter has three possible values. + + + +no +No page number references will be generated for olinks. + + + +yes +Page number references will be generated +for all olink references. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an olink element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + +Olinks that point to targets within the same document +are treated as xrefs, and controlled by +the insert.xref.page.number parameter. + + +Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(div or obj) +must have a page attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. + + + + + + + + + +insert.olink.pdf.frag +boolean + + +insert.olink.pdf.frag +Add fragment identifiers for links into PDF files + + + + +<xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param> + + + +Description + +The value of this parameter determines whether +the cross reference URIs to PDF documents made with +olink will +include fragment identifiers. + + +When forming a URI to link to a PDF document, +a fragment identifier (typically a '#' followed by an +id value) appended to the PDF filename can be used by +the PDF viewer to open +the PDF file to a location within the document instead of +the first page. +However, not all PDF files have id +values embedded in them, and not all PDF viewers can +handle fragment identifiers. + + +If insert.olink.pdf.frag is set +to a non-zero value, then any olink targeting a +PDF file will have the fragment identifier appended to the URI. +The URI is formed by concatenating the value of the +olink.base.uri parameter, the +value of the baseuri +attribute from the document +element in the olink database with the matching +targetdoc value, +and the value of the href +attribute for the targeted element in the olink database. +The href attribute +contains the fragment identifier. + + +If insert.olink.pdf.frag is set +to zero (the default value), then +the href attribute +from the olink database +is not appended to PDF olinks, so the fragment identifier is left off. +A PDF olink is any olink for which the +baseuri attribute +from the matching document +element in the olink database ends with '.pdf'. +Any other olinks will still have the fragment identifier added. + + + + + + +olink.base.uri +uri + + +olink.base.uri +Base URI used in olink hrefs + + +<xsl:param name="olink.base.uri"></xsl:param> + + +Description + +When cross reference data is collected for resolving olinks, it +may be necessary to prepend a base URI to each target's href. This +parameter lets you set that base URI when cross reference data is +collected. This feature is needed when you want to link to a document +that is processed without chunking. The output filename for such a +document is not known to the XSL stylesheet; the only target +information consists of fragment identifiers such as +#idref. To enable the resolution of olinks between +documents, you should pass the name of the HTML output file as the +value of this parameter. Then the hrefs recorded in the cross +reference data collection look like +outfile.html#idref, which can be reached as links +from other documents. + + + + + +olink.debug +boolean + + +olink.debug +Turn on debugging messages for olinks + + + + +<xsl:param name="olink.debug" select="0"></xsl:param> + + + +Description + +If non-zero, then each olink will generate several +messages about how it is being resolved during processing. +This is useful when an olink does not resolve properly +and the standard error messages are not sufficient to +find the problem. + + +You may need to read through the olink XSL templates +to understand the context for some of the debug messages. + + + + + + + +olink.doctitle +list +no +yes +maybe + + +olink.doctitle +show the document title for external olinks? + + + +<xsl:param name="olink.doctitle">no</xsl:param> + + +Description + +When olinks between documents are resolved, the generated text +may not make it clear that the reference is to another document. +It is possible for the stylesheets to append the other document's +title to external olinks. For this to happen, two parameters must +be set. + + +This olink.doctitle parameter +should be set to either yes or maybe +to enable this feature. + + + +And you should also set the current.docid +parameter to the document id for the document currently +being processed for output. + + + + + +Then if an olink's targetdoc id differs from +the current.docid value, the stylesheet knows +that it is a reference to another document and can +append the target document's +title to the generated olink text. + +The text for the target document's title is copied from the +olink database from the ttl element +of the top-level div for that document. +If that ttl element is missing or empty, +no title is output. + + +The supported values for olink.doctitle are: + + + +yes + + +Always insert the title to the target document if it is not +the current document. + + + + +no + + +Never insert the title to the target document, even if requested +in an xrefstyle attribute. + + + + +maybe + + +Only insert the title to the target document, if requested +in an xrefstyle attribute. + + + + +An xrefstyle attribute +may override the global setting for individual olinks. +The following values are supported in an +xrefstyle +attribute using the select: syntax: + + + + +docname + + +Insert the target document name for this olink using the +docname gentext template, but only +if the value of olink.doctitle +is not no. + + + + +docnamelong + + +Insert the target document name for this olink using the +docnamelong gentext template, but only +if the value of olink.doctitle +is not no. + + + + +nodocname + + +Omit the target document name even if +the value of olink.doctitle +is yes. + + + + +Another way of inserting the target document name +for a single olink is to employ an +xrefstyle +attribute using the template: syntax. +The %o placeholder (the letter o, not zero) +in such a template +will be filled in with the target document's title when it is processed. +This will occur regardless of +the value of olink.doctitle. + +Note that prior to version 1.66 of the XSL stylesheets, +the allowed values for this parameter were 0 and 1. Those +values are still supported and mapped to 'no' and 'yes', respectively. + + + + + + +olink.lang.fallback.sequence +string + + +olink.lang.fallback.sequence +look up translated documents if olink not found? + + + +<xsl:param name="olink.lang.fallback.sequence"></xsl:param> + + +Description + + +This parameter defines a list of lang values +to search among to resolve olinks. + + +Normally an olink tries to resolve to a document in the same +language as the olink itself. The language of an olink +is determined by its nearest ancestor element with a +lang attribute, otherwise the +value of the l10n.gentext.default.lang +parameter. + + +An olink database can contain target data for the same +document in multiple languages. Each set of data has the +same value for the targetdoc attribute in +the document element in the database, but with a +different lang attribute value. + + +When an olink is being resolved, the target is first +sought in the document with the same language as the olink. +If no match is found there, then this parameter is consulted +for additional languages to try. + +The olink.lang.fallback.sequence +must be a whitespace separated list of lang values to +try. The first one with a match in the olink database is used. +The default value is empty. + +For example, a document might be written in German +and contain an olink with +targetdoc="adminguide". +When the document is processed, the processor +first looks for a target dataset in the +olink database starting with: + +<document targetdoc="adminguide" lang="de">. + + +If there is no such element, then the +olink.lang.fallback.sequence +parameter is consulted. +If its value is, for example, fr en, then the processor next +looks for targetdoc="adminguide" lang="fr", and +then for targetdoc="adminguide" lang="en". +If there is still no match, it looks for +targetdoc="adminguide" with no +lang attribute. + + +This parameter is useful when a set of documents is only +partially translated, or is in the process of being translated. +If a target of an olink has not yet been translated, then this +parameter permits the processor to look for the document in +other languages. This assumes the reader would rather have +a link to a document in a different language than to have +a broken link. + + + + + + + +olink.properties +attribute set + + +olink.properties +Properties associated with the cross-reference +text of an olink. + + + + +<xsl:attribute-set name="olink.properties"> + <xsl:attribute name="show-destination">replace</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the +fo:basic-link element of an olink. It is not applied to the +optional page number or optional title of the external +document. + + + + + + +prefer.internal.olink +boolean + + +prefer.internal.olink +Prefer a local olink reference to an external reference + + + + +<xsl:param name="prefer.internal.olink" select="0"></xsl:param> + + + +Description + +If you are re-using XML content modules in multiple documents, +you may want to redirect some of your olinks. This parameter +permits you to redirect an olink to the current document. + + +For example: you are writing documentation for a product, +which includes 3 manuals: a little installation +booklet (booklet.xml), a user +guide (user.xml), and a reference manual (reference.xml). +All 3 documents begin with the same introduction section (intro.xml) that +contains a reference to the customization section (custom.xml) which is +included in both user.xml and reference.xml documents. + + +How do you write the link to custom.xml in intro.xml +so that it is interpreted correctly in all 3 documents? + +If you use xref, it will fail in user.xml. + +If you use olink (pointing to reference.xml), +the reference in user.xml +will point to the customization section of the reference manual, while it is +actually available in user.xml. + + + +If you set the prefer.internal.olink +parameter to a non-zero value, then the processor will +first look in the olink database +for the olink's targetptr attribute value +in document matching the current.docid +parameter value. If it isn't found there, then +it tries the document in the database +with the targetdoc +value that matches the olink's targetdoc +attribute. + + +This feature permits an olink reference to resolve to +the current document if there is an element +with an id matching the olink's targetptr +value. The current document's olink data must be +included in the target database for this to work. + + +There is a potential for incorrect links if +the same id attribute value is used for different +content in different documents. +Some of your olinks may be redirected to the current document +when they shouldn't be. It is not possible to control +individual olink instances. + + + + + + + +target.database.document +uri + + +target.database.document +Name of master database file for resolving +olinks + + + + <xsl:param name="target.database.document">olinkdb.xml</xsl:param> + + +Description + + +To resolve olinks between documents, the stylesheets use a master +database document that identifies the target datafiles for all the +documents within the scope of the olinks. This parameter value is the +URI of the master document to be read during processing to resolve +olinks. The default value is olinkdb.xml. + +The data structure of the file is defined in the +targetdatabase.dtd DTD. The database file +provides the high level elements to record the identifiers, locations, +and relationships of documents. The cross reference data for +individual documents is generally pulled into the database using +system entity references or XIncludes. See also +targets.filename. + + + + +targets.filename +string + + +targets.filename +Name of cross reference targets data file + + +<xsl:param name="targets.filename">target.db</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter lets you change the name of the generated +file from the default name target.db. +The name must agree with that used in the target database +used to resolve olinks during processing. +See also target.database.document. + + + + + + +use.local.olink.style +boolean + + +use.local.olink.style +Process olinks using xref style of current +document + + +<xsl:param name="use.local.olink.style" select="0"></xsl:param> + +Description + +When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same. + + + + +Cross References + + +insert.xref.page.number +list +no +yes +maybe + + +insert.xref.page.number +Turns page numbers in xrefs on and off + + + + +<xsl:param name="insert.xref.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references (xrefs) in +printed output will +include page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all xref elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an xref element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + + + + + + +xref.properties +attribute set + + +xref.properties +Properties associated with cross-reference text + + + + +<xsl:attribute-set name="xref.properties"> +</xsl:attribute-set> + + + +Description + +This attribute set is used to set properties +on cross reference text. + + + + + + +xref.label-title.separator +string + + +xref.label-title.separator +Punctuation or space separating label from title in xref + + + +<xsl:param name="xref.label-title.separator">: </xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and title, +then the value of this parameter is inserted between +label and title in the output. + + + + + + + +xref.label-page.separator +string + + +xref.label-page.separator +Punctuation or space separating label from page number in xref + + + +<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and page +but no title, +then the value of this parameter is inserted between +label and page number in the output. +If a title is included, then other separators are used. + + + + + + + +xref.title-page.separator +string + + +xref.title-page.separator +Punctuation or space separating title from page number in xref + + + +<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both title and page number, +then the value of this parameter is inserted between +title and page number in the output. + + + + + + + +insert.link.page.number +list +no +yes +maybe + + +insert.link.page.number +Turns page numbers in link elements on and off + + + + +<xsl:param name="insert.link.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references using the link element in +printed output will +include standard page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all link elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for a link element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + +Although the xrefstyle attribute +can be used to turn the page reference on or off, it cannot be +used to control the formatting of the page number as it +can in xref. +In link it will always format with +the style established by the +gentext template with name="page.citation" +in the l:context name="xref". + + + + + +Lists + + +compact.list.item.spacing +attribute set + + +compact.list.item.spacing +What space do you want between list items (when spacing="compact")? + + + +<xsl:attribute-set name="compact.list.item.spacing"> + <xsl:attribute name="space-before.optimum">0em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify what spacing you want between each list item when +spacing is +compact. + + + + + +itemizedlist.properties +attribute set + + +itemizedlist.properties +Properties that apply to each list-block generated by itemizedlist. + + + +<xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by itemizedlist. + + + + + +itemizedlist.label.properties +attribute set + + +itemizedlist.label.properties +Properties that apply to each label inside itemized list. + + + +<xsl:attribute-set name="itemizedlist.label.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each label inside itemized list. E.g.: +<xsl:attribute-set name="itemizedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + + + + +itemizedlist.label.width +length + + + itemizedlist.label.width +The default width of the label (bullet) in an itemized list. + + + + + <xsl:param name="itemizedlist.label.width">1.0em</xsl:param> + + + +Description +Specifies the default width of the label (usually a bullet or other +symbol) in an itemized list. You can override the default value on any +particular list with the “dbfo” processing instruction using the +“label-width” pseudoattribute. + + + + + +list.block.properties +attribute set + + +list.block.properties +Properties that apply to each list-block generated by list. + + + +<xsl:attribute-set name="list.block.properties"> + <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> + <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by itemizedlist/orderedlist. + + + + + +list.block.spacing +attribute set + + +list.block.spacing +What spacing do you want before and after lists? + + + +<xsl:attribute-set name="list.block.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. + + + + + +list.item.spacing +attribute set + + +list.item.spacing +What space do you want between list items? + + + +<xsl:attribute-set name="list.item.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify what spacing you want between each list item. + + + + + +orderedlist.properties +attribute set + + +orderedlist.properties +Properties that apply to each list-block generated by orderedlist. + + + +<xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties"> + <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to each fo:list-block generated by orderedlist. + + + + + +orderedlist.label.properties +attribute set + + +orderedlist.label.properties +Properties that apply to each label inside ordered list. + + + +<xsl:attribute-set name="orderedlist.label.properties"> +</xsl:attribute-set> + +Description +Properties that apply to each label inside ordered list. E.g.: +<xsl:attribute-set name="orderedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + + + + +orderedlist.label.width +length + + +orderedlist.label.width +The default width of the label (number) in an ordered list. + + + + +<xsl:param name="orderedlist.label.width">1.2em</xsl:param> + + + +Description +Specifies the default width of the label (usually a number or +sequence of numbers) in an ordered list. You can override the default +value on any particular list with the “dbfo” processing instruction +using the “label-width” pseudoattribute. + + + + + +variablelist.max.termlength +number + + +variablelist.max.termlength +Specifies the longest term in variablelists + + + + +<xsl:param name="variablelist.max.termlength">24</xsl:param> + + + +Description + +In variablelists, the listitem +is indented to leave room for the +term elements. That indent may be computed +if it is not specified with a termlength +attribute on the variablelist element. + + +The computation counts characters in the +term elements in the list +to find the longest term. However, some terms are very long +and would produce extreme indents. This parameter lets you +set a maximum character count. Any terms longer than the maximum +would line wrap. The default value is 24. + + +The character counts are converted to physical widths +by multiplying by 0.50em. There will be some variability +in how many actual characters fit in the space +since some characters are wider than others. + + + + + + + +variablelist.term.separator +string + + +variablelist.term.separator +Text to separate terms within a multi-term +varlistentry + + + + +<xsl:param name="variablelist.term.separator">, </xsl:param> + + +Description + +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is placed +after each term except the last. + + + To generate a line break between multiple terms in + a varlistentry, set a non-zero value for the + variablelist.term.break.after parameter. If + you do so, you may also want to set the value of the + variablelist.term.separator parameter to an + empty string (to suppress rendering of the default comma and space + after each term). + + + + + + + +variablelist.term.properties +attribute set + + +variablelist.term.properties +To add properties to the term elements in a variablelist. + + + + +<xsl:attribute-set name="variablelist.term.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +term in a variablelist. +Use this attribute-set to set +font properties or alignment, for example. + + + + + + +variablelist.term.break.after +boolean + + +variablelist.term.break.after +Generate line break after each term within a +multi-term varlistentry? + + + + +<xsl:param name="variablelist.term.break.after">0</xsl:param> + + +Description + +Set a non-zero value for the +variablelist.term.break.after parameter to +generate a line break between terms in a +multi-term varlistentry. + + +If you set a non-zero value for +variablelist.term.break.after, you may also +want to set the value of the +variablelist.term.separator parameter to an +empty string (to suppress rendering of the default comma and space +after each term). + + + + + + +QAndASet + + +qandadiv.autolabel +boolean + + +qandadiv.autolabel +Are divisions in QAndASets enumerated? + + + +<xsl:param name="qandadiv.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, unlabeled qandadivs will be enumerated. + + + + + + + +qanda.inherit.numeration +boolean + + +qanda.inherit.numeration +Does enumeration of QandASet components inherit the numeration of parent elements? + + + + +<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param> + + + +Description + +If non-zero, numbered qandadiv elements and +question and answer inherit the enumeration of +the ancestors of the qandaset. + + + + + + + +qanda.defaultlabel +list +number +qanda +none + + +qanda.defaultlabel +Sets the default for defaultlabel on QandASet. + + + + +<xsl:param name="qanda.defaultlabel">number</xsl:param> + + + +Description + +If no defaultlabel attribute is specified on +a qandaset, this value is used. It is generally one of the legal +values for the defaultlabel attribute (none, +number or +qanda), or one of the additional stylesheet-specific values +(qnumber or qnumberanda). +The default value is 'number'. + +The values are rendered as follows: + +qanda + +questions are labeled "Q:" and +answers are labeled "A:". + + + +number + +The questions are enumerated and the answers +are not labeled. + + + +qnumber + +The questions are labeled "Q:" followed by a number, and answers are not +labeled. +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +qnumberanda + +The questions are labeled "Q:" followed by a number, and +the answers are labeled "A:". +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +none + +No distinguishing label precedes Questions or Answers. + + + + + + + + + + +qanda.in.toc +boolean + + +qanda.in.toc +Should qandaentry questions appear in +the document table of contents? + + + +<xsl:param name="qanda.in.toc" select="0"></xsl:param> + + +Description + +If true (non-zero), then the generated table of contents +for a document will include qandaset titles, +qandadiv titles, +and question elements. The default value (zero) excludes +them from the TOC. + +This parameter does not affect any tables of contents +that may be generated inside a qandaset or qandadiv. + + + + + + + +qanda.nested.in.toc +boolean + + +qanda.nested.in.toc +Should nested answer/qandaentry instances appear in TOC? + + + + +<xsl:param name="qanda.nested.in.toc" select="0"></xsl:param> + + + +Description + +If non-zero, instances of qandaentry +that are children of answer elements are shown in +the TOC. + + + + + +Bibliography + + +bibliography.style +list +normal +iso690 + + +bibliography.style +Style used for formatting of biblioentries. + + + + +<xsl:param name="bibliography.style">normal</xsl:param> + + + +Description + +Currently only normal and +iso690 styles are supported. + +In order to use ISO690 style to the full extent you might need +to use additional markup described on the +following WiKi page. + + + + + + +biblioentry.item.separator +string + + +biblioentry.item.separator +Text to separate bibliography entries + + + +<xsl:param name="biblioentry.item.separator">. </xsl:param> + + +Description + +Text to separate bibliography entries + + + + + + + +bibliography.collection +string + + +bibliography.collection +Name of the bibliography collection file + + + + +<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param> + + + + +Description + +Maintaining bibliography entries across a set of documents is tedious, time +consuming, and error prone. It makes much more sense, usually, to store all of +the bibliography entries in a single place and simply extract +the ones you need in each document. + +That's the purpose of the +bibliography.collection parameter. To setup a global +bibliography database, follow these steps: + +First, create a stand-alone bibliography document that contains all of +the documents that you wish to reference. Make sure that each bibliography +entry (whether you use biblioentry or bibliomixed) +has an ID. + +My global bibliography, ~/bibliography.xml begins +like this: + + +<!DOCTYPE bibliography + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<bibliography><title>References</title> + +<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, +Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup +Language (XML) 1.0 Second Edition</ulink></citetitle>. +World Wide Web Consortium, 2000. +</bibliomixed> + +<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, +Dave Hollander, +and Andrew Layman, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in +XML</ulink></citetitle>. +World Wide Web Consortium, 1999. +</bibliomixed> + +<!-- ... --> +</bibliography> + + + +When you create a bibliography in your document, simply +provide empty bibliomixed +entries for each document that you wish to cite. Make sure that these +elements have the same ID as the corresponding real +entry in your global bibliography. + +For example: + + +<bibliography><title>Bibliography</title> + +<bibliomixed id="xml-rec"/> +<bibliomixed id="xml-names"/> +<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and +Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, +1986. ISBN 0-201-13437-3. +</bibliomixed> +<bibliomixed id="relaxng"/> + +</bibliography> + + +Note that it's perfectly acceptable to mix entries from your +global bibliography with normal entries. You can use +xref or other elements to cross-reference your +bibliography entries in exactly the same way you do now. + +Finally, when you are ready to format your document, simply set the +bibliography.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global bibliography. + +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the bibliography in your document as if +all of the entries referenced appeared there literally. + + + + + + +bibliography.numbered +boolean + + +bibliography.numbered +Should bibliography entries be numbered? + + + + +<xsl:param name="bibliography.numbered" select="0"></xsl:param> + + + +Description + +If non-zero bibliography entries will be numbered + + + + + + + biblioentry.properties + attribute set + + +biblioentry.properties +To set the style for biblioentry. + + + +<xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing"> + <xsl:attribute name="start-indent">0.5in</xsl:attribute> + <xsl:attribute name="text-indent">-0.5in</xsl:attribute> +</xsl:attribute-set> + + +Description +How do you want biblioentry styled? +Set the font-size, weight, space-above and space-below, indents, etc. to the style required + + + + + +Glossary + + +glossterm.auto.link +boolean + + +glossterm.auto.link +Generate links from glossterm to glossentry automatically? + + + + +<xsl:param name="glossterm.auto.link" select="0"></xsl:param> + + + +Description + +If non-zero, links from inline glossterms to the corresponding +glossentry elements in a glossary or glosslist +will be automatically generated. This is useful when your glossterms are consistent +and you don't want to add links manually. + +The automatic link generation feature is not used on glossterm elements +that have a linkend attribute. + + + + + + +firstterm.only.link +boolean + + +firstterm.only.link +Does automatic glossterm linking only apply to firstterms? + + + + +<xsl:param name="firstterm.only.link" select="0"></xsl:param> + + + +Description + +If non-zero, only firstterms will be automatically linked +to the glossary. If glossary linking is not enabled, this parameter +has no effect. + + + + + + +glossary.collection +string + + +glossary.collection +Name of the glossary collection file + + + + +<xsl:param name="glossary.collection"></xsl:param> + + + +Description + +Glossaries maintained independently across a set of documents +are likely to become inconsistent unless considerable effort is +expended to keep them in sync. It makes much more sense, usually, to +store all of the glossary entries in a single place and simply +extract the ones you need in each document. + +That's the purpose of the +glossary.collection parameter. To setup a global +glossary database, follow these steps: + +Setting Up the Glossary Database + +First, create a stand-alone glossary document that contains all of +the entries that you wish to reference. Make sure that each glossary +entry has an ID. + +Here's an example glossary: + + + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glossary + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<glossary> +<glossaryinfo> +<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> +<title>Jargon File 4.2.3 (abridged)</title> +<releaseinfo>Just some test data</releaseinfo> +</glossaryinfo> + +<glossdiv><title>0</title> + +<glossentry> +<glossterm>0</glossterm> +<glossdef> +<para>Numeric zero, as opposed to the letter `O' (the 15th letter of +the English alphabet). In their unmodified forms they look a lot +alike, and various kluges invented to make them visually distinct have +compounded the confusion. If your zero is center-dotted and letter-O +is not, or if letter-O looks almost rectangular but zero looks more +like an American football stood on end (or the reverse), you're +probably looking at a modern character display (though the dotted zero +seems to have originated as an option on IBM 3270 controllers). If +your zero is slashed but letter-O is not, you're probably looking at +an old-style ASCII graphic set descended from the default typewheel on +the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, +curse this arrangement). (Interestingly, the slashed zero long +predates computers; Florian Cajori's monumental "A History of +Mathematical Notations" notes that it was used in the twelfth and +thirteenth centuries.) If letter-O has a slash across it and the zero +does not, your display is tuned for a very old convention used at IBM +and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> +arrangement even more, because it means two of their letters collide). +Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> +slash. Old CDC computers rendered letter O as an unbroken oval and 0 +as an oval broken at upper right and lower left. And yet another +convention common on early line printers left zero unornamented but +added a tail or hook to the letter-O so that it resembled an inverted +Q or cursive capital letter-O (this was endorsed by a draft ANSI +standard for how to draw ASCII characters, but the final standard +changed the distinguisher to a tick-mark in the upper-left corner). +Are we sufficiently confused yet?</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm>1TBS</glossterm> +<glossdef> +<para role="accidence"> +<phrase role="pronounce"></phrase> +<phrase role="partsofspeach">n</phrase> +</para> +<para>The "One True Brace Style"</para> +<glossseealso>indent style</glossseealso> +</glossdef> +</glossentry> + +<!-- ... --> + +</glossdiv> + +<!-- ... --> + +</glossary> + + + + +Marking Up Glossary Terms + +That takes care of the glossary database, now you have to get the entries +into your document. Unlike bibliography entries, which can be empty, creating +placeholder glossary entries would be very tedious. So instead, +support for glossary.collection relies on implicit linking. + +In your source document, simply use firstterm and +glossterm to identify the terms you wish to have included +in the glossary. The stylesheets assume that you will either set the +baseform attribute correctly, or that the +content of the element exactly matches a term in your glossary. + +If you're using a glossary.collection, don't +make explicit links on the terms in your document. + +So, in your document, you might write things like this: + + +<para>This is dummy text, without any real meaning. +The point is simply to reference glossary terms like <glossterm>0</glossterm> +and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. +The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly +religious issue.</para> + + +If you set the firstterm.only.link parameter, +only the terms marked with firstterm will be links. +Otherwise, all the terms will be linked. + + + +Marking Up the Glossary + +The glossary itself has to be identified for the stylesheets. For lack +of a better choice, the role is used. +To identify the glossary as the target for automatic processing, set +the role to auto. The title of this +glossary (and any other information from the glossaryinfo +that's rendered by your stylesheet) will be displayed, but the entries will +come from the database. + + +Unfortunately, the glossary can't be empty, so you must put in +at least one glossentry. The content of this entry +is irrelevant, it will not be rendered: + + +<glossary role="auto"> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + +What about glossary divisions? If your glossary database has glossary +divisions and your automatic glossary contains at least +one glossdiv, the automic glossary will have divisions. +If the glossdiv is missing from either location, no divisions +will be rendered. + +Glossary entries (and divisions, if appropriate) in the glossary will +occur in precisely the order they occur in your database. + + + +Formatting the Document + +Finally, when you are ready to format your document, simply set the +glossary.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global glossary. + +A relative path in the parameter is interpreted in one +of two ways: + + + If the parameter glossterm.auto.link + is set to zero, then the path is relative to the file containing + the empty glossary element in the document. + + + If the parameter glossterm.auto.link + is set to non-zero, then the path is relative to the file containing + the first inline glossterm or + firstterm in the document to be linked. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the glossary in your document as if +all of the entries implicilty referenced appeared there literally. + + +Limitations + +Glossary cross-references within the glossary are +not supported. For example, this will not work: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + +If you put glossary cross-references in your glossary that way, +you'll get the cryptic error: Warning: +glossary.collection specified, but there are 0 automatic +glossaries. + +Instead, you must do two things: + + + +Markup your glossary using glossseealso: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + + + +Make sure there is at least one glossterm reference to +gloss-2 in your document. The +easiest way to do that is probably within a remark in your +automatic glossary: + + +<glossary role="auto"> +<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + + + + + + + + + +glossary.as.blocks +boolean + + +glossary.as.blocks +Present glossarys using blocks instead of lists? + + + + +<xsl:param name="glossary.as.blocks" select="0"></xsl:param> + + + +Description + +If non-zero, glossarys will be formatted as +blocks. + +If you have long glossterms, proper list +markup in the FO case may produce unattractive lists. By setting this +parameter, you can force the stylesheets to produce block markup +instead of proper lists. + +You can override this setting with a processing instruction as the +child of glossary: dbfo +glossary-presentation="blocks" or dbfo +glossary-presentation="list" + + + + + + +glosslist.as.blocks +boolean + + +glosslist.as.blocks +Use blocks for glosslists? + + + + +<xsl:param name="glosslist.as.blocks" select="0"></xsl:param> + + + +Description + +See glossary.as.blocks. + + + + + + +glossentry.list.item.properties +attribute set + + +glossentry.list.item.properties +To add properties to each glossentry in a list. + + + +<xsl:attribute-set name="glossentry.list.item.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the fo:list-item containing a +glossentry in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +spacing between entries, for example. + + + + + + +glossterm.block.properties +attribute set + + +glossterm.block.properties +To add properties to the block of a glossentry's glossterm. + + + +<xsl:attribute-set name="glossterm.block.properties"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +font properties, +and any indent for the glossary term. + + + + + + +glossdef.block.properties +attribute set + + +glossdef.block.properties +To add properties to the block of a glossary definition. + + + +<xsl:attribute-set name="glossdef.block.properties"> + <xsl:attribute name="margin-{$direction.align.start}">.25in</xsl:attribute> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +any font properties, +and any indent for the glossary definition. + + + + + + +glossterm.list.properties +attribute set + + +glossterm.list.properties +To add properties to the glossterm in a list. + + + + +<xsl:attribute-set name="glossterm.list.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +font properties, for example. + + + + + + +glossdef.list.properties +attribute set + + +glossdef.list.properties +To add properties to the glossary definition in a list. + + + + +<xsl:attribute-set name="glossdef.list.properties"> +</xsl:attribute-set> + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is zero. +Use this attribute-set to set font properties, for example. + + + + + + +glossterm.width +length + + +glossterm.width +Width of glossterm in list presentation mode + + + + +<xsl:param name="glossterm.width">2in</xsl:param> + + + +Description + +This parameter specifies the width reserved for glossary terms when +a list presentation is used. + + + + + + +glossterm.separation +length + + +glossterm.separation +Separation between glossary terms and descriptions in list mode + + + + +<xsl:param name="glossterm.separation">0.25in</xsl:param> + + + +Description + +Specifies the miminum horizontal +separation between glossary terms and descriptions when +they are presented side-by-side using lists +when the glossary.as.blocks +is zero. + + + + + + +glossentry.show.acronym +list +no +yes +primary + + +glossentry.show.acronym +Display glossentry acronyms? + + + + +<xsl:param name="glossentry.show.acronym">no</xsl:param> + + + +Description + +A setting of yes means they should be displayed; +no means they shouldn't. If primary is used, +then they are shown as the primary text for the entry. + + +This setting controls both acronym and +abbrev elements in the glossentry. + + + + + + + +glossary.sort +boolean + + +glossary.sort +Sort glossentry elements? + + + + +<xsl:param name="glossary.sort" select="0"></xsl:param> + + + +Description + +If non-zero, then the glossentry elements within a +glossary, glossdiv, or glosslist are sorted on the glossterm, using +the current lang setting. If zero (the default), then +glossentry elements are not sorted and are presented +in document order. + + + + + + +Miscellaneous + + +formal.procedures +boolean + + +formal.procedures +Selects formal or informal procedures + + + + +<xsl:param name="formal.procedures" select="1"></xsl:param> + + + +Description + +Formal procedures are numbered and always have a title. + + + + + + + +formal.title.placement +table + + +formal.title.placement +Specifies where formal object titles should occur + + + + +<xsl:param name="formal.title.placement"> +figure before +example before +equation before +table before +procedure before +task before +</xsl:param> + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + + + + +runinhead.default.title.end.punct +string + + +runinhead.default.title.end.punct +Default punctuation character on a run-in-head + + + +<xsl:param name="runinhead.default.title.end.punct">.</xsl:param> + + + +Description + +If non-zero, For a formalpara, use the specified +string as the separator between the title and following text. The period is the default value. + + + + + + +runinhead.title.end.punct +string + + +runinhead.title.end.punct +Characters that count as punctuation on a run-in-head + + + + +<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param> + + + +Description + +Specify which characters are to be counted as punctuation. These +characters are checked for a match with the last character of the +title. If no match is found, the +runinhead.default.title.end.punct contents are +inserted. This is to avoid duplicated punctuation in the output. + + + + + + + +show.comments +boolean + + +show.comments +Display remark elements? + + + + +<xsl:param name="show.comments" select="1"></xsl:param> + + + +Description + +If non-zero, comments will be displayed, otherwise they +are suppressed. Comments here refers to the remark element +(which was called comment prior to DocBook +4.0), not XML comments (<-- like this -->) which are +unavailable. + + + + + + + +punct.honorific +string + + +punct.honorific +Punctuation after an honorific in a personal name. + + + + +<xsl:param name="punct.honorific">.</xsl:param> + + + +Description + +This parameter specifies the punctuation that should be added after an +honorific in a personal name. + + + + + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + +<xsl:param name="segmentedlist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + + + + +variablelist.as.blocks +boolean + + +variablelist.as.blocks +Format variablelists lists as blocks? + + + + +<xsl:param name="variablelist.as.blocks" select="0"></xsl:param> + + + +Description + +If non-zero, variablelists will be formatted as +blocks. + +If you have long terms, proper list markup in the FO case may produce +unattractive lists. By setting this parameter, you can force the stylesheets +to produce block markup instead of proper lists. + +You can override this setting with a processing instruction as the +child of variablelist: dbfo +list-presentation="blocks" or dbfo +list-presentation="list". + +When using list-presentation="list", +you can also control the amount of space used for the terms with +the dbfo term-width=".25in" processing instruction, +the termlength attribute on variablelist, +or allow the stylesheets to attempt to calculate the amount of space to leave based on the +number of letters in the longest term. + + + <variablelist> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1.5in"?> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a list even if variablelist.as.blocks is set to 1. + </para> + </listitem> + </varlistentry> + </variablelist> + + + + + + + + + blockquote.properties + attribute set + + +blockquote.properties +To set the style for block quotations. + + + + +<xsl:attribute-set name="blockquote.properties"> +<xsl:attribute name="margin-{$direction.align.start}">0.5in</xsl:attribute> +<xsl:attribute name="margin-{$direction.align.end}">0.5in</xsl:attribute> +<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> +<xsl:attribute name="space-after.optimum">1em</xsl:attribute> +<xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The blockquote.properties attribute set specifies +the formating properties of block quotations. + + + + + + +ulink.show +boolean + + +ulink.show +Display URLs after ulinks? + + + + +<xsl:param name="ulink.show" select="1"></xsl:param> + + + +Description + +If non-zero, the URL of each ulink will +appear after the text of the link. If the text of the link and the URL +are identical, the URL is suppressed. + +See also ulink.footnotes. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.show applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + + + + +ulink.footnotes +boolean + + +ulink.footnotes +Generate footnotes for ulinks? + + + + +<xsl:param name="ulink.footnotes" select="0"></xsl:param> + + + +Description + +If non-zero, and if ulink.show also is non-zero, +the URL of each ulink will appear as a footnote. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.footnotes applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + + + + +ulink.hyphenate +string + + +ulink.hyphenate +Allow URLs to be automatically hyphenated + + + + +<xsl:param name="ulink.hyphenate"></xsl:param> + + + +Description + +If not empty, the specified character (or more generally, +content) is added to URLs after every character included in the string +in the ulink.hyphenate.chars parameter (default +is /) to enable hyphenation of ulinks. If the character +in this parameter is a Unicode soft hyphen (0x00AD) or Unicode +zero-width space (0x200B), some FO processors will be able to +reasonably hyphenate long URLs. + +Note that this hyphenation process is only applied when the +ulink element is empty and the url attribute is reused as the link +text. It is not applied if the ulink has literal text content. The +same applies in in DocBook 5, where ulink was replaced with link with +an xlink:href attribute. + + + + + + +ulink.hyphenate.chars +string + + +ulink.hyphenate.chars +List of characters to allow ulink URLs to be automatically +hyphenated on + + + + +<xsl:param name="ulink.hyphenate.chars">/</xsl:param> + + + +Description + +If the ulink.hyphenate parameter is not +empty, then hyphenation of ulinks is turned on, and any character +contained in this parameter is treated as an allowable hyphenation +point. This and ulink.hyphenate work together, +one is pointless without the other being set to a non-empty value + +The default value is /, but the parameter could +be customized to contain other URL characters, as for example: + +<xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param> + + + + + + + +shade.verbatim +boolean + + +shade.verbatim +Should verbatim environments be shaded? + + + +<xsl:param name="shade.verbatim" select="0"></xsl:param> + + +Description + +In the FO stylesheet, if this parameter is non-zero then the +shade.verbatim.style properties will be applied +to verbatim environments. + +In the HTML stylesheet, this parameter is now deprecated. Use +CSS instead. + + + + + + +shade.verbatim.style +attribute set + + +shade.verbatim.style +Properties that specify the style of shaded verbatim listings + + + + + +<xsl:attribute-set name="shade.verbatim.style"> + <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties that specify the style of shaded verbatim listings. The +parameters specified (the border and background color) are added to +the styling of the xsl-fo output. A border might be specified as "thin +black solid" for example. See xsl-fo + + + + + + +hyphenate.verbatim +boolean + + +hyphenate.verbatim +Should verbatim environments be hyphenated on space characters? + + + +<xsl:param name="hyphenate.verbatim" select="0"></xsl:param> + + +Description + +If the lines of program listing are too long to fit into one +line it is quite common to split them at space and indicite by hook +arrow that code continues on the next line. You can turn on this +behaviour for programlisting, +screen and synopsis elements by +using this parameter. + +Note that you must also enable line wrapping for verbatim environments and +select appropriate hyphenation character (e.g. hook arrow). This can +be done using monospace.verbatim.properties +attribute set: + +<xsl:attribute-set name="monospace.verbatim.properties" + use-attribute-sets="verbatim.properties monospace.properties"> + <xsl:attribute name="wrap-option">wrap</xsl:attribute> + <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute> +</xsl:attribute-set> + +For a list of arrows available in Unicode see http://www.unicode.org/charts/PDF/U2190.pdf and http://www.unicode.org/charts/PDF/U2900.pdf and make sure that +selected character is available in the font you are using for verbatim +environments. + + + + + + +hyphenate.verbatim.characters +string + + +hyphenate.verbatim.characters +List of characters after which a line break can occur in listings + + + + +<xsl:param name="hyphenate.verbatim.characters"></xsl:param> + + + +Description + +If you enable hyphenate.verbatim line +breaks are allowed only on space characters. If this is not enough for +your document, you can specify list of additional characters after +which line break is allowed in this parameter. + + + + + + +use.svg +boolean + + +use.svg +Allow SVG in the result tree? + + + + +<xsl:param name="use.svg" select="1"></xsl:param> + + + +Description + +If non-zero, SVG will be considered an acceptable image format. SVG +is passed through to the result tree, so correct rendering of the resulting +diagram depends on the formatter (FO processor or web browser) that is used +to process the output from the stylesheet. + + + + + + +use.role.as.xrefstyle +boolean + + +use.role.as.xrefstyle +Use role attribute for +xrefstyle on xref? + + + + +<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param> + + + +Description + +In DocBook documents that conform to a schema older than V4.3, this parameter allows +role to serve the purpose of specifying the cross reference style. + +If non-zero, the role attribute on +xref will be used to select the cross reference style. +In DocBook V4.3, the xrefstyle attribute was added for this purpose. +If the xrefstyle attribute is present, +role will be ignored, regardless of the setting +of this parameter. + + + +Example + +The following small stylesheet shows how to configure the +stylesheets to make use of the cross reference style: + +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../xsl/html/docbook.xsl"/> + +<xsl:output method="html"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:context name="xref"> + <l:template name="chapter" style="title" text="Chapter %n, %t"/> + <l:template name="chapter" text="Chapter %n"/> + </l:context> + </l:l10n> +</l:i18n> + +</xsl:stylesheet> + +With this stylesheet, the cross references in the following document: + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<book id="book"><title>Book</title> + +<preface> +<title>Preface</title> + +<para>Normal: <xref linkend="ch1"/>.</para> +<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para> + +</preface> + +<chapter id="ch1"> +<title>First Chapter</title> + +<para>Irrelevant.</para> + +</chapter> +</book> + +will appear as: + + +Normal: Chapter 1. +Title: Chapter 1, First Chapter. + + + + + + + +menuchoice.separator +string + + +menuchoice.separator +Separator between items of a menuchoice +other than guimenuitem and +guisubmenu + + + + +<xsl:param name="menuchoice.separator">+</xsl:param> + + + +Description + +Separator used to connect items of a menuchoice other +than guimenuitem and guisubmenu. The latter +elements are linked with menuchoice.menu.separator. + + + + + + + +menuchoice.menu.separator +string + + +menuchoice.menu.separator +Separator between items of a menuchoice +with guimenuitem or +guisubmenu + + + + +<xsl:param name="menuchoice.menu.separator"> → </xsl:param> + + + +Description + +Separator used to connect items of a menuchoice with +guimenuitem or guisubmenu. Other elements +are linked with menuchoice.separator. + +The default value is &#x2192;, which is the +&rarr; (right arrow) character entity. +The current FOP (0.20.5) requires setting the font-family +explicitly. + +The default value also includes spaces around the arrow, +which will allow a line to break. Replace the spaces with +&#xA0; (nonbreaking space) if you don't want those +spaces to break. + + + + + + + +default.float.class +string + + +default.float.class +Specifies the default float class + + + + +<xsl:param name="default.float.class"> + <xsl:choose> + <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when> + <xsl:otherwise>before</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +Selects the direction in which a float should be placed. for +xsl-fo this is before, for html it is left. For Western texts, the +before direction is the top of the page. + + + + + + +footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +footnote.number.format +Identifies the format used for footnote numbers + + + + +<xsl:param name="footnote.number.format">1</xsl:param> + + + +Description + +The footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A). + + + + + + +table.footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +table.footnote.number.format +Identifies the format used for footnote numbers in tables + + + + +<xsl:param name="table.footnote.number.format">a</xsl:param> + + + +Description + +The table.footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A) in tables. + + + + + + +footnote.number.symbols + + + +footnote.number.symbols +Special characters to use as footnote markers + + + + +<xsl:param name="footnote.number.symbols"></xsl:param> + + + +Description + +If footnote.number.symbols is not the empty string, +footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +table.footnote.number.symbols +string + + +table.footnote.number.symbols +Special characters to use a footnote markers in tables + + + + +<xsl:param name="table.footnote.number.symbols"></xsl:param> + + + +Description + +If table.footnote.number.symbols is not the empty string, +table footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +table.footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +footnote.properties +attribute set + + +footnote.properties +Properties applied to each footnote body + + + + + +<xsl:attribute-set name="footnote.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> + <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute> + <xsl:attribute name="start-indent">0pt</xsl:attribute> + <xsl:attribute name="end-indent">0pt</xsl:attribute> + <xsl:attribute name="text-indent">0pt</xsl:attribute> + <xsl:attribute name="hyphenate"><xsl:value-of select="$hyphenate"></xsl:value-of></xsl:attribute> + <xsl:attribute name="wrap-option">wrap</xsl:attribute> + <xsl:attribute name="linefeed-treatment">treat-as-space</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote-block +for each footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all footnotes. + + + + + + +table.footnote.properties +attribute set + + +table.footnote.properties +Properties applied to each table footnote body + + + + + +<xsl:attribute-set name="table.footnote.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> + <xsl:attribute name="space-before">2pt</xsl:attribute> + <xsl:attribute name="text-align"><xsl:value-of select="$alignment"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote-block +for each table footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all table footnotes. + + + + + + +footnote.mark.properties +attribute set + + +footnote.mark.properties +Properties applied to each footnote mark + + + + + +<xsl:attribute-set name="footnote.mark.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-size">75%</xsl:attribute> + <xsl:attribute name="font-weight">normal</xsl:attribute> + <xsl:attribute name="font-style">normal</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the footnote mark used +for each footnote. +It should contain only inline properties. + + +The property to make the mark a superscript is contained in the +footnote template itself, because the current version of FOP reports +an error if baseline-shift is used. + + + + + + + +footnote.sep.leader.properties +attribute set + + +footnote.sep.leader.properties +Properties associated with footnote separators + + + + +<xsl:attribute-set name="footnote.sep.leader.properties"> + <xsl:attribute name="color">black</xsl:attribute> + <xsl:attribute name="leader-pattern">rule</xsl:attribute> + <xsl:attribute name="leader-length">1in</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for the rule line that separates the +footnotes from the body text. +These are properties applied to the fo:leader used as +the separator. + +If you want to do more than just set properties on +the leader element, then you can customize the template +named footnote.separator in +fo/pagesetup.xsl. + + + + + + +xref.with.number.and.title +boolean + + +xref.with.number.and.title +Use number and title in cross references + + + + +<xsl:param name="xref.with.number.and.title" select="1"></xsl:param> + + + +Description + +A cross reference may include the number (for example, the number of +an example or figure) and the title which is a required child of some +targets. This parameter inserts both the relevant number as well as +the title into the link. + + + + + + +superscript.properties +attribute set + + +superscript.properties +Properties associated with superscripts + + + + +<xsl:attribute-set name="superscript.properties"> + <xsl:attribute name="font-size">75%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies styling properties for superscripts. + + + + + + +subscript.properties +attribute set + + +subscript.properties +Properties associated with subscripts + + + + +<xsl:attribute-set name="subscript.properties"> + <xsl:attribute name="font-size">75%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies styling properties for subscripts. + + + + + + +pgwide.properties +attribute set + + +pgwide.properties +Properties to make a figure or table page wide. + + + + + +<xsl:attribute-set name="pgwide.properties"> + <xsl:attribute name="start-indent">0pt</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is used to set the properties +that make a figure or table "page wide" in fo output. +It comes into effect when an attribute pgwide="1" +is used. + + + +By default, it sets start-indent +to 0pt. +In a stylesheet that sets the parameter +body.start.indent +to a non-zero value in order to indent body text, +this attribute set can be used to outdent pgwide +figures to the start margin. + + +If a document uses a multi-column page layout, +then this attribute set could try setting span +to a value of all. However, this may +not work with some processors because a span property must be on an +fo:block that is a direct child of fo:flow. It may work in +some processors anyway. + + + + + + + +highlight.source +boolean + + +highlight.source +Should the content of programlisting +be syntactically highlighted? + + + + +<xsl:param name="highlight.source" select="0"></xsl:param> + + + +Description + +When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the +content of programlisting elements. You specify the language for each programlisting +by using the language attribute. The highlight.default.language +parameter can be used to specify the language for programlistings without a language +attribute. Syntax highlighting also works for screen and synopsis elements. + +The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be +downloaded separately (see below). + + +In order to use this extension, you must + +add xslthl-2.x.x.jar to your Java classpath. The latest version is available +from the XSLT syntax highlighting project +at SourceForge. + + +use a customization layer in which you import one of the following stylesheet modules: + + + html/highlight.xsl + + + + xhtml/highlight.xsl + + + + xhtml-1_1/highlight.xsl + + + + fo/highlight.xsl + + + + + +let either the xslthl.config Java system property or the +highlight.xslthl.config parameter point to the configuration file for syntax +highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file, +highlighting/xslthl-config.xml. + + + +The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is +an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.) + +The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows: + + +java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar +-Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet +-o test.html test.xml myhtml.xsl + + + + + + + +highlight.xslthl.config +uri + + +highlight.xslthl.config +Location of XSLTHL configuration file + + + + +<xsl:param name="highlight.xslthl.config"></xsl:param> + + + +Description + +This location has precedence over the corresponding Java property. + +Please note that usually you have to specify location as URL not +just as a simple path on the local +filesystem. E.g. file:///home/user/xslthl/my-xslthl-config.xml. + + + + + + + + +highlight.default.language +string + + +highlight.default.language +Default language of programlisting + + + + +<xsl:param name="highlight.default.language"></xsl:param> + + + +Description + +This language is used when there is no language attribute on programlisting. + + + + + + +email.delimiters.enabled +boolean + + +email.delimiters.enabled +Generate delimiters around email addresses? + + + + +<xsl:param name="email.delimiters.enabled" select="1"></xsl:param> + + + +Description + +If non-zero, delimiters + +For delimiters, the +stylesheets are currently hard-coded to output angle +brackets. + +are generated around e-mail addresses +(the output of the email element). + + + + + + +email.mailto.enabled +boolean + + +email.mailto.enabled +Generate mailto: links for email addresses? + + + + +<xsl:param name="email.mailto.enabled" select="0"></xsl:param> + + + +Description + +If non-zero the generated output for the email element +will be a clickable mailto: link that brings up the default mail client +on the system. + + + + + + +section.container.element +list +block +wrapper + + +section.container.element +Select XSL-FO element name to contain sections + + + + +<xsl:param name="section.container.element">block</xsl:param> + + + +Description + +Selects the element name for outer container of +each section. The choices are block (default) +or wrapper. +The fo: namespace prefix is added +by the stylesheet to form the full element name. + + +This element receives the section id +attribute and the appropriate section level attribute-set. + + +Changing this parameter to wrapper +is only necessary when producing multi-column output +that contains page-wide spans. Using fo:wrapper +avoids the nesting of fo:block +elements that prevents spans from working (the standard says +a span must be on a block that is a direct child of +fo:flow). + + +If set to wrapper, the +section attribute-sets only support properties +that are inheritable. That's because there is no +block to apply them to. Properties such as +font-family are inheritable, but properties such as +border are not. + + +Only some XSL-FO processors need to use this parameter. +The Antenna House processor, for example, will handle +spans in nested blocks without changing the element name. +The RenderX XEP product and FOP follow the XSL-FO standard +and need to use wrapper. + + + + + + + +monospace.verbatim.font.width +length + + +monospace.verbatim.font.width +Width of a single monospace font character + + + + +<xsl:param name="monospace.verbatim.font.width">0.60em</xsl:param> + + + +Description + +Specifies with em units the width of a single character +of the monospace font. The default value is 0.6em. + +This parameter is only used when a screen +or programlisting element has a +width attribute, which is +expressed as a plain integer to indicate the maximum character count +of each line. +To convert this character count to an actual maximum width +measurement, the width of the font characters must be provided. +Different monospace fonts have different character width, +so this parameter should be adjusted to fit the +monospace font being used. + + + + + + + +exsl.node.set.available +boolean + + +exsl.node.set.available +Is the test function-available('exsl:node-set') true? + + + +<xsl:param name="exsl.node.set.available"> + <xsl:choose> + <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +If non-zero, +then the exsl:node-set() function is available to be used in +the stylesheet. +If zero, then the function is not available. +This param automatically detects the presence of +the function and does not normally need to be set manually. + +This param was created to handle a long-standing +bug in the Xalan processor that fails to detect the +function even though it is available. + + + + + + +bookmarks.collapse +boolean + + +bookmarks.collapse +Specifies the initial state of bookmarks + + + + +<xsl:param name="bookmarks.collapse" select="1"></xsl:param> + + + +Description + +If non-zero, the bookmark tree is collapsed so that only the +top-level bookmarks are displayed initially. Otherwise, the whole tree +of bookmarks is displayed. + +This parameter currently works with FOP 0.93 or later. + + + + + + +generate.consistent.ids +boolean + + +generate.consistent.ids +Generate consistent id values if document is unchanged + + + + +<xsl:param name="generate.consistent.ids" select="0"></xsl:param> + + + +Description + +When the stylesheet assigns an id value to an output element, +the generate-id() function may be used. That function may not +produce consistent values between runs. Version control +systems may misidentify the changing id values as changes +to the document. + +If you set this parameter's value to 1, then the +template named object.id will replace +the use of the function generate-id() with +<xsl:number level="multiple" count="*"/>. +This counts preceding elements to generate a unique number for +the id value. + + +This param does not associate permanent unique id values +with particular elements. +The id values are consistent only as long as the document +structure does not change. +If the document structure changes, then the counting +of elements changes, and all id values after +the first such change may be different, even when there is +no change to the element itself or its output. + + + +The default value of this parameter is zero, so generate-id() is used +by default. + + + + + + +base.dir +uri + + +base.dir +The base directory of chunks + + + + +<xsl:param name="base.dir"></xsl:param> + + + +Description + +If specified, the base.dir parameter identifies +the output directory for chunks. (If not specified, the output directory +is system dependent.) + +Starting with version 1.77 of the stylesheets, +the param's value will have a trailing slash added if it does +not already have one. + +Do not use base.dir +to add a filename prefix string to chunked files. +Instead, use the chunked.filename.prefix +parameter. + + + + + + +chunk.quietly +boolean + + +chunk.quietly +Omit the chunked filename messages. + + + + +<xsl:param name="chunk.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), the XSL processor emits a message naming +each separate chunk filename as it is being output. +If nonzero, then the messages are suppressed. + + + + + + +Graphics + + +graphic.default.extension +string + + +graphic.default.extension +Default extension for graphic filenames + + + +<xsl:param name="graphic.default.extension"></xsl:param> + + +Description + +If a graphic or mediaobject +includes a reference to a filename that does not include an extension, +and the format attribute is +unspecified, the default extension will be used. + + + + + + + +default.image.width +length + + +default.image.width +The default width of images + + + + +<xsl:param name="default.image.width"></xsl:param> + + + +Description + +If specified, this value will be used for the +width attribute on images that do not specify any +viewport dimensions. + + + + + + +preferred.mediaobject.role +string + + +preferred.mediaobject.role +Select which mediaobject to use based on +this value of an object's role attribute. + + + + + +<xsl:param name="preferred.mediaobject.role"></xsl:param> + + + +Description + +A mediaobject may contain several objects such as imageobjects. +If the parameter use.role.for.mediaobject is +non-zero, then the role attribute on +imageobjects and other objects within a +mediaobject container will be used to select which object +will be used. If one of the objects has a role value that matches the +preferred.mediaobject.role parameter, then it +has first priority for selection. If more than one has such a role +value, the first one is used. + + +See the use.role.for.mediaobject parameter +for the sequence of selection. + + + + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + +<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param> + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + + + + +ignore.image.scaling +boolean + + +ignore.image.scaling +Tell the stylesheets to ignore the author's image scaling attributes + + + + +<xsl:param name="ignore.image.scaling" select="0"></xsl:param> + + + +Description + +If non-zero, the scaling attributes on graphics and media objects are +ignored. + + + + + + +img.src.path +string + + +img.src.path +Path to HTML/FO image files + + + +<xsl:param name="img.src.path"></xsl:param> + + +Description + +Add a path prefix to the value of the fileref +attribute of graphic, inlinegraphic, and imagedata elements. The resulting +compound path is used in the output as the value of the src +attribute of img (HTML) or external-graphic (FO). + + + +The path given by img.src.path could be relative to the directory where the HTML/FO +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + + + + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + + +<xsl:param name="keep.relative.image.uris" select="0"></xsl:param> + + + +Description + +If non-zero, relative URIs (in, for example +fileref attributes) will be used in the generated +output. Otherwise, the URIs will be made absolute with respect to the +base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + + + + +Pagination and General Styles + +
    Understanding XSL FO Margins + +To make sense of the parameters in this section, it's useful to +consider . + +
    + Page Model + + + + + + + + Figure showing page margins + + This figure shows the physical page with the various FO page regions + identified. + + +
    + +First, let's consider the regions on the page. + +The white region is the physical page. Its dimensions are determined by +the page.height and page.width +parameters. + +The yellow region is the region-body. The size and placement of +the region body is constrained by the dimensions labelled in the +figure. + +The pink region at the top of the page is the region-before. The +darker area inside the region-before is the header text. In XSL, the default +display alignment for a region is before, but the +DocBook stylesheets still explicitly make it before. That's +why the darker area is at the top. + +The pink region at the bottom of the page is the region-after. +The darker area is the footer text. In XSL, the default display +alignment for a region is before, +but the DocBook stylesheets explicitly make it +after. That's why the darker area is at the bottom. + +The dimensions in the figure are: + + +The page-master margin-top. + +The region-before extent. + +The region-body margin-top. + +The region-after extent. + +The page-master margin-bottom. + +The region-body margin-bottom. + +The sum of the page-master margin-left and the +region-body margin-left. In DocBook, the region-body margin-left is +zero by default, so this is simply the page-master margin-left. + +The sum of the page-master margin-right and the +region-body margin-right. In DocBook, the region-body margin-right is +zero by default, so this is simply the page-master margin-right. + + + +
    +
    + + + +page.height +length + + +page.height +The height of the physical page + + + +<xsl:param name="page.height"> + <xsl:choose> + <xsl:when test="$page.orientation = 'portrait'"> + <xsl:value-of select="$page.height.portrait"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$page.width.portrait"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The page height is generally calculated from the +paper.type and +page.orientation parameters. + + + + + + + +page.height.portrait +length + + +page.height.portrait +Specify the physical size of the long edge of the page + + + +<xsl:param name="page.height.portrait"> + <xsl:choose> + <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when> + <xsl:when test="$paper.type = 'USletter'">11in</xsl:when> + <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlegal'">14in</xsl:when> + <xsl:when test="$paper.type = 'USlegallandscape'">8.5in</xsl:when> + <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when> + <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when> + <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when> + <xsl:when test="$paper.type = 'A1'">841mm</xsl:when> + <xsl:when test="$paper.type = 'A2'">594mm</xsl:when> + <xsl:when test="$paper.type = 'A3'">420mm</xsl:when> + <xsl:when test="$paper.type = 'A4'">297mm</xsl:when> + <xsl:when test="$paper.type = 'A5'">210mm</xsl:when> + <xsl:when test="$paper.type = 'A6'">148mm</xsl:when> + <xsl:when test="$paper.type = 'A7'">105mm</xsl:when> + <xsl:when test="$paper.type = 'A8'">74mm</xsl:when> + <xsl:when test="$paper.type = 'A9'">52mm</xsl:when> + <xsl:when test="$paper.type = 'A10'">37mm</xsl:when> + <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when> + <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when> + <xsl:when test="$paper.type = 'B2'">707mm</xsl:when> + <xsl:when test="$paper.type = 'B3'">500mm</xsl:when> + <xsl:when test="$paper.type = 'B4'">353mm</xsl:when> + <xsl:when test="$paper.type = 'B5'">250mm</xsl:when> + <xsl:when test="$paper.type = 'B6'">176mm</xsl:when> + <xsl:when test="$paper.type = 'B7'">125mm</xsl:when> + <xsl:when test="$paper.type = 'B8'">88mm</xsl:when> + <xsl:when test="$paper.type = 'B9'">62mm</xsl:when> + <xsl:when test="$paper.type = 'B10'">44mm</xsl:when> + <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when> + <xsl:when test="$paper.type = 'C1'">917mm</xsl:when> + <xsl:when test="$paper.type = 'C2'">648mm</xsl:when> + <xsl:when test="$paper.type = 'C3'">458mm</xsl:when> + <xsl:when test="$paper.type = 'C4'">324mm</xsl:when> + <xsl:when test="$paper.type = 'C5'">229mm</xsl:when> + <xsl:when test="$paper.type = 'C6'">162mm</xsl:when> + <xsl:when test="$paper.type = 'C7'">114mm</xsl:when> + <xsl:when test="$paper.type = 'C8'">81mm</xsl:when> + <xsl:when test="$paper.type = 'C9'">57mm</xsl:when> + <xsl:when test="$paper.type = 'C10'">40mm</xsl:when> + <xsl:otherwise>11in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The portrait page height is the length of the long +edge of the physical page. + + + + + + + +page.margin.bottom +length + + +page.margin.bottom +The bottom margin of the page + + + + +<xsl:param name="page.margin.bottom">0.5in</xsl:param> + + + +Description + +The bottom page margin is the distance from the bottom of the region-after +to the physical bottom of the page. + + + + + + + +page.margin.inner +length + + +page.margin.inner +The inner page margin + + + +<xsl:param name="page.margin.inner"> + <xsl:choose> + <xsl:when test="$double.sided != 0">1.25in</xsl:when> + <xsl:otherwise>1in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The inner page margin is the distance from bound edge of the +page to the first column of text. + +The inner page margin is the distance from bound edge of the +page to the outer edge of the first column of text. + +In left-to-right text direction, +this is the left margin of recto (front side) pages. +For single-sided output, it is the left margin +of all pages. + +In right-to-left text direction, +this is the right margin of recto pages. +For single-sided output, this is the +right margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + + + + +page.margin.outer +length + + +page.margin.outer +The outer page margin + + + +<xsl:param name="page.margin.outer"> + <xsl:choose> + <xsl:when test="$double.sided != 0">0.75in</xsl:when> + <xsl:otherwise>1in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The outer page margin is the distance from non-bound edge of the +page to the outer edge of the last column of text. + +In left-to-right text direction, +this is the right margin of recto (front side) pages. +For single-sided output, it is the right margin +of all pages. + +In right-to-left text direction, +this is the left margin of recto pages. +For single-sided output, this is the +left margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + + + + +page.margin.top +length + + +page.margin.top +The top margin of the page + + + + +<xsl:param name="page.margin.top">0.5in</xsl:param> + + + +Description + +The top page margin is the distance from the physical top of the +page to the top of the region-before. + + + + + + +page.orientation +list +portrait +landscape + + +page.orientation +Select the page orientation + + + + +<xsl:param name="page.orientation">portrait</xsl:param> + + + +Description + + Select one from portrait or landscape. +In portrait orientation, the short edge is horizontal; in +landscape orientation, it is vertical. + + + + + + + +page.width +length + + +page.width +The width of the physical page + + + +<xsl:param name="page.width"> + <xsl:choose> + <xsl:when test="$page.orientation = 'portrait'"> + <xsl:value-of select="$page.width.portrait"></xsl:value-of> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$page.height.portrait"></xsl:value-of> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The page width is generally calculated from the +paper.type and +page.orientation parameters. + + + + + + +page.width.portrait +length + + +page.width.portrait +Specify the physical size of the short edge of the page + + + +<xsl:param name="page.width.portrait"> + <xsl:choose> + <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlandscape'">11in</xsl:when> + <xsl:when test="$paper.type = 'USlegal'">8.5in</xsl:when> + <xsl:when test="$paper.type = 'USlegallandscape'">14in</xsl:when> + <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when> + <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when> + <xsl:when test="$paper.type = 'A0'">841mm</xsl:when> + <xsl:when test="$paper.type = 'A1'">594mm</xsl:when> + <xsl:when test="$paper.type = 'A2'">420mm</xsl:when> + <xsl:when test="$paper.type = 'A3'">297mm</xsl:when> + <xsl:when test="$paper.type = 'A4'">210mm</xsl:when> + <xsl:when test="$paper.type = 'A5'">148mm</xsl:when> + <xsl:when test="$paper.type = 'A6'">105mm</xsl:when> + <xsl:when test="$paper.type = 'A7'">74mm</xsl:when> + <xsl:when test="$paper.type = 'A8'">52mm</xsl:when> + <xsl:when test="$paper.type = 'A9'">37mm</xsl:when> + <xsl:when test="$paper.type = 'A10'">26mm</xsl:when> + <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when> + <xsl:when test="$paper.type = 'B1'">707mm</xsl:when> + <xsl:when test="$paper.type = 'B2'">500mm</xsl:when> + <xsl:when test="$paper.type = 'B3'">353mm</xsl:when> + <xsl:when test="$paper.type = 'B4'">250mm</xsl:when> + <xsl:when test="$paper.type = 'B5'">176mm</xsl:when> + <xsl:when test="$paper.type = 'B6'">125mm</xsl:when> + <xsl:when test="$paper.type = 'B7'">88mm</xsl:when> + <xsl:when test="$paper.type = 'B8'">62mm</xsl:when> + <xsl:when test="$paper.type = 'B9'">44mm</xsl:when> + <xsl:when test="$paper.type = 'B10'">31mm</xsl:when> + <xsl:when test="$paper.type = 'C0'">917mm</xsl:when> + <xsl:when test="$paper.type = 'C1'">648mm</xsl:when> + <xsl:when test="$paper.type = 'C2'">458mm</xsl:when> + <xsl:when test="$paper.type = 'C3'">324mm</xsl:when> + <xsl:when test="$paper.type = 'C4'">229mm</xsl:when> + <xsl:when test="$paper.type = 'C5'">162mm</xsl:when> + <xsl:when test="$paper.type = 'C6'">114mm</xsl:when> + <xsl:when test="$paper.type = 'C7'">81mm</xsl:when> + <xsl:when test="$paper.type = 'C8'">57mm</xsl:when> + <xsl:when test="$paper.type = 'C9'">40mm</xsl:when> + <xsl:when test="$paper.type = 'C10'">28mm</xsl:when> + <xsl:otherwise>8.5in</xsl:otherwise> + </xsl:choose> +</xsl:param> + + +Description + +The portrait page width is the length of the short +edge of the physical page. + + + + + + + +paper.type +list +open +open +USletter8.5x11in +USlandscape11x8.5in +USlegal8.5inx14in +USlegallandscape14inx8.5in +4A02378x1682mm +2A01682x1189mm +A01189x841mm +A1841x594mm +A2594x420mm +A3420x297mm +A4297x210mm +A5210x148mm +A6148x105mm +A7105x74mm +A874x52mm +A952x37mm +A1037x26mm +B01414x1000mm +B11000x707mm +B2707x500mm +B3500x353mm +B4353x250mm +B5250x176mm +B6176x125mm +B7125x88mm +B888x62mm +B962x44mm +B1044x31mm +C01297x917mm +C1917x648mm +C2648x458mm +C3458x324mm +C4324x229mm +C5229x162mm +C6162x114mm +C7114x81mm +C881x57mm +C957x40mm +C1040x28mm + + +paper.type +Select the paper type + + + + +<xsl:param name="paper.type">USletter</xsl:param> + + + +Description + +The paper type is a convenient way to specify the paper size. +The list of known paper sizes includes USletter and most of the A, +B, and C sizes. See page.width.portrait, for example. + + + + + + + + + +double.sided +boolean + + +double.sided +Is the document to be printed double sided? + + + + +<xsl:param name="double.sided" select="0"></xsl:param> + + + +Description + +This parameter is useful when printing a document +on both sides of the paper. + +if set to non-zero, documents are formatted using different page-masters +for odd and even pages. These can differ by using a slightly wider margin +on the binding edge of the page, and alternating left-right +positions of header or footer elements. + + +If set to zero (the default), then only the 'odd' page masters +are used for both even and odd numbered pages. + +See also force.blank.pages, +page.margin.inner and +page.margin.outer. + + + + + + +force.blank.pages +boolean + + +force.blank.pages +Generate blank page to end on even page number + + + + +<xsl:param name="force.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero (the default), then each page sequence will be forced to +end on an even-numbered page, by inserting a blank page +if necessary. This will force the next page sequence to start +on an odd-numbered page, which is a standard convention +for printed and bound books. + +If zero, then such blank pages will not be inserted. +Chapters will start on the next available page, +regardless of whether it is an even or odd number. +This is useful when publishing online where blank +pages are not needed. + + +This param is independent of the +double.sided parameter, which +just triggers the use of even and odd page sequence +masters that differ in their header and footer placement. +So you can combine the two params for alternating +headers/footers and no blank pages. + + + + + + + +body.margin.bottom +length + + +body.margin.bottom +The bottom margin of the body text + + + + +<xsl:param name="body.margin.bottom">0.5in</xsl:param> + + + +Description + +The body bottom margin is the distance from the last line of text +in the page body to the bottom of the region-after. + + + + + + + +body.margin.top +length + + +body.margin.top +To specify the size of the top margin of a page + + + + +<xsl:param name="body.margin.top">0.5in</xsl:param> + + + +Description + +The body top margin is the distance from the top of the +region-before to the first line of text in the page body. + + + + + + +body.margin.inner +length + + +body.margin.inner +Specify the size of the inner margin of the body region + + + + +<xsl:param name="body.margin.inner">0in</xsl:param> + + + +Description + +The inner body margin is the extra inner side +(binding side) margin taken from the body +region in addition to the inner page margin. +It makes room for a side region for text content whose width is +specified by the region.inner.extent +parameter. + +For double-sided output, +this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, +this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.outer, +side.region.precedence. + + + + + + +body.margin.outer +length + + +body.margin.outer +Specify the size of the outer margin of the body region + + + + +<xsl:param name="body.margin.outer">0in</xsl:param> + + + +Description + +The outer body margin is the extra outer side +(opposite the binding side) margin taken +from the body +region in addition to the outer page margin. +It makes room for a side region for text content whose width is +specified by the region.outer.extent +parameter. + +For double-sided output, +this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, +this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +side.region.precedence. + + + + + + +body.start.indent +length + + +body.start.indent +The start-indent for the body text + + + + +<xsl:param name="body.start.indent"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0">0pt</xsl:when> + <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> + <xsl:otherwise>4pc</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +This parameter provides +the means of indenting the body text relative to +section titles. +For left-to-right text direction, it indents the left side. +For right-to-left text direction, it indents the right side. +It is used in place of the +title.margin.left for +all XSL-FO processors except FOP 0.25. +It enables support for side floats to appear +in the indented margin area. + +This start-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + +If this parameter is used, section titles should have +a start-indent value of 0pt if they are to be +outdented relative to the body text. + + +If you are using FOP, then set this parameter to a zero +width value and set the title.margin.left +parameter to the negative value of the desired indent. + + +See also body.end.indent and +title.margin.left. + + + + + + + +body.end.indent +length + + +body.end.indent +The end-indent for the body text + + + + +<xsl:param name="body.end.indent">0pt</xsl:param> + + + +Description + +This end-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + + +See also body.start.indent. + + + + + + + +alignment + list + open + left + start + right + end + center + justify + + +alignment +Specify the default text alignment + + + +<xsl:param name="alignment">justify</xsl:param> + + +Description + +The default text alignment is used for most body text. +Allowed values are +left, +right, +start, +end, +center, +justify. +The default value is justify. + + + + + + + +hyphenate +list +closed +true +false + + +hyphenate +Specify hyphenation behavior + + + +<xsl:param name="hyphenate">true</xsl:param> + + +Description + +If true, words may be hyphenated. Otherwise, they may not. +See also ulink.hyphenate.chars + + + + + + +line-height +string + + +line-height +Specify the line-height property + + + + +<xsl:param name="line-height">normal</xsl:param> + + + +Description + +Sets the line-height property. + + + + + + +column.count.back +integer + + +column.count.back +Number of columns on back matter pages + + + + +<xsl:param name="column.count.back" select="1"></xsl:param> + + + +Description + +Number of columns on back matter (appendix, glossary, etc.) pages. + + + + + + +column.count.body +integer + + +column.count.body +Number of columns on body pages + + + + +<xsl:param name="column.count.body" select="1"></xsl:param> + + + +Description + +Number of columns on body pages. + + + + + + +column.count.front +integer + + +column.count.front +Number of columns on front matter pages + + + + +<xsl:param name="column.count.front" select="1"></xsl:param> + + + +Description + +Number of columns on front matter (dedication, preface, etc.) pages. + + + + + + +column.count.index +integer + + +column.count.index +Number of columns on index pages + + + + +<xsl:param name="column.count.index">2</xsl:param> + + + +Description + +Number of columns on index pages. + + + + + + +column.count.lot +integer + + +column.count.lot +Number of columns on a 'List-of-Titles' page + + + + +<xsl:param name="column.count.lot" select="1"></xsl:param> + + + +Description + +Number of columns on a page sequence containing the Table of Contents, +List of Figures, etc. + + + + + + +column.count.titlepage +integer + + +column.count.titlepage +Number of columns on a title page + + + + +<xsl:param name="column.count.titlepage" select="1"></xsl:param> + + + +Description + +Number of columns on a title page + + + + + + +column.gap.back +length + + +column.gap.back +Gap between columns in back matter + + + + +<xsl:param name="column.gap.back">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in back matter (if +column.count.back is greater than one). + + + + + + +column.gap.body +length + + +column.gap.body +Gap between columns in the body + + + + +<xsl:param name="column.gap.body">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in body matter (if +column.count.body is greater than one). + + + + + + +column.gap.front +length + + +column.gap.front +Gap between columns in the front matter + + + + +<xsl:param name="column.gap.front">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in front matter (if +column.count.front is greater than one). + + + + + + +column.gap.index +length + + +column.gap.index +Gap between columns in the index + + + + +<xsl:param name="column.gap.index">12pt</xsl:param> + + + +Description + +Specifies the gap between columns in indexes (if +column.count.index is greater than one). + + + + + + +column.gap.lot +length + + +column.gap.lot +Gap between columns on a 'List-of-Titles' page + + + + +<xsl:param name="column.gap.lot">12pt</xsl:param> + + + +Description + +Specifies the gap between columns on 'List-of-Titles' pages (if +column.count.lot is greater than one). + + + + + + +column.gap.titlepage +length + + +column.gap.titlepage +Gap between columns on title pages + + + + +<xsl:param name="column.gap.titlepage">12pt</xsl:param> + + + +Description + +Specifies the gap between columns on title pages (if +column.count.titlepage is greater than one). + + + + + + + +region.after.extent +length + + +region.after.extent +Specifies the height of the footer. + + + + +<xsl:param name="region.after.extent">0.4in</xsl:param> + + + +Description + +The region after extent is the height of the area where footers +are printed. + + + + + + + +region.before.extent +length + + +region.before.extent +Specifies the height of the header + + + + +<xsl:param name="region.before.extent">0.4in</xsl:param> + + + +Description + +The region before extent is the height of the area where headers +are printed. + + + + + + + +region.inner.extent +length + + +region.inner.extent +Specifies the width of the inner side region + + + + +<xsl:param name="region.inner.extent">0in</xsl:param> + + + +Description + +The region inner extent is the width of the optional +text area next to the inner side (binding side) of the +body region. + +For double-sided output, this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.inner +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.outer.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + + + + + +region.outer.extent +length + + +region.outer.extent +Specifies the width of the outer side region + + + + +<xsl:param name="region.outer.extent">0in</xsl:param> + + + +Description + +The region outer extent is the width of the optional +text area next to the outer side (opposite the binding side) of the +body region. + +For double-sided output, this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.outer +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.inner.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + + + + +default.units +list +cm +mm +in +pt +pc +px +em + + +default.units +Default units for an unqualified dimension + + + + +<xsl:param name="default.units">pt</xsl:param> + + + +Description + +If an unqualified dimension is encountered (for example, in a +graphic width), the default.units will be used for the +units. Unqualified dimensions are not allowed in XSL Formatting Objects. + + + + + + + +normal.para.spacing +attribute set + + +normal.para.spacing +What space do you want between normal paragraphs + + + +<xsl:attribute-set name="normal.para.spacing"> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + +Description +Specify the spacing required between normal paragraphs as well as +the following block-level elements: + +ackno +acknowledgements +cmdsynopsis +glosslist +sidebar +simpara +simplelist + +To customize the spacing, you need to reset all three attributes. + +To specify properties on just para elements without +affecting these other elements, +use the +para.properties +attribute-set. + + + + + +para.properties +attribute set + + +para.properties +Properties to apply to para elements + + + +<xsl:attribute-set name="para.properties" use-attribute-sets="normal.para.spacing"> +</xsl:attribute-set> + +Description +Specify properties to apply to the fo:block of a para element, +such as text-indent. +Although the default attribute-set is empty, it uses the attribute-set +named normal.para.spacing to add vertical space before +each para. The para.properties attribute-set can override those +spacing properties for para only. +See also +normal.para.spacing. + + + + + + +body.font.master + number + + +body.font.master +Specifies the default point size for body text + + + + +<xsl:param name="body.font.master">10</xsl:param> + + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + + + + +body.font.size +length + + +body.font.size +Specifies the default font size for body text + + + + +<xsl:param name="body.font.size"> + <xsl:value-of select="$body.font.master"></xsl:value-of><xsl:text>pt</xsl:text> +</xsl:param> + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + + + + +footnote.font.size +length + + +footnote.font.size +The font size for footnotes + + + +<xsl:param name="footnote.font.size"> + <xsl:value-of select="$body.font.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text> +</xsl:param> + + +Description + +The footnote font size is used for...footnotes! + + + + + + + +title.margin.left +length + + +title.margin.left +Adjust the left margin for titles + + + + +<xsl:param name="title.margin.left"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0">-4pc</xsl:when> + <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when> + <xsl:otherwise>0pt</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +This parameter provides +the means of adjusting the left margin for titles +when the XSL-FO processor being used is +an old version of FOP (0.25 and earlier). +It is only useful when the fop.extensions +is nonzero. + +The left margin of the body region +is calculated to include this space, +and titles are outdented to the left outside +the body region by this amount, +effectively leaving titles at the intended left margin +and the body text indented. +Currently this method is only used for old FOP because +it cannot properly use the body.start.indent +parameter. + + +The default value when the fop.extensions +parameter is nonzero is -4pc, which means the +body text is indented 4 picas relative to +the titles. +The default value when the fop.extensions +parameter equals zero is 0pt, and +the body indent should instead be specified +using the body.start.indent +parameter. + + +If you set the value to zero, be sure to still include +a unit indicator such as 0pt, or +the FO processor will report errors. + + + + + + + +draft.mode +list +no +yes +maybe + + +draft.mode +Select draft mode + + + + +<xsl:param name="draft.mode">no</xsl:param> + + + +Description + +Selects draft mode. If draft.mode is +yes, the entire document will be treated +as a draft. If it is no, the entire document +will be treated as a final copy. If it is maybe, +individual sections will be treated as draft or final independently, depending +on how their status attribute is set. + + + + + + + +draft.watermark.image +uri + + +draft.watermark.image +The URI of the image to be used for draft watermarks + + + + +<xsl:param name="draft.watermark.image">images/draft.png</xsl:param> + + + +Description + +The image to be used for draft watermarks. + + + + + + +headers.on.blank.pages +boolean + + +headers.on.blank.pages +Put headers on blank pages? + + + + +<xsl:param name="headers.on.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero, headers will be placed on blank pages. + + + + + + +footers.on.blank.pages +boolean + + +footers.on.blank.pages +Put footers on blank pages? + + + + +<xsl:param name="footers.on.blank.pages" select="1"></xsl:param> + + + +Description + +If non-zero, footers will be placed on blank pages. + + + + + + +header.rule +boolean + + +header.rule +Rule under headers? + + + + +<xsl:param name="header.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn below the page headers. + + + + + + +footer.rule +boolean + + +footer.rule +Rule over footers? + + + + +<xsl:param name="footer.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn above the page footers. + + + + + + +header.column.widths +string + + +header.column.widths +Specify relative widths of header areas + + + +<xsl:param name="header.column.widths">1 1 1</xsl:param> + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside header for +double-sided output. The second number is the relative +width of the center header. The third number is the +relative width of the outside header for +double-sided output. + +For single-sided output, the first number is the +relative width of left header for left-to-right +text direction, or the right header for right-to-left +text direction. +The third number is the +relative width of right header for left-to-right +text direction, or the left header for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the header area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +header should have twice the width of the other areas. +A value of "0 0 1" means the entire header area +is reserved for the right (or outside) header text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + + + + +footer.column.widths +string + + +footer.column.widths +Specify relative widths of footer areas + + + +<xsl:param name="footer.column.widths">1 1 1</xsl:param> + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside footer for +double-sided output. The second number is the relative +width of the center footer. The third number is the +relative width of the outside footer for +double-sided output. + +For single-sided output, the first number is the +relative width of left footer for left-to-right +text direction, or the right footer for right-to-left +text direction. +The third number is the +relative width of right footer for left-to-right +text direction, or the left footer for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the footer area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +footer should have twice the width of the other areas. +A value of "0 0 1" means the entire footer area +is reserved for the right (or outside) footer text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + + + + +header.table.properties +attribute set + + +header.table.properties +Apply properties to the header layout table + + + + +<xsl:attribute-set name="header.table.properties"> + <xsl:attribute name="table-layout">fixed</xsl:attribute> + <xsl:attribute name="width">100%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties applied to the table that lays out the page header. + + + + + + +header.table.height +length + + +header.table.height +Specify the minimum height of the table containing the running page headers + + + +<xsl:param name="header.table.height">14pt</xsl:param> + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + + + + +footer.table.properties +attribute set + + +footer.table.properties +Apply properties to the footer layout table + + + + +<xsl:attribute-set name="footer.table.properties"> + <xsl:attribute name="table-layout">fixed</xsl:attribute> + <xsl:attribute name="width">100%</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties applied to the table that lays out the page footer. + + + + + + +footer.table.height +length + + +footer.table.height +Specify the minimum height of the table containing the running page footers + + + +<xsl:param name="footer.table.height">14pt</xsl:param> + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + + + + +header.content.properties +attribute set + + +header.content.properties +Properties of page header content + + + + +<xsl:attribute-set name="header.content.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$title.margin.left"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties of page header content. + + + + + + +footer.content.properties +attribute set + + +footer.content.properties +Properties of page footer content + + + + +<xsl:attribute-set name="footer.content.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$title.margin.left"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties of page footer content. + + + + + + +marker.section.level +integer + + +marker.section.level +Control depth of sections shown in running headers or footers + + + + +<xsl:param name="marker.section.level">2</xsl:param> + + + +Description + +The marker.section.level parameter +controls the depth of section levels that may be displayed +in running headers and footers. For example, if the value +is 2 (the default), then titles from sect1 and +sect2 or equivalent section +elements are candidates for use in running headers and +footers. + +Each candidate title is marked in the FO output with a +<fo:marker marker-class-name="section.head.marker"> +element. + +In order for such titles to appear in headers +or footers, the header.content +or footer.content template +must be customized to retrieve the marker using +an output element such as: + + +<fo:retrieve-marker retrieve-class-name="section.head.marker" + retrieve-position="first-including-carryover" + retrieve-boundary="page-sequence"/> + + + + + + + + +side.region.precedence +string + + +side.region.precedence +Determines side region page layout precedence + + +<xsl:param name="side.region.precedence">false</xsl:param> + + +Description + +If optional side regions on a page +are established using parameters such as +body.margin.inner, +region.inner.extent, etc., then this +parameter determines what happens at the corners where the +side regions meet the header and footer regions. + +If the value of this parameter is true, +then the side regions have precedence and extend higher +and lower, while the header and footer regions are narrower +and fit inside the side regions. + +If the value of this parameter is false +(the default value), then the header and footer regions +have precedence and extend over and below the side regions. +Any value other than true or +false is taken to be false. + +If you need to set precedence separately for +individual regions, then you can set four +parameters that are normally internal to the stylesheet. +These four parameters are normally set based +on the value from side.region.precedence: + +region.before.precedence +region.after.precedence +region.start.precedence +region.end.precedence + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +body.margin.outer. + + + + + +region.inner.properties +attribute set + + +region.inner.properties +Properties of running inner side region + + + + +<xsl:attribute-set name="region.inner.properties"> + <xsl:attribute name="border-width">0</xsl:attribute> + <xsl:attribute name="padding">0</xsl:attribute> + <xsl:attribute name="reference-orientation">90</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the inner side (binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +inner.region.content.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + + + + +region.outer.properties +attribute set + + +region.outer.properties +Properties of running outer side region + + + + +<xsl:attribute-set name="region.outer.properties"> + <xsl:attribute name="border-width">0</xsl:attribute> + <xsl:attribute name="padding">0</xsl:attribute> + <xsl:attribute name="reference-orientation">90</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the outer side (opposite the binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +outer.region.content.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + + + + + +inner.region.content.properties +attribute set + + +inner.region.content.properties +Properties of running inner side content + + + + +<xsl:attribute-set name="inner.region.content.properties"> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the inner side (binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +region.inner.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + + + + +outer.region.content.properties +attribute set + + +outer.region.content.properties +Properties of running outer side content + + + + +<xsl:attribute-set name="outer.region.content.properties"> +</xsl:attribute-set> + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the outer side (opposite the binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +region.outer.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + + +
    +Font Families + + +body.font.family +list +open +serif +sans-serif +monospace + + +body.font.family +The default font family for body text + + + + +<xsl:param name="body.font.family">serif</xsl:param> + + + +Description + +The body font family is the default font used for text in the page body. +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + + +dingbat.font.family +list +open +serif +sans-serif +monospace + + +dingbat.font.family +The font family for copyright, quotes, and other symbols + + + + +<xsl:param name="dingbat.font.family">serif</xsl:param> + + + +Description + +The dingbat font family is used for dingbats. If it is defined +as the empty string, no font change is effected around dingbats. + + + + + + + +monospace.font.family +string + + +monospace.font.family +The default font family for monospace environments + + + + +<xsl:param name="monospace.font.family">monospace</xsl:param> + + + +Description + +The monospace font family is used for verbatim environments +(program listings, screens, etc.). + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + +sans.font.family +string + + +sans.font.family +The default sans-serif font family + + + + +<xsl:param name="sans.font.family">sans-serif</xsl:param> + + + +Description + +The default sans-serif font family. At the present, this isn't +actually used by the stylesheets. + + + + + + + +title.font.family +list +open +serif +sans-serif +monospace + + +title.font.family +The default font family for titles + + + + +<xsl:param name="title.font.family">sans-serif</xsl:param> + + + +Description + +The title font family is used for titles (chapter, section, figure, +etc.) + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + + + +symbol.font.family +list +open +serif +sans-serif +monospace + + +symbol.font.family +The font families to be searched for symbols outside + of the body font + + + + +<xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param> + + + +Description + +A typical body or title font does not contain all +the character glyphs that DocBook supports. This parameter +specifies additional fonts that should be searched for +special characters not in the normal font. +These symbol font names are automatically appended +to the body or title font family name when fonts +are specified in a +font-family +property in the FO output. + +The symbol font names should be entered as a +comma-separated list. The default value is +Symbol,ZapfDingbats. + + + + + + +Property Sets + + +formal.object.properties +attribute set + + +formal.object.properties +Properties associated with a formal object such as a figure, or other component that has a title + + + + +<xsl:attribute-set name="formal.object.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for formal objects in docbook. Specify the spacing +before and after the object. + + + + + + +formal.title.properties +attribute set + + +formal.title.properties +Style the title element of formal object such as a figure. + + + + +<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> + <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute> + <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute> +</xsl:attribute-set> + + +Description +Specify how the title should be styled. Specify the font size and weight of the title of the formal object. + + + + + +informal.object.properties +attribute set + + +informal.object.properties +Properties associated with an informal (untitled) object, such as an informalfigure + + + +<xsl:attribute-set name="informal.object.properties"> + <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">2em</xsl:attribute> +</xsl:attribute-set> + +Description +The styling for informal objects in docbook. Specify the spacing before and after the object. + + + + + +monospace.properties +attribute set + + +monospace.properties +Properties of monospaced content + + + + +<xsl:attribute-set name="monospace.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$monospace.font.family"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +Specifies the font name for monospaced output. This property set +used to set the font-size as well, but that doesn't work very well +when different fonts are used (as they are in titles and paragraphs, +for example). + +If you want to set the font-size in a customization layer, it's +probably going to be more appropriate to set font-size-adjust, if your +formatter supports it. + + + + + + +verbatim.properties +attribute set + + +verbatim.properties +Properties associated with verbatim text + + + + +<xsl:attribute-set name="verbatim.properties"> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-after.optimum">1em</xsl:attribute> + <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> + <xsl:attribute name="white-space-collapse">false</xsl:attribute> + <xsl:attribute name="white-space-treatment">preserve</xsl:attribute> + <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> +</xsl:attribute-set> + + +Description +This attribute set is used on all verbatim environments. + + + + + + +monospace.verbatim.properties +attribute set + + +monospace.verbatim.properties +What font and size do you want for monospaced content? + + + + +<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties"> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> +</xsl:attribute-set> + + +Description +Specify the font name and size you want for monospaced output + + + + + +sidebar.properties +attribute set + + +sidebar.properties +Attribute set for sidebar properties + + + + +<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="border-style">solid</xsl:attribute> + <xsl:attribute name="border-width">1pt</xsl:attribute> + <xsl:attribute name="border-color">black</xsl:attribute> + <xsl:attribute name="background-color">#DDDDDD</xsl:attribute> + <xsl:attribute name="padding-start">12pt</xsl:attribute> + <xsl:attribute name="padding-end">12pt</xsl:attribute> + <xsl:attribute name="padding-top">6pt</xsl:attribute> + <xsl:attribute name="padding-bottom">6pt</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">0pt</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">0pt</xsl:attribute> +<!-- + <xsl:attribute name="margin-top">6pt</xsl:attribute> + <xsl:attribute name="margin-bottom">6pt</xsl:attribute> +--> +</xsl:attribute-set> + + + +Description + +The styling for sidebars. + + + + + + +sidebar.title.properties +attribute set + + +sidebar.title.properties +Attribute set for sidebar titles + + + + +<xsl:attribute-set name="sidebar.title.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for sidebars titles. + + + + + + +sidebar.float.type +list +none +before +left +start +right +end +inside +outside + + +sidebar.float.type +Select type of float for sidebar elements + + + + +<xsl:param name="sidebar.float.type">none</xsl:param> + + + +Description + +Selects the type of float for sidebar elements. + + + +If sidebar.float.type is +none, then +no float is used. + + + +If sidebar.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + + +If sidebar.float.type is +left, +then a left side float is used. + + + + +If sidebar.float.type is +start, +then when the text direction is left-to-right a left side float is used. +When the text direction is right-to-left, a right side float is used. + + + + +If sidebar.float.type is +right, +then a right side float is used. + + + + +If sidebar.float.type is +end, +then when the text direction is left-to-right a right side float is used. +When the text direction is right-to-left, a left side float is used. + + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + + + + +sidebar.float.width +length + + +sidebar.float.width +Set the default width for sidebars + + + + +<xsl:param name="sidebar.float.width">1in</xsl:param> + + + +Description + +Sets the default width for sidebars when used as a side float. +The width determines the degree to which the sidebar block intrudes into +the text area. + +If sidebar.float.type is +before or +none, then +this parameter is ignored. + + + + + + + +margin.note.properties +attribute set + + +margin.note.properties +Attribute set for margin.note properties + + + + +<xsl:attribute-set name="margin.note.properties"> + <xsl:attribute name="font-size">90%</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for margin notes. +By default, margin notes are not implemented for any +element. A stylesheet customization is needed to make +use of this attribute-set. + +You can use a template named floater +to create the customization. +That template can create side floats by specifying the +content and characteristics as template parameters. + + +For example: +<xsl:template match="para[@role='marginnote']"> + <xsl:call-template name="floater"> + <xsl:with-param name="position"> + <xsl:value-of select="$margin.note.float.type"/> + </xsl:with-param> + <xsl:with-param name="width"> + <xsl:value-of select="$margin.note.width"/> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:apply-imports/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + + + + + + +margin.note.title.properties +attribute set + + +margin.note.title.properties +Attribute set for margin note titles + + + + +<xsl:attribute-set name="margin.note.title.properties"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for margin note titles. + + + + + + +margin.note.float.type +list +none +before +left +start +right +end +inside +outside + + +margin.note.float.type +Select type of float for margin note customizations + + + + +<xsl:param name="margin.note.float.type">none</xsl:param> + + + +Description + +Selects the type of float for margin notes. +DocBook does not define a margin note element, so this +feature must be implemented as a customization of the stylesheet. +See margin.note.properties for +an example. + + + +If margin.note.float.type is +none, then +no float is used. + + + +If margin.note.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + +If margin.note.float.type is +left or +start, then +a left side float is used. + + + +If margin.note.float.type is +right or +end, then +a right side float is used. + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + + + + +margin.note.width +length + + +margin.note.width +Set the default width for margin notes + + + + +<xsl:param name="margin.note.width">1in</xsl:param> + + + +Description + +Sets the default width for margin notes when used as a side +float. The width determines the degree to which the margin note block +intrudes into the text area. + +If margin.note.float.type is +before or +none, then +this parameter is ignored. + + + + + + + +component.title.properties +attribute set + + +component.title.properties +Properties for component titles + + + + +<xsl:attribute-set name="component.title.properties"> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align"> + <xsl:choose> + <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography)) or (parent::slides | parent::slidesinfo)">center</xsl:when> + <xsl:otherwise>start</xsl:otherwise> + </xsl:choose> + </xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all component titles. + + + + + + +component.titlepage.properties +attribute set + + +component.titlepage.properties +Properties for component titlepages + + + + +<xsl:attribute-set name="component.titlepage.properties"> +</xsl:attribute-set> + + + +Description + +The properties that are applied to the outer block containing +all the component title page information. +Its main use is to set a span="all" +property on the block that is a direct child of the flow. + +This attribute-set also applies to index titlepages. It is empty by default. + + + + + + +section.title.properties +attribute set + + +section.title.properties +Properties for section titles + + + + +<xsl:attribute-set name="section.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <!-- font size is calculated dynamically by section.heading template --> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> + <xsl:attribute name="text-align">start</xsl:attribute> + <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"></xsl:value-of></xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all section titles. + + + + + + +section.title.level1.properties +attribute set + + +section.title.level1.properties +Properties for level-1 section titles + + + + +<xsl:attribute-set name="section.title.level1.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-1 section titles. + + + + + + + +section.title.level2.properties +attribute set + + +section.title.level2.properties +Properties for level-2 section titles + + + + +<xsl:attribute-set name="section.title.level2.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-2 section titles. + + + + + + +section.title.level3.properties +attribute set + + +section.title.level3.properties +Properties for level-3 section titles + + + + +<xsl:attribute-set name="section.title.level3.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-3 section titles. + + + + + + +section.title.level4.properties +attribute set + + +section.title.level4.properties +Properties for level-4 section titles + + + + +<xsl:attribute-set name="section.title.level4.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-4 section titles. + + + + + + +section.title.level5.properties +attribute set + + +section.title.level5.properties +Properties for level-5 section titles + + + + +<xsl:attribute-set name="section.title.level5.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-5 section titles. + + + + + + +section.title.level6.properties +attribute set + + +section.title.level6.properties +Properties for level-6 section titles + + + + +<xsl:attribute-set name="section.title.level6.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-6 section titles. This property set is actually +used for all titles below level 5. + + + + + + +section.properties +attribute set + + +section.properties +Properties for all section levels + + + + +<xsl:attribute-set name="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of all section levels, and therefore apply to +the whole section. +This attribute set is inherited by the +more specific attribute sets such as +section.level1.properties. +The default is empty. + + + + + + + +section.level1.properties +attribute set + + +section.level1.properties +Properties for level-1 sections + + + + +<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-1 section, and therefore apply to +the whole section. This includes sect1 +elements and section elements at level 1. + + +For example, you could start each level-1 section on +a new page by using: +<xsl:attribute-set name="section.level1.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level2.properties +attribute set + + +section.level2.properties +Properties for level-2 sections + + + + +<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-2 section, and therefore apply to +the whole section. This includes sect2 +elements and section elements at level 2. + + +For example, you could start each level-2 section on +a new page by using: +<xsl:attribute-set name="section.level2.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level3.properties +attribute set + + +section.level3.properties +Properties for level-3 sections + + + + +<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-3 section, and therefore apply to +the whole section. This includes sect3 +elements and section elements at level 3. + + +For example, you could start each level-3 section on +a new page by using: +<xsl:attribute-set name="section.level3.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level4.properties +attribute set + + +section.level4.properties +Properties for level-4 sections + + + + +<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-4 section, and therefore apply to +the whole section. This includes sect4 +elements and section elements at level 4. + + +For example, you could start each level-4 section on +a new page by using: +<xsl:attribute-set name="section.level4.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level5.properties +attribute set + + +section.level5.properties +Properties for level-5 sections + + + + +<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level-5 section, and therefore apply to +the whole section. This includes sect5 +elements and section elements at level 5. + + +For example, you could start each level-5 section on +a new page by using: +<xsl:attribute-set name="section.level5.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +section.level6.properties +attribute set + + +section.level6.properties +Properties for level-6 sections + + + + +<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties"> +</xsl:attribute-set> + + + +Description + +The properties that apply to the containing +block of a level 6 or lower section, and therefore apply to +the whole section. This includes +section elements at level 6 and lower. + + +For example, you could start each level-6 section on +a new page by using: +<xsl:attribute-set name="section.level6.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + + + + +figure.properties +attribute set + + +figure.properties +Properties associated with a figure + + + + +<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for figures. + + + + + + +example.properties +attribute set + + +example.properties +Properties associated with a example + + + + +<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for examples. + + + + + + +equation.properties +attribute set + + +equation.properties +Properties associated with a equation + + + + +<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for equations. + + + + + + +equation.number.properties +attribute set + + +equation.number.properties +Properties that apply to the fo:table-cell containing the number +of an equation that does not have a title. + + + +<xsl:attribute-set name="equation.number.properties"> + <xsl:attribute name="text-align">end</xsl:attribute> + <xsl:attribute name="display-align">center</xsl:attribute> +</xsl:attribute-set> + +Description +Properties that apply to the fo:table-cell containing the number +of an equation when it has no title. The number in an equation with a +title is formatted along with the title, and this attribute-set does not apply. + + + + + +table.properties +attribute set + + +table.properties +Properties associated with the block surrounding a table + + + + +<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Block styling properties for tables. This parameter should really +have been called table.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + + + + +task.properties +attribute set + + +task.properties +Properties associated with a task + + + + +<xsl:attribute-set name="task.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Properties to style the entire block containing a task element. + + + + + + +informalfigure.properties +attribute set + + +informalfigure.properties +Properties associated with an informalfigure + + + + +<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalfigures. + + + + + + +informalexample.properties +attribute set + + +informalexample.properties +Properties associated with an informalexample + + + + +<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalexamples. + + + + + + +informalequation.properties +attribute set + + +informalequation.properties +Properties associated with an informalequation + + + + +<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +The styling for informalequations. + + + + + + +informaltable.properties +attribute set + + +informaltable.properties +Properties associated with the block surrounding an informaltable + + + + +<xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"></xsl:attribute-set> + + + +Description + +Block styling properties for informaltables. This parameter should really +have been called informaltable.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + + + + +procedure.properties +attribute set + + +procedure.properties +Properties associated with a procedure + + + + +<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"> + <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The styling for procedures. + + + + + + +root.properties +attribute set + + +root.properties +The properties of the fo:root element + + + + +<xsl:attribute-set name="root.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="text-align"> + <xsl:value-of select="$alignment"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="line-height"> + <xsl:value-of select="$line-height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute> + <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute> + <xsl:attribute name="writing-mode"> + <xsl:value-of select="$direction.mode"></xsl:value-of> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +This property set is used on the fo:root element of +an FO file. It defines a set of default, global parameters. + + + + + + +qanda.title.properties +attribute set + + +qanda.title.properties +Properties for qanda set titles + + + + +<xsl:attribute-set name="qanda.title.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <!-- font size is calculated dynamically by qanda.heading template --> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> + <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute> + <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties common to all qanda set titles. + + + + + + +qanda.title.level1.properties +attribute set + + +qanda.title.level1.properties +Properties for level-1 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level1.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 2.0736"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-1 qanda set titles. + + + + + + +qanda.title.level2.properties +attribute set + + +qanda.title.level2.properties +Properties for level-2 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level2.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.728"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-2 qanda set titles. + + + + + + +qanda.title.level3.properties +attribute set + + +qanda.title.level3.properties +Properties for level-3 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level3.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.44"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-3 qanda set titles. + + + + + + +qanda.title.level4.properties +attribute set + + +qanda.title.level4.properties +Properties for level-4 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level4.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-4 qanda set titles. + + + + + + +qanda.title.level5.properties +attribute set + + +qanda.title.level5.properties +Properties for level-5 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level5.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-5 qanda set titles. + + + + + + +qanda.title.level6.properties +attribute set + + +qanda.title.level6.properties +Properties for level-6 qanda set titles + + + + +<xsl:attribute-set name="qanda.title.level6.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master"></xsl:value-of> + <xsl:text>pt</xsl:text> + </xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties of level-6 qanda set titles. +This property set is actually +used for all titles below level 5. + + + + + + +article.appendix.title.properties +attribute set + + +article.appendix.title.properties +Properties for appendix titles that appear in an article + + + + +<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties section.title.level1.properties"> +</xsl:attribute-set> + + + +Description + +The properties for the title of an appendix that +appears inside an article. The default is to use +the properties of sect1 titles. + + + + + + +abstract.properties +attribute set + + +abstract.properties +Properties associated with the block surrounding an abstract + + + + +<xsl:attribute-set name="abstract.properties"> + <xsl:attribute name="start-indent">0.0in</xsl:attribute> + <xsl:attribute name="end-indent">0.0in</xsl:attribute> +</xsl:attribute-set> + + + +Description + +Block styling properties for abstract. + +See also abstract.title.properties. + + + + + + +abstract.title.properties +attribute set + + +abstract.title.properties +Properties for abstract titles + + + + +<xsl:attribute-set name="abstract.title.properties"> + <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"></xsl:value-of></xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> + <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"></xsl:value-of></xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + + + +Description + +The properties for abstract titles. + +See also abstract.properties. + + + + + + +index.page.number.properties +attribute set + + +index.page.number.properties +Properties associated with index page numbers + + + + +<xsl:attribute-set name="index.page.number.properties"> +</xsl:attribute-set> + + + +Description + +Properties associated with page numbers in indexes. +Changing color to indicate the page number is a link is +one possibility. + + + + + + + +revhistory.table.properties +attribute set + + +revhistory.table.properties +The properties of table used for formatting revhistory + + + + +<xsl:attribute-set name="revhistory.table.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of revhistory table. + + + + + + +revhistory.table.cell.properties +attribute set + + +revhistory.table.cell.properties +The properties of table cells used for formatting revhistory + + + + +<xsl:attribute-set name="revhistory.table.cell.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of individual cells in revhistory table. + + + + + + +revhistory.title.properties +attribute set + + +revhistory.title.properties +The properties of revhistory title + + + + +<xsl:attribute-set name="revhistory.title.properties"> +</xsl:attribute-set> + + + +Description + +This property set defines appearance of revhistory title. + + + + + +Profiling + +The following parameters can be used for attribute-based +profiling of your document. For more information about profiling, see +Profiling (conditional text). + + + +profile.arch +string + + +profile.arch +Target profile for arch +attribute + + + + +<xsl:param name="profile.arch"></xsl:param> + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.audience +string + + +profile.audience +Target profile for audience +attribute + + + + +<xsl:param name="profile.audience"></xsl:param> + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.condition +string + + +profile.condition +Target profile for condition +attribute + + + + +<xsl:param name="profile.condition"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.conformance +string + + +profile.conformance +Target profile for conformance +attribute + + + + +<xsl:param name="profile.conformance"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.lang +string + + +profile.lang +Target profile for lang +attribute + + + + +<xsl:param name="profile.lang"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.os +string + + +profile.os +Target profile for os +attribute + + + + +<xsl:param name="profile.os"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revision +string + + +profile.revision +Target profile for revision +attribute + + + + +<xsl:param name="profile.revision"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revisionflag +string + + +profile.revisionflag +Target profile for revisionflag +attribute + + + + +<xsl:param name="profile.revisionflag"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.role +string + + +profile.role +Target profile for role +attribute + + + + +<xsl:param name="profile.role"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +<emphasis role="bold">very important</emphasis> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, etc. + + + + + + + +profile.security +string + + +profile.security +Target profile for security +attribute + + + + +<xsl:param name="profile.security"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + +<xsl:param name="profile.status"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.userlevel +string + + +profile.userlevel +Target profile for userlevel +attribute + + + + +<xsl:param name="profile.userlevel"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.vendor +string + + +profile.vendor +Target profile for vendor +attribute + + + + +<xsl:param name="profile.vendor"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.wordsize +string + + +profile.wordsize +Target profile for wordsize +attribute + + + + +<xsl:param name="profile.wordsize"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.attribute +string + + +profile.attribute +Name of user-specified profiling attribute + + + + +<xsl:param name="profile.attribute"></xsl:param> + + + +Description + +This parameter is used in conjuction with +profile.value. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.value +string + + +profile.value +Target profile for user-specified attribute + + + + +<xsl:param name="profile.value"></xsl:param> + + + +Description + +When you are using this parameter you must also specify name of +profiling attribute with parameter +profile.attribute. + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.separator +string + + +profile.separator +Separator character for compound profile values + + + + +<xsl:param name="profile.separator">;</xsl:param> + + + +Description + +Separator character used for compound profile values. See profile.arch + + + + + +Localization + + +l10n.gentext.language +string + + +l10n.gentext.language +Sets the gentext language + + + + +<xsl:param name="l10n.gentext.language"></xsl:param> + + + +Description + +If this parameter is set to any value other than the empty string, its +value will be used as the value for the language when generating text. Setting +l10n.gentext.language overrides any settings within the +document being formatted. + +It's much more likely that you might want to set the +l10n.gentext.default.language parameter. + + + + + + + l10n.gentext.default.language + string + + + l10n.gentext.default.language + Sets the default language for generated text + + + + +<xsl:param name="l10n.gentext.default.language">en</xsl:param> + + + +Description + +The value of the l10n.gentext.default.language +parameter is used as the language for generated text if no setting is provided +in the source document. + + + + + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + +<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param> + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
    +See also Kapital 3. +
    + +Where the more traditional rendering would be: + +
    +See also Chapter 3. +
    + +
    +
    + + + +l10n.lang.value.rfc.compliant +boolean + + +l10n.lang.value.rfc.compliant +Make value of lang attribute RFC compliant? + + + + +<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param> + + + +Description + +If non-zero, ensure that the values for all lang attributes in HTML output are RFC +compliantSection 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that: + +
    [RFC1766] defines and explains the language codes +that must be used in HTML documents. +Briefly, language codes consist of a primary code and a possibly +empty series of subcodes: + +language-code = primary-code ( "-" subcode )* + +And in RFC 1766, Tags for the Identification +of Languages, the EBNF for "language tag" is given as: + +Language-Tag = Primary-tag *( "-" Subtag ) +Primary-tag = 1*8ALPHA +Subtag = 1*8ALPHA + +
    +
    . + +by taking any underscore characters in any lang values found in source documents, and +replacing them with hyphen characters in output HTML files. For +example, zh_CN in a source document becomes +zh-CN in the HTML output form that source. + + +This parameter does not cause any case change in lang values, because RFC 1766 +explicitly states that all "language tags" (as it calls them) "are +to be treated as case insensitive". + +
    + +
    +
    + + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + +<xsl:param name="writing.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">writing-mode</xsl:with-param> + <xsl:with-param name="lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"></xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:param> + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But this param can also be +set on the command line to override that gentext value. + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + + +
    +EBNF + + +ebnf.assignment +rtf + + +ebnf.assignment +The EBNF production assignment operator + + + + + +<xsl:param name="ebnf.assignment"> + <fo:inline font-family="{$monospace.font.family}"> + <xsl:text>::=</xsl:text> + </fo:inline> +</xsl:param> + + + +Description + +The ebnf.assignment parameter determines what +text is used to show assignment in productions +in productionsets. + +While ::= is common, so are several +other operators. + + + + + + +ebnf.statement.terminator +rtf + + +ebnf.statement.terminator +Punctuation that ends an EBNF statement. + + + + + +<xsl:param name="ebnf.statement.terminator"></xsl:param> + + + +Description + +The ebnf.statement.terminator parameter determines what +text is used to terminate each production +in productionset. + +Some notations end each statement with a period. + + + + + +Prepress + + +crop.marks +boolean + + +crop.marks +Output crop marks? + + + + +<xsl:param name="crop.marks" select="0"></xsl:param> + + + +Description + +If non-zero, crop marks will be added to each page. Currently this +works only with XEP if you have xep.extensions set. + + + + + + +crop.mark.width +length + + +crop.mark.width +Width of crop marks. + + + + +<xsl:param name="crop.mark.width">0.5pt</xsl:param> + + + +Description + +Width of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + + +crop.mark.offset +length + + +crop.mark.offset +Length of crop marks. + + + + +<xsl:param name="crop.mark.offset">24pt</xsl:param> + + + +Description + +Length of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + + +crop.mark.bleed +length + + +crop.mark.bleed +Length of invisible part of crop marks. + + + + +<xsl:param name="crop.mark.bleed">6pt</xsl:param> + + + +Description + +Length of invisible part of crop marks. Crop marks are controlled by +crop.marks parameter. + + + + + + +The Stylesheet + +The param.xsl stylesheet is just a wrapper +around all these parameters. + + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- This file is generated from param.xweb --> + +<!-- ******************************************************************** + $Id: param.xweb 9673 2012-12-02 20:06:41Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="abstract.properties.frag"></src:fragref> +<src:fragref linkend="abstract.title.properties.frag"></src:fragref> +<src:fragref linkend="activate.external.olinks.frag"></src:fragref> +<src:fragref linkend="admon.graphics.extension.frag"></src:fragref> +<src:fragref linkend="admon.graphics.frag"></src:fragref> +<src:fragref linkend="admon.graphics.path.frag"></src:fragref> +<src:fragref linkend="admon.textlabel.frag"></src:fragref> +<src:fragref linkend="admonition.properties.frag"></src:fragref> +<src:fragref linkend="admonition.title.properties.frag"></src:fragref> +<src:fragref linkend="base.dir.frag"></src:fragref> +<src:fragref linkend="graphical.admonition.properties.frag"></src:fragref> +<src:fragref linkend="nongraphical.admonition.properties.frag"></src:fragref> +<src:fragref linkend="alignment.frag"></src:fragref> +<src:fragref linkend="appendix.autolabel.frag"></src:fragref> +<src:fragref linkend="arbortext.extensions.frag"></src:fragref> +<src:fragref linkend="article.appendix.title.properties.frag"></src:fragref> +<src:fragref linkend="author.othername.in.middle.frag"></src:fragref> +<src:fragref linkend="autotoc.label.separator.frag"></src:fragref> +<src:fragref linkend="axf.extensions.frag"></src:fragref> +<src:fragref linkend="biblioentry.item.separator.frag"></src:fragref> +<src:fragref linkend="biblioentry.properties.frag"></src:fragref> +<src:fragref linkend="bibliography.collection.frag"></src:fragref> +<src:fragref linkend="bibliography.numbered.frag"></src:fragref> +<src:fragref linkend="bibliography.style.frag"></src:fragref> +<src:fragref linkend="blockquote.properties.frag"></src:fragref> +<src:fragref linkend="body.font.family.frag"></src:fragref> +<src:fragref linkend="body.font.master.frag"></src:fragref> +<src:fragref linkend="body.font.size.frag"></src:fragref> +<src:fragref linkend="body.margin.bottom.frag"></src:fragref> +<src:fragref linkend="body.margin.top.frag"></src:fragref> +<src:fragref linkend="body.start.indent.frag"></src:fragref> +<src:fragref linkend="body.end.indent.frag"></src:fragref> +<src:fragref linkend="bookmarks.collapse.frag"></src:fragref> +<src:fragref linkend="bridgehead.in.toc.frag"></src:fragref> +<src:fragref linkend="calloutlist.properties.frag"></src:fragref> +<src:fragref linkend="callout.properties.frag"></src:fragref> +<src:fragref linkend="callout.defaultcolumn.frag"></src:fragref> +<src:fragref linkend="callout.graphics.extension.frag"></src:fragref> +<src:fragref linkend="callout.graphics.frag"></src:fragref> +<src:fragref linkend="callout.icon.size.frag"></src:fragref> +<src:fragref linkend="callout.graphics.number.limit.frag"></src:fragref> +<src:fragref linkend="callout.graphics.path.frag"></src:fragref> +<src:fragref linkend="callout.unicode.font.frag"></src:fragref> +<src:fragref linkend="callout.unicode.frag"></src:fragref> +<src:fragref linkend="callout.unicode.number.limit.frag"></src:fragref> +<src:fragref linkend="callout.unicode.start.character.frag"></src:fragref> +<src:fragref linkend="callouts.extension.frag"></src:fragref> +<src:fragref linkend="chapter.autolabel.frag"></src:fragref> +<src:fragref linkend="chunk.quietly.frag"></src:fragref> +<src:fragref linkend="collect.xref.targets.frag"></src:fragref> +<src:fragref linkend="column.count.back.frag"></src:fragref> +<src:fragref linkend="column.count.body.frag"></src:fragref> +<src:fragref linkend="column.count.front.frag"></src:fragref> +<src:fragref linkend="column.count.index.frag"></src:fragref> +<src:fragref linkend="column.count.lot.frag"></src:fragref> +<src:fragref linkend="column.count.titlepage.frag"></src:fragref> +<src:fragref linkend="column.gap.back.frag"></src:fragref> +<src:fragref linkend="column.gap.body.frag"></src:fragref> +<src:fragref linkend="column.gap.front.frag"></src:fragref> +<src:fragref linkend="column.gap.index.frag"></src:fragref> +<src:fragref linkend="column.gap.lot.frag"></src:fragref> +<src:fragref linkend="column.gap.titlepage.frag"></src:fragref> +<src:fragref linkend="compact.list.item.spacing.frag"></src:fragref> +<src:fragref linkend="component.label.includes.part.label.frag"></src:fragref> +<src:fragref linkend="component.title.properties.frag"></src:fragref> +<src:fragref linkend="component.titlepage.properties.frag"></src:fragref> +<src:fragref linkend="crop.marks.frag"></src:fragref> +<src:fragref linkend="crop.mark.width.frag"></src:fragref> +<src:fragref linkend="crop.mark.offset.frag"></src:fragref> +<src:fragref linkend="crop.mark.bleed.frag"></src:fragref> +<src:fragref linkend="current.docid.frag"></src:fragref> +<src:fragref linkend="default.float.class.frag"></src:fragref> +<src:fragref linkend="default.image.width.frag"></src:fragref> +<src:fragref linkend="default.table.width.frag"></src:fragref> +<src:fragref linkend="default.table.frame.frag"></src:fragref> +<src:fragref linkend="default.table.rules.frag"></src:fragref> +<src:fragref linkend="default.units.frag"></src:fragref> +<src:fragref linkend="dingbat.font.family.frag"></src:fragref> +<src:fragref linkend="double.sided.frag"></src:fragref> +<src:fragref linkend="draft.mode.frag"></src:fragref> +<src:fragref linkend="draft.watermark.image.frag"></src:fragref> +<src:fragref linkend="ebnf.assignment.frag"></src:fragref> +<src:fragref linkend="ebnf.statement.terminator.frag"></src:fragref> +<src:fragref linkend="email.delimiters.enabled.frag"></src:fragref> +<src:fragref linkend="email.mailto.enabled.frag"></src:fragref> +<src:fragref linkend="equation.properties.frag"></src:fragref> +<src:fragref linkend="equation.number.properties.frag"></src:fragref> +<src:fragref linkend="example.properties.frag"></src:fragref> +<src:fragref linkend="exsl.node.set.available.frag"></src:fragref> +<src:fragref linkend="figure.properties.frag"></src:fragref> +<src:fragref linkend="firstterm.only.link.frag"></src:fragref> +<src:fragref linkend="footer.content.properties.frag"></src:fragref> +<src:fragref linkend="footer.rule.frag"></src:fragref> +<src:fragref linkend="footer.column.widths.frag"></src:fragref> +<src:fragref linkend="footer.table.height.frag"></src:fragref> +<src:fragref linkend="footer.table.properties.frag"></src:fragref> +<src:fragref linkend="footers.on.blank.pages.frag"></src:fragref> +<src:fragref linkend="footnote.font.size.frag"></src:fragref> +<src:fragref linkend="footnote.number.format.frag"></src:fragref> +<src:fragref linkend="footnote.number.symbols.frag"></src:fragref> +<src:fragref linkend="footnote.mark.properties.frag"></src:fragref> +<src:fragref linkend="footnote.properties.frag"></src:fragref> +<src:fragref linkend="footnote.sep.leader.properties.frag"></src:fragref> +<src:fragref linkend="fop.extensions.frag"></src:fragref> +<src:fragref linkend="fop1.extensions.frag"></src:fragref> +<src:fragref linkend="force.blank.pages.frag"></src:fragref> +<src:fragref linkend="formal.object.properties.frag"></src:fragref> +<src:fragref linkend="formal.procedures.frag"></src:fragref> +<src:fragref linkend="formal.title.placement.frag"></src:fragref> +<src:fragref linkend="formal.title.properties.frag"></src:fragref> +<src:fragref linkend="funcsynopsis.decoration.frag"></src:fragref> +<src:fragref linkend="funcsynopsis.style.frag"></src:fragref> +<src:fragref linkend="function.parens.frag"></src:fragref> +<src:fragref linkend="generate.consistent.ids.frag"></src:fragref> +<src:fragref linkend="generate.index.frag"></src:fragref> +<src:fragref linkend="generate.section.toc.level.frag"></src:fragref> +<src:fragref linkend="generate.toc.frag"></src:fragref> +<src:fragref linkend="glossary.as.blocks.frag"></src:fragref> +<src:fragref linkend="glossary.collection.frag"></src:fragref> +<src:fragref linkend="glossary.sort.frag"></src:fragref> +<src:fragref linkend="glossentry.show.acronym.frag"></src:fragref> +<src:fragref linkend="glosslist.as.blocks.frag"></src:fragref> +<src:fragref linkend="glossterm.auto.link.frag"></src:fragref> +<src:fragref linkend="glossterm.separation.frag"></src:fragref> +<src:fragref linkend="glossterm.width.frag"></src:fragref> +<src:fragref linkend="glossentry.list.item.properties.frag"></src:fragref> +<src:fragref linkend="glossterm.list.properties.frag"></src:fragref> +<src:fragref linkend="glossterm.block.properties.frag"></src:fragref> +<src:fragref linkend="glossdef.list.properties.frag"></src:fragref> +<src:fragref linkend="glossdef.block.properties.frag"></src:fragref> +<src:fragref linkend="graphic.default.extension.frag"></src:fragref> +<src:fragref linkend="header.content.properties.frag"></src:fragref> +<src:fragref linkend="header.rule.frag"></src:fragref> +<src:fragref linkend="header.column.widths.frag"></src:fragref> +<src:fragref linkend="header.table.height.frag"></src:fragref> +<src:fragref linkend="header.table.properties.frag"></src:fragref> +<src:fragref linkend="headers.on.blank.pages.frag"></src:fragref> +<src:fragref linkend="highlight.default.language.frag"></src:fragref> +<src:fragref linkend="highlight.source.frag"></src:fragref> +<src:fragref linkend="highlight.xslthl.config.frag"></src:fragref> +<src:fragref linkend="hyphenate.frag"></src:fragref> +<src:fragref linkend="hyphenate.verbatim.frag"></src:fragref> +<src:fragref linkend="hyphenate.verbatim.characters.frag"></src:fragref> +<src:fragref linkend="ignore.image.scaling.frag"></src:fragref> +<src:fragref linkend="img.src.path.frag"></src:fragref> +<src:fragref linkend="index.method.frag"></src:fragref> +<src:fragref linkend="index.on.role.frag"></src:fragref> +<src:fragref linkend="index.on.type.frag"></src:fragref> +<src:fragref linkend="index.page.number.properties.frag"></src:fragref> +<src:fragref linkend="informalequation.properties.frag"></src:fragref> +<src:fragref linkend="informalexample.properties.frag"></src:fragref> +<src:fragref linkend="informalfigure.properties.frag"></src:fragref> +<src:fragref linkend="informal.object.properties.frag"></src:fragref> +<src:fragref linkend="informaltable.properties.frag"></src:fragref> +<src:fragref linkend="index.preferred.page.properties.frag"></src:fragref> +<src:fragref linkend="index.div.title.properties.frag"></src:fragref> +<src:fragref linkend="index.entry.properties.frag"></src:fragref> +<src:fragref linkend="index.number.separator.frag"></src:fragref> +<src:fragref linkend="index.range.separator.frag"></src:fragref> +<src:fragref linkend="index.term.separator.frag"></src:fragref> +<src:fragref linkend="insert.link.page.number.frag"></src:fragref> +<src:fragref linkend="insert.xref.page.number.frag"></src:fragref> +<src:fragref linkend="itemizedlist.properties.frag"></src:fragref> +<src:fragref linkend="itemizedlist.label.properties.frag"></src:fragref> +<src:fragref linkend="itemizedlist.label.width.frag"></src:fragref> +<src:fragref linkend="keep.relative.image.uris.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.default.language.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.language.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.use.xref.language.frag"></src:fragref> +<src:fragref linkend="l10n.lang.value.rfc.compliant.frag"></src:fragref> +<src:fragref linkend="label.from.part.frag"></src:fragref> +<src:fragref linkend="line-height.frag"></src:fragref> +<src:fragref linkend="linenumbering.everyNth.frag"></src:fragref> +<src:fragref linkend="linenumbering.extension.frag"></src:fragref> +<src:fragref linkend="linenumbering.separator.frag"></src:fragref> +<src:fragref linkend="linenumbering.width.frag"></src:fragref> +<src:fragref linkend="list.block.properties.frag"></src:fragref> +<src:fragref linkend="list.block.spacing.frag"></src:fragref> +<src:fragref linkend="list.item.spacing.frag"></src:fragref> +<src:fragref linkend="make.index.markup.frag"></src:fragref> +<src:fragref linkend="make.single.year.ranges.frag"></src:fragref> +<src:fragref linkend="make.year.ranges.frag"></src:fragref> +<src:fragref linkend="margin.note.properties.frag"></src:fragref> +<src:fragref linkend="margin.note.title.properties.frag"></src:fragref> +<src:fragref linkend="margin.note.float.type.frag"></src:fragref> +<src:fragref linkend="margin.note.width.frag"></src:fragref> +<src:fragref linkend="marker.section.level.frag"></src:fragref> +<src:fragref linkend="menuchoice.menu.separator.frag"></src:fragref> +<src:fragref linkend="menuchoice.separator.frag"></src:fragref> +<src:fragref linkend="monospace.font.family.frag"></src:fragref> +<src:fragref linkend="monospace.properties.frag"></src:fragref> +<src:fragref linkend="monospace.verbatim.properties.frag"></src:fragref> +<src:fragref linkend="monospace.verbatim.font.width.frag"></src:fragref> +<src:fragref linkend="nominal.table.width.frag"></src:fragref> +<src:fragref linkend="normal.para.spacing.frag"></src:fragref> +<src:fragref linkend="olink.doctitle.frag"></src:fragref> +<src:fragref linkend="olink.base.uri.frag"></src:fragref> +<src:fragref linkend="olink.debug.frag"></src:fragref> +<src:fragref linkend="olink.properties.frag"></src:fragref> +<src:fragref linkend="olink.lang.fallback.sequence.frag"></src:fragref> +<src:fragref linkend="orderedlist.properties.frag"></src:fragref> +<src:fragref linkend="orderedlist.label.properties.frag"></src:fragref> +<src:fragref linkend="orderedlist.label.width.frag"></src:fragref> +<src:fragref linkend="prefer.internal.olink.frag"></src:fragref> +<src:fragref linkend="insert.olink.page.number.frag"></src:fragref> +<src:fragref linkend="insert.olink.pdf.frag.frag"></src:fragref> +<src:fragref linkend="page.height.frag"></src:fragref> +<src:fragref linkend="page.height.portrait.frag"></src:fragref> +<src:fragref linkend="page.margin.bottom.frag"></src:fragref> +<src:fragref linkend="page.margin.inner.frag"></src:fragref> +<src:fragref linkend="page.margin.outer.frag"></src:fragref> +<src:fragref linkend="page.margin.top.frag"></src:fragref> +<src:fragref linkend="page.orientation.frag"></src:fragref> +<src:fragref linkend="page.width.frag"></src:fragref> +<src:fragref linkend="page.width.portrait.frag"></src:fragref> +<src:fragref linkend="paper.type.frag"></src:fragref> +<src:fragref linkend="part.autolabel.frag"></src:fragref> +<src:fragref linkend="passivetex.extensions.frag"></src:fragref> +<src:fragref linkend="pgwide.properties.frag"></src:fragref> +<src:fragref linkend="preface.autolabel.frag"></src:fragref> +<src:fragref linkend="preferred.mediaobject.role.frag"></src:fragref> +<src:fragref linkend="procedure.properties.frag"></src:fragref> +<src:fragref linkend="process.empty.source.toc.frag"></src:fragref> +<src:fragref linkend="process.source.toc.frag"></src:fragref> +<src:fragref linkend="profile.arch.frag"></src:fragref> +<src:fragref linkend="profile.audience.frag"></src:fragref> +<src:fragref linkend="profile.attribute.frag"></src:fragref> +<src:fragref linkend="profile.condition.frag"></src:fragref> +<src:fragref linkend="profile.conformance.frag"></src:fragref> +<src:fragref linkend="profile.lang.frag"></src:fragref> +<src:fragref linkend="profile.os.frag"></src:fragref> +<src:fragref linkend="profile.revision.frag"></src:fragref> +<src:fragref linkend="profile.revisionflag.frag"></src:fragref> +<src:fragref linkend="profile.role.frag"></src:fragref> +<src:fragref linkend="profile.security.frag"></src:fragref> +<src:fragref linkend="profile.separator.frag"></src:fragref> +<src:fragref linkend="profile.status.frag"></src:fragref> +<src:fragref linkend="profile.userlevel.frag"></src:fragref> +<src:fragref linkend="profile.value.frag"></src:fragref> +<src:fragref linkend="profile.vendor.frag"></src:fragref> +<src:fragref linkend="profile.wordsize.frag"></src:fragref> +<src:fragref linkend="punct.honorific.frag"></src:fragref> +<src:fragref linkend="qanda.defaultlabel.frag"></src:fragref> +<src:fragref linkend="qanda.in.toc.frag"></src:fragref> +<src:fragref linkend="qanda.nested.in.toc.frag"></src:fragref> +<src:fragref linkend="qanda.inherit.numeration.frag"></src:fragref> +<src:fragref linkend="qandadiv.autolabel.frag"></src:fragref> +<src:fragref linkend="qanda.title.level1.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.level2.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.level3.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.level4.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.level5.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.level6.properties.frag"></src:fragref> +<src:fragref linkend="qanda.title.properties.frag"></src:fragref> +<src:fragref linkend="refentry.generate.name.frag"></src:fragref> +<src:fragref linkend="refentry.generate.title.frag"></src:fragref> +<src:fragref linkend="refentry.pagebreak.frag"></src:fragref> +<src:fragref linkend="refentry.title.properties.frag"></src:fragref> +<src:fragref linkend="refentry.xref.manvolnum.frag"></src:fragref> +<src:fragref linkend="reference.autolabel.frag"></src:fragref> +<src:fragref linkend="refclass.suppress.frag"></src:fragref> +<src:fragref linkend="region.after.extent.frag"></src:fragref> +<src:fragref linkend="region.before.extent.frag"></src:fragref> +<src:fragref linkend="revhistory.table.properties.frag"></src:fragref> +<src:fragref linkend="revhistory.table.cell.properties.frag"></src:fragref> +<src:fragref linkend="revhistory.title.properties.frag"></src:fragref> +<src:fragref linkend="root.properties.frag"></src:fragref> +<src:fragref linkend="rootid.frag"></src:fragref> +<src:fragref linkend="runinhead.default.title.end.punct.frag"></src:fragref> +<src:fragref linkend="runinhead.title.end.punct.frag"></src:fragref> +<src:fragref linkend="sans.font.family.frag"></src:fragref> +<src:fragref linkend="section.autolabel.frag"></src:fragref> +<src:fragref linkend="section.autolabel.max.depth.frag"></src:fragref> +<src:fragref linkend="section.container.element.frag"></src:fragref> +<src:fragref linkend="section.label.includes.component.label.frag"></src:fragref> +<src:fragref linkend="section.title.level1.properties.frag"></src:fragref> +<src:fragref linkend="section.title.level2.properties.frag"></src:fragref> +<src:fragref linkend="section.title.level3.properties.frag"></src:fragref> +<src:fragref linkend="section.title.level4.properties.frag"></src:fragref> +<src:fragref linkend="section.title.level5.properties.frag"></src:fragref> +<src:fragref linkend="section.title.level6.properties.frag"></src:fragref> +<src:fragref linkend="section.title.properties.frag"></src:fragref> +<src:fragref linkend="section.level1.properties.frag"></src:fragref> +<src:fragref linkend="section.level2.properties.frag"></src:fragref> +<src:fragref linkend="section.level3.properties.frag"></src:fragref> +<src:fragref linkend="section.level4.properties.frag"></src:fragref> +<src:fragref linkend="section.level5.properties.frag"></src:fragref> +<src:fragref linkend="section.level6.properties.frag"></src:fragref> +<src:fragref linkend="section.properties.frag"></src:fragref> +<src:fragref linkend="segmentedlist.as.table.frag"></src:fragref> +<src:fragref linkend="shade.verbatim.frag"></src:fragref> +<src:fragref linkend="shade.verbatim.style.frag"></src:fragref> +<src:fragref linkend="show.comments.frag"></src:fragref> +<src:fragref linkend="sidebar.properties.frag"></src:fragref> +<src:fragref linkend="sidebar.title.properties.frag"></src:fragref> +<src:fragref linkend="sidebar.float.type.frag"></src:fragref> +<src:fragref linkend="sidebar.float.width.frag"></src:fragref> +<src:fragref linkend="simplesect.in.toc.frag"></src:fragref> +<src:fragref linkend="subscript.properties.frag"></src:fragref> +<src:fragref linkend="superscript.properties.frag"></src:fragref> +<src:fragref linkend="symbol.font.family.frag"></src:fragref> +<src:fragref linkend="table.cell.border.color.frag"></src:fragref> +<src:fragref linkend="table.cell.border.style.frag"></src:fragref> +<src:fragref linkend="table.cell.border.thickness.frag"></src:fragref> +<src:fragref linkend="table.cell.padding.frag"></src:fragref> +<src:fragref linkend="table.footnote.number.format.frag"></src:fragref> +<src:fragref linkend="table.footnote.number.symbols.frag"></src:fragref> +<src:fragref linkend="table.footnote.properties.frag"></src:fragref> +<src:fragref linkend="table.frame.border.color.frag"></src:fragref> +<src:fragref linkend="table.frame.border.style.frag"></src:fragref> +<src:fragref linkend="table.frame.border.thickness.frag"></src:fragref> +<src:fragref linkend="table.properties.frag"></src:fragref> +<src:fragref linkend="tablecolumns.extension.frag"></src:fragref> +<src:fragref linkend="table.table.properties.frag"></src:fragref> +<src:fragref linkend="table.caption.properties.frag"></src:fragref> +<src:fragref linkend="target.database.document.frag"></src:fragref> +<src:fragref linkend="targets.filename.frag"></src:fragref> +<src:fragref linkend="task.properties.frag"></src:fragref> +<src:fragref linkend="textdata.default.encoding.frag"></src:fragref> +<src:fragref linkend="tex.math.delims.frag"></src:fragref> +<src:fragref linkend="tex.math.in.alt.frag"></src:fragref> +<src:fragref linkend="textinsert.extension.frag"></src:fragref> +<src:fragref linkend="title.font.family.frag"></src:fragref> +<src:fragref linkend="title.margin.left.frag"></src:fragref> +<src:fragref linkend="toc.indent.width.frag"></src:fragref> +<src:fragref linkend="toc.line.properties.frag"></src:fragref> +<src:fragref linkend="toc.margin.properties.frag"></src:fragref> +<src:fragref linkend="toc.max.depth.frag"></src:fragref> +<src:fragref linkend="toc.section.depth.frag"></src:fragref> +<src:fragref linkend="ulink.footnotes.frag"></src:fragref> +<src:fragref linkend="ulink.hyphenate.frag"></src:fragref> +<src:fragref linkend="ulink.hyphenate.chars.frag"></src:fragref> +<src:fragref linkend="ulink.show.frag"></src:fragref> +<src:fragref linkend="use.extensions.frag"></src:fragref> +<src:fragref linkend="use.local.olink.style.frag"></src:fragref> +<src:fragref linkend="use.role.as.xrefstyle.frag"></src:fragref> +<src:fragref linkend="use.role.for.mediaobject.frag"></src:fragref> +<src:fragref linkend="use.svg.frag"></src:fragref> +<src:fragref linkend="variablelist.as.blocks.frag"></src:fragref> +<src:fragref linkend="variablelist.max.termlength.frag"></src:fragref> +<src:fragref linkend="variablelist.term.separator.frag"></src:fragref> +<src:fragref linkend="variablelist.term.properties.frag"></src:fragref> +<src:fragref linkend="variablelist.term.break.after.frag"></src:fragref> +<src:fragref linkend="verbatim.properties.frag"></src:fragref> +<src:fragref linkend="writing.mode.frag"></src:fragref> +<src:fragref linkend="xep.extensions.frag"></src:fragref> +<src:fragref linkend="xep.index.item.properties.frag"></src:fragref> +<src:fragref linkend="xref.label-page.separator.frag"></src:fragref> +<src:fragref linkend="xref.label-title.separator.frag"></src:fragref> +<src:fragref linkend="xref.properties.frag"></src:fragref> +<src:fragref linkend="xref.title-page.separator.frag"></src:fragref> +<src:fragref linkend="xref.with.number.and.title.frag"></src:fragref> +<src:fragref linkend="region.inner.extent.frag"></src:fragref> +<src:fragref linkend="region.outer.extent.frag"></src:fragref> +<src:fragref linkend="body.margin.inner.frag"></src:fragref> +<src:fragref linkend="body.margin.outer.frag"></src:fragref> +<src:fragref linkend="side.region.precedence.frag"></src:fragref> +<src:fragref linkend="inner.region.content.properties.frag"></src:fragref> +<src:fragref linkend="outer.region.content.properties.frag"></src:fragref> +<src:fragref linkend="region.inner.properties.frag"></src:fragref> +<src:fragref linkend="region.outer.properties.frag"></src:fragref> +<src:fragref linkend="para.properties.frag"></src:fragref> + +</xsl:stylesheet> + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/param.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/param.xsl new file mode 100644 index 0000000000..b7ce4a2e85 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/param.xsl @@ -0,0 +1,993 @@ + + + + + + + + + 0.0in + 0.0in + + + + bold + always + always + + + + false + center + + +.png + +images/ + + + + 14pt + bold + false + always + + + + 1em + 0.8em + 1.2em + 1em + 0.8em + 1.2em + + + 0.8em + 1em + 1.2em + 0.25in + 0.25in + +justify +A + + + + +. + +. + + 0.5in + -0.5in + +http://docbook.sourceforge.net/release/bibliography/bibliography.xml + + +normal + +0.5in +0.5in +0.5em +1em +2em + +serif +10 + + pt + +0.5in +0.5in + + + 0pt + 0pt + 4pc + + +0pt + + + + 1em + 0.8em + 1.2em + 2.2em + 0.2em + + + +60 + +.svg + +7pt + +30 +images/callouts/ +ZapfDingbats + +10 +10102 + + + +no + + + +2 + + +12pt +12pt +12pt +12pt +12pt +12pt + + 0em + 0em + 0.2em + + + + always + + + + false + + + center + start + + + + + + + +0.5pt +24pt +6pt + + + + left + before + + + + +all +none +pt +serif + +no +images/draft.png + + + + ::= + + + + + + + + + end + center + + + auto + + + + 1 + 0 + + + + + + + + + + + + + +1 1 1 +14pt + + fixed + 100% + + + + pt + +1 + + + + 75% + normal + normal + + + + + normal + normal + + 0pt + 0pt + 0pt + + wrap + treat-as-space + + + black + rule + 1in + + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + always + + + +figure before +example before +equation before +table before +procedure before +task before + + + bold + + + pt + + false + 0.4em + 0.6em + 0.8em + + +kr + + + + + + +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title + + + + +no + + +0.25in +2in + + 1em + 0.8em + 1.2em + + + + + 1em + 0.8em + 1.2em + always + always + + + + + .25in + + + + + + + + + + + +1 1 1 +14pt + + fixed + 100% + + + + + +true + + + + +basic + + + + + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + + + + bold + + + 0pt + 14.4pt + + bold + always + + + + 0pt + + + 0pt + + + + +no +no + + + + + 1.0em + + + +en + + + + +normal +5 + + +3 + + 0.2em + 1.5em + + + 1em + 0.8em + 1.2em + 1em + 0.8em + 1.2em + + + 1em + 0.8em + 1.2em + + + + + + 90% + start + + + bold + false + start + always + +none +1in +2 + → ++ +monospace + + + + + + + start + no-wrap + +0.60em +6in + + 1em + 0.8em + 1.2em + +no + + + + replace + + + + 2em + + + +1.2em + +no + + + + + + + + + + + + + + 210mm + 11in + 8.5in + 14in + 8.5in + 2378mm + 1682mm + 1189mm + 841mm + 594mm + 420mm + 297mm + 210mm + 148mm + 105mm + 74mm + 52mm + 37mm + 1414mm + 1000mm + 707mm + 500mm + 353mm + 250mm + 176mm + 125mm + 88mm + 62mm + 44mm + 1297mm + 917mm + 648mm + 458mm + 324mm + 229mm + 162mm + 114mm + 81mm + 57mm + 40mm + 11in + + +0.5in + + + 1.25in + 1in + + + + + 0.75in + 1in + + +0.5in +portrait + + + + + + + + + + + + + 8.5in + 11in + 8.5in + 14in + 1682mm + 1189mm + 841mm + 594mm + 420mm + 297mm + 210mm + 148mm + 105mm + 74mm + 52mm + 37mm + 26mm + 1000mm + 707mm + 500mm + 353mm + 250mm + 176mm + 125mm + 88mm + 62mm + 44mm + 31mm + 917mm + 648mm + 458mm + 324mm + 229mm + 162mm + 114mm + 81mm + 57mm + 40mm + 28mm + 8.5in + + +USletter +I + + + 0pt + + + + + auto + + + + + + + + + + + + + + +; + + + + + +. +number + + + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + + bold + + always + 0.8em + 1.0em + 1.2em + + + + + + + + + 18pt + bold + 1em + false + always + 0.8em + 1.0em + 1.2em + 0.5em + 0.4em + 0.6em + + + + I + +0.4in +0.4in + + + + + + + + + + + + + + + + + + + + character-by-character + disregard-shifts + + + + + +. +.!?: +sans-serif + +8 +block + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + pt + + + + + + + bold + + always + 0.8em + 1.0em + 1.2em + start + + + + + + + + + + + + + + + + + + + + + #E0E0E0 + + + + solid + 1pt + black + #DDDDDD + 12pt + 12pt + 6pt + 6pt + 0pt + 0pt + + + + bold + false + start + always + +none +1in + + + 75% + + + 75% + +Symbol,ZapfDingbats + +black +solid +0.5pt + + 2pt + 2pt + 2pt + 2pt + +a + + + + + normal + normal + 2pt + + + +black +solid +0.5pt + + auto + + + + retain + collapse + + + always + + olinkdb.xml +target.db + + auto + + + + + +sans-serif + + + -4pc + 0pt + 0pt + + +24 + + + justify + start + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + +8 +2 + + +/ + + + + + + + +24 +, + + +0 + + 0.8em + 1em + 1.2em + 0.8em + 1em + 1.2em + false + no-wrap + false + preserve + preserve + start + + + + writing-mode + + + + + + + + + + true + true + + +: + + + + +0in +0in +0in +0in +false + + + + + + 0 + 0 + 90 + + + 0 + 0 + 90 + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/passivetex.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/passivetex.xsl new file mode 100644 index 0000000000..9fa28ec50f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/passivetex.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/pdf2index b/apache-fop/src/test/resources/docbook-xsl/fo/pdf2index new file mode 100755 index 0000000000..c14d8ecdb3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/pdf2index @@ -0,0 +1,140 @@ +#!/usr/bin/perl -- # -*- Perl -*- + +# this needs some cleanup... + +my $PSTOTEXT = "pstotext"; + +my $pdf = shift @ARGV; + +my $index = ""; +my $inindex = 0; +open (F, "$PSTOTEXT $pdf |"); +while () { + if (/^<\/index/) { + $index .= $_; + $inindex = 0; + } + $inindex = 1 if /^.*?<\/phrase>\s*)+)/s) { + $cindex .= $1; + $_ = $2; + $index = $'; # ' + + my @pages = m/.*?<\/phrase>\s*/sg; + + # Expand ranges + if ($#pages >= 0) { + my @mpages = (); + foreach my $page (@pages) { + my $pageno = &pageno($page); + if ($pageno =~ /^([0-9]+)[^0-9]([0-9]+)$/) { # funky - + for (my $count = $1; $count <= $2; $count++) { + push (@mpages, "$count"); + } + } else { + push (@mpages, $page); + } + } + @pages = sort rangesort @mpages; + } + + # Remove duplicates... + if ($#pages > 0) { + my @mpages = (); + my $current = ""; + foreach my $page (@pages) { + my $pageno = &pageno($page); + if ($pageno ne $current) { + push (@mpages, $page); + $current = $pageno; + } + } + @pages = @mpages; + } + + # Collapse ranges... + if ($#pages > 1) { + my @cpages = (); + while (@pages) { + my $count = 0; + my $len = &rangelen($count, @pages); + if ($len <= 2) { + my $page = shift @pages; + push (@cpages, $page); + } else { + my $fpage = shift @pages; + my $lpage = ""; + while ($len > 1) { + $lpage = shift @pages; + $len--; + } + my $fpno = &pageno($fpage); + my $lpno = &pageno($lpage); + $fpage =~ s/>$fpno${fpno}-$lpno//; + $page =~ s/^//; + + return $1 if $page =~ /^([^<>]+)/; + return "?"; +} + +sub rangesort { + my $apno = &pageno($a); + my $bpno = &pageno($b); + + # Make sure roman pages come before arabic ones, otherwise sort them in order + return -1 if ($apno !~ /^\d+/ && $bpno =~ /^\d+/); + return 1 if ($apno =~ /^\d+/ && $bpno !~ /^\d+/); + return $apno <=> $bpno; +} + +sub rangelen { + my $count = shift; + my @pages = @_; + my $len = 1; + my $inrange = 1; + + my $current = &pageno($pages[$count]); + while ($count < $#pages && $inrange) { + $count++; + my $next = &pageno($pages[$count]); + if ($current + 1 eq $next) { + $current = $next; + $inrange = 1; + $len++; + } else { + $inrange = 0; + } + } + + return $len; +} diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/pi.xml b/apache-fop/src/test/resources/docbook-xsl/fo/pi.xml new file mode 100644 index 0000000000..937ef1504e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/pi.xml @@ -0,0 +1,1002 @@ + + +FO Processing Instruction Reference + + $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $ + + + + + Introduction + + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for FO output. + + +You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbfo_background-color +Sets background color for an image + + + + dbfo background-color="color" + + +Description + +Use the dbfo background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + Parameters + + + background-color="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Background color + + + + + +dbfo_bgcolor +Sets background color on a table row or table cell + + + + dbfo bgcolor="color" + + +Description + +Use the dbfo bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + + +This PI works for both CALS and HTML tables. + + Parameters + + + bgcolor="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell background color + + + + + +dbfo_float-type +Specifies float behavior for a sidebar + + + + dbfo float-type="margin.note" + + +Description + +Use the dbfo float-type PI to specify the float + behavior for a sidebar (to cause the sidebar to be + displayed as a marginal note). + + Parameters + + + float-type="margin.note" + + +Specifies that the sidebar should be + displayed as a marginal note. + + + + + + Related Global Parameters + +sidebar.float.type (parameter), + sidebar.float.width (parameter), + sidebar.properties (attribute-set), + sidebar.title.properties (attribute-set) + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +A sidebar as + side float + + + + + +dbfo_funcsynopsis-style +Specifies presentation style for a funcsynopsis + + + + dbfo funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbfo funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays funcprototype output in K&R style + + + + funcsynopsis-style="ansi" + + +Displays funcprototype output in ANSI style + + + + + + Related Global Parameters + +funcsynopsis.style + + + + + +dbfo_glossary-presentation +Specifies presentation style for a glossary + + + + dbfo glossary-presentation="list"|"blocks" + + +Description + +Use the dbfo glossary-presentation PI as a child of + a glossary to control its presentation style. + + Parameters + + + glossary-presentation="list" + + +Displays the glossary as a list + + + + glossary-presentation="blocks" + + +Displays the glossary as blocks + + + + + + Related Global Parameters + +glossary.as.blocks + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_glosslist-presentation +Specifies presentation style for a glosslist + + + + dbfo glosslist-presentation="list"|"blocks" + + +Description + +Use the dbfo glosslist-presentation PI as a child of + a glosslist to control its presentation style. + + Parameters + + + glosslist-presentation="list" + + +Displays the glosslist as a list + + + + glosslist-presentation="blocks" + + +Displays the glosslist as blocks + + + + + + Related Global Parameters + +glosslist.as.blocks + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_glossterm-width +Specifies the glossterm width for a glossary or + glosslist + + + + dbfo glossterm-width="width" + + +Description + +Use the dbfo glossterm-width PI as a child of a + glossary or glosslist to specify the + width for output of glossterm instances in the + output. + + Parameters + + + glossterm-width="width" + + +Specifies the glossterm width (including units) + + + + + + Related Global Parameters + +glossterm.width, + glossterm.separation + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Glossary + formatting in print + + + + + +dbfo_keep-together +Specifies “keep†behavior for a table, example, + figure, equation, procedure, or task + + + + dbfo keep-together="auto"|"always" + + +Description + +Use the dbfo keep-together PI as a child of a + formal object (table, example, + figure, equation, procedure, or + task) to specify “keep†behavior (to allow the object to + “break†across a page). + + +The PI also works with informaltable, informalexample, + informalfigure and informalequation. + + + + Parameters + + + keep-together="auto" + + +Enables the object to break across a page + + + + keep-together="always" + + +Prevents the object from breaking across a page (the + default stylesheet behavior) + + + + + + Related Global Parameters + +formal.object.properties + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Keep-together processing instruction + + + + + +dbfo_label-width +Specifies the label width for a qandaset, itemizedlist, orderedlist + or calloutlist + + + + dbfo label-width="width" + + +Description + +Use the dbfo label-width PI as a child of a + qandaset, itemizedlist, orderedlist, + or calloutlist to specify the width of labels. + + Parameters + + + label-width="width" + + +Specifies the label width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A formatting + + + + + +dbfo_linenumbering.everyNth +Specifies interval for line numbers in verbatims + + + + dbfo linenumbering.everyNth="N" + + +Description + +Use the dbfo linenumbering.everyNth PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + Parameters + + + linenumbering.everyNth="N" + + +Specifies numbering interval; a number is output + before every Nth line + + + + + + Related Global Parameters + +linenumbering.everyNth + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_linenumbering.separator +Specifies separator text for line numbers in verbatims + + + + dbfo linenumbering.separator="text" + + +Description + +Use the dbfo linenumbering.separator PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + Parameters + + + linenumbering.separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +linenumbering.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_linenumbering.width +Specifies width for line numbers in verbatims + + + + dbfo linenumbering.width="width" + + +Description + +Use the dbfo linenumbering.width PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + Parameters + + + linenumbering.width="width" + + +Specifies the width (inluding units) + + + + + + Related Global Parameters + +linenumbering.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbfo_list-presentation +Specifies presentation style for a variablelist or + segmentedlist + + + + dbfo list-presentation="list"|"blocks"|"table" + + +Description + +Use the dbfo list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + Parameters + + + list-presentation="list" + + +Displays the list as a list + + + + list-presentation="blocks" + + +(variablelist only) Displays the list as blocks + + + + list-presentation="table" + + +(segmentedlist only) Displays the list as a table + + + + + + Related Global Parameters + + + + +variablelist.as.blocks + + + + +variablelist.as.table + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in print + + + + + +dbfo_list-width +Specifies the width of a horizontal simplelist + + + + dbfo list-width="width" + + +Description + +Use the dbfo list-width PI as a child of a + simplelist whose class + value is horizontal, to specify the width + of the simplelist. + + Parameters + + + list-width="width" + + +Specifies the simplelist width (including units) + + + + + + + + + +dbfo_orientation +Specifies the orientation for a CALS table row or cell + + + + dbfo orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + +Description + +Use the dbfo orientation PI as a child of a CALS + table row or cell to specify the orientation + (rotation) for the row or cell. + + Parameters + + + orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + +Specifies the number of degrees by which the cell or + row is rotated + + + + + + + + + +dbfo_pgwide +Specifies if an equation or example goes across full page width + + + + dbfo pgwide="0"|"1" + + +Description + +Use the dbfo pgwide PI as a child of an + equation or example to specify that the + content should rendered across the full width of the page. + + Parameters + + + pgwide="0" + + +If zero, the content is rendered across the current + text flow + + + + pgwide="1" + + +If 1 (or any non-zero value), the + content is rendered across the full width of the page + + + + + + Related Global Parameters + +pgwide.properties + + + + + +dbfo_rotated-width +Specifies the width for a CALS table entry or + row + + + + dbfo rotated-width="width" + + +Description + +Use the dbfo rotated-width PI as a child of + entry or row instance in a CALS table to specify the + width of that the entry or row; or + use it higher up in table to cause the width to be inherited + recursively down. + + Parameters + + + rotated-width="width" + + +Specifies the width of a row or cell (including units) + + + + + + + + + +dbfo_sidebar-width +Specifies the width of a sidebar + + + + dbfo sidebar-width="width" + + +Description + +Use the dbfo sidebar-width PI as a child of a + sidebar to specify the width of the sidebar. + + Parameters + + + sidebar-width="width" + + +Specifies the sidebar width (including units) + + + + + + Related Global Parameters + +sidebar.float.type parameter, + sidebar.float.width parameter, + sidebar.properties attribute-set, + sidebar.title.properties + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +A sidebar as + side float + + + + + +dbfo_start +(obsolete) Sets the starting number on an ordered list + + + + dbfo start="character" + + +Description + +This PI is obsolete. The intent of + it was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + Parameters + + + start="character" + + +Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +List starting number + + + + + +dbfo_table-width +Specifies the width for a CALS table or for revhistory + output + + + + dbfo table-width="width" + + +Description + +Use the dbfo table-width PI as a child or + sibling of a CALS table, or as a child of an + informaltable, entrytbl, or + revhistory instance (which is rendered as a table + in output) to specify the width of the table in output. + + Parameters + + + table-width="width" + + +Specifies the table width (including units or as a percentage) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table width + + + + + +dbfo_term-width +Specifies the term width for a variablelist + + + + dbfo term-width="width" + + +Description + +Use the dbfo term-width PI as a child of a + variablelist to specify the width for + term output. + + Parameters + + + term-width="width" + + +Specifies the term width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in print + + + + + +dbfo_toc +Specifies whether a TOC should be generated for a qandaset + + + + dbfo toc="0"|"1" + + +Description + +Use the dbfo toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + Parameters + + + toc="0" + + +If zero, no TOC is generated + + + + toc="1" + + +If 1 (or any non-zero value), + a TOC is generated + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A list of questions, + Q and A formatting + + + + + +dbfo-need +Specify a need for space (a kind of soft page break) + + + + dbfo-need height="n" [space-before="n"] + + +Description + +A “need†is a request for space on a page. If the + requested space is not available, the page breaks and the + content that follows the need request appears on the next + page. If the requested space is available, then no page break + is inserted. + + Parameters + + + height="n" + + +The amount of height needed (including units) + + + + space-before="n" + + +The amount of extra vertical space to add (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Soft page breaks + + + + + +dbfo_row-height +Specifies the height for a CALS table row + + + + dbfo row-height="height" + + +Description + +Use the dbfo row-height PI as a child of a + row to specify the height of the row. + + Parameters + + + row-height="height" + + +Specifies the row height (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Row height + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/pi.xsl new file mode 100644 index 0000000000..23d7f22788 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/pi.xsl @@ -0,0 +1,1098 @@ + + + + + +FO Processing Instruction Reference + + $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $ + + + + + Introduction + + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for FO output. + + You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Sets background color for an image + + Use the dbfo background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbfo background-color="color" + + + + background-color="color" + + An HTML color value + + + + + + Background color + + + + + + + + + + + + Sets background color on a table row or table cell + + Use the dbfo bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + This PI works for both CALS and HTML tables. + + + dbfo bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + + + + + + + + + + + + Specifies float behavior for a sidebar + + Use the dbfo float-type PI to specify the float + behavior for a sidebar (to cause the sidebar to be + displayed as a marginal note). + + + dbfo float-type="margin.note" + + + + float-type="margin.note" + + Specifies that the sidebar should be + displayed as a marginal note. + + + + + + sidebar.float.type (parameter), + sidebar.float.width (parameter), + sidebar.properties (attribute-set), + sidebar.title.properties (attribute-set) + + + + A sidebar as + side float + + + + + + + + + + + + Specifies presentation style for a funcsynopsis + + Use the dbfo funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbfo funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays funcprototype output in K&R style + + + funcsynopsis-style="ansi" + + Displays funcprototype output in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + + + Specifies presentation style for a glossary + + Use the dbfo glossary-presentation PI as a child of + a glossary to control its presentation style. + + + dbfo glossary-presentation="list"|"blocks" + + + + glossary-presentation="list" + + Displays the glossary as a list + + + glossary-presentation="blocks" + + Displays the glossary as blocks + + + + + + glossary.as.blocks + + + Glossary + formatting in print + + + + + + + + + + + + Specifies presentation style for a glosslist + + Use the dbfo glosslist-presentation PI as a child of + a glosslist to control its presentation style. + + + dbfo glosslist-presentation="list"|"blocks" + + + + glosslist-presentation="list" + + Displays the glosslist as a list + + + glosslist-presentation="blocks" + + Displays the glosslist as blocks + + + + + + glosslist.as.blocks + + + Glossary + formatting in print + + + + + + + + + + + + Specifies the glossterm width for a glossary or + glosslist + + Use the dbfo glossterm-width PI as a child of a + glossary or glosslist to specify the + width for output of glossterm instances in the + output. + + + dbfo glossterm-width="width" + + + + glossterm-width="width" + + Specifies the glossterm width (including units) + + + + + + glossterm.width, + glossterm.separation + + + + Glossary + formatting in print + + + + + + + + + + + + Specifies “keep†behavior for a table, example, + figure, equation, procedure, or task + + Use the dbfo keep-together PI as a child of a + formal object (table, example, + figure, equation, procedure, or + task) to specify “keep†behavior (to allow the object to + “break†across a page). + The PI also works with informaltable, informalexample, + informalfigure and informalequation. + + + + + dbfo keep-together="auto"|"always" + + + + keep-together="auto" + + Enables the object to break across a page + + + keep-together="always" + + Prevents the object from breaking across a page (the + default stylesheet behavior) + + + + + + formal.object.properties + + + Keep-together processing instruction + + + + + + + + + + + + Specifies the label width for a qandaset, itemizedlist, orderedlist + or calloutlist + + Use the dbfo label-width PI as a child of a + qandaset, itemizedlist, orderedlist, + or calloutlist to specify the width of labels. + + + dbfo label-width="width" + + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + + + + + + + + + + + + Specifies interval for line numbers in verbatims + + Use the dbfo linenumbering.everyNth PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + + dbfo linenumbering.everyNth="N" + + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + + + + + + + + + + + + Specifies separator text for line numbers in verbatims + + Use the dbfo linenumbering.separator PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + + dbfo linenumbering.separator="text" + + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + + + + + + + + + + + + Specifies width for line numbers in verbatims + + Use the dbfo linenumbering.width PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + + dbfo linenumbering.width="width" + + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + + + + + + + + + + + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbfo list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbfo list-presentation="list"|"blocks"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="blocks" + + (variablelist only) Displays the list as blocks + + + list-presentation="table" + + (segmentedlist only) Displays the list as a table + + + + + + + + variablelist.as.blocks + + + variablelist.as.table + + + + + Variable list formatting in print + + + + + + + + + + + + Specifies the width of a horizontal simplelist + + Use the dbfo list-width PI as a child of a + simplelist whose class + value is horizontal, to specify the width + of the simplelist. + + + dbfo list-width="width" + + + + list-width="width" + + Specifies the simplelist width (including units) + + + + + + + + + + + + + + + Specifies the orientation for a CALS table row or cell + + Use the dbfo orientation PI as a child of a CALS + table row or cell to specify the orientation + (rotation) for the row or cell. + + + dbfo orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + + + orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + Specifies the number of degrees by which the cell or + row is rotated + + + + + + + + + + + + + + + Specifies if an equation or example goes across full page width + + Use the dbfo pgwide PI as a child of an + equation or example to specify that the + content should rendered across the full width of the page. + + + dbfo pgwide="0"|"1" + + + + pgwide="0" + + If zero, the content is rendered across the current + text flow + + + pgwide="1" + + If 1 (or any non-zero value), the + content is rendered across the full width of the page + + + + + + pgwide.properties + + + + + + + + + + + + Specifies the width for a CALS table entry or + row + + Use the dbfo rotated-width PI as a child of + entry or row instance in a CALS table to specify the + width of that the entry or row; or + use it higher up in table to cause the width to be inherited + recursively down. + + + dbfo rotated-width="width" + + + + rotated-width="width" + + Specifies the width of a row or cell (including units) + + + + + + + + + + + + + + + Specifies the width of a sidebar + + Use the dbfo sidebar-width PI as a child of a + sidebar to specify the width of the sidebar. + + + dbfo sidebar-width="width" + + + + sidebar-width="width" + + Specifies the sidebar width (including units) + + + + + + sidebar.float.type parameter, + sidebar.float.width parameter, + sidebar.properties attribute-set, + sidebar.title.properties + + + + A sidebar as + side float + + + + + + + + + + + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + it was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbfo start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + + + + + + + + + Specifies the width for a CALS table or for revhistory + output + + Use the dbfo table-width PI as a child or + sibling of a CALS table, or as a child of an + informaltable, entrytbl, or + revhistory instance (which is rendered as a table + in output) to specify the width of the table in output. + + + dbfo table-width="width" + + + + table-width="width" + + Specifies the table width (including units or as a percentage) + + + + + + Table width + + + + + + + + + + + + Specifies the term width for a variablelist + + Use the dbfo term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbfo term-width="width" + + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in print + + + + + + + + + + + + Specifies whether a TOC should be generated for a qandaset + + Use the dbfo toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + + dbfo toc="0"|"1" + + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + + + + + + + + + + + + Specify a need for space (a kind of soft page break) + + A “need†is a request for space on a page. If the + requested space is not available, the page breaks and the + content that follows the need request appears on the next + page. If the requested space is available, then no page break + is inserted. + + + dbfo-need height="n" [space-before="n"] + + + + height="n" + + The amount of height needed (including units) + + + space-before="n" + + The amount of extra vertical space to add (including units) + + + + + + Soft page breaks + + + + + Specifies the height for a CALS table row + + Use the dbfo row-height PI as a child of a + row to specify the height of the row. + + + dbfo row-height="height" + + + + row-height="height" + + Specifies the row height (including units) + + + + + + Row height + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + filename + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/profile-docbook.xsl new file mode 100644 index 0000000000..4233e2d4f3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/profile-docbook.xsl @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + ERROR: Document root element ($rootid= + + ) for FO output + must be one of the following elements: + + + + + + + + + + + + + + + + + + + + + ERROR: Document root element for FO output + must be one of the following elements: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [could not find document title] + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Making + + pages on + + paper ( + + x + + ) + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/ptc.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/ptc.xsl new file mode 100644 index 0000000000..a8874d88e5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/ptc.xsl @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/qandaset.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/qandaset.xsl new file mode 100644 index 0000000000..cbf118ae26 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/qandaset.xsl @@ -0,0 +1,395 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.5em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em * 0.50 + + + 5em + + + 4em + + + 3em + + 2.5em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.5em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/refentry.xsl new file mode 100644 index 0000000000..2beda75fcd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/refentry.xsl @@ -0,0 +1,664 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1em + + + + + + + + + + + , + + + + + + + + + em-dash + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/sections.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/sections.xsl new file mode 100644 index 0000000000..81c5daac1e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/sections.xsl @@ -0,0 +1,756 @@ + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + 2 + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/spaces.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/spaces.xsl new file mode 100644 index 0000000000..dc3a71a534 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/spaces.xsl @@ -0,0 +1,261 @@ + + + + + + + + + + + +0.5em +1em +0.5em +1em +0.33em +0.25em +0.16em + + +0.2em +0.1em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/synop.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/synop.xsl new file mode 100644 index 0000000000..92afc20816 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/synop.xsl @@ -0,0 +1,1007 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + +   + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (void); + + + (); + + + + + + (...); + + + + + + + + + + + + ( + + + + + + + + + + + , + + + ); + + + + + + + + + + + + + + + , + + + + + + + ; + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + + &RE; + + + + + + + + + + extends + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + +  {&RE; + + } + + + + + + + + + + + , + + + + + + + + + + + +   + + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + 0 + + ,&RE; + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + + ) + + &RE;    throws  + + + + + + + ; + + + + + + + + + + + : + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + +  {&RE; + + } + + + + + + + + + + , + + + + + + + +   + + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + &RE;    throws  + + + + + + + ; + + + + + + + + + interface + + + : + + + &RE;     + + + + implements + + + &RE;     + + + + throws + + +  {&RE; + + } + + + + + + + + + + , + + + + + + + +   + + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + &RE;    raises( + + ) + + + + + + ; + + + + + + + + + package + + ;&RE; + + + @ISA = ( + + );&RE; + + + + + + + + + + + + + , + + + + + + + +   + + + + + + , + + + + + + + , + + + + + + + , + + + + + + +    + + ; + + + + + + +   + + + + +   + + + + + + + + + void  + + + + + + + + + , + + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/table.xml b/apache-fop/src/test/resources/docbook-xsl/fo/table.xml new file mode 100644 index 0000000000..bf7bf6bc10 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/table.xml @@ -0,0 +1,135 @@ + + + + + + Formatting Object Table Reference + + $Id: table.xsl 9666 2012-11-14 04:42:56Z bobstayton $ + + + + Introduction + +This is technical reference documentation for the FO + table-processing templates in the DocBook XSL Stylesheets. + + +This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + +calc.column.width +Calculate an XSL FO table column width specification from a +CALS table column width specification. + + +<xsl:template name="calc.column.width"> +<xsl:param name="colwidth">1*</xsl:param> + ... +</xsl:template> + +Description + +CALS expresses table column widths in the following basic +forms: + + + + + + +99.99units, a fixed length specifier. + + + + +99.99, a fixed length specifier without any units. + + + + +99.99*, a relative length specifier. + + + + +99.99*+99.99units, a combination of both. + + + + + + +The CALS units are points (pt), picas (pi), centimeters (cm), +millimeters (mm), and inches (in). These are the same units as XSL, +except that XSL abbreviates picas "pc" instead of "pi". If a length +specifier has no units, the CALS default unit (pt) is assumed. + + + +Relative length specifiers are represented in XSL with the +proportional-column-width() function. + + + +Here are some examples: + + + + + + +"36pt" becomes "36pt" + + + + +"3pi" becomes "3pc" + + + + +"36" becomes "36pt" + + + + +"3*" becomes "proportional-column-width(3)" + + + + +"3*+2pi" becomes "proportional-column-width(3)+2pc" + + + + +"1*+2" becomes "proportional-column-width(1)+2pt" + + + + +Parameters + + +colwidth + + +The CALS column width specification. + + + + + +Returns + +The XSL column width specification. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/table.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/table.xsl new file mode 100644 index 0000000000..d639efed5e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/table.xsl @@ -0,0 +1,1693 @@ + + + + + + + + + + + Formatting Object Table Reference + + $Id: table.xsl 9666 2012-11-14 04:42:56Z bobstayton $ + + + + Introduction + This is technical reference documentation for the FO + table-processing templates in the DocBook XSL Stylesheets. + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + 0pt + none + 0pt + 0pt + 0pt + 0pt + 0pt + 0pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + always + + + + + + + + + + + + + + + + + + + + + + + + + + + + + all + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + none + none + + + + + + + + + + + + + + + + + + none + none + + + + + + + + + + + + + + + + + + none + none + none + + + + + + + + + + + + none + none + none + + + + + + + + + none + none + + + + none + + + + + + + + + none + none + + + + + + + + + + + + + + + + + + + + + none + none + none + none + + + + Impossible frame on table: + + + none + none + none + none + + + + + + + + + + + + + + + + + + + + + + + + + + Error: CALS tables must specify the number of columns. + + + + + + + + + + + + + + + + + + + + + + + + + fixed + + + + + + + + + + + + + + + + + + + + + No adjustColumnWidths function available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOWIDTH + NOWIDTH + + + + + + + + + + + + + + + + + + NOWIDTH + NOWIDTH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + 100% + + + auto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: overlapped row contains content! + + + + This row intentionally left blank + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + always + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + fixed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + center + after + + + Unexpected valign value: + + , center used. + + center + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + center + after + + + Unexpected valign value: + + , center used. + + center + + + + + + + + + + + + + + + + + + bold + + + + bold + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + : + + + + + + + + 0: + + + + + + + + + + + + + + + 0 + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + 1* + + + + 1* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Calculate an XSL FO table column width specification from a +CALS table column width specification. + + +CALS expresses table column widths in the following basic +forms: + + + +99.99units, a fixed length specifier. + + +99.99, a fixed length specifier without any units. + + +99.99*, a relative length specifier. + + +99.99*+99.99units, a combination of both. + + + +The CALS units are points (pt), picas (pi), centimeters (cm), +millimeters (mm), and inches (in). These are the same units as XSL, +except that XSL abbreviates picas "pc" instead of "pi". If a length +specifier has no units, the CALS default unit (pt) is assumed. + +Relative length specifiers are represented in XSL with the +proportional-column-width() function. + +Here are some examples: + + + +"36pt" becomes "36pt" + + +"3pi" becomes "3pc" + + +"36" becomes "36pt" + + +"3*" becomes "proportional-column-width(3)" + + +"3*+2pi" becomes "proportional-column-width(3)+2pc" + + +"1*+2" becomes "proportional-column-width(1)+2pt" + + + + + + +colwidth + +The CALS column width specification. + + + + + + +The XSL column width specification. + + + + + 1* + + + + + + + + + + + + proportional-column-width( + + + + + + 1.00 + + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pc + pt + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/task.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/task.xsl new file mode 100644 index 0000000000..03af14446c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/task.xsl @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xml b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xml new file mode 100644 index 0000000000..1ab91f9425 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xml @@ -0,0 +1,1579 @@ + + + + + + + + + + + + +]> + + + + + + + + + + + + + <subtitle/> + + <corpauthor space-before="0.5em" + font-size="&hsize2;"/> + <authorgroup space-before="0.5em" + font-size="&hsize2;"/> + <author space-before="0.5em" + font-size="&hsize2;"/> + + <!-- If you add editor, include this t:predicate attribute + because only the first editor generates the list of editors. + <editor t:predicate="[position() = 1]"/> + --> + <othercredit space-before="0.5em"/> + <releaseinfo space-before="0.5em"/> + <copyright space-before="0.5em"/> + <legalnotice text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.fontset}"/> + <pubdate space-before="0.5em"/> + <revision space-before="0.5em"/> + <revhistory space-before="0.5em"/> + <abstract space-before="0.5em" + text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="set" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="division.title" + param:node="ancestor-or-self::set[1]" + text-align="center" + font-size="&hsize5;" + space-before="&hsize5space;" + font-weight="bold" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}" + text-align="center"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="book" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="division.title" + param:node="ancestor-or-self::book[1]" + text-align="center" + font-size="&hsize5;" + space-before="&hsize5space;" + font-weight="bold" + font-family="{$title.fontset}"/> + <subtitle + text-align="center" + font-size="&hsize4;" + space-before="&hsize4space;" + font-family="{$title.fontset}"/> + <corpauthor font-size="&hsize3;" + keep-with-next.within-column="always" + space-before="2in"/> + <authorgroup space-before="2in"/> + <author font-size="&hsize3;" + space-before="&hsize2space;" + keep-with-next.within-column="always"/> + <!-- If you add editor, include this t:predicate attribute + because only the first editor generates the list of editors. + <editor t:predicate="[position() = 1]"/> + --> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + <title + t:named-template="book.verso.title" + font-size="&hsize2;" + font-weight="bold" + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup t:named-template="verso.authorgroup"/> + <author/> + <!-- If you add editor, include this t:predicate attribute + because only the first editor generates the list of editors. + <editor t:predicate="[position() = 1]"/> + --> + <othercredit/> + <releaseinfo space-before="0.5em"/> + <pubdate space-before="1em"/> + <copyright/> + <abstract/> + <legalnotice font-size="8pt"/> + </t:titlepage-content> + + <t:titlepage-separator> + <fo:block break-after="page"/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + <fo:block break-after="page"/> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="part" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="division.title" + param:node="ancestor-or-self::part[1]" + text-align="center" + font-size="&hsize5;" + space-before="&hsize5space;" + font-weight="bold" + font-family="{$title.fontset}"/> + <subtitle + text-align="center" + font-size="&hsize4;" + space-before="&hsize4space;" + font-weight='bold' + font-style='italic' + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + text-align="center" + font-size="&hsize5;" + font-weight="bold" + space-before="1em" + font-family="{$title.fontset}"/> + <subtitle + text-align="center" + font-size="&hsize2;" + font-weight="bold" + font-style="italic" + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="reference" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="division.title" + param:node="ancestor-or-self::reference[1]" + text-align="center" + font-size="&hsize5;" + space-before="&hsize5space;" + font-weight="bold" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}" + text-align="center"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refsynopsisdiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refsection" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refsect1" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refsect2" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refsect3" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="dedication" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::dedication[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<!-- Same formatting as dedication --> + <t:titlepage t:element="acknowledgements" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::acknowledgements[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + + +<!-- ==================================================================== --> + + <t:titlepage t:element="preface" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::preface[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="chapter" t:wrapper="fo:block" + font-family="{$title.fontset}"> + <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}"> + <title t:named-template="component.title" + param:node="ancestor-or-self::chapter[1]" + font-size="&hsize5;" + font-weight="bold"/> + + <subtitle space-before="0.5em" + font-style="italic" + font-size="&hsize2;" + font-weight="bold"/> + + <corpauthor space-before="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <authorgroup space-before="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <author space-before="0.5em" + space-after="0.5em" + font-size="&hsize2;"/> + + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="appendix" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="component.title" + param:node="ancestor-or-self::appendix[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-weight="bold" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="section" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect1" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect2" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect3" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect4" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect5" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + margin-left="{$title.margin.left}" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="topic" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-weight="bold" + font-size="&hsize3;" + space-before="1em" + space-after="1em" + font-family="{$title.fontset}"/> + <subtitle + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="bibliography" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::bibliography[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="bibliodiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title t:named-template="component.title" + param:node="ancestor-or-self::bibliodiv[1]" + margin-left="{$title.margin.left}" + font-size="&hsize4;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="glossary" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::glossary[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="glossdiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title t:named-template="component.title" + param:node="ancestor-or-self::glossdiv[1]" + margin-left="{$title.margin.left}" + font-size="&hsize4;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="index" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::index[1]" + param:pagewide="1" + margin-left="0pt" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <!-- The indexdiv.title template is used so that manual and --> + <!-- automatically generated indexdiv titles get the same --> + <!-- formatting. --> + + <t:titlepage t:element="indexdiv" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title t:force="1" + t:named-template="indexdiv.title" + param:title="title"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="setindex" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::setindex[1]" + param:pagewide="1" + margin-left="0pt" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="colophon" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::colophon[1]" + margin-left="{$title.margin.left}" + font-size="&hsize5;" + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="sidebar" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + font-family="{$title.fontset}" + font-weight="bold"/> + <subtitle + font-family="{$title.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> +<t:titlepage t:element="qandaset" t:wrapper="fo:block" + font-family="{$title.fontset}"> + + <t:titlepage-content t:side="recto" + start-indent="0pt" + text-align="center"> + + <title t:named-template="component.title" + param:node="ancestor-or-self::qandaset[1]" + keep-with-next.within-column="always" + font-size="&hsize5;" + font-weight="bold"/> + + <subtitle/> + + <corpauthor space-before="0.5em" + font-size="&hsize2;"/> + <authorgroup space-before="0.5em" + font-size="&hsize2;"/> + <author space-before="0.5em" + font-size="&hsize2;"/> + + <othercredit space-before="0.5em"/> + <releaseinfo space-before="0.5em"/> + <copyright space-before="0.5em"/> + <legalnotice text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.fontset}"/> + <pubdate space-before="0.5em"/> + <revision space-before="0.5em"/> + <revhistory space-before="0.5em"/> + <abstract space-before="0.5em" + text-align="start" + margin-left="0.5in" + margin-right="0.5in" + font-family="{$body.fontset}"/> + <itermset/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="table.of.contents" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'TableofContents'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.tables" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofTables'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.figures" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofFigures'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.examples" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofExamples'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.equations" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofEquations'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.procedures" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofProcedures'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="list.of.unknowns" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofUnknown'" + space-before.minimum="1em" + space-before.optimum="1.5em" + space-before.maximum="2em" + space-after="0.5em" + start-indent="0pt" + font-size="&hsize3;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.tables" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofTables'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.figures" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofFigures'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.examples" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofExamples'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.equations" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofEquations'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.procedures" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofProcedures'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + + <t:titlepage t:element="component.list.of.unknowns" t:wrapper="fo:block"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="gentext" + param:key="'ListofUnknown'" + space-before.minimum="1em" + space-before.optimum="1em" + space-before.maximum="1em" + space-after="0.5em" + margin-left="{$title.margin.left}" + font-size="&hsize1;" + font-weight="bold" + font-family="{$title.fontset}"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> + </t:titlepage> + +<!-- ==================================================================== --> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xsl new file mode 100644 index 0000000000..e3404e3e5c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.templates.xsl @@ -0,0 +1,5972 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/itermset"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/itermset"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="article.titlepage.verso"> +</xsl:template> + +<xsl:template name="article.titlepage.separator"> +</xsl:template> + +<xsl:template name="article.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="article.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="article.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}"> + <xsl:variable name="recto.content"> + <xsl:call-template name="article.titlepage.before.recto"/> + <xsl:call-template name="article.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="article.titlepage.before.verso"/> + <xsl:call-template name="article.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="article.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::article[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="article.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/itermset"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="set.titlepage.verso"> +</xsl:template> + +<xsl:template name="set.titlepage.separator"> +</xsl:template> + +<xsl:template name="set.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="set.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="set.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="set.titlepage.before.recto"/> + <xsl:call-template name="set.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="set.titlepage.before.verso"/> + <xsl:call-template name="set.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="set.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::set[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="set.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/itermset"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="book.titlepage.verso"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/> +</xsl:template> + +<xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> +</xsl:template> + +<xsl:template name="book.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/> +</xsl:template> + +<xsl:template name="book.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="book.titlepage.before.recto"/> + <xsl:call-template name="book.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="book.titlepage.before.verso"/> + <xsl:call-template name="book.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="book.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::book[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" keep-with-next.within-column="always" space-before="2in"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="10.8pt" keep-with-next.within-column="always"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="book.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="book.verso.title"> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:call-template name="verso.authorgroup"> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt"> +<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <xsl:choose> + <xsl:when test="partinfo/title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/itermset"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="part.titlepage.verso"> +</xsl:template> + +<xsl:template name="part.titlepage.separator"> +</xsl:template> + +<xsl:template name="part.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="part.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="part.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="part.titlepage.before.recto"/> + <xsl:call-template name="part.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="part.titlepage.before.verso"/> + <xsl:call-template name="part.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="part.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="part.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/itermset"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="partintro.titlepage.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage.separator"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="partintro.titlepage.before.recto"/> + <xsl:call-template name="partintro.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="partintro.titlepage.before.verso"/> + <xsl:call-template name="partintro.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="partintro.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="24.8832pt" font-weight="bold" space-before="1em" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="14.4pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="partintro.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/itermset"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="reference.titlepage.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage.separator"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="reference.titlepage.before.recto"/> + <xsl:call-template name="reference.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="reference.titlepage.before.verso"/> + <xsl:call-template name="reference.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="reference.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::reference[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="reference.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.recto"> + <xsl:choose> + <xsl:when test="refsynopsisdivinfo/title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/itermset"/> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.verso"> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.separator"> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refsynopsisdiv.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/> + <xsl:call-template name="refsynopsisdiv.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/> + <xsl:call-template name="refsynopsisdiv.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="refsynopsisdiv.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="refsynopsisdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style"> +<xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsection.titlepage.recto"> + <xsl:choose> + <xsl:when test="refsectioninfo/title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/itermset"/> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="refsection.titlepage.verso"> +</xsl:template> + +<xsl:template name="refsection.titlepage.separator"> +</xsl:template> + +<xsl:template name="refsection.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refsection.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refsection.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refsection.titlepage.before.recto"/> + <xsl:call-template name="refsection.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refsection.titlepage.before.verso"/> + <xsl:call-template name="refsection.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="refsection.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsection.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsection.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsection.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="refsection.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style"> +<xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="refsect1info/title"> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/itermset"/> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="refsect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="refsect1.titlepage.separator"> +</xsl:template> + +<xsl:template name="refsect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refsect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refsect1.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refsect1.titlepage.before.recto"/> + <xsl:call-template name="refsect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refsect1.titlepage.before.verso"/> + <xsl:call-template name="refsect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="refsect1.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="refsect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="refsect2info/title"> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/itermset"/> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="refsect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="refsect2.titlepage.separator"> +</xsl:template> + +<xsl:template name="refsect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refsect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refsect2.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refsect2.titlepage.before.recto"/> + <xsl:call-template name="refsect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refsect2.titlepage.before.verso"/> + <xsl:call-template name="refsect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="refsect2.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="refsect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="refsect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="refsect3info/title"> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/itermset"/> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="refsect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="refsect3.titlepage.separator"> +</xsl:template> + +<xsl:template name="refsect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refsect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refsect3.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refsect3.titlepage.before.recto"/> + <xsl:call-template name="refsect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refsect3.titlepage.before.verso"/> + <xsl:call-template name="refsect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="refsect3.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="refsect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refsect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="refsect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="dedication.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="dedicationinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/itermset"/> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="dedication.titlepage.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage.separator"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="dedication.titlepage.before.recto"/> + <xsl:call-template name="dedication.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="dedication.titlepage.before.verso"/> + <xsl:call-template name="dedication.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="dedication.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="dedication.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="acknowledgementsinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/itermset"/> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.separator"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="acknowledgements.titlepage.before.recto"/> + <xsl:call-template name="acknowledgements.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="acknowledgements.titlepage.before.verso"/> + <xsl:call-template name="acknowledgements.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="acknowledgements.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="acknowledgements.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::preface[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/itermset"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="preface.titlepage.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage.separator"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="preface.titlepage.before.recto"/> + <xsl:call-template name="preface.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="preface.titlepage.before.verso"/> + <xsl:call-template name="preface.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="preface.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="preface.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/itermset"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="chapter.titlepage.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage.separator"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}"> + <xsl:variable name="recto.content"> + <xsl:call-template name="chapter.titlepage.before.recto"/> + <xsl:call-template name="chapter.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="chapter.titlepage.before.verso"/> + <xsl:call-template name="chapter.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="chapter.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="chapter.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/itermset"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="appendix.titlepage.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage.separator"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="appendix.titlepage.before.recto"/> + <xsl:call-template name="appendix.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="appendix.titlepage.before.verso"/> + <xsl:call-template name="appendix.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="appendix.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="appendix.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/itermset"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="section.titlepage.verso"> +</xsl:template> + +<xsl:template name="section.titlepage.separator"> +</xsl:template> + +<xsl:template name="section.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="section.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="section.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="section.titlepage.before.recto"/> + <xsl:call-template name="section.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="section.titlepage.before.verso"/> + <xsl:call-template name="section.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="section.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="section.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect1info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect1info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/itermset"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage.separator"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect1.titlepage.before.recto"/> + <xsl:call-template name="sect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect1.titlepage.before.verso"/> + <xsl:call-template name="sect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sect1.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sect1.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect2info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect2info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/itermset"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage.separator"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect2.titlepage.before.recto"/> + <xsl:call-template name="sect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect2.titlepage.before.verso"/> + <xsl:call-template name="sect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sect2.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sect2.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect3info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect3info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/itermset"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage.separator"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect3.titlepage.before.recto"/> + <xsl:call-template name="sect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect3.titlepage.before.verso"/> + <xsl:call-template name="sect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sect3.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sect3.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sect4.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect4info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect4info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/itermset"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sect4.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage.separator"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect4.titlepage.before.recto"/> + <xsl:call-template name="sect4.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect4.titlepage.before.verso"/> + <xsl:call-template name="sect4.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sect4.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sect4.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sect5.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect5info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect5info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/itermset"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sect5.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage.separator"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect5.titlepage.before.recto"/> + <xsl:call-template name="sect5.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect5.titlepage.before.verso"/> + <xsl:call-template name="sect5.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sect5.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sect5.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/itermset"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.separator"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="simplesect.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="simplesect.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="topic.titlepage.recto"> + <xsl:choose> + <xsl:when test="topicinfo/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="topicinfo/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="topic.titlepage.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage.separator"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="topic.titlepage.before.recto"/> + <xsl:call-template name="topic.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="topic.titlepage.before.verso"/> + <xsl:call-template name="topic.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="topic.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="topic.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="topic.titlepage.recto.style" font-weight="bold" font-size="17.28pt" space-before="1em" space-after="1em" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="topic.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/itermset"/> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="bibliography.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliography.titlepage.before.recto"/> + <xsl:call-template name="bibliography.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliography.titlepage.before.verso"/> + <xsl:call-template name="bibliography.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="bibliography.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="bibliography.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.recto"> + <xsl:choose> + <xsl:when test="bibliodivinfo/title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bibliodivinfo/subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/itermset"/> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliodiv.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliodiv.titlepage.before.recto"/> + <xsl:call-template name="bibliodiv.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliodiv.titlepage.before.verso"/> + <xsl:call-template name="bibliodiv.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="bibliodiv.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="bibliodiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliodiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliodiv[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="bibliodiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/itermset"/> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="glossary.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossary.titlepage.before.recto"/> + <xsl:call-template name="glossary.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossary.titlepage.before.verso"/> + <xsl:call-template name="glossary.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="glossary.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="glossary.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.recto"> + <xsl:choose> + <xsl:when test="glossdivinfo/title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="glossdivinfo/subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/itermset"/> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossdiv.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossdiv.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossdiv.titlepage.before.recto"/> + <xsl:call-template name="glossdiv.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossdiv.titlepage.before.verso"/> + <xsl:call-template name="glossdiv.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="glossdiv.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="glossdiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossdiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossdiv[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="glossdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="index.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> +<xsl:with-param name="pagewide" select="1"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="indexinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/itermset"/> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="index.titlepage.verso"> +</xsl:template> + +<xsl:template name="index.titlepage.separator"> +</xsl:template> + +<xsl:template name="index.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="index.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="index.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="index.titlepage.before.recto"/> + <xsl:call-template name="index.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="index.titlepage.before.verso"/> + <xsl:call-template name="index.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="index.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="index.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="indexdiv.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style"> +<xsl:call-template name="indexdiv.title"> +<xsl:with-param name="title" select="title"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="indexdivinfo/subtitle"> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/itermset"/> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="indexdiv.titlepage.verso"> +</xsl:template> + +<xsl:template name="indexdiv.titlepage.separator"> +</xsl:template> + +<xsl:template name="indexdiv.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="indexdiv.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="indexdiv.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="indexdiv.titlepage.before.recto"/> + <xsl:call-template name="indexdiv.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="indexdiv.titlepage.before.verso"/> + <xsl:call-template name="indexdiv.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="indexdiv.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="indexdiv.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="indexdiv.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="indexdiv.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style"> +<xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="setindex.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> +<xsl:with-param name="pagewide" select="1"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="setindexinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/itermset"/> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="setindex.titlepage.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage.separator"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="setindex.titlepage.before.recto"/> + <xsl:call-template name="setindex.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="setindex.titlepage.before.verso"/> + <xsl:call-template name="setindex.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="setindex.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="setindex.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="colophon.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/> +</xsl:call-template></fo:block> + <xsl:choose> + <xsl:when test="colophoninfo/subtitle"> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/itermset"/> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="colophon.titlepage.verso"> +</xsl:template> + +<xsl:template name="colophon.titlepage.separator"> +</xsl:template> + +<xsl:template name="colophon.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="colophon.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="colophon.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="colophon.titlepage.before.recto"/> + <xsl:call-template name="colophon.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="colophon.titlepage.before.verso"/> + <xsl:call-template name="colophon.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="colophon.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="colophon.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="colophon.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="colophon.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style"> +<xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="sidebar.titlepage.recto"> + <xsl:choose> + <xsl:when test="sidebarinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sidebarinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/itermset"/> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/itermset"/> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="sidebar.titlepage.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.separator"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sidebar.titlepage.before.recto"/> + <xsl:call-template name="sidebar.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sidebar.titlepage.before.verso"/> + <xsl:call-template name="sidebar.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="sidebar.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}" font-weight="bold"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="sidebar.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="qandaset.titlepage.recto"> + <xsl:choose> + <xsl:when test="qandasetinfo/title"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/title"/> + </xsl:when> + <xsl:when test="blockinfo/title"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="qandasetinfo/subtitle"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/subtitle"/> + </xsl:when> + <xsl:when test="blockinfo/subtitle"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/corpauthor"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/corpauthor"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/authorgroup"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/authorgroup"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/author"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/author"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/othercredit"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/othercredit"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/releaseinfo"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/releaseinfo"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/copyright"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/copyright"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/legalnotice"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/legalnotice"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/pubdate"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/pubdate"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revision"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revision"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revhistory"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revhistory"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/abstract"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/abstract"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/itermset"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/itermset"/> + <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/itermset"/> +</xsl:template> + +<xsl:template name="qandaset.titlepage.verso"> +</xsl:template> + +<xsl:template name="qandaset.titlepage.separator"> +</xsl:template> + +<xsl:template name="qandaset.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="qandaset.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="qandaset.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}"> + <xsl:variable name="recto.content"> + <xsl:call-template name="qandaset.titlepage.before.recto"/> + <xsl:call-template name="qandaset.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="qandaset.titlepage.before.verso"/> + <xsl:call-template name="qandaset.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="qandaset.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="qandaset.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="qandaset.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::qandaset[1]"/> +</xsl:call-template> +</fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="corpauthor" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="authorgroup" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="author" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="othercredit" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="releaseinfo" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="copyright" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="legalnotice" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="pubdate" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revision" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="revhistory" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="abstract" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template match="itermset" mode="qandaset.titlepage.recto.auto.mode"> +<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style"> +<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/> +</fo:block> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'TableofContents'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage.verso"> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage.separator"> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="table.of.contents.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="table.of.contents.titlepage.before.recto"/> + <xsl:call-template name="table.of.contents.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="table.of.contents.titlepage.before.verso"/> + <xsl:call-template name="table.of.contents.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="table.of.contents.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="table.of.contents.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="table.of.contents.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofTables'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.tables.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.tables.titlepage.before.recto"/> + <xsl:call-template name="list.of.tables.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.tables.titlepage.before.verso"/> + <xsl:call-template name="list.of.tables.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.tables.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.tables.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.tables.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofFigures'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.figures.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.figures.titlepage.before.recto"/> + <xsl:call-template name="list.of.figures.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.figures.titlepage.before.verso"/> + <xsl:call-template name="list.of.figures.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.figures.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.figures.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.figures.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofExamples'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.examples.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.examples.titlepage.before.recto"/> + <xsl:call-template name="list.of.examples.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.examples.titlepage.before.verso"/> + <xsl:call-template name="list.of.examples.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.examples.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.examples.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.examples.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofEquations'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.equations.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.equations.titlepage.before.recto"/> + <xsl:call-template name="list.of.equations.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.equations.titlepage.before.verso"/> + <xsl:call-template name="list.of.equations.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.equations.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.equations.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.equations.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofProcedures'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.procedures.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.procedures.titlepage.before.recto"/> + <xsl:call-template name="list.of.procedures.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.procedures.titlepage.before.verso"/> + <xsl:call-template name="list.of.procedures.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.procedures.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofUnknown'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage.verso"> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage.separator"> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="list.of.unknowns.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/> + <xsl:call-template name="list.of.unknowns.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/> + <xsl:call-template name="list.of.unknowns.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="list.of.unknowns.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofTables'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.tables.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.tables.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.tables.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.tables.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.tables.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.tables.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.tables.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.tables.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofFigures'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.figures.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.figures.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.figures.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.figures.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.figures.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.figures.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.figures.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.figures.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofExamples'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.examples.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.examples.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.examples.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.examples.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.examples.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.examples.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.examples.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.examples.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofEquations'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.equations.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.equations.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.equations.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.equations.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.equations.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.equations.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.equations.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.equations.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofProcedures'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.procedures.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.procedures.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.procedures.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.procedures.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.procedures.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.procedures.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.procedures.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.procedures.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage.recto"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="component.list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}"> +<xsl:call-template name="gentext"> +<xsl:with-param name="key" select="'ListofUnknown'"/> +</xsl:call-template></fo:block> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage.verso"> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage.separator"> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="component.list.of.unknowns.titlepage"> + <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"> + <xsl:variable name="recto.content"> + <xsl:call-template name="component.list.of.unknowns.titlepage.before.recto"/> + <xsl:call-template name="component.list.of.unknowns.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <fo:block><xsl:copy-of select="$recto.content"/></fo:block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="component.list.of.unknowns.titlepage.before.verso"/> + <xsl:call-template name="component.list.of.unknowns.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <fo:block><xsl:copy-of select="$verso.content"/></fo:block> + </xsl:if> + <xsl:call-template name="component.list.of.unknowns.titlepage.separator"/> + </fo:block> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.unknowns.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="component.list.of.unknowns.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.xsl new file mode 100644 index 0000000000..04ff4f765a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/titlepage.xsl @@ -0,0 +1,792 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: titlepage.xsl 9286 2012-04-19 10:10:58Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:attribute-set name="book.titlepage.recto.style"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$title.fontset"/> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-size">12pt</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="book.titlepage.verso.style"> + <xsl:attribute name="font-size">10pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="article.titlepage.recto.style"/> +<xsl:attribute-set name="article.titlepage.verso.style"/> + +<xsl:attribute-set name="set.titlepage.recto.style"/> +<xsl:attribute-set name="set.titlepage.verso.style"/> + +<xsl:attribute-set name="part.titlepage.recto.style"> + <xsl:attribute name="text-align">center</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="part.titlepage.verso.style"/> + +<xsl:attribute-set name="partintro.titlepage.recto.style"/> +<xsl:attribute-set name="partintro.titlepage.verso.style"/> + +<xsl:attribute-set name="reference.titlepage.recto.style"/> +<xsl:attribute-set name="reference.titlepage.verso.style"/> + +<xsl:attribute-set name="dedication.titlepage.recto.style"/> +<xsl:attribute-set name="dedication.titlepage.verso.style"/> + +<xsl:attribute-set name="acknowledgements.titlepage.recto.style"/> +<xsl:attribute-set name="acknowledgements.titlepage.verso.style"/> + +<xsl:attribute-set name="preface.titlepage.recto.style"/> +<xsl:attribute-set name="preface.titlepage.verso.style"/> + +<xsl:attribute-set name="chapter.titlepage.recto.style"/> +<xsl:attribute-set name="chapter.titlepage.verso.style"/> + +<xsl:attribute-set name="appendix.titlepage.recto.style"/> +<xsl:attribute-set name="appendix.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliography.titlepage.recto.style"/> +<xsl:attribute-set name="bibliography.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliodiv.titlepage.recto.style"/> +<xsl:attribute-set name="bibliodiv.titlepage.verso.style"/> + +<xsl:attribute-set name="glossary.titlepage.recto.style"/> +<xsl:attribute-set name="glossary.titlepage.verso.style"/> + +<xsl:attribute-set name="glossdiv.titlepage.recto.style"/> +<xsl:attribute-set name="glossdiv.titlepage.verso.style"/> + +<xsl:attribute-set name="index.titlepage.recto.style"/> +<xsl:attribute-set name="index.titlepage.verso.style"/> + +<xsl:attribute-set name="setindex.titlepage.recto.style"/> +<xsl:attribute-set name="setindex.titlepage.verso.style"/> + +<xsl:attribute-set name="indexdiv.titlepage.recto.style"/> +<xsl:attribute-set name="indexdiv.titlepage.verso.style"/> + +<xsl:attribute-set name="colophon.titlepage.recto.style"/> +<xsl:attribute-set name="colophon.titlepage.verso.style"/> + +<xsl:attribute-set name="sidebar.titlepage.recto.style"/> +<xsl:attribute-set name="sidebar.titlepage.verso.style"/> + +<xsl:attribute-set name="qandaset.titlepage.recto.style"/> +<xsl:attribute-set name="qandaset.titlepage.verso.style"/> + +<xsl:attribute-set name="section.titlepage.recto.style"> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="section.titlepage.verso.style"> + <xsl:attribute name="keep-together.within-column">always</xsl:attribute> + <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="sect1.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect1.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect2.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect2.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect3.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect3.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect4.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect4.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect5.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect5.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="simplesect.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="simplesect.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="topic.titlepage.recto.style"/> +<xsl:attribute-set name="topic.titlepage.verso.style"/> + +<xsl:attribute-set name="refnamediv.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refnamediv.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsynopsisdiv.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsynopsisdiv.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsection.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsection.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect1.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect1.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect2.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect2.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="refsect3.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="refsect3.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> +<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.procedures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.procedures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.tables.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.tables.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.figures.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.figures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.equations.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.equations.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.examples.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.examples.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.procedures.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.procedures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="component.list.of.unknowns.titlepage.recto.style"/> +<xsl:attribute-set name="component.list.of.unknowns.contents.titlepage.verso.style"/> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="titlepage.mode"> + <!-- if an element isn't found in this mode, try the default mode --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="abbrev" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="abstract" mode="titlepage.mode"> + <fo:block xsl:use-attribute-sets="abstract.properties"> + <fo:block xsl:use-attribute-sets="abstract.title.properties"> + <xsl:choose> + <xsl:when test="title|info/title"> + <xsl:apply-templates select="title|info/title"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Abstract'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </fo:block> + <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="abstract/title" mode="titlepage.mode"/> + +<xsl:template match="abstract/title" mode="titlepage.abstract.title.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="address" mode="titlepage.mode"> + <!-- use the normal address handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="affiliation" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="artpagenums" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="author" mode="titlepage.mode"> + <fo:block> + <xsl:call-template name="anchor"/> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + <xsl:if test="affiliation/orgname"> + <xsl:text>, </xsl:text> + <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/> + </xsl:if> + <xsl:if test="email|affiliation/address/email"> + <xsl:text> </xsl:text> + <xsl:apply-templates select="(email|affiliation/address/email)[1]"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </fo:block> +</xsl:template> + +<xsl:template match="authorblurb" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="titlepage.mode"> + <fo:wrapper> + <xsl:call-template name="anchor"/> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:wrapper> +</xsl:template> + +<xsl:template match="authorinitials" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="bibliomisc" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="bibliomset" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="collab" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="collabname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="confgroup" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="confdates" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="conftitle" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="confnum" mode="titlepage.mode"> + <!-- suppress --> +</xsl:template> + +<xsl:template match="contractnum" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="contractsponsor" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="contrib" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="copyright" mode="titlepage.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="copyright.years"> + <xsl:with-param name="years" select="year"/> + <xsl:with-param name="print.ranges" select="$make.year.ranges"/> + <xsl:with-param name="single.year.ranges" + select="$make.single.year.ranges"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="holder" mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="year" mode="titlepage.mode"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="holder" mode="titlepage.mode"> + <xsl:apply-templates/> + <xsl:if test="position() < last()"> + <xsl:text>, </xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="corpauthor" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="corpcredit" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="corpname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="date" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="edition" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Edition'"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="editor" mode="titlepage.mode"> + <!-- The first editor is dealt with in the following template, + which in turn displays all editors of the same mode. --> +</xsl:template> + +<xsl:template match="editor[1]" priority="2" mode="titlepage.mode"> + <xsl:call-template name="gentext.edited.by"/> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="person.name.list"> + <xsl:with-param name="person.list" select="../editor"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="firstname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="graphic" mode="titlepage.mode"> + <!-- use the normal graphic handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="honorific" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="isbn" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="issn" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="biblioid" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="itermset" mode="titlepage.mode"> + <xsl:apply-templates select="indexterm"/> +</xsl:template> + +<xsl:template match="invpartnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="issuenum" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="jobtitle" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="keywordset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="legalnotice" mode="titlepage.mode"> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <fo:block id="{$id}"> + <xsl:if test="title"> <!-- FIXME: add param for using default title? --> + <xsl:call-template name="formal.object.heading"/> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="legalnotice/title" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="lineage" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="modespec" mode="titlepage.mode"> + <!-- discard --> +</xsl:template> + +<xsl:template match="orgdiv" mode="titlepage.mode"> + <xsl:if test="preceding-sibling::*[1][self::orgname]"> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="orgname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.mode"> + <xsl:variable name="contrib" select="string(contrib)"/> + <xsl:choose> + <xsl:when test="contrib"> + <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + <xsl:text>: </xsl:text> + <xsl:call-template name="person.name"/> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> + </fo:block> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <fo:block><xsl:call-template name="person.name"/></fo:block> + <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.othercredits"> + <xsl:text>, </xsl:text> + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="othername" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="pagenums" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="printhistory" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="productname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="productnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="pubdate" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="publisher" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="publishername" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="pubsnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="releaseinfo" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revhistory" mode="titlepage.mode"> + + <xsl:variable name="explicit.table.width"> + <xsl:call-template name="pi.dbfo_table-width"/> + </xsl:variable> + + <xsl:variable name="table.width"> + <xsl:choose> + <xsl:when test="$explicit.table.width != ''"> + <xsl:value-of select="$explicit.table.width"/> + </xsl:when> + <xsl:when test="$default.table.width = ''"> + <xsl:text>100%</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$default.table.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <fo:table table-layout="fixed" width="{$table.width}" xsl:use-attribute-sets="revhistory.table.properties"> + <fo:table-column column-number="1" column-width="proportional-column-width(1)"/> + <fo:table-column column-number="2" column-width="proportional-column-width(1)"/> + <fo:table-column column-number="3" column-width="proportional-column-width(1)"/> + <fo:table-body start-indent="0pt" end-indent="0pt"> + <fo:table-row> + <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block xsl:use-attribute-sets="revhistory.title.properties"> + <xsl:choose> + <xsl:when test="title|info/title"> + <xsl:apply-templates select="title|info/title" mode="titlepage.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RevHistory'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:apply-templates select="*[not(self::title)]" mode="titlepage.mode"/> + </fo:table-body> + </fo:table> + +</xsl:template> + + +<xsl:template match="revhistory/revision" mode="titlepage.mode"> + <xsl:variable name="revnumber" select="revnumber"/> + <xsl:variable name="revdate" select="date"/> + <xsl:variable name="revauthor" select="authorinitials|author"/> + <xsl:variable name="revremark" select="revremark|revdescription"/> + <fo:table-row> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Revision'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> + </xsl:if> + </fo:block> + </fo:table-cell> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> + </fo:block> + </fo:table-cell> + <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:for-each select="$revauthor"> + <xsl:apply-templates select="." mode="titlepage.mode"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </fo:block> + </fo:table-cell> + </fo:table-row> + <xsl:if test="$revremark"> + <fo:table-row> + <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties"> + <fo:block> + <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> + </fo:block> + </fo:table-cell> + </fo:table-row> + </xsl:if> +</xsl:template> + +<xsl:template match="revision/revnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/date" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/authorinitials" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/author" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revremark" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revdescription" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="shortaffil" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subjectset" mode="titlepage.mode"> + <!-- discard --> +</xsl:template> + +<xsl:template match="subtitle" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="surname" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="titleabbrev" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="volumenum" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Book templates --> + +<!-- Note: these templates cannot use *.titlepage.recto.mode or + *.titlepage.verso.mode. If they do then subsequent use of a custom + titlepage.templates.xml file will not work correctly. --> + +<!-- book recto --> + +<xsl:template match="bookinfo/authorgroup|book/info/authorgroup" + mode="titlepage.mode" priority="2"> + <fo:block> + <xsl:call-template name="anchor"/> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<!-- book verso --> + +<xsl:template name="book.verso.title"> + <fo:block> + <xsl:apply-templates mode="titlepage.mode"/> + + <xsl:if test="following-sibling::subtitle + |following-sibling::info/subtitle + |following-sibling::bookinfo/subtitle"> + <xsl:text>: </xsl:text> + + <xsl:apply-templates select="(following-sibling::subtitle + |following-sibling::info/subtitle + |following-sibling::bookinfo/subtitle)[1]" + mode="book.verso.subtitle.mode"/> + </xsl:if> + </fo:block> +</xsl:template> + +<xsl:template match="subtitle" mode="book.verso.subtitle.mode"> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:if test="following-sibling::subtitle"> + <xsl:text>: </xsl:text> + <xsl:apply-templates select="following-sibling::subtitle[1]" + mode="book.verso.subtitle.mode"/> + </xsl:if> +</xsl:template> + +<xsl:template name="verso.authorgroup"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'by'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:call-template name="person.name.list"> + <xsl:with-param name="person.list" select="author|corpauthor|editor"/> + </xsl:call-template> + </fo:block> + <xsl:apply-templates select="othercredit" mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="bookinfo/author|book/info/author" + mode="titlepage.mode" priority="2"> + <fo:block> + <xsl:call-template name="person.name"/> + </fo:block> +</xsl:template> + +<xsl:template match="bookinfo/corpauthor|book/info/corpauthor" + mode="titlepage.mode" priority="2"> + <fo:block> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="bookinfo/pubdate|book/info/pubdate" + mode="titlepage.mode" priority="2"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'pubdate'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/toc.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/toc.xsl new file mode 100644 index 0000000000..cf327242ed --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/toc.xsl @@ -0,0 +1,332 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version='1.0'> + +<!-- ******************************************************************** + $Id: toc.xsl 8323 2009-03-12 22:52:17Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- only set, book and part puts toc in its own page sequence --> + +<xsl:template match="set/toc | book/toc | part/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <!-- Don't generate a page sequence unless there is content --> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <xsl:apply-templates /> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to parent element --> + <xsl:for-each select="parent::*"> + <xsl:choose> + <xsl:when test="self::set"> + <xsl:call-template name="set.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::book"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::part"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> + </xsl:for-each> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:variable name="lot-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'lot'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="gentext-key" select="'TableofContents'"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:if> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/toc | appendix/toc | preface/toc | article/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + </xsl:when> + </xsl:choose> + <xsl:call-template name="component.toc.separator"/> + </xsl:if> +</xsl:template> + +<xsl:template match="section/toc + |sect1/toc + |sect2/toc + |sect3/toc + |sect4/toc + |sect5/toc"> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="section.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + </xsl:when> + </xsl:choose> + <xsl:call-template name="section.toc.separator"/> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="tocpart|tocchap + |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <xsl:apply-templates select="tocentry"/> + <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <fo:block start-indent="{count(ancestor::*)*2}pc"> + <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> + </fo:block> + </xsl:if> +</xsl:template> + +<xsl:template match="tocentry|lotentry|tocdiv|tocfront|tocback"> + <fo:block text-align-last="justify" + end-indent="2pc" + last-line-end-indent="-2pc"> + <fo:inline keep-with-next.within-line="always"> + <xsl:choose> + <xsl:when test="@linkend"> + <fo:basic-link internal-destination="{@linkend}"> + <xsl:apply-templates/> + </fo:basic-link> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </fo:inline> + + <xsl:choose> + <xsl:when test="@linkend"> + <fo:inline keep-together.within-line="always"> + <xsl:text> </xsl:text> + <fo:leader leader-pattern="dots" + keep-with-next.within-line="always"/> + <xsl:text> </xsl:text> + <fo:basic-link internal-destination="{@linkend}"> + <xsl:choose> + <xsl:when test="@pagenum"> + <xsl:value-of select="@pagenum"/> + </xsl:when> + <xsl:otherwise> + <fo:page-number-citation ref-id="{@linkend}"/> + </xsl:otherwise> + </xsl:choose> + </fo:basic-link> + </fo:inline> + </xsl:when> + <xsl:when test="@pagenum"> + <fo:inline keep-together.within-line="always"> + <xsl:text> </xsl:text> + <fo:leader leader-pattern="dots" + keep-with-next.within-line="always"/> + <xsl:text> </xsl:text> + <xsl:value-of select="@pagenum"/> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <!-- just the leaders, what else can I do? --> + <fo:inline keep-together.within-line="always"> + <xsl:text> </xsl:text> + <fo:leader leader-pattern="space" + keep-with-next.within-line="always"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + </fo:block> +</xsl:template> + +<xsl:template match="toc/title"> + <fo:block font-weight="bold"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="toc/subtitle"> + <fo:block font-weight="bold"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="toc/titleabbrev"> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- A lot element must have content, because there is no attribute + to select what kind of list should be generated --> +<xsl:template match="book/lot | part/lot"> + <!-- Don't generate a page sequence unless there is content --> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <xsl:apply-templates /> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:variable name="lot-master-reference"> + <xsl:call-template name="select.pagemaster"> + <xsl:with-param name="pageclass" select="'lot'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="page.sequence"> + <xsl:with-param name="master-reference" + select="$lot-master-reference"/> + <xsl:with-param name="element" select="'toc'"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/lot | appendix/lot | preface/lot | article/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="section/lot + |sect1/lot + |sect2/lot + |sect3/lot + |sect4/lot + |sect5/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <fo:block> + <xsl:apply-templates/> + </fo:block> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="process.empty.lot"> + <!-- An empty lot element does not provide any information to indicate + what should be included in it. You can customize this + template to generate a lot based on @role or something --> + <xsl:message> + <xsl:text>Warning: don't know what to generate for </xsl:text> + <xsl:text>lot that has no children.</xsl:text> + </xsl:message> +</xsl:template> + +<xsl:template match="lot/title"> + <fo:block font-weight="bold"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="lot/subtitle"> + <fo:block font-weight="bold"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="lot/titleabbrev"> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/verbatim.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/verbatim.xsl new file mode 100644 index 0000000000..319ffcf65e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/verbatim.xsl @@ -0,0 +1,496 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" + xmlns:xverb="com.nwalsh.xalan.Verbatim" + xmlns:lxslt="http://xml.apache.org/xslt" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="sverb xverb lxslt exsl" + version='1.0'> + +<!-- ******************************************************************** + $Id: verbatim.xsl 9590 2012-09-02 20:53:23Z tom_schr $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- XSLTHL highlighting is turned off by default. See highlighting/README + for instructions on how to turn on XSLTHL --> +<xsl:template name="apply-highlighting"> + <xsl:apply-templates/> +</xsl:template> + +<lxslt:component prefix="xverb" + functions="numberLines"/> + +<xsl:template match="programlisting|screen|synopsis"> + <xsl:param name="suppress-numbers" select="'0'"/> + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf"> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + + <xsl:variable name="block.content"> + <xsl:choose> + <xsl:when test="$shade.verbatim != 0"> + <fo:block id="{$id}" + xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="$hyphenate.verbatim != 0 and + $exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($content)" + mode="hyphenate.verbatim"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" + xsl:use-attribute-sets="monospace.verbatim.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="$hyphenate.verbatim != 0 and + $exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($content)" + mode="hyphenate.verbatim"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <!-- Need a block-container for these features --> + <xsl:when test="@width != '' or + (self::programlisting and + starts-with($writing.mode, 'rl'))"> + <fo:block-container start-indent="0pt" end-indent="0pt"> + <xsl:if test="@width != ''"> + <xsl:attribute name="width"> + <xsl:value-of select="concat(@width, '*', $monospace.verbatim.font.width)"/> + </xsl:attribute> + </xsl:if> + <!-- All known program code is left-to-right --> + <xsl:if test="self::programlisting and + starts-with($writing.mode, 'rl')"> + <xsl:attribute name="writing-mode">lr-tb</xsl:attribute> + </xsl:if> + <xsl:copy-of select="$block.content"/> + </fo:block-container> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$block.content"/> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<xsl:template match="literallayout"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:variable name="keep.together"> + <xsl:call-template name="pi.dbfo_keep-together"/> + </xsl:variable> + + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf"> + <xsl:apply-templates/> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="@class='monospaced'"> + <xsl:choose> + <xsl:when test="$shade.verbatim != 0"> + <fo:block id="{$id}" + xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:copy-of select="$content"/> + </fo:block> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" + xsl:use-attribute-sets="monospace.verbatim.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:copy-of select="$content"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$shade.verbatim != 0"> + <fo:block id="{$id}" + xsl:use-attribute-sets="verbatim.properties shade.verbatim.style"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:copy-of select="$content"/> + </fo:block> + </xsl:when> + <xsl:otherwise> + <fo:block id="{$id}" + xsl:use-attribute-sets="verbatim.properties"> + <xsl:if test="$keep.together != ''"> + <xsl:attribute name="keep-together.within-column"><xsl:value-of + select="$keep.together"/></xsl:attribute> + </xsl:if> + <xsl:copy-of select="$content"/> + </fo:block> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="address"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf"> + <xsl:apply-templates/> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <fo:block xsl:use-attribute-sets="verbatim.properties"> + <xsl:copy-of select="$content"/> + </fo:block> +</xsl:template> + +<xsl:template name="number.rtf.lines"> + <xsl:param name="rtf" select="''"/> + <xsl:param name="pi.context" select="."/> + + <!-- Save the global values --> + <xsl:variable name="global.linenumbering.everyNth" + select="$linenumbering.everyNth"/> + + <xsl:variable name="global.linenumbering.separator" + select="$linenumbering.separator"/> + + <xsl:variable name="global.linenumbering.width" + select="$linenumbering.width"/> + + <!-- Extract the <?dbfo linenumbering.*?> PI values --> + <xsl:variable name="pi.linenumbering.everyNth"> + <xsl:call-template name="pi.dbfo_linenumbering.everyNth"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.separator"> + <xsl:call-template name="pi.dbfo_linenumbering.separator"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.width"> + <xsl:call-template name="pi.dbfo_linenumbering.width"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <!-- Construct the 'in-context' values --> + <xsl:variable name="linenumbering.everyNth"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.everyNth != ''"> + <xsl:value-of select="$pi.linenumbering.everyNth"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.everyNth"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.separator"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.separator != ''"> + <xsl:value-of select="$pi.linenumbering.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.separator"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.width"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.width != ''"> + <xsl:value-of select="$pi.linenumbering.width"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.startinglinenumber"> + <xsl:choose> + <xsl:when test="$pi.context/@startinglinenumber"> + <xsl:value-of select="$pi.context/@startinglinenumber"/> + </xsl:when> + <xsl:when test="$pi.context/@continuation='continues'"> + <xsl:variable name="lastLine"> + <xsl:choose> + <xsl:when test="$pi.context/self::programlisting"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::programlisting[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::screen"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::screen[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::literallayout"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::literallayout[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::address"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::address[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::synopsis"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::synopsis[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Unexpected verbatim environment: </xsl:text> + <xsl:value-of select="local-name(.)"/> + </xsl:message> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="$lastLine + 1"/> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="function-available('sverb:numberLines')"> + <xsl:copy-of select="sverb:numberLines($rtf)"/> + </xsl:when> + <xsl:when test="function-available('xverb:numberLines')"> + <xsl:copy-of select="xverb:numberLines($rtf)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No numberLines function available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ======================================================================== --> + +<xsl:template name="lastLineNumber"> + <xsl:param name="listings"/> + <xsl:param name="number" select="0"/> + + <xsl:variable name="lines"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="string($listings[1])"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not($listings)"> + <xsl:value-of select="$number"/> + </xsl:when> + <xsl:when test="$listings[1]/@startinglinenumber"> + <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/> + </xsl:when> + <xsl:when test="$listings[1]/@continuation='continues'"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="$listings[position() > 1]"/> + <xsl:with-param name="number" select="$number + $lines"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$lines"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="countLines"> + <xsl:param name="listing"/> + <xsl:param name="count" select="1"/> + + <xsl:choose> + <xsl:when test="contains($listing, ' ')"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="substring-after($listing, ' ')"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$count"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ======================================================================== --> + +<xsl:template match="node()|@*" mode="hyphenate.verbatim"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:apply-templates mode="hyphenate.verbatim"/> + </xsl:copy> +</xsl:template> + +<xsl:template match="text()" mode="hyphenate.verbatim" priority="2"> + <xsl:call-template name="hyphenate.verbatim.block"> + <xsl:with-param name="content" select="."/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="hyphenate.verbatim.block"> + <xsl:param name="content" select="''"/> + <xsl:param name="count" select="1"/> + + <!-- recurse on lines first to keep recursion depth reasonable --> + <xsl:choose> + <xsl:when test="contains($content, ' ')"> + <xsl:variable name="line" select="substring-before($content, ' ')"/> + <xsl:variable name="rest" select="substring-after($content, ' ')"/> + <xsl:call-template name="hyphenate.verbatim"> + <xsl:with-param name="content" select="concat($line, ' ')"/> + </xsl:call-template> + <xsl:call-template name="hyphenate.verbatim.block"> + <xsl:with-param name="content" select="$rest"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="hyphenate.verbatim"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<xsl:template name="hyphenate.verbatim"> + <xsl:param name="content"/> + <xsl:variable name="head" select="substring($content, 1, 1)"/> + <xsl:variable name="tail" select="substring($content, 2)"/> + <xsl:choose> + <!-- Place soft-hyphen after space or non-breakable space. --> + <xsl:when test="$head = ' ' or $head = ' '"> + <xsl:text> </xsl:text> + <xsl:text>­</xsl:text> + </xsl:when> + <xsl:when test="$hyphenate.verbatim.characters != '' and + translate($head, $hyphenate.verbatim.characters, '') = '' and not($tail = '')"> + <xsl:value-of select="$head"/> + <xsl:text>­</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$head"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="$tail"> + <xsl:call-template name="hyphenate.verbatim"> + <xsl:with-param name="content" select="$tail"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/xep.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/xep.xsl new file mode 100644 index 0000000000..9719cf827c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/xep.xsl @@ -0,0 +1,183 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:rx="http://www.renderx.com/XSL/Extensions" + version='1.0'> + +<!-- ******************************************************************** + $Id: xep.xsl 9293 2012-04-19 18:42:11Z bobstayton $ + ******************************************************************** + (c) Stephane Bline Peregrine Systems 2001 + Implementation of xep extensions: + * Pdf bookmarks (based on the XEP 2.5 implementation) + * Document information (XEP 2.5 meta information extensions) + ******************************************************************** --> + +<!-- FIXME: Norm, I changed things so that the top-level element (book or set) + does not appear in the TOC. Is this the right thing? --> + +<xsl:template name="xep-document-information"> + <rx:meta-info> + <xsl:variable name="authors" + select="(//author|//editor|//corpauthor|//authorgroup)[1]"/> + <xsl:if test="$authors"> + <xsl:variable name="author"> + <xsl:choose> + <xsl:when test="$authors[self::authorgroup]"> + <xsl:call-template name="person.name.list"> + <xsl:with-param name="person.list" + select="$authors/*[self::author|self::corpauthor| + self::othercredit|self::editor]"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$authors[self::corpauthor]"> + <xsl:value-of select="$authors"/> + </xsl:when> + <xsl:when test="$authors[orgname]"> + <xsl:value-of select="$authors/orgname"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"> + <xsl:with-param name="node" select="$authors"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:element name="rx:meta-field"> + <xsl:attribute name="name">author</xsl:attribute> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($author)"/> + </xsl:attribute> + </xsl:element> + </xsl:if> + + <xsl:variable name="title"> + <xsl:apply-templates select="/*[1]" mode="label.markup"/> + <xsl:apply-templates select="/*[1]" mode="title.markup"/> + </xsl:variable> + + <xsl:element name="rx:meta-field"> + <xsl:attribute name="name">creator</xsl:attribute> + <xsl:attribute name="value"> + <xsl:text>DocBook </xsl:text> + <xsl:value-of select="$DistroTitle"/> + <xsl:text> V</xsl:text> + <xsl:value-of select="$VERSION"/> + </xsl:attribute> + </xsl:element> + + <xsl:element name="rx:meta-field"> + <xsl:attribute name="name">title</xsl:attribute> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </xsl:element> + + <xsl:if test="//keyword"> + <xsl:element name="rx:meta-field"> + <xsl:attribute name="name">keywords</xsl:attribute> + <xsl:attribute name="value"> + <xsl:for-each select="//keyword"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </xsl:element> + </xsl:if> + + <xsl:if test="//subjectterm"> + <xsl:element name="rx:meta-field"> + <xsl:attribute name="name">subject</xsl:attribute> + <xsl:attribute name="value"> + <xsl:for-each select="//subjectterm"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </xsl:element> + </xsl:if> + </rx:meta-info> +</xsl:template> + +<!-- ******************************************************************** + Pdf bookmarks + ******************************************************************** --> + +<xsl:template match="*" mode="xep.outline"> + <xsl:apply-templates select="*" mode="xep.outline"/> +</xsl:template> + +<xsl:template match="set|book|part|reference|preface|chapter|appendix|article + |glossary|bibliography|index|setindex|topic + |refentry|refsynopsisdiv + |refsect1|refsect2|refsect3|refsection + |sect1|sect2|sect3|sect4|sect5|section" + mode="xep.outline"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <xsl:variable name="bookmark-label"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:variable> + + <!-- Put the root element bookmark at the same level as its children --> + <!-- If the object is a set or book, generate a bookmark for the toc --> + <xsl:choose> + <xsl:when test="self::index and $generate.index = 0"/> + <xsl:when test="parent::*"> + <rx:bookmark internal-destination="{$id}"> + <rx:bookmark-label> + <xsl:value-of select="normalize-space($bookmark-label)"/> + </rx:bookmark-label> + <xsl:apply-templates select="*" mode="xep.outline"/> + </rx:bookmark> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$bookmark-label != ''"> + <rx:bookmark internal-destination="{$id}"> + <rx:bookmark-label> + <xsl:value-of select="normalize-space($bookmark-label)"/> + </rx:bookmark-label> + </rx:bookmark> + </xsl:if> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <xsl:if test="contains($toc.params, 'toc') + and set|book|part|reference|section|sect1|refentry + |article|topic|bibliography|glossary|chapter + |appendix"> + <rx:bookmark internal-destination="toc...{$id}"> + <rx:bookmark-label> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </rx:bookmark-label> + </rx:bookmark> + </xsl:if> + <xsl:apply-templates select="*" mode="xep.outline"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="xep-pis"> + <xsl:if test="$crop.marks != 0"> + <xsl:processing-instruction name="xep-pdf-crop-mark-width"><xsl:value-of select="$crop.mark.width"/></xsl:processing-instruction> + <xsl:processing-instruction name="xep-pdf-crop-offset"><xsl:value-of select="$crop.mark.offset"/></xsl:processing-instruction> + <xsl:processing-instruction name="xep-pdf-bleed"><xsl:value-of select="$crop.mark.bleed"/></xsl:processing-instruction> + </xsl:if> + + <xsl:call-template name="user-xep-pis"/> +</xsl:template> + +<!-- Placeholder for user defined PIs --> +<xsl:template name="user-xep-pis"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/fo/xref.xsl b/apache-fop/src/test/resources/docbook-xsl/fo/xref.xsl new file mode 100644 index 0000000000..8210d56a2c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/fo/xref.xsl @@ -0,0 +1,1554 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:exsl="http://exslt.org/common" + xmlns:xlink='http://www.w3.org/1999/xlink' + exclude-result-prefixes="exsl xlink" + version='1.0'> + +<!-- ******************************************************************** + $Id: xref.xsl 9723 2013-02-06 13:08:06Z kosek $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- Use internal variable for olink xlink role for consistency --> +<xsl:variable + name="xolink.role">http://docbook.org/xlink/role/olink</xsl:variable> + +<!-- ==================================================================== --> + +<xsl:template match="anchor"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="wrapper.name"> + <xsl:call-template name="inline.or.block"/> + </xsl:variable> + + <xsl:element name="{$wrapper.name}"> + <xsl:attribute name="id"> + <xsl:value-of select="$id"/> + </xsl:attribute> + </xsl:element> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="xref" name="xref"> + <xsl:param name="xhref" select="@xlink:href"/> + <!-- is the @xlink:href a local idref link? --> + <xsl:param name="xlink.idref"> + <xsl:if test="starts-with($xhref,'#') + and (not(contains($xhref,'(')) + or starts-with($xhref, '#xpointer(id('))"> + <xsl:call-template name="xpointer.idref"> + <xsl:with-param name="xpointer" select="$xhref"/> + </xsl:call-template> + </xsl:if> + </xsl:param> + <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/> + <xsl:param name="linkend.targets" select="key('id',@linkend)"/> + <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> + <xsl:param name="refelem" select="local-name($target)"/> + + <xsl:variable name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) + and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="content"> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:choose> + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="$target"> + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + </xsl:apply-templates> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>ERROR: xref linking to </xsl:text> + <xsl:value-of select="@linkend|@xlink:href"/> + <xsl:text> has no generated link text.</xsl:text> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </fo:inline> + </xsl:variable> + + <!-- Convert it into an active link --> + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + + <!-- Add standard page reference? --> + <xsl:choose> + <xsl:when test="not($target)"> + <!-- page numbers only for local targets --> + </xsl:when> + <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') + and contains($xrefstyle, 'nopage')"> + <!-- negative xrefstyle in instance turns it off --> + </xsl:when> + <!-- positive xrefstyle already handles it --> + <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:') + and (contains($xrefstyle, 'page') + or contains($xrefstyle, 'Page'))) + and ( $insert.xref.page.number = 'yes' + or $insert.xref.page.number = '1') + or (local-name($target) = 'para' and + $xrefstyle = '')"> + <xsl:apply-templates select="$target" mode="page.citation"> + <xsl:with-param name="id" select="$target/@id|$target/@xml:id"/> + </xsl:apply-templates> + </xsl:when> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- Handled largely like an xref --> +<!-- To be done: add support for begin, end, and units attributes --> +<xsl:template match="biblioref" name="biblioref"> + <xsl:variable name="targets" select="key('id',@linkend)"/> + <xsl:variable name="target" select="$targets[1]"/> + <xsl:variable name="refelem" select="local-name($target)"/> + + <xsl:call-template name="check.id.unique"> + <xsl:with-param name="linkend" select="@linkend"/> + </xsl:call-template> + + <xsl:choose> + <xsl:when test="$refelem=''"> + <xsl:message> + <xsl:text>XRef to nonexistent id: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + + <xsl:when test="@endterm"> + <fo:basic-link internal-destination="{@linkend}" + xsl:use-attribute-sets="xref.properties"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </fo:basic-link> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <fo:basic-link internal-destination="{@linkend}" + xsl:use-attribute-sets="xref.properties"> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </fo:basic-link> + </xsl:when> + + <xsl:otherwise> + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <fo:basic-link internal-destination="{@linkend}" + xsl:use-attribute-sets="xref.properties"> + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:apply-templates> + </fo:basic-link> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="endterm"> + <!-- Process the children of the endterm element --> + <xsl:variable name="endterm"> + <xsl:apply-templates select="child::node()"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$endterm"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="remove-ids"> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of select="name(.)"/></xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + <xsl:apply-templates mode="remove-ids"/> + </xsl:copy> +</xsl:template> + +<!--- ==================================================================== --> + +<xsl:template match="*" mode="xref-to-prefix"/> +<xsl:template match="*" mode="xref-to-suffix"/> + +<xsl:template match="*" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + + <xsl:if test="$verbose != 0"> + <xsl:message> + <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>"</xsl:text> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="title" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- if you xref to a title, xref to the parent... --> + <xsl:choose> + <!-- FIXME: how reliable is this? --> + <xsl:when test="contains(local-name(parent::*), 'info')"> + <xsl:apply-templates select="parent::*[2]" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="parent::*" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="abstract|article|authorblurb|bibliodiv|bibliomset + |biblioset|blockquote|calloutlist|caution|colophon + |constraintdef|formalpara|glossdiv|important|indexdiv + |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain + |msgrel|msgset|msgsub|note|orderedlist|partintro + |productionset|qandadiv|refsynopsisdiv|screenshot|segmentedlist + |set|setindex|sidebar|tip|toc|variablelist|warning" + mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- catch-all for things with (possibly optional) titles --> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="author|editor|othercredit|personname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:call-template name="person.name.list"/> +</xsl:template> + +<xsl:template match="figure|example|table|equation" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="procedure" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="task" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="cmdsynopsis" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="funcsynopsis" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="dedication|acknowledgements|preface|chapter|appendix" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bibliography" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix"> + <xsl:text>[</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix"> + <xsl:text>]</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- handles both biblioentry and bibliomixed --> + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="id" select="(@id|@xml:id)[1]"/> + <xsl:variable name="entry" select="$bib/bibliography/ + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> + <xsl:apply-templates select="$entry/*[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossary" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="glossentry" mode="xref-to"> + <xsl:choose> + <xsl:when test="$glossentry.show.acronym = 'primary'"> + <xsl:choose> + <xsl:when test="acronym|abbrev"> + <xsl:apply-templates select="(acronym|abbrev)[1]"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossterm|firstterm" mode="xref-to"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="index" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="listitem" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="section|simplesect + |sect1|sect2|sect3|sect4|sect5 + |refsect1|refsect2|refsect3|refsection" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="topic" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bridgehead" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="qandaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="qandadiv" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="qandaentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="question[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="question|answer" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="string-length(label) != 0"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="part|reference" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="refmeta/refentrytitle"> + <xsl:apply-templates select="refmeta/refentrytitle"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="refnamediv/refname[1]"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="refmeta/manvolnum"/> +</xsl:template> + +<xsl:template match="refnamediv" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="refname[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="step" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="varlistentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="term[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="varlistentry/term" mode="xref-to"> + <xsl:param name="verbose" select="1"/> + <!-- to avoid the comma that will be generated if there are several terms --> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="co" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="callout-bug"/> +</xsl:template> + +<xsl:template match="area|areaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="callout-bug"> + <xsl:with-param name="conum"> + <xsl:apply-templates select="." mode="conumber"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="book" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<!-- These are elements for which no link text exists, so an xref to one + uses the xrefstyle attribute if specified, or if not it falls back + to the container element's link text --> +<xsl:template match="para|phrase|simpara|anchor|quote" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:variable name="context" select="(ancestor::simplesect + |ancestor::section + |ancestor::sect1 + |ancestor::sect2 + |ancestor::sect3 + |ancestor::sect4 + |ancestor::sect5 + |ancestor::topic + |ancestor::refsection + |ancestor::refsect1 + |ancestor::refsect2 + |ancestor::refsect3 + |ancestor::chapter + |ancestor::appendix + |ancestor::preface + |ancestor::partintro + |ancestor::dedication + |ancestor::acknowledgements + |ancestor::colophon + |ancestor::bibliography + |ancestor::index + |ancestor::glossary + |ancestor::glossentry + |ancestor::listitem + |ancestor::varlistentry)[last()]"/> + + <xsl:choose> + <xsl:when test="$xrefstyle != ''"> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$verbose != 0"> + <xsl:message> + <xsl:text>WARNING: xref to <</xsl:text> + <xsl:value-of select="local-name()"/> + <xsl:text> id="</xsl:text> + <xsl:value-of select="@id|@xml:id"/> + <xsl:text>"> has no generated text. Trying its ancestor elements.</xsl:text> + </xsl:message> + </xsl:if> + <xsl:apply-templates select="$context" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="xref-to"> + <xsl:value-of select="primary"/> +</xsl:template> + +<xsl:template match="primary|secondary|tertiary" mode="xref-to"> + <xsl:value-of select="."/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="link" name="link"> + <xsl:param name="linkend" select="@linkend"/> + <xsl:param name="targets" select="key('id',$linkend)"/> + <xsl:param name="target" select="$targets[1]"/> + + <xsl:variable name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) + and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="content"> + <fo:inline xsl:use-attribute-sets="xref.properties"> + <xsl:choose> + <xsl:when test="count(child::node()) > 0"> + <!-- If it has content, use it --> + <xsl:apply-templates/> + </xsl:when> + <!-- look for an endterm --> + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- Use the xlink:href if no other text --> + <xsl:when test="@xlink:href"> + <fo:inline hyphenate="false"> + <xsl:call-template name="hyphenate-url"> + <xsl:with-param name="url" select="@xlink:href"/> + </xsl:call-template> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Link element has no content and no Endterm. </xsl:text> + <xsl:text>Nothing to show in the link to </xsl:text> + <xsl:value-of select="$target"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </fo:inline> + </xsl:variable> + + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="linkend" select="$linkend"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + + <!-- Add standard page reference? --> + <xsl:choose> + <!-- page numbering on link only enabled for @linkend --> + <!-- There is no link element in DB5 with xlink:href --> + <xsl:when test="not($linkend)"> + </xsl:when> + <!-- negative xrefstyle in instance turns it off --> + <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') + and contains($xrefstyle, 'nopage')"> + </xsl:when> + <xsl:when test="(starts-with(normalize-space($xrefstyle), 'select:') + and $insert.link.page.number = 'maybe' + and (contains($xrefstyle, 'page') + or contains($xrefstyle, 'Page'))) + or ( $insert.link.page.number = 'yes' + or $insert.link.page.number = '1') + or local-name($target) = 'para'"> + <xsl:apply-templates select="$target" mode="page.citation"> + <xsl:with-param name="id" select="$linkend"/> + </xsl:apply-templates> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="ulink" name="ulink"> + <xsl:param name="url" select="@url"/> + + <xsl:variable name ="ulink.url"> + <xsl:call-template name="fo-external-image"> + <xsl:with-param name="filename" select="$url"/> + </xsl:call-template> + </xsl:variable> + + <fo:basic-link xsl:use-attribute-sets="xref.properties" + external-destination="{$ulink.url}"> + <xsl:choose> + <xsl:when test="count(child::node())=0 or (string(.) = $url)"> + <fo:inline hyphenate="false"> + <xsl:call-template name="hyphenate-url"> + <xsl:with-param name="url" select="$url"/> + </xsl:call-template> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </fo:basic-link> + <!-- * Call the template for determining whether the URL for this --> + <!-- * hyperlink is displayed, and how to display it (either inline or --> + <!-- * as a numbered footnote). --> + <xsl:call-template name="hyperlink.url.display"> + <xsl:with-param name="url" select="$url"/> + <xsl:with-param name="ulink.url" select="$ulink.url"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="hyperlink.url.display"> + <!-- * This template is called for all external hyperlinks (ulinks and --> + <!-- * for all simple xlinks); it determines whether the URL for the --> + <!-- * hyperlink is displayed, and how to display it (either inline or --> + <!-- * as a numbered footnote). --> + <xsl:param name="url"/> + <xsl:param name="ulink.url"> + <!-- * ulink.url is just the value of the URL wrapped in 'url(...)' --> + <xsl:call-template name="fo-external-image"> + <xsl:with-param name="filename" select="$url"/> + </xsl:call-template> + </xsl:param> + + <xsl:if test="count(child::node()) != 0 + and string(.) != $url + and $ulink.show != 0"> + <!-- * Display the URL for this hyperlink only if it is non-empty, --> + <!-- * and the value of its content is not a URL that is the same as --> + <!-- * URL it links to, and if ulink.show is non-zero. --> + <xsl:choose> + <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote) and not(ancestor::*[@floatstyle='before'])"> + <!-- * ulink.show and ulink.footnote are both non-zero; that --> + <!-- * means we display the URL as a footnote (instead of inline) --> + <fo:footnote> + <xsl:call-template name="ulink.footnote.number"/> + <fo:footnote-body xsl:use-attribute-sets="footnote.properties"> + <fo:block> + <xsl:call-template name="ulink.footnote.number"/> + <xsl:text> </xsl:text> + <fo:basic-link external-destination="{$ulink.url}"> + <xsl:value-of select="$url"/> + </fo:basic-link> + </fo:block> + </fo:footnote-body> + </fo:footnote> + </xsl:when> + <xsl:otherwise> + <!-- * ulink.show is non-zero, but ulink.footnote is not; that --> + <!-- * means we display the URL inline --> + <fo:inline hyphenate="false"> + <!-- * put square brackets around the URL --> + <xsl:text> [</xsl:text> + <fo:basic-link external-destination="{$ulink.url}"> + <xsl:call-template name="hyphenate-url"> + <xsl:with-param name="url" select="$url"/> + </xsl:call-template> + </fo:basic-link> + <xsl:text>]</xsl:text> + </fo:inline> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + +</xsl:template> + +<xsl:template name="ulink.footnote.number"> + <fo:inline xsl:use-attribute-sets="footnote.mark.properties"> + <xsl:choose> + <xsl:when test="$fop.extensions != 0"> + <xsl:attribute name="vertical-align">super</xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="baseline-shift">super</xsl:attribute> + </xsl:otherwise> + </xsl:choose> + <xsl:variable name="fnum"> + <!-- * Determine the footnote number to display for this hyperlink, --> + <!-- * by counting all foonotes, ulinks, and any elements that have --> + <!-- * an xlink:href attribute that meets the following criteria: --> + <!-- * --> + <!-- * - the content of the element is not a URI that is the same --> + <!-- * URI as the value of the href attribute --> + <!-- * - the href attribute is not an internal ID reference (does --> + <!-- * not start with a hash sign) --> + <!-- * - the href is not part of an olink reference (the element --> + <!-- * - does not have an xlink:role attribute that indicates it is --> + <!-- * an olink, and the href does not contain a hash sign) --> + <!-- * - the element either has no xlink:type attribute or has --> + <!-- * an xlink:type attribute whose value is 'simple' --> + <!-- FIXME: list in @from is probably not complete --> + <xsl:number level="any" + from="chapter|appendix|preface|article|refentry|bibliography[not(parent::article)]" + count="footnote[not(@label)][not(ancestor::tgroup)] + |ulink[node()][@url != .][not(ancestor::footnote)] + |*[node()][@xlink:href][not(@xlink:href = .)][not(starts-with(@xlink:href,'#'))] + [not(contains(@xlink:href,'#') and @xlink:role = $xolink.role)] + [not(@xlink:type) or @xlink:type='simple'] + [not(ancestor::footnote)]" + format="1"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="string-length($footnote.number.symbols) >= $fnum"> + <xsl:value-of select="substring($footnote.number.symbols, $fnum, 1)"/> + </xsl:when> + <xsl:otherwise> + <xsl:number value="$fnum" format="{$footnote.number.format}"/> + </xsl:otherwise> + </xsl:choose> + </fo:inline> +</xsl:template> + +<xsl:template name="hyphenate-url"> + <xsl:param name="url" select="''"/> + <xsl:choose> + <xsl:when test="$ulink.hyphenate = ''"> + <xsl:value-of select="$url"/> + </xsl:when> + <xsl:when test="string-length($url) > 1"> + <xsl:variable name="char" select="substring($url, 1, 1)"/> + <xsl:value-of select="$char"/> + <xsl:if test="contains($ulink.hyphenate.chars, $char)"> + <!-- Do not hyphen in-between // --> + <xsl:if test="not($char = '/' and substring($url,2,1) = '/')"> + <xsl:copy-of select="$ulink.hyphenate"/> + </xsl:if> + </xsl:if> + <!-- recurse to the next character --> + <xsl:call-template name="hyphenate-url"> + <xsl:with-param name="url" select="substring($url, 2)"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$url"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="olink" name="olink"> + <!-- olink content may be passed in from xlink olink --> + <xsl:param name="content" select="NOTANELEMENT"/> + + <xsl:choose> + <!-- olinks resolved by stylesheet and target database --> + <xsl:when test="@targetdoc or @targetptr or + (@xlink:role=$xolink.role and + contains(@xlink:href, '#') )" > + + <xsl:variable name="targetdoc.att"> + <xsl:choose> + <xsl:when test="@targetdoc != ''"> + <xsl:value-of select="@targetdoc"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and + contains(@xlink:href, '#')" > + <xsl:value-of select="substring-before(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="targetptr.att"> + <xsl:choose> + <xsl:when test="@targetptr != ''"> + <xsl:value-of select="@targetptr"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and + contains(@xlink:href, '#')" > + <xsl:value-of select="substring-after(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="xref-context" select="true()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database.filename"> + <xsl:call-template name="select.target.database"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database" + select="document($target.database.filename, /)"/> + + <xsl:if test="$olink.debug != 0"> + <xsl:message> + <xsl:text>Olink debug: root element of target.database is '</xsl:text> + <xsl:value-of select="local-name($target.database/*[1])"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="olink.key"> + <xsl:call-template name="select.olink.key"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="string-length($olink.key) = 0"> + <xsl:message> + <xsl:text>Error: unresolved olink: </xsl:text> + <xsl:text>targetdoc/targetptr = '</xsl:text> + <xsl:value-of select="$targetdoc.att"/> + <xsl:text>/</xsl:text> + <xsl:value-of select="$targetptr.att"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="href"> + <xsl:call-template name="make.olink.href"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <!-- Olink that points to internal id can be a link --> + <xsl:variable name="linkend"> + <xsl:call-template name="olink.as.linkend"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="hottext"> + <xsl:choose> + <xsl:when test="string-length($content) != 0"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="olink.hottext"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.docname.citation"> + <xsl:call-template name="olink.document.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="olink.page.citation"> + <xsl:call-template name="olink.page.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="linkend" select="$linkend"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$linkend != ''"> + <fo:basic-link internal-destination="{$linkend}" + xsl:use-attribute-sets="xref.properties"> + <xsl:call-template name="anchor"/> + <xsl:copy-of select="$hottext"/> + <xsl:copy-of select="$olink.page.citation"/> + </fo:basic-link> + </xsl:when> + <xsl:when test="$href != ''"> + <xsl:choose> + <xsl:when test="$fop1.extensions != 0"> + <xsl:variable name="mybeg" select="substring-before($href,'#')"/> + <xsl:variable name="myend" select="substring-after($href,'#')"/> + <fo:basic-link external-destination="url({concat($mybeg,'#dest=',$myend)})" + xsl:use-attribute-sets="olink.properties"> + <xsl:copy-of select="$hottext"/> + </fo:basic-link> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:when> + <xsl:when test="$xep.extensions != 0"> + <fo:basic-link external-destination="url({$href})" + xsl:use-attribute-sets="olink.properties"> + <xsl:call-template name="anchor"/> + <xsl:copy-of select="$hottext"/> + </fo:basic-link> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:when> + <xsl:when test="$axf.extensions != 0"> + <fo:basic-link external-destination="{$href}" + xsl:use-attribute-sets="olink.properties"> + <xsl:copy-of select="$hottext"/> + </fo:basic-link> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:when> + <xsl:otherwise> + <fo:basic-link external-destination="{$href}" + xsl:use-attribute-sets="olink.properties"> + <xsl:copy-of select="$hottext"/> + </fo:basic-link> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$hottext"/> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <!-- olink never implemented in FO for old olink entity syntax --> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="insert.olink.docname.markup"> + <xsl:param name="docname" select="''"/> + + <fo:inline font-style="italic"> + <xsl:value-of select="$docname"/> + </fo:inline> + +</xsl:template> + +<!-- This prevents error message when processing olinks with xrefstyle --> +<xsl:template match="olink" mode="object.xref.template"/> + + +<xsl:template name="olink.as.linkend"> + <xsl:param name="olink.key" select="''"/> + <xsl:param name="olink.lang" select="''"/> + <xsl:param name="target.database" select="NotANode"/> + + <xsl:variable name="targetdoc"> + <xsl:value-of select="substring-before($olink.key, '/')"/> + </xsl:variable> + + <xsl:variable name="targetptr"> + <xsl:value-of + select="substring-before(substring-after($olink.key, '/'), '/')"/> + </xsl:variable> + + <xsl:variable name="target.lang"> + <xsl:variable name="candidate"> + <xsl:for-each select="$target.database" > + <xsl:value-of + select="key('targetptr-key', $olink.key)[1]/@lang" /> + </xsl:for-each> + </xsl:variable> + <xsl:choose> + <xsl:when test="$candidate != ''"> + <xsl:value-of select="$candidate"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$olink.lang"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:if test="$current.docid = $targetdoc and + $olink.lang = $target.lang"> + <xsl:variable name="targets" select="key('id',$targetptr)"/> + <xsl:variable name="target" select="$targets[1]"/> + <xsl:if test="$target"> + <xsl:value-of select="$targetptr"/> + </xsl:if> + </xsl:if> + +</xsl:template> + + +<!-- ==================================================================== --> + +<xsl:template name="title.xref"> + <xsl:param name="target" select="."/> + <xsl:choose> + <xsl:when test="local-name($target) = 'figure' + or local-name($target) = 'example' + or local-name($target) = 'equation' + or local-name($target) = 'table' + or local-name($target) = 'dedication' + or local-name($target) = 'acknowledgements' + or local-name($target) = 'preface' + or local-name($target) = 'bibliography' + or local-name($target) = 'glossary' + or local-name($target) = 'index' + or local-name($target) = 'setindex' + or local-name($target) = 'colophon'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates select="$target" mode="title.markup"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <fo:inline font-style="italic"> + <xsl:apply-templates select="$target" mode="title.markup"/> + </fo:inline> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="number.xref"> + <xsl:param name="target" select="."/> + <xsl:apply-templates select="$target" mode="label.markup"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="xref.xreflabel"> + <!-- called to process an xreflabel...you might use this to make --> + <!-- xreflabels come out in the right font for different targets, --> + <!-- for example. --> + <xsl:param name="target" select="."/> + <xsl:value-of select="$target/@xreflabel"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="title" mode="xref"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="command" mode="xref"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="function" mode="xref"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<xsl:template match="*" mode="page.citation"> + <xsl:param name="id" select="'???'"/> + + <fo:basic-link internal-destination="{$id}" + xsl:use-attribute-sets="xref.properties"> + <fo:inline keep-together.within-line="always"> + <xsl:call-template name="substitute-markup"> + <xsl:with-param name="template"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="name" select="'page.citation'"/> + <xsl:with-param name="context" select="'xref'"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </fo:inline> + </fo:basic-link> +</xsl:template> + +<xsl:template match="*" mode="pagenumber.markup"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <fo:page-number-citation ref-id="{$id}"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <xsl:copy-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="chapter|appendix" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <fo:inline font-style="italic"> + <xsl:copy-of select="$title"/> + </fo:inline> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="insert.subtitle.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="subtitle"/> + + <xsl:copy-of select="$subtitle"/> +</xsl:template> + +<xsl:template match="*" mode="insert.label.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="label"/> + + <xsl:copy-of select="$label"/> +</xsl:template> + +<xsl:template match="*" mode="insert.pagenumber.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="pagenumber"/> + + <xsl:copy-of select="$pagenumber"/> +</xsl:template> + +<xsl:template match="*" mode="insert.direction.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="direction"/> + + <xsl:copy-of select="$direction"/> +</xsl:template> + +<xsl:template match="olink" mode="pagenumber.markup"> + <!-- Local olinks can use page-citation --> + <xsl:variable name="targetdoc.att" select="@targetdoc"/> + <xsl:variable name="targetptr.att" select="@targetptr"/> + + <xsl:variable name="olink.lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="xref-context" select="true()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database.filename"> + <xsl:call-template name="select.target.database"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database" + select="document($target.database.filename, /)"/> + + <xsl:if test="$olink.debug != 0"> + <xsl:message> + <xsl:text>Olink debug: root element of target.database is '</xsl:text> + <xsl:value-of select="local-name($target.database/*[1])"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="olink.key"> + <xsl:call-template name="select.olink.key"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <!-- Olink that points to internal id can be a link --> + <xsl:variable name="linkend"> + <xsl:call-template name="olink.as.linkend"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$linkend != ''"> + <fo:page-number-citation ref-id="{$linkend}"/> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Olink error: no page number linkend for local olink '</xsl:text> + <xsl:value-of select="$olink.key"/> + <xsl:text>'</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/README b/apache-fop/src/test/resources/docbook-xsl/highlighting/README new file mode 100644 index 0000000000..0b31d32f46 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/README @@ -0,0 +1,16 @@ +To use the syntax higlighting extension with DocBook-XSL 1.74.3+, you must: +1. Use a processor that works with the extension: Saxon 6 or Xalan-J. +2. Add the latest version of xslthl-2.X.X.jar to your classpath. +3. Set the highlight.source parameter to 1. +4. Import into your customization one of the following stylesheet module: + * html/highlight.xsl + * xhtml/highlight.xsl + * xhtml-1_1/highlight.xsl + * fo/highlight.xsl +5. Use that customiztion layer. + + +Note: Saxon 8.5 or later is also supported, but since it is an XSLT 2.0 +processor it is not guaranteed to work with DocBook-XSL in all +circumstances. + diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/bourne-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/bourne-hl.xml new file mode 100644 index 0000000000..e2cd98d8b5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/bourne-hl.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SH + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2010 Mathieu Malaterre + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="heredoc"> + <start><<</start> + <quote>'</quote> + <quote>"</quote> + <flag>-</flag> + <noWhiteSpace /> + <looseTerminator /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + <spanNewLines /> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <!-- reserved words --> + <keyword>if</keyword> + <keyword>then</keyword> + <keyword>else</keyword> + <keyword>elif</keyword> + <keyword>fi</keyword> + <keyword>case</keyword> + <keyword>esac</keyword> + <keyword>for</keyword> + <keyword>while</keyword> + <keyword>until</keyword> + <keyword>do</keyword> + <keyword>done</keyword> + <!-- built-ins --> + <keyword>exec</keyword> + <keyword>shift</keyword> + <keyword>exit</keyword> + <keyword>times</keyword> + <keyword>break</keyword> + <keyword>export</keyword> + <keyword>trap</keyword> + <keyword>continue</keyword> + <keyword>readonly</keyword> + <keyword>wait</keyword> + <keyword>eval</keyword> + <keyword>return</keyword> + <!-- other commands --> + <keyword>cd</keyword> + <keyword>echo</keyword> + <keyword>hash</keyword> + <keyword>pwd</keyword> + <keyword>read</keyword> + <keyword>set</keyword> + <keyword>test</keyword> + <keyword>type</keyword> + <keyword>ulimit</keyword> + <keyword>umask</keyword> + <keyword>unset</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/c-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/c-hl.xml new file mode 100644 index 0000000000..81077acee1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/c-hl.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Syntax highlighting definition for C + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="oneline-comment"> + <start><![CDATA[/// ]]></start> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="oneline-comment"> + <!-- use the online-comment highlighter to detect directives --> + <start>#</start> + <lineBreakEscape>\</lineBreakEscape> + <style>directive</style> + <solitary /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>f</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>auto</keyword> + <keyword>_Bool</keyword> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>char</keyword> + <keyword>_Complex</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>default</keyword> + <keyword>do</keyword> + <keyword>double</keyword> + <keyword>else</keyword> + <keyword>enum</keyword> + <keyword>extern</keyword> + <keyword>float</keyword> + <keyword>for</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>_Imaginary</keyword> + <keyword>inline</keyword> + <keyword>int</keyword> + <keyword>long</keyword> + <keyword>register</keyword> + <keyword>restrict</keyword> + <keyword>return</keyword> + <keyword>short</keyword> + <keyword>signed</keyword> + <keyword>sizeof</keyword> + <keyword>static</keyword> + <keyword>struct</keyword> + <keyword>switch</keyword> + <keyword>typedef</keyword> + <keyword>union</keyword> + <keyword>unsigned</keyword> + <keyword>void</keyword> + <keyword>volatile</keyword> + <keyword>while</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/cmake-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/cmake-hl.xml new file mode 100644 index 0000000000..22921f4a00 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/cmake-hl.xml @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for CMake +Copyright (c) 2010 Mathieu Malaterre + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not +claim that you wrote the original software. If you use this software +in a product, an acknowledgment in the product documentation would be +appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be +misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="string"> + <string>"</string> + <endString>"</endString> + <spanNewLines /> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>l</suffix> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="number"> + <point>.</point> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="keywords"> + <!-- system variable --> + <keyword>WIN32</keyword> + <keyword>UNIX</keyword> + <keyword>APPLE</keyword> + <keyword>CYGWIN</keyword> + <keyword>BORLAND</keyword> + <keyword>MINGW</keyword> + <keyword>MSVC</keyword> + <keyword>MSVC_IDE</keyword> + <keyword>MSVC60</keyword> + <keyword>MSVC70</keyword> + <keyword>MSVC71</keyword> + <keyword>MSVC80</keyword> + <style>attribute</style> + </highlighter> + <highlighter type="keywords"> + <!-- operators --> + <keyword>AND</keyword> + <keyword>BOOL</keyword> + <keyword>CACHE</keyword> + <keyword>COMMAND</keyword> + <keyword>DEFINED</keyword> + <keyword>DOC</keyword> + <keyword>EQUAL</keyword> + <keyword>EXISTS</keyword> + <keyword>FALSE</keyword> + <keyword>GREATER</keyword> + <keyword>INTERNAL</keyword> + <keyword>LESS</keyword> + <keyword>MATCHES</keyword> + <keyword>NAME</keyword> + <keyword>NAMES</keyword> + <keyword>NAME_WE</keyword> + <keyword>NOT</keyword> + <keyword>OFF</keyword> + <keyword>ON</keyword> + <keyword>OR</keyword> + <keyword>PATH</keyword> + <keyword>PATHS</keyword> + <keyword>PROGRAM</keyword> + <keyword>STREQUAL</keyword> + <keyword>STRGREATER</keyword> + <keyword>STRING</keyword> + <keyword>STRLESS</keyword> + <keyword>TRUE</keyword> + <!-- color in blue --> + <!--style>doccomment</style> --> + <style>keyword</style> + </highlighter> + <highlighter type="keywords"> + <!-- statement --> + <keyword>ADD_CUSTOM_COMMAND</keyword> + <keyword>ADD_CUSTOM_TARGET</keyword> + <keyword>ADD_DEFINITIONS</keyword> + <keyword>ADD_DEPENDENCIES</keyword> + <keyword>ADD_EXECUTABLE</keyword> + <keyword>ADD_LIBRARY</keyword> + <keyword>ADD_SUBDIRECTORY</keyword> + <keyword>ADD_TEST</keyword> + <keyword>AUX_SOURCE_DIRECTORY</keyword> + <keyword>BUILD_COMMAND</keyword> + <keyword>BUILD_NAME</keyword> + <keyword>CMAKE_MINIMUM_REQUIRED</keyword> + <keyword>CONFIGURE_FILE</keyword> + <keyword>CREATE_TEST_SOURCELIST</keyword> + <keyword>ELSE</keyword> + <keyword>ELSEIF</keyword> + <keyword>ENABLE_LANGUAGE</keyword> + <keyword>ENABLE_TESTING</keyword> + <keyword>ENDFOREACH</keyword> + <keyword>ENDIF</keyword> + <keyword>ENDWHILE</keyword> + <keyword>EXEC_PROGRAM</keyword> + <keyword>EXECUTE_PROCESS</keyword> + <keyword>EXPORT_LIBRARY_DEPENDENCIES</keyword> + <keyword>FILE</keyword> + <keyword>FIND_FILE</keyword> + <keyword>FIND_LIBRARY</keyword> + <keyword>FIND_PACKAGE</keyword> + <keyword>FIND_PATH</keyword> + <keyword>FIND_PROGRAM</keyword> + <keyword>FLTK_WRAP_UI</keyword> + <keyword>FOREACH</keyword> + <keyword>GET_CMAKE_PROPERTY</keyword> + <keyword>GET_DIRECTORY_PROPERTY</keyword> + <keyword>GET_FILENAME_COMPONENT</keyword> + <keyword>GET_SOURCE_FILE_PROPERTY</keyword> + <keyword>GET_TARGET_PROPERTY</keyword> + <keyword>GET_TEST_PROPERTY</keyword> + <keyword>IF</keyword> + <keyword>INCLUDE</keyword> + <keyword>INCLUDE_DIRECTORIES</keyword> + <keyword>INCLUDE_EXTERNAL_MSPROJECT</keyword> + <keyword>INCLUDE_REGULAR_EXPRESSION</keyword> + <keyword>INSTALL</keyword> + <keyword>INSTALL_FILES</keyword> + <keyword>INSTALL_PROGRAMS</keyword> + <keyword>INSTALL_TARGETS</keyword> + <keyword>LINK_DIRECTORIES</keyword> + <keyword>LINK_LIBRARIES</keyword> + <keyword>LIST</keyword> + <keyword>LOAD_CACHE</keyword> + <keyword>LOAD_COMMAND</keyword> + <keyword>MACRO</keyword> + <keyword>MAKE_DIRECTORY</keyword> + <keyword>MARK_AS_ADVANCED</keyword> + <keyword>MATH</keyword> + <keyword>MESSAGE</keyword> + <keyword>OPTION</keyword> + <keyword>OUTPUT_REQUIRED_FILES</keyword> + <keyword>PROJECT</keyword> + <keyword>QT_WRAP_CPP</keyword> + <keyword>QT_WRAP_UI</keyword> + <keyword>REMOVE</keyword> + <keyword>REMOVE_DEFINITIONS</keyword> + <keyword>SEPARATE_ARGUMENTS</keyword> + <keyword>SET</keyword> + <keyword>SET_DIRECTORY_PROPERTIES</keyword> + <keyword>SET_SOURCE_FILES_PROPERTIES</keyword> + <keyword>SET_TARGET_PROPERTIES</keyword> + <keyword>SET_TESTS_PROPERTIES</keyword> + <keyword>SITE_NAME</keyword> + <keyword>SOURCE_GROUP</keyword> + <keyword>STRING</keyword> + <keyword>SUBDIR_DEPENDS</keyword> + <keyword>SUBDIRS</keyword> + <keyword>TARGET_LINK_LIBRARIES</keyword> + <keyword>TRY_COMPILE</keyword> + <keyword>TRY_RUN</keyword> + <keyword>USE_MANGLED_MESA</keyword> + <keyword>UTILITY_SOURCE</keyword> + <keyword>VARIABLE_REQUIRES</keyword> + <keyword>VTK_MAKE_INSTANTIATOR</keyword> + <keyword>VTK_WRAP_JAVA</keyword> + <keyword>VTK_WRAP_PYTHON</keyword> + <keyword>VTK_WRAP_TCL</keyword> + <keyword>WHILE</keyword> + <keyword>WRITE_FILE</keyword> + <keyword>ENDMACRO</keyword> + <ignoreCase /> + <beginChars>()</beginChars> + <partChars>()</partChars> + <style>directive</style> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/common.xsl b/apache-fop/src/test/resources/docbook-xsl/highlighting/common.xsl new file mode 100644 index 0000000000..e9b5650857 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/common.xsl @@ -0,0 +1,120 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + + xmlns:s6hl="http://net.sf.xslthl/ConnectorSaxon6" + xmlns:sbhl="http://net.sf.xslthl/ConnectorSaxonB" + xmlns:xhl="http://net.sf.xslthl/ConnectorXalan" + xmlns:saxon6="http://icl.com/saxon" + xmlns:saxonb="http://saxon.sf.net/" + xmlns:xalan="http://xml.apache.org/xalan" + + xmlns:exsl="http://exslt.org/common" + xmlns:xslthl="http://xslthl.sf.net" + exclude-result-prefixes="exsl xslthl s6hl sbhl xhl" + version='1.0'> + +<!-- ******************************************************************** + $Id: common.xsl 8257 2009-02-20 04:40:16Z abdelazer $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + and other information. + + ******************************************************************** --> + +<!-- this construction is needed to have the saxon and xalan connectors working alongside each other --> +<xalan:component prefix="xhl" functions="highlight"> + <xalan:script lang="javaclass" src="xalan://net.sf.xslthl.ConnectorXalan" /> +</xalan:component> + +<!-- for saxon 6 --> +<saxon6:script implements-prefix="s6hl" language="java" src="java:net.sf.xslthl.ConnectorSaxon6" /> + +<!-- for saxon 8.5 and later --> +<saxonb:script implements-prefix="sbhl" language="java" src="java:net.sf.xslthl.ConnectorSaxonB" /> + + +<!-- You can override this template to do more complex mapping of + language attribute to highlighter language ID (see xslthl-config.xml) --> +<xsl:template name="language.to.xslthl"> + <xsl:param name="context"/> + + <xsl:choose> + <xsl:when test="$context/@language != ''"> + <xsl:value-of select="$context/@language"/> + </xsl:when> + <xsl:when test="$highlight.default.language != ''"> + <xsl:value-of select="$highlight.default.language"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="apply-highlighting"> + <xsl:choose> + <!-- Do we want syntax highlighting --> + <xsl:when test="$highlight.source != 0"> + <xsl:variable name="language"> + <xsl:call-template name="language.to.xslthl"> + <xsl:with-param name="context" select="."/> + </xsl:call-template> + </xsl:variable> + <xsl:choose> + <xsl:when test="$language != ''"> + <xsl:variable name="content"> + <xsl:apply-templates/> + </xsl:variable> + <xsl:choose> + <xsl:when test="function-available('s6hl:highlight')"> + <xsl:apply-templates select="s6hl:highlight($language, exsl:node-set($content), $highlight.xslthl.config)" + mode="xslthl"/> + </xsl:when> + <xsl:when test="function-available('sbhl:highlight')"> + <xsl:apply-templates select="sbhl:highlight($language, exsl:node-set($content), $highlight.xslthl.config)" + mode="xslthl"/> + </xsl:when> + <xsl:when test="function-available('xhl:highlight')"> + <xsl:apply-templates select="xhl:highlight($language, exsl:node-set($content), $highlight.xslthl.config)" + mode="xslthl"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- No syntax highlighting --> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- A fallback when the specific style isn't recognized --> +<xsl:template match="xslthl:*" mode="xslthl"> + <xsl:message> + <xsl:text>unprocessed xslthl style: </xsl:text> + <xsl:value-of select="local-name(.)" /> + </xsl:message> + <xsl:apply-templates mode="xslthl"/> +</xsl:template> + +<!-- Copy over already produced markup (FO/HTML) --> +<xsl:template match="node()" mode="xslthl" priority="-1"> + <xsl:copy> + <xsl:apply-templates select="node()" mode="xslthl"/> + </xsl:copy> +</xsl:template> + +<xsl:template match="*" mode="xslthl"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:apply-templates select="node()" mode="xslthl"/> + </xsl:copy> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/cpp-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/cpp-hl.xml new file mode 100644 index 0000000000..347eb720b0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/cpp-hl.xml @@ -0,0 +1,151 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for C++ + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="oneline-comment"> + <start><![CDATA[/// ]]></start> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="oneline-comment"> + <!-- use the online-comment highlighter to detect directives --> + <start>#</start> + <lineBreakEscape>\</lineBreakEscape> + <style>directive</style> + <solitary/> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>f</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <!-- C keywords --> + <keyword>auto</keyword> + <keyword>_Bool</keyword> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>char</keyword> + <keyword>_Complex</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>default</keyword> + <keyword>do</keyword> + <keyword>double</keyword> + <keyword>else</keyword> + <keyword>enum</keyword> + <keyword>extern</keyword> + <keyword>float</keyword> + <keyword>for</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>_Imaginary</keyword> + <keyword>inline</keyword> + <keyword>int</keyword> + <keyword>long</keyword> + <keyword>register</keyword> + <keyword>restrict</keyword> + <keyword>return</keyword> + <keyword>short</keyword> + <keyword>signed</keyword> + <keyword>sizeof</keyword> + <keyword>static</keyword> + <keyword>struct</keyword> + <keyword>switch</keyword> + <keyword>typedef</keyword> + <keyword>union</keyword> + <keyword>unsigned</keyword> + <keyword>void</keyword> + <keyword>volatile</keyword> + <keyword>while</keyword> + <!-- C++ keywords --> + <keyword>asm</keyword> + <keyword>dynamic_cast</keyword> + <keyword>namespace</keyword> + <keyword>reinterpret_cast</keyword> + <keyword>try</keyword> + <keyword>bool</keyword> + <keyword>explicit</keyword> + <keyword>new</keyword> + <keyword>static_cast</keyword> + <keyword>typeid</keyword> + <keyword>catch</keyword> + <keyword>false</keyword> + <keyword>operator</keyword> + <keyword>template</keyword> + <keyword>typename</keyword> + <keyword>class</keyword> + <keyword>friend</keyword> + <keyword>private</keyword> + <keyword>this</keyword> + <keyword>using</keyword> + <keyword>const_cast</keyword> + <keyword>inline</keyword> + <keyword>public</keyword> + <keyword>throw</keyword> + <keyword>virtual</keyword> + <keyword>delete</keyword> + <keyword>mutable</keyword> + <keyword>protected</keyword> + <keyword>true</keyword> + <keyword>wchar_t</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/csharp-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/csharp-hl.xml new file mode 100644 index 0000000000..f352ead572 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/csharp-hl.xml @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for C# + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="oneline-comment"> + <start>///</start> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="annotation"> + <!-- annotations are called (custom) "attributes" in .NET --> + <start>[</start> + <end>]</end> + <valueStart>(</valueStart> + <valueEnd>)</valueEnd> + </highlighter> + <highlighter type="oneline-comment"> + <!-- C# supports a couple of directives --> + <start>#</start> + <lineBreakEscape>\</lineBreakEscape> + <style>directive</style> + <solitary/> + </highlighter> + <highlighter type="string"> + <!-- strings starting with an "@" can span multiple lines --> + <string>@"</string> + <endString>"</endString> + <escape>\</escape> + <spanNewLines /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>f</suffix> + <suffix>d</suffix> + <suffix>m</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>abstract</keyword> + <keyword>as</keyword> + <keyword>base</keyword> + <keyword>bool</keyword> + <keyword>break</keyword> + <keyword>byte</keyword> + <keyword>case</keyword> + <keyword>catch</keyword> + <keyword>char</keyword> + <keyword>checked</keyword> + <keyword>class</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>decimal</keyword> + <keyword>default</keyword> + <keyword>delegate</keyword> + <keyword>do</keyword> + <keyword>double</keyword> + <keyword>else</keyword> + <keyword>enum</keyword> + <keyword>event</keyword> + <keyword>explicit</keyword> + <keyword>extern</keyword> + <keyword>false</keyword> + <keyword>finally</keyword> + <keyword>fixed</keyword> + <keyword>float</keyword> + <keyword>for</keyword> + <keyword>foreach</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>implicit</keyword> + <keyword>in</keyword> + <keyword>int</keyword> + <keyword>interface</keyword> + <keyword>internal</keyword> + <keyword>is</keyword> + <keyword>lock</keyword> + <keyword>long</keyword> + <keyword>namespace</keyword> + <keyword>new</keyword> + <keyword>null</keyword> + <keyword>object</keyword> + <keyword>operator</keyword> + <keyword>out</keyword> + <keyword>override</keyword> + <keyword>params</keyword> + <keyword>private</keyword> + <keyword>protected</keyword> + <keyword>public</keyword> + <keyword>readonly</keyword> + <keyword>ref</keyword> + <keyword>return</keyword> + <keyword>sbyte</keyword> + <keyword>sealed</keyword> + <keyword>short</keyword> + <keyword>sizeof</keyword> + <keyword>stackalloc</keyword> + <keyword>static</keyword> + <keyword>string</keyword> + <keyword>struct</keyword> + <keyword>switch</keyword> + <keyword>this</keyword> + <keyword>throw</keyword> + <keyword>true</keyword> + <keyword>try</keyword> + <keyword>typeof</keyword> + <keyword>uint</keyword> + <keyword>ulong</keyword> + <keyword>unchecked</keyword> + <keyword>unsafe</keyword> + <keyword>ushort</keyword> + <keyword>using</keyword> + <keyword>virtual</keyword> + <keyword>void</keyword> + <keyword>volatile</keyword> + <keyword>while</keyword> + </highlighter> + <highlighter type="keywords"> + <!-- special words, not really keywords --> + <keyword>add</keyword> + <keyword>alias</keyword> + <keyword>from</keyword> + <keyword>get</keyword> + <keyword>global</keyword> + <keyword>group</keyword> + <keyword>into</keyword> + <keyword>join</keyword> + <keyword>orderby</keyword> + <keyword>partial</keyword> + <keyword>remove</keyword> + <keyword>select</keyword> + <keyword>set</keyword> + <keyword>value</keyword> + <keyword>where</keyword> + <keyword>yield</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/css21-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/css21-hl.xml new file mode 100644 index 0000000000..2a42b7cfd8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/css21-hl.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for CSS files + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2011-2012 Martin Hujer, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Martin Hujer <mhujer at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +Reference: http://www.w3.org/TR/CSS21/propidx.html + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + <spanNewLines/> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + </highlighter> + <highlighter type="word"> + <word>@charset</word> + <word>@import</word> + <word>@media</word> + <word>@page</word> + <style>directive</style> + </highlighter> + <highlighter type="keywords"> + <partChars>-</partChars> + <keyword>azimuth</keyword> + <keyword>background-attachment</keyword> + <keyword>background-color</keyword> + <keyword>background-image</keyword> + <keyword>background-position</keyword> + <keyword>background-repeat</keyword> + <keyword>background</keyword> + <keyword>border-collapse</keyword> + <keyword>border-color</keyword> + <keyword>border-spacing</keyword> + <keyword>border-style</keyword> + <keyword>border-top</keyword> + <keyword>border-right</keyword> + <keyword>border-bottom</keyword> + <keyword>border-left</keyword> + <keyword>border-top-color</keyword> + <keyword>border-right-color</keyword> + <keyword>border-bottom-color</keyword> + <keyword>border-left-color</keyword> + <keyword>border-top-style</keyword> + <keyword>border-right-style</keyword> + <keyword>border-bottom-style</keyword> + <keyword>border-left-style</keyword> + <keyword>border-top-width</keyword> + <keyword>border-right-width</keyword> + <keyword>border-bottom-width</keyword> + <keyword>border-left-width</keyword> + <keyword>border-width</keyword> + <keyword>border</keyword> + <keyword>bottom</keyword> + <keyword>caption-side</keyword> + <keyword>clear</keyword> + <keyword>clip</keyword> + <keyword>color</keyword> + <keyword>content</keyword> + <keyword>counter-increment</keyword> + <keyword>counter-reset</keyword> + <keyword>cue-after</keyword> + <keyword>cue-before</keyword> + <keyword>cue</keyword> + <keyword>cursor</keyword> + <keyword>direction</keyword> + <keyword>display</keyword> + <keyword>elevation</keyword> + <keyword>empty-cells</keyword> + <keyword>float</keyword> + <keyword>font-family</keyword> + <keyword>font-size</keyword> + <keyword>font-style</keyword> + <keyword>font-variant</keyword> + <keyword>font-weight</keyword> + <keyword>font</keyword> + <keyword>height</keyword> + <keyword>left</keyword> + <keyword>letter-spacing</keyword> + <keyword>line-height</keyword> + <keyword>list-style-image</keyword> + <keyword>list-style-position</keyword> + <keyword>list-style-type</keyword> + <keyword>list-style</keyword> + <keyword>margin-right</keyword> + <keyword>margin-left</keyword> + <keyword>margin-top</keyword> + <keyword>margin-bottom</keyword> + <keyword>margin</keyword> + <keyword>max-height</keyword> + <keyword>max-width</keyword> + <keyword>min-height</keyword> + <keyword>min-width</keyword> + <keyword>orphans</keyword> + <keyword>outline-color</keyword> + <keyword>outline-style</keyword> + <keyword>outline-width</keyword> + <keyword>outline</keyword> + <keyword>overflow</keyword> + <keyword>padding-top</keyword> + <keyword>padding-right</keyword> + <keyword>padding-bottom</keyword> + <keyword>padding-left</keyword> + <keyword>padding</keyword> + <keyword>page-break-after</keyword> + <keyword>page-break-before</keyword> + <keyword>page-break-inside</keyword> + <keyword>pause-after</keyword> + <keyword>pause-before</keyword> + <keyword>pause</keyword> + <keyword>pitch-range</keyword> + <keyword>pitch</keyword> + <keyword>play-during</keyword> + <keyword>position</keyword> + <keyword>quotes</keyword> + <keyword>richness</keyword> + <keyword>right</keyword> + <keyword>speak-header</keyword> + <keyword>speak-numeral</keyword> + <keyword>speak-punctuation</keyword> + <keyword>speak</keyword> + <keyword>speech-rate</keyword> + <keyword>stress</keyword> + <keyword>table-layout</keyword> + <keyword>text-align</keyword> + <keyword>text-decoration</keyword> + <keyword>text-indent</keyword> + <keyword>text-transform</keyword> + <keyword>top</keyword> + <keyword>unicode-bidi</keyword> + <keyword>vertical-align</keyword> + <keyword>visibility</keyword> + <keyword>voice-family</keyword> + <keyword>volume</keyword> + <keyword>white-space</keyword> + <keyword>widows</keyword> + <keyword>width</keyword> + <keyword>word-spacing</keyword> + <keyword>z-index</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/delphi-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/delphi-hl.xml new file mode 100644 index 0000000000..44f3e2959f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/delphi-hl.xml @@ -0,0 +1,220 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Delphi (also suitable for Pascal) + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <!-- multiline comments starting with an $ are directives --> + <start>{$</start> + <end>}</end> + <style>directive</style> + </highlighter> + <highlighter type="multiline-comment"> + <!-- multiline comments starting with an $ are directives --> + <start>(*$</start> + <end>)</end> + <style>directive</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>{</start> + <end>}</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>(*</start> + <end>*)</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="hexnumber"> + <prefix>#$</prefix> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="number"> + <prefix>#</prefix> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="hexnumber"> + <prefix>$</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <!-- Reserved words --> + <keyword>and</keyword> + <keyword>else</keyword> + <keyword>inherited</keyword> + <keyword>packed</keyword> + <keyword>then</keyword> + <keyword>array</keyword> + <keyword>end</keyword> + <keyword>initialization</keyword> + <keyword>procedure</keyword> + <keyword>threadvar</keyword> + <keyword>as</keyword> + <keyword>except</keyword> + <keyword>inline</keyword> + <keyword>program</keyword> + <keyword>to</keyword> + <keyword>asm</keyword> + <keyword>exports</keyword> + <keyword>interface</keyword> + <keyword>property</keyword> + <keyword>try</keyword> + <keyword>begin</keyword> + <keyword>file</keyword> + <keyword>is</keyword> + <keyword>raise</keyword> + <keyword>type</keyword> + <keyword>case</keyword> + <keyword>final</keyword> + <keyword>label</keyword> + <keyword>record</keyword> + <keyword>unit</keyword> + <keyword>class</keyword> + <keyword>finalization</keyword> + <keyword>library</keyword> + <keyword>repeat</keyword> + <keyword>unsafe</keyword> + <keyword>const</keyword> + <keyword>finally</keyword> + <keyword>mod</keyword> + <keyword>resourcestring</keyword> + <keyword>until</keyword> + <keyword>constructor</keyword> + <keyword>for</keyword> + <keyword>nil</keyword> + <keyword>sealed</keyword> + <keyword>uses</keyword> + <keyword>destructor</keyword> + <keyword>function</keyword> + <keyword>not</keyword> + <keyword>set</keyword> + <keyword>var</keyword> + <keyword>dispinterface</keyword> + <keyword>goto</keyword> + <keyword>object</keyword> + <keyword>shl</keyword> + <keyword>while</keyword> + <keyword>div</keyword> + <keyword>if</keyword> + <keyword>of</keyword> + <keyword>shr</keyword> + <keyword>with</keyword> + <keyword>do</keyword> + <keyword>implementation</keyword> + <keyword>or</keyword> + <keyword>static</keyword> + <keyword>xor</keyword> + <keyword>downto</keyword> + <keyword>in</keyword> + <keyword>out</keyword> + <keyword>string</keyword> + <keyword>exit</keyword> + <keyword>break</keyword> + <keyword>continue</keyword> + + <!-- Special meaning --> + <keyword>at</keyword> + <keyword>on</keyword> + + <!-- Directives --> + <keyword>absolute</keyword> + <keyword>dynamic</keyword> + <keyword>local</keyword> + <keyword>platform</keyword> + <keyword>requires</keyword> + <keyword>abstract</keyword> + <keyword>export</keyword> + <keyword>message</keyword> + <keyword>private</keyword> + <keyword>resident</keyword> + <keyword>assembler</keyword> + <keyword>external</keyword> + <keyword>name</keyword> + <keyword>protected</keyword> + <keyword>safecall</keyword> + <keyword>automated</keyword> + <keyword>far</keyword> + <keyword>near</keyword> + <keyword>public</keyword> + <keyword>stdcall</keyword> + <keyword>cdecl</keyword> + <keyword>forward</keyword> + <keyword>nodefault</keyword> + <keyword>published</keyword> + <keyword>stored</keyword> + <keyword>contains</keyword> + <keyword>implements</keyword> + <keyword>overload</keyword> + <keyword>read</keyword> + <keyword>varargs</keyword> + <keyword>default</keyword> + <keyword>index</keyword> + <keyword>override</keyword> + <keyword>readonly</keyword> + <keyword>virtual</keyword> + <keyword>deprecated</keyword> + <keyword>inline</keyword> + <keyword>package</keyword> + <keyword>register</keyword> + <keyword>write</keyword> + <keyword>dispid</keyword> + <keyword>library</keyword> + <keyword>pascal</keyword> + <keyword>reintroduce</keyword> + <keyword>writeonly</keyword> + + <!-- Native pascal types of data --> + <keyword>byte</keyword> + <keyword>shortint</keyword> + <keyword>word</keyword> + <keyword>smallint</keyword> + <keyword>longint</keyword> + <keyword>integer</keyword> + <keyword>cardinal</keyword> + <keyword>char</keyword> + <keyword>real</keyword> + <keyword>double</keyword> + <keyword>single</keyword> + <keyword>extended</keyword> + <keyword>comp</keyword> + <keyword>boolean</keyword> + + <ignoreCase /> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/ini-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/ini-hl.xml new file mode 100644 index 0000000000..8a938f3064 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/ini-hl.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for ini files + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="oneline-comment">;</highlighter> + <highlighter type="regex"> + <!-- ini sections --> + <pattern>^(\[.+\]\s*)$</pattern> + <style>keyword</style> + <flags>MULTILINE</flags> + </highlighter> + <highlighter type="regex"> + <!-- the keys in an ini section --> + <pattern>^(.+)(?==)</pattern> + <style>attribute</style> + <flags>MULTILINE</flags> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/java-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/java-hl.xml new file mode 100644 index 0000000000..672d518b48 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/java-hl.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Java + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="annotation"> + <start>@</start> + <valueStart>(</valueStart> + <valueEnd>)</valueEnd> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <suffix>f</suffix> + <suffix>d</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>abstract</keyword> + <keyword>boolean</keyword> + <keyword>break</keyword> + <keyword>byte</keyword> + <keyword>case</keyword> + <keyword>catch</keyword> + <keyword>char</keyword> + <keyword>class</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>default</keyword> + <keyword>do</keyword> + <keyword>double</keyword> + <keyword>else</keyword> + <keyword>extends</keyword> + <keyword>final</keyword> + <keyword>finally</keyword> + <keyword>float</keyword> + <keyword>for</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>implements</keyword> + <keyword>import</keyword> + <keyword>instanceof</keyword> + <keyword>int</keyword> + <keyword>interface</keyword> + <keyword>long</keyword> + <keyword>native</keyword> + <keyword>new</keyword> + <keyword>package</keyword> + <keyword>private</keyword> + <keyword>protected</keyword> + <keyword>public</keyword> + <keyword>return</keyword> + <keyword>short</keyword> + <keyword>static</keyword> + <keyword>strictfp</keyword> + <keyword>super</keyword> + <keyword>switch</keyword> + <keyword>synchronized</keyword> + <keyword>this</keyword> + <keyword>throw</keyword> + <keyword>throws</keyword> + <keyword>transient</keyword> + <keyword>try</keyword> + <keyword>void</keyword> + <keyword>volatile</keyword> + <keyword>while</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/javascript-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/javascript-hl.xml new file mode 100644 index 0000000000..08c90ba526 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/javascript-hl.xml @@ -0,0 +1,147 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for JavaScript + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>catch</keyword> + <keyword>continue</keyword> + <keyword>default</keyword> + <keyword>delete</keyword> + <keyword>do</keyword> + <keyword>else</keyword> + <keyword>finally</keyword> + <keyword>for</keyword> + <keyword>function</keyword> + <keyword>if</keyword> + <keyword>in</keyword> + <keyword>instanceof</keyword> + <keyword>new</keyword> + <keyword>return</keyword> + <keyword>switch</keyword> + <keyword>this</keyword> + <keyword>throw</keyword> + <keyword>try</keyword> + <keyword>typeof</keyword> + <keyword>var</keyword> + <keyword>void</keyword> + <keyword>while</keyword> + <keyword>with</keyword> + <!-- future keywords --> + <keyword>abstract</keyword> + <keyword>boolean</keyword> + <keyword>byte</keyword> + <keyword>char</keyword> + <keyword>class</keyword> + <keyword>const</keyword> + <keyword>debugger</keyword> + <keyword>double</keyword> + <keyword>enum</keyword> + <keyword>export</keyword> + <keyword>extends</keyword> + <keyword>final</keyword> + <keyword>float</keyword> + <keyword>goto</keyword> + <keyword>implements</keyword> + <keyword>import</keyword> + <keyword>int</keyword> + <keyword>interface</keyword> + <keyword>long</keyword> + <keyword>native</keyword> + <keyword>package</keyword> + <keyword>private</keyword> + <keyword>protected</keyword> + <keyword>public</keyword> + <keyword>short</keyword> + <keyword>static</keyword> + <keyword>super</keyword> + <keyword>synchronized</keyword> + <keyword>throws</keyword> + <keyword>transient</keyword> + <keyword>volatile</keyword> + </highlighter> + <highlighter type="keywords"> + <keyword>prototype</keyword> + <!-- Global Objects --> + <keyword>Array</keyword> + <keyword>Boolean</keyword> + <keyword>Date</keyword> + <keyword>Error</keyword> + <keyword>EvalError</keyword> + <keyword>Function</keyword> + <keyword>Math</keyword> + <keyword>Number</keyword> + <keyword>Object</keyword> + <keyword>RangeError</keyword> + <keyword>ReferenceError</keyword> + <keyword>RegExp</keyword> + <keyword>String</keyword> + <keyword>SyntaxError</keyword> + <keyword>TypeError</keyword> + <keyword>URIError</keyword> + <!-- Global functions --> + <keyword>decodeURI</keyword> + <keyword>decodeURIComponent</keyword> + <keyword>encodeURI</keyword> + <keyword>encodeURIComponent</keyword> + <keyword>eval</keyword> + <keyword>isFinite</keyword> + <keyword>isNaN</keyword> + <keyword>parseFloat</keyword> + <keyword>parseInt</keyword> + <!-- Global properties --> + <keyword>Infinity</keyword> + <keyword>NaN</keyword> + <keyword>undefined</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/lua-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/lua-hl.xml new file mode 100644 index 0000000000..525fba9f9f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/lua-hl.xml @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Lua 5.1 and 5.2 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Patrick Rapin + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + + If you want to send an e-mail to Patrick Rapin, please execute the + following decrypting script in Lua 5.1 or 5.2: + print(('oc mia.l@kmgrtci.naparip'):gsub('(..)(..)','%2%1'):reverse()) +--> + +<highlighters> + <highlighter type="keywords"> + <keyword>and</keyword> + <keyword>break</keyword> + <keyword>do</keyword> + <keyword>else</keyword> + <keyword>elseif</keyword> + <keyword>end</keyword> + <keyword>false</keyword> + <keyword>for</keyword> + <keyword>function</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>in</keyword> + <keyword>local</keyword> + <keyword>nil</keyword> + <keyword>not</keyword> + <keyword>or</keyword> + <keyword>repeat</keyword> + <keyword>return</keyword> + <keyword>then</keyword> + <keyword>true</keyword> + <keyword>until</keyword> + <keyword>while</keyword> + </highlighter> + + <!-- Multiline comments can have any number of equal signs + between brackets. Let's support up to 4 --> + <highlighter type="multiline-comment"> + <start>--[[</start> + <end>]]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[=[</start> + <end>]=]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[==[</start> + <end>]==]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[===[</start> + <end>]===]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[====[</start> + <end>]====]</end> + </highlighter> + + <highlighter type="oneline-comment"> + -- + </highlighter> + + <highlighter type="string"> + <string>"</string> + <endString>"</endString> + <escape>\</escape> + <spanNewLines/> + </highlighter> + + <highlighter type="string"> + <string>'</string> + <endString>'</endString> + <escape>\</escape> + <spanNewLines/> + </highlighter> + + <!-- Long strings can also have any number of equal signs. --> + <highlighter type="string"> + <string>[[</string> + <endString>]]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[=[</string> + <endString>]=]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[==[</string> + <endString>]==]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[===[</string> + <endString>]===]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[====[</string> + <endString>]====]</endString> + <spanNewLines/> + </highlighter> + + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <point>.</point> + <pointStarts /> + <exponent>p</exponent> + <ignoreCase /> + </highlighter> + +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/m2-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/m2-hl.xml new file mode 100644 index 0000000000..b145f74443 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/m2-hl.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Modulo-2 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="nested-multiline-comment"> + <start>(*</start> + <end>*)</end> + </highlighter> + <highlighter type="string"> + <string>"</string> + </highlighter> + <highlighter type="string"> + <string>'</string> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>and</keyword> + <keyword>array</keyword> + <keyword>begin</keyword> + <keyword>by</keyword> + <keyword>case</keyword> + <keyword>const</keyword> + <keyword>definition</keyword> + <keyword>div</keyword> + <keyword>do</keyword> + <keyword>else</keyword> + <keyword>elsif</keyword> + <keyword>end</keyword> + <keyword>exit</keyword> + <keyword>export</keyword> + <keyword>for</keyword> + <keyword>from</keyword> + <keyword>if</keyword> + <keyword>implementation</keyword> + <keyword>import</keyword> + <keyword>in</keyword> + <keyword>loop</keyword> + <keyword>mod</keyword> + <keyword>module</keyword> + <keyword>not</keyword> + <keyword>of</keyword> + <keyword>or</keyword> + <keyword>pointer</keyword> + <keyword>procedure</keyword> + <keyword>qualified</keyword> + <keyword>record</keyword> + <keyword>repeat</keyword> + <keyword>return</keyword> + <keyword>set</keyword> + <keyword>then</keyword> + <keyword>to</keyword> + <keyword>type</keyword> + <keyword>until</keyword> + <keyword>var</keyword> + <keyword>while</keyword> + <keyword>with</keyword> + <ignoreCase /> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/myxml-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/myxml-hl.xml new file mode 100644 index 0000000000..afa4be712e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/myxml-hl.xml @@ -0,0 +1,116 @@ +<?xml version='1.0'?> +<!-- + + Bakalarska prace: Zvyraznovani syntaxe v XSLT + Michal Molhanec 2005 + + myxml-hl.xml - konfigurace zvyraznovace XML, ktera zvlast zvyrazni + HTML elementy a XSL elementy + +--> +<highlighters> + +<wholehighlighter type='xml'> + <elementSet> + <style>html</style> + <element>A</element> + <element>ABBR</element> + <element>ACRONYM</element> + <element>ADDRESS</element> + <element>APPLET</element> + <element>AREA</element> + <element>B</element> + <element>BASE</element> + <element>BASEFONT</element> + <element>BDO</element> + <element>BIG</element> + <element>BLOCKQUOTE</element> + <element>BODY</element> + <element>BR</element> + <element>BUTTON</element> + <element>CAPTION</element> + <element>CENTER</element> + <element>CITE</element> + <element>CODE</element> + <element>COL</element> + <element>COLGROUP</element> + <element>DD</element> + <element>DEL</element> + <element>DFN</element> + <element>DIR</element> + <element>DIV</element> + <element>DL</element> + <element>DT</element> + <element>EM</element> + <element>FIELDSET</element> + <element>FONT</element> + <element>FORM</element> + <element>FRAME</element> + <element>FRAMESET</element> + <element>H1</element> + <element>H2</element> + <element>H3</element> + <element>H4</element> + <element>H5</element> + <element>H6</element> + <element>HEAD</element> + <element>HR</element> + <element>HTML</element> + <element>I</element> + <element>IFRAME</element> + <element>IMG</element> + <element>INPUT</element> + <element>INS</element> + <element>ISINDEX</element> + <element>KBD</element> + <element>LABEL</element> + <element>LEGEND</element> + <element>LI</element> + <element>LINK</element> + <element>MAP</element> + <element>MENU</element> + <element>META</element> + <element>NOFRAMES</element> + <element>NOSCRIPT</element> + <element>OBJECT</element> + <element>OL</element> + <element>OPTGROUP</element> + <element>OPTION</element> + <element>P</element> + <element>PARAM</element> + <element>PRE</element> + <element>Q</element> + <element>S</element> + <element>SAMP</element> + <element>SCRIPT</element> + <element>SELECT</element> + <element>SMALL</element> + <element>SPAN</element> + <element>STRIKE</element> + <element>STRONG</element> + <element>STYLE</element> + <element>SUB</element> + <element>SUP</element> + <element>TABLE</element> + <element>TBODY</element> + <element>TD</element> + <element>TEXTAREA</element> + <element>TFOOT</element> + <element>TH</element> + <element>THEAD</element> + <element>TITLE</element> + <element>TR</element> + <element>TT</element> + <element>U</element> + <element>UL</element> + <element>VAR</element> + <element>XMP</element> + <ignoreCase/> + </elementSet> + <elementPrefix> + <style>xslt</style> + <prefix>xsl:</prefix> + </elementPrefix> +</wholehighlighter> + +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/perl-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/perl-hl.xml new file mode 100644 index 0000000000..da1924aebd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/perl-hl.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Perl + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="heredoc"> + <start><<</start> + <quote>'</quote> + <quote>"</quote> + <noWhiteSpace/> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + <spanNewLines/> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>if</keyword> + <keyword>unless</keyword> + <keyword>while</keyword> + <keyword>until</keyword> + <keyword>foreach</keyword> + <keyword>else</keyword> + <keyword>elsif</keyword> + <keyword>for</keyword> + <keyword>when</keyword> + <keyword>default</keyword> + <keyword>given</keyword> + <!-- Keywords related to the control flow of your perl program --> + <keyword>caller</keyword> + <keyword>continue</keyword> + <keyword>die</keyword> + <keyword>do</keyword> + <keyword>dump</keyword> + <keyword>eval</keyword> + <keyword>exit</keyword> + <keyword>goto</keyword> + <keyword>last</keyword> + <keyword>next</keyword> + <keyword>redo</keyword> + <keyword>return</keyword> + <keyword>sub</keyword> + <keyword>wantarray</keyword> + <!-- Keywords related to scoping --> + <keyword>caller</keyword> + <keyword>import</keyword> + <keyword>local</keyword> + <keyword>my</keyword> + <keyword>package</keyword> + <keyword>use</keyword> + <!-- Keywords related to perl modules --> + <keyword>do</keyword> + <keyword>import</keyword> + <keyword>no</keyword> + <keyword>package</keyword> + <keyword>require</keyword> + <keyword>use</keyword> + <!-- Keywords related to classes and object-orientedness --> + <keyword>bless</keyword> + <keyword>dbmclose</keyword> + <keyword>dbmopen</keyword> + <keyword>package</keyword> + <keyword>ref</keyword> + <keyword>tie</keyword> + <keyword>tied</keyword> + <keyword>untie</keyword> + <keyword>use</keyword> + <!-- operators --> + <keyword>and</keyword> + <keyword>or</keyword> + <keyword>not</keyword> + <keyword>eq</keyword> + <keyword>ne</keyword> + <keyword>lt</keyword> + <keyword>gt</keyword> + <keyword>le</keyword> + <keyword>ge</keyword> + <keyword>cmp</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/php-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/php-hl.xml new file mode 100644 index 0000000000..73f926ce8b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/php-hl.xml @@ -0,0 +1,154 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for PHP + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="oneline-comment"> + <start><![CDATA[/// ]]></start> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + <spanNewLines /> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + <spanNewLines /> + </highlighter> + <highlighter type="heredoc"> + <start><<<</start> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>and</keyword> + <keyword>or</keyword> + <keyword>xor</keyword> + <keyword>__FILE__</keyword> + <keyword>exception</keyword> + <keyword>__LINE__</keyword> + <keyword>array</keyword> + <keyword>as</keyword> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>class</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>declare</keyword> + <keyword>default</keyword> + <keyword>die</keyword> + <keyword>do</keyword> + <keyword>echo</keyword> + <keyword>else</keyword> + <keyword>elseif</keyword> + <keyword>empty</keyword> + <keyword>enddeclare</keyword> + <keyword>endfor</keyword> + <keyword>endforeach</keyword> + <keyword>endif</keyword> + <keyword>endswitch</keyword> + <keyword>endwhile</keyword> + <keyword>eval</keyword> + <keyword>exit</keyword> + <keyword>extends</keyword> + <keyword>for</keyword> + <keyword>foreach</keyword> + <keyword>function</keyword> + <keyword>global</keyword> + <keyword>if</keyword> + <keyword>include</keyword> + <keyword>include_once</keyword> + <keyword>isset</keyword> + <keyword>list</keyword> + <keyword>new</keyword> + <keyword>print</keyword> + <keyword>require</keyword> + <keyword>require_once</keyword> + <keyword>return</keyword> + <keyword>static</keyword> + <keyword>switch</keyword> + <keyword>unset</keyword> + <keyword>use</keyword> + <keyword>var</keyword> + <keyword>while</keyword> + <keyword>__FUNCTION__</keyword> + <keyword>__CLASS__</keyword> + <keyword>__METHOD__</keyword> + <keyword>final</keyword> + <keyword>php_user_filter</keyword> + <keyword>interface</keyword> + <keyword>implements</keyword> + <keyword>extends</keyword> + <keyword>public</keyword> + <keyword>private</keyword> + <keyword>protected</keyword> + <keyword>abstract</keyword> + <keyword>clone</keyword> + <keyword>try</keyword> + <keyword>catch</keyword> + <keyword>throw</keyword> + <keyword>cfunction</keyword> + <keyword>old_function</keyword> + <keyword>true</keyword> + <keyword>false</keyword> + <!-- PHP 5.3 --> + <keyword>namespace</keyword> + <keyword>__NAMESPACE__</keyword> + <keyword>goto</keyword> + <keyword>__DIR__</keyword> + <ignoreCase /> + </highlighter> + <highlighter type="word"> + <!-- highlight the php open and close tags as directives --> + <word>?></word> + <word><?php</word> + <word><?=</word> + <style>directive</style> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/python-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/python-hl.xml new file mode 100644 index 0000000000..791bc7a0eb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/python-hl.xml @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Python + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="annotation"> + <!-- these are actually called decorators --> + <start>@</start> + <valueStart>(</valueStart> + <valueEnd>)</valueEnd> + </highlighter> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="string"> + <string>"""</string> + <spanNewLines /> + </highlighter> + <highlighter type="string"> + <string>'''</string> + <spanNewLines /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>and</keyword> + <keyword>del</keyword> + <keyword>from</keyword> + <keyword>not</keyword> + <keyword>while</keyword> + <keyword>as</keyword> + <keyword>elif</keyword> + <keyword>global</keyword> + <keyword>or</keyword> + <keyword>with</keyword> + <keyword>assert</keyword> + <keyword>else</keyword> + <keyword>if</keyword> + <keyword>pass</keyword> + <keyword>yield</keyword> + <keyword>break</keyword> + <keyword>except</keyword> + <keyword>import</keyword> + <keyword>print</keyword> + <keyword>class</keyword> + <keyword>exec</keyword> + <keyword>in</keyword> + <keyword>raise</keyword> + <keyword>continue</keyword> + <keyword>finally</keyword> + <keyword>is</keyword> + <keyword>return</keyword> + <keyword>def</keyword> + <keyword>for</keyword> + <keyword>lambda</keyword> + <keyword>try</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/ruby-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/ruby-hl.xml new file mode 100644 index 0000000000..78189b0ad0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/ruby-hl.xml @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Ruby + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="heredoc"> + <start><<</start> + <noWhiteSpace/> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>%Q{</string> + <endString>}</endString> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>%/</string> + <endString>/</endString> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>%q{</string> + <endString>}</endString> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>alias</keyword> + <keyword>and</keyword> + <keyword>BEGIN</keyword> + <keyword>begin</keyword> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>class</keyword> + <keyword>def</keyword> + <keyword>defined</keyword> + <keyword>do</keyword> + <keyword>else</keyword> + <keyword>elsif</keyword> + <keyword>END</keyword> + <keyword>end</keyword> + <keyword>ensure</keyword> + <keyword>false</keyword> + <keyword>for</keyword> + <keyword>if</keyword> + <keyword>in</keyword> + <keyword>module</keyword> + <keyword>next</keyword> + <keyword>nil</keyword> + <keyword>not</keyword> + <keyword>or</keyword> + <keyword>redo</keyword> + <keyword>rescue</keyword> + <keyword>retry</keyword> + <keyword>return</keyword> + <keyword>self</keyword> + <keyword>super</keyword> + <keyword>then</keyword> + <keyword>true</keyword> + <keyword>undef</keyword> + <keyword>unless</keyword> + <keyword>until</keyword> + <keyword>when</keyword> + <keyword>while</keyword> + <keyword>yield</keyword> + </highlighter> +</highlighters> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/sql1999-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql1999-hl.xml new file mode 100644 index 0000000000..61b2411bce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql1999-hl.xml @@ -0,0 +1,496 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL:1999 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADD</keyword> + <keyword>AFTER</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>ARRAY</keyword> + <keyword>AS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>AT</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>BEFORE</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BINARY</keyword> + <keyword>BIT</keyword> + <keyword>BLOB</keyword> + <keyword>BOOLEAN</keyword> + <keyword>BOTH</keyword> + <keyword>BREADTH</keyword> + <keyword>BY</keyword> + <keyword>CALL</keyword> + <keyword>CASCADE</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CATALOG</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOB</keyword> + <keyword>CLOSE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLLATION</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONDITION</keyword> + <keyword>CONNECT</keyword> + <keyword>CONNECTION</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONSTRUCTOR</keyword> + <keyword>CONTINUE</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CUBE</keyword> + <keyword>CURRENT</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_DEFAULT_TRANSFORM_GROUP</keyword> + <keyword>CURRENT_TRANSFORM_GROUP_FOR_TYPE</keyword> + <keyword>CURRENT_PATH</keyword> + <keyword>CURRENT_ROLE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURSOR</keyword> + <keyword>CYCLE</keyword> + <keyword>DATA</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DELETE</keyword> + <keyword>DEPTH</keyword> + <keyword>DEREF</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DETERMINISTIC</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DO</keyword> + <keyword>DOMAIN</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>DYNAMIC</keyword> + <keyword>EACH</keyword> + <keyword>ELSE</keyword> + <keyword>ELSEIF</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>EQUALS</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXIT</keyword> + <keyword>EXTERNAL</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FIRST</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FOUND</keyword> + <keyword>FROM</keyword> + <keyword>FREE</keyword> + <keyword>FULL</keyword> + <keyword>FUNCTION</keyword> + <keyword>GENERAL</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>GROUPING</keyword> + <keyword>HANDLE</keyword> + <keyword>HAVING</keyword> + <keyword>HOLD</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IF</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INITIALLY</keyword> + <keyword>INNER</keyword> + <keyword>INOUT</keyword> + <keyword>INPUT</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>KEY</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LARGE</keyword> + <keyword>LAST</keyword> + <keyword>LATERAL</keyword> + <keyword>LEADING</keyword> + <keyword>LEAVE</keyword> + <keyword>LEFT</keyword> + <keyword>LEVEL</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOCALTIME</keyword> + <keyword>LOCALTIMESTAMP</keyword> + <keyword>LOCATOR</keyword> + <keyword>LOOP</keyword> + <keyword>MAP</keyword> + <keyword>MATCH</keyword> + <keyword>METHOD</keyword> + <keyword>MINUTE</keyword> + <keyword>MODIFIES</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>NAMES</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NCLOB</keyword> + <keyword>NESTING</keyword> + <keyword>NEW</keyword> + <keyword>NEXT</keyword> + <keyword>NO</keyword> + <keyword>NONE</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NUMERIC</keyword> + <keyword>OBJECT</keyword> + <keyword>OF</keyword> + <keyword>OLD</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OPTION</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>ORDINALITY</keyword> + <keyword>OUT</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PAD</keyword> + <keyword>PARAMETER</keyword> + <keyword>PARTIAL</keyword> + <keyword>PATH</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PROCEDURE</keyword> + <keyword>PUBLIC</keyword> + <keyword>READ</keyword> + <keyword>READS</keyword> + <keyword>REAL</keyword> + <keyword>RECURSIVE</keyword> + <keyword>REDO</keyword> + <keyword>REF</keyword> + <keyword>REFERENCES</keyword> + <keyword>REFERENCING</keyword> + <keyword>RELATIVE</keyword> + <keyword>RELEASE</keyword> + <keyword>REPEAT</keyword> + <keyword>RESIGNAL</keyword> + <keyword>RESTRICT</keyword> + <keyword>RESULT</keyword> + <keyword>RETURN</keyword> + <keyword>RETURNS</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLE</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROLLUP</keyword> + <keyword>ROUTINE</keyword> + <keyword>ROW</keyword> + <keyword>ROWS</keyword> + <keyword>SAVEPOINT</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCROLL</keyword> + <keyword>SEARCH</keyword> + <keyword>SECOND</keyword> + <keyword>SECTION</keyword> + <keyword>SELECT</keyword> + <keyword>SESSION</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SET</keyword> + <keyword>SETS</keyword> + <keyword>SIGNAL</keyword> + <keyword>SIMILAR</keyword> + <keyword>SIZE</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPACE</keyword> + <keyword>SPECIFIC</keyword> + <keyword>SPECIFICTYPE</keyword> + <keyword>SQL</keyword> + <keyword>SQLEXCEPTION</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SQLWARNING</keyword> + <keyword>START</keyword> + <keyword>STATE</keyword> + <keyword>STATIC</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>TABLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TREAT</keyword> + <keyword>TRIGGER</keyword> + <keyword>TRUE</keyword> + <keyword>UNDER</keyword> + <keyword>UNDO</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UNNEST</keyword> + <keyword>UNTIL</keyword> + <keyword>UPDATE</keyword> + <keyword>USAGE</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>VIEW</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WHILE</keyword> + <keyword>WITH</keyword> + <keyword>WITHOUT</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>YEAR</keyword> + <keyword>ZONE</keyword> + <!-- non reserved --> + <keyword>ABS</keyword> + <keyword>ADA</keyword> + <keyword>ADMIN</keyword> + <keyword>ASENSITIVE</keyword> + <keyword>ASSIGNMENT</keyword> + <keyword>ASYMMETRIC</keyword> + <keyword>ATOMIC</keyword> + <keyword>ATTRIBUTE</keyword> + <keyword>AVG</keyword> + <keyword>BIT_LENGTH</keyword> + <keyword>C</keyword> + <keyword>CALLED</keyword> + <keyword>CARDINALITY</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CHAIN</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHARACTERISTICS</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CHECKED</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COALESCE</keyword> + <keyword>COBOL</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMAND_FUNCTION_CODE</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_IDENTIFIER</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CONTAINS</keyword> + <keyword>CONVERT</keyword> + <keyword>COUNT</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DEFINED</keyword> + <keyword>DEFINER</keyword> + <keyword>DEGREE</keyword> + <keyword>DERIVED</keyword> + <keyword>DISPATCH</keyword> + <keyword>EVERY</keyword> + <keyword>EXTRACT</keyword> + <keyword>FINAL</keyword> + <keyword>FORTRAN</keyword> + <keyword>G</keyword> + <keyword>GENERATED</keyword> + <keyword>GRANTED</keyword> + <keyword>HIERARCHY</keyword> + <keyword>IMPLEMENTATION</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSTANCE</keyword> + <keyword>INSTANTIABLE</keyword> + <keyword>INVOKER</keyword> + <keyword>K</keyword> + <keyword>KEY_MEMBER</keyword> + <keyword>KEY_TYPE</keyword> + <keyword>LENGTH</keyword> + <keyword>LOWER</keyword> + <keyword>M</keyword> + <keyword>MAX</keyword> + <keyword>MIN</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MOD</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NULLABLE</keyword> + <keyword>NUMBER</keyword> + <keyword>NULLIF</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>ORDERING</keyword> + <keyword>OPTIONS</keyword> + <keyword>OVERLAY</keyword> + <keyword>OVERRIDING</keyword> + <keyword>PASCAL</keyword> + <keyword>PARAMETER_MODE</keyword> + <keyword>PARAMETER_NAME</keyword> + <keyword>PARAMETER_ORDINAL_POSITION</keyword> + <keyword>PARAMETER_SPECIFIC_CATALOG</keyword> + <keyword>PARAMETER_SPECIFIC_NAME</keyword> + <keyword>PARAMETER_SPECIFIC_SCHEMA</keyword> + <keyword>PLI</keyword> + <keyword>POSITION</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RETURNED_CARDINALITY</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROUTINE_CATALOG</keyword> + <keyword>ROUTINE_NAME</keyword> + <keyword>ROUTINE_SCHEMA</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SCOPE</keyword> + <keyword>SECURITY</keyword> + <keyword>SELF</keyword> + <keyword>SENSITIVE</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SIMPLE</keyword> + <keyword>SOURCE</keyword> + <keyword>SPECIFIC_NAME</keyword> + <keyword>STATEMENT</keyword> + <keyword>STRUCTURE</keyword> + <keyword>STYLE</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>SYMMETRIC</keyword> + <keyword>SYSTEM</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TOP_LEVEL_COUNT</keyword> + <keyword>TRANSACTIONS_COMMITTED</keyword> + <keyword>TRANSACTIONS_ROLLED_BACK</keyword> + <keyword>TRANSACTION_ACTIVE</keyword> + <keyword>TRANSFORM</keyword> + <keyword>TRANSFORMS</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRIGGER_CATALOG</keyword> + <keyword>TRIGGER_SCHEMA</keyword> + <keyword>TRIGGER_NAME</keyword> + <keyword>TRIM</keyword> + <keyword>TYPE</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNNAMED</keyword> + <keyword>UPPER</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/sql2003-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql2003-hl.xml new file mode 100644 index 0000000000..ac1d5d048b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql2003-hl.xml @@ -0,0 +1,565 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL:1999 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>U'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>A</keyword> + <keyword>ABS</keyword> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADA</keyword> + <keyword>ADMIN</keyword> + <keyword>AFTER</keyword> + <keyword>ALWAYS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>ASSIGNMENT</keyword> + <keyword>ATTRIBUTE</keyword> + <keyword>ATTRIBUTES</keyword> + <keyword>AVG</keyword> + <keyword>BEFORE</keyword> + <keyword>BERNOULLI</keyword> + <keyword>BREADTH</keyword> + <keyword>C</keyword> + <keyword>CARDINALITY</keyword> + <keyword>CASCADE</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CATALOG</keyword> + <keyword>CEIL</keyword> + <keyword>CEILING</keyword> + <keyword>CHAIN</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CHARACTERISTICS</keyword> + <keyword>CHARACTERS</keyword> + <keyword>CHECKED</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COALESCE</keyword> + <keyword>COBOL</keyword> + <keyword>CODE_UNITS</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLLATION</keyword> + <keyword>COLLECT</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION_CODE</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONDITION</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONSTRUCTORS</keyword> + <keyword>CONTAINS</keyword> + <keyword>CONVERT</keyword> + <keyword>CORR</keyword> + <keyword>COUNT</keyword> + <keyword>COVAR_POP</keyword> + <keyword>COVAR_SAMP</keyword> + <keyword>CUME_DIST</keyword> + <keyword>CURRENT_COLLATION</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATA</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DEFAULTS</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DEFINED</keyword> + <keyword>DEFINER</keyword> + <keyword>DEGREE</keyword> + <keyword>DENSE_RANK</keyword> + <keyword>DEPTH</keyword> + <keyword>DERIVED</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISPATCH</keyword> + <keyword>DOMAIN</keyword> + <keyword>DYNAMIC_FUNCTION_CODE</keyword> + <keyword>DYNAMIC_FUNCTION</keyword> + <keyword>EQUALS</keyword> + <keyword>EVERY</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXCLUDE</keyword> + <keyword>EXCLUDING</keyword> + <keyword>EXP</keyword> + <keyword>EXTRACT</keyword> + <keyword>FINAL</keyword> + <keyword>FIRST</keyword> + <keyword>FLOOR</keyword> + <keyword>FOLLOWING</keyword> + <keyword>FORTRAN</keyword> + <keyword>FOUND</keyword> + <keyword>FUSION</keyword> + <keyword>G</keyword> + <keyword>GENERAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANTED</keyword> + <keyword>HIERARCHY</keyword> + <keyword>IMPLEMENTATION</keyword> + <keyword>INCLUDING</keyword> + <keyword>INCREMENT</keyword> + <keyword>INITIALLY</keyword> + <keyword>INSTANCE</keyword> + <keyword>INSTANTIABLE</keyword> + <keyword>INTERSECTION</keyword> + <keyword>INVOKER</keyword> + <keyword>ISOLATION</keyword> + <keyword>K</keyword> + <keyword>KEY_MEMBER</keyword> + <keyword>KEY_TYPE</keyword> + <keyword>KEY</keyword> + <keyword>LAST</keyword> + <keyword>LENGTH</keyword> + <keyword>LEVEL</keyword> + <keyword>LN</keyword> + <keyword>LOCATOR</keyword> + <keyword>LOWER</keyword> + <keyword>M</keyword> + <keyword>MAP</keyword> + <keyword>MATCHED</keyword> + <keyword>MAX</keyword> + <keyword>MAXVALUE</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MIN</keyword> + <keyword>MINVALUE</keyword> + <keyword>MOD</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NAMES</keyword> + <keyword>NESTING</keyword> + <keyword>NEXT</keyword> + <keyword>NORMALIZE</keyword> + <keyword>NORMALIZED</keyword> + <keyword>NULLABLE</keyword> + <keyword>NULLIF</keyword> + <keyword>NULLS</keyword> + <keyword>NUMBER</keyword> + <keyword>OBJECT</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>OCTETS</keyword> + <keyword>OPTION</keyword> + <keyword>OPTIONS</keyword> + <keyword>ORDERING</keyword> + <keyword>ORDINALITY</keyword> + <keyword>OTHERS</keyword> + <keyword>OVERLAY</keyword> + <keyword>OVERRIDING</keyword> + <keyword>PAD</keyword> + <keyword>PARAMETER_MODE</keyword> + <keyword>PARAMETER_NAME</keyword> + <keyword>PARAMETER_ORDINAL_POSITION</keyword> + <keyword>PARAMETER_SPECIFIC_CATALOG</keyword> + <keyword>PARAMETER_SPECIFIC_NAME</keyword> + <keyword>PARAMETER_SPECIFIC_SCHEMA</keyword> + <keyword>PARTIAL</keyword> + <keyword>PASCAL</keyword> + <keyword>PATH</keyword> + <keyword>PERCENT_RANK</keyword> + <keyword>PERCENTILE_CONT</keyword> + <keyword>PERCENTILE_DISC</keyword> + <keyword>PLACING</keyword> + <keyword>PLI</keyword> + <keyword>POSITION</keyword> + <keyword>POWER</keyword> + <keyword>PRECEDING</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PUBLIC</keyword> + <keyword>RANK</keyword> + <keyword>READ</keyword> + <keyword>RELATIVE</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RESTART</keyword> + <keyword>RETURNED_CARDINALITY</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROLE</keyword> + <keyword>ROUTINE_CATALOG</keyword> + <keyword>ROUTINE_NAME</keyword> + <keyword>ROUTINE_SCHEMA</keyword> + <keyword>ROUTINE</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>ROW_NUMBER</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCOPE_CATALOG</keyword> + <keyword>SCOPE_NAME</keyword> + <keyword>SCOPE_SCHEMA</keyword> + <keyword>SECTION</keyword> + <keyword>SECURITY</keyword> + <keyword>SELF</keyword> + <keyword>SEQUENCE</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SESSION</keyword> + <keyword>SETS</keyword> + <keyword>SIMPLE</keyword> + <keyword>SIZE</keyword> + <keyword>SOURCE</keyword> + <keyword>SPACE</keyword> + <keyword>SPECIFIC_NAME</keyword> + <keyword>SQRT</keyword> + <keyword>STATE</keyword> + <keyword>STATEMENT</keyword> + <keyword>STDDEV_POP</keyword> + <keyword>STDDEV_SAMP</keyword> + <keyword>STRUCTURE</keyword> + <keyword>STYLE</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TABLESAMPLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>TIES</keyword> + <keyword>TOP_LEVEL_COUNT</keyword> + <keyword>TRANSACTION_ACTIVE</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSACTIONS_COMMITTED</keyword> + <keyword>TRANSACTIONS_ROLLED_BACK</keyword> + <keyword>TRANSFORM</keyword> + <keyword>TRANSFORMS</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRIGGER_CATALOG</keyword> + <keyword>TRIGGER_NAME</keyword> + <keyword>TRIGGER_SCHEMA</keyword> + <keyword>TRIM</keyword> + <keyword>TYPE</keyword> + <keyword>UNBOUNDED</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNDER</keyword> + <keyword>UNNAMED</keyword> + <keyword>USAGE</keyword> + <keyword>USER_DEFINED_TYPE_CATALOG</keyword> + <keyword>USER_DEFINED_TYPE_CODE</keyword> + <keyword>USER_DEFINED_TYPE_NAME</keyword> + <keyword>USER_DEFINED_TYPE_SCHEMA</keyword> + <keyword>VIEW</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>ZONE</keyword> + <!-- non reserved --> + <keyword>ADD</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>ARRAY</keyword> + <keyword>AS</keyword> + <keyword>ASENSITIVE</keyword> + <keyword>ASYMMETRIC</keyword> + <keyword>AT</keyword> + <keyword>ATOMIC</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BIGINT</keyword> + <keyword>BINARY</keyword> + <keyword>BLOB</keyword> + <keyword>BOOLEAN</keyword> + <keyword>BOTH</keyword> + <keyword>BY</keyword> + <keyword>CALL</keyword> + <keyword>CALLED</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOB</keyword> + <keyword>CLOSE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONNECT</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONTINUE</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CUBE</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_DEFAULT_TRANSFORM_GROUP</keyword> + <keyword>CURRENT_PATH</keyword> + <keyword>CURRENT_ROLE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_TRANSFORM_GROUP_FOR_TYPE</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURRENT</keyword> + <keyword>CURSOR</keyword> + <keyword>CYCLE</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DELETE</keyword> + <keyword>DEREF</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DETERMINISTIC</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>DYNAMIC</keyword> + <keyword>EACH</keyword> + <keyword>ELEMENT</keyword> + <keyword>ELSE</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXTERNAL</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FILTER</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FREE</keyword> + <keyword>FROM</keyword> + <keyword>FULL</keyword> + <keyword>FUNCTION</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>GROUPING</keyword> + <keyword>HAVING</keyword> + <keyword>HOLD</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INNER</keyword> + <keyword>INOUT</keyword> + <keyword>INPUT</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LARGE</keyword> + <keyword>LATERAL</keyword> + <keyword>LEADING</keyword> + <keyword>LEFT</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOCALTIME</keyword> + <keyword>LOCALTIMESTAMP</keyword> + <keyword>MATCH</keyword> + <keyword>MEMBER</keyword> + <keyword>MERGE</keyword> + <keyword>METHOD</keyword> + <keyword>MINUTE</keyword> + <keyword>MODIFIES</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>MULTISET</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NCLOB</keyword> + <keyword>NEW</keyword> + <keyword>NO</keyword> + <keyword>NONE</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NUMERIC</keyword> + <keyword>OF</keyword> + <keyword>OLD</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>OUT</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVER</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PARAMETER</keyword> + <keyword>PARTITION</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PROCEDURE</keyword> + <keyword>RANGE</keyword> + <keyword>READS</keyword> + <keyword>REAL</keyword> + <keyword>RECURSIVE</keyword> + <keyword>REF</keyword> + <keyword>REFERENCES</keyword> + <keyword>REFERENCING</keyword> + <keyword>REGR_AVGX</keyword> + <keyword>REGR_AVGY</keyword> + <keyword>REGR_COUNT</keyword> + <keyword>REGR_INTERCEPT</keyword> + <keyword>REGR_R2</keyword> + <keyword>REGR_SLOPE</keyword> + <keyword>REGR_SXX</keyword> + <keyword>REGR_SXY</keyword> + <keyword>REGR_SYY</keyword> + <keyword>RELEASE</keyword> + <keyword>RESULT</keyword> + <keyword>RETURN</keyword> + <keyword>RETURNS</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROLLUP</keyword> + <keyword>ROW</keyword> + <keyword>ROWS</keyword> + <keyword>SAVEPOINT</keyword> + <keyword>SCROLL</keyword> + <keyword>SEARCH</keyword> + <keyword>SECOND</keyword> + <keyword>SELECT</keyword> + <keyword>SENSITIVE</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SET</keyword> + <keyword>SIMILAR</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPECIFIC</keyword> + <keyword>SPECIFICTYPE</keyword> + <keyword>SQL</keyword> + <keyword>SQLEXCEPTION</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SQLWARNING</keyword> + <keyword>START</keyword> + <keyword>STATIC</keyword> + <keyword>SUBMULTISET</keyword> + <keyword>SYMMETRIC</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>SYSTEM</keyword> + <keyword>TABLE</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TREAT</keyword> + <keyword>TRIGGER</keyword> + <keyword>TRUE</keyword> + <keyword>UESCAPE</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UNNEST</keyword> + <keyword>UPDATE</keyword> + <keyword>UPPER</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VAR_POP</keyword> + <keyword>VAR_SAMP</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WIDTH_BUCKET</keyword> + <keyword>WINDOW</keyword> + <keyword>WITH</keyword> + <keyword>WITHIN</keyword> + <keyword>WITHOUT</keyword> + <keyword>YEAR</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/sql92-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql92-hl.xml new file mode 100644 index 0000000000..111c519f3f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/sql92-hl.xml @@ -0,0 +1,339 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL-92 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADD</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>AS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>AT</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>AVG</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BIT_LENGTH</keyword> + <keyword>BIT</keyword> + <keyword>BOTH</keyword> + <keyword>BY</keyword> + <keyword>CASCADE</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CATALOG</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOSE</keyword> + <keyword>COALESCE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLLATION</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONNECT</keyword> + <keyword>CONNECTION</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONTINUE</keyword> + <keyword>CONVERT</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURRENT</keyword> + <keyword>CURSOR</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DELETE</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DOMAIN</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>ELSE</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXTERNAL</keyword> + <keyword>EXTRACT</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FIRST</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FOUND</keyword> + <keyword>FROM</keyword> + <keyword>FULL</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>HAVING</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INITIALLY</keyword> + <keyword>INNER</keyword> + <keyword>INPUT</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>KEY</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LAST</keyword> + <keyword>LEADING</keyword> + <keyword>LEFT</keyword> + <keyword>LEVEL</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOWER</keyword> + <keyword>MATCH</keyword> + <keyword>MAX</keyword> + <keyword>MIN</keyword> + <keyword>MINUTE</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>NAMES</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NEXT</keyword> + <keyword>NO</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NULLIF</keyword> + <keyword>NUMERIC</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>OF</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OPTION</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PAD</keyword> + <keyword>PARTIAL</keyword> + <keyword>POSITION</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PROCEDURE</keyword> + <keyword>PUBLIC</keyword> + <keyword>READ</keyword> + <keyword>REAL</keyword> + <keyword>REFERENCES</keyword> + <keyword>RELATIVE</keyword> + <keyword>RESTRICT</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROWS</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCROLL</keyword> + <keyword>SECOND</keyword> + <keyword>SECTION</keyword> + <keyword>SELECT</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SESSION</keyword> + <keyword>SET</keyword> + <keyword>SIZE</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPACE</keyword> + <keyword>SQL</keyword> + <keyword>SQLCODE</keyword> + <keyword>SQLERROR</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>TABLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TRIM</keyword> + <keyword>TRUE</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UPDATE</keyword> + <keyword>UPPER</keyword> + <keyword>USAGE</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>VIEW</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WITH</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>YEAR</keyword> + <keyword>ZONE</keyword> + <!-- non reserved keywords --> + <keyword>ADA</keyword> + <keyword>C</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COBOL</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATA</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DYNAMIC_FUNCTION</keyword> + <keyword>FORTRAN</keyword> + <keyword>LENGTH</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NULLABLE</keyword> + <keyword>NUMBER</keyword> + <keyword>PASCAL</keyword> + <keyword>PLI</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TYPE</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNNAMED</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/tcl-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/tcl-hl.xml new file mode 100644 index 0000000000..7a8fa9fbd3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/tcl-hl.xml @@ -0,0 +1,180 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +xslthl highlighter definition fof Tcl/Tk. +written by Arndt Roger Schneider + +Copyright 2008 Arndt Roger Schneider +License: xlib/libpng + +This software is provided "as-is", without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source + distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="regex"> + <pattern>-[\p{javaJavaIdentifierStart}][\p{javaJavaIdentifierPart}]+ + </pattern> + <style>none</style> + </highlighter> + <highlighter type="number"> + <point>.</point> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <!-- Tcl and itcl / structural --> + <keyword>if</keyword> + <keyword>then</keyword> + <keyword>else</keyword> + <keyword>elseif</keyword> + <keyword>for</keyword> + <keyword>foreach</keyword> + <keyword>break</keyword> + <keyword>continue</keyword> + <keyword>while</keyword> + <keyword>eval</keyword> + <keyword>case</keyword> + <keyword>in</keyword> + <keyword>switch</keyword> + <keyword>default</keyword> + <keyword>exit</keyword> + <keyword>error</keyword> + <keyword>proc</keyword> + <keyword>rename</keyword> + <keyword>exec</keyword> + <keyword>return</keyword> + <keyword>uplevel</keyword> + <keyword>upvar</keyword> + <keyword>constructor</keyword> + <keyword>destructor</keyword> + <keyword>itcl_class</keyword> + <keyword>loop</keyword> + <keyword>for_array_keys</keyword> + <keyword>for_recursive_glob</keyword> + <keyword>for_file</keyword> + <keyword>method</keyword> + <keyword>body</keyword> + <keyword>configbody</keyword> + <keyword>catch</keyword> + <keyword>namespace</keyword> + <keyword>class</keyword> + <keyword>array</keyword> + <keyword>set</keyword> + <keyword>unset</keyword> + <keyword>package</keyword> + <keyword>source</keyword> + + <!-- Additional commands --> + <keyword>subst</keyword> + <keyword>list</keyword> + <keyword>format</keyword> + <keyword>lappend</keyword> + <keyword>option</keyword> + <keyword>expr</keyword> + <keyword>puts</keyword> + <keyword>winfo</keyword> + <keyword>lindex</keyword> + <keyword>string</keyword> + + + <!-- Runtime Library / structural --> + <keyword>verified</keyword> + <keyword>seteach</keyword> + <keyword>fixme</keyword> + <keyword>debug</keyword> + <keyword>rtl::debug</keyword> + <keyword>rtl::verified</keyword> + <keyword>rtl::template</keyword> + <keyword>rtl::seteach</keyword> + + <!-- Runtime Library / Additional --> + <keyword>mkProc</keyword> + <keyword>getCreator</keyword> + <keyword>properties</keyword> + <keyword>lappendunique</keyword> + <keyword>rtl::lappendunique</keyword> + + <!-- geometry managers from Tk --> + <keyword>place</keyword> + <keyword>pack</keyword> + <keyword>grid</keyword> + + + <!-- Additional Tk stuff --> + <keyword>image</keyword> + <keyword>font</keyword> + <keyword>focus</keyword> + <keyword>tk</keyword> + <keyword>bind</keyword> + <keyword>after</keyword> + + <!-- Window classes from Tk, ... --> + <keyword>toplevel</keyword> + <keyword>frame</keyword> + <keyword>entry</keyword> + <keyword>listbox</keyword> + <keyword>button</keyword> + <keyword>radiobutton</keyword> + <keyword>checkbutton</keyword> + <keyword>canvas</keyword> + <keyword>menu</keyword> + <keyword>menubutton</keyword> + <keyword>text</keyword> + <keyword>label</keyword> + <keyword>message</keyword> + <!-- + The rest of Tk's windows is omitted: scrollbar, scale, panedwindow, labelframe, spinbox ... + --> + + <!-- ... from tkZinc, ... --> + <keyword>zinc</keyword> + + <!-- ... from tkpath, ... --> + <keyword>tkpath::gradient</keyword> + + <!-- ... from Runtime Library, ... --> + <keyword>rtl_combobox</keyword> + <keyword>rtl_tree</keyword> + <keyword>rtl_tabset</keyword> + <keyword>rtl_mlistbox</keyword> + <keyword>rtl_gridwin</keyword> + <keyword>rtlysizer</keyword> + <keyword>rtlxsizer</keyword> + <!-- + The rest of RTL's windows is omitted: spinbox, decoratedframe, symbolbar, symbolbarcustomize, question ... + --> + + <!-- ... from GEI, ... --> + <keyword>goolbar</keyword> + <keyword>gstripes</keyword> + <keyword>zoolbar</keyword> + <keyword>gistbox</keyword> + <keyword>gooleditor</keyword> + <keyword>galette</keyword> + </highlighter> +</highlighters> + <!-- + Local Variables: mode: sgml coding: utf-8-unix sgml-indent-step: 2 sgml-indent-data: t sgml-set-face: t + sgml-insert-missing-element-comment: nil End: + --> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/upc-hl.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/upc-hl.xml new file mode 100644 index 0000000000..a6b9688602 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/upc-hl.xml @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Syntax highlighting definition for Unified Parallel C + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks, + Viraj Sinha + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> +--> +<!-- This file is a modified version of c-hl.xml adapted for UPC compatability + by , who in no way takes credit for the original creation of this + file or the rest of xslthl. --> +<highlighters> + <highlighter type="multiline-comment"> + <start>/**</start> + <end>*/</end> + <style>doccomment</style> + </highlighter> + <highlighter type="oneline-comment"> + <start><![CDATA[/// ]]></start> + <style>doccomment</style> + </highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="oneline-comment">//</highlighter> + <highlighter type="oneline-comment"> + <!-- use the online-comment highlighter to detect directives --> + <start>#</start> + <lineBreakEscape>\</lineBreakEscape> + <style>directive</style> + <solitary /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <suffix>ul</suffix> + <suffix>lu</suffix> + <suffix>u</suffix> + <suffix>f</suffix> + <suffix>l</suffix> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <keyword>auto</keyword> + <keyword>_Bool</keyword> + <keyword>break</keyword> + <keyword>case</keyword> + <keyword>char</keyword> + <keyword>_Complex</keyword> + <keyword>const</keyword> + <keyword>continue</keyword> + <keyword>default</keyword> + <keyword>do</keyword> + <keyword>double</keyword> + <keyword>else</keyword> + <keyword>enum</keyword> + <keyword>extern</keyword> + <keyword>float</keyword> + <keyword>for</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>_Imaginary</keyword> + <keyword>inline</keyword> + <keyword>int</keyword> + <keyword>long</keyword> + <keyword>register</keyword> + <keyword>relaxed</keyword> + <keyword>restrict</keyword> + <keyword>return</keyword> + <keyword>shared</keyword> + <keyword>strict</keyword> + <keyword>short</keyword> + <keyword>signed</keyword> + <keyword>sizeof</keyword> + <keyword>static</keyword> + <keyword>struct</keyword> + <keyword>switch</keyword> + <keyword>typedef</keyword> + <keyword>union</keyword> + <keyword>unsigned</keyword> + <keyword>upc_blocksizeof</keyword> + <keyword>upc_elemsizeof</keyword> + <keyword>upc_localsizeof</keyword> + <keyword>upc_lock_t</keyword> + <keyword>upc_forall</keyword> + <keyword>upc_barrier</keyword> + <keyword>upc_wait</keyword> + <keyword>upc_notify</keyword> + <keyword>upc_fence</keyword> + <keyword>void</keyword> + <keyword>volatile</keyword> + <keyword>while</keyword> + </highlighter> +</highlighters> diff --git a/apache-fop/src/test/resources/docbook-xsl/highlighting/xslthl-config.xml b/apache-fop/src/test/resources/docbook-xsl/highlighting/xslthl-config.xml new file mode 100644 index 0000000000..9751222a7d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/highlighting/xslthl-config.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2005-2012 Michal Molhanec, Jirka Kosek, Michiel Hendriks + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +Michal Molhanec <mol1111 at users.sourceforge.net> +Jirka Kosek <kosek at users.sourceforge.net> +Michiel Hendriks <elmuerte at users.sourceforge.net> + +--> +<xslthl-config> + <highlighter id="java" file="java-hl.xml" /> + <highlighter id="delphi" file="delphi-hl.xml" /> + <highlighter id="pascal" file="delphi-hl.xml" /> + <highlighter id="ini" file="ini-hl.xml" /> + <highlighter id="php" file="php-hl.xml" /> + <highlighter id="myxml" file="myxml-hl.xml" /> + <highlighter id="m2" file="m2-hl.xml" /> + <highlighter id="tcl" file="tcl-hl.xml" /> + <highlighter id="c" file="c-hl.xml" /> + <highlighter id="cpp" file="cpp-hl.xml" /> + <highlighter id="csharp" file="csharp-hl.xml" /> + <highlighter id="python" file="python-hl.xml" /> + <highlighter id="ruby" file="ruby-hl.xml" /> + <highlighter id="perl" file="perl-hl.xml" /> + <highlighter id="javascript" file="javascript-hl.xml" /> + <highlighter id="bourne" file="bourne-hl.xml" /> + <highlighter id="css" file="css21-hl.xml" /> + <highlighter id="css21" file="css21-hl.xml" /> + <highlighter id="cmake" file="cmake-hl.xml" /> + <highlighter id="upc" file="upc-hl.xml" /> + <highlighter id="lua" file="lua-hl.xml" /> + <highlighter id="sql92" file="sql92-hl.xml" /> + <highlighter id="sql1999" file="sql1999-hl.xml" /> + <highlighter id="sql2003" file="sql2003-hl.xml" /> + <highlighter id="sql" file="sql2003-hl.xml" /> + <namespace prefix="xslthl" uri="http://xslthl.sf.net" /> +</xslthl-config> \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/html/admon.xsl b/apache-fop/src/test/resources/docbook-xsl/html/admon.xsl new file mode 100644 index 0000000000..7e1e33a67e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/admon.xsl @@ -0,0 +1,139 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: admon.xsl 9728 2013-03-08 00:16:41Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<xsl:template match="*" mode="admon.graphic.width"> + <xsl:param name="node" select="."/> + <xsl:text>25</xsl:text> +</xsl:template> + +<xsl:template match="note|important|warning|caution|tip"> + <xsl:choose> + <xsl:when test="$admon.graphics != 0"> + <xsl:call-template name="graphical.admonition"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="nongraphical.admonition"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="admon.graphic"> + <xsl:param name="node" select="."/> + <xsl:value-of select="$admon.graphics.path"/> + <xsl:choose> + <xsl:when test="local-name($node)='note'">note</xsl:when> + <xsl:when test="local-name($node)='warning'">warning</xsl:when> + <xsl:when test="local-name($node)='caution'">caution</xsl:when> + <xsl:when test="local-name($node)='tip'">tip</xsl:when> + <xsl:when test="local-name($node)='important'">important</xsl:when> + <xsl:otherwise>note</xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$admon.graphics.extension"/> +</xsl:template> + +<xsl:template name="graphical.admonition"> + <xsl:variable name="admon.type"> + <xsl:choose> + <xsl:when test="local-name(.)='note'">Note</xsl:when> + <xsl:when test="local-name(.)='warning'">Warning</xsl:when> + <xsl:when test="local-name(.)='caution'">Caution</xsl:when> + <xsl:when test="local-name(.)='tip'">Tip</xsl:when> + <xsl:when test="local-name(.)='important'">Important</xsl:when> + <xsl:otherwise>Note</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="alt"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="$admon.type"/> + </xsl:call-template> + </xsl:variable> + + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="$admon.style != '' and $make.clean.html = 0"> + <xsl:attribute name="style"> + <xsl:value-of select="$admon.style"/> + </xsl:attribute> + </xsl:if> + + <table border="{$table.border.off}"> + <!-- omit summary attribute in html5 output --> + <xsl:if test="$div.element != 'section'"> + <xsl:attribute name="summary"> + <xsl:value-of select="$admon.type"/> + <xsl:if test="title|info/title"> + <xsl:text>: </xsl:text> + <xsl:value-of select="(title|info/title)[1]"/> + </xsl:if> + </xsl:attribute> + </xsl:if> + <tr> + <td rowspan="2" align="center" valign="top"> + <xsl:attribute name="width"> + <xsl:apply-templates select="." mode="admon.graphic.width"/> + </xsl:attribute> + <img alt="[{$alt}]"> + <xsl:attribute name="src"> + <xsl:call-template name="admon.graphic"/> + </xsl:attribute> + </img> + </td> + <th align="{$direction.align.start}"> + <xsl:call-template name="anchor"/> + <xsl:if test="$admon.textlabel != 0 or title or info/title"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:if> + </th> + </tr> + <tr> + <td align="{$direction.align.start}" valign="top"> + <xsl:apply-templates/> + </td> + </tr> + </table> + </div> +</xsl:template> + +<xsl:template name="nongraphical.admonition"> + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"/> + <xsl:if test="$admon.style != '' and $make.clean.html = 0"> + <xsl:attribute name="style"> + <xsl:value-of select="$admon.style"/> + </xsl:attribute> + </xsl:if> + + <xsl:if test="$admon.textlabel != 0 or title or info/title"> + <h3 class="title"> + <xsl:call-template name="anchor"/> + <xsl:apply-templates select="." mode="object.title.markup"/> + </h3> + </xsl:if> + + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="note/title"></xsl:template> +<xsl:template match="important/title"></xsl:template> +<xsl:template match="warning/title"></xsl:template> +<xsl:template match="caution/title"></xsl:template> +<xsl:template match="tip/title"></xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/annotations.xsl b/apache-fop/src/test/resources/docbook-xsl/html/annotations.xsl new file mode 100644 index 0000000000..f0106320ae --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/annotations.xsl @@ -0,0 +1,169 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<xsl:template name="add.annotation.links"> + <xsl:param name="scripts" select="normalize-space($annotation.js)"/> + <xsl:choose> + <xsl:when test="contains($scripts, ' ')"> + <script type="text/javascript" src="{substring-before($scripts, ' ')}"/> + <xsl:call-template name="add.annotation.links"> + <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <script type="text/javascript" src="{$scripts}"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="annotation"/> + +<xsl:template name="apply-annotations"> + <xsl:if test="$annotation.support != 0"> + <!-- do any annotations apply to the context node? --> + <xsl:variable name="id" select="(@id|@xml:id)[1]"/> + + <xsl:variable name="aids"> + <xsl:for-each select="//annotation"> + <xsl:if test="@annotates=$id + or starts-with(@annotates, concat($id, ' ')) + or contains(@annotates, concat(' ', $id, ' ')) + or substring(@annotates, string-length(@annotates)-3) + = concat(' ', $id)"> + <xsl:value-of select="generate-id()"/> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:for-each> + <xsl:if test="normalize-space(@annotations) != ''"> + <xsl:call-template name="annotations-pointed-to"> + <xsl:with-param name="annotations" + select="normalize-space(@annotations)"/> + </xsl:call-template> + </xsl:if> + </xsl:variable> + + <xsl:if test="$aids != ''"> + <xsl:call-template name="apply-annotations-by-gid"> + <xsl:with-param name="gids" select="normalize-space($aids)"/> + </xsl:call-template> + </xsl:if> + </xsl:if> +</xsl:template> + +<xsl:template name="annotations-pointed-to"> + <xsl:param name="annotations"/> + <xsl:choose> + <xsl:when test="contains($annotations, ' ')"> + <xsl:variable name='a' + select="key('id', substring-before($annotations, ' '))"/> + <xsl:if test="$a"> + <xsl:value-of select="generate-id($a)"/> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:call-template name="annotations-pointed-to"> + <xsl:with-param name="annotations" + select="substring-after($annotations, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name='a' + select="key('id', $annotations)"/> + <xsl:if test="$a"> + <xsl:value-of select="generate-id($a)"/> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="apply-annotations-by-gid"> + <xsl:param name="gids"/> + + <xsl:choose> + <xsl:when test="contains($gids, ' ')"> + <xsl:variable name="gid" select="substring-before($gids, ' ')"/> + <xsl:apply-templates select="key('gid', $gid)" + mode="annotation-inline"/> + <xsl:call-template name="apply-annotations-by-gid"> + <xsl:with-param name="gids" + select="substring-after($gids, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="key('gid', $gids)" + mode="annotation-inline"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="annotation" mode="annotation-inline"> + <xsl:variable name="title"> + <xsl:choose> + <xsl:when test="title"> + <xsl:value-of select="title"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>[Annotation #</xsl:text> + <xsl:number count="annotation" level="any" format="1"/> + <xsl:text>]</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <a href="#annot-{generate-id(.)}" title="{$title}" + name="anch-{generate-id(.)}" id="anch-{generate-id(.)}"> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:attribute name="onClick"> + <xsl:text>popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>.showPopup('anch-</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>'); return false;</xsl:text> + </xsl:attribute> + <img src="{$annotation.graphic.open}" border="0" alt="{$title}"/> + </a> +</xsl:template> + +<xsl:template match="annotation" mode="annotation-popup"> + <div class="annotation-nocss"> + <p> + <a name="annot-{generate-id(.)}"/> + <xsl:text>Annotation #</xsl:text> + <xsl:number count="annotation" level="any" format="1"/> + <xsl:text>:</xsl:text> + </p> + </div> + + <div id="popup-{generate-id(.)}" class="annotation-popup"> + <xsl:if test="string-length(.) > 300"> + <xsl:attribute name="style">width:400px</xsl:attribute> + </xsl:if> + + <xsl:call-template name="annotation-title"/> + <div class="annotation-body"> + <xsl:apply-templates select="*[local-name(.) != 'title']"/> + </div> + <div class="annotation-close"> + <a href="#" onclick="popup_{generate-id(.)}.hidePopup();return false;"> + <xsl:apply-templates select="." mode="class.attribute"/> + <img src="{$annotation.graphic.close}" alt="X" border="0"/> + </a> + </div> + </div> +</xsl:template> + +<xsl:template name="annotation-title"> + <div class="annotation-title"> + <xsl:choose> + <xsl:when test="title"> + <xsl:apply-templates select="title/node()"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>Annotation</xsl:text> + </xsl:otherwise> + </xsl:choose> + </div> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kimber.xsl b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kimber.xsl new file mode 100644 index 0000000000..f67b1f6024 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kimber.xsl @@ -0,0 +1,165 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; + +<!-- Documents using the kimber index method must have a lang attribute --> +<!-- Only one of these should be present in the entity --> +<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'> + +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService" + exclude-result-prefixes="k" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-kimber.xsl 8729 2010-07-15 16:43:56Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. --> +<!-- ==================================================================== --> +<!-- *** THIS MODULE ONLY WORKS WITH SAXON 6 OR SAXON 8 *** --> +<!-- ==================================================================== --> + + +<xsl:include href="../common/autoidx-kimber.xsl"/> + +<!-- Java sort apparently works only on lang part, not country --> +<xsl:param name="sort.lang"> + <xsl:choose> + <xsl:when test="contains(⟨, '-')"> + <xsl:value-of select="substring-before(⟨, '-')"/> + </xsl:when> + <xsl:when test="contains(⟨, '_')"> + <xsl:value-of select="substring-before(⟨, '_')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="⟨"/> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + +<xsl:template name="generate-kimber-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="not(contains($vendor, 'SAXON '))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="not(function-available('k:getIndexGroupKey'))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Innodata Isogen Java extensions for </xsl:text> + <xsl:text>internationalized indexes. Install those </xsl:text> + <xsl:text>extensions, or use a different index method. </xsl:text> + <xsl:text>For more information, see: </xsl:text> + <xsl:text>http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm[count(.|key('k-group', k:getIndexGroupKey(⟨, &primary;))[&scope;][1]) = 1 and not(@class = 'endofrange')]"/> + + <xsl:variable name="alphabetical" + select="$terms[not(starts-with( + k:getIndexGroupKey(⟨, &primary;), + '#NUMERIC' + ))]"/> + + <xsl:variable name="others" + select="$terms[starts-with( + k:getIndexGroupKey(⟨, &primary;), + '#NUMERIC' + )]"/> + + <div class="index"> + <xsl:if test="$others"> + <div class="indexdev"> + <h3> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </h3> + <dl> + <xsl:apply-templates select="$others" + mode="index-symbol-div"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort lang="{$sort.lang}" + select="k:getIndexGroupSortKey(⟨, + k:getIndexGroupKey(⟨, &primary;))"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:if> + + <xsl:apply-templates select="$alphabetical" + mode="index-div-kimber"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort lang="{$sort.lang}" + select="k:getIndexGroupSortKey(⟨, + k:getIndexGroupKey(⟨, &primary;))"/> + </xsl:apply-templates> + </div> + +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-kimber"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="k:getIndexGroupKey(⟨, &primary;)"/> + + <xsl:variable name="label" + select="k:getIndexGroupLabel(⟨, $key)"/> + + <xsl:if test="key('k-group', $label)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <div class="indexdiv"> + <h3> + <xsl:value-of select="$label"/> + </h3> + <dl> + <xsl:apply-templates select="key('k-group', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;] + [1])=1]" + mode="index-primary"> + <xsl:sort select="&primary;" lang="{$sort.lang}"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kosek.xsl b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kosek.xsl new file mode 100644 index 0000000000..d03ff4f661 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-kosek.xsl @@ -0,0 +1,120 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:i="urn:cz-kosek:functions:index" + xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" + xmlns:func="http://exslt.org/functions" + xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService" + xmlns:exslt="http://exslt.org/common" + extension-element-prefixes="func exslt" + exclude-result-prefixes="func exslt i l k" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-kosek.xsl 8725 2010-07-15 08:08:04Z kosek $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "kosek" method contributed by Jirka Kosek. --> + +<xsl:include href="../common/autoidx-kosek.xsl"/> + +<xsl:template name="generate-kosek-index"> + <xsl:param name="scope" select="(ancestor::book|/)[last()]"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="contains($vendor, 'libxslt')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the xsltproc XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="contains($vendor, 'Saxonica')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the Saxon 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="$exsl.node.set.available = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> + <xsl:text>has it, or use a different index method.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="not(function-available('i:group-index'))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>index extension functions be imported: </xsl:text> + <xsl:text> xsl:import href="common/autoidx-kosek.xsl"</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm[count(.|key('group-code', i:group-index(&primary;))[&scope;][1]) = 1 and not(@class = 'endofrange')]"/> + + <div class="index"> + <xsl:apply-templates select="$terms" mode="index-div-kosek"> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="i:group-index(&primary;)" data-type="number"/> + </xsl:apply-templates> + </div> +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-kosek"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="i:group-index(&primary;)"/> + + <xsl:variable name="lang"> + <xsl:call-template name="l10n.language"/> + </xsl:variable> + + <xsl:if test="key('group-code', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <div class="indexdiv"> + <h3> + <xsl:value-of select="i:group-letter($key)"/> + </h3> + <dl> + <xsl:apply-templates select="key('group-code', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1])=1]" + mode="index-primary"> + <xsl:sort select="&primary;" lang="{$lang}"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/autoidx-ng.xsl b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-ng.xsl new file mode 100644 index 0000000000..9407b5cf98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/autoidx-ng.xsl @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx-ng.xsl 6910 2007-06-28 23:23:30Z xmldoc $ + ******************************************************************** + + This file is part of the DocBook XSL Stylesheet distribution. + See ../README or http://docbook.sf.net/ for copyright + copyright and other information. + + ******************************************************************** --> + +<!-- You should have this directly in your customization file. --> +<!-- This file is there only to retain backward compatibility. --> +<xsl:import href="autoidx-kosek.xsl"/> +<xsl:param name="index.method">kosek</xsl:param> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/autoidx.xsl b/apache-fop/src/test/resources/docbook-xsl/html/autoidx.xsl new file mode 100644 index 0000000000..c33996b035 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/autoidx.xsl @@ -0,0 +1,797 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exslt="http://exslt.org/common" + extension-element-prefixes="exslt" + exclude-result-prefixes="exslt" + version="1.0"> + +<!-- ******************************************************************** + $Id: autoidx.xsl 9707 2013-01-21 17:18:44Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- The "basic" method derived from Jeni Tennison's work. --> +<!-- The "kosek" method contributed by Jirka Kosek. --> +<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. --> + +<xsl:variable name="kimber.imported" select="0"/> +<xsl:variable name="kosek.imported" select="0"/> + +<xsl:key name="letter" + match="indexterm" + use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> + +<xsl:key name="primary" + match="indexterm" + use="&primary;"/> + +<xsl:key name="secondary" + match="indexterm" + use="concat(&primary;, &sep;, &secondary;)"/> + +<xsl:key name="tertiary" + match="indexterm" + use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> + +<xsl:key name="endofrange" + match="indexterm[@class='endofrange']" + use="@startref"/> + +<xsl:key name="primary-section" + match="indexterm[not(secondary) and not(see)]" + use="concat(&primary;, &sep;, §ion.id;)"/> + +<xsl:key name="secondary-section" + match="indexterm[not(tertiary) and not(see)]" + use="concat(&primary;, &sep;, &secondary;, &sep;, §ion.id;)"/> + +<xsl:key name="tertiary-section" + match="indexterm[not(see)]" + use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, §ion.id;)"/> + +<xsl:key name="see-also" + match="indexterm[seealso]" + use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso)"/> + +<xsl:key name="see" + match="indexterm[see]" + use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/> + +<xsl:key name="sections" match="*[@id or @xml:id]" use="@id|@xml:id"/> + + +<xsl:template name="generate-index"> + <xsl:param name="scope" select="(ancestor::book|/)[last()]"/> + + <xsl:choose> + <xsl:when test="$index.method = 'kosek'"> + <xsl:call-template name="generate-kosek-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$index.method = 'kimber'"> + <xsl:call-template name="generate-kimber-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="generate-basic-index"> + <xsl:with-param name="scope" select="$scope"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="generate-basic-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="role"> + <xsl:if test="$index.on.role != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="type"> + <xsl:if test="$index.on.type != 0"> + <xsl:value-of select="@type"/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="terms" + select="//indexterm + [count(.|key('letter', + translate(substring(&primary;, 1, 1), + &lowercase;, + &uppercase;)) + [&scope;][1]) = 1 + and not(@class = 'endofrange')]"/> + + <xsl:variable name="alphabetical" + select="$terms[contains(concat(&lowercase;, &uppercase;), + substring(&primary;, 1, 1))]"/> + + <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, + &uppercase;), + substring(&primary;, 1, 1)))]"/> + <div class="index"> + <xsl:if test="$others"> + <xsl:choose> + <xsl:when test="normalize-space($type) != '' and + $others[@type = $type][count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <div class="indexdiv"> + <h3> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </h3> + <dl> + <xsl:apply-templates select="$others[count(.|key('primary', &primary;)[&scope;][1]) = 1]" + mode="index-symbol-div"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:when> + <xsl:when test="normalize-space($type) != ''"> + <!-- Output nothing, as there isn't a match for $other using this $type --> + </xsl:when> + <xsl:otherwise> + <div class="indexdiv"> + <h3> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'index symbols'"/> + </xsl:call-template> + </h3> + <dl> + <xsl:apply-templates select="$others[count(.|key('primary', + &primary;)[&scope;][1]) = 1]" + mode="index-symbol-div"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:apply-templates select="$alphabetical[count(.|key('letter', + translate(substring(&primary;, 1, 1), + &lowercase;,&uppercase;))[&scope;][1]) = 1]" + mode="index-div-basic"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </div> +</xsl:template> + +<!-- This template not used if html/autoidx-kosek.xsl is imported --> +<xsl:template name="generate-kosek-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="contains($vendor, 'libxslt')"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method does not </xsl:text> + <xsl:text>work with the xsltproc XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + + <xsl:if test="$exsl.node.set.available = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> + <xsl:text>has it, or use a different index method.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="$kosek.imported = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> + <xsl:text>kosek index extensions be imported: </xsl:text> + <xsl:text> xsl:import href="html/autoidx-kosek.xsl"</xsl:text> + </xsl:message> + </xsl:if> + +</xsl:template> + +<!-- This template not used if html/autoidx-kimber.xsl is imported --> +<xsl:template name="generate-kimber-index"> + <xsl:param name="scope" select="NOTANODE"/> + + <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> + <xsl:if test="not(contains($vendor, 'SAXON '))"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:if test="$kimber.imported = 0"> + <xsl:message terminate="yes"> + <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text> + <xsl:text>kimber index extensions be imported: </xsl:text> + <xsl:text> xsl:import href="html/autoidx-kimber.xsl"</xsl:text> + </xsl:message> + </xsl:if> + +</xsl:template> + +<xsl:template match="indexterm" mode="index-div-basic"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" + select="translate(substring(&primary;, 1, 1), + &lowercase;,&uppercase;)"/> + + <xsl:if test="key('letter', $key)[&scope;] + [count(.|key('primary', &primary;)[&scope;][1]) = 1]"> + <div class="indexdiv"> + <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)"> + <h3> + <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> + </h3> + </xsl:if> + <dl> + <xsl:apply-templates select="key('letter', $key)[&scope;] + [count(.|key('primary', &primary;) + [&scope;][1])=1]" + mode="index-primary"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </div> + </xsl:if> +</xsl:template> + +<xsl:template match="indexterm" mode="index-symbol-div"> + <xsl:param name="scope" select="/"/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="translate(substring(&primary;, 1, 1), + &lowercase;,&uppercase;)"/> + + <xsl:apply-templates select="key('letter', $key) + [&scope;][count(.|key('primary', &primary;)[1]) = 1]" + mode="index-primary"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="indexterm" mode="index-primary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="&primary;"/> + <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/> + <dt> + <xsl:for-each select="$refs/primary"> + <xsl:if test="@id or @xml:id"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <a name="{(@id|@xml:id)[1]}"/> + </xsl:when> + <xsl:otherwise> + <span> + <xsl:call-template name="id.attribute"/> + </span> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:for-each> + <xsl:value-of select="primary"/> + <xsl:choose> + <xsl:when test="$index.links.to.section = 1"> + <xsl:for-each select="$refs[@zone != '' or generate-id() = generate-id(key('primary-section', concat($key, &sep;, §ion.id;))[&scope;][1])]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="$refs[not(see) + and not(secondary)][&scope;]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs[not(secondary)]/*[self::see]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + </dt> + <xsl:choose> + <xsl:when test="$refs/secondary or $refs[not(secondary)]/*[self::seealso]"> + <dd> + <dl> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" + mode="index-secondary"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </dd> + </xsl:when> + <!-- HTML5 requires dd for each dt --> + <xsl:when test="$div.element = 'section'"> + <dd></dd> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="index-secondary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/> + <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/> + <dt> + <xsl:for-each select="$refs/secondary"> + <xsl:if test="@id or @xml:id"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <a name="{(@id|@xml:id)[1]}"/> + </xsl:when> + <xsl:otherwise> + <span> + <xsl:call-template name="id.attribute"/> + </span> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:for-each> + <xsl:value-of select="secondary"/> + <xsl:choose> + <xsl:when test="$index.links.to.section = 1"> + <xsl:for-each select="$refs[@zone != '' or generate-id() = generate-id(key('secondary-section', concat($key, &sep;, §ion.id;))[&scope;][1])]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="$refs[not(see) + and not(tertiary)][&scope;]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs[not(tertiary)]/*[self::see]"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + </dt> + <xsl:choose> + <xsl:when test="$refs/tertiary or $refs[not(tertiary)]/*[self::seealso]"> + <dd> + <dl> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" + mode="index-tertiary"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </dd> + </xsl:when> + <!-- HTML5 requires dd for each dt --> + <xsl:when test="$div.element = 'section'"> + <dd></dd> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="index-tertiary"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> + <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/> + <dt> + <xsl:for-each select="$refs/tertiary"> + <xsl:if test="@id or @xml:id"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <a name="{(@id|@xml:id)[1]}"/> + </xsl:when> + <xsl:otherwise> + <span> + <xsl:call-template name="id.attribute"/> + </span> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:for-each> + <xsl:value-of select="tertiary"/> + <xsl:choose> + <xsl:when test="$index.links.to.section = 1"> + <xsl:for-each select="$refs[@zone != '' or generate-id() = generate-id(key('tertiary-section', concat($key, &sep;, §ion.id;))[&scope;][1])]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:for-each select="$refs[not(see)][&scope;]"> + <xsl:apply-templates select="." mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:apply-templates> + </xsl:for-each> + </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$refs/see"> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]" + mode="index-see"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </xsl:if> + </dt> + <xsl:choose> + <xsl:when test="$refs/seealso"> + <dd> + <dl> + <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]" + mode="index-seealso"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/> + </xsl:apply-templates> + </dl> + </dd> + </xsl:when> + <!-- HTML5 requires dd for each dt --> + <xsl:when test="$div.element = 'section'"> + <dd></dd> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="reference"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:param name="position"/> + <xsl:param name="separator" select="''"/> + + <xsl:variable name="term.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.term.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="number.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.number.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="range.separator"> + <xsl:call-template name="index.separator"> + <xsl:with-param name="key" select="'index.range.separator'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$separator != ''"> + <xsl:value-of select="$separator"/> + </xsl:when> + <xsl:when test="$position = 1"> + <xsl:value-of select="$term.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$number.separator"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:choose> + <xsl:when test="@zone and string(@zone)"> + <xsl:call-template name="reference"> + <xsl:with-param name="zones" select="normalize-space(@zone)"/> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <a> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:variable name="title"> + <xsl:choose> + <xsl:when test="$index.prefer.titleabbrev != 0"> + <xsl:apply-templates select="§ion;" mode="titleabbrev.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="§ion;" mode="title.markup"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:attribute name="href"> + <xsl:choose> + <xsl:when test="$index.links.to.section = 1"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="§ion;"/> + <xsl:with-param name="context" + select="(//index[&scope;] | //setindex[&scope;])[1]"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="."/> + <xsl:with-param name="context" + select="(//index[&scope;] | //setindex[&scope;])[1]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + + </xsl:attribute> + + <xsl:value-of select="$title"/> <!-- text only --> + </a> + + <xsl:variable name="id" select="(@id|@xml:id)[1]"/> + <xsl:if test="key('endofrange', $id)[&scope;]"> + <xsl:apply-templates select="key('endofrange', $id)[&scope;][last()]" + mode="reference"> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + <xsl:with-param name="separator" select="$range.separator"/> + </xsl:apply-templates> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="reference"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + <xsl:param name="zones"/> + + <xsl:choose> + <xsl:when test="contains($zones, ' ')"> + <xsl:variable name="zone" select="substring-before($zones, ' ')"/> + <xsl:variable name="target" select="key('sections', $zone)"/> + + <a> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:call-template name="id.attribute"/> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target[1]"/> + <xsl:with-param name="context" select="//index[&scope;][1]"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="$target[1]" mode="index-title-content"/> + </a> + <xsl:text>, </xsl:text> + <xsl:call-template name="reference"> + <xsl:with-param name="zones" select="substring-after($zones, ' ')"/> + <xsl:with-param name="position" select="position()"/> + <xsl:with-param name="scope" select="$scope"/> + <xsl:with-param name="role" select="$role"/> + <xsl:with-param name="type" select="$type"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:variable name="zone" select="$zones"/> + <xsl:variable name="target" select="key('sections', $zone)"/> + + <a> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:call-template name="id.attribute"/> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target[1]"/> + <xsl:with-param name="context" select="//index[&scope;][1]"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="$target[1]" mode="index-title-content"/> + </a> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="indexterm" mode="index-see"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:text> (</xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'see'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:value-of select="see"/> + <xsl:text>)</xsl:text> +</xsl:template> + +<xsl:template match="indexterm" mode="index-seealso"> + <xsl:param name="scope" select="."/> + <xsl:param name="role" select="''"/> + <xsl:param name="type" select="''"/> + + <xsl:for-each select="seealso"> + <xsl:sort select="translate(., &lowercase;, &uppercase;)"/> + <dt> + <xsl:text>(</xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'seealso'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:value-of select="."/> + <xsl:text>)</xsl:text> + </dt> + <xsl:if test="$div.element = 'section'"> + <dd></dd> + </xsl:if> + </xsl:for-each> +</xsl:template> + +<xsl:template match="*" mode="index-title-content"> + <xsl:variable name="title"> + <xsl:apply-templates select="§ion;" mode="title.markup"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template name="index.separator"> + <xsl:param name="key" select="''"/> + <xsl:param name="lang"> + <xsl:call-template name="l10n.language"/> + </xsl:param> + + <xsl:choose> + <xsl:when test="$key = 'index.term.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.term.separator != ''"> + <xsl:copy-of select="$index.term.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">term-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="$key = 'index.number.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.number.separator != ''"> + <xsl:copy-of select="$index.number.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">number-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="$key = 'index.range.separator'"> + <xsl:choose> + <!-- Use the override if not blank --> + <xsl:when test="$index.range.separator != ''"> + <xsl:copy-of select="$index.range.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="lang" select="$lang"/> + <xsl:with-param name="context">index</xsl:with-param> + <xsl:with-param name="name">range-separator</xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/autotoc.xsl b/apache-fop/src/test/resources/docbook-xsl/html/autotoc.xsl new file mode 100644 index 0000000000..864ea7963e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/autotoc.xsl @@ -0,0 +1,756 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: autotoc.xsl 9692 2012-12-16 02:31:34Z dcramer $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<xsl:variable name="toc.listitem.type"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'">dt</xsl:when> + <xsl:otherwise>li</xsl:otherwise> + </xsl:choose> +</xsl:variable> + +<!-- this is just hack because dl and ul aren't completely isomorphic --> +<xsl:variable name="toc.dd.type"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'">dd</xsl:when> + <xsl:otherwise></xsl:otherwise> + </xsl:choose> +</xsl:variable> + +<xsl:template name="make.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/> + + <xsl:variable name="nodes.plus" select="$nodes | qandaset"/> + + <xsl:variable name="toc.title"> + <xsl:if test="$toc.title.p"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="toc-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">TableofContents</xsl:with-param> + </xsl:call-template> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">TableofContents</xsl:with-param> + </xsl:call-template> + </b> + </p> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$manual.toc != ''"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <xsl:variable name="toc" select="document($manual.toc, .)"/> + <xsl:variable name="tocentry" select="$toc//tocentry[@linkend=$id]"/> + <xsl:if test="$tocentry and $tocentry/*"> + <div class="toc"> + <xsl:copy-of select="$toc.title"/> + <xsl:element name="{$toc.list.type}"> + <xsl:call-template name="toc.list.attributes"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="$nodes"/> + </xsl:call-template> + <xsl:call-template name="manual-toc"> + <xsl:with-param name="tocentry" select="$tocentry/*[1]"/> + </xsl:call-template> + </xsl:element> + </div> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$qanda.in.toc != 0"> + <xsl:if test="$nodes.plus"> + <div class="toc"> + <xsl:copy-of select="$toc.title"/> + <xsl:element name="{$toc.list.type}"> + <xsl:call-template name="toc.list.attributes"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="$nodes"/> + </xsl:call-template> + <xsl:apply-templates select="$nodes.plus" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </xsl:element> + </div> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$nodes"> + <div class="toc"> + <xsl:copy-of select="$toc.title"/> + <xsl:element name="{$toc.list.type}"> + <xsl:call-template name="toc.list.attributes"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="$nodes"/> + </xsl:call-template> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </xsl:element> + </div> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="toc.list.attributes"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/> + + <xsl:attribute name="class">toc</xsl:attribute> +</xsl:template> + +<xsl:template name="make.lots"> + <xsl:param name="toc.params" select="''"/> + <xsl:param name="toc"/> + + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:copy-of select="$toc"/> + </xsl:if> + + <xsl:if test="contains($toc.params, 'figure')"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params, 'table')"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params, 'example')"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params, 'equation')"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" select=".//equation[title or info/title]"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="contains($toc.params, 'procedure')"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" select=".//procedure[title]"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<!-- ====================================================================== --> + +<xsl:template name="set.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:call-template name="make.toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="book|setindex|set"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="division.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:call-template name="make.toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="part|reference + |preface|chapter|appendix + |article + |topic + |bibliography|glossary|index + |refentry + |bridgehead[$bridgehead.in.toc != 0]"/> + + </xsl:call-template> +</xsl:template> + +<xsl:template name="component.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:call-template name="make.toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="section|sect1 + |simplesect[$simplesect.in.toc != 0] + |topic + |refentry + |article|bibliography|glossary + |appendix|index + |bridgehead[not(@renderas) + and $bridgehead.in.toc != 0] + |.//bridgehead[@renderas='sect1' + and $bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="component.toc.separator"> + <!-- Customize to output something between + component.toc and first output --> +</xsl:template> + +<xsl:template name="section.toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="toc.title.p" select="true()"/> + + <xsl:call-template name="make.toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" + select="section|sect1|sect2|sect3|sect4|sect5|refentry + |bridgehead[$bridgehead.in.toc != 0]"/> + + </xsl:call-template> +</xsl:template> + +<xsl:template name="section.toc.separator"> + <!-- Customize to output something between + section.toc and first output --> +</xsl:template> +<!-- ==================================================================== --> + +<xsl:template name="subtoc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="nodes" select="NOT-AN-ELEMENT"/> + + <xsl:variable name="nodes.plus" select="$nodes | qandaset"/> + + <xsl:variable name="subtoc"> + <xsl:element name="{$toc.list.type}"> + <xsl:choose> + <xsl:when test="$qanda.in.toc != 0"> + <xsl:apply-templates mode="toc" select="$nodes.plus"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="toc" select="$nodes"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:element> + </xsl:variable> + + <xsl:variable name="depth"> + <xsl:choose> + <xsl:when test="local-name(.) = 'section'"> + <xsl:value-of select="count(ancestor::section) + 1"/> + </xsl:when> + <xsl:when test="local-name(.) = 'sect1'">1</xsl:when> + <xsl:when test="local-name(.) = 'sect2'">2</xsl:when> + <xsl:when test="local-name(.) = 'sect3'">3</xsl:when> + <xsl:when test="local-name(.) = 'sect4'">4</xsl:when> + <xsl:when test="local-name(.) = 'sect5'">5</xsl:when> + <xsl:when test="local-name(.) = 'refsect1'">1</xsl:when> + <xsl:when test="local-name(.) = 'refsect2'">2</xsl:when> + <xsl:when test="local-name(.) = 'refsect3'">3</xsl:when> + <xsl:when test="local-name(.) = 'topic'">1</xsl:when> + <xsl:when test="local-name(.) = 'simplesect'"> + <!-- sigh... --> + <xsl:choose> + <xsl:when test="local-name(..) = 'section'"> + <xsl:value-of select="count(ancestor::section)"/> + </xsl:when> + <xsl:when test="local-name(..) = 'sect1'">2</xsl:when> + <xsl:when test="local-name(..) = 'sect2'">3</xsl:when> + <xsl:when test="local-name(..) = 'sect3'">4</xsl:when> + <xsl:when test="local-name(..) = 'sect4'">5</xsl:when> + <xsl:when test="local-name(..) = 'sect5'">6</xsl:when> + <xsl:when test="local-name(..) = 'topic'">2</xsl:when> + <xsl:when test="local-name(..) = 'refsect1'">2</xsl:when> + <xsl:when test="local-name(..) = 'refsect2'">3</xsl:when> + <xsl:when test="local-name(..) = 'refsect3'">4</xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/> + + <xsl:variable name="subtoc.list"> + <xsl:choose> + <xsl:when test="$toc.dd.type = ''"> + <xsl:copy-of select="$subtoc"/> + </xsl:when> + <xsl:otherwise> + <xsl:element name="{$toc.dd.type}"> + <xsl:copy-of select="$subtoc"/> + </xsl:element> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:element name="{$toc.listitem.type}"> + <xsl:call-template name="toc.line"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + <xsl:if test="$toc.listitem.type = 'li' and + ( (self::set or self::book or self::part) or + $toc.section.depth > $depth) and + ( ($qanda.in.toc = 0 and count($nodes)>0) or + ($qanda.in.toc != 0 and count($nodes.plus)>0) ) + and $toc.max.depth > $depth.from.context"> + <xsl:copy-of select="$subtoc.list"/> + </xsl:if> + </xsl:element> + <xsl:if test="$toc.listitem.type != 'li' and + ( (self::set or self::book or self::part) or + $toc.section.depth > $depth) and + ( ($qanda.in.toc = 0 and count($nodes)>0) or + ($qanda.in.toc != 0 and count($nodes.plus)>0) ) + and $toc.max.depth > $depth.from.context"> + <xsl:copy-of select="$subtoc.list"/> + </xsl:if> +</xsl:template> + +<xsl:template name="toc.line"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="depth" select="1"/> + <xsl:param name="depth.from.context" select="8"/> + + <span> + <xsl:attribute name="class"><xsl:value-of select="local-name(.)"/></xsl:attribute> + + <!-- * if $autotoc.label.in.hyperlink is zero, then output the label --> + <!-- * before the hyperlinked title (as the DSSSL stylesheet does) --> + <xsl:if test="$autotoc.label.in.hyperlink = 0"> + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + <xsl:copy-of select="$label"/> + <xsl:if test="$label != ''"> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + </xsl:if> + + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="context" select="$toc-context"/> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:attribute> + + <!-- * if $autotoc.label.in.hyperlink is non-zero, then output the label --> + <!-- * as part of the hyperlinked title --> + <xsl:if test="not($autotoc.label.in.hyperlink = 0)"> + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + <xsl:copy-of select="$label"/> + <xsl:if test="$label != ''"> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + </xsl:if> + + <xsl:apply-templates select="." mode="titleabbrev.markup"/> + </a> + </span> +</xsl:template> + +<xsl:template match="book" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="part|reference + |preface|chapter|appendix + |article + |topic + |bibliography|glossary|index + |refentry + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="setindex" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <!-- If the setindex tag is not empty, it should be it in the TOC --> + <xsl:if test="* or $generate.index != 0"> + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="part|reference" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="appendix|chapter|article|topic + |index|glossary|bibliography + |preface|reference|refentry + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="preface|chapter|appendix|article|topic" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="section|sect1 + |simplesect[$simplesect.in.toc != 0] + |topic + |refentry + |glossary|bibliography|index + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sect1" mode="toc"> + <xsl:param name="toc-context" select="."/> + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="sect2 + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sect2" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="sect3 + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sect3" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="sect4 + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sect4" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="sect5 + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="sect5" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="simplesect" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="section" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="section|refentry + |simplesect[$simplesect.in.toc != 0] + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="topic" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="section|refentry + |simplesect[$simplesect.in.toc != 0] + |bridgehead[$bridgehead.in.toc != 0]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="bridgehead" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:if test="$bridgehead.in.toc != 0"> + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="bibliography|glossary" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="index" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <!-- If the index tag is not empty, it should be it in the TOC --> + <xsl:if test="* or $generate.index != 0"> + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="refentry" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:variable name="refmeta" select=".//refmeta"/> + <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> + <xsl:variable name="refnamediv" select=".//refnamediv"/> + <xsl:variable name="refname" select="$refnamediv//refname"/> + <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/> + <xsl:variable name="title"> + <xsl:choose> + <xsl:when test="$refentrytitle"> + <xsl:apply-templates select="$refentrytitle[1]" + mode="titleabbrev.markup"/> + </xsl:when> + <xsl:when test="$refdesc"> + <xsl:apply-templates select="$refdesc" + mode="titleabbrev.markup"/> + </xsl:when> + <xsl:when test="$refname"> + <xsl:apply-templates select="$refname[1]" + mode="titleabbrev.markup"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:element name="{$toc.listitem.type}"> + <span class='refentrytitle'> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:attribute> + <xsl:copy-of select="$title"/> + </a> + </span> + <span class='refpurpose'> + <xsl:if test="$annotate.toc != 0"> + <!-- * DocBook 5 says inlinemediaobject (among other things) --> + <!-- * is allowed in refpurpose; so we need to run --> + <!-- * apply-templates on refpurpose here, instead of value-of --> + <xsl:apply-templates select="refnamediv/refpurpose" mode="no.anchor.mode"/> + </xsl:if> + </span> + </xsl:element> +</xsl:template> + +<xsl:template match="title" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select=".."/> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates/> + </a> +</xsl:template> + +<xsl:template name="manual-toc"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="tocentry"/> + <xsl:param name="toc.title.p" select="true()"/> + <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/> + + <!-- be careful, we don't want to change the current document to the other tree! --> + + <xsl:if test="$tocentry"> + <xsl:variable name="node" select="key('id', $tocentry/@linkend)"/> + + <xsl:element name="{$toc.listitem.type}"> + <xsl:variable name="label"> + <xsl:apply-templates select="$node" mode="label.markup"/> + </xsl:variable> + <xsl:copy-of select="$label"/> + <xsl:if test="$label != ''"> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$node"/> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="$node" mode="titleabbrev.markup"/> + </a> + </xsl:element> + + <xsl:if test="$tocentry/*"> + <xsl:element name="{$toc.list.type}"> + <xsl:call-template name="toc.list.attributes"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="toc.title.p" select="$toc.title.p"/> + <xsl:with-param name="nodes" select="$nodes"/> + </xsl:call-template> + <xsl:call-template name="manual-toc"> + <xsl:with-param name="tocentry" select="$tocentry/*[1]"/> + </xsl:call-template> + </xsl:element> + </xsl:if> + + <xsl:if test="$tocentry/following-sibling::*"> + <xsl:call-template name="manual-toc"> + <xsl:with-param name="tocentry" select="$tocentry/following-sibling::*[1]"/> + </xsl:call-template> + </xsl:if> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="list.of.titles"> + <xsl:param name="toc-context" select="."/> + <xsl:param name="titles" select="'table'"/> + <xsl:param name="nodes" select=".//table"/> + + <xsl:if test="$nodes"> + <div class="list-of-{$titles}s"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="toc-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="$titles='table'">ListofTables</xsl:when> + <xsl:when test="$titles='figure'">ListofFigures</xsl:when> + <xsl:when test="$titles='equation'">ListofEquations</xsl:when> + <xsl:when test="$titles='example'">ListofExamples</xsl:when> + <xsl:when test="$titles='procedure'">ListofProcedures</xsl:when> + <xsl:otherwise>ListofUnknown</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="$titles='table'">ListofTables</xsl:when> + <xsl:when test="$titles='figure'">ListofFigures</xsl:when> + <xsl:when test="$titles='equation'">ListofEquations</xsl:when> + <xsl:when test="$titles='example'">ListofExamples</xsl:when> + <xsl:when test="$titles='procedure'">ListofProcedures</xsl:when> + <xsl:otherwise>ListofUnknown</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </b> + </p> + </xsl:otherwise> + </xsl:choose> + + <xsl:element name="{$toc.list.type}"> + <xsl:apply-templates select="$nodes" mode="toc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:apply-templates> + </xsl:element> + </div> + </xsl:if> +</xsl:template> + +<xsl:template match="figure|table|example|equation|procedure" mode="toc"> + <xsl:param name="toc-context" select="."/> + + <xsl:element name="{$toc.listitem.type}"> + <xsl:variable name="label"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + <xsl:copy-of select="$label"/> + <xsl:if test="$label != ''"> + <xsl:value-of select="$autotoc.label.separator"/> + </xsl:if> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="toc-context" select="$toc-context"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="." mode="titleabbrev.markup"/> + </a> + </xsl:element> +</xsl:template> + +<!-- Used only if qanda.in.toc parameter is non-zero --> +<xsl:template match="qandaset" mode="toc"> + <xsl:param name="toc-context" select="."/> + <xsl:call-template name="subtoc"> + <xsl:with-param name="toc-context" select="$toc-context"/> + <xsl:with-param name="nodes" select="qandadiv | qandaentry"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="qandadiv|qandaentry" mode="toc"> + <xsl:apply-templates select="." mode="qandatoc.mode"/> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/biblio-iso690.xsl b/apache-fop/src/test/resources/docbook-xsl/html/biblio-iso690.xsl new file mode 100644 index 0000000000..375f367166 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/biblio-iso690.xsl @@ -0,0 +1,1300 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + + +<!-- ******************************************************************** + $Id: biblio.xsl 6402 2006-11-12 08:23:21Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + The original code for processing bibliography in ISO690 style + was provided by Jana Dvorakova <jana4u@seznam.cz> + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- if biblioentry.alt.primary.seps is set to nonzero value then use alternative separators for primary responsibility - $alt.person.two.sep, $alt.person.last.sep, $alt.person.more.sep --> +<xsl:param name="biblioentry.alt.primary.seps" select="0"/> + +<!-- how many authors will be printed if there is more than three authors - set to number 1 (default value), 2 or 3 --> +<xsl:param name="biblioentry.primary.count" select="1"/> + +<!-- ==================================================================== --> + +<xsl:template name="iso690.makecitation"> +<!-- Types of resources --> + <xsl:choose> + + <!-- SYSTEMS OF ELECTRONIC COMMUNICATION : ENTIRE MESSAGE SYSTEM --> + <!-- same as Monographs --> + <xsl:when test="./@role='messagesystem'"> + <xsl:call-template name="iso690.monogr"/> + </xsl:when> + + <!-- SYSTEMS OF ELECTRONIC COMMUNICATION : ELECTRONIC MESSAGES --> + <!-- same as Contributions to Monographs --> + <xsl:when test="./@role='message'"> + <xsl:call-template name="iso690.paper.mon"/> + </xsl:when> + + <!-- SERIALS --> + <xsl:when test="./@role='serial' or ./biblioid/@class='issn' or ./issn"> + <xsl:call-template name="iso690.serial"/> + </xsl:when> + + <!-- PARTS OF MONOGRAPHS --> + <xsl:when test="./@role='part' or (./bibliomisc[@role='secnum']|./bibliomisc[@role='sectitle'])"> + <xsl:call-template name="iso690.monogr.part"/> + </xsl:when> + + <!-- CONTRIBUTIONS TO MONOGRAPHS --> + <xsl:when test="./@role='contribution' or (./biblioset/@relation='part' and ./biblioset/@relation='book')"> + <xsl:call-template name="iso690.paper.mon"/> + </xsl:when> + + <!-- ARTICLES, ETC., IN SERIALS --> + <xsl:when test="./@role='article' or (./biblioset/@relation='journal' and ./biblioset/@relation='article')"> + <xsl:call-template name="iso690.article"/> + </xsl:when> + + <!-- PATENT DOCUMENTS --> + <xsl:when test="./@role='patent' or (./bibliomisc[@role='patenttype'] and ./bibliomisc[@role='patentnum'])"> + <xsl:call-template name="iso690.patent"/> + </xsl:when> + + <!-- MONOGRAPHS --> + <xsl:otherwise> + <xsl:call-template name="iso690.monogr"/> + </xsl:otherwise> + + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- MONOGRAPHS --> +<xsl:template name="iso690.monogr"> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility --> + <xsl:call-template name="iso690.secondary"/> + <!-- Edition --> + <xsl:call-template name="iso690.edition"/> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Extent --> + <xsl:call-template name="iso690.extent"/> + <!-- Series --> + <xsl:call-template name="iso690.serie"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number --> + <xsl:call-template name="iso690.isbn"/> +</xsl:template> + +<!-- SERIALS --> +<xsl:template name="iso690.serial"> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Responsibility [nonEL] --> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./bibliomisc[@role='issuing']"/> + </xsl:call-template> + <!-- Issue designation (date and/or num) [nonEL] --> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.issuing"/> + </xsl:if> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Series --> + <xsl:call-template name="iso690.serie"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number --> + <xsl:call-template name="iso690.issn"/> +</xsl:template> + +<!-- PARTS OF MONOGRAPHS --> +<xsl:template name="iso690.monogr.part"> + <!-- Primary responsibility of host document --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium of host document --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility of host document [EL] --> + <xsl:if test="./bibliomisc[@role='medium']"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./volumenum"/> + </xsl:call-template> + <!-- Numeration of the part [nonEL]--> + <xsl:if test="not(./bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.partnr"/> + <!-- Subordinate responsibility [nonEL] --> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.pub"/> + <!-- Location within host --> + <xsl:call-template name="iso690.part.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Numeration within host document [EL] --> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.isbn"/> + </xsl:if> +</xsl:template> + +<!-- CONTRIBUTIONS TO MONOGRAPHS --> +<xsl:template name="iso690.paper.mon"> +<!-- Contribution --> + <xsl:apply-templates mode="iso690.paper.part" select="./biblioset[@relation='part']"/> +<!-- In --> + <xsl:text>In </xsl:text> +<!-- Host --> + <xsl:apply-templates mode="iso690.paper.book" select="./biblioset[@relation='book']"/> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.paper.part"> +<!-- Contribution --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title --> + <xsl:call-template name="iso690.title"> + <xsl:with-param name="italic" select="0"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.paper.book"> +<!-- Host --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility [EL] --> + <xsl:if test="./bibliomisc[@role='medium']"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> + <!-- Edition --> + <xsl:call-template name="iso690.edition"/> + <!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> + <xsl:call-template name="iso690.paper.pub"/> + <!-- Numeration within host document [EL] --> + <!-- Location within host --> + <xsl:call-template name="iso690.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.isbn"/> + </xsl:if> +</xsl:template> + +<!-- ARTICLES, ETC., IN SERIALS --> +<xsl:template name="iso690.article"> +<!-- Article --> + <xsl:apply-templates mode="iso690.article.art" select="./biblioset[@relation='article']"/> +<!-- Serial --> + <xsl:apply-templates mode="iso690.article.jour" select="./biblioset[@relation='journal']"/> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.article.art"> +<!-- Article --> + <!-- Primary responsibility --> + <xsl:call-template name="iso690.primary"/> + <!-- Title --> + <xsl:call-template name="iso690.title"> + <xsl:with-param name="italic" select="0"/> + </xsl:call-template> + <!-- Subordinate responsibility [nonEL] --> + <xsl:if test="not(../*/bibliomisc[@role='medium'])"> + <xsl:call-template name="iso690.secondary"/> + </xsl:if> +</xsl:template> + +<xsl:template match="biblioset" mode="iso690.article.jour"> +<!-- Serial --> + <!-- Title and Type of medium --> + <xsl:call-template name="iso690.title"/> + <!-- Edition --> + <xsl:call-template name="iso690.edition"> + <xsl:with-param name="after" select="./pubdate[not(@role='issuing')]|./volumenum|./issuenum|./pagenums"/> + </xsl:call-template> + <!-- Number designation [EL] --> + <!-- Location within host --> + <xsl:call-template name="iso690.article.location"/> + <xsl:if test="./bibliomisc[@role='medium']"> + <!-- Notes [EL] --> + <xsl:call-template name="iso690.notice"/> + <!-- Avaibility and access [EL] --> + <xsl:call-template name="iso690.access"/> + <!-- Standard number [EL] --> + <xsl:call-template name="iso690.issn"/> + </xsl:if> +</xsl:template> + +<!-- PATENT DOCUMENTS --> +<xsl:template name="iso690.patent"> + <!-- Primary responsibility (applicant) --> + <xsl:call-template name="iso690.primary"/> + <!-- Title of the invention --> + <xsl:call-template name="iso690.title"/> + <!-- Subordinate responsibility --> + <xsl:call-template name="iso690.secondary"/> + <!-- Notes --> + <xsl:call-template name="iso690.notice"/> + <!-- Identification --> + <xsl:call-template name="iso690.pat.ident"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Elements --> + +<!-- Primary responsibility --> +<xsl:template name="iso690.primary"> + <xsl:param name="primary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./authorgroup/author|./author"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/author|.//author"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./authorgroup/editor|./editor"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/editor|.//editor"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./authorgroup/corpauthor|./corpauthor"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select=".//authorgroup/corpauthor|.//corpauthor"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:if test="(./firstname)and(./surname)"> + <xsl:call-template name="iso690.author"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(./firstname[1])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.author.list"> + <xsl:param name="person.list" + select="author|corpauthor|editor"/> + <xsl:param name="person.count" select="count($person.list)"/> + <xsl:param name="count" select="1"/> + <xsl:param name="group" select="./authorgroup[@role='many']"/> + <xsl:param name="many" select="0"/> + + <xsl:param name="primary.many"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.many'"/></xsl:call-template> + </xsl:param> + <xsl:param name="primary.editor"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.editor'"/></xsl:call-template> + </xsl:param> + <xsl:param name="primary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'primary.sep'"/></xsl:call-template> + </xsl:param> + + <xsl:choose> + <xsl:when test="$count > $person.count"></xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$person.count < 4 and not($group)"> + <xsl:call-template name="iso690.author"> + <xsl:with-param name="node" select="$person.list[position()=$count]"/> + </xsl:call-template> + <xsl:choose> + <xsl:when test="$person.count = 2 and $count = 1 and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.two.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$person.count = 2 and $count = 1"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'sep2'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$person.count > 2 and $count+1 = $person.count and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.last.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$person.count > 2 and $count+1 = $person.count"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'seplast'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$count < $person.count and $biblioentry.alt.primary.seps != 0"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'alt.person.more.sep'"/></xsl:call-template> + </xsl:when> + <xsl:when test="$count < $person.count"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'authorgroup'"/> + <xsl:with-param name="name" select="'sep'"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="($count = $person.count)"> + <xsl:choose> + <xsl:when test="$many!=0"> + <xsl:if test="name($person.list[position()=$count])='editor'"> + <xsl:value-of select="$primary.editor"/> + </xsl:if> + <xsl:value-of select="$primary.many"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$primary.many"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="name($person.list[position()=$count])='editor'"> + <xsl:value-of select="$primary.editor"/> + <xsl:value-of select="$primary.sep"/> + </xsl:when> + <xsl:when test="name($person.list[position()=$count])='corpauthor'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string($person.list[position()=$count])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string($person.list[position()=$count]//firstname[1])"/> + <xsl:with-param name="sep" select="$primary.sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> + + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list"/> + <xsl:with-param name="person.count" select="$person.count"/> + <xsl:with-param name="count" select="$count+1"/> + <xsl:with-param name="many" select="$many"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:choose> + <xsl:when test="($biblioentry.primary.count>=3) and ($person.count>=3)"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]|$person.list[2]|$person.list[3]"/> + <xsl:with-param name="person.count" select="3"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="($biblioentry.primary.count>1) and ($person.count>1)"> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]|$person.list[2]"/> + <xsl:with-param name="person.count" select="2"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.author.list"> + <xsl:with-param name="person.list" select="$person.list[1]"/> + <xsl:with-param name="person.count" select="1"/> + <xsl:with-param name="count" select="1"/> + <xsl:with-param name="many" select="1"/> + <xsl:with-param name="group"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.author"> + <xsl:param name="node" select="."/> + <xsl:param name="lastfirst.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'lastfirst.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="name($node)!='corpauthor'"> + <span style="text-transform:uppercase"> + <xsl:apply-templates mode="iso690.mode" select="$node//surname[1]"/> + </span> + <xsl:if test="$node//surname and $node//firstname"> + <xsl:value-of select="$lastfirst.sep"/> + </xsl:if> + <xsl:apply-templates mode="iso690.mode" select="$node//firstname[1]"/> + </xsl:when> + <xsl:otherwise> + <span style="text-transform:uppercase"> + <xsl:apply-templates mode="iso690.mode" select="$node"/> + </span> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="corpauthor|firstname|surname" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Title and Type of medium --> +<xsl:template name="iso690.title"> + <xsl:param name="medium" select="./bibliomisc[@role='medium']"/> + <xsl:param name="italic" select="1"/> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'title.sep'"/></xsl:call-template> + </xsl:param> + + <xsl:apply-templates mode="iso690.mode" select="./title"> + <xsl:with-param name="medium" select="$medium"/> + <xsl:with-param name="italic" select="$italic"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="title" mode="iso690.mode"> + <xsl:param name="medium"/> + <xsl:param name="italic" select="1"/> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'title.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="medium1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'medium1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="medium2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'medium2'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="$italic=1"> + <xsl:call-template name="iso690.italic.title"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.make.title"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="$medium"> + <xsl:value-of select="$medium1"/> + <xsl:apply-templates mode="iso690.mode" select="$medium"/> + <xsl:value-of select="$medium2"/> + </xsl:if> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="concat(string(.),string(../subtitle))"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="iso690.italic.title"> + <i> + <xsl:call-template name="iso690.make.title"/> + </i> +</xsl:template> + +<xsl:template name="iso690.make.title"> + <xsl:param name="submaintitle.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'submaintitle.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:if test="../subtitle|../info/subtitle"> + <xsl:value-of select="$submaintitle.sep"/> + <xsl:apply-templates mode="iso690.mode" select="../subtitle|../info/subtitle"/> + </xsl:if> +</xsl:template> + +<xsl:template match="subtitle" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<xsl:template match="bibliomisc[@role='medium']" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Subordinate responsibility --> +<xsl:template name="iso690.secondary"> + <xsl:param name="secondary.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'secondary.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="secondary.person.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'secondary.person.sep'"/></xsl:call-template> + </xsl:param> + <xsl:for-each select="./bibliomisc[@role='secondary']"> + <xsl:apply-templates mode="iso690.mode" select="."/> + <xsl:choose> + <xsl:when test="position()=count(../bibliomisc[@role='secondary'])"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$secondary.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$secondary.person.sep"/> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> +</xsl:template> + +<xsl:template match="bibliomisc[@role='secondary']" mode="iso690.mode"> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Edition --> +<xsl:template name="iso690.edition"> + <xsl:param name="after"/> + <xsl:param name="edition.serial.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'edition.serial.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="string($after)!=''"> + <xsl:apply-templates mode="iso690.mode" select="./edition"> + <xsl:with-param name="sep" select="$edition.serial.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./edition"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="edition" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'edition.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Issue designation (date and/or num) --> +<xsl:template name="iso690.issuing"> + <xsl:param name="issuing.div"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.div'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.range"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.range'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum[2] and ./issuenum[2]"> + <xsl:call-template name="iso690.issuedate"/> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[1]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum[1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[2]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum[2]"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum[2]"> + <xsl:call-template name="iso690.issuedate"/> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum[2]"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing'] and ./volumenum and ./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pubdate[@role='issuing']"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./volumenum"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$issuing.sep"/> + </xsl:apply-templates> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.issuedate"> + <xsl:param name="issuing.div"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.div'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.range"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.range'"/></xsl:call-template> + </xsl:param> + <xsl:param name="issuing.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issuing.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pubdate[@role='issuing'][2]"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing'][1]"> + <xsl:with-param name="sep" select="$issuing.range"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing'][2]"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[@role='issuing']"> + <xsl:with-param name="sep" select="$issuing.div"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="pubdate[@role='issuing']" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:variable name="substr" select="substring(string(.),string-length(string(.)))"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.space"> + <xsl:with-param name="text" select="$substr"/> + </xsl:call-template> + <xsl:choose> + <xsl:when test="$substr='-'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="' '"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- Numeration of the part --> +<xsl:template name="iso690.partnr"> + <xsl:param name="partnr.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'partnr.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$partnr.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Place of publication, Publisher, Year/Date of publication, Date of update/revision, Date of citation --> +<xsl:template name="iso690.pub"> + <xsl:param name="onlydate" select="0"/> + <xsl:param name="placesep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'placepubl.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="pubsep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'publyear.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="endsep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'pubinfo.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="(./publisher/publishername|./publishername|./publisher/address/city)and($onlydate=0)and(./pubdate[not(@role='issuing')]|./copyright/year|./date[@role='upd']|./date[@role='upd'])"> + <xsl:apply-templates mode="iso690.mode" select="./publisher/address/city"> + <xsl:with-param name="sep" select="$placesep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./publisher/publishername|./publishername"> + <xsl:with-param name="sep" select="$pubsep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]|./copyright/year"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + <xsl:if test="not(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:when test="(./publisher/publishername|./publishername)and(./publisher/address/city)and($onlydate=0)"> + <xsl:apply-templates mode="iso690.mode" select="./publisher/address/city"> + <xsl:with-param name="sep" select="$placesep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./publisher/publishername|./publishername"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="($onlydate=1)or(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]|./copyright/year"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:apply-templates> + <xsl:if test="$onlydate=1"> + <xsl:call-template name="iso690.location"> + <xsl:with-param name="onlypages" select="1"/> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:when test="not(./pubdate[not(@role='issuing')]|./copyright/year)"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$endsep"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.paper.pub"> + <xsl:param name="spec.pubinfo.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'spec.pubinfo.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./volumnum|./issuenum|./pagenums"> + <xsl:call-template name="iso690.pub"> + <xsl:with-param name="endsep" select="$spec.pubinfo.sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.pub"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.data"> + <xsl:param name="sep"/> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./date[@role='upd']"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + <xsl:apply-templates mode="iso690.mode" select="./date[@role='cit']"/> + <xsl:choose> + <xsl:when test="./date[@role='cit']"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$datecit2"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="./date[@role='upd']"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(./date[@role='upd'])"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="publisher/address/city|publishername" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:param name="upd" select="0"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="pubdate|copyright/year" mode="iso690.mode"> + <xsl:param name="sep"/> + <xsl:param name="upd" select="1"/> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:variable name="substr" select="substring(string(.),string-length(string(.)))"/> + <xsl:if test="name(.)!='pubdate'"> + <xsl:value-of select="'©'"/><!-- copyright --> + </xsl:if> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.space"> + <xsl:with-param name="text" select="$substr"/> + </xsl:call-template> + <xsl:if test="$upd!=0"> + <xsl:choose> + <xsl:when test="name(.)='pubdate'"> + <xsl:apply-templates mode="iso690.mode" select="../date[@role='upd']"/> + <xsl:apply-templates mode="iso690.mode" select="../date[@role='cit']"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="../../date[@role='upd']"/> + <xsl:apply-templates mode="iso690.mode" select="../../date[@role='cit']"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <xsl:choose> + <xsl:when test="../date[@role='cit']|../../date[@role='cit'] and $upd!=0"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="$datecit2"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../date[@role='upd']|../../date[@role='upd'] and $upd!=0"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(../date[@role='upd'])"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$substr='-'"> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="' '"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.space"> + <xsl:param name="text" select="substring(string(.),string-length(string(.)))"/> + <xsl:if test="$text='-'"> + <xsl:value-of select="' '"/> + </xsl:if> +</xsl:template> + +<!-- Date of update/revision --> +<xsl:template match="date[@role='upd']" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'upd.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$sep"/> + <xsl:apply-templates mode="iso690.mode"/> +</xsl:template> + +<!-- Date of citation --> +<xsl:template match="date[@role='cit']" mode="iso690.mode"> + <xsl:param name="datecit1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="datecit2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'datecit2'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$datecit1"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$datecit2"/> +</xsl:template> + +<!-- Extent --> +<xsl:template name="iso690.extent"> + <xsl:param name="extent.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'extent.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"> + <xsl:with-param name="sep" select="$extent.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Location within host --> +<xsl:template name="iso690.part.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='sectitle']"/> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + <xsl:when test="./bibliomisc[@role='sectitle']"> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='sectitle']"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='secnum']"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.article.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:param name="locs.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="not(./date[@role='upd']|./date[@role='cit'])"> + <xsl:choose> + <xsl:when test="./volumenum|./issuenum|./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:apply-templates> + <xsl:call-template name="iso690.location"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="./volumenum|./issuenum|./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="upd" select="0"/> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="./issuenum"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="./pagenums"> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$locs.sep"/> + </xsl:call-template> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="iso690.data"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="iso690.location"> + <xsl:param name="location.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="./volumenum and not(./issuenum) and not(./pagenums)"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./issuenum and not(./pagenums)"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"> + <xsl:with-param name="sep" select="$location.sep"/> + </xsl:apply-templates> + </xsl:when> + <xsl:when test="./pagenums"> + <xsl:apply-templates mode="iso690.mode" select="./volumenum"/> + <xsl:apply-templates mode="iso690.mode" select="./issuenum"/> + <xsl:apply-templates mode="iso690.mode" select="./pagenums"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="bibliomisc[@role='secnum']|bibliomisc[@role='sectitle']" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="volumenum|issuenum" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'locs.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="pagenums" mode="iso690.mode"> + <xsl:param name="sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'location.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Series --> +<xsl:template name="iso690.serie"> + <xsl:apply-templates mode="iso690.mode" select=".//bibliomisc[@role='serie']"/> +</xsl:template> + +<!-- Notes --> +<xsl:template name="iso690.notice"> + <xsl:apply-templates mode="iso690.mode" select=".//bibliomisc[not(@role)]"/> +</xsl:template> + +<xsl:template match="bibliomisc[not(@role)]|bibliomisc[@role='serie']" mode="iso690.mode"> + <xsl:param name="notice.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'notice.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="string(.)"/> + <xsl:with-param name="sep" select="$notice.sep"/> + </xsl:call-template> +</xsl:template> + +<!-- Avaibility and access --> +<xsl:template name="iso690.access"> + <xsl:for-each select="./biblioid[@class='uri']|./bibliomisc[@role='access']"> + <xsl:choose> + <xsl:when test="position()=1"> + <xsl:apply-templates mode="iso690.mode" select="."/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="."> + <xsl:with-param name="firstacc" select="0"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> +</xsl:template> + +<xsl:template match="biblioid[@class='uri']/ulink|bibliomisc[@role='access']/ulink" mode="iso690.mode"> + <xsl:param name="link1"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'link1'"/></xsl:call-template> + </xsl:param> + <xsl:param name="link2"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'link2'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$link1"/> + <xsl:call-template name="ulink"/> + <xsl:value-of select="$link2"/> +</xsl:template> + +<xsl:template match="biblioid[@class='uri']|bibliomisc[@role='access']" mode="iso690.mode"> + <xsl:param name="firstacc" select="1"/> + <xsl:param name="access"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access'"/></xsl:call-template> + </xsl:param> + <xsl:param name="acctoo"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'acctoo'"/></xsl:call-template> + </xsl:param> + <xsl:param name="onwww"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'onwww'"/></xsl:call-template> + </xsl:param> + <xsl:param name="oninet"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'oninet'"/></xsl:call-template> + </xsl:param> + <xsl:param name="access.end"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access.end'"/></xsl:call-template> + </xsl:param> + <xsl:param name="access.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'access.sep'"/></xsl:call-template> + </xsl:param> + <xsl:choose> + <xsl:when test="$firstacc=1"> + <xsl:value-of select="$access"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$acctoo"/> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="(./ulink)and(string(./ulink)=string(.))"> + <xsl:choose> + <xsl:when test="(starts-with(./ulink/@url,'http://')or(starts-with(./ulink/@url,'https://')))"> + <xsl:value-of select="$onwww"/> + <xsl:value-of select="$access.end"/> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$oninet"/> + <xsl:value-of select="$access.end"/> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="(./ulink)and(string(./ulink)!=string(.))"> + <xsl:value-of select="text()[1]"/> + <xsl:call-template name="iso690.endsep"> + <xsl:with-param name="text" select="text()[1]"/> + <xsl:with-param name="sep" select="$access.end"/> + </xsl:call-template> + <xsl:apply-templates mode="iso690.mode" select="./ulink"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="$access.sep"/> +</xsl:template> + +<!-- Standard number - ISBN --> +<xsl:template name="iso690.isbn"> + <xsl:choose> + <xsl:when test="./biblioid/@class='isbn'"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='isbn']"/> + </xsl:when> + <xsl:when test="./isbn"> + <xsl:apply-templates mode="iso690.mode" select="./isbn"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="isbn|biblioid[@class='isbn']" mode="iso690.mode"> + <xsl:param name="isbn"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'isbn'"/></xsl:call-template> + </xsl:param> + <xsl:param name="stdnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'stdnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$isbn"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$stdnum.sep"/> +</xsl:template> + +<!-- Standard number - ISSN --> +<xsl:template name="iso690.issn"> + <xsl:choose> + <xsl:when test="./biblioid/@class='issn'"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='issn']"/> + </xsl:when> + <xsl:when test="./issn"> + <xsl:apply-templates mode="iso690.mode" select="./issn"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="issn|biblioid[@class='issn']" mode="iso690.mode"> + <xsl:param name="issn"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'issn'"/></xsl:call-template> + </xsl:param> + <xsl:param name="stdnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'stdnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:value-of select="$issn"/> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$stdnum.sep"/> +</xsl:template> + +<!-- Identification of patent document --> +<xsl:template name="iso690.pat.ident"> + <xsl:param name="patdate.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patdate.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode" select="./address/country"/> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='patenttype']"/> + <xsl:choose> + <xsl:when test="./biblioid[@class='other' and @otherclass='patentnum']"> + <xsl:apply-templates mode="iso690.mode" select="./biblioid[@class='other' and @otherclass='patentnum']"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="iso690.mode" select="./bibliomisc[@role='patentnum']"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates mode="iso690.mode" select="./pubdate[not(@role='issuing')]"> + <xsl:with-param name="sep" select="$patdate.sep"/> + </xsl:apply-templates> +</xsl:template> + +<!-- Country or issuing office --> +<xsl:template match="address/country" mode="iso690.mode"> + <xsl:param name="patcountry.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patcountry.sep'"/></xsl:call-template> + </xsl:param> + <i> + <xsl:apply-templates mode="iso690.mode"/> + </i> + <xsl:value-of select="$patcountry.sep"/> +</xsl:template> + +<!-- Kind of patent document --> +<xsl:template match="bibliomisc[@role='patenttype']" mode="iso690.mode"> + <xsl:param name="pattype.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'pattype.sep'"/></xsl:call-template> + </xsl:param> + <i> + <xsl:apply-templates mode="iso690.mode"/> + </i> + <xsl:value-of select="$pattype.sep"/> +</xsl:template> + +<!-- Number --> +<xsl:template match="biblioid[@class='other' and @otherclass='patentnum']|bibliomisc[@role='patentnum']" mode="iso690.mode"> + <xsl:param name="patnum.sep"> + <xsl:call-template name="gentext.template"><xsl:with-param name="context" select="'iso690'"/><xsl:with-param name="name" select="'patnum.sep'"/></xsl:call-template> + </xsl:param> + <xsl:apply-templates mode="iso690.mode"/> + <xsl:value-of select="$patnum.sep"/> +</xsl:template> + +<!-- ==================================================================== --> +<!-- Supplementary templates --> + +<xsl:template name="iso690.endsep"> + <xsl:param name="text"/> + <xsl:param name="sep" select=". "/> + <xsl:choose> + <xsl:when test="substring($text,string-length($text))!=substring($sep,1,1)"> + <xsl:value-of select="$sep"/> + </xsl:when> + <xsl:when test="substring($text,string-length($text))=' '"> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="' '"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="iso690.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/biblio.xsl b/apache-fop/src/test/resources/docbook-xsl/html/biblio.xsl new file mode 100644 index 0000000000..ff41c9ec59 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/biblio.xsl @@ -0,0 +1,1382 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: biblio.xsl 9297 2012-04-22 03:56:16Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="bibliography"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="bibliography.titlepage"/> + + <xsl:apply-templates/> + + <xsl:if test="not(parent::article)"> + <xsl:call-template name="process.footnotes"/> + </xsl:if> + </div> +</xsl:template> + +<xsl:template match="bibliography/bibliographyinfo"></xsl:template> +<xsl:template match="bibliography/info"></xsl:template> +<xsl:template match="bibliography/title"></xsl:template> +<xsl:template match="bibliography/subtitle"></xsl:template> +<xsl:template match="bibliography/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="bibliodiv"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="0"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="bibliodiv/title"> + <h3> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select=".."/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates/> + </h3> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="bibliolist"> + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="0"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:if test="blockinfo/title|info/title|title"> + <xsl:call-template name="formal.object.heading"/> + </xsl:if> + <xsl:apply-templates select="*[not(self::blockinfo) + and not(self::info) + and not(self::title) + and not(self::titleabbrev) + and not(self::biblioentry) + and not(self::bibliomixed)]"/> + <xsl:apply-templates select="biblioentry|bibliomixed"/> + </div> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="biblioentry"> + <xsl:param name="label"> + <xsl:call-template name="biblioentry.label"/> + </xsl:param> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="entry" select="$bib/bibliography// + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:apply-templates select="$entry"> + <xsl:with-param name="label" select="$label"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$entry"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <p> + <xsl:copy-of select="$label"/> + <xsl:text>Error: no bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <p> + <xsl:copy-of select="$label"/> + <xsl:choose> + <xsl:when test="$bibliography.style = 'iso690'"> + <xsl:call-template name="iso690.makecitation"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="bibliography.mode"/> + </xsl:otherwise> + </xsl:choose> + </p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="bibliomixed"> + <xsl:param name="label"> + <xsl:call-template name="biblioentry.label"/> + </xsl:param> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="entry" select="$bib/bibliography// + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:apply-templates select="$entry"> + <xsl:with-param name="label" select="$label"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$entry"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <p> + <xsl:copy-of select="$label"/> + <xsl:text>Error: no bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <p> + <xsl:call-template name="common.html.attributes"/> + <xsl:copy-of select="$label"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="biblioentry.label"> + <xsl:param name="node" select="."/> + + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:text>[</xsl:text> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="local-name($node/child::*[1]) = 'abbrev'"> + <xsl:text>[</xsl:text> + <xsl:apply-templates select="$node/abbrev[1]"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="$node/@xreflabel"> + <xsl:text>[</xsl:text> + <xsl:value-of select="$node/@xreflabel"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="$node/@id"> + <xsl:text>[</xsl:text> + <xsl:value-of select="$node/@id"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:when test="$node/@xml:id"> + <xsl:text>[</xsl:text> + <xsl:value-of select="$node/@xml:id"/> + <xsl:text>] </xsl:text> + </xsl:when> + <xsl:otherwise><!-- nop --></xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="bibliography.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<xsl:template match="abbrev" mode="bibliography.mode"> + <xsl:if test="preceding-sibling::*"> + <xsl:apply-templates mode="bibliography.mode"/> + </xsl:if> +</xsl:template> + +<xsl:template match="abstract" mode="bibliography.mode"> + <!-- suppressed --> +</xsl:template> + +<xsl:template match="address" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="affiliation" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="shortaffil" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="jobtitle" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="artheader|articleinfo|info" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="artpagenums" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="author" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates select="orgname" mode="bibliography.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </xsl:otherwise> + </xsl:choose> + </span> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="bibliography.mode"> + <!-- suppressed --> +</xsl:template> + +<xsl:template match="authorgroup" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="person.name.list"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="authorinitials" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="bibliomisc" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="bibliomset" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="biblioset" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + </span> +</xsl:template> + +<xsl:template match="biblioset/title|biblioset/citetitle" + mode="bibliography.mode"> + <xsl:variable name="relation" select="../@relation"/> + <xsl:choose> + <xsl:when test="$relation='article' or @pubwork='article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <i><xsl:apply-templates/></i> + </xsl:otherwise> + </xsl:choose> + <xsl:copy-of select="$biblioentry.item.separator"/> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="citetitle" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="@pubwork = 'article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:call-template name="inline.charseq"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="inline.italicseq"/> + </xsl:otherwise> + </xsl:choose> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="collab" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="collabname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="confgroup" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="confdates" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="conftitle" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="confnum" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="confsponsor" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="contractnum" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="contractsponsor" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="contrib" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="copyright" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="year" mode="bibliography.mode"/> + <xsl:if test="holder"> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="holder" mode="bibliography.mode"/> + </xsl:if> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="year" mode="bibliography.mode"> + <xsl:apply-templates/><xsl:text>, </xsl:text> +</xsl:template> + +<xsl:template match="year[position()=last()]" mode="bibliography.mode"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="holder" mode="bibliography.mode"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="corpauthor" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="corpcredit" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="corpname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="date" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="edition" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="editor" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="person.name"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="firstname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="honorific" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="indexterm" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="invpartnumber" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="isbn" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="issn" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="issuenum" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="lineage" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="orgname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="orgdiv" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="othercredit" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="othername" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="pagenums" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="printhistory" mode="bibliography.mode"> + <!-- suppressed --> +</xsl:template> + +<xsl:template match="productname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="productnumber" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="pubdate" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="publisher" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + </span> +</xsl:template> + +<xsl:template match="publishername" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="pubsnumber" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="releaseinfo" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="revhistory" mode="bibliography.mode"> + <!-- suppressed; how could this be represented? --> +</xsl:template> + +<xsl:template match="seriesinfo" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + </span> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="surname" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="title" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <i><xsl:apply-templates mode="bibliography.mode"/></i> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="titleabbrev" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="volumenum" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" + mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliography.mode"/> + <xsl:copy-of select="$biblioentry.item.separator"/> + </span> +</xsl:template> + +<!-- See FR #1934434 and http://doi.org --> +<xsl:template match="biblioid[@class='doi']" + mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a> + </span> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="bibliomixed.mode"> + <xsl:apply-templates select="."/><!-- try the default mode --> +</xsl:template> + +<xsl:template match="abbrev" mode="bibliomixed.mode"> + <xsl:if test="preceding-sibling::*"> + <xsl:apply-templates mode="bibliomixed.mode"/> + </xsl:if> +</xsl:template> + +<xsl:template match="abstract" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="address" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="affiliation" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="shortaffil" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="jobtitle" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="artpagenums" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="author" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates select="orgname" mode="bibliomixed.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + </xsl:otherwise> + </xsl:choose> + </span> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="authorgroup" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="authorinitials" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="bibliomisc" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="bibliomset" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="bibliomset/title|bibliomset/citetitle" + mode="bibliomixed.mode"> + <xsl:variable name="relation" select="../@relation"/> + <xsl:choose> + <xsl:when test="$relation='article' or @pubwork='article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:apply-templates/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <i><xsl:apply-templates/></i> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ================================================== --> + +<xsl:template match="biblioset" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="citetitle" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="@pubwork = 'article'"> + <xsl:call-template name="gentext.startquote"/> + <xsl:call-template name="inline.charseq"/> + <xsl:call-template name="gentext.endquote"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="inline.italicseq"/> + </xsl:otherwise> + </xsl:choose> + </span> +</xsl:template> + + +<xsl:template match="collab" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="confgroup" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="contractnum" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="contractsponsor" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="contrib" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="copyright" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="corpauthor" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="corpcredit" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="corpname" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="date" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="edition" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="editor" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="firstname" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="honorific" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="indexterm" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="invpartnumber" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="isbn" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="issn" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="issuenum" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="lineage" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="orgname" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="othercredit" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="othername" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="pagenums" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="printhistory" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="productname" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="productnumber" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="pubdate" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="publisher" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="publishername" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="pubsnumber" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="releaseinfo" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="revhistory" mode="bibliomixed.mode"> + <!-- suppressed; how could this be represented? --> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="surname" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="title" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="titleabbrev" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="volumenum" mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" + mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="bibliomixed.mode"/> + </span> +</xsl:template> + +<!-- See FR #1934434 and http://doi.org --> +<xsl:template match="biblioid[@class='doi']" + mode="bibliomixed.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a> + </span> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/block.xsl b/apache-fop/src/test/resources/docbook-xsl/html/block.xsl new file mode 100644 index 0000000000..bbb73676e4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/block.xsl @@ -0,0 +1,583 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: block.xsl 9667 2012-11-26 23:10:44Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- What should we do about styling blockinfo? --> + +<xsl:template match="blockinfo|info"> + <!-- suppress --> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="block.object"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="para"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class"> + <xsl:if test="@role and $para.propagates.style != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:if test="position() = 1 and parent::listitem"> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select="parent::listitem"/> + </xsl:call-template> + </xsl:if> + + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template name="paragraph"> + <xsl:param name="class" select="''"/> + <xsl:param name="content"/> + + <xsl:variable name="p"> + <p> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="$class != ''"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="class" select="$class"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="class" select="''"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + + <xsl:copy-of select="$content"/> + </p> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$html.cleanup != 0"> + <xsl:call-template name="unwrap.p"> + <xsl:with-param name="p" select="$p"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$p"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="simpara"> + <!-- see also listitem/simpara in lists.xsl --> + <p> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="locale.html.attributes"/> + <xsl:if test="@role and $para.propagates.style != 0"> + <xsl:apply-templates select="." mode="class.attribute"> + <xsl:with-param name="class" select="@role"/> + </xsl:apply-templates> + </xsl:if> + + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </p> +</xsl:template> + +<xsl:template match="formalpara"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class"> + <xsl:if test="@role and $para.propagates.style != 0"> + <xsl:value-of select="@role"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<!-- Only use title from info --> +<xsl:template match="formalpara/info"> + <xsl:apply-templates select="title"/> +</xsl:template> + +<xsl:template match="formalpara/title|formalpara/info/title"> + <xsl:variable name="titleStr"> + <xsl:apply-templates/> + </xsl:variable> + <xsl:variable name="lastChar"> + <xsl:if test="$titleStr != ''"> + <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/> + </xsl:if> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <span class="formalpara-title"> + <xsl:copy-of select="$titleStr"/> + <xsl:if test="$lastChar != '' + and not(contains($runinhead.title.end.punct, $lastChar))"> + <xsl:value-of select="$runinhead.default.title.end.punct"/> + </xsl:if> + <xsl:text> </xsl:text> + </span> + </xsl:when> + <xsl:otherwise> + <b> + <xsl:copy-of select="$titleStr"/> + <xsl:if test="$lastChar != '' + and not(contains($runinhead.title.end.punct, $lastChar))"> + <xsl:value-of select="$runinhead.default.title.end.punct"/> + </xsl:if> + <xsl:text> </xsl:text> + </b> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="formalpara/para"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="blockquote"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + + <xsl:choose> + <xsl:when test="attribution"> + <table border="{$table.border.off}" class="blockquote"> + <xsl:if test="$css.decoration != 0"> + <xsl:attribute name="style"> + <xsl:text>width: 100%; cellspacing: 0; cellpadding: 0;</xsl:text> + </xsl:attribute> + </xsl:if> + <xsl:if test="$div.element != 'section'"> + <xsl:attribute name="summary">Block quote</xsl:attribute> + </xsl:if> + <tr> + <td width="10%" valign="top"> </td> + <td width="80%" valign="top"> + <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/> + </td> + <td width="10%" valign="top"> </td> + </tr> + <tr> + <td width="10%" valign="top"> </td> + <td colspan="2" align="{$direction.align.end}" valign="top"> + <xsl:text>--</xsl:text> + <xsl:apply-templates select="attribution"/> + </td> + </tr> + </table> + </xsl:when> + <xsl:otherwise> + <blockquote> + <xsl:call-template name="common.html.attributes"/> + <xsl:apply-templates/> + </blockquote> + </xsl:otherwise> + </xsl:choose> + </div> +</xsl:template> + +<xsl:template match="blockquote/title|blockquote/info/title"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="blockquote-title"> + <xsl:apply-templates/> + </div> + </xsl:when> + <xsl:otherwise> + <div class="blockquote-title"> + <p> + <b> + <xsl:apply-templates/> + </b> + </p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- Use an em dash per Chicago Manual of Style and https://sourceforge.net/tracker/index.php?func=detail&aid=2793878&group_id=21935&atid=373747 --> +<xsl:template match="epigraph"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="para|simpara|formalpara|literallayout"/> + <xsl:if test="attribution"> + <div class="attribution"> + <span>—<xsl:apply-templates select="attribution"/></span> + </div> + </xsl:if> + </div> +</xsl:template> + +<xsl:template match="attribution"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates/> + </span> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="sidebar"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:call-template name="sidebar.titlepage"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="abstract/title|sidebar/title"> +</xsl:template> + +<xsl:template match="sidebar/sidebarinfo|sidebar/info"/> + +<xsl:template match="abstract"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="anchor"/> + <xsl:call-template name="formal.object.heading"> + <xsl:with-param name="title"> + <xsl:apply-templates select="." mode="title.markup"> + <xsl:with-param name="allow-anchors" select="'1'"/> + </xsl:apply-templates> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates/> + </div> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="msgset"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgentry"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="simplemsgentry"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msg"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msgmain"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgmain/title"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <span class="msgmain-title"> + <xsl:apply-templates/> + </span> + </xsl:when> + <xsl:otherwise> + <b><xsl:apply-templates/></b> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgsub"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgsub/title"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <span class="msgsub-title"> + <xsl:apply-templates/> + </span> + </xsl:when> + <xsl:otherwise> + <b><xsl:apply-templates/></b> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgrel"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msgrel/title"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <span class="msgrel-title"> + <xsl:apply-templates/> + </span> + </xsl:when> + <xsl:otherwise> + <b><xsl:apply-templates/></b> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgtext"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="msginfo"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msglevel"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="msglevel"> + <span class="msglevel-title"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgLevel'"/> + </xsl:call-template> + </span> + <xsl:apply-templates/> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgLevel'"/> + </xsl:call-template> + </b> + <xsl:apply-templates/> + </p> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgorig"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="msgorig"> + <span class="msgorig-title"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgOrig'"/> + </xsl:call-template> + </span> + <xsl:apply-templates/> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgOrig'"/> + </xsl:call-template> + </b> + <xsl:apply-templates/> + </p> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgaud"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="msgaud"> + <span class="msgaud-title"> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgAud'"/> + </xsl:call-template> + </span> + <xsl:apply-templates/> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'msgset'"/> + <xsl:with-param name="name" select="'MsgAud'"/> + </xsl:call-template> + </b> + <xsl:apply-templates/> + </p> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="msgexplan"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<xsl:template match="msgexplan/title"> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <div class="msgexplan"> + <span class="msgexplan-title"> + <xsl:apply-templates/> + </span> + </div> + </xsl:when> + <xsl:otherwise> + <p> + <b> + <xsl:apply-templates/> + </b> + </p> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="revhistory"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <table> + <xsl:if test="$css.decoration != 0"> + <xsl:attribute name="style"> + <xsl:text>border-style:solid; width:100%;</xsl:text> + </xsl:attribute> + </xsl:if> + <!-- include summary attribute if not HTML5 --> + <xsl:if test="$div.element != 'section'"> + <xsl:attribute name="summary"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">revhistory</xsl:with-param> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + <tr> + <th align="{$direction.align.start}" valign="top" colspan="3"> + <b> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RevHistory'"/> + </xsl:call-template> + </b> + </th> + </tr> + <xsl:apply-templates/> + </table> + </div> +</xsl:template> + +<xsl:template match="revhistory/revision"> + <xsl:variable name="revnumber" select="revnumber"/> + <xsl:variable name="revdate" select="date"/> + <xsl:variable name="revauthor" select="authorinitials|author"/> + <xsl:variable name="revremark" select="revremark|revdescription"/> + <tr> + <td align="{$direction.align.start}"> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Revision'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="$revnumber"/> + </xsl:if> + </td> + <td align="{$direction.align.start}"> + <xsl:apply-templates select="$revdate"/> + </td> + <xsl:choose> + <xsl:when test="count($revauthor)=0"> + <td align="{$direction.align.start}"> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">nbsp</xsl:with-param> + </xsl:call-template> + </td> + </xsl:when> + <xsl:otherwise> + <td align="{$direction.align.start}"> + <xsl:for-each select="$revauthor"> + <xsl:apply-templates select="."/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </td> + </xsl:otherwise> + </xsl:choose> + </tr> + <xsl:if test="$revremark"> + <tr> + <td align="{$direction.align.start}" colspan="3"> + <xsl:apply-templates select="$revremark"/> + </td> + </tr> + </xsl:if> +</xsl:template> + +<xsl:template match="revision/revnumber"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/date"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/authorinitials"> + <xsl:text>, </xsl:text> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/authorinitials[1]" priority="2"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/revremark"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template match="revision/revdescription"> + <xsl:apply-templates/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="ackno|acknowledgements[parent::article]"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="highlights"> + <xsl:call-template name="block.object"/> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/callout.xsl b/apache-fop/src/test/resources/docbook-xsl/html/callout.xsl new file mode 100644 index 0000000000..dfdb423b37 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/callout.xsl @@ -0,0 +1,222 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" + xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" + xmlns:lxslt="http://xml.apache.org/xslt" + exclude-result-prefixes="sverb xverb lxslt" + version='1.0'> + +<!-- ******************************************************************** + $Id: callout.xsl 9305 2012-04-27 21:50:53Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<lxslt:component prefix="xverb" + functions="insertCallouts"/> + +<xsl:template match="programlistingco|screenco"> + <xsl:variable name="verbatim" select="programlisting|screen"/> + + <xsl:choose> + <xsl:when test="$use.extensions != '0' + and $callouts.extension != '0'"> + <xsl:variable name="rtf"> + <xsl:apply-templates select="$verbatim"> + <xsl:with-param name="suppress-numbers" select="'1'"/> + </xsl:apply-templates> + </xsl:variable> + + <xsl:variable name="rtf-with-callouts"> + <xsl:choose> + <xsl:when test="function-available('sverb:insertCallouts')"> + <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/> + </xsl:when> + <xsl:when test="function-available('xverb:insertCallouts')"> + <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No insertCallouts function is available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$verbatim/@linenumbering = 'numbered' + and $linenumbering.extension != '0'"> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf-with-callouts"/> + <xsl:with-param name="pi.context" + select="programlisting|screen"/> + </xsl:call-template> + <xsl:apply-templates select="calloutlist"/> + </div> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$rtf-with-callouts"/> + <xsl:apply-templates select="calloutlist"/> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates/> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="areaspec|areaset|area"> +</xsl:template> + +<xsl:template match="areaset" mode="conumber"> + <xsl:number count="area|areaset" format="1"/> +</xsl:template> + +<xsl:template match="area" mode="conumber"> + <xsl:number count="area|areaset" format="1"/> +</xsl:template> + +<xsl:template match="co" name="co"> + <!-- Support a single linkend in HTML --> + <xsl:variable name="targets" select="key('id', @linkends)"/> + <xsl:variable name="target" select="$targets[1]"/> + <xsl:choose> + <xsl:when test="$target"> + <a> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <!-- force an id attribute here --> + <xsl:if test="@id or @xml:id"> + <xsl:attribute name="name"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="id.attribute"/> + </xsl:otherwise> + </xsl:choose> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="." mode="callout-bug"/> + </a> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$generate.id.attributes != 0"> + <xsl:if test="@id or @xml:id"> + <span> + <xsl:attribute name="id"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </span> + </xsl:if> + </xsl:if> + <xsl:call-template name="anchor"/> + <xsl:apply-templates select="." mode="callout-bug"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="coref"> + <!-- tricky; this relies on the fact that we can process the "co" that's --> + <!-- "over there" as if it were "right here" --> + + <xsl:variable name="co" select="key('id', @linkend)"/> + <xsl:choose> + <xsl:when test="not($co)"> + <xsl:message> + <xsl:text>Error: coref link is broken: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + </xsl:when> + <xsl:when test="local-name($co) != 'co'"> + <xsl:message> + <xsl:text>Error: coref doesn't point to a co: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$co"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="co" mode="callout-bug"> + <xsl:call-template name="callout-bug"> + <xsl:with-param name="conum"> + <xsl:number count="co" + level="any" + from="programlisting|screen|literallayout|synopsis" + format="1"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template name="callout-bug"> + <xsl:param name="conum" select='1'/> + + <xsl:choose> + <xsl:when test="$callout.graphics != 0 + and $conum <= $callout.graphics.number.limit"> + <!-- Added span to make valid in XHTML 1 --> + <span><img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}" + alt="{$conum}" border="0"/></span> + </xsl:when> + <xsl:when test="$callout.unicode != 0 + and $conum <= $callout.unicode.number.limit"> + <xsl:choose> + <xsl:when test="$callout.unicode.start.character = 10102"> + <xsl:choose> + <xsl:when test="$conum = 1">❶</xsl:when> + <xsl:when test="$conum = 2">❷</xsl:when> + <xsl:when test="$conum = 3">❸</xsl:when> + <xsl:when test="$conum = 4">❹</xsl:when> + <xsl:when test="$conum = 5">❺</xsl:when> + <xsl:when test="$conum = 6">❻</xsl:when> + <xsl:when test="$conum = 7">❼</xsl:when> + <xsl:when test="$conum = 8">❽</xsl:when> + <xsl:when test="$conum = 9">❾</xsl:when> + <xsl:when test="$conum = 10">❿</xsl:when> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Don't know how to generate Unicode callouts </xsl:text> + <xsl:text>when $callout.unicode.start.character is </xsl:text> + <xsl:value-of select="$callout.unicode.start.character"/> + </xsl:message> + <xsl:text>(</xsl:text> + <xsl:value-of select="$conum"/> + <xsl:text>)</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:text>(</xsl:text> + <xsl:value-of select="$conum"/> + <xsl:text>)</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/changebars.xsl b/apache-fop/src/test/resources/docbook-xsl/html/changebars.xsl new file mode 100644 index 0000000000..7ebf5b0079 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/changebars.xsl @@ -0,0 +1,122 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- ******************************************************************** + $Id: changebars.xsl 9286 2012-04-19 10:10:58Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> +<xsl:import href="docbook.xsl"/> + +<xsl:param name="show.revisionflag" select="'1'"/> + +<xsl:template name="system.head.content"> +<xsl:param name="node" select="."/> + +<style type="text/css"> +<xsl:text> +div.added { background-color: #ffff99; + text-decoration: underline; } +div.deleted { text-decoration: line-through; + background-color: #FF7F7F; } +div.changed { background-color: #99ff99; } +div.off { } + +span.added { background-color: #ffff99; + text-decoration: underline; } +span.deleted { text-decoration: line-through; + background-color: #FF7F7F; } +span.changed { background-color: #99ff99; } +span.off { } +</xsl:text> +</style> +</xsl:template> + +<xsl:template match="*[@revisionflag]"> + <xsl:call-template name="block.or.inline.revision"/> +</xsl:template> + +<xsl:template name="block.or.inline.revision"> + <xsl:param name="revisionflag" select="@revisionflag"/> + + <xsl:choose> + <xsl:when test="local-name(.) = 'para' + or local-name(.) = 'formalpara' + or local-name(.) = 'simpara' + or local-name(.) = 'simplesect' + or local-name(.) = 'section' + or local-name(.) = 'sect1' + or local-name(.) = 'sect2' + or local-name(.) = 'sect3' + or local-name(.) = 'sect4' + or local-name(.) = 'sect5' + or local-name(.) = 'topic' + or local-name(.) = 'chapter' + or local-name(.) = 'preface' + or local-name(.) = 'itemizedlist' + or local-name(.) = 'orderedlist' + or local-name(.) = 'variablelist' + or local-name(.) = 'varlistentry' + or local-name(.) = 'informaltable' + or local-name(.) = 'informalexample' + or local-name(.) = 'note' + or local-name(.) = 'example' + or local-name(.) = 'mediaobject' + or local-name(.) = 'sidebar' + or local-name(.) = 'glossary' + or local-name(.) = 'glossentry' + or local-name(.) = 'bibliography' + or local-name(.) = 'index' + or local-name(.) = 'appendix'"> + <div class='{$revisionflag}'> + <xsl:apply-imports/> + </div> + </xsl:when> + <xsl:when test="local-name(.) = 'phrase' + or local-name(.) = 'ulink' + or local-name(.) = 'link' + or local-name(.) = 'olink' + or local-name(.) = 'inlinemediaobject' + or local-name(.) = 'filename' + or local-name(.) = 'literal' + or local-name(.) = 'member' + or local-name(.) = 'term' + or local-name(.) = 'guilabel' + or local-name(.) = 'glossterm' + or local-name(.) = 'sgmltag' + or local-name(.) = 'tag' + or local-name(.) = 'quote' + or local-name(.) = 'emphasis' + or local-name(.) = 'command' + or local-name(.) = 'xref'"> + <span class='{$revisionflag}'> + <xsl:apply-imports/> + </span> + </xsl:when> + <xsl:when test="local-name(.) = 'listitem' + or local-name(.) = 'entry' + or local-name(.) = 'title'"> + <!-- nop; these are handled directly in the stylesheet --> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Revisionflag on unexpected element: </xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> (Assuming block)</xsl:text> + </xsl:message> + <div class='{$revisionflag}'> + <xsl:apply-imports/> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunk-changebars.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunk-changebars.xsl new file mode 100644 index 0000000000..6bfd3c079f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunk-changebars.xsl @@ -0,0 +1,99 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" + version="1.0" + exclude-result-prefixes="exsl cf"> + +<!-- ******************************************************************** + $Id: chunk-changebars.xsl 8399 2009-04-08 07:37:42Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- This file is a variant of chunk.xsl, to be used for generating chunked + output with highlighting based on change markup. --> + +<xsl:import href="changebars.xsl"/> +<xsl:import href="chunk-common.xsl"/> + +<!-- This customization of "process-chunk-element" is needed in order to make change + highlighting be inherited by chunked children of an element with change markup. --> +<xsl:template name="process-chunk-element"> + <xsl:param name="content"> + <xsl:choose> + + <xsl:when test="ancestor-or-self::*[@revisionflag] and $show.revisionflag != 0"> + <xsl:variable name="revisionflag" select="ancestor-or-self::*[@revisionflag][1]/@revisionflag" /> + <xsl:call-template name="block.or.inline.revision"> + <xsl:with-param name="revisionflag" select="$revisionflag"/> + </xsl:call-template> + </xsl:when> + + <xsl:otherwise> + <xsl:apply-imports/> + </xsl:otherwise> + </xsl:choose> + </xsl:param> + + <xsl:choose> + <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0"> + <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/> + <xsl:variable name="genid" select="generate-id()"/> + + <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/> + + <xsl:variable name="prevdiv" + select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/> + <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/> + + <xsl:variable name="nextdiv" + select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/> + <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/> + + <xsl:choose> + <xsl:when test="$onechunk != 0 and parent::*"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$onechunk != 0 and not(parent::*)"> + <xsl:call-template name="chunk-all-sections"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$onechunk != 0"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:when test="$chunk.first.sections = 0"> + <xsl:call-template name="chunk-first-section-with-parent"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="chunk-all-sections"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:include href="chunk-code.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunk-code.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunk-code.xsl new file mode 100644 index 0000000000..52e1a0f2fe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunk-code.xsl @@ -0,0 +1,689 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + exclude-result-prefixes="exsl cf ng db" + version="1.0"> + +<!-- ******************************************************************** + $Id: chunk-code.xsl 9328 2012-05-03 16:28:23Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + + +<xsl:template match="*" mode="chunk-filename"> + <!-- returns the filename of a chunk --> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:variable name="fn"> + <xsl:apply-templates select="." mode="recursive-chunk-filename"/> + </xsl:variable> + + <!-- + <xsl:message> + <xsl:value-of select="$ischunk"/> + <xsl:text> (</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text>) </xsl:text> + <xsl:value-of select="$fn"/> + <xsl:text>, </xsl:text> + <xsl:call-template name="dbhtml-dir"/> + </xsl:message> + --> + + <!-- 2003-11-25 by ndw: + The following test used to read test="$ischunk != 0 and $fn != ''" + I've removed the ischunk part of the test so that href.to.uri and + href.from.uri will be fully qualified even if the source or target + isn't a chunk. I *think* that if $fn != '' then it's appropriate + to put the directory on the front, even if the element isn't a + chunk. I could be wrong. --> + + <xsl:if test="$fn != ''"> + <xsl:call-template name="dbhtml-dir"/> + </xsl:if> + + <xsl:value-of select="$chunked.filename.prefix"/> + + <xsl:value-of select="$fn"/> + <!-- You can't add the html.ext here because dbhtml filename= may already --> + <!-- have added it. It really does have to be handled in the recursive template --> +</xsl:template> + +<xsl:template match="*" mode="recursive-chunk-filename"> + <xsl:param name="recursive" select="false()"/> + + <!-- returns the filename of a chunk --> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:variable name="dbhtml-filename"> + <xsl:call-template name="pi.dbhtml_filename"/> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:choose> + <xsl:when test="$dbhtml-filename != ''"> + <xsl:value-of select="$dbhtml-filename"/> + </xsl:when> + <!-- if this is the root element, use the root.filename --> + <xsl:when test="not(parent::*) and $root.filename != ''"> + <xsl:value-of select="$root.filename"/> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <!-- Special case --> + <xsl:when test="self::legalnotice and not($generate.legalnotice.link = 0)"> + <xsl:choose> + <xsl:when test="(@id or @xml:id) and not($use.id.as.filename = 0)"> + <!-- * if this legalnotice has an ID, then go ahead and use --> + <!-- * just the value of that ID as the basename for the file --> + <!-- * (that is, without prepending an "ln-" too it) --> + <xsl:value-of select="(@id|@xml:id)[1]"/> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise> + <!-- * otherwise, if this legalnotice does not have an ID, --> + <!-- * then we generate an ID... --> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <!-- * ...and then we take that generated ID, prepend an --> + <!-- * "ln-" to it, and use that as the basename for the file --> + <xsl:value-of select="concat('ln-',$id,$html.ext)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- if there's no dbhtml filename, and if we're to use IDs as --> + <!-- filenames, then use the ID to generate the filename. --> + <xsl:when test="(@id or @xml:id) and $use.id.as.filename != 0"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise></xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$ischunk='0'"> + <!-- if called on something that isn't a chunk, walk up... --> + <xsl:choose> + <xsl:when test="count(parent::*)>0"> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="$recursive"/> + </xsl:apply-templates> + </xsl:when> + <!-- unless there is no up, in which case return "" --> + <xsl:otherwise></xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="not($recursive) and $filename != ''"> + <!-- if this chunk has an explicit name, use it --> + <xsl:value-of select="$filename"/> + </xsl:when> + + <xsl:when test="self::set"> + <xsl:value-of select="$root.filename"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::book"> + <xsl:text>bk</xsl:text> + <xsl:number level="any" format="01"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::article"> + <xsl:if test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:if> + + <xsl:text>ar</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::preface"> + <xsl:if test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:if> + + <xsl:text>pr</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::chapter"> + <xsl:if test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:if> + + <xsl:text>ch</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::appendix"> + <xsl:if test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:if> + + <xsl:text>ap</xsl:text> + <xsl:number level="any" format="a" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::part"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>pt</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::reference"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>rn</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::refentry"> + <xsl:choose> + <xsl:when test="parent::reference"> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:if test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>re</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::colophon"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>co</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::sect1 + or self::sect2 + or self::sect3 + or self::sect4 + or self::sect5 + or self::section"> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>s</xsl:text> + <xsl:number format="01"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::bibliography"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>bi</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::glossary"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>go</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::index"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>ix</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::setindex"> + <xsl:text>si</xsl:text> + <xsl:number level="any" format="01" from="set"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:when test="self::topic"> + <xsl:choose> + <xsl:when test="/set"> + <!-- in a set, make sure we inherit the right book info... --> + <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:text>to</xsl:text> + <xsl:number level="any" format="01" from="book"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:when> + + <xsl:otherwise> + <xsl:text>chunk-filename-error-</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:number level="any" format="01" from="set"/> + <xsl:if test="not($recursive)"> + <xsl:value-of select="$html.ext"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + + + +<xsl:template match="processing-instruction('dbhtml')"> + <!-- nop --> +</xsl:template> + +<!-- ==================================================================== --> + + +<xsl:template match="*" mode="find.chunks"> + <xsl:variable name="chunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$chunk != 0"> + <cf:div id="{generate-id()}"> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:apply-templates select="*" mode="find.chunks"/> + </cf:div> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="*" mode="find.chunks"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- Leave legalnotice chunk out of the list for Next and Prev --> +<xsl:template match="legalnotice" mode="find.chunks"/> + +<xsl:template match="/"> + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>processing stripped document</xsl:text> + </xsl:with-param> + </xsl:call-template> + + <xsl:apply-templates select="exsl:node-set($no.namespace)"/> + </xsl:when> + <!-- Can't process unless namespace removed --> + <xsl:when test="*/self::ng:* or */self::db:*"> + <xsl:message terminate="yes"> + <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text> + <xsl:text> cannot proceed.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:choose> + <xsl:when test="count(key('id',$rootid)) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="key('id', $rootid)" + mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="key('id',$rootid)" + mode="process.root"/> + <xsl:if test="$tex.math.in.alt != ''"> + <xsl:apply-templates select="key('id',$rootid)" + mode="collect.tex.math"/> + </xsl:if> + <xsl:if test="$generate.manifest != 0"> + <xsl:call-template name="generate.manifest"> + <xsl:with-param name="node" select="key('id',$rootid)"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="/" mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="/" mode="process.root"/> + <xsl:if test="$tex.math.in.alt != ''"> + <xsl:apply-templates select="/" mode="collect.tex.math"/> + </xsl:if> + <xsl:if test="$generate.manifest != 0"> + <xsl:call-template name="generate.manifest"> + <xsl:with-param name="node" select="/"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="process.root"> + <xsl:apply-templates select="."/> + <xsl:call-template name="generate.css.files"/> +</xsl:template> + +<!-- ====================================================================== --> + +<xsl:template match="set|book|part|preface|chapter|appendix + |article + |topic + |reference|refentry + |book/glossary|article/glossary|part/glossary + |book/bibliography|article/bibliography|part/bibliography + |colophon"> + <xsl:choose> + <xsl:when test="$onechunk != 0 and parent::*"> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk-element"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="sect1|sect2|sect3|sect4|sect5|section"> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not(parent::*)"> + <xsl:call-template name="process-chunk-element"/> + </xsl:when> + <xsl:when test="$ischunk = 0"> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk-element"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="setindex + |book/index + |article/index + |part/index"> + <!-- some implementations use completely empty index tags to indicate --> + <!-- where an automatically generated index should be inserted. so --> + <!-- if the index is completely empty, skip it. --> + <xsl:if test="count(*)>0 or $generate.index != '0'"> + <xsl:call-template name="process-chunk-element"/> + </xsl:if> +</xsl:template> + +<!-- Resolve xml:base attributes --> +<xsl:template match="@fileref"> + <!-- need a check for absolute urls --> + <xsl:choose> + <xsl:when test="contains(., ':')"> + <!-- it has a uri scheme so it is an absolute uri --> + <xsl:value-of select="."/> + </xsl:when> + <xsl:when test="$keep.relative.image.uris != 0"> + <!-- leave it alone --> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise> + <!-- its a relative uri --> + <xsl:call-template name="relative-uri"> + <xsl:with-param name="destdir"> + <xsl:call-template name="dbhtml-dir"> + <xsl:with-param name="context" select=".."/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template match="set|book|part|preface|chapter|appendix + |article + |topic + |reference|refentry + |sect1|sect2|sect3|sect4|sect5 + |section + |book/glossary|article/glossary|part/glossary + |book/bibliography|article/bibliography|part/bibliography + |colophon" + mode="enumerate-files"> + <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable> + <xsl:if test="$ischunk='1'"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:with-param> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="*" mode="enumerate-files"/> +</xsl:template> + +<xsl:template match="book/index|article/index|part/index" + mode="enumerate-files"> + <xsl:if test="$htmlhelp.output != 1"> + <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable> + <xsl:if test="$ischunk='1'"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:with-param> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:if> + <xsl:apply-templates select="*" mode="enumerate-files"/> + </xsl:if> +</xsl:template> + +<xsl:template match="legalnotice" mode="enumerate-files"> + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + <xsl:if test="$generate.legalnotice.link != 0"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:with-param> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="mediaobject[imageobject] | inlinemediaobject[imageobject]" mode="enumerate-files"> + <xsl:variable name="longdesc.uri"> + <xsl:call-template name="longdesc.uri"> + <xsl:with-param name="mediaobject" + select="."/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="mediaobject" select="."/> + + <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]"> + <xsl:call-template name="longdesc.uri"> + <xsl:with-param name="mediaobject" select="$mediaobject"/> + </xsl:call-template> + <xsl:text> </xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="text()" mode="enumerate-files"> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunk-common.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunk-common.xsl new file mode 100644 index 0000000000..693dc037d1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunk-common.xsl @@ -0,0 +1,1995 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + version="1.0" + exclude-result-prefixes="exsl cf ng db"> + +<!-- ******************************************************************** + $Id: chunk-common.xsl 9717 2013-01-25 18:13:36Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:param name="onechunk" select="0"/> +<xsl:param name="refentry.separator" select="0"/> +<xsl:param name="chunk.fast" select="0"/> + +<xsl:key name="genid" match="*" use="generate-id()"/> + +<!-- ==================================================================== --> + +<xsl:variable name="chunk.hierarchy"> + <xsl:if test="$chunk.fast != 0"> + <xsl:choose> + <!-- Are we handling a docbook5 document? --> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + <xsl:if test="$chunk.quietly = 0"> + <xsl:message>Computing stripped namespace chunks...</xsl:message> + </xsl:if> + <xsl:apply-templates mode="find.chunks" select="exsl:node-set($no.namespace)"/> + </xsl:when> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:if test="$chunk.quietly = 0"> + <xsl:message>Computing chunks...</xsl:message> + </xsl:if> + + <xsl:apply-templates select="/*" mode="find.chunks"/> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$chunk.quietly = 0"> + <xsl:message> + <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text> + <xsl:text>Using "slow" chunking.</xsl:text> + </xsl:message> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:variable> + +<!-- ==================================================================== --> + +<xsl:template name="process-chunk-element"> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <xsl:choose> + <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0"> + <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/> + <xsl:variable name="genid" select="generate-id()"/> + + <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/> + + <xsl:variable name="prevdiv" + select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/> + <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/> + + <xsl:variable name="nextdiv" + select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/> + <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/> + + <xsl:choose> + <xsl:when test="$onechunk != 0 and parent::*"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$onechunk != 0 and not(parent::*)"> + <xsl:call-template name="chunk-all-sections"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$onechunk != 0"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:when test="$chunk.first.sections = 0"> + <xsl:call-template name="chunk-first-section-with-parent"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="chunk-all-sections"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="process-chunk"> + <xsl:param name="prev" select="."/> + <xsl:param name="next" select="."/> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:variable name="chunkfn"> + <xsl:if test="$ischunk='1'"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:if> + </xsl:variable> + + <xsl:if test="$ischunk='0'"> + <xsl:message> + <xsl:text>Error </xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text> is not a chunk!</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$chunkfn"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="chunk-first-section-with-parent"> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <!-- These xpath expressions are really hairy. The trick is to pick sections --> + <!-- that are not first children and are not the children of first children --> + + <!-- Break these variables into pieces to work around + http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 --> + + <xsl:variable name="prev-v1" + select="(ancestor::sect1[$chunk.section.depth > 0 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect1][1] + + |ancestor::sect2[$chunk.section.depth > 1 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect2 + and parent::sect1[preceding-sibling::sect1]][1] + + |ancestor::sect3[$chunk.section.depth > 2 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect3 + and parent::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |ancestor::sect4[$chunk.section.depth > 3 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect4 + and parent::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |ancestor::sect5[$chunk.section.depth > 4 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect5 + and parent::sect4[preceding-sibling::sect4] + and ancestor::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |ancestor::section[$chunk.section.depth > count(ancestor::section) + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/> + + <xsl:variable name="prev-v2" + select="(preceding::sect1[$chunk.section.depth > 0 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect1][1] + + |preceding::sect2[$chunk.section.depth > 1 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect2 + and parent::sect1[preceding-sibling::sect1]][1] + + |preceding::sect3[$chunk.section.depth > 2 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect3 + and parent::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |preceding::sect4[$chunk.section.depth > 3 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect4 + and parent::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |preceding::sect5[$chunk.section.depth > 4 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect5 + and parent::sect4[preceding-sibling::sect4] + and ancestor::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |preceding::section[$chunk.section.depth > count(ancestor::section) + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::section + and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/> + + <xsl:variable name="prev" + select="(preceding::book[1] + |preceding::preface[1] + |preceding::chapter[1] + |preceding::appendix[1] + |preceding::part[1] + |preceding::reference[1] + |preceding::refentry[1] + |preceding::colophon[1] + |preceding::article[1] + |preceding::topic[1] + |preceding::bibliography[parent::article or parent::book or parent::part][1] + |preceding::glossary[parent::article or parent::book or parent::part][1] + |preceding::index[$generate.index != 0] + [parent::article or parent::book or parent::part][1] + |preceding::setindex[$generate.index != 0][1] + |ancestor::set + |ancestor::book[1] + |ancestor::preface[1] + |ancestor::chapter[1] + |ancestor::appendix[1] + |ancestor::part[1] + |ancestor::reference[1] + |ancestor::article[1] + |ancestor::topic[1] + |$prev-v1 + |$prev-v2)[last()]"/> + + <xsl:variable name="next-v1" + select="(following::sect1[$chunk.section.depth > 0 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect1][1] + + |following::sect2[$chunk.section.depth > 1 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect2 + and parent::sect1[preceding-sibling::sect1]][1] + + |following::sect3[$chunk.section.depth > 2 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect3 + and parent::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |following::sect4[$chunk.section.depth > 3 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect4 + and parent::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |following::sect5[$chunk.section.depth > 4 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect5 + and parent::sect4[preceding-sibling::sect4] + and ancestor::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |following::section[$chunk.section.depth > count(ancestor::section) + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::section + and not(ancestor::section[not(preceding-sibling::section)])][1])[1]"/> + + <xsl:variable name="next-v2" + select="(descendant::sect1[$chunk.section.depth > 0 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect1][1] + + |descendant::sect2[$chunk.section.depth > 1 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect2 + and parent::sect1[preceding-sibling::sect1]][1] + + |descendant::sect3[$chunk.section.depth > 2 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect3 + and parent::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |descendant::sect4[$chunk.section.depth > 3 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect4 + and parent::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |descendant::sect5[$chunk.section.depth > 4 + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::sect5 + and parent::sect4[preceding-sibling::sect4] + and ancestor::sect3[preceding-sibling::sect3] + and ancestor::sect2[preceding-sibling::sect2] + and ancestor::sect1[preceding-sibling::sect1]][1] + + |descendant::section[$chunk.section.depth > count(ancestor::section) + and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking']) + and preceding-sibling::section + and not(ancestor::section[not(preceding-sibling::section)])])[1]"/> + + <xsl:variable name="next" + select="(following::book[1] + |following::preface[1] + |following::chapter[1] + |following::appendix[1] + |following::part[1] + |following::reference[1] + |following::refentry[1] + |following::colophon[1] + |following::bibliography[parent::article or parent::book or parent::part][1] + |following::glossary[parent::article or parent::book or parent::part][1] + |following::index[$generate.index != 0] + [parent::article or parent::book or parent::part][1] + |following::article[1] + |following::topic[1] + |following::setindex[$generate.index != 0][1] + |descendant::book[1] + |descendant::preface[1] + |descendant::chapter[1] + |descendant::appendix[1] + |descendant::article[1] + |descendant::topic[1] + |descendant::bibliography[parent::article or parent::book or parent::part][1] + |descendant::glossary[parent::article or parent::book or parent::part][1] + |descendant::index[$generate.index != 0] + [parent::article or parent::book or parent::part][1] + |descendant::colophon[1] + |descendant::setindex[$generate.index != 0][1] + |descendant::part[1] + |descendant::reference[1] + |descendant::refentry[1] + |$next-v1 + |$next-v2)[1]"/> + + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="chunk-all-sections"> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <xsl:variable name="prev-v1" + select="(preceding::sect1[$chunk.section.depth > 0 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |preceding::sect2[$chunk.section.depth > 1 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |preceding::sect3[$chunk.section.depth > 2 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |preceding::sect4[$chunk.section.depth > 3 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |preceding::sect5[$chunk.section.depth > 4 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |preceding::section[$chunk.section.depth > count(ancestor::section) and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1])[last()]"/> + + <xsl:variable name="prev-v2" + select="(ancestor::sect1[$chunk.section.depth > 0 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |ancestor::sect2[$chunk.section.depth > 1 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |ancestor::sect3[$chunk.section.depth > 2 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |ancestor::sect4[$chunk.section.depth > 3 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |ancestor::sect5[$chunk.section.depth > 4 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |ancestor::section[$chunk.section.depth > count(ancestor::section) and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1])[last()]"/> + + <xsl:variable name="prev" + select="(preceding::book[1] + |preceding::preface[1] + |preceding::chapter[1] + |preceding::appendix[1] + |preceding::part[1] + |preceding::reference[1] + |preceding::refentry[1] + |preceding::colophon[1] + |preceding::article[1] + |preceding::topic[1] + |preceding::bibliography[parent::article or parent::book or parent::part][1] + |preceding::glossary[parent::article or parent::book or parent::part][1] + |preceding::index[$generate.index != 0] + [parent::article or parent::book or parent::part][1] + |preceding::setindex[$generate.index != 0][1] + |ancestor::set + |ancestor::book[1] + |ancestor::preface[1] + |ancestor::chapter[1] + |ancestor::appendix[1] + |ancestor::part[1] + |ancestor::reference[1] + |ancestor::article[1] + |ancestor::topic[1] + |$prev-v1 + |$prev-v2)[last()]"/> + + <xsl:variable name="next-v1" + select="(following::sect1[$chunk.section.depth > 0 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |following::sect2[$chunk.section.depth > 1 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |following::sect3[$chunk.section.depth > 2 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |following::sect4[$chunk.section.depth > 3 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |following::sect5[$chunk.section.depth > 4 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |following::section[$chunk.section.depth > count(ancestor::section) and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1])[1]"/> + + <xsl:variable name="next-v2" + select="(descendant::sect1[$chunk.section.depth > 0 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |descendant::sect2[$chunk.section.depth > 1 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |descendant::sect3[$chunk.section.depth > 2 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |descendant::sect4[$chunk.section.depth > 3 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |descendant::sect5[$chunk.section.depth > 4 and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1] + |descendant::section[$chunk.section.depth + > count(ancestor::section) and not(ancestor::*/processing-instruction('dbhtml')[normalize-space(.) ='stop-chunking'])][1])[1]"/> + + <xsl:variable name="next" + select="(following::book[1] + |following::preface[1] + |following::chapter[1] + |following::appendix[1] + |following::part[1] + |following::reference[1] + |following::refentry[1] + |following::colophon[1] + |following::bibliography[parent::article or parent::book or parent::part][1] + |following::glossary[parent::article or parent::book or parent::part][1] + |following::index[$generate.index != 0] + [parent::article or parent::book][1] + |following::article[1] + |following::topic[1] + |following::setindex[$generate.index != 0][1] + |descendant::book[1] + |descendant::preface[1] + |descendant::chapter[1] + |descendant::appendix[1] + |descendant::article[1] + |descendant::topic[1] + |descendant::bibliography[parent::article or parent::book][1] + |descendant::glossary[parent::article or parent::book or parent::part][1] + |descendant::index[$generate.index != 0] + [parent::article or parent::book][1] + |descendant::colophon[1] + |descendant::setindex[$generate.index != 0][1] + |descendant::part[1] + |descendant::reference[1] + |descendant::refentry[1] + |$next-v1 + |$next-v2)[1]"/> + + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- ==================================================================== --> + +<xsl:template name="make.lots"> + <xsl:param name="toc.params" select="''"/> + <xsl:param name="toc"/> + + <xsl:variable name="lots"> + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:copy-of select="$toc"/> + </xsl:if> + + <xsl:if test="contains($toc.params, 'figure')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'figure'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'table')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'table'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table[not(@tocentry = 0)]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'example')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'example'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'equation')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'equation'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" select=".//equation[title or info/title]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" select=".//equation[title or info/title]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'procedure')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'procedure'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" select=".//procedure[title]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" select=".//procedure[title]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:if test="string($lots) != ''"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:value-of select="$chunked.filename.prefix"/> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="/foo"/> + <xsl:with-param name="next" select="/foo"/> + <xsl:with-param name="nav.context" select="'toc'"/> + <xsl:with-param name="content"> + <xsl:if test="$chunk.tocs.and.lots.has.title != 0"> + <h1> + <xsl:apply-templates select="." mode="object.title.markup"/> + </h1> + </xsl:if> + <xsl:copy-of select="$lots"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$lots"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template name="make.lot.chunk"> + <xsl:param name="type" select="''"/> + <xsl:param name="lot"/> + + <xsl:if test="string($lot) != ''"> + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:value-of select="$type"/> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="href"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="''"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:value-of select="$type"/> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="/foo"/> + <xsl:with-param name="next" select="/foo"/> + <xsl:with-param name="nav.context" select="'toc'"/> + <xsl:with-param name="content"> + <xsl:copy-of select="$lot"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> + <!-- And output a link to this file --> + <div> + <xsl:attribute name="class"> + <xsl:text>ListofTitles</xsl:text> + </xsl:attribute> + <a href="{$href}"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="$type='table'">ListofTables</xsl:when> + <xsl:when test="$type='figure'">ListofFigures</xsl:when> + <xsl:when test="$type='equation'">ListofEquations</xsl:when> + <xsl:when test="$type='example'">ListofExamples</xsl:when> + <xsl:when test="$type='procedure'">ListofProcedures</xsl:when> + <xsl:otherwise>ListofUnknown</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </a> + </div> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="in.other.chunk"> + <xsl:param name="chunk" select="."/> + <xsl:param name="node" select="."/> + + <xsl:variable name="is.chunk"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:variable> + +<!-- + <xsl:message> + <xsl:text>in.other.chunk: </xsl:text> + <xsl:value-of select="name($chunk)"/> + <xsl:text> </xsl:text> + <xsl:value-of select="name($node)"/> + <xsl:text> </xsl:text> + <xsl:value-of select="$chunk = $node"/> + <xsl:text> </xsl:text> + <xsl:value-of select="$is.chunk"/> + </xsl:message> +--> + + <xsl:choose> + <xsl:when test="$chunk = $node">0</xsl:when> + <xsl:when test="$is.chunk = 1">1</xsl:when> + <xsl:when test="count($node) = 0">0</xsl:when> + <xsl:otherwise> + <xsl:call-template name="in.other.chunk"> + <xsl:with-param name="chunk" select="$chunk"/> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="count.footnotes.in.this.chunk"> + <xsl:param name="node" select="."/> + <xsl:param name="footnotes" select="$node//footnote"/> + <xsl:param name="count" select="0"/> + +<!-- + <xsl:message> + <xsl:text>count.footnotes.in.this.chunk: </xsl:text> + <xsl:value-of select="name($node)"/> + </xsl:message> +--> + + <xsl:variable name="in.other.chunk"> + <xsl:call-template name="in.other.chunk"> + <xsl:with-param name="chunk" select="$node"/> + <xsl:with-param name="node" select="$footnotes[1]"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="count($footnotes) = 0"> + <xsl:value-of select="$count"/> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$in.other.chunk != 0"> + <xsl:call-template name="count.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + <xsl:with-param name="count" select="$count"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$footnotes[1]/ancestor::table + |$footnotes[1]/ancestor::informaltable"> + <xsl:call-template name="count.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + <xsl:with-param name="count" select="$count"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="count.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="process.footnotes.in.this.chunk"> + <xsl:param name="node" select="."/> + <xsl:param name="footnotes" select="$node//footnote"/> + +<!-- + <xsl:message>process.footnotes.in.this.chunk</xsl:message> +--> + + <xsl:variable name="in.other.chunk"> + <xsl:call-template name="in.other.chunk"> + <xsl:with-param name="chunk" select="$node"/> + <xsl:with-param name="node" select="$footnotes[1]"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="count($footnotes) = 0"> + <!-- nop --> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$in.other.chunk != 0"> + <xsl:call-template name="process.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$footnotes[1]/ancestor::table + |$footnotes[1]/ancestor::informaltable"> + <xsl:call-template name="process.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$footnotes[1]" + mode="process.footnote.mode"/> + <xsl:call-template name="process.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="footnotes" + select="$footnotes[position() > 1]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="process.footnotes"> + <xsl:variable name="footnotes" select=".//footnote"/> + <xsl:variable name="fcount"> + <xsl:call-template name="count.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="footnotes" select="$footnotes"/> + </xsl:call-template> + </xsl:variable> + +<!-- + <xsl:message> + <xsl:value-of select="name(.)"/> + <xsl:text> fcount: </xsl:text> + <xsl:value-of select="$fcount"/> + </xsl:message> +--> + + <!-- Only bother to do this if there's at least one non-table footnote --> + <xsl:if test="$fcount > 0"> + <div class="footnotes"> + <xsl:call-template name="footnotes.attributes"/> + <br/> + <hr> + <xsl:choose> + <xsl:when test="$make.clean.html != 0"> + <xsl:attribute name="class">footnote-hr</xsl:attribute> + </xsl:when> + <xsl:when test="$css.decoration != 0"> + <xsl:attribute name="style"> + <xsl:value-of select="concat('width:100; text-align:', + $direction.align.start, + ';', + 'margin-', $direction.align.start, ': 0')"/> + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="width">100</xsl:attribute> + <xsl:attribute name="align"><xsl:value-of + select="$direction.align.start"/></xsl:attribute> + </xsl:otherwise> + </xsl:choose> + </hr> + <xsl:call-template name="process.footnotes.in.this.chunk"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="footnotes" select="$footnotes"/> + </xsl:call-template> + </div> + </xsl:if> + + <!-- FIXME: When chunking, only the annotations actually used + in this chunk should be referenced. I don't think it + does any harm to reference them all, but it adds + unnecessary bloat to each chunk. --> + <xsl:if test="$annotation.support != 0 and //annotation"> + <div class="annotation-list"> + <div class="annotation-nocss"> + <p>The following annotations are from this essay. You are seeing + them here because your browser doesn’t support the user-interface + techniques used to make them appear as ‘popups’ on modern browsers.</p> + </div> + + <xsl:apply-templates select="//annotation" + mode="annotation-popup"/> + </div> + </xsl:if> +</xsl:template> + +<xsl:template name="process.chunk.footnotes"> + <xsl:variable name="is.chunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + <xsl:if test="$is.chunk = 1"> + <xsl:call-template name="process.footnotes"/> + </xsl:if> +</xsl:template> + +<!-- ====================================================================== --> + +<xsl:template name="chunk"> + <xsl:param name="node" select="."/> + <!-- returns 1 if $node is a chunk --> + + <!-- ==================================================================== --> + <!-- What's a chunk? + + The root element + appendix + article + bibliography in article or part or book + book + chapter + colophon + glossary in article or part or book + index in article or part or book + part + preface + refentry + reference + sect{1,2,3,4,5} if position()>1 && depth < chunk.section.depth + section if position()>1 && depth < chunk.section.depth + set + setindex + topic + --> + <!-- ==================================================================== --> + +<!-- + <xsl:message> + <xsl:text>chunk: </xsl:text> + <xsl:value-of select="name($node)"/> + <xsl:text>(</xsl:text> + <xsl:value-of select="$node/@id"/> + <xsl:text>)</xsl:text> + <xsl:text> csd: </xsl:text> + <xsl:value-of select="$chunk.section.depth"/> + <xsl:text> cfs: </xsl:text> + <xsl:value-of select="$chunk.first.sections"/> + <xsl:text> ps: </xsl:text> + <xsl:value-of select="count($node/parent::section)"/> + <xsl:text> prs: </xsl:text> + <xsl:value-of select="count($node/preceding-sibling::section)"/> + </xsl:message> +--> + + <xsl:choose> + <xsl:when test="$node/parent::*/processing-instruction('dbhtml')[normalize-space(.) = 'stop-chunking']">0</xsl:when> + <xsl:when test="not($node/parent::*)">1</xsl:when> + + <xsl:when test="local-name($node) = 'sect1' + and $chunk.section.depth >= 1 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::sect1) > 0)"> + <xsl:text>1</xsl:text> + </xsl:when> + <xsl:when test="local-name($node) = 'sect2' + and $chunk.section.depth >= 2 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::sect2) > 0)"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="local-name($node) = 'sect3' + and $chunk.section.depth >= 3 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::sect3) > 0)"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="local-name($node) = 'sect4' + and $chunk.section.depth >= 4 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::sect4) > 0)"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="local-name($node) = 'sect5' + and $chunk.section.depth >= 5 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::sect5) > 0)"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="local-name($node) = 'section' + and $chunk.section.depth >= count($node/ancestor::section)+1 + and ($chunk.first.sections != 0 + or count($node/preceding-sibling::section) > 0)"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$node/parent::*"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="local-name($node)='preface'">1</xsl:when> + <xsl:when test="local-name($node)='chapter'">1</xsl:when> + <xsl:when test="local-name($node)='appendix'">1</xsl:when> + <xsl:when test="local-name($node)='article'">1</xsl:when> + <xsl:when test="local-name($node)='topic'">1</xsl:when> + <xsl:when test="local-name($node)='part'">1</xsl:when> + <xsl:when test="local-name($node)='reference'">1</xsl:when> + <xsl:when test="local-name($node)='refentry'">1</xsl:when> + <xsl:when test="local-name($node)='index' and ($generate.index != 0 or count($node/*) > 0) + and (local-name($node/parent::*) = 'article' + or local-name($node/parent::*) = 'book' + or local-name($node/parent::*) = 'part' + )">1</xsl:when> + <xsl:when test="local-name($node)='bibliography' + and (local-name($node/parent::*) = 'article' + or local-name($node/parent::*) = 'book' + or local-name($node/parent::*) = 'part' + )">1</xsl:when> + <xsl:when test="local-name($node)='glossary' + and (local-name($node/parent::*) = 'article' + or local-name($node/parent::*) = 'book' + or local-name($node/parent::*) = 'part' + )">1</xsl:when> + <xsl:when test="local-name($node)='colophon'">1</xsl:when> + <xsl:when test="local-name($node)='book'">1</xsl:when> + <xsl:when test="local-name($node)='set'">1</xsl:when> + <xsl:when test="local-name($node)='setindex'">1</xsl:when> + <xsl:when test="local-name($node)='legalnotice' + and $generate.legalnotice.link != 0">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="href.target.uri"> + <xsl:param name="object" select="."/> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$object"/> + </xsl:call-template> + </xsl:variable> + + <xsl:apply-templates mode="chunk-filename" select="$object"/> + + <xsl:if test="$ischunk='0'"> + <xsl:text>#</xsl:text> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template name="href.target"> + <xsl:param name="context" select="."/> + <xsl:param name="object" select="."/> + <xsl:param name="toc-context" select="."/> + <!-- * If $toc-context contains some node other than the current node, --> + <!-- * it means we're processing a link in a TOC. In that case, to --> + <!-- * ensure the link will work correctly, we need to take a look at --> + <!-- * where the file containing the TOC will get written, and where --> + <!-- * the file that's being linked to will get written. --> + <xsl:variable name="toc-output-dir"> + <xsl:if test="not($toc-context = .)"> + <!-- * Get the $toc-context node and all its ancestors, look down --> + <!-- * through them to find the last/closest node to the --> + <!-- * toc-context node that has a "dbhtml dir" PI, and get the --> + <!-- * directory name from that. That's the name of the directory --> + <!-- * to which the current toc output file will get written. --> + <xsl:call-template name="dbhtml-dir"> + <xsl:with-param name="context" + select="$toc-context/ancestor-or-self::*[processing-instruction('dbhtml')[contains(.,'dir')]][last()]"/> + </xsl:call-template> + </xsl:if> + </xsl:variable> + <xsl:variable name="linked-file-output-dir"> + <xsl:if test="not($toc-context = .)"> + <!-- * Get the current node and all its ancestors, look down --> + <!-- * through them to find the last/closest node to the current --> + <!-- * node that has a "dbhtml dir" PI, and get the directory name --> + <!-- * from that. That's the name of the directory to which the --> + <!-- * file that's being linked to will get written. --> + <xsl:call-template name="dbhtml-dir"> + <xsl:with-param name="context" + select="ancestor-or-self::*[processing-instruction('dbhtml')[contains(.,'dir')]][last()]"/> + </xsl:call-template> + </xsl:if> + </xsl:variable> + <xsl:variable name="href.to.uri"> + <xsl:call-template name="href.target.uri"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="href.from.uri"> + <xsl:choose> + <xsl:when test="not($toc-context = .)"> + <xsl:call-template name="href.target.uri"> + <xsl:with-param name="object" select="$toc-context"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target.uri"> + <xsl:with-param name="object" select="$context"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <!-- * <xsl:message>toc-context: <xsl:value-of select="local-name($toc-context)"/></xsl:message> --> + <!-- * <xsl:message>node: <xsl:value-of select="local-name(.)"/></xsl:message> --> + <!-- * <xsl:message>context: <xsl:value-of select="local-name($context)"/></xsl:message> --> + <!-- * <xsl:message>object: <xsl:value-of select="local-name($object)"/></xsl:message> --> + <!-- * <xsl:message>toc-output-dir: <xsl:value-of select="$toc-output-dir"/></xsl:message> --> + <!-- * <xsl:message>linked-file-output-dir: <xsl:value-of select="$linked-file-output-dir"/></xsl:message> --> + <!-- * <xsl:message>href.to.uri: <xsl:value-of select="$href.to.uri"/></xsl:message> --> + <!-- * <xsl:message>href.from.uri: <xsl:value-of select="$href.from.uri"/></xsl:message> --> + <xsl:variable name="href.to"> + <xsl:choose> + <!-- * 2007-07-19, MikeSmith: Added the following conditional to --> + <!-- * deal with a problem case for links in TOCs. It checks to see --> + <!-- * if the output dir that a TOC will get written to is --> + <!-- * different from the output dir of the file being linked to. --> + <!-- * If it is different, we do not call trim.common.uri.paths. --> + <!-- * --> + <!-- * Reason why I added that conditional is: I ran into a bug for --> + <!-- * this case: --> + <!-- * --> + <!-- * 1. we are chunking into separate dirs --> + <!-- * --> + <!-- * 2. output for the TOC is written to current dir, but the file --> + <!-- * being linked to is written to some subdir "foo". --> + <!-- * --> + <!-- * For that case, links to that file in that TOC did not show --> + <!-- * the correct path - they omitted the "foo". --> + <!-- * --> + <!-- * The cause of that problem was that the trim.common.uri.paths --> + <!-- * template[1] was being called under all conditions. But it's --> + <!-- * apparent that we don't want to call trim.common.uri.paths in --> + <!-- * the case where a linked file is being written to a different --> + <!-- * directory than the TOC that contains the link, because doing --> + <!-- * so will cause a necessary (not redundant) directory-name --> + <!-- * part of the link to get inadvertently trimmed, resulting in --> + <!-- * a broken link to that file. Thus, added the conditional. --> + <!-- * --> + <!-- * [1] The purpose of the trim.common.uri.paths template is to --> + <!-- * prevent cases where, if we didn't call it, we end up with --> + <!-- * unnecessary, redundant directory names getting output; for --> + <!-- * example, "foo/foo/refname.html". --> + <xsl:when test="not($toc-output-dir = $linked-file-output-dir)"> + <xsl:value-of select="$href.to.uri"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="trim.common.uri.paths"> + <xsl:with-param name="uriA" select="$href.to.uri"/> + <xsl:with-param name="uriB" select="$href.from.uri"/> + <xsl:with-param name="return" select="'A'"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="href.from"> + <xsl:call-template name="trim.common.uri.paths"> + <xsl:with-param name="uriA" select="$href.to.uri"/> + <xsl:with-param name="uriB" select="$href.from.uri"/> + <xsl:with-param name="return" select="'B'"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="depth"> + <xsl:call-template name="count.uri.path.depth"> + <xsl:with-param name="filename" select="$href.from"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="href"> + <xsl:call-template name="copy-string"> + <xsl:with-param name="string" select="'../'"/> + <xsl:with-param name="count" select="$depth"/> + </xsl:call-template> + <xsl:value-of select="$href.to"/> + </xsl:variable> + <!-- + <xsl:message> + <xsl:text>In </xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text> (</xsl:text> + <xsl:value-of select="$href.from"/> + <xsl:text>,</xsl:text> + <xsl:value-of select="$depth"/> + <xsl:text>) </xsl:text> + <xsl:value-of select="name($object)"/> + <xsl:text> href=</xsl:text> + <xsl:value-of select="$href"/> + </xsl:message> + --> + <xsl:value-of select="$href"/> +</xsl:template> + +<!-- Returns the complete olink href value if found --> +<!-- Must take into account any dbhtml dir of the chunk containing the olink --> +<xsl:template name="make.olink.href"> + <xsl:param name="olink.key" select="''"/> + <xsl:param name="target.database"/> + + <xsl:if test="$olink.key != ''"> + <xsl:variable name="target.href" > + <xsl:for-each select="$target.database" > + <xsl:value-of select="key('targetptr-key', $olink.key)[1]/@href" /> + </xsl:for-each> + </xsl:variable> + + <!-- an olink starting point may be in a subdirectory, so need + the "from" reference point to compute a relative path --> + + <xsl:variable name="from.href"> + <xsl:call-template name="olink.from.uri"> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="object" select="."/> + <xsl:with-param name="object.targetdoc" select="$current.docid"/> + </xsl:call-template> + </xsl:variable> + + <!-- If the from.href has directory path, then must "../" upward + to document level --> + <xsl:variable name="upward.from.path"> + <xsl:call-template name="upward.path"> + <xsl:with-param name="path" select="$from.href"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="targetdoc"> + <xsl:value-of select="substring-before($olink.key, '/')"/> + </xsl:variable> + + <!-- Does the target database use a sitemap? --> + <xsl:variable name="use.sitemap"> + <xsl:choose> + <xsl:when test="$target.database//sitemap">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + + <!-- Get the baseuri for this targetptr --> + <xsl:variable name="baseuri" > + <xsl:choose> + <!-- Does the database use a sitemap? --> + <xsl:when test="$use.sitemap != 0" > + <xsl:choose> + <!-- Was current.docid parameter set? --> + <xsl:when test="$current.docid != ''"> + <!-- Was it found in the database? --> + <xsl:variable name="currentdoc.key" > + <xsl:for-each select="$target.database" > + <xsl:value-of select="key('targetdoc-key', + $current.docid)[1]/@targetdoc" /> + </xsl:for-each> + </xsl:variable> + <xsl:choose> + <xsl:when test="$currentdoc.key != ''"> + <xsl:for-each select="$target.database" > + <xsl:call-template name="targetpath" > + <xsl:with-param name="dirnode" + select="key('targetdoc-key', $current.docid)[1]/parent::dir"/> + <xsl:with-param name="targetdoc" select="$targetdoc"/> + </xsl:call-template> + </xsl:for-each > + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Olink error: cannot compute relative </xsl:text> + <xsl:text>sitemap path because $current.docid '</xsl:text> + <xsl:value-of select="$current.docid"/> + <xsl:text>' not found in target database.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Olink warning: cannot compute relative </xsl:text> + <xsl:text>sitemap path without $current.docid parameter</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + <!-- In either case, add baseuri from its document entry--> + <xsl:variable name="docbaseuri"> + <xsl:for-each select="$target.database" > + <xsl:value-of select="key('targetdoc-key', $targetdoc)[1]/@baseuri" /> + </xsl:for-each> + </xsl:variable> + <xsl:if test="$docbaseuri != ''" > + <xsl:value-of select="$docbaseuri"/> + </xsl:if> + </xsl:when> + <!-- No database sitemap in use --> + <xsl:otherwise> + <!-- Just use any baseuri from its document entry --> + <xsl:variable name="docbaseuri"> + <xsl:for-each select="$target.database" > + <xsl:value-of select="key('targetdoc-key', $targetdoc)[1]/@baseuri" /> + </xsl:for-each> + </xsl:variable> + <xsl:if test="$docbaseuri != ''" > + <xsl:value-of select="$docbaseuri"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <!-- Is this olink to be active? --> + <xsl:variable name="active.olink"> + <xsl:choose> + <xsl:when test="$activate.external.olinks = 0"> + <xsl:choose> + <xsl:when test="$current.docid = ''">1</xsl:when> + <xsl:when test="$targetdoc = ''">1</xsl:when> + <xsl:when test="$targetdoc = $current.docid">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:if test="$active.olink != 0"> + <!-- Form the href information --> + <xsl:if test="not(contains($baseuri, ':'))"> + <!-- if not an absolute uri, add upward path from olink chunk --> + <xsl:value-of select="$upward.from.path"/> + </xsl:if> + + <xsl:if test="$baseuri != ''"> + <xsl:value-of select="$baseuri"/> + <xsl:if test="substring($target.href,1,1) != '#'"> + <!--xsl:text>/</xsl:text--> + </xsl:if> + </xsl:if> + <!-- optionally turn off frag for PDF references --> + <xsl:if test="not($insert.olink.pdf.frag = 0 and + translate(substring($baseuri, string-length($baseuri) - 3), + 'PDF', 'pdf') = '.pdf' + and starts-with($target.href, '#') )"> + <xsl:value-of select="$target.href"/> + </xsl:if> + </xsl:if> + </xsl:if> +</xsl:template> + +<!-- Computes "../" to reach top --> +<xsl:template name="upward.path"> + <xsl:param name="path" select="''"/> + <xsl:choose> + <!-- Don't bother with absolute uris --> + <xsl:when test="contains($path, ':')"/> + <xsl:when test="starts-with($path, '/')"/> + <xsl:when test="contains($path, '/')"> + <xsl:text>../</xsl:text> + <xsl:call-template name="upward.path"> + <xsl:with-param name="path" select="substring-after($path, '/')"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="html.head"> + <xsl:param name="prev" select="/foo"/> + <xsl:param name="next" select="/foo"/> + <xsl:variable name="this" select="."/> + <xsl:variable name="home" select="/*[1]"/> + <xsl:variable name="up" select="parent::*"/> + + <head> + <xsl:call-template name="system.head.content"/> + <xsl:call-template name="head.content"/> + + <!-- home link not valid in HTML5 --> + <xsl:if test="$home and $div.element != 'section'"> + <link rel="home"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$home"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="$home" + mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:if> + + <!-- up link not valid in HTML5 --> + <xsl:if test="$up and $div.element != 'section'"> + <link rel="up"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$up"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:if> + + <xsl:if test="$prev"> + <link rel="prev"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$prev"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:if> + + <xsl:if test="$next"> + <link rel="next"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$next"/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:if> + + <xsl:if test="$html.extra.head.links != 0"> + <xsl:for-each select="//part + |//reference + |//preface + |//chapter + |//article + |//refentry + |//appendix[not(parent::article)]|appendix + |//glossary[not(parent::article)]|glossary + |//index[not(parent::article)]|index"> + <link rel="{local-name(.)}"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="context" select="$this"/> + <xsl:with-param name="object" select="."/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="." mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:for-each> + + <xsl:for-each select="section|sect1|refsection|refsect1"> + <link> + <xsl:attribute name="rel"> + <xsl:choose> + <xsl:when test="local-name($this) = 'section' + or local-name($this) = 'refsection'"> + <xsl:value-of select="'subsection'"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="'section'"/> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="context" select="$this"/> + <xsl:with-param name="object" select="."/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="." mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:for-each> + + <xsl:for-each select="sect2|sect3|sect4|sect5|refsect2|refsect3"> + <link rel="subsection"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="context" select="$this"/> + <xsl:with-param name="object" select="."/> + </xsl:call-template> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="." mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + </xsl:for-each> + </xsl:if> + + <!-- * if we have a legalnotice and user wants it output as a --> + <!-- * separate page and $html.head.legalnotice.link.types is --> + <!-- * non-empty, we generate a link or links for each value in --> + <!-- * $html.head.legalnotice.link.types --> + <xsl:if test="//legalnotice + and not($generate.legalnotice.link = 0) + and not($html.head.legalnotice.link.types = '')"> + <xsl:call-template name="make.legalnotice.head.links"/> + </xsl:if> + + <xsl:call-template name="user.head.content"/> + </head> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="header.navigation"> + <xsl:param name="prev" select="/foo"/> + <xsl:param name="next" select="/foo"/> + <xsl:param name="nav.context"/> + + <xsl:variable name="home" select="/*[1]"/> + <xsl:variable name="up" select="parent::*"/> + + <xsl:variable name="row1" select="$navig.showtitles != 0"/> + <xsl:variable name="row2" select="count($prev) > 0 + or (count($up) > 0 + and generate-id($up) != generate-id($home) + and $navig.showtitles != 0) + or count($next) > 0"/> + + <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'"> + <div class="navheader"> + <xsl:if test="$row1 or $row2"> + <table width="100%" summary="Navigation header"> + <xsl:if test="$row1"> + <tr> + <th colspan="3" align="center"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </th> + </tr> + </xsl:if> + + <xsl:if test="$row2"> + <tr> + <td width="20%" align="{$direction.align.start}"> + <xsl:if test="count($prev)>0"> + <a accesskey="p"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$prev"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'prev'"/> + </xsl:call-template> + </a> + </xsl:if> + <xsl:text> </xsl:text> + </td> + <th width="60%" align="center"> + <xsl:choose> + <xsl:when test="count($up) > 0 + and generate-id($up) != generate-id($home) + and $navig.showtitles != 0"> + <xsl:apply-templates select="$up" mode="object.title.markup"/> + </xsl:when> + <xsl:otherwise> </xsl:otherwise> + </xsl:choose> + </th> + <td width="20%" align="{$direction.align.end}"> + <xsl:text> </xsl:text> + <xsl:if test="count($next)>0"> + <a accesskey="n"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$next"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'next'"/> + </xsl:call-template> + </a> + </xsl:if> + </td> + </tr> + </xsl:if> + </table> + </xsl:if> + <xsl:if test="$header.rule != 0"> + <hr/> + </xsl:if> + </div> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="footer.navigation"> + <xsl:param name="prev" select="/foo"/> + <xsl:param name="next" select="/foo"/> + <xsl:param name="nav.context"/> + + <xsl:variable name="home" select="/*[1]"/> + <xsl:variable name="up" select="parent::*"/> + + <xsl:variable name="row1" select="count($prev) > 0 + or count($up) > 0 + or count($next) > 0"/> + + <xsl:variable name="row2" select="($prev and $navig.showtitles != 0) + or (generate-id($home) != generate-id(.) + or $nav.context = 'toc') + or ($chunk.tocs.and.lots != 0 + and $nav.context != 'toc') + or ($next and $navig.showtitles != 0)"/> + + <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'"> + <div class="navfooter"> + <xsl:if test="$footer.rule != 0"> + <hr/> + </xsl:if> + + <xsl:if test="$row1 or $row2"> + <table width="100%" summary="Navigation footer"> + <xsl:if test="$row1"> + <tr> + <td width="40%" align="{$direction.align.start}"> + <xsl:if test="count($prev)>0"> + <a accesskey="p"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$prev"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'prev'"/> + </xsl:call-template> + </a> + </xsl:if> + <xsl:text> </xsl:text> + </td> + <td width="20%" align="center"> + <xsl:choose> + <xsl:when test="count($up)>0 + and generate-id($up) != generate-id($home)"> + <a accesskey="u"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$up"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'up'"/> + </xsl:call-template> + </a> + </xsl:when> + <xsl:otherwise> </xsl:otherwise> + </xsl:choose> + </td> + <td width="40%" align="{$direction.align.end}"> + <xsl:text> </xsl:text> + <xsl:if test="count($next)>0"> + <a accesskey="n"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$next"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'next'"/> + </xsl:call-template> + </a> + </xsl:if> + </td> + </tr> + </xsl:if> + + <xsl:if test="$row2"> + <tr> + <td width="40%" align="{$direction.align.start}" valign="top"> + <xsl:if test="$navig.showtitles != 0"> + <xsl:apply-templates select="$prev" mode="object.title.markup"/> + </xsl:if> + <xsl:text> </xsl:text> + </td> + <td width="20%" align="center"> + <xsl:choose> + <xsl:when test="$home != . or $nav.context = 'toc'"> + <a accesskey="h"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$home"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="navig.content"> + <xsl:with-param name="direction" select="'home'"/> + </xsl:call-template> + </a> + <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'"> + <xsl:text> | </xsl:text> + </xsl:if> + </xsl:when> + <xsl:otherwise> </xsl:otherwise> + </xsl:choose> + + <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'"> + <a accesskey="t"> + <xsl:attribute name="href"> + <xsl:value-of select="$chunked.filename.prefix"/> + <xsl:apply-templates select="/*[1]" + mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:attribute> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'nav-toc'"/> + </xsl:call-template> + </a> + </xsl:if> + </td> + <td width="40%" align="{$direction.align.end}" valign="top"> + <xsl:text> </xsl:text> + <xsl:if test="$navig.showtitles != 0"> + <xsl:apply-templates select="$next" mode="object.title.markup"/> + </xsl:if> + </td> + </tr> + </xsl:if> + </table> + </xsl:if> + </div> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="navig.content"> + <xsl:param name="direction" select="next"/> + <xsl:variable name="navtext"> + <xsl:choose> + <xsl:when test="$direction = 'prev'"> + <xsl:call-template name="gentext.nav.prev"/> + </xsl:when> + <xsl:when test="$direction = 'next'"> + <xsl:call-template name="gentext.nav.next"/> + </xsl:when> + <xsl:when test="$direction = 'up'"> + <xsl:call-template name="gentext.nav.up"/> + </xsl:when> + <xsl:when test="$direction = 'home'"> + <xsl:call-template name="gentext.nav.home"/> + </xsl:when> + <xsl:otherwise> + <xsl:text>xxx</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$navig.graphics != 0"> + <img> + <xsl:attribute name="src"> + <xsl:value-of select="$navig.graphics.path"/> + <xsl:value-of select="$direction"/> + <xsl:value-of select="$navig.graphics.extension"/> + </xsl:attribute> + <xsl:attribute name="alt"> + <xsl:value-of select="$navtext"/> + </xsl:attribute> + </img> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$navtext"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- * The following template assumes that the first legalnotice --> +<!-- * instance found in a document applies to the contents of the --> +<!-- * entire document. It generates an HTML link in each chunk, back --> +<!-- * to the file containing the contents of the first legalnotice. --> +<!-- * --> +<!-- * Actually, it may generate multiple link instances in each chunk, --> +<!-- * because it walks through the space-separated list of link --> +<!-- * types specified in the $html.head.legalnotice.link.types param, --> +<!-- * popping off link types and generating links for them until it --> +<!-- * depletes the list. --> + +<xsl:template name="make.legalnotice.head.links"> + <!-- * the following ID is used as part of the legalnotice filename; --> + <!-- * we need it in order to construct the filename for use in the --> + <!-- * value of the href attribute on the link --> + + <xsl:param name="ln-node" select="(//legalnotice)[1]"/> + + <xsl:param name="linktype"> + <xsl:choose> + <xsl:when test="contains($html.head.legalnotice.link.types, ' ')"> + <xsl:value-of + select="normalize-space( + substring-before($html.head.legalnotice.link.types, ' '))"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$html.head.legalnotice.link.types"/> + </xsl:otherwise> + </xsl:choose> + </xsl:param> + <xsl:param + name="remaining.linktypes" + select="concat( + normalize-space( + substring-after($html.head.legalnotice.link.types, ' ')),' ')"/> + <xsl:if test="not($linktype = '')"> + + <!-- Compute name of legalnotice file (see titlepage.xsl) --> + <xsl:variable name="file"> + <xsl:call-template name="ln.or.rh.filename"> + <xsl:with-param name="node" select="$ln-node"/> + </xsl:call-template> + </xsl:variable> + + <link rel="{$linktype}"> + <xsl:attribute name="href"> + <xsl:value-of select="$file"/> + </xsl:attribute> + <xsl:attribute name="title"> + <xsl:apply-templates select="(//legalnotice)[1]" + mode="object.title.markup.textonly"/> + </xsl:attribute> + </link> + <xsl:call-template name="make.legalnotice.head.links"> + <!-- * pop the next value off the list of link types --> + <xsl:with-param + name="linktype" + select="substring-before($remaining.linktypes, ' ')"/> + <!-- * remove the link type from the list of remaining link types --> + <xsl:with-param + name="remaining.linktypes" + select="substring-after($remaining.linktypes, ' ')"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="chunk-element-content"> + <xsl:param name="prev"/> + <xsl:param name="next"/> + <xsl:param name="nav.context"/> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <xsl:call-template name="user.preroot"/> + + <html> + <xsl:call-template name="root.attributes"/> + <xsl:call-template name="html.head"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + </xsl:call-template> + + <body> + <xsl:call-template name="body.attributes"/> + + <xsl:call-template name="user.header.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="header.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="user.header.content"/> + + <xsl:copy-of select="$content"/> + + <xsl:call-template name="user.footer.content"/> + + <xsl:call-template name="footer.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="user.footer.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + </body> + </html> + <xsl:value-of select="$chunk.append"/> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="generate.manifest"> + <xsl:param name="node" select="/"/> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$manifest"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:apply-templates select="$node" mode="enumerate-files"/> + </xsl:with-param> + <xsl:with-param name="encoding" select="$chunker.output.encoding"/> + </xsl:call-template> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="dbhtml-dir"> + <xsl:param name="context" select="."/> + <!-- directories are now inherited from previous levels --> + <xsl:variable name="ppath"> + <xsl:if test="$context/parent::*"> + <xsl:call-template name="dbhtml-dir"> + <xsl:with-param name="context" select="$context/parent::*"/> + </xsl:call-template> + </xsl:if> + </xsl:variable> + <xsl:variable name="path"> + <xsl:call-template name="pi.dbhtml_dir"> + <xsl:with-param name="node" select="$context"/> + </xsl:call-template> + </xsl:variable> + <xsl:choose> + <xsl:when test="$path = ''"> + <xsl:if test="$ppath != ''"> + <xsl:value-of select="$ppath"/> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$ppath != ''"> + <xsl:value-of select="$ppath"/> + <xsl:if test="substring($ppath, string-length($ppath), 1) != '/'"> + <xsl:text>/</xsl:text> + </xsl:if> + </xsl:if> + <xsl:value-of select="$path"/> + <xsl:text>/</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunk.xsl new file mode 100644 index 0000000000..a89e242119 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunk.xsl @@ -0,0 +1,52 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<!-- ******************************************************************** + $Id: chunk.xsl 6910 2007-06-28 23:23:30Z xmldoc $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- First import the non-chunking templates that format elements + within each chunk file. In a customization, you should + create a separate non-chunking customization layer such + as mydocbook.xsl that imports the original docbook.xsl and + customizes any presentation templates. Then your chunking + customization should import mydocbook.xsl instead of + docbook.xsl. --> +<xsl:import href="docbook.xsl"/> + +<!-- chunk-common.xsl contains all the named templates for chunking. + In a customization file, you import chunk-common.xsl, then + add any customized chunking templates of the same name. + They will have import precedence over the original + chunking templates in chunk-common.xsl. --> +<xsl:import href="chunk-common.xsl"/> + +<!-- The manifest.xsl module is no longer imported because its + templates were moved into chunk-common and chunk-code --> + +<!-- chunk-code.xsl contains all the chunking templates that use + a match attribute. In a customization it should be referenced + using <xsl:include> instead of <xsl:import>, and then add + any customized chunking templates with match attributes. But be sure + to add a priority="1" to such customized templates to resolve + its conflict with the original, since they have the + same import precedence. + + Using xsl:include prevents adding another layer + of import precedence, which would cause any + customizations that use xsl:apply-imports to wrongly + apply the chunking version instead of the original + non-chunking version to format an element. --> +<xsl:include href="chunk-code.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunker.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunker.xsl new file mode 100644 index 0000000000..785c4f738e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunker.xsl @@ -0,0 +1,452 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:saxon="http://icl.com/saxon" + xmlns:lxslt="http://xml.apache.org/xslt" + xmlns:redirect="http://xml.apache.org/xalan/redirect" + xmlns:exsl="http://exslt.org/common" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + version="1.0" + exclude-result-prefixes="saxon lxslt redirect exsl doc" + extension-element-prefixes="saxon redirect lxslt exsl"> + +<!-- ******************************************************************** + $Id: chunker.xsl 9656 2012-10-29 18:09:53Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- This stylesheet works with XSLT implementations that support --> +<!-- exsl:document, saxon:output, or Xalan's redirect:write --> +<!-- Note: Only Saxon 6.4.2 or later is supported. --> + +<xsl:param name="chunker.output.method" select="'html'"/> +<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> +<xsl:param name="chunker.output.indent" select="'no'"/> +<xsl:param name="chunker.output.omit-xml-declaration" select="'no'"/> +<xsl:param name="chunker.output.standalone" select="'no'"/> +<xsl:param name="chunker.output.doctype-public" select="''"/> +<xsl:param name="chunker.output.doctype-system" select="''"/> +<xsl:param name="chunker.output.media-type" select="''"/> +<xsl:param name="chunker.output.cdata-section-elements" select="''"/> + +<!-- Make sure base.dir has a trailing slash now --> +<xsl:param name="chunk.base.dir"> + <xsl:choose> + <xsl:when test="string-length($base.dir) = 0"></xsl:when> + <!-- make sure to add trailing slash if omitted by user --> + <xsl:when test="substring($base.dir, string-length($base.dir), 1) = '/'"> + <xsl:value-of select="$base.dir"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat($base.dir, '/')"/> + </xsl:otherwise> + </xsl:choose> +</xsl:param> + +<xsl:param name="saxon.character.representation" select="'entity;decimal'"/> + +<!-- ==================================================================== --> + +<xsl:template name="make-relative-filename"> + <xsl:param name="base.dir" select="'./'"/> + <xsl:param name="base.name" select="''"/> + + <xsl:choose> + <!-- put Saxon first to work around a bug in libxslt --> + <xsl:when test="element-available('saxon:output')"> + <!-- Saxon doesn't make the chunks relative --> + <xsl:value-of select="concat($base.dir,$base.name)"/> + </xsl:when> + <xsl:when test="element-available('exsl:document')"> + <!-- EXSL document does make the chunks relative, I think --> + <xsl:choose> + <xsl:when test="count(parent::*) = 0"> + <xsl:value-of select="concat($base.dir,$base.name)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$base.name"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:when test="element-available('redirect:write')"> + <!-- Xalan doesn't make the chunks relative --> + <xsl:value-of select="concat($base.dir,$base.name)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>Don't know how to chunk with </xsl:text> + <xsl:value-of select="system-property('xsl:vendor')"/> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="write.chunk"> + <xsl:param name="filename" select="''"/> + <xsl:param name="quiet" select="$chunk.quietly"/> + <xsl:param name="suppress-context-node-name" select="0"/> + <xsl:param name="message-prolog"/> + <xsl:param name="message-epilog"/> + + <xsl:param name="method" select="$chunker.output.method"/> + <xsl:param name="encoding" select="$chunker.output.encoding"/> + <xsl:param name="indent" select="$chunker.output.indent"/> + <xsl:param name="omit-xml-declaration" + select="$chunker.output.omit-xml-declaration"/> + <xsl:param name="standalone" select="$chunker.output.standalone"/> + <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/> + <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/> + <xsl:param name="media-type" select="$chunker.output.media-type"/> + <xsl:param name="cdata-section-elements" + select="$chunker.output.cdata-section-elements"/> + + <xsl:param name="content"/> + + <xsl:if test="$quiet = 0"> + <xsl:message> + <xsl:if test="not($message-prolog = '')"> + <xsl:value-of select="$message-prolog"/> + </xsl:if> + <xsl:text>Writing </xsl:text> + <xsl:value-of select="$filename"/> + <xsl:if test="name(.) != '' and $suppress-context-node-name = 0"> + <xsl:text> for </xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:if test="@id or @xml:id"> + <xsl:text>(</xsl:text> + <xsl:value-of select="(@id|@xml:id)[1]"/> + <xsl:text>)</xsl:text> + </xsl:if> + </xsl:if> + <xsl:if test="not($message-epilog = '')"> + <xsl:value-of select="$message-epilog"/> + </xsl:if> + </xsl:message> + </xsl:if> + + <xsl:choose> + <xsl:when test="element-available('exsl:document')"> + <xsl:choose> + <!-- Handle the permutations ... --> + <xsl:when test="$media-type != ''"> + <xsl:choose> + <xsl:when test="$doctype-public != '' and $doctype-system != ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-public="{$doctype-public}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:when test="$doctype-public != '' and $doctype-system = ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-public="{$doctype-public}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:when test="$doctype-public = '' and $doctype-system != ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$doctype-public != '' and $doctype-system != ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-public="{$doctype-public}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:when test="$doctype-public != '' and $doctype-system = ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-public="{$doctype-public}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:when test="$doctype-public = '' and $doctype-system != ''"> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:when> + <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> + <exsl:document href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </exsl:document> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="element-available('saxon:output')"> + <xsl:choose> + <!-- Handle the permutations ... --> + <xsl:when test="$media-type != ''"> + <xsl:choose> + <xsl:when test="$doctype-public != '' and $doctype-system != ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-public="{$doctype-public}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:when test="$doctype-public != '' and $doctype-system = ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-public="{$doctype-public}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:when test="$doctype-public = '' and $doctype-system != ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + media-type="{$media-type}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$doctype-public != '' and $doctype-system != ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-public="{$doctype-public}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:when test="$doctype-public != '' and $doctype-system = ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-public="{$doctype-public}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:when test="$doctype-public = '' and $doctype-system != ''"> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + doctype-system="{$doctype-system}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:when> + <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> --> + <saxon:output saxon:character-representation="{$saxon.character.representation}" + href="{$filename}" + method="{$method}" + encoding="{$encoding}" + indent="{$indent}" + omit-xml-declaration="{$omit-xml-declaration}" + cdata-section-elements="{$cdata-section-elements}" + standalone="{$standalone}"> + <xsl:copy-of select="$content"/> + </saxon:output> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="element-available('redirect:write')"> + <!-- Xalan uses redirect --> + <redirect:write file="{$filename}"> + <xsl:copy-of select="$content"/> + </redirect:write> + </xsl:when> + + <xsl:otherwise> + <!-- it doesn't matter since we won't be making chunks... --> + <xsl:message terminate="yes"> + <xsl:text>Can't make chunks with </xsl:text> + <xsl:value-of select="system-property('xsl:vendor')"/> + <xsl:text>'s processor.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="write.chunk.with.doctype"> + <xsl:param name="filename" select="''"/> + <xsl:param name="quiet" select="$chunk.quietly"/> + + <xsl:param name="method" select="$chunker.output.method"/> + <xsl:param name="encoding" select="$chunker.output.encoding"/> + <xsl:param name="indent" select="$chunker.output.indent"/> + <xsl:param name="omit-xml-declaration" + select="$chunker.output.omit-xml-declaration"/> + <xsl:param name="standalone" select="$chunker.output.standalone"/> + <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/> + <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/> + <xsl:param name="media-type" select="$chunker.output.media-type"/> + <xsl:param name="cdata-section-elements" + select="$chunker.output.cdata-section-elements"/> + + <xsl:param name="content"/> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$quiet"/> + <xsl:with-param name="method" select="$method"/> + <xsl:with-param name="encoding" select="$encoding"/> + <xsl:with-param name="indent" select="$indent"/> + <xsl:with-param name="omit-xml-declaration" select="$omit-xml-declaration"/> + <xsl:with-param name="standalone" select="$standalone"/> + <xsl:with-param name="doctype-public" select="$doctype-public"/> + <xsl:with-param name="doctype-system" select="$doctype-system"/> + <xsl:with-param name="media-type" select="$media-type"/> + <xsl:with-param name="cdata-section-elements" select="$cdata-section-elements"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="write.text.chunk"> + <xsl:param name="filename" select="''"/> + <xsl:param name="quiet" select="$chunk.quietly"/> + <xsl:param name="suppress-context-node-name" select="0"/> + <xsl:param name="message-prolog"/> + <xsl:param name="message-epilog"/> + <xsl:param name="method" select="'text'"/> + <xsl:param name="encoding" select="$chunker.output.encoding"/> + <xsl:param name="media-type" select="$chunker.output.media-type"/> + <xsl:param name="content"/> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$quiet"/> + <xsl:with-param name="suppress-context-node-name" select="$suppress-context-node-name"/> + <xsl:with-param name="message-prolog" select="$message-prolog"/> + <xsl:with-param name="message-epilog" select="$message-epilog"/> + <xsl:with-param name="method" select="$method"/> + <xsl:with-param name="encoding" select="$encoding"/> + <xsl:with-param name="indent" select="'no'"/> + <xsl:with-param name="omit-xml-declaration" select="'yes'"/> + <xsl:with-param name="standalone" select="'no'"/> + <xsl:with-param name="doctype-public"/> + <xsl:with-param name="doctype-system"/> + <xsl:with-param name="media-type" select="$media-type"/> + <xsl:with-param name="cdata-section-elements"/> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunkfast.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunkfast.xsl new file mode 100644 index 0000000000..35a4631eeb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunkfast.xsl @@ -0,0 +1,72 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" + version="1.0" + exclude-result-prefixes="cf exsl"> + +<!-- ******************************************************************** + $Id: chunkfast.xsl 8345 2009-03-16 06:44:07Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="chunk.xsl"/> +<xsl:param name="chunk.fast" select="1"/> + +<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/> + +<!-- ==================================================================== --> + +<xsl:template name="process-chunk-element"> + <xsl:choose> + <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0"> + <xsl:variable name="genid" select="generate-id()"/> + + <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/> + + <xsl:variable name="prevdiv" + select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/> + <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/> + + <xsl:variable name="nextdiv" + select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/> + <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/> + + <xsl:choose> + <xsl:when test="$onechunk != 0 and parent::*"> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$onechunk != 0 and not(parent::*)"> + <xsl:call-template name="chunk-all-sections"/> + </xsl:when> + <xsl:when test="$onechunk != 0"> + <xsl:apply-imports/> + </xsl:when> + <xsl:when test="$chunk.first.sections = 0"> + <xsl:call-template name="chunk-first-section-with-parent"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="chunk-all-sections"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/chunktoc.xsl b/apache-fop/src/test/resources/docbook-xsl/html/chunktoc.xsl new file mode 100644 index 0000000000..8a9a823ccf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/chunktoc.xsl @@ -0,0 +1,550 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + version="1.0" + exclude-result-prefixes="doc"> + +<!-- ******************************************************************** + $Id: chunktoc.xsl 9286 2012-04-19 10:10:58Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="docbook.xsl"/> +<xsl:import href="chunk-common.xsl"/> + +<xsl:template name="chunk"> + <xsl:param name="node" select="."/> + <!-- returns 1 if $node is a chunk --> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$node"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="chunks" select="document($chunk.toc,/)"/> + + <xsl:choose> + <xsl:when test="$chunks//tocentry[@linkend=$id]">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="chunk-filename"> + <!-- returns the filename of a chunk --> + + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="chunks" select="document($chunk.toc,/)"/> + + <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/> + <xsl:variable name="filename"> + <xsl:call-template name="pi.dbhtml_filename"> + <xsl:with-param name="node" select="$chunk"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$chunk"> + <xsl:value-of select="$filename"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="parent::*" mode="chunk-filename"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="process-chunk"> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + + <xsl:variable name="chunks" select="document($chunk.toc,/)"/> + + <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/> + <xsl:variable name="prev-id" + select="($chunk/preceding::tocentry + |$chunk/ancestor::tocentry)[last()]/@linkend"/> + <xsl:variable name="next-id" + select="($chunk/following::tocentry + |$chunk/child::tocentry)[1]/@linkend"/> + + <xsl:variable name="prev" select="key('id',$prev-id)"/> + <xsl:variable name="next" select="key('id',$next-id)"/> + + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:variable name="chunkfn"> + <xsl:if test="$ischunk='1'"> + <xsl:apply-templates mode="chunk-filename" select="."/> + </xsl:if> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$chunkfn"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$ischunk = 0"> + <xsl:apply-imports/> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="set"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="book"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="book/appendix"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="book/glossary"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="book/bibliography"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="dedication" mode="dedication"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="preface|chapter"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="part|reference"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="refentry"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="colophon"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="article"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="topic"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="article/appendix"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="article/glossary"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="article/bibliography"> + <xsl:call-template name="process-chunk"/> +</xsl:template> + +<xsl:template match="sect1|sect2|sect3|sect4|sect5|section"> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$ischunk != 0"> + <xsl:call-template name="process-chunk"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-imports/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="setindex + |book/index + |article/index"> + <!-- some implementations use completely empty index tags to indicate --> + <!-- where an automatically generated index should be inserted. so --> + <!-- if the index is completely empty, skip it. --> + <xsl:if test="count(*)>0 or $generate.index != '0'"> + <xsl:call-template name="process-chunk"/> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="/"> + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="$chunk.toc = ''"> + <xsl:message terminate="yes"> + <xsl:text>The chunk.toc file is not set.</xsl:text> + </xsl:message> + </xsl:when> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <!-- include extra test for Xalan quirk --> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>stripped namespace before processing</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:variable name="nons"> + <xsl:apply-templates mode="stripNS"/> + </xsl:variable> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>processing stripped document</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates select="exsl:node-set($nons)"/> + </xsl:when> + <!-- Can't process unless namespace removed --> + <xsl:when test="*/self::ng:* or */self::db:*"> + <xsl:message terminate="yes"> + <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text> + <xsl:text> cannot proceed.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:choose> + <xsl:when test="count(key('id',$rootid)) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="key('id', $rootid)" + mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="key('id',$rootid)" + mode="process.root"/> + <xsl:if test="$tex.math.in.alt != ''"> + <xsl:apply-templates select="key('id',$rootid)" + mode="collect.tex.math"/> + </xsl:if> + <xsl:if test="$generate.manifest != 0"> + <xsl:call-template name="generate.manifest"> + <xsl:with-param name="node" select="key('id',$rootid)"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="/" mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="/" mode="process.root"/> + <xsl:if test="$tex.math.in.alt != ''"> + <xsl:apply-templates select="/" mode="collect.tex.math"/> + </xsl:if> + <xsl:if test="$generate.manifest != 0"> + <xsl:call-template name="generate.manifest"> + <xsl:with-param name="node" select="/"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="process.root"> + <xsl:apply-templates select="."/> + <xsl:call-template name="generate.css"/> +</xsl:template> + +<xsl:template name="make.lots"> + <xsl:param name="toc.params" select="''"/> + <xsl:param name="toc"/> + + <xsl:variable name="lots"> + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:copy-of select="$toc"/> + </xsl:if> + + <xsl:if test="contains($toc.params, 'figure')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'figure'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'figure'"/> + <xsl:with-param name="nodes" select=".//figure"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'table')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'table'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'table'"/> + <xsl:with-param name="nodes" select=".//table"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'example')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'example'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'example'"/> + <xsl:with-param name="nodes" select=".//example"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'equation')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'equation'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" select=".//equation"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'equation'"/> + <xsl:with-param name="nodes" select=".//equation"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + <xsl:if test="contains($toc.params, 'procedure')"> + <xsl:choose> + <xsl:when test="$chunk.separate.lots != '0'"> + <xsl:call-template name="make.lot.chunk"> + <xsl:with-param name="type" select="'procedure'"/> + <xsl:with-param name="lot"> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" select=".//procedure[title]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="list.of.titles"> + <xsl:with-param name="titles" select="'procedure'"/> + <xsl:with-param name="nodes" select=".//procedure[title]"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:if test="string($lots) != ''"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="/foo"/> + <xsl:with-param name="next" select="/foo"/> + <xsl:with-param name="nav.context" select="'toc'"/> + <xsl:with-param name="content"> + <h1> + <xsl:apply-templates select="." mode="object.title.markup"/> + </h1> + <xsl:copy-of select="$lots"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$lots"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template name="make.lot.chunk"> + <xsl:param name="type" select="''"/> + <xsl:param name="lot"/> + + <xsl:if test="string($lot) != ''"> + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:value-of select="$type"/> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="href"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="''"/> + <xsl:with-param name="base.name"> + <xsl:call-template name="dbhtml-dir"/> + <xsl:value-of select="$type"/> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="content"> + <xsl:call-template name="chunk-element-content"> + <xsl:with-param name="prev" select="/foo"/> + <xsl:with-param name="next" select="/foo"/> + <xsl:with-param name="nav.context" select="'toc'"/> + <xsl:with-param name="content"> + <xsl:copy-of select="$lot"/> + </xsl:with-param> + </xsl:call-template> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> + <!-- And output a link to this file --> + <div> + <xsl:attribute name="class"> + <xsl:text>ListofTitles</xsl:text> + </xsl:attribute> + <a href="{$href}"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key"> + <xsl:choose> + <xsl:when test="$type='table'">ListofTables</xsl:when> + <xsl:when test="$type='figure'">ListofFigures</xsl:when> + <xsl:when test="$type='equation'">ListofEquations</xsl:when> + <xsl:when test="$type='example'">ListofExamples</xsl:when> + <xsl:when test="$type='procedure'">ListofProcedures</xsl:when> + <xsl:otherwise>ListofUnknown</xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </a> + </div> + </xsl:if> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/component.xsl b/apache-fop/src/test/resources/docbook-xsl/html/component.xsl new file mode 100644 index 0000000000..6ef4926b88 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/component.xsl @@ -0,0 +1,470 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: component.xsl 9500 2012-07-15 23:24:21Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- Set to 2 for backwards compatibility --> +<xsl:param name="component.heading.level" select="2"/> + +<xsl:template name="component.title"> + <xsl:param name="node" select="."/> + + <!-- This handles the case where a component (bibliography, for example) + occurs inside a section; will we need parameters for this? --> + + <!-- This "level" is a section level. To compute <h> level, add 1. --> + <xsl:variable name="level"> + <xsl:choose> + <!-- chapters and other book children should get <h1> --> + <xsl:when test="$node/parent::book">0</xsl:when> + <xsl:when test="ancestor::section"> + <xsl:value-of select="count(ancestor::section)+1"/> + </xsl:when> + <xsl:when test="ancestor::sect5">6</xsl:when> + <xsl:when test="ancestor::sect4">5</xsl:when> + <xsl:when test="ancestor::sect3">4</xsl:when> + <xsl:when test="ancestor::sect2">3</xsl:when> + <xsl:when test="ancestor::sect1">2</xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:element name="h{$level+1}"> + <xsl:attribute name="class">title</xsl:attribute> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates select="$node" mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </xsl:element> +</xsl:template> + +<xsl:template name="component.subtitle"> + <xsl:param name="node" select="."/> + <xsl:variable name="subtitle" + select="($node/docinfo/subtitle + |$node/info/subtitle + |$node/prefaceinfo/subtitle + |$node/chapterinfo/subtitle + |$node/appendixinfo/subtitle + |$node/articleinfo/subtitle + |$node/artheader/subtitle + |$node/subtitle)[1]"/> + + <xsl:if test="$subtitle"> + <h3 class="subtitle"> + <xsl:call-template name="id.attribute"/> + <i> + <xsl:apply-templates select="$node" mode="object.subtitle.markup"/> + </i> + </h3> + </xsl:if> +</xsl:template> + +<xsl:template name="component.separator"> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="dedication" mode="dedication"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="dedication.titlepage"/> + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="dedication/title|dedication/info/title" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::dedication[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="dedication/subtitle|dedication/info/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::dedication[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" --> +<xsl:template match="dedication/title"></xsl:template> +<xsl:template match="dedication/subtitle"></xsl:template> +<xsl:template match="dedication/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="acknowledgements" mode="acknowledgements"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="acknowledgements.titlepage"/> + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="acknowledgements/title|acknowledgements/info/title" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::acknowledgements[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="acknowledgements/subtitle|acknowledgements/info/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::acknowledgements[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="acknowledgements"></xsl:template> <!-- see mode="acknowledgements" --> +<xsl:template match="acknowledgements/title"></xsl:template> +<xsl:template match="acknowledgements/subtitle"></xsl:template> +<xsl:template match="acknowledgements/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="colophon"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="component.separator"/> + <xsl:call-template name="component.title"/> + <xsl:call-template name="component.subtitle"/> + + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="colophon/title"></xsl:template> +<xsl:template match="colophon/subtitle"></xsl:template> +<xsl:template match="colophon/titleabbrev"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="preface"> + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="component.separator"/> + <xsl:call-template name="preface.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + <xsl:call-template name="component.toc.separator"/> + </xsl:if> + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </xsl:element> +</xsl:template> + +<xsl:template match="preface/title" mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::preface[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="preface/subtitle + |preface/prefaceinfo/subtitle + |preface/info/subtitle + |preface/docinfo/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::preface[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template> +<xsl:template match="preface/info"></xsl:template> +<xsl:template match="preface/title"></xsl:template> +<xsl:template match="preface/titleabbrev"></xsl:template> +<xsl:template match="preface/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="chapter"> + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="component.separator"/> + <xsl:call-template name="chapter.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + <xsl:call-template name="component.toc.separator"/> + </xsl:if> + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </xsl:element> +</xsl:template> + +<xsl:template match="chapter/title|chapter/chapterinfo/title|chapter/info/title" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::chapter[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="chapter/subtitle + |chapter/chapterinfo/subtitle + |chapter/info/subtitle + |chapter/docinfo/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::chapter[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template> +<xsl:template match="chapter/info"></xsl:template> +<xsl:template match="chapter/title"></xsl:template> +<xsl:template match="chapter/titleabbrev"></xsl:template> +<xsl:template match="chapter/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="appendix"> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"/> + </xsl:variable> + + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:choose> + <xsl:when test="parent::article and $ischunk = 0"> + <xsl:call-template name="section.heading"> + <xsl:with-param name="level" select="1"/> + <xsl:with-param name="title"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="component.separator"/> + <xsl:call-template name="appendix.titlepage"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="contains($toc.params, 'toc')"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + <xsl:call-template name="component.toc.separator"/> + </xsl:if> + + <xsl:apply-templates/> + + <xsl:if test="not(parent::article) or $ischunk != 0"> + <xsl:call-template name="process.footnotes"/> + </xsl:if> + </xsl:element> +</xsl:template> + +<xsl:template match="appendix/title|appendix/appendixinfo/title" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::appendix[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="appendix/subtitle + |appendix/appendixinfo/subtitle + |appendix/info/subtitle + |appendix/docinfo/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::appendix[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template> +<xsl:template match="appendix/info"></xsl:template> +<xsl:template match="appendix/title"></xsl:template> +<xsl:template match="appendix/titleabbrev"></xsl:template> +<xsl:template match="appendix/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="article"> + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="article.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="make.lots"> + <xsl:with-param name="toc.params" select="$toc.params"/> + <xsl:with-param name="toc"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + <xsl:apply-templates/> + <xsl:call-template name="process.footnotes"/> + </xsl:element> +</xsl:template> + +<xsl:template match="article/title|article/articleinfo/title" mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::article[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="article/subtitle + |article/articleinfo/subtitle + |article/info/subtitle + |article/artheader/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::article[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="article/artheader|article/articleinfo"></xsl:template> +<xsl:template match="article/info"></xsl:template> +<xsl:template match="article/title"></xsl:template> +<xsl:template match="article/titleabbrev"></xsl:template> +<xsl:template match="article/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="topic"> + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:call-template name="common.html.attributes"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="topic.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:apply-templates/> + + <xsl:call-template name="process.footnotes"/> + </xsl:element> +</xsl:template> + +<xsl:template match="topic/title|topic/info/title" mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.title"> + <xsl:with-param name="node" select="ancestor::topic[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="topic/subtitle + |topic/info/subtitle" + mode="titlepage.mode" priority="2"> + <xsl:call-template name="component.subtitle"> + <xsl:with-param name="node" select="ancestor::topic[1]"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="topic/info"></xsl:template> +<xsl:template match="topic/title"></xsl:template> +<xsl:template match="topic/titleabbrev"></xsl:template> +<xsl:template match="topic/subtitle"></xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/division.xsl b/apache-fop/src/test/resources/docbook-xsl/html/division.xsl new file mode 100644 index 0000000000..6ab7fe73a0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/division.xsl @@ -0,0 +1,212 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: division.xsl 9366 2012-05-12 23:44:25Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="set"> + <xsl:call-template name="id.warning"/> + + <xsl:element name="{$div.element}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="dir"> + <xsl:with-param name="inherit" select="1"/> + </xsl:call-template> + <xsl:call-template name="language.attribute"/> + <xsl:if test="$generate.id.attributes != 0"> + <xsl:attribute name="id"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + </xsl:if> + + <xsl:call-template name="set.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="make.lots"> + <xsl:with-param name="toc.params" select="$toc.params"/> + <xsl:with-param name="toc"> + <xsl:call-template name="set.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + <xsl:apply-templates/> + </xsl:element> +</xsl:template> + +<xsl:template match="set/setinfo"></xsl:template> +<xsl:template match="set/title"></xsl:template> +<xsl:template match="set/titleabbrev"></xsl:template> +<xsl:template match="set/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="book"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="book.titlepage"/> + + <xsl:apply-templates select="dedication" mode="dedication"/> + <xsl:apply-templates select="acknowledgements" mode="acknowledgements"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <xsl:call-template name="make.lots"> + <xsl:with-param name="toc.params" select="$toc.params"/> + <xsl:with-param name="toc"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="book/bookinfo"></xsl:template> +<xsl:template match="book/info"></xsl:template> +<xsl:template match="book/title"></xsl:template> +<xsl:template match="book/titleabbrev"></xsl:template> +<xsl:template match="book/subtitle"></xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="part"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="part.titlepage"/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <xsl:if test="not(partintro) and contains($toc.params, 'toc')"> + <xsl:call-template name="division.toc"/> + </xsl:if> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="part" mode="make.part.toc"> + <xsl:call-template name="division.toc"/> +</xsl:template> + +<xsl:template match="reference" mode="make.part.toc"> + <xsl:call-template name="division.toc"/> +</xsl:template> + +<xsl:template match="part/docinfo"></xsl:template> +<xsl:template match="part/partinfo"></xsl:template> +<xsl:template match="part/info"></xsl:template> +<xsl:template match="part/title"></xsl:template> +<xsl:template match="part/titleabbrev"></xsl:template> +<xsl:template match="part/subtitle"></xsl:template> + +<xsl:template match="partintro"> + <xsl:call-template name="id.warning"/> + + <div> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + + <xsl:call-template name="partintro.titlepage"/> + <xsl:apply-templates/> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <xsl:if test="contains($toc.params, 'toc')"> + <!-- not ancestor::part because partintro appears in reference --> + <xsl:apply-templates select="parent::*" mode="make.part.toc"/> + </xsl:if> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="partintro/title"></xsl:template> +<xsl:template match="partintro/titleabbrev"></xsl:template> +<xsl:template match="partintro/subtitle"></xsl:template> + +<xsl:template match="partintro/title" mode="partintro.title.mode"> + <h2> + <xsl:apply-templates/> + </h2> +</xsl:template> + +<xsl:template match="partintro/subtitle" mode="partintro.title.mode"> + <h3> + <i><xsl:apply-templates/></i> + </h3> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="book" mode="division.number"> + <xsl:number from="set" count="book" format="1."/> +</xsl:template> + +<xsl:template match="part" mode="division.number"> + <xsl:number from="book" count="part" format="I."/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="division.title"> + <xsl:param name="node" select="."/> + + <h1> + <xsl:attribute name="class">title</xsl:attribute> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select="$node"/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates select="$node" mode="object.title.markup"> + <xsl:with-param name="allow-anchors" select="1"/> + </xsl:apply-templates> + </h1> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/docbook.css.xml b/apache-fop/src/test/resources/docbook-xsl/html/docbook.css.xml new file mode 100644 index 0000000000..f1509bfd8a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/docbook.css.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<style> + +/********************************/ +/* start of styles in block.xsl */ + +.formalpara-title { + font-weight: bold; +} + +div.blockquote-title { + font-weight: bold; + margin-top: 1em; + margin-bottom: 1em; +} + +span.msgmain-title { + font-weight: bold; +} + +span.msgsub-title { + font-weight: bold; +} + +span.msgrel-title { + font-weight: bold; +} + +div.msglevel, div.msgorig, div.msgaud { + margin-top: 1em; + margin-bottom: 1em; +} + +span.msglevel-title, span.msgorig-title, span.msgaud-title { + font-weight: bold; +} + +div.msgexplan { + margin-top: 1em; + margin-bottom: 1em; +} + +span.msgexplan-title { + font-weight: bold; +} + +/* end of styles in block.xsl */ +/********************************/ + +/********************************/ +/* start of styles in autotoc.xsl */ + + +/* end of styles in autotoc.xsl */ +/********************************/ + +/********************************/ +/* start of styles in formal.xsl */ + +div.figure-title { + font-weight: bold; +} + +div.example-title { + font-weight: bold; +} + +div.equation-title { + font-weight: bold; +} + +div.table-title { + font-weight: bold; +} + +div.sidebar-title { + font-weight: bold; +} + + +/* end of styles in formal.xsl */ +/********************************/ + +/********************************/ +/* start of styles in verbatim.xsl */ + +div.programlisting { + white-space: pre; + font-family: monospace; +} + +div.screen { + white-space: pre; + font-family: monospace; +} + +div.synopsis { + white-space: pre; + font-family: monospace; +} + +/* end of styles in verbatim.xsl */ +/********************************/ + +/* footnote rule */ +hr.footnote-hr { + width: 100; +} + +</style> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/html/docbook.xsl new file mode 100644 index 0000000000..d3ce9d4500 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/docbook.xsl @@ -0,0 +1,572 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + xmlns:exslt="http://exslt.org/common" + exclude-result-prefixes="db ng exsl exslt" + version='1.0'> + +<xsl:output method="html" + encoding="ISO-8859-1" + indent="no"/> + +<!-- ******************************************************************** + $Id: docbook.xsl 9605 2012-09-18 10:48:54Z tom_schr $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:include href="../VERSION.xsl"/> +<xsl:include href="param.xsl"/> +<xsl:include href="../lib/lib.xsl"/> +<xsl:include href="../common/l10n.xsl"/> +<xsl:include href="../common/common.xsl"/> +<xsl:include href="../common/utility.xsl"/> +<xsl:include href="../common/labels.xsl"/> +<xsl:include href="../common/titles.xsl"/> +<xsl:include href="../common/subtitles.xsl"/> +<xsl:include href="../common/gentext.xsl"/> +<xsl:include href="../common/targets.xsl"/> +<xsl:include href="../common/olink.xsl"/> +<xsl:include href="../common/pi.xsl"/> +<xsl:include href="autotoc.xsl"/> +<xsl:include href="autoidx.xsl"/> +<xsl:include href="lists.xsl"/> +<xsl:include href="callout.xsl"/> +<xsl:include href="verbatim.xsl"/> +<xsl:include href="graphics.xsl"/> +<xsl:include href="xref.xsl"/> +<xsl:include href="formal.xsl"/> +<xsl:include href="table.xsl"/> +<xsl:include href="htmltbl.xsl"/> +<xsl:include href="sections.xsl"/> +<xsl:include href="inline.xsl"/> +<xsl:include href="footnote.xsl"/> +<xsl:include href="html.xsl"/> +<xsl:include href="info.xsl"/> +<xsl:include href="keywords.xsl"/> +<xsl:include href="division.xsl"/> +<xsl:include href="toc.xsl"/> +<xsl:include href="index.xsl"/> +<xsl:include href="refentry.xsl"/> +<xsl:include href="math.xsl"/> +<xsl:include href="admon.xsl"/> +<xsl:include href="component.xsl"/> +<xsl:include href="biblio.xsl"/> +<xsl:include href="biblio-iso690.xsl"/> +<xsl:include href="glossary.xsl"/> +<xsl:include href="block.xsl"/> +<xsl:include href="task.xsl"/> +<xsl:include href="qandaset.xsl"/> +<xsl:include href="synop.xsl"/> +<xsl:include href="titlepage.xsl"/> +<xsl:include href="titlepage.templates.xsl"/> +<xsl:include href="pi.xsl"/> +<xsl:include href="ebnf.xsl"/> +<xsl:include href="chunker.xsl"/> +<xsl:include href="html-rtf.xsl"/> +<xsl:include href="annotations.xsl"/> +<xsl:include href="../common/stripns.xsl"/> + +<xsl:param name="stylesheet.result.type" select="'html'"/> +<xsl:param name="htmlhelp.output" select="0"/> + +<!-- ==================================================================== --> + +<xsl:key name="id" match="*" use="@id|@xml:id"/> +<xsl:key name="gid" match="*" use="generate-id()"/> + +<!-- ==================================================================== --> + +<xsl:template match="*"> + <xsl:message> + <xsl:text>Element </xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> in namespace '</xsl:text> + <xsl:value-of select="namespace-uri(.)"/> + <xsl:text>' encountered</xsl:text> + <xsl:if test="parent::*"> + <xsl:text> in </xsl:text> + <xsl:value-of select="name(parent::*)"/> + </xsl:if> + <xsl:text>, but no template matches.</xsl:text> + </xsl:message> + + <span style="color: red"> + <xsl:text><</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + <xsl:apply-templates/> + <xsl:text></</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + </span> +</xsl:template> + +<xsl:template match="text()"> + <xsl:value-of select="."/> +</xsl:template> + +<xsl:template name="body.attributes"> + <xsl:attribute name="bgcolor">white</xsl:attribute> + <xsl:attribute name="text">black</xsl:attribute> + <xsl:attribute name="link">#0000FF</xsl:attribute> + <xsl:attribute name="vlink">#840084</xsl:attribute> + <xsl:attribute name="alink">#0000FF</xsl:attribute> + <xsl:if test="starts-with($writing.mode, 'rl')"> + <xsl:attribute name="dir">rtl</xsl:attribute> + </xsl:if> +</xsl:template> + +<xsl:template name="head.content.base"> + <xsl:param name="node" select="."/> + <base href="{$html.base}"/> +</xsl:template> + +<xsl:template name="head.content.abstract"> + <xsl:param name="node" select="."/> + <xsl:variable name="info" select="(articleinfo + |bookinfo + |prefaceinfo + |chapterinfo + |appendixinfo + |sectioninfo + |sect1info + |sect2info + |sect3info + |sect4info + |sect5info + |referenceinfo + |refentryinfo + |partinfo + |info + |docinfo)[1]"/> + <xsl:if test="$info and $info/abstract"> + <meta name="description"> + <xsl:attribute name="content"> + <xsl:for-each select="$info/abstract[1]/*"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() < last()"> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:if> +</xsl:template> + +<xsl:template name="head.content.link.made"> + <xsl:param name="node" select="."/> + + <link rev="made" href="{$link.mailto.url}"/> +</xsl:template> + +<xsl:template name="head.content.generator"> + <xsl:param name="node" select="."/> + <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/> +</xsl:template> + +<xsl:template name="head.content.style"> + <xsl:param name="node" select="."/> + <style type="text/css"><xsl:text> +body { background-image: url('</xsl:text> +<xsl:value-of select="$draft.watermark.image"/><xsl:text>'); + background-repeat: no-repeat; + background-position: top left; + /* The following properties make the watermark "fixed" on the page. */ + /* I think that's just a bit too distracting for the reader... */ + /* background-attachment: fixed; */ + /* background-position: center center; */ + }</xsl:text> + </style> +</xsl:template> + +<xsl:template name="head.content"> + <xsl:param name="node" select="."/> + <xsl:param name="title"> + <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/> + </xsl:param> + + <xsl:call-template name="user.head.title"> + <xsl:with-param name="title" select="$title"/> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + + <xsl:if test="$html.base != ''"> + <xsl:call-template name="head.content.base"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <!-- Insert links to CSS files or insert literal style elements --> + <xsl:call-template name="generate.css"/> + + <xsl:if test="$html.stylesheet != ''"> + <xsl:call-template name="output.html.stylesheets"> + <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="$html.script != ''"> + <xsl:call-template name="output.html.scripts"> + <xsl:with-param name="scripts" select="normalize-space($html.script)"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="$link.mailto.url != ''"> + <xsl:call-template name="head.content.link.made"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <xsl:call-template name="head.content.generator"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + + <xsl:if test="$generate.meta.abstract != 0"> + <xsl:call-template name="head.content.abstract"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="($draft.mode = 'yes' or + ($draft.mode = 'maybe' and + ancestor-or-self::*[@status][1]/@status = 'draft')) + and $draft.watermark.image != ''"> + <xsl:call-template name="head.content.style"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + <xsl:apply-templates select="." mode="head.keywords.content"/> +</xsl:template> + +<xsl:template name="output.html.stylesheets"> + <xsl:param name="stylesheets" select="''"/> + + <xsl:choose> + <xsl:when test="contains($stylesheets, ' ')"> + <xsl:variable name="css.filename" select="substring-before($stylesheets, ' ')"/> + + <xsl:call-template name="make.css.link"> + <xsl:with-param name="css.filename" select="$css.filename"/> + </xsl:call-template> + + <xsl:call-template name="output.html.stylesheets"> + <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$stylesheets != ''"> + <xsl:call-template name="make.css.link"> + <xsl:with-param name="css.filename" select="$stylesheets"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="output.html.scripts"> + <xsl:param name="scripts" select="''"/> + + <xsl:choose> + <xsl:when test="contains($scripts, ' ')"> + <xsl:variable name="script.filename" select="substring-before($scripts, ' ')"/> + + <xsl:call-template name="make.script.link"> + <xsl:with-param name="script.filename" select="$script.filename"/> + </xsl:call-template> + + <xsl:call-template name="output.html.scripts"> + <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$scripts != ''"> + <xsl:call-template name="make.script.link"> + <xsl:with-param name="script.filename" select="$scripts"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template match="*" mode="head.keywords.content"> + <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="artheader/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/> + <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="info/keywordset" mode="html.header"/> + + <xsl:if test="$inherit.keywords != 0 + and parent::*"> + <xsl:apply-templates select="parent::*" mode="head.keywords.content"/> + </xsl:if> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template name="system.head.content"> + <xsl:param name="node" select="."/> + + <!-- FIXME: When chunking, only the annotations actually used + in this chunk should be referenced. I don't think it + does any harm to reference them all, but it adds + unnecessary bloat to each chunk. --> + <xsl:if test="$annotation.support != 0 and //annotation"> + <xsl:call-template name="add.annotation.links"/> + <script type="text/javascript"> + <xsl:text> // Create PopupWindow objects</xsl:text> + <xsl:for-each select="//annotation"> + <xsl:text> var popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text> = new PopupWindow("popup-</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>"); </xsl:text> + <xsl:text>popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>.offsetY = 15; </xsl:text> + <xsl:text>popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>.autoHide(); </xsl:text> + </xsl:for-each> + </script> + + <style type="text/css"> + <xsl:value-of select="$annotation.css"/> + </style> + </xsl:if> + + <!-- system.head.content is like user.head.content, except that + it is called before head.content. This is important because it + means, for example, that <style> elements output by system.head.content + have a lower CSS precedence than the users stylesheet. --> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template name="user.preroot"> + <!-- Pre-root output, can be used to output comments and PIs. --> + <!-- This must not output any element content! --> +</xsl:template> + +<xsl:template name="user.head.title"> + <xsl:param name="node" select="."/> + <xsl:param name="title"/> + + <title> + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/ebnf.xsl b/apache-fop/src/test/resources/docbook-xsl/html/ebnf.xsl new file mode 100644 index 0000000000..f6cbe54149 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/ebnf.xsl @@ -0,0 +1,331 @@ + + + + + + + + +$Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ + +Walsh +Norman +19992000 +Norman Walsh + + +HTML EBNF Reference + + +
    Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This reference describes the templates and parameters relevant +to formatting EBNF markup. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
    +
    +
    + + + + + + + + + + + + 1 + + + + + + EBNF + + for + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + EBNF productions + +
    +
    +
    + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + Error: no ID for productionrecap linkend: + + . + + + + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + + + + + + + + + + + + + + + | +
    +
    +
    + + + + + + + + + + + + + + + production + + + + + + + + + Non-terminals with no content must point to + production elements in the current document. + + + Invalid xpointer for empty nt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + /*  + +  */ +
    +
    + + + + + + + + + constraintdef + + + + + + + + + + + + + + + + : + + + + + + + : + + + + + + + + + +  ] + +
    +
    +
    + + +
    + + + + +
    +
    + + +

    +
    + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/footnote.xsl b/apache-fop/src/test/resources/docbook-xsl/html/footnote.xsl new file mode 100644 index 0000000000..9a4e3c3893 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/footnote.xsl @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + #ftn. + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + +ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. +Typically this happens when an id attribute is accidentally applied to the child of a footnote element. +target element: +linkend/id: + + + + + + + + + + + + #ftn. + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + ftn. + + + + + + # + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + footnote-hr + + + + + + + + 100 + + + + + +
    +
    + + +
    +
    +

    The following annotations are from this essay. You are seeing + them here because your browser doesn’t support the user-interface + techniques used to make them appear as ‘popups’ on modern browsers.

    +
    + + +
    +
    +
    + + + + + + + + + + + + ftn. + + + + + + + +
    + + +
    +
    + + +
    + + + + +
    +
    + + + + Warning: footnote number may not be generated + correctly; + + unexpected as first child of footnote. + +
    + + + +
    +
    +
    +
    + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/formal.xsl b/apache-fop/src/test/resources/docbook-xsl/html/formal.xsl new file mode 100644 index 0000000000..2e80c96003 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/formal.xsl @@ -0,0 +1,511 @@ + + + + + +1 + + + + + + + + + + +
    + + + + + + + + + + +
    + +
    + + + + + +

    + + +

    +

    + + + + + + + +
    +
    + +
    +
    +
    + + + + + + + + + -float + + + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    +
    + +

    + + + +

    +
    +
    +
    + + + + + + + +
    + +

    + + + + + + + + +

    +

    +
    + + + + + + + + + -float + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + before + + + + + + + + + +
    + + + + + + + + + + + + +
    + +
    + + + +

    + + +

    + +

    + +
    + + + + + +
    +
    + +
    +
    +
    + + + + + + + + + -float + + + + + + + + + +
    + + + + Broken table: tr descendent of CALS Table. + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + Broken table: row descendent of HTML table. + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + float: + + ; + + + +
    +
    + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/glossary.xsl b/apache-fop/src/test/resources/docbook-xsl/html/glossary.xsl new file mode 100644 index 0000000000..6f4931206b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/glossary.xsl @@ -0,0 +1,529 @@ + + +%common.entities; +]> + + + + + + + + &setup-language-variable; + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + +
    +
    + + + +
    + + + + +
    +
    + + + + + + + + + + + &setup-language-variable; +
    + + + + + + +
    + + + + + + + + + + +
    +
    +
    + + + + + &setup-language-variable; + + +
    + + + + + + +
    + + + + + + + + + + +
    +
    +
    + + +

    + + +

    +
    + + + + + + + + +
    + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + + + + + +
    +
    + +
    + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + +
    +
    + +
    + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + +
    +
    +
    + + +
    + + + + + + + + + , + + + + + , + + + + + , + + + + + + + + + + + +
    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glosssee @otherterm reference not found: + + + + + + + + + + + + + + +

    +
    +
    + + +
    + + + + + +

    + + + + + + + + + + + + + +

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossseealso @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + + &setup-language-variable; + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + Warning: processing automatic glossary but unable to + open glossary.collection file ' + + ' + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + +
    +
    + + + + + + + + + + &setup-language-variable; + +
    + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/graphics.xsl b/apache-fop/src/test/resources/docbook-xsl/html/graphics.xsl new file mode 100644 index 0000000000..ce0e6ed588 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/graphics.xsl @@ -0,0 +1,1607 @@ + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + +
    + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + 1 + 0 + + + + + + 1.0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: imagemaps not supported + on scaled images + + + + 0 + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manufactured viewport for HTML img + + + cellpadding: 0; cellspacing: 0; + + + + + + + + + + + + + height: + + px + + + + + + + + + + + +
    + + + + + background-color: + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + calspair + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + , + + , + + + + + + + + + + + + Warning: only calspair or + otherunits='imagemap' supported + in imageobjectco + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + +
    + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/highlight.xsl b/apache-fop/src/test/resources/docbook-xsl/html/highlight.xsl new file mode 100644 index 0000000000..0579f75836 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/highlight.xsl @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/html-rtf.xsl b/apache-fop/src/test/resources/docbook-xsl/html/html-rtf.xsl new file mode 100644 index 0000000000..8de6bb30fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/html-rtf.xsl @@ -0,0 +1,336 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/html.xsl b/apache-fop/src/test/resources/docbook-xsl/html/html.xsl new file mode 100644 index 0000000000..94abe75aaa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/html.xsl @@ -0,0 +1,698 @@ + + + + + + + + + + left + right + left + + + + + + right + left + right + + + + + + ltr + rtl + ltr + + + + + +div + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + # + + + + + + + + + + + + + + + + + + + bullet + + + + + + + + + bullet + + + © + + + ® + (SM) +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ID recommended on + + + : + + + + ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: no root element for CSS source file' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: missing CSS input filename. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/htmltbl.xsl b/apache-fop/src/test/resources/docbook-xsl/html/htmltbl.xsl new file mode 100644 index 0000000000..3e31235d94 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/htmltbl.xsl @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + float: + + left + right + + + + + + + + + + + + + none + none + + ; + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/index.xsl b/apache-fop/src/test/resources/docbook-xsl/html/index.xsl new file mode 100644 index 0000000000..6d7ea88e98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/index.xsl @@ -0,0 +1,279 @@ + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + +
    + + + + +
    + +
    +
    +
    + + +

    + + +

    +
    + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
    + + + + + + + + + + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    +
    + +
    +
    + + + + + + + + + + + + + + +
    +
    +
    + + +
    + ( + + + + + + ) +
    +
    + + +
    + ( + + + + + + ) +
    +
    + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/info.xsl b/apache-fop/src/test/resources/docbook-xsl/html/info.xsl new file mode 100644 index 0000000000..0e99b2283d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/info.xsl @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/inline.xsl b/apache-fop/src/test/resources/docbook-xsl/html/inline.xsl new file mode 100644 index 0000000000..b79ea19e15 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/inline.xsl @@ -0,0 +1,1532 @@ + + +%common.entities; +]> + + + + + + + + + + + + + + + + + + + _blank + _top + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XLink to nonexistent id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + span + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + , + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + abbr + + + + + + acronym + + + + + + + + + + + + + + + + + + + + + + + + + + http://example.com/cgi-bin/man.cgi? + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossary.collection specified, but there are + + automatic glossaries + + + + + + + + + + + + + + + + + + + + + + + + There's no entry for + + in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error: no glossentry for glossterm: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element + + + + + + + + + + + + + + + + </ + + > + + + & + + ; + + + &# + + ; + + + % + + ; + + + <? + + > + + + <? + + ?> + + + < + + > + + + < + + /> + + + <!-- + + --> + + + + + + + + + + + + + + + + + + + + + + < + + + + + + mailto: + + + + + + > + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + + [ + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/keywords.xsl b/apache-fop/src/test/resources/docbook-xsl/html/keywords.xsl new file mode 100644 index 0000000000..c12e39fc93 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/keywords.xsl @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + , + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/lists.xsl b/apache-fop/src/test/resources/docbook-xsl/html/lists.xsl new file mode 100644 index 0000000000..1d34a6312c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/lists.xsl @@ -0,0 +1,1287 @@ + + + + + + + + + + + + + compact + + + + + + + + + list-style-type: + + ; + + +
    + + + + + + + + + + +
      + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + circle + disc + square + + + + + + +
  • + + + + + list-style-type: + + + + + + + + + + + +
    + +
    +
    + + + +
    +
  • +
    + + + + + + + compact + + + + + + + + + + + + + + 1 + a + i + A + I + + + + Unexpected numeration: + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
      + + + + + + + + + + + + + + +
    +
    +
    +
    +
    + + + + + + +
  • + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
  • +
    + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    + + +
    + + + + + + + + + + compact + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + +
    + + + + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + + + + + + + +

    +
    +
    +
    + + +
    + + + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + +
    + +
    +
    + + + +
    +
    + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
    +
    + + + + + + Simple list + + + + + + + + + + 1 + + + +
    +
    + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + +
    + + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + + + + + +
      + + +
    +
    + +
      + + + + + +
    +
    +
    + + + + +
    +
    + + + + + + + + + + + + +
      + + + +
    +
    + + +
  • + + + + +
  • +
    + + + +
      + + + +
    +
    + + +

    + + + + +

    +
    + + + + + + + + +
    + + + + + + + + + + + + + + + + + + +
    +
    + + +
    + + + + + + + +
    +
    + + + + + + + + + +
    + + + + +
    +
    + + + + + + + + +
    + + + + + + : + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + Callout list + + +
    +
    + +
    + + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + +

    + + + + +

    + + + + + +
    + +
    + + + + + +
    +
    +
    +
    +
    + + + + + + + + + +

    + + + + + + + + + + + + + + + + +

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/maketoc.xsl b/apache-fop/src/test/resources/docbook-xsl/html/maketoc.xsl new file mode 100644 index 0000000000..1ba3931e56 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/maketoc.xsl @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + filename=" + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/manifest.xsl b/apache-fop/src/test/resources/docbook-xsl/html/manifest.xsl new file mode 100644 index 0000000000..01faaccf3c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/manifest.xsl @@ -0,0 +1,22 @@ + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/math.xsl b/apache-fop/src/test/resources/docbook-xsl/html/math.xsl new file mode 100644 index 0000000000..f71a1cc244 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/math.xsl @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unsupported TeX math notation: + + + + + + + + + + + + + \nopagenumbers + + + + \bye + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + $ + + + + $ + + \vfill\eject + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + $$ + + + + $$ + + \vfill\eject + + + + + + + + + \documentclass{article} + \pagestyle{empty} + \begin{document} + + + + \end{document} + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + $ + + + + $ + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + $$ + + + + $$ + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/oldchunker.xsl b/apache-fop/src/test/resources/docbook-xsl/html/oldchunker.xsl new file mode 100644 index 0000000000..fe6b17c3be --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/oldchunker.xsl @@ -0,0 +1,202 @@ + + + + + + + + + + + + + +Encoding used in generated HTML pages + +This encoding is used in files generated by chunking stylesheet. Currently +only Saxon is able to change output encoding. + + + + + + + + + +Saxon character representation used in generated HTML pages + +This character representation is used in files generated by chunking stylesheet. If +you want to suppress entity references for characters with direct representation +in default.encoding, set this parameter to value native. + + + + + + + + + + + + + + + + + + + + + + + + Chunking isn't supported with + + + + + + + + + + + + + + + Writing + + + for + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + + + + + + + + + + + Writing + + + for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/html/onechunk.xsl new file mode 100644 index 0000000000..527dccfdbd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/onechunk.xsl @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/param.xml b/apache-fop/src/test/resources/docbook-xsl/html/param.xml new file mode 100644 index 0000000000..e06504959e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/param.xml @@ -0,0 +1,11308 @@ + + + +HTML Parameter Reference + +$Id: param.xweb 9658 2012-10-29 22:28:34Z bobstayton $ + + + + Walsh + Norman + + + + 1999 + 2000 + 2001 + 2002 + 2003 + 2004 + 2005 + 2006 + 2007 + 2008 + 2009 + 2010 + 2011 + Norman Walsh + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL HTML stylesheets (for generating + HTML output). + + +Admonitions + + +admon.graphics.extension +string + + +admon.graphics.extension +Filename extension for admonition graphics + + + + +<xsl:param name="admon.graphics.extension">.png</xsl:param> + + + +Description + +Sets the filename extension to use on admonition graphics. + + + The DocBook XSL distribution provides admonition graphics in the following formats: + GIF (extension: .gif) + PNG (extension: .png) + SVG (extension: .svg) + TIFF (extension: .tif) + + + + + + + +admon.graphics.path +string + + +admon.graphics.path +Path to admonition graphics + + + +<xsl:param name="admon.graphics.path">images/</xsl:param> + + +Description + +Sets the path to the directory containing the admonition graphics +(caution.png, important.png etc). This location is normally relative +to the output html directory. See base.dir + + + + + + +admon.graphics +boolean + + +admon.graphics +Use graphics in admonitions? + + + + +<xsl:param name="admon.graphics" select="0"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented in an alternate style that uses +a graphic. Default graphics are provided in the distribution. + + + + + + + +admon.textlabel +boolean + + +admon.textlabel +Use text label in admonitions? + + + + +<xsl:param name="admon.textlabel" select="1"></xsl:param> + + + +Description + +If true (non-zero), admonitions are presented with a generated +text label such as Note or Warning in the appropriate language. +If zero, such labels are turned off, but any title child +of the admonition element are still output. +The default value is 1. + + + + + + + +admon.style +string + + +admon.style +Specifies the CSS style attribute that should be added to +admonitions. + + + +<xsl:param name="admon.style"> + <xsl:value-of select="concat('margin-', $direction.align.start, ': 0.5in; margin-', $direction.align.end, ': 0.5in;')"></xsl:value-of> +</xsl:param> + + +Description + +Specifies the value of the CSS style +attribute that should be added to admonitions. + + + + + + +Callouts + + +callout.defaultcolumn +integer + + +callout.defaultcolumn +Indicates what column callouts appear in by default + + + + +<xsl:param name="callout.defaultcolumn">60</xsl:param> + + + +Description + +If a callout does not identify a column (for example, if it uses +the linerange unit), +it will appear in the default column. + + + + + + + +callout.graphics.extension +string + + +callout.graphics.extension +Filename extension for callout graphics + + + + +<xsl:param name="callout.graphics.extension">.png</xsl:param> + + + + +Description +Sets the filename extension to use on callout graphics. + + +The Docbook XSL distribution provides callout graphics in the following formats: +SVG (extension: .svg) +PNG (extension: .png) +GIF (extension: .gif) + + + + + + +callout.graphics.number.limit +integer + + +callout.graphics.number.limit +Number of the largest callout graphic + + + + +<xsl:param name="callout.graphics.number.limit">15</xsl:param> + + + + +Description + +If callout.graphics is non-zero, graphics +are used to represent callout numbers instead of plain text. The value +of callout.graphics.number.limit is the largest +number for which a graphic exists. If the callout number exceeds this +limit, the default presentation "(plain text instead of a graphic)" +will be used. + + + + + + + +callout.graphics.path +string + + +callout.graphics.path +Path to callout graphics + + + + +<xsl:param name="callout.graphics.path">images/callouts/</xsl:param> + + + +Description + +Sets the path to the directory holding the callout graphics. his +location is normally relative to the output html directory. see +base.dir. Always terminate the directory with / since the graphic file +is appended to this string, hence needs the separator. + + + + + + + +callout.graphics +boolean + + +callout.graphics +Use graphics for callouts? + + + + +<xsl:param name="callout.graphics" select="1"></xsl:param> + + + +Description + +If non-zero, callouts are presented with graphics (e.g., reverse-video +circled numbers instead of "(1)", "(2)", etc.). +Default graphics are provided in the distribution. + + + + + + + +callout.list.table +boolean + + +callout.list.table +Present callout lists using a table? + + + + +<xsl:param name="callout.list.table" select="1"></xsl:param> + + + +Description + +The default presentation of calloutlists uses +an HTML DL element. Some browsers don't align DLs very well +if callout.graphics is used. With this option +turned on, calloutlists are presented in an HTML +TABLE, which usually results in better alignment +of the callout number with the callout description. + + + + + + +callout.unicode.number.limit +integer + + +callout.unicode.number.limit +Number of the largest unicode callout character + + + + +<xsl:param name="callout.unicode.number.limit">10</xsl:param> + + + +Description + +If callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.number.limit +is +the largest number for which a unicode character exists. If the callout number +exceeds this limit, the default presentation "(nnn)" will always +be used. + + + + + + + +callout.unicode.start.character +integer + + +callout.unicode.start.character +First Unicode character to use, decimal value. + + + + +<xsl:param name="callout.unicode.start.character">10102</xsl:param> + + + +Description + +If callout.graphics is zero and callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.start.character +is the decimal unicode value used for callout number one. Currently, +only values 9312 and 10102 are supported in the stylesheets for this parameter. + + + + + + + +callout.unicode +boolean + + +callout.unicode +Use Unicode characters rather than images for callouts. + + + +<xsl:param name="callout.unicode" select="0"></xsl:param> + + +Description + +The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. + + + + + + + +callouts.extension +boolean + + +callouts.extension +Enable the callout extension + + + + +<xsl:param name="callouts.extension" select="1"></xsl:param> + + + +Description + +The callouts extension processes areaset +elements in programlistingco and other text-based +callout elements. + + + + + + +EBNF + + +ebnf.table.bgcolor +color + + +ebnf.table.bgcolor +Background color for EBNF tables + + + + +<xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param> + + + +Description + +Sets the background color for EBNF tables (a pale brown). No +bgcolor attribute is output if +ebnf.table.bgcolor is set to the null string. + + + + + + + +ebnf.table.border +boolean + + +ebnf.table.border +Selects border on EBNF tables + + + +<xsl:param name="ebnf.table.border" select="1"></xsl:param> + + +Description + +Selects the border on EBNF tables. If non-zero, the tables have +borders, otherwise they don't. + + + + + + +ebnf.assignment +rtf + + +ebnf.assignment +The EBNF production assignment operator + + + + +<xsl:param name="ebnf.assignment"> +<code>::=</code> +</xsl:param> + + + + +Description + +The ebnf.assignment parameter determines what +text is used to show assignment in productions +in productionsets. + +While ::= is common, so are several +other operators. + + + + + + +ebnf.statement.terminator +rtf + + +ebnf.statement.terminator +Punctuation that ends an EBNF statement. + + + + +<xsl:param name="ebnf.statement.terminator"></xsl:param> + + + + +Description + +The ebnf.statement.terminator parameter determines what +text is used to terminate each production +in productionset. + +Some notations end each statement with a period. + + + + + +ToC/LoT/Index Generation + + +annotate.toc +boolean + + +annotate.toc +Annotate the Table of Contents? + + + +<xsl:param name="annotate.toc" select="1"></xsl:param> + + +Description + +If true, TOCs will be annotated. At present, this just means +that the refpurpose of refentry +TOC entries will be displayed. + + + + + + + +autotoc.label.separator +string + + +autotoc.label.separator +Separator between labels and titles in the ToC + + + + +<xsl:param name="autotoc.label.separator">. </xsl:param> + + + +Description + +String used to separate labels and titles in a table of contents. + + + + + + +autotoc.label.in.hyperlink +boolean + + +autotoc.label.in.hyperlink +Include label in hyperlinked titles in TOC? + + + +<xsl:param name="autotoc.label.in.hyperlink" select="1"></xsl:param> + + +Description + +If the value of +autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it is instead zero, +labels are still displayed prior to the hyperlinked titles, but +are not hyperlinked along with the titles. + + + + + + +process.source.toc +boolean + + +process.source.toc +Process a non-empty toc element if it occurs in a source document? + + + +<xsl:param name="process.source.toc" select="0"></xsl:param> + + +Description + +Specifies that the contents of a non-empty "hard-coded" +toc element in a source document are processed to +generate a TOC in output. + + This parameter has no effect on automated generation of + TOCs. An automated TOC may still be generated along with the + "hard-coded" TOC. To suppress automated TOC generation, adjust the + value of the generate.toc paramameter. + + The process.source.toc parameter also has + no effect if the toc element is empty; handling + for empty toc is controlled by the + process.empty.source.toc parameter. + + + + + + + + +process.empty.source.toc +boolean + + +process.empty.source.toc +Generate automated TOC if toc element occurs in a source document? + + + +<xsl:param name="process.empty.source.toc" select="0"></xsl:param> + + +Description + +Specifies that if an empty toc element is found in a +source document, an automated TOC is generated at this point in the +document. + + Depending on what the value of the + generate.toc parameter is, setting this + parameter to 1 could result in generation of + duplicate automated TOCs. So the + process.empty.source.toc is primarily useful + as an "override": by placing an empty toc in your + document and setting this parameter to 1, you can + force a TOC to be generated even if generate.toc + says not to. + + + + + + + + +bridgehead.in.toc +boolean + + +bridgehead.in.toc +Should bridgehead elements appear in the TOC? + + + +<xsl:param name="bridgehead.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, bridgeheads appear in the TOC. Note that +this option is not fully supported and may be removed in a future +version of the stylesheets. + + + + + + + +simplesect.in.toc +boolean + + +simplesect.in.toc +Should simplesect elements appear in the TOC? + + + +<xsl:param name="simplesect.in.toc" select="0"></xsl:param> + + +Description + +If non-zero, simplesects will be included in the TOC. + + + + + + + +manual.toc +string + + +manual.toc +An explicit TOC to be used for the TOC + + + + +<xsl:param name="manual.toc"></xsl:param> + + + +Description + +The manual.toc identifies an explicit TOC that +will be used for building the printed TOC. + + + + + + + +toc.list.type +list +dl +ul +ol + + +toc.list.type +Type of HTML list element to use for Tables of Contents + + + +<xsl:param name="toc.list.type">dl</xsl:param> + + +Description + +When an automatically generated Table of Contents (or List of Titles) +is produced, this HTML element will be used to make the list. + + + + + + + +toc.section.depth +integer + + +toc.section.depth +How deep should recursive sections appear +in the TOC? + + + +<xsl:param name="toc.section.depth">2</xsl:param> + + +Description + +Specifies the depth to which recursive sections should appear in the +TOC. + + + + + + + +toc.max.depth +integer + + +toc.max.depth +How many levels should be created for each TOC? + + + +<xsl:param name="toc.max.depth">8</xsl:param> + + +Description + +Specifies the maximal depth of TOC on all levels. + + + + + + +generate.toc +table + + +generate.toc +Control generation of ToCs and LoTs + + + + +<xsl:param name="generate.toc"> +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title +</xsl:param> + + + + +Description + +This parameter has a structured value. It is a table of space-delimited +path/value pairs. Each path identifies some element in the source document +using a restricted subset of XPath (only the implicit child axis, no wildcards, +no predicates). Paths can be either relative or absolute. + +When processing a particular element, the stylesheets consult this table to +determine if a ToC (or LoT(s)) should be generated. + +For example, consider the entry: + +book toc,figure + +This indicates that whenever a book is formatted, a +Table Of Contents and a List of Figures should be generated. Similarly, + +/chapter toc + +indicates that whenever a document that has a root +of chapter is formatted, a Table of +Contents should be generated. The entry chapter would match +all chapters, but /chapter matches only chapter +document elements. + +Generally, the longest match wins. So, for example, if you want to distinguish +articles in books from articles in parts, you could use these two entries: + +book/article toc,figure +part/article toc + +Note that an article in a part can never match a book/article, +so if you want nothing to be generated for articles in parts, you can simply leave +that rule out. + +If you want to leave the rule in, to make it explicit that you're turning +something off, use the value nop. For example, the following +entry disables ToCs and LoTs for articles: + +article nop + +Do not simply leave the word article in the file +without a matching value. That'd be just begging the silly little +path/value parser to get confused. + +Section ToCs are further controlled by the +generate.section.toc.level parameter. +For a given section level to have a ToC, it must have both an entry in +generate.toc and be within the range enabled by +generate.section.toc.level. + + + + + +generate.section.toc.level +integer + + +generate.section.toc.level +Control depth of TOC generation in sections + + + + +<xsl:param name="generate.section.toc.level" select="0"></xsl:param> + + + +Description + +The generate.section.toc.level parameter +controls the depth of section in which TOCs will be generated. Note +that this is related to, but not the same as +toc.section.depth, which controls the depth to +which TOC entries will be generated in a given TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. + + + + + + + +generate.index +boolean + + +generate.index +Do you want an index? + + + +<xsl:param name="generate.index" select="1"></xsl:param> + + +Description + +Specify if an index should be generated. + + + + + + +index.method +list +basic +kosek +kimber + + +index.method +Select method used to group index entries in an index + + + + +<xsl:param name="index.method">basic</xsl:param> + + + +Description + +This parameter lets you select which method to use for sorting and grouping + index entries in an index. +Indexes in Latin-based languages that have accented characters typically +sort together accented words and unaccented words. +Thus Á (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together +with A (U+0041 LATIN CAPITAL LETTER A), so both would appear in the A +section of the index. +Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) +and languages using ideographic chararacters (such as Japanese) +require grouping specific to the languages and alphabets. + + +The default indexing method is limited. +It can group accented characters in Latin-based languages only. +It cannot handle non-Latin alphabets or ideographic languages. +The other indexing methods require extensions of one type or +another, and do not work with +all XSLT processors, which is why they are not used by default. + +The three choices for indexing method are: + + +basic + + +(default) Sort and groups words based only on the Latin alphabet. +Words with accented Latin letters will group and sort with +their respective primary letter, but +words in non-Latin alphabets will be +put in the Symbols section of the index. + + + + +kosek + + +This method sorts and groups words based on letter groups configured in +the DocBook locale file for the given language. +See, for example, the French locale file common/fr.xml. +This method requires that the XSLT processor +supports the EXSLT extensions (most do). +It also requires support for using +user-defined functions in xsl:key (xsltproc does not). + +This method is suitable for any language for which you can +list all the individual characters that should appear +in each letter group in an index. +It is probably not practical to use it for ideographic languages +such as Chinese that have hundreds or thousands of characters. + + +To use the kosek method, you must: + + + +Use a processor that supports its extensions, such as +Saxon 6 or Xalan (xsltproc and Saxon 8 do not). + + + +Set the index.method parameter's value to kosek. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kosek.xsl or +html/autoidx-kosek.xsl into your +customization. + + + + + + + +kimber + + +This method uses extensions to the Saxon processor to implement +sophisticated indexing processes. It uses its own +configuration file, which can include information for any number of +languages. Each language's configuration can group +words using one of two processes. In the +enumerated process similar to that used in the kosek method, +you indicate the groupings character-by-character. +In the between-key process, you specify the +break-points in the sort order that should start a new group. +The latter configuration is useful for ideographic languages +such as Chinese, Japanese, and Korean. +You can also define your own collation algorithms and how you +want mixed Latin-alphabet words sorted. + + +For a whitepaper describing the extensions, see: +http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf. + + + +To download the extension library, see +http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport. + + + + +To use the kimber method, you must: + + + +Use Saxon (version 6 or 8) as your XSLT processor. + + + +Install and configure the Innodata Isogen library, using +the documentation that comes with it. + + + +Set the index.method parameter's value to kimber. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kimber.xsl or +html/autoidx-kimber.xsl into your +customization. + + + + + + + + + + + + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + +<xsl:param name="index.on.type" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + + + + +index.on.role +boolean + + +index.on.role +Select indexterms based on role value + + + + +<xsl:param name="index.on.role" select="0"></xsl:param> + + + +Description + + +If non-zero, +then an index element that has a +role attribute +value will contain only those indexterm +elements with a matching role value. +If an index has no role +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + +If index.on.role is zero, then the +role attribute has no effect +on selecting indexterms for an index. + + +If you are using DocBook version 4.3 or later, you should +use the type attribute instead of role +on indexterm and index, +and set the index.on.type to a nonzero +value. + + + + + + + +index.links.to.section +boolean + + +index.links.to.section +HTML index entries link to container section title + + + + +<xsl:param name="index.links.to.section" select="1"></xsl:param> + + + +Description + +If zero, then an index entry in an index links +directly to the location of the +generated anchor that is output +for the indexterm. If two identical indexterm elements +exist in the same section, then both entries appear +in the index with the same title but link to different +locations. + +If non-zero, then an index entry in an index links to the +section title containing the indexterm, rather than +directly to the anchor output for the indexterm. +Duplicate indexterm entries in the same section are dropped. + + +The default value is 1, so index entries link to +section titles by default. + +In both cases, the link text in an index entry is the +title of the section containing the indexterm. +That is because HTML does not have numbered pages. +It also provides the reader with context information +for each link. + +This parameter lets you choose which style of +index linking you want. + + + +When set to 0, an index entry takes you +to the precise location of its corresponding indexterm. +However, if you have a lot of duplicate +entries in sections, then you have a lot of duplicate +titles in the index, which makes it more cluttered. +The reader may not recognize why duplicate titles +appear until they follow the links. Also, the links +may land the reader in the middle of a section where the +section title is not visible, which may also be +confusing to the reader. + + +When set to 1, an index entry link is +less precise, but duplicate titles in the +index entries are eliminated. +Landing on the section title location may confirm the reader's +expectation that a link that +shows a section title will take them to that section title, +not a location within the section. + + + + + + + + + +index.prefer.titleabbrev +boolean + + +index.prefer.titleabbrev +Should abbreviated titles be used as back references? + + + + +<xsl:param name="index.prefer.titleabbrev" select="0"></xsl:param> + + + +Description + +If non-zero, and if a titleabbrev is defined, the abbreviated title +is used as the link text of a back reference in the index. + + + + + + + +index.term.separator +string + + +index.term.separator +Override for punctuation separating an index term +from its list of page references in an index + + + + +<xsl:param name="index.term.separator"></xsl:param> + + + +Description + +This parameter permits you to override +the text to insert between +the end of an index term and its list of page references. +Typically that might be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'term-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +fill in the content for this normally empty +override parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. +For fo output, it could be an fo:leader +element to provide space of a specific length, or a dot leader. + + + + + + + +index.number.separator +string + + +index.number.separator +Override for punctuation separating page numbers in index + + + + +<xsl:param name="index.number.separator"></xsl:param> + + + +Description + +This parameter permits you to override the text to insert between +page references in a formatted index entry. Typically +that would be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'number-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. This punctuation appears between +such section titles in an HTML index. + + + + + + + +index.range.separator +string + + +index.range.separator +Override for punctuation separating the two numbers +in a page range in index + + + + +<xsl:param name="index.range.separator"></xsl:param> + + + +Description + +This parameter permits you +to override the text to insert between +the two numbers of a page range in an index. +This parameter is only used by those XSL-FO processors +that support an extension for generating such page ranges +(such as XEP). + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'range-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. So there are no page ranges +and this parameter has no effect. + + + + + + +Stylesheet Extensions + + +linenumbering.everyNth +integer + + +linenumbering.everyNth +Indicate which lines should be numbered + + + + +<xsl:param name="linenumbering.everyNth">5</xsl:param> + + + +Description + +If line numbering is enabled, everyNth line will be +numbered. Note that numbering is one based, not zero based. + +See also linenumbering.extension, +linenumbering.separator, +linenumbering.width and +use.extensions + + + + + + +linenumbering.extension +boolean + + +linenumbering.extension +Enable the line numbering extension + + + + +<xsl:param name="linenumbering.extension" select="1"></xsl:param> + + + +Description + +If non-zero, verbatim environments (address, literallayout, +programlisting, screen, synopsis) that specify line numbering will +have line numbers. + + + + + + + +linenumbering.separator +string + + +linenumbering.separator +Specify a separator between line numbers and lines + + + + +<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param> + + + +Description + +The separator is inserted between line numbers and lines in the +verbatim environment. The default value is a single white space. + Note the interaction with linenumbering.width + + + + + + + +linenumbering.width +integer + + +linenumbering.width +Indicates the width of line numbers + + + + +<xsl:param name="linenumbering.width">3</xsl:param> + + + +Description + +If line numbering is enabled, line numbers will appear right +justified in a field "width" characters wide. + + + + + + + +tablecolumns.extension +boolean + + +tablecolumns.extension +Enable the table columns extension function + + + + +<xsl:param name="tablecolumns.extension" select="1"></xsl:param> + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + + + + + textinsert.extension + boolean + + + textinsert.extension + Enables the textinsert extension element + + + + <xsl:param name="textinsert.extension" select="1"></xsl:param> + + + Description + The textinsert extension element inserts the contents of + a file into the result tree (as text). + + To use the textinsert extension element, you must use + either Saxon or Xalan as your XSLT processor (it doesn’t + work with xsltproc), along with either the DocBook Saxon + extensions or DocBook Xalan extensions (for more + information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both + the use.extensions and + textinsert.extension parameters to + 1. + As an alternative to using the textinsert element, + consider using an Xinclude element with the + parse="text" attribute and value + specified, as detailed in Using XInclude for text inclusions. + + + See Also + You can also use the dbhtml-include href processing + instruction to insert external files — both files containing + plain text and files with markup content (including HTML + content). + + More information + For how-to documentation on inserting contents of + external code files and other text files into output, see + External code files. + For guidelines on inserting contents of + HTML files into output, see Inserting external HTML code. + + + + + +textdata.default.encoding +string + + +textdata.default.encoding +Default encoding of external text files which are included +using textdata element + + + + +<xsl:param name="textdata.default.encoding"></xsl:param> + + + +Description + +Specifies the encoding of any external text files included using +textdata element. This value is used only when you do +not specify encoding by the appropriate attribute +directly on textdata. An empty string is interpreted as the system +default encoding. + + + + + + +graphicsize.extension +boolean + + +graphicsize.extension +Enable the getWidth()/getDepth() extension functions + + + + +<xsl:param name="graphicsize.extension" select="1"></xsl:param> + + + +Description + +If non-zero (and if use.extensions is non-zero +and if you're using a processor that supports extension functions), the +getWidth and getDepth functions +will be used to extract image sizes from graphics. + +The main supported image formats are GIF, JPEG, and PNG. Somewhat cruder +support for EPS and PDF images is also available. + + + + + +graphicsize.use.img.src.path +boolean + + +graphicsize.use.img.src.path +Prepend img.src.path before +filenames passed to extension functions + + + + +<xsl:param name="graphicsize.use.img.src.path" select="0"></xsl:param> + + + +Description + +If non-zero img.src.path parameter will +be appended before filenames passed to extension functions for +measuring image dimensions. + + + + + + +use.extensions +boolean + + +use.extensions +Enable extensions + + + + +<xsl:param name="use.extensions" select="0"></xsl:param> + + + +Description + +If non-zero, extensions may be used. Each extension is +further controlled by its own parameter. But if +use.extensions is zero, no extensions will +be used. + + + + + + +Automatic labelling + + +chapter.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +chapter.autolabel +Specifies the labeling format for Chapter titles + + + + +<xsl:param name="chapter.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, then chapters will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + +appendix.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +appendix.autolabel +Specifies the labeling format for Appendix titles + + + + +<xsl:param name="appendix.autolabel">A</xsl:param> + + + +Description + +If non-zero, then appendices will be numbered using the +parameter value as the number format if the value matches one of the +following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperalpha). + + + + + + + +part.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +part.autolabel +Specifies the labeling format for Part titles + + + + +<xsl:param name="part.autolabel">I</xsl:param> + + + +Description + +If non-zero, then parts will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperroman). + + + + + + + + +reference.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +reference.autolabel +Specifies the labeling format for Reference titles + + + + <xsl:param name="reference.autolabel">I</xsl:param> + + +Description +If non-zero, references will be numbered using the parameter + value as the number format if the value matches one of the + following: + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + +Any non-zero value other than the above will generate +the default number format (upperroman). + + + + + + +preface.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +preface.autolabel +Specifices the labeling format for Preface titles + + + +<xsl:param name="preface.autolabel" select="0"></xsl:param> + + +Description + +If non-zero then prefaces will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + + + + +qandadiv.autolabel +boolean + + +qandadiv.autolabel +Are divisions in QAndASets enumerated? + + + +<xsl:param name="qandadiv.autolabel" select="1"></xsl:param> + + +Description + +If non-zero, unlabeled qandadivs will be enumerated. + + + + + + + +section.autolabel +boolean + + +section.autolabel +Are sections enumerated? + + + +<xsl:param name="section.autolabel" select="0"></xsl:param> + + +Description + +If true (non-zero), unlabeled sections will be enumerated. + + + + + + + +section.autolabel.max.depth +integer + + +section.autolabel.max.depth +The deepest level of sections that are numbered. + + + + +<xsl:param name="section.autolabel.max.depth">8</xsl:param> + + + +Description + +When section numbering is turned on by the +section.autolabel parameter, then this +parameter controls the depth of section nesting that is +numbered. Sections nested to a level deeper than this value will not +be numbered. + + + + + + + +section.label.includes.component.label +boolean + + +section.label.includes.component.label +Do section labels include the component label? + + + +<xsl:param name="section.label.includes.component.label" select="0"></xsl:param> + + +Description + +If non-zero, section labels are prefixed with the label of the +component that contains them. + + + + + + + +label.from.part +boolean + + +label.from.part +Renumber components in each part? + + + + +<xsl:param name="label.from.part" select="0"></xsl:param> + + + +Description + +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. + + + + + + +component.label.includes.part.label +boolean + + +component.label.includes.part.label +Do component labels include the part label? + + + +<xsl:param name="component.label.includes.part.label" select="0"></xsl:param> + + +Description + +If non-zero, number labels for chapter, +appendix, and other component elements are prefixed with +the label of the part element that contains them. So you might see +Chapter II.3 instead of Chapter 3. Also, the labels for formal +elements such as table and figure will include +the part label. If there is no part element container, then no prefix +is generated. + + +This feature is most useful when the +label.from.part parameter is turned on. +In that case, there would be more than one chapter +1, and the extra part label prefix will identify +each chapter unambiguously. + + + + + + + +HTML + + +html.base +uri + + +html.base +An HTML base URI + + + + +<xsl:param name="html.base"></xsl:param> + + +Description + +If html.base is set, it is used for the base element +in the head of the html documents. The parameter specifies +the base URL for all relative URLs in the document. This is useful +for dynamically served html where the base URI needs to be +shifted. + + + + + + +html.stylesheet +string + + +html.stylesheet +Name of the stylesheet(s) to use in the generated HTML + + + + +<xsl:param name="html.stylesheet"></xsl:param> + + + +Description + +The html.stylesheet parameter is either +empty, indicating that no stylesheet link tag should be +generated in the html output, or it is a list of one or more +stylesheet files. + +Multiple stylesheets are space-delimited. If you need to +reference a stylesheet URI that includes a space, encode it with +%20. A separate html link element will +be generated for each stylesheet in the order they are listed in the +parameter. + + + + + + +html.stylesheet.type +string + + +html.stylesheet.type +The type of the stylesheet used in the generated HTML + + + +<xsl:param name="html.stylesheet.type">text/css</xsl:param> + + +Description + +The type of the stylesheet to place in the HTML link tag. + + + + + + + +css.decoration +boolean + + +css.decoration +Enable CSS decoration of elements + + + + +<xsl:param name="css.decoration" select="1"></xsl:param> + + + +Description + + +If non-zero, then html elements produced by the stylesheet may be +decorated with style attributes. For example, the +li tags produced for list items may include a +fragment of CSS in the style attribute which sets +the CSS property "list-style-type". + + + + + + + +html.script +string + + +html.script +Name of the script(s) to use in the generated HTML + + + + +<xsl:param name="html.script"></xsl:param> + + + +Description + +The html.script parameter is either +empty (default), indicating that no script element should be +generated in the html output, or it is a list of one or more +script locations. + +Multiple script locations are space-delimited. If you need to +reference a script URI that includes a space, encode it with +%20. A separate html script element will +be generated for each script in the order they are listed in the +parameter. + + + + + + +html.script.type +string + + +html.script.type +The type of script used in the generated HTML + + + +<xsl:param name="html.script.type">text/javascript</xsl:param> + + +Description + +The type of script to place in the HTML script element. +Specifically, the value of the script element's type +attribute. +The default value is text/javascript. +This param is used only when the stylesheet parameter +html.script is non-blank and specifies the location of a script. + + + + + + + +spacing.paras +boolean + + +spacing.paras +Insert additional <p> elements for spacing? + + + + +<xsl:param name="spacing.paras" select="0"></xsl:param> + + + +Description + +When non-zero, additional, empty paragraphs are inserted in +several contexts (for example, around informal figures), to create a +more pleasing visual appearance in many browsers. + + + + + + + +emphasis.propagates.style +boolean + + +emphasis.propagates.style +Pass emphasis role attribute through to HTML? + + + +<xsl:param name="emphasis.propagates.style" select="1"></xsl:param> + + +Description +If non-zero, the role attribute of +emphasis elements will be passed through to the HTML as a +class attribute on a span that surrounds the +emphasis. + + + + + +para.propagates.style +boolean + + +para.propagates.style +Pass para role attribute through to HTML? + + + + +<xsl:param name="para.propagates.style" select="1"></xsl:param> + + + +Description + +If true, the role attribute of para elements +will be passed through to the HTML as a class attribute on the +p generated for the paragraph. + + + + + + +phrase.propagates.style +boolean + + +phrase.propagates.style +Pass phrase role attribute through to HTML? + + + + +<xsl:param name="phrase.propagates.style" select="1"></xsl:param> + + +Description + +If non-zero, the role attribute of phrase elements +will be passed through to the HTML as a class +attribute on a span that surrounds the +phrase. + + + + + + +entry.propagates.style +boolean + + +entry.propagates.style +Pass entry role attribute through to HTML? + + + + +<xsl:param name="entry.propagates.style" select="1"></xsl:param> + + + +Description + +If true, the role attribute of entry elements +will be passed through to the HTML as a class attribute on the +td or th generated for the table +cell. + + + + + + +html.longdesc +boolean + + +html.longdesc +Should longdesc URIs be created? + + + +<xsl:param name="html.longdesc" select="1"></xsl:param> + + +Description +If non-zero, HTML files will be created for the +longdesc attribute. These files +are created from the textobjects in +mediaobjects and +inlinemediaobject. + + + + + + +html.longdesc.link +boolean + + +html.longdesc.link +Should a link to the longdesc be included in the HTML? + + + + +<xsl:param name="html.longdesc.link" select="$html.longdesc"></xsl:param> + + + +Description + +If non-zero, links will be created to the +HTML files created for the +longdesc attribute. It makes no +sense to enable this option without also enabling the +html.longdesc parameter. + + + + + + + + +make.valid.html +boolean + + +make.valid.html +Attempt to make sure the HTML output is valid HTML + + + + +<xsl:param name="make.valid.html" select="0"></xsl:param> + + + +Description + +If make.valid.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is valid. This may mean that some +para tags are translated into HTML divs or +that other substitutions occur. + +This parameter is different from html.cleanup +because it changes the resulting markup; it does not use extension functions +to manipulate result-tree-fragments and is therefore applicable to any +XSLT processor. + + + + + + +html.cleanup +boolean + + +html.cleanup +Attempt to clean up the resulting HTML? + + + + +<xsl:param name="html.cleanup" select="1"></xsl:param> + + + +Description + +If non-zero, and if the EXSLT +extensions are supported by your processor, the resulting HTML will be +cleaned up. This improves the chances that the +resulting HTML will be valid. It may also improve the formatting of +some elements. + +This parameter is different from make.valid.html +because it uses extension functions to manipulate result-tree-fragments. + + + + + + +html.append +string + + +html.append +Specifies content to append to HTML output + + + +<xsl:param name="html.append"></xsl:param> + + +Description + +Specifies content to append to the end of HTML files output by +the html/docbook.xsl stylesheet, after the +closing <html> tag. You probably don’t want to set any +value for this parameter; but if you do, the only value it should ever +be set to is a newline character: &#x0a; or +&#10; + + + + + + +draft.mode +list +no +yes +maybe + + +draft.mode +Select draft mode + + + + +<xsl:param name="draft.mode">no</xsl:param> + + + +Description + +Selects draft mode. If draft.mode is +yes, the entire document will be treated +as a draft. If it is no, the entire document +will be treated as a final copy. If it is maybe, +individual sections will be treated as draft or final independently, depending +on how their status attribute is set. + + + + + + + +draft.watermark.image +uri + + +draft.watermark.image +The URI of the image to be used for draft watermarks + + + + +<xsl:param name="draft.watermark.image">images/draft.png</xsl:param> + + + +Description + +The image to be used for draft watermarks. + + + + + + +generate.id.attributes +boolean + + +generate.id.attributes +Generate ID attributes on container elements? + + + + +<xsl:param name="generate.id.attributes" select="0"></xsl:param> + + + +Description + +If non-zero, the HTML stylesheet will generate ID attributes on +containers. For example, the markup: + +<section id="foo"><title>Some Title</title> +<para>Some para.</para> +</section> + +might produce: + +<div class="section" id="foo"> +<h2>Some Title</h2> +<p>Some para.</p> +</div> + +The alternative is to generate anchors: + +<div class="section"> +<h2><a name="foo"></a>Some Title</h2> +<p>Some para.</p> +</div> + +Because the name attribute of +the a element and the id +attribute of other tags are both of type ID, producing both +generates invalid documents. + +As of version 1.50, you can use this switch to control which type of +identifier is generated. For backwards-compatibility, generating +a anchors is preferred. + +Note: at present, this switch is incompletely implemented. +Disabling ID attributes will suppress them, but enabling ID attributes +will not suppress the anchors. + + + + + + +generate.consistent.ids +boolean + + +generate.consistent.ids +Generate consistent id values if document is unchanged + + + + +<xsl:param name="generate.consistent.ids" select="0"></xsl:param> + + + +Description + +When the stylesheet assigns an id value to an output element, +the generate-id() function may be used. That function may not +produce consistent values between runs. Version control +systems may misidentify the changing id values as changes +to the document. + +If you set this parameter's value to 1, then the +template named object.id will replace +the use of the function generate-id() with +<xsl:number level="multiple" count="*"/>. +This counts preceding elements to generate a unique number for +the id value. + + +This param does not associate permanent unique id values +with particular elements. +The id values are consistent only as long as the document +structure does not change. +If the document structure changes, then the counting +of elements changes, and all id values after +the first such change may be different, even when there is +no change to the element itself or its output. + + + +The default value of this parameter is zero, so generate-id() is used +by default. + + + + + + +generate.meta.abstract +boolean + + +generate.meta.abstract +Generate HTML META element from abstract? + + + + +<xsl:param name="generate.meta.abstract" select="1"></xsl:param> + + + +Description + +If non-zero, document abstracts will be reproduced in the HTML +head, with >meta name="description" content="..." + + + + + + + +make.clean.html +boolean + + +make.clean.html +Make HTML conform to modern coding standards + + + + +<xsl:param name="make.clean.html" select="0"></xsl:param> + + + +Description + +If make.clean.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is conforms to +modern HTML coding standards. In addition to eliminating +excessive and noncompliant coding, it moves presentation +HTML coding to a CSS stylesheet. + +The resulting HTML is dependent on +CSS for formatting, and so the stylesheet is capable of +generating a supporting CSS file. The docbook.css.source +and custom.css.source parameters control +how a CSS file is generated. + +If you require your CSS to reside in the HTML +head element, then the generate.css.header +can be used to do that. + +The make.clean.html parameter is +different from html.cleanup +because the former changes the resulting markup; it does not use extension functions +like the latter to manipulate result-tree-fragments, +and is therefore applicable to any XSLT processor. + +If make.clean.html is set to zero (the default), +then the stylesheet retains its original +old style +HTML formatting features. + + + + + + docbook.css.source + string + + + docbook.css.source + Name of the default CSS input file + + + + <xsl:param name="docbook.css.source">docbook.css.xml</xsl:param> + + + Description + +The docbook.css.source parameter +specifies the name of the file containing the default DocBook +CSS styles. Those styles are necessary when the +make.clean.html parameter is nonzero. + +The file is a well-formed XML file that +must consist of a single style root +element that contains CSS styles as its text content. +The default value of the parameter (and filename) +is docbook.css.xml. +The stylesheets ship with the default file. You can substitute +your own and specify its path in this parameter. + +If docbook.css.source is not blank, +and make.clean.html is nonzero, then +the stylesheet takes the following actions: + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of docbook.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference the external CSS stylesheet. + For example: + <link rel="stylesheet" href="docbook.css" type="text/css"> + + However, if the docbook.css.link + parameter is set to zero, then no link is written + for the default CSS file. That is useful if a custom + CSS file will import the default CSS stylesheet to ensure + proper cascading of styles. + + + +If the docbook.css.source parameter +is changed from its default docbook.css.xml to blank, +then no default CSS is generated. Likewise if the +make.clean.html parameter is set to zero, +then no default CSS is generated. The +custom.css.source parameter can be used +instead to generate a complete custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + + + + +docbook.css.link +boolean + + +docbook.css.link +Insert a link referencing the default CSS stylesheet + + + + +<xsl:param name="docbook.css.link" select="1"></xsl:param> + + + +Description + +The stylesheets are capable of generating a default +CSS stylesheet file. The parameters +make.clean.html and +docbook.css.source control that feature. + +Normally if a default CSS file is generated, then +the stylesheet inserts a link tag in the HTML +HEAD element to reference it. +However, you can omit that link reference if +you set the docbook.css.link to zero +(1 is the default). + +This parameter is useful when you want to import the +default CSS into a custom CSS file generated using the +custom.css.source parameter. + + + + + + + + custom.css.source + string + + + custom.css.source + Name of a custom CSS input file + + + + <xsl:param name="custom.css.source"></xsl:param> + + + Description + +The custom.css.source +parameter enables you to add CSS styles to DocBook's +HTML output. + +The parameter +specifies the name of a file containing custom +CSS styles. The file must be a well-formed XML file that +consists of a single style root +element that contains CSS styles as its text content. +For example: +<?xml version="1.0"?> +<style> +h2 { + font-weight: bold; + color: blue; +} +... +</style> + + +The filename specified by the parameter +should have a .xml +filename suffix, although that is not required. +The default value of this parameter is blank. + +If custom.css.source is not blank, then +the stylesheet takes the following actions. +These actions take place regardless of the value of +the make.clean.html parameter. + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of custom.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference this external CSS stylesheet. + For example: + <link rel="stylesheet" href="custom.css" type="text/css"> + + + + + + + +If the make.clean.html parameter is nonzero +(the default is zero), +and if the docbook.css.source parameter +is not blank (the default is not blank), +then the stylesheet will also generate a default CSS file +and add a link tag to reference it. +The link to the custom CSS comes after the +link to the default, so it should cascade properly +in most browsers. +If you do not want two link tags, and +instead want your custom CSS to import the default generated +CSS file, then do the following: + + + + + Add a line like the following to your custom CSS source file: + @import url("docbook.css") + + + + Set the docbook.css.link parameter + to zero. This will omit the link tag + that references the default CSS file. + + + +If you set make.clean.html to nonzero but +you do not want the default CSS generated, then also set +the docbook.css.source parameter to blank. +Then no default CSS will be generated, and so +all CSS styles must come from your custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + + + + +generate.css.header +boolean + + +generate.css.header +Insert generated CSS styles in HEAD element + + + + +<xsl:param name="generate.css.header" select="0"></xsl:param> + + + +Description + +The stylesheets are capable of generating both default +and custom CSS stylesheet files. The parameters +make.clean.html, +docbook.css.source, and +custom.css.source control that feature. + +If you require that CSS styles reside in the HTML +HEAD element instead of external CSS files, +then set the generate.css.header +parameter to nonzero (it is zero by default). +Then instead of generating the CSS in external files, +they are wrapped in style elements in +the HEAD element of each HTML output file. + + + + + + +XSLT Processing + + +rootid +string + + +rootid +Specify the root element to format + + + + +<xsl:param name="rootid"></xsl:param> + + +Description + +If rootid is not empty, it must be the +value of an ID that occurs in the document being formatted. The entire +document will be loaded and parsed, but formatting will begin at the +element identified, rather than at the root. For example, this allows +you to process only chapter 4 of a book. +Because the entire document is available to the processor, automatic +numbering, cross references, and other dependencies are correctly +resolved. + + + + + + +suppress.navigation +boolean + + +suppress.navigation +Disable header and footer navigation + + + + +<xsl:param name="suppress.navigation" select="0"></xsl:param> + + + +Description + + +If non-zero, header and footer navigation will be suppressed. + + + + + + +suppress.header.navigation +boolean + + +suppress.header.navigation +Disable header navigation + + + + +<xsl:param name="suppress.header.navigation" select="0"></xsl:param> + + + +Description + +If non-zero, header navigation will be suppressed. + + + + + + +suppress.footer.navigation +boolean + + +suppress.footer.navigation +Disable footer navigation + + + +<xsl:param name="suppress.footer.navigation">0</xsl:param> + + +Description + + +If non-zero, footer navigation will be suppressed. + + + + + + +header.rule +boolean + + +header.rule +Rule under headers? + + + + +<xsl:param name="header.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn below the page headers. + + + + + + +footer.rule +boolean + + +footer.rule +Rule over footers? + + + + +<xsl:param name="footer.rule" select="1"></xsl:param> + + + +Description + +If non-zero, a rule will be drawn above the page footers. + + + + + + +id.warnings +boolean + + +id.warnings +Should warnings be generated for titled elements without IDs? + + + +<xsl:param name="id.warnings" select="0"></xsl:param> + + +Description +If non-zero, the stylesheet will issue a warning for any element +(other than the root element) which has a title but does not have an +ID. + + + + +Meta/*Info and Titlepages + + +inherit.keywords +boolean + + +inherit.keywords +Inherit keywords from ancestor elements? + + + + +<xsl:param name="inherit.keywords" select="1"></xsl:param> + + +Description + +If inherit.keywords +is non-zero, the keyword meta for each HTML +head element will include all of the keywords from +ancestor elements. Otherwise, only the keywords from the current section +will be used. + + + + + + + +make.single.year.ranges +boolean + + +make.single.year.ranges +Print single-year ranges (e.g., 1998-1999) + + + + +<xsl:param name="make.single.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, year ranges that span a single year will be printed +in range notation (1998-1999) instead of discrete notation +(1998, 1999). + + + + + + +make.year.ranges +boolean + + +make.year.ranges +Collate copyright years into ranges? + + + +<xsl:param name="make.year.ranges" select="0"></xsl:param> + + +Description + +If non-zero, multiple copyright year elements will be +collated into ranges. +This works only if each year number is put into a separate +year element. The copyright element permits multiple +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. + + + + + + + +author.othername.in.middle +boolean + + +author.othername.in.middle +Is othername in author a +middle name? + + + + +<xsl:param name="author.othername.in.middle" select="1"></xsl:param> + + +Description + +If non-zero, the othername of an author +appears between the firstname and +surname. Otherwise, othername +is suppressed. + + + + + + + +blurb.on.titlepage.enabled +boolean + + +blurb.on.titlepage.enabled +Display personblurb and authorblurb on title pages? + + + + +<xsl:param name="blurb.on.titlepage.enabled" select="0"></xsl:param> + + + +Description + +If non-zero, output from authorblurb and +personblurb elements is displayed on title pages. If zero +(the default), output from those elements is suppressed on title pages +(unless you are using a titlepage customization +that causes them to be included). + + + + + + +contrib.inline.enabled +boolean + + +contrib.inline.enabled +Display contrib output inline? + + + +<xsl:param name="contrib.inline.enabled">1</xsl:param> + + +Description + +If non-zero (the default), output of the contrib element is +displayed as inline content rather than as block content. + + + + + + +editedby.enabled +boolean + + +editedby.enabled +Display “Edited by” heading above editor name? + + + +<xsl:param name="editedby.enabled">1</xsl:param> + + +Description + +If non-zero, a localized Edited +by heading is displayed above editor names in output of the +editor element. + + + + + + +abstract.notitle.enabled +boolean + + +abstract.notitle.enabled +Suppress display of abstract titles? + + + <xsl:param name="abstract.notitle.enabled" select="0"></xsl:param> + +Description +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. + + + + + +othercredit.like.author.enabled +boolean + + +othercredit.like.author.enabled +Display othercredit in same style as author? + + + +<xsl:param name="othercredit.like.author.enabled">0</xsl:param> + + +Description + +If non-zero, output of the +othercredit element on titlepages is displayed in +the same style as author and +editor output. If zero then +othercredit output is displayed using a style +different than that of author and +editor. + + + + + + +generate.legalnotice.link +boolean + + +generate.legalnotice.link +Write legalnotice to separate chunk and generate link? + + + +<xsl:param name="generate.legalnotice.link" select="0"></xsl:param> + + +Description + +If the value of generate.legalnotice.link +is non-zero, the stylesheet: + + + + writes the contents of legalnotice to a separate + HTML file + + + inserts a hyperlink to the legalnotice file + + + adds (in the HTML head) either a single + link or element or multiple + link elements (depending on the value of the + html.head.legalnotice.link.multiple + parameter), with the value or values derived from the + html.head.legalnotice.link.types + parameter + + + + Otherwise, if generate.legalnotice.link is + zero, legalnotice contents are rendered on the title + page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename +processing instruction, that filename is used. + + + If the legalnotice has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename +is the concatenation of the id value and the value of the html.ext +parameter. + + + If the legalnotice does not have an id/xml:id + attribute, or if use.id.as.filename = 0, the filename is the concatenation of "ln-", +auto-generated id value, and html.ext value. + + + + + + + + + + + +generate.revhistory.link +boolean + + +generate.revhistory.link +Write revhistory to separate chunk and generate link? + + + +<xsl:param name="generate.revhistory.link" select="0"></xsl:param> + + +Description + +If non-zero, the contents of revhistory are written +to a separate HTML file and a link to the file is +generated. Otherwise, revhistory contents are rendered on +the title page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename processing instruction, +that filename is used. + + + If the revhistory has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename is the concatenation of +the id value and the value of the html.ext parameter. + + + If the revhistory does not have an id/xml:id +attribute, or if use.id.as.filename = 0, the filename is the concatenation of "rh-", +auto-generated id value, and html.ext value. + + + + + + + + + + + +html.head.legalnotice.link.types +string + + +html.head.legalnotice.link.types +Specifies link types for legalnotice link in html head + + + + +<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param> + + + +Description + +The value of +html.head.legalnotice.link.types is a +space-separated list of link types, as described in Section 6.12 +of the HTML 4.01 specification. If the value of the +generate.legalnotice.link parameter is +non-zero, then the stylesheet generates (in the +head section of the HTML source) either a single +HTML link element or, if the value of the +html.head.legalnotice.link.multiple is +non-zero, one link element for each link type +specified. Each link has the following attributes: + + + + a rel attribute whose + value is derived from the value of + html.head.legalnotice.link.types + + + an href attribute whose + value is set to the URL of the file containing the + legalnotice + + + a title attribute whose + value is set to the title of the corresponding + legalnotice (or a title programatically + determined by the stylesheet) + + + +For example: + + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + +About the default value + + In an ideal world, the default value of + html.head.legalnotice.link.types would + probably be “license”, since the content of the + DocBook legalnotice is typically license + information, not copyright information. However, the default value + is “copyright” for pragmatic reasons: because + that’s among the set of “recognized link types” listed in Section + 6.12 of the HTML 4.01 specification, and because certain + browsers and browser extensions are preconfigured to recognize that + value. + + + + + + + +html.head.legalnotice.link.multiple +boolean + + +html.head.legalnotice.link.multiple +Generate multiple link instances in html head for legalnotice? + + + + +<xsl:param name="html.head.legalnotice.link.multiple" select="1"></xsl:param> + + + +Description + +If html.head.legalnotice.link.multiple is +non-zero and the value of +html.head.legalnotice.link.types contains +multiple link types, then the stylesheet generates (in the +head section of the HTML source) one +link element for each link type specified. For +example, if the value of +html.head.legalnotice.link.types is +“copyright license”: + + <link rel="copyright" href="ln-id2524073.html" title="Legal Notice"> + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + Otherwise, the stylesheet generates generates a single + link instance; for example: + + <link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"> + + + + + + +Reference Pages + + +funcsynopsis.decoration +boolean + + +funcsynopsis.decoration +Decorate elements of a funcsynopsis? + + + + +<xsl:param name="funcsynopsis.decoration" select="1"></xsl:param> + + + +Description + +If non-zero, elements of the funcsynopsis will be +decorated (e.g. rendered as bold or italic text). The decoration is controlled by +templates that can be redefined in a customization layer. + + + + + + + +funcsynopsis.style +list +ansi +kr + + +funcsynopsis.style +What style of funcsynopsis should be generated? + + + +<xsl:param name="funcsynopsis.style">kr</xsl:param> + + +Description + +If funcsynopsis.style is ansi, +ANSI-style function synopses are generated for a +funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + + + +function.parens +boolean + + +function.parens +Generate parens after a function? + + + + +<xsl:param name="function.parens" select="0"></xsl:param> + + + +Description + +If non-zero, the formatting of a function element +will include generated parentheses. + + + + + + + +refentry.generate.name +boolean + + +refentry.generate.name +Output NAME header before refnames? + + + + +<xsl:param name="refentry.generate.name" select="1"></xsl:param> + + + +Description + +If non-zero, a "NAME" section title is output before the list +of refnames. This parameter and +refentry.generate.title are mutually +exclusive. This means that if you change this parameter to zero, you +should set refentry.generate.title to non-zero unless +you want get quite strange output. + + + + + + + +refentry.generate.title +boolean + + +refentry.generate.title +Output title before refnames? + + + + +<xsl:param name="refentry.generate.title" select="0"></xsl:param> + + + +Description + +If non-zero, the reference page title or first name is +output before the list of refnames. This parameter and +refentry.generate.name are mutually exclusive. +This means that if you change this parameter to non-zero, you +should set refentry.generate.name to zero unless +you want get quite strange output. + + + + + + + +refentry.xref.manvolnum +boolean + + +refentry.xref.manvolnum +Output manvolnum as part of +refentry cross-reference? + + + + +<xsl:param name="refentry.xref.manvolnum" select="1"></xsl:param> + + + +Description + +if non-zero, the manvolnum is used when cross-referencing +refentrys, either with xref +or citerefentry. + + + + + + + +citerefentry.link +boolean + + +citerefentry.link +Generate URL links when cross-referencing RefEntrys? + + + + +<xsl:param name="citerefentry.link" select="0"></xsl:param> + + +Description + +If non-zero, a web link will be generated, presumably +to an online man->HTML gateway. The text of the link is +generated by the generate.citerefentry.link template. + + + + + + + +refentry.separator +boolean + + +refentry.separator +Generate a separator between consecutive RefEntry elements? + + + + +<xsl:param name="refentry.separator" select="1"></xsl:param> + + + +Description + +If true, a separator will be generated between consecutive +reference pages. + + + + + + + +refclass.suppress +boolean + + +refclass.suppress +Suppress display of refclass contents? + + + + +<xsl:param name="refclass.suppress" select="0"></xsl:param> + + +Description + +If the value of refclass.suppress is +non-zero, then display of refclass contents is +suppressed in output. + + + + + +Tables + + +default.table.width +length + + +default.table.width +The default width of tables + + + +<xsl:param name="default.table.width"></xsl:param> + + +Description +If non-zero, this value will be used for the +width attribute on tables that do not specify an +alternate width (with the dbhtml table-width or +dbfo table-width processing instruction). + + + + + +nominal.table.width +length + + +nominal.table.width +The (absolute) nominal width of tables + + + + +<xsl:param name="nominal.table.width">6in</xsl:param> + + + +Description + +In order to convert CALS column widths into HTML column widths, it +is sometimes necessary to have an absolute table width to use for conversion +of mixed absolute and relative widths. This value must be an absolute +length (not a percentage). + + + + + + +table.borders.with.css +boolean + + +table.borders.with.css +Use CSS to specify table, row, and cell borders? + + + + +<xsl:param name="table.borders.with.css" select="0"></xsl:param> + + + +Description + +If non-zero, CSS will be used to draw table borders. + + + + + + + +table.cell.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.cell.border.style +Specifies the border style of table cells + + + + +<xsl:param name="table.cell.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table cells. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.thickness +length + + +table.cell.border.thickness +Specifies the thickness of table cell borders + + + + +<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param> + + + +Description + +If non-zero, specifies the thickness of borders on table +cells. The units are points. See +CSS + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.cell.border.color +color + + +table.cell.border.color +Specifies the border color of table cells + + + + +<xsl:param name="table.cell.border.color"></xsl:param> + + + + +Description + +Set the color of table cell borders. If non-zero, the value is used +for the border coloration. See CSS. A +color is either a keyword or a numerical RGB specification. +Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, +navy, olive, orange, purple, red, silver, teal, white, and +yellow. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + + + + +table.frame.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.frame.border.style +Specifies the border style of table frames + + + + +<xsl:param name="table.frame.border.style">solid</xsl:param> + + + +Description + +Specifies the border style of table frames. + + + + + + +table.frame.border.thickness +length + + +table.frame.border.thickness +Specifies the thickness of the frame border + + + + +<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param> + + + +Description + +Specifies the thickness of the border on the table's frame. + + + + + + +table.frame.border.color +color + + +table.frame.border.color +Specifies the border color of table frames + + + + +<xsl:param name="table.frame.border.color"></xsl:param> + + + + +Description + +Specifies the border color of table frames. + + + + + + +default.table.frame +string + + +default.table.frame +The default framing of tables + + + + +<xsl:param name="default.table.frame">all</xsl:param> + + + +Description + +This value will be used when there is no frame attribute on the +table. + + + + + + +html.cellspacing +integer + + +html.cellspacing +Default value for cellspacing in HTML tables + + + + +<xsl:param name="html.cellspacing"></xsl:param> + + + +Description + +If non-zero, this value will be used as the default cellspacing +value in HTML tables. nn for pixels or nn% for percentage +length. E.g. 5 or 5% + + + + + + +html.cellpadding +integer + + +html.cellpadding +Default value for cellpadding in HTML tables + + + + +<xsl:param name="html.cellpadding"></xsl:param> + + + +Description + +If non-zero, this value will be used as the default cellpadding value +in HTML tables. nn for pixels or nn% for percentage length. E.g. 5 or +5% + + + + + +QAndASet + + +qanda.defaultlabel +list +number +qanda +none + + +qanda.defaultlabel +Sets the default for defaultlabel on QandASet. + + + + +<xsl:param name="qanda.defaultlabel">number</xsl:param> + + + +Description + +If no defaultlabel attribute is specified on +a qandaset, this value is used. It is generally one of the legal +values for the defaultlabel attribute (none, +number or +qanda), or one of the additional stylesheet-specific values +(qnumber or qnumberanda). +The default value is 'number'. + +The values are rendered as follows: + +qanda + +questions are labeled "Q:" and +answers are labeled "A:". + + + +number + +The questions are enumerated and the answers +are not labeled. + + + +qnumber + +The questions are labeled "Q:" followed by a number, and answers are not +labeled. +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +qnumberanda + +The questions are labeled "Q:" followed by a number, and +the answers are labeled "A:". +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +none + +No distinguishing label precedes Questions or Answers. + + + + + + + + + + +qanda.inherit.numeration +boolean + + +qanda.inherit.numeration +Does enumeration of QandASet components inherit the numeration of parent elements? + + + + +<xsl:param name="qanda.inherit.numeration" select="1"></xsl:param> + + + +Description + +If non-zero, numbered qandadiv elements and +question and answer inherit the enumeration of +the ancestors of the qandaset. + + + + + + + +qanda.in.toc +boolean + + +qanda.in.toc +Should qandaentry questions appear in +the document table of contents? + + + +<xsl:param name="qanda.in.toc" select="0"></xsl:param> + + +Description + +If true (non-zero), then the generated table of contents +for a document will include qandaset titles, +qandadiv titles, +and question elements. The default value (zero) excludes +them from the TOC. + +This parameter does not affect any tables of contents +that may be generated inside a qandaset or qandadiv. + + + + + + + +qanda.nested.in.toc +boolean + + +qanda.nested.in.toc +Should nested answer/qandaentry instances appear in TOC? + + + + +<xsl:param name="qanda.nested.in.toc" select="0"></xsl:param> + + + +Description + +If non-zero, instances of qandaentry +that are children of answer elements are shown in +the TOC. + + + + + +Linking + + +target.database.document +uri + + +target.database.document +Name of master database file for resolving +olinks + + + + <xsl:param name="target.database.document">olinkdb.xml</xsl:param> + + +Description + + +To resolve olinks between documents, the stylesheets use a master +database document that identifies the target datafiles for all the +documents within the scope of the olinks. This parameter value is the +URI of the master document to be read during processing to resolve +olinks. The default value is olinkdb.xml. + +The data structure of the file is defined in the +targetdatabase.dtd DTD. The database file +provides the high level elements to record the identifiers, locations, +and relationships of documents. The cross reference data for +individual documents is generally pulled into the database using +system entity references or XIncludes. See also +targets.filename. + + + + +targets.filename +string + + +targets.filename +Name of cross reference targets data file + + +<xsl:param name="targets.filename">target.db</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter lets you change the name of the generated +file from the default name target.db. +The name must agree with that used in the target database +used to resolve olinks during processing. +See also target.database.document. + + + + + + +olink.base.uri +uri + + +olink.base.uri +Base URI used in olink hrefs + + +<xsl:param name="olink.base.uri"></xsl:param> + + +Description + +When cross reference data is collected for resolving olinks, it +may be necessary to prepend a base URI to each target's href. This +parameter lets you set that base URI when cross reference data is +collected. This feature is needed when you want to link to a document +that is processed without chunking. The output filename for such a +document is not known to the XSL stylesheet; the only target +information consists of fragment identifiers such as +#idref. To enable the resolution of olinks between +documents, you should pass the name of the HTML output file as the +value of this parameter. Then the hrefs recorded in the cross +reference data collection look like +outfile.html#idref, which can be reached as links +from other documents. + + + + + +use.local.olink.style +boolean + + +use.local.olink.style +Process olinks using xref style of current +document + + +<xsl:param name="use.local.olink.style" select="0"></xsl:param> + +Description + +When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same. + + + + + +current.docid +string + + +current.docid +targetdoc identifier for the document being +processed + + +<xsl:param name="current.docid"></xsl:param> + + +Description + +When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet +the targetdoc identifier of the current document, since that +identifier does not appear in the document itself. +This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature. + + + + + +olink.doctitle +list +no +yes +maybe + + +olink.doctitle +show the document title for external olinks? + + + +<xsl:param name="olink.doctitle">no</xsl:param> + + +Description + +When olinks between documents are resolved, the generated text +may not make it clear that the reference is to another document. +It is possible for the stylesheets to append the other document's +title to external olinks. For this to happen, two parameters must +be set. + + +This olink.doctitle parameter +should be set to either yes or maybe +to enable this feature. + + + +And you should also set the current.docid +parameter to the document id for the document currently +being processed for output. + + + + + +Then if an olink's targetdoc id differs from +the current.docid value, the stylesheet knows +that it is a reference to another document and can +append the target document's +title to the generated olink text. + +The text for the target document's title is copied from the +olink database from the ttl element +of the top-level div for that document. +If that ttl element is missing or empty, +no title is output. + + +The supported values for olink.doctitle are: + + + +yes + + +Always insert the title to the target document if it is not +the current document. + + + + +no + + +Never insert the title to the target document, even if requested +in an xrefstyle attribute. + + + + +maybe + + +Only insert the title to the target document, if requested +in an xrefstyle attribute. + + + + +An xrefstyle attribute +may override the global setting for individual olinks. +The following values are supported in an +xrefstyle +attribute using the select: syntax: + + + + +docname + + +Insert the target document name for this olink using the +docname gentext template, but only +if the value of olink.doctitle +is not no. + + + + +docnamelong + + +Insert the target document name for this olink using the +docnamelong gentext template, but only +if the value of olink.doctitle +is not no. + + + + +nodocname + + +Omit the target document name even if +the value of olink.doctitle +is yes. + + + + +Another way of inserting the target document name +for a single olink is to employ an +xrefstyle +attribute using the template: syntax. +The %o placeholder (the letter o, not zero) +in such a template +will be filled in with the target document's title when it is processed. +This will occur regardless of +the value of olink.doctitle. + +Note that prior to version 1.66 of the XSL stylesheets, +the allowed values for this parameter were 0 and 1. Those +values are still supported and mapped to 'no' and 'yes', respectively. + + + + + + +activate.external.olinks +boolean + + +activate.external.olinks +Make external olinks into active links + + + + +<xsl:param name="activate.external.olinks" select="1"></xsl:param> + + + +Description + +If activate.external.olinks is nonzero +(the default), then any olinks that reference another document +become active links that can be clicked on to follow the link. +If the parameter is set to zero, then external olinks +will have the appropriate link text generated, but the link is +not made active. Olinks to destinations in +the current document remain active. + +To make an external olink active for HTML +outputs, the link text is wrapped in an a +element with an href attribute. To +make an external olink active for FO outputs, the link text is +wrapped in an fo:basic-link element with an +external-destination attribute. + +This parameter is useful when you need external olinks +to resolve but not be clickable. For example, if documents +in a collection are available independently of each other, +then having active links between them could lead to +unresolved links when a given target document is missing. + +The epub stylesheets set this parameter to zero by default +because there is no standard linking mechanism between Epub documents. + +If external links are made inactive, you should +consider setting the +stylesheet parameter olink.doctitle +to yes. That will append the external document's +title to the link text, making it easier for the user to +locate the other document. + +An olink is considered external when the +current.docid stylesheet parameter +is set to some value, and the olink's targetdoc +attribute has a different value. If the two values +match, then the link is considered internal. If the +current.docid parameter is blank, or +the olink element does not have a targetdoc attribute, +then the link is considered to be internal and will become +an active link. + +See also olink.doctitle, +prefer.internal.olink. + + + + + + +olink.debug +boolean + + +olink.debug +Turn on debugging messages for olinks + + + + +<xsl:param name="olink.debug" select="0"></xsl:param> + + + +Description + +If non-zero, then each olink will generate several +messages about how it is being resolved during processing. +This is useful when an olink does not resolve properly +and the standard error messages are not sufficient to +find the problem. + + +You may need to read through the olink XSL templates +to understand the context for some of the debug messages. + + + + + + + +olink.properties +attribute set + + +olink.properties +Properties associated with the cross-reference +text of an olink. + + + + +<xsl:attribute-set name="olink.properties"> + <xsl:attribute name="show-destination">replace</xsl:attribute> +</xsl:attribute-set> + + + +Description + +This attribute set is applied to the +fo:basic-link element of an olink. It is not applied to the +optional page number or optional title of the external +document. + + + + + + +olink.lang.fallback.sequence +string + + +olink.lang.fallback.sequence +look up translated documents if olink not found? + + + +<xsl:param name="olink.lang.fallback.sequence"></xsl:param> + + +Description + + +This parameter defines a list of lang values +to search among to resolve olinks. + + +Normally an olink tries to resolve to a document in the same +language as the olink itself. The language of an olink +is determined by its nearest ancestor element with a +lang attribute, otherwise the +value of the l10n.gentext.default.lang +parameter. + + +An olink database can contain target data for the same +document in multiple languages. Each set of data has the +same value for the targetdoc attribute in +the document element in the database, but with a +different lang attribute value. + + +When an olink is being resolved, the target is first +sought in the document with the same language as the olink. +If no match is found there, then this parameter is consulted +for additional languages to try. + +The olink.lang.fallback.sequence +must be a whitespace separated list of lang values to +try. The first one with a match in the olink database is used. +The default value is empty. + +For example, a document might be written in German +and contain an olink with +targetdoc="adminguide". +When the document is processed, the processor +first looks for a target dataset in the +olink database starting with: + +<document targetdoc="adminguide" lang="de">. + + +If there is no such element, then the +olink.lang.fallback.sequence +parameter is consulted. +If its value is, for example, fr en, then the processor next +looks for targetdoc="adminguide" lang="fr", and +then for targetdoc="adminguide" lang="en". +If there is still no match, it looks for +targetdoc="adminguide" with no +lang attribute. + + +This parameter is useful when a set of documents is only +partially translated, or is in the process of being translated. +If a target of an olink has not yet been translated, then this +parameter permits the processor to look for the document in +other languages. This assumes the reader would rather have +a link to a document in a different language than to have +a broken link. + + + + + + + +insert.olink.page.number +list +no +yes +maybe + + +insert.olink.page.number +Turns page numbers in olinks on and off + + + + +<xsl:param name="insert.olink.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references made between documents with +olink will +include page number citations. +In most cases this is only applicable to references in printed output. + +The parameter has three possible values. + + + +no +No page number references will be generated for olinks. + + + +yes +Page number references will be generated +for all olink references. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an olink element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + +Olinks that point to targets within the same document +are treated as xrefs, and controlled by +the insert.xref.page.number parameter. + + +Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(div or obj) +must have a page attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. + + + + + + + + + +insert.olink.pdf.frag +boolean + + +insert.olink.pdf.frag +Add fragment identifiers for links into PDF files + + + + +<xsl:param name="insert.olink.pdf.frag" select="0"></xsl:param> + + + +Description + +The value of this parameter determines whether +the cross reference URIs to PDF documents made with +olink will +include fragment identifiers. + + +When forming a URI to link to a PDF document, +a fragment identifier (typically a '#' followed by an +id value) appended to the PDF filename can be used by +the PDF viewer to open +the PDF file to a location within the document instead of +the first page. +However, not all PDF files have id +values embedded in them, and not all PDF viewers can +handle fragment identifiers. + + +If insert.olink.pdf.frag is set +to a non-zero value, then any olink targeting a +PDF file will have the fragment identifier appended to the URI. +The URI is formed by concatenating the value of the +olink.base.uri parameter, the +value of the baseuri +attribute from the document +element in the olink database with the matching +targetdoc value, +and the value of the href +attribute for the targeted element in the olink database. +The href attribute +contains the fragment identifier. + + +If insert.olink.pdf.frag is set +to zero (the default value), then +the href attribute +from the olink database +is not appended to PDF olinks, so the fragment identifier is left off. +A PDF olink is any olink for which the +baseuri attribute +from the matching document +element in the olink database ends with '.pdf'. +Any other olinks will still have the fragment identifier added. + + + + + + +prefer.internal.olink +boolean + + +prefer.internal.olink +Prefer a local olink reference to an external reference + + + + +<xsl:param name="prefer.internal.olink" select="0"></xsl:param> + + + +Description + +If you are re-using XML content modules in multiple documents, +you may want to redirect some of your olinks. This parameter +permits you to redirect an olink to the current document. + + +For example: you are writing documentation for a product, +which includes 3 manuals: a little installation +booklet (booklet.xml), a user +guide (user.xml), and a reference manual (reference.xml). +All 3 documents begin with the same introduction section (intro.xml) that +contains a reference to the customization section (custom.xml) which is +included in both user.xml and reference.xml documents. + + +How do you write the link to custom.xml in intro.xml +so that it is interpreted correctly in all 3 documents? + +If you use xref, it will fail in user.xml. + +If you use olink (pointing to reference.xml), +the reference in user.xml +will point to the customization section of the reference manual, while it is +actually available in user.xml. + + + +If you set the prefer.internal.olink +parameter to a non-zero value, then the processor will +first look in the olink database +for the olink's targetptr attribute value +in document matching the current.docid +parameter value. If it isn't found there, then +it tries the document in the database +with the targetdoc +value that matches the olink's targetdoc +attribute. + + +This feature permits an olink reference to resolve to +the current document if there is an element +with an id matching the olink's targetptr +value. The current document's olink data must be +included in the target database for this to work. + + +There is a potential for incorrect links if +the same id attribute value is used for different +content in different documents. +Some of your olinks may be redirected to the current document +when they shouldn't be. It is not possible to control +individual olink instances. + + + + + + + +link.mailto.url +string + + +link.mailto.url +Mailto URL for the LINK REL=made HTML HEAD element + + + + +<xsl:param name="link.mailto.url"></xsl:param> + + + +Description + +If not the empty string, this address will be used for the +rel=made link element in the html head + + + + + + + +ulink.target +string + + +ulink.target +The HTML anchor target for ULinks + + + + +<xsl:param name="ulink.target">_top</xsl:param> + + + +Description + +If ulink.target is non-zero, its value will +be used for the target attribute +on anchors generated for ulinks. + + + + + +Cross References + + +collect.xref.targets +list +no +yes +only + + +collect.xref.targets +Controls whether cross reference data is +collected + + +<xsl:param name="collect.xref.targets">no</xsl:param> + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. +See also targets.filename. + + + + + + +insert.xref.page.number +list +no +yes +maybe + + +insert.xref.page.number +Turns page numbers in xrefs on and off + + + + +<xsl:param name="insert.xref.page.number">no</xsl:param> + + + +Description + +The value of this parameter determines if +cross references (xrefs) in +printed output will +include page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all xref elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an xref element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + + + + + + +use.role.as.xrefstyle +boolean + + +use.role.as.xrefstyle +Use role attribute for +xrefstyle on xref? + + + + +<xsl:param name="use.role.as.xrefstyle" select="1"></xsl:param> + + + +Description + +In DocBook documents that conform to a schema older than V4.3, this parameter allows +role to serve the purpose of specifying the cross reference style. + +If non-zero, the role attribute on +xref will be used to select the cross reference style. +In DocBook V4.3, the xrefstyle attribute was added for this purpose. +If the xrefstyle attribute is present, +role will be ignored, regardless of the setting +of this parameter. + + + +Example + +The following small stylesheet shows how to configure the +stylesheets to make use of the cross reference style: + +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../xsl/html/docbook.xsl"/> + +<xsl:output method="html"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:context name="xref"> + <l:template name="chapter" style="title" text="Chapter %n, %t"/> + <l:template name="chapter" text="Chapter %n"/> + </l:context> + </l:l10n> +</l:i18n> + +</xsl:stylesheet> + +With this stylesheet, the cross references in the following document: + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<book id="book"><title>Book</title> + +<preface> +<title>Preface</title> + +<para>Normal: <xref linkend="ch1"/>.</para> +<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para> + +</preface> + +<chapter id="ch1"> +<title>First Chapter</title> + +<para>Irrelevant.</para> + +</chapter> +</book> + +will appear as: + + +Normal: Chapter 1. +Title: Chapter 1, First Chapter. + + + + + + + +xref.with.number.and.title +boolean + + +xref.with.number.and.title +Use number and title in cross references + + + + +<xsl:param name="xref.with.number.and.title" select="1"></xsl:param> + + + +Description + +A cross reference may include the number (for example, the number of +an example or figure) and the title which is a required child of some +targets. This parameter inserts both the relevant number as well as +the title into the link. + + + + + + +xref.label-page.separator +string + + +xref.label-page.separator +Punctuation or space separating label from page number in xref + + + +<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and page +but no title, +then the value of this parameter is inserted between +label and page number in the output. +If a title is included, then other separators are used. + + + + + + + +xref.label-title.separator +string + + +xref.label-title.separator +Punctuation or space separating label from title in xref + + + +<xsl:param name="xref.label-title.separator">: </xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and title, +then the value of this parameter is inserted between +label and title in the output. + + + + + + + +xref.title-page.separator +string + + +xref.title-page.separator +Punctuation or space separating title from page number in xref + + + +<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param> + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both title and page number, +then the value of this parameter is inserted between +title and page number in the output. + + + + + + +Lists + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + +<xsl:param name="segmentedlist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + + + + +variablelist.as.table +boolean + + +variablelist.as.table +Format variablelists as tables? + + + + +<xsl:param name="variablelist.as.table" select="0"></xsl:param> + + + +Description + +If non-zero, variablelists will be formatted as +tables. A processing instruction exists to specify a particular width for the +column containing the terms: +dbhtml term-width=".25in" + +You can override this setting with a processing instruction as the +child of variablelist: dbhtml +list-presentation="table" or dbhtml +list-presentation="list". + +This parameter only applies to the HTML transformations. In the +FO case, proper list markup is robust enough to handle the formatting. +But see also variablelist.as.blocks. + + <variablelist> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a table even if variablelist.as.table is set to 0. + </para> + </listitem> + </varlistentry> + </variablelist> + + + + + + +variablelist.term.separator +string + + +variablelist.term.separator +Text to separate terms within a multi-term +varlistentry + + + + +<xsl:param name="variablelist.term.separator">, </xsl:param> + + +Description + +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is placed +after each term except the last. + + + To generate a line break between multiple terms in + a varlistentry, set a non-zero value for the + variablelist.term.break.after parameter. If + you do so, you may also want to set the value of the + variablelist.term.separator parameter to an + empty string (to suppress rendering of the default comma and space + after each term). + + + + + + + +variablelist.term.break.after +boolean + + +variablelist.term.break.after +Generate line break after each term within a +multi-term varlistentry? + + + + +<xsl:param name="variablelist.term.break.after">0</xsl:param> + + +Description + +Set a non-zero value for the +variablelist.term.break.after parameter to +generate a line break between terms in a +multi-term varlistentry. + + +If you set a non-zero value for +variablelist.term.break.after, you may also +want to set the value of the +variablelist.term.separator parameter to an +empty string (to suppress rendering of the default comma and space +after each term). + + + + + + +Bibliography + + +bibliography.style +list +normal +iso690 + + +bibliography.style +Style used for formatting of biblioentries. + + + + +<xsl:param name="bibliography.style">normal</xsl:param> + + + +Description + +Currently only normal and +iso690 styles are supported. + +In order to use ISO690 style to the full extent you might need +to use additional markup described on the +following WiKi page. + + + + + + +biblioentry.item.separator +string + + +biblioentry.item.separator +Text to separate bibliography entries + + + +<xsl:param name="biblioentry.item.separator">. </xsl:param> + + +Description + +Text to separate bibliography entries + + + + + + + +bibliography.collection +string + + +bibliography.collection +Name of the bibliography collection file + + + + +<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param> + + + + +Description + +Maintaining bibliography entries across a set of documents is tedious, time +consuming, and error prone. It makes much more sense, usually, to store all of +the bibliography entries in a single place and simply extract +the ones you need in each document. + +That's the purpose of the +bibliography.collection parameter. To setup a global +bibliography database, follow these steps: + +First, create a stand-alone bibliography document that contains all of +the documents that you wish to reference. Make sure that each bibliography +entry (whether you use biblioentry or bibliomixed) +has an ID. + +My global bibliography, ~/bibliography.xml begins +like this: + + +<!DOCTYPE bibliography + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<bibliography><title>References</title> + +<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, +Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup +Language (XML) 1.0 Second Edition</ulink></citetitle>. +World Wide Web Consortium, 2000. +</bibliomixed> + +<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, +Dave Hollander, +and Andrew Layman, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in +XML</ulink></citetitle>. +World Wide Web Consortium, 1999. +</bibliomixed> + +<!-- ... --> +</bibliography> + + + +When you create a bibliography in your document, simply +provide empty bibliomixed +entries for each document that you wish to cite. Make sure that these +elements have the same ID as the corresponding real +entry in your global bibliography. + +For example: + + +<bibliography><title>Bibliography</title> + +<bibliomixed id="xml-rec"/> +<bibliomixed id="xml-names"/> +<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and +Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, +1986. ISBN 0-201-13437-3. +</bibliomixed> +<bibliomixed id="relaxng"/> + +</bibliography> + + +Note that it's perfectly acceptable to mix entries from your +global bibliography with normal entries. You can use +xref or other elements to cross-reference your +bibliography entries in exactly the same way you do now. + +Finally, when you are ready to format your document, simply set the +bibliography.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global bibliography. + +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the bibliography in your document as if +all of the entries referenced appeared there literally. + + + + + + +bibliography.numbered +boolean + + +bibliography.numbered +Should bibliography entries be numbered? + + + + +<xsl:param name="bibliography.numbered" select="0"></xsl:param> + + + +Description + +If non-zero bibliography entries will be numbered + + + + + +Glossary + + +glossterm.auto.link +boolean + + +glossterm.auto.link +Generate links from glossterm to glossentry automatically? + + + + +<xsl:param name="glossterm.auto.link" select="0"></xsl:param> + + + +Description + +If non-zero, links from inline glossterms to the corresponding +glossentry elements in a glossary or glosslist +will be automatically generated. This is useful when your glossterms are consistent +and you don't want to add links manually. + +The automatic link generation feature is not used on glossterm elements +that have a linkend attribute. + + + + + + +firstterm.only.link +boolean + + +firstterm.only.link +Does automatic glossterm linking only apply to firstterms? + + + + +<xsl:param name="firstterm.only.link" select="0"></xsl:param> + + + +Description + +If non-zero, only firstterms will be automatically linked +to the glossary. If glossary linking is not enabled, this parameter +has no effect. + + + + + + +glossary.collection +string + + +glossary.collection +Name of the glossary collection file + + + + +<xsl:param name="glossary.collection"></xsl:param> + + + +Description + +Glossaries maintained independently across a set of documents +are likely to become inconsistent unless considerable effort is +expended to keep them in sync. It makes much more sense, usually, to +store all of the glossary entries in a single place and simply +extract the ones you need in each document. + +That's the purpose of the +glossary.collection parameter. To setup a global +glossary database, follow these steps: + +Setting Up the Glossary Database + +First, create a stand-alone glossary document that contains all of +the entries that you wish to reference. Make sure that each glossary +entry has an ID. + +Here's an example glossary: + + + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glossary + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<glossary> +<glossaryinfo> +<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> +<title>Jargon File 4.2.3 (abridged)</title> +<releaseinfo>Just some test data</releaseinfo> +</glossaryinfo> + +<glossdiv><title>0</title> + +<glossentry> +<glossterm>0</glossterm> +<glossdef> +<para>Numeric zero, as opposed to the letter `O' (the 15th letter of +the English alphabet). In their unmodified forms they look a lot +alike, and various kluges invented to make them visually distinct have +compounded the confusion. If your zero is center-dotted and letter-O +is not, or if letter-O looks almost rectangular but zero looks more +like an American football stood on end (or the reverse), you're +probably looking at a modern character display (though the dotted zero +seems to have originated as an option on IBM 3270 controllers). If +your zero is slashed but letter-O is not, you're probably looking at +an old-style ASCII graphic set descended from the default typewheel on +the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, +curse this arrangement). (Interestingly, the slashed zero long +predates computers; Florian Cajori's monumental "A History of +Mathematical Notations" notes that it was used in the twelfth and +thirteenth centuries.) If letter-O has a slash across it and the zero +does not, your display is tuned for a very old convention used at IBM +and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> +arrangement even more, because it means two of their letters collide). +Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> +slash. Old CDC computers rendered letter O as an unbroken oval and 0 +as an oval broken at upper right and lower left. And yet another +convention common on early line printers left zero unornamented but +added a tail or hook to the letter-O so that it resembled an inverted +Q or cursive capital letter-O (this was endorsed by a draft ANSI +standard for how to draw ASCII characters, but the final standard +changed the distinguisher to a tick-mark in the upper-left corner). +Are we sufficiently confused yet?</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm>1TBS</glossterm> +<glossdef> +<para role="accidence"> +<phrase role="pronounce"></phrase> +<phrase role="partsofspeach">n</phrase> +</para> +<para>The "One True Brace Style"</para> +<glossseealso>indent style</glossseealso> +</glossdef> +</glossentry> + +<!-- ... --> + +</glossdiv> + +<!-- ... --> + +</glossary> + + + + +Marking Up Glossary Terms + +That takes care of the glossary database, now you have to get the entries +into your document. Unlike bibliography entries, which can be empty, creating +placeholder glossary entries would be very tedious. So instead, +support for glossary.collection relies on implicit linking. + +In your source document, simply use firstterm and +glossterm to identify the terms you wish to have included +in the glossary. The stylesheets assume that you will either set the +baseform attribute correctly, or that the +content of the element exactly matches a term in your glossary. + +If you're using a glossary.collection, don't +make explicit links on the terms in your document. + +So, in your document, you might write things like this: + + +<para>This is dummy text, without any real meaning. +The point is simply to reference glossary terms like <glossterm>0</glossterm> +and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. +The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly +religious issue.</para> + + +If you set the firstterm.only.link parameter, +only the terms marked with firstterm will be links. +Otherwise, all the terms will be linked. + + + +Marking Up the Glossary + +The glossary itself has to be identified for the stylesheets. For lack +of a better choice, the role is used. +To identify the glossary as the target for automatic processing, set +the role to auto. The title of this +glossary (and any other information from the glossaryinfo +that's rendered by your stylesheet) will be displayed, but the entries will +come from the database. + + +Unfortunately, the glossary can't be empty, so you must put in +at least one glossentry. The content of this entry +is irrelevant, it will not be rendered: + + +<glossary role="auto"> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + +What about glossary divisions? If your glossary database has glossary +divisions and your automatic glossary contains at least +one glossdiv, the automic glossary will have divisions. +If the glossdiv is missing from either location, no divisions +will be rendered. + +Glossary entries (and divisions, if appropriate) in the glossary will +occur in precisely the order they occur in your database. + + + +Formatting the Document + +Finally, when you are ready to format your document, simply set the +glossary.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global glossary. + +A relative path in the parameter is interpreted in one +of two ways: + + + If the parameter glossterm.auto.link + is set to zero, then the path is relative to the file containing + the empty glossary element in the document. + + + If the parameter glossterm.auto.link + is set to non-zero, then the path is relative to the file containing + the first inline glossterm or + firstterm in the document to be linked. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the glossary in your document as if +all of the entries implicilty referenced appeared there literally. + + +Limitations + +Glossary cross-references within the glossary are +not supported. For example, this will not work: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + +If you put glossary cross-references in your glossary that way, +you'll get the cryptic error: Warning: +glossary.collection specified, but there are 0 automatic +glossaries. + +Instead, you must do two things: + + + +Markup your glossary using glossseealso: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + + + +Make sure there is at least one glossterm reference to +gloss-2 in your document. The +easiest way to do that is probably within a remark in your +automatic glossary: + + +<glossary role="auto"> +<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + + + + + + + + + +glossary.sort +boolean + + +glossary.sort +Sort glossentry elements? + + + + +<xsl:param name="glossary.sort" select="0"></xsl:param> + + + +Description + +If non-zero, then the glossentry elements within a +glossary, glossdiv, or glosslist are sorted on the glossterm, using +the current lang setting. If zero (the default), then +glossentry elements are not sorted and are presented +in document order. + + + + + + + +glossentry.show.acronym +list +no +yes +primary + + +glossentry.show.acronym +Display glossentry acronyms? + + + + +<xsl:param name="glossentry.show.acronym">no</xsl:param> + + + +Description + +A setting of yes means they should be displayed; +no means they shouldn't. If primary is used, +then they are shown as the primary text for the entry. + + +This setting controls both acronym and +abbrev elements in the glossentry. + + + + + + +Miscellaneous + + +formal.procedures +boolean + + +formal.procedures +Selects formal or informal procedures + + + + +<xsl:param name="formal.procedures" select="1"></xsl:param> + + + +Description + +Formal procedures are numbered and always have a title. + + + + + + + +formal.title.placement +table + + +formal.title.placement +Specifies where formal object titles should occur + + + + +<xsl:param name="formal.title.placement"> +figure before +example before +equation before +table before +procedure before +task before +</xsl:param> + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + + + + +runinhead.default.title.end.punct +string + + +runinhead.default.title.end.punct +Default punctuation character on a run-in-head + + + +<xsl:param name="runinhead.default.title.end.punct">.</xsl:param> + + + +Description + +If non-zero, For a formalpara, use the specified +string as the separator between the title and following text. The period is the default value. + + + + + + +runinhead.title.end.punct +string + + +runinhead.title.end.punct +Characters that count as punctuation on a run-in-head + + + + +<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param> + + + +Description + +Specify which characters are to be counted as punctuation. These +characters are checked for a match with the last character of the +title. If no match is found, the +runinhead.default.title.end.punct contents are +inserted. This is to avoid duplicated punctuation in the output. + + + + + + + +show.comments +boolean + + +show.comments +Display remark elements? + + + + +<xsl:param name="show.comments" select="1"></xsl:param> + + + +Description + +If non-zero, comments will be displayed, otherwise they +are suppressed. Comments here refers to the remark element +(which was called comment prior to DocBook +4.0), not XML comments (<-- like this -->) which are +unavailable. + + + + + + + +show.revisionflag +boolean + + +show.revisionflag +Enable decoration of elements that have a revisionflag + + + + +<xsl:param name="show.revisionflag" select="0"></xsl:param> + + + +Description + + +If show.revisionflag is turned on, then the stylesheets +may produce additional markup designed to allow a CSS stylesheet to +highlight elements that have specific revisionflag settings. + +The markup inserted will be usually be either a <span> or +<div> with an appropriate class +attribute. (The value of the class attribute will be the same as the +value of the revisionflag attribute). In some contexts, for example +tables, where extra markup would be structurally illegal, the class +attribute will be added to the appropriate container element. + +In general, the stylesheets only test for revisionflag in contexts +where an importing stylesheet would have to redefine whole templates. +Most of the revisionflag processing is expected to be done by another +stylesheet, for example changebars.xsl. + + + + + + +shade.verbatim +boolean + + +shade.verbatim +Should verbatim environments be shaded? + + + +<xsl:param name="shade.verbatim" select="0"></xsl:param> + + +Description + +In the FO stylesheet, if this parameter is non-zero then the +shade.verbatim.style properties will be applied +to verbatim environments. + +In the HTML stylesheet, this parameter is now deprecated. Use +CSS instead. + + + + + + +shade.verbatim.style +attribute set + + +shade.verbatim.style +Properties that specify the style of shaded verbatim listings + + + + +<xsl:attribute-set name="shade.verbatim.style"> + <xsl:attribute name="border">0</xsl:attribute> + <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute> +</xsl:attribute-set> + + + + +Description + +Properties that specify the style of shaded verbatim listings. The +parameters specified (the border and background color) are added to +the styling of the xsl-fo output. A border might be specified as "thin +black solid" for example. See xsl-fo + + + + + + +punct.honorific +string + + +punct.honorific +Punctuation after an honorific in a personal name. + + + + +<xsl:param name="punct.honorific">.</xsl:param> + + + +Description + +This parameter specifies the punctuation that should be added after an +honorific in a personal name. + + + + + + +tex.math.in.alt +list +plain +latex + + +tex.math.in.alt +TeX notation used for equations + + + + +<xsl:param name="tex.math.in.alt"></xsl:param> + + + +Description + +If you want type math directly in TeX notation in equations, +this parameter specifies notation used. Currently are supported two +values -- plain and latex. Empty +value means that you are not using TeX math at all. + +Preferred way for including TeX alternative of math is inside of +textobject element. Eg.: + +<inlineequation> +<inlinemediaobject> +<imageobject> +<imagedata fileref="eq1.gif"/> +</imageobject> +<textobject><phrase>E=mc squared</phrase></textobject> +<textobject role="tex"><phrase>E=mc^2</phrase></textobject> +</inlinemediaobject> +</inlineequation> + +If you are using graphic element, you can +store TeX inside alt element: + +<inlineequation> +<alt role="tex">a^2+b^2=c^2</alt> +<graphic fileref="a2b2c2.gif"/> +</inlineequation> + +If you want use this feature, you should process your FO with +PassiveTeX, which only supports TeX math notation. When calling +stylsheet, don't forget to specify also +passivetex.extensions=1. + +If you want equations in HTML, just process generated file +tex-math-equations.tex by TeX or LaTeX. Then run +dvi2bitmap program on result DVI file. You will get images for +equations in your document. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + +Related Parameters + tex.math.delims, + passivetex.extensions, + tex.math.file + + + + + + +tex.math.file +string + + +tex.math.file +Name of temporary file for generating images from equations + + + + +<xsl:param name="tex.math.file">tex-math-equations.tex</xsl:param> + + + +Description + +Name of auxiliary file for TeX equations. This file can be +processed by dvi2bitmap to get bitmap versions of equations for HTML +output. + + +Related Parameters + tex.math.in.alt, + tex.math.delims, + + +More information + For how-to documentation on embedding TeX equations and + generating output from them, see + DBTeXMath. + + + + + +tex.math.delims +boolean + + +tex.math.delims +Should equations output for processing by TeX be +surrounded by math mode delimiters? + + + + +<xsl:param name="tex.math.delims" select="1"></xsl:param> + + + +Description + +For compatibility with DSSSL based DBTeXMath from Allin Cottrell +you should set this parameter to 0. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + +Related Parameters + tex.math.in.alt, + passivetex.extensions + + +See Also + You can also use the dbtex delims processing + instruction to control whether delimiters are output. + + + + + + + +pixels.per.inch +integer + + +pixels.per.inch +How many pixels are there per inch? + + + + +<xsl:param name="pixels.per.inch">90</xsl:param> + + + +Description + +When lengths are converted to pixels, this value is used to +determine the size of a pixel. The default value is taken from the +XSL +Recommendation. + + + + + + + +points.per.em +number + + +points.per.em +Specify the nominal size of an em-space in points + + + + +<xsl:param name="points.per.em">10</xsl:param> + + + +Description + +The fixed value used for calculations based upon the size of a +character. The assumption made is that ten point font is in use. This +assumption may not be valid. + + + + + + +use.svg +boolean + + +use.svg +Allow SVG in the result tree? + + + + +<xsl:param name="use.svg" select="1"></xsl:param> + + + +Description + +If non-zero, SVG will be considered an acceptable image format. SVG +is passed through to the result tree, so correct rendering of the resulting +diagram depends on the formatter (FO processor or web browser) that is used +to process the output from the stylesheet. + + + + + + +menuchoice.separator +string + + +menuchoice.separator +Separator between items of a menuchoice +other than guimenuitem and +guisubmenu + + + + +<xsl:param name="menuchoice.separator">+</xsl:param> + + + +Description + +Separator used to connect items of a menuchoice other +than guimenuitem and guisubmenu. The latter +elements are linked with menuchoice.menu.separator. + + + + + + + +menuchoice.menu.separator +string + + +menuchoice.menu.separator +Separator between items of a menuchoice +with guimenuitem or +guisubmenu + + + + +<xsl:param name="menuchoice.menu.separator"> → </xsl:param> + + + +Description + +Separator used to connect items of a menuchoice with +guimenuitem or guisubmenu. Other elements +are linked with menuchoice.separator. + +The default value is &#x2192;, which is the +&rarr; (right arrow) character entity. +The current FOP (0.20.5) requires setting the font-family +explicitly. + +The default value also includes spaces around the arrow, +which will allow a line to break. Replace the spaces with +&#xA0; (nonbreaking space) if you don't want those +spaces to break. + + + + + + + +default.float.class +string + + +default.float.class +Specifies the default float class + + + + +<xsl:param name="default.float.class"> + <xsl:choose> + <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when> + <xsl:otherwise>before</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +Selects the direction in which a float should be placed. for +xsl-fo this is before, for html it is left. For Western texts, the +before direction is the top of the page. + + + + + + +footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +footnote.number.format +Identifies the format used for footnote numbers + + + + +<xsl:param name="footnote.number.format">1</xsl:param> + + + +Description + +The footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A). + + + + + + +table.footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +table.footnote.number.format +Identifies the format used for footnote numbers in tables + + + + +<xsl:param name="table.footnote.number.format">a</xsl:param> + + + +Description + +The table.footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A) in tables. + + + + + + +footnote.number.symbols + + + +footnote.number.symbols +Special characters to use as footnote markers + + + + +<xsl:param name="footnote.number.symbols"></xsl:param> + + + +Description + +If footnote.number.symbols is not the empty string, +footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +table.footnote.number.symbols +string + + +table.footnote.number.symbols +Special characters to use a footnote markers in tables + + + + +<xsl:param name="table.footnote.number.symbols"></xsl:param> + + + +Description + +If table.footnote.number.symbols is not the empty string, +table footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, , , +, and . If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +table.footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + + + + +highlight.source +boolean + + +highlight.source +Should the content of programlisting +be syntactically highlighted? + + + + +<xsl:param name="highlight.source" select="0"></xsl:param> + + + +Description + +When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the +content of programlisting elements. You specify the language for each programlisting +by using the language attribute. The highlight.default.language +parameter can be used to specify the language for programlistings without a language +attribute. Syntax highlighting also works for screen and synopsis elements. + +The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be +downloaded separately (see below). + + +In order to use this extension, you must + +add xslthl-2.x.x.jar to your Java classpath. The latest version is available +from the XSLT syntax highlighting project +at SourceForge. + + +use a customization layer in which you import one of the following stylesheet modules: + + + html/highlight.xsl + + + + xhtml/highlight.xsl + + + + xhtml-1_1/highlight.xsl + + + + fo/highlight.xsl + + + + + +let either the xslthl.config Java system property or the +highlight.xslthl.config parameter point to the configuration file for syntax +highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file, +highlighting/xslthl-config.xml. + + + +The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is +an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.) + +The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows: + + +java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar +-Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet +-o test.html test.xml myhtml.xsl + + + + + + + +highlight.xslthl.config +uri + + +highlight.xslthl.config +Location of XSLTHL configuration file + + + + +<xsl:param name="highlight.xslthl.config"></xsl:param> + + + +Description + +This location has precedence over the corresponding Java property. + +Please note that usually you have to specify location as URL not +just as a simple path on the local +filesystem. E.g. file:///home/user/xslthl/my-xslthl-config.xml. + + + + + + + + +highlight.default.language +string + + +highlight.default.language +Default language of programlisting + + + + +<xsl:param name="highlight.default.language"></xsl:param> + + + +Description + +This language is used when there is no language attribute on programlisting. + + + + + + +email.delimiters.enabled +boolean + + +email.delimiters.enabled +Generate delimiters around email addresses? + + + + +<xsl:param name="email.delimiters.enabled" select="1"></xsl:param> + + + +Description + +If non-zero, delimiters + +For delimiters, the +stylesheets are currently hard-coded to output angle +brackets. + +are generated around e-mail addresses +(the output of the email element). + + + + + + +exsl.node.set.available +boolean + + +exsl.node.set.available +Is the test function-available('exsl:node-set') true? + + + +<xsl:param name="exsl.node.set.available"> + <xsl:choose> + <xsl:when exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when> + <xsl:otherwise>0</xsl:otherwise> + </xsl:choose> +</xsl:param> + + + +Description + +If non-zero, +then the exsl:node-set() function is available to be used in +the stylesheet. +If zero, then the function is not available. +This param automatically detects the presence of +the function and does not normally need to be set manually. + +This param was created to handle a long-standing +bug in the Xalan processor that fails to detect the +function even though it is available. + + + + + +Annotations + + +annotation.support +boolean + + +annotation.support +Enable annotations? + + + + +<xsl:param name="annotation.support" select="0"></xsl:param> + + + +Description + +If non-zero, the stylesheets will attempt to support annotation +elements in HTML by including some JavaScript (see +annotation.js). + + + + + + +annotation.js +string + + +annotation.js +URIs identifying JavaScript files with support for annotation popups + + + + + +<xsl:param name="annotation.js"> +<xsl:text>http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js</xsl:text></xsl:param> + + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the URIs listed +in this parameter will be included. These JavaScript files are required +for popup annotation support. + + + + + + +annotation.css +string + + +annotation.css +CSS rules for annotations + + + + +<xsl:param name="annotation.css"> +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } +</xsl:param> + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the CSS in this +parameter will be included in the document. + + + + + + +annotation.graphic.open +uri + + +annotation.graphic.open +Image for identifying a link that opens an annotation popup + + + + +<xsl:param name="annotation.graphic.open">http://docbook.sourceforge.net/release/images/annot-open.png</xsl:param> + + + +Description + +This image is used inline to identify the location of +annotations. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + + + + +annotation.graphic.close +uri + + +annotation.graphic.close +Image for identifying a link that closes an annotation popup + + + + +<xsl:param name="annotation.graphic.close"> +http://docbook.sourceforge.net/release/images/annot-close.png</xsl:param> + + + +Description + +This image is used on popup annotations as the “x” that the +user can click to dismiss the popup. +This image is used on popup annotations as the “x” that the user can +click to dismiss the popup. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + + + +Graphics + + +img.src.path +string + + +img.src.path +Path to HTML/FO image files + + + +<xsl:param name="img.src.path"></xsl:param> + + +Description + +Add a path prefix to the value of the fileref +attribute of graphic, inlinegraphic, and imagedata elements. The resulting +compound path is used in the output as the value of the src +attribute of img (HTML) or external-graphic (FO). + + + +The path given by img.src.path could be relative to the directory where the HTML/FO +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + + + + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + +<xsl:param name="keep.relative.image.uris" select="1"></xsl:param> + + + + +Description + +If non-zero, relative URIs (in, for example +fileref attributes) will be used in the generated +output. Otherwise, the URIs will be made absolute with respect to the +base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + + + + + +graphic.default.extension +string + + +graphic.default.extension +Default extension for graphic filenames + + + +<xsl:param name="graphic.default.extension"></xsl:param> + + +Description + +If a graphic or mediaobject +includes a reference to a filename that does not include an extension, +and the format attribute is +unspecified, the default extension will be used. + + + + + + + +default.image.width +length + + +default.image.width +The default width of images + + + + +<xsl:param name="default.image.width"></xsl:param> + + + +Description + +If specified, this value will be used for the +width attribute on images that do not specify any +viewport dimensions. + + + + + + +nominal.image.width +length + + +nominal.image.width +The nominal image width + + + + +<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"></xsl:param> + + + +Description + +Graphic widths expressed as a percentage are problematic. In the +following discussion, we speak of width and contentwidth, but +the same issues apply to depth and contentdepth. + +A width of 50% means "half of the available space for the image." +That's fine. But note that in HTML, this is a dynamic property and +the image size will vary if the browser window is resized. + +A contentwidth of 50% means "half of the actual image width". +But what does that mean if the stylesheets cannot assess the image's +actual size? Treating this as a width of 50% is one possibility, but +it produces behavior (dynamic scaling) that seems entirely out of +character with the meaning. + +Instead, the stylesheets define a +nominal.image.width and convert percentages to +actual values based on that nominal size. + + + + + + +nominal.image.depth +length + + +nominal.image.depth +Nominal image depth + + + + +<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"></xsl:param> + + + +Description + +See nominal.image.width. + + + + + + +use.embed.for.svg +boolean + + +use.embed.for.svg +Use HTML embed for SVG? + + + + +<xsl:param name="use.embed.for.svg" select="0"></xsl:param> + + + +Description + +If non-zero, an embed element will be created for +SVG figures. An object is always created, +this parameter merely controls whether or not an additional embed +is generated inside the object. + +On the plus side, this may be more portable among browsers and plug-ins. +On the minus side, it isn't valid HTML. + + + + + + +make.graphic.viewport +boolean + + +make.graphic.viewport +Use tables in HTML to make viewports for graphics + + + + +<xsl:param name="make.graphic.viewport" select="1"></xsl:param> + + + +Description + +The HTML img element only supports the notion +of content-area scaling; it doesn't support the distinction between a +content-area and a viewport-area, so we have to make some compromises. + +If make.graphic.viewport is non-zero, a table +will be used to frame the image. This creates an effective viewport-area. + + +Tables and alignment don't work together, so this parameter is ignored +if alignment is specified on an image. + + + + + +preferred.mediaobject.role +string + + +preferred.mediaobject.role +Select which mediaobject to use based on +this value of an object's role attribute. + + + + + +<xsl:param name="preferred.mediaobject.role"></xsl:param> + + + +Description + +A mediaobject may contain several objects such as imageobjects. +If the parameter use.role.for.mediaobject is +non-zero, then the role attribute on +imageobjects and other objects within a +mediaobject container will be used to select which object +will be used. If one of the objects has a role value that matches the +preferred.mediaobject.role parameter, then it +has first priority for selection. If more than one has such a role +value, the first one is used. + + +See the use.role.for.mediaobject parameter +for the sequence of selection. + + + + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + +<xsl:param name="use.role.for.mediaobject" select="1"></xsl:param> + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + + + + +ignore.image.scaling +boolean + + +ignore.image.scaling +Tell the stylesheets to ignore the author's image scaling attributes + + + + +<xsl:param name="ignore.image.scaling" select="0"></xsl:param> + + + +Description + +If non-zero, the scaling attributes on graphics and media objects are +ignored. + + + + + +Chunking + + +chunker.output.cdata-section-elements +string + + +chunker.output.cdata-section-elements +List of elements to escape with CDATA sections + + + +<xsl:param name="chunker.output.cdata-section-elements"></xsl:param> + + +Description +This parameter specifies the list of elements that should be escaped +as CDATA sections by the chunking stylesheet. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.doctype-public +string + + +chunker.output.doctype-public +Public identifer to use in the document type of generated pages + + + +<xsl:param name="chunker.output.doctype-public"></xsl:param> + + +Description +This parameter specifies the public identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.doctype-system +uri + + +chunker.output.doctype-system +System identifier to use for the document type in generated pages + + + +<xsl:param name="chunker.output.doctype-system"></xsl:param> + + +Description +This parameter specifies the system identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.encoding +string + + +chunker.output.encoding +Encoding used in generated pages + + + +<xsl:param name="chunker.output.encoding">ISO-8859-1</xsl:param> + + +Description +This parameter specifies the encoding to be used in files +generated by the chunking stylesheet. Not all processors support +specification of this parameter. + +This parameter used to be named default.encoding. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.indent +string + + +chunker.output.indent +Specification of indentation on generated pages + + + +<xsl:param name="chunker.output.indent">no</xsl:param> + + +Description +This parameter specifies the value of the indent +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.media-type +string + + +chunker.output.media-type +Media type to use in generated pages + + + +<xsl:param name="chunker.output.media-type"></xsl:param> + + +Description +This parameter specifies the media type that should be used by +the chunking stylesheet. Not all processors support specification of +this parameter. + +This parameter specifies the media type that should be used by the +chunking stylesheet. This should be one from those defined in +[RFC2045] and + [RFC2046] + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. +It must be one from html, xml or text + + + + + + +chunker.output.method +list +html +xml + + +chunker.output.method +Method used in generated pages + + + +<xsl:param name="chunker.output.method">html</xsl:param> + + +Description +This parameter specifies the output method to be used in files +generated by the chunking stylesheet. + +This parameter used to be named output.method. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.omit-xml-declaration +string + + +chunker.output.omit-xml-declaration +Omit-xml-declaration for generated pages + + + +<xsl:param name="chunker.output.omit-xml-declaration">no</xsl:param> + + +Description +This parameter specifies the value of the omit-xml-declaration +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +chunker.output.standalone +string + + +chunker.output.standalone +Standalone declaration for generated pages + + + +<xsl:param name="chunker.output.standalone">no</xsl:param> + + +Description +This parameter specifies the value of the standalone + specification for generated pages. It must be either + yes or no. Not all + processors support specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + +saxon.character.representation +string + + +saxon.character.representation +Saxon character representation used in generated HTML pages + + + + <xsl:param name="saxon.character.representation" select="'entity;decimal'"></xsl:param> + + +Description + +This parameter has effect only when Saxon 6 is used (version 6.4.2 or later). +It sets the character representation in files generated by the chunking stylesheets. +If you want to suppress entity references for characters with direct representations in +chunker.output.encoding, set the parameter value to native. + + + For more information, see Saxon output character representation. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + + + + +html.ext +string + + +html.ext +Identifies the extension of generated HTML files + + + + +<xsl:param name="html.ext">.html</xsl:param> + + + +Description + +The extension identified by html.ext will +be used as the filename extension for chunks created by this +stylesheet. + + + + + + +use.id.as.filename +boolean + + +use.id.as.filename +Use ID value of chunk elements as the filename? + + + + +<xsl:param name="use.id.as.filename" select="0"></xsl:param> + + + +Description + +If use.id.as.filename +is non-zero, the filename of chunk elements that have IDs will be +derived from the ID value. + + + + + + + +html.extra.head.links +boolean + + +html.extra.head.links +Toggle extra HTML head link information + + + + +<xsl:param name="html.extra.head.links" select="0"></xsl:param> + + + +Description + +If non-zero, extra link elements will be +generated in the head of chunked HTML files. These +extra links point to chapters, appendixes, sections, etc. as supported +by the Site Navigation Bar in Mozilla 1.0 (as of CR1, at least). + + + + + + + +root.filename +uri + + +root.filename +Identifies the name of the root HTML file when chunking + + + + +<xsl:param name="root.filename">index</xsl:param> + + + +Description + +The root.filename is the base filename for +the chunk created for the root of each document processed. + + + + + + + +base.dir +uri + + +base.dir +The base directory of chunks + + + + +<xsl:param name="base.dir"></xsl:param> + + + +Description + +If specified, the base.dir parameter identifies +the output directory for chunks. (If not specified, the output directory +is system dependent.) + +Starting with version 1.77 of the stylesheets, +the param's value will have a trailing slash added if it does +not already have one. + +Do not use base.dir +to add a filename prefix string to chunked files. +Instead, use the chunked.filename.prefix +parameter. + + + + + + +chunked.filename.prefix +string + + +chunked.filename.prefix +Filename prefix for chunked files + + + + +<xsl:param name="chunked.filename.prefix"></xsl:param> + + + +Description + +If specified, the chunked.filename.prefix +parameter specifies a prefix string to add to each generated chunk filename. +For example: +<xsl:param name="chunked.filename.prefix">admin-<xsl:param> +will produce chunked filenames like: +admin-index.html +admin-ch01.html +admin-ch01s01.html +... + + +Trying to use the base.dir +parameter to add a string prefix (by omitting the trailing slash) +no longer works (it never worked completely anyway). That parameter +value should contain only a directory path, and +now gets a trailing slash appended if it was omitted from the param. + + + + + + generate.manifest + boolean + + + generate.manifest + Generate a manifest file? + + + + <xsl:param name="generate.manifest" select="0"></xsl:param> + + + Description + + If non-zero, a list of HTML files generated by the + stylesheet transformation is written to the file named by + the manifest parameter. + + + + + + + manifest + string + + + manifest + Name of manifest file + + + + + <xsl:param name="manifest">HTML.manifest</xsl:param> + + + + Description + + The name of the file to which a manifest is written (if the + value of the generate.manifest parameter + is non-zero). + + + + + + +manifest.in.base.dir +boolean + + +manifest.in.base.dir +Should the manifest file be written into base.dir? + + + + +<xsl:param name="manifest.in.base.dir" select="0"></xsl:param> + + + +Description + +If non-zero, the manifest file as well as project files for HTML Help and +Eclipse Help are written into base.dir instead +of the current directory. + + + + + + +chunk.toc +string + + +chunk.toc +An explicit TOC to be used for chunking + + + + +<xsl:param name="chunk.toc"></xsl:param> + + + +Description + +The chunk.toc identifies an explicit TOC that +will be used for chunking. This parameter is only used by the +chunktoc.xsl stylesheet (and customization layers built +from it). + + + + + + +chunk.tocs.and.lots +boolean + + +chunk.tocs.and.lots +Should ToC and LoTs be in separate chunks? + + + + +<xsl:param name="chunk.tocs.and.lots" select="0"></xsl:param> + + + +Description + +If non-zero, ToC and LoT (List of Examples, List of Figures, etc.) +will be put in a separate chunk. At the moment, this chunk is not in the +normal forward/backward navigation list. Instead, a new link is added to the +navigation footer. + +This feature is still somewhat experimental. Feedback welcome. + + + + + + +chunk.separate.lots +boolean + + +chunk.separate.lots +Should each LoT be in its own separate chunk? + + + + +<xsl:param name="chunk.separate.lots" select="0"></xsl:param> + + + +Description + +If non-zero, each of the ToC and LoTs +(List of Examples, List of Figures, etc.) +will be put in its own separate chunk. +The title page includes generated links to each of the separate files. + + +This feature depends on the +chunk.tocs.and.lots +parameter also being non-zero. + + + + + + + +chunk.tocs.and.lots.has.title +boolean + + +chunk.tocs.and.lots.has.title +Should ToC and LoTs in a separate chunks have title? + + + + +<xsl:param name="chunk.tocs.and.lots.has.title" select="1"></xsl:param> + + + +Description + +If non-zero title of document is shown before ToC/LoT in +separate chunk. + + + + + + +chunk.section.depth +integer + + +chunk.section.depth +Depth to which sections should be chunked + + + + +<xsl:param name="chunk.section.depth" select="1"></xsl:param> + + + +Description + +This parameter sets the depth of section chunking. + + + + + + +chunk.first.sections +boolean + + +chunk.first.sections +Chunk the first top-level section? + + + + +<xsl:param name="chunk.first.sections" select="0"></xsl:param> + + + +Description + +If non-zero, a chunk will be created for the first top-level +sect1 or section elements in +each component. Otherwise, that section will be part of the chunk for +its parent. + + + + + + + +chunk.quietly +boolean + + +chunk.quietly +Omit the chunked filename messages. + + + + +<xsl:param name="chunk.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), the XSL processor emits a message naming +each separate chunk filename as it is being output. +If nonzero, then the messages are suppressed. + + + + + + + +chunk.append +string + + +chunk.append +Specifies content to append to chunked HTML output + + + +<xsl:param name="chunk.append"></xsl:param> + + +Description + +Specifies content to append to the end of HTML files output by +the html/chunk.xsl stylesheet, after the closing +<html> tag. You probably don’t want to set any value +for this parameter; but if you do, the only value it should ever be +set to is a newline character: &#x0a; or +&#10; + + + + + + +navig.graphics +boolean + + +navig.graphics +Use graphics in navigational headers and footers? + + + + +<xsl:param name="navig.graphics" select="0"></xsl:param> + + + +Description + +If non-zero, the navigational headers and footers in chunked +HTML are presented in an alternate style that uses graphical icons for +Next, Previous, Up, and Home. Default graphics are provided in the +distribution. If zero, text is used instead of graphics. + + + + + + + +navig.graphics.extension +string + + +navig.graphics.extension +Extension for navigational graphics + + + + +<xsl:param name="navig.graphics.extension">.gif</xsl:param> + + + +Description + +Sets the filename extension to use on navigational graphics used +in the headers and footers of chunked HTML. + + + + + + +navig.graphics.path +string + + +navig.graphics.path +Path to navigational graphics + + + + +<xsl:param name="navig.graphics.path">images/</xsl:param> + + + +Description + +Sets the path, probably relative to the directory where the HTML +files are created, to the navigational graphics used in the +headers and footers of chunked HTML. + + + + + + + +navig.showtitles +boolean + + +navig.showtitles +Display titles in HTML headers and footers? + + + +<xsl:param name="navig.showtitles">1</xsl:param> + + +Description + +If non-zero, +the headers and footers of chunked HTML +display the titles of the next and previous chunks, +along with the words 'Next' and 'Previous' (or the +equivalent graphical icons if navig.graphics is true). +If false (zero), then only the words 'Next' and 'Previous' +(or the icons) are displayed. + + + + + + +Profiling + +The following parameters can be used for attribute-based +profiling of your document. For more information about profiling, see +Profiling (conditional text). + + + +profile.arch +string + + +profile.arch +Target profile for arch +attribute + + + + +<xsl:param name="profile.arch"></xsl:param> + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.audience +string + + +profile.audience +Target profile for audience +attribute + + + + +<xsl:param name="profile.audience"></xsl:param> + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.condition +string + + +profile.condition +Target profile for condition +attribute + + + + +<xsl:param name="profile.condition"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.conformance +string + + +profile.conformance +Target profile for conformance +attribute + + + + +<xsl:param name="profile.conformance"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.lang +string + + +profile.lang +Target profile for lang +attribute + + + + +<xsl:param name="profile.lang"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.os +string + + +profile.os +Target profile for os +attribute + + + + +<xsl:param name="profile.os"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revision +string + + +profile.revision +Target profile for revision +attribute + + + + +<xsl:param name="profile.revision"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.revisionflag +string + + +profile.revisionflag +Target profile for revisionflag +attribute + + + + +<xsl:param name="profile.revisionflag"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.role +string + + +profile.role +Target profile for role +attribute + + + + +<xsl:param name="profile.role"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +<emphasis role="bold">very important</emphasis> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, etc. + + + + + + + +profile.security +string + + +profile.security +Target profile for security +attribute + + + + +<xsl:param name="profile.security"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + +<xsl:param name="profile.status"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.userlevel +string + + +profile.userlevel +Target profile for userlevel +attribute + + + + +<xsl:param name="profile.userlevel"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.vendor +string + + +profile.vendor +Target profile for vendor +attribute + + + + +<xsl:param name="profile.vendor"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.wordsize +string + + +profile.wordsize +Target profile for wordsize +attribute + + + + +<xsl:param name="profile.wordsize"></xsl:param> + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.attribute +string + + +profile.attribute +Name of user-specified profiling attribute + + + + +<xsl:param name="profile.attribute"></xsl:param> + + + +Description + +This parameter is used in conjuction with +profile.value. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.value +string + + +profile.value +Target profile for user-specified attribute + + + + +<xsl:param name="profile.value"></xsl:param> + + + +Description + +When you are using this parameter you must also specify name of +profiling attribute with parameter +profile.attribute. + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + + + + +profile.separator +string + + +profile.separator +Separator character for compound profile values + + + + +<xsl:param name="profile.separator">;</xsl:param> + + + +Description + +Separator character used for compound profile values. See profile.arch + + + + + +HTML Help + + +htmlhelp.encoding +string + + +htmlhelp.encoding +Character encoding to use in files for HTML Help compiler. + + + + +<xsl:param name="htmlhelp.encoding">iso-8859-1</xsl:param> + + + +Description + +The HTML Help Compiler is not UTF-8 aware, so you should always use an +appropriate single-byte encoding here. See also Processing options. + + + + + + +htmlhelp.autolabel +boolean + + +htmlhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="htmlhelp.autolabel" select="0"></xsl:param> + + + +Description + +Set this to non-zero to include chapter and section numbers into ToC +in the left panel. + + + + + + +htmlhelp.chm +string + + +htmlhelp.chm +Filename of output HTML Help file. + + + + +<xsl:param name="htmlhelp.chm">htmlhelp.chm</xsl:param> + + + +Description + +Set the name of resulting CHM file + + + + + + +htmlhelp.default.topic +string + + +htmlhelp.default.topic +Name of file with default topic + + + + +<xsl:param name="htmlhelp.default.topic"></xsl:param> + + + +Description + +Normally first chunk of document is displayed when you open HTML +Help file. If you want to display another topic, simply set its +filename by this parameter. + +This is useful especially if you don't generate ToC in front of +your document and you also hide root element in ToC. E.g.: + +<xsl:param name="generate.book.toc" select="0"/> +<xsl:param name="htmlhelp.hhc.show.root" select="0"/> +<xsl:param name="htmlhelp.default.topic">pr01.html</xsl:param> + + + + + + + +htmlhelp.display.progress +boolean + + +htmlhelp.display.progress +Display compile progress? + + + + +<xsl:param name="htmlhelp.display.progress" select="1"></xsl:param> + + + +Description + +Set to non-zero to to display compile progress + + + + + + + +htmlhelp.hhp +string + + +htmlhelp.hhp +Filename of project file. + + + + +<xsl:param name="htmlhelp.hhp">htmlhelp.hhp</xsl:param> + + + +Description + +Change this parameter if you want different name of project +file than htmlhelp.hhp. + + + + + + +htmlhelp.hhc +string + + +htmlhelp.hhc +Filename of TOC file. + + + + +<xsl:param name="htmlhelp.hhc">toc.hhc</xsl:param> + + + +Description + +Set the name of the TOC file. The default is toc.hhc. + + + + + + +htmlhelp.hhk +string + + +htmlhelp.hhk +Filename of index file. + + + + +<xsl:param name="htmlhelp.hhk">index.hhk</xsl:param> + + + +Description + +set the name of the index file. The default is index.hhk. + + + + + + +htmlhelp.hhp.tail +string + + +htmlhelp.hhp.tail +Additional content for project file. + + + + +<xsl:param name="htmlhelp.hhp.tail"></xsl:param> + + + +Description + +If you want to include some additional parameters into project file, +store appropriate part of project file into this parameter. + + + + + + +htmlhelp.hhp.window +string + + +htmlhelp.hhp.window +Name of default window. + + + + +<xsl:param name="htmlhelp.hhp.window">Main</xsl:param> + + + +Description + +Name of default window. If empty no [WINDOWS] section will be +added to project file. + + + + + + +htmlhelp.hhp.windows +string + + +htmlhelp.hhp.windows +Definition of additional windows + + + + +<xsl:param name="htmlhelp.hhp.windows"></xsl:param> + + + +Description + +Content of this parameter is placed at the end of [WINDOWS] +section of project file. You can use it for defining your own +addtional windows. + + + + + + +htmlhelp.enhanced.decompilation +boolean + + +htmlhelp.enhanced.decompilation +Allow enhanced decompilation of CHM? + + + + +<xsl:param name="htmlhelp.enhanced.decompilation" select="0"></xsl:param> + + + +Description + +When non-zero this parameter enables enhanced decompilation of CHM. + + + + + + +htmlhelp.enumerate.images +boolean + + +htmlhelp.enumerate.images +Should the paths to all used images be added to the project file? + + + + +<xsl:param name="htmlhelp.enumerate.images" select="0"></xsl:param> + + + +Description + +Set to non-zero if you insert images into your documents as +external binary entities or if you are using absolute image paths. + + + + + + +htmlhelp.force.map.and.alias +boolean + + +htmlhelp.force.map.and.alias +Should [MAP] and [ALIAS] sections be added to the project file unconditionally? + + + +<xsl:param name="htmlhelp.force.map.and.alias" select="0"></xsl:param> + + +Description + Set to non-zero if you have your own + alias.h and context.h + files and you want to include references to them in the project + file. + + + + + +htmlhelp.map.file +string + + +htmlhelp.map.file +Filename of map file. + + + +<xsl:param name="htmlhelp.map.file">context.h</xsl:param> + + +Description +Set the name of map file. The default is + context.h. (used for context-sensitive + help). + + + + + +htmlhelp.alias.file +string + + +htmlhelp.alias.file +Filename of alias file. + + + + +<xsl:param name="htmlhelp.alias.file">alias.h</xsl:param> + + + +Description + +Specifies the filename of the alias file (used for context-sensitive help). + + + + + + +htmlhelp.hhc.section.depth +integer + + +htmlhelp.hhc.section.depth +Depth of TOC for sections in a left pane. + + + + +<xsl:param name="htmlhelp.hhc.section.depth">5</xsl:param> + + + +Description + +Set the section depth in the left pane of HTML Help viewer. + + + + + + +htmlhelp.hhc.show.root +boolean + + +htmlhelp.hhc.show.root +Should there be an entry for the root element in the ToC? + + + + +<xsl:param name="htmlhelp.hhc.show.root" select="1"></xsl:param> + + + +Description + +If set to zero, there will be no entry for the root element in the +ToC. This is useful when you want to provide the user with an expanded +ToC as a default. + + + + + + +htmlhelp.hhc.folders.instead.books +boolean + + +htmlhelp.hhc.folders.instead.books +Use folder icons in ToC (instead of book icons)? + + + + +<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"></xsl:param> + + + +Description + +Set to non-zero for folder-like icons or zero for book-like icons in the ToC. +If you want to use folder-like icons, you must switch off the binary ToC using +htmlhelp.hhc.binary. + + + + + + + + +htmlhelp.hhc.binary +boolean + + +htmlhelp.hhc.binary +Generate binary ToC? + + + + +<xsl:param name="htmlhelp.hhc.binary" select="1"></xsl:param> + + + +Description + +Set to non-zero to generate a binary TOC. You must create a binary TOC +if you want to add Prev/Next buttons to toolbar (which is default +behaviour). Files with binary TOC can't be merged. + + + + + + +htmlhelp.hhc.width +integer + + +htmlhelp.hhc.width +Width of navigation pane + + + + +<xsl:param name="htmlhelp.hhc.width"></xsl:param> + + + +Description + +This parameter specifies the width of the navigation pane (containing TOC and +other navigation tabs) in pixels. + + + + + + +htmlhelp.title +string + + +htmlhelp.title +Title of HTML Help + + + + +<xsl:param name="htmlhelp.title"></xsl:param> + + + +Description + +Content of this parameter will be used as a title for generated +HTML Help. If empty, title will be automatically taken from document. + + + + + + +htmlhelp.show.menu +boolean + + +htmlhelp.show.menu +Should the menu bar be shown? + + + + +<xsl:param name="htmlhelp.show.menu" select="0"></xsl:param> + + + +Description + +Set to non-zero to have an application menu bar in your HTML Help window. + + + + + + + +htmlhelp.show.toolbar.text +boolean + + +htmlhelp.show.toolbar.text +Show text under toolbar buttons? + + + + +<xsl:param name="htmlhelp.show.toolbar.text" select="1"></xsl:param> + + + +Description + +Set to non-zero to display texts under toolbar buttons, zero to switch +off displays. + + + + + + +htmlhelp.show.advanced.search +boolean + + +htmlhelp.show.advanced.search +Should advanced search features be available? + + + + +<xsl:param name="htmlhelp.show.advanced.search" select="0"></xsl:param> + + + +Description + +If you want advanced search features in your help, turn this +parameter to 1. + + + + + + +htmlhelp.show.favorities +boolean + + +htmlhelp.show.favorities +Should the Favorites tab be shown? + + + + +<xsl:param name="htmlhelp.show.favorities" select="0"></xsl:param> + + + +Description + +Set to non-zero to include a Favorites tab in the navigation pane +of the help window. + + + + + + +htmlhelp.button.hideshow +boolean + + +htmlhelp.button.hideshow +Should the Hide/Show button be shown? + + + + +<xsl:param name="htmlhelp.button.hideshow" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + + + + +htmlhelp.button.back +boolean + + +htmlhelp.button.back +Should the Back button be shown? + + + + +<xsl:param name="htmlhelp.button.back" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + + + + +htmlhelp.button.forward +boolean + + +htmlhelp.button.forward +Should the Forward button be shown? + + + + +<xsl:param name="htmlhelp.button.forward" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Forward button on the toolbar. + + + + + + +htmlhelp.button.stop +boolean + + +htmlhelp.button.stop +Should the Stop button be shown? + + + + +<xsl:param name="htmlhelp.button.stop" select="0"></xsl:param> + + + +Description + +If you want Stop button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.refresh +boolean + + +htmlhelp.button.refresh +Should the Refresh button be shown? + + + + +<xsl:param name="htmlhelp.button.refresh" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Stop button on the toolbar. + + + + + + +htmlhelp.button.home +boolean + + +htmlhelp.button.home +Should the Home button be shown? + + + + +<xsl:param name="htmlhelp.button.home" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Home button on the toolbar. + + + + + + +htmlhelp.button.home.url +string + + +htmlhelp.button.home.url +URL address of page accessible by Home button + + + + +<xsl:param name="htmlhelp.button.home.url"></xsl:param> + + + +Description + +URL address of page accessible by Home button. + + + + + + +htmlhelp.button.options +boolean + + +htmlhelp.button.options +Should the Options button be shown? + + + + +<xsl:param name="htmlhelp.button.options" select="1"></xsl:param> + + + +Description + +If you want Options button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.print +boolean + + +htmlhelp.button.print +Should the Print button be shown? + + + + +<xsl:param name="htmlhelp.button.print" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Print button on the toolbar. + + + + + + + +htmlhelp.button.locate +boolean + + +htmlhelp.button.locate +Should the Locate button be shown? + + + + +<xsl:param name="htmlhelp.button.locate" select="0"></xsl:param> + + + +Description + +If you want Locate button shown on toolbar, turn this +parameter to 1. + + + + + + +htmlhelp.button.jump1 +boolean + + +htmlhelp.button.jump1 +Should the Jump1 button be shown? + + + +<xsl:param name="htmlhelp.button.jump1" select="0"></xsl:param> + + +Description + Set to non-zero to include the Jump1 button on the toolbar. + + + + + +htmlhelp.button.jump1.url +string + + +htmlhelp.button.jump1.url +URL address of page accessible by Jump1 button + + + + +<xsl:param name="htmlhelp.button.jump1.url"></xsl:param> + + + +Description + +URL address of page accessible by Jump1 button. + + + + + + +htmlhelp.button.jump1.title +string + + +htmlhelp.button.jump1.title +Title of Jump1 button + + + + +<xsl:param name="htmlhelp.button.jump1.title">User1</xsl:param> + + + +Description + +Title of Jump1 button. + + + + + + +htmlhelp.button.jump2 +boolean + + +htmlhelp.button.jump2 +Should the Jump2 button be shown? + + + + +<xsl:param name="htmlhelp.button.jump2" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Jump2 button on the toolbar. + + + + + + +htmlhelp.button.jump2.url +string + + +htmlhelp.button.jump2.url +URL address of page accessible by Jump2 button + + + + +<xsl:param name="htmlhelp.button.jump2.url"></xsl:param> + + + +Description + +URL address of page accessible by Jump2 button. + + + + + + +htmlhelp.button.jump2.title +string + + +htmlhelp.button.jump2.title +Title of Jump2 button + + + + +<xsl:param name="htmlhelp.button.jump2.title">User2</xsl:param> + + + +Description + +Title of Jump2 button. + + + + + + +htmlhelp.button.next +boolean + + +htmlhelp.button.next +Should the Next button be shown? + + + + +<xsl:param name="htmlhelp.button.next" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Next button on the toolbar. + + + + + + +htmlhelp.button.prev +boolean + + +htmlhelp.button.prev +Should the Prev button be shown? + + + + +<xsl:param name="htmlhelp.button.prev" select="1"></xsl:param> + + + +Description + +Set to non-zero to include the Prev button on the toolbar. + + + + + + + +htmlhelp.button.zoom +boolean + + +htmlhelp.button.zoom +Should the Zoom button be shown? + + + + +<xsl:param name="htmlhelp.button.zoom" select="0"></xsl:param> + + + +Description + +Set to non-zero to include the Zoom button on the toolbar. + + + + + + + +htmlhelp.remember.window.position +boolean + + +htmlhelp.remember.window.position +Remember help window position? + + + + +<xsl:param name="htmlhelp.remember.window.position" select="0"></xsl:param> + + + +Description + +Set to non-zero to remember help window position between starts. + + + + + + +htmlhelp.window.geometry +string + + +htmlhelp.window.geometry +Set initial geometry of help window + + + + +<xsl:param name="htmlhelp.window.geometry"></xsl:param> + + + +Description + +This parameter specifies initial position of help +window. E.g. + +<xsl:param name="htmlhelp.window.geometry">[160,64,992,704]</xsl:param> + + + + + + +htmlhelp.use.hhk +boolean + + +htmlhelp.use.hhk +Should the index be built using the HHK file? + + + + +<xsl:param name="htmlhelp.use.hhk" select="0"></xsl:param> + + + +Description + +If non-zero, the index is created using the HHK file (instead of using object +elements in the HTML files). For more information, see Generating an index. + + + + + +htmlhelp.only +boolean + + +htmlhelp.only +Should only project files be generated? + + + + +<xsl:param name="htmlhelp.only" select="0"></xsl:param> + + + +Description + + +Set to non-zero if you want to play with various HTML Help parameters +and you don't need to regenerate all HTML files. This setting will not +process whole document, only project files (hhp, hhc, hhk,...) will be +generated. + + + + + + +Eclipse Help Platform + + +eclipse.autolabel +boolean + + +eclipse.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="eclipse.autolabel" select="0"></xsl:param> + + + +Description + +If you want to include chapter and section numbers into ToC in +the left panel, set this parameter to 1. + + + + + + +eclipse.plugin.name +string + + +eclipse.plugin.name +Eclipse Help plugin name + + + + +<xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param> + + + +Description + +Eclipse Help plugin name. + + + + + + +eclipse.plugin.id +string + + +eclipse.plugin.id +Eclipse Help plugin id + + + + +<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param> + + + +Description + +Eclipse Help plugin id. You should change this id to something +unique for each help. + + + + + + +eclipse.plugin.provider +string + + +eclipse.plugin.provider +Eclipse Help plugin provider name + + + + +<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param> + + + +Description + +Eclipse Help plugin provider name. + + + + + +WebHelp + + +webhelp.autolabel +boolean + + +webhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + +<xsl:param name="webhelp.autolabel">0</xsl:param> + + + +Description +To include chapter and section numbers the table of contents pane, set this parameter to 1. + + + + + +webhelp.base.dir +string + + +webhelp.base.dir +The base directory for webhelp output. + + + + +<xsl:param name="webhelp.base.dir">docs</xsl:param> + + + +Description +If specified, the webhelp.base.dir +parameter identifies the output directory for webhelp. (If not +specified, the output directory is system dependent.) By default, this +parameter is set to docs. + + + + + + +webhelp.common.dir +string + + +webhelp.common.dir +Path to the directory for the common webhelp resources (JavaScript, css, common images, etc). + + + + +<xsl:param name="webhelp.common.dir">../common/</xsl:param> + + + +Description +By default, webhelp creates a common directory containing resources such as JavaScript files, css, common images, etc. In some cases you may prefer to store these files in a standard location on your site and point all webhelp documents to that location. You can use this parameter to control the urls written to these common resources. For example, you might set this parameter to /common and create a single common directory at the root of your web server. + + + + + +webhelp.default.topic +string + + +webhelp.default.topic +The name of the file to which the start file in the webhelp base directory redirects + + + + +<xsl:param name="webhelp.default.topic">index.html</xsl:param> + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The +webhelp.default.topic parameter lets you +configure the name of the file that is redirected to. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + + + + +webhelp.include.search.tab +boolean + + +webhelp.include.search.tab +Should the webhelp output include a Search tab? + + + + +<xsl:param name="webhelp.include.search.tab">1</xsl:param> + + + +Description +Set this parameter to 0 to suppress the search tab from webhelp output. + + + + + +webhelp.indexer.language + + + +webhelp.indexer.language +The language to use for creating the webhelp search index. + + + + +<xsl:param name="webhelp.indexer.language">en</xsl:param> + + + +Description +To support stemming in the client-side webhelp stemmer, you must provide the language code. By default, the following languages are supported: + + + en: English + + + de: German + + + fr: French + + + zh: Chinese + + + ja: Japanese + + + ko: Korean + + +See the webhelp documentation for information on adding support for additional languages. + + + + + + +webhelp.start.filename +string + + +webhelp.start.filename +The name of the start file in the webhelp base directory. + + + + +<xsl:param name="webhelp.start.filename">index.html</xsl:param> + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The webhelp.start.filename parameter lets you configure the name of the redirect file. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + + + + +webhelp.tree.cookie.id +string + + +webhelp.tree.cookie.id +Controls how the cookie that stores the webhelp toc state is named. + + + + +<xsl:param name="webhelp.tree.cookie.id" select="concat( 'treeview-', count(//node()) )"></xsl:param> + + + +Description +The webhelp output does not use a frameset. Instead, the table of contents is a div on each page. To preserve the state of the table of contents as the user navigates from page to page, webhelp stores the state in a cookie and reads that cookie when you get to the next page. If you've published several webhelp documents on the same domain, it is important that each cookie have a unique id. In lieu of calling on a GUID generator, by default this parameter is just set to the number of nodes in the document on the assumption that it is unlikely that you will have more than one document with the exact number of nodes. A more optimal solution would be for the user to pass in some unique, stable identifier from the build system to use as the webhelp cookie id. For example, if you have safeguards in place to ensure that the xml:id of the root element of each document will be unique on your site, then you could set webhelptree.cookie.id as follows: + + <xsl:param name="webhelp.tree.cookie.id"> + <xsl:choose> + <xsl:when test="/*/@xml:id"> + <xsl:value-of select="concat('treeview-',/*/@xml:id)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat( 'treeview-', count(//node()) )"/> + </xsl:otherwise> + </xsl:choose> + </xsl:param> + + + + + + +JavaHelp + + +javahelp.encoding +string + + +javahelp.encoding +Character encoding to use in control files for JavaHelp. + + + + +<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param> + + + +Description + +JavaHelp crashes on some characters when written as character +references. In that case you can use this parameter to select an appropriate encoding. + + + + + + + + +Localization + + +l10n.gentext.language +string + + +l10n.gentext.language +Sets the gentext language + + + + +<xsl:param name="l10n.gentext.language"></xsl:param> + + + +Description + +If this parameter is set to any value other than the empty string, its +value will be used as the value for the language when generating text. Setting +l10n.gentext.language overrides any settings within the +document being formatted. + +It's much more likely that you might want to set the +l10n.gentext.default.language parameter. + + + + + + + l10n.gentext.default.language + string + + + l10n.gentext.default.language + Sets the default language for generated text + + + + +<xsl:param name="l10n.gentext.default.language">en</xsl:param> + + + +Description + +The value of the l10n.gentext.default.language +parameter is used as the language for generated text if no setting is provided +in the source document. + + + + + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + +<xsl:param name="l10n.gentext.use.xref.language" select="0"></xsl:param> + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
    +See also Kapital 3. +
    + +Where the more traditional rendering would be: + +
    +See also Chapter 3. +
    + +
    +
    + + + +l10n.lang.value.rfc.compliant +boolean + + +l10n.lang.value.rfc.compliant +Make value of lang attribute RFC compliant? + + + + +<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param> + + + +Description + +If non-zero, ensure that the values for all lang attributes in HTML output are RFC +compliantSection 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that: + +
    [RFC1766] defines and explains the language codes +that must be used in HTML documents. +Briefly, language codes consist of a primary code and a possibly +empty series of subcodes: + +language-code = primary-code ( "-" subcode )* + +And in RFC 1766, Tags for the Identification +of Languages, the EBNF for "language tag" is given as: + +Language-Tag = Primary-tag *( "-" Subtag ) +Primary-tag = 1*8ALPHA +Subtag = 1*8ALPHA + +
    +
    . + +by taking any underscore characters in any lang values found in source documents, and +replacing them with hyphen characters in output HTML files. For +example, zh_CN in a source document becomes +zh-CN in the HTML output form that source. + + +This parameter does not cause any case change in lang values, because RFC 1766 +explicitly states that all "language tags" (as it calls them) "are +to be treated as case insensitive". + +
    + +
    +
    + + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + +<xsl:param name="writing.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">writing-mode</xsl:with-param> + <xsl:with-param name="lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"></xsl:with-param> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:param> + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But this param can also be +set on the command line to override that gentext value. + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + + +
    +The Stylesheet + +The param.xsl stylesheet is just a wrapper +around all these parameters. + + + +<!-- This file is generated from param.xweb --> + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- ******************************************************************** + $Id: param.xweb 9658 2012-10-29 22:28:34Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="abstract.notitle.enabled.frag"></src:fragref> +<src:fragref linkend="activate.external.olinks.frag"></src:fragref> +<src:fragref linkend="admon.graphics.extension.frag"></src:fragref> +<src:fragref linkend="admon.graphics.frag"></src:fragref> +<src:fragref linkend="admon.graphics.path.frag"></src:fragref> +<src:fragref linkend="admon.style.frag"></src:fragref> +<src:fragref linkend="admon.textlabel.frag"></src:fragref> +<src:fragref linkend="annotate.toc.frag"></src:fragref> +<src:fragref linkend="annotation.css.frag"></src:fragref> +<src:fragref linkend="annotation.graphic.close.frag"></src:fragref> +<src:fragref linkend="annotation.graphic.open.frag"></src:fragref> +<src:fragref linkend="annotation.js.frag"></src:fragref> +<src:fragref linkend="annotation.support.frag"></src:fragref> +<src:fragref linkend="appendix.autolabel.frag"></src:fragref> +<src:fragref linkend="author.othername.in.middle.frag"></src:fragref> +<src:fragref linkend="autotoc.label.in.hyperlink.frag"></src:fragref> +<src:fragref linkend="autotoc.label.separator.frag"></src:fragref> +<src:fragref linkend="base.dir.frag"></src:fragref> +<src:fragref linkend="biblioentry.item.separator.frag"></src:fragref> +<src:fragref linkend="bibliography.collection.frag"></src:fragref> +<src:fragref linkend="bibliography.numbered.frag"></src:fragref> +<src:fragref linkend="bibliography.style.frag"></src:fragref> +<src:fragref linkend="blurb.on.titlepage.enabled.frag"></src:fragref> +<src:fragref linkend="bridgehead.in.toc.frag"></src:fragref> +<src:fragref linkend="callout.defaultcolumn.frag"></src:fragref> +<src:fragref linkend="callout.graphics.extension.frag"></src:fragref> +<src:fragref linkend="callout.graphics.frag"></src:fragref> +<src:fragref linkend="callout.graphics.number.limit.frag"></src:fragref> +<src:fragref linkend="callout.graphics.path.frag"></src:fragref> +<src:fragref linkend="callout.list.table.frag"></src:fragref> +<src:fragref linkend="callout.unicode.frag"></src:fragref> +<src:fragref linkend="callout.unicode.number.limit.frag"></src:fragref> +<src:fragref linkend="callout.unicode.start.character.frag"></src:fragref> +<src:fragref linkend="callouts.extension.frag"></src:fragref> +<src:fragref linkend="chapter.autolabel.frag"></src:fragref> +<src:fragref linkend="chunk.append.frag"></src:fragref> +<src:fragref linkend="chunk.first.sections.frag"></src:fragref> +<src:fragref linkend="chunk.quietly.frag"></src:fragref> +<src:fragref linkend="chunk.section.depth.frag"></src:fragref> +<src:fragref linkend="chunk.separate.lots.frag"></src:fragref> +<src:fragref linkend="chunk.toc.frag"></src:fragref> +<src:fragref linkend="chunk.tocs.and.lots.frag"></src:fragref> +<src:fragref linkend="chunk.tocs.and.lots.has.title.frag"></src:fragref> +<src:fragref linkend="chunked.filename.prefix.frag"></src:fragref> +<src:fragref linkend="citerefentry.link.frag"></src:fragref> +<src:fragref linkend="collect.xref.targets.frag"></src:fragref> +<src:fragref linkend="component.label.includes.part.label.frag"></src:fragref> +<src:fragref linkend="contrib.inline.enabled.frag"></src:fragref> +<src:fragref linkend="css.decoration.frag"></src:fragref> +<src:fragref linkend="current.docid.frag"></src:fragref> +<src:fragref linkend="custom.css.source.frag"></src:fragref> +<src:fragref linkend="default.float.class.frag"></src:fragref> +<src:fragref linkend="default.image.width.frag"></src:fragref> +<src:fragref linkend="default.table.frame.frag"></src:fragref> +<src:fragref linkend="default.table.width.frag"></src:fragref> +<src:fragref linkend="docbook.css.link.frag"></src:fragref> +<src:fragref linkend="docbook.css.source.frag"></src:fragref> +<src:fragref linkend="draft.mode.frag"></src:fragref> +<src:fragref linkend="draft.watermark.image.frag"></src:fragref> +<src:fragref linkend="ebnf.assignment.frag"></src:fragref> +<src:fragref linkend="ebnf.statement.terminator.frag"></src:fragref> +<src:fragref linkend="ebnf.table.bgcolor.frag"></src:fragref> +<src:fragref linkend="ebnf.table.border.frag"></src:fragref> +<src:fragref linkend="eclipse.autolabel.frag"></src:fragref> +<src:fragref linkend="eclipse.plugin.id.frag"></src:fragref> +<src:fragref linkend="eclipse.plugin.name.frag"></src:fragref> +<src:fragref linkend="eclipse.plugin.provider.frag"></src:fragref> +<src:fragref linkend="editedby.enabled.frag"></src:fragref> +<src:fragref linkend="email.delimiters.enabled.frag"></src:fragref> +<src:fragref linkend="emphasis.propagates.style.frag"></src:fragref> +<src:fragref linkend="entry.propagates.style.frag"></src:fragref> +<src:fragref linkend="exsl.node.set.available.frag"></src:fragref> +<src:fragref linkend="firstterm.only.link.frag"></src:fragref> +<src:fragref linkend="footer.rule.frag"></src:fragref> +<src:fragref linkend="footnote.number.format.frag"></src:fragref> +<src:fragref linkend="footnote.number.symbols.frag"></src:fragref> +<src:fragref linkend="formal.procedures.frag"></src:fragref> +<src:fragref linkend="formal.title.placement.frag"></src:fragref> +<src:fragref linkend="funcsynopsis.decoration.frag"></src:fragref> +<src:fragref linkend="funcsynopsis.style.frag"></src:fragref> +<src:fragref linkend="function.parens.frag"></src:fragref> +<src:fragref linkend="generate.consistent.ids.frag"></src:fragref> +<src:fragref linkend="generate.css.header.frag"></src:fragref> +<src:fragref linkend="generate.id.attributes.frag"></src:fragref> +<src:fragref linkend="generate.index.frag"></src:fragref> +<src:fragref linkend="generate.legalnotice.link.frag"></src:fragref> +<src:fragref linkend="generate.manifest.frag"></src:fragref> +<src:fragref linkend="generate.meta.abstract.frag"></src:fragref> +<src:fragref linkend="generate.revhistory.link.frag"></src:fragref> +<src:fragref linkend="generate.section.toc.level.frag"></src:fragref> +<src:fragref linkend="generate.toc.frag"></src:fragref> +<src:fragref linkend="glossary.collection.frag"></src:fragref> +<src:fragref linkend="glossary.sort.frag"></src:fragref> +<src:fragref linkend="glossentry.show.acronym.frag"></src:fragref> +<src:fragref linkend="glossterm.auto.link.frag"></src:fragref> +<src:fragref linkend="graphic.default.extension.frag"></src:fragref> +<src:fragref linkend="graphicsize.extension.frag"></src:fragref> +<src:fragref linkend="graphicsize.use.img.src.path.frag"></src:fragref> +<src:fragref linkend="header.rule.frag"></src:fragref> +<src:fragref linkend="highlight.default.language.frag"></src:fragref> +<src:fragref linkend="highlight.source.frag"></src:fragref> +<src:fragref linkend="highlight.xslthl.config.frag"></src:fragref> +<src:fragref linkend="html.append.frag"></src:fragref> +<src:fragref linkend="html.base.frag"></src:fragref> +<src:fragref linkend="html.cellpadding.frag"></src:fragref> +<src:fragref linkend="html.cellspacing.frag"></src:fragref> +<src:fragref linkend="html.cleanup.frag"></src:fragref> +<src:fragref linkend="html.ext.frag"></src:fragref> +<src:fragref linkend="html.extra.head.links.frag"></src:fragref> +<src:fragref linkend="html.head.legalnotice.link.multiple.frag"></src:fragref> +<src:fragref linkend="html.head.legalnotice.link.types.frag"></src:fragref> +<src:fragref linkend="html.longdesc.frag"></src:fragref> +<src:fragref linkend="html.longdesc.link.frag"></src:fragref> +<src:fragref linkend="html.script.frag"></src:fragref> +<src:fragref linkend="html.script.type.frag"></src:fragref> +<src:fragref linkend="html.stylesheet.frag"></src:fragref> +<src:fragref linkend="html.stylesheet.type.frag"></src:fragref> +<src:fragref linkend="htmlhelp.alias.file.frag"></src:fragref> +<src:fragref linkend="htmlhelp.autolabel.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.back.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.forward.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.hideshow.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.home.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.home.url.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump1.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump1.title.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump1.url.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump2.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump2.title.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.jump2.url.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.locate.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.next.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.options.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.prev.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.print.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.refresh.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.stop.frag"></src:fragref> +<src:fragref linkend="htmlhelp.button.zoom.frag"></src:fragref> +<src:fragref linkend="htmlhelp.chm.frag"></src:fragref> +<src:fragref linkend="htmlhelp.default.topic.frag"></src:fragref> +<src:fragref linkend="htmlhelp.display.progress.frag"></src:fragref> +<src:fragref linkend="htmlhelp.encoding.frag"></src:fragref> +<src:fragref linkend="htmlhelp.enhanced.decompilation.frag"></src:fragref> +<src:fragref linkend="htmlhelp.enumerate.images.frag"></src:fragref> +<src:fragref linkend="htmlhelp.force.map.and.alias.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.binary.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.folders.instead.books.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.section.depth.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.show.root.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhc.width.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhk.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhp.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhp.tail.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhp.window.frag"></src:fragref> +<src:fragref linkend="htmlhelp.hhp.windows.frag"></src:fragref> +<src:fragref linkend="htmlhelp.map.file.frag"></src:fragref> +<src:fragref linkend="htmlhelp.only.frag"></src:fragref> +<src:fragref linkend="htmlhelp.remember.window.position.frag"></src:fragref> +<src:fragref linkend="htmlhelp.show.advanced.search.frag"></src:fragref> +<src:fragref linkend="htmlhelp.show.favorities.frag"></src:fragref> +<src:fragref linkend="htmlhelp.show.menu.frag"></src:fragref> +<src:fragref linkend="htmlhelp.show.toolbar.text.frag"></src:fragref> +<src:fragref linkend="htmlhelp.title.frag"></src:fragref> +<src:fragref linkend="htmlhelp.use.hhk.frag"></src:fragref> +<src:fragref linkend="htmlhelp.window.geometry.frag"></src:fragref> +<src:fragref linkend="id.warnings.frag"></src:fragref> +<src:fragref linkend="ignore.image.scaling.frag"></src:fragref> +<src:fragref linkend="img.src.path.frag"></src:fragref> +<src:fragref linkend="index.links.to.section.frag"></src:fragref> +<src:fragref linkend="index.method.frag"></src:fragref> +<src:fragref linkend="index.number.separator.frag"></src:fragref> +<src:fragref linkend="index.on.role.frag"></src:fragref> +<src:fragref linkend="index.on.type.frag"></src:fragref> +<src:fragref linkend="index.prefer.titleabbrev.frag"></src:fragref> +<src:fragref linkend="index.range.separator.frag"></src:fragref> +<src:fragref linkend="index.term.separator.frag"></src:fragref> +<src:fragref linkend="inherit.keywords.frag"></src:fragref> +<src:fragref linkend="insert.olink.page.number.frag"></src:fragref> +<src:fragref linkend="insert.olink.pdf.frag.frag"></src:fragref> +<src:fragref linkend="insert.xref.page.number.frag"></src:fragref> +<src:fragref linkend="javahelp.encoding.frag"></src:fragref> +<src:fragref linkend="keep.relative.image.uris.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.default.language.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.language.frag"></src:fragref> +<src:fragref linkend="l10n.gentext.use.xref.language.frag"></src:fragref> +<src:fragref linkend="l10n.lang.value.rfc.compliant.frag"></src:fragref> +<src:fragref linkend="label.from.part.frag"></src:fragref> +<src:fragref linkend="linenumbering.everyNth.frag"></src:fragref> +<src:fragref linkend="linenumbering.extension.frag"></src:fragref> +<src:fragref linkend="linenumbering.separator.frag"></src:fragref> +<src:fragref linkend="linenumbering.width.frag"></src:fragref> +<src:fragref linkend="link.mailto.url.frag"></src:fragref> +<src:fragref linkend="make.clean.html.frag"></src:fragref> +<src:fragref linkend="make.graphic.viewport.frag"></src:fragref> +<src:fragref linkend="make.single.year.ranges.frag"></src:fragref> +<src:fragref linkend="make.valid.html.frag"></src:fragref> +<src:fragref linkend="make.year.ranges.frag"></src:fragref> +<src:fragref linkend="manifest.frag"></src:fragref> +<src:fragref linkend="manifest.in.base.dir.frag"></src:fragref> +<src:fragref linkend="manual.toc.frag"></src:fragref> +<src:fragref linkend="menuchoice.menu.separator.frag"></src:fragref> +<src:fragref linkend="menuchoice.separator.frag"></src:fragref> +<src:fragref linkend="navig.graphics.extension.frag"></src:fragref> +<src:fragref linkend="navig.graphics.frag"></src:fragref> +<src:fragref linkend="navig.graphics.path.frag"></src:fragref> +<src:fragref linkend="navig.showtitles.frag"></src:fragref> +<src:fragref linkend="nominal.image.depth.frag"></src:fragref> +<src:fragref linkend="nominal.image.width.frag"></src:fragref> +<src:fragref linkend="nominal.table.width.frag"></src:fragref> +<src:fragref linkend="olink.base.uri.frag"></src:fragref> +<src:fragref linkend="olink.debug.frag"></src:fragref> +<src:fragref linkend="olink.doctitle.frag"></src:fragref> +<src:fragref linkend="olink.lang.fallback.sequence.frag"></src:fragref> +<src:fragref linkend="olink.properties.frag"></src:fragref> +<src:fragref linkend="othercredit.like.author.enabled.frag"></src:fragref> +<src:fragref linkend="para.propagates.style.frag"></src:fragref> +<src:fragref linkend="part.autolabel.frag"></src:fragref> +<src:fragref linkend="phrase.propagates.style.frag"></src:fragref> +<src:fragref linkend="pixels.per.inch.frag"></src:fragref> +<src:fragref linkend="points.per.em.frag"></src:fragref> +<src:fragref linkend="preface.autolabel.frag"></src:fragref> +<src:fragref linkend="prefer.internal.olink.frag"></src:fragref> +<src:fragref linkend="preferred.mediaobject.role.frag"></src:fragref> +<src:fragref linkend="process.empty.source.toc.frag"></src:fragref> +<src:fragref linkend="process.source.toc.frag"></src:fragref> +<src:fragref linkend="profile.arch.frag"></src:fragref> +<src:fragref linkend="profile.attribute.frag"></src:fragref> +<src:fragref linkend="profile.audience.frag"></src:fragref> +<src:fragref linkend="profile.condition.frag"></src:fragref> +<src:fragref linkend="profile.conformance.frag"></src:fragref> +<src:fragref linkend="profile.lang.frag"></src:fragref> +<src:fragref linkend="profile.os.frag"></src:fragref> +<src:fragref linkend="profile.revision.frag"></src:fragref> +<src:fragref linkend="profile.revisionflag.frag"></src:fragref> +<src:fragref linkend="profile.role.frag"></src:fragref> +<src:fragref linkend="profile.security.frag"></src:fragref> +<src:fragref linkend="profile.separator.frag"></src:fragref> +<src:fragref linkend="profile.status.frag"></src:fragref> +<src:fragref linkend="profile.userlevel.frag"></src:fragref> +<src:fragref linkend="profile.value.frag"></src:fragref> +<src:fragref linkend="profile.vendor.frag"></src:fragref> +<src:fragref linkend="profile.wordsize.frag"></src:fragref> +<src:fragref linkend="punct.honorific.frag"></src:fragref> +<src:fragref linkend="qanda.defaultlabel.frag"></src:fragref> +<src:fragref linkend="qanda.in.toc.frag"></src:fragref> +<src:fragref linkend="qanda.inherit.numeration.frag"></src:fragref> +<src:fragref linkend="qanda.nested.in.toc.frag"></src:fragref> +<src:fragref linkend="qandadiv.autolabel.frag"></src:fragref> +<src:fragref linkend="refclass.suppress.frag"></src:fragref> +<src:fragref linkend="refentry.generate.name.frag"></src:fragref> +<src:fragref linkend="refentry.generate.title.frag"></src:fragref> +<src:fragref linkend="refentry.separator.frag"></src:fragref> +<src:fragref linkend="refentry.xref.manvolnum.frag"></src:fragref> +<src:fragref linkend="reference.autolabel.frag"></src:fragref> +<src:fragref linkend="root.filename.frag"></src:fragref> +<src:fragref linkend="rootid.frag"></src:fragref> +<src:fragref linkend="runinhead.default.title.end.punct.frag"></src:fragref> +<src:fragref linkend="runinhead.title.end.punct.frag"></src:fragref> +<src:fragref linkend="section.autolabel.frag"></src:fragref> +<src:fragref linkend="section.autolabel.max.depth.frag"></src:fragref> +<src:fragref linkend="section.label.includes.component.label.frag"></src:fragref> +<src:fragref linkend="segmentedlist.as.table.frag"></src:fragref> +<src:fragref linkend="shade.verbatim.frag"></src:fragref> +<src:fragref linkend="shade.verbatim.style.frag"></src:fragref> +<src:fragref linkend="show.comments.frag"></src:fragref> +<src:fragref linkend="show.revisionflag.frag"></src:fragref> +<src:fragref linkend="simplesect.in.toc.frag"></src:fragref> +<src:fragref linkend="spacing.paras.frag"></src:fragref> +<src:fragref linkend="suppress.footer.navigation.frag"></src:fragref> +<src:fragref linkend="suppress.header.navigation.frag"></src:fragref> +<src:fragref linkend="suppress.navigation.frag"></src:fragref> +<src:fragref linkend="table.borders.with.css.frag"></src:fragref> +<src:fragref linkend="table.cell.border.color.frag"></src:fragref> +<src:fragref linkend="table.cell.border.style.frag"></src:fragref> +<src:fragref linkend="table.cell.border.thickness.frag"></src:fragref> +<src:fragref linkend="table.footnote.number.format.frag"></src:fragref> +<src:fragref linkend="table.footnote.number.symbols.frag"></src:fragref> +<src:fragref linkend="table.frame.border.color.frag"></src:fragref> +<src:fragref linkend="table.frame.border.style.frag"></src:fragref> +<src:fragref linkend="table.frame.border.thickness.frag"></src:fragref> +<src:fragref linkend="tablecolumns.extension.frag"></src:fragref> +<src:fragref linkend="target.database.document.frag"></src:fragref> +<src:fragref linkend="targets.filename.frag"></src:fragref> +<src:fragref linkend="tex.math.delims.frag"></src:fragref> +<src:fragref linkend="tex.math.file.frag"></src:fragref> +<src:fragref linkend="tex.math.in.alt.frag"></src:fragref> +<src:fragref linkend="textdata.default.encoding.frag"></src:fragref> +<src:fragref linkend="textinsert.extension.frag"></src:fragref> +<src:fragref linkend="toc.list.type.frag"></src:fragref> +<src:fragref linkend="toc.max.depth.frag"></src:fragref> +<src:fragref linkend="toc.section.depth.frag"></src:fragref> +<src:fragref linkend="ulink.target.frag"></src:fragref> +<src:fragref linkend="use.embed.for.svg.frag"></src:fragref> +<src:fragref linkend="use.extensions.frag"></src:fragref> +<src:fragref linkend="use.id.as.filename.frag"></src:fragref> +<src:fragref linkend="use.local.olink.style.frag"></src:fragref> +<src:fragref linkend="use.role.as.xrefstyle.frag"></src:fragref> +<src:fragref linkend="use.role.for.mediaobject.frag"></src:fragref> +<src:fragref linkend="use.svg.frag"></src:fragref> +<src:fragref linkend="variablelist.as.table.frag"></src:fragref> +<src:fragref linkend="variablelist.term.break.after.frag"></src:fragref> +<src:fragref linkend="variablelist.term.separator.frag"></src:fragref> +<src:fragref linkend="webhelp.autolabel.frag"></src:fragref> +<src:fragref linkend="webhelp.base.dir.frag"></src:fragref> +<src:fragref linkend="webhelp.common.dir.frag"></src:fragref> +<src:fragref linkend="webhelp.default.topic.frag"></src:fragref> +<src:fragref linkend="webhelp.include.search.tab.frag"></src:fragref> +<src:fragref linkend="webhelp.indexer.language.frag"></src:fragref> +<src:fragref linkend="webhelp.start.filename.frag"></src:fragref> +<src:fragref linkend="webhelp.tree.cookie.id.frag"></src:fragref> +<src:fragref linkend="writing.mode.frag"></src:fragref> +<src:fragref linkend="xref.label-page.separator.frag"></src:fragref> +<src:fragref linkend="xref.label-title.separator.frag"></src:fragref> +<src:fragref linkend="xref.title-page.separator.frag"></src:fragref> +<src:fragref linkend="xref.with.number.and.title.frag"></src:fragref> + +</xsl:stylesheet> + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/param.xsl b/apache-fop/src/test/resources/docbook-xsl/html/param.xsl new file mode 100644 index 0000000000..e42f4b0980 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/param.xsl @@ -0,0 +1,443 @@ + + + + + + + + +.png + +images/ + + + + + + +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } + + +http://docbook.sourceforge.net/release/images/annot-close.png +http://docbook.sourceforge.net/release/images/annot-open.png + + +http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js + + +A + + +. + +. +http://docbook.sourceforge.net/release/bibliography/bibliography.xml + + +normal + + +60 +.png + + +15 + +images/callouts/ + + +10 +10102 + + + + + + + + + + + + +no + +1 + + + + + + left + before + + + +all + + +docbook.css.xml +no +images/draft.png + +::= + + + + +#F5DCB3 + + +com.example.help +DocBook Online Help Sample +Example provider +1 + + + + + + 1 + 0 + + + + +1 + + + +figure before +example before +equation before +table before +procedure before +task before + + +kr + + + + + + + + + + + +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title + + + + +no + + + + + + + + + + + + + +.html + + +copyright + + + +text/javascript + +text/css +alias.h + + + + + + + +User1 + + +User2 + + + + + + + + + +htmlhelp.chm + + +iso-8859-1 + + + + + +toc.hhc +5 + + +index.hhk +htmlhelp.hhp + +Main + +context.h + + + + + + + + + + + + + +basic + + + + + + + +no + +no +iso-8859-1 + + +en + + + + +5 + + +3 + + + + + + + HTML.manifest + + + + → ++ +.gif + +images/ +1 + + +6in + + +no + + + replace + +0 + +I + +90 +10 + + + + + + + + + + + + + + + + +; + + + + + +. +number + + + + + + + + + + I +index + +. +.!?: + +8 + + + + + 0 + #E0E0E0 + + + + + + +0 + + + + + +solid +0.5pt +a + + + +solid +0.5pt + + olinkdb.xml +target.db + +tex-math-equations.tex + + + +dl +8 +2 +_top + + + + + + + + +0 +, +0 +docs +../common/ +index.html +1 +en +index.html + + + + writing-mode + + + + + + + + +: + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/pi.xml b/apache-fop/src/test/resources/docbook-xsl/html/pi.xml new file mode 100644 index 0000000000..5672daba0f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/pi.xml @@ -0,0 +1,1152 @@ + + +HTML Processing Instruction Reference + + $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + +You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbhtml_background-color +Sets background color for an image + + + + dbhtml background-color="color" + + +Description + +Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + Parameters + + + background-color="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Background color + + + + + +dbhtml_bgcolor +Sets background color on a CALS table row or table cell + + + + dbhtml bgcolor="color" + + +Description + +Use the dbhtml bgcolor PI as child of a CALS table row + or cell to set a background color for that table row or cell. + + Parameters + + + bgcolor="color" + + +An HTML color value + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell background color + + + + + +dbhtml_cellpadding +Specifies cellpadding in CALS table or qandaset output + + + + dbhtml cellpadding="number" + + +Description + +Use the dbhtml cellpadding PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + Parameters + + + cellpadding="number" + + +Specifies the cellpadding + + + + + + Related Global Parameters + +html.cellpadding + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell spacing and cell padding, + Q and A formatting + + + + + +dbhtml_cellspacing +Specifies cellspacing in CALS table or qandaset output + + + + dbhtml cellspacing="number" + + +Description + +Use the dbhtml cellspacing PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + Parameters + + + cellspacing="number" + + +Specifies the cellspacing + + + + + + Related Global Parameters + +html.cellspacing + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Cell spacing and cell padding, + Q and A formatting + + + + + +dbhtml_class +Set value of the class attribute for a CALS table row + + + + dbhtml class="name" + + +Description + +Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + Parameters + + + class="name" + + +Specifies the class name + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table styles in HTML output + + + + + +dbhtml_dir +Specifies a directory name in which to write files + + + + dbhtml dir="path" + + +Description + +When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + + + +The output directory specification is inherited by all +chunks of the descendants of the element. If descendants need +to go to a different directory, then add another +dbhtml dir processing +instruction as a child of the source element +for that chunk, and specify the path relative to the +ancestor path. + + + +For example, to put most chunk files into +shared +but one chapter into +exception +at the same level, use: + + +<book> + <?dbhtml dir="shared"?> + ... + <chapter> + <?dbhtml dir="../exception"?> + </chapter> +</book> + + + + Parameters + + + dir="path" + + +Specifies the pathname for the directory + + + + + + Related Global Parameters + +base.dir + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +dbhtml dir processing instruction + + + + + +dbhtml_filename +Specifies a filename for a chunk + + + + dbhtml filename="filename" + + +Description + +When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. Include the filename suffix. + + + +You cannot include a directory path in the filename value, +or your links may not work. Add a +dbhtml dir processing instruction +to specify the output directory. You can also combine the two +specifications in one processing instruction: +dbhtml dir="mydir" filename="myfile.html". + + + Parameters + + + filename="path" + + +Specifies the filename for the file + + + + + + Related Global Parameters + +use.id.as.filename + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +dbhtml filenames + + + + + +dbhtml_funcsynopsis-style +Specifies presentation style for a funcsynopsis + + + + dbhtml funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbhtml funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays funcprototype output in K&R style + + + + funcsynopsis-style="ansi" + + +Displays funcprototype output in ANSI style + + + + + + Related Global Parameters + +funcsynopsis.style + + + + + +dbhtml_img.src.path +Specifies a path to the location of an image file + + + + dbhtml img.src.path="path" + + +Description + +Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + Parameters + + + img.src.path="path" + + +Specifies the pathname to prepend to the name of the image file + + + + + + Related Global Parameters + +img.src.path + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Using fileref + + + + + +dbhtml_label-width +Specifies the label width for a qandaset + + + + dbhtml label-width="width" + + +Description + +Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + Parameters + + + label-width="width" + + +Specifies the label width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A formatting + + + + + +dbhtml_linenumbering.everyNth +Specifies interval for line numbers in verbatims + + + + dbhtml linenumbering.everyNth="N" + + +Description + +Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + Parameters + + + linenumbering.everyNth="N" + + +Specifies numbering interval; a number is output + before every Nth line + + + + + + Related Global Parameters + +linenumbering.everyNth + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_linenumbering.separator +Specifies separator text for line numbers in verbatims + + + + dbhtml linenumbering.separator="text" + + +Description + +Use the dbhtml linenumbering.separator PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + Parameters + + + linenumbering.separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +linenumbering.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_linenumbering.width +Specifies width for line numbers in verbatims + + + + dbhtml linenumbering.width="width" + + +Description + +Use the dbhtml linenumbering.width PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + Parameters + + + linenumbering.width="width" + + +Specifies the width (inluding units) + + + + + + Related Global Parameters + +linenumbering.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Line numbering + + + + + +dbhtml_list-presentation +Specifies presentation style for a variablelist or + segmentedlist + + + + dbhtml list-presentation="list"|"table" + + +Description + +Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + Parameters + + + list-presentation="list" + + +Displays the list as a list + + + + list-presentation="table" + + +Displays the list as a table + + + + + + Related Global Parameters + + + + +variablelist.as.table + + + + +segmentedlist.as.table + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_list-width +Specifies the width of a variablelist or simplelist + + + + dbhtml list-width="width" + + +Description + +Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + Parameters + + + list-width="width" + + +Specifies the output width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_row-height +Specifies the height for a CALS table row + + + + dbhtml row-height="height" + + +Description + +Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + Parameters + + + row-height="height" + + +Specifies the row height (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Row height + + + + + +dbhtml_start +(obsolete) Sets the starting number on an ordered list + + + + dbhtml start="character" + + +Description + +This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + Parameters + + + start="character" + + +Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +List starting number + + + + + +dbhtml_stop-chunking +Do not chunk any descendants of this element. + + + + dbhtml stop-chunking + + +Description + +When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: +<section> +<title>Configuring pencil</title> +<?dbhtml stop-chunking?> + +... + +</section> + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Chunking into multiple HTML files + + + + + +dbhtml_table-summary +Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output + + + + dbhtml table-summary="text" + + +Description + +Use the dbhtml table-summary PI as a child of + a CALS table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + Parameters + + + table-summary="text" + + +Specifies the summary text (zero or more characters) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML, + Table summary text + + + + + +dbhtml_table-width +Specifies the width for a CALS table + + + + dbhtml table-width="width" + + +Description + +Use the dbhtml table-width PI as a child of a + CALS table to specify the width of the table in + output. + + Parameters + + + table-width="width" + + +Specifies the table width (including units or as a percentage) + + + + + + Related Global Parameters + +default.table.width + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Table width + + + + + +dbhtml_term-presentation +Sets character formatting for terms in a variablelist + + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + +Description + +Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + Parameters + + + term-presentation="bold" + + +Specifies that terms are displayed in bold + + + + term-presentation="italic" + + +Specifies that terms are displayed in italic + + + + term-presentation="bold-italic" + + +Specifies that terms are displayed in bold-italic + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_term-separator +Specifies separator text among terms in a varlistentry + + + + dbhtml term-separator="text" + + +Description + +Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + Parameters + + + term-separator="text" + + +Specifies the text (zero or more characters) + + + + + + Related Global Parameters + +variablelist.term.separator + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_term-width +Specifies the term width for a variablelist + + + + dbhtml term-width="width" + + +Description + +Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + Parameters + + + term-width="width" + + +Specifies the term width (including units) + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Variable list formatting in HTML + + + + + +dbhtml_toc +Specifies whether a TOC should be generated for a qandaset + + + + dbhtml toc="0"|"1" + + +Description + +Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + Parameters + + + toc="0" + + +If zero, no TOC is generated + + + + toc="1" + + +If 1 (or any non-zero value), + a TOC is generated + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Q and A list of questions, + Q and A formatting + + + + + +dbcmdlist +Generates a hyperlinked list of commands + + + + dbcmdlist + + +Description + +Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list†will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. + + Parameters + +[No parameters] + + + + + +dbfunclist +Generates a hyperlinked list of functions + + + + dbfunclist + + +Description + +Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list†will be generated at the top of + output for that element, enabling users to quickly + jump to to each function synopsis. + + Parameters + +[No parameters] + + + + + +dbhtml-include_href +Copies an external well-formed HTML/XML file into current doc + + + + dbhtml-include href="URI" + + +Description + +Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is†into your HTML output at the point in document order + where the PI occurs in the source. + + + +The referenced file may contain plain text (as long as + it is “wrapped†in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + + +Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper†when + they find it, leaving just the content you want to + insert. + + + Parameters + + + href="URI" + + +Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + Related Global Parameters + +textinsert.extension + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Inserting external HTML code, + External code files + + + + + +dbhh +Sets topic name and topic id for context-sensitive HTML Help + + + + dbhh topicname="name" topicid="id" + + +Description + +Use the dbhh PI as a child of components + that should be used as targets for context-sensitive help requests. + + Parameters + + + topicname="name" + + +Specifies a unique string constant that identifies a help topic + + + + topicid="id" + + +Specifies a unique integer value for the topicname string + + + + + + Related Information in <link xlink:href="http://www.sagehill.net/docbookxsl/">DocBook XSL: The Complete Guide</link> + +Context-sensitive help + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/html/pi.xsl new file mode 100644 index 0000000000..2c3f3bfc23 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/pi.xsl @@ -0,0 +1,1296 @@ + + + + + +HTML Processing Instruction Reference + + $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Sets background color for an image + + Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbhtml background-color="color" + + + + background-color="color" + + An HTML color value + + + + + + Background color + + + + + + + + + + + + Sets background color on a CALS table row or table cell + + Use the dbhtml bgcolor PI as child of a CALS table row + or cell to set a background color for that table row or cell. + + + dbhtml bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + + + + + + + + + + + + Specifies cellpadding in CALS table or qandaset output + + Use the dbhtml cellpadding PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + + dbhtml cellpadding="number" + + + + cellpadding="number" + + Specifies the cellpadding + + + + + + html.cellpadding + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Specifies cellspacing in CALS table or qandaset output + + Use the dbhtml cellspacing PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + + dbhtml cellspacing="number" + + + + cellspacing="number" + + Specifies the cellspacing + + + + + + html.cellspacing + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Set value of the class attribute for a CALS table row + + Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + + dbhtml class="name" + + + + class="name" + + Specifies the class name + + + + + + Table styles in HTML output + + + + + + + + + + + + Specifies a directory name in which to write files + + When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + +The output directory specification is inherited by all +chunks of the descendants of the element. If descendants need +to go to a different directory, then add another +dbhtml dir processing +instruction as a child of the source element +for that chunk, and specify the path relative to the +ancestor path. + +For example, to put most chunk files into +shared +but one chapter into +exception +at the same level, use: + + + + ... + + + + +]]> + + + + + dbhtml dir="path" + + + + dir="path" + + Specifies the pathname for the directory + + + + + + base.dir + + + dbhtml dir processing instruction + + + + + + + + + + + + Specifies a filename for a chunk + +When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. Include the filename suffix. + +You cannot include a directory path in the filename value, +or your links may not work. Add a +dbhtml dir processing instruction +to specify the output directory. You can also combine the two +specifications in one processing instruction: +dbhtml dir="mydir" filename="myfile.html". + + + + dbhtml filename="filename" + + + + filename="path" + + Specifies the filename for the file + + + + + + use.id.as.filename + + + dbhtml filenames + + + + + + + + + + + + Specifies presentation style for a funcsynopsis + + Use the dbhtml funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbhtml funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays funcprototype output in K&R style + + + funcsynopsis-style="ansi" + + Displays funcprototype output in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + + + Specifies a path to the location of an image file + + Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + + dbhtml img.src.path="path" + + + + img.src.path="path" + + Specifies the pathname to prepend to the name of the image file + + + + + + img.src.path + + + Using fileref + + + + + + + + + + + + Specifies the label width for a qandaset + + Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + + dbhtml label-width="width" + + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + + + + + + + + + + + + Specifies interval for line numbers in verbatims + + Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + + dbhtml linenumbering.everyNth="N" + + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + + + + + + + + + + + + Specifies separator text for line numbers in verbatims + + Use the dbhtml linenumbering.separator PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + + dbhtml linenumbering.separator="text" + + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + + + + + + + + + + + + Specifies width for line numbers in verbatims + + Use the dbhtml linenumbering.width PI as a child + of a “verbatim†element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + + dbhtml linenumbering.width="width" + + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + + + + + + + + + + + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbhtml list-presentation="list"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="table" + + Displays the list as a table + + + + + + + + variablelist.as.table + + + segmentedlist.as.table + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the width of a variablelist or simplelist + + Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + + dbhtml list-width="width" + + + + list-width="width" + + Specifies the output width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the height for a CALS table row + + Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + + dbhtml row-height="height" + + + + row-height="height" + + Specifies the row height (including units) + + + + + + Row height + + + + + + + + + + + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbhtml start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + + + + + + + + + Do not chunk any descendants of this element. + + When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: + +Configuring pencil + + +... + +]]> + + + + dbhtml stop-chunking + + + Chunking into multiple HTML files + + + + + + Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output + + Use the dbhtml table-summary PI as a child of + a CALS table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + Variable list formatting in HTML, + Table summary text + + + + + + + + + + + + Specifies the width for a CALS table + + Use the dbhtml table-width PI as a child of a + CALS table to specify the width of the table in + output. + + + dbhtml table-width="width" + + + + table-width="width" + + Specifies the table width (including units or as a percentage) + + + + + + default.table.width + + + Table width + + + + + + + + + + + + Sets character formatting for terms in a variablelist + + Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + + + term-presentation="bold" + + Specifies that terms are displayed in bold + + + term-presentation="italic" + + Specifies that terms are displayed in italic + + + term-presentation="bold-italic" + + Specifies that terms are displayed in bold-italic + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies separator text among terms in a varlistentry + + Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + + dbhtml term-separator="text" + + + + term-separator="text" + + Specifies the text (zero or more characters) + + + + + + variablelist.term.separator + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the term width for a variablelist + + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbhtml term-width="width" + + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies whether a TOC should be generated for a qandaset + + Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + + dbhtml toc="0"|"1" + + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + + + + + + + + + + + + Generates a hyperlinked list of commands + + Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list†will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. + + + dbcmdlist + + + [No parameters] + + + + + + No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? + + +
    + + + +
    +
    + + + Generates a hyperlinked list of functions + + Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list†will be generated at the top of + output for that element, enabling users to quickly + jump to to each function synopsis. + + + dbfunclist + + + [No parameters] + + + + + + No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? + + +
    + + + +
    +
    + + + Copies an external well-formed HTML/XML file into current doc + + Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is†into your HTML output at the point in document order + where the PI occurs in the source. + + The referenced file may contain plain text (as long as + it is “wrapped†in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper†when + they find it, leaving just the content you want to + insert. + + + + dbhtml-include href="URI" + + + + href="URI" + + Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + textinsert.extension + + + Inserting external HTML code, + External code files + + + + + + + href + + + + + + + + + + + + + + + + + + + + ERROR: dbhtml-include processing instruction + href has no content. + + + + + + + ERROR: dbhtml-include processing instruction has + missing or empty href value. + + + + + + + + Sets topic name and topic id for context-sensitive HTML Help + + Use the dbhh PI as a child of components + that should be used as targets for context-sensitive help requests. + + + dbhh topicname="name" topicid="id" + + + + topicname="name" + + Specifies a unique string constant that identifies a help topic + + + topicid="id" + + Specifies a unique integer value for the topicname string + + + + + + Context-sensitive help + + + + + + + + + + filename + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + # + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    +
    + + + + + + + + + + + + + + + +
    + + + # + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + / + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk-code.xsl b/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk-code.xsl new file mode 100644 index 0000000000..196eac3025 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk-code.xsl @@ -0,0 +1,639 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bk + + + + + + + + + + + + + + + ar + + + + + + + + + + + + + + + pr + + + + + + + + + + + + + + + ch + + + + + + + + + + + + + + + ap + + + + + + + + + + + + + + + + + + + pt + + + + + + + + + + + + + + + + + + + rn + + + + + + + + + + + + + + + + + + + + + + + + re + + + + + + + + + + + + + + + + + + + co + + + + + + + + + + + s + + + + + + + + + + + + + + + + + + + bi + + + + + + + + + + + + + + + + + + + go + + + + + + + + + + + + + + + + + + + ix + + + + + + + + si + + + + + + + + + + + + + + + + + + + to + + + + + + + + chunk-filename-error- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk.xsl new file mode 100644 index 0000000000..02920b12f3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/profile-chunk.xsl @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/html/profile-docbook.xsl new file mode 100644 index 0000000000..0e1b02403b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/profile-docbook.xsl @@ -0,0 +1,508 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + + + white + black + #0000FF + #840084 + #0000FF + + rtl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/profile-onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/html/profile-onechunk.xsl new file mode 100644 index 0000000000..325b8b1238 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/profile-onechunk.xsl @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/qandaset.xsl b/apache-fop/src/test/resources/docbook-xsl/html/qandaset.xsl new file mode 100644 index 0000000000..9c9be65777 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/qandaset.xsl @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    + + +
    +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + + + +
    + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + width: 100%; + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1% + + + + + + + + + +
    +
    + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/html/refentry.xsl new file mode 100644 index 0000000000..f3b02d510d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/refentry.xsl @@ -0,0 +1,305 @@ + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    + + + + +
    + + + + + + + +
    +
    +
    +
    + + + + + + +
    +
    + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + +
    + + + + + + + + + + + +

    + + + +

    +
    + +

    + + + + + + + + +

    +
    +
    + +

    + +

    +
    +
    + + + + + + , + + + + + + + + + em-dash + + + + + + + + + + + + + + + + : + + + + + + + +
    + + + + + +

    + + + + + + + + + + +

    + +
    +
    + + + + + + + + + + + +
    + + + + + + + + + + + + +
    +
    + + + + + + 0 + 1 + + + + 6 + + + + + + + + + + + + +

    + +

    +
    + + + +

    + +

    +
    + + + +

    + +

    +
    + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/sections.xsl b/apache-fop/src/test/resources/docbook-xsl/html/sections.xsl new file mode 100644 index 0000000000..ba5f174a8e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/sections.xsl @@ -0,0 +1,636 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + clear: both + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + 1 + + + + + + + 2 + 3 + 4 + 5 + 6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/synop.xsl b/apache-fop/src/test/resources/docbook-xsl/html/synop.xsl new file mode 100644 index 0000000000..88d0f5e5ec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/synop.xsl @@ -0,0 +1,1653 @@ + + +]> + + + + + + + + + + + +
    + +

    + + + + + + + + + + + + + + + +

    +
    +
    + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + ( + + ) + +   + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +    
    +    
    +    
    +  
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + +
    + +
    +

    +
    + + + + + + + ( + + + + + + + + + + + + + + + + ) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + +
    + + + + ; +
    + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
    + +
     
    + +
    + +
    +
    +
     
    +
    + + + + + + + ( + + + + + + + + + + + + + + + + + ) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + ; + + + + + + +

    + +

    +
    + + + + + + + ( + + + + + + + + + + + + + + + + void) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
    + +
     
    +
     
    +
    + + + + + + + ( + + + + + + + + + + + + + + + + + void) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + +
    +
    +
    + + + + + +
    +    
    +    
    +    
    +    
    +       extends
    +      
    +      
    +        
    +      +
    +
    + + implements + + +
    +      +
    +
    + + throws + + +  { +
    + + } +
    +
    + + + + + + + + + , + + + + + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + 0 + + , +
    + + +   + + + +
    + + + + + +
    + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + ( + + + + ) + +
    +     throws  + +
    + + + + + ; +
    + +
    + + + + +
    +    
    +    
    +    
    +    
    +      : 
    +      
    +      
    +        
    +      +
    +
    + + implements + + +
    +      +
    +
    + + throws + + +  { +
    + + } +
    +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
    +     throws  + +
    + + + + + ; +
    + +
    + + + + +
    +    
    +    
    +    interface 
    +    
    +    
    +      : 
    +      
    +      
    +        
    +      +
    +
    + + implements + + +
    +      +
    +
    + + throws + + +  { +
    + + } +
    +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
    +     raises( + + ) +
    + + + + + ; +
    + +
    + + + + +
    +    
    +    
    +    package 
    +    
    +    ;
    +    
    + + + @ISA = ( + + ); +
    +
    + + +
    +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/table.xsl b/apache-fop/src/test/resources/docbook-xsl/html/table.xsl new file mode 100644 index 0000000000..1a20e8b06e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/table.xsl @@ -0,0 +1,1209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + border- + + : + + + + + + ; + + + + + border- + + -width: + + ; + + + + border- + + -style: + + ; + + + + border- + + -color: + + ; + + + + + + + + + + + Error: CALS tables must specify the number of columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border: none; + + + + + border-collapse: collapse; + + + + + + + 0 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + No convertLength function available. + + + + + + + + + + + + + + + + + + + + + + + + + + No adjustColumnWidths function available. + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: overlapped row contains content! + + + This row intentionally left blank + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + th + th + + th + + td + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + : + + + + + + + + 0: + + + + + + + + + + + + + + + 0 + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/task.xsl b/apache-fop/src/test/resources/docbook-xsl/html/task.xsl new file mode 100644 index 0000000000..c4f19ff21e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/task.xsl @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + before + + + + + + + + +
    + + + + + + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xml b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xml new file mode 100644 index 0000000000..ce6166f0a3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xml @@ -0,0 +1,738 @@ + + + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="set" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="book" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="part" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="division.title" + param:node="ancestor-or-self::part[1]"/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="div"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="reference" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> +<!-- uncomment this if you want refentry titlepages + <title t:force="1" + t:named-template="refentry.title" + param:node="ancestor-or-self::refentry[1]"/> +--> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator/> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::dedication[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::acknowledgements[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="preface" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="topic" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="section" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::bibliography[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::glossary[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="index" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::index[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::setindex[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> +<t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="formal.object.heading" + param:object="ancestor-or-self::sidebar[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xsl new file mode 100644 index 0000000000..6180573e85 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.templates.xsl @@ -0,0 +1,4004 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="article.titlepage.verso"> +</xsl:template> + +<xsl:template name="article.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="article.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="article.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="article.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="article.titlepage.before.recto"/> + <xsl:call-template name="article.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="article.titlepage.before.verso"/> + <xsl:call-template name="article.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="article.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="set.titlepage.verso"> +</xsl:template> + +<xsl:template name="set.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="set.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="set.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="set.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="set.titlepage.before.recto"/> + <xsl:call-template name="set.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="set.titlepage.before.verso"/> + <xsl:call-template name="set.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="set.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="book.titlepage.verso"> +</xsl:template> + +<xsl:template name="book.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="book.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="book.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="book.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="book.titlepage.before.recto"/> + <xsl:call-template name="book.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="book.titlepage.before.verso"/> + <xsl:call-template name="book.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="book.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="part.titlepage.verso"> +</xsl:template> + +<xsl:template name="part.titlepage.separator"> +</xsl:template> + +<xsl:template name="part.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="part.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="part.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="part.titlepage.before.recto"/> + <xsl:call-template name="part.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="part.titlepage.before.verso"/> + <xsl:call-template name="part.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="part.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="partintro.titlepage.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage.separator"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage"> + <div> + <xsl:variable name="recto.content"> + <xsl:call-template name="partintro.titlepage.before.recto"/> + <xsl:call-template name="partintro.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="partintro.titlepage.before.verso"/> + <xsl:call-template name="partintro.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="partintro.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="reference.titlepage.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="reference.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="reference.titlepage.before.recto"/> + <xsl:call-template name="reference.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="reference.titlepage.before.verso"/> + <xsl:call-template name="reference.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="reference.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="refentry.titlepage.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage.separator"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refentry.titlepage.before.recto"/> + <xsl:call-template name="refentry.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refentry.titlepage.before.verso"/> + <xsl:call-template name="refentry.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="refentry.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="dedication.titlepage.recto"> + <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="dedicationinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="dedication.titlepage.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage.separator"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="dedication.titlepage.before.recto"/> + <xsl:call-template name="dedication.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="dedication.titlepage.before.verso"/> + <xsl:call-template name="dedication.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="dedication.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.recto"> + <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="acknowledgementsinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.separator"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="acknowledgements.titlepage.before.recto"/> + <xsl:call-template name="acknowledgements.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="acknowledgements.titlepage.before.verso"/> + <xsl:call-template name="acknowledgements.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="acknowledgements.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <xsl:choose> + <xsl:when test="prefaceinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="preface.titlepage.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage.separator"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="preface.titlepage.before.recto"/> + <xsl:call-template name="preface.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="preface.titlepage.before.verso"/> + <xsl:call-template name="preface.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="preface.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="chapter.titlepage.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage.separator"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="chapter.titlepage.before.recto"/> + <xsl:call-template name="chapter.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="chapter.titlepage.before.verso"/> + <xsl:call-template name="chapter.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="chapter.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="topic.titlepage.recto"> + <xsl:choose> + <xsl:when test="topicinfo/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="topicinfo/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revhistory"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/abstract"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="topic.titlepage.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage.separator"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="topic.titlepage.before.recto"/> + <xsl:call-template name="topic.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="topic.titlepage.before.verso"/> + <xsl:call-template name="topic.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="topic.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="appendix.titlepage.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage.separator"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="appendix.titlepage.before.recto"/> + <xsl:call-template name="appendix.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="appendix.titlepage.before.verso"/> + <xsl:call-template name="appendix.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="appendix.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="section.titlepage.verso"> +</xsl:template> + +<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="section.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="section.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="section.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="section.titlepage.before.recto"/> + <xsl:call-template name="section.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="section.titlepage.before.verso"/> + <xsl:call-template name="section.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="section.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect1info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect1info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect1.titlepage.before.recto"/> + <xsl:call-template name="sect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect1.titlepage.before.verso"/> + <xsl:call-template name="sect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect1.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect2info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect2info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect2.titlepage.before.recto"/> + <xsl:call-template name="sect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect2.titlepage.before.verso"/> + <xsl:call-template name="sect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect2.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect3info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect3info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect3.titlepage.before.recto"/> + <xsl:call-template name="sect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect3.titlepage.before.verso"/> + <xsl:call-template name="sect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect3.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect4.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect4info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect4info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect4.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect4.titlepage.before.recto"/> + <xsl:call-template name="sect4.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect4.titlepage.before.verso"/> + <xsl:call-template name="sect4.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect4.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect5.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect5info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect5info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect5.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect5.titlepage.before.recto"/> + <xsl:call-template name="sect5.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect5.titlepage.before.verso"/> + <xsl:call-template name="sect5.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect5.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="simplesect.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="bibliography.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliography.titlepage.before.recto"/> + <xsl:call-template name="bibliography.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliography.titlepage.before.verso"/> + <xsl:call-template name="bibliography.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="bibliography.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="glossary.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossary.titlepage.before.recto"/> + <xsl:call-template name="glossary.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossary.titlepage.before.verso"/> + <xsl:call-template name="glossary.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="glossary.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="index.titlepage.recto"> + <div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="indexinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="index.titlepage.verso"> +</xsl:template> + +<xsl:template name="index.titlepage.separator"> +</xsl:template> + +<xsl:template name="index.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="index.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="index.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="index.titlepage.before.recto"/> + <xsl:call-template name="index.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="index.titlepage.before.verso"/> + <xsl:call-template name="index.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="index.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="setindex.titlepage.recto"> + <div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="setindexinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="setindex.titlepage.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage.separator"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="setindex.titlepage.before.recto"/> + <xsl:call-template name="setindex.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="setindex.titlepage.before.verso"/> + <xsl:call-template name="setindex.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="setindex.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sidebar.titlepage.recto"> + <xsl:choose> + <xsl:when test="sidebarinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sidebarinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="sidebar.titlepage.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.separator"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sidebar.titlepage.before.recto"/> + <xsl:call-template name="sidebar.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sidebar.titlepage.before.verso"/> + <xsl:call-template name="sidebar.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sidebar.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:call-template name="formal.object.heading"> +<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/> +</xsl:call-template> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/html/titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.xsl new file mode 100644 index 0000000000..61301d1aef --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/titlepage.xsl @@ -0,0 +1,1123 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: titlepage.xsl 9360 2012-05-12 23:39:14Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:attribute-set name="book.titlepage.recto.style"/> +<xsl:attribute-set name="book.titlepage.verso.style"/> + +<xsl:attribute-set name="article.titlepage.recto.style"/> +<xsl:attribute-set name="article.titlepage.verso.style"/> + +<xsl:attribute-set name="set.titlepage.recto.style"/> +<xsl:attribute-set name="set.titlepage.verso.style"/> + +<xsl:attribute-set name="part.titlepage.recto.style"/> +<xsl:attribute-set name="part.titlepage.verso.style"/> + +<xsl:attribute-set name="partintro.titlepage.recto.style"/> +<xsl:attribute-set name="partintro.titlepage.verso.style"/> + +<xsl:attribute-set name="reference.titlepage.recto.style"/> +<xsl:attribute-set name="reference.titlepage.verso.style"/> + +<xsl:attribute-set name="refentry.titlepage.recto.style"/> +<xsl:attribute-set name="refentry.titlepage.verso.style"/> + +<xsl:attribute-set name="dedication.titlepage.recto.style"/> +<xsl:attribute-set name="dedication.titlepage.verso.style"/> + +<xsl:attribute-set name="acknowledgements.titlepage.recto.style"/> +<xsl:attribute-set name="acknowledgements.titlepage.verso.style"/> + +<xsl:attribute-set name="preface.titlepage.recto.style"/> +<xsl:attribute-set name="preface.titlepage.verso.style"/> + +<xsl:attribute-set name="chapter.titlepage.recto.style"/> +<xsl:attribute-set name="chapter.titlepage.verso.style"/> + +<xsl:attribute-set name="appendix.titlepage.recto.style"/> +<xsl:attribute-set name="appendix.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliography.titlepage.recto.style"/> +<xsl:attribute-set name="bibliography.titlepage.verso.style"/> + +<xsl:attribute-set name="glossary.titlepage.recto.style"/> +<xsl:attribute-set name="glossary.titlepage.verso.style"/> + +<xsl:attribute-set name="index.titlepage.recto.style"/> +<xsl:attribute-set name="index.titlepage.verso.style"/> + +<xsl:attribute-set name="setindex.titlepage.recto.style"/> +<xsl:attribute-set name="setindex.titlepage.verso.style"/> + +<xsl:attribute-set name="sidebar.titlepage.recto.style"/> +<xsl:attribute-set name="sidebar.titlepage.verso.style"/> + +<xsl:attribute-set name="topic.titlepage.recto.style"/> +<xsl:attribute-set name="topic.titlepage.verso.style"/> + +<xsl:attribute-set name="section.titlepage.recto.style"/> +<xsl:attribute-set name="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect1.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect1.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect2.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect2.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect3.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect3.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect4.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect4.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect5.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect5.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="simplesect.titlepage.recto.style" + use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="simplesect.titlepage.verso.style" + use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> +<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="titlepage.mode"> + <!-- if an element isn't found in this mode, try the default mode --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="abbrev" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="abstract" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:if test="$abstract.notitle.enabled = 0"> + <xsl:call-template name="formal.object.heading"> + <xsl:with-param name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="abstract/title" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="address" mode="titlepage.mode"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="paragraph"> + <xsl:with-param name="content"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </div> + </xsl:when> + + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="paragraph"> + <xsl:with-param name="content"> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="affiliation" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="artpagenums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="author|editor" mode="titlepage.mode"> + <xsl:call-template name="credits.div"/> +</xsl:template> + +<xsl:template name="credits.div"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)"> + <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4> + </xsl:if> + <h3> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + </xsl:otherwise> + </xsl:choose> + </h3> + <xsl:if test="not($contrib.inline.enabled = 0)"> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates mode="titlepage.mode" select="email"/> + <xsl:if test="not($blurb.on.titlepage.enabled = 0)"> + <xsl:choose> + <xsl:when test="$contrib.inline.enabled = 0"> + <xsl:apply-templates mode="titlepage.mode" + select="contrib|authorblurb|personblurb"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode" + select="authorblurb|personblurb"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </div> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="authorgroup" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="parent::refentryinfo"> + <h2>Authors</h2> + </xsl:if> + + <xsl:call-template name="anchor"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="authorinitials" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="bibliomisc" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="bibliomset" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="collab" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="collabname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </span> +</xsl:template> + +<xsl:template match="confgroup" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="confdates" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="confsponsor" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="conftitle" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="confnum" mode="titlepage.mode"> + <!-- suppress --> +</xsl:template> + +<xsl:template match="contractnum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="contractsponsor" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="contrib" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="not($contrib.inline.enabled = 0)"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </span><xsl:text> </xsl:text> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p><xsl:apply-templates mode="titlepage.mode"/></p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="copyright" mode="titlepage.mode"> + + <xsl:if test="generate-id() = generate-id(//refentryinfo/copyright[1]) + and ($stylesheet.result.type = 'html' or $stylesheet.result.type = 'xhtml')"> + <h2>Copyright</h2> + </xsl:if> + + <p> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="copyright.years"> + <xsl:with-param name="years" select="year"/> + <xsl:with-param name="print.ranges" select="$make.year.ranges"/> + <xsl:with-param name="single.year.ranges" + select="$make.single.year.ranges"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="holder" mode="titlepage.mode"/> + </p> +</xsl:template> + +<xsl:template match="year" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="holder" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="position() < last()"> + <xsl:text>, </xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="corpauthor" mode="titlepage.mode"> + <h3> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </h3> +</xsl:template> + +<xsl:template match="corpcredit" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="corpname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="date" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="edition" mode="titlepage.mode"> + <p> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Edition'"/> + </xsl:call-template> + </p> +</xsl:template> + +<xsl:template match="email" mode="titlepage.mode"> + <!-- use the normal e-mail handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="firstname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="graphic" mode="titlepage.mode"> + <!-- use the normal graphic handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="honorific" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="isbn" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="issn" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="biblioid" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="itermset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="invpartnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="issuenum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="jobtitle" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="keywordset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="legalnotice" mode="titlepage.mode"> + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:choose> + <xsl:when test="$generate.legalnotice.link != 0"> + + <!-- Compute name of legalnotice file --> + <xsl:variable name="file"> + <xsl:call-template name="ln.or.rh.filename"/> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$file"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:variable> + + <a href="{$file}"> + <xsl:copy-of select="$title"/> + </a> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="content"> + <xsl:call-template name="user.preroot"/> + <html> + <head> + <xsl:call-template name="system.head.content"/> + <xsl:call-template name="head.content"/> + <xsl:call-template name="user.head.content"/> + </head> + <body> + <xsl:call-template name="body.attributes"/> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode"/> + </div> + </body> + </html> + <xsl:value-of select="$chunk.append"/> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode"/> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="legalnotice/title" mode="titlepage.mode"> + <p class="legalnotice-title"><b><xsl:apply-templates/></b></p> +</xsl:template> + +<xsl:template match="lineage" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="modespec" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="orgdiv" mode="titlepage.mode"> + <xsl:if test="preceding-sibling::*[1][self::orgname]"> + <xsl:text> </xsl:text> + </xsl:if> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="orgname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.mode"> +<xsl:choose> + <xsl:when test="not($othercredit.like.author.enabled = 0)"> + <xsl:variable name="contrib" select="string(contrib)"/> + <xsl:choose> + <xsl:when test="contrib"> + <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + <xsl:text>: </xsl:text> + <xsl:call-template name="person.name"/> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:call-template name="person.name"/> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="credits.div"/> + </xsl:otherwise> +</xsl:choose> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.othercredits"> + <xsl:text>, </xsl:text> + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="othername" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pagenums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="printhistory" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="productname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="productnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pubdate" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="publisher" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="publishername" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pubsnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="releaseinfo" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="revhistory" mode="titlepage.mode"> + <xsl:variable name="numcols"> + <xsl:choose> + <xsl:when test=".//authorinitials|.//author">3</xsl:when> + <xsl:otherwise>2</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:variable name="title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">RevHistory</xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="contents"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <table> + <xsl:if test="$css.decoration != 0"> + <xsl:attribute name="style"> + <xsl:text>border-style:solid; width:100%;</xsl:text> + </xsl:attribute> + </xsl:if> + <!-- include summary attribute if not HTML5 --> + <xsl:if test="$div.element != 'section'"> + <xsl:attribute name="summary"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">revhistory</xsl:with-param> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + <tr> + <th align="{$direction.align.start}" valign="top" colspan="{$numcols}"> + <b> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RevHistory'"/> + </xsl:call-template> + </b> + </th> + </tr> + <xsl:apply-templates mode="titlepage.mode"> + <xsl:with-param name="numcols" select="$numcols"/> + </xsl:apply-templates> + </table> + </div> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$generate.revhistory.link != 0"> + + <!-- Compute name of revhistory file --> + <xsl:variable name="file"> + <xsl:call-template name="ln.or.rh.filename"> + <xsl:with-param name="is.ln" select="false()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$file"/> + </xsl:call-template> + </xsl:variable> + + <a href="{$file}"> + <xsl:copy-of select="$title"/> + </a> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="content"> + <xsl:call-template name="user.preroot"/> + <html> + <head> + <xsl:call-template name="system.head.content"/> + <xsl:call-template name="head.content"> + <xsl:with-param name="title"> + <xsl:value-of select="$title"/> + <xsl:if test="../../title"> + <xsl:value-of select="concat(' (', ../../title, ')')"/> + </xsl:if> + </xsl:with-param> + </xsl:call-template> + <xsl:call-template name="user.head.content"/> + </head> + <body> + <xsl:call-template name="body.attributes"/> + <xsl:copy-of select="$contents"/> + </body> + </html> + <xsl:text> </xsl:text> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$contents"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="revhistory/revision" mode="titlepage.mode"> + <xsl:param name="numcols" select="'3'"/> + <xsl:variable name="revnumber" select="revnumber"/> + <xsl:variable name="revdate" select="date"/> + <xsl:variable name="revauthor" select="authorinitials|author"/> + <xsl:variable name="revremark" select="revremark|revdescription"/> + <tr> + <td align="{$direction.align.start}"> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Revision'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> + </xsl:if> + </td> + <td align="{$direction.align.start}"> + <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> + </td> + <xsl:choose> + <xsl:when test="$revauthor"> + <td align="{$direction.align.start}"> + <xsl:for-each select="$revauthor"> + <xsl:apply-templates select="." mode="titlepage.mode"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </td> + </xsl:when> + <xsl:when test="$numcols > 2"> + <td> </td> + </xsl:when> + <xsl:otherwise></xsl:otherwise> + </xsl:choose> + </tr> + <xsl:if test="$revremark"> + <tr> + <td align="{$direction.align.start}" colspan="{$numcols}"> + <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> + </td> + </tr> + </xsl:if> +</xsl:template> + +<xsl:template match="revision/revnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/date" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/authorinitials" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/author" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revremark" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revdescription" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="shortaffil" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="subjectset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="subtitle" mode="titlepage.mode"> + <h2> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </h2> +</xsl:template> + +<xsl:template match="surname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="title" mode="titlepage.mode"> + <xsl:variable name="id"> + <xsl:choose> + <!-- if title is in an *info wrapper, get the grandparent --> + <xsl:when test="contains(local-name(..), 'info')"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="../.."/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <h1> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <a name="{$id}"/> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> + </h1> +</xsl:template> + +<xsl:template match="titleabbrev" mode="titlepage.mode"> + <!-- nop; title abbreviations don't belong on the title page! --> +</xsl:template> + +<xsl:template match="volumenum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<!-- This template computes the filename for legalnotice and revhistory chunks --> +<xsl:template name="ln.or.rh.filename"> + <xsl:param name="node" select="."/> + <xsl:param name="is.ln" select="true()"/> + + <xsl:variable name="dbhtml-filename"> + <xsl:call-template name="pi.dbhtml_filename"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <!-- 1. If there is a dbhtml_filename PI, use that --> + <xsl:when test="$dbhtml-filename != ''"> + <xsl:value-of select="$dbhtml-filename"/> + </xsl:when> + <xsl:when test="($node/@id or $node/@xml:id) and not($use.id.as.filename = 0)"> + <!-- * 2. If this legalnotice/revhistory has an ID, then go ahead and use --> + <!-- * just the value of that ID as the basename for the file --> + <!-- * (that is, without prepending an "ln-" or "rh-" to it) --> + <xsl:value-of select="($node/@id|$node/@xml:id)[1]"/> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:when test="not ($node/@id or $node/@xml:id) or $use.id.as.filename = 0"> + <!-- * 3. Otherwise, if this legalnotice/revhistory does not have an ID, or --> + <!-- * if $use.id.as.filename = 0 --> + <!-- * then we generate an ID... --> + <xsl:variable name="id"> + <xsl:value-of select="generate-id($node)"/> + </xsl:variable> + <!-- * ...and then we take that generated ID, prepend a --> + <!-- * prefix to it, and use that as the basename for the file --> + <xsl:choose> + <xsl:when test="$is.ln"> + <xsl:value-of select="concat('ln-',$id,$html.ext)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat('rh-',$id,$html.ext)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/toc.xsl b/apache-fop/src/test/resources/docbook-xsl/html/toc.xsl new file mode 100644 index 0000000000..42c89cca3f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/toc.xsl @@ -0,0 +1,352 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0'> + +<!-- ******************************************************************** + $Id: toc.xsl 9297 2012-04-22 03:56:16Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="set/toc | book/toc | part/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <xsl:apply-templates /> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to parent element --> + <xsl:for-each select="parent::*"> + <xsl:choose> + <xsl:when test="self::set"> + <xsl:call-template name="set.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::book"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::part"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> + </xsl:for-each> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:copy-of select="$content"/> + </xsl:if> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/toc | appendix/toc | preface/toc | article/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="title"/> + <dl> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="*[not(self::title)]"/> + </dl> + </div> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template match="section/toc + |sect1/toc + |sect2/toc + |sect3/toc + |sect4/toc + |sect5/toc"> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and + ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="title"/> + <dl> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="*[not(self::title)]"/> + </dl> + </div> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="section.toc"> + <xsl:with-param name="toc.title.p" + select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + </xsl:choose> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="tocpart|tocchap + |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <xsl:variable name="sub-toc"> + <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dd> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:element name="{$toc.list.type}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocchap|toclevel1|toclevel2| + toclevel3|toclevel4|toclevel5"/> + </xsl:element> + </dd> + </xsl:when> + <xsl:otherwise> + <xsl:element name="{$toc.list.type}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocchap|toclevel1|toclevel2| + toclevel3|toclevel4|toclevel5"/> + </xsl:element> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:apply-templates select="tocentry[position() != last()]"/> + + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dt> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocentry[position() = last()]"/> + </dt> + <xsl:copy-of select="$sub-toc"/> + </xsl:when> + <xsl:otherwise> + <li> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocentry[position() = last()]"/> + <xsl:copy-of select="$sub-toc"/> + </li> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="tocentry|tocdiv|lotentry|tocfront|tocback"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dt> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="tocentry-content"/> + </dt> + </xsl:when> + <xsl:otherwise> + <li> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="tocentry-content"/> + </li> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="tocentry[position() = last()]" priority="2"> + <xsl:call-template name="tocentry-content"/> +</xsl:template> + +<xsl:template name="tocentry-content"> + <xsl:variable name="targets" select="key('id',@linkend)"/> + <xsl:variable name="target" select="$targets[1]"/> + + <xsl:choose> + <xsl:when test="@linkend"> + <xsl:call-template name="check.id.unique"> + <xsl:with-param name="linkend" select="@linkend"/> + </xsl:call-template> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates/> + </a> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="toc/title"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="toc/subtitle"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="toc/titleabbrev"> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- A lot element must have content, because there is no attribute + to select what kind of list should be generated --> +<xsl:template match="book/lot | part/lot"> + <!-- Don't generate a page sequence unless there is content --> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates /> + </div> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:copy-of select="$content"/> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/lot | appendix/lot | preface/lot | article/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates /> + </div> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="section/lot + |sect1/lot + |sect2/lot + |sect3/lot + |sect4/lot + |sect5/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="process.empty.lot"> + <!-- An empty lot element does not provide any information to indicate + what should be included in it. You can customize this + template to generate a lot based on @role or something --> + <xsl:message> + <xsl:text>Warning: don't know what to generate for </xsl:text> + <xsl:text>lot that has no children.</xsl:text> + </xsl:message> +</xsl:template> + +<xsl:template match="lot/title"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="lot/subtitle"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="lot/titleabbrev"> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/verbatim.xsl b/apache-fop/src/test/resources/docbook-xsl/html/verbatim.xsl new file mode 100644 index 0000000000..7db9a9c6f7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/verbatim.xsl @@ -0,0 +1,410 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" + xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" + xmlns:lxslt="http://xml.apache.org/xslt" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="sverb xverb lxslt exsl" + version='1.0'> + +<!-- ******************************************************************** + $Id: verbatim.xsl 9589 2012-09-02 20:52:15Z tom_schr $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- XSLTHL highlighting is turned off by default. See highlighting/README + for instructions on how to turn on XSLTHL --> +<xsl:template name="apply-highlighting"> + <xsl:apply-templates/> +</xsl:template> + +<lxslt:component prefix="xverb" + functions="numberLines"/> + +<xsl:template match="programlisting|screen|synopsis"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:call-template name="anchor"/> + + <xsl:variable name="div.element">pre</xsl:variable> + + <xsl:if test="$shade.verbatim != 0"> + <xsl:message> + <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> + <xsl:text>Use CSS instead,</xsl:text> + </xsl:message> + <xsl:message> + <xsl:text>for example: pre.</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> { background-color: #E0E0E0; }</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <xsl:variable name="rtf"> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:element name="{$div.element}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="@width != ''"> + <xsl:attribute name="width"> + <xsl:value-of select="@width"/> + </xsl:attribute> + </xsl:if> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:element> + </xsl:when> + <xsl:otherwise> + <xsl:element name="{$div.element}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="@width != ''"> + <xsl:attribute name="width"> + <xsl:value-of select="@width"/> + </xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="literallayout"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates/> + </xsl:variable> + + <xsl:if test="$shade.verbatim != 0 and @class='monospaced'"> + <xsl:message> + <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> + <xsl:text>Use CSS instead,</xsl:text> + </xsl:message> + <xsl:message> + <xsl:text>for example: pre.</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> { background-color: #E0E0E0; }</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <xsl:choose> + <xsl:when test="@class='monospaced'"> + <pre> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </pre> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="@class='monospaced'"> + <pre> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$rtf"/> + </pre> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="address"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' + and @linenumbering = 'numbered' + and $use.extensions != '0' + and $linenumbering.extension != '0'"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:when> + + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="number.rtf.lines"> + <xsl:param name="rtf" select="''"/> + <xsl:param name="pi.context" select="."/> + + <!-- Save the global values --> + <xsl:variable name="global.linenumbering.everyNth" + select="$linenumbering.everyNth"/> + + <xsl:variable name="global.linenumbering.separator" + select="$linenumbering.separator"/> + + <xsl:variable name="global.linenumbering.width" + select="$linenumbering.width"/> + + <!-- Extract the <?dbhtml linenumbering.*?> PI values --> + <xsl:variable name="pi.linenumbering.everyNth"> + <xsl:call-template name="pi.dbhtml_linenumbering.everyNth"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.separator"> + <xsl:call-template name="pi.dbhtml_linenumbering.separator"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.width"> + <xsl:call-template name="pi.dbhtml_linenumbering.width"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <!-- Construct the 'in-context' values --> + <xsl:variable name="linenumbering.everyNth"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.everyNth != ''"> + <xsl:value-of select="$pi.linenumbering.everyNth"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.everyNth"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.separator"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.separator != ''"> + <xsl:value-of select="$pi.linenumbering.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.separator"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.width"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.width != ''"> + <xsl:value-of select="$pi.linenumbering.width"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.startinglinenumber"> + <xsl:choose> + <xsl:when test="$pi.context/@startinglinenumber"> + <xsl:value-of select="$pi.context/@startinglinenumber"/> + </xsl:when> + <xsl:when test="$pi.context/@continuation='continues'"> + <xsl:variable name="lastLine"> + <xsl:choose> + <xsl:when test="$pi.context/self::programlisting"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::programlisting[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::screen"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::screen[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::literallayout"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::literallayout[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::address"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::address[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::synopsis"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" + select="preceding::synopsis[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Unexpected verbatim environment: </xsl:text> + <xsl:value-of select="local-name($pi.context)"/> + </xsl:message> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="$lastLine + 1"/> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="function-available('sverb:numberLines')"> + <xsl:copy-of select="sverb:numberLines($rtf)"/> + </xsl:when> + <xsl:when test="function-available('xverb:numberLines')"> + <xsl:copy-of select="xverb:numberLines($rtf)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No numberLines function available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="make-verbatim"> + <xsl:param name="rtf"/> + + <!-- I want to make this RTF verbatim. There are two possibilities: either + I have access to the exsl:node-set extension function and I can "do it right" + or I have to rely on CSS. --> + + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($rtf)" mode="make.verbatim.mode"/> + </xsl:when> + <xsl:otherwise> + <span style="white-space: pre;"> + <xsl:copy-of select="$rtf"/> + </span> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ======================================================================== --> + +<xsl:template name="lastLineNumber"> + <xsl:param name="listings"/> + <xsl:param name="number" select="0"/> + + <xsl:variable name="lines"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="string($listings[1])"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not($listings)"> + <xsl:value-of select="$number"/> + </xsl:when> + <xsl:when test="$listings[1]/@startinglinenumber"> + <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/> + </xsl:when> + <xsl:when test="$listings[1]/@continuation='continues'"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="$listings[position() > 1]"/> + <xsl:with-param name="number" select="$number + $lines"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$lines"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="countLines"> + <xsl:param name="listing"/> + <xsl:param name="count" select="1"/> + + <xsl:choose> + <xsl:when test="contains($listing, ' ')"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="substring-after($listing, ' ')"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$count"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/html/xref.xsl b/apache-fop/src/test/resources/docbook-xsl/html/xref.xsl new file mode 100644 index 0000000000..0f8ab2b3dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/html/xref.xsl @@ -0,0 +1,1312 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" + xmlns:exsl="http://exslt.org/common" + xmlns:xlink='http://www.w3.org/1999/xlink' + exclude-result-prefixes="suwl exsl xlink" + version='1.0'> + +<!-- ******************************************************************** + $Id: xref.xsl 9713 2013-01-22 22:08:30Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- Use internal variable for olink xlink role for consistency --> +<xsl:variable + name="xolink.role">http://docbook.org/xlink/role/olink</xsl:variable> + +<!-- ==================================================================== --> + +<xsl:template match="anchor"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <xsl:call-template name="anchor"/> + </xsl:when> + <xsl:otherwise> + <span> + <xsl:call-template name="id.attribute"/> + </span> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="xref" name="xref"> + <xsl:param name="xhref" select="@xlink:href"/> + <!-- is the @xlink:href a local idref link? --> + <xsl:param name="xlink.idref"> + <xsl:if test="starts-with($xhref,'#') + and (not(contains($xhref,'(')) + or starts-with($xhref, '#xpointer(id('))"> + <xsl:call-template name="xpointer.idref"> + <xsl:with-param name="xpointer" select="$xhref"/> + </xsl:call-template> + </xsl:if> + </xsl:param> + <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/> + <xsl:param name="linkend.targets" select="key('id',@linkend)"/> + <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> + + <xsl:variable name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) + and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="anchor"/> + + <xsl:variable name="content"> + <xsl:choose> + + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="$target"> + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + </xsl:apply-templates> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:when> + + <xsl:otherwise> + <xsl:message> + <xsl:text>ERROR: xref linking to </xsl:text> + <xsl:value-of select="@linkend|@xlink:href"/> + <xsl:text> has no generated link text.</xsl:text> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + +</xsl:template> + +<!-- ==================================================================== --> + +<!-- biblioref handled largely like an xref --> +<!-- To be done: add support for begin, end, and units attributes --> +<xsl:template match="biblioref"> + <xsl:variable name="targets" select="key('id',@linkend)"/> + <xsl:variable name="target" select="$targets[1]"/> + <xsl:variable name="refelem" select="local-name($target)"/> + + <xsl:call-template name="check.id.unique"> + <xsl:with-param name="linkend" select="@linkend"/> + </xsl:call-template> + + <xsl:call-template name="anchor"/> + + <xsl:choose> + <xsl:when test="count($target) = 0"> + <xsl:message> + <xsl:text>XRef to nonexistent id: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + + <xsl:when test="@endterm"> + <xsl:variable name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:text>???</xsl:text> + </a> + </xsl:when> + <xsl:otherwise> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </a> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <a> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:variable name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <a href="{$href}"> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:if test="$target/title or $target/info/title"> + <xsl:attribute name="title"> + <xsl:apply-templates select="$target" mode="xref-title"/> + </xsl:attribute> + </xsl:if> + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:apply-templates> + </a> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="endterm"> + <!-- Process the children of the endterm element --> + <xsl:variable name="endterm"> + <xsl:apply-templates select="child::node()" mode="no.anchor.mode"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$endterm"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="remove-ids"> + <xsl:choose> + <!-- handle html or xhtml --> + <xsl:when test="local-name(.) = 'a' + and (namespace-uri(.) = '' + or namespace-uri(.) = 'http://www.w3.org/1999/xhtml')"> + <xsl:choose> + <xsl:when test="(@name and count(@*) = 1) + or (@id and count(@*) = 1) + or (@xml:id and count(@*) = 1) + or (@xml:id and @name and count(@*) = 2) + or (@id and @name and count(@*) = 2)"> + <xsl:message>suppress anchor</xsl:message> + <!-- suppress the whole thing --> + </xsl:when> + <xsl:otherwise> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="local-name(.) != 'name' and local-name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of + select="local-name(.)"/></xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + </xsl:copy> + <xsl:apply-templates mode="remove-ids"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="local-name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of + select="local-name(.)"/></xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + <xsl:apply-templates mode="remove-ids"/> + </xsl:copy> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="xref-to-prefix"/> +<xsl:template match="*" mode="xref-to-suffix"/> + +<xsl:template match="*" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:if test="$verbose"> + <xsl:message> + <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>", ("</xsl:text> + <xsl:value-of select="(@id|@xml:id)[1]"/> + <xsl:text>")</xsl:text> + </xsl:message> + </xsl:if> + <xsl:text>???</xsl:text> +</xsl:template> + +<xsl:template match="title" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- if you xref to a title, xref to the parent... --> + <xsl:choose> + <!-- FIXME: how reliable is this? --> + <xsl:when test="contains(local-name(parent::*), 'info')"> + <xsl:apply-templates select="parent::*[2]" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="parent::*" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="abstract|authorblurb|personblurb|bibliodiv|bibliomset + |biblioset|blockquote|calloutlist|caution|colophon + |constraintdef|formalpara|glossdiv|important|indexdiv + |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain + |msgrel|msgset|msgsub|note|orderedlist|partintro + |productionset|qandadiv|refsynopsisdiv|screenshot|segmentedlist + |set|setindex|sidebar|tip|toc|variablelist|warning" + mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- catch-all for things with (possibly optional) titles --> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="author|editor|othercredit|personname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="person.name.list"/> +</xsl:template> + +<xsl:template match="figure|example|table|equation" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="procedure" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="task" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="cmdsynopsis" mode="xref-to"> + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="funcsynopsis" mode="xref-to"> + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="dedication|acknowledgements|preface|chapter|appendix|article" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bibliography" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix"> + <xsl:text>[</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix"> + <xsl:text>]</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- handles both biblioentry and bibliomixed --> + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="id" select="(@id|@xml:id)[1]"/> + <xsl:variable name="entry" select="$bib/bibliography/ + *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> + <xsl:apply-templates select="$entry/*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" + level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossary" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="glossentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + <xsl:choose> + <xsl:when test="$glossentry.show.acronym = 'primary'"> + <xsl:choose> + <xsl:when test="acronym|abbrev"> + <xsl:apply-templates select="(acronym|abbrev)[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossterm|firstterm" mode="xref-to"> + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="index" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="listitem" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="section|simplesect + |sect1|sect2|sect3|sect4|sect5 + |refsect1|refsect2|refsect3|refsection" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- FIXME: What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="topic" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bridgehead" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- FIXME: What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="qandaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="qandaentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="question[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="question|answer" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="string-length(label) != 0"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="part|reference" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:choose> + <xsl:when test="refmeta/refentrytitle"> + <xsl:apply-templates select="refmeta/refentrytitle" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="refnamediv/refname[1]" mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="refmeta/manvolnum" mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="refnamediv" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="refname[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates mode="xref-to"/> +</xsl:template> + +<xsl:template match="step" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="varlistentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="term[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="primary|secondary|tertiary" mode="xref-to"> + <xsl:value-of select="."/> +</xsl:template> + +<xsl:template match="indexterm" mode="xref-to"> + <xsl:value-of select="primary"/> +</xsl:template> + +<xsl:template match="varlistentry/term" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="co" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:apply-templates select="." mode="callout-bug"/> +</xsl:template> + +<xsl:template match="area|areaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="callout-bug"> + <xsl:with-param name="conum"> + <xsl:apply-templates select="." mode="conumber"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="book" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<!-- These are elements for which no link text exists, so an xref to one + uses the xrefstyle attribute if specified, or if not it falls back + to the container element's link text --> +<xsl:template match="para|phrase|simpara|anchor|quote" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:variable name="context" select="(ancestor::simplesect + |ancestor::section + |ancestor::sect1 + |ancestor::sect2 + |ancestor::sect3 + |ancestor::sect4 + |ancestor::sect5 + |ancestor::topic + |ancestor::refsection + |ancestor::refsect1 + |ancestor::refsect2 + |ancestor::refsect3 + |ancestor::chapter + |ancestor::appendix + |ancestor::preface + |ancestor::partintro + |ancestor::dedication + |ancestor::acknowledgements + |ancestor::colophon + |ancestor::bibliography + |ancestor::index + |ancestor::glossary + |ancestor::glossentry + |ancestor::listitem + |ancestor::varlistentry)[last()]"/> + + <xsl:choose> + <xsl:when test="$xrefstyle != ''"> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$context" mode="xref-to"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="author" mode="xref-title"> + <xsl:variable name="title"> + <xsl:call-template name="person.name"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="xref-title"> + <xsl:variable name="title"> + <xsl:call-template name="person.name.list"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="cmdsynopsis" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="funcsynopsis" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-title"> + <!-- handles both biblioentry and bibliomixed --> + <xsl:variable name="title"> + <xsl:text>[</xsl:text> + <xsl:choose> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + <xsl:text>]</xsl:text> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="step" mode="xref-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="step[not(./title)]" mode="title.markup"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="co" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="callout-bug"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="link" name="link"> + <xsl:param name="linkend" select="@linkend"/> + <xsl:param name="a.target"/> + <xsl:param name="xhref" select="@xlink:href"/> + + <xsl:variable name="content"> + <xsl:call-template name="anchor"/> + <xsl:choose> + <xsl:when test="count(child::node()) > 0"> + <!-- If it has content, use it --> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:when> + <!-- else look for an endterm --> + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- Use the xlink:href if no other text --> + <xsl:when test="@xlink:href"> + <xsl:value-of select="@xlink:href"/> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Link element has no content and no Endterm. </xsl:text> + <xsl:text>Nothing to show in the link to </xsl:text> + <xsl:value-of select="(@xlink:href|@linkend)[1]"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="linkend" select="$linkend"/> + <xsl:with-param name="content" select="$content"/> + <xsl:with-param name="a.target" select="$a.target"/> + <xsl:with-param name="xhref" select="$xhref"/> + </xsl:call-template> + +</xsl:template> + +<xsl:template match="ulink" name="ulink"> + <xsl:param name="url" select="@url"/> + <xsl:variable name="link"> + <a> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:if test="@id or @xml:id"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <xsl:attribute name="name"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="id"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute> + <xsl:if test="$ulink.target != ''"> + <xsl:attribute name="target"> + <xsl:value-of select="$ulink.target"/> + </xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="count(child::node())=0"> + <xsl:value-of select="$url"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> + </a> + </xsl:variable> + + <xsl:choose> + <xsl:when test="function-available('suwl:unwrapLinks')"> + <xsl:copy-of select="suwl:unwrapLinks($link)"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$link"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="olink" name="olink"> + <!-- olink content may be passed in from xlink olink --> + <xsl:param name="content" select="NOTANELEMENT"/> + + <xsl:call-template name="anchor"/> + + <xsl:choose> + <!-- olinks resolved by stylesheet and target database --> + <xsl:when test="@targetdoc or @targetptr or + (@xlink:role=$xolink.role and + contains(@xlink:href, '#') )" > + + <xsl:variable name="targetdoc.att"> + <xsl:choose> + <xsl:when test="@targetdoc != ''"> + <xsl:value-of select="@targetdoc"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and + contains(@xlink:href, '#')" > + <xsl:value-of select="substring-before(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="targetptr.att"> + <xsl:choose> + <xsl:when test="@targetptr != ''"> + <xsl:value-of select="@targetptr"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and + contains(@xlink:href, '#')" > + <xsl:value-of select="substring-after(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="xref-context" select="true()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database.filename"> + <xsl:call-template name="select.target.database"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database" + select="document($target.database.filename,/)"/> + + <xsl:if test="$olink.debug != 0"> + <xsl:message> + <xsl:text>Olink debug: root element of target.database '</xsl:text> + <xsl:value-of select="$target.database.filename"/> + <xsl:text>' is '</xsl:text> + <xsl:value-of select="local-name($target.database/*[1])"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="olink.key"> + <xsl:call-template name="select.olink.key"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="string-length($olink.key) = 0"> + <xsl:message> + <xsl:text>Error: unresolved olink: </xsl:text> + <xsl:text>targetdoc/targetptr = '</xsl:text> + <xsl:value-of select="$targetdoc.att"/> + <xsl:text>/</xsl:text> + <xsl:value-of select="$targetptr.att"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="href"> + <xsl:call-template name="make.olink.href"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="hottext"> + <xsl:choose> + <xsl:when test="string-length($content) != 0"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="olink.hottext"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.docname.citation"> + <xsl:call-template name="olink.document.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="olink.page.citation"> + <xsl:call-template name="olink.page.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$href != ''"> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$hottext"/> + </a> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:when> + <xsl:otherwise> + <span class="olink"> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$hottext"/> + </span> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:otherwise> + </xsl:choose> + + </xsl:when> + + <xsl:otherwise> + <xsl:choose> + <xsl:when test="@linkmode or @targetdocent or @localinfo"> + <!-- old olink mechanism --> + <xsl:message> + <xsl:text>ERROR: olink using obsolete attributes </xsl:text> + <xsl:text>@linkmode, @targetdocent, @localinfo are </xsl:text> + <xsl:text>not supported.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>ERROR: olink is missing linking attributes.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="pagenumber.markup"> + <!-- no-op in HTML --> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="xref.xreflabel"> + <!-- called to process an xreflabel...you might use this to make --> + <!-- xreflabels come out in the right font for different targets, --> + <!-- for example. --> + <xsl:param name="target" select="."/> + <xsl:value-of select="$target/@xreflabel"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="title" mode="xref"> + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="command" mode="xref"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="function" mode="xref"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <xsl:copy-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="chapter|appendix" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <i> + <xsl:copy-of select="$title"/> + </i> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="insert.subtitle.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="subtitle"/> + + <xsl:copy-of select="$subtitle"/> +</xsl:template> + +<xsl:template match="*" mode="insert.label.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="label"/> + + <xsl:copy-of select="$label"/> +</xsl:template> + +<xsl:template match="*" mode="insert.pagenumber.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="pagenumber"/> + + <xsl:copy-of select="$pagenumber"/> +</xsl:template> + +<xsl:template match="*" mode="insert.direction.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="direction"/> + + <xsl:copy-of select="$direction"/> +</xsl:template> + +<xsl:template match="*" mode="insert.olink.docname.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="docname"/> + + <span class="olinkdocname"> + <xsl:copy-of select="$docname"/> + </span> + +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp-common.xsl b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp-common.xsl new file mode 100644 index 0000000000..7de86c4e85 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp-common.xsl @@ -0,0 +1,1120 @@ +<?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY lf '<xsl:text xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> </xsl:text>'> +]> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:exsl="http://exslt.org/common" + xmlns:set="http://exslt.org/sets" + xmlns:h="urn:x-hex" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + version="1.0" + exclude-result-prefixes="doc exsl set h db ng"> + +<!-- ******************************************************************** + $Id: htmlhelp-common.xsl 9151 2011-11-12 00:16:19Z bobstayton $ + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- Customizations of standard HTML stylesheet parameters --> + +<!-- no navigation on pages by default, HTML Help provides its own navigation controls --> +<xsl:param name="suppress.navigation" select="1"/> + +<!-- no separate HTML page with index, index is built inside CHM index pane --> +<xsl:param name="generate.index" select="0"/> + +<!-- ==================================================================== --> + +<xsl:param name="htmlhelp.generate.index" select="//indexterm[1]|//db:indexterm[1]|//ng:indexterm[1]"/> + +<!-- Set up HTML Help flag --> +<xsl:variable name="htmlhelp.output" select="1"/> + +<!-- ==================================================================== --> + +<xsl:template match="/"> + + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>stripped namespace before processing</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:variable name="nons"> + <xsl:apply-templates mode="stripNS"/> + </xsl:variable> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>processing stripped document</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates select="exsl:node-set($nons)"/> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$htmlhelp.only != 1"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:choose> + <xsl:when test="count(key('id',$rootid)) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message> + <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or + $collect.xref.targets = 'only'"> + <xsl:apply-templates select="/" mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="/" mode="process.root"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:call-template name="hhp"/> + <xsl:call-template name="hhc"/> + <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or + ($rootid != '' and key('id',$rootid)//processing-instruction('dbhh'))"> + <xsl:call-template name="hh-map"/> + <xsl:call-template name="hh-alias"/> + </xsl:if> + <xsl:if test="$htmlhelp.generate.index"> + <xsl:call-template name="hhk"/> + </xsl:if> + </xsl:if> +</xsl:otherwise> +</xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hhp"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhp"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:call-template name="hhp-main"/> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="hhp-main"> + + <xsl:variable name="raw.help.title"> + <xsl:choose> + <xsl:when test="$htmlhelp.title = ''"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="title.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/*" mode="title.markup"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$htmlhelp.title"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="help.title" select="normalize-space($raw.help.title)"/> + +<xsl:variable name="default.topic"> + <xsl:choose> + <xsl:when test="$htmlhelp.default.topic != ''"> + <xsl:value-of select="$htmlhelp.default.topic"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="chunk-filename"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="chunk-filename"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:variable> +<xsl:variable name="xnavigation"> + <xsl:text>0x</xsl:text> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="9504 + $htmlhelp.show.menu * 65536 + + $htmlhelp.show.advanced.search * 131072 + + $htmlhelp.show.favorities * 4096 + + (1 - $htmlhelp.show.toolbar.text) * 64 + + $htmlhelp.remember.window.position * 262144"/> + </xsl:call-template> +</xsl:variable> +<xsl:variable name="xbuttons"> + <xsl:text>0x</xsl:text> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="0 + $htmlhelp.button.hideshow * 2 + + $htmlhelp.button.back * 4 + + $htmlhelp.button.forward * 8 + + $htmlhelp.button.stop * 16 + + $htmlhelp.button.refresh * 32 + + $htmlhelp.button.home * 64 + + $htmlhelp.button.options * 4096 + + $htmlhelp.button.print * 8192 + + $htmlhelp.button.locate * 2048 + + $htmlhelp.button.jump1 * 262144 + + $htmlhelp.button.jump2 * 524288 + + $htmlhelp.button.next * 2097152 + + $htmlhelp.button.prev * 4194304 + + $htmlhelp.button.zoom * 1048576"/> + </xsl:call-template> +</xsl:variable> +<xsl:text>[OPTIONS] +</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> +<xsl:text>Auto Index=Yes +</xsl:text></xsl:if> +<xsl:if test="$htmlhelp.hhc.binary != 0"> +<xsl:text>Binary TOC=Yes +</xsl:text></xsl:if> +<xsl:text>Compatibility=1.1 or later +Compiled file=</xsl:text><xsl:value-of select="$htmlhelp.chm"/><xsl:text> +Contents file=</xsl:text><xsl:value-of select="$htmlhelp.hhc"/><xsl:text> +</xsl:text> +<xsl:if test="$htmlhelp.hhp.window != ''"> +<xsl:text>Default Window=</xsl:text><xsl:value-of select="$htmlhelp.hhp.window"/><xsl:text> +</xsl:text></xsl:if> +<xsl:text>Default topic=</xsl:text><xsl:value-of select="$default.topic"/> +<xsl:text> +Display compile progress=</xsl:text> + <xsl:choose> + <xsl:when test="$htmlhelp.display.progress != 1"> + <xsl:text>No</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>Yes</xsl:text> + </xsl:otherwise> + </xsl:choose> +<xsl:text> +Full-text search=Yes +</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> +<xsl:text>Index file=</xsl:text><xsl:value-of select="$htmlhelp.hhk"/><xsl:text> +</xsl:text></xsl:if> +<xsl:text>Language=</xsl:text> +<xsl:for-each select="*"> <!-- Change context from / to root element --> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'htmlhelp'"/> + <xsl:with-param name="name" select="'langcode'"/> + </xsl:call-template> +</xsl:for-each> +<xsl:text> +Title=</xsl:text> + <xsl:value-of select="$help.title"/> +<xsl:text> +Enhanced decompilation=</xsl:text> + <xsl:choose> + <xsl:when test="$htmlhelp.enhanced.decompilation != 0"> + <xsl:text>Yes</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>No</xsl:text> + </xsl:otherwise> + </xsl:choose> + +<xsl:if test="$htmlhelp.hhp.window != ''"> + <xsl:text> + +[WINDOWS] +</xsl:text> +<xsl:value-of select="$htmlhelp.hhp.window"/> +<xsl:text>="</xsl:text> +<xsl:value-of select="$help.title"/> +<xsl:text>","</xsl:text><xsl:value-of select="$htmlhelp.hhc"/> +<xsl:text>",</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.hhk"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,"</xsl:text> +<xsl:value-of select="$default.topic"/> +<xsl:text>",</xsl:text> +<xsl:text>"</xsl:text> +<xsl:choose> + <xsl:when test="$htmlhelp.button.home != 0"> + <xsl:value-of select="$htmlhelp.button.home.url"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$default.topic"/> + </xsl:otherwise> +</xsl:choose> +<xsl:text>"</xsl:text> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump1 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump1.url"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump1 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump1.title"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump2 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump2.url"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump2 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump2.title"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:value-of select="$xnavigation"/> +<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.hhc.width"/><xsl:text>,</xsl:text> +<xsl:value-of select="$xbuttons"/> +<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.window.geometry"/><xsl:text>,,,,,,,0 +</xsl:text> +</xsl:if> + +<!-- + Needs more investigation to generate propetly all fields +<xsl:text>search="</xsl:text> +<xsl:value-of select="normalize-space(//title[1])"/> +<xsl:text>","toc.hhc","index.hhk","</xsl:text> +<xsl:value-of select="$root.filename"/> +<xsl:text>.html","</xsl:text> +<xsl:value-of select="$root.filename"/> +<xsl:text>.html",,,,,</xsl:text> +<xsl:value-of select="$xnavigation"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$htmlhelp.hhc.width"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$xbuttons"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$htmlhelp.window.geometry"/> +<xsl:text>,,,,,2,,0 +</xsl:text> +--> + +<xsl:if test="$htmlhelp.hhp.windows"> + <xsl:value-of select="$htmlhelp.hhp.windows"/> +</xsl:if> +<xsl:text> + +[FILES] +</xsl:text> + +<xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="enumerate-files"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="enumerate-files"/> + </xsl:otherwise> +</xsl:choose> + +<xsl:if test="$htmlhelp.enumerate.images"> + <xsl:variable name="imagelist"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="enumerate-images"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="enumerate-images"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0 + and function-available('set:distinct')"> + <xsl:for-each select="set:distinct(exsl:node-set($imagelist)/filename)"> + <xsl:value-of select="."/> + <xsl:text> </xsl:text> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$imagelist"/> + </xsl:otherwise> + </xsl:choose> +</xsl:if> + +<xsl:if test="($htmlhelp.force.map.and.alias != 0) or + ($rootid = '' and //processing-instruction('dbhh')) or + ($rootid != '' and key('id',$rootid)//processing-instruction('dbhh'))"> + <xsl:text> +[ALIAS] +#include </xsl:text><xsl:value-of select="$htmlhelp.alias.file"/><xsl:text> + +[MAP] +#include </xsl:text><xsl:value-of select="$htmlhelp.map.file"/><xsl:text> +</xsl:text> +</xsl:if> + +<xsl:value-of select="$htmlhelp.hhp.tail"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="graphic|inlinegraphic[@format!='linespecific']" mode="enumerate-images"> + <xsl:call-template name="write.filename.enumerate-images"> + <xsl:with-param name="filename"> + <xsl:call-template name="mediaobject.filename.enumerate-images"> + <xsl:with-param name="object" select="."/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="mediaobject|inlinemediaobject" mode="enumerate-images"> + <xsl:call-template name="select.mediaobject.enumerate-images"/> +</xsl:template> + +<xsl:template name="select.mediaobject.enumerate-images"> + <xsl:param name="olist" + select="imageobject|imageobjectco + |videoobject|audioobject|textobject"/> + <xsl:param name="count">1</xsl:param> + + <xsl:if test="$count <= count($olist)"> + <xsl:variable name="object" select="$olist[position()=$count]"/> + + <xsl:variable name="useobject"> + <xsl:choose> + <!-- The phrase is never used --> + <xsl:when test="name($object)='textobject' and $object/phrase"> + <xsl:text>0</xsl:text> + </xsl:when> + <!-- The first textobject is a reasonable fallback (but not for image in HH) --> + <xsl:when test="name($object)='textobject'"> + <xsl:text>0</xsl:text> + </xsl:when> + <!-- If there's only one object, use it --> + <xsl:when test="$count = 1 and count($olist) = 1"> + <xsl:text>1</xsl:text> + </xsl:when> + <!-- Otherwise, see if this one is a useable graphic --> + <xsl:otherwise> + <xsl:choose> + <!-- peek inside imageobjectco to simplify the test --> + <xsl:when test="local-name($object) = 'imageobjectco'"> + <xsl:call-template name="is.acceptable.mediaobject"> + <xsl:with-param name="object" select="$object/imageobject"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="is.acceptable.mediaobject"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$useobject='1' and $object[not(*/@format='linespecific')]"> + <xsl:call-template name="write.filename.enumerate-images"> + <xsl:with-param name="filename"> + <xsl:call-template name="mediaobject.filename.enumerate-images"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="select.mediaobject.enumerate-images"> + <xsl:with-param name="olist" select="$olist"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template name="mediaobject.filename.enumerate-images"> + <xsl:param name="object"/> + + <xsl:variable name="urifilename"> + <xsl:call-template name="mediaobject.filename"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:choose> + <xsl:when test="starts-with($urifilename, 'file:/')"> + <xsl:value-of select="substring-after($urifilename, 'file:/')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$urifilename"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="translate($filename, '/', '\')"/> + +</xsl:template> + +<xsl:template match="text()" mode="enumerate-images"> +</xsl:template> + +<xsl:template name="write.filename.enumerate-images"> + <xsl:param name="filename"/> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')"> + <filename><xsl:value-of select="$filename"/></filename> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$filename"/> + <xsl:text> </xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- HHC and HHK files are processed by compiler line by line + and therefore are very sensitive to whitespaces (linefeeds for sure). --> + +<xsl:template name="hhc"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhc"/> + </xsl:with-param> + <xsl:with-param name="indent" select="'no'"/> + <xsl:with-param name="content"> + <xsl:call-template name="hhc-main"/> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="hhc-main"> +<HTML>&lf; + <HEAD></HEAD>&lf; + <BODY>&lf; + <xsl:if test="$htmlhelp.hhc.folders.instead.books != 0"> + <OBJECT type="text/site properties">&lf; + <param name="ImageType" value="Folder"/>&lf; + </OBJECT>&lf; + </xsl:if> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="hhc"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="hhc"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$htmlhelp.hhc.show.root != 0"> + <UL>&lf; + <xsl:copy-of select="$content"/> + </UL>&lf; + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> + + </BODY> +</HTML> +</xsl:template> + +<xsl:template name="hhc.entry"> + <xsl:param name="title"> + <xsl:if test="$htmlhelp.autolabel=1"> + <xsl:variable name="label.markup"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + <xsl:if test="normalize-space($label.markup)"> + <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> + </xsl:if> + </xsl:if> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:param> + + <LI><OBJECT type="text/sitemap">&lf; + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </param>&lf; + <param name="Local"> + <xsl:attribute name="value"> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:attribute> + </param> + </OBJECT></LI>&lf; +</xsl:template> + +<xsl:template match="set" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="book"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <UL> + <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0"> + <LI><OBJECT type="text/sitemap">&lf; + <param name="Name"> + <xsl:attribute name="value"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </param>&lf; + <param name="Local"> + <xsl:attribute name="value"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0"> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + </param> + </OBJECT></LI>&lf; + </xsl:if> + <xsl:apply-templates select="book" mode="hhc"/> + </UL>&lf; + </xsl:if> +</xsl:template> + +<xsl:template match="book" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon|glossary"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <UL> + <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0 and not(parent::*)"> + <LI><OBJECT type="text/sitemap">&lf; + <param name="Name"> + <xsl:attribute name="value"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </param>&lf; + <param name="Local"> + <xsl:attribute name="value"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0"> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + </param> + </OBJECT></LI>&lf; + </xsl:if> + <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon|glossary" + mode="hhc"/> + </UL>&lf; + </xsl:if> +</xsl:template> + +<xsl:template match="part|reference|preface|chapter|bibliography|appendix|article|glossary" + mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv"> + <UL>&lf; + <xsl:apply-templates + select="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="section" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="section[count(ancestor::section) < $htmlhelp.hhc.section.depth]|refentry"> + <UL>&lf; + <xsl:apply-templates select="section|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect1" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect2[$htmlhelp.hhc.section.depth > 1]|refentry"> + <UL>&lf; + <xsl:apply-templates select="sect2|refentry" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect2" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect3[$htmlhelp.hhc.section.depth > 2]|refentry"> + <UL>&lf; + <xsl:apply-templates select="sect3|refentry" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect3" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect4[$htmlhelp.hhc.section.depth > 3]|refentry"> + <UL>&lf; + <xsl:apply-templates select="sect4|refentry" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect4" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect5[$htmlhelp.hhc.section.depth > 4]|refentry"> + <UL>&lf; + <xsl:apply-templates select="sect5|refentry" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect5|refentry|colophon|bibliodiv" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="refentry"> + <UL>&lf; + <xsl:apply-templates select="refentry" + mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="indexterm"> + <xsl:choose> + <xsl:when test="$htmlhelp.use.hhk = 0"> + + <xsl:variable name="primary" select="normalize-space(primary)"/> + <xsl:variable name="secondary" select="normalize-space(secondary)"/> + <xsl:variable name="tertiary" select="normalize-space(tertiary)"/> + + <xsl:variable name="text"> + <xsl:value-of select="$primary"/> + <xsl:if test="secondary"> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + </xsl:if> + <xsl:if test="tertiary"> + <xsl:text>, </xsl:text> + <xsl:value-of select="$tertiary"/> + </xsl:if> + </xsl:variable> + + <xsl:if test="secondary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])"> + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="$primary"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + + <xsl:if test="tertiary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and + normalize-space(secondary)=$secondary and not(tertiary)])"> + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="concat($primary, ', ', $secondary)"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="$text"/> + </xsl:call-template> + + </xsl:when> + <xsl:otherwise> + <a> + <xsl:attribute name="name"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + </a> + </xsl:otherwise> + + </xsl:choose> +</xsl:template> + +<xsl:template name="write.indexterm"> + <xsl:param name="text"/> + <OBJECT type="application/x-oleobject" + classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e"> + <param name="Keyword" value="{$text}"/> + </OBJECT> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hhk"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhk"/> + </xsl:with-param> + <xsl:with-param name="indent" select="'no'"/> + <xsl:with-param name="content"><xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1"> +<!-- Sitemap 1.0 --> +</HEAD><BODY> +<OBJECT type="text/site properties"> +</OBJECT> +<UL>]]> +</xsl:text> +<xsl:if test="($htmlhelp.use.hhk != 0) and $htmlhelp.generate.index"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="hhk"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="hhk"/> + </xsl:otherwise> + </xsl:choose> +</xsl:if> +<xsl:text disable-output-escaping="yes"><![CDATA[</UL> +</BODY></HTML>]]> +</xsl:text></xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="indexterm[@class='endofrange']" mode="hhk"/> + +<xsl:template match="indexterm" mode="hhk"> + <xsl:variable name="primary" select="normalize-space(primary)"/> + <xsl:variable name="secondary" select="normalize-space(secondary)"/> + <xsl:variable name="tertiary" select="normalize-space(tertiary)"/> + + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$primary"/> + <xsl:with-param name="seealso" select="seealso"/> + </xsl:call-template> + + <xsl:if test="secondary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])"> + <xsl:call-template name="write.indexterm.hhk"> + <!-- We must create fake entry when there is secondary without primary --> + <xsl:with-param name="text" select="$primary"/> + <xsl:with-param name="seealso" select="$primary"/> + </xsl:call-template> + </xsl:if> + <UL> + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$secondary"/> + <xsl:with-param name="seealso" select="secondary/seealso"/> + </xsl:call-template> + <xsl:if test="tertiary"> + <UL>&lf; + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$tertiary"/> + <xsl:with-param name="seealso" select="tertiary/seealso"/> + </xsl:call-template> + </UL> + </xsl:if> + </UL> + </xsl:if> + +</xsl:template> + +<xsl:template name="write.indexterm.hhk"> + <xsl:param name="text"/> + <xsl:param name="seealso"/> + + <LI> <OBJECT type="text/sitemap">&lf; + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="$text"/> + </xsl:attribute> + </param>&lf; + + <xsl:if test="not(seealso)"> + <xsl:variable name="href"> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:variable> + <xsl:variable name="title"> + <xsl:call-template name="nearest.title"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="$title"/> + </xsl:attribute> + </param>&lf; + <param name="Local"> + <xsl:attribute name="value"> + <xsl:value-of select="$href"/> + </xsl:attribute> + </param>&lf; + </xsl:if> + + <xsl:if test="seealso"> + <param name="See Also"> + <xsl:attribute name="value"> + <xsl:value-of select="$seealso"/> + </xsl:attribute> + </param>&lf; + </xsl:if> + </OBJECT></LI> +</xsl:template> + +<xsl:template match="text()" mode="hhk"/> + +<xsl:template name="nearest.title"> + <xsl:param name="object"/> + <xsl:apply-templates select="$object/ancestor-or-self::*[title][1]" mode="title.markup"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hh-map"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.map.file"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="hh-map"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="hh-map"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="processing-instruction('dbhh')" mode="hh-map"> + <xsl:variable name="topicname"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" + select="."/> + <xsl:with-param name="attribute" select="'topicname'"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="topicid"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" + select="."/> + <xsl:with-param name="attribute" select="'topicid'"/> + </xsl:call-template> + </xsl:variable> + <xsl:text>#define </xsl:text> + <xsl:value-of select="$topicname"/> + <xsl:text> </xsl:text> + <xsl:value-of select="$topicid"/> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="text()" mode="hh-map"/> + +<!-- ==================================================================== --> + +<xsl:template name="hh-alias"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.alias.file"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="key('id',$rootid)" mode="hh-alias"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="hh-alias"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="processing-instruction('dbhh')" mode="hh-alias"> + <xsl:variable name="topicname"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" + select="."/> + <xsl:with-param name="attribute" select="'topicname'"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="href"> + <xsl:call-template name="href.target.with.base.dir"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="$topicname"/> + <xsl:text>=</xsl:text> + <!-- Some versions of HH doesn't like fragment identifires, but some does. --> + <!-- <xsl:value-of select="substring-before(concat($href, '#'), '#')"/> --> + <xsl:value-of select="$href"/> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="text()" mode="hh-alias"/> + +<!-- ==================================================================== --> +<!-- This code can be used to convert any number to hexadecimal format --> + + <h:hex> + <d>0</d> + <d>1</d> + <d>2</d> + <d>3</d> + <d>4</d> + <d>5</d> + <d>6</d> + <d>7</d> + <d>8</d> + <d>9</d> + <d>A</d> + <d>B</d> + <d>C</d> + <d>D</d> + <d>E</d> + <d>F</d> + </h:hex> + + <xsl:template name="toHex"> + <xsl:param name="n" select="0"/> + <xsl:param name="digit" select="$n mod 16"/> + <xsl:param name="rest" select="floor($n div 16)"/> + <xsl:if test="$rest > 0"> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="$rest"/> + </xsl:call-template> + </xsl:if> + <xsl:value-of select="document('')//h:hex/d[$digit+1]"/> + </xsl:template> + +<!-- ==================================================================== --> +<!-- Modification to standard HTML stylesheets --> + +<!-- There are links from ToC pane to bibliodivs, so there must be anchor --> +<xsl:template match="bibliodiv/title"> + <h3 class="{name(.)}"> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select=".."/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates/> + </h3> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp.xsl b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp.xsl new file mode 100644 index 0000000000..8e8ee95df2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/htmlhelp.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:exsl="http://exslt.org/common" + xmlns:set="http://exslt.org/sets" + version="1.0" + exclude-result-prefixes="doc exsl set"> + +<!-- ******************************************************************** + $Id: htmlhelp.xsl 1676 2002-06-12 13:21:54Z kosek $ + ******************************************************************** + + This file is used by htmlhelp.xsl if you want to generate source + files for HTML Help. It is based on the XSL DocBook Stylesheet + distribution (especially on JavaHelp code) from Norman Walsh. + + ******************************************************************** --> + +<xsl:import href="../html/chunk.xsl"/> +<xsl:include href="htmlhelp-common.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp-common.xsl b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp-common.xsl new file mode 100644 index 0000000000..8e5e8ac140 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp-common.xsl @@ -0,0 +1,1083 @@ +<?xml version="1.0" encoding="US-ASCII"?> +<!--This file was created automatically by xsl2profile--> +<!--from the DocBook XSL stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" xmlns:h="urn:x-hex" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc exsl set h db ng exslt"> + +<!-- ******************************************************************** + $Id: htmlhelp-common.xsl 9151 2011-11-12 00:16:19Z bobstayton $ + ******************************************************************** --> + +<!-- ==================================================================== --> +<!-- Customizations of standard HTML stylesheet parameters --> + +<!-- no navigation on pages by default, HTML Help provides its own navigation controls --> +<xsl:param name="suppress.navigation" select="1"/> + +<!-- no separate HTML page with index, index is built inside CHM index pane --> +<xsl:param name="generate.index" select="0"/> + +<!-- ==================================================================== --> + +<xsl:param name="htmlhelp.generate.index" select="//indexterm[1]|//db:indexterm[1]|//ng:indexterm[1]"/> + +<!-- Set up HTML Help flag --> +<xsl:variable name="htmlhelp.output" select="1"/> + +<!-- ==================================================================== --> + +<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Note: namesp. cut : stripped namespace before processing</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Note: namesp. cut : processing stripped document</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/"> + + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <xsl:when test="false()"/> + <xsl:otherwise> + <xsl:if test="$htmlhelp.only != 1"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:choose> + <xsl:when test="count($profiled-nodes//*[@id=$rootid or @xml:id=$rootid]) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="process.root"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="$collect.xref.targets = 'yes' or $collect.xref.targets = 'only'"> + <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/> + </xsl:if> + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:apply-templates select="$profiled-nodes" mode="process.root"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + + + <xsl:if test="$collect.xref.targets != 'only'"> + <xsl:call-template name="hhp"/> + <xsl:call-template name="hhc"/> + <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid or @xml:id=$rootid]//processing-instruction('dbhh'))"> + <xsl:call-template name="hh-map"/> + <xsl:call-template name="hh-alias"/> + </xsl:if> + <xsl:if test="$htmlhelp.generate.index"> + <xsl:call-template name="hhk"/> + </xsl:if> + </xsl:if> +</xsl:otherwise> +</xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hhp"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhp"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:call-template name="hhp-main"/> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<!-- ==================================================================== --> +<xsl:template name="hhp-main"> + + <xsl:variable name="raw.help.title"> + <xsl:choose> + <xsl:when test="$htmlhelp.title = ''"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="title.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes/*" mode="title.markup"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$htmlhelp.title"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="help.title" select="normalize-space($raw.help.title)"/> + +<xsl:variable name="default.topic"> + <xsl:choose> + <xsl:when test="$htmlhelp.default.topic != ''"> + <xsl:value-of select="$htmlhelp.default.topic"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir"> + <xsl:if test="$manifest.in.base.dir = 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + </xsl:with-param> + <xsl:with-param name="base.name"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="chunk-filename"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="chunk-filename"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:variable> +<xsl:variable name="xnavigation"> + <xsl:text>0x</xsl:text> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="9504 + $htmlhelp.show.menu * 65536 + $htmlhelp.show.advanced.search * 131072 + $htmlhelp.show.favorities * 4096 + (1 - $htmlhelp.show.toolbar.text) * 64 + $htmlhelp.remember.window.position * 262144"/> + </xsl:call-template> +</xsl:variable> +<xsl:variable name="xbuttons"> + <xsl:text>0x</xsl:text> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="0 + $htmlhelp.button.hideshow * 2 + $htmlhelp.button.back * 4 + $htmlhelp.button.forward * 8 + $htmlhelp.button.stop * 16 + $htmlhelp.button.refresh * 32 + $htmlhelp.button.home * 64 + $htmlhelp.button.options * 4096 + $htmlhelp.button.print * 8192 + $htmlhelp.button.locate * 2048 + $htmlhelp.button.jump1 * 262144 + $htmlhelp.button.jump2 * 524288 + $htmlhelp.button.next * 2097152 + $htmlhelp.button.prev * 4194304 + $htmlhelp.button.zoom * 1048576"/> + </xsl:call-template> +</xsl:variable> +<xsl:text>[OPTIONS] +</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> +<xsl:text>Auto Index=Yes +</xsl:text></xsl:if> +<xsl:if test="$htmlhelp.hhc.binary != 0"> +<xsl:text>Binary TOC=Yes +</xsl:text></xsl:if> +<xsl:text>Compatibility=1.1 or later +Compiled file=</xsl:text><xsl:value-of select="$htmlhelp.chm"/><xsl:text> +Contents file=</xsl:text><xsl:value-of select="$htmlhelp.hhc"/><xsl:text> +</xsl:text> +<xsl:if test="$htmlhelp.hhp.window != ''"> +<xsl:text>Default Window=</xsl:text><xsl:value-of select="$htmlhelp.hhp.window"/><xsl:text> +</xsl:text></xsl:if> +<xsl:text>Default topic=</xsl:text><xsl:value-of select="$default.topic"/> +<xsl:text> +Display compile progress=</xsl:text> + <xsl:choose> + <xsl:when test="$htmlhelp.display.progress != 1"> + <xsl:text>No</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>Yes</xsl:text> + </xsl:otherwise> + </xsl:choose> +<xsl:text> +Full-text search=Yes +</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> +<xsl:text>Index file=</xsl:text><xsl:value-of select="$htmlhelp.hhk"/><xsl:text> +</xsl:text></xsl:if> +<xsl:text>Language=</xsl:text> +<xsl:for-each select="*"> <!-- Change context from / to root element --> + <xsl:call-template name="gentext.template"> + <xsl:with-param name="context" select="'htmlhelp'"/> + <xsl:with-param name="name" select="'langcode'"/> + </xsl:call-template> +</xsl:for-each> +<xsl:text> +Title=</xsl:text> + <xsl:value-of select="$help.title"/> +<xsl:text> +Enhanced decompilation=</xsl:text> + <xsl:choose> + <xsl:when test="$htmlhelp.enhanced.decompilation != 0"> + <xsl:text>Yes</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>No</xsl:text> + </xsl:otherwise> + </xsl:choose> + +<xsl:if test="$htmlhelp.hhp.window != ''"> + <xsl:text> + +[WINDOWS] +</xsl:text> +<xsl:value-of select="$htmlhelp.hhp.window"/> +<xsl:text>="</xsl:text> +<xsl:value-of select="$help.title"/> +<xsl:text>","</xsl:text><xsl:value-of select="$htmlhelp.hhc"/> +<xsl:text>",</xsl:text> +<xsl:if test="$htmlhelp.generate.index"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.hhk"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,"</xsl:text> +<xsl:value-of select="$default.topic"/> +<xsl:text>",</xsl:text> +<xsl:text>"</xsl:text> +<xsl:choose> + <xsl:when test="$htmlhelp.button.home != 0"> + <xsl:value-of select="$htmlhelp.button.home.url"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$default.topic"/> + </xsl:otherwise> +</xsl:choose> +<xsl:text>"</xsl:text> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump1 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump1.url"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump1 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump1.title"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump2 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump2.url"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:if test="$htmlhelp.button.jump2 != 0"> + <xsl:text>"</xsl:text> + <xsl:value-of select="$htmlhelp.button.jump2.title"/> + <xsl:text>"</xsl:text> +</xsl:if> +<xsl:text>,</xsl:text> +<xsl:value-of select="$xnavigation"/> +<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.hhc.width"/><xsl:text>,</xsl:text> +<xsl:value-of select="$xbuttons"/> +<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.window.geometry"/><xsl:text>,,,,,,,0 +</xsl:text> +</xsl:if> + +<!-- + Needs more investigation to generate propetly all fields +<xsl:text>search="</xsl:text> +<xsl:value-of select="normalize-space(//title[1])"/> +<xsl:text>","toc.hhc","index.hhk","</xsl:text> +<xsl:value-of select="$root.filename"/> +<xsl:text>.html","</xsl:text> +<xsl:value-of select="$root.filename"/> +<xsl:text>.html",,,,,</xsl:text> +<xsl:value-of select="$xnavigation"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$htmlhelp.hhc.width"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$xbuttons"/> +<xsl:text>,</xsl:text> +<xsl:value-of select="$htmlhelp.window.geometry"/> +<xsl:text>,,,,,2,,0 +</xsl:text> +--> + +<xsl:if test="$htmlhelp.hhp.windows"> + <xsl:value-of select="$htmlhelp.hhp.windows"/> +</xsl:if> +<xsl:text> + +[FILES] +</xsl:text> + +<xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="enumerate-files"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="enumerate-files"/> + </xsl:otherwise> +</xsl:choose> + +<xsl:if test="$htmlhelp.enumerate.images"> + <xsl:variable name="imagelist"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="enumerate-images"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="enumerate-images"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0 and function-available('set:distinct')"> + <xsl:for-each select="set:distinct(exsl:node-set($imagelist)/filename)"> + <xsl:value-of select="."/> + <xsl:text> +</xsl:text> + </xsl:for-each> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$imagelist"/> + </xsl:otherwise> + </xsl:choose> +</xsl:if> + +<xsl:if test="($htmlhelp.force.map.and.alias != 0) or ($rootid = '' and //processing-instruction('dbhh')) or ($rootid != '' and $profiled-nodes//*[@id=$rootid or @xml:id=$rootid]//processing-instruction('dbhh'))"> + <xsl:text> +[ALIAS] +#include </xsl:text><xsl:value-of select="$htmlhelp.alias.file"/><xsl:text> + +[MAP] +#include </xsl:text><xsl:value-of select="$htmlhelp.map.file"/><xsl:text> +</xsl:text> +</xsl:if> + +<xsl:value-of select="$htmlhelp.hhp.tail"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="graphic|inlinegraphic[@format!='linespecific']" mode="enumerate-images"> + <xsl:call-template name="write.filename.enumerate-images"> + <xsl:with-param name="filename"> + <xsl:call-template name="mediaobject.filename.enumerate-images"> + <xsl:with-param name="object" select="."/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="mediaobject|inlinemediaobject" mode="enumerate-images"> + <xsl:call-template name="select.mediaobject.enumerate-images"/> +</xsl:template> + +<xsl:template name="select.mediaobject.enumerate-images"> + <xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> + <xsl:param name="count">1</xsl:param> + + <xsl:if test="$count <= count($olist)"> + <xsl:variable name="object" select="$olist[position()=$count]"/> + + <xsl:variable name="useobject"> + <xsl:choose> + <!-- The phrase is never used --> + <xsl:when test="name($object)='textobject' and $object/phrase"> + <xsl:text>0</xsl:text> + </xsl:when> + <!-- The first textobject is a reasonable fallback (but not for image in HH) --> + <xsl:when test="name($object)='textobject'"> + <xsl:text>0</xsl:text> + </xsl:when> + <!-- If there's only one object, use it --> + <xsl:when test="$count = 1 and count($olist) = 1"> + <xsl:text>1</xsl:text> + </xsl:when> + <!-- Otherwise, see if this one is a useable graphic --> + <xsl:otherwise> + <xsl:choose> + <!-- peek inside imageobjectco to simplify the test --> + <xsl:when test="local-name($object) = 'imageobjectco'"> + <xsl:call-template name="is.acceptable.mediaobject"> + <xsl:with-param name="object" select="$object/imageobject"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="is.acceptable.mediaobject"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$useobject='1' and $object[not(*/@format='linespecific')]"> + <xsl:call-template name="write.filename.enumerate-images"> + <xsl:with-param name="filename"> + <xsl:call-template name="mediaobject.filename.enumerate-images"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="select.mediaobject.enumerate-images"> + <xsl:with-param name="olist" select="$olist"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template name="mediaobject.filename.enumerate-images"> + <xsl:param name="object"/> + + <xsl:variable name="urifilename"> + <xsl:call-template name="mediaobject.filename"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:choose> + <xsl:when test="starts-with($urifilename, 'file:/')"> + <xsl:value-of select="substring-after($urifilename, 'file:/')"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$urifilename"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="translate($filename, '/', '\')"/> + +</xsl:template> + +<xsl:template match="text()" mode="enumerate-images"> +</xsl:template> + +<xsl:template name="write.filename.enumerate-images"> + <xsl:param name="filename"/> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')"> + <filename><xsl:value-of select="$filename"/></filename> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$filename"/> + <xsl:text> +</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- HHC and HHK files are processed by compiler line by line + and therefore are very sensitive to whitespaces (linefeeds for sure). --> + +<xsl:template name="hhc"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhc"/> + </xsl:with-param> + <xsl:with-param name="indent" select="'no'"/> + <xsl:with-param name="content"> + <xsl:call-template name="hhc-main"/> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="hhc-main"> +<HTML><xsl:text> +</xsl:text> + <HEAD/><xsl:text> +</xsl:text> + <BODY><xsl:text> +</xsl:text> + <xsl:if test="$htmlhelp.hhc.folders.instead.books != 0"> + <OBJECT type="text/site properties"><xsl:text> +</xsl:text> + <param name="ImageType" value="Folder"/><xsl:text> +</xsl:text> + </OBJECT><xsl:text> +</xsl:text> + </xsl:if> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hhc"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="hhc"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$htmlhelp.hhc.show.root != 0"> + <UL><xsl:text> +</xsl:text> + <xsl:copy-of select="$content"/> + </UL><xsl:text> +</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$content"/> + </xsl:otherwise> + </xsl:choose> + + </BODY> +</HTML> +</xsl:template> + +<xsl:template name="hhc.entry"> + <xsl:param name="title"> + <xsl:if test="$htmlhelp.autolabel=1"> + <xsl:variable name="label.markup"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:variable> + <xsl:if test="normalize-space($label.markup)"> + <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> + </xsl:if> + </xsl:if> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:param> + + <LI><OBJECT type="text/sitemap"><xsl:text> +</xsl:text> + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="normalize-space($title)"/> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + <param name="Local"> + <xsl:attribute name="value"> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:attribute> + </param> + </OBJECT></LI><xsl:text> +</xsl:text> +</xsl:template> + +<xsl:template match="set" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="book"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <UL> + <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0"> + <LI><OBJECT type="text/sitemap"><xsl:text> +</xsl:text> + <param name="Name"> + <xsl:attribute name="value"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + <param name="Local"> + <xsl:attribute name="value"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0"> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + </param> + </OBJECT></LI><xsl:text> +</xsl:text> + </xsl:if> + <xsl:apply-templates select="book" mode="hhc"/> + </UL><xsl:text> +</xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="book" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon|glossary"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + <UL> + <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0 and not(parent::*)"> + <LI><OBJECT type="text/sitemap"><xsl:text> +</xsl:text> + <param name="Name"> + <xsl:attribute name="value"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'TableofContents'"/> + </xsl:call-template> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + <param name="Local"> + <xsl:attribute name="value"> + <xsl:choose> + <xsl:when test="$chunk.tocs.and.lots != 0"> + <xsl:apply-templates select="." mode="recursive-chunk-filename"> + <xsl:with-param name="recursive" select="true()"/> + </xsl:apply-templates> + <xsl:text>-toc</xsl:text> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:otherwise> + </xsl:choose> + </xsl:attribute> + </param> + </OBJECT></LI><xsl:text> +</xsl:text> + </xsl:if> + <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon|glossary" mode="hhc"/> + </UL><xsl:text> +</xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="part|reference|preface|chapter|bibliography|appendix|article|glossary" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="section" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="section[count(ancestor::section) < $htmlhelp.hhc.section.depth]|refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="section|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect1" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect2[$htmlhelp.hhc.section.depth > 1]|refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="sect2|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect2" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect3[$htmlhelp.hhc.section.depth > 2]|refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="sect3|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect3" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect4[$htmlhelp.hhc.section.depth > 3]|refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="sect4|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect4" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="sect5[$htmlhelp.hhc.section.depth > 4]|refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="sect5|refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<xsl:template match="sect5|refentry|colophon|bibliodiv" mode="hhc"> + <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> + <xsl:call-template name="hhc.entry"/> + </xsl:if> + <xsl:if test="refentry"> + <UL><xsl:text> +</xsl:text> + <xsl:apply-templates select="refentry" mode="hhc"/> + </UL> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="indexterm"> + <xsl:choose> + <xsl:when test="$htmlhelp.use.hhk = 0"> + + <xsl:variable name="primary" select="normalize-space(primary)"/> + <xsl:variable name="secondary" select="normalize-space(secondary)"/> + <xsl:variable name="tertiary" select="normalize-space(tertiary)"/> + + <xsl:variable name="text"> + <xsl:value-of select="$primary"/> + <xsl:if test="secondary"> + <xsl:text>, </xsl:text> + <xsl:value-of select="$secondary"/> + </xsl:if> + <xsl:if test="tertiary"> + <xsl:text>, </xsl:text> + <xsl:value-of select="$tertiary"/> + </xsl:if> + </xsl:variable> + + <xsl:if test="secondary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])"> + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="$primary"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + + <xsl:if test="tertiary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and normalize-space(secondary)=$secondary and not(tertiary)])"> + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="concat($primary, ', ', $secondary)"/> + </xsl:call-template> + </xsl:if> + </xsl:if> + + <xsl:call-template name="write.indexterm"> + <xsl:with-param name="text" select="$text"/> + </xsl:call-template> + + </xsl:when> + <xsl:otherwise> + <a> + <xsl:attribute name="name"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + </a> + </xsl:otherwise> + + </xsl:choose> +</xsl:template> + +<xsl:template name="write.indexterm"> + <xsl:param name="text"/> + <OBJECT type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e"> + <param name="Keyword" value="{$text}"/> + </OBJECT> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hhk"> + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.hhk"/> + </xsl:with-param> + <xsl:with-param name="indent" select="'no'"/> + <xsl:with-param name="content"><xsl:text disable-output-escaping="yes"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> +<HEAD> +<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1"> +<!-- Sitemap 1.0 --> +</HEAD><BODY> +<OBJECT type="text/site properties"> +</OBJECT> +<UL> +</xsl:text> +<xsl:if test="($htmlhelp.use.hhk != 0) and $htmlhelp.generate.index"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hhk"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="hhk"/> + </xsl:otherwise> + </xsl:choose> +</xsl:if> +<xsl:text disable-output-escaping="yes"></UL> +</BODY></HTML> +</xsl:text></xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="indexterm[@class='endofrange']" mode="hhk"/> + +<xsl:template match="indexterm" mode="hhk"> + <xsl:variable name="primary" select="normalize-space(primary)"/> + <xsl:variable name="secondary" select="normalize-space(secondary)"/> + <xsl:variable name="tertiary" select="normalize-space(tertiary)"/> + + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$primary"/> + <xsl:with-param name="seealso" select="seealso"/> + </xsl:call-template> + + <xsl:if test="secondary"> + <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])"> + <xsl:call-template name="write.indexterm.hhk"> + <!-- We must create fake entry when there is secondary without primary --> + <xsl:with-param name="text" select="$primary"/> + <xsl:with-param name="seealso" select="$primary"/> + </xsl:call-template> + </xsl:if> + <UL> + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$secondary"/> + <xsl:with-param name="seealso" select="secondary/seealso"/> + </xsl:call-template> + <xsl:if test="tertiary"> + <UL><xsl:text> +</xsl:text> + <xsl:call-template name="write.indexterm.hhk"> + <xsl:with-param name="text" select="$tertiary"/> + <xsl:with-param name="seealso" select="tertiary/seealso"/> + </xsl:call-template> + </UL> + </xsl:if> + </UL> + </xsl:if> + +</xsl:template> + +<xsl:template name="write.indexterm.hhk"> + <xsl:param name="text"/> + <xsl:param name="seealso"/> + + <LI> <OBJECT type="text/sitemap"><xsl:text> +</xsl:text> + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="$text"/> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + + <xsl:if test="not(seealso)"> + <xsl:variable name="href"> + <xsl:call-template name="href.target.with.base.dir"/> + </xsl:variable> + <xsl:variable name="title"> + <xsl:call-template name="nearest.title"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + + <param name="Name"> + <xsl:attribute name="value"> + <xsl:value-of select="$title"/> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + <param name="Local"> + <xsl:attribute name="value"> + <xsl:value-of select="$href"/> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + </xsl:if> + + <xsl:if test="seealso"> + <param name="See Also"> + <xsl:attribute name="value"> + <xsl:value-of select="$seealso"/> + </xsl:attribute> + </param><xsl:text> +</xsl:text> + </xsl:if> + </OBJECT></LI> +</xsl:template> + +<xsl:template match="text()" mode="hhk"/> + +<xsl:template name="nearest.title"> + <xsl:param name="object"/> + <xsl:apply-templates select="$object/ancestor-or-self::*[title][1]" mode="title.markup"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="hh-map"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.map.file"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hh-map"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="hh-map"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="processing-instruction('dbhh')" mode="hh-map"> + <xsl:variable name="topicname"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" select="."/> + <xsl:with-param name="attribute" select="'topicname'"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="topicid"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" select="."/> + <xsl:with-param name="attribute" select="'topicid'"/> + </xsl:call-template> + </xsl:variable> + <xsl:text>#define </xsl:text> + <xsl:value-of select="$topicname"/> + <xsl:text> </xsl:text> + <xsl:value-of select="$topicid"/> + <xsl:text> +</xsl:text> +</xsl:template> + +<xsl:template match="text()" mode="hh-map"/> + +<!-- ==================================================================== --> + +<xsl:template name="hh-alias"> + <xsl:call-template name="write.text.chunk"> + <xsl:with-param name="filename"> + <xsl:if test="$manifest.in.base.dir != 0"> + <xsl:value-of select="$chunk.base.dir"/> + </xsl:if> + <xsl:value-of select="$htmlhelp.alias.file"/> + </xsl:with-param> + <xsl:with-param name="method" select="'text'"/> + <xsl:with-param name="content"> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]" mode="hh-alias"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$profiled-nodes" mode="hh-alias"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + <xsl:with-param name="encoding" select="$htmlhelp.encoding"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="processing-instruction('dbhh')" mode="hh-alias"> + <xsl:variable name="topicname"> + <xsl:call-template name="pi-attribute"> + <xsl:with-param name="pis" select="."/> + <xsl:with-param name="attribute" select="'topicname'"/> + </xsl:call-template> + </xsl:variable> + <xsl:variable name="href"> + <xsl:call-template name="href.target.with.base.dir"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + <xsl:value-of select="$topicname"/> + <xsl:text>=</xsl:text> + <!-- Some versions of HH doesn't like fragment identifires, but some does. --> + <!-- <xsl:value-of select="substring-before(concat($href, '#'), '#')"/> --> + <xsl:value-of select="$href"/> + <xsl:text> +</xsl:text> +</xsl:template> + +<xsl:template match="text()" mode="hh-alias"/> + +<!-- ==================================================================== --> +<!-- This code can be used to convert any number to hexadecimal format --> + + <h:hex> + <d>0</d> + <d>1</d> + <d>2</d> + <d>3</d> + <d>4</d> + <d>5</d> + <d>6</d> + <d>7</d> + <d>8</d> + <d>9</d> + <d>A</d> + <d>B</d> + <d>C</d> + <d>D</d> + <d>E</d> + <d>F</d> + </h:hex> + + <xsl:template name="toHex"> + <xsl:param name="n" select="0"/> + <xsl:param name="digit" select="$n mod 16"/> + <xsl:param name="rest" select="floor($n div 16)"/> + <xsl:if test="$rest > 0"> + <xsl:call-template name="toHex"> + <xsl:with-param name="n" select="$rest"/> + </xsl:call-template> + </xsl:if> + <xsl:value-of select="document('')//h:hex/d[$digit+1]"/> + </xsl:template> + +<!-- ==================================================================== --> +<!-- Modification to standard HTML stylesheets --> + +<!-- There are links from ToC pane to bibliodivs, so there must be anchor --> +<xsl:template match="bibliodiv/title"> + <h3 class="{name(.)}"> + <xsl:call-template name="anchor"> + <xsl:with-param name="node" select=".."/> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates/> + </h3> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp.xsl b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp.xsl new file mode 100644 index 0000000000..eddde3be1d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/htmlhelp/profile-htmlhelp.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:exsl="http://exslt.org/common" + xmlns:set="http://exslt.org/sets" + version="1.0" + exclude-result-prefixes="doc exsl set"> + +<!-- ******************************************************************** + $Id: profile-htmlhelp.xsl 1676 2002-06-12 13:21:54Z kosek $ + ******************************************************************** + + This file is used by htmlhelp.xsl if you want to generate source + files for HTML Help. It is based on the XSL DocBook Stylesheet + distribution (especially on JavaHelp code) from Norman Walsh. + + ******************************************************************** --> + +<xsl:import href="../html/chunk.xsl"/> +<xsl:include href="profile-htmlhelp-common.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/annot-close.png b/apache-fop/src/test/resources/docbook-xsl/images/annot-close.png new file mode 100644 index 0000000000..b9e1a0d527 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/annot-close.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/annot-open.png b/apache-fop/src/test/resources/docbook-xsl/images/annot-open.png new file mode 100644 index 0000000000..71040ec80a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/annot-open.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/blank.png b/apache-fop/src/test/resources/docbook-xsl/images/blank.png new file mode 100644 index 0000000000..764bf4f0c3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/blank.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.gif new file mode 100644 index 0000000000..9e7a87f754 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.png new file mode 100644 index 0000000000..7d473430b7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.svg new file mode 100644 index 0000000000..e2e87dc526 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/1.svg @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M10.428,10.411h0.56c3.78,0,4.788-1.96,4.872-3.444h3.22v19.88h-3.92V13.154h-4.732V10.411z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.gif new file mode 100644 index 0000000000..e80f7f8e63 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.png new file mode 100644 index 0000000000..997bbc8246 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.svg new file mode 100644 index 0000000000..4740f587bd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/10.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.815,10.758h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.11H3.815V10.758z"/> + <path style="fill:#FFFFFF;" d="M22.175,7.806c4.009,0,5.904,2.76,5.904,8.736c0,5.975-1.896,8.76-5.904,8.76 + c-4.008,0-5.904-2.785-5.904-8.76C16.271,10.566,18.167,7.806,22.175,7.806z M22.175,22.613c1.921,0,2.448-1.68,2.448-6.071 + c0-4.393-0.527-6.049-2.448-6.049c-1.92,0-2.448,1.656-2.448,6.049C19.727,20.934,20.255,22.613,22.175,22.613z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.gif new file mode 100644 index 0000000000..67f91a239d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.png new file mode 100644 index 0000000000..ce47dac3f5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.svg new file mode 100644 index 0000000000..09a0b2cf71 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/11.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M5.209,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H5.209V10.412z"/> + <path style="fill:#FFFFFF;" d="M18.553,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.359V12.764h-4.056V10.412z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.gif new file mode 100644 index 0000000000..54c4b42f19 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.png new file mode 100644 index 0000000000..31daf4e2f2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.svg new file mode 100644 index 0000000000..9794044c71 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/12.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.gif new file mode 100644 index 0000000000..dd5d7d9b64 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.png new file mode 100644 index 0000000000..14021a89c2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.svg new file mode 100644 index 0000000000..64268bb4fa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/13.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M20.611,14.636h0.529c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.288-2.185-2.137-2.185 + c-2.303,0-2.303,2.185-2.303,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.279,0,5.279,1.152,5.279,4.752 + c0,1.728-1.08,2.808-2.039,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496 + c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808 + c0-2.328-2.256-2.424-3.816-2.424V14.636z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.gif new file mode 100644 index 0000000000..3d7a952a31 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.png new file mode 100644 index 0000000000..64014b75fe Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.svg new file mode 100644 index 0000000000..469aa97487 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/14.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.146,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.146V10.412z"/> + <path style="fill:#FFFFFF;" d="M28.457,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L22.746,7.46h3.815v10.656h1.896V20.732z + M23.201,18.116c0-4.128,0.072-6.792,0.072-7.32h-0.048l-4.272,7.32H23.201z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.gif new file mode 100644 index 0000000000..1c9183d5bb Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.png new file mode 100644 index 0000000000..0d65765fcf Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.svg new file mode 100644 index 0000000000..8202233ef0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/15.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/> + <path style="fill:#FFFFFF;" d="M19.342,14.943c0.625-0.433,1.392-0.937,3.048-0.937c2.279,0,5.16,1.584,5.16,5.496 + c0,2.328-1.176,6.121-6.192,6.121c-2.664,0-5.376-1.584-5.544-5.016h3.36c0.144,1.391,0.888,2.326,2.376,2.326 + c1.607,0,2.544-1.367,2.544-3.191c0-1.512-0.72-3.047-2.496-3.047c-0.456,0-1.608,0.023-2.256,1.223l-3-0.143l1.176-9.361h9.36 + v2.832h-6.937L19.342,14.943z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/16.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/16.svg new file mode 100644 index 0000000000..01d6bf8164 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/16.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H3.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M24.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L19.58,14.9 + c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216 + c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104 + c0.936,0.912,1.271,1.416,1.584,3.217H24.309z M22.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168 + c1.225,0,2.353-0.936,2.353-3.239C24.62,16.868,23.229,16.172,22.172,16.172z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/17.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/17.svg new file mode 100644 index 0000000000..0a04c5560e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/17.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.479,11.079h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.04h-3.36V13.43H3.479V11.079z"/> + <path style="fill:#FFFFFF;" d="M27.838,11.006c-1.631,1.776-5.807,6.816-6.215,14.16h-3.457c0.36-6.816,4.632-12.24,6.072-13.776 + h-8.472l0.072-2.976h12V11.006z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/18.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/18.svg new file mode 100644 index 0000000000..1cb891b34d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/18.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.813,10.412h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76V24.5h-3.36V12.764H4.813V10.412z"/> + <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319 + c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44 + c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916 + c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688 + C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112 + c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/19.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/19.svg new file mode 100644 index 0000000000..e6fbb179fc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/19.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.146,10.746h0.48c3.24,0,4.104-1.681,4.176-2.952h2.76v17.041h-3.36V13.097H4.146V10.746z"/> + <path style="fill:#FFFFFF;" d="M20.225,20.898v0.023c0.192,1.176,0.936,1.68,1.968,1.68c1.392,0,2.783-1.176,2.808-4.752 + l-0.048-0.049c-0.768,1.152-2.088,1.441-3.24,1.441c-3.264,0-5.16-2.473-5.16-5.329c0-4.176,2.472-6.12,5.808-6.12 + c5.904,0,6,6.36,6,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.391H20.225z M22.434,16.553 + c1.176,0,2.472-0.84,2.472-2.855c0-1.944-0.841-3.145-2.568-3.145c-0.864,0-2.424,0.433-2.424,2.88 + C19.913,16.001,21.161,16.553,22.434,16.553z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.gif new file mode 100644 index 0000000000..94d42a30f9 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.png new file mode 100644 index 0000000000..5d09341b2f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.svg new file mode 100644 index 0000000000..07d03395d0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/2.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M9.668,12.328c0-6.469,4.732-7.028,6.496-7.028c3.808,0,6.833,2.24,6.833,6.271 + c0,3.416-2.213,5.152-4.145,6.469c-2.632,1.848-4.004,2.744-4.452,3.668h8.624v3.472H9.444c0.14-2.324,0.308-4.76,4.62-7.896 + c3.584-2.604,5.012-3.612,5.012-5.853c0-1.315-0.84-2.828-2.744-2.828c-2.744,0-2.828,2.269-2.856,3.725H9.668z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/20.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/20.svg new file mode 100644 index 0000000000..ccbfd40319 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/20.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76 + s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071 + c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/21.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/21.svg new file mode 100644 index 0000000000..93ec53fdd9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/21.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M5.306,13.151c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392v2.976H5.114c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H5.306z"/> + <path style="fill:#FFFFFF;" d="M19.49,10.079h0.48c3.239,0,4.104-1.681,4.176-2.952h2.761v17.04h-3.361V12.431H19.49V10.079z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/22.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/22.svg new file mode 100644 index 0000000000..f48c5f3fd1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/22.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M17.316,13.484c0-5.545,4.056-6.024,5.568-6.024c3.265,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.553,5.544c-2.256,1.584-3.432,2.353-3.815,3.145h7.392V24.5h-11.64c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.353-2.424c-2.352,0-2.423,1.944-2.447,3.192H17.316z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/23.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/23.svg new file mode 100644 index 0000000000..6624212957 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/23.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M21.612,14.636h0.528c1.008,0,2.855-0.096,2.855-2.304c0-0.624-0.287-2.185-2.136-2.185 + c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752 + c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.377,5.496-5.809,5.496 + c-1.607,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.521-0.911,2.521-2.808 + c0-2.328-2.257-2.424-3.816-2.424V14.636z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/24.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/24.svg new file mode 100644 index 0000000000..a3d552535f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/24.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M4.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H4.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H4.972z"/> + <path style="fill:#FFFFFF;" d="M30.124,20.732h-1.896V24.5h-3.36v-3.768h-6.72v-2.904L24.412,7.46h3.816v10.656h1.896V20.732z + M24.868,18.116c0-4.128,0.071-6.792,0.071-7.32h-0.047l-4.272,7.32H24.868z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/25.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/25.svg new file mode 100644 index 0000000000..56614a979a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/25.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M20.676,14.276c0.624-0.433,1.393-0.937,3.049-0.937c2.279,0,5.16,1.584,5.16,5.496 + c0,2.328-1.177,6.12-6.193,6.12c-2.664,0-5.375-1.584-5.543-5.016h3.36c0.144,1.392,0.889,2.327,2.376,2.327 + c1.608,0,2.544-1.367,2.544-3.191c0-1.513-0.72-3.048-2.496-3.048c-0.455,0-1.607,0.023-2.256,1.224l-3-0.144l1.176-9.36h9.36 + v2.832h-6.937L20.676,14.276z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/26.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/26.svg new file mode 100644 index 0000000000..56faeaca30 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/26.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M25.309,11.78c-0.097-0.96-0.721-1.633-1.969-1.633c-2.184,0-2.688,2.496-2.808,4.704L20.58,14.9 + c0.456-0.624,1.296-1.416,3.191-1.416c3.529,0,5.209,2.712,5.209,5.256c0,3.72-2.28,6.216-5.568,6.216 + c-5.16,0-6.168-4.32-6.168-8.568c0-3.24,0.432-8.928,6.336-8.928c0.695,0,2.641,0.264,3.48,1.104 + c0.936,0.912,1.271,1.416,1.584,3.217H25.309z M23.172,16.172c-1.271,0-2.568,0.792-2.568,2.928c0,1.849,1.056,3.168,2.664,3.168 + c1.225,0,2.353-0.936,2.353-3.239C25.62,16.868,24.229,16.172,23.172,16.172z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/27.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/27.svg new file mode 100644 index 0000000000..a75c812159 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/27.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M29.172,10.34c-1.632,1.776-5.808,6.816-6.216,14.16H19.5c0.36-6.816,4.632-12.24,6.072-13.776 + H17.1l0.072-2.976h12V10.34z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/28.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/28.svg new file mode 100644 index 0000000000..7f8cf1a350 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/28.svg @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M23.172,24.956c-4.392,0-5.904-2.856-5.904-5.185c0-0.863,0-3.119,2.592-4.319 + c-1.344-0.672-2.064-1.752-2.064-3.336c0-2.904,2.328-4.656,5.304-4.656c3.528,0,5.4,2.088,5.4,4.44 + c0,1.464-0.6,2.712-1.968,3.432c1.632,0.815,2.544,1.896,2.544,4.104C29.076,21.596,27.684,24.956,23.172,24.956z M23.124,16.916 + c-1.224,0-2.4,0.792-2.4,2.64c0,1.632,0.936,2.712,2.472,2.712c1.752,0,2.424-1.512,2.424-2.688 + C25.62,18.38,24.996,16.916,23.124,16.916z M25.284,12.26c0-1.296-0.888-2.112-1.968-2.112c-1.512,0-2.305,0.864-2.305,2.112 + c0,1.008,0.744,2.112,2.185,2.112C24.516,14.372,25.284,13.484,25.284,12.26z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/29.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/29.svg new file mode 100644 index 0000000000..cb63adf1fe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/29.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M3.972,13.484c0-5.545,4.056-6.024,5.568-6.024c3.264,0,5.856,1.92,5.856,5.376 + c0,2.928-1.896,4.416-3.552,5.544c-2.256,1.584-3.432,2.353-3.816,3.145h7.392V24.5H3.78c0.12-1.992,0.264-4.08,3.96-6.768 + c3.072-2.232,4.296-3.097,4.296-5.017c0-1.128-0.72-2.424-2.352-2.424c-2.352,0-2.424,1.944-2.448,3.192H3.972z"/> + <path style="fill:#FFFFFF;" d="M20.893,20.564v0.023c0.191,1.176,0.936,1.68,1.967,1.68c1.393,0,2.785-1.176,2.809-4.752 + l-0.048-0.048c-0.769,1.152-2.088,1.44-3.24,1.44c-3.264,0-5.16-2.473-5.16-5.328c0-4.176,2.472-6.12,5.807-6.12 + c5.904,0,6.001,6.36,6.001,8.76c0,6.601-3.12,8.736-6.192,8.736c-2.904,0-4.992-1.68-5.28-4.392H20.893z M23.1,16.22 + c1.176,0,2.473-0.84,2.473-2.855c0-1.944-0.84-3.145-2.568-3.145c-0.863,0-2.424,0.433-2.424,2.88 + C20.58,15.668,21.828,16.22,23.1,16.22z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.gif new file mode 100644 index 0000000000..dd3541a1bc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.png new file mode 100644 index 0000000000..ef7b700471 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.svg new file mode 100644 index 0000000000..918be806f4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/3.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M15.127,14.005h0.616c1.176,0,3.332-0.112,3.332-2.688c0-0.728-0.336-2.548-2.492-2.548 + c-2.688,0-2.688,2.548-2.688,3.248h-3.64c0-3.724,2.1-6.384,6.58-6.384c2.66,0,6.16,1.344,6.16,5.544 + c0,2.016-1.261,3.276-2.38,3.78v0.056c0.699,0.196,2.996,1.232,2.996,4.62c0,3.752-2.772,6.412-6.776,6.412 + c-1.876,0-6.916-0.42-6.916-6.636h3.836l-0.028,0.027c0,1.064,0.28,3.473,2.912,3.473c1.568,0,2.94-1.064,2.94-3.276 + c0-2.716-2.632-2.828-4.452-2.828V14.005z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/30.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/30.svg new file mode 100644 index 0000000000..dc43ba1e3c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/30.svg @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M8.268,14.636h0.528c1.008,0,2.856-0.096,2.856-2.304c0-0.624-0.288-2.185-2.136-2.185 + c-2.304,0-2.304,2.185-2.304,2.784h-3.12c0-3.191,1.8-5.472,5.64-5.472c2.28,0,5.28,1.152,5.28,4.752 + c0,1.728-1.08,2.808-2.04,3.24V15.5c0.6,0.168,2.568,1.056,2.568,3.96c0,3.216-2.376,5.496-5.808,5.496 + c-1.608,0-5.928-0.36-5.928-5.688h3.288l-0.024,0.024c0,0.912,0.24,2.976,2.496,2.976c1.344,0,2.52-0.911,2.52-2.808 + c0-2.328-2.256-2.424-3.816-2.424V14.636z"/> + <path style="fill:#FFFFFF;" d="M23.172,7.46c4.008,0,5.904,2.76,5.904,8.736c0,5.976-1.896,8.76-5.904,8.76 + s-5.904-2.784-5.904-8.76C17.268,10.22,19.164,7.46,23.172,7.46z M23.172,22.268c1.92,0,2.448-1.68,2.448-6.071 + c0-4.393-0.528-6.049-2.448-6.049s-2.448,1.656-2.448,6.049C20.724,20.588,21.252,22.268,23.172,22.268z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.gif new file mode 100644 index 0000000000..4bcbf7e31a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.png new file mode 100644 index 0000000000..adb8364eb5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.svg new file mode 100644 index 0000000000..8eb6a53b3b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/4.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M21.891,20.784h-2.212v4.396h-3.92v-4.396h-7.84v-3.389L15.227,5.3h4.452v12.432h2.212V20.784z + M15.759,17.731c0-4.815,0.084-7.924,0.084-8.54h-0.056l-4.984,8.54H15.759z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.gif new file mode 100644 index 0000000000..1c62b4f920 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.png new file mode 100644 index 0000000000..4d7eb46002 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.svg new file mode 100644 index 0000000000..ca7a9f22f6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/5.svg @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M14.035,14.252c0.728-0.504,1.624-1.092,3.556-1.092c2.66,0,6.02,1.848,6.02,6.411 + c0,2.717-1.372,7.141-7.224,7.141c-3.108,0-6.272-1.849-6.468-5.853h3.92c0.168,1.624,1.036,2.717,2.772,2.717 + c1.876,0,2.968-1.597,2.968-3.725c0-1.764-0.839-3.556-2.912-3.556c-0.532,0-1.876,0.028-2.632,1.428l-3.5-0.168l1.372-10.92 + h10.919v3.304h-8.092L14.035,14.252z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.gif new file mode 100644 index 0000000000..23bc5555d2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.png new file mode 100644 index 0000000000..0ba694af6c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.svg new file mode 100644 index 0000000000..783a0b9d77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/6.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M19.106,10.673c-0.112-1.12-0.84-1.904-2.296-1.904c-2.548,0-3.136,2.912-3.276,5.488l0.056,0.056 + c0.532-0.728,1.512-1.651,3.724-1.651c4.116,0,6.077,3.164,6.077,6.131c0,4.34-2.66,7.252-6.497,7.252 + c-6.02,0-7.196-5.039-7.196-9.996c0-3.78,0.504-10.416,7.392-10.416c0.812,0,3.08,0.308,4.061,1.288 + c1.092,1.063,1.483,1.652,1.848,3.752H19.106z M16.614,15.797c-1.484,0-2.996,0.924-2.996,3.416c0,2.156,1.232,3.697,3.108,3.697 + c1.428,0,2.745-1.094,2.745-3.781C19.471,16.609,17.846,15.797,16.614,15.797z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.gif new file mode 100644 index 0000000000..e55ce89585 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.png new file mode 100644 index 0000000000..472e96f8ac Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.svg new file mode 100644 index 0000000000..59b3714b56 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/7.svg @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M24.28,9.66c-1.904,2.071-6.776,7.951-7.252,16.52h-4.032c0.42-7.952,5.404-14.28,7.084-16.072 + h-9.884l0.084-3.472h14V9.66z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.gif new file mode 100644 index 0000000000..49375e09f4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.png new file mode 100644 index 0000000000..5e60973c21 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.svg new file mode 100644 index 0000000000..c1803a3c0d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/8.svg @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M16.28,26.712c-5.124,0-6.888-3.332-6.888-6.048c0-1.009,0-3.641,3.024-5.04 + c-1.568-0.784-2.408-2.044-2.408-3.893c0-3.388,2.716-5.432,6.188-5.432c4.116,0,6.3,2.436,6.3,5.18 + c0,1.708-0.7,3.164-2.296,4.004c1.903,0.952,2.968,2.212,2.968,4.788C23.168,22.792,21.544,26.712,16.28,26.712z M16.224,17.332 + c-1.428,0-2.8,0.924-2.8,3.08c0,1.903,1.092,3.164,2.884,3.164c2.043,0,2.829-1.765,2.829-3.137 + C19.137,19.04,18.408,17.332,16.224,17.332z M18.744,11.899c0-1.512-1.036-2.464-2.296-2.464c-1.764,0-2.688,1.008-2.688,2.464 + c0,1.177,0.868,2.464,2.548,2.464C17.848,14.363,18.744,13.328,18.744,11.899z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.gif b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.gif new file mode 100644 index 0000000000..da12a4fe28 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.png b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.png new file mode 100644 index 0000000000..a0676d26cc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.svg b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.svg new file mode 100644 index 0000000000..bc149d3cb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/callouts/9.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.0" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="33" height="33" viewBox="0 0 33 33" + style="overflow:visible;enable-background:new 0 0 33 33;" xml:space="preserve"> +<circle style="stroke:#000000;" cx="16.5" cy="16.5" r="16"/> +<g> + <g style="enable-background:new ;"> + <path style="fill:#FFFFFF;" d="M13.953,21.921v0.027c0.224,1.372,1.092,1.961,2.296,1.961c1.624,0,3.248-1.372,3.276-5.545 + l-0.057-0.056c-0.896,1.344-2.436,1.68-3.78,1.68c-3.808,0-6.02-2.884-6.02-6.216c0-4.872,2.884-7.14,6.776-7.14 + c6.888,0,7,7.42,7,10.22c0,7.7-3.641,10.192-7.224,10.192c-3.388,0-5.824-1.96-6.16-5.124H13.953z M16.529,16.853 + c1.372,0,2.884-0.979,2.884-3.332c0-2.268-0.98-3.668-2.996-3.668c-1.008,0-2.828,0.504-2.828,3.36 + C13.589,16.209,15.045,16.853,16.529,16.853z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/caution.gif b/apache-fop/src/test/resources/docbook-xsl/images/caution.gif new file mode 100644 index 0000000000..d9f5e5b1bc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/caution.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/caution.png b/apache-fop/src/test/resources/docbook-xsl/images/caution.png new file mode 100644 index 0000000000..5b7809ca4a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/caution.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/caution.svg b/apache-fop/src/test/resources/docbook-xsl/images/caution.svg new file mode 100644 index 0000000000..dd84f3fe36 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/caution.svg @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;"> + <!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;"> + <!ENTITY st3 "fill:none;stroke:none;"> + <!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st5 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st4;"> + <g> + <path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/> + <path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/> + <path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/> + <g> + <path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/> + </g> + </g> + </g> + <g id="crop_x0020_marks" style="&st4;"> + <path style="&st3;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/caution.tif b/apache-fop/src/test/resources/docbook-xsl/images/caution.tif new file mode 100644 index 0000000000..4a282948c4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/caution.tif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/caution.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/caution.svg new file mode 100644 index 0000000000..7a0db0bc0f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/caution.svg @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="caution" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <g> + <g> + <path stroke="#FFFFFF" stroke-width="6.6112" d="M41.629,36.303L26.527,10.403c-0.602-1-1.698-1.7-2.898-1.6 + c-1.2,0-2.3,0.7-2.9,1.7l-14.5,25.899c-0.6,1-0.6,2.301,0,3.301s1.7,1.6,2.9,1.6h29.599c1.199,0,2.301-0.6,2.899-1.699 + C42.229,38.604,42.229,37.303,41.629,36.303L41.629,36.303z"/> + <g> + <path fill="#FFFFFF" stroke="#FFCC00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" d="M23.581,12.003 + l-14.5,26H38.68L23.581,12.003z"/> + <polygon fill="#FFFFFF" stroke="#FFCD00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.582,12.054 9.137,37.953 38.622,37.953 "/> + <polygon fill="#FFFFFF" stroke="#FFCE00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.583,12.104 9.193,37.9 38.566,37.9 "/> + <polygon fill="#FFFFFF" stroke="#FFCF00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.583,12.153 9.25,37.854 38.508,37.854 "/> + <polygon fill="#FFFFFF" stroke="#FFD000" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.584,12.205 9.309,37.805 38.451,37.805 "/> + <polygon fill="#FFFFFF" stroke="#FFD100" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.585,12.253 9.364,37.753 38.395,37.753 "/> + <polygon fill="#FFFFFF" stroke="#FFD200" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.586,12.304 9.421,37.703 38.337,37.703 "/> + <polygon fill="#FFFFFF" stroke="#FFD300" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.587,12.354 9.479,37.652 38.279,37.652 "/> + <polygon fill="#FFFFFF" stroke="#FFD400" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.588,12.403 9.537,37.604 38.223,37.604 "/> + <polygon fill="#FFFFFF" stroke="#FFD500" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.589,12.455 9.591,37.553 38.166,37.553 "/> + <polygon fill="#FFFFFF" stroke="#FFD600" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.591,12.503 9.649,37.503 38.109,37.503 "/> + <polygon fill="#FFFFFF" stroke="#FFD700" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.591,12.554 9.707,37.453 38.053,37.453 "/> + <polygon fill="#FFFFFF" stroke="#FFD800" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.593,12.604 9.764,37.402 37.996,37.402 "/> + <polygon fill="#FFFFFF" stroke="#FFD900" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.594,12.653 9.819,37.354 37.939,37.354 "/> + <polygon fill="#FFFFFF" stroke="#FFDA00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.596,12.705 9.876,37.303 37.882,37.303 "/> + <polygon fill="#FFFFFF" stroke="#FFDB00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.597,12.753 9.935,37.253 37.824,37.253 "/> + <polygon fill="#FFFFFF" stroke="#FFDC00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.599,12.804 9.991,37.203 37.768,37.203 "/> + <polygon fill="#FFFFFF" stroke="#FFDD00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.601,12.854 10.047,37.152 37.711,37.152 "/> + <polygon fill="#FFFFFF" stroke="#FFDE00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.602,12.903 10.104,37.104 37.654,37.104 "/> + <polygon fill="#FFFFFF" stroke="#FFDF00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.603,12.955 10.163,37.053 37.598,37.053 "/> + <polygon fill="#FFFFFF" stroke="#FFE000" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.604,13.003 10.218,37.003 37.54,37.003 "/> + <polygon fill="#FFFFFF" stroke="#FFE100" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.604,13.054 10.275,36.953 37.482,36.953 "/> + <polygon fill="#FFFFFF" stroke="#FFE200" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.605,13.104 10.333,36.902 37.427,36.902 "/> + <polygon fill="#FFFFFF" stroke="#FFE300" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.606,13.153 10.389,36.854 37.37,36.854 "/> + <polygon fill="#FFFFFF" stroke="#FFE400" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.607,13.205 10.445,36.805 37.312,36.805 "/> + <polygon fill="#FFFFFF" stroke="#FFE500" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.608,13.253 10.502,36.753 37.256,36.753 "/> + <polygon fill="#FFFFFF" stroke="#FFE600" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.609,13.304 10.561,36.703 37.197,36.703 "/> + <polygon fill="#FFFFFF" stroke="#FFE600" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.61,13.354 10.617,36.652 37.143,36.652 "/> + <polygon fill="#FFFFFF" stroke="#FFE700" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.611,13.403 10.673,36.604 37.085,36.604 "/> + <polygon fill="#FFFFFF" stroke="#FFE800" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.613,13.455 10.73,36.553 37.027,36.553 "/> + <polygon fill="#FFFFFF" stroke="#FFE900" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.614,13.503 10.789,36.503 36.971,36.503 "/> + <polygon fill="#FFFFFF" stroke="#FFEA00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.616,13.554 10.844,36.453 36.914,36.453 "/> + <polygon fill="#FFFFFF" stroke="#FFEB00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.617,13.604 10.901,36.402 36.857,36.402 "/> + <polygon fill="#FFFFFF" stroke="#FFEC00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.618,13.653 10.958,36.354 36.8,36.354 "/> + <polygon fill="#FFFFFF" stroke="#FFED00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.619,13.705 11.017,36.303 36.742,36.303 "/> + <polygon fill="#FFFFFF" stroke="#FFEE00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.622,13.753 11.071,36.253 36.688,36.253 "/> + <polygon fill="#FFFFFF" stroke="#FFEF00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.623,13.804 11.129,36.203 36.63,36.203 "/> + <polygon fill="#FFFFFF" stroke="#FFF000" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.624,13.854 11.188,36.152 36.572,36.152 "/> + <polygon fill="#FFFFFF" stroke="#FFF100" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.625,13.903 11.243,36.104 36.516,36.104 "/> + <polygon fill="#FFFFFF" stroke="#FFF200" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.625,13.955 11.299,36.053 36.459,36.053 "/> + <polygon fill="#FFFFFF" stroke="#FFF300" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.626,14.003 11.356,36.003 36.4,36.003 "/> + <polygon fill="#FFFFFF" stroke="#FFF400" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.627,14.054 11.415,35.953 36.346,35.953 "/> + <polygon fill="#FFFFFF" stroke="#FFF500" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.628,14.104 11.471,35.902 36.288,35.902 "/> + <polygon fill="#FFFFFF" stroke="#FFF600" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.629,14.153 11.527,35.854 36.232,35.854 "/> + <polygon fill="#FFFFFF" stroke="#FFF700" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.63,14.205 11.584,35.805 36.174,35.805 "/> + <polygon fill="#FFFFFF" stroke="#FFF800" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.631,14.253 11.643,35.753 36.117,35.753 "/> + <polygon fill="#FFFFFF" stroke="#FFF900" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.632,14.304 11.699,35.703 36.061,35.703 "/> + <polygon fill="#FFFFFF" stroke="#FFFA00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.633,14.354 11.754,35.652 36.003,35.652 "/> + <polygon fill="#FFFFFF" stroke="#FFFB00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.635,14.403 11.812,35.604 35.945,35.604 "/> + <polygon fill="#FFFFFF" stroke="#FFFC00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.637,14.455 11.869,35.555 35.891,35.555 "/> + <polygon fill="#FFFFFF" stroke="#FFFD00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.638,14.503 11.925,35.503 35.833,35.503 "/> + <polygon fill="#FFFFFF" stroke="#FFFE00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 23.639,14.554 11.982,35.453 35.775,35.453 "/> + <path fill="#FFFFFF" stroke="#FFFF00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" d="M23.64,14.604 + l-11.6,20.8h23.678L23.64,14.604z"/> + </g> + </g> + + <linearGradient id="XMLID_50_" gradientUnits="userSpaceOnUse" x1="395.8457" y1="758.1504" x2="395.8457" y2="785.7822" gradientTransform="matrix(1 0 0 1 -372 -747)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#FFFF00"/> + </linearGradient> + <path fill="url(#XMLID_50_)" d="M38.891,34.532L26.055,12.519c-0.511-0.85-1.443-1.445-2.462-1.36 + c-1.02,0-1.955,0.595-2.465,1.445L8.8,34.617c-0.51,0.851-0.51,1.953,0,2.805c0.51,0.852,1.445,1.36,2.465,1.36h25.158 + c1.021,0,1.956-0.511,2.467-1.445C39.4,36.484,39.4,35.382,38.891,34.532L38.891,34.532z"/> + </g> + <g> + <path d="M23.929,33.948c-1.1,0-1.8-0.8-1.8-1.8c0-1.102,0.7-1.801,1.8-1.801c1.101,0,1.8,0.699,1.8,1.801 + C25.729,33.148,25.029,33.948,23.929,33.948L23.929,33.948z M22.729,29.248l-0.4-9.1h3.2l-0.399,9.1h-2.297H22.729z"/> + </g> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M47.93,49.049H-0.071v-48H47.93V49.049z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/home.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/home.svg new file mode 100644 index 0000000000..d6dbc01cfb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/home.svg @@ -0,0 +1,498 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g id="Home"> + <g> + <g id="Chimney"> + <g> + <path fill="#660000" d="M30.417,17.563c2.776,2.348,8.258,0.835,7.742,0.434c0-1.2,0-6.9,0-6.9c0-1.2-0.802-2-2-2h-4.802 + c-1,0-1.698,0.6-1.899,1.5C28.648,9.916,28.359,15.822,30.417,17.563z"/> + <path fill="#670000" d="M30.422,17.556c2.771,2.343,8.244,0.833,7.729,0.433c0-1.199,0-6.889,0-6.889 + c0-1.198-0.799-1.997-1.996-1.997h-4.793c-0.998,0-1.695,0.599-1.896,1.498C28.657,9.921,28.368,15.818,30.422,17.556z"/> + <path fill="#680000" d="M30.428,17.548c2.768,2.34,8.229,0.832,7.717,0.432c0-1.196,0-6.876,0-6.876 + c0-1.196-0.799-1.993-1.994-1.993h-4.783c-0.997,0-1.693,0.598-1.895,1.495C28.665,9.927,28.377,15.813,30.428,17.548z"/> + <path fill="#690000" d="M30.434,17.541c2.762,2.336,8.215,0.831,7.703,0.432c0-1.194,0-6.865,0-6.865 + c0-1.194-0.798-1.989-1.99-1.989H31.37c-0.994,0-1.69,0.596-1.892,1.492C28.674,9.932,28.387,15.809,30.434,17.541z"/> + <path fill="#6B0000" d="M30.438,17.533c2.758,2.332,8.203,0.829,7.69,0.431c0-1.192,0-6.853,0-6.853 + c0-1.192-0.796-1.987-1.987-1.987h-4.768c-0.993,0-1.688,0.596-1.889,1.49C28.682,9.937,28.395,15.804,30.438,17.533z"/> + <path fill="#6C0000" d="M30.443,17.525c2.752,2.328,8.188,0.828,7.677,0.43c0-1.19,0-6.841,0-6.841 + c0-1.19-0.795-1.983-1.983-1.983h-4.76c-0.99,0-1.686,0.595-1.885,1.487C28.689,9.943,28.402,15.799,30.443,17.525z"/> + <path fill="#6D0000" d="M30.448,17.518c2.747,2.323,8.174,0.826,7.663,0.429c0-1.188,0-6.829,0-6.829 + c0-1.188-0.793-1.979-1.979-1.979h-4.751c-0.99,0-1.682,0.593-1.881,1.485C28.698,9.949,28.412,15.795,30.448,17.518z"/> + <path fill="#6E0000" d="M30.454,17.51c2.743,2.32,8.159,0.825,7.649,0.429c0-1.187,0-6.818,0-6.818 + c0-1.186-0.791-1.976-1.977-1.976h-4.744c-0.986,0-1.679,0.592-1.877,1.482C28.707,9.954,28.421,15.791,30.454,17.51z"/> + <path fill="#6F0000" d="M30.46,17.503c2.738,2.315,8.146,0.824,7.636,0.427c0-1.184,0-6.806,0-6.806 + c0-1.184-0.789-1.973-1.972-1.973h-4.735c-0.986,0-1.677,0.592-1.875,1.479C28.715,9.96,28.43,15.786,30.46,17.503z"/> + <path fill="#700000" d="M30.465,17.495c2.733,2.312,8.131,0.822,7.623,0.427c0-1.182,0-6.794,0-6.794 + c0-1.182-0.789-1.969-1.969-1.969h-4.729c-0.983,0-1.673,0.59-1.871,1.477C28.725,9.965,28.438,15.781,30.465,17.495z"/> + <path fill="#720000" d="M30.471,17.487c2.729,2.308,8.116,0.821,7.609,0.426c0-1.18,0-6.782,0-6.782 + c0-1.179-0.787-1.966-1.967-1.966h-4.719c-0.982,0-1.67,0.589-1.867,1.475C28.73,9.97,28.447,15.776,30.471,17.487z"/> + <path fill="#730000" d="M30.477,17.48c2.724,2.304,8.103,0.819,7.597,0.426c0-1.178,0-6.771,0-6.771 + c0-1.177-0.786-1.962-1.962-1.962H31.4c-0.981,0-1.668,0.589-1.865,1.472C28.74,9.976,28.456,15.772,30.477,17.48z"/> + <path fill="#740000" d="M30.48,17.473c2.72,2.299,8.088,0.817,7.584,0.424c0-1.176,0-6.759,0-6.759 + c0-1.175-0.785-1.959-1.959-1.959h-4.703c-0.979,0-1.664,0.587-1.861,1.469C28.748,9.981,28.465,15.767,30.48,17.473z"/> + <path fill="#750000" d="M30.484,17.465c2.717,2.295,8.076,0.816,7.572,0.424c0-1.174,0-6.747,0-6.747 + c0-1.174-0.783-1.956-1.957-1.956h-4.693c-0.979,0-1.661,0.586-1.858,1.467C28.757,9.987,28.475,15.763,30.484,17.465z"/> + <path fill="#760000" d="M30.491,17.458c2.71,2.292,8.061,0.815,7.558,0.423c0-1.172,0-6.735,0-6.735 + c0-1.171-0.781-1.953-1.953-1.953H31.41c-0.977,0-1.658,0.585-1.854,1.465C28.766,9.993,28.482,15.758,30.491,17.458z"/> + <path fill="#770000" d="M30.496,17.45c2.706,2.288,8.047,0.813,7.545,0.422c0-1.17,0-6.724,0-6.724 + c0-1.169-0.781-1.949-1.949-1.949h-4.678c-0.975,0-1.656,0.584-1.854,1.461C28.773,9.998,28.491,15.754,30.496,17.45z"/> + <path fill="#790000" d="M30.502,17.442c2.701,2.284,8.032,0.812,7.531,0.422c0-1.167,0-6.712,0-6.712 + c0-1.167-0.779-1.945-1.945-1.945h-4.671c-0.972,0-1.651,0.583-1.849,1.458C28.781,10.004,28.5,15.749,30.502,17.442z"/> + <path fill="#7A0000" d="M30.507,17.435c2.696,2.28,8.019,0.811,7.519,0.421c0-1.166,0-6.7,0-6.7 + c0-1.166-0.777-1.942-1.942-1.942h-4.661c-0.971,0-1.648,0.583-1.845,1.457C28.79,10.009,28.509,15.745,30.507,17.435z"/> + <path fill="#7B0000" d="M30.514,17.427c2.689,2.276,8.004,0.81,7.504,0.42c0-1.164,0-6.688,0-6.688 + c0-1.163-0.776-1.938-1.938-1.938h-4.653c-0.97,0-1.646,0.582-1.842,1.454C28.798,10.014,28.518,15.74,30.514,17.427z"/> + <path fill="#7C0000" d="M30.518,17.42c2.688,2.271,7.99,0.808,7.491,0.419c0-1.162,0-6.677,0-6.677 + c0-1.161-0.774-1.935-1.935-1.935h-4.646c-0.968,0-1.645,0.58-1.839,1.451C28.807,10.02,28.525,15.736,30.518,17.42z"/> + <path fill="#7D0000" d="M30.521,17.412c2.683,2.268,7.978,0.806,7.479,0.418c0-1.159,0-6.665,0-6.665 + c0-1.159-0.774-1.932-1.933-1.932h-4.637c-0.967,0-1.642,0.58-1.836,1.449C28.814,10.025,28.535,15.73,30.521,17.412z"/> + <path fill="#7E0000" d="M30.527,17.404c2.678,2.264,7.963,0.805,7.466,0.418c0-1.157,0-6.652,0-6.652 + c0-1.158-0.772-1.929-1.929-1.929h-4.629c-0.965,0-1.639,0.578-1.832,1.446C28.823,10.031,28.544,15.726,30.527,17.404z"/> + <path fill="#800000" d="M30.533,17.397c2.673,2.26,7.947,0.804,7.451,0.417c0-1.155,0-6.641,0-6.641 + c0-1.155-0.771-1.925-1.924-1.925h-4.621c-0.963,0-1.635,0.577-1.83,1.443C28.831,10.037,28.553,15.722,30.533,17.397z"/> + <path fill="#810000" d="M30.538,17.39c2.668,2.255,7.935,0.802,7.438,0.417c0-1.153,0-6.629,0-6.629 + c0-1.153-0.77-1.922-1.922-1.922h-4.611c-0.961,0-1.633,0.576-1.826,1.442C28.84,10.042,28.562,15.717,30.538,17.39z"/> + <path fill="#820000" d="M30.544,17.382c2.663,2.252,7.92,0.801,7.427,0.416c0-1.151,0-6.618,0-6.618 + c0-1.151-0.77-1.918-1.92-1.918h-4.604c-0.961,0-1.631,0.575-1.823,1.438C28.85,10.047,28.57,15.713,30.544,17.382z"/> + <path fill="#830000" d="M30.549,17.375c2.659,2.248,7.906,0.799,7.413,0.415c0-1.149,0-6.606,0-6.606 + c0-1.149-0.769-1.915-1.915-1.915H31.45c-0.957,0-1.626,0.574-1.819,1.436C28.855,10.053,28.579,15.708,30.549,17.375z"/> + <path fill="#840000" d="M30.555,17.367c2.653,2.243,7.893,0.797,7.399,0.414c0-1.147,0-6.594,0-6.594 + c0-1.147-0.767-1.911-1.912-1.911h-4.588c-0.955,0-1.623,0.573-1.815,1.434C28.865,10.059,28.588,15.704,30.555,17.367z"/> + <path fill="#850000" d="M30.561,17.359c2.648,2.24,7.877,0.797,7.387,0.414c0-1.145,0-6.583,0-6.583 + c0-1.145-0.766-1.908-1.908-1.908h-4.58c-0.954,0-1.621,0.572-1.812,1.431C28.873,10.064,28.598,15.699,30.561,17.359z"/> + <path fill="#860000" d="M30.564,17.352c2.645,2.235,7.863,0.795,7.373,0.413c0-1.143,0-6.57,0-6.57 + c0-1.143-0.764-1.905-1.904-1.905h-4.571c-0.953,0-1.618,0.571-1.81,1.428C28.882,10.069,28.605,15.694,30.564,17.352z"/> + <path fill="#880000" d="M30.57,17.344c2.64,2.232,7.85,0.794,7.359,0.412c0-1.141,0-6.559,0-6.559 + c0-1.141-0.762-1.901-1.902-1.901h-4.562c-0.949,0-1.613,0.57-1.806,1.426C28.891,10.075,28.613,15.689,30.57,17.344z"/> + <path fill="#890000" d="M30.576,17.337c2.634,2.228,7.835,0.792,7.346,0.411c0-1.139,0-6.547,0-6.547 + c0-1.139-0.76-1.898-1.896-1.898h-4.557c-0.947,0-1.611,0.569-1.803,1.423C28.898,10.08,28.623,15.685,30.576,17.337z"/> + <path fill="#8A0000" d="M30.581,17.33c2.63,2.223,7.821,0.79,7.333,0.41c0-1.137,0-6.535,0-6.535 + c0-1.137-0.76-1.894-1.895-1.894h-4.547c-0.947,0-1.609,0.567-1.801,1.421C28.906,10.086,28.632,15.681,30.581,17.33z"/> + <path fill="#8B0000" d="M30.587,17.321c2.625,2.22,7.808,0.79,7.319,0.41c0-1.135,0-6.523,0-6.523 + c0-1.135-0.758-1.891-1.891-1.891h-4.539c-0.945,0-1.606,0.567-1.797,1.418C28.915,10.091,28.641,15.676,30.587,17.321z"/> + <path fill="#8C0000" d="M30.592,17.314c2.62,2.216,7.793,0.788,7.307,0.409c0-1.132,0-6.512,0-6.512 + c0-1.132-0.756-1.887-1.887-1.887H31.48c-0.943,0-1.604,0.566-1.793,1.416C28.923,10.097,28.648,15.671,30.592,17.314z"/> + <path fill="#8D0000" d="M30.598,17.307c2.614,2.211,7.778,0.787,7.293,0.409c0-1.131,0-6.5,0-6.5 + c0-1.13-0.754-1.884-1.884-1.884h-4.522c-0.941,0-1.601,0.564-1.791,1.413C28.932,10.103,28.658,15.667,30.598,17.307z"/> + <path fill="#8F0000" d="M30.604,17.299c2.609,2.208,7.765,0.785,7.279,0.408c0-1.128,0-6.488,0-6.488 + c0-1.128-0.753-1.881-1.881-1.881h-4.516c-0.939,0-1.598,0.564-1.786,1.411C28.939,10.107,28.668,15.662,30.604,17.299z"/> + <path fill="#900000" d="M30.607,17.292c2.605,2.204,7.75,0.784,7.268,0.407c0-1.127,0-6.477,0-6.477 + c0-1.127-0.753-1.877-1.878-1.877h-4.506c-0.938,0-1.595,0.563-1.783,1.408C28.948,10.113,28.676,15.658,30.607,17.292z"/> + <path fill="#910000" d="M30.611,17.284c2.604,2.199,7.738,0.782,7.256,0.406c0-1.124,0-6.464,0-6.464 + c0-1.125-0.751-1.874-1.874-1.874h-4.498c-0.938,0-1.593,0.562-1.781,1.405C28.956,10.119,28.686,15.653,30.611,17.284z"/> + <path fill="#920000" d="M30.618,17.276c2.597,2.196,7.723,0.781,7.241,0.406c0-1.123,0-6.453,0-6.453 + c0-1.123-0.75-1.871-1.871-1.871h-4.49c-0.936,0-1.588,0.561-1.775,1.403C28.965,10.124,28.693,15.649,30.618,17.276z"/> + <path fill="#930000" d="M30.623,17.269c2.592,2.191,7.709,0.779,7.229,0.404c0-1.12,0-6.441,0-6.441 + c0-1.121-0.748-1.867-1.867-1.867h-4.481c-0.935,0-1.586,0.56-1.772,1.4C28.973,10.13,28.703,15.644,30.623,17.269z"/> + <path fill="#940000" d="M30.629,17.261c2.587,2.188,7.694,0.778,7.214,0.404c0-1.119,0-6.43,0-6.43 + c0-1.119-0.745-1.863-1.862-1.863h-4.475c-0.932,0-1.583,0.559-1.771,1.397C28.98,10.135,28.711,15.64,30.629,17.261z"/> + <path fill="#960000" d="M30.634,17.254c2.583,2.184,7.681,0.776,7.201,0.403c0-1.116,0-6.417,0-6.417 + c0-1.116-0.745-1.86-1.86-1.86H31.51c-0.93,0-1.58,0.558-1.768,1.395C28.988,10.141,28.721,15.635,30.634,17.254z"/> + <path fill="#970000" d="M30.641,17.247c2.576,2.179,7.666,0.775,7.188,0.402c0-1.115,0-6.406,0-6.406 + c0-1.114-0.744-1.856-1.855-1.856h-4.459c-0.928,0-1.576,0.557-1.764,1.393C28.998,10.146,28.729,15.63,30.641,17.247z"/> + <path fill="#980000" d="M30.645,17.239c2.573,2.176,7.652,0.774,7.176,0.401c0-1.112,0-6.394,0-6.394 + c0-1.112-0.742-1.853-1.854-1.853h-4.448c-0.928,0-1.574,0.556-1.762,1.39C29.006,10.151,28.738,15.625,30.645,17.239z"/> + <path fill="#990000" d="M30.65,17.231c2.567,2.172,7.638,0.772,7.16,0.401c0-1.11,0-6.383,0-6.383c0-1.11-0.74-1.85-1.85-1.85 + H31.52c-0.924,0-1.57,0.555-1.758,1.387C29.016,10.157,28.747,15.621,30.65,17.231z"/> + <path fill="#9A0000" d="M30.654,17.224c2.563,2.167,7.625,0.771,7.148,0.4c0-1.108,0-6.371,0-6.371 + c0-1.108-0.74-1.846-1.847-1.846h-4.433c-0.924,0-1.568,0.554-1.756,1.385C29.021,10.163,28.755,15.616,30.654,17.224z"/> + <path fill="#9B0000" d="M30.66,17.216c2.561,2.164,7.609,0.769,7.136,0.399c0-1.106,0-6.359,0-6.359 + c0-1.106-0.737-1.843-1.844-1.843h-4.425c-0.922,0-1.564,0.553-1.752,1.382C29.031,10.168,28.766,15.612,30.66,17.216z"/> + <path fill="#9C0000" d="M30.666,17.209c2.555,2.16,7.596,0.768,7.122,0.399c0-1.104,0-6.347,0-6.347 + c0-1.104-0.737-1.84-1.84-1.84h-4.417c-0.92,0-1.562,0.552-1.748,1.38C29.039,10.174,28.771,15.607,30.666,17.209z"/> + <path fill="#9E0000" d="M30.671,17.201c2.55,2.155,7.582,0.767,7.108,0.398c0-1.102,0-6.335,0-6.335 + c0-1.102-0.735-1.836-1.836-1.836h-4.408c-0.918,0-1.561,0.551-1.745,1.377C29.048,10.179,28.782,15.603,30.671,17.201z"/> + <path fill="#9F0000" d="M30.677,17.193c2.544,2.152,7.567,0.765,7.097,0.397c0-1.1,0-6.324,0-6.324 + c0-1.1-0.735-1.833-1.834-1.833H31.54c-0.916,0-1.558,0.549-1.741,1.375C29.057,10.185,28.79,15.598,30.677,17.193z"/> + <path fill="#A00000" d="M30.682,17.186c2.541,2.147,7.555,0.764,7.082,0.396c0-1.098,0-6.312,0-6.312 + c0-1.098-0.731-1.829-1.828-1.829h-4.393c-0.915,0-1.555,0.548-1.738,1.372C29.064,10.19,28.8,15.594,30.682,17.186z"/> + <path fill="#A10000" d="M30.688,17.178c2.535,2.144,7.539,0.763,7.068,0.396c0-1.096,0-6.3,0-6.3 + c0-1.096-0.73-1.826-1.826-1.826h-4.384c-0.912,0-1.551,0.547-1.733,1.37C29.072,10.196,28.809,15.589,30.688,17.178z"/> + <path fill="#A20000" d="M30.691,17.171c2.531,2.14,7.525,0.761,7.057,0.395c0-1.094,0-6.289,0-6.289 + c0-1.093-0.73-1.822-1.822-1.822H31.55c-0.911,0-1.548,0.546-1.731,1.367C29.081,10.201,28.816,15.584,30.691,17.171z"/> + <path fill="#A30000" d="M30.697,17.163c2.525,2.136,7.512,0.76,7.043,0.395c0-1.092,0-6.277,0-6.277 + c0-1.091-0.729-1.819-1.819-1.819h-4.366c-0.91,0-1.546,0.545-1.729,1.365C29.089,10.207,28.825,15.58,30.697,17.163z"/> + <path fill="#A50000" d="M30.703,17.156c2.521,2.132,7.497,0.758,7.029,0.394c0-1.09,0-6.265,0-6.265 + c0-1.09-0.729-1.816-1.815-1.816h-4.358c-0.908,0-1.543,0.544-1.727,1.362C29.098,10.212,28.835,15.575,30.703,17.156z"/> + <path fill="#A60000" d="M30.708,17.148c2.517,2.127,7.483,0.756,7.017,0.393c0-1.087,0-6.253,0-6.253 + c0-1.088-0.727-1.812-1.812-1.812h-4.351c-0.906,0-1.541,0.543-1.724,1.359C29.105,10.218,28.844,15.571,30.708,17.148z"/> + <path fill="#A70000" d="M30.714,17.141c2.511,2.124,7.47,0.755,7.003,0.392c0-1.086,0-6.241,0-6.241 + c0-1.085-0.725-1.809-1.81-1.809h-4.343c-0.904,0-1.537,0.542-1.719,1.357C29.113,10.223,28.854,15.566,30.714,17.141z"/> + <path fill="#A80000" d="M30.719,17.133c2.508,2.12,7.455,0.753,6.99,0.391c0-1.083,0-6.229,0-6.229 + c0-1.083-0.725-1.806-1.807-1.806h-4.334c-0.902,0-1.533,0.542-1.717,1.354C29.122,10.229,28.861,15.562,30.719,17.133z"/> + <path fill="#A90000" d="M30.725,17.125c2.502,2.116,7.44,0.752,6.978,0.391c0-1.082,0-6.218,0-6.218 + c0-1.081-0.724-1.802-1.804-1.802h-4.325c-0.901,0-1.53,0.54-1.714,1.352C29.131,10.234,28.87,15.557,30.725,17.125z"/> + <path fill="#AA0000" d="M30.729,17.118c2.498,2.111,7.428,0.75,6.965,0.39c0-1.08,0-6.206,0-6.206 + c0-1.079-0.721-1.798-1.799-1.798h-4.318c-0.899,0-1.528,0.539-1.71,1.349C29.139,10.24,28.879,15.552,30.729,17.118z"/> + <path fill="#AC0000" d="M30.734,17.11c2.492,2.108,7.412,0.75,6.951,0.389c0-1.078,0-6.194,0-6.194 + c0-1.077-0.721-1.795-1.797-1.795h-4.311c-0.896,0-1.523,0.538-1.705,1.346C29.146,10.245,28.889,15.548,30.734,17.11z"/> + <path fill="#AD0000" d="M30.74,17.103c2.486,2.104,7.398,0.748,6.937,0.389c0-1.076,0-6.183,0-6.183 + c0-1.075-0.718-1.792-1.792-1.792h-4.302c-0.896,0-1.521,0.537-1.702,1.344C29.154,10.251,28.896,15.543,30.74,17.103z"/> + <path fill="#AE0000" d="M30.745,17.096c2.483,2.1,7.385,0.746,6.924,0.388c0-1.074,0-6.171,0-6.171 + c0-1.073-0.717-1.789-1.788-1.789h-4.294c-0.896,0-1.519,0.537-1.698,1.341C29.164,10.256,28.904,15.539,30.745,17.096z"/> + <path fill="#AF0000" d="M30.751,17.088c2.478,2.096,7.37,0.745,6.91,0.387c0-1.072,0-6.159,0-6.159 + c0-1.071-0.716-1.785-1.785-1.785h-4.285c-0.893,0-1.517,0.535-1.696,1.339C29.172,10.262,28.914,15.534,30.751,17.088z"/> + <path fill="#B00000" d="M30.756,17.08c2.475,2.092,7.355,0.744,6.896,0.387c0-1.07,0-6.147,0-6.147 + c0-1.069-0.713-1.782-1.781-1.782h-4.277c-0.891,0-1.513,0.535-1.691,1.336C29.182,10.267,28.923,15.53,30.756,17.08z"/> + <path fill="#B10000" d="M30.762,17.073c2.469,2.088,7.342,0.743,6.885,0.386c0-1.067,0-6.136,0-6.136 + c0-1.067-0.713-1.778-1.778-1.778h-4.271c-0.889,0-1.51,0.533-1.688,1.334C29.188,10.272,28.932,15.525,30.762,17.073z"/> + <path fill="#B30000" d="M30.768,17.065c2.463,2.083,7.328,0.741,6.871,0.385c0-1.065,0-6.124,0-6.124 + c0-1.065-0.712-1.775-1.775-1.775h-4.262c-0.887,0-1.506,0.532-1.687,1.332C29.197,10.278,28.939,15.521,30.768,17.065z"/> + <path fill="#B40000" d="M30.771,17.058c2.459,2.08,7.313,0.74,6.857,0.384c0-1.063,0-6.112,0-6.112 + c0-1.063-0.71-1.771-1.771-1.771h-4.252c-0.887,0-1.506,0.531-1.685,1.329C29.205,10.284,28.949,15.516,30.771,17.058z"/> + <path fill="#B50000" d="M30.777,17.05c2.453,2.076,7.3,0.738,6.845,0.383c0-1.062,0-6.101,0-6.101 + c0-1.061-0.709-1.768-1.769-1.768h-4.244c-0.885,0-1.502,0.53-1.682,1.326C29.214,10.289,28.958,15.511,30.777,17.05z"/> + <path fill="#B60000" d="M30.782,17.043c2.45,2.071,7.286,0.736,6.831,0.382c0-1.059,0-6.088,0-6.088 + c0-1.059-0.707-1.765-1.766-1.765h-4.236c-0.881,0-1.498,0.529-1.676,1.323C29.223,10.294,28.967,15.507,30.782,17.043z"/> + <path fill="#B70000" d="M30.787,17.035c2.445,2.067,7.271,0.735,6.818,0.382c0-1.057,0-6.077,0-6.077 + c0-1.057-0.705-1.761-1.762-1.761h-4.229c-0.881,0-1.495,0.528-1.674,1.321C29.23,10.3,28.977,15.502,30.787,17.035z"/> + <path fill="#B80000" d="M30.793,17.028c2.439,2.063,7.258,0.733,6.807,0.381c0-1.055,0-6.065,0-6.065 + c0-1.055-0.705-1.758-1.76-1.758h-4.22c-0.879,0-1.493,0.527-1.67,1.318C29.238,10.306,28.984,15.498,30.793,17.028z"/> + <path fill="#B90000" d="M30.798,17.02c2.437,2.06,7.244,0.732,6.792,0.38c0-1.053,0-6.053,0-6.053 + c0-1.053-0.703-1.754-1.754-1.754h-4.212c-0.877,0-1.49,0.526-1.667,1.316C29.247,10.311,28.993,15.493,30.798,17.02z"/> + <path fill="#BB0000" d="M30.805,17.013c2.43,2.056,7.229,0.731,6.777,0.379c0-1.051,0-6.042,0-6.042 + c0-1.051-0.701-1.751-1.751-1.751h-4.204c-0.875,0-1.486,0.525-1.663,1.313C29.255,10.316,29.002,15.488,30.805,17.013z"/> + <path fill="#BC0000" d="M30.809,17.005c2.428,2.052,7.217,0.729,6.767,0.379c0-1.049,0-6.03,0-6.03 + c0-1.048-0.7-1.748-1.748-1.748h-4.195c-0.873,0-1.483,0.524-1.659,1.311C29.264,10.322,29.012,15.484,30.809,17.005z"/> + <path fill="#BD0000" d="M30.814,16.998c2.42,2.047,7.201,0.728,6.752,0.378c0-1.047,0-6.018,0-6.018 + c0-1.046-0.699-1.744-1.744-1.744h-4.188c-0.872,0-1.481,0.523-1.657,1.309C29.271,10.328,29.02,15.48,30.814,16.998z"/> + <path fill="#BE0000" d="M30.818,16.99c2.418,2.044,7.188,0.727,6.74,0.377c0-1.045,0-6.006,0-6.006 + c0-1.044-0.699-1.74-1.742-1.74h-4.178c-0.871,0-1.479,0.522-1.654,1.305C29.279,10.333,29.027,15.475,30.818,16.99z"/> + <path fill="#BF0000" d="M30.824,16.982c2.412,2.04,7.174,0.725,6.727,0.376c0-1.043,0-5.994,0-5.994 + c0-1.043-0.695-1.737-1.736-1.737h-4.172c-0.869,0-1.476,0.521-1.65,1.303C29.288,10.338,29.037,15.47,30.824,16.982z"/> + <path fill="#C00000" d="M30.83,16.975c2.406,2.036,7.158,0.724,6.713,0.376c0-1.041,0-5.982,0-5.982 + c0-1.041-0.695-1.734-1.734-1.734h-4.162c-0.867,0-1.473,0.52-1.647,1.3C29.297,10.344,29.046,15.466,30.83,16.975z"/> + <path fill="#C20000" d="M30.835,16.967c2.403,2.032,7.146,0.722,6.7,0.375c0-1.039,0-5.971,0-5.971 + c0-1.039-0.694-1.73-1.73-1.73H31.65c-0.865,0-1.471,0.519-1.646,1.298C29.305,10.35,29.055,15.461,30.835,16.967z"/> + <path fill="#C30000" d="M30.841,16.96c2.397,2.027,7.132,0.721,6.687,0.375c0-1.037,0-5.959,0-5.959 + c0-1.037-0.691-1.727-1.728-1.727h-4.146c-0.863,0-1.467,0.518-1.643,1.295C29.312,10.355,29.062,15.457,30.841,16.96z"/> + <path fill="#C40000" d="M30.846,16.952c2.395,2.023,7.117,0.72,6.674,0.374c0-1.035,0-5.948,0-5.948 + c0-1.034-0.69-1.724-1.725-1.724h-4.138c-0.862,0-1.464,0.517-1.64,1.293C29.32,10.36,29.072,15.452,30.846,16.952z"/> + <path fill="#C50000" d="M30.852,16.945c2.39,2.02,7.104,0.718,6.66,0.373c0-1.033,0-5.936,0-5.936 + c0-1.032-0.689-1.72-1.721-1.72H31.66c-0.859,0-1.46,0.516-1.635,1.291C29.33,10.366,29.081,15.447,30.852,16.945z"/> + <path fill="#C60000" d="M30.855,16.937c2.385,2.016,7.09,0.717,6.646,0.373c0-1.031,0-5.924,0-5.924 + c0-1.03-0.688-1.717-1.717-1.717h-4.122c-0.858,0-1.458,0.515-1.631,1.288C29.338,10.372,29.09,15.443,30.855,16.937z"/> + <path fill="#C70000" d="M30.861,16.93c2.38,2.012,7.074,0.715,6.634,0.372c0-1.029,0-5.913,0-5.913 + c0-1.028-0.687-1.713-1.714-1.713h-4.113c-0.855,0-1.455,0.514-1.628,1.285C29.348,10.377,29.1,15.438,30.861,16.93z"/> + <path fill="#C90000" d="M30.867,16.922c2.374,2.008,7.061,0.714,6.619,0.371c0-1.027,0-5.9,0-5.9c0-1.026-0.686-1.71-1.709-1.71 + h-4.105c-0.855,0-1.451,0.513-1.625,1.282C29.354,10.382,29.107,15.434,30.867,16.922z"/> + <path fill="#CA0000" d="M30.872,16.915c2.37,2.003,7.047,0.712,6.606,0.37c0-1.024,0-5.889,0-5.889 + c0-1.024-0.685-1.707-1.707-1.707h-4.098c-0.854,0-1.447,0.512-1.621,1.28C29.363,10.388,29.116,15.429,30.872,16.915z"/> + <path fill="#CB0000" d="M30.878,16.907c2.364,2,7.032,0.711,6.595,0.37c0-1.022,0-5.877,0-5.877 + c0-1.022-0.684-1.703-1.703-1.703h-4.09c-0.853,0-1.447,0.511-1.619,1.277C29.371,10.394,29.125,15.424,30.878,16.907z"/> + <path fill="#CC0000" d="M30.883,16.899c2.36,1.996,7.02,0.709,6.581,0.369c0-1.021,0-5.865,0-5.865c0-1.02-0.682-1.7-1.7-1.7 + h-4.08c-0.851,0-1.443,0.51-1.615,1.275C29.38,10.399,29.134,15.42,30.883,16.899z"/> + </g> + + <linearGradient id="Chimney_Highlight_1_" gradientUnits="userSpaceOnUse" x1="219.5195" y1="-239.7031" x2="219.5195" y2="-247.9902" gradientTransform="matrix(1 0 0 -1 -186 -230)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#CC0000"/> + </linearGradient> + <path id="Chimney_Highlight" fill="url(#Chimney_Highlight_1_)" d="M30.883,16.899c2.36,1.996,7.02,0.709,6.581,0.369 + c0-1.021,0-5.865,0-5.865c0-1.02-0.682-1.7-1.7-1.7h-4.08c-0.851,0-1.443,0.51-1.615,1.275 + C29.38,10.399,29.134,15.42,30.883,16.899z"/> + </g> + <g id="House"> + <g> + <path fill="#FFCC00" d="M8.5,24.788c0,2.4,0,14.2,0,14.2c0,1.101,0.8,1.9,1.8,1.9h27.4c1.1,0,1.899-0.9,1.899-2 + c0,0,0-11.8,0-14.2C40.6,24.688,7.4,24.788,8.5,24.788z"/> + <path fill="#FFCD00" d="M8.545,24.812c0,2.395,0,14.159,0,14.159c0,1.097,0.798,1.895,1.794,1.895h27.322 + c1.097,0,1.894-0.897,1.894-1.993c0,0,0-11.767,0-14.16C40.552,24.711,7.448,24.812,8.545,24.812z"/> + <path fill="#FFCE00" d="M8.589,24.835c0,2.387,0,14.119,0,14.119c0,1.094,0.795,1.889,1.79,1.889h27.242 + c1.094,0,1.889-0.896,1.889-1.988c0,0,0-11.73,0-14.118C40.504,24.735,7.496,24.835,8.589,24.835z"/> + <path fill="#FFCF00" d="M8.634,24.857c0,2.38,0,14.077,0,14.077c0,1.091,0.793,1.884,1.785,1.884h27.163 + c1.09,0,1.883-0.894,1.883-1.981c0,0,0-11.698,0-14.078C40.456,24.758,7.543,24.857,8.634,24.857z"/> + <path fill="#FFD000" d="M8.68,24.88c0,2.373,0,14.037,0,14.037c0,1.088,0.791,1.879,1.779,1.879h27.084 + c1.087,0,1.877-0.892,1.877-1.979c0,0,0-11.663,0-14.036C40.409,24.782,7.592,24.88,8.68,24.88z"/> + <path fill="#FFD100" d="M8.725,24.903c0,2.366,0,13.995,0,13.995c0,1.085,0.788,1.874,1.773,1.874h27.006 + c1.083,0,1.872-0.889,1.872-1.973c0,0,0-11.629,0-13.994C40.361,24.806,7.64,24.903,8.725,24.903z"/> + <path fill="#FFD200" d="M8.769,24.925c0,2.359,0,13.955,0,13.955c0,1.082,0.786,1.867,1.769,1.867h26.926 + c1.081,0,1.866-0.884,1.866-1.965c0,0,0-11.596,0-13.953C40.312,24.829,7.688,24.925,8.769,24.925z"/> + <path fill="#FFD300" d="M8.814,24.949c0,2.354,0,13.914,0,13.914c0,1.078,0.784,1.861,1.763,1.861h26.848 + c1.077,0,1.86-0.882,1.86-1.959c0,0,0-11.562,0-13.914C40.266,24.852,7.736,24.949,8.814,24.949z"/> + <path fill="#FFD400" d="M8.858,24.973c0,2.345,0,13.872,0,13.872c0,1.074,0.781,1.855,1.758,1.855h26.768 + c1.074,0,1.854-0.88,1.854-1.953c0,0,0-11.526,0-13.873C40.217,24.876,7.784,24.973,8.858,24.973z"/> + <path fill="#FFD500" d="M8.903,24.997c0,2.338,0,13.83,0,13.83c0,1.072,0.779,1.853,1.753,1.853h26.689 + c1.07,0,1.85-0.877,1.85-1.948c0,0,0-11.493,0-13.832C40.17,24.898,7.832,24.997,8.903,24.997z"/> + <path fill="#FFD600" d="M8.949,25.019c0,2.331,0,13.791,0,13.791c0,1.068,0.777,1.846,1.748,1.846h26.61 + c1.067,0,1.846-0.875,1.846-1.941c0,0,0-11.459,0-13.791C40.122,24.921,7.88,25.019,8.949,25.019z"/> + <path fill="#FFD700" d="M8.993,25.042c0,2.324,0,13.75,0,13.75c0,1.064,0.774,1.84,1.743,1.84h26.532 + c1.064,0,1.838-0.871,1.838-1.937c0,0,0-11.426,0-13.75C40.074,24.945,7.928,25.042,8.993,25.042z"/> + <path fill="#FFD800" d="M9.039,25.065c0,2.316,0,13.708,0,13.708c0,1.063,0.772,1.835,1.737,1.835h26.453 + c1.062,0,1.834-0.869,1.834-1.931c0,0,0-11.392,0-13.71C40.027,24.968,7.977,25.065,9.039,25.065z"/> + <path fill="#FFD900" d="M9.083,25.087c0,2.312,0,13.668,0,13.668c0,1.061,0.77,1.83,1.732,1.83h26.373 + c1.06,0,1.828-0.867,1.828-1.926c0,0,0-11.356,0-13.668C39.979,24.993,8.024,25.087,9.083,25.087z"/> + <path fill="#FFDA00" d="M9.128,25.111c0,2.304,0,13.626,0,13.626c0,1.057,0.767,1.824,1.727,1.824h26.293 + c1.056,0,1.822-0.864,1.822-1.919c0,0,0-11.323,0-13.627C39.932,25.016,8.072,25.111,9.128,25.111z"/> + <path fill="#FFDB00" d="M9.172,25.134c0,2.297,0,13.586,0,13.586c0,1.053,0.766,1.818,1.722,1.818h26.215 + c1.052,0,1.816-0.861,1.816-1.914c0,0,0-11.289,0-13.586C39.884,25.04,8.12,25.134,9.172,25.134z"/> + <path fill="#FFDC00" d="M9.217,25.157c0,2.29,0,13.545,0,13.545c0,1.051,0.763,1.812,1.717,1.812H37.07 + c1.049,0,1.812-0.858,1.812-1.907c0,0,0-11.256,0-13.545C39.836,25.062,8.168,25.157,9.217,25.157z"/> + <path fill="#FFDD00" d="M9.263,25.18c0,2.282,0,13.505,0,13.505c0,1.046,0.76,1.807,1.711,1.807h26.055 + c1.047,0,1.808-0.855,1.808-1.902c0,0,0-11.221,0-13.502C39.788,25.085,8.216,25.18,9.263,25.18z"/> + <path fill="#FFDE00" d="M9.307,25.204c0,2.275,0,13.463,0,13.463c0,1.043,0.758,1.801,1.707,1.801h25.978 + c1.043,0,1.801-0.854,1.801-1.896c0,0,0-11.188,0-13.463C39.74,25.109,8.265,25.204,9.307,25.204z"/> + <path fill="#FFDF00" d="M9.352,25.226c0,2.27,0,13.423,0,13.423c0,1.04,0.756,1.796,1.701,1.796h25.899 + c1.039,0,1.795-0.852,1.795-1.89c0,0,0-11.153,0-13.423C39.691,25.132,8.312,25.226,9.352,25.226z"/> + <path fill="#FFE000" d="M9.397,25.251c0,2.262,0,13.379,0,13.379c0,1.037,0.753,1.791,1.696,1.791h25.819 + c1.036,0,1.79-0.849,1.79-1.883c0,0,0-11.119,0-13.383C39.645,25.155,8.36,25.251,9.397,25.251z"/> + <path fill="#FFE100" d="M9.442,25.272c0,2.255,0,13.34,0,13.34c0,1.034,0.751,1.785,1.691,1.785h25.74 + c1.033,0,1.784-0.846,1.784-1.879c0,0,0-11.084,0-13.34C39.598,25.179,8.408,25.272,9.442,25.272z"/> + <path fill="#FFE200" d="M9.486,25.296c0,2.248,0,13.299,0,13.299c0,1.029,0.749,1.779,1.686,1.779h25.662 + c1.029,0,1.777-0.844,1.777-1.873c0,0,0-11.051,0-13.299C39.549,25.202,8.457,25.296,9.486,25.296z"/> + <path fill="#FFE300" d="M9.532,25.318c0,2.241,0,13.259,0,13.259c0,1.027,0.747,1.773,1.68,1.773h25.583 + c1.025,0,1.771-0.84,1.771-1.866c0,0,0-11.017,0-13.259C39.502,25.226,8.504,25.318,9.532,25.318z"/> + <path fill="#FFE400" d="M9.577,25.341c0,2.234,0,13.218,0,13.218c0,1.024,0.744,1.769,1.675,1.769h25.503 + c1.022,0,1.769-0.838,1.769-1.859c0,0,0-10.983,0-13.219C39.454,25.249,8.553,25.341,9.577,25.341z"/> + <path fill="#FFE500" d="M9.621,25.364c0,2.229,0,13.178,0,13.178c0,1.021,0.742,1.763,1.67,1.763h25.424 + c1.02,0,1.764-0.835,1.764-1.855c0,0,0-10.948,0-13.176C39.406,25.272,8.601,25.364,9.621,25.364z"/> + <path fill="#FFE600" d="M9.666,25.388c0,2.221,0,13.135,0,13.135c0,1.02,0.74,1.758,1.665,1.758h25.345 + c1.018,0,1.758-0.832,1.758-1.85c0,0,0-10.914,0-13.135C39.357,25.296,8.648,25.388,9.666,25.388z"/> + <path fill="#FFE600" d="M9.711,25.411c0,2.215,0,13.094,0,13.094c0,1.016,0.737,1.754,1.66,1.754h25.266 + c1.016,0,1.752-0.83,1.752-1.846c0,0,0-10.879,0-13.094C39.311,25.319,8.696,25.411,9.711,25.411z"/> + <path fill="#FFE700" d="M9.756,25.434c0,2.207,0,13.054,0,13.054c0,1.012,0.735,1.747,1.654,1.747h25.188 + c1.012,0,1.746-0.827,1.746-1.839c0,0,0-10.846,0-13.053C39.264,25.343,8.745,25.434,9.756,25.434z"/> + <path fill="#FFE800" d="M9.801,25.458c0,2.199,0,13.013,0,13.013c0,1.008,0.732,1.741,1.649,1.741h25.108 + c1.008,0,1.74-0.825,1.74-1.834c0,0,0-10.812,0-13.012C39.215,25.366,8.792,25.458,9.801,25.458z"/> + <path fill="#FFE900" d="M9.845,25.48c0,2.192,0,12.972,0,12.972c0,1.006,0.73,1.735,1.644,1.735h25.029 + c1.006,0,1.735-0.822,1.735-1.827c0,0,0-10.777,0-12.971C39.167,25.39,8.84,25.48,9.845,25.48z"/> + <path fill="#FFEA00" d="M9.89,25.503c0,2.187,0,12.931,0,12.931c0,1.002,0.729,1.729,1.639,1.729h24.95 + c1.002,0,1.729-0.818,1.729-1.82c0,0,0-10.744,0-12.93C39.12,25.413,8.889,25.503,9.89,25.503z"/> + <path fill="#FFEB00" d="M9.935,25.526c0,2.18,0,12.891,0,12.891c0,0.998,0.726,1.725,1.634,1.725h24.871 + c1,0,1.726-0.817,1.726-1.814c0,0,0-10.711,0-12.89C39.072,25.437,8.937,25.526,9.935,25.526z"/> + <path fill="#FFEC00" d="M9.98,25.548c0,2.174,0,12.85,0,12.85c0,0.996,0.724,1.721,1.628,1.721H36.4 + c0.994,0,1.719-0.814,1.719-1.811c0,0,0-10.676,0-12.85C39.023,25.46,8.985,25.548,9.98,25.548z"/> + <path fill="#FFED00" d="M10.025,25.572c0,2.165,0,12.808,0,12.808c0,0.992,0.721,1.715,1.623,1.715h24.713 + c0.99,0,1.713-0.812,1.713-1.805c0,0,0-10.642,0-12.808C38.977,25.482,9.033,25.572,10.025,25.572z"/> + <path fill="#FFEE00" d="M10.07,25.595c0,2.158,0,12.768,0,12.768c0,0.989,0.719,1.708,1.618,1.708h24.635 + c0.987,0,1.706-0.809,1.706-1.798c0,0,0-10.607,0-12.768C38.93,25.505,9.081,25.595,10.07,25.595z"/> + <path fill="#FFEF00" d="M10.114,25.618c0,2.151,0,12.727,0,12.727c0,0.986,0.717,1.703,1.613,1.703h24.555 + c0.985,0,1.702-0.808,1.702-1.793c0,0,0-10.573,0-12.726C38.881,25.529,9.129,25.618,10.114,25.618z"/> + <path fill="#FFF000" d="M10.159,25.642c0,2.145,0,12.686,0,12.686c0,0.982,0.714,1.696,1.608,1.696h24.476 + c0.981,0,1.696-0.804,1.696-1.786c0,0,0-10.54,0-12.685C38.833,25.553,9.177,25.642,10.159,25.642z"/> + <path fill="#FFF100" d="M10.204,25.665c0,2.138,0,12.644,0,12.644c0,0.979,0.712,1.692,1.603,1.692h24.397 + c0.979,0,1.69-0.802,1.69-1.78c0,0,0-10.507,0-12.644C38.785,25.577,9.225,25.665,10.204,25.665z"/> + <path fill="#FFF200" d="M10.249,25.688c0,2.131,0,12.603,0,12.603c0,0.978,0.71,1.688,1.597,1.688h24.318 + c0.977,0,1.686-0.799,1.686-1.773c0,0,0-10.473,0-12.604C38.736,25.6,9.273,25.688,10.249,25.688z"/> + <path fill="#FFF300" d="M10.294,25.71c0,2.125,0,12.562,0,12.562c0,0.975,0.708,1.682,1.592,1.682h24.239 + c0.973,0,1.68-0.797,1.68-1.77c0,0,0-10.438,0-12.562C38.689,25.624,9.321,25.71,10.294,25.71z"/> + <path fill="#FFF400" d="M10.339,25.733c0,2.117,0,12.521,0,12.521c0,0.97,0.705,1.675,1.587,1.675h24.16 + c0.969,0,1.674-0.793,1.674-1.763c0,0,0-10.403,0-12.521C38.643,25.646,9.369,25.733,10.339,25.733z"/> + <path fill="#FFF500" d="M10.384,25.757c0,2.109,0,12.479,0,12.479c0,0.969,0.703,1.67,1.582,1.67h24.081 + c0.967,0,1.669-0.79,1.669-1.757c0,0,0-10.369,0-12.479C38.596,25.669,9.417,25.757,10.384,25.757z"/> + <path fill="#FFF600" d="M10.428,25.779c0,2.104,0,12.438,0,12.438c0,0.965,0.701,1.664,1.577,1.664h24.002 + c0.964,0,1.663-0.787,1.663-1.75c0,0,0-10.336,0-12.438C38.547,25.693,9.465,25.779,10.428,25.779z"/> + <path fill="#FFF700" d="M10.473,25.803c0,2.097,0,12.397,0,12.397c0,0.961,0.698,1.659,1.571,1.659h23.923 + c0.96,0,1.658-0.786,1.658-1.746c0,0,0-10.302,0-12.397C38.499,25.716,9.513,25.803,10.473,25.803z"/> + <path fill="#FFF800" d="M10.518,25.827c0,2.088,0,12.355,0,12.355c0,0.958,0.696,1.654,1.566,1.654h23.844 + c0.957,0,1.653-0.783,1.653-1.74c0,0,0-10.268,0-12.356C38.451,25.74,9.561,25.827,10.518,25.827z"/> + <path fill="#FFF900" d="M10.563,25.849c0,2.083,0,12.316,0,12.316c0,0.953,0.693,1.647,1.561,1.647h23.765 + c0.953,0,1.647-0.78,1.647-1.733c0,0,0-10.233,0-12.316C38.402,25.763,9.609,25.849,10.563,25.849z"/> + <path fill="#FFFA00" d="M10.608,25.872c0,2.075,0,12.275,0,12.275c0,0.951,0.691,1.643,1.556,1.643H35.85 + c0.95,0,1.643-0.777,1.643-1.729c0,0,0-10.199,0-12.275C38.355,25.786,9.657,25.872,10.608,25.872z"/> + <path fill="#FFFB00" d="M10.653,25.896c0,2.068,0,12.232,0,12.232c0,0.949,0.689,1.639,1.55,1.639h23.607 + c0.946,0,1.637-0.775,1.637-1.723c0,0,0-10.166,0-12.234C38.309,25.81,9.705,25.896,10.653,25.896z"/> + <path fill="#FFFC00" d="M10.697,25.917c0,2.062,0,12.193,0,12.193c0,0.945,0.687,1.633,1.545,1.633H35.77 + c0.944,0,1.631-0.772,1.631-1.718c0,0,0-10.132,0-12.192C38.262,25.833,9.753,25.917,10.697,25.917z"/> + <path fill="#FFFD00" d="M10.742,25.941c0,2.056,0,12.151,0,12.151c0,0.941,0.685,1.627,1.541,1.627h23.449 + c0.939,0,1.625-0.771,1.625-1.711c0,0,0-10.098,0-12.152C38.213,25.856,9.801,25.941,10.742,25.941z"/> + <path fill="#FFFE00" d="M10.787,25.964c0,2.048,0,12.11,0,12.11c0,0.939,0.682,1.621,1.535,1.621h23.37 + c0.938,0,1.619-0.768,1.619-1.705c0,0,0-10.062,0-12.11C38.165,25.88,9.849,25.964,10.787,25.964z"/> + <path fill="#FFFF00" d="M10.832,25.987c0,2.041,0,12.07,0,12.07c0,0.936,0.68,1.615,1.53,1.615h23.291 + c0.936,0,1.615-0.766,1.615-1.699c0,0,0-10.029,0-12.07C38.117,25.903,9.897,25.987,10.832,25.987z"/> + </g> + + <linearGradient id="House_Highlight_1_" gradientUnits="userSpaceOnUse" x1="210.0469" y1="-255.9038" x2="210.0469" y2="-269.6733" gradientTransform="matrix(1 0 0 -1 -186 -230)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#FFFF00"/> + </linearGradient> + <path id="House_Highlight" fill="url(#House_Highlight_1_)" d="M10.832,25.987c0,2.041,0,12.07,0,12.07 + c0,0.936,0.68,1.615,1.53,1.615h23.291c0.936,0,1.615-0.766,1.615-1.699c0,0,0-10.029,0-12.07 + C38.117,25.903,9.897,25.987,10.832,25.987z"/> + </g> + <g id="Roof"> + <g> + <path fill="#006600" d="M22.8,6.963l-17.7,15.1l0,0c-0.3,0.301-0.5,0.801-0.5,1.2c0,0.2,0,0.399,0.1,0.601c0.3,0.6,0.9,1,1.6,1 + l35.3-0.1c0.801,0,1.4-0.5,1.7-1.201c0.101-0.199,0.101-0.4,0.101-0.6c0-0.5-0.199-1-0.699-1.4L25.4,6.963l0.1,0.1 + C24.8,6.363,23.7,6.263,22.8,6.963L22.8,6.963z"/> + <path fill="#006700" d="M22.803,6.989L5.155,22.044l0,0c-0.299,0.3-0.499,0.799-0.499,1.197c0,0.2,0,0.398,0.1,0.599 + c0.299,0.598,0.897,0.997,1.595,0.997l35.198-0.1c0.799,0,1.396-0.5,1.695-1.197c0.102-0.198,0.102-0.399,0.102-0.598 + c0-0.498-0.199-0.997-0.699-1.396L25.396,6.989l0.1,0.099C24.798,6.391,23.701,6.291,22.803,6.989L22.803,6.989z"/> + <path fill="#006800" d="M22.807,7.014L5.209,22.026l0,0c-0.298,0.299-0.497,0.796-0.497,1.193c0,0.199,0,0.397,0.1,0.598 + c0.298,0.596,0.895,0.994,1.591,0.994l35.096-0.1c0.796,0,1.394-0.498,1.69-1.194c0.1-0.198,0.1-0.397,0.1-0.596 + c0-0.497-0.198-0.995-0.696-1.393l-17.2-14.514l0.099,0.099C24.795,6.417,23.702,6.317,22.807,7.014L22.807,7.014z"/> + <path fill="#006900" d="M22.81,7.039L5.264,22.008l0,0c-0.298,0.298-0.496,0.793-0.496,1.189c0,0.198,0,0.396,0.099,0.596 + c0.297,0.594,0.893,0.99,1.586,0.99l34.995-0.099c0.794,0,1.388-0.497,1.686-1.19c0.101-0.198,0.101-0.397,0.101-0.594 + c0-0.496-0.198-0.991-0.694-1.389L25.389,7.039l0.1,0.099C24.793,6.444,23.703,6.345,22.81,7.039L22.81,7.039z"/> + <path fill="#006A00" d="M22.814,7.064L5.318,21.989l0,0c-0.296,0.298-0.494,0.792-0.494,1.187c0,0.198,0,0.395,0.099,0.594 + c0.295,0.593,0.89,0.987,1.582,0.987l34.892-0.098c0.793,0,1.386-0.494,1.682-1.187c0.1-0.197,0.1-0.396,0.1-0.593 + c0-0.494-0.197-0.988-0.691-1.384l-17.1-14.431l0.098,0.099C24.791,6.471,23.704,6.372,22.814,7.064L22.814,7.064z"/> + <path fill="#006B00" d="M22.817,7.089L5.373,21.971l0,0C5.077,22.267,4.88,22.76,4.88,23.154c0,0.197,0,0.394,0.099,0.592 + c0.295,0.591,0.887,0.984,1.577,0.984l34.792-0.099c0.789,0,1.381-0.493,1.676-1.183c0.1-0.196,0.1-0.395,0.1-0.591 + c0-0.493-0.197-0.986-0.689-1.38L25.381,7.089l0.098,0.098C24.788,6.498,23.705,6.399,22.817,7.089L22.817,7.089z"/> + <path fill="#006C00" d="M22.821,7.114L5.427,21.953l0,0c-0.295,0.295-0.492,0.787-0.492,1.179c0,0.197,0,0.393,0.099,0.59 + c0.294,0.589,0.884,0.981,1.572,0.981l34.688-0.098c0.787,0,1.376-0.492,1.671-1.181c0.1-0.196,0.1-0.393,0.1-0.589 + c0-0.492-0.196-0.983-0.688-1.376l-17-14.347l0.099,0.098C24.786,6.524,23.706,6.426,22.821,7.114L22.821,7.114z"/> + <path fill="#006D00" d="M22.824,7.139L5.481,21.934l0,0c-0.294,0.295-0.49,0.785-0.49,1.176c0,0.196,0,0.391,0.098,0.589 + c0.293,0.587,0.882,0.98,1.567,0.98l34.587-0.099c0.784,0,1.372-0.49,1.666-1.176c0.099-0.195,0.099-0.393,0.099-0.588 + c0-0.49-0.195-0.979-0.688-1.372L25.372,7.139l0.099,0.098C24.783,6.551,23.706,6.453,22.824,7.139L22.824,7.139z"/> + <path fill="#006E00" d="M22.827,7.164L5.536,21.915l0,0c-0.293,0.294-0.488,0.783-0.488,1.173c0,0.195,0,0.39,0.098,0.587 + c0.293,0.585,0.879,0.977,1.563,0.977l34.484-0.097c0.783,0,1.369-0.49,1.662-1.173c0.098-0.194,0.098-0.391,0.098-0.586 + c0-0.489-0.195-0.977-0.684-1.368L25.367,7.164l0.098,0.098C24.781,6.578,23.707,6.48,22.827,7.164L22.827,7.164z"/> + <path fill="#006F00" d="M22.831,7.189L5.591,21.897l0,0c-0.292,0.292-0.487,0.78-0.487,1.168c0,0.195,0,0.39,0.097,0.585 + c0.292,0.584,0.876,0.973,1.558,0.973l34.384-0.097c0.779,0,1.363-0.487,1.655-1.169c0.099-0.194,0.099-0.39,0.099-0.584 + c0-0.487-0.194-0.974-0.683-1.364L25.363,7.189l0.099,0.098C24.779,6.605,23.708,6.507,22.831,7.189L22.831,7.189z"/> + <path fill="#007000" d="M22.834,7.215L5.646,21.879l0,0c-0.292,0.292-0.486,0.778-0.486,1.165c0,0.195,0,0.388,0.098,0.584 + c0.291,0.582,0.874,0.971,1.554,0.971l34.281-0.098c0.778,0,1.36-0.485,1.651-1.166c0.098-0.193,0.098-0.389,0.098-0.583 + c0-0.485-0.193-0.971-0.68-1.36L25.359,7.215l0.098,0.097C24.775,6.632,23.709,6.535,22.834,7.215L22.834,7.215z"/> + <path fill="#007100" d="M22.838,7.24L5.7,21.86l0,0c-0.291,0.292-0.484,0.775-0.484,1.162c0,0.194,0,0.387,0.097,0.582 + c0.29,0.58,0.871,0.967,1.549,0.967l34.18-0.096c0.774,0,1.354-0.484,1.646-1.162c0.1-0.193,0.1-0.388,0.1-0.581 + c0-0.484-0.194-0.968-0.68-1.356L25.355,7.24l0.097,0.097C24.773,6.659,23.709,6.562,22.838,7.24L22.838,7.24z"/> + <path fill="#007200" d="M22.842,7.265L5.755,21.842l0,0C5.465,22.133,5.272,22.615,5.272,23c0,0.194,0,0.386,0.097,0.581 + c0.289,0.578,0.868,0.964,1.544,0.964l34.077-0.096c0.773,0,1.353-0.483,1.642-1.159c0.097-0.192,0.097-0.387,0.097-0.579 + c0-0.483-0.191-0.965-0.676-1.352L25.352,7.265l0.098,0.096C24.771,6.686,23.711,6.589,22.842,7.265L22.842,7.265z"/> + <path fill="#007300" d="M22.845,7.29L5.809,21.824l0,0c-0.29,0.29-0.481,0.771-0.481,1.155c0,0.193,0,0.385,0.096,0.579 + c0.289,0.577,0.867,0.961,1.54,0.961l33.976-0.097c0.771,0,1.35-0.481,1.638-1.155c0.097-0.192,0.097-0.386,0.097-0.577 + c0-0.481-0.191-0.963-0.674-1.348L25.348,7.29l0.098,0.096C24.771,6.712,23.711,6.616,22.845,7.29L22.845,7.29z"/> + <path fill="#007400" d="M22.848,7.315L5.863,21.805l0,0c-0.288,0.289-0.48,0.769-0.48,1.152c0,0.192,0,0.383,0.096,0.576 + c0.288,0.575,0.864,0.959,1.535,0.959l33.875-0.096c0.769,0,1.344-0.479,1.631-1.152c0.098-0.191,0.098-0.384,0.098-0.575 + c0-0.479-0.192-0.959-0.672-1.344L25.344,7.315l0.096,0.096C24.768,6.739,23.712,6.643,22.848,7.315L22.848,7.315z"/> + <path fill="#007500" d="M22.852,7.34L5.918,21.787l0,0c-0.288,0.288-0.479,0.767-0.479,1.148c0,0.191,0,0.382,0.096,0.575 + c0.287,0.574,0.861,0.956,1.53,0.956l33.772-0.096c0.767,0,1.34-0.478,1.627-1.148c0.097-0.19,0.097-0.383,0.097-0.574 + c0-0.479-0.19-0.957-0.67-1.34L25.34,7.34l0.096,0.095C24.766,6.767,23.713,6.67,22.852,7.34L22.852,7.34z"/> + <path fill="#007600" d="M22.855,7.365L5.973,21.768l0,0c-0.287,0.287-0.477,0.764-0.477,1.145c0,0.191,0,0.381,0.095,0.573 + c0.286,0.572,0.858,0.953,1.526,0.953l33.67-0.095c0.764,0,1.336-0.477,1.622-1.146c0.096-0.19,0.096-0.382,0.096-0.572 + c0-0.477-0.19-0.954-0.668-1.336L25.336,7.365l0.096,0.095C24.764,6.793,23.714,6.697,22.855,7.365L22.855,7.365z"/> + <path fill="#007700" d="M22.858,7.391L6.027,21.75l0,0c-0.286,0.286-0.476,0.762-0.476,1.142c0,0.19,0,0.38,0.095,0.571 + c0.285,0.57,0.856,0.95,1.521,0.95l33.567-0.095c0.763,0,1.332-0.476,1.617-1.141c0.097-0.189,0.097-0.381,0.097-0.57 + c0-0.476-0.19-0.951-0.666-1.332L25.331,7.391l0.096,0.095C24.762,6.82,23.715,6.725,22.858,7.391L22.858,7.391z"/> + <path fill="#007800" d="M22.862,7.416L6.082,21.731l0,0c-0.285,0.285-0.475,0.759-0.475,1.138c0,0.19,0,0.379,0.095,0.57 + c0.284,0.568,0.854,0.947,1.517,0.947l33.467-0.095c0.76,0,1.328-0.474,1.61-1.138c0.097-0.189,0.097-0.379,0.097-0.568 + c0-0.474-0.189-0.948-0.664-1.328L25.327,7.416l0.095,0.095C24.758,6.847,23.716,6.751,22.862,7.416L22.862,7.416z"/> + <path fill="#007900" d="M22.865,7.441L6.136,21.713l0,0c-0.284,0.284-0.473,0.757-0.473,1.135c0,0.189,0,0.377,0.095,0.567 + c0.283,0.567,0.851,0.944,1.512,0.944l33.365-0.094c0.758,0,1.324-0.473,1.607-1.135c0.095-0.188,0.095-0.378,0.095-0.566 + c0-0.473-0.188-0.945-0.662-1.324L25.323,7.441l0.095,0.094C24.756,6.874,23.716,6.779,22.865,7.441L22.865,7.441z"/> + <path fill="#007A00" d="M22.869,7.466L6.19,21.694l0,0c-0.283,0.283-0.471,0.754-0.471,1.131c0,0.188,0,0.376,0.094,0.566 + c0.283,0.564,0.848,0.941,1.507,0.941l33.263-0.094c0.755,0,1.319-0.471,1.603-1.131c0.096-0.188,0.096-0.377,0.096-0.565 + c0-0.471-0.188-0.942-0.66-1.32L25.318,7.466l0.095,0.094C24.754,6.901,23.717,6.806,22.869,7.466L22.869,7.466z"/> + <path fill="#007B00" d="M22.872,7.491L6.245,21.676l0,0c-0.282,0.283-0.47,0.752-0.47,1.128c0,0.188,0,0.375,0.094,0.564 + c0.282,0.563,0.846,0.939,1.503,0.939l33.161-0.094c0.753,0,1.316-0.469,1.598-1.127c0.096-0.187,0.096-0.376,0.096-0.563 + c0-0.47-0.188-0.939-0.658-1.316L25.314,7.491l0.095,0.094C24.751,6.927,23.718,6.833,22.872,7.491L22.872,7.491z"/> + <path fill="#007C00" d="M22.876,7.516L6.299,21.658l0,0c-0.281,0.281-0.468,0.75-0.468,1.124c0,0.188,0,0.374,0.094,0.562 + c0.281,0.562,0.843,0.936,1.499,0.936l33.059-0.093c0.75,0,1.312-0.468,1.594-1.124c0.094-0.187,0.094-0.375,0.094-0.562 + c0-0.468-0.188-0.937-0.656-1.312L25.312,7.516l0.094,0.094C24.749,6.954,23.719,6.86,22.876,7.516L22.876,7.516z"/> + <path fill="#007D00" d="M22.879,7.542L6.354,21.639l0,0c-0.281,0.281-0.467,0.748-0.467,1.121c0,0.187,0,0.373,0.094,0.561 + c0.28,0.56,0.84,0.933,1.494,0.933l32.958-0.093c0.748,0,1.308-0.467,1.586-1.121c0.096-0.186,0.096-0.374,0.096-0.56 + c0-0.467-0.188-0.934-0.654-1.307L25.307,7.542L25.4,7.635C24.746,6.981,23.72,6.887,22.879,7.542L22.879,7.542z"/> + <path fill="#007E00" d="M22.883,7.566L6.408,21.621l0,0c-0.279,0.28-0.465,0.745-0.465,1.117c0,0.187,0,0.372,0.093,0.559 + c0.279,0.558,0.838,0.93,1.489,0.93l32.856-0.093c0.746,0,1.305-0.465,1.583-1.117c0.095-0.186,0.095-0.373,0.095-0.559 + c0-0.465-0.188-0.93-0.652-1.303L25.303,7.566l0.094,0.093C24.744,7.008,23.721,6.915,22.883,7.566L22.883,7.566z"/> + <path fill="#007F00" d="M22.886,7.592L6.463,21.603l0,0c-0.279,0.279-0.464,0.743-0.464,1.113c0,0.186,0,0.371,0.093,0.558 + c0.278,0.556,0.835,0.927,1.484,0.927l32.754-0.092c0.743,0,1.3-0.464,1.577-1.114c0.094-0.185,0.094-0.372,0.094-0.557 + c0-0.464-0.187-0.928-0.649-1.299L25.299,7.592l0.094,0.092C24.742,7.035,23.722,6.941,22.886,7.592L22.886,7.592z"/> + <path fill="#007F00" d="M22.89,7.617L6.518,21.584l0,0c-0.278,0.278-0.462,0.741-0.462,1.11c0,0.185,0,0.369,0.092,0.556 + c0.276,0.555,0.833,0.924,1.48,0.924l32.651-0.092c0.742,0,1.297-0.462,1.572-1.11c0.094-0.185,0.094-0.371,0.094-0.555 + c0-0.462-0.186-0.925-0.647-1.295L25.295,7.617l0.094,0.092C24.738,7.062,23.723,6.969,22.89,7.617L22.89,7.617z"/> + <path fill="#008000" d="M22.893,7.642L6.572,21.565l0,0c-0.277,0.277-0.461,0.739-0.461,1.107c0,0.185,0,0.368,0.092,0.554 + c0.276,0.553,0.83,0.921,1.475,0.921l32.55-0.092c0.738,0,1.291-0.461,1.566-1.106c0.094-0.184,0.094-0.369,0.094-0.553 + c0-0.461-0.185-0.922-0.646-1.292L25.291,7.642l0.093,0.092C24.736,7.088,23.724,6.996,22.893,7.642L22.893,7.642z"/> + <path fill="#008100" d="M22.896,7.667l-16.27,13.88l0,0c-0.276,0.277-0.459,0.736-0.459,1.104c0,0.184,0,0.367,0.092,0.552 + c0.275,0.551,0.827,0.918,1.471,0.918l32.448-0.091c0.736,0,1.288-0.459,1.562-1.104c0.093-0.183,0.093-0.368,0.093-0.551 + c0-0.459-0.185-0.919-0.644-1.287L25.287,7.667l0.092,0.092C24.734,7.116,23.725,7.023,22.896,7.667L22.896,7.667z"/> + <path fill="#008200" d="M22.9,7.692L6.681,21.529l0,0c-0.275,0.275-0.458,0.734-0.458,1.1c0,0.184,0,0.366,0.092,0.55 + c0.275,0.549,0.825,0.916,1.466,0.916l32.347-0.091c0.733,0,1.284-0.458,1.558-1.1c0.094-0.183,0.094-0.367,0.094-0.55 + c0-0.458-0.184-0.917-0.643-1.283L25.282,7.692l0.093,0.091C24.732,7.143,23.725,7.05,22.9,7.692L22.9,7.692z"/> + <path fill="#008300" d="M22.903,7.717L6.735,21.51l0,0c-0.274,0.275-0.457,0.731-0.457,1.096c0,0.183,0,0.365,0.091,0.549 + c0.274,0.547,0.822,0.913,1.461,0.913l32.245-0.091c0.731,0,1.28-0.457,1.554-1.096c0.092-0.182,0.092-0.366,0.092-0.548 + c0-0.457-0.183-0.914-0.64-1.279L25.277,7.717l0.093,0.091C24.73,7.169,23.726,7.078,22.903,7.717L22.903,7.717z"/> + <path fill="#008400" d="M22.907,7.742L6.79,21.492l0,0c-0.273,0.274-0.456,0.729-0.456,1.093c0,0.183,0,0.364,0.091,0.547 + c0.273,0.546,0.82,0.909,1.457,0.909l32.144-0.09c0.729,0,1.274-0.455,1.548-1.093c0.092-0.181,0.092-0.364,0.092-0.546 + c0-0.455-0.183-0.911-0.638-1.275L25.273,7.742l0.093,0.091C24.729,7.196,23.727,7.105,22.907,7.742L22.907,7.742z"/> + <path fill="#008500" d="M22.911,7.768L6.845,21.474l0,0c-0.272,0.273-0.454,0.727-0.454,1.089c0,0.182,0,0.363,0.091,0.546 + c0.272,0.543,0.817,0.906,1.452,0.906l32.041-0.09c0.729,0,1.271-0.454,1.543-1.089c0.092-0.181,0.092-0.363,0.092-0.544 + c0-0.454-0.182-0.908-0.635-1.271L25.271,7.768l0.09,0.09C24.727,7.223,23.728,7.132,22.911,7.768L22.911,7.768z"/> + <path fill="#008600" d="M22.914,7.792L6.899,21.455l0,0c-0.272,0.272-0.453,0.725-0.453,1.086c0,0.181,0,0.361,0.091,0.543 + c0.271,0.542,0.814,0.904,1.447,0.904l31.939-0.09c0.726,0,1.269-0.452,1.538-1.086c0.092-0.18,0.092-0.362,0.092-0.542 + c0-0.452-0.181-0.905-0.634-1.267L25.268,7.792l0.09,0.09C24.725,7.25,23.729,7.159,22.914,7.792L22.914,7.792z"/> + <path fill="#008700" d="M22.917,7.818L6.954,21.437l0,0c-0.271,0.271-0.451,0.722-0.451,1.083c0,0.181,0,0.36,0.09,0.542 + c0.271,0.54,0.812,0.901,1.443,0.901l31.837-0.09c0.723,0,1.264-0.451,1.533-1.082c0.092-0.18,0.092-0.361,0.092-0.541 + c0-0.451-0.182-0.902-0.633-1.263L25.264,7.818l0.09,0.09C24.723,7.277,23.729,7.186,22.917,7.818L22.917,7.818z"/> + <path fill="#008800" d="M22.921,7.843L7.008,21.418l0,0c-0.27,0.27-0.45,0.72-0.45,1.079c0,0.18,0,0.359,0.09,0.54 + c0.27,0.539,0.809,0.898,1.438,0.898l31.734-0.09c0.722,0,1.261-0.449,1.529-1.079c0.09-0.179,0.09-0.36,0.09-0.539 + c0-0.449-0.18-0.899-0.629-1.259L25.259,7.843l0.091,0.09C24.719,7.303,23.73,7.213,22.921,7.843L22.921,7.843z"/> + <path fill="#008900" d="M22.924,7.868L7.062,21.4l0,0c-0.269,0.269-0.448,0.717-0.448,1.075c0,0.18,0,0.358,0.09,0.539 + c0.269,0.537,0.807,0.895,1.434,0.895l31.633-0.089c0.72,0,1.256-0.448,1.523-1.075c0.092-0.179,0.092-0.359,0.092-0.538 + c0-0.448-0.181-0.896-0.629-1.255L25.255,7.868l0.091,0.089C24.717,7.331,23.731,7.241,22.924,7.868L22.924,7.868z"/> + <path fill="#008A00" d="M22.928,7.893L7.117,21.381l0,0C6.849,21.65,6.67,22.097,6.67,22.453c0,0.179,0,0.357,0.089,0.537 + c0.268,0.536,0.804,0.893,1.429,0.893l31.533-0.089c0.715,0,1.252-0.446,1.518-1.072c0.092-0.178,0.092-0.358,0.092-0.536 + c0-0.446-0.18-0.894-0.626-1.251L25.25,7.893l0.09,0.089C24.714,7.357,23.732,7.268,22.928,7.893L22.928,7.893z"/> + <path fill="#008B00" d="M22.931,7.918L7.172,21.363l0,0c-0.268,0.268-0.445,0.713-0.445,1.069c0,0.178,0,0.355,0.089,0.535 + c0.267,0.534,0.801,0.89,1.424,0.89l31.43-0.089c0.714,0,1.248-0.445,1.514-1.068c0.09-0.178,0.09-0.357,0.09-0.534 + c0-0.445-0.178-0.891-0.623-1.247L25.246,7.918l0.09,0.089C24.712,7.384,23.733,7.295,22.931,7.918L22.931,7.918z"/> + <path fill="#008C00" d="M22.935,7.943L7.227,21.345l0,0c-0.267,0.267-0.444,0.71-0.444,1.065c0,0.178,0,0.354,0.089,0.533 + c0.266,0.532,0.799,0.887,1.42,0.887l31.328-0.089c0.711,0,1.243-0.443,1.509-1.065c0.09-0.177,0.09-0.355,0.09-0.532 + c0-0.444-0.178-0.888-0.621-1.243L25.242,7.943l0.089,0.089C24.71,7.411,23.734,7.322,22.935,7.943L22.935,7.943z"/> + <path fill="#008D00" d="M22.938,7.968L7.281,21.326l0,0c-0.266,0.266-0.442,0.708-0.442,1.062c0,0.177,0,0.353,0.088,0.532 + c0.264,0.53,0.796,0.883,1.415,0.883l31.227-0.088c0.709,0,1.24-0.442,1.505-1.062c0.09-0.176,0.09-0.354,0.09-0.53 + c0-0.442-0.177-0.885-0.62-1.239L25.238,7.968l0.089,0.088C24.707,7.438,23.735,7.349,22.938,7.968L22.938,7.968z"/> + <path fill="#008E00" d="M22.941,7.994L7.335,21.308l0,0c-0.265,0.265-0.441,0.706-0.441,1.058c0,0.177,0,0.352,0.088,0.53 + c0.264,0.528,0.793,0.881,1.411,0.881l31.125-0.088c0.707,0,1.235-0.441,1.5-1.058c0.088-0.176,0.088-0.353,0.088-0.529 + c0-0.441-0.176-0.882-0.617-1.235L25.234,7.994l0.089,0.088C24.705,7.465,23.736,7.376,22.941,7.994L22.941,7.994z"/> + <path fill="#008F00" d="M22.945,8.019L7.39,21.289l0,0c-0.264,0.264-0.44,0.704-0.44,1.055c0,0.176,0,0.351,0.088,0.528 + c0.263,0.527,0.791,0.878,1.406,0.878l31.022-0.088c0.704,0,1.231-0.439,1.494-1.055c0.089-0.175,0.089-0.352,0.089-0.527 + c0-0.439-0.176-0.879-0.615-1.231L25.229,8.019l0.09,0.088C24.703,7.492,23.736,7.403,22.945,8.019L22.945,8.019z"/> + <path fill="#009000" d="M22.948,8.044L7.444,21.271l0,0c-0.263,0.263-0.438,0.701-0.438,1.051c0,0.175,0,0.35,0.087,0.526 + c0.263,0.525,0.789,0.875,1.401,0.875l30.921-0.088c0.702,0,1.228-0.438,1.489-1.051c0.089-0.174,0.089-0.351,0.089-0.525 + c0-0.438-0.177-0.876-0.614-1.227L25.227,8.044l0.088,0.087C24.7,7.519,23.737,7.431,22.948,8.044L22.948,8.044z"/> + <path fill="#009100" d="M22.952,8.069L7.499,21.252l0,0c-0.262,0.262-0.437,0.699-0.437,1.048c0,0.175,0,0.349,0.087,0.524 + c0.262,0.523,0.786,0.872,1.397,0.872l30.819-0.087c0.699,0,1.224-0.436,1.484-1.047c0.088-0.174,0.088-0.35,0.088-0.524 + c0-0.436-0.174-0.873-0.611-1.223L25.223,8.069l0.088,0.087C24.698,7.545,23.738,7.458,22.952,8.069L22.952,8.069z"/> + <path fill="#009200" d="M22.955,8.094L7.553,21.234l0,0c-0.261,0.262-0.435,0.697-0.435,1.044c0,0.174,0,0.347,0.087,0.523 + c0.259,0.521,0.783,0.869,1.392,0.869l30.717-0.087c0.697,0,1.22-0.435,1.479-1.044c0.088-0.173,0.088-0.348,0.088-0.522 + c0-0.435-0.174-0.87-0.609-1.218L25.218,8.094l0.089,0.087C24.695,7.572,23.739,7.485,22.955,8.094L22.955,8.094z"/> + <path fill="#009300" d="M22.959,8.119L7.608,21.215l0,0c-0.26,0.261-0.434,0.695-0.434,1.041c0,0.174,0,0.346,0.087,0.521 + c0.26,0.52,0.781,0.867,1.388,0.867l30.615-0.087c0.695,0,1.217-0.434,1.475-1.041c0.089-0.173,0.089-0.348,0.089-0.521 + c0-0.433-0.175-0.867-0.606-1.214L25.214,8.119l0.088,0.087C24.693,7.599,23.74,7.512,22.959,8.119L22.959,8.119z"/> + <path fill="#009400" d="M22.962,8.145l-15.3,13.053l0,0c-0.26,0.26-0.433,0.692-0.433,1.037c0,0.173,0,0.345,0.086,0.52 + c0.259,0.518,0.778,0.863,1.383,0.863l30.514-0.086c0.692,0,1.212-0.432,1.47-1.038c0.088-0.172,0.088-0.346,0.088-0.519 + c0-0.432-0.172-0.864-0.605-1.21L25.21,8.145l0.087,0.086C24.691,7.626,23.741,7.539,22.962,8.145L22.962,8.145z"/> + <path fill="#009500" d="M22.966,8.169L7.717,21.179l0,0c-0.259,0.259-0.431,0.69-0.431,1.034c0,0.173,0,0.344,0.086,0.518 + c0.257,0.517,0.775,0.86,1.378,0.86l30.412-0.086c0.689,0,1.207-0.431,1.465-1.034c0.087-0.171,0.087-0.345,0.087-0.517 + c0-0.431-0.172-0.861-0.604-1.207L25.206,8.169l0.087,0.086C24.688,7.653,23.742,7.566,22.966,8.169L22.966,8.169z"/> + <path fill="#009600" d="M22.969,8.195L7.771,21.16l0,0c-0.258,0.258-0.43,0.688-0.43,1.03c0,0.172,0,0.343,0.086,0.516 + c0.257,0.515,0.773,0.858,1.374,0.858l30.311-0.086c0.688,0,1.203-0.429,1.459-1.03c0.088-0.171,0.088-0.344,0.088-0.515 + c0-0.429-0.172-0.859-0.602-1.203L25.201,8.195l0.087,0.085C24.688,7.68,23.743,7.593,22.969,8.195L22.969,8.195z"/> + <path fill="#009700" d="M22.973,8.22L7.826,21.142l0,0c-0.257,0.257-0.428,0.686-0.428,1.027c0,0.171,0,0.341,0.085,0.514 + c0.255,0.513,0.771,0.855,1.369,0.855l30.208-0.086c0.687,0,1.198-0.428,1.455-1.027c0.086-0.17,0.086-0.343,0.086-0.513 + c0-0.428-0.172-0.856-0.6-1.198L25.197,8.22l0.087,0.085C24.686,7.707,23.743,7.621,22.973,8.22L22.973,8.22z"/> + <path fill="#009800" d="M22.976,8.245L7.88,21.124l0,0c-0.256,0.256-0.427,0.683-0.427,1.023c0,0.171,0,0.34,0.085,0.512 + c0.256,0.511,0.768,0.852,1.364,0.852l30.106-0.085c0.684,0,1.195-0.426,1.45-1.023c0.086-0.17,0.086-0.342,0.086-0.512 + c0-0.426-0.17-0.853-0.599-1.194L25.193,8.245l0.086,0.085C24.682,7.733,23.744,7.647,22.976,8.245L22.976,8.245z"/> + <path fill="#009900" d="M22.979,8.27L7.935,21.105l0,0C7.68,21.36,7.51,21.786,7.51,22.125c0,0.17,0,0.339,0.085,0.511 + c0.255,0.509,0.765,0.849,1.36,0.849L38.959,23.4c0.682,0,1.191-0.425,1.445-1.02c0.086-0.169,0.086-0.34,0.086-0.51 + c0-0.425-0.17-0.85-0.596-1.19L25.189,8.27l0.086,0.085C24.68,7.76,23.745,7.675,22.979,8.27L22.979,8.27z"/> + </g> + + <linearGradient id="Roof_Highlight_1_" gradientUnits="userSpaceOnUse" x1="210" y1="-237.8638" x2="210" y2="-253.4849" gradientTransform="matrix(1 0 0 -1 -186 -230)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#009900"/> + </linearGradient> + <path id="Roof_Highlight" fill="url(#Roof_Highlight_1_)" d="M22.979,8.27L7.935,21.105l0,0C7.68,21.36,7.51,21.786,7.51,22.125 + c0,0.17,0,0.339,0.085,0.51c0.255,0.51,0.765,0.85,1.36,0.85L38.959,23.4c0.682,0,1.191-0.425,1.445-1.021 + c0.086-0.169,0.086-0.34,0.086-0.51c0-0.424-0.17-0.85-0.596-1.189L25.189,8.27l0.086,0.085C24.68,7.76,23.745,7.675,22.979,8.27 + L22.979,8.27z"/> + </g> + </g> +</g> +<g id="Layer_2"> + <g id="crop_x0020_marks"> + <path fill="none" d="M48,47.687H0v-48h48V47.687z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/important.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/important.svg new file mode 100644 index 0000000000..803ad8d4ac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/important.svg @@ -0,0 +1,239 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Caution" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path stroke="#FFFFFF" stroke-width="6.6112" d="M42.35,35.841L27.248,9.941c-0.602-1-1.699-1.7-2.899-1.6c-1.2,0-2.3,0.7-2.9,1.7 + l-14.5,25.901c-0.6,1-0.6,2.299,0,3.299c0.6,1,1.7,1.6,2.9,1.6h29.601c1.199,0,2.301-0.6,2.898-1.697 + C42.949,38.142,42.949,36.841,42.35,35.841L42.35,35.841z"/> + <g> + <path fill="#FFFFFF" stroke="#009900" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" d="M24.349,11.586 + l-14.5,26h29.601L24.349,11.586z"/> + <polygon fill="#FFFFFF" stroke="#009A00" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.35,11.611 9.877,37.562 39.42,37.562 "/> + <polygon fill="#FFFFFF" stroke="#009B01" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.35,11.637 9.907,37.536 39.391,37.536 "/> + <polygon fill="#FFFFFF" stroke="#009C01" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.351,11.662 9.935,37.511 39.361,37.511 "/> + <polygon fill="#FFFFFF" stroke="#009D02" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.352,11.688 9.963,37.485 39.334,37.485 "/> + <polygon fill="#FFFFFF" stroke="#009E02" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.352,11.712 9.993,37.46 39.305,37.46 "/> + <polygon fill="#FFFFFF" stroke="#009F03" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.353,11.738 10.021,37.435 39.275,37.435 "/> + <polygon fill="#FFFFFF" stroke="#00A003" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.353,11.763 10.049,37.409 39.248,37.409 "/> + <polygon fill="#FFFFFF" stroke="#00A104" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.354,11.789 10.079,37.386 39.219,37.386 "/> + <polygon fill="#FFFFFF" stroke="#00A204" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.354,11.813 10.106,37.36 39.189,37.36 "/> + <polygon fill="#FFFFFF" stroke="#00A305" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.354,11.838 10.135,37.335 39.16,37.335 "/> + <polygon fill="#FFFFFF" stroke="#00A405" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.355,11.864 10.166,37.31 39.133,37.31 "/> + <polygon fill="#FFFFFF" stroke="#00A506" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.355,11.89 10.193,37.284 39.104,37.284 "/> + <polygon fill="#FFFFFF" stroke="#00A606" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.355,11.915 10.223,37.259 39.074,37.259 "/> + <polygon fill="#FFFFFF" stroke="#00A707" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.356,11.939 10.25,37.233 39.047,37.233 "/> + <polygon fill="#FFFFFF" stroke="#00A807" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.357,11.965 10.279,37.21 39.018,37.21 "/> + <polygon fill="#FFFFFF" stroke="#00A908" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.357,11.99 10.309,37.183 38.988,37.183 "/> + <polygon fill="#FFFFFF" stroke="#00AA08" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.357,12.016 10.336,37.157 38.959,37.157 "/> + <polygon fill="#FFFFFF" stroke="#00AB09" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.358,12.041 10.367,37.132 38.932,37.132 "/> + <polygon fill="#FFFFFF" stroke="#00AC09" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.359,12.066 10.396,37.106 38.902,37.106 "/> + <polygon fill="#FFFFFF" stroke="#00AD0A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.359,12.091 10.423,37.083 38.873,37.083 "/> + <polygon fill="#FFFFFF" stroke="#00AE0A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.36,12.116 10.453,37.056 38.846,37.056 "/> + <polygon fill="#FFFFFF" stroke="#00AF0B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.361,12.142 10.48,37.032 38.816,37.032 "/> + <polygon fill="#FFFFFF" stroke="#00B00B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.362,12.167 10.509,37.007 38.789,37.007 "/> + <polygon fill="#FFFFFF" stroke="#00B10C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.362,12.191 10.539,36.981 38.76,36.981 "/> + <polygon fill="#FFFFFF" stroke="#00B20C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.362,12.217 10.566,36.956 38.729,36.956 "/> + <polygon fill="#FFFFFF" stroke="#00B30D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.363,12.242 10.596,36.931 38.701,36.931 "/> + <polygon fill="#FFFFFF" stroke="#00B40D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.364,12.269 10.625,36.905 38.674,36.905 "/> + <polygon fill="#FFFFFF" stroke="#00B50E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.364,12.293 10.653,36.88 38.645,36.88 "/> + <polygon fill="#FFFFFF" stroke="#00B60E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.366,12.317 10.682,36.854 38.613,36.854 "/> + <polygon fill="#FFFFFF" stroke="#00B70F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.367,12.343 10.71,36.829 38.586,36.829 "/> + <polygon fill="#FFFFFF" stroke="#00B80F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.367,12.37 10.739,36.804 38.559,36.804 "/> + <polygon fill="#FFFFFF" stroke="#00B910" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.368,12.395 10.769,36.778 38.527,36.778 "/> + <polygon fill="#FFFFFF" stroke="#00BA10" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.368,12.419 10.796,36.755 38.5,36.755 "/> + <polygon fill="#FFFFFF" stroke="#00BB11" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.369,12.444 10.826,36.728 38.471,36.728 "/> + <polygon fill="#FFFFFF" stroke="#00BC11" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.37,12.469 10.854,36.704 38.441,36.704 "/> + <polygon fill="#FFFFFF" stroke="#00BD12" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.37,12.496 10.883,36.677 38.414,36.677 "/> + <polygon fill="#FFFFFF" stroke="#00BE12" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.371,12.521 10.912,36.651 38.385,36.651 "/> + <polygon fill="#FFFFFF" stroke="#00BF13" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.371,12.545 10.94,36.628 38.355,36.628 "/> + <polygon fill="#FFFFFF" stroke="#00C013" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.372,12.57 10.969,36.603 38.328,36.603 "/> + <polygon fill="#FFFFFF" stroke="#00C114" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.372,12.595 10.999,36.577 38.299,36.577 "/> + <polygon fill="#FFFFFF" stroke="#00C214" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.373,12.622 11.026,36.552 38.27,36.552 "/> + <polygon fill="#FFFFFF" stroke="#00C315" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.373,12.646 11.056,36.526 38.242,36.526 "/> + <polygon fill="#FFFFFF" stroke="#00C415" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.374,12.672 11.084,36.503 38.213,36.503 "/> + <polygon fill="#FFFFFF" stroke="#00C516" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.375,12.696 11.113,36.476 38.184,36.476 "/> + <polygon fill="#FFFFFF" stroke="#00C616" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.375,12.721 11.142,36.45 38.154,36.45 "/> + <polygon fill="#FFFFFF" stroke="#00C717" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.375,12.748 11.17,36.425 38.127,36.425 "/> + <polygon fill="#FFFFFF" stroke="#00C817" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.375,12.773 11.2,36.401 38.098,36.401 "/> + <polygon fill="#FFFFFF" stroke="#00C918" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.376,12.797 11.229,36.376 38.068,36.376 "/> + <polygon fill="#FFFFFF" stroke="#00CA18" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.376,12.822 11.256,36.349 38.041,36.349 "/> + <polygon fill="#FFFFFF" stroke="#00CB19" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.377,12.849 11.286,36.325 38.012,36.325 "/> + <polygon fill="#FFFFFF" stroke="#00CC19" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.378,12.875 11.314,36.3 37.982,36.3 "/> + <polygon fill="#FFFFFF" stroke="#00CC1A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.378,12.899 11.342,36.274 37.955,36.274 "/> + <polygon fill="#FFFFFF" stroke="#00CD1A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.379,12.923 11.372,36.249 37.926,36.249 "/> + <polygon fill="#FFFFFF" stroke="#00CE1B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.379,12.949 11.4,36.224 37.896,36.224 "/> + <polygon fill="#FFFFFF" stroke="#00CF1B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.38,12.975 11.43,36.198 37.867,36.198 "/> + <polygon fill="#FFFFFF" stroke="#00D01C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.381,13 11.458,36.173 37.84,36.173 "/> + <polygon fill="#FFFFFF" stroke="#00D11C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.381,13.024 11.486,36.147 37.811,36.147 "/> + <polygon fill="#FFFFFF" stroke="#00D21D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.381,13.05 11.516,36.124 37.781,36.124 "/> + <polygon fill="#FFFFFF" stroke="#00D31D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.382,13.075 11.543,36.097 37.754,36.097 "/> + <polygon fill="#FFFFFF" stroke="#00D41E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.383,13.102 11.572,36.071 37.725,36.071 "/> + <polygon fill="#FFFFFF" stroke="#00D51E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.383,13.126 11.602,36.046 37.695,36.046 "/> + <polygon fill="#FFFFFF" stroke="#00D61F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.384,13.151 11.63,36.022 37.666,36.022 "/> + <polygon fill="#FFFFFF" stroke="#00D71F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.385,13.176 11.66,35.997 37.639,35.997 "/> + <polygon fill="#FFFFFF" stroke="#00D820" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.385,13.201 11.688,35.972 37.609,35.972 "/> + <polygon fill="#FFFFFF" stroke="#00D920" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.387,13.228 11.716,35.946 37.58,35.946 "/> + <polygon fill="#FFFFFF" stroke="#00DA21" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.387,13.252 11.746,35.921 37.553,35.921 "/> + <polygon fill="#FFFFFF" stroke="#00DB21" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.388,13.277 11.773,35.896 37.521,35.896 "/> + <polygon fill="#FFFFFF" stroke="#00DC22" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.389,13.302 11.802,35.872 37.494,35.872 "/> + <polygon fill="#FFFFFF" stroke="#00DD22" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.389,13.327 11.832,35.845 37.465,35.845 "/> + <polygon fill="#FFFFFF" stroke="#00DE23" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.39,13.354 11.86,35.819 37.438,35.819 "/> + <polygon fill="#FFFFFF" stroke="#00DF23" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.39,13.378 11.89,35.796 37.408,35.796 "/> + <polygon fill="#FFFFFF" stroke="#00E024" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.391,13.403 11.917,35.769 37.379,35.769 "/> + <polygon fill="#FFFFFF" stroke="#00E124" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.391,13.429 11.946,35.743 37.352,35.743 "/> + <polygon fill="#FFFFFF" stroke="#00E225" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.392,13.455 11.976,35.718 37.32,35.718 "/> + <polygon fill="#FFFFFF" stroke="#00E325" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.393,13.479 12.003,35.694 37.293,35.694 "/> + <polygon fill="#FFFFFF" stroke="#00E426" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.393,13.504 12.033,35.669 37.264,35.669 "/> + <polygon fill="#FFFFFF" stroke="#00E526" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.394,13.529 12.062,35.644 37.234,35.644 "/> + <polygon fill="#FFFFFF" stroke="#00E627" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.394,13.556 12.09,35.618 37.207,35.618 "/> + <polygon fill="#FFFFFF" stroke="#00E727" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.395,13.581 12.12,35.593 37.178,35.593 "/> + <polygon fill="#FFFFFF" stroke="#00E828" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.396,13.605 12.147,35.567 37.148,35.567 "/> + <polygon fill="#FFFFFF" stroke="#00E928" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.396,13.63 12.176,35.544 37.121,35.544 "/> + <polygon fill="#FFFFFF" stroke="#00EA29" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.396,13.655 12.206,35.517 37.092,35.517 "/> + <polygon fill="#FFFFFF" stroke="#00EB29" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.396,13.682 12.233,35.491 37.062,35.491 "/> + <polygon fill="#FFFFFF" stroke="#00EC2A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.397,13.707 12.263,35.466 37.035,35.466 "/> + <polygon fill="#FFFFFF" stroke="#00ED2A" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.397,13.732 12.292,35.44 37.006,35.44 "/> + <polygon fill="#FFFFFF" stroke="#00EE2B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.398,13.756 12.319,35.417 36.977,35.417 "/> + <polygon fill="#FFFFFF" stroke="#00EF2B" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.398,13.782 12.349,35.392 36.949,35.392 "/> + <polygon fill="#FFFFFF" stroke="#00F02C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.399,13.808 12.377,35.366 36.92,35.366 "/> + <polygon fill="#FFFFFF" stroke="#00F12C" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.399,13.833 12.407,35.341 36.891,35.341 "/> + <polygon fill="#FFFFFF" stroke="#00F22D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.4,13.858 12.436,35.315 36.861,35.315 "/> + <polygon fill="#FFFFFF" stroke="#00F32D" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.401,13.883 12.463,35.29 36.834,35.29 "/> + <polygon fill="#FFFFFF" stroke="#00F42E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.401,13.908 12.493,35.265 36.805,35.265 "/> + <polygon fill="#FFFFFF" stroke="#00F52E" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.402,13.934 12.521,35.239 36.775,35.239 "/> + <polygon fill="#FFFFFF" stroke="#00F62F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.402,13.959 12.549,35.214 36.748,35.214 "/> + <polygon fill="#FFFFFF" stroke="#00F72F" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.403,13.983 12.579,35.188 36.719,35.188 "/> + <polygon fill="#FFFFFF" stroke="#00F830" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.404,14.009 12.607,35.165 36.689,35.165 "/> + <polygon fill="#FFFFFF" stroke="#00F930" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.404,14.034 12.637,35.138 36.662,35.138 "/> + <polygon fill="#FFFFFF" stroke="#00FA31" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.405,14.061 12.666,35.112 36.633,35.112 "/> + <polygon fill="#FFFFFF" stroke="#00FB31" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.405,14.085 12.693,35.089 36.604,35.089 "/> + <polygon fill="#FFFFFF" stroke="#00FC32" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.407,14.11 12.723,35.063 36.574,35.063 "/> + <polygon fill="#FFFFFF" stroke="#00FD32" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.408,14.135 12.75,35.038 36.547,35.038 "/> + <polygon fill="#FFFFFF" stroke="#00FE33" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" points=" + 24.408,14.16 12.779,35.013 36.518,35.013 "/> + <path fill="#FFFFFF" stroke="#00FF33" stroke-width="6.6112" stroke-linecap="round" stroke-linejoin="round" d="M24.409,14.187 + l-11.6,20.801h23.68L24.409,14.187z"/> + </g> + + <linearGradient id="XMLID_4_" gradientUnits="userSpaceOnUse" x1="582.6475" y1="-987.77" x2="582.6475" y2="-1015.4038" gradientTransform="matrix(1 0 0 -1 -558 -977)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#00FF33"/> + </linearGradient> + <path fill="url(#XMLID_4_)" d="M39.693,34.153L26.857,12.138c-0.51-0.85-1.443-1.445-2.463-1.36c-1.021,0-1.955,0.595-2.465,1.445 + L9.604,34.239c-0.511,0.85-0.511,1.953,0,2.805c0.51,0.852,1.444,1.359,2.465,1.359h25.16c1.021,0,1.955-0.51,2.465-1.445 + C40.203,36.106,40.203,35.003,39.693,34.153L39.693,34.153z"/> + <g> + <path d="M24.648,33.487c-1.1,0-1.8-0.801-1.8-1.801c0-1.102,0.7-1.801,1.8-1.801c1.1,0,1.801,0.699,1.801,1.801 + C26.449,32.687,25.748,33.487,24.648,33.487L24.648,33.487z M23.449,28.786l-0.4-9.1h3.2l-0.4,9.1H23.55H23.449z"/> + </g> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M48.648,48.586h-48v-48h48V48.586z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/next.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/next.svg new file mode 100644 index 0000000000..52b73cf4c8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/next.svg @@ -0,0 +1,338 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="7.5901" stroke-linejoin="round" d="M22.34,41.101c0,0.301,0.3,0.301,0.5,0.2 + l16.6-16.899c0.5-0.5,0.4-0.7,0-1l-16.6-16.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.84c-0.3,0-0.5,0.2-0.5,0.4v13.299 + c0,0.4,0.2,0.5,0.6,0.5h13.5L22.34,41.101z"/> + <g> + <path fill="#0033CC" d="M22.34,41.101c0,0.301,0.3,0.301,0.5,0.2l16.6-16.899c0.5-0.5,0.4-0.7,0-1l-16.6-16.7 + c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.84c-0.3,0-0.5,0.2-0.5,0.4v13.299c0,0.4,0.2,0.5,0.6,0.5h13.5L22.34,41.101z"/> + <path fill="#0134CC" d="M22.351,41.074c0,0.3,0.3,0.3,0.5,0.2L39.427,24.4c0.5-0.499,0.4-0.699,0-0.999L22.85,6.729 + c-0.1-0.1-0.399-0.1-0.399,0.099v9.984H8.87c-0.299,0-0.5,0.2-0.5,0.4v13.279c0,0.398,0.2,0.499,0.6,0.499H22.45L22.351,41.074z" + /> + <path fill="#0235CD" d="M22.359,41.047c0,0.3,0.299,0.3,0.499,0.2l16.553-16.848c0.5-0.498,0.399-0.697,0-0.997L22.858,6.755 + c-0.1-0.1-0.399-0.1-0.399,0.1v9.969H8.897c-0.299,0-0.499,0.199-0.499,0.399v13.258c0,0.398,0.2,0.498,0.598,0.498h13.462 + L22.359,41.047z"/> + <path fill="#0336CD" d="M22.369,41.021c0,0.301,0.299,0.301,0.498,0.199l16.53-16.82c0.498-0.498,0.397-0.696,0-0.995 + L22.866,6.783c-0.1-0.1-0.398-0.1-0.398,0.099v9.953H8.926c-0.299,0-0.498,0.199-0.498,0.398v13.239 + c0,0.397,0.199,0.496,0.598,0.496h13.442L22.369,41.021z"/> + <path fill="#0437CE" d="M22.378,40.994c0,0.299,0.298,0.299,0.497,0.198l16.506-16.794c0.496-0.497,0.397-0.695,0-0.994 + L22.876,6.81c-0.1-0.1-0.398-0.1-0.398,0.099v9.937H8.956c-0.298,0-0.498,0.199-0.498,0.398v13.217c0,0.397,0.2,0.496,0.597,0.496 + h13.423L22.378,40.994z"/> + <path fill="#0538CE" d="M22.389,40.968c0,0.299,0.298,0.299,0.496,0.198l16.483-16.769c0.496-0.496,0.397-0.694,0-0.992 + L22.884,6.836c-0.099-0.099-0.397-0.099-0.397,0.099v9.922H8.983c-0.297,0-0.496,0.199-0.496,0.397V30.45 + c0,0.396,0.199,0.496,0.596,0.496h13.404L22.389,40.968z"/> + <path fill="#0639CF" d="M22.398,40.94c0,0.299,0.298,0.299,0.496,0.199l16.46-16.742c0.495-0.496,0.396-0.694,0-0.991 + L22.894,6.863c-0.099-0.099-0.396-0.099-0.396,0.099v9.906H9.012c-0.297,0-0.496,0.198-0.496,0.396V30.44 + c0,0.396,0.199,0.494,0.595,0.494h13.386L22.398,40.94z"/> + <path fill="#073ACF" d="M22.407,40.914c0,0.298,0.298,0.298,0.495,0.198l16.437-16.716c0.494-0.495,0.396-0.692,0-0.989 + L22.902,6.891c-0.099-0.099-0.396-0.099-0.396,0.099v9.891H9.041c-0.296,0-0.495,0.198-0.495,0.396v13.154 + c0,0.396,0.198,0.493,0.594,0.493h13.367L22.407,40.914z"/> + <path fill="#083BD0" d="M22.417,40.888c0,0.297,0.297,0.297,0.495,0.198l16.413-16.689c0.494-0.494,0.396-0.691,0-0.987 + L22.912,6.917c-0.099-0.099-0.396-0.099-0.396,0.099v9.875H9.069c-0.296,0-0.494,0.198-0.494,0.396v13.133 + c0,0.395,0.198,0.493,0.594,0.493h13.347L22.417,40.888z"/> + <path fill="#093CD0" d="M22.426,40.86c0,0.297,0.296,0.297,0.493,0.197l16.39-16.662c0.492-0.494,0.395-0.69,0-0.986L22.919,6.943 + c-0.099-0.099-0.395-0.099-0.395,0.098v9.86H9.099c-0.296,0-0.494,0.197-0.494,0.395V30.41c0,0.396,0.198,0.493,0.593,0.493 + h13.328L22.426,40.86z"/> + <path fill="#0A3DD1" d="M22.437,40.834c0,0.297,0.296,0.297,0.493,0.196l16.367-16.636c0.492-0.493,0.395-0.689,0-0.984 + L22.928,6.97c-0.099-0.099-0.394-0.099-0.394,0.098v9.844H9.127c-0.296,0-0.493,0.197-0.493,0.394v13.093 + c0,0.395,0.197,0.492,0.592,0.492h13.309L22.437,40.834z"/> + <path fill="#0B3ED1" d="M22.445,40.808c0,0.297,0.296,0.297,0.492,0.197l16.343-16.61c0.492-0.492,0.395-0.688,0-0.982 + L22.938,6.999C22.84,6.9,22.544,6.9,22.544,7.097v9.829H9.155c-0.295,0-0.493,0.196-0.493,0.394v13.072 + c0,0.394,0.198,0.49,0.591,0.49h13.29L22.445,40.808z"/> + <path fill="#0C3FD2" d="M22.456,40.78c0,0.296,0.295,0.296,0.492,0.197l16.319-16.584c0.49-0.491,0.395-0.687,0-0.982 + L22.946,7.024c-0.098-0.098-0.393-0.098-0.393,0.098v9.813H9.185c-0.294,0-0.492,0.196-0.492,0.393v13.05 + c0,0.394,0.197,0.491,0.59,0.491h13.271L22.456,40.78z"/> + <path fill="#0D40D2" d="M22.464,40.754c0,0.295,0.294,0.295,0.491,0.196l16.295-16.558c0.489-0.49,0.393-0.686,0-0.98 + L22.956,7.051c-0.099-0.098-0.393-0.098-0.393,0.097v9.797H9.212c-0.294,0-0.49,0.197-0.49,0.393v13.031 + c0,0.393,0.196,0.489,0.588,0.489h13.252L22.464,40.754z"/> + <path fill="#0E41D3" d="M22.475,40.728c0,0.295,0.294,0.295,0.49,0.196l16.272-16.531c0.49-0.489,0.394-0.684,0-0.978L22.964,7.08 + c-0.098-0.098-0.392-0.098-0.392,0.097v9.782H9.241c-0.294,0-0.49,0.196-0.49,0.392v13.01c0,0.392,0.196,0.488,0.588,0.488h13.233 + L22.475,40.728z"/> + <path fill="#0F42D3" d="M22.483,40.701c0,0.294,0.294,0.294,0.49,0.194l16.248-16.504c0.488-0.488,0.393-0.683,0-0.977 + L22.974,7.105c-0.098-0.098-0.391-0.098-0.391,0.097v9.767H9.271c-0.293,0-0.489,0.195-0.489,0.391v12.988 + c0,0.392,0.196,0.487,0.587,0.487h13.214L22.483,40.701z"/> + <path fill="#1043D4" d="M22.494,40.675c0,0.293,0.294,0.293,0.489,0.194l16.226-16.478c0.487-0.488,0.392-0.683,0-0.975 + L22.982,7.132c-0.098-0.098-0.391-0.098-0.391,0.097v9.751H9.298c-0.293,0-0.489,0.195-0.489,0.39v12.967 + c0,0.392,0.196,0.487,0.586,0.487H22.59L22.494,40.675z"/> + <path fill="#1144D4" d="M22.502,40.647c0,0.293,0.293,0.293,0.488,0.194L39.191,24.39c0.487-0.487,0.392-0.682,0-0.974 + L22.991,7.16c-0.098-0.098-0.391-0.098-0.391,0.097v9.735H9.328c-0.293,0-0.488,0.195-0.488,0.39v12.948 + c0,0.39,0.195,0.486,0.585,0.486h13.176L22.502,40.647z"/> + <path fill="#1245D5" d="M22.514,40.621c0,0.292,0.292,0.292,0.487,0.194L39.177,24.39c0.488-0.486,0.392-0.68,0-0.972L23,7.188 + c-0.098-0.098-0.39-0.098-0.39,0.096v9.72H9.356c-0.292,0-0.487,0.195-0.487,0.39v12.926c0,0.39,0.195,0.486,0.585,0.486H22.61 + L22.514,40.621z"/> + <path fill="#1346D5" d="M22.522,40.595c0,0.292,0.292,0.292,0.487,0.194L39.165,24.39c0.485-0.485,0.389-0.679,0-0.97 + L23.009,7.213c-0.098-0.097-0.389-0.097-0.389,0.097v9.704H9.384c-0.292,0-0.486,0.194-0.486,0.389V30.31 + c0,0.389,0.195,0.484,0.584,0.484h13.138L22.522,40.595z"/> + <path fill="#1447D6" d="M22.531,40.567c0,0.291,0.292,0.291,0.486,0.193l16.132-16.372c0.484-0.484,0.389-0.678,0-0.969 + L23.018,7.241c-0.097-0.097-0.389-0.097-0.389,0.097v9.688H9.414c-0.292,0-0.486,0.194-0.486,0.388v12.885 + c0,0.388,0.195,0.483,0.583,0.483h13.118L22.531,40.567z"/> + <path fill="#1548D6" d="M22.542,40.541c0,0.291,0.292,0.291,0.485,0.192l16.107-16.346c0.484-0.484,0.389-0.677,0-0.968 + L23.026,7.268c-0.097-0.097-0.388-0.097-0.388,0.097v9.672H9.441c-0.291,0-0.485,0.194-0.485,0.388v12.865 + c0,0.388,0.194,0.483,0.582,0.483h13.099L22.542,40.541z"/> + <path fill="#1649D7" d="M22.551,40.515c0,0.291,0.291,0.291,0.484,0.193l16.083-16.321c0.485-0.483,0.389-0.676,0-0.966 + L23.036,7.294c-0.097-0.097-0.388-0.097-0.388,0.096v9.657H9.47c-0.291,0-0.484,0.193-0.484,0.387v12.844 + c0,0.387,0.194,0.481,0.582,0.481h13.08L22.551,40.515z"/> + <path fill="#174AD7" d="M22.561,40.487c0,0.291,0.291,0.291,0.484,0.193l16.061-16.294c0.483-0.482,0.388-0.674,0-0.964 + L23.044,7.321c-0.097-0.096-0.387-0.096-0.387,0.097v9.641H9.5c-0.29,0-0.483,0.193-0.483,0.386v12.823 + c0,0.387,0.193,0.481,0.58,0.481h13.062L22.561,40.487z"/> + <path fill="#184BD8" d="M22.57,40.462c0,0.289,0.29,0.289,0.483,0.191l16.038-16.267c0.481-0.481,0.387-0.673,0-0.962 + L23.053,7.349c-0.097-0.096-0.387-0.096-0.387,0.096v9.626H9.527c-0.29,0-0.483,0.193-0.483,0.385v12.802 + c0,0.386,0.193,0.481,0.58,0.481h13.042L22.57,40.462z"/> + <path fill="#194CD8" d="M22.58,40.435c0,0.289,0.29,0.289,0.482,0.192l16.014-16.242c0.481-0.481,0.387-0.672,0-0.961 + L23.062,7.375c-0.097-0.096-0.386-0.096-0.386,0.096v9.611H9.557c-0.289,0-0.482,0.192-0.482,0.385v12.782 + c0,0.384,0.193,0.479,0.579,0.479h13.023L22.58,40.435z"/> + <path fill="#1A4DD9" d="M22.589,40.408c0,0.288,0.289,0.288,0.482,0.192l15.99-16.216c0.48-0.48,0.386-0.672,0-0.959L23.071,7.402 + c-0.097-0.096-0.385-0.096-0.385,0.095v9.595H9.585c-0.289,0-0.482,0.192-0.482,0.384v12.761c0,0.385,0.193,0.479,0.578,0.479 + h13.004L22.589,40.408z"/> + <path fill="#1B4ED9" d="M22.6,40.382c0,0.288,0.289,0.288,0.481,0.192l15.967-16.19c0.48-0.479,0.385-0.67,0-0.958L23.081,7.43 + c-0.096-0.096-0.384-0.096-0.384,0.095v9.58H9.614c-0.288,0-0.481,0.192-0.481,0.384v12.741c0,0.383,0.193,0.478,0.577,0.478 + h12.985L22.6,40.382z"/> + <path fill="#1C4FDA" d="M22.608,40.354c0,0.289,0.289,0.289,0.48,0.192l15.943-16.164c0.479-0.478,0.386-0.669,0-0.957 + L23.088,7.457c-0.096-0.096-0.384-0.096-0.384,0.095v9.564H9.643c-0.288,0-0.48,0.191-0.48,0.383v12.719 + c0,0.383,0.192,0.479,0.577,0.479h12.966L22.608,40.354z"/> + <path fill="#1D50DA" d="M22.619,40.328c0,0.287,0.288,0.287,0.479,0.19l15.92-16.136c0.479-0.478,0.384-0.668,0-0.955 + L23.098,7.482c-0.096-0.096-0.384-0.096-0.384,0.095v9.548H9.67c-0.288,0-0.479,0.191-0.479,0.382v12.699 + c0,0.382,0.191,0.479,0.575,0.479h12.947L22.619,40.328z"/> + <path fill="#1E51DB" d="M22.628,40.302c0,0.287,0.288,0.287,0.479,0.191l15.896-16.111c0.479-0.477,0.385-0.667,0-0.954 + L23.106,7.51c-0.096-0.096-0.383-0.096-0.383,0.094v9.533H9.699c-0.287,0-0.479,0.191-0.479,0.382v12.679 + c0,0.382,0.191,0.477,0.575,0.477h12.928L22.628,40.302z"/> + <path fill="#1F52DB" d="M22.637,40.274c0,0.287,0.288,0.287,0.479,0.19L38.99,24.381c0.478-0.476,0.382-0.666,0-0.952 + L23.115,7.538c-0.095-0.096-0.382-0.096-0.382,0.094v9.517H9.729c-0.287,0-0.478,0.191-0.478,0.381v12.657 + c0,0.381,0.191,0.477,0.574,0.477h12.909L22.637,40.274z"/> + <path fill="#2053DC" d="M22.647,40.249c0,0.285,0.287,0.285,0.478,0.189l15.85-16.058c0.477-0.475,0.382-0.665,0-0.95 + L23.125,7.563c-0.096-0.095-0.382-0.095-0.382,0.095v9.501H9.757c-0.286,0-0.478,0.19-0.478,0.381v12.636 + c0,0.381,0.191,0.475,0.573,0.475h12.89L22.647,40.249z"/> + <path fill="#2154DC" d="M22.656,40.222c0,0.285,0.287,0.285,0.477,0.19L38.96,24.38c0.477-0.475,0.381-0.664,0-0.949L23.133,7.59 + c-0.096-0.095-0.382-0.095-0.382,0.095v9.486H9.786c-0.286,0-0.477,0.19-0.477,0.38v12.617c0,0.379,0.191,0.474,0.572,0.474 + h12.871L22.656,40.222z"/> + <path fill="#2255DD" d="M22.667,40.194c0,0.285,0.286,0.285,0.477,0.189l15.802-16.004c0.476-0.474,0.382-0.663,0-0.947 + L23.143,7.618c-0.096-0.095-0.381-0.095-0.381,0.094v9.471H9.814c-0.285,0-0.476,0.189-0.476,0.379v12.596 + c0,0.379,0.191,0.473,0.572,0.473h12.851L22.667,40.194z"/> + <path fill="#2356DD" d="M22.675,40.169c0,0.284,0.286,0.284,0.476,0.189l15.779-15.979c0.475-0.473,0.381-0.662,0-0.945 + L23.151,7.645c-0.095-0.094-0.38-0.094-0.38,0.094v9.455H9.843c-0.285,0-0.475,0.189-0.475,0.378v12.574 + c0,0.379,0.19,0.474,0.571,0.474h12.832L22.675,40.169z"/> + <path fill="#2457DE" d="M22.686,40.144c0,0.282,0.285,0.282,0.475,0.188l15.756-15.953c0.474-0.472,0.379-0.66,0-0.944 + L23.159,7.671c-0.095-0.094-0.379-0.094-0.379,0.094v9.439H9.873c-0.285,0-0.475,0.189-0.475,0.378v12.554 + c0,0.378,0.19,0.472,0.569,0.472H22.78L22.686,40.144z"/> + <path fill="#2558DE" d="M22.694,40.115c0,0.282,0.285,0.282,0.474,0.188l15.733-15.925c0.473-0.471,0.379-0.66,0-0.942 + L23.168,7.698c-0.095-0.094-0.379-0.094-0.379,0.094v9.424H9.9c-0.284,0-0.474,0.189-0.474,0.377v12.535 + c0,0.376,0.189,0.471,0.568,0.471h12.794L22.694,40.115z"/> + <path fill="#2659DF" d="M22.705,40.089c0,0.283,0.284,0.283,0.473,0.188l15.708-15.899c0.474-0.471,0.38-0.659,0-0.941 + L23.177,7.726c-0.095-0.094-0.379-0.094-0.379,0.094v9.408H9.929c-0.284,0-0.473,0.188-0.473,0.377v12.514 + c0,0.376,0.189,0.469,0.568,0.469h12.775L22.705,40.089z"/> + <path fill="#275ADF" d="M22.714,40.063c0,0.281,0.284,0.281,0.473,0.188l15.685-15.874c0.473-0.47,0.379-0.658,0-0.939 + L23.188,7.752c-0.095-0.094-0.378-0.094-0.378,0.094v9.392H9.958c-0.283,0-0.472,0.188-0.472,0.376v12.492 + c0,0.375,0.189,0.47,0.567,0.47H22.81L22.714,40.063z"/> + <path fill="#285BE0" d="M22.724,40.036c0,0.281,0.283,0.281,0.472,0.188l15.662-15.847c0.472-0.469,0.378-0.656,0-0.938 + L23.195,7.779c-0.095-0.094-0.377-0.094-0.377,0.094v9.376H9.986c-0.283,0-0.472,0.188-0.472,0.375v12.472 + c0,0.375,0.189,0.467,0.566,0.467h12.737L22.724,40.036z"/> + <path fill="#295CE0" d="M22.732,40.009c0,0.281,0.283,0.281,0.471,0.188l15.639-15.82c0.471-0.468,0.377-0.655,0-0.936 + L23.205,7.807c-0.094-0.094-0.377-0.094-0.377,0.093v9.361H10.016c-0.283,0-0.471,0.188-0.471,0.375v12.451 + c0,0.374,0.188,0.468,0.565,0.468h12.718L22.732,40.009z"/> + <path fill="#2A5DE1" d="M22.742,39.981c0,0.28,0.283,0.28,0.47,0.188l15.615-15.793c0.471-0.468,0.377-0.654,0-0.935L23.212,7.833 + c-0.094-0.094-0.376-0.094-0.376,0.093v9.345H10.044c-0.282,0-0.471,0.188-0.471,0.375v12.431c0,0.374,0.188,0.467,0.565,0.467 + h12.699L22.742,39.981z"/> + <path fill="#2B5EE1" d="M22.752,39.956c0,0.279,0.282,0.279,0.469,0.188l15.592-15.768c0.469-0.467,0.376-0.653,0-0.933 + L23.223,7.86c-0.094-0.093-0.375-0.093-0.375,0.093v9.331H10.072c-0.282,0-0.47,0.187-0.47,0.373v12.41 + c0,0.373,0.188,0.466,0.563,0.466h12.68L22.752,39.956z"/> + <path fill="#2C5FE2" d="M22.761,39.929c0,0.28,0.282,0.28,0.469,0.188l15.567-15.742c0.47-0.466,0.377-0.652,0-0.932L23.231,7.887 + c-0.094-0.093-0.375-0.093-0.375,0.092v9.315H10.102c-0.281,0-0.469,0.187-0.469,0.373v12.388c0,0.372,0.188,0.465,0.563,0.465 + h12.661L22.761,39.929z"/> + <path fill="#2D60E2" d="M22.771,39.901c0,0.279,0.281,0.279,0.469,0.187l15.544-15.714c0.469-0.465,0.375-0.65,0-0.93 + L23.239,7.914c-0.094-0.093-0.375-0.093-0.375,0.093v9.299H10.129c-0.28,0-0.468,0.186-0.468,0.373v12.367 + c0,0.372,0.188,0.465,0.562,0.465h12.642L22.771,39.901z"/> + <path fill="#2E61E3" d="M22.781,39.876c0,0.277,0.281,0.277,0.468,0.186l15.521-15.688c0.468-0.464,0.375-0.649,0-0.928 + L23.25,7.94c-0.094-0.093-0.375-0.093-0.375,0.092v9.284H10.158c-0.28,0-0.467,0.186-0.467,0.372v12.347 + c0,0.372,0.188,0.464,0.561,0.464h12.623L22.781,39.876z"/> + <path fill="#2F62E3" d="M22.792,39.851c0,0.277,0.28,0.277,0.467,0.186l15.499-15.663c0.466-0.464,0.373-0.649,0-0.927 + l-15.5-15.479c-0.093-0.092-0.374-0.092-0.374,0.092v9.268H10.188c-0.28,0-0.467,0.186-0.467,0.372v12.325 + c0,0.371,0.187,0.463,0.56,0.463h12.604L22.792,39.851z"/> + <path fill="#3063E4" d="M22.799,39.821c0,0.279,0.281,0.279,0.467,0.187l15.475-15.636c0.465-0.463,0.373-0.648,0-0.925 + L23.267,7.995c-0.093-0.092-0.373-0.092-0.373,0.092v9.252H10.215c-0.279,0-0.466,0.185-0.466,0.371v12.305 + c0,0.369,0.187,0.461,0.56,0.461h12.584L22.799,39.821z"/> + <path fill="#3164E4" d="M22.81,39.796c0,0.277,0.28,0.277,0.466,0.186l15.451-15.61c0.465-0.462,0.372-0.646,0-0.924L23.275,8.021 + c-0.094-0.092-0.373-0.092-0.373,0.092v9.237H10.245c-0.279,0-0.465,0.185-0.465,0.37v12.285c0,0.369,0.187,0.461,0.559,0.461 + h12.565L22.81,39.796z"/> + <path fill="#3265E5" d="M22.819,39.771c0,0.276,0.279,0.276,0.465,0.185l15.428-15.583c0.465-0.461,0.373-0.646,0-0.922 + L23.284,8.048c-0.093-0.092-0.372-0.092-0.372,0.092v9.221H10.273c-0.279,0-0.464,0.185-0.464,0.37v12.265 + c0,0.369,0.186,0.46,0.558,0.46h12.546L22.819,39.771z"/> + <path fill="#3366E5" d="M22.83,39.743c0,0.275,0.278,0.275,0.464,0.185l15.404-15.557c0.464-0.46,0.371-0.645,0-0.921 + L23.293,8.076c-0.093-0.092-0.372-0.092-0.372,0.092v9.206h-12.62c-0.278,0-0.464,0.184-0.464,0.369v12.243 + c0,0.369,0.186,0.461,0.557,0.461h12.527L22.83,39.743z"/> + <path fill="#3366E6" d="M22.838,39.716c0,0.276,0.278,0.276,0.464,0.186l15.38-15.532c0.463-0.459,0.371-0.643,0-0.918 + L23.302,8.103c-0.093-0.092-0.371-0.092-0.371,0.091v9.19H10.331c-0.278,0-0.463,0.185-0.463,0.368v12.222 + c0,0.368,0.186,0.459,0.556,0.459h12.508L22.838,39.716z"/> + <path fill="#3467E6" d="M22.849,39.688c0,0.275,0.278,0.275,0.463,0.185l15.357-15.504c0.461-0.458,0.369-0.642,0-0.917 + L23.312,8.129C23.217,8.038,22.94,8.038,22.94,8.22v9.174H10.358c-0.277,0-0.462,0.184-0.462,0.368v12.203 + c0,0.366,0.185,0.458,0.555,0.458H22.94L22.849,39.688z"/> + <path fill="#3568E7" d="M22.857,39.663c0,0.275,0.277,0.275,0.462,0.184l15.333-15.478c0.461-0.458,0.37-0.641,0-0.916 + L23.319,8.156c-0.093-0.092-0.37-0.092-0.37,0.091v9.159H10.387c-0.277,0-0.461,0.184-0.461,0.367v12.182 + c0,0.366,0.185,0.457,0.554,0.457h12.47L22.857,39.663z"/> + <path fill="#3669E7" d="M22.867,39.637c0,0.274,0.277,0.274,0.461,0.183l15.31-15.452c0.461-0.458,0.368-0.64,0-0.915 + l-15.31-15.27c-0.092-0.091-0.369-0.091-0.369,0.091v9.143H10.417c-0.277,0-0.461,0.184-0.461,0.366v12.16 + c0,0.365,0.184,0.457,0.553,0.457h12.451L22.867,39.637z"/> + <path fill="#376AE8" d="M22.877,39.608c0,0.274,0.276,0.274,0.46,0.184l15.287-15.425c0.461-0.457,0.369-0.639,0-0.913 + L23.337,8.21c-0.092-0.091-0.368-0.091-0.368,0.091v9.127H10.445c-0.276,0-0.46,0.183-0.46,0.366v12.14 + c0,0.365,0.184,0.455,0.552,0.455h12.432L22.877,39.608z"/> + <path fill="#386BE8" d="M22.886,39.583c0,0.273,0.276,0.273,0.46,0.184l15.263-15.4c0.459-0.456,0.368-0.638,0-0.911L23.347,8.237 + c-0.092-0.091-0.368-0.091-0.368,0.091v9.112H10.474c-0.275,0-0.459,0.183-0.459,0.365v12.119c0,0.363,0.184,0.454,0.552,0.454 + h12.413L22.886,39.583z"/> + <path fill="#396CE9" d="M22.896,39.558c0,0.272,0.276,0.272,0.459,0.182l15.239-15.374c0.459-0.455,0.367-0.637,0-0.91 + L23.355,8.265c-0.092-0.091-0.368-0.091-0.368,0.09v9.097H10.502c-0.275,0-0.459,0.183-0.459,0.364v12.099 + c0,0.364,0.184,0.454,0.551,0.454h12.394L22.896,39.558z"/> + <path fill="#3A6DE9" d="M22.905,39.528c0,0.273,0.276,0.273,0.459,0.184l15.217-15.348c0.457-0.454,0.366-0.635,0-0.908 + L23.364,8.292c-0.092-0.091-0.367-0.091-0.367,0.09v9.081H10.531c-0.275,0-0.458,0.182-0.458,0.364v12.079 + c0,0.361,0.184,0.453,0.55,0.453h12.374L22.905,39.528z"/> + <path fill="#3B6EEA" d="M22.916,39.503c0,0.271,0.275,0.271,0.458,0.182l15.193-15.32c0.456-0.453,0.366-0.634,0-0.906 + L23.374,8.318c-0.092-0.091-0.366-0.091-0.366,0.09v9.065H10.56c-0.274,0-0.458,0.182-0.458,0.363v12.057 + c0,0.362,0.183,0.453,0.549,0.453h12.355L22.916,39.503z"/> + <path fill="#3C6FEA" d="M22.924,39.478c0,0.271,0.274,0.271,0.457,0.181l15.17-15.294c0.455-0.453,0.365-0.633,0-0.905 + L23.381,8.344c-0.092-0.09-0.366-0.09-0.366,0.09v9.05H10.588c-0.274,0-0.457,0.181-0.457,0.363v12.036 + c0,0.361,0.183,0.451,0.548,0.451h12.336L22.924,39.478z"/> + <path fill="#3D70EB" d="M22.935,39.45c0,0.271,0.274,0.271,0.456,0.181l15.146-15.269c0.455-0.452,0.365-0.632,0-0.904 + L23.391,8.373c-0.091-0.09-0.365-0.09-0.365,0.09v9.034H10.617c-0.274,0-0.456,0.181-0.456,0.362v12.017 + c0,0.36,0.182,0.45,0.547,0.45h12.317L22.935,39.45z"/> + <path fill="#3E71EB" d="M22.943,39.424c0,0.271,0.274,0.271,0.456,0.181l15.123-15.243c0.455-0.451,0.363-0.631,0-0.902 + L23.399,8.398c-0.091-0.09-0.365-0.09-0.365,0.09v9.019h-12.39c-0.273,0-0.455,0.181-0.455,0.361v11.994 + c0,0.361,0.182,0.451,0.546,0.451h12.298L22.943,39.424z"/> + <path fill="#3F72EC" d="M22.954,39.397c0,0.271,0.273,0.271,0.455,0.181l15.099-15.217c0.455-0.45,0.365-0.63,0-0.9L23.408,8.425 + c-0.091-0.09-0.364-0.09-0.364,0.089v9.003h-12.37c-0.272,0-0.455,0.18-0.455,0.361v11.974c0,0.359,0.182,0.449,0.546,0.449 + h12.279L22.954,39.397z"/> + <path fill="#4073EC" d="M22.962,39.37c0,0.27,0.273,0.27,0.455,0.18l15.076-15.188c0.453-0.45,0.363-0.629,0-0.898L23.417,8.453 + c-0.091-0.09-0.363-0.09-0.363,0.089v8.988H10.704c-0.272,0-0.454,0.18-0.454,0.36v11.954c0,0.358,0.182,0.448,0.545,0.448h12.26 + L22.962,39.37z"/> + <path fill="#4174ED" d="M22.973,39.344c0,0.271,0.272,0.271,0.454,0.181L38.479,24.36c0.452-0.449,0.362-0.628,0-0.897 + L23.426,8.48c-0.091-0.09-0.363-0.09-0.363,0.089v8.972H10.731c-0.272,0-0.453,0.18-0.453,0.359v11.933 + c0,0.357,0.181,0.447,0.544,0.447h12.241L22.973,39.344z"/> + <path fill="#4275ED" d="M22.982,39.315c0,0.271,0.272,0.271,0.453,0.181l15.028-15.137c0.453-0.448,0.363-0.626,0-0.896 + L23.436,8.506c-0.091-0.09-0.362-0.09-0.362,0.089v8.957H10.76c-0.271,0-0.453,0.18-0.453,0.358v11.913 + c0,0.357,0.181,0.445,0.543,0.445h12.222L22.982,39.315z"/> + <path fill="#4376EE" d="M22.991,39.29c0,0.27,0.272,0.27,0.453,0.179l15.005-15.109c0.451-0.447,0.362-0.625,0-0.894L23.444,8.534 + c-0.091-0.089-0.362-0.089-0.362,0.089v8.94H10.79c-0.271,0-0.452,0.18-0.452,0.358v11.893c0,0.355,0.181,0.444,0.542,0.444 + h12.203L22.991,39.29z"/> + <path fill="#4477EE" d="M23.001,39.265c0,0.268,0.271,0.268,0.452,0.178l14.981-15.083c0.449-0.446,0.361-0.625,0-0.893 + L23.454,8.561c-0.091-0.089-0.361-0.089-0.361,0.089v8.925H10.817c-0.271,0-0.451,0.179-0.451,0.357v11.87 + c0,0.356,0.181,0.445,0.542,0.445h12.184L23.001,39.265z"/> + <path fill="#4578EF" d="M23.01,39.237c0,0.268,0.271,0.268,0.451,0.178l14.959-15.058c0.449-0.445,0.359-0.624,0-0.891 + L23.461,8.587c-0.09-0.089-0.361-0.089-0.361,0.089v8.91H10.847c-0.27,0-0.45,0.179-0.45,0.356v11.851 + c0,0.354,0.18,0.444,0.541,0.444h12.165L23.01,39.237z"/> + <path fill="#4679EF" d="M23.021,39.21c0,0.268,0.271,0.268,0.45,0.18l14.935-15.032c0.449-0.445,0.36-0.623,0-0.889L23.47,8.614 + c-0.09-0.089-0.36-0.089-0.36,0.089v8.894H10.875c-0.27,0-0.45,0.179-0.45,0.356v11.83c0,0.354,0.18,0.444,0.54,0.444H23.11 + L23.021,39.21z"/> + <path fill="#477AF0" d="M23.03,39.185c0,0.267,0.27,0.267,0.449,0.178l14.912-15.005c0.447-0.444,0.359-0.622,0-0.888 + L23.479,8.642c-0.09-0.089-0.359-0.089-0.359,0.088v8.878H10.903c-0.27,0-0.449,0.178-0.449,0.356v11.809 + c0,0.354,0.18,0.441,0.539,0.441h12.127L23.03,39.185z"/> + <path fill="#487BF0" d="M23.041,39.157c0,0.266,0.269,0.266,0.448,0.177l14.89-14.979c0.446-0.443,0.357-0.62,0-0.886 + L23.488,8.668c-0.09-0.089-0.359-0.089-0.359,0.088v8.863H10.933c-0.269,0-0.448,0.177-0.448,0.354v11.788 + c0,0.354,0.179,0.441,0.538,0.441h12.107L23.041,39.157z"/> + <path fill="#497CF1" d="M23.049,39.13c0,0.268,0.269,0.268,0.448,0.178l14.865-14.952c0.446-0.442,0.357-0.619,0-0.885 + L23.498,8.695c-0.09-0.088-0.358-0.088-0.358,0.088v8.848H10.961c-0.269,0-0.448,0.177-0.448,0.354v11.767 + c0,0.354,0.179,0.44,0.538,0.44H23.14L23.049,39.13z"/> + <path fill="#4A7DF1" d="M23.06,39.104c0,0.266,0.269,0.266,0.447,0.176l14.841-14.925c0.446-0.442,0.356-0.618,0-0.883 + L23.506,8.723c-0.09-0.088-0.358-0.088-0.358,0.088v8.832H10.989c-0.268,0-0.447,0.177-0.447,0.354v11.747 + c0,0.354,0.179,0.439,0.537,0.439h12.069L23.06,39.104z"/> + <path fill="#4B7EF2" d="M23.068,39.077c0,0.265,0.269,0.265,0.447,0.177l14.817-14.899c0.445-0.441,0.357-0.617,0-0.882 + L23.516,8.75c-0.09-0.088-0.357-0.088-0.357,0.088v8.816h-12.14c-0.268,0-0.446,0.177-0.446,0.354v11.726 + c0,0.353,0.179,0.439,0.536,0.439h12.05L23.068,39.077z"/> + <path fill="#4C7FF2" d="M23.079,39.051c0,0.265,0.268,0.265,0.446,0.177l14.794-14.874c0.444-0.44,0.356-0.616,0-0.88 + L23.523,8.775c-0.089-0.088-0.357-0.088-0.357,0.088v8.8h-12.12c-0.268,0-0.446,0.176-0.446,0.353v11.705 + c0,0.353,0.178,0.439,0.535,0.439h12.031L23.079,39.051z"/> + <path fill="#4D80F3" d="M23.087,39.024c0,0.264,0.268,0.264,0.445,0.176l14.771-14.848c0.443-0.439,0.355-0.615,0-0.878 + L23.532,8.803c-0.089-0.088-0.356-0.088-0.356,0.087v8.785H11.075c-0.267,0-0.445,0.176-0.445,0.352v11.685 + c0,0.352,0.178,0.438,0.534,0.438h12.012L23.087,39.024z"/> + <path fill="#4E81F3" d="M23.098,38.997c0,0.264,0.267,0.264,0.445,0.176l14.748-14.82c0.442-0.438,0.354-0.614,0-0.877 + L23.542,8.831c-0.089-0.088-0.356-0.088-0.356,0.087v8.769H11.104c-0.266,0-0.444,0.176-0.444,0.352v11.665 + c0,0.35,0.178,0.437,0.533,0.437h11.993L23.098,38.997z"/> + <path fill="#4F82F4" d="M23.107,38.972c0,0.262,0.267,0.262,0.444,0.174l14.723-14.794c0.441-0.438,0.355-0.613,0-0.875 + L23.55,8.856c-0.089-0.087-0.355-0.087-0.355,0.087v8.754H11.132c-0.266,0-0.443,0.176-0.443,0.351V29.69 + c0,0.351,0.177,0.438,0.532,0.438h11.974L23.107,38.972z"/> + <path fill="#5083F4" d="M23.116,38.944c0,0.262,0.266,0.262,0.443,0.175l14.699-14.769c0.443-0.437,0.354-0.611,0-0.874 + L23.56,8.883c-0.089-0.087-0.354-0.087-0.354,0.087v8.738H11.162c-0.266,0-0.443,0.175-0.443,0.35v11.622 + c0,0.35,0.177,0.437,0.531,0.437h11.955L23.116,38.944z"/> + <path fill="#5184F5" d="M23.126,38.918c0,0.263,0.266,0.263,0.442,0.174l14.677-14.741c0.441-0.436,0.354-0.61,0-0.872 + L23.568,8.911c-0.089-0.087-0.354-0.087-0.354,0.087v8.723H11.19c-0.265,0-0.442,0.175-0.442,0.35v11.603 + c0,0.348,0.177,0.436,0.531,0.436h11.936L23.126,38.918z"/> + <path fill="#5285F5" d="M23.135,38.892c0,0.262,0.266,0.262,0.442,0.174L38.23,24.35c0.44-0.436,0.354-0.609,0-0.871L23.578,8.938 + c-0.088-0.087-0.354-0.087-0.354,0.087v8.707H11.218c-0.265,0-0.441,0.175-0.441,0.349v11.581c0,0.348,0.177,0.434,0.53,0.434 + h11.917L23.135,38.892z"/> + <path fill="#5386F6" d="M23.146,38.864c0,0.261,0.265,0.261,0.441,0.174l14.629-14.689c0.44-0.435,0.354-0.608,0-0.869 + L23.586,8.964c-0.088-0.087-0.353-0.087-0.353,0.086v8.691H11.248c-0.264,0-0.441,0.174-0.441,0.348v11.562 + c0,0.347,0.177,0.433,0.529,0.433h11.898L23.146,38.864z"/> + <path fill="#5487F6" d="M23.154,38.838c0,0.261,0.264,0.261,0.44,0.174l14.608-14.663c0.438-0.434,0.352-0.607,0-0.867 + L23.595,8.992c-0.088-0.087-0.353-0.087-0.353,0.086v8.676H11.276c-0.264,0-0.44,0.174-0.44,0.348v11.54 + c0,0.346,0.176,0.433,0.528,0.433h11.878L23.154,38.838z"/> + <path fill="#5588F7" d="M23.165,38.812c0,0.26,0.264,0.26,0.44,0.174l14.583-14.637c0.438-0.433,0.353-0.606,0-0.866L23.604,9.019 + c-0.088-0.086-0.352-0.086-0.352,0.086v8.661H11.304c-0.263,0-0.439,0.173-0.439,0.347v11.52c0,0.346,0.176,0.432,0.527,0.432 + h11.859L23.165,38.812z"/> + <path fill="#5689F7" d="M23.173,38.784c0,0.26,0.264,0.26,0.439,0.173l14.561-14.609c0.438-0.433,0.351-0.605,0-0.865 + L23.612,9.045c-0.088-0.086-0.351-0.086-0.351,0.086v8.645H11.333c-0.263,0-0.438,0.173-0.438,0.346v11.499 + c0,0.345,0.175,0.431,0.526,0.431h11.84L23.173,38.784z"/> + <path fill="#578AF8" d="M23.184,38.758c0,0.259,0.263,0.259,0.438,0.173l14.537-14.584c0.437-0.432,0.351-0.604,0-0.863 + L23.622,9.072c-0.088-0.086-0.351-0.086-0.351,0.086v8.629H11.362c-0.263,0-0.438,0.173-0.438,0.346V29.61 + c0,0.346,0.175,0.432,0.525,0.432h11.821L23.184,38.758z"/> + <path fill="#588BF8" d="M23.192,38.731c0,0.258,0.263,0.258,0.438,0.172l14.513-14.558c0.436-0.431,0.35-0.603,0-0.861L23.63,9.1 + c-0.087-0.086-0.35-0.086-0.35,0.086v8.614h-11.89c-0.262,0-0.437,0.173-0.437,0.345v11.456c0,0.344,0.175,0.43,0.524,0.43H23.28 + L23.192,38.731z"/> + <path fill="#598CF9" d="M23.203,38.704c0,0.259,0.262,0.259,0.437,0.173l14.488-14.532c0.437-0.43,0.351-0.602,0-0.86L23.64,9.126 + c-0.088-0.086-0.35-0.086-0.35,0.085v8.598h-11.87c-0.262,0-0.437,0.172-0.437,0.344v11.438c0,0.344,0.175,0.428,0.524,0.428 + h11.784L23.203,38.704z"/> + <path fill="#5A8DF9" d="M23.212,38.678c0,0.259,0.262,0.259,0.436,0.173l14.466-14.506c0.436-0.429,0.35-0.6,0-0.858L23.648,9.153 + c-0.088-0.086-0.349-0.086-0.349,0.085v8.583H11.448c-0.262,0-0.436,0.172-0.436,0.344v11.416c0,0.343,0.174,0.428,0.523,0.428 + h11.764L23.212,38.678z"/> + <path fill="#5B8EFA" d="M23.222,38.651c0,0.257,0.262,0.257,0.436,0.17L38.1,24.343c0.434-0.428,0.349-0.599,0-0.856L23.657,9.181 + c-0.087-0.085-0.349-0.085-0.349,0.085v8.567H11.477c-0.261,0-0.435,0.171-0.435,0.343v11.394c0,0.343,0.174,0.428,0.522,0.428 + h11.745L23.222,38.651z"/> + <path fill="#5C8FFA" d="M23.231,38.625c0,0.256,0.261,0.256,0.435,0.171l14.418-14.453c0.435-0.428,0.349-0.598,0-0.855 + L23.667,9.208c-0.087-0.085-0.348-0.085-0.348,0.085v8.551H11.505c-0.261,0-0.434,0.172-0.434,0.343v11.375 + c0,0.34,0.173,0.426,0.521,0.426h11.726L23.231,38.625z"/> + <path fill="#5D90FB" d="M23.24,38.599c0,0.256,0.261,0.256,0.434,0.17L38.07,24.342c0.433-0.427,0.349-0.598,0-0.854L23.674,9.233 + c-0.087-0.085-0.347-0.085-0.347,0.085v8.536H11.534c-0.26,0-0.434,0.171-0.434,0.342V29.55c0,0.342,0.173,0.426,0.52,0.426 + h11.707L23.24,38.599z"/> + <path fill="#5E91FB" d="M23.25,38.571c0,0.256,0.26,0.256,0.434,0.171l14.371-14.401c0.432-0.426,0.347-0.596,0-0.852 + L23.685,9.261c-0.087-0.085-0.347-0.085-0.347,0.084v8.521H11.562c-0.259,0-0.433,0.171-0.433,0.342V29.54 + c0,0.34,0.173,0.424,0.52,0.424h11.688L23.25,38.571z"/> + <path fill="#5F92FC" d="M23.26,38.545c0,0.255,0.26,0.255,0.433,0.17l14.349-14.374c0.432-0.425,0.347-0.595,0-0.85L23.692,9.289 + c-0.087-0.085-0.346-0.085-0.346,0.084v8.504H11.591c-0.259,0-0.432,0.171-0.432,0.341V29.53c0,0.339,0.173,0.423,0.519,0.423 + h11.669L23.26,38.545z"/> + <path fill="#6093FC" d="M23.27,38.519c0,0.254,0.259,0.254,0.432,0.17l14.326-14.347c0.431-0.425,0.345-0.594,0-0.849 + L23.702,9.314c-0.087-0.085-0.346-0.085-0.346,0.084v8.489H11.621c-0.259,0-0.432,0.17-0.432,0.34v11.291 + c0,0.34,0.173,0.424,0.518,0.424h11.649L23.27,38.519z"/> + <path fill="#6194FD" d="M23.279,38.491c0,0.255,0.259,0.255,0.431,0.17l14.302-14.322c0.429-0.424,0.345-0.593,0-0.847 + L23.71,9.341c-0.086-0.084-0.345-0.084-0.345,0.084v8.473H11.648c-0.259,0-0.431,0.17-0.431,0.34v11.271 + c0,0.338,0.172,0.422,0.517,0.422h11.63L23.279,38.491z"/> + <path fill="#6295FD" d="M23.29,38.465c0,0.254,0.258,0.254,0.43,0.169l14.28-14.294c0.428-0.423,0.344-0.592,0-0.846L23.719,9.369 + c-0.086-0.084-0.344-0.084-0.344,0.084v8.458H11.677c-0.258,0-0.43,0.17-0.43,0.339v11.25c0,0.338,0.172,0.422,0.516,0.422h11.612 + L23.29,38.465z"/> + <path fill="#6396FE" d="M23.298,38.438c0,0.254,0.258,0.254,0.43,0.17l14.255-14.269c0.428-0.422,0.344-0.591,0-0.844 + l-14.255-14.1c-0.086-0.084-0.344-0.084-0.344,0.084v8.442H11.707c-0.258,0-0.429,0.169-0.429,0.338v11.228 + c0,0.338,0.171,0.422,0.515,0.422h11.592L23.298,38.438z"/> + <path fill="#6497FE" d="M23.309,38.412c0,0.253,0.257,0.253,0.429,0.168l14.23-14.242c0.428-0.422,0.344-0.59,0-0.843 + L23.737,9.422c-0.086-0.084-0.344-0.084-0.344,0.083v8.427H11.734c-0.257,0-0.429,0.169-0.429,0.338v11.209 + c0,0.336,0.171,0.418,0.514,0.418h11.573L23.309,38.412z"/> + <path fill="#6598FF" d="M23.317,38.385c0,0.253,0.257,0.253,0.429,0.169l14.208-14.216c0.428-0.42,0.344-0.588,0-0.841 + L23.747,9.45c-0.086-0.084-0.343-0.084-0.343,0.083v8.411h-11.64c-0.257,0-0.428,0.169-0.428,0.337v11.188 + c0,0.336,0.171,0.419,0.514,0.419h11.554L23.317,38.385z"/> + <path fill="#6699FF" d="M23.328,38.358c0,0.252,0.257,0.252,0.428,0.168l14.185-14.19c0.426-0.42,0.342-0.587,0-0.839 + L23.754,9.477c-0.086-0.084-0.342-0.084-0.342,0.083v8.396h-11.62c-0.256,0-0.427,0.168-0.427,0.336v11.167 + c0,0.335,0.171,0.418,0.513,0.418h11.535L23.328,38.358z"/> + </g> + + <linearGradient id="XMLID_10_" gradientUnits="userSpaceOnUse" x1="210.7969" y1="-239.4214" x2="210.7969" y2="-268.5771" gradientTransform="matrix(1 0 0 -1 -186 -230)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#6699FF"/> + </linearGradient> + <path fill="url(#XMLID_10_)" d="M23.328,38.358c0,0.252,0.257,0.252,0.428,0.168l14.185-14.19c0.426-0.42,0.342-0.587,0-0.839 + L23.754,9.477c-0.086-0.084-0.342-0.084-0.342,0.083v8.396h-11.62c-0.256,0-0.427,0.168-0.427,0.336v11.167 + c0,0.335,0.171,0.418,0.513,0.418h11.535L23.328,38.358z"/> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M48.06,47.999h-48v-48h48V47.999z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/note.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/note.svg new file mode 100644 index 0000000000..e94c610ea7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/note.svg @@ -0,0 +1,200 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="25.5" height="25.5" viewBox="0 0 25.5 25.5" + overflow="visible" enable-background="new 0 0 25.5 25.5" xml:space="preserve"> +<g id="Layer_x0020_1"> + <g> + <path fill="#1F60A9" d="M25.5,12.7c0,7-5.7,12.7-12.7,12.7C5.7,25.5,0,19.8,0,12.7C0,5.6,5.7,0,12.7,0s12.7,5.7,12.7,12.7H25.5z" + /> + <path fill="#2060AA" d="M25.473,12.7c0,6.983-5.688,12.671-12.672,12.671C5.718,25.471,0.03,19.783,0.03,12.7 + S5.718,0.029,12.701,0.029c6.984,0,12.671,5.687,12.671,12.671H25.473z"/> + <path fill="#2160AB" d="M25.443,12.7c0,6.968-5.674,12.642-12.643,12.642C5.734,25.439,0.061,19.768,0.061,12.7 + c0-7.068,5.674-12.642,12.642-12.642c6.968,0,12.641,5.674,12.641,12.642H25.443z"/> + <path fill="#2160AC" d="M25.415,12.7c0,6.95-5.661,12.612-12.612,12.612C5.752,25.412,0.091,19.751,0.091,12.7 + c0-7.051,5.661-12.612,12.612-12.612S25.316,5.749,25.316,12.7H25.415z"/> + <path fill="#2260AD" d="M25.387,12.7c0,6.936-5.648,12.583-12.583,12.583C5.769,25.383,0.121,19.734,0.121,12.7 + c0-7.035,5.648-12.583,12.583-12.583c6.937,0,12.583,5.648,12.583,12.583H25.387z"/> + <path fill="#2360AE" d="M25.357,12.701c0,6.919-5.635,12.554-12.553,12.554C5.787,25.354,0.152,19.719,0.152,12.701 + c0-7.019,5.635-12.554,12.554-12.554S25.26,5.782,25.26,12.701H25.357z"/> + <path fill="#2460AF" d="M25.33,12.7c0,6.903-5.622,12.524-12.525,12.524C5.803,25.323,0.181,19.702,0.181,12.7 + S5.803,0.175,12.706,0.175c6.903,0,12.524,5.621,12.524,12.525H25.33z"/> + <path fill="#2560B0" d="M25.302,12.701c0,6.887-5.608,12.496-12.496,12.496C5.82,25.294,0.212,19.686,0.212,12.701 + c0-6.986,5.608-12.496,12.496-12.496c6.888,0,12.496,5.608,12.496,12.496H25.302z"/> + <path fill="#2661B1" d="M25.273,12.7c0,6.87-5.597,12.467-12.467,12.467C5.837,25.266,0.242,19.67,0.242,12.7 + c0-6.969,5.595-12.467,12.467-12.467c6.871,0,12.467,5.596,12.467,12.467H25.273z"/> + <path fill="#2661B2" d="M25.245,12.7c0,6.854-5.583,12.438-12.438,12.438C5.854,25.234,0.272,19.652,0.272,12.7 + S5.854,0.262,12.709,0.262c6.855,0,12.438,5.583,12.438,12.438H25.245z"/> + <path fill="#2761B3" d="M25.216,12.7c0,6.839-5.567,12.407-12.408,12.407C5.872,25.205,0.303,19.637,0.303,12.7 + c0-6.937,5.569-12.408,12.408-12.408S25.12,5.861,25.12,12.7H25.216z"/> + <path fill="#2861B4" d="M25.188,12.7c0,6.823-5.557,12.38-12.378,12.38C5.889,25.177,0.333,19.62,0.333,12.7 + c0-6.92,5.556-12.379,12.379-12.379c6.823,0,12.38,5.556,12.38,12.379H25.188z"/> + <path fill="#2961B5" d="M25.16,12.7c0,6.807-5.543,12.35-12.351,12.35C5.906,25.146,0.363,19.604,0.363,12.7 + c0-6.904,5.543-12.35,12.35-12.35s12.35,5.543,12.35,12.35H25.16z"/> + <path fill="#2A61B6" d="M25.131,12.7c0,6.792-5.529,12.321-12.32,12.321C5.923,25.117,0.393,19.588,0.393,12.7 + c0-6.888,5.53-12.32,12.321-12.32s12.32,5.53,12.32,12.32H25.131z"/> + <path fill="#2A61B7" d="M25.104,12.7c0,6.774-5.518,12.292-12.292,12.292C5.94,25.088,0.424,19.57,0.424,12.7 + c0-6.872,5.517-12.292,12.291-12.292c6.773,0,12.292,5.517,12.292,12.292H25.104z"/> + <path fill="#2B61B8" d="M25.075,12.7c0,6.759-5.505,12.263-12.263,12.263C5.958,25.059,0.455,19.555,0.455,12.7 + c0-6.855,5.503-12.262,12.262-12.262c6.76,0,12.262,5.504,12.262,12.262H25.075z"/> + <path fill="#2C61B9" d="M25.046,12.7c0,6.743-5.489,12.233-12.232,12.233C5.975,25.029,0.484,19.539,0.484,12.7 + c0-6.839,5.491-12.233,12.233-12.233c6.743,0,12.233,5.491,12.233,12.233H25.046z"/> + <path fill="#2D61BA" d="M25.018,12.7c0,6.727-5.478,12.204-12.204,12.204C5.992,25,0.514,19.521,0.514,12.7 + c0-6.822,5.478-12.204,12.204-12.204S24.922,5.973,24.922,12.7H25.018z"/> + <path fill="#2E61BB" d="M24.988,12.7c0,6.711-5.463,12.175-12.173,12.175C6.009,24.971,0.544,19.506,0.544,12.7 + c0-6.807,5.464-12.175,12.175-12.175S24.895,5.99,24.895,12.7H24.988z"/> + <path fill="#2F61BC" d="M24.962,12.701c0,6.693-5.45,12.145-12.146,12.145C6.026,24.941,0.575,19.49,0.575,12.701 + c0-6.79,5.451-12.146,12.146-12.146c6.695,0,12.146,5.452,12.146,12.146H24.962z"/> + <path fill="#2F61BD" d="M24.934,12.7c0,6.678-5.438,12.116-12.117,12.116C6.043,24.911,0.605,19.475,0.605,12.7 + S6.043,0.584,12.722,0.584c6.678,0,12.116,5.438,12.116,12.116H24.934z"/> + <path fill="#3061BE" d="M24.904,12.7c0,6.661-5.426,12.087-12.087,12.087C6.06,24.882,0.635,19.457,0.635,12.7 + c0-6.757,5.425-12.087,12.087-12.087c6.661,0,12.086,5.425,12.086,12.087H24.904z"/> + <path fill="#3162BF" d="M24.876,12.7c0,6.646-5.412,12.059-12.058,12.059C6.078,24.854,0.666,19.439,0.666,12.7 + c0-6.741,5.412-12.058,12.058-12.058S24.783,6.054,24.783,12.7H24.876z"/> + <path fill="#3262C0" d="M24.85,12.701c0,6.63-5.399,12.027-12.03,12.027C6.095,24.823,0.696,19.425,0.696,12.701 + c0-6.725,5.399-12.029,12.029-12.029c6.628,0,12.028,5.399,12.028,12.029H24.85z"/> + <path fill="#3362C1" d="M24.818,12.7c0,6.614-5.385,11.999-12,11.999C6.112,24.794,0.727,19.408,0.727,12.7s5.385-12,12-12 + c6.614,0,12,5.386,12,12H24.818z"/> + <path fill="#3362C2" d="M24.791,12.7c0,6.598-5.373,11.97-11.971,11.97C6.129,24.764,0.756,19.393,0.756,12.7 + S6.129,0.73,12.727,0.73c6.597,0,11.968,5.372,11.968,11.97H24.791z"/> + <path fill="#3462C3" d="M24.764,12.7c0,6.582-5.359,11.94-11.942,11.94C6.146,24.734,0.787,19.375,0.787,12.7 + c0-6.676,5.359-11.941,11.941-11.941c6.583,0,11.941,5.36,11.941,11.941H24.764z"/> + <path fill="#3562C4" d="M24.734,12.7c0,6.565-5.348,11.911-11.913,11.911C6.164,24.705,0.817,19.359,0.817,12.7 + S6.164,0.788,12.729,0.788c6.566,0,11.912,5.347,11.912,11.912H24.734z"/> + <path fill="#3662C5" d="M24.706,12.7c0,6.55-5.333,11.883-11.883,11.883C6.181,24.676,0.847,19.343,0.847,12.7 + c0-6.643,5.333-11.883,11.883-11.883c6.549,0,11.881,5.333,11.881,11.883H24.706z"/> + <path fill="#3762C6" d="M24.678,12.7c0,6.534-5.32,11.854-11.854,11.854C6.198,24.646,0.877,19.326,0.877,12.7 + S6.198,0.846,12.731,0.846c6.535,0,11.853,5.32,11.853,11.854H24.678z"/> + <path fill="#3762C7" d="M24.648,12.7c0,6.518-5.308,11.823-11.824,11.823C6.215,24.617,0.908,19.311,0.908,12.7 + c0-6.611,5.307-11.824,11.824-11.824S24.557,6.183,24.557,12.7H24.648z"/> + <path fill="#3862C8" d="M24.621,12.7c0,6.502-5.294,11.795-11.795,11.795C6.232,24.588,0.938,19.294,0.938,12.7 + c0-6.594,5.293-11.795,11.795-11.795c6.501,0,11.794,5.294,11.794,11.795H24.621z"/> + <path fill="#3962C9" d="M24.593,12.7c0,6.485-5.28,11.766-11.766,11.766C6.249,24.559,0.968,19.277,0.968,12.7 + c0-6.578,5.281-11.766,11.766-11.766S24.5,6.215,24.5,12.7H24.593z"/> + <path fill="#3A62CA" d="M24.564,12.7c0,6.469-5.27,11.737-11.737,11.737C6.266,24.527,0.999,19.261,0.999,12.7 + c0-6.561,5.267-11.737,11.736-11.737c6.469,0,11.738,5.268,11.738,11.736L24.564,12.7L24.564,12.7z"/> + <path fill="#3B62CB" d="M24.536,12.7c0,6.452-5.255,11.707-11.708,11.707C6.284,24.5,1.029,19.245,1.029,12.7 + c0-6.545,5.255-11.707,11.707-11.707s11.708,5.255,11.708,11.708L24.536,12.7L24.536,12.7z"/> + <path fill="#3C62CC" d="M24.508,12.701c0,6.438-5.24,11.678-11.678,11.678c-6.529,0.092-11.77-5.15-11.77-11.678 + c0-6.528,5.241-11.679,11.678-11.679S24.416,6.263,24.416,12.7L24.508,12.701L24.508,12.701z"/> + <path fill="#3C62CD" d="M24.479,12.7c0,6.421-5.229,11.649-11.648,11.649C6.318,24.439,1.09,19.212,1.09,12.7 + c0-6.513,5.228-11.649,11.649-11.649c6.42,0,11.65,5.228,11.65,11.649H24.479z"/> + <path fill="#3D63CE" d="M24.45,12.7c0,6.403-5.216,11.618-11.62,11.618C6.335,24.41,1.12,19.195,1.12,12.7 + c0-6.497,5.215-11.62,11.62-11.62c6.404,0,11.619,5.215,11.619,11.62H24.45z"/> + <path fill="#3E63CF" d="M24.423,12.7c0,6.389-5.202,11.591-11.591,11.591C6.353,24.382,1.15,19.18,1.15,12.7 + c0-6.48,5.203-11.591,11.591-11.591c6.388,0,11.59,5.203,11.59,11.591H24.423z"/> + <path fill="#3F63D0" d="M24.395,12.701c0,6.373-5.188,11.561-11.562,11.561C6.37,24.354,1.18,19.164,1.18,12.701 + c0-6.464,5.189-11.562,11.562-11.562c6.371,0,11.562,5.189,11.562,11.562H24.395z"/> + <path fill="#4063D1" d="M24.365,12.7c0,6.356-5.176,11.532-11.532,11.532C6.387,24.322,1.21,19.146,1.21,12.7 + c0-6.447,5.177-11.533,11.533-11.533c6.354,0,11.532,5.176,11.532,11.533H24.365z"/> + <path fill="#4063D2" d="M24.337,12.7c0,6.341-5.163,11.503-11.503,11.503C6.403,24.293,1.24,19.13,1.24,12.7 + c0-6.431,5.163-11.503,11.503-11.503c6.34,0,11.504,5.163,11.504,11.503H24.337z"/> + <path fill="#4163D3" d="M24.311,12.7c0,6.323-5.15,11.474-11.476,11.474C6.42,24.264,1.271,19.114,1.271,12.7 + c0-6.415,5.149-11.474,11.474-11.474c6.323,0,11.474,5.15,11.474,11.474H24.311z"/> + <path fill="#4263D4" d="M24.281,12.701c0,6.308-5.137,11.445-11.445,11.445C6.438,24.234,1.301,19.1,1.301,12.701 + c0-6.399,5.137-11.445,11.445-11.445c6.307,0,11.445,5.136,11.445,11.445H24.281z"/> + <path fill="#4363D4" d="M24.253,12.7c0,6.292-5.124,11.416-11.416,11.416C6.455,24.205,1.332,19.082,1.332,12.7 + c0-6.382,5.123-11.415,11.415-11.415S24.163,6.408,24.163,12.7H24.253z"/> + <path fill="#4463D5" d="M24.225,12.7c0,6.276-5.111,11.387-11.387,11.387C6.472,24.176,1.362,19.064,1.362,12.7 + c0-6.366,5.11-11.386,11.386-11.386c6.275,0,11.387,5.11,11.387,11.386H24.225z"/> + <path fill="#4563D6" d="M24.195,12.7c0,6.26-5.098,11.356-11.357,11.356C6.49,24.146,1.392,19.049,1.392,12.7 + c0-6.35,5.098-11.357,11.357-11.357S24.105,6.441,24.105,12.7H24.195z"/> + <path fill="#4563D7" d="M24.167,12.7c0,6.243-5.084,11.327-11.328,11.327C6.506,24.116,1.422,19.033,1.422,12.7 + S6.506,1.372,12.75,1.372S24.078,6.456,24.078,12.7H24.167z"/> + <path fill="#4663D8" d="M24.139,12.7c0,6.228-5.07,11.299-11.299,11.299C6.523,24.087,1.453,19.018,1.453,12.7 + S6.523,1.401,12.751,1.401c6.228,0,11.298,5.071,11.298,11.299H24.139z"/> + <path fill="#4763D9" d="M24.109,12.7c0,6.212-5.058,11.271-11.27,11.271C6.541,24.059,1.483,19,1.483,12.7 + c0-6.3,5.058-11.27,11.27-11.27S24.023,6.488,24.023,12.7H24.109z"/> + <path fill="#4863DA" d="M24.082,12.7c0,6.194-5.045,11.239-11.24,11.239C6.558,24.027,1.513,18.982,1.513,12.7 + c0-6.284,5.045-11.24,11.24-11.24c6.195,0,11.241,5.045,11.241,11.24H24.082z"/> + <path fill="#4964DB" d="M24.055,12.7c0,6.18-5.033,11.211-11.212,11.211c-6.268,0.088-11.3-4.943-11.3-11.211 + c0-6.268,5.032-11.211,11.211-11.211c6.18,0,11.212,5.032,11.212,11.211H24.055z"/> + <path fill="#4964DC" d="M24.025,12.7c0,6.164-5.02,11.182-11.183,11.182C6.592,23.971,1.574,18.951,1.574,12.7 + S6.593,1.518,12.756,1.518S23.938,6.537,23.938,12.7H24.025z"/> + <path fill="#4A64DD" d="M23.997,12.7c0,6.147-5.006,11.153-11.153,11.153C6.609,23.939,1.604,18.936,1.604,12.7 + S6.609,1.547,12.757,1.547c6.146,0,11.152,5.006,11.152,11.153H23.997z"/> + <path fill="#4B64DE" d="M23.969,12.7c0,6.131-4.992,11.124-11.124,11.124C6.626,23.91,1.634,18.918,1.634,12.7 + c0-6.219,4.992-11.124,11.124-11.124c6.131,0,11.124,4.992,11.124,11.124H23.969z"/> + <path fill="#4C64DF" d="M23.939,12.7c0,6.114-4.979,11.095-11.094,11.095C6.644,23.882,1.665,18.902,1.665,12.7 + c0-6.203,4.979-11.094,11.094-11.094c6.115,0,11.095,4.979,11.095,11.094H23.939z"/> + <path fill="#4D64E0" d="M23.912,12.7c0,6.1-4.967,11.065-11.065,11.065C6.661,23.852,1.695,18.886,1.695,12.7 + c0-6.186,4.966-11.065,11.065-11.065c6.098,0,11.065,4.966,11.065,11.065H23.912z"/> + <path fill="#4E64E1" d="M23.884,12.7c0,6.083-4.952,11.036-11.036,11.036C6.678,23.822,1.725,18.869,1.725,12.7 + c0-6.17,4.954-11.036,11.036-11.036c6.083,0,11.036,4.954,11.036,11.036H23.884z"/> + <path fill="#4E64E2" d="M23.855,12.7c0,6.067-4.94,11.007-11.007,11.007C6.695,23.793,1.755,18.854,1.755,12.7 + c0-6.154,4.94-11.007,11.007-11.007c6.066,0,11.005,4.94,11.005,11.007H23.855z"/> + <path fill="#4F64E3" d="M23.827,12.7c0,6.051-4.929,10.978-10.978,10.978C6.712,23.764,1.786,18.837,1.786,12.7 + c0-6.137,4.927-10.978,10.978-10.978c6.05,0,10.977,4.927,10.977,10.978H23.827z"/> + <path fill="#5064E4" d="M23.799,12.7c0,6.034-4.914,10.948-10.949,10.948C6.729,23.734,1.816,18.82,1.816,12.7 + c0-6.121,4.914-10.948,10.948-10.948c6.034,0,10.949,4.914,10.949,10.948H23.799z"/> + <path fill="#5164E5" d="M23.771,12.7c0,6.019-4.901,10.919-10.919,10.919C6.747,23.705,1.846,18.805,1.846,12.7 + c0-6.105,4.9-10.919,10.919-10.919c6.018,0,10.918,4.9,10.918,10.919H23.771z"/> + <path fill="#5264E6" d="M23.742,12.7c0,6.003-4.889,10.89-10.891,10.89C6.764,23.675,1.876,18.788,1.876,12.7 + c0-6.088,4.888-10.89,10.89-10.89c6.001,0,10.89,4.888,10.89,10.89H23.742z"/> + <path fill="#5264E7" d="M23.714,12.7c0,5.985-4.875,10.86-10.861,10.86C6.781,23.646,1.906,18.771,1.906,12.7 + c0-6.072,4.875-10.861,10.861-10.861c5.985,0,10.86,4.875,10.86,10.861H23.714z"/> + <path fill="#5364E8" d="M23.686,12.7c0,5.971-4.861,10.832-10.832,10.832C6.798,23.616,1.937,18.755,1.937,12.7 + c0-6.056,4.862-10.832,10.832-10.832C18.738,1.869,23.6,6.73,23.6,12.7H23.686z"/> + <path fill="#5464E9" d="M23.657,12.7c0,5.954-4.849,10.803-10.803,10.803C6.815,23.587,1.967,18.739,1.967,12.7 + c0-6.04,4.849-10.802,10.803-10.802c5.955,0,10.802,4.848,10.802,10.802H23.657z"/> + <path fill="#5565EA" d="M23.629,12.7c0,5.938-4.836,10.772-10.774,10.772C6.833,23.559,1.998,18.723,1.998,12.7 + c0-6.023,4.835-10.773,10.773-10.773S23.544,6.762,23.544,12.7H23.629z"/> + <path fill="#5665EB" d="M23.602,12.7c0,5.922-4.824,10.743-10.746,10.743C6.85,23.527,2.027,18.706,2.027,12.7 + c0-6.006,4.822-10.744,10.744-10.744c5.922,0,10.745,4.822,10.745,10.744H23.602z"/> + <path fill="#5665EC" d="M23.572,12.7c0,5.905-4.811,10.715-10.715,10.715C6.867,23.499,2.058,18.689,2.058,12.7 + c0-5.99,4.809-10.715,10.714-10.715S23.486,6.794,23.486,12.7H23.572z"/> + <path fill="#5765ED" d="M23.544,12.7c0,5.89-4.797,10.686-10.687,10.686C6.884,23.471,2.088,18.674,2.088,12.7 + c0-5.974,4.796-10.686,10.686-10.686c5.889,0,10.686,4.796,10.686,10.686H23.544z"/> + <path fill="#5865EE" d="M23.516,12.7c0,5.874-4.783,10.655-10.657,10.655C6.901,23.439,2.118,18.657,2.118,12.7 + c0-5.958,4.783-10.657,10.657-10.657c5.874,0,10.657,4.784,10.657,10.657H23.516z"/> + <path fill="#5965EF" d="M23.486,12.7c0,5.858-4.771,10.627-10.627,10.627C6.918,23.41,2.148,18.641,2.148,12.7 + c0-5.941,4.77-10.627,10.627-10.627S23.402,6.843,23.402,12.7H23.486z"/> + <path fill="#5A65F0" d="M23.459,12.7c0,5.842-4.758,10.598-10.599,10.598C6.936,23.381,2.179,18.625,2.179,12.7 + c0-5.925,4.757-10.598,10.598-10.598c5.841,0,10.598,4.757,10.598,10.598H23.459z"/> + <path fill="#5B65F1" d="M23.432,12.7c0,5.825-4.744,10.569-10.571,10.569C6.953,23.352,2.209,18.607,2.209,12.7 + c0-5.909,4.744-10.569,10.569-10.569c5.826,0,10.57,4.744,10.57,10.569H23.432z"/> + <path fill="#5B65F2" d="M23.4,12.7c0,5.81-4.729,10.54-10.54,10.54C6.97,23.322,2.239,18.592,2.239,12.7 + c0-5.892,4.73-10.54,10.54-10.54c5.809,0,10.54,4.73,10.54,10.54H23.4z"/> + <path fill="#5C65F3" d="M23.373,12.7c0,5.794-4.719,10.511-10.511,10.511C6.987,23.293,2.27,18.576,2.27,12.7 + S6.987,2.189,12.78,2.189c5.793,0,10.511,4.717,10.511,10.511H23.373z"/> + <path fill="#5D65F4" d="M23.346,12.7c0,5.776-4.705,10.481-10.482,10.481C7.004,23.264,2.3,18.561,2.3,12.7 + S7.004,2.219,12.781,2.219c5.775,0,10.48,4.704,10.48,10.481H23.346z"/> + <path fill="#5E65F5" d="M23.316,12.7c0,5.762-4.691,10.452-10.453,10.452C7.021,23.232,2.33,18.543,2.33,12.7 + c0-5.843,4.691-10.452,10.452-10.452c5.761,0,10.452,4.691,10.452,10.452H23.316z"/> + <path fill="#5F65F6" d="M23.288,12.7c0,5.745-4.679,10.423-10.423,10.423C7.039,23.204,2.36,18.525,2.36,12.7 + c0-5.827,4.678-10.423,10.423-10.423c5.744,0,10.423,4.678,10.423,10.423H23.288z"/> + <path fill="#5F65F7" d="M23.26,12.7c0,5.729-4.664,10.394-10.394,10.394C7.056,23.175,2.391,18.511,2.391,12.7 + c0-5.811,4.665-10.393,10.394-10.393c5.729,0,10.393,4.665,10.393,10.394L23.26,12.7L23.26,12.7z"/> + <path fill="#6066F8" d="M23.23,12.7c0,5.713-4.651,10.364-10.364,10.364C7.073,23.146,2.421,18.494,2.421,12.7 + S7.073,2.335,12.786,2.335c5.712,0,10.364,4.652,10.364,10.365H23.23z"/> + <path fill="#6166F9" d="M23.203,12.7c0,5.696-4.639,10.335-10.335,10.335C7.09,23.116,2.451,18.479,2.451,12.7 + S7.09,2.365,12.786,2.365S23.121,7.004,23.121,12.7H23.203z"/> + <path fill="#6266FA" d="M23.175,12.7c0,5.681-4.626,10.306-10.307,10.306C7.107,23.087,2.481,18.462,2.481,12.7 + c0-5.762,4.626-10.306,10.307-10.306c5.68,0,10.306,4.625,10.306,10.306H23.175z"/> + <path fill="#6366FB" d="M23.146,12.7c0,5.665-4.613,10.276-10.277,10.276C7.124,23.059,2.512,18.445,2.512,12.7 + c0-5.746,4.612-10.277,10.277-10.277S23.064,7.036,23.064,12.7H23.146z"/> + <path fill="#6466FC" d="M23.118,12.7c0,5.647-4.601,10.248-10.248,10.248C7.142,23.027,2.542,18.43,2.542,12.7 + c0-5.729,4.6-10.248,10.248-10.248c5.647,0,10.247,4.6,10.247,10.248H23.118z"/> + <path fill="#6466FD" d="M23.09,12.7c0,5.633-4.587,10.219-10.219,10.219C7.159,22.998,2.572,18.412,2.572,12.7 + c0-5.713,4.586-10.219,10.219-10.219c5.632,0,10.219,4.586,10.219,10.219H23.09z"/> + <path fill="#6566FE" d="M23.062,12.7c0,5.616-4.574,10.188-10.19,10.188C7.176,22.969,2.603,18.396,2.603,12.7 + S7.176,2.511,12.792,2.511c5.615,0,10.188,4.573,10.188,10.189H23.062z"/> + <path fill="#6666FF" d="M23.033,12.7c0,5.601-4.561,10.159-10.161,10.159c-5.68,0.08-10.24-4.479-10.24-10.159 + c0-5.68,4.56-10.16,10.16-10.16c5.601,0,10.16,4.56,10.16,10.16H23.033z"/> + </g> + + <linearGradient id="XMLID_12_" gradientUnits="userSpaceOnUse" x1="198.625" y1="-253.916" x2="198.625" y2="-262.334" gradientTransform="matrix(1 0 0 -1 -186 -252.5)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#6666FF"/> + </linearGradient> + <ellipse fill="url(#XMLID_12_)" cx="12.625" cy="5.625" rx="7.542" ry="4.209"/> + <g> + <path fill="#FFFFFF" d="M14.1,19.2c0,0.2,0,0.3-0.3,0.3H12c-0.2,0-0.3-0.1-0.3-0.3v-7.1h-1.4c-0.2,0-0.3-0.1-0.3-0.3v-1.2 + c0-0.2,0-0.3,0.3-0.3h3.5c0.2,0,0.3,0.1,0.3,0.3v8.5V19.2z M13,9.2c-0.8,0-1.5-0.7-1.5-1.5c0-0.8,0.7-1.5,1.5-1.5s1.5,0.7,1.5,1.5 + C14.5,8.5,13.8,9.2,13,9.2z"/> + </g> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/prev.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/prev.svg new file mode 100644 index 0000000000..7ceddec8b0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/prev.svg @@ -0,0 +1,338 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Previous" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="7.5901" stroke-linejoin="round" d="M25.659,6.898c0-0.301-0.3-0.301-0.5-0.2 + l-16.6,16.9c-0.5,0.5-0.4,0.7,0,1l16.6,16.7c0.103,0.101,0.399,0.101,0.399-0.1v-10h13.601c0.301,0,0.5-0.2,0.5-0.4v-13.3 + c0-0.4-0.199-0.5-0.601-0.5h-13.5L25.659,6.898z"/> + <g> + <path fill="#0033CC" d="M25.659,6.898c0-0.301-0.3-0.301-0.5-0.2l-16.6,16.9c-0.5,0.5-0.4,0.7,0,1l16.6,16.7 + c0.103,0.101,0.399,0.101,0.399-0.1v-10h13.601c0.301,0,0.5-0.2,0.5-0.4v-13.3c0-0.4-0.199-0.5-0.601-0.5h-13.5L25.659,6.898z"/> + <path fill="#0134CC" d="M25.648,6.925c0-0.3-0.299-0.3-0.498-0.2L8.575,23.6c-0.499,0.499-0.4,0.698,0,1L25.15,41.271 + c0.101,0.102,0.398,0.102,0.398-0.1v-9.984h13.58c0.303,0,0.5-0.197,0.5-0.397V17.508c0-0.4-0.197-0.499-0.6-0.499H25.55 + L25.648,6.925z"/> + <path fill="#0235CD" d="M25.641,6.953c0-0.3-0.3-0.3-0.498-0.2L8.588,23.601c-0.499,0.498-0.399,0.697,0,0.997l16.553,16.647 + c0.101,0.101,0.398,0.101,0.398-0.101v-9.971h13.562c0.299,0,0.498-0.197,0.498-0.398V17.519c0-0.399-0.199-0.499-0.6-0.499H25.54 + L25.641,6.953z"/> + <path fill="#0336CD" d="M25.63,6.979c0-0.299-0.299-0.299-0.498-0.199L8.603,23.601c-0.498,0.498-0.399,0.696,0,0.997 + l16.529,16.62c0.101,0.101,0.397,0.101,0.397-0.099v-9.954h13.544c0.299,0,0.495-0.199,0.495-0.397v-13.24 + c0-0.399-0.196-0.498-0.598-0.498H25.532L25.63,6.979z"/> + <path fill="#0437CE" d="M25.622,7.005c0-0.299-0.299-0.299-0.498-0.199L8.619,23.602c-0.498,0.497-0.398,0.695,0,0.994 + l16.505,16.598c0.101,0.1,0.396,0.1,0.396-0.102v-9.938h13.521c0.301,0,0.498-0.197,0.498-0.396V17.54 + c0-0.397-0.197-0.497-0.598-0.497h-13.42L25.622,7.005z"/> + <path fill="#0538CE" d="M25.611,7.033c0-0.298-0.299-0.298-0.498-0.199L8.633,23.602c-0.497,0.496-0.398,0.694,0,0.994 + l16.48,16.568c0.101,0.1,0.398,0.1,0.398-0.1v-9.924h13.502c0.299,0,0.498-0.197,0.498-0.396V17.548 + c0-0.397-0.199-0.496-0.598-0.496h-13.4L25.611,7.033z"/> + <path fill="#0639CF" d="M25.602,7.06c0-0.298-0.297-0.298-0.496-0.199L8.646,23.603c-0.496,0.496-0.396,0.693,0,0.99 + l16.458,16.546c0.101,0.101,0.396,0.101,0.396-0.1v-9.907h13.482c0.301,0,0.496-0.196,0.496-0.396V17.56 + c0-0.396-0.195-0.495-0.595-0.495H25.503L25.602,7.06z"/> + <path fill="#073ACF" d="M25.592,7.085c0-0.298-0.298-0.298-0.494-0.199L8.662,23.603c-0.495,0.495-0.396,0.692,0,0.989 + l16.436,16.518c0.1,0.102,0.396,0.102,0.396-0.098V31.12h13.465c0.297,0,0.494-0.197,0.494-0.396V17.569 + c0-0.396-0.197-0.495-0.595-0.495H25.493L25.592,7.085z"/> + <path fill="#083BD0" d="M25.583,7.111c0-0.297-0.297-0.297-0.494-0.198L8.677,23.604c-0.494,0.494-0.396,0.691,0,0.987 + l16.412,16.493c0.101,0.1,0.396,0.1,0.396-0.1v-9.877h13.447c0.297,0,0.493-0.195,0.493-0.396V17.58 + c0-0.396-0.196-0.494-0.594-0.494H25.484L25.583,7.111z"/> + <path fill="#093CD0" d="M25.573,7.139c0-0.296-0.296-0.296-0.494-0.197L8.69,23.604c-0.493,0.494-0.395,0.69,0,0.985l16.389,16.47 + c0.103,0.099,0.396,0.099,0.396-0.101V31.1h13.428c0.298,0,0.494-0.197,0.494-0.396V17.589c0-0.395-0.196-0.493-0.594-0.493 + H25.475L25.573,7.139z"/> + <path fill="#0A3DD1" d="M25.562,7.165c0-0.296-0.295-0.296-0.492-0.197L8.706,23.604c-0.493,0.492-0.395,0.688,0,0.983 + l16.366,16.44c0.1,0.098,0.396,0.098,0.396-0.101v-9.845h13.405c0.297,0,0.494-0.196,0.494-0.396V17.596 + c0-0.395-0.197-0.492-0.592-0.492H25.464L25.562,7.165z"/> + <path fill="#0B3ED1" d="M25.555,7.191c0-0.295-0.296-0.295-0.492-0.197L8.72,23.605c-0.492,0.491-0.394,0.688,0,0.982 + l16.342,16.414c0.1,0.099,0.395,0.099,0.395-0.099v-9.828h13.391c0.295,0,0.49-0.197,0.49-0.395V17.609 + c0-0.393-0.195-0.491-0.59-0.491H25.456L25.555,7.191z"/> + <path fill="#0C3FD2" d="M25.544,7.219c0-0.295-0.295-0.295-0.491-0.196L8.734,23.606c-0.491,0.49-0.394,0.687,0,0.98 + l16.318,16.389c0.099,0.101,0.394,0.101,0.394-0.098v-9.812h13.369c0.297,0,0.492-0.194,0.492-0.394V17.62 + c0-0.393-0.195-0.49-0.591-0.49H25.445L25.544,7.219z"/> + <path fill="#0D40D2" d="M25.534,7.245c0-0.294-0.293-0.294-0.49-0.196L8.749,23.606c-0.491,0.489-0.394,0.685,0,0.979 + l16.295,16.362c0.099,0.098,0.394,0.098,0.394-0.098v-9.798h13.35c0.295,0,0.49-0.196,0.49-0.395V17.628 + c0-0.392-0.195-0.489-0.588-0.489H25.438L25.534,7.245z"/> + <path fill="#0E41D3" d="M25.525,7.271c0-0.294-0.295-0.294-0.489-0.196L8.764,23.607c-0.49,0.489-0.393,0.685,0,0.979 + l16.271,16.335c0.102,0.101,0.395,0.101,0.395-0.097v-9.782h13.33c0.295,0,0.488-0.194,0.488-0.394V17.64 + c0-0.392-0.193-0.489-0.588-0.489H25.428L25.525,7.271z"/> + <path fill="#0F42D3" d="M25.516,7.298c0-0.293-0.293-0.293-0.488-0.195L8.778,23.607c-0.489,0.489-0.392,0.684,0,0.978 + l16.248,16.312c0.101,0.099,0.394,0.099,0.394-0.099v-9.767H38.73c0.293,0,0.49-0.195,0.49-0.393V17.65 + c0-0.391-0.197-0.488-0.589-0.488H25.417L25.516,7.298z"/> + <path fill="#1043D4" d="M25.505,7.325c0-0.293-0.293-0.293-0.487-0.195L8.792,23.608c-0.488,0.488-0.391,0.683,0,0.976 + l16.224,16.283c0.101,0.098,0.394,0.098,0.394-0.098v-9.752H38.7c0.295,0,0.489-0.192,0.489-0.39V17.661 + c0-0.391-0.194-0.487-0.586-0.487H25.409L25.505,7.325z"/> + <path fill="#1144D4" d="M25.497,7.352c0-0.292-0.293-0.292-0.487-0.194L8.808,23.608c-0.488,0.487-0.391,0.682,0,0.974 + L25.009,40.84c0.099,0.1,0.392,0.1,0.392-0.097v-9.734h13.272c0.293,0,0.488-0.194,0.488-0.39V17.67 + c0-0.39-0.195-0.487-0.586-0.487H25.398L25.497,7.352z"/> + <path fill="#1245D5" d="M25.486,7.378c0-0.292-0.293-0.292-0.487-0.195L8.822,23.609c-0.487,0.486-0.39,0.68,0,0.973l16.177,16.23 + c0.099,0.099,0.392,0.099,0.392-0.099v-9.72h13.254c0.293,0,0.485-0.194,0.485-0.391V17.681c0-0.389-0.192-0.486-0.584-0.486 + H25.391L25.486,7.378z"/> + <path fill="#1346D5" d="M25.479,7.406c0-0.292-0.293-0.292-0.486-0.195L8.837,23.61c-0.487,0.485-0.39,0.679,0,0.971 + l16.154,16.206c0.098,0.097,0.389,0.097,0.389-0.098v-9.705h13.236c0.291,0,0.485-0.192,0.485-0.389V17.69 + c0-0.388-0.194-0.485-0.584-0.485H25.38L25.479,7.406z"/> + <path fill="#1447D6" d="M25.468,7.432c0-0.292-0.292-0.292-0.485-0.194L8.852,23.611c-0.485,0.484-0.389,0.678,0,0.969 + l16.13,16.18c0.1,0.098,0.389,0.098,0.389-0.096v-9.688h13.217c0.291,0,0.486-0.192,0.486-0.39V17.702 + c0-0.388-0.195-0.484-0.584-0.484H25.37L25.468,7.432z"/> + <path fill="#1548D6" d="M25.458,7.458c0-0.291-0.291-0.291-0.485-0.194L8.866,23.611c-0.484,0.483-0.388,0.677,0,0.968 + L24.973,40.73c0.1,0.099,0.389,0.099,0.389-0.097v-9.673h13.197c0.291,0,0.483-0.193,0.483-0.388V17.71 + c0-0.387-0.192-0.483-0.582-0.483H25.359L25.458,7.458z"/> + <path fill="#1649D7" d="M25.448,7.484c0-0.291-0.289-0.291-0.484-0.194L8.88,23.613c-0.484,0.482-0.388,0.675,0,0.965 + l16.083,16.128c0.098,0.099,0.389,0.099,0.389-0.097v-9.657h13.178c0.291,0,0.484-0.192,0.484-0.388V17.722 + c0-0.387-0.193-0.482-0.582-0.482h-13.08L25.448,7.484z"/> + <path fill="#174AD7" d="M25.439,7.512c0-0.29-0.291-0.29-0.483-0.193L8.895,23.614c-0.483,0.482-0.387,0.675,0,0.963l16.06,16.104 + c0.1,0.096,0.391,0.096,0.391-0.098v-9.645H38.5c0.291,0,0.484-0.191,0.484-0.385V17.731c0-0.386-0.193-0.481-0.58-0.481H25.343 + L25.439,7.512z"/> + <path fill="#184BD8" d="M25.43,7.539c0-0.29-0.289-0.29-0.482-0.193L8.91,23.614c-0.482,0.482-0.387,0.674,0,0.962L24.947,40.65 + c0.098,0.098,0.387,0.098,0.387-0.096V30.93h13.141c0.291,0,0.48-0.193,0.48-0.388v-12.8c0-0.385-0.189-0.481-0.578-0.481H25.333 + L25.43,7.539z"/> + <path fill="#194CD8" d="M25.419,7.564c0-0.289-0.289-0.289-0.481-0.192L8.923,23.614c-0.481,0.481-0.386,0.673,0,0.961 + l16.015,16.05c0.097,0.098,0.386,0.098,0.386-0.098v-9.608h13.118c0.291,0,0.482-0.19,0.482-0.386V17.751 + c0-0.385-0.191-0.48-0.578-0.48H25.323L25.419,7.564z"/> + <path fill="#1A4DD9" d="M25.411,7.59c0-0.288-0.289-0.288-0.479-0.192L8.938,23.615c-0.481,0.48-0.385,0.671,0,0.96L24.93,40.598 + c0.096,0.096,0.385,0.096,0.385-0.096v-9.595h13.102c0.289,0,0.48-0.192,0.48-0.386V17.762c0-0.384-0.191-0.479-0.578-0.479 + H25.314L25.411,7.59z"/> + <path fill="#1B4ED9" d="M25.4,7.618c0-0.288-0.289-0.288-0.479-0.191L8.954,23.616c-0.481,0.479-0.385,0.67,0,0.958L24.919,40.57 + c0.099,0.097,0.386,0.097,0.386-0.096v-9.58h13.082c0.288,0,0.479-0.189,0.479-0.383V17.771c0-0.383-0.191-0.479-0.576-0.479 + H25.305L25.4,7.618z"/> + <path fill="#1C4FDA" d="M25.393,7.645c0-0.287-0.289-0.287-0.48-0.191L8.968,23.617c-0.48,0.479-0.384,0.669,0,0.958 + l15.941,15.971c0.099,0.097,0.385,0.097,0.385-0.095v-9.562h13.062c0.289,0,0.48-0.193,0.48-0.384V17.782 + c0-0.383-0.191-0.478-0.577-0.478H25.294L25.393,7.645z"/> + <path fill="#1D50DA" d="M25.38,7.67c0-0.287-0.286-0.287-0.479-0.19L8.981,23.617c-0.479,0.478-0.384,0.667,0,0.955L24.9,40.518 + c0.097,0.096,0.384,0.096,0.384-0.098v-9.548h13.043c0.289,0,0.479-0.188,0.479-0.383V17.792c0-0.382-0.19-0.477-0.576-0.477 + H25.286L25.38,7.67z"/> + <path fill="#1E51DB" d="M25.372,7.698c0-0.287-0.287-0.287-0.479-0.191L8.997,23.618c-0.479,0.477-0.383,0.667,0,0.954 + L24.893,40.49c0.098,0.095,0.385,0.095,0.385-0.096v-9.533H38.3c0.287,0,0.479-0.189,0.479-0.381V17.803 + c0-0.382-0.191-0.476-0.574-0.476h-12.93L25.372,7.698z"/> + <path fill="#1F52DB" d="M25.361,7.725c0-0.286-0.284-0.286-0.479-0.19L9.012,23.619c-0.478,0.475-0.383,0.666,0,0.951 + l15.872,15.895c0.097,0.096,0.384,0.096,0.384-0.095v-9.519h13.004c0.287,0,0.479-0.189,0.479-0.381V17.812 + c0-0.381-0.19-0.476-0.574-0.476H25.268L25.361,7.725z"/> + <path fill="#2053DC" d="M25.354,7.75c0-0.286-0.287-0.286-0.479-0.19L9.025,23.619c-0.477,0.475-0.382,0.665,0,0.951 + l15.849,15.867c0.099,0.095,0.385,0.095,0.385-0.098v-9.501h12.982c0.286,0,0.479-0.188,0.479-0.381V17.823 + c0-0.38-0.188-0.475-0.574-0.475h-12.89L25.354,7.75z"/> + <path fill="#2154DC" d="M25.343,7.777c0-0.286-0.286-0.286-0.477-0.19L9.04,23.619c-0.476,0.475-0.381,0.664,0,0.949L24.867,40.41 + c0.096,0.095,0.383,0.095,0.383-0.094V30.83h12.965c0.287,0,0.479-0.189,0.479-0.38V17.832c0-0.379-0.188-0.474-0.569-0.474 + H25.249L25.343,7.777z"/> + <path fill="#2255DD" d="M25.333,7.805c0-0.285-0.285-0.285-0.478-0.19L9.056,23.62c-0.476,0.474-0.381,0.663,0,0.948 + l15.801,15.812c0.098,0.096,0.383,0.096,0.383-0.095v-9.472h12.945c0.285,0,0.477-0.188,0.477-0.381V17.842 + c0-0.378-0.188-0.473-0.569-0.473H25.238L25.333,7.805z"/> + <path fill="#2356DD" d="M25.325,7.832c0-0.284-0.285-0.284-0.478-0.189L9.069,23.621c-0.475,0.473-0.381,0.662,0,0.945 + l15.779,15.791c0.096,0.094,0.381,0.094,0.381-0.098v-9.451h12.929c0.284,0,0.477-0.189,0.477-0.379V17.853 + c0-0.378-0.188-0.472-0.569-0.472H25.229L25.325,7.832z"/> + <path fill="#2457DE" d="M25.314,7.857c0-0.284-0.285-0.284-0.477-0.189L9.084,23.622c-0.474,0.472-0.38,0.66,0,0.944L24.838,40.33 + c0.098,0.094,0.381,0.094,0.381-0.094v-9.439h12.908c0.285,0,0.475-0.189,0.475-0.378V17.863c0-0.378-0.188-0.471-0.567-0.471 + H25.221L25.314,7.857z"/> + <path fill="#2558DE" d="M25.305,7.883c0-0.283-0.283-0.283-0.474-0.188L9.099,23.622c-0.473,0.471-0.379,0.659,0,0.942 + L24.831,40.3c0.095,0.097,0.379,0.097,0.379-0.094v-9.424H38.1c0.284,0,0.475-0.188,0.475-0.38V17.873 + c0-0.377-0.188-0.47-0.568-0.47H25.21L25.305,7.883z"/> + <path fill="#2659DF" d="M25.294,7.911c0-0.283-0.282-0.283-0.474-0.188l-15.708,15.9c-0.473,0.47-0.378,0.658,0,0.941 + L24.82,40.275c0.097,0.094,0.38,0.094,0.38-0.094v-9.408h12.868c0.285,0,0.476-0.188,0.476-0.377V17.882 + c0-0.376-0.188-0.469-0.567-0.469H25.2L25.294,7.911z"/> + <path fill="#275ADF" d="M25.286,7.938c0-0.282-0.283-0.282-0.474-0.188L9.127,23.624c-0.472,0.469-0.378,0.657,0,0.938 + L24.812,40.25c0.097,0.094,0.379,0.094,0.379-0.093v-9.394h12.851c0.283,0,0.476-0.188,0.476-0.379V17.894 + c0-0.375-0.188-0.469-0.566-0.469h-12.76L25.286,7.938z"/> + <path fill="#285BE0" d="M25.275,7.963c0-0.282-0.282-0.282-0.473-0.188L9.143,23.624c-0.471,0.469-0.377,0.656,0,0.938 + l15.662,15.658c0.096,0.094,0.379,0.094,0.379-0.094V30.75h12.83c0.282,0,0.473-0.188,0.473-0.376V17.902 + c0-0.375-0.188-0.468-0.564-0.468h-12.74L25.275,7.963z"/> + <path fill="#295CE0" d="M25.268,7.991c0-0.281-0.283-0.281-0.474-0.188L9.158,23.624c-0.471,0.468-0.377,0.655,0,0.937 + l15.638,15.633c0.095,0.096,0.377,0.096,0.377-0.092V30.74h12.812c0.283,0,0.473-0.188,0.473-0.375V17.914 + c0-0.375-0.188-0.467-0.564-0.467H25.171L25.268,7.991z"/> + <path fill="#2A5DE1" d="M25.257,8.018c0-0.281-0.282-0.281-0.471-0.188L9.171,23.625c-0.47,0.467-0.377,0.654,0,0.936 + l15.615,15.605c0.094,0.093,0.377,0.093,0.377-0.093v-9.347h12.793c0.28,0,0.471-0.188,0.471-0.375V17.923 + c0-0.374-0.188-0.467-0.563-0.467h-12.7L25.257,8.018z"/> + <path fill="#2B5EE1" d="M25.247,8.043c0-0.28-0.28-0.28-0.472-0.187L9.187,23.625c-0.469,0.467-0.376,0.653,0,0.934l15.59,15.582 + c0.096,0.092,0.377,0.092,0.377-0.094v-9.33h12.773c0.28,0,0.471-0.188,0.471-0.373v-12.41c0-0.373-0.188-0.466-0.562-0.466 + H25.152L25.247,8.043z"/> + <path fill="#2C5FE2" d="M25.238,8.07c0-0.28-0.282-0.28-0.471-0.186L9.201,23.625c-0.468,0.466-0.375,0.652,0,0.932L24.77,40.114 + c0.096,0.093,0.375,0.093,0.375-0.095v-9.312h12.754c0.281,0,0.471-0.188,0.471-0.373V17.943c0-0.373-0.188-0.465-0.562-0.465 + H25.145L25.238,8.07z"/> + <path fill="#2D60E2" d="M25.229,8.097c0-0.28-0.279-0.28-0.469-0.187L9.214,23.626c-0.468,0.465-0.375,0.651,0,0.931L24.76,40.086 + c0.094,0.094,0.374,0.094,0.374-0.093v-9.3H37.87c0.278,0,0.469-0.188,0.469-0.371V17.954c0-0.372-0.188-0.464-0.562-0.464H25.134 + L25.229,8.097z"/> + <path fill="#2E61E3" d="M25.219,8.124c0-0.279-0.281-0.279-0.468-0.186L9.229,23.627c-0.467,0.464-0.375,0.649,0,0.928 + l15.522,15.506c0.095,0.094,0.373,0.094,0.373-0.094v-9.281h12.718c0.28,0,0.467-0.188,0.467-0.373v-12.35 + c0-0.371-0.187-0.463-0.562-0.463H25.124L25.219,8.124z"/> + <path fill="#2F62E3" d="M25.208,8.15c0-0.279-0.278-0.279-0.467-0.186L9.245,23.628c-0.466,0.463-0.374,0.648,0,0.927 + l15.499,15.479c0.094,0.093,0.373,0.093,0.373-0.095v-9.268h12.695c0.28,0,0.469-0.186,0.469-0.371V17.975 + c0-0.371-0.188-0.463-0.562-0.463H25.116L25.208,8.15z"/> + <path fill="#3063E4" d="M25.2,8.177c0-0.278-0.279-0.278-0.468-0.185L9.259,23.628c-0.465,0.462-0.373,0.647,0,0.925l15.476,15.45 + c0.094,0.093,0.373,0.093,0.373-0.092V30.66h12.678c0.279,0,0.467-0.188,0.467-0.371V17.984c0-0.37-0.188-0.462-0.561-0.462 + H25.105L25.2,8.177z"/> + <path fill="#3164E4" d="M25.189,8.204c0-0.277-0.278-0.277-0.465-0.185L9.273,23.629c-0.465,0.462-0.373,0.646,0,0.924 + l15.452,15.426c0.092,0.092,0.371,0.092,0.371-0.092v-9.238h12.658c0.279,0,0.467-0.187,0.467-0.371V17.995 + c0-0.37-0.188-0.461-0.561-0.461H25.098L25.189,8.204z"/> + <path fill="#3265E5" d="M25.182,8.229c0-0.277-0.279-0.277-0.466-0.185L9.289,23.629c-0.464,0.461-0.372,0.645,0,0.921 + l15.428,15.4c0.094,0.093,0.372,0.093,0.372-0.093v-9.217h12.64c0.276,0,0.465-0.188,0.465-0.369V18.004 + c0-0.369-0.188-0.46-0.559-0.46H25.087L25.182,8.229z"/> + <path fill="#3366E5" d="M25.171,8.256c0-0.276-0.278-0.276-0.465-0.184L9.304,23.63c-0.463,0.46-0.372,0.644,0,0.92l15.404,15.373 + c0.093,0.093,0.371,0.093,0.371-0.092v-9.205h12.619c0.276,0,0.465-0.185,0.465-0.369V18.015c0-0.368-0.188-0.459-0.56-0.459 + H25.079L25.171,8.256z"/> + <path fill="#3366E6" d="M25.161,8.284c0-0.276-0.276-0.276-0.463-0.184L9.317,23.631c-0.462,0.459-0.371,0.643,0,0.919 + l15.381,15.347c0.094,0.095,0.37,0.095,0.37-0.09v-9.188h12.601c0.279,0,0.466-0.187,0.466-0.368V18.024 + c0-0.367-0.187-0.458-0.558-0.458H25.068L25.161,8.284z"/> + <path fill="#3467E6" d="M25.15,8.311c0-0.276-0.276-0.276-0.463-0.184L9.332,23.631c-0.462,0.459-0.371,0.642,0,0.917 + L24.688,39.87c0.096,0.091,0.371,0.091,0.371-0.093v-9.174h12.582c0.276,0,0.463-0.187,0.463-0.369V18.035 + c0-0.367-0.187-0.458-0.558-0.458H25.059L25.15,8.311z"/> + <path fill="#3568E7" d="M25.143,8.336c0-0.275-0.277-0.275-0.463-0.183L9.347,23.632c-0.461,0.458-0.37,0.641,0,0.917 + L24.68,39.846c0.094,0.092,0.37,0.092,0.37-0.093v-9.157h12.562c0.277,0,0.463-0.186,0.463-0.367V18.044 + c0-0.366-0.186-0.457-0.555-0.457H25.05L25.143,8.336z"/> + <path fill="#3669E7" d="M25.133,8.364c0-0.275-0.277-0.275-0.462-0.183L9.361,23.632c-0.461,0.458-0.369,0.64,0,0.916 + l15.31,15.271c0.095,0.093,0.369,0.093,0.369-0.09v-9.146h12.543c0.276,0,0.463-0.185,0.463-0.367V18.055 + c0-0.365-0.187-0.456-0.555-0.456H25.04L25.133,8.364z"/> + <path fill="#376AE8" d="M25.122,8.39c0-0.274-0.274-0.274-0.461-0.183L9.375,23.633c-0.459,0.457-0.368,0.639,0,0.914 + L24.663,39.79c0.092,0.091,0.366,0.091,0.366-0.091V30.57h12.525c0.275,0,0.461-0.184,0.461-0.364V18.064 + c0-0.365-0.186-0.455-0.555-0.455H25.029L25.122,8.39z"/> + <path fill="#386BE8" d="M25.113,8.417c0-0.274-0.276-0.274-0.461-0.183L9.39,23.634c-0.459,0.456-0.368,0.638,0,0.912 + l15.262,15.218c0.095,0.09,0.369,0.09,0.369-0.091v-9.112h12.504c0.275,0,0.461-0.184,0.461-0.365v-12.12 + c0-0.364-0.186-0.455-0.553-0.455H25.021L25.113,8.417z"/> + <path fill="#396CE9" d="M25.104,8.442c0-0.273-0.273-0.273-0.459-0.182L9.405,23.636c-0.458,0.455-0.368,0.636,0,0.909 + l15.24,15.189c0.092,0.093,0.367,0.093,0.367-0.09v-9.097h12.485c0.274,0,0.459-0.183,0.459-0.364v-12.1 + c0-0.363-0.185-0.454-0.552-0.454H25.012L25.104,8.442z"/> + <path fill="#3A6DE9" d="M25.094,8.47c0-0.273-0.273-0.273-0.457-0.182L9.419,23.636c-0.458,0.455-0.367,0.636,0,0.908 + l15.216,15.165c0.092,0.091,0.367,0.091,0.367-0.09v-9.081h12.466c0.274,0,0.459-0.185,0.459-0.364V18.096 + c0-0.363-0.185-0.453-0.552-0.453H25.003L25.094,8.47z"/> + <path fill="#3B6EEA" d="M25.085,8.497c0-0.272-0.274-0.272-0.459-0.181L9.435,23.637c-0.457,0.453-0.366,0.634,0,0.906 + l15.193,15.141c0.093,0.09,0.365,0.09,0.365-0.092v-9.064h12.446c0.271,0,0.457-0.182,0.457-0.361v-12.06 + c0-0.362-0.186-0.452-0.549-0.452H24.993L25.085,8.497z"/> + <path fill="#3C6FEA" d="M25.075,8.522c0-0.272-0.272-0.272-0.457-0.181L9.449,23.637c-0.457,0.453-0.366,0.633,0,0.905 + l15.169,15.112c0.092,0.091,0.362,0.091,0.362-0.09v-9.051h12.431c0.272,0,0.457-0.183,0.457-0.363V18.116 + c0-0.362-0.185-0.452-0.55-0.452H24.982L25.075,8.522z"/> + <path fill="#3D70EB" d="M25.064,8.549c0-0.271-0.272-0.271-0.455-0.181L9.462,23.638c-0.455,0.452-0.365,0.632,0,0.903 + l15.147,15.087c0.093,0.093,0.363,0.093,0.363-0.089v-9.035h12.409c0.272,0,0.456-0.181,0.456-0.359v-12.02 + c0-0.361-0.184-0.451-0.549-0.451H24.975L25.064,8.549z"/> + <path fill="#3E71EB" d="M25.057,8.577c0-0.271-0.273-0.271-0.455-0.181L9.478,23.639c-0.455,0.451-0.364,0.631,0,0.901 + l15.124,15.062c0.09,0.09,0.362,0.09,0.362-0.09v-9.021h12.392c0.272,0,0.455-0.183,0.455-0.361V18.136 + c0-0.36-0.183-0.45-0.547-0.45h-12.3L25.057,8.577z"/> + <path fill="#3F72EC" d="M25.046,8.603c0-0.27-0.272-0.27-0.455-0.18L9.493,23.639c-0.454,0.45-0.364,0.63,0,0.9l15.099,15.035 + c0.092,0.09,0.364,0.09,0.364-0.09V30.48h12.369c0.272,0,0.454-0.183,0.454-0.359V18.146c0-0.36-0.182-0.449-0.547-0.449H24.956 + L25.046,8.603z"/> + <path fill="#4073EC" d="M25.038,8.629c0-0.27-0.272-0.27-0.455-0.18L9.506,23.64c-0.453,0.45-0.363,0.629,0,0.898l15.075,15.01 + c0.092,0.091,0.362,0.091,0.362-0.09v-8.985h12.353c0.272,0,0.455-0.183,0.455-0.361V18.157c0-0.359-0.183-0.448-0.545-0.448 + H24.945L25.038,8.629z"/> + <path fill="#4174ED" d="M25.027,8.656c0-0.269-0.272-0.269-0.454-0.179L9.521,23.641c-0.453,0.449-0.363,0.627,0,0.896 + L24.573,39.52c0.092,0.09,0.362,0.09,0.362-0.09v-8.972h12.332c0.271,0,0.453-0.181,0.453-0.36V18.166 + c0-0.358-0.182-0.447-0.544-0.447H24.938L25.027,8.656z"/> + <path fill="#4275ED" d="M25.018,8.683c0-0.269-0.271-0.269-0.453-0.179L9.537,23.641c-0.452,0.448-0.362,0.626,0,0.896 + l15.027,14.957c0.092,0.09,0.362,0.09,0.362-0.09v-8.955h12.312c0.271,0,0.453-0.18,0.453-0.359V18.177 + c0-0.358-0.182-0.447-0.543-0.447H24.927L25.018,8.683z"/> + <path fill="#4376EE" d="M25.008,8.709c0-0.269-0.271-0.269-0.451-0.179L9.551,23.642c-0.451,0.447-0.361,0.625,0,0.895 + l15.006,14.932c0.09,0.09,0.36,0.09,0.36-0.089v-8.94H37.21c0.271,0,0.453-0.18,0.453-0.356V18.187 + c0-0.357-0.183-0.446-0.543-0.446H24.917L25.008,8.709z"/> + <path fill="#4477EE" d="M24.997,8.735c0-0.268-0.271-0.268-0.45-0.179L9.564,23.642c-0.45,0.446-0.361,0.625,0,0.893 + l14.982,14.904c0.091,0.09,0.36,0.09,0.36-0.088v-8.928H37.18c0.271,0,0.451-0.179,0.451-0.355V18.197 + c0-0.356-0.181-0.445-0.542-0.445h-12.18L24.997,8.735z"/> + <path fill="#4578EF" d="M24.988,8.763c0-0.268-0.271-0.268-0.449-0.178L9.58,23.643c-0.449,0.445-0.36,0.623,0,0.891l14.958,14.88 + c0.09,0.089,0.358,0.089,0.358-0.089v-8.909h12.256c0.271,0,0.451-0.18,0.451-0.357V18.207c0-0.356-0.182-0.444-0.541-0.444 + H24.898L24.988,8.763z"/> + <path fill="#4679EF" d="M24.979,8.79c0-0.267-0.271-0.267-0.449-0.178L9.595,23.644c-0.449,0.445-0.36,0.622,0,0.891 + l14.934,14.851c0.091,0.091,0.359,0.091,0.359-0.088v-8.896h12.234c0.271,0,0.451-0.18,0.451-0.355V18.216 + c0-0.355-0.184-0.443-0.541-0.443H24.891L24.979,8.79z"/> + <path fill="#477AF0" d="M24.971,8.815c0-0.267-0.271-0.267-0.451-0.178L9.608,23.644c-0.448,0.444-0.359,0.621,0,0.889 + L24.52,39.357c0.09,0.09,0.36,0.09,0.36-0.088v-8.879h12.218c0.27,0,0.448-0.18,0.448-0.354V18.228 + c0-0.355-0.183-0.443-0.541-0.443H24.88L24.971,8.815z"/> + <path fill="#487BF0" d="M24.96,8.842c0-0.266-0.271-0.266-0.448-0.177L9.624,23.645c-0.448,0.443-0.359,0.62,0,0.888 + l14.888,14.801c0.09,0.088,0.358,0.088,0.358-0.088v-8.863h12.196c0.271,0,0.449-0.178,0.449-0.355v-11.79 + c0-0.354-0.182-0.442-0.539-0.442H24.87L24.96,8.842z"/> + <path fill="#497CF1" d="M24.95,8.87c0-0.266-0.269-0.266-0.447-0.177L9.638,23.645c-0.447,0.442-0.358,0.619,0,0.886 + l14.865,14.773c0.09,0.09,0.356,0.09,0.356-0.09v-8.846H37.04c0.271,0,0.446-0.18,0.446-0.354V18.248 + c0-0.353-0.18-0.441-0.536-0.441H24.859L24.95,8.87z"/> + <path fill="#4A7DF1" d="M24.939,8.896c0-0.265-0.268-0.265-0.446-0.177L9.652,23.646c-0.446,0.442-0.357,0.618,0,0.883 + l14.841,14.75c0.089,0.088,0.358,0.088,0.358-0.088v-8.832H37.01c0.27,0,0.448-0.178,0.448-0.354V18.257 + c0-0.353-0.183-0.44-0.537-0.44H24.852L24.939,8.896z"/> + <path fill="#4B7EF2" d="M24.932,8.922c0-0.265-0.269-0.265-0.447-0.177L9.667,23.646c-0.445,0.441-0.357,0.617,0,0.881 + l14.818,14.724c0.089,0.088,0.357,0.088,0.357-0.088V30.35h12.141c0.268,0,0.447-0.18,0.447-0.354V18.268 + c0-0.353-0.181-0.44-0.537-0.44H24.842L24.932,8.922z"/> + <path fill="#4C7FF2" d="M24.921,8.949c0-0.264-0.269-0.264-0.445-0.176L9.682,23.646c-0.444,0.44-0.356,0.616,0,0.879 + l14.794,14.697c0.088,0.088,0.355,0.088,0.355-0.089v-8.801h12.121c0.269,0,0.444-0.177,0.444-0.354V18.277 + c0-0.352-0.18-0.438-0.535-0.438h-12.03L24.921,8.949z"/> + <path fill="#4D80F3" d="M24.913,8.976c0-0.264-0.269-0.264-0.444-0.176L9.697,23.647c-0.444,0.439-0.356,0.615,0,0.878 + l14.771,14.672c0.091,0.088,0.355,0.088,0.355-0.088v-8.784h12.102c0.269,0,0.445-0.179,0.445-0.354V18.288 + c0-0.351-0.181-0.438-0.535-0.438H24.823L24.913,8.976z"/> + <path fill="#4E81F3" d="M24.902,9.002c0-0.264-0.268-0.264-0.444-0.176L9.71,23.647c-0.443,0.439-0.355,0.614,0,0.876 + L24.458,39.17c0.089,0.088,0.354,0.088,0.354-0.087v-8.771h12.082c0.268,0,0.444-0.176,0.444-0.354V18.297 + c0-0.35-0.178-0.437-0.532-0.437H24.812L24.902,9.002z"/> + <path fill="#4F82F4" d="M24.895,9.028c0-0.263-0.269-0.263-0.444-0.175L9.726,23.648c-0.442,0.438-0.354,0.612,0,0.875 + L24.45,39.145c0.089,0.088,0.354,0.088,0.354-0.086v-8.754h12.062c0.267,0,0.442-0.178,0.442-0.354V18.308 + c0-0.349-0.18-0.436-0.533-0.436H24.805L24.895,9.028z"/> + <path fill="#5083F4" d="M24.884,9.056c0-0.262-0.268-0.262-0.443-0.175L9.74,23.649c-0.441,0.437-0.354,0.611,0,0.875l14.7,14.595 + c0.089,0.087,0.354,0.087,0.354-0.087v-8.737h12.045c0.267,0,0.44-0.176,0.44-0.353V18.317c0-0.349-0.178-0.436-0.53-0.436H24.794 + L24.884,9.056z"/> + <path fill="#5184F5" d="M24.874,9.082c0-0.262-0.269-0.262-0.442-0.175L9.754,23.649c-0.441,0.437-0.354,0.61,0,0.873 + l14.677,14.566c0.088,0.088,0.354,0.088,0.354-0.086v-8.723h12.025c0.266,0,0.44-0.176,0.44-0.35V18.329 + c0-0.348-0.176-0.435-0.53-0.435H24.786L24.874,9.082z"/> + <path fill="#5285F5" d="M24.863,9.108c0-0.262-0.264-0.262-0.44-0.174L9.769,23.65c-0.44,0.436-0.353,0.609,0,0.872l14.654,14.541 + c0.089,0.086,0.353,0.086,0.353-0.086V30.27h12.008c0.264,0,0.439-0.176,0.439-0.351V18.338c0-0.348-0.177-0.434-0.529-0.434 + H24.775L24.863,9.108z"/> + <path fill="#5386F6" d="M24.854,9.136c0-0.261-0.266-0.261-0.44-0.174l-14.63,14.69c-0.439,0.435-0.353,0.608,0,0.87l14.63,14.517 + c0.089,0.087,0.353,0.087,0.353-0.086V30.26H36.75c0.266,0,0.439-0.175,0.439-0.349V18.349c0-0.347-0.176-0.433-0.527-0.433 + H24.768L24.854,9.136z"/> + <path fill="#5487F6" d="M24.846,9.163c0-0.261-0.265-0.261-0.441-0.174L9.798,23.651c-0.439,0.434-0.352,0.607,0,0.867 + l14.606,14.49c0.088,0.086,0.352,0.086,0.352-0.086v-8.676h11.967c0.264,0,0.439-0.176,0.439-0.35V18.358 + c0-0.346-0.178-0.432-0.527-0.432H24.757L24.846,9.163z"/> + <path fill="#5588F7" d="M24.835,9.188c0-0.26-0.265-0.26-0.439-0.173L9.812,23.652c-0.438,0.433-0.352,0.606,0,0.866L24.395,38.98 + c0.088,0.088,0.352,0.088,0.352-0.086v-8.66h11.946c0.265,0,0.439-0.174,0.439-0.348V18.369c0-0.346-0.178-0.432-0.527-0.432 + H24.747L24.835,9.188z"/> + <path fill="#5689F7" d="M24.827,9.215c0-0.26-0.265-0.26-0.438-0.173L9.828,23.653c-0.437,0.432-0.351,0.604,0,0.865l14.56,14.438 + c0.088,0.086,0.352,0.086,0.352-0.086v-8.646h11.928c0.266,0,0.438-0.176,0.438-0.349v-11.5c0-0.345-0.176-0.431-0.525-0.431 + H24.74L24.827,9.215z"/> + <path fill="#578AF8" d="M24.816,9.242c0-0.259-0.264-0.259-0.438-0.172L9.842,23.653c-0.437,0.432-0.35,0.604,0,0.863 + l14.537,14.41c0.088,0.086,0.35,0.086,0.35-0.086v-8.629h11.91c0.262,0,0.438-0.173,0.438-0.346V18.389 + c0-0.344-0.176-0.43-0.524-0.43H24.729L24.816,9.242z"/> + <path fill="#588BF8" d="M24.807,9.269c0-0.259-0.262-0.259-0.437-0.172L9.856,23.655c-0.436,0.431-0.35,0.603,0,0.863 + L24.37,38.898c0.088,0.086,0.349,0.086,0.349-0.084v-8.612h11.891c0.264,0,0.438-0.175,0.438-0.347V18.398 + c0-0.344-0.176-0.429-0.524-0.429H24.719L24.807,9.269z"/> + <path fill="#598CF9" d="M24.796,9.294c0-0.258-0.261-0.258-0.438-0.172L9.872,23.655c-0.435,0.43-0.349,0.602,0,0.861 + L24.36,38.872c0.088,0.086,0.35,0.086,0.35-0.085v-8.602h11.871c0.263,0,0.438-0.172,0.438-0.344V18.41 + c0-0.343-0.177-0.429-0.522-0.429H24.71L24.796,9.294z"/> + <path fill="#5A8DF9" d="M24.788,9.322c0-0.258-0.263-0.258-0.437-0.172L9.886,23.656c-0.435,0.429-0.349,0.6,0,0.857 + l14.466,14.334c0.088,0.086,0.349,0.086,0.349-0.088v-8.58h11.854c0.262,0,0.438-0.174,0.438-0.346V18.418 + c0-0.342-0.177-0.427-0.522-0.427H24.7L24.788,9.322z"/> + <path fill="#5B8EFA" d="M24.777,9.349c0-0.257-0.262-0.257-0.436-0.171L9.9,23.657c-0.434,0.428-0.348,0.6,0,0.856L24.342,38.82 + c0.087,0.086,0.348,0.086,0.348-0.084v-8.567h11.834c0.261,0,0.437-0.172,0.437-0.344V18.43c0-0.342-0.176-0.427-0.522-0.427 + H24.689L24.777,9.349z"/> + <path fill="#5C8FFA" d="M24.77,9.375c0-0.257-0.262-0.257-0.436-0.171L9.915,23.657c-0.433,0.428-0.348,0.599,0,0.854 + l14.419,14.281c0.087,0.086,0.348,0.086,0.348-0.085v-8.551h11.812c0.262,0,0.438-0.174,0.438-0.346V18.439 + c0-0.341-0.176-0.426-0.521-0.426H24.682L24.77,9.375z"/> + <path fill="#5D90FB" d="M24.759,9.401c0-0.256-0.26-0.256-0.434-0.17L9.93,23.658c-0.432,0.427-0.347,0.597,0,0.855l14.396,14.254 + c0.087,0.086,0.347,0.086,0.347-0.084v-8.537h11.794c0.26,0,0.436-0.172,0.436-0.342V18.45c0-0.341-0.176-0.425-0.521-0.425 + h-11.71L24.759,9.401z"/> + <path fill="#5E91FB" d="M24.749,9.429c0-0.256-0.26-0.256-0.435-0.17l-14.371,14.4c-0.432,0.426-0.346,0.596,0,0.852L24.315,38.74 + c0.087,0.085,0.346,0.085,0.346-0.086v-8.521h11.774c0.26,0,0.435-0.172,0.435-0.342V18.459c0-0.34-0.175-0.424-0.521-0.424 + H24.663L24.749,9.429z"/> + <path fill="#5F92FC" d="M24.741,9.455c0-0.255-0.261-0.255-0.434-0.17L9.958,23.659c-0.431,0.425-0.346,0.595,0,0.851 + l14.349,14.202c0.087,0.085,0.345,0.085,0.345-0.084v-8.505h11.757c0.258,0,0.434-0.171,0.434-0.341V18.47 + c0-0.339-0.176-0.423-0.521-0.423h-11.67L24.741,9.455z"/> + <path fill="#6093FC" d="M24.73,9.481c0-0.255-0.259-0.255-0.433-0.17L9.974,23.66c-0.43,0.425-0.345,0.594,0,0.849l14.325,14.179 + c0.087,0.084,0.346,0.084,0.346-0.084v-8.489H36.38c0.259,0,0.433-0.171,0.433-0.341V18.479c0-0.339-0.174-0.423-0.521-0.423 + H24.645L24.73,9.481z"/> + <path fill="#6194FD" d="M24.721,9.507c0-0.254-0.259-0.254-0.431-0.169L9.988,23.661c-0.43,0.424-0.345,0.593,0,0.847 + l14.302,14.15c0.086,0.085,0.344,0.085,0.344-0.084V30.1h11.718c0.258,0,0.432-0.17,0.432-0.342v-11.27 + c0-0.338-0.174-0.422-0.518-0.422H24.634L24.721,9.507z"/> + <path fill="#6295FD" d="M24.71,9.535c0-0.254-0.257-0.254-0.429-0.169L10.002,23.661c-0.429,0.423-0.344,0.592,0,0.846 + L24.28,38.631c0.086,0.085,0.343,0.085,0.343-0.083V30.09H36.32c0.258,0,0.432-0.17,0.432-0.34V18.5 + c0-0.337-0.174-0.421-0.52-0.421H24.623L24.71,9.535z"/> + <path fill="#6396FE" d="M24.702,9.561c0-0.253-0.259-0.253-0.43-0.169l-14.256,14.27c-0.428,0.422-0.343,0.591,0,0.844 + l14.255,14.1c0.086,0.084,0.342,0.084,0.342-0.084V30.08h11.681c0.258,0,0.431-0.17,0.431-0.338v-11.23 + c0-0.337-0.173-0.42-0.517-0.42H24.616L24.702,9.561z"/> + <path fill="#6497FE" d="M24.691,9.587c0-0.253-0.257-0.253-0.429-0.168l-14.23,14.243c-0.427,0.422-0.343,0.59,0,0.843 + l14.231,14.072c0.086,0.084,0.342,0.084,0.342-0.083v-8.428h11.66c0.258,0,0.43-0.17,0.43-0.338V18.521 + c0-0.336-0.172-0.42-0.516-0.42H24.605L24.691,9.587z"/> + <path fill="#6598FF" d="M24.684,9.615c0-0.252-0.258-0.252-0.43-0.168L10.045,23.663c-0.426,0.42-0.342,0.588,0,0.841 + l14.208,14.047c0.086,0.084,0.343,0.084,0.343-0.084v-8.41h11.641c0.257,0,0.429-0.168,0.429-0.336V18.531 + c0-0.335-0.172-0.418-0.515-0.418H24.598L24.684,9.615z"/> + <path fill="#6699FF" d="M24.673,9.642c0-0.252-0.257-0.252-0.428-0.168L10.06,23.664c-0.426,0.42-0.342,0.587,0,0.839 + l14.185,14.021c0.086,0.084,0.342,0.084,0.342-0.084v-8.396h11.621c0.256,0,0.429-0.169,0.429-0.337V18.541 + c0-0.335-0.173-0.418-0.515-0.418H24.587L24.673,9.642z"/> + </g> + + <linearGradient id="XMLID_16_" gradientUnits="userSpaceOnUse" x1="-1112.2041" y1="1225.4229" x2="-1112.2041" y2="1254.5781" gradientTransform="matrix(-1 0 0 1 -1089 -1216)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#6699FF"/> + </linearGradient> + <path fill="url(#XMLID_16_)" d="M24.673,9.642c0-0.252-0.257-0.252-0.428-0.168L10.06,23.664c-0.426,0.42-0.342,0.587,0,0.839 + l14.185,14.021c0.086,0.084,0.342,0.084,0.342-0.084v-8.396h11.621c0.256,0,0.429-0.169,0.429-0.337V18.541 + c0-0.335-0.173-0.418-0.515-0.418H24.587L24.673,9.642z"/> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M-0.06,0.001h48v48h-48V0.001z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/tip.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/tip.svg new file mode 100644 index 0000000000..7ec92e31a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/tip.svg @@ -0,0 +1,367 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Tip" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path stroke="#FFFFFF" stroke-width="5.6139" d="M9.525,18.6c0,8,6.5,14.4,14.4,14.4c8.001,0,14.399-6.5,14.399-14.4 + c0-8-6.5-14.4-14.399-14.4C15.925,4.2,9.525,10.7,9.525,18.6z M12.825,18.6c0-6.2,5-11.2,11.2-11.2c6.2,0,11.2,5,11.2,11.2 + c0,6.2-5,11.2-11.2,11.2C17.825,29.8,12.825,24.8,12.825,18.6z"/> + <path stroke="#FFFFFF" stroke-width="5.6139" d="M28.125,37.9l-7.6,0.8c-0.9,0.1-1.5,0.899-1.4,1.8s0.9,1.5,1.8,1.4l7.601-0.801 + c0.9-0.102,1.5-0.899,1.4-1.802C29.824,38.4,29.025,37.8,28.125,37.9z"/> + <path stroke="#FFFFFF" stroke-width="5.6139" d="M28.125,34.8l-7.6,0.8c-0.9,0.101-1.5,0.9-1.4,1.801c0.1,0.897,0.9,1.5,1.8,1.397 + l7.601-0.8c0.9-0.102,1.5-0.898,1.4-1.8C29.824,35.3,29.025,34.7,28.125,34.8z"/> + <path stroke="#FFFFFF" stroke-width="5.6139" d="M28.125,31.6l-7.6,0.801c-0.9,0.1-1.5,0.897-1.4,1.8c0.1,0.899,0.9,1.5,1.8,1.399 + l7.601-0.802c0.9-0.1,1.5-0.897,1.4-1.8C29.824,32.1,29.025,31.5,28.125,31.6z"/> + <path stroke="#FFFFFF" stroke-width="5.6139" d="M23.125,41.3v0.9c0,0.899,0.7,1.6,1.6,1.6c0.9,0,1.6-0.7,1.6-1.6v-0.9h-3.299 + H23.125z"/> + <path fill="#FFFFFF" d="M35.926,18.7c0,6.6-5.4,12-12.001,12c-6.6,0-12-5.4-12-12c0-6.6,5.4-12,12-12 + C30.525,6.7,35.926,12.1,35.926,18.7z"/> + <g> + <path fill="#FFFF00" d="M9.625,18.6c0,8,6.5,14.4,14.4,14.4c8,0,14.401-6.5,14.401-14.4c0-8-6.5-14.4-14.401-14.4 + C16.025,4.2,9.625,10.7,9.625,18.6z"/> + <path fill="#FFFF01" d="M9.647,18.6c0-7.889,6.391-14.379,14.379-14.379c7.89,0,14.378,6.391,14.378,14.379 + c0,7.889-6.391,14.378-14.378,14.378C16.137,32.979,9.647,26.588,9.647,18.6z"/> + <path fill="#FFFF02" d="M9.668,18.6c0-7.878,6.382-14.358,14.358-14.358c7.878,0,14.359,6.382,14.359,14.358 + c0,7.876-6.383,14.358-14.359,14.358C16.149,32.958,9.668,26.576,9.668,18.6z"/> + <path fill="#FFFF03" d="M9.69,18.6c0-7.867,6.373-14.337,14.337-14.337c7.868,0,14.338,6.373,14.338,14.337 + c0,7.867-6.373,14.337-14.338,14.337C16.16,32.938,9.69,26.564,9.69,18.6z"/> + <path fill="#FFFF04" d="M9.712,18.6c0-7.855,6.363-14.316,14.316-14.316c7.855,0,14.316,6.363,14.316,14.316 + c0,7.856-6.363,14.316-14.316,14.316C16.172,32.916,9.712,26.553,9.712,18.6z"/> + <path fill="#FFFF05" d="M9.733,18.6c0-7.844,6.354-14.295,14.295-14.295c7.847,0,14.296,6.354,14.296,14.295 + c0,7.843-6.354,14.294-14.296,14.294C16.184,32.896,9.733,26.541,9.733,18.6z"/> + <path fill="#FFFF06" d="M9.754,18.6c0-7.833,6.345-14.274,14.274-14.274c7.833,0,14.275,6.345,14.275,14.274 + c0,7.833-6.346,14.274-14.275,14.274C16.196,32.874,9.754,26.529,9.754,18.6z"/> + <path fill="#FFFF07" d="M9.776,18.6c0-7.822,6.336-14.253,14.254-14.253c7.822,0,14.253,6.335,14.253,14.253 + c0,7.823-6.336,14.253-14.253,14.253C16.208,32.854,9.776,26.518,9.776,18.6z"/> + <path fill="#FFFF08" d="M9.798,18.6c0-7.811,6.326-14.232,14.232-14.232c7.812,0,14.234,6.326,14.234,14.232 + c0,7.811-6.328,14.233-14.234,14.233C16.219,32.833,9.798,26.506,9.798,18.6z"/> + <path fill="#FFFF09" d="M9.819,18.6c0-7.8,6.317-14.211,14.211-14.211c7.8,0,14.212,6.317,14.212,14.211 + c0,7.8-6.318,14.21-14.212,14.21C16.231,32.812,9.819,26.494,9.819,18.6z"/> + <path fill="#FFFF0A" d="M9.84,18.6c0-7.789,6.309-14.191,14.191-14.191c7.79,0,14.192,6.309,14.192,14.191 + c0,7.789-6.309,14.191-14.192,14.191C16.243,32.791,9.84,26.482,9.84,18.6z"/> + <path fill="#FFFF0B" d="M9.862,18.6c0-7.778,6.299-14.17,14.17-14.17c7.779,0,14.169,6.299,14.169,14.17 + c0,7.778-6.299,14.169-14.169,14.169C16.254,32.77,9.862,26.471,9.862,18.6z"/> + <path fill="#FFFF0C" d="M9.884,18.6c0-7.767,6.29-14.149,14.149-14.149c7.768,0,14.149,6.29,14.149,14.149 + c0,7.767-6.291,14.149-14.149,14.149C16.266,32.749,9.884,26.459,9.884,18.6z"/> + <path fill="#FFFF0D" d="M9.905,18.6c0-7.756,6.281-14.128,14.128-14.128c7.756,0,14.129,6.281,14.129,14.128 + c0,7.755-6.281,14.128-14.129,14.128C16.278,32.729,9.905,26.447,9.905,18.6z"/> + <path fill="#FFFF0E" d="M9.927,18.6c0-7.745,6.272-14.107,14.107-14.107c7.746,0,14.107,6.272,14.107,14.107 + c0,7.746-6.27,14.107-14.107,14.107C16.29,32.707,9.927,26.436,9.927,18.6z"/> + <path fill="#FFFF0F" d="M9.949,18.6c0-7.733,6.263-14.086,14.086-14.086c7.733,0,14.088,6.262,14.088,14.086 + c0,7.733-6.266,14.085-14.088,14.085C16.302,32.688,9.949,26.423,9.949,18.6z"/> + <path fill="#FFFF10" d="M9.97,18.6c0-7.722,6.253-14.065,14.065-14.065c7.723,0,14.067,6.253,14.067,14.065 + c0,7.722-6.254,14.066-14.067,14.066C16.313,32.666,9.97,26.411,9.97,18.6z"/> + <path fill="#FFFF11" d="M9.992,18.6c0-7.711,6.244-14.044,14.044-14.044c7.712,0,14.044,6.245,14.044,14.044 + c0,7.71-6.244,14.044-14.044,14.044C16.325,32.645,9.992,26.398,9.992,18.6z"/> + <path fill="#FFFF12" d="M10.013,18.6c0-7.7,6.235-14.023,14.023-14.023c7.7,0,14.024,6.235,14.024,14.023 + c0,7.7-6.236,14.023-14.024,14.023C16.337,32.623,10.013,26.389,10.013,18.6z"/> + <path fill="#FFFF13" d="M10.035,18.6c0-7.688,6.226-14.002,14.002-14.002c7.689,0,14.004,6.226,14.004,14.002 + c0,7.689-6.229,14.001-14.004,14.001C16.348,32.604,10.035,26.376,10.035,18.6z"/> + <path fill="#FFFF14" d="M10.057,18.6c0-7.678,6.217-13.981,13.981-13.981c7.679,0,13.981,6.217,13.981,13.981 + c0,7.677-6.217,13.981-13.981,13.981C16.36,32.581,10.057,26.364,10.057,18.6z"/> + <path fill="#FFFF15" d="M10.078,18.6c0-7.667,6.208-13.961,13.961-13.961C31.707,4.639,38,10.847,38,18.6 + c0,7.667-6.209,13.96-13.961,13.96C16.372,32.561,10.078,26.354,10.078,18.6z"/> + <path fill="#FFFF16" d="M10.1,18.6c0-7.655,6.198-13.94,13.939-13.94c7.656,0,13.941,6.199,13.941,13.94 + c0,7.656-6.201,13.94-13.941,13.94C16.384,32.54,10.1,26.341,10.1,18.6z"/> + <path fill="#FFFF17" d="M10.121,18.6c0-7.644,6.189-13.919,13.919-13.919c7.646,0,13.919,6.189,13.919,13.919 + c0,7.644-6.189,13.917-13.919,13.917C16.396,32.52,10.121,26.329,10.121,18.6z"/> + <path fill="#FFFF18" d="M10.143,18.6c0-7.633,6.181-13.898,13.898-13.898c7.633,0,13.898,6.18,13.898,13.898 + c0,7.632-6.182,13.898-13.898,13.898C16.408,32.498,10.143,26.316,10.143,18.6z"/> + <path fill="#FFFF19" d="M10.164,18.6c0-7.622,6.171-13.877,13.877-13.877c7.623,0,13.877,6.171,13.877,13.877 + c0,7.623-6.172,13.876-13.877,13.876C16.419,32.479,10.164,26.307,10.164,18.6z"/> + <path fill="#FFFF1A" d="M10.186,18.6c0-7.611,6.162-13.856,13.856-13.856c7.61,0,13.856,6.162,13.856,13.856 + c0,7.611-6.162,13.856-13.856,13.856C16.431,32.456,10.186,26.294,10.186,18.6z"/> + <path fill="#FFFF1B" d="M10.208,18.6c0-7.6,6.153-13.835,13.835-13.835c7.602,0,13.836,6.153,13.836,13.835 + c0,7.6-6.152,13.835-13.836,13.835C16.443,32.436,10.208,26.282,10.208,18.6z"/> + <path fill="#FFFF1C" d="M10.229,18.6c0-7.589,6.144-13.814,13.814-13.814c7.59,0,13.814,6.144,13.814,13.814 + c0,7.587-6.145,13.814-13.814,13.814C16.454,32.414,10.229,26.271,10.229,18.6z"/> + <path fill="#FFFF1D" d="M10.251,18.6c0-7.578,6.135-13.793,13.793-13.793c7.579,0,13.794,6.135,13.794,13.793 + c0,7.578-6.137,13.792-13.794,13.792C16.466,32.395,10.251,26.259,10.251,18.6z"/> + <path fill="#FFFF1E" d="M10.272,18.6c0-7.566,6.125-13.772,13.772-13.772c7.567,0,13.772,6.125,13.772,13.772 + c0,7.567-6.125,13.773-13.772,13.773C16.478,32.373,10.272,26.247,10.272,18.6z"/> + <path fill="#FFFF1F" d="M10.294,18.6c0-7.556,6.116-13.752,13.751-13.752c7.557,0,13.752,6.117,13.752,13.752 + c0,7.554-6.117,13.751-13.752,13.751C16.49,32.352,10.294,26.234,10.294,18.6z"/> + <path fill="#FFFF20" d="M10.315,18.6c0-7.544,6.107-13.731,13.731-13.731c7.544,0,13.731,6.107,13.731,13.731 + c0,7.544-6.107,13.731-13.731,13.731C16.502,32.331,10.315,26.225,10.315,18.6z"/> + <path fill="#FFFF21" d="M10.337,18.6c0-7.533,6.098-13.71,13.709-13.71c7.534,0,13.71,6.098,13.71,13.71 + c0,7.534-6.1,13.708-13.71,13.708C16.513,32.311,10.337,26.212,10.337,18.6z"/> + <path fill="#FFFF22" d="M10.358,18.6c0-7.522,6.088-13.688,13.689-13.688c7.521,0,13.689,6.088,13.689,13.688 + c0,7.522-6.09,13.689-13.689,13.689C16.525,32.289,10.358,26.199,10.358,18.6z"/> + <path fill="#FFFF23" d="M10.38,18.6c0-7.511,6.08-13.668,13.668-13.668c7.511,0,13.669,6.08,13.669,13.668 + c0,7.511-6.08,13.667-13.669,13.667C16.537,32.268,10.38,26.188,10.38,18.6z"/> + <path fill="#FFFF24" d="M10.401,18.6c0-7.5,6.071-13.647,13.647-13.647c7.501,0,13.647,6.07,13.647,13.647 + c0,7.5-6.07,13.647-13.647,13.647C16.549,32.247,10.401,26.176,10.401,18.6z"/> + <path fill="#FFFF25" d="M10.423,18.6c0-7.489,6.062-13.626,13.626-13.626c7.49,0,13.627,6.061,13.627,13.626 + c0,7.489-6.062,13.625-13.627,13.625C16.56,32.227,10.423,26.164,10.423,18.6z"/> + <path fill="#FFFF26" d="M10.445,18.6c0-7.478,6.052-13.605,13.605-13.605c7.478,0,13.606,6.052,13.606,13.605 + c0,7.478-6.053,13.605-13.606,13.605C16.572,32.205,10.445,26.152,10.445,18.6z"/> + <path fill="#FFFF27" d="M10.466,18.6c0-7.467,6.043-13.584,13.584-13.584c7.468,0,13.585,6.043,13.585,13.584 + c0,7.466-6.043,13.583-13.585,13.583C16.584,32.186,10.466,26.141,10.466,18.6z"/> + <path fill="#FFFF28" d="M10.488,18.6c0-7.456,6.034-13.563,13.563-13.563c7.457,0,13.562,6.034,13.562,13.563 + c0,7.457-6.033,13.563-13.562,13.563C16.596,32.163,10.488,26.129,10.488,18.6z"/> + <path fill="#FFFF29" d="M10.509,18.6c0-7.445,6.025-13.542,13.542-13.542c7.445,0,13.543,6.024,13.543,13.542 + c0,7.444-6.025,13.542-13.543,13.542C16.608,32.143,10.509,26.117,10.509,18.6z"/> + <path fill="#FFFF2A" d="M10.531,18.6c0-7.434,6.016-13.522,13.521-13.522c7.435,0,13.521,6.016,13.521,13.522 + c0,7.433-6.016,13.521-13.521,13.521C16.619,32.121,10.531,26.105,10.531,18.6z"/> + <path fill="#FFFF2B" d="M10.552,18.6c0-7.422,6.006-13.501,13.501-13.501c7.422,0,13.502,6.007,13.502,13.501 + c0,7.421-6.008,13.5-13.502,13.5C16.631,32.102,10.552,26.094,10.552,18.6z"/> + <path fill="#FFFF2C" d="M10.574,18.6c0-7.411,5.997-13.479,13.479-13.479c7.412,0,13.48,5.997,13.48,13.479 + c0,7.411-5.998,13.48-13.48,13.48C16.643,32.08,10.574,26.082,10.574,18.6z"/> + <path fill="#FFFF2D" d="M10.596,18.6c0-7.4,5.988-13.458,13.458-13.458c7.401,0,13.46,5.988,13.46,13.458 + c0,7.4-5.988,13.458-13.46,13.458C16.654,32.059,10.596,26.07,10.596,18.6z"/> + <path fill="#FFFF2E" d="M10.617,18.6c0-7.389,5.979-13.438,13.438-13.438c7.389,0,13.438,5.979,13.438,13.438 + c0,7.389-5.979,13.438-13.438,13.438C16.666,32.038,10.617,26.059,10.617,18.6z"/> + <path fill="#FFFF2F" d="M10.639,18.6c0-7.377,5.97-13.417,13.417-13.417c7.377,0,13.417,5.97,13.417,13.417 + c0,7.376-5.971,13.417-13.417,13.417C16.678,32.018,10.639,26.047,10.639,18.6z"/> + <path fill="#FFFF30" d="M10.66,18.6c0-7.366,5.96-13.396,13.396-13.396c7.368,0,13.395,5.961,13.395,13.396 + c0,7.367-5.961,13.396-13.395,13.396C16.69,31.996,10.66,26.035,10.66,18.6z"/> + <path fill="#FFFF31" d="M10.682,18.6c0-7.355,5.951-13.375,13.375-13.375c7.355,0,13.375,5.952,13.375,13.375 + c0,7.355-5.951,13.375-13.375,13.375C16.701,31.977,10.682,26.023,10.682,18.6z"/> + <path fill="#FFFF32" d="M10.703,18.6c0-7.344,5.943-13.354,13.354-13.354c7.343,0,13.355,5.943,13.355,13.354 + c0,7.343-5.943,13.354-13.355,13.354C16.713,31.954,10.703,26.012,10.703,18.6z"/> + <path fill="#FFFF33" d="M10.725,18.6c0-7.333,5.933-13.333,13.333-13.333c7.334,0,13.334,5.934,13.334,13.333 + c0,7.333-5.934,13.333-13.334,13.333C16.725,31.934,10.725,26,10.725,18.6z"/> + <path fill="#FFFF34" d="M10.747,18.6c0-7.322,5.924-13.312,13.312-13.312c7.322,0,13.312,5.924,13.312,13.312 + c0,7.322-5.926,13.312-13.312,13.312C16.737,31.912,10.747,25.988,10.747,18.6z"/> + <path fill="#FFFF35" d="M10.768,18.6c0-7.311,5.915-13.292,13.292-13.292c7.311,0,13.292,5.915,13.292,13.292 + c0,7.311-5.914,13.292-13.292,13.292C16.749,31.893,10.768,25.977,10.768,18.6z"/> + <path fill="#FFFF36" d="M10.79,18.6c0-7.3,5.906-13.271,13.271-13.271c7.3,0,13.271,5.906,13.271,13.271 + c0,7.298-5.904,13.27-13.271,13.27C16.76,31.87,10.79,25.964,10.79,18.6z"/> + <path fill="#FFFF37" d="M10.811,18.6c0-7.289,5.897-13.25,13.25-13.25c7.289,0,13.25,5.896,13.25,13.25 + c0,7.289-5.896,13.25-13.25,13.25C16.772,31.85,10.811,25.952,10.811,18.6z"/> + <path fill="#FFFF38" d="M10.833,18.6c0-7.278,5.888-13.229,13.229-13.229c7.278,0,13.229,5.887,13.229,13.229 + c0,7.278-5.889,13.228-13.229,13.228C16.784,31.828,10.833,25.939,10.833,18.6z"/> + <path fill="#FFFF39" d="M10.854,18.6c0-7.267,5.878-13.208,13.208-13.208c7.268,0,13.208,5.878,13.208,13.208 + c0,7.266-5.877,13.208-13.208,13.208C16.796,31.809,10.854,25.93,10.854,18.6z"/> + <path fill="#FFFF3A" d="M10.876,18.6c0-7.255,5.869-13.187,13.187-13.187c7.255,0,13.187,5.869,13.187,13.187 + c0,7.255-5.869,13.187-13.187,13.187C16.807,31.787,10.876,25.917,10.876,18.6z"/> + <path fill="#FFFF3B" d="M10.898,18.6c0-7.245,5.86-13.166,13.166-13.166c7.245,0,13.167,5.86,13.167,13.166 + c0,7.244-5.859,13.166-13.167,13.166C16.819,31.766,10.898,25.904,10.898,18.6z"/> + <path fill="#FFFF3C" d="M10.92,18.6c0-7.233,5.851-13.145,13.145-13.145c7.234,0,13.146,5.851,13.146,13.145 + c0,7.233-5.854,13.145-13.146,13.145C16.831,31.745,10.92,25.895,10.92,18.6z"/> + <path fill="#FFFF3D" d="M10.941,18.6c0-7.222,5.842-13.125,13.124-13.125c7.222,0,13.125,5.842,13.125,13.125 + c0,7.222-5.842,13.125-13.125,13.125C16.843,31.725,10.941,25.882,10.941,18.6z"/> + <path fill="#FFFF3E" d="M10.963,18.6c0-7.211,5.833-13.104,13.103-13.104c7.211,0,13.104,5.833,13.104,13.104 + c0,7.21-5.832,13.103-13.104,13.103C16.855,31.703,10.963,25.87,10.963,18.6z"/> + <path fill="#FFFF3F" d="M10.984,18.6c0-7.2,5.823-13.082,13.083-13.082c7.201,0,13.083,5.823,13.083,13.082 + c0,7.2-5.824,13.083-13.083,13.083C16.866,31.684,10.984,25.857,10.984,18.6z"/> + <path fill="#FFFF40" d="M11.005,18.6c0-7.189,5.815-13.062,13.062-13.062c7.189,0,13.062,5.814,13.062,13.062 + c0,7.189-5.812,13.061-13.062,13.061C16.878,31.661,11.005,25.848,11.005,18.6z"/> + <path fill="#FFFF41" d="M11.027,18.6c0-7.178,5.805-13.041,13.041-13.041c7.178,0,13.042,5.805,13.042,13.041 + c0,7.177-5.805,13.041-13.042,13.041C16.889,31.641,11.027,25.835,11.027,18.6z"/> + <path fill="#FFFF42" d="M11.048,18.6c0-7.167,5.796-13.02,13.02-13.02c7.167,0,13.02,5.796,13.02,13.02 + c0,7.167-5.797,13.02-13.02,13.02C16.901,31.62,11.048,25.823,11.048,18.6z"/> + <path fill="#FFFF43" d="M11.07,18.6c0-7.156,5.787-12.999,12.998-12.999c7.157,0,13,5.787,13,12.999c0,7.155-5.787,13-13,13 + C16.913,31.6,11.07,25.812,11.07,18.6z"/> + <path fill="#FFFF44" d="M11.091,18.6c0-7.145,5.778-12.978,12.978-12.978c7.146,0,12.978,5.778,12.978,12.978 + c0,7.144-5.777,12.978-12.978,12.978C16.925,31.578,11.091,25.8,11.091,18.6z"/> + <path fill="#FFFF45" d="M11.113,18.6c0-7.133,5.769-12.957,12.957-12.957c7.133,0,12.958,5.769,12.958,12.957 + c0,7.132-5.77,12.957-12.958,12.957C16.937,31.557,11.113,25.788,11.113,18.6z"/> + <path fill="#FFFF46" d="M11.135,18.6c0-7.123,5.759-12.936,12.936-12.936c7.123,0,12.937,5.759,12.937,12.936 + c0,7.123-5.76,12.936-12.937,12.936C16.949,31.536,11.135,25.775,11.135,18.6z"/> + <path fill="#FFFF47" d="M11.157,18.6c0-7.111,5.75-12.915,12.915-12.915c7.112,0,12.915,5.75,12.915,12.915 + c0,7.111-5.75,12.916-12.915,12.916C16.96,31.516,11.157,25.766,11.157,18.6z"/> + <path fill="#FFFF48" d="M11.178,18.6c0-7.1,5.741-12.894,12.895-12.894c7.101,0,12.894,5.741,12.894,12.894 + c0,7.099-5.74,12.894-12.894,12.894C16.972,31.494,11.178,25.752,11.178,18.6z"/> + <path fill="#FFFF49" d="M11.199,18.6c0-7.089,5.732-12.873,12.874-12.873c7.089,0,12.873,5.731,12.873,12.873 + c0,7.087-5.73,12.873-12.873,12.873C16.984,31.473,11.199,25.74,11.199,18.6z"/> + <path fill="#FFFF4A" d="M11.221,18.6c0-7.078,5.723-12.852,12.852-12.852c7.078,0,12.853,5.722,12.853,12.852 + c0,7.078-5.725,12.852-12.854,12.852C16.995,31.452,11.221,25.729,11.221,18.6z"/> + <path fill="#FFFF4B" d="M11.242,18.6c0-7.067,5.714-12.832,12.832-12.832c7.067,0,12.833,5.713,12.833,12.832 + c0,7.066-5.715,12.832-12.833,12.832C17.007,31.432,11.242,25.717,11.242,18.6z"/> + <path fill="#FFFF4C" d="M11.264,18.6c0-7.056,5.705-12.811,12.811-12.811c7.056,0,12.812,5.704,12.812,12.811 + c0,7.054-5.705,12.81-12.812,12.81C17.019,31.41,11.264,25.705,11.264,18.6z"/> + <path fill="#FFFF4D" d="M11.286,18.6c0-7.044,5.695-12.79,12.79-12.79c7.045,0,12.79,5.695,12.79,12.79 + c0,7.044-5.693,12.791-12.79,12.791C17.031,31.391,11.286,25.693,11.286,18.6z"/> + <path fill="#FFFF4E" d="M11.307,18.6c0-7.033,5.686-12.769,12.769-12.769c7.034,0,12.77,5.686,12.77,12.769 + c0,7.034-5.688,12.768-12.77,12.768C17.043,31.368,11.307,25.684,11.307,18.6z"/> + <path fill="#FFFF4F" d="M11.329,18.6c0-7.022,5.677-12.748,12.748-12.748c7.023,0,12.748,5.677,12.748,12.748 + c0,7.022-5.678,12.748-12.748,12.748C17.054,31.348,11.329,25.67,11.329,18.6z"/> + <path fill="#FFFF50" d="M11.351,18.6c0-7.011,5.667-12.727,12.727-12.727c7.012,0,12.727,5.668,12.727,12.727 + c0,7.011-5.668,12.727-12.727,12.727C17.066,31.327,11.351,25.658,11.351,18.6z"/> + <path fill="#FFFF51" d="M11.372,18.6c0-7,5.659-12.706,12.706-12.706c7,0,12.705,5.659,12.705,12.706 + c0,7-5.658,12.707-12.705,12.707C17.078,31.307,11.372,25.646,11.372,18.6z"/> + <path fill="#FFFF52" d="M11.394,18.6c0-6.989,5.65-12.685,12.685-12.685c6.987,0,12.685,5.65,12.685,12.685 + c0,6.989-5.648,12.685-12.685,12.685C17.09,31.285,11.394,25.635,11.394,18.6z"/> + <path fill="#FFFF53" d="M11.415,18.6c0-6.978,5.641-12.664,12.664-12.664c6.978,0,12.665,5.641,12.665,12.664 + c0,6.978-5.641,12.664-12.665,12.664C17.102,31.264,11.415,25.623,11.415,18.6z"/> + <path fill="#FFFF54" d="M11.437,18.6c0-6.967,5.631-12.643,12.643-12.643c6.967,0,12.645,5.631,12.645,12.643 + c0,6.966-5.633,12.643-12.645,12.643C17.113,31.243,11.437,25.611,11.437,18.6z"/> + <path fill="#FFFF55" d="M11.459,18.6c0-6.956,5.622-12.623,12.622-12.623c6.956,0,12.622,5.623,12.622,12.623 + c0,6.957-5.621,12.623-12.622,12.623C17.125,31.223,11.459,25.6,11.459,18.6z"/> + <path fill="#FFFF56" d="M11.48,18.6c0-6.944,5.613-12.602,12.602-12.602c6.945,0,12.602,5.613,12.602,12.602 + c0,6.944-5.613,12.601-12.602,12.601C17.137,31.201,11.48,25.588,11.48,18.6z"/> + <path fill="#FFFF57" d="M11.502,18.6c0-6.934,5.604-12.581,12.581-12.581c6.933,0,12.581,5.604,12.581,12.581 + c0,6.933-5.604,12.582-12.581,12.582C17.149,31.182,11.502,25.576,11.502,18.6z"/> + <path fill="#FFFF58" d="M11.523,18.6c0-6.922,5.595-12.56,12.56-12.56c6.923,0,12.56,5.595,12.56,12.56 + c0,6.921-5.594,12.559-12.56,12.559C17.16,31.159,11.523,25.564,11.523,18.6z"/> + <path fill="#FFFF59" d="M11.545,18.6c0-6.911,5.585-12.539,12.539-12.539c6.912,0,12.539,5.585,12.539,12.539 + c0,6.911-5.586,12.539-12.539,12.539C17.172,31.139,11.545,25.553,11.545,18.6z"/> + <path fill="#FFFF5A" d="M11.566,18.6c0-6.9,5.577-12.518,12.518-12.518c6.9,0,12.518,5.576,12.518,12.518 + c0,6.9-5.576,12.517-12.518,12.517C17.184,31.117,11.566,25.541,11.566,18.6z"/> + <path fill="#FFFF5B" d="M11.588,18.6c0-6.889,5.567-12.497,12.497-12.497c6.89,0,12.497,5.567,12.497,12.497 + c0,6.889-5.566,12.498-12.497,12.498C17.195,31.098,11.588,25.529,11.588,18.6z"/> + <path fill="#FFFF5C" d="M11.609,18.6c0-6.878,5.558-12.476,12.476-12.476c6.878,0,12.476,5.559,12.476,12.476 + c0,6.876-5.559,12.476-12.476,12.476C17.208,31.076,11.609,25.518,11.609,18.6z"/> + <path fill="#FFFF5D" d="M11.631,18.6c0-6.867,5.549-12.455,12.455-12.455c6.867,0,12.455,5.549,12.455,12.455 + c0,6.867-5.549,12.455-12.455,12.455C17.219,31.055,11.631,25.506,11.631,18.6z"/> + <path fill="#FFFF5E" d="M11.652,18.6c0-6.855,5.54-12.434,12.434-12.434c6.855,0,12.434,5.54,12.434,12.434 + c0,6.855-5.539,12.434-12.434,12.434C17.231,31.034,11.652,25.494,11.652,18.6z"/> + <path fill="#FFFF5F" d="M11.674,18.6c0-6.844,5.531-12.413,12.413-12.413c6.845,0,12.415,5.531,12.415,12.413 + c0,6.843-5.531,12.414-12.415,12.414C17.243,31.014,11.674,25.482,11.674,18.6z"/> + <path fill="#FFFF60" d="M11.695,18.6c0-6.833,5.521-12.392,12.393-12.392c6.834,0,12.393,5.521,12.393,12.392 + c0,6.833-5.521,12.392-12.393,12.392C17.254,30.992,11.695,25.471,11.695,18.6z"/> + <path fill="#FFFF61" d="M11.717,18.6c0-6.822,5.513-12.371,12.372-12.371c6.823,0,12.372,5.512,12.372,12.371 + c0,6.822-5.514,12.371-12.372,12.371C17.266,30.971,11.717,25.459,11.717,18.6z"/> + <path fill="#FFFF62" d="M11.739,18.6c0-6.811,5.503-12.351,12.35-12.351c6.812,0,12.351,5.503,12.351,12.351 + c0,6.811-5.504,12.35-12.351,12.35C17.278,30.95,11.739,25.447,11.739,18.6z"/> + <path fill="#FFFF63" d="M11.76,18.6c0-6.8,5.494-12.33,12.33-12.33c6.799,0,12.33,5.494,12.33,12.33 + c0,6.798-5.494,12.33-12.33,12.33C17.29,30.93,11.76,25.436,11.76,18.6z"/> + <path fill="#FFFF64" d="M11.782,18.6c0-6.789,5.485-12.309,12.309-12.309c6.79,0,12.31,5.485,12.31,12.309 + c0,6.789-5.484,12.308-12.31,12.308C17.301,30.908,11.782,25.423,11.782,18.6z"/> + <path fill="#FFFF65" d="M11.803,18.6c0-6.778,5.476-12.288,12.288-12.288c6.778,0,12.288,5.476,12.288,12.288 + c0,6.778-5.477,12.289-12.288,12.289C17.313,30.889,11.803,25.411,11.803,18.6z"/> + <path fill="#FFFF66" d="M11.825,18.6c0-6.767,5.467-12.267,12.267-12.267c6.768,0,12.268,5.466,12.268,12.267 + c0,6.766-5.467,12.266-12.268,12.266C17.325,30.866,11.825,25.398,11.825,18.6z"/> + <path fill="#FFFF67" d="M11.847,18.6c0-6.756,5.457-12.246,12.246-12.246c6.757,0,12.247,5.458,12.247,12.246 + c0,6.755-5.459,12.246-12.247,12.246C17.337,30.846,11.847,25.389,11.847,18.6z"/> + <path fill="#FFFF68" d="M11.868,18.6c0-6.745,5.449-12.225,12.225-12.225c6.745,0,12.226,5.448,12.226,12.225 + c0,6.746-5.449,12.224-12.226,12.224C17.348,30.824,11.868,25.376,11.868,18.6z"/> + <path fill="#FFFF69" d="M11.89,18.6c0-6.733,5.439-12.204,12.204-12.204c6.732,0,12.205,5.439,12.205,12.204 + c0,6.733-5.439,12.205-12.205,12.205C17.36,30.805,11.89,25.364,11.89,18.6z"/> + <path fill="#FFFF6A" d="M11.911,18.6c0-6.723,5.43-12.183,12.183-12.183c6.723,0,12.184,5.43,12.184,12.183 + c0,6.722-5.43,12.183-12.184,12.183C17.372,30.783,11.911,25.354,11.911,18.6z"/> + <path fill="#FFFF6B" d="M11.933,18.6c0-6.711,5.421-12.162,12.162-12.162c6.712,0,12.163,5.421,12.163,12.162 + c0,6.71-5.422,12.162-12.163,12.162C17.384,30.762,11.933,25.341,11.933,18.6z"/> + <path fill="#FFFF6C" d="M11.954,18.6c0-6.7,5.412-12.141,12.142-12.141c6.701,0,12.141,5.412,12.141,12.141 + c0,6.7-5.412,12.141-12.141,12.141C17.396,30.741,11.954,25.329,11.954,18.6z"/> + <path fill="#FFFF6D" d="M11.976,18.6c0-6.689,5.402-12.121,12.12-12.121c6.688,0,12.121,5.403,12.121,12.121 + c0,6.689-5.402,12.121-12.121,12.121C17.407,30.721,11.976,25.316,11.976,18.6z"/> + <path fill="#FFFF6E" d="M11.998,18.6c0-6.678,5.393-12.099,12.099-12.099c6.679,0,12.099,5.393,12.099,12.099 + c0,6.677-5.393,12.099-12.099,12.099C17.419,30.699,11.998,25.307,11.998,18.6z"/> + <path fill="#FFFF6F" d="M12.019,18.6c0-6.667,5.384-12.079,12.079-12.079c6.667,0,12.078,5.384,12.078,12.079 + c0,6.667-5.383,12.078-12.078,12.078C17.431,30.678,12.019,25.294,12.019,18.6z"/> + <path fill="#FFFF70" d="M12.041,18.6c0-6.656,5.375-12.058,12.058-12.058c6.655,0,12.057,5.375,12.057,12.058 + c0,6.655-5.375,12.057-12.057,12.057C17.442,30.657,12.041,25.282,12.041,18.6z"/> + <path fill="#FFFF71" d="M12.062,18.6c0-6.645,5.366-12.037,12.037-12.037c6.645,0,12.036,5.366,12.036,12.037 + c0,6.644-5.365,12.037-12.036,12.037C17.454,30.637,12.062,25.271,12.062,18.6z"/> + <path fill="#FFFF72" d="M12.084,18.6c0-6.633,5.357-12.016,12.016-12.016c6.632,0,12.015,5.357,12.015,12.016 + c0,6.632-5.355,12.015-12.015,12.015C17.466,30.615,12.084,25.259,12.084,18.6z"/> + <path fill="#FFFF73" d="M12.105,18.6c0-6.622,5.348-11.995,11.995-11.995c6.623,0,11.996,5.348,11.996,11.995 + c0,6.623-5.35,11.996-11.996,11.996C17.478,30.596,12.105,25.247,12.105,18.6z"/> + <path fill="#FFFF74" d="M12.127,18.6c0-6.611,5.338-11.974,11.974-11.974c6.612,0,11.973,5.339,11.973,11.974 + c0,6.611-5.338,11.973-11.973,11.973C17.49,30.573,12.127,25.234,12.127,18.6z"/> + <path fill="#FFFF75" d="M12.149,18.6c0-6.6,5.329-11.953,11.953-11.953c6.599,0,11.953,5.33,11.953,11.953 + c0,6.6-5.328,11.953-11.953,11.953C17.502,30.553,12.149,25.225,12.149,18.6z"/> + <path fill="#FFFF76" d="M12.17,18.6c0-6.589,5.32-11.932,11.932-11.932c6.589,0,11.931,5.32,11.931,11.932 + c0,6.587-5.318,11.932-11.931,11.932C17.513,30.532,12.17,25.212,12.17,18.6z"/> + <path fill="#FFFF77" d="M12.192,18.6c0-6.578,5.311-11.911,11.911-11.911c6.579,0,11.913,5.311,11.913,11.911 + c0,6.578-5.312,11.911-11.913,11.911C17.525,30.511,12.192,25.2,12.192,18.6z"/> + <path fill="#FFFF78" d="M12.213,18.6c0-6.567,5.302-11.89,11.891-11.89c6.568,0,11.89,5.302,11.89,11.89 + c0,6.567-5.303,11.89-11.89,11.89C17.537,30.49,12.213,25.188,12.213,18.6z"/> + <path fill="#FFFF79" d="M12.235,18.6c0-6.556,5.292-11.87,11.869-11.87c6.556,0,11.869,5.293,11.869,11.87 + c0,6.554-5.293,11.869-11.869,11.869C17.548,30.469,12.235,25.176,12.235,18.6z"/> + <path fill="#FFFF7A" d="M12.256,18.6c0-6.544,5.284-11.849,11.848-11.849c6.544,0,11.847,5.284,11.847,11.849 + c0,6.544-5.281,11.848-11.847,11.848C17.56,30.448,12.256,25.164,12.256,18.6z"/> + <path fill="#FFFF7B" d="M12.278,18.6c0-6.533,5.274-11.828,11.828-11.828c6.533,0,11.828,5.274,11.828,11.828 + c0,6.533-5.275,11.828-11.828,11.828C17.572,30.428,12.278,25.152,12.278,18.6z"/> + <path fill="#FFFF7C" d="M12.299,18.6c0-6.522,5.266-11.807,11.807-11.807c6.523,0,11.808,5.265,11.808,11.807 + c0,6.522-5.268,11.806-11.808,11.806C17.584,30.406,12.299,25.141,12.299,18.6z"/> + <path fill="#FFFF7D" d="M12.321,18.6c0-6.511,5.256-11.786,11.786-11.786c6.51,0,11.786,5.256,11.786,11.786 + c0,6.511-5.256,11.786-11.786,11.786C17.595,30.386,12.321,25.129,12.321,18.6z"/> + <path fill="#FFFF7E" d="M12.342,18.6c0-6.5,5.247-11.765,11.765-11.765c6.5,0,11.764,5.247,11.764,11.765 + c0,6.5-5.246,11.764-11.764,11.764C17.608,30.364,12.342,25.117,12.342,18.6z"/> + <path fill="#FFFF7F" d="M12.364,18.6c0-6.489,5.238-11.744,11.744-11.744c6.49,0,11.744,5.238,11.744,11.744 + c0,6.489-5.238,11.744-11.744,11.744C17.619,30.344,12.364,25.105,12.364,18.6z"/> + <path fill="#FFFF80" d="M12.386,18.6c0-6.478,5.229-11.723,11.723-11.723c6.479,0,11.723,5.229,11.723,11.723 + c0,6.477-5.229,11.722-11.723,11.722C17.631,30.322,12.386,25.094,12.386,18.6z"/> + <path fill="#FFFF81" d="M12.407,18.6c0-6.467,5.22-11.702,11.702-11.702c6.465,0,11.702,5.22,11.702,11.702 + c0,6.466-5.219,11.702-11.702,11.702C17.643,30.302,12.407,25.082,12.407,18.6z"/> + <path fill="#FFFF82" d="M12.429,18.6c0-6.456,5.21-11.681,11.681-11.681c6.455,0,11.681,5.21,11.681,11.681 + c0,6.457-5.209,11.681-11.681,11.681C17.654,30.281,12.429,25.07,12.429,18.6z"/> + <path fill="#FFFF83" d="M12.45,18.6c0-6.444,5.202-11.66,11.661-11.66c6.444,0,11.661,5.201,11.661,11.66 + c0,6.444-5.203,11.66-11.661,11.66C17.666,30.26,12.45,25.059,12.45,18.6z"/> + <path fill="#FFFF84" d="M12.472,18.6c0-6.434,5.192-11.639,11.639-11.639c6.434,0,11.639,5.192,11.639,11.639 + c0,6.433-5.191,11.639-11.639,11.639C17.678,30.239,12.472,25.047,12.472,18.6z"/> + <path fill="#FFFF85" d="M12.493,18.6c0-6.422,5.183-11.619,11.619-11.619c6.421,0,11.619,5.183,11.619,11.619 + c0,6.421-5.184,11.618-11.619,11.618C17.69,30.218,12.493,25.035,12.493,18.6z"/> + <path fill="#FFFF86" d="M12.515,18.6c0-6.411,5.174-11.598,11.598-11.598c6.411,0,11.598,5.174,11.598,11.598 + c0,6.411-5.174,11.597-11.598,11.597C17.701,30.197,12.515,25.023,12.515,18.6z"/> + <path fill="#FFFF87" d="M12.537,18.6c0-6.4,5.165-11.577,11.577-11.577c6.4,0,11.578,5.165,11.578,11.577 + c0,6.4-5.166,11.577-11.578,11.577C17.713,30.177,12.537,25.012,12.537,18.6z"/> + <path fill="#FFFF88" d="M12.558,18.6c0-6.389,5.156-11.556,11.556-11.556c6.39,0,11.556,5.155,11.556,11.556 + c0,6.388-5.156,11.554-11.556,11.554C17.725,30.154,12.558,25,12.558,18.6z"/> + <path fill="#FFFF89" d="M12.58,18.6c0-6.378,5.146-11.535,11.535-11.535c6.377,0,11.534,5.146,11.534,11.535 + c0,6.376-5.145,11.535-11.534,11.535C17.737,30.135,12.58,24.988,12.58,18.6z"/> + <path fill="#FFFF8A" d="M12.601,18.6c0-6.367,5.138-11.514,11.514-11.514c6.368,0,11.514,5.137,11.514,11.514 + c0,6.367-5.139,11.513-11.514,11.513C17.749,30.113,12.601,24.977,12.601,18.6z"/> + <path fill="#FFFF8B" d="M12.623,18.6c0-6.356,5.128-11.493,11.493-11.493c6.355,0,11.494,5.128,11.494,11.493 + c0,6.355-5.129,11.493-11.494,11.493C17.76,30.093,12.623,24.965,12.623,18.6z"/> + <path fill="#FFFF8C" d="M12.645,18.6c0-6.345,5.119-11.472,11.472-11.472c6.344,0,11.473,5.119,11.473,11.472 + c0,6.343-5.119,11.47-11.473,11.47C17.772,30.07,12.645,24.953,12.645,18.6z"/> + <path fill="#FFFF8D" d="M12.666,18.6c0-6.333,5.11-11.451,11.451-11.451c6.333,0,11.452,5.11,11.452,11.451 + c0,6.333-5.109,11.451-11.452,11.451C17.784,30.051,12.666,24.941,12.666,18.6z"/> + <path fill="#FFFF8E" d="M12.688,18.6c0-6.322,5.101-11.43,11.43-11.43c6.322,0,11.431,5.101,11.431,11.43 + c0,6.322-5.102,11.429-11.431,11.429C17.796,30.029,12.688,24.93,12.688,18.6z"/> + <path fill="#FFFF8F" d="M12.709,18.6c0-6.312,5.092-11.409,11.41-11.409c6.311,0,11.409,5.091,11.409,11.409 + c0,6.311-5.092,11.409-11.409,11.409C17.807,30.009,12.709,24.917,12.709,18.6z"/> + <path fill="#FFFF90" d="M12.731,18.6c0-6.3,5.083-11.388,11.389-11.388c6.3,0,11.388,5.082,11.388,11.388 + c0,6.298-5.082,11.388-11.388,11.388C17.819,29.988,12.731,24.904,12.731,18.6z"/> + <path fill="#FFFF91" d="M12.753,18.6c0-6.289,5.073-11.368,11.367-11.368c6.288,0,11.366,5.073,11.366,11.368 + c0,6.289-5.072,11.367-11.366,11.367C17.831,29.967,12.753,24.895,12.753,18.6z"/> + <path fill="#FFFF92" d="M12.774,18.6c0-6.278,5.064-11.347,11.347-11.347c6.277,0,11.346,5.064,11.346,11.347 + c0,6.278-5.062,11.345-11.346,11.345C17.842,29.945,12.774,24.882,12.774,18.6z"/> + <path fill="#FFFF93" d="M12.796,18.6c0-6.267,5.055-11.326,11.326-11.326c6.267,0,11.325,5.055,11.325,11.326 + c0,6.266-5.055,11.326-11.325,11.326C17.854,29.926,12.796,24.87,12.796,18.6z"/> + <path fill="#FFFF94" d="M12.817,18.6c0-6.256,5.046-11.305,11.305-11.305c6.257,0,11.306,5.046,11.306,11.305 + c0,6.255-5.047,11.304-11.306,11.304C17.866,29.904,12.817,24.857,12.817,18.6z"/> + <path fill="#FFFF95" d="M12.838,18.6c0-6.245,5.037-11.284,11.284-11.284c6.243,0,11.282,5.037,11.282,11.284 + c0,6.246-5.035,11.284-11.282,11.284C17.878,29.884,12.838,24.848,12.838,18.6z"/> + <path fill="#FFFF96" d="M12.86,18.6c0-6.233,5.028-11.263,11.263-11.263c6.232,0,11.262,5.028,11.262,11.263 + c0,6.233-5.027,11.261-11.262,11.261C17.89,29.861,12.86,24.835,12.86,18.6z"/> + <path fill="#FFFF97" d="M12.882,18.6c0-6.223,5.018-11.242,11.242-11.242c6.222,0,11.241,5.019,11.241,11.242 + c0,6.222-5.018,11.242-11.241,11.242C17.901,29.842,12.882,24.823,12.882,18.6z"/> + <path fill="#FFFF98" d="M12.903,18.6c0-6.211,5.009-11.221,11.221-11.221S35.346,12.388,35.346,18.6 + c0,6.21-5.01,11.22-11.222,11.22C17.913,29.82,12.903,24.812,12.903,18.6z"/> + <path fill="#FFFF99" d="M12.925,18.6c0-6.2,5-11.2,11.2-11.2c6.199,0,11.199,5,11.199,11.2c0,6.2-5,11.2-11.199,11.2 + C17.925,29.8,12.925,24.8,12.925,18.6z"/> + </g> + + <linearGradient id="XMLID_67_" gradientUnits="userSpaceOnUse" x1="396.2324" y1="753.8262" x2="396.2324" y2="763.584" gradientTransform="matrix(1 0 0 1 -372 -747)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#FFFF99"/> + </linearGradient> + <path fill="url(#XMLID_67_)" d="M15.358,11.705c0-2.701,3.961-4.879,8.875-4.879c4.912,0,8.875,2.178,8.875,4.879 + s-3.963,4.879-8.875,4.879C19.32,16.583,15.358,14.405,15.358,11.705z"/> + <path fill="#666666" d="M23.125,41.3v0.9c0,0.899,0.7,1.6,1.6,1.6c0.9,0,1.6-0.7,1.6-1.6v-0.9h-3.299H23.125z"/> + + <linearGradient id="XMLID_68_" gradientUnits="userSpaceOnUse" x1="396.625" y1="784.8896" x2="396.625" y2="788.9111" gradientTransform="matrix(1 0 0 1 -372 -747)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#000000"/> + </linearGradient> + <path fill="url(#XMLID_68_)" d="M28.225,37.9l-7.6,0.8c-0.9,0.1-1.5,0.899-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.801 + c0.9-0.102,1.5-0.899,1.4-1.802C29.926,38.4,29.125,37.8,28.225,37.9z"/> + + <linearGradient id="XMLID_69_" gradientUnits="userSpaceOnUse" x1="396.625" y1="781.6895" x2="396.625" y2="785.7109" gradientTransform="matrix(1 0 0 1 -372 -747)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#000000"/> + </linearGradient> + <path fill="url(#XMLID_69_)" d="M28.225,34.7l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8 + c0.9-0.101,1.5-0.9,1.4-1.801C29.926,35.2,29.125,34.6,28.225,34.7z"/> + + <linearGradient id="XMLID_70_" gradientUnits="userSpaceOnUse" x1="396.625" y1="778.5889" x2="396.625" y2="782.6104" gradientTransform="matrix(1 0 0 1 -372 -747)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#000000"/> + </linearGradient> + <path fill="url(#XMLID_70_)" d="M28.225,31.6l-7.6,0.801c-0.9,0.1-1.5,0.897-1.4,1.8c0.1,0.899,0.9,1.5,1.8,1.399l7.6-0.802 + c0.9-0.1,1.5-0.897,1.4-1.8S29.125,31.5,28.225,31.6z"/> + <path fill="none" stroke="#000000" stroke-width="1.0944" d="M22.325,28.3l-3.5-10.7c0,0,6.601,3.9,10.5,0"/> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M47.975,48h-48V0h48V48z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/up.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/up.svg new file mode 100644 index 0000000000..8eca45f20d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/up.svg @@ -0,0 +1,338 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Up" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path fill="#FFFFFF" stroke="#FFFFFF" stroke-width="7.5901" stroke-linejoin="round" d="M41.104,25.661 + c0.301,0,0.301-0.3,0.198-0.5l-16.899-16.6c-0.5-0.5-0.7-0.4-1,0l-16.7,16.6c-0.1,0.103-0.1,0.399,0.1,0.399h10v13.601 + c0,0.301,0.2,0.5,0.4,0.5h13.299c0.398,0,0.5-0.199,0.5-0.601v-13.5L41.104,25.661z"/> + <g> + <path fill="#0033CC" d="M41.104,25.661c0.301,0,0.301-0.3,0.198-0.5l-16.899-16.6c-0.5-0.5-0.7-0.4-1,0l-16.7,16.6 + c-0.1,0.103-0.1,0.399,0.1,0.399h10v13.601c0,0.301,0.2,0.5,0.4,0.5h13.299c0.398,0,0.5-0.199,0.5-0.601v-13.5L41.104,25.661z"/> + <path fill="#0134CC" d="M41.075,25.65c0.3,0,0.3-0.299,0.198-0.498L24.402,8.577c-0.499-0.499-0.699-0.4-0.998,0L6.73,25.152 + c-0.1,0.101-0.1,0.397,0.099,0.397h9.984v13.581c0,0.303,0.2,0.499,0.4,0.499h13.279c0.398,0,0.499-0.196,0.499-0.601V25.55 + L41.075,25.65z"/> + <path fill="#0235CD" d="M41.049,25.643c0.301,0,0.301-0.3,0.199-0.498L24.401,8.591c-0.498-0.498-0.697-0.399-0.996,0 + L6.757,25.145c-0.1,0.101-0.1,0.397,0.099,0.397h9.969v13.562c0,0.301,0.199,0.5,0.399,0.5H30.48c0.397,0,0.498-0.199,0.498-0.601 + V25.542L41.049,25.643z"/> + <path fill="#0336CD" d="M41.021,25.632c0.299,0,0.299-0.299,0.199-0.498L24.4,8.604c-0.498-0.498-0.696-0.399-0.995,0 + L6.783,25.134c-0.099,0.101-0.099,0.398,0.099,0.398h9.953v13.543c0,0.299,0.199,0.495,0.398,0.495h13.24 + c0.396,0,0.495-0.196,0.495-0.596v-13.44L41.021,25.632z"/> + <path fill="#0437CE" d="M40.995,25.622c0.299,0,0.299-0.299,0.198-0.496L24.4,8.62c-0.497-0.497-0.696-0.398-0.994,0L6.811,25.126 + c-0.099,0.101-0.099,0.396,0.099,0.396h9.938v13.523c0,0.299,0.199,0.496,0.397,0.496h13.217c0.396,0,0.496-0.197,0.496-0.598 + v-13.42L40.995,25.622z"/> + <path fill="#0538CE" d="M40.969,25.614c0.299,0,0.299-0.3,0.198-0.498L24.399,8.634c-0.496-0.496-0.694-0.397-0.992,0 + L6.837,25.116c-0.099,0.102-0.099,0.397,0.099,0.397h9.922v13.504c0,0.299,0.199,0.496,0.398,0.496h13.195 + c0.396,0,0.494-0.197,0.494-0.597V25.514L40.969,25.614z"/> + <path fill="#0639CF" d="M40.941,25.604c0.297,0,0.297-0.297,0.197-0.496L24.399,8.649c-0.496-0.496-0.693-0.397-0.99,0 + L6.864,25.107c-0.099,0.101-0.099,0.396,0.099,0.396h9.906v13.483c0,0.3,0.199,0.496,0.397,0.496h13.173 + c0.396,0,0.496-0.196,0.496-0.596V25.505L40.941,25.604z"/> + <path fill="#073ACF" d="M40.915,25.594c0.298,0,0.298-0.298,0.196-0.494L24.398,8.664c-0.495-0.495-0.692-0.397-0.989,0 + L6.891,25.1c-0.099,0.101-0.099,0.396,0.098,0.396h9.892V38.96c0,0.298,0.198,0.494,0.396,0.494h13.155 + c0.396,0,0.494-0.196,0.494-0.593V25.495L40.915,25.594z"/> + <path fill="#083BD0" d="M40.891,25.585c0.297,0,0.297-0.297,0.196-0.496l-16.69-16.41c-0.494-0.494-0.691-0.396-0.987,0 + L6.918,25.089c-0.099,0.101-0.099,0.396,0.098,0.396h9.875V38.93c0,0.299,0.198,0.495,0.396,0.495h13.134 + c0.396,0,0.494-0.196,0.494-0.595V25.486L40.891,25.585z"/> + <path fill="#093CD0" d="M40.859,25.575c0.3,0,0.3-0.296,0.199-0.494L24.397,8.692c-0.493-0.494-0.69-0.396-0.985,0L6.945,25.081 + c-0.098,0.101-0.098,0.396,0.098,0.396h9.86v13.428c0,0.298,0.197,0.494,0.395,0.494h13.113c0.396,0,0.491-0.196,0.491-0.594 + V25.477L40.859,25.575z"/> + <path fill="#0A3DD1" d="M40.835,25.564c0.296,0,0.296-0.295,0.197-0.491L24.396,8.707c-0.492-0.493-0.689-0.395-0.984,0 + L6.972,25.073c-0.098,0.098-0.098,0.395,0.098,0.395h9.844v13.408c0,0.295,0.197,0.492,0.394,0.492h13.09 + c0.396,0,0.492-0.197,0.492-0.593V25.465L40.835,25.564z"/> + <path fill="#0B3ED1" d="M40.811,25.557c0.295,0,0.295-0.296,0.195-0.492L24.396,8.723c-0.492-0.493-0.688-0.394-0.983,0 + L6.999,25.062c-0.098,0.101-0.098,0.396,0.098,0.396h9.829v13.388c0,0.297,0.197,0.491,0.394,0.491h13.073 + c0.395,0,0.489-0.194,0.489-0.59V25.458L40.811,25.557z"/> + <path fill="#0C3FD2" d="M40.782,25.546c0.295,0,0.295-0.295,0.194-0.491L24.395,8.736c-0.491-0.492-0.687-0.394-0.981,0 + L7.026,25.055c-0.098,0.1-0.098,0.396,0.098,0.396h9.813v13.368c0,0.296,0.197,0.49,0.393,0.49h13.051 + c0.395,0,0.49-0.194,0.49-0.588V25.448L40.782,25.546z"/> + <path fill="#0D40D2" d="M40.755,25.536c0.295,0,0.295-0.293,0.196-0.49L24.394,8.75c-0.489-0.491-0.685-0.393-0.979,0 + L7.053,25.046c-0.098,0.099-0.098,0.394,0.098,0.394h9.797V38.79c0,0.297,0.196,0.492,0.392,0.492h13.03 + c0.394,0,0.489-0.195,0.489-0.591V25.438L40.755,25.536z"/> + <path fill="#0E41D3" d="M40.729,25.527c0.293,0,0.293-0.295,0.195-0.489L24.394,8.766c-0.489-0.489-0.685-0.392-0.978,0 + L7.08,25.038c-0.097,0.099-0.097,0.394,0.098,0.394h9.782V38.76c0,0.295,0.196,0.489,0.392,0.489h13.007 + c0.394,0,0.488-0.194,0.488-0.588V25.43L40.729,25.527z"/> + <path fill="#0F42D3" d="M40.702,25.518c0.294,0,0.294-0.293,0.194-0.488L24.393,8.781c-0.488-0.489-0.683-0.392-0.976,0 + L7.107,25.027c-0.097,0.101-0.097,0.394,0.098,0.394h9.766v13.312c0,0.295,0.195,0.49,0.391,0.49h12.99 + c0.393,0,0.487-0.195,0.487-0.588V25.419L40.702,25.518z"/> + <path fill="#1043D4" d="M40.676,25.508c0.293,0,0.293-0.294,0.195-0.488L24.392,8.794c-0.487-0.488-0.682-0.392-0.975,0 + L7.134,25.02c-0.097,0.101-0.097,0.394,0.097,0.394h9.75v13.293c0,0.293,0.196,0.485,0.391,0.485H30.34 + c0.393,0,0.487-0.192,0.487-0.586V25.411L40.676,25.508z"/> + <path fill="#1144D4" d="M40.646,25.497c0.293,0,0.293-0.293,0.194-0.487l-16.45-16.2c-0.487-0.488-0.681-0.391-0.973,0L7.16,25.01 + C7.063,25.107,7.063,25.4,7.257,25.4h9.735v13.271c0,0.294,0.195,0.487,0.39,0.487H30.33c0.389,0,0.484-0.193,0.484-0.586V25.4 + L40.646,25.497z"/> + <path fill="#1245D5" d="M40.622,25.489c0.293,0,0.293-0.294,0.194-0.488L24.391,8.824c-0.486-0.487-0.68-0.39-0.972,0 + L7.188,25.001c-0.097,0.099-0.097,0.392,0.096,0.392h9.72v13.254c0,0.293,0.195,0.486,0.389,0.486h12.925 + c0.391,0,0.486-0.193,0.486-0.585V25.393L40.622,25.489z"/> + <path fill="#1346D5" d="M40.598,25.479c0.291,0,0.291-0.291,0.192-0.484L24.391,8.838c-0.485-0.486-0.679-0.39-0.97,0 + L7.215,24.993c-0.097,0.099-0.097,0.39,0.096,0.39h9.704v13.235c0,0.291,0.195,0.485,0.389,0.485h12.907 + c0.391,0,0.484-0.194,0.484-0.584V25.382L40.598,25.479z"/> + <path fill="#1447D6" d="M40.568,25.471c0.291,0,0.291-0.293,0.193-0.486L24.39,8.853c-0.484-0.485-0.678-0.389-0.968,0 + L7.242,24.982c-0.097,0.1-0.097,0.391,0.096,0.391h9.688v13.215c0,0.293,0.194,0.486,0.388,0.486H30.3 + c0.39,0,0.484-0.193,0.484-0.582v-13.12L40.568,25.471z"/> + <path fill="#1548D6" d="M40.542,25.46c0.291,0,0.291-0.291,0.192-0.485L24.389,8.868c-0.483-0.485-0.677-0.388-0.966,0 + L7.269,24.975c-0.097,0.101-0.097,0.392,0.096,0.392h9.673v13.194c0,0.291,0.193,0.483,0.387,0.483h12.864 + c0.387,0,0.482-0.192,0.482-0.582V25.361L40.542,25.46z"/> + <path fill="#1649D7" d="M40.518,25.45c0.291,0,0.291-0.291,0.191-0.483L24.389,8.881c-0.483-0.484-0.676-0.388-0.966,0 + L7.295,24.966c-0.096,0.099-0.096,0.388,0.096,0.388h9.657v13.181c0,0.291,0.193,0.481,0.387,0.481h12.842 + c0.388,0,0.48-0.19,0.48-0.582v-13.08L40.518,25.45z"/> + <path fill="#174AD7" d="M40.488,25.441c0.289,0,0.289-0.291,0.193-0.483L24.388,8.896c-0.482-0.483-0.675-0.388-0.964,0 + L7.323,24.956c-0.096,0.099-0.096,0.39,0.096,0.39h9.642v13.155c0,0.291,0.193,0.483,0.386,0.483h12.825 + c0.386,0,0.479-0.192,0.479-0.58V25.346L40.488,25.441z"/> + <path fill="#184BD8" d="M40.463,25.432c0.289,0,0.289-0.289,0.191-0.481L24.387,8.912c-0.481-0.482-0.673-0.387-0.962,0 + L7.349,24.948c-0.096,0.098-0.096,0.387,0.096,0.387h9.626v13.14c0,0.291,0.193,0.483,0.386,0.483h12.802 + c0.388,0,0.479-0.192,0.479-0.58V25.335L40.463,25.432z"/> + <path fill="#194CD8" d="M40.438,25.421c0.289,0,0.289-0.289,0.19-0.481L24.386,8.926c-0.48-0.481-0.672-0.386-0.96,0L7.376,24.938 + c-0.096,0.1-0.096,0.389,0.096,0.389h9.61v13.117c0,0.291,0.192,0.482,0.385,0.482h12.782c0.385,0,0.479-0.191,0.479-0.578V25.325 + L40.438,25.421z"/> + <path fill="#1A4DD9" d="M40.409,25.413c0.289,0,0.289-0.289,0.19-0.481L24.386,8.939c-0.48-0.481-0.671-0.385-0.959,0 + L7.403,24.932c-0.096,0.096-0.096,0.385,0.096,0.385h9.595v13.103c0,0.289,0.192,0.479,0.384,0.479h12.76 + c0.385,0,0.479-0.19,0.479-0.578V25.316L40.409,25.413z"/> + <path fill="#1B4ED9" d="M40.383,25.402c0.288,0,0.288-0.288,0.191-0.479L24.386,8.956c-0.479-0.481-0.67-0.385-0.958,0 + L7.43,24.921c-0.095,0.099-0.095,0.386,0.096,0.386h9.579v13.082c0,0.288,0.192,0.479,0.384,0.479H30.23 + c0.383,0,0.479-0.191,0.479-0.576V25.307L40.383,25.402z"/> + <path fill="#1C4FDA" d="M40.355,25.395c0.287,0,0.287-0.289,0.188-0.479L24.385,8.97c-0.479-0.48-0.669-0.384-0.956,0 + L7.457,24.913c-0.096,0.097-0.096,0.385,0.095,0.385h9.563v13.062c0,0.289,0.192,0.479,0.383,0.479h12.72 + c0.384,0,0.479-0.19,0.479-0.575V25.296L40.355,25.395z"/> + <path fill="#1D50DA" d="M40.329,25.383c0.287,0,0.287-0.287,0.19-0.479L24.384,8.983c-0.478-0.479-0.668-0.384-0.955,0 + L7.484,24.902c-0.095,0.099-0.095,0.386,0.095,0.386h9.548v13.043c0,0.287,0.191,0.479,0.382,0.479h12.699 + c0.383,0,0.478-0.191,0.478-0.576V25.288L40.329,25.383z"/> + <path fill="#1E51DB" d="M40.303,25.374c0.286,0,0.286-0.287,0.19-0.479L24.384,8.999c-0.477-0.479-0.667-0.383-0.953,0 + L7.511,24.895c-0.095,0.099-0.095,0.385,0.094,0.385h9.533v13.022c0,0.287,0.191,0.479,0.382,0.479h12.678 + c0.382,0,0.477-0.189,0.477-0.574v-12.93L40.303,25.374z"/> + <path fill="#1F52DB" d="M40.275,25.364c0.285,0,0.285-0.287,0.188-0.479L24.383,9.014c-0.476-0.478-0.666-0.383-0.951,0 + L7.539,24.886c-0.095,0.097-0.095,0.384,0.094,0.384h9.517v13.004c0,0.287,0.191,0.479,0.381,0.479h12.658 + c0.381,0,0.476-0.19,0.476-0.573V25.27L40.275,25.364z"/> + <path fill="#2053DC" d="M40.25,25.354c0.285,0,0.285-0.285,0.188-0.479L24.382,9.027c-0.475-0.477-0.665-0.382-0.95,0 + L7.565,24.876c-0.095,0.097-0.095,0.383,0.094,0.383h9.501v12.984c0,0.286,0.19,0.479,0.381,0.479h12.637 + c0.381,0,0.477-0.189,0.477-0.572V25.259L40.25,25.354z"/> + <path fill="#2154DC" d="M40.225,25.346c0.283,0,0.283-0.287,0.188-0.478L24.381,9.042c-0.474-0.476-0.664-0.381-0.948,0 + L7.591,24.868c-0.094,0.096-0.094,0.383,0.095,0.383h9.486v12.965c0,0.287,0.19,0.478,0.38,0.478h12.616 + c0.38,0,0.475-0.188,0.475-0.569V25.249L40.225,25.346z"/> + <path fill="#2255DD" d="M40.195,25.335c0.285,0,0.285-0.285,0.188-0.478L24.38,9.057c-0.474-0.475-0.663-0.381-0.947,0 + L7.619,24.859c-0.094,0.097-0.094,0.382,0.094,0.382h9.471v12.946c0,0.285,0.189,0.476,0.379,0.476h12.596 + c0.378,0,0.473-0.188,0.473-0.57V25.241L40.195,25.335z"/> + <path fill="#2356DD" d="M40.17,25.327c0.284,0,0.284-0.285,0.188-0.478L24.381,9.072c-0.473-0.475-0.662-0.38-0.945,0 + l-15.79,15.78c-0.094,0.097-0.094,0.381,0.094,0.381h9.455V38.16c0,0.285,0.189,0.476,0.379,0.476h12.574 + c0.377,0,0.473-0.188,0.473-0.569V25.23L40.17,25.327z"/> + <path fill="#2457DE" d="M40.145,25.316c0.282,0,0.282-0.284,0.188-0.478L24.38,9.085c-0.472-0.474-0.661-0.38-0.944,0 + L7.673,24.841c-0.095,0.097-0.095,0.382,0.094,0.382h9.439V38.13c0,0.285,0.189,0.476,0.378,0.476h12.555 + c0.379,0,0.473-0.188,0.473-0.569V25.223L40.145,25.316z"/> + <path fill="#2558DE" d="M40.116,25.307c0.282,0,0.282-0.285,0.188-0.476L24.379,9.101c-0.472-0.474-0.66-0.379-0.942,0 + L7.699,24.831c-0.094,0.097-0.094,0.381,0.094,0.381h9.424v12.89c0,0.284,0.189,0.476,0.377,0.476h12.533 + c0.378,0,0.473-0.188,0.473-0.568V25.212L40.116,25.307z"/> + <path fill="#2659DF" d="M40.09,25.298c0.283,0,0.283-0.284,0.188-0.475L24.379,9.116c-0.471-0.473-0.659-0.379-0.94,0 + L7.727,24.823c-0.094,0.096-0.094,0.381,0.094,0.381h9.408v12.869c0,0.282,0.189,0.473,0.377,0.473h12.512 + c0.376,0,0.47-0.188,0.47-0.567V25.204L40.09,25.298z"/> + <path fill="#275ADF" d="M40.062,25.288c0.28,0,0.28-0.283,0.188-0.474L24.378,9.13c-0.47-0.472-0.657-0.378-0.938,0L7.754,24.814 + c-0.094,0.097-0.094,0.379,0.093,0.379h9.393v12.851c0,0.285,0.188,0.474,0.376,0.474h12.489c0.377,0,0.472-0.188,0.472-0.565 + V25.193L40.062,25.288z"/> + <path fill="#285BE0" d="M40.037,25.277c0.279,0,0.279-0.282,0.188-0.471L24.377,9.145c-0.469-0.471-0.656-0.378-0.937,0 + L7.781,24.807c-0.094,0.096-0.094,0.377,0.093,0.377h9.377v12.832c0,0.283,0.188,0.474,0.376,0.474H30.1 + c0.375,0,0.467-0.188,0.467-0.566V25.184L40.037,25.277z"/> + <path fill="#295CE0" d="M40.01,25.27c0.281,0,0.281-0.283,0.188-0.474L24.376,9.159c-0.468-0.47-0.655-0.377-0.936,0L7.807,24.796 + c-0.093,0.097-0.093,0.378,0.093,0.378h9.361v12.812c0,0.281,0.188,0.471,0.375,0.471h12.45c0.374,0,0.467-0.188,0.467-0.562 + V25.174L40.01,25.27z"/> + <path fill="#2A5DE1" d="M39.982,25.259c0.281,0,0.281-0.282,0.188-0.471L24.376,9.174c-0.467-0.469-0.654-0.376-0.934,0 + L7.834,24.788c-0.093,0.096-0.093,0.377,0.093,0.377h9.346v12.793c0,0.283,0.188,0.472,0.375,0.472h12.43 + c0.373,0,0.467-0.188,0.467-0.563v-12.7L39.982,25.259z"/> + <path fill="#2B5EE1" d="M39.957,25.249c0.279,0,0.279-0.281,0.188-0.472L24.376,9.188c-0.466-0.469-0.652-0.376-0.933,0 + L7.861,24.779c-0.093,0.095-0.093,0.375,0.093,0.375h9.33V37.93c0,0.282,0.188,0.471,0.374,0.471h12.408 + c0.373,0,0.467-0.188,0.467-0.563v-12.68L39.957,25.249z"/> + <path fill="#2C5FE2" d="M39.932,25.239c0.278,0,0.278-0.281,0.188-0.47L24.375,9.203c-0.465-0.468-0.652-0.375-0.931,0 + L7.888,24.771c-0.093,0.096-0.093,0.375,0.092,0.375h9.314V37.9c0,0.281,0.187,0.47,0.374,0.47h12.389 + c0.373,0,0.465-0.188,0.465-0.562V25.146L39.932,25.239z"/> + <path fill="#2D60E2" d="M39.902,25.229c0.279,0,0.279-0.277,0.187-0.468L24.374,9.217c-0.465-0.467-0.651-0.375-0.929,0 + L7.915,24.762c-0.093,0.094-0.093,0.374,0.092,0.374h9.299V37.87c0,0.28,0.187,0.469,0.373,0.469h12.368 + c0.371,0,0.465-0.188,0.465-0.562V25.136L39.902,25.229z"/> + <path fill="#2E61E3" d="M39.877,25.221c0.277,0,0.277-0.279,0.188-0.468L24.374,9.231c-0.464-0.466-0.649-0.374-0.928,0 + L7.942,24.753c-0.092,0.095-0.092,0.373,0.092,0.373h9.284v12.717c0,0.281,0.186,0.47,0.372,0.47h12.347 + c0.372,0,0.464-0.188,0.464-0.562V25.126L39.877,25.221z"/> + <path fill="#2F62E3" d="M39.852,25.212c0.277,0,0.277-0.28,0.188-0.469L24.373,9.248c-0.463-0.466-0.648-0.374-0.926,0 + L7.969,24.745c-0.092,0.094-0.092,0.373,0.092,0.373h9.268v12.696c0,0.278,0.186,0.468,0.371,0.468h12.325 + c0.371,0,0.463-0.188,0.463-0.562V25.118L39.852,25.212z"/> + <path fill="#3063E4" d="M39.823,25.202c0.276,0,0.276-0.279,0.186-0.468L24.372,9.262c-0.462-0.465-0.647-0.373-0.925,0 + L7.996,24.734c-0.092,0.095-0.092,0.373,0.092,0.373h9.252v12.679c0,0.278,0.186,0.467,0.371,0.467h12.307 + c0.369,0,0.461-0.188,0.461-0.562V25.107L39.823,25.202z"/> + <path fill="#3164E4" d="M39.797,25.191c0.277,0,0.277-0.278,0.186-0.467L24.373,9.274c-0.462-0.465-0.646-0.373-0.923,0 + L8.023,24.727C7.931,24.82,7.931,25.1,8.115,25.1h9.236v12.657c0,0.279,0.186,0.466,0.371,0.466h12.284 + c0.369,0,0.461-0.187,0.461-0.56V25.1L39.797,25.191z"/> + <path fill="#3265E5" d="M39.771,25.184c0.275,0,0.275-0.279,0.186-0.467L24.371,9.29c-0.461-0.464-0.645-0.372-0.922,0 + L8.05,24.717c-0.092,0.094-0.092,0.372,0.091,0.372h9.221v12.64c0,0.279,0.185,0.465,0.37,0.465h12.264 + c0.367,0,0.46-0.186,0.46-0.558V25.089L39.771,25.184z"/> + <path fill="#3366E5" d="M39.744,25.173c0.275,0,0.275-0.278,0.186-0.465L24.371,9.306c-0.46-0.463-0.644-0.372-0.92,0 + L8.077,24.708c-0.092,0.094-0.092,0.371,0.091,0.371h9.206V37.7c0,0.276,0.185,0.463,0.369,0.463h12.241 + c0.369,0,0.461-0.187,0.461-0.558V25.081L39.744,25.173z"/> + <path fill="#3366E6" d="M39.717,25.163c0.276,0,0.276-0.277,0.186-0.463L24.37,9.319c-0.459-0.462-0.643-0.371-0.918,0L8.104,24.7 + c-0.092,0.094-0.092,0.37,0.091,0.37h9.189v12.601c0,0.279,0.185,0.465,0.369,0.465h12.224c0.366,0,0.459-0.186,0.459-0.557V25.07 + L39.717,25.163z"/> + <path fill="#3467E6" d="M39.689,25.152c0.273,0,0.273-0.276,0.185-0.463L24.369,9.333c-0.458-0.462-0.642-0.371-0.917,0 + L8.131,24.689c-0.092,0.095-0.092,0.371,0.091,0.371h9.174v12.582c0,0.274,0.184,0.463,0.368,0.463h12.202 + c0.366,0,0.458-0.188,0.458-0.558V25.061L39.689,25.152z"/> + <path fill="#3568E7" d="M39.664,25.145c0.273,0,0.273-0.276,0.186-0.463L24.369,9.349c-0.458-0.461-0.641-0.37-0.916,0 + L8.158,24.682c-0.091,0.094-0.091,0.37,0.091,0.37h9.159v12.562c0,0.276,0.184,0.461,0.367,0.461h12.181 + c0.367,0,0.458-0.185,0.458-0.556V25.05L39.664,25.145z"/> + <path fill="#3669E7" d="M39.639,25.135c0.273,0,0.273-0.277,0.185-0.462L24.368,9.364c-0.458-0.46-0.64-0.37-0.914,0l-15.27,15.31 + c-0.091,0.094-0.091,0.368,0.091,0.368h9.144v12.543c0,0.276,0.183,0.463,0.366,0.463h12.158c0.365,0,0.457-0.187,0.457-0.555 + V25.042L39.639,25.135z"/> + <path fill="#376AE8" d="M39.609,25.124c0.272,0,0.272-0.274,0.184-0.461L24.367,9.377c-0.457-0.459-0.639-0.369-0.912,0 + L8.211,24.663c-0.091,0.094-0.091,0.369,0.091,0.369h9.127v12.522c0,0.274,0.184,0.461,0.366,0.461h12.141 + c0.363,0,0.455-0.187,0.455-0.554v-12.43L39.609,25.124z"/> + <path fill="#386BE8" d="M39.584,25.116c0.271,0,0.271-0.277,0.184-0.462L24.368,9.393c-0.456-0.459-0.638-0.368-0.911,0 + L8.239,24.654c-0.091,0.093-0.091,0.369,0.09,0.369h9.112v12.504c0,0.274,0.183,0.462,0.365,0.462h12.12 + c0.363,0,0.454-0.188,0.454-0.554V25.023L39.584,25.116z"/> + <path fill="#396CE9" d="M39.559,25.105c0.272,0,0.272-0.274,0.183-0.459L24.366,9.407c-0.455-0.458-0.636-0.367-0.909,0 + L8.266,24.646c-0.091,0.093-0.091,0.367,0.09,0.367h9.096v12.483c0,0.272,0.183,0.459,0.365,0.459h12.098 + c0.362,0,0.454-0.187,0.454-0.552V25.014L39.559,25.105z"/> + <path fill="#3A6DE9" d="M39.529,25.096c0.271,0,0.271-0.275,0.184-0.457L24.365,9.421c-0.454-0.458-0.635-0.367-0.907,0 + L8.293,24.639c-0.091,0.092-0.091,0.364,0.09,0.364h9.081v12.468c0,0.274,0.182,0.459,0.364,0.459h12.076 + c0.363,0,0.453-0.185,0.453-0.552V25.003L39.529,25.096z"/> + <path fill="#3B6EEA" d="M39.504,25.087c0.271,0,0.271-0.274,0.184-0.459L24.365,9.436c-0.454-0.457-0.634-0.366-0.906,0 + L8.319,24.628c-0.09,0.093-0.09,0.367,0.09,0.367h9.065v12.446c0,0.272,0.182,0.457,0.363,0.457h12.06 + c0.359,0,0.451-0.185,0.451-0.549V24.995L39.504,25.087z"/> + <path fill="#3C6FEA" d="M39.479,25.077c0.271,0,0.271-0.272,0.183-0.457L24.364,9.451c-0.453-0.456-0.633-0.366-0.905,0 + L8.346,24.62c-0.09,0.092-0.09,0.364,0.09,0.364h9.05v12.429c0,0.274,0.182,0.457,0.363,0.457h12.036 + c0.361,0,0.451-0.183,0.451-0.55V24.984L39.479,25.077z"/> + <path fill="#3D70EB" d="M39.451,25.066c0.271,0,0.271-0.272,0.181-0.457L24.363,9.464c-0.452-0.455-0.632-0.365-0.903,0 + L8.374,24.609c-0.09,0.093-0.09,0.367,0.089,0.367h9.034v12.406c0,0.271,0.181,0.456,0.362,0.456h12.016 + c0.359,0,0.45-0.185,0.45-0.549V24.977L39.451,25.066z"/> + <path fill="#3E71EB" d="M39.424,25.059c0.271,0,0.271-0.272,0.182-0.457L24.363,9.479c-0.451-0.455-0.631-0.365-0.901,0 + L8.4,24.602c-0.09,0.092-0.09,0.365,0.09,0.365h9.019v12.389c0,0.272,0.181,0.457,0.362,0.457h11.992 + c0.361,0,0.451-0.185,0.451-0.547V24.967L39.424,25.059z"/> + <path fill="#3F72EC" d="M39.396,25.048c0.271,0,0.271-0.272,0.182-0.455L24.362,9.495c-0.45-0.454-0.63-0.364-0.9,0L8.427,24.593 + c-0.09,0.093-0.09,0.363,0.089,0.363h9.003v12.371c0,0.272,0.181,0.455,0.361,0.455h11.976c0.357,0,0.447-0.183,0.447-0.548 + V24.956L39.396,25.048z"/> + <path fill="#4073EC" d="M39.371,25.038c0.271,0,0.271-0.272,0.18-0.455L24.362,9.509c-0.45-0.453-0.629-0.363-0.898,0 + L8.454,24.583c-0.09,0.093-0.09,0.362,0.089,0.362h8.987v12.354c0,0.271,0.181,0.454,0.36,0.454h11.954 + c0.358,0,0.448-0.183,0.448-0.545v-12.26L39.371,25.038z"/> + <path fill="#4174ED" d="M39.346,25.029c0.271,0,0.271-0.271,0.18-0.454L24.361,9.523c-0.449-0.453-0.627-0.363-0.897,0 + L8.481,24.575c-0.089,0.092-0.089,0.362,0.089,0.362h8.972V37.27c0,0.272,0.18,0.455,0.359,0.455h11.933 + c0.357,0,0.445-0.183,0.445-0.545V24.938L39.346,25.029z"/> + <path fill="#4275ED" d="M39.316,25.02c0.271,0,0.271-0.271,0.181-0.453L24.36,9.539c-0.448-0.452-0.626-0.362-0.895,0 + L8.508,24.566c-0.09,0.091-0.09,0.36,0.088,0.36h8.957V37.24c0,0.271,0.18,0.451,0.359,0.451h11.912 + c0.355,0,0.445-0.183,0.445-0.543V24.93L39.316,25.02z"/> + <path fill="#4376EE" d="M39.291,25.01c0.27,0,0.27-0.271,0.18-0.453L24.36,9.553c-0.447-0.451-0.625-0.361-0.894,0L8.535,24.559 + c-0.089,0.09-0.089,0.362,0.089,0.362h8.941v12.293c0,0.271,0.179,0.451,0.358,0.451h11.892c0.356,0,0.445-0.181,0.445-0.543 + V24.919L39.291,25.01z"/> + <path fill="#4477EE" d="M39.266,24.999c0.27,0,0.27-0.271,0.18-0.451L24.359,9.566c-0.446-0.45-0.625-0.361-0.893,0L8.562,24.549 + c-0.089,0.09-0.089,0.362,0.088,0.362h8.925v12.272c0,0.271,0.179,0.45,0.358,0.45h11.87c0.356,0,0.445-0.182,0.445-0.542V24.911 + L39.266,24.999z"/> + <path fill="#4578EF" d="M39.236,24.991c0.27,0,0.27-0.271,0.18-0.451L24.359,9.582c-0.446-0.45-0.624-0.36-0.891,0L8.589,24.54 + C8.5,24.63,8.5,24.9,8.677,24.9h8.91v12.254c0,0.271,0.179,0.451,0.357,0.451h11.85c0.354,0,0.442-0.182,0.442-0.541V24.9 + L39.236,24.991z"/> + <path fill="#4679EF" d="M39.211,24.98c0.27,0,0.27-0.271,0.18-0.449L24.358,9.597c-0.445-0.449-0.622-0.36-0.889,0L8.616,24.531 + c-0.089,0.089-0.089,0.359,0.088,0.359h8.894v12.233c0,0.271,0.179,0.451,0.356,0.451h11.83c0.354,0,0.442-0.183,0.442-0.541 + V24.891L39.211,24.98z"/> + <path fill="#477AF0" d="M39.186,24.973c0.269,0,0.269-0.271,0.178-0.451L24.357,9.61c-0.444-0.448-0.621-0.359-0.888,0 + L8.643,24.521c-0.088,0.09-0.088,0.358,0.088,0.358h8.878v12.218c0,0.271,0.179,0.448,0.356,0.448h11.809 + c0.354,0,0.441-0.182,0.441-0.54V24.882L39.186,24.973z"/> + <path fill="#487BF0" d="M39.158,24.962c0.267,0,0.267-0.271,0.178-0.448L24.356,9.625c-0.443-0.447-0.62-0.359-0.886,0 + L8.669,24.514c-0.088,0.09-0.088,0.358,0.088,0.358h8.863v12.196c0,0.271,0.178,0.449,0.355,0.449h11.789 + c0.354,0,0.44-0.181,0.44-0.539V24.872L39.158,24.962z"/> + <path fill="#497CF1" d="M39.132,24.952c0.267,0,0.267-0.269,0.179-0.447L24.356,9.64c-0.442-0.446-0.619-0.358-0.884,0 + L8.697,24.504c-0.088,0.09-0.088,0.357,0.087,0.357h8.847V37.04c0,0.271,0.178,0.449,0.355,0.449h11.768 + c0.354,0,0.439-0.181,0.439-0.539V24.861L39.132,24.952z"/> + <path fill="#4A7DF1" d="M39.104,24.943c0.269,0,0.269-0.271,0.18-0.448L24.355,9.655c-0.442-0.446-0.618-0.358-0.883,0 + L8.724,24.496c-0.088,0.089-0.088,0.357,0.087,0.357h8.832v12.16c0,0.268,0.177,0.445,0.354,0.445h11.747 + c0.354,0,0.439-0.182,0.439-0.537V24.854L39.104,24.943z"/> + <path fill="#4B7EF2" d="M39.078,24.934c0.265,0,0.265-0.269,0.177-0.447L24.355,9.67c-0.441-0.445-0.617-0.357-0.881,0 + L8.751,24.486c-0.088,0.091-0.088,0.357,0.087,0.357h8.816v12.14c0,0.27,0.177,0.447,0.354,0.447h11.727 + c0.354,0,0.438-0.18,0.438-0.535V24.844L39.078,24.934z"/> + <path fill="#4C7FF2" d="M39.052,24.924c0.265,0,0.265-0.27,0.177-0.446L24.354,9.684c-0.44-0.444-0.616-0.356-0.879,0 + L8.777,24.478c-0.088,0.09-0.088,0.355,0.087,0.355h8.8v12.121c0,0.269,0.177,0.444,0.353,0.444h11.706 + c0.354,0,0.438-0.178,0.438-0.534V24.833L39.052,24.924z"/> + <path fill="#4D80F3" d="M39.023,24.913c0.266,0,0.266-0.269,0.178-0.444L24.354,9.699c-0.439-0.444-0.615-0.356-0.878,0 + L8.804,24.469c-0.087,0.09-0.087,0.356,0.087,0.356h8.785v12.101c0,0.268,0.177,0.444,0.353,0.444h11.684 + c0.352,0,0.438-0.179,0.438-0.533V24.825L39.023,24.913z"/> + <path fill="#4E81F3" d="M38.998,24.904c0.266,0,0.266-0.269,0.176-0.445L24.353,9.712c-0.439-0.443-0.614-0.355-0.877,0 + L8.832,24.459c-0.088,0.089-0.088,0.355,0.086,0.355h8.77v12.082c0,0.269,0.176,0.443,0.352,0.443h11.664 + c0.351,0,0.438-0.179,0.438-0.531V24.814L38.998,24.904z"/> + <path fill="#4F82F4" d="M38.973,24.896c0.264,0,0.264-0.27,0.176-0.445L24.353,9.728c-0.438-0.442-0.613-0.355-0.875,0 + L8.858,24.451c-0.087,0.089-0.087,0.355,0.087,0.355h8.754V36.87c0,0.266,0.176,0.442,0.351,0.442h11.644 + c0.352,0,0.438-0.18,0.438-0.533V24.807L38.973,24.896z"/> + <path fill="#5083F4" d="M38.943,24.886c0.264,0,0.264-0.268,0.177-0.444l-14.769-14.7c-0.437-0.441-0.611-0.354-0.874,0 + l-14.593,14.7c-0.087,0.09-0.087,0.354,0.086,0.354h8.738v12.043c0,0.267,0.176,0.443,0.351,0.443h11.623 + c0.351,0,0.438-0.179,0.438-0.531V24.796L38.943,24.886z"/> + <path fill="#5184F5" d="M38.919,24.876c0.263,0,0.263-0.267,0.174-0.443L24.351,9.756c-0.437-0.441-0.61-0.354-0.872,0 + L8.912,24.434c-0.087,0.089-0.087,0.354,0.086,0.354h8.723v12.022c0,0.267,0.175,0.44,0.35,0.44h11.602 + c0.349,0,0.437-0.178,0.437-0.528V24.788L38.919,24.876z"/> + <path fill="#5285F5" d="M38.893,24.866c0.262,0,0.262-0.267,0.176-0.441L24.351,9.771c-0.436-0.44-0.609-0.353-0.871,0 + L8.939,24.425c-0.087,0.089-0.087,0.353,0.086,0.353h8.707v12.009c0,0.265,0.175,0.438,0.349,0.438h11.581 + c0.348,0,0.436-0.177,0.436-0.529V24.777L38.893,24.866z"/> + <path fill="#5386F6" d="M38.863,24.855c0.263,0,0.263-0.266,0.176-0.44L24.35,9.786c-0.435-0.439-0.608-0.353-0.869,0 + L8.966,24.415C8.88,24.504,8.88,24.77,9.052,24.77h8.691v11.983c0,0.267,0.175,0.44,0.349,0.44h11.561 + c0.349,0,0.435-0.176,0.435-0.528V24.77L38.863,24.855z"/> + <path fill="#5487F6" d="M38.839,24.848c0.261,0,0.261-0.267,0.175-0.439L24.349,9.801c-0.434-0.439-0.607-0.352-0.867,0 + L8.993,24.407c-0.087,0.089-0.087,0.353,0.086,0.353h8.676v11.967c0,0.267,0.174,0.44,0.348,0.44h11.54 + c0.349,0,0.435-0.178,0.435-0.528v-11.88L38.839,24.848z"/> + <path fill="#5588F7" d="M38.812,24.837c0.262,0,0.262-0.264,0.174-0.439L24.349,9.814c-0.433-0.438-0.606-0.352-0.866,0 + L9.02,24.397c-0.086,0.088-0.086,0.352,0.086,0.352h8.66v11.949c0,0.262,0.174,0.438,0.347,0.438h11.519 + c0.347,0,0.433-0.177,0.433-0.528V24.749L38.812,24.837z"/> + <path fill="#5689F7" d="M38.785,24.829c0.26,0,0.26-0.265,0.173-0.439L24.348,9.83c-0.432-0.438-0.604-0.351-0.864,0L9.047,24.389 + c-0.086,0.088-0.086,0.353,0.085,0.353h8.645V36.67c0,0.264,0.174,0.438,0.347,0.438h11.498c0.345,0,0.431-0.176,0.431-0.524 + v-11.84L38.785,24.829z"/> + <path fill="#578AF8" d="M38.759,24.818c0.261,0,0.261-0.264,0.175-0.438L24.347,9.844c-0.432-0.437-0.604-0.35-0.863,0 + L9.074,24.379c-0.086,0.088-0.086,0.352,0.085,0.352h8.629v11.91c0,0.262,0.173,0.438,0.346,0.438h11.476 + c0.348,0,0.434-0.177,0.434-0.524V24.73L38.759,24.818z"/> + <path fill="#588BF8" d="M38.73,24.809c0.258,0,0.258-0.263,0.172-0.438L24.347,9.858c-0.431-0.436-0.603-0.35-0.861,0 + L9.101,24.372c-0.086,0.088-0.086,0.351,0.085,0.351H17.8v11.892c0,0.262,0.173,0.438,0.345,0.438h11.458 + c0.344,0,0.428-0.177,0.428-0.524V24.721L38.73,24.809z"/> + <path fill="#598CF9" d="M38.705,24.799c0.259,0,0.259-0.262,0.173-0.438L24.346,9.873c-0.43-0.435-0.602-0.349-0.86,0 + L9.128,24.361c-0.086,0.088-0.086,0.351,0.085,0.351h8.598v11.869c0,0.263,0.173,0.438,0.345,0.438h11.436 + c0.344,0,0.43-0.178,0.43-0.524V24.712L38.705,24.799z"/> + <path fill="#5A8DF9" d="M38.68,24.79c0.258,0,0.258-0.265,0.172-0.438L24.345,9.888c-0.429-0.435-0.6-0.349-0.858,0L9.155,24.353 + c-0.086,0.088-0.086,0.35,0.085,0.35h8.583v11.852c0,0.262,0.172,0.438,0.344,0.438h11.414c0.343,0,0.428-0.177,0.428-0.524 + V24.702L38.68,24.79z"/> + <path fill="#5B8EFA" d="M38.65,24.779c0.259,0,0.259-0.262,0.173-0.437L24.345,9.902c-0.428-0.434-0.599-0.348-0.856,0 + L9.182,24.345c-0.085,0.087-0.085,0.348,0.085,0.348h8.567v11.832c0,0.262,0.172,0.438,0.343,0.438h11.396 + c0.342,0,0.427-0.176,0.427-0.523V24.691L38.65,24.779z"/> + <path fill="#5C8FFA" d="M38.626,24.771c0.256,0,0.256-0.263,0.171-0.437L24.344,9.917c-0.428-0.433-0.599-0.348-0.855,0 + L9.209,24.335c-0.085,0.087-0.085,0.349,0.084,0.349h8.552v11.812c0,0.262,0.172,0.438,0.343,0.438h11.375 + c0.342,0,0.426-0.176,0.426-0.521V24.684L38.626,24.771z"/> + <path fill="#5D90FB" d="M38.6,24.761c0.258,0,0.258-0.261,0.172-0.434L24.344,9.932c-0.427-0.432-0.598-0.347-0.854,0 + L9.235,24.327c-0.085,0.087-0.085,0.347,0.084,0.347h8.536v11.794c0,0.261,0.172,0.435,0.343,0.435h11.353 + c0.342,0,0.428-0.174,0.428-0.521V24.674L38.6,24.761z"/> + <path fill="#5E91FB" d="M38.57,24.751c0.258,0,0.258-0.26,0.173-0.434l-14.4-14.372c-0.426-0.432-0.596-0.346-0.852,0 + L9.263,24.317c-0.085,0.087-0.085,0.346,0.084,0.346h8.52v11.776c0,0.259,0.171,0.433,0.342,0.433h11.332 + c0.34,0,0.424-0.174,0.424-0.521V24.663L38.57,24.751z"/> + <path fill="#5F92FC" d="M38.546,24.743c0.255,0,0.255-0.262,0.17-0.435L24.342,9.96c-0.425-0.431-0.595-0.346-0.85,0L9.29,24.309 + c-0.085,0.087-0.085,0.347,0.084,0.347h8.504v11.756c0,0.258,0.171,0.434,0.341,0.434h11.311c0.342,0,0.426-0.176,0.426-0.521 + V24.654L38.546,24.743z"/> + <path fill="#6093FC" d="M38.521,24.732c0.254,0,0.254-0.26,0.17-0.435L24.342,9.976c-0.425-0.43-0.594-0.345-0.849,0L9.316,24.3 + c-0.085,0.087-0.085,0.347,0.084,0.347h8.489v11.735c0,0.259,0.171,0.433,0.341,0.433h11.292c0.34,0,0.424-0.174,0.424-0.521 + V24.646L38.521,24.732z"/> + <path fill="#6194FD" d="M38.492,24.723c0.255,0,0.255-0.259,0.17-0.432L24.341,9.99c-0.424-0.43-0.593-0.345-0.847,0L9.343,24.291 + c-0.084,0.086-0.084,0.345,0.084,0.345H17.9v11.718c0,0.258,0.17,0.433,0.34,0.433h11.27c0.34,0,0.424-0.175,0.424-0.519V24.636 + L38.492,24.723z"/> + <path fill="#6295FD" d="M38.466,24.712c0.255,0,0.255-0.258,0.169-0.43L24.34,10.004c-0.423-0.429-0.592-0.344-0.846,0 + L9.37,24.283c-0.084,0.086-0.084,0.345,0.084,0.345h8.458v11.697c0,0.258,0.17,0.43,0.339,0.43H29.5 + c0.338,0,0.422-0.172,0.422-0.516V24.626L38.466,24.712z"/> + <path fill="#6396FE" d="M38.438,24.704c0.254,0,0.254-0.259,0.17-0.431L24.34,10.019c-0.422-0.428-0.591-0.343-0.844,0 + L9.397,24.273c-0.084,0.086-0.084,0.345,0.083,0.345h8.442v11.678c0,0.259,0.17,0.431,0.339,0.431H29.49 + c0.338,0,0.422-0.172,0.422-0.517V24.618L38.438,24.704z"/> + <path fill="#6497FE" d="M38.413,24.693c0.252,0,0.252-0.257,0.168-0.429l-14.242-14.23c-0.422-0.427-0.59-0.343-0.843,0 + L9.424,24.265c-0.084,0.086-0.084,0.342,0.083,0.342h8.427v11.66c0,0.258,0.169,0.43,0.338,0.43H29.48 + c0.336,0,0.42-0.172,0.42-0.516V24.607L38.413,24.693z"/> + <path fill="#6598FF" d="M38.387,24.686c0.254,0,0.254-0.259,0.17-0.43L24.338,10.047c-0.42-0.426-0.588-0.342-0.841,0 + L9.451,24.255c-0.084,0.086-0.084,0.343,0.083,0.343h8.411V36.24c0,0.256,0.169,0.428,0.337,0.428h11.187 + c0.338,0,0.42-0.172,0.42-0.516V24.6L38.387,24.686z"/> + <path fill="#6699FF" d="M38.357,24.675c0.252,0,0.252-0.257,0.168-0.428L24.338,10.062c-0.42-0.426-0.587-0.342-0.839,0 + L9.478,24.247c-0.084,0.086-0.084,0.342,0.083,0.342h8.396V36.21c0,0.256,0.169,0.429,0.337,0.429h11.167 + c0.335,0,0.418-0.173,0.418-0.515V24.589L38.357,24.675z"/> + </g> + + <linearGradient id="XMLID_20_" gradientUnits="userSpaceOnUse" x1="-1371.771" y1="-727.9985" x2="-1398.6362" y2="-727.9985" gradientTransform="matrix(4.371139e-08 -1 -1 -4.371139e-08 -703.999 -1361.9985)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#6699FF"/> + </linearGradient> + <path fill="url(#XMLID_20_)" d="M38.357,24.675c0.252,0,0.252-0.257,0.168-0.428L24.338,10.062c-0.42-0.426-0.587-0.342-0.839,0 + L9.478,24.247c-0.084,0.086-0.084,0.342,0.083,0.342h8.396V36.21c0,0.256,0.169,0.429,0.337,0.429h11.167 + c0.335,0,0.418-0.173,0.418-0.515V24.589L38.357,24.675z"/> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M48-0.058v48H0v-48H48z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/warning.svg b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/warning.svg new file mode 100644 index 0000000000..ae0081d88a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/colorsvg/warning.svg @@ -0,0 +1,232 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [ + <!ENTITY ns_svg "http://www.w3.org/2000/svg"> + <!ENTITY ns_xlink "http://www.w3.org/1999/xlink"> +]> +<svg version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="48" height="48" viewBox="0 0 48 48" + overflow="visible" enable-background="new 0 0 48 48" xml:space="preserve"> +<g> + <path stroke="#FFFFFF" stroke-width="7.9139" stroke-linejoin="round" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2 + L31.6,42.3H16.4z"/> + <g> + <path fill="#990000" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/> + <polygon fill="#9A0000" points="16.415,42.266 5.736,31.586 5.736,16.416 16.415,5.737 31.585,5.737 42.266,16.416 42.266,31.586 + 31.585,42.266 "/> + <polygon fill="#9B0000" points="16.429,42.23 5.771,31.572 5.771,16.432 16.429,5.774 31.57,5.774 42.229,16.432 42.229,31.572 + 31.57,42.23 "/> + <polygon fill="#9C0000" points="16.444,42.195 5.806,31.559 5.806,16.447 16.444,5.81 31.557,5.81 42.191,16.447 42.191,31.559 + 31.557,42.195 "/> + <polygon fill="#9D0000" points="16.459,42.162 5.842,31.545 5.842,16.464 16.459,5.847 31.54,5.847 42.157,16.464 42.157,31.545 + 31.54,42.162 "/> + <polygon fill="#9E0000" points="16.473,42.128 5.877,31.531 5.877,16.479 16.473,5.884 31.525,5.884 42.122,16.479 42.122,31.531 + 31.525,42.128 "/> + <polygon fill="#9F0000" points="16.488,42.094 5.914,31.52 5.914,16.496 16.488,5.921 31.512,5.921 42.087,16.496 42.087,31.52 + 31.512,42.094 "/> + <polygon fill="#A00000" points="16.503,42.061 5.949,31.505 5.949,16.511 16.503,5.958 31.496,5.958 42.051,16.511 42.051,31.505 + 31.496,42.061 "/> + <polygon fill="#A10000" points="16.518,42.025 5.984,31.491 5.984,16.528 16.518,5.994 31.48,5.994 42.016,16.528 42.016,31.491 + 31.48,42.025 "/> + <polygon fill="#A20000" points="16.533,41.991 6.02,31.479 6.02,16.544 16.533,6.031 31.467,6.031 41.98,16.544 41.98,31.479 + 31.467,41.991 "/> + <polygon fill="#A30000" points="16.547,41.956 6.055,31.464 6.055,16.56 16.547,6.067 31.452,6.067 41.943,16.56 41.943,31.464 + 31.452,41.956 "/> + <polygon fill="#A40000" points="16.562,41.923 6.091,31.451 6.091,16.576 16.562,6.104 31.438,6.104 41.909,16.576 41.909,31.451 + 31.438,41.923 "/> + <polygon fill="#A50000" points="16.577,41.889 6.126,31.438 6.126,16.592 16.577,6.141 31.423,6.141 41.873,16.592 41.873,31.438 + 31.423,41.889 "/> + <polygon fill="#A60000" points="16.592,41.854 6.162,31.424 6.162,16.607 16.592,6.177 31.407,6.177 41.838,16.607 41.838,31.424 + 31.407,41.854 "/> + <polygon fill="#A70000" points="16.606,41.818 6.197,31.41 6.197,16.624 16.606,6.214 31.395,6.214 41.803,16.624 41.803,31.41 + 31.395,41.818 "/> + <polygon fill="#A80000" points="16.622,41.785 6.233,31.396 6.233,16.64 16.622,6.251 31.379,6.251 41.768,16.64 41.768,31.396 + 31.379,41.785 "/> + <polygon fill="#A90000" points="16.636,41.751 6.269,31.383 6.269,16.655 16.636,6.288 31.363,6.288 41.73,16.655 41.73,31.383 + 31.363,41.751 "/> + <polygon fill="#AA0000" points="16.65,41.716 6.304,31.369 6.304,16.671 16.65,6.325 31.35,6.325 41.695,16.671 41.695,31.369 + 31.35,41.716 "/> + <polygon fill="#AB0000" points="16.666,41.682 6.339,31.355 6.339,16.688 16.666,6.361 31.334,6.361 41.66,16.688 41.66,31.355 + 31.334,41.682 "/> + <polygon fill="#AC0000" points="16.681,41.648 6.375,31.343 6.375,16.704 16.681,6.398 31.318,6.398 41.625,16.704 41.625,31.343 + 31.318,41.648 "/> + <polygon fill="#AD0000" points="16.695,41.613 6.411,31.329 6.411,16.719 16.695,6.435 31.305,6.435 41.589,16.719 41.589,31.329 + 31.305,41.613 "/> + <polygon fill="#AE0000" points="16.709,41.579 6.446,31.314 6.446,16.735 16.709,6.472 31.29,6.472 41.555,16.735 41.555,31.314 + 31.29,41.579 "/> + <polygon fill="#AF0000" points="16.725,41.545 6.482,31.302 6.482,16.751 16.725,6.509 31.273,6.509 41.52,16.751 41.52,31.302 + 31.273,41.545 "/> + <polygon fill="#B00000" points="16.739,41.511 6.518,31.288 6.518,16.767 16.739,6.545 31.262,6.545 41.482,16.767 41.482,31.288 + 31.262,41.511 "/> + <polygon fill="#B10000" points="16.754,41.477 6.553,31.273 6.553,16.783 16.754,6.582 31.245,6.582 41.447,16.783 41.447,31.273 + 31.245,41.477 "/> + <polygon fill="#B20000" points="16.769,41.441 6.588,31.261 6.588,16.799 16.769,6.619 31.23,6.619 41.411,16.799 41.411,31.261 + 31.23,41.441 "/> + <polygon fill="#B30000" points="16.783,41.407 6.624,31.248 6.624,16.815 16.783,6.656 31.216,6.656 41.376,16.815 41.376,31.248 + 31.216,41.407 "/> + <polygon fill="#B40000" points="16.799,41.373 6.66,31.234 6.66,16.832 16.799,6.693 31.202,6.693 41.341,16.832 41.341,31.234 + 31.202,41.373 "/> + <polygon fill="#B50000" points="16.813,41.339 6.695,31.221 6.695,16.847 16.813,6.729 31.188,6.729 41.305,16.847 41.305,31.221 + 31.188,41.339 "/> + <polygon fill="#B60000" points="16.828,41.305 6.73,31.207 6.73,16.863 16.828,6.765 31.172,6.765 41.27,16.863 41.27,31.207 + 31.172,41.305 "/> + <polygon fill="#B70000" points="16.843,41.27 6.766,31.193 6.766,16.879 16.843,6.802 31.157,6.802 41.232,16.879 41.232,31.193 + 31.157,41.27 "/> + <polygon fill="#B80000" points="16.858,41.236 6.802,31.182 6.802,16.896 16.858,6.839 31.143,6.839 41.198,16.896 41.198,31.182 + 31.143,41.236 "/> + <polygon fill="#B90000" points="16.872,41.202 6.837,31.166 6.837,16.911 16.872,6.876 31.128,6.876 41.163,16.911 41.163,31.166 + 31.128,41.202 "/> + <polygon fill="#BA0000" points="16.887,41.167 6.873,31.152 6.873,16.927 16.887,6.913 31.111,6.913 41.127,16.927 41.127,31.152 + 31.111,41.167 "/> + <polygon fill="#BB0000" points="16.902,41.133 6.908,31.139 6.908,16.943 16.902,6.949 31.098,6.949 41.092,16.943 41.092,31.139 + 31.098,41.133 "/> + <polygon fill="#BC0000" points="16.917,41.1 6.944,31.126 6.944,16.959 16.917,6.986 31.083,6.986 41.057,16.959 41.057,31.126 + 31.083,41.1 "/> + <polygon fill="#BD0000" points="16.931,41.064 6.979,31.111 6.979,16.975 16.931,7.023 31.068,7.023 41.021,16.975 41.021,31.111 + 31.068,41.064 "/> + <polygon fill="#BE0000" points="16.946,41.029 7.015,31.1 7.015,16.991 16.946,7.06 31.055,7.06 40.984,16.991 40.984,31.1 + 31.055,41.029 "/> + <polygon fill="#BF0000" points="16.96,40.995 7.051,31.085 7.051,17.007 16.96,7.097 31.039,7.097 40.949,17.007 40.949,31.085 + 31.039,40.995 "/> + <polygon fill="#C00000" points="16.976,40.962 7.086,31.072 7.086,17.023 16.976,7.133 31.023,7.133 40.914,17.023 40.914,31.072 + 31.023,40.962 "/> + <polygon fill="#C10000" points="16.99,40.927 7.121,31.059 7.121,17.039 16.99,7.17 31.01,7.17 40.878,17.039 40.878,31.059 + 31.01,40.927 "/> + <polygon fill="#C20000" points="17.004,40.893 7.157,31.044 7.157,17.054 17.004,7.207 30.994,7.207 40.843,17.054 40.843,31.044 + 30.994,40.893 "/> + <polygon fill="#C30000" points="17.02,40.857 7.192,31.031 7.192,17.07 17.02,7.244 30.979,7.244 40.809,17.07 40.809,31.031 + 30.979,40.857 "/> + <polygon fill="#C40000" points="17.035,40.824 7.229,31.018 7.229,17.086 17.035,7.281 30.966,7.281 40.771,17.086 40.771,31.018 + 30.966,40.824 "/> + <polygon fill="#C50000" points="17.049,40.789 7.263,31.004 7.263,17.103 17.049,7.317 30.95,7.317 40.736,17.103 40.736,31.004 + 30.95,40.789 "/> + <polygon fill="#C60000" points="17.064,40.755 7.299,30.99 7.299,17.119 17.064,7.354 30.936,7.354 40.701,17.119 40.701,30.99 + 30.936,40.755 "/> + <polygon fill="#C70000" points="17.079,40.721 7.334,30.977 7.334,17.135 17.079,7.391 30.921,7.391 40.665,17.135 40.665,30.977 + 30.921,40.721 "/> + <polygon fill="#C80000" points="17.094,40.688 7.371,30.964 7.371,17.151 17.094,7.428 30.906,7.428 40.63,17.151 40.63,30.964 + 30.906,40.688 "/> + <polygon fill="#C90000" points="17.108,40.652 7.406,30.949 7.406,17.167 17.108,7.464 30.893,7.464 40.594,17.167 40.594,30.949 + 30.893,40.652 "/> + <polygon fill="#CA0000" points="17.123,40.618 7.441,30.936 7.441,17.182 17.123,7.5 30.877,7.5 40.559,17.182 40.559,30.936 + 30.877,40.618 "/> + <polygon fill="#CB0000" points="17.138,40.584 7.477,30.923 7.477,17.199 17.138,7.537 30.861,7.537 40.523,17.199 40.523,30.923 + 30.861,40.584 "/> + <polygon fill="#CC0000" points="17.153,40.55 7.513,30.909 7.513,17.215 17.153,7.574 30.848,7.574 40.486,17.215 40.486,30.909 + 30.848,40.55 "/> + <polygon fill="#CC0000" points="17.167,40.516 7.548,30.896 7.548,17.23 17.167,7.611 30.832,7.611 40.452,17.23 40.452,30.896 + 30.832,40.516 "/> + <polygon fill="#CD0000" points="17.182,40.48 7.583,30.882 7.583,17.246 17.182,7.647 30.816,7.647 40.416,17.246 40.416,30.882 + 30.816,40.48 "/> + <polygon fill="#CE0000" points="17.197,40.445 7.619,30.868 7.619,17.262 17.197,7.685 30.803,7.685 40.381,17.262 40.381,30.868 + 30.803,40.445 "/> + <polygon fill="#CF0000" points="17.211,40.412 7.654,30.855 7.654,17.278 17.211,7.721 30.788,7.721 40.346,17.278 40.346,30.855 + 30.788,40.412 "/> + <polygon fill="#D00000" points="17.226,40.378 7.69,30.842 7.69,17.294 17.226,7.758 30.773,7.758 40.311,17.294 40.311,30.842 + 30.773,40.378 "/> + <polygon fill="#D10000" points="17.241,40.344 7.726,30.828 7.726,17.311 17.241,7.794 30.759,7.794 40.273,17.311 40.273,30.828 + 30.759,40.344 "/> + <polygon fill="#D20000" points="17.256,40.311 7.761,30.814 7.761,17.326 17.256,7.831 30.744,7.831 40.238,17.326 40.238,30.814 + 30.744,40.311 "/> + <polygon fill="#D30000" points="17.271,40.273 7.796,30.801 7.796,17.342 17.271,7.868 30.729,7.868 40.203,17.342 40.203,30.801 + 30.729,40.273 "/> + <polygon fill="#D40000" points="17.285,40.24 7.832,30.787 7.832,17.358 17.285,7.905 30.715,7.905 40.168,17.358 40.168,30.787 + 30.715,40.24 "/> + <polygon fill="#D50000" points="17.3,40.206 7.868,30.773 7.868,17.374 17.3,7.941 30.7,7.941 40.132,17.374 40.132,30.773 + 30.7,40.206 "/> + <polygon fill="#D60000" points="17.315,40.172 7.903,30.761 7.903,17.39 17.315,7.979 30.686,7.979 40.098,17.39 40.098,30.761 + 30.686,40.172 "/> + <polygon fill="#D70000" points="17.33,40.139 7.938,30.747 7.938,17.406 17.33,8.015 30.67,8.015 40.062,17.406 40.062,30.747 + 30.67,40.139 "/> + <polygon fill="#D80000" points="17.344,40.104 7.974,30.732 7.974,17.422 17.344,8.052 30.654,8.052 40.025,17.422 40.025,30.732 + 30.654,40.104 "/> + <polygon fill="#D90000" points="17.359,40.068 8.01,30.721 8.01,17.438 17.359,8.089 30.641,8.089 39.99,17.438 39.99,30.721 + 30.641,40.068 "/> + <polygon fill="#DA0000" points="17.374,40.034 8.045,30.706 8.045,17.454 17.374,8.125 30.626,8.125 39.954,17.454 39.954,30.706 + 30.626,40.034 "/> + <polygon fill="#DB0000" points="17.389,40 8.081,30.691 8.081,17.47 17.389,8.162 30.611,8.162 39.919,17.47 39.919,30.691 + 30.611,40 "/> + <polygon fill="#DC0000" points="17.403,39.966 8.116,30.68 8.116,17.486 17.403,8.199 30.598,8.199 39.884,17.486 39.884,30.68 + 30.598,39.966 "/> + <polygon fill="#DD0000" points="17.418,39.932 8.152,30.665 8.152,17.502 17.418,8.235 30.582,8.235 39.848,17.502 39.848,30.665 + 30.582,39.932 "/> + <polygon fill="#DE0000" points="17.433,39.896 8.188,30.652 8.188,17.518 17.433,8.272 30.566,8.272 39.812,17.518 39.812,30.652 + 30.566,39.896 "/> + <polygon fill="#DF0000" points="17.448,39.863 8.223,30.639 8.223,17.534 17.448,8.309 30.553,8.309 39.775,17.534 39.775,30.639 + 30.553,39.863 "/> + <polygon fill="#E00000" points="17.462,39.828 8.258,30.625 8.258,17.55 17.462,8.346 30.537,8.346 39.741,17.55 39.741,30.625 + 30.537,39.828 "/> + <polygon fill="#E10000" points="17.477,39.794 8.294,30.611 8.294,17.565 17.477,8.383 30.521,8.383 39.706,17.565 39.706,30.611 + 30.521,39.794 "/> + <polygon fill="#E20000" points="17.492,39.76 8.33,30.598 8.33,17.582 17.492,8.419 30.508,8.419 39.67,17.582 39.67,30.598 + 30.508,39.76 "/> + <polygon fill="#E30000" points="17.507,39.727 8.365,30.584 8.365,17.598 17.507,8.456 30.493,8.456 39.635,17.598 39.635,30.584 + 30.493,39.727 "/> + <polygon fill="#E40000" points="17.521,39.691 8.4,30.57 8.4,17.614 17.521,8.493 30.479,8.493 39.6,17.614 39.6,30.57 + 30.479,39.691 "/> + <polygon fill="#E50000" points="17.536,39.657 8.436,30.559 8.436,17.63 17.536,8.529 30.464,8.529 39.562,17.63 39.562,30.559 + 30.464,39.657 "/> + <polygon fill="#E60000" points="17.551,39.623 8.472,30.544 8.472,17.646 17.551,8.566 30.449,8.566 39.527,17.646 39.527,30.544 + 30.449,39.623 "/> + <polygon fill="#E70000" points="17.566,39.589 8.507,30.529 8.507,17.662 17.566,8.603 30.436,8.603 39.492,17.662 39.492,30.529 + 30.436,39.589 "/> + <polygon fill="#E80000" points="17.581,39.555 8.542,30.518 8.542,17.678 17.581,8.64 30.419,8.64 39.457,17.678 39.457,30.518 + 30.419,39.555 "/> + <polygon fill="#E90000" points="17.595,39.52 8.578,30.503 8.578,17.693 17.595,8.676 30.404,8.676 39.422,17.693 39.422,30.503 + 30.404,39.52 "/> + <polygon fill="#EA0000" points="17.61,39.484 8.614,30.489 8.614,17.709 17.61,8.713 30.391,8.713 39.387,17.709 39.387,30.489 + 30.391,39.484 "/> + <polygon fill="#EB0000" points="17.625,39.451 8.649,30.477 8.649,17.726 17.625,8.75 30.375,8.75 39.352,17.726 39.352,30.477 + 30.375,39.451 "/> + <polygon fill="#EC0000" points="17.64,39.417 8.685,30.462 8.685,17.742 17.64,8.787 30.359,8.787 39.314,17.742 39.314,30.462 + 30.359,39.417 "/> + <polygon fill="#ED0000" points="17.654,39.383 8.72,30.449 8.72,17.757 17.654,8.823 30.346,8.823 39.279,17.757 39.279,30.449 + 30.346,39.383 "/> + <polygon fill="#EE0000" points="17.669,39.35 8.756,30.436 8.756,17.773 17.669,8.86 30.331,8.86 39.244,17.773 39.244,30.436 + 30.331,39.35 "/> + <polygon fill="#EF0000" points="17.684,39.312 8.792,30.422 8.792,17.79 17.684,8.897 30.316,8.897 39.208,17.79 39.208,30.422 + 30.316,39.312 "/> + <polygon fill="#F00000" points="17.699,39.279 8.827,30.408 8.827,17.805 17.699,8.934 30.302,8.934 39.173,17.805 39.173,30.408 + 30.302,39.279 "/> + <polygon fill="#F10000" points="17.713,39.245 8.862,30.395 8.862,17.821 17.713,8.971 30.286,8.971 39.137,17.821 39.137,30.395 + 30.286,39.245 "/> + <polygon fill="#F20000" points="17.728,39.211 8.898,30.381 8.898,17.837 17.728,9.007 30.271,9.007 39.102,17.837 39.102,30.381 + 30.271,39.211 "/> + <polygon fill="#F30000" points="17.743,39.177 8.934,30.367 8.934,17.853 17.743,9.044 30.257,9.044 39.066,17.853 39.066,30.367 + 30.257,39.177 "/> + <polygon fill="#F40000" points="17.758,39.143 8.969,30.354 8.969,17.869 17.758,9.081 30.242,9.081 39.029,17.869 39.029,30.354 + 30.242,39.143 "/> + <polygon fill="#F50000" points="17.772,39.107 9.004,30.341 9.004,17.885 17.772,9.117 30.229,9.117 38.995,17.885 38.995,30.341 + 30.229,39.107 "/> + <polygon fill="#F60000" points="17.787,39.073 9.04,30.327 9.04,17.901 17.787,9.154 30.213,9.154 38.959,17.901 38.959,30.327 + 30.213,39.073 "/> + <polygon fill="#F70000" points="17.802,39.039 9.076,30.312 9.076,17.917 17.802,9.191 30.198,9.191 38.924,17.917 38.924,30.312 + 30.198,39.039 "/> + <polygon fill="#F80000" points="17.816,39.005 9.111,30.3 9.111,17.933 17.816,9.228 30.184,9.228 38.889,17.933 38.889,30.3 + 30.184,39.005 "/> + <polygon fill="#F90000" points="17.832,38.971 9.146,30.286 9.146,17.949 17.832,9.265 30.169,9.265 38.854,17.949 38.854,30.286 + 30.169,38.971 "/> + <polygon fill="#FA0000" points="17.846,38.938 9.182,30.271 9.182,17.965 17.846,9.301 30.154,9.301 38.816,17.965 38.816,30.271 + 30.154,38.938 "/> + <polygon fill="#FB0000" points="17.861,38.902 9.218,30.259 9.218,17.981 17.861,9.338 30.139,9.338 38.782,17.981 38.782,30.259 + 30.139,38.902 "/> + <polygon fill="#FC0000" points="17.875,38.867 9.253,30.246 9.253,17.997 17.875,9.375 30.124,9.375 38.746,17.997 38.746,30.246 + 30.124,38.867 "/> + <polygon fill="#FD0000" points="17.891,38.833 9.289,30.232 9.289,18.013 17.891,9.411 30.109,9.411 38.711,18.013 38.711,30.232 + 30.109,38.833 "/> + <polygon fill="#FE0000" points="17.905,38.799 9.324,30.219 9.324,18.029 17.905,9.448 30.096,9.448 38.675,18.029 38.675,30.219 + 30.096,38.799 "/> + <path fill="#FF0000" d="M17.92,38.766l-8.56-8.561v-12.16l8.56-8.56h12.16l8.561,8.56v12.16l-8.561,8.561H17.92z"/> + </g> + + <linearGradient id="XMLID_46_" gradientUnits="userSpaceOnUse" x1="582" y1="-986.6099" x2="582" y2="-1015.8911" gradientTransform="matrix(1 0 0 -1 -558 -977)"> + <stop offset="0" style="stop-color:#FFFFFF"/> + <stop offset="1" style="stop-color:#FF0000"/> + </linearGradient> + <path fill="url(#XMLID_46_)" d="M17.92,38.891L9.36,30.33V18.17l8.56-8.56h12.16l8.561,8.56v12.16l-8.561,8.561H17.92z"/> + <path d="M11.7,17.7l18.7,18.7l5.896-5.9L17.6,11.7l-5.9,5.9V17.7z"/> + <path d="M11.7,30.5l5.9,5.9l18.7-18.7L30.4,11.8L11.7,30.5z"/> +</g> +<g id="crop_x0020_marks"> + <path fill="none" d="M48,48H0V0h48V48z"/> +</g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/draft.png b/apache-fop/src/test/resources/docbook-xsl/images/draft.png new file mode 100644 index 0000000000..59673fe1cc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/draft.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/draft.svg b/apache-fop/src/test/resources/docbook-xsl/images/draft.svg new file mode 100644 index 0000000000..39dbe6a6d7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/draft.svg @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + Written by Thomas Schraitle <tom_schr@web.de> +--> +<svg version="1.1" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + id="draft-svg"> + <g id="draft" transform="rotate(-45)translate(-300,200)"> + <!--<circle r="2mm" cx="100mm" cy="100mm" fill="black"/>--> + <text x="100mm" y="100mm" fill="lightgray" + font-size="140pt" text-anchor="middle">Draft</text> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/home.gif b/apache-fop/src/test/resources/docbook-xsl/images/home.gif new file mode 100644 index 0000000000..6784f5bb01 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/home.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/home.png b/apache-fop/src/test/resources/docbook-xsl/images/home.png new file mode 100644 index 0000000000..cbb711de71 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/home.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/home.svg b/apache-fop/src/test/resources/docbook-xsl/images/home.svg new file mode 100644 index 0000000000..e803a3178f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/home.svg @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st1 "fill:none;stroke:none;"> + <!ENTITY st2 "fill:#000000;"> + <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:6.3469;stroke-linejoin:round;"> + <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;"> + <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st0;"> + <g style="&st4;"> + <path style="&st3;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2 + c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/> + <path style="&st2;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2 + c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/> + <path style="&st2;" d="M41.8,22.8l-5.1-4.2v-0.1L31,13.7v0l-6.5-5.5C24.2,8,24,8,23.8,8.2L6.2,22.9c-0.1,0.1-0.1,0.3,0.1,0.3h1.6H10h28.1h1.2h2.3c0.2,0,0.4-0.2,0.2-0.4z"/> + <path d="M35.8,16.8l0-5.1c0-0.2-0.1-0.4-0.3-0.4h-3.2c-0.2,0-0.3,0.1-0.3,0.3v2.2l3.9,2.9z"/> + <path d="M11.9,24.7V37c0,0.3,0.1,0.4,0.3,0.4h23.6c0.3,0,0.4-0.2,0.4-0.4V24.7H11.9z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st5;"> + <path style="&st1;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/important.gif b/apache-fop/src/test/resources/docbook-xsl/images/important.gif new file mode 100644 index 0000000000..6795d9a819 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/important.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/important.png b/apache-fop/src/test/resources/docbook-xsl/images/important.png new file mode 100644 index 0000000000..12c90f607a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/important.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/important.svg b/apache-fop/src/test/resources/docbook-xsl/images/important.svg new file mode 100644 index 0000000000..dd84f3fe36 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/important.svg @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;"> + <!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;"> + <!ENTITY st3 "fill:none;stroke:none;"> + <!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st5 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st4;"> + <g> + <path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/> + <path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/> + <path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/> + <g> + <path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/> + </g> + </g> + </g> + <g id="crop_x0020_marks" style="&st4;"> + <path style="&st3;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/important.tif b/apache-fop/src/test/resources/docbook-xsl/images/important.tif new file mode 100644 index 0000000000..184de63711 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/important.tif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/next.gif b/apache-fop/src/test/resources/docbook-xsl/images/next.gif new file mode 100644 index 0000000000..aa1516e691 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/next.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/next.png b/apache-fop/src/test/resources/docbook-xsl/images/next.png new file mode 100644 index 0000000000..45835bf89a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/next.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/next.svg b/apache-fop/src/test/resources/docbook-xsl/images/next.svg new file mode 100644 index 0000000000..75fa83ed8c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/next.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/> + <path style="&st3;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/note.gif b/apache-fop/src/test/resources/docbook-xsl/images/note.gif new file mode 100644 index 0000000000..f329d359e5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/note.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/note.png b/apache-fop/src/test/resources/docbook-xsl/images/note.png new file mode 100644 index 0000000000..d0c3c645ab Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/note.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/note.svg b/apache-fop/src/test/resources/docbook-xsl/images/note.svg new file mode 100644 index 0000000000..648299d26f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/note.svg @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:#FFFFFF;stroke-width:12.1438;stroke-linejoin:round;"> + <!ENTITY st1 "fill:none;stroke-width:1.2429;"> + <!ENTITY st2 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;"> + <!ENTITY st4 "fill:#FFFFFF;stroke-width:6.3824;stroke-linejoin:round;"> + <!ENTITY st5 "fill:none;stroke:none;"> + <!ENTITY st6 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st7 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;"> + <!ENTITY st8 "stroke:none;"> + <!ENTITY st9 "fill:none;stroke-width:4.9715;stroke-linejoin:round;"> +]> +<svg xmlns="http://www.w3.org/2000/svg" width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve"> + <g id="Layer_x0020_1" style="&st6;"> + <path style="&st0;" d="M35.7,19.8v18.9H11V8.8h13.9l10.8,11z"/> + <path style="&st3;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st7;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + <path style="&st4;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + <path style="&st2;" d="M35.7,8.8H11v29.9h24.7V8.8z"/> + </g> + <g id="Layer_x0020_4" style="&st6;"> + <path style="&st9;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st8;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/> + <path style="&st8;" d="M20.6,14.7l-2.5,2.5L17,13.4l3.6,1.3z"/> + <path style="&st1;" d="M19.6,22.2l3-0.3l2.4-2.4l0.4-2.8"/> + <path style="&st2;" d="M20.4,14.9L18.3,17l1.6,5.2l2.7-0.3l2.4-2.4l0.3-2.4l-5-2.2z"/> + </g> + <g id="crop" style="&st6;"> + <path style="&st5;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/note.tif b/apache-fop/src/test/resources/docbook-xsl/images/note.tif new file mode 100644 index 0000000000..08644d6b5d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/note.tif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/prev.gif b/apache-fop/src/test/resources/docbook-xsl/images/prev.gif new file mode 100644 index 0000000000..64ca8f3c7c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/prev.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/prev.png b/apache-fop/src/test/resources/docbook-xsl/images/prev.png new file mode 100644 index 0000000000..cf24654f8a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/prev.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/prev.svg b/apache-fop/src/test/resources/docbook-xsl/images/prev.svg new file mode 100644 index 0000000000..6d88ffdd0d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/prev.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/> + <path style="&st3;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/tip.gif b/apache-fop/src/test/resources/docbook-xsl/images/tip.gif new file mode 100644 index 0000000000..823f2b417c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/tip.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/tip.png b/apache-fop/src/test/resources/docbook-xsl/images/tip.png new file mode 100644 index 0000000000..5c4aab3bb3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/tip.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/tip.svg b/apache-fop/src/test/resources/docbook-xsl/images/tip.svg new file mode 100644 index 0000000000..4a64a1500e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/tip.svg @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:#000000;stroke-width:1.0944;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:none;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#FFFFFF;stroke-width:5.6139;stroke-miterlimit:4;"> + <!ENTITY st3 "fill:none;stroke:none;"> + <!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st5 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path d="M9.5,18.6c0,8,6.5,14.4,14.4,14.4c8,0,14.4-6.5,14.4-14.4c0-8-6.5-14.4-14.4-14.4c-8,0-14.4,6.5-14.4,14.4z M12.8,18.6c0-6.2,5-11.2,11.2-11.2c6.2,0,11.2,5,11.2,11.2c0,6.2-5,11.2-11.2,11.2c-6.2,0-11.2-5-11.2-11.2z"/> + <path d="M28.1,37.9l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/> + <path d="M28.1,34.8l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/> + <path d="M28.1,31.6l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8s0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8s-0.9-1.5-1.8-1.4z"/> + <path d="M23.1,41.3v0.9c0,0.9,0.7,1.6,1.6,1.6c0.9,0,1.6-0.7,1.6-1.6v-0.9h-3.3z"/> + <path style="&st1;" d="M35.9,18.7c0,6.6-5.4,12-12,12c-6.6,0-12-5.4-12-12s5.4-12,12-12c6.6,0,12,5.4,12,12z"/> + <path style="&st5;" d="M9.6,18.6c0,8,6.5,14.4,14.4,14.4c8,0,14.4-6.5,14.4-14.4c0-8-6.5-14.4-14.4-14.4c-8,0-14.4,6.5-14.4,14.4z M12.9,18.6c0-6.2,5-11.2,11.2-11.2c6.2,0,11.2,5,11.2,11.2c0,6.2-5,11.2-11.2,11.2c-6.2,0-11.2-5-11.2-11.2z"/> + <path style="&st5;" d="M28.2,37.9l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/> + <path style="&st5;" d="M28.2,34.7l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/> + <path style="&st5;" d="M28.2,31.6l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/> + <path style="&st5;" d="M23.1,41.3v0.9c0,0.9,0.7,1.6,1.6,1.6s1.6-0.7,1.6-1.6v-0.9h-3.3z"/> + <path style="&st0;" d="M22.3,28.3l-3.5-10.7c0,0,6.6,3.9,10.5,0"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st4;"> + <path style="&st3;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/tip.tif b/apache-fop/src/test/resources/docbook-xsl/images/tip.tif new file mode 100644 index 0000000000..4a3d8c75fd Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/tip.tif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/toc-blank.png b/apache-fop/src/test/resources/docbook-xsl/images/toc-blank.png new file mode 100644 index 0000000000..6ffad17a0c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/toc-blank.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/toc-minus.png b/apache-fop/src/test/resources/docbook-xsl/images/toc-minus.png new file mode 100644 index 0000000000..abbb020c8e Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/toc-minus.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/toc-plus.png b/apache-fop/src/test/resources/docbook-xsl/images/toc-plus.png new file mode 100644 index 0000000000..941312ce0d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/toc-plus.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/up.gif b/apache-fop/src/test/resources/docbook-xsl/images/up.gif new file mode 100644 index 0000000000..aabc2d0165 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/up.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/up.png b/apache-fop/src/test/resources/docbook-xsl/images/up.png new file mode 100644 index 0000000000..07634de26b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/up.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/up.svg b/apache-fop/src/test/resources/docbook-xsl/images/up.svg new file mode 100644 index 0000000000..d31aa9c809 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/up.svg @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:none;stroke:none;"> + <!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;"> + <!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st3 "stroke:none;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_3" style="&st2;"> + <g> + <path style="&st1;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/> + <path style="&st3;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st2;"> + <path style="&st0;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/warning.gif b/apache-fop/src/test/resources/docbook-xsl/images/warning.gif new file mode 100644 index 0000000000..3adf191293 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/warning.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/warning.png b/apache-fop/src/test/resources/docbook-xsl/images/warning.png new file mode 100644 index 0000000000..1c33db8f34 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/warning.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/images/warning.svg b/apache-fop/src/test/resources/docbook-xsl/images/warning.svg new file mode 100644 index 0000000000..fc8d7484cb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/images/warning.svg @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In --> +<!DOCTYPE svg [ + <!ENTITY st0 "fill:#000000;stroke:#FFFFFF;stroke-width:7.9139;stroke-linejoin:round;"> + <!ENTITY st1 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;"> + <!ENTITY st2 "fill:none;stroke:none;"> + <!ENTITY st3 "fill:#000000;"> + <!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;"> + <!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;"> +]> +<svg width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> + <g id="Layer_x0020_4" style="&st1;"> + <g style="&st4;"> + <path style="&st0;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/> + <path style="&st3;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/> + <path d="M11.7,17.7l18.7,18.7l5.9-5.9L17.6,11.7l-5.9,5.9z"/> + <path d="M11.7,30.5l5.9,5.9l18.7-18.7l-5.9-5.9L11.7,30.5z"/> + </g> + </g> + <g id="crop_x0020_marks" style="&st5;"> + <path style="&st2;" d="M48,48H0V0h48v48z"/> + </g> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/images/warning.tif b/apache-fop/src/test/resources/docbook-xsl/images/warning.tif new file mode 100644 index 0000000000..7b6611ec7a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/images/warning.tif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/install.sh b/apache-fop/src/test/resources/docbook-xsl/install.sh new file mode 100755 index 0000000000..40716191a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/install.sh @@ -0,0 +1,977 @@ +#!/bin/bash +# $Id: install.sh 7942 2008-03-26 06:08:08Z xmldoc $ +# $Source$ # + +# install.sh - Set up user environment for a XML/XSLT distribution + +# This is as an interactive installer for updating your +# environment to use an XML/XSLT distribution such as the DocBook +# XSL Stylesheets. Its main purpose is to configure your +# environment with XML catalog data and schema "locating rules" +# data provided in the XML/XSLT distribution. +# +# Although this installer was created for the DocBook project, it +# is a general-purpose tool that can be used with any XML/XSLT +# distribution that provides XML/SGML catalogs and locating rules. +# +# This script is mainly intended to make things easier for you if +# you want to install a particular XML/XSLT distribution that has +# not (yet) been packaged for your OS distro (Debian, Fedora, +# whatever), or to use "snapshot" or development releases +# +# It works by updating your shell startup file (e.g., .bashrc and +# .cshrc) and .emacs file and by finding or creating a writable +# CatalogManager.properties file to update. +# +# It makes backup copies of any files it touches, and also +# generates a uninstall.sh script for reverting its changes. +# +# In the same directory where it is located, it expects to find +# the following four files: +# - locatingrules.xml +# - catalog.xml +# - catalog +# - .urilist +# And if it's unable to locate a CatalogManager.properties file in +# your environment, it expects to find an "example" one in the +# same directory as itself, which it copies over to your +# ~/.resolver directory. +# +# If the distribution contains any executables, change the value +# of the thisBinDir to a colon-separated list of the pathnames of +# the directories that contain those executables. + +# mydir is the "canonical" absolute pathname for install.sh +mydir=$(cd -P $(dirname $0) && pwd -P) || exit 1 + +thisLocatingRules=$mydir/locatingrules.xml +thisXmlCatalog=$mydir/catalog.xml +thisSgmlCatalog=$mydir/catalog + +# .urilist file contains a list of pairs of local pathnames and +# URIs to test for catalog resolution +thisUriList=$mydir/.urilist +exampleCatalogManager=$mydir/.CatalogManager.properties.example +thisCatalogManager=$HOME/.resolver/CatalogManager.properties + +# thisBinDir directory is a colon-separated list of the pathnames +# to all directories that contain executables provided with the +# distribution (for example, the DocBook XSL Stylesheets +# distribution contains a "docbook-xsl-update" convenience script +# for rsync'ing up to the latest docbook-xsl snapshot). The +# install.sh script adds the value of thisBinDir to your PATH +# environment variable +thisBinDir=$mydir/tools/bin + +emit_message() { + echo "$1" 1>&2 +} + +if [ ! "${*#--batch}" = "$*" ]; then + batchmode="Yes"; +else + batchmode="No"; + emit_message + if [ ! "$1" = "--test" ]; then + emit_message "NOTE: For non-interactive installs/uninstalls, use --batch" + if [ ! "$1" = "--uninstall" ]; then + emit_message + fi + fi +fi + +osName="Unidentified" +if uname -s | grep -qi "cygwin"; then + osName="Cygwin" +fi + +classPathSeparator=":" +if [ "$osName" = "Cygwin" ]; then + thisJavaXmlCatalog=$(cygpath -m $thisXmlCatalog) + classPathSeparator=";" +else + thisJavaXmlCatalog=$thisXmlCatalog +fi + +main() { + removeOldFiles + checkRoot + updateCatalogManager + checkForResolver + writeDotFiles + updateUserStartupFiles + updateUserDotEmacs + writeUninstallFile + writeTestFile + printExitMessage +} + +removeOldFiles() { + rm -f $mydir/.profile.incl + rm -f $mydir/.cshrc.incl + rm -f $mydir/.emacs.el +} + +checkRoot() { + if [ $(id -u) == "0" ]; then + cat 1>&2 <<EOF + +WARNING: This install script is meant to be run as a non-root + user, but you are running it as root. + +EOF + read -s -n1 -p "Are you sure you want to continue? [No] " + emit_message "$REPLY" + case $REPLY in + [yY]) + emit_message + ;; + *) emit_message "OK, exiting without making changes." + exit + ;; + esac + fi + return 0 +} + +updateCatalogManager() { + + # - finds or creates a writable CatalogManager.properties file + # + # - adds the catalog.xml file for this distribution to the + # CatalogManager.properties file found + + if [ -z "$CLASSPATH" ]; then + cat 1>&2 <<EOF + +NOTE: There is no CLASSPATH variable set in your environment. + No attempt was made to find a CatalogManager.properties + file. Using $thisCatalogManager instead +EOF + else + # split CLASSPATH in a list of pathnames by replacing all separator + # characters with spaces + if [ "$osName" = "Cygwin" ]; then + pathnames=$(echo $CLASSPATH | tr ";" " ") + else + pathnames=$(echo $CLASSPATH | tr ":" " ") + fi + for path in $pathnames; do + if [ "$osName" = "Cygwin" ]; then + path=$(cygpath -u $path) + fi + # strip out trailing slash from pathname + path=$(echo $path | sed 's/\/$//') + # find CatalogManager.properties file + if [ -f $path/CatalogManager.properties ]; + then + existingCatalogManager=$path/CatalogManager.properties + break + fi + done + fi + # end of CLASSPATH check + + if [ -w "$existingCatalogManager" ]; then + # existing CatalogManager.properties was found and it is + # writable, so use it + myCatalogManager=$existingCatalogManager + else + if [ -f "$existingCatalogManager" ]; then + # a non-writable CatalogManager.properties exists, so emit a + # note saying that it won't be used + cat 1>&2 <<EOF +NOTE: $existingCatalogManager file found, + but you don't have permission to write to it. + Will instead use: + $thisCatalogManager +EOF + else + # CLASSPATH is set, but no CatalogManager.properties found + if [ -n "$CLASSPATH" ]; then + cat 1>&2 <<EOF +NOTE: No CatalogManager.properties found from CLASSPATH. + Will instead use: + $thisCatalogManager +EOF + fi + fi + if [ "$batchmode" = "Yes" ]; then + emit_message + fi + # end of check for existing writable CatalogManager.properties + + if [ -f $thisCatalogManager ]; then + myCatalogManager=$thisCatalogManager + else + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + emit_message + read -s -n1 -p "Create $thisCatalogManager file? [Yes] " + emit_message "$REPLY" + emit_message + fi + case $REPLY in + [nNqQ]) + emitNoChangeMsg + ;; + *) + if [ ! -d "${thisCatalogManager%/*}" ]; then + mkdir -p ${thisCatalogManager%/*} + fi + cp $mydir/.CatalogManager.properties.example $thisCatalogManager || exit 1 + emit_message "NOTE: Created the following file:" + emit_message " $thisCatalogManager" + myCatalogManager=$thisCatalogManager + ;; + esac + # end of creating "private" CatalogManager.properties + fi + # end of check for "private" CatalogManager.properties + fi + # end of check finding/creating writable CatalogManager.properties + + if [ -n "$myCatalogManager" ]; then + etcXmlCatalog= + catalogsLine=$(grep "^catalogs=" $myCatalogManager) + if [ -f /etc/xml/catalog ] && [ "$osName" != "Cygwin" ] \ + && [ "${catalogsLine#*/etc/xml/catalog*}" = "$catalogsLine" ]; then + cat 1>&2 <<EOF + +WARNING: /etc/xml/catalog exists but was not found in: + $myCatalogManager + If /etc/xml/catalog file has content, you probably + should reference it in: + $myCatalogManager + This installer can automatically add it for you, + but BE WARNED that once it has been added, the + uninstaller for this distribution CANNOT REMOVE IT + automatically during uninstall. If you no longer want + it included, you will need to remove it manually. + +EOF + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Add /etc/xml/catalog to $myCatalogManager? [Yes] " + emit_message "$REPLY" + fi + case $REPLY in + [nNqQ]) + emit_message + ;; + *) + etcXmlCatalog=/etc/xml/catalog + ;; + esac + fi + + catalogBackup="$myCatalogManager.$$.bak" + if [ ! -w "${myCatalogManager%/*}" ]; then + emit_message + emit_message "WARNING: ${myCatalogManager%/*} directory is not writable." + emit_message + emitNoChangeMsg + else + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + emit_message + emit_message "Add $thisJavaXmlCatalog" + read -s -n1 -p "to $myCatalogManager file? [Yes] " + emit_message "$REPLY" + emit_message + fi + case $REPLY in + [nNqQ]) + emitNoChangeMsg + ;; + *) + if [ "$catalogsLine" ] ; then + if [ "${catalogsLine#*$thisJavaXmlCatalog*}" != "$catalogsLine" ]; then + emit_message "NOTE: $thisJavaXmlCatalog" + emit_message " already in:" + emit_message " $myCatalogManager" + else + mv $myCatalogManager $catalogBackup || exit 1 + sed "s#^catalogs=\(.*\)\$#catalogs=$thisJavaXmlCatalog;\1;$etcXmlCatalog#" $catalogBackup \ + | sed 's/;\+/;/' | sed 's/;$//' > $myCatalogManager || exit 1 + emit_message "NOTE: Successfully updated the following file:" + emit_message " $myCatalogManager" + emit_message " Backup written to:" + emit_message " $catalogBackup" + fi + else + mv $myCatalogManager $catalogBackup || exit 1 + cp $catalogBackup $myCatalogManager + echo "catalogs=$thisJavaXmlCatalog;$etcXmlCatalog" \ + | sed 's/;\+/;/' | sed 's/;$//' >> $myCatalogManager || exit 1 + emit_message "NOTE: \"catalogs=\" line added to $myCatalogManager." + emit_message " Backup written to $catalogBackup" + fi + ;; + esac + # end of backing up and updating CatalogManager.properties + fi + fi + # end of CatalogManager.properties updates + + if [ "$osName" = "Cygwin" ]; then + myCatalogManager=$(cygpath -m $myCatalogManager) + fi + return 0 +} + +writeDotFiles() { + while read; do + echo "$REPLY" >> $mydir/.profile.incl + done <<EOF +# $thisBinDir is not in PATH, so add it +if [ "\${PATH#*$thisBinDir*}" = "\$PATH" ]; then + PATH="$thisBinDir:\$PATH" + export PATH +fi +if [ -z "\$XML_CATALOG_FILES" ]; then + XML_CATALOG_FILES="$thisXmlCatalog" +else + # $thisXmlCatalog is not in XML_CATALOG_FILES, so add it + if [ "\${XML_CATALOG_FILES#*$thisXmlCatalog*}" = "\$XML_CATALOG_FILES" ]; then + XML_CATALOG_FILES="$thisXmlCatalog \$XML_CATALOG_FILES" + fi +fi +# /etc/xml/catalog exists but is not in XML_CATALOG_FILES, so add it +if [ -f /etc/xml/catalog ] && \ + [ "\${XML_CATALOG_FILES#*/etc/xml/catalog*}" = "\$XML_CATALOG_FILES" ]; then + XML_CATALOG_FILES="\$XML_CATALOG_FILES /etc/xml/catalog" +fi +export XML_CATALOG_FILES + +if [ -z "\$SGML_CATALOG_FILES" ]; then + SGML_CATALOG_FILES="$thisSgmlCatalog" +else + # $thisSgmlCatalog is not in SGML_CATALOG_FILES, so add it + if [ "\${SGML_CATALOG_FILES#*$thisSgmlCatalog}" = "\$SGML_CATALOG_FILES" ]; then + SGML_CATALOG_FILES="$thisSgmlCatalog:\$SGML_CATALOG_FILES" + fi +fi +# /etc/sgml/catalog exists but is not in SGML_CATALOG_FILES, so add it +if [ -f /etc/sgml/catalog ] && \ + [ "\${SGML_CATALOG_FILES#*/etc/sgml/catalog*}" = "\$SGML_CATALOG_FILES" ]; then + SGML_CATALOG_FILES="\$SGML_CATALOG_FILES:/etc/sgml/catalog" +fi +export SGML_CATALOG_FILES +EOF + +while read; do + echo "$REPLY" >> $mydir/.cshrc.incl +done <<EOF +# $thisBinDir is not in PATH, so add it +if ( "\\\`echo \$PATH | grep -v $thisBinDir\\\`" != "" ) then + setenv PATH "$thisBinDir:\$PATH" +endif +if ( ! $\?XML_CATALOG_FILES ) then + setenv XML_CATALOG_FILES "$thisXmlCatalog" +# $thisXmlCatalog is not in XML_CATALOG_FILES, so add it +else if ( "\\\`echo \$XML_CATALOG_FILES | grep -v $thisXmlCatalog\\\`" != "" ) then + setenv XML_CATALOG_FILES "$thisXmlCatalog \$XML_CATALOG_FILES" +endif +endif +# /etc/xml/catalog exists but is not in XML_CATALOG_FILES, so add it +if ( -f /etc/xml/catalog && "\\\`echo \$XML_CATALOG_FILES | grep -v /etc/xml/catalog\\\`" != "" ) then + setenv XML_CATALOG_FILES "\$XML_CATALOG_FILES /etc/xml/catalog" +endif + +endif +if ( ! $\?SGML_CATALOG_FILES ) then + setenv SGML_CATALOG_FILES "$thisSgmlCatalog" +else if ( "\\\`echo \$SGML_CATALOG_FILES | grep -v $thisSgmlCatalog\\\`" != "" ) then + setenv SGML_CATALOG_FILES "$thisSgmlCatalog:\$SGML_CATALOG_FILES" +endif +endif +# /etc/SGML/catalog exists but is not in SGML_CATALOG_FILES, so add it +if ( -f /etc/sgml/catalog && "\\\`echo \$SGML_CATALOG_FILES | grep -v /etc/sgml/catalog\\\`" != "" ) then + setenv SGML_CATALOG_FILES {\$SGML_CATALOG_FILES}:/etc/sgml/catalog +endif +EOF + +if [ -n "$myCatalogManager" ]; then + myCatalogManagerDir=${myCatalogManager%/*} + while read; do + echo "$REPLY" >> $mydir/.profile.incl + done <<EOF + + +if [ -z "\$CLASSPATH" ]; then + CLASSPATH="$myCatalogManagerDir" +else + # $myCatalogManagerDir is not in CLASSPATH, so add it + if [ "\${CLASSPATH#*$myCatalogManagerDir*}" = "\$CLASSPATH" ]; then + CLASSPATH="$myCatalogManagerDir$classPathSeparator\$CLASSPATH" + fi +fi +export CLASSPATH +EOF + + while read; do + echo "$REPLY" >> $mydir/.cshrc.incl + done <<EOF + + +if ( ! $\?CLASSPATH ) then + setenv CLASSPATH "$myCatalogManagerDir" +# $myCatalogManagerDir is not in CLASSPATH, so add it +else if ( "\\\`echo \$CLASSPATH | grep -v $myCatalogManagerDir\\\`" != "" ) then + setenv CLASSPATH "$myCatalogManagerDir$classPathSeparator\$CLASSPATH" +endif +endif +EOF + +fi + +while read; do + echo "$REPLY" >> $mydir/.emacs.el +done <<EOF +(add-hook + 'nxml-mode-hook + (lambda () + (setq rng-schema-locating-files-default + (append '("$thisLocatingRules") + rng-schema-locating-files-default )))) +EOF + +return 0 +} + +updateUserStartupFiles() { + if [ ! "$batchmode" = "Yes" ]; then + cat 1>&2 <<EOF + +NOTE: To source your environment correctly for using the catalog + files in this distribution, you need to update one or more + of your shell startup files. This installer can + automatically make the necessary changes. Or, if you prefer, + you can make the changes manually. + +EOF + else + emit_message + fi + + # if running csh or tcsh, target .cshrc and .tcshrc files for + # update; otherwise, target .bash_* and .profiles + + parent=$(ps -p $PPID | grep "/") + if [ "${parent#*csh}" != "$parent" ] || [ "${parent#*tcsh}" != "$parent" ]; then + myStartupFiles=".cshrc .tcshrc" + appendLine="source $mydir/.cshrc.incl" + else + myStartupFiles=".bash_profile .bash_login .profile .bashrc" + appendLine=". $mydir/.profile.incl" + fi + + for file in $myStartupFiles; do + if [ -f "$HOME/$file" ]; then + dotFileBackup=$HOME/$file.$$.bak + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Update $HOME/$file? [Yes] " + emit_message "$REPLY" + fi + case $REPLY in + [nNqQ]) + cat 1>&2 <<EOF + +NOTE: No change made to $HOME/$file. You either need + to add the following line to it, or manually source + the shell environment for this distribution each + time you want use it. + +$appendLine + +EOF + ;; + *) + lineExists="$(grep "$appendLine" $HOME/$file )" + if [ ! "$lineExists" ]; then + mv $HOME/$file $dotFileBackup || exit 1 + cp $dotFileBackup $HOME/$file || exit 1 + echo "$appendLine" >> $HOME/$file || exit 1 + cat 1>&2 <<EOF +NOTE: Successfully updated the following file: + $HOME/$file + Backup written to: + $dotFileBackup + +EOF + else + cat 1>&2 <<EOF +NOTE: The following file already contains information for this + distribution, so I did not update it. + $HOME/$file + +EOF + fi + ;; + esac + fi + done + if [ -z "$dotFileBackup" ]; then + if [ ! "$batchmode" = "Yes" ]; then + emit_message + fi + cat 1>&2 <<EOF +NOTE: No shell startup files updated. You can source the + environment for this distribution manually, each time you + want to use it, by typing the following. + +$appendLine + +EOF + fi +} + +updateUserDotEmacs() { + if [ -f $thisLocatingRules ]; then + cat 1>&2 <<EOF + +NOTE: This distribution includes a "schema locating rules" file + for Emacs/nXML. To use it, you should update either your + .emacs or .emacs.el file. This installer can automatically + make the necessary changes. Or, if you prefer, you can make + the changes manually. + +EOF + + emacsAppendLine="(load-file \"$mydir/.emacs.el\")" + myEmacsFile= + for file in .emacs .emacs.el; do + if [ -f "$HOME/$file" ]; then + myEmacsFile=$HOME/$file + break + fi + done + if [ ! -f "$myEmacsFile" ]; then + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "No .emacs or .emacs.el file. Create one? [No] " + emit_message "$REPLY" + emit_message + fi + case $REPLY in + [yY]) + myEmacsFile=$HOME/.emacs + touch $myEmacsFile + ;; + *) + cat 1>&2 <<EOF +NOTE: No Emacs changes made. To use this distribution with, + Emacs/nXML, you can create a .emacs file and manually add + the following line to it, or you can run it as a command + within Emacs. + +$emacsAppendLine + +EOF + ;; + esac + fi + if [ -n "$myEmacsFile" ]; then + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Update $myEmacsFile? [Yes] " + emit_message "$REPLY" + emit_message + fi + case $REPLY in + [nNqQ]) + cat 1>&2 <<EOF + +NOTE: No change made to $myEmacsFile. To use this distribution + with Emacs/nXML, you can manually add the following line + to your $myEmacsFile, or you can run it as a command + within Emacs. + +$emacsAppendLine + +EOF + ;; + *) + lineExists="$(grep "$emacsAppendLine" $myEmacsFile)" + if [ ! "$lineExists" ]; then + dotEmacsBackup=$myEmacsFile.$$.bak + mv $myEmacsFile $dotEmacsBackup || exit 1 + cp $dotEmacsBackup $myEmacsFile || exit 1 + echo "$emacsAppendLine" >> $myEmacsFile || exit 1 + cat 1>&2 <<EOF +NOTE: Successfully updated the following file: + $myEmacsFile + Backup written to: + $dotEmacsBackup +EOF + else + cat 1>&2 <<EOF + +NOTE: The following file already contains information for this + distribution, so I did not update it. + $myEmacsFile + +EOF + fi + ;; + esac + fi +fi +} + +uninstall() { + if [ ! "$batchmode" = "Yes" ]; then + cat 1>&2 <<EOF + +NOTE: To "uninstall" this distribution, the changes made to your + CatalogManagers.properties, startup files, and/or .emacs + file need to be reverted. This uninstaller can automatically + revert them. Or, if you prefer, you can revert them manually. + +EOF + fi + + if [ "$osName" = "Cygwin" ]; then + thisXmlCatalog=$thisJavaXmlCatalog + fi + + # make "escaped" version of PWD to use with sed and grep + escapedPwd=$(echo $mydir | sed "s#/#\\\\\/#g") + + # check to see if a non-empty value for catalogManager was fed + # to uninstaller. + if [ -n ${1#--catalogManager=} ]; then + myCatalogManager=${1#--catalogManager=} + catalogBackup="$myCatalogManager.$$.bak" + catalogsLine=$(grep "^catalogs=" $myCatalogManager) + if [ "$catalogsLine" ] ; then + if [ "${catalogsLine#*$thisXmlCatalog*}" != "$catalogsLine" ]; then + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Revert $myCatalogManager? [Yes] " + emit_message "$REPLY" + fi + case $REPLY in + [nNqQ]*) + cat 1>&2 <<EOF + +NOTE: No change made to $myCatalogManager. You need to manually + remove the following path from the "catalog=" line. + + $thisXmlCatalog + +EOF + ;; + *) + mv $myCatalogManager $catalogBackup || exit 1 + sed "s#^catalogs=\(.*\)$thisXmlCatalog\(.*\)\$#catalogs=\1\2#" $catalogBackup \ + | sed 's/;\+/;/' | sed 's/;$//' | sed 's/=;/=/' > $myCatalogManager || exit 1 + cat 1>&2 <<EOF +NOTE: Successfully updated the following file: + $myCatalogManager + Backup written to: + $catalogBackup + +EOF + ;; + esac + else + emit_message "NOTE: No data for this distribution found in:" + emit_message " $myCatalogManager" + emit_message + fi + else + cat 1>&2 <<EOF +NOTE: No data for this distribution was found in the following + file, so I did not revert it. + $myCatalogManager +EOF + fi + fi + + if [ -n "$myEmacsFile" ]; then + # check to see if a non-empty value for --dotEmacs file was fed + # to uninstaller. + if [ -n ${2#--dotEmacs=} ]; then + myEmacsFile=${2#--dotEmacs=} + revertLine="(load-file \"$escapedPwd\/\.emacs\.el\")" + loadLine="$(grep "$revertLine" "$myEmacsFile")" + if [ -n "$loadLine" ]; then + emit_message + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Revert $myEmacsFile? [Yes] " + emit_message "$REPLY" + fi + case $REPLY in + [nNqQ]*) + cat 1>&2 <<EOF + +NOTE: No change made to $myEmacsFile. You need to manually +remove the following line. + +(load-file \"$mydir/.emacs.el\") + +EOF + ;; + *) + dotEmacsBackup=$myEmacsFile.$$.bak + sed -e "/$revertLine/d" -i".$$.bak" $myEmacsFile || exit 1 + cat 1>&2 <<EOF +NOTE: successfully reverted the following file: + $myEmacsFile + Backup written to: + $dotEmacsBackup + +EOF + ;; + esac + else + emit_message "NOTE: No data for this distribution found in:" + emit_message " $myEmacsFile" + fi + fi + fi + + # check all startup files + myStartupFiles=".bash_profile .bash_login .profile .bashrc .cshrc .tcshrc" + for file in $myStartupFiles; do + if [ -e "$HOME/$file" ]; then + case $file in + .tcshrc|.cshrc) + revertLine="source $mydir/.cshrc.incl" + revertLineEsc="source $escapedPwd\/\.cshrc\.incl" + ;; + *) + revertLine=". $mydir/.profile.incl" + revertLineEsc="\. $escapedPwd\/\.profile\.incl" + ;; + esac + lineExists="$(grep "$revertLineEsc" $HOME/$file )" + if [ "$lineExists" ]; then + REPLY="" + if [ ! "$batchmode" = "Yes" ]; then + read -s -n1 -p "Update $HOME/$file? [Yes] " + emit_message "$REPLY" + fi + case $REPLY in + [nNqQ]*) + cat 1>&2 <<EOF + +NOTE: No change made to $HOME/$file. You need to manually remove + the following line from it. + + $revertLine + +EOF + ;; + *) + dotFileBackup=$HOME/$file.$$.bak + sed -e "/$revertLineEsc/d" -i".$$.bak" $HOME/$file || exit 1 + cat 1>&2 <<EOF +NOTE: Successfully updated the following file: + $HOME/$file + Backup written to: + $dotFileBackup + +EOF + ;; + esac + else + emit_message "NOTE: No data for this distribution found in:" + emit_message " $HOME/$file" + emit_message + fi + fi + done + removeOldFiles + emit_message "Done. Deleted uninstall.sh file." + rm -f $mydir/test.sh || exit 1 + rm -f $mydir/uninstall.sh || exit 1 +} + +writeUninstallFile() { + uninstallFile=$mydir/uninstall.sh + echo '#!/bin/bash' > $uninstallFile || exit 1 + echo 'mydir=$(cd -P $(dirname $0) && pwd -P)' >> $uninstallFile || exit 1 + echo "\$mydir/install.sh \\" >> $uninstallFile || exit 1 + echo " --uninstall \\" >> $uninstallFile || exit 1 + echo " --catalogManager=$myCatalogManager \\" >> $uninstallFile || exit 1 + echo " --dotEmacs='$myEmacsFile' \\" >> $uninstallFile || exit 1 + echo ' $@' >> $uninstallFile || exit 1 + chmod 755 $uninstallFile || exit 1 +} + +writeTestFile() { + testFile=$mydir/test.sh + echo "#!/bin/bash" > $testFile || exit 1 + echo 'mydir=$(cd -P $(dirname $0) && pwd -P)' >> $testFile || exit 1 + echo '$mydir/install.sh --test' >> $testFile || exit 1 + chmod 755 $testFile || exit 1 +} + +printExitMessage() { + cat 1>&2 <<EOF +To source your shell environment for this distribution, type the +following: + +$appendLine + +EOF +} + +checkForResolver() { + resolverResponse="$(java org.apache.xml.resolver.apps.resolver uri -u foo 2>/dev/null)" + if [ -z "$resolverResponse" ]; then + cat 1>&2 <<EOF + +NOTE: Your environment does not seem to contain the Apache XML + Commons Resolver; without that, you can't use XML catalogs + with Java applications. For more information, see the "How + to use a catalog file" section in Bob Stayton's "DocBook + XSL: The Complete Guide" + + http://sagehill.net/docbookxsl/UseCatalog.html + +EOF + fi +} + +emitNoChangeMsg() { + cat 1>&2 <<EOF + +NOTE: No changes were made to CatalogManagers.properties. To + provide your Java tools with XML catalog information for + this distribution, you will need to make the appropriate + changes manually. + +EOF +} + +testCatalogs() { + if [ ! -f "$thisXmlCatalog" ]; then + cat 1>&2 <<EOF + +FATAL: $thisXmlCatalog file needed but not found. Stopping. +EOF + exit + fi + + if [ -z "$XML_CATALOG_FILES" ]; then + emit_message + emit_message "WARNING: XML_CATALOG_FILES not set. Not testing with xmlcatalog." + else + xmlCatalogResponse="$(xmlcatalog 2>/dev/null)" + if [ -z "$xmlCatalogResponse" ]; then + cat 1>&2 <<EOF + +WARNING: Cannot locate the "xmlcatalog" command. Make sure that + you have libxml2 and its associated utilities installed. + + http://xmlsoft.org/ + +EOF + else + emit_message "Testing with xmlcatalog..." + # read in pathname-uri pairs from .urilist file + while read pair; do + if [ ! "${pair%* *}" = "." ]; then + path=$mydir/${pair%* *} + else + path=$mydir/ + fi + uri=${pair#* *} + emit_message + emit_message " Tested: $uri" + for catalog in $XML_CATALOG_FILES; do + response="$(xmlcatalog $catalog $uri| grep -v "No entry")" + if [ -n "$response" ]; then + if [ "$response" = "$path" ]; then + emit_message " Result: $path" + break + else + emit_message " Result: FAILED" + fi + fi + done + done < $mydir/.urilist + fi + fi + + if [ -z "$CLASSPATH" ]; then + emit_message + emit_message "NOTE: CLASSPATH not set. Not testing with Apache XML Commons Resolver." + else + if [ "$(checkForResolver)" ]; then + checkForResolver + else + emit_message + emit_message "Testing with Apache XML Commons Resolver..." + # read in pathname-uri pairs from .urilist file + while read pair; do + if [ ! "${pair%* *}" = "." ]; then + path=$mydir/${pair%* *} + else + path=$mydir/ + fi + uri=${pair#* *} + emit_message + emit_message " Tested: $uri" + if [ ${uri%.dtd} != $uri ]; then + response="$(java org.apache.xml.resolver.apps.resolver system -s $uri | grep "Result")" + else + response="$(java org.apache.xml.resolver.apps.resolver uri -u $uri | grep "Result")" + fi + if [ "$response" ]; then + if [ "${response#*$path}" != "$response" ]; then + emit_message " Result: $path" + else + emit_message " Result: FAILED" + fi + echo + fi + done < $mydir/.urilist + fi + fi +} + +# get opts and execute appropriate function +case $1 in + *-uninstall) + uninstall $2 $3 $4 + ;; + *-test) + testCatalogs + ;; + *) + main + ;; +esac + +# Copyright +# --------- +# Copyright 2005-2007 Michael(tm) Smith <smith@sideshowbarker.net> +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation +# files (the "Software"), to deal in the Software without +# restriction, including without limitation the rights to use, copy, +# modify, merge, publish, distribute, sublicense, and/or sell copies +# of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + +# vim: number diff --git a/apache-fop/src/test/resources/docbook-xsl/javahelp/javahelp.xsl b/apache-fop/src/test/resources/docbook-xsl/javahelp/javahelp.xsl new file mode 100644 index 0000000000..0db925c05b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/javahelp/javahelp.xsl @@ -0,0 +1,621 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="doc ng db exsl"> + +<xsl:import href="../html/chunk.xsl"/> + +<xsl:output method="html"/> + +<!-- ******************************************************************** + $Id: javahelp.xsl 9152 2011-11-12 00:17:33Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="/"> + <!-- * Get a title for current doc so that we let the user --> + <!-- * know what document we are processing at this point. --> + <xsl:variable name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:variable> + <xsl:choose> + <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document, + toss the namespace and continue. Use the docbook5 namespaced + stylesheets for DocBook5 if you don't want to use this feature.--> + <xsl:when test="$exsl.node.set.available != 0 + and (*/self::ng:* or */self::db:*)"> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>stripped namespace before processing</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:variable name="nons"> + <xsl:apply-templates mode="stripNS"/> + </xsl:variable> + <xsl:call-template name="log.message"> + <xsl:with-param name="level">Note</xsl:with-param> + <xsl:with-param name="source" select="$doc.title"/> + <xsl:with-param name="context-desc"> + <xsl:text>namesp. cut</xsl:text> + </xsl:with-param> + <xsl:with-param name="message"> + <xsl:text>processing stripped document</xsl:text> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates select="exsl:node-set($nons)"/> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$rootid != ''"> + <xsl:choose> + <xsl:when test="count(key('id',$rootid)) = 0"> + <xsl:message terminate="yes"> + <xsl:text>ID '</xsl:text> + <xsl:value-of select="$rootid"/> + <xsl:text>' not found in document.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message> + <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="/" mode="process.root"/> + </xsl:otherwise> + </xsl:choose> + <xsl:for-each select="/"> <!-- This is just a hook for building profiling stylesheets --> + <xsl:call-template name="helpset"/> + <xsl:call-template name="helptoc"/> + <xsl:call-template name="helpmap"/> + <xsl:call-template name="helpidx"/> + </xsl:for-each> +</xsl:otherwise> +</xsl:choose> +</xsl:template> + +<xsl:param name="suppress.navigation" select="1"/> + +<!-- ==================================================================== --> + +<xsl:template name="helpset"> + <xsl:call-template name="write.chunk.with.doctype"> + <xsl:with-param name="filename" select="concat($chunk.base.dir,'jhelpset.hs')"/> + <xsl:with-param name="method" select="'xml'"/> + <xsl:with-param name="indent" select="'yes'"/> + <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN'"/> + <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/helpset_1_0.dtd'"/> + <xsl:with-param name="content"> + <xsl:call-template name="helpset.content"/> + </xsl:with-param> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="helpset.content"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:variable> + + <helpset version="1.0"> + <title> + <xsl:value-of select="normalize-space($title)"/> + + + + + top + + + + + + TOC + + javax.help.TOCView + jhelptoc.xml + + + + Index + + javax.help.IndexView + jhelpidx.xml + + + + Search + + javax.help.SearchView + JavaHelpSearch + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + , + + + + + + + + + + + + + + + + + + + + + bullet + + + + © + + + + TM + + + + + ® + (SM) +   + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/javahelp/profile-javahelp.xsl b/apache-fop/src/test/resources/docbook-xsl/javahelp/profile-javahelp.xsl new file mode 100644 index 0000000000..734ef7cba4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/javahelp/profile-javahelp.xsl @@ -0,0 +1,545 @@ + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + Formatting from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="normalize-space($title)"/> + + + + + top + + + + + + TOC + + javax.help.TOCView + jhelptoc.xml + + + + Index + + javax.help.IndexView + jhelpidx.xml + + + + Search + + javax.help.SearchView + JavaHelpSearch + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + , + + + + + + + + + + + + + + + + + + + + + bullet + + + + © + + + + TM + + + + + ® + (SM) +   + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/lib/lib.xsl b/apache-fop/src/test/resources/docbook-xsl/lib/lib.xsl new file mode 100644 index 0000000000..2ed92333ce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/lib/lib.xsl @@ -0,0 +1,531 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized unit of measure: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized unit of measure: + + . + + + + + + + filename + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/log b/apache-fop/src/test/resources/docbook-xsl/log new file mode 100644 index 0000000000..177698f13b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/log @@ -0,0 +1,656 @@ +------------------------------------------------------------------------ +r9399 | bobstayton | 2012-06-02 22:50:24 +0000 (Sat, 02 Jun 2012) | 2 lines + +Change version to 1.77.1 for release. + +------------------------------------------------------------------------ +r9373 | bobstayton | 2012-05-20 22:40:07 +0000 (Sun, 20 May 2012) | 2 lines + +Restore VERSION to snapshot state. + +------------------------------------------------------------------------ +r9371 | bobstayton | 2012-05-19 22:48:13 +0000 (Sat, 19 May 2012) | 2 lines + +Version 1.77.0 release + +------------------------------------------------------------------------ +r8935 | abdelazer | 2010-11-01 21:04:48 +0000 (Mon, 01 Nov 2010) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8933 | abdelazer | 2010-11-01 19:58:53 +0000 (Mon, 01 Nov 2010) | 1 line + +Version 1.76.1 released +------------------------------------------------------------------------ +r8902 | abdelazer | 2010-09-03 23:34:06 +0000 (Fri, 03 Sep 2010) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8893 | abdelazer | 2010-08-28 04:32:12 +0000 (Sat, 28 Aug 2010) | 1 line + +Version 1.76.0 released +------------------------------------------------------------------------ +r8502 | abdelazer | 2009-07-21 03:01:50 +0000 (Tue, 21 Jul 2009) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8499 | abdelazer | 2009-07-21 01:58:25 +0000 (Tue, 21 Jul 2009) | 1 line + +Version 1.75.2 released +------------------------------------------------------------------------ +r8447 | abdelazer | 2009-05-28 01:18:40 +0000 (Thu, 28 May 2009) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8444 | abdelazer | 2009-05-28 00:17:40 +0000 (Thu, 28 May 2009) | 1 line + +I think you have to edit more than README.BUILD says... +------------------------------------------------------------------------ +r8443 | abdelazer | 2009-05-28 00:14:27 +0000 (Thu, 28 May 2009) | 1 line + +Version 1.75.1 released +------------------------------------------------------------------------ +r8431 | abdelazer | 2009-05-07 12:50:29 +0000 (Thu, 07 May 2009) | 1 line + +Restored VERSION file to _next_ snapshot state +------------------------------------------------------------------------ +r8430 | abdelazer | 2009-05-07 03:58:45 +0000 (Thu, 07 May 2009) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8426 | abdelazer | 2009-05-07 01:30:29 +0000 (Thu, 07 May 2009) | 1 line + +fix previous release +------------------------------------------------------------------------ +r8425 | abdelazer | 2009-05-07 01:29:39 +0000 (Thu, 07 May 2009) | 1 line + +Version 1.75.0 released +------------------------------------------------------------------------ +r8273 | abdelazer | 2009-02-25 01:07:35 +0000 (Wed, 25 Feb 2009) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8270 | abdelazer | 2009-02-24 22:18:36 +0000 (Tue, 24 Feb 2009) | 1 line + +Version 1.74.3 released +------------------------------------------------------------------------ +r8263 | abdelazer | 2009-02-20 13:25:04 +0000 (Fri, 20 Feb 2009) | 1 line + +No, we are going to 1.74.3 +------------------------------------------------------------------------ +r8262 | abdelazer | 2009-02-20 06:03:05 +0000 (Fri, 20 Feb 2009) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8260 | abdelazer | 2009-02-20 05:14:06 +0000 (Fri, 20 Feb 2009) | 1 line + +Version 1.74.2 released +------------------------------------------------------------------------ +r8250 | abdelazer | 2009-02-17 15:00:48 +0000 (Tue, 17 Feb 2009) | 1 line + +Version 1.74.1 released +------------------------------------------------------------------------ +r8051 | xmldoc | 2008-06-14 04:54:05 +0000 (Sat, 14 Jun 2008) | 2 lines + +set some ignores + +------------------------------------------------------------------------ +r8037 | abdelazer | 2008-06-02 15:16:47 +0000 (Mon, 02 Jun 2008) | 1 line + +Restored VERSION file to snapshot state +------------------------------------------------------------------------ +r8033 | abdelazer | 2008-06-01 21:07:37 +0000 (Sun, 01 Jun 2008) | 1 line + +Version 1.74.0 released +------------------------------------------------------------------------ +r7940 | xmldoc | 2008-03-23 04:37:37 +0000 (Sun, 23 Mar 2008) | 5 lines + +use XSLT method to determine version number from VERSION file +(instead of grep hack); also, use w3m as the default browser for +generating plain-text output from HTML (with GC_NPROCS=1 to +prevent it from hanging under OSX/Darwin) + +------------------------------------------------------------------------ +r7636 | xmldoc | 2008-01-09 11:16:59 +0000 (Wed, 09 Jan 2008) | 3 lines + +Don't build reference.pdf file except for official releases +(because it takes too damn long to build...) + +------------------------------------------------------------------------ +r7566 | xmldoc | 2007-11-24 15:57:13 +0000 (Sat, 24 Nov 2007) | 9 lines + +Remove xsl:output and omit-xml-declaration element, because it +seems to be causing problems with xsltproc. Closes bug #1785732. +Thanks to Denis Gillain for reporting. +I remember that the reason I added this originally was to work +around some other but in xsltproc (I think it was that it was +emitting an xml declaration even when output method is set to +text, or something) so this change is going to probably going to +cause a regression of that, but oh well + +------------------------------------------------------------------------ +r7400 | xmldoc | 2007-08-30 22:57:37 +0000 (Thu, 30 Aug 2007) | 3 lines + +Post 1.73.2 wrap-up; restored VERSION and RELEASE-NOTES.xml files +to snapshot state. + +------------------------------------------------------------------------ +r7388 | xmldoc | 2007-08-30 10:27:34 +0000 (Thu, 30 Aug 2007) | 2 lines + +Version 1.73.2 released + +------------------------------------------------------------------------ +r7374 | xmldoc | 2007-08-29 14:11:41 +0000 (Wed, 29 Aug 2007) | 3 lines + +Re-revert to snapshot state so that we can get one last snapshot +out before the 1.73.2 release. + +------------------------------------------------------------------------ +r7294 | xmldoc | 2007-08-28 09:13:34 +0000 (Tue, 28 Aug 2007) | 2 lines + +Added hook to return title of distribution. + +------------------------------------------------------------------------ +r7260 | xmldoc | 2007-08-20 00:35:42 +0000 (Mon, 20 Aug 2007) | 1 line + +Restored VERSION and RELEASE-NOTES.xml files to snapshot state +------------------------------------------------------------------------ +r7256 | xmldoc | 2007-08-19 13:35:20 +0000 (Sun, 19 Aug 2007) | 1 line + +Version 1.73.1 released +------------------------------------------------------------------------ +r7224 | xmldoc | 2007-08-09 10:35:12 +0000 (Thu, 09 Aug 2007) | 4 lines + +Use "-pre" instead of "+pre" because version number ends up in ID +values and causes errors because it's not an NCName (getting +really tired of that arbitrary and unnecessary restriction...) + +------------------------------------------------------------------------ +r7210 | xmldoc | 2007-08-09 07:48:28 +0000 (Thu, 09 Aug 2007) | 2 lines + +Restored the VERSION file to current snapshot state. + +------------------------------------------------------------------------ +r7204 | xmldoc | 2007-08-09 07:42:33 +0000 (Thu, 09 Aug 2007) | 2 lines + +temporarily reverting for tagging purposes + +------------------------------------------------------------------------ +r7176 | xmldoc | 2007-08-06 10:07:03 +0000 (Mon, 06 Aug 2007) | 1 line + +Restored VERSION and RELEASE-NOTES.xml files to snapshot state +------------------------------------------------------------------------ +r7159 | xmldoc | 2007-07-27 07:00:22 +0000 (Fri, 27 Jul 2007) | 7 lines + +- Added the "tag" make target (unfinished) for tagging releases. +- Renamed get-element.xsl to eval-xpath.xsl and modified it to be + capable of getting string value of a node based on an XPath + expression provided on the command line. +- Removed get-param.xsl as changes to the xsl/VERSION file make + get-params.xsl obsolete. + +------------------------------------------------------------------------ +r7117 | xmldoc | 2007-07-22 14:34:57 +0000 (Sun, 22 Jul 2007) | 2 lines + +Version 1.73.0 released + +------------------------------------------------------------------------ +r7116 | xmldoc | 2007-07-22 14:33:49 +0000 (Sun, 22 Jul 2007) | 2 lines + +Version 1.73.0 released + +------------------------------------------------------------------------ +r7115 | xmldoc | 2007-07-22 14:17:36 +0000 (Sun, 22 Jul 2007) | 2 lines + +Version 1.73.0 released + +------------------------------------------------------------------------ +r7114 | xmldoc | 2007-07-22 14:03:43 +0000 (Sun, 22 Jul 2007) | 2 lines + +Version 1.73.0 released + +------------------------------------------------------------------------ +r6901 | xmldoc | 2007-06-28 16:56:37 +0000 (Thu, 28 Jun 2007) | 2 lines + +Updated freshmeat "CVS" URL + +------------------------------------------------------------------------ +r6896 | xmldoc | 2007-06-28 04:04:50 +0000 (Thu, 28 Jun 2007) | 2 lines + +Added VersionFileURL element (=URL RCS keyword). + +------------------------------------------------------------------------ +r6556 | xmldoc | 2007-01-25 10:25:23 +0000 (Thu, 25 Jan 2007) | 3 lines + +Moved all release metadata to VERSION file, and updated release +build to rely on it. + +------------------------------------------------------------------------ +r6554 | xmldoc | 2007-01-24 13:07:21 +0000 (Wed, 24 Jan 2007) | 2 lines + +Moved docbook-xsl to 1.72.1+pre snapshot state. + +------------------------------------------------------------------------ +r6549 | xmldoc | 2007-01-23 12:29:58 +0000 (Tue, 23 Jan 2007) | 2 lines + +Changed fm:Release-Focus to "Major feature enhancements" + +------------------------------------------------------------------------ +r6545 | xmldoc | 2007-01-22 19:41:45 +0000 (Mon, 22 Jan 2007) | 2 lines + +Checkpointing release-note edits for review. + +------------------------------------------------------------------------ +r6536 | xmldoc | 2007-01-21 08:37:12 +0000 (Sun, 21 Jan 2007) | 5 lines + +Changed VERSION file to include distro title (DocBook XSL +Stylesheets), and updated HTML, FO, and manpages stylesheets to +use that in their metadata sections (e.g., in HTML, the + contents). + +------------------------------------------------------------------------ +r6371 | xmldoc | 2006-10-19 09:47:42 +0000 (Thu, 19 Oct 2006) | 2 lines + +Version 1.71.1 released + +------------------------------------------------------------------------ +r6275 | xmldoc | 2006-09-09 14:49:26 +0000 (Sat, 09 Sep 2006) | 2 lines + +Version 1.71.0 released + +------------------------------------------------------------------------ +r6002 | xmldoc | 2006-05-26 06:44:29 +0000 (Fri, 26 May 2006) | 2 lines + +Version 1.70.1 released + +------------------------------------------------------------------------ +r5984 | xmldoc | 2006-05-17 08:24:54 +0000 (Wed, 17 May 2006) | 2 lines + +Version 1.70.0 released + +------------------------------------------------------------------------ +r5151 | xmldoc | 2005-08-11 23:31:07 +0000 (Thu, 11 Aug 2005) | 2 lines + +Version 1.69.1 released. + +------------------------------------------------------------------------ +r5150 | xmldoc | 2005-08-11 23:29:01 +0000 (Thu, 11 Aug 2005) | 2 lines + +Version 1.69.1 released. + +------------------------------------------------------------------------ +r5109 | xmldoc | 2005-07-18 01:44:15 +0000 (Mon, 18 Jul 2005) | 2 lines + +Version 1.69.0 released. + +------------------------------------------------------------------------ +r4317 | xmldoc | 2005-02-14 07:21:03 +0000 (Mon, 14 Feb 2005) | 2 lines + +Version 1.68.1 released. + +------------------------------------------------------------------------ +r4306 | xmldoc | 2005-02-09 12:34:51 +0000 (Wed, 09 Feb 2005) | 2 lines + +Version 1.68.0 released + +------------------------------------------------------------------------ +r4067 | xmldoc | 2004-12-02 08:40:32 +0000 (Thu, 02 Dec 2004) | 2 lines + +Version 1.67.2 released. + +------------------------------------------------------------------------ +r4063 | xmldoc | 2004-12-02 03:49:19 +0000 (Thu, 02 Dec 2004) | 2 lines + +Version 1.67.1 released. + +------------------------------------------------------------------------ +r3986 | xmldoc | 2004-11-09 20:10:06 +0000 (Tue, 09 Nov 2004) | 2 lines + +Version 1.67.0 released. + +------------------------------------------------------------------------ +r3880 | nwalsh | 2004-10-17 21:30:29 +0000 (Sun, 17 Oct 2004) | 2 lines + +Capitalization tweaks necessary for the latest freshmeat script + +------------------------------------------------------------------------ +r3840 | xmldoc | 2004-09-20 03:25:43 +0000 (Mon, 20 Sep 2004) | 2 lines + +Version 1.66.1 released. + +------------------------------------------------------------------------ +r3837 | bobstayton | 2004-09-19 05:58:48 +0000 (Sun, 19 Sep 2004) | 2 lines + +Move to 1.66.1. + +------------------------------------------------------------------------ +r3808 | bobstayton | 2004-09-11 08:20:24 +0000 (Sat, 11 Sep 2004) | 2 lines + +Updated version to 1.66.0 + +------------------------------------------------------------------------ +r3498 | nwalsh | 2004-03-09 10:15:17 +0000 (Tue, 09 Mar 2004) | 2 lines + +Version 1.65.1 released + +------------------------------------------------------------------------ +r3481 | nwalsh | 2004-02-27 20:43:23 +0000 (Fri, 27 Feb 2004) | 2 lines + +No really, version 1.65.0 released. + +------------------------------------------------------------------------ +r3480 | nwalsh | 2004-02-27 20:41:23 +0000 (Fri, 27 Feb 2004) | 2 lines + +Version 1.65.0 released. + +------------------------------------------------------------------------ +r3383 | nwalsh | 2004-01-08 13:14:18 +0000 (Thu, 08 Jan 2004) | 2 lines + +Tweaks for freshmeat-submit + +------------------------------------------------------------------------ +r3252 | nwalsh | 2003-12-17 14:57:33 +0000 (Wed, 17 Dec 2003) | 2 lines + +Prepare to support freshmeat-submit for next release + +------------------------------------------------------------------------ +r3246 | nwalsh | 2003-12-15 21:28:52 +0000 (Mon, 15 Dec 2003) | 2 lines + +Version 1.64.0 released. + +------------------------------------------------------------------------ +r3242 | nwalsh | 2003-12-15 20:57:03 +0000 (Mon, 15 Dec 2003) | 2 lines + +Version 1.63.0 released. + +------------------------------------------------------------------------ +r3146 | nwalsh | 2003-09-29 10:54:10 +0000 (Mon, 29 Sep 2003) | 2 lines + +Version 1.62.4 released. + +------------------------------------------------------------------------ +r3135 | nwalsh | 2003-09-28 20:35:30 +0000 (Sun, 28 Sep 2003) | 2 lines + +Version 1.62.3 released. + +------------------------------------------------------------------------ +r3126 | nwalsh | 2003-09-28 14:57:48 +0000 (Sun, 28 Sep 2003) | 2 lines + +Version 1.62.2 released. + +------------------------------------------------------------------------ +r3123 | nwalsh | 2003-09-27 20:41:24 +0000 (Sat, 27 Sep 2003) | 2 lines + +Version 1.62.1 released. + +------------------------------------------------------------------------ +r3073 | nwalsh | 2003-08-31 01:55:47 +0000 (Sun, 31 Aug 2003) | 2 lines + +Version 1.62.0 released. + +------------------------------------------------------------------------ +r2934 | nwalsh | 2003-06-22 17:48:29 +0000 (Sun, 22 Jun 2003) | 2 lines + +Version 1.61.3 released. + +------------------------------------------------------------------------ +r2885 | nwalsh | 2003-05-22 23:26:44 +0000 (Thu, 22 May 2003) | 2 lines + +Version 1.61.2 released. + +------------------------------------------------------------------------ +r2882 | nwalsh | 2003-05-19 19:43:30 +0000 (Mon, 19 May 2003) | 2 lines + +Post 1.61.1 updates + +------------------------------------------------------------------------ +r2879 | nwalsh | 2003-05-18 19:17:00 +0000 (Sun, 18 May 2003) | 2 lines + +Version 1.61.1 released. + +------------------------------------------------------------------------ +r2877 | nwalsh | 2003-05-18 14:46:08 +0000 (Sun, 18 May 2003) | 2 lines + +Version 1.60.1 released. + +------------------------------------------------------------------------ +r2868 | nwalsh | 2003-05-08 15:14:27 +0000 (Thu, 08 May 2003) | 2 lines + +Post 1.61.0 hacking + +------------------------------------------------------------------------ +r2866 | nwalsh | 2003-05-08 14:44:24 +0000 (Thu, 08 May 2003) | 2 lines + +Version 1.61.0 released. + +------------------------------------------------------------------------ +r2594 | nwalsh | 2003-01-24 22:37:50 +0000 (Fri, 24 Jan 2003) | 2 lines + +Version 1.60.1 released. + +------------------------------------------------------------------------ +r2538 | nwalsh | 2003-01-21 00:53:17 +0000 (Tue, 21 Jan 2003) | 2 lines + +Version 1.60.0 released. + +------------------------------------------------------------------------ +r2482 | nwalsh | 2003-01-17 13:50:43 +0000 (Fri, 17 Jan 2003) | 2 lines + +Version 1.59.2 released. + +------------------------------------------------------------------------ +r2443 | nwalsh | 2003-01-12 18:26:00 +0000 (Sun, 12 Jan 2003) | 2 lines + +Version 1.59.1 released. + +------------------------------------------------------------------------ +r2417 | nwalsh | 2003-01-01 21:46:15 +0000 (Wed, 01 Jan 2003) | 2 lines + +Version 1.59.0 released. + +------------------------------------------------------------------------ +r2266 | nwalsh | 2002-11-29 13:54:15 +0000 (Fri, 29 Nov 2002) | 2 lines + +Version 1.58.1 released. + +------------------------------------------------------------------------ +r2246 | nwalsh | 2002-11-17 17:28:15 +0000 (Sun, 17 Nov 2002) | 2 lines + +Version 1.58.0 released. + +------------------------------------------------------------------------ +r2199 | nwalsh | 2002-10-22 11:19:18 +0000 (Tue, 22 Oct 2002) | 2 lines + +Version 1.57.0 released. + +------------------------------------------------------------------------ +r2170 | nwalsh | 2002-10-09 13:14:52 +0000 (Wed, 09 Oct 2002) | 2 lines + +Version 1.56.1 released. + +------------------------------------------------------------------------ +r2166 | nwalsh | 2002-10-09 10:05:02 +0000 (Wed, 09 Oct 2002) | 2 lines + +Version 1.56.0 released. + +------------------------------------------------------------------------ +r2079 | nwalsh | 2002-09-17 11:30:08 +0000 (Tue, 17 Sep 2002) | 2 lines + +Version 1.55.0 released. + +------------------------------------------------------------------------ +r1992 | nwalsh | 2002-09-03 13:59:01 +0000 (Tue, 03 Sep 2002) | 2 lines + +Version 1.54.1 released. + +------------------------------------------------------------------------ +r1986 | nwalsh | 2002-09-03 11:04:33 +0000 (Tue, 03 Sep 2002) | 2 lines + +Version 1.54.0 released. + +------------------------------------------------------------------------ +r1922 | nwalsh | 2002-07-28 19:08:54 +0000 (Sun, 28 Jul 2002) | 2 lines + +Version 1.53.0 released. + +------------------------------------------------------------------------ +r1838 | nwalsh | 2002-07-10 10:34:47 +0000 (Wed, 10 Jul 2002) | 2 lines + +Version 1.52.2 released. + +------------------------------------------------------------------------ +r1826 | nwalsh | 2002-07-08 09:40:16 +0000 (Mon, 08 Jul 2002) | 2 lines + +Keep CVS and real releases distinct + +------------------------------------------------------------------------ +r1824 | nwalsh | 2002-07-08 09:07:49 +0000 (Mon, 08 Jul 2002) | 2 lines + +Version 1.52.1 released. + +------------------------------------------------------------------------ +r1818 | nwalsh | 2002-07-07 23:39:39 +0000 (Sun, 07 Jul 2002) | 2 lines + +Version 1.52.0 released. + +------------------------------------------------------------------------ +r1580 | nwalsh | 2002-06-03 10:28:11 +0000 (Mon, 03 Jun 2002) | 2 lines + +Version 1.51.1 released. + +------------------------------------------------------------------------ +r1578 | nwalsh | 2002-06-02 21:20:34 +0000 (Sun, 02 Jun 2002) | 2 lines + +Version 1.51.0 released. + +------------------------------------------------------------------------ +r1480 | nwalsh | 2002-05-16 17:35:22 +0000 (Thu, 16 May 2002) | 2 lines + +Oops again. + +------------------------------------------------------------------------ +r1479 | nwalsh | 2002-05-16 17:27:43 +0000 (Thu, 16 May 2002) | 2 lines + +Oops. + +------------------------------------------------------------------------ +r1477 | nwalsh | 2002-05-16 17:22:26 +0000 (Thu, 16 May 2002) | 2 lines + +Version 1.50.1-EXP2 released. + +------------------------------------------------------------------------ +r1351 | nwalsh | 2002-03-25 21:14:10 +0000 (Mon, 25 Mar 2002) | 2 lines + +Version 1.50.1-EXP released. + +------------------------------------------------------------------------ +r1305 | nwalsh | 2002-03-21 01:44:14 +0000 (Thu, 21 Mar 2002) | 2 lines + +Version 1.50.0 released. + +------------------------------------------------------------------------ +r1232 | nwalsh | 2002-03-14 14:00:13 +0000 (Thu, 14 Mar 2002) | 2 lines + +Keep CVS versions distinct from real releases + +------------------------------------------------------------------------ +r1164 | nwalsh | 2002-02-20 23:15:24 +0000 (Wed, 20 Feb 2002) | 2 lines + +Version 1.49 released. + +------------------------------------------------------------------------ +r1076 | nwalsh | 2002-01-06 21:11:38 +0000 (Sun, 06 Jan 2002) | 2 lines + +Version 1.48 released. + +------------------------------------------------------------------------ +r926 | nwalsh | 2001-11-28 15:14:45 +0000 (Wed, 28 Nov 2001) | 2 lines + +Keep CVS versions distinct from real releases + +------------------------------------------------------------------------ +r924 | nwalsh | 2001-11-28 14:20:10 +0000 (Wed, 28 Nov 2001) | 2 lines + +Version 1.47 released. + +------------------------------------------------------------------------ +r768 | nwalsh | 2001-10-13 22:24:36 +0000 (Sat, 13 Oct 2001) | 2 lines + +Version 1.46 released. + +------------------------------------------------------------------------ +r706 | nwalsh | 2001-09-29 19:11:31 +0000 (Sat, 29 Sep 2001) | 2 lines + +Keep CVS versions distinct from real releases + +------------------------------------------------------------------------ +r704 | nwalsh | 2001-09-29 18:44:39 +0000 (Sat, 29 Sep 2001) | 2 lines + +Version 1.45 released. + +------------------------------------------------------------------------ +r636 | nwalsh | 2001-08-14 15:03:31 +0000 (Tue, 14 Aug 2001) | 2 lines + +Version 1.44 released. + +------------------------------------------------------------------------ +r633 | nwalsh | 2001-08-13 22:05:42 +0000 (Mon, 13 Aug 2001) | 2 lines + +Keep CVS versions distinct from real releases + +------------------------------------------------------------------------ +r630 | nwalsh | 2001-08-13 22:01:58 +0000 (Mon, 13 Aug 2001) | 2 lines + +Version 1.43 released. + +------------------------------------------------------------------------ +r590 | nwalsh | 2001-08-06 13:33:05 +0000 (Mon, 06 Aug 2001) | 2 lines + +Keep CVS versions distinct from real releases + +------------------------------------------------------------------------ +r588 | nwalsh | 2001-08-06 13:25:39 +0000 (Mon, 06 Aug 2001) | 2 lines + +Version 1.42 released. + +------------------------------------------------------------------------ +r574 | nwalsh | 2001-08-04 22:00:35 +0000 (Sat, 04 Aug 2001) | 2 lines + +Make VERSION a parameter so that it isn't an error some stylesheets override it + +------------------------------------------------------------------------ +r457 | nwalsh | 2001-07-09 10:01:46 +0000 (Mon, 09 Jul 2001) | 2 lines + +Version 1.41 released. + +------------------------------------------------------------------------ +r345 | nwalsh | 2001-06-14 18:39:36 +0000 (Thu, 14 Jun 2001) | 2 lines + +Version 1.40 released. + +------------------------------------------------------------------------ +r288 | nwalsh | 2001-05-24 20:32:04 +0000 (Thu, 24 May 2001) | 2 lines + +Version 1.39 released. + +------------------------------------------------------------------------ +r276 | nwalsh | 2001-05-21 19:25:17 +0000 (Mon, 21 May 2001) | 2 lines + +Version 1.38 released. + +------------------------------------------------------------------------ +r195 | nwalsh | 2001-04-20 11:57:57 +0000 (Fri, 20 Apr 2001) | 2 lines + +Version 1.37 released. + +------------------------------------------------------------------------ +r106 | nwalsh | 2001-04-04 11:56:43 +0000 (Wed, 04 Apr 2001) | 2 lines + +Version 1.36 released. + +------------------------------------------------------------------------ +r69 | nwalsh | 2001-04-02 13:03:45 +0000 (Mon, 02 Apr 2001) | 2 lines + +Initial checkin + +------------------------------------------------------------------------ diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/ChangeLog.20020917 b/apache-fop/src/test/resources/docbook-xsl/manpages/ChangeLog.20020917 new file mode 100644 index 0000000000..c170cc0560 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/ChangeLog.20020917 @@ -0,0 +1,195 @@ +Note: This changelog is a record of descriptions of all changes +made to the DocBook XSL manpages stylesheets during the time when +they were maintained in their original home in the +[cvs]/docbook/contrib/xsl/db2man area of the DocBook Project +source-code repository at Sourceforge; that is, from October 2001 +(when they were contributed to the project by Martijn van Beers) +until September 2002 (when they were moved to the +[cvs]/docbook/xsl/manpages area and became a standard part of all +subsequent DocBook XSL Stylesheets releases). + +2002-09-17 Norman Walsh + + * README, db2man.xsl, lists.xsl, sect23.xsl, synop.xsl, xref.xsl: + Moved to docbook/xsl/manpages + + * db2man.xsl, synop.xsl: Patch from Joe Orton + +2002-06-16 + + * db2man.xsl: commit patch sent by Joe Orton: + + This patch adds support for using the productname, date and title out of + a if one is present, rather than having to add each of + these individually for every refentry. + + * db2man.xsl: Tim Waugh sent: + + This patch normalizes space in each refname before displaying it in + the name section. + +2002-05-21 + + * xref.xsl: from Joe Orton: + this patch allows cross-referencing to a specific refname. I + need this since I'm documenting several different (but related) + functions per refentry, and want to cross-reference them individually, + rather than just by the title used for the refentry as a whole. + +2002-05-17 + + * lists.xsl: apply glosslist support patch from twaugh + +2002-05-15 + + * db2man.xsl: slightly sanitize the filenames we generate. again from twaugh + + * db2man.xsl: Apply twaugh's fix for making the entity transform stuff work + +2002-05-14 + + * db2man.xsl: generalize the tip template for all admonitions + (caution,important,note,tip,warning) + + * db2man.xsl: Apply Joe Orton's patch, modified to be indented. Also show "Tip" + in the title. + + so if foo, you get + Tip: foo + + * synop.xsl: rewrote funcprototype. It used to convert all its children to a single + string and the split it up again through recursion. Now has a nice + foreach loop for the paramdefs, which seems much cleaner than throwing + everything in a big string before processing it. + +2002-05-10 + + * db2man.xsl: add support for simpara + + * db2man.xsl, lists.xsl: fix refsect2 titles + + * synop.xsl: also from twaugh: + + I found some input that goes wrong with the synop.xsl we have in CVS: + + + -o FILE + --output=FILE + + + It gets rendered as (with *bold* and _italic_): + + [*-o FILE* | *--output=FILE*] + + The desired markup should look like: + The following macro does the trick: + + [\fB-o \fIFILE\fR\fR | \fB--output=\fIFILE\fR\fR] + + The trouble is that the named template 'bold' uses value-of, and so + strips of its significance. + + Another thing I found is that the arg/replaceable template is + superfluous altogether: db2man.xsl has a 'replaceable' template which + does the same thing. + + Here is a patch to make those two modifications. + + NOTE TO SELF: must try to fix bold template so we can use it everywhere + +2002-05-09 + + * db2man.xsl: oops, removed too much + + * db2man.xsl: remove stuff that's apparently left-over from sect23.xsl + + * db2man.xsl, lists.xsl, synop.xsl: batch of patches from twaugh: + * This patch (based on one from Jirka Kosek) adds support for + block-level elements inside s---s for example, or lists. + * This patch replaces entities (like '舒') with sensible + characters or groups of characters. + * This patch adds support for sbr. + * This patch normalizes spaces in varlistentry terms. + * This patch normalizes spaces in terminal varlistentry terms. + * This patch allows variable lists to be nested (once). + * This patch prevents variable list item paragraphs from merging into + one another. + * This patch improves the rendering of itemized lists, and adds support + for ordered lists and procedures. + * This patch makes some small adjustments to group/arg: don't put extra + spaces in where they aren't needed, and normalize the space of $arg. + * This patch makes adjustments to cmdsynopsis elements. In particular, + they can now be wrapped if no is provided. + * This patch adds funcsynopsis//* support. Again, wrapping is done + automatically. + + * synop.xsl: make synopsises work for --arg=foo s too + + * synop.xsl: remove unneccesary adding of whitespace for arg/replaceable + +2002-05-01 + + * db2man.xsl: This patch adds support for multiple refnames. + + (another twaugh patch) + + * db2man.xsl: modified ulink patch from twaugh. Be nice to content-less ulinks. But we + don't accomodate silly people who don't understand ulink and put the + url as the content too. + + * db2man.xsl, synop.xsl: db2man.xsl: + * temporarily add some params that chunker.xsl needs + * fix bold/italic templates + * update calls to bold/italic templates for new syntax + synop.xsl: + * add support for synopfragment + * update calls to bold/italic templates for new syntax + +2002-04-30 + + * db2man.xsl: Add twaug's patch for xref support + + * db2man.xsl: This patch adds support for: + + - Multiple authors. + - A (single) man page editor. + + (another patch from twaugh) + + * db2man.xsl: more twaugh patches: + - Use refentrytitle, not refname[1], for title. + - Upper-case it. + - Use date, productname, and title. + - Pick up author from main document if not contained in refentry. + - Use refname[1] for man page filename, not refentrytitle. + + * db2man.xsl: add varname support + + * db2man.xsl: This patch makes userinput (an inline element) have inline formatting. + + * db2man.xsl: This patch adds support for the top-level document being something + other than an article. + + It also emits a helpful warning if no refentry elements are found. + + * db2man.xsl: next twaugh patch: + Instead of writing to stdout, create a file for each + refentry. Plus, for bonus points, a file for each additional refname + within that entry (pointing to the main page). + + * db2man.xsl: Add named templates for bold-ifying and italicizing stuff. Inspired + by yet another twaugh patch + + * db2man.xsl, lists.xsl, sect23.xsl: consistently use instead of a newline + + * db2man.xsl, synop.xsl: * add support for informalexample, screen, errorcode, constant, type, + quote, programlisting and citerefentry + * use the 'bold' and 'italic' named templates + + * xref.xsl: New file. + +2001-12-01 Norman Walsh + + * README, db2man.xsl, lists.xsl, sect23.xsl, synop.xsl: + New file. + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/block.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/block.xsl new file mode 100644 index 0000000000..9278561bc0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/block.xsl @@ -0,0 +1,411 @@ + + + + + + + + + + n + + .sp + + .RS 4 + + .BM yellow + + + .ps +1 + + .ps -1 + .br + + .sp .5v + + .EM yellow + + .RE + + + + + + + .PP + + + + + + + . + + + + + + + + + + + + + + + + + + + + + .sp + + .RS 4n + + + + + .PP + + + + + + + + .RE + + + + + + + + + + + .sp + + .RS 4n + + + + + .sp + + + + + + + + + + + + + + + + + + + + Yes + + + + + + + + + + + + Yes + + + + + + + + + + + + + + + + .sp + + + + + + + .RS + + + + + + + + + + + + + + + + + + + + + + + + + + + .ft + + + + .nf + + + .fi + + .ft + + + + + .nf + + + + + + + + + + + + + t + + .sp -1 + + .BB lightgray + + adjust-for-leading-newline + + + + .sp -1 + + + .BB lightgray + + + + + + + .EB lightgray + + adjust-for-leading-newline + + t + + + + + + .sp 1 + + + + .EB lightgray + + + + + + + + + + + .fi + + + + + + + .RE + + + + + + .sp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + .PP + + + + + + + + + + .sp + + .RS + + + + + + + + .RE + + + + [IMAGE] + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/charmap.groff.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/charmap.groff.xsl new file mode 100644 index 0000000000..a9492fafbf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/charmap.groff.xsl @@ -0,0 +1,6013 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/docbook.xsl new file mode 100644 index 0000000000..a0a4251baa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/docbook.xsl @@ -0,0 +1,311 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MAN.MANIFEST + + + + + + + + + + + Erro + + + no refentry + + + No refentry elements found + + in " + + + + ... + + + + + + " + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '\" t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .\" ----------------------------------------------------------------- + .\" * MAIN CONTENT STARTS HERE * + .\" ----------------------------------------------------------------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/endnotes.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/endnotes.xsl new file mode 100644 index 0000000000..8e52e01c5b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/endnotes.xsl @@ -0,0 +1,586 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + + endnote + + + + Bad: + + + + + [ + + ] + in source + + + + Note + + + endnote + + + + Has: + + / + + + + + Note + + + endnote + + + + Fix: + + / + para/ + + + + + + + + + + + + + + + + \% + + + + + + + + + + + \m[blue] + + + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + + link font + + + invalid $man.font.links value: + ' + + ' + + + + + + + \m[] + + + + + + + \&\s-2\u[ + + ]\d\s+2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .IP + " + + + . + + + + + + + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .RS + + + + + + + + + + \% + + + + + + .RE + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/html-synop.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/html-synop.xsl new file mode 100644 index 0000000000..2137619b28 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/html-synop.xsl @@ -0,0 +1,1668 @@ + + + + + + + + + + + + +
    + +

    + + + + + + + + + + + + + + + +

    +
    +
    + + + +. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +. + + + + + + + + + + + + + ( + + ) + +   + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + .sp +.nf +
    +    
    +    
    +    
    +  
    .fi + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + +. + + + +

    +
    + + + + + + + ( + + + + + + + + + + + + + + + + ) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + +. + + + + + ; + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
    + +
     
    + +
    + +
    +
    +
     
    +
    + + + + + + + ( + + + + + + + + + + + + + + + + + ) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + ; + + + + + + +

    + +

    +
    + + + + + + + ( + + + + + + + + + + + + + + + + void) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
    + +
     
    +
     
    +
    + + + + + + + ( + + + + + + + + + + + + + + + + + void) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + + +. + + + + + + + + + .sp +.nf +
    +    
    +    
    +    
    +    
    +       extends
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +      implements
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +      throws
    +      
    +    
    +     {
    +    
    +.
    +
    +    
    +    }
    +  
    .fi + +
    + + + + + + + + + , + + + + + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + =  + + + + + + + + + void  + + + + + + + + + + + + + 0 + + , + +. + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + ( + + + + ) + + +. + +     throws  + + + + + + + ; + + + + + + + + .sp +.nf +
    +    
    +    
    +    
    +    
    +      : 
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +       implements
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +       throws
    +      
    +    
    +     {
    +    
    +.
    +
    +    
    +    }
    +  
    .fi + +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + =  + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + + +. + +     throws  + + + + + + + ; + + + + + + + + .sp +.nf +
    +    
    +    
    +    interface 
    +    
    +    
    +      : 
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +       implements
    +      
    +      
    +        
    +.
    +
    +	    
    +      
    +    
    +    
    +       throws
    +      
    +    
    +     {
    +    
    +.
    +
    +    
    +    }
    +  
    .fi + +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + =  + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + + +. + +     raises( + + ) + + + + + + ; + + + + + + + + .sp +.nf +
    +    
    +    
    +    package 
    +    
    +    ;
    +    
    +.
    +
    +
    +    
    +      @ISA = (
    +      
    +      );
    +      
    +.
    +
    +    
    +
    +    
    +  
    .fi + +
    + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + =  + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/info.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/info.xsl new file mode 100644 index 0000000000..6698fb9911 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/info.xsl @@ -0,0 +1,800 @@ + + + + + + + + + + + + + + + + \n(zqu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " + + + + " + + + + + + + + + + " + + + + " + + + + + + + + + + + + + + " + + " + + + + " + + " + + + + + + + + + + + + + + + + + + + + Documentation + + + DOCUMENTATION + + + + + + + + + + [see the + + section] + + + + + + [FIXME: author] [see http://docbook.sf.net/el/author] + + + Warn + + meta author + + no refentry/info/author + + + + Note + + meta author + + see http://docbook.sf.net/el/author + + + + Warn + + meta author + + no author data, so inserted a fixme + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + + + + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Author + + + Authors + + + + + + + + + + + + + + + + + .PP + + + + + + + + + + + .br + + + + + + + + + + + + + + .PP + + + + + + + + + + + + + .PP + + + + + + + + + + + + + .PP + + + + + + + + + + + + + + + .RS + + + + + + + + + . + .RE + + + + + + + + + + + + + + + + + + <\& + + + + + + + + + + + + + + + \&> + + + + + + + , + + + + + + + + + + + + + + + .br + + + + + + + + + + , + + + + + + + + + + + .br + + + + + + + + + + + + .br + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + AUTHOR sect. + + no personblurb|contrib for + + + + + Note + + AUTHOR sect. + + see see http://docbook.sf.net/el/contrib + + + + Note + + AUTHOR sect. + + see see http://docbook.sf.net/el/personblurb + + + + + + + + + + .RS + + + + + + + + + . + .RE + + + + .RS + + + + + + + + + . + .RE + + + + + + + + .RS + + + + + + + + + . + .RE + + + + + + + + + + + + + + + + + + + + + + + + + + + .RE + + + + + + + + + + . + + + + + + + + + + + + + + + + .RE + + + + + + + + + + + .RS + + + + + + + + + + + + + .PP + + + + + .br + + + + + + + + + + + + + + + + + + + + + Copyright + + + + .br + + + + + + + + + + + .br + + + + + .sp + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/inline.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/inline.xsl new file mode 100644 index 0000000000..56ca4c506b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/inline.xsl @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + © + + + ® + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .\" + + + + + + + + + + : + + + + + + + + .\" + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/lists.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/lists.xsl new file mode 100644 index 0000000000..d5ee7a88e2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/lists.xsl @@ -0,0 +1,615 @@ + + + + + + + + + + + + + + + + \n(zqu + + + + + + + + + + + + + + .sp + + + + + + + + + + + + .PP + + + + + + + + + + + .PP + + + + + + + + + + + + + + + + + + + + .br + + + + + + .RS + + + + + + + .RE + + + + + + + + + .sp + + + + + + + + + + + + + + + .sp + + .RS + + + + + + + + + + + \h'- + + + 0 + + + + \n(INu + + + ' + + \h'+ + + + 0 + + + + \n(INu-1 + + + '\c + + + + + + + .sp -1 + .IP \(bu 2.3 + + + + + + .RE + + + + + + + + + .PP + + + + + .sp + + .RS + + + + + + + + + + + \h'- + + + 0 + + + + \n(INu+3n + + + ' + + + + + \h'+ + + + 0 + + + + 1n + + + '\c + + + + + + + .sp -1 + .IP " + + + + + " 4.2 + + + + + + .RE + + + + + + .PP + + + + + + + + + + + + + + + + .sp + + + + + + + .PP + + + + + + + + + .sp + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + .RS + + + + + + + + .RE + + + + + + + + + + .PP + + + + + + + .\" line length increase to cope w/ tbl weirdness + .ll +(\n(LLu * 62u / 100u) + + .TS + + + + + + l + + + . + + + + + + + + + + + + + + .TE + .\" line length decrease back to previous value + .ll -(\n(LLu * 62u / 100u) + + .sp + + + + + + + + + + + + + + + + + + + + + + + + + + + + T{ + + + + + T} + + + + + + + + + + + + + + + + + + + + + + + + + + + .TS + tab(:); + + + + r lw(\n(.lu*75u/100u). + + .TE + + + + + + + + + + + + + + \h'-2n': + + + T{ + + T} + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + \ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + \fB( + + )\fR + + + + + + + \fB + + .\fR + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/other.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/other.xsl new file mode 100644 index 0000000000..543192500f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/other.xsl @@ -0,0 +1,888 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ + + + + + \e + + + + + + + + . + \&. + + + + + + + + - + \- + + + + + + + + ' + \*(Aq + + + + + + + +   + + + + + + + + + + + + + + + + + + + + \ \& + + + + + + + + + + + + + + + + .\" Title: + + + + + .\" Author: + + + + + + + + + + .\" Generator: DocBook + + v + + + + <http://docbook.sf.net/> + + .\" Date: + + + + + .\" Manual: + + + + + .\" Source: + + + + + .\" Language: + + + .\" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .TH " + + + + + + + + + + + + + " " + + " " + + + + + + + " " + + + + + + + + + + + + " " + + + + + + + + + + + + " + + + + + + + + + + + + .\" ----------------------------------------------------------------- + .\" * set default formatting + .\" ----------------------------------------------------------------- + + .\" disable hyphenation + .nh + + + + + .\" disable justification + (adjust text to left margin only) + .ad l + + + .\" store initial "default indentation value" + .nr zq \n(IN + .\" adjust default indentation + .nr IN + + + .\" adjust indentation of SS headings + .nr SN \n(IN + + + + + + .\" enable line breaks after slashes + .cflags 4 / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: + (soelim stub) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: + (manifest file) + + + + + + + + + + + + + + .\" ----------------------------------------------------------------- + .\" * Define some portability stuff + .\" ----------------------------------------------------------------- + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" http://bugs.debian.org/507673 + .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + .ie \n(.g .ds Aq \(aq + + .el .ds Aq ' + + + + + + + .\" ----------------------------------------------------------------- + .\" * (re)Define some macros + .\" ----------------------------------------------------------------- + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" toupper - uppercase a string (locale-aware) + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de toupper + .tr + + + \\$* + .tr + + + .. + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" SH-xref - format a cross-reference to an SH section + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de SH-xref +.ie n \{\ +.\} +.toupper \\$* +.el \{\ +\\$* +.\} +.. + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" SH - level-one heading that works better for non-TTY output + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de1 SH + .\" put an extra blank line of space above the head in non-TTY output + + t + + .sp 1 + + .sp \\n[PD]u +.nr an-level 1 +.set-an-margin +.nr an-prevailing-indent \\n[IN] +.fi +.in \\n[an-margin]u +.ti 0 +.HTML-TAG ".NH \\n[an-level]" +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +\." make the size of the head bigger +.ps +3 +.ft B +.ne (2v + 1u) +.ie n \{\ +.\" if n (TTY output), use uppercase +.toupper \\$* +.\} +.el \{\ +.nr an-break-flag 0 +.\" if not n (not TTY), use normal case (not uppercase) +\\$1 +.in \\n[an-margin]u +.ti 0 +.\" if not n (not TTY), put a border/line under subheading +.sp -.6 +\l'\n(.lu' +.\} +.. + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" SS - level-two heading that works better for non-TTY output + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de1 SS +.sp \\n[PD]u +.nr an-level 1 +.set-an-margin +.nr an-prevailing-indent \\n[IN] +.fi +.in \\n[IN]u +.ti \\n[SN]u +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.ps \\n[PS-SS]u +\." make the size of the head bigger +.ps +2 +.ft B +.ne (2v + 1u) +.if \\n[.$] \&\\$* +.. + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" BB/EB - put background/screen (filled box) around block of text + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de BB +.if t \{\ +.sp -.5 +.br +.in +2n +.ll -2n +.gcolor red +.di BX +.\} +.. +.de EB +.if t \{\ +.if "\\$2"adjust-for-leading-newline" \{\ +.sp -1 +.\} +.br +.di +.in +.ll +.gcolor +.nr BW \\n(.lu-\\n(.i +.nr BH \\n(dn+.5v +.ne \\n(BHu+.5v +.ie "\\$2"adjust-for-leading-newline" \{\ +\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] +.\} +.el \{\ +\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] +.\} +.in 0 +.sp -.5v +.nf +.BX +.in +.sp .5v +.fi +.\} +.. + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .\" BM/EM - put colored marker in margin next to block of text + .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + .de BM +.if t \{\ +.br +.ll -2n +.gcolor red +.di BX +.\} +.. +.de EM +.if t \{\ +.br +.di +.ll +.gcolor +.nr BH \\n(dn +.ne \\n(BHu +\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] +.in 0 +.nf +.BX +.in +.fi +.\} +.. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/param.xml b/apache-fop/src/test/resources/docbook-xsl/manpages/param.xml new file mode 100644 index 0000000000..db8fb843dc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/param.xml @@ -0,0 +1,3220 @@ + + + + Manpages Parameter Reference + + $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ + + + The DocBook Project + + + 2005-2011 + The DocBook Project + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL "manpages" stylesheet (for + generating groff/nroff output). Note that the manpages + stylesheet is a customization layer of the DocBook XSL HTML + stylesheet. Therefore, you can also use a number of HTML stylesheet parameters + to control manpages output (in addition to the + manpages-specific parameters listed in this section). + + + + Hyphenation, justification, and breaking + + +man.hyphenate +boolean + + +man.hyphenate +Enable hyphenation? + + + + +<xsl:param name="man.hyphenate">0</xsl:param> + + +Description + +If non-zero, hyphenation is enabled. + + +The default value for this parameter is zero because groff is +not particularly smart about how it does hyphenation; it can end up +hyphenating a lot of things that you don't want hyphenated. To +mitigate that, the default behavior of the stylesheets is to suppress +hyphenation of computer inlines, filenames, and URLs. (You can +override the default behavior by setting non-zero values for the +man.hyphenate.urls, +man.hyphenate.filenames, and +man.hyphenate.computer.inlines parameters.) But +the best way is still to just globally disable hyphenation, as the +stylesheets do by default. + +The only good reason to enabled hyphenation is if you have also +enabled justification (which is disabled by default). The reason is +that justified text can look very bad unless you also hyphenate it; to +quote the Hypenation node from the groff info page: + +
    + Since the odds are not great for finding a set of + words, for every output line, which fit nicely on a line without + inserting excessive amounts of space between words, 'gtroff' + hyphenates words so that it can justify lines without inserting too + much space between words. +
    + +So, if you set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation).
    +
    + + +
    +
    + + + +man.hyphenate.urls +boolean + + +man.hyphenate.urls +Hyphenate URLs? + + + + +<xsl:param name="man.hyphenate.urls">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for output of +the ulink url attribute. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.urls is not necessary. + + +If man.hyphenate.urls is non-zero, URLs +will not be treated specially and are subject to hyphenation just like +other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.urls in order to make long + URLs break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long URLs to be broken after slashes. + + + + + + + +man.hyphenate.filenames +boolean + + +man.hyphenate.filenames +Hyphenate filenames? + + + + +<xsl:param name="man.hyphenate.filenames">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for +filename output. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.filenames is not + necessary. + + +If man.hyphenate.filenames is non-zero, +filenames will not be treated specially and are subject to hyphenation +just like other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.filenames in order to make long + filenames/pathnames break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long pathnames to be broken after slashes. + + + + + + + +man.hyphenate.computer.inlines +boolean + + +man.hyphenate.computer.inlines +Hyphenate computer inlines? + + + + +<xsl:param name="man.hyphenate.computer.inlines">0</xsl:param> + + +Description + +If zero (the default), hyphenation is suppressed for +computer inlines such as environment variables, +constants, etc. This parameter current affects output of the following +elements: + + + classname + constant + envar + errorcode + option + replaceable + userinput + type + varname + + + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting the + man.hyphenate.computer.inlines is not + necessary. + + +If man.hyphenate.computer.inlines is +non-zero, computer inlines will not be treated specially and will be +hyphenated like other words when needed. + + + + + + +man.justify +boolean + + +man.justify +Justify text to both right and left margins? + + + + +<xsl:param name="man.justify">0</xsl:param> + + +Description + +If non-zero, text is justified to both the right and left +margins (or, in roff terminology, "adjusted and filled" to both the +right and left margins). If zero (the default), text is adjusted to +the left margin only -- producing what is traditionally called +"ragged-right" text. + + +The default value for this parameter is zero because justified +text looks good only when it is also hyphenated. Without hyphenation, +excessive amounts of space often end up getting between words, in +order to "pad" lines out to align on the right margin. + +The problem is that groff is not particularly smart about how it +does hyphenation; it can end up hyphenating a lot of things that you +don't want hyphenated. So, disabling both justification and +hyphenation ensures that hyphens won't get inserted where you don't +want to them, and you don't end up with lines containing excessive +amounts of space between words. + +However, if do you decide to set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation). + +Yes, these default settings run counter to how most existing man +pages are formatted. But there are some notable exceptions, such as +the perl man pages. + + + + + + +man.break.after.slash +boolean + + +man.break.after.slash +Enable line-breaking after slashes? + + + + +<xsl:param name="man.break.after.slash">0</xsl:param> + + +Description + +If non-zero, line-breaking after slashes is enabled. This is +mainly useful for causing long URLs or pathnames/filenames to be +broken up or "wrapped" across lines (though it also has the side +effect of sometimes causing relatively short URLs and pathnames to be +broken up across lines too). + +If zero (the default), line-breaking after slashes is +disabled. In that case, strings containing slashes (for example, URLs +or filenames) are not broken across lines, even if they exceed the +maximum column widith. + + + If you set a non-zero value for this parameter, check your + man-page output carefuly afterwards, in order to make sure that the + setting has not introduced an excessive amount of breaking-up of URLs + or pathnames. If your content contains mostly short URLs or + pathnames, setting a non-zero value for + man.break.after.slash will probably result in + in a significant number of relatively short URLs and pathnames being + broken across lines, which is probably not what you want. + + + + + +
    + + Indentation + + +man.indent.width +length + + +man.indent.width +Specifies width used for adjusted indents + + + + +<xsl:param name="man.indent.width">4</xsl:param> + + + +Description +The man.indent.width parameter specifies +the width used for adjusted indents. The value of +man.indent.width is used for indenting of +lists, verbatims, headings, and elsewhere, depending on whether the +values of certain man.indent.* boolean parameters +are non-zero. + +The value of man.indent.width should +include a valid roff measurement unit (for example, +n or u). The default value of +4n specifies a 4-en width; when viewed on a +console, that amounts to the width of four characters. For details +about roff measurment units, see the Measurements +node in the groff info page. + + + + + + +man.indent.refsect +boolean + + +man.indent.refsect +Adjust indentation of refsect* and refsection? + + + + +<xsl:param name="man.indent.refsect" select="0"></xsl:param> + + +Description + +If the value of man.indent.refsect is +non-zero, the width of the left margin for +refsect1, refsect2 and +refsect3 contents and titles (and first-level, +second-level, and third-level nested +refsectioninstances) is adjusted by the value of +the man.indent.width parameter. With +man.indent.width set to its default value of +3n, the main results are that: + + + + contents of refsect1 are output with a + left margin of three characters instead the roff default of seven + or eight characters + + + contents of refsect2 are displayed in + console output with a left margin of six characters instead the of + the roff default of seven characters + + + the contents of refsect3 and nested + refsection instances are adjusted + accordingly. + + + +If instead the value of man.indent.refsect is +zero, no margin adjustment is done for refsect* +output. + + + If your content is primarly comprised of + refsect1 and refsect2 content + (or the refsection equivalent) – with few or + no refsect3 or lower nested sections , you may be + able to “conserve” space in your output by setting + man.indent.refsect to a non-zero value. Doing + so will “squeeze” the left margin in such as way as to provide an + additional four characters of “room” per line in + refsect1 output. That extra room may be useful + if, for example, you have many verbatim sections with long lines in + them. + + + + + + + +man.indent.blurbs +boolean + + +man.indent.blurbs +Adjust indentation of blurbs? + + + + +<xsl:param name="man.indent.blurbs" select="1"></xsl:param> + + +Description + +If the value of man.indent.blurbs is +non-zero, the width of the left margin for +authorblurb, personblurb, and +contrib output is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.blurbs is zero, the built-in roff +default width (7.2n) is used. + + + + + + +man.indent.lists +boolean + + +man.indent.lists +Adjust indentation of lists? + + + + +<xsl:param name="man.indent.lists" select="1"></xsl:param> + + +Description + +If the value of man.indent.lists is +non-zero, the width of the left margin for list items in +itemizedlist, +orderedlist, +variablelist output (and output of some other +lists) is set to the value of the +man.indent.width parameter +(4n by default). If instead the value of +man.indent.lists is zero, the built-in roff +default width (7.2n) is used. + + + + + + +man.indent.verbatims +boolean + + +man.indent.verbatims +Adjust indentation of verbatims? + + + + +<xsl:param name="man.indent.verbatims" select="1"></xsl:param> + + +Description + +If the value of man.indent.verbatims is +non-zero, the width of the left margin for output of verbatim +environments (programlisting, +screen, and so on) is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.verbatims is zero, the built-in roff +default width (7.2n) is used. + + + + + + + Fonts + + +man.font.funcprototype +string + + +man.font.funcprototype +Specifies font for funcprototype output + + + + + <xsl:param name="man.font.funcprototype">BI</xsl:param> + + + +Description + +The man.font.funcprototype parameter +specifies the font for funcprototype output. It +should be a valid roff font name, such as BI or +B. + + + + + + +man.font.funcsynopsisinfo +string + + +man.font.funcsynopsisinfo +Specifies font for funcsynopsisinfo output + + + + + <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param> + + + +Description + +The man.font.funcsynopsisinfo parameter +specifies the font for funcsynopsisinfo output. It +should be a valid roff font name, such as B or +I. + + + + + + +man.font.links +string + + +man.font.links +Specifies font for links + + + + +<xsl:param name="man.font.links">B</xsl:param> + + + +Description + +The man.font.links parameter +specifies the font for output of links (ulink instances +and any instances of any element with an xlink:href attribute). + +The value of man.font.links must be + either B or I, or empty. If +the value is empty, no font formatting is applied to links. + +If you set man.endnotes.are.numbered and/or +man.endnotes.list.enabled to zero (disabled), then +you should probably also set an empty value for +man.font.links. But if +man.endnotes.are.numbered is non-zero (enabled), +you should probably keep +man.font.links set to +B or IThe + main purpose of applying a font format to links in most output +formats it to indicate that the formatted text is +“clickable”; given that links rendered in man pages are +not “real” hyperlinks that users can click on, it might +seem like there is never a good reason to have font formatting for +link contents in man output. +In fact, if you suppress the +display of inline link references (by setting +man.endnotes.are.numbered to zero), there is no +good reason to apply font formatting to links. However, if +man.endnotes.are.numbered is non-zero, having +font formatting for links (arguably) serves a purpose: It provides +“context” information about exactly what part of the text +is being “annotated” by the link. Depending on how you +mark up your content, that context information may or may not +have value.. + + +Related Parameters + man.endnotes.list.enabled, + man.endnotes.are.numbered + + + + + + +man.font.table.headings +string + + +man.font.table.headings +Specifies font for table headings + + + + + <xsl:param name="man.font.table.headings">B</xsl:param> + + + +Description + +The man.font.table.headings parameter +specifies the font for table headings. It should be +a valid roff font, such as B or +I. + + + + + + +man.font.table.title +string + + +man.font.table.title +Specifies font for table headings + + + + + <xsl:param name="man.font.table.title">B</xsl:param> + + + +Description + +The man.font.table.title parameter +specifies the font for table titles. It should be +a valid roff font, such as B or +I. + + + + + + + SYNOPSIS section + + +man.funcsynopsis.style +list +ansi +kr + + +man.funcsynopsis.style +What style of funcsynopsis should be generated? + + +<xsl:param name="man.funcsynopsis.style">ansi</xsl:param> + +Description +If man.funcsynopsis.style is +ansi, ANSI-style function synopses are +generated for a funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + + + AUTHORS and COPYRIGHT sections + + +man.authors.section.enabled +boolean + + +man.authors.section.enabled +Display auto-generated AUTHORS section? + + + +<xsl:param name="man.authors.section.enabled">1</xsl:param> + + +Description + +If the value of +man.authors.section.enabled is non-zero +(the default), then an AUTHORS section is +generated near the end of each man page. The output of the +AUTHORS section is assembled from any +author, editor, and othercredit +metadata found in the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any author, editor, and +othercredit metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.authors.section.enabled is zero, the +the auto-generated AUTHORS section is +suppressed. + +Set the value of + man.authors.section.enabled to zero if + you want to have a manually created AUTHORS + section in your source, and you want it to appear in output + instead of the auto-generated AUTHORS + section. + + + + + +man.copyright.section.enabled +boolean + + +man.copyright.section.enabled +Display auto-generated COPYRIGHT section? + + + +<xsl:param name="man.copyright.section.enabled">1</xsl:param> + + +Description + +If the value of +man.copyright.section.enabled is non-zero +(the default), then a COPYRIGHT section is +generated near the end of each man page. The output of the +COPYRIGHT section is assembled from any +copyright and legalnotice metadata found in +the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any copyright and +legalnotice metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.copyright.section.enabled is zero, the +the auto-generated COPYRIGHT section is +suppressed. + +Set the value of + man.copyright.section.enabled to zero if + you want to have a manually created COPYRIGHT + section in your source, and you want it to appear in output + instead of the auto-generated COPYRIGHT + section. + + + + + + Endnotes and link handling + + +man.endnotes.list.enabled +boolean + + +man.endnotes.list.enabled +Display endnotes list at end of man page? + + + + +<xsl:param name="man.endnotes.list.enabled">1</xsl:param> + + + +Description + +If the value of man.endnotes.list.enabled is +non-zero (the default), then an endnotes list is added to the end of +the output man page. + +If the value of man.endnotes.list.enabled is +zero, the list is suppressed — unless link numbering is enabled (that +is, if man.endnotes.are.numbered is non-zero), in +which case, that setting overrides the +man.endnotes.list.enabled setting, and the +endnotes list is still displayed. The reason is that inline +numbering of notesources associated with endnotes only makes sense +if a (numbered) list of endnotes is also generated. + + + Leaving + man.endnotes.list.enabled at its default + (non-zero) value ensures that no “out of line” information (such + as the URLs for hyperlinks and images) gets lost in your + man-page output. It just gets “rearranged”. + So if you’re thinking about disabling endnotes listing by + setting the value of + man.endnotes.list.enabled to zero: + Before you do so, first take some time to carefully consider + the information needs and experiences of your users. The “out + of line” information has value even if the presentation of it + in text output is not as interactive as it may be in other + output formats. + As far as the specific case of URLs: Even though the URLs + displayed in text output may not be “real” (clickable) + hyperlinks, many X terminals have convenience features for + recognizing URLs and can, for example, present users with + an options to open a URL in a browser with the user clicks on + the URL is a terminal window. And short of those, users with X + terminals can always manually cut and paste the URLs into a web + browser. + Also, note that various “man to html” tools, such as the + widely used man2html (VH-Man2html) + application, automatically mark up URLs with a@href markup + during conversion — resulting in “real” hyperlinks in HTML + output from those tools. + + +To “turn off” numbering of endnotes in the +endnotes list, set man.endnotes.are.numbered +to zero. The endnotes list will +still be displayed; it will just be displayed without the +numbersIt can still make sense to have +the list of endnotes displayed even if you have endnotes numbering turned +off. In that case, your endnotes list basically becomes a “list +of references” without any association with specific text in +your document. This is probably the best option if you find the inline +endnotes numbering obtrusive. Your users will still have access to all the “out of line” +such as URLs for hyperlinks. + + +The default heading for the endnotes list is +NOTES. To change that, set a non-empty +value for the man.endnotes.list.heading +parameter. + +In the case of notesources that are links: Along with the +URL for each link, the endnotes list includes the contents of the +link. The list thus includes only non-empty + +A “non-empty” link is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty link” is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + links. + +Empty links are never included, and never numbered. They are simply +displayed inline, without any numbering. + +In addition, if there are multiple instances of links in a +refentry that have the same URL, the URL is listed only +once. The contents listed for that link in the endnotes list are +the contents of the first link which has that URL. + +If you disable endnotes listing, you should probably also set +man.links.are.underlined to zero (to disable +link underlining). + + + + + +man.endnotes.list.heading +string + + +man.endnotes.list.heading +Specifies an alternate name for endnotes list + + + + +<xsl:param name="man.endnotes.list.heading"></xsl:param> + + + +Description + +If the value of the +man.endnotes.are.numbered parameter +and/or the man.endnotes.list.enabled +parameter is non-zero (the defaults for both are non-zero), a +numbered list of endnotes is generated near the end of each man +page. The default heading for the list of endnotes is the +equivalent of the English word NOTES in +the current locale. To cause an alternate heading to be displayed, +set a non-empty value for the +man.endnotes.list.heading parameter — +for example, REFERENCES. + + + + + +man.endnotes.are.numbered +boolean + + +man.endnotes.are.numbered +Number endnotes? + + + + +<xsl:param name="man.endnotes.are.numbered">1</xsl:param> + + + +Description + +If the value of man.endnotes.are.numbered is +non-zero (the default), then for each non-empty +A “non-empty” notesource is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty” notesource is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + “notesource”: + + + + a number (in square brackets) is displayed inline after the + rendered inline contents (if any) of the notesource + + + the contents of the notesource are included in a + numbered list of endnotes that is generated at the end of + each man page; the number for each endnote corresponds to + the inline number for the notesource with which it is + associated + + +The default heading for the list of endnotes is +NOTES. To output a different heading, set a value +for the man.endnotes.section.heading +parameter. + + + The endnotes list is also displayed (but without + numbers) if the value of + man.endnotes.list.enabled is + non-zero. + + + +If the value of man.endnotes.are.numbered is +zero, numbering of endnotess is suppressed; only inline +contents (if any) of the notesource are displayed inline. + + If you are thinking about disabling endnote numbering by setting + the value of man.endnotes.are.numbered to zero, + before you do so, first take some time to carefully + consider the information needs and experiences of your users. The + square-bracketed numbers displayed inline after notesources may seem + obstrusive and aesthetically unpleasingAs far as notesources that are links, ytou might + think it would be better to just display URLs for non-empty + links inline, after their content, rather than displaying + square-bracketed numbers all over the place. But it's not better. In + fact, it's not even practical, because many (most) URLs for links + are too long to be displayed inline. They end up overflowing the + right margin. You can set a non-zero value for + man.break.after.slash parameter to deal with + that, but it could be argued that what you end up with is at least + as ugly, and definitely more obstrusive, then having short + square-bracketed numbers displayed inline., + + but in a text-only output format, the + numbered-notesources/endnotes-listing mechanism is the only + practical way to handle this kind of content. + + Also, users of “text based” browsers such as + lynx will already be accustomed to seeing inline + numbers for links. And various "man to html" applications, such as + the widely used man2html (VH-Man2html) + application, can automatically turn URLs into "real" HTML hyperlinks + in output. So leaving man.endnotes.are.numbered + at its default (non-zero) value ensures that no information is + lost in your man-page output. It just gets + “rearranged”. + + +The handling of empty links is not affected by this +parameter. Empty links are handled simply by displaying their URLs +inline. Empty links are never auto-numbered. + +If you disable endnotes numbering, you should probably also set +man.font.links to an empty value (to +disable font formatting for links. + + +Related Parameters + man.endnotes.list.enabled, + man.font.links + + + + + + man.base.url.for.relative.links + string + + + man.base.url.for.relative.links + Specifies a base URL for relative links + + + + <xsl:param name="man.base.url.for.relative.links">[set $man.base.url.for.relative.links]/</xsl:param> + + + Description + + For any “notesource” listed in the auto-generated + “NOTES” section of output man pages (which is generated when + the value of the + man.endnotes.list.enabled parameter + is non-zero), if the notesource is a link source with a + relative URI, the URI is displayed in output with the value + of the + man.base.url.for.relative.links + parameter prepended to the value of the link URI. + + + A link source is an notesource that references an + external resource: + + + a ulink element with a url attribute + + + any element with an xlink:href attribute + + + an imagedata, audiodata, or + videodata element + + + + + + If you use relative URIs in link sources in your DocBook + refentry source, and you leave + man.base.url.for.relative.links + unset, the relative links will appear “as is” in the “Notes” + section of any man-page output generated from your source. + That’s probably not what you want, because such relative + links are only usable in the context of HTML output. So, to + make the links meaningful and usable in the context of + man-page output, set a value for + man.base.url.for.relative.links that + points to the online version of HTML output generated from + your DocBook refentry source. For + example: + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + + + + Related Parameters + man.endnotes.list.enabled + + + + + + + Lists + + +man.segtitle.suppress +boolean + + +man.segtitle.suppress +Suppress display of segtitle contents? + + + + +<xsl:param name="man.segtitle.suppress" select="0"></xsl:param> + + +Description + +If the value of man.segtitle.suppress is +non-zero, then display of segtitle contents is +suppressed in output. + + + + + + + Character/string substitution + + +man.charmap.enabled +boolean + + +man.charmap.enabled +Apply character map before final output? + + + + +<xsl:param name="man.charmap.enabled" select="1"></xsl:param> + + + +Description + +If the value of the man.charmap.enabled +parameter is non-zero, a "character map" is used to substitute certain +Unicode symbols and special characters with appropriate roff/groff +equivalents, just before writing each man-page file to the +filesystem. If instead the value of +man.charmap.enabled is zero, Unicode characters +are passed through "as is". + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + +You can also use a subset of a character map. For details, +see the man.charmap.use.subset, +man.charmap.subset.profile, and +man.charmap.subset.profile.english +parameters. + + + + + + + +man.charmap.uri +uri + + +man.charmap.uri +URI for custom roff character map + + + + +<xsl:param name="man.charmap.uri"></xsl:param> + + + +Description + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes an XSLT character +map. That character map can be considered the standard roff +character map for the distribution. + +If the value of the man.charmap.uri +parameter is non-empty, that value is used as the URI for the location +for an alternate roff character map to use in place of the standard +roff character map provided in the distribution. + + +Do not set a value for man.charmap.uri +unless you have a custom roff character map that differs from the +standard one provided in the distribution. + + + + + + +man.charmap.use.subset +boolean + + +man.charmap.use.subset +Use subset of character map instead of full map? + + + + +<xsl:param name="man.charmap.use.subset" select="1"></xsl:param> + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +a subset of the roff character map is used instead of the full roff +character map. The profile of the subset used is determined either +by the value of the +man.charmap.subset.profile +parameter (if the source is not in English) or the +man.charmap.subset.profile.english +parameter (if the source is in English). + + + You may want to experiment with setting a non-zero value of + man.charmap.use.subset, so that the full + character map is used. Depending on which XSLT engine you run, + setting a non-zero value for + man.charmap.use.subset may significantly + increase the time needed to process your documents. Or it may + not. For example, if you set it and run it with xsltproc, it seems + to dramatically increase processing time; on the other hand, if you + set it and run it with Saxon, it does not seem to increase + processing time nearly as much. + + If processing time is not a important concern and/or you can + tolerate the increase in processing time imposed by using the full + character map, set man.charmap.use.subset to + zero. + + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + + +Because it is not terrifically efficient to use the standard +800-character character map in full -- and for most (or all) users, +never necessary to use it in full -- the DocBook XSL Stylesheets +support a mechanism for using, within any given character map, a +subset of character mappings instead of the full set. You can use the +man.charmap.subset.profile or +man.charmap.subset.profile.english +parameter to tune the profile of that subset to use. + + + + + + + +man.charmap.subset.profile +string + + +man.charmap.subset.profile +Profile of character map subset + + + + +<xsl:param name="man.charmap.subset.profile"> +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + (@*[local-name() = 'class'] = 'symbols' or + @*[local-name() = 'class'] = 'letters') +) or +@*[local-name() = 'block'] = 'Latin Extended-A' +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' +</xsl:param> + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that + is, if the lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has a value other than + en), then the character-map subset specified + by the man.charmap.subset.profile + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root + element in your DocBook + source or on the first refentry element in your source + has the value en or if it has no lang or xml:lang attribute, then the character-map + subset specified by the + man.charmap.subset.profile.english + parameter is used instead of + man.charmap.subset.profile. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile +is a string representing an XPath expression that matches attribute +names and values for output-character +elements in the character map. + +The attributes supported in the standard roff character map included in the distribution are: + + + character + + a raw Unicode character or numeric Unicode + character-entity value (either in decimal or hex); all + characters have this attribute + + + + name + + a standard full/long ISO/Unicode character name (e.g., + "OHM SIGN"); all characters have this attribute + + + + block + + a standard Unicode "block" name (e.g., "General + Punctuation"); all characters have this attribute. For the full + list of Unicode block names supported in the standard roff + character map, see . + + + + class + + a class of characters (e.g., "spaces"). Not all + characters have this attribute; currently, it is used only with + certain characters within the "C1 Controls And Latin-1 + Supplement" and "General Punctuation" blocks. For details, see + . + + + + entity + + an ISO entity name (e.g., "ohm"); not all characters + have this attribute, because not all characters have ISO entity + names; for example, of the 800 or so characters in the standard + roff character map included in the distribution, only around 300 + have ISO entity names. + + + + + string + + a string representing an roff/groff escape-code (with + "@esc@" used in place of the backslash), or a simple ASCII + string; all characters in the roff character map have this + attribute + + + + +The value of man.charmap.subset.profile +is evaluated as an XPath expression at run-time to select a portion of +the roff character map to use. You can tune the subset used by adding +or removing parts. For example, if you need to use a wide range of +mathematical operators in a document, and you want to have them +converted into roff markup properly, you might add the following: + + @*[local-name() = 'block'] ='MathematicalOperators' + +That will cause a additional set of around 67 additional "math" +characters to be converted into roff markup. + + +Depending on which XSLT engine you use, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +man.charmap.subset.profile at run-time. If you +don't use xsltproc, Saxon, Xalan -- or some other XSLT engine that +supports dyn:evaluate -- you must either set the +value of the man.charmap.use.subset parameter +to zero and process your documents using the full character map +instead, or set the value of the +man.charmap.enabled parameter to zero instead +(so that character-map processing is disabled completely. + + +An alternative to using +man.charmap.subset.profile is to create your +own custom character map, and set the value of +man.charmap.uri to the URI/filename for +that. If you use a custom character map, you will probably want to +include in it just the characters you want to use, and so you will +most likely also want to set the value of +man.charmap.use.subset to zero. +You can create a +custom character map by making a copy of the standard roff character map provided in the distribution, and +then adding to, changing, and/or deleting from that. + + +If you author your DocBook XML source in UTF-8 or UTF-16 +encoding and aren't sure what OSes or environments your man-page +output might end up being viewed on, and not sure what version of +nroff/groff those environments might have, you should be careful about +what Unicode symbols and special characters you use in your source and +what parts you add to the value of +man.charmap.subset.profile. +Many of the escape codes used are specific to groff and using +them may not provide the expected output on an OS or environment that +uses nroff instead of groff. +On the other hand, if you intend for your man-page output to be +viewed only on modern systems (for example, GNU/Linux systems, FreeBSD +systems, or Cygwin environments) that have a good, up-to-date groff, +then you can safely include a wide range of Unicode symbols and +special characters in your UTF-8 or UTF-16 encoded DocBook XML source +and add any of the supported Unicode block names to the value of +man.charmap.subset.profile. + + + +For other details, see the documentation for the +man.charmap.use.subset parameter. + +Supported Unicode block names and "class" values + + + Below is the full list of Unicode block names and "class" + values supported in the standard roff stylesheet provided in the + distribution, along with a description of which codepoints from the + Unicode range corresponding to that block name or block/class + combination are supported. + + + + C1 Controls And Latin-1 Supplement (Latin-1 Supplement) (x00a0 to x00ff) + class values + + + symbols + + + letters + + + + + Latin Extended-A (x0100 to x017f, partial) + + + Spacing Modifier Letters (x02b0 to x02ee, partial) + + + Greek and Coptic (x0370 to x03ff, partial) + + + General Punctuation (x2000 to x206f, partial) + class values + + + spaces + + + dashes + + + quotes + + + daggers + + + bullets + + + leaders + + + primes + + + + + + Superscripts and Subscripts (x2070 to x209f) + + + Currency Symbols (x20a0 to x20b1) + + + Letterlike Symbols (x2100 to x214b) + + + Number Forms (x2150 to x218f) + + + Arrows (x2190 to x21ff, partial) + + + Mathematical Operators (x2200 to x22ff, partial) + + + Control Pictures (x2400 to x243f) + + + Enclosed Alphanumerics (x2460 to x24ff) + + + Geometric Shapes (x25a0 to x25f7, partial) + + + Miscellaneous Symbols (x2600 to x26ff, partial) + + + Dingbats (x2700 to x27be, partial) + + + Alphabetic Presentation Forms (xfb00 to xfb04 only) + + + + + + + + +man.charmap.subset.profile.english +string + + +man.charmap.subset.profile.english +Profile of character map subset + + + + +<xsl:param name="man.charmap.subset.profile.english"> +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + @*[local-name() = 'class'] = 'symbols') +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' +</xsl:param> + + + +Description + +If the value of the + man.charmap.use.subset parameter is + non-zero, and your DocBook source is written in English (that + is, if its lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has the value en or if + it has no lang or xml:lang attribute), then the + character-map subset specified by the + man.charmap.subset.profile.english + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute + on the root element in your DocBook source or on the first + refentry element in your source has a value other + than en, then the character-map subset + specified by the + man.charmap.subset.profile parameter is + used instead of + man.charmap.subset.profile.english. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile.english +is a string representing an XPath expression that matches attribute +names and values for output-character elements in the character map. + +For other details, see the documentation for the +man.charmap.subset.profile.english and +man.charmap.use.subset parameters. + + + + + + +man.string.subst.map.local.pre +string + + +man.string.subst.map.local.pre +Specifies “local” string substitutions + + + + + <xsl:param name="man.string.subst.map.local.pre"></xsl:param> + + + +Description + +Use the man.string.subst.map.local.pre +parameter to specify any “local” string substitutions to perform over +the entire roff source for each man page before +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + + + + +man.string.subst.map +rtf + + +man.string.subst.map +Specifies a set of string substitutions + + + + +<xsl:param name="man.string.subst.map"> + + <!-- * remove no-break marker at beginning of line (stylesheet artifact) --> + <ss:substitution oldstring="▒▀" newstring="▒"></ss:substitution> + <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space --> + <ss:substitution oldstring="▀" newstring="\ "></ss:substitution> + + <!-- ==================================================================== --> + + <!-- * squeeze multiple newlines before a roff request --> + <ss:substitution oldstring=" + +." newstring=" +."></ss:substitution> + <!-- * remove any .sp instances that directly precede a .PP --> + <ss:substitution oldstring=".sp +.PP" newstring=".PP"></ss:substitution> + <!-- * remove any .sp instances that directly follow a .PP --> + <ss:substitution oldstring=".sp +.sp" newstring=".sp"></ss:substitution> + <!-- * squeeze multiple .sp instances into a single .sp--> + <ss:substitution oldstring=".PP +.sp" newstring=".PP"></ss:substitution> + <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. --> + <ss:substitution oldstring=".nf + +" newstring=".nf +"></ss:substitution> + <!-- * squeeze multiple newlines after REstoring margin --> + <ss:substitution oldstring=".RE + +" newstring=".RE +"></ss:substitution> + <!-- * U+2591 is a marker we add before and after every Parameter in --> + <!-- * Funcprototype output --> + <ss:substitution oldstring="░" newstring=" "></ss:substitution> + <!-- * U+2592 is a marker we add for the newline before output of <sbr>; --> + <ss:substitution oldstring="▒" newstring=" +"></ss:substitution> + <!-- * --> + <!-- * Now deal with some other characters that are added by the --> + <!-- * stylesheets during processing. --> + <!-- * --> + <!-- * bullet --> + <ss:substitution oldstring="•" newstring="\(bu"></ss:substitution> + <!-- * left double quote --> + <ss:substitution oldstring="“" newstring="\(lq"></ss:substitution> + <!-- * right double quote --> + <ss:substitution oldstring="”" newstring="\(rq"></ss:substitution> + <!-- * left single quote --> + <ss:substitution oldstring="‘" newstring="\(oq"></ss:substitution> + <!-- * right single quote --> + <ss:substitution oldstring="’" newstring="\(cq"></ss:substitution> + <!-- * copyright sign --> + <ss:substitution oldstring="©" newstring="\(co"></ss:substitution> + <!-- * registered sign --> + <ss:substitution oldstring="®" newstring="\(rg"></ss:substitution> + <!-- * ...servicemark... --> + <!-- * There is no groff equivalent for it. --> + <ss:substitution oldstring="℠" newstring="(SM)"></ss:substitution> + <!-- * ...trademark... --> + <!-- * We don't do "\(tm" because for console output, --> + <!-- * groff just renders that as "tm"; that is: --> + <!-- * --> + <!-- * Product&#x2122; -> Producttm --> + <!-- * --> + <!-- * So we just make it to "(TM)" instead; thus: --> + <!-- * --> + <!-- * Product&#x2122; -> Product(TM) --> + <ss:substitution oldstring="™" newstring="(TM)"></ss:substitution> + +</xsl:param> + + + +Description + +The man.string.subst.map parameter +contains a map that specifies a set of +string substitutions to perform over the entire roff source for each +man page, either just before generating final man-page output (that +is, before writing man-page files to disk) or, if the value of the +man.charmap.enabled parameter is non-zero, +before applying the roff character map. + +You can use man.string.subst.map as a +“lightweight” character map to perform “essential” substitutions -- +that is, substitutions that are always performed, +even if the value of the man.charmap.enabled +parameter is zero. For example, you can use it to replace quotation +marks or other special characters that are generated by the DocBook +XSL stylesheets for a particular locale setting (as opposed to those +characters that are actually in source XML documents), or to replace +any special characters that may be automatically generated by a +particular customization of the DocBook XSL stylesheets. + + + Do you not change value of the + man.string.subst.map parameter unless you are + sure what you are doing. First consider adding your + string-substitution mappings to either or both of the following + parameters: + + + man.string.subst.map.local.pre + applied before + man.string.subst.map + + + man.string.subst.map.local.post + applied after + man.string.subst.map + + + By default, both of those parameters contain no + string substitutions. They are intended as a means for you to + specify your own local string-substitution mappings. + + If you remove any of default mappings from the value of the + man.string.subst.map parameter, you are + likely to end up with broken output. And be very careful about adding + anything to it; it’s used for doing string substitution over the + entire roff source of each man page – it causes target strings to be + replaced in roff requests and escapes, not just in the visible + contents of the page. + + + + + + Contents of the substitution map + + The string-substitution map contains one or more + ss:substitution elements, each of which has two + attributes: + + + oldstring + + string to replace + + + + newstring + + string with which to replace oldstring + + + + It may also include XML comments (that is, delimited with + "<!--" and "-->"). + + + + + + + + +man.string.subst.map.local.post +string + + +man.string.subst.map.local.post +Specifies “local” string substitutions + + + + +<xsl:param name="man.string.subst.map.local.post"></xsl:param> + + + +Description + +Use the man.string.subst.map.local.post +parameter to specify any “local” string substitutions to perform over +the entire roff source for each man page after +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + + + + + Refentry metadata gathering + + +refentry.meta.get.quietly +boolean + + +refentry.meta.get.quietly +Suppress notes and warnings when gathering refentry metadata? + + + + +<xsl:param name="refentry.meta.get.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), notes and warnings about “missing” markup +are generated during gathering of refentry metadata. If non-zero, the +metadata is gathered “quietly” -- that is, the notes and warnings are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + refentry.meta.get.quietly. + + + + + + + +refentry.date.profile +string + + +refentry.date.profile +Specifies profile for refentry "date" data + + + + +<xsl:param name="refentry.date.profile"> + (($info[//date])[last()]/date)[1]| + (($info[//pubdate])[last()]/pubdate)[1] +</xsl:param> + + + +Description + +The value of refentry.date.profile is a +string representing an XPath expression. It is evaluated at run-time +and used only if refentry.date.profile.enabled +is non-zero. Otherwise, the refentry metadata-gathering +logic "hard coded" into the stylesheets is used. + + The man(7) man page describes this content +as "the date of the last revision". In man pages, it is the content +that is usually displayed in the center footer. + + + + + + +refentry.date.profile.enabled +boolean + + +refentry.date.profile.enabled +Enable refentry "date" profiling? + + + + +<xsl:param name="refentry.date.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.date.profile.enabled is non-zero, then +during refentry metadata gathering, the info profile +specified by the customizable +refentry.date.profile parameter is used. + +If instead the value of +refentry.date.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "date" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "date" data to show +up in your output, then consider setting a non-zero value for +refentry.date.profile.enabled and adjusting the +value of refentry.date.profile to cause correct +data to be gathered. + +Note that the terms "source" and "date" have special meanings in +this context. For details, see the documentation for the +refentry.date.profile parameter. + + + + + + +refentry.manual.profile +string + + +refentry.manual.profile +Specifies profile for refentry "manual" data + + + + +<xsl:param name="refentry.manual.profile"> + (($info[//title])[last()]/title)[1]| + ../title/node() +</xsl:param> + + + +Description + +The value of refentry.manual.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.manual.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +In man pages, this content is usually displayed in the middle of +the header of the page. The man(7) man page +describes this as "the title of the manual (e.g., Linux +Programmer's Manual)". Here are some examples from +existing man pages: + + + dpkg utilities + (dpkg-name) + + + User Contributed Perl Documentation + (GET) + + + GNU Development Tools + (ld) + + + Emperor Norton Utilities + (ddate) + + + Debian GNU/Linux manual + (faked) + + + GIMP Manual Pages + (gimp) + + + KDOC Documentation System + (qt2kdoc) + + + + + + + + + +refentry.manual.profile.enabled +boolean + + +refentry.manual.profile.enabled +Enable refentry "manual" profiling? + + + + +<xsl:param name="refentry.manual.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.manual.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.manual.profile parameter is +used. + +If instead the value of +refentry.manual.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "manual" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "manual" data to show +up in your output, then consider setting a non-zero value for +refentry.manual.profile.enabled and adjusting +the value of refentry.manual.profile to cause +correct data to be gathered. + +Note that the term "manual" has a special meanings in this +context. For details, see the documentation for the +refentry.manual.profile parameter. + + + + + + +refentry.source.name.suppress +boolean + + +refentry.source.name.suppress +Suppress "name" part of refentry "source" contents? + + + + +<xsl:param name="refentry.source.name.suppress">0</xsl:param> + + +Description + +If the value of +refentry.source.name.suppress is non-zero, then +during refentry metadata gathering, no "source name" data +is added to the refentry "source" contents. Instead (unless +refentry.version.suppress is also non-zero), +only "version" data is added to the "source" contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "source name" data to show up in your +output -- for example, in the footer (or possibly header) of a man +page -- then you might consider setting a non-zero value for +refentry.source.name.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + + + + +refentry.source.name.profile +string + + +refentry.source.name.profile +Specifies profile for refentry "source name" data + + + + +<xsl:param name="refentry.source.name.profile"> + (($info[//productname])[last()]/productname)[1]| + (($info[//corpname])[last()]/corpname)[1]| + (($info[//corpcredit])[last()]/corpcredit)[1]| + (($info[//corpauthor])[last()]/corpauthor)[1]| + (($info[//orgname])[last()]/orgname)[1]| + (($info[//publishername])[last()]/publishername)[1] +</xsl:param> + + + +Description + +The value of refentry.source.name.profile +is a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.source.name.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source name" is one part of a (potentially) two-part +Name Version +"source" field. In man pages, it is usually displayed in the left +footer of the page. It typically indicates the software system or +product that the item documented in the man page belongs to. The +man(7) man page describes it as "the source of +the command", and provides the following examples: + + + For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + For system calls, use the version of the kernel that you + are currently looking at: Linux 0.99.11. + + + For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + +In practice, there are many pages that simply have a Version +number in the "source" field. So, it looks like what we have is a +two-part field, +Name Version, +where: + + + Name + + product name (e.g., BSD) or org. name (e.g., GNU) + + + + Version + + version number + + + +Each part is optional. If the Name is a +product name, then the Version is probably +the version of the product. Or there may be no +Name, in which case, if there is a +Version, it is probably the version +of the item itself, not the product it is part of. Or, if the +Name is an organization name, then there +probably will be no Version. + + + + + +refentry.source.name.profile.enabled +boolean + + +refentry.source.name.profile.enabled +Enable refentry "source name" profiling? + + + + +<xsl:param name="refentry.source.name.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.source.name.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.source.name.profile parameter is +used. + +If instead the value of +refentry.source.name.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "source name" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "source name" data to +show up in your output, then consider setting a non-zero value for +refentry.source.name.profile.enabled and +adjusting the value of +refentry.source.name.profile to cause correct +data to be gathered. + +Note that the terms "source" and "source name" have special +meanings in this context. For details, see the documentation for the +refentry.source.name.profile parameter. + + + + + + +refentry.version.suppress +boolean + + +refentry.version.suppress +Suppress "version" part of refentry "source" contents? + + + + +<xsl:param name="refentry.version.suppress">0</xsl:param> + + +Description + +If the value of refentry.version.suppress +is non-zero, then during refentry metadata gathering, no +"version" data is added to the refentry "source" +contents. Instead (unless +refentry.source.name.suppress is also +non-zero), only "source name" data is added to the "source" +contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "version" data to show up in your output +-- for example, in the footer (or possibly header) of a man page -- +then you might consider setting a non-zero value for +refentry.version.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + + + + +refentry.version.profile +string + + +refentry.version.profile +Specifies profile for refentry "version" data + + + + +<xsl:param name="refentry.version.profile"> + (($info[//productnumber])[last()]/productnumber)[1]| + (($info[//edition])[last()]/edition)[1]| + (($info[//releaseinfo])[last()]/releaseinfo)[1] +</xsl:param> + + + +Description + +The value of refentry.version.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.version.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source.name" is one part of a (potentially) two-part +Name Version +"source" field. For more details, see the documentation for the +refentry.source.name.profile parameter. + + + + + + +refentry.version.profile.enabled +boolean + + +refentry.version.profile.enabled +Enable refentry "version" profiling? + + + + +<xsl:param name="refentry.version.profile.enabled">0</xsl:param> + + +Description + +If the value of +refentry.version.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.version.profile parameter is +used. + +If instead the value of +refentry.version.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "version" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "version" data to show +up in your output, then consider setting a non-zero value for +refentry.version.profile.enabled and adjusting +the value of refentry.version.profile to cause +correct data to be gathered. + +Note that the terms "source" and "version" have special +meanings in this context. For details, see the documentation for the +refentry.version.profile parameter. + + + + + + +refentry.manual.fallback.profile +string + + +refentry.manual.fallback.profile +Specifies profile of "fallback" for refentry "manual" data + + + + +<xsl:param name="refentry.manual.fallback.profile"> +refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param> + + + +Description + +The value of +refentry.manual.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and +used only if no "manual" data can be found by other means (that is, +either using the refentry metadata-gathering logic "hard +coded" in the stylesheets, or the value of +refentry.manual.profile, if it is +enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.manual.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.manual.fallback.profile +parameter. + + + + + + + +refentry.source.fallback.profile +string + + +refentry.source.fallback.profile +Specifies profile of "fallback" for refentry "source" data + + + + +<xsl:param name="refentry.source.fallback.profile"> +refmeta/refmiscinfo[not(@class = 'date')][1]/node()</xsl:param> + + + +Description + +The value of +refentry.source.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and used +only if no "source" data can be found by other means (that is, either +using the refentry metadata-gathering logic "hard coded" in +the stylesheets, or the value of the +refentry.source.name.profile and +refentry.version.profile parameters, if those +are enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.source.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.source.fallback.profile +parameter. + + + + + + + + Page header/footer + + +man.th.extra1.suppress +boolean + + +man.th.extra1.suppress +Suppress extra1 part of header/footer? + + + + +<xsl:param name="man.th.extra1.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra1.suppress is +non-zero, then the extra1 part of the +.TH title line header/footer is suppressed. + +The content of the extra1 field is almost +always displayed in the center footer of the page and is, universally, +a date. + + + + + + +man.th.extra2.suppress +boolean + + +man.th.extra2.suppress +Suppress extra2 part of header/footer? + + + + +<xsl:param name="man.th.extra2.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra2.suppress is +non-zero, then the extra2 part of the +.TH title line header/footer is suppressed. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + + + You can use the + refentry.source.name.suppress and + refentry.version.suppress parameters to + independently suppress the Name and + Version parts of the + extra2 field. + + + + + + + +man.th.extra3.suppress +boolean + + +man.th.extra3.suppress +Suppress extra3 part of header/footer? + + + + +<xsl:param name="man.th.extra3.suppress">0</xsl:param> + + +Description + +If the value of man.th.extra3.suppress is +non-zero, then the extra3 part of the +.TH title line header/footer is +suppressed. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + + + + + + +man.th.title.max.length +integer + + +man.th.title.max.length +Maximum length of title in header/footer + + + + +<xsl:param name="man.th.title.max.length">20</xsl:param> + + + +Description + +Specifies the maximum permitted length of the title part of the +man-page .TH title line header/footer. If the title +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +Details + + +Every man page generated using the DocBook stylesheets has a +title line, specified using the TH roff +macro. Within that title line, there is always, at a minimum, a title, +followed by a section value (representing a man "section" -- usually +just a number). + +The title and section are displayed, together, in the visible +header of each page. Where in the header they are displayed depends on +OS the man page is viewed on, and on what version of nroff/groff/man +is used for viewing the page. But, at a minimum and across all +systems, the title and section are displayed on the right-hand column +of the header. On many systems -- those with a modern groff, including +Linux systems -- they are displayed twice: both in the left and right +columns of the header. + +So if the length of the title exceeds a certain percentage of +the column width in which the page is viewed, the left and right +titles can end up overlapping, making them unreadable, or breaking to +another line, which doesn't look particularly good. + +So the stylesheets provide the +man.th.title.max.length parameter as a means +for truncating titles that exceed the maximum length that can be +viewing properly in a page header. + +The default value is reasonable but somewhat arbitrary. If you +have pages with long titles, you may want to experiment with changing +the value in order to achieve the correct aesthetic results. + + + + + + + +man.th.extra2.max.length +integer + + +man.th.extra2.max.length +Maximum length of extra2 in header/footer + + + + +<xsl:param name="man.th.extra2.max.length">30</xsl:param> + + + +Description + +Specifies the maximum permitted length of the +extra2 part of the man-page part of the +.TH title line header/footer. If the +extra2 content exceeds the maxiumum specified, it +is truncated down to the maximum permitted length. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data indicating the software system or product that the item +documented in the man page belongs to, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "source" information, +you may want to experiment with changing the value in order to achieve +the correct aesthetic results. + + + + + +man.th.extra3.max.length +integer + + +man.th.extra3.max.length +Maximum length of extra3 in header/footer + + + + +<xsl:param name="man.th.extra3.max.length">30</xsl:param> + + + +Description + +Specifies the maximum permitted length of the +extra3 part of the man-page .TH +title line header/footer. If the extra3 content +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "manual names" -- or +especially if you are processing pages that have both long "title" +parts (command/function, etc. names) and long +manual names -- you may want to experiment with changing the value in +order to achieve the correct aesthetic results. + + + + + + Output + + + man.output.manifest.enabled + boolean + + + man.output.manifest.enabled + Generate a manifest file? + + + + <xsl:param name="man.output.manifest.enabled" select="0"></xsl:param> + + + Description + + If non-zero, a list of filenames for man pages generated by + the stylesheet transformation is written to the file named by the + man.output.manifest.filename parameter. + + + + + + + man.output.manifest.filename + string + + + man.output.manifest.filename + Name of manifest file + + + + <xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param> + + + Description + + The man.output.manifest.filename parameter + specifies the name of the file to which the manpages manifest file + is written (if the value of the + man.output.manifest.enabled parameter is + non-zero). + + + + + + +man.output.in.separate.dir +boolean + + +man.output.in.separate.dir +Output man-page files in separate output directory? + + + + +<xsl:param name="man.output.in.separate.dir" select="0"></xsl:param> + + + +Description + +If the value of man.output.in.separate.dir +parameter is non-zero, man-page files are output in a separate +directory, specified by the man.output.base.dir +parameter; otherwise, if the value of +man.output.in.separate.dir is zero, man-page files +are not output in a separate directory. + + + + + + +man.output.lang.in.name.enabled +boolean + + +man.output.lang.in.name.enabled +Include $LANG value in man-page filename/pathname? + + + + +<xsl:param name="man.output.lang.in.name.enabled" select="0"></xsl:param> + + + +Description + + The man.output.lang.in.name.enabled + parameter specifies whether a $lang value is + included in man-page filenames and pathnames. + + If the value of + man.output.lang.in.name.enabled is non-zero, + man-page files are output with the $lang value + included in their filenames or pathnames as follows; + + + + if man.output.subdirs.enabled is + non-zero, each file is output to, e.g., a + man/$lang/man8/foo.8 + pathname + + + if man.output.subdirs.enabled is + zero, each file is output with a + foo.$lang.8 + filename + + + + + + + + + +man.output.base.dir +uri + + +man.output.base.dir +Specifies separate output directory + + + +<xsl:param name="man.output.base.dir">man/</xsl:param> + + +Description + +The man.output.base.dir parameter +specifies the base directory into which man-page files are output. The +man.output.subdirs.enabled parameter controls +whether the files are output in subdirectories within the base +directory. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + + + + +man.output.subdirs.enabled +boolean + + +man.output.subdirs.enabled +Output man-page files in subdirectories within base output directory? + + + + +<xsl:param name="man.output.subdirs.enabled" select="1"></xsl:param> + + + +Description + +The man.output.subdirs.enabled parameter +controls whether man-pages files are output in subdirectories within +the base directory specified by the directory specified by the +man.output.base.dir parameter. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + + + + +man.output.quietly +boolean + + +man.output.quietly +Suppress filename messages emitted when generating output? + + + + +<xsl:param name="man.output.quietly" select="0"></xsl:param> + + + +Description + +If zero (the default), for each man-page file created, a message +with the name of the file is emitted. If non-zero, the files are +output "quietly" -- that is, the filename messages are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + man.output.quietly. + + + + + + + +man.output.encoding +string + + +man.output.encoding +Encoding used for man-page output + + + + +<xsl:param name="man.output.encoding">UTF-8</xsl:param> + + + +Description + +This parameter specifies the encoding to use for files generated +by the manpages stylesheet. Not all processors support specification +of this parameter. + + + If the value of the man.charmap.enabled + parameter is non-zero (the default), keeping the + man.output.encoding parameter at its default + value (UTF-8) or setting it to + UTF-16 does not cause your + man pages to be output in raw UTF-8 or UTF-16 -- because + any Unicode characters for which matches are found in the enabled + character map will be replaced with roff escape sequences before the + final man-page files are generated. + + So if you want to generate "real" UTF-8 man pages, without any + character substitution being performed on your content, you need to + set man.charmap.enabled to zero (which will + completely disable character-map processing). + + You may also need to set + man.charmap.enabled to zero if you want to + output man pages in an encoding other than UTF-8 + or UTF-16. Character-map processing is based on + Unicode character values and may not work with other output + encodings. + + + + + + + +man.output.better.ps.enabled +boolean + + +man.output.better.ps.enabled +Enable enhanced print/PostScript output? + + + +<xsl:param name="man.output.better.ps.enabled">0</xsl:param> + + +Description + +If the value of the +man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps +command for that page will include a number of enhancements +designed to improve the quality of that output. + +If man.output.better.ps.enabled is +zero (the default), no such markup is embedded in generated man +pages, and no enhancements are included in the PostScript +output generated from those man pages by the man + -Tps command. + + + The enhancements provided by this parameter rely on + features that are specific to groff (GNU troff) and that are + not part of “classic” AT&T troff or any of its + derivatives. Therefore, any man pages you generate with this + parameter enabled will be readable only on systems on which + the groff (GNU troff) program is installed, such as GNU/Linux + systems. The pages will not not be + readable on systems on with the classic troff (AT&T + troff) command is installed. + + +The value of this parameter only affects PostScript output + generated from the man command. It has no + effect on output generated using the FO backend. + + + You can generate PostScript output for any man page by + running the following command: + man FOO -Tps > FOO.ps + You can then generate PDF output by running the following + command: + ps2pdf FOO.ps + + + + + + + + Other + + +man.table.footnotes.divider +string + + +man.table.footnotes.divider +Specifies divider string that appears before table footnotes + + + + +<xsl:param name="man.table.footnotes.divider">----</xsl:param> + + + +Description + +In each table that contains footenotes, the string specified by +the man.table.footnotes.divider parameter is +output before the list of footnotes for the table. + + + + + + +man.subheading.divider.enabled +boolean + + +man.subheading.divider.enabled +Add divider comment to roff source before/after subheadings? + + + + +<xsl:param name="man.subheading.divider.enabled">0</xsl:param> + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + + + + +man.subheading.divider +string + + +man.subheading.divider +Specifies string to use as divider comment before/after subheadings + + + + +<xsl:param name="man.subheading.divider">========================================================================</xsl:param> + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + + + + + The Stylesheet + + The param.xsl stylesheet is just a + wrapper around all of these parameters. + + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- This file is generated from param.xweb --> + +<!-- ******************************************************************** + $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="man.authors.section.enabled.frag"></src:fragref> +<src:fragref linkend="man.break.after.slash.frag"></src:fragref> +<src:fragref linkend="man.base.url.for.relative.links.frag"></src:fragref> +<src:fragref linkend="man.charmap.enabled.frag"></src:fragref> +<src:fragref linkend="man.charmap.subset.profile.frag"></src:fragref> +<src:fragref linkend="man.charmap.subset.profile.english.frag"></src:fragref> +<src:fragref linkend="man.charmap.uri.frag"></src:fragref> +<src:fragref linkend="man.charmap.use.subset.frag"></src:fragref> +<src:fragref linkend="man.copyright.section.enabled.frag"></src:fragref> +<src:fragref linkend="man.endnotes.are.numbered.frag"></src:fragref> +<src:fragref linkend="man.endnotes.list.enabled.frag"></src:fragref> +<src:fragref linkend="man.endnotes.list.heading.frag"></src:fragref> +<src:fragref linkend="man.font.funcprototype.frag"></src:fragref> +<src:fragref linkend="man.font.funcsynopsisinfo.frag"></src:fragref> +<src:fragref linkend="man.font.links.frag"></src:fragref> +<src:fragref linkend="man.font.table.headings.frag"></src:fragref> +<src:fragref linkend="man.font.table.title.frag"></src:fragref> +<src:fragref linkend="man.funcsynopsis.style.frag"></src:fragref> +<src:fragref linkend="man.hyphenate.computer.inlines.frag"></src:fragref> +<src:fragref linkend="man.hyphenate.filenames.frag"></src:fragref> +<src:fragref linkend="man.hyphenate.frag"></src:fragref> +<src:fragref linkend="man.hyphenate.urls.frag"></src:fragref> +<src:fragref linkend="man.indent.blurbs.frag"></src:fragref> +<src:fragref linkend="man.indent.lists.frag"></src:fragref> +<src:fragref linkend="man.indent.refsect.frag"></src:fragref> +<src:fragref linkend="man.indent.verbatims.frag"></src:fragref> +<src:fragref linkend="man.indent.width.frag"></src:fragref> +<src:fragref linkend="man.justify.frag"></src:fragref> +<src:fragref linkend="man.output.base.dir.frag"></src:fragref> +<src:fragref linkend="man.output.encoding.frag"></src:fragref> +<src:fragref linkend="man.output.in.separate.dir.frag"></src:fragref> +<src:fragref linkend="man.output.lang.in.name.enabled.frag"></src:fragref> +<src:fragref linkend="man.output.manifest.enabled.frag"></src:fragref> +<src:fragref linkend="man.output.manifest.filename.frag"></src:fragref> +<src:fragref linkend="man.output.better.ps.enabled.frag"></src:fragref> +<src:fragref linkend="man.output.quietly.frag"></src:fragref> +<src:fragref linkend="man.output.subdirs.enabled.frag"></src:fragref> +<src:fragref linkend="man.segtitle.suppress.frag"></src:fragref> +<src:fragref linkend="man.string.subst.map.frag"></src:fragref> +<src:fragref linkend="man.string.subst.map.local.post.frag"></src:fragref> +<src:fragref linkend="man.string.subst.map.local.pre.frag"></src:fragref> +<src:fragref linkend="man.subheading.divider.enabled.frag"></src:fragref> +<src:fragref linkend="man.subheading.divider.frag"></src:fragref> +<src:fragref linkend="man.table.footnotes.divider.frag"></src:fragref> +<src:fragref linkend="man.th.extra1.suppress.frag"></src:fragref> +<src:fragref linkend="man.th.extra2.max.length.frag"></src:fragref> +<src:fragref linkend="man.th.extra2.suppress.frag"></src:fragref> +<src:fragref linkend="man.th.extra3.max.length.frag"></src:fragref> +<src:fragref linkend="man.th.extra3.suppress.frag"></src:fragref> +<src:fragref linkend="man.th.title.max.length.frag"></src:fragref> +<src:fragref linkend="refentry.date.profile.enabled.frag"></src:fragref> +<src:fragref linkend="refentry.date.profile.frag"></src:fragref> +<src:fragref linkend="refentry.manual.fallback.profile.frag"></src:fragref> +<src:fragref linkend="refentry.manual.profile.enabled.frag"></src:fragref> +<src:fragref linkend="refentry.manual.profile.frag"></src:fragref> +<src:fragref linkend="refentry.meta.get.quietly.frag"></src:fragref> +<src:fragref linkend="refentry.source.fallback.profile.frag"></src:fragref> +<src:fragref linkend="refentry.source.name.profile.enabled.frag"></src:fragref> +<src:fragref linkend="refentry.source.name.profile.frag"></src:fragref> +<src:fragref linkend="refentry.source.name.suppress.frag"></src:fragref> +<src:fragref linkend="refentry.version.profile.enabled.frag"></src:fragref> +<src:fragref linkend="refentry.version.profile.frag"></src:fragref> +<src:fragref linkend="refentry.version.suppress.frag"></src:fragref> +</xsl:stylesheet> + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/param.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/param.xsl new file mode 100644 index 0000000000..0d207c396e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/param.xsl @@ -0,0 +1,194 @@ + + + + + + + +1 +0 +[set $man.base.url.for.relative.links]/ + + +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + (@*[local-name() = 'class'] = 'symbols' or + @*[local-name() = 'class'] = 'letters') +) or +@*[local-name() = 'block'] = 'Latin Extended-A' +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' + + +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + @*[local-name() = 'class'] = 'symbols') +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' + + + +1 +1 +1 + + BI + B +B + B + B +ansi +0 +0 +0 +0 + + + + +4 +0 +man/ +UTF-8 + + + +MAN.MANIFEST +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 +======================================================================== +---- +0 +30 +0 +30 +0 +20 +0 + + (($info[//date])[last()]/date)[1]| + (($info[//pubdate])[last()]/pubdate)[1] + + +refmeta/refmiscinfo[not(@class = 'date')][1]/node() +0 + + (($info[//title])[last()]/title)[1]| + ../title/node() + + + +refmeta/refmiscinfo[not(@class = 'date')][1]/node() +0 + + (($info[//productname])[last()]/productname)[1]| + (($info[//corpname])[last()]/corpname)[1]| + (($info[//corpcredit])[last()]/corpcredit)[1]| + (($info[//corpauthor])[last()]/corpauthor)[1]| + (($info[//orgname])[last()]/orgname)[1]| + (($info[//publishername])[last()]/publishername)[1] + +0 +0 + + (($info[//productnumber])[last()]/productnumber)[1]| + (($info[//edition])[last()]/edition)[1]| + (($info[//releaseinfo])[last()]/releaseinfo)[1] + +0 + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xml b/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xml new file mode 100644 index 0000000000..8db98d3100 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xml @@ -0,0 +1,70 @@ + + +manpages Processing Instruction Reference + + $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $ + + + + Introduction + +This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for manpages output. + + +You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + +dbman_funcsynopsis-style +Specifies presentation style for a funcsynopsis. + + + + dbman funcsynopsis-style="kr"|"ansi" + + +Description + +Use the dbman + funcsynopsis-style PI as a child of a + funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + Parameters + + + funcsynopsis-style="kr" + + +Displays the funcprototype in K&R style + + + + funcsynopsis-style="ansi" + + +Displays the funcprototype in ANSI style + + + + + + Related Global Parameters + +man.funcsynopsis.style + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xsl new file mode 100644 index 0000000000..7b0975b83b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/pi.xsl @@ -0,0 +1,79 @@ + + + + + +manpages Processing Instruction Reference + + $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for manpages output. + + You add these PIs at particular points in a document to + cause specific “exceptions†to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Specifies presentation style for a funcsynopsis. + + Use the dbman + funcsynopsis-style PI as a child of a + funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbman funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays the funcprototype in K&R style + + + funcsynopsis-style="ansi" + + Displays the funcprototype in ANSI style + + + + + + man.funcsynopsis.style + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/profile-docbook.xsl new file mode 100644 index 0000000000..41b14c79fa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/profile-docbook.xsl @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MAN.MANIFEST + + + + + + + + + + + Erro + + + no refentry + + + No refentry elements found + + in " + + + + ... + + + + + + " + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '\" t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .\" ----------------------------------------------------------------- + + .\" * MAIN CONTENT STARTS HERE * + + .\" ----------------------------------------------------------------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/refentry.xsl new file mode 100644 index 0000000000..4f6b5af998 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/refentry.xsl @@ -0,0 +1,319 @@ + + + + + + + + + + + + + .br + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + \- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .SS " + + " + + + + + + .RS + + .RE + + + + + + + + + + + + + + + + + + + + + + + + .RS + + + + + + + .RE + + + + + + + + + + .ti (\n(SNu * 5u / 3u) + + + + + + + + + + + + + + + + + + + (\n(SNu) + + + + .RS (\n(SNu) + + .RE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \c + + .SH-xref + " + + \c" + + \& + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/synop.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/synop.xsl new file mode 100644 index 0000000000..2e0b14e034 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/synop.xsl @@ -0,0 +1,432 @@ + + + + + + | + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + .HP + \w' + ( + + ) + \ 'u + + ( + + ) + \ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .br▒ + + + + + + .ad l + + + + .hy 0 + + + .HP + \w' + + + + + + + + + \ 'u + + + + + + + .ad + + + + .hy + + + + + + + + + + + + + + + + + + .ad l + + + + .hy 0 + + + + + .ad + + + + .hy + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .HP + \w' + + + + + + + + + ('u + + . + + + + + + + + " + + ( + + + + + + + + + " + + + + + + + + + + + .sp + .RS + + + + + + + .RE + + + + + + + + + + + + + + ); + + + + ...); + + + + void); + + + + ...); + + + + + + + + + + + + + + + + , + + + ); + + + + + + + + + + + + , + + + ); + + + + + + + + .br + . + + + + + + + + " + + + + + ; + " + + + + + + + + + + + + + + "░" + + "░" + + + + ( + + ) + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/table.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/table.xsl new file mode 100644 index 0000000000..3d9505133c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/table.xsl @@ -0,0 +1,633 @@ + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + allbox + + + + + + + + center + + + + + + + + expand + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + + .sp + + . + + + + *[nested▀table] + + + + + + + + .TS + + + H + + + + + + + + + + + tab( + + ) + + + + ; + + + + + + + + + + + + + + + + .TH + + + + + + + + + + + .T& + + + + + + + + + + + + + + + + + + + + + + .TE + + .sp 1 + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T{ + + T} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warn + + tbl convert + + Extracted a nested table + + + [\fInested▀table\fR]* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + ^ + + + c + + + r + + + n + + + + l + + + + + + + + t + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ^ + + + + s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .br + + + + + + + + + ftn. + + + + + + # + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/manpages/utility.xsl b/apache-fop/src/test/resources/docbook-xsl/manpages/utility.xsl new file mode 100644 index 0000000000..c0082fc951 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/manpages/utility.xsl @@ -0,0 +1,559 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \fB + + \fR + + + + + + + + + + + + + \fI + + \fR + + + + + + + + + + + + + + + \FC + + + + + + \F[] + + + + + + + + .fam C + .ps -1 + + + + + + .fam + .ps +1 + + + + + + .fam C + + + + + + .fam + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .sp + + .ps +1 + + + + + + .it 1 an-trap + .nr an-no-space-flag 1 + .nr an-break-flag 1 + .br + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .sp + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .RS + + + + + + + + + + + + + + + + + + + + + .RE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + .SH + + " + + + + + + + + + + + " + + + + + + + + + .\" + + + + + + + + + n + .ie + + \{\ + + + + n + .if + + \{\ + + + + .\} + .el \{\ + + + + .\} + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/abstract.notitle.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/abstract.notitle.enabled.xml new file mode 100644 index 0000000000..1771f72292 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/abstract.notitle.enabled.xml @@ -0,0 +1,22 @@ + + +abstract.notitle.enabled +boolean + + +abstract.notitle.enabled +Suppress display of abstract titles? + + + + +Description +If non-zero, in output of the abstract element on titlepages, +display of the abstract title is suppressed. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/abstract.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/abstract.properties.xml new file mode 100644 index 0000000000..e8023126a5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/abstract.properties.xml @@ -0,0 +1,32 @@ + + +abstract.properties +attribute set + + +abstract.properties +Properties associated with the block surrounding an abstract + + + + + + 0.0in + 0.0in + + + + +Description + +Block styling properties for abstract. + +See also abstract.title.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/abstract.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/abstract.title.properties.xml new file mode 100644 index 0000000000..d01f70cabb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/abstract.title.properties.xml @@ -0,0 +1,39 @@ + + +abstract.title.properties +attribute set + + +abstract.title.properties +Properties for abstract titles + + + + + + + bold + always + always + + + + false + center + + + + +Description + +The properties for abstract titles. + +See also abstract.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/activate.external.olinks.xml b/apache-fop/src/test/resources/docbook-xsl/params/activate.external.olinks.xml new file mode 100755 index 0000000000..a28686c76c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/activate.external.olinks.xml @@ -0,0 +1,69 @@ + + +activate.external.olinks +boolean + + +activate.external.olinks +Make external olinks into active links + + + + + + + + +Description + +If activate.external.olinks is nonzero +(the default), then any olinks that reference another document +become active links that can be clicked on to follow the link. +If the parameter is set to zero, then external olinks +will have the appropriate link text generated, but the link is +not made active. Olinks to destinations in +the current document remain active. + +To make an external olink active for HTML +outputs, the link text is wrapped in an a +element with an href attribute. To +make an external olink active for FO outputs, the link text is +wrapped in an fo:basic-link element with an +external-destination attribute. + +This parameter is useful when you need external olinks +to resolve but not be clickable. For example, if documents +in a collection are available independently of each other, +then having active links between them could lead to +unresolved links when a given target document is missing. + +The epub stylesheets set this parameter to zero by default +because there is no standard linking mechanism between Epub documents. + +If external links are made inactive, you should +consider setting the +stylesheet parameter olink.doctitle +to yes. That will append the external document's +title to the link text, making it easier for the user to +locate the other document. + +An olink is considered external when the +current.docid stylesheet parameter +is set to some value, and the olink's targetdoc +attribute has a different value. If the two values +match, then the link is considered internal. If the +current.docid parameter is blank, or +the olink element does not have a targetdoc attribute, +then the link is considered to be internal and will become +an active link. + +See also olink.doctitle, +prefer.internal.olink. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/active.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/active.toc.xml new file mode 100644 index 0000000000..f56aee1450 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/active.toc.xml @@ -0,0 +1,29 @@ + + +active.toc +boolean + + +active.toc +Active ToCs? + + + + + + + + +Description + +If non-zero, JavaScript is used to keep the ToC and the current slide +in sync. That is, each time the slide changes, the corresponding +ToC entry will be underlined. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ade.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/ade.extensions.xml new file mode 100644 index 0000000000..479591b933 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ade.extensions.xml @@ -0,0 +1,32 @@ + + + + ade.extensions + boolean + + + ade.extensions + Enable Adobe Digitial Editions extensions for ePub rendering? + + + + + + + + + Description + + If non-zero, +Adobe Digital Editions +extensions will be used when rendering to ePub output. Adobe Digital Editions extensions consists +rendering and layout extensions. + This parameter can also affect which graphics file formats are supported. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.extension.xml new file mode 100644 index 0000000000..f6555663cc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.extension.xml @@ -0,0 +1,35 @@ + + +admon.graphics.extension +string + + +admon.graphics.extension +Filename extension for admonition graphics + + + + +.png + + + +Description + +Sets the filename extension to use on admonition graphics. + + + The DocBook XSL distribution provides admonition graphics in the following formats: + GIF (extension: .gif) + PNG (extension: .png) + SVG (extension: .svg) + TIFF (extension: .tif) + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.path.xml b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.path.xml new file mode 100644 index 0000000000..32b12b1273 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.path.xml @@ -0,0 +1,27 @@ + + +admon.graphics.path +string + + +admon.graphics.path +Path to admonition graphics + + + +images/ + + +Description + +Sets the path to the directory containing the admonition graphics +(caution.png, important.png etc). This location is normally relative +to the output html directory. See base.dir + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.xml b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.xml new file mode 100644 index 0000000000..f5e5ae4675 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admon.graphics.xml @@ -0,0 +1,29 @@ + + +admon.graphics +boolean + + +admon.graphics +Use graphics in admonitions? + + + + + + + + +Description + +If true (non-zero), admonitions are presented in an alternate style that uses +a graphic. Default graphics are provided in the distribution. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admon.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/admon.style.xml new file mode 100644 index 0000000000..5abe022b1e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admon.style.xml @@ -0,0 +1,31 @@ + + +admon.style +string + + +admon.style +Specifies the CSS style attribute that should be added to +admonitions. + + + + + + + + +Description + +Specifies the value of the CSS style +attribute that should be added to admonitions. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admon.textlabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/admon.textlabel.xml new file mode 100644 index 0000000000..ea1a53f108 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admon.textlabel.xml @@ -0,0 +1,32 @@ + + +admon.textlabel +boolean + + +admon.textlabel +Use text label in admonitions? + + + + + + + + +Description + +If true (non-zero), admonitions are presented with a generated +text label such as Note or Warning in the appropriate language. +If zero, such labels are turned off, but any title child +of the admonition element are still output. +The default value is 1. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admonition.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/admonition.properties.xml new file mode 100644 index 0000000000..4dddd26b65 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admonition.properties.xml @@ -0,0 +1,25 @@ + + + admonition.properties + attribute set + + +admonition.properties +To set the style for admonitions. + + + + + + +Description +How do you want admonitions styled? +Set the font-size, weight, etc. to the style required + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/admonition.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/admonition.title.properties.xml new file mode 100644 index 0000000000..7af23e6157 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/admonition.title.properties.xml @@ -0,0 +1,32 @@ + + + + admonition.title.properties + attribute set + + +admonition.title.properties +To set the style for admonitions titles. + + + + + + 14pt + bold + false + always + + + +Description +How do you want admonitions titles styled? +Set the font-size, weight etc to the style required. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/alignment.xml b/apache-fop/src/test/resources/docbook-xsl/params/alignment.xml new file mode 100644 index 0000000000..9c0a3de35e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/alignment.xml @@ -0,0 +1,41 @@ + + +alignment + list + open + left + start + right + end + center + justify + + +alignment +Specify the default text alignment + + + +justify + + +Description + +The default text alignment is used for most body text. +Allowed values are +left, +right, +start, +end, +center, +justify. +The default value is justify. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotate.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotate.toc.xml new file mode 100644 index 0000000000..667fa3211f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotate.toc.xml @@ -0,0 +1,28 @@ + + +annotate.toc +boolean + + +annotate.toc +Annotate the Table of Contents? + + + + + + +Description + +If true, TOCs will be annotated. At present, this just means +that the refpurpose of refentry +TOC entries will be displayed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotation.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotation.css.xml new file mode 100644 index 0000000000..560c56a739 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotation.css.xml @@ -0,0 +1,71 @@ + + +annotation.css +string + + +annotation.css +CSS rules for annotations + + + + + +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } + + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the CSS in this +parameter will be included in the document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.close.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.close.xml new file mode 100644 index 0000000000..002ebb4a75 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.close.xml @@ -0,0 +1,31 @@ + + +annotation.graphic.close +uri + + +annotation.graphic.close +Image for identifying a link that closes an annotation popup + + + + + +http://docbook.sourceforge.net/release/images/annot-close.png + + + +Description + +This image is used on popup annotations as the “x†that the +user can click to dismiss the popup. +This image is used on popup annotations as the “x†that the user can +click to dismiss the popup. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.open.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.open.xml new file mode 100644 index 0000000000..c7d1c323aa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotation.graphic.open.xml @@ -0,0 +1,28 @@ + + +annotation.graphic.open +uri + + +annotation.graphic.open +Image for identifying a link that opens an annotation popup + + + + +http://docbook.sourceforge.net/release/images/annot-open.png + + + +Description + +This image is used inline to identify the location of +annotations. It may be replaced by a user provided graphic. The size should be approximately 10x10 pixels. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotation.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotation.js.xml new file mode 100644 index 0000000000..6c7e97ebc6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotation.js.xml @@ -0,0 +1,33 @@ + + +annotation.js +string + + +annotation.js +URIs identifying JavaScript files with support for annotation popups + + + + + + +http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js + + + + +Description + +If annotation.support is enabled and the +document contains annotations, then the URIs listed +in this parameter will be included. These JavaScript files are required +for popup annotation support. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/annotation.support.xml b/apache-fop/src/test/resources/docbook-xsl/params/annotation.support.xml new file mode 100644 index 0000000000..29e763336a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/annotation.support.xml @@ -0,0 +1,29 @@ + + +annotation.support +boolean + + +annotation.support +Enable annotations? + + + + + + + + +Description + +If non-zero, the stylesheets will attempt to support annotation +elements in HTML by including some JavaScript (see +annotation.js). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/appendix.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/appendix.autolabel.xml new file mode 100644 index 0000000000..bae38fa10e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/appendix.autolabel.xml @@ -0,0 +1,73 @@ + + +appendix.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +appendix.autolabel +Specifies the labeling format for Appendix titles + + + + +A + + + +Description + +If non-zero, then appendices will be numbered using the +parameter value as the number format if the value matches one of the +following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperalpha). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/arbortext.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/arbortext.extensions.xml new file mode 100644 index 0000000000..2e571ddb38 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/arbortext.extensions.xml @@ -0,0 +1,30 @@ + + +arbortext.extensions +boolean + + +arbortext.extensions +Enable Arbortext extensions? + + + + + + +Description + +If non-zero, +Arbortext +extensions will be used. + +This parameter can also affect which graphics file formats +are supported + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/article.appendix.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/article.appendix.title.properties.xml new file mode 100644 index 0000000000..d42cf87691 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/article.appendix.title.properties.xml @@ -0,0 +1,30 @@ + + +article.appendix.title.properties +attribute set + + +article.appendix.title.properties +Properties for appendix titles that appear in an article + + + + + + + + + +Description + +The properties for the title of an appendix that +appears inside an article. The default is to use +the properties of sect1 titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/author.othername.in.middle.xml b/apache-fop/src/test/resources/docbook-xsl/params/author.othername.in.middle.xml new file mode 100644 index 0000000000..4ad21dd343 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/author.othername.in.middle.xml @@ -0,0 +1,31 @@ + + +author.othername.in.middle +boolean + + +author.othername.in.middle +Is othername in author a +middle name? + + + + + + + +Description + +If non-zero, the othername of an author +appears between the firstname and +surname. Otherwise, othername +is suppressed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/autolayout-file.xml b/apache-fop/src/test/resources/docbook-xsl/params/autolayout-file.xml new file mode 100644 index 0000000000..150f1237b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/autolayout-file.xml @@ -0,0 +1,29 @@ + + +autolayout-file +filename + + +autolayout-file +Identifies the autolayout.xml file + + + + +autolayout.xml + + + +Description +When the source pages are spread over several directories, this +parameter can be set (for example, from the command line of a batch-mode +XSLT processor) to indicate the location of the autolayout.xml file. +FIXME: for browser-based use, there needs to be a PI for this... + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.in.hyperlink.xml b/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.in.hyperlink.xml new file mode 100644 index 0000000000..dced0bd70e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.in.hyperlink.xml @@ -0,0 +1,29 @@ + + +autotoc.label.in.hyperlink +boolean + + +autotoc.label.in.hyperlink +Include label in hyperlinked titles in TOC? + + + + + + +Description + +If the value of +autotoc.label.in.hyperlink is non-zero, labels +are included in hyperlinked titles in the TOC. If it is instead zero, +labels are still displayed prior to the hyperlinked titles, but +are not hyperlinked along with the titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.separator.xml new file mode 100644 index 0000000000..b9cd53a355 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/autotoc.label.separator.xml @@ -0,0 +1,27 @@ + + +autotoc.label.separator +string + + +autotoc.label.separator +Separator between labels and titles in the ToC + + + + +. + + + +Description + +String used to separate labels and titles in a table of contents. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/axf.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/axf.extensions.xml new file mode 100644 index 0000000000..940a187bd1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/axf.extensions.xml @@ -0,0 +1,33 @@ + + +axf.extensions +boolean + + +axf.extensions +Enable XSL Formatter extensions? + + + + + + + + +Description + +If non-zero, +XSL Formatter +extensions will be used. XSL Formatter extensions consists of PDF bookmarks, +document information and better index processing. + +This parameter can also affect which graphics file formats +are supported + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/banner.before.navigation.xml b/apache-fop/src/test/resources/docbook-xsl/params/banner.before.navigation.xml new file mode 100644 index 0000000000..0883378073 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/banner.before.navigation.xml @@ -0,0 +1,25 @@ + + +banner.before.navigation +boolean + + +banner.before.navigation +Put banner before navigation? + + + + + + + + +Description +FIXME + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/base.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/base.dir.xml new file mode 100644 index 0000000000..4abf9c7c86 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/base.dir.xml @@ -0,0 +1,38 @@ + + +base.dir +uri + + +base.dir +The base directory of chunks + + + + + + + + +Description + +If specified, the base.dir parameter identifies +the output directory for chunks. (If not specified, the output directory +is system dependent.) + +Starting with version 1.77 of the stylesheets, +the param's value will have a trailing slash added if it does +not already have one. + +Do not use base.dir +to add a filename prefix string to chunked files. +Instead, use the chunked.filename.prefix +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.item.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.item.separator.xml new file mode 100644 index 0000000000..4a56ad6c17 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.item.separator.xml @@ -0,0 +1,26 @@ + + +biblioentry.item.separator +string + + +biblioentry.item.separator +Text to separate bibliography entries + + + +. + + +Description + +Text to separate bibliography entries + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.properties.xml new file mode 100644 index 0000000000..9e88ddb577 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/biblioentry.properties.xml @@ -0,0 +1,28 @@ + + + biblioentry.properties + attribute set + + +biblioentry.properties +To set the style for biblioentry. + + + + + 0.5in + -0.5in + + + +Description +How do you want biblioentry styled? +Set the font-size, weight, space-above and space-below, indents, etc. to the style required + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bibliography.collection.xml b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.collection.xml new file mode 100644 index 0000000000..9245405e49 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.collection.xml @@ -0,0 +1,122 @@ + + +bibliography.collection +string + + +bibliography.collection +Name of the bibliography collection file + + + + +http://docbook.sourceforge.net/release/bibliography/bibliography.xml + + + + +Description + +Maintaining bibliography entries across a set of documents is tedious, time +consuming, and error prone. It makes much more sense, usually, to store all of +the bibliography entries in a single place and simply extract +the ones you need in each document. + +That's the purpose of the +bibliography.collection parameter. To setup a global +bibliography database, follow these steps: + +First, create a stand-alone bibliography document that contains all of +the documents that you wish to reference. Make sure that each bibliography +entry (whether you use biblioentry or bibliomixed) +has an ID. + +My global bibliography, ~/bibliography.xml begins +like this: + + +<!DOCTYPE bibliography + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<bibliography><title>References</title> + +<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, +Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup +Language (XML) 1.0 Second Edition</ulink></citetitle>. +World Wide Web Consortium, 2000. +</bibliomixed> + +<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, +Dave Hollander, +and Andrew Layman, editors. +<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in +XML</ulink></citetitle>. +World Wide Web Consortium, 1999. +</bibliomixed> + +<!-- ... --> +</bibliography> + + + +When you create a bibliography in your document, simply +provide empty bibliomixed +entries for each document that you wish to cite. Make sure that these +elements have the same ID as the corresponding real +entry in your global bibliography. + +For example: + + +<bibliography><title>Bibliography</title> + +<bibliomixed id="xml-rec"/> +<bibliomixed id="xml-names"/> +<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and +Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, +1986. ISBN 0-201-13437-3. +</bibliomixed> +<bibliomixed id="relaxng"/> + +</bibliography> + + +Note that it's perfectly acceptable to mix entries from your +global bibliography with normal entries. You can use +xref or other elements to cross-reference your +bibliography entries in exactly the same way you do now. + +Finally, when you are ready to format your document, simply set the +bibliography.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global bibliography. + +A relative path in the parameter is interpreted in one +of two ways: + + + If your document contains no links to empty bibliographic elements, + then the path is relative to the file containing + the first bibliomixed element in the document. + + + If your document does contain links to empty bibliographic elements, + then the path is relative to the file containing + the first such link element in the document. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the bibliography in your document as if +all of the entries referenced appeared there literally. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bibliography.numbered.xml b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.numbered.xml new file mode 100644 index 0000000000..593a1fa980 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.numbered.xml @@ -0,0 +1,27 @@ + + +bibliography.numbered +boolean + + +bibliography.numbered +Should bibliography entries be numbered? + + + + + + + + +Description + +If non-zero bibliography entries will be numbered + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bibliography.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.style.xml new file mode 100644 index 0000000000..fa445826af --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bibliography.style.xml @@ -0,0 +1,35 @@ + + +bibliography.style +list +normal +iso690 + + +bibliography.style +Style used for formatting of biblioentries. + + + + +normal + + + +Description + +Currently only normal and +iso690 styles are supported. + +In order to use ISO690 style to the full extent you might need +to use additional markup described on the +following WiKi page. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/blockquote.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/blockquote.properties.xml new file mode 100644 index 0000000000..76d7f1c361 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/blockquote.properties.xml @@ -0,0 +1,34 @@ + + + blockquote.properties + attribute set + + +blockquote.properties +To set the style for block quotations. + + + + + +0.5in +0.5in +0.5em +1em +2em + + + + +Description + +The blockquote.properties attribute set specifies +the formating properties of block quotations. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/blurb.on.titlepage.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/blurb.on.titlepage.enabled.xml new file mode 100644 index 0000000000..27e89d75ff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/blurb.on.titlepage.enabled.xml @@ -0,0 +1,31 @@ + + +blurb.on.titlepage.enabled +boolean + + +blurb.on.titlepage.enabled +Display personblurb and authorblurb on title pages? + + + + + + + + +Description + +If non-zero, output from authorblurb and +personblurb elements is displayed on title pages. If zero +(the default), output from those elements is suppressed on title pages +(unless you are using a titlepage customization +that causes them to be included). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.attributes.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.attributes.xml new file mode 100644 index 0000000000..8ee1ad9472 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.attributes.xml @@ -0,0 +1,31 @@ + + +body.attributes +attribute set + + +body.attributes +DEPRECATED + + + + + + white + black + #0000FF + #840084 + #0000FF + + + + +Description +DEPRECATED + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.bg.color.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.bg.color.xml new file mode 100644 index 0000000000..8315b859d5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.bg.color.xml @@ -0,0 +1,28 @@ + + +body.bg.color +color + + +body.bg.color +Background color for body frame + + + + +#FFFFFF + + + +Description + +Specifies the background color used in the body column of +tabular slides. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.end.indent.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.end.indent.xml new file mode 100644 index 0000000000..a5e098c71e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.end.indent.xml @@ -0,0 +1,37 @@ + + +body.end.indent +length + + +body.end.indent +The end-indent for the body text + + + + +0pt + + + +Description + +This end-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + + +See also body.start.indent. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.font.family.xml new file mode 100644 index 0000000000..816deb4051 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.font.family.xml @@ -0,0 +1,37 @@ + + +body.font.family +list +open +serif +sans-serif +monospace + + +body.font.family +The default font family for body text + + + + +serif + + + +Description + +The body font family is the default font used for text in the page body. +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.font.master.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.font.master.xml new file mode 100644 index 0000000000..323a6a0527 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.font.master.xml @@ -0,0 +1,30 @@ + + +body.font.master + number + + +body.font.master +Specifies the default point size for body text + + + + +10 + + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.font.size.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.font.size.xml new file mode 100644 index 0000000000..fc35ade997 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.font.size.xml @@ -0,0 +1,31 @@ + + +body.font.size +length + + +body.font.size +Specifies the default font size for body text + + + + + + pt + + + +Description + +The body font size is specified in two parameters +(body.font.master and body.font.size) +so that math can be performed on the font size by XSLT. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.margin.bottom.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.bottom.xml new file mode 100644 index 0000000000..2302f6492c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.bottom.xml @@ -0,0 +1,29 @@ + + +body.margin.bottom +length + + +body.margin.bottom +The bottom margin of the body text + + + + +0.5in + + + +Description + +The body bottom margin is the distance from the last line of text +in the page body to the bottom of the region-after. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.margin.inner.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.inner.xml new file mode 100644 index 0000000000..d1d514e456 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.inner.xml @@ -0,0 +1,52 @@ + + +body.margin.inner +length + + +body.margin.inner +Specify the size of the inner margin of the body region + + + + +0in + + + +Description + +The inner body margin is the extra inner side +(binding side) margin taken from the body +region in addition to the inner page margin. +It makes room for a side region for text content whose width is +specified by the region.inner.extent +parameter. + +For double-sided output, +this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, +this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.outer, +side.region.precedence. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.margin.outer.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.outer.xml new file mode 100644 index 0000000000..85c57faab2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.outer.xml @@ -0,0 +1,53 @@ + + +body.margin.outer +length + + +body.margin.outer +Specify the size of the outer margin of the body region + + + + +0in + + + +Description + +The outer body margin is the extra outer side +(opposite the binding side) margin taken +from the body +region in addition to the outer page margin. +It makes room for a side region for text content whose width is +specified by the region.outer.extent +parameter. + +For double-sided output, +this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, +this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value is zero. + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +side.region.precedence. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.margin.top.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.top.xml new file mode 100644 index 0000000000..182bd9fd34 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.margin.top.xml @@ -0,0 +1,28 @@ + + +body.margin.top +length + + +body.margin.top +To specify the size of the top margin of a page + + + + +0.5in + + + +Description + +The body top margin is the distance from the top of the +region-before to the first line of text in the page body. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/body.start.indent.xml b/apache-fop/src/test/resources/docbook-xsl/params/body.start.indent.xml new file mode 100644 index 0000000000..4e348f1c77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/body.start.indent.xml @@ -0,0 +1,64 @@ + + +body.start.indent +length + + +body.start.indent +The start-indent for the body text + + + + + + + 0pt + 0pt + 4pc + + + + + +Description + +This parameter provides +the means of indenting the body text relative to +section titles. +For left-to-right text direction, it indents the left side. +For right-to-left text direction, it indents the right side. +It is used in place of the +title.margin.left for +all XSL-FO processors except FOP 0.25. +It enables support for side floats to appear +in the indented margin area. + +This start-indent property is added to the fo:flow +for certain page sequences. Which page-sequences it is +applied to is determined by the template named +set.flow.properties. +By default, that template adds it to the flow +for page-sequences using the body +master-reference, as well as appendixes and prefaces. + +If this parameter is used, section titles should have +a start-indent value of 0pt if they are to be +outdented relative to the body text. + + +If you are using FOP, then set this parameter to a zero +width value and set the title.margin.left +parameter to the negative value of the desired indent. + + +See also body.end.indent and +title.margin.left. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bookmarks.collapse.xml b/apache-fop/src/test/resources/docbook-xsl/params/bookmarks.collapse.xml new file mode 100644 index 0000000000..3320056923 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bookmarks.collapse.xml @@ -0,0 +1,31 @@ + + +bookmarks.collapse +boolean + + +bookmarks.collapse +Specifies the initial state of bookmarks + + + + + + + + +Description + +If non-zero, the bookmark tree is collapsed so that only the +top-level bookmarks are displayed initially. Otherwise, the whole tree +of bookmarks is displayed. + +This parameter currently works with FOP 0.93 or later. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bridgehead.in.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/bridgehead.in.toc.xml new file mode 100644 index 0000000000..490d556329 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bridgehead.in.toc.xml @@ -0,0 +1,28 @@ + + +bridgehead.in.toc +boolean + + +bridgehead.in.toc +Should bridgehead elements appear in the TOC? + + + + + + +Description + +If non-zero, bridgeheads appear in the TOC. Note that +this option is not fully supported and may be removed in a future +version of the stylesheets. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/bullet.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/bullet.image.xml new file mode 100644 index 0000000000..acf2af55e9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/bullet.image.xml @@ -0,0 +1,28 @@ + + +bullet.image +filename + + +bullet.image +Bullet image + + + + +toc/bullet.png + + + +Description + +Specifies the filename of the bullet image used for foils in the +framed ToC. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.defaultcolumn.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.defaultcolumn.xml new file mode 100644 index 0000000000..6cae38134f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.defaultcolumn.xml @@ -0,0 +1,30 @@ + + +callout.defaultcolumn +integer + + +callout.defaultcolumn +Indicates what column callouts appear in by default + + + + +60 + + + +Description + +If a callout does not identify a column (for example, if it uses +the linerange unit), +it will appear in the default column. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.extension.xml new file mode 100644 index 0000000000..febc6901d6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.extension.xml @@ -0,0 +1,33 @@ + + +callout.graphics.extension +string + + +callout.graphics.extension +Filename extension for callout graphics + + + + +.png +.svg + + + +Description +Sets the filename extension to use on callout graphics. + + +The Docbook XSL distribution provides callout graphics in the following formats: +SVG (extension: .svg) +PNG (extension: .png) +GIF (extension: .gif) + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.number.limit.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.number.limit.xml new file mode 100644 index 0000000000..cde5267dcd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.number.limit.xml @@ -0,0 +1,34 @@ + + +callout.graphics.number.limit +integer + + +callout.graphics.number.limit +Number of the largest callout graphic + + + + +15 +30 + + + +Description + +If callout.graphics is non-zero, graphics +are used to represent callout numbers instead of plain text. The value +of callout.graphics.number.limit is the largest +number for which a graphic exists. If the callout number exceeds this +limit, the default presentation "(plain text instead of a graphic)" +will be used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.path.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.path.xml new file mode 100644 index 0000000000..00e54c1703 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.path.xml @@ -0,0 +1,31 @@ + + +callout.graphics.path +string + + +callout.graphics.path +Path to callout graphics + + + + +images/callouts/ + + + +Description + +Sets the path to the directory holding the callout graphics. his +location is normally relative to the output html directory. see +base.dir. Always terminate the directory with / since the graphic file +is appended to this string, hence needs the separator. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.xml new file mode 100644 index 0000000000..a97ac0d79d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.graphics.xml @@ -0,0 +1,30 @@ + + +callout.graphics +boolean + + +callout.graphics +Use graphics for callouts? + + + + + + + + +Description + +If non-zero, callouts are presented with graphics (e.g., reverse-video +circled numbers instead of "(1)", "(2)", etc.). +Default graphics are provided in the distribution. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.icon.size.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.icon.size.xml new file mode 100644 index 0000000000..d3acae838c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.icon.size.xml @@ -0,0 +1,28 @@ + + +callout.icon.size +length + + +callout.icon.size +Specifies the size of callout marker icons + + + + +7pt + + + +Description + +Specifies the size of the callout marker icons. +The default size is 7 points. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.list.table.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.list.table.xml new file mode 100644 index 0000000000..6fece033c3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.list.table.xml @@ -0,0 +1,32 @@ + + +callout.list.table +boolean + + +callout.list.table +Present callout lists using a table? + + + + + + + + +Description + +The default presentation of calloutlists uses +an HTML DL element. Some browsers don't align DLs very well +if callout.graphics is used. With this option +turned on, calloutlists are presented in an HTML +TABLE, which usually results in better alignment +of the callout number with the callout description. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.properties.xml new file mode 100644 index 0000000000..d50b85f0a7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.properties.xml @@ -0,0 +1,23 @@ + + +callout.properties +attribute set + + +callout.properties +Properties that apply to the list-item generated by each callout within a calloutlist. + + + + + + +Description +Properties that apply to the fo:list-item generated by each callout within a calloutlist. Typically used to add spacing properties. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.font.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.font.xml new file mode 100644 index 0000000000..e63bffb610 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.font.xml @@ -0,0 +1,29 @@ + + +callout.unicode.font +string + + +callout.unicode.font +Specify a font for Unicode glyphs + + + + +ZapfDingbats + + + +Description + +The name of the font to specify around Unicode callout glyphs. +If set to the empty string, no font change will occur. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.number.limit.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.number.limit.xml new file mode 100644 index 0000000000..a9f1f3dea7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.number.limit.xml @@ -0,0 +1,35 @@ + + +callout.unicode.number.limit +integer + + +callout.unicode.number.limit +Number of the largest unicode callout character + + + + +10 + + + +Description + +If callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.number.limit +is +the largest number for which a unicode character exists. If the callout number +exceeds this limit, the default presentation "(nnn)" will always +be used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.start.character.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.start.character.xml new file mode 100644 index 0000000000..2f0312451a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.start.character.xml @@ -0,0 +1,33 @@ + + +callout.unicode.start.character +integer + + +callout.unicode.start.character +First Unicode character to use, decimal value. + + + + +10102 + + + +Description + +If callout.graphics is zero and callout.unicode +is non-zero, unicode characters are used to represent +callout numbers. The value of +callout.unicode.start.character +is the decimal unicode value used for callout number one. Currently, +only values 9312 and 10102 are supported in the stylesheets for this parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.xml b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.xml new file mode 100644 index 0000000000..4ec6a5f303 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callout.unicode.xml @@ -0,0 +1,26 @@ + + +callout.unicode +boolean + + +callout.unicode +Use Unicode characters rather than images for callouts. + + + + + + +Description + +The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/calloutlist.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/calloutlist.properties.xml new file mode 100644 index 0000000000..18976bd3ac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/calloutlist.properties.xml @@ -0,0 +1,32 @@ + + +calloutlist.properties +attribute set + + +calloutlist.properties +Properties that apply to each list-block generated by calloutlist. + + + + + 1em + 0.8em + 1.2em + 2.2em + 0.2em + + +Description +Properties that apply to the fo:list-block generated by calloutlist. +Typically used to adjust spacing or margins of the entire list. +Change the provisional-distance-between-starts attribute to +change the indent of the list paragraphs relative to the +callout numbers. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/callouts.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/callouts.extension.xml new file mode 100644 index 0000000000..80b5845aa7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/callouts.extension.xml @@ -0,0 +1,30 @@ + + +callouts.extension +boolean + + +callouts.extension +Enable the callout extension + + + + + + + + +Description + +The callouts extension processes areaset +elements in programlistingco and other text-based +callout elements. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chapter.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/chapter.autolabel.xml new file mode 100644 index 0000000000..32414bcc12 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chapter.autolabel.xml @@ -0,0 +1,71 @@ + + +chapter.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +chapter.autolabel +Specifies the labeling format for Chapter titles + + + + + + + +Description + +If non-zero, then chapters will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.append.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.append.xml new file mode 100644 index 0000000000..1f65aadc9b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.append.xml @@ -0,0 +1,30 @@ + + +chunk.append +string + + +chunk.append +Specifies content to append to chunked HTML output + + + + + + +Description + +Specifies content to append to the end of HTML files output by +the html/chunk.xsl stylesheet, after the closing +<html> tag. You probably don’t want to set any value +for this parameter; but if you do, the only value it should ever be +set to is a newline character: &#x0a; or +&#10; + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.first.sections.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.first.sections.xml new file mode 100644 index 0000000000..f0c1b829ae --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.first.sections.xml @@ -0,0 +1,31 @@ + + +chunk.first.sections +boolean + + +chunk.first.sections +Chunk the first top-level section? + + + + + + + + +Description + +If non-zero, a chunk will be created for the first top-level +sect1 or section elements in +each component. Otherwise, that section will be part of the chunk for +its parent. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.quietly.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.quietly.xml new file mode 100644 index 0000000000..8700b29e2f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.quietly.xml @@ -0,0 +1,30 @@ + + +chunk.quietly +boolean + + +chunk.quietly +Omit the chunked filename messages. + + + + + + + + +Description + +If zero (the default), the XSL processor emits a message naming +each separate chunk filename as it is being output. +If nonzero, then the messages are suppressed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.section.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.section.depth.xml new file mode 100644 index 0000000000..d46193c821 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.section.depth.xml @@ -0,0 +1,27 @@ + + +chunk.section.depth +integer + + +chunk.section.depth +Depth to which sections should be chunked + + + + + + + + +Description + +This parameter sets the depth of section chunking. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.sections.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.sections.xml new file mode 100644 index 0000000000..2ffb1a3c4e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.sections.xml @@ -0,0 +1,30 @@ + + +chunk.sections +boolean + + +chunk.sections +Should top-level sections be chunks in their own right? + + + + + + + + +Description + +If non-zero, chunks will be created for top-level +sect1 and section elements in +each component. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.separate.lots.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.separate.lots.xml new file mode 100644 index 0000000000..aa54eabead --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.separate.lots.xml @@ -0,0 +1,36 @@ + + +chunk.separate.lots +boolean + + +chunk.separate.lots +Should each LoT be in its own separate chunk? + + + + + + + + +Description + +If non-zero, each of the ToC and LoTs +(List of Examples, List of Figures, etc.) +will be put in its own separate chunk. +The title page includes generated links to each of the separate files. + + +This feature depends on the +chunk.tocs.and.lots +parameter also being non-zero. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.toc.xml new file mode 100644 index 0000000000..12cdb2caa0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.toc.xml @@ -0,0 +1,30 @@ + + +chunk.toc +string + + +chunk.toc +An explicit TOC to be used for chunking + + + + + + + + +Description + +The chunk.toc identifies an explicit TOC that +will be used for chunking. This parameter is only used by the +chunktoc.xsl stylesheet (and customization layers built +from it). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.has.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.has.title.xml new file mode 100644 index 0000000000..0bdd31b838 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.has.title.xml @@ -0,0 +1,28 @@ + + +chunk.tocs.and.lots.has.title +boolean + + +chunk.tocs.and.lots.has.title +Should ToC and LoTs in a separate chunks have title? + + + + + + + + +Description + +If non-zero title of document is shown before ToC/LoT in +separate chunk. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.xml new file mode 100644 index 0000000000..2a01fffa10 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunk.tocs.and.lots.xml @@ -0,0 +1,32 @@ + + +chunk.tocs.and.lots +boolean + + +chunk.tocs.and.lots +Should ToC and LoTs be in separate chunks? + + + + + + + + +Description + +If non-zero, ToC and LoT (List of Examples, List of Figures, etc.) +will be put in a separate chunk. At the moment, this chunk is not in the +normal forward/backward navigation list. Instead, a new link is added to the +navigation footer. + +This feature is still somewhat experimental. Feedback welcome. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunked.filename.prefix.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunked.filename.prefix.xml new file mode 100644 index 0000000000..e4282c2613 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunked.filename.prefix.xml @@ -0,0 +1,41 @@ + + +chunked.filename.prefix +string + + +chunked.filename.prefix +Filename prefix for chunked files + + + + + + + + +Description + +If specified, the chunked.filename.prefix +parameter specifies a prefix string to add to each generated chunk filename. +For example: +<xsl:param name="chunked.filename.prefix">admin-<xsl:param> +will produce chunked filenames like: +admin-index.html +admin-ch01.html +admin-ch01s01.html +... + + +Trying to use the base.dir +parameter to add a string prefix (by omitting the trailing slash) +no longer works (it never worked completely anyway). That parameter +value should contain only a directory path, and +now gets a trailing slash appended if it was omitted from the param. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.cdata-section-elements.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.cdata-section-elements.xml new file mode 100644 index 0000000000..3e9be4d59d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.cdata-section-elements.xml @@ -0,0 +1,30 @@ + + +chunker.output.cdata-section-elements +string + + +chunker.output.cdata-section-elements +List of elements to escape with CDATA sections + + + + + + +Description +This parameter specifies the list of elements that should be escaped +as CDATA sections by the chunking stylesheet. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-public.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-public.xml new file mode 100644 index 0000000000..6aa6e307f5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-public.xml @@ -0,0 +1,31 @@ + + +chunker.output.doctype-public +string + + +chunker.output.doctype-public +Public identifer to use in the document type of generated pages + + + + + + +Description +This parameter specifies the public identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-system.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-system.xml new file mode 100644 index 0000000000..2d67906d64 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.doctype-system.xml @@ -0,0 +1,31 @@ + + +chunker.output.doctype-system +uri + + +chunker.output.doctype-system +System identifier to use for the document type in generated pages + + + + + + +Description +This parameter specifies the system identifier that should be used by +the chunking stylesheet in the document type declaration of chunked pages. +Not all processors support specification of +this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.encoding.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.encoding.xml new file mode 100644 index 0000000000..f8993e97c0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.encoding.xml @@ -0,0 +1,31 @@ + + +chunker.output.encoding +string + + +chunker.output.encoding +Encoding used in generated pages + + + +ISO-8859-1 + + +Description +This parameter specifies the encoding to be used in files +generated by the chunking stylesheet. Not all processors support +specification of this parameter. + +This parameter used to be named default.encoding. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.indent.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.indent.xml new file mode 100644 index 0000000000..3da9ad4b31 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.indent.xml @@ -0,0 +1,30 @@ + + +chunker.output.indent +string + + +chunker.output.indent +Specification of indentation on generated pages + + + +no + + +Description +This parameter specifies the value of the indent +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.media-type.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.media-type.xml new file mode 100644 index 0000000000..61869715f2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.media-type.xml @@ -0,0 +1,35 @@ + + +chunker.output.media-type +string + + +chunker.output.media-type +Media type to use in generated pages + + + + + + +Description +This parameter specifies the media type that should be used by +the chunking stylesheet. Not all processors support specification of +this parameter. + +This parameter specifies the media type that should be used by the +chunking stylesheet. This should be one from those defined in +[RFC2045] and + [RFC2046] + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. +It must be one from html, xml or text + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.method.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.method.xml new file mode 100644 index 0000000000..dc9359b5f0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.method.xml @@ -0,0 +1,32 @@ + + +chunker.output.method +list +html +xml + + +chunker.output.method +Method used in generated pages + + + +html + + +Description +This parameter specifies the output method to be used in files +generated by the chunking stylesheet. + +This parameter used to be named output.method. + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.omit-xml-declaration.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.omit-xml-declaration.xml new file mode 100644 index 0000000000..4b8262f8a8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.omit-xml-declaration.xml @@ -0,0 +1,30 @@ + + +chunker.output.omit-xml-declaration +string + + +chunker.output.omit-xml-declaration +Omit-xml-declaration for generated pages + + + +no + + +Description +This parameter specifies the value of the omit-xml-declaration +specification for generated pages. Not all processors support +specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.standalone.xml b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.standalone.xml new file mode 100644 index 0000000000..8972c4733f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/chunker.output.standalone.xml @@ -0,0 +1,31 @@ + + +chunker.output.standalone +string + + +chunker.output.standalone +Standalone declaration for generated pages + + + +no + + +Description +This parameter specifies the value of the standalone + specification for generated pages. It must be either + yes or no. Not all + processors support specification of this parameter. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/citerefentry.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/citerefentry.link.xml new file mode 100644 index 0000000000..623511b6d0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/citerefentry.link.xml @@ -0,0 +1,29 @@ + + +citerefentry.link +boolean + + +citerefentry.link +Generate URL links when cross-referencing RefEntrys? + + + + + + + +Description + +If non-zero, a web link will be generated, presumably +to an online man->HTML gateway. The text of the link is +generated by the generate.citerefentry.link template. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/collect.xref.targets.xml b/apache-fop/src/test/resources/docbook-xsl/params/collect.xref.targets.xml new file mode 100644 index 0000000000..378c969089 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/collect.xref.targets.xml @@ -0,0 +1,33 @@ + + +collect.xref.targets +list +no +yes +only + + +collect.xref.targets +Controls whether cross reference data is +collected + + +no + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is no, which means the data file is not generated during processing. The other choices are yes, which means the data file is created and the document is processed for output, and only, which means the data file is created but the document is not processed for output. +See also targets.filename. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.back.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.back.xml new file mode 100644 index 0000000000..95ee76db0a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.back.xml @@ -0,0 +1,27 @@ + + +column.count.back +integer + + +column.count.back +Number of columns on back matter pages + + + + + + + + +Description + +Number of columns on back matter (appendix, glossary, etc.) pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.body.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.body.xml new file mode 100644 index 0000000000..a5d65b32a1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.body.xml @@ -0,0 +1,27 @@ + + +column.count.body +integer + + +column.count.body +Number of columns on body pages + + + + + + + + +Description + +Number of columns on body pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.front.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.front.xml new file mode 100644 index 0000000000..64ff3ac014 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.front.xml @@ -0,0 +1,27 @@ + + +column.count.front +integer + + +column.count.front +Number of columns on front matter pages + + + + + + + + +Description + +Number of columns on front matter (dedication, preface, etc.) pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.index.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.index.xml new file mode 100644 index 0000000000..e485448550 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.index.xml @@ -0,0 +1,27 @@ + + +column.count.index +integer + + +column.count.index +Number of columns on index pages + + + + +2 + + + +Description + +Number of columns on index pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.lot.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.lot.xml new file mode 100644 index 0000000000..770988dc5d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.lot.xml @@ -0,0 +1,28 @@ + + +column.count.lot +integer + + +column.count.lot +Number of columns on a 'List-of-Titles' page + + + + + + + + +Description + +Number of columns on a page sequence containing the Table of Contents, +List of Figures, etc. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.count.titlepage.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.count.titlepage.xml new file mode 100644 index 0000000000..3deba6fe54 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.count.titlepage.xml @@ -0,0 +1,27 @@ + + +column.count.titlepage +integer + + +column.count.titlepage +Number of columns on a title page + + + + + + + + +Description + +Number of columns on a title page + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.back.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.back.xml new file mode 100644 index 0000000000..3aaa1d3f11 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.back.xml @@ -0,0 +1,28 @@ + + +column.gap.back +length + + +column.gap.back +Gap between columns in back matter + + + + +12pt + + + +Description + +Specifies the gap between columns in back matter (if +column.count.back is greater than one). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.body.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.body.xml new file mode 100644 index 0000000000..57b0168aad --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.body.xml @@ -0,0 +1,28 @@ + + +column.gap.body +length + + +column.gap.body +Gap between columns in the body + + + + +12pt + + + +Description + +Specifies the gap between columns in body matter (if +column.count.body is greater than one). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.front.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.front.xml new file mode 100644 index 0000000000..a6f7263a18 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.front.xml @@ -0,0 +1,28 @@ + + +column.gap.front +length + + +column.gap.front +Gap between columns in the front matter + + + + +12pt + + + +Description + +Specifies the gap between columns in front matter (if +column.count.front is greater than one). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.index.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.index.xml new file mode 100644 index 0000000000..2279f773e8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.index.xml @@ -0,0 +1,28 @@ + + +column.gap.index +length + + +column.gap.index +Gap between columns in the index + + + + +12pt + + + +Description + +Specifies the gap between columns in indexes (if +column.count.index is greater than one). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.lot.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.lot.xml new file mode 100644 index 0000000000..da0fa00402 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.lot.xml @@ -0,0 +1,28 @@ + + +column.gap.lot +length + + +column.gap.lot +Gap between columns on a 'List-of-Titles' page + + + + +12pt + + + +Description + +Specifies the gap between columns on 'List-of-Titles' pages (if +column.count.lot is greater than one). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/column.gap.titlepage.xml b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.titlepage.xml new file mode 100644 index 0000000000..7c13dbdaea --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/column.gap.titlepage.xml @@ -0,0 +1,29 @@ + + +column.gap.titlepage +length + + +column.gap.titlepage +Gap between columns on title pages + + + + +12pt + + + +Description + +Specifies the gap between columns on title pages (if +column.count.titlepage is greater than one). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/compact.list.item.spacing.xml b/apache-fop/src/test/resources/docbook-xsl/params/compact.list.item.spacing.xml new file mode 100644 index 0000000000..f48f4a628e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/compact.list.item.spacing.xml @@ -0,0 +1,28 @@ + + +compact.list.item.spacing +attribute set + + +compact.list.item.spacing +What space do you want between list items (when spacing="compact")? + + + + + 0em + 0em + 0.2em + + +Description +Specify what spacing you want between each list item when +spacing is +compact. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/component.label.includes.part.label.xml b/apache-fop/src/test/resources/docbook-xsl/params/component.label.includes.part.label.xml new file mode 100644 index 0000000000..6dd7a6837b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/component.label.includes.part.label.xml @@ -0,0 +1,39 @@ + + +component.label.includes.part.label +boolean + + +component.label.includes.part.label +Do component labels include the part label? + + + + + + +Description + +If non-zero, number labels for chapter, +appendix, and other component elements are prefixed with +the label of the part element that contains them. So you might see +Chapter II.3 instead of Chapter 3. Also, the labels for formal +elements such as table and figure will include +the part label. If there is no part element container, then no prefix +is generated. + + +This feature is most useful when the +label.from.part parameter is turned on. +In that case, there would be more than one chapter +1, and the extra part label prefix will identify +each chapter unambiguously. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/component.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/component.title.properties.xml new file mode 100644 index 0000000000..58cd4b434d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/component.title.properties.xml @@ -0,0 +1,40 @@ + + +component.title.properties +attribute set + + +component.title.properties +Properties for component titles + + + + + + always + + + + false + + + center + start + + + + + + + +Description + +The properties common to all component titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/component.titlepage.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/component.titlepage.properties.xml new file mode 100644 index 0000000000..47179f4f63 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/component.titlepage.properties.xml @@ -0,0 +1,33 @@ + + +component.titlepage.properties +attribute set + + +component.titlepage.properties +Properties for component titlepages + + + + + + + + + +Description + +The properties that are applied to the outer block containing +all the component title page information. +Its main use is to set a span="all" +property on the block that is a direct child of the flow. + +This attribute-set also applies to index titlepages. It is empty by default. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/contrib.inline.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/contrib.inline.enabled.xml new file mode 100644 index 0000000000..5d5fa99c0c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/contrib.inline.enabled.xml @@ -0,0 +1,26 @@ + + +contrib.inline.enabled +boolean + + +contrib.inline.enabled +Display contrib output inline? + + + +1 + + +Description + +If non-zero (the default), output of the contrib element is +displayed as inline content rather than as block content. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.bleed.xml b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.bleed.xml new file mode 100644 index 0000000000..af3420e86a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.bleed.xml @@ -0,0 +1,28 @@ + + +crop.mark.bleed +length + + +crop.mark.bleed +Length of invisible part of crop marks. + + + + +6pt + + + +Description + +Length of invisible part of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.offset.xml b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.offset.xml new file mode 100644 index 0000000000..cfd9bd3734 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.offset.xml @@ -0,0 +1,28 @@ + + +crop.mark.offset +length + + +crop.mark.offset +Length of crop marks. + + + + +24pt + + + +Description + +Length of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.width.xml new file mode 100644 index 0000000000..86c28b59f8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/crop.mark.width.xml @@ -0,0 +1,28 @@ + + +crop.mark.width +length + + +crop.mark.width +Width of crop marks. + + + + +0.5pt + + + +Description + +Width of crop marks. Crop marks are controlled by +crop.marks parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/crop.marks.xml b/apache-fop/src/test/resources/docbook-xsl/params/crop.marks.xml new file mode 100644 index 0000000000..c68d5a09bc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/crop.marks.xml @@ -0,0 +1,28 @@ + + +crop.marks +boolean + + +crop.marks +Output crop marks? + + + + + + + + +Description + +If non-zero, crop marks will be added to each page. Currently this +works only with XEP if you have xep.extensions set. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/css.decoration.xml b/apache-fop/src/test/resources/docbook-xsl/params/css.decoration.xml new file mode 100644 index 0000000000..02e30266a5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/css.decoration.xml @@ -0,0 +1,33 @@ + + +css.decoration +boolean + + +css.decoration +Enable CSS decoration of elements + + + + + + + + +Description + + +If non-zero, then html elements produced by the stylesheet may be +decorated with style attributes. For example, the +li tags produced for list items may include a +fragment of CSS in the style attribute which sets +the CSS property "list-style-type". + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.dir.xml new file mode 100644 index 0000000000..e32b17892f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.dir.xml @@ -0,0 +1,33 @@ + + +css.stylesheet.dir +uri + + +css.stylesheet.dir +Default directory for CSS stylesheets + + + + + + + + +Description + +Identifies the default directory for the CSS stylesheet +generated on all the slides. This parameter can be set in the source +document with the <?dbhtml?> pseudo-attribute +css-stylesheet-dir. + +If non-empty, this value is prepended to each of the stylesheets. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.xml b/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.xml new file mode 100644 index 0000000000..2acc66c577 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/css.stylesheet.xml @@ -0,0 +1,29 @@ + + +css.stylesheet +uri + + +css.stylesheet +CSS stylesheet for slides + + + + +slides.css + + + +Description + +Identifies the CSS stylesheet used by all the slides. This parameter +can be set in the source document with the <?dbhtml?> pseudo-attribute +css-stylesheet. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/current.docid.xml b/apache-fop/src/test/resources/docbook-xsl/params/current.docid.xml new file mode 100644 index 0000000000..93616f2223 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/current.docid.xml @@ -0,0 +1,27 @@ + + +current.docid +string + + +current.docid +targetdoc identifier for the document being +processed + + + + + +Description + +When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the targetdoc identifiers for both documents, as they appear in the target.database.document database file. This parameter passes to the stylesheet +the targetdoc identifier of the current document, since that +identifier does not appear in the document itself. +This parameter can also be used for print output. If an olink's targetdoc id differs from the current.docid, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also olink.doctitle to enable that feature. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/currentpage.marker.xml b/apache-fop/src/test/resources/docbook-xsl/params/currentpage.marker.xml new file mode 100644 index 0000000000..2bccf301e4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/currentpage.marker.xml @@ -0,0 +1,25 @@ + + +currentpage.marker +string + + +currentpage.marker +The text symbol used to mark the current page + + + + +@ + + + +Description +Character to use as identifying the current page in + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/custom.css.source.xml b/apache-fop/src/test/resources/docbook-xsl/params/custom.css.source.xml new file mode 100644 index 0000000000..24278ad57f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/custom.css.source.xml @@ -0,0 +1,119 @@ + + + custom.css.source + string + + + custom.css.source + Name of a custom CSS input file + + + + + + + Description + +The custom.css.source +parameter enables you to add CSS styles to DocBook's +HTML output. + +The parameter +specifies the name of a file containing custom +CSS styles. The file must be a well-formed XML file that +consists of a single style root +element that contains CSS styles as its text content. +For example: + + +]]> + +The filename specified by the parameter +should have a .xml +filename suffix, although that is not required. +The default value of this parameter is blank. + +If custom.css.source is not blank, then +the stylesheet takes the following actions. +These actions take place regardless of the value of +the make.clean.html parameter. + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of custom.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference this external CSS stylesheet. + For example: + <link rel="stylesheet" href="custom.css" type="text/css"> + + + + + + + +If the make.clean.html parameter is nonzero +(the default is zero), +and if the docbook.css.source parameter +is not blank (the default is not blank), +then the stylesheet will also generate a default CSS file +and add a link tag to reference it. +The link to the custom CSS comes after the +link to the default, so it should cascade properly +in most browsers. +If you do not want two link tags, and +instead want your custom CSS to import the default generated +CSS file, then do the following: + + + + + Add a line like the following to your custom CSS source file: + @import url("docbook.css") + + + + Set the docbook.css.link parameter + to zero. This will omit the link tag + that references the default CSS file. + + + +If you set make.clean.html to nonzero but +you do not want the default CSS generated, then also set +the docbook.css.source parameter to blank. +Then no default CSS will be generated, and so +all CSS styles must come from your custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.float.class.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.float.class.xml new file mode 100644 index 0000000000..1078b600e4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.float.class.xml @@ -0,0 +1,34 @@ + + +default.float.class +string + + +default.float.class +Specifies the default float class + + + + + + + left + before + + + + + +Description + +Selects the direction in which a float should be placed. for +xsl-fo this is before, for html it is left. For Western texts, the +before direction is the top of the page. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.image.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.image.width.xml new file mode 100644 index 0000000000..0e84a72597 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.image.width.xml @@ -0,0 +1,30 @@ + + +default.image.width +length + + +default.image.width +The default width of images + + + + + + + + +Description + +If specified, this value will be used for the +width attribute on images that do not specify any +viewport dimensions. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.table.frame.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.table.frame.xml new file mode 100644 index 0000000000..38c8667b9e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.table.frame.xml @@ -0,0 +1,28 @@ + + +default.table.frame +string + + +default.table.frame +The default framing of tables + + + + +all + + + +Description + +This value will be used when there is no frame attribute on the +table. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.table.rules.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.table.rules.xml new file mode 100644 index 0000000000..ed698ec233 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.table.rules.xml @@ -0,0 +1,76 @@ + + +default.table.rules +string + + +default.table.rules +The default column and row rules for tables using HTML markup + + + + +none + + + +Description + +Tables using HTML markup elements can use an attribute +named rules on the table or +informaltable element +to specify whether column and row border rules should be +displayed. This parameter lets you specify a global default +style for all HTML tables that don't otherwise have +that attribute. +These are the supported values: + + +all + +Rules will appear between all rows and columns. + + + +rows + +Rules will appear between rows only. + + + +cols + +Rules will appear between columns only. + + + +groups + +Rules will appear between row groups (thead, tfoot, tbody). +No support for rules between column groups yet. + + + + +none + +No rules. This is the default value. + + + + + + +The border after the last row and the border after +the last column are not affected by +this setting. Those borders are controlled by +the frame attribute on the table element. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.table.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.table.width.xml new file mode 100644 index 0000000000..184ce52bd2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.table.width.xml @@ -0,0 +1,26 @@ + + +default.table.width +length + + +default.table.width +The default width of tables + + + + + + +Description +If non-zero, this value will be used for the +width attribute on tables that do not specify an +alternate width (with the dbhtml table-width or +dbfo table-width processing instruction). + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/default.units.xml b/apache-fop/src/test/resources/docbook-xsl/params/default.units.xml new file mode 100644 index 0000000000..f83c82241e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/default.units.xml @@ -0,0 +1,37 @@ + + +default.units +list +cm +mm +in +pt +pc +px +em + + +default.units +Default units for an unqualified dimension + + + + +pt + + + +Description + +If an unqualified dimension is encountered (for example, in a +graphic width), the default.units will be used for the +units. Unqualified dimensions are not allowed in XSL Formatting Objects. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/dingbat.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/dingbat.font.family.xml new file mode 100644 index 0000000000..f9719cf0a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/dingbat.font.family.xml @@ -0,0 +1,33 @@ + + +dingbat.font.family +list +open +serif +sans-serif +monospace + + +dingbat.font.family +The font family for copyright, quotes, and other symbols + + + + +serif + + + +Description + +The dingbat font family is used for dingbats. If it is defined +as the empty string, no font change is effected around dingbats. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/disable.collapsible.xml b/apache-fop/src/test/resources/docbook-xsl/params/disable.collapsible.xml new file mode 100644 index 0000000000..1f8e6e382b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/disable.collapsible.xml @@ -0,0 +1,28 @@ + + +disable.collapsible +boolean + + +disable.collapsible +Specifies whether collapsible rendering is enabled + + + + + 0 + + + +Description + +This parameter specifies whether elements marked as + collapsible are generated as such in the output document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/disable.incremental.xml b/apache-fop/src/test/resources/docbook-xsl/params/disable.incremental.xml new file mode 100644 index 0000000000..27f473a4bc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/disable.incremental.xml @@ -0,0 +1,28 @@ + + +disable.incremental +boolean + + +disable.incremental +Specifies whether incremental rendering is enabled + + + + + 0 + + + +Description + +This parameter specifies whether elements marked as + incremental are generated as such in the output document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.link.xml new file mode 100644 index 0000000000..6d9e6e6925 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.link.xml @@ -0,0 +1,42 @@ + + +docbook.css.link +boolean + + +docbook.css.link +Insert a link referencing the default CSS stylesheet + + + + + + + + +Description + +The stylesheets are capable of generating a default +CSS stylesheet file. The parameters +make.clean.html and +docbook.css.source control that feature. + +Normally if a default CSS file is generated, then +the stylesheet inserts a link tag in the HTML +HEAD element to reference it. +However, you can omit that link reference if +you set the docbook.css.link to zero +(1 is the default). + +This parameter is useful when you want to import the +default CSS into a custom CSS file generated using the +custom.css.source parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.source.xml b/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.source.xml new file mode 100644 index 0000000000..8ba7eb7685 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/docbook.css.source.xml @@ -0,0 +1,83 @@ + + + docbook.css.source + string + + + docbook.css.source + Name of the default CSS input file + + + + docbook.css.xml + + + Description + +The docbook.css.source parameter +specifies the name of the file containing the default DocBook +CSS styles. Those styles are necessary when the +make.clean.html parameter is nonzero. + +The file is a well-formed XML file that +must consist of a single style root +element that contains CSS styles as its text content. +The default value of the parameter (and filename) +is docbook.css.xml. +The stylesheets ship with the default file. You can substitute +your own and specify its path in this parameter. + +If docbook.css.source is not blank, +and make.clean.html is nonzero, then +the stylesheet takes the following actions: + + + + The stylesheet uses the XSLT document() + function to open the file specified by the parameter and + load it into a variable. + + + The stylesheet forms an output pathname consisting of the + value of the base.dir parameter (if it is set) + and the value of docbook.css.source, + with the .xml suffix stripped off. + + + + The stylesheet removes the style + wrapper element and writes just the CSS text content to the output file. + + + The stylesheet adds a link element to the + HTML HEAD element to reference the external CSS stylesheet. + For example: + <link rel="stylesheet" href="docbook.css" type="text/css"> + + However, if the docbook.css.link + parameter is set to zero, then no link is written + for the default CSS file. That is useful if a custom + CSS file will import the default CSS stylesheet to ensure + proper cascading of styles. + + + +If the docbook.css.source parameter +is changed from its default docbook.css.xml to blank, +then no default CSS is generated. Likewise if the +make.clean.html parameter is set to zero, +then no default CSS is generated. The +custom.css.source parameter can be used +instead to generate a complete custom CSS file. + +You can use the generate.css.header +parameter to instead write the CSS to each HTML HEAD +element in a style tag instead of an external CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/double.sided.xml b/apache-fop/src/test/resources/docbook-xsl/params/double.sided.xml new file mode 100644 index 0000000000..ac40dcc1f0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/double.sided.xml @@ -0,0 +1,41 @@ + + +double.sided +boolean + + +double.sided +Is the document to be printed double sided? + + + + + + + + +Description + +This parameter is useful when printing a document +on both sides of the paper. + +if set to non-zero, documents are formatted using different page-masters +for odd and even pages. These can differ by using a slightly wider margin +on the binding edge of the page, and alternating left-right +positions of header or footer elements. + + +If set to zero (the default), then only the 'odd' page masters +are used for both even and odd numbered pages. + +See also force.blank.pages, +page.margin.inner and +page.margin.outer. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/draft.mode.xml b/apache-fop/src/test/resources/docbook-xsl/params/draft.mode.xml new file mode 100644 index 0000000000..2f62d06efd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/draft.mode.xml @@ -0,0 +1,36 @@ + + +draft.mode +list +no +yes +maybe + + +draft.mode +Select draft mode + + + + +no + + + +Description + +Selects draft mode. If draft.mode is +yes, the entire document will be treated +as a draft. If it is no, the entire document +will be treated as a final copy. If it is maybe, +individual sections will be treated as draft or final independently, depending +on how their status attribute is set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/draft.watermark.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/draft.watermark.image.xml new file mode 100644 index 0000000000..ef053a0dfa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/draft.watermark.image.xml @@ -0,0 +1,27 @@ + + +draft.watermark.image +uri + + +draft.watermark.image +The URI of the image to be used for draft watermarks + + + + +images/draft.png + + + +Description + +The image to be used for draft watermarks. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/dry-run.xml b/apache-fop/src/test/resources/docbook-xsl/params/dry-run.xml new file mode 100644 index 0000000000..dd481c39b1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/dry-run.xml @@ -0,0 +1,27 @@ + + +dry-run +boolean + + +dry-run +Indicates that no files should be produced + + + + + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to suppress the generation of +new and updated files. Effectively, this allows you to see what the +stylesheet would do, without actually making any changes. +Only applies when XSLT-based chunking is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/dynamic.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/dynamic.toc.xml new file mode 100644 index 0000000000..232f19e131 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/dynamic.toc.xml @@ -0,0 +1,29 @@ + + +dynamic.toc +boolean + + +dynamic.toc +Dynamic ToCs? + + + + + + + + +Description + +If non-zero, JavaScript is used to make the ToC panel dynamic. +In a dynamic ToC, each section in the ToC can be expanded and collapsed by +clicking on the appropriate image. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ebnf.assignment.xml b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.assignment.xml new file mode 100644 index 0000000000..5c89748684 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.assignment.xml @@ -0,0 +1,39 @@ + + +ebnf.assignment +rtf + + +ebnf.assignment +The EBNF production assignment operator + + + + + +::= + + + + ::= + + + + + +Description + +The ebnf.assignment parameter determines what +text is used to show assignment in productions +in productionsets. + +While ::= is common, so are several +other operators. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ebnf.statement.terminator.xml b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.statement.terminator.xml new file mode 100644 index 0000000000..4e8bd12486 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.statement.terminator.xml @@ -0,0 +1,32 @@ + + +ebnf.statement.terminator +rtf + + +ebnf.statement.terminator +Punctuation that ends an EBNF statement. + + + + + + + + + +Description + +The ebnf.statement.terminator parameter determines what +text is used to terminate each production +in productionset. + +Some notations end each statement with a period. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.bgcolor.xml b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.bgcolor.xml new file mode 100644 index 0000000000..747f14006d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.bgcolor.xml @@ -0,0 +1,30 @@ + + +ebnf.table.bgcolor +color + + +ebnf.table.bgcolor +Background color for EBNF tables + + + + +#F5DCB3 + + + +Description + +Sets the background color for EBNF tables (a pale brown). No +bgcolor attribute is output if +ebnf.table.bgcolor is set to the null string. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.border.xml b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.border.xml new file mode 100644 index 0000000000..e4e50aee01 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ebnf.table.border.xml @@ -0,0 +1,26 @@ + + +ebnf.table.border +boolean + + +ebnf.table.border +Selects border on EBNF tables + + + + + + +Description + +Selects the border on EBNF tables. If non-zero, the tables have +borders, otherwise they don't. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/eclipse.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.autolabel.xml new file mode 100644 index 0000000000..622196e58e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.autolabel.xml @@ -0,0 +1,28 @@ + + +eclipse.autolabel +boolean + + +eclipse.autolabel +Should tree-like ToC use autonumbering feature? + + + + + + + + +Description + +If you want to include chapter and section numbers into ToC in +the left panel, set this parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.id.xml b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.id.xml new file mode 100644 index 0000000000..75557e55d8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.id.xml @@ -0,0 +1,28 @@ + + +eclipse.plugin.id +string + + +eclipse.plugin.id +Eclipse Help plugin id + + + + +com.example.help + + + +Description + +Eclipse Help plugin id. You should change this id to something +unique for each help. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.name.xml b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.name.xml new file mode 100644 index 0000000000..0df83ec665 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.name.xml @@ -0,0 +1,27 @@ + + +eclipse.plugin.name +string + + +eclipse.plugin.name +Eclipse Help plugin name + + + + +DocBook Online Help Sample + + + +Description + +Eclipse Help plugin name. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.provider.xml b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.provider.xml new file mode 100644 index 0000000000..03261fe5cc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/eclipse.plugin.provider.xml @@ -0,0 +1,27 @@ + + +eclipse.plugin.provider +string + + +eclipse.plugin.provider +Eclipse Help plugin provider name + + + + +Example provider + + + +Description + +Eclipse Help plugin provider name. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/editedby.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/editedby.enabled.xml new file mode 100644 index 0000000000..78089f95ab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/editedby.enabled.xml @@ -0,0 +1,27 @@ + + +editedby.enabled +boolean + + +editedby.enabled +Display “Edited by†heading above editor name? + + + +1 + + +Description + +If non-zero, a localized Edited +by heading is displayed above editor names in output of the +editor element. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/email.delimiters.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/email.delimiters.enabled.xml new file mode 100644 index 0000000000..b07cd6d1b8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/email.delimiters.enabled.xml @@ -0,0 +1,34 @@ + + +email.delimiters.enabled +boolean + + +email.delimiters.enabled +Generate delimiters around email addresses? + + + + + + + + +Description + +If non-zero, delimiters + +For delimiters, the +stylesheets are currently hard-coded to output angle +brackets. + +are generated around e-mail addresses +(the output of the email element). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/email.mailto.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/email.mailto.enabled.xml new file mode 100644 index 0000000000..e4eb8d108b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/email.mailto.enabled.xml @@ -0,0 +1,29 @@ + + +email.mailto.enabled +boolean + + +email.mailto.enabled +Generate mailto: links for email addresses? + + + + + + + + +Description + +If non-zero the generated output for the email element +will be a clickable mailto: link that brings up the default mail client +on the system. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/emphasis.propagates.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/emphasis.propagates.style.xml new file mode 100644 index 0000000000..9ff55f5255 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/emphasis.propagates.style.xml @@ -0,0 +1,26 @@ + + +emphasis.propagates.style +boolean + + +emphasis.propagates.style +Pass emphasis role attribute through to HTML? + + + + + + +Description +If non-zero, the role attribute of +emphasis elements will be passed through to the HTML as a +class attribute on a span that surrounds the +emphasis. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/entry.propagates.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/entry.propagates.style.xml new file mode 100644 index 0000000000..7f43c66ebe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/entry.propagates.style.xml @@ -0,0 +1,30 @@ + + +entry.propagates.style +boolean + + +entry.propagates.style +Pass entry role attribute through to HTML? + + + + + + + + +Description + +If true, the role attribute of entry elements +will be passed through to the HTML as a class attribute on the +td or th generated for the table +cell. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/epub.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/epub.autolabel.xml new file mode 100644 index 0000000000..8a64555829 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/epub.autolabel.xml @@ -0,0 +1,28 @@ + + +epub.autolabel +boolean + + +epub.autolabel +Should tree-like ToC use autonumbering feature? + + + + + + + + +Description + +If you want to include chapter and section numbers into ToC in, +set this parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/equation.number.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/equation.number.properties.xml new file mode 100644 index 0000000000..6e05d398a0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/equation.number.properties.xml @@ -0,0 +1,28 @@ + + +equation.number.properties +attribute set + + +equation.number.properties +Properties that apply to the fo:table-cell containing the number +of an equation that does not have a title. + + + + + end + center + + +Description +Properties that apply to the fo:table-cell containing the number +of an equation when it has no title. The number in an equation with a +title is formatted along with the title, and this attribute-set does not apply. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/equation.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/equation.properties.xml new file mode 100644 index 0000000000..a88f6837fa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/equation.properties.xml @@ -0,0 +1,27 @@ + + +equation.properties +attribute set + + +equation.properties +Properties associated with a equation + + + + + + + + +Description + +The styling for equations. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/example.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/example.properties.xml new file mode 100644 index 0000000000..42755ac8a8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/example.properties.xml @@ -0,0 +1,29 @@ + + +example.properties +attribute set + + +example.properties +Properties associated with a example + + + + + + auto + + + + +Description + +The styling for examples. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/exsl.node.set.available.xml b/apache-fop/src/test/resources/docbook-xsl/params/exsl.node.set.available.xml new file mode 100644 index 0000000000..c5d009e037 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/exsl.node.set.available.xml @@ -0,0 +1,44 @@ + + +exsl.node.set.available +boolean + + +exsl.node.set.available +Is the test function-available('exsl:node-set') true? + + + + + + 1 + 0 + + + + + +Description + +If non-zero, +then the exsl:node-set() function is available to be used in +the stylesheet. +If zero, then the function is not available. +This param automatically detects the presence of +the function and does not normally need to be set manually. + +This param was created to handle a long-standing +bug in the Xalan processor that fails to detect the +function even though it is available. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/feedback.href.xml b/apache-fop/src/test/resources/docbook-xsl/params/feedback.href.xml new file mode 100644 index 0000000000..bc37dafe29 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/feedback.href.xml @@ -0,0 +1,28 @@ + + +feedback.href +uri + + +feedback.href +HREF (URI) for feedback link + + + + + + + + +Description +The feedback.href value is used as the value +for the href attribute on the feedback +link. If feedback.href +is empty, no feedback link is generated. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/feedback.link.text.xml b/apache-fop/src/test/resources/docbook-xsl/params/feedback.link.text.xml new file mode 100644 index 0000000000..c80feefaa9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/feedback.link.text.xml @@ -0,0 +1,28 @@ + + +feedback.link.text +string + + +feedback.link.text +The text of the feedback link + + + + +Feedback + + + +Description +The contents of this variable is used as the text of the feedback +link if feedback.href is not empty. If +feedback.href is empty, no feedback link is +generated. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/feedback.with.ids.xml b/apache-fop/src/test/resources/docbook-xsl/params/feedback.with.ids.xml new file mode 100644 index 0000000000..3edfa260ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/feedback.with.ids.xml @@ -0,0 +1,27 @@ + + +feedback.with.ids +boolean + + +feedback.with.ids +Toggle use of IDs in feedback + + + + + + + + +Description +If feedback.with.ids is non-zero, the ID of the +current page will be added to the feedback link. This can be used, for +example, if the feedback.href is a CGI script. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/figure.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/figure.properties.xml new file mode 100644 index 0000000000..e9f6748acf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/figure.properties.xml @@ -0,0 +1,27 @@ + + +figure.properties +attribute set + + +figure.properties +Properties associated with a figure + + + + + + + + +Description + +The styling for figures. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/filename-prefix.xml b/apache-fop/src/test/resources/docbook-xsl/params/filename-prefix.xml new file mode 100644 index 0000000000..54c043d3db --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/filename-prefix.xml @@ -0,0 +1,28 @@ + + +filename-prefix +string + + +filename-prefix +Prefix added to all filenames + + + + + + + + +Description +To produce the text-only (that is, non-tabular) layout +of a website simultaneously with the tabular layout, the filenames have to +be distinguished. That's accomplished by adding the +filename-prefix to the front of each filename. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/firstterm.only.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/firstterm.only.link.xml new file mode 100644 index 0000000000..32ea305388 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/firstterm.only.link.xml @@ -0,0 +1,29 @@ + + +firstterm.only.link +boolean + + +firstterm.only.link +Does automatic glossterm linking only apply to firstterms? + + + + + + + + +Description + +If non-zero, only firstterms will be automatically linked +to the glossary. If glossary linking is not enabled, this parameter +has no effect. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.footer.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.footer.properties.xml new file mode 100644 index 0000000000..9b50d16580 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.footer.properties.xml @@ -0,0 +1,27 @@ + + +foil.footer.properties +attribute set + + +foil.footer.properties +Specifies properties for slides footer + + + + + + + + +Description + +This parameter specifies properties for the foil footer. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.header.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.header.properties.xml new file mode 100644 index 0000000000..43c68f5656 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.header.properties.xml @@ -0,0 +1,36 @@ + + +foil.header.properties +attribute set + + +foil.header.properties +Specifies properties for foil header area + + + + + + white + black + bold + center + + + + 12pt + + + + +Description + +This parameter specifies properties for the foil header area. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.master.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.master.properties.xml new file mode 100644 index 0000000000..fdb8754e77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.master.properties.xml @@ -0,0 +1,46 @@ + + +foil.master.properties +attribute set + + +foil.master.properties +Specifies properties for foil master + + + + + + + + + + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil master. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.page-sequence.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.page-sequence.properties.xml new file mode 100644 index 0000000000..6413130330 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.page-sequence.properties.xml @@ -0,0 +1,31 @@ + + +foil.page-sequence.properties +attribute set + + +foil.page-sequence.properties +Specifies properties for foil page-sequence + + + + + + + + + + + + +Description + +This parameter specifies properties for foil page-sequence. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.properties.xml new file mode 100644 index 0000000000..cf0ab238ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.properties.xml @@ -0,0 +1,36 @@ + + +foil.properties +attribute set + + +foil.properties +Specifies properties for all foils + + + + + + + + + 1in + 1in + + + + + + + +Description + +This parameter specifies properties that are applied to all foils. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.region-after.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-after.properties.xml new file mode 100644 index 0000000000..1e71c68668 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-after.properties.xml @@ -0,0 +1,32 @@ + + +foil.region-after.properties +attribute set + + +foil.region-after.properties +Specifies properties for foil region-after + + + + + + + + + after + + + + +Description + +This parameter specifies properties for the foil region-after. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.region-before.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-before.properties.xml new file mode 100644 index 0000000000..a97fb66da1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-before.properties.xml @@ -0,0 +1,34 @@ + + +foil.region-before.properties +attribute set + + +foil.region-before.properties +Specifies properties for foil region-before + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil region-before. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.region-body.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-body.properties.xml new file mode 100644 index 0000000000..8295a1aa5a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.region-body.properties.xml @@ -0,0 +1,37 @@ + + +foil.region-body.properties +attribute set + + +foil.region-body.properties +Specifies properties for foil region-body + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil region-body. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.subtitle.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.subtitle.properties.xml new file mode 100644 index 0000000000..4832fbe34a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.subtitle.properties.xml @@ -0,0 +1,36 @@ + + +foil.subtitle.properties +attribute set + + +foil.subtitle.properties +Specifies properties for all foil subtitles + + + + + + + + + center + + pt + + 12pt + + + + +Description + +This parameter specifies properties that are applied to all foil subtitles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.title.master.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.master.xml new file mode 100644 index 0000000000..f5ba07f328 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.master.xml @@ -0,0 +1,29 @@ + + +foil.title.master +number + + +foil.title.master +Specifies unitless font size to use for foil titles + + + + +36 + + + + +Description + +Specifies a unitless font size to use for foil titles; used in +combination with the foil.title.size +parameter. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.properties.xml new file mode 100644 index 0000000000..f9d65c04b3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.properties.xml @@ -0,0 +1,31 @@ + + +foil.title.properties +attribute set + + +foil.title.properties +Specifies properties for foil title + + + + + + + + + + + + +Description + +This parameter specifies properties for the foil title. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foil.title.size.xml b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.size.xml new file mode 100644 index 0000000000..3163600ff6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foil.title.size.xml @@ -0,0 +1,32 @@ + + +foil.title.size +length + + +foil.title.size +Specifies font size to use for foil titles, including units + + + + + + pt + + + + +Description + +This parameter combines the value of the +foil.title.master parameter with a unit +specification. The default unit is pt +(points). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.properties.xml new file mode 100644 index 0000000000..cd9805a469 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.properties.xml @@ -0,0 +1,31 @@ + + +foilgroup.properties +attribute set + + +foilgroup.properties +Specifies properties for all foilgroups + + + + + + + + + + + + +Description + +This parameter specifies properties that are applied to all foilgroups. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.toc.xml new file mode 100644 index 0000000000..31d7cb342a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/foilgroup.toc.xml @@ -0,0 +1,29 @@ + + +foilgroup.toc +boolean + + +foilgroup.toc +Put ToC on foilgroup pages? + + + + + + + + +Description + +If non-zero, a ToC will be placed on foilgroup pages (after any +other content). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.column.widths.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.column.widths.xml new file mode 100644 index 0000000000..eca2270595 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.column.widths.xml @@ -0,0 +1,80 @@ + + +footer.column.widths +string + + +footer.column.widths +Specify relative widths of footer areas + + + +1 1 1 + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside footer for +double-sided output. The second number is the relative +width of the center footer. The third number is the +relative width of the outside footer for +double-sided output. + +For single-sided output, the first number is the +relative width of left footer for left-to-right +text direction, or the right footer for right-to-left +text direction. +The third number is the +relative width of right footer for left-to-right +text direction, or the left footer for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the footer area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +footer should have twice the width of the other areas. +A value of "0 0 1" means the entire footer area +is reserved for the right (or outside) footer text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.content.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.content.properties.xml new file mode 100644 index 0000000000..1212cbd16c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.content.properties.xml @@ -0,0 +1,34 @@ + + +footer.content.properties +attribute set + + +footer.content.properties +Properties of page footer content + + + + + + + + + + + + + + + +Description + +Properties of page footer content. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.hr.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.hr.xml new file mode 100644 index 0000000000..d1a5bf8f96 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.hr.xml @@ -0,0 +1,26 @@ + + +footer.hr +boolean + + +footer.hr +Toggle <HR> before footer + + + + + + + + +Description +If non-zero, an <HR> is generated at the bottom of each web page, +before the footer. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.rule.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.rule.xml new file mode 100644 index 0000000000..6b00adeaed --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.rule.xml @@ -0,0 +1,27 @@ + + +footer.rule +boolean + + +footer.rule +Rule over footers? + + + + + + + + +Description + +If non-zero, a rule will be drawn above the page footers. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.table.height.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.table.height.xml new file mode 100644 index 0000000000..2f6c45e51a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.table.height.xml @@ -0,0 +1,32 @@ + + +footer.table.height +length + + +footer.table.height +Specify the minimum height of the table containing the running page footers + + + +14pt + + +Description + +Page footers in print output use a three column table +to position text at the left, center, and right side of +the footer on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footer.table.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/footer.table.properties.xml new file mode 100644 index 0000000000..12e67d3ed6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footer.table.properties.xml @@ -0,0 +1,30 @@ + + +footer.table.properties +attribute set + + +footer.table.properties +Apply properties to the footer layout table + + + + + + fixed + 100% + + + + +Description + +Properties applied to the table that lays out the page footer. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footers.on.blank.pages.xml b/apache-fop/src/test/resources/docbook-xsl/params/footers.on.blank.pages.xml new file mode 100644 index 0000000000..2964f7817d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footers.on.blank.pages.xml @@ -0,0 +1,27 @@ + + +footers.on.blank.pages +boolean + + +footers.on.blank.pages +Put footers on blank pages? + + + + + + + + +Description + +If non-zero, footers will be placed on blank pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.font.size.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.font.size.xml new file mode 100644 index 0000000000..88d0c0b22b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.font.size.xml @@ -0,0 +1,28 @@ + + +footnote.font.size +length + + +footnote.font.size +The font size for footnotes + + + + + pt + + + +Description + +The footnote font size is used for...footnotes! + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.mark.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.mark.properties.xml new file mode 100644 index 0000000000..2dbc9c108c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.mark.properties.xml @@ -0,0 +1,41 @@ + + +footnote.mark.properties +attribute set + + +footnote.mark.properties +Properties applied to each footnote mark + + + + + + + + 75% + normal + normal + + + + +Description + +This attribute set is applied to the footnote mark used +for each footnote. +It should contain only inline properties. + + +The property to make the mark a superscript is contained in the +footnote template itself, because the current version of FOP reports +an error if baseline-shift is used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.format.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.format.xml new file mode 100644 index 0000000000..c323720cba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.format.xml @@ -0,0 +1,33 @@ + + +footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +footnote.number.format +Identifies the format used for footnote numbers + + + + +1 + + + +Description + +The footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.symbols.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.symbols.xml new file mode 100644 index 0000000000..10ca7d3cac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.number.symbols.xml @@ -0,0 +1,39 @@ + + +footnote.number.symbols + + + +footnote.number.symbols +Special characters to use as footnote markers + + + + + + + + +Description + +If footnote.number.symbols is not the empty string, +footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, †, ‡, +â—Š, and ✠. If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.properties.xml new file mode 100644 index 0000000000..326712b8c6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.properties.xml @@ -0,0 +1,44 @@ + + +footnote.properties +attribute set + + +footnote.properties +Properties applied to each footnote body + + + + + + + + + normal + normal + + 0pt + 0pt + 0pt + + wrap + treat-as-space + + + + +Description + +This attribute set is applied to the footnote-block +for each footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all footnotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/footnote.sep.leader.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/footnote.sep.leader.properties.xml new file mode 100644 index 0000000000..27f9489d08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/footnote.sep.leader.properties.xml @@ -0,0 +1,39 @@ + + +footnote.sep.leader.properties +attribute set + + +footnote.sep.leader.properties +Properties associated with footnote separators + + + + + + black + rule + 1in + + + + +Description + +The styling for the rule line that separates the +footnotes from the body text. +These are properties applied to the fo:leader used as +the separator. + +If you want to do more than just set properties on +the leader element, then you can customize the template +named footnote.separator in +fo/pagesetup.xsl. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/fop.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/fop.extensions.xml new file mode 100644 index 0000000000..e122368bce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/fop.extensions.xml @@ -0,0 +1,36 @@ + + +fop.extensions +boolean + + +fop.extensions +Enable extensions for FOP version 0.20.5 and earlier + + + + + + +Description + +If non-zero, extensions intended for +FOP +version 0.20.5 and earlier will be used. +At present, this consists of PDF bookmarks. + + +This parameter can also affect which graphics file formats +are supported. + +If you are using a version of FOP beyond +version 0.20.5, then use the fop1.extensions parameter +instead. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/fop1.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/fop1.extensions.xml new file mode 100644 index 0000000000..dcbcf5be84 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/fop1.extensions.xml @@ -0,0 +1,34 @@ + + +fop1.extensions +boolean + + +fop1.extensions +Enable extensions for FOP version 0.90 and later + + + + + + +Description + +If non-zero, extensions for +FOP +version 0.90 and later will be used. + + +This parameter can also affect which graphics file formats +are supported. + +The original fop.extensions parameter +should still be used for FOP version 0.20.5 and earlier. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/force.blank.pages.xml b/apache-fop/src/test/resources/docbook-xsl/params/force.blank.pages.xml new file mode 100755 index 0000000000..c6df11ddc1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/force.blank.pages.xml @@ -0,0 +1,46 @@ + + +force.blank.pages +boolean + + +force.blank.pages +Generate blank page to end on even page number + + + + + + + + +Description + +If non-zero (the default), then each page sequence will be forced to +end on an even-numbered page, by inserting a blank page +if necessary. This will force the next page sequence to start +on an odd-numbered page, which is a standard convention +for printed and bound books. + +If zero, then such blank pages will not be inserted. +Chapters will start on the next available page, +regardless of whether it is an even or odd number. +This is useful when publishing online where blank +pages are not needed. + + +This param is independent of the +double.sided parameter, which +just triggers the use of even and odd page sequence +masters that differ in their header and footer placement. +So you can combine the two params for alternating +headers/footers and no blank pages. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/formal.object.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/formal.object.properties.xml new file mode 100644 index 0000000000..f36aeaf71a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/formal.object.properties.xml @@ -0,0 +1,36 @@ + + +formal.object.properties +attribute set + + +formal.object.properties +Properties associated with a formal object such as a figure, or other component that has a title + + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + always + + + + +Description + +The styling for formal objects in docbook. Specify the spacing +before and after the object. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/formal.procedures.xml b/apache-fop/src/test/resources/docbook-xsl/params/formal.procedures.xml new file mode 100644 index 0000000000..4f10885774 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/formal.procedures.xml @@ -0,0 +1,28 @@ + + +formal.procedures +boolean + + +formal.procedures +Selects formal or informal procedures + + + + + + + + +Description + +Formal procedures are numbered and always have a title. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/formal.title.placement.xml b/apache-fop/src/test/resources/docbook-xsl/params/formal.title.placement.xml new file mode 100644 index 0000000000..e56f200100 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/formal.title.placement.xml @@ -0,0 +1,41 @@ + + +formal.title.placement +table + + +formal.title.placement +Specifies where formal object titles should occur + + + + + +figure before +example before +equation before +table before +procedure before +task before + + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/formal.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/formal.title.properties.xml new file mode 100644 index 0000000000..898d57292e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/formal.title.properties.xml @@ -0,0 +1,34 @@ + + +formal.title.properties +attribute set + + +formal.title.properties +Style the title element of formal object such as a figure. + + + + + + bold + + + pt + + false + 0.4em + 0.6em + 0.8em + + + +Description +Specify how the title should be styled. Specify the font size and weight of the title of the formal object. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.decoration.xml b/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.decoration.xml new file mode 100644 index 0000000000..44037c3991 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.decoration.xml @@ -0,0 +1,30 @@ + + +funcsynopsis.decoration +boolean + + +funcsynopsis.decoration +Decorate elements of a funcsynopsis? + + + + + + + + +Description + +If non-zero, elements of the funcsynopsis will be +decorated (e.g. rendered as bold or italic text). The decoration is controlled by +templates that can be redefined in a customization layer. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.style.xml new file mode 100644 index 0000000000..fc3ad85cb9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/funcsynopsis.style.xml @@ -0,0 +1,31 @@ + + +funcsynopsis.style +list +ansi +kr + + +funcsynopsis.style +What style of funcsynopsis should be generated? + + + +kr + + +Description + +If funcsynopsis.style is ansi, +ANSI-style function synopses are generated for a +funcsynopsis, otherwise K&R-style +function synopses are generated. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/function.parens.xml b/apache-fop/src/test/resources/docbook-xsl/params/function.parens.xml new file mode 100644 index 0000000000..15d6df078b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/function.parens.xml @@ -0,0 +1,29 @@ + + +function.parens +boolean + + +function.parens +Generate parens after a function? + + + + + + + + +Description + +If non-zero, the formatting of a function element +will include generated parentheses. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.consistent.ids.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.consistent.ids.xml new file mode 100644 index 0000000000..249cb8c467 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.consistent.ids.xml @@ -0,0 +1,53 @@ + + +generate.consistent.ids +boolean + + +generate.consistent.ids +Generate consistent id values if document is unchanged + + + + + + + + +Description + +When the stylesheet assigns an id value to an output element, +the generate-id() function may be used. That function may not +produce consistent values between runs. Version control +systems may misidentify the changing id values as changes +to the document. + +If you set this parameter's value to 1, then the +template named object.id will replace +the use of the function generate-id() with +<xsl:number level="multiple" count="*"/>. +This counts preceding elements to generate a unique number for +the id value. + + +This param does not associate permanent unique id values +with particular elements. +The id values are consistent only as long as the document +structure does not change. +If the document structure changes, then the counting +of elements changes, and all id values after +the first such change may be different, even when there is +no change to the element itself or its output. + + + +The default value of this parameter is zero, so generate-id() is used +by default. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.copyright.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.copyright.xml new file mode 100644 index 0000000000..8c0aaaab2c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.copyright.xml @@ -0,0 +1,28 @@ + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + 1 + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.css.header.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.css.header.xml new file mode 100644 index 0000000000..05965c10ae --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.css.header.xml @@ -0,0 +1,40 @@ + + +generate.css.header +boolean + + +generate.css.header +Insert generated CSS styles in HEAD element + + + + + + + + +Description + +The stylesheets are capable of generating both default +and custom CSS stylesheet files. The parameters +make.clean.html, +docbook.css.source, and +custom.css.source control that feature. + +If you require that CSS styles reside in the HTML +HEAD element instead of external CSS files, +then set the generate.css.header +parameter to nonzero (it is zero by default). +Then instead of generating the CSS in external files, +they are wrapped in style elements in +the HEAD element of each HTML output file. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.numbered.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.numbered.toc.xml new file mode 100644 index 0000000000..f43a8c9ca8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.numbered.toc.xml @@ -0,0 +1,29 @@ + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + 1 + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.toc.xml new file mode 100644 index 0000000000..a6bb674921 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.foilgroup.toc.xml @@ -0,0 +1,28 @@ + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + 1 + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.handoutnotes.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.handoutnotes.xml new file mode 100644 index 0000000000..d6138e024f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.handoutnotes.xml @@ -0,0 +1,28 @@ + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + 0 + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.id.attributes.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.id.attributes.xml new file mode 100644 index 0000000000..6326841d61 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.id.attributes.xml @@ -0,0 +1,59 @@ + + +generate.id.attributes +boolean + + +generate.id.attributes +Generate ID attributes on container elements? + + + + + + + + +Description + +If non-zero, the HTML stylesheet will generate ID attributes on +containers. For example, the markup: + +<section id="foo"><title>Some Title</title> +<para>Some para.</para> +</section> + +might produce: + +<div class="section" id="foo"> +<h2>Some Title</h2> +<p>Some para.</p> +</div> + +The alternative is to generate anchors: + +<div class="section"> +<h2><a name="foo"></a>Some Title</h2> +<p>Some para.</p> +</div> + +Because the name attribute of +the a element and the id +attribute of other tags are both of type ID, producing both +generates invalid documents. + +As of version 1.50, you can use this switch to control which type of +identifier is generated. For backwards-compatibility, generating +a anchors is preferred. + +Note: at present, this switch is incompletely implemented. +Disabling ID attributes will suppress them, but enabling ID attributes +will not suppress the anchors. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.index.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.index.xml new file mode 100644 index 0000000000..8cab350854 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.index.xml @@ -0,0 +1,25 @@ + + +generate.index +boolean + + +generate.index +Do you want an index? + + + + + + +Description + +Specify if an index should be generated. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.legalnotice.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.legalnotice.link.xml new file mode 100644 index 0000000000..534e050504 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.legalnotice.link.xml @@ -0,0 +1,72 @@ + + +generate.legalnotice.link +boolean + + +generate.legalnotice.link +Write legalnotice to separate chunk and generate link? + + + + + + +Description + +If the value of generate.legalnotice.link +is non-zero, the stylesheet: + + + + writes the contents of legalnotice to a separate + HTML file + + + inserts a hyperlink to the legalnotice file + + + adds (in the HTML head) either a single + link or element or multiple + link elements (depending on the value of the + html.head.legalnotice.link.multiple + parameter), with the value or values derived from the + html.head.legalnotice.link.types + parameter + + + + Otherwise, if generate.legalnotice.link is + zero, legalnotice contents are rendered on the title + page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename +processing instruction, that filename is used. + + + If the legalnotice has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename +is the concatenation of the id value and the value of the html.ext +parameter. + + + If the legalnotice does not have an id/xml:id + attribute, or if use.id.as.filename = 0, the filename is the concatenation of "ln-", +auto-generated id value, and html.ext value. + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.manifest.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.manifest.xml new file mode 100644 index 0000000000..b561c36096 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.manifest.xml @@ -0,0 +1,27 @@ + + + generate.manifest + boolean + + + generate.manifest + Generate a manifest file? + + + + + + + Description + + If non-zero, a list of HTML files generated by the + stylesheet transformation is written to the file named by + the manifest parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.meta.abstract.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.meta.abstract.xml new file mode 100644 index 0000000000..d3ca138d3e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.meta.abstract.xml @@ -0,0 +1,29 @@ + + +generate.meta.abstract +boolean + + +generate.meta.abstract +Generate HTML META element from abstract? + + + + + + + + +Description + +If non-zero, document abstracts will be reproduced in the HTML +head, with >meta name="description" content="..." + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.page.number.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.page.number.xml new file mode 100644 index 0000000000..b3e14747a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.page.number.xml @@ -0,0 +1,58 @@ + + +generate.page.number +list +full1/2 +compact1 +no + + +generate.page.number +Specifies whether page numbers are generated + + + + + compact + + + +Description + +This parameter specifies how page numbers are generated in + the footer area. + + + + no + + No page numbers generated at all. + + + + full + + Current page number, a slash and the total number of pages + + + + compact + + Current page number only + + + + no + + No page numbers generated at all. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.pubdate.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.pubdate.xml new file mode 100644 index 0000000000..14fdd24373 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.pubdate.xml @@ -0,0 +1,28 @@ + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + 1 + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.revhistory.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.revhistory.link.xml new file mode 100644 index 0000000000..bd70cd91d7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.revhistory.link.xml @@ -0,0 +1,50 @@ + + +generate.revhistory.link +boolean + + +generate.revhistory.link +Write revhistory to separate chunk and generate link? + + + + + + +Description + +If non-zero, the contents of revhistory are written +to a separate HTML file and a link to the file is +generated. Otherwise, revhistory contents are rendered on +the title page. + +The name of the separate HTML file is computed as follows: + + + + If a filename is given by the dbhtml filename processing instruction, +that filename is used. + + + If the revhistory has an id/xml:id +attribute, and if use.id.as.filename != 0, the filename is the concatenation of +the id value and the value of the html.ext parameter. + + + If the revhistory does not have an id/xml:id +attribute, or if use.id.as.filename = 0, the filename is the concatenation of "rh-", +auto-generated id value, and html.ext value. + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.section.toc.level.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.section.toc.level.xml new file mode 100644 index 0000000000..227735a159 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.section.toc.level.xml @@ -0,0 +1,35 @@ + + +generate.section.toc.level +integer + + +generate.section.toc.level +Control depth of TOC generation in sections + + + + + + + + +Description + +The generate.section.toc.level parameter +controls the depth of section in which TOCs will be generated. Note +that this is related to, but not the same as +toc.section.depth, which controls the depth to +which TOC entries will be generated in a given TOC. +If, for example, generate.section.toc.level +is 3, TOCs will be generated in first, second, and third +level sections, but not in fourth level sections. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.speakernotes.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.speakernotes.xml new file mode 100644 index 0000000000..72e41c30e8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.speakernotes.xml @@ -0,0 +1,28 @@ + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + 0 + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.titlepage.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.titlepage.xml new file mode 100644 index 0000000000..86135f8642 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.titlepage.xml @@ -0,0 +1,28 @@ + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + 1 + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/generate.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/generate.toc.xml new file mode 100644 index 0000000000..d23c45e63a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/generate.toc.xml @@ -0,0 +1,108 @@ + + +generate.toc +table + + +generate.toc +Control generation of ToCs and LoTs + + + + + +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title + + +/appendix toc,title +article/appendix nop +/article toc,title +book toc,title,figure,table,example,equation +/chapter toc,title +part toc,title +/preface toc,title +reference toc,title +/sect1 toc +/sect2 toc +/sect3 toc +/sect4 toc +/sect5 toc +/section toc +set toc,title + + + + +Description + +This parameter has a structured value. It is a table of space-delimited +path/value pairs. Each path identifies some element in the source document +using a restricted subset of XPath (only the implicit child axis, no wildcards, +no predicates). Paths can be either relative or absolute. + +When processing a particular element, the stylesheets consult this table to +determine if a ToC (or LoT(s)) should be generated. + +For example, consider the entry: + +book toc,figure + +This indicates that whenever a book is formatted, a +Table Of Contents and a List of Figures should be generated. Similarly, + +/chapter toc + +indicates that whenever a document that has a root +of chapter is formatted, a Table of +Contents should be generated. The entry chapter would match +all chapters, but /chapter matches only chapter +document elements. + +Generally, the longest match wins. So, for example, if you want to distinguish +articles in books from articles in parts, you could use these two entries: + +book/article toc,figure +part/article toc + +Note that an article in a part can never match a book/article, +so if you want nothing to be generated for articles in parts, you can simply leave +that rule out. + +If you want to leave the rule in, to make it explicit that you're turning +something off, use the value nop. For example, the following +entry disables ToCs and LoTs for articles: + +article nop + +Do not simply leave the word article in the file +without a matching value. That'd be just begging the silly little +path/value parser to get confused. + +Section ToCs are further controlled by the +generate.section.toc.level parameter. +For a given section level to have a ToC, it must have both an entry in +generate.toc and be within the range enabled by +generate.section.toc.level. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossary.as.blocks.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossary.as.blocks.xml new file mode 100644 index 0000000000..e18ed19abc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossary.as.blocks.xml @@ -0,0 +1,38 @@ + + +glossary.as.blocks +boolean + + +glossary.as.blocks +Present glossarys using blocks instead of lists? + + + + + + + + +Description + +If non-zero, glossarys will be formatted as +blocks. + +If you have long glossterms, proper list +markup in the FO case may produce unattractive lists. By setting this +parameter, you can force the stylesheets to produce block markup +instead of proper lists. + +You can override this setting with a processing instruction as the +child of glossary: dbfo +glossary-presentation="blocks" or dbfo +glossary-presentation="list" + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossary.collection.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossary.collection.xml new file mode 100644 index 0000000000..9db037c63e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossary.collection.xml @@ -0,0 +1,271 @@ + + +glossary.collection +string + + +glossary.collection +Name of the glossary collection file + + + + + + + + +Description + +Glossaries maintained independently across a set of documents +are likely to become inconsistent unless considerable effort is +expended to keep them in sync. It makes much more sense, usually, to +store all of the glossary entries in a single place and simply +extract the ones you need in each document. + +That's the purpose of the +glossary.collection parameter. To setup a global +glossary database, follow these steps: + +Setting Up the Glossary Database + +First, create a stand-alone glossary document that contains all of +the entries that you wish to reference. Make sure that each glossary +entry has an ID. + +Here's an example glossary: + + + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glossary + PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> +<glossary> +<glossaryinfo> +<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> +<title>Jargon File 4.2.3 (abridged)</title> +<releaseinfo>Just some test data</releaseinfo> +</glossaryinfo> + +<glossdiv><title>0</title> + +<glossentry> +<glossterm>0</glossterm> +<glossdef> +<para>Numeric zero, as opposed to the letter `O' (the 15th letter of +the English alphabet). In their unmodified forms they look a lot +alike, and various kluges invented to make them visually distinct have +compounded the confusion. If your zero is center-dotted and letter-O +is not, or if letter-O looks almost rectangular but zero looks more +like an American football stood on end (or the reverse), you're +probably looking at a modern character display (though the dotted zero +seems to have originated as an option on IBM 3270 controllers). If +your zero is slashed but letter-O is not, you're probably looking at +an old-style ASCII graphic set descended from the default typewheel on +the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, +curse this arrangement). (Interestingly, the slashed zero long +predates computers; Florian Cajori's monumental "A History of +Mathematical Notations" notes that it was used in the twelfth and +thirteenth centuries.) If letter-O has a slash across it and the zero +does not, your display is tuned for a very old convention used at IBM +and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> +arrangement even more, because it means two of their letters collide). +Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> +slash. Old CDC computers rendered letter O as an unbroken oval and 0 +as an oval broken at upper right and lower left. And yet another +convention common on early line printers left zero unornamented but +added a tail or hook to the letter-O so that it resembled an inverted +Q or cursive capital letter-O (this was endorsed by a draft ANSI +standard for how to draw ASCII characters, but the final standard +changed the distinguisher to a tick-mark in the upper-left corner). +Are we sufficiently confused yet?</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm>1TBS</glossterm> +<glossdef> +<para role="accidence"> +<phrase role="pronounce"></phrase> +<phrase role="partsofspeach">n</phrase> +</para> +<para>The "One True Brace Style"</para> +<glossseealso>indent style</glossseealso> +</glossdef> +</glossentry> + +<!-- ... --> + +</glossdiv> + +<!-- ... --> + +</glossary> + + + + +Marking Up Glossary Terms + +That takes care of the glossary database, now you have to get the entries +into your document. Unlike bibliography entries, which can be empty, creating +placeholder glossary entries would be very tedious. So instead, +support for glossary.collection relies on implicit linking. + +In your source document, simply use firstterm and +glossterm to identify the terms you wish to have included +in the glossary. The stylesheets assume that you will either set the +baseform attribute correctly, or that the +content of the element exactly matches a term in your glossary. + +If you're using a glossary.collection, don't +make explicit links on the terms in your document. + +So, in your document, you might write things like this: + + +<para>This is dummy text, without any real meaning. +The point is simply to reference glossary terms like <glossterm>0</glossterm> +and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. +The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly +religious issue.</para> + + +If you set the firstterm.only.link parameter, +only the terms marked with firstterm will be links. +Otherwise, all the terms will be linked. + + + +Marking Up the Glossary + +The glossary itself has to be identified for the stylesheets. For lack +of a better choice, the role is used. +To identify the glossary as the target for automatic processing, set +the role to auto. The title of this +glossary (and any other information from the glossaryinfo +that's rendered by your stylesheet) will be displayed, but the entries will +come from the database. + + +Unfortunately, the glossary can't be empty, so you must put in +at least one glossentry. The content of this entry +is irrelevant, it will not be rendered: + + +<glossary role="auto"> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + +What about glossary divisions? If your glossary database has glossary +divisions and your automatic glossary contains at least +one glossdiv, the automic glossary will have divisions. +If the glossdiv is missing from either location, no divisions +will be rendered. + +Glossary entries (and divisions, if appropriate) in the glossary will +occur in precisely the order they occur in your database. + + + +Formatting the Document + +Finally, when you are ready to format your document, simply set the +glossary.collection parameter (in either a +customization layer or directly through your processor's interface) to +point to your global glossary. + +A relative path in the parameter is interpreted in one +of two ways: + + + If the parameter glossterm.auto.link + is set to zero, then the path is relative to the file containing + the empty glossary element in the document. + + + If the parameter glossterm.auto.link + is set to non-zero, then the path is relative to the file containing + the first inline glossterm or + firstterm in the document to be linked. + + +Once the collection file is opened by the first instance described +above, it stays open for the current document +and the relative path is not reinterpreted again. + +The stylesheets will format the glossary in your document as if +all of the entries implicilty referenced appeared there literally. + + +Limitations + +Glossary cross-references within the glossary are +not supported. For example, this will not work: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + +If you put glossary cross-references in your glossary that way, +you'll get the cryptic error: Warning: +glossary.collection specified, but there are 0 automatic +glossaries. + +Instead, you must do two things: + + + +Markup your glossary using glossseealso: + + +<glossentry> +<glossterm>gloss-1</glossterm> +<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para> +<glossseealso>gloss-2</glossseealso> +</glossdef> +</glossentry> + + + + +Make sure there is at least one glossterm reference to +gloss-2 in your document. The +easiest way to do that is probably within a remark in your +automatic glossary: + + +<glossary role="auto"> +<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark> +<glossentry> +<glossterm>Irrelevant</glossterm> +<glossdef> +<para>If you can see this, the document was processed incorrectly. Use +the <parameter>glossary.collection</parameter> parameter.</para> +</glossdef> +</glossentry> +</glossary> + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossary.sort.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossary.sort.xml new file mode 100644 index 0000000000..216130a506 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossary.sort.xml @@ -0,0 +1,32 @@ + + +glossary.sort +boolean + + +glossary.sort +Sort glossentry elements? + + + + + + + + +Description + +If non-zero, then the glossentry elements within a +glossary, glossdiv, or glosslist are sorted on the glossterm, using +the current lang setting. If zero (the default), then +glossentry elements are not sorted and are presented +in document order. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossdef.block.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossdef.block.properties.xml new file mode 100644 index 0000000000..4fb481fe62 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossdef.block.properties.xml @@ -0,0 +1,32 @@ + + +glossdef.block.properties +attribute set + + +glossdef.block.properties +To add properties to the block of a glossary definition. + + + + + .25in + + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +any font properties, +and any indent for the glossary definition. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossdef.list.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossdef.list.properties.xml new file mode 100644 index 0000000000..ba715780b3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossdef.list.properties.xml @@ -0,0 +1,30 @@ + + +glossdef.list.properties +attribute set + + +glossdef.list.properties +To add properties to the glossary definition in a list. + + + + + + + + +Description +These properties are added to the block containing a +glossary definition in a glossary when +the glossary.as.blocks parameter +is zero. +Use this attribute-set to set font properties, for example. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossentry.list.item.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossentry.list.item.properties.xml new file mode 100644 index 0000000000..6830f17810 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossentry.list.item.properties.xml @@ -0,0 +1,32 @@ + + +glossentry.list.item.properties +attribute set + + +glossentry.list.item.properties +To add properties to each glossentry in a list. + + + + + 1em + 0.8em + 1.2em + + + +Description +These properties are added to the fo:list-item containing a +glossentry in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +spacing between entries, for example. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossentry.show.acronym.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossentry.show.acronym.xml new file mode 100644 index 0000000000..9736438751 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossentry.show.acronym.xml @@ -0,0 +1,37 @@ + + +glossentry.show.acronym +list +no +yes +primary + + +glossentry.show.acronym +Display glossentry acronyms? + + + + +no + + + +Description + +A setting of yes means they should be displayed; +no means they shouldn't. If primary is used, +then they are shown as the primary text for the entry. + + +This setting controls both acronym and +abbrev elements in the glossentry. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glosslist.as.blocks.xml b/apache-fop/src/test/resources/docbook-xsl/params/glosslist.as.blocks.xml new file mode 100644 index 0000000000..d72083714a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glosslist.as.blocks.xml @@ -0,0 +1,27 @@ + + +glosslist.as.blocks +boolean + + +glosslist.as.blocks +Use blocks for glosslists? + + + + + + + + +Description + +See glossary.as.blocks. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossterm.auto.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.auto.link.xml new file mode 100644 index 0000000000..03d9a30a45 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.auto.link.xml @@ -0,0 +1,33 @@ + + +glossterm.auto.link +boolean + + +glossterm.auto.link +Generate links from glossterm to glossentry automatically? + + + + + + + + +Description + +If non-zero, links from inline glossterms to the corresponding +glossentry elements in a glossary or glosslist +will be automatically generated. This is useful when your glossterms are consistent +and you don't want to add links manually. + +The automatic link generation feature is not used on glossterm elements +that have a linkend attribute. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossterm.block.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.block.properties.xml new file mode 100644 index 0000000000..84e6a6c29c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.block.properties.xml @@ -0,0 +1,35 @@ + + +glossterm.block.properties +attribute set + + +glossterm.block.properties +To add properties to the block of a glossentry's glossterm. + + + + + 1em + 0.8em + 1.2em + always + always + + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is non-zero. +Use this attribute-set to set the space above and below, +font properties, +and any indent for the glossary term. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossterm.list.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.list.properties.xml new file mode 100644 index 0000000000..abe0d313e4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.list.properties.xml @@ -0,0 +1,30 @@ + + +glossterm.list.properties +attribute set + + +glossterm.list.properties +To add properties to the glossterm in a list. + + + + + + + + +Description +These properties are added to the block containing a +glossary term in a glossary when the glossary.as.blocks parameter +is zero. +Use this attribute-set to set +font properties, for example. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossterm.separation.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.separation.xml new file mode 100644 index 0000000000..d0d2b8de05 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.separation.xml @@ -0,0 +1,31 @@ + + +glossterm.separation +length + + +glossterm.separation +Separation between glossary terms and descriptions in list mode + + + + +0.25in + + + +Description + +Specifies the miminum horizontal +separation between glossary terms and descriptions when +they are presented side-by-side using lists +when the glossary.as.blocks +is zero. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/glossterm.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.width.xml new file mode 100644 index 0000000000..0cd3b82cd2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/glossterm.width.xml @@ -0,0 +1,28 @@ + + +glossterm.width +length + + +glossterm.width +Width of glossterm in list presentation mode + + + + +2in + + + +Description + +This parameter specifies the width reserved for glossary terms when +a list presentation is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/graphic.default.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/graphic.default.extension.xml new file mode 100644 index 0000000000..93f2983a84 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/graphic.default.extension.xml @@ -0,0 +1,29 @@ + + +graphic.default.extension +string + + +graphic.default.extension +Default extension for graphic filenames + + + + + + +Description + +If a graphic or mediaobject +includes a reference to a filename that does not include an extension, +and the format attribute is +unspecified, the default extension will be used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/graphical.admonition.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/graphical.admonition.properties.xml new file mode 100644 index 0000000000..ca257d7606 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/graphical.admonition.properties.xml @@ -0,0 +1,42 @@ + + +graphical.admonition.properties +attribute set + + +graphical.admonition.properties +To add properties to the outer block of a graphical admonition. + + + + + 1em + 0.8em + 1.2em + 1em + 0.8em + 1.2em + + + +Description +These properties are added to the outer block containing the +entire graphical admonition, including its title. +It is used when the parameter +admon.graphics is set to nonzero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a graphical admonition +also applies the admonition.title.properties +attribute-set to the title, and applies the +admonition.properties attribute-set +to the rest of the content. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/graphics.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/graphics.dir.xml new file mode 100644 index 0000000000..e8d83ae3c7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/graphics.dir.xml @@ -0,0 +1,33 @@ + + +graphics.dir +uri + + +graphics.dir +Graphics directory + + + + + + + + +Description + +Identifies the graphics directory for the navigation components +generated on all the slides. This parameter can be set in the source +document with the <?dbhtml?> pseudo-attribute +graphics-dir. + +If non-empty, this value is prepended to each of the graphic +image paths. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.extension.xml new file mode 100644 index 0000000000..169228a8d9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.extension.xml @@ -0,0 +1,32 @@ + + +graphicsize.extension +boolean + + +graphicsize.extension +Enable the getWidth()/getDepth() extension functions + + + + + + + + +Description + +If non-zero (and if use.extensions is non-zero +and if you're using a processor that supports extension functions), the +getWidth and getDepth functions +will be used to extract image sizes from graphics. + +The main supported image formats are GIF, JPEG, and PNG. Somewhat cruder +support for EPS and PDF images is also available. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.use.img.src.path.xml b/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.use.img.src.path.xml new file mode 100644 index 0000000000..aff5b30c08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/graphicsize.use.img.src.path.xml @@ -0,0 +1,30 @@ + + +graphicsize.use.img.src.path +boolean + + +graphicsize.use.img.src.path +Prepend img.src.path before +filenames passed to extension functions + + + + + + + + +Description + +If non-zero img.src.path parameter will +be appended before filenames passed to extension functions for +measuring image dimensions. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/handoutnotes.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/handoutnotes.properties.xml new file mode 100644 index 0000000000..251e3ac0ad --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/handoutnotes.properties.xml @@ -0,0 +1,28 @@ + + +handoutnotes.properties +attribute set + + +footnote.properties +Properties applied to handoutnotes + + + + + + + + + +Description + +This attribute set is applied to handoutnotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.column.widths.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.column.widths.xml new file mode 100644 index 0000000000..7d85b96ad6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.column.widths.xml @@ -0,0 +1,80 @@ + + +header.column.widths +string + + +header.column.widths +Specify relative widths of header areas + + + +1 1 1 + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the relative sizes of the +three columns. The default value is +"1 1 1". + +The parameter value must be three numbers, separated +by white space. The first number represents the relative +width of the inside header for +double-sided output. The second number is the relative +width of the center header. The third number is the +relative width of the outside header for +double-sided output. + +For single-sided output, the first number is the +relative width of left header for left-to-right +text direction, or the right header for right-to-left +text direction. +The third number is the +relative width of right header for left-to-right +text direction, or the left header for right-to-left +text direction. + +The numbers are used to specify the column widths +for the table that makes up the header area. +In the FO output, this looks like: + + + +<fo:table-column column-number="1" + column-width="proportional-column-width(1)"/> + + + +The proportional-column-width() +function computes a column width by dividing its +argument by the total of the arguments for all the columns, and +then multiplying the result by the width of the whole table +(assuming all the column specs use the function). +Its argument can be any positive integer or floating point number. +Zero is an acceptable value, although some FO processors +may warn about it, in which case using a very small number might +be more satisfactory. + + +For example, the value "1 2 1" means the center +header should have twice the width of the other areas. +A value of "0 0 1" means the entire header area +is reserved for the right (or outside) header text. +Note that to keep the center area centered on +the page, the left and right values must be +the same. A specification like "1 2 3" means the +center area is no longer centered on the page +since the right area is three times the width of the left area. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.content.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.content.properties.xml new file mode 100644 index 0000000000..2d0291c45b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.content.properties.xml @@ -0,0 +1,34 @@ + + +header.content.properties +attribute set + + +header.content.properties +Properties of page header content + + + + + + + + + + + + + + + +Description + +Properties of page header content. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.hr.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.hr.xml new file mode 100644 index 0000000000..08d846a9da --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.hr.xml @@ -0,0 +1,26 @@ + + +header.hr +boolean + + +header.hr +Toggle <HR> after header + + + + + + + + +Description +If non-zero, an <HR> is generated at the bottom of each web page, +before the footer. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.rule.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.rule.xml new file mode 100644 index 0000000000..b4c031e825 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.rule.xml @@ -0,0 +1,27 @@ + + +header.rule +boolean + + +header.rule +Rule under headers? + + + + + + + + +Description + +If non-zero, a rule will be drawn below the page headers. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.table.height.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.table.height.xml new file mode 100644 index 0000000000..69b6f08e5f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.table.height.xml @@ -0,0 +1,32 @@ + + +header.table.height +length + + +header.table.height +Specify the minimum height of the table containing the running page headers + + + +14pt + + +Description + +Page headers in print output use a three column table +to position text at the left, center, and right side of +the header on the page. +This parameter lets you specify the minimum height +of the single row in the table. +Since this specifies only the minimum height, +the table should automatically grow to fit taller content. +The default value is "14pt". + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/header.table.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/header.table.properties.xml new file mode 100644 index 0000000000..b5f60529de --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/header.table.properties.xml @@ -0,0 +1,30 @@ + + +header.table.properties +attribute set + + +header.table.properties +Apply properties to the header layout table + + + + + + fixed + 100% + + + + +Description + +Properties applied to the table that lays out the page header. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/headers.on.blank.pages.xml b/apache-fop/src/test/resources/docbook-xsl/params/headers.on.blank.pages.xml new file mode 100644 index 0000000000..1fad48e3d9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/headers.on.blank.pages.xml @@ -0,0 +1,27 @@ + + +headers.on.blank.pages +boolean + + +headers.on.blank.pages +Put headers on blank pages? + + + + + + + + +Description + +If non-zero, headers will be placed on blank pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/hidetoc.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/hidetoc.image.xml new file mode 100644 index 0000000000..705b61f4af --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/hidetoc.image.xml @@ -0,0 +1,29 @@ + + +hidetoc.image +filename + + +hidetoc.image +Hide ToC image + + + + +hidetoc.gif + + + +Description + +Specifies the filename of the hide ToC image. This is used +when the ToC hide/show parameter is +enabled. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/highlight.default.language.xml b/apache-fop/src/test/resources/docbook-xsl/params/highlight.default.language.xml new file mode 100644 index 0000000000..0f00103f5f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/highlight.default.language.xml @@ -0,0 +1,27 @@ + + +highlight.default.language +string + + +highlight.default.language +Default language of programlisting + + + + + + + + +Description + +This language is used when there is no language attribute on programlisting. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/highlight.source.xml b/apache-fop/src/test/resources/docbook-xsl/params/highlight.source.xml new file mode 100644 index 0000000000..41d7b2f858 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/highlight.source.xml @@ -0,0 +1,82 @@ + + +highlight.source +boolean + + +highlight.source +Should the content of programlisting +be syntactically highlighted? + + + + + + + + +Description + +When this parameter is non-zero, the stylesheets will try to do syntax highlighting of the +content of programlisting elements. You specify the language for each programlisting +by using the language attribute. The highlight.default.language +parameter can be used to specify the language for programlistings without a language +attribute. Syntax highlighting also works for screen and synopsis elements. + +The actual highlighting work is done by the XSLTHL extension module. This is an external Java library that has to be +downloaded separately (see below). + + +In order to use this extension, you must + +add xslthl-2.x.x.jar to your Java classpath. The latest version is available +from the XSLT syntax highlighting project +at SourceForge. + + +use a customization layer in which you import one of the following stylesheet modules: + + + html/highlight.xsl + + + + xhtml/highlight.xsl + + + + xhtml-1_1/highlight.xsl + + + + fo/highlight.xsl + + + + + +let either the xslthl.config Java system property or the +highlight.xslthl.config parameter point to the configuration file for syntax +highlighting (using URL syntax). DocBook XSL comes with a ready-to-use configuration file, +highlighting/xslthl-config.xml. + + + +The extension works with Saxon 6.5.x and Xalan-J. (Saxon 8.5 or later is also supported, but since it is +an XSLT 2.0 processor it is not guaranteed to work with DocBook XSL in all circumstances.) + +The following is an example of a Saxon 6 command adapted for syntax highlighting, to be used on Windows: + + +java -cp c:/Java/saxon.jar;c:/Java/xslthl-2.0.1.jar +-Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml com.icl.saxon.StyleSheet +-o test.html test.xml myhtml.xsl + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/highlight.xslthl.config.xml b/apache-fop/src/test/resources/docbook-xsl/params/highlight.xslthl.config.xml new file mode 100644 index 0000000000..451937ce6c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/highlight.xslthl.config.xml @@ -0,0 +1,33 @@ + + +highlight.xslthl.config +uri + + +highlight.xslthl.config +Location of XSLTHL configuration file + + + + + + + + +Description + +This location has precedence over the corresponding Java property. + +Please note that usually you have to specify location as URL not +just as a simple path on the local +filesystem. E.g. file:///home/user/xslthl/my-xslthl-config.xml. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/home.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/home.image.xml new file mode 100644 index 0000000000..22e5455042 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/home.image.xml @@ -0,0 +1,27 @@ + + +home.image +filename + + +home.image +Home image + + + + +active/nav-home.png + + + +Description + +Specifies the filename of the home navigation icon. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.append.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.append.xml new file mode 100644 index 0000000000..461e61b8e3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.append.xml @@ -0,0 +1,30 @@ + + +html.append +string + + +html.append +Specifies content to append to HTML output + + + + + + +Description + +Specifies content to append to the end of HTML files output by +the html/docbook.xsl stylesheet, after the +closing <html> tag. You probably don’t want to set any +value for this parameter; but if you do, the only value it should ever +be set to is a newline character: &#x0a; or +&#10; + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.base.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.base.xml new file mode 100644 index 0000000000..74e7fd9a38 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.base.xml @@ -0,0 +1,30 @@ + + +html.base +uri + + +html.base +An HTML base URI + + + + + + + +Description + +If html.base is set, it is used for the base element +in the head of the html documents. The parameter specifies +the base URL for all relative URLs in the document. This is useful +for dynamically served html where the base URI needs to be +shifted. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.cellpadding.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.cellpadding.xml new file mode 100644 index 0000000000..7240f0f472 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.cellpadding.xml @@ -0,0 +1,29 @@ + + +html.cellpadding +integer + + +html.cellpadding +Default value for cellpadding in HTML tables + + + + + + + + +Description + +If non-zero, this value will be used as the default cellpadding value +in HTML tables. nn for pixels or nn% for percentage length. E.g. 5 or +5% + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.cellspacing.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.cellspacing.xml new file mode 100644 index 0000000000..5ddfdacd08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.cellspacing.xml @@ -0,0 +1,29 @@ + + +html.cellspacing +integer + + +html.cellspacing +Default value for cellspacing in HTML tables + + + + + + + + +Description + +If non-zero, this value will be used as the default cellspacing +value in HTML tables. nn for pixels or nn% for percentage +length. E.g. 5 or 5% + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.cleanup.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.cleanup.xml new file mode 100644 index 0000000000..e4fc0c8d94 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.cleanup.xml @@ -0,0 +1,34 @@ + + +html.cleanup +boolean + + +html.cleanup +Attempt to clean up the resulting HTML? + + + + + + + + +Description + +If non-zero, and if the EXSLT +extensions are supported by your processor, the resulting HTML will be +cleaned up. This improves the chances that the +resulting HTML will be valid. It may also improve the formatting of +some elements. + +This parameter is different from make.valid.html +because it uses extension functions to manipulate result-tree-fragments. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.ext.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.ext.xml new file mode 100644 index 0000000000..8d6fd9552f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.ext.xml @@ -0,0 +1,29 @@ + + +html.ext +string + + +html.ext +Identifies the extension of generated HTML files + + + + +.html + + + +Description + +The extension identified by html.ext will +be used as the filename extension for chunks created by this +stylesheet. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.extra.head.links.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.extra.head.links.xml new file mode 100644 index 0000000000..ddc666fc8e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.extra.head.links.xml @@ -0,0 +1,31 @@ + + +html.extra.head.links +boolean + + +html.extra.head.links +Toggle extra HTML head link information + + + + + + + + +Description + +If non-zero, extra link elements will be +generated in the head of chunked HTML files. These +extra links point to chapters, appendixes, sections, etc. as supported +by the Site Navigation Bar in Mozilla 1.0 (as of CR1, at least). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.multiple.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.multiple.xml new file mode 100644 index 0000000000..7c0cba1839 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.multiple.xml @@ -0,0 +1,44 @@ + + +html.head.legalnotice.link.multiple +boolean + + +html.head.legalnotice.link.multiple +Generate multiple link instances in html head for legalnotice? + + + + + + + + +Description + +If html.head.legalnotice.link.multiple is +non-zero and the value of +html.head.legalnotice.link.types contains +multiple link types, then the stylesheet generates (in the +head section of the HTML source) one +link element for each link type specified. For +example, if the value of +html.head.legalnotice.link.types is +“copyright licenseâ€: + + <link rel="copyright" href="ln-id2524073.html" title="Legal Notice"> + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + Otherwise, the stylesheet generates generates a single + link instance; for example: + + <link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.types.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.types.xml new file mode 100644 index 0000000000..4ca02ffdab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.head.legalnotice.link.types.xml @@ -0,0 +1,75 @@ + + +html.head.legalnotice.link.types +string + + +html.head.legalnotice.link.types +Specifies link types for legalnotice link in html head + + + + +copyright + + + +Description + +The value of +html.head.legalnotice.link.types is a +space-separated list of link types, as described in Section 6.12 +of the HTML 4.01 specification. If the value of the +generate.legalnotice.link parameter is +non-zero, then the stylesheet generates (in the +head section of the HTML source) either a single +HTML link element or, if the value of the +html.head.legalnotice.link.multiple is +non-zero, one link element for each link type +specified. Each link has the following attributes: + + + + a rel attribute whose + value is derived from the value of + html.head.legalnotice.link.types + + + an href attribute whose + value is set to the URL of the file containing the + legalnotice + + + a title attribute whose + value is set to the title of the corresponding + legalnotice (or a title programatically + determined by the stylesheet) + + + +For example: + + <link rel="license" href="ln-id2524073.html" title="Legal Notice"> + + +About the default value + + In an ideal world, the default value of + html.head.legalnotice.link.types would + probably be “licenseâ€, since the content of the + DocBook legalnotice is typically license + information, not copyright information. However, the default value + is “copyright†for pragmatic reasons: because + that’s among the set of “recognized link types†listed in Section + 6.12 of the HTML 4.01 specification, and because certain + browsers and browser extensions are preconfigured to recognize that + value. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.link.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.link.xml new file mode 100644 index 0000000000..24975630e0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.link.xml @@ -0,0 +1,39 @@ + + +html.longdesc.link +boolean + + +html.longdesc.link +Should a link to the longdesc be included in the HTML? + + + + + + + + +Description + +If non-zero, links will be created to the +HTML files created for the +longdesc attribute. It makes no +sense to enable this option without also enabling the +html.longdesc parameter. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.xml new file mode 100644 index 0000000000..10f341a29b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.longdesc.xml @@ -0,0 +1,28 @@ + + +html.longdesc +boolean + + +html.longdesc +Should longdesc URIs be created? + + + + + + +Description +If non-zero, HTML files will be created for the +longdesc attribute. These files +are created from the textobjects in +mediaobjects and +inlinemediaobject. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.script.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.script.type.xml new file mode 100644 index 0000000000..bf6eb34462 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.script.type.xml @@ -0,0 +1,31 @@ + + +html.script.type +string + + +html.script.type +The type of script used in the generated HTML + + + +text/javascript + + +Description + +The type of script to place in the HTML script element. +Specifically, the value of the script element's type +attribute. +The default value is text/javascript. +This param is used only when the stylesheet parameter +html.script is non-blank and specifies the location of a script. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.script.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.script.xml new file mode 100644 index 0000000000..60dd9edbd2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.script.xml @@ -0,0 +1,36 @@ + + +html.script +string + + +html.script +Name of the script(s) to use in the generated HTML + + + + + + + + +Description + +The html.script parameter is either +empty (default), indicating that no script element should be +generated in the html output, or it is a list of one or more +script locations. + +Multiple script locations are space-delimited. If you need to +reference a script URI that includes a space, encode it with +%20. A separate html script element will +be generated for each script in the order they are listed in the +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.type.xml new file mode 100644 index 0000000000..f20b7065ea --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.type.xml @@ -0,0 +1,26 @@ + + +html.stylesheet.type +string + + +html.stylesheet.type +The type of the stylesheet used in the generated HTML + + + +text/css + + +Description + +The type of the stylesheet to place in the HTML link tag. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.xml b/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.xml new file mode 100644 index 0000000000..3407094712 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/html.stylesheet.xml @@ -0,0 +1,36 @@ + + +html.stylesheet +string + + +html.stylesheet +Name of the stylesheet(s) to use in the generated HTML + + + + + + + + +Description + +The html.stylesheet parameter is either +empty, indicating that no stylesheet link tag should be +generated in the html output, or it is a list of one or more +stylesheet files. + +Multiple stylesheets are space-delimited. If you need to +reference a stylesheet URI that includes a space, encode it with +%20. A separate html link element will +be generated for each stylesheet in the order they are listed in the +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.alias.file.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.alias.file.xml new file mode 100644 index 0000000000..be11b28fcb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.alias.file.xml @@ -0,0 +1,27 @@ + + +htmlhelp.alias.file +string + + +htmlhelp.alias.file +Filename of alias file. + + + + +alias.h + + + +Description + +Specifies the filename of the alias file (used for context-sensitive help). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.autolabel.xml new file mode 100644 index 0000000000..1426d0088b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.autolabel.xml @@ -0,0 +1,28 @@ + + +htmlhelp.autolabel +boolean + + +htmlhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + + + + + +Description + +Set this to non-zero to include chapter and section numbers into ToC +in the left panel. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.back.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.back.xml new file mode 100644 index 0000000000..1fc12bbad4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.back.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.back +boolean + + +htmlhelp.button.back +Should the Back button be shown? + + + + + + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.forward.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.forward.xml new file mode 100644 index 0000000000..f6411bbf58 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.forward.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.forward +boolean + + +htmlhelp.button.forward +Should the Forward button be shown? + + + + + + + + +Description + +Set to non-zero to include the Forward button on the toolbar. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.hideshow.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.hideshow.xml new file mode 100644 index 0000000000..04f1ff0ca5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.hideshow.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.hideshow +boolean + + +htmlhelp.button.hideshow +Should the Hide/Show button be shown? + + + + + + + + +Description + +Set to non-zero to include the Hide/Show button shown on toolbar + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.url.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.url.xml new file mode 100644 index 0000000000..30275071f6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.url.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.home.url +string + + +htmlhelp.button.home.url +URL address of page accessible by Home button + + + + + + + + +Description + +URL address of page accessible by Home button. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.xml new file mode 100644 index 0000000000..e4e97fe281 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.home.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.home +boolean + + +htmlhelp.button.home +Should the Home button be shown? + + + + + + + + +Description + +Set to non-zero to include the Home button on the toolbar. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.title.xml new file mode 100644 index 0000000000..aa9da59972 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.title.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.jump1.title +string + + +htmlhelp.button.jump1.title +Title of Jump1 button + + + + +User1 + + + +Description + +Title of Jump1 button. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.url.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.url.xml new file mode 100644 index 0000000000..22248c4cec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.url.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.jump1.url +string + + +htmlhelp.button.jump1.url +URL address of page accessible by Jump1 button + + + + + + + + +Description + +URL address of page accessible by Jump1 button. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.xml new file mode 100644 index 0000000000..f6f8d9ce7e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump1.xml @@ -0,0 +1,23 @@ + + +htmlhelp.button.jump1 +boolean + + +htmlhelp.button.jump1 +Should the Jump1 button be shown? + + + + + + +Description + Set to non-zero to include the Jump1 button on the toolbar. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.title.xml new file mode 100644 index 0000000000..3b5f124ff6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.title.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.jump2.title +string + + +htmlhelp.button.jump2.title +Title of Jump2 button + + + + +User2 + + + +Description + +Title of Jump2 button. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.url.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.url.xml new file mode 100644 index 0000000000..dcd24341ad --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.url.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.jump2.url +string + + +htmlhelp.button.jump2.url +URL address of page accessible by Jump2 button + + + + + + + + +Description + +URL address of page accessible by Jump2 button. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.xml new file mode 100644 index 0000000000..916b1ee182 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.jump2.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.jump2 +boolean + + +htmlhelp.button.jump2 +Should the Jump2 button be shown? + + + + + + + + +Description + +Set to non-zero to include the Jump2 button on the toolbar. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.locate.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.locate.xml new file mode 100644 index 0000000000..5b55552534 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.locate.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.locate +boolean + + +htmlhelp.button.locate +Should the Locate button be shown? + + + + + + + + +Description + +If you want Locate button shown on toolbar, turn this +parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.next.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.next.xml new file mode 100644 index 0000000000..b5352b2ca2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.next.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.next +boolean + + +htmlhelp.button.next +Should the Next button be shown? + + + + + + + + +Description + +Set to non-zero to include the Next button on the toolbar. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.options.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.options.xml new file mode 100644 index 0000000000..21bed81a6f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.options.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.options +boolean + + +htmlhelp.button.options +Should the Options button be shown? + + + + + + + + +Description + +If you want Options button shown on toolbar, turn this +parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.prev.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.prev.xml new file mode 100644 index 0000000000..a6d989b4b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.prev.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.prev +boolean + + +htmlhelp.button.prev +Should the Prev button be shown? + + + + + + + + +Description + +Set to non-zero to include the Prev button on the toolbar. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.print.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.print.xml new file mode 100644 index 0000000000..1c0e81649c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.print.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.print +boolean + + +htmlhelp.button.print +Should the Print button be shown? + + + + + + + + +Description + +Set to non-zero to include the Print button on the toolbar. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.refresh.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.refresh.xml new file mode 100644 index 0000000000..294fcbe308 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.refresh.xml @@ -0,0 +1,27 @@ + + +htmlhelp.button.refresh +boolean + + +htmlhelp.button.refresh +Should the Refresh button be shown? + + + + + + + + +Description + +Set to non-zero to include the Stop button on the toolbar. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.stop.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.stop.xml new file mode 100644 index 0000000000..fdbe5492a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.stop.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.stop +boolean + + +htmlhelp.button.stop +Should the Stop button be shown? + + + + + + + + +Description + +If you want Stop button shown on toolbar, turn this +parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.zoom.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.zoom.xml new file mode 100644 index 0000000000..a25dc4031b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.button.zoom.xml @@ -0,0 +1,28 @@ + + +htmlhelp.button.zoom +boolean + + +htmlhelp.button.zoom +Should the Zoom button be shown? + + + + + + + + +Description + +Set to non-zero to include the Zoom button on the toolbar. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.chm.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.chm.xml new file mode 100644 index 0000000000..51cba301d3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.chm.xml @@ -0,0 +1,27 @@ + + +htmlhelp.chm +string + + +htmlhelp.chm +Filename of output HTML Help file. + + + + +htmlhelp.chm + + + +Description + +Set the name of resulting CHM file + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.default.topic.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.default.topic.xml new file mode 100644 index 0000000000..577f440929 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.default.topic.xml @@ -0,0 +1,37 @@ + + +htmlhelp.default.topic +string + + +htmlhelp.default.topic +Name of file with default topic + + + + + + + + +Description + +Normally first chunk of document is displayed when you open HTML +Help file. If you want to display another topic, simply set its +filename by this parameter. + +This is useful especially if you don't generate ToC in front of +your document and you also hide root element in ToC. E.g.: + +<xsl:param name="generate.book.toc" select="0"/> +<xsl:param name="htmlhelp.hhc.show.root" select="0"/> +<xsl:param name="htmlhelp.default.topic">pr01.html</xsl:param> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.display.progress.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.display.progress.xml new file mode 100644 index 0000000000..eab1c9668e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.display.progress.xml @@ -0,0 +1,28 @@ + + +htmlhelp.display.progress +boolean + + +htmlhelp.display.progress +Display compile progress? + + + + + + + + +Description + +Set to non-zero to to display compile progress + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.encoding.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.encoding.xml new file mode 100644 index 0000000000..d69392d2e1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.encoding.xml @@ -0,0 +1,29 @@ + + +htmlhelp.encoding +string + + +htmlhelp.encoding +Character encoding to use in files for HTML Help compiler. + + + + +iso-8859-1 + + + +Description + +The HTML Help Compiler is not UTF-8 aware, so you should always use an +appropriate single-byte encoding here. See also Processing options. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enhanced.decompilation.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enhanced.decompilation.xml new file mode 100644 index 0000000000..558e89b082 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enhanced.decompilation.xml @@ -0,0 +1,27 @@ + + +htmlhelp.enhanced.decompilation +boolean + + +htmlhelp.enhanced.decompilation +Allow enhanced decompilation of CHM? + + + + + + + + +Description + +When non-zero this parameter enables enhanced decompilation of CHM. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enumerate.images.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enumerate.images.xml new file mode 100644 index 0000000000..a2aaac8625 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.enumerate.images.xml @@ -0,0 +1,28 @@ + + +htmlhelp.enumerate.images +boolean + + +htmlhelp.enumerate.images +Should the paths to all used images be added to the project file? + + + + + + + + +Description + +Set to non-zero if you insert images into your documents as +external binary entities or if you are using absolute image paths. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.force.map.and.alias.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.force.map.and.alias.xml new file mode 100644 index 0000000000..7dca30b6d8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.force.map.and.alias.xml @@ -0,0 +1,26 @@ + + +htmlhelp.force.map.and.alias +boolean + + +htmlhelp.force.map.and.alias +Should [MAP] and [ALIAS] sections be added to the project file unconditionally? + + + + + + +Description + Set to non-zero if you have your own + alias.h and context.h + files and you want to include references to them in the project + file. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.binary.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.binary.xml new file mode 100644 index 0000000000..ea978f7e8c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.binary.xml @@ -0,0 +1,29 @@ + + +htmlhelp.hhc.binary +boolean + + +htmlhelp.hhc.binary +Generate binary ToC? + + + + + + + + +Description + +Set to non-zero to generate a binary TOC. You must create a binary TOC +if you want to add Prev/Next buttons to toolbar (which is default +behaviour). Files with binary TOC can't be merged. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.folders.instead.books.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.folders.instead.books.xml new file mode 100644 index 0000000000..ca36e5ad45 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.folders.instead.books.xml @@ -0,0 +1,31 @@ + + +htmlhelp.hhc.folders.instead.books +boolean + + +htmlhelp.hhc.folders.instead.books +Use folder icons in ToC (instead of book icons)? + + + + + + + + +Description + +Set to non-zero for folder-like icons or zero for book-like icons in the ToC. +If you want to use folder-like icons, you must switch off the binary ToC using +htmlhelp.hhc.binary. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.section.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.section.depth.xml new file mode 100644 index 0000000000..35c492af0c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.section.depth.xml @@ -0,0 +1,27 @@ + + +htmlhelp.hhc.section.depth +integer + + +htmlhelp.hhc.section.depth +Depth of TOC for sections in a left pane. + + + + +5 + + + +Description + +Set the section depth in the left pane of HTML Help viewer. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.show.root.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.show.root.xml new file mode 100644 index 0000000000..0de26b9ff7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.show.root.xml @@ -0,0 +1,29 @@ + + +htmlhelp.hhc.show.root +boolean + + +htmlhelp.hhc.show.root +Should there be an entry for the root element in the ToC? + + + + + + + + +Description + +If set to zero, there will be no entry for the root element in the +ToC. This is useful when you want to provide the user with an expanded +ToC as a default. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.width.xml new file mode 100644 index 0000000000..4011399b3f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.width.xml @@ -0,0 +1,28 @@ + + +htmlhelp.hhc.width +integer + + +htmlhelp.hhc.width +Width of navigation pane + + + + + + + + +Description + +This parameter specifies the width of the navigation pane (containing TOC and +other navigation tabs) in pixels. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.xml new file mode 100644 index 0000000000..475ef2050b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhc.xml @@ -0,0 +1,27 @@ + + +htmlhelp.hhc +string + + +htmlhelp.hhc +Filename of TOC file. + + + + +toc.hhc + + + +Description + +Set the name of the TOC file. The default is toc.hhc. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhk.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhk.xml new file mode 100644 index 0000000000..aee473e429 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhk.xml @@ -0,0 +1,27 @@ + + +htmlhelp.hhk +string + + +htmlhelp.hhk +Filename of index file. + + + + +index.hhk + + + +Description + +set the name of the index file. The default is index.hhk. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.tail.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.tail.xml new file mode 100644 index 0000000000..c239b9afbb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.tail.xml @@ -0,0 +1,28 @@ + + +htmlhelp.hhp.tail +string + + +htmlhelp.hhp.tail +Additional content for project file. + + + + + + + + +Description + +If you want to include some additional parameters into project file, +store appropriate part of project file into this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.window.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.window.xml new file mode 100644 index 0000000000..6c29eeda9f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.window.xml @@ -0,0 +1,28 @@ + + +htmlhelp.hhp.window +string + + +htmlhelp.hhp.window +Name of default window. + + + + +Main + + + +Description + +Name of default window. If empty no [WINDOWS] section will be +added to project file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.windows.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.windows.xml new file mode 100644 index 0000000000..afd435f5cf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.windows.xml @@ -0,0 +1,29 @@ + + +htmlhelp.hhp.windows +string + + +htmlhelp.hhp.windows +Definition of additional windows + + + + + + + + +Description + +Content of this parameter is placed at the end of [WINDOWS] +section of project file. You can use it for defining your own +addtional windows. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.xml new file mode 100644 index 0000000000..74954d724d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.hhp.xml @@ -0,0 +1,28 @@ + + +htmlhelp.hhp +string + + +htmlhelp.hhp +Filename of project file. + + + + +htmlhelp.hhp + + + +Description + +Change this parameter if you want different name of project +file than htmlhelp.hhp. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.map.file.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.map.file.xml new file mode 100644 index 0000000000..b47c56520d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.map.file.xml @@ -0,0 +1,25 @@ + + +htmlhelp.map.file +string + + +htmlhelp.map.file +Filename of map file. + + + +context.h + + +Description +Set the name of map file. The default is + context.h. (used for context-sensitive + help). + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.only.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.only.xml new file mode 100644 index 0000000000..f10dbf5857 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.only.xml @@ -0,0 +1,32 @@ + + +htmlhelp.only +boolean + + +htmlhelp.only +Should only project files be generated? + + + + + + + + +Description + + +Set to non-zero if you want to play with various HTML Help parameters +and you don't need to regenerate all HTML files. This setting will not +process whole document, only project files (hhp, hhc, hhk,...) will be +generated. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.remember.window.position.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.remember.window.position.xml new file mode 100644 index 0000000000..3aaea1f70e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.remember.window.position.xml @@ -0,0 +1,27 @@ + + +htmlhelp.remember.window.position +boolean + + +htmlhelp.remember.window.position +Remember help window position? + + + + + + + + +Description + +Set to non-zero to remember help window position between starts. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.advanced.search.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.advanced.search.xml new file mode 100644 index 0000000000..3aa09a6589 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.advanced.search.xml @@ -0,0 +1,28 @@ + + +htmlhelp.show.advanced.search +boolean + + +htmlhelp.show.advanced.search +Should advanced search features be available? + + + + + + + + +Description + +If you want advanced search features in your help, turn this +parameter to 1. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.favorities.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.favorities.xml new file mode 100644 index 0000000000..925bbb1fe6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.favorities.xml @@ -0,0 +1,28 @@ + + +htmlhelp.show.favorities +boolean + + +htmlhelp.show.favorities +Should the Favorites tab be shown? + + + + + + + + +Description + +Set to non-zero to include a Favorites tab in the navigation pane +of the help window. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.menu.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.menu.xml new file mode 100644 index 0000000000..b3d6285cf4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.menu.xml @@ -0,0 +1,28 @@ + + +htmlhelp.show.menu +boolean + + +htmlhelp.show.menu +Should the menu bar be shown? + + + + + + + + +Description + +Set to non-zero to have an application menu bar in your HTML Help window. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.toolbar.text.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.toolbar.text.xml new file mode 100644 index 0000000000..fc87d9c297 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.show.toolbar.text.xml @@ -0,0 +1,28 @@ + + +htmlhelp.show.toolbar.text +boolean + + +htmlhelp.show.toolbar.text +Show text under toolbar buttons? + + + + + + + + +Description + +Set to non-zero to display texts under toolbar buttons, zero to switch +off displays. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.title.xml new file mode 100644 index 0000000000..f4397cab16 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.title.xml @@ -0,0 +1,28 @@ + + +htmlhelp.title +string + + +htmlhelp.title +Title of HTML Help + + + + + + + + +Description + +Content of this parameter will be used as a title for generated +HTML Help. If empty, title will be automatically taken from document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.use.hhk.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.use.hhk.xml new file mode 100644 index 0000000000..720c1e2540 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.use.hhk.xml @@ -0,0 +1,28 @@ + + +htmlhelp.use.hhk +boolean + + +htmlhelp.use.hhk +Should the index be built using the HHK file? + + + + + + + + +Description + +If non-zero, the index is created using the HHK file (instead of using object +elements in the HTML files). For more information, see Generating an index. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.window.geometry.xml b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.window.geometry.xml new file mode 100644 index 0000000000..0ec75f744e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/htmlhelp.window.geometry.xml @@ -0,0 +1,30 @@ + + +htmlhelp.window.geometry +string + + +htmlhelp.window.geometry +Set initial geometry of help window + + + + + + + + +Description + +This parameter specifies initial position of help +window. E.g. + +<xsl:param name="htmlhelp.window.geometry">[160,64,992,704]</xsl:param> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.characters.xml b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.characters.xml new file mode 100644 index 0000000000..e6cae20965 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.characters.xml @@ -0,0 +1,30 @@ + + +hyphenate.verbatim.characters +string + + +hyphenate.verbatim.characters +List of characters after which a line break can occur in listings + + + + + + + + +Description + +If you enable hyphenate.verbatim line +breaks are allowed only on space characters. If this is not enough for +your document, you can specify list of additional characters after +which line break is allowed in this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.xml b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.xml new file mode 100644 index 0000000000..c66e700cf1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.verbatim.xml @@ -0,0 +1,45 @@ + + +hyphenate.verbatim +boolean + + +hyphenate.verbatim +Should verbatim environments be hyphenated on space characters? + + + + + + +Description + +If the lines of program listing are too long to fit into one +line it is quite common to split them at space and indicite by hook +arrow that code continues on the next line. You can turn on this +behaviour for programlisting, +screen and synopsis elements by +using this parameter. + +Note that you must also enable line wrapping for verbatim environments and +select appropriate hyphenation character (e.g. hook arrow). This can +be done using monospace.verbatim.properties +attribute set: + +<xsl:attribute-set name="monospace.verbatim.properties" + use-attribute-sets="verbatim.properties monospace.properties"> + <xsl:attribute name="wrap-option">wrap</xsl:attribute> + <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute> +</xsl:attribute-set> + +For a list of arrows available in Unicode see http://www.unicode.org/charts/PDF/U2190.pdf and http://www.unicode.org/charts/PDF/U2900.pdf and make sure that +selected character is available in the font you are using for verbatim +environments. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.xml b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.xml new file mode 100644 index 0000000000..aa6e129f4b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/hyphenate.xml @@ -0,0 +1,29 @@ + + +hyphenate +list +closed +true +false + + +hyphenate +Specify hyphenation behavior + + + +true + + +Description + +If true, words may be hyphenated. Otherwise, they may not. +See also ulink.hyphenate.chars + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/id.warnings.xml b/apache-fop/src/test/resources/docbook-xsl/params/id.warnings.xml new file mode 100644 index 0000000000..7b2716fdcf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/id.warnings.xml @@ -0,0 +1,25 @@ + + +id.warnings +boolean + + +id.warnings +Should warnings be generated for titled elements without IDs? + + + + + + +Description +If non-zero, the stylesheet will issue a warning for any element +(other than the root element) which has a title but does not have an +ID. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ignore.image.scaling.xml b/apache-fop/src/test/resources/docbook-xsl/params/ignore.image.scaling.xml new file mode 100644 index 0000000000..c35d178236 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ignore.image.scaling.xml @@ -0,0 +1,28 @@ + + +ignore.image.scaling +boolean + + +ignore.image.scaling +Tell the stylesheets to ignore the author's image scaling attributes + + + + + + + + +Description + +If non-zero, the scaling attributes on graphics and media objects are +ignored. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/img.src.path.xml b/apache-fop/src/test/resources/docbook-xsl/params/img.src.path.xml new file mode 100644 index 0000000000..d295019b09 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/img.src.path.xml @@ -0,0 +1,40 @@ + + +img.src.path +string + + +img.src.path +Path to HTML/FO image files + + + + + + +Description + +Add a path prefix to the value of the fileref +attribute of graphic, inlinegraphic, and imagedata elements. The resulting +compound path is used in the output as the value of the src +attribute of img (HTML) or external-graphic (FO). + + + +The path given by img.src.path could be relative to the directory where the HTML/FO +files are created, or it could be an absolute URI. +The default value is empty. +Be sure to include a trailing slash if needed. + + +This prefix is not applied to any filerefs that start +with "/" or contain "//:". + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.div.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.div.title.properties.xml new file mode 100644 index 0000000000..edbec2f2e7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.div.title.properties.xml @@ -0,0 +1,39 @@ + + +index.div.title.properties +attribute set + + +index.div.title.properties +Properties associated with the letter headings in an +index + + + + + + 0pt + 14.4pt + + bold + always + + + + 0pt + + + + +Description + +This attribute set is used on the letter headings that separate +the divisions in an index. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.entry.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.entry.properties.xml new file mode 100644 index 0000000000..323235833c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.entry.properties.xml @@ -0,0 +1,33 @@ + + +index.entry.properties +attribute set + + +index.entry.properties +Properties applied to the formatted entries +in an index + + + + + + 0pt + + + + +Description + +This attribute set is applied to the block containing +the entries in a letter division in an index. It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all index entries. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.links.to.section.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.links.to.section.xml new file mode 100644 index 0000000000..47c0da5bb9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.links.to.section.xml @@ -0,0 +1,76 @@ + + +index.links.to.section +boolean + + +index.links.to.section +HTML index entries link to container section title + + + + + + + + +Description + +If zero, then an index entry in an index links +directly to the location of the +generated anchor that is output +for the indexterm. If two identical indexterm elements +exist in the same section, then both entries appear +in the index with the same title but link to different +locations. + +If non-zero, then an index entry in an index links to the +section title containing the indexterm, rather than +directly to the anchor output for the indexterm. +Duplicate indexterm entries in the same section are dropped. + + +The default value is 1, so index entries link to +section titles by default. + +In both cases, the link text in an index entry is the +title of the section containing the indexterm. +That is because HTML does not have numbered pages. +It also provides the reader with context information +for each link. + +This parameter lets you choose which style of +index linking you want. + + + +When set to 0, an index entry takes you +to the precise location of its corresponding indexterm. +However, if you have a lot of duplicate +entries in sections, then you have a lot of duplicate +titles in the index, which makes it more cluttered. +The reader may not recognize why duplicate titles +appear until they follow the links. Also, the links +may land the reader in the middle of a section where the +section title is not visible, which may also be +confusing to the reader. + + +When set to 1, an index entry link is +less precise, but duplicate titles in the +index entries are eliminated. +Landing on the section title location may confirm the reader's +expectation that a link that +shows a section title will take them to that section title, +not a location within the section. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.method.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.method.xml new file mode 100644 index 0000000000..21279565d8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.method.xml @@ -0,0 +1,162 @@ + + +index.method +list +basic +kosek +kimber + + +index.method +Select method used to group index entries in an index + + + + +basic + + + +Description + +This parameter lets you select which method to use for sorting and grouping + index entries in an index. +Indexes in Latin-based languages that have accented characters typically +sort together accented words and unaccented words. +Thus à (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together +with A (U+0041 LATIN CAPITAL LETTER A), so both would appear in the A +section of the index. +Languages using other alphabets (such as Russian, which is written in the Cyrillic alphabet) +and languages using ideographic chararacters (such as Japanese) +require grouping specific to the languages and alphabets. + + +The default indexing method is limited. +It can group accented characters in Latin-based languages only. +It cannot handle non-Latin alphabets or ideographic languages. +The other indexing methods require extensions of one type or +another, and do not work with +all XSLT processors, which is why they are not used by default. + +The three choices for indexing method are: + + +basic + + +(default) Sort and groups words based only on the Latin alphabet. +Words with accented Latin letters will group and sort with +their respective primary letter, but +words in non-Latin alphabets will be +put in the Symbols section of the index. + + + + +kosek + + +This method sorts and groups words based on letter groups configured in +the DocBook locale file for the given language. +See, for example, the French locale file common/fr.xml. +This method requires that the XSLT processor +supports the EXSLT extensions (most do). +It also requires support for using +user-defined functions in xsl:key (xsltproc does not). + +This method is suitable for any language for which you can +list all the individual characters that should appear +in each letter group in an index. +It is probably not practical to use it for ideographic languages +such as Chinese that have hundreds or thousands of characters. + + +To use the kosek method, you must: + + + +Use a processor that supports its extensions, such as +Saxon 6 or Xalan (xsltproc and Saxon 8 do not). + + + +Set the index.method parameter's value to kosek. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kosek.xsl or +html/autoidx-kosek.xsl into your +customization. + + + + + + + +kimber + + +This method uses extensions to the Saxon processor to implement +sophisticated indexing processes. It uses its own +configuration file, which can include information for any number of +languages. Each language's configuration can group +words using one of two processes. In the +enumerated process similar to that used in the kosek method, +you indicate the groupings character-by-character. +In the between-key process, you specify the +break-points in the sort order that should start a new group. +The latter configuration is useful for ideographic languages +such as Chinese, Japanese, and Korean. +You can also define your own collation algorithms and how you +want mixed Latin-alphabet words sorted. + + +For a whitepaper describing the extensions, see: +http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf. + + + +To download the extension library, see +http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport. + + + + +To use the kimber method, you must: + + + +Use Saxon (version 6 or 8) as your XSLT processor. + + + +Install and configure the Innodata Isogen library, using +the documentation that comes with it. + + + +Set the index.method parameter's value to kimber. + + + +Import the appropriate index extensions stylesheet module +fo/autoidx-kimber.xsl or +html/autoidx-kimber.xsl into your +customization. + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.number.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.number.separator.xml new file mode 100644 index 0000000000..8f5151234b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.number.separator.xml @@ -0,0 +1,54 @@ + + +index.number.separator +string + + +index.number.separator +Override for punctuation separating page numbers in index + + + + + + + + +Description + +This parameter permits you to override the text to insert between +page references in a formatted index entry. Typically +that would be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'number-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. This punctuation appears between +such section titles in an HTML index. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.on.role.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.on.role.xml new file mode 100644 index 0000000000..81d65ddba8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.on.role.xml @@ -0,0 +1,48 @@ + + +index.on.role +boolean + + +index.on.role +Select indexterms based on role value + + + + + + + + +Description + + +If non-zero, +then an index element that has a +role attribute +value will contain only those indexterm +elements with a matching role value. +If an index has no role +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + +If index.on.role is zero, then the +role attribute has no effect +on selecting indexterms for an index. + + +If you are using DocBook version 4.3 or later, you should +use the type attribute instead of role +on indexterm and index, +and set the index.on.type to a nonzero +value. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.on.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.on.type.xml new file mode 100644 index 0000000000..a5189c7b13 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.on.type.xml @@ -0,0 +1,52 @@ + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + + + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.page.number.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.page.number.properties.xml new file mode 100644 index 0000000000..74d105a781 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.page.number.properties.xml @@ -0,0 +1,31 @@ + + +index.page.number.properties +attribute set + + +index.page.number.properties +Properties associated with index page numbers + + + + + + + + + +Description + +Properties associated with page numbers in indexes. +Changing color to indicate the page number is a link is +one possibility. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.prefer.titleabbrev.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.prefer.titleabbrev.xml new file mode 100644 index 0000000000..3f010ae8dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.prefer.titleabbrev.xml @@ -0,0 +1,29 @@ + + +index.prefer.titleabbrev +boolean + + +index.prefer.titleabbrev +Should abbreviated titles be used as back references? + + + + + + + + +Description + +If non-zero, and if a titleabbrev is defined, the abbreviated title +is used as the link text of a back reference in the index. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.preferred.page.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.preferred.page.properties.xml new file mode 100644 index 0000000000..1b7a26fff4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.preferred.page.properties.xml @@ -0,0 +1,32 @@ + + +index.preferred.page.properties +attribute set + + +index.preferred.page.properties +Properties used to emphasize page number references for +significant index terms + + + + + + bold + + + + +Description + +Properties used to emphasize page number references for +significant index terms (significance=preferred). Currently works only with +XEP. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.range.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.range.separator.xml new file mode 100644 index 0000000000..aff09a93b7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.range.separator.xml @@ -0,0 +1,57 @@ + + +index.range.separator +string + + +index.range.separator +Override for punctuation separating the two numbers +in a page range in index + + + + + + + + +Description + +This parameter permits you +to override the text to insert between +the two numbers of a page range in an index. +This parameter is only used by those XSL-FO processors +that support an extension for generating such page ranges +(such as XEP). + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'range-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +override the gentext with the content of this parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. + + +In HTML index output, section title references are used instead of +page number references. So there are no page ranges +and this parameter has no effect. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/index.term.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/index.term.separator.xml new file mode 100644 index 0000000000..ab2f672c94 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/index.term.separator.xml @@ -0,0 +1,54 @@ + + +index.term.separator +string + + +index.term.separator +Override for punctuation separating an index term +from its list of page references in an index + + + + + + + + +Description + +This parameter permits you to override +the text to insert between +the end of an index term and its list of page references. +Typically that might be a comma and a space. + + +Because this text may be locale dependent, +this parameter's value is normally taken from a gentext +template named 'term-separator' in the +context 'index' in the stylesheet +locale file for the language +of the current document. +This parameter can be used to override the gentext string, +and would typically be used on the command line. +This parameter would apply to all languages. + + +So this text string can be customized in two ways. +You can reset the default gentext string using +the local.l10n.xml parameter, or you can +fill in the content for this normally empty +override parameter. +The content can be a simple string, or it can be +something more complex such as a call-template. +For fo output, it could be an fo:leader +element to provide space of a specific length, or a dot leader. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/informal.object.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/informal.object.properties.xml new file mode 100644 index 0000000000..e89cc11780 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/informal.object.properties.xml @@ -0,0 +1,29 @@ + + +informal.object.properties +attribute set + + +informal.object.properties +Properties associated with an informal (untitled) object, such as an informalfigure + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + + +Description +The styling for informal objects in docbook. Specify the spacing before and after the object. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/informalequation.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/informalequation.properties.xml new file mode 100644 index 0000000000..88a57bec5a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/informalequation.properties.xml @@ -0,0 +1,27 @@ + + +informalequation.properties +attribute set + + +informalequation.properties +Properties associated with an informalequation + + + + + + + + +Description + +The styling for informalequations. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/informalexample.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/informalexample.properties.xml new file mode 100644 index 0000000000..90ffb2c787 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/informalexample.properties.xml @@ -0,0 +1,27 @@ + + +informalexample.properties +attribute set + + +informalexample.properties +Properties associated with an informalexample + + + + + + + + +Description + +The styling for informalexamples. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/informalfigure.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/informalfigure.properties.xml new file mode 100644 index 0000000000..c7662483c6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/informalfigure.properties.xml @@ -0,0 +1,27 @@ + + +informalfigure.properties +attribute set + + +informalfigure.properties +Properties associated with an informalfigure + + + + + + + + +Description + +The styling for informalfigures. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/informaltable.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/informaltable.properties.xml new file mode 100644 index 0000000000..c9688836fa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/informaltable.properties.xml @@ -0,0 +1,32 @@ + + +informaltable.properties +attribute set + + +informaltable.properties +Properties associated with the block surrounding an informaltable + + + + + + + + +Description + +Block styling properties for informaltables. This parameter should really +have been called informaltable.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/inherit.keywords.xml b/apache-fop/src/test/resources/docbook-xsl/params/inherit.keywords.xml new file mode 100644 index 0000000000..7939a6a3a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/inherit.keywords.xml @@ -0,0 +1,31 @@ + + +inherit.keywords +boolean + + +inherit.keywords +Inherit keywords from ancestor elements? + + + + + + + +Description + +If inherit.keywords +is non-zero, the keyword meta for each HTML +head element will include all of the keywords from +ancestor elements. Otherwise, only the keywords from the current section +will be used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/inner.region.content.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/inner.region.content.properties.xml new file mode 100644 index 0000000000..72d932255b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/inner.region.content.properties.xml @@ -0,0 +1,48 @@ + + +inner.region.content.properties +attribute set + + +inner.region.content.properties +Properties of running inner side content + + + + + + + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the inner side (binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +region.inner.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/insert.link.page.number.xml b/apache-fop/src/test/resources/docbook-xsl/params/insert.link.page.number.xml new file mode 100644 index 0000000000..b26c0f6afd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/insert.link.page.number.xml @@ -0,0 +1,69 @@ + + +insert.link.page.number +list +no +yes +maybe + + +insert.link.page.number +Turns page numbers in link elements on and off + + + + +no + + + +Description + +The value of this parameter determines if +cross references using the link element in +printed output will +include standard page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all link elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for a link element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + +Although the xrefstyle attribute +can be used to turn the page reference on or off, it cannot be +used to control the formatting of the page number as it +can in xref. +In link it will always format with +the style established by the +gentext template with name="page.citation" +in the l:context name="xref". + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.page.number.xml b/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.page.number.xml new file mode 100644 index 0000000000..dc6da3d06b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.page.number.xml @@ -0,0 +1,83 @@ + + +insert.olink.page.number +list +no +yes +maybe + + +insert.olink.page.number +Turns page numbers in olinks on and off + + + + +no + + + +Description + +The value of this parameter determines if +cross references made between documents with +olink will +include page number citations. +In most cases this is only applicable to references in printed output. + +The parameter has three possible values. + + + +no +No page number references will be generated for olinks. + + + +yes +Page number references will be generated +for all olink references. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an olink element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + +Olinks that point to targets within the same document +are treated as xrefs, and controlled by +the insert.xref.page.number parameter. + + +Page number references for olinks to +external documents can only be inserted if the +information exists in the olink database. +This means each olink target element +(div or obj) +must have a page attribute +whose value is its page number in the target document. +The XSL stylesheets are not able to extract that information +during processing because pages have not yet been created in +XSLT transformation. Only the XSL-FO processor knows what +page each element is placed on. +Therefore some postprocessing must take place to populate +page numbers in the olink database. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.pdf.frag.xml b/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.pdf.frag.xml new file mode 100644 index 0000000000..e937060536 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/insert.olink.pdf.frag.xml @@ -0,0 +1,68 @@ + + +insert.olink.pdf.frag +boolean + + +insert.olink.pdf.frag +Add fragment identifiers for links into PDF files + + + + + + + + +Description + +The value of this parameter determines whether +the cross reference URIs to PDF documents made with +olink will +include fragment identifiers. + + +When forming a URI to link to a PDF document, +a fragment identifier (typically a '#' followed by an +id value) appended to the PDF filename can be used by +the PDF viewer to open +the PDF file to a location within the document instead of +the first page. +However, not all PDF files have id +values embedded in them, and not all PDF viewers can +handle fragment identifiers. + + +If insert.olink.pdf.frag is set +to a non-zero value, then any olink targeting a +PDF file will have the fragment identifier appended to the URI. +The URI is formed by concatenating the value of the +olink.base.uri parameter, the +value of the baseuri +attribute from the document +element in the olink database with the matching +targetdoc value, +and the value of the href +attribute for the targeted element in the olink database. +The href attribute +contains the fragment identifier. + + +If insert.olink.pdf.frag is set +to zero (the default value), then +the href attribute +from the olink database +is not appended to PDF olinks, so the fragment identifier is left off. +A PDF olink is any olink for which the +baseuri attribute +from the matching document +element in the olink database ends with '.pdf'. +Any other olinks will still have the fragment identifier added. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/insert.xref.page.number.xml b/apache-fop/src/test/resources/docbook-xsl/params/insert.xref.page.number.xml new file mode 100644 index 0000000000..8c3aa07286 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/insert.xref.page.number.xml @@ -0,0 +1,60 @@ + + +insert.xref.page.number +list +no +yes +maybe + + +insert.xref.page.number +Turns page numbers in xrefs on and off + + + + +no + + + +Description + +The value of this parameter determines if +cross references (xrefs) in +printed output will +include page number citations. +It has three possible values. + + + +no +No page number references will be generated. + + + +yes +Page number references will be generated +for all xref elements. +The style of page reference may be changed +if an xrefstyle +attribute is used. + + + +maybe +Page number references will not be generated +for an xref element unless +it has an +xrefstyle +attribute whose value specifies a page reference. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.properties.xml new file mode 100644 index 0000000000..49f8ee649f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.properties.xml @@ -0,0 +1,26 @@ + + +itemizedlist.label.properties +attribute set + + +itemizedlist.label.properties +Properties that apply to each label inside itemized list. + + + + + + +Description +Properties that apply to each label inside itemized list. E.g.: +<xsl:attribute-set name="itemizedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.width.xml new file mode 100644 index 0000000000..1d2c88c8dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.label.width.xml @@ -0,0 +1,28 @@ + + +itemizedlist.label.width +length + + + itemizedlist.label.width +The default width of the label (bullet) in an itemized list. + + + + + 1.0em + + + +Description +Specifies the default width of the label (usually a bullet or other +symbol) in an itemized list. You can override the default value on any +particular list with the “dbfo†processing instruction using the +“label-width†pseudoattribute. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.properties.xml new file mode 100644 index 0000000000..d7c7c1d273 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/itemizedlist.properties.xml @@ -0,0 +1,23 @@ + + +itemizedlist.properties +attribute set + + +itemizedlist.properties +Properties that apply to each list-block generated by itemizedlist. + + + + + + +Description +Properties that apply to each fo:list-block generated by itemizedlist. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/javahelp.encoding.xml b/apache-fop/src/test/resources/docbook-xsl/params/javahelp.encoding.xml new file mode 100644 index 0000000000..ba729c8cb0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/javahelp.encoding.xml @@ -0,0 +1,31 @@ + + +javahelp.encoding +string + + +javahelp.encoding +Character encoding to use in control files for JavaHelp. + + + + +iso-8859-1 + + + +Description + +JavaHelp crashes on some characters when written as character +references. In that case you can use this parameter to select an appropriate encoding. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/keep.relative.image.uris.xml b/apache-fop/src/test/resources/docbook-xsl/params/keep.relative.image.uris.xml new file mode 100644 index 0000000000..3a5a098d7b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/keep.relative.image.uris.xml @@ -0,0 +1,34 @@ + + +keep.relative.image.uris +boolean + + +keep.relative.image.uris +Should image URIs be resolved against xml:base? + + + + + + + + + +Description + +If non-zero, relative URIs (in, for example +fileref attributes) will be used in the generated +output. Otherwise, the URIs will be made absolute with respect to the +base URI. + +Note that the stylesheets calculate (and use) the absolute form +for some purposes, this only applies to the resulting output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/keyboard.nav.xml b/apache-fop/src/test/resources/docbook-xsl/params/keyboard.nav.xml new file mode 100644 index 0000000000..49b0c0b597 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/keyboard.nav.xml @@ -0,0 +1,29 @@ + + +keyboard.nav +boolean + + +keyboard.nav +Enable keyboard navigation? + + + + + + + + +Description + +If non-zero, JavaScript is added to the slides to enable keyboard +navigation. Pressing 'n', space, or return moves forward; pressing 'p' moves +backward. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.default.language.xml b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.default.language.xml new file mode 100644 index 0000000000..ed89e069a0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.default.language.xml @@ -0,0 +1,30 @@ + + + l10n.gentext.default.language + string + + + l10n.gentext.default.language + Sets the default language for generated text + + + + +en + + + +Description + +The value of the l10n.gentext.default.language +parameter is used as the language for generated text if no setting is provided +in the source document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.language.xml b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.language.xml new file mode 100644 index 0000000000..ff941c7c7c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.language.xml @@ -0,0 +1,33 @@ + + +l10n.gentext.language +string + + +l10n.gentext.language +Sets the gentext language + + + + + + + + +Description + +If this parameter is set to any value other than the empty string, its +value will be used as the value for the language when generating text. Setting +l10n.gentext.language overrides any settings within the +document being formatted. + +It's much more likely that you might want to set the +l10n.gentext.default.language parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.use.xref.language.xml b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.use.xref.language.xml new file mode 100644 index 0000000000..d70017afbf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/l10n.gentext.use.xref.language.xml @@ -0,0 +1,53 @@ + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + + + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
    +See also Kapital 3. +
    + +Where the more traditional rendering would be: + +
    +See also Chapter 3. +
    + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/params/l10n.lang.value.rfc.compliant.xml b/apache-fop/src/test/resources/docbook-xsl/params/l10n.lang.value.rfc.compliant.xml new file mode 100644 index 0000000000..e0dbd79531 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/l10n.lang.value.rfc.compliant.xml @@ -0,0 +1,57 @@ + + +l10n.lang.value.rfc.compliant +boolean + + +l10n.lang.value.rfc.compliant +Make value of lang attribute RFC compliant? + + + + + + + + +Description + +If non-zero, ensure that the values for all lang attributes in HTML output are RFC +compliantSection 8.1.1, Language Codes, in the HTML 4.0 Recommendation states that: + +
    [RFC1766] defines and explains the language codes +that must be used in HTML documents. +Briefly, language codes consist of a primary code and a possibly +empty series of subcodes: + +language-code = primary-code ( "-" subcode )* + +And in RFC 1766, Tags for the Identification +of Languages, the EBNF for "language tag" is given as: + +Language-Tag = Primary-tag *( "-" Subtag ) +Primary-tag = 1*8ALPHA +Subtag = 1*8ALPHA + +
    +
    . + +by taking any underscore characters in any lang values found in source documents, and +replacing them with hyphen characters in output HTML files. For +example, zh_CN in a source document becomes +zh-CN in the HTML output form that source. + + +This parameter does not cause any case change in lang values, because RFC 1766 +explicitly states that all "language tags" (as it calls them) "are +to be treated as case insensitive". + +
    + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/params/label.from.part.xml b/apache-fop/src/test/resources/docbook-xsl/params/label.from.part.xml new file mode 100644 index 0000000000..5deb960305 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/label.from.part.xml @@ -0,0 +1,38 @@ + + +label.from.part +boolean + + +label.from.part +Renumber components in each part? + + + + + + + + +Description + +If label.from.part is non-zero, then + numbering of components — preface, + chapter, appendix, and + reference (when reference occurs at the + component level) — is re-started within each + part. +If label.from.part is zero (the + default), numbering of components is not + re-started within each part; instead, components are + numbered sequentially throughout each book, + regardless of whether or not they occur within part + instances. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/line-height.xml b/apache-fop/src/test/resources/docbook-xsl/params/line-height.xml new file mode 100644 index 0000000000..f0f4b3246c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/line-height.xml @@ -0,0 +1,27 @@ + + +line-height +string + + +line-height +Specify the line-height property + + + + +normal + + + +Description + +Sets the line-height property. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.everyNth.xml b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.everyNth.xml new file mode 100644 index 0000000000..0abdf8e540 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.everyNth.xml @@ -0,0 +1,33 @@ + + +linenumbering.everyNth +integer + + +linenumbering.everyNth +Indicate which lines should be numbered + + + + +5 + + + +Description + +If line numbering is enabled, everyNth line will be +numbered. Note that numbering is one based, not zero based. + +See also linenumbering.extension, +linenumbering.separator, +linenumbering.width and +use.extensions + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.extension.xml new file mode 100644 index 0000000000..726781aee0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.extension.xml @@ -0,0 +1,30 @@ + + +linenumbering.extension +boolean + + +linenumbering.extension +Enable the line numbering extension + + + + + + + + +Description + +If non-zero, verbatim environments (address, literallayout, +programlisting, screen, synopsis) that specify line numbering will +have line numbers. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.separator.xml new file mode 100644 index 0000000000..8bf7d22137 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.separator.xml @@ -0,0 +1,30 @@ + + +linenumbering.separator +string + + +linenumbering.separator +Specify a separator between line numbers and lines + + + + + + + + +Description + +The separator is inserted between line numbers and lines in the +verbatim environment. The default value is a single white space. + Note the interaction with linenumbering.width + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.width.xml new file mode 100644 index 0000000000..78515c3ee6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/linenumbering.width.xml @@ -0,0 +1,29 @@ + + +linenumbering.width +integer + + +linenumbering.width +Indicates the width of line numbers + + + + +3 + + + +Description + +If line numbering is enabled, line numbers will appear right +justified in a field "width" characters wide. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/link.mailto.url.xml b/apache-fop/src/test/resources/docbook-xsl/params/link.mailto.url.xml new file mode 100644 index 0000000000..0715b32fc1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/link.mailto.url.xml @@ -0,0 +1,29 @@ + + +link.mailto.url +string + + +link.mailto.url +Mailto URL for the LINK REL=made HTML HEAD element + + + + + + + + +Description + +If not the empty string, this address will be used for the +rel=made link element in the html head + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/list.block.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/list.block.properties.xml new file mode 100644 index 0000000000..dbf9dfc131 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/list.block.properties.xml @@ -0,0 +1,25 @@ + + +list.block.properties +attribute set + + +list.block.properties +Properties that apply to each list-block generated by list. + + + + + 0.2em + 1.5em + + +Description +Properties that apply to each fo:list-block generated by itemizedlist/orderedlist. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/list.block.spacing.xml b/apache-fop/src/test/resources/docbook-xsl/params/list.block.spacing.xml new file mode 100644 index 0000000000..377e6f8a89 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/list.block.spacing.xml @@ -0,0 +1,29 @@ + + +list.block.spacing +attribute set + + +list.block.spacing +What spacing do you want before and after lists? + + + + + 1em + 0.8em + 1.2em + 1em + 0.8em + 1.2em + + +Description +Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/list.item.spacing.xml b/apache-fop/src/test/resources/docbook-xsl/params/list.item.spacing.xml new file mode 100644 index 0000000000..21916520fb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/list.item.spacing.xml @@ -0,0 +1,26 @@ + + +list.item.spacing +attribute set + + +list.item.spacing +What space do you want between list items? + + + + + 1em + 0.8em + 1.2em + + +Description +Specify what spacing you want between each list item. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.clean.html.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.clean.html.xml new file mode 100644 index 0000000000..fbf80d02b7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.clean.html.xml @@ -0,0 +1,51 @@ + + +make.clean.html +boolean + + +make.clean.html +Make HTML conform to modern coding standards + + + + + + + + +Description + +If make.clean.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is conforms to +modern HTML coding standards. In addition to eliminating +excessive and noncompliant coding, it moves presentation +HTML coding to a CSS stylesheet. + +The resulting HTML is dependent on +CSS for formatting, and so the stylesheet is capable of +generating a supporting CSS file. The docbook.css.source +and custom.css.source parameters control +how a CSS file is generated. + +If you require your CSS to reside in the HTML +head element, then the generate.css.header +can be used to do that. + +The make.clean.html parameter is +different from html.cleanup +because the former changes the resulting markup; it does not use extension functions +like the latter to manipulate result-tree-fragments, +and is therefore applicable to any XSLT processor. + +If make.clean.html is set to zero (the default), +then the stylesheet retains its original +old style +HTML formatting features. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.graphic.viewport.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.graphic.viewport.xml new file mode 100644 index 0000000000..0bad336f8e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.graphic.viewport.xml @@ -0,0 +1,35 @@ + + +make.graphic.viewport +boolean + + +make.graphic.viewport +Use tables in HTML to make viewports for graphics + + + + + + + + +Description + +The HTML img element only supports the notion +of content-area scaling; it doesn't support the distinction between a +content-area and a viewport-area, so we have to make some compromises. + +If make.graphic.viewport is non-zero, a table +will be used to frame the image. This creates an effective viewport-area. + + +Tables and alignment don't work together, so this parameter is ignored +if alignment is specified on an image. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.index.markup.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.index.markup.xml new file mode 100644 index 0000000000..7942b5a50c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.index.markup.xml @@ -0,0 +1,73 @@ + + +make.index.markup +boolean + + +make.index.markup +Generate XML index markup in the index? + + + + + + + + +Description + +This parameter enables a very neat trick for getting properly +merged, collated back-of-the-book indexes. G. Ken Holman suggested +this trick at Extreme Markup Languages 2002 and I'm indebted to him +for it. + +Jeni Tennison's excellent code in +autoidx.xsl does a great job of merging and +sorting indexterms in the document and building a +back-of-the-book index. However, there's one thing that it cannot +reasonably be expected to do: merge page numbers into ranges. (I would +not have thought that it could collate and suppress duplicate page +numbers, but in fact it appears to manage that task somehow.) + +Ken's trick is to produce a document in which the index at the +back of the book is displayed in XML. Because the index +is generated by the FO processor, all of the page numbers have been resolved. +It's a bit hard to explain, but what it boils down to is that instead of having +an index at the back of the book that looks like this: + +
    +A +ap1, 1, 2, 3 + +
    + +you get one that looks like this: + +
    +<indexdiv>A</indexdiv> +<indexentry> +<primaryie>ap1</primaryie>, +<phrase role="pageno">1</phrase>, +<phrase role="pageno">2</phrase>, +<phrase role="pageno">3</phrase> +</indexentry> +
    + +After building a PDF file with this sort of odd-looking index, you can +extract the text from the PDF file and the result is a proper index expressed in +XML. + +Now you have data that's amenable to processing and a simple Perl script +(such as fo/pdf2index) can +merge page ranges and generate a proper index. + +Finally, reformat your original document using this literal index instead of +an automatically generated one and bingo! + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.single.year.ranges.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.single.year.ranges.xml new file mode 100644 index 0000000000..c49ab97bef --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.single.year.ranges.xml @@ -0,0 +1,28 @@ + + +make.single.year.ranges +boolean + + +make.single.year.ranges +Print single-year ranges (e.g., 1998-1999) + + + + + + + +Description + +If non-zero, year ranges that span a single year will be printed +in range notation (1998-1999) instead of discrete notation +(1998, 1999). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.valid.html.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.valid.html.xml new file mode 100644 index 0000000000..8618d39a7a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.valid.html.xml @@ -0,0 +1,35 @@ + + +make.valid.html +boolean + + +make.valid.html +Attempt to make sure the HTML output is valid HTML + + + + + + + + +Description + +If make.valid.html is true, the stylesheets take +extra effort to ensure that the resulting HTML is valid. This may mean that some +para tags are translated into HTML divs or +that other substitutions occur. + +This parameter is different from html.cleanup +because it changes the resulting markup; it does not use extension functions +to manipulate result-tree-fragments and is therefore applicable to any +XSLT processor. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/make.year.ranges.xml b/apache-fop/src/test/resources/docbook-xsl/params/make.year.ranges.xml new file mode 100644 index 0000000000..b1a2382671 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/make.year.ranges.xml @@ -0,0 +1,32 @@ + + +make.year.ranges +boolean + + +make.year.ranges +Collate copyright years into ranges? + + + + + + +Description + +If non-zero, multiple copyright year elements will be +collated into ranges. +This works only if each year number is put into a separate +year element. The copyright element permits multiple +year elements. If a year element contains a dash or +a comma, then that year element will not be merged into +any range. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.authors.section.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.authors.section.enabled.xml new file mode 100644 index 0000000000..73cb637823 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.authors.section.enabled.xml @@ -0,0 +1,46 @@ + + +man.authors.section.enabled +boolean + + +man.authors.section.enabled +Display auto-generated AUTHORS section? + + + +1 + + +Description + +If the value of +man.authors.section.enabled is non-zero +(the default), then an AUTHORS section is +generated near the end of each man page. The output of the +AUTHORS section is assembled from any +author, editor, and othercredit +metadata found in the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any author, editor, and +othercredit metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.authors.section.enabled is zero, the +the auto-generated AUTHORS section is +suppressed. + +Set the value of + man.authors.section.enabled to zero if + you want to have a manually created AUTHORS + section in your source, and you want it to appear in output + instead of the auto-generated AUTHORS + section. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.base.url.for.relative.links.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.base.url.for.relative.links.xml new file mode 100644 index 0000000000..a802ec80ab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.base.url.for.relative.links.xml @@ -0,0 +1,76 @@ + + + man.base.url.for.relative.links + string + + + man.base.url.for.relative.links + Specifies a base URL for relative links + + + + [set $man.base.url.for.relative.links]/ + + + Description + + For any “notesource†listed in the auto-generated + “NOTES†section of output man pages (which is generated when + the value of the + man.endnotes.list.enabled parameter + is non-zero), if the notesource is a link source with a + relative URI, the URI is displayed in output with the value + of the + man.base.url.for.relative.links + parameter prepended to the value of the link URI. + + + A link source is an notesource that references an + external resource: + + + a ulink element with a url attribute + + + any element with an xlink:href attribute + + + an imagedata, audiodata, or + videodata element + + + + + + If you use relative URIs in link sources in your DocBook + refentry source, and you leave + man.base.url.for.relative.links + unset, the relative links will appear “as is†in the “Notes†+ section of any man-page output generated from your source. + That’s probably not what you want, because such relative + links are only usable in the context of HTML output. So, to + make the links meaningful and usable in the context of + man-page output, set a value for + man.base.url.for.relative.links that + points to the online version of HTML output generated from + your DocBook refentry source. For + example: + <xsl:param name="man.base.url.for.relative.links" + >http://www.kernel.org/pub/software/scm/git/docs/</xsl:param> + + + + + Related Parameters + man.endnotes.list.enabled + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.break.after.slash.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.break.after.slash.xml new file mode 100644 index 0000000000..859edb7313 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.break.after.slash.xml @@ -0,0 +1,46 @@ + + +man.break.after.slash +boolean + + +man.break.after.slash +Enable line-breaking after slashes? + + + + +0 + + +Description + +If non-zero, line-breaking after slashes is enabled. This is +mainly useful for causing long URLs or pathnames/filenames to be +broken up or "wrapped" across lines (though it also has the side +effect of sometimes causing relatively short URLs and pathnames to be +broken up across lines too). + +If zero (the default), line-breaking after slashes is +disabled. In that case, strings containing slashes (for example, URLs +or filenames) are not broken across lines, even if they exceed the +maximum column widith. + + + If you set a non-zero value for this parameter, check your + man-page output carefuly afterwards, in order to make sure that the + setting has not introduced an excessive amount of breaking-up of URLs + or pathnames. If your content contains mostly short URLs or + pathnames, setting a non-zero value for + man.break.after.slash will probably result in + in a significant number of relatively short URLs and pathnames being + broken across lines, which is probably not what you want. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.enabled.xml new file mode 100644 index 0000000000..5522339ea9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.enabled.xml @@ -0,0 +1,55 @@ + + +man.charmap.enabled +boolean + + +man.charmap.enabled +Apply character map before final output? + + + + + + + + +Description + +If the value of the man.charmap.enabled +parameter is non-zero, a "character map" is used to substitute certain +Unicode symbols and special characters with appropriate roff/groff +equivalents, just before writing each man-page file to the +filesystem. If instead the value of +man.charmap.enabled is zero, Unicode characters +are passed through "as is". + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + +You can also use a subset of a character map. For details, +see the man.charmap.use.subset, +man.charmap.subset.profile, and +man.charmap.subset.profile.english +parameters. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.english.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.english.xml new file mode 100644 index 0000000000..cbc9fb0b65 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.english.xml @@ -0,0 +1,80 @@ + + +man.charmap.subset.profile.english +string + + +man.charmap.subset.profile.english +Profile of character map subset + + + + + +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + @*[local-name() = 'class'] = 'symbols') +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' + + + + +Description + +If the value of the + man.charmap.use.subset parameter is + non-zero, and your DocBook source is written in English (that + is, if its lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has the value en or if + it has no lang or xml:lang attribute), then the + character-map subset specified by the + man.charmap.subset.profile.english + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute + on the root element in your DocBook source or on the first + refentry element in your source has a value other + than en, then the character-map subset + specified by the + man.charmap.subset.profile parameter is + used instead of + man.charmap.subset.profile.english. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile.english +is a string representing an XPath expression that matches attribute +names and values for output-character elements in the character map. + +For other details, see the documentation for the +man.charmap.subset.profile.english and +man.charmap.use.subset parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.xml new file mode 100644 index 0000000000..913a4e3b95 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.subset.profile.xml @@ -0,0 +1,297 @@ + + +man.charmap.subset.profile +string + + +man.charmap.subset.profile +Profile of character map subset + + + + + +@*[local-name() = 'block'] = 'Miscellaneous Technical' or +(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and + (@*[local-name() = 'class'] = 'symbols' or + @*[local-name() = 'class'] = 'letters') +) or +@*[local-name() = 'block'] = 'Latin Extended-A' +or +(@*[local-name() = 'block'] = 'General Punctuation' and + (@*[local-name() = 'class'] = 'spaces' or + @*[local-name() = 'class'] = 'dashes' or + @*[local-name() = 'class'] = 'quotes' or + @*[local-name() = 'class'] = 'bullets' + ) +) or +@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or +@*[local-name() = 'name'] = 'WORD JOINER' or +@*[local-name() = 'name'] = 'SERVICE MARK' or +@*[local-name() = 'name'] = 'TRADE MARK SIGN' or +@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE' + + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +and your DocBook source is not written in English (that + is, if the lang or xml:lang attribute on the root element + in your DocBook source or on the first refentry + element in your source has a value other than + en), then the character-map subset specified + by the man.charmap.subset.profile + parameter is used instead of the full roff character map. + +Otherwise, if the lang or xml:lang attribute on the root + element in your DocBook + source or on the first refentry element in your source + has the value en or if it has no lang or xml:lang attribute, then the character-map + subset specified by the + man.charmap.subset.profile.english + parameter is used instead of + man.charmap.subset.profile. + +The difference between the two subsets is that + man.charmap.subset.profile provides + mappings for characters in Western European languages that are + not part of the Roman (English) alphabet (ASCII character set). + +The value of man.charmap.subset.profile +is a string representing an XPath expression that matches attribute +names and values for output-character +elements in the character map. + +The attributes supported in the standard roff character map included in the distribution are: + + + character + + a raw Unicode character or numeric Unicode + character-entity value (either in decimal or hex); all + characters have this attribute + + + + name + + a standard full/long ISO/Unicode character name (e.g., + "OHM SIGN"); all characters have this attribute + + + + block + + a standard Unicode "block" name (e.g., "General + Punctuation"); all characters have this attribute. For the full + list of Unicode block names supported in the standard roff + character map, see . + + + + class + + a class of characters (e.g., "spaces"). Not all + characters have this attribute; currently, it is used only with + certain characters within the "C1 Controls And Latin-1 + Supplement" and "General Punctuation" blocks. For details, see + . + + + + entity + + an ISO entity name (e.g., "ohm"); not all characters + have this attribute, because not all characters have ISO entity + names; for example, of the 800 or so characters in the standard + roff character map included in the distribution, only around 300 + have ISO entity names. + + + + + string + + a string representing an roff/groff escape-code (with + "@esc@" used in place of the backslash), or a simple ASCII + string; all characters in the roff character map have this + attribute + + + + +The value of man.charmap.subset.profile +is evaluated as an XPath expression at run-time to select a portion of +the roff character map to use. You can tune the subset used by adding +or removing parts. For example, if you need to use a wide range of +mathematical operators in a document, and you want to have them +converted into roff markup properly, you might add the following: + + @*[local-name() = 'block'] ='MathematicalOperators' + +That will cause a additional set of around 67 additional "math" +characters to be converted into roff markup. + + +Depending on which XSLT engine you use, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +man.charmap.subset.profile at run-time. If you +don't use xsltproc, Saxon, Xalan -- or some other XSLT engine that +supports dyn:evaluate -- you must either set the +value of the man.charmap.use.subset parameter +to zero and process your documents using the full character map +instead, or set the value of the +man.charmap.enabled parameter to zero instead +(so that character-map processing is disabled completely. + + +An alternative to using +man.charmap.subset.profile is to create your +own custom character map, and set the value of +man.charmap.uri to the URI/filename for +that. If you use a custom character map, you will probably want to +include in it just the characters you want to use, and so you will +most likely also want to set the value of +man.charmap.use.subset to zero. +You can create a +custom character map by making a copy of the standard roff character map provided in the distribution, and +then adding to, changing, and/or deleting from that. + + +If you author your DocBook XML source in UTF-8 or UTF-16 +encoding and aren't sure what OSes or environments your man-page +output might end up being viewed on, and not sure what version of +nroff/groff those environments might have, you should be careful about +what Unicode symbols and special characters you use in your source and +what parts you add to the value of +man.charmap.subset.profile. +Many of the escape codes used are specific to groff and using +them may not provide the expected output on an OS or environment that +uses nroff instead of groff. +On the other hand, if you intend for your man-page output to be +viewed only on modern systems (for example, GNU/Linux systems, FreeBSD +systems, or Cygwin environments) that have a good, up-to-date groff, +then you can safely include a wide range of Unicode symbols and +special characters in your UTF-8 or UTF-16 encoded DocBook XML source +and add any of the supported Unicode block names to the value of +man.charmap.subset.profile. + + + +For other details, see the documentation for the +man.charmap.use.subset parameter. + +Supported Unicode block names and "class" values + + + Below is the full list of Unicode block names and "class" + values supported in the standard roff stylesheet provided in the + distribution, along with a description of which codepoints from the + Unicode range corresponding to that block name or block/class + combination are supported. + + + + C1 Controls And Latin-1 Supplement (Latin-1 Supplement) (x00a0 to x00ff) + class values + + + symbols + + + letters + + + + + Latin Extended-A (x0100 to x017f, partial) + + + Spacing Modifier Letters (x02b0 to x02ee, partial) + + + Greek and Coptic (x0370 to x03ff, partial) + + + General Punctuation (x2000 to x206f, partial) + class values + + + spaces + + + dashes + + + quotes + + + daggers + + + bullets + + + leaders + + + primes + + + + + + Superscripts and Subscripts (x2070 to x209f) + + + Currency Symbols (x20a0 to x20b1) + + + Letterlike Symbols (x2100 to x214b) + + + Number Forms (x2150 to x218f) + + + Arrows (x2190 to x21ff, partial) + + + Mathematical Operators (x2200 to x22ff, partial) + + + Control Pictures (x2400 to x243f) + + + Enclosed Alphanumerics (x2460 to x24ff) + + + Geometric Shapes (x25a0 to x25f7, partial) + + + Miscellaneous Symbols (x2600 to x26ff, partial) + + + Dingbats (x2700 to x27be, partial) + + + Alphabetic Presentation Forms (xfb00 to xfb04 only) + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.uri.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.uri.xml new file mode 100644 index 0000000000..0c8f57451e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.uri.xml @@ -0,0 +1,42 @@ + + +man.charmap.uri +uri + + +man.charmap.uri +URI for custom roff character map + + + + + + + + +Description + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes an XSLT character +map. That character map can be considered the standard roff +character map for the distribution. + +If the value of the man.charmap.uri +parameter is non-empty, that value is used as the URI for the location +for an alternate roff character map to use in place of the standard +roff character map provided in the distribution. + + +Do not set a value for man.charmap.uri +unless you have a custom roff character map that differs from the +standard one provided in the distribution. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.use.subset.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.use.subset.xml new file mode 100644 index 0000000000..4403704ff0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.charmap.use.subset.xml @@ -0,0 +1,80 @@ + + +man.charmap.use.subset +boolean + + +man.charmap.use.subset +Use subset of character map instead of full map? + + + + + + + + +Description + +If the value of the +man.charmap.use.subset parameter is non-zero, +a subset of the roff character map is used instead of the full roff +character map. The profile of the subset used is determined either +by the value of the +man.charmap.subset.profile +parameter (if the source is not in English) or the +man.charmap.subset.profile.english +parameter (if the source is in English). + + + You may want to experiment with setting a non-zero value of + man.charmap.use.subset, so that the full + character map is used. Depending on which XSLT engine you run, + setting a non-zero value for + man.charmap.use.subset may significantly + increase the time needed to process your documents. Or it may + not. For example, if you set it and run it with xsltproc, it seems + to dramatically increase processing time; on the other hand, if you + set it and run it with Saxon, it does not seem to increase + processing time nearly as much. + + If processing time is not a important concern and/or you can + tolerate the increase in processing time imposed by using the full + character map, set man.charmap.use.subset to + zero. + + +Details + +For converting certain Unicode symbols and special characters in +UTF-8 or UTF-16 encoded XML source to appropriate groff/roff +equivalents in man-page output, the DocBook XSL Stylesheets +distribution includes a roff character map that is compliant with the XSLT character +map format as detailed in the XSLT 2.0 specification. The map +contains more than 800 character mappings and can be considered the +standard roff character map for the distribution. + + +You can use the man.charmap.uri +parameter to specify a URI for the location for an alternate roff +character map to use in place of the standard roff character map +provided in the distribution. + + +Because it is not terrifically efficient to use the standard +800-character character map in full -- and for most (or all) users, +never necessary to use it in full -- the DocBook XSL Stylesheets +support a mechanism for using, within any given character map, a +subset of character mappings instead of the full set. You can use the +man.charmap.subset.profile or +man.charmap.subset.profile.english +parameter to tune the profile of that subset to use. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.copyright.section.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.copyright.section.enabled.xml new file mode 100644 index 0000000000..9e83587617 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.copyright.section.enabled.xml @@ -0,0 +1,46 @@ + + +man.copyright.section.enabled +boolean + + +man.copyright.section.enabled +Display auto-generated COPYRIGHT section? + + + +1 + + +Description + +If the value of +man.copyright.section.enabled is non-zero +(the default), then a COPYRIGHT section is +generated near the end of each man page. The output of the +COPYRIGHT section is assembled from any +copyright and legalnotice metadata found in +the contents of the child info or +refentryinfo (if any) of the refentry +itself, or from any copyright and +legalnotice metadata that may appear in info +contents of any ancestors of the refentry. + +If the value of +man.copyright.section.enabled is zero, the +the auto-generated COPYRIGHT section is +suppressed. + +Set the value of + man.copyright.section.enabled to zero if + you want to have a manually created COPYRIGHT + section in your source, and you want it to appear in output + instead of the auto-generated COPYRIGHT + section. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.are.numbered.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.are.numbered.xml new file mode 100644 index 0000000000..b069ec3ed9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.are.numbered.xml @@ -0,0 +1,106 @@ + + +man.endnotes.are.numbered +boolean + + +man.endnotes.are.numbered +Number endnotes? + + + + +1 + + + +Description + +If the value of man.endnotes.are.numbered is +non-zero (the default), then for each non-empty +A “non-empty†notesource is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty†notesource is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + “notesourceâ€: + + + + a number (in square brackets) is displayed inline after the + rendered inline contents (if any) of the notesource + + + the contents of the notesource are included in a + numbered list of endnotes that is generated at the end of + each man page; the number for each endnote corresponds to + the inline number for the notesource with which it is + associated + + +The default heading for the list of endnotes is +NOTES. To output a different heading, set a value +for the man.endnotes.section.heading +parameter. + + + The endnotes list is also displayed (but without + numbers) if the value of + man.endnotes.list.enabled is + non-zero. + + + +If the value of man.endnotes.are.numbered is +zero, numbering of endnotess is suppressed; only inline +contents (if any) of the notesource are displayed inline. + + If you are thinking about disabling endnote numbering by setting + the value of man.endnotes.are.numbered to zero, + before you do so, first take some time to carefully + consider the information needs and experiences of your users. The + square-bracketed numbers displayed inline after notesources may seem + obstrusive and aesthetically unpleasingAs far as notesources that are links, ytou might + think it would be better to just display URLs for non-empty + links inline, after their content, rather than displaying + square-bracketed numbers all over the place. But it's not better. In + fact, it's not even practical, because many (most) URLs for links + are too long to be displayed inline. They end up overflowing the + right margin. You can set a non-zero value for + man.break.after.slash parameter to deal with + that, but it could be argued that what you end up with is at least + as ugly, and definitely more obstrusive, then having short + square-bracketed numbers displayed inline., + + but in a text-only output format, the + numbered-notesources/endnotes-listing mechanism is the only + practical way to handle this kind of content. + + Also, users of “text based†browsers such as + lynx will already be accustomed to seeing inline + numbers for links. And various "man to html" applications, such as + the widely used man2html (VH-Man2html) + application, can automatically turn URLs into "real" HTML hyperlinks + in output. So leaving man.endnotes.are.numbered + at its default (non-zero) value ensures that no information is + lost in your man-page output. It just gets + “rearrangedâ€. + + +The handling of empty links is not affected by this +parameter. Empty links are handled simply by displaying their URLs +inline. Empty links are never auto-numbered. + +If you disable endnotes numbering, you should probably also set +man.font.links to an empty value (to +disable font formatting for links. + + +Related Parameters + man.endnotes.list.enabled, + man.font.links + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.enabled.xml new file mode 100644 index 0000000000..89d81888fc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.enabled.xml @@ -0,0 +1,105 @@ + + +man.endnotes.list.enabled +boolean + + +man.endnotes.list.enabled +Display endnotes list at end of man page? + + + + +1 + + + +Description + +If the value of man.endnotes.list.enabled is +non-zero (the default), then an endnotes list is added to the end of +the output man page. + +If the value of man.endnotes.list.enabled is +zero, the list is suppressed — unless link numbering is enabled (that +is, if man.endnotes.are.numbered is non-zero), in +which case, that setting overrides the +man.endnotes.list.enabled setting, and the +endnotes list is still displayed. The reason is that inline +numbering of notesources associated with endnotes only makes sense +if a (numbered) list of endnotes is also generated. + + + Leaving + man.endnotes.list.enabled at its default + (non-zero) value ensures that no “out of line†information (such + as the URLs for hyperlinks and images) gets lost in your + man-page output. It just gets “rearrangedâ€. + So if you’re thinking about disabling endnotes listing by + setting the value of + man.endnotes.list.enabled to zero: + Before you do so, first take some time to carefully consider + the information needs and experiences of your users. The “out + of line†information has value even if the presentation of it + in text output is not as interactive as it may be in other + output formats. + As far as the specific case of URLs: Even though the URLs + displayed in text output may not be “real†(clickable) + hyperlinks, many X terminals have convenience features for + recognizing URLs and can, for example, present users with + an options to open a URL in a browser with the user clicks on + the URL is a terminal window. And short of those, users with X + terminals can always manually cut and paste the URLs into a web + browser. + Also, note that various “man to html†tools, such as the + widely used man2html (VH-Man2html) + application, automatically mark up URLs with a@href markup + during conversion — resulting in “real†hyperlinks in HTML + output from those tools. + + +To “turn off†numbering of endnotes in the +endnotes list, set man.endnotes.are.numbered +to zero. The endnotes list will +still be displayed; it will just be displayed without the +numbersIt can still make sense to have +the list of endnotes displayed even if you have endnotes numbering turned +off. In that case, your endnotes list basically becomes a “list +of references†without any association with specific text in +your document. This is probably the best option if you find the inline +endnotes numbering obtrusive. Your users will still have access to all the “out of line†+such as URLs for hyperlinks. + + +The default heading for the endnotes list is +NOTES. To change that, set a non-empty +value for the man.endnotes.list.heading +parameter. + +In the case of notesources that are links: Along with the +URL for each link, the endnotes list includes the contents of the +link. The list thus includes only non-empty + +A “non-empty†link is one that looks like +this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages</ulink> +an “empty link†is on that looks like this: <ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/> + links. + +Empty links are never included, and never numbered. They are simply +displayed inline, without any numbering. + +In addition, if there are multiple instances of links in a +refentry that have the same URL, the URL is listed only +once. The contents listed for that link in the endnotes list are +the contents of the first link which has that URL. + +If you disable endnotes listing, you should probably also set +man.links.are.underlined to zero (to disable +link underlining). + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.heading.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.heading.xml new file mode 100644 index 0000000000..fe6545c933 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.endnotes.list.heading.xml @@ -0,0 +1,36 @@ + + +man.endnotes.list.heading +string + + +man.endnotes.list.heading +Specifies an alternate name for endnotes list + + + + + + + + +Description + +If the value of the +man.endnotes.are.numbered parameter +and/or the man.endnotes.list.enabled +parameter is non-zero (the defaults for both are non-zero), a +numbered list of endnotes is generated near the end of each man +page. The default heading for the list of endnotes is the +equivalent of the English word NOTES in +the current locale. To cause an alternate heading to be displayed, +set a non-empty value for the +man.endnotes.list.heading parameter — +for example, REFERENCES. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcprototype.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcprototype.xml new file mode 100644 index 0000000000..67b698ba8a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcprototype.xml @@ -0,0 +1,30 @@ + + +man.font.funcprototype +string + + +man.font.funcprototype +Specifies font for funcprototype output + + + + + BI + + + +Description + +The man.font.funcprototype parameter +specifies the font for funcprototype output. It +should be a valid roff font name, such as BI or +B. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcsynopsisinfo.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcsynopsisinfo.xml new file mode 100644 index 0000000000..bd7a36fae8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.font.funcsynopsisinfo.xml @@ -0,0 +1,30 @@ + + +man.font.funcsynopsisinfo +string + + +man.font.funcsynopsisinfo +Specifies font for funcsynopsisinfo output + + + + + B + + + +Description + +The man.font.funcsynopsisinfo parameter +specifies the font for funcsynopsisinfo output. It +should be a valid roff font name, such as B or +I. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.font.links.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.font.links.xml new file mode 100644 index 0000000000..0f8a1e0f70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.font.links.xml @@ -0,0 +1,64 @@ + + +man.font.links +string + + +man.font.links +Specifies font for links + + + + +B + + + +Description + +The man.font.links parameter +specifies the font for output of links (ulink instances +and any instances of any element with an xlink:href attribute). + +The value of man.font.links must be + either B or I, or empty. If +the value is empty, no font formatting is applied to links. + +If you set man.endnotes.are.numbered and/or +man.endnotes.list.enabled to zero (disabled), then +you should probably also set an empty value for +man.font.links. But if +man.endnotes.are.numbered is non-zero (enabled), +you should probably keep +man.font.links set to +B or IThe + main purpose of applying a font format to links in most output +formats it to indicate that the formatted text is +“clickableâ€; given that links rendered in man pages are +not “real†hyperlinks that users can click on, it might +seem like there is never a good reason to have font formatting for +link contents in man output. +In fact, if you suppress the +display of inline link references (by setting +man.endnotes.are.numbered to zero), there is no +good reason to apply font formatting to links. However, if +man.endnotes.are.numbered is non-zero, having +font formatting for links (arguably) serves a purpose: It provides +“context†information about exactly what part of the text +is being “annotated†by the link. Depending on how you +mark up your content, that context information may or may not +have value.. + + +Related Parameters + man.endnotes.list.enabled, + man.endnotes.are.numbered + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.headings.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.headings.xml new file mode 100644 index 0000000000..5056f2b696 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.headings.xml @@ -0,0 +1,30 @@ + + +man.font.table.headings +string + + +man.font.table.headings +Specifies font for table headings + + + + + B + + + +Description + +The man.font.table.headings parameter +specifies the font for table headings. It should be +a valid roff font, such as B or +I. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.title.xml new file mode 100644 index 0000000000..a7f2ae9e1a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.font.table.title.xml @@ -0,0 +1,30 @@ + + +man.font.table.title +string + + +man.font.table.title +Specifies font for table headings + + + + + B + + + +Description + +The man.font.table.title parameter +specifies the font for table titles. It should be +a valid roff font, such as B or +I. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.funcsynopsis.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.funcsynopsis.style.xml new file mode 100644 index 0000000000..0597087ba1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.funcsynopsis.style.xml @@ -0,0 +1,26 @@ + + +man.funcsynopsis.style +list +ansi +kr + + +man.funcsynopsis.style +What style of funcsynopsis should be generated? + + +ansi + +Description +If man.funcsynopsis.style is +ansi, ANSI-style function synopses are +generated for a funcsynopsis, otherwise K&R-style +function synopses are generated. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.computer.inlines.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.computer.inlines.xml new file mode 100644 index 0000000000..3e23ade4c2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.computer.inlines.xml @@ -0,0 +1,53 @@ + + +man.hyphenate.computer.inlines +boolean + + +man.hyphenate.computer.inlines +Hyphenate computer inlines? + + + + +0 + + +Description + +If zero (the default), hyphenation is suppressed for +computer inlines such as environment variables, +constants, etc. This parameter current affects output of the following +elements: + + + classname + constant + envar + errorcode + option + replaceable + userinput + type + varname + + + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting the + man.hyphenate.computer.inlines is not + necessary. + + +If man.hyphenate.computer.inlines is +non-zero, computer inlines will not be treated specially and will be +hyphenated like other words when needed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.filenames.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.filenames.xml new file mode 100644 index 0000000000..891d6dae18 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.filenames.xml @@ -0,0 +1,47 @@ + + +man.hyphenate.filenames +boolean + + +man.hyphenate.filenames +Hyphenate filenames? + + + + +0 + + +Description + +If zero (the default), hyphenation is suppressed for +filename output. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.filenames is not + necessary. + + +If man.hyphenate.filenames is non-zero, +filenames will not be treated specially and are subject to hyphenation +just like other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.filenames in order to make long + filenames/pathnames break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long pathnames to be broken after slashes. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.urls.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.urls.xml new file mode 100644 index 0000000000..a64dfa75bb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.urls.xml @@ -0,0 +1,46 @@ + + +man.hyphenate.urls +boolean + + +man.hyphenate.urls +Hyphenate URLs? + + + + +0 + + +Description + +If zero (the default), hyphenation is suppressed for output of +the ulink url attribute. + + + If hyphenation is already turned off globally (that is, if + man.hyphenate is zero, setting + man.hyphenate.urls is not necessary. + + +If man.hyphenate.urls is non-zero, URLs +will not be treated specially and are subject to hyphenation just like +other words. + + + If you are thinking about setting a non-zero value for + man.hyphenate.urls in order to make long + URLs break across lines, you'd probably be better off + experimenting with setting the + man.break.after.slash parameter first. That + will cause long URLs to be broken after slashes. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.xml new file mode 100644 index 0000000000..9198bbbb9e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.hyphenate.xml @@ -0,0 +1,59 @@ + + +man.hyphenate +boolean + + +man.hyphenate +Enable hyphenation? + + + + +0 + + +Description + +If non-zero, hyphenation is enabled. + + +The default value for this parameter is zero because groff is +not particularly smart about how it does hyphenation; it can end up +hyphenating a lot of things that you don't want hyphenated. To +mitigate that, the default behavior of the stylesheets is to suppress +hyphenation of computer inlines, filenames, and URLs. (You can +override the default behavior by setting non-zero values for the +man.hyphenate.urls, +man.hyphenate.filenames, and +man.hyphenate.computer.inlines parameters.) But +the best way is still to just globally disable hyphenation, as the +stylesheets do by default. + +The only good reason to enabled hyphenation is if you have also +enabled justification (which is disabled by default). The reason is +that justified text can look very bad unless you also hyphenate it; to +quote the Hypenation node from the groff info page: + +
    + Since the odds are not great for finding a set of + words, for every output line, which fit nicely on a line without + inserting excessive amounts of space between words, 'gtroff' + hyphenates words so that it can justify lines without inserting too + much space between words. +
    + +So, if you set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation).
    +
    + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.indent.blurbs.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.blurbs.xml new file mode 100644 index 0000000000..bf9bb91ead --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.blurbs.xml @@ -0,0 +1,33 @@ + + +man.indent.blurbs +boolean + + +man.indent.blurbs +Adjust indentation of blurbs? + + + + + + + +Description + +If the value of man.indent.blurbs is +non-zero, the width of the left margin for +authorblurb, personblurb, and +contrib output is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.blurbs is zero, the built-in roff +default width (7.2n) is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.indent.lists.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.lists.xml new file mode 100644 index 0000000000..a2654d093d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.lists.xml @@ -0,0 +1,35 @@ + + +man.indent.lists +boolean + + +man.indent.lists +Adjust indentation of lists? + + + + + + + +Description + +If the value of man.indent.lists is +non-zero, the width of the left margin for list items in +itemizedlist, +orderedlist, +variablelist output (and output of some other +lists) is set to the value of the +man.indent.width parameter +(4n by default). If instead the value of +man.indent.lists is zero, the built-in roff +default width (7.2n) is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.indent.refsect.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.refsect.xml new file mode 100644 index 0000000000..2865f8c6a4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.refsect.xml @@ -0,0 +1,70 @@ + + +man.indent.refsect +boolean + + +man.indent.refsect +Adjust indentation of refsect* and refsection? + + + + + + + +Description + +If the value of man.indent.refsect is +non-zero, the width of the left margin for +refsect1, refsect2 and +refsect3 contents and titles (and first-level, +second-level, and third-level nested +refsectioninstances) is adjusted by the value of +the man.indent.width parameter. With +man.indent.width set to its default value of +3n, the main results are that: + + + + contents of refsect1 are output with a + left margin of three characters instead the roff default of seven + or eight characters + + + contents of refsect2 are displayed in + console output with a left margin of six characters instead the of + the roff default of seven characters + + + the contents of refsect3 and nested + refsection instances are adjusted + accordingly. + + + +If instead the value of man.indent.refsect is +zero, no margin adjustment is done for refsect* +output. + + + If your content is primarly comprised of + refsect1 and refsect2 content + (or the refsection equivalent) – with few or + no refsect3 or lower nested sections , you may be + able to “conserve†space in your output by setting + man.indent.refsect to a non-zero value. Doing + so will “squeeze†the left margin in such as way as to provide an + additional four characters of “room†per line in + refsect1 output. That extra room may be useful + if, for example, you have many verbatim sections with long lines in + them. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.indent.verbatims.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.verbatims.xml new file mode 100644 index 0000000000..0436c9ed22 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.verbatims.xml @@ -0,0 +1,33 @@ + + +man.indent.verbatims +boolean + + +man.indent.verbatims +Adjust indentation of verbatims? + + + + + + + +Description + +If the value of man.indent.verbatims is +non-zero, the width of the left margin for output of verbatim +environments (programlisting, +screen, and so on) is set to the value of the +man.indent.width parameter +(3n by default). If instead the value of +man.indent.verbatims is zero, the built-in roff +default width (7.2n) is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.indent.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.width.xml new file mode 100644 index 0000000000..2d4496de7b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.indent.width.xml @@ -0,0 +1,39 @@ + + +man.indent.width +length + + +man.indent.width +Specifies width used for adjusted indents + + + + +4 + + + +Description +The man.indent.width parameter specifies +the width used for adjusted indents. The value of +man.indent.width is used for indenting of +lists, verbatims, headings, and elsewhere, depending on whether the +values of certain man.indent.* boolean parameters +are non-zero. + +The value of man.indent.width should +include a valid roff measurement unit (for example, +n or u). The default value of +4n specifies a 4-en width; when viewed on a +console, that amounts to the width of four characters. For details +about roff measurment units, see the Measurements +node in the groff info page. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.justify.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.justify.xml new file mode 100644 index 0000000000..5495d05cb5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.justify.xml @@ -0,0 +1,52 @@ + + +man.justify +boolean + + +man.justify +Justify text to both right and left margins? + + + + +0 + + +Description + +If non-zero, text is justified to both the right and left +margins (or, in roff terminology, "adjusted and filled" to both the +right and left margins). If zero (the default), text is adjusted to +the left margin only -- producing what is traditionally called +"ragged-right" text. + + +The default value for this parameter is zero because justified +text looks good only when it is also hyphenated. Without hyphenation, +excessive amounts of space often end up getting between words, in +order to "pad" lines out to align on the right margin. + +The problem is that groff is not particularly smart about how it +does hyphenation; it can end up hyphenating a lot of things that you +don't want hyphenated. So, disabling both justification and +hyphenation ensures that hyphens won't get inserted where you don't +want to them, and you don't end up with lines containing excessive +amounts of space between words. + +However, if do you decide to set a non-zero value for the +man.justify parameter (to enable +justification), then you should probably also set a non-zero value for +man.hyphenate (to enable hyphenation). + +Yes, these default settings run counter to how most existing man +pages are formatted. But there are some notable exceptions, such as +the perl man pages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.base.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.base.dir.xml new file mode 100644 index 0000000000..25113d0c2a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.base.dir.xml @@ -0,0 +1,39 @@ + + +man.output.base.dir +uri + + +man.output.base.dir +Specifies separate output directory + + + +man/ + + +Description + +The man.output.base.dir parameter +specifies the base directory into which man-page files are output. The +man.output.subdirs.enabled parameter controls +whether the files are output in subdirectories within the base +directory. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.better.ps.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.better.ps.enabled.xml new file mode 100644 index 0000000000..82d15dd0c0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.better.ps.enabled.xml @@ -0,0 +1,61 @@ + + +man.output.better.ps.enabled +boolean + + +man.output.better.ps.enabled +Enable enhanced print/PostScript output? + + + +0 + + +Description + +If the value of the +man.output.better.ps.enabled parameter is +non-zero, certain markup is embedded in each generated man page +such that PostScript output from the man -Tps +command for that page will include a number of enhancements +designed to improve the quality of that output. + +If man.output.better.ps.enabled is +zero (the default), no such markup is embedded in generated man +pages, and no enhancements are included in the PostScript +output generated from those man pages by the man + -Tps command. + + + The enhancements provided by this parameter rely on + features that are specific to groff (GNU troff) and that are + not part of “classic†AT&T troff or any of its + derivatives. Therefore, any man pages you generate with this + parameter enabled will be readable only on systems on which + the groff (GNU troff) program is installed, such as GNU/Linux + systems. The pages will not not be + readable on systems on with the classic troff (AT&T + troff) command is installed. + + +The value of this parameter only affects PostScript output + generated from the man command. It has no + effect on output generated using the FO backend. + + + You can generate PostScript output for any man page by + running the following command: + man FOO -Tps > FOO.ps + You can then generate PDF output by running the following + command: + ps2pdf FOO.ps + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.encoding.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.encoding.xml new file mode 100644 index 0000000000..7154bc87aa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.encoding.xml @@ -0,0 +1,53 @@ + + +man.output.encoding +string + + +man.output.encoding +Encoding used for man-page output + + + + +UTF-8 + + + +Description + +This parameter specifies the encoding to use for files generated +by the manpages stylesheet. Not all processors support specification +of this parameter. + + + If the value of the man.charmap.enabled + parameter is non-zero (the default), keeping the + man.output.encoding parameter at its default + value (UTF-8) or setting it to + UTF-16 does not cause your + man pages to be output in raw UTF-8 or UTF-16 -- because + any Unicode characters for which matches are found in the enabled + character map will be replaced with roff escape sequences before the + final man-page files are generated. + + So if you want to generate "real" UTF-8 man pages, without any + character substitution being performed on your content, you need to + set man.charmap.enabled to zero (which will + completely disable character-map processing). + + You may also need to set + man.charmap.enabled to zero if you want to + output man pages in an encoding other than UTF-8 + or UTF-16. Character-map processing is based on + Unicode character values and may not work with other output + encodings. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.in.separate.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.in.separate.dir.xml new file mode 100644 index 0000000000..1492720b9b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.in.separate.dir.xml @@ -0,0 +1,32 @@ + + +man.output.in.separate.dir +boolean + + +man.output.in.separate.dir +Output man-page files in separate output directory? + + + + + + + + +Description + +If the value of man.output.in.separate.dir +parameter is non-zero, man-page files are output in a separate +directory, specified by the man.output.base.dir +parameter; otherwise, if the value of +man.output.in.separate.dir is zero, man-page files +are not output in a separate directory. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.lang.in.name.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.lang.in.name.enabled.xml new file mode 100644 index 0000000000..1fed3c04dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.lang.in.name.enabled.xml @@ -0,0 +1,50 @@ + + +man.output.lang.in.name.enabled +boolean + + +man.output.lang.in.name.enabled +Include $LANG value in man-page filename/pathname? + + + + + + + + +Description + + The man.output.lang.in.name.enabled + parameter specifies whether a $lang value is + included in man-page filenames and pathnames. + + If the value of + man.output.lang.in.name.enabled is non-zero, + man-page files are output with the $lang value + included in their filenames or pathnames as follows; + + + + if man.output.subdirs.enabled is + non-zero, each file is output to, e.g., a + man/$lang/man8/foo.8 + pathname + + + if man.output.subdirs.enabled is + zero, each file is output with a + foo.$lang.8 + filename + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.enabled.xml new file mode 100644 index 0000000000..5da041cd92 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.enabled.xml @@ -0,0 +1,27 @@ + + + man.output.manifest.enabled + boolean + + + man.output.manifest.enabled + Generate a manifest file? + + + + + + + Description + + If non-zero, a list of filenames for man pages generated by + the stylesheet transformation is written to the file named by the + man.output.manifest.filename parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.filename.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.filename.xml new file mode 100644 index 0000000000..f514ede9c5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.manifest.filename.xml @@ -0,0 +1,29 @@ + + + man.output.manifest.filename + string + + + man.output.manifest.filename + Name of manifest file + + + + MAN.MANIFEST + + + Description + + The man.output.manifest.filename parameter + specifies the name of the file to which the manpages manifest file + is written (if the value of the + man.output.manifest.enabled parameter is + non-zero). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.quietly.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.quietly.xml new file mode 100644 index 0000000000..acde7f42f7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.quietly.xml @@ -0,0 +1,37 @@ + + +man.output.quietly +boolean + + +man.output.quietly +Suppress filename messages emitted when generating output? + + + + + + + + +Description + +If zero (the default), for each man-page file created, a message +with the name of the file is emitted. If non-zero, the files are +output "quietly" -- that is, the filename messages are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + man.output.quietly. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.output.subdirs.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.output.subdirs.enabled.xml new file mode 100644 index 0000000000..876b94e4d6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.output.subdirs.enabled.xml @@ -0,0 +1,40 @@ + + +man.output.subdirs.enabled +boolean + + +man.output.subdirs.enabled +Output man-page files in subdirectories within base output directory? + + + + + + + + +Description + +The man.output.subdirs.enabled parameter +controls whether man-pages files are output in subdirectories within +the base directory specified by the directory specified by the +man.output.base.dir parameter. + + + The values of the man.output.base.dir + and man.output.subdirs.enabled parameters are + used only if the value of + man.output.in.separate.dir parameter is + non-zero. If the value of the + man.output.in.separate.dir is zero, man-page + files are not output in a separate directory. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.segtitle.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.segtitle.suppress.xml new file mode 100644 index 0000000000..e54336d945 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.segtitle.suppress.xml @@ -0,0 +1,28 @@ + + +man.segtitle.suppress +boolean + + +man.segtitle.suppress +Suppress display of segtitle contents? + + + + + + + +Description + +If the value of man.segtitle.suppress is +non-zero, then display of segtitle contents is +suppressed in output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.post.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.post.xml new file mode 100644 index 0000000000..b12448d827 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.post.xml @@ -0,0 +1,34 @@ + + +man.string.subst.map.local.post +string + + +man.string.subst.map.local.post +Specifies “local†string substitutions + + + + + + + + +Description + +Use the man.string.subst.map.local.post +parameter to specify any “local†string substitutions to perform over +the entire roff source for each man page after +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.pre.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.pre.xml new file mode 100644 index 0000000000..6483752fb3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.local.pre.xml @@ -0,0 +1,34 @@ + + +man.string.subst.map.local.pre +string + + +man.string.subst.map.local.pre +Specifies “local†string substitutions + + + + + + + + +Description + +Use the man.string.subst.map.local.pre +parameter to specify any “local†string substitutions to perform over +the entire roff source for each man page before +performing the string substitutions specified by the man.string.subst.map parameter. + +For details about the format of this parameter, see the +documentation for the man.string.subst.map +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.xml new file mode 100644 index 0000000000..0feed4aa6a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.string.subst.map.xml @@ -0,0 +1,162 @@ + + +man.string.subst.map +rtf + + +man.string.subst.map +Specifies a set of string substitutions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Description + +The man.string.subst.map parameter +contains a map that specifies a set of +string substitutions to perform over the entire roff source for each +man page, either just before generating final man-page output (that +is, before writing man-page files to disk) or, if the value of the +man.charmap.enabled parameter is non-zero, +before applying the roff character map. + +You can use man.string.subst.map as a +“lightweight†character map to perform “essential†substitutions -- +that is, substitutions that are always performed, +even if the value of the man.charmap.enabled +parameter is zero. For example, you can use it to replace quotation +marks or other special characters that are generated by the DocBook +XSL stylesheets for a particular locale setting (as opposed to those +characters that are actually in source XML documents), or to replace +any special characters that may be automatically generated by a +particular customization of the DocBook XSL stylesheets. + + + Do you not change value of the + man.string.subst.map parameter unless you are + sure what you are doing. First consider adding your + string-substitution mappings to either or both of the following + parameters: + + + man.string.subst.map.local.pre + applied before + man.string.subst.map + + + man.string.subst.map.local.post + applied after + man.string.subst.map + + + By default, both of those parameters contain no + string substitutions. They are intended as a means for you to + specify your own local string-substitution mappings. + + If you remove any of default mappings from the value of the + man.string.subst.map parameter, you are + likely to end up with broken output. And be very careful about adding + anything to it; it’s used for doing string substitution over the + entire roff source of each man page – it causes target strings to be + replaced in roff requests and escapes, not just in the visible + contents of the page. + + + + + + Contents of the substitution map + + The string-substitution map contains one or more + ss:substitution elements, each of which has two + attributes: + + + oldstring + + string to replace + + + + newstring + + string with which to replace oldstring + + + + It may also include XML comments (that is, delimited with + "<!--" and "-->"). + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.enabled.xml new file mode 100644 index 0000000000..1156c5fd0f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.enabled.xml @@ -0,0 +1,37 @@ + + +man.subheading.divider.enabled +boolean + + +man.subheading.divider.enabled +Add divider comment to roff source before/after subheadings? + + + + +0 + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.xml new file mode 100644 index 0000000000..dbd266963d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.subheading.divider.xml @@ -0,0 +1,37 @@ + + +man.subheading.divider +string + + +man.subheading.divider +Specifies string to use as divider comment before/after subheadings + + + + +======================================================================== + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.table.footnotes.divider.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.table.footnotes.divider.xml new file mode 100644 index 0000000000..2ad4608b24 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.table.footnotes.divider.xml @@ -0,0 +1,29 @@ + + +man.table.footnotes.divider +string + + +man.table.footnotes.divider +Specifies divider string that appears before table footnotes + + + + +---- + + + +Description + +In each table that contains footenotes, the string specified by +the man.table.footnotes.divider parameter is +output before the list of footnotes for the table. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra1.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra1.suppress.xml new file mode 100644 index 0000000000..c0241d2e8f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra1.suppress.xml @@ -0,0 +1,32 @@ + + +man.th.extra1.suppress +boolean + + +man.th.extra1.suppress +Suppress extra1 part of header/footer? + + + + +0 + + +Description + +If the value of man.th.extra1.suppress is +non-zero, then the extra1 part of the +.TH title line header/footer is suppressed. + +The content of the extra1 field is almost +always displayed in the center footer of the page and is, universally, +a date. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.max.length.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.max.length.xml new file mode 100644 index 0000000000..d3513ecd77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.max.length.xml @@ -0,0 +1,43 @@ + + +man.th.extra2.max.length +integer + + +man.th.extra2.max.length +Maximum length of extra2 in header/footer + + + + +30 + + + +Description + +Specifies the maximum permitted length of the +extra2 part of the man-page part of the +.TH title line header/footer. If the +extra2 content exceeds the maxiumum specified, it +is truncated down to the maximum permitted length. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data indicating the software system or product that the item +documented in the man page belongs to, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "source" information, +you may want to experiment with changing the value in order to achieve +the correct aesthetic results. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.suppress.xml new file mode 100644 index 0000000000..0fcd3ed6f0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra2.suppress.xml @@ -0,0 +1,44 @@ + + +man.th.extra2.suppress +boolean + + +man.th.extra2.suppress +Suppress extra2 part of header/footer? + + + + +0 + + +Description + +If the value of man.th.extra2.suppress is +non-zero, then the extra2 part of the +.TH title line header/footer is suppressed. + +The content of the extra2 field is usually +displayed in the left footer of the page and is typically "source" +data, often in the form +Name Version; +for example, "GTK+ 1.2" (from the gtk-options(7) +man page). + + + You can use the + refentry.source.name.suppress and + refentry.version.suppress parameters to + independently suppress the Name and + Version parts of the + extra2 field. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.max.length.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.max.length.xml new file mode 100644 index 0000000000..77e55e4c59 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.max.length.xml @@ -0,0 +1,42 @@ + + +man.th.extra3.max.length +integer + + +man.th.extra3.max.length +Maximum length of extra3 in header/footer + + + + +30 + + + +Description + +Specifies the maximum permitted length of the +extra3 part of the man-page .TH +title line header/footer. If the extra3 content +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + +The default value for this parameter is reasonable but somewhat +arbitrary. If you are processing pages with long "manual names" -- or +especially if you are processing pages that have both long "title" +parts (command/function, etc. names) and long +manual names -- you may want to experiment with changing the value in +order to achieve the correct aesthetic results. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.suppress.xml new file mode 100644 index 0000000000..81d6c0d9de --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.extra3.suppress.xml @@ -0,0 +1,34 @@ + + +man.th.extra3.suppress +boolean + + +man.th.extra3.suppress +Suppress extra3 part of header/footer? + + + + +0 + + +Description + +If the value of man.th.extra3.suppress is +non-zero, then the extra3 part of the +.TH title line header/footer is +suppressed. + +The content of the extra3 field is usually +displayed in the middle header of the page and is typically a "manual +name"; for example, "GTK+ User's Manual" (from the +gtk-options(7) man page). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/man.th.title.max.length.xml b/apache-fop/src/test/resources/docbook-xsl/params/man.th.title.max.length.xml new file mode 100644 index 0000000000..7fdf0bfca0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/man.th.title.max.length.xml @@ -0,0 +1,63 @@ + + +man.th.title.max.length +integer + + +man.th.title.max.length +Maximum length of title in header/footer + + + + +20 + + + +Description + +Specifies the maximum permitted length of the title part of the +man-page .TH title line header/footer. If the title +exceeds the maxiumum specified, it is truncated down to the maximum +permitted length. + +Details + + +Every man page generated using the DocBook stylesheets has a +title line, specified using the TH roff +macro. Within that title line, there is always, at a minimum, a title, +followed by a section value (representing a man "section" -- usually +just a number). + +The title and section are displayed, together, in the visible +header of each page. Where in the header they are displayed depends on +OS the man page is viewed on, and on what version of nroff/groff/man +is used for viewing the page. But, at a minimum and across all +systems, the title and section are displayed on the right-hand column +of the header. On many systems -- those with a modern groff, including +Linux systems -- they are displayed twice: both in the left and right +columns of the header. + +So if the length of the title exceeds a certain percentage of +the column width in which the page is viewed, the left and right +titles can end up overlapping, making them unreadable, or breaking to +another line, which doesn't look particularly good. + +So the stylesheets provide the +man.th.title.max.length parameter as a means +for truncating titles that exceed the maximum length that can be +viewing properly in a page header. + +The default value is reasonable but somewhat arbitrary. If you +have pages with long titles, you may want to experiment with changing +the value in order to achieve the correct aesthetic results. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/manifest.in.base.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/manifest.in.base.dir.xml new file mode 100644 index 0000000000..d00276750b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/manifest.in.base.dir.xml @@ -0,0 +1,29 @@ + + +manifest.in.base.dir +boolean + + +manifest.in.base.dir +Should the manifest file be written into base.dir? + + + + + + + + +Description + +If non-zero, the manifest file as well as project files for HTML Help and +Eclipse Help are written into base.dir instead +of the current directory. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/manifest.xml b/apache-fop/src/test/resources/docbook-xsl/params/manifest.xml new file mode 100644 index 0000000000..96d092a8cb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/manifest.xml @@ -0,0 +1,29 @@ + + + manifest + string + + + manifest + Name of manifest file + + + + + HTML.manifest + + + + Description + + The name of the file to which a manifest is written (if the + value of the generate.manifest parameter + is non-zero). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/manual.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/manual.toc.xml new file mode 100644 index 0000000000..7a640c7a34 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/manual.toc.xml @@ -0,0 +1,29 @@ + + +manual.toc +string + + +manual.toc +An explicit TOC to be used for the TOC + + + + + + + + +Description + +The manual.toc identifies an explicit TOC that +will be used for building the printed TOC. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/margin.note.float.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.float.type.xml new file mode 100644 index 0000000000..0b34230b75 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.float.type.xml @@ -0,0 +1,77 @@ + + +margin.note.float.type +list +none +before +left +start +right +end +inside +outside + + +margin.note.float.type +Select type of float for margin note customizations + + + + +none + + + +Description + +Selects the type of float for margin notes. +DocBook does not define a margin note element, so this +feature must be implemented as a customization of the stylesheet. +See margin.note.properties for +an example. + + + +If margin.note.float.type is +none, then +no float is used. + + + +If margin.note.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + +If margin.note.float.type is +left or +start, then +a left side float is used. + + + +If margin.note.float.type is +right or +end, then +a right side float is used. + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/margin.note.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.properties.xml new file mode 100644 index 0000000000..02dc20e500 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.properties.xml @@ -0,0 +1,54 @@ + + +margin.note.properties +attribute set + + +margin.note.properties +Attribute set for margin.note properties + + + + + + 90% + start + + + + +Description + +The styling for margin notes. +By default, margin notes are not implemented for any +element. A stylesheet customization is needed to make +use of this attribute-set. + +You can use a template named floater +to create the customization. +That template can create side floats by specifying the +content and characteristics as template parameters. + + +For example: +<xsl:template match="para[@role='marginnote']"> + <xsl:call-template name="floater"> + <xsl:with-param name="position"> + <xsl:value-of select="$margin.note.float.type"/> + </xsl:with-param> + <xsl:with-param name="width"> + <xsl:value-of select="$margin.note.width"/> + </xsl:with-param> + <xsl:with-param name="content"> + <xsl:apply-imports/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/margin.note.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.title.properties.xml new file mode 100644 index 0000000000..84399bbe92 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.title.properties.xml @@ -0,0 +1,32 @@ + + +margin.note.title.properties +attribute set + + +margin.note.title.properties +Attribute set for margin note titles + + + + + + bold + false + start + always + + + + +Description + +The styling for margin note titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/margin.note.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.width.xml new file mode 100644 index 0000000000..3ee0aa4e78 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/margin.note.width.xml @@ -0,0 +1,35 @@ + + +margin.note.width +length + + +margin.note.width +Set the default width for margin notes + + + + +1in + + + +Description + +Sets the default width for margin notes when used as a side +float. The width determines the degree to which the margin note block +intrudes into the text area. + +If margin.note.float.type is +before or +none, then +this parameter is ignored. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/marker.section.level.xml b/apache-fop/src/test/resources/docbook-xsl/params/marker.section.level.xml new file mode 100644 index 0000000000..70bd4fdcb4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/marker.section.level.xml @@ -0,0 +1,50 @@ + + +marker.section.level +integer + + +marker.section.level +Control depth of sections shown in running headers or footers + + + + +2 + + + +Description + +The marker.section.level parameter +controls the depth of section levels that may be displayed +in running headers and footers. For example, if the value +is 2 (the default), then titles from sect1 and +sect2 or equivalent section +elements are candidates for use in running headers and +footers. + +Each candidate title is marked in the FO output with a +<fo:marker marker-class-name="section.head.marker"> +element. + +In order for such titles to appear in headers +or footers, the header.content +or footer.content template +must be customized to retrieve the marker using +an output element such as: + + +<fo:retrieve-marker retrieve-class-name="section.head.marker" + retrieve-position="first-including-carryover" + retrieve-boundary="page-sequence"/> + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.menu.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.menu.separator.xml new file mode 100644 index 0000000000..cf142e216f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.menu.separator.xml @@ -0,0 +1,42 @@ + + +menuchoice.menu.separator +string + + +menuchoice.menu.separator +Separator between items of a menuchoice +with guimenuitem or +guisubmenu + + + + + → + + + +Description + +Separator used to connect items of a menuchoice with +guimenuitem or guisubmenu. Other elements +are linked with menuchoice.separator. + +The default value is &#x2192;, which is the +&rarr; (right arrow) character entity. +The current FOP (0.20.5) requires setting the font-family +explicitly. + +The default value also includes spaces around the arrow, +which will allow a line to break. Replace the spaces with +&#xA0; (nonbreaking space) if you don't want those +spaces to break. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.separator.xml new file mode 100644 index 0000000000..3034f253b5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/menuchoice.separator.xml @@ -0,0 +1,32 @@ + + +menuchoice.separator +string + + +menuchoice.separator +Separator between items of a menuchoice +other than guimenuitem and +guisubmenu + + + + ++ + + + +Description + +Separator used to connect items of a menuchoice other +than guimenuitem and guisubmenu. The latter +elements are linked with menuchoice.menu.separator. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/minus.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/minus.image.xml new file mode 100644 index 0000000000..ea86e23aa6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/minus.image.xml @@ -0,0 +1,29 @@ + + +minus.image +filename + + +minus.image +Minus image + + + + +toc/open.png + + + +Description + +Specifies the filename of the minus image; the image used in a +dynamic ToC to indicate that a section +can be collapsed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.fo.xml b/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.fo.xml new file mode 100644 index 0000000000..171ec9da74 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.fo.xml @@ -0,0 +1,54 @@ + + +mml.embedding.mode +list +inline +external-graphic +instream-foreign-object + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + external-graphic + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.xml b/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.xml new file mode 100644 index 0000000000..98a5b5349b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/mml.embedding.mode.xml @@ -0,0 +1,78 @@ + + +mml.embedding.mode +list +inline +object +image +link +iframe +embed + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + inline + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/monospace.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/monospace.font.family.xml new file mode 100644 index 0000000000..7e772e9dba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/monospace.font.family.xml @@ -0,0 +1,34 @@ + + +monospace.font.family +string + + +monospace.font.family +The default font family for monospace environments + + + + +monospace + + + +Description + +The monospace font family is used for verbatim environments +(program listings, screens, etc.). + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/monospace.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/monospace.properties.xml new file mode 100644 index 0000000000..0a8425b52e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/monospace.properties.xml @@ -0,0 +1,38 @@ + + +monospace.properties +attribute set + + +monospace.properties +Properties of monospaced content + + + + + + + + + + + + +Description + +Specifies the font name for monospaced output. This property set +used to set the font-size as well, but that doesn't work very well +when different fonts are used (as they are in titles and paragraphs, +for example). + +If you want to set the font-size in a customization layer, it's +probably going to be more appropriate to set font-size-adjust, if your +formatter supports it. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.font.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.font.width.xml new file mode 100644 index 0000000000..88b88dce46 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.font.width.xml @@ -0,0 +1,40 @@ + + +monospace.verbatim.font.width +length + + +monospace.verbatim.font.width +Width of a single monospace font character + + + + +0.60em + + + +Description + +Specifies with em units the width of a single character +of the monospace font. The default value is 0.6em. + +This parameter is only used when a screen +or programlisting element has a +width attribute, which is +expressed as a plain integer to indicate the maximum character count +of each line. +To convert this character count to an actual maximum width +measurement, the width of the font characters must be provided. +Different monospace fonts have different character width, +so this parameter should be adjusted to fit the +monospace font being used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.properties.xml new file mode 100644 index 0000000000..3d7ca3dfaa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/monospace.verbatim.properties.xml @@ -0,0 +1,27 @@ + + +monospace.verbatim.properties +attribute set + + +monospace.verbatim.properties +What font and size do you want for monospaced content? + + + + + + start + no-wrap + + + +Description +Specify the font name and size you want for monospaced output + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/multiframe.bottom.bgcolor.xml b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.bottom.bgcolor.xml new file mode 100644 index 0000000000..f0667d71ba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.bottom.bgcolor.xml @@ -0,0 +1,28 @@ + + +multiframe.bottom.bgcolor +color + + +multiframe.bottom.bgcolor +Background color for bottom navigation frame + + + + +white + + + +Description + +Specifies the background color of the bottom navigation frame when +multiframe is enabled. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/multiframe.navigation.height.xml b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.navigation.height.xml new file mode 100644 index 0000000000..06dbc1c233 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.navigation.height.xml @@ -0,0 +1,28 @@ + + +multiframe.navigation.height +length + + +multiframe.navigation.height +Height of navigation frames + + + + +40 + + + +Description + +Specifies the height of the navigation frames in pixels when +multiframe is enabled. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/multiframe.top.bgcolor.xml b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.top.bgcolor.xml new file mode 100644 index 0000000000..4814fc89d5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.top.bgcolor.xml @@ -0,0 +1,28 @@ + + +multiframe.top.bgcolor +color + + +multiframe.top.bgcolor +Background color for top navigation frame + + + + +white + + + +Description + +Specifies the background color of the top navigation frame when +multiframe is enabled. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/multiframe.xml b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.xml new file mode 100644 index 0000000000..b4fbf370fe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/multiframe.xml @@ -0,0 +1,31 @@ + + +multiframe +boolean + + +multiframe +Use multiple frames for slide bodies? + + + + + + + + +Description + +If non-zero, multiple frames are used for the body of each +slide. This is one way of forcing the slide navigation elements to +appear in constant locations. The other way is with overlays. The overlay and +multiframe parameters are mutually +exclusive. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nav.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/nav.separator.xml new file mode 100644 index 0000000000..e3695f9417 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nav.separator.xml @@ -0,0 +1,28 @@ + + +nav.separator +boolean + + +nav.separator +Output separator between navigation and body? + + + + + + + + +Description + +If non-zero, a separator (<HR>) is +added between the navigation links and the content of each slide. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nav.table.summary.xml b/apache-fop/src/test/resources/docbook-xsl/params/nav.table.summary.xml new file mode 100644 index 0000000000..1c1559b210 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nav.table.summary.xml @@ -0,0 +1,27 @@ + + +nav.table.summary +string + + +nav.table.summary +HTML Table summary attribute value for navigation tables + + + + +Navigation + + + +Description +The value of this parameter is used as the value of the table +summary attribute for the navigation table. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navbgcolor.xml b/apache-fop/src/test/resources/docbook-xsl/params/navbgcolor.xml new file mode 100644 index 0000000000..c6fcececb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navbgcolor.xml @@ -0,0 +1,26 @@ + + +navbgcolor +color + + +navbgcolor +The background color of the navigation TOC + + + + +#4080FF + + + +Description +The background color of the navigation TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navbodywidth.xml b/apache-fop/src/test/resources/docbook-xsl/params/navbodywidth.xml new file mode 100644 index 0000000000..b93cf821f2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navbodywidth.xml @@ -0,0 +1,26 @@ + + +navbodywidth +length + + +navbodywidth +Specifies the width of the navigation table body + + + + + + + + +Description +The width of the body column. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.extension.xml new file mode 100644 index 0000000000..416e0c44a8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.extension.xml @@ -0,0 +1,28 @@ + + +navig.graphics.extension +string + + +navig.graphics.extension +Extension for navigational graphics + + + + +.gif + + + +Description + +Sets the filename extension to use on navigational graphics used +in the headers and footers of chunked HTML. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.path.xml b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.path.xml new file mode 100644 index 0000000000..373208e762 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.path.xml @@ -0,0 +1,30 @@ + + +navig.graphics.path +string + + +navig.graphics.path +Path to navigational graphics + + + + +images/ + + + +Description + +Sets the path, probably relative to the directory where the HTML +files are created, to the navigational graphics used in the +headers and footers of chunked HTML. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.xml b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.xml new file mode 100644 index 0000000000..03e28b61ff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navig.graphics.xml @@ -0,0 +1,31 @@ + + +navig.graphics +boolean + + +navig.graphics +Use graphics in navigational headers and footers? + + + + + + + + +Description + +If non-zero, the navigational headers and footers in chunked +HTML are presented in an alternate style that uses graphical icons for +Next, Previous, Up, and Home. Default graphics are provided in the +distribution. If zero, text is used instead of graphics. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navig.showtitles.xml b/apache-fop/src/test/resources/docbook-xsl/params/navig.showtitles.xml new file mode 100644 index 0000000000..a4eb3ff478 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navig.showtitles.xml @@ -0,0 +1,32 @@ + + +navig.showtitles +boolean + + +navig.showtitles +Display titles in HTML headers and footers? + + + +1 + + +Description + +If non-zero, +the headers and footers of chunked HTML +display the titles of the next and previous chunks, +along with the words 'Next' and 'Previous' (or the +equivalent graphical icons if navig.graphics is true). +If false (zero), then only the words 'Next' and 'Previous' +(or the icons) are displayed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/navtocwidth.xml b/apache-fop/src/test/resources/docbook-xsl/params/navtocwidth.xml new file mode 100644 index 0000000000..0d21ae03ba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/navtocwidth.xml @@ -0,0 +1,26 @@ + + +navtocwidth +length + + +navtocwidth +Specifies the width of the navigation table TOC + + + + +220 + + + +Description +The width, in pixels, of the navigation column. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/next.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/next.image.xml new file mode 100644 index 0000000000..4dbd60a99e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/next.image.xml @@ -0,0 +1,27 @@ + + +next.image +filename + + +next.image +Right-arrow image + + + + +active/nav-next.png + + + +Description + +Specifies the filename of the right-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/no.home.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/no.home.image.xml new file mode 100644 index 0000000000..2f4ecd867e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/no.home.image.xml @@ -0,0 +1,27 @@ + + +no.home.image +filename + + +no.home.image +Inactive home image + + + + +inactive/nav-home.png + + + +Description + +Specifies the filename of the inactive home navigation icon. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/no.next.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/no.next.image.xml new file mode 100644 index 0000000000..966fe2647c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/no.next.image.xml @@ -0,0 +1,27 @@ + + +no.next.image +filename + + +no.next.image +Inactive right-arrow image + + + + +inactive/nav-next.png + + + +Description + +Specifies the filename of the inactive right-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/no.prev.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/no.prev.image.xml new file mode 100644 index 0000000000..7632231124 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/no.prev.image.xml @@ -0,0 +1,27 @@ + + +no.prev.image +filename + + +no.prev.image +Inactive left-arrow image + + + + +inactive/nav-prev.png + + + +Description + +Specifies the filename of the inactive left-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/no.toc.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/no.toc.image.xml new file mode 100644 index 0000000000..43e9eea95d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/no.toc.image.xml @@ -0,0 +1,27 @@ + + +no.toc.image +filename + + +no.toc.image +Inactive ToC image + + + + +inactive/nav-toc.png + + + +Description + +Specifies the filename of the inactive ToC navigation icon. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/no.up.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/no.up.image.xml new file mode 100644 index 0000000000..a19a34d00a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/no.up.image.xml @@ -0,0 +1,27 @@ + + +no.up.image +filename + + +no.up.image +Inactive up-arrow image + + + + +inactive/nav-up.png + + + +Description + +Specifies the filename of the inactive upward-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.depth.xml new file mode 100644 index 0000000000..a4e615f02d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.depth.xml @@ -0,0 +1,27 @@ + + +nominal.image.depth +length + + +nominal.image.depth +Nominal image depth + + + + + + + + +Description + +See nominal.image.width. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.width.xml new file mode 100644 index 0000000000..bfa989a2c8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nominal.image.width.xml @@ -0,0 +1,43 @@ + + +nominal.image.width +length + + +nominal.image.width +The nominal image width + + + + + + + + +Description + +Graphic widths expressed as a percentage are problematic. In the +following discussion, we speak of width and contentwidth, but +the same issues apply to depth and contentdepth. + +A width of 50% means "half of the available space for the image." +That's fine. But note that in HTML, this is a dynamic property and +the image size will vary if the browser window is resized. + +A contentwidth of 50% means "half of the actual image width". +But what does that mean if the stylesheets cannot assess the image's +actual size? Treating this as a width of 50% is one possibility, but +it produces behavior (dynamic scaling) that seems entirely out of +character with the meaning. + +Instead, the stylesheets define a +nominal.image.width and convert percentages to +actual values based on that nominal size. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nominal.table.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/nominal.table.width.xml new file mode 100644 index 0000000000..f5dcfb933e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nominal.table.width.xml @@ -0,0 +1,30 @@ + + +nominal.table.width +length + + +nominal.table.width +The (absolute) nominal width of tables + + + + +6in + + + +Description + +In order to convert CALS column widths into HTML column widths, it +is sometimes necessary to have an absolute table width to use for conversion +of mixed absolute and relative widths. This value must be an absolute +length (not a percentage). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/nongraphical.admonition.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/nongraphical.admonition.properties.xml new file mode 100644 index 0000000000..ba8a06a5ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/nongraphical.admonition.properties.xml @@ -0,0 +1,41 @@ + + +nongraphical.admonition.properties +attribute set + + +nongraphical.admonition.properties +To add properties to the outer block of a nongraphical admonition. + + + + + 0.8em + 1em + 1.2em + 0.25in + 0.25in + + + +Description +These properties are added to the outer block containing the +entire nongraphical admonition, including its title. +It is used when the parameter +admon.graphics is set to zero. +Use this attribute-set to set the space above and below, +and any indent for the whole admonition. + +In addition to these properties, a nongraphical admonition +also applies the admonition.title.properties +attribute-set to the title, and the +admonition.properties attribute-set +to the rest of the content. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/normal.para.spacing.xml b/apache-fop/src/test/resources/docbook-xsl/params/normal.para.spacing.xml new file mode 100644 index 0000000000..9ad7488a6b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/normal.para.spacing.xml @@ -0,0 +1,43 @@ + + +normal.para.spacing +attribute set + + +normal.para.spacing +What space do you want between normal paragraphs + + + + + 1em + 0.8em + 1.2em + + +Description +Specify the spacing required between normal paragraphs as well as +the following block-level elements: + +ackno +acknowledgements +cmdsynopsis +glosslist +sidebar +simpara +simplelist + +To customize the spacing, you need to reset all three attributes. + +To specify properties on just para elements without +affecting these other elements, +use the +para.properties +attribute-set. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.base.uri.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.base.uri.xml new file mode 100644 index 0000000000..d88dd62d20 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.base.uri.xml @@ -0,0 +1,35 @@ + + +olink.base.uri +uri + + +olink.base.uri +Base URI used in olink hrefs + + + + + +Description + +When cross reference data is collected for resolving olinks, it +may be necessary to prepend a base URI to each target's href. This +parameter lets you set that base URI when cross reference data is +collected. This feature is needed when you want to link to a document +that is processed without chunking. The output filename for such a +document is not known to the XSL stylesheet; the only target +information consists of fragment identifiers such as +#idref. To enable the resolution of olinks between +documents, you should pass the name of the HTML output file as the +value of this parameter. Then the hrefs recorded in the cross +reference data collection look like +outfile.html#idref, which can be reached as links +from other documents. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.debug.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.debug.xml new file mode 100644 index 0000000000..e49a176222 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.debug.xml @@ -0,0 +1,36 @@ + + +olink.debug +boolean + + +olink.debug +Turn on debugging messages for olinks + + + + + + + + +Description + +If non-zero, then each olink will generate several +messages about how it is being resolved during processing. +This is useful when an olink does not resolve properly +and the standard error messages are not sufficient to +find the problem. + + +You may need to read through the olink XSL templates +to understand the context for some of the debug messages. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.doctitle.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.doctitle.xml new file mode 100644 index 0000000000..356347da55 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.doctitle.xml @@ -0,0 +1,146 @@ + + +olink.doctitle +list +no +yes +maybe + + +olink.doctitle +show the document title for external olinks? + + + +no + + +Description + +When olinks between documents are resolved, the generated text +may not make it clear that the reference is to another document. +It is possible for the stylesheets to append the other document's +title to external olinks. For this to happen, two parameters must +be set. + + +This olink.doctitle parameter +should be set to either yes or maybe +to enable this feature. + + + +And you should also set the current.docid +parameter to the document id for the document currently +being processed for output. + + + + + +Then if an olink's targetdoc id differs from +the current.docid value, the stylesheet knows +that it is a reference to another document and can +append the target document's +title to the generated olink text. + +The text for the target document's title is copied from the +olink database from the ttl element +of the top-level div for that document. +If that ttl element is missing or empty, +no title is output. + + +The supported values for olink.doctitle are: + + + +yes + + +Always insert the title to the target document if it is not +the current document. + + + + +no + + +Never insert the title to the target document, even if requested +in an xrefstyle attribute. + + + + +maybe + + +Only insert the title to the target document, if requested +in an xrefstyle attribute. + + + + +An xrefstyle attribute +may override the global setting for individual olinks. +The following values are supported in an +xrefstyle +attribute using the select: syntax: + + + + +docname + + +Insert the target document name for this olink using the +docname gentext template, but only +if the value of olink.doctitle +is not no. + + + + +docnamelong + + +Insert the target document name for this olink using the +docnamelong gentext template, but only +if the value of olink.doctitle +is not no. + + + + +nodocname + + +Omit the target document name even if +the value of olink.doctitle +is yes. + + + + +Another way of inserting the target document name +for a single olink is to employ an +xrefstyle +attribute using the template: syntax. +The %o placeholder (the letter o, not zero) +in such a template +will be filled in with the target document's title when it is processed. +This will occur regardless of +the value of olink.doctitle. + +Note that prior to version 1.66 of the XSL stylesheets, +the allowed values for this parameter were 0 and 1. Those +values are still supported and mapped to 'no' and 'yes', respectively. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.fragid.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.fragid.xml new file mode 100644 index 0000000000..32580383a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.fragid.xml @@ -0,0 +1,23 @@ + + +olink.fragid +string + + +olink.fragid +Names the fragment identifier portion of an OLink resolver query + + + +fragid= + + +Description +The fragment identifier portion of an olink target. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.lang.fallback.sequence.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.lang.fallback.sequence.xml new file mode 100644 index 0000000000..7d3d8113bf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.lang.fallback.sequence.xml @@ -0,0 +1,83 @@ + + +olink.lang.fallback.sequence +string + + +olink.lang.fallback.sequence +look up translated documents if olink not found? + + + + + + +Description + + +This parameter defines a list of lang values +to search among to resolve olinks. + + +Normally an olink tries to resolve to a document in the same +language as the olink itself. The language of an olink +is determined by its nearest ancestor element with a +lang attribute, otherwise the +value of the l10n.gentext.default.lang +parameter. + + +An olink database can contain target data for the same +document in multiple languages. Each set of data has the +same value for the targetdoc attribute in +the document element in the database, but with a +different lang attribute value. + + +When an olink is being resolved, the target is first +sought in the document with the same language as the olink. +If no match is found there, then this parameter is consulted +for additional languages to try. + +The olink.lang.fallback.sequence +must be a whitespace separated list of lang values to +try. The first one with a match in the olink database is used. +The default value is empty. + +For example, a document might be written in German +and contain an olink with +targetdoc="adminguide". +When the document is processed, the processor +first looks for a target dataset in the +olink database starting with: + +<document targetdoc="adminguide" lang="de">. + + +If there is no such element, then the +olink.lang.fallback.sequence +parameter is consulted. +If its value is, for example, fr en, then the processor next +looks for targetdoc="adminguide" lang="fr", and +then for targetdoc="adminguide" lang="en". +If there is still no match, it looks for +targetdoc="adminguide" with no +lang attribute. + + +This parameter is useful when a set of documents is only +partially translated, or is in the process of being translated. +If a target of an olink has not yet been translated, then this +parameter permits the processor to look for the document in +other languages. This assumes the reader would rather have +a link to a document in a different language than to have +a broken link. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.outline.ext.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.outline.ext.xml new file mode 100644 index 0000000000..2de2fe2d57 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.outline.ext.xml @@ -0,0 +1,28 @@ + + +olink.outline.ext +string + + +olink.outline.ext +The extension of OLink outline files + + + + +.olink + + + +Description + +The extension to be expected for OLink outline files +Bob has this parameter as dead. Please don't use + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.properties.xml new file mode 100644 index 0000000000..b76657e7ce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.properties.xml @@ -0,0 +1,33 @@ + + +olink.properties +attribute set + + +olink.properties +Properties associated with the cross-reference +text of an olink. + + + + + + replace + + + + +Description + +This attribute set is applied to the +fo:basic-link element of an olink. It is not applied to the +optional page number or optional title of the external +document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.pubid.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.pubid.xml new file mode 100644 index 0000000000..4f0b50c6c4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.pubid.xml @@ -0,0 +1,27 @@ + + +olink.pubid +string + + +olink.pubid +Names the public identifier portion of an OLink resolver query + + + + +pubid + + + +Description + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.resolver.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.resolver.xml new file mode 100644 index 0000000000..fa7d471ba4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.resolver.xml @@ -0,0 +1,23 @@ + + +olink.resolver +string + + +olink.resolver +The root name of the OLink resolver (usually a script) + + + + /cgi-bin/olink + + +Description +FIXME: + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/olink.sysid.xml b/apache-fop/src/test/resources/docbook-xsl/params/olink.sysid.xml new file mode 100644 index 0000000000..6d4542f5d8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/olink.sysid.xml @@ -0,0 +1,27 @@ + + +olink.sysid +string + + +olink.sysid +Names the system identifier portion of an OLink resolver query + + + + +sysid + + + +Description + +FIXME + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.properties.xml new file mode 100644 index 0000000000..39b0432952 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.properties.xml @@ -0,0 +1,26 @@ + + +orderedlist.label.properties +attribute set + + +orderedlist.label.properties +Properties that apply to each label inside ordered list. + + + + + + +Description +Properties that apply to each label inside ordered list. E.g.: +<xsl:attribute-set name="orderedlist.label.properties"> + <xsl:attribute name="text-align">right</xsl:attribute> +</xsl:attribute-set> + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.width.xml new file mode 100644 index 0000000000..18c8fa84cc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.label.width.xml @@ -0,0 +1,28 @@ + + +orderedlist.label.width +length + + +orderedlist.label.width +The default width of the label (number) in an ordered list. + + + + +1.2em + + + +Description +Specifies the default width of the label (usually a number or +sequence of numbers) in an ordered list. You can override the default +value on any particular list with the “dbfo†processing instruction +using the “label-width†pseudoattribute. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.properties.xml new file mode 100644 index 0000000000..59061cb3da --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/orderedlist.properties.xml @@ -0,0 +1,24 @@ + + +orderedlist.properties +attribute set + + +orderedlist.properties +Properties that apply to each list-block generated by orderedlist. + + + + + 2em + + +Description +Properties that apply to each fo:list-block generated by orderedlist. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/othercredit.like.author.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/othercredit.like.author.enabled.xml new file mode 100644 index 0000000000..2e789dd09e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/othercredit.like.author.enabled.xml @@ -0,0 +1,31 @@ + + +othercredit.like.author.enabled +boolean + + +othercredit.like.author.enabled +Display othercredit in same style as author? + + + +0 + + +Description + +If non-zero, output of the +othercredit element on titlepages is displayed in +the same style as author and +editor output. If zero then +othercredit output is displayed using a style +different than that of author and +editor. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/outer.region.content.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/outer.region.content.properties.xml new file mode 100644 index 0000000000..43695c6bf5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/outer.region.content.properties.xml @@ -0,0 +1,47 @@ + + +outer.region.content.properties +attribute set + + +outer.region.content.properties +Properties of running outer side content + + + + + + + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the fo:block in the side region +on the outer side (opposite the binding side) of the page. +This corresponds to the start +region on odd-numbered pages and the end +region on even-numbered pages. +For single-sided output, it always corresponds to +the start region. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +region.outer.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/output-root.xml b/apache-fop/src/test/resources/docbook-xsl/params/output-root.xml new file mode 100644 index 0000000000..d37b054c72 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/output-root.xml @@ -0,0 +1,28 @@ + + +output-root +filename + + +output-root +Specifies the root directory of the website + + + + +. + + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to indicate the root directory +where the resulting pages are placed. +Only applies when XSLT-based chunking is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/output.indent.xml b/apache-fop/src/test/resources/docbook-xsl/params/output.indent.xml new file mode 100644 index 0000000000..40406d7a07 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/output.indent.xml @@ -0,0 +1,32 @@ + + +output.indent +list +no +yes + + +output.indent +Indent output? + + + + +no + + + +Description + +Specifies the setting of the indent +parameter on the HTML slides. For more information, see the discussion +of the xsl:output element in the XSLT specification. +Select from yes or no. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/overlay.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/overlay.js.xml new file mode 100644 index 0000000000..162f87aa36 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/overlay.js.xml @@ -0,0 +1,28 @@ + + +overlay.js +filename + + +overlay.js +Overlay JavaScript file + + + + +overlay.js + + + +Description + +Specifies the filename of the overlay JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/overlay.logo.xml b/apache-fop/src/test/resources/docbook-xsl/params/overlay.logo.xml new file mode 100644 index 0000000000..e740771185 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/overlay.logo.xml @@ -0,0 +1,28 @@ + + +overlay.logo +uri + + +overlay.logo +Logo to overlay on ToC frame + + + + +http://docbook.sourceforge.net/release/buttons/slides-1.png + + + +Description + +If this URI is non-empty, JavaScript is used to overlay the +specified image on the ToC frame. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/overlay.xml b/apache-fop/src/test/resources/docbook-xsl/params/overlay.xml new file mode 100644 index 0000000000..f955b23a77 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/overlay.xml @@ -0,0 +1,32 @@ + + +overlay +boolean + + +overlay +Overlay footer navigation? + + + + + + + + +Description + +If non-zero, JavaScript is added to the slides to make the +bottom navigation appear at the bottom of each page. This option and +multiframe are mutually exclusive. + +If this parameter is zero, the bottom navigation simply appears +below the content of each slide. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.height.portrait.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.height.portrait.xml new file mode 100644 index 0000000000..22f9ca98f5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.height.portrait.xml @@ -0,0 +1,71 @@ + + +page.height.portrait +length + + +page.height.portrait +Specify the physical size of the long edge of the page + + + + + + 210mm + 11in + 8.5in + 14in + 8.5in + 2378mm + 1682mm + 1189mm + 841mm + 594mm + 420mm + 297mm + 210mm + 148mm + 105mm + 74mm + 52mm + 37mm + 1414mm + 1000mm + 707mm + 500mm + 353mm + 250mm + 176mm + 125mm + 88mm + 62mm + 44mm + 1297mm + 917mm + 648mm + 458mm + 324mm + 229mm + 162mm + 114mm + 81mm + 57mm + 40mm + 11in + + + + +Description + +The portrait page height is the length of the long +edge of the physical page. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.height.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.height.xml new file mode 100644 index 0000000000..96e32c0e56 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.height.xml @@ -0,0 +1,37 @@ + + +page.height +length + + +page.height +The height of the physical page + + + + + + + + + + + + + + + +Description + +The page height is generally calculated from the +paper.type and +page.orientation parameters. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.margin.bottom.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.bottom.xml new file mode 100644 index 0000000000..e1877f3ab5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.bottom.xml @@ -0,0 +1,29 @@ + + +page.margin.bottom +length + + +page.margin.bottom +The bottom margin of the page + + + + +0.5in + + + +Description + +The bottom page margin is the distance from the bottom of the region-after +to the physical bottom of the page. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.margin.inner.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.inner.xml new file mode 100644 index 0000000000..4e6593eebf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.inner.xml @@ -0,0 +1,58 @@ + + +page.margin.inner +length + + +page.margin.inner +The inner page margin + + + + + + 1.25in + 1in + + + + +Description + +The inner page margin is the distance from bound edge of the +page to the first column of text. + +The inner page margin is the distance from bound edge of the +page to the outer edge of the first column of text. + +In left-to-right text direction, +this is the left margin of recto (front side) pages. +For single-sided output, it is the left margin +of all pages. + +In right-to-left text direction, +this is the right margin of recto pages. +For single-sided output, this is the +right margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.margin.outer.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.outer.xml new file mode 100644 index 0000000000..4536342bde --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.outer.xml @@ -0,0 +1,55 @@ + + +page.margin.outer +length + + +page.margin.outer +The outer page margin + + + + + + 0.75in + 1in + + + + +Description + +The outer page margin is the distance from non-bound edge of the +page to the outer edge of the last column of text. + +In left-to-right text direction, +this is the right margin of recto (front side) pages. +For single-sided output, it is the right margin +of all pages. + +In right-to-left text direction, +this is the left margin of recto pages. +For single-sided output, this is the +left margin of all pages. + + +Current versions (at least as of version 4.13) +of the XEP XSL-FO processor do not +correctly handle these margin settings for documents +with right-to-left text direction. +The workaround in that situation is to reverse +the values for page.margin.inner +and page.margin.outer, until +this bug is fixed by RenderX. It does not affect documents +with left-to-right text direction. + + +See also writing.mode. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.margin.top.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.top.xml new file mode 100644 index 0000000000..a7e53e86ec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.margin.top.xml @@ -0,0 +1,28 @@ + + +page.margin.top +length + + +page.margin.top +The top margin of the page + + + + +0.5in + + + +Description + +The top page margin is the distance from the physical top of the +page to the top of the region-before. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.orientation.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.orientation.xml new file mode 100644 index 0000000000..37971c0c65 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.orientation.xml @@ -0,0 +1,32 @@ + + +page.orientation +list +portrait +landscape + + +page.orientation +Select the page orientation + + + + +portrait + + + +Description + + Select one from portrait or landscape. +In portrait orientation, the short edge is horizontal; in +landscape orientation, it is vertical. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.width.portrait.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.width.portrait.xml new file mode 100644 index 0000000000..98bf30a171 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.width.portrait.xml @@ -0,0 +1,70 @@ + + +page.width.portrait +length + + +page.width.portrait +Specify the physical size of the short edge of the page + + + + + + 8.5in + 11in + 8.5in + 14in + 1682mm + 1189mm + 841mm + 594mm + 420mm + 297mm + 210mm + 148mm + 105mm + 74mm + 52mm + 37mm + 26mm + 1000mm + 707mm + 500mm + 353mm + 250mm + 176mm + 125mm + 88mm + 62mm + 44mm + 31mm + 917mm + 648mm + 458mm + 324mm + 229mm + 162mm + 114mm + 81mm + 57mm + 40mm + 28mm + 8.5in + + + + +Description + +The portrait page width is the length of the short +edge of the physical page. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/page.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/page.width.xml new file mode 100644 index 0000000000..ff160602cc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/page.width.xml @@ -0,0 +1,36 @@ + + +page.width +length + + +page.width +The width of the physical page + + + + + + + + + + + + + + + +Description + +The page width is generally calculated from the +paper.type and +page.orientation parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/pages.template.xml b/apache-fop/src/test/resources/docbook-xsl/params/pages.template.xml new file mode 100644 index 0000000000..fff546c104 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/pages.template.xml @@ -0,0 +1,29 @@ + + +pages.template +uri + + +pages.template +Specify the template Pages document + + + + + + + + +Description + +The pages.template parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/paper.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/paper.type.xml new file mode 100644 index 0000000000..2656c9cbdc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/paper.type.xml @@ -0,0 +1,73 @@ + + +paper.type +list +open +open +USletter8.5x11in +USlandscape11x8.5in +USlegal8.5inx14in +USlegallandscape14inx8.5in +4A02378x1682mm +2A01682x1189mm +A01189x841mm +A1841x594mm +A2594x420mm +A3420x297mm +A4297x210mm +A5210x148mm +A6148x105mm +A7105x74mm +A874x52mm +A952x37mm +A1037x26mm +B01414x1000mm +B11000x707mm +B2707x500mm +B3500x353mm +B4353x250mm +B5250x176mm +B6176x125mm +B7125x88mm +B888x62mm +B962x44mm +B1044x31mm +C01297x917mm +C1917x648mm +C2648x458mm +C3458x324mm +C4324x229mm +C5229x162mm +C6162x114mm +C7114x81mm +C881x57mm +C957x40mm +C1040x28mm + + +paper.type +Select the paper type + + + + +USletter + + + +Description + +The paper type is a convenient way to specify the paper size. +The list of known paper sizes includes USletter and most of the A, +B, and C sizes. See page.width.portrait, for example. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/para.propagates.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/para.propagates.style.xml new file mode 100644 index 0000000000..0415adf27b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/para.propagates.style.xml @@ -0,0 +1,29 @@ + + +para.propagates.style +boolean + + +para.propagates.style +Pass para role attribute through to HTML? + + + + + + + + +Description + +If true, the role attribute of para elements +will be passed through to the HTML as a class attribute on the +p generated for the paragraph. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/para.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/para.properties.xml new file mode 100644 index 0000000000..e36c33ad36 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/para.properties.xml @@ -0,0 +1,31 @@ + + +para.properties +attribute set + + +para.properties +Properties to apply to para elements + + + + + + +Description +Specify properties to apply to the fo:block of a para element, +such as text-indent. +Although the default attribute-set is empty, it uses the attribute-set +named normal.para.spacing to add vertical space before +each para. The para.properties attribute-set can override those +spacing properties for para only. +See also +normal.para.spacing. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/part.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/part.autolabel.xml new file mode 100644 index 0000000000..4f1a42c5e0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/part.autolabel.xml @@ -0,0 +1,73 @@ + + +part.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +part.autolabel +Specifies the labeling format for Part titles + + + + +I + + + +Description + +If non-zero, then parts will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (upperroman). + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/passivetex.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/passivetex.extensions.xml new file mode 100644 index 0000000000..36f5977cc0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/passivetex.extensions.xml @@ -0,0 +1,30 @@ + + +passivetex.extensions +boolean + + +passivetex.extensions +Enable PassiveTeX extensions? + + + + + + +Description + +The PassiveTeX XSL-FO processor is +no longer supported by DocBook XSL, beginning with version 1.78. + +PassiveTeX was never a complete implementation of +XSL-FO, and development has ceased. Setting this parameter will +have no effect on the output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/pgwide.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/pgwide.properties.xml new file mode 100644 index 0000000000..c63b4615bc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/pgwide.properties.xml @@ -0,0 +1,52 @@ + + +pgwide.properties +attribute set + + +pgwide.properties +Properties to make a figure or table page wide. + + + + + + + 0pt + + + + +Description + +This attribute set is used to set the properties +that make a figure or table "page wide" in fo output. +It comes into effect when an attribute pgwide="1" +is used. + + + +By default, it sets start-indent +to 0pt. +In a stylesheet that sets the parameter +body.start.indent +to a non-zero value in order to indent body text, +this attribute set can be used to outdent pgwide +figures to the start margin. + + +If a document uses a multi-column page layout, +then this attribute set could try setting span +to a value of all. However, this may +not work with some processors because a span property must be on an +fo:block that is a direct child of fo:flow. It may work in +some processors anyway. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/phrase.propagates.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/phrase.propagates.style.xml new file mode 100644 index 0000000000..8c2589226c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/phrase.propagates.style.xml @@ -0,0 +1,29 @@ + + +phrase.propagates.style +boolean + + +phrase.propagates.style +Pass phrase role attribute through to HTML? + + + + + + + +Description + +If non-zero, the role attribute of phrase elements +will be passed through to the HTML as a class +attribute on a span that surrounds the +phrase. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/pixels.per.inch.xml b/apache-fop/src/test/resources/docbook-xsl/params/pixels.per.inch.xml new file mode 100644 index 0000000000..86faff5ce5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/pixels.per.inch.xml @@ -0,0 +1,31 @@ + + +pixels.per.inch +integer + + +pixels.per.inch +How many pixels are there per inch? + + + + +90 + + + +Description + +When lengths are converted to pixels, this value is used to +determine the size of a pixel. The default value is taken from the +XSL +Recommendation. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/plus.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/plus.image.xml new file mode 100644 index 0000000000..17b3d3ca2b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/plus.image.xml @@ -0,0 +1,29 @@ + + +plus.image +filename + + +plus.image +Plus image + + + + +toc/closed.png + + + +Description + +Specifies the filename of the plus image; the image used in a +dynamic ToC to indicate that a section +can be expanded. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/points.per.em.xml b/apache-fop/src/test/resources/docbook-xsl/params/points.per.em.xml new file mode 100644 index 0000000000..76bd22e8a3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/points.per.em.xml @@ -0,0 +1,29 @@ + + +points.per.em +number + + +points.per.em +Specify the nominal size of an em-space in points + + + + +10 + + + +Description + +The fixed value used for calculations based upon the size of a +character. The assumption made is that ten point font is in use. This +assumption may not be valid. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/preface.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/preface.autolabel.xml new file mode 100644 index 0000000000..f59115a51a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/preface.autolabel.xml @@ -0,0 +1,71 @@ + + +preface.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +preface.autolabel +Specifices the labeling format for Preface titles + + + + + + +Description + +If non-zero then prefaces will be numbered using the parameter +value as the number format if the value matches one of the following: + + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + + +Any nonzero value other than the above will generate +the default number format (arabic). + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/prefer.internal.olink.xml b/apache-fop/src/test/resources/docbook-xsl/params/prefer.internal.olink.xml new file mode 100644 index 0000000000..2599d76c1a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/prefer.internal.olink.xml @@ -0,0 +1,78 @@ + + +prefer.internal.olink +boolean + + +prefer.internal.olink +Prefer a local olink reference to an external reference + + + + + + + + +Description + +If you are re-using XML content modules in multiple documents, +you may want to redirect some of your olinks. This parameter +permits you to redirect an olink to the current document. + + +For example: you are writing documentation for a product, +which includes 3 manuals: a little installation +booklet (booklet.xml), a user +guide (user.xml), and a reference manual (reference.xml). +All 3 documents begin with the same introduction section (intro.xml) that +contains a reference to the customization section (custom.xml) which is +included in both user.xml and reference.xml documents. + + +How do you write the link to custom.xml in intro.xml +so that it is interpreted correctly in all 3 documents? + +If you use xref, it will fail in user.xml. + +If you use olink (pointing to reference.xml), +the reference in user.xml +will point to the customization section of the reference manual, while it is +actually available in user.xml. + + + +If you set the prefer.internal.olink +parameter to a non-zero value, then the processor will +first look in the olink database +for the olink's targetptr attribute value +in document matching the current.docid +parameter value. If it isn't found there, then +it tries the document in the database +with the targetdoc +value that matches the olink's targetdoc +attribute. + + +This feature permits an olink reference to resolve to +the current document if there is an element +with an id matching the olink's targetptr +value. The current document's olink data must be +included in the target database for this to work. + + +There is a potential for incorrect links if +the same id attribute value is used for different +content in different documents. +Some of your olinks may be redirected to the current document +when they shouldn't be. It is not possible to control +individual olink instances. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/preferred.mediaobject.role.xml b/apache-fop/src/test/resources/docbook-xsl/params/preferred.mediaobject.role.xml new file mode 100644 index 0000000000..57b09890b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/preferred.mediaobject.role.xml @@ -0,0 +1,40 @@ + + +preferred.mediaobject.role +string + + +preferred.mediaobject.role +Select which mediaobject to use based on +this value of an object's role attribute. + + + + + + + + + +Description + +A mediaobject may contain several objects such as imageobjects. +If the parameter use.role.for.mediaobject is +non-zero, then the role attribute on +imageobjects and other objects within a +mediaobject container will be used to select which object +will be used. If one of the objects has a role value that matches the +preferred.mediaobject.role parameter, then it +has first priority for selection. If more than one has such a role +value, the first one is used. + + +See the use.role.for.mediaobject parameter +for the sequence of selection. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/prev.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/prev.image.xml new file mode 100644 index 0000000000..b01711579f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/prev.image.xml @@ -0,0 +1,27 @@ + + +prev.image +filename + + +prev.image +Left-arrow image + + + + +active/nav-prev.png + + + +Description + +Specifies the filename of the left-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/procedure.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/procedure.properties.xml new file mode 100644 index 0000000000..f6cadb02a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/procedure.properties.xml @@ -0,0 +1,29 @@ + + +procedure.properties +attribute set + + +procedure.properties +Properties associated with a procedure + + + + + + auto + + + + +Description + +The styling for procedures. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/process.empty.source.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/process.empty.source.toc.xml new file mode 100644 index 0000000000..772b456667 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/process.empty.source.toc.xml @@ -0,0 +1,39 @@ + + +process.empty.source.toc +boolean + + +process.empty.source.toc +Generate automated TOC if toc element occurs in a source document? + + + + + + +Description + +Specifies that if an empty toc element is found in a +source document, an automated TOC is generated at this point in the +document. + + Depending on what the value of the + generate.toc parameter is, setting this + parameter to 1 could result in generation of + duplicate automated TOCs. So the + process.empty.source.toc is primarily useful + as an "override": by placing an empty toc in your + document and setting this parameter to 1, you can + force a TOC to be generated even if generate.toc + says not to. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/process.source.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/process.source.toc.xml new file mode 100644 index 0000000000..b91657a9a3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/process.source.toc.xml @@ -0,0 +1,39 @@ + + +process.source.toc +boolean + + +process.source.toc +Process a non-empty toc element if it occurs in a source document? + + + + + + +Description + +Specifies that the contents of a non-empty "hard-coded" +toc element in a source document are processed to +generate a TOC in output. + + This parameter has no effect on automated generation of + TOCs. An automated TOC may still be generated along with the + "hard-coded" TOC. To suppress automated TOC generation, adjust the + value of the generate.toc paramameter. + + The process.source.toc parameter also has + no effect if the toc element is empty; handling + for empty toc is controlled by the + process.empty.source.toc parameter. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.arch.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.arch.xml new file mode 100644 index 0000000000..afcd34c44f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.arch.xml @@ -0,0 +1,39 @@ + + +profile.arch +string + + +profile.arch +Target profile for arch +attribute + + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.attribute.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.attribute.xml new file mode 100644 index 0000000000..e7dc5d01c6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.attribute.xml @@ -0,0 +1,34 @@ + + +profile.attribute +string + + +profile.attribute +Name of user-specified profiling attribute + + + + + + + + +Description + +This parameter is used in conjuction with +profile.value. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.audience.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.audience.xml new file mode 100644 index 0000000000..1c5b1a3093 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.audience.xml @@ -0,0 +1,38 @@ + + +profile.audience +string + + +profile.audience +Target profile for audience +attribute + + + + + + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.condition.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.condition.xml new file mode 100644 index 0000000000..8bb01a3605 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.condition.xml @@ -0,0 +1,38 @@ + + +profile.condition +string + + +profile.condition +Target profile for condition +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.conformance.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.conformance.xml new file mode 100644 index 0000000000..606af4ca06 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.conformance.xml @@ -0,0 +1,38 @@ + + +profile.conformance +string + + +profile.conformance +Target profile for conformance +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.lang.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.lang.xml new file mode 100644 index 0000000000..43b9439aa5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.lang.xml @@ -0,0 +1,38 @@ + + +profile.lang +string + + +profile.lang +Target profile for lang +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.os.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.os.xml new file mode 100644 index 0000000000..ba6f430b08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.os.xml @@ -0,0 +1,38 @@ + + +profile.os +string + + +profile.os +Target profile for os +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.revision.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.revision.xml new file mode 100644 index 0000000000..28f668d94e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.revision.xml @@ -0,0 +1,38 @@ + + +profile.revision +string + + +profile.revision +Target profile for revision +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.revisionflag.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.revisionflag.xml new file mode 100644 index 0000000000..3ab8919bee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.revisionflag.xml @@ -0,0 +1,38 @@ + + +profile.revisionflag +string + + +profile.revisionflag +Target profile for revisionflag +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.role.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.role.xml new file mode 100644 index 0000000000..5758e4aecb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.role.xml @@ -0,0 +1,54 @@ + + +profile.role +string + + +profile.role +Target profile for role +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + +Note that role is often +used for other purposes than profiling. For example it is commonly +used to get emphasize in bold font: + +<emphasis role="bold">very important</emphasis> + +If you are using role for +these purposes do not forget to add values like bold to +value of this parameter. If you forgot you will get document with +small pieces missing which are very hard to track. + +For this reason it is not recommended to use role attribute for profiling. You should +rather use profiling specific attributes like userlevel, os, arch, condition, etc. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.security.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.security.xml new file mode 100644 index 0000000000..8ffca0f628 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.security.xml @@ -0,0 +1,38 @@ + + +profile.security +string + + +profile.security +Target profile for security +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.separator.xml new file mode 100644 index 0000000000..a4317f53ea --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.separator.xml @@ -0,0 +1,27 @@ + + +profile.separator +string + + +profile.separator +Separator character for compound profile values + + + + +; + + + +Description + +Separator character used for compound profile values. See profile.arch + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.status.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.status.xml new file mode 100644 index 0000000000..c9fc469c8f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.status.xml @@ -0,0 +1,38 @@ + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.userlevel.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.userlevel.xml new file mode 100644 index 0000000000..39e263b144 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.userlevel.xml @@ -0,0 +1,38 @@ + + +profile.userlevel +string + + +profile.userlevel +Target profile for userlevel +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.value.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.value.xml new file mode 100644 index 0000000000..85f7190170 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.value.xml @@ -0,0 +1,41 @@ + + +profile.value +string + + +profile.value +Target profile for user-specified attribute + + + + + + + + +Description + +When you are using this parameter you must also specify name of +profiling attribute with parameter +profile.attribute. + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.vendor.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.vendor.xml new file mode 100644 index 0000000000..c0187f000c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.vendor.xml @@ -0,0 +1,38 @@ + + +profile.vendor +string + + +profile.vendor +Target profile for vendor +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/profile.wordsize.xml b/apache-fop/src/test/resources/docbook-xsl/params/profile.wordsize.xml new file mode 100644 index 0000000000..e30ffc7fcd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/profile.wordsize.xml @@ -0,0 +1,38 @@ + + +profile.wordsize +string + + +profile.wordsize +Target profile for wordsize +attribute + + + + + + + + +Description + +The value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/punct.honorific.xml b/apache-fop/src/test/resources/docbook-xsl/params/punct.honorific.xml new file mode 100644 index 0000000000..7c8a38e485 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/punct.honorific.xml @@ -0,0 +1,28 @@ + + +punct.honorific +string + + +punct.honorific +Punctuation after an honorific in a personal name. + + + + +. + + + +Description + +This parameter specifies the punctuation that should be added after an +honorific in a personal name. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.defaultlabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.defaultlabel.xml new file mode 100644 index 0000000000..0b43f0d8b9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.defaultlabel.xml @@ -0,0 +1,86 @@ + + +qanda.defaultlabel +list +number +qanda +none + + +qanda.defaultlabel +Sets the default for defaultlabel on QandASet. + + + + +number + + + +Description + +If no defaultlabel attribute is specified on +a qandaset, this value is used. It is generally one of the legal +values for the defaultlabel attribute (none, +number or +qanda), or one of the additional stylesheet-specific values +(qnumber or qnumberanda). +The default value is 'number'. + +The values are rendered as follows: + +qanda + +questions are labeled "Q:" and +answers are labeled "A:". + + + +number + +The questions are enumerated and the answers +are not labeled. + + + +qnumber + +The questions are labeled "Q:" followed by a number, and answers are not +labeled. +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +qnumberanda + +The questions are labeled "Q:" followed by a number, and +the answers are labeled "A:". +When sections are numbered, adding a label +to the number distinguishes the question numbers +from the section numbers. +This value is not allowed in the +defaultlabel attribute +of a qandaset element. + + + +none + +No distinguishing label precedes Questions or Answers. + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.in.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.in.toc.xml new file mode 100644 index 0000000000..9597b71ddd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.in.toc.xml @@ -0,0 +1,34 @@ + + +qanda.in.toc +boolean + + +qanda.in.toc +Should qandaentry questions appear in +the document table of contents? + + + + + + +Description + +If true (non-zero), then the generated table of contents +for a document will include qandaset titles, +qandadiv titles, +and question elements. The default value (zero) excludes +them from the TOC. + +This parameter does not affect any tables of contents +that may be generated inside a qandaset or qandadiv. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.inherit.numeration.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.inherit.numeration.xml new file mode 100644 index 0000000000..744c0e84dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.inherit.numeration.xml @@ -0,0 +1,30 @@ + + +qanda.inherit.numeration +boolean + + +qanda.inherit.numeration +Does enumeration of QandASet components inherit the numeration of parent elements? + + + + + + + + +Description + +If non-zero, numbered qandadiv elements and +question and answer inherit the enumeration of +the ancestors of the qandaset. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.nested.in.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.nested.in.toc.xml new file mode 100644 index 0000000000..01bdf5a22e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.nested.in.toc.xml @@ -0,0 +1,29 @@ + + +qanda.nested.in.toc +boolean + + +qanda.nested.in.toc +Should nested answer/qandaentry instances appear in TOC? + + + + + + + + +Description + +If non-zero, instances of qandaentry +that are children of answer elements are shown in +the TOC. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level1.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level1.properties.xml new file mode 100644 index 0000000000..edaecc9000 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level1.properties.xml @@ -0,0 +1,32 @@ + + +qanda.title.level1.properties +attribute set + + +qanda.title.level1.properties +Properties for level-1 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-1 qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level2.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level2.properties.xml new file mode 100644 index 0000000000..ca48ca1a52 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level2.properties.xml @@ -0,0 +1,32 @@ + + +qanda.title.level2.properties +attribute set + + +qanda.title.level2.properties +Properties for level-2 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-2 qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level3.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level3.properties.xml new file mode 100644 index 0000000000..c9c098ea98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level3.properties.xml @@ -0,0 +1,32 @@ + + +qanda.title.level3.properties +attribute set + + +qanda.title.level3.properties +Properties for level-3 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-3 qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level4.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level4.properties.xml new file mode 100644 index 0000000000..4344e76794 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level4.properties.xml @@ -0,0 +1,32 @@ + + +qanda.title.level4.properties +attribute set + + +qanda.title.level4.properties +Properties for level-4 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-4 qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level5.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level5.properties.xml new file mode 100644 index 0000000000..31b0d203cf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level5.properties.xml @@ -0,0 +1,32 @@ + + +qanda.title.level5.properties +attribute set + + +qanda.title.level5.properties +Properties for level-5 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-5 qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level6.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level6.properties.xml new file mode 100644 index 0000000000..920c7e9ec9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.level6.properties.xml @@ -0,0 +1,34 @@ + + +qanda.title.level6.properties +attribute set + + +qanda.title.level6.properties +Properties for level-6 qanda set titles + + + + + + + + pt + + + + + +Description + +The properties of level-6 qanda set titles. +This property set is actually +used for all titles below level 5. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.properties.xml new file mode 100644 index 0000000000..24c203798a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qanda.title.properties.xml @@ -0,0 +1,37 @@ + + +qanda.title.properties +attribute set + + +qanda.title.properties +Properties for qanda set titles + + + + + + + + + bold + + always + 0.8em + 1.0em + 1.2em + + + + +Description + +The properties common to all qanda set titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/qandadiv.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/qandadiv.autolabel.xml new file mode 100644 index 0000000000..596350af62 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/qandadiv.autolabel.xml @@ -0,0 +1,26 @@ + + +qandadiv.autolabel +boolean + + +qandadiv.autolabel +Are divisions in QAndASets enumerated? + + + + + + +Description + +If non-zero, unlabeled qandadivs will be enumerated. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/rebuild-all.xml b/apache-fop/src/test/resources/docbook-xsl/params/rebuild-all.xml new file mode 100644 index 0000000000..6dcd5e0278 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/rebuild-all.xml @@ -0,0 +1,33 @@ + + +rebuild-all +boolean + + +rebuild-all +Indicates that all files should be produced + + + + + + + + +Description +When using the XSLT processor to manage dependencies and construct +the website, this parameter can be used to regenerate the whole website, +updating even pages that don't appear to need to be updated. +The dependency extension only looks at the source documents. So +if you change something in the stylesheet, for example, that has a global +effect, you can use this parameter to force the stylesheet to rebuild the +whole website. + +Only applies when XSLT-based chunking is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refclass.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/refclass.suppress.xml new file mode 100644 index 0000000000..8f9b52ae90 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refclass.suppress.xml @@ -0,0 +1,28 @@ + + +refclass.suppress +boolean + + +refclass.suppress +Suppress display of refclass contents? + + + + + + + +Description + +If the value of refclass.suppress is +non-zero, then display of refclass contents is +suppressed in output. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.enabled.xml new file mode 100644 index 0000000000..11de66070a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.enabled.xml @@ -0,0 +1,46 @@ + + +refentry.date.profile.enabled +boolean + + +refentry.date.profile.enabled +Enable refentry "date" profiling? + + + + +0 + + +Description + +If the value of +refentry.date.profile.enabled is non-zero, then +during refentry metadata gathering, the info profile +specified by the customizable +refentry.date.profile parameter is used. + +If instead the value of +refentry.date.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "date" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "date" data to show +up in your output, then consider setting a non-zero value for +refentry.date.profile.enabled and adjusting the +value of refentry.date.profile to cause correct +data to be gathered. + +Note that the terms "source" and "date" have special meanings in +this context. For details, see the documentation for the +refentry.date.profile parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.xml new file mode 100644 index 0000000000..1220ed0354 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.date.profile.xml @@ -0,0 +1,38 @@ + + +refentry.date.profile +string + + +refentry.date.profile +Specifies profile for refentry "date" data + + + + + + (($info[//date])[last()]/date)[1]| + (($info[//pubdate])[last()]/pubdate)[1] + + + + +Description + +The value of refentry.date.profile is a +string representing an XPath expression. It is evaluated at run-time +and used only if refentry.date.profile.enabled +is non-zero. Otherwise, the refentry metadata-gathering +logic "hard coded" into the stylesheets is used. + + The man(7) man page describes this content +as "the date of the last revision". In man pages, it is the content +that is usually displayed in the center footer. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.name.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.name.xml new file mode 100644 index 0000000000..f59e6d5502 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.name.xml @@ -0,0 +1,33 @@ + + +refentry.generate.name +boolean + + +refentry.generate.name +Output NAME header before refnames? + + + + + + + + +Description + +If non-zero, a "NAME" section title is output before the list +of refnames. This parameter and +refentry.generate.title are mutually +exclusive. This means that if you change this parameter to zero, you +should set refentry.generate.title to non-zero unless +you want get quite strange output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.title.xml new file mode 100644 index 0000000000..8029b2076d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.generate.title.xml @@ -0,0 +1,33 @@ + + +refentry.generate.title +boolean + + +refentry.generate.title +Output title before refnames? + + + + + + + + +Description + +If non-zero, the reference page title or first name is +output before the list of refnames. This parameter and +refentry.generate.name are mutually exclusive. +This means that if you change this parameter to non-zero, you +should set refentry.generate.name to zero unless +you want get quite strange output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.fallback.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.fallback.profile.xml new file mode 100644 index 0000000000..6362785688 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.fallback.profile.xml @@ -0,0 +1,48 @@ + + +refentry.manual.fallback.profile +string + + +refentry.manual.fallback.profile +Specifies profile of "fallback" for refentry "manual" data + + + + + +refmeta/refmiscinfo[not(@class = 'date')][1]/node() + + + +Description + +The value of +refentry.manual.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and +used only if no "manual" data can be found by other means (that is, +either using the refentry metadata-gathering logic "hard +coded" in the stylesheets, or the value of +refentry.manual.profile, if it is +enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.manual.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.manual.fallback.profile +parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.enabled.xml new file mode 100644 index 0000000000..a3b7b549cf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.enabled.xml @@ -0,0 +1,47 @@ + + +refentry.manual.profile.enabled +boolean + + +refentry.manual.profile.enabled +Enable refentry "manual" profiling? + + + + +0 + + +Description + +If the value of +refentry.manual.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.manual.profile parameter is +used. + +If instead the value of +refentry.manual.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "manual" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "manual" data to show +up in your output, then consider setting a non-zero value for +refentry.manual.profile.enabled and adjusting +the value of refentry.manual.profile to cause +correct data to be gathered. + +Note that the term "manual" has a special meanings in this +context. For details, see the documentation for the +refentry.manual.profile parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.xml new file mode 100644 index 0000000000..214b1701ec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.manual.profile.xml @@ -0,0 +1,72 @@ + + +refentry.manual.profile +string + + +refentry.manual.profile +Specifies profile for refentry "manual" data + + + + + + (($info[//title])[last()]/title)[1]| + ../title/node() + + + + +Description + +The value of refentry.manual.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.manual.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +In man pages, this content is usually displayed in the middle of +the header of the page. The man(7) man page +describes this as "the title of the manual (e.g., Linux +Programmer's Manual)". Here are some examples from +existing man pages: + + + dpkg utilities + (dpkg-name) + + + User Contributed Perl Documentation + (GET) + + + GNU Development Tools + (ld) + + + Emperor Norton Utilities + (ddate) + + + Debian GNU/Linux manual + (faked) + + + GIMP Manual Pages + (gimp) + + + KDOC Documentation System + (qt2kdoc) + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.meta.get.quietly.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.meta.get.quietly.xml new file mode 100644 index 0000000000..0ed29f6c5a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.meta.get.quietly.xml @@ -0,0 +1,37 @@ + + +refentry.meta.get.quietly +boolean + + +refentry.meta.get.quietly +Suppress notes and warnings when gathering refentry metadata? + + + + + + + + +Description + +If zero (the default), notes and warnings about “missing†markup +are generated during gathering of refentry metadata. If non-zero, the +metadata is gathered “quietly†-- that is, the notes and warnings are +suppressed. + + + If you are processing a large amount of refentry + content, you may be able to speed up processing significantly by + setting a non-zero value for + refentry.meta.get.quietly. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.pagebreak.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.pagebreak.xml new file mode 100644 index 0000000000..42b84661be --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.pagebreak.xml @@ -0,0 +1,33 @@ + + +refentry.pagebreak +boolean + + +refentry.pagebreak +Start each refentry on a new page + + + + + + +Description + +If non-zero (the default), each refentry +element will start on a new page. If zero, a page +break will not be generated between refentry elements. +The exception is when the refentry elements are children of +a part element, in which case the page breaks are always +retained. That is because a part element does not generate +a page-sequence for its children, so each refentry must +start its own page-sequence. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.separator.xml new file mode 100644 index 0000000000..a7eeb84b81 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.separator.xml @@ -0,0 +1,29 @@ + + +refentry.separator +boolean + + +refentry.separator +Generate a separator between consecutive RefEntry elements? + + + + + + + + +Description + +If true, a separator will be generated between consecutive +reference pages. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.fallback.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.fallback.profile.xml new file mode 100644 index 0000000000..1761378a92 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.fallback.profile.xml @@ -0,0 +1,49 @@ + + +refentry.source.fallback.profile +string + + +refentry.source.fallback.profile +Specifies profile of "fallback" for refentry "source" data + + + + + +refmeta/refmiscinfo[not(@class = 'date')][1]/node() + + + +Description + +The value of +refentry.source.fallback.profile is a string +representing an XPath expression. It is evaluated at run-time and used +only if no "source" data can be found by other means (that is, either +using the refentry metadata-gathering logic "hard coded" in +the stylesheets, or the value of the +refentry.source.name.profile and +refentry.version.profile parameters, if those +are enabled). + + +Depending on which XSLT engine you run, either the EXSLT +dyn:evaluate extension function (for xsltproc or +Xalan) or saxon:evaluate extension function (for +Saxon) are used to dynamically evaluate the value of +refentry.source.fallback.profile at +run-time. If you don't use xsltproc, Saxon, Xalan -- or some other +XSLT engine that supports dyn:evaluate -- you +must manually disable fallback processing by setting an empty value +for the refentry.source.fallback.profile +parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.enabled.xml new file mode 100644 index 0000000000..f87ec0fe28 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.enabled.xml @@ -0,0 +1,48 @@ + + +refentry.source.name.profile.enabled +boolean + + +refentry.source.name.profile.enabled +Enable refentry "source name" profiling? + + + + +0 + + +Description + +If the value of +refentry.source.name.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.source.name.profile parameter is +used. + +If instead the value of +refentry.source.name.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "source name" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "source name" data to +show up in your output, then consider setting a non-zero value for +refentry.source.name.profile.enabled and +adjusting the value of +refentry.source.name.profile to cause correct +data to be gathered. + +Note that the terms "source" and "source name" have special +meanings in this context. For details, see the documentation for the +refentry.source.name.profile parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.xml new file mode 100644 index 0000000000..c9a101228d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.profile.xml @@ -0,0 +1,89 @@ + + +refentry.source.name.profile +string + + +refentry.source.name.profile +Specifies profile for refentry "source name" data + + + + + + (($info[//productname])[last()]/productname)[1]| + (($info[//corpname])[last()]/corpname)[1]| + (($info[//corpcredit])[last()]/corpcredit)[1]| + (($info[//corpauthor])[last()]/corpauthor)[1]| + (($info[//orgname])[last()]/orgname)[1]| + (($info[//publishername])[last()]/publishername)[1] + + + + +Description + +The value of refentry.source.name.profile +is a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.source.name.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source name" is one part of a (potentially) two-part +Name Version +"source" field. In man pages, it is usually displayed in the left +footer of the page. It typically indicates the software system or +product that the item documented in the man page belongs to. The +man(7) man page describes it as "the source of +the command", and provides the following examples: + + + For binaries, use something like: GNU, NET-2, SLS + Distribution, MCC Distribution. + + + For system calls, use the version of the kernel that you + are currently looking at: Linux 0.99.11. + + + For library calls, use the source of the function: GNU, BSD + 4.3, Linux DLL 4.4.1. + + + + +In practice, there are many pages that simply have a Version +number in the "source" field. So, it looks like what we have is a +two-part field, +Name Version, +where: + + + Name + + product name (e.g., BSD) or org. name (e.g., GNU) + + + + Version + + version number + + + +Each part is optional. If the Name is a +product name, then the Version is probably +the version of the product. Or there may be no +Name, in which case, if there is a +Version, it is probably the version +of the item itself, not the product it is part of. Or, if the +Name is an organization name, then there +probably will be no Version. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.suppress.xml new file mode 100644 index 0000000000..b29127eb4c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.source.name.suppress.xml @@ -0,0 +1,42 @@ + + +refentry.source.name.suppress +boolean + + +refentry.source.name.suppress +Suppress "name" part of refentry "source" contents? + + + + +0 + + +Description + +If the value of +refentry.source.name.suppress is non-zero, then +during refentry metadata gathering, no "source name" data +is added to the refentry "source" contents. Instead (unless +refentry.version.suppress is also non-zero), +only "version" data is added to the "source" contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "source name" data to show up in your +output -- for example, in the footer (or possibly header) of a man +page -- then you might consider setting a non-zero value for +refentry.source.name.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.title.properties.xml new file mode 100644 index 0000000000..5523e5d4ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.title.properties.xml @@ -0,0 +1,59 @@ + + +refentry.title.properties +attribute set + + +refentry.title.properties +Title properties for a refentry title + + + + + + + + + 18pt + bold + 1em + false + always + 0.8em + 1.0em + 1.2em + 0.5em + 0.4em + 0.6em + + + + + +Description + +Formatting properties applied to the title generated for the +refnamediv part of output for +refentry when the value of the +refentry.generate.title parameter is +non-zero. The font size is supplied by the appropriate section.levelX.title.properties +attribute-set, computed from the location of the +refentry in the section hierarchy. + + + This parameter has no effect on the the title generated for + the refnamediv part of output for + refentry when the value of the + refentry.generate.name parameter is + non-zero. By default, that title is formatted with the same + properties as the titles for all other first-level children of + refentry. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.enabled.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.enabled.xml new file mode 100644 index 0000000000..3b95bbe507 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.enabled.xml @@ -0,0 +1,47 @@ + + +refentry.version.profile.enabled +boolean + + +refentry.version.profile.enabled +Enable refentry "version" profiling? + + + + +0 + + +Description + +If the value of +refentry.version.profile.enabled is +non-zero, then during refentry metadata gathering, the info +profile specified by the customizable +refentry.version.profile parameter is +used. + +If instead the value of +refentry.version.profile.enabled is zero (the +default), then "hard coded" logic within the DocBook XSL stylesheets +is used for gathering refentry "version" data. + +If you find that the default refentry +metadata-gathering behavior is causing incorrect "version" data to show +up in your output, then consider setting a non-zero value for +refentry.version.profile.enabled and adjusting +the value of refentry.version.profile to cause +correct data to be gathered. + +Note that the terms "source" and "version" have special +meanings in this context. For details, see the documentation for the +refentry.version.profile parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.xml new file mode 100644 index 0000000000..ff85825412 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.profile.xml @@ -0,0 +1,41 @@ + + +refentry.version.profile +string + + +refentry.version.profile +Specifies profile for refentry "version" data + + + + + + (($info[//productnumber])[last()]/productnumber)[1]| + (($info[//edition])[last()]/edition)[1]| + (($info[//releaseinfo])[last()]/releaseinfo)[1] + + + + +Description + +The value of refentry.version.profile is +a string representing an XPath expression. It is evaluated at +run-time and used only if +refentry.version.profile.enabled is +non-zero. Otherwise, the refentry metadata-gathering logic +"hard coded" into the stylesheets is used. + +A "source.name" is one part of a (potentially) two-part +Name Version +"source" field. For more details, see the documentation for the +refentry.source.name.profile parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.suppress.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.suppress.xml new file mode 100644 index 0000000000..b701ad8db6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.version.suppress.xml @@ -0,0 +1,43 @@ + + +refentry.version.suppress +boolean + + +refentry.version.suppress +Suppress "version" part of refentry "source" contents? + + + + +0 + + +Description + +If the value of refentry.version.suppress +is non-zero, then during refentry metadata gathering, no +"version" data is added to the refentry "source" +contents. Instead (unless +refentry.source.name.suppress is also +non-zero), only "source name" data is added to the "source" +contents. + +If you find that the refentry metadata gathering +mechanism is causing unwanted "version" data to show up in your output +-- for example, in the footer (or possibly header) of a man page -- +then you might consider setting a non-zero value for +refentry.version.suppress. + +Note that the terms "source", "source name", and "version" have +special meanings in this context. For details, see the documentation +for the refentry.source.name.profile +parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/refentry.xref.manvolnum.xml b/apache-fop/src/test/resources/docbook-xsl/params/refentry.xref.manvolnum.xml new file mode 100644 index 0000000000..56b93b7bba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/refentry.xref.manvolnum.xml @@ -0,0 +1,31 @@ + + +refentry.xref.manvolnum +boolean + + +refentry.xref.manvolnum +Output manvolnum as part of +refentry cross-reference? + + + + + + + + +Description + +if non-zero, the manvolnum is used when cross-referencing +refentrys, either with xref +or citerefentry. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/reference.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/reference.autolabel.xml new file mode 100644 index 0000000000..1a9dc5b388 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/reference.autolabel.xml @@ -0,0 +1,67 @@ + + +reference.autolabel +list +0none +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +reference.autolabel +Specifies the labeling format for Reference titles + + + + I + + +Description +If non-zero, references will be numbered using the parameter + value as the number format if the value matches one of the + following: + + + + 1 or arabic + + Arabic numeration (1, 2, 3 ...). + + + + A or upperalpha + + Uppercase letter numeration (A, B, C ...). + + + + a or loweralpha + + Lowercase letter numeration (a, b, c ...). + + + + I or upperroman + + Uppercase roman numeration (I, II, III ...). + + + + i or lowerroman + + Lowercase roman letter numeration (i, ii, iii ...). + + + +Any non-zero value other than the above will generate +the default number format (upperroman). + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.after.extent.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.after.extent.xml new file mode 100644 index 0000000000..b29abba74e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.after.extent.xml @@ -0,0 +1,29 @@ + + +region.after.extent +length + + +region.after.extent +Specifies the height of the footer. + + + + +0.4in + + + +Description + +The region after extent is the height of the area where footers +are printed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.before.extent.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.before.extent.xml new file mode 100644 index 0000000000..c62cc408f4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.before.extent.xml @@ -0,0 +1,29 @@ + + +region.before.extent +length + + +region.before.extent +Specifies the height of the header + + + + +0.4in + + + +Description + +The region before extent is the height of the area where headers +are printed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.inner.extent.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.inner.extent.xml new file mode 100644 index 0000000000..48792a27bc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.inner.extent.xml @@ -0,0 +1,51 @@ + + +region.inner.extent +length + + +region.inner.extent +Specifies the width of the inner side region + + + + +0in + + + +Description + +The region inner extent is the width of the optional +text area next to the inner side (binding side) of the +body region. + +For double-sided output, this side region +is fo:region-start on a odd-numbered page, +and fo:region-end on an even-numbered page. + +For single-sided output, this side region +is fo:region-start for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.inner +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.outer.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.inner.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.inner.properties.xml new file mode 100644 index 0000000000..44e8bb4ba8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.inner.properties.xml @@ -0,0 +1,51 @@ + + +region.inner.properties +attribute set + + +region.inner.properties +Properties of running inner side region + + + + + + 0 + 0 + 90 + + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the inner side (binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +inner.region.content to specify +the content of the inner side region. + +See also +inner.region.content.properties, +page.margin.inner, +body.margin.inner, +and the corresponding outer +parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.outer.extent.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.outer.extent.xml new file mode 100644 index 0000000000..086a3a6cea --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.outer.extent.xml @@ -0,0 +1,50 @@ + + +region.outer.extent +length + + +region.outer.extent +Specifies the width of the outer side region + + + + +0in + + + +Description + +The region outer extent is the width of the optional +text area next to the outer side (opposite the binding side) of the +body region. + +For double-sided output, this side region +is fo:region-end on a odd-numbered page, +and fo:region-start on an even-numbered page. + +For single-sided output, this side region +is fo:region-end for all pages. + +This correspondence applies to all languages, +both left-to-right and right-to-left writing modes. + +The default value of this parameter is zero. If you enlarge this extent, +be sure to also enlarge the body.margin.outer +parameter to make room for its content, otherwise any text in +the side region may overlap with the body text. + +See also +region.inner.extent, +body.margin.inner, +body.margin.outer, +side.region.precedence. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/region.outer.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/region.outer.properties.xml new file mode 100644 index 0000000000..1ed1c5052c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/region.outer.properties.xml @@ -0,0 +1,51 @@ + + +region.outer.properties +attribute set + + +region.outer.properties +Properties of running outer side region + + + + + + 0 + 0 + 90 + + + + +Description + +The FO stylesheet supports optional side regions +similar to the header and footer regions. +Any attributes declared in this attribute-set +are applied to the region element in the page master +on the outer side (opposite the binding side) of the page. +This corresponds to <fo:regin-start> +on odd-numbered pages and <fo:region-end> +on even-numbered pages. +For single-sided output, it always corresponds to +<fo:regin-start>. + +You can customize the template named +outer.region.content to specify +the content of the outer side region. + +See also +outer.region.content.properties, +page.margin.outer, +body.margin.outer, +and the corresponding inner +parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.cell.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.cell.properties.xml new file mode 100644 index 0000000000..49c4037448 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.cell.properties.xml @@ -0,0 +1,28 @@ + + +revhistory.table.cell.properties +attribute set + + +revhistory.table.cell.properties +The properties of table cells used for formatting revhistory + + + + + + + + + +Description + +This property set defines appearance of individual cells in revhistory table. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.properties.xml new file mode 100644 index 0000000000..43116d0378 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.table.properties.xml @@ -0,0 +1,28 @@ + + +revhistory.table.properties +attribute set + + +revhistory.table.properties +The properties of table used for formatting revhistory + + + + + + + + + +Description + +This property set defines appearance of revhistory table. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/revhistory.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.title.properties.xml new file mode 100644 index 0000000000..f97d646ba5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/revhistory.title.properties.xml @@ -0,0 +1,28 @@ + + +revhistory.title.properties +attribute set + + +revhistory.title.properties +The properties of revhistory title + + + + + + + + + +Description + +This property set defines appearance of revhistory title. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/root.filename.xml b/apache-fop/src/test/resources/docbook-xsl/params/root.filename.xml new file mode 100644 index 0000000000..ae5ca5b402 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/root.filename.xml @@ -0,0 +1,29 @@ + + +root.filename +uri + + +root.filename +Identifies the name of the root HTML file when chunking + + + + +index + + + +Description + +The root.filename is the base filename for +the chunk created for the root of each document processed. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/root.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/root.properties.xml new file mode 100644 index 0000000000..26c9951f52 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/root.properties.xml @@ -0,0 +1,46 @@ + + +root.properties +attribute set + + +root.properties +The properties of the fo:root element + + + + + + + + + + + + + + + + + + character-by-character + disregard-shifts + + + + + + + +Description + +This property set is used on the fo:root element of +an FO file. It defines a set of default, global parameters. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/rootid.xml b/apache-fop/src/test/resources/docbook-xsl/params/rootid.xml new file mode 100644 index 0000000000..a0715af3bf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/rootid.xml @@ -0,0 +1,33 @@ + + +rootid +string + + +rootid +Specify the root element to format + + + + + + + +Description + +If rootid is not empty, it must be the +value of an ID that occurs in the document being formatted. The entire +document will be loaded and parsed, but formatting will begin at the +element identified, rather than at the root. For example, this allows +you to process only chapter 4 of a book. +Because the entire document is available to the processor, automatic +numbering, cross references, and other dependencies are correctly +resolved. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/runinhead.default.title.end.punct.xml b/apache-fop/src/test/resources/docbook-xsl/params/runinhead.default.title.end.punct.xml new file mode 100644 index 0000000000..d151e8b3cb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/runinhead.default.title.end.punct.xml @@ -0,0 +1,27 @@ + + +runinhead.default.title.end.punct +string + + +runinhead.default.title.end.punct +Default punctuation character on a run-in-head + + + +. + + + +Description + +If non-zero, For a formalpara, use the specified +string as the separator between the title and following text. The period is the default value. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/runinhead.title.end.punct.xml b/apache-fop/src/test/resources/docbook-xsl/params/runinhead.title.end.punct.xml new file mode 100644 index 0000000000..025aeed44f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/runinhead.title.end.punct.xml @@ -0,0 +1,32 @@ + + +runinhead.title.end.punct +string + + +runinhead.title.end.punct +Characters that count as punctuation on a run-in-head + + + + +.!?: + + + +Description + +Specify which characters are to be counted as punctuation. These +characters are checked for a match with the last character of the +title. If no match is found, the +runinhead.default.title.end.punct contents are +inserted. This is to avoid duplicated punctuation in the output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/running.foot.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/running.foot.properties.xml new file mode 100644 index 0000000000..ee9859240e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/running.foot.properties.xml @@ -0,0 +1,34 @@ + + +running.foot.properties +attribute set + + +running.foot.properties +Specifies properties for running foot on each slide + + + + + + + + + 14pt + #9F9F9F + + + + +Description + +This parameter specifies properties that are applied to the +running foot area of each slide. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.controls.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.controls.xml new file mode 100644 index 0000000000..eae24b8acc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.controls.xml @@ -0,0 +1,28 @@ + + +s5.controls +boolean + + +s5.controls +Specifies whether S5 controls are visible + + + + + 0 + + + +Description + +This parameter specifies whether S5 navigation controls are + visible by default. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.defaultview.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.defaultview.xml new file mode 100644 index 0000000000..42360aaff1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.defaultview.xml @@ -0,0 +1,30 @@ + + +s5.defaultview +list +slideshow +outline + + +s5.defaultview +Specifies the default S5 view + + + + + slideshow + + + +Description + +This parameter specifies, which is the default view + in the generated S5 presentation. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.opera.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.opera.css.xml new file mode 100644 index 0000000000..791f7a0840 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.opera.css.xml @@ -0,0 +1,28 @@ + + +s5.opera.css +filename + + +s5.opera.css +Specifies the name of the S5 Opera-specific CSS file + + + + + opera.css + + + +Description + +This parameter specifies the name of the S5 Opera-specific + CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.outline.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.outline.css.xml new file mode 100644 index 0000000000..0afc0c7649 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.outline.css.xml @@ -0,0 +1,27 @@ + + +s5.outline.css +filename + + +s5.outline.css +Specifies the name of the S5 outline CSS file + + + + + outline.css + + + +Description + +This parameter specifies the name of the S5 outline CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.path.prefix.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.path.prefix.xml new file mode 100644 index 0000000000..6913182cd4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.path.prefix.xml @@ -0,0 +1,29 @@ + + +s5.path.prefix +uri + + +s5.path.prefix +Specifies the path to S5 files + + + + + files/s5/ui/default/ + + + +Description + +This parameter specifies the path where S5 CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.print.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.print.css.xml new file mode 100644 index 0000000000..4e56aab7ec --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.print.css.xml @@ -0,0 +1,27 @@ + + +s5.print.css +filename + + +s5.print.css +Specifies the name of the S5 print CSS file + + + + + print.css + + + +Description + +This parameter specifies the name of the S5 print CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.css.xml new file mode 100644 index 0000000000..ca47eb00a7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.css.xml @@ -0,0 +1,27 @@ + + +s5.slides.css +filename + + +s5.slides.css +Specifies the name of the S5 slides CSS file + + + + + slides.css + + + +Description + +This parameter specifies the name of the S5 slides CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.js.xml new file mode 100644 index 0000000000..f0c3713f58 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/s5.slides.js.xml @@ -0,0 +1,28 @@ + + +s5.slides.js +filename + + +s5.slides.js +Specifies the name of the S5 slides JavaScript file + + + + + slides.js + + + +Description + +This parameter specifies the name of the S5 slides JavaScript + file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sans.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/sans.font.family.xml new file mode 100644 index 0000000000..d569b1284c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sans.font.family.xml @@ -0,0 +1,29 @@ + + +sans.font.family +string + + +sans.font.family +The default sans-serif font family + + + + +sans-serif + + + +Description + +The default sans-serif font family. At the present, this isn't +actually used by the stylesheets. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/saxon.callouts.xml b/apache-fop/src/test/resources/docbook-xsl/params/saxon.callouts.xml new file mode 100644 index 0000000000..e08fcdbbb5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/saxon.callouts.xml @@ -0,0 +1,30 @@ + + +saxon.callouts +boolean + + +saxon.callouts +Enable the callout extension + + + + + + + + +Description + +The callouts extension processes areaset +elements in ProgramListingCO and other text-based +callout elements. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/saxon.character.representation.xml b/apache-fop/src/test/resources/docbook-xsl/params/saxon.character.representation.xml new file mode 100644 index 0000000000..bd8bcac8a3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/saxon.character.representation.xml @@ -0,0 +1,38 @@ + + +saxon.character.representation +string + + +saxon.character.representation +Saxon character representation used in generated HTML pages + + + + + + +Description + +This parameter has effect only when Saxon 6 is used (version 6.4.2 or later). +It sets the character representation in files generated by the chunking stylesheets. +If you want to suppress entity references for characters with direct representations in +chunker.output.encoding, set the parameter value to native. + + + For more information, see Saxon output character representation. + + +This parameter is documented here, but the declaration is actually +in the chunker.xsl stylesheet module. + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/saxon.linenumbering.xml b/apache-fop/src/test/resources/docbook-xsl/params/saxon.linenumbering.xml new file mode 100644 index 0000000000..451028bdb0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/saxon.linenumbering.xml @@ -0,0 +1,32 @@ + + +saxon.linenumbering +boolean + + +saxon.linenumbering +Enable the line numbering extension + + + + + + + + +Description + +If non-zero, verbatim environments (elements that have the +format='linespecific' notation attribute: address, +literallayout, programlisting, +screen, synopsis) that specify line numbering +will have line numbers. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/saxon.tablecolumns.xml b/apache-fop/src/test/resources/docbook-xsl/params/saxon.tablecolumns.xml new file mode 100644 index 0000000000..e9d967433d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/saxon.tablecolumns.xml @@ -0,0 +1,30 @@ + + +saxon.tablecolumns +boolean + + +saxon.tablecolumns +Enable the table columns extension function + + + + + + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/script.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/script.dir.xml new file mode 100644 index 0000000000..9cb92afa91 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/script.dir.xml @@ -0,0 +1,33 @@ + + +script.dir +uri + + +script.dir +Script directory + + + + + + + + +Description + +Identifies the JavaScript source directory for the slides. +This parameter can be set in the source +document with the <?dbhtml?> pseudo-attribute +script-dir. + +If non-empty, this value is prepended to each of the JavaScript files. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.max.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.max.depth.xml new file mode 100644 index 0000000000..e588e00da0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.max.depth.xml @@ -0,0 +1,32 @@ + + +section.autolabel.max.depth +integer + + +section.autolabel.max.depth +The deepest level of sections that are numbered. + + + + +8 + + + +Description + +When section numbering is turned on by the +section.autolabel parameter, then this +parameter controls the depth of section nesting that is +numbered. Sections nested to a level deeper than this value will not +be numbered. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.xml new file mode 100644 index 0000000000..85eede6bc4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.autolabel.xml @@ -0,0 +1,26 @@ + + +section.autolabel +boolean + + +section.autolabel +Are sections enumerated? + + + + + + +Description + +If true (non-zero), unlabeled sections will be enumerated. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.container.element.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.container.element.xml new file mode 100644 index 0000000000..a6c40599fe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.container.element.xml @@ -0,0 +1,62 @@ + + +section.container.element +list +block +wrapper + + +section.container.element +Select XSL-FO element name to contain sections + + + + +block + + + +Description + +Selects the element name for outer container of +each section. The choices are block (default) +or wrapper. +The fo: namespace prefix is added +by the stylesheet to form the full element name. + + +This element receives the section id +attribute and the appropriate section level attribute-set. + + +Changing this parameter to wrapper +is only necessary when producing multi-column output +that contains page-wide spans. Using fo:wrapper +avoids the nesting of fo:block +elements that prevents spans from working (the standard says +a span must be on a block that is a direct child of +fo:flow). + + +If set to wrapper, the +section attribute-sets only support properties +that are inheritable. That's because there is no +block to apply them to. Properties such as +font-family are inheritable, but properties such as +border are not. + + +Only some XSL-FO processors need to use this parameter. +The Antenna House processor, for example, will handle +spans in nested blocks without changing the element name. +The RenderX XEP product and FOP follow the XSL-FO standard +and need to use wrapper. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.label.includes.component.label.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.label.includes.component.label.xml new file mode 100644 index 0000000000..505d472100 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.label.includes.component.label.xml @@ -0,0 +1,27 @@ + + +section.label.includes.component.label +boolean + + +section.label.includes.component.label +Do section labels include the component label? + + + + + + +Description + +If non-zero, section labels are prefixed with the label of the +component that contains them. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level1.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level1.properties.xml new file mode 100644 index 0000000000..4aa70b0749 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level1.properties.xml @@ -0,0 +1,43 @@ + + +section.level1.properties +attribute set + + +section.level1.properties +Properties for level-1 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level-1 section, and therefore apply to +the whole section. This includes sect1 +elements and section elements at level 1. + + +For example, you could start each level-1 section on +a new page by using: +<xsl:attribute-set name="section.level1.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level2.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level2.properties.xml new file mode 100644 index 0000000000..5dd76e9383 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level2.properties.xml @@ -0,0 +1,43 @@ + + +section.level2.properties +attribute set + + +section.level2.properties +Properties for level-2 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level-2 section, and therefore apply to +the whole section. This includes sect2 +elements and section elements at level 2. + + +For example, you could start each level-2 section on +a new page by using: +<xsl:attribute-set name="section.level2.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level3.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level3.properties.xml new file mode 100644 index 0000000000..0bcd696967 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level3.properties.xml @@ -0,0 +1,43 @@ + + +section.level3.properties +attribute set + + +section.level3.properties +Properties for level-3 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level-3 section, and therefore apply to +the whole section. This includes sect3 +elements and section elements at level 3. + + +For example, you could start each level-3 section on +a new page by using: +<xsl:attribute-set name="section.level3.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level4.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level4.properties.xml new file mode 100644 index 0000000000..140885169d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level4.properties.xml @@ -0,0 +1,43 @@ + + +section.level4.properties +attribute set + + +section.level4.properties +Properties for level-4 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level-4 section, and therefore apply to +the whole section. This includes sect4 +elements and section elements at level 4. + + +For example, you could start each level-4 section on +a new page by using: +<xsl:attribute-set name="section.level4.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level5.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level5.properties.xml new file mode 100644 index 0000000000..9093b94ae9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level5.properties.xml @@ -0,0 +1,43 @@ + + +section.level5.properties +attribute set + + +section.level5.properties +Properties for level-5 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level-5 section, and therefore apply to +the whole section. This includes sect5 +elements and section elements at level 5. + + +For example, you could start each level-5 section on +a new page by using: +<xsl:attribute-set name="section.level5.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.level6.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.level6.properties.xml new file mode 100644 index 0000000000..dda7937890 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.level6.properties.xml @@ -0,0 +1,43 @@ + + +section.level6.properties +attribute set + + +section.level6.properties +Properties for level-6 sections + + + + + + + + + +Description + +The properties that apply to the containing +block of a level 6 or lower section, and therefore apply to +the whole section. This includes +section elements at level 6 and lower. + + +For example, you could start each level-6 section on +a new page by using: +<xsl:attribute-set name="section.level6.properties"> + <xsl:attribute name="break-before">page</xsl:attribute> +</xsl:attribute-set> + + +This attribute set inherits attributes from the +general section.properties attribute set. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.properties.xml new file mode 100644 index 0000000000..06acc314d6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.properties.xml @@ -0,0 +1,35 @@ + + +section.properties +attribute set + + +section.properties +Properties for all section levels + + + + + + + + + +Description + +The properties that apply to the containing +block of all section levels, and therefore apply to +the whole section. +This attribute set is inherited by the +more specific attribute sets such as +section.level1.properties. +The default is empty. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level1.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level1.properties.xml new file mode 100644 index 0000000000..91c63ed25a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level1.properties.xml @@ -0,0 +1,32 @@ + + +section.title.level1.properties +attribute set + + +section.title.level1.properties +Properties for level-1 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-1 section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level2.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level2.properties.xml new file mode 100644 index 0000000000..a25648a7dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level2.properties.xml @@ -0,0 +1,33 @@ + + + +section.title.level2.properties +attribute set + + +section.title.level2.properties +Properties for level-2 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-2 section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level3.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level3.properties.xml new file mode 100644 index 0000000000..a009a6e317 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level3.properties.xml @@ -0,0 +1,32 @@ + + +section.title.level3.properties +attribute set + + +section.title.level3.properties +Properties for level-3 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-3 section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level4.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level4.properties.xml new file mode 100644 index 0000000000..00d4398953 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level4.properties.xml @@ -0,0 +1,32 @@ + + +section.title.level4.properties +attribute set + + +section.title.level4.properties +Properties for level-4 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-4 section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level5.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level5.properties.xml new file mode 100644 index 0000000000..c25b5efe7e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level5.properties.xml @@ -0,0 +1,32 @@ + + +section.title.level5.properties +attribute set + + +section.title.level5.properties +Properties for level-5 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-5 section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.level6.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level6.properties.xml new file mode 100644 index 0000000000..a2a0feb788 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.level6.properties.xml @@ -0,0 +1,33 @@ + + +section.title.level6.properties +attribute set + + +section.title.level6.properties +Properties for level-6 section titles + + + + + + + + pt + + + + + +Description + +The properties of level-6 section titles. This property set is actually +used for all titles below level 5. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/section.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/section.title.properties.xml new file mode 100644 index 0000000000..1317da1fdd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/section.title.properties.xml @@ -0,0 +1,39 @@ + + +section.title.properties +attribute set + + +section.title.properties +Properties for section titles + + + + + + + + + bold + + always + 0.8em + 1.0em + 1.2em + start + + + + + +Description + +The properties common to all section titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/segmentedlist.as.table.xml b/apache-fop/src/test/resources/docbook-xsl/params/segmentedlist.as.table.xml new file mode 100644 index 0000000000..fb2c236708 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/segmentedlist.as.table.xml @@ -0,0 +1,28 @@ + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + + + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sequential.links.xml b/apache-fop/src/test/resources/docbook-xsl/params/sequential.links.xml new file mode 100644 index 0000000000..293827dd69 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sequential.links.xml @@ -0,0 +1,25 @@ + + +sequential.links +boolean + + +sequential.links +Make sequentional links? + + + + + + + + +Description +FIXME + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.style.xml new file mode 100644 index 0000000000..0907806a4a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.style.xml @@ -0,0 +1,36 @@ + + +shade.verbatim.style +attribute set + + +shade.verbatim.style +Properties that specify the style of shaded verbatim listings + + + + + + 0 + #E0E0E0 + + + #E0E0E0 + + + + +Description + +Properties that specify the style of shaded verbatim listings. The +parameters specified (the border and background color) are added to +the styling of the xsl-fo output. A border might be specified as "thin +black solid" for example. See xsl-fo + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.xml b/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.xml new file mode 100644 index 0000000000..82a721624a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/shade.verbatim.xml @@ -0,0 +1,30 @@ + + +shade.verbatim +boolean + + +shade.verbatim +Should verbatim environments be shaded? + + + + + + +Description + +In the FO stylesheet, if this parameter is non-zero then the +shade.verbatim.style properties will be applied +to verbatim environments. + +In the HTML stylesheet, this parameter is now deprecated. Use +CSS instead. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/show.comments.xml b/apache-fop/src/test/resources/docbook-xsl/params/show.comments.xml new file mode 100644 index 0000000000..ac7bc24579 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/show.comments.xml @@ -0,0 +1,32 @@ + + +show.comments +boolean + + +show.comments +Display remark elements? + + + + + + + + +Description + +If non-zero, comments will be displayed, otherwise they +are suppressed. Comments here refers to the remark element +(which was called comment prior to DocBook +4.0), not XML comments (<-- like this -->) which are +unavailable. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/show.foil.number.xml b/apache-fop/src/test/resources/docbook-xsl/params/show.foil.number.xml new file mode 100644 index 0000000000..627c6a7e32 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/show.foil.number.xml @@ -0,0 +1,28 @@ + + +show.foil.number +boolean + + +show.foil.number +Show foil number on each foil? + + + + + + + + +Description + +If non-zero, on each slide there will be its number. Currently +not supported in all output formats. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/show.revisionflag.xml b/apache-fop/src/test/resources/docbook-xsl/params/show.revisionflag.xml new file mode 100644 index 0000000000..c589b01ad1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/show.revisionflag.xml @@ -0,0 +1,42 @@ + + +show.revisionflag +boolean + + +show.revisionflag +Enable decoration of elements that have a revisionflag + + + + + + + + +Description + + +If show.revisionflag is turned on, then the stylesheets +may produce additional markup designed to allow a CSS stylesheet to +highlight elements that have specific revisionflag settings. + +The markup inserted will be usually be either a <span> or +<div> with an appropriate class +attribute. (The value of the class attribute will be the same as the +value of the revisionflag attribute). In some contexts, for example +tables, where extra markup would be structurally illegal, the class +attribute will be added to the appropriate container element. + +In general, the stylesheets only test for revisionflag in contexts +where an importing stylesheet would have to redefine whole templates. +Most of the revisionflag processing is expected to be done by another +stylesheet, for example changebars.xsl. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/showtoc.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/showtoc.image.xml new file mode 100644 index 0000000000..7b1fca38a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/showtoc.image.xml @@ -0,0 +1,29 @@ + + +showtoc.image +filename + + +showtoc.image +Show ToC image + + + + +showtoc.gif + + + +Description + +Specifies the filename of the show ToC image. This is used +when the ToC hide/show parameter is +enabled. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/side.float.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/side.float.properties.xml new file mode 100644 index 0000000000..0a6d904cca --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/side.float.properties.xml @@ -0,0 +1,50 @@ + + +side.float.properties +attribute set + + +side.float.properties +Attribute set for side float container properties + + + + + + 2in + 4pt + 4pt + 2pt + 2pt + 0pt + 0pt + start + + + + +Description + +Properties that are applied to the +fo:block-container inside of +a side float that is generated by the template named +floater. +That template generates a side float +when the side.float.type is set to one +of the values for a side float. + +If you do only left or +start side floats, you may want to set the +padding-start attribute to zero. +If you do only right or +end side floats, you may want to set the +padding-end attribute to zero. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/side.region.precedence.xml b/apache-fop/src/test/resources/docbook-xsl/params/side.region.precedence.xml new file mode 100644 index 0000000000..e573e4364f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/side.region.precedence.xml @@ -0,0 +1,56 @@ + + +side.region.precedence +string + + +side.region.precedence +Determines side region page layout precedence + + +false + + +Description + +If optional side regions on a page +are established using parameters such as +body.margin.inner, +region.inner.extent, etc., then this +parameter determines what happens at the corners where the +side regions meet the header and footer regions. + +If the value of this parameter is true, +then the side regions have precedence and extend higher +and lower, while the header and footer regions are narrower +and fit inside the side regions. + +If the value of this parameter is false +(the default value), then the header and footer regions +have precedence and extend over and below the side regions. +Any value other than true or +false is taken to be false. + +If you need to set precedence separately for +individual regions, then you can set four +parameters that are normally internal to the stylesheet. +These four parameters are normally set based +on the value from side.region.precedence: + +region.before.precedence +region.after.precedence +region.start.precedence +region.end.precedence + +See also +region.inner.extent, +region.outer.extent, +body.margin.inner, +body.margin.outer. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.type.xml new file mode 100644 index 0000000000..8c6a286a06 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.type.xml @@ -0,0 +1,90 @@ + + +sidebar.float.type +list +none +before +left +start +right +end +inside +outside + + +sidebar.float.type +Select type of float for sidebar elements + + + + +none + + + +Description + +Selects the type of float for sidebar elements. + + + +If sidebar.float.type is +none, then +no float is used. + + + +If sidebar.float.type is +before, then +the float appears at the top of the page. On some processors, +that may be the next page rather than the current page. + + + + +If sidebar.float.type is +left, +then a left side float is used. + + + + +If sidebar.float.type is +start, +then when the text direction is left-to-right a left side float is used. +When the text direction is right-to-left, a right side float is used. + + + + +If sidebar.float.type is +right, +then a right side float is used. + + + + +If sidebar.float.type is +end, +then when the text direction is left-to-right a right side float is used. +When the text direction is right-to-left, a left side float is used. + + + + +If your XSL-FO processor supports floats positioned on the +inside or +outside +of double-sided pages, then you have those two +options for side floats as well. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.width.xml new file mode 100644 index 0000000000..cb989e4e67 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.float.width.xml @@ -0,0 +1,35 @@ + + +sidebar.float.width +length + + +sidebar.float.width +Set the default width for sidebars + + + + +1in + + + +Description + +Sets the default width for sidebars when used as a side float. +The width determines the degree to which the sidebar block intrudes into +the text area. + +If sidebar.float.type is +before or +none, then +this parameter is ignored. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sidebar.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.properties.xml new file mode 100644 index 0000000000..fc98ac0cd4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.properties.xml @@ -0,0 +1,42 @@ + + +sidebar.properties +attribute set + + +sidebar.properties +Attribute set for sidebar properties + + + + + + solid + 1pt + black + #DDDDDD + 12pt + 12pt + 6pt + 6pt + 0pt + 0pt + + + + + +Description + +The styling for sidebars. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/sidebar.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.title.properties.xml new file mode 100644 index 0000000000..f1b1d5184a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/sidebar.title.properties.xml @@ -0,0 +1,32 @@ + + +sidebar.title.properties +attribute set + + +sidebar.title.properties +Attribute set for sidebar titles + + + + + + bold + false + start + always + + + + +Description + +The styling for sidebars titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/simplesect.in.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/simplesect.in.toc.xml new file mode 100644 index 0000000000..9bc3ab5d8f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/simplesect.in.toc.xml @@ -0,0 +1,26 @@ + + +simplesect.in.toc +boolean + + +simplesect.in.toc +Should simplesect elements appear in the TOC? + + + + + + +Description + +If non-zero, simplesects will be included in the TOC. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slide.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/slide.font.family.xml new file mode 100644 index 0000000000..e1c754104e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slide.font.family.xml @@ -0,0 +1,31 @@ + + +slide.font.family +list +open +serif +sans-serif +monospace + + +slide.font.family +Specifies font family to use for slide bodies + + + + +Helvetica + + + +Description + +Specifies the font family to use for slides bodies. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slide.title.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/slide.title.font.family.xml new file mode 100644 index 0000000000..a5a3a88afe --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slide.title.font.family.xml @@ -0,0 +1,31 @@ + + +slide.title.font.family +list +open +serif +sans-serif +monospace + + +slide.title.font.family +Specifies font family to use for slide titles + + + + +Helvetica + + + +Description + +Specifies the font family to use for slides titles. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.js.xml new file mode 100644 index 0000000000..90fffaeb7f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.js.xml @@ -0,0 +1,28 @@ + + +slides.js +filename + + +slides.js +Slides overlay file + + + + +slides.js + + + +Description + +Specifies the filename of the slides JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.properties.xml new file mode 100644 index 0000000000..daca82c94e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.properties.xml @@ -0,0 +1,31 @@ + + +slides.properties +attribute set + + +slides.properties +Specifies properties for all slides + + + + + + + + + + + + +Description + +This parameter specifies properties that are applied to all slides. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.author.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.author.properties.xml new file mode 100644 index 0000000000..041710ace9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.author.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.author.properties +attribute set + + +slides.titlepage.author.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 20.736pt + + + + +Description + +This parameter specifies properties for the author on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.authorgroup.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.authorgroup.properties.xml new file mode 100644 index 0000000000..81b0cf45f8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.authorgroup.properties.xml @@ -0,0 +1,28 @@ + + +slides.titlepage.authorgroup.properties +attribute set + + +slides.titlepage.authorgroup.properties +Specifies properties for slides titlepage title + + + + + + + + +Description + +This parameter specifies properties for the authorgroup on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.corpauthor.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.corpauthor.properties.xml new file mode 100644 index 0000000000..63f6ba8a9b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.corpauthor.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.corpauthor.properties +attribute set + + +slides.titlepage.corpauthor.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 20.736pt + + + + +Description + +This parameter specifies properties for the corpauthor on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.master.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.master.properties.xml new file mode 100644 index 0000000000..6b0a1c44a2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.master.properties.xml @@ -0,0 +1,46 @@ + + +slides.titlepage.master.properties +attribute set + + +slides.titlepage.master.properties +Specifies properties for slides titlepage master + + + + + + + + + + + + + + + + + + + + + + + + + + + +Description + +This parameter specifies properties for the slides titlepage master. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.pubdate.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.pubdate.properties.xml new file mode 100644 index 0000000000..59ac6ed17e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.pubdate.properties.xml @@ -0,0 +1,32 @@ + + +slides.titlepage.pubdate.properties +attribute set + + +slides.titlepage.pubdate.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 17.28pt + + + + +Description + +This parameter specifies properties for the pubdate on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.region-body.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.region-body.properties.xml new file mode 100644 index 0000000000..5cfc81d692 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.region-body.properties.xml @@ -0,0 +1,33 @@ + + +slides.titlepage.region-body.properties +attribute set + + +slides.titlepage.region-body.properties +Specifies properties for slides titlepage region-body + + + + + + 0pt + 0pt + + + + + + + +Description + +This parameter specifies properties for the slides titlepage region-body. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.subtitle.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.subtitle.properties.xml new file mode 100644 index 0000000000..ecaf193fe9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.subtitle.properties.xml @@ -0,0 +1,34 @@ + + +slides.titlepage.subtitle.properties +attribute set + + +slides.titlepage.subtitle.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + + + + + + + +Description + +This parameter specifies properties for the subtitle on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.title.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.title.properties.xml new file mode 100644 index 0000000000..d4facbc0d1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slides.titlepage.title.properties.xml @@ -0,0 +1,40 @@ + + +slides.titlepage.title.properties +attribute set + + +slides.titlepage.title.properties +Specifies properties for slides titlepage title + + + + + + center + 1em + 1.5in + always + + + + bold + + + + + + + +Description + +This parameter specifies properties for the title on the default + titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slidy.duration.xml b/apache-fop/src/test/resources/docbook-xsl/params/slidy.duration.xml new file mode 100644 index 0000000000..6d81ddf275 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slidy.duration.xml @@ -0,0 +1,29 @@ + + +slidy.duration +integer + + +slidy.duration +Specifies the duration of the presentation + + + + + 0 + + + +Description + +This parameter specifies the duration of the presentation + in minutes. A JavaScript clock will count down to help the + speaker in not running out of time. Can be disabled if set to 0. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slidy.path.prefix.xml b/apache-fop/src/test/resources/docbook-xsl/params/slidy.path.prefix.xml new file mode 100644 index 0000000000..f3da6f356a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slidy.path.prefix.xml @@ -0,0 +1,29 @@ + + +slidy.path.prefix +uri + + +slidy.path.prefix +Specifies the path to Slidy files + + + + + files/slidy/ + + + +Description + +This parameter specifies the path where Slidy CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.css.xml new file mode 100644 index 0000000000..e288b7b841 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.css.xml @@ -0,0 +1,27 @@ + + +slidy.slidy.css +filename + + +slidy.slidy.css +Specifies the name of the main Slidy CSS file + + + + + styles/slidy.css + + + +Description + +This parameter specifies the name of the main Slidy CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.js.xml new file mode 100644 index 0000000000..aba413a1f8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slidy.slidy.js.xml @@ -0,0 +1,27 @@ + + +slidy.slidy.js +filename + + +slidy.slidy.js +Specifies the name of the Slidy JavaScript file + + + + + scripts/slidy.js + + + +Description + +This parameter specifies the name of the Slidy JavaScript file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/slidy.user.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/slidy.user.css.xml new file mode 100644 index 0000000000..f14e24fd03 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/slidy.user.css.xml @@ -0,0 +1,27 @@ + + +slidy.user.css +filename + + +slidy.user.css +Specifies the name of the Slidy user CSS file + + + + + styles/w3c-blue.css + + + +Description + +This parameter specifies the name of the Slidy user CSS file. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/spacing.paras.xml b/apache-fop/src/test/resources/docbook-xsl/params/spacing.paras.xml new file mode 100644 index 0000000000..2f2323a1a2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/spacing.paras.xml @@ -0,0 +1,30 @@ + + +spacing.paras +boolean + + +spacing.paras +Insert additional <p> elements for spacing? + + + + + + + + +Description + +When non-zero, additional, empty paragraphs are inserted in +several contexts (for example, around informal figures), to create a +more pleasing visual appearance in many browsers. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/speakernote.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/speakernote.properties.xml new file mode 100644 index 0000000000..089115a768 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/speakernote.properties.xml @@ -0,0 +1,32 @@ + + +speakernote.properties +attribute set + + +speakernote.properties +Specifies properties for all speakernotes + + + + + + Times Roman + italic + 12pt + normal + + + + +Description + +This parameter specifies properties that are applied to all speakernotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/speakernotes.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/speakernotes.properties.xml new file mode 100644 index 0000000000..f652a5dba2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/speakernotes.properties.xml @@ -0,0 +1,28 @@ + + +speakernotes.properties +attribute set + + +footnote.properties +Properties applied to speakernotes + + + + + + + + + +Description + +This attribute set is applied to speakernotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/subscript.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/subscript.properties.xml new file mode 100644 index 0000000000..d2c771113a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/subscript.properties.xml @@ -0,0 +1,29 @@ + + +subscript.properties +attribute set + + +subscript.properties +Properties associated with subscripts + + + + + + 75% + + + + +Description + +Specifies styling properties for subscripts. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/superscript.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/superscript.properties.xml new file mode 100644 index 0000000000..ecf6af15d5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/superscript.properties.xml @@ -0,0 +1,29 @@ + + +superscript.properties +attribute set + + +superscript.properties +Properties associated with superscripts + + + + + + 75% + + + + +Description + +Specifies styling properties for superscripts. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/suppress.footer.navigation.xml b/apache-fop/src/test/resources/docbook-xsl/params/suppress.footer.navigation.xml new file mode 100644 index 0000000000..430ed97775 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/suppress.footer.navigation.xml @@ -0,0 +1,26 @@ + + +suppress.footer.navigation +boolean + + +suppress.footer.navigation +Disable footer navigation + + + +0 + + +Description + + +If non-zero, footer navigation will be suppressed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/suppress.header.navigation.xml b/apache-fop/src/test/resources/docbook-xsl/params/suppress.header.navigation.xml new file mode 100644 index 0000000000..8fff0810a8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/suppress.header.navigation.xml @@ -0,0 +1,27 @@ + + +suppress.header.navigation +boolean + + +suppress.header.navigation +Disable header navigation + + + + + + + + +Description + +If non-zero, header navigation will be suppressed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/suppress.homepage.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/suppress.homepage.title.xml new file mode 100644 index 0000000000..38a3306253 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/suppress.homepage.title.xml @@ -0,0 +1,25 @@ + + +suppress.homepage.title +boolean + + +suppress.homepage.title +Suppress title on homepage? + + + + + + + + +Description +FIXME:If non-zero, the title on the homepage is suppressed? + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/suppress.navigation.xml b/apache-fop/src/test/resources/docbook-xsl/params/suppress.navigation.xml new file mode 100644 index 0000000000..351fc4d435 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/suppress.navigation.xml @@ -0,0 +1,28 @@ + + +suppress.navigation +boolean + + +suppress.navigation +Disable header and footer navigation + + + + + + + + +Description + + +If non-zero, header and footer navigation will be suppressed. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.fo.xml b/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.fo.xml new file mode 100644 index 0000000000..b501a77c07 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.fo.xml @@ -0,0 +1,53 @@ + + +svg.embedding.mode +list +external-graphic +instream-foreign-object + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + instream-foreign-object + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.xml b/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.xml new file mode 100644 index 0000000000..891737fbe0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/svg.embedding.mode.xml @@ -0,0 +1,78 @@ + + +svg.embedding.mode +list +inline +object +image +link +iframe +embed + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + object + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/symbol.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/symbol.font.family.xml new file mode 100644 index 0000000000..8acc791fd5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/symbol.font.family.xml @@ -0,0 +1,45 @@ + + +symbol.font.family +list +open +serif +sans-serif +monospace + + +symbol.font.family +The font families to be searched for symbols outside + of the body font + + + + +Symbol,ZapfDingbats + + + +Description + +A typical body or title font does not contain all +the character glyphs that DocBook supports. This parameter +specifies additional fonts that should be searched for +special characters not in the normal font. +These symbol font names are automatically appended +to the body or title font family name when fonts +are specified in a +font-family +property in the FO output. + +The symbol font names should be entered as a +comma-separated list. The default value is +Symbol,ZapfDingbats. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.borders.with.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.borders.with.css.xml new file mode 100644 index 0000000000..2640fb98da --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.borders.with.css.xml @@ -0,0 +1,28 @@ + + +table.borders.with.css +boolean + + +table.borders.with.css +Use CSS to specify table, row, and cell borders? + + + + + + + + +Description + +If non-zero, CSS will be used to draw table borders. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.caption.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.caption.properties.xml new file mode 100644 index 0000000000..8f028a5c60 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.caption.properties.xml @@ -0,0 +1,31 @@ + + +table.caption.properties +attribute set + + +table.caption.properties +Properties associated with a table caption + + + + + + always + + + + +Description + +The styling for table caption element (not the table title). + +See also table.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.color.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.color.xml new file mode 100644 index 0000000000..326e148647 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.color.xml @@ -0,0 +1,39 @@ + + +table.cell.border.color +color + + +table.cell.border.color +Specifies the border color of table cells + + + + + +black + + + +Description + +Set the color of table cell borders. If non-zero, the value is used +for the border coloration. See CSS. A +color is either a keyword or a numerical RGB specification. +Keywords are aqua, black, blue, fuchsia, gray, green, lime, maroon, +navy, olive, orange, purple, red, silver, teal, white, and +yellow. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.style.xml new file mode 100644 index 0000000000..221a29c33b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.style.xml @@ -0,0 +1,42 @@ + + +table.cell.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.cell.border.style +Specifies the border style of table cells + + + + +solid + + + +Description + +Specifies the border style of table cells. + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.thickness.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.thickness.xml new file mode 100644 index 0000000000..093e38ed84 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.border.thickness.xml @@ -0,0 +1,35 @@ + + +table.cell.border.thickness +length + + +table.cell.border.thickness +Specifies the thickness of table cell borders + + + + +0.5pt + + + +Description + +If non-zero, specifies the thickness of borders on table +cells. The units are points. See +CSS + + + To control properties of cell borders in HTML output, you must also turn on the + table.borders.with.css parameter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.cell.padding.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.padding.xml new file mode 100644 index 0000000000..25fd653581 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.cell.padding.xml @@ -0,0 +1,32 @@ + + +table.cell.padding +attribute set + + +table.cell.padding +Specifies the padding of table cells + + + + + + 2pt + 2pt + 2pt + 2pt + + + + +Description + +Specifies the padding of table cells. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.entry.padding.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.entry.padding.xml new file mode 100644 index 0000000000..cfd6aa3321 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.entry.padding.xml @@ -0,0 +1,27 @@ + + +table.entry.padding +length + + +table.entry.padding + + + + + +2pt + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.format.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.format.xml new file mode 100644 index 0000000000..ebbd2ea3bc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.format.xml @@ -0,0 +1,33 @@ + + +table.footnote.number.format +list +11,2,3... +AA,B,C... +aa,b,c... +ii,ii,iii... +II,II,III... + + +table.footnote.number.format +Identifies the format used for footnote numbers in tables + + + + +a + + + +Description + +The table.footnote.number.format specifies the format +to use for footnote numeration (1, i, I, a, or A) in tables. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.symbols.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.symbols.xml new file mode 100644 index 0000000000..a8d8c23eff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.number.symbols.xml @@ -0,0 +1,39 @@ + + +table.footnote.number.symbols +string + + +table.footnote.number.symbols +Special characters to use a footnote markers in tables + + + + + + + + +Description + +If table.footnote.number.symbols is not the empty string, +table footnotes will use the characters it contains as footnote symbols. For example, +*&#x2020;&#x2021;&#x25CA;&#x2720; will identify +footnotes with *, †, ‡, +â—Š, and ✠. If there are more footnotes +than symbols, the stylesheets will fall back to numbered footnotes using +table.footnote.number.format. + +The use of symbols for footnotes depends on the ability of your +processor (or browser) to render the symbols you select. Not all systems are +capable of displaying the full range of Unicode characters. If the quoted characters +in the preceding paragraph are not displayed properly, that's a good indicator +that you may have trouble using those symbols for footnotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.properties.xml new file mode 100644 index 0000000000..94bed80b25 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.footnote.properties.xml @@ -0,0 +1,39 @@ + + +table.footnote.properties +attribute set + + +table.footnote.properties +Properties applied to each table footnote body + + + + + + + + + normal + normal + 2pt + + + + + +Description + +This attribute set is applied to the footnote-block +for each table footnote. +It can be used to set the +font-size, font-family, and other inheritable properties that will be +applied to all table footnotes. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.color.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.color.xml new file mode 100644 index 0000000000..070cb6a3db --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.color.xml @@ -0,0 +1,28 @@ + + +table.frame.border.color +color + + +table.frame.border.color +Specifies the border color of table frames + + + + + +black + + + +Description + +Specifies the border color of table frames. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.style.xml new file mode 100644 index 0000000000..881840c5ac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.style.xml @@ -0,0 +1,37 @@ + + +table.frame.border.style +list +none +solid +dotted +dashed +double +groove +ridge +inset +outset +solid + + +table.frame.border.style +Specifies the border style of table frames + + + + +solid + + + +Description + +Specifies the border style of table frames. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.thickness.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.thickness.xml new file mode 100644 index 0000000000..1eaa04aefc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.frame.border.thickness.xml @@ -0,0 +1,27 @@ + + +table.frame.border.thickness +length + + +table.frame.border.thickness +Specifies the thickness of the frame border + + + + +0.5pt + + + +Description + +Specifies the thickness of the border on the table's frame. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.properties.xml new file mode 100644 index 0000000000..76340c8d33 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.properties.xml @@ -0,0 +1,34 @@ + + +table.properties +attribute set + + +table.properties +Properties associated with the block surrounding a table + + + + + + auto + + + + +Description + +Block styling properties for tables. This parameter should really +have been called table.block.properties or something +like that, but we’re leaving it to avoid backwards-compatibility +problems. + +See also table.table.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.spacer.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.spacer.image.xml new file mode 100644 index 0000000000..12e6d5a521 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.spacer.image.xml @@ -0,0 +1,26 @@ + + +table.spacer.image +filename + + +table.spacer.image +Invisible pixel for tabular accessibility + + + + +graphics/spacer.gif + + + +Description +This is the 1x1 pixel, transparent pixel used for the table trick to increase the accessibility of the tabular +website presentation. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/table.table.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/table.table.properties.xml new file mode 100644 index 0000000000..4ee34223c5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/table.table.properties.xml @@ -0,0 +1,36 @@ + + +table.table.properties +attribute set + + +table.table.properties +Properties associated with a table + + + + + + retain + collapse + + + + +Description + +The styling for tables. This parameter should really +have been called table.properties, but that parameter +name was inadvertently established for the block-level properties +of the table as a whole. + + +See also table.properties. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/tablecolumns.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/tablecolumns.extension.xml new file mode 100644 index 0000000000..2ec817a3ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/tablecolumns.extension.xml @@ -0,0 +1,30 @@ + + +tablecolumns.extension +boolean + + +tablecolumns.extension +Enable the table columns extension function + + + + + + + + +Description + +The table columns extension function adjusts the widths of table +columns in the HTML result to more accurately reflect the specifications +in the CALS table. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/target.database.document.xml b/apache-fop/src/test/resources/docbook-xsl/params/target.database.document.xml new file mode 100644 index 0000000000..042f017374 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/target.database.document.xml @@ -0,0 +1,37 @@ + + +target.database.document +uri + + +target.database.document +Name of master database file for resolving +olinks + + + + olinkdb.xml + + +Description + + +To resolve olinks between documents, the stylesheets use a master +database document that identifies the target datafiles for all the +documents within the scope of the olinks. This parameter value is the +URI of the master document to be read during processing to resolve +olinks. The default value is olinkdb.xml. + +The data structure of the file is defined in the +targetdatabase.dtd DTD. The database file +provides the high level elements to record the identifiers, locations, +and relationships of documents. The cross reference data for +individual documents is generally pulled into the database using +system entity references or XIncludes. See also +targets.filename. + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/targets.filename.xml b/apache-fop/src/test/resources/docbook-xsl/params/targets.filename.xml new file mode 100644 index 0000000000..de6e29c899 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/targets.filename.xml @@ -0,0 +1,32 @@ + + +targets.filename +string + + +targets.filename +Name of cross reference targets data file + + +target.db + + +Description + + +In order to resolve olinks efficiently, the stylesheets can +generate an external data file containing information about +all potential cross reference endpoints in a document. +This parameter lets you change the name of the generated +file from the default name target.db. +The name must agree with that used in the target database +used to resolve olinks during processing. +See also target.database.document. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/task.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/task.properties.xml new file mode 100644 index 0000000000..3ded676567 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/task.properties.xml @@ -0,0 +1,29 @@ + + +task.properties +attribute set + + +task.properties +Properties associated with a task + + + + + + auto + + + + +Description + +Properties to style the entire block containing a task element. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/template.xml b/apache-fop/src/test/resources/docbook-xsl/params/template.xml new file mode 100644 index 0000000000..9d35f83f39 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/template.xml @@ -0,0 +1,27 @@ + + +[[NAME]] + + + +[[NAME]] + + + + + + + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/tex.math.delims.xml b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.delims.xml new file mode 100644 index 0000000000..3a302f795b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.delims.xml @@ -0,0 +1,47 @@ + + +tex.math.delims +boolean + + +tex.math.delims +Should equations output for processing by TeX be +surrounded by math mode delimiters? + + + + + + + + +Description + +For compatibility with DSSSL based DBTeXMath from Allin Cottrell +you should set this parameter to 0. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + +Related Parameters + tex.math.in.alt, + passivetex.extensions + + +See Also + You can also use the dbtex delims processing + instruction to control whether delimiters are output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/tex.math.file.xml b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.file.xml new file mode 100644 index 0000000000..fbc6eaa697 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.file.xml @@ -0,0 +1,42 @@ + + +tex.math.file +string + + +tex.math.file +Name of temporary file for generating images from equations + + + + +tex-math-equations.tex + + + +Description + +Name of auxiliary file for TeX equations. This file can be +processed by dvi2bitmap to get bitmap versions of equations for HTML +output. + + +Related Parameters + tex.math.in.alt, + tex.math.delims, + + +More information + For how-to documentation on embedding TeX equations and + generating output from them, see + DBTeXMath. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/tex.math.in.alt.xml b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.in.alt.xml new file mode 100644 index 0000000000..ed1abb9752 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/tex.math.in.alt.xml @@ -0,0 +1,76 @@ + + +tex.math.in.alt +list +plain +latex + + +tex.math.in.alt +TeX notation used for equations + + + + + + + + +Description + +If you want type math directly in TeX notation in equations, +this parameter specifies notation used. Currently are supported two +values -- plain and latex. Empty +value means that you are not using TeX math at all. + +Preferred way for including TeX alternative of math is inside of +textobject element. Eg.: + +<inlineequation> +<inlinemediaobject> +<imageobject> +<imagedata fileref="eq1.gif"/> +</imageobject> +<textobject><phrase>E=mc squared</phrase></textobject> +<textobject role="tex"><phrase>E=mc^2</phrase></textobject> +</inlinemediaobject> +</inlineequation> + +If you are using graphic element, you can +store TeX inside alt element: + +<inlineequation> +<alt role="tex">a^2+b^2=c^2</alt> +<graphic fileref="a2b2c2.gif"/> +</inlineequation> + +If you want use this feature, you should process your FO with +PassiveTeX, which only supports TeX math notation. When calling +stylsheet, don't forget to specify also +passivetex.extensions=1. + +If you want equations in HTML, just process generated file +tex-math-equations.tex by TeX or LaTeX. Then run +dvi2bitmap program on result DVI file. You will get images for +equations in your document. + + + This feature is useful for print/PDF output only if you + use the obsolete and now unsupported PassiveTeX XSL-FO + engine. + + + + +Related Parameters + tex.math.delims, + passivetex.extensions, + tex.math.file + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/text.home.xml b/apache-fop/src/test/resources/docbook-xsl/params/text.home.xml new file mode 100644 index 0000000000..0bc81dd796 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/text.home.xml @@ -0,0 +1,27 @@ + + +text.home +string + + +text.home +Home + + + + +Home + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/text.next.xml b/apache-fop/src/test/resources/docbook-xsl/params/text.next.xml new file mode 100644 index 0000000000..d89b8e8e7c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/text.next.xml @@ -0,0 +1,27 @@ + + +text.next +string + + +text.next +FIXME: + + + + +Next + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/text.prev.xml b/apache-fop/src/test/resources/docbook-xsl/params/text.prev.xml new file mode 100644 index 0000000000..62d28e3deb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/text.prev.xml @@ -0,0 +1,27 @@ + + +text.prev +string + + +text.prev +FIXME: + + + + +Prev + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/text.toc.xml b/apache-fop/src/test/resources/docbook-xsl/params/text.toc.xml new file mode 100644 index 0000000000..083b8e31a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/text.toc.xml @@ -0,0 +1,27 @@ + + +text.toc +string + + +text.toc +FIXME: + + + + +ToC + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/text.up.xml b/apache-fop/src/test/resources/docbook-xsl/params/text.up.xml new file mode 100644 index 0000000000..f6dca22b87 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/text.up.xml @@ -0,0 +1,27 @@ + + +text.up +string + + +text.up +FIXME: + + + + +Up + + + +Description + +FIXME: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/textbgcolor.xml b/apache-fop/src/test/resources/docbook-xsl/params/textbgcolor.xml new file mode 100644 index 0000000000..b9aefe6e93 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/textbgcolor.xml @@ -0,0 +1,26 @@ + + +textbgcolor +color + + +textbgcolor +The background color of the table body + + + + +white + + + +Description +The background color of the table body. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/textdata.default.encoding.xml b/apache-fop/src/test/resources/docbook-xsl/params/textdata.default.encoding.xml new file mode 100644 index 0000000000..b6f30a8b99 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/textdata.default.encoding.xml @@ -0,0 +1,32 @@ + + +textdata.default.encoding +string + + +textdata.default.encoding +Default encoding of external text files which are included +using textdata element + + + + + + + + +Description + +Specifies the encoding of any external text files included using +textdata element. This value is used only when you do +not specify encoding by the appropriate attribute +directly on textdata. An empty string is interpreted as the system +default encoding. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/textinsert.extension.xml b/apache-fop/src/test/resources/docbook-xsl/params/textinsert.extension.xml new file mode 100644 index 0000000000..a6f1ea4007 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/textinsert.extension.xml @@ -0,0 +1,62 @@ + + + textinsert.extension + boolean + + + textinsert.extension + Enables the textinsert extension element + + + + + + + Description + The textinsert extension element inserts the contents of + a file into the result tree (as text). + + To use the textinsert extension element, you must use + either Saxon or Xalan as your XSLT processor (it doesn’t + work with xsltproc), along with either the DocBook Saxon + extensions or DocBook Xalan extensions (for more + information about those extensions, see DocBook Saxon Extensions and DocBook Xalan Extensions), and you must set both + the use.extensions and + textinsert.extension parameters to + 1. + As an alternative to using the textinsert element, + consider using an Xinclude element with the + parse="text" attribute and value + specified, as detailed in Using XInclude for text inclusions. + + + See Also + You can also use the dbhtml-include href processing + instruction to insert external files — both files containing + plain text and files with markup content (including HTML + content). + + More information + For how-to documentation on inserting contents of + external code files and other text files into output, see + External code files. + For guidelines on inserting contents of + HTML files into output, see Inserting external HTML code. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/title.font.family.xml b/apache-fop/src/test/resources/docbook-xsl/params/title.font.family.xml new file mode 100644 index 0000000000..f04e61694a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/title.font.family.xml @@ -0,0 +1,38 @@ + + +title.font.family +list +open +serif +sans-serif +monospace + + +title.font.family +The default font family for titles + + + + +sans-serif + + + +Description + +The title font family is used for titles (chapter, section, figure, +etc.) + +If more than one font is required, enter the font names, +separated by a comma, e.g. + + <xsl:param name="body.font.family">Arial, SimSun, serif</xsl:param> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/title.margin.left.xml b/apache-fop/src/test/resources/docbook-xsl/params/title.margin.left.xml new file mode 100644 index 0000000000..dc50dd137a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/title.margin.left.xml @@ -0,0 +1,65 @@ + + +title.margin.left +length + + +title.margin.left +Adjust the left margin for titles + + + + + + + -4pc + 0pt + 0pt + + + + + +Description + +This parameter provides +the means of adjusting the left margin for titles +when the XSL-FO processor being used is +an old version of FOP (0.25 and earlier). +It is only useful when the fop.extensions +is nonzero. + +The left margin of the body region +is calculated to include this space, +and titles are outdented to the left outside +the body region by this amount, +effectively leaving titles at the intended left margin +and the body text indented. +Currently this method is only used for old FOP because +it cannot properly use the body.start.indent +parameter. + + +The default value when the fop.extensions +parameter is nonzero is -4pc, which means the +body text is indented 4 picas relative to +the titles. +The default value when the fop.extensions +parameter equals zero is 0pt, and +the body indent should instead be specified +using the body.start.indent +parameter. + + +If you set the value to zero, be sure to still include +a unit indicator such as 0pt, or +the FO processor will report errors. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/titlefoil.html.xml b/apache-fop/src/test/resources/docbook-xsl/params/titlefoil.html.xml new file mode 100644 index 0000000000..5fa2acd501 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/titlefoil.html.xml @@ -0,0 +1,27 @@ + + +titlefoil.html +filename + + +titlefoil.html +Name of title foil HTML file + + + + + + + + +Description + +Sets the filename used for the slides titlepage. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.bg.color.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.bg.color.xml new file mode 100644 index 0000000000..1389c62b69 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.bg.color.xml @@ -0,0 +1,27 @@ + + +toc.bg.color +color + + +toc.bg.color +Background color for ToC frame + + + + +#FFFFFF + + + +Description + +Specifies the background color used in the ToC frame. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.graphic.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.graphic.xml new file mode 100644 index 0000000000..bb24888f82 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.graphic.xml @@ -0,0 +1,28 @@ + + +toc.blank.graphic +boolean + + +toc.blank.graphic +Use graphic for "blanks" in TOC? + + + + + + + + +Description +If non-zero, "blanks" in the the TOC will be accomplished +with the graphic identified by toc.spacer.image. + +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.image.xml new file mode 100644 index 0000000000..82caa2f321 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.image.xml @@ -0,0 +1,27 @@ + + +toc.blank.image +filename + + +toc.blank.image +The image for "blanks" in the TOC + + + + +graphics/blank.gif + + + +Description +If toc.blank.graphic is non-zero, this image +will be used to for "blanks" in the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.text.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.text.xml new file mode 100644 index 0000000000..d39aec4fd5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.blank.text.xml @@ -0,0 +1,27 @@ + + +toc.blank.text +string + + +toc.blank.text +The text for "blanks" in the TOC + + + + +    + + + +Description +If toc.blank.graphic is zero, this text string +will be used for "blanks" in the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.hide.show.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.hide.show.xml new file mode 100644 index 0000000000..1570ec438b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.hide.show.xml @@ -0,0 +1,33 @@ + + +toc.hide.show +boolean + + +toc.hide.show +Enable hide/show button for ToC frame + + + + + + + + +Description + +If non-zero, JavaScript (and an additional icon, see +hidetoc.image and +showtoc.image) is added to each slide +to allow the ToC panel to be toggled on each panel. + +There is a bug in Mozilla 1.0 (at least as of CR3) that causes +the browser to reload the titlepage when this feature is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.html.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.html.xml new file mode 100644 index 0000000000..62c060c79b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.html.xml @@ -0,0 +1,27 @@ + + +toc.html +filename + + +toc.html +Name of ToC HTML file + + + + + + + + +Description + +Sets the filename used for the table of contents page. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.image.xml new file mode 100644 index 0000000000..147155cf84 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.image.xml @@ -0,0 +1,27 @@ + + +toc.image +filename + + +toc.image +ToC image + + + + +active/nav-toc.png + + + +Description + +Specifies the filename of the ToC navigation icon. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.indent.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.indent.width.xml new file mode 100644 index 0000000000..449e74ccb1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.indent.width.xml @@ -0,0 +1,34 @@ + + +toc.indent.width +float + + +toc.indent.width +Amount of indentation for TOC entries + + + + +24 + + + + +Description + +Specifies, in points, the distance by which each level of the +TOC is indented from its parent. + +This value is expressed in points, without +a unit (in other words, it is a bare number). Using a bare number allows the stylesheet +to perform calculations that would otherwise have to be performed by the FO processor +because not all processors support expressions. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.line.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.line.properties.xml new file mode 100644 index 0000000000..0886fa45b6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.line.properties.xml @@ -0,0 +1,44 @@ + + +toc.line.properties +attribute set + + +toc.line.properties +Properties for lines in ToCs and LoTs + + + + + + justify + start + + + + + + +Description + +Properties which are applied to every line in ToC (or LoT). You can +modify them in order to change appearance of all, or some lines. For +example, in order to make lines for chapters bold, specify the +following in your customization layer: + +<xsl:attribute-set name="toc.line.properties"> + <xsl:attribute name="font-weight"> + <xsl:choose> + <xsl:when test="self::chapter">bold</xsl:when> + <xsl:otherwise>normal</xsl:otherwise> + </xsl:choose> + </xsl:attribute> +</xsl:attribute-set> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.list.type.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.list.type.xml new file mode 100644 index 0000000000..31dc465df5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.list.type.xml @@ -0,0 +1,30 @@ + + +toc.list.type +list +dl +ul +ol + + +toc.list.type +Type of HTML list element to use for Tables of Contents + + + +dl + + +Description + +When an automatically generated Table of Contents (or List of Titles) +is produced, this HTML element will be used to make the list. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.margin.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.margin.properties.xml new file mode 100644 index 0000000000..25963df570 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.margin.properties.xml @@ -0,0 +1,33 @@ + + +toc.margin.properties +attribute set + + +toc.margin.properties +Margin properties used on Tables of Contents + + + + + + 0.5em + 1em + 2em + 0.5em + 1em + 2em + + + + +Description +This attribute set is used on Tables of Contents. These attributes are set +on the wrapper that surrounds the ToC block, not on each individual lines. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.max.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.max.depth.xml new file mode 100644 index 0000000000..75902b3862 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.max.depth.xml @@ -0,0 +1,25 @@ + + +toc.max.depth +integer + + +toc.max.depth +How many levels should be created for each TOC? + + + +8 + + +Description + +Specifies the maximal depth of TOC on all levels. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.graphic.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.graphic.xml new file mode 100644 index 0000000000..4b2cb74f3b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.graphic.xml @@ -0,0 +1,28 @@ + + +toc.pointer.graphic +boolean + + +toc.pointer.graphic +Use graphic for TOC pointer? + + + + + + + + +Description +If non-zero, the "pointer" in the TOC will be displayed +with the graphic identified by toc.pointer.image. + +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.image.xml new file mode 100644 index 0000000000..bf0690189c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.image.xml @@ -0,0 +1,27 @@ + + +toc.pointer.image +filename + + +toc.pointer.image +The image for the "pointer" in the TOC + + + + +graphics/arrow.gif + + + +Description +If toc.pointer.graphic is non-zero, this image +will be used for the "pointer" in the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.text.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.text.xml new file mode 100644 index 0000000000..b094765aeb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.pointer.text.xml @@ -0,0 +1,27 @@ + + +toc.pointer.text +string + + +toc.pointer.text +The text for the "pointer" in the TOC + + + + + >  + + + +Description +If toc.pointer.graphic is zero, this text string +will be used to display the "pointer" in the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.row.height.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.row.height.xml new file mode 100644 index 0000000000..89bac83724 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.row.height.xml @@ -0,0 +1,33 @@ + + +toc.row.height +length + + +toc.row.height +Height of ToC rows in dynamic ToCs + + + + +22 + + + +Description + +This parameter specifies the height of each row in the table of +contents. This is only applicable if a dynamic ToC is used. You may want to +adjust this parameter for optimal appearance with the font and image +sizes selected by your CSS +stylesheet. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.section.depth.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.section.depth.xml new file mode 100644 index 0000000000..db99f9c6a4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.section.depth.xml @@ -0,0 +1,28 @@ + + +toc.section.depth +integer + + +toc.section.depth +How deep should recursive sections appear +in the TOC? + + + +2 + + +Description + +Specifies the depth to which recursive sections should appear in the +TOC. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.graphic.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.graphic.xml new file mode 100644 index 0000000000..0a5729c239 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.graphic.xml @@ -0,0 +1,28 @@ + + +toc.spacer.graphic +boolean + + +toc.spacer.graphic +Use graphic for TOC spacer? + + + + + + + + +Description +If non-zero, the indentation in the TOC will be accomplished +with the graphic identified by toc.spacer.image. + +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.image.xml new file mode 100644 index 0000000000..0d550167dc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.image.xml @@ -0,0 +1,27 @@ + + +toc.spacer.image +filename + + +toc.spacer.image +The image for spacing the TOC + + + + +graphics/blank.gif + + + +Description +If toc.spacer.graphic is non-zero, this image +will be used to indent the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.text.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.text.xml new file mode 100644 index 0000000000..bfb605f573 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.spacer.text.xml @@ -0,0 +1,27 @@ + + +toc.spacer.text +string + + +toc.spacer.text +The text for spacing the TOC + + + + +    + + + +Description +If toc.spacer.graphic is zero, this text string +will be used to indent the TOC. +Only applies with the tabular presentation is being used. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/toc.width.xml b/apache-fop/src/test/resources/docbook-xsl/params/toc.width.xml new file mode 100644 index 0000000000..71a3c03b72 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/toc.width.xml @@ -0,0 +1,28 @@ + + +toc.width +length + + +toc.width +Width of ToC frame + + + + +250 + + + + +Description + +Specifies the width of the ToC frame in pixels. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ua.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/ua.js.xml new file mode 100644 index 0000000000..8242a7162f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ua.js.xml @@ -0,0 +1,28 @@ + + +ua.js +filename + + +ua.js +UA JavaScript file + + + + +ua.js + + + +Description + +Specifies the filename of the UA JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ulink.footnotes.xml b/apache-fop/src/test/resources/docbook-xsl/params/ulink.footnotes.xml new file mode 100644 index 0000000000..f17c884a62 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ulink.footnotes.xml @@ -0,0 +1,34 @@ + + +ulink.footnotes +boolean + + +ulink.footnotes +Generate footnotes for ulinks? + + + + + + + + +Description + +If non-zero, and if ulink.show also is non-zero, +the URL of each ulink will appear as a footnote. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.footnotes applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.chars.xml b/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.chars.xml new file mode 100644 index 0000000000..7419e87ce4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.chars.xml @@ -0,0 +1,38 @@ + + +ulink.hyphenate.chars +string + + +ulink.hyphenate.chars +List of characters to allow ulink URLs to be automatically +hyphenated on + + + + +/ + + + +Description + +If the ulink.hyphenate parameter is not +empty, then hyphenation of ulinks is turned on, and any character +contained in this parameter is treated as an allowable hyphenation +point. This and ulink.hyphenate work together, +one is pointless without the other being set to a non-empty value + +The default value is /, but the parameter could +be customized to contain other URL characters, as for example: + +<xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.xml b/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.xml new file mode 100644 index 0000000000..8aa1dfed46 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ulink.hyphenate.xml @@ -0,0 +1,39 @@ + + +ulink.hyphenate +string + + +ulink.hyphenate +Allow URLs to be automatically hyphenated + + + + + + + + +Description + +If not empty, the specified character (or more generally, +content) is added to URLs after every character included in the string +in the ulink.hyphenate.chars parameter (default +is /) to enable hyphenation of ulinks. If the character +in this parameter is a Unicode soft hyphen (0x00AD) or Unicode +zero-width space (0x200B), some FO processors will be able to +reasonably hyphenate long URLs. + +Note that this hyphenation process is only applied when the +ulink element is empty and the url attribute is reused as the link +text. It is not applied if the ulink has literal text content. The +same applies in in DocBook 5, where ulink was replaced with link with +an xlink:href attribute. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ulink.show.xml b/apache-fop/src/test/resources/docbook-xsl/params/ulink.show.xml new file mode 100644 index 0000000000..6f90d58004 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ulink.show.xml @@ -0,0 +1,37 @@ + + +ulink.show +boolean + + +ulink.show +Display URLs after ulinks? + + + + + + + + +Description + +If non-zero, the URL of each ulink will +appear after the text of the link. If the text of the link and the URL +are identical, the URL is suppressed. + +See also ulink.footnotes. + +DocBook 5 does not have an ulink element. When processing +DocBoook 5 documents, ulink.show applies to all inline +elements that are marked up with xlink:href attributes +that point to external resources. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/ulink.target.xml b/apache-fop/src/test/resources/docbook-xsl/params/ulink.target.xml new file mode 100644 index 0000000000..cf1d42bd30 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/ulink.target.xml @@ -0,0 +1,29 @@ + + +ulink.target +string + + +ulink.target +The HTML anchor target for ULinks + + + + +_top + + + +Description + +If ulink.target is non-zero, its value will +be used for the target attribute +on anchors generated for ulinks. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/up.image.xml b/apache-fop/src/test/resources/docbook-xsl/params/up.image.xml new file mode 100644 index 0000000000..1c3bfa2141 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/up.image.xml @@ -0,0 +1,27 @@ + + +up.image +filename + + +up.image +Up-arrow image + + + + +active/nav-up.png + + + +Description + +Specifies the filename of the upward-pointing navigation arrow. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.embed.for.svg.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.embed.for.svg.xml new file mode 100644 index 0000000000..f7c52cc5ff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.embed.for.svg.xml @@ -0,0 +1,33 @@ + + +use.embed.for.svg +boolean + + +use.embed.for.svg +Use HTML embed for SVG? + + + + + + + + +Description + +If non-zero, an embed element will be created for +SVG figures. An object is always created, +this parameter merely controls whether or not an additional embed +is generated inside the object. + +On the plus side, this may be more portable among browsers and plug-ins. +On the minus side, it isn't valid HTML. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.extensions.xml new file mode 100644 index 0000000000..4dce71bc3b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.extensions.xml @@ -0,0 +1,31 @@ + + +use.extensions +boolean + + +use.extensions +Enable extensions + + + + + + + + +Description + +If non-zero, extensions may be used. Each extension is +further controlled by its own parameter. But if +use.extensions is zero, no extensions will +be used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.id.as.filename.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.id.as.filename.xml new file mode 100644 index 0000000000..e5133e9f5a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.id.as.filename.xml @@ -0,0 +1,30 @@ + + +use.id.as.filename +boolean + + +use.id.as.filename +Use ID value of chunk elements as the filename? + + + + + + + + +Description + +If use.id.as.filename +is non-zero, the filename of chunk elements that have IDs will be +derived from the ID value. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.id.function.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.id.function.xml new file mode 100644 index 0000000000..5f4e6f71aa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.id.function.xml @@ -0,0 +1,32 @@ + + +use.id.function +boolean + + +use.id.function +Use the XPath id() function to find link targets? + + + + + + + + +Description + +If 1, the stylesheets use the id() function +to find the targets of cross reference elements. This is more +efficient, but only works if your XSLT processor implements the +id() function, naturally. +THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1. +SEE xref.xsl IF YOU NEED TO TURN IT OFF. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.local.olink.style.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.local.olink.style.xml new file mode 100644 index 0000000000..eb4f57aa71 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.local.olink.style.xml @@ -0,0 +1,28 @@ + + +use.local.olink.style +boolean + + +use.local.olink.style +Process olinks using xref style of current +document + + + + +Description + +When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the use.local.olink.style parameter is set to non-zero, then instead the cross +reference string is formed again from the target title, number, and +element name, using the stylesheet processing the targeting document. +Then olinks will match the xref style in the targeting document +rather than in the target document. If both documents are processed +with the same stylesheet, then the results will be the same. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.role.as.xrefstyle.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.role.as.xrefstyle.xml new file mode 100644 index 0000000000..56c4470a4b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.role.as.xrefstyle.xml @@ -0,0 +1,93 @@ + + +use.role.as.xrefstyle +boolean + + +use.role.as.xrefstyle +Use role attribute for +xrefstyle on xref? + + + + + + + + +Description + +In DocBook documents that conform to a schema older than V4.3, this parameter allows +role to serve the purpose of specifying the cross reference style. + +If non-zero, the role attribute on +xref will be used to select the cross reference style. +In DocBook V4.3, the xrefstyle attribute was added for this purpose. +If the xrefstyle attribute is present, +role will be ignored, regardless of the setting +of this parameter. + + + +Example + +The following small stylesheet shows how to configure the +stylesheets to make use of the cross reference style: + +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<xsl:import href="../xsl/html/docbook.xsl"/> + +<xsl:output method="html"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:context name="xref"> + <l:template name="chapter" style="title" text="Chapter %n, %t"/> + <l:template name="chapter" text="Chapter %n"/> + </l:context> + </l:l10n> +</l:i18n> + +</xsl:stylesheet> + +With this stylesheet, the cross references in the following document: + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> +<book id="book"><title>Book</title> + +<preface> +<title>Preface</title> + +<para>Normal: <xref linkend="ch1"/>.</para> +<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para> + +</preface> + +<chapter id="ch1"> +<title>First Chapter</title> + +<para>Irrelevant.</para> + +</chapter> +</book> + +will appear as: + + +Normal: Chapter 1. +Title: Chapter 1, First Chapter. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.role.for.mediaobject.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.role.for.mediaobject.xml new file mode 100644 index 0000000000..9241aced8c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.role.for.mediaobject.xml @@ -0,0 +1,56 @@ + + +use.role.for.mediaobject +boolean + + +use.role.for.mediaobject +Use role attribute +value for selecting which of several objects within a mediaobject to use. + + + + + + + + + +Description + +If non-zero, the role attribute on +imageobjects or other objects within a mediaobject container will be used to select which object will be +used. + + +The order of selection when then parameter is non-zero is: + + + + If the stylesheet parameter preferred.mediaobject.role has a value, then the object whose role equals that value is selected. + + +Else if an object's role attribute has a value of +html for HTML processing or +fo for FO output, then the first +of such objects is selected. + + + +Else the first suitable object is selected. + + + +If the value of +use.role.for.mediaobject +is zero, then role attributes are not considered +and the first suitable object +with or without a role value is used. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/use.svg.xml b/apache-fop/src/test/resources/docbook-xsl/params/use.svg.xml new file mode 100644 index 0000000000..8f13be0f81 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/use.svg.xml @@ -0,0 +1,30 @@ + + +use.svg +boolean + + +use.svg +Allow SVG in the result tree? + + + + + + + + +Description + +If non-zero, SVG will be considered an acceptable image format. SVG +is passed through to the result tree, so correct rendering of the resulting +diagram depends on the formatter (FO processor or web browser) that is used +to process the output from the stylesheet. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/user.css.xml b/apache-fop/src/test/resources/docbook-xsl/params/user.css.xml new file mode 100644 index 0000000000..e58254f2ed --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/user.css.xml @@ -0,0 +1,29 @@ + + +user.css +filename + + +user.css +Specifies the path to user-supplied CSS + + + + + user.css + + + +Description + +This parameter specifies the path from where the + CSS styling is read. This file can be used to + add additional styling to the slides. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.blocks.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.blocks.xml new file mode 100644 index 0000000000..71e1c98cfd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.blocks.xml @@ -0,0 +1,62 @@ + + +variablelist.as.blocks +boolean + + +variablelist.as.blocks +Format variablelists lists as blocks? + + + + + + + + +Description + +If non-zero, variablelists will be formatted as +blocks. + +If you have long terms, proper list markup in the FO case may produce +unattractive lists. By setting this parameter, you can force the stylesheets +to produce block markup instead of proper lists. + +You can override this setting with a processing instruction as the +child of variablelist: dbfo +list-presentation="blocks" or dbfo +list-presentation="list". + +When using list-presentation="list", +you can also control the amount of space used for the terms with +the dbfo term-width=".25in" processing instruction, +the termlength attribute on variablelist, +or allow the stylesheets to attempt to calculate the amount of space to leave based on the +number of letters in the longest term. + + + <variablelist> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1.5in"?> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a list even if variablelist.as.blocks is set to 1. + </para> + </listitem> + </varlistentry> + </variablelist> + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.table.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.table.xml new file mode 100644 index 0000000000..113d2f5828 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.as.table.xml @@ -0,0 +1,54 @@ + + +variablelist.as.table +boolean + + +variablelist.as.table +Format variablelists as tables? + + + + + + + + +Description + +If non-zero, variablelists will be formatted as +tables. A processing instruction exists to specify a particular width for the +column containing the terms: +dbhtml term-width=".25in" + +You can override this setting with a processing instruction as the +child of variablelist: dbhtml +list-presentation="table" or dbhtml +list-presentation="list". + +This parameter only applies to the HTML transformations. In the +FO case, proper list markup is robust enough to handle the formatting. +But see also variablelist.as.blocks. + + <variablelist> + <?dbhtml list-presentation="table"?> + <?dbhtml term-width="1.5in"?> + <?dbfo list-presentation="list"?> + <?dbfo term-width="1in"?> + <varlistentry> + <term>list</term> + <listitem> + <para> + Formatted as a table even if variablelist.as.table is set to 0. + </para> + </listitem> + </varlistentry> + </variablelist> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.max.termlength.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.max.termlength.xml new file mode 100644 index 0000000000..ff56a8786e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.max.termlength.xml @@ -0,0 +1,46 @@ + + +variablelist.max.termlength +number + + +variablelist.max.termlength +Specifies the longest term in variablelists + + + + +24 + + + +Description + +In variablelists, the listitem +is indented to leave room for the +term elements. That indent may be computed +if it is not specified with a termlength +attribute on the variablelist element. + + +The computation counts characters in the +term elements in the list +to find the longest term. However, some terms are very long +and would produce extreme indents. This parameter lets you +set a maximum character count. Any terms longer than the maximum +would line wrap. The default value is 24. + + +The character counts are converted to physical widths +by multiplying by 0.50em. There will be some variability +in how many actual characters fit in the space +since some characters are wider than others. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.break.after.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.break.after.xml new file mode 100644 index 0000000000..8472f5ec29 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.break.after.xml @@ -0,0 +1,39 @@ + + +variablelist.term.break.after +boolean + + +variablelist.term.break.after +Generate line break after each term within a +multi-term varlistentry? + + + + +0 + + +Description + +Set a non-zero value for the +variablelist.term.break.after parameter to +generate a line break between terms in a +multi-term varlistentry. + + +If you set a non-zero value for +variablelist.term.break.after, you may also +want to set the value of the +variablelist.term.separator parameter to an +empty string (to suppress rendering of the default comma and space +after each term). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.properties.xml new file mode 100644 index 0000000000..4a4835de47 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.properties.xml @@ -0,0 +1,29 @@ + + +variablelist.term.properties +attribute set + + +variablelist.term.properties +To add properties to the term elements in a variablelist. + + + + + + + + +Description +These properties are added to the block containing a +term in a variablelist. +Use this attribute-set to set +font properties or alignment, for example. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.separator.xml new file mode 100644 index 0000000000..f3df883b02 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/variablelist.term.separator.xml @@ -0,0 +1,40 @@ + + +variablelist.term.separator +string + + +variablelist.term.separator +Text to separate terms within a multi-term +varlistentry + + + + +, + + +Description + +When a varlistentry contains multiple term +elements, the string specified in the value of the +variablelist.term.separator parameter is placed +after each term except the last. + + + To generate a line break between multiple terms in + a varlistentry, set a non-zero value for the + variablelist.term.break.after parameter. If + you do so, you may also want to set the value of the + variablelist.term.separator parameter to an + empty string (to suppress rendering of the default comma and space + after each term). + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/verbatim.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/verbatim.properties.xml new file mode 100644 index 0000000000..28a368ae38 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/verbatim.properties.xml @@ -0,0 +1,38 @@ + + +verbatim.properties +attribute set + + +verbatim.properties +Properties associated with verbatim text + + + + + + 0.8em + 1em + 1.2em + 0.8em + 1em + 1.2em + false + no-wrap + false + preserve + preserve + start + + + +Description +This attribute set is used on all verbatim environments. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.autolabel.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.autolabel.xml new file mode 100644 index 0000000000..de20701af8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.autolabel.xml @@ -0,0 +1,25 @@ + + +webhelp.autolabel +boolean + + +webhelp.autolabel +Should tree-like ToC use autonumbering feature? + + + + +0 + + + +Description +To include chapter and section numbers the table of contents pane, set this parameter to 1. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.base.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.base.dir.xml new file mode 100644 index 0000000000..1dcf6881b5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.base.dir.xml @@ -0,0 +1,29 @@ + + +webhelp.base.dir +string + + +webhelp.base.dir +The base directory for webhelp output. + + + + +docs + + + +Description +If specified, the webhelp.base.dir +parameter identifies the output directory for webhelp. (If not +specified, the output directory is system dependent.) By default, this +parameter is set to docs. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.common.dir.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.common.dir.xml new file mode 100644 index 0000000000..8d5267b761 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.common.dir.xml @@ -0,0 +1,25 @@ + + +webhelp.common.dir +string + + +webhelp.common.dir +Path to the directory for the common webhelp resources (JavaScript, css, common images, etc). + + + + +../common/ + + + +Description +By default, webhelp creates a common directory containing resources such as JavaScript files, css, common images, etc. In some cases you may prefer to store these files in a standard location on your site and point all webhelp documents to that location. You can use this parameter to control the urls written to these common resources. For example, you might set this parameter to /common and create a single common directory at the root of your web server. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.default.topic.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.default.topic.xml new file mode 100644 index 0000000000..4dca60ed0f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.default.topic.xml @@ -0,0 +1,36 @@ + + +webhelp.default.topic +string + + +webhelp.default.topic +The name of the file to which the start file in the webhelp base directory redirects + + + + +index.html + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The +webhelp.default.topic parameter lets you +configure the name of the file that is redirected to. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.include.search.tab.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.include.search.tab.xml new file mode 100644 index 0000000000..b3d6a5b2e8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.include.search.tab.xml @@ -0,0 +1,25 @@ + + +webhelp.include.search.tab +boolean + + +webhelp.include.search.tab +Should the webhelp output include a Search tab? + + + + +1 + + + +Description +Set this parameter to 0 to suppress the search tab from webhelp output. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.indexer.language.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.indexer.language.xml new file mode 100644 index 0000000000..1bead3cf81 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.indexer.language.xml @@ -0,0 +1,47 @@ + + +webhelp.indexer.language + + + +webhelp.indexer.language +The language to use for creating the webhelp search index. + + + + +en + + + +Description +To support stemming in the client-side webhelp stemmer, you must provide the language code. By default, the following languages are supported: + + + en: English + + + de: German + + + fr: French + + + zh: Chinese + + + ja: Japanese + + + ko: Korean + + +See the webhelp documentation for information on adding support for additional languages. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.start.filename.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.start.filename.xml new file mode 100644 index 0000000000..2106de4c65 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.start.filename.xml @@ -0,0 +1,34 @@ + + +webhelp.start.filename +string + + +webhelp.start.filename +The name of the start file in the webhelp base directory. + + + + +index.html + + + +Description +Currently webhelp creates a base directory and puts the output +files in a content subdirectory. It creates a +file in the base directory that redirects to a configured file in the +content directory. The webhelp.start.filename parameter lets you configure the name of the redirect file. + + This parameter will be removed from a future version of + webhelp along with the content + directory. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/webhelp.tree.cookie.id.xml b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.tree.cookie.id.xml new file mode 100644 index 0000000000..8f790be5d0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/webhelp.tree.cookie.id.xml @@ -0,0 +1,38 @@ + + +webhelp.tree.cookie.id +string + + +webhelp.tree.cookie.id +Controls how the cookie that stores the webhelp toc state is named. + + + + + + + + +Description +The webhelp output does not use a frameset. Instead, the table of contents is a div on each page. To preserve the state of the table of contents as the user navigates from page to page, webhelp stores the state in a cookie and reads that cookie when you get to the next page. If you've published several webhelp documents on the same domain, it is important that each cookie have a unique id. In lieu of calling on a GUID generator, by default this parameter is just set to the number of nodes in the document on the assumption that it is unlikely that you will have more than one document with the exact number of nodes. A more optimal solution would be for the user to pass in some unique, stable identifier from the build system to use as the webhelp cookie id. For example, if you have safeguards in place to ensure that the xml:id of the root element of each document will be unique on your site, then you could set webhelptree.cookie.id as follows: + + + + + + + + + + ]]> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/wordml.template.xml b/apache-fop/src/test/resources/docbook-xsl/params/wordml.template.xml new file mode 100644 index 0000000000..4dae8a89ea --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/wordml.template.xml @@ -0,0 +1,29 @@ + + +wordml.template +uri + + +wordml.template +Specify the template WordML document + + + + + + + + +Description + +The wordml.template parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/wrap.slidecontent.xml b/apache-fop/src/test/resources/docbook-xsl/params/wrap.slidecontent.xml new file mode 100644 index 0000000000..09a515f094 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/wrap.slidecontent.xml @@ -0,0 +1,28 @@ + + +wrap.slidecontent +boolean + + +wrap.slidecontent +Specifies whether the foil content is wrapped into a div + + + + + 0 + + + +Description + +This parameter specifies whether the foil content is wrapped into + a div so that additional styling can be applied. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/writing.mode.xml b/apache-fop/src/test/resources/docbook-xsl/params/writing.mode.xml new file mode 100644 index 0000000000..e0f33fcce2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/writing.mode.xml @@ -0,0 +1,83 @@ + + +writing.mode +string + + +writing.mode +Direction of text flow based on locale + + + + + + + writing-mode + + + + + + + + + + +Description + +Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But this param can also be +set on the command line to override that gentext value. + +Accepted values are: + + + lr-tb + + Left-to-right text flow in each line, lines stack top to bottom. + + + + rl-tb + + Right-to-left text flow in each line, lines stack top to bottom. + + + + tb-rl + + Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output. + + + + lr + + Shorthand for lr-tb. + + + + rl + + Shorthand for rl-tb. + + + + tb + + Shorthand for tb-rl. + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xbCollapsibleLists.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/xbCollapsibleLists.js.xml new file mode 100644 index 0000000000..b30391f1a7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xbCollapsibleLists.js.xml @@ -0,0 +1,28 @@ + + +xbCollapsibleLists.js +filename + + +xbCollapsibleLists.js +xbCollapsibleLists JavaScript file + + + + +xbCollapsibleLists.js + + + +Description + +Specifies the filename of the xbCollapsibleLists JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xbDOM.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/xbDOM.js.xml new file mode 100644 index 0000000000..a699e9c912 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xbDOM.js.xml @@ -0,0 +1,28 @@ + + +xbDOM.js +filename + + +xbDOM.js +xbDOM JavaScript file + + + + +xbDOM.js + + + +Description + +Specifies the filename of the xbDOM JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xbLibrary.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/xbLibrary.js.xml new file mode 100644 index 0000000000..fe2d8fee35 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xbLibrary.js.xml @@ -0,0 +1,28 @@ + + +xbLibrary.js +filename + + +xbLibrary.js +xbLibrary JavaScript file + + + + +xbLibrary.js + + + +Description + +Specifies the filename of the xbLibrary JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xbStyle.js.xml b/apache-fop/src/test/resources/docbook-xsl/params/xbStyle.js.xml new file mode 100644 index 0000000000..b587573e26 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xbStyle.js.xml @@ -0,0 +1,28 @@ + + +xbStyle.js +filename + + +xbStyle.js +xbStyle JavaScript file + + + + +xbStyle.js + + + +Description + +Specifies the filename of the xbStyle JavaScript file. It's unlikely +that you will ever need to change this parameter. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xep.extensions.xml b/apache-fop/src/test/resources/docbook-xsl/params/xep.extensions.xml new file mode 100644 index 0000000000..8ac2520159 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xep.extensions.xml @@ -0,0 +1,31 @@ + + +xep.extensions +boolean + + +xep.extensions +Enable XEP extensions? + + + + + + +Description + +If non-zero, +XEP +extensions will be used. XEP extensions consists of PDF bookmarks, +document information and better index processing. + + +This parameter can also affect which graphics file formats +are supported + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xep.index.item.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/xep.index.item.properties.xml new file mode 100644 index 0000000000..b1db1290a5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xep.index.item.properties.xml @@ -0,0 +1,36 @@ + + +xep.index.item.properties +attribute set + + +xep.index.item.properties +Properties associated with XEP index-items + + + + + + true + true + + + + +Description + +Properties associated with XEP index-items, which generate +page numbers in an index processed by XEP. For more info see +the XEP documentation section "Indexes" in +http://www.renderx.com/reference.html#Indexes. + +This attribute-set also adds by default any properties from the +index.page.number.properties +attribute-set. + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xref.label-page.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/xref.label-page.separator.xml new file mode 100644 index 0000000000..355fc4a485 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xref.label-page.separator.xml @@ -0,0 +1,38 @@ + + +xref.label-page.separator +string + + +xref.label-page.separator +Punctuation or space separating label from page number in xref + + + + + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and page +but no title, +then the value of this parameter is inserted between +label and page number in the output. +If a title is included, then other separators are used. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xref.label-title.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/xref.label-title.separator.xml new file mode 100644 index 0000000000..3d6e222744 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xref.label-title.separator.xml @@ -0,0 +1,36 @@ + + +xref.label-title.separator +string + + +xref.label-title.separator +Punctuation or space separating label from title in xref + + + +: + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both label and title, +then the value of this parameter is inserted between +label and title in the output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xref.properties.xml b/apache-fop/src/test/resources/docbook-xsl/params/xref.properties.xml new file mode 100644 index 0000000000..6438f6c876 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xref.properties.xml @@ -0,0 +1,29 @@ + + +xref.properties +attribute set + + +xref.properties +Properties associated with cross-reference text + + + + + + + + + +Description + +This attribute set is used to set properties +on cross reference text. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xref.title-page.separator.xml b/apache-fop/src/test/resources/docbook-xsl/params/xref.title-page.separator.xml new file mode 100644 index 0000000000..32ef9f1496 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xref.title-page.separator.xml @@ -0,0 +1,36 @@ + + +xref.title-page.separator +string + + +xref.title-page.separator +Punctuation or space separating title from page number in xref + + + + + + +Description + + +This parameter allows you to control the punctuation of certain +types of generated cross reference text. +When cross reference text is generated for an +xref or +olink element +using an xrefstyle attribute +that makes use of the select: feature, +and the selected components include both title and page number, +then the value of this parameter is inserted between +title and page number in the output. + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/params/xref.with.number.and.title.xml b/apache-fop/src/test/resources/docbook-xsl/params/xref.with.number.and.title.xml new file mode 100644 index 0000000000..06fcc7e63b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/params/xref.with.number.and.title.xml @@ -0,0 +1,30 @@ + + +xref.with.number.and.title +boolean + + +xref.with.number.and.title +Use number and title in cross references + + + + + + + + +Description + +A cross reference may include the number (for example, the number of +an example or figure) and the title which is a required child of some +targets. This parameter inserts both the relevant number as well as +the title into the link. + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/profiling/profile-mode.xsl b/apache-fop/src/test/resources/docbook-xsl/profiling/profile-mode.xsl new file mode 100644 index 0000000000..1c8660b8f9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/profiling/profile-mode.xsl @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/profiling/profile.xsl b/apache-fop/src/test/resources/docbook-xsl/profiling/profile.xsl new file mode 100644 index 0000000000..b188fbb2d4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/profiling/profile.xsl @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/profiling/strip-attributes.xsl b/apache-fop/src/test/resources/docbook-xsl/profiling/strip-attributes.xsl new file mode 100644 index 0000000000..d6f55fb503 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/profiling/strip-attributes.xsl @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/profiling/xsl2profile.xsl b/apache-fop/src/test/resources/docbook-xsl/profiling/xsl2profile.xsl new file mode 100644 index 0000000000..ecb6501eee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/profiling/xsl2profile.xsl @@ -0,0 +1,159 @@ + + + + + + + + + + + + + This file was created automatically by xsl2profile + from the DocBook XSL stylesheets. + + + + + + + dummy + dummy + dummy + + exslt + + + exslt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note: namesp. cut : stripped namespace before processing + + + + Note: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + + + + + + + + + + $profiled-nodes + + + $profiled-nodes + + + + + + + + + + + + + + + + + + + key('id',$rootid) + $profiled-nodes//*[@id=$rootid or @xml:id=$rootid] + + + + + + + + + + + + + + + + + $profiled-nodes/node() + + + + + + + + false() + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks-spec.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks-spec.xml new file mode 100644 index 0000000000..d8ab005729 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks-spec.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.dtd b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.dtd new file mode 100644 index 0000000000..4d1ea043c8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.dtd @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.xsl new file mode 100644 index 0000000000..e14999f753 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/blocks2dbk.xsl @@ -0,0 +1,1732 @@ + + +%ext; +]> + + + + + + + + + + + + + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + style "" is not a valid list style + + + + + + + + + + list-wrong-level + list started at the wrong level + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + improper-blockquote-attribution + blockquote attribution must follow a blockquote title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + formalpara-notitle + formalpara used without a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-caption + caption does not follow table or figure + + + + + + + + + + + + + + unknown-style + unknown paragraph style "" encountered + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + imagedata-metadata missing value for attribute " + + " + + + + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + imagedata-metadata unknown attribute " + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + underline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + unknown-style + unknown character span style "" encountered + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-metadata + style "" must not be metadata for parent "" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-author-orgname-combo + character span "" not allowed in an author paragraph combined with orgname + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-titleabbrev + titleabbrev style "" mismatches parent "" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-title + title style "" mismatches parent "" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-subtitle + subtitle style "" mismatches parent "" + + + + + + + + + + bad-publisher-address + publisher-address must follow publisher + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bad-author-inline + character span "" not allowed in an author paragraph + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + metadata-bad-inline + character span "" not allowed in author metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR "": + + + + + + + + + + + + + + + + WARNING "": + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2ooo.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2ooo.xsl new file mode 100644 index 0000000000..a549607a4b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2ooo.xsl @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2pages.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2pages.xsl new file mode 100644 index 0000000000..e3d1b99eba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2pages.xsl @@ -0,0 +1,441 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Please specify the template document with the "pages.template" parameter + + + Unable to open template document "" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DocBookRoundtrip-1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + email + + + + + + + + + + + + + + + + + + + + + + + + + SFTTableAttachment- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + attribute-name + + + + + + + + attribute-value + + + + + + + + + + + + + para + + + + + + + + unable to find paragraph style "" + + + + + + + + + unable to find character style "" + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wordml.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wordml.xsl new file mode 100644 index 0000000000..ed6030d29d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wordml.xsl @@ -0,0 +1,407 @@ + + + + + + + + + + + + + + + + + + + + + Please specify the template document with the "wordml.template" parameter + + + Unable to open template document "" + + + + progid="Word.Document" + + + + + + + + preserve + + + + + + + + + + + Unknown + + + + + + + + + + + + Unknown + + + + + 1 + + + + 2004-01-01T07:07:00Z + 2004-01-01T08:08:00Z + + 1 + 1 + 1 + + + DocBook + + 1 + 1 + 1 + 11.6113 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + = + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wp.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wp.xsl new file mode 100644 index 0000000000..aedc8895f5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/dbk2wp.xsl @@ -0,0 +1,1375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + section nested deeper than 5 levels + + sect5- + + + + sect + + - + + + + + - + + + + + - + + + + + + + + + + + + + + Metadata + + TODO: Handle all metadata elements, apart from titles. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + abstract + + + + + + + + + + + + + + + + + + + + + + + + + + + mailto: + + + + + + + + + Hyperlink + + + + + + + + + + + + + + + otheraddr + + + + + + otheraddr + + + + + + + + + otheraddr + + + + + + otheraddr + + + + + + + + + + Hyperlink + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + para + + + + + + + + + + + + + + + Normal + + + + + + + + + + + + + + Normal + + + + + + + + + + + + + + + + simpara + + + + + + + + + + 1 + 0 + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Text Object + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Caption + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + ] + + encountered + + in + + + , but no template matches. + + + + + + + + + + + + + [ + + ] + + encountered + + in + + + , but no template matches. + + + + + + + + + + + + encountered + + in + + + , but no template matches. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise-common.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise-common.xsl new file mode 100644 index 0000000000..83a16b37c8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise-common.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + + + caption + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise2sections.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise2sections.xsl new file mode 100644 index 0000000000..51bd9f56fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/normalise2sections.xsl @@ -0,0 +1,1270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/pages2normalise.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/pages2normalise.xsl new file mode 100644 index 0000000000..35250a0db2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/pages2normalise.xsl @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cannot determine number of rows in table + cannot determine number of rows in table + + + cannot determine number of columns in table + cannot determine number of columns in table + + + + + + + all + + + topbot + + + sides + + + top + + + bottom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARNING: insufficient table cells + WARNING: insufficient table cells (num-rows , row ) + + + WARNING: excess table cells + WARNING: excess table cells (num-rows , row ) + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + element "" not handled + + + + + + + + + + + + + superscript + subscript + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xml new file mode 100644 index 0000000000..c9577d5633 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xml @@ -0,0 +1,103 @@ + + + + Roundtrip Parameter Reference + + $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ + + + + Ball + Steve + + + + 2004-2011 + + Steve Ball + + + This is reference documentation for all user-configurable + parameters in the DocBook “Roundtrip” Stylesheets (for + transforming DocBook to WordML, OpenDocument, and Apple Pages, + and for converting from those formats back to DocBook). + + + + Parameters + + +wordml.template +uri + + +wordml.template +Specify the template WordML document + + + + +<xsl:param name="wordml.template"></xsl:param> + + + +Description + +The wordml.template parameter specifies a WordML document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets. + + + + + + +pages.template +uri + + +pages.template +Specify the template Pages document + + + + +<xsl:param name="pages.template"></xsl:param> + + + +Description + +The pages.template parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document. The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements. Any content in the template document is ignored. + +A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets. + + + + + + + The Stylesheet + The param.xsl stylesheet is just a + wrapper around all of these parameters. + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- This file is generated from param.xweb --> + +<!-- ******************************************************************** + $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="wordml.template.frag"></src:fragref> +<src:fragref linkend="pages.template.frag"></src:fragref> +</xsl:stylesheet> + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xsl new file mode 100644 index 0000000000..c347c26f9f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/param.xsl @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections-spec.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections-spec.xml new file mode 100644 index 0000000000..6c86d52a16 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections-spec.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections2blocks.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections2blocks.xsl new file mode 100644 index 0000000000..d0fe069a32 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/sections2blocks.xsl @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/specifications.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/specifications.xml new file mode 100644 index 0000000000..85db866e1c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/specifications.xml @@ -0,0 +1,1420 @@ + +
    + + Round-Tripping Specifications + + Bob + Stayton + + Sagehill Enterprises + + + + Steve + Ball + + Explain + + + + + 1.8 + 2008-05-22 + SRB + Updated for current implementation. + + + 1.7 + 2008-02-22 + SRB + Added edition. + + + 1.6 + 2007-10-19 + SRB + Added keyword. + + + 1.5 + 2007-01-05 + SRB + Reduce emphasis on WordML, add support for OpenOffice. + + + 1.4 + 2005-11-11 + SRB + Added bibliography. + + + 1.3 + 2005-10-31 + SRB + Added mediaobjectco, imageobjectco, programlistingco, areaspec, area, calloutlist. + + + 1.2 + 2005-10-13 + SRB + Version prior to using revhistory. + + + + + This document specifies how DocBook elements are mapped to paragraph and character styles in a word processor. The specifications are used to write conversions between DocBook XML and word processor XML formats, such as Microsoft's WordProcessingML (WordML), OpenOffice's OpenDocument and Apple's Pages. + +
    + Introduction + Microsoft Word 2003 introduced WordProcessingML (WordML), an XML vocabulary for Word documents. Since then, other popular word processors have become available that use XML as their data representation, namely Apple's Pages and OpenOffice. By converting Word (or OpenOffice or Pages) to XML, it becomes possible to convert a word processing document to DocBook and vice versa using XSL transformations. Such conversions then enable the following. + + + DocBook content creators write in their familiar wordprocessing application, rather than learning a new XML editing application. + + + DocBook XML documents can be styled for output using the typesetting features of the word processor. + + + Word processors have a simple, flat data model; documents consist of paragraphs (and tables) and paragraphs contain text and character spans. All word processors allow styles to be associated with paragraphs and spans. + This specification describes how DocBook elements map to a set of paragraph and character styles. It defines a specific set of style names for which a Word style template can be created. The style names are also used in XSLT template match patterns for conversion. Although originally targetted to MS Word, the system has subsequently been extended to use other word processors, notably Apple's Pages and Open Office. +
    +
    + Project goals + The goal of this project is to enable a word processor, such as, but not limited to, Microsoft Word, to be used with DocBook files. The specific goals include: + + + Enable authoring of basic DocBook documents in the word processor. + + + Enable importing of basic DocBook XML documents into the word processor. + + + To meet these goals, the project provides a toolkit that can be immediately put to use. The kit includes: + + + Templates for Microsoft Word, Apple Pages and Open Office with formatting styles attached to the style names. + + + XSLT stylesheets that convert a word processing document that is authored with the corresponding template into a DocBook XML file. + + + XSLT stylesheets that convert a DocBook document into a word processing document that can be opened in a word processor. + + +
    + Why basic DocBook? + This project will never be able to support all DocBook elements and structure. Take, for example, the address element. This element can be used both as a block element for metadata. It can also be used as a phrase level element in a block parent, such as the affiliation element. To make matters worse, it can itself contain phrase level markup, such as personname. No word processor allows character styles to be nested. + The project will initially focus on a basic set of commonly used DocBook elements in order to create a useful editing environment that utilises a word processor with DocBook. + One problem facing this conversion project is the sheer number of DocBook elements, over 400 in DocBook 5.0. To support DocBook structural models, several of the elements require more than one paragraph or character style. This would lead to very long and unwieldy list of styles in the word processor interface. That would make authoring less efficient and discourage users. + Accordingly, this project assumes that authors who need the full set of DocBook elements and structures will use an XML authoring tool that better supports them. This project is focused on authors who wish to write basic DocBook documents using a word processor. Because Microsoft Word is so widespread, it is hoped that this project will help a lot of new DocBook users get started with familiar tools. They can then graduate to more advanced tools as their needs develop. +
    +
    +
    + Project Non-Goals + The following goals are not in the scope of this project: + + + Support of versions of Word that do not feature reading/writing WordML (XML). That is, all versions prior to Word 11 (Office 2003). + + + Support of arbitrarily defined styles. This system may expect certain styles to be defined in a particular fashion (in particular, those defining the title of components and divisions). + + +
    +
    + Mapping elements to styles + Although WordML, OpenDocument and DocBook are all XML, there several challenges when trying to convert between them. + The basic problem in mapping paragraph/character styles to DocBook elements is that word processor documents support far less structure than DocBook. DocBook permits nesting of elements within other elements, providing multiple levels of context for each element. + Word's only structural feature is the outlining mode. In Word outlining, certain paragraph styles are assigned outline levels. When a user applies those styles, they effectively create logical structure in the Word document. Unfortunately, Word itself attempts to automatically determine which paragraphs are headings, rendering this method is unreliable. + Instead of relying on Word's built-in outlining mode, this system uses only the names of paragraph styles to determine document structure. Certain heuristics are applied to build the DocBook element structure from the (relatively flat) word processing structure. Titles and other features are used to mark the beginning of a structure and all paragraphs following that are included in that structure until the beginning of the next structure is found. That is, the beginning of one structure marks the end of the previous structure. + Problems may arise when a structure should end, but there is no word processor feature that marks the endpoint. To mark the end of a feature an empty paragraph is used. + Nesting of block elements is another commonly used feature of DocBook. It is not possible to use Word's outline mode for blocks if it is being used for components and sections. So in this specification, nesting of block elements is indicated by adding a number suffix to a style. So a paragraph with style orderedlist2 is considered to be contained within a preceding paragraph with style orderedlist1 or itemizedlist1. Where appropriate in the word processor, paragraph indent levels are used to visually indicate nesting of blocks. + Nesting of inline DocBook elements is particularly difficult to support because word processors do not nest character styles. That means a nested inline would require a separate character style to indicate the parent-child relationship. Given the large number of combinations possible, a prohibitively large number of character styles would have to be created. In this project, nesting of character styles is not supported. Nested inlines being imported from DocBook will be converted to a sequence of single-name character styles, where possible, or rejected. + In many cases, DocBook structure can be derived from the flat sequence of paragraphs based on sibling relationships. For example, when a paragraph styled as para is followed by a paragraph styled as itemizedlist1, the conversion to DocBook will output a para element and then start an itemizedlist element, with the second paragraph as its first listitem. All itemizedlist1 paragraphs that follow without interruption are inserted into the same itemizedlist element. + Some combinations of elements cannot be supported (at least not with the techniques as described in this document). An example is informalexample and its permitted content; there is no title to mark the beginning of the element and no marker for the end of the element, also there are too many parent-child combinations to reasonably define style names. + The design principles used in this project for selecting paragraph/character style names are as follows: + + + Where Word (or OpenOffice or Pages), by default, has a style or feature that corresponds directly to a DocBook element then that style or feature will be used (and documented in this document). For example, the Normal paragraph style maps to a DocBook para element, and a Word table (w:tbl) maps to a DocBook tableIn some cases Word may posess a feature, but it doesn't function in an acceptable manner. For example, lists. In these cases the feature is to be avoided, and a workaround provided.. + + + Paragraph and character style names will match DocBook element names as much as possible. This will enable authors to learn DocBook element names and help debug problems with conversion. + + + A style may indicate a parent-child relationship, but the paragraph for such an element may only occur after a paragraph that denotes the beginning of the parent structure. In this case the element name is used as the style name. For example, a personblurb paragraph may only occur after an author, editor or othercontrib paragraph. If a paragraph occurs without the appropriate preceding paragraph, then an error is signalled. + + + Some styles may also indicate a parent-child relationship, but either the parent structure is ambiguous or the paragraph starts the parent structure. For example, chapter-title indicates that the paragraph is a title element whose DocBook parent is a chapter element. + + + Some style names are simplified to make them easier to use in the word processor. For example, a paragraph in an orderedlist requires three elements in DocBook: orderedlist, listitem, and para. The paragraph style name in Word is shortened from orderedlist-listitem-para to just orderedlist1 (for a first level list). In the case of lists (see below), the list level is appended, which is why this example becomes orderedlist1. + + + Style names with a number suffix indicate a nesting level, as described above. + + + Style names with continue indicate that the paragraph is part of the preceding element. For example, a para paragraph is used for a single paragraph para element. This causes any preceding list to be closed. If a list item in the preceding list is to contain more than one paragraph, then the subsequent paragraphs in the word processor documentmust use the para-continue style. + + + Character styles map to elements that are children of the element for the paragraph, hence there is no need to encode parent-child relationships. For example, a surname character style in an author paragraph becomes a surname child element of the author element. + + + Empty paragraph and character styles are ignored. This can be useful to end structures. + + + The first paragraph style in the word processor document is used to define the root element of the DocBook document. For example, if the document starts with book-title, then the DocBook document will have book element as its root element. All the rest of the document content will be contained in that root element. + + + Sequential structures are coalesced into a single parent element. For example, a sequence of itemizedlist1 paragraphs becomes a single itemizedlist element with several listitem element children. + + DocBook to Paragraph/Character Styles + + + + + + + + DocBook element + + + Style(s) + + + Comments + + + + + + + + Components and sections + + + + + + book/info/title + + + book-title + + + + + + + + book/info/subtitle + + + book-subtitle + + + + + + + + book/info/titleabbrev + + + book-titleabbrev + + + + + + + + chapter/info/title + + + chapter-title + + + Assigned Word outline level 1. + + + + + chapter/info/subtitle + + + chapter-subtitle + + + + + + + + chapter/info/titleabbrev + + + chapter-titleabbrev + + + + + + + + appendix/info/title + + + appendix-title + + + Assigned Word outline level 1. + + + + + preface/info/title + + + preface-title + + + Assigned Word outline level 1. + + + + + article/info/title + + + article-title + + + Assigned Word outline level 1. + + + + + article/info/subtitle + + + article-subtitle + + + + + + + + article/info/titleabbrev + + + article-titleabbrev + + + + + + + + bibliography/info/title + + + bibliography-title + + + Assigned Word outline level 1. + + + + + bibliography/bibliodiv/info/title + + + bibliodiv-title + + + + + + + + biblioentry/title + + + biblioentry-title + + + Metadata elements after the biblioentry-title paragraph become part of the biblioentry. + + + + + glossary/info/title + + + glossary-title + + + Assigned Word outline level 1. + + + + + index/info/title + + + index-title + + + Assigned Word outline level 1. + + + + + part/info/title + + + part-title + + + + + + + + section + + + + + + Unnumbered section elements are translated into their equivalent numbered paragraph style. Sections 6 levels and deeper are reported as an error. + + + + + sect1/info/title + + + sect1-title + + + Assigned Word outline level 2. + + + + + sect1/info/subtitle + + + sect1-subtitle + + + + + + + + sect2/info/title + + + sect2-title + + + Assigned Word outline level 3. + + + + + sect2/info/subtitle + + + sect2-subtitle + + + + + + + + sect3/info/title + + + sect3-title + + + Assigned Word outline level 4. + + + + + sect3/info/subtitle + + + sect3-subtitle + + + + + + + + sect4/info/title + + + sect4-title + + + Assigned Word outline level 5. + + + + + sect4/info/subtitle + + + sect4-subtitle + + + + + + + + sect5/info/title + + + sect5-title + + + Assigned Word outline level 6. + + + + + sect5/info/subtitle + + + sect5-subtitle + + + + + + + + simplesect/info/title + + + simplesect-title + + + + + + + + simplesect/info/subtitle + + + simplesect-subtitle + + + + + + + + bridgehead + + + bridgehead + + + + + + + + + Metadata elements + + + + + + abstract/title + + + abstract-title + + . + + + + abstract/para + + + abstract + + + + + + + + affiliation + + + affiliation + + + + + + + + address + + + address + + + + + + + + author + + + author + + + + + + + + date + + + date + + + + + + + + edition + + + edition + + + + + + + + legalnotice + + + legalnotice + + + + + + + + pubdate + + + pubdate + + + + + + + + publisher/pubishername + + + publisher + + + + + + + + publisher/address + + + publisher-address + + + + + + + + revhistory/revision + + + revision + + + + + + + + + Block-level elements + + + + + + para + + + para, Normal + + + Any Word paragraph with style Normal will also be converted to a para element. + + + + + formalpara/title + + + formalpara-title + + + + + + + + formalpara/para + + + formalpara + + + + + + + + simpara + + + simpara + + + + + + + + note/title + + + note-title + + + + + + + + note/para + + + note + + + Consecutive paragraphs with style note after the first note are to be treated as part of the same note element. That is, consecutive notes are coalesced. The note may or may not have a title. + + + + + caution/title + + + caution-title + + + + + + + + caution/para + + + caution + + + Consecutive cautions are coalesced. + + + + + warning/title + + + warning-title + + + + + + + + warning/para + + + warning + + + Consecutive warnings are coalesced. + + + + + important/title + + + important-title + + + + + + + + important/para + + + important + + + Consecutive importants are coalesced. + + + + + tip/title + + + tip-title + + + + + + + + tip/para + + + tip + + + Consecutive tips are coalesced. + + + + + itemizedlist/listitem/para + + + + itemizedlist1 +itemizedlist2 +itemizedlist3 +itemizedlist4 + + + + A number suffix indicates a nesting level within other lists. + + + + + orderedlist/listitem/para + + + + orderedlist1 +orderedlist2 +orderedlist3 +orderedlist4 + + + + + + + + + listitem/para[position() != 1] + + + para-continue + + + This paragraph is included in the immediately preceding listitem. + + + + + example/title + + + example-title + + + All content following the title is included in the example element. The end of the example content is marked by a caption paragraph or an empty paragraph if there is no caption. + + + + + figure/title + + + figure-title + + + All content following the title is included in the figure element. Metadata must immediately follow the title. The end of the figure content is marked by a caption paragraph or an empty paragraph if there is no caption. + + + + + informalfigure/mediaobject/imageobject/imagedata/@fileref + + + informalfigure-imagedata, caption + + + The content of the imageobject-imagedata paragraph is taken as the URI for the image. Metadata may immediately follow the paragraph. + + + + + mediaobject/imageobject/imagedata/@fileref + + + imageobject-imagedata, caption + + + The content of the imageobject-imagedata paragraph is taken as the URI for the image. May be followed by a caption style paragraph. Metadata may immediately follow the paragraph, before the caption, if any. + + + + + table + + + Word table, caption + + + + + + + + table/title + + + table-title, caption + + + Metadata may immediately follow the paragraph. + + + + + informaltable + + + Word table + + + A table with no title imediately preceding it. + + + + + caption + + + caption + + + + + + + + literallayout + + + literallayout + + + Inside a literallayout paragraph in Word, lines should be separated by line break (Shift-Enter) rather than paragraph break (Enter). + + + + + programlisting + + + programlisting + + + Inside a programlisting paragraph in Word, lines should be separated by line break (Shift-Enter) rather than paragraph break (Enter). Tabs are not supported. + + + + + blockquote/title + + + blockquote-title + + + Must immediately precede a blockquote paragraph in Word. + + + + + blockquote/para + + + blockquote + + + + + + + + blockquote/attribution + + + blockquote-attribution + + + Must immediately follow a blockquote paragraph in Word. + + + + + bibliomisc + + + bibliomisc + + + + + + + + + Non-DocBook elements + + + + + + xi:include + + + xinclude + + + The content of the paragraph becomes the value of the href attribute. + + + + + + Inline elements + + + + + + emphasis + + + emphasis + + + + + + + + emphasis/@role="bold" + + + emphasis-bold + + + + + + + + emphasis/@role="underline" + + + emphasis-underline + + + + + + + + footnote + + + Word footnote + + + + + + + + link + + + link + + + In Word, hyperlink properties identify the DocBook linkend. + + + + + releaseinfo + + + releaseinfo + + + + + + + + surname + + + surname + + + Character style. Must occur in an appropriate parent paragraph, such as author or editor. + + + + + firstname + + + firstname + + + Character style. Must occur in an appropriate parent paragraph, such as author or editor. + + + + + orgname + + + orgname + + + + + + + + keyword + + + keywordset/keyword + + + Paragraph style. Consecutive keyword elements are merged into a single keywordset parent element. Words (phrases) within a paragraph separated by commas become individual keyword elements. + + + + + citetitle + + + citetitle + + + + + + + + city + + + city + + + + + + + + contrib + + + contrib + + + + + + + + country + + + country + + + + + + + + email + + + email + + + + + + + + fax + + + fax + + + + + + + + honorific + + + honorific + + + + + + + + jobtitle + + + jobtitle + + + + + + + + lineage + + + lineage + + + + + + + + orgdiv + + + orgdiv + + + + + + + + otheraddr + + + otheraddr + + + + + + + + othername + + + othername + + + + + + + + phone + + + phone + + + + + + + + pob + + + pob + + + + + + + + postcode + + + postcode + + + + + + + + shortaffil + + + shortaffil + + + + + + + + state + + + state + + + + + + + +
    + + Proposed Additions - not yet implemented + + + + + + + + DocBook element + + + Style(s) + + + Comments + + + + + + + variablelist/varlistentry/term + + + + variablelist1-term +variablelist2-term +variablelist3-term +variablelist4-term + + + + A variablelist in Word should be a sequence of alternating paragraphs styled as variablelistN-term and variablelistN. + + + + + variablelist/varlistentry/listitem/para + + + + variablelist1 +variablelist2 +variablelist3 +variablelist4 + + + + Consecutive paragraphs are coalesced. + + + + +
    +
    + Attributes + Attributes are a feature of DocBook XML that have no direct counterpart in Word. + XML attributes are encoded in Word comments (annotations). Some dummy text (just a space, using a character style that includes the hidden property) anchors the comment. Within the comment text, character types are used to indicate attribute names and values (these must be paired). This approach keeps the attributes separate to the main body and allows multiple attributes to be encoded. + A disadvantage to this approach is that a paragraph may be related to more than one element, but the attributes are associated with only one element (by default the parent). For example, a section may have an attribute as well as the title child element, but only a single paragraph (with paragraph style sect1-title) represents both elements. Any attribute defined in a comment would be associated with the sect1 element. + Pages does not have annotations, so the character styles attribute-name and attribute-value are used. +
    +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/template-pages.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template-pages.xml new file mode 100644 index 0000000000..cc6fc0374d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template-pages.xml @@ -0,0 +1,2 @@ + +Lorem ipsum dolor sit ametConsectetur adipiscing elitEset eiusmod tempor incidunt et labore et dolore magna aliquam. Ut enim ad minim veniam, quis nostrud exerc. Irure dolor in reprehend incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse molestaie cillum. Tia non ob ea soluad incommod quae egen ium improb fugiend. Officia deserunt mollit anim id est laborum Et harumd dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda et tam. Neque pecun modut est neque nonor et imper ned libidig met, consectetur adipiscing elit, sed ut labore et dolore magna aliquam is nostrud exercitation ullam mmodo consequet.Duis aute in voluptate velit esseCillum dolore eu fugiat nulla pariatur. At vver eos et accusam dignissum qui blandit est praesent. Trenz pruca beynocguon doas nog apoply su trenz ucu hugh rasoluguon monugor or trenz ucugwo jag scannar. Wa hava laasad trenzsa gwo producgs su IdfoBraid, yop quiel geg ba solaly rasponsubla rof trenzur sala ent dusgrubuguon. Offoctivo immoriatoly, hawrgasi pwicos asi sirucor. Thas sirutciun applios tyu thuso itoms ghuso pwicos gosi sirucor in mixent gosi sirucor ic mixent ples cak ontisi sowios uf Zerm hawr rwivos. Unte af phen neige pheings atoot Prexs eis phat eit sakem eit vory gast te Plok peish ba useing phen roxas. Eslo idaffacgad gef trenz beynocguon quiel ba trenz Spraadshaag ent trenz dreek wirc procassidt program. Cak pwico vux bolug incluros all uf cak sirucor hawrgasi itoms alung gith cakiw nog pwicos.Plloaso mako nuto uf cakso dodtosKoop a cupy uf cak vux noaw yerw phuno. Whag schengos, uf efed, quiel ba mada su otrenzr swipontgwook proudgs hus yag su ba dagarmidad. Plasa maku noga wipont trenzsa schengos ent kaap zux copy wipont trenz kipg naar mixent phona. Cak pwico siructiun ruos nust apoply tyu cak UCU sisulutiun munityuw uw cak UCU-TGU jot scannow. Trens roxas eis ti Plokeing quert loppe eis yop prexs. Piy opher hawers, eit yaggles orn ti sumbloat alohe plok. Su havo loasor cakso tgu pwuructs tyu InfuBwain, ghu gill nug bo suloly sispunsiblo fuw cakiw salo anr ristwibutiun. Hei muk neme eis loppe. Treas em wankeing ont sime ploked peish rof phen sumbloat syug si phat phey gavet peish ta paat ein pheeir sumbloats. Aslu unaffoctor gef cak siructiun gill bo cak spiarshoot anet cak GurGanglo gur pwucossing pwutwam. Ghat dodtos, ig pany, gill bo maro tyu ucakw suftgasi pwuructs hod yot tyubo rotowminor. Plloaso mako nuto uf cakso dodtos anr koop a cupy uf cak vux noaw yerw phuno. Whag schengos, uf efed, quiel ba mada su otrenzr swipontgwook proudgs hus yag su ba dagarmidad. Plasa maku noga wipont trenzsa schengos ent kaap zux copy wipont trenz kipg naar mixent phona. Cak pwico siructiun ruos nust apoply tyu cak UCU sisulutiun munityuw uw cak UCU-TGU jot scannow. Trens roxas eis ti Plokeing quert loppe eis yop prexs. Piy opher hawers, eit yaggles orn ti sumbloat alohe plok. Su havo loasor cakso tgu pwuructs tyu.Document TemplateInsert content here. diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.dot b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.dot new file mode 100644 index 0000000000..b26ec5682c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.dot differ diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.xml b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.xml new file mode 100644 index 0000000000..e36a7dfd8c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/template.xml @@ -0,0 +1,3 @@ + + +This document left intentionally blankSteve BallSteve Ball15104702007-08-21T22:03:00Z2008-10-08T23:57:00Z1745Explain115111.0000Generic DocBook roundtrip template - 2008-10-09-01. \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/roundtrip/wordml2normalise.xsl b/apache-fop/src/test/resources/docbook-xsl/roundtrip/wordml2normalise.xsl new file mode 100644 index 0000000000..ad22b194cc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/roundtrip/wordml2normalise.xsl @@ -0,0 +1,445 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bold-italic + + + bold + + + italic + + + underline + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image + + .jpg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 0 + 1 + 0 + + + + + 1 + 0 + 1 + 0 + + + + + 1 + 0 + 1 + 0 + + + + + 1 + 0 + 1 + 0 + + + + + + + all + + + topbot + + + sides + + + top + + + bottom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 1 + + + + + + + column- + + + + column- + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + 0 + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/README b/apache-fop/src/test/resources/docbook-xsl/slides/README new file mode 100644 index 0000000000..da4a932cb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/README @@ -0,0 +1,11 @@ +$Id: README 9639 2012-10-22 18:41:00Z stefan $ + +README for the DocBook Slides distribution + +For a more detailed manual on Slides, please see the doc +directory. + +For information about open DocBook Slides bugs and +pending feature requests, see the following: + + http://sourceforge.net/search/?group_artifact_id=373747&type_of_search=artifact&group_id=21935&words=slides diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/RELEASE-NOTES.xml b/apache-fop/src/test/resources/docbook-xsl/slides/RELEASE-NOTES.xml new file mode 100644 index 0000000000..5d7b02ee15 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/RELEASE-NOTES.xml @@ -0,0 +1,135 @@ + + +
    + + DocBook Slides Release Notes + + $Id: RELEASE-NOTES.xml 9639 2012-10-22 18:41:00Z stefan $ + DocBook Project Development Team + + These are the release notes for the DocBook Slides + distribution. This file provides a high-level overview of features + and API changes in each release. + + Bug fixes are (mostly) not documented here. For a complete + list of changes, including descriptions of bug fixes, see the file, which is auto-generated from the commit + descriptions for changes in the project CVS repository. + +
    + Release 3.4.0 + This is a feature release that includes some significant + schema changes as well as fixes for a few bugs. The feature + changes include newly added support for generating presentations + in HTML Help format. There are also experimental versions of + stylesheets for generating presentations in Keynote and SVG + formats. It also includes a new (and still experimental) + install.sh + script to facilitate XML catalog and locating-rules setup. +
    + Schemas + + + Slides (non-full) is now based on Simplified + DocBook 1.1 and Slides "full" is now based on DocBook + 4.4. The main benefit this provides is the ability to + use HTML tables in your Slides XML source (instead of just CALS + tables). + + + RELAX NG schemas in RNC (compact-syntax) form as well as + in RNG (XML syntax) form are now included in the + distribution. You can use those to do context-sensitive + Slides editing in a RELAX NG-aware editor such as Emacs/nXML, + oXygen XML Editor, XMLBuddy, or Exchanger XML Editor. (Note + that the RELAX NG schemas are currently generated from the + DTDs). + + + A locatingrules.xml file has been added + to the distribution. The + locatingrules.xml file tells a + "locating rules"-aware editor such as Emacs/nXML to + automatically associate the included RELAX NG Slides schema + with any document whose root element is + slides, foil, + foilgroup, or + speakernotes. + + +
    +
    + FO + + + Added attribute-set to easily control appearance of + footer + + + Added support for + foil/subtitle + + + Bookmarks in XEP can now contain i18n + characters + + + Changed attribute namespaces accordingly to new + schema used for titlepage templates + + +
    +
    + HTML + + + xref to foil + and foilgroup is now supported. (You must + have the DocBook XSL stylesheets v1.67.0 or greater to use + xrefs.) + + + Added new parameter + show.foil.number which can enable + numbering of slides. Currently works only with + frames.xsl and + multiframe=0 + + + Added support for dbhtml dir processing instruction + + +
    +
    + HTML Help + + + Slides can now be generated in HTML Help format + + +
    +
    + Install + + + A new (and still experimental) install.sh file has + been added to the Slides distribution. For information on + using it, see the INSTALL file. + + +
    +
    +
    + Older releases + Sorry, there are no release notes for releases prior to the + 3.4.0 release. +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/common/common.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/common/common.xsl new file mode 100644 index 0000000000..2d4f9e9f41 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/common/common.xsl @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/doc/slides.xml b/apache-fop/src/test/resources/docbook-xsl/slides/doc/slides.xml new file mode 100644 index 0000000000..5e357f468b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/doc/slides.xml @@ -0,0 +1,1371 @@ + + + + + The DocBook Slides Extension + DocBook Slides + + + Gábor + Kövesdán + + + The DocBook Project + + gabor@kovesdan.org + + 3 Aug 2012 + 5.0 + + 2012 + Gábor Kövesdán + + + + + + Introduction + + + DocBook Slides ... + + + + is a multi-namespace schema extension + to the original DocBook + schema. + + + + was originally created by + NormanWalsh. + + + + and was later redesigned for DocBook 5.0 by + GáborKövesdán. + + + + This document serves for two purposes: + + + + To explain DocBook Slides. + + + + To serve itself as a test document to demonstrate how + slides are marked up and how different output formats are + rendered. + + + + + + + Basic Concepts + + + + + DocBook is an XML grammar to mark up + papers and books and then process them with XML-related standards. + It concentrates on structure and semantics, not layout. + + + + DocBook Slides is an extension for DocBook to create + presentation slides. + + + + By nature, layout is part of a presentation but DocBook Slides + still focuses on structure and semantics. + + + + DocBook Slides uses almost the entire DocBook grammar and + provides only a minimal set of layout-controlling elements. + This keeps is simple and easy to use. + + + + And still, you can copy-paste, use XInclude, etc. + + + + + + + Features of DocBook Slides + + + Let's see some features of DocBook + Slides. + + + + Using Namespaces + + + DocBook Slides uses a separate namespace for its elements. + This has various advantages: + + + + It isolates the extension elements and the original + DocBook schema does not have to know anything about them. + + + + It also avoids name clashes and XML processors can easily + distinguish between the two set of elements. + + + + This modular concept makes it easy to extend the official + stylesheets with specific processing. + + + + + + Easy to Learn + + + If you already know and use DocBook, DocBook Slides is for you: + + + + You can use the usual inline and block elements when marking up + your text, you only have to learn a few new markup elements. + + + + Also, you may include DocBook fragments with XInclude. + Imagine an important table that is part of your scientific + paper and you also want to show it on a conference. + You do not have to copy-paste it but you can just have it in + one single file that you later include in both documents. + + + + + + + Development Status + + + + + DocBook Slides - just like DocBook - is an open source product + and it is under constant development and improvement. + + + + The curently supported output formats are + plain XHTML, S5 XHTML , + W3C HTML Slidy and XSL FO . + In the future, support for other important + output formats (e.g. HTML5, EPUB) may be added. + + + + + + + + Tutorial Examples + + + Let's see some basic examples. + + + + A Minimal Markup 1 + + + +<?xml version='1.0'?> +<dbs:slides xmlns="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides"> + <title>Presentation Title</title> + + + + + The root element with proper namespace declarations. + + + + It contains the title but can have more. + + + + + + + + A Minimal Markup 2 + + + + + <dbs:foil> + <title>Foil Title</title> + <para>Foil content</para> + </dbs:foil> +</dbs:slides> + + + At least one foil obligatory. + + + + A foil can contain any block element from DocBook. + + + + + + + + The Whole Example + + + Let's see the whole markup together: + + +<?xml version='1.0'?> +<dbs:slides xmlns="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides"> + <title>Presentation Title</title> + <dbs:foil> + <title>Foil Title</title> + <para>Foil content</para> + </dbs:foil> +</dbs:slides> + + + + + + Grouping Foils + + + We can form groups of logical sets of foils and also add some + introductionary text for them. In the rendered forms, these groups + can have a table of contents of the included slides. You can also + see such groups in this presentation. + + + + Group 1 + + This is an introduction. + + + ... + +]]> + + + + + + + Markup Examples + + + Let's see how to create the particular foils with + DocBook Slides. + + + + Info Content + + + You can wrap the title into the <info> element that + comes from the DocBook schema. It also means you can + add the usual authoring information here: + + + + Group 1 + + + + John + Doe + + FooBar Inc. + + + 2012 + ]]> + + + + + + Block Content + + + + + You have access to all of the block content elements in DocBook, + e.g. you can create a simple paragraph with + <para>, just like in DocBook. + + + + Or you can use lists, like <itemizedlist>. + + + + Or <programlisting> with some code or markup inside. + + + + + Inline Content + + + + + Just like block elements, you can also use inline DocBook + elements to mark up your content on your foils. + + + + For example, you can emphasize + something with <emphasis> or you + can mark literal text as such with + <literal>. + + + + By the way, the inline markup citation above is marked up + with <tag>. + + + + Apart from these, feel free to use the rest of + the markup elements. + + + + + + + FAQ Listings + + + + + + What else can I use to make my slides useful + and practical? + + + + You can include some questions and answers with + <qandaset> and related elements to answer some + frequently asked questions. + + + + + + + + References + + + + + Sometimes you need to add some remarks and some + references to your slide content. + + + + For small remarks, you can use the + <footnote> element to insert a footnote + that will appear on the same foil where it is inserted. + + + + Or for references to external content + - books and websites - you can include one or more + bibliography foils in the end. + + + + On these foils, instead of the usual bulleted points, use the + <bibliography> element and you + will get a nicely formatted reference list. + + + + Use <xref> in the content + to generate a link to the reference entry. + + + + + + + Incremental Slides + + + + + If you set the dbs:incremental attribute ... + + + + ... to 1 on a foil, ... + + + + ... then you will get incremental lists, ... + + + + ... like this if they are supported in the output format. (XHTML-based) + + + + + + + Collapsible Lists + + + You can see a collapsible list below (depending on the output + format). Click on the node to expand it. + + + + + + If you set the dbs:collapsible attribute ... + + + + ... to 1 on a foil, ... + + + + ... then you will get collapsible lists, ... + + + + ... like this if they are supported in the output format. (Slidy) + + + + + + + + + Building Blocks + + + + + Slides are layout-oriented documents; formatting + is a crucial part of them. + + + + DocBook aims to separate structure and layout but for + Slides sometimes it is not entirely possible, yet the + layout-related markup is tried to be kept minimal. + + + + You can use the <dbs:block> element + that will be transformed to a container type in the + generated document (e.g. <div> in HTML). + + + + You can also apply the dbs:style attribute + to blocks and you can even embed them into each other. + + + + Use CSS or extend the XSLT stylesheets to control + renering of your custom blocks. + + + + + + + Block Example + + + + This is the left block. + + + + This is the right block. And it is marked incremental. + + + + + + Images and Formulas + + + + Incremental Images + + + This is only supported in XHTML-based output. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Embedded SVG + + + You can embed SVG + See http://www.w3.org/TR/SVG11/. + code, like this: + + + +]]> + + + + + + + + + Embedded MathML + + + You can embed MathML + See http://www.w3.org/TR/MathML3/. + code, like this: + + + + 10 + 01 + +]]> + + + + 10 + 01 + + + + + + + + Presentation + + + + + Available Formats + + + + + + StylesheetDescription. + + + + + xhtml/plain.xsl + Single plain XHTML file. + + + + xhtml/slidy.xsl + Single XHTL file in W3C HTML Slidy format. + + + + xhtml/s5.xsl + Single XHTML file in S5 format. + + + + fo/plain.xsl + XSL Formatting Objects for printed output. + + + + + + + + + + Plain XHTML + + + + + It is a simple plain XHTML output with + some classes given on the elements. These let you create your + own CSS stylesheet for the rendering. + + + + It is actually quite similar to the + S5 format with + S5-specific + parts removed. The objective with this format was simplicity + and S5 + already achieves that quite well but in case you do not want + to use that framework, you can create your own one. + + + + The stylesheet to choose for this format is + xhtml/plain.xsl. + + + + + + + W3C HTML Slidy + + + + + W3C HTML Slidy + is an XHTML framework for presentations. + + + + It seems mature and well maintained. + + + + HTML Slidy handles well long content. Its formatting + allows more text on a single foil and even if your text + overflows, you can scroll inside the single foil. It also + supports collapsible lists and a JavaScript clock so that you + do not run out of time. + + + + For HTML Slidy, use + xhtml/slidy.xsl. + + + + + + + S5 Format + + + + + S5 + stands for Simple Standards-Based Slide Show System. + + + + It is yet another XHTML-based framework for slideshows, like + HTML Slidy. + + + + Its JavaScript code behaves somewhat differently and it is less + mature. + + + + It supports incremental lists but in general, it is not so + feature-rich as HTML Slidy. + + + + To create your S5 + presentation, pick the + xhtml/s5.xsl stylesheet. + + + + + + + XSL FO Format + + + + + XSL FO is an XML vocabulary to describe how formatted + output is presented. + + + + It is used here as an intermediate format between DocBook Slides + and printable output. + + + + First, generate the XSL FO document. + + + + Then use your XSL FO processor to render your printable + document in PDF, PostScript, etc. depending on the capabilities of + the software you use. + + + + If you need a free processor, take a look at + Apache FOP . + + + + + + + XSLT Parameters + + + + + The provided stylesheets offer XSLT parameters + to adjust some tunables of the output generation. + + + + The parameters are documented in the documentation + that accompanies the DocBook XSL distribution. + + + + All the DocBook Slides stylesheets are extensions of the + original DocBook stylesheets so adjusting their parameters may also + affect your rendered slides. + + + + + + + Customizations + + + Sometimes parameters are not enough and you need to modify + the templates to achieve your goal. Customizations are easy + to create with XSLT. + + + + Just pick up a stylesheet that you want to customize. + + + + Create a new, empty stylesheet that imports the original + one. + + + + Override the original templates that do not work + in the way you desire. + + + + Of course, this requires some knowledge in XSLT and + you will need to read the code to see what to override. + + + + + + + + Authoring with DocBook Slides 5.0 + + + + + Choosing a Validator + + + + + Once you have some slides marked up in DocBook Slides, + you probably want to make sure your markup is valid. Otherwise, + it is not guaranteed that the output will be generated properly. + For this, you need a validator. + + + + The DocBook Slides schema is described in the RELAX-NG grammar language. + + + + The recommended RELAX-NG validator is + jing . + + + + Alternatively, you can use Emacs/nXML + with the supplied locatingrules.xml file. + + + + + The RELAX-NG validation in the xmllint program from libxml2 is known to have + bugs and does not work correctly with DocBook Slides. + + + + + + Validating Slides + + + + + With jing, run: + jing ~/docbook-slides/slides.rng foo.xml. + + + + For Emacs/nXML, you can put the following into + your emacs.conf: + + + (setq rng-schema-locating-files + (append + '("~/docbook-slides/locatingrules.xml"))) + + Or you can do M-x customize-variable rng-schema-locating-files + and then add the absolute path to the file. + + + + + + + Transforming DocBook Slides Documents + + + + + You need an XSLT processor to transform the documents. + For example, you can use either xsltproc from + libxslt , Xalan + or Saxon. + + + + It is recommended to use xsltproc, since + it is significantly faster than the other two and the DocBook Slides + stylesheets were also tested with it. + + + + Pick the proper stylesheet for your chosen output format. + For example, it is xhtml/slidy.xsl for + HTML Slidy. + + + + Type: xsltproc xsl/slides/xhtml/slidy.xsl foo.xml > foo.html + + + + + + + Rendering Printable Output + + + + + First create the XSL FO document with XSLT: + xsltproc xsl/slides/fo/plain.xsl foo.xml > foo.fo + + + + Then use your XSL FO processor to render the final document. + + + + For example, to render a PDF with Apache FOP, type: + fop foo.fo foo.pdf + + + + + + + + DocBook Slides Limitations + + + + + Foil Content + + + Creating slides is quite different from creating + papers and books. + + + + Presentational slide are layout-oriented by nature as opposed to DocBook, which is + structure-oriented. The content of the foil must fit but there + is no easy way to detect this so this should be checked + and controlled manually. + + + + Formatting of slide content is not necessarily consistent but part + of the design of each foil and illustration used in + the presentation, while an important principle of + DocBook is separating content and styling. To achieve + something very unique, you will probably need heavy + customization. + + + + + + + Animations and Sound Effects + + + DocBook was invented for mostly printed or web + content, while slides are rarely presented in a + printed form. + + + + Slides are usually shown on computer screen or + projector and may heavily use animated or audio content + to support the presentations. + + + + Most of the possible output formats are usually + used in printed form or on the web. The first lacks + the possibility of animated and audio content and the + second one lacks good open standards for doing so. + + + + Maybe a future HTML5 or OpenDocument support + can bring in some new features but for now, you cannot + really use animations and sound. + + + + + + + + Frequently Asked Questions + + + + + Compatibility + + + + + + Is DocBook Slides 5.0 stylesheets compatible with + older versions of DocBook Slides or vice versa? + + + + Not at all, since it is heavily redesigned. But + you can find an XSLT transformation in the + tools/ + directory, which can convert your slides to the new + schema. + + + + + + + + Contribution + + + + + + Can I contribute to the schema or to the stylesheets? + + + + Of course, any contribution that can be useful for + other users and fits the concept of DocBook Slides + is more than welcome. + + + + + + What to do with my contribution? + + + + Please first ask review on + the docbook-apps + mailing list and users and other developers will tell you + what to improve and how to submit your work for inclusion. + + + + + + + + Help + + + + + + How can I get help in using the schema and the + accompanying stylesheets? + + + + There is a + docbook-apps + mailing list for general questions on DocBook and related + technologies. There are numerous users and developers subscribed to + this list, so probably you can get help there. + + + + + + + + + Mini-Reference + + + Here you have the short and informal description of the DocBook + Slides elements. It is not meant to be a full and formalized + referenced but rather a cheatsheet to look at. + + + + dbs:slides + + + + + May contain: db:title, db:titleabbrev, + db:subtitle, db:info, dbs:foilgroup, dbs:foil + + + + Usage: It is the root element that encloses the authoring + info and the particular foils that may be grouped to foil + groups. + + + + + + + dbs:foilgroup + + + + + May contain: db:title, db:titleabbev, + db:subtitle, db:info, [block content], dbs:foil, dbs:speakernotes, + dbs:handoutnotes + + + + Usage: It groups together various foils. It can have its own info + section and an optional introductionary text. Depending on your XSLT + parameters, it may generate a table of contents of enclosed foils. + Its usage is not obligatory but may be very useful for grouping together + logically related foils. It may have some speaker notes and handout notes, as well. + + + + + + + dbs:foil + + + + + May contain: db:title, db:titleabbev, + db:subtitle, db:info, [block content], dbs:speakernotes, + dbs:handoutnotes + + + + Usage: It marks up a single foil. Use + DocBook block elements to mark up your content. It may have some speaker + notes and handout notes, as well. + + + + + + + dbs:block + + + + + May contain: [block content] + + + + Usage: It divides the content into layout units + that can later processed in a specific way. + + + + + + + dbs:speakernotes + + + + + May contain: [block content] + + + + Usage: Notes that are not meant to be presented to + the audience but to the speaker. + + + + + + + dbs:handoutnotes + + + + + May contain: [block content] + + + + Usage: Notes that are not to accompany + printed slides. + + + + + + + Attribute dbs:incremental + + + + + Usage: Makes the content incremental. + Allowed on any element and inherited to child elements + but not applicable everywhere and its effect depends on the output + format. + + + + + + + Attribute dbs:collapsible + + + + + Usage: Makes the content collapsible. + Allowed on any element and inherited to child elements + but not applicable everywhere and its effect depends on the output + format. + + + + + + + Attribute dbs:style + + + + + Usage: Classifies the given element + to a specific formatting class. Typically applicable to foils, + foilgroups and mediaobject. Allowed anywhere but not processed + everywhere. In HTML it naturally maps to the class + attribute. + + + + + + + + Related Standards + + + + Related Standards + + + Extensible Markup Language (XML) + + + W3C + + + http://www.w3.org/TR/REC-xml/ + + + + The DocBook Schema Version 5.0 + + + OASIS + + + http://docs.oasis-open.org/docbook/specs/docbook-5.0-spec-os.html + + + + XSL Transformations (XSLT) Version 1.0 + + + W3C + + + http://www.w3.org/TR/xslt + + + + Extensible Stylesheet Language (XSL) Version 1.1 + + + W3C + + + http://www.w3.org/TR/xsl/ + + + + + + + Supported HTML Presentation Frameworks + + + + Supported HTML Presentation Frameworks + + + S<superscript>5</superscript> + A Simple Standards-Based Slide Show System + + http://meyerweb.com/eric/tools/s5/ + + + + HTML Slidy + Slide Shows in HTML and XHTML + + www.w3.org/Talks/Tools/Slidy2/ + + + + + + + Recommended Tools + + + + Recommended Tools + + + Jing RELAX-NG validator + + http://www.thaiopensource.com/relaxng/jing.html + + + + libxslt + The XSLT C library for GNOME + + http://xmlsoft.org/xslt/ + + + + Apache FOP + + http://xmlgraphics.apache.org/fop/ + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/doc/user.css b/apache-fop/src/test/resources/docbook-xsl/slides/doc/user.css new file mode 100644 index 0000000000..a7ae50c04a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/doc/user.css @@ -0,0 +1,6 @@ +.face_container {margin-left: 4em; position: relative;} +.face_first {position: static; vertical-align: bottom;} +.face_other {position: absolute; left: 0; top: 0;} + +.left {float: left;} +.right {float: right;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xml b/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xml new file mode 100644 index 0000000000..c2ab9442d4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xml @@ -0,0 +1,1155 @@ + + + +Slides FO Parameter Reference + +$Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ + + + + Kövesdán + Gábor + + + + 2012 + Gábor Kövesdán + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL Slides FO stylesheet (for + generating PDF slide presentations). Note that the Slides + stylesheet for FO output is a customization layer of the + DocBook XSL FO stylesheet. Therefore, in addition to the + slides-specific parameters listed in this section, you can + also use a number of FO stylesheet + parameters to control Slides FO output. + + + + FO: General Params + + + +foil.title.master +number + + +foil.title.master +Specifies unitless font size to use for foil titles + + + + +<xsl:param name="foil.title.master">36</xsl:param> +<!-- Inconsistant use of point size? --> + + + +Description + +Specifies a unitless font size to use for foil titles; used in +combination with the foil.title.size +parameter. + + + + + +foil.title.size +length + + +foil.title.size +Specifies font size to use for foil titles, including units + + + + + <xsl:param name="foil.title.size"> + <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text> + </xsl:param> + + + +Description + +This parameter combines the value of the +foil.title.master parameter with a unit +specification. The default unit is pt +(points). + + + + + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + <xsl:param name="generate.copyright">1</xsl:param> + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + + + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param> + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + + + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + <xsl:param name="generate.foilgroup.toc">1</xsl:param> + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + + + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + <xsl:param name="generate.handoutnotes">0</xsl:param> + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + + + + +generate.page.number +list +full1/2 +compact1 +no + + +generate.page.number +Specifies whether page numbers are generated + + + + + <xsl:param name="generate.page.number">compact</xsl:param> + + + +Description + +This parameter specifies how page numbers are generated in + the footer area. + + + + no + + No page numbers generated at all. + + + + full + + Current page number, a slash and the total number of pages + + + + compact + + Current page number only + + + + no + + No page numbers generated at all. + + + + + + + + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + <xsl:param name="generate.pubdate">1</xsl:param> + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + + + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + <xsl:param name="generate.speakernotes">0</xsl:param> + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + + + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + <xsl:param name="generate.titlepage">1</xsl:param> + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + + + + +mml.embedding.mode +list +inline +external-graphic +instream-foreign-object + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + <xsl:param name="mml.embedding.mode">external-graphic</xsl:param> + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + + + + +slide.font.family +list +open +serif +sans-serif +monospace + + +slide.font.family +Specifies font family to use for slide bodies + + + + +<xsl:param name="slide.font.family">Helvetica</xsl:param> + + + +Description + +Specifies the font family to use for slides bodies. + + + + + + +slide.title.font.family +list +open +serif +sans-serif +monospace + + +slide.title.font.family +Specifies font family to use for slide titles + + + + +<xsl:param name="slide.title.font.family">Helvetica</xsl:param> + + + +Description + +Specifies the font family to use for slides titles. + + + + + + +svg.embedding.mode +list +external-graphic +instream-foreign-object + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param> + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + external-graphic + + Content is extracted into an externel file and referenced + by an external-graphic element. + + + + instream-foreign-object + + Content is copied over with its namespace inside an + instream-foreign-object element. + + + + + + + + + + FO: Property Sets + + +foil.header.properties +attribute set + + +foil.header.properties +Specifies properties for foil header area + + + + + <xsl:attribute-set name="foil.header.properties"> + <xsl:attribute name="background-color">white</xsl:attribute> + <xsl:attribute name="color">black</xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="space-after">12pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil header area. + + + + + + +foil.master.properties +attribute set + + +foil.master.properties +Specifies properties for foil master + + + + + <xsl:attribute-set name="foil.master.properties"> + <xsl:attribute name="page-width"> + <xsl:value-of select="$page.width"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="page-height"> + <xsl:value-of select="$page.height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$page.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$page.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$page.margin.inner"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-right"> + <xsl:value-of select="$page.margin.outer"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil master. + + + + + + +foil.page-sequence.properties +attribute set + + +foil.page-sequence.properties +Specifies properties for foil page-sequence + + + + + <xsl:attribute-set name="foil.page-sequence.properties"> + <xsl:attribute name="hyphenate"> + <xsl:value-of select="$hyphenate"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for foil page-sequence. + + + + + + +foil.properties +attribute set + + +foil.properties +Specifies properties for all foils + + + + + <xsl:attribute-set name="foil.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute> + <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all foils. + + + + + + +foil.region-after.properties +attribute set + + +foil.region-after.properties +Specifies properties for foil region-after + + + + + <xsl:attribute-set name="foil.region-after.properties"> + <xsl:attribute name="extent"> + <xsl:value-of select="$region.after.extent"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="display-align">after</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-after. + + + + + + +foil.region-before.properties +attribute set + + +foil.region-before.properties +Specifies properties for foil region-before + + + + + <xsl:attribute-set name="foil.region-before.properties"> + <xsl:attribute name="extent"> + <xsl:value-of select="$region.before.extent"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="display-align"> + <xsl:value-of select="'before'"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-before. + + + + + + +foil.region-body.properties +attribute set + + +foil.region-body.properties +Specifies properties for foil region-body + + + + + <xsl:attribute-set name="foil.region-body.properties"> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$body.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$body.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="column-count"> + <xsl:value-of select="$column.count.body"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil region-body. + + + + + + +foil.subtitle.properties +attribute set + + +foil.subtitle.properties +Specifies properties for all foil subtitles + + + + + <xsl:attribute-set name="foil.subtitle.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name="space-after">12pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all foil subtitles. + + + + + + +foil.title.properties +attribute set + + +foil.title.properties +Specifies properties for foil title + + + + + <xsl:attribute-set name="foil.title.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.size"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil title. + + + + + + +foil.footer.properties +attribute set + + +foil.footer.properties +Specifies properties for slides footer + + + + + <xsl:attribute-set name="foil.footer.properties"></xsl:attribute-set> + + + +Description + +This parameter specifies properties for the foil footer. + + + + + + +handoutnotes.properties +attribute set + + +footnote.properties +Properties applied to handoutnotes + + + + + +<xsl:attribute-set name="handoutnotes.properties"></xsl:attribute-set> + + + +Description + +This attribute set is applied to handoutnotes. + + + + + + +slides.properties +attribute set + + +slides.properties +Specifies properties for all slides + + + + + <xsl:attribute-set name="slides.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties that are applied to all slides. + + + + + + +slides.titlepage.master.properties +attribute set + + +slides.titlepage.master.properties +Specifies properties for slides titlepage master + + + + + <xsl:attribute-set name="slides.titlepage.master.properties"> + <xsl:attribute name="page-width"> + <xsl:value-of select="$page.width"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="page-height"> + <xsl:value-of select="$page.height"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-top"> + <xsl:value-of select="$page.margin.top"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-bottom"> + <xsl:value-of select="$page.margin.bottom"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$page.margin.inner"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-right"> + <xsl:value-of select="$page.margin.outer"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the slides titlepage master. + + + + + + +slides.titlepage.region-body.properties +attribute set + + +slides.titlepage.region-body.properties +Specifies properties for slides titlepage region-body + + + + + <xsl:attribute-set name="slides.titlepage.region-body.properties"> + <xsl:attribute name="margin-bottom">0pt</xsl:attribute> + <xsl:attribute name="margin-top">0pt</xsl:attribute> + <xsl:attribute name="column-count"> + <xsl:value-of select="$column.count.body"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the slides titlepage region-body. + + + + + + +slides.titlepage.corpauthor.properties +attribute set + + +slides.titlepage.corpauthor.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.corpauthor.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">20.736pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the corpauthor on the default + titlepage. + + + + + + +slides.titlepage.title.properties +attribute set + + +slides.titlepage.title.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.title.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="padding-top">1.5in</xsl:attribute> + <xsl:attribute name="keep-with-next">always</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$foil.title.size"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the title on the default + titlepage. + + + + + + +slides.titlepage.subtitle.properties +attribute set + + +slides.titlepage.subtitle.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.subtitle.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.title.font.family"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the subtitle on the default + titlepage. + + + + + + +slides.titlepage.author.properties +attribute set + + +slides.titlepage.author.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.author.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">20.736pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the author on the default + titlepage. + + + + + + +slides.titlepage.pubdate.properties +attribute set + + +slides.titlepage.pubdate.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.pubdate.properties"> + <xsl:attribute name="text-align">center</xsl:attribute> + <xsl:attribute name="space-after">1em</xsl:attribute> + <xsl:attribute name="font-size">17.28pt</xsl:attribute> + </xsl:attribute-set> + + + +Description + +This parameter specifies properties for the pubdate on the default + titlepage. + + + + + + +slides.titlepage.authorgroup.properties +attribute set + + +slides.titlepage.authorgroup.properties +Specifies properties for slides titlepage title + + + + + <xsl:attribute-set name="slides.titlepage.authorgroup.properties"></xsl:attribute-set> + + + +Description + +This parameter specifies properties for the authorgroup on the default + titlepage. + + + + + + +speakernotes.properties +attribute set + + +footnote.properties +Properties applied to speakernotes + + + + + +<xsl:attribute-set name="speakernotes.properties"></xsl:attribute-set> + + + +Description + +This attribute set is applied to speakernotes. + + + + + + +The Stylesheet + +The param.xsl stylesheet is just a wrapper +around all these parameters. + + + +<!-- This file is generated from param.xweb --> + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- ******************************************************************** + $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ + ******************************************************************** + + This file is part of the DocBook Slides Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="foil.title.master.frag"></src:fragref> +<src:fragref linkend="foil.title.size.frag"></src:fragref> +<src:fragref linkend="generate.copyright.frag"></src:fragref> +<src:fragref linkend="generate.foilgroup.numbered.toc.frag"></src:fragref> +<src:fragref linkend="generate.foilgroup.toc.frag"></src:fragref> +<src:fragref linkend="generate.handoutnotes.frag"></src:fragref> +<src:fragref linkend="generate.page.number.frag"></src:fragref> +<src:fragref linkend="generate.pubdate.frag"></src:fragref> +<src:fragref linkend="generate.speakernotes.frag"></src:fragref> +<src:fragref linkend="generate.titlepage.frag"></src:fragref> +<src:fragref linkend="mml.embedding.mode.fo.frag"></src:fragref> +<src:fragref linkend="slide.font.family.frag"></src:fragref> +<src:fragref linkend="slide.title.font.family.frag"></src:fragref> +<src:fragref linkend="svg.embedding.mode.fo.frag"></src:fragref> + +<src:fragref linkend="foil.header.properties.frag"></src:fragref> +<src:fragref linkend="foil.master.properties.frag"></src:fragref> +<src:fragref linkend="foil.page-sequence.properties.frag"></src:fragref> +<src:fragref linkend="foil.properties.frag"></src:fragref> +<src:fragref linkend="foil.region-after.properties.frag"></src:fragref> +<src:fragref linkend="foil.region-before.properties.frag"></src:fragref> +<src:fragref linkend="foil.region-body.properties.frag"></src:fragref> +<src:fragref linkend="foil.subtitle.properties.frag"></src:fragref> +<src:fragref linkend="foil.title.properties.frag"></src:fragref> +<src:fragref linkend="handoutnotes.properties.frag"></src:fragref> +<src:fragref linkend="slides.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.master.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.region-body.properties.frag"></src:fragref> +<src:fragref linkend="speakernotes.properties.frag"></src:fragref> + +<src:fragref linkend="slides.titlepage.corpauthor.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.title.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.subtitle.properties.frag"></src:fragref> +<src:fragref linkend="foil.footer.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.author.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.pubdate.properties.frag"></src:fragref> +<src:fragref linkend="slides.titlepage.authorgroup.properties.frag"></src:fragref> + +</xsl:stylesheet> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xsl new file mode 100644 index 0000000000..d972fcd684 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/fo/param.xsl @@ -0,0 +1,222 @@ + + + + + + +36 + + + pt + + + 1 + + 1 + + 1 + + 0 + + compact + + 1 + + 0 + + 1 + + external-graphic + +Helvetica +Helvetica + instream-foreign-object + + + + white + black + bold + center + + + + 12pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1in + 1in + + + + + + + + + + after + + + + + + + + + + + + + + + + + + + + + + + + + + + + center + + pt + + 12pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0pt + 0pt + + + + + + + + + center + 1em + 20.736pt + + + + center + 1em + 1.5in + always + + + + bold + + + + + + + center + 1em + + + + + + + + + center + 1em + 20.736pt + + + + center + 1em + 17.28pt + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xml b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xml new file mode 100644 index 0000000000..d817f130ce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + +]> + + + + + + + + + <subtitle xsl:use-attribute-sets="slides.titlepage.subtitle.properties"/> + + <corpauthor xsl:use-attribute-sets="slides.titlepage.corpauthor.properties"/> + <authorgroup xsl:use-attribute-sets="slides.titlepage.authorgroup.properties"/> + <author xsl:use-attribute-sets="slides.titlepage.author.properties"/> + + <pubdate xsl:use-attribute-sets="slides.titlepage.pubdate.properties"/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xsl new file mode 100644 index 0000000000..f79cf81190 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain-titlepage.xsl @@ -0,0 +1,150 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="slides.titlepage.recto"> + <xsl:choose> + <xsl:when test="slidesinfo/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="slidesinfo/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/pubdate"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/pubdate"/> +</xsl:template> + +<xsl:template name="slides.titlepage.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage.separator"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage"> + <block> + <xsl:variable name="recto.content"> + <xsl:call-template name="slides.titlepage.before.recto"/> + <xsl:call-template name="slides.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <block><xsl:copy-of select="$recto.content"/></block> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="slides.titlepage.before.verso"/> + <xsl:call-template name="slides.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <block><xsl:copy-of select="$verso.content"/></block> + </xsl:if> + <xsl:call-template name="slides.titlepage.separator"/> + </block> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.title.properties"> +<xsl:call-template name="presentation.title"> +</xsl:call-template> +</block> +</xsl:template> + +<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.subtitle.properties"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</block> +</xsl:template> + +<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.corpauthor.properties"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</block> +</xsl:template> + +<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.authorgroup.properties"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</block> +</xsl:template> + +<xsl:template match="author" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.author.properties"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</block> +</xsl:template> + +<xsl:template match="pubdate" mode="slides.titlepage.recto.auto.mode"> +<block xsl:use-attribute-sets="slides.titlepage.pubdate.properties"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</block> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain.xsl new file mode 100644 index 0000000000..40217ea998 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/fo/plain.xsl @@ -0,0 +1,563 @@ +<?xml version="1.0"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:fo="http://www.w3.org/1999/XSL/Format" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="dbs db" + extension-element-prefixes="exsl" + version="1.0"> + +<xsl:import href="../../fo/docbook.xsl"/> +<xsl:import href="../common/common.xsl"/> +<xsl:include href="plain-titlepage.xsl"/> +<xsl:include href="param.xsl"/> + +<xsl:output indent="yes"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:gentext key="Continued" text="(Continued)"/> + <l:gentext key="Speakernotes" text="Speaker Notes"/> + <l:gentext key="Handoutnotes" text="Handout Notes"/> + <l:context name="title"> + <l:template name="slides" text="%t"/> + <l:template name="foilgroup" text="%t"/> + <l:template name="foil" text="%t"/> + </l:context> + </l:l10n> +</i18n> + +<!-- Start of overrides --> + +<xsl:param name="page.margin.top" select="'0.25in'"/> +<xsl:param name="page.margin.bottom" select="'0.25in'"/> +<xsl:param name="page.margin.inner" select="'0.25in'"/> +<xsl:param name="page.margin.outer" select="'0.25in'"/> +<xsl:param name="body.margin.top" select="'1in'"/> +<xsl:param name="body.margin.bottom" select="'0.5in'"/> +<xsl:param name="region.before.extent" select="'0.75in'"/> +<xsl:param name="region.after.extent" select="'0.5in'"/> +<xsl:param name="column.count.body" select="1"/> +<xsl:param name="body.font.size">20</xsl:param> + +<xsl:param name="callout.icon.size" select="'40pt'"/> +<xsl:param name="alignment" select="'start'"/> +<xsl:param name="preferred.mediaobject.role" select="'print'"/> +<xsl:param name="page.orientation" select="'landscape'"/> + +<xsl:variable name="root.elements" select="' slides '"/> + +<xsl:attribute-set name="formal.title.properties" + use-attribute-sets="normal.para.spacing"> + <xsl:attribute name="font-weight">bold</xsl:attribute> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.master * 1.2"/> + <xsl:text>pt</xsl:text> + </xsl:attribute> + <xsl:attribute name="hyphenate">false</xsl:attribute> + <xsl:attribute name="space-after.minimum">8pt</xsl:attribute> + <xsl:attribute name="space-after.optimum">6pt</xsl:attribute> + <xsl:attribute name="space-after.maximum">10pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="list.block.spacing"> + <xsl:attribute name="space-before.optimum">12pt</xsl:attribute> + <xsl:attribute name="space-before.minimum">8pt</xsl:attribute> + <xsl:attribute name="space-before.maximum">14pt</xsl:attribute> + <xsl:attribute name="space-after.optimum">0pt</xsl:attribute> + <xsl:attribute name="space-after.minimum">0pt</xsl:attribute> + <xsl:attribute name="space-after.maximum">0pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="list.item.spacing"> + <xsl:attribute name="space-before.optimum">6pt</xsl:attribute> + <xsl:attribute name="space-before.minimum">4pt</xsl:attribute> + <xsl:attribute name="space-before.maximum">8pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="normal.para.spacing"> + <xsl:attribute name="space-before.optimum">8pt</xsl:attribute> + <xsl:attribute name="space-before.minimum">6pt</xsl:attribute> + <xsl:attribute name="space-before.maximum">10pt</xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="orderedlist.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size"/> + </xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="footnote.properties"> + <xsl:attribute name="font-size"> + <xsl:value-of select="$body.font.size * 0.8"/> + </xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="slides.titlepage.recto.style"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"/> + </xsl:attribute> +</xsl:attribute-set> + +<xsl:attribute-set name="slides.titlepage.verso.style"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$slide.font.family"/> + </xsl:attribute> +</xsl:attribute-set> + +<xsl:template name="bibliography.titlepage"/> + +<!-- Do not add db namespace to dbs elements --> +<xsl:template match="*[namespace-uri() = 'http://docbook.org/ns/docbook-slides']" mode="addNS"> + <xsl:copy-of select="."/> +</xsl:template> + +<!-- End of overrides --> + +<xsl:template name="user.pagemasters"> + <fo:simple-page-master master-name="slides-titlepage-master" + xsl:use-attribute-sets="slides.titlepage.master.properties"> + <fo:region-body xsl:use-attribute-sets="slides.titlepage.region-body.properties"/> + </fo:simple-page-master> + + <fo:simple-page-master master-name="slides-foil-master" + xsl:use-attribute-sets="foil.master.properties"> + <fo:region-body xsl:use-attribute-sets="foil.region-body.properties"/> + <fo:region-before region-name="xsl-region-before-foil" xsl:use-attribute-sets="foil.region-before.properties"/> + <fo:region-after region-name="xsl-region-after-foil" xsl:use-attribute-sets="foil.region-after.properties"/> + </fo:simple-page-master> + + <fo:simple-page-master master-name="slides-foil-continued-master" + xsl:use-attribute-sets="foil.master.properties"> + <fo:region-body xsl:use-attribute-sets="foil.region-body.properties"/> + <fo:region-before region-name="xsl-region-before-foil-continued" xsl:use-attribute-sets="foil.region-before.properties"/> + <fo:region-after region-name="xsl-region-after-foil-continued" xsl:use-attribute-sets="foil.region-after.properties"/> + </fo:simple-page-master> + + <fo:page-sequence-master master-name="slides-titlepage"> + <fo:repeatable-page-master-alternatives> + <fo:conditional-page-master-reference master-reference="slides-titlepage-master"/> + </fo:repeatable-page-master-alternatives> + </fo:page-sequence-master> + + <fo:page-sequence-master master-name="slides-foil"> + <fo:repeatable-page-master-alternatives> + <fo:conditional-page-master-reference master-reference="slides-foil-master" + page-position="first"/> + <fo:conditional-page-master-reference master-reference="slides-foil-continued-master"/> + </fo:repeatable-page-master-alternatives> + </fo:page-sequence-master> +</xsl:template> + +<xsl:template name="presentation.title"> + <xsl:call-template name="get.title"> + <xsl:with-param name="ctx" select="/dbs:slides"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="slides.bookmarks"> + <fo:bookmark-tree> + <xsl:apply-templates select="/dbs:slides/dbs:foil|/dbs:slides/dbs:foilgroup" mode="bookmark.mode"/> + </fo:bookmark-tree> +</xsl:template> + +<xsl:template match="dbs:foil|dbs:foilgroup" mode="bookmark.mode"> + <fo:bookmark> + <xsl:attribute name="internal-destination"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + + <fo:bookmark-title> + <xsl:call-template name="get.title"/> + </fo:bookmark-title> + + <xsl:if test="self::dbs:foilgroup"> + <xsl:apply-templates select="dbs:foil" mode="bookmark.mode"/> + </xsl:if> + </fo:bookmark> +</xsl:template> + +<xsl:template match="db:author" mode="titlepage.mode"> + <fo:block> + <xsl:apply-templates select="db:personname" mode="titlepage.mode"/> + </fo:block> + + <fo:block> + <xsl:apply-templates select="db:affiliation" mode="titlepage.mode"/> + </fo:block> + + <fo:block> + <xsl:apply-templates select="db:email" mode="titlepage.mode"/> + </fo:block> +</xsl:template> + +<xsl:template match="/"> + <fo:root xsl:use-attribute-sets="slides.properties"> + <fo:layout-master-set> + <xsl:call-template name="user.pagemasters"/> + </fo:layout-master-set> + + <xsl:call-template name="slides.bookmarks"/> + + <xsl:if test="$generate.titlepage != 0"> + <fo:page-sequence hyphenate="{$hyphenate}" + master-reference="slides-titlepage"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + + <fo:flow flow-name="xsl-region-body"> + <fo:block> + <xsl:apply-templates select="/dbs:slides" mode="titlepage"/> + </fo:block> + </fo:flow> + </fo:page-sequence> + </xsl:if> + + <xsl:apply-templates select="/dbs:slides/dbs:foil|/dbs:slides/dbs:foilgroup"/> + </fo:root> +</xsl:template> + +<xsl:template match="dbs:slides" mode="titlepage"> + <xsl:call-template name="slides.titlepage"/> +</xsl:template> + +<xsl:template name="page.template"> + <xsl:param name="mode" select="'normal'"/> + + <xsl:param name="title"> + <xsl:call-template name="get.title"/> + </xsl:param> + + <xsl:param name="subtitle"> + <xsl:call-template name="get.subtitle"/> + </xsl:param> + + <fo:page-sequence master-reference="slides-foil" xsl:use-attribute-sets="foil.page-sequence.properties"> + <xsl:attribute name="language"> + <xsl:call-template name="l10n.language"/> + </xsl:attribute> + + <xsl:attribute name="id"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + + <fo:static-content flow-name="xsl-region-before-foil"> + <fo:block xsl:use-attribute-sets="foil.header.properties"> + <fo:block xsl:use-attribute-sets="foil.title.properties"> + <xsl:value-of select="$title"/> + </fo:block> + + <fo:block xsl:use-attribute-sets="foil.subtitle.properties"> + <xsl:value-of select="$subtitle"/> + </fo:block> + </fo:block> + </fo:static-content> + + <fo:static-content flow-name="xsl-region-before-foil-continued"> + <fo:block xsl:use-attribute-sets="foil.header.properties"> + <fo:block xsl:use-attribute-sets="foil.title.properties"> + <xsl:value-of select="$title"/> + <xsl:text> </xsl:text> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Continued'"/> + </xsl:call-template> + </fo:block> + </fo:block> + </fo:static-content> + + <fo:static-content flow-name="xsl-region-after-foil"> + <xsl:call-template name="generate.footer"/> + </fo:static-content> + + <fo:static-content flow-name="xsl-region-after-foil-continued"> + <xsl:call-template name="generate.footer"/> + </fo:static-content> + + <fo:flow flow-name="xsl-region-body"> + <fo:block xsl:use-attribute-sets="foil.properties"> + <xsl:choose> + <xsl:when test="$mode = 'normal'"> + <xsl:apply-templates select="*[not(self::dbs:foil)][not(self::db:info)][not(self::db:title)][not(self::db:titleabbrev)][not(self::db:subtitle)][not(self::dbs:speakernotes)][not(self::dbs:handoutnotes)]"/> + + <xsl:if test="self::dbs:foilgroup and ($generate.foilgroup.toc != 0)"> + <xsl:call-template name="foilgroup.generate.toc"/> + </xsl:if> + </xsl:when> + + <xsl:when test="$mode = 'speakernotes'"> + <xsl:apply-templates select="dbs:speakernotes"/> + </xsl:when> + + <xsl:when test="$mode = 'handoutnotes'"> + <xsl:apply-templates select="dbs:handoutnotes"/> + </xsl:when> + </xsl:choose> + </fo:block> + </fo:flow> + </fo:page-sequence> +</xsl:template> + +<xsl:template match="dbs:foil|dbs:foilgroup"> + <xsl:call-template name="page.template"/> + + <xsl:call-template name="generate.slide.notes"/> + + <xsl:if test="self::dbs:foilgroup"> + <xsl:apply-templates select="dbs:foil"/> + </xsl:if> +</xsl:template> + +<xsl:template name="generate.slide.notes"> + <xsl:variable name="subtitle.handoutnotes"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Handoutnotes'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="subtitle.speakernotes"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Speakernotes'"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="($generate.handoutnotes != 0) and ./dbs:handoutnotes"> + <xsl:call-template name="page.template"> + <xsl:with-param name="mode" select="'handoutnotes'"/> + <xsl:with-param name="subtitle" select="$subtitle.handoutnotes"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="($generate.speakernotes != 0) and ./dbs:speakernotes"> + <xsl:call-template name="page.template"> + <xsl:with-param name="mode" select="'speakernotes'"/> + <xsl:with-param name="subtitle" select="$subtitle.speakernotes"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="dbs:handoutnotes"> + <fo:block xsl:use-attribute-sets="handoutnotes.properties"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="dbs:speakernotes"> + <fo:block xsl:use-attribute-sets="speakernotes.properties"> + <xsl:apply-templates/> + </fo:block> +</xsl:template> + +<xsl:template match="dbs:block"> + <xsl:apply-templates/> +</xsl:template> + +<xsl:template name="generate.footer"> +<fo:block xsl:use-attribute-sets="foil.footer.properties"> + <fo:table> + <fo:table-column column-number="1" column-width="33%"/> + <fo:table-column column-number="2" column-width="34%"/> + <fo:table-column column-number="3" column-width="33%"/> + + <fo:table-body> + <fo:table-row height="14pt"> + <fo:table-cell text-align="left"> + <xsl:call-template name="footer.left"/> + </fo:table-cell> + + <fo:table-cell text-align="center"> + <xsl:call-template name="footer.center"/> + </fo:table-cell> + + <fo:table-cell text-align="right"> + <xsl:call-template name="footer.right"/> + </fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> +</fo:block> +</xsl:template> + +<xsl:template name="footer.left"> + <fo:block/> +</xsl:template> + +<xsl:template name="footer.center"> + <xsl:if test="($generate.copyright != 0) and /dbs:slides/db:info/db:copyright"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:text>©</xsl:text> + <xsl:call-template name="gentext.space"/> + <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:year"/> + <xsl:call-template name="gentext.space"/> + <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:holder"/> + </fo:block> + </xsl:if> + + <xsl:if test="($generate.pubdate != 0) and /dbs:slides/db:info/db:pubdate"> + <xsl:call-template name="slide.pubdate"/> + </xsl:if> +</xsl:template> + +<xsl:template name="footer.right"> + <fo:block> + <xsl:if test="$generate.page.number != 'no'"> + <fo:page-number/> + </xsl:if> + + <xsl:if test="$generate.page.number = 'full'"> + <xsl:text> / </xsl:text> + <fo:page-number-citation> + <xsl:attribute name="ref-id"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="(//dbs:foilgroup|//dbs:foil)[last()]"/> + </xsl:call-template> + </xsl:attribute> + </fo:page-number-citation> + </xsl:if> + </fo:block> +</xsl:template> + +<xsl:template name="slide.pubdate"> + <fo:block> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Published'"/> + </xsl:call-template> + <xsl:text>: </xsl:text> + <xsl:value-of select="/dbs:slides/db:info/db:pubdate"/> + </fo:block> +</xsl:template> + +<xsl:template name="foilgroup.generate.toc"> + <xsl:choose> + <xsl:when test="$generate.foilgroup.numbered.toc != 0"> + <fo:list-block xsl:use-attribute-sets="list.block.spacing orderedlist.properties"> + <xsl:for-each select="./dbs:foil"> + <fo:list-item xsl:use-attribute-sets="list.item.spacing"> + <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="orderedlist.label.properties"> + <fo:block> + <xsl:value-of select="position()"/> + </fo:block> + </fo:list-item-label> + + <fo:list-item-body start-indent="body-start()"> + <fo:block> + <xsl:call-template name="get.title"/> + </fo:block> + </fo:list-item-body> + </fo:list-item> + </xsl:for-each> + </fo:list-block> + </xsl:when> + + <xsl:otherwise> + <fo:list-block xsl:use-attribute-sets="list.block.spacing itemizedlist.properties"> + <xsl:for-each select="./dbs:foil"> + <fo:list-item xsl:use-attribute-sets="list.item.spacing"> + <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="itemizedlist.label.properties"> + <fo:block> + <xsl:call-template name="itemizedlist.label.markup"> + <xsl:with-param name="itemsymbol"> + <xsl:call-template name="list.itemsymbol"/> + </xsl:with-param> + </xsl:call-template> + </fo:block> + </fo:list-item-label> + + <fo:list-item-body start-indent="body-start()"> + <fo:block> + <xsl:call-template name="get.title"/> + </fo:block> + </fo:list-item-body> + </fo:list-item> + </xsl:for-each> + </fo:list-block> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*[namespace-uri() = 'http://www.w3.org/2000/svg']"> + <xsl:call-template name="handle.embedded"> + <xsl:with-param name="modeParam" select="$svg.embedding.mode"/> + <xsl:with-param name="fileExt" select="'.svg'"/> + </xsl:call-template> +</xsl:template> + +<xsl:template match="*[namespace-uri() = 'http://www.w3.org/1998/Math/MathML']"> + <xsl:call-template name="handle.embedded"> + <xsl:with-param name="modeParam" select="$mml.embedding.mode"/> + <xsl:with-param name="fileExt" select="'.mml'"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="handle.embedded"> + <xsl:param name="modeParam">inline</xsl:param> + <xsl:param name="fileExt"/> + + <xsl:choose> + <xsl:when test="$modeParam = 'inline'"> + <xsl:copy-of select="."/> + </xsl:when> + + <xsl:when test="$modeParam = 'instream-foreign-object'"> + <fo:instream-foreign-object> + <xsl:copy-of select="."/> + </fo:instream-foreign-object> + </xsl:when> + + <xsl:otherwise> + <xsl:variable name="id"> + <xsl:call-template name="object.id"/> + </xsl:variable> + <xsl:variable name="fname"> + <xsl:value-of select="concat($id, $fileExt)"/> + </xsl:variable> + <xsl:variable name="prefix">url('</xsl:variable> + <xsl:variable name="suffix">')</xsl:variable> + <xsl:variable name="file.uri"> + <xsl:value-of select="concat($prefix, $fname, $suffix)"/> + </xsl:variable> + + <exsl:document href="{$fname}"> + <xsl:copy-of select="."/> + + <xsl:fallback> + <xsl:message terminate="yes"> + Your XSLT processor does not support exsl:document. + You can only use inline SVG images. + </xsl:message> + </xsl:fallback> + </exsl:document> + + <xsl:choose> + <xsl:when test="$modeParam = 'external-graphic'"> + <fo:external-graphic src="{$file.uri}"/> + </xsl:when> + + <xsl:otherwise> + <xsl:message terminate="yes"> + Unknown processing mode <xsl:value-of select="$modeParam"/>. + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="dbs:foil|dbs:foilgroup" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + </xsl:apply-templates> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.png new file mode 100644 index 0000000000..3d02a32d72 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.svg new file mode 100644 index 0000000000..bb71eb03fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/1.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">1</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.png new file mode 100644 index 0000000000..a0bd8b6a15 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.svg new file mode 100644 index 0000000000..03268e130a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/10.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">10</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.png new file mode 100644 index 0000000000..c08a9ee087 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.svg new file mode 100644 index 0000000000..523d26516e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/11.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">11</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.png new file mode 100644 index 0000000000..660344736f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.svg new file mode 100644 index 0000000000..4419da3633 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/12.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">12</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.png new file mode 100644 index 0000000000..d6db3b006f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.svg new file mode 100644 index 0000000000..01dded5022 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/13.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">13</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.png new file mode 100644 index 0000000000..5d6c89971f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.svg new file mode 100644 index 0000000000..de2b624e7a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/14.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">14</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.png new file mode 100644 index 0000000000..ef8b5f50c4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.svg new file mode 100644 index 0000000000..4df779f34a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/15.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">15</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.png new file mode 100644 index 0000000000..6a63d66ee4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.svg new file mode 100644 index 0000000000..c3557199f6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/16.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">16</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.png new file mode 100644 index 0000000000..1efe6395b7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.svg new file mode 100644 index 0000000000..62a3b5cda1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/17.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">17</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.png new file mode 100644 index 0000000000..486ccbf4fd Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.svg new file mode 100644 index 0000000000..535bc8f468 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/18.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">18</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.png new file mode 100644 index 0000000000..d8bca82583 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.svg new file mode 100644 index 0000000000..688b325e80 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/19.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">19</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.png new file mode 100644 index 0000000000..1a77a868c5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.svg new file mode 100644 index 0000000000..23c8558fac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/2.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">2</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.png new file mode 100644 index 0000000000..6d5376886d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.svg new file mode 100644 index 0000000000..aacc3b38dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/20.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">20</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.png new file mode 100644 index 0000000000..2384215d50 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.svg new file mode 100644 index 0000000000..d928558a3e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/21.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">21</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.png new file mode 100644 index 0000000000..717ae94a19 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.svg new file mode 100644 index 0000000000..8eec99e986 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/22.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">22</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.png new file mode 100644 index 0000000000..8edfe8a0dc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.svg new file mode 100644 index 0000000000..4e6d1a178b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/23.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">23</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.png new file mode 100644 index 0000000000..93f7d8ad7d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.svg new file mode 100644 index 0000000000..82a817dd9a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/24.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">24</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.png new file mode 100644 index 0000000000..724ccfe555 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.svg new file mode 100644 index 0000000000..0cba41c478 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/25.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">25</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.png new file mode 100644 index 0000000000..9190642cd7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.svg new file mode 100644 index 0000000000..5dcaf77e57 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/26.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">26</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.png new file mode 100644 index 0000000000..4103d55276 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.svg new file mode 100644 index 0000000000..fe86e865a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/27.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">27</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.png new file mode 100644 index 0000000000..7f092006bb Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.svg new file mode 100644 index 0000000000..e9e3fb7911 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/28.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">28</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.png new file mode 100644 index 0000000000..8e6646f2ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.svg new file mode 100644 index 0000000000..d1ae0a09c0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/29.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">29</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.png new file mode 100644 index 0000000000..7728b4d5c9 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.svg new file mode 100644 index 0000000000..78d8b29b8e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/3.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">3</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.png new file mode 100644 index 0000000000..460c1c33f1 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.svg new file mode 100644 index 0000000000..20a6e0af26 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/30.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">30</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.png new file mode 100644 index 0000000000..d4702fd7ed Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.svg new file mode 100644 index 0000000000..fa625a7b86 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/4.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">4</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.png new file mode 100644 index 0000000000..f44526ca50 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.svg new file mode 100644 index 0000000000..2a2f976161 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/5.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">5</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.png new file mode 100644 index 0000000000..4105338abf Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.svg new file mode 100644 index 0000000000..3fced48e2c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/6.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">6</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.png new file mode 100644 index 0000000000..d56a240e09 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.svg new file mode 100644 index 0000000000..0cc4191d87 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/7.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">7</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.png new file mode 100644 index 0000000000..6715b4a060 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.svg new file mode 100644 index 0000000000..c80281c623 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/8.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">8</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.png b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.png new file mode 100644 index 0000000000..59c7fa62f2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.svg b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.svg new file mode 100644 index 0000000000..6a71f9d6fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/9.svg @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="24" height="24"> + <text x="0" y="5">9</text> +</svg> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/gen.sh b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/gen.sh new file mode 100755 index 0000000000..954a805c9b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/images/callouts/gen.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +# $FreeBSD$ + +# +# This script was taken from FreeBSD. +# +# It uses ImageMagick to generate callout icons. +# + +for i in `jot 9 1` +do + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg +done + +for i in `jot 21 10` +do + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png + convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg +done + +exit 0 diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/face1.gif b/apache-fop/src/test/resources/docbook-xsl/slides/images/face1.gif new file mode 100755 index 0000000000..04e50cd797 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/face1.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/face2.gif b/apache-fop/src/test/resources/docbook-xsl/slides/images/face2.gif new file mode 100755 index 0000000000..12d824003f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/face2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/face3.gif b/apache-fop/src/test/resources/docbook-xsl/slides/images/face3.gif new file mode 100755 index 0000000000..ac6e5e4408 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/face3.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/images/face4.gif b/apache-fop/src/test/resources/docbook-xsl/slides/images/face4.gif new file mode 100755 index 0000000000..3f687402ab Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/images/face4.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/locatingrules.xml b/apache-fop/src/test/resources/docbook-xsl/slides/locatingrules.xml new file mode 100644 index 0000000000..cbfc9d4d93 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/locatingrules.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<!-- $Id: locatingrules.xml 9639 2012-10-22 18:41:00Z stefan $ --> + + +<!-- This is a schema-locating file for use with a RELAX NG-aware editor --> +<!-- such as Emacs/nXML mode. It tells your editor to automatically --> +<!-- associate a document with an RNC schema file, based on the name of --> +<!-- the root element of the document --> + +<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0"> + <namespace ns="http://docbook.org/ns/docbook-slides" uri="schema/relaxng/slides.rnc"/> + <documentElement localName="slides" uri="schema/relaxng/slides.rnc"/> + + <namespace ns="http://docbook.org/ns/docbook" uri="schema/relaxng/docbook.rnc"/> +</locatingRules> + +<!-- To use this file with Emacs/nXML mode, either: --> + +<!-- - do M-x customize-variable rng-schema-locating-files --> +<!-- and then add the absolute path to this file there --> + +<!-- OR --> + +<!-- - put the following into your .emacs file: --> + +<!-- (setq rng-schema-locating-files --> +<!-- (append --> +<!-- '("~/docbook-slides/locatingrules.xml"))) --> + +<!-- Of course, replace the ~/docbook-slides/locatingrules.xml --> +<!-- pathname with the appropriate location for your system. --> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-osf.html b/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-osf.html new file mode 100755 index 0000000000..abe5e85167 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-osf.html @@ -0,0 +1,200 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title>S5: An Introduction + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    + +
    + +
    +

    S5 Testbed

    +

    Eric A. Meyer

    +

    Complex Spiral Consulting

    +
    +
    + + +
    +

    What Is S5?

    +
      +
    • It's a Simple Standards-based Slide Show System
    • +
    • One XHTML document provides all of the slide show's content
    • +
    • CSS handles the layout and look of the slides
    • +
    • JavaScript handles the dynamic aspects of the show
    • +
    • That's all there is to it! (skip to summary; demonstrates links internal to the slide show)
    • +
    + +
    +
      +
    • I have notes here!
    • +
    • Keen.
    • +
    • Remember to tell people that notes are a new feature in 1.2
    • +
    +
    + +
    + + +
    +

    Operatic Origins

    +
      +
    • Opera 4 introduced Opera Show, a projection-mode style sheet technology (link demonstrates external link styling and window spawning)
    • +
    • Allows a single XHTML document to be turned into a PowerPoint-like slide show
    • +
    • Adding screen and print style sheets allows for multi-medium views of a single document
    • +
    • Highly efficient, but highly browser centric...
    • +
    + +
    +
      +
    • S5 and OperaShow diverged greatly in S5 1.1
    • +
    • S5 1.2 should (we hope) bring them into harmony once more
    • +
    +
    + +
    + + +
    +

    Incremental Display

    +
      +
    • Keep hitting/clicking "next" as long as it isn't the control link (»)
    • +
    • Bullet points are revealed one by one +
        +
      • All based on class name of inc
      • +
      • Lists can be classed to make items appear individually
      • +
      • Individual items can be classed as well to create "animations"; see Derek Featherstone's example
      • +
      +
    • +
    • Let's try it again, but without the first bullet point being pre-highlighted...
    • +
    +
    + + +
    +

    Incremental Display II

    +
      +
    • Keep hitting/clicking "next" as long as it isn't the control link (»)
    • +
    • Bullet points are revealed one by one +
        +
      • All based on class name of incremental
      • +
      • Lists can be classed to make items appear individually
      • +
      • Individual items can be classed as well to create "animations"; see Derek Featherstone's example
      • +
      +
    • +
    • Notice how the sub-list was part of the parent bullet point; that was done on purpose
    • +
    • Now to move on to other test slides!
    • +
    +
    + + +
    +

    PNG Alpha Tests

    +
    +

    DIV with PNG background followed by foreground PNG

    + +
    +
    +

    DIV with PNG background followed by foreground PNG

    + +
    +
    + +
    +

    S5 Default File Structure

    +

    + +

    +
    + + +
    +

    S5 Themes

    +

    + + + + +(one way of presenting multiple graphics) +

    +
    + + +
    +

    Incremental S5 Themes

    +

    + + + + +(one by one!) +

    +
    + + +
    +

    Incremental Animation

    +
      +
    • A demonstration of just one of the many ways to accomplish simple animation-like effects (using a diagram from "XFN and...")
    • +
    +

    + + + + + +

    +
    + + +
    +

    In Summary

    +
      +
    • With minimal scripting, we have recreated and improved upon a (currently) browser-specific technology, making it cross-browser in the process
    • +
    • The S5 format is OSF 1.0 compatible
    • +
    • S5 is a very flexible and lightweight slide show system available for anyone to use
    • +
    +
    + +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-xoxo.html b/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-xoxo.html new file mode 100755 index 0000000000..4ca9fbcd7e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/index-xoxo.html @@ -0,0 +1,201 @@ + + + + + +S5: An Introduction + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + +
    + +
      + +
    1. +

      S5 Testbed

      +

      Eric A. Meyer

      +

      Complex Spiral Consulting

      +
      +
    2. + + +
    3. +

      What Is S5?

      +
        +
      • It's a Simple Standards-based Slide Show System
      • +
      • One XHTML document provides all of the slide show's content
      • +
      • CSS handles the layout and look of the slides
      • +
      • JavaScript handles the dynamic aspects of the show
      • +
      • That's all there is to it! (skip to summary; demonstrates links internal to the slide show)
      • +
      + +
      +
        +
      • I have notes here!
      • +
      • Keen.
      • +
      • Remember to tell people that notes are a new feature in 1.2
      • +
      +
      + +
    4. + + +
    5. +

      Operatic Origins

      +
        +
      • Opera 4 introduced Opera Show, a projection-mode style sheet technology (link demonstrates external link styling and window spawning)
      • +
      • Allows a single XHTML document to be turned into a PowerPoint-like slide show
      • +
      • Adding screen and print style sheets allows for multi-medium views of a single document
      • +
      • Highly efficient, but highly browser centric...
      • +
      + +
      +
        +
      • S5 and OperaShow diverged greatly in S5 1.1
      • +
      • S5 1.2 should (we hope) bring them into harmony once more
      • +
      +
      + +
    6. + + +
    7. +

      Incremental Display

      +
        +
      • Keep hitting/clicking "next" as long as it isn't the control link (»)
      • +
      • Bullet points are revealed one by one +
          +
        • All based on class name of inc
        • +
        • Lists can be classed to make items appear individually
        • +
        • Individual items can be classed as well to create "animations"; see Derek Featherstone's example
        • +
        +
      • +
      • Let's try it again, but without the first bullet point being pre-highlighted...
      • +
      +
    8. + + +
    9. +

      Incremental Display II

      +
        +
      • Keep hitting/clicking "next" as long as it isn't the control link (»)
      • +
      • Bullet points are revealed one by one +
          +
        • All based on class name of incremental
        • +
        • Lists can be classed to make items appear individually
        • +
        • Individual items can be classed as well to create "animations"; see Derek Featherstone's example
        • +
        +
      • +
      • Notice how the sub-list was part of the parent bullet point; that was done on purpose
      • +
      • Now to move on to other test slides!
      • +
      +
    10. + + +
    11. +

      PNG Alpha Tests

      +
      +

      DIV with PNG background followed by foreground PNG

      + +
      +
      +

      DIV with PNG background followed by foreground PNG

      + +
      +
    12. + + +
    13. +

      S5 Default File Structure

      +

      + +

      +
    14. + + +
    15. +

      S5 Themes

      +

      + + + + +(one way of presenting multiple graphics) +

      +
    16. + + +
    17. +

      Incremental S5 Themes

      +

      + + + + +(one by one!) +

      +
    18. + + +
    19. +

      Incremental Animation

      +
        +
      • A demonstration of just one of the many ways to accomplish simple animation-like effects (using a diagram from "XFN and...")
      • +
      +

      + + + + + +

      +
    20. + + +
    21. +

      In Summary

      +
        +
      • With minimal scripting, we have recreated and improved upon a (currently) browser-specific technology, making it cross-browser in the process
      • +
      • The S5 format is OSF 1.0 compatible
      • +
      • S5 is a very flexible and lightweight slide show system available for anyone to use
      • +
      +
    22. + +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S501.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S501.jpg new file mode 100755 index 0000000000..102f955274 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S501.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S502.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S502.jpg new file mode 100755 index 0000000000..1ae9f5ddc3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S502.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S503.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S503.jpg new file mode 100755 index 0000000000..6daddb3943 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S503.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S504.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S504.jpg new file mode 100755 index 0000000000..782f620288 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/S504.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe01.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe01.png new file mode 100755 index 0000000000..8c0730fc63 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe01.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe02.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe02.png new file mode 100755 index 0000000000..90ff451d49 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe02.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe03.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe03.png new file mode 100755 index 0000000000..2256b062ca Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe03.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe04.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe04.png new file mode 100755 index 0000000000..5b079ccc93 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe04.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe05.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe05.png new file mode 100755 index 0000000000..f32b699303 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/mememe05.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/s5filemap.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/s5filemap.png new file mode 100755 index 0000000000..5d9201fbe4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/pix/s5filemap.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/bg-shade.png b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/bg-shade.png new file mode 100755 index 0000000000..172c914f6f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/bg-shade.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/blank.gif b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/blank.gif new file mode 100755 index 0000000000..75b945d255 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/blank.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/bodybg.gif b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/bodybg.gif new file mode 100755 index 0000000000..5f448a16fe Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/bodybg.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/framing.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/framing.css new file mode 100755 index 0000000000..2a27dafbc8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/framing.css @@ -0,0 +1,22 @@ +/* The following styles size, place, and layer the slide components. + Edit these if you want to change the overall slide layout. + The commented lines can be uncommented (and modified, if necessary) + to help you with the rearrangement process. */ + +/* target = 1024x768 */ + +div#header, div#footer, .slide {width: 100%; top: 0; left: 0;} +div#header {top: 0; height: 3em; z-index: 1;} +div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;} +.slide {top: 0; width: 92%; padding: 3.5em 4% 4%; z-index: 2; list-style: none;} +div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;} +div#controls form {text-align: right; width: 100%; margin: 0;} +#currentSlide {position: absolute; width: 10%; left: 45%; bottom: 1em; z-index: 10;} +html>body #currentSlide {position: fixed;} + +/* +div#header {background: #FCC;} +div#footer {background: #CCF;} +div#controls {background: #BBD;} +div#currentSlide {background: #FFC;} +*/ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/iepngfix.htc b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/iepngfix.htc new file mode 100755 index 0000000000..bba2db7562 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/iepngfix.htc @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/notes.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/notes.css new file mode 100755 index 0000000000..5858cf2bc3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/notes.css @@ -0,0 +1,122 @@ +/* Following are the note styles -- edit away! */ + +body { + margin: 0; + padding: 1.0em; + background: #333; + color: #FFF; + font: 2em/1.4em 'Lucida Grande', Verdana, sans-serif; +} + +div.timers { + background: #FFF; + color: #333; + border: 0.08em solid #222; + border-top-width: 1px; + border-left-width: 1px; + float: left; + padding: 0.2em; + margin: 0 0 0.5em; + position: relative; +} + +div.timers h1 { + text-align: left; + font-size: 0.6em; + line-height: 1.4em; + background-color: #FF9; + padding: 0 0.75em; + margin: 0.25em 0 0; + border: 1px solid #EE8; +} + +div.timers div.controls { + position: absolute; + right: 0.25em; + top: 0.1em; + line-height: 1em; +} + +div.timers h1 a { + text-decoration: none; + color: #000; +} + +div.timers div.controls a { + font-size: 0.5em; + padding: 0; + color: #330; +} + +div.timers a.control { + position: absolute; + text-decoration: none; + padding: 0 0.25em; + color: #AAA; + outline: 0; +} + +#minus { + left: 0.25em; +} + +#plus { + right: 0.25em; +} + +.overtime { + background: yellow; + color: red; + border: 3px solid; + padding: 0.1em 0.25em; + font-weight: bold; +} + +div.timers h2 { + font-size: 0.6em; + line-height: 1.0em; + font-weight: normal; + margin: 0 0 -0.25em; + padding-top: 0.5em; + color: #666; +} + +div.timers p {margin: 0; padding: 0 0.5em;} +div.timers form {margin: 0;} + +div.timers span.clock { + font-family: monospace; +} + +div.timers ul {margin: 0; padding: 0; list-style: none;} +div.timers li {float: left; width: 5em; margin: 0; padding: 0 0.5em; + text-align: center;} + +div#elapsed {width: 12.1em;} +div#remaining {clear: left; width: 12.1em;} +div#remaining p {text-align: center;} + +#slide, +#next, +#notes, +#nextnotes { + font-size: 0.75em; + line-height: 1.4em; + clear: left; +/* max-width: 30.0em; */ + text-shadow: 0.1em 0.1em 0.1em #111; +} + +#next {margin-top: 2.5em;} +#next, #nextnotes { + color: #999; + font-size: 0.66em; +} + +em.disclaimer { + color: #666; +} + +div.collapsed h1 {display: block; font-size: 0.33em;} +div.collapsed h1 a {display: inline;} +div.collapsed * {display: none;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/opera.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/opera.css new file mode 100755 index 0000000000..9e9d2a3c51 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/opera.css @@ -0,0 +1,7 @@ +/* DO NOT CHANGE THESE unless you really want to break Opera Show */ +.slide { + visibility: visible !important; + position: static !important; + page-break-before: always; +} +#slide0 {page-break-before: avoid;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/outline.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/outline.css new file mode 100755 index 0000000000..62db519ed9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/outline.css @@ -0,0 +1,15 @@ +/* don't change this unless you want the layout stuff to show up in the outline view! */ + +.layout div, #footer *, #controlForm * {display: none;} +#footer, #controls, #controlForm, #navLinks, #toggle { + display: block; visibility: visible; margin: 0; padding: 0;} +#toggle {float: right; padding: 0.5em;} +html>body #toggle {position: fixed; top: 0; right: 0;} + +/* making the outline look pretty-ish */ + +#slide0 h1, #slide0 h2, #slide0 h3, #slide0 h4 {border: none; margin: 0;} +#slide0 h1 {padding-top: 1.5em;} +.slide h1 {margin: 1.5em 0 0; padding-top: 0.25em; + border-top: 1px solid #888; border-bottom: 1px solid #AAA;} +#toggle {border: 1px solid; border-width: 0 0 1px 1px; background: #FFF;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/pretty.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/pretty.css new file mode 100755 index 0000000000..838a7cf8d4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/pretty.css @@ -0,0 +1,82 @@ +/* Following are the presentation styles -- edit away! */ + +body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2.25em;} +:link, :visited {text-decoration: none; color: #00C;} +#controls :active {color: #88A !important;} +#controls :focus {outline: 1px dotted #227;} +h1, h2, h3, h4 {font-size: 100%; margin: 0; padding: 0; font-weight: inherit;} +ul, pre {margin: 0; line-height: 1em;} +html, body {margin: 0; padding: 0;} + +blockquote, q {font-style: italic;} +blockquote {padding: 0 2em 0.5em; margin: 0 1.5em 0.5em; text-align: center; font-size: 1em;} +blockquote p {margin: 0;} +blockquote i {font-style: normal;} +blockquote b {display: block; margin-top: 0.5em; font-weight: normal; font-size: smaller; font-style: normal;} +blockquote b i {font-style: italic;} + +kbd {font-weight: bold; font-size: 1em;} +sup {font-size: smaller; line-height: 1px;} + +.slide code {padding: 2px 0.25em; font-weight: bold; color: #533;} +.slide code.bad, code del {color: red;} +.slide code.old {color: silver;} +.slide pre {padding: 0; margin: 0.25em 0 0.5em 0.5em; color: #533; font-size: 90%;} +.slide pre code {display: block;} +.slide ul {margin-left: 5%; margin-right: 7%; list-style: disc;} +.slide li {margin-top: 0.75em; margin-right: 0;} +.slide ul ul {line-height: 1;} +.slide ul ul li {margin: .2em; font-size: 85%; list-style: square;} +.slide img.leader {display: block; margin: 0 auto;} + +div#header, div#footer {background: #005; color: #AAB; + font-family: Verdana, Helvetica, sans-serif;} +div#header {background: #005 url(bodybg.gif) -16px 0 no-repeat; + line-height: 1px;} +div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;} +#footer h1, #footer h2 {display: block; padding: 0 1em;} +#footer h2 {font-style: italic;} + +div.long {font-size: 0.75em;} +.slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1; + margin: 0; padding: 0.3em 0 0 50px; white-space: nowrap; + font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize; + color: #DDE; background: #005;} +.slide h3 {font-size: 130%;} +h1 abbr {font-variant: small-caps;} + +div#controls {position: absolute; left: 60%; bottom: 0; + width: 40%; + text-align: right; font: bold 0.9em Verdana, Helvetica, sans-serif;} +html>body div#controls {position: fixed; padding: 0; top: auto;} +#controls #navLinks a {padding: 0; margin: 0 0.5em; + background: #005; border: none; color: #779; + cursor: pointer;} +#controls #navList #jumplist {background: #DDD; color: #227;} + +#currentSlide {text-align: center; font-size: 0.5em; color: #449;} + +#slide0 {padding-top: 3.5em; font-size: 90%;} +#slide0 h1 {position: static; margin: 1em 0 0; padding: 0; + font: bold 2em Helvetica, sans-serif; white-space: normal; + color: #000; background: transparent;} +#slide0 h2 {font: bold italic 1em Helvetica, sans-serif; margin: 0.25em;} +#slide0 h3 {margin-top: 1.5em; font-size: 1.5em;} +#slide0 h4 {margin-top: 0; font-size: 1em;} + +ul.urls {list-style: none; display: inline; margin: 0;} +.urls li {display: inline; margin: 0;} +.note {display: none;} +.external {border-bottom: 1px dotted gray;} +html>body .external {border-bottom: none;} +.external:after {content: " \274F"; font-size: smaller; color: #77B;} + +.incremental, .incremental *, .incremental *:after {color: #DDE; visibility: visible;} +img.incremental {visibility: hidden;} +.slide .current {color: #B02;} + + +/* diagnostics + +li:after {content: " [" attr(class) "]"; color: #F88;} + */ \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/print.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/print.css new file mode 100755 index 0000000000..4a3554ddd1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/print.css @@ -0,0 +1,24 @@ +/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */ +.slide, ul {page-break-inside: avoid; visibility: visible !important;} +h1 {page-break-after: avoid;} + +body {font-size: 12pt; background: white;} +* {color: black;} + +#slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;} +#slide0 h3 {margin: 0; padding: 0;} +#slide0 h4 {margin: 0 0 0.5em; padding: 0;} +#slide0 {margin-bottom: 3em;} + +h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;} +.extra {background: transparent !important;} +div.extra, pre.extra, .example {font-size: 10pt; color: #333;} +ul.extra a {font-weight: bold;} +p.example {display: none;} + +#header {display: none;} +#footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;} +#footer h2, #controls {display: none;} + +/* The following rule keeps the layout stuff out of print. Remove at your own risk! */ +.layout, .layout * {display: none !important;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/s5-core.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/s5-core.css new file mode 100755 index 0000000000..ad1530b9c1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/s5-core.css @@ -0,0 +1,9 @@ +/* Do not edit or override these styles! The system will likely break if you do. */ + +div#header, div#footer, div#controls, .slide {position: absolute;} +html>body div#header, html>body div#footer, + html>body div#controls, html>body .slide {position: fixed;} +.handout, .notes {display: none;} +.layout {display: block;} +.slide, .hideme, .incremental {visibility: hidden;} +#slide0 {visibility: visible;} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.css b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.css new file mode 100755 index 0000000000..0786d7dbd5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.css @@ -0,0 +1,3 @@ +@import url(s5-core.css); /* required to make the slide show run at all */ +@import url(framing.css); /* sets basic placement and size of slide components */ +@import url(pretty.css); /* stuff that makes the slides look better than blah */ \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.js b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.js new file mode 100755 index 0000000000..ab2a4b2004 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/s5/ui/default/slides.js @@ -0,0 +1,764 @@ +// S5 v1.2a1 slides.js -- released into the Public Domain +// +// Please see http://www.meyerweb.com/eric/tools/s5/credits.html for information +// about all the wonderful and talented contributors to this code! + +var undef; +var slideCSS = ''; +var snum = 0; +var smax = 1; +var incpos = 0; +var number = undef; +var s5mode = true; +var defaultView = 'slideshow'; +var controlVis = 'visible'; + +var s5NotesWindow; +var s5NotesWindowLoaded = false; +var previousSlide = 0; +var presentationStart = new Date(); +var slideStart = new Date(); + +var countdown = { + timer: 0, + state: 'pause', + start: new Date(), + end: 0, + remaining: 0 +}; + + +var isIE = navigator.appName == 'Microsoft Internet Explorer' && navigator.userAgent.indexOf('Opera') < 1 ? 1 : 0; +var isOp = navigator.userAgent.indexOf('Opera') > -1 ? 1 : 0; +var isGe = navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('Safari') < 1 ? 1 : 0; + +function hasClass(object, className) { + if (!object.className) return false; + return (object.className.search('(^|\\s)' + className + '(\\s|$)') != -1); +} + +function hasValue(object, value) { + if (!object) return false; + return (object.search('(^|\\s)' + value + '(\\s|$)') != -1); +} + +function removeClass(object,className) { + if (!object || !hasClass(object,className)) return; + object.className = object.className.replace(new RegExp('(^|\\s)'+className+'(\\s|$)'), RegExp.$1+RegExp.$2); +} + +function addClass(object,className) { + if (!object || hasClass(object, className)) return; + if (object.className) { + object.className += ' '+className; + } else { + object.className = className; + } +} + +function GetElementsWithClassName(elementName,className) { + var allElements = document.getElementsByTagName(elementName); + var elemColl = new Array(); + for (var i = 0; i< allElements.length; i++) { + if (hasClass(allElements[i], className)) { + elemColl[elemColl.length] = allElements[i]; + } + } + return elemColl; +} + +function isParentOrSelf(element, id) { + if (element == null || element.nodeName=='BODY') return false; + else if (element.id == id) return true; + else return isParentOrSelf(element.parentNode, id); +} + +function nodeValue(node) { + var result = ""; + if (node.nodeType == 1) { + var children = node.childNodes; + for (var i = 0; i < children.length; ++i) { + result += nodeValue(children[i]); + } + } + else if (node.nodeType == 3) { + result = node.nodeValue; + } + return(result); +} + +function slideLabel() { + var slideColl = GetElementsWithClassName('*','slide'); + var list = document.getElementById('jumplist'); + smax = slideColl.length; + for (var n = 0; n < smax; n++) { + var obj = slideColl[n]; + + var did = 'slide' + n.toString(); + obj.setAttribute('id',did); + +// if (isOp) continue; // Opera fix (hallvord) + + var otext = ''; + var menu = obj.firstChild; + if (!menu) continue; // to cope with empty slides + while (menu && menu.nodeType == 3) { + menu = menu.nextSibling; + } + if (!menu) continue; // to cope with slides with only text nodes + + var menunodes = menu.childNodes; + for (var o = 0; o < menunodes.length; o++) { + otext += nodeValue(menunodes[o]); + } + list.options[list.length] = new Option(n + ' : ' + otext, n); + } +} + +function currentSlide() { + var cs; + if (document.getElementById) { + cs = document.getElementById('currentSlide'); + } else { + cs = document.currentSlide; + } + cs.innerHTML = '' + + '' + snum + '<\/span> ' + + '\/<\/span> ' + + '' + (smax-1) + '<\/span>' + + '<\/a>' + ; + if (snum == 0) { + cs.style.visibility = 'hidden'; + } else { + cs.style.visibility = 'visible'; + } +} + +function go(step) { + if (document.getElementById('slideProj').disabled || step == 0) return; + var jl = document.getElementById('jumplist'); + var cid = 'slide' + snum; + var ce = document.getElementById(cid); + if (incrementals[snum].length > 0) { + for (var i = 0; i < incrementals[snum].length; i++) { + removeClass(incrementals[snum][i], 'current'); + removeClass(incrementals[snum][i], 'incremental'); + } + } + if (step != 'j') { + snum += step; + lmax = smax - 1; + if (snum > lmax) snum = lmax; + if (snum < 0) snum = 0; + } else + snum = parseInt(jl.value); + var nid = 'slide' + snum; + var ne = document.getElementById(nid); + if (!ne) { + ne = document.getElementById('slide0'); + snum = 0; + } + if (step < 0) {incpos = incrementals[snum].length} else {incpos = 0;} + if (incrementals[snum].length > 0 && incpos == 0) { + for (var i = 0; i < incrementals[snum].length; i++) { + if (hasClass(incrementals[snum][i], 'current')) + incpos = i + 1; + else + addClass(incrementals[snum][i], 'incremental'); + } + } + if (incrementals[snum].length > 0 && incpos > 0) + addClass(incrementals[snum][incpos - 1], 'current'); + if (isOp) { //hallvord + location.hash = nid; + } else { + ce.style.visibility = 'hidden'; + ne.style.visibility = 'visible'; + } // /hallvord + jl.selectedIndex = snum; + currentSlide(); + loadNote(); + permaLink(); + number = undef; +} + +function goTo(target) { + if (target >= smax || target == snum) return; + go(target - snum); +} + +function subgo(step) { + if (step > 0) { + removeClass(incrementals[snum][incpos - 1],'current'); + removeClass(incrementals[snum][incpos], 'incremental'); + addClass(incrementals[snum][incpos],'current'); + incpos++; + } else { + incpos--; + removeClass(incrementals[snum][incpos],'current'); + addClass(incrementals[snum][incpos], 'incremental'); + addClass(incrementals[snum][incpos - 1],'current'); + } + loadNote(); +} + +function toggle() { + var slideColl = GetElementsWithClassName('*','slide'); + var slides = document.getElementById('slideProj'); + var outline = document.getElementById('outlineStyle'); + if (!slides.disabled) { + slides.disabled = true; + outline.disabled = false; + s5mode = false; + fontSize('1em'); + for (var n = 0; n < smax; n++) { + var slide = slideColl[n]; + slide.style.visibility = 'visible'; + } + } else { + slides.disabled = false; + outline.disabled = true; + s5mode = true; + fontScale(); + for (var n = 0; n < smax; n++) { + var slide = slideColl[n]; + slide.style.visibility = 'hidden'; + } + slideColl[snum].style.visibility = 'visible'; + } +} + +function showHide(action) { + var obj = GetElementsWithClassName('*','hideme')[0]; + switch (action) { + case 's': obj.style.visibility = 'visible'; break; + case 'h': obj.style.visibility = 'hidden'; break; + case 'k': + if (obj.style.visibility != 'visible') { + obj.style.visibility = 'visible'; + } else { + obj.style.visibility = 'hidden'; + } + break; + } +} + +// 'keys' code adapted from MozPoint (http://mozpoint.mozdev.org/) +function keys(key) { + if (!key) { + key = event; + key.which = key.keyCode; + } + if (key.which == 84) { + toggle(); + return; + } + if (s5mode) { + switch (key.which) { + case 10: // return + case 13: // enter + if (window.event && isParentOrSelf(window.event.srcElement, 'controls')) return; + if (key.target && isParentOrSelf(key.target, 'controls')) return; + if(number != undef) { + goTo(number); + break; + } + case 32: // spacebar + case 34: // page down + case 39: // rightkey + case 40: // downkey + if(number != undef) { + go(number); + } else if (!incrementals[snum] || incpos >= incrementals[snum].length) { + go(1); + } else { + subgo(1); + } + break; + case 33: // page up + case 37: // leftkey + case 38: // upkey + if(number != undef) { + go(-1 * number); + } else if (!incrementals[snum] || incpos <= 0) { + go(-1); + } else { + subgo(-1); + } + break; + case 36: // home + goTo(0); + break; + case 35: // end + goTo(smax-1); + break; + case 67: // c + showHide('k'); + break; + case 78: // n + createNotesWindow(); + break; + } + if (key.which < 48 || key.which > 57) { + number = undef; + } else { + if (window.event && isParentOrSelf(window.event.srcElement, 'controls')) return; + if (key.target && isParentOrSelf(key.target, 'controls')) return; + number = (((number != undef) ? number : 0) * 10) + (key.which - 48); + } + } + return false; +} + +function clicker(e) { + number = undef; + var target; + if (window.event) { + target = window.event.srcElement; + e = window.event; + } else target = e.target; + if (target.href != null || hasValue(target.rel, 'external') || isParentOrSelf(target, 'controls') || isParentOrSelf(target,'embed') || isParentOrSelf(target,'object')) return true; + if (!e.which || e.which == 1) { + if (!incrementals[snum] || incpos >= incrementals[snum].length) { + go(1); + } else { + subgo(1); + } + } +} + +function findSlide(hash) { + var target = null; + var slides = GetElementsWithClassName('*','slide'); + for (var i = 0; i < slides.length; i++) { + var targetSlide = slides[i]; + if ( (targetSlide.name && targetSlide.name == hash) + || (targetSlide.id && targetSlide.id == hash) ) { + target = targetSlide; + break; + } + } + while(target != null && target.nodeName != 'BODY') { + if (hasClass(target, 'slide')) { + return parseInt(target.id.slice(5)); + } + target = target.parentNode; + } + return null; +} + +function slideJump() { + if (window.location.hash == null) return; + var sregex = /^#slide(\d+)$/; + var matches = sregex.exec(window.location.hash); + var dest = null; + if (matches != null) { + dest = parseInt(matches[1]); + } else { + dest = findSlide(window.location.hash.slice(1)); + } + if (dest != null) + go(dest - snum); +} + +function fixLinks() { + var thisUri = window.location.href; + thisUri = thisUri.slice(0, thisUri.length - window.location.hash.length); + var aelements = document.getElementsByTagName('A'); + for (var i = 0; i < aelements.length; i++) { + var a = aelements[i].href; + var slideID = a.match('\#slide[0-9]{1,2}'); + if ((slideID) && (slideID[0].slice(0,1) == '#')) { + var dest = findSlide(slideID[0].slice(1)); + if (dest != null) { + if (aelements[i].addEventListener) { + aelements[i].addEventListener("click", new Function("e", + "if (document.getElementById('slideProj').disabled) return;" + + "go("+dest+" - snum); " + + "if (e.preventDefault) e.preventDefault();"), true); + } else if (aelements[i].attachEvent) { + aelements[i].attachEvent("onclick", new Function("", + "if (document.getElementById('slideProj').disabled) return;" + + "go("+dest+" - snum); " + + "event.returnValue = false;")); + } + } + } + } +} + +function externalLinks() { + if (!document.getElementsByTagName) return; + var anchors = document.getElementsByTagName('a'); + for (var i=0; i' + + ' + +

    ...

    +
    + +

    ...

    +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/admonitions.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/admonitions.rng new file mode 100644 index 0000000000..8666065f5b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/admonitions.rng @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + caution + A note of caution + + + + + + + + + + + + + + + + + + +
    + +
    + important + An admonition set off from the text + + + + + + + + + + + + + + + + + + +
    + +
    + note + A message set off from the text + + + + + + + + + + + + + + + + + + +
    + +
    + tip + A suggestion to the user, set off from the text + + + + + + + + + + + + + + + + + + +
    + +
    + warning + An admonition set off from the text + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/annotations.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/annotations.rng new file mode 100644 index 0000000000..13479be13f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/annotations.rng @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + Identifies one or more annotations that apply to this element + + + + + + + + + + + + + +
    + annotation + An annotation + + + + + + + Identifies one ore more elements to which this annotation applies + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/bibliography.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/bibliography.rng new file mode 100644 index 0000000000..29e4f283a6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/bibliography.rng @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the relationship between the bibliographic elemnts + + + +
    + biblioentry + A raw entry in a bibliography + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliomixed + A cooked entry in a bibliography + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + biblioset + A raw container for related bibliographic information + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliomset + A cooked container for related bibliographic information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliomisc + Untyped bibliographic information + + + + + + + + + + + + + + + + + + +
    + +
    + bibliography + A bibliography + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliodiv + A section of a bibliography + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliolist + A wrapper for a list of bibliography entries + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + biblioref + A cross-reference to a bibliographic entry + + + + + + + + + + + + The units (for example, pages) used to identify the beginning and ending of a reference. + + + + + + Identifies the beginning of a reference; the location within the work that is being referenced. + + + + + + Identifies the end of a reference. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/callouts.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/callouts.rng new file mode 100644 index 0000000000..12c231c266 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/callouts.rng @@ -0,0 +1,503 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + calspair + Coordinates expressed as a pair of CALS graphic coordinates. + linecolumn + Coordinates expressed as a line and column. + linecolumnpair + Coordinates expressed as a pair of lines and columns. + linerange + Coordinates expressed as a line range. + + + + + + Identifies the units used in the coords attribute. The default units vary according to the type of callout specified: calspair + for graphics and linecolumn + for line-oriented elements. + + + + + + + + Indicates that non-standard units are used for this area +. In this case otherunits + must be specified. + other + Coordinates expressed in some non-standard units. + + + + Identifies the units used in the coords + attribute when the units + attribute is other +. This attribute is forbidden otherwise. + + + + + + + + + + +
    + calloutlist + A list of callout +s + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + callout + A called out + description of a marked area + + + + + + Identifies the areas described by this callout. + + + + + + + + + + + + + + + + + + + + +
    + +
    + programlistingco + A program listing with associated areas used in callouts + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + areaspec + A collection of regions in a graphic or code example + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + area + A region defined for a callout in a graphic or code example + + + + + + Point to the callout +s which refer to this area. (This provides bidirectional linking which may be useful in online presentation.) + + + + + + Specifies an identifying number or string that may be used in presentation. The area label might be drawn on top of the figure, for example, at the position indicated by the coords attribute. + + + + + Provides the coordinates of the area. The coordinates must be interpreted using the units + specified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + area + A region defined for a callout in a graphic or code example + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + areaset + A set of related areas in a graphic or code example + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + screenco + A screen with associated areas used in callouts + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + imageobjectco + A wrapper for an image object with callouts + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + co + The location of a callout embedded in text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + coref + A cross reference to a co + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/calstbl.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/calstbl.rng new file mode 100644 index 0000000000..08259c5c99 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/calstbl.rng @@ -0,0 +1,918 @@ + + + + + + + + + + + + Specifies the alignment character when align + is set to char +. + + + + + Specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified in char + when align + is set to char +. + + 0 + 100 + + + + + + Specifies how the table is to be framed. Note that there is no way to obtain a border on only the starting edge (left, in left-to-right writing systems) of the table. + + all + Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + bottom + Frame only the bottom of the table. + none + Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + sides + Frame the left and right sides of the table. + top + Frame the top of the table. + topbot + Frame the top and bottom of the table. + + + + + + Specifies the presence or absence of the column separator + + A rule will be drawn to the right of all cells for whichcolsep + has the value 1 (true). Note, however, that the rule to the right of the last column in the table is controlled by the frame + attribute, not colsep +. + + + 0 + No column separator rule. + 1 + Provide a column separator rule on the right + + + + + + Specifies the presence or absence of the row separator + + A rule will be drawn below all cells for whichrowsep + has the value 1 (true). Note, however, that the rule below the last row in the table is controlled by the frame + attribute, not rowsep +. + + + 0 + No row separator rule. + 1 + Provide a row separator rule below + + + + + + Specifies the orientation of the table + + land + 90 degrees counter-clockwise from the rest of the text flow. + port + The same orientation as the rest of the text flow. + + + + + + Specifies the table style + + The tabstyle + attribute holds the name of a table style defined in a stylesheet that will be used to process this document. + + + + + + Indicates whether or not the entries in the first column should be considered row headers + + firstcol + Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + norowheader + Indicates that entries in the first column have no special significance with respect to column headers. + + + + + + Specifies the horizontal alignment of text in an entry. + + center + Centered. + char + Aligned on a particular character. + justify + Left and right justified. + left + Left justified. + right + Right justified. + + + + + + Specifies the vertical alignment of text in an entry. + + bottom + Aligned on the bottom of the entry. + middle + Aligned in the middle. + top + Aligned at the top of the entry. + + + + + + Specifies a column specification by name. + + + + + Specifies a starting column by name. + + + + + Specifies a span by name. + + + + + + Specifies a starting column by name. + + + Specifies an ending column by name. + + + + + + + + + + + + + + Provides a name for a column specification. + + + + + Provides a name for a span specification. + + + +
    + tgroup + A wrapper for the main content of a table, or part of a table + + + + + + Additional style information for downstream processing; typically the name of a style. + + + + + The number of columns in the table. Must be an integer greater than zero. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + colspec + Specifications for a column in a table + + + + + + The number of the column to which this specification applies. Must be greater than any preceding column number. Defaults to one more than the number of the preceding column, if there is one, or one. + + + + + + Specifies the width of the column. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + spanspec + Formatting information for a spanned column in a table + + + + + + Specifies a starting column by name. + + + + + Specifies an ending column by name. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + thead + A table header consisting of one or more rows + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tfoot + A table footer consisting of one or more rows + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tbody + A wrapper for the rows of a table or informal table + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + row + A row in a table + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + entry + A cell in a table + + + + + + + + Specifies the number of additional rows which this entry occupies. Defaults to zero. + + + + + + Specifies the rotation of this entry. A value of 1 (true) rotates the cell 90 degrees counter-clockwise. A value of 0 (false) leaves the cell unrotated. + + 0 + Do not rotate the cell. + 1 + Rotate the cell 90 degrees counter-clockwise. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + entrytbl + A subtable appearing in place of an entry in a table + + + + + + Additional style information for downstream processing; typically the name of a style. + + + + + The number of columns in the entry table. Must be an integer greater than zero. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + thead + A table header consisting of one or more rows + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tbody + A wrapper for the rows of a table or informal table + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + row + A row in a table + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + table + A formal table in a document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates if the short or long title should be used in a List of Tables + + 0 + Indicates that the full title should be used. + 1 + Indicates that the short short title (titleabbrev) should be used. + + + + + + Indicates if the table should appear in a List of Tables + + 0 + Indicates that the table should not occur in the List of Tables. + 1 + Indicates that the table should appear in the List of Tables. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + informaltable + A table without a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/core.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/core.rng new file mode 100644 index 0000000000..8ecf45d975 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/core.rng @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook.rng new file mode 100644 index 0000000000..4e156f2836 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook.rng @@ -0,0 +1,34 @@ + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook1.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook1.rng new file mode 100644 index 0000000000..b5a897619c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/docbook1.rng @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/ebnf.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/ebnf.rng new file mode 100644 index 0000000000..97a21aa3fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/ebnf.rng @@ -0,0 +1,267 @@ + + + + + + + + + + + + + + + + + + + +
    + productionset + A set of EBNF productions + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + production + A production in a set of EBNF productions + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + lhs + The left-hand side of an EBNF production + + + + + + + + + + + + + + + + + + +
    + +
    + rhs + The right-hand side of an EBNF production + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + nonterminal + A non-terminal in an EBNF production + + + + + + Specifies a URI that points to a production +where the nonterminal + is defined + + + + + + + + + + + + + + + + + + + +
    + +
    + constraint + A constraint in an EBNF production + + + + + + + + + + + + + + + + + + +
    + +
    + productionrecap + A cross-reference to an EBNF production + + + + + + + + + + + + + + + + + + +
    + +
    + constraintdef + The definition of a constraint in an EBNF production + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/error.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/error.rng new file mode 100644 index 0000000000..7a157903da --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/error.rng @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + +
    + errorcode + An error code + + + + + + + + + + + + + + + + + + +
    + +
    + errorname + An error name + + + + + + + + + + + + + + + + + + +
    + +
    + errortext + An error message. + + + + + + + + + + + + + + + + + + +
    + +
    + errortype + The classification of an error message + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/glossary.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/glossary.rng new file mode 100644 index 0000000000..524176bd46 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/glossary.rng @@ -0,0 +1,513 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the base form of the term, the one that appears in the glossary. This allows adjectival, plural, and other variations of the term to appear in the element. The element content is the default base form. + + + + +
    + glosslist + A wrapper for a list of glossary entries + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + glossentry + An entry in a glossary or glosslist + + + + + + Specifies the string by which the element's content is to be sorted; if unspecified, the content is used + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + glossdef + A definition in a glossentry + + + + + + Specifies a list of keywords for the definition + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + glosssee + A cross-reference from one glossentry + to another + + + + + + Identifies the other term + + + + + + + + + + + + + + + + + + + + @otherterm on glosssee must point to a glossentry. + + + + + + + + +
    + +
    + glossseealso + A cross-reference from one glossentry to another + + + + + + Identifies the other term + + + + + + + + + + + + + + + + + + + + @otherterm on glossseealso must point to a glossentry. + + + + + + + + +
    + +
    + firstterm + The first occurrence of a term + + + + + + + + + + + + + + + + + + @linkend on firstterm must point to a glossentry. + + + + + + + + +
    + +
    + firstterm + The first occurrence of a term, with limited content + + + + + + + + + + + + + + + + + + @linkend on firstterm must point to a glossentry. + + + + + + +
    + +
    + glossterm + A glossary term + + + + + + + + + + + + + + + + + + @linkend on glossterm must point to a glossentry. + + + + + + + + +
    + +
    + glossterm + A glossary term + + + + + + + + + + + + + + + + + + @linkend on glossterm must point to a glossentry. + + + + + + +
    + +
    + glossary + A glossary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + glossdiv + A division in a glossary + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + termdef + An inline definition of a term + + + + + + + + + + + + + + + + + + + + + A termdef must contain exactly one firstterm + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/gui.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/gui.rng new file mode 100644 index 0000000000..e1ce3d6947 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/gui.rng @@ -0,0 +1,292 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
    + guibutton + The text on a button in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + guiicon + Graphic and/or text appearing as a icon in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + guilabel + The text of a label in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + guimenu + The name of a menu in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + guimenuitem + The name of a terminal menu item in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + guisubmenu + The name of a submenu in a GUI + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + menuchoice + A selection or series of selections from a menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + mousebutton + The conventional name of a mouse button + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/hier.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/hier.rng new file mode 100644 index 0000000000..9ac1149740 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/hier.rng @@ -0,0 +1,730 @@ + + + + + + + + + + + + Identifies the editorial or publication status of the element on which it occurs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + set + A collection of books + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + book + A book + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + dedication + The dedication of a book or other component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + acknowledgements + Acknowledgements of a book or other component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + colophon + Text at the back of a book describing facts about its production + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + appendix + An appendix in a book or article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + chapter + A chapter, as of a book + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + part + A division in a book + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + preface + Introductory matter preceding the first chapter of a book + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + partintro + An introduction to the contents of a part + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + section + A recursive section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + simplesect + A section of a document with no subdivisions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    + article + An article + + + + + + faq + A collection of frequently asked questions. + journalarticle + An article in a journal or other periodical. + productsheet + A description of a product. + specification + A specification. + techreport + A technical report. + whitepaper + A white paper. + + + + + Identifies the nature of the article + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/htmltbl.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/htmltbl.rng new file mode 100644 index 0000000000..c2fc3b1812 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/htmltbl.rng @@ -0,0 +1,678 @@ + + + + + + + + + + + + + + This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters. + + + + + This attribute specifies style information for the current element. + + + + + This attribute offers advisory information about the element for which it is set. + + + + + + + + + This attribute specifies the base language of an element's attribute values and text content. The default value of this attribute is unknown. + + + + + + + + Occurs when the pointing device button is clicked over an element. + + + + + Occurs when the pointing device button is double clicked over an element. + + + + + Occurs when the pointing device button is pressed over an element. + + + + + Occurs when the pointing device button is released over an element. + + + + + Occurs when the pointing device is moved onto an element. + + + + + Occurs when the pointing device is moved while it is over an element. + + + + + Occurs when the pointing device is moved away from an element. + + + + + Occurs when a key is pressed and released over an element. + + + + + Occurs when a key is pressed down over an element. + + + + + Occurs when a key is released over an element. + + + + + + + + + + + + + + + + + Specifies the alignment of data and the justification of text in a cell. + + left + Left-flush data/Left-justify text. This is the default value for table data. + center + Center data/Center-justify text. This is the default value for table headers. + right + Right-flush data/Right-justify text. + justify + Double-justify text. + char + Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. + + + + + + This attribute specifies a single character within a text fragment to act as an axis for alignment. The default value for this attribute is the decimal point character for the current language as set by the lang attribute (e.g., the period in English and the comma in French). User agents are not required to support this attribute. + + + + + When present, this attribute specifies the offset to the first occurrence of the alignment character on each line. If a line doesn't include the alignment character, it should be horizontally shifted to end at the alignment position. When charoff is used to set the offset of an alignment character, the direction of offset is determined by the current text direction (set by the dir attribute). In left-to-right texts (the default), offset is from the left margin. In right-to-left texts, offset is from the right margin. User agents are not required to support this attribute. + + + An explicit offset. + + [0-9]+% + + A percentage offset. + + + + + + + + + Specifies the vertical position of data within a cell. + + top + Cell data is flush with the top of the cell. + middle + Cell data is centered vertically within the cell. This is the default value. + bottom + Cell data is flush with the bottom of the cell. + baseline + All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells. + + + + + + + + + Provides a summary of the table's purpose and structure for user agents rendering to non-visual media such as speech and Braille. + + + + + Specifies the desired width of the entire table and is intended for visual user agents. When the value is a percentage value, the value is relative to the user agent's available horizontal space. In the absence of any width specification, table width is determined by the user agent. + + + An explicit width. + + [0-9]+% + + A percentage width. + + + + + + Specifies the width (in pixels only) of the frame around a table. + + + + + + Specifies which sides of the frame surrounding a table will be visible. + + void + No sides. This is the default value. + above + The top side only. + below + The bottom side only. + hsides + The top and bottom sides only. + lhs + The left-hand side only. + rhs + The right-hand side only. + vsides + The right and left sides only. + box + All four sides. + border + All four sides. + + + + + + Specifies which rules will appear between cells within a table. The rendering of rules is user agent dependent. + + none + No rules. This is the default value. + groups + Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only. + rows + Rules will appear between rows only. + cols + Rules will appear between columns only. + all + Rules will appear between all rows and columns. + + + + + + Specifies how much space the user agent should leave between the left side of the table and the left-hand side of the leftmost column, the top of the table and the top side of the topmost row, and so on for the right and bottom of the table. The attribute also specifies the amount of space to leave between cells. + + + An explicit spacing. + + [0-9]+% + + A percentage spacing. + + + + + + Specifies the amount of space between the border of the cell and its contents. If the value of this attribute is a pixel length, all four margins should be this distance from the contents. If the value of the attribute is a percentage length, the top and bottom margins should be equally separated from the content based on a percentage of the available vertical space, and the left and right margins should be equally separated from the content based on a percentage of the available horizontal space. + + + An explicit padding. + + [0-9]+% + + A percentage padding. + + + + + + + + + + Provides an abbreviated form of the cell's content and may be rendered by user agents when appropriate in place of the cell's content. Abbreviated names should be short since user agents may render them repeatedly. For instance, speech synthesizers may render the abbreviated headers relating to a particular cell before rendering that cell's content. + + + + + This attribute may be used to place a cell into conceptual categories that can be considered to form axes in an n-dimensional space. User agents may give users access to these categories (e.g., the user may query the user agent for all cells that belong to certain categories, the user agent may present a table in the form of a table of contents, etc.). Please consult an HTML reference for more details. + + + + + Specifies the list of header cells that provide header information for the current data cell. The value of this attribute is a space-separated list of cell names; those cells must be named by setting their id attribute. Authors generally use the headers attribute to help non-visual user agents render header information about data cells (e.g., header information is spoken prior to the cell data), but the attribute may also be used in conjunction with style sheets. + + + + + Specifies the set of data cells for which the current header cell provides header information. This attribute may be used in place of the headers attribute, particularly for simple tables. + + row + The current cell provides header information for the rest of the row that contains it + col + The current cell provides header information for the rest of the column that contains it. + rowgroup + The header cell provides header information for the rest of the row group that contains it. + colgroup + The header cell provides header information for the rest of the column group that contains it. + + + + + + Specifies the number of rows spanned by the current cell. The default value of this attribute is one (1 +). The value zero (0 +) means that the cell spans all rows from the current row to the last row of the table section (thead +, tbody +, or tfoot +) in which the cell is defined. + + + + + + Specifies the number of columns spanned by the current cell. The default value of this attribute is one (1 +). The value zero (0 +) means that the cell spans all columns from the current column to the last column of the column group (colgroup +) in which the cell is defined. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + table + A formal (captioned) HTML table in a document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + informaltable + An HTML table without a title + + + + + + + + + + + + +
    + +
    + caption + An HTML table caption + + + + + + + + + + + +
    + +
    + col + Specifications for a column in an HTML table + + + + + + This attribute, whose value must be an integer > 0, specifies the number of columns spanned + by the col + element; the col + element shares its attributes with all the columns it spans. The default value for this attribute is 1 (i.e., a single column). If the span attribute is set to N > 1, the current col + element shares its attributes with the next N-1 columns. + + + + + + Specifies a default width for each column spanned by the current col + element. It has the same meaning as the width + attribute for the colgroup + element and overrides it. + + + + + + + + + + + + +
    + +
    + colgroup + A group of columns in an HTML table + + + + + + This attribute, which must be an integer > 0, specifies the number of columns in a column group. In the absence of a span attribute, each colgroup + defines a column group containing one column. If the span attribute is set to N > 0, the current colgroup + element defines a column group containing N columns. User agents must ignore this attribute if the colgroup + element contains one or more col + elements. + + + + + + This attribute specifies a default width for each column in the current column group. In addition to the standard pixel, percentage, and relative values, this attribute allows the special form 0* + (zero asterisk) which means that the width of the each column in the group should be the minimum width necessary to hold the column's contents. This implies that a column's entire contents must be known before its width may be correctly computed. Authors should be aware that specifying 0* + will prevent visual user agents from rendering a table incrementally. This attribute is overridden for any column in the column group whose width is specified via a col + element. + + + + + + + + + + + + + + +
    + +
    + thead + A table header consisting of one or more rows in an HTML table + + + + + + + + + + + + + + + +
    + +
    + tfoot + A table footer consisting of one or more rows in an HTML table + + + + + + + + + + + + + + + +
    + +
    + tbody + A wrapper for the rows of an HTML table or informal HTML table + + + + + + + + + + + + + + + +
    + +
    + tr + A row in an HTML table + + + + + + + + + + + + + + + + + + +
    + +
    + th + A table header entry in an HTML table + + + + + + + + + + + + + + + + + + + + + +
    + +
    + td + A table entry in an HTML table + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/index.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/index.rng new file mode 100644 index 0000000000..3241fc9ac0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/index.rng @@ -0,0 +1,773 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + normal + Normal + preferred + Preferred + + + + + Specifies the significance of the term + + + + + + Specifies the IDs of the elements to which this term applies + + + + + + Indicates the page on which this index term occurs in some version of the printed document + + + + + all + All indexes + global + The global index (as for a combined index of a set of books) + local + The local index (the index for this document only) + + + + + Specifies the scope of the index term + + + + + + Specifies the string by which the term is to be sorted; if unspecified, the term content is used + + + + + Specifies the target index for this term + + + +
    + itermset + A set of index terms in the meta-information of a document + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + indexterm + A wrapper for an indexed term + + + + + + Identifies the class of index term + singular + A singular index term + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + indexterm + A wrapper for an indexed term that covers a range + + + + + + Identifies the class of index term + startofrange + The start of a range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + indexterm + Identifies the end of a range associated with an indexed term + + + + + + Identifies the class of index term + endofrange + The end of a range + + + + + Points to the start of the range + + + + + + + + + + + + + + + + + + + + +
    + +
    + indexterm + A wrapper for terms to be indexed + + + + + + + +
    + +
    + primary + The primary word or phrase under which an index term should be sorted + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + secondary + A secondary word or phrase in an index term + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tertiary + A tertiary word or phrase in an index term + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + see + Part of an index term directing the reader instead to another entry in the index + + + + + + + + + + + + + + + + + + + + +
    + +
    + seealso + Part of an index term directing the reader also to another entry in the index + + + + + + + + + + + + + + + + + + + + +
    + +
    + index + An index to a book or part of a book + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + setindex + An index to a set of books + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + indexdiv + A division in an index + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + indexentry + An entry in an index + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + primaryie + A primary term in an index entry, not in the text + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + secondaryie + A secondary term in an index entry, rather than in the text + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tertiaryie + A tertiary term in an index entry, rather than in the text + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + seeie + A See +entry in an index, rather than in the text + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + seealsoie + A See also + entry in an index, rather than in the text + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/keyboard.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/keyboard.rng new file mode 100644 index 0000000000..06c264e8aa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/keyboard.rng @@ -0,0 +1,320 @@ + + + + + + + + + + + + + + + + + + + + +
    + keycap + The text printed on a key on a keyboard + + + + alt + The "Alt" key + backspace + The "Backspace" key + command + The "Command" key + control + The "Control" key + delete + The "Delete" key + down + The down arrow + end + The "End" key + enter + The "Enter" or "Return" key + escape + The "Escape" key + home + The "Home" key + insert + The "Insert" key + left + The left arrow + meta + The "Meta" key + option + The "Option" key + pagedown + The page down key + pageup + The page up key + right + The right arrow + shift + The "Shift" key + space + The spacebar + tab + The "Tab" key + up + The up arrow + + + + + + Identifies the function key + + + + + + + + Identifies the function key + other + Indicates a non-standard function key + + + + Specifies a keyword that identifies the non-standard key + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + keycode + The internal, frequently numeric, identifier for a key on a keyboard + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + keycombo + A combination of input actions + + + + click + A (single) mouse click. + double-click + A double mouse click. + press + A mouse or key press. + seq + Sequential clicks or presses. + simul + Simultaneous clicks or presses. + + + + + + Identifies the nature of the action taken. If keycombo + contains more than one element, simul + is the default, otherwise there is no default. + + + + + + + + Identifies the nature of the action taken + other + Indicates a non-standard action + + + + Identifies the non-standard action in some unspecified way. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + keysym + The symbolic name of a key on a keyboard + + + + + + + + + + + + + + + + + + +
    + +
    + accel + A graphical user interface (GUI) keyboard shortcut + + + + + + + + + + + + + + + + + + +
    + +
    + shortcut + A key combination for an action that is also accessible through a menu + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/markup.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/markup.rng new file mode 100644 index 0000000000..7fd9761fdd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/markup.rng @@ -0,0 +1,304 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + markup + A string of formatting markup in text that is to be represented literally + + + + + + + + + + + + + + + + + + +
    + +
    + tag + A component of XML (or SGML) markup + + + + + + attribute + An attribute + attvalue + An attribute value + element + An element + emptytag + An empty element tag + endtag + An end tag + genentity + A general entity + localname + The local name part of a qualified name + namespace + A namespace + numcharref + A numeric character reference + paramentity + A parameter entity + pi + A processing instruction + prefix + The prefix part of a qualified name + comment + An SGML comment + starttag + A start tag + xmlpi + An XML processing instruction + + + + + Identifies the nature of the tag content + + + + + + Identifies the namespace of the tag content + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + symbol + A name that is replaced by a value before processing + + + Identifies the class of symbol + limit + The value is a limit of some kind + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + token + A unit of information + + + + + + + + + + + + + + + + + + +
    + +
    + literal + Inline text that is some literal value + + + + + + + + + + + + + + + + + + +
    + +
    + code + An inline code fragment + + + Identifies the (computer) language of the code fragment + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + constant + A programming or system constant + + + Identifies the class of constant + limit + The value is a limit of some kind + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/math.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/math.rng new file mode 100644 index 0000000000..89d919acba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/math.rng @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + equation + A displayed mathematical equation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + informalequation + A displayed mathematical equation without a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + inlineequation + A mathematical equation or expression occurring inline + + + + + + + + + + + + + + + + + + + + + +
    + +
    + mathphrase + A mathematical phrase that can be represented with ordinary text and a small amount of markup + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/mathml.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/mathml.rng new file mode 100644 index 0000000000..f78772512e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/mathml.rng @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + +
    + imagedata + A MathML expression in a media object + + + + + + + + + + + + Specifies that the format of the data is MathML + mathml + Specifies MathML. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + mml:* + Any element from the MathML namespace + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/msgset.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/msgset.rng new file mode 100644 index 0000000000..ad1fe33ca1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/msgset.rng @@ -0,0 +1,427 @@ + + + + + + + + + + + + + + + + + +
    + msgset + A detailed set of messages, usually error messages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msgentry + A wrapper for an entry in a message set + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + simplemsgentry + A wrapper for a simpler entry in a message set + + + + + + The audience to which the message relevant + + + + + The origin of the message + + + + + The level of importance or severity of a message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msg + A message in a message set + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msgmain + The primary component of a message in a message set + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msgsub + A subcomponent of a message in a message set + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msgrel + A related component of a message in a message set + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msgtext + The actual text of a message component in a message set + + + + + + + + + + + + + + + + + + + + +
    + +
    + msginfo + Information about a message in a message set + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + msglevel + The level of importance or severity of a message in a message set + + + + + + + + + + + + + + + + + + +
    + +
    + msgorig + The origin of a message in a message set + + + + + + + + + + + + + + + + + + +
    + +
    + msgaud + The audience to which a message in a message set is relevant + + + + + + + + + + + + + + + + + + +
    + +
    + msgexplan + Explanatory material relating to a message in a message set + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/os.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/os.rng new file mode 100644 index 0000000000..c53a8db869 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/os.rng @@ -0,0 +1,513 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + prompt + A character or string indicating the start of an input field in a computer display + + + + + + + + + + + + + + + + + + + + +
    + +
    + envar + A software environment variable + + + + + + + + + + + + + + + + + + +
    + +
    + filename + The name of a file + + + devicefile + A device + directory + A directory + extension + A filename extension + headerfile + A header file (as for a programming language) + libraryfile + A library file + partition + A partition (as of a hard disk) + symlink + A symbolic link + + + + + Identifies the class of filename + + + + + + Specifies the path of the filename + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + command + The name of an executable program or other software command + + + + + + + + + + + + + + + + + + +
    + +
    + computeroutput + Data, generally text, displayed or presented by a computer + + + + + + + + + + + + + + + + + + + + +
    + +
    + userinput + Data entered by the user + + + + + + + + + + + + + + + + + + + + +
    + +
    + cmdsynopsis + A syntax summary for a software command + + + + + + Specifies the character that should separate the command and its top-level arguments + + + + + Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + norepeat + Can not be repeated. + repeat + Can be repeated. + + + + + Indicates whether or not repetition is possible. + + + + + + opt + Formatted to indicate that it is optional. + plain + Formatted without indication. + req + Formatted to indicate that it is required. + + + + + Indicates optionality. + + + + + + Indicates optionality. + + + + +
    + arg + An argument in a cmdsynopsis + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + group + A group of elements in a cmdsynopsis + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + sbr + An explicit line break in a command synopsis + + + + + + + + + + + + + + + + + +
    + +
    + synopfragment + A portion of a cmdsynopsis broken out from the main body of the synopsis + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + synopfragmentref + A reference to a fragment of a command synopsis + + + + + + + + + + + + + + + + + @linkend on synopfragmentref must point to a synopfragment. + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/pool.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/pool.rng new file mode 100644 index 0000000000..691cfe67db --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/pool.rng @@ -0,0 +1,6084 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + *:* + Any element from almost any namespace + + + Any attribute, including any attribute in any namespace. + + + + + + + + + + + + + + + + + + + + +
    + + + + Designates the computer or chip architecture to which the element applies + + + + + Designates the intended audience to which the element applies, for example, system administrators, programmers, or new users. + + + + + provides a standard place for application-specific effectivity + + Many DocBook users observed that in order to add an effectivity condition that was unique to their environment required abusing + the semantics of one of the existing attributes, or adding their own, making their customization an extension rather than a subset. Thecondition + attribute is a general-purpose effectivity attribute with no specified semantics. + Thecondition + attribute provides a standard place for application-specific effectivity. + + + + + + Indicates standards conformance characteristics of the element + + These characteristics are application-specific; DocBook provides no default semantics. + + + + + + Indicates the operating system to which the element is applicable + + + + + Indicates the editorial revision to which the element belongs + + + + + Indicates something about the security level associated with the element to which it applies + + + + + Indicates the level of user experience for which the element applies + + + + + Indicates the computer vendor to which the element applies. + + + + + Indicates the word size (width in bits) of the computer architecture to which the element applies + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Points to the element whose content is to be used as the text of the link + + + + + + Points to an internal link target by identifying the value of its xml:id attribute + + + + + + Points to one or more internal link targets by identifying the value of their xml:id attributes + + + + + + Identifies a link target with a URI + + + + + + Identifies the XLink link type + simple + An XLink simple link + + + + + Identifies the XLink role of the link + + DocBook uses the XLink role value http://docbook.org/xlink/role/olink + to identify linking elements with OLink semantics. That means the part of xlink:href + before the number sign (#) is to be interpreted as equivalent to the olink targetdoc + attribute value, and the part after the number sign as the olink targetptr + attribute value. + + + + + + + Identifies the XLink arcrole of the link + + + + + + Identifies the XLink title of the link + + + + + new + An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context. + replace + An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded. + embed + An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource. + other + The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior. + none + The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + + + + + Identifies the XLink show behavior of the link + + + + + + onLoad + An application should traverse to the ending resource immediately on loading the starting resource. + onRequest + An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. + other + The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior. + none + The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + + + + + Identifies the XLink actuate behavior of the link + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identifies the unique ID value of the element + + + + + + Specifies the DocBook version of the element and its descendants + + + + + Specifies the natural language of the element and its descendants + + + + + Specifies the base URI of the element and its descendants + + + + + + Provides the name or similar semantic identifier assigned to the content in some previous markup scheme + + + + + Provides the text that is to be generated for a cross reference to the element + + + + + Specifies a keyword or keywords identifying additional style information + + + + + changed + The element has been changed. + added + The element is new (has been added to the document). + deleted + The element has been deleted. + off + Explicitly turns off revision markup for this element. + + + + + Identifies the revision status of the element + + + + + + ltr + Left-to-right text + rtl + Right-to-left text + lro + Left-to-right override + rlo + Right-to-left override + + + + + Identifies the direction of text in an element + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies the format of the data + + + + + Indentifies the location of the data by URI + + + + Identifies the location of the data by external identifier (entity name) + + + + + + + + continues + Line numbering continues from the immediately preceding element with the same name. + restarts + Line numbering restarts (begins at 1, usually). + + + + + Determines whether line numbering continues from the previous element or restarts. + + + + + + numbered + Lines are numbered. + unnumbered + Lines are not numbered. + + + + + Determines whether lines are numbered. + + + + + + Specifies the initial line number. + + + + + + Identifies the language (i.e. programming language) of the verbatim content. + + + + + Can be used to indicate explicitly that whitespace in the verbatim environment is preserved. Whitespace must always be preserved in verbatim environments whether this attribute is specified or not. + preserve + Whitespace must be preserved. + + + + + + + + + + + + + + + + + + + + + + + + + Specifies an identifying string for presentation purposes + + + + + Specifies the width (in characters) of the element + + + + + + compact + The spacing should be "compact". + normal + The spacing should be "normal". + + + + + Specifies (a hint about) the spacing of the content + + + + + + 0 + The element should be rendered in the current text flow (with the flow column width). + 1 + The element should be rendered across the full text page. + + + + + Indicates if the element is rendered across the column or the page + + + + + + Identifies the language (i.e. programming language) of the content. + + + + + optional + The content describes an optional step or steps. + required + The content describes a required step or steps. + + + + + Specifies if the content is required or optional. + + + + + + Specifies style information to be used when rendering the float + + + + + Specifies the width of the element + + + + + Specifies the depth of the element + + + + + Specifies the width of the content rectangle + + + + + Specifies the depth of the content rectangle + + + + + 0 + False (do not scale-to-fit; anamorphic scaling may occur) + 1 + True (scale-to-fit; anamorphic scaling is forbidden) + + + + + Specifies the scaling factor + + + + + + + center + Centered horizontally + char + Aligned horizontally on the specified character + justify + Fully justified (left and right margins or edges) + left + Left aligned + right + Right aligned + + + + + bottom + Aligned on the bottom of the region + middle + Centered vertically + top + Aligned on the top of the region + + + + + + + doi + A digital object identifier. + isbn + An international standard book number. + isrn + An international standard technical report number (ISO 10444). + issn + An international standard serial number. + libraryofcongress + A Library of Congress reference number. + pubsnumber + A publication number (an internal number or possibly organizational standard). + uri + A Uniform Resource Identifier + + + + + + Identifies the kind of bibliographic identifier + + + + + + + Identifies the nature of the non-standard bibliographic identifier + + + + + + + Identifies the kind of bibliographic identifier + other + Indicates that the identifier is some 'other' kind. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + title + The text of the title of a section of a document or of a formal block-level element + + + + + + + + + + + + + + + + + + + + +
    + +
    + titleabbrev + The abbreviation of a title + + + + + + + + + + + + + + + + + + + + +
    + +
    + subtitle + The subtitle of a document + + + + + + + + + + + + + + + + + + + + +
    + +
    + info + A wrapper for information about a component or other block + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + info + A wrapper for information about a component or other block with a required title + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + info + A wrapper for information about a component or other block with only a title + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + info + A wrapper for information about a component or other block with only a required title + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + info + A wrapper for information about a component or other block without a title + + + + + + + + + + + + + + + + + + + +
    + +
    + subjectset + A set of terms describing the subject matter of a document + + + + + + Identifies the controlled vocabulary used by this set's terms + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + subject + One of a group of terms describing the subject matter of a document + + + + + + Specifies a ranking for this subject relative to other subjects in the same set + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + subjectterm + A term in a group of terms describing the subject matter of a document + + + + + + + + + + + + + + + + + + +
    + +
    + keywordset + A set of keywords describing the content of a document + + + + + + + + + + + + + + + + + + + + +
    + +
    + keyword + One of a set of keywords describing the content of a document + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    + procedure + A list of operations to be performed in a well-defined sequence + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + step + A unit of action in a procedure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + stepalternatives + Alternative steps in a procedure + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + substeps + A wrapper for steps that occur within steps in a procedure + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + sidebar + A portion of a document that is isolated from the main narrative flow + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + abstract + A summary + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + personblurb + A short description or note about a person + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + blockquote + A quotation set off from the main text + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + attribution + The source of a block quote or epigraph + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bridgehead + A free-floating heading + + + + sect1 + Render as a first-level section + sect2 + Render as a second-level section + sect3 + Render as a third-level section + sect4 + Render as a fourth-level section + sect5 + Render as a fifth-level section + + + + + + Indicates how the bridge head should be rendered + + + + + + + Identifies the nature of the non-standard rendering + + + + + + + Indicates how the bridge head should be rendered + other + Identifies a non-standard rendering + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + remark + A remark (or comment) intended for presentation in a draft manuscript + + + + + + + + + + + + + + + + + + + + +
    + +
    + epigraph + A short inscription at the beginning of a document or component + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + footnote + A footnote + + + + + + + + + + + Identifies the desired footnote mark + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + formalpara + A paragraph with a title + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + para + A paragraph + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + simpara + A paragraph that contains only text and inline markup, no block elements + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + itemizedlist + A list in which each entry is marked with a bullet or other dingbat + + + + + + Identifies the type of mark to be used on items in this list + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + orderedlist + A list in which each entry is marked with a sequentially incremented label + + + + + + continues + Specifies that numbering should begin where the preceding list left off + restarts + Specifies that numbering should begin again at 1 + + + + + Indicates how list numbering should begin relative to the immediately preceding list + + + + + + Specifies the initial line number. + + + + + + ignore + Specifies that numbering should ignore list nesting + inherit + Specifies that numbering should inherit from outer-level lists + + + + + Indicates whether or not item numbering should be influenced by list nesting + + + + + + arabic + Specifies Arabic numeration (1, 2, 3, …) + upperalpha + Specifies upper-case alphabetic numeration (A, B, C, …) + loweralpha + Specifies lower-case alphabetic numeration (a, b, c, …) + upperroman + Specifies upper-case Roman numeration (I, II, III, …) + lowerroman + Specifies lower-case Roman numeration (i, ii, iii …) + + + + + Indicates the desired numeration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + listitem + A wrapper for the elements of a list item + + + + + + Specifies the keyword for the type of mark that should be used on this + item, instead of the mark that would be used by default + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + segmentedlist + A segmented list, a list of sets of elements + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + segtitle + The title of an element of a list item in a segmented list + + + + + + + + + + + + + + + + + + + + +
    + +
    + seglistitem + A list item in a segmented list + + + + + + + + + + + + + + + + + The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist + + + + + + + + +
    + +
    + seg + An element of a list item in a segmented list + + + + + + + + + + + + + + + + + + + + +
    + +
    + simplelist + An undecorated list of single words or short phrases + + + + + + horiz + A tabular presentation in row-major order. + vert + A tabular presentation in column-major order. + inline + An inline presentation, usually a comma-delimited list. + + + + + Specifies the type of list presentation. + + + + + + Specifies the number of columns for horizontal or vertical presentation + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + member + An element of a simple list + + + + + + + + + + + + + + + + + + + + +
    + +
    + variablelist + A list in which each entry is composed of a set of one or more terms and an associated description + + + + + + Indicates a length beyond which the presentation system may consider a term too long and select an alternate presentation for that term, item, or list + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + varlistentry + A wrapper for a set of terms and the associated description in a variable list + + + + + + + + + + + + + + + + + + + + + +
    + +
    + term + The word or phrase being defined or described in a variable list + + + + + + + + + + + + + + + + + + + + +
    + +
    + example + A formal example, with a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + informalexample + A displayed example without a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + +
    + literallayout + A block of text in which line breaks and white space are to be reproduced faithfully + + + + + + monospaced + The literal layout should be formatted with a monospaced font + normal + The literal layout should be formatted with the current font + + + + + Specifies the class of literal layout + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + screen + Text that a user sees or might see on a computer screen + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + screenshot + A representation of what the user sees or might see on a computer screen + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + figure + A formal figure, generally an illustration, with a title + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + informalfigure + A untitled figure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + +
    + mediaobject + A displayed media object (video, audio, image, etc.) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + inlinemediaobject + An inline media object (video, audio, image, and so on) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + videoobject + A wrapper for video data and its associated meta-information + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + audioobject + A wrapper for audio data and its associated meta-information + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + imageobject + A wrapper for image data and its associated meta-information + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + textobject + A wrapper for a text description of an object and its associated meta-information + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + videodata + Pointer to external video data + + + + + + + + + Specifies the (horizontal) alignment of the video data + + + + + + + + + Specifies the vertical alignment of the video data + + + + + + + + + + + + + + + + + + + + + Determines if anamorphic scaling is forbidden + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + audiodata + Pointer to external audio data + + + + + + + + + + + + + + + + + + + + + +
    + +
    + imagedata + Pointer to external image data + + + + + + + + + Specifies the (horizontal) alignment of the image data + + + + + + + + + Specifies the vertical alignment of the image data + + + + + + + + + + + + + + + + + + + + + Determines if anamorphic scaling is forbidden + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + textdata + Pointer to external text data + + + + + + Identifies the encoding of the text in the external file + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + caption + A caption + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + address + A real-world address, generally a postal address + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + street + A street address in an address + + + + + + + + + + + + + + + + + + +
    + +
    + pob + A post office box in an address + + + + + + + + + + + + + + + + + + +
    + +
    + postcode + A postal code in an address + + + + + + + + + + + + + + + + + + +
    + +
    + city + The name of a city in an address + + + + + + + + + + + + + + + + + + +
    + +
    + state + A state or province in an address + + + + + + + + + + + + + + + + + + +
    + +
    + country + The name of a country + + + + + + + + + + + + + + + + + + +
    + +
    + phone + A telephone number + + + + + + + + + + + + + + + + + + +
    + +
    + fax + A fax number + + + + + + + + + + + + + + + + + + +
    + +
    + otheraddr + Uncategorized information in address + + + + + + + + + + + + + + + + + + +
    + +
    + affiliation + The institutional affiliation of an individual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + shortaffil + A brief description of an affiliation + + + + + + + + + + + + + + + + + + +
    + +
    + jobtitle + The title of an individual in an organization + + + + + + + + + + + + + + + + + + +
    + +
    + orgname + The name of an organization + + + + consortium + A consortium + corporation + A corporation + informal + An informal organization + nonprofit + A non-profit organization + + + + + Specifies the nature of the organization + + + + + + Specifies the nature of the organization + other + Indicates a non-standard organization class + + + Identifies the non-standard nature of the organization + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + orgdiv + A division of an organization + + + + + + + + + + + + + + + + + + + + +
    + +
    + artpagenums + The page numbers of an article as published + + + + + + + + + + + + + + + + + + +
    + +
    + personname + The personal name of an individual + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + author + The name of an individual author + + + + + + + + + + + + + + + + + + +
    + +
    + authorgroup + Wrapper for author information when a document has multiple authors or collaborators + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + collab + Identifies a collaborator + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + authorinitials + The initials or other short identifier for an author + + + + + + + + + + + + + + + + + + +
    + +
    + person + A person and associated metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + org + An organization and associated metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + confgroup + A wrapper for document meta-information about a conference + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + confdates + The dates of a conference for which a document was written + + + + + + + + + + + + + + + + + + +
    + +
    + conftitle + The title of a conference for which a document was written + + + + + + + + + + + + + + + + + + +
    + +
    + confnum + An identifier, frequently numerical, associated with a conference for which a document was written + + + + + + + + + + + + + + + + + + +
    + +
    + confsponsor + The sponsor of a conference for which a document was written + + + + + + + + + + + + + + + + + + +
    + +
    + contractnum + The contract number of a document + + + + + + + + + + + + + + + + + + +
    + +
    + contractsponsor + The sponsor of a contract + + + + + + + + + + + + + + + + + + +
    + +
    + copyright + Copyright information about a document + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + year + The year of publication of a document + + + + + + + + + + + + + + + + + + +
    + +
    + holder + The name of the individual or organization that holds a copyright + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    + cover + Additional content for the cover of a publication + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + date + The date of publication or revision of a document + + + + + + + + + + + + + + + + + + +
    + +
    + edition + The name or number of an edition of a document + + + + + + + + + + + + + + + + + + +
    + +
    + editor + The name of the editor of a document + + + + + + + + + + + + + + + + + + +
    + +
    + biblioid + An identifier for a document + + + + + + + + + + + + + + + + + + + +
    + +
    + citebiblioid + A citation of a bibliographic identifier + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliosource + The source of a document + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliorelation + The relationship of a document to another + + + + hasformat + The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format + haspart + The described resource includes the referenced resource either physically or logically + hasversion + The described resource has a version, edition, or adaptation, namely, the referenced resource + isformatof + The described resource is the same intellectual content of the referenced resource, but presented in another format + ispartof + The described resource is a physical or logical part of the referenced resource + isreferencedby + The described resource is referenced, cited, or otherwise pointed to by the referenced resource + isreplacedby + The described resource is supplanted, displaced, or superceded by the referenced resource + isrequiredby + The described resource is required by the referenced resource, either physically or logically + isversionof + The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format + references + The described resource references, cites, or otherwise points to the referenced resource + replaces + The described resource supplants, displaces, or supersedes the referenced resource + requires + The described resource requires the referenced resource to support its function, delivery, or coherence of content + + + + + + Identifies the type of relationship + + + + + + + + Identifies the type of relationship + othertype + The described resource has a non-standard relationship with the referenced resource + + + + A keyword that identififes the type of the non-standard relationship + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + bibliocoverage + The spatial or temporal coverage of a document + + + + dcmipoint + The DCMI Point identifies a point in space using its geographic coordinates + iso3166 + ISO 3166 Codes for the representation of names of countries + dcmibox + The DCMI Box identifies a region of space using its geographic limits + tgn + The Getty Thesaurus of Geographic Names + + + + + + Specifies the type of spatial coverage + + + + + + + + Specifies the type of spatial coverage + otherspatial + Identifies a non-standard type of coverage + + + + A keyword that identifies the type of non-standard coverage + + + + + + + + + + + + + dcmiperiod + A specification of the limits of a time interval + w3c-dtf + W3C Encoding rules for dates and times—a profile based on ISO 8601 + + + + + + Specifies the type of temporal coverage + + + + + + + + Specifies the type of temporal coverage + othertemporal + Specifies a non-standard type of coverage + + + + A keyword that identifies the type of non-standard coverage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + legalnotice + A statement of legal obligations or requirements + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + othercredit + A person or entity, other than an author or editor, credited in a document + + + + copyeditor + A copy editor + graphicdesigner + A graphic designer + other + Some other contributor + productioneditor + A production editor + technicaleditor + A technical editor + translator + A translator + indexer + An indexer + proofreader + A proof-reader + coverdesigner + A cover designer + interiordesigner + An interior designer + illustrator + An illustrator + reviewer + A reviewer + typesetter + A typesetter + conversion + A converter (a persons responsible for conversion, not an application) + + + + + + Identifies the nature of the contributor + + + + + + + Identifies the nature of the non-standard contribution + + + + + + + Identifies the nature of the contributor + other + Identifies a non-standard contribution + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + pagenums + The numbers of the pages in a book, for use in a bibliographic entry + + + + + + + + + + + + + + + + + + +
    + +
    + contrib + A summary of the contributions made to a document by a credited source + + + + + + + + + + + + + + + + + + +
    + +
    + honorific + The title of a person + + + + + + + + + + + + + + + + + + +
    + +
    + firstname + A given name of a person + + + + + + + + + + + + + + + + + + +
    + +
    + givenname + The given name of a person + + + + + + + + + + + + + + + + + + +
    + +
    + surname + An inherited or family name; in western cultures the last name + + + + + + + + + + + + + + + + + + +
    + +
    + lineage + The portion of a person's name indicating a relationship to ancestors + + + + + + + + + + + + + + + + + + +
    + +
    + othername + A component of a person's name that is not a first name, surname, or lineage + + + + + + + + + + + + + + + + + + +
    + +
    + printhistory + The printing history of a document + + + + + + + + + + + + + + + + + + + + +
    + +
    + pubdate + The date of publication of a document + + + + + + + + + + + + + + + + + + +
    + +
    + publisher + The publisher of a document + + + + + + + + + + + + + + + + + + + + + +
    + +
    + publishername + The name of the publisher of a document + + + + + + + + + + + + + + + + + + +
    + +
    + releaseinfo + Information about a particular release of a document + + + + + + + + + + + + + + + + + + +
    + +
    + revhistory + A history of the revisions to a document + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + revision + An entry describing a single revision in the history of the revisions to a document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + revnumber + A document revision number + + + + + + + + + + + + + + + + + + +
    + +
    + revremark + A description of a revision to a document + + + + + + + + + + + + + + + + + + +
    + +
    + revdescription + A extended description of a revision to a document + + + + + + + + + + + + + + + + + + + + +
    + +
    + seriesvolnums + Numbers of the volumes in a series of books + + + + + + + + + + + + + + + + + + +
    + +
    + volumenum + The volume number of a document in a set (as of books in a set or articles in a journal) + + + + + + + + + + + + + + + + + + +
    + +
    + issuenum + The number of an issue of a journal + + + + + + + + + + + + + + + + + + +
    + +
    + package + A software or application package + + + + + + + + + + + + + + + + + + +
    + +
    + email + An email address + + + + + + + + + + + + + + + + + + +
    + +
    + lineannotation + A comment on a line in a verbatim listing + + + + + + + + + + + + + + + + + + +
    + +
    + parameter + A value or a symbolic reference to a value + + + command + A command + function + A function + option + An option + + + + + Identifies the class of parameter + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    + replaceable + Content that may or must be replaced by the user + + + command + A command + function + A function + option + An option + parameter + A parameter + + + + + Identifies the nature of the replaceable text + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + uri + A Uniform Resource Identifier + + + + Identifies the type of URI specified + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + abbrev + An abbreviation, especially one followed by a period + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + acronym + An often pronounceable word made from the initial (or selected) letters of a name or phrase + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + citation + An inline bibliographic reference to another published work + + + + + + + + + + + + + + + + + + + + +
    + +
    + citerefentry + A citation to a reference page + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refentrytitle + The title of a reference page + + + + + + + + + + + + + + + + + + + + +
    + +
    + manvolnum + A reference volume number + + + + + + + + + + + + + + + + + + +
    + +
    + citetitle + The title of a cited work + + + article + An article + bbs + A bulletin board system + book + A book + cdrom + A CD-ROM + chapter + A chapter (as of a book) + dvd + A DVD + emailmessage + An email message + gopher + A gopher page + journal + A journal + manuscript + A manuscript + newsposting + A posting to a newsgroup + part + A part (as of a book) + refentry + A reference entry + section + A section (as of a book or article) + series + A series + set + A set (as of books) + webpage + A web page + wiki + A wiki page + + + + + Identifies the nature of the publication being cited + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + emphasis + Emphasized text + + + + + + + + + + + + + + + + + + + + +
    + +
    + emphasis + A limited span of emphasized text + + + + + + +
    + +
    + foreignphrase + A word or phrase in a language other than the primary language of the document + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + foreignphrase + A limited word or phrase in a language other than the primary language of the document + + + + + + + + + + + + + + + + + + +
    + +
    + phrase + A span of text + + + + + + + + + + + + + + + + + + + + +
    + +
    + phrase + A limited span of text + + + + + + +
    + +
    + quote + An inline quotation + + + + + + + + + + + + + + + + + + + + +
    + +
    + quote + A limited inline quotation + + + + + + + + + + + + + + + + + + +
    + +
    + subscript + A subscript (as in H2 +O, the molecular formula for water) + + + + + + + + + + + + + + + + + + +
    + +
    + superscript + A superscript (as in x2 +, the mathematical notation for x multiplied by itself) + + + + + + + + + + + + + + + + + + +
    + +
    + trademark + A trademark + + + copyright + A copyright + registered + A registered copyright + service + A service + trade + A trademark + + + + + Identifies the class of trade mark + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + wordasword + A word meant specifically as a word and not representing anything else + + + + + + + + + + + + + + + + + + +
    + +
    + footnoteref + A cross reference to a footnote (a footnote mark) + + + + + + + + + + + + + + + + + + + + + + + @linkend on footnoteref must point to a footnote. + + + + + + +
    + +
    + xref + A cross reference to another part of the document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + link + A hypertext link + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + olink + A link that addresses its target indirectly + + + + + + + + + Holds additional information that may be used by the application when resolving the link + + + + + Specifies the URI of the document in which the link target appears + + + + + + Specifies the location of the link target in the document + + + + + Identifies application-specific customization of the link behavior + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + anchor + A spot in the document + + + + + + + + + + + + + + + + + +
    + +
    + alt + A text-only annotation, often used for accessibility + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/product.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/product.rng new file mode 100644 index 0000000000..4435445781 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/product.rng @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + +
    + productname + The formal name of a product + + + + + + copyright + A name with a copyright + registered + A name with a registered copyright + service + A name of a service + trade + A name which is trademarked + + + + + Specifies the class of product name + + + + + + + + + + + + + + + + + + + + + +
    + +
    + productnumber + A number assigned to a product + + + + + + + + + + + + + + + + + + +
    + +
    + database + The name of a database, or part of a database + + + altkey + An alternate or secondary key + constraint + A constraint + datatype + A data type + field + A field + foreignkey + A foreign key + group + A group + index + An index + key1 + The first or primary key + key2 + An alternate or secondary key + name + A name + primarykey + The primary key + procedure + A (stored) procedure + record + A record + rule + A rule + secondarykey + The secondary key + table + A table + user + A user + view + A view + + + + + Identifies the class of database artifact + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + application + The name of a software program + + + hardware + A hardware application + software + A software application + + + + + Identifies the class of application + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + hardware + A physical part of a computer system + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/programming.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/programming.rng new file mode 100644 index 0000000000..6a14e9db7f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/programming.rng @@ -0,0 +1,1116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + synopsis + A general-purpose element for representing the syntax of commands or functions + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + funcsynopsis + The syntax summary for a function definition + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + funcsynopsisinfo + Information supplementing the funcdefs of a funcsynopsis + + + + + + + + + + + + + + + + + + + +
    + +
    + funcprototype + The prototype of a function + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + funcdef + A function (subroutine) name and its return type + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + function + The name of a function or subroutine, as in a programming language + + + + + + + + + + + + + + + + + + +
    + +
    + void + An empty element in a function synopsis indicating that the function in question takes no arguments + + + + + + + + + + + + + + + + + + +
    + +
    + varargs + An empty element in a function synopsis indicating a variable number of arguments + + + + + + + + + + + + + + + + + + +
    + +
    + group + A group of parameters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + paramdef + Information about a function parameter in a programming language + + + + + + opt + Formatted to indicate that it is optional. + req + Formatted to indicate that it is required. + + + + + Indicates optionality. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + funcparams + Parameters for a function referenced through a function pointer in a synopsis + + + + + + + + + + + + + + + + + + +
    + +
    + classsynopsis + The syntax summary for a class definition + + + + + + class + This is the synopsis of a class + interface + This is the synopsis of an interface + + + + + Specifies the nature of the synopsis + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + classsynopsisinfo + Information supplementing the contents of a classsynopsis + + + + + + + + + + + + + + + + + + + +
    + +
    + ooclass + A class in an object-oriented programming language + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + oointerface + An interface in an object-oriented programming language + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + ooexception + An exception in an object-oriented programming language + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Can be used to indicate that whitespace in the modifier should be preserved (for multi-line annotations, for example). + preserve + Extra whitespace and line breaks must be preserved. + + + +
    + modifier + Modifiers in a synopsis + + + + + + + + + + + + + + + + + + + + + +
    + +
    + interfacename + The name of an interface + + + + + + + + + + + + + + + + + + +
    + +
    + exceptionname + The name of an exception + + + + + + + + + + + + + + + + + + +
    + +
    + fieldsynopsis + The name of a field in a class definition + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + initializer + The initializer for a fieldsynopsis + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + constructorsynopsis + A syntax summary for a constructor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + destructorsynopsis + A syntax summary for a destructor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + methodsynopsis + A syntax summary for a method + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + methodname + The name of a method + + + + + + + + + + + + + + + + + + +
    + +
    + methodparam + Parameters to a method + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + group + A group of method parameters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + varname + The name of a variable + + + + + + + + + + + + + + + + + + +
    + +
    + returnvalue + The value returned by a function + + + + + + + + + + + + + + + + + + +
    + +
    + type + The classification of a value + + + + + + + + + + + + + + + + + + +
    + +
    + classname + The name of a class, in the object-oriented programming sense + + + + + + + + + + + + + + + + + + +
    + +
    + programlisting + A literal listing of all or part of a program + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/qandaset.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/qandaset.rng new file mode 100644 index 0000000000..5fe93f6b98 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/qandaset.rng @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + +
    + qandaset + A question-and-answer set + + + + + + none + No labels + number + Numeric labels + qanda + "Q:" and "A:" labels + + + + + Specifies the default labelling + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + qandadiv + A titled division in a qandaset + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + qandaentry + A question/answer set within a qandaset + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + question + A question in a qandaset + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + answer + An answer to a question posed in a qandaset + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + label + A label on a question or answer + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refentry.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refentry.rng new file mode 100644 index 0000000000..1560550f20 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refentry.rng @@ -0,0 +1,488 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + reference + A collection of reference entries + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refentry + A reference page (originally a UNIX man-style reference page) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refmeta + Meta-information for a reference entry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + source + The name of the software product or component to which this topic applies + version + The version of the software product or component to which this topic applies + manual + The section title of the reference page (e.g., User Commands) + sectdesc + The section title of the reference page (believed synonymous with "manual" but in wide use) + software + The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use) + + + + + + Identifies the kind of miscellaneous information + + + + + + + Identifies the nature of non-standard miscellaneous information + + + + + + Identifies the kind of miscellaneious information + other + Indicates that the information is some 'other' kind. + + + + + + + + + + + +
    + refmiscinfo + Meta-information for a reference entry other than the title and volume number + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refnamediv + The name, purpose, and classification of a reference page + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refdescriptor + A description of the topic of a reference page + + + + + + + + + + + + + + + + + + + + +
    + +
    + refname + The name of (one of) the subject(s) of a reference page + + + + + + + + + + + + + + + + + + + + +
    + +
    + refpurpose + A short (one sentence) synopsis of the topic of a reference page + + + + + + + + + + + + + + + + + + + + +
    + +
    + refclass + The scope or other indication of applicability of a reference entry + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refsynopsisdiv + A syntactic synopsis of the subject of the reference page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refsection + A recursive section in a refentry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refsect1.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refsect1.rng new file mode 100644 index 0000000000..fb921b8631 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/refsect1.rng @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + refsect1 + A major subsection of a reference entry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + refsect2 + A subsection of a refsect1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + refsect3 + A subsection of a refsect2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/sect1.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/sect1.rng new file mode 100644 index 0000000000..b5d67e3426 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/sect1.rng @@ -0,0 +1,360 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + sect1 + A top-level section of document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    + sect2 + A subsection within a sect1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    + sect3 + A subsection within a sect2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + +
    + sect4 + A subsection within a sect3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + +
    + sect5 + A subsection within a sect4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rnc b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rnc new file mode 100644 index 0000000000..4d37f6f710 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rnc @@ -0,0 +1,206 @@ +namespace db = "http://docbook.org/ns/docbook" +namespace mml = "http://www.w3.org/1998/Math/MathML" +namespace svg = "http://www.w3.org/2000/svg" +default namespace dbs = "http://docbook.org/ns/docbook-slides" + +# See http://docbook.org/ns/docbook-slides + +# This file is part of DocBook Slides V5.0 +# +# Copyright 2012 Gabor Kovesdan +# +# Release: $Id$ +# +# Permission to use, copy, modify and distribute the DocBook Slides +# schema and its accompanying documentation for any purpose and without +# fee is hereby granted in perpetuity, provided that the above copyright +# notice and this paragraph appear in all copies. The copyright +# holders make no representation about the suitability of the schema +# for any purpose. It is provided "as is" without expressed or implied +# warranty. +# +# If you modify the DocBook Slides schema in any way, label your schema +# as a variant of DocBook Slides. See the reference documentation +# (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +# for more information. +# +# Please direct all questions, bug reports, or suggestions for changes +# to the docbook@lists.oasis-open.org mailing list. For more +# information, see http://www.oasis-open.org/docbook/. +# +# ====================================================================== + +include "../../../../docbook/relaxng/docbook/docbook/docbook.rnc" inherit = db { + start = dbs.slides + + # Avoid ID clashes + db._any.attribute = attribute * - (xml:id | linkend) { text } + + db.common.attributes = + db.xml.id.attribute? + & db.common.base.attributes + & db.annotations.attribute? + & dbs.style.attributes? + + # Any element and attribute from the SVG namespace + db._any.svg = + element svg:* { (dbs._any.attribute | text | db._any)* } + + # Any element and attribute from the MathML namespace + db._any.mml = + element mml:* { (dbs._any.attribute | text | db._any)* } +} + +# Any attribute from any namespace +dbs._any.attribute = attribute * { text } + +dbs.all.content = db.all.blocks? & + dbs.speakernotes & + dbs.handoutnotes & + db._any.svg? & + db._any.mml? & + dbs.block? + +dbs.block = + ## Indicates a formatting block that can have its own styling applied + element block { dbs.block.attlist, + dbs.all.content* +} + +dbs.block.role.attribute = + ## Role attribute for the block element + attribute role { text } + +dbs.block.status.attribute = + ## Status attribute for the block element + db.status.attribute + +dbs.block.attlist = dbs.block.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & dbs.block.status.attribute? + +dbs.slides = + ## Root element of a slides document + element slides { dbs.slides.attlist, + db._info.title.req, + dbs.speakernotes?, + dbs.handoutnotes?, + ( + dbs.foil? & + dbs.foilgroup? + )* +} + +dbs.slides.role.attribute = + ## Role attribute for the slides element + attribute role { text } + +dbs.slides.status.attribute = + ## Status attribute for the slides element + db.status.attribute + +dbs.slides.attlist = dbs.slides.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & dbs.slides.status.attribute? + +dbs.foilgroup = element foilgroup { + dbs.foilgroup.attlist, + db._info.title.req, + dbs.all.content*, + dbs.foil+ +} + +dbs.foilgroup.role.attribute = + ## Role attribute for the foilgroup element + attribute role { text } + +dbs.foilgroup.status.attribute = + ## Status attribute for the foilgroup element + db.status.attribute + +dbs.foilgroup.attlist = dbs.foilgroup.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & dbs.slides.status.attribute? + +dbs.foil = + ## Indicates a foil that may have some info and content + element foil { dbs.foil.attlist, + db._info.title.req, + dbs.all.content*, + db.navigation.components* +} + +dbs.foil.role.attribute = + ## Role attribute for the foil element + attribute role { text } + +dbs.foil.status.attribute = + ## Status attribute for the foil element + db.status.attribute + +dbs.foil.attlist = dbs.foil.role.attribute? + & db.common.attributes + & db.common.linking.attributes + & db.label.attribute? + & dbs.foil.status.attribute? + +dbs.speakernotes = + ## Indicates notes for the speaker + element speakernotes { dbs.speakernotes.attlist, + db.all.blocks+ +} + +dbs.speakernotes.role.attribute = + ## Role attribute for the speakernotes element + attribute role { text } + +dbs.speakernotes.attlist = dbs.speakernotes.role.attribute? + & db.common.attributes + & db.common.linking.attributes + +dbs.handoutnotes = + ## Indicates notes that are meant for printed copies + element handoutnotes { dbs.handoutnotes.attlist, + db.all.blocks+ +} + +## Role attribute for the handoutnotes element +dbs.handoutnotes.role.attribute = + ## Role attribute for the handoutnotes element + attribute role { text } + +dbs.handoutnotes.attlist = dbs.handoutnotes.role.attribute? + & db.common.attributes + & db.common.linking.attributes + +dbs.style.attributes = dbs.incremental.attribute? + & dbs.collapsible.attribute? + & dbs.style.attribute? + +dbs.incremental.attribute = + ## Attribute indicating an incremental part + attribute dbs:incremental { + ## disabled + "0" | + ## enabled + "1" } + +dbs.collapsible.attribute = + ## Attribute indicating a collapsible part + attribute dbs:collapsible { + ## disabled + "0" | + ## enabled + "1" | + ## enabled and expanded by default + "expanded" } + +dbs.style.attribute = + ## Attribute indicating a formatting style class + attribute dbs:style { text } diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rng new file mode 100644 index 0000000000..9a38eb1502 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/slides.rng @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + xml:id + linkend + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates a formatting block that can have its own styling applied + block + + + + + + + + + Role attribute for the block element + + + + + Status attribute for the block element + + + + + + + + + + + + + + + + + + + + Root element of a slides document + slides + + + + + + + + + + + + + + + + + + + + + + + Role attribute for the slides element + + + + + Status attribute for the slides element + + + + + + + + + + + + + + + + + + + + foilgroup + + + + + + + + + + + + + Role attribute for the foilgroup element + + + + + Status attribute for the foilgroup element + + + + + + + + + + + + + + + + + + + + Indicates a foil that may have some info and content + foil + + + + + + + + + + + + + Role attribute for the foil element + + + + + Status attribute for the foil element + + + + + + + + + + + + + + + + + + + + Indicates notes for the speaker + speakernotes + + + + + + + + + Role attribute for the speakernotes element + + + + + + + + + + + + + + Indicates notes that are meant for printed copies + handoutnotes + + + + + + + + Role attribute for the handoutnotes element + + Role attribute for the handoutnotes element + + + + + + + + + + + + + + + + + + + + + + + + + + + Attribute indicating an incremental part + + 0 + disabled + 1 + enabled + + + + + + Attribute indicating a collapsible part + + 0 + disabled + 1 + enabled + expanded + enabled and expanded by default + + + + + + Attribute indicating a formatting style class + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/svg.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/svg.rng new file mode 100644 index 0000000000..c7d830c072 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/svg.rng @@ -0,0 +1,112 @@ + + + + + + + +
    + imagedata + An SVG drawing in a media object + + + + + + + + + + + + Specifies that the format of the data is SVG + svg + Specifies SVG. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + svg:* + Any element from the SVG namespace + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/tasks.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/tasks.rng new file mode 100644 index 0000000000..5d5c40ddff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/tasks.rng @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + +
    + task + A task to be completed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tasksummary + A summary of a task + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + taskprerequisites + The prerequisites for a task + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + taskrelated + Information related to a task + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/technical.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/technical.rng new file mode 100644 index 0000000000..4925f5968f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/technical.rng @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + +
    + systemitem + A system-related item or term + + + daemon + A daemon or other system process (syslogd) + domainname + A domain name (example.com) + etheraddress + An ethernet address (00:05:4E:49:FD:8E) + event + An event of some sort (SIGHUP) + eventhandler + An event handler of some sort (hangup) + filesystem + A filesystem (ext3) + fqdomainname + A fully qualified domain name (my.example.com) + groupname + A group name (wheel) + ipaddress + An IP address (127.0.0.1) + library + A library (libncurses) + macro + A macro + netmask + A netmask (255.255.255.192) + newsgroup + A newsgroup (comp.text.xml) + osname + An operating system name (Hurd) + process + A process (gnome-cups-icon) + protocol + A protocol (ftp) + resource + A resource + securitycontext + A security context (a role, permission, or security token, for example) + server + A server (mail.example.com) + service + A service (ppp) + systemname + A system name (hephaistos) + username + A user name (ndw) + + + + + + Identifies the nature of the system item + + + + + + + Identifies the nature of the non-standard system item + + + + + + + Identifies the kind of systemitemgraphic identifier + other + Indicates that the system item is some 'other' kind. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + option + An option for a software command + + + + + + + + + + + + + + + + + + +
    + +
    + optional + Optional information + + + + + + + + + + + + + + + + + + +
    + +
    + property + A unit of data associated with some part of a computer system + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/toc.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/toc.rng new file mode 100644 index 0000000000..4394b0f2b1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/toc.rng @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + Indicates the page on which this element occurs in some version of the printed document + + + +
    + toc + A table of contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tocdiv + A division in a table of contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + tocentry + A component title in a table of contents + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/topic.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/topic.rng new file mode 100644 index 0000000000..4e683c18f5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/topic.rng @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + topic + A modular unit of documentation not part of any particular narrative flow + + + + + + + + + Identifies the topic type + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/xlink.rng b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/xlink.rng new file mode 100644 index 0000000000..3b1240f4cb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/relaxng/xlink.rng @@ -0,0 +1,182 @@ + + + + + + + + + Specifies the XLink traversal-from + + + + + + Specifies the XLink label + + + + + + Specifies the XLink traversal-to + + + + +
    + extendedlink + An XLink extended link + + + + + + + + + + + + Identifies the XLink link type + extended + An XLink extended link + + + + + + + + + + + + + + + + + + + + + +
    + +
    + locator + An XLink locator in an extendedlink + + + + + + + + + + + + + Identifies the XLink link type + locator + An XLink locator link + + + + + + + + + + + + + + + + + + + + +
    + +
    + arc + An XLink arc in an extendedlink + + + + + + + + + + + + + Identifies the XLink link type + arc + An XLink arc link + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/admonitions.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/admonitions.xsd new file mode 100644 index 0000000000..7bda3625c1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/admonitions.xsd @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/annotations.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/annotations.xsd new file mode 100644 index 0000000000..173daeb572 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/annotations.xsd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/bibliography.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/bibliography.xsd new file mode 100644 index 0000000000..1a37beff3c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/bibliography.xsd @@ -0,0 +1,289 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/callouts.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/callouts.xsd new file mode 100644 index 0000000000..2205a32046 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/callouts.xsd @@ -0,0 +1,406 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Coordinates expressed as a pair of CALS graphic coordinates. + + + + + Coordinates expressed as a line and column. + + + + + Coordinates expressed as a pair of lines and columns. + + + + + Coordinates expressed as a line range. + + + + + + + + + + + + + + Coordinates expressed in some non-standard units. + + + + + + + + + + + + + + + + Coordinates expressed in some non-standard units. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/calstbl.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/calstbl.xsd new file mode 100644 index 0000000000..bf1b4477dc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/calstbl.xsd @@ -0,0 +1,1425 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + + + + + Frame only the bottom of the table. + + + + + Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + + + + + Frame the left and right sides of the table. + + + + + Frame the top of the table. + + + + + Frame the top and bottom of the table. + + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + + + 90 degrees counter-clockwise from the rest of the text flow. + + + + + The same orientation as the rest of the text flow. + + + + + + + + + + + + + + + + Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + + + + + Indicates that entries in the first column have no special significance with respect to column headers. + + + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Do not rotate the cell. + + + + + Rotate the cell 90 degrees counter-clockwise. + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Do not rotate the cell. + + + + + Rotate the cell 90 degrees counter-clockwise. + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Centered. + + + + + Aligned on a particular character. + + + + + Left and right justified. + + + + + Left justified. + + + + + Right justified. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Aligned on the bottom of the entry. + + + + + Aligned in the middle. + + + + + Aligned at the top of the entry. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 degrees counter-clockwise from the rest of the text flow. + + + + + The same orientation as the rest of the text flow. + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + + + + + Frame only the bottom of the table. + + + + + Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + + + + + Frame the left and right sides of the table. + + + + + Frame the top of the table. + + + + + Frame the top and bottom of the table. + + + + + + + + + + + + Indicates that the full title should be used. + + + + + Indicates that the short short title (titleabbrev) should be used. + + + + + + + + + + + Indicates that the table should not occur in the List of Tables. + + + + + Indicates that the table should appear in the List of Tables. + + + + + + + + + + + Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + + + + + Indicates that entries in the first column have no special significance with respect to column headers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 degrees counter-clockwise from the rest of the text flow. + + + + + The same orientation as the rest of the text flow. + + + + + + + + + + + No column separator rule. + + + + + Provide a column separator rule on the right + + + + + + + + + + + No row separator rule. + + + + + Provide a row separator rule below + + + + + + + + + + + Frame all four sides of the table. In some environments with limited control over table border formatting, such as HTML, this may imply additional borders. + + + + + Frame only the bottom of the table. + + + + + Place no border on the table. In some environments with limited control over table border formatting, such as HTML, this may disable other borders as well. + + + + + Frame the left and right sides of the table. + + + + + Frame the top of the table. + + + + + Frame the top and bottom of the table. + + + + + + + + + + + + Indicates that entries in the first column of the table are functionally row headers (analogous to the way that a thead provides column headers). + + + + + Indicates that entries in the first column have no special significance with respect to column headers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/core.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/core.xsd new file mode 100644 index 0000000000..12e7d645e7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/core.xsd @@ -0,0 +1,36 @@ + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/db.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/db.xsd new file mode 100644 index 0000000000..11664053d7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/db.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook.xsd new file mode 100644 index 0000000000..9fe8fad833 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook.xsd @@ -0,0 +1,37 @@ + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook1.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook1.xsd new file mode 100644 index 0000000000..50669f7074 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/docbook1.xsd @@ -0,0 +1,37 @@ + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/ebnf.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/ebnf.xsd new file mode 100644 index 0000000000..08a5f144ac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/ebnf.xsd @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/error.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/error.xsd new file mode 100644 index 0000000000..3b08196ef5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/error.xsd @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/glossary.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/glossary.xsd new file mode 100644 index 0000000000..9a11e84044 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/glossary.xsd @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/gui.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/gui.xsd new file mode 100644 index 0000000000..56fdb04ee5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/gui.xsd @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/hier.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/hier.xsd new file mode 100644 index 0000000000..59a975045f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/hier.xsd @@ -0,0 +1,606 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A collection of frequently asked questions. + + + + + An article in a journal or other periodical. + + + + + A description of a product. + + + + + A specification. + + + + + A technical report. + + + + + A white paper. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/htmltbl.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/htmltbl.xsd new file mode 100644 index 0000000000..61c68a4ecd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/htmltbl.xsd @@ -0,0 +1,536 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Left-flush data/Left-justify text. This is the default value for table data. + + + + + Center data/Center-justify text. This is the default value for table headers. + + + + + Right-flush data/Right-justify text. + + + + + Double-justify text. + + + + + Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. + + + + + + + + + + + + + + + + + + + + + + + + + Cell data is flush with the top of the cell. + + + + + Cell data is centered vertically within the cell. This is the default value. + + + + + Cell data is flush with the bottom of the cell. + + + + + All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells. + + + + + + + + + + + + + + + + + + + + + + + + + + No sides. This is the default value. + + + + + The top side only. + + + + + The bottom side only. + + + + + The top and bottom sides only. + + + + + The left-hand side only. + + + + + The right-hand side only. + + + + + The right and left sides only. + + + + + All four sides. + + + + + All four sides. + + + + + + + + + + + No rules. This is the default value. + + + + + Rules will appear between row groups (see thead, tfoot, and tbody) and column groups (see colgroup and col) only. + + + + + Rules will appear between rows only. + + + + + Rules will appear between columns only. + + + + + Rules will appear between all rows and columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The current cell provides header information for the rest of the row that contains it + + + + + The current cell provides header information for the rest of the column that contains it. + + + + + The header cell provides header information for the rest of the row group that contains it. + + + + + The header cell provides header information for the rest of the column group that contains it. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 90 degrees counter-clockwise from the rest of the text flow. + + + + + The same orientation as the rest of the text flow. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/index.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/index.xsd new file mode 100644 index 0000000000..3635f952f8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/index.xsd @@ -0,0 +1,537 @@ + + + + + + + + + + + + Normal + + + + + Preferred + + + + + + + + + + + + + + + + + + All indexes + + + + + The global index (as for a combined index of a set of books) + + + + + The local index (the index for this document only) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A singular index term + + + + + + + + + + + + + + + + + + + + + A singular index term + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The start of a range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The end of a range + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/keyboard.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/keyboard.xsd new file mode 100644 index 0000000000..26ca4d79a9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/keyboard.xsd @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + The "Alt" key + + + + + The "Backspace" key + + + + + The "Command" key + + + + + The "Control" key + + + + + The "Delete" key + + + + + The down arrow + + + + + The "End" key + + + + + The "Enter" or "Return" key + + + + + The "Escape" key + + + + + The "Home" key + + + + + The "Insert" key + + + + + The left arrow + + + + + The "Meta" key + + + + + The "Option" key + + + + + The page down key + + + + + The page up key + + + + + The right arrow + + + + + The "Shift" key + + + + + The spacebar + + + + + The "Tab" key + + + + + The up arrow + + + + + + + + + + + + + + Indicates a non-standard function key + + + + + + + + + + + + + + + + Indicates a non-standard function key + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A (single) mouse click. + + + + + A double mouse click. + + + + + A mouse or key press. + + + + + Sequential clicks or presses. + + + + + Simultaneous clicks or presses. + + + + + + + + + + + + + + Indicates a non-standard action + + + + + + + + + + + + + + + + Indicates a non-standard action + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/markup.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/markup.xsd new file mode 100644 index 0000000000..d550bd5d3a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/markup.xsd @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An attribute + + + + + An attribute value + + + + + An element + + + + + An empty element tag + + + + + An end tag + + + + + A general entity + + + + + The local name part of a qualified name + + + + + A namespace + + + + + A numeric character reference + + + + + A parameter entity + + + + + A processing instruction + + + + + The prefix part of a qualified name + + + + + An SGML comment + + + + + A start tag + + + + + An XML processing instruction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The value is a limit of some kind + + + + + + + + + + + + + + + + + + + The value is a limit of some kind + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The value is a limit of some kind + + + + + + + + + + + + + + + + + + + The value is a limit of some kind + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/math.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/math.xsd new file mode 100644 index 0000000000..032568a990 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/math.xsd @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/mathml.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/mathml.xsd new file mode 100644 index 0000000000..9814b90a9c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/mathml.xsd @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + Specifies MathML. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/msgset.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/msgset.xsd new file mode 100644 index 0000000000..c7f8bb0c9e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/msgset.xsd @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/os.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/os.xsd new file mode 100644 index 0000000000..8bd46d0aa8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/os.xsd @@ -0,0 +1,369 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A device + + + + + A directory + + + + + A filename extension + + + + + A header file (as for a programming language) + + + + + A library file + + + + + A partition (as of a hard disk) + + + + + A symbolic link + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can not be repeated. + + + + + Can be repeated. + + + + + + + + + + + + Formatted to indicate that it is optional. + + + + + Formatted without indication. + + + + + Formatted to indicate that it is required. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/pool.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/pool.xsd new file mode 100644 index 0000000000..c0ecb6ec53 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/pool.xsd @@ -0,0 +1,4834 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context. + + + + + An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded. + + + + + An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource. + + + + + The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior. + + + + + The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + + + + + + + + + + + + An application should traverse to the ending resource immediately on loading the starting resource. + + + + + An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. + + + + + The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior. + + + + + The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The element has been changed. + + + + + The element is new (has been added to the document). + + + + + The element has been deleted. + + + + + Explicitly turns off revision markup for this element. + + + + + + + + + + + + Left-to-right text + + + + + Right-to-left text + + + + + Left-to-right override + + + + + Right-to-left override + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Line numbering continues from the immediately preceding element with the same name. + + + + + Line numbering restarts (begins at 1, usually). + + + + + + + + + + + + Lines are numbered. + + + + + Lines are not numbered. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The spacing should be "compact". + + + + + The spacing should be "normal". + + + + + + + + + + + + The element should be rendered in the current text flow (with the flow column width). + + + + + The element should be rendered across the full text page. + + + + + + + + + + + + + + + The content describes an optional step or steps. + + + + + The content describes a required step or steps. + + + + + + + + + + + + + + + + + + + + + + + + + + + False (do not scale-to-fit; anamorphic scaling may occur) + + + + + True (scale-to-fit; anamorphic scaling is forbidden) + + + + + + + + + + + + + Centered horizontally + + + + + Aligned horizontally on the specified character + + + + + Fully justified (left and right margins or edges) + + + + + Left aligned + + + + + Right aligned + + + + + + + + + Aligned on the bottom of the region + + + + + Centered vertically + + + + + Aligned on the top of the region + + + + + + + + + + A digital object identifier. + + + + + An international standard book number. + + + + + An international standard technical report number (ISO 10444). + + + + + An international standard serial number. + + + + + A Library of Congress reference number. + + + + + A publication number (an internal number or possibly organizational standard). + + + + + A Uniform Resource Identifier + + + + + + + + + + + + + + + + + Indicates that the identifier is some 'other' kind. + + + + + + + + + + + + + + + + Indicates that the identifier is some 'other' kind. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Render as a first-level section + + + + + Render as a second-level section + + + + + Render as a third-level section + + + + + Render as a fourth-level section + + + + + Render as a fifth-level section + + + + + + + + + + + + + + + + + Identifies a non-standard rendering + + + + + + + + + + + + + + + + Identifies a non-standard rendering + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Specifies that numbering should begin where the preceding list left off + + + + + Specifies that numbering should begin again at 1 + + + + + + + + + + + + + + + Specifies that numbering should ignore list nesting + + + + + Specifies that numbering should inherit from outer-level lists + + + + + + + + + + + + Specifies Arabic numeration (1, 2, 3, …) + + + + + Specifies upper-case alphabetic numeration (A, B, C, …) + + + + + Specifies lower-case alphabetic numeration (a, b, c, …) + + + + + Specifies upper-case Roman numeration (I, II, III, …) + + + + + Specifies lower-case Roman numeration (i, ii, iii …) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A tabular presentation in row-major order. + + + + + A tabular presentation in column-major order. + + + + + An inline presentation, usually a comma-delimited list. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The literal layout should be formatted with a monospaced font + + + + + The literal layout should be formatted with the current font + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A consortium + + + + + A corporation + + + + + An informal organization + + + + + A non-profit organization + + + + + + + + + + + + + + Indicates a non-standard organization class + + + + + + + + + + + + + + + + Indicates a non-standard organization class + + + + + + + + + + + + + + + + + + + + + + + + Indicates a non-standard organization class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The described resource pre-existed the referenced resource, which is essentially the same intellectual content presented in another format + + + + + The described resource includes the referenced resource either physically or logically + + + + + The described resource has a version, edition, or adaptation, namely, the referenced resource + + + + + The described resource is the same intellectual content of the referenced resource, but presented in another format + + + + + The described resource is a physical or logical part of the referenced resource + + + + + The described resource is referenced, cited, or otherwise pointed to by the referenced resource + + + + + The described resource is supplanted, displaced, or superceded by the referenced resource + + + + + The described resource is required by the referenced resource, either physically or logically + + + + + The described resource is a version, edition, or adaptation of the referenced resource; changes in version imply substantive changes in content rather than differences in format + + + + + The described resource references, cites, or otherwise points to the referenced resource + + + + + The described resource supplants, displaces, or supersedes the referenced resource + + + + + The described resource requires the referenced resource to support its function, delivery, or coherence of content + + + + + + + + + + + + + + The described resource has a non-standard relationship with the referenced resource + + + + + + + + + + + + + + + + The described resource has a non-standard relationship with the referenced resource + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The DCMI Point identifies a point in space using its geographic coordinates + + + + + ISO 3166 Codes for the representation of names of countries + + + + + The DCMI Box identifies a region of space using its geographic limits + + + + + The Getty Thesaurus of Geographic Names + + + + + + + + + + + + + + Identifies a non-standard type of coverage + + + + + + + + + + + + + + + + Identifies a non-standard type of coverage + + + + + + + + + + + + + + A specification of the limits of a time interval + + + + + W3C Encoding rules for dates and times—a profile based on ISO 8601 + + + + + + + + + + + + + + Specifies a non-standard type of coverage + + + + + + + + + + + + + + + + Specifies a non-standard type of coverage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A copy editor + + + + + A graphic designer + + + + + Some other contributor + + + + + A production editor + + + + + A technical editor + + + + + A translator + + + + + An indexer + + + + + A proof-reader + + + + + A cover designer + + + + + An interior designer + + + + + An illustrator + + + + + A reviewer + + + + + A typesetter + + + + + A converter (a persons responsible for conversion, not an application) + + + + + + + + + + + + + + + + + Identifies a non-standard contribution + + + + + + + + + + + + + + + + Identifies a non-standard contribution + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A command + + + + + A function + + + + + An option + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A command + + + + + A function + + + + + An option + + + + + A parameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An article + + + + + A bulletin board system + + + + + A book + + + + + A CD-ROM + + + + + A chapter (as of a book) + + + + + A DVD + + + + + An email message + + + + + A gopher page + + + + + A journal + + + + + A manuscript + + + + + A posting to a newsgroup + + + + + A part (as of a book) + + + + + A reference entry + + + + + A section (as of a book or article) + + + + + A series + + + + + A set (as of books) + + + + + A web page + + + + + A wiki page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A copyright + + + + + A registered copyright + + + + + A service + + + + + A trademark + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/product.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/product.xsd new file mode 100644 index 0000000000..097f3e7c15 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/product.xsd @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + A name with a copyright + + + + + A name with a registered copyright + + + + + A name of a service + + + + + A name which is trademarked + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An alternate or secondary key + + + + + A constraint + + + + + A data type + + + + + A field + + + + + A foreign key + + + + + A group + + + + + An index + + + + + The first or primary key + + + + + An alternate or secondary key + + + + + A name + + + + + The primary key + + + + + A (stored) procedure + + + + + A record + + + + + A rule + + + + + The secondary key + + + + + A table + + + + + A user + + + + + A view + + + + + + + + + + + + + + + + + + + + + + + + + + + + A hardware application + + + + + A software application + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/programming.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/programming.xsd new file mode 100644 index 0000000000..225920c85e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/programming.xsd @@ -0,0 +1,749 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Formatted to indicate that it is optional. + + + + + Formatted to indicate that it is required. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is the synopsis of a class + + + + + This is the synopsis of an interface + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/qandaset.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/qandaset.xsd new file mode 100644 index 0000000000..6bb9ee2aa3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/qandaset.xsd @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + No labels + + + + + Numeric labels + + + + + "Q:" and "A:" labels + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refentry.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refentry.xsd new file mode 100644 index 0000000000..4c0aa838a5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refentry.xsd @@ -0,0 +1,361 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The name of the software product or component to which this topic applies + + + + + The version of the software product or component to which this topic applies + + + + + The section title of the reference page (e.g., User Commands) + + + + + The section title of the reference page (believed synonymous with "manual" but in wide use) + + + + + The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use) + + + + + + + + + + + + + + + + + Indicates that the information is some 'other' kind. + + + + + + + + + + + + + + + + Indicates that the information is some 'other' kind. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refsect1.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refsect1.xsd new file mode 100644 index 0000000000..f0d984c0a1 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/refsect1.xsd @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/sect1.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/sect1.xsd new file mode 100644 index 0000000000..2fbff4d139 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/sect1.xsd @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/slides.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/slides.xsd new file mode 100644 index 0000000000..01f819e8ba --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/slides.xsd @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Indicates a formatting block that can have its own styling applied + + + + + + + + + + Role attribute for the block element + + + + + + + + + + Role attribute for the block element + + + + + + + + + + Root element of a slides document + + + + + + + + + + + + + + + + + + Role attribute for the slides element + + + + + + + + + + Role attribute for the slides element + + + + + + + + + + + + + + + + + + + + + Role attribute for the foilgroup element + + + + + + + + + + Role attribute for the foilgroup element + + + + + + + + + + Indicates a foil that may have some info and content + + + + + + + + + + + + + + Role attribute for the foil element + + + + + + + + + + Role attribute for the foil element + + + + + + + + + + Indicates notes for the speaker + + + + + + + + + + Role attribute for the speakernotes element + + + + + + + Role attribute for the speakernotes element + + + + + + + + Indicates notes that are meant for printed copies + + + + + + + + + Role attribute for the handoutnotes element + + + + Role attribute for the handoutnotes element + + + + + + + Role attribute for the handoutnotes element + + + + + + + + + Attribute indicating an incremental part + + + + + + disabled + + + + + enabled + + + + + + + + Attribute indicating a collapsible part + + + + + + disabled + + + + + enabled + + + + + enabled and expanded by default + + + + + + + + Attribute indicating a formatting style class + + + + + + + Attribute indicating an incremental part + + + + + + disabled + + + + + enabled + + + + + + + + + + Attribute indicating a collapsible part + + + + + + disabled + + + + + enabled + + + + + enabled and expanded by default + + + + + + + + + + Attribute indicating a formatting style class + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/svg.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/svg.xsd new file mode 100644 index 0000000000..d6dfbf6e1d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/svg.xsd @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + Specifies SVG. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/tasks.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/tasks.xsd new file mode 100644 index 0000000000..beb1996e81 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/tasks.xsd @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/technical.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/technical.xsd new file mode 100644 index 0000000000..51cf9307c3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/technical.xsd @@ -0,0 +1,250 @@ + + + + + + + + + + + + + A daemon or other system process (syslogd) + + + + + A domain name (example.com) + + + + + An ethernet address (00:05:4E:49:FD:8E) + + + + + An event of some sort (SIGHUP) + + + + + An event handler of some sort (hangup) + + + + + A filesystem (ext3) + + + + + A fully qualified domain name (my.example.com) + + + + + A group name (wheel) + + + + + An IP address (127.0.0.1) + + + + + A library (libncurses) + + + + + A macro + + + + + A netmask (255.255.255.192) + + + + + A newsgroup (comp.text.xml) + + + + + An operating system name (Hurd) + + + + + A process (gnome-cups-icon) + + + + + A protocol (ftp) + + + + + A resource + + + + + A security context (a role, permission, or security token, for example) + + + + + A server (mail.example.com) + + + + + A service (ppp) + + + + + A system name (hephaistos) + + + + + A user name (ndw) + + + + + + + + + + + + + + + + + Indicates that the system item is some 'other' kind. + + + + + + + + + + + + + + + + Indicates that the system item is some 'other' kind. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/toc.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/toc.xsd new file mode 100644 index 0000000000..630a3fac41 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/toc.xsd @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/topic.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/topic.xsd new file mode 100644 index 0000000000..f20c894d33 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/topic.xsd @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink.xsd new file mode 100644 index 0000000000..28558d32c9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink.xsd @@ -0,0 +1,67 @@ + + + + + + + + + + + + + An XLink simple link + + + + + + + + + + + + + + + + + + + + + An XLink extended link + + + + + + + + + + + + + An XLink locator link + + + + + + + + + + + + + An XLink arc link + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink1.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink1.xsd new file mode 100644 index 0000000000..100eff8dc8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xlink1.xsd @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xml.xsd b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xml.xsd new file mode 100644 index 0000000000..24c87a9fb0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/schema/xsd/xml.xsd @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + Whitespace must be preserved. + + + + + + + + + + + + + Extra whitespace and line breaks must be preserved. + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/.htaccess b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/.htaccess new file mode 100755 index 0000000000..d395348aee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/.htaccess @@ -0,0 +1,28 @@ +Options +MultiViews +LanguagePriority en +AddLanguage pt-br .pt-br + + + +ForceType 'text/html; charset=utf-8' + + + + + +ForceType 'application/xhtml+xml; charset=utf-8' + + + + + +ForceType 'text/css; charset=utf-8' + + + + + +ForceType 'text/javascript; charset=utf-8' + + +mkdir diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.html b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.html new file mode 100755 index 0000000000..69f72f6351 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.html @@ -0,0 +1,911 @@ + + + + +HTML Slidy + + + + + + + + + +
    + +
    +slanted W3C logo +
    +
    + + + + + + + + + + + + + +Cover page images (keys)
    +

    HTML Slidy: Slide Shows in HTML and XHTML

    + +

    Dave Raggett, +<dsr@w3.org>
    +
    +
    +
    +
    Hit the space bar or swipe left for next slide

    +
    + +
    +

    Slide Shows in HTML and XHTML

    + +
      +
    • You can now create accessible slide shows with ease
    • + +
    • Works across browsers and is operated like PowerPoint + +
        +
      • Advance to next slide with mouse click, space bar or swipe left
      • + +
      • Move forward/backward between slides with Cursor Left, +Cursor Right, Pg Up and Pg Dn +keys, or swipe left or right
      • + +
      • Home key for first slide, End + key for last slide
      • + +
      • The "C" key for an automatically generated +table of contents, or click on "contents" on the toolbar or +swipe up or down
      • + +
      • Function F11 to go full screen and back
      • + +
      • The "F" key toggles the display of the footer
      • + +
      • The "A" key toggles display of current vs all +slides + +
          +
        • Try it now to see how to include notes for handouts (this is +explained in the notes following this slide)
        • +
        +
      • + +
      • Font sizes automatically adapt to browser window size + +
          +
        • use S and B keys for +manual control (or < and >, or the - and ++ keys on the number pad
        • +
        • Use CSS to set a relative font size on a given slide to make +the content bigger or smaller than on other slides
        • +
        +
      • + +
      • Switching off JavaScript reveals all slides
      • +
      +
    • + +
    • Now move to next slide to see how it works
    • +
    + + +
    + +
    +

    For handouts, its often useful to include extra notes using a +div element with class="handout" following each slide, as in:

    + +
    +<div class="slide"> 
    + ... your slide content ...
    +</div>
    +
    +<div class="handout">
    + ... stuff that only appears in the handouts ...
    +</div>
    +
    +
    + +
    +

    What you need to do

    + + + +
    +<?xml version="1.0" encoding="utf-8"?>
    +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
    +<head> 
    +  <title>Slide Shows in XHTML</title> 
    +  <meta name="copyright" 
    +   content="Copyright &#169; 2005 your copyright notice" /> 
    +  <link rel="stylesheet" type="text/css" media="screen, projection, print" 
    +   href="http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css" /> 
    +  <script src="http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js" 
    +   charset="utf-8" type="text/javascript"></script> 
    +  <style type="text/css"> 
    +    <!-- your custom style rules --> 
    +  </style> 
    +</head>
    +<body>
    +   ... your slides marked up in XHTML ...
    +</body>
    +</html>
    +
    +
    + +
    +

    To get the W3C Blue Style

    + +

    The head element should include the following link to the style +sheet:

    + +
    +<link rel="stylesheet" type="text/css" media="screen, projection, print"
    + href="http://www.w3.org/Talks/Tools/Slidy2/styles/w3c-blue.css" /> 
    +
    + +

    The body element's content should start with the following +markup:

    + +
    +<div class="background"> 
    +  <img id="head-icon" alt="graphic with four colored squares"
    +    src="http://www.w3.org/Talks/Tools/Slidy2/graphics/icon-blue.png" /> 
    +  <object id="head-logo" title="W3C logo" type="image/svg+xml"
    +    data="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.svg"><img
    +   src="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.gif" 
    +   alt="W3C logo" id="head-logo-fallback" /></object>
    +</div> 
    +
    + +

    This adds the logos on the top left and right corners of the +slide.

    + +

    You are of course welcome to create your own slide designs. +You can provide different styles and backgrounds for +different slides (more details later).

    + +

    Use the meta element with name="copyright" +for use in the slide show footer:

    + +
    +<meta name="copyright" 
    +content="Copyright &#169; 2005-2009 W3C (MIT, ERCIM, Keio)" /> 
    +
    +
    + +
    +

    Upgrading from previous versions of Slidy

    + +
      +
    • This uses a new version of the HTML Slidy script
    • +
    • It is designed to work better with other scripts, +e.g. for UI controls within your slides +
        +
      • Only adds one global name "w3c_slidy"
      • +
      • Doesn't interfere with other scripts that set event handers +such as onload on body element
      • +
      +
    • +
    • Works for slides delivered as text/html and application/xhtml+xml
    • +
    • New presentation timer feature
    • +
    • Initial prompt on first slide to help newcomers to Slidy
    • +
    • Better support for styling slides and printing them
    • +
    • Requires additional style rules, so new script won't work +with old presentations without changes to their style sheets + +
    • +
    • But old presentations will work unchanged as they refer to +the old script!
    • +
    +
    + +
    +

    To use it off-line

    + +
      +
    • You can download slidy.zip and unzip +it to create a Slidy directory on your machine
    • + +
    • If you have cvs access to the W3C site you can check out the Slidy +directory
    • + +
    • Remember to periodically check for updates
    • + +
    • You then have two choices: + +
        +
      1. Use relative URIs depending on your local setup to access the +appropriate files. Use the same directory structure as on the W3C +server, ie, ".../2005/Talks/...".
      2. + +
      3. Run a Web server on your machine so that the directory above +can be accessed via http://localhost/Talks/Tools/Slidy2 +and use the URIs of the form "/Talks/Tools/Slidy2/styles/slidy.css", +"/Talks/Tools/Slidy2/scripts/slidy.js".
      4. +
    • + +
    • In both cases you can then publish your files on the W3C server +unchanged.
    • + +
    • NOTE Internet Explorer on Windows XP now disables +scripting for web pages loaded directly from the local file system, +a work around is to use another browser, e.g. Firefox or Opera
    • + +
    • Please feel free to create your own designs, and help us to build +a gallery of Slidy styles.
    • + +
    • My Google TechTalk (1st Feb 2006) +uses a notebook themed style
    • +
    +
    + +
    +

    Timing Your Presentation

    + +
      +
    • Sometimes it is handy to know just how much time you have to +left to finish your presentation
    • +
    • To get this feature, add the following markup to the +content of the head element, replacing 5 by the duration +of your presentation in minutes +
      <meta name="duration" content="5" />
      +
    • +
    • The time left in minutes and seconds is shown in the footer +next to the slide number
    • +
    • The clock starts to run when you move away from the first slide
    • +
    • Moving back to the first slide pauses the clock
    • +
    + + +
    + +
    +

    Generate a Title Page

    + +

    If you want a separate title page with the W3C blue style, the +first slide should be as follows:

    + +
    +<div class="slide cover"> 
    + <img src="http://www.w3.org/Talks/Tools/Slidy2/graphics/keys.jpg" 
    +  alt="Cover page images (keys)" class="cover" /> 
    + <br clear="all" />            
    + <h1>HTML Slidy: Slide Shows in XHTML</h1> 
    + <p><a href="http://www.w3.org/People/Raggett/">Dave Raggett,</a> 
    + <a href="mailto:dsr@w3.org">dsr@w3.org</a></p> 
    +</div> 
    +
    + +

    The w3c-blue.css +style sheet looks for the classes "slide" and "cover" on div +and img elements using the CSS selector div.slide.cover

    + +

    This technique can be used to assign your slides to different +classes with a different appearence for each such class.

    + +

    Slidy also allows you to use different background markup for +different slides, based upon shared class names, as in "foo" below. +Backgrounds without additional class names are always shown except +when the slide isn't transparent. You may need to tweak your +custom style sheet.

    + +
    +<div class="background foo">
    +   ... background content ...
    +<div>
    +
    +...
    +
    +<div class="slide foo">
    +   ... slide content ...
    +<div>
    +
    +
    + +
    +

    Incremental display of slide contents

    + +

    For incremental display, use class="incremental", for +instance:

    + +
      +
    • First bullet point
    • + +
    • Second bullet point
    • + +
    • Third bullet point
    • +
    + +

    which is marked up as follows:

    + +
    +<ul class="incremental"> 
    +  <li>First bullet point</li> 
    +  <li>Second bullet point</li> 
    +  <li>Third bullet point</li> 
    +</ul> 
    + 
    +<p class="incremental">which is marked up as follows:</p> 
    + 
    +<pre class="incremental"> 
    + ... 
    +</pre> 
    +
    + +
    +

    An element is incrementally revealed if its parent element has +class="incremental" or if itself has that attribute. Text nodes are +not elements and are revealed when their parent element is revealed. +You can use class="incremental" on any element except for <br />. +Use class="non-incremental" to override the effect of setting the +parent element's class to incremental.

    + +

    Note: you will see a red asterisk on the left of the toolbar +when there is still something more to reveal.

    +
    +
    + +
    +

    Create outline lists with hidden content

    + +

    You can make your bullet points or numbered list items +into outlines that you can expand or collapse

    + +
      +
    • Just add class="outline" to the ul or ol +element. Click on this list item for more details. + +
        +
      • The Slidy script will then treat the list +as an outline list.
      • +
      • Clicking on outline list items will expand/collapse +block-level elements within that list item.
      • +
      • Click on the above to make this list item +collapse again.
      • +
      +
    • +
    • Users will then see expand/collapse icons as appropriate +and may click anywhere on the list item to change its state. +This particular list item can't be expanded or collapsed.
    • +
    • Add class="expand" to any li elements that +you want to start in an expanded state. + +
        +
      • By default Slidy hides all the block level elements within the +outline list items unless you have specified class="expand".
      • +
      • Such pre-expanded items can be collapsed by clicking on them.
      • +
      +
    • +
    • Note expand/collapse icon highlighting requires browser +support for :hover which isn't supported by IE6. + +
        +
      • Microsoft says it will be supported by IE7 along with +many fixes for other CSS woes in IE6.
      • +
      +
    • +
    + +
    +<ol class='outline'>
    +  <!-- topic 1 starts collapsed -->
    +  <li>Topic 1
    +    <ol>
    +        <li>subtopic a</li>
    +        <li>subtopic b</li>
    +    </ol>
    +  </li>
    +  <!-- topic 2 starts expanded -->
    +  <li class="expand">Topic 2
    +    <ol>
    +        <li>subtopic c</li>
    +        <li>subtopic d</li>
    +    </ol>
    +  </li>
    +</ol>
    +
    +
    + + +
    +

    Make your images scale with the browser window size

    + +

    For adaptive layout, use percentage widths on images, together +with CSS positioning:

    + +
      +
    • CSS positioning is simpler and more reliable than using +tables
    • +
    + +
    +<div class="slide"> 
    +  <h1>Analysts - "Open standards programming will become 
    +  mainstream, focused around VoiceXML"</h1> 
    +  <!-- use CSS positioning and scaling for adaptive layout --> 
    +  <img src="trends.png" width="50%" style="float:left" 
    +   alt="projected growth of VoiceXML" /> 
    +
    +  <blockquote style="float:right;width: 35%"> 
    +    VoiceXML will dominate the voice environment, due to its 
    +    flexibility and eventual multimodal capabilities 
    +  </blockquote><br clear="all" /> 
    + 
    +  <p style="text-align:center">Source Data Monitor, March 
    +  2004</p> 
    +</div> 
    +
    + +

    To work around a CSS rendering bug in IE relating +to margins, you can set display:inline on floated elements.

    +
    + +
    +

    Incremental display of layered images

    + +

    These can be marked up using CSS relative positioning, e.g.

    + +
    +<div class="incremental" 
    + style="margin-left: 4em; position: relative"> 
    +  <img src="graphics/face1.gif" alt="face" 
    +   style="position: static; vertical-align: bottom"/> 
    +  <img src="graphics/face2.gif" alt="eyes" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +  <img src="graphics/face3.gif" alt="nose" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +  <img src="graphics/face4.gif" alt="mouth" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +</div> 
    +
    + +

    You should also use transparent GIF +images to avoid the IE/Win bug for alpha channel in PNG. A fix is +expected in IE 7. A work around is +available on skyzyx.com. My thanks to ACID2 for the +graphics.

    + +
    +"face" +eyes +mouth
    +
    + +
    +

    How to center content vertically and horizontally

    +
    +
    +

    Within the div element for your slide:

    +
    +<div class="vbox"></div>
    +<div class="hbox">
    +Place the content here
    +</div>
    +
    +

    and style it with the following:

    +
    +div.vbox {
    +  float: left;
    +  height: 40%; width: 50%;
    +  margin-top: -220px;
    +}
    +div.hbox {
    +  width:60%;  margin-top: 0;
    +  margin-left:auto; margin-right:auto;
    +  height: 60%;
    +  border:1px solid silver;
    +  background:#F0F0F0;
    +  overflow:auto;
    +  text-align:left;
    +  clear:both;
    +}
    +
    + +

    The above styling is included in w3c-blue.css, +which is designed to be used with slidy.css, but you +are encouraged to develop your own style sheet with your own look and feel.

    +
    +
    + +
    +

    Include SVG Content

    + +

    Inclusion of SVG content can be done using the object element, +for example:

    + +
    Indian Office logo
    + +

    has been achieved by:

    + +
    +<object data="graphics/example.svg" type="image/svg+xml" 
    +  width="50%" height="10%" title="Indian Office logo"> 
    +    <img src="graphics/example.png" width="50%" 
    +          alt="Indian Office logo" /> 
    +</object> 
    +
    + +

    This ensures that the enclosed png is displayed when the browser +has no plugin installed or can't display SVG directly. Providing +such a fall back is very important! Don't forget the alt text for +people who can't see the image.

    + +

    However, there are caveats, see the next slide!

    +
    + +
    +

    Caveats with SVG+object

    + +

    Adobe has recently withdrawn support for its SVG Viewer, so you are +recommended to consider alternatives. +If you still using the Adobe SVG viewer you should be aware of bugs +when using the it with IE, Namely:

    + +
      +
    • Most modern browsers generally support SVG SVG Tiny 1.1 or better +natively without the need for a plugin
    • + +
    • If you need to use Internet Explorer you are advised to upgrade +to IE9 which includes native support for SVG.
    • + +
    • Patches to Internet Explorer mean that the Adobe SVG Viewer +version 3.03 no longer works with IE6. You are therefore recommended +to uninstall version 3.03 and instead install Adobe SVG Viewer +6.0 preview if this is available to to you.
    • + +
    • IE6 makes a copy of the SVG file on the local disc +when displaying it; but doesn't pass the original URI to the plugin
    • + +
    • As a result relative references from within the SVG to external +resources (scripts, CSS, images, other SVG) will break.
    • + +
    • The work around is to use absolute references within your SVG.
    • + +
    • On Windows, the Adobe SVG plugin doesn't respect the CSS z-index +property, and if used on backgrounds will always show through other +content
    • +
    +
    + +
    +

    Additional Remarks

    + +
      +
    • Slides are auto-numbered on the slide show footer
    • + +
    • You can link into the middle of a slide +show: + +
        +
      • It works out which slide you want and hides the rest
      • + +
      • You can even link between slides in the same slide show
      • + +
      • Individual sides can be addressed with the syntax #(slide +number),
        +e.g. slide 3 of this presentation is: http://www.w3.org/Talks/Tools/Slidy#(3) +
          +
        • Previous versions of Slidy used square brackets, which will +also work.
        • +
      • +
      • Note that the browser's back/forward buttons may not work as +you might expect due to browser problems.
      • +
      +
    • + +
    • Adding "title" to the list of classes for div elements that serve +as title pages will render the corresponding entry in the table of +contents in bold italic text (press "C" now for an example)
    • + +
    • If your slides have more content than normal, use a meta +element to request a smaller font + +
        +
      • the following requests fonts to be one step smaller than +the Slidy default for the current window width, and positive +integers will make the fonts correspondingly larger
      • +
      + +
      +<meta name="font-size-adjustment" content="-1" /> 
      +
      + +
        +
      • Slidy uses JavaScript to dynamically set the font size on the +body element, but it is okay to specify relative font changes on +other elements within your own style sheet, e.g.
      • +
      +
      div.slide.large { font-size: 200% }
      +
    • + +
    • You are encouraged to ensure your markup is valid. HTML Tidy can be used +to find and correct common markup problems
    • + +
    • The slide show script and style sheet can be used freely under +W3C's software +licensing and document +use policies
    • +
    • At XTech2006 +I gave this presentation +on Slidy +(Paper).
    • +
    +
    + +
    +

    Localization and automatic translation

    + +

    Slidy now includes support for localization

    + + "es":this.strings_es, + "ca":this.strings_ca, + "cs":this.strings_cs, + "nl":this.strings_nl, + "de":this.strings_de, + "pl":this.strings_pl, + "fr":this.strings_fr, + "hu":this.strings_hu, + "it":this.strings_it, + "el":this.strings_el, + "jp":this.strings_ja, + "zh":this.strings_zh, + "ru":this.strings_ru, + "sv":this.strings_sv + +
      +
    • The tool bar is localized according to the language of the presentation
    • +
    • This is taken from the xml:lang or lang attributes on the html element
    • +
    • The help file is +selected based upon your browser's language preferences
    • +
    • As of 29th July 2010, the languages supported are: English, +Spanish, Catalonian, Czech, Dutch, German, Polish, French, +Hungarian, Italian, Greek, Japanese, Chinese, Russian and +Swedish
    • +
    • If you would like to contribute localizations for other languages, +please get in touch with Dave Raggett <dsr@w3.org>
    • +
    • The following illustrates what was used for Spanish
    • +
    +
    +// for each language there is an associative array
    +  strings_es: {
    +    "slide":"pág.",
    +    "help?":"Ayuda",
    +    "contents?":"Ãndice",
    +    "table of contents":"tabla de contenidos",
    +    "Table of Contents":"Tabla de Contenidos",
    +    "restart presentation":"Reiniciar presentación",
    +    "restart?":"Inicio"
    +  },
    +  help_es:
    +    "Utilice el ratón, barra espaciadora, teclas Izda/Dcha, " +
    +    "o Re pág y Av pág. Use S y B para cambiar el tamaño de fuente.",
    +
    + +

    Note: Slidy now works with current slides translated into French. Use +right mouse button to open frame without Google header. To disable +automatic translation of the content of particular elements add +class="notranslate", see breaking the language barrier.

    +
    + +
    +

    Future Plans

    + +

    Recent additions have included a table of contents, and a way to +hide and reveal content in the spirit of outline lists. The +script has been rewritten to make it easier to combine with other +scripts, e.g. for UI controls, and support swipes for navigation on +touch screen devices. Further work is anticipated on the +following:

    + +
      +
    • Collecting a gallery of good looking slide themes +
        +
      • Opportunities for graphics designers!
      • +
      +
    • +
    • Bob Ferris has worked on a +number of UI extensions which could be incorporated into the +W3C slidy script.
    • +
    • Getting SVG Tiny to work on IE without need for SVG plugin +
        +
      • Using scripts to dynamically convert SVG Tiny to VML
      • +
      • Note that IE9 introduces native SVG support, so it may +no longer be worth working on SVG to VML for rendering of SVG
      • +
      +
    • +
    • Pre-alpha version of wysiwyg slide editor (see screenshot) +
        +
      • Using contentEditable when available, otherwise +falling back to textarea and plain text conventions
      • +
      • Using XMLHttpRequest to dynamically reflect changes to server
      • +
      +
    • +
    • Mechanism for remotely driving Slidy as part of distributed meetings +
        +
      • Using XMLHttpRequest to listen for navigation commands
      • +
      • Using VoIP for accompanying audio and teleconferencing
      • +
      • Synchronizing recorded spoken presentation with currently viewed slide
      • +
      +
    • +
    • Filters from PowerPoint and Open Office + +
    • +
    + +

    If you have comments, suggestions for improvements, or would +like to volunteer your help with further work on Slidy, +please contact Dave Raggett <dsr@w3.org>

    +
    + +
    +

    Acknowledgements

    + +
      +
    • My thanks to everyone who sent in bug reports and feature +requests
    • +
    • Opera Software for implementing CSS @media projection and +promoting the idea of using the Web for presentations with +Opera +Show
    • +
    • Tantek Çelik for his +pioneering work on applying JavaScript for slide presentations on +other browsers
    • +
    • Eric Meyer for taking this further with the excellent S5
    • +
    • W3C's slidemaker +tool, which uses a perl script to split an html file up into +one file per slide with navigation buttons
    • +
    • Early versions of HTML +Tidy which supported a means to create presentations via splitting +html files on h2 elements
    • +
    • Many sites with advice on JavaScript work arounds for browser +variations
    • +
    • Microsoft for pioneering contentEditable and XMLHTTP which +both provide tremendous opportunities for Web applications
    • +
    • Microsoft Office which provided the impetus for creating +Slidy as a Web-based alternative to the ubiquitous use of PowerPoint
    • +
    + +

    Note that while Slidy and +S5 were developed independently, both support the use of the +class values "slide" and "handout" for div elements. Slidy doesn't +support the "layout" class featured in S5 and Opera Show, but +instead provides a more flexible alternative with the "background" +class, which enables different backgrounds on different slides.

    +
    + +
    +

    Acknowledgements

    + +

    The following people have contributed localizations:

    + +
      +
    • Emmanuelle Gutiérrez y Restrepo, Spanish
    • +
    • Joan V. Baz, Catalan
    • +
    • Jakub Vrána, Czech
    • +
    • Ruud Steltenpool, Dutch
    • +
    • Beat Vontobel, German
    • +
    • Krzysztof Kotowicz, Polish
    • +
    • Tamas Horvath, Hungarian
    • +
    • Creso Moraes, Brazilian Portuguese
    • +
    • Giuseppe Scollo, Italian
    • +
    • Konstantinos Koukopoulos, Greek
    • +
    • Yoshikazu Sawa (澤 義和), Japanese
    • +
    • Shelley Shyan, Chinese
    • +
    • Andrew Pantyukhin, Russian
    • +
    • Saasha Metsärantala, Swedish
    • +
    + +

    The following people have contributed bug reports:

    + +
      +
    • Ivan Herman
    • +
    • Steve Bratt
    • +
    • Peter Patel-Schneider
    • +
    • Matthew Coller
    • +
    • Rune Heggtveit
    • +
    • Gopal Venkatesan
    • +
    • Cay Horstmann
    • +
    • Schuyler Duveen
    • +
    • Matteo Nannini
    • +
    • Ralph Swick
    • +
    • Jakub Vrána
    • +
    • Philip Bolt
    • +
    • Jon Frost
    • +
    • Jonathan Chetwynd
    • +
    • Nicolas Frisby
    • +
    + +

    Douglas Crockford for jsmin +which was used to minify the script before compressing it with gzip.

    +
    + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.xhtml b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.xhtml new file mode 100755 index 0000000000..69f72f6351 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/Overview.xhtml @@ -0,0 +1,911 @@ + + + + +HTML Slidy + + + + + + + + + +
    + +
    +slanted W3C logo +
    +
    + + + + + + + + + + + + + +Cover page images (keys)
    +

    HTML Slidy: Slide Shows in HTML and XHTML

    + +

    Dave Raggett, +<dsr@w3.org>
    +
    +
    +
    +
    Hit the space bar or swipe left for next slide

    +
    + +
    +

    Slide Shows in HTML and XHTML

    + +
      +
    • You can now create accessible slide shows with ease
    • + +
    • Works across browsers and is operated like PowerPoint + +
        +
      • Advance to next slide with mouse click, space bar or swipe left
      • + +
      • Move forward/backward between slides with Cursor Left, +Cursor Right, Pg Up and Pg Dn +keys, or swipe left or right
      • + +
      • Home key for first slide, End + key for last slide
      • + +
      • The "C" key for an automatically generated +table of contents, or click on "contents" on the toolbar or +swipe up or down
      • + +
      • Function F11 to go full screen and back
      • + +
      • The "F" key toggles the display of the footer
      • + +
      • The "A" key toggles display of current vs all +slides + +
          +
        • Try it now to see how to include notes for handouts (this is +explained in the notes following this slide)
        • +
        +
      • + +
      • Font sizes automatically adapt to browser window size + +
          +
        • use S and B keys for +manual control (or < and >, or the - and ++ keys on the number pad
        • +
        • Use CSS to set a relative font size on a given slide to make +the content bigger or smaller than on other slides
        • +
        +
      • + +
      • Switching off JavaScript reveals all slides
      • +
      +
    • + +
    • Now move to next slide to see how it works
    • +
    + + +
    + +
    +

    For handouts, its often useful to include extra notes using a +div element with class="handout" following each slide, as in:

    + +
    +<div class="slide"> 
    + ... your slide content ...
    +</div>
    +
    +<div class="handout">
    + ... stuff that only appears in the handouts ...
    +</div>
    +
    +
    + +
    +

    What you need to do

    + + + +
    +<?xml version="1.0" encoding="utf-8"?>
    +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
    +<head> 
    +  <title>Slide Shows in XHTML</title> 
    +  <meta name="copyright" 
    +   content="Copyright &#169; 2005 your copyright notice" /> 
    +  <link rel="stylesheet" type="text/css" media="screen, projection, print" 
    +   href="http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css" /> 
    +  <script src="http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js" 
    +   charset="utf-8" type="text/javascript"></script> 
    +  <style type="text/css"> 
    +    <!-- your custom style rules --> 
    +  </style> 
    +</head>
    +<body>
    +   ... your slides marked up in XHTML ...
    +</body>
    +</html>
    +
    +
    + +
    +

    To get the W3C Blue Style

    + +

    The head element should include the following link to the style +sheet:

    + +
    +<link rel="stylesheet" type="text/css" media="screen, projection, print"
    + href="http://www.w3.org/Talks/Tools/Slidy2/styles/w3c-blue.css" /> 
    +
    + +

    The body element's content should start with the following +markup:

    + +
    +<div class="background"> 
    +  <img id="head-icon" alt="graphic with four colored squares"
    +    src="http://www.w3.org/Talks/Tools/Slidy2/graphics/icon-blue.png" /> 
    +  <object id="head-logo" title="W3C logo" type="image/svg+xml"
    +    data="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.svg"><img
    +   src="http://www.w3.org/Talks/Tools/Slidy2/graphics/w3c-logo-white.gif" 
    +   alt="W3C logo" id="head-logo-fallback" /></object>
    +</div> 
    +
    + +

    This adds the logos on the top left and right corners of the +slide.

    + +

    You are of course welcome to create your own slide designs. +You can provide different styles and backgrounds for +different slides (more details later).

    + +

    Use the meta element with name="copyright" +for use in the slide show footer:

    + +
    +<meta name="copyright" 
    +content="Copyright &#169; 2005-2009 W3C (MIT, ERCIM, Keio)" /> 
    +
    +
    + +
    +

    Upgrading from previous versions of Slidy

    + +
      +
    • This uses a new version of the HTML Slidy script
    • +
    • It is designed to work better with other scripts, +e.g. for UI controls within your slides +
        +
      • Only adds one global name "w3c_slidy"
      • +
      • Doesn't interfere with other scripts that set event handers +such as onload on body element
      • +
      +
    • +
    • Works for slides delivered as text/html and application/xhtml+xml
    • +
    • New presentation timer feature
    • +
    • Initial prompt on first slide to help newcomers to Slidy
    • +
    • Better support for styling slides and printing them
    • +
    • Requires additional style rules, so new script won't work +with old presentations without changes to their style sheets + +
    • +
    • But old presentations will work unchanged as they refer to +the old script!
    • +
    +
    + +
    +

    To use it off-line

    + +
      +
    • You can download slidy.zip and unzip +it to create a Slidy directory on your machine
    • + +
    • If you have cvs access to the W3C site you can check out the Slidy +directory
    • + +
    • Remember to periodically check for updates
    • + +
    • You then have two choices: + +
        +
      1. Use relative URIs depending on your local setup to access the +appropriate files. Use the same directory structure as on the W3C +server, ie, ".../2005/Talks/...".
      2. + +
      3. Run a Web server on your machine so that the directory above +can be accessed via http://localhost/Talks/Tools/Slidy2 +and use the URIs of the form "/Talks/Tools/Slidy2/styles/slidy.css", +"/Talks/Tools/Slidy2/scripts/slidy.js".
      4. +
    • + +
    • In both cases you can then publish your files on the W3C server +unchanged.
    • + +
    • NOTE Internet Explorer on Windows XP now disables +scripting for web pages loaded directly from the local file system, +a work around is to use another browser, e.g. Firefox or Opera
    • + +
    • Please feel free to create your own designs, and help us to build +a gallery of Slidy styles.
    • + +
    • My Google TechTalk (1st Feb 2006) +uses a notebook themed style
    • +
    +
    + +
    +

    Timing Your Presentation

    + +
      +
    • Sometimes it is handy to know just how much time you have to +left to finish your presentation
    • +
    • To get this feature, add the following markup to the +content of the head element, replacing 5 by the duration +of your presentation in minutes +
      <meta name="duration" content="5" />
      +
    • +
    • The time left in minutes and seconds is shown in the footer +next to the slide number
    • +
    • The clock starts to run when you move away from the first slide
    • +
    • Moving back to the first slide pauses the clock
    • +
    + + +
    + +
    +

    Generate a Title Page

    + +

    If you want a separate title page with the W3C blue style, the +first slide should be as follows:

    + +
    +<div class="slide cover"> 
    + <img src="http://www.w3.org/Talks/Tools/Slidy2/graphics/keys.jpg" 
    +  alt="Cover page images (keys)" class="cover" /> 
    + <br clear="all" />            
    + <h1>HTML Slidy: Slide Shows in XHTML</h1> 
    + <p><a href="http://www.w3.org/People/Raggett/">Dave Raggett,</a> 
    + <a href="mailto:dsr@w3.org">dsr@w3.org</a></p> 
    +</div> 
    +
    + +

    The w3c-blue.css +style sheet looks for the classes "slide" and "cover" on div +and img elements using the CSS selector div.slide.cover

    + +

    This technique can be used to assign your slides to different +classes with a different appearence for each such class.

    + +

    Slidy also allows you to use different background markup for +different slides, based upon shared class names, as in "foo" below. +Backgrounds without additional class names are always shown except +when the slide isn't transparent. You may need to tweak your +custom style sheet.

    + +
    +<div class="background foo">
    +   ... background content ...
    +<div>
    +
    +...
    +
    +<div class="slide foo">
    +   ... slide content ...
    +<div>
    +
    +
    + +
    +

    Incremental display of slide contents

    + +

    For incremental display, use class="incremental", for +instance:

    + +
      +
    • First bullet point
    • + +
    • Second bullet point
    • + +
    • Third bullet point
    • +
    + +

    which is marked up as follows:

    + +
    +<ul class="incremental"> 
    +  <li>First bullet point</li> 
    +  <li>Second bullet point</li> 
    +  <li>Third bullet point</li> 
    +</ul> 
    + 
    +<p class="incremental">which is marked up as follows:</p> 
    + 
    +<pre class="incremental"> 
    + ... 
    +</pre> 
    +
    + +
    +

    An element is incrementally revealed if its parent element has +class="incremental" or if itself has that attribute. Text nodes are +not elements and are revealed when their parent element is revealed. +You can use class="incremental" on any element except for <br />. +Use class="non-incremental" to override the effect of setting the +parent element's class to incremental.

    + +

    Note: you will see a red asterisk on the left of the toolbar +when there is still something more to reveal.

    +
    +
    + +
    +

    Create outline lists with hidden content

    + +

    You can make your bullet points or numbered list items +into outlines that you can expand or collapse

    + +
      +
    • Just add class="outline" to the ul or ol +element. Click on this list item for more details. + +
        +
      • The Slidy script will then treat the list +as an outline list.
      • +
      • Clicking on outline list items will expand/collapse +block-level elements within that list item.
      • +
      • Click on the above to make this list item +collapse again.
      • +
      +
    • +
    • Users will then see expand/collapse icons as appropriate +and may click anywhere on the list item to change its state. +This particular list item can't be expanded or collapsed.
    • +
    • Add class="expand" to any li elements that +you want to start in an expanded state. + +
        +
      • By default Slidy hides all the block level elements within the +outline list items unless you have specified class="expand".
      • +
      • Such pre-expanded items can be collapsed by clicking on them.
      • +
      +
    • +
    • Note expand/collapse icon highlighting requires browser +support for :hover which isn't supported by IE6. + +
        +
      • Microsoft says it will be supported by IE7 along with +many fixes for other CSS woes in IE6.
      • +
      +
    • +
    + +
    +<ol class='outline'>
    +  <!-- topic 1 starts collapsed -->
    +  <li>Topic 1
    +    <ol>
    +        <li>subtopic a</li>
    +        <li>subtopic b</li>
    +    </ol>
    +  </li>
    +  <!-- topic 2 starts expanded -->
    +  <li class="expand">Topic 2
    +    <ol>
    +        <li>subtopic c</li>
    +        <li>subtopic d</li>
    +    </ol>
    +  </li>
    +</ol>
    +
    +
    + + +
    +

    Make your images scale with the browser window size

    + +

    For adaptive layout, use percentage widths on images, together +with CSS positioning:

    + +
      +
    • CSS positioning is simpler and more reliable than using +tables
    • +
    + +
    +<div class="slide"> 
    +  <h1>Analysts - "Open standards programming will become 
    +  mainstream, focused around VoiceXML"</h1> 
    +  <!-- use CSS positioning and scaling for adaptive layout --> 
    +  <img src="trends.png" width="50%" style="float:left" 
    +   alt="projected growth of VoiceXML" /> 
    +
    +  <blockquote style="float:right;width: 35%"> 
    +    VoiceXML will dominate the voice environment, due to its 
    +    flexibility and eventual multimodal capabilities 
    +  </blockquote><br clear="all" /> 
    + 
    +  <p style="text-align:center">Source Data Monitor, March 
    +  2004</p> 
    +</div> 
    +
    + +

    To work around a CSS rendering bug in IE relating +to margins, you can set display:inline on floated elements.

    +
    + +
    +

    Incremental display of layered images

    + +

    These can be marked up using CSS relative positioning, e.g.

    + +
    +<div class="incremental" 
    + style="margin-left: 4em; position: relative"> 
    +  <img src="graphics/face1.gif" alt="face" 
    +   style="position: static; vertical-align: bottom"/> 
    +  <img src="graphics/face2.gif" alt="eyes" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +  <img src="graphics/face3.gif" alt="nose" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +  <img src="graphics/face4.gif" alt="mouth" 
    +    style="position: absolute; left: 0; top: 0" /> 
    +</div> 
    +
    + +

    You should also use transparent GIF +images to avoid the IE/Win bug for alpha channel in PNG. A fix is +expected in IE 7. A work around is +available on skyzyx.com. My thanks to ACID2 for the +graphics.

    + +
    +"face" +eyes +mouth
    +
    + +
    +

    How to center content vertically and horizontally

    +
    +
    +

    Within the div element for your slide:

    +
    +<div class="vbox"></div>
    +<div class="hbox">
    +Place the content here
    +</div>
    +
    +

    and style it with the following:

    +
    +div.vbox {
    +  float: left;
    +  height: 40%; width: 50%;
    +  margin-top: -220px;
    +}
    +div.hbox {
    +  width:60%;  margin-top: 0;
    +  margin-left:auto; margin-right:auto;
    +  height: 60%;
    +  border:1px solid silver;
    +  background:#F0F0F0;
    +  overflow:auto;
    +  text-align:left;
    +  clear:both;
    +}
    +
    + +

    The above styling is included in w3c-blue.css, +which is designed to be used with slidy.css, but you +are encouraged to develop your own style sheet with your own look and feel.

    +
    +
    + +
    +

    Include SVG Content

    + +

    Inclusion of SVG content can be done using the object element, +for example:

    + +
    Indian Office logo
    + +

    has been achieved by:

    + +
    +<object data="graphics/example.svg" type="image/svg+xml" 
    +  width="50%" height="10%" title="Indian Office logo"> 
    +    <img src="graphics/example.png" width="50%" 
    +          alt="Indian Office logo" /> 
    +</object> 
    +
    + +

    This ensures that the enclosed png is displayed when the browser +has no plugin installed or can't display SVG directly. Providing +such a fall back is very important! Don't forget the alt text for +people who can't see the image.

    + +

    However, there are caveats, see the next slide!

    +
    + +
    +

    Caveats with SVG+object

    + +

    Adobe has recently withdrawn support for its SVG Viewer, so you are +recommended to consider alternatives. +If you still using the Adobe SVG viewer you should be aware of bugs +when using the it with IE, Namely:

    + +
      +
    • Most modern browsers generally support SVG SVG Tiny 1.1 or better +natively without the need for a plugin
    • + +
    • If you need to use Internet Explorer you are advised to upgrade +to IE9 which includes native support for SVG.
    • + +
    • Patches to Internet Explorer mean that the Adobe SVG Viewer +version 3.03 no longer works with IE6. You are therefore recommended +to uninstall version 3.03 and instead install Adobe SVG Viewer +6.0 preview if this is available to to you.
    • + +
    • IE6 makes a copy of the SVG file on the local disc +when displaying it; but doesn't pass the original URI to the plugin
    • + +
    • As a result relative references from within the SVG to external +resources (scripts, CSS, images, other SVG) will break.
    • + +
    • The work around is to use absolute references within your SVG.
    • + +
    • On Windows, the Adobe SVG plugin doesn't respect the CSS z-index +property, and if used on backgrounds will always show through other +content
    • +
    +
    + +
    +

    Additional Remarks

    + +
      +
    • Slides are auto-numbered on the slide show footer
    • + +
    • You can link into the middle of a slide +show: + +
        +
      • It works out which slide you want and hides the rest
      • + +
      • You can even link between slides in the same slide show
      • + +
      • Individual sides can be addressed with the syntax #(slide +number),
        +e.g. slide 3 of this presentation is: http://www.w3.org/Talks/Tools/Slidy#(3) +
          +
        • Previous versions of Slidy used square brackets, which will +also work.
        • +
      • +
      • Note that the browser's back/forward buttons may not work as +you might expect due to browser problems.
      • +
      +
    • + +
    • Adding "title" to the list of classes for div elements that serve +as title pages will render the corresponding entry in the table of +contents in bold italic text (press "C" now for an example)
    • + +
    • If your slides have more content than normal, use a meta +element to request a smaller font + +
        +
      • the following requests fonts to be one step smaller than +the Slidy default for the current window width, and positive +integers will make the fonts correspondingly larger
      • +
      + +
      +<meta name="font-size-adjustment" content="-1" /> 
      +
      + +
        +
      • Slidy uses JavaScript to dynamically set the font size on the +body element, but it is okay to specify relative font changes on +other elements within your own style sheet, e.g.
      • +
      +
      div.slide.large { font-size: 200% }
      +
    • + +
    • You are encouraged to ensure your markup is valid. HTML Tidy can be used +to find and correct common markup problems
    • + +
    • The slide show script and style sheet can be used freely under +W3C's software +licensing and document +use policies
    • +
    • At XTech2006 +I gave this presentation +on Slidy +(Paper).
    • +
    +
    + +
    +

    Localization and automatic translation

    + +

    Slidy now includes support for localization

    + + "es":this.strings_es, + "ca":this.strings_ca, + "cs":this.strings_cs, + "nl":this.strings_nl, + "de":this.strings_de, + "pl":this.strings_pl, + "fr":this.strings_fr, + "hu":this.strings_hu, + "it":this.strings_it, + "el":this.strings_el, + "jp":this.strings_ja, + "zh":this.strings_zh, + "ru":this.strings_ru, + "sv":this.strings_sv + +
      +
    • The tool bar is localized according to the language of the presentation
    • +
    • This is taken from the xml:lang or lang attributes on the html element
    • +
    • The help file is +selected based upon your browser's language preferences
    • +
    • As of 29th July 2010, the languages supported are: English, +Spanish, Catalonian, Czech, Dutch, German, Polish, French, +Hungarian, Italian, Greek, Japanese, Chinese, Russian and +Swedish
    • +
    • If you would like to contribute localizations for other languages, +please get in touch with Dave Raggett <dsr@w3.org>
    • +
    • The following illustrates what was used for Spanish
    • +
    +
    +// for each language there is an associative array
    +  strings_es: {
    +    "slide":"pág.",
    +    "help?":"Ayuda",
    +    "contents?":"Ãndice",
    +    "table of contents":"tabla de contenidos",
    +    "Table of Contents":"Tabla de Contenidos",
    +    "restart presentation":"Reiniciar presentación",
    +    "restart?":"Inicio"
    +  },
    +  help_es:
    +    "Utilice el ratón, barra espaciadora, teclas Izda/Dcha, " +
    +    "o Re pág y Av pág. Use S y B para cambiar el tamaño de fuente.",
    +
    + +

    Note: Slidy now works with current slides translated into French. Use +right mouse button to open frame without Google header. To disable +automatic translation of the content of particular elements add +class="notranslate", see breaking the language barrier.

    +
    + +
    +

    Future Plans

    + +

    Recent additions have included a table of contents, and a way to +hide and reveal content in the spirit of outline lists. The +script has been rewritten to make it easier to combine with other +scripts, e.g. for UI controls, and support swipes for navigation on +touch screen devices. Further work is anticipated on the +following:

    + +
      +
    • Collecting a gallery of good looking slide themes +
        +
      • Opportunities for graphics designers!
      • +
      +
    • +
    • Bob Ferris has worked on a +number of UI extensions which could be incorporated into the +W3C slidy script.
    • +
    • Getting SVG Tiny to work on IE without need for SVG plugin +
        +
      • Using scripts to dynamically convert SVG Tiny to VML
      • +
      • Note that IE9 introduces native SVG support, so it may +no longer be worth working on SVG to VML for rendering of SVG
      • +
      +
    • +
    • Pre-alpha version of wysiwyg slide editor (see screenshot) +
        +
      • Using contentEditable when available, otherwise +falling back to textarea and plain text conventions
      • +
      • Using XMLHttpRequest to dynamically reflect changes to server
      • +
      +
    • +
    • Mechanism for remotely driving Slidy as part of distributed meetings +
        +
      • Using XMLHttpRequest to listen for navigation commands
      • +
      • Using VoIP for accompanying audio and teleconferencing
      • +
      • Synchronizing recorded spoken presentation with currently viewed slide
      • +
      +
    • +
    • Filters from PowerPoint and Open Office + +
    • +
    + +

    If you have comments, suggestions for improvements, or would +like to volunteer your help with further work on Slidy, +please contact Dave Raggett <dsr@w3.org>

    +
    + +
    +

    Acknowledgements

    + +
      +
    • My thanks to everyone who sent in bug reports and feature +requests
    • +
    • Opera Software for implementing CSS @media projection and +promoting the idea of using the Web for presentations with +Opera +Show
    • +
    • Tantek Çelik for his +pioneering work on applying JavaScript for slide presentations on +other browsers
    • +
    • Eric Meyer for taking this further with the excellent S5
    • +
    • W3C's slidemaker +tool, which uses a perl script to split an html file up into +one file per slide with navigation buttons
    • +
    • Early versions of HTML +Tidy which supported a means to create presentations via splitting +html files on h2 elements
    • +
    • Many sites with advice on JavaScript work arounds for browser +variations
    • +
    • Microsoft for pioneering contentEditable and XMLHTTP which +both provide tremendous opportunities for Web applications
    • +
    • Microsoft Office which provided the impetus for creating +Slidy as a Web-based alternative to the ubiquitous use of PowerPoint
    • +
    + +

    Note that while Slidy and +S5 were developed independently, both support the use of the +class values "slide" and "handout" for div elements. Slidy doesn't +support the "layout" class featured in S5 and Opera Show, but +instead provides a more flexible alternative with the "background" +class, which enables different backgrounds on different slides.

    +
    + +
    +

    Acknowledgements

    + +

    The following people have contributed localizations:

    + +
      +
    • Emmanuelle Gutiérrez y Restrepo, Spanish
    • +
    • Joan V. Baz, Catalan
    • +
    • Jakub Vrána, Czech
    • +
    • Ruud Steltenpool, Dutch
    • +
    • Beat Vontobel, German
    • +
    • Krzysztof Kotowicz, Polish
    • +
    • Tamas Horvath, Hungarian
    • +
    • Creso Moraes, Brazilian Portuguese
    • +
    • Giuseppe Scollo, Italian
    • +
    • Konstantinos Koukopoulos, Greek
    • +
    • Yoshikazu Sawa (澤 義和), Japanese
    • +
    • Shelley Shyan, Chinese
    • +
    • Andrew Pantyukhin, Russian
    • +
    • Saasha Metsärantala, Swedish
    • +
    + +

    The following people have contributed bug reports:

    + +
      +
    • Ivan Herman
    • +
    • Steve Bratt
    • +
    • Peter Patel-Schneider
    • +
    • Matthew Coller
    • +
    • Rune Heggtveit
    • +
    • Gopal Venkatesan
    • +
    • Cay Horstmann
    • +
    • Schuyler Duveen
    • +
    • Matteo Nannini
    • +
    • Ralph Swick
    • +
    • Jakub Vrána
    • +
    • Philip Bolt
    • +
    • Jon Frost
    • +
    • Jonathan Chetwynd
    • +
    • Nicolas Frisby
    • +
    + +

    Douglas Crockford for jsmin +which was used to minify the script before compressing it with gzip.

    +
    + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/blank.html b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/blank.html new file mode 100755 index 0000000000..c9081ebcce --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/blank.html @@ -0,0 +1,30 @@ + + + + + +HTML Slidy - template for basic presentations + + + + + + + +
    +

    Sample heading

    + +

    This is a template file you can copy and edit on your own server.

    + +
      +
    • point 1
    • +
    • point 2
    • +
    • . . .
    • +
    +
    + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.gif new file mode 100755 index 0000000000..bce1a2a11c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.png new file mode 100755 index 0000000000..4e28cfa8cd Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold-dim.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.gif new file mode 100755 index 0000000000..d4b063c91b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.png new file mode 100755 index 0000000000..b5334f376f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-fold.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.gif new file mode 100755 index 0000000000..98a4c39f00 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.png new file mode 100755 index 0000000000..27bccb2dde Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold-dim.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.gif new file mode 100755 index 0000000000..76102a3715 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.png new file mode 100755 index 0000000000..28215ecd46 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-nofold.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.gif new file mode 100755 index 0000000000..b758cbedc6 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.png new file mode 100755 index 0000000000..1dec59d8f3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold-dim.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.gif new file mode 100755 index 0000000000..e5ecd5bab3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.png new file mode 100755 index 0000000000..ce9de96834 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet-unfold.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet.png new file mode 100755 index 0000000000..14ebd95100 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/bullet.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.png new file mode 100755 index 0000000000..7ce9b3ffee Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.svg b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.svg new file mode 100755 index 0000000000..581358e4a3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/example.svg @@ -0,0 +1,223 @@ + + + + W3C Indian Office logo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face1.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face1.gif new file mode 100755 index 0000000000..04e50cd797 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face1.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face2.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face2.gif new file mode 100755 index 0000000000..12d824003f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face3.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face3.gif new file mode 100755 index 0000000000..ac6e5e4408 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face3.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face4.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face4.gif new file mode 100755 index 0000000000..3f687402ab Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/face4.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-bright.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-bright.gif new file mode 100755 index 0000000000..7e38faa8ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-bright.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.bmp new file mode 100755 index 0000000000..117f91a91c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.gif new file mode 100755 index 0000000000..346fcbf3e9 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.bmp new file mode 100755 index 0000000000..6ba9e56274 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.gif new file mode 100755 index 0000000000..133e594fd0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/fold.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/icon-blue.png b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/icon-blue.png new file mode 100755 index 0000000000..58bf969ed8 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/icon-blue.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/keys2.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/keys2.jpg new file mode 100755 index 0000000000..4739be00a0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/keys2.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.bmp new file mode 100755 index 0000000000..8a12826b1b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.gif new file mode 100755 index 0000000000..996fb5edab Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold.bmp new file mode 100755 index 0000000000..0937d324b8 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/nofold.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-bright.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-bright.gif new file mode 100755 index 0000000000..2748131a41 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-bright.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.bmp new file mode 100755 index 0000000000..c2a6bafa22 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.gif new file mode 100755 index 0000000000..bee5671171 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold-dim.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.bmp b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.bmp new file mode 100755 index 0000000000..30af625e20 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.bmp differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.gif new file mode 100755 index 0000000000..0753ae4d2c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/unfold.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.gif new file mode 100755 index 0000000000..890bc97e0c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.svg b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.svg new file mode 100755 index 0000000000..6595d01958 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-blue.svg @@ -0,0 +1,14 @@ + + + W3C logo + + + + + + + ® + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-slanted.jpg b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-slanted.jpg new file mode 100755 index 0000000000..54e0ac361f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-slanted.jpg differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.gif b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.gif new file mode 100755 index 0000000000..3b3c6fd026 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.svg b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.svg new file mode 100755 index 0000000000..d63907f355 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/graphics/w3c-logo-white.svg @@ -0,0 +1,14 @@ + + + W3C logo + + + + + + + ® + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/.htaccess b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/.htaccess new file mode 100755 index 0000000000..d395348aee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/.htaccess @@ -0,0 +1,28 @@ +Options +MultiViews +LanguagePriority en +AddLanguage pt-br .pt-br + + + +ForceType 'text/html; charset=utf-8' + + + + + +ForceType 'application/xhtml+xml; charset=utf-8' + + + + + +ForceType 'text/css; charset=utf-8' + + + + + +ForceType 'text/javascript; charset=utf-8' + + +mkdir diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html new file mode 100755 index 0000000000..c2f86148f6 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html @@ -0,0 +1,80 @@ + + + + Slide Show Help + + + +

    Slide Show Help

    + +

    This slide show can be driven in the same way as Power Point. +To advance to the next slide click pretty much anywhere on the +page with the mouse, or press the space bar. You can move forwards +or backwards through the slides with the Cursor left, Cursor +right, Pg Up and Pg Dn keys. The font size is automatically +adjusted to match the browser's window width, but you can also +adjust it manually using the "S" key for smaller and the "B" key +for bigger. You can also use the "<" and ">" keys. Use the +"F" key to switch off/on the bottom status line. The "K" key +toggles the use of mouse click to advance to the next slide. You +can use "C" to show the table of contents and any other key to +hide it. Use the "F11" key to toggle the browser's full screen +mode. Note that not all keys are supported in all browsers, as +browsers may reserve some keys for browser control and this varies +from one browser to the next.

    + +

    Firefox users may want the autohide +extension to hide the toolbars when entering full screen with F11. +Newer versions of Firefox have built-in support for SVG, but on older +versions for Microsoft Windows, you should consider installing the Adobe SVG Viewer +6.0.

    + +

    If you would like to see how Slidy works, use View Source to view +the XHTML markup, or see this longer explanation, +which also explains additional features. Each slide is marked up as +a div element with class="slide". CSS positioning and percentage +widths on images can be used to ensure your image rich slides scale +to match the window size. Content to be revealed incrementally can +be marked up with class="incremental". The linked style sheet and +scripts were developed as a Web-based alternative to proprietary +presentation tools and have been tested on a variety of recent +browsers. Integrated editing support is under development. Please +send your comments to Dave +Raggett <dsr@w3.org>. +If you find Slidy useful, you may want to consider becoming a +W3C Supporter.

    + +

    You are welcome to make use of the slide show style sheets, +scripts and help file under W3C's document use +and software +licensing rules.

    + + + +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.ca b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.ca new file mode 100755 index 0000000000..fef10cfd08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.ca @@ -0,0 +1,52 @@ + + + + + Ajuda del presentador de diapositives + + + +

    Ajuda del presentador de diapositives

    + +

    Per avançar a la pròxima diapositiva només cal fer clic amb el ratolí en qualsevol lloc de la pàgina o bé prémer la barra d’espaidora. +Es pot anar endavant i endarrere per les diapositives amb les tecles "cursor esquerra" i "cursor dreta", "RePàg" i "AvPàg". El tamany de font de les lletres s’ajusta automàticament a l’amplada de la pantalla, però també es pot ajustar manualment fent servir la “S†per fer-la mes petita (Smaller) i la “B†per fer-la mes gran (“Biggerâ€),també es poden fer servir les tecles "<" i ">". +La tecla “F†fa aparèixer/desaparèixer el menú de la línia de estat a la part de sota. +Amb la tecla “K†s’habilita/deshabilita l’ús del ratolí per avançar a la pròxima diapositiva. La tecla “C†mostra la taula de continguts, amb qualsevol altra tecla la podem amagar. +La tecla “F11†serveix per entrar/sortir en el mode pantalla completa del navegador, la tecla “H†dona accés a aquesta pàgina. +Cal notar que no totes les tecles estan suportades en tots els navegadors donat que els navegadors poden reservar algunes tecles per el control de navegació i aquestes varien d’un navegador a un altre.

    +

    Es recomana als usuaris de Firefox que instal•lin la extensió d’autoamagar per amagar les barres d’eines en entrar al mode pantalla completa.

    +

    Si vol saber com funciona Slidy, feu servir “Veure el codi font†per veure el codi XHTML o vegi aquesta explicació més llarga., que també explica característiques addicionals. Cada diapositiva està marcada com element div amb classe “slideâ€. Es fa servir posicionament CSS i amplades per percentatge a les imatges per assegurar-se de que les vostres diapositives riques en imatges s’ajustin perfectament a la grandària de la finestra. El contingut que s’ha de revelar incrementalment es pot marcar amb la classe “incrementalâ€. La fulla d’estils adjunta i els scripts es van desenvolupar com una alternativa basada en Web a les eines de presentació propietàries i s’han provat en una gran varietat de navegadors actuals. S’està desenvolupant un sistema d’edició integrada. Si us plau envieu els vostres comentaris a : Dave +Raggett <dsr@w3.org>. +Si trobeu Slidy útil podeu considerar ajudar al W3C.

    +

    Sou benvingut a fer servir el presentador de diapositives, les fulles d’estil , scripts i el fitxer d’ajuda sota les condicions d’ ùs de document del W3C I les normes +llicència de software.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.de b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.de new file mode 100755 index 0000000000..55a8e4817a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.de @@ -0,0 +1,96 @@ + + + + + + + Slide Show Help + + + + +

    Hilfe für die HTML-Slidy-Präsentation

    + +

    Diese Präsentation wird wie Power Point kontrolliert: Klicken +Sie mit der Maus irgendwo ins Bild, um zur nächsten Seite zu +schalten, oder drücken Sie die Leertaste. Sie können ebenfalls +mit den Cursor-Tasten (links/rechts) oder den Tasten für Seite +auf und ab vorwärts und rückwärts durch die Präsentation +navigieren. Die Schriftgrösse wird automatisch so angepasst, dass +Sie zur Fensterbreite des Browsers passt, sie kann aber auch +manuell mit den Tasten "s" (kleiner) und "b" (grösser) +kontrolliert werden (oder mit der Taste "<" bzw. ">"). Die +Statuszeile am unteren Rand des Fensters wird mit "f" ein- und +ausgeschaltet. Die Taste "k" schaltet die Funktion des Mausklicks +zum Kontrollieren der Präsentation ein und aus. Sie können mit +"c" ein Inhaltsverzeichnis ein- und mit einer beliebigen anderen +Taste wieder ausblenden. Mit "F11" können Sie (je nach Browser) +den Vollbildmodus aktivieren. Die Taste "h" zeigt diesen Hilfetext +an. Es ist zu bemerken, dass nicht alle diese Tasten in jedem +Browser funktionieren, da sie zum Teil mit anderen Funktionen +belegt sind.

    + +

    Firefox-Benutzer können die autohide-Erweiterung +installieren, um die Werkzeugleiste im Vollbildmodus auszublenden.

    + +

    Wenn Sie wissen möchten, wie Slidy funktioniert, schauen Sie sich +den XHTML-Quellcode der Seite an oder lesen diese etwas längere Erklärung +(in Englisch), die auch weitere Funktionen erläutert. Jede einzelne +Folie ist als ein div-Element mit class="slide" +markiert. CSS-Positionierung und prozentuale Breitenangaben für Bilder +können benutzt werden, um sicherzustellen, dass die Folien bei +verschiedenen Fenstergrössen optimal dargestellt werden. Der Inhalt +auf Folien kann schrittweise angezeigt werden, indem den Elementen +class="incremental" zugewiesen wird. Das eingebundene +Style Sheet und die Skripten wurden als web-basierte Alternative zu +proprietären Programmen entwickelt. Sie wurden auf verschiedensten +aktuellen Browsern getestet. Ein eingebauter Editor für die Folien +ist in Entwicklung. Bitte senden Sie Kommentare an Dave Raggett <dsr@w3.org>. Wenn Sie Slidy +nützlich finden, möchten Sie vielleicht ein W3C Supporter werden.

    + +

    Die Style Sheets, die Skripten der Präsentation und die +zugehörigen Texte sind frei zur Benutzung unter den Bedingungen +der W3C-Lizenzen document +use und software +licensing.

    + + + +
    + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.en b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.en new file mode 100755 index 0000000000..f7e9e5cb14 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.en @@ -0,0 +1,81 @@ + + + + + + Slide Show Help + + + + +

    Slide Show Help

    + +

    This slide show can be driven in the same way as Power Point. +To advance to the next slide click pretty much anywhere on the +page with the mouse, or press the space bar. You can move forwards +or backwards through the slides with the Cursor left, Cursor +right, Pg Up and Pg Dn keys. The font size is automatically +adjusted to match the browser's window width, but you can also +adjust it manually using the "S" key for smaller and the "B" key +for bigger. You can also use the "<" and ">" keys. Use the +"F" key to switch off/on the bottom status line. The "K" key +toggles the use of mouse click to advance to the next slide. You +can use "C" to show the table of contents and any other key to +hide it. Press the "H" key to view this page. Use the "F11" key to +toggle the browser's full screen mode. Note that not all keys are +supported in all browsers, as browsers may reserve some keys for +browser control and this varies from one browser to the next.

    + +

    Firefox users may want the autohide +extension to hide the toolbars when entering full screen with F11.

    + +

    If you would like to see how Slidy works, use View Source to view +the XHTML markup, or see this longer explanation, +which also explains additional features. Each slide is marked up as +a div element with class="slide". CSS positioning and percentage +widths on images can be used to ensure your image rich slides scale +to match the window size. Content to be revealed incrementally can +be marked up with class="incremental". The linked style sheet and +scripts were developed as a Web-based alternative to proprietary +presentation tools and have been tested on a variety of recent +browsers. Integrated editing support is under development. Please +send your comments to Dave +Raggett <dsr@w3.org>. +If you find Slidy useful, you may want to consider becoming a +W3C Supporter.

    + +

    You are welcome to make use of the slide show style sheets, +scripts and help file under W3C's document use +and software +licensing rules.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.es b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.es new file mode 100755 index 0000000000..a3059aab4d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.es @@ -0,0 +1,52 @@ + + + + + + + Ayuda de Slidy + + + + +

    Ayuda de "Slidy"

    + +

    Esta presentación puede manejarse igual que una presentación hecha con Power Point. +Para avanzar a la siguiente página o diapositiva haga clic con el ratón en cualquier parte de la página, o pulse la barra espaciadora. Puede moverse adelante y atrás entre las diapositivas con las teclas de flecha izquierda, derecha, retroceso de página (Re Pag) o avance de página (Av Pag). El tamaño de fuente se ajusta automáticamente para encajar en el ancho de la ventana del navegador, pero puede ajustarlo manualmente utilizando la tecla "S" para reducirlo y la tecla "B" para aumentarlo. También puede usar las teclas "<" y ">". Use la tecla "F" para presentar u ocultar la línea de estado en la parte inferior. La tecla "K" habilita o deshabilita el uso del ratón para avanzar a la siguiente diapositiva. Puede usar la tecla "C" para mostrar la tabla de contenidos o índice, y cualquier otra tecla para esconderla. Use la tecla de función "F11" para conmutar la vista a toda pantalla del navegador. Tenga en cuenta que no todas las teclas están igualmente soportadas en todos los navegadores, ya que los navegadores pueden tener reservado el uso de algunas teclas para controles del navegador, y esto puede variar de un navegador a otro.

    + +

    Los usuarios de Firefox pueden desear instalar la extensión "autohide" +para ocultar las barras de herramientas cuando utilizan la función F11 para el modo a toda pantalla.

    + +

    Si desea saber cómo funciona Slidy, utilice la Vista de Código para ver el marcado XHML, o vea esta explicación extensa, +que expone otras características adicionales. Cada diapositiva está marcada con un elemento div con la clase class="slide". Puede usarse posicionamiento y anchos en porcentajes para las imágenes, mediante CSS, para garantizar que la imagen alcance el tamaño de la diapositiva de acuerdo con el tamaño de la ventana. El contenido que se desee presentar paulatinamente puede marcarse con la clase class="incremental". La hoja de estilos y el script enlazado fueron desarrollados como una alternativa, basada en la Web, a las herramientas propietarias de presentación, y han sido probados en una variedad de navegadores recientes. Se está desarrollando un editor integrado. Envie sus comentarios, por favor, a Dave Raggett <dsr@w3.org>.

    + +

    Usted puede utilizar las hojas de estilo, scripts, y el fichero de ayuda; siempre que siga las normas de uso de documentos y licencia de software del W3C.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.fr b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.fr new file mode 100755 index 0000000000..daa7605946 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.fr @@ -0,0 +1,118 @@ + + + + + + Aide de Slide Show + + + + + +

    Aide de Slide Show

    + + + +

    Cet exposé Slide Show peut être utilisé de la même manière que Powerpoint. + +Pour avancer au prochain transparent, cliquez n'importe où sur la page avec la +souris ou appuyez sur la barre d'espace. Vous pouvez naviguer entre +les transparents avec les flèches gauche/droite ainsi que les touches Pg Up et +Pg Dn. + +La taille de la police s'adapte automatiquement à la largeur de la fenêtre +du navigateur, mais vous pouvez aussi l'ajuster manuellement en utilisant les +touches "S" (small) pour la diminuer et "B" (big) pour l'augmenter. Vous +pouvez aussi utiliser les touches "<" et ">". + +Utilisez la touche "F" pour afficher ou non le statut en pied-de-page. + +La touche "K" active l'utilisation du clic de souris pour avancer au prochain transparent. +Vous pouvez utiliser "T" pour afficher la table des matières et n'importe quelle autre touche +pour la cacher. + +Les utilisateurs de Windows peuvent utiliser la touche "F11" pour activer le mode plein écran +du navigateur. Appuyez sur la touche "H" pour obtenir cette page. À noter que certaines touches +peuvent ne pas fonctionner avec certains navigateurs car elles sont réservées pour son contrôle. +De plus, cela peut varier d'un navigateur à l'autre.

    + +

    Les utilisateurs de Firefox peuvent installer l'extension autohide +pour cacher les barres d'outils lorsque le mode plein écran est activé +avec la touche F11.

    + +

    Si vous voulez voir comment Slidy fonctionne, affichez le code source de la page +pour voir le balisage XHTML, ou lisez cette explication plus complète (en anglais), +qui explique aussi des fonctionnalités additionnelles. + +Chaque transparent est balisé par un élément div avec l'attribut class="slide". +Il est aussi possible d'utiliser le positionnement CSS ainsi que la largeur en pourcentage +pour s'assurer que vos images soient à l'échelle du transparent et correspondent ainsi à la taille +de la fenêtre. Le contenu devant s'afficher progressivement doit être marqué par l'attribut + class="incremental". + +La feuille de style reliée ainsi que les scripts ont été développés comme alternative Web +aux outils de présentation propriétaires et ont été testés sur un large panel de navigateurs récents. +Le support intégré pour l'édition est en cours de développement. Envoyez vos commentaires +(en anglais) à Dave +Raggett <dsr@w3.org>. +Si vous trouvez Slidy utile, vous pouvez également devenir +Supporter du W3C.

    + + + +

    Veuillez utilisez les feuilles de style, scripts et fichiers d'aide + +en suivant le copyright + +et la licence du W3C.

    + + + + + + + +
    + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.hu b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.hu new file mode 100755 index 0000000000..64eb205342 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.hu @@ -0,0 +1,98 @@ + + + + + + Segítség a bemutatóhoz + + + + + + + +

    Segítség a bemutatóhoz

    + +

    Ezt a bemutatót a Power Point-hoz hasonlóan lehet vezérelni. + A következő oldalra való lépéshez kattintson bárhova az aktuális + oldalon belül, vagy nyomja le a szóköz billentyűt. Az oldalak között + a bal és jobb nyíl, illetve a Page Up és Page Down billentyűkkel mozoghat. + A szöveg mérete automatikusan kerül beállításra úgy, hogy igazodjon + a böngésző ablakának szélességéhez, viszont az "S" billentyűvel + csökkentheti, a "B"-vel növelheti azt. Ugyanerre használhatja a "<" + és a ">" billentyűket is. + Az "F" billentyűvel be- és + kikapcsolhatja az alsó állapotsor megjelenítését. A "K" billentyűvel + letilthatja, illetve engedélyezheti, hogy egérkattintással a következő + oldalra lehessen lépni. A "C" billentyűvel megjelenítheti, bármely másikkal + pedig eltűntetheti a tartalomjegyzéket. Az "F11" billenytűvel válthat át + a böngésző teljes képernyős üzemmódjára, vagy jöhet onnan vissza. + Megjegyezzük, hogy nem minden billentyű támogatott minden böngészőben, + mivel a böngészők lefoglalhatnak néhány (böngészőnként eltérő) billentyűt + a saját vezérlésükre. +

    + +

    A Firefox felhasználóknak hasznos lehet az + autohide + bővítmény, amivel elrejthetők az eszköztárak teljes képernyős üzemmódban. +

    + +

    Ha szeretné látni, hogyan működik a Slidy, nézze meg az oldal + forrásában az XHTML jelölésmódot, vagy nézze meg ezt a + hosszabb magyarázatot, + ami további funkciókat is bemutat. Minden oldalt egy olyan div elem jelöl, + amiben be van állítva, hogy class="slide". A képek CSS-sel történő + pozicionálása és szélességüknek százalékban való megadása biztosítja, + hogy a sok képet tartalmazó oldalak az ablak méretének megfelelően + skálázódjanak. Az oldalon belül egymás után megjelenítendő tartalom a + class="incremental" megadásával jelölhető. A becsatolt stíluslapok és + scriptek a védjegyzett/szabadalmaztatott/más módon védett + bemutató-megjelenítő eszközök web-alapú alternatívájaként lettek + fejlesztve, és sok, manapság használatos böngészővel tesztelve. + Az integrált szerkesztési lehetőség jelenleg fejlesztés alatt áll. + Észrevételeit a következő helyre küldje: + Dave Raggett + <dsr@w3.org>. +

    + +

    + Ön jogosult az e bemutatóhoz tartozó stíluslapok, scriptek és + segítség fájl használatára, amennyiben betartja a W3C + + dokumentum használati és + + szoftver licencelési szabályait. + +

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.nl b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.nl new file mode 100755 index 0000000000..b2e90432cb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.nl @@ -0,0 +1,82 @@ + + + + + + + Slidy Help + + + + +

    Slidy Help

    + + + +

    Deze sheetpresentatie kan op dezelfde manier worden aangestuurd als +Powerpoint. Klik op een willekeurige plaats op de pagina met de muis, of +druk op de spatiebalk om naar de volgende sheet te gaan. Je kan voor- of +achterwaarts door de sheets bewegen mbv de links/rechts cursor- en de Page +Up en Page Down toetsen. De lettergrootte wordt automatisch aangepast aan +de breedte van het venster, maar je kunt 'm ook handmatig aanpassen met +"S" en "<" voor kleiner en "B" en ">" voor groter. Gebruik de +"F" om de status aan de onderkant aan/uit te schakelen. De "K" zorgt +ervoor dat een muisklik je niet meer, of wel weer naar de volgende sheet +brengt. Je kan de "C" gebruiken om het inhoudsoverzicht op te roepen, en +een willekeurige andere toets om 'm weer te verbergen. Gebruik "F11" om de +"volledig scherm" modus aan /uit te schakelen. Merk op dat niet alle +toetsen in iedere browser worden ondersteund, omdat sommige browsers +toetsen gebruiken voor besturing van de browser zelf. Dit varieert zelfs +tussen versies van dezelfde browser.

    + +

    Firefox gebruikers willen wellicht de "autohide" extension gebruiken om +werkbalken te verbergen wanneer "volledig scherm" wordt aangeroepen met +"F11".

    + +

    Als u wilt zien hoe Slidy werkt, gebruik Bron Bekijken om de XHTML opmaak +te bekijken, of bekijk deze langere uitleg, die ook extra functionaliteit +uitlegt. Elke sheet is in de opmaak genoteerd als een div element met +class="slide". CSS positionering and procentuele breedtes op afbeeldingen +kunnen worden gebruikt om te verzekeren dat uw afbeeldingrijke sheets +schalen naar de vensterbreedte. Inhoud kan stapsgewijs zichtbaar worden +gemaakt met behulp van class="incremental". Het gelinkte stijlblad en de +gelinkte scripts zijn ontwikkeld als een Web-gebaseerd alternatief voor +gesloten presentatie programma's en zijn getest op een variëteit van +recente browsers. Geintegreerde ondersteuning voor (inhoud)aanpassing +wordt ontwikkeld. Zend uw opmerkingen aub naar Dave Raggett <dsr@w3.org> +Als u Slidy bruikbaar vindt, wilt u wellicht overwegen W3C donateur te +worden.

    + +

    U bent welkom om gebruik te maken van de stijlbladen, scripts en dit +helpbestand onder de regels van W3C's document use (document gebruik) en +software licensing (software licenties)

    + + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pl b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pl new file mode 100755 index 0000000000..91d8571b5c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pl @@ -0,0 +1,76 @@ + + + + + + + Slidy - pomoc + + + + +

    Slidy - pomoc

    + +

    Prezentacją steruje się tak samo, jak w Powerpoincie. +Aby przejść do następnego slajdu, kliknij w dowolnym miejscu prezentacji myszą +lub naciśnij spację. Możesz też poruszać się w przód / tył używając klawiszy +kursora (lewo / prawo) lub klawiszy Pg Up / Pg Dn. Rozmiar czcionki jest +dobierany automatycznie tak, żeby mieścił się w obszarze przeglądarki, +ale możesz także dostosować go ręcznie naciskając klawisze "S", aby pomniejszyć +tekst i "B", aby go powiększyć. Możesz do tego celu także użyć klawiszy "<" + i ">". Użyj klawisza "F" aby + ukryć / pokazać dolny pasek statusu. Klawisz "K" włącza / wyłącza tryb przechodzenia + do następnego slajdu po kliknięciu myszką. Możesz użyć klawisza "C", żeby pokazać + spis treści i dowolnego innego, żeby go ukryć. Klawisz +"F11" włącza tryb pełnoekranowy przeglądarki. Pamiętaj, że nie wszystkie klawisze +są obsługiwane we wszystkich przeglądarkach, gdyż niektóre z nich rezerwują +konkretne klawisze do własnych celów, wszystko to zależy od używanej przeglądarki.

    + +

    Jeśli używasz Firefoxa, zwróć uwagę na rozszerzenie autohide, dzięki któremu +możesz ukryć paski narzędziowe w trybie pełnoekranowym (F11).

    + +

    Jeśli chcesz dowiedzieć się, w jaki sposób działa Slidy, obejrzyj źródło strony prezentacji, żeby +zobaczyć użyty XHTML lub zapoznaj się z prezentacją działania, która omawia +wszystkie dodatkowe funkcje. Każdy slajd jest reprezentowany przez element div o klasie "slide". +Pozycjonowanie CSS i użycie procentowych szerokości obrazków zapewni, że +Twoje slajdy będą poprawnie wyświetlane w każdej skali. +Zawartości slajdu, które mają być stopniowo odsłaniane oznacz klasą "incremental". +Powiązany arkusz stylów CSS i skrypt zostały stworzone jako sieciowa +alternatywa dla komercyjnych narzędzi prezentacyjnych. Całość została +przetestowana na różnorodnych współczesnych przeglądarkach. +Na etapie tworzenia jest aplikacja do zintegrowanego tworzenia i edycji prezentacji. +Wszystkie komentarze prosimy kierować do Dave'a +Raggetta <dsr@w3.org>.

    + +

    Zachęcamy do używania arkuszy stylów, skryptów i pliku pomocy na warunkach licencyjnych dotyczących dokumentów +i oprogramowania W3C

    + + + +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt-br b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt-br new file mode 100755 index 0000000000..c2aee81cfb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt-br @@ -0,0 +1,95 @@ + + + + + Slide Show Help + + + +

    Ajuda do Slide Show

    + +

    Este slide show pode ser tocado do jeito do Power Point. +Para avançar ao próximo eslaide, clique em qualquer ponto +da página com o botão direito do mouse. Ou então use a +barra de espaços. Também se pode movimentar para frente ou +para trás com as teclas do cursor -- setinhas para a +direita, para a esquerda, para cima e para baixo. E ainda +com as teclas Page Up e Page Down. O tamanho da fonte é +automaticamente ajustado à largura da janela do navegador, +mas esse ajuste pode ser manual, usando as teclas "S" +(de "smaller") para diminuir o tamanho, e "B" (de "bigger") +para aumentar. Igualmente se pode usar as teclas "<" e +">". Use +a tecla "F" para alternar entre desativada e ativada a +linha de status no rodapé. A tecla "K" alterna o uso do +clique do mouse para avançar ao próximo eslaide. A tecla +"C" mostra a tabela de conteúdos, que será novamente +ocultada apertando-se qualquer tecla. Use a tecla "F11" +para alternar o modo de tela cheia do navegador. Aperte +"H" (de "Help") para abrir esta página de Ajuda. Note que +alguns navegadores reservam algumas dessas teclas para +outras funções. Assim, experimente no seu navegador para +ver se esse é o seu caso.

    + +

    Usuários do Firefox podem querer a extensão autoocultar +para esconder as barras de ferramentas quando entrarem em tela cheia +com a tecla F11.

    + +

    Se quiser ver como funciona o Slidy, use o View Source para +visualizar a marcação XHTML, ou leia esta explanação mais longa, +que também contém funcionalidades adicionais. Cada eslaide é +marcado como um div element com +classe="slide". Posicionamentos e larguras em porcentual de CSS +podem ser usados para assegurar que os eslaides com rica +ilustração tenham escalabilidade de acordo com o tamanho da janela. +Já o conteúdo a ser revelado incrementalmente pode receber a +marcação com a classe="incremental". +A folha de estilos vinculados e os scripts foram desenvolvidos +como uma alternativa baseada em web às ferramentas proprietárias +de apresentação, e testados em diversos navegadores recentes. +Suporte à edição integrada ainda está em desenvolvimento. Mande +seus comentários para Dave +Raggett <dsr@w3.org>. +Achando que o Slidy é útil, V. talvez possa considerar a +possibilidade de se tornar um +Apoiador do W3C.

    + +

    Fique à vontade para usar as folhas de estilo, os scripts +e o arquivo de ajuda do show de eslaides que se encontram sob as +regras de + +uso de documentação +e +licenciamento de softwaredo W3C -- Consórcio da World Wide +Web.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt_br b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt_br new file mode 100755 index 0000000000..c2aee81cfb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.pt_br @@ -0,0 +1,95 @@ + + + + + Slide Show Help + + + +

    Ajuda do Slide Show

    + +

    Este slide show pode ser tocado do jeito do Power Point. +Para avançar ao próximo eslaide, clique em qualquer ponto +da página com o botão direito do mouse. Ou então use a +barra de espaços. Também se pode movimentar para frente ou +para trás com as teclas do cursor -- setinhas para a +direita, para a esquerda, para cima e para baixo. E ainda +com as teclas Page Up e Page Down. O tamanho da fonte é +automaticamente ajustado à largura da janela do navegador, +mas esse ajuste pode ser manual, usando as teclas "S" +(de "smaller") para diminuir o tamanho, e "B" (de "bigger") +para aumentar. Igualmente se pode usar as teclas "<" e +">". Use +a tecla "F" para alternar entre desativada e ativada a +linha de status no rodapé. A tecla "K" alterna o uso do +clique do mouse para avançar ao próximo eslaide. A tecla +"C" mostra a tabela de conteúdos, que será novamente +ocultada apertando-se qualquer tecla. Use a tecla "F11" +para alternar o modo de tela cheia do navegador. Aperte +"H" (de "Help") para abrir esta página de Ajuda. Note que +alguns navegadores reservam algumas dessas teclas para +outras funções. Assim, experimente no seu navegador para +ver se esse é o seu caso.

    + +

    Usuários do Firefox podem querer a extensão autoocultar +para esconder as barras de ferramentas quando entrarem em tela cheia +com a tecla F11.

    + +

    Se quiser ver como funciona o Slidy, use o View Source para +visualizar a marcação XHTML, ou leia esta explanação mais longa, +que também contém funcionalidades adicionais. Cada eslaide é +marcado como um div element com +classe="slide". Posicionamentos e larguras em porcentual de CSS +podem ser usados para assegurar que os eslaides com rica +ilustração tenham escalabilidade de acordo com o tamanho da janela. +Já o conteúdo a ser revelado incrementalmente pode receber a +marcação com a classe="incremental". +A folha de estilos vinculados e os scripts foram desenvolvidos +como uma alternativa baseada em web às ferramentas proprietárias +de apresentação, e testados em diversos navegadores recentes. +Suporte à edição integrada ainda está em desenvolvimento. Mande +seus comentários para Dave +Raggett <dsr@w3.org>. +Achando que o Slidy é útil, V. talvez possa considerar a +possibilidade de se tornar um +Apoiador do W3C.

    + +

    Fique à vontade para usar as folhas de estilo, os scripts +e o arquivo de ajuda do show de eslaides que se encontram sob as +regras de + +uso de documentação +e +licenciamento de softwaredo W3C -- Consórcio da World Wide +Web.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.sv b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.sv new file mode 100755 index 0000000000..3d019a7121 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.html.sv @@ -0,0 +1,75 @@ + + + + + + + + Hjälpsida för presentationer + + +

    Hjälpsida för presentationer

    + +

    Denna presentation kan användas på liknande sätt som Power Point. +För att bläddra till nästa sida går det att trycka på mellanslagstangenten eller klicka med musens +västra knapp så gott som var som helst på sidan. Bläddra framåt och +bakåt med höger- respektive vänsterpiltangenterna eller tangenterna »Pg Dn» respektive +»Pg Up». Textens storlek anpassas automatiskt efter webbläsarens +fönsterbredd, men den går även att justera manuellt med +tangenterna »S» och »B» för att förminska respektive förstora texten. Alternativt kan +tangenterna »<» respektive »>» användas. Tangenten +»F» används för att visa / dölja statusraden längst ner i fönstret. Tangenten »K» +kopplar på / av möjligheten att klicka med musen för att bläddra till nästa sida. Tangenten +»C» används för att visa innehållsförteckningen och en tryckning på vilken annan tangent som +helst döljer den. En tryckning på tangenten »H» visar denna hjälpsida. Tangenten »F11» +växlar mellan fullskärmsvisning och visning i webbläsarens fönster. Observera att vissa webbläsare kan +ha reserverat några av dessa tangenttryckningar för andra funktioner; detta varierar mellan olika webbläsare.

    + +

    Firefoxanvändare kan vid behov installera autohide +för att verktygsfälten skall döljas vid övergång till fullskärmsvisning med F11.

    + +

    För att se hur Slidy fungerar, titta på XHTML-koden genom att välja »Visa +källa» (eller liknande) i webbläsarens meny eller läs följande längre +beskrivning, där även ytterligare finesser beskrivs. Varje sida är markerad som +div-element med attributet class="slide". CSS-positionering och procentuell bredd +kan användas för att placera bilderna i rätt skala i förhållande till +webbläsarens fönsterstorlek. Det som skall visas inkrementiellt +markeras med class="incremental". Länkar hänvisar till några skript och stilmallar +som har testats med en mängd nutida webbläsare och bildar ett webbaserat alternativ till proprietära +presentationsprogram. Stöd för integrerad editering håller på att utvecklas. Skicka gärna +kommentarer till Dave +Raggett <dsr@w3.org>. +Om du finner Slidy användbar kan du överväga att bli +W3C Supporter.

    + +

    Välkommen att använda presentationens stilmallar, skript och hjälpfiler enligt reglerna +för W3C:s document use +och software +licensing!

    + + + +
    + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.pt-br.html b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.pt-br.html new file mode 100755 index 0000000000..72d98919f0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/help/help.pt-br.html @@ -0,0 +1,95 @@ + + + + + Slide Show Help + + + +

    Ajuda do Slide Show

    + +

    Este slide show pode ser tocado do jeito do Power Point. +Para avançar ao próximo eslaide, clique em qualquer ponto +da página com o botão direito do mouse. Ou então use a +barra de espaços. Também se pode movimentar para frente ou +para trás com as teclas do cursor -- setinhas para a +direita, para a esquerda, para cima e para baixo. E ainda +com as teclas Page Up e Page Down. O tamanho da fonte é +automaticamente ajustado à largura da janela do navegador, +mas esse ajuste pode ser manual, usando as teclas "S" +(de "smaller") para diminuir o tamanho, e "B" (de "bigger") +para aumentar. Igualmente se pode usar as teclas "<" e +">". Use +a tecla "F" para alternar entre desativada e ativada a +linha de status no rodapé. A tecla "K" alterna o uso do +clique do mouse para avançar ao próximo eslaide. A tecla +"C" mostra a tabela de conteúdos, que será novamente +ocultada apertando-se qualquer tecla. Use a tecla "F11" +para alternar o modo de tela cheia do navegador. Aperte +"H" (de "Help") para abrir esta página de Ajuda. Note que +alguns navegadores reservam algumas dessas teclas para +outras funções. Assim, experimente no seu navegador para +ver se esse é o seu caso.

    + +

    Usuários do Firefox podem querer a extensão autoocultar +para esconder as barras de ferramentas quando entrarem em tela cheia +com a tecla F11.

    + +

    Se quiser ver como funciona o Slidy, use o View Source para +visualizar a marcação XHTML, ou leia esta explanação mais longa, +que também contém funcionalidades adicionais. Cada eslaide é +marcado como um div element com +classe="slide". Posicionamentos e larguras em porcentual de CSS +podem ser usados para assegurar que os eslaides com rica +ilustração tenham escalabilidade de acordo com o tamanho da janela. +Já o conteúdo a ser revelado incrementalmente pode receber a +marcação com a classe="incremental". +A folha de estilos vinculados e os scripts foram desenvolvidos +como uma alternativa baseada em web às ferramentas proprietárias +de apresentação, e testados em diversos navegadores recentes. +Suporte à edição integrada ainda está em desenvolvimento. Mande +seus comentários para Dave +Raggett <dsr@w3.org>. +Achando que o Slidy é útil, V. talvez possa considerar a +possibilidade de se tornar um +Apoiador do W3C.

    + +

    Fique à vontade para usar as folhas de estilo, os scripts +e o arquivo de ajuda do show de eslaides que se encontram sob as +regras de + +uso de documentação +e +licenciamento de softwaredo W3C -- Consórcio da World Wide +Web.

    + + + +
    + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/.htaccess b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/.htaccess new file mode 100755 index 0000000000..d395348aee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/.htaccess @@ -0,0 +1,28 @@ +Options +MultiViews +LanguagePriority en +AddLanguage pt-br .pt-br + + + +ForceType 'text/html; charset=utf-8' + + + + + +ForceType 'application/xhtml+xml; charset=utf-8' + + + + + +ForceType 'text/css; charset=utf-8' + + + + + +ForceType 'text/javascript; charset=utf-8' + + +mkdir diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js new file mode 100755 index 0000000000..25b6e76505 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js @@ -0,0 +1,2974 @@ +/* slidy.js + + Copyright (c) 2005-2011 W3C (MIT, ERCIM, Keio), All Rights Reserved. + W3C liability, trademark, document use and software licensing + rules apply, see: + + http://www.w3.org/Consortium/Legal/copyright-documents + http://www.w3.org/Consortium/Legal/copyright-software + + Defines single name "w3c_slidy" in global namespace + Adds event handlers without trampling on any others +*/ + +// the slidy object implementation +var w3c_slidy = { + // classify which kind of browser we're running under + ns_pos: (typeof window.pageYOffset!='undefined'), + khtml: ((navigator.userAgent).indexOf("KHTML") >= 0 ? true : false), + opera: ((navigator.userAgent).indexOf("Opera") >= 0 ? true : false), + ipad: ((navigator.userAgent).indexOf("iPad") >= 0 ? true : false), + iphone: ((navigator.userAgent).indexOf("iPhone") >= 0 ? true : false), + android: ((navigator.userAgent).indexOf("Android") >= 0 ? true : false), + ie: (typeof document.all != "undefined" && !this.opera), + ie6: (!this.ns_pos && navigator.userAgent.indexOf("MSIE 6") != -1), + ie7: (!this.ns_pos && navigator.userAgent.indexOf("MSIE 7") != -1), + ie8: (!this.ns_pos && navigator.userAgent.indexOf("MSIE 8") != -1), + ie9: (!this.ns_pos && navigator.userAgent.indexOf("MSIE 9") != -1), + + // data for swipe and double tap detection on touch screens + last_tap: 0, + prev_tap: 0, + start_x: 0, + start_y: 0, + delta_x: 0, + delta_y: 0, + + // are we running as XHTML? (doesn't work on Opera) + is_xhtml: /xml/.test(document.contentType), + + slide_number: 0, // integer slide count: 0, 1, 2, ... + slide_number_element: null, // element containing slide number + slides: [], // set to array of slide div's + notes: [], // set to array of handout div's + backgrounds: [], // set to array of background div's + toolbar: null, // element containing toolbar + title: null, // document title + last_shown: null, // last incrementally shown item + eos: null, // span element for end of slide indicator + toc: null, // table of contents + outline: null, // outline element with the focus + selected_text_len: 0, // length of drag selection on document + view_all: 0, // 1 to view all slides + handouts + want_toolbar: true, // user preference to show/hide toolbar + mouse_click_enabled: true, // enables left click for next slide + scroll_hack: 0, // IE work around for position: fixed + disable_slide_click: false, // used by clicked anchors + + lang: "en", // updated to language specified by html file + + help_anchor: null, // used for keyboard focus hack in showToolbar() + help_page: "http://www.w3.org/Talks/Tools/Slidy2/help/help.html", + help_text: "Navigate with mouse click, space bar, Cursor Left/Right, " + + "or Pg Up and Pg Dn. Use S and B to change font size.", + + size_index: 0, + size_adjustment: 0, + sizes: new Array("10pt", "12pt", "14pt", "16pt", "18pt", "20pt", + "22pt", "24pt", "26pt", "28pt", "30pt", "32pt"), + + // needed for efficient resizing + last_width: 0, + last_height: 0, + + + // Needed for cross browser support for relative width/height on + // object elements. The work around is to save width/height attributes + // and then to recompute absolute width/height dimensions on resizing + objects: [], + + // attach initialiation event handlers + set_up: function () { + var init = function() { w3c_slidy.init(); }; + if (typeof window.addEventListener != "undefined") + window.addEventListener("load", init, false); + else + window.attachEvent("onload", init); + }, + + hide_slides: function () { + if (document.body && !w3c_slidy.initialized) + document.body.style.visibility = "hidden"; + else + setTimeout(w3c_slidy.hide_slides, 50); + }, + + // hack to persuade IE to compute correct document height + // as needed for simulating fixed positioning of toolbar + ie_hack: function () { + window.resizeBy(0,-1); + window.resizeBy(0, 1); + }, + + init: function () { + //alert("slidy starting test 10"); + document.body.style.visibility = "visible"; + this.init_localization(); + this.add_toolbar(); + this.wrap_implicit_slides(); + this.collect_slides(); + this.collect_notes(); + this.collect_backgrounds(); + this.objects = document.body.getElementsByTagName("object"); + this.patch_anchors(); + this.slide_number = this.find_slide_number(location.href); + window.offscreenbuffering = true; + this.size_adjustment = this.find_size_adjust(); + this.time_left = this.find_duration(); + this.hide_image_toolbar(); // suppress IE image toolbar popup + this.init_outliner(); // activate fold/unfold support + this.title = document.title; + this.keyboardless = (this.ipad||this.iphone||this.android); + + if (this.keyboardless) + { + w3c_slidy.remove_class(w3c_slidy.toolbar, "hidden") + this.want_toolbar = 0; + } + + // work around for opera bug + this.is_xhtml = (document.body.tagName == "BODY" ? false : true); + + if (this.slides.length > 0) + { + var slide = this.slides[this.slide_number]; + + if (this.slide_number > 0) + { + this.set_visibility_all_incremental("visible"); + this.last_shown = this.previous_incremental_item(null); + this.set_eos_status(true); + } + else + { + this.last_shown = null; + this.set_visibility_all_incremental("hidden"); + this.set_eos_status(!this.next_incremental_item(this.last_shown)); + } + + this.set_location(); + this.add_class(this.slides[0], "first-slide"); + w3c_slidy.show_slide(slide); + } + + this.toc = this.table_of_contents(); + + this.add_initial_prompt(); + + // bind event handlers without interfering with custom page scripts + // Tap events behave too weirdly to support clicks reliably on + // iPhone and iPad, so exclude these from click handler + + if (!this.keyboardless) + this.add_listener(document.body, "click", this.mouse_button_click); + + this.add_listener(document, "keydown", this.key_down); + this.add_listener(document, "keypress", this.key_press); + this.add_listener(window, "resize", this.resized); + this.add_listener(window, "scroll", this.scrolled); + this.add_listener(window, "unload", this.unloaded); + + this.add_listener(document, "touchstart", this.touchstart); + this.add_listener(document, "touchmove", this.touchmove); + this.add_listener(document, "touchend", this.touchend); + + // this seems to be a debugging hack + //if (!document.body.onclick) + // document.body.onclick = function () { }; + + this.single_slide_view(); + + //this.set_location(); + + this.resized(); + + if (this.ie7) + setTimeout(w3c_slidy.ie_hack, 100); + + this.show_toolbar(); + + // for back button detection + setInterval(function () { w3c_slidy.check_location(); }, 200); + w3c_slidy.initialized = true; + }, + + // create div element with links to each slide + table_of_contents: function () { + var toc = this.create_element("div"); + this.add_class(toc, "slidy_toc hidden"); + //toc.setAttribute("tabindex", "0"); + + var heading = this.create_element("div"); + this.add_class(heading, "toc-heading"); + heading.innerHTML = this.localize("Table of Contents"); + + toc.appendChild(heading); + var previous = null; + + for (var i = 0; i < this.slides.length; ++i) + { + var title = this.has_class(this.slides[i], "title"); + var num = document.createTextNode((i + 1) + ". "); + + toc.appendChild(num); + + var a = this.create_element("a"); + a.setAttribute("href", "#(" + (i+1) + ")"); + + if (title) + this.add_class(a, "titleslide"); + + var name = document.createTextNode(this.slide_name(i)); + a.appendChild(name); + a.onclick = w3c_slidy.toc_click; + a.onkeydown = w3c_slidy.toc_key_down; + a.previous = previous; + + if (previous) + previous.next = a; + + toc.appendChild(a); + + if (i == 0) + toc.first = a; + + if (i < this.slides.length - 1) + { + var br = this.create_element("br"); + toc.appendChild(br); + } + + previous = a; + } + + toc.focus = function () { + if (this.first) + this.first.focus(); + } + + toc.onmouseup = w3c_slidy.mouse_button_up; + + toc.onclick = function (e) { + e||(e=window.event); + + if (w3c_slidy.selected_text_len <= 0) + w3c_slidy.hide_table_of_contents(true); + + w3c_slidy.stop_propagation(e); + + if (e.cancel != undefined) + e.cancel = true; + + if (e.returnValue != undefined) + e.returnValue = false; + + return false; + }; + + document.body.insertBefore(toc, document.body.firstChild); + return toc; + }, + + is_shown_toc: function () { + return !w3c_slidy.has_class(w3c_slidy.toc, "hidden"); + }, + + show_table_of_contents: function () { + w3c_slidy.remove_class(w3c_slidy.toc, "hidden"); + var toc = w3c_slidy.toc; + toc.focus(); + + if (w3c_slidy.ie7 && w3c_slidy.slide_number == 0) + setTimeout(w3c_slidy.ie_hack, 100); + }, + + hide_table_of_contents: function (focus) { + w3c_slidy.add_class(w3c_slidy.toc, "hidden"); + + if (focus && !w3c_slidy.opera) + w3c_slidy.help_anchor.focus(); + }, + + toggle_table_of_contents: function () { + if (w3c_slidy.is_shown_toc()) + w3c_slidy.hide_table_of_contents(true); + else + w3c_slidy.show_table_of_contents(); + }, + + // called on clicking toc entry + toc_click: function (e) { + if (!e) + e = window.event; + + var target = w3c_slidy.get_target(e); + + if (target && target.nodeType == 1) + { + var uri = target.getAttribute("href"); + + if (uri) + { + //alert("going to " + uri); + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.slide_number = w3c_slidy.find_slide_number(uri); + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.last_shown = null; + w3c_slidy.set_location(); + w3c_slidy.set_visibility_all_incremental("hidden"); + w3c_slidy.set_eos_status(!w3c_slidy.next_incremental_item(w3c_slidy.last_shown)); + w3c_slidy.show_slide(slide); + //target.focus(); + + try + { + if (!w3c_slidy.opera) + w3c_slidy.help_anchor.focus(); + } + catch (e) + { + } + } + } + + w3c_slidy.hide_table_of_contents(true); + if (w3c_slidy.ie7) w3c_slidy.ie_hack(); + w3c_slidy.stop_propagation(e); + return w3c_slidy.cancel(e); + }, + + // called onkeydown for toc entry + toc_key_down: function (event) { + var key; + + if (!event) + var event = window.event; + + // kludge around NS/IE differences + if (window.event) + key = window.event.keyCode; + else if (event.which) + key = event.which; + else + return true; // Yikes! unknown browser + + // ignore event if key value is zero + // as for alt on Opera and Konqueror + if (!key) + return true; + + // check for concurrent control/command/alt key + // but are these only present on mouse events? + + if (event.ctrlKey || event.altKey) + return true; + + if (key == 13) + { + var uri = this.getAttribute("href"); + + if (uri) + { + //alert("going to " + uri); + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.slide_number = w3c_slidy.find_slide_number(uri); + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.last_shown = null; + w3c_slidy.set_location(); + w3c_slidy.set_visibility_all_incremental("hidden"); + w3c_slidy.set_eos_status(!w3c_slidy.next_incremental_item(w3c_slidy.last_shown)); + w3c_slidy.show_slide(slide); + //target.focus(); + + try + { + if (!w3c_slidy.opera) + w3c_slidy.help_anchor.focus(); + } + catch (e) + { + } + } + + w3c_slidy.hide_table_of_contents(true); + + if (self.ie7) + w3c_slidy.ie_hack(); + + return w3c_slidy.cancel(event); + } + + if (key == 40 && this.next) + { + this.next.focus(); + return w3c_slidy.cancel(event); + } + + if (key == 38 && this.previous) + { + this.previous.focus(); + return w3c_slidy.cancel(event); + } + + return true; + }, + + touchstart: function (e) + { + //e.preventDefault(); + this.prev_tap = this.last_tap; + this.last_tap = (new Date).getTime(); + + var tap_delay = this.last_tap - this.prev_tap; + + if (tap_delay <= 200) + { + // double tap + } + + var touch = e.touches[0]; + + this.start_x = touch.pageX; + this.start_y = touch.pageY; + this.delta_x = this.delta_y = 0; + }, + + touchmove: function (e) + { + //e.preventDefault(); + var touch = e.touches[0]; + this.delta_x = touch.pageX - this.start_x; + this.delta_y = touch.pageY - this.start_y; + }, + + touchend: function (e) + { + //e.preventDefault(); + var delay = (new Date).getTime() - this.last_tap; + var dx = this.delta_x; + var dy = this.delta_y; + var abs_dx = Math.abs(dx); + var abs_dy = Math.abs(dy); + + if (delay < 500 && (abs_dx > 100 || abs_dy > 100)) + { + if (abs_dx > 0.5 * abs_dy) + { + if (dx < 0) + w3c_slidy.next_slide(true); + else + w3c_slidy.previous_slide(true); + } + else if (abs_dy > 2 * abs_dx) + { + w3c_slidy.toggle_table_of_contents(); + } + } + }, + + // ### OBSOLETE ### + before_print: function () { + this.show_all_slides(); + this.hide_toolbar(); + alert("before print"); + }, + + // ### OBSOLETE ### + after_print: function () { + if (!this.view_all) + { + this.single_slide_view(); + this.show_toolbar(); + } + alert("after print"); + }, + + // ### OBSOLETE ### + print_slides: function () { + this.before_print(); + window.print(); + this.after_print(); + }, + + // ### OBSOLETE ?? ### + toggle_view: function () { + if (this.view_all) + { + this.single_slide_view(); + this.show_toolbar(); + this.view_all = 0; + } + else + { + this.show_all_slides(); + this.hide_toolbar(); + this.view_all = 1; + } + }, + + // prepare for printing ### OBSOLETE ### + show_all_slides: function () { + this.remove_class(document.body, "single_slide"); + this.set_visibility_all_incremental("visible"); + }, + + // restore after printing ### OBSOLETE ### + single_slide_view: function () { + this.add_class(document.body, "single_slide"); + this.set_visibility_all_incremental("visible"); + this.last_shown = this.previous_incremental_item(null); + }, + + // suppress IE's image toolbar pop up + hide_image_toolbar: function () { + if (!this.ns_pos) + { + var images = document.getElementsByTagName("IMG"); + + for (var i = 0; i < images.length; ++i) + images[i].setAttribute("galleryimg", "no"); + } + }, + + unloaded: function (e) { + //alert("unloaded"); + }, + + // Safari and Konqueror don't yet support getComputedStyle() + // and they always reload page when location.href is updated + is_KHTML: function () { + var agent = navigator.userAgent; + return (agent.indexOf("KHTML") >= 0 ? true : false); + }, + + // find slide name from first h1 element + // default to document title + slide number + slide_name: function (index) { + var name = null; + var slide = this.slides[index]; + + var heading = this.find_heading(slide); + + if (heading) + name = this.extract_text(heading); + + if (!name) + name = this.title + "(" + (index + 1) + ")"; + + name.replace(/\&/g, "&"); + name.replace(/\/g, ">"); + + return name; + }, + + // find first h1 element in DOM tree + find_heading: function (node) { + if (!node || node.nodeType != 1) + return null; + + if (node.nodeName == "H1" || node.nodeName == "h1") + return node; + + var child = node.firstChild; + + while (child) + { + node = this.find_heading(child); + + if (node) + return node; + + child = child.nextSibling; + } + + return null; + }, + + // recursively extract text from DOM tree + extract_text: function (node) { + if (!node) + return ""; + + // text nodes + if (node.nodeType == 3) + return node.nodeValue; + + // elements + if (node.nodeType == 1) + { + node = node.firstChild; + var text = ""; + + while (node) + { + text = text + this.extract_text(node); + node = node.nextSibling; + } + + return text; + } + + return ""; + }, + + // find copyright text from meta element + find_copyright: function () { + var name, content; + var meta = document.getElementsByTagName("meta"); + + for (var i = 0; i < meta.length; ++i) + { + name = meta[i].getAttribute("name"); + content = meta[i].getAttribute("content"); + + if (name == "copyright") + return content; + } + + return null; + }, + + find_size_adjust: function () { + var name, content, offset; + var meta = document.getElementsByTagName("meta"); + + for (var i = 0; i < meta.length; ++i) + { + name = meta[i].getAttribute("name"); + content = meta[i].getAttribute("content"); + + if (name == "font-size-adjustment") + return 1 * content; + } + + return 1; + }, + + // for 20 minutes + find_duration: function () { + var name, content, offset; + var meta = document.getElementsByTagName("meta"); + + for (var i = 0; i < meta.length; ++i) + { + name = meta[i].getAttribute("name"); + content = meta[i].getAttribute("content"); + + if (name == "duration") + return 60000 * content; + } + + return null; + }, + + replace_by_non_breaking_space: function (str) { + for (var i = 0; i < str.length; ++i) + str[i] = 160; + }, + + // ### CHECK ME ### is use of "li" okay for text/html? + // for XHTML do we also need to specify namespace? + init_outliner: function () { + var items = document.getElementsByTagName("li"); + + for (var i = 0; i < items.length; ++i) + { + var target = items[i]; + + if (!this.has_class(target.parentNode, "outline")) + continue; + + target.onclick = this.outline_click; +/* ### more work needed for IE6 + if (!this.ns_pos) + { + target.onmouseover = this.hover_outline; + target.onmouseout = this.unhover_outline; + } +*/ + if (this.foldable(target)) + { + target.foldable = true; + target.onfocus = function () {w3c_slidy.outline = this;}; + target.onblur = function () {w3c_slidy.outline = null;}; + + if (!target.getAttribute("tabindex")) + target.setAttribute("tabindex", "0"); + + if (this.has_class(target, "expand")) + this.unfold(target); + else + this.fold(target); + } + else + { + this.add_class(target, "nofold"); + target.visible = true; + target.foldable = false; + } + } + }, + + foldable: function (item) { + if (!item || item.nodeType != 1) + return false; + + var node = item.firstChild; + + while (node) + { + if (node.nodeType == 1 && this.is_block(node)) + return true; + + node = node.nextSibling; + } + + return false; + }, + + // ### CHECK ME ### switch to add/remove "hidden" class + fold: function (item) { + if (item) + { + this.remove_class(item, "unfolded"); + this.add_class(item, "folded"); + } + + var node = item ? item.firstChild : null; + + while (node) + { + if (node.nodeType == 1 && this.is_block(node)) // element + { + w3c_slidy.add_class(node, "hidden"); + } + + node = node.nextSibling; + } + + item.visible = false; + }, + + // ### CHECK ME ### switch to add/remove "hidden" class + unfold: function (item) { + if (item) + { + this.add_class(item, "unfolded"); + this.remove_class(item, "folded"); + } + + var node = item ? item.firstChild : null; + + while (node) + { + if (node.nodeType == 1 && this.is_block(node)) // element + { + w3c_slidy.remove_class(node, "hidden"); + } + + node = node.nextSibling; + } + + item.visible = true; + }, + + outline_click: function (e) { + if (!e) + e = window.event; + + var rightclick = false; + var target = w3c_slidy.get_target(e); + + while (target && target.visible == undefined) + target = target.parentNode; + + if (!target) + return true; + + if (e.which) + rightclick = (e.which == 3); + else if (e.button) + rightclick = (e.button == 2); + + if (!rightclick && target.visible != undefined) + { + if (target.foldable) + { + if (target.visible) + w3c_slidy.fold(target); + else + w3c_slidy.unfold(target); + } + + w3c_slidy.stop_propagation(e); + e.cancel = true; + e.returnValue = false; + } + + return false; + }, + + add_initial_prompt: function () { + var prompt = this.create_element("div"); + prompt.setAttribute("class", "initial_prompt"); + + var p1 = this.create_element("p"); + prompt.appendChild(p1); + p1.setAttribute("class", "help"); + + if (this.keyboardless) + p1.innerHTML = "swipe left to move to next slide"; + else + p1.innerHTML = "Space, Right Arrow or swipe left to move to " + + "next slide, click help below for more details"; + + this.add_listener(prompt, "click", function (e) { + document.body.removeChild(prompt); + w3c_slidy.stop_propagation(e); + + if (e.cancel != undefined) + e.cancel = true; + + if (e.returnValue != undefined) + e.returnValue = false; + + return false; + }); + + document.body.appendChild(prompt); + this.initial_prompt = prompt; + setTimeout(function() {document.body.removeChild(prompt);}, 5000); + }, + + add_toolbar: function () { + var counter, page; + + this.toolbar = this.create_element("div"); + this.toolbar.setAttribute("class", "toolbar"); + + // a reasonably behaved browser + if (this.ns_pos || !this.ie6) + { + var right = this.create_element("div"); + right.setAttribute("style", "float: right; text-align: right"); + + counter = this.create_element("span") + counter.innerHTML = this.localize("slide") + " n/m"; + right.appendChild(counter); + this.toolbar.appendChild(right); + + var left = this.create_element("div"); + left.setAttribute("style", "text-align: left"); + + // global end of slide indicator + this.eos = this.create_element("span"); + this.eos.innerHTML = "* "; + left.appendChild(this.eos); + + var help = this.create_element("a"); + help.setAttribute("href", this.help_page); + help.setAttribute("title", this.localize(this.help_text)); + help.innerHTML = this.localize("help?"); + left.appendChild(help); + this.help_anchor = help; // save for focus hack + + var gap1 = document.createTextNode(" "); + left.appendChild(gap1); + + var contents = this.create_element("a"); + contents.setAttribute("href", "javascript:w3c_slidy.toggle_table_of_contents()"); + contents.setAttribute("title", this.localize("table of contents")); + contents.innerHTML = this.localize("contents?"); + left.appendChild(contents); + + var gap2 = document.createTextNode(" "); + left.appendChild(gap2); + + var copyright = this.find_copyright(); + + if (copyright) + { + var span = this.create_element("span"); + span.className = "copyright"; + span.innerHTML = copyright; + left.appendChild(span); + } + + this.toolbar.setAttribute("tabindex", "0"); + this.toolbar.appendChild(left); + } + else // IE6 so need to work around its poor CSS support + { + this.toolbar.style.position = (this.ie7 ? "fixed" : "absolute"); + this.toolbar.style.zIndex = "200"; + this.toolbar.style.width = "99.9%"; + this.toolbar.style.height = "1.2em"; + this.toolbar.style.top = "auto"; + this.toolbar.style.bottom = "0"; + this.toolbar.style.left = "0"; + this.toolbar.style.right = "0"; + this.toolbar.style.textAlign = "left"; + this.toolbar.style.fontSize = "60%"; + this.toolbar.style.color = "red"; + this.toolbar.borderWidth = 0; + this.toolbar.className = "toolbar"; + this.toolbar.style.background = "rgb(240,240,240)"; + + // would like to have help text left aligned + // and page counter right aligned, floating + // div's don't work, so instead use nested + // absolutely positioned div's. + + var sp = this.create_element("span"); + sp.innerHTML = "  * "; + this.toolbar.appendChild(sp); + this.eos = sp; // end of slide indicator + + var help = this.create_element("a"); + help.setAttribute("href", this.help_page); + help.setAttribute("title", this.localize(this.help_text)); + help.innerHTML = this.localize("help?"); + this.toolbar.appendChild(help); + this.help_anchor = help; // save for focus hack + + var gap1 = document.createTextNode(" "); + this.toolbar.appendChild(gap1); + + var contents = this.create_element("a"); + contents.setAttribute("href", "javascript:toggleTableOfContents()"); + contents.setAttribute("title", this.localize("table of contents".localize)); + contents.innerHTML = this.localize("contents?"); + this.toolbar.appendChild(contents); + + var gap2 = document.createTextNode(" "); + this.toolbar.appendChild(gap2); + + var copyright = this.find_copyright(); + + if (copyright) + { + var span = this.create_element("span"); + span.innerHTML = copyright; + span.style.color = "black"; + span.style.marginLeft = "0.5em"; + this.toolbar.appendChild(span); + } + + counter = this.create_element("div") + counter.style.position = "absolute"; + counter.style.width = "auto"; //"20%"; + counter.style.height = "1.2em"; + counter.style.top = "auto"; + counter.style.bottom = 0; + counter.style.right = "0"; + counter.style.textAlign = "right"; + counter.style.color = "red"; + counter.style.background = "rgb(240,240,240)"; + + counter.innerHTML = this.localize("slide") + " n/m"; + this.toolbar.appendChild(counter); + } + + // ensure that click isn't passed through to the page + this.toolbar.onclick = + function (e) { + if (!e) + e = window.event; + + var target = e.target; + + if (!target && e.srcElement) + target = e.srcElement; + + // work around Safari bug + if (target && target.nodeType == 3) + target = target.parentNode; + + w3c_slidy.stop_propagation(e); + + if (target && target.nodeName.toLowerCase() != "a") + w3c_slidy.mouse_button_click(e); + }; + + this.slide_number_element = counter; + this.set_eos_status(false); + document.body.appendChild(this.toolbar); + }, + + // wysiwyg editors make it hard to use div elements + // e.g. amaya loses the div when you copy and paste + // this function wraps div elements around implicit + // slides which start with an h1 element and continue + // up to the next heading or div element + wrap_implicit_slides: function () { + var i, heading, node, next, div; + var headings = document.getElementsByTagName("h1"); + + if (!headings) + return; + + for (i = 0; i < headings.length; ++i) + { + heading = headings[i]; + + if (heading.parentNode != document.body) + continue; + + node = heading.nextSibling; + + div = document.createElement("div"); + this.add_class(div, "slide"); + document.body.replaceChild(div, heading); + div.appendChild(heading); + + while (node) + { + if (node.nodeType == 1) // an element + { + if (node.nodeName == "H1" || node.nodeName == "h1") + break; + + if (node.nodeName == "DIV" || node.nodeName == "div") + { + if (this.has_class(node, "slide")) + break; + + if (this.has_class(node, "handout")) + break; + } + } + + next = node.nextSibling; + node = document.body.removeChild(node); + div.appendChild(node); + node = next; + } + } + }, + +// return new array of all slides + collect_slides: function () { + var slides = new Array(); + var divs = document.body.getElementsByTagName("div"); + + for (var i = 0; i < divs.length; ++i) + { + div = divs.item(i); + + if (this.has_class(div, "slide")) + { + // add slide to collection + slides[slides.length] = div; + + // hide each slide as it is found + this.add_class(div, "hidden"); + + // add dummy
    at end for scrolling hack + var node1 = document.createElement("br"); + div.appendChild(node1); + var node2 = document.createElement("br"); + div.appendChild(node2); + } + else if (this.has_class(div, "background")) + { // work around for Firefox SVG reload bug + // which otherwise replaces 1st SVG graphic with 2nd + div.style.display = "block"; + } + } + + this.slides = slides; + }, + + // return new array of all
    + collect_notes: function () { + var notes = new Array(); + var divs = document.body.getElementsByTagName("div"); + + for (var i = 0; i < divs.length; ++i) + { + div = divs.item(i); + + if (this.has_class(div, "handout")) + { + // add note to collection + notes[notes.length] = div; + + // and hide it + this.add_class(div, "hidden"); + } + } + + this.notes = notes; + }, + + // return new array of all
    + // including named backgrounds e.g. class="background titlepage" + collect_backgrounds: function () { + var backgrounds = new Array(); + var divs = document.body.getElementsByTagName("div"); + + for (var i = 0; i < divs.length; ++i) + { + div = divs.item(i); + + if (this.has_class(div, "background")) + { + // add background to collection + backgrounds[backgrounds.length] = div; + + // and hide it + this.add_class(div, "hidden"); + } + } + + this.backgrounds = backgrounds; + }, + + // set click handlers on all anchors + patch_anchors: function () { + var self = w3c_slidy; + var handler = function (event) { + // compare this.href with location.href + // for link to another slide in this doc + + if (self.page_address(this.href) == self.page_address(location.href)) + { + // yes, so find new slide number + var newslidenum = self.find_slide_number(this.href); + + if (newslidenum != self.slide_number) + { + var slide = self.slides[self.slide_number]; + self.hide_slide(slide); + self.slide_number = newslidenum; + slide = self.slides[self.slide_number]; + self.show_slide(slide); + self.set_location(); + } + } + else + w3c_slidy.stop_propagation(event); + +// else if (this.target == null) +// location.href = this.href; + + this.blur(); + self.disable_slide_click = true; + }; + + var anchors = document.body.getElementsByTagName("a"); + + for (var i = 0; i < anchors.length; ++i) + { + if (window.addEventListener) + anchors[i].addEventListener("click", handler, false); + else + anchors[i].attachEvent("onclick", handler); + } + }, + + // ### CHECK ME ### see which functions are invoked via setTimeout + // either directly or indirectly for use of w3c_slidy vs this + show_slide_number: function () { + var timer = w3c_slidy.get_timer(); + w3c_slidy.slide_number_element.innerHTML = timer + w3c_slidy.localize("slide") + " " + + (w3c_slidy.slide_number + 1) + "/" + w3c_slidy.slides.length; + }, + + // every 200mS check if the location has been changed as a + // result of the user activating the Back button/menu item + // doesn't work for Opera < 9.5 + check_location: function () { + var hash = location.hash; + + if (w3c_slidy.slide_number > 0 && (hash == "" || hash == "#")) + w3c_slidy.goto_slide(0); + else if (hash.length > 2 && hash != "#("+(w3c_slidy.slide_number+1)+")") + { + var num = parseInt(location.hash.substr(2)); + + if (!isNaN(num)) + w3c_slidy.goto_slide(num-1); + } + + if (w3c_slidy.time_left && w3c_slidy.slide_number > 0) + { + w3c_slidy.show_slide_number(); + + if (w3c_slidy.time_left > 0) + w3c_slidy.time_left -= 200; + } + }, + + get_timer: function () { + var timer = ""; + if (w3c_slidy.time_left) + { + var mins, secs; + secs = Math.floor(w3c_slidy.time_left/1000); + mins = Math.floor(secs / 60); + secs = secs % 60; + timer = (mins ? mins+"m" : "") + secs + "s "; + } + + return timer; + }, + + // this doesn't push location onto history stack for IE + // for which a hidden iframe hack is needed: load page into + // the iframe with script that set's parent's location.hash + // but that won't work for standalone use unless we can + // create the page dynamically via a javascript: URL + // ### use history.pushState if available + set_location: function () { + var uri = w3c_slidy.page_address(location.href); + var hash = "#(" + (w3c_slidy.slide_number+1) + ")"; + + if (w3c_slidy.slide_number >= 0) + uri = uri + hash; + + if (typeof(history.pushState) != "undefined") + { + document.title = w3c_slidy.title + " (" + (w3c_slidy.slide_number+1) + ")"; + history.pushState(0, document.title, hash); + w3c_slidy.show_slide_number(); + return; + } + + if (w3c_slidy.ie && (w3c_slidy.ie6 || w3c_slidy.ie7)) + w3c_slidy.push_hash(hash); + + if (uri != location.href) // && !khtml + location.href = uri; + + if (this.khtml) + hash = "(" + (w3c_slidy.slide_number+1) + ")"; + + if (!this.ie && location.hash != hash && location.hash != "") + location.hash = hash; + + document.title = w3c_slidy.title + " (" + (w3c_slidy.slide_number+1) + ")"; + w3c_slidy.show_slide_number(); + }, + + page_address: function (uri) { + var i = uri.indexOf("#"); + + if (i < 0) + i = uri.indexOf("%23"); + + // check if anchor is entire page + + if (i < 0) + return uri; // yes + + return uri.substr(0, i); + }, + + // only used for IE6 and IE7 + on_frame_loaded: function (hash) { + location.hash = hash; + var uri = w3c_slidy.page_address(location.href); + location.href = uri + hash; + }, + + // history hack with thanks to Bertrand Le Roy + push_hash: function (hash) { + if (hash == "") hash = "#(1)"; + window.location.hash = hash; + + var doc = document.getElementById("historyFrame").contentWindow.document; + doc.open("javascript:''"); + doc.write("hello mum"); + doc.close(); + }, + + // find current slide based upon location + // first find target anchor and then look + // for associated div element enclosing it + // finally map that to slide number + find_slide_number: function (uri) { + // first get anchor from page location + + var i = uri.indexOf("#"); + + // check if anchor is entire page + if (i < 0) + return 0; // yes + + var anchor = unescape(uri.substr(i+1)); + + // now use anchor as XML ID to find target + var target = document.getElementById(anchor); + + if (!target) + { + // does anchor look like "(2)" for slide 2 ?? + // where first slide is (1) + var re = /\((\d)+\)/; + + if (anchor.match(re)) + { + var num = parseInt(anchor.substring(1, anchor.length-1)); + + if (num > this.slides.length) + num = 1; + + if (--num < 0) + num = 0; + + return num; + } + + // accept [2] for backwards compatibility + re = /\[(\d)+\]/; + + if (anchor.match(re)) + { + var num = parseInt(anchor.substring(1, anchor.length-1)); + + if (num > this.slides.length) + num = 1; + + if (--num < 0) + num = 0; + + return num; + } + + // oh dear unknown anchor + return 0; + } + + // search for enclosing slide + + while (true) + { + // browser coerces html elements to uppercase! + if (target.nodeName.toLowerCase() == "div" && + this.has_class(target, "slide")) + { + // found the slide element + break; + } + + // otherwise try parent element if any + + target = target.parentNode; + + if (!target) + { + return 0; // no luck! + } + }; + + for (i = 0; i < slides.length; ++i) + { + if (slides[i] == target) + return i; // success + } + + // oh dear still no luck + return 0; + }, + + previous_slide: function (incremental) { + if (!w3c_slidy.view_all) + { + var slide; + + if ((incremental || w3c_slidy.slide_number == 0) && w3c_slidy.last_shown != null) + { + w3c_slidy.last_shown = w3c_slidy.hide_previous_item(w3c_slidy.last_shown); + w3c_slidy.set_eos_status(false); + } + else if (w3c_slidy.slide_number > 0) + { + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + + w3c_slidy.slide_number = w3c_slidy.slide_number - 1; + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.set_visibility_all_incremental("visible"); + w3c_slidy.last_shown = w3c_slidy.previous_incremental_item(null); + w3c_slidy.set_eos_status(true); + w3c_slidy.show_slide(slide); + } + + w3c_slidy.set_location(); + + if (!w3c_slidy.ns_pos) + w3c_slidy.refresh_toolbar(200); + } + }, + + next_slide: function (incremental) { + if (!w3c_slidy.view_all) + { + var slide, last = w3c_slidy.last_shown; + + if (incremental || w3c_slidy.slide_number == w3c_slidy.slides.length - 1) + w3c_slidy.last_shown = w3c_slidy.reveal_next_item(w3c_slidy.last_shown); + + if ((!incremental || w3c_slidy.last_shown == null) && + w3c_slidy.slide_number < w3c_slidy.slides.length - 1) + { + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + + w3c_slidy.slide_number = w3c_slidy.slide_number + 1; + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.last_shown = null; + w3c_slidy.set_visibility_all_incremental("hidden"); + w3c_slidy.show_slide(slide); + } + else if (!w3c_slidy.last_shown) + { + if (last && incremental) + w3c_slidy.last_shown = last; + } + + w3c_slidy.set_location(); + + w3c_slidy.set_eos_status(!w3c_slidy.next_incremental_item(w3c_slidy.last_shown)); + + if (!w3c_slidy.ns_pos) + w3c_slidy.refresh_toolbar(200); + } + }, + + // to first slide with nothing revealed + // i.e. state at start of presentation + first_slide: function () { + if (!w3c_slidy.view_all) + { + var slide; + + if (w3c_slidy.slide_number != 0) + { + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + + w3c_slidy.slide_number = 0; + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.last_shown = null; + w3c_slidy.set_visibility_all_incremental("hidden"); + w3c_slidy.show_slide(slide); + } + + w3c_slidy.set_eos_status( + !w3c_slidy.next_incremental_item(w3c_slidy.last_shown)); + w3c_slidy.set_location(); + } + }, + + // goto last slide with everything revealed + // i.e. state at end of presentation + last_slide: function () { + if (!w3c_slidy.view_all) + { + var slide; + + w3c_slidy.last_shown = null; //revealNextItem(lastShown); + + if (w3c_slidy.last_shown == null && + w3c_slidy.slide_number < w3c_slidy.slides.length - 1) + { + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.slide_number = w3c_slidy.slides.length - 1; + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.set_visibility_all_incremental("visible"); + w3c_slidy.last_shown = w3c_slidy.previous_incremental_item(null); + + w3c_slidy.show_slide(slide); + } + else + { + w3c_slidy.set_visibility_all_incremental("visible"); + w3c_slidy.last_shown = w3c_slidy.previous_incremental_item(null); + } + + w3c_slidy.set_eos_status(true); + w3c_slidy.set_location(); + } + }, + + + // ### check this and consider add/remove class + set_eos_status: function (state) { + if (this.eos) + this.eos.style.color = (state ? "rgb(240,240,240)" : "red"); + }, + + // first slide is 0 + goto_slide: function (num) { + //alert("going to slide " + (num+1)); + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.slide_number = num; + slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.last_shown = null; + w3c_slidy.set_visibility_all_incremental("hidden"); + w3c_slidy.set_eos_status(!w3c_slidy.next_incremental_item(w3c_slidy.last_shown)); + document.title = w3c_slidy.title + " (" + (w3c_slidy.slide_number+1) + ")"; + w3c_slidy.show_slide(slide); + w3c_slidy.show_slide_number(); + }, + + + show_slide: function (slide) { + this.sync_background(slide); + window.scrollTo(0,0); + this.remove_class(slide, "hidden"); + }, + + hide_slide: function (slide) { + this.add_class(slide, "hidden"); + }, + + // show just the backgrounds pertinent to this slide + // when slide background-color is transparent + // this should now work with rgba color values + sync_background: function (slide) { + var background; + var bgColor; + + if (slide.currentStyle) + bgColor = slide.currentStyle["backgroundColor"]; + else if (document.defaultView) + { + var styles = document.defaultView.getComputedStyle(slide,null); + + if (styles) + bgColor = styles.getPropertyValue("background-color"); + else // broken implementation probably due Safari or Konqueror + { + //alert("defective implementation of getComputedStyle()"); + bgColor = "transparent"; + } + } + else + bgColor == "transparent"; + + if (bgColor == "transparent" || + bgColor.indexOf("rgba") >= 0 || + bgColor.indexOf("opacity") >= 0) + { + var slideClass = this.get_class_list(slide); + + for (var i = 0; i < this.backgrounds.length; i++) + { + background = this.backgrounds[i]; + + var bgClass = this.get_class_list(background); + + if (this.matching_background(slideClass, bgClass)) + this.remove_class(background, "hidden"); + else + this.add_class(background, "hidden"); + } + } + else // forcibly hide all backgrounds + this.hide_backgrounds(); + }, + + hide_backgrounds: function () { + for (var i = 0; i < this.backgrounds.length; i++) + { + background = this.backgrounds[i]; + this.add_class(background, "hidden"); + } + }, + + // compare classes for slide and background + matching_background: function (slideClass, bgClass) { + var i, count, pattern, result; + + // define pattern as regular expression + pattern = /\w+/g; + + // check background class names + result = bgClass.match(pattern); + + for (i = count = 0; i < result.length; i++) + { + if (result[i] == "hidden") + continue; + + if (result[i] == "background") + continue; + + ++count; + } + + if (count == 0) // default match + return true; + + // check for matches and place result in array + result = slideClass.match(pattern); + + // now check if desired name is present for background + for (i = count = 0; i < result.length; i++) + { + if (result[i] == "hidden") + continue; + + if (this.has_token(bgClass, result[i])) + return true; + } + + return false; + }, + + resized: function () { + var width = 0; + + if ( typeof( window.innerWidth ) == 'number' ) + width = window.innerWidth; // Non IE browser + else if (document.documentElement && document.documentElement.clientWidth) + width = document.documentElement.clientWidth; // IE6 + else if (document.body && document.body.clientWidth) + width = document.body.clientWidth; // IE4 + + var height = 0; + + if ( typeof( window.innerHeight ) == 'number' ) + height = window.innerHeight; // Non IE browser + else if (document.documentElement && document.documentElement.clientHeight) + height = document.documentElement.clientHeight; // IE6 + else if (document.body && document.body.clientHeight) + height = document.body.clientHeight; // IE4 + + if (height && (width/height > 1.05*1024/768)) + { + width = height * 1024.0/768; + } + + // IE fires onresize even when only font size is changed! + // so we do a check to avoid blocking < and > actions + if (width != w3c_slidy.last_width || height != w3c_slidy.last_height) + { + if (width >= 1100) + w3c_slidy.size_index = 5; // 4 + else if (width >= 1000) + w3c_slidy.size_index = 4; // 3 + else if (width >= 800) + w3c_slidy.size_index = 3; // 2 + else if (width >= 600) + w3c_slidy.size_index = 2; // 1 + else if (width) + w3c_slidy.size_index = 0; + + // add in font size adjustment from meta element e.g. + // + // useful when slides have too much content ;-) + + if (0 <= w3c_slidy.size_index + w3c_slidy.size_adjustment && + w3c_slidy.size_index + w3c_slidy.size_adjustment < w3c_slidy.sizes.length) + w3c_slidy.size_index = w3c_slidy.size_index + w3c_slidy.size_adjustment; + + // enables cross browser use of relative width/height + // on object elements for use with SVG and Flash media + w3c_slidy.adjust_object_dimensions(width, height); + + if (document.body.style.fontSize != w3c_slidy.sizes[w3c_slidy.size_index]) + { + document.body.style.fontSize = w3c_slidy.sizes[w3c_slidy.size_index]; + } + + w3c_slidy.last_width = width; + w3c_slidy.last_height = height; + + // force reflow to work around Mozilla bug + if (w3c_slidy.ns_pos) + { + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.show_slide(slide); + } + + // force correct positioning of toolbar + w3c_slidy.refresh_toolbar(200); + } + }, + + scrolled: function () { + if (w3c_slidy.toolbar && !w3c_slidy.ns_pos && !w3c_slidy.ie7) + { + w3c_slidy.hack_offset = w3c_slidy.scroll_x_offset(); + // hide toolbar + w3c_slidy.toolbar.style.display = "none"; + + // make it reappear later + if (w3c_slidy.scrollhack == 0 && !w3c_slidy.view_all) + { + setTimeout(function () {w3c_slidy.show_toolbar(); }, 1000); + w3c_slidy.scrollhack = 1; + } + } + }, + + hide_toolbar: function () { + w3c_slidy.add_class(w3c_slidy.toolbar, "hidden"); + window.focus(); + }, + + // used to ensure IE refreshes toolbar in correct position + refresh_toolbar: function (interval) { + if (!w3c_slidy.ns_pos && !w3c_slidy.ie7) + { + w3c_slidy.hide_toolbar(); + setTimeout(function () {w3c_slidy.show_toolbar(); }, interval); + } + }, + + // restores toolbar after short delay + show_toolbar: function () { + if (w3c_slidy.want_toolbar) + { + w3c_slidy.toolbar.style.display = "block"; + + if (!w3c_slidy.ns_pos) + { + // adjust position to allow for scrolling + var xoffset = w3c_slidy.scroll_x_offset(); + w3c_slidy.toolbar.style.left = xoffset; + w3c_slidy.toolbar.style.right = xoffset; + + // determine vertical scroll offset + //var yoffset = scrollYOffset(); + + // bottom is doc height - window height - scroll offset + //var bottom = documentHeight() - lastHeight - yoffset + + //if (yoffset > 0 || documentHeight() > lastHeight) + // bottom += 16; // allow for height of scrollbar + + w3c_slidy.toolbar.style.bottom = 0; //bottom; + } + + w3c_slidy.remove_class(w3c_slidy.toolbar, "hidden"); + } + + w3c_slidy.scrollhack = 0; + + + // set the keyboard focus to the help link on the + // toolbar to ensure that document has the focus + // IE doesn't always work with window.focus() + // and this hack has benefit of Enter for help + + try + { + if (!w3c_slidy.opera) + w3c_slidy.help_anchor.focus(); + } + catch (e) + { + } + }, + +// invoked via F key + toggle_toolbar: function () { + if (!w3c_slidy.view_all) + { + if (w3c_slidy.has_class(w3c_slidy.toolbar, "hidden")) + { + w3c_slidy.remove_class(w3c_slidy.toolbar, "hidden") + w3c_slidy.want_toolbar = 1; + } + else + { + w3c_slidy.add_class(w3c_slidy.toolbar, "hidden") + w3c_slidy.want_toolbar = 0; + } + } + }, + + scroll_x_offset: function () { + if (window.pageXOffset) + return self.pageXOffset; + + if (document.documentElement && + document.documentElement.scrollLeft) + return document.documentElement.scrollLeft; + + if (document.body) + return document.body.scrollLeft; + + return 0; + }, + + scroll_y_offset: function () { + if (window.pageYOffset) + return self.pageYOffset; + + if (document.documentElement && + document.documentElement.scrollTop) + return document.documentElement.scrollTop; + + if (document.body) + return document.body.scrollTop; + + return 0; + }, + + // looking for a way to determine height of slide content + // the slide itself is set to the height of the window + optimize_font_size: function () { + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + + //var dh = documentHeight(); //getDocHeight(document); + var dh = slide.scrollHeight; + var wh = getWindowHeight(); + var u = 100 * dh / wh; + + alert("window utilization = " + u + "% (doc " + + dh + " win " + wh + ")"); + }, + + // from document object + get_doc_height: function (doc) { + if (!doc) + doc = document; + + if (doc && doc.body && doc.body.offsetHeight) + return doc.body.offsetHeight; // ns/gecko syntax + + if (doc && doc.body && doc.body.scrollHeight) + return doc.body.scrollHeight; + + alert("couldn't determine document height"); + }, + + get_window_height: function () { + if ( typeof( window.innerHeight ) == 'number' ) + return window.innerHeight; // Non IE browser + + if (document.documentElement && document.documentElement.clientHeight) + return document.documentElement.clientHeight; // IE6 + + if (document.body && document.body.clientHeight) + return document.body.clientHeight; // IE4 + }, + + document_height: function () { + var sh, oh; + + sh = document.body.scrollHeight; + oh = document.body.offsetHeight; + + if (sh && oh) + { + return (sh > oh ? sh : oh); + } + + // no idea! + return 0; + }, + + smaller: function () { + if (w3c_slidy.size_index > 0) + { + --w3c_slidy.size_index; + } + + w3c_slidy.toolbar.style.display = "none"; + document.body.style.fontSize = w3c_slidy.sizes[w3c_slidy.size_index]; + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.show_slide(slide); + setTimeout(function () {w3c_slidy.show_toolbar(); }, 50); + }, + + bigger: function () { + if (w3c_slidy.size_index < w3c_slidy.sizes.length - 1) + { + ++w3c_slidy.size_index; + } + + w3c_slidy.toolbar.style.display = "none"; + document.body.style.fontSize = w3c_slidy.sizes[w3c_slidy.size_index]; + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + w3c_slidy.hide_slide(slide); + w3c_slidy.show_slide(slide); + setTimeout(function () {w3c_slidy.show_toolbar(); }, 50); + }, + + // enables cross browser use of relative width/height + // on object elements for use with SVG and Flash media + // with thanks to Ivan Herman for the suggestion + adjust_object_dimensions: function (width, height) { + for( var i = 0; i < w3c_slidy.objects.length; i++ ) + { + var obj = this.objects[i]; + var mimeType = obj.getAttribute("type"); + + if (mimeType == "image/svg+xml" || mimeType == "application/x-shockwave-flash") + { + if ( !obj.initialWidth ) + obj.initialWidth = obj.getAttribute("width"); + + if ( !obj.initialHeight ) + obj.initialHeight = obj.getAttribute("height"); + + if ( obj.initialWidth && obj.initialWidth.charAt(obj.initialWidth.length-1) == "%" ) + { + var w = parseInt(obj.initialWidth.slice(0, obj.initialWidth.length-1)); + var newW = width * (w/100.0); + obj.setAttribute("width",newW); + } + + if ( obj.initialHeight && + obj.initialHeight.charAt(obj.initialHeight.length-1) == "%" ) + { + var h = parseInt(obj.initialHeight.slice(0, obj.initialHeight.length-1)); + var newH = height * (h/100.0); + obj.setAttribute("height", newH); + } + } + } + }, + + // needed for Opera to inhibit default behavior + // since Opera delivers keyPress even if keyDown + // was cancelled + key_press: function (event) { + if (!event) + event = window.event; + + if (!w3c_slidy.key_wanted) + return w3c_slidy.cancel(event); + + return true; + }, + + // See e.g. http://www.quirksmode.org/js/events/keys.html for keycodes + key_down: function (event) { + var key, target, tag; + + w3c_slidy.key_wanted = true; + + if (!event) + event = window.event; + + // kludge around NS/IE differences + if (window.event) + { + key = window.event.keyCode; + target = window.event.srcElement; + } + else if (event.which) + { + key = event.which; + target = event.target; + } + else + return true; // Yikes! unknown browser + + // ignore event if key value is zero + // as for alt on Opera and Konqueror + if (!key) + return true; + + // avoid interfering with keystroke + // behavior for non-slidy chrome elements + if (!w3c_slidy.slidy_chrome(target) && + w3c_slidy.special_element(target)) + return true; + + // check for concurrent control/command/alt key + // but are these only present on mouse events? + + if (event.ctrlKey || event.altKey || event.metaKey) + return true; + + // dismiss table of contents if visible + if (w3c_slidy.is_shown_toc() && key != 9 && key != 16 && key != 38 && key != 40) + { + w3c_slidy.hide_table_of_contents(true); + + if (key == 27 || key == 84 || key == 67) + return w3c_slidy.cancel(event); + } + + if (key == 34) // Page Down + { + if (w3c_slidy.view_all) + return true; + + w3c_slidy.next_slide(false); + return w3c_slidy.cancel(event); + } + else if (key == 33) // Page Up + { + if (w3c_slidy.view_all) + return true; + + w3c_slidy.previous_slide(false); + return w3c_slidy.cancel(event); + } + else if (key == 32) // space bar + { + w3c_slidy.next_slide(true); + return w3c_slidy.cancel(event); + } + else if (key == 37) // Left arrow + { + w3c_slidy.previous_slide(!event.shiftKey); + return w3c_slidy.cancel(event); + } + else if (key == 36) // Home + { + w3c_slidy.first_slide(); + return w3c_slidy.cancel(event); + } + else if (key == 35) // End + { + w3c_slidy.last_slide(); + return w3c_slidy.cancel(event); + } + else if (key == 39) // Right arrow + { + w3c_slidy.next_slide(!event.shiftKey); + return w3c_slidy.cancel(event); + } + else if (key == 13) // Enter + { + if (w3c_slidy.outline) + { + if (w3c_slidy.outline.visible) + w3c_slidy.fold(w3c_slidy.outline); + else + w3c_slidy.unfold(w3c_slidy.outline); + + return w3c_slidy.cancel(event); + } + } + else if (key == 188) // < for smaller fonts + { + w3c_slidy.smaller(); + return w3c_slidy.cancel(event); + } + else if (key == 190) // > for larger fonts + { + w3c_slidy.bigger(); + return w3c_slidy.cancel(event); + } + else if (key == 189 || key == 109) // - for smaller fonts + { + w3c_slidy.smaller(); + return w3c_slidy.cancel(event); + } + else if (key == 187 || key == 191 || key == 107) // = + for larger fonts + { + w3c_slidy.bigger(); + return w3c_slidy.cancel(event); + } + else if (key == 83) // S for smaller fonts + { + w3c_slidy.smaller(); + return w3c_slidy.cancel(event); + } + else if (key == 66) // B for larger fonts + { + w3c_slidy.bigger(); + return w3c_slidy.cancel(event); + } + else if (key == 90) // Z for last slide + { + w3c_slidy.last_slide(); + return w3c_slidy.cancel(event); + } + else if (key == 70) // F for toggle toolbar + { + w3c_slidy.toggle_toolbar(); + return w3c_slidy.cancel(event); + } + else if (key == 65) // A for toggle view single/all slides + { + w3c_slidy.toggle_view(); + return w3c_slidy.cancel(event); + } + else if (key == 75) // toggle action of left click for next page + { + w3c_slidy.mouse_click_enabled = !w3c_slidy.mouse_click_enabled; + var alert_msg = (w3c_slidy.mouse_click_enabled ? + "enabled" : "disabled") + " mouse click advance"; + + alert(w3c_slidy.localize(alert_msg)); + return w3c_slidy.cancel(event); + } + else if (key == 84 || key == 67) // T or C for table of contents + { + if (w3c_slidy.toc) + w3c_slidy.toggle_table_of_contents(); + + return w3c_slidy.cancel(event); + } + else if (key == 72) // H for help + { + window.location = w3c_slidy.help_page; + return w3c_slidy.cancel(event); + } + //else alert("key code is "+ key); + + return true; + }, + + // safe for both text/html and application/xhtml+xml + create_element: function (name) { + if (this.xhtml && (typeof document.createElementNS != 'undefined')) + return document.createElementNS("http://www.w3.org/1999/xhtml", name) + + return document.createElement(name); + }, + + get_element_style: function (elem, IEStyleProp, CSSStyleProp) { + if (elem.currentStyle) + { + return elem.currentStyle[IEStyleProp]; + } + else if (window.getComputedStyle) + { + var compStyle = window.getComputedStyle(elem, ""); + return compStyle.getPropertyValue(CSSStyleProp); + } + return ""; + }, + + // the string str is a whitespace separated list of tokens + // test if str contains a particular token, e.g. "slide" + has_token: function (str, token) { + if (str) + { + // define pattern as regular expression + var pattern = /\w+/g; + + // check for matches + // place result in array + var result = str.match(pattern); + + // now check if desired token is present + for (var i = 0; i < result.length; i++) + { + if (result[i] == token) + return true; + } + } + + return false; + }, + + get_class_list: function (element) { + if (typeof element.className != 'undefined') + return element.className; + + return element.getAttribute("class"); + }, + + has_class: function (element, name) { + if (element.nodeType != 1) + return false; + + var regexp = new RegExp("(^| )" + name + "\W*"); + + if (typeof element.className != 'undefined') + return regexp.test(element.className); + + return regexp.test(element.getAttribute("class")); + }, + + remove_class: function (element, name) { + var regexp = new RegExp("(^| )" + name + "\W*"); + var clsval = ""; + + if (typeof element.className != 'undefined') + { + clsval = element.className; + + if (clsval) + { + clsval = clsval.replace(regexp, ""); + element.className = clsval; + } + } + else + { + clsval = element.getAttribute("class"); + + if (clsval) + { + clsval = clsval.replace(regexp, ""); + element.setAttribute("class", clsval); + } + } + }, + + add_class: function (element, name) { + if (!this.has_class(element, name)) + { + if (typeof element.className != 'undefined') + element.className += " " + name; + else + { + var clsval = element.getAttribute("class"); + clsval = clsval ? clsval + " " + name : name; + element.setAttribute("class", clsval); + } + } + }, + + // HTML elements that can be used with class="incremental" + // note that you can also put the class on containers like + // up, ol, dl, and div to make their contents appear + // incrementally. Upper case is used since this is what + // browsers report for HTML node names (text/html). + incremental_elements: null, + okay_for_incremental: function (name) { + if (!this.incremental_elements) + { + var inclist = new Array(); + inclist["p"] = true; + inclist["pre"] = true; + inclist["li"] = true; + inclist["blockquote"] = true; + inclist["dt"] = true; + inclist["dd"] = true; + inclist["h2"] = true; + inclist["h3"] = true; + inclist["h4"] = true; + inclist["h5"] = true; + inclist["h6"] = true; + inclist["span"] = true; + inclist["address"] = true; + inclist["table"] = true; + inclist["tr"] = true; + inclist["th"] = true; + inclist["td"] = true; + inclist["img"] = true; + inclist["object"] = true; + this.incremental_elements = inclist; + } + return this.incremental_elements[name.toLowerCase()]; + }, + + next_incremental_item: function (node) { + var br = this.is_xhtml ? "br" : "BR"; + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + + for (;;) + { + node = w3c_slidy.next_node(slide, node); + + if (node == null || node.parentNode == null) + break; + + if (node.nodeType == 1) // ELEMENT + { + if (node.nodeName == br) + continue; + + if (w3c_slidy.has_class(node, "incremental") + && w3c_slidy.okay_for_incremental(node.nodeName)) + return node; + + if (w3c_slidy.has_class(node.parentNode, "incremental") + && !w3c_slidy.has_class(node, "non-incremental")) + return node; + } + } + + return node; + }, + + previous_incremental_item: function (node) { + var br = this.is_xhtml ? "br" : "BR"; + var slide = w3c_slidy.slides[w3c_slidy.slide_number]; + + for (;;) + { + node = w3c_slidy.previous_node(slide, node); + + if (node == null || node.parentNode == null) + break; + + if (node.nodeType == 1) + { + if (node.nodeName == br) + continue; + + if (w3c_slidy.has_class(node, "incremental") + && w3c_slidy.okay_for_incremental(node.nodeName)) + return node; + + if (w3c_slidy.has_class(node.parentNode, "incremental") + && !w3c_slidy.has_class(node, "non-incremental")) + return node; + } + } + + return node; + }, + + // set visibility for all elements on current slide with + // a parent element with attribute class="incremental" + set_visibility_all_incremental: function (value) { + var node = this.next_incremental_item(null); + + if (value == "hidden") + { + while (node) + { + w3c_slidy.add_class(node, "invisible"); + node = w3c_slidy.next_incremental_item(node); + } + } + else // value == "visible" + { + while (node) + { + w3c_slidy.remove_class(node, "invisible"); + node = w3c_slidy.next_incremental_item(node); + } + } + }, + + // reveal the next hidden item on the slide + // node is null or the node that was last revealed + reveal_next_item: function (node) { + node = w3c_slidy.next_incremental_item(node); + + if (node && node.nodeType == 1) // an element + w3c_slidy.remove_class(node, "invisible"); + + return node; + }, + + // exact inverse of revealNextItem(node) + hide_previous_item: function (node) { + if (node && node.nodeType == 1) // an element + w3c_slidy.add_class(node, "invisible"); + + return this.previous_incremental_item(node); + }, + + // left to right traversal of root's content + next_node: function (root, node) { + if (node == null) + return root.firstChild; + + if (node.firstChild) + return node.firstChild; + + if (node.nextSibling) + return node.nextSibling; + + for (;;) + { + node = node.parentNode; + + if (!node || node == root) + break; + + if (node && node.nextSibling) + return node.nextSibling; + } + + return null; + }, + + // right to left traversal of root's content + previous_node: function (root, node) { + if (node == null) + { + node = root.lastChild; + + if (node) + { + while (node.lastChild) + node = node.lastChild; + } + + return node; + } + + if (node.previousSibling) + { + node = node.previousSibling; + + while (node.lastChild) + node = node.lastChild; + + return node; + } + + if (node.parentNode != root) + return node.parentNode; + + return null; + }, + + previous_sibling_element: function (el) { + el = el.previousSibling; + + while (el && el.nodeType != 1) + el = el.previousSibling; + + return el; + }, + + next_sibling_element: function (el) { + el = el.nextSibling; + + while (el && el.nodeType != 1) + el = el.nextSibling; + + return el; + }, + + first_child_element: function (el) { + var node; + + for (node = el.firstChild; node; node = node.nextSibling) + { + if (node.nodeType == 1) + break; + } + + return node; + }, + + first_tag: function (element, tag) { + var node; + + if (!this.is_xhtml) + tag = tag.toUpperCase(); + + for (node = element.firstChild; node; node = node.nextSibling) + { + if (node.nodeType == 1 && node.nodeName == tag) + break; + } + + return node; + }, + + hide_selection: function () { + if (window.getSelection) // Firefox, Chromium, Safari, Opera + { + var selection = window.getSelection(); + + if (selection.rangeCount > 0) + { + var range = selection.getRangeAt(0); + range.collapse (false); + } + } + else // Internet Explorer + { + var textRange = document.selection.createRange (); + textRange.collapse (false); + } + }, + + get_selected_text: function () { + try + { + if (window.getSelection) + return window.getSelection().toString(); + + if (document.getSelection) + return document.getSelection().toString(); + + if (document.selection) + return document.selection.createRange().text; + } + catch (e) + { + } + + return ""; + }, + + // make note of length of selected text + // as this evaluates to zero in click event + mouse_button_up: function (e) { + w3c_slidy.selected_text_len = w3c_slidy.get_selected_text().length; + }, + + // right mouse button click is reserved for context menus + // it is more reliable to detect rightclick than leftclick + mouse_button_click: function (e) { + var rightclick = false; + var leftclick = false; + var middleclick = false; + var target; + + if (!e) + var e = window.event; + + if (e.target) + target = e.target; + else if (e.srcElement) + target = e.srcElement; + + // work around Safari bug + if (target.nodeType == 3) + target = target.parentNode; + + if (e.which) // all browsers except IE + { + leftclick = (e.which == 1); + middleclick = (e.which == 2); + rightclick = (e.which == 3); + } + else if (e.button) + { + // Konqueror gives 1 for left, 4 for middle + // IE6 gives 0 for left and not 1 as I expected + + if (e.button == 4) + middleclick = true; + + // all browsers agree on 2 for right button + rightclick = (e.button == 2); + } + else + leftclick = true; + + if (w3c_slidy.selected_text_len > 0) + { + w3c_slidy.stop_propagation(e); + e.cancel = true; + e.returnValue = false; + return false; + } + + // dismiss table of contents + w3c_slidy.hide_table_of_contents(false); + + // check if target is something that probably want's clicks + // e.g. a, embed, object, input, textarea, select, option + var tag = target.nodeName.toLowerCase(); + + if (w3c_slidy.mouse_click_enabled && leftclick && + !w3c_slidy.special_element(target) && + !target.onclick) + { + w3c_slidy.next_slide(true); + w3c_slidy.stop_propagation(e); + e.cancel = true; + e.returnValue = false; + return false; + } + + return true; + }, + + special_element: function (element) { + if (this.has_class(element, "non-interactive")) + return false; + + var tag = element.nodeName.toLowerCase(); + + return element.onkeydown || + element.onclick || + tag == "a" || + tag == "embed" || + tag == "object" || + tag == "video" || + tag == "audio" || + tag == "svg" || + tag == "canvas" || + tag == "input" || + tag == "textarea" || + tag == "select" || + tag == "option"; + }, + + slidy_chrome: function (el) { + while (el) + { + if (el == w3c_slidy.toc || + el == w3c_slidy.toolbar || + w3c_slidy.has_class(el, "outline")) + return true; + + el = el.parentNode; + } + + return false; + }, + + get_key: function (e) + { + var key; + + // kludge around NS/IE differences + if (typeof window.event != "undefined") + key = window.event.keyCode; + else if (e.which) + key = e.which; + + return key; + }, + + get_target: function (e) { + var target; + + if (!e) + e = window.event; + + if (e.target) + target = e.target; + else if (e.srcElement) + target = e.srcElement; + + if (target.nodeType != 1) + target = target.parentNode; + + return target; + }, + + // does display property provide correct defaults? + is_block: function (elem) { + var tag = elem.nodeName.toLowerCase(); + + return tag == "ol" || tag == "ul" || tag == "p" || + tag == "li" || tag == "table" || tag == "pre" || + tag == "h1" || tag == "h2" || tag == "h3" || + tag == "h4" || tag == "h5" || tag == "h6" || + tag == "blockquote" || tag == "address"; + }, + + add_listener: function (element, event, handler) { + if (window.addEventListener) + element.addEventListener(event, handler, false); + else + element.attachEvent("on"+event, handler); + }, + + // used to prevent event propagation from field controls + stop_propagation: function (event) { + event = event ? event : window.event; + event.cancelBubble = true; // for IE + + if (event.stopPropagation) + event.stopPropagation(); + + return true; + }, + + cancel: function (event) { + if (event) + { + event.cancel = true; + event.returnValue = false; + + if (event.preventDefault) + event.preventDefault(); + } + + w3c_slidy.key_wanted = false; + return false; + }, + +// for each language define an associative array +// and also the help text which is longer + + strings_es: { + "slide":"pág.", + "help?":"Ayuda", + "contents?":"Ãndice", + "table of contents":"tabla de contenidos", + "Table of Contents":"Tabla de Contenidos", + "restart presentation":"Reiniciar presentación", + "restart?":"Inicio" + }, + help_es: + "Utilice el ratón, barra espaciadora, teclas Izda/Dcha, " + + "o Re pág y Av pág. Use S y B para cambiar el tamaño de fuente.", + + strings_ca: { + "slide":"pàg..", + "help?":"Ajuda", + "contents?":"Ãndex", + "table of contents":"taula de continguts", + "Table of Contents":"Taula de Continguts", + "restart presentation":"Reiniciar presentació", + "restart?":"Inici" + }, + help_ca: + "Utilitzi el ratolí, barra espaiadora, tecles Esq./Dta. " + + "o Re pàg y Av pàg. Usi S i B per canviar grandària de font.", + + strings_cs: { + "slide":"snímek", + "help?":"nápovÄ›da", + "contents?":"obsah", + "table of contents":"obsah prezentace", + "Table of Contents":"Obsah prezentace", + "restart presentation":"znovu spustit prezentaci", + "restart?":"restart" + }, + help_cs: + "Prezentaci můžete procházet pomocí kliknutí myÅ¡i, mezerníku, " + + "Å¡ipek vlevo a vpravo nebo kláves PageUp a PageDown. Písmo se " + + "dá zvÄ›tÅ¡it a zmenÅ¡it pomocí kláves B a S.", + + strings_nl: { + "slide":"pagina", + "help?":"Help?", + "contents?":"Inhoud?", + "table of contents":"inhoudsopgave", + "Table of Contents":"Inhoudsopgave", + "restart presentation":"herstart presentatie", + "restart?":"Herstart?" + }, + help_nl: + "Navigeer d.m.v. het muis, spatiebar, Links/Rechts toetsen, " + + "of PgUp en PgDn. Gebruik S en B om de karaktergrootte te veranderen.", + + strings_de: { + "slide":"Seite", + "help?":"Hilfe", + "contents?":"Ãœbersicht", + "table of contents":"Inhaltsverzeichnis", + "Table of Contents":"Inhaltsverzeichnis", + "restart presentation":"Präsentation neu starten", + "restart?":"Neustart" + }, + help_de: + "Benutzen Sie die Maus, Leerschlag, die Cursortasten links/rechts oder " + + "Page up/Page Down zum Wechseln der Seiten und S und B für die Schriftgrösse.", + + strings_pl: { + "slide":"slajd", + "help?":"pomoc?", + "contents?":"spis treÅ›ci?", + "table of contents":"spis treÅ›ci", + "Table of Contents":"Spis TreÅ›ci", + "restart presentation":"Restartuj prezentacjÄ™", + "restart?":"restart?" + }, + help_pl: + "Zmieniaj slajdy klikajÄ…c myszÄ…, naciskajÄ…c spacjÄ™, strzaÅ‚ki lewo/prawo" + + "lub PgUp / PgDn. Użyj klawiszy S i B, aby zmienić rozmiar czczionki.", + + strings_fr: { + "slide":"page", + "help?":"Aide", + "contents?":"Index", + "table of contents":"table des matières", + "Table of Contents":"Table des matières", + "restart presentation":"Recommencer l'exposé", + "restart?":"Début" + }, + help_fr: + "Naviguez avec la souris, la barre d'espace, les flèches " + + "gauche/droite ou les touches Pg Up, Pg Dn. Utilisez " + + "les touches S et B pour modifier la taille de la police.", + + strings_hu: { + "slide":"oldal", + "help?":"segítség", + "contents?":"tartalom", + "table of contents":"tartalomjegyzék", + "Table of Contents":"Tartalomjegyzék", + "restart presentation":"bemutató újraindítása", + "restart?":"újraindítás" + }, + help_hu: + "Az oldalak közti lépkedéshez kattintson az egérrel, vagy " + + "használja a szóköz, a bal, vagy a jobb nyíl, illetve a Page Down, " + + "Page Up billentyűket. Az S és a B billentyűkkel változtathatja " + + "a szöveg méretét.", + + strings_it: { + "slide":"pag.", + "help?":"Aiuto", + "contents?":"Indice", + "table of contents":"indice", + "Table of Contents":"Indice", + "restart presentation":"Ricominciare la presentazione", + "restart?":"Inizio" + }, + help_it: + "Navigare con mouse, barra spazio, frecce sinistra/destra o " + + "PgUp e PgDn. Usare S e B per cambiare la dimensione dei caratteri.", + + strings_el: { + "slide":"σελίδα", + "help?":"βοήθεια;", + "contents?":"πεÏιεχόμενα;", + "table of contents":"πίνακας πεÏιεχομένων", + "Table of Contents":"Πίνακας ΠεÏιεχομένων", + "restart presentation":"επανεκκίνηση παÏουσίασης", + "restart?":"επανεκκίνηση;" + }, + help_el: + "Πλοηγηθείτε με το κλίκ του ποντικιοÏ, το space, τα βέλη αÏιστεÏά/δεξιά, " + + "ή Page Up και Page Down. ΧÏησιμοποιήστε τα πλήκτÏα S και B για να αλλάξετε " + + "το μέγεθος της γÏαμματοσειÏάς.", + + strings_ja: { + "slide":"スライド", + "help?":"ヘルプ", + "contents?":"目次", + "table of contents":"目次を表示", + "Table of Contents":"目次", + "restart presentation":"最åˆã‹ã‚‰å†ç”Ÿ", + "restart?":"最åˆã‹ã‚‰" + }, + help_ja: + "マウス左クリック ・ スペース ・ å·¦å³ã‚­ãƒ¼ " + + "ã¾ãŸã¯ Page Up ・ Page Downã§æ“作, S ・ Bã§ãƒ•ã‚©ãƒ³ãƒˆã‚µã‚¤ã‚ºå¤‰æ›´", + + strings_zh: { + "slide":"å¹»ç¯ç‰‡", + "help?":"帮助?", + "contents?":"内容?", + "table of contents":"目录", + "Table of Contents":"目录", + "restart presentation":"é‡æ–°å¯åŠ¨å±•ç¤º", + "restart?":"é‡æ–°å¯åŠ¨?" + }, + help_zh: + "用鼠标点击, 空格æ¡, å·¦å³ç®­å¤´, Pg Up å’Œ Pg Dn 导航. " + + "用 S, B 改å˜å­—体大å°.", + + strings_ru: { + "slide":"Ñлайд", + "help?":"помощь?", + "contents?":"Ñодержание?", + "table of contents":"оглавление", + "Table of Contents":"Оглавление", + "restart presentation":"перезапуÑтить презентацию", + "restart?":"перезапуÑк?" + }, + help_ru: + "ПеремещайтеÑÑŒ ÐºÐ»Ð¸ÐºÐ°Ñ Ð¼Ñ‹ÑˆÐºÐ¾Ð¹, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ ÐºÐ»Ð°Ð²Ð¸ÑˆÑƒ пробел, Ñтрелки" + + "влево/вправо или Pg Up и Pg Dn. Клавиши S и B менÑÑŽÑ‚ размер шрифта.", + + strings_sv: { + "slide":"sida", + "help?":"hjälp", + "contents?":"innehÃ¥ll", + "table of contents":"innehÃ¥llsförteckning", + "Table of Contents":"InnehÃ¥llsförteckning", + "restart presentation":"visa presentationen frÃ¥n början", + "restart?":"börja om" + }, + help_sv: + "Bläddra med ett klick med vänstra musknappen, mellanslagstangenten, " + + "vänster- och högerpiltangenterna eller tangenterna Pg Up, Pg Dn. " + + "Använd tangenterna S och B för att ändra textens storlek.", + + strings: { }, + + localize: function (src) { + if (src == "") + return src; + + // try full language code, e.g. en-US + var s, lookup = w3c_slidy.strings[w3c_slidy.lang]; + + if (lookup) + { + s = lookup[src]; + + if (s) + return s; + } + + // strip country code suffix, e.g. + // try en if undefined for en-US + var lg = w3c_slidy.lang.split("-"); + + if (lg.length > 1) + { + lookup = w3c_slidy.strings[lg[0]]; + + if (lookup) + { + s = lookup[src]; + + if (s) + return s; + } + } + + // otherwise string as is + return src; + }, + + init_localization: function () { + var i18n = w3c_slidy; + var help_text = w3c_slidy.help_text; + + // each such language array is declared in the localize array + // this is used as in w3c_slidy.localize("foo"); + this.strings = { + "es":this.strings_es, + "ca":this.strings_ca, + "cs":this.strings_cs, + "nl":this.strings_nl, + "de":this.strings_de, + "pl":this.strings_pl, + "fr":this.strings_fr, + "hu":this.strings_hu, + "it":this.strings_it, + "el":this.strings_el, + "jp":this.strings_ja, + "zh":this.strings_zh, + "ru":this.strings_ru, + "sv":this.strings_sv + }, + + i18n.strings_es[help_text] = i18n.help_es; + i18n.strings_ca[help_text] = i18n.help_ca; + i18n.strings_cs[help_text] = i18n.help_cs; + i18n.strings_nl[help_text] = i18n.help_nl; + i18n.strings_de[help_text] = i18n.help_de; + i18n.strings_pl[help_text] = i18n.help_pl; + i18n.strings_fr[help_text] = i18n.help_fr; + i18n.strings_hu[help_text] = i18n.help_hu; + i18n.strings_it[help_text] = i18n.help_it; + i18n.strings_el[help_text] = i18n.help_el; + i18n.strings_ja[help_text] = i18n.help_ja; + i18n.strings_zh[help_text] = i18n.help_zh; + i18n.strings_ru[help_text] = i18n.help_ru; + i18n.strings_sv[help_text] = i18n.help_sv; + + w3c_slidy.lang = document.body.parentNode.getAttribute("lang"); + + if (!w3c_slidy.lang) + w3c_slidy.lang = document.body.parentNode.getAttribute("xml:lang"); + + if (!w3c_slidy.lang) + w3c_slidy.lang = "en"; + } +}; + +// hack for back button behavior +if (w3c_slidy.ie6 || w3c_slidy.ie7) +{ + document.write(""); +} + +// attach event listeners for initialization +w3c_slidy.set_up(); + +// hide the slides as soon as body element is available +// to reduce annoying screen mess before the onload event +setTimeout(w3c_slidy.hide_slides, 50); + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js.gz b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js.gz new file mode 100755 index 0000000000..b1c58e4c90 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/scripts/slidy.js.gz differ diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/.htaccess b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/.htaccess new file mode 100755 index 0000000000..d395348aee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/.htaccess @@ -0,0 +1,28 @@ +Options +MultiViews +LanguagePriority en +AddLanguage pt-br .pt-br + + + +ForceType 'text/html; charset=utf-8' + + + + + +ForceType 'application/xhtml+xml; charset=utf-8' + + + + + +ForceType 'text/css; charset=utf-8' + + + + + +ForceType 'text/javascript; charset=utf-8' + + +mkdir diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/slidy.css b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/slidy.css new file mode 100755 index 0000000000..0197e64d0f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/slidy.css @@ -0,0 +1,405 @@ +/* slidy.css + + Copyright (c) 2005-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved. + W3C liability, trademark, document use and software licensing + rules apply, see: + + http://www.w3.org/Consortium/Legal/copyright-documents + http://www.w3.org/Consortium/Legal/copyright-software +*/ +body +{ + margin: 0 0 0 0; + padding: 0 0 0 0; + width: 100%; + height: 100%; + color: black; + background-color: white; + font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif; + font-size: 14pt; +} + +div.toolbar { + position: fixed; z-index: 200; + top: auto; bottom: 0; left: 0; right: 0; + height: 1.2em; text-align: right; + padding-left: 1em; + padding-right: 1em; + font-size: 60%; + color: red; + background-color: rgb(240,240,240); + border-top: solid 1px rgb(180,180,180); +} + +div.toolbar span.copyright { + color: black; + margin-left: 0.5em; +} + +div.initial_prompt { + position: absolute; + z-index: 1000; + bottom: 1.2em; + width: 100%; + background-color: rgb(200,200,200); + opacity: 0.35; + background-color: rgb(200,200,200, 0.35); + cursor: pointer; +} + +div.initial_prompt p.help { + text-align: center; +} + +div.initial_prompt p.close { + text-align: right; + font-style: italic; +} + +div.slidy_toc { + position: absolute; + z-index: 300; + width: 60%; + max-width: 30em; + height: 30em; + overflow: auto; + top: auto; + right: auto; + left: 4em; + bottom: 4em; + padding: 1em; + background: rgb(240,240,240); + border-style: solid; + border-width: 2px; + font-size: 60%; +} + +div.slidy_toc .toc_heading { + text-align: center; + width: 100%; + margin: 0; + margin-bottom: 1em; + border-bottom-style: solid; + border-bottom-color: rgb(180,180,180); + border-bottom-width: 1px; +} + +div.slide { + z-index: 20; + margin: 0 0 0 0; + padding-top: 0; + padding-bottom: 0; + padding-left: 20px; + padding-right: 20px; + border-width: 0; + clear: both; + top: 0; + bottom: 0; + left: 0; + right: 0; + line-height: 120%; + background-color: transparent; +} + +div.background { + display: none; +} + +div.handout { + margin-left: 20px; + margin-right: 20px; +} + +div.slide.titlepage { + text-align: center; +} + +div.slide.titlepage h1 { + padding-top: 10%; + margin-right: 0; +} + +div.slide h1 { + padding-left: 0; + padding-right: 20pt; + padding-top: 4pt; + padding-bottom: 4pt; + margin-top: 0; + margin-left: 0; + margin-right: 60pt; + margin-bottom: 0.5em; + display: block; + font-size: 160%; + line-height: 1.2em; + background: transparent; +} + +div.toc { + position: absolute; + top: auto; + bottom: 4em; + left: 4em; + right: auto; + width: 60%; + max-width: 30em; + height: 30em; + border: solid thin black; + padding: 1em; + background: rgb(240,240,240); + color: black; + z-index: 300; + overflow: auto; + display: block; + visibility: visible; +} + +div.toc-heading { + width: 100%; + border-bottom: solid 1px rgb(180,180,180); + margin-bottom: 1em; + text-align: center; +} + +img { + image-rendering: optimize-quality; +} + +pre { + font-size: 80%; + font-weight: bold; + line-height: 120%; + padding-top: 0.2em; + padding-bottom: 0.2em; + padding-left: 1em; + padding-right: 1em; + border-style: solid; + border-left-width: 1em; + border-top-width: thin; + border-right-width: thin; + border-bottom-width: thin; + border-color: #95ABD0; + color: #00428C; + background-color: #E4E5E7; +} + +li pre { margin-left: 0; } + +blockquote { font-style: italic } + +img { background-color: transparent } + +p.copyright { font-size: smaller } + +.center { text-align: center } +.footnote { font-size: smaller; margin-left: 2em; } + +a img { border-width: 0; border-style: none } + +a:visited { color: navy } +a:link { color: navy } +a:hover { color: red; text-decoration: underline } +a:active { color: red; text-decoration: underline } + +a {text-decoration: none} +.navbar a:link {color: white} +.navbar a:visited {color: yellow} +.navbar a:active {color: red} +.navbar a:hover {color: red} + +ul { list-style-type: square; } +ul ul { list-style-type: disc; } +ul ul ul { list-style-type: circle; } +ul ul ul ul { list-style-type: disc; } +li { margin-left: 0.5em; margin-top: 0.5em; } +li li { font-size: 85%; font-style: italic } +li li li { font-size: 85%; font-style: normal } + +div dt +{ + margin-left: 0; + margin-top: 1em; + margin-bottom: 0.5em; + font-weight: bold; +} +div dd +{ + margin-left: 2em; + margin-bottom: 0.5em; +} + + +p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6,dl,table { + margin-left: 1em; + margin-right: 1em; +} + +p.subhead { font-weight: bold; margin-top: 2em; } + +.smaller { font-size: smaller } +.bigger { font-size: 130% } + +td,th { padding: 0.2em } + +ul { + margin: 0.5em 1.5em 0.5em 1.5em; + padding: 0; +} + +ol { + margin: 0.5em 1.5em 0.5em 1.5em; + padding: 0; +} + +ul { list-style-type: square; } +ul ul { list-style-type: disc; } +ul ul ul { list-style-type: circle; } +ul ul ul ul { list-style-type: disc; } + +ul li { + list-style: square; + margin: 0.1em 0em 0.6em 0; + padding: 0 0 0 0; + line-height: 140%; +} + +ol li { + margin: 0.1em 0em 0.6em 1.5em; + padding: 0 0 0 0px; + line-height: 140%; + list-style-type: decimal; +} + +li ul li { + font-size: 85%; + font-style: italic; + list-style-type: disc; + background: transparent; + padding: 0 0 0 0; +} +li li ul li { + font-size: 85%; + font-style: normal; + list-style-type: circle; + background: transparent; + padding: 0 0 0 0; +} +li li li ul li { + list-style-type: disc; + background: transparent; + padding: 0 0 0 0; +} + +li ol li { + list-style-type: decimal; +} + + +li li ol li { + list-style-type: decimal; +} + +/* + setting class="outline on ol or ul makes it behave as an + ouline list where blocklevel content in li elements is + hidden by default and can be expanded or collapsed with + mouse click. Set class="expand" on li to override default +*/ + +ol.outline li:hover { cursor: pointer } +ol.outline li.nofold:hover { cursor: default } + +ul.outline li:hover { cursor: pointer } +ul.outline li.nofold:hover { cursor: default } + +ol.outline { list-style:decimal; } +ol.outline ol { list-style-type:lower-alpha } + +ol.outline li.nofold { + padding: 0 0 0 20px; + background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em; +} +ol.outline li.unfolded { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em; +} +ol.outline li.folded { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em; +} +ol.outline li.unfolded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em; +} +ol.outline li.folded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em; +} + +ul.outline li.nofold { + padding: 0 0 0 20px; + background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.5em; +} +ul.outline li.unfolded { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.5em; +} +ul.outline li.folded { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.5em; +} +ul.outline li.unfolded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold.gif) no-repeat 0px 0.5em; +} +ul.outline li.folded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.5em; +} + +/* for slides with class "title" in table of contents */ +a.titleslide { font-weight: bold; font-style: italic } + +/* + hide images for work around for save as bug + where browsers fail to save images used by CSS +*/ +img.hidden { display: none; visibility: hidden } +div.initial_prompt { display: none; visibility: hidden } + + div.slide { + visibility: visible; + position: inherit; + } + div.handout { + border-top-style: solid; + border-top-width: thin; + border-top-color: black; + } + +@media screen { + .hidden { display: none; visibility: visible } + + div.slide.hidden { display: block; visibility: visible } + div.handout.hidden { display: block; visibility: visible } + div.background { display: none; visibility: hidden } + body.single_slide div.initial_prompt { display: block; visibility: visible } + body.single_slide div.background { display: block; visibility: visible } + body.single_slide div.background.hidden { display: none; visibility: hidden } + body.single_slide .invisible { visibility: hidden } + body.single_slide .hidden { display: none; visibility: hidden } + body.single_slide div.slide { position: absolute } + body.single_slide div.handout { display: none; visibility: hidden } +} + +@media print { + .hidden { display: block; visibility: visible } + + div.slide pre { font-size: 60%; padding-left: 0.5em; } + div.toolbar { display: none; visibility: hidden; } + div.slidy_toc { display: none; visibility: hidden; } + div.background { display: none; visibility: hidden; } + div.slide { page-break-before: always } + /* :first-child isn't reliable for print media */ + div.slide.first-slide { page-break-before: avoid } +} + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/w3c-blue.css b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/w3c-blue.css new file mode 100755 index 0000000000..6c4ff4f85d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/slidy/styles/w3c-blue.css @@ -0,0 +1,497 @@ +/* w3c-blue.css + + Copyright (c) 2005-2010 W3C (MIT, ERCIM, Keio), All Rights Reserved. + W3C liability, trademark, document use and software licensing + rules apply, see: + + http://www.w3.org/Consortium/Legal/copyright-documents + http://www.w3.org/Consortium/Legal/copyright-software +*/ +body +{ + margin: 0 0 0 0; + padding: 0 0 0 0; + width: 100%; + height: 100%; + color: black; + background-color: white; + font-family: "Gill Sans MT", "Gill Sans", GillSans, sans-serif; + font-size: 14pt; +} + +div.slide.titlepage { + text-align: center; +} + +div.slide.titlepage h1 { + padding-top: 40%; +} + +div.slide { + z-index: 20; + margin: 0 0 0 0; + padding: 0; + border-width: 0; + top: 0; + bottom: 0; + left: 0; + right: 0; + line-height: 120%; + background-color: transparent; +} + +div.background { + z-index: 1; + position: absolute; + vertical-align: bottom; + left: 0; + right: 0; + top: 0; + bottom: auto; + height: 4.1em; + padding: 0 0 0 0.2em; + margin: 0 0 0 0; + border-width: 0; + background-color: #728ec2; +} + +div.background img { + height: 4em; +} + +/* this rule is hidden from IE which doesn't support + selector */ +div.slide + div[class].slide { page-break-before: always;} + +div.slide h1 { + padding-left: 3em; + padding-right: 3em; + padding-top: 0.1em; + margin-bottom: 0.8em; + margin-top: -0.05em; + margin-left: 0; + margin-right: 0; + min-height: 2.3em; + color: white; + height: 2.2em; + font-size: 160%; + line-height: 1.1em; +} + +div.slide h1 a { + color: white; + text-decoration: none; +} + +div.slide h1 a:link { + color: white; + text-decoration: none; +} + +div.slide h1 a:visited { + color: white; + text-decoration: none; +} + +div.slide h1 a:hover { + color: white; + text-decoration: underline; +} + +div.slide h1 a:active { + color: red; + text-decoration: underline; +} + +#head-icon { + margin-top: 0.5em; + margin-bottom: 0; + margin-left: 0; + margin-right: 1em; + background: #728ec2; + border-width: 0; + height: 3em; + max-width: 3em; + z-index: 2; + float: left; +} + +#head-logo { + margin: 0; + margin-top: 0.25em; + padding-top: 0.25em; + padding-bottom: 0.2em; + padding-left: 0; + padding-right: 0; + height: 3.2em; + width: 4.8em; + float: right; + z-index: 2; + background: #728ec2; +} + +#head-logo-fallback { + margin: 0; + padding: 0; + margin-top: -0.8em; + width: 4.8em; + float: right; + z-index: 2; +} + +/* the next two classes support vertical and horizontal centering */ +div.vbox { + float: left; + height: 40%; + width: 50%; + margin-top: -240px; +} +div.hbox { + width:60%; + margin-top: 0; + margin-left:auto; + margin-right:auto; + height: 60%; + border:1px solid silver; + background:#F0F0F0; + overflow:auto; + text-align:left; + clear:both; +} + +/* styling for named background */ +div.background.slanty { + z-index: 2; + bottom: 0; + height: 100%; + background: transparent; +} + +div.background.slanty img { margin-top: 4em; width: 100%; height: 80% } + +/* the following makes the pre background translucent */ +/* opacity is a CSS3 property but supported by Mozilla family */ +/* filter is an IE specific feature that also requires width */ +div.slide.slanty pre { + width: 93%; /* needed for IE filter to work */ + opacity: .8; + filter: alpha(opacity=80); +} + +img.withBorder { + border: 2px solid #c60; + padding: 4px; +} + +li pre { margin-left: 0; } + +@media print { pre { font-size: 60% } } + +blockquote { font-style: italic } + +img { background-color: transparent } + +p.copyright { font-size: smaller } + +.center { text-align: center } +.footnote { font-size: smaller; margin-left: 2em; } + +a img { border-width: 0; border-style: none } + +a:visited { color: navy } +a:link { color: navy } +a:hover { color: red; text-decoration: underline } +a:active { color: red; text-decoration: underline } + +a {text-decoration: none} +.navbar a:link {color: white} +.navbar a:visited {color: yellow} +.navbar a:active {color: red} +.navbar a:hover {color: red} + +ul { list-style-type: square; } +ul ul { list-style-type: disc; } +ul ul ul { list-style-type: circle; } +ul ul ul ul { list-style-type: disc; } +li { margin-left: 0.5em; margin-top: 0.5em; } +li li { font-size: 85%; font-style: italic } +li li li { font-size: 85%; font-style: normal } + +div dt +{ + margin-left: 0; + margin-top: 1em; + margin-bottom: 0.5em; + font-weight: bold; +} +div dd +{ + margin-left: 2em; + margin-bottom: 0.5em; +} + + +p,pre,ul,ol,blockquote,h2,h3,h4,h5,h6,dl,table { + margin-left: 1em; + margin-right: 1em; +} + +p.subhead { font-weight: bold; margin-top: 2em; } + +div.cover p.explanation { + font-style: italic; + margin-top: 3em; +} + + +.smaller { font-size: smaller } + +td,th { padding: 0.2em } + +ul { + margin: 0.5em 1.5em 0.5em 1.5em; + padding: 0; +} + +ol { + margin: 0.5em 1.5em 0.5em 1.5em; + padding: 0; +} + +ul { list-style-type: square; } +ul ul { list-style-type: disc; } +ul ul ul { list-style-type: circle; } +ul ul ul ul { list-style-type: disc; } +li { margin-left: 0.5em; margin-top: 0.5em; } +li li { font-size: 85%; font-style: italic } +li li li { font-size: 85%; font-style: normal } + + +ul li { + list-style: none; + margin: 0.1em 0em 0.6em 0; + padding: 0 0 0 40px; + background: transparent url(../graphics/bullet.png) no-repeat 5px 0.3em; + line-height: 140%; +} + +/* workaround IE's failure to support background on li for print media */ +@media print { ul li { list-style: disc; padding-left: 0; background: none; } } + +ol li { + margin: 0.1em 0em 0.6em 1.5em; + padding: 0 0 0 0px; + line-height: 140%; +} + +li li { + font-size: 85%; + font-style: italic; + list-style-type: disc; + background: transparent; + padding: 0 0 0 0; +} +li li li { + font-size: 85%; + font-style: normal; + list-style-type: circle; + background: transparent; + padding: 0 0 0 0; +} +li li li li { + list-style-type: disc; + background: transparent; + padding: 0 0 0 0; +} + +/* rectangular blue bullet + unfold/nofold/fold widget */ + +/* + setting class="outline on ol or ul makes it behave as an + ouline list where blocklevel content in li elements is + hidden by default and can be expanded or collapsed with + mouse click. Set class="expand" on li to override default +*/ + +ol.outline li:hover { cursor: pointer } +ol.outline li.nofold:hover { cursor: default } + +ul.outline li:hover { cursor: pointer } +ul.outline li.nofold:hover { cursor: default } + +ol.outline { list-style:decimal; } +ol.outline ol { list-style-type:lower-alpha } + +ol.outline li.nofold { + padding: 0 0 0 20px; + background: transparent url(../graphics/nofold-dim.gif) no-repeat 0px 0.3em; +} +ol.outline li.unfolded { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold-dim.gif) no-repeat 0px 0.3em; +} +ol.outline li.folded { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold-dim.gif) no-repeat 0px 0.3em; +} +ol.outline li.unfolded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/fold.gif) no-repeat 0px 0.3em; +} +ol.outline li.folded:hover { + padding: 0 0 0 20px; + background: transparent url(../graphics/unfold.gif) no-repeat 0px 0.3em; +} + +ul.outline li.nofold { + padding: 0 0 0 52px; + background: transparent url(../graphics/bullet-nofold-dim.gif) no-repeat 5px 0.3em; +} +ul.outline li.unfolded { + padding: 0 0 0 52px; + background: transparent url(../graphics/bullet-fold-dim.gif) no-repeat 5px 0.3em; +} +ul.outline li.folded { + padding: 0 0 0 52px; + background: transparent url(../graphics/bullet-unfold-dim.gif) no-repeat 5px 0.3em; +} +ul.outline li.unfolded:hover { + padding: 0 0 0 52px; + background: transparent url(../graphics/bullet-fold.gif) no-repeat 5px 0.3em; +} +ul.outline li.folded:hover { + padding: 0 0 0 52px; + background: transparent url(../graphics/bullet-unfold.gif) no-repeat 5px 0.3em; +} + +li ul.outline li.nofold { + padding: 0 0 0 21px; + background: transparent url(../graphics/nofold-dim.gif) no-repeat 5px 0.3em; +} +li ul.outline li.unfolded { + padding: 0 0 0 21px; + background: transparent url(../graphics/fold-dim.gif) no-repeat 5px 0.3em; +} +li ul.outline li.folded { + padding: 0 0 0 21px; + background: transparent url(../graphics/unfold-dim.gif) no-repeat 5px 0.3em; +} +li ul.outline li.unfolded:hover { + padding: 0 0 0 21px; + background: transparent url(../graphics/fold.gif) no-repeat 5px 0.3em; +} +li ul.outline li.folded:hover { + padding: 0 0 0 21px; + background: transparent url(../graphics/unfold.gif) no-repeat 5px 0.3em; +} + +img { + image-rendering: optimize-quality; +} + +img.withBorder { + border: 2px solid #c60; + padding: 4px; +} + +div.header { + position: absolute; + z-index: 2; + left: 0; + right: 0; + top: 0; + bottom: auto; + height: 2.95em; + width: 100%; + padding: 0 0 0 0; + margin: 0 0 0 0; + border-width: 0; + border-style: solid; + background-color: #005A9C; + border-bottom-width: thick; + border-bottom-color: #95ABD0; +} + +div.footer { + position: absolute; + z-index: 80; + left: 0; + right: 0; + top: auto; + bottom: 0; + height: 3.5em; + margin: 0; + font-size: 80%; + font-weight: bold; + padding-left: 1em; + padding-right: 0; + padding-top: 0.3em; + padding-bottom: 0; + color: #003366; + background-color: #95ABD0; +} + +/* this is a hack to hide property from IE6 and below */ +div[class="footer"] { + position: fixed; +} + +#hidden-bullet { + visibility: hidden; + display: none; +} + +div.slide.cover { + color: white; + background-color: #728ec2; + padding-top: 0; + padding-right: 0; + padding-left: 3em; + height: 100%; +} + +div.slide.cover h1 { + margin: 0; + padding: 0.5em; + color: white; + height: auto; +} + +div.slide.cover h2 { + color: white; +} + +div.slide.cover a { + color: white; +} + +div.slide.cover a:visited { color: white } +div.slide.cover a:link { color: white } +div.slide.cover a:hover { color: yellow; text-decoration: underline } +div.slide.cover a:active { color: yellow; text-decoration: underline } + +div.slide.cover a:hover, div.slide.cover a:active { + color: yellow; text-decoration: underline; +} + +div.slide.cover img.cover { + margin: 0 0 0 0; + float: right; + padding-bottom: 4em; + width: 50%; + overflow: hidden; +} + +div.slide.cover a:hover, div.slide.cover a:active { + color: yellow; text-decoration: underline; +} + +/* for Bert as an ardent user of the old W3C slidemaker tool */ + +div.comment { display: none; visibility: hidden } + +@media print { + div.slide h1 { background: transparent; color: black } + div.slide.cover { background: transparent; color: black } + div.slide.cover h1 { background: transparent; color: black } + div.comment { display: block; visibility: visible } +} diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/tools/dbs3-upgrade.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/tools/dbs3-upgrade.xsl new file mode 100644 index 0000000000..e757c97813 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/tools/dbs3-upgrade.xsl @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xml b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xml new file mode 100644 index 0000000000..1bc7c2ecff --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xml @@ -0,0 +1,824 @@ + + + +Slides XHTML Parameter Reference + +$Id$ + + + + Kövesdán + Gábor + + + + 2012 + Gábor Kövesdán + + + This is reference documentation for all user-configurable + parameters in the DocBook XSL Slides XHTML stylesheet. + Note that the Slides stylesheet for XHTML output is a + customization layer of the DocBook XSL XHTML stylesheet. + Therefore, in addition to the slides-specific parameters + listed in this section, you can also use a number of + XHTML stylesheet + parameters to control Slides XHTML output. + + + + XHTML: General Params + + + +disable.collapsible +boolean + + +disable.collapsible +Specifies whether collapsible rendering is enabled + + + + + <xsl:param name="disable.collapsible">0</xsl:param> + + + +Description + +This parameter specifies whether elements marked as + collapsible are generated as such in the output document. + + + + + + +disable.incremental +boolean + + +disable.incremental +Specifies whether incremental rendering is enabled + + + + + <xsl:param name="disable.incremental">0</xsl:param> + + + +Description + +This parameter specifies whether elements marked as + incremental are generated as such in the output document. + + + + + + +generate.copyright +boolean + + +generate.copyright +Specifies whether copyright is generated + + + + + <xsl:param name="generate.copyright">1</xsl:param> + + + +Description + +This parameter specifies whether the copyright info is generated + in the footer area. + + + + + + +generate.foilgroup.numbered.toc +boolean + + +generate.foilgroup.numbered.toc +Specifies whether foilgroups have a numbered TOC + + + + + <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param> + + + +Description + +If TOC generation is turned on, this parameter specifies + whether foilgroups have a numbered TOC. If disabled, TOC items + will be bulleted, not numbered. + + + + + + +generate.foilgroup.toc +boolean + + +generate.foilgroup.toc +Specifies whether foilgroups have a TOC + + + + + <xsl:param name="generate.foilgroup.toc">1</xsl:param> + + + +Description + +This parameter specifies whether foilgroups will + contain a table of contents of the included foils. + + + + + + +generate.handoutnotes +boolean + + +generate.handoutnotes +Specifies whether handoutnotes are generated + + + + + <xsl:param name="generate.handoutnotes">0</xsl:param> + + + +Description + +This parameter specifies whether handoutnotes shall + be generated to the output. + + + + + + +generate.pubdate +boolean + + +generate.pubdate +Specifies whether the pubdate is generated + + + + + <xsl:param name="generate.pubdate">1</xsl:param> + + + +Description + +This parameter specifies whether the publication date is generated + in the footer area. + + + + + + +generate.speakernotes +boolean + + +generate.speakernotes +Specifies whether speakernotes are generated + + + + + <xsl:param name="generate.speakernotes">0</xsl:param> + + + +Description + +This parameter specifies whether speakernotes shall + be generated to the output. + + + + + + +generate.titlepage +boolean + + +generate.titlepage +Specifies whether titlepage is generated + + + + + <xsl:param name="generate.titlepage">1</xsl:param> + + + +Description + +This parameter specifies whether titlepage is generated + for the presentation. + + + + + + +mml.embedding.mode +list +inline +object +image +link +iframe +embed + + +mml.embedding.mode +Specifies how inline MathML is processed + + + + + <xsl:param name="mml.embedding.mode">inline</xsl:param> + + + +Description + +This parameter specifies how inline MathML formulas + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + + + + +svg.embedding.mode +list +inline +object +image +link +iframe +embed + + +svg.embedding.mode +Specifies how inline SVG is processed + + + + + <xsl:param name="svg.embedding.mode">object</xsl:param> + + + +Description + +This parameter specifies how inline SVG graphics + are embedded into the output document. + + + + inline + + Content is copied over inline with its namespace. + + + + object + + Content is extracted into an externel file and referenced + by an object element. + + + + image + + Content is extracted into an externel file and referenced + by an img element. + + + + link + + Content is extracted into an externel file and referenced + by an a element. + + + + iframe + + Content is extracted into an externel file and referenced + by an iframe element. + + + + embed + + Content is extracted into an externel file and referenced + by an embed element. + + + + + + + + + +user.css +filename + + +user.css +Specifies the path to user-supplied CSS + + + + + <xsl:param name="user.css">user.css</xsl:param> + + + +Description + +This parameter specifies the path from where the + CSS styling is read. This file can be used to + add additional styling to the slides. + + + + + + +wrap.slidecontent +boolean + + +wrap.slidecontent +Specifies whether the foil content is wrapped into a div + + + + + <xsl:param name="wrap.slidecontent">0</xsl:param> + + + +Description + +This parameter specifies whether the foil content is wrapped into + a div so that additional styling can be applied. + + + + + + + + XHTML: S5 Params + + + +s5.controls +boolean + + +s5.controls +Specifies whether S5 controls are visible + + + + + <xsl:param name="s5.controls">0</xsl:param> + + + +Description + +This parameter specifies whether S5 navigation controls are + visible by default. + + + + + + +s5.defaultview +list +slideshow +outline + + +s5.defaultview +Specifies the default S5 view + + + + + <xsl:param name="s5.defaultview">slideshow</xsl:param> + + + +Description + +This parameter specifies, which is the default view + in the generated S5 presentation. + + + + + + +s5.opera.css +filename + + +s5.opera.css +Specifies the name of the S5 Opera-specific CSS file + + + + + <xsl:param name="s5.opera.css">opera.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 Opera-specific + CSS file. + + + + + + +s5.outline.css +filename + + +s5.outline.css +Specifies the name of the S5 outline CSS file + + + + + <xsl:param name="s5.outline.css">outline.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 outline CSS file. + + + + + + +s5.path.prefix +uri + + +s5.path.prefix +Specifies the path to S5 files + + + + + <xsl:param name="s5.path.prefix">files/s5/ui/default/</xsl:param> + + + +Description + +This parameter specifies the path where S5 CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + + + + +s5.print.css +filename + + +s5.print.css +Specifies the name of the S5 print CSS file + + + + + <xsl:param name="s5.print.css">print.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 print CSS file. + + + + + + +s5.slides.css +filename + + +s5.slides.css +Specifies the name of the S5 slides CSS file + + + + + <xsl:param name="s5.slides.css">slides.css</xsl:param> + + + +Description + +This parameter specifies the name of the S5 slides CSS file. + + + + + + +s5.slides.js +filename + + +s5.slides.js +Specifies the name of the S5 slides JavaScript file + + + + + <xsl:param name="s5.slides.js">slides.js</xsl:param> + + + +Description + +This parameter specifies the name of the S5 slides JavaScript + file. + + + + + + + + XHTML: Slidy Params + + + +slidy.duration +integer + + +slidy.duration +Specifies the duration of the presentation + + + + + <xsl:param name="slidy.duration">0</xsl:param> + + + +Description + +This parameter specifies the duration of the presentation + in minutes. A JavaScript clock will count down to help the + speaker in not running out of time. Can be disabled if set to 0. + + + + + + +slidy.path.prefix +uri + + +slidy.path.prefix +Specifies the path to Slidy files + + + + + <xsl:param name="slidy.path.prefix">files/slidy/</xsl:param> + + + +Description + +This parameter specifies the path where Slidy CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory. + + + + + + +slidy.slidy.css +filename + + +slidy.slidy.css +Specifies the name of the main Slidy CSS file + + + + + <xsl:param name="slidy.slidy.css">styles/slidy.css</xsl:param> + + + +Description + +This parameter specifies the name of the main Slidy CSS file. + + + + + + +slidy.slidy.js +filename + + +slidy.slidy.js +Specifies the name of the Slidy JavaScript file + + + + + <xsl:param name="slidy.slidy.js">scripts/slidy.js</xsl:param> + + + +Description + +This parameter specifies the name of the Slidy JavaScript file. + + + + + + +slidy.user.css +filename + + +slidy.user.css +Specifies the name of the Slidy user CSS file + + + + + <xsl:param name="slidy.user.css">styles/w3c-blue.css</xsl:param> + + + +Description + +This parameter specifies the name of the Slidy user CSS file. + + + + + + + +The Stylesheet + +The param.xsl stylesheet is just a wrapper +around all these parameters. + + + +<!-- This file is generated from param.xweb --> + +<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> + +<!-- ******************************************************************** + $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ + ******************************************************************** + + This file is part of the DocBook Slides Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<src:fragref linkend="disable.collapsible.frag"></src:fragref> +<src:fragref linkend="disable.incremental.frag"></src:fragref> +<src:fragref linkend="generate.copyright.frag"></src:fragref> +<src:fragref linkend="generate.foilgroup.numbered.toc.frag"></src:fragref> +<src:fragref linkend="generate.foilgroup.toc.frag"></src:fragref> +<src:fragref linkend="generate.handoutnotes.frag"></src:fragref> +<src:fragref linkend="generate.pubdate.frag"></src:fragref> +<src:fragref linkend="generate.speakernotes.frag"></src:fragref> +<src:fragref linkend="generate.titlepage.frag"></src:fragref> +<src:fragref linkend="mml.embedding.mode.frag"></src:fragref> +<src:fragref linkend="svg.embedding.mode.frag"></src:fragref> +<src:fragref linkend="user.css.frag"></src:fragref> +<src:fragref linkend="wrap.slidecontent.frag"></src:fragref> + +<src:fragref linkend="s5.controls.frag"></src:fragref> +<src:fragref linkend="s5.defaultview.frag"></src:fragref> +<src:fragref linkend="s5.opera.css.frag"></src:fragref> +<src:fragref linkend="s5.outline.css.frag"></src:fragref> +<src:fragref linkend="s5.path.prefix.frag"></src:fragref> +<src:fragref linkend="s5.print.css.frag"></src:fragref> +<src:fragref linkend="s5.slides.css.frag"></src:fragref> +<src:fragref linkend="s5.slides.js.frag"></src:fragref> + +<src:fragref linkend="slidy.duration.frag"></src:fragref> +<src:fragref linkend="slidy.path.prefix.frag"></src:fragref> +<src:fragref linkend="slidy.slidy.css.frag"></src:fragref> +<src:fragref linkend="slidy.slidy.js.frag"></src:fragref> +<src:fragref linkend="slidy.user.css.frag"></src:fragref> + +</xsl:stylesheet> + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xsl new file mode 100644 index 0000000000..6bd0e5cf8e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/param.xsl @@ -0,0 +1,71 @@ + + + + + + + 0 + + 0 + + 1 + + 1 + + 1 + + 0 + + 1 + + 0 + + 1 + + inline + + object + + user.css + + 0 + + + 0 + + slideshow + + opera.css + + outline.css + + files/s5/ui/default/ + + print.css + + slides.css + + slides.js + + + 0 + + files/slidy/ + + styles/slidy.css + + scripts/slidy.js + + styles/w3c-blue.css + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xml b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xml new file mode 100644 index 0000000000..fb6569d7b8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xml @@ -0,0 +1,26 @@ + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xsl new file mode 100644 index 0000000000..3af53f4208 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain-titlepage.xsl @@ -0,0 +1,140 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="slides.titlepage.recto"> + <xsl:choose> + <xsl:when test="slidesinfo/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="slidesinfo/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/author"/> +</xsl:template> + +<xsl:template name="slides.titlepage.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage.separator"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage"> + <div class="slide cover title"> + <xsl:variable name="recto.content"> + <xsl:call-template name="slides.titlepage.before.recto"/> + <xsl:call-template name="slides.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="slides.titlepage.before.verso"/> + <xsl:call-template name="slides.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="slides.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain.xsl b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain.xsl new file mode 100644 index 0000000000..05d5e5122b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/slides/xhtml/plain.xsl @@ -0,0 +1,535 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + xmlns:exsl="http://exslt.org/common" + exclude-result-prefixes="dbs db xlink" + extension-element-prefixes="exsl" + version="1.0"> + +<xsl:import href="../../xhtml/chunk.xsl"/> +<xsl:import href="../common/common.xsl"/> +<xsl:import href="plain-titlepage.xsl"/> +<xsl:import href="param.xsl"/> + +<xsl:param name="local.l10n.xml" select="document('')"/> +<i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> + <l:gentext key="Foilgroup" text="Foil Group"/> + <l:gentext key="Foil" text="Foil"/> + <l:gentext key="Speakernotes" text="Speaker Notes"/> + <l:gentext key="Handoutnotes" text="Handout Notes"/> + <l:gentext key="SVGImage" text="SVG image"/> + <l:gentext key="MathMLFormula" text="MathML formula"/> + + <l:context name="title"> + <l:gentext key="foil" text="Foil %n %t"/> + <l:gentext key="foilgroup" text="Foil %n %t"/> + </l:context> + </l:l10n> +</i18n> + +<!-- Overrides from DocBook XSL --> +<xsl:template name="process.qanda.toc"/> + +<!-- Main content starts here --> + +<xsl:template name="xhtml.head"> + <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> +</xsl:template> + +<xsl:template name="slideshow.head"/> + +<xsl:template name="slideshow.content"> + <div class="presentation"> + <xsl:if test="$generate.titlepage != 0"> + <xsl:apply-templates select="/dbs:slides" mode="titlepage"/> + </xsl:if> + + <xsl:apply-templates select="/dbs:slides/dbs:foil|dbs:slides/dbs:foilgroup"/> + </div> +</xsl:template> + +<xsl:template match="/dbs:slides" mode="titlepage"> + <xsl:call-template name="slides.titlepage"/> +</xsl:template> + +<xsl:template name="slide.notes"> + <xsl:if test="($generate.speakernotes != 0) and ./dbs:speakernotes"> + <div class="notes"> + <h2 class="notes"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Speakernotes'"/> + </xsl:call-template> + </h2> + + <xsl:apply-templates select="dbs:speakernotes" mode="notes.mode"/> + </div> + </xsl:if> + + <xsl:if test="($generate.handoutnotes != 0) and ./dbs:handoutnotes"> + <div class="handout"> + <h2 class="handout"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Handoutnotes'"/> + </xsl:call-template> + </h2> + + <xsl:apply-templates select="dbs:handoutnotes" mode="notes.mode"/> + </div> + </xsl:if> +</xsl:template> + +<xsl:template match="/"> + <html> + <xsl:if test="/dbs:slides/@xml:lang"> + <xsl:attribute name="xml:lang"> + <xsl:value-of select="/dbs:slides/@xml:lang"/> + </xsl:attribute> + </xsl:if> + + <head> + <title> + <xsl:call-template name="get.title"> + <xsl:with-param name="ctx" select="/dbs:slides"/> + </xsl:call-template> + + + + + + + + + + + + + + + + + + + +
      + +
    1. +
      +
    +
    + + +
      + +
    • +
      +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + +
    +
    + + + + +
    + + +
    + + +
    + + + +
    + + + + +
    + +
    +
    + + + + +
    + + + + +
    +
    + + + + + + +
    + +
    +
    + + +
    + +
    +
    + + + + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + +

    +
    +
    + + +

    +
    + + +

    + + +

    +
    +
    + + + + + mailto: + + + <> + + + + + + + + + + + + + + + + + + +
      + +
    +
    + + +
      + +
    +
    + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inline + + + + + + + + + + + + + + + + + + + + + + + + + + + + {$mimeType} object + + + + + + + + + + + + ':"");a._keyEvent=!1;return G},_generateMonthYearHeader:function(a,b,c,d,e,g,p,n){var q=this._get(a,"changeMonth"),o=this._get(a,"changeYear"),w=this._get(a,"showMonthAfterYear"),r='
    ',u="";if(g||!q)u+=''+p[b]+"";else{for(var p=d&&d.getFullYear()==c,s=e&&e.getFullYear()==c,u=u+('"}w||(r+=u+(g||!q||!o?" ":""));if(!a.yearshtml)if(a.yearshtml="",g||!o)r+=''+c+"";else{var n=this._get(a,"yearRange").split(":"),z=(new Date).getFullYear(),p=function(a){a= +a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?z+parseInt(a,10):parseInt(a,10);return isNaN(a)?z:a},b=p(n[0]),n=Math.max(b,p(n[1]||"")),b=d?Math.max(b,d.getFullYear()):b,n=e?Math.min(n,e.getFullYear()):n;for(a.yearshtml+='";r+=a.yearshtml;a.yearshtml=null}r+=this._get(a,"yearSuffix");w&&(r+=(g||!q||!o?" ":"")+u);return r+"
    "},_adjustInstDate:function(a,b,c){var d=a.drawYear+("Y"==c?b:0),e=a.drawMonth+("M"==c?b:0),b=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+("D"==c?b:0),d=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,b)));a.selectedDay=d.getDate();a.drawMonth=a.selectedMonth=d.getMonth();a.drawYear=a.selectedYear=d.getFullYear();("M"==c|| +"Y"==c)&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),c=c&&bd?d:c},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return null==a?[1,1]:"number"==typeof a?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a, +b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),c=this._daylightSavingAdjust(new Date(c,d+(0>b?b:e[0]*e[1]),1));0>b&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<= +d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff"),b="string"!=typeof b?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);b=b?"object"==typeof b?b:this._daylightSavingAdjust(new Date(d, +c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});b.fn.datepicker=function(a){if(!this.length)return this;b.datepicker.initialized||(b(document).mousedown(b.datepicker._checkExternalClick).find("body").append(b.datepicker.dpDiv),b.datepicker.initialized=!0);var c=Array.prototype.slice.call(arguments,1);return"string"==typeof a&&("isDisabled"==a||"getDate"==a||"widget"==a)||"option"== +a&&2==arguments.length&&"string"==typeof arguments[1]?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c)):this.each(function(){typeof a=="string"?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)})};b.datepicker=new c;b.datepicker.initialized=!1;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.8.14";window["DP_jQuery_"+h]=b})(jQuery); +(function(b,a){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
    ").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); +this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===a)return this._value();this._setOption("value",b);return this},_setOption:function(a,d){"value"===a&&(this.options.value=d,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete"));b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;"number"!==typeof a&&(a=0);return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100* +this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger("change"));this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(b.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.14"})})(jQuery); +jQuery.effects||function(b,a){function c(a){var c;return a&&a.constructor==Array&&3==a.length?a:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a))?[2.55*parseFloat(c[1]),2.55*parseFloat(c[2]),2.55*parseFloat(c[3])]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?[parseInt(c[1],16),parseInt(c[2], +16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(a)?i.transparent:i[b.trim(a).toLowerCase()]}function d(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]])for(var e=a.length;e--;)c=a[e],"string"==typeof a[c]&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c]);else for(c in a)"string"=== +typeof a[c]&&(b[c]=a[c]);return b}function g(a){var c,d;for(c in a)d=a[c],(null==d||b.isFunction(d)||c in k||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete a[c];return a}function h(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function e(a,c,d,e){"object"==typeof a&&(e=c,d=null,c=a,a=c.effect);b.isFunction(c)&&(e=c,d=null,c={});if("number"==typeof c||b.fx.speeds[c])e=d,d=c,c={};b.isFunction(d)&&(e=d,d=null);c=c||{};d=d||c.duration;d=b.fx.off?0:"number"==typeof d? +d:d in b.fx.speeds?b.fx.speeds[d]:b.fx.speeds._default;e=e||c.complete;return[a,c,d,e]}function f(a){return!a||("number"===typeof a||b.fx.speeds[a])||"string"===typeof a&&!b.effects[a]?!0:!1}b.effects={};b.each("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor borderColor color outlineColor".split(" "),function(a,d){b.fx.step[d]=function(a){if(!a.colorInit){var e;e=a.elem;var f=d,g;do{g=b.curCSS(e,f);if(g!=""&&g!="transparent"||b.nodeName(e,"body"))break;f="backgroundColor"}while(e= +e.parentNode);e=c(g);a.start=e;a.end=c(a.end);a.colorInit=true}a.elem.style[d]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139], +darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255], +maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},j=["add","remove","toggle"],k={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};b.effects.animateClass=function(a,c,e,f){b.isFunction(e)&&(f=e,e=null);return this.queue(function(){var i=b(this),o=i.attr("style")|| +" ",k=g(d.call(this)),r,u=i.attr("class");b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});r=g(d.call(this));i.attr("class",u);i.animate(h(k,r),{queue:false,duration:c,easing:e,complete:function(){b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});if(typeof i.attr("style")=="object"){i.attr("style").cssText="";i.attr("style").cssText=o}else i.attr("style",o);f&&f.apply(this,arguments);b.dequeue(this)}})})};b.fn.extend({_addClass:b.fn.addClass,addClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this, +[{add:a},c,d,e]):this._addClass(a)},_removeClass:b.fn.removeClass,removeClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this,[{remove:a},c,d,e]):this._removeClass(a)},_toggleClass:b.fn.toggleClass,toggleClass:function(c,d,e,f,g){return"boolean"==typeof d||d===a?e?b.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):b.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(a,c,d,e,f){return b.effects.animateClass.apply(this,[{add:c, +remove:a},d,e,f])}});b.extend(b.effects,{version:"1.8.14",save:function(a,b){for(var c=0;c").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});a.wrap(d);d=a.parent();"static"==a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})): +(b.extend(c,{position:a.css("position"),zIndex:a.css("z-index")}),b.each(["top","left","bottom","right"],function(b,d){c[d]=a.css(d);isNaN(parseInt(c[d],10))&&(c[d]="auto")}),a.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));return d.css(c).show()},removeWrapper:function(a){return a.parent().is(".ui-effects-wrapper")?a.parent().replaceWith(a):a},setTransition:function(a,c,d,e){e=e||{};b.each(c,function(b,c){unit=a.cssUnit(c);0(b/=e/2)?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c}, +easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/ +e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:1>(b/=e/2)?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)* +b)+c},easeInOutCirc:function(a,b,c,d,e){return 1>(b/=e/2)?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var a=1.70158,f=0,g=d;if(0==b)return c;if(1==(b/=e))return c+d;f||(f=0.3*e);gb?-0.5*g*Math.pow(2,10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+c:0.5*g*Math.pow(2,-10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+d+c},easeInBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(b,c,d,e, +f,g){g==a&&(g=1.70158);return e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return 1>(c/=f/2)?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(a,c,d,e,f){return e-b.easing.easeOutBounce(a,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+0.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+0.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+0.984375)+c},easeInOutBounce:function(a, +c,d,e,f){return c").css({position:"absolute",visibility:"visible",left:-j*(e/d),top:-i*(f/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:e/d,height:f/c,left:h.left+j*(e/d)+("show"==a.options.mode?(j-Math.floor(d/2))*(e/d):0),top:h.top+i*(f/c)+("show"==a.options.mode?(i-Math.floor(c/2))*(f/c):0),opacity:"show"==a.options.mode?0:1}).animate({left:h.left+j*(e/d)+("show"==a.options.mode?0:(j-Math.floor(d/2))*(e/d)),top:h.top+ +i*(f/c)+("show"==a.options.mode?0:(i-Math.floor(c/2))*(f/c)),opacity:"show"==a.options.mode?1:0},a.duration||500);setTimeout(function(){"show"==a.options.mode?g.css({visibility:"visible"}):g.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(g[0]);g.dequeue();b("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery); +(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); +(function(b){b.effects.fold=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.size||15,e=!!a.options.horizFirst,f=a.duration?a.duration/2:b.fx.speeds._default/2;b.effects.save(c,d);c.show();var i=b.effects.createWrapper(c).css({overflow:"hidden"}),j="show"==g!=e,k=j?["width","height"]:["height","width"],j=j?[i.width(),i.height()]:[i.height(),i.width()],l=/([0-9]+)%/.exec(h);l&&(h=parseInt(l[1], +10)/100*j["hide"==g?0:1]);"show"==g&&i.css(e?{height:0,width:h}:{height:h,width:0});e={};l={};e[k[0]]="show"==g?j[0]:h;l[k[1]]="show"==g?j[1]:0;i.animate(e,f,a.options.easing).animate(l,f,a.options.easing,function(){"hide"==g&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery); +(function(b){b.effects.highlight=function(a){return this.queue(function(){var c=b(this),d=["backgroundImage","backgroundColor","opacity"],g=b.effects.setMode(c,a.options.mode||"show"),h={backgroundColor:c.css("backgroundColor")};"hide"==g&&(h.opacity=0);b.effects.save(c,d);c.show().css({backgroundImage:"none",backgroundColor:a.options.color||"#ffff99"}).animate(h,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){g=="hide"&&c.hide();b.effects.restore(c,d);g=="show"&&!b.support.opacity&& +this.style.removeAttribute("filter");a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); +(function(b){b.effects.pulsate=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"show");times=2*(a.options.times||5)-1;duration=a.duration?a.duration/2:b.fx.speeds._default/2;isVisible=c.is(":visible");animateTo=0;isVisible||(c.css("opacity",0).show(),animateTo=1);("hide"==d&&isVisible||"show"==d&&!isVisible)&×--;for(d=0;d').appendTo(document.body).addClass(a.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(d,a.duration,a.options.easing,function(){h.remove();a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery); +/* + * jQuery Highlight plugin + * Based on highlight v3 by Johann Burkard + * http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html + * Copyright (c) 2009 Bartek Szopka http://bartaz.github.com/sandbox.js/jquery.highlight.html + * Licensed under MIT license. + */ +jQuery.extend({highlight:function(a,c,b,e){if(a.nodeType===3){if(c=a.data.match(c)){b=document.createElement(b||"span");b.className=e||"highlight";a=a.splitText(c.index);a.splitText(c[0].length);e=a.cloneNode(true);b.appendChild(e);a.parentNode.replaceChild(b,a);return 1}}else if(a.nodeType===1&&a.childNodes&&!/(script|style)/i.test(a.tagName)&&!(a.tagName===b.toUpperCase()&&a.className===e))for(var d=0;d').appendTo("body"); + var d = { width: $c.width() - $c[0].clientWidth, height: $c.height() - $c[0].clientHeight }; + $c.remove(); + window.scrollbarWidth = d.width; + window.scrollbarHeight = d.height; + return dim.match(/^(width|height)$/) ? d[dim] : d; + } + + + /** + * Returns hash container 'display' and 'visibility' + * + * @see $.swap() - swaps CSS, runs callback, resets CSS + */ +, showInvisibly: function ($E, force) { + if (!$E) return {}; + if (!$E.jquery) $E = $($E); + var CSS = { + display: $E.css('display') + , visibility: $E.css('visibility') + }; + if (force || CSS.display === "none") { // only if not *already hidden* + $E.css({ display: "block", visibility: "hidden" }); // show element 'invisibly' so can be measured + return CSS; + } + else return {}; + } + + /** + * Returns data for setting size of an element (container or a pane). + * + * @see _create(), onWindowResize() for container, plus others for pane + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, outerWidth, innerHeight, etc + */ +, getElementDimensions: function ($E) { + var + d = {} // dimensions hash + , x = d.css = {} // CSS hash + , i = {} // TEMP insets + , b, p // TEMP border, padding + , N = $.layout.cssNum + , off = $E.offset() + ; + d.offsetLeft = off.left; + d.offsetTop = off.top; + + $.each("Left,Right,Top,Bottom".split(","), function (idx, e) { // e = edge + b = x["border" + e] = $.layout.borderWidth($E, e); + p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e); + i[e] = b + p; // total offset of content from outer side + d["inset"+ e] = p; + }); + + d.offsetWidth = $E.innerWidth(); // offsetWidth is used in calc when doing manual resize + d.offsetHeight = $E.innerHeight(); // ditto + d.outerWidth = $E.outerWidth(); + d.outerHeight = $E.outerHeight(); + d.innerWidth = max(0, d.outerWidth - i.Left - i.Right); + d.innerHeight = max(0, d.outerHeight - i.Top - i.Bottom); + + x.width = $E.width(); + x.height = $E.height(); + x.top = N($E,"top",true); + x.bottom = N($E,"bottom",true); + x.left = N($E,"left",true); + x.right = N($E,"right",true); + + //d.visible = $E.is(":visible");// && x.width > 0 && x.height > 0; + + return d; + } + +, getElementCSS: function ($E, list) { + var + CSS = {} + , style = $E[0].style + , props = list.split(",") + , sides = "Top,Bottom,Left,Right".split(",") + , attrs = "Color,Style,Width".split(",") + , p, s, a, i, j, k + ; + for (i=0; i < props.length; i++) { + p = props[i]; + if (p.match(/(border|padding|margin)$/)) + for (j=0; j < 4; j++) { + s = sides[j]; + if (p === "border") + for (k=0; k < 3; k++) { + a = attrs[k]; + CSS[p+s+a] = style[p+s+a]; + } + else + CSS[p+s] = style[p+s]; + } + else + CSS[p] = style[p]; + }; + return CSS + } + + /** + * Return the innerWidth for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerWidth (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerWidth of the elem by subtracting padding and borders + */ +, cssWidth: function ($E, outerWidth) { + var + b = $.layout.borderWidth + , n = $.layout.cssNum + ; + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerWidth <= 0) return 0; + + if (!$.support.boxModel) return outerWidth; + + // strip border and padding from outerWidth to get CSS Width + var W = outerWidth + - b($E, "Left") + - b($E, "Right") + - n($E, "paddingLeft") + - n($E, "paddingRight") + ; + + return max(0,W); + } + + /** + * Return the innerHeight for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerHeight (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerHeight of the elem by subtracting padding and borders + */ +, cssHeight: function ($E, outerHeight) { + var + b = $.layout.borderWidth + , n = $.layout.cssNum + ; + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerHeight <= 0) return 0; + + if (!$.support.boxModel) return outerHeight; + + // strip border and padding from outerHeight to get CSS Height + var H = outerHeight + - b($E, "Top") + - b($E, "Bottom") + - n($E, "paddingTop") + - n($E, "paddingBottom") + ; + + return max(0,H); + } + + /** + * Returns the 'current CSS numeric value' for a CSS property - 0 if property does not exist + * + * @see Called by many methods + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {string} prop The name of the CSS property, eg: top, width, etc. + * @param {boolean=} [allowAuto=false] true = return 'auto' if that is value; false = return 0 + * @return {(string|number)} Usually used to get an integer value for position (top, left) or size (height, width) + */ +, cssNum: function ($E, prop, allowAuto) { + if (!$E.jquery) $E = $($E); + var CSS = $.layout.showInvisibly($E) + , p = $.curCSS($E[0], prop, true) + , v = allowAuto && p=="auto" ? p : (parseInt(p, 10) || 0); + $E.css( CSS ); // RESET + return v; + } + +, borderWidth: function (el, side) { + if (el.jquery) el = el[0]; + var b = "border"+ side.substr(0,1).toUpperCase() + side.substr(1); // left => Left + return $.curCSS(el, b+"Style", true) === "none" ? 0 : (parseInt($.curCSS(el, b+"Width", true), 10) || 0); + } + + /** + * Mouse-tracking utility - FUTURE REFERENCE + * + * init: if (!window.mouse) { + * window.mouse = { x: 0, y: 0 }; + * $(document).mousemove( $.layout.trackMouse ); + * } + * + * @param {Object} evt + * +, trackMouse: function (evt) { + window.mouse = { x: evt.clientX, y: evt.clientY }; + } + */ + + /** + * SUBROUTINE for preventPrematureSlideClose option + * + * @param {Object} evt + * @param {Object=} el + */ +, isMouseOverElem: function (evt, el) { + var + $E = $(el || this) + , d = $E.offset() + , T = d.top + , L = d.left + , R = L + $E.outerWidth() + , B = T + $E.outerHeight() + , x = evt.pageX // evt.clientX ? + , y = evt.pageY // evt.clientY ? + ; + // if X & Y are < 0, probably means is over an open SELECT + return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B)); + } + + /** + * Message/Logging Utility + * + * @example $.layout.msg("My message"); // log text + * @example $.layout.msg("My message", true); // alert text + * @example $.layout.msg({ foo: "bar" }, "Title"); // log hash-data, with custom title + * @example $.layout.msg({ foo: "bar" }, true, "Title", { sort: false }); -OR- + * @example $.layout.msg({ foo: "bar" }, "Title", { sort: false, display: true }); // alert hash-data + * + * @param {(Object|string)} info String message OR Hash/Array + * @param {(Boolean|string|Object)=} [popup=false] True means alert-box - can be skipped + * @param {(Object|string)=} [debugTitle=""] Title for Hash data - can be skipped + * @param {Object=} [debutOpts={}] Extra options for debug output + */ +, msg: function (info, popup, debugTitle, debugOpts) { + if ($.isPlainObject(info) && window.debugData) { + if (typeof popup === "string") { + debugOpts = debugTitle; + debugTitle = popup; + } + else if (typeof debugTitle === "object") { + debugOpts = debugTitle; + debugTitle = null; + } + var t = debugTitle || "log( )" + , o = $.extend({ sort: false, returnHTML: false, display: false }, debugOpts); + if (popup === true || o.display) + debugData( info, t, o ); + else if (window.console) + console.log(debugData( info, t, o )); + } + else if (popup) + alert(info); + else if (window.console) + console.log(info); + else { + var id = "#layoutLogger" + , $l = $(id); + if (!$l.length) + $l = createLog(); + $l.children("ul").append('
  • '+ info.replace(/\/g,">") +'
  • '); + } + + function createLog () { + var pos = $.support.fixedPosition ? 'fixed' : 'absolute' + , $e = $('
    ' + + '
    ' + + 'XLayout console.log
    ' + + '
      ' + + '
      ' + ).appendTo("body"); + $e.css('left', $(window).width() - $e.outerWidth() - 5) + if ($.ui.draggable) $e.draggable({ handle: ':first-child' }); + return $e; + }; + } + +}; + +var lang = $.layout.language; // alias used in defaults... + +// DEFAULT OPTIONS - CHANGE IF DESIRED +$.layout.defaults = { +/* + * LAYOUT & LAYOUT-CONTAINER OPTIONS + * - none of these options are applicable to individual panes + */ + name: "" // Not required, but useful for buttons and used for the state-cookie +, containerSelector: "" // ONLY used when specifying a childOptions - to find container-element that is NOT directly-nested +, containerClass: "ui-layout-container" // layout-container element +, scrollToBookmarkOnLoad: true // after creating a layout, scroll to bookmark in URL (.../page.htm#myBookmark) +, resizeWithWindow: true // bind thisLayout.resizeAll() to the window.resize event +, resizeWithWindowDelay: 200 // delay calling resizeAll because makes window resizing very jerky +, resizeWithWindowMaxDelay: 0 // 0 = none - force resize every XX ms while window is being resized +, onresizeall_start: null // CALLBACK when resizeAll() STARTS - NOT pane-specific +, onresizeall_end: null // CALLBACK when resizeAll() ENDS - NOT pane-specific +, onload_start: null // CALLBACK when Layout inits - after options initialized, but before elements +, onload_end: null // CALLBACK when Layout inits - after EVERYTHING has been initialized +, onunload_start: null // CALLBACK when Layout is destroyed OR onWindowUnload +, onunload_end: null // CALLBACK when Layout is destroyed OR onWindowUnload +, autoBindCustomButtons: false // search for buttons with ui-layout-button class and auto-bind them +, initPanes: true // false = DO NOT initialize the panes onLoad - will init later +, showErrorMessages: true // enables fatal error messages to warn developers of common errors +, showDebugMessages: false // display console-and-alert debug msgs - IF this Layout version _has_ debugging code! +// Changing this zIndex value will cause other zIndex values to automatically change +, zIndex: null // the PANE zIndex - resizers and masks will be +1 +// DO NOT CHANGE the zIndex values below unless you clearly understand their relationships +, zIndexes: { // set _default_ z-index values here... + pane_normal: 0 // normal z-index for panes + , content_mask: 1 // applied to overlays used to mask content INSIDE panes during resizing + , resizer_normal: 2 // normal z-index for resizer-bars + , pane_sliding: 100 // applied to *BOTH* the pane and its resizer when a pane is 'slid open' + , pane_animate: 1000 // applied to the pane when being animated - not applied to the resizer + , resizer_drag: 10000 // applied to the CLONED resizer-bar when being 'dragged' + } +/* + * PANE DEFAULT SETTINGS + * - settings under the 'panes' key become the default settings for *all panes* + * - ALL pane-options can also be set specifically for each panes, which will override these 'default values' + */ +, panes: { // default options for 'all panes' - will be overridden by 'per-pane settings' + applyDemoStyles: false // NOTE: renamed from applyDefaultStyles for clarity + , closable: true // pane can open & close + , resizable: true // when open, pane can be resized + , slidable: true // when closed, pane can 'slide open' over other panes - closes on mouse-out + , initClosed: false // true = init pane as 'closed' + , initHidden: false // true = init pane as 'hidden' - no resizer-bar/spacing + // SELECTORS + //, paneSelector: "" // MUST be pane-specific - jQuery selector for pane + , contentSelector: ".ui-layout-content" // INNER div/element to auto-size so only it scrolls, not the entire pane! + , contentIgnoreSelector: ".ui-layout-ignore" // element(s) to 'ignore' when measuring 'content' + , findNestedContent: false // true = $P.find(contentSelector), false = $P.children(contentSelector) + // GENERIC ROOT-CLASSES - for auto-generated classNames + , paneClass: "ui-layout-pane" // Layout Pane + , resizerClass: "ui-layout-resizer" // Resizer Bar + , togglerClass: "ui-layout-toggler" // Toggler Button + , buttonClass: "ui-layout-button" // CUSTOM Buttons - eg: '[ui-layout-button]-toggle/-open/-close/-pin' + // ELEMENT SIZE & SPACING + //, size: 100 // MUST be pane-specific -initial size of pane + , minSize: 0 // when manually resizing a pane + , maxSize: 0 // ditto, 0 = no limit + , spacing_open: 6 // space between pane and adjacent panes - when pane is 'open' + , spacing_closed: 6 // ditto - when pane is 'closed' + , togglerLength_open: 50 // Length = WIDTH of toggler button on north/south sides - HEIGHT on east/west sides + , togglerLength_closed: 50 // 100% OR -1 means 'full height/width of resizer bar' - 0 means 'hidden' + , togglerAlign_open: "center" // top/left, bottom/right, center, OR... + , togglerAlign_closed: "center" // 1 => nn = offset from top/left, -1 => -nn == offset from bottom/right + , togglerTip_open: lang.Close // Toggler tool-tip (title) + , togglerTip_closed: lang.Open // ditto + , togglerContent_open: "" // text or HTML to put INSIDE the toggler + , togglerContent_closed: "" // ditto + // RESIZING OPTIONS + , resizerDblClickToggle: true // + , autoResize: true // IF size is 'auto' or a percentage, then recalc 'pixel size' whenever the layout resizes + , autoReopen: true // IF a pane was auto-closed due to noRoom, reopen it when there is room? False = leave it closed + , resizerDragOpacity: 1 // option for ui.draggable + //, resizerCursor: "" // MUST be pane-specific - cursor when over resizer-bar + , maskContents: false // true = add DIV-mask over-or-inside this pane so can 'drag' over IFRAMES + , maskObjects: false // true = add IFRAME-mask over-or-inside this pane to cover objects/applets - content-mask will overlay this mask + , maskZindex: null // will override zIndexes.content_mask if specified - not applicable to iframe-panes + , resizingGrid: false // grid size that the resizers will snap-to during resizing, eg: [20,20] + , livePaneResizing: false // true = LIVE Resizing as resizer is dragged + , liveContentResizing: false // true = re-measure header/footer heights as resizer is dragged + , liveResizingTolerance: 1 // how many px change before pane resizes, to control performance + // TIPS & MESSAGES - also see lang object + , noRoomToOpenTip: lang.noRoomToOpenTip + , resizerTip: lang.Resize // Resizer tool-tip (title) + , sliderTip: lang.Slide // resizer-bar triggers 'sliding' when pane is closed + , sliderCursor: "pointer" // cursor when resizer-bar will trigger 'sliding' + , slideTrigger_open: "click" // click, dblclick, mouseenter + , slideTrigger_close: "mouseleave"// click, mouseleave + , slideDelay_open: 300 // applies only for mouseenter event - 0 = instant open + , slideDelay_close: 300 // applies only for mouseleave event (300ms is the minimum!) + , hideTogglerOnSlide: false // when pane is slid-open, should the toggler show? + , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening + , preventPrematureSlideClose: false // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + // HOT-KEYS & MISC + , showOverflowOnHover: false // will bind allowOverflow() utility to pane.onMouseOver + , enableCursorHotkey: true // enabled 'cursor' hotkeys + //, customHotkey: "" // MUST be pane-specific - EITHER a charCode OR a character + , customHotkeyModifier: "SHIFT" // either 'SHIFT', 'CTRL' or 'CTRL+SHIFT' - NOT 'ALT' + // PANE ANIMATION + // NOTE: fxSss_open, fxSss_close & fxSss_size options (eg: fxName_open) are auto-generated if not passed + , fxName: "slide" // ('none' or blank), slide, drop, scale -- only relevant to 'open' & 'close', NOT 'size' + , fxSpeed: null // slow, normal, fast, 200, nnn - if passed, will OVERRIDE fxSettings.duration + , fxSettings: {} // can be passed, eg: { easing: "easeOutBounce", duration: 1500 } + , fxOpacityFix: true // tries to fix opacity in IE to restore anti-aliasing after animation + , animatePaneSizing: false // true = animate resizing after dragging resizer-bar OR sizePane() is called + /* NOTE: Action-specific FX options are auto-generated from the options above if not specifically set: + fxName_open: "slide" // 'Open' pane animation + fnName_close: "slide" // 'Close' pane animation + fxName_size: "slide" // 'Size' pane animation - when animatePaneSizing = true + fxSpeed_open: null + fxSpeed_close: null + fxSpeed_size: null + fxSettings_open: {} + fxSettings_close: {} + fxSettings_size: {} + */ + // CHILD/NESTED LAYOUTS + , childOptions: null // Layout-options for nested/child layout - even {} is valid as options + , initChildLayout: true // true = child layout will be created as soon as _this_ layout completes initialization + , destroyChildLayout: true // true = destroy child-layout if this pane is destroyed + , resizeChildLayout: true // true = trigger child-layout.resizeAll() when this pane is resized + // PANE CALLBACKS + , triggerEventsOnLoad: false // true = trigger onopen OR onclose callbacks when layout initializes + , triggerEventsDuringLiveResize: true // true = trigger onresize callback REPEATEDLY if livePaneResizing==true + , onshow_start: null // CALLBACK when pane STARTS to Show - BEFORE onopen/onhide_start + , onshow_end: null // CALLBACK when pane ENDS being Shown - AFTER onopen/onhide_end + , onhide_start: null // CALLBACK when pane STARTS to Close - BEFORE onclose_start + , onhide_end: null // CALLBACK when pane ENDS being Closed - AFTER onclose_end + , onopen_start: null // CALLBACK when pane STARTS to Open + , onopen_end: null // CALLBACK when pane ENDS being Opened + , onclose_start: null // CALLBACK when pane STARTS to Close + , onclose_end: null // CALLBACK when pane ENDS being Closed + , onresize_start: null // CALLBACK when pane STARTS being Resized ***FOR ANY REASON*** + , onresize_end: null // CALLBACK when pane ENDS being Resized ***FOR ANY REASON*** + , onsizecontent_start: null // CALLBACK when sizing of content-element STARTS + , onsizecontent_end: null // CALLBACK when sizing of content-element ENDS + , onswap_start: null // CALLBACK when pane STARTS to Swap + , onswap_end: null // CALLBACK when pane ENDS being Swapped + , ondrag_start: null // CALLBACK when pane STARTS being ***MANUALLY*** Resized + , ondrag_end: null // CALLBACK when pane ENDS being ***MANUALLY*** Resized + } +/* + * PANE-SPECIFIC SETTINGS + * - options listed below MUST be specified per-pane - they CANNOT be set under 'panes' + * - all options under the 'panes' key can also be set specifically for any pane + * - most options under the 'panes' key apply only to 'border-panes' - NOT the the center-pane + */ +, north: { + paneSelector: ".ui-layout-north" + , size: "auto" // eg: "auto", "30%", .30, 200 + , resizerCursor: "n-resize" // custom = url(myCursor.cur) + , customHotkey: "" // EITHER a charCode (43) OR a character ("o") + } +, south: { + paneSelector: ".ui-layout-south" + , size: "auto" + , resizerCursor: "s-resize" + , customHotkey: "" + } +, east: { + paneSelector: ".ui-layout-east" + , size: 200 + , resizerCursor: "e-resize" + , customHotkey: "" + } +, west: { + paneSelector: ".ui-layout-west" + , size: 200 + , resizerCursor: "w-resize" + , customHotkey: "" + } +, center: { + paneSelector: ".ui-layout-center" + , minWidth: 0 + , minHeight: 0 + } +}; + +$.layout.optionsMap = { + // layout/global options - NOT pane-options + layout: ("stateManagement,effects,zIndexes," + + "name,zIndex,scrollToBookmarkOnLoad,showErrorMessages," + + "resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay," + + "onresizeall,onresizeall_start,onresizeall_end,onload,onunload,autoBindCustomButtons").split(",") +// borderPanes: [ ALL options that are NOT specified as 'layout' ] + // default.panes options that apply to the center-pane (most options apply _only_ to border-panes) +, center: ("paneClass,contentSelector,contentIgnoreSelector,findNestedContent,applyDemoStyles,triggerEventsOnLoad," + + "showOverflowOnHover,maskContents,maskObjects,liveContentResizing," + + "childOptions,initChildLayout,resizeChildLayout,destroyChildLayout," + + "onresize,onresize_start,onresize_end,onsizecontent,onsizecontent_start,onsizecontent_end").split(",") + // options that MUST be specifically set 'per-pane' - CANNOT set in the panes (defaults) key +, noDefault: ("paneSelector,resizerCursor,customHotkey").split(",") +}; + +/** + * Processes options passed in converts flat-format data into subkey (JSON) format + * In flat-format, subkeys are _currently_ separated with 2 underscores, like north__optName + * Plugins may also call this method so they can transform their own data + * + * @param {!Object} hash Data/options passed by user - may be a single level or nested levels + * @return {Object} Returns hash of minWidth & minHeight + */ +$.layout.transformData = function (hash) { + var json = { panes: {}, center: {} } // init return object + , data, branch, optKey, keys, key, val, i, c; + + if (typeof hash !== "object") return json; // no options passed + + // convert all 'flat-keys' to 'sub-key' format + for (optKey in hash) { + branch = json; + data = $.layout.optionsMap.layout; + val = hash[ optKey ]; + keys = optKey.split("__"); // eg: west__size or north__fxSettings__duration + c = keys.length - 1; + // convert underscore-delimited to subkeys + for (i=0; i <= c; i++) { + key = keys[i]; + if (i === c) + branch[key] = val; + else if (!branch[key]) + branch[key] = {}; // create the subkey + // recurse to sub-key for next loop - if not done + branch = branch[key]; + } + } + + return json; +} + +// INTERNAL CONFIG DATA - DO NOT CHANGE THIS! +$.layout.backwardCompatibility = { + // data used by renameOldOptions() + map: { + // OLD Option Name: NEW Option Name + applyDefaultStyles: "applyDemoStyles" + , resizeNestedLayout: "resizeChildLayout" + , resizeWhileDragging: "livePaneResizing" + , resizeContentWhileDragging: "liveContentResizing" + , triggerEventsWhileDragging: "triggerEventsDuringLiveResize" + , maskIframesOnResize: "maskContents" + , useStateCookie: "stateManagement.enabled" + , "cookie.autoLoad": "stateManagement.autoLoad" + , "cookie.autoSave": "stateManagement.autoSave" + , "cookie.keys": "stateManagement.stateKeys" + , "cookie.name": "stateManagement.cookie.name" + , "cookie.domain": "stateManagement.cookie.domain" + , "cookie.path": "stateManagement.cookie.path" + , "cookie.expires": "stateManagement.cookie.expires" + , "cookie.secure": "stateManagement.cookie.secure" + } + /** + * @param {Object} opts + */ +, renameOptions: function (opts) { + var map = $.layout.backwardCompatibility.map + , oldData, newData, value + ; + for (var itemPath in map) { + oldData = getBranch( itemPath ); + value = oldData.branch[ oldData.key ] + if (value !== undefined) { + newData = getBranch( map[itemPath], true ) + newData.branch[ newData.key ] = value; + delete oldData.branch[ oldData.key ]; + } + } + + /** + * @param {string} path + * @param {boolean=} [create=false] Create path if does not exist + */ + function getBranch (path, create) { + var a = path.split(".") // split keys into array + , c = a.length - 1 + , D = { branch: opts, key: a[c] } // init branch at top & set key (last item) + , i = 0, k, undef; + for (; i 0) { + if (autoHide && $E.data('autoHidden') && $E.innerHeight() > 0) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + // make hidden, then visible to 'refresh' display after animation + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerHeight + * @param {boolean=} [autoHide=false] + */ +, setOuterHeight = function (el, outerHeight, autoHide) { + var $E = el, h; + if (isStr(el)) $E = $Ps[el]; // west + else if (!el.jquery) $E = $(el); + h = cssH($E, outerHeight); + $E.css({ height: h, visibility: "visible" }); // may have been 'hidden' by sizeContent + if (h > 0 && $E.innerWidth() > 0) { + if (autoHide && $E.data('autoHidden')) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerSize + * @param {boolean=} [autoHide=false] + */ +, setOuterSize = function (el, outerSize, autoHide) { + if (_c[pane].dir=="horz") // pane = north or south + setOuterHeight(el, outerSize, autoHide); + else // pane = east or west + setOuterWidth(el, outerSize, autoHide); + } + + + /** + * Converts any 'size' params to a pixel/integer size, if not already + * If 'auto' or a decimal/percentage is passed as 'size', a pixel-size is calculated + * + /** + * @param {string} pane + * @param {(string|number)=} size + * @param {string=} [dir] + * @return {number} + */ +, _parseSize = function (pane, size, dir) { + if (!dir) dir = _c[pane].dir; + + if (isStr(size) && size.match(/%/)) + size = (size === '100%') ? -1 : parseInt(size, 10) / 100; // convert % to decimal + + if (size === 0) + return 0; + else if (size >= 1) + return parseInt(size, 10); + + var o = options, avail = 0; + if (dir=="horz") // north or south or center.minHeight + avail = sC.innerHeight - ($Ps.north ? o.north.spacing_open : 0) - ($Ps.south ? o.south.spacing_open : 0); + else if (dir=="vert") // east or west or center.minWidth + avail = sC.innerWidth - ($Ps.west ? o.west.spacing_open : 0) - ($Ps.east ? o.east.spacing_open : 0); + + if (size === -1) // -1 == 100% + return avail; + else if (size > 0) // percentage, eg: .25 + return round(avail * size); + else if (pane=="center") + return 0; + else { // size < 0 || size=='auto' || size==Missing || size==Invalid + // auto-size the pane + var dim = (dir === "horz" ? "height" : "width") + , $P = $Ps[pane] + , $C = dim === 'height' ? $Cs[pane] : false + , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden + , szP = $P.css(dim) // SAVE current pane size + , szC = $C ? $C.css(dim) : 0 // SAVE current content size + ; + $P.css(dim, "auto"); + if ($C) $C.css(dim, "auto"); + size = (dim === "height") ? $P.outerHeight() : $P.outerWidth(); // MEASURE + $P.css(dim, szP).css(vis); // RESET size & visibility + if ($C) $C.css(dim, szC); + return size; + } + } + + /** + * Calculates current 'size' (outer-width or outer-height) of a border-pane - optionally with 'pane-spacing' added + * + * @param {(string|!Object)} pane + * @param {boolean=} [inclSpace=false] + * @return {number} Returns EITHER Width for east/west panes OR Height for north/south panes - adjusted for boxModel & browser + */ +, getPaneSize = function (pane, inclSpace) { + var + $P = $Ps[pane] + , o = options[pane] + , s = state[pane] + , oSp = (inclSpace ? o.spacing_open : 0) + , cSp = (inclSpace ? o.spacing_closed : 0) + ; + if (!$P || s.isHidden) + return 0; + else if (s.isClosed || (s.isSliding && inclSpace)) + return cSp; + else if (_c[pane].dir === "horz") + return $P.outerHeight() + oSp; + else // dir === "vert" + return $P.outerWidth() + oSp; + } + + /** + * Calculate min/max pane dimensions and limits for resizing + * + * @param {string} pane + * @param {boolean=} [slide=false] + */ +, setSizeLimits = function (pane, slide) { + if (!isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , dir = c.dir + , side = c.side.toLowerCase() + , type = c.sizeType.toLowerCase() + , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param + , $P = $Ps[pane] + , paneSpacing = o.spacing_open + // measure the pane on the *opposite side* from this pane + , altPane = _c.oppositeEdge[pane] + , altS = state[altPane] + , $altP = $Ps[altPane] + , altPaneSize = (!$altP || altS.isVisible===false || altS.isSliding ? 0 : (dir=="horz" ? $altP.outerHeight() : $altP.outerWidth())) + , altPaneSpacing = ((!$altP || altS.isHidden ? 0 : options[altPane][ altS.isClosed !== false ? "spacing_closed" : "spacing_open" ]) || 0) + // limitSize prevents this pane from 'overlapping' opposite pane + , containerSize = (dir=="horz" ? sC.innerHeight : sC.innerWidth) + , minCenterDims = cssMinDims("center") + , minCenterSize = dir=="horz" ? max(options.center.minHeight, minCenterDims.minHeight) : max(options.center.minWidth, minCenterDims.minWidth) + // if pane is 'sliding', then ignore center and alt-pane sizes - because 'overlays' them + , limitSize = (containerSize - paneSpacing - (isSliding ? 0 : (_parseSize("center", minCenterSize, dir) + altPaneSize + altPaneSpacing))) + , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize ) + , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize ) + , r = s.resizerPosition = {} // used to set resizing limits + , top = sC.insetTop + , left = sC.insetLeft + , W = sC.innerWidth + , H = sC.innerHeight + , rW = o.spacing_open // subtract resizer-width to get top/left position for south/east + ; + switch (pane) { + case "north": r.min = top + minSize; + r.max = top + maxSize; + break; + case "west": r.min = left + minSize; + r.max = left + maxSize; + break; + case "south": r.min = top + H - maxSize - rW; + r.max = top + H - minSize - rW; + break; + case "east": r.min = left + W - maxSize - rW; + r.max = left + W - minSize - rW; + break; + }; + } + + /** + * Returns data for setting the size/position of center pane. Also used to set Height for east/west panes + * + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, (outer) width and (outer) height + */ +, calcNewCenterPaneDims = function () { + var d = { + top: getPaneSize("north", true) // true = include 'spacing' value for pane + , bottom: getPaneSize("south", true) + , left: getPaneSize("west", true) + , right: getPaneSize("east", true) + , width: 0 + , height: 0 + }; + + // NOTE: sC = state.container + // calc center-pane outer dimensions + d.width = sC.innerWidth - d.left - d.right; // outerWidth + d.height = sC.innerHeight - d.bottom - d.top; // outerHeight + // add the 'container border/padding' to get final positions relative to the container + d.top += sC.insetTop; + d.bottom += sC.insetBottom; + d.left += sC.insetLeft; + d.right += sC.insetRight; + + return d; + } + + + /** + * @param {!Object} el + * @param {boolean=} [allStates=false] + */ +, getHoverClasses = function (el, allStates) { + var + $El = $(el) + , type = $El.data("layoutRole") + , pane = $El.data("layoutEdge") + , o = options[pane] + , root = o[type +"Class"] + , _pane = "-"+ pane // eg: "-west" + , _open = "-open" + , _closed = "-closed" + , _slide = "-sliding" + , _hover = "-hover " // NOTE the trailing space + , _state = $El.hasClass(root+_closed) ? _closed : _open + , _alt = _state === _closed ? _open : _closed + , classes = (root+_hover) + (root+_pane+_hover) + (root+_state+_hover) + (root+_pane+_state+_hover) + ; + if (allStates) // when 'removing' classes, also remove alternate-state classes + classes += (root+_alt+_hover) + (root+_pane+_alt+_hover); + + if (type=="resizer" && $El.hasClass(root+_slide)) + classes += (root+_slide+_hover) + (root+_pane+_slide+_hover); + + return $.trim(classes); + } +, addHover = function (evt, el) { + var $E = $(el || this); + if (evt && $E.data("layoutRole") === "toggler") + evt.stopPropagation(); // prevent triggering 'slide' on Resizer-bar + $E.addClass( getHoverClasses($E) ); + } +, removeHover = function (evt, el) { + var $E = $(el || this); + $E.removeClass( getHoverClasses($E, true) ); + } + +, onResizerEnter = function (evt) { // ALSO called by toggler.mouseenter + if ($.fn.disableSelection) + $("body").disableSelection(); + } +, onResizerLeave = function (evt, el) { + var + e = el || this // el is only passed when called by the timer + , pane = $(e).data("layoutEdge") + , name = pane +"ResizerLeave" + ; + timer.clear(pane+"_openSlider"); // cancel slideOpen timer, if set + timer.clear(name); // cancel enableSelection timer - may re/set below + // this method calls itself on a timer because it needs to allow + // enough time for dragging to kick-in and set the isResizing flag + // dragging has a 100ms delay set, so this delay must be >100 + if (!el) // 1st call - mouseleave event + timer.set(name, function(){ onResizerLeave(evt, e); }, 200); + // if user is resizing, then dragStop will enableSelection(), so can skip it here + else if (!state[pane].isResizing && $.fn.enableSelection) // 2nd call - by timer + $("body").enableSelection(); + } + +/* + * ########################### + * INITIALIZATION METHODS + * ########################### + */ + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see none - triggered onInit + * @return mixed true = fully initialized | false = panes not initialized (yet) | 'cancel' = abort + */ +, _create = function () { + // initialize config/options + initOptions(); + var o = options; + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // init plugins for this layout, if there are any (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onCreate ); + + // options & state have been initialized, so now run beforeLoad callback + // onload will CANCEL layout creation if it returns false + if (false === _runCallbacks("onload_start")) + return 'cancel'; + + // initialize the container element + _initContainer(); + + // bind hotkey function - keyDown - if required + initHotkeys(); + + // bind window.onunload + $(window).bind("unload."+ sID, unload); + + // init plugins for this layout, if there are any (eg: customButtons) + runPluginCallbacks( Instance, $.layout.onLoad ); + + // if layout elements are hidden, then layout WILL NOT complete initialization! + // initLayoutElements will set initialized=true and run the onload callback IF successful + if (o.initPanes) _initLayoutElements(); + + delete state.creatingLayout; + + return state.initialized; + } + + /** + * Initialize the layout IF not already + * + * @see All methods in Instance run this test + * @return boolean true = layoutElements have been initialized | false = panes are not initialized (yet) + */ +, isInitialized = function () { + if (state.initialized || state.creatingLayout) return true; // already initialized + else return _initLayoutElements(); // try to init panes NOW + } + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see _create() & isInitialized + * @return An object pointer to the instance created + */ +, _initLayoutElements = function (retry) { + // initialize config/options + var o = options; + + // CANNOT init panes inside a hidden container! + if (!$N.is(":visible")) { + // handle Chrome bug where popup window 'has no height' + // if layout is BODY element, try again in 50ms + // SEE: http://layout.jquery-dev.net/samples/test_popup_window.html + if ( !retry && browser.webkit && $N[0].tagName === "BODY" ) + setTimeout(function(){ _initLayoutElements(true); }, 50); + return false; + } + + // a center pane is required, so make sure it exists + if (!getPane("center").length) { + if (options.showErrorMessages) + _log( lang.errCenterPaneMissing, true ); + return false; + } + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // update Container dims + $.extend(sC, elDims( $N )); + + // initialize all layout elements + initPanes(); // size & position panes - calls initHandles() - which calls initResizable() + + if (o.scrollToBookmarkOnLoad) { + var l = self.location; + if (l.hash) l.replace( l.hash ); // scrollTo Bookmark + } + + // check to see if this layout 'nested' inside a pane + if (Instance.hasParentLayout) + o.resizeWithWindow = false; + // bind resizeAll() for 'this layout instance' to window.resize event + else if (o.resizeWithWindow) + $(window).bind("resize."+ sID, windowResize); + + delete state.creatingLayout; + state.initialized = true; + + // init plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onReady ); + + // now run the onload callback, if exists + _runCallbacks("onload_end"); + + return true; // elements initialized successfully + } + + /** + * Initialize nested layouts - called when _initLayoutElements completes + * + * NOT CURRENTLY USED + * + * @see _initLayoutElements + * @return An object pointer to the instance created + */ +, _initChildLayouts = function () { + $.each(_c.allPanes, function (idx, pane) { + if (options[pane].initChildLayout) + createChildLayout( pane ); + }); + } + + /** + * Initialize nested layouts for a specific pane - can optionally pass layout-options + * + * @see _initChildLayouts + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {Object=} [opts] Layout-options - if passed, will OVERRRIDE options[pane].childOptions + * @return An object pointer to the layout instance created - or null + */ +, createChildLayout = function (evt_or_pane, opts) { + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , C = children + ; + if ($P) { + var $C = $Cs[pane] + , o = opts || options[pane].childOptions + , d = "layout" + // determine which element is supposed to be the 'child container' + // if pane has a 'containerSelector' OR a 'content-div', use those instead of the pane + , $Cont = o.containerSelector ? $P.find( o.containerSelector ) : ($C || $P) + , containerFound = $Cont.length + // see if a child-layout ALREADY exists on this element + , child = containerFound ? (C[pane] = $Cont.data(d) || null) : null + ; + // if no layout exists, but childOptions are set, try to create the layout now + if (!child && containerFound && o) + child = C[pane] = $Cont.eq(0).layout(o) || null; + if (child) + child.hasParentLayout = true; // set parent-flag in child + } + Instance[pane].child = C[pane]; // ALWAYS set pane-object pointer, even if null + } + +, windowResize = function () { + var delay = Number(options.resizeWithWindowDelay); + if (delay < 10) delay = 100; // MUST have a delay! + // resizing uses a delay-loop because the resize event fires repeatly - except in FF, but delay anyway + timer.clear("winResize"); // if already running + timer.set("winResize", function(){ + timer.clear("winResize"); + timer.clear("winResizeRepeater"); + var dims = elDims( $N ); + // only trigger resizeAll() if container has changed size + if (dims.innerWidth !== sC.innerWidth || dims.innerHeight !== sC.innerHeight) + resizeAll(); + }, delay); + // ALSO set fixed-delay timer, if not already running + if (!timer.data["winResizeRepeater"]) setWindowResizeRepeater(); + } + +, setWindowResizeRepeater = function () { + var delay = Number(options.resizeWithWindowMaxDelay); + if (delay > 0) + timer.set("winResizeRepeater", function(){ setWindowResizeRepeater(); resizeAll(); }, delay); + } + +, unload = function () { + var o = options; + + _runCallbacks("onunload_start"); + + // trigger plugin callabacks for this layout (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onUnload ); + + _runCallbacks("onunload_end"); + } + + /** + * Validate and initialize container CSS and events + * + * @see _create() + */ +, _initContainer = function () { + var + N = $N[0] + , tag = sC.tagName = N.tagName + , id = sC.id = N.id + , cls = sC.className = N.className + , o = options + , name = o.name + , fullPage= (tag === "BODY") + , props = "overflow,position,margin,padding,border" + , css = "layoutCSS" + , CSS = {} + , hid = "hidden" // used A LOT! + // see if this container is a 'pane' inside an outer-layout + , parent = $N.data("parentLayout") // parent-layout Instance + , pane = $N.data("layoutEdge") // pane-name in parent-layout + , isChild = parent && pane + ; + // sC -> state.container + sC.selector = $N.selector.split(".slice")[0]; + sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); // used in messages + + $N .data({ + layout: Instance + , layoutContainer: sID // FLAG to indicate this is a layout-container - contains unique internal ID + }) + .addClass(o.containerClass) + ; + var layoutMethods = { + destroy: '' + , initPanes: '' + , resizeAll: 'resizeAll' + , resize: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in layoutMethods) { + $N.bind("layout"+ name.toLowerCase() +"."+ sID, Instance[ layoutMethods[name] || name ]); + } + + // if this container is another layout's 'pane', then set child/parent pointers + if (isChild) { + // update parent flag + Instance.hasParentLayout = true; + // set pointers to THIS child-layout (Instance) in parent-layout + // NOTE: parent.PANE.child is an ALIAS to parent.children.PANE + parent[pane].child = parent.children[pane] = $N.data("layout"); + } + + // SAVE original container CSS for use in destroy() + if (!$N.data(css)) { + // handle props like overflow different for BODY & HTML - has 'system default' values + if (fullPage) { + CSS = $.extend( elCSS($N, props), { + height: $N.css("height") + , overflow: $N.css("overflow") + , overflowX: $N.css("overflowX") + , overflowY: $N.css("overflowY") + }); + // ALSO SAVE CSS + var $H = $("html"); + $H.data(css, { + height: "auto" // FF would return a fixed px-size! + , overflow: $H.css("overflow") + , overflowX: $H.css("overflowX") + , overflowY: $H.css("overflowY") + }); + } + else // handle props normally for non-body elements + CSS = elCSS($N, props+",top,bottom,left,right,width,height,overflow,overflowX,overflowY"); + + $N.data(css, CSS); + } + + try { // format html/body if this is a full page layout + if (fullPage) { + $("html").css({ + height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + }); + $("body").css({ + position: "relative" + , height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + , margin: 0 + , padding: 0 // TODO: test whether body-padding could be handled? + , border: "none" // a body-border creates problems because it cannot be measured! + }); + + // set current layout-container dimensions + $.extend(sC, elDims( $N )); + } + else { // set required CSS for overflow and position + // ENSURE container will not 'scroll' + CSS = { overflow: hid, overflowX: hid, overflowY: hid } + var + p = $N.css("position") + , h = $N.css("height") + ; + // if this is a NESTED layout, then container/outer-pane ALREADY has position and height + if (!isChild) { + if (!p || !p.match(/fixed|absolute|relative/)) + CSS.position = "relative"; // container MUST have a 'position' + /* + if (!h || h=="auto") + CSS.height = "100%"; // container MUST have a 'height' + */ + } + $N.css( CSS ); + + // set current layout-container dimensions + if ( $N.is(":visible") ) { + $.extend(sC, elDims( $N )); + if (o.showErrorMessages && sC.innerHeight < 1) + _log( lang.errContainerHeight.replace(/CONTAINER/, sC.ref), true ); + } + } + } catch (ex) {} + } + + /** + * Bind layout hotkeys - if options enabled + * + * @see _create() and addPane() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHotkeys = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + // bind keyDown to capture hotkeys, if option enabled for ANY pane + $.each(panes, function (i, pane) { + var o = options[pane]; + if (o.enableCursorHotkey || o.customHotkey) { + $(document).bind("keydown."+ sID, keyDown); // only need to bind this ONCE + return false; // BREAK - binding was done + } + }); + } + + /** + * Build final OPTIONS data + * + * @see _create() + */ +, initOptions = function () { + var data, d, pane, key, val, i, c, o; + + // reprocess user's layout-options to have correct options sub-key structure + opts = $.layout.transformData( opts ); // panes = default subkey + + // auto-rename old options for backward compatibility + opts = $.layout.backwardCompatibility.renameAllOptions( opts ); + + // if user-options has 'panes' key (pane-defaults), process it... + if (!$.isEmptyObject(opts.panes)) { + // REMOVE any pane-defaults that MUST be set per-pane + data = $.layout.optionsMap.noDefault; + for (i=0, c=data.length; i 0) { + z.pane_normal = zo; + z.content_mask = max(zo+1, z.content_mask); // MIN = +1 + z.resizer_normal = max(zo+2, z.resizer_normal); // MIN = +2 + } + + function createFxOptions ( pane ) { + var o = options[pane] + , d = options.panes; + // ensure fxSettings key to avoid errors + if (!o.fxSettings) o.fxSettings = {}; + if (!d.fxSettings) d.fxSettings = {}; + + $.each(["_open","_close","_size"], function (i,n) { + var + sName = "fxName"+ n + , sSpeed = "fxSpeed"+ n + , sSettings = "fxSettings"+ n + // recalculate fxName according to specificity rules + , fxName = o[sName] = + o[sName] // options.west.fxName_open + || d[sName] // options.panes.fxName_open + || o.fxName // options.west.fxName + || d.fxName // options.panes.fxName + || "none" // MEANS $.layout.defaults.panes.fxName == "" || false || null || 0 + ; + // validate fxName to ensure is valid effect - MUST have effect-config data in options.effects + if (fxName === "none" || !$.effects || !$.effects[fxName] || !options.effects[fxName]) + fxName = o[sName] = "none"; // effect not loaded OR unrecognized fxName + + // set vars for effects subkeys to simplify logic + var fx = options.effects[fxName] || {} // effects.slide + , fx_all = fx.all || null // effects.slide.all + , fx_pane = fx[pane] || null // effects.slide.west + ; + // create fxSpeed[_open|_close|_size] + o[sSpeed] = + o[sSpeed] // options.west.fxSpeed_open + || d[sSpeed] // options.west.fxSpeed_open + || o.fxSpeed // options.west.fxSpeed + || d.fxSpeed // options.panes.fxSpeed + || null // DEFAULT - let fxSetting.duration control speed + ; + // create fxSettings[_open|_close|_size] + o[sSettings] = $.extend( + {} + , fx_all // effects.slide.all + , fx_pane // effects.slide.west + , d.fxSettings // options.panes.fxSettings + , o.fxSettings // options.west.fxSettings + , d[sSettings] // options.panes.fxSettings_open + , o[sSettings] // options.west.fxSettings_open + ); + }); + + // DONE creating action-specific-settings for this pane, + // so DELETE generic options - are no longer meaningful + delete o.fxName; + delete o.fxSpeed; + delete o.fxSettings; + } + + // DELETE 'panes' key now that we are done - values were copied to EACH pane + delete options.panes; + } + + /** + * Initialize module objects, styling, size and position for all panes + * + * @see _initElements() + * @param {string} pane The pane to process + */ +, getPane = function (pane) { + var sel = options[pane].paneSelector + if (sel.substr(0,1)==="#") // ID selector + // NOTE: elements selected 'by ID' DO NOT have to be 'children' + return $N.find(sel).eq(0); + else { // class or other selector + var $P = $N.children(sel).eq(0); + // look for the pane nested inside a 'form' element + return $P.length ? $P : $N.children("form:first").children(sel).eq(0); + } + } + +, initPanes = function () { + // NOTE: do north & south FIRST so we can measure their height - do center LAST + $.each(_c.allPanes, function (idx, pane) { + addPane( pane, true ); + }); + + // init the pane-handles NOW in case we have to hide or close the pane below + initHandles(); + + // now that all panes have been initialized and initially-sized, + // make sure there is really enough space available for each pane + $.each(_c.borderPanes, function (i, pane) { + if ($Ps[pane] && state[pane].isVisible) { // pane is OPEN + setSizeLimits(pane); + makePaneFit(pane); // pane may be Closed, Hidden or Resized by makePaneFit() + } + }); + // size center-pane AGAIN in case we 'closed' a border-pane in loop above + sizeMidPanes("center"); + + // Chrome/Webkit sometimes fires callbacks BEFORE it completes resizing! + // Before RC30.3, there was a 10ms delay here, but that caused layout + // to load asynchrously, which is BAD, so try skipping delay for now + + // process pane contents and callbacks, and init/resize child-layout if exists + $.each(_c.allPanes, function (i, pane) { + var o = options[pane]; + if ($Ps[pane]) { + if (state[pane].isVisible) { // pane is OPEN + sizeContent(pane); + // trigger pane.onResize if triggerEventsOnLoad = true + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); + } + // init childLayout - even if pane is not visible + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + }); + } + + /** + * Add a pane to the layout - subroutine of initPanes() + * + * @see initPanes() + * @param {string} pane The pane to process + * @param {boolean=} [force=false] Size content after init + */ +, addPane = function (pane, force) { + if (!force && !isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , fx = s.fx + , dir = c.dir + , spacing = o.spacing_open || 0 + , isCenter = (pane === "center") + , CSS = {} + , $P = $Ps[pane] + , size, minSize, maxSize + ; + // if pane-pointer already exists, remove the old one first + if ($P) + removePane( pane, false, true, false ); + else + $Cs[pane] = false; // init + + $P = $Ps[pane] = getPane(pane); + if (!$P.length) { + $Ps[pane] = false; // logic + return; + } + + // SAVE original Pane CSS + if (!$P.data("layoutCSS")) { + var props = "position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"; + $P.data("layoutCSS", elCSS($P, props)); + } + + // create alias for pane data in Instance - initHandles will add more + Instance[pane] = { name: pane, pane: $Ps[pane], content: $Cs[pane], options: options[pane], state: state[pane], child: children[pane] }; + + // add classes, attributes & events + $P .data({ + parentLayout: Instance // pointer to Layout Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "pane" + }) + .css(c.cssReq).css("zIndex", options.zIndexes.pane_normal) + .css(o.applyDemoStyles ? c.cssDemo : {}) // demo styles + .addClass( o.paneClass +" "+ o.paneClass+"-"+pane ) // default = "ui-layout-pane ui-layout-pane-west" - may be a dupe of 'paneSelector' + .bind("mouseenter."+ sID, addHover ) + .bind("mouseleave."+ sID, removeHover ) + ; + var paneMethods = { + hide: '' + , show: '' + , toggle: '' + , close: '' + , open: '' + , slideOpen: '' + , slideClose: '' + , slideToggle: '' + , size: 'manualSizePane' + , sizePane: 'manualSizePane' + , sizeContent: '' + , sizeHandles: '' + , enableClosable: '' + , disableClosable: '' + , enableSlideable: '' + , disableSlideable: '' + , enableResizable: '' + , disableResizable: '' + , swapPanes: 'swapPanes' + , swap: 'swapPanes' + , move: 'swapPanes' + , removePane: 'removePane' + , remove: 'removePane' + , createChildLayout: '' + , resizeChildLayout: '' + , resizeAll: 'resizeAll' + , resizeLayout: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in paneMethods) { + $P.bind("layoutpane"+ name.toLowerCase() +"."+ sID, Instance[ paneMethods[name] || name ]); + } + + // see if this pane has a 'scrolling-content element' + initContent(pane, false); // false = do NOT sizeContent() - called later + + if (!isCenter) { + // call _parseSize AFTER applying pane classes & styles - but before making visible (if hidden) + // if o.size is auto or not valid, then MEASURE the pane and use that as its 'size' + size = s.size = _parseSize(pane, o.size); + minSize = _parseSize(pane,o.minSize) || 1; + maxSize = _parseSize(pane,o.maxSize) || 100000; + if (size > 0) size = max(min(size, maxSize), minSize); + + // state for border-panes + s.isClosed = false; // true = pane is closed + s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes + s.isResizing= false; // true = pane is in process of being resized + s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible! + + // array for 'pin buttons' whose classNames are auto-updated on pane-open/-close + if (!s.pins) s.pins = []; + } + // states common to ALL panes + s.tagName = $P[0].tagName; + s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or is going) + s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide automatically + s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic + + // set css-position to account for container borders & padding + switch (pane) { + case "north": CSS.top = sC.insetTop; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "south": CSS.bottom = sC.insetBottom; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "west": CSS.left = sC.insetLeft; // top, bottom & height set by sizeMidPanes() + break; + case "east": CSS.right = sC.insetRight; // ditto + break; + case "center": // top, left, width & height set by sizeMidPanes() + } + + if (dir === "horz") // north or south pane + CSS.height = cssH($P, size); + else if (dir === "vert") // east or west pane + CSS.width = cssW($P, size); + //else if (isCenter) {} + + $P.css(CSS); // apply size -- top, bottom & height will be set by sizeMidPanes + if (dir != "horz") sizeMidPanes(pane, true); // true = skipCallback + + // close or hide the pane if specified in settings + if (o.initClosed && o.closable && !o.initHidden) + close(pane, true, true); // true, true = force, noAnimation + else if (o.initHidden || o.initClosed) + hide(pane); // will be completely invisible - no resizer or spacing + else if (!s.noRoom) + // make the pane visible - in case was initially hidden + $P.css("display","block"); + // ELSE setAsOpen() - called later by initHandles() + + // RESET visibility now - pane will appear IF display:block + $P.css("visibility","visible"); + + // check option for auto-handling of pop-ups & drop-downs + if (o.showOverflowOnHover) + $P.hover( allowOverflow, resetOverflow ); + + // if manually adding a pane AFTER layout initialization, then... + if (state.initialized) { + initHandles( pane ); + initHotkeys( pane ); + resizeAll(); // will sizeContent if pane is visible + if (s.isVisible) { // pane is OPEN + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); // a previously existing childLayout + } + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + } + + /** + * Initialize module objects, styling, size and position for all resize bars and toggler buttons + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHandles = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + + // create toggler DIVs for each pane, and set object pointers for them, eg: $R.north = north toggler DIV + $.each(panes, function (i, pane) { + var $P = $Ps[pane]; + $Rs[pane] = false; // INIT + $Ts[pane] = false; + if (!$P) return; // pane does not exist - skip + + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , rClass = o.resizerClass + , tClass = o.togglerClass + , side = c.side.toLowerCase() + , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed) + , _pane = "-"+ pane // used for classNames + , _state = (s.isVisible ? "-open" : "-closed") // used for classNames + , I = Instance[pane] + // INIT RESIZER BAR + , $R = I.resizer = $Rs[pane] = $("
      ") + // INIT TOGGLER BUTTON + , $T = I.toggler = (o.closable ? $Ts[pane] = $("
      ") : false) + ; + + //if (s.isVisible && o.resizable) ... handled by initResizable + if (!s.isVisible && o.slidable) + $R.attr("title", o.sliderTip).css("cursor", o.sliderCursor); + + $R // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "paneLeft-resizer" + .attr("id", (o.paneSelector.substr(0,1)=="#" ? o.paneSelector.substr(1) + "-resizer" : "")) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "resizer" + }) + .css(_c.resizers.cssReq).css("zIndex", options.zIndexes.resizer_normal) + .css(o.applyDemoStyles ? _c.resizers.cssDemo : {}) // add demo styles + .addClass(rClass +" "+ rClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if resizing is not enabled - handle with CSS instead + .hover(onResizerEnter, onResizerLeave) // ALWAYS NEED resizer.mouseleave to balance toggler.mouseenter + .appendTo($N) // append DIV to container + ; + + if ($T) { + $T // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "#paneLeft-toggler" + .attr("id", (o.paneSelector.substr(0,1)=="#" ? o.paneSelector.substr(1) + "-toggler" : "")) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "toggler" + }) + .css(_c.togglers.cssReq) // add base/required styles + .css(o.applyDemoStyles ? _c.togglers.cssDemo : {}) // add demo styles + .addClass(tClass +" "+ tClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if toggling is not enabled - handle with CSS instead + .bind("mouseenter", onResizerEnter) // NEED toggler.mouseenter because mouseenter MAY NOT fire on resizer + .appendTo($R) // append SPAN to resizer DIV + ; + // ADD INNER-SPANS TO TOGGLER + if (o.togglerContent_open) // ui-layout-open + $(""+ o.togglerContent_open +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .data("layoutRole", "togglerContent") + .data("layoutEdge", pane) + .addClass("content content-open") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-open instead! + ; + if (o.togglerContent_closed) // ui-layout-closed + $(""+ o.togglerContent_closed +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .addClass("content content-closed") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-closed instead! + ; + // ADD TOGGLER.click/.hover + enableClosable(pane); + } + + // add Draggable events + initResizable(pane); + + // ADD CLASSNAMES & SLIDE-BINDINGS - eg: class="resizer resizer-west resizer-open" + if (s.isVisible) + setAsOpen(pane); // onOpen will be called, but NOT onResize + else { + setAsClosed(pane); // onClose will be called + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + }); + + // SET ALL HANDLE DIMENSIONS + sizeHandles(); + } + + + /** + * Initialize scrolling ui-layout-content div - if exists + * + * @see initPane() - or externally after an Ajax injection + * @param {string} [pane] The pane to process + * @param {boolean=} [resize=true] Size content after init + */ +, initContent = function (pane, resize) { + if (!isInitialized()) return; + var + o = options[pane] + , sel = o.contentSelector + , I = Instance[pane] + , $P = $Ps[pane] + , $C + ; + if (sel) $C = I.content = $Cs[pane] = (o.findNestedContent) + ? $P.find(sel).eq(0) // match 1-element only + : $P.children(sel).eq(0) + ; + if ($C && $C.length) { + $C.data("layoutRole", "content"); + // SAVE original Pane CSS + if (!$C.data("layoutCSS")) + $C.data("layoutCSS", elCSS($C, "height")); + $C.css( _c.content.cssReq ); + if (o.applyDemoStyles) { + $C.css( _c.content.cssDemo ); // add padding & overflow: auto to content-div + $P.css( _c.content.cssDemoPane ); // REMOVE padding/scrolling from pane + } + state[pane].content = {}; // init content state + if (resize !== false) sizeContent(pane); + // sizeContent() is called AFTER init of all elements + } + else + I.content = $Cs[pane] = false; + } + + + /** + * Add resize-bars to all panes that specify it in options + * -dependancy: $.fn.resizable - will skip if not found + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initResizable = function (panes) { + var draggingAvailable = $.layout.plugins.draggable + , side // set in start() + ; + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (idx, pane) { + var o = options[pane]; + if (!draggingAvailable || !$Ps[pane] || !o.resizable) { + o.resizable = false; + return true; // skip to next + } + + var s = state[pane] + , z = options.zIndexes + , c = _c[pane] + , side = c.dir=="horz" ? "top" : "left" + , opEdge = _c.oppositeEdge[pane] + , masks = pane +",center,"+ opEdge + (c.dir=="horz" ? ",west,east" : "") + , $P = $Ps[pane] + , $R = $Rs[pane] + , base = o.resizerClass + , lastPos = 0 // used when live-resizing + , r, live // set in start because may change + // 'drag' classes are applied to the ORIGINAL resizer-bar while dragging is in process + , resizerClass = base+"-drag" // resizer-drag + , resizerPaneClass = base+"-"+pane+"-drag" // resizer-north-drag + // 'helper' class is applied to the CLONED resizer-bar while it is being dragged + , helperClass = base+"-dragging" // resizer-dragging + , helperPaneClass = base+"-"+pane+"-dragging" // resizer-north-dragging + , helperLimitClass = base+"-dragging-limit" // resizer-drag + , helperPaneLimitClass = base+"-"+pane+"-dragging-limit" // resizer-north-drag + , helperClassesSet = false // logic var + ; + + if (!s.isClosed) + $R.attr("title", o.resizerTip) + .css("cursor", o.resizerCursor); // n-resize, s-resize, etc + + $R.draggable({ + containment: $N[0] // limit resizing to layout container + , axis: (c.dir=="horz" ? "y" : "x") // limit resizing to horz or vert axis + , delay: 0 + , distance: 1 + , grid: o.resizingGrid + // basic format for helper - style it using class: .ui-draggable-dragging + , helper: "clone" + , opacity: o.resizerDragOpacity + , addClasses: false // avoid ui-state-disabled class when disabled + //, iframeFix: o.draggableIframeFix // TODO: consider using when bug is fixed + , zIndex: z.resizer_drag + + , start: function (e, ui) { + // REFRESH options & state pointers in case we used swapPanes + o = options[pane]; + s = state[pane]; + // re-read options + live = o.livePaneResizing; + + // ondrag_start callback - will CANCEL hide if returns false + // TODO: dragging CANNOT be cancelled like this, so see if there is a way? + if (false === _runCallbacks("ondrag_start", pane)) return false; + + s.isResizing = true; // prevent pane from closing while resizing + timer.clear(pane+"_closeSlider"); // just in case already triggered + + // SET RESIZER LIMITS - used in drag() + setSizeLimits(pane); // update pane/resizer state + r = s.resizerPosition; + lastPos = ui.position[ side ] + + $R.addClass( resizerClass +" "+ resizerPaneClass ); // add drag classes + helperClassesSet = false; // reset logic var - see drag() + + // DISABLE TEXT SELECTION (probably already done by resizer.mouseOver) + $('body').disableSelection(); + + // MASK PANES CONTAINING IFRAMES, APPLETS OR OTHER TROUBLESOME ELEMENTS + showMasks( masks ); + } + + , drag: function (e, ui) { + if (!helperClassesSet) { // can only add classes after clone has been added to the DOM + //$(".ui-draggable-dragging") + ui.helper + .addClass( helperClass +" "+ helperPaneClass ) // add helper classes + .css({ right: "auto", bottom: "auto" }) // fix dir="rtl" issue + .children().css("visibility","hidden") // hide toggler inside dragged resizer-bar + ; + helperClassesSet = true; + // draggable bug!? RE-SET zIndex to prevent E/W resize-bar showing through N/S pane! + if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding); + } + // CONTAIN RESIZER-BAR TO RESIZING LIMITS + var limit = 0; + if (ui.position[side] < r.min) { + ui.position[side] = r.min; + limit = -1; + } + else if (ui.position[side] > r.max) { + ui.position[side] = r.max; + limit = 1; + } + // ADD/REMOVE dragging-limit CLASS + if (limit) { + ui.helper.addClass( helperLimitClass +" "+ helperPaneLimitClass ); // at dragging-limit + window.defaultStatus = (limit>0 && pane.match(/north|west/)) || (limit<0 && pane.match(/south|east/)) ? lang.maxSizeWarning : lang.minSizeWarning; + } + else { + ui.helper.removeClass( helperLimitClass +" "+ helperPaneLimitClass ); // not at dragging-limit + window.defaultStatus = ""; + } + // DYNAMICALLY RESIZE PANES IF OPTION ENABLED + // won't trigger unless resizer has actually moved! + if (live && Math.abs(ui.position[side] - lastPos) >= o.liveResizingTolerance) { + lastPos = ui.position[side]; + resizePanes(e, ui, pane) + } + } + + , stop: function (e, ui) { + $('body').enableSelection(); // RE-ENABLE TEXT SELECTION + window.defaultStatus = ""; // clear 'resizing limit' message from statusbar + $R.removeClass( resizerClass +" "+ resizerPaneClass ); // remove drag classes from Resizer + s.isResizing = false; + resizePanes(e, ui, pane, true, masks); // true = resizingDone + } + + }); + }); + + /** + * resizePanes + * + * Sub-routine called from stop() - and drag() if livePaneResizing + * + * @param {!Object} evt + * @param {!Object} ui + * @param {string} pane + * @param {boolean=} [resizingDone=false] + */ + var resizePanes = function (evt, ui, pane, resizingDone, masks) { + var dragPos = ui.position + , c = _c[pane] + , o = options[pane] + , s = state[pane] + , resizerPos + ; + switch (pane) { + case "north": resizerPos = dragPos.top; break; + case "west": resizerPos = dragPos.left; break; + case "south": resizerPos = sC.offsetHeight - dragPos.top - o.spacing_open; break; + case "east": resizerPos = sC.offsetWidth - dragPos.left - o.spacing_open; break; + }; + // remove container margin from resizer position to get the pane size + var newSize = resizerPos - sC["inset"+ c.side]; + + // Disable OR Resize Mask(s) created in drag.start + if (!resizingDone) { + // ensure we meet liveResizingTolerance criteria + if (Math.abs(newSize - s.size) < o.liveResizingTolerance) + return; // SKIP resize this time + // resize the pane + manualSizePane(pane, newSize, false, true); // true = noAnimation + sizeMasks(); // resize all visible masks + } + else { // resizingDone + // ondrag_end callback + if (false !== _runCallbacks("ondrag_end", pane)) + manualSizePane(pane, newSize, false, true); // true = noAnimation + hideMasks(); // hide all masks, which include panes with 'content/iframe-masks' + if (s.isSliding && masks) // RE-SHOW only 'object-masks' so objects won't show through sliding pane + showMasks( masks, true ); // true = onlyForObjects + } + }; + } + + /** + * sizeMask + * + * Needed to overlay a DIV over an IFRAME-pane because mask CANNOT be *inside* the pane + * Called when mask created, and during livePaneResizing + */ +, sizeMask = function () { + var $M = $(this) + , pane = $M.data("layoutMask") // eg: "west" + , s = state[pane] + ; + // only masks over an IFRAME-pane need manual resizing + if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes + $M.css({ + top: s.offsetTop + , left: s.offsetLeft + , width: s.outerWidth + , height: s.outerHeight + }); + /* ALT Method... + var $P = $Ps[pane]; + $M.css( $P.position() ).css({ width: $P[0].offsetWidth, height: $P[0].offsetHeight }); + */ + } +, sizeMasks = function () { + $Ms.each( sizeMask ); // resize all 'visible' masks + } + +, showMasks = function (panes, onlyForObjects) { + var a = panes ? panes.split(",") : $.layout.config.allPanes + , z = options.zIndexes + , o, s; + $.each(a, function(i,p){ + s = state[p]; + o = options[p]; + if (s.isVisible && ( (!onlyForObjects && o.maskContents) || o.maskObjects )) { + getMasks(p).each(function(){ + sizeMask.call(this); + this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1 + this.style.display = "block"; + }); + } + }); + } + +, hideMasks = function () { + // ensure no pane is resizing - could be a timing issue + var skip; + $.each( $.layout.config.borderPanes, function(i,p){ + if (state[p].isResizing) { + skip = true; + return false; // BREAK + } + }); + if (!skip) + $Ms.hide(); // hide ALL masks + } + +, getMasks = function (pane) { + var $Masks = $([]) + , $M, i = 0, c = $Ms.length + ; + for (; i CSS + if (sC.tagName === "BODY" && ($N = $("html")).data(css)) // RESET CSS + $N.css( $N.data(css) ).removeData(css); + + // trigger plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onDestroy ); + + // trigger state-management and onunload callback + unload(); + + // clear the Instance of everything except for container & options (so could recreate) + // RE-CREATE: myLayout = myLayout.container.layout( myLayout.options ); + for (n in Instance) + if (!n.match(/^(container|options)$/)) delete Instance[ n ]; + // add a 'destroyed' flag to make it easy to check + Instance.destroyed = true; + + // if this is a child layout, CLEAR the child-pointer in the parent + /* for now the pointer REMAINS, but with only container, options and destroyed keys + if (parentPane) { + var layout = parentPane.pane.data("parentLayout"); + parentPane.child = layout.children[ parentPane.name ] = null; + } + */ + + return Instance; // for coding convenience + } + + /** + * Remove a pane from the layout - subroutine of destroy() + * + * @see destroy() + * @param {string} pane The pane to process + * @param {boolean=} [remove=false] Remove the DOM element? + * @param {boolean=} [skipResize=false] Skip calling resizeAll()? + */ +, removePane = function (evt_or_pane, remove, skipResize, destroyChild) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $C = $Cs[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + ; + //alert( '$P.length = '+ $P.length ); + // NOTE: elements can still exist even after remove() + // so check for missing data(), which is cleared by removed() + if ($P && $.isEmptyObject( $P.data() )) $P = false; + if ($C && $.isEmptyObject( $C.data() )) $C = false; + if ($R && $.isEmptyObject( $R.data() )) $R = false; + if ($T && $.isEmptyObject( $T.data() )) $T = false; + + if ($P) $P.stop(true, true); + + // check for a child layout + var o = options[pane] + , s = state[pane] + , d = "layout" + , css = "layoutCSS" + , child = children[pane] || ($P ? $P.data(d) : 0) || ($C ? $C.data(d) : 0) || null + , destroy = destroyChild !== undefined ? destroyChild : o.destroyChildLayout + ; + + // FIRST destroy the child-layout(s) + if (destroy && child && !child.destroyed) { + child.destroy(true); // tell child-layout to destroy ALL its child-layouts too + if (child.destroyed) // destroy was successful + child = null; // clear pointer for logic below + } + + if ($P && remove && !child) + $P.remove(); + else if ($P && $P[0]) { + // create list of ALL pane-classes that need to be removed + var root = o.paneClass // default="ui-layout-pane" + , pRoot = root +"-"+ pane // eg: "ui-layout-pane-west" + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + , classes = [ root, root+_open, root+_closed, root+_sliding, // generic classes + pRoot, pRoot+_open, pRoot+_closed, pRoot+_sliding ] // pane-specific classes + ; + $.merge(classes, getHoverClasses($P, true)); // ADD hover-classes + // remove all Layout classes from pane-element + $P .removeClass( classes.join(" ") ) // remove ALL pane-classes + .removeData("parentLayout") + .removeData("layoutPane") + .removeData("layoutRole") + .removeData("layoutEdge") + .removeData("autoHidden") // in case set + .unbind("."+ sID) // remove ALL Layout events + // TODO: remove these extra unbind commands when jQuery is fixed + //.unbind("mouseenter"+ sID) + //.unbind("mouseleave"+ sID) + ; + // do NOT reset CSS if this pane/content is STILL the container of a nested layout! + // the nested layout will reset its 'container' CSS when/if it is destroyed + if ($C && $C.data(d)) { + // a content-div may not have a specific width, so give it one to contain the Layout + $C.width( $C.width() ); + child.resizeAll(); // now resize the Layout + } + else if ($C) + $C.css( $C.data(css) ).removeData(css).removeData("layoutRole"); + // remove pane AFTER content in case there was a nested layout + if (!$P.data(d)) + $P.css( $P.data(css) ).removeData(css); + } + + // REMOVE pane resizer and toggler elements + if ($T) $T.remove(); + if ($R) $R.remove(); + + // CLEAR all pointers and state data + Instance[pane] = $Ps[pane] = $Cs[pane] = $Rs[pane] = $Ts[pane] = children[pane] = false; + s = { removed: true }; + + if (!skipResize) + resizeAll(); + } + + +/* + * ########################### + * ACTION METHODS + * ########################### + */ + +, _hidePane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , s = $P[0].style + ; + if (o.useOffscreenClose) { + if (!$P.data(_c.offscreenReset)) + $P.data(_c.offscreenReset, { left: s.left, right: s.right }); + $P.css( _c.offscreenCSS ); + } + else + $P.hide().removeData(_c.offscreenReset); + } + +, _showPane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , off = _c.offscreenCSS + , old = $P.data(_c.offscreenReset) + , s = $P[0].style + ; + $P .show() // ALWAYS show, just in case + .removeData(_c.offscreenReset); + if (o.useOffscreenClose && old) { + if (s.left == off.left) + s.left = old.left; + if (s.right == off.right) + s.right = old.right; + } + } + + + /** + * Completely 'hides' a pane, including its spacing - as if it does not exist + * The pane is not actually 'removed' from the source, so can use 'show' to un-hide it + * + * @param {string} pane The pane being hidden, ie: north, south, east, or west + * @param {boolean=} [noAnimation=false] + */ +, hide = function (evt_or_pane, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || s.isHidden) return; // pane does not exist OR is already hidden + + // onhide_start callback - will CANCEL hide if returns false + if (state.initialized && false === _runCallbacks("onhide_start", pane)) return; + + s.isSliding = false; // just in case + + // now hide the elements + if ($R) $R.hide(); // hide resizer-bar + if (!state.initialized || s.isClosed) { + s.isClosed = true; // to trigger open-animation on show() + s.isHidden = true; + s.isVisible = false; + if (!state.initialized) + _hidePane(pane); // no animation when loading page + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center"); + if (state.initialized || o.triggerEventsOnLoad) + _runCallbacks("onhide_end", pane); + } + else { + s.isHiding = true; // used by onclose + close(pane, false, noAnimation); // adjust all panes to fit + } + } + + /** + * Show a hidden pane - show as 'closed' by default unless openPane = true + * + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [openPane=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, show = function (evt_or_pane, openPane, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || !s.isHidden) return; // pane does not exist OR is not hidden + + // onshow_start callback - will CANCEL show if returns false + if (false === _runCallbacks("onshow_start", pane)) return; + + s.isSliding = false; // just in case + s.isShowing = true; // used by onopen/onclose + //s.isHidden = false; - will be set by open/close - if not cancelled + + // now show the elements + //if ($R) $R.show(); - will be shown by open/close + if (openPane === false) + close(pane, true); // true = force + else + open(pane, false, noAnimation, noAlert); // adjust all panes to fit + } + + + /** + * Toggles a pane open/closed by calling either open or close + * + * @param {string} pane The pane being toggled, ie: north, south, east, or west + * @param {boolean=} [slide=false] + */ +, toggle = function (evt_or_pane, slide) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + ; + if (evt) // called from to $R.dblclick OR triggerPaneEvent + evt.stopImmediatePropagation(); + if (s.isHidden) + show(pane); // will call 'open' after unhiding it + else if (s.isClosed) + open(pane, !!slide); + else + close(pane); + } + + + /** + * Utility method used during init or other auto-processes + * + * @param {string} pane The pane being closed + * @param {boolean=} [setHandles=false] + */ +, _closePane = function (pane, setHandles) { + var + $P = $Ps[pane] + , s = state[pane] + ; + _hidePane(pane); + s.isClosed = true; + s.isVisible = false; + // UNUSED: if (setHandles) setAsClosed(pane, true); // true = force + } + + /** + * Close the specified pane (animation optional), and resize all other panes as needed + * + * @param {string} pane The pane being closed, ie: north, south, east, or west + * @param {boolean=} [force=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [skipCallback=false] + */ +, close = function (evt_or_pane, force, noAnimation, skipCallback) { + var pane = evtPane.call(this, evt_or_pane); + // if pane has been initialized, but NOT the complete layout, close pane instantly + if (!state.initialized && $Ps[pane]) { + _closePane(pane); // INIT pane as closed + return; + } + if (!isInitialized()) return; + + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing, isHiding, wasSliding; + + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable) ??? + || (!force && s.isClosed && !s.isShowing) // already closed + ) return queueNext(); + + // onclose_start callback - will CANCEL hide if returns false + // SKIP if just 'showing' a hidden pane as 'closed' + var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane); + + // transfer logic vars to temp vars + isShowing = s.isShowing; + isHiding = s.isHiding; + wasSliding = s.isSliding; + // now clear the logic vars (REQUIRED before aborting) + delete s.isShowing; + delete s.isHiding; + + if (abort) return queueNext(); + + doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none"); + s.isMoving = true; + s.isClosed = true; + s.isVisible = false; + // update isHidden BEFORE sizing panes + if (isHiding) s.isHidden = true; + else if (isShowing) s.isHidden = false; + + if (s.isSliding) // pane is being closed, so UNBIND trigger events + bindStopSlidingEvents(pane, false); // will set isSliding=false + else // resize panes adjacent to this one + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center", false); // false = NOT skipCallback + + // if this pane has a resizer bar, move it NOW - before animation + setAsClosed(pane); + + // CLOSE THE PANE + if (doFX) { // animate the close + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.hide( o.fxName_close, o.fxSettings_close, o.fxSpeed_close, function () { + lockPaneForFX(pane, false); // undo + if (s.isClosed) close_2(); + queueNext(); + }); + } + else { // hide the pane without animation + _hidePane(pane); + close_2(); + queueNext(); + }; + }); + + // SUBROUTINE + function close_2 () { + s.isMoving = false; + bindStartSlidingEvent(pane, true); // will enable if o.slidable = true + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane ); + } + + // hide any masks shown while closing + hideMasks(); + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad)) { + // onclose callback - UNLESS just 'showing' a hidden pane as 'closed' + if (!isShowing) _runCallbacks("onclose_end", pane); + // onhide OR onshow callback + if (isShowing) _runCallbacks("onshow_end", pane); + if (isHiding) _runCallbacks("onhide_end", pane); + } + } + } + + /** + * @param {string} pane The pane just closed, ie: north, south, east, or west + */ +, setAsClosed = function (pane) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + ; + $R + .css(side, sC[inset]) // move the resizer + .removeClass( rClass+_open +" "+ rClass+_pane+_open ) + .removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + .addClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .unbind("dblclick."+ sID) + ; + // DISABLE 'resizing' when closed - do this BEFORE bindStartSlidingEvent? + if (o.resizable && $.layout.plugins.draggable) + $R + .draggable("disable") + .removeClass("ui-state-disabled") // do NOT apply disabled styling - not suitable here + .css("cursor", "default") + .attr("title","") + ; + + // if pane has a toggler button, adjust that too + if ($T) { + $T + .removeClass( tClass+_open +" "+ tClass+_pane+_open ) + .addClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .attr("title", o.togglerTip_closed) // may be blank + ; + // toggler-content - if exists + $T.children(".content-open").hide(); + $T.children(".content-closed").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, false); + + if (state.initialized) { + // resize 'length' and position togglers for adjacent panes + sizeHandles(); + } + } + + /** + * Open the specified pane (animation optional), and resize all other panes as needed + * + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [slide=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, open = function (evt_or_pane, slide, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.resizable && !o.closable && !s.isShowing) // invalid request + || (s.isVisible && !s.isSliding) // already open + ) return queueNext(); + + // pane can ALSO be unhidden by just calling show(), so handle this scenario + if (s.isHidden && !s.isShowing) { + queueNext(); // call before show() because it needs the queue free + show(pane, true); + return; + } + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else + // make sure there is enough space available to open the pane + setSizeLimits(pane, slide); + + // onopen_start callback - will CANCEL open if returns false + var cbReturn = _runCallbacks("onopen_start", pane); + + if (cbReturn === "abort") + return queueNext(); + + // update pane-state again in case options were changed in onopen_start + if (cbReturn !== "NC") // NC = "No Callback" + setSizeLimits(pane, slide); + + if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN! + syncPinBtns(pane, false); // make sure pin-buttons are reset + if (!noAlert && o.noRoomToOpenTip) + alert(o.noRoomToOpenTip); + return queueNext(); // ABORT + } + + if (slide) // START Sliding - will set isSliding=true + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead + bindStopSlidingEvents(pane, false); // UNBIND trigger events - will set isSliding=false + else if (o.slidable) + bindStartSlidingEvent(pane, false); // UNBIND trigger events + + s.noRoom = false; // will be reset by makePaneFit if 'noRoom' + makePaneFit(pane); + + // transfer logic var to temp var + isShowing = s.isShowing; + // now clear the logic var + delete s.isShowing; + + doFX = !noAnimation && s.isClosed && (o.fxName_open != "none"); + s.isMoving = true; + s.isVisible = true; + s.isClosed = false; + // update isHidden BEFORE sizing panes - WHY??? Old? + if (isShowing) s.isHidden = false; + + if (doFX) { // ANIMATE + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + if (s.isSliding) masks += ","+ _c.oppositeEdge[pane]; + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.show( o.fxName_open, o.fxSettings_open, o.fxSpeed_open, function() { + lockPaneForFX(pane, false); // undo + if (s.isVisible) open_2(); // continue + queueNext(); + }); + } + else { // no animation + _showPane(pane);// just show pane and... + open_2(); // continue + queueNext(); + }; + }); + + // SUBROUTINE + function open_2 () { + s.isMoving = false; + + // cure iframe display issues + _fixIframe(pane); + + // NOTE: if isSliding, then other panes are NOT 'resized' + if (!s.isSliding) { // resize all panes adjacent to this one + hideMasks(); // remove any masks shown while opening + sizeMidPanes(_c[pane].dir=="vert" ? "center" : "", false); // false = NOT skipCallback + } + + // set classes, position handles and execute callbacks... + setAsOpen(pane); + }; + + } + + /** + * @param {string} pane The pane just opened, ie: north, south, east, or west + * @param {boolean=} [skipCallback=false] + */ +, setAsOpen = function (pane, skipCallback) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _closed = "-closed" + , _sliding= "-sliding" + ; + $R + .css(side, sC[inset] + getPaneSize(pane)) // move the resizer + .removeClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .addClass( rClass+_open +" "+ rClass+_pane+_open ) + ; + if (s.isSliding) + $R.addClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + else // in case 'was sliding' + $R.removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + + if (o.resizerDblClickToggle) + $R.bind("dblclick", toggle ); + removeHover( 0, $R ); // remove hover classes + if (o.resizable && $.layout.plugins.draggable) + $R .draggable("enable") + .css("cursor", o.resizerCursor) + .attr("title", o.resizerTip); + else if (!s.isSliding) + $R.css("cursor", "default"); // n-resize, s-resize, etc + + // if pane also has a toggler button, adjust that too + if ($T) { + $T .removeClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .addClass( tClass+_open +" "+ tClass+_pane+_open ) + .attr("title", o.togglerTip_open); // may be blank + removeHover( 0, $T ); // remove hover classes + // toggler-content - if exists + $T.children(".content-closed").hide(); + $T.children(".content-open").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, !s.isSliding); + + // update pane-state dimensions - BEFORE resizing content + $.extend(s, elDims($P)); + + if (state.initialized) { + // resize resizer & toggler sizes for all panes + sizeHandles(); + // resize content every time pane opens - to be sure + sizeContent(pane, true); // true = remeasure headers/footers, even if 'pane.isMoving' + } + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad) && $P.is(":visible")) { + // onopen callback + _runCallbacks("onopen_end", pane); + // onshow callback - TODO: should this be here? + if (s.isShowing) _runCallbacks("onshow_end", pane); + + // ALSO call onresize because layout-size *may* have changed while pane was closed + if (state.initialized) + _runCallbacks("onresize_end", pane); + } + + // TODO: Somehow sizePane("north") is being called after this point??? + } + + + /** + * slideOpen / slideClose / slideToggle + * + * Pass-though methods for sliding + */ +, slideOpen = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + , delay = options[pane].slideDelay_open + ; + // prevent event from triggering on NEW resizer binding created below + if (evt) evt.stopImmediatePropagation(); + + if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0) + // trigger = mouseenter - use a delay + timer.set(pane+"_openSlider", open_NOW, delay); + else + open_NOW(); // will unbind events if is already open + + /** + * SUBROUTINE for timed open + */ + function open_NOW () { + if (!s.isClosed) // skip if no longer closed! + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (!s.isMoving) + open(pane, true); // true = slide - open() will handle binding + }; + } + +, slideClose = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override + ; + if (s.isClosed || s.isResizing) + return; // skip if already closed OR in process of resizing + else if (o.slideTrigger_close === "click") + close_NOW(); // close immediately onClick + else if (o.preventQuickSlideClose && s.isMoving) + return; // handle Chrome quick-close on slide-open + else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane])) + return; // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + else if (evt) // trigger = mouseleave - use a delay + // 1 sec delay if 'opening', else .3 sec + timer.set(pane+"_closeSlider", close_NOW, max(o.slideDelay_close, delay)); + else // called programically + close_NOW(); + + /** + * SUBROUTINE for timed close + */ + function close_NOW () { + if (s.isClosed) // skip 'close' if already closed! + bindStopSlidingEvents(pane, false); // UNBIND trigger events - TODO: is this needed here? + else if (!s.isMoving) + close(pane); // close will handle unbinding + }; + } + + /** + * @param {string} pane The pane being opened, ie: north, south, east, or west + */ +, slideToggle = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + toggle(pane, true); + } + + + /** + * Must set left/top on East/South panes so animation will work properly + * + * @param {string} pane The pane to lock, 'east' or 'south' - any other is ignored! + * @param {boolean} doLock true = set left/top, false = remove + */ +, lockPaneForFX = function (pane, doLock) { + var $P = $Ps[pane] + , s = state[pane] + , o = options[pane] + , z = options.zIndexes + ; + if (doLock) { + $P.css({ zIndex: z.pane_animate }); // overlay all elements during animation + if (pane=="south") + $P.css({ top: sC.insetTop + sC.innerHeight - $P.outerHeight() }); + else if (pane=="east") + $P.css({ left: sC.insetLeft + sC.innerWidth - $P.outerWidth() }); + } + else { // animation DONE - RESET CSS + // TODO: see if this can be deleted. It causes a quick-close when sliding in Chrome + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + if (pane=="south") + $P.css({ top: "auto" }); + // if pane is positioned 'off-screen', then DO NOT screw with it! + else if (pane=="east" && !$P.css("left").match(/\-99999/)) + $P.css({ left: "auto" }); + // fix anti-aliasing in IE - only needed for animations that change opacity + if (browser.msie && o.fxOpacityFix && o.fxName_open != "slide" && $P.css("filter") && $P.css("opacity") == 1) + $P[0].style.removeAttribute('filter'); + } + } + + + /** + * Toggle sliding functionality of a specific pane on/off by adding removing 'slide open' trigger + * + * @see open(), close() + * @param {string} pane The pane to enable/disable, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable sliding? + */ +, bindStartSlidingEvent = function (pane, enable) { + var o = options[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , evtName = o.slideTrigger_open.toLowerCase() + ; + if (!$R || (enable && !o.slidable)) return; + + // make sure we have a valid event + if (evtName.match(/mouseover/)) + evtName = o.slideTrigger_open = "mouseenter"; + else if (!evtName.match(/click|dblclick|mouseenter/)) + evtName = o.slideTrigger_open = "click"; + + $R + // add or remove event + [enable ? "bind" : "unbind"](evtName +'.'+ sID, slideOpen) + // set the appropriate cursor & title/tip + .css("cursor", enable ? o.sliderCursor : "default") + .attr("title", enable ? o.sliderTip : "") + ; + } + + /** + * Add or remove 'mouseleave' events to 'slide close' when pane is 'sliding' open or closed + * Also increases zIndex when pane is sliding open + * See bindStartSlidingEvent for code to control 'slide open' + * + * @see slideOpen(), slideClose() + * @param {string} pane The pane to process, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable events? + */ +, bindStopSlidingEvents = function (pane, enable) { + var o = options[pane] + , s = state[pane] + , c = _c[pane] + , z = options.zIndexes + , evtName = o.slideTrigger_close.toLowerCase() + , action = (enable ? "bind" : "unbind") + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + s.isSliding = enable; // logic + timer.clear(pane+"_closeSlider"); // just in case + + // remove 'slideOpen' event from resizer + // ALSO will raise the zIndex of the pane & resizer + if (enable) bindStartSlidingEvent(pane, false); + + // RE/SET zIndex - increases when pane is sliding-open, resets to normal when not + $P.css("zIndex", enable ? z.pane_sliding : z.pane_normal); + $R.css("zIndex", enable ? z.pane_sliding+2 : z.resizer_normal); // NOTE: mask = pane_sliding+1 + + // make sure we have a valid event + if (!evtName.match(/click|mouseleave/)) + evtName = o.slideTrigger_close = "mouseleave"; // also catches 'mouseout' + + // add/remove slide triggers + $R[action](evtName, slideClose); // base event on resize + // need extra events for mouseleave + if (evtName === "mouseleave") { + // also close on pane.mouseleave + $P[action]("mouseleave."+ sID, slideClose); + // cancel timer when mouse moves between 'pane' and 'resizer' + $R[action]("mouseenter."+ sID, cancelMouseOut); + $P[action]("mouseenter."+ sID, cancelMouseOut); + } + + if (!enable) + timer.clear(pane+"_closeSlider"); + else if (evtName === "click" && !o.resizable) { + // IF pane is not resizable (which already has a cursor and tip) + // then set the a cursor & title/tip on resizer when sliding + $R.css("cursor", enable ? o.sliderCursor : "default"); + $R.attr("title", enable ? o.togglerTip_open : ""); // use Toggler-tip, eg: "Close Pane" + } + + // SUBROUTINE for mouseleave timer clearing + function cancelMouseOut (evt) { + timer.clear(pane+"_closeSlider"); + evt.stopPropagation(); + } + } + + + /** + * Hides/closes a pane if there is insufficient room - reverses this when there is room again + * MUST have already called setSizeLimits() before calling this method + * + * @param {string} pane The pane being resized + * @param {boolean=} [isOpening=false] Called from onOpen? + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, makePaneFit = function (pane, isOpening, skipCallback, force) { + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isSidePane = c.dir==="vert" + , hasRoom = false + ; + // special handling for center & east/west panes + if (pane === "center" || (isSidePane && s.noVerticalRoom)) { + // see if there is enough room to display the pane + // ERROR: hasRoom = s.minHeight <= s.maxHeight && (isSidePane || s.minWidth <= s.maxWidth); + hasRoom = (s.maxHeight >= 0); + if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now + _showPane(pane); + if ($R) $R.show(); + s.isVisible = true; + s.noRoom = false; + if (isSidePane) s.noVerticalRoom = false; + _fixIframe(pane); + } + else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now + _hidePane(pane); + if ($R) $R.hide(); + s.isVisible = false; + s.noRoom = true; + } + } + + // see if there is enough room to fit the border-pane + if (pane === "center") { + // ignore center in this block + } + else if (s.minSize <= s.maxSize) { // pane CAN fit + hasRoom = true; + if (s.size > s.maxSize) // pane is too big - shrink it + sizePane(pane, s.maxSize, skipCallback, force, true); // true = noAnimation + else if (s.size < s.minSize) // pane is too small - enlarge it + sizePane(pane, s.minSize, skipCallback, force, true); + // need s.isVisible because new pseudoClose method keeps pane visible, but off-screen + else if ($R && s.isVisible && $P.is(":visible")) { + // make sure resizer-bar is positioned correctly + // handles situation where nested layout was 'hidden' when initialized + var side = c.side.toLowerCase() + , pos = s.size + sC["inset"+ c.side] + ; + if ($.layout.cssNum($R, side) != pos) $R.css( side, pos ); + } + + // if was previously hidden due to noRoom, then RESET because NOW there is room + if (s.noRoom) { + // s.noRoom state will be set by open or show + if (s.wasOpen && o.closable) { + if (o.autoReopen) + open(pane, false, true, true); // true = noAnimation, true = noAlert + else // leave the pane closed, so just update state + s.noRoom = false; + } + else + show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert + } + } + else { // !hasRoom - pane CANNOT fit + if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now... + s.noRoom = true; // update state + s.wasOpen = !s.isClosed && !s.isSliding; + if (s.isClosed){} // SKIP + else if (o.closable) // 'close' if possible + close(pane, true, true); // true = force, true = noAnimation + else // 'hide' pane if cannot just be closed + hide(pane, true); // true = noAnimation + } + } + } + + + /** + * sizePane / manualSizePane + * sizePane is called only by internal methods whenever a pane needs to be resized + * manualSizePane is an exposed flow-through method allowing extra code when pane is 'manually resized' + * + * @param {string} pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [noAnimation=false] + */ +, manualSizePane = function (evt_or_pane, size, skipCallback, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + // if resizing callbacks have been delayed and resizing is now DONE, force resizing to complete... + , forceResize = o.livePaneResizing && !s.isResizing + ; + // ANY call to manualSizePane disables autoResize - ie, percentage sizing + o.autoResize = false; + // flow-through... + sizePane(pane, size, skipCallback, forceResize, noAnimation); // will animate resize if option enabled + } + + /** + * @param {string} pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] Force resizing even if does not seem necessary + * @param {boolean=} [noAnimation=false] + */ +, sizePane = function (evt_or_pane, size, skipCallback, force, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) // probably NEVER called from event? + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , side = _c[pane].side.toLowerCase() + , dimName = _c[pane].sizeType.toLowerCase() + , inset = "inset"+ _c[pane].side + , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize + , doFX = noAnimation !== true && o.animatePaneSizing + , oldSize, newSize + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + // calculate 'current' min/max sizes + setSizeLimits(pane); // update pane-state + oldSize = s.size; + size = _parseSize(pane, size); // handle percentages & auto + size = max(size, _parseSize(pane, o.minSize)); + size = min(size, s.maxSize); + if (size < s.minSize) { // not enough room for pane! + queueNext(); // call before makePaneFit() because it needs the queue free + makePaneFit(pane, false, skipCallback); // will hide or close pane + return; + } + + // IF newSize is same as oldSize, then nothing to do - abort + if (!force && size === oldSize) + return queueNext(); + + // onresize_start callback CANNOT cancel resizing because this would break the layout! + if (!skipCallback && state.initialized && s.isVisible) + _runCallbacks("onresize_start", pane); + + // resize the pane, and make sure its visible + newSize = cssSize(pane, size); + + if (doFX && $P.is(":visible")) { // ANIMATE + var fx = $.layout.effects.size[pane] || $.layout.effects.size.all + , easing = o.fxSettings_size.easing || fx.easing + , z = options.zIndexes + , props = {}; + props[ dimName ] = newSize +'px'; + s.isMoving = true; + // overlay all elements during animation + $P.css({ zIndex: z.pane_animate }) + .show().animate( props, o.fxSpeed_size, easing, function(){ + // reset zIndex after animation + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + s.isMoving = false; + sizePane_2(); // continue + queueNext(); + }); + } + else { // no animation + $P.css( dimName, newSize ); // resize pane + // if pane is visible, then + if ($P.is(":visible")) + sizePane_2(); // continue + else { + // pane is NOT VISIBLE, so just update state data... + // when pane is *next opened*, it will have the new size + s.size = size; // update state.size + $.extend(s, elDims($P)); // update state dimensions + } + queueNext(); + }; + + }); + + // SUBROUTINE + function sizePane_2 () { + /* Panes are sometimes not sized precisely in some browsers!? + * This code will resize the pane up to 3 times to nudge the pane to the correct size + */ + var actual = dimName==='width' ? $P.outerWidth() : $P.outerHeight() + , tries = [{ + pane: pane + , count: 1 + , target: size + , actual: actual + , correct: (size === actual) + , attempt: size + , cssSize: newSize + }] + , lastTry = tries[0] + , msg = 'Inaccurate size after resizing the '+ pane +'-pane.' + ; + while ( !lastTry.correct ) { + thisTry = { pane: pane, count: lastTry.count+1, target: size }; + + if (lastTry.actual > size) + thisTry.attempt = max(0, lastTry.attempt - (lastTry.actual - size)); + else // lastTry.actual < size + thisTry.attempt = max(0, lastTry.attempt + (size - lastTry.actual)); + + thisTry.cssSize = cssSize(pane, thisTry.attempt); + $P.css( dimName, thisTry.cssSize ); + + thisTry.actual = dimName=='width' ? $P.outerWidth() : $P.outerHeight(); + thisTry.correct = (size === thisTry.actual); + + // if showDebugMessages, log attempts and alert the user of this *non-fatal error* + if (options.showDebugMessages) { + if ( tries.length === 1) { + _log(msg, false); + _log(lastTry, false); + } + _log(thisTry, false); + } + + // after 4 tries, is as close as its gonna get! + if (tries.length > 3) break; + + tries.push( thisTry ); + lastTry = tries[ tries.length - 1 ]; + } + // END TESTING CODE + + // update pane-state dimensions + s.size = size; + $.extend(s, elDims($P)); + + if (s.isVisible && $P.is(":visible")) { + // reposition the resizer-bar + if ($R) $R.css( side, size + sC[inset] ); + // resize the content-div + sizeContent(pane); + } + + if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible) + _runCallbacks("onresize_end", pane); + + // resize all the adjacent panes, and adjust their toggler buttons + // when skipCallback passed, it means the controlling method will handle 'other panes' + if (!skipCallback) { + // also no callback if live-resize is in progress and NOT triggerEventsDuringLiveResize + if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, force); + sizeHandles(); + } + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (size < oldSize && state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane, false, skipCallback ); + } + + // DEBUG - ALERT user/developer so they know there was a sizing problem + if (options.showDebugMessages && tries.length > 1) + _log(msg +'\nSee the Error Console for details.', true); + } + } + + /** + * @see initPanes(), sizePane(), resizeAll(), open(), close(), hide() + * @param {string} panes The pane(s) being resized, comma-delmited string + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, sizeMidPanes = function (panes, skipCallback, force) { + panes = (panes ? panes : "east,west,center").split(","); + + $.each(panes, function (i, pane) { + if (!$Ps[pane]) return; // NO PANE - skip + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isCenter= (pane=="center") + , hasRoom = true + , CSS = {} + , newCenter = calcNewCenterPaneDims() + ; + // update pane-state dimensions + $.extend(s, elDims($P)); + + if (pane === "center") { + if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // set state for makePaneFit() logic + $.extend(s, cssMinDims(pane), { + maxWidth: newCenter.width + , maxHeight: newCenter.height + }); + CSS = newCenter; + // convert OUTER width/height to CSS width/height + CSS.width = cssW($P, CSS.width); + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, CSS.height); + hasRoom = CSS.width >= 0 && CSS.height >= 0; // height >= 0 = ALWAYS TRUE NOW + // during layout init, try to shrink east/west panes to make room for center + if (!state.initialized && o.minWidth > s.outerWidth) { + var + reqPx = o.minWidth - s.outerWidth + , minE = options.east.minSize || 0 + , minW = options.west.minSize || 0 + , sizeE = state.east.size + , sizeW = state.west.size + , newE = sizeE + , newW = sizeW + ; + if (reqPx > 0 && state.east.isVisible && sizeE > minE) { + newE = max( sizeE-minE, sizeE-reqPx ); + reqPx -= sizeE-newE; + } + if (reqPx > 0 && state.west.isVisible && sizeW > minW) { + newW = max( sizeW-minW, sizeW-reqPx ); + reqPx -= sizeW-newW; + } + // IF we found enough extra space, then resize the border panes as calculated + if (reqPx === 0) { + if (sizeE != minE) + sizePane('east', newE, true, force, true); // true = skipCallback/noAnimation - initPanes will handle when done + if (sizeW != minW) + sizePane('west', newW, true, force, true); + // now start over! + sizeMidPanes('center', skipCallback, force); + return; // abort this loop + } + } + } + else { // for east and west, set only the height, which is same as center height + // set state.min/maxWidth/Height for makePaneFit() logic + if (s.isVisible && !s.noVerticalRoom) + $.extend(s, elDims($P), cssMinDims(pane)) + if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // east/west have same top, bottom & height as center + CSS.top = newCenter.top; + CSS.bottom = newCenter.bottom; + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, newCenter.height); + s.maxHeight = CSS.height; + hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW + if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic + } + + if (hasRoom) { + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_start", pane); + + $P.css(CSS); // apply the CSS to pane + sizeHandles(pane); // also update resizer length + if (s.noRoom && !s.isClosed && !s.isHidden) + makePaneFit(pane); // will re-open/show auto-closed/hidden pane + if (s.isVisible) { + $.extend(s, elDims($P)); // update pane dimensions + if (state.initialized) sizeContent(pane); // also resize the contents, if exists + } + } + else if (!s.noRoom && s.isVisible) // no room for pane + makePaneFit(pane); // will hide or close pane + + if (!s.isVisible) + return true; // DONE - next pane + + /* + * Extra CSS for IE6 or IE7 in Quirks-mode - add 'width' to NORTH/SOUTH panes + * Normally these panes have only 'left' & 'right' positions so pane auto-sizes + * ALSO required when pane is an IFRAME because will NOT default to 'full width' + */ + if (pane === "center") { // finished processing midPanes + var b = $.layout.browser; + var fix = b.isIE6 || (b.msie && !$.support.boxModel); + if ($Ps.north && (fix || state.north.tagName=="IFRAME")) + $Ps.north.css("width", cssW($Ps.north, sC.innerWidth)); + if ($Ps.south && (fix || state.south.tagName=="IFRAME")) + $Ps.south.css("width", cssW($Ps.south, sC.innerWidth)); + } + + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_end", pane); + }); + } + + + /** + * @see window.onresize(), callbacks or custom code + */ +, resizeAll = function () { + if (!state.initialized) { + _initLayoutElements(); + return; // no need to resize since we just initialized! + } + var oldW = sC.innerWidth + , oldH = sC.innerHeight + ; + // cannot size layout when 'container' is hidden or collapsed + if (!$N.is(":visible:") ) return; + $.extend( state.container, elDims( $N ) ); // UPDATE container dimensions + if (!sC.outerHeight) return; + + // onresizeall_start will CANCEL resizing if returns false + // state.container has already been set, so user can access this info for calcuations + if (false === _runCallbacks("onresizeall_start")) return false; + + var // see if container is now 'smaller' than before + shrunkH = (sC.innerHeight < oldH) + , shrunkW = (sC.innerWidth < oldW) + , $P, o, s, dir + ; + // NOTE special order for sizing: S-N-E-W + $.each(["south","north","east","west"], function (i, pane) { + if (!$Ps[pane]) return; // no pane - SKIP + s = state[pane]; + o = options[pane]; + dir = _c[pane].dir; + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else { + setSizeLimits(pane); + makePaneFit(pane, false, true, true); // true=skipCallback/forceResize + } + }); + + sizeMidPanes("", true, true); // true=skipCallback, true=forceResize + sizeHandles(); // reposition the toggler elements + + // trigger all individual pane callbacks AFTER layout has finished resizing + o = options; // reuse alias + $.each(_c.allPanes, function (i, pane) { + $P = $Ps[pane]; + if (!$P) return; // SKIP + if (state[pane].isVisible) // undefined for non-existent panes + _runCallbacks("onresize_end", pane); // callback - if exists + }); + + _runCallbacks("onresizeall_end"); + //_triggerLayoutEvent(pane, 'resizeall'); + } + + /** + * Whenever a pane resizes or opens that has a nested layout, trigger resizeAll + * + * @param {string} pane The pane just resized or opened + */ +, resizeChildLayout = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + if (!options[pane].resizeChildLayout) return; + var $P = $Ps[pane] + , $C = $Cs[pane] + , d = "layout" + , P = Instance[pane] + , L = children[pane] + ; + // user may have manually set EITHER instance pointer, so handle that + if (P.child && !L) { + // have to reverse the pointers! + var el = P.child.container; + L = children[pane] = (el ? el.data(d) : 0) || null; // set pointer _directly_ to layout instance + } + + // if a layout-pointer exists, see if child has been destroyed + if (L && L.destroyed) + L = children[pane] = null; // clear child pointers + // no child layout pointer is set - see if there is a child layout NOW + if (!L) L = children[pane] = $P.data(d) || ($C ? $C.data(d) : 0) || null; // set/update child pointers + + // ALWAYS refresh the pane.child alias + P.child = children[pane]; + + if (L) L.resizeAll(); + } + + + /** + * IF pane has a content-div, then resize all elements inside pane to fit pane-height + * + * @param {string=} [panes=""] The pane(s) being resized + * @param {boolean=} [remeasure=false] Should the content (header/footer) be remeasured? + */ +, sizeContent = function (evt_or_panes, remeasure) { + if (!isInitialized()) return; + + var panes = evtPane.call(this, evt_or_panes); + panes = panes ? panes.split(",") : _c.allPanes; + + $.each(panes, function (idx, pane) { + var + $P = $Ps[pane] + , $C = $Cs[pane] + , o = options[pane] + , s = state[pane] + , m = s.content // m = measurements + ; + if (!$P || !$C || !$P.is(":visible")) return true; // NOT VISIBLE - skip + + // if content-element was REMOVED, update OR remove the pointer + if (!$C.length) { + initContent(pane, false); // false = do NOT sizeContent() - already there! + if (!$C) return; // no replacement element found - pointer have been removed + } + + // onsizecontent_start will CANCEL resizing if returns false + if (false === _runCallbacks("onsizecontent_start", pane)) return; + + // skip re-measuring offsets if live-resizing + if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) { + _measure(); + // if any footers are below pane-bottom, they may not measure correctly, + // so allow pane overflow and re-measure + if (m.hiddenFooters > 0 && $P.css("overflow") === "hidden") { + $P.css("overflow", "visible"); + _measure(); // remeasure while overflowing + $P.css("overflow", "hidden"); + } + } + // NOTE: spaceAbove/Below *includes* the pane paddingTop/Bottom, but not pane.borders + var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom); + + if (!$C.is(":visible") || m.height != newH) { + // size the Content element to fit new pane-size - will autoHide if not enough room + setOuterHeight($C, newH, true); // true=autoHide + m.height = newH; // save new height + }; + + if (state.initialized) + _runCallbacks("onsizecontent_end", pane); + + function _below ($E) { + return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0)); + }; + + function _measure () { + var + ignore = options[pane].contentIgnoreSelector + , $Fs = $C.nextAll().not(ignore || ':lt(0)') // not :lt(0) = ALL + , $Fs_vis = $Fs.filter(':visible') + , $F = $Fs_vis.filter(':last') + ; + m = { + top: $C[0].offsetTop + , height: $C.outerHeight() + , numFooters: $Fs.length + , hiddenFooters: $Fs.length - $Fs_vis.length + , spaceBelow: 0 // correct if no content footer ($E) + } + m.spaceAbove = m.top; // just for state - not used in calc + m.bottom = m.top + m.height; + if ($F.length) + //spaceBelow = (LastFooter.top + LastFooter.height) [footerBottom] - Content.bottom + max(LastFooter.marginBottom, pane.paddingBotom) + m.spaceBelow = ($F[0].offsetTop + $F.outerHeight()) - m.bottom + _below($F); + else // no footer - check marginBottom on Content element itself + m.spaceBelow = _below($C); + }; + }); + } + + + /** + * Called every time a pane is opened, closed, or resized to slide the togglers to 'center' and adjust their length if necessary + * + * @see initHandles(), open(), close(), resizeAll() + * @param {string=} [panes=""] The pane(s) being resized + */ +, sizeHandles = function (evt_or_panes) { + var panes = evtPane.call(this, evt_or_panes) + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (i, pane) { + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , $TC + ; + if (!$P || !$R) return; + + var + dir = _c[pane].dir + , _state = (s.isClosed ? "_closed" : "_open") + , spacing = o["spacing"+ _state] + , togAlign = o["togglerAlign"+ _state] + , togLen = o["togglerLength"+ _state] + , paneLen + , left + , offset + , CSS = {} + ; + + if (spacing === 0) { + $R.hide(); + return; + } + else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason + $R.show(); // in case was previously hidden + + // Resizer Bar is ALWAYS same width/height of pane it is attached to + if (dir === "horz") { // north/south + //paneLen = $P.outerWidth(); // s.outerWidth || + paneLen = sC.innerWidth; // handle offscreen-panes + s.resizerLength = paneLen; + left = $.layout.cssNum($P, "left") + $R.css({ + width: cssW($R, paneLen) // account for borders & padding + , height: cssH($R, spacing) // ditto + , left: left > -9999 ? left : sC.insetLeft // handle offscreen-panes + }); + } + else { // east/west + paneLen = $P.outerHeight(); // s.outerHeight || + s.resizerLength = paneLen; + $R.css({ + height: cssH($R, paneLen) // account for borders & padding + , width: cssW($R, spacing) // ditto + , top: sC.insetTop + getPaneSize("north", true) // TODO: what if no North pane? + //, top: $.layout.cssNum($Ps["center"], "top") + }); + } + + // remove hover classes + removeHover( o, $R ); + + if ($T) { + if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) { + $T.hide(); // always HIDE the toggler when 'sliding' + return; + } + else + $T.show(); // in case was previously hidden + + if (!(togLen > 0) || togLen === "100%" || togLen > paneLen) { + togLen = paneLen; + offset = 0; + } + else { // calculate 'offset' based on options.PANE.togglerAlign_open/closed + if (isStr(togAlign)) { + switch (togAlign) { + case "top": + case "left": offset = 0; + break; + case "bottom": + case "right": offset = paneLen - togLen; + break; + case "middle": + case "center": + default: offset = round((paneLen - togLen) / 2); // 'default' catches typos + } + } + else { // togAlign = number + var x = parseInt(togAlign, 10); // + if (togAlign >= 0) offset = x; + else offset = paneLen - togLen + x; // NOTE: x is negative! + } + } + + if (dir === "horz") { // north/south + var width = cssW($T, togLen); + $T.css({ + width: width // account for borders & padding + , height: cssH($T, spacing) // ditto + , left: offset // TODO: VERIFY that toggler positions correctly for ALL values + , top: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginLeft", round((width-$TC.outerWidth())/2)); // could be negative + }); + } + else { // east/west + var height = cssH($T, togLen); + $T.css({ + height: height // account for borders & padding + , width: cssW($T, spacing) // ditto + , top: offset // POSITION the toggler + , left: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginTop", round((height-$TC.outerHeight())/2)); // could be negative + }); + } + + // remove ALL hover classes + removeHover( 0, $T ); + } + + // DONE measuring and sizing this resizer/toggler, so can be 'hidden' now + if (!state.initialized && (o.initHidden || s.noRoom)) { + $R.hide(); + if ($T) $T.hide(); + } + }); + } + + + /** + * @param {string} pane + */ +, enableClosable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + , o = options[pane] + ; + if (!$T) return; + o.closable = true; + $T .bind("click."+ sID, function(evt){ evt.stopPropagation(); toggle(pane); }) + .css("visibility", "visible") + .css("cursor", "pointer") + .attr("title", state[pane].isClosed ? o.togglerTip_closed : o.togglerTip_open) // may be blank + .show(); + } + /** + * @param {string} pane + * @param {boolean=} [hide=false] + */ +, disableClosable = function (evt_or_pane, hide) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + ; + if (!$T) return; + options[pane].closable = false; + // is closable is disable, then pane MUST be open! + if (state[pane].isClosed) open(pane, false, true); + $T .unbind("."+ sID) + .css("visibility", hide ? "hidden" : "visible") // instead of hide(), which creates logic issues + .css("cursor", "default") + .attr("title", ""); + } + + + /** + * @param {string} pane + */ +, enableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].slidable = true; + if (s.isClosed) + bindStartSlidingEvent(pane, true); + } + /** + * @param {string} pane + */ +, disableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R) return; + options[pane].slidable = false; + if (state[pane].isSliding) + close(pane, false, true); + else { + bindStartSlidingEvent(pane, false); + $R .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + } + + + /** + * @param {string} pane + */ +, enableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + , o = options[pane] + ; + if (!$R || !$R.data('draggable')) return; + o.resizable = true; + $R.draggable("enable"); + if (!state[pane].isClosed) + $R .css("cursor", o.resizerCursor) + .attr("title", o.resizerTip); + } + /** + * @param {string} pane + */ +, disableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].resizable = false; + $R .draggable("disable") + .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + + + /** + * Move a pane from source-side (eg, west) to target-side (eg, east) + * If pane exists on target-side, move that to source-side, ie, 'swap' the panes + * + * @param {string} pane1 The pane/edge being swapped + * @param {string} pane2 ditto + */ +, swapPanes = function (evt_or_pane1, pane2) { + if (!isInitialized()) return; + var pane1 = evtPane.call(this, evt_or_pane1); + // change state.edge NOW so callbacks can know where pane is headed... + state[pane1].edge = pane2; + state[pane2].edge = pane1; + // run these even if NOT state.initialized + if (false === _runCallbacks("onswap_start", pane1) + || false === _runCallbacks("onswap_start", pane2) + ) { + state[pane1].edge = pane1; // reset + state[pane2].edge = pane2; + return; + } + + var + oPane1 = copy( pane1 ) + , oPane2 = copy( pane2 ) + , sizes = {} + ; + sizes[pane1] = oPane1 ? oPane1.state.size : 0; + sizes[pane2] = oPane2 ? oPane2.state.size : 0; + + // clear pointers & state + $Ps[pane1] = false; + $Ps[pane2] = false; + state[pane1] = {}; + state[pane2] = {}; + + // ALWAYS remove the resizer & toggler elements + if ($Ts[pane1]) $Ts[pane1].remove(); + if ($Ts[pane2]) $Ts[pane2].remove(); + if ($Rs[pane1]) $Rs[pane1].remove(); + if ($Rs[pane2]) $Rs[pane2].remove(); + $Rs[pane1] = $Rs[pane2] = $Ts[pane1] = $Ts[pane2] = false; + + // transfer element pointers and data to NEW Layout keys + move( oPane1, pane2 ); + move( oPane2, pane1 ); + + // cleanup objects + oPane1 = oPane2 = sizes = null; + + // make panes 'visible' again + if ($Ps[pane1]) $Ps[pane1].css(_c.visible); + if ($Ps[pane2]) $Ps[pane2].css(_c.visible); + + // fix any size discrepancies caused by swap + resizeAll(); + + // run these even if NOT state.initialized + _runCallbacks("onswap_end", pane1); + _runCallbacks("onswap_end", pane2); + + return; + + function copy (n) { // n = pane + var + $P = $Ps[n] + , $C = $Cs[n] + ; + return !$P ? false : { + pane: n + , P: $P ? $P[0] : false + , C: $C ? $C[0] : false + , state: $.extend(true, {}, state[n]) + , options: $.extend(true, {}, options[n]) + } + }; + + function move (oPane, pane) { + if (!oPane) return; + var + P = oPane.P + , C = oPane.C + , oldPane = oPane.pane + , c = _c[pane] + , side = c.side.toLowerCase() + , inset = "inset"+ c.side + // save pane-options that should be retained + , s = $.extend({}, state[pane]) + , o = options[pane] + // RETAIN side-specific FX Settings - more below + , fx = { resizerCursor: o.resizerCursor } + , re, size, pos + ; + $.each("fxName,fxSpeed,fxSettings".split(","), function (i, k) { + fx[k +"_open"] = o[k +"_open"]; + fx[k +"_close"] = o[k +"_close"]; + fx[k +"_size"] = o[k +"_size"]; + }); + + // update object pointers and attributes + $Ps[pane] = $(P) + .data({ + layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + }) + .css(_c.hidden) + .css(c.cssReq) + ; + $Cs[pane] = C ? $(C) : false; + + // set options and state + options[pane] = $.extend({}, oPane.options, fx); + state[pane] = $.extend({}, oPane.state); + + // change classNames on the pane, eg: ui-layout-pane-east ==> ui-layout-pane-west + re = new RegExp(o.paneClass +"-"+ oldPane, "g"); + P.className = P.className.replace(re, o.paneClass +"-"+ pane); + + // ALWAYS regenerate the resizer & toggler elements + initHandles(pane); // create the required resizer & toggler + + // if moving to different orientation, then keep 'target' pane size + if (c.dir != _c[oldPane].dir) { + size = sizes[pane] || 0; + setSizeLimits(pane); // update pane-state + size = max(size, state[pane].minSize); + // use manualSizePane to disable autoResize - not useful after panes are swapped + manualSizePane(pane, size, true, true); // true/true = skipCallback/noAnimation + } + else // move the resizer here + $Rs[pane].css(side, sC[inset] + (state[pane].isVisible ? getPaneSize(pane) : 0)); + + + // ADD CLASSNAMES & SLIDE-BINDINGS + if (oPane.state.isVisible && !s.isVisible) + setAsOpen(pane, true); // true = skipCallback + else { + setAsClosed(pane); + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + // DESTROY the object + oPane = null; + }; + } + + + /** + * INTERNAL method to sync pin-buttons when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), setAsOpen(), setAsClosed() + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns = function (pane, doPin) { + if ($.layout.plugins.buttons) + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(Instance, $(selector), pane, doPin); + }); + } + +; // END var DECLARATIONS + + /** + * Capture keys when enableCursorHotkey - toggle pane if hotkey pressed + * + * @see document.keydown() + */ + function keyDown (evt) { + if (!evt) return true; + var code = evt.keyCode; + if (code < 33) return true; // ignore special keys: ENTER, TAB, etc + + var + PANE = { + 38: "north" // Up Cursor - $.ui.keyCode.UP + , 40: "south" // Down Cursor - $.ui.keyCode.DOWN + , 37: "west" // Left Cursor - $.ui.keyCode.LEFT + , 39: "east" // Right Cursor - $.ui.keyCode.RIGHT + } + , ALT = evt.altKey // no worky! + , SHIFT = evt.shiftKey + , CTRL = evt.ctrlKey + , CURSOR = (CTRL && code >= 37 && code <= 40) + , o, k, m, pane + ; + + if (CURSOR && options[PANE[code]].enableCursorHotkey) // valid cursor-hotkey + pane = PANE[code]; + else if (CTRL || SHIFT) // check to see if this matches a custom-hotkey + $.each(_c.borderPanes, function (i, p) { // loop each pane to check its hotkey + o = options[p]; + k = o.customHotkey; + m = o.customHotkeyModifier; // if missing or invalid, treated as "CTRL+SHIFT" + if ((SHIFT && m=="SHIFT") || (CTRL && m=="CTRL") || (CTRL && SHIFT)) { // Modifier matches + if (k && code === (isNaN(k) || k <= 9 ? k.toUpperCase().charCodeAt(0) : k)) { // Key matches + pane = p; + return false; // BREAK + } + } + }); + + // validate pane + if (!pane || !$Ps[pane] || !options[pane].closable || state[pane].isHidden) + return true; + + toggle(pane); + + evt.stopPropagation(); + evt.returnValue = false; // CANCEL key + return false; + }; + + +/* + * ###################################### + * UTILITY METHODS + * called externally or by initButtons + * ###################################### + */ + + /** + * Change/reset a pane overflow setting & zIndex to allow popups/drop-downs to work + * + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function allowOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + ; + + // if pane is already raised, then reset it before doing it again! + // this would happen if allowOverflow is attached to BOTH the pane and an element + if (s.cssSaved) + resetOverflow(pane); // reset previous CSS before continuing + + // if pane is raised by sliding or resizing, or its closed, then abort + if (s.isSliding || s.isResizing || s.isClosed) { + s.cssSaved = false; + return; + } + + var + newCSS = { zIndex: (options.zIndexes.resizer_normal + 1) } + , curCSS = {} + , of = $P.css("overflow") + , ofX = $P.css("overflowX") + , ofY = $P.css("overflowY") + ; + // determine which, if any, overflow settings need to be changed + if (of != "visible") { + curCSS.overflow = of; + newCSS.overflow = "visible"; + } + if (ofX && !ofX.match(/visible|auto/)) { + curCSS.overflowX = ofX; + newCSS.overflowX = "visible"; + } + if (ofY && !ofY.match(/visible|auto/)) { + curCSS.overflowY = ofX; + newCSS.overflowY = "visible"; + } + + // save the current overflow settings - even if blank! + s.cssSaved = curCSS; + + // apply new CSS to raise zIndex and, if necessary, make overflow 'visible' + $P.css( newCSS ); + + // make sure the zIndex of all other panes is normal + $.each(_c.allPanes, function(i, p) { + if (p != pane) resetOverflow(p); + }); + + }; + /** + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function resetOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + , CSS = s.cssSaved || {} + ; + // reset the zIndex + if (!s.isSliding && !s.isResizing) + $P.css("zIndex", options.zIndexes.pane_normal); + + // reset Overflow - if necessary + $P.css( CSS ); + + // clear var + s.cssSaved = false; + }; + +/* + * ##################### + * CREATE/RETURN LAYOUT + * ##################### + */ + + // validate that container exists + var $N = $(this).eq(0); // FIRST matching Container element + if (!$N.length) { + if (options.showErrorMessages) + _log( lang.errContainerMissing, true ); + return null; + }; + + // Users retrieve Instance of a layout with: $N.layout() OR $N.data("layout") + // return the Instance-pointer if layout has already been initialized + if ($N.data("layoutContainer") && $N.data("layout")) + return $N.data("layout"); // cached pointer + + // init global vars + var + $Ps = {} // Panes x5 - set in initPanes() + , $Cs = {} // Content x5 - set in initPanes() + , $Rs = {} // Resizers x4 - set in initHandles() + , $Ts = {} // Togglers x4 - set in initHandles() + , $Ms = $([]) // Masks - up to 2 masks per pane (IFRAME + DIV) + // aliases for code brevity + , sC = state.container // alias for easy access to 'container dimensions' + , sID = state.id // alias for unique layout ID/namespace - eg: "layout435" + ; + + // create Instance object to expose data & option Properties, and primary action Methods + var Instance = { + // layout data + options: options // property - options hash + , state: state // property - dimensions hash + // object pointers + , container: $N // property - object pointers for layout container + , panes: $Ps // property - object pointers for ALL Panes: panes.north, panes.center + , contents: $Cs // property - object pointers for ALL Content: contents.north, contents.center + , resizers: $Rs // property - object pointers for ALL Resizers, eg: resizers.north + , togglers: $Ts // property - object pointers for ALL Togglers, eg: togglers.north + // border-pane open/close + , hide: hide // method - ditto + , show: show // method - ditto + , toggle: toggle // method - pass a 'pane' ("north", "west", etc) + , open: open // method - ditto + , close: close // method - ditto + , slideOpen: slideOpen // method - ditto + , slideClose: slideClose // method - ditto + , slideToggle: slideToggle // method - ditto + // pane actions + , setSizeLimits: setSizeLimits // method - pass a 'pane' - update state min/max data + , _sizePane: sizePane // method -intended for user by plugins only! + , sizePane: manualSizePane // method - pass a 'pane' AND an 'outer-size' in pixels or percent, or 'auto' + , sizeContent: sizeContent // method - pass a 'pane' + , swapPanes: swapPanes // method - pass TWO 'panes' - will swap them + // pane element methods + , initContent: initContent // method - ditto + , addPane: addPane // method - pass a 'pane' + , removePane: removePane // method - pass a 'pane' to remove from layout, add 'true' to delete the pane-elem + , createChildLayout: createChildLayout// method - pass a 'pane' and (optional) layout-options (OVERRIDES options[pane].childOptions + // special pane option setting + , enableClosable: enableClosable // method - pass a 'pane' + , disableClosable: disableClosable // method - ditto + , enableSlidable: enableSlidable // method - ditto + , disableSlidable: disableSlidable // method - ditto + , enableResizable: enableResizable // method - ditto + , disableResizable: disableResizable// method - ditto + // utility methods for panes + , allowOverflow: allowOverflow // utility - pass calling element (this) + , resetOverflow: resetOverflow // utility - ditto + // layout control + , destroy: destroy // method - no parameters + , initPanes: isInitialized // method - no parameters + , resizeAll: resizeAll // method - no parameters + // callback triggering + , runCallbacks: _runCallbacks // method - pass evtName & pane (if a pane-event), eg: trigger("onopen", "west") + // alias collections of options, state and children - created in addPane and extended elsewhere + , hasParentLayout: false // set by initContainer() + , children: children // pointers to child-layouts, eg: Instance.children["west"] + , north: false // alias group: { name: pane, pane: $Ps[pane], options: options[pane], state: state[pane], child: children[pane] } + , south: false // ditto + , west: false // ditto + , east: false // ditto + , center: false // ditto + }; + + // create the border layout NOW + if (_create() === 'cancel') // onload_start callback returned false to CANCEL layout creation + return null; + else // true OR false -- if layout-elements did NOT init (hidden or do not exist), can auto-init later + return Instance; // return the Instance object + +} + + + + +/** + * jquery.layout.state 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * @dependancies: $.ui.cookie (above) + * + * @support: http://groups.google.com/group/jquery-ui-layout + */ +/* + * State-management options stored in options.stateManagement, which includes a .cookie hash + * Default options saves ALL KEYS for ALL PANES, ie: pane.size, pane.isClosed, pane.isHidden + * + * // STATE/COOKIE OPTIONS + * @example $(el).layout({ + stateManagement: { + enabled: true + , stateKeys: "east.size,west.size,east.isClosed,west.isClosed" + , cookie: { name: "appLayout", path: "/" } + } + }) + * @example $(el).layout({ stateManagement__enabled: true }) // enable auto-state-management using cookies + * @example $(el).layout({ stateManagement__cookie: { name: "appLayout", path: "/" } }) + * @example $(el).layout({ stateManagement__cookie__name: "appLayout", stateManagement__cookie__path: "/" }) + * + * // STATE/COOKIE METHODS + * @example myLayout.saveCookie( "west.isClosed,north.size,south.isHidden", {expires: 7} ); + * @example myLayout.loadCookie(); + * @example myLayout.deleteCookie(); + * @example var JSON = myLayout.readState(); // CURRENT Layout State + * @example var JSON = myLayout.readCookie(); // SAVED Layout State (from cookie) + * @example var JSON = myLayout.state.stateData; // LAST LOADED Layout State (cookie saved in layout.state hash) + * + * CUSTOM STATE-MANAGEMENT (eg, saved in a database) + * @example var JSON = myLayout.readState( "west.isClosed,north.size,south.isHidden" ); + * @example myLayout.loadState( JSON ); + */ + +/** + * UI COOKIE UTILITY + * + * A $.cookie OR $.ui.cookie namespace *should be standard*, but until then... + * This creates $.ui.cookie so Layout does not need the cookie.jquery.js plugin + * NOTE: This utility is REQUIRED by the layout.state plugin + * + * Cookie methods in Layout are created as part of State Management + */ +if (!$.ui) $.ui = {}; +$.ui.cookie = { + + // cookieEnabled is not in DOM specs, but DOES works in all browsers,including IE6 + acceptsCookies: !!navigator.cookieEnabled + +, read: function (name) { + var + c = document.cookie + , cs = c ? c.split(';') : [] + , pair // loop var + ; + for (var i=0, n=cs.length; i < n; i++) { + pair = $.trim(cs[i]).split('='); // name=value pair + if (pair[0] == name) // found the layout cookie + return decodeURIComponent(pair[1]); + + } + return null; + } + +, write: function (name, val, cookieOpts) { + var + params = '' + , date = '' + , clear = false + , o = cookieOpts || {} + , x = o.expires + ; + if (x && x.toUTCString) + date = x; + else if (x === null || typeof x === 'number') { + date = new Date(); + if (x > 0) + date.setDate(date.getDate() + x); + else { + date.setFullYear(1970); + clear = true; + } + } + if (date) params += ';expires='+ date.toUTCString(); + if (o.path) params += ';path='+ o.path; + if (o.domain) params += ';domain='+ o.domain; + if (o.secure) params += ';secure'; + document.cookie = name +'='+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie + } + +, clear: function (name) { + $.ui.cookie.write(name, '', {expires: -1}); + } + +}; +// if cookie.jquery.js is not loaded, create an alias to replicate it +// this may be useful to other plugins or code dependent on that plugin +if (!$.cookie) $.cookie = function (k, v, o) { + var C = $.ui.cookie; + if (v === null) + C.clear(k); + else if (v === undefined) + return C.read(k); + else + C.write(k, v, o); +}; + + +// tell Layout that the state plugin is available +$.layout.plugins.stateManagement = true; + +// Add State-Management options to layout.defaults +$.layout.config.optionRootKeys.push("stateManagement"); +$.layout.defaults.stateManagement = { + enabled: false // true = enable state-management, even if not using cookies +, autoSave: true // Save a state-cookie when page exits? +, autoLoad: true // Load the state-cookie when Layout inits? + // List state-data to save - must be pane-specific +, stateKeys: "north.size,south.size,east.size,west.size,"+ + "north.isClosed,south.isClosed,east.isClosed,west.isClosed,"+ + "north.isHidden,south.isHidden,east.isHidden,west.isHidden" +, cookie: { + name: "" // If not specified, will use Layout.name, else just "Layout" + , domain: "" // blank = current domain + , path: "" // blank = current page, '/' = entire website + , expires: "" // 'days' to keep cookie - leave blank for 'session cookie' + , secure: false + } +}; +// Set stateManagement as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("stateManagement"); + +/* + * State Management methods + */ +$.layout.state = { + + /** + * Get the current layout state and save it to a cookie + * + * myLayout.saveCookie( keys, cookieOpts ) + * + * @param {Object} inst + * @param {(string|Array)=} keys + * @param {Object=} opts + */ + saveCookie: function (inst, keys, cookieOpts) { + var o = inst.options + , oS = o.stateManagement + , oC = $.extend(true, {}, oS.cookie, cookieOpts || null) + , data = inst.state.stateData = inst.readState( keys || oS.stateKeys ) // read current panes-state + ; + $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC ); + return $.extend(true, {}, data); // return COPY of state.stateData data + } + + /** + * Remove the state cookie + * + * @param {Object} inst + */ +, deleteCookie: function (inst) { + var o = inst.options; + $.ui.cookie.clear( o.stateManagement.cookie.name || o.name || "Layout" ); + } + + /** + * Read & return data from the cookie - as JSON + * + * @param {Object} inst + */ +, readCookie: function (inst) { + var o = inst.options; + var c = $.ui.cookie.read( o.stateManagement.cookie.name || o.name || "Layout" ); + // convert cookie string back to a hash and return it + return c ? $.layout.state.decodeJSON(c) : {}; + } + + /** + * Get data from the cookie and USE IT to loadState + * + * @param {Object} inst + */ +, loadCookie: function (inst) { + var c = $.layout.state.readCookie(inst); // READ the cookie + if (c) { + inst.state.stateData = $.extend(true, {}, c); // SET state.stateData + inst.loadState(c); // LOAD the retrieved state + } + return c; + } + + /** + * Update layout options from the cookie, if one exists + * + * @param {Object} inst + * @param {Object=} stateData + * @param {boolean=} animate + */ +, loadState: function (inst, stateData, animate) { + stateData = $.layout.transformData( stateData ); // panes = default subkey + if ($.isEmptyObject( stateData )) return; + $.extend(true, inst.options, stateData); // update layout options + // if layout has already been initialized, then UPDATE layout state + if (inst.state.initialized) { + var pane, vis, o, s, h, c + , noAnimate = (animate===false) + ; + $.each($.layout.config.borderPanes, function (idx, pane) { + state = inst.state[pane]; + o = stateData[ pane ]; + if (typeof o != 'object') return; // no key, continue + s = o.size; + c = o.initClosed; + h = o.initHidden; + vis = state.isVisible; + // resize BEFORE opening + if (!vis) + inst.sizePane(pane, s, false, false); + if (h === true) inst.hide(pane, noAnimate); + else if (c === false) inst.open (pane, false, noAnimate); + else if (c === true) inst.close(pane, false, noAnimate); + else if (h === false) inst.show (pane, false, noAnimate); + // resize AFTER any other actions + if (vis) + inst.sizePane(pane, s, false, noAnimate); // animate resize if option passed + }); + }; + } + + /** + * Get the *current layout state* and return it as a hash + * + * @param {Object=} inst + * @param {(string|Array)=} keys + */ +, readState: function (inst, keys) { + var + data = {} + , alt = { isClosed: 'initClosed', isHidden: 'initHidden' } + , state = inst.state + , panes = $.layout.config.allPanes + , pair, pane, key, val + ; + if (!keys) keys = inst.options.stateManagement.stateKeys; // if called by user + if ($.isArray(keys)) keys = keys.join(","); + // convert keys to an array and change delimiters from '__' to '.' + keys = keys.replace(/__/g, ".").split(','); + // loop keys and create a data hash + for (var i=0, n=keys.length; i < n; i++) { + pair = keys[i].split("."); + pane = pair[0]; + key = pair[1]; + if ($.inArray(pane, panes) < 0) continue; // bad pane! + val = state[ pane ][ key ]; + if (val == undefined) continue; + if (key=="isClosed" && state[pane]["isSliding"]) + val = true; // if sliding, then *really* isClosed + ( data[pane] || (data[pane]={}) )[ alt[key] ? alt[key] : key ] = val; + } + return data; + } + + /** + * Stringify a JSON hash so can save in a cookie or db-field + */ +, encodeJSON: function (JSON) { + return parse(JSON); + function parse (h) { + var D=[], i=0, k, v, t; // k = key, v = value + for (k in h) { + v = h[k]; + t = typeof v; + if (t == 'string') // STRING - add quotes + v = '"'+ v +'"'; + else if (t == 'object') // SUB-KEY - recurse into it + v = parse(v); + D[i++] = '"'+ k +'":'+ v; + } + return '{'+ D.join(',') +'}'; + }; + } + + /** + * Convert stringified JSON back to a hash object + * @see $.parseJSON(), adding in jQuery 1.4.1 + */ +, decodeJSON: function (str) { + try { return $.parseJSON ? $.parseJSON(str) : window["eval"]("("+ str +")") || {}; } + catch (e) { return {}; } + } + + +, _create: function (inst) { + var _ = $.layout.state; + // ADD State-Management plugin methods to inst + $.extend( inst, { + // readCookie - update options from cookie - returns hash of cookie data + readCookie: function () { return _.readCookie(inst); } + // deleteCookie + , deleteCookie: function () { _.deleteCookie(inst); } + // saveCookie - optionally pass keys-list and cookie-options (hash) + , saveCookie: function (keys, cookieOpts) { return _.saveCookie(inst, keys, cookieOpts); } + // loadCookie - readCookie and use to loadState() - returns hash of cookie data + , loadCookie: function () { return _.loadCookie(inst); } + // loadState - pass a hash of state to use to update options + , loadState: function (stateData, animate) { _.loadState(inst, stateData, animate); } + // readState - returns hash of current layout-state + , readState: function (keys) { return _.readState(inst, keys); } + // add JSON utility methods too... + , encodeJSON: _.encodeJSON + , decodeJSON: _.decodeJSON + }); + + // init state.stateData key, even if plugin is initially disabled + inst.state.stateData = {}; + + // read and load cookie-data per options + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoLoad) // update the options from the cookie + inst.loadCookie(); + else // don't modify options - just store cookie data in state.stateData + inst.state.stateData = inst.readCookie(); + } + } + +, _unload: function (inst) { + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoSave) // save a state-cookie automatically + inst.saveCookie(); + else // don't save a cookie, but do store state-data in state.stateData key + inst.state.stateData = inst.readState(); + } + } + +}; + +// add state initialization method to Layout's onCreate array of functions +$.layout.onCreate.push( $.layout.state._create ); +$.layout.onUnload.push( $.layout.state._unload ); + + + + +/** + * jquery.layout.buttons 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * Docs: [ to come ] + * Tips: [ to come ] + */ + +// tell Layout that the state plugin is available +$.layout.plugins.buttons = true; + +// Add buttons options to layout.defaults +$.layout.defaults.autoBindCustomButtons = false; +// Specify autoBindCustomButtons as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("autoBindCustomButtons"); + +var lang = $.layout.language; + +/* + * Button methods + */ +$.layout.buttons = { + + /** + * Searches for .ui-layout-button-xxx elements and auto-binds them as layout-buttons + * + * @see _create() + * + * @param {Object} inst Layout Instance object + */ + init: function (inst) { + var pre = "ui-layout-button-" + , layout = inst.options.name || "" + , name; + $.each("toggle,open,close,pin,toggle-slide,open-slide".split(","), function (i, action) { + $.each($.layout.config.borderPanes, function (ii, pane) { + $("."+pre+action+"-"+pane).each(function(){ + // if button was previously 'bound', data.layoutName was set, but is blank if layout has no 'name' + name = $(this).data("layoutName") || $(this).attr("layoutName"); + if (name == undefined || name === layout) + inst.bindButton(this, action, pane); + }); + }); + }); + } + + /** + * Helper function to validate params received by addButton utilities + * + * Two classes are added to the element, based on the buttonClass... + * The type of button is appended to create the 2nd className: + * - ui-layout-button-pin // action btnClass + * - ui-layout-button-pin-west // action btnClass + pane + * - ui-layout-button-toggle + * - ui-layout-button-open + * - ui-layout-button-close + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * + * @return {Array.} If both params valid, the element matching 'selector' in a jQuery wrapper - otherwise returns null + */ +, get: function (inst, selector, pane, action) { + var $E = $(selector) + , o = inst.options + , err = o.showErrorMessages + ; + if (!$E.length) { // element not found + if (err) $.layout.msg(lang.errButton + lang.selector +": "+ selector, true); + } + else if ($.inArray(pane, $.layout.config.borderPanes) < 0) { // invalid 'pane' sepecified + if (err) $.layout.msg(lang.errButton + lang.pane +": "+ pane, true); + $E = $(""); // NO BUTTON + } + else { // VALID + var btn = o[pane].buttonClass +"-"+ action; + $E .addClass( btn +" "+ btn +"-"+ pane ) + .data("layoutName", o.name); // add layout identifier - even if blank! + } + return $E; + } + + + /** + * NEW syntax for binding layout-buttons - will eventually replace addToggle, addOpen, etc. + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} action + * @param {string} pane + */ +, bind: function (inst, selector, action, pane) { + var _ = $.layout.buttons; + switch (action.toLowerCase()) { + case "toggle": _.addToggle (inst, selector, pane); break; + case "open": _.addOpen (inst, selector, pane); break; + case "close": _.addClose (inst, selector, pane); break; + case "pin": _.addPin (inst, selector, pane); break; + case "toggle-slide": _.addToggle (inst, selector, pane, true); break; + case "open-slide": _.addOpen (inst, selector, pane, true); break; + } + return inst; + } + + /** + * Add a custom Toggler button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addToggle: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "toggle") + .click(function(evt){ + inst.toggle(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Open button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addOpen: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "open") + .attr("title", lang.Open) + .click(function (evt) { + inst.open(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Close button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + */ +, addClose: function (inst, selector, pane) { + $.layout.buttons.get(inst, selector, pane, "close") + .attr("title", lang.Close) + .click(function (evt) { + inst.close(pane); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Pin button for a pane + * + * Four classes are added to the element, based on the paneClass for the associated pane... + * Assuming the default paneClass and the pin is 'up', these classes are added for a west-pane pin: + * - ui-layout-pane-pin + * - ui-layout-pane-west-pin + * - ui-layout-pane-pin-up + * - ui-layout-pane-west-pin-up + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the pin is for: 'north', 'south', etc. + */ +, addPin: function (inst, selector, pane) { + var _ = $.layout.buttons + , $E = _.get(inst, selector, pane, "pin"); + if ($E.length) { + var s = inst.state[pane]; + $E.click(function (evt) { + _.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed)); + if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open + else inst.close( pane ); // slide-closed + evt.stopPropagation(); + }); + // add up/down pin attributes and classes + _.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding)); + // add this pin to the pane data so we can 'sync it' automatically + // PANE.pins key is an array so we can store multiple pins for each pane + s.pins.push( selector ); // just save the selector string + } + return inst; + } + + /** + * Change the class of the pin button to make it look 'up' or 'down' + * + * @see addPin(), syncPins() + * + * @param {Object} inst Layout Instance object + * @param {Array.} $Pin The pin-span element in a jQuery wrapper + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin true = set the pin 'down', false = set it 'up' + */ +, setPinState: function (inst, $Pin, pane, doPin) { + var updown = $Pin.attr("pin"); + if (updown && doPin === (updown=="down")) return; // already in correct state + var + pin = inst.options[pane].buttonClass +"-pin" + , side = pin +"-"+ pane + , UP = pin +"-up "+ side +"-up" + , DN = pin +"-down "+side +"-down" + ; + $Pin + .attr("pin", doPin ? "down" : "up") // logic + .attr("title", doPin ? lang.Unpin : lang.Pin) + .removeClass( doPin ? UP : DN ) + .addClass( doPin ? DN : UP ) + ; + } + + /** + * INTERNAL function to sync 'pin buttons' when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), close() + * + * @param {Object} inst Layout Instance object + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns: function (inst, pane, doPin) { + // REAL METHOD IS _INSIDE_ LAYOUT - THIS IS HERE JUST FOR REFERENCE + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(inst, $(selector), pane, doPin); + }); + } + + +, _load: function (inst) { + var _ = $.layout.buttons; + // ADD Button methods to Layout Instance + // Note: sel = jQuery Selector string + $.extend( inst, { + bindButton: function (sel, action, pane) { return _.bind(inst, sel, action, pane); } + // DEPRECATED METHODS + , addToggleBtn: function (sel, pane, slide) { return _.addToggle(inst, sel, pane, slide); } + , addOpenBtn: function (sel, pane, slide) { return _.addOpen(inst, sel, pane, slide); } + , addCloseBtn: function (sel, pane) { return _.addClose(inst, sel, pane); } + , addPinBtn: function (sel, pane) { return _.addPin(inst, sel, pane); } + }); + + // init state array to hold pin-buttons + for (var i=0; i<4; i++) { + var pane = $.layout.config.borderPanes[i]; + inst.state[pane].pins = []; + } + + // auto-init buttons onLoad if option is enabled + if ( inst.options.autoBindCustomButtons ) + _.init(inst); + } + +, _unload: function (inst) { + // TODO: unbind all buttons??? + } + +}; + +// add initialization method to Layout's onLoad array of functions +$.layout.onLoad.push( $.layout.buttons._load ); +//$.layout.onUnload.push( $.layout.buttons._unload ); + + + +/** + * jquery.layout.browserZoom 1.0 + * $Date: 2011-12-29 08:00:00 (Thu, 29 Dec 2011) $ + * + * Copyright (c) 2012 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * @todo: Extend logic to handle other problematic zooming in browsers + * @todo: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event + */ + +// tell Layout that the plugin is available +$.layout.plugins.browserZoom = true; + +$.layout.defaults.browserZoomCheckInterval = 1000; +$.layout.optionsMap.layout.push("browserZoomCheckInterval"); + +/* + * browserZoom methods + */ +$.layout.browserZoom = { + + _init: function (inst) { + // abort if browser does not need this check + if ($.layout.browserZoom.ratio() !== false) + $.layout.browserZoom._setTimer(inst); + } + +, _setTimer: function (inst) { + // abort if layout destroyed or browser does not need this check + if (inst.destroyed) return; + var o = inst.options + , s = inst.state + // don't need check if inst has parentLayout, but check occassionally in case parent destroyed! + // MINIMUM 100ms interval, for performance + , ms = inst.hasParentLayout ? 5000 : Math.max( o.browserZoomCheckInterval, 100 ) + ; + // set the timer + setTimeout(function(){ + if (inst.destroyed || !o.resizeWithWindow) return; + var d = $.layout.browserZoom.ratio(); + if (d !== s.browserZoom) { + s.browserZoom = d; + inst.resizeAll(); + } + // set a NEW timeout + $.layout.browserZoom._setTimer(inst); + } + , ms ); + } + +, ratio: function () { + var w = window + , s = screen + , d = document + , dE = d.documentElement || d.body + , b = $.layout.browser + , v = b.version + , r, sW, cW + ; + // we can ignore all browsers that fire window.resize event onZoom + if ((b.msie && v > 8) + || !b.msie + ) return false; // don't need to track zoom + + if (s.deviceXDPI) + return calc(s.deviceXDPI, s.systemXDPI); + // everything below is just for future reference! + if (b.webkit && (r = d.body.getBoundingClientRect)) + return calc((r.left - r.right), d.body.offsetWidth); + if (b.webkit && (sW = w.outerWidth)) + return calc(sW, w.innerWidth); + if ((sW = s.width) && (cW = dE.clientWidth)) + return calc(sW, cW); + return false; // no match, so cannot - or don't need to - track zoom + + function calc (x,y) { return (parseInt(x,10) / parseInt(y,10) * 100).toFixed(); } + } + +}; +// add initialization method to Layout's onLoad array of functions +$.layout.onReady.push( $.layout.browserZoom._init ); + + + +})( jQuery ); \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif new file mode 100644 index 0000000000..085ccaecaf Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 0000000000..5b5dab2ab7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png new file mode 100644 index 0000000000..47acaadd73 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png new file mode 100644 index 0000000000..9d149b1c61 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png new file mode 100644 index 0000000000..014951529c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 0000000000..4443fdc1a1 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png new file mode 100644 index 0000000000..81ecc362d5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png new file mode 100644 index 0000000000..4f3faf8aa8 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png new file mode 100644 index 0000000000..38c38335d0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png new file mode 100644 index 0000000000..6f4bd87c04 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png new file mode 100644 index 0000000000..09d1cdc856 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png new file mode 100644 index 0000000000..bd2cf079ad Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png new file mode 100644 index 0000000000..3d6f567f4d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000000..2ab019b73e Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png new file mode 100644 index 0000000000..ad2dc6f9db Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png new file mode 100644 index 0000000000..c7c53cb119 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css new file mode 100644 index 0000000000..0b1736320b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css @@ -0,0 +1,398 @@ +/* +* jQuery UI CSS Framework +* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +*/ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/* +* jQuery UI CSS Framework +* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +*/ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; } +.ui-widget-content a { color: #222222; } +.ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(images/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; } +.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_6da8d5_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_217bc0_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_f9bd01_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; } +.ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-right { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* Resizable +----------------------------------*/ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Selectable +----------------------------------*/ +.ui-selectable-helper { border:1px dotted black } +/* Autocomplete +----------------------------------*/ +.ui-autocomplete { position: absolute; cursor: default; } +.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ + +/* Menu +----------------------------------*/ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/* Button +----------------------------------*/ + +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: .4em 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ + + + + + +/* Dialog +----------------------------------*/ +.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* Tabs +----------------------------------*/ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css new file mode 100644 index 0000000000..c02c76f505 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css @@ -0,0 +1,304 @@ +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; } +.ui-widget-content a { color: #222222; } +.ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(images/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; } +.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_6da8d5_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_217bc0_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_f9bd01_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! + * jQuery UI Tabs 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/file.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/file.gif new file mode 100644 index 0000000000..bd4f965498 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/file.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed.gif new file mode 100644 index 0000000000..be6b59c2ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif new file mode 100644 index 0000000000..541107888e Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder-closed2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder.gif new file mode 100644 index 0000000000..be6b59c2ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder2.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder2.gif new file mode 100644 index 0000000000..2b31631ca2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/folder2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/minus.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/minus.gif new file mode 100644 index 0000000000..47fb7b767c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/minus.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/plus.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/plus.gif new file mode 100644 index 0000000000..6906621627 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/plus.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif new file mode 100644 index 0000000000..e5496877a0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black.gif new file mode 100644 index 0000000000..d549b9fc56 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-black.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif new file mode 100644 index 0000000000..37114d3068 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default.gif new file mode 100644 index 0000000000..a12ac52ffe Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-default.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif new file mode 100644 index 0000000000..6e289cecc5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif new file mode 100644 index 0000000000..0cb178e899 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-famfamfam.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif new file mode 100644 index 0000000000..37600447dc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif new file mode 100644 index 0000000000..cfb8a2f096 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-gray.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif new file mode 100644 index 0000000000..df9e749a8f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red.gif new file mode 100644 index 0000000000..3bbb3a157f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/images/treeview-red.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.css new file mode 100644 index 0000000000..dbf425b279 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.css @@ -0,0 +1,85 @@ +.treeview, .treeview ul { + padding: 0; + margin: 0; + list-style: none; +} + +.treeview ul { + background-color: white; + margin-top: 4px; +} + +.treeview .hitarea { + background: url(images/treeview-default.gif) -64px -25px no-repeat; + height: 16px; + width: 16px; + margin-left: -16px; + float: left; + cursor: pointer; +} +/* fix for IE6 */ +* html .hitarea { + display: inline; + float:none; +} + +.treeview li { + margin: 0; + padding: 3px 0 3px 16px; +} + +.treeview a.selected { + background-color: #eee; +} + +#treecontrol { margin: 1em 0; display: none; } + +.treeview .hover { color: red; cursor: pointer; } + +.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; } +.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; } + +.treeview .expandable-hitarea { background-position: -80px -3px; } + +.treeview li.last { background-position: 0 -1766px } +.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); } +.treeview li.lastCollapsable { background-position: 0 -111px } +.treeview li.lastExpandable { background-position: -32px -67px } + +.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; } + +.treeview-red li { background-image: url(images/treeview-red-line.gif); } +.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); } + +.treeview-black li { background-image: url(images/treeview-black-line.gif); } +.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); } + +.treeview-gray li { background-image: url(images/treeview-gray-line.gif); } +.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); } + +.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); } +.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); } + + +.filetree li { padding: 3px 0 2px 16px; } +.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; } +.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; } +.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; } +.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; } + +html, body {height:100%; margin: 0; padding: 0; } + +/* +html>body { + font-size: 16px; + font-size: 68.75%; +} Reset Base Font Size */ + /* +body { + font-family: Verdana, helvetica, arial, sans-serif; + font-size: 68.75%; + background: #fff; + color: #333; +} */ + +a img { border: none; } \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js new file mode 100644 index 0000000000..e693321dd0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/jquery/treeview/jquery.treeview.min.js @@ -0,0 +1,16 @@ +/* + * Treeview 1.4 - jQuery plugin to hide and show branches of a tree + * + * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ + * http://docs.jquery.com/Plugins/Treeview + * + * Copyright (c) 2007 Jörn Zaefferer + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $ + * kasunbg: changed the cookieid name + * + */;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("
      ").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){if(typeof(window.treeCookieId) === 'undefined' || window.treeCookieId === ""){treeCookieId = "treeview";} settings=$.extend({cookieId: treeCookieId},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery); \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/main.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/main.js new file mode 100644 index 0000000000..5957fb435d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/common/main.js @@ -0,0 +1,276 @@ +/** + * Miscellaneous js functions for WebHelp + * Kasun Gajasinghe, http://kasunbg.blogspot.com + * David Cramer, http://www.thingbag.net + * + */ + +//Turn ON and OFF the animations for Show/Hide Sidebar. Extend this to other anime as well if any. +var noAnimations=false; + +$(document).ready(function() { + // When you click on a link to an anchor, scroll down + // 105 px to cope with the fact that the banner + // hides the top 95px or so of the page. + // This code deals with the problem when + // you click on a link within a page. + $('a[href*=#]').click(function() { + if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') + && location.hostname == this.hostname) { + var $target = $(this.hash); + $target = $target.length && $target + || $('[name=' + this.hash.slice(1) +']'); + if (!(this.hash == "#searchDiv" || this.hash == "#treeDiv" || this.hash == "") && $target.length) { + var targetOffset = $target.offset().top - 120; + $('html,body') + .animate({scrollTop: targetOffset}, 200); + return false; + } + } + }); + + // $("#showHideHighlight").button(); //add jquery button styling to 'Go' button + //Generate tabs in nav-pane with JQuery + $(function() { + $("#tabs").tabs({ + cookie: { + expires: 2 // store cookie for 2 days. + } + }); + }); + + //Generate the tree + $("#ulTreeDiv").attr("style", ""); + $("#tree").treeview({ + collapsed: true, + animated: "medium", + control: "#sidetreecontrol", + persist: "cookie" + }); + + //after toc fully styled, display it. Until loading, a 'loading' image will be displayed + $("#tocLoading").attr("style", "display:none;"); + // $("#ulTreeDiv").attr("style","display:block;"); + + //.searchButton is the css class applied to 'Go' button + $(function() { + $("button", ".searchButton").button(); + + $("button", ".searchButton").click(function() { + return false; + }); + }); + + //'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('ui-tabs-1') === '1') { //search tab is active + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('searchForm'); + searchHighlight($.cookie('textToSearch')); + $("#showHideHighlight").css("display", "block"); + } + } + + syncToc(); //Synchronize the toc tree with the content pane, when loading the page. + //$("#doSearch").button(); //add jquery button styling to 'Go' button + + // When you click on a link to an anchor, scroll down + // 120 px to cope with the fact that the banner + // hides the top 95px or so of the page. + // This code deals with the problem when + // you click on a link from another page. + var hash = window.location.hash; + if(hash){ + var targetOffset = $(hash).offset().top - 120; + $('html,body').animate({scrollTop: targetOffset}, 200); + return false; + } +}); + + +/** + * If an user moved to another page by clicking on a toc link, and then clicked on #searchDiv, + * search should be performed if the cookie textToSearch is not empty. + */ +function doSearch() { +//'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('searchForm'); + } +} + +/** + * Synchronize with the tableOfContents + */ +function syncToc() { + var a = document.getElementById("webhelp-currentid"); + if (a != undefined) { + //Expanding the child sections of the selected node. + var nodeClass = a.getAttribute("class"); + if (nodeClass != null && !nodeClass.match(/collapsable/)) { + a.setAttribute("class", "collapsable"); + //remove display:none; css style from
        block in the selected node. + var ulNode = a.getElementsByTagName("ul")[0]; + if (ulNode != undefined) { + if (ulNode.hasAttribute("style")) { + ulNode.setAttribute("style", "display: block; background-color: #D8D8D8 !important;"); + } else { + var ulStyle = document.createAttribute("style"); + ulStyle.nodeValue = "display: block; background-color: #D8D8D8 !important;"; + ulNode.setAttributeNode(ulStyle); + } } + //adjust tree's + sign to - + var divNode = a.getElementsByTagName("div")[0]; + if (divNode != undefined) { + if (divNode.hasAttribute("class")) { + divNode.setAttribute("class", "hitarea collapsable-hitarea"); + } else { + var divClass = document.createAttribute("class"); + divClass.nodeValue = "hitarea collapsable-hitarea"; + divNode.setAttributeNode(divClass); + } } + //set persistence cookie when a node is auto expanded + // setCookieForExpandedNode("webhelp-currentid"); + } + var b = a.getElementsByTagName("a")[0]; + + if (b != undefined) { + //Setting the background for selected node. + var style = a.getAttribute("style", 2); + if (style != null && !style.match(/background-color: Background;/)) { + a.setAttribute("style", "background-color: #D8D8D8; " + style); + b.setAttribute("style", "color: black;"); + } else if (style != null) { + a.setAttribute("style", "background-color: #D8D8D8; " + style); + b.setAttribute("style", "color: black;"); + } else { + a.setAttribute("style", "background-color: #D8D8D8; "); + b.setAttribute("style", "color: black;"); + } + } + + //shows the node related to current content. + //goes a recursive call from current node to ancestor nodes, displaying all of them. + while (a.parentNode && a.parentNode.nodeName) { + var parentNode = a.parentNode; + var nodeName = parentNode.nodeName; + + if (nodeName.toLowerCase() == "ul") { + parentNode.setAttribute("style", "display: block;"); + } else if (nodeName.toLocaleLowerCase() == "li") { + parentNode.setAttribute("class", "collapsable"); + parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea "); + } + a = parentNode; +} } } +/* + function setCookieForExpandedNode(nodeName) { + var tocDiv = document.getElementById("tree"); //get table of contents Div + var divs = tocDiv.getElementsByTagName("div"); + var matchedDivNumber; + var i; + for (i = 0; i < divs.length; i++) { //1101001 + var div = divs[i]; + var liNode = div.parentNode; + } +//create a new cookie if a treeview does not exist + if ($.cookie(treeCookieId) == null || $.cookie(treeCookieId) == "") { + var branches = $("#tree").find("li");//.prepareBranches(treesettings); + var data = []; + branches.each(function(i, e) { + data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0; + }); + $.cookie(treeCookieId, data.join("")); + + } + + if (i < divs.length) { + var treeviewCookie = $.cookie(treeCookieId); + var tvCookie1 = treeviewCookie.substring(0, i); + var tvCookie2 = treeviewCookie.substring(i + 1); + var newTVCookie = tvCookie1 + "1" + tvCookie2; + $.cookie(treeCookieId, newTVCookie); + } + } */ + +/** + * Code for Show/Hide TOC + * + */ +function showHideToc() { + var showHideButton = $("#showHideButton"); + var leftNavigation = $("#sidebar"); //hide the parent div of leftnavigation, ie sidebar + var content = $("#content"); + var animeTime=75 + + if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) { + //Hide TOC + showHideButton.removeClass('pointLeft').addClass('pointRight'); + + if(noAnimations) { + leftNavigation.css("display", "none"); + content.css("margin", "125px 0 0 0"); + } else { + leftNavigation.hide(animeTime); + content.animate( { "margin-left": 0 }, animeTime); + } + showHideButton.attr("title", "Show Sidebar"); + } else { + //Show the TOC + showHideButton.removeClass('pointRight').addClass('pointLeft'); + if(noAnimations) { + content.css("margin", "125px 0 0 280px"); + leftNavigation.css("display", "block"); + } else { + content.animate( { "margin-left": '280px' }, animeTime); + leftNavigation.show(animeTime); + } + showHideButton.attr("title", "Hide Sidebar"); + } +} + +/** + * Code for search highlighting + */ +var highlightOn = true; +function searchHighlight(searchText) { + highlightOn = true; + if (searchText != undefined) { + var wList; + var sList = new Array(); //stem list + //Highlight the search terms + searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, " + + + +README: Web-based Help from DocBook XML -
        +
        +

        README: Web-based Help from DocBook XML

        + +

        Kasun Gajasinghe

        +
        +

        Permission is hereby granted, free of charge, to any person obtaining a copy of this + software and associated documentation files (the “Softwareâ€), to deal in the + Software without restriction, including without limitation the rights to use, copy, modify, + merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the following conditions:

        • The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software.

        • Except as contained in this notice, the names of individuals credited with + contribution to this software shall not be used in advertising or otherwise to promote + the sale, use or other dealings in this Software without prior written authorization + from the individuals in question.

        • Any stylesheet derived from this Software that is publicly distributed will be + identified with a different name and the version strings in any derived Software will + be changed so that no possibility of confusion between the derived package and this + Software will exist.

        Warranty: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DAVID CRAMER, KASUN GAJASINGHE, OR ANY + OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

        This package is maintained by Kasun Gajasinghe, + and David Cramer, + and with + contributions by Arun Bharadwaj and Visitha Baddegama. Please + direct support questions to the DocBook-apps + mailing list.

        This package also includes the following software written and copyrighted by others:

        • Files in template/common/jquery are + copyrighted by JQuery under the MIT License. + The file jquery.cookie.js Copyright (c) 2006 Klaus Hartl under + the MIT license.

        • Some files in the template/search and indexer directories were + originally part of N. Quaine's htmlsearch DITA plugin. + The htmlsearch DITA plugin is available from the files page of the DITA-users yahoogroup. The + htmlsearch plugin was released under a BSD-style + license. See indexer/license.txt + for details. +

        • Stemmers from the Snowball + project released under a BSD license.

        • Code from the Apache Lucene search + engine provides support for tokenizing Chinese, Japanese, and Korean content released + under the Apache 2.0 license.

        • Code that provides weighted search results and some + other improvements was graciously donated by SyncRO Soft + Ltd., the publishers of the oXygen XML + Editor.

        • TagSoup, released under the Apache 2.0 + license, makes it possible to index html instead of just + xhtml output.

        • Cosmetic improvements provided by OpenStack.

        Webhelp for DocBook was first developed as a Google Summer of Code project.

        +

        January 2012

        +
        +
        +
        +

        List of Figures

        1. Sample Image
        diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/ix01.html b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/ix01.html new file mode 100644 index 0000000000..f0620d2c0e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/ix01.html @@ -0,0 +1,128 @@ + + + + +Index - - README: Web-based Help from DocBook XML
        diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/default.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/default.props new file mode 100644 index 0000000000..22edf43915 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/default.props @@ -0,0 +1 @@ +DEF01=a \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/en-us.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/en-us.props new file mode 100644 index 0000000000..da284ce5d4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/en-us.props @@ -0,0 +1,45 @@ +DEF01=this +DEF02=is +DEF03=the +DEF04=in +DEF05=i +DEF06=on +DEF07=a +DEF08=about +DEF09=an +DEF10=are +DEF11=as +DEF12=at +DEF13=be +DEF14=by +DEF15=com +DEF16=de +DEF17=en +DEF18=for +DEF19=from +DEF20=how +DEF21=it +DEF22=la +DEF23=of +DEF24=on +DEF25=or +DEF26=that +DEF27=to +DEF28=was +DEF29=what +DEF30=when +DEF31=where +DEF32=who +DEF33=will +DEF34=with +DEF35=und +DEF36=Next +DEF37=Prev +DEF38=Home +DEF39=Motive +DEF40=Inc +DEF41=Copyright +DEF42=All +DEF43=rights +DEF44=reserved +DEF45=Up \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/es-es.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/es-es.props new file mode 100644 index 0000000000..fb73bdcc1f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/es-es.props @@ -0,0 +1,179 @@ +DEF01=un +DEF02=una +DEF03=unas +DEF04=unos +DEF05=uno +DEF06=sobre +DEF07=todo +DEF08=también +DEF09=tras +DEF10=otro +DEF11=algún +DEF12=alguno +DEF13=alguna +DEF14=algunos +DEF15=algunas +DEF16=ser +DEF17=es +DEF18=soy +DEF19=eres +DEF20=somos +DEF21=sois +DEF22=estoy +DEF23=esta +DEF24=estamos +DEF25=estais +DEF26=estan +DEF27=como +DEF28=en +DEF29=para +DEF30=atras +DEF31=porque +DEF32=por +DEF33=estado +DEF34=estaba +DEF35=ante +DEF36=antes +DEF37=siendo +DEF38=ambos +DEF39=pero +DEF40=por +DEF41=poder +DEF42=puede +DEF43=puedo +DEF44=podemos +DEF45=podeis +DEF46=pueden +DEF47=fui +DEF48=fue +DEF49=fuimos +DEF50=fueron +DEF51=hacer +DEF52=hago +DEF53=hace +DEF54=hacemos +DEF55=haceis +DEF56=hacen +DEF57=cada +DEF58=fin +DEF59=incluso +DEF60=primero +DEF61=desde +DEF62=conseguir +DEF63=consigo +DEF64=consigue +DEF65=consigues +DEF66=conseguimos +DEF67=consiguen +DEF68=ir +DEF69=voy +DEF70=va +DEF71=vamos +DEF72=vais +DEF73=van +DEF74=vaya +DEF75=gueno +DEF76=ha +DEF77=tener +DEF78=tengo +DEF79=tiene +DEF80=tenemos +DEF81=teneis +DEF82=tienen +DEF83=el +DEF84=la +DEF85=lo +DEF86=las +DEF87=los +DEF88=su +DEF89=aqui +DEF90=mio +DEF91=tuyo +DEF92=ellos +DEF93=ellas +DEF94=nos +DEF95=nosotros +DEF96=vosotros +DEF97=vosotras +DEF98=si +DEF99=dentro +DEF100=solo +DEF101=solamente +DEF102=saber +DEF103=sabes +DEF104=sabe +DEF105=sabemos +DEF106=sabeis +DEF107=saben +DEF108=ultimo +DEF109=largo +DEF110=bastante +DEF111=haces +DEF112=muchos +DEF113=aquellos +DEF114=aquellas +DEF115=sus +DEF116=entonces +DEF117=tiempo +DEF118=verdad +DEF119=verdadero +DEF120=verdadera +DEF121=cierto +DEF122=ciertos +DEF123=cierta +DEF124=ciertas +DEF125=intentar +DEF126=intento +DEF127=intenta +DEF128=intentas +DEF129=intentamos +DEF130=intentais +DEF131=intentan +DEF132=dos +DEF133=bajo +DEF134=arriba +DEF135=encima +DEF136=usar +DEF137=uso +DEF138=usas +DEF139=usa +DEF140=usamos +DEF141=usais +DEF142=usan +DEF143=emplear +DEF144=empleo +DEF145=empleas +DEF146=emplean +DEF147=ampleamos +DEF148=empleais +DEF149=valor +DEF150=muy +DEF151=era +DEF152=eras +DEF153=eramos +DEF154=eran +DEF155=modo +DEF156=bien +DEF157=cual +DEF158=cuando +DEF159=donde +DEF160=mientras +DEF161=quien +DEF162=con +DEF163=entre +DEF164=sin +DEF165=trabajo +DEF166=trabajar +DEF167=trabajas +DEF168=trabaja +DEF169=trabajamos +DEF170=trabajais +DEF171=trabajan +DEF172=podria +DEF173=podrias +DEF174=podriamos +DEF175=podrian +DEF176=podriais +DEF177=yo +DEF178=aquel +DEF179=qué \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/htmlFileInfoList.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/htmlFileInfoList.js new file mode 100644 index 0000000000..a5efebe714 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/htmlFileInfoList.js @@ -0,0 +1,38 @@ +var doStem = true; +//List of indexed files. +fl = new Array(); +fl["0"]= "ch04.html"; +fl["1"]= "ch05s01.html"; +fl["2"]= "ch03s02.html"; +fl["3"]= "index.html"; +fl["4"]= "ch02s02s01.html"; +fl["5"]= "ch03s01.html"; +fl["6"]= "ch01.html"; +fl["7"]= "ch02.html"; +fl["8"]= "ch02s01.html"; +fl["9"]= "ch02s03.html"; +fl["10"]= "ch03s02s01.html"; +fl["11"]= "ch05.html"; +fl["12"]= "ch03.html"; +fl["13"]= "ch02s05.html"; +fl["14"]= "ch02s04.html"; +fl["15"]= "ch02s02.html"; +fl["16"]= "ch05s02.html"; +fil = new Array(); +fil["0"]= "ch04.html@@@FAQ@@@Frequently Asked Questions..."; +fil["1"]= "ch05s01.html@@@Some search words for testing@@@null"; +fil["2"]= "ch03s02.html@@@Search@@@Overview design of Search mechanism..."; +fil["3"]= "index.html@@@README: Web-based Help from DocBook XML@@@null"; +fil["4"]= "ch02s02s01.html@@@Recommended Apache configurations@@@null"; +fil["5"]= "ch03s01.html@@@Design@@@An overview of webhelp page structure..."; +fil["6"]= "ch01.html@@@Introduction@@@Overview of the package..."; +fil["7"]= "ch02.html@@@Using the package@@@java available in your PATH..."; +fil["8"]= "ch02s01.html@@@Generating webhelp output using the Ant build.xml file@@@Installation instructions..."; +fil["9"]= "ch02s03.html@@@Search indexing@@@To build the indexer, you must have installed the JDK version 1.5 or higher and set the ANT_HOME environment variable..."; +fil["10"]= "ch03s02s01.html@@@New Stemmers@@@Adding new Stemmers is very simple..."; +fil["11"]= "ch05.html@@@Test section@@@null"; +fil["12"]= "ch03.html@@@Developer Docs@@@This chapter provides an overview of how webhelp is implemented..."; +fil["13"]= "ch02s05.html@@@Adding images@@@null"; +fil["14"]= "ch02s04.html@@@Adding support for other (non-CJKV) languages@@@null"; +fil["15"]= "ch02s02.html@@@Using and customizing the output@@@null"; +fil["16"]= "ch05s02.html@@@Some search words for testing (inflected)@@@null"; diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-1.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-1.js new file mode 100644 index 0000000000..096fcfbb4c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-1.js @@ -0,0 +1,391 @@ +var indexerLanguage="en"; +//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa +w["-"]="0*2,1*2,2*7,3*1,5*2,6*3,7*2,8*2,9*4,10*2,11*2,12*2,13*2,14*2,15*2,16*2"; +w["-doutput-dir"]="8*1"; +w["-version"]="8*2"; +w["."]="2*5,3*2,4*3,5*5,6*1,7*1,8*11,9*3,10*8,13*2,14*1,15*3"; +w[".chm"]="6*1"; +w[".htaccess"]="4*1"; +w[".html"]="4*1"; +w[".js"]="2*2"; +w[".treeview"]="5*1"; +w["0"]="0*2,3*2,8*5,9*6"; +w["1"]="0*6,3*2,8*3,9*6"; +w["1."]="0*6,3*2"; +w["1.5"]="9*1"; +w["1.6"]="8*1"; +w["1.76.0"]="9*1"; +w["1.76.1"]="9*2"; +w["1.76.1."]="9*1"; +w["1.77.0"]="0*2"; +w["1.8.0"]="8*3,9*1"; +w["1.8.2.custom.css"]="15*1"; +w["172800"]="4*2"; +w["2"]="0*6,3*3,4*2,8*3,15*1"; +w["2."]="0*6,3*1"; +w["2.0"]="3*2"; +w["2006"]="3*1"; +w["2008"]="3*1"; +w["2008-2012"]="3*1"; +w["2012"]="3*2"; +w["290304000"]="4*2"; +w["2:"]="8*3"; +w["3"]="0*8,3*1"; +w["3."]="0*6,3*1"; +w["3.0.0.jar"]="9*2"; +w["3.x"]="0*1"; +w["4"]="0*7,2*1"; +w["4."]="0*6"; +w["480"]="4*1"; +w["5"]="0*8,6*1,8*13,9*1"; +w["5."]="0*6"; +w["596"]="0*2"; +w["596:"]="0*2"; +w["6"]="8*6"; +w["6.5"]="8*4"; +w["6.5.5.jar"]="0*1,8*3"; +w["6.5.x"]="8*1"; +w["7"]="0*1"; +w["7200"]="4*2"; +w["76"]="9*3"; +w["77"]="0*2"; +w["8"]="4*1,8*3,9*1,15*1"; +w[":"]="0*2,10*2,15*3"; +w["_stemmer"]="2*1,10*1"; +w["_stemmer.j"]="2*2,10*2"; +w["abandon"]="5*1"; +w["about"]="0*2,2*2,4*1,8*2,9*1"; +w["abov"]="3*1"; +w["abstract"]="15*1"; +w["accord"]="6*1"; +w["achiev"]="5*2"; +w["action"]="3*1"; +w["actual"]="2*1"; +w["ad"]="2*1,3*1,6*1,7*2,10*3,13*51,14*46,15*2"; +w["adapt"]="8*1"; +w["add"]="3*1,6*1,8*1,10*4,13*1,14*1,15*1"; +w["adddefaultcharset"]="4*1"; +w["addit"]="0*1,4*1,14*1"; +w["addoutputfilterbytyp"]="4*9"; +w["admon.g"]="8*1"; +w["admon.graph"]="8*1"; +w["advertis"]="3*1"; +w["after"]="6*1"; +w["against"]="8*2"; +w["age"]="4*3"; +w["al"]="10*1"; +w["algorithm"]="10*1"; +w["all"]="2*1,3*1,8*1,9*1,10*1"; +w["all."]="10*1"; +w["allow"]="8*1"; +w["alreadi"]="10*1"; +w["also"]="3*1,6*1,7*1,8*2"; +w["altern"]="6*1"; +w["analyz"]="9*1"; +w["ani"]="3*6,10*1,15*1"; +w["anim"]="5*1"; +w["animated:"]="5*1"; +w["anoth"]="8*2,10*1"; +w["ant"]="2*3,6*2,7*2,8*59,9*14,10*2,13*1"; +w["ant.file.dir"]="8*2"; +w["ant_hom"]="8*1,9*1"; +w["apach"]="3*3,4*41,7*1,8*3,15*1"; +w["apache-ant-1"]="8*2"; +w["apache-ant-1.8.0"]="8*2"; +w["apart"]="0*2"; +w["apis.jar"]="0*2,8*9,9*1"; +w["app"]="3*1"; +w["appear"]="6*2,15*1"; +w["appli"]="5*2"; +w["applic"]="4*5,6*1"; +w["applica"]="4*1"; +w["appropri"]="8*1,15*1"; +w["apps@lists.oasi"]="10*1"; +w["ar"]="3*1"; +w["arbitrari"]="8*1"; +w["argument"]="9*1"; +w["arguments:"]="9*1"; +w["aris"]="3*1"; +w["array"]="2*3,3*1,10*7"; +w["array."]="10*1"; +w["arsenal"]="1*1,16*1"; +w["arsenic"]="1*1,16*1"; +w["arun"]="3*1"; +w["ask"]="0*1"; +w["associ"]="3*1"; +w["asspath"]="8*5"; +w["assum"]="8*2,10*1"; +w["assumpt"]="2*1"; +w["attribut"]="0*2"; +w["author"]="3*1"; +w["auto"]="6*1"; +w["auto-synchron"]="6*1"; +w["autoidx"]="0*2"; +w["autoidx.xsl"]="0*2"; +w["autoidx.xsl:"]="0*4"; +w["automat"]="9*1"; +w["ava"]="7*1"; +w["avail"]="3*1,7*1,8*3,9*2,10*3"; +w["away"]="12*1"; +w["back"]="14*1"; +w["backward"]="6*1"; +w["baddegama"]="3*1"; +w["baddegama."]="3*1"; +w["bar."]="15*1"; +w["base"]="0*2,1*1,2*1,3*52,5*2,6*3,7*1,8*1,9*1,10*6,11*1,12*1,13*1,14*1,15*2,16*1"; +w["basedir"]="8*1"; +w["basic"]="0*1"; +w["be"]="8*1"; +w["been"]="8*1"; +w["behav"]="12*1"; +w["below"]="8*1"; +w["below."]="8*1,13*1"; +w["better"]="8*1"; +w["between"]="2*1,3*1"; +w["bharadwaj"]="3*1"; +w["bi"]="2*1"; +w["bi-gram"]="2*1"; +w["bin"]="8*4"; +w["binari"]="8*1"; +w["bit"]="9*1"; +w["bitmap"]="4*1"; +w["bits."]="9*1"; +w["bob"]="4*1,15*1"; +w["bold"]="6*1"; +w["book"]="4*1"; +w["both"]="14*1"; +w["box"]="6*1"; +w["break"]="2*1"; +w["brief"]="6*1,15*1"; +w["brower"]="4*1"; +w["browser"]="0*3,2*1,4*1,5*1,8*1"; +w["browser."]="8*1"; +w["bsd"]="3*2"; +w["bsd-style"]="3*1"; +w["build"]="0*3,1*1,5*1,6*3,7*3,8*59,9*1,10*3,13*1,16*1"; +w["build-index"]="10*1"; +w["build.properti"]="8*1,9*1,10*1,13*1"; +w["build.xml"]="1*1,7*1,8*56,16*1"; +w["build.xml."]="8*1"; +w["built"]="5*1"; +w["but"]="3*1,8*1,10*2"; +w["button"]="5*1"; +w["buy"]="1*1,16*1"; +w["c"]="0*2,3*1,8*3"; +w["c:"]="0*4,8*3"; +w["cach"]="4*5"; +w["cache-control"]="4*3"; +w["call"]="2*1,5*1"; +w["caus"]="4*3,15*1"; +w["certain"]="4*1"; +w["ch03"]="2*1"; +w["ch03.html"]="2*1"; +w["chang"]="2*1,3*1,4*1,8*1,9*1,10*3,15*3"; +w["chapter"]="2*1,12*1,15*1"; +w["chapterinfo"]="15*1"; +w["charact"]="4*1"; +w["charg"]="3*1"; +w["check"]="0*1"; +w["checkout"]="2*1"; +w["chines"]="2*1,3*1,6*1,8*1,10*2"; +w["chm"]="6*1"; +w["chrome"]="0*1"; +w["chunk"]="5*2,6*1,15*2"; +w["cjk"]="2*2,10*2"; +w["cjkv"]="7*1,10*1,14*2"; +w["cl"]="8*3"; +w["claim"]="3*1"; +w["class"]="9*1,10*1"; +w["classpath"]="0*1,8*2,9*2"; +w["classpath."]="9*1"; +w["click."]="2*1"; +w["client"]="2*2,6*1"; +w["client-sid"]="2*1,6*1"; +w["cn"]="10*2"; +w["co"]="3*1"; +w["code"]="0*1,2*1,3*4,5*1,6*1,10*9,13*6"; +w["code."]="10*1"; +w["code:"]="5*1"; +w["collaps"]="5*1,6*1"; +w["collapsed:"]="5*1"; +w["color"]="6*1,15*1"; +w["com"]="3*2,9*2,10*8"; +w["com.nexwave.nquindexer.indexermain"]="9*1"; +w["com.nexwave.nquindexer.indexertask"]="9*1"; +w["come"]="9*1,15*1"; +w["command"]="2*2,7*1,8*5,9*1"; +w["command-lin"]="9*1"; +w["command."]="2*1"; +w["comment"]="8*1"; +w["comments."]="8*1"; +w["common"]="2*1,3*1,6*1,15*7"; +w["commons:"]="8*3"; +w["compani"]="5*1"; +w["compar"]="2*1"; +w["compil"]="10*1"; +w["complet"]="4*3,15*1"; +w["compress"]="4*3"; +w["concern"]="9*1"; +w["condit"]="3*1"; +w["conditions:"]="3*1"; +w["conf"]="4*1"; +w["configur"]="4*40,7*1,15*1"; +w["confirm"]="8*3"; +w["confus"]="3*1"; +w["connect"]="3*1"; +w["consid"]="14*1"; +w["contact"]="10*1"; +w["contain"]="2*1,3*1,8*1,9*1,10*1"; +w["content"]="2*3,3*1,5*6,6*5,7*5,9*1,11*5,12*8"; +w["content."]="2*2,9*1"; +w["content:"]="5*1"; +w["contract"]="3*1"; +w["contribut"]="3*2,14*1"; +w["contributor"]="3*1"; +w["control"]="4*3,5*1,13*1,15*1"; +w["control:"]="5*1"; +w["conveni"]="8*3"; +w["cooki"]="3*1,5*1,12*2"; +w["copi"]="3*3,8*5,10*1,13*2"; +w["copyright"]="3*5"; +w["core"]="9*1"; +w["correct"]="0*1,3*1,8*1,10*5"; +w["cosmet"]="3*1"; +w["could"]="4*1,8*1"; +w["cramer"]="3*4"; +w["creat"]="2*1,6*1,7*1,8*5"; +w["credit"]="3*1"; +w["csrc"]="8*2"; +w["css"]="4*5,5*3,6*1,15*8"; +w["css-base"]="5*1,6*1"; +w["css-style"]="5*1"; +w["css."]="15*1"; +w["currenc"]="1*2,16*1"; +w["current"]="0*1,10*3,14*1"; +w["currently."]="0*1"; +w["custom"]="5*2,7*1,8*1,15*48"; +w["d"]="8*1"; +w["damag"]="3*1"; +w["danish"]="14*1"; +w["data"]="2*1"; +w["david"]="3*6"; +w["day"]="1*1,4*1,16*1"; +w["de"]="8*1,10*3"; +w["deal"]="3*3"; +w["deep"]="15*1"; +w["default"]="2*1,8*1,9*2,15*1"; +w["default."]="8*1"; +w["defin"]="2*1,8*1"; +w["deflat"]="4*10"; +w["delet"]="8*1"; +w["demo"]="0*4"; +w["deploy"]="0*3"; +w["deriv"]="3*3"; +w["describ"]="7*1"; +w["descript"]="6*1"; +w["description."]="6*1"; +w["design"]="2*1,5*47,12*1"; +w["desir"]="8*2"; +w["desired-output-dir"]="8*1"; +w["detail"]="0*1,2*2,3*1,8*1,9*2"; +w["details."]="0*1,3*1,8*1,9*1"; +w["develop"]="3*1,12*51"; +w["differ"]="3*1,8*1"; +w["dir"]="8*6,13*1"; +w["direct"]="3*1,9*1,15*1"; +w["directori"]="2*2,3*1,8*15,9*3,13*4"; +w["directory."]="2*1,8*4,13*1"; +w["disabl"]="8*1"; +w["display"]="2*1"; +w["distribut"]="3*2,8*3,9*1"; +w["dita"]="0*1,3*3"; +w["dita-us"]="3*1"; +w["dita."]="0*1"; +w["div"]="5*1,12*1,15*2"; +w["divid"]="5*1"; +w["do"]="2*2,3*1,8*2,9*1,14*1"; +w["doc"]="2*1,8*3,12*51,15*7"; +w["docbkx"]="6*1,8*1"; +w["docbo"]="0*2"; +w["docbook"]="0*3,1*1,2*3,3*53,4*3,5*4,6*2,7*1,8*6,9*2,10*9,11*1,12*1,13*3,14*1,15*3,16*1"; +w["docbook-app"]="3*1"; +w["docbook-apps@list"]="10*1"; +w["docbook-apps@lists.oasis-open.org"]="10*1"; +w["docbook-webhelp"]="8*1,10*7"; +w["docbook-xsl-1"]="0*1"; +w["docbook-xsl-1.77.0"]="0*2"; +w["docbook."]="15*1"; +w["docbook.sourceforge.net"]="9*2"; +w["docs@@@"]="2*1"; +w["docsbook"]="9*1"; +w["docsbook-xsl-1"]="9*1"; +w["docsbook-xsl-1.76.1"]="9*1"; +w["docsr"]="13*6"; +w["docsrc"]="13*1"; +w["document"]="0*2,3*1,4*2,5*1,6*1,8*10,13*4"; +w["document."]="8*2,13*1"; +w["documentation."]="0*1,5*1,6*1"; +w["doe"]="0*2,2*2,8*1,9*1"; +w["doesn"]="9*1"; +w["don"]="8*1,15*1"; +w["donat"]="3*1"; +w["done"]="0*1,2*1,5*2"; +w["dostem"]="2*1"; +w["dot"]="3*4"; +w["doutput"]="8*1"; +w["down"]="3*1,13*5"; +w["download"]="4*1,8*2,9*1,10*1"; +w["drop"]="2*1"; +w["dtd"]="8*2"; +w["dtd."]="8*1"; +w["dutch"]="14*1"; +w["e"]="10*1,12*1"; +w["easi"]="10*1"; +w["easili"]="5*1,10*2"; +w["easily."]="10*1"; +w["eclips"]="6*1"; +w["edit"]="8*1,15*1"; +w["editor"]="3*1,8*1,10*1"; +w["editor."]="3*1"; +w["efault"]="8*1"; +w["element"]="15*1"; +w["element."]="0*2,15*1"; +w["els"]="9*1,10*7"; +w["email"]="10*1"; +w["en"]="8*3,9*1,10*4"; +w["en."]="8*1"; +w["enabl"]="8*1"; +w["enable.stem"]="8*1"; +w["endors"]="9*1"; +w["engin"]="3*1,6*1"; +w["engine."]="6*1"; +w["english"]="2*1,6*1,8*1,10*3,14*1"; +w["englishstemm"]="10*1"; +w["environ"]="7*1,8*5,9*1"; +w["equalsignorecas"]="10*3"; +w["error"]="0*2"; +w["error."]="0*2"; +w["etc"]="2*1,5*1,6*1,8*2"; +w["etc."]="2*1,5*1,6*1,8*3,15*1"; +w["event"]="3*1"; +w["ex"]="2*1"; +w["ex:"]="2*1"; +w["exact"]="10*1,12*1"; +w["exampl"]="3*6,8*5,10*1,13*1,15*1"; +w["example."]="10*1"; +w["example:"]="8*4"; +w["example 1"]="13*5"; +w["example 1. exampl"]="13*5"; +w["example 2"]="10*5"; +w["example 2. add"]="10*5"; +w["example 3"]="10*5"; +w["example 3. initi"]="10*5"; +w["except"]="3*1"; +w["exist"]="2*1,3*1"; +w["exist."]="3*1,8*1"; +w["expos"]="6*1"; +w["express"]="3*1"; +w["ext"]="10*2"; +w["extend"]="10*2"; +w["extens"]="0*2,2*1,4*1,8*1,9*1,10*1"; + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-2.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-2.js new file mode 100644 index 0000000000..05d3f0c51d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-2.js @@ -0,0 +1,390 @@ +//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa +w["extension:"]="4*1"; +w["extent"]="2*1"; +w["extract"]="8*1"; +w["f"]="4*1,9*1,12*1,14*1"; +w["fair"]="10*1"; +w["fals"]="2*1,8*1"; +w["false."]="2*1"; +w["faq"]="0*51"; +w["featur"]="2*1,5*1,6*6"; +w["feature."]="5*1"; +w["feel"]="15*1"; +w["fetch"]="9*1"; +w["few"]="5*1,10*1"; +w["fi"]="4*1"; +w["figur"]="3*5,8*3,13*4"; +w["figure 1"]="13*5"; +w["figure 1. sampl"]="13*5"; +w["fil"]="2*2"; +w["file"]="0*2,2*10,3*5,4*6,5*1,6*1,7*1,8*64,9*1,10*1,13*2,15*4"; +w["file."]="4*1,10*1,15*1"; +w["file:"]="0*4"; +w["fileref"]="13*1"; +w["files."]="4*1,8*1"; +w["files:"]="2*1,15*1"; +w["fileset"]="8*1,13*1"; +w["filesmatch"]="4*6"; +w["find"]="0*4,10*1"; +w["finnish"]="14*1"; +w["firefox"]="0*1"; +w["first"]="2*1,3*1"; +w["fit"]="3*1"; +w["five"]="2*1"; +w["fl"]="2*1"; +w["flv"]="4*2"; +w["folder"]="0*1,2*2,9*1,10*2,15*1"; +w["folder."]="2*1,10*1"; +w["foll"]="0*1"; +w["follos"]="8*3"; +w["follow"]="0*2,2*1,3*2,4*2,5*1,7*1,8*2,9*2,10*1,13*2,14*1,15*1"; +w["foobar"]="2*1"; +w["form"]="14*1"; +w["form."]="14*1"; +w["format"]="2*1,6*3,13*1"; +w["fortun"]="10*1"; +w["forward"]="6*1"; +w["four"]="0*1"; +w["fr"]="8*1,10*4"; +w["frameset"]="5*1,6*1,12*1,15*1"; +w["frameset."]="6*1,12*2"; +w["free"]="3*1"; +w["french"]="2*1,6*1,8*1,10*3"; +w["french."]="2*1"; +w["frenchstemm"]="10*1"; +w["frequent"]="0*1"; +w["from"]="0*3,1*1,2*3,3*57,4*1,5*4,6*4,7*1,8*6,9*2,10*3,11*1,12*2,13*4,14*1,15*2,16*1"; +w["full"]="6*1,10*1"; +w["fulli"]="2*1,5*1"; +w["furnish"]="3*1"; +w["further"]="2*1,5*1,15*1"; +w["gajasingh"]="3*4"; +w["ge"]="8*1"; +w["general"]="10*1,15*1"; +w["generat"]="0*1,2*1,5*3,6*2,7*1,8*49,10*1"; +w["german"]="2*1,6*1,10*3"; +w["german."]="6*1,14*1"; +w["germanstemm"]="10*1"; +w["get"]="0*2,2*1,6*1,10*1,15*1"; +w["gif"]="4*2"; +w["given."]="13*1"; +w["gmail"]="3*2"; +w["go"]="9*1"; +w["googl"]="3*1,6*1"; +w["gorithm"]="10*1"; +w["gracious"]="3*1"; +w["gram"]="2*1"; +w["grant"]="3*1"; +w["graphic"]="8*4,13*2"; +w["group"]="6*1"; +w["guid"]="0*1,4*3,15*1"; +w["handl"]="2*2,15*1"; +w["happen"]="0*1,2*1"; +w["hartl"]="3*1"; +w["hat"]="6*1"; +w["have"]="9*1"; +w["haven"]="0*1"; +w["having."]="9*1"; +w["head"]="5*1"; +w["header"]="4*3,5*2,15*1"; +w["header:"]="5*1"; +w["height"]="15*1"; +w["help"]="0*1,1*1,2*1,3*51,5*1,6*4,7*1,8*1,9*2,10*1,11*1,12*2,13*1,14*1,15*4,16*1"; +w["help."]="6*1"; +w["here"]="8*1,9*1,13*1"; +w["here."]="8*2,13*1"; +w["herebi"]="3*1"; +w["higher"]="8*1,9*1"; +w["higher."]="8*2"; +w["highlight"]="6*1"; +w["hour"]="4*1"; +w["how"]="2*1,6*1,7*1,8*1,12*1,13*1"; +w["howev"]="8*1"; +w["href"]="0*2"; +w["ht"]="8*1"; +w["htaccess"]="4*1"; +w["htm"]="4*2,8*1"; +w["html"]="0*3,2*2,3*1,4*7,5*1,6*1,8*2,15*1"; +w["html.extens"]="8*1"; +w["htmlfileinfolist"]="2*1"; +w["htmlfileinfolist.j"]="2*1"; +w["htmlfilelist"]="2*1"; +w["htmlfilelist.j"]="2*1"; +w["htmlsearch"]="0*2,3*3"; +w["http"]="9*1"; +w["http:"]="9*2"; +w["httpd"]="4*1"; +w["httpd.conf"]="4*1"; +w["hungarian"]="14*1"; +w["ico"]="4*2"; +w["ide"]="2*1"; +w["idea"]="2*1"; +w["identifi"]="3*1,8*1"; +w["ie"]="0*1"; +w["if"]="0*1,2*2,4*2,6*1,8*8,9*1,10*12,12*2,13*1,15*1"; +w["ignor"]="8*1"; +w["ilabl"]="7*1"; +w["ile"]="4*1"; +w["iles."]="4*1"; +w["imag"]="3*2,7*1,8*11,13*72"; +w["imagedata"]="13*1"; +w["imageobject"]="13*2"; +w["images."]="3*1,13*5"; +w["implement"]="2*1,6*2,12*2,14*2"; +w["implemented."]="2*1,12*1"; +w["impli"]="3*1"; +w["import"]="6*1,8*44"; +w["imposs"]="6*1"; +w["improv"]="3*2,4*1"; +w["includ"]="0*1,2*3,3*4,5*4,6*2,10*1,14*1,15*1"; +w["index"]="0*5,2*14,3*5,4*2,6*2,7*1,8*5,9*58,10*12,14*1"; +w["index-"]="2*2"; +w["index.html"]="8*2"; +w["indexer-languag"]="8*1"; +w["indexer-language-cod"]="2*2"; +w["indexer."]="0*2,2*1,9*1,10*1"; +w["indexerlanguag"]="10*5"; +w["indexerlanguage.equalsignorecas"]="10*6"; +w["indexermain"]="9*1"; +w["indexertask"]="9*2,10*1"; +w["indexertask.java"]="10*2"; +w["indexing:"]="2*1"; +w["indic"]="8*4"; +w["indicated:"]="8*3"; +w["individu"]="3*2"; +w["inflect"]="11*1,16*46"; +w["inform"]="0*3,4*1,8*2,9*1,15*1"; +w["information."]="0*1"; +w["initi"]="3*1,10*5"; +w["input"]="8*8,13*1,14*1"; +w["input-images-basedir"]="8*1"; +w["input-images-dir"]="8*2,13*1"; +w["input-xml"]="8*3"; +w["input-xml."]="8*1"; +w["insid"]="2*1,15*1"; +w["instal"]="7*1,8*12,9*1"; +w["instead"]="3*1"; +w["instruct"]="8*2"; +w["integr"]="6*1,10*1"; +w["intellij"]="2*1"; +w["interest"]="15*1"; +w["internet"]="6*1"; +w["into"]="6*2,15*1"; +w["introduct"]="6*51"; +w["invoc"]="9*1"; +w["invocation."]="9*1"; +w["invok"]="2*1,9*2"; +w["involved."]="2*1"; +w["iphone."]="0*1"; +w["ipod"]="0*1"; +w["ipt"]="14*1"; +w["issu"]="9*1"; +w["it_stemm"]="10*1"; +w["it_stemmer.j"]="10*1"; +w["italian"]="10*5,14*1"; +w["italianstemm"]="10*4"; +w["ja"]="8*2,10*2"; +w["januari"]="3*1"; +w["japan"]="10*1"; +w["japanes"]="2*1,3*1,6*1,8*1,10*1"; +w["jar"]="0*1,2*1,8*15,9*5"; +w["java"]="0*6,7*5,8*21,9*1,10*5,14*3"; +w["java."]="10*1"; +w["javascr"]="14*1"; +w["javascrip"]="4*1"; +w["javascript"]="0*1,2*3,4*6,5*1,10*4,14*3"; +w["javascript."]="2*1,14*1"; +w["jdk"]="8*1,9*1"; +w["jdk."]="8*1"; +w["jpeg"]="4*2"; +w["jpg"]="4*2,13*11"; +w["jqueri"]="0*2,3*3,5*3,15*7"; +w["jquery-ui"]="5*1"; +w["jquery-ui-1"]="15*1"; +w["jquery-ui-1.8.2.custom.css"]="15*1"; +w["jquery.cookie.j"]="3*1"; +w["jquery.treeview.css"]="15*1"; +w["jqueryui"]="15*1"; +w["jre"]="9*1"; +w["js"]="2*6,3*1,4*2,10*3"; +w["just"]="3*1"; +w["kasun"]="0*6,3*4"; +w["kasunbg"]="3*2"; +w["key"]="1*1,16*1"; +w["kind"]="3*1"; +w["klaus"]="3*1"; +w["ko"]="10*2"; +w["korean"]="2*1,3*1,6*1,10*2"; +w["languag"]="2*5,3*2,6*2,7*1,8*3,9*1,10*20,14*49"; +w["language-cod"]="10*2"; +w["language."]="8*1,9*1,10*2"; +w["languages."]="14*1"; +w["latest"]="9*1"; +w["layer"]="8*1"; +w["layout"]="6*1"; +w["left"]="5*1,12*1,15*1"; +w["leftnavig"]="15*1"; +w["les"]="4*1"; +w["level"]="8*1"; +w["li"]="5*1"; +w["liabil"]="3*1"; +w["liabl"]="3*1"; +w["lib"]="9*1"; +w["librari"]="2*1"; +w["library."]="2*1"; +w["licens"]="3*5"; +w["license."]="3*5"; +w["license.txt"]="3*1"; +w["like"]="2*1,6*1,10*1"; +w["limit"]="3*2"; +w["line"]="0*2,4*2,8*2,9*1,10*1"; +w["line."]="8*1"; +w["link"]="6*2,15*2"; +w["linux"]="9*1"; +w["list"]="3*11,5*2,8*1,10*3,13*1"; +w["ll"]="9*1,10*1"; +w["ll."]="9*1"; +w["load"]="5*1,12*1"; +w["local"]="8*3"; +w["locat"]="2*1,8*6,10*1"; +w["location."]="10*1"; +w["log"]="6*1"; +w["logo"]="5*1"; +w["long"]="4*1"; +w["look"]="2*1,5*1,15*1"; +w["ltd"]="3*1"; +w["ltd."]="3*1"; +w["lucen"]="3*1,6*1,9*2"; +w["lucene-analyzers-3"]="9*1"; +w["lucene-analyzers-3.0.0.jar"]="9*1"; +w["lucene-core-3"]="9*1"; +w["lucene-core-3.0.0.jar"]="9*1"; +w["m"]="0*2"; +w["made"]="5*1"; +w["mail"]="3*1,10*1"; +w["main"]="2*1,5*1,9*1"; +w["maintain"]="3*1"; +w["make"]="3*1,4*1,8*1,10*1"; +w["makefil"]="6*1,7*2,8*2"; +w["makefile.sampl"]="7*2,8*2"; +w["manag"]="8*1"; +w["mani"]="6*1"; +w["martin"]="14*1"; +w["match"]="2*1"; +w["matrix"]="0*1"; +w["maven"]="6*1,8*1"; +w["max"]="4*3"; +w["max-ag"]="4*3"; +w["may"]="8*1,9*1"; +w["mechan"]="2*2,14*2"; +w["mechanism."]="2*1"; +w["mediaobject"]="13*2"; +w["medium"]="5*1"; +w["merchant"]="3*1"; +w["merg"]="3*1"; +w["messag"]="8*1"; +w["meta"]="2*1"; +w["method"]="2*1"; +w["microsoft"]="6*1"; +w["miss"]="8*1"; +w["mit"]="3*2"; +w["ml"]="8*1"; +w["model"]="6*1"; +w["modifi"]="3*1,8*4"; +w["more"]="0*3,4*1"; +w["most"]="0*2"; +w["move"]="2*1"; +w["multipl"]="15*1"; +w["must"]="4*2,7*1,8*4,9*1,12*1"; +w["must-revalid"]="4*2"; +w["mutandi"]="8*3"; +w["mutati"]="8*3"; +w["n"]="3*1"; +w["n."]="3*1"; +w["name"]="2*4,3*2,8*7,10*3,15*1"; +w["navig"]="5*4,12*1,15*1"; +w["navigation:"]="5*2"; +w["ncomment"]="8*1"; +w["necessari"]="8*2"; +w["necessary."]="15*1"; +w["need"]="0*3,2*1,8*4,9*3,10*3,13*1,14*1,15*2"; +w["need:"]="10*1"; +w["net"]="3*2,9*1"; +w["netbean"]="2*1"; +w["new"]="2*2,3*1,8*1,10*56,12*2,15*1"; +w["newli"]="8*1"; +w["next"]="5*1"; +w["nexwav"]="9*2,10*8"; +w["nice"]="5*1,6*1"; +w["no"]="2*1,3*2,15*1"; +w["non"]="7*1,8*1,10*1,14*46"; +w["non-cjkv"]="7*1,10*1,14*46"; +w["non-n"]="8*1"; +w["noninfring"]="3*1"; +w["noninfringement."]="3*1"; +w["norwegian"]="14*1"; +w["note"]="3*1,4*1,8*162,9*40,10*40,13*5"; +w["noth"]="15*1"; +w["notic"]="3*3"; +w["now"]="2*1,10*3"; +w["nquindex"]="9*2,10*6"; +w["ns"]="8*1"; +w["nuclei"]="16*1"; +w["nucleus"]="1*1"; +w["null"]="10*1"; +w["number"]="10*1"; +w["nwsearchfnt"]="2*2"; +w["nwsearchfnt.j"]="2*2"; +w["o"]="2*1,12*1"; +w["oasis-open"]="10*1"; +w["object"]="10*4"; +w["object."]="10*3"; +w["obtain"]="3*1"; +w["odd"]="4*1"; +w["ok"]="0*1"; +w["ok-xsl-1"]="0*1"; +w["ok-xsl-1.77.0"]="0*2"; +w["onc"]="8*1"; +w["one"]="2*1,10*1,15*1"; +w["onli"]="8*2,10*3,14*1"; +w["only."]="10*2"; +w["open"]="2*1,8*1,10*2"; +w["open.org"]="10*1"; +w["openstack"]="3*1"; +w["oper"]="0*2"; +w["option"]="9*1"; +w["org"]="10*1"; +w["organ"]="5*1"; +w["origin"]="3*1"; +w["other"]="0*2,3*6,6*1,7*1,8*3,10*2,14*46"; +w["others:"]="3*1"; +w["otherwis"]="3*2"; +w["ouput"]="8*1"; +w["out"]="3*1,6*1"; +w["output"]="0*3,2*1,4*1,5*1,6*2,7*2,8*56,10*1,13*2,15*47"; +w["output-dir"]="8*2"; +w["output."]="3*1,6*1"; +w["outsid"]="0*2"; +w["over"]="13*1"; +w["overal"]="5*1"; +w["overview"]="2*2,5*1,6*1,12*1"; +w["owe"]="0*1"; +w["own"]="2*1,6*3,8*3"; +w["oxygen"]="3*1"; +w["packag"]="3*3,7*52,8*8,10*1"; +w["package."]="6*1,8*1,10*1"; +w["page"]="3*1,5*5,6*2,12*4,15*1"; +w["page."]="12*1,15*1"; +w["pane"]="5*1,6*4,12*2"; +w["para"]="15*1"; +w["paramet"]="8*3,9*1"; +w["parameters."]="8*2"; +w["parent"]="5*1"; +w["part"]="2*1,3*1,5*1,9*1,15*1"; +w["particul"]="3*1"; +w["parts."]="2*1"; +w["pass"]="8*2"; +w["path"]="0*1,3*1,7*1,8*11,13*5"; +w["path-"]="8*4"; +w["paths."]="0*1"; + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-3.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-3.js new file mode 100644 index 0000000000..9a8057e62d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/index-3.js @@ -0,0 +1,388 @@ +//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa +w["pattern"]="8*1,13*2"; +w["patterns."]="8*1,13*1"; +w["pdf"]="4*2"; +w["peopl"]="9*1"; +w["perform"]="4*1,15*1"; +w["performance."]="4*1"; +w["permiss"]="3*2"; +w["permit"]="3*1"; +w["persist"]="5*1"; +w["persist:"]="5*1"; +w["person"]="3*2"; +w["phrase"]="15*1"; +w["pie"]="3*1"; +w["place"]="6*1"; +w["plain"]="4*1"; +w["pleas"]="3*1,14*1"; +w["plugin"]="0*2,3*2,5*2,6*1,8*1"; +w["plugin."]="3*1"; +w["png"]="4*2"; +w["point"]="7*1,8*5,15*1"; +w["popul"]="15*1"; +w["popular"]="10*1"; +w["porter"]="14*1"; +w["portion"]="3*1"; +w["portugues"]="14*1"; +w["posit"]="5*1,15*4"; +w["positioning.css"]="5*1,15*1"; +w["positions."]="15*1"; +w["possibl"]="3*2"; +w["pretti"]="9*1"; +w["prev"]="5*1"; +w["prior"]="3*1,9*1"; +w["privat"]="10*2"; +w["probabl"]="9*1"; +w["procedur"]="8*1,13*1"; +w["procedure 1"]="8*5"; +w["procedure 1. "]="8*1"; +w["process"]="2*2,5*1,8*3,9*2"; +w["processor"]="0*1,8*4"; +w["processors."]="8*1"; +w["produc"]="6*1"; +w["product"]="0*3"; +w["program"]="8*6"; +w["project"]="2*1,3*2,8*2,14*2"; +w["project."]="3*1"; +w["promot"]="3*1"; +w["prompt"]="8*2"; +w["prompt:"]="8*2"; +w["properti"]="8*5,10*2,13*1"; +w["provid"]="0*1,2*1,3*4,6*1,12*1"; +w["public"]="3*1,4*2,6*1"; +w["publish"]="3*2"; +w["punctuat"]="2*1,8*1"; +w["purpos"]="3*1"; +w["put"]="8*1,9*1,13*1"; +w["quain"]="3*1"; +w["queri"]="2*7,6*1,8*1"; +w["querying:"]="2*1"; +w["question"]="0*1,3*2,10*1"; +w["question."]="3*1"; +w["r"]="8*1"; +w["raphic"]="8*1"; +w["rate"]="6*1"; +w["read"]="12*1"; +w["readm"]="0*1,1*1,2*1,3*51,5*1,6*1,7*1,8*2,9*1,10*1,11*1,12*1,13*1,14*1,15*1,16*1"; +w["readme.xml"]="8*1"; +w["readme:"]="0*1,1*1,2*1,3*51,5*1,6*1,7*1,8*1,9*1,10*1,11*1,12*1,13*1,14*1,15*1,16*1"; +w["reason"]="0*2"; +w["recommend"]="4*41,7*1,15*1"; +w["recompil"]="2*1"; +w["redmond"]="15*2"; +w["refer"]="8*2,13*1"; +w["relat"]="3*1,8*1,13*5,15*1"; +w["releas"]="3*4"; +w["remov"]="9*1"; +w["render"]="12*1"; +w["replac"]="15*1"; +w["requir"]="6*2,14*1"; +w["resid"]="2*1,9*1"; +w["resourc"]="4*1"; +w["restor"]="12*1"; +w["restrict"]="3*1"; +w["result"]="2*2,3*1,6*5,12*2,15*1"; +w["result."]="6*1"; +w["results."]="2*1,6*1"; +w["return"]="2*1"; +w["revalid"]="4*2"; +w["right"]="3*1,15*1"; +w["rman"]="8*1"; +w["role"]="15*1"; +w["romanian"]="14*1"; +w["root"]="2*1,10*1"; +w["rss"]="4*1"; +w["run"]="2*2,8*1,9*2,10*2"; +w["russian"]="14*1"; +w["s"]="0*2,2*3,3*1,4*1,9*3,10*2,14*2,15*1"; +w["safari"]="0*1"; +w["safe"]="8*1"; +w["sale"]="3*1"; +w["same"]="8*2"; +w["sampl"]="3*1,6*1,7*3,8*2,13*11"; +w["sample.jpg"]="13*10"; +w["save"]="12*1"; +w["saxhtmlindex"]="10*1"; +w["saxhtmlindex.java"]="10*2"; +w["saxon"]="0*1,8*10"; +w["saxon-6"]="0*1,8*3"; +w["saxon-6.5.5.jar"]="0*1,8*3"; +w["saxon.jar"]="8*1"; +w["say"]="1*1,16*1"; +w["score"]="2*1,6*2"; +w["script"]="6*2,7*2,8*2,9*1"; +w["script."]="6*1,7*2,8*1,9*1"; +w["search"]="1*46,2*51,3*3,4*2,5*4,6*13,7*1,8*3,9*46,10*3,11*2,12*4,14*3,15*1,16*46"; +w["search-result."]="6*1"; +w["search."]="6*2,12*1"; +w["searching."]="2*1"; +w["section"]="5*1,7*1,11*51,13*1,15*1"; +w["sectioninfo"]="15*1"; +w["see"]="0*1,3*1,4*1,8*6,9*1,10*2,13*1,15*1"; +w["see."]="5*1"; +w["seem"]="9*1"; +w["self"]="10*1"; +w["sell"]="3*1"; +w["separ"]="5*1"; +w["serch"]="2*1"; +w["serv"]="4*1"; +w["server"]="2*1,4*2"; +w["servic"]="6*1"; +w["set"]="0*1,4*4,8*5,9*1,15*1"; +w["setoutputfilt"]="4*1"; +w["setting."]="4*1"; +w["shall"]="3*3"; +w["share"]="0*6,8*12,9*1"; +w["shell"]="7*1,8*1"; +w["should"]="2*1,8*1,9*1"; +w["show"]="6*2,13*1"; +w["shown"]="6*1,13*1"; +w["side"]="2*2,6*1"; +w["side."]="2*1"; +w["sidetreecontrol"]="5*1"; +w["similar"]="6*1"; +w["simpl"]="10*1,13*1"; +w["simple."]="10*1"; +w["simpli"]="2*2,8*1,15*1"; +w["simplifi"]="2*1"; +w["sinc"]="2*1,4*1"; +w["sky"]="1*1,16*1"; +w["small"]="6*3"; +w["smooth"]="9*1"; +w["snapshot"]="9*4"; +w["snowbal"]="3*1,10*6"; +w["snowballstemm"]="10*2"; +w["soft"]="3*1"; +w["softwar"]="3*15"; +w["software."]="3*2"; +w["some"]="1*46,2*1,3*2,8*1,9*2,11*2,16*46"; +w["sophist"]="6*1"; +w["sourc"]="2*2,8*1,13*2"; +w["source."]="2*1"; +w["sourceforg"]="9*1"; +w["sources."]="2*1"; +w["space"]="2*1"; +w["spanish"]="14*1"; +w["specifi"]="3*1,8*1,10*5"; +w["src"]="10*8"; +w["stale"]="4*1"; +w["start"]="7*1,8*2"; +w["state"]="12*2"; +w["stayton"]="4*1,15*1"; +w["stem"]="2*6,6*2,8*2,14*3"; +w["stemmer"]="2*3,3*2,8*1,10*74,12*1,14*3"; +w["stemmer."]="6*1,10*1"; +w["stemming."]="2*1"; +w["step"]="0*1,8*2"; +w["steps."]="10*1"; +w["store"]="2*2,4*1,8*2"; +w["string"]="3*1,10*3"; +w["structur"]="5*4"; +w["structure."]="5*2"; +w["studi"]="15*1"; +w["stuff"]="15*1"; +w["stuff."]="15*1"; +w["style"]="3*1,5*4,15*1"; +w["stylesheet"]="3*1,8*1"; +w["stylesheet-path"]="8*1"; +w["styling."]="5*1"; +w["subdirectori"]="13*1"; +w["subject"]="3*1"; +w["sublicens"]="3*1"; +w["substanti"]="3*1"; +w["such"]="2*1,4*1,10*1"; +w["summari"]="2*1,15*2"; +w["summaries."]="15*1"; +w["summer"]="3*1"; +w["support"]="0*2,2*3,3*2,6*3,7*1,10*3,14*49"; +w["supportedlanguag"]="3*1,10*8"; +w["suppress.footer.navig"]="8*1"; +w["sure"]="10*1"; +w["svn"]="2*1"; +w["swedish"]="14*1"; +w["swf"]="4*2"; +w["synchron"]="6*1"; +w["syncro"]="3*1"; +w["system"]="0*2,6*1,8*4,12*1,15*1"; +w["system."]="6*1,8*3"; +w["system:"]="8*1"; +w["t"]="0*2,2*1,4*1,6*1,8*1,9*1,15*1"; +w["tab"]="5*7,8*1"; +w["tab."]="5*2,8*1"; +w["tab:"]="5*1"; +w["tabl"]="5*3,6*2,7*5,11*5,12*8"; +w["tabs."]="5*1"; +w["tag"]="5*2"; +w["tagsoup"]="3*1"; +w["target"]="6*1"; +w["target."]="6*1"; +w["task"]="9*1,14*1"; +w["technic"]="6*1"; +w["tell"]="8*1"; +w["templat"]="3*2,6*1,10*2"; +w["template."]="14*1"; +w["term"]="6*2"; +w["test"]="0*3,1*46,8*5,11*53,16*46"; +w["test-ouput"]="8*1"; +w["test-output"]="8*3"; +w["text"]="2*1,4*5,8*1,10*1"; +w["that"]="2*2,3*3,4*2,5*1,6*2,8*11,10*2,12*1,13*2"; +w["them"]="4*1,9*1"; +w["them."]="2*1"; +w["theme"]="15*7"; +w["theme-redmond"]="15*3"; +w["then"]="2*1,6*1,10*6,13*1,15*1"; +w["there"]="0*1,2*1,10*1"; +w["therefor"]="14*1"; +w["these"]="2*1,4*2,9*3,12*1,14*1,15*1"; +w["they"]="8*3,12*1"; +w["thingbag"]="3*2"; +w["those"]="4*1,13*1"; +w["though"]="8*1"; +w["three"]="2*2,5*1,9*1"; +w["time"]="6*1"; +w["tion"]="4*1"; +w["tip"]="8*41,15*40"; +w["titl"]="2*1,5*1,13*2"; +w["toc"]="5*2,6*4,15*1"; +w["toc."]="6*1"; +w["token"]="2*2,3*1"; +w["too"]="2*1"; +w["tool"]="8*1"; +w["tools.jar"]="8*1"; +w["top"]="6*1,8*1,15*1"; +w["top-level"]="8*1"; +w["topic"]="15*1"; +w["topic."]="5*1"; +w["tort"]="3*1"; +w["total"]="2*1"; +w["transform"]="0*3"; +w["travers"]="2*1"; +w["tree"]="5*6,6*1,12*1,13*2,15*1"; +w["tree."]="6*1,15*1"; +w["tree:"]="5*1,13*1"; +w["treeview"]="5*2,15*3"; +w["tri"]="1*1,16*1"; +w["true"]="5*1,8*4"; +w["trunk"]="2*3"; +w["turkish"]="14*1"; +w["two"]="2*1,5*1,9*2,10*2,15*1"; +w["txt"]="3*1,4*2"; +w["type"]="4*1,8*4"; +w["u"]="5*1,8*1"; +w["ui"]="5*1,15*1"; +w["ul"]="5*1"; +w["unchang"]="15*1"; +w["unchanged."]="15*1"; +w["uncompress"]="4*1"; +w["under"]="3*6,9*1"; +w["understandable."]="10*1"; +w["undertak"]="14*1"; +w["unix"]="7*1,8*1"; +w["unnecessari"]="2*1"; +w["unord"]="5*1"; +w["unzip"]="8*2"; +w["up"]="1*1,2*2,4*1,5*1,8*1,9*1,10*1,13*1,14*1,15*1,16*1"; +w["updat"]="4*1"; +w["us"]="10*1"; +w["use"]="2*2,3*5,5*2,6*7,7*56,8*55,10*1,13*5,14*2,15*48"; +w["used."]="2*1"; +w["user"]="0*6,2*2,3*1,4*1,6*1,8*1,14*1"; +w["usr"]="0*6,8*12,9*1"; +w["utf"]="4*1"; +w["utf-8"]="4*1"; +w["valid"]="8*2"; +w["validate-against-dtd"]="8*1"; +w["valu"]="8*4"; +w["var"]="2*1"; +w["vari"]="1*1,16*1"; +w["variabl"]="8*3,9*1"; +w["variable."]="9*1"; +w["variables."]="8*1"; +w["various"]="4*1"; +w["veri"]="10*1"; +w["verison"]="14*1"; +w["version"]="0*1,3*1,8*3,9*4,10*2,14*2"; +w["versions."]="9*1"; +w["visitha"]="3*1"; +w["w"]="2*1"; +w["wan"]="0*1"; +w["warn"]="0*2"; +w["warranti"]="3*7"; +w["warranty: "]="3*5"; +w["was"]="3*3"; +w["way"]="9*1,15*1"; +w["ways:"]="15*1"; +w["we"]="0*1,2*1,4*1,5*2,9*3"; +w["web"]="0*1,1*1,2*1,3*51,4*1,5*1,6*3,7*1,8*1,9*2,10*1,11*1,12*1,13*1,14*1,15*1,16*1"; +w["web-bas"]="0*1,1*1,2*1,3*51,5*1,6*2,7*1,8*1,9*1,10*1,11*1,12*1,13*1,14*1,15*1,16*1"; +w["webhelp"]="0*15,2*2,3*2,5*2,6*1,7*1,8*54,9*8,10*10,12*1,13*7"; +w["webhelp-index"]="0*2"; +w["webhelp-indexer."]="0*2"; +w["webhelp."]="8*1,10*2,13*1"; +w["webhelp.include.search.tab"]="8*1"; +w["webhelp.indexer.languag"]="3*1,8*1,10*2"; +w["webhelp.xsl"]="8*3"; +w["webhelpindex"]="2*3,9*1"; +w["webhelpindexer.jar"]="2*1,9*1"; +w["week"]="4*1"; +w["weight"]="3*1,6*1"; +w["well"]="0*3,9*1"; +w["well."]="9*1"; +w["were"]="3*1,9*1,12*2"; +w["what"]="0*4,6*1,10*1,13*1"; +w["when"]="0*2,2*1,5*2,8*1,12*2,15*1"; +w["where"]="0*4,6*1,7*1,8*1,9*1,10*1"; +w["whether"]="2*1,3*1"; +w["which"]="2*1,5*1,8*2,9*1,15*2"; +w["whom"]="3*1"; +w["width"]="15*1"; +w["wiki"]="0*1"; +w["will"]="3*3,8*3,9*1"; +w["window"]="7*1,8*2"; +w["without"]="3*4,6*1"; +w["word"]="1*46,2*8,6*1,11*2,16*46"; +w["work"]="8*2"; +w["would"]="2*1"; +w["write"]="10*1"; +w["writt"]="8*1"; +w["written"]="3*2,10*1"; +w["x"]="0*1,4*1,8*1"; +w["x-javascript"]="4*1"; +w["xerc"]="8*3"; +w["xerces2"]="8*1"; +w["xercesimpl"]="8*2,9*1"; +w["xercesimpl.jar"]="0*2,8*11,9*1"; +w["xhtml"]="0*9,3*1,4*1,8*1"; +w["xhtml."]="0*1"; +w["xml"]="0*3,1*2,2*1,3*52,4*7,5*1,6*1,7*2,8*74,9*2,10*1,11*1,12*1,13*1,14*1,15*1,16*2"; +w["xml-api"]="8*2,9*1"; +w["xml-apis.jar"]="0*2,8*11,9*1"; +w["xml-common"]="8*3"; +w["xml-commons:"]="8*3"; +w["xml."]="8*1"; +w["xml:"]="4*1"; +w["xp"]="8*1"; +w["xsl"]="0*2,2*2,4*3,5*1,8*3,9*2,15*2"; +w["xsl-webhelpindex"]="2*1"; +w["xsl:"]="0*2,4*3,15*1"; +w["xsls"]="8*1"; +w["xslt"]="0*3,8*5"; +w["xslt-processor-cl"]="8*3"; +w["xslt-processor-classpath"]="0*2,8*1"; +w["xsltproc"]="7*5,8*5"; +w["yahoogroup"]="3*1"; +w["yahoogroup."]="3*1"; +w["yes"]="0*1"; +w["yourfil"]="8*1"; +w["yourfile.xml"]="8*2"; +w["zh"]="8*1"; +w[" "]="0*4,1*3,2*3,3*8,4*3,5*3,6*4,7*4,8*4,9*3,10*3,11*4,12*4,13*3,14*3,15*3,16*3"; +w[" add"]="10*5"; +w[" exampl"]="13*5"; +w[" initi"]="10*5"; +w[" sampl"]="13*5"; +w["©"]="3*1"; +w["’d"]="0*1"; +w["“"]="3*1"; + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/ja-jp.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/ja-jp.props new file mode 100644 index 0000000000..27568054c7 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/ja-jp.props @@ -0,0 +1 @@ +J01=\\u306B \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/l10n.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/l10n.js new file mode 100644 index 0000000000..f25bb8f628 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/l10n.js @@ -0,0 +1,5 @@ + + //Resource strings for localization + var localeresource = new Object; + localeresource["search_no_results"]="Your search returned no results."; + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/nwSearchFnt.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/nwSearchFnt.js new file mode 100644 index 0000000000..b115dbe033 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/nwSearchFnt.js @@ -0,0 +1,886 @@ +/*---------------------------------------------------------------------------- + * JavaScript for webhelp search + *---------------------------------------------------------------------------- + This file is part of the webhelpsearch plugin for DocBook WebHelp + Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved. + www.nexwave.biz Nadege Quaine + http://kasunbg.blogspot.com/ Kasun Gajasinghe + */ + +//string initialization +var htmlfileList = "htmlFileInfoList.js"; +var htmlfileinfoList = "htmlFileInfoList.js"; +var useCJKTokenizing = false; + +var w = new Object(); +var scoring = new Object(); + +var searchTextField = ''; +var no = 0; +var noWords = 0; +var partialSearch = "There is no page containing all the search terms.
        Partial results:
        "; +var warningMsg = '
        '; +warningMsg+='Please note that due to security settings, Google Chrome does not highlight'; +warningMsg+=' the search results in the right frame.
        '; +warningMsg+='This happens only when the WebHelp files are loaded from the local file system.
        '; +warningMsg+='Workarounds:'; +warningMsg+='
          '; +warningMsg+='
        • Try using another web browser.
        • '; +warningMsg+='
        • Deploy the WebHelp files on a web server.
        • '; +warningMsg+='
        '; +txt_filesfound = 'Results'; +txt_enter_at_least_1_char = "You must enter at least one character."; +txt_enter_more_than_10_words = "Only first 10 words will be processed."; +txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; +txt_please_wait = "Please wait. Search in progress..."; +txt_results_for = "Results for: "; + +/* This function verify the validity of search input by the user + Cette fonction verifie la validite de la recherche entrre par l utilisateur */ +function Verifie(searchForm) { + + // Check browser compatibility + if (navigator.userAgent.indexOf("Konquerer") > -1) { + + alert(txt_browser_not_supported); + return; + } + + searchTextField = trim(document.searchForm.textToSearch.value); + searchTextField = searchTextField.replace(/['"]/g,''); + var expressionInput = searchTextField; + $.cookie('textToSearch', expressionInput); + + if (expressionInput.length < 1) { + + // expression is invalid + alert(txt_enter_at_least_1_char); + // reactive la fenetre de search (utile car cadres) + + document.searchForm.textToSearch.focus(); + } + else { + var splitSpace = searchTextField.split(" "); + var splitWords = []; + for (var i = 0 ; i < splitSpace.length ; i++) { + var splitDot = splitSpace[i].split("."); + + if(!(splitDot.length == 1)){ + splitWords.push(splitSpace[i]); + } + + for (var i1 = 0; i1 < splitDot.length; i1++) { + var splitColon = splitDot[i1].split(":"); + for (var i2 = 0; i2 < splitColon.length; i2++) { + var splitDash = splitColon[i2].split("-"); + for (var i3 = 0; i3 < splitDash.length; i3++) { + if (splitDash[i3].split("").length > 0) { + splitWords.push(splitDash[i3]); + } + } + } + } + } + noWords = splitWords; + if (noWords.length > 9){ + // Allow to search maximum 10 words + alert(txt_enter_more_than_10_words); + expressionInput = ''; + for (var x = 0 ; x < 10 ; x++){ + expressionInput = expressionInput + " " + noWords[x]; + } + Effectuer_recherche(expressionInput); + document.searchForm.textToSearch.focus(); + } else { + // Effectuer la recherche + expressionInput = ''; + for (var x = 0 ; x < noWords.length ; x++) { + expressionInput = expressionInput + " " + noWords[x]; + } + Effectuer_recherche(expressionInput); + // reactive la fenetre de search (utile car cadres) + document.searchForm.textToSearch.focus(); + } + } +} + +var stemQueryMap = new Array(); // A hashtable which maps stems to query words + +/* This function parses the search expression, loads the indices and displays the results*/ +function Effectuer_recherche(expressionInput) { + + /* Display a waiting message */ + //DisplayWaitingMessage(); + + /*data initialisation*/ + var searchFor = ""; // expression en lowercase et sans les caracte res speciaux + //w = new Object(); // hashtable, key=word, value = list of the index of the html files + scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for + var wordsList = new Array(); // Array with the words to look for + var finalWordsList = new Array(); // Array with the words to look for after removing spaces + var linkTab = new Array(); + var fileAndWordList = new Array(); + var txt_wordsnotfound = ""; + + + // -------------------------------------- + // Begin Thu's patch + /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/ + //The original replacement expression is: + //searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, " 0){ + var searchedWords = noWords.length; + var foundedWords = fileAndWordList[0][0].motslisteDisplay.split(",").length; + //console.info("search : " + noWords.length + " found : " + fileAndWordList[0][0].motslisteDisplay.split(",").length); + if (searchedWords != foundedWords){ + linkTab.push(partialSearch); + } + } + + + for (var i = 0; i < cpt; i++) { + + var hundredProcent = fileAndWordList[i][0].scoring + 100 * fileAndWordList[i][0].motsnb; + var ttScore_first = fileAndWordList[i][0].scoring; + var numberOfWords = fileAndWordList[i][0].motsnb; + + if (fileAndWordList[i] != undefined) { + linkTab.push("

        " + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "

        "); + + linkTab.push("
          "); + for (t in fileAndWordList[i]) { + //linkTab.push("
        • "+fl[fileAndWordList[i][t].filenb]+"
        • "); + + var ttInfo = fileAndWordList[i][t].filenb; + // Get scoring + var ttScore = fileAndWordList[i][t].scoring; + var tempInfo = fil[ttInfo]; + + var pos1 = tempInfo.indexOf("@@@"); + var pos2 = tempInfo.lastIndexOf("@@@"); + var tempPath = tempInfo.substring(0, pos1); + var tempTitle = tempInfo.substring(pos1 + 3, pos2); + var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length); + + + // toc.html will not be displayed on search result + if (tempPath == 'toc.html'){ + continue; + } + /* + //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html + var linkString = "
        • " + tempTitle + ""; + // var linkString = "
        • " + tempTitle + ""; + */ + var split = fileAndWordList[i][t].motsliste.split(","); + // var splitedValues = expressionInput.split(" "); + // var finalArray = split.concat(splitedValues); + + arrayString = 'Array('; + for(var x in finalArray){ + if (finalArray[x].length > 2 || useCJKTokenizing){ + arrayString+= "'" + finalArray[x] + "',"; + } + } + arrayString = arrayString.substring(0,arrayString.length - 1) + ")"; + var idLink = 'foundLink' + no; + var linkString = '
        • ' + tempTitle + ''; + var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords); + starWidth = starWidth < 10 ? (starWidth + 5) : starWidth; + // Keep the 5 stars format + if (starWidth > 85){ + starWidth = 85; + } + /* + var noFullStars = Math.ceil(starWidth/17); + var fullStar = "curr"; + var emptyStar = ""; + if (starWidth % 17 == 0){ + // am stea plina + + } else { + + } + console.info(noFullStars); + */ + // Also check if we have a valid description + if ((tempShortdesc != "null" && tempShortdesc != '...')) { + + linkString += "\n
          " + tempShortdesc + "
          "; + } + linkString += "
        • "; + + // Add rating values for scoring at the list of matches + linkString += "
          "; + linkString += "
          "; + //linkString += "
          " + // + ((ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent)) * 1 + "
          "; + linkString += "
            "; + linkString += "
          • "; + linkString += "
          "; + + linkString += "
          "; + linkString += "
          "; + linkString += "
          "; + //linkString += 'Rating: ' + ttScore + ''; + + linkTab.push(linkString); + no++; + } + linkTab.push("
        "); + } + } + } + + var results = ""; + if (linkTab.length > 0) { + /*writeln ("

        " + txt_results_for + " " + "" + cleanwordsList + "" + "
        "+"

        ");*/ + results = "

        "; + //write("

          "); + for (t in linkTab) { + results += linkTab[t].toString(); + } + results += "

          "; + } else { + results = "

          " + localeresource.search_no_results + " " + txt_wordsnotfound + "" + "

          "; + } + + + // Verify if the browser is Google Chrome and the WebHelp is used on a local machine + // If browser is Google Chrome and WebHelp is used on a local machine a warning message will appear + // Highlighting will not work in this conditions. There is 2 workarounds + if (verifyBrowser()){ + document.getElementById('searchResults').innerHTML = results; + } else { + document.getElementById('searchResults').innerHTML = warningMsg + results; + } + +} + + +// Verify if the stemmed word is aproximately the same as the searched word +function verifyWord(word, arr){ + for (var i = 0 ; i < arr.length ; i++){ + if (word[0] == arr[i][0] + && word[1] == arr[i][1] + //&& word[2] == arr[i][2] + ){ + return true; + } + } + return false; +} + +// Look for elements that start with searchedValue. +function wordsStartsWith(searchedValue){ + var toReturn = ''; + for (var sv in w){ + if (searchedValue.length < 3){ + continue; + } else { + if (sv.toLowerCase().indexOf(searchedValue.toLowerCase()) == 0){ + toReturn+=sv + ","; + } + } + } + return toReturn.length > 0 ? toReturn : undefined; +} + + +function tokenize(wordsList){ + var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces + var cleanwordsList = new Array(); // Array with the words to look for + // ------------------------------------------------- + // Thu's patch + for(var j=0;j"; + return this.input.substring(this.offset,this.offset+2); + } + + function getAllTokens(){ + while(this.incrementToken()){ + var tmp = this.tokenize(); + this.tokens.push(tmp); + } + return this.unique(this.tokens); +// document.getElementById("content").innerHTML += tokens+" "; +// document.getElementById("content").innerHTML += "
          dada"+sortedTokens+" "; +// console.log(tokens.length+"dsdsds"); + /*for(i=0;i t2.length) { + return 1; + } else { + return -1; + } + //return t1.length - t2.length); +} + +// return false if browser is Google Chrome and WebHelp is used on a local machine, not a web server +function verifyBrowser(){ + var returnedValue = true; + var browser = BrowserDetect.browser; + var addressBar = window.location.href; + if (browser == 'Chrome' && addressBar.indexOf('file://') === 0){ + returnedValue = false; + } + + return returnedValue; +} + +// Remove duplicate values from an array +function removeDuplicate(arr) { + var r = new Array(); + o:for(var i = 0, n = arr.length; i < n; i++) { + for(var x = 0, y = r.length; x < y; x++) { + if(r[x]==arr[i]) continue o; + } + r[r.length] = arr[i]; + } + return r; +} + +// Create startsWith method +String.prototype.startsWith = function(str) { + return (this.match("^"+str)==str); +} + +function trim(str, chars) { + return ltrim(rtrim(str, chars), chars); +} + +function ltrim(str, chars) { + chars = chars || "\\s"; + return str.replace(new RegExp("^[" + chars + "]+", "g"), ""); +} + +function rtrim(str, chars) { + chars = chars || "\\s"; + return str.replace(new RegExp("[" + chars + "]+$", "g"), ""); +} diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/punctuation.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/punctuation.props new file mode 100644 index 0000000000..d3e3fcd28b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/punctuation.props @@ -0,0 +1,31 @@ +Punct01=\\u3002 +Punct02=\\u3003 +Punct03=\\u300C +Punct04=\\u300D +Punct05=\\u300E +Punct06=\\u300F +Punct07=\\u301D +Punct08=\\u301E +Punct09=\\u301F +Punct10=\\u309B +Punct11=\\u2018 +Punct12=\\u2019 +Punct13=\\u201A +Punct14=\\u201C +Punct15=\\u201D +Punct16=\\u201E +Punct17=\\u2032 +Punct18=\\u2033 +Punct19=\\u2035 +Punct20=\\u2039 +Punct21=\\u203A +Punct22=\\u201E +Punct23=\\u00BB +Punct24=\\u00AB +Punct25=© +Punct26=’ +Punct27=\\u00A0 +Punct28=\\u2014 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/de_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/de_stemmer.js new file mode 100644 index 0000000000..7ff3822a45 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/de_stemmer.js @@ -0,0 +1,247 @@ +/* + * Author: Joder Illi + * + * Copyright (c) 2010, FormBlitz AG + * All rights reserved. + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/german/stemmer.html + * Copyright of the algorithm is: Copyright (c) 2001, Dr Martin Porter and can be found at http://snowball.tartarus.org/license.php + * + * Redistribution and use in source and binary forms, with or without modification, is covered by the standard BSD license. + * + */ + +//var stemmer = function Stemmer() { + /* + German includes the following accented forms, + ä ö ü + and a special letter, ß, equivalent to double s. + The following letters are vowels: + a e i o u y ä ö ü + */ + + var stemmer = function(word) { + /* + Put u and y between vowels into upper case + */ + word = word.replace(/([aeiouyäöü])u([aeiouyäöü])/g, '$1U$2'); + word = word.replace(/([aeiouyäöü])y([aeiouyäöü])/g, '$1Y$2'); + + /* + and then do the following mappings, + (a) replace ß with ss, + (a) replace ae with ä, Not doing these, have trouble with diphtongs + (a) replace oe with ö, Not doing these, have trouble with diphtongs + (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs + So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found. + */ + word = word.replace(/ß/g, 'ss'); + //word = word.replace(/ae/g, 'ä'); + //word = word.replace(/oe/g, 'ö'); + //word = word.replace(/([^q])ue/g, '$1ü'); + + /* + R1 and R2 are first set up in the standard way (see the note on R1 and R2), but then R1 is adjusted so that the region before it contains at least 3 letters. + R1 is the region after the first non-vowel following a vowel, or is the null region at the end of the word if there is no such non-vowel. + R2 is the region after the first non-vowel following a vowel in R1, or is the null region at the end of the word if there is no such non-vowel. + */ + + var r1Index = word.search(/[aeiouyäöü][^aeiouyäöü]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } + + var r2Index = -1; + var r2 = ''; + + if (r1Index != -1) { + var r2Index = r1.search(/[aeiouyäöü][^aeiouyäöü]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + } + } + + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Define a valid s-ending as one of b, d, f, g, h, k, l, m, n, r or t. + Define a valid st-ending as the same list, excluding letter r. + */ + + /* + Do each of steps 1, 2 and 3. + */ + + /* + Step 1: + Search for the longest among the following suffixes, + (a) em ern er + (b) e en es + (c) s (preceded by a valid s-ending) + */ + var a1Index = word.search(/(em|ern|er)$/g); + var b1Index = word.search(/(e|en|es)$/g); + var c1Index = word.search(/([bdfghklmnrt]s)$/g); + if (c1Index != -1) { + c1Index++; + } + var index1 = 10000; + var optionUsed1 = ''; + if (a1Index != -1 && a1Index < index1) { + optionUsed1 = 'a'; + index1 = a1Index; + } + if (b1Index != -1 && b1Index < index1) { + optionUsed1 = 'b'; + index1 = b1Index; + } + if (c1Index != -1 && c1Index < index1) { + optionUsed1 = 'c'; + index1 = c1Index; + } + + /* + and delete if in R1. (Of course the letter of the valid s-ending is not necessarily in R1.) If an ending of group (b) is deleted, and the ending is preceded by niss, delete the final s. + (For example, äckern -> äck, ackers -> acker, armes -> arm, bedürfnissen -> bedürfnis) + */ + + if (index1 != 10000 && r1Index != -1) { + if (index1 >= r1Index) { + word = word.substring(0, index1); + if (optionUsed1 == 'b') { + if (word.search(/niss$/) != -1) { + word = word.substring(0, word.length -1); + } + } + } + } + /* + Step 2: + Search for the longest among the following suffixes, + (a) en er est + (b) st (preceded by a valid st-ending, itself preceded by at least 3 letters) + */ + + var a2Index = word.search(/(en|er|est)$/g); + var b2Index = word.search(/(.{3}[bdfghklmnt]st)$/g); + if (b2Index != -1) { + b2Index += 4; + } + + var index2 = 10000; + var optionUsed2 = ''; + if (a2Index != -1 && a2Index < index2) { + optionUsed2 = 'a'; + index2 = a2Index; + } + if (b2Index != -1 && b2Index < index2) { + optionUsed2 = 'b'; + index2 = b2Index; + } + + /* + and delete if in R1. + (For example, derbsten -> derbst by step 1, and derbst -> derb by step 2, since b is a valid st-ending, and is preceded by just 3 letters) + */ + + if (index2 != 10000 && r1Index != -1) { + if (index2 >= r1Index) { + word = word.substring(0, index2); + } + } + + /* + Step 3: d-suffixes (*) + Search for the longest among the following suffixes, and perform the action indicated. + end ung + delete if in R2 + if preceded by ig, delete if in R2 and not preceded by e + ig ik isch + delete if in R2 and not preceded by e + lich heit + delete if in R2 + if preceded by er or en, delete if in R1 + keit + delete if in R2 + if preceded by lich or ig, delete if in R2 + */ + + var a3Index = word.search(/(end|ung)$/g); + var b3Index = word.search(/[^e](ig|ik|isch)$/g); + var c3Index = word.search(/(lich|heit)$/g); + var d3Index = word.search(/(keit)$/g); + if (b3Index != -1) { + b3Index ++; + } + + var index3 = 10000; + var optionUsed3 = ''; + if (a3Index != -1 && a3Index < index3) { + optionUsed3 = 'a'; + index3 = a3Index; + } + if (b3Index != -1 && b3Index < index3) { + optionUsed3 = 'b'; + index3 = b3Index; + } + if (c3Index != -1 && c3Index < index3) { + optionUsed3 = 'c'; + index3 = c3Index; + } + if (d3Index != -1 && d3Index < index3) { + optionUsed3 = 'd'; + index3 = d3Index; + } + + if (index3 != 10000 && r2Index != -1) { + if (index3 >= r2Index) { + word = word.substring(0, index3); + var optionIndex = -1; + var optionSubsrt = ''; + if (optionUsed3 == 'a') { + optionIndex = word.search(/[^e](ig)$/); + if (optionIndex != -1) { + optionIndex++; + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'c') { + optionIndex = word.search(/(er|en)$/); + if (optionIndex != -1) { + if (optionIndex >= r1Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'd') { + optionIndex = word.search(/(lich|ig)$/); + if (optionIndex != -1) { + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } + } + } + + /* + Finally, + turn U and Y back into lower case, and remove the umlaut accent from a, o and u. + */ + word = word.replace(/U/g, 'u'); + word = word.replace(/Y/g, 'y'); + word = word.replace(/ä/g, 'a'); + word = word.replace(/ö/g, 'o'); + word = word.replace(/ü/g, 'u'); + + return word; + }; +//} \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/en_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/en_stemmer.js new file mode 100644 index 0000000000..2117c1bfb3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/en_stemmer.js @@ -0,0 +1,234 @@ +// Porter stemmer in Javascript. Few comments, but it's easy to follow against the rules in the original +// paper, in +// +// Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, +// no. 3, pp 130-137, +// +// see also http://www.tartarus.org/~martin/PorterStemmer + +// Release 1 +// Derived from (http://tartarus.org/~martin/PorterStemmer/js.txt) - cjm (iizuu) Aug 24, 2009 + +var stemmer = (function(){ + var step2list = { + "ational" : "ate", + "tional" : "tion", + "enci" : "ence", + "anci" : "ance", + "izer" : "ize", + "bli" : "ble", + "alli" : "al", + "entli" : "ent", + "eli" : "e", + "ousli" : "ous", + "ization" : "ize", + "ation" : "ate", + "ator" : "ate", + "alism" : "al", + "iveness" : "ive", + "fulness" : "ful", + "ousness" : "ous", + "aliti" : "al", + "iviti" : "ive", + "biliti" : "ble", + "logi" : "log" + }, + + step3list = { + "icate" : "ic", + "ative" : "", + "alize" : "al", + "iciti" : "ic", + "ical" : "ic", + "ful" : "", + "ness" : "" + }, + + c = "[^aeiou]", // consonant + v = "[aeiouy]", // vowel + C = c + "[^aeiouy]*", // consonant sequence + V = v + "[aeiou]*", // vowel sequence + + mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 + meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 + mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 + s_v = "^(" + C + ")?" + v; // vowel in stem + + return function (w) { + var stem, + suffix, + firstch, + re, + re2, + re3, + re4, + origword = w; + + if (w.length < 3) { return w; } + + firstch = w.substr(0,1); + if (firstch == "y") { + w = firstch.toUpperCase() + w.substr(1); + } + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) { w = w.replace(re,"$1$2"); } + else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) { w = w + "e"; } + else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } + else if (re4.test(w)) { w = w + "e"; } + } + } + + // Step 1c + re = new RegExp("^(.+" + c + ")y$"); + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step2list[suffix]; + } + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step3list[suffix]; + } + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) { + w = stem; + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) { + w = stem; + } + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { + w = stem; + } + } + + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + + if (firstch == "y") { + w = firstch.toLowerCase() + w.substr(1); + } + + // See http://snowball.tartarus.org/algorithms/english/stemmer.html + // "Exceptional forms in general" + var specialWords = { + "skis" : "ski", + "skies" : "sky", + "dying" : "die", + "lying" : "lie", + "tying" : "tie", + "idly" : "idl", + "gently" : "gentl", + "ugly" : "ugli", + "early": "earli", + "only": "onli", + "singly": "singl" + }; + + if(specialWords[origword]){ + w = specialWords[origword]; + } + + if( "sky news howe atlas cosmos bias \ + andes inning outing canning herring \ + earring proceed exceed succeed".indexOf(origword) !== -1 ){ + w = origword; + } + + // Address words overstemmed as gener- + re = /.*generate?s?d?(ing)?$/; + if( re.test(origword) ){ + w = w + 'at'; + } + re = /.*general(ly)?$/; + if( re.test(origword) ){ + w = w + 'al'; + } + re = /.*generic(ally)?$/; + if( re.test(origword) ){ + w = w + 'ic'; + } + re = /.*generous(ly)?$/; + if( re.test(origword) ){ + w = w + 'ous'; + } + // Address words overstemmed as commun- + re = /.*communit(ies)?y?/; + if( re.test(origword) ){ + w = w + 'iti'; + } + + return w; + } +})(); diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/fr_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/fr_stemmer.js new file mode 100644 index 0000000000..34f9743132 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docs/search/stemmers/fr_stemmer.js @@ -0,0 +1,299 @@ +/* + * Author: Kasun Gajasinghe + * E-Mail: kasunbg AT gmail DOT com + * Date: 09.08.2010 + * + * usage: stemmer(word); + * ex: var stem = stemmer(foobar); + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/french/stemmer.html + * + * LICENSE: + * + * Copyright (c) 2010, Kasun Gajasinghe. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * + * THIS SOFTWARE IS PROVIDED BY KASUN GAJASINGHE ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KASUN GAJASINGHE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ + +var stemmer = function(word){ +// Letters in French include the following accented forms, +// â à ç ë é ê è ï î ô û ù +// The following letters are vowels: +// a e i o u y â à ë é ê è ï î ô û ù + + word = word.toLowerCase(); + var oriWord = word; + word = word.replace(/qu/g, 'qU'); //have to perform first, as after the operation, capital U is not treated as a vowel + word = word.replace(/([aeiouyâàëéêèïîôûù])u([aeiouyâàëéêèïîôûù])/g, '$1U$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])i([aeiouyâàëéêèïîôûù])/g, '$1I$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])y/g, '$1Y'); + word = word.replace(/y([aeiouyâàëéêèïîôûù])/g, 'Y$1'); + + var rv=''; + var rvIndex = -1; + if(word.search(/^(par|col|tap)/) != -1 || word.search(/^[aeiouyâàëéêèïîôûù]{2}/) != -1){ + rv = word.substring(3); + rvIndex = 3; + } else { + rvIndex = word.substring(1).search(/[aeiouyâàëéêèïîôûù]/); + if(rvIndex != -1){ + rvIndex +=2; //+2 is to supplement the substring(1) used to find rvIndex + rv = word.substring(rvIndex); + } else { + rvIndex = word.length; + } + } + +// R1 is the region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel. +// R2 is the region after the first non-vowel following a vowel in R1, or the end of the word if there is no such non-vowel + var r1Index = word.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } else { + r1Index = word.length; + } + + var r2Index = -1; + var r2 = ''; + if (r1Index != -1) { + r2Index = r1.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + r2Index = word.length; + } + } + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Step 1: Standard suffix removal + */ + var a1Index = word.search(/(ance|iqUe|isme|able|iste|eux|ances|iqUes|ismes|ables|istes)$/); + var a2Index = word.search(/(atrice|ateur|ation|atrices|ateurs|ations)$/); + var a3Index = word.search(/(logie|logies)$/); + var a4Index = word.search(/(usion|ution|usions|utions)$/); + var a5Index = word.search(/(ence|ences)$/); + var a6Index = word.search(/(ement|ements)$/); + var a7Index = word.search(/(ité|ités)$/); + var a8Index = word.search(/(if|ive|ifs|ives)$/); + var a9Index = word.search(/(eaux)$/); + var a10Index = word.search(/(aux)$/); + var a11Index = word.search(/(euse|euses)$/); + var a12Index = word.search(/[^aeiouyâàëéêèïîôûù](issement|issements)$/); + var a13Index = word.search(/(amment)$/); + var a14Index = word.search(/(emment)$/); + var a15Index = word.search(/[aeiouyâàëéêèïîôûù](ment|ments)$/); + + if(a1Index != -1 && a1Index >= r2Index){ + word = word.substring(0,a1Index); + } else if(a2Index != -1 && a2Index >= r2Index){ + word = word.substring(0,a2Index); + var a2Index2 = word.search(/(ic)$/); + if(a2Index2 != -1 && a2Index2 >= r2Index){ + word = word.substring(0, a2Index2); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(a3Index != -1 && a3Index >= r2Index){ + word = word.replace(/(logie|logies)$/,'log'); //replace with log if in R2 + } else if(a4Index != -1 && a4Index >= r2Index){ + word = word.replace(/(usion|ution|usions|utions)$/,'u'); //replace with u if in R2 + } else if(a5Index != -1 && a5Index >= r2Index){ + word = word.replace(/(ence|ences)$/,'ent'); //replace with ent if in R2 + } else if(a6Index != -1 && a6Index >= rvIndex){ + word = word.substring(0,a6Index); + if(word.search(/(iv)$/) >= r2Index){ + word = word.replace(/(iv)$/, ''); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + } + } else if(word.search(/(eus)$/) != -1){ + var a6Index2 = word.search(/(eus)$/); + if(a6Index2 >=r2Index){ + word = word.substring(0, a6Index2); + } else if(a6Index2 >= r1Index){ + word = word.substring(0,a6Index2)+"eux"; + } + } else if(word.search(/(abl|iqU)$/) >= r2Index){ + word = word.replace(/(abl|iqU)$/,''); //if preceded by abl or iqU, delete if in R2, + } else if(word.search(/(ièr|Ièr)$/) >= rvIndex){ + word = word.replace(/(ièr|Ièr)$/,'i'); //if preceded by abl or iqU, delete if in R2, + } + } else if(a7Index != -1 && a7Index >= r2Index){ + word = word.substring(0,a7Index); //delete if in R2 + if(word.search(/(abil)$/) != -1){ //if preceded by abil, delete if in R2, else replace by abl, otherwise, + var a7Index2 = word.search(/(abil)$/); + if(a7Index2 >=r2Index){ + word = word.substring(0, a7Index2); + } else { + word = word.substring(0,a7Index2)+"abl"; + } + } else if(word.search(/(ic)$/) != -1){ + var a7Index3 = word.search(/(ic)$/); + if(a7Index3 != -1 && a7Index3 >= r2Index){ + word = word.substring(0, a7Index3); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(word.search(/(iv)$/) != r2Index){ + word = word.replace(/(iv)$/,''); + } + } else if(a8Index != -1 && a8Index >= r2Index){ + word = word.substring(0,a8Index); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + if(word.search(/(ic)$/) >= r2Index){ + word = word.replace(/(ic)$/, ''); + } else { word = word.replace(/(ic)$/, 'iqU'); } + } + } else if(a9Index != -1){ word = word.replace(/(eaux)/,'eau') + } else if(a10Index >= r1Index){ word = word.replace(/(aux)/,'al') + } else if(a11Index != -1 ){ + var a11Index2 = word.search(/(euse|euses)$/); + if(a11Index2 >=r2Index){ + word = word.substring(0, a11Index2); + } else if(a11Index2 >= r1Index){ + word = word.substring(0, a11Index2)+"eux"; + } + } else if(a12Index!=-1 && a12Index>=r1Index){ + word = word.substring(0,a12Index+1); //+1- amendment to non-vowel + } else if(a13Index!=-1 && a13Index>=rvIndex){ + word = word.replace(/(amment)$/,'ant'); + } else if(a14Index!=-1 && a14Index>=rvIndex){ + word = word.replace(/(emment)$/,'ent'); + } else if(a15Index!=-1 && a15Index>=rvIndex){ + word = word.substring(0,a15Index+1); + } + + /* Step 2a: Verb suffixes beginning i*/ + var wordStep1 = word; + var step2aDone = false; + if(oriWord == word.toLowerCase() || oriWord.search(/(amment|emment|ment|ments)$/) != -1){ + step2aDone = true; + var b1Regex = /([^aeiouyâàëéêèïîôûù])(îmes|ît|îtes|i|ie|ies|ir|ira|irai|iraIent|irais|irait|iras|irent|irez|iriez|irions|irons|iront|is|issaIent|issais|issait|issant|issante|issantes|issants|isse|issent|isses|issez|issiez|issions|issons|it)$/i; + if(word.search(b1Regex) >= rvIndex){ + word = word.replace(b1Regex,'$1'); + } + } + + /* Step 2b: Other verb suffixes*/ + if (step2aDone && wordStep1 == word) { + if (word.search(/(ions)$/) >= r2Index) { + word = word.replace(/(ions)$/, ''); + } else { + var b2Regex = /(é|ée|ées|és|èrent|er|era|erai|eraIent|erais|erait|eras|erez|eriez|erions|erons|eront|ez|iez)$/i; + if (word.search(b2Regex) >= rvIndex) { + word = word.replace(b2Regex, ''); + } else { + var b3Regex = /e(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex) >= rvIndex) { + word = word.replace(b3Regex, ''); + } else { + var b3Regex2 = /(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex2) >= rvIndex) { + word = word.replace(b3Regex2, ''); + } + } + } + } + } + + if(oriWord != word.toLowerCase()){ + /* Step 3 */ + var rep = ''; + if(word.search(/Y$/) != -1) { + word = word.replace(/Y$/, 'i'); + } else if(word.search(/ç$/) != -1){ + word = word.replace(/ç$/, 'c'); + } + } else { + /* Step 4 */ + //If the word ends s, not preceded by a, i, o, u, è or s, delete it. + if (word.search(/([^aiouès])s$/) >= rvIndex) { + word = word.replace(/([^aiouès])s$/, '$1'); + } + var e1Index = word.search(/ion$/); + if (e1Index >= r2Index && word.search(/[st]ion$/) >= rvIndex) { + word = word.substring(0, e1Index); + } else { + var e2Index = word.search(/(ier|ière|Ier|Ière)$/); + if (e2Index != -1 && e2Index >= rvIndex) { + word = word.substring(0, e2Index) + "i"; + } else { + if (word.search(/e$/) >= rvIndex) { + word = word.replace(/e$/, ''); //delete last e + } else if (word.search(/guë$/) >= rvIndex) { + word = word.replace(/guë$/, 'gu'); + } + } + } + } + + /* Step 5: Undouble */ + //word = word.replace(/(en|on|et|el|eil)(n|t|l)$/,'$1'); + word = word.replace(/(en|on)(n)$/,'$1'); + word = word.replace(/(ett)$/,'et'); + word = word.replace(/(el|eil)(l)$/,'$1'); + + /* Step 6: Un-accent */ + word = word.replace(/[éè]([^aeiouyâàëéêèïîôûù]+)$/,'e$1'); + word = word.toLowerCase(); + return word; +}; + +var eqOut = new Array(); +var noteqOut = new Array(); +var eqCount = 0; +/* +To test the stemming, create two arrays named "voc" and "COut" which are for vocabualary and the stemmed output. +Then add the vocabulary strings and output strings. This method will generate the stemmed output for "voc" and will +compare the output with COut. + (I used porter's voc and out files and did a regex to convert them to js objects. regex: /");\nvoc.push("/g . This + will add strings to voc array such that output would look like: voc.push("foobar"); ) drop me an email for any help. + */ +function testFr(){ + var start = new Date().getTime(); //execution time + eqCount = 0; + eqOut = new Array(); + noteqOut = new Array(); + for(var k=0;k + + + + + + + +]> + + README: Web-based Help from DocBook XML + + + Permission is hereby granted, free of charge, to any person obtaining a copy of this + software and associated documentation files (the Software), to deal in the + Software without restriction, including without limitation the rights to use, copy, modify, + merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit + persons to whom the Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + + Except as contained in this notice, the names of individuals credited with + contribution to this software shall not be used in advertising or otherwise to promote + the sale, use or other dealings in this Software without prior written authorization + from the individuals in question. + + + Any stylesheet derived from this Software that is publicly distributed will be + identified with a different name and the version strings in any derived Software will + be changed so that no possibility of confusion between the derived package and this + Software will exist. + + + + Warranty: + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DAVID CRAMER, KASUN GAJASINGHE, OR ANY + OTHER CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + This package is maintained by Kasun Gajasinghe, + kasunbg AT gmail DOT com and David Cramer, + david AT thingbag DOT net and with + contributions by Arun Bharadwaj and Visitha Baddegama. Please + direct support questions to the DocBook-apps + mailing list. + This package also includes the following software written and copyrighted by others: + + Files in template/common/jquery are + copyrighted by JQuery under the MIT License. + The file jquery.cookie.js Copyright (c) 2006 Klaus Hartl under + the MIT license. + + jquery + + + + Some files in the template/search and indexer directories were + originally part of N. Quaine's htmlsearch DITA plugin. + The htmlsearch DITA plugin is available from the files page of the DITA-users yahoogroup. The + htmlsearch plugin was released under a BSD-style + license. See indexer/license.txt + for details. + htmlsearch + + + DITA + htmlsearch plugin + + + + Stemmers from the Snowball + project released under a BSD license. + + + Code from the Apache Lucene search + engine provides support for tokenizing Chinese, Japanese, and Korean content released + under the Apache 2.0 license. + + + Code that provides weighted search results and some + other improvements was graciously donated by SyncRO Soft + Ltd., the publishers of the oXygen XML + Editor. + + + TagSoup, released under the Apache 2.0 + license, makes it possible to index html instead of just + xhtml output. + + + Cosmetic improvements provided by OpenStack. + + Webhelp for DocBook was first developed as a Google Summer of Code project. + + + 2008-2012 + Kasun Gajasinghe + David Cramer + + + David + Cramer + david AT thingbag DOT net + + + Kasun + Gajasinghe + kasunbg AT gmail DOT com + + January 2012 + + + + + + Overview of the package. + + + Introduction + A common requirement for technical publications groups is to produce a Web-based help + format that includes a table of contents pane, a search feature, and an index similar to what + you get from the Microsoft HTML Help (.chm) format or Eclipse help. If the content is help for + a Web application that is not exposed to the Internet or requires that the user be logged in, + then it is impossible to use services like Google to add search. + features + + + Features + + Sophisticated CSS-based page layout + + + Client-side search. + search + features + + + + Provides full content search of the documentation. Shows the search results with + links to chunked pages, and a small description. + + + Search results scoring/rating - The results are weighted according to how many + times the words in search query appears in it, is it bold or not, is in index terms + etc. The score out of 5 is shown by small colored boxes after each + search-result. + + + Search results can include brief descriptions of the target. + search + description + + + + Stemming support for English, French, and German. Stemming support can be added + for other languages by implementing a stemmer. + search + stemming + + + + Support for Chinese, Japanese, and Korean languages using code from the Lucene search + engine. + + + Search highlighting shows where the searched term appears in the results. + + search + highlighting + + + + + + Table of contents (TOC) pane with collapsible toc tree. + + + Auto-synchronization of content pane and TOC. + + + Nicely placed small forward, backward, top links + + + TOC and search pane implemented without the use of a frameset. + + + An Ant script and sample Makefile to generate output. + You can use the ant build file by importing it into your + own or use it as a model for integrating this output + format into your own build system. Alternatively, you can + use the build scripts as a template for creating your own + script. You can also generate webhelp from DocBook using + the Docbkx Maven plugin. + + + + + Using the package + The following sections describe how to + install and use the package on Windows with the sample Ant build + script. In an environment where unix shell command are + available, you can also use the + Makefile.sample as a starting point for + creating your build script. To use + Makefile.sample you must have + xsltproc and java + available in your PATH. +
          + + + Installation instructions + + + Generating webhelp output using the Ant build.xml + file + + To install the package + + The examples in this procedure assume a Windows + installation, but the process is the same in other + environments, mutatis + mutandis. In an environment where unix + shell command are available, you can also use the + Makefile.sample as a starting point + for creating your build script. To use + Makefile.sample you must have + xsltproc and java + available in your PATH. You can also use + the Docbkx Maven plugin to generate webhelp. + + + If necessary, install Java + 1.6 or higher. + + + Confirm that Java is installed and in your PATH by typing the + following at a command prompt: java -version + + To build the indexer, you must have the JDK. + + + + + + If necessary, install Apache + Ant 1.8.0 or higher. See Ant installation instructions. + + + Unzip the Ant binary distribution to a convenient location on your system. For + example: c:\Program Files. + + + Set the environment variable ANT_HOME to the top-level Ant + directory. For example: c:\Program Files\apache-ant-1.8.0. + See How To Manage + Environment Variables in Windows XP for information on setting + environment variables. + + + + Add the Ant bin directory to your PATH. For + example: c:\Program Files\apache-ant-1.8.0\bin + + + Confirm that Ant is installed by typing the following at a command prompt: + ant -version + + If you see a message about the file tools.jar being + missing, you can safely ignore it. + + + + + + Download Saxon + 6.5.x and unzip the distribution to a convenient location on your file system. + You will use the path to saxon.jar in below. + The build.xml has only been tested with Saxon 6.5, though + it could be adapted to work with other XSLT processors. However, when you generate + output, the Saxon jar must not be in your + CLASSPATH. + + + + Download Xerces2 + Java and extract it to a convenient location on + your file system. You will need the + xercesImpl.jar and + xml-apis.jar from this distribution + in in . + + + In a text editor, edit the + build.properties file in the + webhelp directory and make the changes indicated by the comments. + You must set appropriate values for + xslt-processor-classpath, + xercesImpl.jar, and + xml-apis.jar. + See the DocBook reference + documentation for detailed information about the + available webhelp and other parameters. Note that not all + DocBook parameters are passed in to the xsls by the + build.xml by default. You may need + to modify the build.xml to pass in + some DocBook + parameters. +# The path (relative to the build.xml file) to your input document. +# To use your own input document, create a build.xml file of your own +# and import this build.xml. +input-xml=docsrc/readme.xml + +# The directory in which to put the output files. +# This directory is created if it does not exist. +output-dir=docs + +# If you are using a customization layer that imports webhelp.xsl, use +# this property to point to it. +stylesheet-path=${ant.file.dir}/xsl/webhelp.xsl + +# If your document has image directories that need to be copied +# to the output directory, you can list patterns here. +# See the Ant documentation for fileset for documentation +# on patterns. +#input-images-dirs=images/**,figures/**,graphics/** + +# By default, the ant script assumes your images are stored +# in the same directory as the input-xml. If you store your +# image directories in another directory, specify it here. +# and uncomment this line. +#input-images-basedir=/path/to/image/location + +# Modify the follosing so that they point to your local +# copy of the jars indicated: +# * Saxon 6.5 jar +# * Xerces 2: xercesImpl.jar +# * xml-commons: xml-apis.jar +xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar +xercesImpl.jar=/usr/share/java/xercesImpl.jar +xml-apis.jar=/usr/share/java/xml-apis.jar + +# For non-ns version only, this validates the document +# against a dtd. +validate-against-dtd=true + +# The extension for files to be indexed (html/htm/xhtml etc.) +html.extension=html + +# Set this to false if you don't need a search tab. +webhelp.include.search.tab=true + +# indexer-language is used to tell the search indexer which language +# the docbook is written. This will be used to identify the correct +# stemmer, and punctuations that differs from language to language. +# see the documentation for details. en=English, fr=French, de=German, +# zh=Chinese, ja=Japanese etc. +webhelp.indexer.language=en + +# Enables/Disables stemming +# Stemming allows better querying for the search +enable.stemming=true + +# Set admon.graphics to 1 to user graphics for note, tip, etc. +admon.graphics=0 +suppress.footer.navigation=0 + + + Test the package by running the command ant + webhelp -Doutput-dir=test-ouput at the command + line in the webhelp directory. It should generate a copy + of this documentation in the doc directory. Type start + test-output\index.html to open the output in a + browser. Once you have confirmed that the process worked, + you can delete the test-output directory. + + + To process your own document, simply refer to this package from another + build.xml in arbitrary location on your system: + + + Create a new build.xml file that defines the name of your + source file, the desired output directory, and imports the + build.xml from this package. For example: + <project> + <property name="input-xml" value="path-to/yourfile.xml"/> + <property name="input-images-dirs" value="images/** figures/** graphics/**"/> + <property name="output-dir" value="path-to/desired-output-dir"/> + <import file="path-to/docbook-webhelp/build.xml"/> +</project> + + + From the directory containing your newly created build.xml + file, type ant webhelp to build your document. + + + + +
          +
          + Using and customizing the output + To deep link to a topic inside the help set, simply link directly to the page. This help + system uses no frameset, so nothing further is necessary. + See Chunking into + multiple HTML files in Bob Stayton's DocBook XSL: The Complete + Guide for information on controlling output file names and which files are + chunked in DocBook. + + When you perform a search, the results can include brief summaries. These are populated + in one of two ways: + + By adding role="summary" to a para or + phrase in the chapter or + section. + + + By adding an abstract to the chapterinfo or + sectioninfo element. + + + To customize the look and feel of the help, study the following css files: + + docs/common/css/positioning.css: This handles the Positioning + of DIVs in appropriate positions. For example, it causes the + leftnavigation div to appear on the left, the header on top, and so on. + Use this if you need to change the relative positions or need to change the + width/height etc. + + + docs/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css: + This is the theming part which adds colors and stuff. This is a default theme comes + with jqueryui unchanged. You can get + any theme based your interest from this. (Themes are on right navigation bar.) Then + replace the css theme folder (theme-redmond) with it, and change the xsl to point to + the new css. + + + docs/common/jquery/treeview/jquery.treeview.css: This styles + the toc Tree. Generally, you don't have to edit this file. + + +
          + Recommended Apache configurations + If you are serving a long document from an Apache web + server, we recommend you make the following additions or + changes to your httpd.conf or + .htaccess file. AddDefaultCharSet UTF-8 # + + # 480 weeks + <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> # + Header set Cache-Control "max-age=290304000, public" + </FilesMatch> + + # 2 DAYS + <FilesMatch "\.(xml|txt)$"> + Header set Cache-Control "max-age=172800, public, must-revalidate" + </FilesMatch> + + # 2 HOURS + <FilesMatch "\.(html|htm)$"> + Header set Cache-Control "max-age=7200, must-revalidate" + </FilesMatch> + + # compress text, html, javascript, css, xml: + AddOutputFilterByType DEFLATE text/plain # + AddOutputFilterByType DEFLATE text/html + AddOutputFilterByType DEFLATE text/xml + AddOutputFilterByType DEFLATE text/css + AddOutputFilterByType DEFLATE application/xml + AddOutputFilterByType DEFLATE application/xhtml+xml + AddOutputFilterByType DEFLATE application/rss+xml + AddOutputFilterByType DEFLATE application/javascript + AddOutputFilterByType DEFLATE application/x-javascript + + # Or, compress certain file types by extension: + <Files *.html> + SetOutputFilter DEFLATE + </Files> + + + See Odd characters in HTML output in Bob + Stayton's book DocBook XSL: The Complete + Guide for more information about this + setting. + + + These lines and those that follow cause the + browser to cache various resources such as bitmaps and + JavaScript files. Note that caching JavaScript files + could cause your users to have stale search indexes if + you update your document since the search index is + stored in JavaScript files. + + + These lines cause the the server to compress html, + css, and JavaScript files and the brower to uncompress + them to improve download performance. + + +
          +
          +
          + Search indexing + Run ant index in the webhelp directory to index the content. Running + ant webhelp will do the indexing as part of the process as well. + Here's some detailed information about invoking the indexer. The indexing process is + pretty smooth, so probably you doesn't need to be concerned with following details. Webhelp + Ant script does all the needed bits. + + + Following should be in the CLASSPATH. + + + + webhelpindexer.jar, + lucene-analyzers-3.0.0.jar, + lucene-core-3.0.0.jar - These three are available in the + extensions/ directory of docsbook-xsl-1.76.1, and is automatically fetched to the + webhelp's Ant script. Go for a XSL snapshot if you can which contains the latest + version http://docbook.sourceforge.net/snapshot/ + + + xercesImpl.jar, xml-apis.jar - + These two comes by default with Ant 1.8.0 or prior versions. These are available + under /usr/share/java directory of Linux distributions as well. Else, you may have + to download, and put them to jre/lib/endorsed. + + + + + + The main class is com.nexwave.nquindexer.IndexerMain for the + version 1.76.1+. It's com.nexwave.nquindexer.IndexerTask for the + versions 1.76.0 and 1.76.1. + + + + Needs two parameters as command-line arguments: + + + + The folder where the files to be indexed reside + + + + + (Optional) language. defaults to "en". See build.properties for + details + + + + + + + We have changed the way we invoke the webhelp indexer from the Ant Task to + indexertask to direct invocation. This seems to have remove the + CLASSPATH issue some people were having. + + + + + + search + indexing + + + indexer + CLASSPATH + + To build the indexer, you must have installed the JDK version 1.5 or + higher and set the ANT_HOME environment variable. + + ANT_HOME + + + indexer + building + +
          +
          + Adding support for other (non-CJKV) languages + To support stemming for a language, the search mechanism requires a stemmer implemented + in both Java and JavaScript. The Java version is used by the indexer and the JavaScript + verison is used to stem the user's input on the search form. Currently the search mechanism + supports stemming for English and German. In addition, Java stemmers are included for the + following languages. Therefore, to support these languages, you only need to implement the + stemmer in JavaScript and add it to the template. If you do undertake this task, please + consider contributing the JavaScript version back to this project and to Martin Porter's + project. + + Danish + + + Dutch + + + Finnish + + + Hungarian + + + Italian + + + Norwegian + + + Portuguese + + + Romanian + + + Russian + + + Spanish + + + Swedish + + + Turkish + + + stemming + +
          +
          + Adding images + This section shows how to add images to WebHelp. For that, follow the simple procedure given. + + Put the images in a subdirectory of your source file directory. For example + docsrc/images. + + + Then refer to those images from your docbook document. + Following image is from webhelp/docsrs/images/sample.jpg. The docbook code is shown + below. + +
          + Sample Image + + + + + +
          +
          + + Example code for adding images. Note down the relative path used + <figure> + <title>Sample</title> + <mediaobject> + <imageobject> + <imagedata fileref="images/sample.jpg" format="JPG"/> + </imageobject> + </mediaobject> +</figure> + +
          + + The build.properties file controls what directories are copied + over from the source tree to the output + tree:# If your document has image directories that need to be copied +# to the output directory, you can list patterns here. +# See the Ant documentation for fileset for documentation +# on patterns. +input-images-dirs=images/**,figures/**,graphics/** + +
          +
          +
          + + Developer Docs + This chapter provides an overview of how webhelp is implemented. + The table of contents and search panes are implemented as divs and rendered as if they + were the left pane in a frameset. As a result, the page must save the state of the table of + contents and the search in cookies when you navigate away from a page. When you load a new + page, the page reads these cookies and restores the state of the table of contents tree and + search. The result is that the help system behaves exactly as if it were a frameset. +
          + Design + An overview of webhelp page structure. + DocBook WebHelp page structure is fully built on css-based design abandoning frameset + structure. Overall page structure can be divided in to three main sections + + Header: Header is a separate Div which include company logo, navigation + button(prev, next etc.), page title and heading of parent topic. + + + Content: This includes the content of the documentation. The processing of this + part is done by DocBook + XSL Chunking customization. Few further css-styling applied from + positioning.css. + + + Left Navigation: This includes the table of contents and search tab. This is + customized using jquery-ui styling. + + + Tabbed Navigation: The navigation pane is organized in to two tabs. Contents + tab, and Search tab. Tabbed output is achieved using JQuery Tabs plugin. + + + Table of Contents (TOC) tree: When building the chunked html from the docbook + file, Table of Contents is generated as an Unordered List (a list made from + <ul> <li> tags). When page loads in the browser, we apply + styling to it to achieve the nice look that you see. Styling for TOC tree is done + by a JQuery UI plugin called + TreeView. We can generate the tree easily by following javascript code: + +//Generate the tree +$("#tree").treeview({ +collapsed: true, +animated: "medium", +control: "#sidetreecontrol", +persist: "cookie" +}); + + + + + Search Tab: This includes the search feature. + + + + + + design + +
          +
          + Search + Overview design of Search mechanism. + The serching is a fully client-side implementation of querying texts for content + searching. There's no server involved. So, the search queries by the users are processed by + JavaScript inside the browser, and displays the matching results by comparing the query with + a simplified 'index' that too resides in JavaScript. Mainly the search mechanism has two + parts. + + Indexing: First we need to traverse the content in + the docs folder and index the words in it. This is done + by webhelpindexer.jar in + xsl/extentions/ folder. You can + invoke it by ant index command from the + root of webhelp of directory. The source of + webhelpindexer is now moved to it's own location at + trunk/xsl-webhelpindexer/. + Checkout the Docbook trunk svn directory to get this + source. Then, do your changes and recompile it by simply + running ant command. My assumption is that + it can be opened by Netbeans IDE by one click. Or if you + are using IntelliJ Idea, you can simply create a new + project from existing sources. Indexer has extensive + support for features such as word scoring, stemming of + words, and support for languages English, German, + French. For CJK (Chinese, Japanese, Korean) languages, + it uses bi-gram tokenizing to break up the words (since + CJK languages does not have spaces between + words). + When ant index is run, it generates five output files: + + htmlFileList.js - This contains an array named + fl which stores details all the files indexed by the indexer. + Further, the doStem in it defines whether stemming should be used. It defaults + to false. + + + htmlFileInfoList.js - + This includes some meta data about the indexed + files in an array named fil. It + includes details about file name, file (html) + title, a summary of the content. Format would look + like, fil["4"]= "ch03.html@@@Developer + Docs@@@This chapter provides an overview of how + webhelp is implemented."; + + + + index-*.js (Three index files) - These three files + actually stores the index of the content. Index is added to an array named + w. + + + + + Querying: Query processing happens totally in client side. Following JavaScript + files handles them. + + nwSearchFnt.js - This handles the user query and + returns the search results. It does query word tokenizing, drop unnecessary + punctuations and common words, do stemming if docbook language supports it, + etc. + + + {$indexer-language-code}_stemmer.js - This includes the + stemming library. nwSearchFnt.js file calls + stemmer method in this file for stemming. ex: var stem = + stemmer(foobar); + + + + + + + + search + +
          + New Stemmers + Adding new Stemmers is very simple. + Currently, only English, French, and German stemmers are integrated in to WebHelp. But + the code is extensible such that you can add new stemmers easily by few steps. + What you need: + + You'll need two versions of the stemmer; One written in JavaScript, and another + in Java. But fortunately, Snowball contains Java stemmers for number of popular + languages, and are already included with the package. You can see the full list in + Adding support for other (non-CJKV) languages. + If your language is listed there, Then you have to find javascript version of the + stemmer. Generally, new stemmers are getting added in to Snowball Stemmers in + other languages location. If javascript stemmer for your language is + available, then download it. Else, you can write a new stemmer in JavaScript using + SnowBall algorithm fairly easily. Algorithms are at Snowball. + + + Then, name the JS stemmer exactly like this: + {$language-code}_stemmer.js. + For example, for Italian(it), name it as, + it_stemmer.js. Then, copy it to + the + docbook-webhelp/template/search/stemmers/ + folder. (I assumed + docbook-webhelp is the root + folder for webhelp.) + Make sure you changed the + webhelp.indexer.language property + in build.properties to your + language. + + + + + Now two easy changes needed for the indexer. + + + Open + docbook-webhelp/indexer/src/com/nexwave/nquindexer/IndexerTask.java + in a text editor and add your language code to the + supportedLanguages String Array. + + Add new language to supportedLanguages array + change the Array from, + +private String[] supportedLanguages= {"en", "de", "fr", "cn", "ja", "ko"}; + //currently extended support available for + // English, German, French and CJK (Chinese, Japanese, Korean) languages only. + + To, + +private String[] supportedLanguages= {"en", "de", "fr", "cn", "ja", "ko", "it"}; + //currently extended support available for + // English, German, French, CJK (Chinese, Japanese, Korean), and Italian languages only. + + + + + Now, open + docbook-webhelp/indexer/src/com/nexwave/nquindexer/SaxHTMLIndex.java + and add the following line to the code where it initializes the Stemmer (Search + for SnowballStemmer stemmer;). Then add code to initialize the + stemmer Object in your language. It's self understandable. See the example. The + class names are at: + docbook-webhelp/indexer/src/com/nexwave/stemmer/snowball/ext/. + + Initialize correct stemmer based on the + <code>webhelp.indexer.language</code> specified + + SnowballStemmer stemmer; + if(indexerLanguage.equalsIgnoreCase("en")){ + stemmer = new EnglishStemmer(); + } else if (indexerLanguage.equalsIgnoreCase("de")){ + stemmer= new GermanStemmer(); + } else if (indexerLanguage.equalsIgnoreCase("fr")){ + stemmer= new FrenchStemmer(); + } +else if (indexerLanguage.equalsIgnoreCase("it")){ //If language code is "it" (Italian) + stemmer= new italianStemmer(); //Initialize the stemmer to italianStemmer object. + } + else { + stemmer = null; + } + + + + + + + + That's all. Now run ant build-indexer to compile and build the java code. + Then, run ant webhelp to generate the output from your docbook file. For any + questions, contact us or email to the docbook mailing list + docbook-apps@lists.oasis-open.org. + + stemmer + +
          +
          +
          + + + + Frequently Asked Questions + + + FAQ + + + + On what browsers and operating systems WebHelp has tested extensively? + + + We tested it with versions of most browsers including Firefox 3.x+, IE 7+, Chrome, + Safari, and iPod/iPhone. The JavaScript codes are mostly jquery plugins, so you’d want + to check the jquery support matrix for details. + + + + + Apart from this demo, where can I find other demos or production deployments of + WebHelp? + + + There are four production deployments provided in WebHelp wiki currently. + + + + + When building the webhelp output, I'm getting the following error. What's the reason + for this? + [xslt] : Warning! file:/C:/Users/kasun/docbook-xsl-1.77.0/xhtml/autoidx.xsl: + line 596: Attribute 'href' outside of element. +[xslt] : Warning! file:/C:/Users/kasun/docbook-xsl-1.77.0/xhtml/autoidx.xsl: + line 596: Attribute 'href' outside of element. + ---- + + + This happens if you haven't done the step 3 and 4 of webhelp build guide "Generating + webhelp output" in the documentation. Basically, you need to correctly set the following + folder + paths.xslt-processor-classpath=/usr/share/java/saxon-6.5.5.jar +xercesImpl.jar=/usr/share/java/xercesImpl.jar +xml-apis.jar=/usr/share/java/xml-apis.jar + + + + + Does WebHelp Indexer can index HTML transformation as well? + + + Yes, WebHelp supports HTML transformations as well in addition to XHTML. + + + + + I need more information about webhelp-indexer. Where can I find it? + + + The DocBook Webhelp Indexer is based on the HTMLSearch plugin for DITA. See HTMLSearch documentation for more information. + + + + + FAQ + + + + +
          diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/docsrc/xinclude-test.xml b/apache-fop/src/test/resources/docbook-xsl/webhelp/docsrc/xinclude-test.xml new file mode 100644 index 0000000000..77ef4f88ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/docsrc/xinclude-test.xml @@ -0,0 +1,13 @@ + + + Test section +
          + Some search words for testing + arsenal, arsenic, buy, say, by, vary, try, sky, nucleus, day, key, currency, currencies, build.xml +
          +
          + Some search words for testing (inflected) + arsenal, arsenic, buys, says, varies, tries, skies, nuclei, days, keys, currencies, build.xml +
          +
          \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/browserDetect.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/browserDetect.js new file mode 100644 index 0000000000..c6a2c73a0d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/browserDetect.js @@ -0,0 +1,116 @@ +var BrowserDetect = { + init: function () { + this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; + this.version = this.searchVersion(navigator.userAgent) + || this.searchVersion(navigator.appVersion) + || "an unknown version"; + this.OS = this.searchString(this.dataOS) || "an unknown OS"; + }, + searchString: function (data) { + for (var i=0;ip{ font-weight: bold; } + +p.breadcrumbs { + display: inline; + margin-bottom: 0px; + margin-top: 33px; +} + +p.breadcrumbs a { + padding-right: 12px; + margin-right: 5px; + text-decoration: none; + color: #575757; + text-transform: uppercase; + font-size: 10px; +} + +p.breadcrumbs a:first-child {background: url(../images/breadcrumb-arrow-white.png) no-repeat right center;} + +p.breadcrumbs a:hover {text-decoration: underline;} + +#star ul.star { + LIST-STYLE: none; + MARGIN: 0; + PADDING: 0; + WIDTH: 85px; + /* was 100 */ + HEIGHT: 20px; + LEFT: 1px; + TOP: -5px; + POSITION: relative; + FLOAT: right; + BACKGROUND: url('../images/starsSmall.png') repeat-x 0 -25px; +} +#star li { + PADDING: 0; + MARGIN: 0; + FLOAT: right; + DISPLAY: block; + WIDTH: 85px; + /* was 100 */ + HEIGHT: 20px; + TEXT-DECORATION: none; + text-indent: -9000px; + Z-INDEX: 20; + POSITION: absolute; + PADDING: 0; +} +#star li.curr { + BACKGROUND: url('../images/starsSmall.png') left 25px; + FONT-SIZE: 1px; +} + +table.navLinks {margin-right: 20px;} + +table.navLinks td a { + text-decoration: none; + text-transform: uppercase; + color: black; + font-size: 11px; +} + +a.navLinkPrevious { + padding-left: 12px; + background: url(../images/previous-arrow.png) no-repeat left center; +} + +a.navLinkNext { + padding-right: 12px; + background: url(../images/next-arrow.png) no-repeat right center; +} + +a#showHideButton { + padding-left: 20px; + background: url(../images/sidebar.png) no-repeat left center; +} + + +.filetree li span a { color: #777; } + +#treediv { -webkit-box-shadow: #CCC 0px 1px 2px 0px inset; } + +.legal, .legal *{ + color: #555; + text-align: center; + padding-bottom: 10px; +} + +.internal { color : #0000CC;} + +.writeronly {color : red;} + +.remark, .remark .added, .remark .changed, .remark .deleted{ background: yellow;} + +tr th, tr th .internal, tr th .added, tr th .changed { + background: #00589E; + color: white; + font-weight: bold; + text-align: left; +} + +.statustext{ + position:fixed; + top:105px; + width: 0%; + height: 0%; + opacity: .3; + -webkit-transform: rotate(90deg); + -moz-transform: rotate(90deg); + -o-transform: rotate(90deg); + white-space: nowrap; + color: red; + font-weight: bold; + font-size: 2em; + margin-top: 30px; +} + +#toolbar { + width: 100%; + height: 33px; + position: fixed; + top: 93px; + z-index: 99; + left: 280px; + color: #333; + line-height: 28px; + padding-left: 10px; +} + +#toolbar-left { + position: relative; + left: 0px; +} + +body p.breadcrumbs { + margin: 0px; + padding: 0px; + line-height: 28px; +} + +/*body #content { + position: static; + margin-top: 126px; + top: 0px; +}*/ + +body.sidebar #toolbar{left: 0px;} + +body.sidebar #toolbar-left{left: 0px;} + +div#toolbar-left img {vertical-align: text-top;} + +div.note *, div.caution *, div.important *, div.tip *, div.warning * { + background: inherit !important; + color: inherit !important; + border: inherit !important; +} + +#content table thead, #content table th{ + background: gray; + color: white; + font-weight: bold; +} + +#content table caption{font-weight: bold;} + +#content table td, #content table {border: 1px solid black;} + +#content table td, #content table th { padding: 5px;} + +#content table {margin-bottom: 20px;} + +*[align = 'center']{ text-align: center;} + +#content .qandaset>table, #content .qandaset>table td, #content .calloutlist table, #content .calloutlist table td, #content .navfooter table, #content .navfooter table td { + border: 0px solid; +} + +#sidebar { display: none } + +@media print { + + body * { + visibility: hidden; + } + + #content, #content * { + visibility: visible; + } + + #sidebar, .navfooter { + display: none; + } + + #content { + margin: 0 0 0 0; + } + +} + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/caution.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/caution.png new file mode 100644 index 0000000000..5b7809ca4a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/caution.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/important.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/important.png new file mode 100644 index 0000000000..12c90f607a Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/important.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/note.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/note.png new file mode 100644 index 0000000000..d0c3c645ab Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/note.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/tip.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/tip.png new file mode 100644 index 0000000000..5c4aab3bb3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/tip.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/warning.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/warning.png new file mode 100644 index 0000000000..1c33db8f34 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/admon/warning.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/1.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/1.png new file mode 100755 index 0000000000..de682c628f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/1.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/10.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/10.png new file mode 100755 index 0000000000..96c6ce4527 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/10.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/11.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/11.png new file mode 100755 index 0000000000..4550cb0972 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/11.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/12.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/12.png new file mode 100755 index 0000000000..ef0f6350c5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/12.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/13.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/13.png new file mode 100755 index 0000000000..b4878f1a45 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/13.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/14.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/14.png new file mode 100755 index 0000000000..a222d7bf8f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/14.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/15.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/15.png new file mode 100755 index 0000000000..f6a76d5166 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/15.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/16.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/16.png new file mode 100755 index 0000000000..c5ef6359af Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/16.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/17.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/17.png new file mode 100755 index 0000000000..85a2101e7c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/17.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/18.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/18.png new file mode 100755 index 0000000000..7744d25746 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/18.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/19.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/19.png new file mode 100755 index 0000000000..44bacf8a72 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/19.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/2.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/2.png new file mode 100755 index 0000000000..24ec0f65e8 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/2.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/20.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/20.png new file mode 100755 index 0000000000..5e100fe5da Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/20.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/21.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/21.png new file mode 100755 index 0000000000..c87e80a9d7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/21.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/22.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/22.png new file mode 100755 index 0000000000..20593a4ef3 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/22.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/23.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/23.png new file mode 100755 index 0000000000..3909b9cd8f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/23.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/24.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/24.png new file mode 100755 index 0000000000..963a9e770c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/24.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/25.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/25.png new file mode 100755 index 0000000000..458a91990b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/25.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/26.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/26.png new file mode 100755 index 0000000000..74b2507390 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/26.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/27.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/27.png new file mode 100755 index 0000000000..611b8ce8e9 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/27.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/28.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/28.png new file mode 100755 index 0000000000..6aa21af639 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/28.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/29.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/29.png new file mode 100755 index 0000000000..6009b520bc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/29.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/3.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/3.png new file mode 100755 index 0000000000..01cdff1dd9 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/3.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/30.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/30.png new file mode 100755 index 0000000000..c4dc404bc1 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/30.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/4.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/4.png new file mode 100755 index 0000000000..1e42fb376b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/4.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/5.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/5.png new file mode 100755 index 0000000000..635e7f8162 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/5.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/6.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/6.png new file mode 100755 index 0000000000..521aedde2c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/6.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/7.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/7.png new file mode 100755 index 0000000000..0d4b876a8c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/7.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/8.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/8.png new file mode 100755 index 0000000000..50fa94d16d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/8.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/9.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/9.png new file mode 100755 index 0000000000..7190d5a9aa Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/callouts/9.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.gif new file mode 100644 index 0000000000..f9efa28022 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.png new file mode 100755 index 0000000000..75202f9b37 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/header-bg.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-blue.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-blue.gif new file mode 100644 index 0000000000..4fdabde692 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-blue.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-yellow.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-yellow.gif new file mode 100644 index 0000000000..3e847e7e01 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/highlight-yellow.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/loading.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/loading.gif new file mode 100644 index 0000000000..085ccaecaf Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/loading.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/logo.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/logo.png new file mode 100644 index 0000000000..b111258c0c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/logo.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/next-arrow.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/next-arrow.png new file mode 100644 index 0000000000..db595f465d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/next-arrow.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/previous-arrow.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/previous-arrow.png new file mode 100644 index 0000000000..347bc53474 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/previous-arrow.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/search-icon.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/search-icon.png new file mode 100644 index 0000000000..715f62d08b Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/search-icon.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/showHideTreeIcons.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/showHideTreeIcons.png new file mode 100644 index 0000000000..c1ec1f96a4 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/showHideTreeIcons.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/sidebar.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/sidebar.png new file mode 100644 index 0000000000..5492671871 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/sidebar.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/starsSmall.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/starsSmall.png new file mode 100644 index 0000000000..490a27b925 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/starsSmall.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/toc-icon.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/toc-icon.png new file mode 100644 index 0000000000..40b34bce59 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/images/toc-icon.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-1.7.2.min.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-1.7.2.min.js new file mode 100644 index 0000000000..93adea19fd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-1.7.2.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.7.2 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;e=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
          a",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
          "+""+"
          ",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
          t
          ",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
          ",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function( +a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

          ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
          ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,"
          ","
          "],thead:[1,"","
          "],tr:[2,"","
          "],td:[3,"","
          "],col:[2,"","
          "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
          ","
          "]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f +.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(;d1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
          ").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bG.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bZ(bT,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n);try{m.text=h.responseText}catch(a){}try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js new file mode 100644 index 0000000000..fec53e8e08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/jquery-ui-1.8.2.custom.min.js @@ -0,0 +1,321 @@ +/*! + * jQuery UI 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI + */ +(function(c){c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.2",plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a=0)&&c(a).is(":focusable")}})}})(jQuery); +;/*! + * jQuery UI Widget 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Widget + */ +(function(b){var j=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add(this).each(function(){b(this).triggerHandler("remove")});return j.call(b(this),a,c)})};b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend({},c.options);b[e][a].prototype= +b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.substring(0,1)==="_")return h;e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==undefined){h=i;return false}}):this.each(function(){var g= +b.data(this,a);if(g){d&&g.option(d);g._init()}else b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){this.element=b(c).data(this.widgetName,this);this.options=b.extend(true,{},this.options,b.metadata&&b.metadata.get(c)[this.widgetName],a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create(); +this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(a,c){var d=a,e=this;if(arguments.length===0)return b.extend({},e.options);if(typeof a==="string"){if(c===undefined)return this.options[a];d={};d[a]=c}b.each(d,function(f, +h){e._setOption(f,h)});return e},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a= +b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery); +;/*! + * jQuery UI Mouse 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(a._preventClickEvent){a._preventClickEvent=false;b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&& +this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault(); +return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.browser.safari||a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&& +this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=a.target==this._mouseDownEvent.target;this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX- +a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery); +;/* + * jQuery UI Position 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Position + */ +(function(c){c.ui=c.ui||{};var m=/left|center|right/,n=/top|center|bottom/,p=c.fn.position,q=c.fn.offset;c.fn.position=function(a){if(!a||!a.of)return p.apply(this,arguments);a=c.extend({},a);var b=c(a.of),d=(a.collision||"flip").split(" "),e=a.offset?a.offset.split(" "):[0,0],g,h,i;if(a.of.nodeType===9){g=b.width();h=b.height();i={top:0,left:0}}else if(a.of.scrollTo&&a.of.document){g=b.width();h=b.height();i={top:b.scrollTop(),left:b.scrollLeft()}}else if(a.of.preventDefault){a.at="left top";g=h= +0;i={top:a.of.pageY,left:a.of.pageX}}else{g=b.outerWidth();h=b.outerHeight();i=b.offset()}c.each(["my","at"],function(){var f=(a[this]||"").split(" ");if(f.length===1)f=m.test(f[0])?f.concat(["center"]):n.test(f[0])?["center"].concat(f):["center","center"];f[0]=m.test(f[0])?f[0]:"center";f[1]=n.test(f[1])?f[1]:"center";a[this]=f});if(d.length===1)d[1]=d[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(a.at[0]==="right")i.left+=g;else if(a.at[0]==="center")i.left+= +g/2;if(a.at[1]==="bottom")i.top+=h;else if(a.at[1]==="center")i.top+=h/2;i.left+=e[0];i.top+=e[1];return this.each(function(){var f=c(this),k=f.outerWidth(),l=f.outerHeight(),j=c.extend({},i);if(a.my[0]==="right")j.left-=k;else if(a.my[0]==="center")j.left-=k/2;if(a.my[1]==="bottom")j.top-=l;else if(a.my[1]==="center")j.top-=l/2;j.left=parseInt(j.left);j.top=parseInt(j.top);c.each(["left","top"],function(o,r){c.ui.position[d[o]]&&c.ui.position[d[o]][r](j,{targetWidth:g,targetHeight:h,elemWidth:k, +elemHeight:l,offset:e,my:a.my,at:a.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(j,{using:a.using}))})};c.ui.position={fit:{left:function(a,b){var d=c(window);b=a.left+b.elemWidth-d.width()-d.scrollLeft();a.left=b>0?a.left-b:Math.max(0,a.left)},top:function(a,b){var d=c(window);b=a.top+b.elemHeight-d.height()-d.scrollTop();a.top=b>0?a.top-b:Math.max(0,a.top)}},flip:{left:function(a,b){if(b.at[0]!=="center"){var d=c(window);d=a.left+b.elemWidth-d.width()-d.scrollLeft();var e=b.my[0]==="left"? +-b.elemWidth:b.my[0]==="right"?b.elemWidth:0,g=-2*b.offset[0];a.left+=a.left<0?e+b.targetWidth+g:d>0?e-b.targetWidth+g:0}},top:function(a,b){if(b.at[1]!=="center"){var d=c(window);d=a.top+b.elemHeight-d.height()-d.scrollTop();var e=b.my[1]==="top"?-b.elemHeight:b.my[1]==="bottom"?b.elemHeight:0,g=b.at[1]==="top"?b.targetHeight:-b.targetHeight,h=-2*b.offset[1];a.top+=a.top<0?e+b.targetHeight+h:d>0?e+g+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(a,b){if(/static/.test(c.curCSS(a,"position")))a.style.position= +"relative";var d=c(a),e=d.offset(),g=parseInt(c.curCSS(a,"top",true),10)||0,h=parseInt(c.curCSS(a,"left",true),10)||0;e={top:b.top-e.top+g,left:b.left-e.left+h};"using"in b?b.using.call(a,e):d.css(e)};c.fn.offset=function(a){var b=this[0];if(!b||!b.ownerDocument)return null;if(a)return this.each(function(){c.offset.setOffset(this,a)});return q.call(this)}}})(jQuery); +;/* + * jQuery UI Resizable 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Resizables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(d){d.widget("ui.resizable",d.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var b=this,a=this.options;this.element.addClass("ui-resizable");d.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element, +_proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&d.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(d('
          ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(), +top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle= +this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!d(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne", +nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var e=0;e
          ');/sw|se|ne|nw/.test(g)&&f.css({zIndex:++a.zIndex});"se"==g&&f.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[g]=".ui-resizable-"+g;this.element.append(f)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor== +String)this.handles[i]=d(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=d(this.handles[i],this.element),l=0;l=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,l);this._proportionallyResize()}d(this.handles[i])}};this._renderAxis(this.element);this._handles=d(".ui-resizable-handle",this.element).disableSelection(); +this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();d(this.element).addClass("ui-resizable-autohide").hover(function(){d(this).removeClass("ui-resizable-autohide");b._handles.show()},function(){if(!b.resizing){d(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(c){d(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}; +if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=false;for(var c in this.handles)if(d(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(), +e=this.element;this.resizing=true;this.documentScroll={top:d(document).scrollTop(),left:d(document).scrollLeft()};if(e.is(".ui-draggable")||/absolute/.test(e.css("position")))e.css({position:"absolute",top:c.top,left:c.left});d.browser.opera&&/relative/.test(e.css("position"))&&e.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();c=m(this.helper.css("left"));var g=m(this.helper.css("top"));if(a.containment){c+=d(a.containment).scrollLeft()||0;g+=d(a.containment).scrollTop()||0}this.offset= +this.helper.offset();this.position={left:c,top:g};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:c,top:g};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio: +this.originalSize.width/this.originalSize.height||1;a=d(".ui-resizable-"+this.axis).css("cursor");d("body").css("cursor",a=="auto"?this.axis+"-resize":a);e.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,e=this._change[this.axis];if(!e)return false;c=e.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize", +b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var e=this._proportionallyResizeElements,g=e.length&&/textarea/i.test(e[0].nodeName);e=g&&d.ui.hasScroll(e[0],"left")?0:c.sizeDiff.height; +g={width:c.size.width-(g?0:c.sizeDiff.width),height:c.size.height-e};e=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var f=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(d.extend(g,{top:f,left:e}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}d("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop", +b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(k(b.left))this.position.left=b.left;if(k(b.top))this.position.top=b.top;if(k(b.height))this.size.height=b.height;if(k(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,e=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(e=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(e=="nw"){b.top= +a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,e=k(b.width)&&a.maxWidth&&a.maxWidthb.width,h=k(b.height)&&a.minHeight&&a.minHeight>b.height;if(f)b.width=a.minWidth;if(h)b.height=a.minHeight;if(e)b.width=a.maxWidth;if(g)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height, +l=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(f&&l)b.left=i-a.minWidth;if(e&&l)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(g&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a');var a=d.browser.msie&&d.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+ +a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return d.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return d.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return d.extend(this._change.n.apply(this, +arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return d.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){d.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});d.extend(d.ui.resizable, +{version:"1.8.2"});d.ui.plugin.add("resizable","alsoResize",{start:function(){var b=d(this).data("resizable").options,a=function(c){d(c).each(function(){d(this).data("resizable-alsoresize",{width:parseInt(d(this).width(),10),height:parseInt(d(this).height(),10),left:parseInt(d(this).css("left"),10),top:parseInt(d(this).css("top"),10)})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else d.each(b.alsoResize,function(c){a(c)}); +else a(b.alsoResize)},resize:function(){var b=d(this).data("resizable"),a=b.options,c=b.originalSize,e=b.originalPosition,g={height:b.size.height-c.height||0,width:b.size.width-c.width||0,top:b.position.top-e.top||0,left:b.position.left-e.left||0},f=function(h,i){d(h).each(function(){var j=d(this),l=d(this).data("resizable-alsoresize"),p={};d.each((i&&i.length?i:["width","height","top","left"])||["width","height","top","left"],function(n,o){if((n=(l[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(/relative/.test(j.css("position"))&& +d.browser.opera){b._revertToRelativePosition=true;j.css({position:"absolute",top:"auto",left:"auto"})}j.css(p)})};typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?d.each(a.alsoResize,function(h,i){f(h,i)}):f(a.alsoResize)},stop:function(){var b=d(this).data("resizable");if(b._revertToRelativePosition&&d.browser.opera){b._revertToRelativePosition=false;el.css({position:"relative"})}d(this).removeData("resizable-alsoresize-start")}});d.ui.plugin.add("resizable","animate",{stop:function(b){var a= +d(this).data("resizable"),c=a.options,e=a._proportionallyResizeElements,g=e.length&&/textarea/i.test(e[0].nodeName),f=g&&d.ui.hasScroll(e[0],"left")?0:a.sizeDiff.height;g={width:a.size.width-(g?0:a.sizeDiff.width),height:a.size.height-f};f=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(d.extend(g,h&&f?{top:h,left:f}:{}),{duration:c.animateDuration,easing:c.animateEasing, +step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};e&&e.length&&d(e[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});d.ui.plugin.add("resizable","containment",{start:function(){var b=d(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof d?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement= +d(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:d(document),left:0,top:0,width:d(document).width(),height:d(document).height()||document.body.parentNode.scrollHeight}}else{var e=d(a),g=[];d(["Top","Right","Left","Bottom"]).each(function(i,j){g[i]=m(e.css("padding"+j))});b.containerOffset=e.offset();b.containerPosition=e.position();b.containerSize={height:e.innerHeight()-g[3],width:e.innerWidth()-g[1]};c=b.containerOffset; +var f=b.containerSize.height,h=b.containerSize.width;h=d.ui.hasScroll(a,"left")?a.scrollWidth:h;f=d.ui.hasScroll(a)?a.scrollHeight:f;b.parentData={element:a,left:c.left,top:c.top,width:h,height:f}}}},resize:function(b){var a=d(this).data("resizable"),c=a.options,e=a.containerOffset,g=a.position;b=a._aspectRatio||b.shiftKey;var f={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))f=e;if(g.left<(a._helper?e.left:0)){a.size.width+=a._helper?a.position.left-e.left: +a.position.left-f.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?e.left:0}if(g.top<(a._helper?e.top:0)){a.size.height+=a._helper?a.position.top-e.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?e.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-f.left:a.offset.left-f.left)+a.sizeDiff.width);e=Math.abs((a._helper?a.offset.top-f.top:a.offset.top- +e.top)+a.sizeDiff.height);g=a.containerElement.get(0)==a.element.parent().get(0);f=/relative|absolute/.test(a.containerElement.css("position"));if(g&&f)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(e+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-e;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=d(this).data("resizable"),a=b.options,c=b.containerOffset,e=b.containerPosition, +g=b.containerElement,f=d(b.helper),h=f.offset(),i=f.outerWidth()-b.sizeDiff.width;f=f.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(g.css("position"))&&d(this).css({left:h.left-e.left-c.left,width:i,height:f});b._helper&&!a.animate&&/static/.test(g.css("position"))&&d(this).css({left:h.left-e.left-c.left,width:i,height:f})}});d.ui.plugin.add("resizable","ghost",{start:function(){var b=d(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25, +display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=d(this).data("resizable");b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=d(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});d.ui.plugin.add("resizable","grid",{resize:function(){var b= +d(this).data("resizable"),a=b.options,c=b.size,e=b.originalSize,g=b.originalPosition,f=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-e.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-e.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(f)){b.size.width=e.width+h;b.size.height=e.height+a}else if(/^(ne)$/.test(f)){b.size.width=e.width+h;b.size.height=e.height+a;b.position.top=g.top-a}else{if(/^(sw)$/.test(f)){b.size.width=e.width+h;b.size.height= +e.height+a}else{b.size.width=e.width+h;b.size.height=e.height+a;b.position.top=g.top-a}b.position.left=g.left-h}}});var m=function(b){return parseInt(b,10)||0},k=function(b){return!isNaN(parseInt(b,10))}})(jQuery); +; +/* + * jQuery UI Selectable 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Selectables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"), +selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("
          ")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX, +c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({"z-index":100,position:"absolute",left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting"); +b.unselecting=true;f._trigger("unselecting",c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f= +this;this.dragged=true;if(!this.options.disabled){var d=this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.righti||a.bottomb&&a.rightg&&a.bottom")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX, +c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({"z-index":100,position:"absolute",left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting"); +b.unselecting=true;f._trigger("unselecting",c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f= +this;this.dragged=true;if(!this.options.disabled){var d=this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.righti||a.bottomb&&a.rightg&&a.bottom").addClass("ui-autocomplete").appendTo("body",c).mousedown(function(){setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(d,b){b=b.item.data("item.autocomplete"); +false!==a._trigger("focus",null,{item:b})&&/^key/.test(d.originalEvent.type)&&a.element.val(b.value)},selected:function(d,b){b=b.item.data("item.autocomplete");false!==a._trigger("select",d,{item:b})&&a.element.val(b.value);a.close(d);d=a.previous;if(a.element[0]!==c.activeElement){a.element.focus();a.previous=d}a.selectedItem=b},blur:function(){a.menu.element.is(":visible")&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");e.fn.bgiframe&&this.menu.element.bgiframe()}, +destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();e.Widget.prototype.destroy.call(this)},_setOption:function(a){e.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource()},_initSource:function(){var a,c;if(e.isArray(this.options.source)){a=this.options.source;this.source=function(d,b){b(e.ui.autocomplete.filter(a,d.term))}}else if(typeof this.options.source=== +"string"){c=this.options.source;this.source=function(d,b){e.getJSON(c,d,b)}}else this.source=this.options.source},search:function(a,c){a=a!=null?a:this.element.val();if(a.length").data("item.autocomplete", +c).append(""+c.label+"").appendTo(a)},_move:function(a,c){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](c);else this.search(null,c)},widget:function(){return this.menu.element}});e.extend(e.ui.autocomplete,{escapeRegex:function(a){return a.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")},filter:function(a,c){var d=new RegExp(e.ui.autocomplete.escapeRegex(c), +"i");return e.grep(a,function(b){return d.test(b.label||b.value||b)})}})})(jQuery); +(function(e){e.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){if(e(c.target).closest(".ui-menu-item a").length){c.preventDefault();a.select(c)}});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex", +-1).mouseenter(function(c){a.activate(c,e(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,c){this.deactivate();if(this.hasScroll()){var d=c.offset().top-this.element.offset().top,b=this.element.attr("scrollTop"),f=this.element.height();if(d<0)this.element.attr("scrollTop",b+d);else d>f&&this.element.attr("scrollTop",b+d-f+c.height())}this.active=c.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",a,{item:c})},deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id"); +this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prev().length},last:function(){return this.active&&!this.active.next().length},move:function(a,c,d){if(this.active){a=this.active[a+"All"](".ui-menu-item").eq(0);a.length?this.activate(d,a):this.activate(d,this.element.children(c))}else this.activate(d,this.element.children(c))},nextPage:function(a){if(this.hasScroll())if(!this.active|| +this.last())this.activate(a,this.element.children(":first"));else{var c=this.active.offset().top,d=this.element.height(),b=this.element.children("li").filter(function(){var f=e(this).offset().top-c-d+e(this).height();return f<10&&f>-10});b.length||(b=this.element.children(":last"));this.activate(a,b)}else this.activate(a,this.element.children(!this.active||this.last()?":first":":last"))},previousPage:function(a){if(this.hasScroll())if(!this.active||this.first())this.activate(a,this.element.children(":last")); +else{var c=this.active.offset().top,d=this.element.height();result=this.element.children("li").filter(function(){var b=e(this).offset().top-c+d-e(this).height();return b<10&&b>-10});result.length||(result=this.element.children(":first"));this.activate(a,result)}else this.activate(a,this.element.children(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary;if(d.primary||d.secondary){b.addClass("ui-button-text-icon"+(e?"s":""));d.primary&&b.prepend("");d.secondary&&b.append("");if(!this.options.text){b.addClass(e?"ui-button-icons-only":"ui-button-icon-only").removeClass("ui-button-text-icons ui-button-text-icon"); +this.hasTitle||b.attr("title",c)}}else b.addClass("ui-button-text-only")}}});a.widget("ui.buttonset",{_create:function(){this.element.addClass("ui-buttonset");this._init()},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(":button, :submit, :reset, :checkbox, :radio, a, :data(button)").filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()}, +destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery); +;/* + * jQuery UI Dialog 1.8.2 + * + * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * http://docs.jquery.com/UI/Dialog + * + * Depends: + * jquery.ui.core.js + * jquery.ui.widget.js + * jquery.ui.button.js + * jquery.ui.draggable.js + * jquery.ui.mouse.js + * jquery.ui.position.js + * jquery.ui.resizable.js + */ +(function(c){c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:"center",resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");var a=this,b=a.options,d=b.title||a.originalTitle||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("
          ")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+ +b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("
          ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g), +h=c('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("").addClass("ui-dialog-title").attr("id", +e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose=b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"); +a.uiDialog.remove();a.originalTitle&&a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!== +b.uiDialog[0])d=Math.max(d,c(this).css("z-index"))});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index", +c.ui.dialog.maxZ);d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;d.next().length&&d.appendTo("body");a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target=== +f[0]&&e.shiftKey){g.focus(1);return false}}});c([]).add(d.find(".ui-dialog-content :tabbable:first")).add(d.find(".ui-dialog-buttonpane :tabbable:first")).add(d).filter(":first").focus();a._trigger("open");a._isOpen=true;return a}},_createButtons:function(a){var b=this,d=false,e=c("
          ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix");b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a, +function(g,f){g=c('').text(g).click(function(){f.apply(b.element[0],arguments)}).appendTo(e);c.fn.button&&g.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g=d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging"); +b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,originalSize:f.originalSize,position:f.position,size:f.size}}a=a===undefined?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position"); +a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",f,b(h))},stop:function(f,h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop", +f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0];a=a||c.ui.dialog.prototype.options.position;if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length===1)b[1]=b[0];c.each(["left","top"],function(e,g){if(+b[e]===b[e]){d[e]=b[e];b[e]= +g}})}else if(typeof a==="object"){if("left"in a){b[0]="left";d[0]=a.left}else if("right"in a){b[0]="right";d[0]=-a.right}if("top"in a){b[1]="top";d[1]=a.top}else if("bottom"in a){b[1]="bottom";d[1]=-a.bottom}}(a=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position({my:b.join(" "),at:b.join(" "),offset:d.join(" "),of:window,collision:"fit",using:function(e){var g=c(this).css(e).offset().top;g<0&&c(this).css("top",e.top-g)}});a||this.uiDialog.hide()},_setOption:function(a, +b){var d=this,e=d.uiDialog,g=e.is(":data(resizable)"),f=false;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):e.removeClass("ui-dialog-disabled");break;case "draggable":b?d._makeDraggable():e.draggable("destroy");break; +case "height":f=true;break;case "maxHeight":g&&e.resizable("option","maxHeight",b);f=true;break;case "maxWidth":g&&e.resizable("option","maxWidth",b);f=true;break;case "minHeight":g&&e.resizable("option","minHeight",b);f=true;break;case "minWidth":g&&e.resizable("option","minWidth",b);f=true;break;case "position":d._position(b);break;case "resizable":g&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title", +d.uiDialogTitlebar).html(""+(b||" "));break;case "width":f=true;break}c.Widget.prototype._setOption.apply(d,arguments);f&&d._size()},_size:function(){var a=this.options,b;this.element.css({width:"auto",minHeight:0,height:0});b=this.uiDialog.css({height:"auto",width:a.width}).height();this.element.css(a.height==="auto"?{minHeight:Math.max(a.minHeight-b,0),height:"auto"}:{minHeight:0,height:Math.max(a.height-b,0)}).show();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight", +this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.2",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dialog.overlay.instances.length&& +c(document).bind(c.ui.dialog.overlay.events,function(d){return c(d.target).zIndex()>=c.ui.dialog.overlay.maxZ})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c("
          ").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});c.fn.bgiframe&& +b.bgiframe();this.instances.push(b);return b},destroy:function(a){this.oldInstances.push(this.instances.splice(c.inArray(a,this.instances),1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var b=0;c.each(this.instances,function(){b=Math.max(b,this.css("z-index"))});this.maxZ=b},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);b=Math.max(document.documentElement.offsetHeight, +document.body.offsetHeight);return a",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:'
        • #{label}
        • '},_create:function(){this._tabify(true)},_setOption:function(c,e){if(c=="selected")this.options.collapsible&& +e==this.options.selected||this.select(e);else{this.options[c]=e;this._tabify()}},_tabId:function(c){return c.title&&c.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+s()},_sanitizeSelector:function(c){return c.replace(/:/g,"\\:")},_cookie:function(){var c=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+v());return d.cookie.apply(null,[c].concat(d.makeArray(arguments)))},_ui:function(c,e){return{tab:c,panel:e,index:this.anchors.index(c)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var c= +d(this);c.html(c.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function e(g,f){g.css({display:""});!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}this.list=this.element.find("ol,ul").eq(0);this.lis=d("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);var a=this,b=this.options,h=/^#.+/;this.anchors.each(function(g,f){var j=d(f).attr("href"),l=j.split("#")[0],p;if(l&&(l===location.toString().split("#")[0]|| +(p=d("base")[0])&&l===p.href)){j=f.hash;f.href=j}if(h.test(j))a.panels=a.panels.add(a._sanitizeSelector(j));else if(j!="#"){d.data(f,"href.tabs",j);d.data(f,"load.tabs",j.replace(/#.*$/,""));j=a._tabId(f);f.href="#"+j;f=d("#"+j);if(!f.length){f=d(b.panelTemplate).attr("id",j).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else b.disabled.push(g)});if(c){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"); +this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(b.selected===undefined){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){b.selected=g;return false}});if(typeof b.selected!="number"&&b.cookie)b.selected=parseInt(a._cookie(),10);if(typeof b.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)b.selected= +this.lis.index(this.lis.filter(".ui-tabs-selected"));b.selected=b.selected||(this.lis.length?0:-1)}else if(b.selected===null)b.selected=-1;b.selected=b.selected>=0&&this.anchors[b.selected]||b.selected<0?b.selected:0;b.disabled=d.unique(b.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(b.selected,b.disabled)!=-1&&b.disabled.splice(d.inArray(b.selected,b.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active"); +if(b.selected>=0&&this.anchors.length){this.panels.eq(b.selected).removeClass("ui-tabs-hide");this.lis.eq(b.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[b.selected],a.panels[b.selected]))});this.load(b.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else b.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[b.collapsible?"addClass": +"removeClass"]("ui-tabs-collapsible");b.cookie&&this._cookie(b.selected,b.cookie);c=0;for(var i;i=this.lis[c];c++)d(i)[d.inArray(c,b.disabled)!=-1&&!d(i).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");b.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(b.event!="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+g)};this.lis.bind("mouseover.tabs", +function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(b.fx)if(d.isArray(b.fx)){m=b.fx[0];o=b.fx[1]}else m=o=b.fx;var q=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal",function(){e(f,o);a._trigger("show", +null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},r=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")};this.anchors.bind(b.event+".tabs", +function(){var g=this,f=d(this).closest("li"),j=a.panels.filter(":not(.ui-tabs-hide)"),l=d(a._sanitizeSelector(this.hash));if(f.hasClass("ui-tabs-selected")&&!b.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}b.selected=a.anchors.index(this);a.abort();if(b.collapsible)if(f.hasClass("ui-tabs-selected")){b.selected=-1;b.cookie&&a._cookie(b.selected,b.cookie);a.element.queue("tabs",function(){r(g, +j)}).dequeue("tabs");this.blur();return false}else if(!j.length){b.cookie&&a._cookie(b.selected,b.cookie);a.element.queue("tabs",function(){q(g,l)});a.load(a.anchors.index(this));this.blur();return false}b.cookie&&a._cookie(b.selected,b.cookie);if(l.length){j.length&&a.element.queue("tabs",function(){r(g,j)});a.element.queue("tabs",function(){q(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";d.browser.msie&&this.blur()});this.anchors.bind("click.tabs", +function(){return false})},destroy:function(){var c=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e=d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(b,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this, +"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});c.cookie&&this._cookie(null,c.cookie);return this},add:function(c,e,a){if(a===undefined)a=this.anchors.length;var b=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,e));c=!c.indexOf("#")?c.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs", +true);var i=d("#"+c);i.length||(i=d(h.panelTemplate).attr("id",c).data("destroy.tabs",true));i.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);i.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]);i.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");i.removeClass("ui-tabs-hide"); +this.element.queue("tabs",function(){b._trigger("show",null,b._ui(b.anchors[0],b.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(c){var e=this.options,a=this.lis.eq(c).remove(),b=this.panels.eq(c).remove();if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(c+(c+1=c?--h:h});this._tabify();this._trigger("remove", +null,this._ui(a.find("a")[0],b[0]));return this},enable:function(c){var e=this.options;if(d.inArray(c,e.disabled)!=-1){this.lis.eq(c).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=c});this._trigger("enable",null,this._ui(this.anchors[c],this.panels[c]));return this}},disable:function(c){var e=this.options;if(c!=e.selected){this.lis.eq(c).addClass("ui-state-disabled");e.disabled.push(c);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[c],this.panels[c]))}return this}, +select:function(c){if(typeof c=="string")c=this.anchors.index(this.anchors.filter("[href$="+c+"]"));else if(c===null)c=-1;if(c==-1&&this.options.collapsible)c=this.options.selected;this.anchors.eq(c).trigger(this.options.event+".tabs");return this},load:function(c){var e=this,a=this.options,b=this.anchors.eq(c)[0],h=d.data(b,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(b,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(c).addClass("ui-state-processing"); +if(a.spinner){var i=d("span",b);i.data("label.tabs",i.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){d(e._sanitizeSelector(b.hash)).html(k);e._cleanup();a.cache&&d.data(b,"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[c],e.panels[c]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[c],e.panels[c]));try{a.ajaxOptions.error(k,n,c,b)}catch(m){}}}));e.element.dequeue("tabs");return this}}, +abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(c,e){this.anchors.eq(c).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.2"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(c,e){var a=this,b=this.options,h=a._rotate||(a._rotate= +function(i){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=b.selected;a.select(++k").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"}); +c.css({position:"relative",top:0,left:0})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=j.apply(this,arguments);a={options:a[1],duration:a[2],callback:a[3]};var b=f.effects[c];return b&&!f.fx.off?b.call(this,a):this},_show:f.fn.show,show:function(c){if(!c|| +typeof c=="number"||f.fx.speeds[c])return this._show.apply(this,arguments);else{var a=j.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(!c||typeof c=="number"||f.fx.speeds[c])return this._hide.apply(this,arguments);else{var a=j.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(!c||typeof c=="number"||f.fx.speeds[c]||typeof c=="boolean"||f.isFunction(c))return this.__toggle.apply(this, +arguments);else{var a=j.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c, +a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+ +b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2, +10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)* +a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(b(this).offset()).appendTo("body")});return!0},_mouseStart:function(a){var c=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();b.ui.ddmanager&&(b.ui.ddmanager.current=this); +this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};b.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY= +a.pageY;c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt);c.containment&&this._setContainment();if(!1===this._trigger("start",a))return this._clear(),!1;this._cacheHelperProportions();b.ui.ddmanager&&!c.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,!0);b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,a);return!0},_mouseDrag:function(a,c){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute"); +if(!c){var d=this._uiHash();if(!1===this._trigger("drag",a,d))return this._mouseUp({}),!1;this.position=d.position}if(!this.options.axis||"y"!=this.options.axis)this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||"x"!=this.options.axis)this.helper[0].style.top=this.position.top+"px";b.ui.ddmanager&&b.ui.ddmanager.drag(this,a);return!1},_mouseStop:function(a){var c=!1;b.ui.ddmanager&&!this.options.dropBehaviour&&(c=b.ui.ddmanager.drop(this,a));this.dropped&&(c=this.dropped,this.dropped= +!1);if((!this.element[0]||!this.element[0].parentNode)&&"original"==this.options.helper)return!1;if("invalid"==this.options.revert&&!c||"valid"==this.options.revert&&c||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var d=this;b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){d._trigger("stop",a)!==false&&d._clear()})}else!1!==this._trigger("stop",a)&&this._clear();return!1},_mouseUp:function(a){!0=== +this.options.iframeFix&&b("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});b.ui.ddmanager&&b.ui.ddmanager.dragStop(this,a);return b.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var c=!this.options.handle||!b(this.options.handle,this.element).length?!0:!1;b(this.options.handle,this.element).find("*").andSelf().each(function(){this==a.target&&(c= +!0)});return c},_createHelper:function(a){var c=this.options,a=b.isFunction(c.helper)?b(c.helper.apply(this.element[0],[a])):"clone"==c.helper?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo("parent"==c.appendTo?this.element[0].parentNode:c.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){"string"==typeof a&&(a=a.split(" "));b.isArray(a)&&(a={left:+a[0],top:+a[1]|| +0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=this.helperProportions.width-a.right+this.margins.left);"top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();"absolute"==this.cssPosition&&(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0], +this.offsetParent[0]))&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&b.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var b=this.element.position();return{top:b.top- +(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(), +height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;"parent"==a.containment&&(a.containment=this.helper[0].parentNode);if("document"==a.containment||"window"==a.containment)this.containment=["document"==a.containment?0:b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==a.containment?0:b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==a.containment?0:b(window).scrollLeft())+b("document"==a.containment?document: +window).width()-this.helperProportions.width-this.margins.left,("document"==a.containment?0:b(window).scrollTop())+(b("document"==a.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var a=b(a.containment),c=a[0];if(c){a.offset();var d="hidden"!=b(c).css("overflow");this.containment=[(parseInt(b(c).css("borderLeftWidth"),10)||0)+(parseInt(b(c).css("paddingLeft"), +10)||0),(parseInt(b(c).css("borderTopWidth"),10)||0)+(parseInt(b(c).css("paddingTop"),10)||0),(d?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(b(c).css("borderLeftWidth"),10)||0)-(parseInt(b(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(b(c).css("borderTopWidth"),10)||0)-(parseInt(b(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]; +this.relative_container=a}}else a.containment.constructor==Array&&(this.containment=a.containment)},_convertPositionTo:function(a,c){c||(c=this.position);var d="absolute"==a?1:-1,g="absolute"==this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=/(html|body)/i.test(g[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition? +0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():h?0:g.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():h?0:g.scrollLeft())*d)}},_generatePosition:function(a){var c=this.options,d="absolute"==this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent, +g=/(html|body)/i.test(d[0].tagName),h=a.pageX,e=a.pageY;if(this.originalPosition){var f;this.containment&&(this.relative_container?(f=this.relative_container.offset(),f=[this.containment[0]+f.left,this.containment[1]+f.top,this.containment[2]+f.left,this.containment[3]+f.top]):f=this.containment,a.pageX-this.offset.click.leftf[2]&&(h=f[2]+this.offset.click.left), +a.pageY-this.offset.click.top>f[3]&&(e=f[3]+this.offset.click.top));c.grid&&(e=c.grid[1]?this.originalPageY+Math.round((e-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY,e=f?!(e-this.offset.click.topf[3])?e:!(e-this.offset.click.topf[2])?h:!(h-this.offset.click.left< +f[0])?h-c.grid[0]:h+c.grid[0]:h)}return{top:e-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():g?0:d.scrollTop()),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():g?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"); +this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1},_trigger:function(a,c,d){d=d||this._uiHash();b.ui.plugin.call(this,a,[c,d]);"drag"==a&&(this.positionAbs=this._convertPositionTo("absolute"));return b.Widget.prototype._trigger.call(this,a,c,d)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});b.extend(b.ui.draggable,{version:"1.8.14"}); +b.ui.plugin.add("draggable","connectToSortable",{start:function(a,c){var d=b(this).data("draggable"),g=d.options,h=b.extend({},c,{item:d.element});d.sortables=[];b(g.connectToSortable).each(function(){var c=b.data(this,"sortable");c&&!c.options.disabled&&(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger("activate",a,h))})},stop:function(a,c){var d=b(this).data("draggable"),g=b.extend({},c,{item:d.element});b.each(d.sortables,function(){this.instance.isOver? +(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(a),this.instance.options.helper=this.instance.options._helper,"original"==d.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",a,g))})},drag:function(a,c){var d=b(this).data("draggable"),g=this;b.each(d.sortables,function(){this.instance.positionAbs= +d.positionAbs;this.instance.helperProportions=d.helperProportions;this.instance.offset.click=d.offset.click;this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=b(g).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},a.target=this.instance.currentItem[0],this.instance._mouseCapture(a, +!0),this.instance._mouseStart(a,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger("toSortable",a),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&&this.instance._mouseDrag(a)):this.instance.isOver&& +(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",a,this.instance._uiHash(this.instance)),this.instance._mouseStop(a,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),d._trigger("fromSortable",a),d.dropped=!1)})}});b.ui.plugin.add("draggable","cursor",{start:function(){var a=b("body"),c=b(this).data("draggable").options; +a.css("cursor")&&(c._cursor=a.css("cursor"));a.css("cursor",c.cursor)},stop:function(){var a=b(this).data("draggable").options;a._cursor&&b("body").css("cursor",a._cursor)}});b.ui.plugin.add("draggable","opacity",{start:function(a,c){var d=b(c.helper),g=b(this).data("draggable").options;d.css("opacity")&&(g._opacity=d.css("opacity"));d.css("opacity",g.opacity)},stop:function(a,c){var d=b(this).data("draggable").options;d._opacity&&b(c.helper).css("opacity",d._opacity)}});b.ui.plugin.add("draggable", +"scroll",{start:function(){var a=b(this).data("draggable");a.scrollParent[0]!=document&&"HTML"!=a.scrollParent[0].tagName&&(a.overflowOffset=a.scrollParent.offset())},drag:function(a){var c=b(this).data("draggable"),d=c.options,g=!1;if(c.scrollParent[0]!=document&&"HTML"!=c.scrollParent[0].tagName){if(!d.axis||"x"!=d.axis)c.overflowOffset.top+c.scrollParent[0].offsetHeight-a.pageY=k&&e<=l||f>=k&&f<=l||el)&&(g>=i&&g<=j||h>=i&&h<=j||gj);default:return!1}}; +b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,c){var d=b.ui.ddmanager.droppables[a.options.scope]||[],g=c?c.type:null,h=(a.currentItem||a.element).find(":data(droppable)").andSelf(),e=0;a:for(;e').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})), +this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize", +"none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize());this.handles=a.handles||(!b(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){"all"== +this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var h=this.handles.split(",");this.handles={};for(var e=0;e');/sw|se|ne|nw/.test(f)&&i.css({zIndex:++a.zIndex});"se"==f&&i.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(i)}}this._renderAxis=function(f){var f=f||this.element,c;for(c in this.handles){this.handles[c].constructor==String&&(this.handles[c]= +b(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var a=b(this.handles[c],this.element),d=0,d=/sw|ne|nw|se|n|s/.test(c)?a.outerHeight():a.outerWidth(),a=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");f.css(a,d);this._proportionallyResize()}b(this.handles[c])}};this._renderAxis(this.element);this._handles=b(".ui-resizable-handle",this.element).disableSelection(); +this._handles.mouseover(function(){if(!c.resizing){if(this.className)var b=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);c.axis=b&&b[1]?b[1]:"se"}});a.autoHide&&(this._handles.hide(),b(this.element).addClass("ui-resizable-autohide").hover(function(){if(!a.disabled){b(this).removeClass("ui-resizable-autohide");c._handles.show()}},function(){if(!a.disabled&&!c.resizing){b(this).addClass("ui-resizable-autohide");c._handles.hide()}}));this._mouseInit()},destroy:function(){this._mouseDestroy(); +var c=function(c){b(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){c(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);c(this.originalElement);return this},_mouseCapture:function(c){var a= +!1,h;for(h in this.handles)b(this.handles[h])[0]==c.target&&(a=!0);return!this.options.disabled&&a},_mouseStart:function(c){var g=this.options,h=this.element.position(),e=this.element;this.resizing=!0;this.documentScroll={top:b(document).scrollTop(),left:b(document).scrollLeft()};(e.is(".ui-draggable")||/absolute/.test(e.css("position")))&&e.css({position:"absolute",top:h.top,left:h.left});b.browser.opera&&/relative/.test(e.css("position"))&&e.css({position:"relative",top:"auto",left:"auto"});this._renderProxy(); +var h=a(this.helper.css("left")),f=a(this.helper.css("top"));g.containment&&(h+=b(g.containment).scrollLeft()||0,f+=b(g.containment).scrollTop()||0);this.offset=this.helper.offset();this.position={left:h,top:f};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:h,top:f};this.sizeDiff={width:e.outerWidth()- +e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:c.pageX,top:c.pageY};this.aspectRatio="number"==typeof g.aspectRatio?g.aspectRatio:this.originalSize.width/this.originalSize.height||1;g=b(".ui-resizable-"+this.axis).css("cursor");b("body").css("cursor","auto"==g?this.axis+"-resize":g);e.addClass("ui-resizable-resizing");this._propagate("start",c);return!0},_mouseDrag:function(b){var c=this.helper,a=this.originalMousePosition,e=this._change[this.axis];if(!e)return!1;a= +e.apply(this,[b,b.pageX-a.left||0,b.pageY-a.top||0]);this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)a=this._updateRatio(a,b);a=this._respectSize(a,b);this._propagate("resize",b);c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(a);this._trigger("resize",b,this.ui());return!1},_mouseStop:function(c){this.resizing= +!1;var a=this.options;if(this._helper){var h=this._proportionallyResizeElements,e=h.length&&/textarea/i.test(h[0].nodeName),h=e&&b.ui.hasScroll(h[0],"left")?0:this.sizeDiff.height,e=e?0:this.sizeDiff.width,e={width:this.helper.width()-e,height:this.helper.height()-h},h=parseInt(this.element.css("left"),10)+(this.position.left-this.originalPosition.left)||null,f=parseInt(this.element.css("top"),10)+(this.position.top-this.originalPosition.top)||null;a.animate||this.element.css(b.extend(e,{top:f,left:h})); +this.helper.height(this.size.height);this.helper.width(this.size.width);this._helper&&!a.animate&&this._proportionallyResize()}b("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",c);this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(b){var a=this.options,h,e,f,a={minWidth:c(a.minWidth)?a.minWidth:0,maxWidth:c(a.maxWidth)?a.maxWidth:Infinity,minHeight:c(a.minHeight)?a.minHeight:0,maxHeight:c(a.maxHeight)?a.maxHeight:Infinity}; +if(this._aspectRatio||b)if(b=a.minHeight*this.aspectRatio,e=a.minWidth/this.aspectRatio,h=a.maxHeight*this.aspectRatio,f=a.maxWidth/this.aspectRatio,b>a.minWidth&&(a.minWidth=b),e>a.minHeight&&(a.minHeight=e),hb.width,j=c(b.height)&&a.minHeight&&a.minHeight> +b.height;i&&(b.width=a.minWidth);j&&(b.height=a.minHeight);e&&(b.width=a.maxWidth);f&&(b.height=a.maxHeight);var k=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,m=/sw|nw|w/.test(h),h=/nw|ne|n/.test(h);i&&m&&(b.left=k-a.minWidth);e&&m&&(b.left=k-a.maxWidth);j&&h&&(b.top=l-a.minHeight);f&&h&&(b.top=l-a.maxHeight);(a=!b.width&&!b.height)&&!b.left&&b.top?b.top=null:a&&(!b.top&&b.left)&&(b.left=null);return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var c= +this.helper||this.element,a=0;a');var a=b.browser.msie&&7>b.browser.version,h=a?1:0,a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-h+"px",top:this.elementOffset.top- +h+"px",zIndex:++c.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,c){return{width:this.originalSize.width+c}},w:function(b,c){return{left:this.originalPosition.left+c,width:this.originalSize.width-c}},n:function(b,c,a){return{top:this.originalPosition.top+a,height:this.originalSize.height-a}},s:function(b,c,a){return{height:this.originalSize.height+a}},se:function(c,a,h){return b.extend(this._change.s.apply(this,arguments),this._change.e.apply(this, +[c,a,h]))},sw:function(c,a,h){return b.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[c,a,h]))},ne:function(c,a,h){return b.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[c,a,h]))},nw:function(c,a,h){return b.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[c,a,h]))}},_propagate:function(c,a){b.ui.plugin.call(this,c,[a,this.ui()]);"resize"!=c&&this._trigger(c,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement, +element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});b.extend(b.ui.resizable,{version:"1.8.14"});b.ui.plugin.add("resizable","alsoResize",{start:function(){var c=b(this).data("resizable").options,a=function(c){b(c).each(function(){var c=b(this);c.data("resizable-alsoresize",{width:parseInt(c.width(),10),height:parseInt(c.height(),10),left:parseInt(c.css("left"),10),top:parseInt(c.css("top"),10),position:c.css("position")})})}; +"object"==typeof c.alsoResize&&!c.alsoResize.parentNode?c.alsoResize.length?(c.alsoResize=c.alsoResize[0],a(c.alsoResize)):b.each(c.alsoResize,function(b){a(b)}):a(c.alsoResize)},resize:function(c,a){var h=b(this).data("resizable"),e=h.options,f=h.originalSize,i=h.originalPosition,j={height:h.size.height-f.height||0,width:h.size.width-f.width||0,top:h.position.top-i.top||0,left:h.position.left-i.left||0},k=function(c,f){b(c).each(function(){var c=b(this),d=b(this).data("resizable-alsoresize"),i={}, +e=f&&f.length?f:c.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];b.each(e,function(b,c){var a=(d[c]||0)+(j[c]||0);a&&0<=a&&(i[c]=a||null)});b.browser.opera&&/relative/.test(c.css("position"))&&(h._revertToRelativePosition=!0,c.css({position:"absolute",top:"auto",left:"auto"}));c.css(i)})};"object"==typeof e.alsoResize&&!e.alsoResize.nodeType?b.each(e.alsoResize,function(b,c){k(b,c)}):k(e.alsoResize)},stop:function(){var c=b(this).data("resizable"),a=c.options, +h=function(c){b(c).each(function(){var c=b(this);c.css({position:c.data("resizable-alsoresize").position})})};c._revertToRelativePosition&&(c._revertToRelativePosition=!1,"object"==typeof a.alsoResize&&!a.alsoResize.nodeType?b.each(a.alsoResize,function(b){h(b)}):h(a.alsoResize));b(this).removeData("resizable-alsoresize")}});b.ui.plugin.add("resizable","animate",{stop:function(c){var a=b(this).data("resizable"),h=a.options,e=a._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName), +i=f&&b.ui.hasScroll(e[0],"left")?0:a.sizeDiff.height,f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-i},i=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null,j=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(b.extend(f,j&&i?{top:j,left:i}:{}),{duration:h.animateDuration,easing:h.animateEasing,step:function(){var f={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10), +top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};e&&e.length&&b(e[0]).css({width:f.width,height:f.height});a._updateCache(f);a._propagate("resize",c)}})}});b.ui.plugin.add("resizable","containment",{start:function(){var c=b(this).data("resizable"),g=c.element,h=c.options.containment;if(g=h instanceof b?h.get(0):/parent/.test(h)?g.parent().get(0):h)if(c.containerElement=b(g),/document/.test(h)||h==document)c.containerOffset={left:0,top:0},c.containerPosition={left:0,top:0}, +c.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight};else{var e=b(g),f=[];b(["Top","Right","Left","Bottom"]).each(function(b,c){f[b]=a(e.css("padding"+c))});c.containerOffset=e.offset();c.containerPosition=e.position();c.containerSize={height:e.innerHeight()-f[3],width:e.innerWidth()-f[1]};var h=c.containerOffset,i=c.containerSize.height,j=c.containerSize.width,j=b.ui.hasScroll(g,"left")?g.scrollWidth:j,i=b.ui.hasScroll(g)? +g.scrollHeight:i;c.parentData={element:g,left:h.left,top:h.top,width:j,height:i}}},resize:function(c){var a=b(this).data("resizable"),h=a.options,e=a.containerOffset,f=a.position,c=a._aspectRatio||c.shiftKey,i={top:0,left:0},j=a.containerElement;j[0]!=document&&/static/.test(j.css("position"))&&(i=e);if(f.left<(a._helper?e.left:0))a.size.width+=a._helper?a.position.left-e.left:a.position.left-i.left,c&&(a.size.height=a.size.width/h.aspectRatio),a.position.left=h.helper?e.left:0;if(f.top<(a._helper? +e.top:0))a.size.height+=a._helper?a.position.top-e.top:a.position.top,c&&(a.size.width=a.size.height*h.aspectRatio),a.position.top=a._helper?e.top:0;a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;h=Math.abs(a.offset.left-i.left+a.sizeDiff.width);e=Math.abs((a._helper?a.offset.top-i.top:a.offset.top-e.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);i=/relative|absolute/.test(a.containerElement.css("position"));f&&i&&(h-=a.parentData.left); +h+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-h,c&&(a.size.height=a.size.width/a.aspectRatio));e+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-e,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var a=b(this).data("resizable"),c=a.options,h=a.containerOffset,e=a.containerPosition,f=a.containerElement,i=b(a.helper),j=i.offset(),k=i.outerWidth()-a.sizeDiff.width,i=i.outerHeight()-a.sizeDiff.height;a._helper&&(!c.animate&&/relative/.test(f.css("position")))&& +b(this).css({left:j.left-e.left-h.left,width:k,height:i});a._helper&&(!c.animate&&/static/.test(f.css("position")))&&b(this).css({left:j.left-e.left-h.left,width:k,height:i})}});b.ui.plugin.add("resizable","ghost",{start:function(){var a=b(this).data("resizable"),c=a.options,h=a.size;a.ghost=a.originalElement.clone();a.ghost.css({opacity:0.25,display:"block",position:"relative",height:h.height,width:h.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof c.ghost?c.ghost: +"");a.ghost.appendTo(a.helper)},resize:function(){var a=b(this).data("resizable");a.ghost&&a.ghost.css({position:"relative",height:a.size.height,width:a.size.width})},stop:function(){var a=b(this).data("resizable");a.ghost&&a.helper&&a.helper.get(0).removeChild(a.ghost.get(0))}});b.ui.plugin.add("resizable","grid",{resize:function(){var a=b(this).data("resizable"),c=a.options,h=a.size,e=a.originalSize,f=a.originalPosition,i=a.axis;c.grid="number"==typeof c.grid?[c.grid,c.grid]:c.grid;var j=Math.round((h.width- +e.width)/(c.grid[0]||1))*(c.grid[0]||1),c=Math.round((h.height-e.height)/(c.grid[1]||1))*(c.grid[1]||1);/^(se|s|e)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c):/^(ne)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c,a.position.top=f.top-c):(/^(sw)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c):(a.size.width=e.width+j,a.size.height=e.height+c,a.position.top=f.top-c),a.position.left=f.left-j)}});var a=function(b){return parseInt(b,10)||0},c=function(b){return!isNaN(parseInt(b, +10))}})(jQuery); +(function(b){b.widget("ui.selectable",b.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var a=this;this.element.addClass("ui-selectable");this.dragged=!1;var c;this.refresh=function(){c=b(a.options.filter,a.element[0]);c.each(function(){var a=b(this),c=a.offset();b.data(this,"selectable-item",{element:this,$element:a,left:c.left,top:c.top,right:c.left+a.outerWidth(),bottom:c.top+a.outerHeight(),startselected:!1,selected:a.hasClass("ui-selected"),selecting:a.hasClass("ui-selecting"), +unselecting:a.hasClass("ui-unselecting")})})};this.refresh();this.selectees=c.addClass("ui-selectee");this._mouseInit();this.helper=b("
          ")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(a){var c=this;this.opos=[a.pageX,a.pageY];if(!this.options.disabled){var d= +this.options;this.selectees=b(d.filter,this.element[0]);this._trigger("start",a);b(d.appendTo).append(this.helper);this.helper.css({left:a.clientX,top:a.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var d=b.data(this,"selectable-item");d.startselected=!0;a.metaKey||(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",a,{unselecting:d.element}))});b(a.target).parents().andSelf().each(function(){var d= +b.data(this,"selectable-item");if(d){var h=!a.metaKey||!d.$element.hasClass("ui-selected");d.$element.removeClass(h?"ui-unselecting":"ui-selected").addClass(h?"ui-selecting":"ui-unselecting");d.unselecting=!h;d.selecting=h;(d.selected=h)?c._trigger("selecting",a,{selecting:d.element}):c._trigger("unselecting",a,{unselecting:d.element});return!1}})}},_mouseDrag:function(a){var c=this;this.dragged=!0;if(!this.options.disabled){var d=this.options,g=this.opos[0],h=this.opos[1],e=a.pageX,f=a.pageY;if(g> +e)var i=e,e=g,g=i;h>f&&(i=f,f=h,h=i);this.helper.css({left:g,top:h,width:e-g,height:f-h});this.selectees.each(function(){var i=b.data(this,"selectable-item");if(i&&i.element!=c.element[0]){var k=false;d.tolerance=="touch"?k=!(i.left>e||i.rightf||i.bottomg&&i.righth&&i.bottom *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){var b=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh(); +this.floating=this.items.length?"x"===b.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var b=this.items.length-1;0<=b;b--)this.items[b].item.removeData("sortable-item");return this},_setOption:function(a,c){"disabled"===a?(this.options[a]= +c,this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")):b.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,c){if(this.reverting||this.options.disabled||"static"==this.options.type)return!1;this._refreshItems(a);var d=null,g=this;b(a.target).parents().each(function(){if(b.data(this,"sortable-item")==g)return d=b(this),!1});b.data(a.target,"sortable-item")==g&&(d=b(a.target));if(!d)return!1;if(this.options.handle&&!c){var h=!1;b(this.options.handle,d).find("*").andSelf().each(function(){this== +a.target&&(h=!0)});if(!h)return!1}this.currentItem=d;this._removeCurrentsFromItems();return!0},_mouseStart:function(a,c,d){c=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition= +this.helper.css("position");b.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder(); +c.containment&&this._setContainment();c.cursor&&(b("body").css("cursor")&&(this._storedCursor=b("body").css("cursor")),b("body").css("cursor",c.cursor));c.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",c.opacity));c.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",c.zIndex));this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()); +this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(d=this.containers.length-1;0<=d;d--)this.containers[d]._trigger("activate",a,this._uiHash(this));b.ui.ddmanager&&(b.ui.ddmanager.current=this);b.ui.ddmanager&&!c.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,a);this.dragging=!0;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return!0},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute"); +this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageYb[this.floating?"width":"height"]?g+k>i&&g+ke&&c+lthis.containment[2]&&(h=this.containment[2]+this.offset.click.left),a.pageY-this.offset.click.top>this.containment[3]&&(e=this.containment[3]+this.offset.click.top)),c.grid))e=this.originalPageY+Math.round((e-this.originalPageY)/c.grid[1])*c.grid[1],e=this.containment?!(e-this.offset.click.topthis.containment[3])?e:!(e-this.offset.click.top< +this.containment[1])?e-c.grid[1]:e+c.grid[1]:e,h=this.originalPageX+Math.round((h-this.originalPageX)/c.grid[0])*c.grid[0],h=this.containment?!(h-this.offset.click.leftthis.containment[2])?h:!(h-this.offset.click.left li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,c=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");a.headers= +a.element.find(c.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){c.disabled||b(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){c.disabled||b(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){c.disabled||b(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){c.disabled||b(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); +if(c.navigation){var d=a.element.find("a").filter(c.navigationFilter).eq(0);if(d.length){var g=d.closest(".ui-accordion-header");a.active=g.length?g:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||c.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion", +function(b){return a._keydown(b)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);b.browser.safari||a.headers.find("a").attr("tabIndex",-1);c.event&&a.headers.bind(c.event.split(" ").join(".accordion ")+".accordion",function(b){a._clickHandler.call(a,b,this);b.preventDefault()})},_createIcons:function(){var a= +this.options;a.icons&&(b("").addClass("ui-icon "+a.icons.header).prependTo(this.headers),this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected),this.element.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex"); +this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var c=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");(a.autoHeight||a.fillHeight)&&c.css("height","");return b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);"active"==a&&this.activate(c);"icons"==a&&(this._destroyIcons(), +c&&this._createIcons());if("disabled"==a)this.headers.add(this.headers.next())[c?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!this.options.disabled&&!a.altKey&&!a.ctrlKey){var c=b.ui.keyCode,d=this.headers.length,g=this.headers.index(a.target),h=!1;switch(a.keyCode){case c.RIGHT:case c.DOWN:h=this.headers[(g+1)%d];break;case c.LEFT:case c.UP:h=this.headers[(g-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:a.target},a.target),a.preventDefault()}return h? +(b(a.target).attr("tabIndex",-1),b(h).attr("tabIndex",0),h.focus(),!1):!0}},resize:function(){var a=this.options,c;if(a.fillSpace){if(b.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}c=this.element.parent().height();b.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){c-=b(this).outerHeight(!0)});this.headers.next().each(function(){b(this).height(Math.max(0,c-b(this).innerHeight()+b(this).height()))}).css("overflow", +"auto")}else a.autoHeight&&(c=0,this.headers.next().each(function(){c=Math.max(c,b(this).height("").height())}).height(c));return this},activate:function(b){this.options.active=b;b=this._findActive(b)[0];this._clickHandler({target:b},b);return this},_findActive:function(a){return a?"number"===typeof a?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):!1===a?b([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,c){var d=this.options;if(!d.disabled)if(a.target){var g=b(a.currentTarget|| +c),h=g[0]===this.active[0];d.active=d.collapsible&&h?!1:this.headers.index(g);if(!(this.running||!d.collapsible&&h)){var e=this.active,f=g.next(),i=this.active.next(),j={options:d,newHeader:h&&d.collapsible?b([]):g,oldHeader:this.active,newContent:h&&d.collapsible?b([]):f,oldContent:i},k=this.headers.index(this.active[0])>this.headers.index(g[0]);this.active=h?b([]):g;this._toggle(f,i,j,h,k);e.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header); +h||(g.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected),g.next().addClass("ui-accordion-content-active"))}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var i=this.active.next(), +j={options:d,newHeader:b([]),oldHeader:d.active,newContent:b([]),oldContent:i},f=this.active=b([]);this._toggle(f,i,j)}},_toggle:function(a,c,d,g,h){var e=this,f=e.options;e.toShow=a;e.toHide=c;e.data=d;var i=function(){if(e)return e._completed.apply(e,arguments)};e._trigger("changestart",null,e.data);e.running=0===c.size()?a.size():c.size();if(f.animated){d={};d=f.collapsible&&g?{toShow:b([]),toHide:c,complete:i,down:h,autoHeight:f.autoHeight||f.fillSpace}:{toShow:a,toHide:c,complete:i,down:h,autoHeight:f.autoHeight|| +f.fillSpace};f.proxied||(f.proxied=f.animated);f.proxiedDuration||(f.proxiedDuration=f.duration);f.animated=b.isFunction(f.proxied)?f.proxied(d):f.proxied;f.duration=b.isFunction(f.proxiedDuration)?f.proxiedDuration(d):f.proxiedDuration;var g=b.ui.accordion.animations,j=f.duration,k=f.animated;k&&(!g[k]&&!b.easing[k])&&(k="slide");g[k]||(g[k]=function(b){this.slide(b,{easing:k,duration:j||700})});g[k](d)}else f.collapsible&&g?a.toggle():(c.hide(),a.show()),i(!0);c.prev().attr({"aria-expanded":"false", +"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(b){this.running=b?0:--this.running;this.running||(this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""}),this.toHide.removeClass("ui-accordion-content-active"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger("change",null,this.data))}});b.extend(b.ui.accordion,{version:"1.8.14", +animations:{slide:function(a,c){a=b.extend({easing:"swing",duration:300},a,c);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),g=0,h={},e={},f,i=a.toShow;f=i[0].style.width;i.width(parseInt(i.parent().width(),10)-parseInt(i.css("paddingLeft"),10)-parseInt(i.css("paddingRight"),10)-(parseInt(i.css("borderLeftWidth"),10)||0)-(parseInt(i.css("borderRightWidth"),10)||0));b.each(["height","paddingTop","paddingBottom"],function(c,f){e[f]="hide";var i=(""+b.css(a.toShow[0],f)).match(/^([\d+-.]+)(.*)$/); +h[f]={value:i[1],unit:i[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(e,{step:function(b,c){"height"==c.prop&&(g=0===c.end-c.start?0:(c.now-c.start)/(c.end-c.start));a.toShow[0].style[c.prop]=g*h[c.prop].value+h[c.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:f,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide", +paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1E3:200})}}})})(jQuery); +(function(b){var a=0;b.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var c=this,a=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(a){if(!c.options.disabled&&!c.element.attr("readonly")){g=!1;var d= +b.ui.keyCode;switch(a.keyCode){case d.PAGE_UP:c._move("previousPage",a);break;case d.PAGE_DOWN:c._move("nextPage",a);break;case d.UP:c._move("previous",a);a.preventDefault();break;case d.DOWN:c._move("next",a);a.preventDefault();break;case d.ENTER:case d.NUMPAD_ENTER:c.menu.active&&(g=!0,a.preventDefault());case d.TAB:if(!c.menu.active)break;c.menu.select(a);break;case d.ESCAPE:c.element.val(c.term);c.close(a);break;default:clearTimeout(c.searching),c.searching=setTimeout(function(){c.term!=c.element.val()&& +(c.selectedItem=null,c.search(null,a))},c.options.delay)}}}).bind("keypress.autocomplete",function(b){g&&(g=!1,b.preventDefault())}).bind("focus.autocomplete",function(){c.options.disabled||(c.selectedItem=null,c.previous=c.element.val())}).bind("blur.autocomplete",function(b){c.options.disabled||(clearTimeout(c.searching),c.closing=setTimeout(function(){c.close(b);c._change(b)},150))});this._initSource();this.response=function(){return c._response.apply(c,arguments)};this.menu=b("
            ").addClass("ui-autocomplete").appendTo(b(this.options.appendTo|| +"body",a)[0]).mousedown(function(a){var d=c.menu.element[0];b(a.target).closest(".ui-menu-item").length||setTimeout(function(){b(document).one("mousedown",function(a){a.target!==c.element[0]&&(a.target!==d&&!b.ui.contains(d,a.target))&&c.close()})},1);setTimeout(function(){clearTimeout(c.closing)},13)}).menu({focus:function(b,a){var f=a.item.data("item.autocomplete");!1!==c._trigger("focus",b,{item:f})&&/^key/.test(b.originalEvent.type)&&c.element.val(f.value)},selected:function(b,e){var f=e.item.data("item.autocomplete"), +i=c.previous;c.element[0]!==a.activeElement&&(c.element.focus(),c.previous=i,setTimeout(function(){c.previous=i;c.selectedItem=f},1));!1!==c._trigger("select",b,{item:f})&&c.element.val(f.value);c.term=c.element.val();c.close(b);c.selectedItem=f},blur:function(){c.menu.element.is(":visible")&&c.element.val()!==c.term&&c.element.val(c.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");b.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"); +this.menu.element.remove();b.Widget.prototype.destroy.call(this)},_setOption:function(a,d){b.Widget.prototype._setOption.apply(this,arguments);"source"===a&&this._initSource();"appendTo"===a&&this.menu.element.appendTo(b(d||"body",this.element[0].ownerDocument)[0]);"disabled"===a&&(d&&this.xhr)&&this.xhr.abort()},_initSource:function(){var c=this,d,g;b.isArray(this.options.source)?(d=this.options.source,this.source=function(a,c){c(b.ui.autocomplete.filter(d,a.term))}):"string"===typeof this.options.source? +(g=this.options.source,this.source=function(d,e){c.xhr&&c.xhr.abort();c.xhr=b.ajax({url:g,data:d,dataType:"json",autocompleteRequest:++a,success:function(b){this.autocompleteRequest===a&&e(b)},error:function(){this.autocompleteRequest===a&&e([])}})}):this.source=this.options.source},search:function(b,a){b=null!=b?b:this.element.val();this.term=this.element.val();if(b.length").data("item.autocomplete",d).append(b("").text(d.label)).appendTo(a)},_move:function(b,a){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(b)||this.menu.last()&& +/^next/.test(b))this.element.val(this.term),this.menu.deactivate();else this.menu[b](a);else this.search(null,a)},widget:function(){return this.menu.element}});b.extend(b.ui.autocomplete,{escapeRegex:function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,d){var g=RegExp(b.ui.autocomplete.escapeRegex(d),"i");return b.grep(a,function(b){return g.test(b.label||b.value||b)})}})})(jQuery); +(function(b){b.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){b(c.target).closest(".ui-menu-item a").length&&(c.preventDefault(),a.select(c))});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex", +-1).mouseenter(function(c){a.activate(c,b(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(b,c){this.deactivate();if(this.hasScroll()){var d=c.offset().top-this.element.offset().top,g=this.element.scrollTop(),h=this.element.height();0>d?this.element.scrollTop(g+d):d>=h&&this.element.scrollTop(g+d-h+c.height())}this.active=c.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",b,{item:c})},deactivate:function(){this.active&& +(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(b,c,d){this.active?(b=this.active[b+"All"](".ui-menu-item").eq(0),b.length?this.activate(d, +b):this.activate(d,this.element.children(c))):this.activate(d,this.element.children(c))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(".ui-menu-item:first"));else{var c=this.active.offset().top,d=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var a=b(this).offset().top-c-d+b(this).height();return 10>a&&-10a&&-10").addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),d=this.options.icons,h=d.primary&&d.secondary,e=[];d.primary||d.secondary?(this.options.text&&e.push("ui-button-text-icon"+(h?"s":d.primary?"-primary":"-secondary")),d.primary&&a.prepend(""),d.secondary&&a.append(""),this.options.text||(e.push(h?"ui-button-icons-only": +"ui-button-icon-only"),this.hasTitle||a.attr("title",c))):e.push("ui-button-text-only");a.addClass(e.join(" "))}}});b.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(a,c){"disabled"===a&&this.buttons.button("option",a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a="ltr"===this.element.css("direction"); +this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(a?"ui-corner-left":"ui-corner-right").end().filter(":last").addClass(a?"ui-corner-right":"ui-corner-left").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"); +b.Widget.prototype.destroy.call(this)}})})(jQuery); +(function(b,a){var c={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},d={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},g=b.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};b.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(a){var c= +b(this).css(a).offset().top;0>c&&b(this).css("top",a.top-c)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");"string"!==typeof this.originalTitle&&(this.originalTitle="");this.options.title=this.options.title||this.originalTitle;var a=this,c=a.options,f=c.title||" ",i=b.ui.dialog.getTitleId(a.element),d=(a.uiDialog=b("
            ")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+ +c.dialogClass).css({zIndex:c.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(f){if(c.closeOnEscape&&f.keyCode&&f.keyCode===b.ui.keyCode.ESCAPE){a.close(f);f.preventDefault()}}).attr({role:"dialog","aria-labelledby":i}).mousedown(function(b){a.moveToTop(false,b)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(d);var g=(a.uiDialogTitlebar=b("
            ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(d), +l=b('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){l.addClass("ui-state-hover")},function(){l.removeClass("ui-state-hover")}).focus(function(){l.addClass("ui-state-focus")}).blur(function(){l.removeClass("ui-state-focus")}).click(function(b){a.close(b);return false}).appendTo(g);(a.uiDialogTitlebarCloseText=b("")).addClass("ui-icon ui-icon-closethick").text(c.closeText).appendTo(l);b("").addClass("ui-dialog-title").attr("id", +i).html(f).prependTo(g);b.isFunction(c.beforeclose)&&!b.isFunction(c.beforeClose)&&(c.beforeClose=c.beforeclose);g.find("*").add(g).disableSelection();c.draggable&&b.fn.draggable&&a._makeDraggable();c.resizable&&b.fn.resizable&&a._makeResizable();a._createButtons(c.buttons);a._isOpen=!1;b.fn.bgiframe&&d.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){this.overlay&&this.overlay.destroy();this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"); +this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle);return this},widget:function(){return this.uiDialog},close:function(a){var c=this,f,d;if(!1!==c._trigger("beforeClose",a))return c.overlay&&c.overlay.destroy(),c.uiDialog.unbind("keypress.ui-dialog"),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger("close",a)}):(c.uiDialog.hide(),c._trigger("close",a)),b.ui.dialog.overlay.resize(),c.options.modal&&(f=0,b(".ui-dialog").each(function(){if(this!== +c.uiDialog[0]){d=b(this).css("z-index");isNaN(d)||(f=Math.max(f,d))}}),b.ui.dialog.maxZ=f),c},isOpen:function(){return this._isOpen},moveToTop:function(a,c){var f=this.options;if(f.modal&&!a||!f.stack&&!f.modal)return this._trigger("focus",c);f.zIndex>b.ui.dialog.maxZ&&(b.ui.dialog.maxZ=f.zIndex);this.overlay&&(b.ui.dialog.maxZ+=1,this.overlay.$el.css("z-index",b.ui.dialog.overlay.maxZ=b.ui.dialog.maxZ));f={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};b.ui.dialog.maxZ+= +1;this.uiDialog.css("z-index",b.ui.dialog.maxZ);this.element.attr(f);this._trigger("focus",c);return this},open:function(){if(!this._isOpen){var a=this.options,c=this.uiDialog;this.overlay=a.modal?new b.ui.dialog.overlay(this):null;this._size();this._position(a.position);c.show(a.show);this.moveToTop(!0);a.modal&&c.bind("keypress.ui-dialog",function(a){if(a.keyCode===b.ui.keyCode.TAB){var c=b(":tabbable",this),d=c.filter(":first"),c=c.filter(":last");if(a.target===c[0]&&!a.shiftKey)return d.focus(1), +!1;if(a.target===d[0]&&a.shiftKey)return c.focus(1),!1}});b(this.element.find(":tabbable").get().concat(c.find(".ui-dialog-buttonpane :tabbable").get().concat(c.get()))).eq(0).focus();this._isOpen=!0;this._trigger("open");return this}},_createButtons:function(a){var c=this,f=!1,d=b("
            ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),j=b("
            ").addClass("ui-dialog-buttonset").appendTo(d);c.uiDialog.find(".ui-dialog-buttonpane").remove();"object"===typeof a&& +null!==a&&b.each(a,function(){return!(f=!0)});f&&(b.each(a,function(a,f){var f=b.isFunction(f)?{click:f,text:a}:f,d=b('').click(function(){f.click.apply(c.element[0],arguments)}).appendTo(j);b.each(f,function(b,a){if("click"!==b)if(b in g)d[b](a);else d.attr(b,a)});b.fn.button&&d.button()}),d.appendTo(c.uiDialog))},_makeDraggable:function(){function a(b){return{position:b.position,offset:b.offset}}var c=this,f=c.options,d=b(document),g;c.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close", +handle:".ui-dialog-titlebar",containment:"document",start:function(d,i){g="auto"===f.height?"auto":b(this).height();b(this).height(b(this).height()).addClass("ui-dialog-dragging");c._trigger("dragStart",d,a(i))},drag:function(b,f){c._trigger("drag",b,a(f))},stop:function(k,l){f.position=[l.position.left-d.scrollLeft(),l.position.top-d.scrollTop()];b(this).removeClass("ui-dialog-dragging").height(g);c._trigger("dragStop",k,a(l));b.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function d(b){return{originalPosition:b.originalPosition, +originalSize:b.originalSize,position:b.position,size:b.size}}var c=c===a?this.options.resizable:c,f=this,i=f.options,g=f.uiDialog.css("position"),c="string"===typeof c?c:"n,e,s,w,se,sw,ne,nw";f.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:f.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:f._minHeight(),handles:c,start:function(a,c){b(this).addClass("ui-dialog-resizing");f._trigger("resizeStart",a,d(c))},resize:function(b,a){f._trigger("resize", +b,d(a))},stop:function(a,c){b(this).removeClass("ui-dialog-resizing");i.height=b(this).height();i.width=b(this).width();f._trigger("resizeStop",a,d(c));b.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var b=this.options;return"auto"===b.height?b.minHeight:Math.min(b.minHeight,b.height)},_position:function(a){var c=[],f=[0,0],d;if(a){if("string"===typeof a||"object"===typeof a&&"0"in a)c=a.split?a.split(" "): +[a[0],a[1]],1===c.length&&(c[1]=c[0]),b.each(["left","top"],function(b,a){+c[b]===c[b]&&(f[b]=c[b],c[b]=a)}),a={my:c.join(" "),at:c.join(" "),offset:f.join(" ")};a=b.extend({},b.ui.dialog.prototype.options.position,a)}else a=b.ui.dialog.prototype.options.position;(d=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(b.extend({of:window},a));d||this.uiDialog.hide()},_setOptions:function(a){var g=this,f={},i=!1;b.each(a,function(b,a){g._setOption(b,a);b in +c&&(i=!0);b in d&&(f[b]=a)});i&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",f)},_setOption:function(a,c){var f=this.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":this._createButtons(c);break;case "closeText":this.uiDialogTitlebarCloseText.text(""+c);break;case "dialogClass":f.removeClass(this.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+c);break;case "disabled":c?f.addClass("ui-dialog-disabled"): +f.removeClass("ui-dialog-disabled");break;case "draggable":var d=f.is(":data(draggable)");d&&!c&&f.draggable("destroy");!d&&c&&this._makeDraggable();break;case "position":this._position(c);break;case "resizable":(d=f.is(":data(resizable)"))&&!c&&f.resizable("destroy");d&&"string"===typeof c&&f.resizable("option","handles",c);!d&&!1!==c&&this._makeResizable(c);break;case "title":b(".ui-dialog-title",this.uiDialogTitlebar).html(""+(c||" "))}b.Widget.prototype._setOption.apply(this,arguments)}, +_size:function(){var a=this.options,c,f,d=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});a.minWidth>a.width&&(a.width=a.minWidth);c=this.uiDialog.css({height:"auto",width:a.width}).height();f=Math.max(0,a.minHeight-c);"auto"===a.height?b.support.minHeight?this.element.css({minHeight:f,height:"auto"}):(this.uiDialog.show(),a=this.element.css("height","auto").height(),d||this.uiDialog.hide(),this.element.height(Math.max(a,f))):this.element.height(Math.max(a.height- +c,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});b.extend(b.ui.dialog,{version:"1.8.14",uuid:0,maxZ:0,getTitleId:function(b){b=b.attr("id");b||(b=this.uuid+=1);return"ui-dialog-title-"+b},overlay:function(a){this.$el=b.ui.dialog.overlay.create(a)}});b.extend(b.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:b.map("focus mousedown mouseup keydown keypress click".split(" "),function(b){return b+".dialog-overlay"}).join(" "), +create:function(a){0===this.instances.length&&(setTimeout(function(){b.ui.dialog.overlay.instances.length&&b(document).bind(b.ui.dialog.overlay.events,function(a){if(b(a.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(), +height:this.height()});b.fn.bgiframe&&c.bgiframe();this.instances.push(c);return c},destroy:function(a){var c=b.inArray(a,this.instances);-1!=c&&this.oldInstances.push(this.instances.splice(c,1)[0]);0===this.instances.length&&b([document,window]).unbind(".dialog-overlay");a.remove();var f=0;b.each(this.instances,function(){f=Math.max(f,this.css("z-index"))});this.maxZ=f},height:function(){var a,c;return b.browser.msie&&7>b.browser.version?(a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight), +c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),a").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===c.range||"max"===c.range?" ui-slider-range-"+c.range:""))}for(var e=d.length;e"); +this.handles=d.add(b(h.join("")).appendTo(a.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(b){b.preventDefault()}).hover(function(){c.disabled||b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")}).focus(function(){c.disabled?b(this).blur():(b(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),b(this).addClass("ui-state-focus"))}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(a){b(this).data("index.ui-slider-handle", +a)});this.handles.keydown(function(c){var d=!0,g=b(this).data("index.ui-slider-handle"),e,h,m;if(!a.options.disabled){switch(c.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(d=!1,!a._keySliding&&(a._keySliding=!0,b(this).addClass("ui-state-active"),e=a._start(c,g),!1===e))return}m=a.options.step;e=a.options.values&&a.options.values.length?h=a.values(g): +h=a.value();switch(c.keyCode){case b.ui.keyCode.HOME:h=a._valueMin();break;case b.ui.keyCode.END:h=a._valueMax();break;case b.ui.keyCode.PAGE_UP:h=a._trimAlignValue(e+(a._valueMax()-a._valueMin())/5);break;case b.ui.keyCode.PAGE_DOWN:h=a._trimAlignValue(e-(a._valueMax()-a._valueMin())/5);break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(e===a._valueMax())return;h=a._trimAlignValue(e+m);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(e===a._valueMin())return;h=a._trimAlignValue(e-m)}a._slide(c, +g,h);return d}}).keyup(function(c){var d=b(this).data("index.ui-slider-handle");a._keySliding&&(a._keySliding=!1,a._stop(c,d),a._change(c,d),b(this).removeClass("ui-state-active"))});this._refreshValue();this._animateOff=!1},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(a){var c= +this.options,d,g,h,e,f;if(c.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();d=this._normValueFromMouse({x:a.pageX,y:a.pageY});g=this._valueMax()-this._valueMin()+1;e=this;this.handles.each(function(a){var c=Math.abs(d-e.values(a));g>c&&(g=c,h=b(this),f=a)});!0===c.range&&this.values(1)===c.min&&(f+=1,h=b(this.handles[f]));if(!1===this._start(a,f))return!1;this._mouseSliding=!0;e._handleIndex=f;h.addClass("ui-state-active").focus(); +c=h.offset();this._clickOffset=!b(a.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:a.pageX-c.left-h.width()/2,top:a.pageY-c.top-h.height()/2-(parseInt(h.css("borderTopWidth"),10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(a,f,d);return this._animateOff=!0},_mouseStart:function(){return!0},_mouseDrag:function(b){var c=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b, +this._handleIndex,c);return!1},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=!1;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(b){var c;"horizontal"===this.orientation?(c=this.elementSize.width,b=b.x-this.elementOffset.left-(this._clickOffset? +this._clickOffset.left:0)):(c=this.elementSize.height,b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0));c=b/c;1c&&(c=0);"vertical"===this.orientation&&(c=1-c);b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+c*b)},_start:function(b,c){var d={handle:this.handles[c],value:this.value()};this.options.values&&this.options.values.length&&(d.value=this.values(c),d.values=this.values());return this._trigger("start",b,d)},_slide:function(b, +c,d){var g;if(this.options.values&&this.options.values.length){g=this.values(c?0:1);if(2===this.options.values.length&&!0===this.options.range&&(0===c&&d>g||1===c&&d=this._valueMax())return this._valueMax();var c=0=c&&(alignValue+=0",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
          • #{label}
          • "},_create:function(){this._tabify(!0)},_setOption:function(b,a){"selected"==b?this.options.collapsible&&a==this.options.selected||this.select(a): +(this.options[b]=a,this._tabify())},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+ ++c},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var a=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++d);return b.cookie.apply(null,[a].concat(b.makeArray(arguments)))},_ui:function(b,a){return{tab:b,panel:a,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var a= +b(this);a.html(a.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function d(a,c){a.css("display","");!b.support.opacity&&c.opacity&&a[0].style.removeAttribute("filter")}var e=this,f=this.options,i=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=b(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return b("a",this)[0]});this.panels=b([]);this.anchors.each(function(a,c){var d=b(c).attr("href"),g=d.split("#")[0],h;if(g&&(g===location.toString().split("#")[0]|| +(h=b("base")[0])&&g===h.href))d=c.hash,c.href=d;i.test(d)?e.panels=e.panels.add(e.element.find(e._sanitizeSelector(d))):d&&"#"!==d?(b.data(c,"href.tabs",d),b.data(c,"load.tabs",d.replace(/#.*$/,"")),d=e._tabId(c),c.href="#"+d,g=e.element.find("#"+d),g.length||(g=b(f.panelTemplate).attr("id",d).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(e.panels[a-1]||e.list),g.data("destroy.tabs",!0)),e.panels=e.panels.add(g)):f.disabled.push(a)});c?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"), +this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),f.selected===a?(location.hash&&this.anchors.each(function(b,a){if(a.hash==location.hash)return f.selected=b,!1}),"number"!==typeof f.selected&&f.cookie&&(f.selected=parseInt(e._cookie(),10)),"number"!==typeof f.selected&&this.lis.filter(".ui-tabs-selected").length&&(f.selected= +this.lis.index(this.lis.filter(".ui-tabs-selected"))),f.selected=f.selected||(this.lis.length?0:-1)):null===f.selected&&(f.selected=-1),f.selected=0<=f.selected&&this.anchors[f.selected]||0>f.selected?f.selected:0,f.disabled=b.unique(f.disabled.concat(b.map(this.lis.filter(".ui-state-disabled"),function(b){return e.lis.index(b)}))).sort(),-1!=b.inArray(f.selected,f.disabled)&&f.disabled.splice(b.inArray(f.selected,f.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"), +0<=f.selected&&this.anchors.length&&(e.element.find(e._sanitizeSelector(e.anchors[f.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(f.selected).addClass("ui-tabs-selected ui-state-active"),e.element.queue("tabs",function(){e._trigger("show",null,e._ui(e.anchors[f.selected],e.element.find(e._sanitizeSelector(e.anchors[f.selected].hash))[0]))}),this.load(f.selected)),b(window).bind("unload",function(){e.lis.add(e.anchors).unbind(".tabs");e.lis=e.anchors=e.panels=null})):f.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")); +this.element[f.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");f.cookie&&this._cookie(f.selected,f.cookie);for(var c=0,j;j=this.lis[c];c++)b(j)[-1!=b.inArray(c,f.disabled)&&!b(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");!1===f.cache&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if("mouseover"!==f.event){var k=function(b,a){a.is(":not(.ui-state-disabled)")&&a.addClass("ui-state-"+b)};this.lis.bind("mouseover.tabs", +function(){k("hover",b(this))});this.lis.bind("mouseout.tabs",function(){b(this).removeClass("ui-state-hover")});this.anchors.bind("focus.tabs",function(){k("focus",b(this).closest("li"))});this.anchors.bind("blur.tabs",function(){b(this).closest("li").removeClass("ui-state-focus")})}var l,m;f.fx&&(b.isArray(f.fx)?(l=f.fx[0],m=f.fx[1]):l=m=f.fx);var p=m?function(a,c){b(a).closest("li").addClass("ui-tabs-selected ui-state-active");c.hide().removeClass("ui-tabs-hide").animate(m,m.duration||"normal", +function(){d(c,m);e._trigger("show",null,e._ui(a,c[0]))})}:function(a,c){b(a).closest("li").addClass("ui-tabs-selected ui-state-active");c.removeClass("ui-tabs-hide");e._trigger("show",null,e._ui(a,c[0]))},n=l?function(b,a){a.animate(l,l.duration||"normal",function(){e.lis.removeClass("ui-tabs-selected ui-state-active");a.addClass("ui-tabs-hide");d(a,l);e.element.dequeue("tabs")})}:function(b,a){e.lis.removeClass("ui-tabs-selected ui-state-active");a.addClass("ui-tabs-hide");e.element.dequeue("tabs")}; +this.anchors.bind(f.event+".tabs",function(){var a=this,c=b(a).closest("li"),d=e.panels.filter(":not(.ui-tabs-hide)"),i=e.element.find(e._sanitizeSelector(a.hash));if(c.hasClass("ui-tabs-selected")&&!f.collapsible||c.hasClass("ui-state-disabled")||c.hasClass("ui-state-processing")||e.panels.filter(":animated").length||e._trigger("select",null,e._ui(this,i[0]))===false){this.blur();return false}f.selected=e.anchors.index(this);e.abort();if(f.collapsible){if(c.hasClass("ui-tabs-selected")){f.selected= +-1;f.cookie&&e._cookie(f.selected,f.cookie);e.element.queue("tabs",function(){n(a,d)}).dequeue("tabs");this.blur();return false}if(!d.length){f.cookie&&e._cookie(f.selected,f.cookie);e.element.queue("tabs",function(){p(a,i)});e.load(e.anchors.index(this));this.blur();return false}}f.cookie&&e._cookie(f.selected,f.cookie);if(i.length){d.length&&e.element.queue("tabs",function(){n(a,d)});e.element.queue("tabs",function(){p(a,i)});e.load(e.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier."; +b.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){"string"==typeof b&&(b=this.anchors.index(this.anchors.filter("[href$="+b+"]")));return b},destroy:function(){var a=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var a= +b.data(this,"href.tabs");a&&(this.href=a);var c=b(this).unbind(".tabs");b.each(["href","load","cache"],function(b,a){c.removeData(a+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){b.data(this,"destroy.tabs")?b(this).remove():b(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});a.cookie&&this._cookie(null,a.cookie);return this},add:function(c, +d,e){e===a&&(e=this.anchors.length);var f=this,i=this.options,d=b(i.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),c=!c.indexOf("#")?c.replace("#",""):this._tabId(b("a",d)[0]);d.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var j=f.element.find("#"+c);j.length||(j=b(i.panelTemplate).attr("id",c).data("destroy.tabs",!0));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");e>=this.lis.length?(d.appendTo(this.list),j.appendTo(this.list[0].parentNode)): +(d.insertBefore(this.lis[e]),j.insertBefore(this.panels[e]));i.disabled=b.map(i.disabled,function(b){return b>=e?++b:b});this._tabify();1==this.anchors.length&&(i.selected=0,d.addClass("ui-tabs-selected ui-state-active"),j.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0));this._trigger("add",null,this._ui(this.anchors[e],this.panels[e]));return this},remove:function(a){var a=this._getIndex(a),c=this.options,d=this.lis.eq(a).remove(), +f=this.panels.eq(a).remove();d.hasClass("ui-tabs-selected")&&1=a?--b:b});this._tabify();this._trigger("remove",null,this._ui(d.find("a")[0],f[0]));return this},enable:function(a){var a=this._getIndex(a),c=this.options;if(-1!=b.inArray(a,c.disabled))return this.lis.eq(a).removeClass("ui-state-disabled"),c.disabled=b.grep(c.disabled,function(b){return b!= +a}),this._trigger("enable",null,this._ui(this.anchors[a],this.panels[a])),this},disable:function(b){var b=this._getIndex(b),a=this.options;b!=a.selected&&(this.lis.eq(b).addClass("ui-state-disabled"),a.disabled.push(b),a.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b])));return this},select:function(b){b=this._getIndex(b);if(-1==b)if(this.options.collapsible&&-1!=this.options.selected)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+ +".tabs");return this},load:function(a){var a=this._getIndex(a),c=this,d=this.options,f=this.anchors.eq(a)[0],i=b.data(f,"load.tabs");this.abort();if(!i||0!==this.element.queue("tabs").length&&b.data(f,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(a).addClass("ui-state-processing");if(d.spinner){var j=b("span",f);j.data("label.tabs",j.html()).html(d.spinner)}this.xhr=b.ajax(b.extend({},d.ajaxOptions,{url:i,success:function(i,j){c.element.find(c._sanitizeSelector(f.hash)).html(i);c._cleanup(); +d.cache&&b.data(f,"cache.tabs",!0);c._trigger("load",null,c._ui(c.anchors[a],c.panels[a]));try{d.ajaxOptions.success(i,j)}catch(m){}},error:function(b,i){c._cleanup();c._trigger("load",null,c._ui(c.anchors[a],c.panels[a]));try{d.ajaxOptions.error(b,i,a,f)}catch(m){}}}));c.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(!1,!0);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));this.xhr&&(this.xhr.abort(),delete this.xhr);this._cleanup(); +return this},url:function(b,a){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",a);return this},length:function(){return this.anchors.length}});b.extend(b.ui.tabs,{version:"1.8.14"});b.extend(b.ui.tabs.prototype,{rotation:null,rotate:function(b,a){var c=this,f=this.options,d=c._rotate||(c._rotate=function(a){clearTimeout(c.rotation);c.rotation=setTimeout(function(){var b=f.selected;c.select(++b'))}function d(a){return a.bind("mouseout",function(a){a=b(a.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a"); +a.length&&a.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(c){c=b(c.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");if(!b.datepicker._isDisabledDatepicker(e.inline?a.parent()[0]:e.input[0])&&c.length)c.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),c.addClass("ui-state-hover"),c.hasClass("ui-datepicker-prev")&&c.addClass("ui-datepicker-prev-hover"),c.hasClass("ui-datepicker-next")&& +c.addClass("ui-datepicker-next-hover")})}function g(c,d){b.extend(c,d);for(var e in d)if(null==d[e]||d[e]==a)c[e]=d[e];return c}b.extend(b.ui,{datepicker:{version:"1.8.14"}});var h=(new Date).getTime(),e;b.extend(c.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(b){g(this._defaults,b||{});return this},_attachDatepicker:function(a,c){var d=null,e;for(e in this._defaults){var g= +a.getAttribute("date:"+e);if(g){d=d||{};try{d[e]=eval(g)}catch(m){d[e]=g}}}e=a.nodeName.toLowerCase();g="div"==e||"span"==e;a.id||(this.uuid+=1,a.id="dp"+this.uuid);var h=this._newInst(b(a),g);h.settings=b.extend({},c||{},d||{});"input"==e?this._connectDatepicker(a,h):g&&this._inlineDatepicker(a,h)},_newInst:function(a,c){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:c,dpDiv:!c?this.dpDiv:d(b('
            '))}},_connectDatepicker:function(a,c){var d=b(a);c.append=b([]);c.trigger=b([]);d.hasClass(this.markerClassName)||(this._attachments(d,c),d.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(b,a,f){c.settings[a]=f}).bind("getData.datepicker",function(b,a){return this._get(c,a)}),this._autoSize(c),b.data(a,"datepicker", +c))},_attachments:function(a,c){var d=this._get(c,"appendText"),e=this._get(c,"isRTL");c.append&&c.append.remove();d&&(c.append=b(''+d+""),a[e?"before":"after"](c.append));a.unbind("focus",this._showDatepicker);c.trigger&&c.trigger.remove();d=this._get(c,"showOn");("focus"==d||"both"==d)&&a.focus(this._showDatepicker);if("button"==d||"both"==d){var d=this._get(c,"buttonText"),g=this._get(c,"buttonImage");c.trigger=b(this._get(c,"buttonImageOnly")?b("").addClass(this._triggerClass).attr({src:g, +alt:d,title:d}):b('').addClass(this._triggerClass).html(""==g?d:b("").attr({src:g,alt:d,title:d})));a[e?"before":"after"](c.trigger);c.trigger.click(function(){b.datepicker._datepickerShowing&&b.datepicker._lastInput==a[0]?b.datepicker._hideDatepicker():b.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(b){if(this._get(b,"autoSize")&&!b.inline){var a=new Date(2009,11,20),c=this._get(b,"dateFormat");if(c.match(/[DM]/)){var d=function(b){for(var a= +0,c=0,f=0;fa&&(a=b[f].length,c=f);return c};a.setMonth(d(this._get(b,c.match(/MM/)?"monthNames":"monthNamesShort")));a.setDate(d(this._get(b,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())}b.input.attr("size",this._formatDate(b,a).length)}},_inlineDatepicker:function(a,c){var d=b(a);d.hasClass(this.markerClassName)||(d.addClass(this.markerClassName).append(c.dpDiv).bind("setData.datepicker",function(b,a,f){c.settings[a]=f}).bind("getData.datepicker",function(b, +a){return this._get(c,a)}),b.data(a,"datepicker",c),this._setDate(c,this._getDefaultDate(c),!0),this._updateDatepicker(c),this._updateAlternate(c),c.dpDiv.show())},_dialogDatepicker:function(a,c,d,e,h){a=this._dialogInst;a||(this.uuid+=1,this._dialogInput=b(''),this._dialogInput.keydown(this._doKeyDown),b("body").append(this._dialogInput),a=this._dialogInst=this._newInst(this._dialogInput,!1), +a.settings={},b.data(this._dialogInput[0],"datepicker",a));g(a.settings,e||{});c=c&&c.constructor==Date?this._formatDate(a,c):c;this._dialogInput.val(c);this._pos=h?h.length?h:[h.pageX,h.pageY]:null;this._pos||(this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)]);this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+ +"px");a.settings.onSelect=d;this._inDialog=!0;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);b.blockUI&&b.blockUI(this.dpDiv);b.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();b.removeData(a,"datepicker");"input"==e?(d.append.remove(),d.trigger.remove(),c.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown", +this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"==e||"span"==e)&&c.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e)a.disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if("div"==e||"span"==e)c=c.children("."+this._inlineClass),c.children().removeClass("ui-state-disabled"), +c.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled");this._disabledInputs=b.map(this._disabledInputs,function(b){return b==a?null:b})}},_disableDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e)a.disabled=!0,d.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if("div"==e||"span"==e)c=c.children("."+this._inlineClass), +c.children().addClass("ui-state-disabled"),c.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled");this._disabledInputs=b.map(this._disabledInputs,function(b){return b==a?null:b});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(b){if(!b)return!1;for(var a=0;ae||!d||-1n&&n>e?Math.abs(c.left+e-n):0);c.top-=Math.min(c.top,c.top+g>q&&q>g?Math.abs(g+p):0);return c},_findPos:function(a){for(var c= +this._get(this._getInst(a),"isRTL");a&&("hidden"==a.type||1!=a.nodeType||b.expr.filters.hidden(a));)a=a[c?"previousSibling":"nextSibling"];a=b(a).offset();return[a.left,a.top]},_triggerOnClose:function(a){var b=this._get(a,"onClose");b&&b.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a])},_hideDatepicker:function(a){var c=this._curInst;if(c&&!(a&&c!=b.data(a,"datepicker"))&&this._datepickerShowing){var a=this._get(c,"showAnim"),d=this._get(c,"duration"),e=function(){b.datepicker._tidyDialog(c); +this._curInst=null};if(b.effects&&b.effects[a])c.dpDiv.hide(a,b.datepicker._get(c,"showOptions"),d,e);else c.dpDiv["slideDown"==a?"slideUp":"fadeIn"==a?"fadeOut":"hide"](a?d:null,e);a||e();b.datepicker._triggerOnClose(c);this._datepickerShowing=!1;this._lastInput=null;this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),b.blockUI&&(b.unblockUI(),b("body").append(this.dpDiv)));this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")}, +_checkExternalClick:function(a){b.datepicker._curInst&&(a=b(a.target),a[0].id!=b.datepicker._mainDivId&&(0==a.parents("#"+b.datepicker._mainDivId).length&&!a.hasClass(b.datepicker.markerClassName)&&!a.hasClass(b.datepicker._triggerClass)&&b.datepicker._datepickerShowing&&(!b.datepicker._inDialog||!b.blockUI))&&b.datepicker._hideDatepicker())},_adjustDate:function(a,c,d){var a=b(a),e=this._getInst(a[0]);this._isDisabledDatepicker(a[0])||(this._adjustInstDate(e,c+("M"==d?this._get(e,"showCurrentAtPos"): +0),d),this._updateDatepicker(e))},_gotoToday:function(a){var a=b(a),c=this._getInst(a[0]);if(this._get(c,"gotoCurrent")&&c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate();c.drawMonth=c.selectedMonth=d.getMonth();c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c);this._adjustDate(a)},_selectMonthYear:function(a,c,d){var a=b(a),e=this._getInst(a[0]);e._selectingMonthYear= +!1;e["selected"+("M"==d?"Month":"Year")]=e["draw"+("M"==d?"Month":"Year")]=parseInt(c.options[c.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var c=this._getInst(b(a)[0]);c.input&&c._selectingMonthYear&&setTimeout(function(){c.input.focus()},0);c._selectingMonthYear=!c._selectingMonthYear},_selectDay:function(a,c,d,e){var g=b(a);!b(e).hasClass(this._unselectableClass)&&!this._isDisabledDatepicker(g[0])&&(g=this._getInst(g[0]),g.selectedDay=g.currentDay= +b("a",e).html(),g.selectedMonth=g.currentMonth=c,g.selectedYear=g.currentYear=d,this._selectDate(a,this._formatDate(g,g.currentDay,g.currentMonth,g.currentYear)))},_clearDate:function(a){a=b(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,c){var d=this._getInst(b(a)[0]),c=null!=c?c:this._formatDate(d);d.input&&d.input.val(c);this._updateAlternate(d);var e=this._get(d,"onSelect");e?e.apply(d.input?d.input[0]:null,[c,d]):d.input&&d.input.trigger("change");d.inline?this._updateDatepicker(d): +(this._hideDatepicker(),this._lastInput=d.input[0],"object"!=typeof d.input[0]&&d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var c=this._get(a,"altField");if(c){var d=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),g=this.formatDate(d,e,this._getFormatConfig(a));b(c).each(function(){b(this).val(g)})}},noWeekends:function(a){a=a.getDay();return[0a,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b= +a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,c,d){if(null==a||null==c)throw"Invalid arguments";c="object"==typeof c?c.toString():c+"";if(""==c)return null;for(var e=(d?d.shortYearCutoff:null)||this._defaults.shortYearCutoff,e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),g=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort,h=(d?d.dayNames:null)||this._defaults.dayNames,p=(d?d.monthNamesShort:null)||this._defaults.monthNamesShort, +n=(d?d.monthNames:null)||this._defaults.monthNames,q=d=-1,o=-1,w=-1,r=!1,u=function(b){(b=E+1d&&(d+=(new Date).getFullYear()-(new Date).getFullYear()%100+(d<=e?0:-100));if(-1b.getYear()%100?"0":"")+b.getYear()%100;break;case "@":o+=b.getTime();break;case "!":o+=1E4*b.getTime()+this._ticksTo1970;break;case "'":h("'")?o+="'":w=!0;break;default:o+=a.charAt(r)}return o},_possibleChars:function(a){for(var b= +"",c=!1,d=function(b){(b=e+1n&&(n+=12,s--);if(u)for(var v=this._daylightSavingAdjust(new Date(u.getFullYear(),u.getMonth()-p[0]*p[1]+1,u.getDate())),v=r&&vv;)n--,0>n&&(n=11,s--);a.drawMonth=n;a.drawYear=s;var v=this._get(a,"prevText"),v=!m?v:this.formatDate(v,this._daylightSavingAdjust(new Date(s,n-q,1)),this._getFormatConfig(a)), +v=this._canAdjustMonth(a,-1,s,n)?''+v+"":g?"":''+v+"",z=this._get(a,"nextText"),z=!m?z:this.formatDate(z,this._daylightSavingAdjust(new Date(s, +n+q,1)),this._getFormatConfig(a)),g=this._canAdjustMonth(a,1,s,n)?''+z+"":g?"":''+z+"",q=this._get(a,"currentText"),z=this._get(a,"gotoCurrent")&& +a.currentDay?w:c,q=!m?q:this.formatDate(q,z,this._getFormatConfig(a)),m=!a.inline?'":"",e=e?'
            '+(d?m:"")+(this._isInRange(a,z)?'":"")+(d?"":m)+"
            ":"",m=parseInt(this._get(a,"firstDay"),10),m=isNaN(m)?0:m,q=this._get(a,"showWeek"),z=this._get(a,"dayNames");this._get(a,"dayNamesShort");var B=this._get(a,"dayNamesMin"),E=this._get(a,"monthNames"),C=this._get(a,"monthNamesShort"),O=this._get(a,"beforeShowDay"),K=this._get(a,"showOtherMonths"),S=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var P=this._getDefaultDate(a),G="",H=0;H'+(/all|left/.test(A)&& +0==H?d?g:v:"")+(/all|right/.test(A)&&0==H?d?v:g:"")+this._generateMonthYearHeader(a,n,s,r,u,0
            '),D=q?'":"",A=0;7>A;A++)var x=(A+m)%7,D=D+("'+B[x]+"");y+=D+"";D=this._getDaysInMonth(s,n);s==a.selectedYear&&n==a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay, +D));A=(this._getFirstDayOfMonth(s,n)-m+7)%7;D=Math.ceil((A+D)/7);this.maxRows=D=o?this.maxRows>D?this.maxRows:D:D;for(var x=this._daylightSavingAdjust(new Date(s,n,1-A)),R=0;R",M=!q?"":'",A=0;7>A;A++){var J=O?O.apply(a.input?a.input[0]:null,[x]):[!0,""],F=x.getMonth()!=n,N=F&&!S||!J[0]||r&&xu,M=M+('");x.setDate(x.getDate()+1);x=this._daylightSavingAdjust(x)}y+=M+""}n++;11
            '+this._get(a,"weekHeader")+"
            '+this._get(a,"calculateWeek")(x)+""+(F&&!K? +" ":N?''+x.getDate()+"":''+x.getDate()+"")+"
            "+(o?"
        "+(0':""):"");L+=y}G+=L}G+=e+(b.browser.msie&& +7>parseInt(b.browser.version,10)&&!a.inline?'':"");a._keyEvent=!1;return G},_generateMonthYearHeader:function(a,b,c,d,e,g,p,n){var q=this._get(a,"changeMonth"),o=this._get(a,"changeYear"),w=this._get(a,"showMonthAfterYear"),r='
        ',u="";if(g||!q)u+=''+p[b]+"";else{for(var p=d&&d.getFullYear()==c,s=e&&e.getFullYear()==c,u=u+('"}w||(r+=u+(g||!q||!o?" ":""));if(!a.yearshtml)if(a.yearshtml="",g||!o)r+=''+c+"";else{var n=this._get(a,"yearRange").split(":"),z=(new Date).getFullYear(),p=function(a){a= +a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?z+parseInt(a,10):parseInt(a,10);return isNaN(a)?z:a},b=p(n[0]),n=Math.max(b,p(n[1]||"")),b=d?Math.max(b,d.getFullYear()):b,n=e?Math.min(n,e.getFullYear()):n;for(a.yearshtml+='";r+=a.yearshtml;a.yearshtml=null}r+=this._get(a,"yearSuffix");w&&(r+=(g||!q||!o?" ":"")+u);return r+"
        "},_adjustInstDate:function(a,b,c){var d=a.drawYear+("Y"==c?b:0),e=a.drawMonth+("M"==c?b:0),b=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+("D"==c?b:0),d=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,b)));a.selectedDay=d.getDate();a.drawMonth=a.selectedMonth=d.getMonth();a.drawYear=a.selectedYear=d.getFullYear();("M"==c|| +"Y"==c)&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),c=c&&bd?d:c},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return null==a?[1,1]:"number"==typeof a?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a, +b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),c=this._daylightSavingAdjust(new Date(c,d+(0>b?b:e[0]*e[1]),1));0>b&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<= +d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff"),b="string"!=typeof b?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);b=b?"object"==typeof b?b:this._daylightSavingAdjust(new Date(d, +c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});b.fn.datepicker=function(a){if(!this.length)return this;b.datepicker.initialized||(b(document).mousedown(b.datepicker._checkExternalClick).find("body").append(b.datepicker.dpDiv),b.datepicker.initialized=!0);var c=Array.prototype.slice.call(arguments,1);return"string"==typeof a&&("isDisabled"==a||"getDate"==a||"widget"==a)||"option"== +a&&2==arguments.length&&"string"==typeof arguments[1]?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c)):this.each(function(){typeof a=="string"?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)})};b.datepicker=new c;b.datepicker.initialized=!1;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.8.14";window["DP_jQuery_"+h]=b})(jQuery); +(function(b,a){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
        ").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); +this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===a)return this._value();this._setOption("value",b);return this},_setOption:function(a,d){"value"===a&&(this.options.value=d,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete"));b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;"number"!==typeof a&&(a=0);return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100* +this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger("change"));this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(b.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.14"})})(jQuery); +jQuery.effects||function(b,a){function c(a){var c;return a&&a.constructor==Array&&3==a.length?a:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a))?[2.55*parseFloat(c[1]),2.55*parseFloat(c[2]),2.55*parseFloat(c[3])]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?[parseInt(c[1],16),parseInt(c[2], +16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(a)?i.transparent:i[b.trim(a).toLowerCase()]}function d(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]])for(var e=a.length;e--;)c=a[e],"string"==typeof a[c]&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c]);else for(c in a)"string"=== +typeof a[c]&&(b[c]=a[c]);return b}function g(a){var c,d;for(c in a)d=a[c],(null==d||b.isFunction(d)||c in k||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete a[c];return a}function h(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function e(a,c,d,e){"object"==typeof a&&(e=c,d=null,c=a,a=c.effect);b.isFunction(c)&&(e=c,d=null,c={});if("number"==typeof c||b.fx.speeds[c])e=d,d=c,c={};b.isFunction(d)&&(e=d,d=null);c=c||{};d=d||c.duration;d=b.fx.off?0:"number"==typeof d? +d:d in b.fx.speeds?b.fx.speeds[d]:b.fx.speeds._default;e=e||c.complete;return[a,c,d,e]}function f(a){return!a||("number"===typeof a||b.fx.speeds[a])||"string"===typeof a&&!b.effects[a]?!0:!1}b.effects={};b.each("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor borderColor color outlineColor".split(" "),function(a,d){b.fx.step[d]=function(a){if(!a.colorInit){var e;e=a.elem;var f=d,g;do{g=b.curCSS(e,f);if(g!=""&&g!="transparent"||b.nodeName(e,"body"))break;f="backgroundColor"}while(e= +e.parentNode);e=c(g);a.start=e;a.end=c(a.end);a.colorInit=true}a.elem.style[d]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139], +darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255], +maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},j=["add","remove","toggle"],k={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};b.effects.animateClass=function(a,c,e,f){b.isFunction(e)&&(f=e,e=null);return this.queue(function(){var i=b(this),o=i.attr("style")|| +" ",k=g(d.call(this)),r,u=i.attr("class");b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});r=g(d.call(this));i.attr("class",u);i.animate(h(k,r),{queue:false,duration:c,easing:e,complete:function(){b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});if(typeof i.attr("style")=="object"){i.attr("style").cssText="";i.attr("style").cssText=o}else i.attr("style",o);f&&f.apply(this,arguments);b.dequeue(this)}})})};b.fn.extend({_addClass:b.fn.addClass,addClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this, +[{add:a},c,d,e]):this._addClass(a)},_removeClass:b.fn.removeClass,removeClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this,[{remove:a},c,d,e]):this._removeClass(a)},_toggleClass:b.fn.toggleClass,toggleClass:function(c,d,e,f,g){return"boolean"==typeof d||d===a?e?b.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):b.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(a,c,d,e,f){return b.effects.animateClass.apply(this,[{add:c, +remove:a},d,e,f])}});b.extend(b.effects,{version:"1.8.14",save:function(a,b){for(var c=0;c").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});a.wrap(d);d=a.parent();"static"==a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})): +(b.extend(c,{position:a.css("position"),zIndex:a.css("z-index")}),b.each(["top","left","bottom","right"],function(b,d){c[d]=a.css(d);isNaN(parseInt(c[d],10))&&(c[d]="auto")}),a.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));return d.css(c).show()},removeWrapper:function(a){return a.parent().is(".ui-effects-wrapper")?a.parent().replaceWith(a):a},setTransition:function(a,c,d,e){e=e||{};b.each(c,function(b,c){unit=a.cssUnit(c);0(b/=e/2)?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c}, +easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/ +e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:1>(b/=e/2)?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)* +b)+c},easeInOutCirc:function(a,b,c,d,e){return 1>(b/=e/2)?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var a=1.70158,f=0,g=d;if(0==b)return c;if(1==(b/=e))return c+d;f||(f=0.3*e);gb?-0.5*g*Math.pow(2,10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+c:0.5*g*Math.pow(2,-10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+d+c},easeInBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(b,c,d,e, +f,g){g==a&&(g=1.70158);return e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return 1>(c/=f/2)?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(a,c,d,e,f){return e-b.easing.easeOutBounce(a,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+0.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+0.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+0.984375)+c},easeInOutBounce:function(a, +c,d,e,f){return c").css({position:"absolute",visibility:"visible",left:-j*(e/d),top:-i*(f/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:e/d,height:f/c,left:h.left+j*(e/d)+("show"==a.options.mode?(j-Math.floor(d/2))*(e/d):0),top:h.top+i*(f/c)+("show"==a.options.mode?(i-Math.floor(c/2))*(f/c):0),opacity:"show"==a.options.mode?0:1}).animate({left:h.left+j*(e/d)+("show"==a.options.mode?0:(j-Math.floor(d/2))*(e/d)),top:h.top+ +i*(f/c)+("show"==a.options.mode?0:(i-Math.floor(c/2))*(f/c)),opacity:"show"==a.options.mode?1:0},a.duration||500);setTimeout(function(){"show"==a.options.mode?g.css({visibility:"visible"}):g.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(g[0]);g.dequeue();b("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery); +(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); +(function(b){b.effects.fold=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.size||15,e=!!a.options.horizFirst,f=a.duration?a.duration/2:b.fx.speeds._default/2;b.effects.save(c,d);c.show();var i=b.effects.createWrapper(c).css({overflow:"hidden"}),j="show"==g!=e,k=j?["width","height"]:["height","width"],j=j?[i.width(),i.height()]:[i.height(),i.width()],l=/([0-9]+)%/.exec(h);l&&(h=parseInt(l[1], +10)/100*j["hide"==g?0:1]);"show"==g&&i.css(e?{height:0,width:h}:{height:h,width:0});e={};l={};e[k[0]]="show"==g?j[0]:h;l[k[1]]="show"==g?j[1]:0;i.animate(e,f,a.options.easing).animate(l,f,a.options.easing,function(){"hide"==g&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery); +(function(b){b.effects.highlight=function(a){return this.queue(function(){var c=b(this),d=["backgroundImage","backgroundColor","opacity"],g=b.effects.setMode(c,a.options.mode||"show"),h={backgroundColor:c.css("backgroundColor")};"hide"==g&&(h.opacity=0);b.effects.save(c,d);c.show().css({backgroundImage:"none",backgroundColor:a.options.color||"#ffff99"}).animate(h,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){g=="hide"&&c.hide();b.effects.restore(c,d);g=="show"&&!b.support.opacity&& +this.style.removeAttribute("filter");a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); +(function(b){b.effects.pulsate=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"show");times=2*(a.options.times||5)-1;duration=a.duration?a.duration/2:b.fx.speeds._default/2;isVisible=c.is(":visible");animateTo=0;isVisible||(c.css("opacity",0).show(),animateTo=1);("hide"==d&&isVisible||"show"==d&&!isVisible)&×--;for(d=0;d').appendTo(document.body).addClass(a.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(d,a.duration,a.options.easing,function(){h.remove();a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery); +/* + * jQuery Highlight plugin + * Based on highlight v3 by Johann Burkard + * http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html + * Copyright (c) 2009 Bartek Szopka http://bartaz.github.com/sandbox.js/jquery.highlight.html + * Licensed under MIT license. + */ +jQuery.extend({highlight:function(a,c,b,e){if(a.nodeType===3){if(c=a.data.match(c)){b=document.createElement(b||"span");b.className=e||"highlight";a=a.splitText(c.index);a.splitText(c[0].length);e=a.cloneNode(true);b.appendChild(e);a.parentNode.replaceChild(b,a);return 1}}else if(a.nodeType===1&&a.childNodes&&!/(script|style)/i.test(a.tagName)&&!(a.tagName===b.toUpperCase()&&a.className===e))for(var d=0;d').appendTo("body"); + var d = { width: $c.width() - $c[0].clientWidth, height: $c.height() - $c[0].clientHeight }; + $c.remove(); + window.scrollbarWidth = d.width; + window.scrollbarHeight = d.height; + return dim.match(/^(width|height)$/) ? d[dim] : d; + } + + + /** + * Returns hash container 'display' and 'visibility' + * + * @see $.swap() - swaps CSS, runs callback, resets CSS + */ +, showInvisibly: function ($E, force) { + if (!$E) return {}; + if (!$E.jquery) $E = $($E); + var CSS = { + display: $E.css('display') + , visibility: $E.css('visibility') + }; + if (force || CSS.display === "none") { // only if not *already hidden* + $E.css({ display: "block", visibility: "hidden" }); // show element 'invisibly' so can be measured + return CSS; + } + else return {}; + } + + /** + * Returns data for setting size of an element (container or a pane). + * + * @see _create(), onWindowResize() for container, plus others for pane + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, outerWidth, innerHeight, etc + */ +, getElementDimensions: function ($E) { + var + d = {} // dimensions hash + , x = d.css = {} // CSS hash + , i = {} // TEMP insets + , b, p // TEMP border, padding + , N = $.layout.cssNum + , off = $E.offset() + ; + d.offsetLeft = off.left; + d.offsetTop = off.top; + + $.each("Left,Right,Top,Bottom".split(","), function (idx, e) { // e = edge + b = x["border" + e] = $.layout.borderWidth($E, e); + p = x["padding"+ e] = $.layout.cssNum($E, "padding"+e); + i[e] = b + p; // total offset of content from outer side + d["inset"+ e] = p; + }); + + d.offsetWidth = $E.innerWidth(); // offsetWidth is used in calc when doing manual resize + d.offsetHeight = $E.innerHeight(); // ditto + d.outerWidth = $E.outerWidth(); + d.outerHeight = $E.outerHeight(); + d.innerWidth = max(0, d.outerWidth - i.Left - i.Right); + d.innerHeight = max(0, d.outerHeight - i.Top - i.Bottom); + + x.width = $E.width(); + x.height = $E.height(); + x.top = N($E,"top",true); + x.bottom = N($E,"bottom",true); + x.left = N($E,"left",true); + x.right = N($E,"right",true); + + //d.visible = $E.is(":visible");// && x.width > 0 && x.height > 0; + + return d; + } + +, getElementCSS: function ($E, list) { + var + CSS = {} + , style = $E[0].style + , props = list.split(",") + , sides = "Top,Bottom,Left,Right".split(",") + , attrs = "Color,Style,Width".split(",") + , p, s, a, i, j, k + ; + for (i=0; i < props.length; i++) { + p = props[i]; + if (p.match(/(border|padding|margin)$/)) + for (j=0; j < 4; j++) { + s = sides[j]; + if (p === "border") + for (k=0; k < 3; k++) { + a = attrs[k]; + CSS[p+s+a] = style[p+s+a]; + } + else + CSS[p+s] = style[p+s]; + } + else + CSS[p] = style[p]; + }; + return CSS + } + + /** + * Return the innerWidth for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerWidth (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerWidth of the elem by subtracting padding and borders + */ +, cssWidth: function ($E, outerWidth) { + var + b = $.layout.borderWidth + , n = $.layout.cssNum + ; + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerWidth <= 0) return 0; + + if (!$.support.boxModel) return outerWidth; + + // strip border and padding from outerWidth to get CSS Width + var W = outerWidth + - b($E, "Left") + - b($E, "Right") + - n($E, "paddingLeft") + - n($E, "paddingRight") + ; + + return max(0,W); + } + + /** + * Return the innerHeight for the current browser/doctype + * + * @see initPanes(), sizeMidPanes(), initHandles(), sizeHandles() + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {number=} outerHeight (optional) Can pass a width, allowing calculations BEFORE element is resized + * @return {number} Returns the innerHeight of the elem by subtracting padding and borders + */ +, cssHeight: function ($E, outerHeight) { + var + b = $.layout.borderWidth + , n = $.layout.cssNum + ; + // a 'calculated' outerHeight can be passed so borders and/or padding are removed if needed + if (outerHeight <= 0) return 0; + + if (!$.support.boxModel) return outerHeight; + + // strip border and padding from outerHeight to get CSS Height + var H = outerHeight + - b($E, "Top") + - b($E, "Bottom") + - n($E, "paddingTop") + - n($E, "paddingBottom") + ; + + return max(0,H); + } + + /** + * Returns the 'current CSS numeric value' for a CSS property - 0 if property does not exist + * + * @see Called by many methods + * @param {Array.} $E Must pass a jQuery object - first element is processed + * @param {string} prop The name of the CSS property, eg: top, width, etc. + * @param {boolean=} [allowAuto=false] true = return 'auto' if that is value; false = return 0 + * @return {(string|number)} Usually used to get an integer value for position (top, left) or size (height, width) + */ +, cssNum: function ($E, prop, allowAuto) { + if (!$E.jquery) $E = $($E); + var CSS = $.layout.showInvisibly($E) + , p = $.curCSS($E[0], prop, true) + , v = allowAuto && p=="auto" ? p : (parseInt(p, 10) || 0); + $E.css( CSS ); // RESET + return v; + } + +, borderWidth: function (el, side) { + if (el.jquery) el = el[0]; + var b = "border"+ side.substr(0,1).toUpperCase() + side.substr(1); // left => Left + return $.curCSS(el, b+"Style", true) === "none" ? 0 : (parseInt($.curCSS(el, b+"Width", true), 10) || 0); + } + + /** + * Mouse-tracking utility - FUTURE REFERENCE + * + * init: if (!window.mouse) { + * window.mouse = { x: 0, y: 0 }; + * $(document).mousemove( $.layout.trackMouse ); + * } + * + * @param {Object} evt + * +, trackMouse: function (evt) { + window.mouse = { x: evt.clientX, y: evt.clientY }; + } + */ + + /** + * SUBROUTINE for preventPrematureSlideClose option + * + * @param {Object} evt + * @param {Object=} el + */ +, isMouseOverElem: function (evt, el) { + var + $E = $(el || this) + , d = $E.offset() + , T = d.top + , L = d.left + , R = L + $E.outerWidth() + , B = T + $E.outerHeight() + , x = evt.pageX // evt.clientX ? + , y = evt.pageY // evt.clientY ? + ; + // if X & Y are < 0, probably means is over an open SELECT + return ($.layout.browser.msie && x < 0 && y < 0) || ((x >= L && x <= R) && (y >= T && y <= B)); + } + + /** + * Message/Logging Utility + * + * @example $.layout.msg("My message"); // log text + * @example $.layout.msg("My message", true); // alert text + * @example $.layout.msg({ foo: "bar" }, "Title"); // log hash-data, with custom title + * @example $.layout.msg({ foo: "bar" }, true, "Title", { sort: false }); -OR- + * @example $.layout.msg({ foo: "bar" }, "Title", { sort: false, display: true }); // alert hash-data + * + * @param {(Object|string)} info String message OR Hash/Array + * @param {(Boolean|string|Object)=} [popup=false] True means alert-box - can be skipped + * @param {(Object|string)=} [debugTitle=""] Title for Hash data - can be skipped + * @param {Object=} [debutOpts={}] Extra options for debug output + */ +, msg: function (info, popup, debugTitle, debugOpts) { + if ($.isPlainObject(info) && window.debugData) { + if (typeof popup === "string") { + debugOpts = debugTitle; + debugTitle = popup; + } + else if (typeof debugTitle === "object") { + debugOpts = debugTitle; + debugTitle = null; + } + var t = debugTitle || "log( )" + , o = $.extend({ sort: false, returnHTML: false, display: false }, debugOpts); + if (popup === true || o.display) + debugData( info, t, o ); + else if (window.console) + console.log(debugData( info, t, o )); + } + else if (popup) + alert(info); + else if (window.console) + console.log(info); + else { + var id = "#layoutLogger" + , $l = $(id); + if (!$l.length) + $l = createLog(); + $l.children("ul").append('
      • '+ info.replace(/\/g,">") +'
      • '); + } + + function createLog () { + var pos = $.support.fixedPosition ? 'fixed' : 'absolute' + , $e = $('
        ' + + '
        ' + + 'XLayout console.log
        ' + + '
          ' + + '
          ' + ).appendTo("body"); + $e.css('left', $(window).width() - $e.outerWidth() - 5) + if ($.ui.draggable) $e.draggable({ handle: ':first-child' }); + return $e; + }; + } + +}; + +var lang = $.layout.language; // alias used in defaults... + +// DEFAULT OPTIONS - CHANGE IF DESIRED +$.layout.defaults = { +/* + * LAYOUT & LAYOUT-CONTAINER OPTIONS + * - none of these options are applicable to individual panes + */ + name: "" // Not required, but useful for buttons and used for the state-cookie +, containerSelector: "" // ONLY used when specifying a childOptions - to find container-element that is NOT directly-nested +, containerClass: "ui-layout-container" // layout-container element +, scrollToBookmarkOnLoad: true // after creating a layout, scroll to bookmark in URL (.../page.htm#myBookmark) +, resizeWithWindow: true // bind thisLayout.resizeAll() to the window.resize event +, resizeWithWindowDelay: 200 // delay calling resizeAll because makes window resizing very jerky +, resizeWithWindowMaxDelay: 0 // 0 = none - force resize every XX ms while window is being resized +, onresizeall_start: null // CALLBACK when resizeAll() STARTS - NOT pane-specific +, onresizeall_end: null // CALLBACK when resizeAll() ENDS - NOT pane-specific +, onload_start: null // CALLBACK when Layout inits - after options initialized, but before elements +, onload_end: null // CALLBACK when Layout inits - after EVERYTHING has been initialized +, onunload_start: null // CALLBACK when Layout is destroyed OR onWindowUnload +, onunload_end: null // CALLBACK when Layout is destroyed OR onWindowUnload +, autoBindCustomButtons: false // search for buttons with ui-layout-button class and auto-bind them +, initPanes: true // false = DO NOT initialize the panes onLoad - will init later +, showErrorMessages: true // enables fatal error messages to warn developers of common errors +, showDebugMessages: false // display console-and-alert debug msgs - IF this Layout version _has_ debugging code! +// Changing this zIndex value will cause other zIndex values to automatically change +, zIndex: null // the PANE zIndex - resizers and masks will be +1 +// DO NOT CHANGE the zIndex values below unless you clearly understand their relationships +, zIndexes: { // set _default_ z-index values here... + pane_normal: 0 // normal z-index for panes + , content_mask: 1 // applied to overlays used to mask content INSIDE panes during resizing + , resizer_normal: 2 // normal z-index for resizer-bars + , pane_sliding: 100 // applied to *BOTH* the pane and its resizer when a pane is 'slid open' + , pane_animate: 1000 // applied to the pane when being animated - not applied to the resizer + , resizer_drag: 10000 // applied to the CLONED resizer-bar when being 'dragged' + } +/* + * PANE DEFAULT SETTINGS + * - settings under the 'panes' key become the default settings for *all panes* + * - ALL pane-options can also be set specifically for each panes, which will override these 'default values' + */ +, panes: { // default options for 'all panes' - will be overridden by 'per-pane settings' + applyDemoStyles: false // NOTE: renamed from applyDefaultStyles for clarity + , closable: true // pane can open & close + , resizable: true // when open, pane can be resized + , slidable: true // when closed, pane can 'slide open' over other panes - closes on mouse-out + , initClosed: false // true = init pane as 'closed' + , initHidden: false // true = init pane as 'hidden' - no resizer-bar/spacing + // SELECTORS + //, paneSelector: "" // MUST be pane-specific - jQuery selector for pane + , contentSelector: ".ui-layout-content" // INNER div/element to auto-size so only it scrolls, not the entire pane! + , contentIgnoreSelector: ".ui-layout-ignore" // element(s) to 'ignore' when measuring 'content' + , findNestedContent: false // true = $P.find(contentSelector), false = $P.children(contentSelector) + // GENERIC ROOT-CLASSES - for auto-generated classNames + , paneClass: "ui-layout-pane" // Layout Pane + , resizerClass: "ui-layout-resizer" // Resizer Bar + , togglerClass: "ui-layout-toggler" // Toggler Button + , buttonClass: "ui-layout-button" // CUSTOM Buttons - eg: '[ui-layout-button]-toggle/-open/-close/-pin' + // ELEMENT SIZE & SPACING + //, size: 100 // MUST be pane-specific -initial size of pane + , minSize: 0 // when manually resizing a pane + , maxSize: 0 // ditto, 0 = no limit + , spacing_open: 6 // space between pane and adjacent panes - when pane is 'open' + , spacing_closed: 6 // ditto - when pane is 'closed' + , togglerLength_open: 50 // Length = WIDTH of toggler button on north/south sides - HEIGHT on east/west sides + , togglerLength_closed: 50 // 100% OR -1 means 'full height/width of resizer bar' - 0 means 'hidden' + , togglerAlign_open: "center" // top/left, bottom/right, center, OR... + , togglerAlign_closed: "center" // 1 => nn = offset from top/left, -1 => -nn == offset from bottom/right + , togglerTip_open: lang.Close // Toggler tool-tip (title) + , togglerTip_closed: lang.Open // ditto + , togglerContent_open: "" // text or HTML to put INSIDE the toggler + , togglerContent_closed: "" // ditto + // RESIZING OPTIONS + , resizerDblClickToggle: true // + , autoResize: true // IF size is 'auto' or a percentage, then recalc 'pixel size' whenever the layout resizes + , autoReopen: true // IF a pane was auto-closed due to noRoom, reopen it when there is room? False = leave it closed + , resizerDragOpacity: 1 // option for ui.draggable + //, resizerCursor: "" // MUST be pane-specific - cursor when over resizer-bar + , maskContents: false // true = add DIV-mask over-or-inside this pane so can 'drag' over IFRAMES + , maskObjects: false // true = add IFRAME-mask over-or-inside this pane to cover objects/applets - content-mask will overlay this mask + , maskZindex: null // will override zIndexes.content_mask if specified - not applicable to iframe-panes + , resizingGrid: false // grid size that the resizers will snap-to during resizing, eg: [20,20] + , livePaneResizing: false // true = LIVE Resizing as resizer is dragged + , liveContentResizing: false // true = re-measure header/footer heights as resizer is dragged + , liveResizingTolerance: 1 // how many px change before pane resizes, to control performance + // TIPS & MESSAGES - also see lang object + , noRoomToOpenTip: lang.noRoomToOpenTip + , resizerTip: lang.Resize // Resizer tool-tip (title) + , sliderTip: lang.Slide // resizer-bar triggers 'sliding' when pane is closed + , sliderCursor: "pointer" // cursor when resizer-bar will trigger 'sliding' + , slideTrigger_open: "click" // click, dblclick, mouseenter + , slideTrigger_close: "mouseleave"// click, mouseleave + , slideDelay_open: 300 // applies only for mouseenter event - 0 = instant open + , slideDelay_close: 300 // applies only for mouseleave event (300ms is the minimum!) + , hideTogglerOnSlide: false // when pane is slid-open, should the toggler show? + , preventQuickSlideClose: $.layout.browser.webkit // Chrome triggers slideClosed as it is opening + , preventPrematureSlideClose: false // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + // HOT-KEYS & MISC + , showOverflowOnHover: false // will bind allowOverflow() utility to pane.onMouseOver + , enableCursorHotkey: true // enabled 'cursor' hotkeys + //, customHotkey: "" // MUST be pane-specific - EITHER a charCode OR a character + , customHotkeyModifier: "SHIFT" // either 'SHIFT', 'CTRL' or 'CTRL+SHIFT' - NOT 'ALT' + // PANE ANIMATION + // NOTE: fxSss_open, fxSss_close & fxSss_size options (eg: fxName_open) are auto-generated if not passed + , fxName: "slide" // ('none' or blank), slide, drop, scale -- only relevant to 'open' & 'close', NOT 'size' + , fxSpeed: null // slow, normal, fast, 200, nnn - if passed, will OVERRIDE fxSettings.duration + , fxSettings: {} // can be passed, eg: { easing: "easeOutBounce", duration: 1500 } + , fxOpacityFix: true // tries to fix opacity in IE to restore anti-aliasing after animation + , animatePaneSizing: false // true = animate resizing after dragging resizer-bar OR sizePane() is called + /* NOTE: Action-specific FX options are auto-generated from the options above if not specifically set: + fxName_open: "slide" // 'Open' pane animation + fnName_close: "slide" // 'Close' pane animation + fxName_size: "slide" // 'Size' pane animation - when animatePaneSizing = true + fxSpeed_open: null + fxSpeed_close: null + fxSpeed_size: null + fxSettings_open: {} + fxSettings_close: {} + fxSettings_size: {} + */ + // CHILD/NESTED LAYOUTS + , childOptions: null // Layout-options for nested/child layout - even {} is valid as options + , initChildLayout: true // true = child layout will be created as soon as _this_ layout completes initialization + , destroyChildLayout: true // true = destroy child-layout if this pane is destroyed + , resizeChildLayout: true // true = trigger child-layout.resizeAll() when this pane is resized + // PANE CALLBACKS + , triggerEventsOnLoad: false // true = trigger onopen OR onclose callbacks when layout initializes + , triggerEventsDuringLiveResize: true // true = trigger onresize callback REPEATEDLY if livePaneResizing==true + , onshow_start: null // CALLBACK when pane STARTS to Show - BEFORE onopen/onhide_start + , onshow_end: null // CALLBACK when pane ENDS being Shown - AFTER onopen/onhide_end + , onhide_start: null // CALLBACK when pane STARTS to Close - BEFORE onclose_start + , onhide_end: null // CALLBACK when pane ENDS being Closed - AFTER onclose_end + , onopen_start: null // CALLBACK when pane STARTS to Open + , onopen_end: null // CALLBACK when pane ENDS being Opened + , onclose_start: null // CALLBACK when pane STARTS to Close + , onclose_end: null // CALLBACK when pane ENDS being Closed + , onresize_start: null // CALLBACK when pane STARTS being Resized ***FOR ANY REASON*** + , onresize_end: null // CALLBACK when pane ENDS being Resized ***FOR ANY REASON*** + , onsizecontent_start: null // CALLBACK when sizing of content-element STARTS + , onsizecontent_end: null // CALLBACK when sizing of content-element ENDS + , onswap_start: null // CALLBACK when pane STARTS to Swap + , onswap_end: null // CALLBACK when pane ENDS being Swapped + , ondrag_start: null // CALLBACK when pane STARTS being ***MANUALLY*** Resized + , ondrag_end: null // CALLBACK when pane ENDS being ***MANUALLY*** Resized + } +/* + * PANE-SPECIFIC SETTINGS + * - options listed below MUST be specified per-pane - they CANNOT be set under 'panes' + * - all options under the 'panes' key can also be set specifically for any pane + * - most options under the 'panes' key apply only to 'border-panes' - NOT the the center-pane + */ +, north: { + paneSelector: ".ui-layout-north" + , size: "auto" // eg: "auto", "30%", .30, 200 + , resizerCursor: "n-resize" // custom = url(myCursor.cur) + , customHotkey: "" // EITHER a charCode (43) OR a character ("o") + } +, south: { + paneSelector: ".ui-layout-south" + , size: "auto" + , resizerCursor: "s-resize" + , customHotkey: "" + } +, east: { + paneSelector: ".ui-layout-east" + , size: 200 + , resizerCursor: "e-resize" + , customHotkey: "" + } +, west: { + paneSelector: ".ui-layout-west" + , size: 200 + , resizerCursor: "w-resize" + , customHotkey: "" + } +, center: { + paneSelector: ".ui-layout-center" + , minWidth: 0 + , minHeight: 0 + } +}; + +$.layout.optionsMap = { + // layout/global options - NOT pane-options + layout: ("stateManagement,effects,zIndexes," + + "name,zIndex,scrollToBookmarkOnLoad,showErrorMessages," + + "resizeWithWindow,resizeWithWindowDelay,resizeWithWindowMaxDelay," + + "onresizeall,onresizeall_start,onresizeall_end,onload,onunload,autoBindCustomButtons").split(",") +// borderPanes: [ ALL options that are NOT specified as 'layout' ] + // default.panes options that apply to the center-pane (most options apply _only_ to border-panes) +, center: ("paneClass,contentSelector,contentIgnoreSelector,findNestedContent,applyDemoStyles,triggerEventsOnLoad," + + "showOverflowOnHover,maskContents,maskObjects,liveContentResizing," + + "childOptions,initChildLayout,resizeChildLayout,destroyChildLayout," + + "onresize,onresize_start,onresize_end,onsizecontent,onsizecontent_start,onsizecontent_end").split(",") + // options that MUST be specifically set 'per-pane' - CANNOT set in the panes (defaults) key +, noDefault: ("paneSelector,resizerCursor,customHotkey").split(",") +}; + +/** + * Processes options passed in converts flat-format data into subkey (JSON) format + * In flat-format, subkeys are _currently_ separated with 2 underscores, like north__optName + * Plugins may also call this method so they can transform their own data + * + * @param {!Object} hash Data/options passed by user - may be a single level or nested levels + * @return {Object} Returns hash of minWidth & minHeight + */ +$.layout.transformData = function (hash) { + var json = { panes: {}, center: {} } // init return object + , data, branch, optKey, keys, key, val, i, c; + + if (typeof hash !== "object") return json; // no options passed + + // convert all 'flat-keys' to 'sub-key' format + for (optKey in hash) { + branch = json; + data = $.layout.optionsMap.layout; + val = hash[ optKey ]; + keys = optKey.split("__"); // eg: west__size or north__fxSettings__duration + c = keys.length - 1; + // convert underscore-delimited to subkeys + for (i=0; i <= c; i++) { + key = keys[i]; + if (i === c) + branch[key] = val; + else if (!branch[key]) + branch[key] = {}; // create the subkey + // recurse to sub-key for next loop - if not done + branch = branch[key]; + } + } + + return json; +} + +// INTERNAL CONFIG DATA - DO NOT CHANGE THIS! +$.layout.backwardCompatibility = { + // data used by renameOldOptions() + map: { + // OLD Option Name: NEW Option Name + applyDefaultStyles: "applyDemoStyles" + , resizeNestedLayout: "resizeChildLayout" + , resizeWhileDragging: "livePaneResizing" + , resizeContentWhileDragging: "liveContentResizing" + , triggerEventsWhileDragging: "triggerEventsDuringLiveResize" + , maskIframesOnResize: "maskContents" + , useStateCookie: "stateManagement.enabled" + , "cookie.autoLoad": "stateManagement.autoLoad" + , "cookie.autoSave": "stateManagement.autoSave" + , "cookie.keys": "stateManagement.stateKeys" + , "cookie.name": "stateManagement.cookie.name" + , "cookie.domain": "stateManagement.cookie.domain" + , "cookie.path": "stateManagement.cookie.path" + , "cookie.expires": "stateManagement.cookie.expires" + , "cookie.secure": "stateManagement.cookie.secure" + } + /** + * @param {Object} opts + */ +, renameOptions: function (opts) { + var map = $.layout.backwardCompatibility.map + , oldData, newData, value + ; + for (var itemPath in map) { + oldData = getBranch( itemPath ); + value = oldData.branch[ oldData.key ] + if (value !== undefined) { + newData = getBranch( map[itemPath], true ) + newData.branch[ newData.key ] = value; + delete oldData.branch[ oldData.key ]; + } + } + + /** + * @param {string} path + * @param {boolean=} [create=false] Create path if does not exist + */ + function getBranch (path, create) { + var a = path.split(".") // split keys into array + , c = a.length - 1 + , D = { branch: opts, key: a[c] } // init branch at top & set key (last item) + , i = 0, k, undef; + for (; i 0) { + if (autoHide && $E.data('autoHidden') && $E.innerHeight() > 0) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + // make hidden, then visible to 'refresh' display after animation + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerHeight + * @param {boolean=} [autoHide=false] + */ +, setOuterHeight = function (el, outerHeight, autoHide) { + var $E = el, h; + if (isStr(el)) $E = $Ps[el]; // west + else if (!el.jquery) $E = $(el); + h = cssH($E, outerHeight); + $E.css({ height: h, visibility: "visible" }); // may have been 'hidden' by sizeContent + if (h > 0 && $E.innerWidth() > 0) { + if (autoHide && $E.data('autoHidden')) { + $E.show().data('autoHidden', false); + if (!browser.mozilla) // FireFox refreshes iframes - IE does not + $E.css(_c.hidden).css(_c.visible); + } + } + else if (autoHide && !$E.data('autoHidden')) + $E.hide().data('autoHidden', true); + } + + /** + * @param {(string|!Object)} el + * @param {number=} outerSize + * @param {boolean=} [autoHide=false] + */ +, setOuterSize = function (el, outerSize, autoHide) { + if (_c[pane].dir=="horz") // pane = north or south + setOuterHeight(el, outerSize, autoHide); + else // pane = east or west + setOuterWidth(el, outerSize, autoHide); + } + + + /** + * Converts any 'size' params to a pixel/integer size, if not already + * If 'auto' or a decimal/percentage is passed as 'size', a pixel-size is calculated + * + /** + * @param {string} pane + * @param {(string|number)=} size + * @param {string=} [dir] + * @return {number} + */ +, _parseSize = function (pane, size, dir) { + if (!dir) dir = _c[pane].dir; + + if (isStr(size) && size.match(/%/)) + size = (size === '100%') ? -1 : parseInt(size, 10) / 100; // convert % to decimal + + if (size === 0) + return 0; + else if (size >= 1) + return parseInt(size, 10); + + var o = options, avail = 0; + if (dir=="horz") // north or south or center.minHeight + avail = sC.innerHeight - ($Ps.north ? o.north.spacing_open : 0) - ($Ps.south ? o.south.spacing_open : 0); + else if (dir=="vert") // east or west or center.minWidth + avail = sC.innerWidth - ($Ps.west ? o.west.spacing_open : 0) - ($Ps.east ? o.east.spacing_open : 0); + + if (size === -1) // -1 == 100% + return avail; + else if (size > 0) // percentage, eg: .25 + return round(avail * size); + else if (pane=="center") + return 0; + else { // size < 0 || size=='auto' || size==Missing || size==Invalid + // auto-size the pane + var dim = (dir === "horz" ? "height" : "width") + , $P = $Ps[pane] + , $C = dim === 'height' ? $Cs[pane] : false + , vis = $.layout.showInvisibly($P) // show pane invisibly if hidden + , szP = $P.css(dim) // SAVE current pane size + , szC = $C ? $C.css(dim) : 0 // SAVE current content size + ; + $P.css(dim, "auto"); + if ($C) $C.css(dim, "auto"); + size = (dim === "height") ? $P.outerHeight() : $P.outerWidth(); // MEASURE + $P.css(dim, szP).css(vis); // RESET size & visibility + if ($C) $C.css(dim, szC); + return size; + } + } + + /** + * Calculates current 'size' (outer-width or outer-height) of a border-pane - optionally with 'pane-spacing' added + * + * @param {(string|!Object)} pane + * @param {boolean=} [inclSpace=false] + * @return {number} Returns EITHER Width for east/west panes OR Height for north/south panes - adjusted for boxModel & browser + */ +, getPaneSize = function (pane, inclSpace) { + var + $P = $Ps[pane] + , o = options[pane] + , s = state[pane] + , oSp = (inclSpace ? o.spacing_open : 0) + , cSp = (inclSpace ? o.spacing_closed : 0) + ; + if (!$P || s.isHidden) + return 0; + else if (s.isClosed || (s.isSliding && inclSpace)) + return cSp; + else if (_c[pane].dir === "horz") + return $P.outerHeight() + oSp; + else // dir === "vert" + return $P.outerWidth() + oSp; + } + + /** + * Calculate min/max pane dimensions and limits for resizing + * + * @param {string} pane + * @param {boolean=} [slide=false] + */ +, setSizeLimits = function (pane, slide) { + if (!isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , dir = c.dir + , side = c.side.toLowerCase() + , type = c.sizeType.toLowerCase() + , isSliding = (slide != undefined ? slide : s.isSliding) // only open() passes 'slide' param + , $P = $Ps[pane] + , paneSpacing = o.spacing_open + // measure the pane on the *opposite side* from this pane + , altPane = _c.oppositeEdge[pane] + , altS = state[altPane] + , $altP = $Ps[altPane] + , altPaneSize = (!$altP || altS.isVisible===false || altS.isSliding ? 0 : (dir=="horz" ? $altP.outerHeight() : $altP.outerWidth())) + , altPaneSpacing = ((!$altP || altS.isHidden ? 0 : options[altPane][ altS.isClosed !== false ? "spacing_closed" : "spacing_open" ]) || 0) + // limitSize prevents this pane from 'overlapping' opposite pane + , containerSize = (dir=="horz" ? sC.innerHeight : sC.innerWidth) + , minCenterDims = cssMinDims("center") + , minCenterSize = dir=="horz" ? max(options.center.minHeight, minCenterDims.minHeight) : max(options.center.minWidth, minCenterDims.minWidth) + // if pane is 'sliding', then ignore center and alt-pane sizes - because 'overlays' them + , limitSize = (containerSize - paneSpacing - (isSliding ? 0 : (_parseSize("center", minCenterSize, dir) + altPaneSize + altPaneSpacing))) + , minSize = s.minSize = max( _parseSize(pane, o.minSize), cssMinDims(pane).minSize ) + , maxSize = s.maxSize = min( (o.maxSize ? _parseSize(pane, o.maxSize) : 100000), limitSize ) + , r = s.resizerPosition = {} // used to set resizing limits + , top = sC.insetTop + , left = sC.insetLeft + , W = sC.innerWidth + , H = sC.innerHeight + , rW = o.spacing_open // subtract resizer-width to get top/left position for south/east + ; + switch (pane) { + case "north": r.min = top + minSize; + r.max = top + maxSize; + break; + case "west": r.min = left + minSize; + r.max = left + maxSize; + break; + case "south": r.min = top + H - maxSize - rW; + r.max = top + H - minSize - rW; + break; + case "east": r.min = left + W - maxSize - rW; + r.max = left + W - minSize - rW; + break; + }; + } + + /** + * Returns data for setting the size/position of center pane. Also used to set Height for east/west panes + * + * @return JSON Returns a hash of all dimensions: top, bottom, left, right, (outer) width and (outer) height + */ +, calcNewCenterPaneDims = function () { + var d = { + top: getPaneSize("north", true) // true = include 'spacing' value for pane + , bottom: getPaneSize("south", true) + , left: getPaneSize("west", true) + , right: getPaneSize("east", true) + , width: 0 + , height: 0 + }; + + // NOTE: sC = state.container + // calc center-pane outer dimensions + d.width = sC.innerWidth - d.left - d.right; // outerWidth + d.height = sC.innerHeight - d.bottom - d.top; // outerHeight + // add the 'container border/padding' to get final positions relative to the container + d.top += sC.insetTop; + d.bottom += sC.insetBottom; + d.left += sC.insetLeft; + d.right += sC.insetRight; + + return d; + } + + + /** + * @param {!Object} el + * @param {boolean=} [allStates=false] + */ +, getHoverClasses = function (el, allStates) { + var + $El = $(el) + , type = $El.data("layoutRole") + , pane = $El.data("layoutEdge") + , o = options[pane] + , root = o[type +"Class"] + , _pane = "-"+ pane // eg: "-west" + , _open = "-open" + , _closed = "-closed" + , _slide = "-sliding" + , _hover = "-hover " // NOTE the trailing space + , _state = $El.hasClass(root+_closed) ? _closed : _open + , _alt = _state === _closed ? _open : _closed + , classes = (root+_hover) + (root+_pane+_hover) + (root+_state+_hover) + (root+_pane+_state+_hover) + ; + if (allStates) // when 'removing' classes, also remove alternate-state classes + classes += (root+_alt+_hover) + (root+_pane+_alt+_hover); + + if (type=="resizer" && $El.hasClass(root+_slide)) + classes += (root+_slide+_hover) + (root+_pane+_slide+_hover); + + return $.trim(classes); + } +, addHover = function (evt, el) { + var $E = $(el || this); + if (evt && $E.data("layoutRole") === "toggler") + evt.stopPropagation(); // prevent triggering 'slide' on Resizer-bar + $E.addClass( getHoverClasses($E) ); + } +, removeHover = function (evt, el) { + var $E = $(el || this); + $E.removeClass( getHoverClasses($E, true) ); + } + +, onResizerEnter = function (evt) { // ALSO called by toggler.mouseenter + if ($.fn.disableSelection) + $("body").disableSelection(); + } +, onResizerLeave = function (evt, el) { + var + e = el || this // el is only passed when called by the timer + , pane = $(e).data("layoutEdge") + , name = pane +"ResizerLeave" + ; + timer.clear(pane+"_openSlider"); // cancel slideOpen timer, if set + timer.clear(name); // cancel enableSelection timer - may re/set below + // this method calls itself on a timer because it needs to allow + // enough time for dragging to kick-in and set the isResizing flag + // dragging has a 100ms delay set, so this delay must be >100 + if (!el) // 1st call - mouseleave event + timer.set(name, function(){ onResizerLeave(evt, e); }, 200); + // if user is resizing, then dragStop will enableSelection(), so can skip it here + else if (!state[pane].isResizing && $.fn.enableSelection) // 2nd call - by timer + $("body").enableSelection(); + } + +/* + * ########################### + * INITIALIZATION METHODS + * ########################### + */ + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see none - triggered onInit + * @return mixed true = fully initialized | false = panes not initialized (yet) | 'cancel' = abort + */ +, _create = function () { + // initialize config/options + initOptions(); + var o = options; + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // init plugins for this layout, if there are any (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onCreate ); + + // options & state have been initialized, so now run beforeLoad callback + // onload will CANCEL layout creation if it returns false + if (false === _runCallbacks("onload_start")) + return 'cancel'; + + // initialize the container element + _initContainer(); + + // bind hotkey function - keyDown - if required + initHotkeys(); + + // bind window.onunload + $(window).bind("unload."+ sID, unload); + + // init plugins for this layout, if there are any (eg: customButtons) + runPluginCallbacks( Instance, $.layout.onLoad ); + + // if layout elements are hidden, then layout WILL NOT complete initialization! + // initLayoutElements will set initialized=true and run the onload callback IF successful + if (o.initPanes) _initLayoutElements(); + + delete state.creatingLayout; + + return state.initialized; + } + + /** + * Initialize the layout IF not already + * + * @see All methods in Instance run this test + * @return boolean true = layoutElements have been initialized | false = panes are not initialized (yet) + */ +, isInitialized = function () { + if (state.initialized || state.creatingLayout) return true; // already initialized + else return _initLayoutElements(); // try to init panes NOW + } + + /** + * Initialize the layout - called automatically whenever an instance of layout is created + * + * @see _create() & isInitialized + * @return An object pointer to the instance created + */ +, _initLayoutElements = function (retry) { + // initialize config/options + var o = options; + + // CANNOT init panes inside a hidden container! + if (!$N.is(":visible")) { + // handle Chrome bug where popup window 'has no height' + // if layout is BODY element, try again in 50ms + // SEE: http://layout.jquery-dev.net/samples/test_popup_window.html + if ( !retry && browser.webkit && $N[0].tagName === "BODY" ) + setTimeout(function(){ _initLayoutElements(true); }, 50); + return false; + } + + // a center pane is required, so make sure it exists + if (!getPane("center").length) { + if (options.showErrorMessages) + _log( lang.errCenterPaneMissing, true ); + return false; + } + + // TEMP state so isInitialized returns true during init process + state.creatingLayout = true; + + // update Container dims + $.extend(sC, elDims( $N )); + + // initialize all layout elements + initPanes(); // size & position panes - calls initHandles() - which calls initResizable() + + if (o.scrollToBookmarkOnLoad) { + var l = self.location; + if (l.hash) l.replace( l.hash ); // scrollTo Bookmark + } + + // check to see if this layout 'nested' inside a pane + if (Instance.hasParentLayout) + o.resizeWithWindow = false; + // bind resizeAll() for 'this layout instance' to window.resize event + else if (o.resizeWithWindow) + $(window).bind("resize."+ sID, windowResize); + + delete state.creatingLayout; + state.initialized = true; + + // init plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onReady ); + + // now run the onload callback, if exists + _runCallbacks("onload_end"); + + return true; // elements initialized successfully + } + + /** + * Initialize nested layouts - called when _initLayoutElements completes + * + * NOT CURRENTLY USED + * + * @see _initLayoutElements + * @return An object pointer to the instance created + */ +, _initChildLayouts = function () { + $.each(_c.allPanes, function (idx, pane) { + if (options[pane].initChildLayout) + createChildLayout( pane ); + }); + } + + /** + * Initialize nested layouts for a specific pane - can optionally pass layout-options + * + * @see _initChildLayouts + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {Object=} [opts] Layout-options - if passed, will OVERRRIDE options[pane].childOptions + * @return An object pointer to the layout instance created - or null + */ +, createChildLayout = function (evt_or_pane, opts) { + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , C = children + ; + if ($P) { + var $C = $Cs[pane] + , o = opts || options[pane].childOptions + , d = "layout" + // determine which element is supposed to be the 'child container' + // if pane has a 'containerSelector' OR a 'content-div', use those instead of the pane + , $Cont = o.containerSelector ? $P.find( o.containerSelector ) : ($C || $P) + , containerFound = $Cont.length + // see if a child-layout ALREADY exists on this element + , child = containerFound ? (C[pane] = $Cont.data(d) || null) : null + ; + // if no layout exists, but childOptions are set, try to create the layout now + if (!child && containerFound && o) + child = C[pane] = $Cont.eq(0).layout(o) || null; + if (child) + child.hasParentLayout = true; // set parent-flag in child + } + Instance[pane].child = C[pane]; // ALWAYS set pane-object pointer, even if null + } + +, windowResize = function () { + var delay = Number(options.resizeWithWindowDelay); + if (delay < 10) delay = 100; // MUST have a delay! + // resizing uses a delay-loop because the resize event fires repeatly - except in FF, but delay anyway + timer.clear("winResize"); // if already running + timer.set("winResize", function(){ + timer.clear("winResize"); + timer.clear("winResizeRepeater"); + var dims = elDims( $N ); + // only trigger resizeAll() if container has changed size + if (dims.innerWidth !== sC.innerWidth || dims.innerHeight !== sC.innerHeight) + resizeAll(); + }, delay); + // ALSO set fixed-delay timer, if not already running + if (!timer.data["winResizeRepeater"]) setWindowResizeRepeater(); + } + +, setWindowResizeRepeater = function () { + var delay = Number(options.resizeWithWindowMaxDelay); + if (delay > 0) + timer.set("winResizeRepeater", function(){ setWindowResizeRepeater(); resizeAll(); }, delay); + } + +, unload = function () { + var o = options; + + _runCallbacks("onunload_start"); + + // trigger plugin callabacks for this layout (eg: stateManagement) + runPluginCallbacks( Instance, $.layout.onUnload ); + + _runCallbacks("onunload_end"); + } + + /** + * Validate and initialize container CSS and events + * + * @see _create() + */ +, _initContainer = function () { + var + N = $N[0] + , tag = sC.tagName = N.tagName + , id = sC.id = N.id + , cls = sC.className = N.className + , o = options + , name = o.name + , fullPage= (tag === "BODY") + , props = "overflow,position,margin,padding,border" + , css = "layoutCSS" + , CSS = {} + , hid = "hidden" // used A LOT! + // see if this container is a 'pane' inside an outer-layout + , parent = $N.data("parentLayout") // parent-layout Instance + , pane = $N.data("layoutEdge") // pane-name in parent-layout + , isChild = parent && pane + ; + // sC -> state.container + sC.selector = $N.selector.split(".slice")[0]; + sC.ref = (o.name ? o.name +' layout / ' : '') + tag + (id ? "#"+id : cls ? '.['+cls+']' : ''); // used in messages + + $N .data({ + layout: Instance + , layoutContainer: sID // FLAG to indicate this is a layout-container - contains unique internal ID + }) + .addClass(o.containerClass) + ; + var layoutMethods = { + destroy: '' + , initPanes: '' + , resizeAll: 'resizeAll' + , resize: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in layoutMethods) { + $N.bind("layout"+ name.toLowerCase() +"."+ sID, Instance[ layoutMethods[name] || name ]); + } + + // if this container is another layout's 'pane', then set child/parent pointers + if (isChild) { + // update parent flag + Instance.hasParentLayout = true; + // set pointers to THIS child-layout (Instance) in parent-layout + // NOTE: parent.PANE.child is an ALIAS to parent.children.PANE + parent[pane].child = parent.children[pane] = $N.data("layout"); + } + + // SAVE original container CSS for use in destroy() + if (!$N.data(css)) { + // handle props like overflow different for BODY & HTML - has 'system default' values + if (fullPage) { + CSS = $.extend( elCSS($N, props), { + height: $N.css("height") + , overflow: $N.css("overflow") + , overflowX: $N.css("overflowX") + , overflowY: $N.css("overflowY") + }); + // ALSO SAVE CSS + var $H = $("html"); + $H.data(css, { + height: "auto" // FF would return a fixed px-size! + , overflow: $H.css("overflow") + , overflowX: $H.css("overflowX") + , overflowY: $H.css("overflowY") + }); + } + else // handle props normally for non-body elements + CSS = elCSS($N, props+",top,bottom,left,right,width,height,overflow,overflowX,overflowY"); + + $N.data(css, CSS); + } + + try { // format html/body if this is a full page layout + if (fullPage) { + $("html").css({ + height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + }); + $("body").css({ + position: "relative" + , height: "100%" + , overflow: hid + , overflowX: hid + , overflowY: hid + , margin: 0 + , padding: 0 // TODO: test whether body-padding could be handled? + , border: "none" // a body-border creates problems because it cannot be measured! + }); + + // set current layout-container dimensions + $.extend(sC, elDims( $N )); + } + else { // set required CSS for overflow and position + // ENSURE container will not 'scroll' + CSS = { overflow: hid, overflowX: hid, overflowY: hid } + var + p = $N.css("position") + , h = $N.css("height") + ; + // if this is a NESTED layout, then container/outer-pane ALREADY has position and height + if (!isChild) { + if (!p || !p.match(/fixed|absolute|relative/)) + CSS.position = "relative"; // container MUST have a 'position' + /* + if (!h || h=="auto") + CSS.height = "100%"; // container MUST have a 'height' + */ + } + $N.css( CSS ); + + // set current layout-container dimensions + if ( $N.is(":visible") ) { + $.extend(sC, elDims( $N )); + if (o.showErrorMessages && sC.innerHeight < 1) + _log( lang.errContainerHeight.replace(/CONTAINER/, sC.ref), true ); + } + } + } catch (ex) {} + } + + /** + * Bind layout hotkeys - if options enabled + * + * @see _create() and addPane() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHotkeys = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + // bind keyDown to capture hotkeys, if option enabled for ANY pane + $.each(panes, function (i, pane) { + var o = options[pane]; + if (o.enableCursorHotkey || o.customHotkey) { + $(document).bind("keydown."+ sID, keyDown); // only need to bind this ONCE + return false; // BREAK - binding was done + } + }); + } + + /** + * Build final OPTIONS data + * + * @see _create() + */ +, initOptions = function () { + var data, d, pane, key, val, i, c, o; + + // reprocess user's layout-options to have correct options sub-key structure + opts = $.layout.transformData( opts ); // panes = default subkey + + // auto-rename old options for backward compatibility + opts = $.layout.backwardCompatibility.renameAllOptions( opts ); + + // if user-options has 'panes' key (pane-defaults), process it... + if (!$.isEmptyObject(opts.panes)) { + // REMOVE any pane-defaults that MUST be set per-pane + data = $.layout.optionsMap.noDefault; + for (i=0, c=data.length; i 0) { + z.pane_normal = zo; + z.content_mask = max(zo+1, z.content_mask); // MIN = +1 + z.resizer_normal = max(zo+2, z.resizer_normal); // MIN = +2 + } + + function createFxOptions ( pane ) { + var o = options[pane] + , d = options.panes; + // ensure fxSettings key to avoid errors + if (!o.fxSettings) o.fxSettings = {}; + if (!d.fxSettings) d.fxSettings = {}; + + $.each(["_open","_close","_size"], function (i,n) { + var + sName = "fxName"+ n + , sSpeed = "fxSpeed"+ n + , sSettings = "fxSettings"+ n + // recalculate fxName according to specificity rules + , fxName = o[sName] = + o[sName] // options.west.fxName_open + || d[sName] // options.panes.fxName_open + || o.fxName // options.west.fxName + || d.fxName // options.panes.fxName + || "none" // MEANS $.layout.defaults.panes.fxName == "" || false || null || 0 + ; + // validate fxName to ensure is valid effect - MUST have effect-config data in options.effects + if (fxName === "none" || !$.effects || !$.effects[fxName] || !options.effects[fxName]) + fxName = o[sName] = "none"; // effect not loaded OR unrecognized fxName + + // set vars for effects subkeys to simplify logic + var fx = options.effects[fxName] || {} // effects.slide + , fx_all = fx.all || null // effects.slide.all + , fx_pane = fx[pane] || null // effects.slide.west + ; + // create fxSpeed[_open|_close|_size] + o[sSpeed] = + o[sSpeed] // options.west.fxSpeed_open + || d[sSpeed] // options.west.fxSpeed_open + || o.fxSpeed // options.west.fxSpeed + || d.fxSpeed // options.panes.fxSpeed + || null // DEFAULT - let fxSetting.duration control speed + ; + // create fxSettings[_open|_close|_size] + o[sSettings] = $.extend( + {} + , fx_all // effects.slide.all + , fx_pane // effects.slide.west + , d.fxSettings // options.panes.fxSettings + , o.fxSettings // options.west.fxSettings + , d[sSettings] // options.panes.fxSettings_open + , o[sSettings] // options.west.fxSettings_open + ); + }); + + // DONE creating action-specific-settings for this pane, + // so DELETE generic options - are no longer meaningful + delete o.fxName; + delete o.fxSpeed; + delete o.fxSettings; + } + + // DELETE 'panes' key now that we are done - values were copied to EACH pane + delete options.panes; + } + + /** + * Initialize module objects, styling, size and position for all panes + * + * @see _initElements() + * @param {string} pane The pane to process + */ +, getPane = function (pane) { + var sel = options[pane].paneSelector + if (sel.substr(0,1)==="#") // ID selector + // NOTE: elements selected 'by ID' DO NOT have to be 'children' + return $N.find(sel).eq(0); + else { // class or other selector + var $P = $N.children(sel).eq(0); + // look for the pane nested inside a 'form' element + return $P.length ? $P : $N.children("form:first").children(sel).eq(0); + } + } + +, initPanes = function () { + // NOTE: do north & south FIRST so we can measure their height - do center LAST + $.each(_c.allPanes, function (idx, pane) { + addPane( pane, true ); + }); + + // init the pane-handles NOW in case we have to hide or close the pane below + initHandles(); + + // now that all panes have been initialized and initially-sized, + // make sure there is really enough space available for each pane + $.each(_c.borderPanes, function (i, pane) { + if ($Ps[pane] && state[pane].isVisible) { // pane is OPEN + setSizeLimits(pane); + makePaneFit(pane); // pane may be Closed, Hidden or Resized by makePaneFit() + } + }); + // size center-pane AGAIN in case we 'closed' a border-pane in loop above + sizeMidPanes("center"); + + // Chrome/Webkit sometimes fires callbacks BEFORE it completes resizing! + // Before RC30.3, there was a 10ms delay here, but that caused layout + // to load asynchrously, which is BAD, so try skipping delay for now + + // process pane contents and callbacks, and init/resize child-layout if exists + $.each(_c.allPanes, function (i, pane) { + var o = options[pane]; + if ($Ps[pane]) { + if (state[pane].isVisible) { // pane is OPEN + sizeContent(pane); + // trigger pane.onResize if triggerEventsOnLoad = true + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); + } + // init childLayout - even if pane is not visible + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + }); + } + + /** + * Add a pane to the layout - subroutine of initPanes() + * + * @see initPanes() + * @param {string} pane The pane to process + * @param {boolean=} [force=false] Size content after init + */ +, addPane = function (pane, force) { + if (!force && !isInitialized()) return; + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , fx = s.fx + , dir = c.dir + , spacing = o.spacing_open || 0 + , isCenter = (pane === "center") + , CSS = {} + , $P = $Ps[pane] + , size, minSize, maxSize + ; + // if pane-pointer already exists, remove the old one first + if ($P) + removePane( pane, false, true, false ); + else + $Cs[pane] = false; // init + + $P = $Ps[pane] = getPane(pane); + if (!$P.length) { + $Ps[pane] = false; // logic + return; + } + + // SAVE original Pane CSS + if (!$P.data("layoutCSS")) { + var props = "position,top,left,bottom,right,width,height,overflow,zIndex,display,backgroundColor,padding,margin,border"; + $P.data("layoutCSS", elCSS($P, props)); + } + + // create alias for pane data in Instance - initHandles will add more + Instance[pane] = { name: pane, pane: $Ps[pane], content: $Cs[pane], options: options[pane], state: state[pane], child: children[pane] }; + + // add classes, attributes & events + $P .data({ + parentLayout: Instance // pointer to Layout Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "pane" + }) + .css(c.cssReq).css("zIndex", options.zIndexes.pane_normal) + .css(o.applyDemoStyles ? c.cssDemo : {}) // demo styles + .addClass( o.paneClass +" "+ o.paneClass+"-"+pane ) // default = "ui-layout-pane ui-layout-pane-west" - may be a dupe of 'paneSelector' + .bind("mouseenter."+ sID, addHover ) + .bind("mouseleave."+ sID, removeHover ) + ; + var paneMethods = { + hide: '' + , show: '' + , toggle: '' + , close: '' + , open: '' + , slideOpen: '' + , slideClose: '' + , slideToggle: '' + , size: 'manualSizePane' + , sizePane: 'manualSizePane' + , sizeContent: '' + , sizeHandles: '' + , enableClosable: '' + , disableClosable: '' + , enableSlideable: '' + , disableSlideable: '' + , enableResizable: '' + , disableResizable: '' + , swapPanes: 'swapPanes' + , swap: 'swapPanes' + , move: 'swapPanes' + , removePane: 'removePane' + , remove: 'removePane' + , createChildLayout: '' + , resizeChildLayout: '' + , resizeAll: 'resizeAll' + , resizeLayout: 'resizeAll' + } + , name; + // loop hash and bind all methods - include layoutID namespacing + for (name in paneMethods) { + $P.bind("layoutpane"+ name.toLowerCase() +"."+ sID, Instance[ paneMethods[name] || name ]); + } + + // see if this pane has a 'scrolling-content element' + initContent(pane, false); // false = do NOT sizeContent() - called later + + if (!isCenter) { + // call _parseSize AFTER applying pane classes & styles - but before making visible (if hidden) + // if o.size is auto or not valid, then MEASURE the pane and use that as its 'size' + size = s.size = _parseSize(pane, o.size); + minSize = _parseSize(pane,o.minSize) || 1; + maxSize = _parseSize(pane,o.maxSize) || 100000; + if (size > 0) size = max(min(size, maxSize), minSize); + + // state for border-panes + s.isClosed = false; // true = pane is closed + s.isSliding = false; // true = pane is currently open by 'sliding' over adjacent panes + s.isResizing= false; // true = pane is in process of being resized + s.isHidden = false; // true = pane is hidden - no spacing, resizer or toggler is visible! + + // array for 'pin buttons' whose classNames are auto-updated on pane-open/-close + if (!s.pins) s.pins = []; + } + // states common to ALL panes + s.tagName = $P[0].tagName; + s.edge = pane; // useful if pane is (or about to be) 'swapped' - easy find out where it is (or is going) + s.noRoom = false; // true = pane 'automatically' hidden due to insufficient room - will unhide automatically + s.isVisible = true; // false = pane is invisible - closed OR hidden - simplify logic + + // set css-position to account for container borders & padding + switch (pane) { + case "north": CSS.top = sC.insetTop; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "south": CSS.bottom = sC.insetBottom; + CSS.left = sC.insetLeft; + CSS.right = sC.insetRight; + break; + case "west": CSS.left = sC.insetLeft; // top, bottom & height set by sizeMidPanes() + break; + case "east": CSS.right = sC.insetRight; // ditto + break; + case "center": // top, left, width & height set by sizeMidPanes() + } + + if (dir === "horz") // north or south pane + CSS.height = cssH($P, size); + else if (dir === "vert") // east or west pane + CSS.width = cssW($P, size); + //else if (isCenter) {} + + $P.css(CSS); // apply size -- top, bottom & height will be set by sizeMidPanes + if (dir != "horz") sizeMidPanes(pane, true); // true = skipCallback + + // close or hide the pane if specified in settings + if (o.initClosed && o.closable && !o.initHidden) + close(pane, true, true); // true, true = force, noAnimation + else if (o.initHidden || o.initClosed) + hide(pane); // will be completely invisible - no resizer or spacing + else if (!s.noRoom) + // make the pane visible - in case was initially hidden + $P.css("display","block"); + // ELSE setAsOpen() - called later by initHandles() + + // RESET visibility now - pane will appear IF display:block + $P.css("visibility","visible"); + + // check option for auto-handling of pop-ups & drop-downs + if (o.showOverflowOnHover) + $P.hover( allowOverflow, resetOverflow ); + + // if manually adding a pane AFTER layout initialization, then... + if (state.initialized) { + initHandles( pane ); + initHotkeys( pane ); + resizeAll(); // will sizeContent if pane is visible + if (s.isVisible) { // pane is OPEN + if (o.triggerEventsOnLoad) + _runCallbacks("onresize_end", pane); + else // automatic if onresize called, otherwise call it specifically + // resize child - IF inner-layout already exists (created before this layout) + resizeChildLayout(pane); // a previously existing childLayout + } + if (o.initChildLayout && o.childOptions) + createChildLayout(pane); + } + } + + /** + * Initialize module objects, styling, size and position for all resize bars and toggler buttons + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initHandles = function (panes) { + panes = panes ? panes.split(",") : _c.borderPanes; + + // create toggler DIVs for each pane, and set object pointers for them, eg: $R.north = north toggler DIV + $.each(panes, function (i, pane) { + var $P = $Ps[pane]; + $Rs[pane] = false; // INIT + $Ts[pane] = false; + if (!$P) return; // pane does not exist - skip + + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , rClass = o.resizerClass + , tClass = o.togglerClass + , side = c.side.toLowerCase() + , spacing = (s.isVisible ? o.spacing_open : o.spacing_closed) + , _pane = "-"+ pane // used for classNames + , _state = (s.isVisible ? "-open" : "-closed") // used for classNames + , I = Instance[pane] + // INIT RESIZER BAR + , $R = I.resizer = $Rs[pane] = $("
          ") + // INIT TOGGLER BUTTON + , $T = I.toggler = (o.closable ? $Ts[pane] = $("
          ") : false) + ; + + //if (s.isVisible && o.resizable) ... handled by initResizable + if (!s.isVisible && o.slidable) + $R.attr("title", o.sliderTip).css("cursor", o.sliderCursor); + + $R // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "paneLeft-resizer" + .attr("id", (o.paneSelector.substr(0,1)=="#" ? o.paneSelector.substr(1) + "-resizer" : "")) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "resizer" + }) + .css(_c.resizers.cssReq).css("zIndex", options.zIndexes.resizer_normal) + .css(o.applyDemoStyles ? _c.resizers.cssDemo : {}) // add demo styles + .addClass(rClass +" "+ rClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if resizing is not enabled - handle with CSS instead + .hover(onResizerEnter, onResizerLeave) // ALWAYS NEED resizer.mouseleave to balance toggler.mouseenter + .appendTo($N) // append DIV to container + ; + + if ($T) { + $T // if paneSelector is an ID, then create a matching ID for the resizer, eg: "#paneLeft" => "#paneLeft-toggler" + .attr("id", (o.paneSelector.substr(0,1)=="#" ? o.paneSelector.substr(1) + "-toggler" : "")) + .data({ + parentLayout: Instance + , layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + , layoutRole: "toggler" + }) + .css(_c.togglers.cssReq) // add base/required styles + .css(o.applyDemoStyles ? _c.togglers.cssDemo : {}) // add demo styles + .addClass(tClass +" "+ tClass+_pane) + .hover(addHover, removeHover) // ALWAYS add hover-classes, even if toggling is not enabled - handle with CSS instead + .bind("mouseenter", onResizerEnter) // NEED toggler.mouseenter because mouseenter MAY NOT fire on resizer + .appendTo($R) // append SPAN to resizer DIV + ; + // ADD INNER-SPANS TO TOGGLER + if (o.togglerContent_open) // ui-layout-open + $(""+ o.togglerContent_open +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .data("layoutRole", "togglerContent") + .data("layoutEdge", pane) + .addClass("content content-open") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-open instead! + ; + if (o.togglerContent_closed) // ui-layout-closed + $(""+ o.togglerContent_closed +"") + .data({ + layoutEdge: pane + , layoutRole: "togglerContent" + }) + .addClass("content content-closed") + .css("display","none") + .appendTo( $T ) + //.hover( addHover, removeHover ) // use ui-layout-toggler-west-hover .content-closed instead! + ; + // ADD TOGGLER.click/.hover + enableClosable(pane); + } + + // add Draggable events + initResizable(pane); + + // ADD CLASSNAMES & SLIDE-BINDINGS - eg: class="resizer resizer-west resizer-open" + if (s.isVisible) + setAsOpen(pane); // onOpen will be called, but NOT onResize + else { + setAsClosed(pane); // onClose will be called + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + }); + + // SET ALL HANDLE DIMENSIONS + sizeHandles(); + } + + + /** + * Initialize scrolling ui-layout-content div - if exists + * + * @see initPane() - or externally after an Ajax injection + * @param {string} [pane] The pane to process + * @param {boolean=} [resize=true] Size content after init + */ +, initContent = function (pane, resize) { + if (!isInitialized()) return; + var + o = options[pane] + , sel = o.contentSelector + , I = Instance[pane] + , $P = $Ps[pane] + , $C + ; + if (sel) $C = I.content = $Cs[pane] = (o.findNestedContent) + ? $P.find(sel).eq(0) // match 1-element only + : $P.children(sel).eq(0) + ; + if ($C && $C.length) { + $C.data("layoutRole", "content"); + // SAVE original Pane CSS + if (!$C.data("layoutCSS")) + $C.data("layoutCSS", elCSS($C, "height")); + $C.css( _c.content.cssReq ); + if (o.applyDemoStyles) { + $C.css( _c.content.cssDemo ); // add padding & overflow: auto to content-div + $P.css( _c.content.cssDemoPane ); // REMOVE padding/scrolling from pane + } + state[pane].content = {}; // init content state + if (resize !== false) sizeContent(pane); + // sizeContent() is called AFTER init of all elements + } + else + I.content = $Cs[pane] = false; + } + + + /** + * Add resize-bars to all panes that specify it in options + * -dependancy: $.fn.resizable - will skip if not found + * + * @see _create() + * @param {string=} [panes=""] The edge(s) to process + */ +, initResizable = function (panes) { + var draggingAvailable = $.layout.plugins.draggable + , side // set in start() + ; + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (idx, pane) { + var o = options[pane]; + if (!draggingAvailable || !$Ps[pane] || !o.resizable) { + o.resizable = false; + return true; // skip to next + } + + var s = state[pane] + , z = options.zIndexes + , c = _c[pane] + , side = c.dir=="horz" ? "top" : "left" + , opEdge = _c.oppositeEdge[pane] + , masks = pane +",center,"+ opEdge + (c.dir=="horz" ? ",west,east" : "") + , $P = $Ps[pane] + , $R = $Rs[pane] + , base = o.resizerClass + , lastPos = 0 // used when live-resizing + , r, live // set in start because may change + // 'drag' classes are applied to the ORIGINAL resizer-bar while dragging is in process + , resizerClass = base+"-drag" // resizer-drag + , resizerPaneClass = base+"-"+pane+"-drag" // resizer-north-drag + // 'helper' class is applied to the CLONED resizer-bar while it is being dragged + , helperClass = base+"-dragging" // resizer-dragging + , helperPaneClass = base+"-"+pane+"-dragging" // resizer-north-dragging + , helperLimitClass = base+"-dragging-limit" // resizer-drag + , helperPaneLimitClass = base+"-"+pane+"-dragging-limit" // resizer-north-drag + , helperClassesSet = false // logic var + ; + + if (!s.isClosed) + $R.attr("title", o.resizerTip) + .css("cursor", o.resizerCursor); // n-resize, s-resize, etc + + $R.draggable({ + containment: $N[0] // limit resizing to layout container + , axis: (c.dir=="horz" ? "y" : "x") // limit resizing to horz or vert axis + , delay: 0 + , distance: 1 + , grid: o.resizingGrid + // basic format for helper - style it using class: .ui-draggable-dragging + , helper: "clone" + , opacity: o.resizerDragOpacity + , addClasses: false // avoid ui-state-disabled class when disabled + //, iframeFix: o.draggableIframeFix // TODO: consider using when bug is fixed + , zIndex: z.resizer_drag + + , start: function (e, ui) { + // REFRESH options & state pointers in case we used swapPanes + o = options[pane]; + s = state[pane]; + // re-read options + live = o.livePaneResizing; + + // ondrag_start callback - will CANCEL hide if returns false + // TODO: dragging CANNOT be cancelled like this, so see if there is a way? + if (false === _runCallbacks("ondrag_start", pane)) return false; + + s.isResizing = true; // prevent pane from closing while resizing + timer.clear(pane+"_closeSlider"); // just in case already triggered + + // SET RESIZER LIMITS - used in drag() + setSizeLimits(pane); // update pane/resizer state + r = s.resizerPosition; + lastPos = ui.position[ side ] + + $R.addClass( resizerClass +" "+ resizerPaneClass ); // add drag classes + helperClassesSet = false; // reset logic var - see drag() + + // DISABLE TEXT SELECTION (probably already done by resizer.mouseOver) + $('body').disableSelection(); + + // MASK PANES CONTAINING IFRAMES, APPLETS OR OTHER TROUBLESOME ELEMENTS + showMasks( masks ); + } + + , drag: function (e, ui) { + if (!helperClassesSet) { // can only add classes after clone has been added to the DOM + //$(".ui-draggable-dragging") + ui.helper + .addClass( helperClass +" "+ helperPaneClass ) // add helper classes + .css({ right: "auto", bottom: "auto" }) // fix dir="rtl" issue + .children().css("visibility","hidden") // hide toggler inside dragged resizer-bar + ; + helperClassesSet = true; + // draggable bug!? RE-SET zIndex to prevent E/W resize-bar showing through N/S pane! + if (s.isSliding) $Ps[pane].css("zIndex", z.pane_sliding); + } + // CONTAIN RESIZER-BAR TO RESIZING LIMITS + var limit = 0; + if (ui.position[side] < r.min) { + ui.position[side] = r.min; + limit = -1; + } + else if (ui.position[side] > r.max) { + ui.position[side] = r.max; + limit = 1; + } + // ADD/REMOVE dragging-limit CLASS + if (limit) { + ui.helper.addClass( helperLimitClass +" "+ helperPaneLimitClass ); // at dragging-limit + window.defaultStatus = (limit>0 && pane.match(/north|west/)) || (limit<0 && pane.match(/south|east/)) ? lang.maxSizeWarning : lang.minSizeWarning; + } + else { + ui.helper.removeClass( helperLimitClass +" "+ helperPaneLimitClass ); // not at dragging-limit + window.defaultStatus = ""; + } + // DYNAMICALLY RESIZE PANES IF OPTION ENABLED + // won't trigger unless resizer has actually moved! + if (live && Math.abs(ui.position[side] - lastPos) >= o.liveResizingTolerance) { + lastPos = ui.position[side]; + resizePanes(e, ui, pane) + } + } + + , stop: function (e, ui) { + $('body').enableSelection(); // RE-ENABLE TEXT SELECTION + window.defaultStatus = ""; // clear 'resizing limit' message from statusbar + $R.removeClass( resizerClass +" "+ resizerPaneClass ); // remove drag classes from Resizer + s.isResizing = false; + resizePanes(e, ui, pane, true, masks); // true = resizingDone + } + + }); + }); + + /** + * resizePanes + * + * Sub-routine called from stop() - and drag() if livePaneResizing + * + * @param {!Object} evt + * @param {!Object} ui + * @param {string} pane + * @param {boolean=} [resizingDone=false] + */ + var resizePanes = function (evt, ui, pane, resizingDone, masks) { + var dragPos = ui.position + , c = _c[pane] + , o = options[pane] + , s = state[pane] + , resizerPos + ; + switch (pane) { + case "north": resizerPos = dragPos.top; break; + case "west": resizerPos = dragPos.left; break; + case "south": resizerPos = sC.offsetHeight - dragPos.top - o.spacing_open; break; + case "east": resizerPos = sC.offsetWidth - dragPos.left - o.spacing_open; break; + }; + // remove container margin from resizer position to get the pane size + var newSize = resizerPos - sC["inset"+ c.side]; + + // Disable OR Resize Mask(s) created in drag.start + if (!resizingDone) { + // ensure we meet liveResizingTolerance criteria + if (Math.abs(newSize - s.size) < o.liveResizingTolerance) + return; // SKIP resize this time + // resize the pane + manualSizePane(pane, newSize, false, true); // true = noAnimation + sizeMasks(); // resize all visible masks + } + else { // resizingDone + // ondrag_end callback + if (false !== _runCallbacks("ondrag_end", pane)) + manualSizePane(pane, newSize, false, true); // true = noAnimation + hideMasks(); // hide all masks, which include panes with 'content/iframe-masks' + if (s.isSliding && masks) // RE-SHOW only 'object-masks' so objects won't show through sliding pane + showMasks( masks, true ); // true = onlyForObjects + } + }; + } + + /** + * sizeMask + * + * Needed to overlay a DIV over an IFRAME-pane because mask CANNOT be *inside* the pane + * Called when mask created, and during livePaneResizing + */ +, sizeMask = function () { + var $M = $(this) + , pane = $M.data("layoutMask") // eg: "west" + , s = state[pane] + ; + // only masks over an IFRAME-pane need manual resizing + if (s.tagName == "IFRAME" && s.isVisible) // no need to mask closed/hidden panes + $M.css({ + top: s.offsetTop + , left: s.offsetLeft + , width: s.outerWidth + , height: s.outerHeight + }); + /* ALT Method... + var $P = $Ps[pane]; + $M.css( $P.position() ).css({ width: $P[0].offsetWidth, height: $P[0].offsetHeight }); + */ + } +, sizeMasks = function () { + $Ms.each( sizeMask ); // resize all 'visible' masks + } + +, showMasks = function (panes, onlyForObjects) { + var a = panes ? panes.split(",") : $.layout.config.allPanes + , z = options.zIndexes + , o, s; + $.each(a, function(i,p){ + s = state[p]; + o = options[p]; + if (s.isVisible && ( (!onlyForObjects && o.maskContents) || o.maskObjects )) { + getMasks(p).each(function(){ + sizeMask.call(this); + this.style.zIndex = s.isSliding ? z.pane_sliding+1 : z.pane_normal+1 + this.style.display = "block"; + }); + } + }); + } + +, hideMasks = function () { + // ensure no pane is resizing - could be a timing issue + var skip; + $.each( $.layout.config.borderPanes, function(i,p){ + if (state[p].isResizing) { + skip = true; + return false; // BREAK + } + }); + if (!skip) + $Ms.hide(); // hide ALL masks + } + +, getMasks = function (pane) { + var $Masks = $([]) + , $M, i = 0, c = $Ms.length + ; + for (; i CSS + if (sC.tagName === "BODY" && ($N = $("html")).data(css)) // RESET CSS + $N.css( $N.data(css) ).removeData(css); + + // trigger plugins for this layout, if there are any + runPluginCallbacks( Instance, $.layout.onDestroy ); + + // trigger state-management and onunload callback + unload(); + + // clear the Instance of everything except for container & options (so could recreate) + // RE-CREATE: myLayout = myLayout.container.layout( myLayout.options ); + for (n in Instance) + if (!n.match(/^(container|options)$/)) delete Instance[ n ]; + // add a 'destroyed' flag to make it easy to check + Instance.destroyed = true; + + // if this is a child layout, CLEAR the child-pointer in the parent + /* for now the pointer REMAINS, but with only container, options and destroyed keys + if (parentPane) { + var layout = parentPane.pane.data("parentLayout"); + parentPane.child = layout.children[ parentPane.name ] = null; + } + */ + + return Instance; // for coding convenience + } + + /** + * Remove a pane from the layout - subroutine of destroy() + * + * @see destroy() + * @param {string} pane The pane to process + * @param {boolean=} [remove=false] Remove the DOM element? + * @param {boolean=} [skipResize=false] Skip calling resizeAll()? + */ +, removePane = function (evt_or_pane, remove, skipResize, destroyChild) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $C = $Cs[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + ; + //alert( '$P.length = '+ $P.length ); + // NOTE: elements can still exist even after remove() + // so check for missing data(), which is cleared by removed() + if ($P && $.isEmptyObject( $P.data() )) $P = false; + if ($C && $.isEmptyObject( $C.data() )) $C = false; + if ($R && $.isEmptyObject( $R.data() )) $R = false; + if ($T && $.isEmptyObject( $T.data() )) $T = false; + + if ($P) $P.stop(true, true); + + // check for a child layout + var o = options[pane] + , s = state[pane] + , d = "layout" + , css = "layoutCSS" + , child = children[pane] || ($P ? $P.data(d) : 0) || ($C ? $C.data(d) : 0) || null + , destroy = destroyChild !== undefined ? destroyChild : o.destroyChildLayout + ; + + // FIRST destroy the child-layout(s) + if (destroy && child && !child.destroyed) { + child.destroy(true); // tell child-layout to destroy ALL its child-layouts too + if (child.destroyed) // destroy was successful + child = null; // clear pointer for logic below + } + + if ($P && remove && !child) + $P.remove(); + else if ($P && $P[0]) { + // create list of ALL pane-classes that need to be removed + var root = o.paneClass // default="ui-layout-pane" + , pRoot = root +"-"+ pane // eg: "ui-layout-pane-west" + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + , classes = [ root, root+_open, root+_closed, root+_sliding, // generic classes + pRoot, pRoot+_open, pRoot+_closed, pRoot+_sliding ] // pane-specific classes + ; + $.merge(classes, getHoverClasses($P, true)); // ADD hover-classes + // remove all Layout classes from pane-element + $P .removeClass( classes.join(" ") ) // remove ALL pane-classes + .removeData("parentLayout") + .removeData("layoutPane") + .removeData("layoutRole") + .removeData("layoutEdge") + .removeData("autoHidden") // in case set + .unbind("."+ sID) // remove ALL Layout events + // TODO: remove these extra unbind commands when jQuery is fixed + //.unbind("mouseenter"+ sID) + //.unbind("mouseleave"+ sID) + ; + // do NOT reset CSS if this pane/content is STILL the container of a nested layout! + // the nested layout will reset its 'container' CSS when/if it is destroyed + if ($C && $C.data(d)) { + // a content-div may not have a specific width, so give it one to contain the Layout + $C.width( $C.width() ); + child.resizeAll(); // now resize the Layout + } + else if ($C) + $C.css( $C.data(css) ).removeData(css).removeData("layoutRole"); + // remove pane AFTER content in case there was a nested layout + if (!$P.data(d)) + $P.css( $P.data(css) ).removeData(css); + } + + // REMOVE pane resizer and toggler elements + if ($T) $T.remove(); + if ($R) $R.remove(); + + // CLEAR all pointers and state data + Instance[pane] = $Ps[pane] = $Cs[pane] = $Rs[pane] = $Ts[pane] = children[pane] = false; + s = { removed: true }; + + if (!skipResize) + resizeAll(); + } + + +/* + * ########################### + * ACTION METHODS + * ########################### + */ + +, _hidePane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , s = $P[0].style + ; + if (o.useOffscreenClose) { + if (!$P.data(_c.offscreenReset)) + $P.data(_c.offscreenReset, { left: s.left, right: s.right }); + $P.css( _c.offscreenCSS ); + } + else + $P.hide().removeData(_c.offscreenReset); + } + +, _showPane = function (pane) { + var $P = $Ps[pane] + , o = options[pane] + , off = _c.offscreenCSS + , old = $P.data(_c.offscreenReset) + , s = $P[0].style + ; + $P .show() // ALWAYS show, just in case + .removeData(_c.offscreenReset); + if (o.useOffscreenClose && old) { + if (s.left == off.left) + s.left = old.left; + if (s.right == off.right) + s.right = old.right; + } + } + + + /** + * Completely 'hides' a pane, including its spacing - as if it does not exist + * The pane is not actually 'removed' from the source, so can use 'show' to un-hide it + * + * @param {string} pane The pane being hidden, ie: north, south, east, or west + * @param {boolean=} [noAnimation=false] + */ +, hide = function (evt_or_pane, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || s.isHidden) return; // pane does not exist OR is already hidden + + // onhide_start callback - will CANCEL hide if returns false + if (state.initialized && false === _runCallbacks("onhide_start", pane)) return; + + s.isSliding = false; // just in case + + // now hide the elements + if ($R) $R.hide(); // hide resizer-bar + if (!state.initialized || s.isClosed) { + s.isClosed = true; // to trigger open-animation on show() + s.isHidden = true; + s.isVisible = false; + if (!state.initialized) + _hidePane(pane); // no animation when loading page + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center"); + if (state.initialized || o.triggerEventsOnLoad) + _runCallbacks("onhide_end", pane); + } + else { + s.isHiding = true; // used by onclose + close(pane, false, noAnimation); // adjust all panes to fit + } + } + + /** + * Show a hidden pane - show as 'closed' by default unless openPane = true + * + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [openPane=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, show = function (evt_or_pane, openPane, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + if (!$P || !s.isHidden) return; // pane does not exist OR is not hidden + + // onshow_start callback - will CANCEL show if returns false + if (false === _runCallbacks("onshow_start", pane)) return; + + s.isSliding = false; // just in case + s.isShowing = true; // used by onopen/onclose + //s.isHidden = false; - will be set by open/close - if not cancelled + + // now show the elements + //if ($R) $R.show(); - will be shown by open/close + if (openPane === false) + close(pane, true); // true = force + else + open(pane, false, noAnimation, noAlert); // adjust all panes to fit + } + + + /** + * Toggles a pane open/closed by calling either open or close + * + * @param {string} pane The pane being toggled, ie: north, south, east, or west + * @param {boolean=} [slide=false] + */ +, toggle = function (evt_or_pane, slide) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + ; + if (evt) // called from to $R.dblclick OR triggerPaneEvent + evt.stopImmediatePropagation(); + if (s.isHidden) + show(pane); // will call 'open' after unhiding it + else if (s.isClosed) + open(pane, !!slide); + else + close(pane); + } + + + /** + * Utility method used during init or other auto-processes + * + * @param {string} pane The pane being closed + * @param {boolean=} [setHandles=false] + */ +, _closePane = function (pane, setHandles) { + var + $P = $Ps[pane] + , s = state[pane] + ; + _hidePane(pane); + s.isClosed = true; + s.isVisible = false; + // UNUSED: if (setHandles) setAsClosed(pane, true); // true = force + } + + /** + * Close the specified pane (animation optional), and resize all other panes as needed + * + * @param {string} pane The pane being closed, ie: north, south, east, or west + * @param {boolean=} [force=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [skipCallback=false] + */ +, close = function (evt_or_pane, force, noAnimation, skipCallback) { + var pane = evtPane.call(this, evt_or_pane); + // if pane has been initialized, but NOT the complete layout, close pane instantly + if (!state.initialized && $Ps[pane]) { + _closePane(pane); // INIT pane as closed + return; + } + if (!isInitialized()) return; + + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing, isHiding, wasSliding; + + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.closable && !s.isShowing && !s.isHiding) // invalid request // (!o.resizable && !o.closable) ??? + || (!force && s.isClosed && !s.isShowing) // already closed + ) return queueNext(); + + // onclose_start callback - will CANCEL hide if returns false + // SKIP if just 'showing' a hidden pane as 'closed' + var abort = !s.isShowing && false === _runCallbacks("onclose_start", pane); + + // transfer logic vars to temp vars + isShowing = s.isShowing; + isHiding = s.isHiding; + wasSliding = s.isSliding; + // now clear the logic vars (REQUIRED before aborting) + delete s.isShowing; + delete s.isHiding; + + if (abort) return queueNext(); + + doFX = !noAnimation && !s.isClosed && (o.fxName_close != "none"); + s.isMoving = true; + s.isClosed = true; + s.isVisible = false; + // update isHidden BEFORE sizing panes + if (isHiding) s.isHidden = true; + else if (isShowing) s.isHidden = false; + + if (s.isSliding) // pane is being closed, so UNBIND trigger events + bindStopSlidingEvents(pane, false); // will set isSliding=false + else // resize panes adjacent to this one + sizeMidPanes(_c[pane].dir === "horz" ? "" : "center", false); // false = NOT skipCallback + + // if this pane has a resizer bar, move it NOW - before animation + setAsClosed(pane); + + // CLOSE THE PANE + if (doFX) { // animate the close + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.hide( o.fxName_close, o.fxSettings_close, o.fxSpeed_close, function () { + lockPaneForFX(pane, false); // undo + if (s.isClosed) close_2(); + queueNext(); + }); + } + else { // hide the pane without animation + _hidePane(pane); + close_2(); + queueNext(); + }; + }); + + // SUBROUTINE + function close_2 () { + s.isMoving = false; + bindStartSlidingEvent(pane, true); // will enable if o.slidable = true + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane ); + } + + // hide any masks shown while closing + hideMasks(); + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad)) { + // onclose callback - UNLESS just 'showing' a hidden pane as 'closed' + if (!isShowing) _runCallbacks("onclose_end", pane); + // onhide OR onshow callback + if (isShowing) _runCallbacks("onshow_end", pane); + if (isHiding) _runCallbacks("onhide_end", pane); + } + } + } + + /** + * @param {string} pane The pane just closed, ie: north, south, east, or west + */ +, setAsClosed = function (pane) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _sliding= "-sliding" + , _closed = "-closed" + ; + $R + .css(side, sC[inset]) // move the resizer + .removeClass( rClass+_open +" "+ rClass+_pane+_open ) + .removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + .addClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .unbind("dblclick."+ sID) + ; + // DISABLE 'resizing' when closed - do this BEFORE bindStartSlidingEvent? + if (o.resizable && $.layout.plugins.draggable) + $R + .draggable("disable") + .removeClass("ui-state-disabled") // do NOT apply disabled styling - not suitable here + .css("cursor", "default") + .attr("title","") + ; + + // if pane has a toggler button, adjust that too + if ($T) { + $T + .removeClass( tClass+_open +" "+ tClass+_pane+_open ) + .addClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .attr("title", o.togglerTip_closed) // may be blank + ; + // toggler-content - if exists + $T.children(".content-open").hide(); + $T.children(".content-closed").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, false); + + if (state.initialized) { + // resize 'length' and position togglers for adjacent panes + sizeHandles(); + } + } + + /** + * Open the specified pane (animation optional), and resize all other panes as needed + * + * @param {string} pane The pane being opened, ie: north, south, east, or west + * @param {boolean=} [slide=false] + * @param {boolean=} [noAnimation=false] + * @param {boolean=} [noAlert=false] + */ +, open = function (evt_or_pane, slide, noAnimation, noAlert) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , c = _c[pane] + , doFX, isShowing + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + + if ( !$P + || (!o.resizable && !o.closable && !s.isShowing) // invalid request + || (s.isVisible && !s.isSliding) // already open + ) return queueNext(); + + // pane can ALSO be unhidden by just calling show(), so handle this scenario + if (s.isHidden && !s.isShowing) { + queueNext(); // call before show() because it needs the queue free + show(pane, true); + return; + } + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else + // make sure there is enough space available to open the pane + setSizeLimits(pane, slide); + + // onopen_start callback - will CANCEL open if returns false + var cbReturn = _runCallbacks("onopen_start", pane); + + if (cbReturn === "abort") + return queueNext(); + + // update pane-state again in case options were changed in onopen_start + if (cbReturn !== "NC") // NC = "No Callback" + setSizeLimits(pane, slide); + + if (s.minSize > s.maxSize) { // INSUFFICIENT ROOM FOR PANE TO OPEN! + syncPinBtns(pane, false); // make sure pin-buttons are reset + if (!noAlert && o.noRoomToOpenTip) + alert(o.noRoomToOpenTip); + return queueNext(); // ABORT + } + + if (slide) // START Sliding - will set isSliding=true + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (s.isSliding) // PIN PANE (stop sliding) - open pane 'normally' instead + bindStopSlidingEvents(pane, false); // UNBIND trigger events - will set isSliding=false + else if (o.slidable) + bindStartSlidingEvent(pane, false); // UNBIND trigger events + + s.noRoom = false; // will be reset by makePaneFit if 'noRoom' + makePaneFit(pane); + + // transfer logic var to temp var + isShowing = s.isShowing; + // now clear the logic var + delete s.isShowing; + + doFX = !noAnimation && s.isClosed && (o.fxName_open != "none"); + s.isMoving = true; + s.isVisible = true; + s.isClosed = false; + // update isHidden BEFORE sizing panes - WHY??? Old? + if (isShowing) s.isHidden = false; + + if (doFX) { // ANIMATE + // mask panes with objects + var masks = "center"+ (c.dir=="horz" ? ",west,east" : ""); + if (s.isSliding) masks += ","+ _c.oppositeEdge[pane]; + showMasks( masks, true ); // true = ONLY mask panes with maskObjects=true + lockPaneForFX(pane, true); // need to set left/top so animation will work + $P.show( o.fxName_open, o.fxSettings_open, o.fxSpeed_open, function() { + lockPaneForFX(pane, false); // undo + if (s.isVisible) open_2(); // continue + queueNext(); + }); + } + else { // no animation + _showPane(pane);// just show pane and... + open_2(); // continue + queueNext(); + }; + }); + + // SUBROUTINE + function open_2 () { + s.isMoving = false; + + // cure iframe display issues + _fixIframe(pane); + + // NOTE: if isSliding, then other panes are NOT 'resized' + if (!s.isSliding) { // resize all panes adjacent to this one + hideMasks(); // remove any masks shown while opening + sizeMidPanes(_c[pane].dir=="vert" ? "center" : "", false); // false = NOT skipCallback + } + + // set classes, position handles and execute callbacks... + setAsOpen(pane); + }; + + } + + /** + * @param {string} pane The pane just opened, ie: north, south, east, or west + * @param {boolean=} [skipCallback=false] + */ +, setAsOpen = function (pane, skipCallback) { + var + $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , o = options[pane] + , s = state[pane] + , side = _c[pane].side.toLowerCase() + , inset = "inset"+ _c[pane].side + , rClass = o.resizerClass + , tClass = o.togglerClass + , _pane = "-"+ pane // used for classNames + , _open = "-open" + , _closed = "-closed" + , _sliding= "-sliding" + ; + $R + .css(side, sC[inset] + getPaneSize(pane)) // move the resizer + .removeClass( rClass+_closed +" "+ rClass+_pane+_closed ) + .addClass( rClass+_open +" "+ rClass+_pane+_open ) + ; + if (s.isSliding) + $R.addClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + else // in case 'was sliding' + $R.removeClass( rClass+_sliding +" "+ rClass+_pane+_sliding ) + + if (o.resizerDblClickToggle) + $R.bind("dblclick", toggle ); + removeHover( 0, $R ); // remove hover classes + if (o.resizable && $.layout.plugins.draggable) + $R .draggable("enable") + .css("cursor", o.resizerCursor) + .attr("title", o.resizerTip); + else if (!s.isSliding) + $R.css("cursor", "default"); // n-resize, s-resize, etc + + // if pane also has a toggler button, adjust that too + if ($T) { + $T .removeClass( tClass+_closed +" "+ tClass+_pane+_closed ) + .addClass( tClass+_open +" "+ tClass+_pane+_open ) + .attr("title", o.togglerTip_open); // may be blank + removeHover( 0, $T ); // remove hover classes + // toggler-content - if exists + $T.children(".content-closed").hide(); + $T.children(".content-open").css("display","block"); + } + + // sync any 'pin buttons' + syncPinBtns(pane, !s.isSliding); + + // update pane-state dimensions - BEFORE resizing content + $.extend(s, elDims($P)); + + if (state.initialized) { + // resize resizer & toggler sizes for all panes + sizeHandles(); + // resize content every time pane opens - to be sure + sizeContent(pane, true); // true = remeasure headers/footers, even if 'pane.isMoving' + } + + if (!skipCallback && (state.initialized || o.triggerEventsOnLoad) && $P.is(":visible")) { + // onopen callback + _runCallbacks("onopen_end", pane); + // onshow callback - TODO: should this be here? + if (s.isShowing) _runCallbacks("onshow_end", pane); + + // ALSO call onresize because layout-size *may* have changed while pane was closed + if (state.initialized) + _runCallbacks("onresize_end", pane); + } + + // TODO: Somehow sizePane("north") is being called after this point??? + } + + + /** + * slideOpen / slideClose / slideToggle + * + * Pass-though methods for sliding + */ +, slideOpen = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , s = state[pane] + , delay = options[pane].slideDelay_open + ; + // prevent event from triggering on NEW resizer binding created below + if (evt) evt.stopImmediatePropagation(); + + if (s.isClosed && evt && evt.type === "mouseenter" && delay > 0) + // trigger = mouseenter - use a delay + timer.set(pane+"_openSlider", open_NOW, delay); + else + open_NOW(); // will unbind events if is already open + + /** + * SUBROUTINE for timed open + */ + function open_NOW () { + if (!s.isClosed) // skip if no longer closed! + bindStopSlidingEvents(pane, true); // BIND trigger events to close sliding-pane + else if (!s.isMoving) + open(pane, true); // true = slide - open() will handle binding + }; + } + +, slideClose = function (evt_or_pane) { + if (!isInitialized()) return; + var evt = evtObj(evt_or_pane) + , pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + , delay = s.isMoving ? 1000 : 300 // MINIMUM delay - option may override + ; + if (s.isClosed || s.isResizing) + return; // skip if already closed OR in process of resizing + else if (o.slideTrigger_close === "click") + close_NOW(); // close immediately onClick + else if (o.preventQuickSlideClose && s.isMoving) + return; // handle Chrome quick-close on slide-open + else if (o.preventPrematureSlideClose && evt && $.layout.isMouseOverElem(evt, $Ps[pane])) + return; // handle incorrect mouseleave trigger, like when over a SELECT-list in IE + else if (evt) // trigger = mouseleave - use a delay + // 1 sec delay if 'opening', else .3 sec + timer.set(pane+"_closeSlider", close_NOW, max(o.slideDelay_close, delay)); + else // called programically + close_NOW(); + + /** + * SUBROUTINE for timed close + */ + function close_NOW () { + if (s.isClosed) // skip 'close' if already closed! + bindStopSlidingEvents(pane, false); // UNBIND trigger events - TODO: is this needed here? + else if (!s.isMoving) + close(pane); // close will handle unbinding + }; + } + + /** + * @param {string} pane The pane being opened, ie: north, south, east, or west + */ +, slideToggle = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + toggle(pane, true); + } + + + /** + * Must set left/top on East/South panes so animation will work properly + * + * @param {string} pane The pane to lock, 'east' or 'south' - any other is ignored! + * @param {boolean} doLock true = set left/top, false = remove + */ +, lockPaneForFX = function (pane, doLock) { + var $P = $Ps[pane] + , s = state[pane] + , o = options[pane] + , z = options.zIndexes + ; + if (doLock) { + $P.css({ zIndex: z.pane_animate }); // overlay all elements during animation + if (pane=="south") + $P.css({ top: sC.insetTop + sC.innerHeight - $P.outerHeight() }); + else if (pane=="east") + $P.css({ left: sC.insetLeft + sC.innerWidth - $P.outerWidth() }); + } + else { // animation DONE - RESET CSS + // TODO: see if this can be deleted. It causes a quick-close when sliding in Chrome + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + if (pane=="south") + $P.css({ top: "auto" }); + // if pane is positioned 'off-screen', then DO NOT screw with it! + else if (pane=="east" && !$P.css("left").match(/\-99999/)) + $P.css({ left: "auto" }); + // fix anti-aliasing in IE - only needed for animations that change opacity + if (browser.msie && o.fxOpacityFix && o.fxName_open != "slide" && $P.css("filter") && $P.css("opacity") == 1) + $P[0].style.removeAttribute('filter'); + } + } + + + /** + * Toggle sliding functionality of a specific pane on/off by adding removing 'slide open' trigger + * + * @see open(), close() + * @param {string} pane The pane to enable/disable, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable sliding? + */ +, bindStartSlidingEvent = function (pane, enable) { + var o = options[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , evtName = o.slideTrigger_open.toLowerCase() + ; + if (!$R || (enable && !o.slidable)) return; + + // make sure we have a valid event + if (evtName.match(/mouseover/)) + evtName = o.slideTrigger_open = "mouseenter"; + else if (!evtName.match(/click|dblclick|mouseenter/)) + evtName = o.slideTrigger_open = "click"; + + $R + // add or remove event + [enable ? "bind" : "unbind"](evtName +'.'+ sID, slideOpen) + // set the appropriate cursor & title/tip + .css("cursor", enable ? o.sliderCursor : "default") + .attr("title", enable ? o.sliderTip : "") + ; + } + + /** + * Add or remove 'mouseleave' events to 'slide close' when pane is 'sliding' open or closed + * Also increases zIndex when pane is sliding open + * See bindStartSlidingEvent for code to control 'slide open' + * + * @see slideOpen(), slideClose() + * @param {string} pane The pane to process, 'north', 'south', etc. + * @param {boolean} enable Enable or Disable events? + */ +, bindStopSlidingEvents = function (pane, enable) { + var o = options[pane] + , s = state[pane] + , c = _c[pane] + , z = options.zIndexes + , evtName = o.slideTrigger_close.toLowerCase() + , action = (enable ? "bind" : "unbind") + , $P = $Ps[pane] + , $R = $Rs[pane] + ; + s.isSliding = enable; // logic + timer.clear(pane+"_closeSlider"); // just in case + + // remove 'slideOpen' event from resizer + // ALSO will raise the zIndex of the pane & resizer + if (enable) bindStartSlidingEvent(pane, false); + + // RE/SET zIndex - increases when pane is sliding-open, resets to normal when not + $P.css("zIndex", enable ? z.pane_sliding : z.pane_normal); + $R.css("zIndex", enable ? z.pane_sliding+2 : z.resizer_normal); // NOTE: mask = pane_sliding+1 + + // make sure we have a valid event + if (!evtName.match(/click|mouseleave/)) + evtName = o.slideTrigger_close = "mouseleave"; // also catches 'mouseout' + + // add/remove slide triggers + $R[action](evtName, slideClose); // base event on resize + // need extra events for mouseleave + if (evtName === "mouseleave") { + // also close on pane.mouseleave + $P[action]("mouseleave."+ sID, slideClose); + // cancel timer when mouse moves between 'pane' and 'resizer' + $R[action]("mouseenter."+ sID, cancelMouseOut); + $P[action]("mouseenter."+ sID, cancelMouseOut); + } + + if (!enable) + timer.clear(pane+"_closeSlider"); + else if (evtName === "click" && !o.resizable) { + // IF pane is not resizable (which already has a cursor and tip) + // then set the a cursor & title/tip on resizer when sliding + $R.css("cursor", enable ? o.sliderCursor : "default"); + $R.attr("title", enable ? o.togglerTip_open : ""); // use Toggler-tip, eg: "Close Pane" + } + + // SUBROUTINE for mouseleave timer clearing + function cancelMouseOut (evt) { + timer.clear(pane+"_closeSlider"); + evt.stopPropagation(); + } + } + + + /** + * Hides/closes a pane if there is insufficient room - reverses this when there is room again + * MUST have already called setSizeLimits() before calling this method + * + * @param {string} pane The pane being resized + * @param {boolean=} [isOpening=false] Called from onOpen? + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, makePaneFit = function (pane, isOpening, skipCallback, force) { + var + o = options[pane] + , s = state[pane] + , c = _c[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isSidePane = c.dir==="vert" + , hasRoom = false + ; + // special handling for center & east/west panes + if (pane === "center" || (isSidePane && s.noVerticalRoom)) { + // see if there is enough room to display the pane + // ERROR: hasRoom = s.minHeight <= s.maxHeight && (isSidePane || s.minWidth <= s.maxWidth); + hasRoom = (s.maxHeight >= 0); + if (hasRoom && s.noRoom) { // previously hidden due to noRoom, so show now + _showPane(pane); + if ($R) $R.show(); + s.isVisible = true; + s.noRoom = false; + if (isSidePane) s.noVerticalRoom = false; + _fixIframe(pane); + } + else if (!hasRoom && !s.noRoom) { // not currently hidden, so hide now + _hidePane(pane); + if ($R) $R.hide(); + s.isVisible = false; + s.noRoom = true; + } + } + + // see if there is enough room to fit the border-pane + if (pane === "center") { + // ignore center in this block + } + else if (s.minSize <= s.maxSize) { // pane CAN fit + hasRoom = true; + if (s.size > s.maxSize) // pane is too big - shrink it + sizePane(pane, s.maxSize, skipCallback, force, true); // true = noAnimation + else if (s.size < s.minSize) // pane is too small - enlarge it + sizePane(pane, s.minSize, skipCallback, force, true); + // need s.isVisible because new pseudoClose method keeps pane visible, but off-screen + else if ($R && s.isVisible && $P.is(":visible")) { + // make sure resizer-bar is positioned correctly + // handles situation where nested layout was 'hidden' when initialized + var side = c.side.toLowerCase() + , pos = s.size + sC["inset"+ c.side] + ; + if ($.layout.cssNum($R, side) != pos) $R.css( side, pos ); + } + + // if was previously hidden due to noRoom, then RESET because NOW there is room + if (s.noRoom) { + // s.noRoom state will be set by open or show + if (s.wasOpen && o.closable) { + if (o.autoReopen) + open(pane, false, true, true); // true = noAnimation, true = noAlert + else // leave the pane closed, so just update state + s.noRoom = false; + } + else + show(pane, s.wasOpen, true, true); // true = noAnimation, true = noAlert + } + } + else { // !hasRoom - pane CANNOT fit + if (!s.noRoom) { // pane not set as noRoom yet, so hide or close it now... + s.noRoom = true; // update state + s.wasOpen = !s.isClosed && !s.isSliding; + if (s.isClosed){} // SKIP + else if (o.closable) // 'close' if possible + close(pane, true, true); // true = force, true = noAnimation + else // 'hide' pane if cannot just be closed + hide(pane, true); // true = noAnimation + } + } + } + + + /** + * sizePane / manualSizePane + * sizePane is called only by internal methods whenever a pane needs to be resized + * manualSizePane is an exposed flow-through method allowing extra code when pane is 'manually resized' + * + * @param {string} pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [noAnimation=false] + */ +, manualSizePane = function (evt_or_pane, size, skipCallback, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , o = options[pane] + , s = state[pane] + // if resizing callbacks have been delayed and resizing is now DONE, force resizing to complete... + , forceResize = o.livePaneResizing && !s.isResizing + ; + // ANY call to manualSizePane disables autoResize - ie, percentage sizing + o.autoResize = false; + // flow-through... + sizePane(pane, size, skipCallback, forceResize, noAnimation); // will animate resize if option enabled + } + + /** + * @param {string} pane The pane being resized + * @param {number} size The *desired* new size for this pane - will be validated + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] Force resizing even if does not seem necessary + * @param {boolean=} [noAnimation=false] + */ +, sizePane = function (evt_or_pane, size, skipCallback, force, noAnimation) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) // probably NEVER called from event? + , o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , side = _c[pane].side.toLowerCase() + , dimName = _c[pane].sizeType.toLowerCase() + , inset = "inset"+ _c[pane].side + , skipResizeWhileDragging = s.isResizing && !o.triggerEventsDuringLiveResize + , doFX = noAnimation !== true && o.animatePaneSizing + , oldSize, newSize + ; + // QUEUE in case another action/animation is in progress + $N.queue(function( queueNext ){ + // calculate 'current' min/max sizes + setSizeLimits(pane); // update pane-state + oldSize = s.size; + size = _parseSize(pane, size); // handle percentages & auto + size = max(size, _parseSize(pane, o.minSize)); + size = min(size, s.maxSize); + if (size < s.minSize) { // not enough room for pane! + queueNext(); // call before makePaneFit() because it needs the queue free + makePaneFit(pane, false, skipCallback); // will hide or close pane + return; + } + + // IF newSize is same as oldSize, then nothing to do - abort + if (!force && size === oldSize) + return queueNext(); + + // onresize_start callback CANNOT cancel resizing because this would break the layout! + if (!skipCallback && state.initialized && s.isVisible) + _runCallbacks("onresize_start", pane); + + // resize the pane, and make sure its visible + newSize = cssSize(pane, size); + + if (doFX && $P.is(":visible")) { // ANIMATE + var fx = $.layout.effects.size[pane] || $.layout.effects.size.all + , easing = o.fxSettings_size.easing || fx.easing + , z = options.zIndexes + , props = {}; + props[ dimName ] = newSize +'px'; + s.isMoving = true; + // overlay all elements during animation + $P.css({ zIndex: z.pane_animate }) + .show().animate( props, o.fxSpeed_size, easing, function(){ + // reset zIndex after animation + $P.css({ zIndex: (s.isSliding ? z.pane_sliding : z.pane_normal) }); + s.isMoving = false; + sizePane_2(); // continue + queueNext(); + }); + } + else { // no animation + $P.css( dimName, newSize ); // resize pane + // if pane is visible, then + if ($P.is(":visible")) + sizePane_2(); // continue + else { + // pane is NOT VISIBLE, so just update state data... + // when pane is *next opened*, it will have the new size + s.size = size; // update state.size + $.extend(s, elDims($P)); // update state dimensions + } + queueNext(); + }; + + }); + + // SUBROUTINE + function sizePane_2 () { + /* Panes are sometimes not sized precisely in some browsers!? + * This code will resize the pane up to 3 times to nudge the pane to the correct size + */ + var actual = dimName==='width' ? $P.outerWidth() : $P.outerHeight() + , tries = [{ + pane: pane + , count: 1 + , target: size + , actual: actual + , correct: (size === actual) + , attempt: size + , cssSize: newSize + }] + , lastTry = tries[0] + , msg = 'Inaccurate size after resizing the '+ pane +'-pane.' + ; + while ( !lastTry.correct ) { + thisTry = { pane: pane, count: lastTry.count+1, target: size }; + + if (lastTry.actual > size) + thisTry.attempt = max(0, lastTry.attempt - (lastTry.actual - size)); + else // lastTry.actual < size + thisTry.attempt = max(0, lastTry.attempt + (size - lastTry.actual)); + + thisTry.cssSize = cssSize(pane, thisTry.attempt); + $P.css( dimName, thisTry.cssSize ); + + thisTry.actual = dimName=='width' ? $P.outerWidth() : $P.outerHeight(); + thisTry.correct = (size === thisTry.actual); + + // if showDebugMessages, log attempts and alert the user of this *non-fatal error* + if (options.showDebugMessages) { + if ( tries.length === 1) { + _log(msg, false); + _log(lastTry, false); + } + _log(thisTry, false); + } + + // after 4 tries, is as close as its gonna get! + if (tries.length > 3) break; + + tries.push( thisTry ); + lastTry = tries[ tries.length - 1 ]; + } + // END TESTING CODE + + // update pane-state dimensions + s.size = size; + $.extend(s, elDims($P)); + + if (s.isVisible && $P.is(":visible")) { + // reposition the resizer-bar + if ($R) $R.css( side, size + sC[inset] ); + // resize the content-div + sizeContent(pane); + } + + if (!skipCallback && !skipResizeWhileDragging && state.initialized && s.isVisible) + _runCallbacks("onresize_end", pane); + + // resize all the adjacent panes, and adjust their toggler buttons + // when skipCallback passed, it means the controlling method will handle 'other panes' + if (!skipCallback) { + // also no callback if live-resize is in progress and NOT triggerEventsDuringLiveResize + if (!s.isSliding) sizeMidPanes(_c[pane].dir=="horz" ? "" : "center", skipResizeWhileDragging, force); + sizeHandles(); + } + + // if opposite-pane was autoClosed, see if it can be autoOpened now + var altPane = _c.oppositeEdge[pane]; + if (size < oldSize && state[ altPane ].noRoom) { + setSizeLimits( altPane ); + makePaneFit( altPane, false, skipCallback ); + } + + // DEBUG - ALERT user/developer so they know there was a sizing problem + if (options.showDebugMessages && tries.length > 1) + _log(msg +'\nSee the Error Console for details.', true); + } + } + + /** + * @see initPanes(), sizePane(), resizeAll(), open(), close(), hide() + * @param {string} panes The pane(s) being resized, comma-delmited string + * @param {boolean=} [skipCallback=false] Should the onresize callback be run? + * @param {boolean=} [force=false] + */ +, sizeMidPanes = function (panes, skipCallback, force) { + panes = (panes ? panes : "east,west,center").split(","); + + $.each(panes, function (i, pane) { + if (!$Ps[pane]) return; // NO PANE - skip + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , isCenter= (pane=="center") + , hasRoom = true + , CSS = {} + , newCenter = calcNewCenterPaneDims() + ; + // update pane-state dimensions + $.extend(s, elDims($P)); + + if (pane === "center") { + if (!force && s.isVisible && newCenter.width === s.outerWidth && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // set state for makePaneFit() logic + $.extend(s, cssMinDims(pane), { + maxWidth: newCenter.width + , maxHeight: newCenter.height + }); + CSS = newCenter; + // convert OUTER width/height to CSS width/height + CSS.width = cssW($P, CSS.width); + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, CSS.height); + hasRoom = CSS.width >= 0 && CSS.height >= 0; // height >= 0 = ALWAYS TRUE NOW + // during layout init, try to shrink east/west panes to make room for center + if (!state.initialized && o.minWidth > s.outerWidth) { + var + reqPx = o.minWidth - s.outerWidth + , minE = options.east.minSize || 0 + , minW = options.west.minSize || 0 + , sizeE = state.east.size + , sizeW = state.west.size + , newE = sizeE + , newW = sizeW + ; + if (reqPx > 0 && state.east.isVisible && sizeE > minE) { + newE = max( sizeE-minE, sizeE-reqPx ); + reqPx -= sizeE-newE; + } + if (reqPx > 0 && state.west.isVisible && sizeW > minW) { + newW = max( sizeW-minW, sizeW-reqPx ); + reqPx -= sizeW-newW; + } + // IF we found enough extra space, then resize the border panes as calculated + if (reqPx === 0) { + if (sizeE != minE) + sizePane('east', newE, true, force, true); // true = skipCallback/noAnimation - initPanes will handle when done + if (sizeW != minW) + sizePane('west', newW, true, force, true); + // now start over! + sizeMidPanes('center', skipCallback, force); + return; // abort this loop + } + } + } + else { // for east and west, set only the height, which is same as center height + // set state.min/maxWidth/Height for makePaneFit() logic + if (s.isVisible && !s.noVerticalRoom) + $.extend(s, elDims($P), cssMinDims(pane)) + if (!force && !s.noVerticalRoom && newCenter.height === s.outerHeight) + return true; // SKIP - pane already the correct size + // east/west have same top, bottom & height as center + CSS.top = newCenter.top; + CSS.bottom = newCenter.bottom; + // NEW - allow pane to extend 'below' visible area rather than hide it + CSS.height = cssH($P, newCenter.height); + s.maxHeight = CSS.height; + hasRoom = (s.maxHeight >= 0); // ALWAYS TRUE NOW + if (!hasRoom) s.noVerticalRoom = true; // makePaneFit() logic + } + + if (hasRoom) { + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_start", pane); + + $P.css(CSS); // apply the CSS to pane + sizeHandles(pane); // also update resizer length + if (s.noRoom && !s.isClosed && !s.isHidden) + makePaneFit(pane); // will re-open/show auto-closed/hidden pane + if (s.isVisible) { + $.extend(s, elDims($P)); // update pane dimensions + if (state.initialized) sizeContent(pane); // also resize the contents, if exists + } + } + else if (!s.noRoom && s.isVisible) // no room for pane + makePaneFit(pane); // will hide or close pane + + if (!s.isVisible) + return true; // DONE - next pane + + /* + * Extra CSS for IE6 or IE7 in Quirks-mode - add 'width' to NORTH/SOUTH panes + * Normally these panes have only 'left' & 'right' positions so pane auto-sizes + * ALSO required when pane is an IFRAME because will NOT default to 'full width' + */ + if (pane === "center") { // finished processing midPanes + var b = $.layout.browser; + var fix = b.isIE6 || (b.msie && !$.support.boxModel); + if ($Ps.north && (fix || state.north.tagName=="IFRAME")) + $Ps.north.css("width", cssW($Ps.north, sC.innerWidth)); + if ($Ps.south && (fix || state.south.tagName=="IFRAME")) + $Ps.south.css("width", cssW($Ps.south, sC.innerWidth)); + } + + // resizeAll passes skipCallback because it triggers callbacks after ALL panes are resized + if (!skipCallback && state.initialized) + _runCallbacks("onresize_end", pane); + }); + } + + + /** + * @see window.onresize(), callbacks or custom code + */ +, resizeAll = function () { + if (!state.initialized) { + _initLayoutElements(); + return; // no need to resize since we just initialized! + } + var oldW = sC.innerWidth + , oldH = sC.innerHeight + ; + // cannot size layout when 'container' is hidden or collapsed + if (!$N.is(":visible:") ) return; + $.extend( state.container, elDims( $N ) ); // UPDATE container dimensions + if (!sC.outerHeight) return; + + // onresizeall_start will CANCEL resizing if returns false + // state.container has already been set, so user can access this info for calcuations + if (false === _runCallbacks("onresizeall_start")) return false; + + var // see if container is now 'smaller' than before + shrunkH = (sC.innerHeight < oldH) + , shrunkW = (sC.innerWidth < oldW) + , $P, o, s, dir + ; + // NOTE special order for sizing: S-N-E-W + $.each(["south","north","east","west"], function (i, pane) { + if (!$Ps[pane]) return; // no pane - SKIP + s = state[pane]; + o = options[pane]; + dir = _c[pane].dir; + + if (o.autoResize && s.size != o.size) // resize pane to original size set in options + sizePane(pane, o.size, true, true, true); // true=skipCallback/forceResize/noAnimation + else { + setSizeLimits(pane); + makePaneFit(pane, false, true, true); // true=skipCallback/forceResize + } + }); + + sizeMidPanes("", true, true); // true=skipCallback, true=forceResize + sizeHandles(); // reposition the toggler elements + + // trigger all individual pane callbacks AFTER layout has finished resizing + o = options; // reuse alias + $.each(_c.allPanes, function (i, pane) { + $P = $Ps[pane]; + if (!$P) return; // SKIP + if (state[pane].isVisible) // undefined for non-existent panes + _runCallbacks("onresize_end", pane); // callback - if exists + }); + + _runCallbacks("onresizeall_end"); + //_triggerLayoutEvent(pane, 'resizeall'); + } + + /** + * Whenever a pane resizes or opens that has a nested layout, trigger resizeAll + * + * @param {string} pane The pane just resized or opened + */ +, resizeChildLayout = function (evt_or_pane) { + var pane = evtPane.call(this, evt_or_pane); + if (!options[pane].resizeChildLayout) return; + var $P = $Ps[pane] + , $C = $Cs[pane] + , d = "layout" + , P = Instance[pane] + , L = children[pane] + ; + // user may have manually set EITHER instance pointer, so handle that + if (P.child && !L) { + // have to reverse the pointers! + var el = P.child.container; + L = children[pane] = (el ? el.data(d) : 0) || null; // set pointer _directly_ to layout instance + } + + // if a layout-pointer exists, see if child has been destroyed + if (L && L.destroyed) + L = children[pane] = null; // clear child pointers + // no child layout pointer is set - see if there is a child layout NOW + if (!L) L = children[pane] = $P.data(d) || ($C ? $C.data(d) : 0) || null; // set/update child pointers + + // ALWAYS refresh the pane.child alias + P.child = children[pane]; + + if (L) L.resizeAll(); + } + + + /** + * IF pane has a content-div, then resize all elements inside pane to fit pane-height + * + * @param {string=} [panes=""] The pane(s) being resized + * @param {boolean=} [remeasure=false] Should the content (header/footer) be remeasured? + */ +, sizeContent = function (evt_or_panes, remeasure) { + if (!isInitialized()) return; + + var panes = evtPane.call(this, evt_or_panes); + panes = panes ? panes.split(",") : _c.allPanes; + + $.each(panes, function (idx, pane) { + var + $P = $Ps[pane] + , $C = $Cs[pane] + , o = options[pane] + , s = state[pane] + , m = s.content // m = measurements + ; + if (!$P || !$C || !$P.is(":visible")) return true; // NOT VISIBLE - skip + + // if content-element was REMOVED, update OR remove the pointer + if (!$C.length) { + initContent(pane, false); // false = do NOT sizeContent() - already there! + if (!$C) return; // no replacement element found - pointer have been removed + } + + // onsizecontent_start will CANCEL resizing if returns false + if (false === _runCallbacks("onsizecontent_start", pane)) return; + + // skip re-measuring offsets if live-resizing + if ((!s.isMoving && !s.isResizing) || o.liveContentResizing || remeasure || m.top == undefined) { + _measure(); + // if any footers are below pane-bottom, they may not measure correctly, + // so allow pane overflow and re-measure + if (m.hiddenFooters > 0 && $P.css("overflow") === "hidden") { + $P.css("overflow", "visible"); + _measure(); // remeasure while overflowing + $P.css("overflow", "hidden"); + } + } + // NOTE: spaceAbove/Below *includes* the pane paddingTop/Bottom, but not pane.borders + var newH = s.innerHeight - (m.spaceAbove - s.css.paddingTop) - (m.spaceBelow - s.css.paddingBottom); + + if (!$C.is(":visible") || m.height != newH) { + // size the Content element to fit new pane-size - will autoHide if not enough room + setOuterHeight($C, newH, true); // true=autoHide + m.height = newH; // save new height + }; + + if (state.initialized) + _runCallbacks("onsizecontent_end", pane); + + function _below ($E) { + return max(s.css.paddingBottom, (parseInt($E.css("marginBottom"), 10) || 0)); + }; + + function _measure () { + var + ignore = options[pane].contentIgnoreSelector + , $Fs = $C.nextAll().not(ignore || ':lt(0)') // not :lt(0) = ALL + , $Fs_vis = $Fs.filter(':visible') + , $F = $Fs_vis.filter(':last') + ; + m = { + top: $C[0].offsetTop + , height: $C.outerHeight() + , numFooters: $Fs.length + , hiddenFooters: $Fs.length - $Fs_vis.length + , spaceBelow: 0 // correct if no content footer ($E) + } + m.spaceAbove = m.top; // just for state - not used in calc + m.bottom = m.top + m.height; + if ($F.length) + //spaceBelow = (LastFooter.top + LastFooter.height) [footerBottom] - Content.bottom + max(LastFooter.marginBottom, pane.paddingBotom) + m.spaceBelow = ($F[0].offsetTop + $F.outerHeight()) - m.bottom + _below($F); + else // no footer - check marginBottom on Content element itself + m.spaceBelow = _below($C); + }; + }); + } + + + /** + * Called every time a pane is opened, closed, or resized to slide the togglers to 'center' and adjust their length if necessary + * + * @see initHandles(), open(), close(), resizeAll() + * @param {string=} [panes=""] The pane(s) being resized + */ +, sizeHandles = function (evt_or_panes) { + var panes = evtPane.call(this, evt_or_panes) + panes = panes ? panes.split(",") : _c.borderPanes; + + $.each(panes, function (i, pane) { + var + o = options[pane] + , s = state[pane] + , $P = $Ps[pane] + , $R = $Rs[pane] + , $T = $Ts[pane] + , $TC + ; + if (!$P || !$R) return; + + var + dir = _c[pane].dir + , _state = (s.isClosed ? "_closed" : "_open") + , spacing = o["spacing"+ _state] + , togAlign = o["togglerAlign"+ _state] + , togLen = o["togglerLength"+ _state] + , paneLen + , left + , offset + , CSS = {} + ; + + if (spacing === 0) { + $R.hide(); + return; + } + else if (!s.noRoom && !s.isHidden) // skip if resizer was hidden for any reason + $R.show(); // in case was previously hidden + + // Resizer Bar is ALWAYS same width/height of pane it is attached to + if (dir === "horz") { // north/south + //paneLen = $P.outerWidth(); // s.outerWidth || + paneLen = sC.innerWidth; // handle offscreen-panes + s.resizerLength = paneLen; + left = $.layout.cssNum($P, "left") + $R.css({ + width: cssW($R, paneLen) // account for borders & padding + , height: cssH($R, spacing) // ditto + , left: left > -9999 ? left : sC.insetLeft // handle offscreen-panes + }); + } + else { // east/west + paneLen = $P.outerHeight(); // s.outerHeight || + s.resizerLength = paneLen; + $R.css({ + height: cssH($R, paneLen) // account for borders & padding + , width: cssW($R, spacing) // ditto + , top: sC.insetTop + getPaneSize("north", true) // TODO: what if no North pane? + //, top: $.layout.cssNum($Ps["center"], "top") + }); + } + + // remove hover classes + removeHover( o, $R ); + + if ($T) { + if (togLen === 0 || (s.isSliding && o.hideTogglerOnSlide)) { + $T.hide(); // always HIDE the toggler when 'sliding' + return; + } + else + $T.show(); // in case was previously hidden + + if (!(togLen > 0) || togLen === "100%" || togLen > paneLen) { + togLen = paneLen; + offset = 0; + } + else { // calculate 'offset' based on options.PANE.togglerAlign_open/closed + if (isStr(togAlign)) { + switch (togAlign) { + case "top": + case "left": offset = 0; + break; + case "bottom": + case "right": offset = paneLen - togLen; + break; + case "middle": + case "center": + default: offset = round((paneLen - togLen) / 2); // 'default' catches typos + } + } + else { // togAlign = number + var x = parseInt(togAlign, 10); // + if (togAlign >= 0) offset = x; + else offset = paneLen - togLen + x; // NOTE: x is negative! + } + } + + if (dir === "horz") { // north/south + var width = cssW($T, togLen); + $T.css({ + width: width // account for borders & padding + , height: cssH($T, spacing) // ditto + , left: offset // TODO: VERIFY that toggler positions correctly for ALL values + , top: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginLeft", round((width-$TC.outerWidth())/2)); // could be negative + }); + } + else { // east/west + var height = cssH($T, togLen); + $T.css({ + height: height // account for borders & padding + , width: cssW($T, spacing) // ditto + , top: offset // POSITION the toggler + , left: 0 + }); + // CENTER the toggler content SPAN + $T.children(".content").each(function(){ + $TC = $(this); + $TC.css("marginTop", round((height-$TC.outerHeight())/2)); // could be negative + }); + } + + // remove ALL hover classes + removeHover( 0, $T ); + } + + // DONE measuring and sizing this resizer/toggler, so can be 'hidden' now + if (!state.initialized && (o.initHidden || s.noRoom)) { + $R.hide(); + if ($T) $T.hide(); + } + }); + } + + + /** + * @param {string} pane + */ +, enableClosable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + , o = options[pane] + ; + if (!$T) return; + o.closable = true; + $T .bind("click."+ sID, function(evt){ evt.stopPropagation(); toggle(pane); }) + .css("visibility", "visible") + .css("cursor", "pointer") + .attr("title", state[pane].isClosed ? o.togglerTip_closed : o.togglerTip_open) // may be blank + .show(); + } + /** + * @param {string} pane + * @param {boolean=} [hide=false] + */ +, disableClosable = function (evt_or_pane, hide) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $T = $Ts[pane] + ; + if (!$T) return; + options[pane].closable = false; + // is closable is disable, then pane MUST be open! + if (state[pane].isClosed) open(pane, false, true); + $T .unbind("."+ sID) + .css("visibility", hide ? "hidden" : "visible") // instead of hide(), which creates logic issues + .css("cursor", "default") + .attr("title", ""); + } + + + /** + * @param {string} pane + */ +, enableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].slidable = true; + if (s.isClosed) + bindStartSlidingEvent(pane, true); + } + /** + * @param {string} pane + */ +, disableSlidable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R) return; + options[pane].slidable = false; + if (state[pane].isSliding) + close(pane, false, true); + else { + bindStartSlidingEvent(pane, false); + $R .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + } + + + /** + * @param {string} pane + */ +, enableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + , o = options[pane] + ; + if (!$R || !$R.data('draggable')) return; + o.resizable = true; + $R.draggable("enable"); + if (!state[pane].isClosed) + $R .css("cursor", o.resizerCursor) + .attr("title", o.resizerTip); + } + /** + * @param {string} pane + */ +, disableResizable = function (evt_or_pane) { + if (!isInitialized()) return; + var pane = evtPane.call(this, evt_or_pane) + , $R = $Rs[pane] + ; + if (!$R || !$R.data('draggable')) return; + options[pane].resizable = false; + $R .draggable("disable") + .css("cursor", "default") + .attr("title", ""); + removeHover(null, $R[0]); // in case currently hovered + } + + + /** + * Move a pane from source-side (eg, west) to target-side (eg, east) + * If pane exists on target-side, move that to source-side, ie, 'swap' the panes + * + * @param {string} pane1 The pane/edge being swapped + * @param {string} pane2 ditto + */ +, swapPanes = function (evt_or_pane1, pane2) { + if (!isInitialized()) return; + var pane1 = evtPane.call(this, evt_or_pane1); + // change state.edge NOW so callbacks can know where pane is headed... + state[pane1].edge = pane2; + state[pane2].edge = pane1; + // run these even if NOT state.initialized + if (false === _runCallbacks("onswap_start", pane1) + || false === _runCallbacks("onswap_start", pane2) + ) { + state[pane1].edge = pane1; // reset + state[pane2].edge = pane2; + return; + } + + var + oPane1 = copy( pane1 ) + , oPane2 = copy( pane2 ) + , sizes = {} + ; + sizes[pane1] = oPane1 ? oPane1.state.size : 0; + sizes[pane2] = oPane2 ? oPane2.state.size : 0; + + // clear pointers & state + $Ps[pane1] = false; + $Ps[pane2] = false; + state[pane1] = {}; + state[pane2] = {}; + + // ALWAYS remove the resizer & toggler elements + if ($Ts[pane1]) $Ts[pane1].remove(); + if ($Ts[pane2]) $Ts[pane2].remove(); + if ($Rs[pane1]) $Rs[pane1].remove(); + if ($Rs[pane2]) $Rs[pane2].remove(); + $Rs[pane1] = $Rs[pane2] = $Ts[pane1] = $Ts[pane2] = false; + + // transfer element pointers and data to NEW Layout keys + move( oPane1, pane2 ); + move( oPane2, pane1 ); + + // cleanup objects + oPane1 = oPane2 = sizes = null; + + // make panes 'visible' again + if ($Ps[pane1]) $Ps[pane1].css(_c.visible); + if ($Ps[pane2]) $Ps[pane2].css(_c.visible); + + // fix any size discrepancies caused by swap + resizeAll(); + + // run these even if NOT state.initialized + _runCallbacks("onswap_end", pane1); + _runCallbacks("onswap_end", pane2); + + return; + + function copy (n) { // n = pane + var + $P = $Ps[n] + , $C = $Cs[n] + ; + return !$P ? false : { + pane: n + , P: $P ? $P[0] : false + , C: $C ? $C[0] : false + , state: $.extend(true, {}, state[n]) + , options: $.extend(true, {}, options[n]) + } + }; + + function move (oPane, pane) { + if (!oPane) return; + var + P = oPane.P + , C = oPane.C + , oldPane = oPane.pane + , c = _c[pane] + , side = c.side.toLowerCase() + , inset = "inset"+ c.side + // save pane-options that should be retained + , s = $.extend({}, state[pane]) + , o = options[pane] + // RETAIN side-specific FX Settings - more below + , fx = { resizerCursor: o.resizerCursor } + , re, size, pos + ; + $.each("fxName,fxSpeed,fxSettings".split(","), function (i, k) { + fx[k +"_open"] = o[k +"_open"]; + fx[k +"_close"] = o[k +"_close"]; + fx[k +"_size"] = o[k +"_size"]; + }); + + // update object pointers and attributes + $Ps[pane] = $(P) + .data({ + layoutPane: Instance[pane] // NEW pointer to pane-alias-object + , layoutEdge: pane + }) + .css(_c.hidden) + .css(c.cssReq) + ; + $Cs[pane] = C ? $(C) : false; + + // set options and state + options[pane] = $.extend({}, oPane.options, fx); + state[pane] = $.extend({}, oPane.state); + + // change classNames on the pane, eg: ui-layout-pane-east ==> ui-layout-pane-west + re = new RegExp(o.paneClass +"-"+ oldPane, "g"); + P.className = P.className.replace(re, o.paneClass +"-"+ pane); + + // ALWAYS regenerate the resizer & toggler elements + initHandles(pane); // create the required resizer & toggler + + // if moving to different orientation, then keep 'target' pane size + if (c.dir != _c[oldPane].dir) { + size = sizes[pane] || 0; + setSizeLimits(pane); // update pane-state + size = max(size, state[pane].minSize); + // use manualSizePane to disable autoResize - not useful after panes are swapped + manualSizePane(pane, size, true, true); // true/true = skipCallback/noAnimation + } + else // move the resizer here + $Rs[pane].css(side, sC[inset] + (state[pane].isVisible ? getPaneSize(pane) : 0)); + + + // ADD CLASSNAMES & SLIDE-BINDINGS + if (oPane.state.isVisible && !s.isVisible) + setAsOpen(pane, true); // true = skipCallback + else { + setAsClosed(pane); + bindStartSlidingEvent(pane, true); // will enable events IF option is set + } + + // DESTROY the object + oPane = null; + }; + } + + + /** + * INTERNAL method to sync pin-buttons when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), setAsOpen(), setAsClosed() + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns = function (pane, doPin) { + if ($.layout.plugins.buttons) + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(Instance, $(selector), pane, doPin); + }); + } + +; // END var DECLARATIONS + + /** + * Capture keys when enableCursorHotkey - toggle pane if hotkey pressed + * + * @see document.keydown() + */ + function keyDown (evt) { + if (!evt) return true; + var code = evt.keyCode; + if (code < 33) return true; // ignore special keys: ENTER, TAB, etc + + var + PANE = { + 38: "north" // Up Cursor - $.ui.keyCode.UP + , 40: "south" // Down Cursor - $.ui.keyCode.DOWN + , 37: "west" // Left Cursor - $.ui.keyCode.LEFT + , 39: "east" // Right Cursor - $.ui.keyCode.RIGHT + } + , ALT = evt.altKey // no worky! + , SHIFT = evt.shiftKey + , CTRL = evt.ctrlKey + , CURSOR = (CTRL && code >= 37 && code <= 40) + , o, k, m, pane + ; + + if (CURSOR && options[PANE[code]].enableCursorHotkey) // valid cursor-hotkey + pane = PANE[code]; + else if (CTRL || SHIFT) // check to see if this matches a custom-hotkey + $.each(_c.borderPanes, function (i, p) { // loop each pane to check its hotkey + o = options[p]; + k = o.customHotkey; + m = o.customHotkeyModifier; // if missing or invalid, treated as "CTRL+SHIFT" + if ((SHIFT && m=="SHIFT") || (CTRL && m=="CTRL") || (CTRL && SHIFT)) { // Modifier matches + if (k && code === (isNaN(k) || k <= 9 ? k.toUpperCase().charCodeAt(0) : k)) { // Key matches + pane = p; + return false; // BREAK + } + } + }); + + // validate pane + if (!pane || !$Ps[pane] || !options[pane].closable || state[pane].isHidden) + return true; + + toggle(pane); + + evt.stopPropagation(); + evt.returnValue = false; // CANCEL key + return false; + }; + + +/* + * ###################################### + * UTILITY METHODS + * called externally or by initButtons + * ###################################### + */ + + /** + * Change/reset a pane overflow setting & zIndex to allow popups/drop-downs to work + * + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function allowOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + ; + + // if pane is already raised, then reset it before doing it again! + // this would happen if allowOverflow is attached to BOTH the pane and an element + if (s.cssSaved) + resetOverflow(pane); // reset previous CSS before continuing + + // if pane is raised by sliding or resizing, or its closed, then abort + if (s.isSliding || s.isResizing || s.isClosed) { + s.cssSaved = false; + return; + } + + var + newCSS = { zIndex: (options.zIndexes.resizer_normal + 1) } + , curCSS = {} + , of = $P.css("overflow") + , ofX = $P.css("overflowX") + , ofY = $P.css("overflowY") + ; + // determine which, if any, overflow settings need to be changed + if (of != "visible") { + curCSS.overflow = of; + newCSS.overflow = "visible"; + } + if (ofX && !ofX.match(/visible|auto/)) { + curCSS.overflowX = ofX; + newCSS.overflowX = "visible"; + } + if (ofY && !ofY.match(/visible|auto/)) { + curCSS.overflowY = ofX; + newCSS.overflowY = "visible"; + } + + // save the current overflow settings - even if blank! + s.cssSaved = curCSS; + + // apply new CSS to raise zIndex and, if necessary, make overflow 'visible' + $P.css( newCSS ); + + // make sure the zIndex of all other panes is normal + $.each(_c.allPanes, function(i, p) { + if (p != pane) resetOverflow(p); + }); + + }; + /** + * @param {Object=} [el] (optional) Can also be 'bound' to a click, mouseOver, or other event + */ + function resetOverflow (el) { + if (!isInitialized()) return; + if (this && this.tagName) el = this; // BOUND to element + var $P; + if (isStr(el)) + $P = $Ps[el]; + else if ($(el).data("layoutRole")) + $P = $(el); + else + $(el).parents().each(function(){ + if ($(this).data("layoutRole")) { + $P = $(this); + return false; // BREAK + } + }); + if (!$P || !$P.length) return; // INVALID + + var + pane = $P.data("layoutEdge") + , s = state[pane] + , CSS = s.cssSaved || {} + ; + // reset the zIndex + if (!s.isSliding && !s.isResizing) + $P.css("zIndex", options.zIndexes.pane_normal); + + // reset Overflow - if necessary + $P.css( CSS ); + + // clear var + s.cssSaved = false; + }; + +/* + * ##################### + * CREATE/RETURN LAYOUT + * ##################### + */ + + // validate that container exists + var $N = $(this).eq(0); // FIRST matching Container element + if (!$N.length) { + if (options.showErrorMessages) + _log( lang.errContainerMissing, true ); + return null; + }; + + // Users retrieve Instance of a layout with: $N.layout() OR $N.data("layout") + // return the Instance-pointer if layout has already been initialized + if ($N.data("layoutContainer") && $N.data("layout")) + return $N.data("layout"); // cached pointer + + // init global vars + var + $Ps = {} // Panes x5 - set in initPanes() + , $Cs = {} // Content x5 - set in initPanes() + , $Rs = {} // Resizers x4 - set in initHandles() + , $Ts = {} // Togglers x4 - set in initHandles() + , $Ms = $([]) // Masks - up to 2 masks per pane (IFRAME + DIV) + // aliases for code brevity + , sC = state.container // alias for easy access to 'container dimensions' + , sID = state.id // alias for unique layout ID/namespace - eg: "layout435" + ; + + // create Instance object to expose data & option Properties, and primary action Methods + var Instance = { + // layout data + options: options // property - options hash + , state: state // property - dimensions hash + // object pointers + , container: $N // property - object pointers for layout container + , panes: $Ps // property - object pointers for ALL Panes: panes.north, panes.center + , contents: $Cs // property - object pointers for ALL Content: contents.north, contents.center + , resizers: $Rs // property - object pointers for ALL Resizers, eg: resizers.north + , togglers: $Ts // property - object pointers for ALL Togglers, eg: togglers.north + // border-pane open/close + , hide: hide // method - ditto + , show: show // method - ditto + , toggle: toggle // method - pass a 'pane' ("north", "west", etc) + , open: open // method - ditto + , close: close // method - ditto + , slideOpen: slideOpen // method - ditto + , slideClose: slideClose // method - ditto + , slideToggle: slideToggle // method - ditto + // pane actions + , setSizeLimits: setSizeLimits // method - pass a 'pane' - update state min/max data + , _sizePane: sizePane // method -intended for user by plugins only! + , sizePane: manualSizePane // method - pass a 'pane' AND an 'outer-size' in pixels or percent, or 'auto' + , sizeContent: sizeContent // method - pass a 'pane' + , swapPanes: swapPanes // method - pass TWO 'panes' - will swap them + // pane element methods + , initContent: initContent // method - ditto + , addPane: addPane // method - pass a 'pane' + , removePane: removePane // method - pass a 'pane' to remove from layout, add 'true' to delete the pane-elem + , createChildLayout: createChildLayout// method - pass a 'pane' and (optional) layout-options (OVERRIDES options[pane].childOptions + // special pane option setting + , enableClosable: enableClosable // method - pass a 'pane' + , disableClosable: disableClosable // method - ditto + , enableSlidable: enableSlidable // method - ditto + , disableSlidable: disableSlidable // method - ditto + , enableResizable: enableResizable // method - ditto + , disableResizable: disableResizable// method - ditto + // utility methods for panes + , allowOverflow: allowOverflow // utility - pass calling element (this) + , resetOverflow: resetOverflow // utility - ditto + // layout control + , destroy: destroy // method - no parameters + , initPanes: isInitialized // method - no parameters + , resizeAll: resizeAll // method - no parameters + // callback triggering + , runCallbacks: _runCallbacks // method - pass evtName & pane (if a pane-event), eg: trigger("onopen", "west") + // alias collections of options, state and children - created in addPane and extended elsewhere + , hasParentLayout: false // set by initContainer() + , children: children // pointers to child-layouts, eg: Instance.children["west"] + , north: false // alias group: { name: pane, pane: $Ps[pane], options: options[pane], state: state[pane], child: children[pane] } + , south: false // ditto + , west: false // ditto + , east: false // ditto + , center: false // ditto + }; + + // create the border layout NOW + if (_create() === 'cancel') // onload_start callback returned false to CANCEL layout creation + return null; + else // true OR false -- if layout-elements did NOT init (hidden or do not exist), can auto-init later + return Instance; // return the Instance object + +} + + + + +/** + * jquery.layout.state 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * @dependancies: $.ui.cookie (above) + * + * @support: http://groups.google.com/group/jquery-ui-layout + */ +/* + * State-management options stored in options.stateManagement, which includes a .cookie hash + * Default options saves ALL KEYS for ALL PANES, ie: pane.size, pane.isClosed, pane.isHidden + * + * // STATE/COOKIE OPTIONS + * @example $(el).layout({ + stateManagement: { + enabled: true + , stateKeys: "east.size,west.size,east.isClosed,west.isClosed" + , cookie: { name: "appLayout", path: "/" } + } + }) + * @example $(el).layout({ stateManagement__enabled: true }) // enable auto-state-management using cookies + * @example $(el).layout({ stateManagement__cookie: { name: "appLayout", path: "/" } }) + * @example $(el).layout({ stateManagement__cookie__name: "appLayout", stateManagement__cookie__path: "/" }) + * + * // STATE/COOKIE METHODS + * @example myLayout.saveCookie( "west.isClosed,north.size,south.isHidden", {expires: 7} ); + * @example myLayout.loadCookie(); + * @example myLayout.deleteCookie(); + * @example var JSON = myLayout.readState(); // CURRENT Layout State + * @example var JSON = myLayout.readCookie(); // SAVED Layout State (from cookie) + * @example var JSON = myLayout.state.stateData; // LAST LOADED Layout State (cookie saved in layout.state hash) + * + * CUSTOM STATE-MANAGEMENT (eg, saved in a database) + * @example var JSON = myLayout.readState( "west.isClosed,north.size,south.isHidden" ); + * @example myLayout.loadState( JSON ); + */ + +/** + * UI COOKIE UTILITY + * + * A $.cookie OR $.ui.cookie namespace *should be standard*, but until then... + * This creates $.ui.cookie so Layout does not need the cookie.jquery.js plugin + * NOTE: This utility is REQUIRED by the layout.state plugin + * + * Cookie methods in Layout are created as part of State Management + */ +if (!$.ui) $.ui = {}; +$.ui.cookie = { + + // cookieEnabled is not in DOM specs, but DOES works in all browsers,including IE6 + acceptsCookies: !!navigator.cookieEnabled + +, read: function (name) { + var + c = document.cookie + , cs = c ? c.split(';') : [] + , pair // loop var + ; + for (var i=0, n=cs.length; i < n; i++) { + pair = $.trim(cs[i]).split('='); // name=value pair + if (pair[0] == name) // found the layout cookie + return decodeURIComponent(pair[1]); + + } + return null; + } + +, write: function (name, val, cookieOpts) { + var + params = '' + , date = '' + , clear = false + , o = cookieOpts || {} + , x = o.expires + ; + if (x && x.toUTCString) + date = x; + else if (x === null || typeof x === 'number') { + date = new Date(); + if (x > 0) + date.setDate(date.getDate() + x); + else { + date.setFullYear(1970); + clear = true; + } + } + if (date) params += ';expires='+ date.toUTCString(); + if (o.path) params += ';path='+ o.path; + if (o.domain) params += ';domain='+ o.domain; + if (o.secure) params += ';secure'; + document.cookie = name +'='+ (clear ? "" : encodeURIComponent( val )) + params; // write or clear cookie + } + +, clear: function (name) { + $.ui.cookie.write(name, '', {expires: -1}); + } + +}; +// if cookie.jquery.js is not loaded, create an alias to replicate it +// this may be useful to other plugins or code dependent on that plugin +if (!$.cookie) $.cookie = function (k, v, o) { + var C = $.ui.cookie; + if (v === null) + C.clear(k); + else if (v === undefined) + return C.read(k); + else + C.write(k, v, o); +}; + + +// tell Layout that the state plugin is available +$.layout.plugins.stateManagement = true; + +// Add State-Management options to layout.defaults +$.layout.config.optionRootKeys.push("stateManagement"); +$.layout.defaults.stateManagement = { + enabled: false // true = enable state-management, even if not using cookies +, autoSave: true // Save a state-cookie when page exits? +, autoLoad: true // Load the state-cookie when Layout inits? + // List state-data to save - must be pane-specific +, stateKeys: "north.size,south.size,east.size,west.size,"+ + "north.isClosed,south.isClosed,east.isClosed,west.isClosed,"+ + "north.isHidden,south.isHidden,east.isHidden,west.isHidden" +, cookie: { + name: "" // If not specified, will use Layout.name, else just "Layout" + , domain: "" // blank = current domain + , path: "" // blank = current page, '/' = entire website + , expires: "" // 'days' to keep cookie - leave blank for 'session cookie' + , secure: false + } +}; +// Set stateManagement as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("stateManagement"); + +/* + * State Management methods + */ +$.layout.state = { + + /** + * Get the current layout state and save it to a cookie + * + * myLayout.saveCookie( keys, cookieOpts ) + * + * @param {Object} inst + * @param {(string|Array)=} keys + * @param {Object=} opts + */ + saveCookie: function (inst, keys, cookieOpts) { + var o = inst.options + , oS = o.stateManagement + , oC = $.extend(true, {}, oS.cookie, cookieOpts || null) + , data = inst.state.stateData = inst.readState( keys || oS.stateKeys ) // read current panes-state + ; + $.ui.cookie.write( oC.name || o.name || "Layout", $.layout.state.encodeJSON(data), oC ); + return $.extend(true, {}, data); // return COPY of state.stateData data + } + + /** + * Remove the state cookie + * + * @param {Object} inst + */ +, deleteCookie: function (inst) { + var o = inst.options; + $.ui.cookie.clear( o.stateManagement.cookie.name || o.name || "Layout" ); + } + + /** + * Read & return data from the cookie - as JSON + * + * @param {Object} inst + */ +, readCookie: function (inst) { + var o = inst.options; + var c = $.ui.cookie.read( o.stateManagement.cookie.name || o.name || "Layout" ); + // convert cookie string back to a hash and return it + return c ? $.layout.state.decodeJSON(c) : {}; + } + + /** + * Get data from the cookie and USE IT to loadState + * + * @param {Object} inst + */ +, loadCookie: function (inst) { + var c = $.layout.state.readCookie(inst); // READ the cookie + if (c) { + inst.state.stateData = $.extend(true, {}, c); // SET state.stateData + inst.loadState(c); // LOAD the retrieved state + } + return c; + } + + /** + * Update layout options from the cookie, if one exists + * + * @param {Object} inst + * @param {Object=} stateData + * @param {boolean=} animate + */ +, loadState: function (inst, stateData, animate) { + stateData = $.layout.transformData( stateData ); // panes = default subkey + if ($.isEmptyObject( stateData )) return; + $.extend(true, inst.options, stateData); // update layout options + // if layout has already been initialized, then UPDATE layout state + if (inst.state.initialized) { + var pane, vis, o, s, h, c + , noAnimate = (animate===false) + ; + $.each($.layout.config.borderPanes, function (idx, pane) { + state = inst.state[pane]; + o = stateData[ pane ]; + if (typeof o != 'object') return; // no key, continue + s = o.size; + c = o.initClosed; + h = o.initHidden; + vis = state.isVisible; + // resize BEFORE opening + if (!vis) + inst.sizePane(pane, s, false, false); + if (h === true) inst.hide(pane, noAnimate); + else if (c === false) inst.open (pane, false, noAnimate); + else if (c === true) inst.close(pane, false, noAnimate); + else if (h === false) inst.show (pane, false, noAnimate); + // resize AFTER any other actions + if (vis) + inst.sizePane(pane, s, false, noAnimate); // animate resize if option passed + }); + }; + } + + /** + * Get the *current layout state* and return it as a hash + * + * @param {Object=} inst + * @param {(string|Array)=} keys + */ +, readState: function (inst, keys) { + var + data = {} + , alt = { isClosed: 'initClosed', isHidden: 'initHidden' } + , state = inst.state + , panes = $.layout.config.allPanes + , pair, pane, key, val + ; + if (!keys) keys = inst.options.stateManagement.stateKeys; // if called by user + if ($.isArray(keys)) keys = keys.join(","); + // convert keys to an array and change delimiters from '__' to '.' + keys = keys.replace(/__/g, ".").split(','); + // loop keys and create a data hash + for (var i=0, n=keys.length; i < n; i++) { + pair = keys[i].split("."); + pane = pair[0]; + key = pair[1]; + if ($.inArray(pane, panes) < 0) continue; // bad pane! + val = state[ pane ][ key ]; + if (val == undefined) continue; + if (key=="isClosed" && state[pane]["isSliding"]) + val = true; // if sliding, then *really* isClosed + ( data[pane] || (data[pane]={}) )[ alt[key] ? alt[key] : key ] = val; + } + return data; + } + + /** + * Stringify a JSON hash so can save in a cookie or db-field + */ +, encodeJSON: function (JSON) { + return parse(JSON); + function parse (h) { + var D=[], i=0, k, v, t; // k = key, v = value + for (k in h) { + v = h[k]; + t = typeof v; + if (t == 'string') // STRING - add quotes + v = '"'+ v +'"'; + else if (t == 'object') // SUB-KEY - recurse into it + v = parse(v); + D[i++] = '"'+ k +'":'+ v; + } + return '{'+ D.join(',') +'}'; + }; + } + + /** + * Convert stringified JSON back to a hash object + * @see $.parseJSON(), adding in jQuery 1.4.1 + */ +, decodeJSON: function (str) { + try { return $.parseJSON ? $.parseJSON(str) : window["eval"]("("+ str +")") || {}; } + catch (e) { return {}; } + } + + +, _create: function (inst) { + var _ = $.layout.state; + // ADD State-Management plugin methods to inst + $.extend( inst, { + // readCookie - update options from cookie - returns hash of cookie data + readCookie: function () { return _.readCookie(inst); } + // deleteCookie + , deleteCookie: function () { _.deleteCookie(inst); } + // saveCookie - optionally pass keys-list and cookie-options (hash) + , saveCookie: function (keys, cookieOpts) { return _.saveCookie(inst, keys, cookieOpts); } + // loadCookie - readCookie and use to loadState() - returns hash of cookie data + , loadCookie: function () { return _.loadCookie(inst); } + // loadState - pass a hash of state to use to update options + , loadState: function (stateData, animate) { _.loadState(inst, stateData, animate); } + // readState - returns hash of current layout-state + , readState: function (keys) { return _.readState(inst, keys); } + // add JSON utility methods too... + , encodeJSON: _.encodeJSON + , decodeJSON: _.decodeJSON + }); + + // init state.stateData key, even if plugin is initially disabled + inst.state.stateData = {}; + + // read and load cookie-data per options + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoLoad) // update the options from the cookie + inst.loadCookie(); + else // don't modify options - just store cookie data in state.stateData + inst.state.stateData = inst.readCookie(); + } + } + +, _unload: function (inst) { + var oS = inst.options.stateManagement; + if (oS.enabled) { + if (oS.autoSave) // save a state-cookie automatically + inst.saveCookie(); + else // don't save a cookie, but do store state-data in state.stateData key + inst.state.stateData = inst.readState(); + } + } + +}; + +// add state initialization method to Layout's onCreate array of functions +$.layout.onCreate.push( $.layout.state._create ); +$.layout.onUnload.push( $.layout.state._unload ); + + + + +/** + * jquery.layout.buttons 1.0 + * $Date: 2011-07-16 08:00:00 (Sat, 16 July 2011) $ + * + * Copyright (c) 2010 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * Docs: [ to come ] + * Tips: [ to come ] + */ + +// tell Layout that the state plugin is available +$.layout.plugins.buttons = true; + +// Add buttons options to layout.defaults +$.layout.defaults.autoBindCustomButtons = false; +// Specify autoBindCustomButtons as a layout-option, NOT a pane-option +$.layout.optionsMap.layout.push("autoBindCustomButtons"); + +var lang = $.layout.language; + +/* + * Button methods + */ +$.layout.buttons = { + + /** + * Searches for .ui-layout-button-xxx elements and auto-binds them as layout-buttons + * + * @see _create() + * + * @param {Object} inst Layout Instance object + */ + init: function (inst) { + var pre = "ui-layout-button-" + , layout = inst.options.name || "" + , name; + $.each("toggle,open,close,pin,toggle-slide,open-slide".split(","), function (i, action) { + $.each($.layout.config.borderPanes, function (ii, pane) { + $("."+pre+action+"-"+pane).each(function(){ + // if button was previously 'bound', data.layoutName was set, but is blank if layout has no 'name' + name = $(this).data("layoutName") || $(this).attr("layoutName"); + if (name == undefined || name === layout) + inst.bindButton(this, action, pane); + }); + }); + }); + } + + /** + * Helper function to validate params received by addButton utilities + * + * Two classes are added to the element, based on the buttonClass... + * The type of button is appended to create the 2nd className: + * - ui-layout-button-pin // action btnClass + * - ui-layout-button-pin-west // action btnClass + pane + * - ui-layout-button-toggle + * - ui-layout-button-open + * - ui-layout-button-close + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * + * @return {Array.} If both params valid, the element matching 'selector' in a jQuery wrapper - otherwise returns null + */ +, get: function (inst, selector, pane, action) { + var $E = $(selector) + , o = inst.options + , err = o.showErrorMessages + ; + if (!$E.length) { // element not found + if (err) $.layout.msg(lang.errButton + lang.selector +": "+ selector, true); + } + else if ($.inArray(pane, $.layout.config.borderPanes) < 0) { // invalid 'pane' sepecified + if (err) $.layout.msg(lang.errButton + lang.pane +": "+ pane, true); + $E = $(""); // NO BUTTON + } + else { // VALID + var btn = o[pane].buttonClass +"-"+ action; + $E .addClass( btn +" "+ btn +"-"+ pane ) + .data("layoutName", o.name); // add layout identifier - even if blank! + } + return $E; + } + + + /** + * NEW syntax for binding layout-buttons - will eventually replace addToggle, addOpen, etc. + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} action + * @param {string} pane + */ +, bind: function (inst, selector, action, pane) { + var _ = $.layout.buttons; + switch (action.toLowerCase()) { + case "toggle": _.addToggle (inst, selector, pane); break; + case "open": _.addOpen (inst, selector, pane); break; + case "close": _.addClose (inst, selector, pane); break; + case "pin": _.addPin (inst, selector, pane); break; + case "toggle-slide": _.addToggle (inst, selector, pane, true); break; + case "open-slide": _.addOpen (inst, selector, pane, true); break; + } + return inst; + } + + /** + * Add a custom Toggler button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addToggle: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "toggle") + .click(function(evt){ + inst.toggle(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Open button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + * @param {boolean=} slide true = slide-open, false = pin-open + */ +, addOpen: function (inst, selector, pane, slide) { + $.layout.buttons.get(inst, selector, pane, "open") + .attr("title", lang.Open) + .click(function (evt) { + inst.open(pane, !!slide); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Close button for a pane + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the button is for: 'north', 'south', etc. + */ +, addClose: function (inst, selector, pane) { + $.layout.buttons.get(inst, selector, pane, "close") + .attr("title", lang.Close) + .click(function (evt) { + inst.close(pane); + evt.stopPropagation(); + }); + return inst; + } + + /** + * Add a custom Pin button for a pane + * + * Four classes are added to the element, based on the paneClass for the associated pane... + * Assuming the default paneClass and the pin is 'up', these classes are added for a west-pane pin: + * - ui-layout-pane-pin + * - ui-layout-pane-west-pin + * - ui-layout-pane-pin-up + * - ui-layout-pane-west-pin-up + * + * @param {Object} inst Layout Instance object + * @param {(string|!Object)} selector jQuery selector (or element) for button, eg: ".ui-layout-north .toggle-button" + * @param {string} pane Name of the pane the pin is for: 'north', 'south', etc. + */ +, addPin: function (inst, selector, pane) { + var _ = $.layout.buttons + , $E = _.get(inst, selector, pane, "pin"); + if ($E.length) { + var s = inst.state[pane]; + $E.click(function (evt) { + _.setPinState(inst, $(this), pane, (s.isSliding || s.isClosed)); + if (s.isSliding || s.isClosed) inst.open( pane ); // change from sliding to open + else inst.close( pane ); // slide-closed + evt.stopPropagation(); + }); + // add up/down pin attributes and classes + _.setPinState(inst, $E, pane, (!s.isClosed && !s.isSliding)); + // add this pin to the pane data so we can 'sync it' automatically + // PANE.pins key is an array so we can store multiple pins for each pane + s.pins.push( selector ); // just save the selector string + } + return inst; + } + + /** + * Change the class of the pin button to make it look 'up' or 'down' + * + * @see addPin(), syncPins() + * + * @param {Object} inst Layout Instance object + * @param {Array.} $Pin The pin-span element in a jQuery wrapper + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin true = set the pin 'down', false = set it 'up' + */ +, setPinState: function (inst, $Pin, pane, doPin) { + var updown = $Pin.attr("pin"); + if (updown && doPin === (updown=="down")) return; // already in correct state + var + pin = inst.options[pane].buttonClass +"-pin" + , side = pin +"-"+ pane + , UP = pin +"-up "+ side +"-up" + , DN = pin +"-down "+side +"-down" + ; + $Pin + .attr("pin", doPin ? "down" : "up") // logic + .attr("title", doPin ? lang.Unpin : lang.Pin) + .removeClass( doPin ? UP : DN ) + .addClass( doPin ? DN : UP ) + ; + } + + /** + * INTERNAL function to sync 'pin buttons' when pane is opened or closed + * Unpinned means the pane is 'sliding' - ie, over-top of the adjacent panes + * + * @see open(), close() + * + * @param {Object} inst Layout Instance object + * @param {string} pane These are the params returned to callbacks by layout() + * @param {boolean} doPin True means set the pin 'down', False means 'up' + */ +, syncPinBtns: function (inst, pane, doPin) { + // REAL METHOD IS _INSIDE_ LAYOUT - THIS IS HERE JUST FOR REFERENCE + $.each(state[pane].pins, function (i, selector) { + $.layout.buttons.setPinState(inst, $(selector), pane, doPin); + }); + } + + +, _load: function (inst) { + var _ = $.layout.buttons; + // ADD Button methods to Layout Instance + // Note: sel = jQuery Selector string + $.extend( inst, { + bindButton: function (sel, action, pane) { return _.bind(inst, sel, action, pane); } + // DEPRECATED METHODS + , addToggleBtn: function (sel, pane, slide) { return _.addToggle(inst, sel, pane, slide); } + , addOpenBtn: function (sel, pane, slide) { return _.addOpen(inst, sel, pane, slide); } + , addCloseBtn: function (sel, pane) { return _.addClose(inst, sel, pane); } + , addPinBtn: function (sel, pane) { return _.addPin(inst, sel, pane); } + }); + + // init state array to hold pin-buttons + for (var i=0; i<4; i++) { + var pane = $.layout.config.borderPanes[i]; + inst.state[pane].pins = []; + } + + // auto-init buttons onLoad if option is enabled + if ( inst.options.autoBindCustomButtons ) + _.init(inst); + } + +, _unload: function (inst) { + // TODO: unbind all buttons??? + } + +}; + +// add initialization method to Layout's onLoad array of functions +$.layout.onLoad.push( $.layout.buttons._load ); +//$.layout.onUnload.push( $.layout.buttons._unload ); + + + +/** + * jquery.layout.browserZoom 1.0 + * $Date: 2011-12-29 08:00:00 (Thu, 29 Dec 2011) $ + * + * Copyright (c) 2012 + * Kevin Dalman (http://allpro.net) + * + * Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html) + * and MIT (http://www.opensource.org/licenses/mit-license.php) licenses. + * + * @dependancies: UI Layout 1.3.0.rc30.1 or higher + * + * @support: http://groups.google.com/group/jquery-ui-layout + * + * @todo: Extend logic to handle other problematic zooming in browsers + * @todo: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event + */ + +// tell Layout that the plugin is available +$.layout.plugins.browserZoom = true; + +$.layout.defaults.browserZoomCheckInterval = 1000; +$.layout.optionsMap.layout.push("browserZoomCheckInterval"); + +/* + * browserZoom methods + */ +$.layout.browserZoom = { + + _init: function (inst) { + // abort if browser does not need this check + if ($.layout.browserZoom.ratio() !== false) + $.layout.browserZoom._setTimer(inst); + } + +, _setTimer: function (inst) { + // abort if layout destroyed or browser does not need this check + if (inst.destroyed) return; + var o = inst.options + , s = inst.state + // don't need check if inst has parentLayout, but check occassionally in case parent destroyed! + // MINIMUM 100ms interval, for performance + , ms = inst.hasParentLayout ? 5000 : Math.max( o.browserZoomCheckInterval, 100 ) + ; + // set the timer + setTimeout(function(){ + if (inst.destroyed || !o.resizeWithWindow) return; + var d = $.layout.browserZoom.ratio(); + if (d !== s.browserZoom) { + s.browserZoom = d; + inst.resizeAll(); + } + // set a NEW timeout + $.layout.browserZoom._setTimer(inst); + } + , ms ); + } + +, ratio: function () { + var w = window + , s = screen + , d = document + , dE = d.documentElement || d.body + , b = $.layout.browser + , v = b.version + , r, sW, cW + ; + // we can ignore all browsers that fire window.resize event onZoom + if ((b.msie && v > 8) + || !b.msie + ) return false; // don't need to track zoom + + if (s.deviceXDPI) + return calc(s.deviceXDPI, s.systemXDPI); + // everything below is just for future reference! + if (b.webkit && (r = d.body.getBoundingClientRect)) + return calc((r.left - r.right), d.body.offsetWidth); + if (b.webkit && (sW = w.outerWidth)) + return calc(sW, w.innerWidth); + if ((sW = s.width) && (cW = dE.clientWidth)) + return calc(sW, cW); + return false; // no match, so cannot - or don't need to - track zoom + + function calc (x,y) { return (parseInt(x,10) / parseInt(y,10) * 100).toFixed(); } + } + +}; +// add initialization method to Layout's onLoad array of functions +$.layout.onReady.push( $.layout.browserZoom._init ); + + + +})( jQuery ); \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif new file mode 100644 index 0000000000..085ccaecaf Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-anim_basic_16x16.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 0000000000..5b5dab2ab7 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png new file mode 100644 index 0000000000..47acaadd73 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_flat_55_fbec88_40x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png new file mode 100644 index 0000000000..9d149b1c61 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_75_d0e5f5_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png new file mode 100644 index 0000000000..014951529c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_85_dfeffc_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 0000000000..4443fdc1a1 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png new file mode 100644 index 0000000000..81ecc362d5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png new file mode 100644 index 0000000000..4f3faf8aa8 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png new file mode 100644 index 0000000000..38c38335d0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png new file mode 100644 index 0000000000..6f4bd87c04 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_217bc0_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png new file mode 100644 index 0000000000..09d1cdc856 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_2e83ff_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png new file mode 100644 index 0000000000..bd2cf079ad Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_469bdd_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png new file mode 100644 index 0000000000..3d6f567f4d Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_6da8d5_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 0000000000..2ab019b73e Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_cd0a0a_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png new file mode 100644 index 0000000000..ad2dc6f9db Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_d8e7f3_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png new file mode 100644 index 0000000000..c7c53cb119 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/images/ui-icons_f9bd01_256x240.png differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css new file mode 100644 index 0000000000..0b1736320b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css @@ -0,0 +1,398 @@ +/* +* jQuery UI CSS Framework +* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +*/ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/* +* jQuery UI CSS Framework +* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +*/ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; } +.ui-widget-content a { color: #222222; } +.ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(images/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; } +.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_6da8d5_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_217bc0_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_f9bd01_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; } +.ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-right { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } +.ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* Resizable +----------------------------------*/ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Selectable +----------------------------------*/ +.ui-selectable-helper { border:1px dotted black } +/* Autocomplete +----------------------------------*/ +.ui-autocomplete { position: absolute; cursor: default; } +.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ + +/* Menu +----------------------------------*/ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/* Button +----------------------------------*/ + +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: .4em 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ + + + + + +/* Dialog +----------------------------------*/ +.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* Tabs +----------------------------------*/ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css new file mode 100644 index 0000000000..c02c76f505 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/theme-redmond/jquery-ui-1.8.21.custom.css @@ -0,0 +1,304 @@ +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; } +.ui-widget-content a { color: #222222; } +.ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(images/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; } +.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_469bdd_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_6da8d5_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_217bc0_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_f9bd01_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! + * jQuery UI Tabs 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/file.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/file.gif new file mode 100644 index 0000000000..bd4f965498 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/file.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed.gif new file mode 100644 index 0000000000..be6b59c2ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed2.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed2.gif new file mode 100644 index 0000000000..541107888e Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder-closed2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder.gif new file mode 100644 index 0000000000..be6b59c2ba Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder2.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder2.gif new file mode 100644 index 0000000000..2b31631ca2 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/folder2.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/minus.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/minus.gif new file mode 100644 index 0000000000..47fb7b767c Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/minus.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/plus.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/plus.gif new file mode 100644 index 0000000000..6906621627 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/plus.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif new file mode 100644 index 0000000000..e5496877a0 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black.gif new file mode 100644 index 0000000000..d549b9fc56 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-black.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif new file mode 100644 index 0000000000..37114d3068 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default.gif new file mode 100644 index 0000000000..a12ac52ffe Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-default.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif new file mode 100644 index 0000000000..6e289cecc5 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif new file mode 100644 index 0000000000..0cb178e899 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-famfamfam.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif new file mode 100644 index 0000000000..37600447dc Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray.gif new file mode 100644 index 0000000000..cfb8a2f096 Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-gray.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif new file mode 100644 index 0000000000..df9e749a8f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red-line.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red.gif b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red.gif new file mode 100644 index 0000000000..3bbb3a157f Binary files /dev/null and b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/images/treeview-red.gif differ diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.css b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.css new file mode 100644 index 0000000000..dbf425b279 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.css @@ -0,0 +1,85 @@ +.treeview, .treeview ul { + padding: 0; + margin: 0; + list-style: none; +} + +.treeview ul { + background-color: white; + margin-top: 4px; +} + +.treeview .hitarea { + background: url(images/treeview-default.gif) -64px -25px no-repeat; + height: 16px; + width: 16px; + margin-left: -16px; + float: left; + cursor: pointer; +} +/* fix for IE6 */ +* html .hitarea { + display: inline; + float:none; +} + +.treeview li { + margin: 0; + padding: 3px 0 3px 16px; +} + +.treeview a.selected { + background-color: #eee; +} + +#treecontrol { margin: 1em 0; display: none; } + +.treeview .hover { color: red; cursor: pointer; } + +.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; } +.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; } + +.treeview .expandable-hitarea { background-position: -80px -3px; } + +.treeview li.last { background-position: 0 -1766px } +.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); } +.treeview li.lastCollapsable { background-position: 0 -111px } +.treeview li.lastExpandable { background-position: -32px -67px } + +.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; } + +.treeview-red li { background-image: url(images/treeview-red-line.gif); } +.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); } + +.treeview-black li { background-image: url(images/treeview-black-line.gif); } +.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); } + +.treeview-gray li { background-image: url(images/treeview-gray-line.gif); } +.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); } + +.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); } +.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); } + + +.filetree li { padding: 3px 0 2px 16px; } +.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; } +.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; } +.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; } +.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; } + +html, body {height:100%; margin: 0; padding: 0; } + +/* +html>body { + font-size: 16px; + font-size: 68.75%; +} Reset Base Font Size */ + /* +body { + font-family: Verdana, helvetica, arial, sans-serif; + font-size: 68.75%; + background: #fff; + color: #333; +} */ + +a img { border: none; } \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.min.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.min.js new file mode 100644 index 0000000000..e693321dd0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/jquery/treeview/jquery.treeview.min.js @@ -0,0 +1,16 @@ +/* + * Treeview 1.4 - jQuery plugin to hide and show branches of a tree + * + * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ + * http://docs.jquery.com/Plugins/Treeview + * + * Copyright (c) 2007 Jörn Zaefferer + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $ + * kasunbg: changed the cookieid name + * + */;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("
          ").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){if(typeof(window.treeCookieId) === 'undefined' || window.treeCookieId === ""){treeCookieId = "treeview";} settings=$.extend({cookieId: treeCookieId},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery); \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/main.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/main.js new file mode 100644 index 0000000000..5957fb435d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/common/main.js @@ -0,0 +1,276 @@ +/** + * Miscellaneous js functions for WebHelp + * Kasun Gajasinghe, http://kasunbg.blogspot.com + * David Cramer, http://www.thingbag.net + * + */ + +//Turn ON and OFF the animations for Show/Hide Sidebar. Extend this to other anime as well if any. +var noAnimations=false; + +$(document).ready(function() { + // When you click on a link to an anchor, scroll down + // 105 px to cope with the fact that the banner + // hides the top 95px or so of the page. + // This code deals with the problem when + // you click on a link within a page. + $('a[href*=#]').click(function() { + if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') + && location.hostname == this.hostname) { + var $target = $(this.hash); + $target = $target.length && $target + || $('[name=' + this.hash.slice(1) +']'); + if (!(this.hash == "#searchDiv" || this.hash == "#treeDiv" || this.hash == "") && $target.length) { + var targetOffset = $target.offset().top - 120; + $('html,body') + .animate({scrollTop: targetOffset}, 200); + return false; + } + } + }); + + // $("#showHideHighlight").button(); //add jquery button styling to 'Go' button + //Generate tabs in nav-pane with JQuery + $(function() { + $("#tabs").tabs({ + cookie: { + expires: 2 // store cookie for 2 days. + } + }); + }); + + //Generate the tree + $("#ulTreeDiv").attr("style", ""); + $("#tree").treeview({ + collapsed: true, + animated: "medium", + control: "#sidetreecontrol", + persist: "cookie" + }); + + //after toc fully styled, display it. Until loading, a 'loading' image will be displayed + $("#tocLoading").attr("style", "display:none;"); + // $("#ulTreeDiv").attr("style","display:block;"); + + //.searchButton is the css class applied to 'Go' button + $(function() { + $("button", ".searchButton").button(); + + $("button", ".searchButton").click(function() { + return false; + }); + }); + + //'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('ui-tabs-1') === '1') { //search tab is active + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('searchForm'); + searchHighlight($.cookie('textToSearch')); + $("#showHideHighlight").css("display", "block"); + } + } + + syncToc(); //Synchronize the toc tree with the content pane, when loading the page. + //$("#doSearch").button(); //add jquery button styling to 'Go' button + + // When you click on a link to an anchor, scroll down + // 120 px to cope with the fact that the banner + // hides the top 95px or so of the page. + // This code deals with the problem when + // you click on a link from another page. + var hash = window.location.hash; + if(hash){ + var targetOffset = $(hash).offset().top - 120; + $('html,body').animate({scrollTop: targetOffset}, 200); + return false; + } +}); + + +/** + * If an user moved to another page by clicking on a toc link, and then clicked on #searchDiv, + * search should be performed if the cookie textToSearch is not empty. + */ +function doSearch() { +//'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab) + if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) { + document.getElementById('textToSearch').value = $.cookie('textToSearch'); + Verifie('searchForm'); + } +} + +/** + * Synchronize with the tableOfContents + */ +function syncToc() { + var a = document.getElementById("webhelp-currentid"); + if (a != undefined) { + //Expanding the child sections of the selected node. + var nodeClass = a.getAttribute("class"); + if (nodeClass != null && !nodeClass.match(/collapsable/)) { + a.setAttribute("class", "collapsable"); + //remove display:none; css style from
            block in the selected node. + var ulNode = a.getElementsByTagName("ul")[0]; + if (ulNode != undefined) { + if (ulNode.hasAttribute("style")) { + ulNode.setAttribute("style", "display: block; background-color: #D8D8D8 !important;"); + } else { + var ulStyle = document.createAttribute("style"); + ulStyle.nodeValue = "display: block; background-color: #D8D8D8 !important;"; + ulNode.setAttributeNode(ulStyle); + } } + //adjust tree's + sign to - + var divNode = a.getElementsByTagName("div")[0]; + if (divNode != undefined) { + if (divNode.hasAttribute("class")) { + divNode.setAttribute("class", "hitarea collapsable-hitarea"); + } else { + var divClass = document.createAttribute("class"); + divClass.nodeValue = "hitarea collapsable-hitarea"; + divNode.setAttributeNode(divClass); + } } + //set persistence cookie when a node is auto expanded + // setCookieForExpandedNode("webhelp-currentid"); + } + var b = a.getElementsByTagName("a")[0]; + + if (b != undefined) { + //Setting the background for selected node. + var style = a.getAttribute("style", 2); + if (style != null && !style.match(/background-color: Background;/)) { + a.setAttribute("style", "background-color: #D8D8D8; " + style); + b.setAttribute("style", "color: black;"); + } else if (style != null) { + a.setAttribute("style", "background-color: #D8D8D8; " + style); + b.setAttribute("style", "color: black;"); + } else { + a.setAttribute("style", "background-color: #D8D8D8; "); + b.setAttribute("style", "color: black;"); + } + } + + //shows the node related to current content. + //goes a recursive call from current node to ancestor nodes, displaying all of them. + while (a.parentNode && a.parentNode.nodeName) { + var parentNode = a.parentNode; + var nodeName = parentNode.nodeName; + + if (nodeName.toLowerCase() == "ul") { + parentNode.setAttribute("style", "display: block;"); + } else if (nodeName.toLocaleLowerCase() == "li") { + parentNode.setAttribute("class", "collapsable"); + parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea "); + } + a = parentNode; +} } } +/* + function setCookieForExpandedNode(nodeName) { + var tocDiv = document.getElementById("tree"); //get table of contents Div + var divs = tocDiv.getElementsByTagName("div"); + var matchedDivNumber; + var i; + for (i = 0; i < divs.length; i++) { //1101001 + var div = divs[i]; + var liNode = div.parentNode; + } +//create a new cookie if a treeview does not exist + if ($.cookie(treeCookieId) == null || $.cookie(treeCookieId) == "") { + var branches = $("#tree").find("li");//.prepareBranches(treesettings); + var data = []; + branches.each(function(i, e) { + data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0; + }); + $.cookie(treeCookieId, data.join("")); + + } + + if (i < divs.length) { + var treeviewCookie = $.cookie(treeCookieId); + var tvCookie1 = treeviewCookie.substring(0, i); + var tvCookie2 = treeviewCookie.substring(i + 1); + var newTVCookie = tvCookie1 + "1" + tvCookie2; + $.cookie(treeCookieId, newTVCookie); + } + } */ + +/** + * Code for Show/Hide TOC + * + */ +function showHideToc() { + var showHideButton = $("#showHideButton"); + var leftNavigation = $("#sidebar"); //hide the parent div of leftnavigation, ie sidebar + var content = $("#content"); + var animeTime=75 + + if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) { + //Hide TOC + showHideButton.removeClass('pointLeft').addClass('pointRight'); + + if(noAnimations) { + leftNavigation.css("display", "none"); + content.css("margin", "125px 0 0 0"); + } else { + leftNavigation.hide(animeTime); + content.animate( { "margin-left": 0 }, animeTime); + } + showHideButton.attr("title", "Show Sidebar"); + } else { + //Show the TOC + showHideButton.removeClass('pointRight').addClass('pointLeft'); + if(noAnimations) { + content.css("margin", "125px 0 0 280px"); + leftNavigation.css("display", "block"); + } else { + content.animate( { "margin-left": '280px' }, animeTime); + leftNavigation.show(animeTime); + } + showHideButton.attr("title", "Hide Sidebar"); + } +} + +/** + * Code for search highlighting + */ +var highlightOn = true; +function searchHighlight(searchText) { + highlightOn = true; + if (searchText != undefined) { + var wList; + var sList = new Array(); //stem list + //Highlight the search terms + searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "There is no page containing all the search terms.
            Partial results:"; +var warningMsg = '
            '; +warningMsg+='Please note that due to security settings, Google Chrome does not highlight'; +warningMsg+=' the search results in the right frame.
            '; +warningMsg+='This happens only when the WebHelp files are loaded from the local file system.
            '; +warningMsg+='Workarounds:'; +warningMsg+='
              '; +warningMsg+='
            • Try using another web browser.
            • '; +warningMsg+='
            • Deploy the WebHelp files on a web server.
            • '; +warningMsg+='
            '; +txt_filesfound = 'Results'; +txt_enter_at_least_1_char = "You must enter at least one character."; +txt_enter_more_than_10_words = "Only first 10 words will be processed."; +txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended."; +txt_please_wait = "Please wait. Search in progress..."; +txt_results_for = "Results for: "; + +/* This function verify the validity of search input by the user + Cette fonction verifie la validite de la recherche entrre par l utilisateur */ +function Verifie(searchForm) { + + // Check browser compatibility + if (navigator.userAgent.indexOf("Konquerer") > -1) { + + alert(txt_browser_not_supported); + return; + } + + searchTextField = trim(document.searchForm.textToSearch.value); + searchTextField = searchTextField.replace(/['"]/g,''); + var expressionInput = searchTextField; + $.cookie('textToSearch', expressionInput); + + if (expressionInput.length < 1) { + + // expression is invalid + alert(txt_enter_at_least_1_char); + // reactive la fenetre de search (utile car cadres) + + document.searchForm.textToSearch.focus(); + } + else { + var splitSpace = searchTextField.split(" "); + var splitWords = []; + for (var i = 0 ; i < splitSpace.length ; i++) { + var splitDot = splitSpace[i].split("."); + + if(!(splitDot.length == 1)){ + splitWords.push(splitSpace[i]); + } + + for (var i1 = 0; i1 < splitDot.length; i1++) { + var splitColon = splitDot[i1].split(":"); + for (var i2 = 0; i2 < splitColon.length; i2++) { + var splitDash = splitColon[i2].split("-"); + for (var i3 = 0; i3 < splitDash.length; i3++) { + if (splitDash[i3].split("").length > 0) { + splitWords.push(splitDash[i3]); + } + } + } + } + } + noWords = splitWords; + if (noWords.length > 9){ + // Allow to search maximum 10 words + alert(txt_enter_more_than_10_words); + expressionInput = ''; + for (var x = 0 ; x < 10 ; x++){ + expressionInput = expressionInput + " " + noWords[x]; + } + Effectuer_recherche(expressionInput); + document.searchForm.textToSearch.focus(); + } else { + // Effectuer la recherche + expressionInput = ''; + for (var x = 0 ; x < noWords.length ; x++) { + expressionInput = expressionInput + " " + noWords[x]; + } + Effectuer_recherche(expressionInput); + // reactive la fenetre de search (utile car cadres) + document.searchForm.textToSearch.focus(); + } + } +} + +var stemQueryMap = new Array(); // A hashtable which maps stems to query words + +/* This function parses the search expression, loads the indices and displays the results*/ +function Effectuer_recherche(expressionInput) { + + /* Display a waiting message */ + //DisplayWaitingMessage(); + + /*data initialisation*/ + var searchFor = ""; // expression en lowercase et sans les caracte res speciaux + //w = new Object(); // hashtable, key=word, value = list of the index of the html files + scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for + var wordsList = new Array(); // Array with the words to look for + var finalWordsList = new Array(); // Array with the words to look for after removing spaces + var linkTab = new Array(); + var fileAndWordList = new Array(); + var txt_wordsnotfound = ""; + + + // -------------------------------------- + // Begin Thu's patch + /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/ + //The original replacement expression is: + //searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, " 0){ + var searchedWords = noWords.length; + var foundedWords = fileAndWordList[0][0].motslisteDisplay.split(",").length; + //console.info("search : " + noWords.length + " found : " + fileAndWordList[0][0].motslisteDisplay.split(",").length); + if (searchedWords != foundedWords){ + linkTab.push(partialSearch); + } + } + + + for (var i = 0; i < cpt; i++) { + + var hundredProcent = fileAndWordList[i][0].scoring + 100 * fileAndWordList[i][0].motsnb; + var ttScore_first = fileAndWordList[i][0].scoring; + var numberOfWords = fileAndWordList[i][0].motsnb; + + if (fileAndWordList[i] != undefined) { + linkTab.push("

            " + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "

            "); + + linkTab.push("
              "); + for (t in fileAndWordList[i]) { + //linkTab.push("
            • "+fl[fileAndWordList[i][t].filenb]+"
            • "); + + var ttInfo = fileAndWordList[i][t].filenb; + // Get scoring + var ttScore = fileAndWordList[i][t].scoring; + var tempInfo = fil[ttInfo]; + + var pos1 = tempInfo.indexOf("@@@"); + var pos2 = tempInfo.lastIndexOf("@@@"); + var tempPath = tempInfo.substring(0, pos1); + var tempTitle = tempInfo.substring(pos1 + 3, pos2); + var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length); + + + // toc.html will not be displayed on search result + if (tempPath == 'toc.html'){ + continue; + } + /* + //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html + var linkString = "
            • " + tempTitle + ""; + // var linkString = "
            • " + tempTitle + ""; + */ + var split = fileAndWordList[i][t].motsliste.split(","); + // var splitedValues = expressionInput.split(" "); + // var finalArray = split.concat(splitedValues); + + arrayString = 'Array('; + for(var x in finalArray){ + if (finalArray[x].length > 2 || useCJKTokenizing){ + arrayString+= "'" + finalArray[x] + "',"; + } + } + arrayString = arrayString.substring(0,arrayString.length - 1) + ")"; + var idLink = 'foundLink' + no; + var linkString = '
            • ' + tempTitle + ''; + var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords); + starWidth = starWidth < 10 ? (starWidth + 5) : starWidth; + // Keep the 5 stars format + if (starWidth > 85){ + starWidth = 85; + } + /* + var noFullStars = Math.ceil(starWidth/17); + var fullStar = "curr"; + var emptyStar = ""; + if (starWidth % 17 == 0){ + // am stea plina + + } else { + + } + console.info(noFullStars); + */ + // Also check if we have a valid description + if ((tempShortdesc != "null" && tempShortdesc != '...')) { + + linkString += "\n
              " + tempShortdesc + "
              "; + } + linkString += "
            • "; + + // Add rating values for scoring at the list of matches + linkString += "
              "; + linkString += "
              "; + //linkString += "
              " + // + ((ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent)) * 1 + "
              "; + linkString += "
                "; + linkString += "
              • "; + linkString += "
              "; + + linkString += "
              "; + linkString += "
              "; + linkString += "
              "; + //linkString += 'Rating: ' + ttScore + ''; + + linkTab.push(linkString); + no++; + } + linkTab.push("
            "); + } + } + } + + var results = ""; + if (linkTab.length > 0) { + /*writeln ("

            " + txt_results_for + " " + "" + cleanwordsList + "" + "
            "+"

            ");*/ + results = "

            "; + //write("

              "); + for (t in linkTab) { + results += linkTab[t].toString(); + } + results += "

              "; + } else { + results = "

              " + localeresource.search_no_results + " " + txt_wordsnotfound + "" + "

              "; + } + + + // Verify if the browser is Google Chrome and the WebHelp is used on a local machine + // If browser is Google Chrome and WebHelp is used on a local machine a warning message will appear + // Highlighting will not work in this conditions. There is 2 workarounds + if (verifyBrowser()){ + document.getElementById('searchResults').innerHTML = results; + } else { + document.getElementById('searchResults').innerHTML = warningMsg + results; + } + +} + + +// Verify if the stemmed word is aproximately the same as the searched word +function verifyWord(word, arr){ + for (var i = 0 ; i < arr.length ; i++){ + if (word[0] == arr[i][0] + && word[1] == arr[i][1] + //&& word[2] == arr[i][2] + ){ + return true; + } + } + return false; +} + +// Look for elements that start with searchedValue. +function wordsStartsWith(searchedValue){ + var toReturn = ''; + for (var sv in w){ + if (searchedValue.length < 3){ + continue; + } else { + if (sv.toLowerCase().indexOf(searchedValue.toLowerCase()) == 0){ + toReturn+=sv + ","; + } + } + } + return toReturn.length > 0 ? toReturn : undefined; +} + + +function tokenize(wordsList){ + var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces + var cleanwordsList = new Array(); // Array with the words to look for + // ------------------------------------------------- + // Thu's patch + for(var j=0;j"; + return this.input.substring(this.offset,this.offset+2); + } + + function getAllTokens(){ + while(this.incrementToken()){ + var tmp = this.tokenize(); + this.tokens.push(tmp); + } + return this.unique(this.tokens); +// document.getElementById("content").innerHTML += tokens+" "; +// document.getElementById("content").innerHTML += "
              dada"+sortedTokens+" "; +// console.log(tokens.length+"dsdsds"); + /*for(i=0;i t2.length) { + return 1; + } else { + return -1; + } + //return t1.length - t2.length); +} + +// return false if browser is Google Chrome and WebHelp is used on a local machine, not a web server +function verifyBrowser(){ + var returnedValue = true; + var browser = BrowserDetect.browser; + var addressBar = window.location.href; + if (browser == 'Chrome' && addressBar.indexOf('file://') === 0){ + returnedValue = false; + } + + return returnedValue; +} + +// Remove duplicate values from an array +function removeDuplicate(arr) { + var r = new Array(); + o:for(var i = 0, n = arr.length; i < n; i++) { + for(var x = 0, y = r.length; x < y; x++) { + if(r[x]==arr[i]) continue o; + } + r[r.length] = arr[i]; + } + return r; +} + +// Create startsWith method +String.prototype.startsWith = function(str) { + return (this.match("^"+str)==str); +} + +function trim(str, chars) { + return ltrim(rtrim(str, chars), chars); +} + +function ltrim(str, chars) { + chars = chars || "\\s"; + return str.replace(new RegExp("^[" + chars + "]+", "g"), ""); +} + +function rtrim(str, chars) { + chars = chars || "\\s"; + return str.replace(new RegExp("[" + chars + "]+$", "g"), ""); +} diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/punctuation.props b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/punctuation.props new file mode 100644 index 0000000000..d3e3fcd28b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/punctuation.props @@ -0,0 +1,31 @@ +Punct01=\\u3002 +Punct02=\\u3003 +Punct03=\\u300C +Punct04=\\u300D +Punct05=\\u300E +Punct06=\\u300F +Punct07=\\u301D +Punct08=\\u301E +Punct09=\\u301F +Punct10=\\u309B +Punct11=\\u2018 +Punct12=\\u2019 +Punct13=\\u201A +Punct14=\\u201C +Punct15=\\u201D +Punct16=\\u201E +Punct17=\\u2032 +Punct18=\\u2033 +Punct19=\\u2035 +Punct20=\\u2039 +Punct21=\\u203A +Punct22=\\u201E +Punct23=\\u00BB +Punct24=\\u00AB +Punct25=© +Punct26=’ +Punct27=\\u00A0 +Punct28=\\u2014 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/de_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/de_stemmer.js new file mode 100644 index 0000000000..7ff3822a45 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/de_stemmer.js @@ -0,0 +1,247 @@ +/* + * Author: Joder Illi + * + * Copyright (c) 2010, FormBlitz AG + * All rights reserved. + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/german/stemmer.html + * Copyright of the algorithm is: Copyright (c) 2001, Dr Martin Porter and can be found at http://snowball.tartarus.org/license.php + * + * Redistribution and use in source and binary forms, with or without modification, is covered by the standard BSD license. + * + */ + +//var stemmer = function Stemmer() { + /* + German includes the following accented forms, + ä ö ü + and a special letter, ß, equivalent to double s. + The following letters are vowels: + a e i o u y ä ö ü + */ + + var stemmer = function(word) { + /* + Put u and y between vowels into upper case + */ + word = word.replace(/([aeiouyäöü])u([aeiouyäöü])/g, '$1U$2'); + word = word.replace(/([aeiouyäöü])y([aeiouyäöü])/g, '$1Y$2'); + + /* + and then do the following mappings, + (a) replace ß with ss, + (a) replace ae with ä, Not doing these, have trouble with diphtongs + (a) replace oe with ö, Not doing these, have trouble with diphtongs + (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs + So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found. + */ + word = word.replace(/ß/g, 'ss'); + //word = word.replace(/ae/g, 'ä'); + //word = word.replace(/oe/g, 'ö'); + //word = word.replace(/([^q])ue/g, '$1ü'); + + /* + R1 and R2 are first set up in the standard way (see the note on R1 and R2), but then R1 is adjusted so that the region before it contains at least 3 letters. + R1 is the region after the first non-vowel following a vowel, or is the null region at the end of the word if there is no such non-vowel. + R2 is the region after the first non-vowel following a vowel in R1, or is the null region at the end of the word if there is no such non-vowel. + */ + + var r1Index = word.search(/[aeiouyäöü][^aeiouyäöü]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } + + var r2Index = -1; + var r2 = ''; + + if (r1Index != -1) { + var r2Index = r1.search(/[aeiouyäöü][^aeiouyäöü]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + } + } + + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Define a valid s-ending as one of b, d, f, g, h, k, l, m, n, r or t. + Define a valid st-ending as the same list, excluding letter r. + */ + + /* + Do each of steps 1, 2 and 3. + */ + + /* + Step 1: + Search for the longest among the following suffixes, + (a) em ern er + (b) e en es + (c) s (preceded by a valid s-ending) + */ + var a1Index = word.search(/(em|ern|er)$/g); + var b1Index = word.search(/(e|en|es)$/g); + var c1Index = word.search(/([bdfghklmnrt]s)$/g); + if (c1Index != -1) { + c1Index++; + } + var index1 = 10000; + var optionUsed1 = ''; + if (a1Index != -1 && a1Index < index1) { + optionUsed1 = 'a'; + index1 = a1Index; + } + if (b1Index != -1 && b1Index < index1) { + optionUsed1 = 'b'; + index1 = b1Index; + } + if (c1Index != -1 && c1Index < index1) { + optionUsed1 = 'c'; + index1 = c1Index; + } + + /* + and delete if in R1. (Of course the letter of the valid s-ending is not necessarily in R1.) If an ending of group (b) is deleted, and the ending is preceded by niss, delete the final s. + (For example, äckern -> äck, ackers -> acker, armes -> arm, bedürfnissen -> bedürfnis) + */ + + if (index1 != 10000 && r1Index != -1) { + if (index1 >= r1Index) { + word = word.substring(0, index1); + if (optionUsed1 == 'b') { + if (word.search(/niss$/) != -1) { + word = word.substring(0, word.length -1); + } + } + } + } + /* + Step 2: + Search for the longest among the following suffixes, + (a) en er est + (b) st (preceded by a valid st-ending, itself preceded by at least 3 letters) + */ + + var a2Index = word.search(/(en|er|est)$/g); + var b2Index = word.search(/(.{3}[bdfghklmnt]st)$/g); + if (b2Index != -1) { + b2Index += 4; + } + + var index2 = 10000; + var optionUsed2 = ''; + if (a2Index != -1 && a2Index < index2) { + optionUsed2 = 'a'; + index2 = a2Index; + } + if (b2Index != -1 && b2Index < index2) { + optionUsed2 = 'b'; + index2 = b2Index; + } + + /* + and delete if in R1. + (For example, derbsten -> derbst by step 1, and derbst -> derb by step 2, since b is a valid st-ending, and is preceded by just 3 letters) + */ + + if (index2 != 10000 && r1Index != -1) { + if (index2 >= r1Index) { + word = word.substring(0, index2); + } + } + + /* + Step 3: d-suffixes (*) + Search for the longest among the following suffixes, and perform the action indicated. + end ung + delete if in R2 + if preceded by ig, delete if in R2 and not preceded by e + ig ik isch + delete if in R2 and not preceded by e + lich heit + delete if in R2 + if preceded by er or en, delete if in R1 + keit + delete if in R2 + if preceded by lich or ig, delete if in R2 + */ + + var a3Index = word.search(/(end|ung)$/g); + var b3Index = word.search(/[^e](ig|ik|isch)$/g); + var c3Index = word.search(/(lich|heit)$/g); + var d3Index = word.search(/(keit)$/g); + if (b3Index != -1) { + b3Index ++; + } + + var index3 = 10000; + var optionUsed3 = ''; + if (a3Index != -1 && a3Index < index3) { + optionUsed3 = 'a'; + index3 = a3Index; + } + if (b3Index != -1 && b3Index < index3) { + optionUsed3 = 'b'; + index3 = b3Index; + } + if (c3Index != -1 && c3Index < index3) { + optionUsed3 = 'c'; + index3 = c3Index; + } + if (d3Index != -1 && d3Index < index3) { + optionUsed3 = 'd'; + index3 = d3Index; + } + + if (index3 != 10000 && r2Index != -1) { + if (index3 >= r2Index) { + word = word.substring(0, index3); + var optionIndex = -1; + var optionSubsrt = ''; + if (optionUsed3 == 'a') { + optionIndex = word.search(/[^e](ig)$/); + if (optionIndex != -1) { + optionIndex++; + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'c') { + optionIndex = word.search(/(er|en)$/); + if (optionIndex != -1) { + if (optionIndex >= r1Index) { + word = word.substring(0, optionIndex); + } + } + } else if (optionUsed3 == 'd') { + optionIndex = word.search(/(lich|ig)$/); + if (optionIndex != -1) { + if (optionIndex >= r2Index) { + word = word.substring(0, optionIndex); + } + } + } + } + } + + /* + Finally, + turn U and Y back into lower case, and remove the umlaut accent from a, o and u. + */ + word = word.replace(/U/g, 'u'); + word = word.replace(/Y/g, 'y'); + word = word.replace(/ä/g, 'a'); + word = word.replace(/ö/g, 'o'); + word = word.replace(/ü/g, 'u'); + + return word; + }; +//} \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/en_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/en_stemmer.js new file mode 100644 index 0000000000..2117c1bfb3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/en_stemmer.js @@ -0,0 +1,234 @@ +// Porter stemmer in Javascript. Few comments, but it's easy to follow against the rules in the original +// paper, in +// +// Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, +// no. 3, pp 130-137, +// +// see also http://www.tartarus.org/~martin/PorterStemmer + +// Release 1 +// Derived from (http://tartarus.org/~martin/PorterStemmer/js.txt) - cjm (iizuu) Aug 24, 2009 + +var stemmer = (function(){ + var step2list = { + "ational" : "ate", + "tional" : "tion", + "enci" : "ence", + "anci" : "ance", + "izer" : "ize", + "bli" : "ble", + "alli" : "al", + "entli" : "ent", + "eli" : "e", + "ousli" : "ous", + "ization" : "ize", + "ation" : "ate", + "ator" : "ate", + "alism" : "al", + "iveness" : "ive", + "fulness" : "ful", + "ousness" : "ous", + "aliti" : "al", + "iviti" : "ive", + "biliti" : "ble", + "logi" : "log" + }, + + step3list = { + "icate" : "ic", + "ative" : "", + "alize" : "al", + "iciti" : "ic", + "ical" : "ic", + "ful" : "", + "ness" : "" + }, + + c = "[^aeiou]", // consonant + v = "[aeiouy]", // vowel + C = c + "[^aeiouy]*", // consonant sequence + V = v + "[aeiou]*", // vowel sequence + + mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 + meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 + mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 + s_v = "^(" + C + ")?" + v; // vowel in stem + + return function (w) { + var stem, + suffix, + firstch, + re, + re2, + re3, + re4, + origword = w; + + if (w.length < 3) { return w; } + + firstch = w.substr(0,1); + if (firstch == "y") { + w = firstch.toUpperCase() + w.substr(1); + } + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) { w = w.replace(re,"$1$2"); } + else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) { w = w + "e"; } + else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } + else if (re4.test(w)) { w = w + "e"; } + } + } + + // Step 1c + re = new RegExp("^(.+" + c + ")y$"); + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step2list[suffix]; + } + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) { + w = stem + step3list[suffix]; + } + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) { + w = stem; + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) { + w = stem; + } + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { + w = stem; + } + } + + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + + if (firstch == "y") { + w = firstch.toLowerCase() + w.substr(1); + } + + // See http://snowball.tartarus.org/algorithms/english/stemmer.html + // "Exceptional forms in general" + var specialWords = { + "skis" : "ski", + "skies" : "sky", + "dying" : "die", + "lying" : "lie", + "tying" : "tie", + "idly" : "idl", + "gently" : "gentl", + "ugly" : "ugli", + "early": "earli", + "only": "onli", + "singly": "singl" + }; + + if(specialWords[origword]){ + w = specialWords[origword]; + } + + if( "sky news howe atlas cosmos bias \ + andes inning outing canning herring \ + earring proceed exceed succeed".indexOf(origword) !== -1 ){ + w = origword; + } + + // Address words overstemmed as gener- + re = /.*generate?s?d?(ing)?$/; + if( re.test(origword) ){ + w = w + 'at'; + } + re = /.*general(ly)?$/; + if( re.test(origword) ){ + w = w + 'al'; + } + re = /.*generic(ally)?$/; + if( re.test(origword) ){ + w = w + 'ic'; + } + re = /.*generous(ly)?$/; + if( re.test(origword) ){ + w = w + 'ous'; + } + // Address words overstemmed as commun- + re = /.*communit(ies)?y?/; + if( re.test(origword) ){ + w = w + 'iti'; + } + + return w; + } +})(); diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/fr_stemmer.js b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/fr_stemmer.js new file mode 100644 index 0000000000..34f9743132 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/template/search/stemmers/fr_stemmer.js @@ -0,0 +1,299 @@ +/* + * Author: Kasun Gajasinghe + * E-Mail: kasunbg AT gmail DOT com + * Date: 09.08.2010 + * + * usage: stemmer(word); + * ex: var stem = stemmer(foobar); + * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/french/stemmer.html + * + * LICENSE: + * + * Copyright (c) 2010, Kasun Gajasinghe. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * + * THIS SOFTWARE IS PROVIDED BY KASUN GAJASINGHE ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KASUN GAJASINGHE BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ + +var stemmer = function(word){ +// Letters in French include the following accented forms, +// â à ç ë é ê è ï î ô û ù +// The following letters are vowels: +// a e i o u y â à ë é ê è ï î ô û ù + + word = word.toLowerCase(); + var oriWord = word; + word = word.replace(/qu/g, 'qU'); //have to perform first, as after the operation, capital U is not treated as a vowel + word = word.replace(/([aeiouyâàëéêèïîôûù])u([aeiouyâàëéêèïîôûù])/g, '$1U$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])i([aeiouyâàëéêèïîôûù])/g, '$1I$2'); + word = word.replace(/([aeiouyâàëéêèïîôûù])y/g, '$1Y'); + word = word.replace(/y([aeiouyâàëéêèïîôûù])/g, 'Y$1'); + + var rv=''; + var rvIndex = -1; + if(word.search(/^(par|col|tap)/) != -1 || word.search(/^[aeiouyâàëéêèïîôûù]{2}/) != -1){ + rv = word.substring(3); + rvIndex = 3; + } else { + rvIndex = word.substring(1).search(/[aeiouyâàëéêèïîôûù]/); + if(rvIndex != -1){ + rvIndex +=2; //+2 is to supplement the substring(1) used to find rvIndex + rv = word.substring(rvIndex); + } else { + rvIndex = word.length; + } + } + +// R1 is the region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel. +// R2 is the region after the first non-vowel following a vowel in R1, or the end of the word if there is no such non-vowel + var r1Index = word.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + var r1 = ''; + if (r1Index != -1) { + r1Index += 2; + r1 = word.substring(r1Index); + } else { + r1Index = word.length; + } + + var r2Index = -1; + var r2 = ''; + if (r1Index != -1) { + r2Index = r1.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/); + if (r2Index != -1) { + r2Index += 2; + r2 = r1.substring(r2Index); + r2Index += r1Index; + } else { + r2 = ''; + r2Index = word.length; + } + } + if (r1Index != -1 && r1Index < 3) { + r1Index = 3; + r1 = word.substring(r1Index); + } + + /* + Step 1: Standard suffix removal + */ + var a1Index = word.search(/(ance|iqUe|isme|able|iste|eux|ances|iqUes|ismes|ables|istes)$/); + var a2Index = word.search(/(atrice|ateur|ation|atrices|ateurs|ations)$/); + var a3Index = word.search(/(logie|logies)$/); + var a4Index = word.search(/(usion|ution|usions|utions)$/); + var a5Index = word.search(/(ence|ences)$/); + var a6Index = word.search(/(ement|ements)$/); + var a7Index = word.search(/(ité|ités)$/); + var a8Index = word.search(/(if|ive|ifs|ives)$/); + var a9Index = word.search(/(eaux)$/); + var a10Index = word.search(/(aux)$/); + var a11Index = word.search(/(euse|euses)$/); + var a12Index = word.search(/[^aeiouyâàëéêèïîôûù](issement|issements)$/); + var a13Index = word.search(/(amment)$/); + var a14Index = word.search(/(emment)$/); + var a15Index = word.search(/[aeiouyâàëéêèïîôûù](ment|ments)$/); + + if(a1Index != -1 && a1Index >= r2Index){ + word = word.substring(0,a1Index); + } else if(a2Index != -1 && a2Index >= r2Index){ + word = word.substring(0,a2Index); + var a2Index2 = word.search(/(ic)$/); + if(a2Index2 != -1 && a2Index2 >= r2Index){ + word = word.substring(0, a2Index2); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(a3Index != -1 && a3Index >= r2Index){ + word = word.replace(/(logie|logies)$/,'log'); //replace with log if in R2 + } else if(a4Index != -1 && a4Index >= r2Index){ + word = word.replace(/(usion|ution|usions|utions)$/,'u'); //replace with u if in R2 + } else if(a5Index != -1 && a5Index >= r2Index){ + word = word.replace(/(ence|ences)$/,'ent'); //replace with ent if in R2 + } else if(a6Index != -1 && a6Index >= rvIndex){ + word = word.substring(0,a6Index); + if(word.search(/(iv)$/) >= r2Index){ + word = word.replace(/(iv)$/, ''); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + } + } else if(word.search(/(eus)$/) != -1){ + var a6Index2 = word.search(/(eus)$/); + if(a6Index2 >=r2Index){ + word = word.substring(0, a6Index2); + } else if(a6Index2 >= r1Index){ + word = word.substring(0,a6Index2)+"eux"; + } + } else if(word.search(/(abl|iqU)$/) >= r2Index){ + word = word.replace(/(abl|iqU)$/,''); //if preceded by abl or iqU, delete if in R2, + } else if(word.search(/(ièr|Ièr)$/) >= rvIndex){ + word = word.replace(/(ièr|Ièr)$/,'i'); //if preceded by abl or iqU, delete if in R2, + } + } else if(a7Index != -1 && a7Index >= r2Index){ + word = word.substring(0,a7Index); //delete if in R2 + if(word.search(/(abil)$/) != -1){ //if preceded by abil, delete if in R2, else replace by abl, otherwise, + var a7Index2 = word.search(/(abil)$/); + if(a7Index2 >=r2Index){ + word = word.substring(0, a7Index2); + } else { + word = word.substring(0,a7Index2)+"abl"; + } + } else if(word.search(/(ic)$/) != -1){ + var a7Index3 = word.search(/(ic)$/); + if(a7Index3 != -1 && a7Index3 >= r2Index){ + word = word.substring(0, a7Index3); //if preceded by ic, delete if in R2, + } else { //else replace by iqU + word = word.replace(/(ic)$/,'iqU'); + } + } else if(word.search(/(iv)$/) != r2Index){ + word = word.replace(/(iv)$/,''); + } + } else if(a8Index != -1 && a8Index >= r2Index){ + word = word.substring(0,a8Index); + if(word.search(/(at)$/) >= r2Index){ + word = word.replace(/(at)$/, ''); + if(word.search(/(ic)$/) >= r2Index){ + word = word.replace(/(ic)$/, ''); + } else { word = word.replace(/(ic)$/, 'iqU'); } + } + } else if(a9Index != -1){ word = word.replace(/(eaux)/,'eau') + } else if(a10Index >= r1Index){ word = word.replace(/(aux)/,'al') + } else if(a11Index != -1 ){ + var a11Index2 = word.search(/(euse|euses)$/); + if(a11Index2 >=r2Index){ + word = word.substring(0, a11Index2); + } else if(a11Index2 >= r1Index){ + word = word.substring(0, a11Index2)+"eux"; + } + } else if(a12Index!=-1 && a12Index>=r1Index){ + word = word.substring(0,a12Index+1); //+1- amendment to non-vowel + } else if(a13Index!=-1 && a13Index>=rvIndex){ + word = word.replace(/(amment)$/,'ant'); + } else if(a14Index!=-1 && a14Index>=rvIndex){ + word = word.replace(/(emment)$/,'ent'); + } else if(a15Index!=-1 && a15Index>=rvIndex){ + word = word.substring(0,a15Index+1); + } + + /* Step 2a: Verb suffixes beginning i*/ + var wordStep1 = word; + var step2aDone = false; + if(oriWord == word.toLowerCase() || oriWord.search(/(amment|emment|ment|ments)$/) != -1){ + step2aDone = true; + var b1Regex = /([^aeiouyâàëéêèïîôûù])(îmes|ît|îtes|i|ie|ies|ir|ira|irai|iraIent|irais|irait|iras|irent|irez|iriez|irions|irons|iront|is|issaIent|issais|issait|issant|issante|issantes|issants|isse|issent|isses|issez|issiez|issions|issons|it)$/i; + if(word.search(b1Regex) >= rvIndex){ + word = word.replace(b1Regex,'$1'); + } + } + + /* Step 2b: Other verb suffixes*/ + if (step2aDone && wordStep1 == word) { + if (word.search(/(ions)$/) >= r2Index) { + word = word.replace(/(ions)$/, ''); + } else { + var b2Regex = /(é|ée|ées|és|èrent|er|era|erai|eraIent|erais|erait|eras|erez|eriez|erions|erons|eront|ez|iez)$/i; + if (word.search(b2Regex) >= rvIndex) { + word = word.replace(b2Regex, ''); + } else { + var b3Regex = /e(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex) >= rvIndex) { + word = word.replace(b3Regex, ''); + } else { + var b3Regex2 = /(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i; + if (word.search(b3Regex2) >= rvIndex) { + word = word.replace(b3Regex2, ''); + } + } + } + } + } + + if(oriWord != word.toLowerCase()){ + /* Step 3 */ + var rep = ''; + if(word.search(/Y$/) != -1) { + word = word.replace(/Y$/, 'i'); + } else if(word.search(/ç$/) != -1){ + word = word.replace(/ç$/, 'c'); + } + } else { + /* Step 4 */ + //If the word ends s, not preceded by a, i, o, u, è or s, delete it. + if (word.search(/([^aiouès])s$/) >= rvIndex) { + word = word.replace(/([^aiouès])s$/, '$1'); + } + var e1Index = word.search(/ion$/); + if (e1Index >= r2Index && word.search(/[st]ion$/) >= rvIndex) { + word = word.substring(0, e1Index); + } else { + var e2Index = word.search(/(ier|ière|Ier|Ière)$/); + if (e2Index != -1 && e2Index >= rvIndex) { + word = word.substring(0, e2Index) + "i"; + } else { + if (word.search(/e$/) >= rvIndex) { + word = word.replace(/e$/, ''); //delete last e + } else if (word.search(/guë$/) >= rvIndex) { + word = word.replace(/guë$/, 'gu'); + } + } + } + } + + /* Step 5: Undouble */ + //word = word.replace(/(en|on|et|el|eil)(n|t|l)$/,'$1'); + word = word.replace(/(en|on)(n)$/,'$1'); + word = word.replace(/(ett)$/,'et'); + word = word.replace(/(el|eil)(l)$/,'$1'); + + /* Step 6: Un-accent */ + word = word.replace(/[éè]([^aeiouyâàëéêèïîôûù]+)$/,'e$1'); + word = word.toLowerCase(); + return word; +}; + +var eqOut = new Array(); +var noteqOut = new Array(); +var eqCount = 0; +/* +To test the stemming, create two arrays named "voc" and "COut" which are for vocabualary and the stemmed output. +Then add the vocabulary strings and output strings. This method will generate the stemmed output for "voc" and will +compare the output with COut. + (I used porter's voc and out files and did a regex to convert them to js objects. regex: /");\nvoc.push("/g . This + will add strings to voc array such that output would look like: voc.push("foobar"); ) drop me an email for any help. + */ +function testFr(){ + var start = new Date().getTime(); //execution time + eqCount = 0; + eqOut = new Array(); + noteqOut = new Array(); + for(var k=0;k + + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="set" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="book" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="part" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="division.title" + param:node="ancestor-or-self::part[1]"/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="div"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="reference" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> +<!-- uncomment this if you want refentry titlepages + <title t:force="1" + t:named-template="refentry.title" + param:node="ancestor-or-self::refentry[1]"/> +--> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator/> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::dedication[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::acknowledgements[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="preface" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="topic" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="section" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::bibliography[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::glossary[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="index" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::index[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::setindex[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> +<t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="formal.object.heading" + param:object="ancestor-or-self::sidebar[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/titlepage.templates.xsl new file mode 100644 index 0000000000..65309efea8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/titlepage.templates.xsl @@ -0,0 +1,3860 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="article.titlepage.verso"> +</xsl:template> + +<xsl:template name="article.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="article.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="article.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="article.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="article.titlepage.before.recto"/> + <xsl:call-template name="article.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="article.titlepage.before.verso"/> + <xsl:call-template name="article.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="article.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="set.titlepage.verso"> +</xsl:template> + +<xsl:template name="set.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="set.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="set.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="set.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="set.titlepage.before.recto"/> + <xsl:call-template name="set.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="set.titlepage.before.verso"/> + <xsl:call-template name="set.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="set.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="book.titlepage.verso"> +</xsl:template> + +<xsl:template name="book.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="book.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="book.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="book.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="book.titlepage.before.recto"/> + <xsl:call-template name="book.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="book.titlepage.before.verso"/> + <xsl:call-template name="book.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="book.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="part.titlepage.verso"> +</xsl:template> + +<xsl:template name="part.titlepage.separator"> +</xsl:template> + +<xsl:template name="part.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="part.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="part.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="part.titlepage.before.recto"/> + <xsl:call-template name="part.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="part.titlepage.before.verso"/> + <xsl:call-template name="part.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="part.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="partintro.titlepage.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage.separator"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage"> + <div> + <xsl:variable name="recto.content"> + <xsl:call-template name="partintro.titlepage.before.recto"/> + <xsl:call-template name="partintro.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="partintro.titlepage.before.verso"/> + <xsl:call-template name="partintro.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="partintro.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="reference.titlepage.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="reference.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="reference.titlepage.before.recto"/> + <xsl:call-template name="reference.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="reference.titlepage.before.verso"/> + <xsl:call-template name="reference.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="reference.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="refentry.titlepage.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage.separator"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refentry.titlepage.before.recto"/> + <xsl:call-template name="refentry.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refentry.titlepage.before.verso"/> + <xsl:call-template name="refentry.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="refentry.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="dedication.titlepage.recto"> + <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="dedicationinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="dedication.titlepage.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage.separator"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="dedication.titlepage.before.recto"/> + <xsl:call-template name="dedication.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="dedication.titlepage.before.verso"/> + <xsl:call-template name="dedication.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="dedication.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.recto"> + <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="acknowledgementsinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.separator"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="acknowledgements.titlepage.before.recto"/> + <xsl:call-template name="acknowledgements.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="acknowledgements.titlepage.before.verso"/> + <xsl:call-template name="acknowledgements.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="acknowledgements.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <xsl:choose> + <xsl:when test="prefaceinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="preface.titlepage.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage.separator"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="preface.titlepage.before.recto"/> + <xsl:call-template name="preface.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="preface.titlepage.before.verso"/> + <xsl:call-template name="preface.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="preface.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="chapter.titlepage.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage.separator"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="chapter.titlepage.before.recto"/> + <xsl:call-template name="chapter.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="chapter.titlepage.before.verso"/> + <xsl:call-template name="chapter.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="chapter.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="topic.titlepage.recto"> + <xsl:choose> + <xsl:when test="topicinfo/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="topicinfo/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revhistory"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="topic.titlepage.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage.separator"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="topic.titlepage.before.recto"/> + <xsl:call-template name="topic.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="topic.titlepage.before.verso"/> + <xsl:call-template name="topic.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="topic.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="appendix.titlepage.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage.separator"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="appendix.titlepage.before.recto"/> + <xsl:call-template name="appendix.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="appendix.titlepage.before.verso"/> + <xsl:call-template name="appendix.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="appendix.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="section.titlepage.verso"> +</xsl:template> + +<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="section.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="section.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="section.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="section.titlepage.before.recto"/> + <xsl:call-template name="section.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="section.titlepage.before.verso"/> + <xsl:call-template name="section.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="section.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect1info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect1info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="sect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect1.titlepage.before.recto"/> + <xsl:call-template name="sect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect1.titlepage.before.verso"/> + <xsl:call-template name="sect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect1.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect2info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect2info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="sect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect2.titlepage.before.recto"/> + <xsl:call-template name="sect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect2.titlepage.before.verso"/> + <xsl:call-template name="sect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect2.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect3info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect3info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="sect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect3.titlepage.before.recto"/> + <xsl:call-template name="sect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect3.titlepage.before.verso"/> + <xsl:call-template name="sect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect3.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect4.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect4info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect4info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="sect4.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect4.titlepage.before.recto"/> + <xsl:call-template name="sect4.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect4.titlepage.before.verso"/> + <xsl:call-template name="sect4.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect4.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect5.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect5info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect5info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="sect5.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect5.titlepage.before.recto"/> + <xsl:call-template name="sect5.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect5.titlepage.before.verso"/> + <xsl:call-template name="sect5.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect5.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> +</xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="simplesect.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="bibliography.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliography.titlepage.before.recto"/> + <xsl:call-template name="bibliography.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliography.titlepage.before.verso"/> + <xsl:call-template name="bibliography.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="bibliography.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="glossary.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossary.titlepage.before.recto"/> + <xsl:call-template name="glossary.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossary.titlepage.before.verso"/> + <xsl:call-template name="glossary.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="glossary.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="index.titlepage.recto"> + <div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="indexinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="index.titlepage.verso"> +</xsl:template> + +<xsl:template name="index.titlepage.separator"> +</xsl:template> + +<xsl:template name="index.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="index.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="index.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="index.titlepage.before.recto"/> + <xsl:call-template name="index.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="index.titlepage.before.verso"/> + <xsl:call-template name="index.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="index.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="setindex.titlepage.recto"> + <div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="setindexinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="setindex.titlepage.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage.separator"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="setindex.titlepage.before.recto"/> + <xsl:call-template name="setindex.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="setindex.titlepage.before.verso"/> + <xsl:call-template name="setindex.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="setindex.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sidebar.titlepage.recto"> + <xsl:choose> + <xsl:when test="sidebarinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sidebarinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="sidebar.titlepage.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.separator"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sidebar.titlepage.before.recto"/> + <xsl:call-template name="sidebar.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sidebar.titlepage.before.verso"/> + <xsl:call-template name="sidebar.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sidebar.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:call-template name="formal.object.heading"> +<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/> +</xsl:call-template> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp-common.xsl b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp-common.xsl new file mode 100644 index 0000000000..651e63822c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp-common.xsl @@ -0,0 +1,943 @@ +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns:ng="http://docbook.org/docbook-ng" + xmlns:db="http://docbook.org/ns/docbook" + version="1.0" xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="exsl ng db"> + + <!-- ******************************************************************** + $Id$ + ******************************************************************** + + This file is part customization layer on top of the XSL DocBook + Stylesheet distribution that generates webhelp output. + + ******************************************************************** --> + + <xsl:param name="chunker.output.method"> + <xsl:choose> + <xsl:when test="contains(system-property('xsl:vendor'), 'SAXON 6')">saxon:xhtml</xsl:when> + <xsl:otherwise>html</xsl:otherwise> + </xsl:choose> + </xsl:param> + + <xsl:param name="doc.title"> + <xsl:call-template name="get.doc.title"/> + </xsl:param> + + <!-- Set some reasonable defaults for webhelp output --> + <xsl:param name="webhelp.common.dir">common/</xsl:param> + <xsl:param name="chunker.output.indent">yes</xsl:param> + <xsl:param name="navig.showtitles">0</xsl:param> + <xsl:param name="manifest.in.base.dir" select="0"/> + <xsl:param name="base.dir" select="concat($webhelp.base.dir,'/')"/> + <xsl:param name="suppress.navigation">0</xsl:param> + <!-- Generate the end-of-the-book index --> + <xsl:param name="generate.index" select="1"/> + <xsl:param name="inherit.keywords" select="'0'"/> + <xsl:param name="para.propagates.style" select="1"/> + <xsl:param name="phrase.propagates.style" select="1"/> + <xsl:param name="chunk.first.sections" select="1"/> + <xsl:param name="chunk.section.depth" select="3"/> + <xsl:param name="use.id.as.filename" select="1"/> + <xsl:param name="branding">not set</xsl:param> + <xsl:param name="brandname"> </xsl:param> + + <xsl:param name="section.autolabel" select="0"/> + <xsl:param name="chapter.autolabel" select="0"/> + <xsl:param name="appendix.autolabel" select="0"/> + <xsl:param name="qandadiv.autolabel" select="0"/> + <xsl:param name="reference.autolabel" select="0"/> + <xsl:param name="part.autolabel" select="0"/> + <xsl:param name="section.label.includes.component.label" select="1"/> + + <xsl:param name="generate.section.toc.level" select="5"/> + <xsl:param name="component.label.includes.part.label" select="1"/> + <xsl:param name="suppress.footer.navigation">0</xsl:param> + <xsl:param name="callout.graphics.path"><xsl:value-of select="$webhelp.common.dir"/>images/callouts/</xsl:param> + <xsl:param name="callouts.extension">1</xsl:param> + <xsl:param name="admon.graphics.path"><xsl:value-of select="$webhelp.common.dir"/>images/admon/</xsl:param> + <xsl:param name="admon.graphics" select="0"/> + <!--xsl:param name="generate.toc">book toc</xsl:param--> + +<xsl:param name="generate.toc"> +appendix toc,title +article/appendix nop +article toc,title +book title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title +</xsl:param> + + <!-- Localizations of webhelp specific words. Your contributions for other languages are appreciated. + Currently, only around 10 translations needed. --> + <!-- Moved to files under 'gentext/locale/', search for WebHelp --> + + <xsl:template name="user.head.title"> + <xsl:param name="node" select="."/> + <xsl:param name="title"> + <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/> + </xsl:param> + <xsl:param name="document-title"> + <xsl:apply-templates select="/*" mode="object.title.markup.textonly"/> + </xsl:param> + + <title> + <xsl:copy-of select="$title"/> - <xsl:if test="parent::*"> - <xsl:copy-of select="$document-title"/></xsl:if> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [if IE]> + <link rel="stylesheet" type="text/css" href="../common/css/ie.css"/> + <![endif] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + language: + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + +
              + + + + + +
              + + + + + + + + + + + + + + + + + + + {$brandname} Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
            • + + webhelp-currentid + + + + + + + +
                + + + +
              +
              +
            • +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="//title[1]"/>  + + + If not automatically redirected, click content/ + + + + + + + + + + + + + + + + //Resource strings for localization + var localeresource = new Object; + localeresource["search_no_results"]=" + + + "; + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp.xsl b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp.xsl new file mode 100644 index 0000000000..6627f53d4f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/webhelp/xsl/webhelp.xsl @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/website/autolayout.xsl b/apache-fop/src/test/resources/docbook-xsl/website/autolayout.xsl new file mode 100644 index 0000000000..461bfcea8f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/website/autolayout.xsl @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All toc entries must have a page attribute. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All toc entries must have an href attribute. + + + + + + All href toc entries must have an id attribute. + + + + + off site: + + + + + + + + + + + + + + + + + + Off-site links must provide a title. + + + + + + + + + + + + + All toc entries must have a page attribute. + + + + + + + + + : missing ID. + + + + + + + + + + + + + + index.html + + + + + + + + + + + : missing filename. + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:apply-templates select="$page/*[1]/head/title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + / + + + + + + + / + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/website/chunk-common.xsl b/apache-fop/src/test/resources/docbook-xsl/website/chunk-common.xsl new file mode 100644 index 0000000000..d750c058dd --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/website/chunk-common.xsl @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Fail: tocentry has both page and href attributes. + + + + + + + + + index.html + + + + + + + + + + + + + + + + + + + + + does not exist. + + + + + + + + does not exist. + + + + + + + + + + + + + + + + + + / + + + + + + + + 0 + + + + 1 + + 0 + + + + + + 1 + + 0 + + + 1 + + + + + + + Update: + + : + + + + + + + + + + + + + + + + + + Up-to-date: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must specify a $website.database.document parameter when + $collect.xref.targets is set to 'yes' or 'only'. + The xref targets were not collected. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/website/chunk-tabular.xsl b/apache-fop/src/test/resources/docbook-xsl/website/chunk-tabular.xsl new file mode 100644 index 0000000000..cdf97cfd4c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/website/chunk-tabular.xsl @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/website/chunk-website.xsl b/apache-fop/src/test/resources/docbook-xsl/website/chunk-website.xsl new file mode 100644 index 0000000000..a9179a08d4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/website/chunk-website.xsl @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/website/head.xsl b/apache-fop/src/test/resources/docbook-xsl/website/head.xsl new file mode 100644 index 0000000000..e3ac308049 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/website/head.xsl @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="."/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JavaScript + + + + + + + + + text/javascript + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/ebnf.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/ebnf.xsl new file mode 100644 index 0000000000..8c0c9b3793 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/ebnf.xsl @@ -0,0 +1,327 @@ + + + + + + + +$Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ + +Walsh +Norman +19992000 +Norman Walsh + + +HTML EBNF Reference + + +
              Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This reference describes the templates and parameters relevant +to formatting EBNF markup. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
              +
              +
              + + + + + + + background-color: + + + + + 1 + + + + + + EBNF + + for + + + + + + + + + + + + +
              + + +
              + + + background-color: + + + + + + + EBNF productions + +
              +
              +
              + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + Error: no ID for productionrecap linkend: + + . + + + + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + + + + + + + + + + + + + + + | +
              +
              +
              + + + + + + + + + + + + + + + production + + + + + + + + + Non-terminals with no content must point to + production elements in the current document. + + + Invalid xpointer for empty nt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + /*  + +  */ +
              +
              + + + + + + + + + constraintdef + + + + + + + + + + + + + + + + : + + + + + + + : + + + + + + + + + +  ] + +
              +
              +
              + + +
              + + + + +
              +
              + + +

              +
              + + + +
              \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/footnote.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/footnote.xsl new file mode 100644 index 0000000000..80d3f6e83d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/footnote.xsl @@ -0,0 +1,327 @@ + + + + + + + + + + + + + #ftn. + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + +ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. +Typically this happens when an id attribute is accidentally applied to the child of a footnote element. +target element: +linkend/id: + + + + + + + + + + + + #ftn. + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + ftn. + + + + + + # + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + +
              +
              + + +
              +
              +

              The following annotations are from this essay. You are seeing + them here because your browser doesn’t support the user-interface + techniques used to make them appear as ‘popups’ on modern browsers.

              +
              + + +
              +
              +
              + + + + + + + + + + + + ftn. + + + + + + + +
              + + +
              +
              + + +
              + + + + +
              +
              + + + + Warning: footnote number may not be generated + correctly; + + unexpected as first child of footnote. + +
              + + + +
              +
              +
              +
              + + + + + + + + +
              \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/formal.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/formal.xsl new file mode 100644 index 0000000000..d32839ad5d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/formal.xsl @@ -0,0 +1,494 @@ + + + + + + + +1 + + + + + + + + + + +
              + + + + + + + + + + +
              + +
              + + + + + +

              + + +

              +

              + + + + + + + +
              +
              + +
              +
              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + + + + + + + + + + +
              + +
              +
              + +

              + + + +

              +
              +
              +
              + + + + + + + +
              + +

              + + + + + + + + +

              +

              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + before + + + + + + + + + +
              + + + + + + + + + + + + +
              + +
              + + + +

              + + +

              + +

              + +
              + + + + + +
              +
              + +
              +
              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + Broken table: tr descendent of CALS Table. + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + Broken table: row descendent of HTML table. + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + float: + + ; + + + +
              +
              + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/glossary.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/glossary.xsl new file mode 100644 index 0000000000..ade6ae7a54 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/glossary.xsl @@ -0,0 +1,598 @@ + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + +
              +
              + + + +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + +
              + + + + + + +
              + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + +
              + + + + + + +
              + + + + + + + + + + +
              +
              +
              + + +

              + + +

              +
              + + + + + + + + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + + + + + +
              +
              + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + +
              +
              + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + +
              +
              +
              + + +
              + + + + + + + + + , + + + + + , + + + + + , + + + + + + + + + + + +
              +

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glosssee @otherterm reference not found: + + + + + + + + + + + + + + +

              +
              +
              + + +
              + + + + + +

              + + + + + + + + + + + + + +

              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossseealso @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + Warning: processing automatic glossary but unable to + open glossary.collection file ' + + ' + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + +
              + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + +
              \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/graphics.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/graphics.xsl new file mode 100644 index 0000000000..458809f506 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/graphics.xsl @@ -0,0 +1,1510 @@ + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + 1 + 0 + + + + + + 1.0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-align: + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: imagemaps not supported + on scaled images + + + + 0 + + + + + + + + + + + + + + + + + + text-align: + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manufactured viewport for HTML img + + + cellpadding: 0; cellspacing: 0; + + + + + + + + + + + + + height: + + px + + + + + + + + + + + +
              + + + + + background-color: + + + + + background-color: + + + + + + + text-align: + + + + + + + + + +
              +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + calspair + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + , + + , + + + + + + + + + + + + Warning: only calspair or + otherunits='imagemap' supported + in imageobjectco + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-align: + + middle + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + text-align: + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + text-align: + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + +
              + + + + text-align: + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/highlight.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/highlight.xsl new file mode 100644 index 0000000000..222a05599e --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/highlight.xsl @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html-rtf.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html-rtf.xsl new file mode 100644 index 0000000000..e079a738a0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html-rtf.xsl @@ -0,0 +1,321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              + + + + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + +
              + +
              + + + + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html.xsl new file mode 100644 index 0000000000..bfbacbae55 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/html.xsl @@ -0,0 +1,684 @@ + + + + + + + + + + + + left + right + left + + + + + + right + left + right + + + + + + ltr + rtl + ltr + + + + + +div + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + # + + + + + + + + + + + + + + + + + + + bullet + + + + + + + + + bullet + + + © + + + ® + (SM) +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ID recommended on + + + : + + + + ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: no root element for CSS source file' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: missing CSS input filename. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/htmltbl.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/htmltbl.xsl new file mode 100644 index 0000000000..1f05962dd2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/htmltbl.xsl @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + float: + + left + right + + + + + + + + + + + + + none + none + + ; + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/index.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/index.xsl new file mode 100644 index 0000000000..427b602f70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/index.xsl @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              +
              +
              + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + +
              + + + + +
              + +
              +
              +
              + + +

              + + +

              +
              + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + + + +
              +
              + + + + + + + + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              +
              +
              + + +
              + ( + + + + + + ) +
              +
              + + +
              + ( + + + + + + ) +
              +
              + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/info.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/info.xsl new file mode 100644 index 0000000000..224e1eeeaf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/info.xsl @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/inline.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/inline.xsl new file mode 100644 index 0000000000..c13fa44ca3 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/inline.xsl @@ -0,0 +1,1490 @@ + + + + + + + + + + + + + + + + + + + _blank + _top + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XLink to nonexistent id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + span + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + , + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + abbr + + + + + + acronym + + + + + + + + + + + + + + + + + + + + + + + + + + http://example.com/cgi-bin/man.cgi? + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossary.collection specified, but there are + + automatic glossaries + + + + + + + + + + + + + + + + + + + + + + + + There's no entry for + + in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error: no glossentry for glossterm: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element + + + + + + + + + + + + + + + + </ + + > + + + & + + ; + + + &# + + ; + + + % + + ; + + + <? + + > + + + <? + + ?> + + + < + + > + + + < + + /> + + + <!-- + + --> + + + + + + + + + + + + + + + + + + + + + + < + + + + + + mailto: + + + + + + > + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + + [ + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + +

              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/keywords.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/keywords.xsl new file mode 100644 index 0000000000..5f6b4fb06f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/keywords.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + , + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/lists.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/lists.xsl new file mode 100644 index 0000000000..6c0e5fab82 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/lists.xsl @@ -0,0 +1,1199 @@ + + + + + + + + + + + + + + + compact + + + + + + + + + list-style-type: + + ; + + +
              + + + + + + + + + + +
                + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + circle + disc + square + + + + + + +
            • + + + + + list-style-type: + + + + + + + + + + + +
              + +
              +
              + + + +
              +
            • +
              + + + + + + + compact + + + + + + + + + + + + + + 1 + a + i + A + I + + + + Unexpected numeration: + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + +
                + + + + Strict XHTML does not allow setting @start attribute for lists! + + + + +
              +
              +
              +
              +
              + + + + + + +
            • + + + @override attribute cannot be set in strict XHTML output for listitem: + + + + + + + + +
              + +
              +
              + + + +
              +
            • +
              + + + + + + + + + + + + + + +
              + +
              +
              + + + +
              + + +
              + + + + + + + + + + compact + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + +
              + + + + +
              +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + + + + + + + + + + +

              +
              +
              +
              + + +
              + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              +
              +
              +
              + + + + + + + + + +
              + +
              +
              + + + +
              +
              + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + +
              + + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + + + + + +
                + + +
              +
              + +
                + + + +
              +
              +
              + + + + +
              +
              + + + + + +decimallower-alphalower-romanupper-alphaupper-romanWarning: unknown procedure.step.numeration value:
                list-style-type:
              + + +
            • + + + + +
            • +
              + + + +
                + + + +
              +
              + + +

              + + + + +

              +
              + + + + + + + + +
              + + + + + + + + + + + + + + + + + + +
              +
              + + +
              + + + + + + + +
              +
              + + + + + + + + + +
              + + + + +
              +
              + + + + + + + + +
              + + + + + + : + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + Callout list + + +
              +
              + +
              + + +
              +
              +
              +
              +
              + + + + + + + + + + + + + + + + +

              + + + + +

              + + + + + +
              + +
              + + + + + +
              +
              +
              +
              +
              + + + + + + + + + +

              + + + + + + + + + + + + + + + + +

              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/maketoc.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/maketoc.xsl new file mode 100644 index 0000000000..d1f710f8fc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/maketoc.xsl @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + filename=" + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/manifest.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/manifest.xsl new file mode 100644 index 0000000000..26b51d0679 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/manifest.xsl @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/math.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/math.xsl new file mode 100644 index 0000000000..e1c3c76c70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/math.xsl @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unsupported TeX math notation: + + + + + + + + + + + + + \nopagenumbers + + + + + \bye + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $ + + + + $ + + + \vfill\eject + + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $$ + + + + $$ + + + \vfill\eject + + + + + + + + + + \documentclass{article} + + \pagestyle{empty} + + \begin{document} + + + + + \end{document} + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $ + + + + $ + + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $$ + + + + $$ + + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/oldchunker.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/oldchunker.xsl new file mode 100644 index 0000000000..e727bf11d5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/oldchunker.xsl @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + +Encoding used in generated HTML pages + +This encoding is used in files generated by chunking stylesheet. Currently +only Saxon is able to change output encoding. + + + + + + + + + +Saxon character representation used in generated HTML pages + +This character representation is used in files generated by chunking stylesheet. If +you want to suppress entity references for characters with direct representation +in default.encoding, set this parameter to value native. + + + + + + + + + + + + + + + + + + + + + + + + Chunking isn't supported with + + + + + + + + + + + + + + + Writing + + + for + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + + + + + + + + + + + Writing + + + for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/onechunk.xsl new file mode 100644 index 0000000000..15a04e1a07 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/onechunk.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/param.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/param.xsl new file mode 100644 index 0000000000..cd342f5bd8 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/param.xsl @@ -0,0 +1,440 @@ + + + + + + +.png + +images/ + + + + + + +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } + + +http://docbook.sourceforge.net/release/images/annot-close.png +http://docbook.sourceforge.net/release/images/annot-open.png + + +http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js + + +A + + +. + +. +http://docbook.sourceforge.net/release/bibliography/bibliography.xml + + +normal + + +60 +.png + + +15 + +images/callouts/ + + +10 +10102 + + + + + + + + + + + + +no + +1 + + + + + + left + before + + + +all + + +docbook.css.xml +no +images/draft.png + +::= + + + + +#F5DCB3 + + +com.example.help +DocBook Online Help Sample +Example provider +1 + + + + + + 1 + 0 + + + + +1 + + + +figure before +example before +equation before +table before +procedure before +task before + + +kr + + + + + + + + + + + +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title + + + + +no + + + + + + + + + + + + + +.html + + +copyright + + + +text/javascript + +text/css +alias.h + + + + + + + +User1 + + +User2 + + + + + + + + + +htmlhelp.chm + + +iso-8859-1 + + + + + +toc.hhc +5 + + +index.hhk +htmlhelp.hhp + +Main + +context.h + + + + + + + + + + + + + +basic + + + + + + + +no + +no +iso-8859-1 + + +en + + + + +5 + + +3 + + + + + + + HTML.manifest + + + + ++ +.gif + +images/ +1 + + +6in + + +no + + + replace + +0 + +I + +90 +10 + + + + + + + + + + + + + + + + +; + + + + + +. +number + + + + + + + + + + I +index + +. +.!?: + +8 + + + + + 0 + background-color: #E0E0E0 + + + + + + +0 + + + + + +solid +0.5pt +a + + + +solid +0.5pt + + olinkdb.xml +target.db + +tex-math-equations.tex + + + +dl +8 +2 + + + + + + + + + +0 +, +0 +docs +../common/ +index.html +true +en +index.html + + + + writing-mode + + + + + + + + +: + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/pi.xsl new file mode 100644 index 0000000000..ff966fdb02 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/pi.xsl @@ -0,0 +1,1236 @@ + + + + + + + +HTML Processing Instruction Reference + + $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Sets background color for an image + + Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbhtml background-color="color" + + + + background-color="color" + + An HTML color value + + + + + + Background color + + + + + + + + + + + + Sets background color on a CALS table row or table cell + + Use the dbhtml bgcolor PI as child of a CALS table row + or cell to set a background color for that table row or cell. + + + dbhtml bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + + + + + + + + + + + + Specifies cellpadding in CALS table or qandaset output + + Use the dbhtml cellpadding PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + + dbhtml cellpadding="number" + + + + cellpadding="number" + + Specifies the cellpadding + + + + + + html.cellpadding + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Specifies cellspacing in CALS table or qandaset output + + Use the dbhtml cellspacing PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + + dbhtml cellspacing="number" + + + + cellspacing="number" + + Specifies the cellspacing + + + + + + html.cellspacing + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Set value of the class attribute for a CALS table row + + Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + + dbhtml class="name" + + + + class="name" + + Specifies the class name + + + + + + Table styles in HTML output + + + + + + + + + + + + Specifies a directory name in which to write files + + When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + +The output directory specification is inherited by all +chunks of the descendants of the element. If descendants need +to go to a different directory, then add another +dbhtml dir processing +instruction as a child of the source element +for that chunk, and specify the path relative to the +ancestor path. + +For example, to put most chunk files into +shared +but one chapter into +exception +at the same level, use: + +<book> + <?dbhtml dir="shared"?> + ... + <chapter> + <?dbhtml dir="../exception"?> + </chapter> +</book> + + + + + + dbhtml dir="path" + + + + dir="path" + + Specifies the pathname for the directory + + + + + + base.dir + + + dbhtml dir processing instruction + + + + + + + + + + + + Specifies a filename for a chunk + +When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. Include the filename suffix. + +You cannot include a directory path in the filename value, +or your links may not work. Add a +dbhtml dir processing instruction +to specify the output directory. You can also combine the two +specifications in one processing instruction: +dbhtml dir="mydir" filename="myfile.html". + + + + dbhtml filename="filename" + + + + filename="path" + + Specifies the filename for the file + + + + + + use.id.as.filename + + + dbhtml filenames + + + + + + + + + + + + Specifies presentation style for a funcsynopsis + + Use the dbhtml funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbhtml funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays funcprototype output in K&R style + + + funcsynopsis-style="ansi" + + Displays funcprototype output in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + + + Specifies a path to the location of an image file + + Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + + dbhtml img.src.path="path" + + + + img.src.path="path" + + Specifies the pathname to prepend to the name of the image file + + + + + + img.src.path + + + Using fileref + + + + + + + + + + + + Specifies the label width for a qandaset + + Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + + dbhtml label-width="width" + + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + + + + + + + + + + + + Specifies interval for line numbers in verbatims + + Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + + dbhtml linenumbering.everyNth="N" + + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + + + + + + + + + + + + Specifies separator text for line numbers in verbatims + + Use the dbhtml linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + + dbhtml linenumbering.separator="text" + + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + + + + + + + + + + + + Specifies width for line numbers in verbatims + + Use the dbhtml linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + + dbhtml linenumbering.width="width" + + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + + + + + + + + + + + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbhtml list-presentation="list"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="table" + + Displays the list as a table + + + + + + + + variablelist.as.table + + + segmentedlist.as.table + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the width of a variablelist or simplelist + + Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + + dbhtml list-width="width" + + + + list-width="width" + + Specifies the output width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the height for a CALS table row + + Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + + dbhtml row-height="height" + + + + row-height="height" + + Specifies the row height (including units) + + + + + + Row height + + + + + + + + + + + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbhtml start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + + + + + + + + + Do not chunk any descendants of this element. + + When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: +<section> +<title>Configuring pencil</title> +<?dbhtml stop-chunking?> + +... + +</section> + + + + dbhtml stop-chunking + + + Chunking into multiple HTML files + + + + + + Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output + + Use the dbhtml table-summary PI as a child of + a CALS table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + Variable list formatting in HTML, + Table summary text + + + + + + + + + + + + Specifies the width for a CALS table + + Use the dbhtml table-width PI as a child of a + CALS table to specify the width of the table in + output. + + + dbhtml table-width="width" + + + + table-width="width" + + Specifies the table width (including units or as a percentage) + + + + + + default.table.width + + + Table width + + + + + + + + + + + + Sets character formatting for terms in a variablelist + + Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + + + term-presentation="bold" + + Specifies that terms are displayed in bold + + + term-presentation="italic" + + Specifies that terms are displayed in italic + + + term-presentation="bold-italic" + + Specifies that terms are displayed in bold-italic + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies separator text among terms in a varlistentry + + Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + + dbhtml term-separator="text" + + + + term-separator="text" + + Specifies the text (zero or more characters) + + + + + + variablelist.term.separator + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the term width for a variablelist + + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbhtml term-width="width" + + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies whether a TOC should be generated for a qandaset + + Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + + dbhtml toc="0"|"1" + + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + + + + + + + + + + + + Generates a hyperlinked list of commands + + Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list” will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. + + + dbcmdlist + + + [No parameters] + + + + + + No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? + + +
              + + + +
              +
              + + + Generates a hyperlinked list of functions + + Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list” will be generated at the top of + output for that element, enabling users to quickly + jump to to each function synopsis. + + + dbfunclist + + + [No parameters] + + + + + + No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? + + +
              + + + +
              +
              + + + Copies an external well-formed HTML/XML file into current doc + + Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is” into your HTML output at the point in document order + where the PI occurs in the source. + + The referenced file may contain plain text (as long as + it is “wrapped” in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper” when + they find it, leaving just the content you want to + insert. + + + + dbhtml-include href="URI" + + + + href="URI" + + Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + textinsert.extension + + + Inserting external HTML code, + External code files + + + + + + + href + + + + + + + + + + + + + + + + + + + + ERROR: dbhtml-include processing instruction + href has no content. + + + + + + + ERROR: dbhtml-include processing instruction has + missing or empty href value. + + + + + + + + Sets topic name and topic id for context-sensitive HTML Help + + Use the dbhh PI as a child of components + that should be used as targets for context-sensitive help requests. + + + dbhh topicname="name" topicid="id" + + + + topicname="name" + + Specifies a unique string constant that identifies a help topic + + + topicid="id" + + Specifies a unique integer value for the topicname string + + + + + + Context-sensitive help + + + + + + + + + + filename + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + # + + + + + + + + + + + + + + + + + + +
              + + + + + +
              +
              +
              + + + + + + + + + + + + + + + +
              + + + # + + + + + + + + + + + + + + + + + + +
              + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + / + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk-code.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk-code.xsl new file mode 100644 index 0000000000..8b86447beb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk-code.xsl @@ -0,0 +1,641 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bk + + + + + + + + + + + + + + + ar + + + + + + + + + + + + + + + pr + + + + + + + + + + + + + + + ch + + + + + + + + + + + + + + + ap + + + + + + + + + + + + + + + + + + + pt + + + + + + + + + + + + + + + + + + + rn + + + + + + + + + + + + + + + + + + + + + + + + re + + + + + + + + + + + + + + + + + + + co + + + + + + + + + + + s + + + + + + + + + + + + + + + + + + + bi + + + + + + + + + + + + + + + + + + + go + + + + + + + + + + + + + + + + + + + ix + + + + + + + + si + + + + + + + + + + + + + + + + + + + to + + + + + + + + chunk-filename-error- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk.xsl new file mode 100644 index 0000000000..1ecdd488ee --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-chunk.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-docbook.xsl new file mode 100644 index 0000000000..4238c86202 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-docbook.xsl @@ -0,0 +1,503 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-onechunk.xsl new file mode 100644 index 0000000000..d0a62ea17c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/profile-onechunk.xsl @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/qandaset.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/qandaset.xsl new file mode 100644 index 0000000000..1b3d4c539b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/qandaset.xsl @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + +
              +
              + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + +
              + + + + +
              + + + +
              + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + width: 100%; + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1% + + + + + + + + + +
              +
              + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/refentry.xsl new file mode 100644 index 0000000000..93f43a9734 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/refentry.xsl @@ -0,0 +1,305 @@ + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + +
              +
              + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + +
              + + + + + + + + + + + +

              + + + +

              +
              + +

              + + + + + + + + +

              +
              +
              + +

              + +

              +
              +
              + + + + + + , + + + + + + + + + em-dash + + + + + + + + + + + + + + + + : + + + + + + + +
              + + + + + +

              + + + + + + + + + + +

              + +
              +
              + + + + + + + + + + + +
              + + + + + + + + + + + + +
              +
              + + + + + + 0 + 1 + + + + 6 + + + + + + + + + + + + +

              + +

              +
              + + + +

              + +

              +
              + + + +

              + +

              +
              + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/sections.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/sections.xsl new file mode 100644 index 0000000000..904a2ef228 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/sections.xsl @@ -0,0 +1,562 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + clear: both + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + 1 + + + + + + + 2 + 3 + 4 + 5 + 6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/synop.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/synop.xsl new file mode 100644 index 0000000000..8a5292d1fc --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/synop.xsl @@ -0,0 +1,1614 @@ + + + + + + + + + + + + + + +
              + +

              + + + + + + + + + + + + + + + +

              +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + ( + + ) + +   + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +    
              +    
              +    
              +  
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + +
              + +
              +

              +
              + + + + + + + ( + + + + + + + fsfunc + + + + + + + + + ) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + +
              + + + + ; +
              + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
              + +
               
              + +
              + +
              +
              +
               
              +
              + + + + + + + ( + + + + + + + fsfunc + + + + + + + + + + ) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + ; + + + + + + +

              + +

              +
              + + + + + + + ( + + + + + + + fsfunc + + + + + + + + + void) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
              + +
               
              +
               
              +
              + + + + + + + ( + + + + + + + fsfunc + + + + + + + + + + void) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + +
              +
              +
              + + + + + +
              +    
              +    
              +    
              +    
              +       extends
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + + , + + + + + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + 0 + + , +
              + + +   + + + +
              + + + + + +
              + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + ( + + + + ) + +
              +     throws  + +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    
              +    
              +      : 
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
              +     throws  + +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    interface 
              +    
              +    
              +      : 
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
              +     raises( + + ) +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    package 
              +    
              +    ;
              +    
              + + + @ISA = ( + + ); +
              +
              + + +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/table.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/table.xsl new file mode 100644 index 0000000000..e9e912fe08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/table.xsl @@ -0,0 +1,1177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + border- + + : + + + + + + ; + + + + + border- + + -width: + + ; + + + + border- + + -style: + + ; + + + + border- + + -color: + + ; + + + + + + + + + + + Error: CALS tables must specify the number of columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border: none; + + + + + border-collapse: collapse; + + + + + + + 0 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + No convertLength function available. + + + + + + + + + + + + + + + + + + + + + + + + + + No adjustColumnWidths function available. + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + text-align: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-align: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: overlapped row contains content! + + + This row intentionally left blank + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + background-color: + + + + + + + + + + + + + + + + + + + + + + text-align: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + th + th + + th + + td + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + background-color: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-align: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + : + + + + + + + + 0: + + + + + + + + + + + + + + + 0 + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-align: + + + + + + text-align: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/task.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/task.xsl new file mode 100644 index 0000000000..3a64e05afa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/task.xsl @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + before + + + + + + + + +
              + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.templates.xsl new file mode 100644 index 0000000000..a2a3cbb61a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.templates.xsl @@ -0,0 +1,4004 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + 1 + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              + + + +
              +
              + + +
              + +
              +
              + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.xsl new file mode 100644 index 0000000000..df29e6e140 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/titlepage.xsl @@ -0,0 +1,1106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + +
              + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + +
              + + + + + + + + +
              +
              + + +
              + + + + + + + + +
              +
              +
              +
              + + +
              + + + +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              + + + +

              +
              +

              + + + + + + + + + +

              + + + + + + + + + + + + + + + +
              +
              + + +
              + + + +
              +
              + + +
              + + + +

              Authors

              +
              + + + +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + +
              + + + +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + +   + + +
              + + +

              +
              +
              +
              +
              + + + + +

              Copyright

              +
              + +

              + + + + + + + + copyright + + + + + + + + + +

              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + +

              + + + +

              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + +

              + + + + + + + +

              +
              + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + +
              + + + +
              +
              +
              + +
              + + + + + + + + +
              +
              +
              +
              + + +

              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + +
              + + + +
              +
              + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + + 3 + 2 + + + + + + + + RevHistory + + + + +
              + + + + + + border-style:solid; width:100%; + + + + + + + revhistory + + + + + + + + + +
              + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + +
              +
              +
              + + + + + +

              + + + +

              +
              + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + +

              + + + + + + + + + + + + + + + + + + +

              +
              + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/toc.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/toc.xsl new file mode 100644 index 0000000000..81ec72435c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/toc.xsl @@ -0,0 +1,332 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + +
              + + +
              +
              + +
              + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + + + +
              + + + +
              + + +
              +
              + +
              + + + + + + + + + +
              +
              +
              + + + + + + + + +
              + + + + + +
              +
              + + + + + + +
              +
              +
              + + + + + +
              + + +
              + +
              + +
            • + + + +
            • +
              +
              +
              + + + + +
              + + +
              +
              + +
            • + + +
            • +
              +
              +
              + + + + + + + + + + + + + + +
              + + + + + + + + + + + + +
              + + +
              + + +
              +
              + + +
              + + +
              +
              + + + + + + + + + + + + +
              + + +
              +
              + + + +
              +
              + + + + +
              + + + + +
              + + +
              + +
              + + + +
              +
              + + + + +
              + + +
              + +
              + + + +
              +
              + + + + + Warning: don't know what to generate for + lot that has no children. + + + + +
              + + +
              +
              + + +
              + + +
              +
              + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/verbatim.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/verbatim.xsl new file mode 100644 index 0000000000..d331aa0ab4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/verbatim.xsl @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + pre + + + + The shade.verbatim parameter is deprecated. + Use CSS instead, + + + for example: pre. + + { background-color: #E0E0E0; } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The shade.verbatim parameter is deprecated. + Use CSS instead, + + + for example: pre. + + { background-color: #E0E0E0; } + + + + + + + +
              +            
              +            
              +            
              +              
              +            
              +          
              +
              + +
              + + +

              + + + +

              +
              +
              +
              +
              + + + +
              +            
              +            
              +            
              +          
              +
              + +
              + + +

              + + + +

              +
              +
              +
              +
              +
              +
              + + + + + + + + + + +
              + + +

              + + + +

              +
              +
              + + +
              + + +

              + + + +

              +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unexpected verbatim environment: + + + + + + + + + + 1 + + + + + + + + + + + + + No numberLines function available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/xref.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/xref.xsl new file mode 100644 index 0000000000..048f7e9f34 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml-1_1/xref.xsl @@ -0,0 +1,1253 @@ + + + + + +http://docbook.org/xlink/role/olink + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Endterm points to nonexistent ID: + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: xref linking to + + has no generated link text. + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XRef to nonexistent id: + + + ??? + + + + + + + + + + + + + + + + Endterm points to nonexistent ID: + + + + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + suppress anchor + + + + + + + + + + + removing + + + + + + + + + + + + + + + + + removing + + + + + + + + + + + + + + + + + + + + + + Don't know what gentext to create for xref to: " + + ", (" + + ") + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No bibliography entry: + + found in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Endterm points to nonexistent ID: + + + ??? + + + + + + + + + + + + + Link element has no content and no Endterm. + Nothing to show in the link to + + + ??? + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Olink debug: root element of target.database ' + + ' is ' + + '. + + + + + + + + + + + + + + + Error: unresolved olink: + targetdoc/targetptr = ' + + / + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: olink using obsolete attributes + @linkmode, @targetdocent, @localinfo are + not supported. + + + + + ERROR: olink is missing linking attributes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/admon.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/admon.xsl new file mode 100644 index 0000000000..9c1ff4dcab --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/admon.xsl @@ -0,0 +1,140 @@ + + + + + + + + + + 25 + + + + + + + + + + + + + + + + + + note + warning + caution + tip + important + note + + + + + + + + Note + Warning + Caution + Tip + Important + Note + + + + + + + + + +
              + + + + + + + + + + + + + + + : + + + + + + + + + + + +
              + + + + [{$alt}] + + + + + + + + + +
              + +
              +
              +
              + + +
              + + + + + + + + + + + +

              + + +

              +
              + + +
              +
              + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/annotations.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/annotations.xsl new file mode 100644 index 0000000000..3e137e8d79 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/annotations.xsl @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.css.xml b/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.css.xml new file mode 100644 index 0000000000..f1509bfd8a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.css.xml @@ -0,0 +1,110 @@ + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.xsl new file mode 100644 index 0000000000..5f3af4e691 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/docbook.xsl @@ -0,0 +1,538 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + +rtl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/ebnf.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/ebnf.xsl new file mode 100644 index 0000000000..a6ff6d7c63 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/ebnf.xsl @@ -0,0 +1,330 @@ + + + + + + + + + + +$Id: ebnf.xsl 9664 2012-11-07 20:02:17Z bobstayton $ + +Walsh +Norman +19992000 +Norman Walsh + + +HTML EBNF Reference + + +
              Introduction + +This is technical reference documentation for the DocBook XSL +Stylesheets; it documents (some of) the parameters, templates, and +other elements of the stylesheets. + +This reference describes the templates and parameters relevant +to formatting EBNF markup. + +This is not intended to be user documentation. +It is provided for developers writing customization layers for the +stylesheets, and for anyone who's interested in how it +works. + +Although I am trying to be thorough, this documentation is known +to be incomplete. Don't forget to read the source, too :-) +
              +
              +
              + + + + + + + + + + + + 1 + + + + + + EBNF + + for + + + + + + + + + + + + +
              + + +
              + + + + + + + + + + EBNF productions + +
              +
              +
              + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + Error: no ID for productionrecap linkend: + + . + + + + + + Warning: multiple "IDs" for productionrecap linkend: + + . + + + + + + + + + + + + + + + + | +
              +
              +
              + + + + + + + + + + + + + + + production + + + + + + + + + Non-terminals with no content must point to + production elements in the current document. + + + Invalid xpointer for empty nt: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + /*  + +  */ +
              +
              + + + + + + + + + constraintdef + + + + + + + + + + + + + + + + : + + + + + + + : + + + + + + + + + +  ] + +
              +
              +
              + + +
              + + + + +
              +
              + + +

              +
              + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/footnote.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/footnote.xsl new file mode 100644 index 0000000000..d1645b9e37 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/footnote.xsl @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + + + #ftn. + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + +ERROR: A footnoteref element has a linkend that points to an element that is not a footnote. +Typically this happens when an id attribute is accidentally applied to the child of a footnote element. +target element: +linkend/id: + + + + + + + + + + + + #ftn. + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + ftn. + + + + + + # + + + + + + + + + + + + + + + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + + + footnote-hr + + + + + + + + 100 + + + + + +
              +
              + + +
              +
              +

              The following annotations are from this essay. You are seeing + them here because your browser doesn’t support the user-interface + techniques used to make them appear as ‘popups’ on modern browsers.

              +
              + + +
              +
              +
              + + + + + + + + + + + + ftn. + + + + + + + +
              + + +
              +
              + + +
              + + + + +
              +
              + + + + Warning: footnote number may not be generated + correctly; + + unexpected as first child of footnote. + +
              + + + +
              +
              +
              +
              + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/formal.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/formal.xsl new file mode 100644 index 0000000000..d32839ad5d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/formal.xsl @@ -0,0 +1,494 @@ + + + + + + + +1 + + + + + + + + + + +
              + + + + + + + + + + +
              + +
              + + + + + +

              + + +

              +

              + + + + + + + +
              +
              + +
              +
              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + + + + + + + + + + +
              + +
              +
              + +

              + + + +

              +
              +
              +
              + + + + + + + +
              + +

              + + + + + + + + +

              +

              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + before + + + + + + + + + +
              + + + + + + + + + + + + +
              + +
              + + + +

              + + +

              + +

              + +
              + + + + + +
              +
              + +
              +
              +
              + + + + + + + + + -float + + + + + + + + + +
              + + + + Broken table: tr descendent of CALS Table. + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + Broken table: row descendent of HTML table. + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + float: + + ; + + + +
              +
              + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/glossary.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/glossary.xsl new file mode 100644 index 0000000000..bb5606b33c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/glossary.xsl @@ -0,0 +1,601 @@ + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + +
              +
              + + + +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + +
              + + + + + + +
              + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + +
              + + + + + + +
              + + + + + + + + + + +
              +
              +
              + + +

              + + +

              +
              + + + + + + + + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + + + + + +
              +
              + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + ( + + ) + +
              +
              + +
              + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + +
              +
              +
              + + +
              + + + + + + + + + , + + + + + , + + + + + , + + + + + + + + + + + +
              +

              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glosssee @otherterm reference not found: + + + + + + + + + + + + + + +

              +
              +
              + + +
              + + + + + +

              + + + + + + + + + + + + + +

              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossseealso @otherterm reference not found: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + + + + + + + + Warning: processing automatic glossary + without a glossary.collection file. + + + + + + Warning: processing automatic glossary but unable to + open glossary.collection file ' + + ' + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + normalize.sort.input + + + + + + normalize.sort.output + + + + +
              + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/graphics.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/graphics.xsl new file mode 100644 index 0000000000..b90ecd1641 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/graphics.xsl @@ -0,0 +1,1513 @@ + + + + + + + + + + + + + + + + 1 + + + + + + 1 + + + + + +
              + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + + 1 + 0 + + + + + + 1.0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + px + + + + + + + + + + + px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: imagemaps not supported + on scaled images + + + + 0 + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + manufactured viewport for HTML img + + + cellpadding: 0; cellspacing: 0; + + + + + + + + + + + + + height: + + px + + + + + + + + + + + +
              + + + + + background-color: + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + calspair + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + , + + , + + + + + + + + + + + + Warning: only calspair or + otherunits='imagemap' supported + in imageobjectco + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + middle + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No insertfile extension available. + + + + + + + Cannot insert + . Check use.extensions and textinsert.extension parameters. + + + + + + + + +
              + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/highlight.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/highlight.xsl new file mode 100644 index 0000000000..f1d9eaa1a2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/highlight.xsl @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/html-rtf.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/html-rtf.xsl new file mode 100644 index 0000000000..e079a738a0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/html-rtf.xsl @@ -0,0 +1,321 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              + + + + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + +
              + +
              + + + + + + + + + + +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/html.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/html.xsl new file mode 100644 index 0000000000..bfbacbae55 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/html.xsl @@ -0,0 +1,684 @@ + + + + + + + + + + + + left + right + left + + + + + + right + left + right + + + + + + ltr + rtl + ltr + + + + + +div + +0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + + + + + + + + # + + + + + + + + + + + + + + + + + + + bullet + + + + + + + + + bullet + + + © + + + ® + (SM) +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ID recommended on + + + : + + + + ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: no root element for CSS source file' + + '. + + + + + + + + + + + + + + + + + + + + + + + + + + + + ERROR: missing CSS input filename. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/htmltbl.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/htmltbl.xsl new file mode 100644 index 0000000000..1f05962dd2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/htmltbl.xsl @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + float: + + left + right + + + + + + + + + + + + + none + none + + ; + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/index.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/index.xsl new file mode 100644 index 0000000000..427b602f70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/index.xsl @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              +
              +
              + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + +
              + + + + +
              + +
              +
              +
              + + +

              + + +

              +
              + + + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + + + +
              +
              + + + + + + + + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + +
              +
              + +
              +
              + + + + + + + + + + + + + + +
              +
              +
              + + +
              + ( + + + + + + ) +
              +
              + + +
              + ( + + + + + + ) +
              +
              + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/info.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/info.xsl new file mode 100644 index 0000000000..224e1eeeaf --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/info.xsl @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/inline.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/inline.xsl new file mode 100644 index 0000000000..df979978e9 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/inline.xsl @@ -0,0 +1,1493 @@ + + + + + + + + + + + + + + + + + + + + + + _blank + _top + + + + + + + + + + + + + + 1 + 0 + + + + + + + + + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XLink to nonexistent id: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + span + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + , + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + abbr + + + + + + acronym + + + + + + + + + + + + + + + + + + + + + + + + + + http://example.com/cgi-bin/man.cgi? + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: glossary.collection specified, but there are + + automatic glossaries + + + + + + + + + + + + + + + + + + + + + + + + There's no entry for + + in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error: no glossentry for glossterm: + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element + + + + + + + + + + + + + + + + </ + + > + + + & + + ; + + + &# + + ; + + + % + + ; + + + <? + + > + + + <? + + ?> + + + < + + > + + + < + + /> + + + <!-- + + --> + + + + + + + + + + + + + + + + + + + + + + < + + + + + + mailto: + + + + + + > + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [ + + + + + + + + + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + + [ + + + + + + + + + + + + ] + + + [ + + ] + + + + + + + + + + + + +

              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/keywords.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/keywords.xsl new file mode 100644 index 0000000000..5f6b4fb06f --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/keywords.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + , + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/lists.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/lists.xsl new file mode 100644 index 0000000000..01169e90c5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/lists.xsl @@ -0,0 +1,1225 @@ + + + + + + + + + + + + + + + compact + + + + + + + + + list-style-type: + + ; + + +
              + + + + + + + + + + +
                + + + + + + + + + + + + + + + + + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + circle + disc + square + + + + + + +
            • + + + + + list-style-type: + + + + + + + + + + + +
              + +
              +
              + + + +
              +
            • +
              + + + + + + + compact + + + + + + + + + + + + + + 1 + a + i + A + I + + + + Unexpected numeration: + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + +
                + + + + + + + + + + + + + + +
              +
              +
              +
              +
              + + + + + + +
            • + + + + + + + + + + + + + + + +
              + +
              +
              + + + +
              +
            • +
              + + + + + + + + + + + + + + +
              + +
              +
              + + + +
              + + +
              + + + + + + + + + + compact + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + +
              + + + + +
              +
              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + + + + + + + + + + +

              +
              +
              +
              + + +
              + + + +
              +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              +
              +
              +
              +
              + + + + + + + + + +
              + +
              +
              + + + +
              +
              + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + + + + Simple list + + + + + + + + + + 1 + + + +
              +
              + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + 1 + + 1 + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + before + + + + + + + + + +
              + + + + + 0 + 1 + + + + + + + 0 + 1 + + + + + + + + + + + + +
                + + +
              +
              + +
                + + + + + +
              +
              +
              + + + + +
              +
              + + + + + + + + + + + + +
                + + + +
              +
              + + +
            • + + + + +
            • +
              + + + +
                + + + +
              +
              + + +

              + + + + +

              +
              + + + + + + + + +
              + + + + + + + + + + + + + + + + + + +
              +
              + + +
              + + + + + + + +
              +
              + + + + + + + + + +
              + + + + +
              +
              + + + + + + + + +
              + + + + + + : + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + Callout list + + +
              +
              + +
              + + +
              +
              +
              +
              +
              + + + + + + + + + + + + + + + + +

              + + + + +

              + + + + + +
              + +
              + + + + + +
              +
              +
              +
              +
              + + + + + + + + + +

              + + + + + + + + + + + + + + + + +

              +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + # + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ??? + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/maketoc.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/maketoc.xsl new file mode 100644 index 0000000000..0ae8055290 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/maketoc.xsl @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + filename=" + + " + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/manifest.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/manifest.xsl new file mode 100644 index 0000000000..26b51d0679 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/manifest.xsl @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/math.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/math.xsl new file mode 100644 index 0000000000..e1c3c76c70 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/math.xsl @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unsupported TeX math notation: + + + + + + + + + + + + + \nopagenumbers + + + + + \bye + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $ + + + + $ + + + \vfill\eject + + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $$ + + + + $$ + + + \vfill\eject + + + + + + + + + + \documentclass{article} + + \pagestyle{empty} + + \begin{document} + + + + + \end{document} + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $ + + + + $ + + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + + \special{dvi2bitmap outputfile + + } + + + $$ + + + + $$ + + + \newpage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 1 + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/oldchunker.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/oldchunker.xsl new file mode 100644 index 0000000000..e727bf11d5 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/oldchunker.xsl @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + +Encoding used in generated HTML pages + +This encoding is used in files generated by chunking stylesheet. Currently +only Saxon is able to change output encoding. + + + + + + + + + +Saxon character representation used in generated HTML pages + +This character representation is used in files generated by chunking stylesheet. If +you want to suppress entity references for characters with direct representation +in default.encoding, set this parameter to value native. + + + + + + + + + + + + + + + + + + + + + + + + Chunking isn't supported with + + + + + + + + + + + + + + + Writing + + + for + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + + + + + + + + + + + Writing + + + for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Can't make chunks with + + 's processor. + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/onechunk.xsl new file mode 100644 index 0000000000..15a04e1a07 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/onechunk.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/param.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/param.xsl new file mode 100644 index 0000000000..5fb1c70eb2 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/param.xsl @@ -0,0 +1,444 @@ + + + + + + + + + + +.png + +images/ + + + + + + +/* ====================================================================== + Annotations +*/ + +div.annotation-list { visibility: hidden; + } + +div.annotation-nocss { position: absolute; + visibility: hidden; + } + +div.annotation-popup { position: absolute; + z-index: 4; + visibility: hidden; + padding: 0px; + margin: 2px; + border-style: solid; + border-width: 1px; + width: 200px; + background-color: white; + } + +div.annotation-title { padding: 1px; + font-weight: bold; + border-bottom-style: solid; + border-bottom-width: 1px; + color: white; + background-color: black; + } + +div.annotation-body { padding: 2px; + } + +div.annotation-body p { margin-top: 0px; + padding-top: 0px; + } + +div.annotation-close { position: absolute; + top: 2px; + right: 2px; + } + + +http://docbook.sourceforge.net/release/images/annot-close.png +http://docbook.sourceforge.net/release/images/annot-open.png + + +http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js + + +A + + +. + +. +http://docbook.sourceforge.net/release/bibliography/bibliography.xml + + +normal + + +60 +.png + + +15 + +images/callouts/ + + +10 +10102 + + + + + + + + + + + + +no + +1 + + + + + + left + before + + + +all + + +docbook.css.xml +no +images/draft.png + +::= + + + + +#F5DCB3 + + +com.example.help +DocBook Online Help Sample +Example provider +1 + + + + + + 1 + 0 + + + + +1 + + + +figure before +example before +equation before +table before +procedure before +task before + + +kr + + + + + + + + + + + +appendix toc,title +article/appendix nop +article toc,title +book toc,title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title + + + + +no + + + + + + + + + + + + + +.html + + +copyright + + + +text/javascript + +text/css +alias.h + + + + + + + +User1 + + +User2 + + + + + + + + + +htmlhelp.chm + + +iso-8859-1 + + + + + +toc.hhc +5 + + +index.hhk +htmlhelp.hhp + +Main + +context.h + + + + + + + + + + + + + +basic + + + + + + + +no + +no +iso-8859-1 + + +en + + + + +5 + + +3 + + + + + + + HTML.manifest + + + + ++ +.gif + +images/ +1 + + +6in + + +no + + + replace + +0 + +I + +90 +10 + + + + + + + + + + + + + + + + +; + + + + + +. +number + + + + + + + + + + I +index + +. +.!?: + +8 + + + + + 0 + #E0E0E0 + + + + + + +0 + + + + + +solid +0.5pt +a + + + +solid +0.5pt + + olinkdb.xml +target.db + +tex-math-equations.tex + + + +dl +8 +2 +_top + + + + + + + + +0 +, +0 +docs +../common/ +index.html +1 +en +index.html + + + + writing-mode + + + + + + + + +: + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/pi.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/pi.xsl new file mode 100644 index 0000000000..ff966fdb02 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/pi.xsl @@ -0,0 +1,1236 @@ + + + + + + + +HTML Processing Instruction Reference + + $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Sets background color for an image + + Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbhtml background-color="color" + + + + background-color="color" + + An HTML color value + + + + + + Background color + + + + + + + + + + + + Sets background color on a CALS table row or table cell + + Use the dbhtml bgcolor PI as child of a CALS table row + or cell to set a background color for that table row or cell. + + + dbhtml bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + + + + + + + + + + + + Specifies cellpadding in CALS table or qandaset output + + Use the dbhtml cellpadding PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + + dbhtml cellpadding="number" + + + + cellpadding="number" + + Specifies the cellpadding + + + + + + html.cellpadding + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Specifies cellspacing in CALS table or qandaset output + + Use the dbhtml cellspacing PI as a child of a + CALS table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + + dbhtml cellspacing="number" + + + + cellspacing="number" + + Specifies the cellspacing + + + + + + html.cellspacing + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Set value of the class attribute for a CALS table row + + Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + + dbhtml class="name" + + + + class="name" + + Specifies the class name + + + + + + Table styles in HTML output + + + + + + + + + + + + Specifies a directory name in which to write files + + When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + +The output directory specification is inherited by all +chunks of the descendants of the element. If descendants need +to go to a different directory, then add another +dbhtml dir processing +instruction as a child of the source element +for that chunk, and specify the path relative to the +ancestor path. + +For example, to put most chunk files into +shared +but one chapter into +exception +at the same level, use: + +<book> + <?dbhtml dir="shared"?> + ... + <chapter> + <?dbhtml dir="../exception"?> + </chapter> +</book> + + + + + + dbhtml dir="path" + + + + dir="path" + + Specifies the pathname for the directory + + + + + + base.dir + + + dbhtml dir processing instruction + + + + + + + + + + + + Specifies a filename for a chunk + +When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. Include the filename suffix. + +You cannot include a directory path in the filename value, +or your links may not work. Add a +dbhtml dir processing instruction +to specify the output directory. You can also combine the two +specifications in one processing instruction: +dbhtml dir="mydir" filename="myfile.html". + + + + dbhtml filename="filename" + + + + filename="path" + + Specifies the filename for the file + + + + + + use.id.as.filename + + + dbhtml filenames + + + + + + + + + + + + Specifies presentation style for a funcsynopsis + + Use the dbhtml funcsynopsis-style PI as a child of + a funcsynopsis or anywhere within a funcsynopsis + to control the presentation style for output of all + funcprototype instances within that funcsynopsis. + + + dbhtml funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays funcprototype output in K&R style + + + funcsynopsis-style="ansi" + + Displays funcprototype output in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + + + Specifies a path to the location of an image file + + Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + + dbhtml img.src.path="path" + + + + img.src.path="path" + + Specifies the pathname to prepend to the name of the image file + + + + + + img.src.path + + + Using fileref + + + + + + + + + + + + Specifies the label width for a qandaset + + Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + + dbhtml label-width="width" + + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + + + + + + + + + + + + Specifies interval for line numbers in verbatims + + Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + + dbhtml linenumbering.everyNth="N" + + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + + + + + + + + + + + + Specifies separator text for line numbers in verbatims + + Use the dbhtml linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + + dbhtml linenumbering.separator="text" + + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + + + + + + + + + + + + Specifies width for line numbers in verbatims + + Use the dbhtml linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + + dbhtml linenumbering.width="width" + + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + + + + + + + + + + + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbhtml list-presentation="list"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="table" + + Displays the list as a table + + + + + + + + variablelist.as.table + + + segmentedlist.as.table + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the width of a variablelist or simplelist + + Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + + dbhtml list-width="width" + + + + list-width="width" + + Specifies the output width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the height for a CALS table row + + Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + + dbhtml row-height="height" + + + + row-height="height" + + Specifies the row height (including units) + + + + + + Row height + + + + + + + + + + + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbhtml start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + + + + + + + + + Do not chunk any descendants of this element. + + When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: +<section> +<title>Configuring pencil</title> +<?dbhtml stop-chunking?> + +... + +</section> + + + + dbhtml stop-chunking + + + Chunking into multiple HTML files + + + + + + Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output + + Use the dbhtml table-summary PI as a child of + a CALS table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + Variable list formatting in HTML, + Table summary text + + + + + + + + + + + + Specifies the width for a CALS table + + Use the dbhtml table-width PI as a child of a + CALS table to specify the width of the table in + output. + + + dbhtml table-width="width" + + + + table-width="width" + + Specifies the table width (including units or as a percentage) + + + + + + default.table.width + + + Table width + + + + + + + + + + + + Sets character formatting for terms in a variablelist + + Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + + + term-presentation="bold" + + Specifies that terms are displayed in bold + + + term-presentation="italic" + + Specifies that terms are displayed in italic + + + term-presentation="bold-italic" + + Specifies that terms are displayed in bold-italic + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies separator text among terms in a varlistentry + + Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + + dbhtml term-separator="text" + + + + term-separator="text" + + Specifies the text (zero or more characters) + + + + + + variablelist.term.separator + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the term width for a variablelist + + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbhtml term-width="width" + + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies whether a TOC should be generated for a qandaset + + Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + + dbhtml toc="0"|"1" + + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + + + + + + + + + + + + Generates a hyperlinked list of commands + + Use the dbcmdlist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list” will be generated at the top of output for that + element, enabling users to quickly jump + to each command synopsis. + + + dbcmdlist + + + [No parameters] + + + + + + No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? + + +
              + + + +
              +
              + + + Generates a hyperlinked list of functions + + Use the dbfunclist PI as the child of any + element (for example, refsynopsisdiv) containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list” will be generated at the top of + output for that element, enabling users to quickly + jump to to each function synopsis. + + + dbfunclist + + + [No parameters] + + + + + + No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? + + +
              + + + +
              +
              + + + Copies an external well-formed HTML/XML file into current doc + + Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is” into your HTML output at the point in document order + where the PI occurs in the source. + + The referenced file may contain plain text (as long as + it is “wrapped” in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper” when + they find it, leaving just the content you want to + insert. + + + + dbhtml-include href="URI" + + + + href="URI" + + Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + textinsert.extension + + + Inserting external HTML code, + External code files + + + + + + + href + + + + + + + + + + + + + + + + + + + + ERROR: dbhtml-include processing instruction + href has no content. + + + + + + + ERROR: dbhtml-include processing instruction has + missing or empty href value. + + + + + + + + Sets topic name and topic id for context-sensitive HTML Help + + Use the dbhh PI as a child of components + that should be used as targets for context-sensitive help requests. + + + dbhh topicname="name" topicid="id" + + + + topicname="name" + + Specifies a unique string constant that identifies a help topic + + + topicid="id" + + Specifies a unique integer value for the topicname string + + + + + + Context-sensitive help + + + + + + + + + + filename + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + # + + + + + + + + + + + + + + + + + + +
              + + + + + +
              +
              +
              + + + + + + + + + + + + + + + +
              + + + # + + + + + + + + + + + + + + + + + + +
              + + + + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + / + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk-code.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk-code.xsl new file mode 100644 index 0000000000..8b86447beb --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk-code.xsl @@ -0,0 +1,641 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bk + + + + + + + + + + + + + + + ar + + + + + + + + + + + + + + + pr + + + + + + + + + + + + + + + ch + + + + + + + + + + + + + + + ap + + + + + + + + + + + + + + + + + + + pt + + + + + + + + + + + + + + + + + + + rn + + + + + + + + + + + + + + + + + + + + + + + + re + + + + + + + + + + + + + + + + + + + co + + + + + + + + + + + s + + + + + + + + + + + + + + + + + + + bi + + + + + + + + + + + + + + + + + + + go + + + + + + + + + + + + + + + + + + + ix + + + + + + + + si + + + + + + + + + + + + + + + + + + + to + + + + + + + + chunk-filename-error- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk.xsl new file mode 100644 index 0000000000..eb48e81a23 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-chunk.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-docbook.xsl new file mode 100644 index 0000000000..366532d364 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-docbook.xsl @@ -0,0 +1,503 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + +rtl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-onechunk.xsl new file mode 100644 index 0000000000..d0a62ea17c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/profile-onechunk.xsl @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + +1 + + + + # + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/qandaset.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/qandaset.xsl new file mode 100644 index 0000000000..1b3d4c539b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/qandaset.xsl @@ -0,0 +1,439 @@ + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + + + + + + + +
              + + + + + + + + + + + + + + +
              + + +
              +
              + + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + + + + + + + + + + + + + +
              + + + + +
              + + + +
              + +
              +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + width: 100%; + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1% + + + + + + + + + +
              +
              + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/refentry.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/refentry.xsl new file mode 100644 index 0000000000..93f43a9734 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/refentry.xsl @@ -0,0 +1,305 @@ + + + + + + + + + + + + +
              + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + +

              +
              + + + + +
              + + + + + + + +
              +
              +
              +
              + + + + + + +
              +
              + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + +
              + + + + + + + + + + + +

              + + + +

              +
              + +

              + + + + + + + + +

              +
              +
              + +

              + +

              +
              +
              + + + + + + , + + + + + + + + + em-dash + + + + + + + + + + + + + + + + : + + + + + + + +
              + + + + + +

              + + + + + + + + + + +

              + +
              +
              + + + + + + + + + + + +
              + + + + + + + + + + + + +
              +
              + + + + + + 0 + 1 + + + + 6 + + + + + + + + + + + + +

              + +

              +
              + + + +

              + +

              +
              + + + +

              + +

              +
              + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/sections.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/sections.xsl new file mode 100644 index 0000000000..904a2ef228 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/sections.xsl @@ -0,0 +1,562 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 2 + 3 + 4 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 6 + + + + + + + + + + clear: both + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + 1 + + + + + + + 2 + 3 + 4 + 5 + 6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/synop.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/synop.xsl new file mode 100644 index 0000000000..853fbf5d85 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/synop.xsl @@ -0,0 +1,1614 @@ + + + + + + + + + + + + + + +
              + +

              + + + + + + + + + + + + + + + +

              +
              +
              + + +
              + + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + ( + + ) + +   + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              +    
              +    
              +    
              +  
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

              + + +
              + +
              +

              +
              + + + + + + + ( + + + + + + + + + + + + + + + + ) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + +
              + + + + ; +
              + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
              + +
               
              + +
              + +
              +
              +
               
              +
              + + + + + + + ( + + + + + + + + + + + + + + + + + ) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + ; + + + + + + +

              + +

              +
              + + + + + + + ( + + + + + + + + + + + + + + + + void) + ; + + + + ... + ) + ; + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + Function synopsis + + + cellspacing: 0; cellpadding: 0; + + + + + + + + + + + +
              + +
               
              +
               
              +
              + + + + + + + ( + + + + + + + + + + + + + + + + + void) + ; + +   + + + + + ... + ) + ; + +   + + + + + + + + , + + + ) + ; + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + +java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Unrecognized language on + + : + + + + + + + + + + + +
              +
              +
              + + + + + +
              +    
              +    
              +    
              +    
              +       extends
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + + , + + + + + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + 0 + + , +
              + + +   + + + +
              + + + + + +
              + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + ( + + + + ) + +
              +     throws  + +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    
              +    
              +      : 
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
              +     throws  + +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    interface 
              +    
              +    
              +      : 
              +      
              +      
              +        
              +      +
              +
              + + implements + + +
              +      +
              +
              + + throws + + +  { +
              + + } +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + ( + + ) + +
              +     raises( + + ) +
              + + + + + ; +
              + +
              + + + + +
              +    
              +    
              +    package 
              +    
              +    ;
              +    
              + + + @ISA = ( + + ); +
              +
              + + +
              +
              + + + + + + + + , + + + + + + + + + + + + + + +   + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + , + + + + + + + + + + + + + +    + + + ; + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + + + + + + + + void  + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + sub + + + { ... }; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/table.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/table.xsl new file mode 100644 index 0000000000..9ca6ea7fa4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/table.xsl @@ -0,0 +1,1177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + border- + + : + + + + + + ; + + + + + border- + + -width: + + ; + + + + border- + + -style: + + ; + + + + border- + + -color: + + ; + + + + + + + + + + + Error: CALS tables must specify the number of columns. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + border-collapse: collapse; + + + + + + + + + + + + + + + + + border: none; + + + + + border-collapse: collapse; + + + + + + + 0 + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + + + + + + + + + + + + + + + + + + + + + + No convertLength function available. + + + + + + + + + + + + + + + + + + + + + + + + + + No adjustColumnWidths function available. + + + + + + + + + + + + + + + + + + + + +
              + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Warning: overlapped row contains content! + + + This row intentionally left blank + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + th + th + + th + + td + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + : + + + + + + + + 0: + + + + + + + + + + + + + + + 0 + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/task.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/task.xsl new file mode 100644 index 0000000000..3a64e05afa --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/task.xsl @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + before + + + + + + + + +
              + + + + + + + + + + + + + +
              +
              + + + + + + + + + + + + + + + + + + + + + + + +
              diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xml b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xml new file mode 100755 index 0000000000..6fbe8fc131 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xml @@ -0,0 +1,739 @@ + + + + + + + + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="set" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="book" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="part" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="division.title" + param:node="ancestor-or-self::part[1]"/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="partintro" t:wrapper="div"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="reference" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <hr/> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> +<!-- uncomment this if you want refentry titlepages + <title t:force="1" + t:named-template="refentry.title" + param:node="ancestor-or-self::refentry[1]"/> +--> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator/> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + + <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::dedication[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="acknowledgements" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::acknowledgements[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="preface" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="topic" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="section" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + <othercredit/> + <releaseinfo/> + <copyright/> + <legalnotice/> + <pubdate/> + <revision/> + <revhistory/> + <abstract/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::bibliography[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::glossary[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="index" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::index[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:force="1" + t:named-template="component.title" + param:node="ancestor-or-self::setindex[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> +<t:titlepage t:element="sidebar" t:wrapper="div" class="titlepage"> + <t:titlepage-content t:side="recto"> + <title + t:named-template="formal.object.heading" + param:object="ancestor-or-self::sidebar[1]"/> + <subtitle/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> + +<!-- ==================================================================== --> + +</t:templates> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xsl new file mode 100644 index 0000000000..a2a3cbb61a --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.templates.xsl @@ -0,0 +1,4004 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<xsl:template name="article.titlepage.recto"> + <xsl:choose> + <xsl:when test="articleinfo/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> + </xsl:when> + <xsl:when test="artheader/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="articleinfo/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> + </xsl:when> + <xsl:when test="artheader/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> + <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="article.titlepage.verso"> +</xsl:template> + +<xsl:template name="article.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="article.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="article.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="article.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="article.titlepage.before.recto"/> + <xsl:call-template name="article.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="article.titlepage.before.verso"/> + <xsl:call-template name="article.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="article.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="article.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="article.titlepage.recto.style"> +<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="set.titlepage.recto"> + <xsl:choose> + <xsl:when test="setinfo/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="setinfo/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> + <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="set.titlepage.verso"> +</xsl:template> + +<xsl:template name="set.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="set.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="set.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="set.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="set.titlepage.before.recto"/> + <xsl:call-template name="set.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="set.titlepage.before.verso"/> + <xsl:call-template name="set.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="set.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="set.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="set.titlepage.recto.style"> +<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="book.titlepage.recto"> + <xsl:choose> + <xsl:when test="bookinfo/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="bookinfo/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> + <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="book.titlepage.verso"> +</xsl:template> + +<xsl:template name="book.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="book.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="book.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="book.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="book.titlepage.before.recto"/> + <xsl:call-template name="book.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="book.titlepage.before.verso"/> + <xsl:call-template name="book.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="book.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="book.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="book.titlepage.recto.style"> +<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="part.titlepage.recto"> + <div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:call-template name="division.title"> +<xsl:with-param name="node" select="ancestor-or-self::part[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="partinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="part.titlepage.verso"> +</xsl:template> + +<xsl:template name="part.titlepage.separator"> +</xsl:template> + +<xsl:template name="part.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="part.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="part.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="part.titlepage.before.recto"/> + <xsl:call-template name="part.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="part.titlepage.before.verso"/> + <xsl:call-template name="part.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="part.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="part.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="part.titlepage.recto.style"> +<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="partintro.titlepage.recto"> + <xsl:choose> + <xsl:when test="partintroinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="partintroinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="partintro.titlepage.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage.separator"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="partintro.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="partintro.titlepage"> + <div> + <xsl:variable name="recto.content"> + <xsl:call-template name="partintro.titlepage.before.recto"/> + <xsl:call-template name="partintro.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="partintro.titlepage.before.verso"/> + <xsl:call-template name="partintro.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="partintro.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="partintro.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> +<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="reference.titlepage.recto"> + <xsl:choose> + <xsl:when test="referenceinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="referenceinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="reference.titlepage.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage.separator"><hr/> +</xsl:template> + +<xsl:template name="reference.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="reference.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="reference.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="reference.titlepage.before.recto"/> + <xsl:call-template name="reference.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="reference.titlepage.before.verso"/> + <xsl:call-template name="reference.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="reference.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="reference.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="reference.titlepage.recto.style"> +<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="refentry.titlepage.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage.separator"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="refentry.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="refentry.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="refentry.titlepage.before.recto"/> + <xsl:call-template name="refentry.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="refentry.titlepage.before.verso"/> + <xsl:call-template name="refentry.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="refentry.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="refentry.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template name="dedication.titlepage.recto"> + <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="dedicationinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="dedication.titlepage.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage.separator"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="dedication.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="dedication.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="dedication.titlepage.before.recto"/> + <xsl:call-template name="dedication.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="dedication.titlepage.before.verso"/> + <xsl:call-template name="dedication.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="dedication.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="dedication.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> +<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.recto"> + <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="acknowledgementsinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.separator"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="acknowledgements.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="acknowledgements.titlepage.before.recto"/> + <xsl:call-template name="acknowledgements.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="acknowledgements.titlepage.before.verso"/> + <xsl:call-template name="acknowledgements.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="acknowledgements.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="acknowledgements.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style"> +<xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="preface.titlepage.recto"> + <xsl:choose> + <xsl:when test="prefaceinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="prefaceinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="preface.titlepage.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage.separator"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="preface.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="preface.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="preface.titlepage.before.recto"/> + <xsl:call-template name="preface.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="preface.titlepage.before.verso"/> + <xsl:call-template name="preface.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="preface.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="preface.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="preface.titlepage.recto.style"> +<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="chapter.titlepage.recto"> + <xsl:choose> + <xsl:when test="chapterinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="chapterinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="chapter.titlepage.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage.separator"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="chapter.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="chapter.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="chapter.titlepage.before.recto"/> + <xsl:call-template name="chapter.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="chapter.titlepage.before.verso"/> + <xsl:call-template name="chapter.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="chapter.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="chapter.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> +<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="topic.titlepage.recto"> + <xsl:choose> + <xsl:when test="topicinfo/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="topicinfo/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/revhistory"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="topicinfo/abstract"/> + <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="topic.titlepage.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage.separator"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="topic.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="topic.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="topic.titlepage.before.recto"/> + <xsl:call-template name="topic.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="topic.titlepage.before.verso"/> + <xsl:call-template name="topic.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="topic.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="topic.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="topic.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="topic.titlepage.recto.style"> +<xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="appendix.titlepage.recto"> + <xsl:choose> + <xsl:when test="appendixinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="appendixinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="appendix.titlepage.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage.separator"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="appendix.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="appendix.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="appendix.titlepage.before.recto"/> + <xsl:call-template name="appendix.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="appendix.titlepage.before.verso"/> + <xsl:call-template name="appendix.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="appendix.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="appendix.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> +<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="section.titlepage.recto"> + <xsl:choose> + <xsl:when test="sectioninfo/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sectioninfo/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> + <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="section.titlepage.verso"> +</xsl:template> + +<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="section.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="section.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="section.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="section.titlepage.before.recto"/> + <xsl:call-template name="section.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="section.titlepage.before.verso"/> + <xsl:call-template name="section.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="section.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="section.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="section.titlepage.recto.style"> +<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect1.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect1info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect1info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> + <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect1.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect1.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect1.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect1.titlepage.before.recto"/> + <xsl:call-template name="sect1.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect1.titlepage.before.verso"/> + <xsl:call-template name="sect1.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect1.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect1.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect2.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect2info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect2info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> + <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect2.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect2.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect2.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect2.titlepage.before.recto"/> + <xsl:call-template name="sect2.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect2.titlepage.before.verso"/> + <xsl:call-template name="sect2.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect2.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect2.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect3.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect3info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect3info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> + <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect3.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect3.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect3.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect3.titlepage.before.recto"/> + <xsl:call-template name="sect3.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect3.titlepage.before.verso"/> + <xsl:call-template name="sect3.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect3.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect3.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect4.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect4info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect4info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> + <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect4.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect4.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect4.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect4.titlepage.before.recto"/> + <xsl:call-template name="sect4.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect4.titlepage.before.verso"/> + <xsl:call-template name="sect4.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect4.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect4.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sect5.titlepage.recto"> + <xsl:choose> + <xsl:when test="sect5info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sect5info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> + <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="sect5.titlepage.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sect5.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sect5.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sect5.titlepage.before.recto"/> + <xsl:call-template name="sect5.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sect5.titlepage.before.verso"/> + <xsl:call-template name="sect5.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sect5.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sect5.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="simplesect.titlepage.recto"> + <xsl:choose> + <xsl:when test="simplesectinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="simplesectinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> + <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/> +</xsl:template> + +<xsl:template name="simplesect.titlepage.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="simplesect.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="simplesect.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="simplesect.titlepage.before.recto"/> + <xsl:call-template name="simplesect.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="simplesect.titlepage.before.verso"/> + <xsl:call-template name="simplesect.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="simplesect.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> +<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="bibliography.titlepage.recto"> + <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="bibliographyinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="bibliography.titlepage.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.separator"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="bibliography.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="bibliography.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="bibliography.titlepage.before.recto"/> + <xsl:call-template name="bibliography.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="bibliography.titlepage.before.verso"/> + <xsl:call-template name="bibliography.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="bibliography.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> +<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="glossary.titlepage.recto"> + <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="glossaryinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="glossary.titlepage.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage.separator"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="glossary.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="glossary.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="glossary.titlepage.before.recto"/> + <xsl:call-template name="glossary.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="glossary.titlepage.before.verso"/> + <xsl:call-template name="glossary.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="glossary.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="glossary.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> +<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="index.titlepage.recto"> + <div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="indexinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="index.titlepage.verso"> +</xsl:template> + +<xsl:template name="index.titlepage.separator"> +</xsl:template> + +<xsl:template name="index.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="index.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="index.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="index.titlepage.before.recto"/> + <xsl:call-template name="index.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="index.titlepage.before.verso"/> + <xsl:call-template name="index.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="index.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="index.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="index.titlepage.recto.style"> +<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="setindex.titlepage.recto"> + <div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:call-template name="component.title"> +<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/> +</xsl:call-template></div> + <xsl:choose> + <xsl:when test="setindexinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="setindex.titlepage.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage.separator"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="setindex.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="setindex.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="setindex.titlepage.before.recto"/> + <xsl:call-template name="setindex.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="setindex.titlepage.before.verso"/> + <xsl:call-template name="setindex.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="setindex.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="setindex.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="setindex.titlepage.recto.style"> +<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template name="sidebar.titlepage.recto"> + <xsl:choose> + <xsl:when test="sidebarinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/> + </xsl:when> + <xsl:when test="info/title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/> + </xsl:when> + <xsl:when test="title"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/> + </xsl:when> + </xsl:choose> + + <xsl:choose> + <xsl:when test="sidebarinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/> + </xsl:when> + <xsl:when test="info/subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + +</xsl:template> + +<xsl:template name="sidebar.titlepage.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.separator"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="sidebar.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="sidebar.titlepage"> + <div class="titlepage"> + <xsl:variable name="recto.content"> + <xsl:call-template name="sidebar.titlepage.before.recto"/> + <xsl:call-template name="sidebar.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="sidebar.titlepage.before.verso"/> + <xsl:call-template name="sidebar.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="sidebar.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="sidebar.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:call-template name="formal.object.heading"> +<xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/> +</xsl:call-template> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="sidebar.titlepage.recto.style"> +<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.xsl new file mode 100644 index 0000000000..df29e6e140 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/titlepage.xsl @@ -0,0 +1,1106 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> + +<!-- ******************************************************************** + $Id: titlepage.xsl 9360 2012-05-12 23:39:14Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:attribute-set name="book.titlepage.recto.style"/> +<xsl:attribute-set name="book.titlepage.verso.style"/> + +<xsl:attribute-set name="article.titlepage.recto.style"/> +<xsl:attribute-set name="article.titlepage.verso.style"/> + +<xsl:attribute-set name="set.titlepage.recto.style"/> +<xsl:attribute-set name="set.titlepage.verso.style"/> + +<xsl:attribute-set name="part.titlepage.recto.style"/> +<xsl:attribute-set name="part.titlepage.verso.style"/> + +<xsl:attribute-set name="partintro.titlepage.recto.style"/> +<xsl:attribute-set name="partintro.titlepage.verso.style"/> + +<xsl:attribute-set name="reference.titlepage.recto.style"/> +<xsl:attribute-set name="reference.titlepage.verso.style"/> + +<xsl:attribute-set name="refentry.titlepage.recto.style"/> +<xsl:attribute-set name="refentry.titlepage.verso.style"/> + +<xsl:attribute-set name="dedication.titlepage.recto.style"/> +<xsl:attribute-set name="dedication.titlepage.verso.style"/> + +<xsl:attribute-set name="acknowledgements.titlepage.recto.style"/> +<xsl:attribute-set name="acknowledgements.titlepage.verso.style"/> + +<xsl:attribute-set name="preface.titlepage.recto.style"/> +<xsl:attribute-set name="preface.titlepage.verso.style"/> + +<xsl:attribute-set name="chapter.titlepage.recto.style"/> +<xsl:attribute-set name="chapter.titlepage.verso.style"/> + +<xsl:attribute-set name="appendix.titlepage.recto.style"/> +<xsl:attribute-set name="appendix.titlepage.verso.style"/> + +<xsl:attribute-set name="bibliography.titlepage.recto.style"/> +<xsl:attribute-set name="bibliography.titlepage.verso.style"/> + +<xsl:attribute-set name="glossary.titlepage.recto.style"/> +<xsl:attribute-set name="glossary.titlepage.verso.style"/> + +<xsl:attribute-set name="index.titlepage.recto.style"/> +<xsl:attribute-set name="index.titlepage.verso.style"/> + +<xsl:attribute-set name="setindex.titlepage.recto.style"/> +<xsl:attribute-set name="setindex.titlepage.verso.style"/> + +<xsl:attribute-set name="sidebar.titlepage.recto.style"/> +<xsl:attribute-set name="sidebar.titlepage.verso.style"/> + +<xsl:attribute-set name="topic.titlepage.recto.style"/> +<xsl:attribute-set name="topic.titlepage.verso.style"/> + +<xsl:attribute-set name="section.titlepage.recto.style"/> +<xsl:attribute-set name="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect1.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect1.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect2.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect2.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect3.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect3.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect4.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect4.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="sect5.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="sect5.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="simplesect.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/> +<xsl:attribute-set name="simplesect.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/> + +<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> +<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> + +<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> +<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="titlepage.mode"> + <!-- if an element isn't found in this mode, try the default mode --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="abbrev" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="abstract" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:if test="$abstract.notitle.enabled = 0"> + <xsl:call-template name="formal.object.heading"> + <xsl:with-param name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:call-template name="process.footnotes"/> + </div> +</xsl:template> + +<xsl:template match="abstract/title" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="address" mode="titlepage.mode"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="paragraph"> + <xsl:with-param name="content"> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </div> + </xsl:when> + + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="paragraph"> + <xsl:with-param name="content"> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="affiliation" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="artpagenums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="author|editor" mode="titlepage.mode"> + <xsl:call-template name="credits.div"/> +</xsl:template> + +<xsl:template name="credits.div"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)"> + <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4> + </xsl:if> + <h3> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:choose> + <xsl:when test="orgname"> + <xsl:apply-templates/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="person.name"/> + </xsl:otherwise> + </xsl:choose> + </h3> + <xsl:if test="not($contrib.inline.enabled = 0)"> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + </xsl:if> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates mode="titlepage.mode" select="email"/> + <xsl:if test="not($blurb.on.titlepage.enabled = 0)"> + <xsl:choose> + <xsl:when test="$contrib.inline.enabled = 0"> + <xsl:apply-templates mode="titlepage.mode" select="contrib|authorblurb|personblurb"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode" select="authorblurb|personblurb"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </div> +</xsl:template> + +<xsl:template match="authorblurb|personblurb" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="authorgroup" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="parent::refentryinfo"> + <h2>Authors</h2> + </xsl:if> + + <xsl:call-template name="anchor"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="authorinitials" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="bibliomisc" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="bibliomset" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="collab" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="collabname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </span> +</xsl:template> + +<xsl:template match="confgroup" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="confdates" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="confsponsor" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="conftitle" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="confnum" mode="titlepage.mode"> + <!-- suppress --> +</xsl:template> + +<xsl:template match="contractnum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="contractsponsor" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="contrib" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="not($contrib.inline.enabled = 0)"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </span><xsl:text> </xsl:text> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p><xsl:apply-templates mode="titlepage.mode"/></p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="copyright" mode="titlepage.mode"> + + <xsl:if test="generate-id() = generate-id(//refentryinfo/copyright[1]) and ($stylesheet.result.type = 'html' or $stylesheet.result.type = 'xhtml')"> + <h2>Copyright</h2> + </xsl:if> + + <p> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="dingbat"> + <xsl:with-param name="dingbat">copyright</xsl:with-param> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="copyright.years"> + <xsl:with-param name="years" select="year"/> + <xsl:with-param name="print.ranges" select="$make.year.ranges"/> + <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="holder" mode="titlepage.mode"/> + </p> +</xsl:template> + +<xsl:template match="year" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="holder" mode="titlepage.mode"> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:if test="position() < last()"> + <xsl:text>, </xsl:text> + </xsl:if> +</xsl:template> + +<xsl:template match="corpauthor" mode="titlepage.mode"> + <h3> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </h3> +</xsl:template> + +<xsl:template match="corpcredit" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="corpname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="date" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="edition" mode="titlepage.mode"> + <p> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <xsl:call-template name="gentext.space"/> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Edition'"/> + </xsl:call-template> + </p> +</xsl:template> + +<xsl:template match="email" mode="titlepage.mode"> + <!-- use the normal e-mail handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="firstname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="graphic" mode="titlepage.mode"> + <!-- use the normal graphic handling code --> + <xsl:apply-templates select="."/> +</xsl:template> + +<xsl:template match="honorific" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="isbn" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="issn" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="biblioid" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="itermset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="invpartnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="issuenum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="jobtitle" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="keywordset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="legalnotice" mode="titlepage.mode"> + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:choose> + <xsl:when test="$generate.legalnotice.link != 0"> + + <!-- Compute name of legalnotice file --> + <xsl:variable name="file"> + <xsl:call-template name="ln.or.rh.filename"/> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$file"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="title.markup"/> + </xsl:variable> + + <a href="{$file}"> + <xsl:copy-of select="$title"/> + </a> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="content"> + <xsl:call-template name="user.preroot"/> + <html> + <head> + <xsl:call-template name="system.head.content"/> + <xsl:call-template name="head.content"/> + <xsl:call-template name="user.head.content"/> + </head> + <body> + <xsl:call-template name="body.attributes"/> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode"/> + </div> + </body> + </html> + <xsl:value-of select="$chunk.append"/> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:call-template name="anchor"> + <xsl:with-param name="conditional" select="0"/> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode"/> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="legalnotice/title" mode="titlepage.mode"> + <p class="legalnotice-title"><strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></strong></p> +</xsl:template> + +<xsl:template match="lineage" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="modespec" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="orgdiv" mode="titlepage.mode"> + <xsl:if test="preceding-sibling::*[1][self::orgname]"> + <xsl:text> </xsl:text> + </xsl:if> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="orgname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.mode"> +<xsl:choose> + <xsl:when test="not($othercredit.like.author.enabled = 0)"> + <xsl:variable name="contrib" select="string(contrib)"/> + <xsl:choose> + <xsl:when test="contrib"> + <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode" select="contrib"/> + <xsl:text>: </xsl:text> + <xsl:call-template name="person.name"/> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> + </xsl:with-param> + </xsl:call-template> + </xsl:if> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:call-template name="person.name"/> + </xsl:with-param> + </xsl:call-template> + <xsl:apply-templates mode="titlepage.mode" select="affiliation"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="credits.div"/> + </xsl:otherwise> +</xsl:choose> +</xsl:template> + +<xsl:template match="othercredit" mode="titlepage.othercredits"> + <xsl:text>, </xsl:text> + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="othername" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pagenums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="printhistory" mode="titlepage.mode"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </div> +</xsl:template> + +<xsl:template match="productname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="productnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pubdate" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="publisher" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="publishername" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="pubsnumber" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="releaseinfo" mode="titlepage.mode"> + <xsl:call-template name="paragraph"> + <xsl:with-param name="class" select="local-name(.)"/> + <xsl:with-param name="content"> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="revhistory" mode="titlepage.mode"> + <xsl:variable name="numcols"> + <xsl:choose> + <xsl:when test=".//authorinitials|.//author">3</xsl:when> + <xsl:otherwise>2</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> + + <xsl:variable name="title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">RevHistory</xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="contents"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <table> + <xsl:if test="$css.decoration != 0"> + <xsl:attribute name="style"> + <xsl:text>border-style:solid; width:100%;</xsl:text> + </xsl:attribute> + </xsl:if> + <!-- include summary attribute if not HTML5 --> + <xsl:if test="$div.element != 'section'"> + <xsl:attribute name="summary"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">revhistory</xsl:with-param> + </xsl:call-template> + </xsl:attribute> + </xsl:if> + <tr> + <th align="{$direction.align.start}" valign="top" colspan="{$numcols}"> + <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'RevHistory'"/> + </xsl:call-template> + </strong> + </th> + </tr> + <xsl:apply-templates mode="titlepage.mode"> + <xsl:with-param name="numcols" select="$numcols"/> + </xsl:apply-templates> + </table> + </div> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$generate.revhistory.link != 0"> + + <!-- Compute name of revhistory file --> + <xsl:variable name="file"> + <xsl:call-template name="ln.or.rh.filename"> + <xsl:with-param name="is.ln" select="false()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="filename"> + <xsl:call-template name="make-relative-filename"> + <xsl:with-param name="base.dir" select="$chunk.base.dir"/> + <xsl:with-param name="base.name" select="$file"/> + </xsl:call-template> + </xsl:variable> + + <a href="{$file}"> + <xsl:copy-of select="$title"/> + </a> + + <xsl:call-template name="write.chunk"> + <xsl:with-param name="filename" select="$filename"/> + <xsl:with-param name="quiet" select="$chunk.quietly"/> + <xsl:with-param name="content"> + <xsl:call-template name="user.preroot"/> + <html> + <head> + <xsl:call-template name="system.head.content"/> + <xsl:call-template name="head.content"> + <xsl:with-param name="title"> + <xsl:value-of select="$title"/> + <xsl:if test="../../title"> + <xsl:value-of select="concat(' (', ../../title, ')')"/> + </xsl:if> + </xsl:with-param> + </xsl:call-template> + <xsl:call-template name="user.head.content"/> + </head> + <body> + <xsl:call-template name="body.attributes"/> + <xsl:copy-of select="$contents"/> + </body> + </html> + <xsl:text> +</xsl:text> + </xsl:with-param> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$contents"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="revhistory/revision" mode="titlepage.mode"> + <xsl:param name="numcols" select="'3'"/> + <xsl:variable name="revnumber" select="revnumber"/> + <xsl:variable name="revdate" select="date"/> + <xsl:variable name="revauthor" select="authorinitials|author"/> + <xsl:variable name="revremark" select="revremark|revdescription"/> + <tr> + <td align="{$direction.align.start}"> + <xsl:if test="$revnumber"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Revision'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> + </xsl:if> + </td> + <td align="{$direction.align.start}"> + <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> + </td> + <xsl:choose> + <xsl:when test="$revauthor"> + <td align="{$direction.align.start}"> + <xsl:for-each select="$revauthor"> + <xsl:apply-templates select="." mode="titlepage.mode"/> + <xsl:if test="position() != last()"> + <xsl:text>, </xsl:text> + </xsl:if> + </xsl:for-each> + </td> + </xsl:when> + <xsl:when test="$numcols > 2"> + <td> </td> + </xsl:when> + <xsl:otherwise/> + </xsl:choose> + </tr> + <xsl:if test="$revremark"> + <tr> + <td align="{$direction.align.start}" colspan="{$numcols}"> + <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> + </td> + </tr> + </xsl:if> +</xsl:template> + +<xsl:template match="revision/revnumber" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/date" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/authorinitials" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/author" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revremark" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="revision/revdescription" mode="titlepage.mode"> + <xsl:apply-templates mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="seriesvolnums" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="shortaffil" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="subjectset" mode="titlepage.mode"> +</xsl:template> + +<xsl:template match="subtitle" mode="titlepage.mode"> + <h2> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + </h2> +</xsl:template> + +<xsl:template match="surname" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<xsl:template match="title" mode="titlepage.mode"> + <xsl:variable name="id"> + <xsl:choose> + <!-- if title is in an *info wrapper, get the grandparent --> + <xsl:when test="contains(local-name(..), 'info')"> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="../.."/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <h1> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <a id="{$id}"/> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + <xsl:choose> + <xsl:when test="$show.revisionflag != 0 and @revisionflag"> + <span class="{@revisionflag}"> + <xsl:apply-templates mode="titlepage.mode"/> + </span> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="titlepage.mode"/> + </xsl:otherwise> + </xsl:choose> + </h1> +</xsl:template> + +<xsl:template match="titleabbrev" mode="titlepage.mode"> + <!-- nop; title abbreviations don't belong on the title page! --> +</xsl:template> + +<xsl:template match="volumenum" mode="titlepage.mode"> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates mode="titlepage.mode"/> + <br/> + </span> +</xsl:template> + +<!-- This template computes the filename for legalnotice and revhistory chunks --> +<xsl:template name="ln.or.rh.filename"> + <xsl:param name="node" select="."/> + <xsl:param name="is.ln" select="true()"/> + + <xsl:variable name="dbhtml-filename"> + <xsl:call-template name="pi.dbhtml_filename"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <!-- 1. If there is a dbhtml_filename PI, use that --> + <xsl:when test="$dbhtml-filename != ''"> + <xsl:value-of select="$dbhtml-filename"/> + </xsl:when> + <xsl:when test="($node/@id or $node/@xml:id) and not($use.id.as.filename = 0)"> + <!-- * 2. If this legalnotice/revhistory has an ID, then go ahead and use --> + <!-- * just the value of that ID as the basename for the file --> + <!-- * (that is, without prepending an "ln-" or "rh-" to it) --> + <xsl:value-of select="($node/@id|$node/@xml:id)[1]"/> + <xsl:value-of select="$html.ext"/> + </xsl:when> + <xsl:when test="not ($node/@id or $node/@xml:id) or $use.id.as.filename = 0"> + <!-- * 3. Otherwise, if this legalnotice/revhistory does not have an ID, or --> + <!-- * if $use.id.as.filename = 0 --> + <!-- * then we generate an ID... --> + <xsl:variable name="id"> + <xsl:value-of select="generate-id($node)"/> + </xsl:variable> + <!-- * ...and then we take that generated ID, prepend a --> + <!-- * prefix to it, and use that as the basename for the file --> + <xsl:choose> + <xsl:when test="$is.ln"> + <xsl:value-of select="concat('ln-',$id,$html.ext)"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="concat('rh-',$id,$html.ext)"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/toc.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/toc.xsl new file mode 100644 index 0000000000..81ec72435c --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/toc.xsl @@ -0,0 +1,332 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> + +<!-- ******************************************************************** + $Id: toc.xsl 9297 2012-04-22 03:56:16Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:template match="set/toc | book/toc | part/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <xsl:apply-templates/> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to parent element --> + <xsl:for-each select="parent::*"> + <xsl:choose> + <xsl:when test="self::set"> + <xsl:call-template name="set.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::book"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="self::part"> + <xsl:call-template name="division.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> + </xsl:for-each> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:copy-of select="$content"/> + </xsl:if> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/toc | appendix/toc | preface/toc | article/toc"> + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="title"/> + <dl> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="*[not(self::title)]"/> + </dl> + </div> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="component.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template match="section/toc |sect1/toc |sect2/toc |sect3/toc |sect4/toc |sect5/toc"> + + <xsl:variable name="toc.params"> + <xsl:call-template name="find.path.params"> + <xsl:with-param name="node" select="parent::*"/> + <xsl:with-param name="table" select="normalize-space($generate.toc)"/> + </xsl:call-template> + </xsl:variable> + + <!-- Do not output the toc element if one is already generated + by the use of $generate.toc parameter, or if + generating a source toc is turned off --> + <xsl:if test="not(contains($toc.params, 'toc')) and ($process.source.toc != 0 or $process.empty.source.toc != 0)"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="title"/> + <dl> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="*[not(self::title)]"/> + </dl> + </div> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + <xsl:when test="count(*) = 0 and $process.empty.source.toc != 0"> + <!-- trick to switch context node to section element --> + <xsl:for-each select="parent::*"> + <xsl:call-template name="section.toc"> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> + </xsl:call-template> + </xsl:for-each> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + </xsl:choose> + </xsl:if> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="tocpart|tocchap |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <xsl:variable name="sub-toc"> + <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dd> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocchap|toclevel1|toclevel2| toclevel3|toclevel4|toclevel5"/> + </xsl:element> + </dd> + </xsl:when> + <xsl:otherwise> + <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocchap|toclevel1|toclevel2| toclevel3|toclevel4|toclevel5"/> + </xsl:element> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <xsl:apply-templates select="tocentry[position() != last()]"/> + + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dt> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocentry[position() = last()]"/> + </dt> + <xsl:copy-of select="$sub-toc"/> + </xsl:when> + <xsl:otherwise> + <li> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates select="tocentry[position() = last()]"/> + <xsl:copy-of select="$sub-toc"/> + </li> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="tocentry|tocdiv|lotentry|tocfront|tocback"> + <xsl:choose> + <xsl:when test="$toc.list.type = 'dl'"> + <dt> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="tocentry-content"/> + </dt> + </xsl:when> + <xsl:otherwise> + <li> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="tocentry-content"/> + </li> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="tocentry[position() = last()]" priority="2"> + <xsl:call-template name="tocentry-content"/> +</xsl:template> + +<xsl:template name="tocentry-content"> + <xsl:variable name="targets" select="key('id',@linkend)"/> + <xsl:variable name="target" select="$targets[1]"/> + + <xsl:choose> + <xsl:when test="@linkend"> + <xsl:call-template name="check.id.unique"> + <xsl:with-param name="linkend" select="@linkend"/> + </xsl:call-template> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates/> + </a> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="toc/title"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="toc/subtitle"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="toc/titleabbrev"> +</xsl:template> + +<!-- ==================================================================== --> + +<!-- A lot element must have content, because there is no attribute + to select what kind of list should be generated --> +<xsl:template match="book/lot | part/lot"> + <!-- Don't generate a page sequence unless there is content --> + <xsl:variable name="content"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:if test="string-length(normalize-space($content)) != 0"> + <xsl:copy-of select="$content"/> + </xsl:if> +</xsl:template> + +<xsl:template match="chapter/lot | appendix/lot | preface/lot | article/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> + <xsl:call-template name="component.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template match="section/lot |sect1/lot |sect2/lot |sect3/lot |sect4/lot |sect5/lot"> + <xsl:choose> + <xsl:when test="* and $process.source.toc != 0"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> + <xsl:call-template name="section.toc.separator"/> + </xsl:when> + <xsl:when test="not(child::*) and $process.empty.source.toc != 0"> + <xsl:call-template name="process.empty.lot"/> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="process.empty.lot"> + <!-- An empty lot element does not provide any information to indicate + what should be included in it. You can customize this + template to generate a lot based on @role or something --> + <xsl:message> + <xsl:text>Warning: don't know what to generate for </xsl:text> + <xsl:text>lot that has no children.</xsl:text> + </xsl:message> +</xsl:template> + +<xsl:template match="lot/title"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="lot/subtitle"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="lot/titleabbrev"> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/verbatim.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/verbatim.xsl new file mode 100644 index 0000000000..d331aa0ab4 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/verbatim.xsl @@ -0,0 +1,388 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="sverb xverb lxslt exsl" version="1.0"> + +<!-- ******************************************************************** + $Id: verbatim.xsl 9589 2012-09-02 20:52:15Z tom_schr $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- XSLTHL highlighting is turned off by default. See highlighting/README + for instructions on how to turn on XSLTHL --> +<xsl:template name="apply-highlighting"> + <xsl:apply-templates/> +</xsl:template> + +<lxslt:component prefix="xverb" functions="numberLines"/> + +<xsl:template match="programlisting|screen|synopsis"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:call-template name="anchor"/> + + <xsl:variable name="div.element">pre</xsl:variable> + + <xsl:if test="$shade.verbatim != 0"> + <xsl:message> + <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> + <xsl:text>Use CSS instead,</xsl:text> + </xsl:message> + <xsl:message> + <xsl:text>for example: pre.</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> { background-color: #E0E0E0; }</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> + <xsl:variable name="rtf"> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:element name="{$div.element}" namespace="http://www.w3.org/1999/xhtml"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="@width != ''"> + <xsl:attribute name="width"> + <xsl:value-of select="@width"/> + </xsl:attribute> + </xsl:if> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </xsl:element> + </xsl:when> + <xsl:otherwise> + <xsl:element name="{$div.element}" namespace="http://www.w3.org/1999/xhtml"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:if test="@width != ''"> + <xsl:attribute name="width"> + <xsl:value-of select="@width"/> + </xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="$highlight.source != 0"> + <xsl:call-template name="apply-highlighting"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + </xsl:element> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="literallayout"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates/> + </xsl:variable> + + <xsl:if test="$shade.verbatim != 0 and @class='monospaced'"> + <xsl:message> + <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text> + <xsl:text>Use CSS instead,</xsl:text> + </xsl:message> + <xsl:message> + <xsl:text>for example: pre.</xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> { background-color: #E0E0E0; }</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> + <xsl:choose> + <xsl:when test="@class='monospaced'"> + <pre> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </pre> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="@class='monospaced'"> + <pre> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$rtf"/> + </pre> + </xsl:when> + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="address"> + <xsl:param name="suppress-numbers" select="'0'"/> + + <xsl:variable name="rtf"> + <xsl:apply-templates/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="number.rtf.lines"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:when> + + <xsl:otherwise> + <div> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <p> + <xsl:call-template name="make-verbatim"> + <xsl:with-param name="rtf" select="$rtf"/> + </xsl:call-template> + </p> + </div> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="number.rtf.lines"> + <xsl:param name="rtf" select="''"/> + <xsl:param name="pi.context" select="."/> + + <!-- Save the global values --> + <xsl:variable name="global.linenumbering.everyNth" select="$linenumbering.everyNth"/> + + <xsl:variable name="global.linenumbering.separator" select="$linenumbering.separator"/> + + <xsl:variable name="global.linenumbering.width" select="$linenumbering.width"/> + + <!-- Extract the <?dbhtml linenumbering.*?> PI values --> + <xsl:variable name="pi.linenumbering.everyNth"> + <xsl:call-template name="pi.dbhtml_linenumbering.everyNth"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.separator"> + <xsl:call-template name="pi.dbhtml_linenumbering.separator"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="pi.linenumbering.width"> + <xsl:call-template name="pi.dbhtml_linenumbering.width"> + <xsl:with-param name="node" select="$pi.context"/> + </xsl:call-template> + </xsl:variable> + + <!-- Construct the 'in-context' values --> + <xsl:variable name="linenumbering.everyNth"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.everyNth != ''"> + <xsl:value-of select="$pi.linenumbering.everyNth"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.everyNth"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.separator"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.separator != ''"> + <xsl:value-of select="$pi.linenumbering.separator"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.separator"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.width"> + <xsl:choose> + <xsl:when test="$pi.linenumbering.width != ''"> + <xsl:value-of select="$pi.linenumbering.width"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$global.linenumbering.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="linenumbering.startinglinenumber"> + <xsl:choose> + <xsl:when test="$pi.context/@startinglinenumber"> + <xsl:value-of select="$pi.context/@startinglinenumber"/> + </xsl:when> + <xsl:when test="$pi.context/@continuation='continues'"> + <xsl:variable name="lastLine"> + <xsl:choose> + <xsl:when test="$pi.context/self::programlisting"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="preceding::programlisting[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::screen"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="preceding::screen[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::literallayout"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="preceding::literallayout[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::address"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="preceding::address[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$pi.context/self::synopsis"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="preceding::synopsis[@linenumbering='numbered']"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Unexpected verbatim environment: </xsl:text> + <xsl:value-of select="local-name($pi.context)"/> + </xsl:message> + <xsl:value-of select="0"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:value-of select="$lastLine + 1"/> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:choose> + <xsl:when test="function-available('sverb:numberLines')"> + <xsl:copy-of select="sverb:numberLines($rtf)"/> + </xsl:when> + <xsl:when test="function-available('xverb:numberLines')"> + <xsl:copy-of select="xverb:numberLines($rtf)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No numberLines function available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="make-verbatim"> + <xsl:param name="rtf"/> + + <!-- I want to make this RTF verbatim. There are two possibilities: either + I have access to the exsl:node-set extension function and I can "do it right" + or I have to rely on CSS. --> + + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($rtf)" mode="make.verbatim.mode"/> + </xsl:when> + <xsl:otherwise> + <span style="white-space: pre;"> + <xsl:copy-of select="$rtf"/> + </span> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ======================================================================== --> + +<xsl:template name="lastLineNumber"> + <xsl:param name="listings"/> + <xsl:param name="number" select="0"/> + + <xsl:variable name="lines"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="string($listings[1])"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not($listings)"> + <xsl:value-of select="$number"/> + </xsl:when> + <xsl:when test="$listings[1]/@startinglinenumber"> + <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/> + </xsl:when> + <xsl:when test="$listings[1]/@continuation='continues'"> + <xsl:call-template name="lastLineNumber"> + <xsl:with-param name="listings" select="$listings[position() > 1]"/> + <xsl:with-param name="number" select="$number + $lines"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$lines"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="countLines"> + <xsl:param name="listing"/> + <xsl:param name="count" select="1"/> + + <xsl:choose> + <xsl:when test="contains($listing, ' ')"> + <xsl:call-template name="countLines"> + <xsl:with-param name="listing" select="substring-after($listing, ' ')"/> + <xsl:with-param name="count" select="$count + 1"/> + </xsl:call-template> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$count"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml/xref.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml/xref.xsl new file mode 100644 index 0000000000..5627983629 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml/xref.xsl @@ -0,0 +1,1256 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns:exsl="http://exslt.org/common" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="suwl exsl xlink" version="1.0"> + +<!-- ******************************************************************** + $Id: xref.xsl 9713 2013-01-22 22:08:30Z bobstayton $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- Use internal variable for olink xlink role for consistency --> +<xsl:variable name="xolink.role">http://docbook.org/xlink/role/olink</xsl:variable> + +<!-- ==================================================================== --> + +<xsl:template match="anchor"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <xsl:call-template name="anchor"/> + </xsl:when> + <xsl:otherwise> + <span> + <xsl:call-template name="id.attribute"/> + </span> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="xref" name="xref"> + <xsl:param name="xhref" select="@xlink:href"/> + <!-- is the @xlink:href a local idref link? --> + <xsl:param name="xlink.idref"> + <xsl:if test="starts-with($xhref,'#') and (not(contains($xhref,'(')) or starts-with($xhref, '#xpointer(id('))"> + <xsl:call-template name="xpointer.idref"> + <xsl:with-param name="xpointer" select="$xhref"/> + </xsl:call-template> + </xsl:if> + </xsl:param> + <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/> + <xsl:param name="linkend.targets" select="key('id',@linkend)"/> + <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/> + + <xsl:variable name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="anchor"/> + + <xsl:variable name="content"> + <xsl:choose> + + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </xsl:when> + + <xsl:when test="$target"> + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + </xsl:apply-templates> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:when> + + <xsl:otherwise> + <xsl:message> + <xsl:text>ERROR: xref linking to </xsl:text> + <xsl:value-of select="@linkend|@xlink:href"/> + <xsl:text> has no generated link text.</xsl:text> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> + +</xsl:template> + +<!-- ==================================================================== --> + +<!-- biblioref handled largely like an xref --> +<!-- To be done: add support for begin, end, and units attributes --> +<xsl:template match="biblioref"> + <xsl:variable name="targets" select="key('id',@linkend)"/> + <xsl:variable name="target" select="$targets[1]"/> + <xsl:variable name="refelem" select="local-name($target)"/> + + <xsl:call-template name="check.id.unique"> + <xsl:with-param name="linkend" select="@linkend"/> + </xsl:call-template> + + <xsl:call-template name="anchor"/> + + <xsl:choose> + <xsl:when test="count($target) = 0"> + <xsl:message> + <xsl:text>XRef to nonexistent id: </xsl:text> + <xsl:value-of select="@linkend"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + + <xsl:when test="@endterm"> + <xsl:variable name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:text>???</xsl:text> + </a> + </xsl:when> + <xsl:otherwise> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </a> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <xsl:when test="$target/@xreflabel"> + <a> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:attribute> + <xsl:call-template name="xref.xreflabel"> + <xsl:with-param name="target" select="$target"/> + </xsl:call-template> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:variable name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select="$target"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-prefix"/> + </xsl:if> + + <a href="{$href}"> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:if test="$target/title or $target/info/title"> + <xsl:attribute name="title"> + <xsl:apply-templates select="$target" mode="xref-title"/> + </xsl:attribute> + </xsl:if> + <xsl:apply-templates select="$target" mode="xref-to"> + <xsl:with-param name="referrer" select="."/> + <xsl:with-param name="xrefstyle"> + <xsl:choose> + <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0"> + <xsl:value-of select="@role"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="@xrefstyle"/> + </xsl:otherwise> + </xsl:choose> + </xsl:with-param> + </xsl:apply-templates> + </a> + + <xsl:if test="not(parent::citation)"> + <xsl:apply-templates select="$target" mode="xref-to-suffix"/> + </xsl:if> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="endterm"> + <!-- Process the children of the endterm element --> + <xsl:variable name="endterm"> + <xsl:apply-templates select="child::node()" mode="no.anchor.mode"/> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$exsl.node.set.available != 0"> + <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$endterm"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="remove-ids"> + <xsl:choose> + <!-- handle html or xhtml --> + <xsl:when test="local-name(.) = 'a' and (namespace-uri(.) = '' or namespace-uri(.) = 'http://www.w3.org/1999/xhtml')"> + <xsl:choose> + <xsl:when test="(@name and count(@*) = 1) or (@id and count(@*) = 1) or (@xml:id and count(@*) = 1) or (@xml:id and @name and count(@*) = 2) or (@id and @name and count(@*) = 2)"> + <xsl:message>suppress anchor</xsl:message> + <!-- suppress the whole thing --> + </xsl:when> + <xsl:otherwise> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="local-name(.) != 'name' and local-name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + </xsl:copy> + <xsl:apply-templates mode="remove-ids"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:copy> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="local-name(.) != 'id'"> + <xsl:copy/> + </xsl:when> + <xsl:otherwise> + <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + <xsl:apply-templates mode="remove-ids"/> + </xsl:copy> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="xref-to-prefix"/> +<xsl:template match="*" mode="xref-to-suffix"/> + +<xsl:template match="*" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:if test="$verbose"> + <xsl:message> + <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>", ("</xsl:text> + <xsl:value-of select="(@id|@xml:id)[1]"/> + <xsl:text>")</xsl:text> + </xsl:message> + </xsl:if> + <xsl:text>???</xsl:text> +</xsl:template> + +<xsl:template match="title" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- if you xref to a title, xref to the parent... --> + <xsl:choose> + <!-- FIXME: how reliable is this? --> + <xsl:when test="contains(local-name(parent::*), 'info')"> + <xsl:apply-templates select="parent::*[2]" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="parent::*" mode="xref-to"> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="abstract|authorblurb|personblurb|bibliodiv|bibliomset |biblioset|blockquote|calloutlist|caution|colophon |constraintdef|formalpara|glossdiv|important|indexdiv |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain |msgrel|msgset|msgsub|note|orderedlist|partintro |productionset|qandadiv|refsynopsisdiv|screenshot|segmentedlist |set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- catch-all for things with (possibly optional) titles --> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="author|editor|othercredit|personname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="person.name"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="person.name.list"/> +</xsl:template> + +<xsl:template match="figure|example|table|equation" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="procedure" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="task" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="cmdsynopsis" mode="xref-to"> + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="funcsynopsis" mode="xref-to"> + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> +</xsl:template> + +<xsl:template match="dedication|acknowledgements|preface|chapter|appendix|article" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bibliography" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix"> + <xsl:text>[</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix"> + <xsl:text>]</xsl:text> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <!-- handles both biblioentry and bibliomixed --> + <xsl:choose> + <xsl:when test="string(.) = ''"> + <xsl:variable name="bib" select="document($bibliography.collection,.)"/> + <xsl:variable name="id" select="(@id|@xml:id)[1]"/> + <xsl:variable name="entry" select="$bib/bibliography/ *[@id=$id or @xml:id=$id][1]"/> + <xsl:choose> + <xsl:when test="$entry"> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> + <xsl:apply-templates select="$entry/*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>No bibliography entry: </xsl:text> + <xsl:value-of select="$id"/> + <xsl:text> found in </xsl:text> + <xsl:value-of select="$bibliography.collection"/> + </xsl:message> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/> + </xsl:when> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossary" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="glossentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + <xsl:choose> + <xsl:when test="$glossentry.show.acronym = 'primary'"> + <xsl:choose> + <xsl:when test="acronym|abbrev"> + <xsl:apply-templates select="(acronym|abbrev)[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="glossterm[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="glossterm|firstterm" mode="xref-to"> + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="index" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="listitem" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="section|simplesect |sect1|sect2|sect3|sect4|sect5 |refsect1|refsect2|refsect3|refsection" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- FIXME: What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="topic" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="bridgehead" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + <!-- FIXME: What about "in Chapter X"? --> +</xsl:template> + +<xsl:template match="qandaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="qandaentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="question[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="question|answer" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:choose> + <xsl:when test="string-length(label) != 0"> + <xsl:apply-templates select="." mode="label.markup"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="part|reference" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:choose> + <xsl:when test="refmeta/refentrytitle"> + <xsl:apply-templates select="refmeta/refentrytitle" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="refnamediv/refname[1]" mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> + <xsl:apply-templates select="refmeta/manvolnum" mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="refnamediv" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="refname[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="refname" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates mode="xref-to"/> +</xsl:template> + +<xsl:template match="step" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="varlistentry" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="term[1]" mode="xref-to"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<xsl:template match="primary|secondary|tertiary" mode="xref-to"> + <xsl:value-of select="."/> +</xsl:template> + +<xsl:template match="indexterm" mode="xref-to"> + <xsl:value-of select="primary"/> +</xsl:template> + +<xsl:template match="varlistentry/term" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="co" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:apply-templates select="." mode="callout-bug"/> +</xsl:template> + +<xsl:template match="area|areaset" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + + <xsl:call-template name="callout-bug"> + <xsl:with-param name="conum"> + <xsl:apply-templates select="." mode="conumber"/> + </xsl:with-param> + </xsl:call-template> +</xsl:template> + +<xsl:template match="book" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> +</xsl:template> + +<!-- These are elements for which no link text exists, so an xref to one + uses the xrefstyle attribute if specified, or if not it falls back + to the container element's link text --> +<xsl:template match="para|phrase|simpara|anchor|quote" mode="xref-to"> + <xsl:param name="referrer"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="verbose" select="1"/> + + <xsl:variable name="context" select="(ancestor::simplesect |ancestor::section |ancestor::sect1 |ancestor::sect2 |ancestor::sect3 |ancestor::sect4 |ancestor::sect5 |ancestor::topic |ancestor::refsection |ancestor::refsect1 |ancestor::refsect2 |ancestor::refsect3 |ancestor::chapter |ancestor::appendix |ancestor::preface |ancestor::partintro |ancestor::dedication |ancestor::acknowledgements |ancestor::colophon |ancestor::bibliography |ancestor::index |ancestor::glossary |ancestor::glossentry |ancestor::listitem |ancestor::varlistentry)[last()]"/> + + <xsl:choose> + <xsl:when test="$xrefstyle != ''"> + <xsl:apply-templates select="." mode="object.xref.markup"> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$context" mode="xref-to"> + <xsl:with-param name="purpose" select="'xref'"/> + <xsl:with-param name="xrefstyle" select="$xrefstyle"/> + <xsl:with-param name="referrer" select="$referrer"/> + <xsl:with-param name="verbose" select="$verbose"/> + </xsl:apply-templates> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="author" mode="xref-title"> + <xsl:variable name="title"> + <xsl:call-template name="person.name"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="authorgroup" mode="xref-title"> + <xsl:variable name="title"> + <xsl:call-template name="person.name.list"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="cmdsynopsis" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="(.//command)[1]" mode="xref"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="funcsynopsis" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="(.//function)[1]" mode="xref"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="biblioentry|bibliomixed" mode="xref-title"> + <!-- handles both biblioentry and bibliomixed --> + <xsl:variable name="title"> + <xsl:text>[</xsl:text> + <xsl:choose> + <xsl:when test="local-name(*[1]) = 'abbrev'"> + <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:otherwise> + </xsl:choose> + <xsl:text>]</xsl:text> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<xsl:template match="step" mode="xref-title"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="step[not(./title)]" mode="title.markup"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Step'"/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:apply-templates select="." mode="number"/> +</xsl:template> + +<xsl:template match="co" mode="xref-title"> + <xsl:variable name="title"> + <xsl:apply-templates select="." mode="callout-bug"/> + </xsl:variable> + + <xsl:value-of select="$title"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="link" name="link"> + <xsl:param name="linkend" select="@linkend"/> + <xsl:param name="a.target"/> + <xsl:param name="xhref" select="@xlink:href"/> + + <xsl:variable name="content"> + <xsl:call-template name="anchor"/> + <xsl:choose> + <xsl:when test="count(child::node()) > 0"> + <!-- If it has content, use it --> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:when> + <!-- else look for an endterm --> + <xsl:when test="@endterm"> + <xsl:variable name="etargets" select="key('id',@endterm)"/> + <xsl:variable name="etarget" select="$etargets[1]"/> + <xsl:choose> + <xsl:when test="count($etarget) = 0"> + <xsl:message> + <xsl:value-of select="count($etargets)"/> + <xsl:text>Endterm points to nonexistent ID: </xsl:text> + <xsl:value-of select="@endterm"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="$etarget" mode="endterm"/> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <!-- Use the xlink:href if no other text --> + <xsl:when test="@xlink:href"> + <xsl:value-of select="@xlink:href"/> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>Link element has no content and no Endterm. </xsl:text> + <xsl:text>Nothing to show in the link to </xsl:text> + <xsl:value-of select="(@xlink:href|@linkend)[1]"/> + </xsl:message> + <xsl:text>???</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:call-template name="simple.xlink"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="linkend" select="$linkend"/> + <xsl:with-param name="content" select="$content"/> + <xsl:with-param name="a.target" select="$a.target"/> + <xsl:with-param name="xhref" select="$xhref"/> + </xsl:call-template> + +</xsl:template> + +<xsl:template match="ulink" name="ulink"> + <xsl:param name="url" select="@url"/> + <xsl:variable name="link"> + <a> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:if test="@id or @xml:id"> + <xsl:choose> + <xsl:when test="$generate.id.attributes = 0"> + <xsl:attribute name="id"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="id"> + <xsl:value-of select="(@id|@xml:id)[1]"/> + </xsl:attribute> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + <xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute> + <xsl:if test="$ulink.target != ''"> + <xsl:attribute name="target"> + <xsl:value-of select="$ulink.target"/> + </xsl:attribute> + </xsl:if> + <xsl:choose> + <xsl:when test="count(child::node())=0"> + <xsl:value-of select="$url"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates mode="no.anchor.mode"/> + </xsl:otherwise> + </xsl:choose> + </a> + </xsl:variable> + + <xsl:choose> + <xsl:when test="function-available('suwl:unwrapLinks')"> + <xsl:copy-of select="suwl:unwrapLinks($link)"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$link"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="olink" name="olink"> + <!-- olink content may be passed in from xlink olink --> + <xsl:param name="content" select="NOTANELEMENT"/> + + <xsl:call-template name="anchor"/> + + <xsl:choose> + <!-- olinks resolved by stylesheet and target database --> + <xsl:when test="@targetdoc or @targetptr or (@xlink:role=$xolink.role and contains(@xlink:href, '#') )"> + + <xsl:variable name="targetdoc.att"> + <xsl:choose> + <xsl:when test="@targetdoc != ''"> + <xsl:value-of select="@targetdoc"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and contains(@xlink:href, '#')"> + <xsl:value-of select="substring-before(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="targetptr.att"> + <xsl:choose> + <xsl:when test="@targetptr != ''"> + <xsl:value-of select="@targetptr"/> + </xsl:when> + <xsl:when test="@xlink:role=$xolink.role and contains(@xlink:href, '#')"> + <xsl:value-of select="substring-after(@xlink:href, '#')"/> + </xsl:when> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="xref-context" select="true()"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database.filename"> + <xsl:call-template name="select.target.database"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="target.database" select="document($target.database.filename,/)"/> + + <xsl:if test="$olink.debug != 0"> + <xsl:message> + <xsl:text>Olink debug: root element of target.database '</xsl:text> + <xsl:value-of select="$target.database.filename"/> + <xsl:text>' is '</xsl:text> + <xsl:value-of select="local-name($target.database/*[1])"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="olink.key"> + <xsl:call-template name="select.olink.key"> + <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/> + <xsl:with-param name="targetptr.att" select="$targetptr.att"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="string-length($olink.key) = 0"> + <xsl:message> + <xsl:text>Error: unresolved olink: </xsl:text> + <xsl:text>targetdoc/targetptr = '</xsl:text> + <xsl:value-of select="$targetdoc.att"/> + <xsl:text>/</xsl:text> + <xsl:value-of select="$targetptr.att"/> + <xsl:text>'.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="href"> + <xsl:call-template name="make.olink.href"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="hottext"> + <xsl:choose> + <xsl:when test="string-length($content) != 0"> + <xsl:copy-of select="$content"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="olink.hottext"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + <xsl:with-param name="target.database" select="$target.database"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <xsl:variable name="olink.docname.citation"> + <xsl:call-template name="olink.document.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="olink.page.citation"> + <xsl:call-template name="olink.page.citation"> + <xsl:with-param name="olink.key" select="$olink.key"/> + <xsl:with-param name="target.database" select="$target.database"/> + <xsl:with-param name="olink.lang" select="$olink.lang"/> + </xsl:call-template> + </xsl:variable> + + <xsl:choose> + <xsl:when test="$href != ''"> + <a href="{$href}"> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$hottext"/> + </a> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:when> + <xsl:otherwise> + <span class="olink"> + <xsl:call-template name="id.attribute"/> + <xsl:copy-of select="$hottext"/> + </span> + <xsl:copy-of select="$olink.page.citation"/> + <xsl:copy-of select="$olink.docname.citation"/> + </xsl:otherwise> + </xsl:choose> + + </xsl:when> + + <xsl:otherwise> + <xsl:choose> + <xsl:when test="@linkmode or @targetdocent or @localinfo"> + <!-- old olink mechanism --> + <xsl:message> + <xsl:text>ERROR: olink using obsolete attributes </xsl:text> + <xsl:text>@linkmode, @targetdocent, @localinfo are </xsl:text> + <xsl:text>not supported.</xsl:text> + </xsl:message> + </xsl:when> + <xsl:otherwise> + <xsl:message> + <xsl:text>ERROR: olink is missing linking attributes.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="pagenumber.markup"> + <!-- no-op in HTML --> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template name="xref.xreflabel"> + <!-- called to process an xreflabel...you might use this to make --> + <!-- xreflabels come out in the right font for different targets, --> + <!-- for example. --> + <xsl:param name="target" select="."/> + <xsl:value-of select="$target/@xreflabel"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="title" mode="xref"> + <xsl:apply-templates mode="no.anchor.mode"/> +</xsl:template> + +<xsl:template match="command" mode="xref"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="function" mode="xref"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<!-- ==================================================================== --> + +<xsl:template match="*" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <xsl:copy-of select="$title"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="chapter|appendix" mode="insert.title.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="title"/> + + <xsl:choose> + <xsl:when test="$purpose = 'xref'"> + <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform"> + <xsl:copy-of select="$title"/> + </em> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$title"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="*" mode="insert.subtitle.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="subtitle"/> + + <xsl:copy-of select="$subtitle"/> +</xsl:template> + +<xsl:template match="*" mode="insert.label.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="label"/> + + <xsl:copy-of select="$label"/> +</xsl:template> + +<xsl:template match="*" mode="insert.pagenumber.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="pagenumber"/> + + <xsl:copy-of select="$pagenumber"/> +</xsl:template> + +<xsl:template match="*" mode="insert.direction.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="direction"/> + + <xsl:copy-of select="$direction"/> +</xsl:template> + +<xsl:template match="*" mode="insert.olink.docname.markup"> + <xsl:param name="purpose"/> + <xsl:param name="xrefstyle"/> + <xsl:param name="docname"/> + + <span class="olinkdocname"> + <xsl:copy-of select="$docname"/> + </span> + +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/README b/apache-fop/src/test/resources/docbook-xsl/xhtml5/README new file mode 100644 index 0000000000..c0db6b7e57 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/README @@ -0,0 +1,61 @@ +DocBook stylesheets for HTML5 output +============================================= + +This directory contains XSL stylesheets +for generating HTML5 output from DocBook content. +For information on HTML5, see: + +http://dev.w3.org/html5/spec/Overview.html + +Note that there is no schema available for HTML5, by design. + +The output of these stylesheets is the XML serialization of +HTML5. There is no provision for generating the HTML +serialization of HTML5 with these stylesheets. + +These HTML5 stylesheets are also used by the EPUB3 +stylesheets included in this distribution. + +These stylesheets are customizations of the +existing stylesheets in the "xhtml/" directory. +Using a customization layer enables the HTML5 +stylesheets to inherit all the features of the +XHTML stylesheets while making the minimum changes +for them to produce valid HTML5. + +If you are processing DocBook 5 document, you should use +the namespaced version of the stylesheets, with "-ns-" +in the directory name. + + +Usage +----------- +You should be able to apply any of these stylesheet files +to a DocBook document as with any other DocBook stylesheet: + +xhtml5/docbook.xsl - Single file output. +xhtml5/chunk.xsl - Chunked output. +xhtml5/profile-docbook.xsl - Profiled single file output. +xhtml5/profile-chunk.xsl - Profiled chunk output. +xhtml5/chunkfast.xsl - Chunked output with precomputed chunks. + +Do not attempt to directly use the following two stylesheet files: + +xhtml-docbook.xsl +xhtml-profile-docbook.xsl + +Those are copies of the corresponding files in the +xhtml/ directory, modified to remove the doctype +declarations in the xsl:output elements. They were also +modified to import from the original xhtml/ directory. +They will produce xhtml output, not HTML5 output. +They are imported by the xhtml5 stylesheet files. + +Testing +-------------- + +The HTML5 output of these stylesheets should pass the +W3C online validator, available here: + +http://validator.w3.org/ + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunk.xsl new file mode 100644 index 0000000000..e3fc396f0d --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunk.xsl @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="exsl" + version="1.0"> + +<!-- $Id: chunk.xsl,v 1.1 2011-09-16 21:43:59 bobs Exp $ --> + +<!-- This is the main driver stylesheet file. It imports or +includes all the components that it needs. --> + +<!-- Import the module that customizes docbook elements --> +<!-- Put any customizations of element content in this module. --> +<xsl:import href="docbook.xsl"/> + +<xsl:import href="../xhtml/chunk-common.xsl"/> + +<xsl:include href="../xhtml/chunk-code.xsl"/> + +<!-- The following module has templates that override the stock + xhtml templates for HTML5 output. + It contains match templates with priority="1" attributes, + and named templates. These override any templates that + handle chunking behavior --> +<xsl:include href="html5-chunk-mods.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunkfast.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunkfast.xsl new file mode 100644 index 0000000000..fd1be4d0d0 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/chunkfast.xsl @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="cf exsl"> + +<!-- ******************************************************************** + $Id: chunkfast.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="chunk.xsl"/> +<xsl:param name="chunk.fast" select="1"/> + +<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/> + +<!-- ==================================================================== --> + +<xsl:template name="process-chunk-element"> + <xsl:choose> + <xsl:when test="$chunk.fast != 0 and $exsl.node.set.available != 0"> + <xsl:variable name="genid" select="generate-id()"/> + + <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/> + + <xsl:variable name="prevdiv" select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/> + <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/> + + <xsl:variable name="nextdiv" select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/> + <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/> + + <xsl:choose> + <xsl:when test="$onechunk != 0 and parent::*"> + <xsl:apply-imports/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="process-chunk"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:choose> + <xsl:when test="$onechunk != 0 and not(parent::*)"> + <xsl:call-template name="chunk-all-sections"/> + </xsl:when> + <xsl:when test="$onechunk != 0"> + <xsl:apply-imports/> + </xsl:when> + <xsl:when test="$chunk.first.sections = 0"> + <xsl:call-template name="chunk-first-section-with-parent"/> + </xsl:when> + <xsl:otherwise> + <xsl:call-template name="chunk-all-sections"/> + </xsl:otherwise> + </xsl:choose> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.css.xml b/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.css.xml new file mode 100644 index 0000000000..9587979e40 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.css.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<style> + +/********************************/ +/* start of styles in block.xsl */ + +.formalpara-title { + font-weight: bold; +} + +div.blockquote-title { + font-weight: bold; + margin-top: 1em; + margin-bottom: 1em; +} + +span.msgmain-title { + font-weight: bold; +} + +span.msgsub-title { + font-weight: bold; +} + +span.msgrel-title { + font-weight: bold; +} + +div.msglevel, div.msgorig, div.msgaud { + margin-top: 1em; + margin-bottom: 1em; +} + +span.msglevel-title, span.msgorig-title, span.msgaud-title { + font-weight: bold; +} + +div.msgexplan { + margin-top: 1em; + margin-bottom: 1em; +} + +span.msgexplan-title { + font-weight: bold; +} + +/* end of styles in block.xsl */ +/********************************/ + +/********************************/ +/* start of styles in autotoc.xsl */ + + +/* end of styles in autotoc.xsl */ +/********************************/ + +/********************************/ +/* start of styles in formal.xsl */ + +div.figure-title { + font-weight: bold; +} + +div.example-title { + font-weight: bold; +} + +div.equation-title { + font-weight: bold; +} + +div.table-title { + font-weight: bold; +} + +div.sidebar-title { + font-weight: bold; +} + + +/* end of styles in formal.xsl */ +/********************************/ + +/********************************/ +/* start of styles in verbatim.xsl */ + +div.programlisting { + white-space: pre; + font-family: monospace; +} + +div.screen { + white-space: pre; + font-family: monospace; +} + +div.synopsis { + white-space: pre; + font-family: monospace; +} + +/* end of styles in verbatim.xsl */ +/********************************/ +</style> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.xsl new file mode 100644 index 0000000000..421fbb5a08 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/docbook.xsl @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE xsl:stylesheet [ +]> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table" + xmlns:xtbl="xalan://com.nwalsh.xalan.Table" + xmlns:lxslt="http://xml.apache.org/xslt" + xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table" + exclude-result-prefixes="exsl stbl xtbl lxslt ptbl" + version="1.0"> + +<!-- $Id: docbook.xsl,v 1.2 2011-09-18 17:47:28 bobs Exp $ --> +<xsl:import href="xhtml-docbook.xsl"/> +<xsl:include href="html5-element-mods.xsl"/> + +<xsl:output method="xml" encoding="UTF-8" /> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-chunk-mods.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-chunk-mods.xsl new file mode 100644 index 0000000000..27426ac1ac --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-chunk-mods.xsl @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + exclude-result-prefixes="exsl" + version="1.0"> + +<!-- $Id: html5-chunk-mods.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $ --> + +<!-- call HTML5 header and footer templates for navigation --> +<xsl:template name="chunk-element-content"> + <xsl:param name="prev"/> + <xsl:param name="next"/> + <xsl:param name="nav.context"/> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + + <xsl:call-template name="user.preroot"/> + + <html> + <xsl:call-template name="root.attributes"/> + <xsl:call-template name="html.head"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + </xsl:call-template> + + <body> + <xsl:call-template name="body.attributes"/> + + <xsl:call-template name="html5.header.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="user.header.content"/> + + <xsl:copy-of select="$content"/> + + <xsl:call-template name="user.footer.content"/> + + <xsl:call-template name="html5.footer.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + </body> + </html> + <xsl:value-of select="$chunk.append"/> +</xsl:template> + +<!-- Add HTML5 <header> wrapper, and convert some attributes to styles --> +<xsl:template name="html5.header.navigation"> + <xsl:param name="prev" select="/foo"/> + <xsl:param name="next" select="/foo"/> + <xsl:param name="nav.context"/> + + <xsl:variable name="content"> + <header> + <xsl:call-template name="user.header.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="header.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + </header> + </xsl:variable> + + <!-- And fix up any style atts --> + <xsl:call-template name="convert.styles"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + +<!-- Add HTML5 <footer> wrapper, and convert some attributes to styles --> +<xsl:template name="html5.footer.navigation"> + <xsl:param name="prev" select="/foo"/> + <xsl:param name="next" select="/foo"/> + <xsl:param name="nav.context"/> + + <xsl:variable name="content"> + <footer> + <xsl:call-template name="user.footer.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + + <xsl:call-template name="footer.navigation"> + <xsl:with-param name="prev" select="$prev"/> + <xsl:with-param name="next" select="$next"/> + <xsl:with-param name="nav.context" select="$nav.context"/> + </xsl:call-template> + </footer> + </xsl:variable> + + <!-- And fix up any style atts --> + <xsl:call-template name="convert.styles"> + <xsl:with-param name="content" select="$content"/> + </xsl:call-template> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-element-mods.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-element-mods.xsl new file mode 100644 index 0000000000..f3cb2d128b --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/html5-element-mods.xsl @@ -0,0 +1,790 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY % common.entities SYSTEM "../common/entities.ent"> +%common.entities; +]> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table" + xmlns:xtbl="xalan://com.nwalsh.xalan.Table" + xmlns:lxslt="http://xml.apache.org/xslt" + xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table" + exclude-result-prefixes="exsl stbl xtbl lxslt ptbl" + version="1.0"> + +<!-- $Id: html5-element-mods.xsl,v 1.2 2011-09-18 17:47:28 bobs Exp $ --> + +<!--==============================================================--> +<!-- DocBook XSL Parameter settings --> +<!--==============================================================--> +<!-- Set these to blank so can output special HTML5 empty DOCTYPE --> +<xsl:param name="chunker.output.doctype-system" select="''"/> +<xsl:param name="chunker.output.doctype-public" select="''"/> + +<xsl:param name="table.borders.with.css" select="1"/> +<xsl:param name="html.ext">.xhtml</xsl:param> +<xsl:param name="toc.list.type">ul</xsl:param> +<xsl:param name="css.decoration" select="1"/> +<xsl:param name="make.clean.html" select="1"/> +<xsl:param name="generate.id.attributes" select="1"/> +<xsl:variable name="div.element">section</xsl:variable> + +<!--==============================================================--> +<!-- Customized templates --> +<!--==============================================================--> + +<!-- HTML5: needs special doctype --> +<xsl:template name="user.preroot"> + <xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text> +</xsl:template> + +<!-- HTML5: Replace HTML acronum with abbr for HTML 5 --> +<xsl:template match="acronym"> + <xsl:call-template name="inline.charseq"> + <xsl:with-param name="wrapper-name">abbr</xsl:with-param> + </xsl:call-template> +</xsl:template> + +<!-- HTML5: replace border="0" with border="" --> +<!-- HTML5: No @summary allowed --> +<!-- HTML5: replace many table atts with CSS styles --> +<xsl:template match="tgroup" name="tgroup"> + <xsl:if test="not(@cols) or @cols = '' or string(number(@cols)) = 'NaN'"> + <xsl:message terminate="yes"> + <xsl:text>Error: CALS tables must specify the number of columns.</xsl:text> + </xsl:message> + </xsl:if> + + <xsl:variable name="summary"> + <xsl:call-template name="pi.dbhtml_table-summary"/> + </xsl:variable> + + <xsl:variable name="cellspacing"> + <xsl:call-template name="pi.dbhtml_cellspacing"/> + </xsl:variable> + + <xsl:variable name="cellpadding"> + <xsl:call-template name="pi.dbhtml_cellpadding"/> + </xsl:variable> + + <!-- First generate colgroup with attributes --> + <xsl:variable name="colgroup.with.attributes"> + <colgroup> + <xsl:call-template name="generate.colgroup"> + <xsl:with-param name="cols" select="@cols"/> + </xsl:call-template> + </colgroup> + </xsl:variable> + + <!-- then modify colgroup attributes with extension --> + <xsl:variable name="colgroup.with.extension"> + <xsl:choose> + <xsl:when test="$use.extensions != 0 + and $tablecolumns.extension != 0"> + <xsl:choose> + <xsl:when test="function-available('stbl:adjustColumnWidths')"> + <xsl:copy-of select="stbl:adjustColumnWidths($colgroup.with.attributes)"/> + </xsl:when> + <xsl:when test="function-available('xtbl:adjustColumnWidths')"> + <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup.with.attributes)"/> + </xsl:when> + <xsl:when test="function-available('ptbl:adjustColumnWidths')"> + <xsl:copy-of select="ptbl:adjustColumnWidths($colgroup.with.attributes)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No adjustColumnWidths function available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="$colgroup.with.attributes"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <!-- Now convert to @style --> + <xsl:variable name="colgroup"> + <xsl:call-template name="colgroup.with.style"> + <xsl:with-param name="colgroup" select="$colgroup.with.extension"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="explicit.table.width"> + <xsl:call-template name="pi.dbhtml_table-width"> + <xsl:with-param name="node" select=".."/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="table.width.candidate"> + <xsl:choose> + <xsl:when test="$explicit.table.width != ''"> + <xsl:value-of select="$explicit.table.width"/> + </xsl:when> + <xsl:when test="$default.table.width = ''"> + <xsl:text>100%</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$default.table.width"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + + <xsl:variable name="table.width"> + <xsl:if test="$default.table.width != '' + or $explicit.table.width != ''"> + <xsl:choose> + <xsl:when test="contains($table.width.candidate, '%')"> + <xsl:value-of select="$table.width.candidate"/> + </xsl:when> + <xsl:when test="$use.extensions != 0 + and $tablecolumns.extension != 0"> + <xsl:choose> + <xsl:when test="function-available('stbl:convertLength')"> + <xsl:value-of select="stbl:convertLength($table.width.candidate)"/> + </xsl:when> + <xsl:when test="function-available('xtbl:convertLength')"> + <xsl:value-of select="xtbl:convertLength($table.width.candidate)"/> + </xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes"> + <xsl:text>No convertLength function available.</xsl:text> + </xsl:message> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$table.width.candidate"/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> + </xsl:variable> + + <!-- assemble a table @style --> + <xsl:variable name="table.style"> + + <xsl:if test="$cellspacing != '' or $html.cellspacing != ''"> + <xsl:text>cellspacing: </xsl:text> + <xsl:choose> + <xsl:when test="$cellspacing != ''"> + <xsl:value-of select="$cellspacing"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$html.cellspacing"/> + </xsl:otherwise> + </xsl:choose> + <xsl:text>; </xsl:text> + </xsl:if> + + <xsl:if test="$cellpadding != '' or $html.cellpadding != ''"> + <xsl:text>cellpadding: </xsl:text> + <xsl:choose> + <xsl:when test="$cellpadding != ''"> + <xsl:value-of select="$cellpadding"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$html.cellpadding"/> + </xsl:otherwise> + </xsl:choose> + <xsl:text>; </xsl:text> + </xsl:if> + + <xsl:choose> + <xsl:when test="string-length($table.width) != 0"> + <xsl:text>width: </xsl:text> + <xsl:value-of select="$table.width"/> + <xsl:text>; </xsl:text> + </xsl:when> + <xsl:when test="../@pgwide=1 or local-name(.) = 'entrytbl'"> + <xsl:text>width: 100%; </xsl:text> + </xsl:when> + <xsl:otherwise> + </xsl:otherwise> + </xsl:choose> + + <xsl:choose> + <xsl:when test="../@frame='all' or (not(../@frame) and $default.table.frame='all')"> + <xsl:text>border-collapse: collapse; </xsl:text> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'top'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'bottom'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'left'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'right'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../@frame='topbot' or (not(../@frame) and $default.table.frame='topbot')"> + <xsl:text>border-collapse: collapse;</xsl:text> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'top'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'bottom'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../@frame='top' or (not(../@frame) and $default.table.frame='top')"> + <xsl:text>border-collapse: collapse;</xsl:text> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'top'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../@frame='bottom' or (not(../@frame) and $default.table.frame='bottom')"> + <xsl:text>border-collapse: collapse;</xsl:text> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'bottom'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../@frame='sides' or (not(../@frame) and $default.table.frame='sides')"> + <xsl:text>border-collapse: collapse;</xsl:text> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'left'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + <xsl:call-template name="border"> + <xsl:with-param name="side" select="'right'"/> + <xsl:with-param name="style" select="$table.frame.border.style"/> + <xsl:with-param name="color" select="$table.frame.border.color"/> + <xsl:with-param name="thickness" select="$table.frame.border.thickness"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="../@frame='none'"> + <xsl:text>border: none;</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>border-collapse: collapse;</xsl:text> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <table> + <!-- HTML5: no table summary allowed --> + <xsl:if test="string-length($table.style) != 0"> + <xsl:attribute name="style"> + <xsl:value-of select="$table.style"/> + </xsl:attribute> + </xsl:if> + + + <xsl:copy-of select="$colgroup"/> + + <xsl:apply-templates select="thead"/> + <xsl:apply-templates select="tfoot"/> + <xsl:apply-templates select="tbody"/> + + <xsl:if test=".//footnote|../title//footnote"> + <tbody class="footnotes"> + <tr> + <td colspan="{@cols}"> + <xsl:apply-templates select=".//footnote|../title//footnote" mode="table.footnote.mode"/> + </td> + </tr> + </tbody> + </xsl:if> + </table> +</xsl:template> + +<!-- HTML5: convert col attributes to col CSS styles --> +<xsl:template name="colgroup.with.style"> + <xsl:param name="colgroup"/> + + <xsl:variable name="colgroup.nodeset" select="exsl:node-set($colgroup)"/> + <xsl:apply-templates select="$colgroup.nodeset" mode="convert.to.style"/> +</xsl:template> + +<xsl:template match="colgroup" mode="convert.to.style"> + <xsl:copy> + <xsl:copy-of select="@*"/> + <xsl:apply-templates mode="convert.to.style"/> + </xsl:copy> +</xsl:template> + +<!-- HTML5: converts obsolete HTML attributes to CSS styles --> +<xsl:template match="*" mode="convert.to.style"> + + <xsl:variable name="element" select="local-name(.)"/> + + <xsl:variable name="style.from.atts"> + <xsl:for-each select="@*"> + + <xsl:choose> + <!-- width and height attributes are ok for img element --> + <xsl:when test="local-name() = 'width' and $element != 'img'"> + <xsl:text>width: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'height' and $element != 'img'"> + <xsl:text>height </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'align'"> + <xsl:text>text-align: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'valign'"> + <xsl:text>vertical-align: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'border'"> + <xsl:text>border: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'cellspacing'"> + <xsl:text>border-spacing: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + + <xsl:when test="local-name() = 'cellpadding'"> + <xsl:text>padding: </xsl:text> + <xsl:value-of select="."/> + <xsl:text>; </xsl:text> + </xsl:when> + </xsl:choose> + </xsl:for-each> + </xsl:variable> + + <!-- merge existing styles with these new styles --> + <xsl:variable name="style"> + <xsl:value-of select="concat($style.from.atts, @style)"/> + </xsl:variable> + + <!-- HTML5: reserved for element name conversion if needed --> + <xsl:variable name="element.name"> + <xsl:value-of select="local-name(.)"/> + </xsl:variable> + + <xsl:element name="{$element.name}"> + <xsl:if test="string-length($style) != 0"> + <xsl:attribute name="style"> + <xsl:value-of select="$style"/> + </xsl:attribute> + </xsl:if> + <!-- skip converted atts, and also skip disallowed summary attribute --> + <xsl:for-each select="@*"> + <xsl:choose> + <xsl:when test="local-name(.) = 'width' and $element != 'img'"/> + <xsl:when test="local-name(.) = 'height' and $element != 'img'"/> + <xsl:when test="local-name(.) = 'summary'"/> + <xsl:when test="local-name(.) = 'border'"/> + <xsl:when test="local-name(.) = 'cellspacing'"/> + <xsl:when test="local-name(.) = 'cellpadding'"/> + <xsl:when test="local-name(.) = 'style'"/> + <xsl:when test="local-name(.) = 'align'"/> + <xsl:when test="local-name(.) = 'valign'"/> + <xsl:otherwise> + <xsl:copy-of select="."/> + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + <xsl:apply-templates mode="convert.to.style"/> + </xsl:element> +</xsl:template> + +<!-- HTML5: convert some attributes to CSS style attribute --> +<xsl:template match="entry|entrytbl"> + <xsl:param name="col"> + <xsl:choose> + <xsl:when test="@revisionflag"> + <xsl:number from="row"/> + </xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:param> + + <xsl:param name="spans"/> + + + <!-- Process with stock template --> + <xsl:variable name="cell"> + <xsl:call-template name="entry"> + <xsl:with-param name="col" select="$col"/> + <xsl:with-param name="spans" select="$spans"/> + </xsl:call-template> + </xsl:variable> + + <xsl:variable name="cell.nodes" select="exsl:node-set($cell)"/> + + <xsl:apply-templates select="$cell.nodes" mode="convert.to.style"/> + +</xsl:template> + +<xsl:template match="mediaobject|inlinemediaobject"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="qandaset"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="calloutlist|revhistory|footnote|figure|co"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="revhistory" mode="titlepage.mode"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="variablelist"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="orderedlist[@inheritnum = 'inherit']"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="simplelist"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="blockquote"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="note|important|warning|caution|tip"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="funcprototype" mode="ansi-tabular"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template match="funcprototype" mode="kr-tabular"> + <xsl:call-template name="convert.styles"/> +</xsl:template> + +<xsl:template name="convert.styles"> + <xsl:param name="content"> + <xsl:apply-imports/> + </xsl:param> + <xsl:variable name="nodes" select="exsl:node-set($content)"/> + + <xsl:apply-templates mode="convert.to.style" select="$nodes"/> +</xsl:template> + +<!-- HTML5: link rel="home" is not permitted --> +<!-- Add support for attributes on <html> element --> +<xsl:template match="*" mode="process.root"> + <xsl:variable name="doc" select="self::*"/> + + <xsl:call-template name="user.preroot"/> + <xsl:call-template name="root.messages"/> + + <html> + <xsl:call-template name="root.attributes"/> + <head> + <xsl:call-template name="system.head.content"> + <xsl:with-param name="node" select="$doc"/> + </xsl:call-template> + <xsl:call-template name="head.content"> + <xsl:with-param name="node" select="$doc"/> + </xsl:call-template> + <xsl:call-template name="user.head.content"> + <xsl:with-param name="node" select="$doc"/> + </xsl:call-template> + </head> + <body> + <xsl:call-template name="body.attributes"/> + <xsl:call-template name="user.header.content"> + <xsl:with-param name="node" select="$doc"/> + </xsl:call-template> + <xsl:apply-templates select="."/> + <xsl:call-template name="user.footer.content"> + <xsl:with-param name="node" select="$doc"/> + </xsl:call-template> + </body> + </html> + <xsl:value-of select="$html.append"/> + + <!-- Generate any css files only once, not once per chunk --> + <xsl:call-template name="generate.css.files"/> +</xsl:template> + +<xsl:template name="root.attributes"> +</xsl:template> + +<!-- HTML5: uses <ul> instead of <dl> for TOC --> +<xsl:template match="question" mode="qandatoc.mode"> + <xsl:variable name="firstch"> + <!-- Use a titleabbrev or title if available --> + <xsl:choose> + <xsl:when test="../blockinfo/titleabbrev"> + <xsl:apply-templates select="../blockinfo/titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../blockinfo/title"> + <xsl:apply-templates select="../blockinfo/title[1]/node()"/> + </xsl:when> + <xsl:when test="../info/titleabbrev"> + <xsl:apply-templates select="../info/titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../titleabbrev"> + <xsl:apply-templates select="../titleabbrev[1]/node()"/> + </xsl:when> + <xsl:when test="../info/title"> + <xsl:apply-templates select="../info/title[1]/node()"/> + </xsl:when> + <xsl:when test="../title"> + <xsl:apply-templates select="../title[1]/node()"/> + </xsl:when> + <xsl:otherwise> + <xsl:apply-templates select="(*[local-name(.)!='label'])[1]/node()"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:variable name="deflabel"> + <xsl:choose> + <xsl:when test="ancestor-or-self::*[@defaultlabel]"> + <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] + /@defaultlabel"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="$qanda.defaultlabel"/> + </xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <li> + <a> + <xsl:attribute name="href"> + <xsl:call-template name="href.target"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:attribute> + <xsl:apply-templates select="." mode="label.markup"/> + <xsl:if test="contains($deflabel,'number') and not(label)"> + <xsl:apply-templates select="." mode="intralabel.punctuation"/> + </xsl:if> + <xsl:text> </xsl:text> + <xsl:value-of select="$firstch"/> + </a> + <!-- * include nested qandaset/qandaentry in TOC if user wants it --> + + <xsl:if test="not($qanda.nested.in.toc = 0)"> + <xsl:apply-templates select="following-sibling::answer" mode="qandatoc.mode"/> + </xsl:if> + </li> +</xsl:template> + +<xsl:template match="answer" mode="qandatoc.mode"> + <xsl:if test="descendant::question"> + <xsl:call-template name="process.qanda.toc"/> + </xsl:if> +</xsl:template> + +<!-- html5 uses <ul> instead of <dl> for toc --> +<xsl:template name="process.qanda.toc"> + <ul> + <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/> + <xsl:apply-templates select="qandaset|qandaentry" mode="qandatoc.mode"/> + </ul> +</xsl:template> + +<xsl:template match="qandadiv" mode="qandatoc.mode"> + <!-- + <dt><xsl:apply-templates select="title" mode="qandatoc.mode"/></dt> + <dd><xsl:call-template name="process.qanda.toc"/></dd> + --> + <li> + <xsl:apply-templates select="title" mode="qandatoc.mode"/> + <xsl:call-template name="process.qanda.toc"/> + </li> +</xsl:template> + +<xsl:template match="audiodata"> + <xsl:variable name="filename"> + <xsl:call-template name="mediaobject.filename"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + + <audio> + <xsl:call-template name="common.html.attributes"/> + + <xsl:attribute name="src"> + <xsl:value-of select="$filename"/> + </xsl:attribute> + + <xsl:apply-templates select="@*"/> + <xsl:apply-templates select="../multimediaparam"/> + + <!-- add any fallback content --> + <xsl:call-template name="audio.fallback"/> + </audio> +</xsl:template> + +<!-- generate <video> element for html5 --> +<xsl:template match="videodata"> + <xsl:variable name="filename"> + <xsl:call-template name="mediaobject.filename"> + <xsl:with-param name="object" select=".."/> + </xsl:call-template> + </xsl:variable> + + <video> + <xsl:call-template name="common.html.attributes"/> + + <xsl:attribute name="src"> + <xsl:value-of select="$filename"/> + </xsl:attribute> + + <xsl:call-template name="video.poster"/> + + <xsl:apply-templates select="@*[local-name() != 'fileref']"/> + <xsl:apply-templates select="../multimediaparam"/> + + <!-- add any fallback content --> + <xsl:call-template name="video.fallback"/> + </video> +</xsl:template> + +<!-- use only an imageobject with @role = 'poster' --> +<xsl:template name="video.poster"> + <xsl:variable name="imageobject" select="../../imageobject[@role = 'poster'][1]"/> + <xsl:if test="$imageobject"> + <xsl:attribute name="poster"> + <xsl:value-of select="$imageobject/imagedata/@fileref"/> + </xsl:attribute> + </xsl:if> +</xsl:template> + +<xsl:template match="videodata/@fileref"> + <!-- already handled by videodata template --> +</xsl:template> + +<xsl:template match="audiodata/@fileref"> + <!-- already handled by audiodata template --> +</xsl:template> + +<xsl:template match="videodata/@contentwidth"> + <xsl:attribute name="width"> + <xsl:value-of select="."/> + </xsl:attribute> +</xsl:template> + +<xsl:template match="videodata/@contentdepth"> + <xsl:attribute name="height"> + <xsl:value-of select="."/> + </xsl:attribute> +</xsl:template> + +<xsl:template match="videodata/@depth"> + <xsl:attribute name="height"> + <xsl:value-of select="."/> + </xsl:attribute> +</xsl:template> + +<!-- pass through these attributes --> +<xsl:template match="videodata/@autoplay | + videodata/@controls | + audiodata/@autoplay | + audiodata/@controls"> + <xsl:copy-of select="."/> +</xsl:template> + +<xsl:template match="videodata/@*" priority="-1"> + <!-- Do nothing with the rest of the attributes --> +</xsl:template> + +<xsl:template match="audiodata/@*" priority="-1"> + <!-- Do nothing with the rest of the attributes --> +</xsl:template> + +<xsl:template match="multimediaparam"> + <xsl:call-template name="process.multimediaparam"> + <xsl:with-param name="object" select=".."/> + <xsl:with-param name="param.name" select="@name"/> + <xsl:with-param name="param.value" select="@value"/> + </xsl:call-template> +</xsl:template> + +<!-- Determines the best value of a media attribute from the + attributes and multimediaparam elements --> +<xsl:template name="process.multimediaparam"> + <xsl:param name="object" select="NOTANELEMENT"/> + <xsl:param name="param.name"/> + <xsl:param name="param.value"/> + + <xsl:choose> + <xsl:when test="$object/*/@*[local-name(.) = $param.name]"> + <!-- explicit attribute with that name takes precedence --> + <xsl:attribute name="{$param.name}"> + <xsl:value-of select="$object/*/@*[local-name(.) = $param.name]"/> + </xsl:attribute> + </xsl:when> + <xsl:otherwise> + <xsl:attribute name="{$param.name}"> + <xsl:value-of select="$param.value"/> + </xsl:attribute> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template name="video.fallback"> + <xsl:param name="videodata" select="."/> + <xsl:variable name="textobject" select="$videodata/../../textobject"/> + + <xsl:apply-templates select="$textobject" mode="fallback"/> +</xsl:template> + +<xsl:template name="audio.fallback"> + <xsl:param name="audiodata" select="."/> + <xsl:variable name="textobject" select="$audiodata/../../textobject"/> + + <xsl:apply-templates select="$textobject" mode="fallback"/> +</xsl:template> + +<xsl:template match="textobject" mode="fallback"> + <div> + <xsl:apply-templates select="." mode="class.attribute"/> + <xsl:apply-templates/> + </div> +</xsl:template> + +<!-- HTML5: no body attributes --> +<xsl:template name="body.attributes"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/onechunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/onechunk.xsl new file mode 100644 index 0000000000..92e8874594 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/onechunk.xsl @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="ASCII"?> +<!--This file was created automatically by html2xhtml--> +<!--from the HTML stylesheets.--> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc"> + +<!-- ******************************************************************** + $Id: onechunk.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="chunk.xsl"/> + +<!-- Ok, using the onechunk parameter makes this all work again. --> +<!-- It does have the disadvantage that it only works for documents that have --> +<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. --> +<!-- Ideally, onechunk would let anything be a chunk. But not today. --> + +<xsl:param name="onechunk" select="1"/> +<xsl:param name="suppress.navigation">1</xsl:param> + +<xsl:template name="href.target.uri"> + <xsl:param name="object" select="."/> + <xsl:text>#</xsl:text> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> +</xsl:template> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-chunk.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-chunk.xsl new file mode 100644 index 0000000000..5c04c31540 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-chunk.xsl @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl"> + +<!-- ******************************************************************** + $Id: profile-chunk.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<!-- First import the non-chunking templates that format elements + within each chunk file. In a customization, you should + create a separate non-chunking customization layer such + as mydocbook.xsl that imports the original docbook.xsl and + customizes any presentation templates. Then your chunking + customization should import mydocbook.xsl instead of + docbook.xsl. --> +<xsl:import href="docbook.xsl"/> + +<!-- chunk-common.xsl contains all the named templates for chunking. + In a customization file, you import chunk-common.xsl, then + add any customized chunking templates of the same name. + They will have import precedence over the original + chunking templates in chunk-common.xsl. --> +<xsl:import href="../xhtml/chunk-common.xsl"/> + +<!-- The manifest.xsl module is no longer imported because its + templates were moved into chunk-common and chunk-code --> + +<!-- chunk-code.xsl contains all the chunking templates that use + a match attribute. In a customization it should be referenced + using <xsl:include> instead of <xsl:import>, and then add + any customized chunking templates with match attributes. But be sure + to add a priority="1" to such customized templates to resolve + its conflict with the original, since they have the + same import precedence. + + Using xsl:include prevents adding another layer + of import precedence, which would cause any + customizations that use xsl:apply-imports to wrongly + apply the chunking version instead of the original + non-chunking version to format an element. --> +<xsl:include href="../xhtml/profile-chunk-code.xsl"/> + +<xsl:include href="html5-chunk-mods.xsl"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-docbook.xsl new file mode 100644 index 0000000000..47f8236f53 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/profile-docbook.xsl @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt exslt" version="1.0"> + + +<!-- ******************************************************************** + $Id: profile-docbook.xsl,v 1.2 2011-09-18 17:47:28 bobs Exp $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:import href="xhtml-profile-docbook.xsl"/> + +<xsl:include href="html5-element-mods.xsl"/> + +<xsl:output method="xml" encoding="UTF-8" indent="no"/> + +</xsl:stylesheet> diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-docbook.xsl new file mode 100644 index 0000000000..93c2df7f88 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-docbook.xsl @@ -0,0 +1,541 @@ +<?xml version="1.0"?> + +<!--This file was created automatically by xhtml2xhtml5.xsl from the xhtml stylesheet.--> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="db ng exsl exslt" version="1.0"> + +<!--Same as xhtml but with doctypes removed from xsl:output --> +<!--and including from ../xhtml directory --> +<xslo:output xmlns:xslo="http://www.w3.org/1999/XSL/Transform" method="xml" encoding="UTF-8" indent="no"/> + +<!-- ******************************************************************** + $Id: docbook.xsl 9605 2012-09-18 10:48:54Z tom_schr $ + ******************************************************************** + + This file is part of the XSL DocBook Stylesheet distribution. + See ../README or http://docbook.sf.net/release/xsl/current/ for + copyright and other information. + + ******************************************************************** --> + +<!-- ==================================================================== --> + +<xsl:include href="../VERSION.xsl"/> +<xsl:include href="../xhtml/param.xsl"/> +<xsl:include href="../lib/lib.xsl"/> +<xsl:include href="../common/l10n.xsl"/> +<xsl:include href="../common/common.xsl"/> +<xsl:include href="../common/utility.xsl"/> +<xsl:include href="../common/labels.xsl"/> +<xsl:include href="../common/titles.xsl"/> +<xsl:include href="../common/subtitles.xsl"/> +<xsl:include href="../common/gentext.xsl"/> +<xsl:include href="../common/targets.xsl"/> +<xsl:include href="../common/olink.xsl"/> +<xsl:include href="../common/pi.xsl"/> +<xsl:include href="../xhtml/autotoc.xsl"/> +<xsl:include href="../xhtml/autoidx.xsl"/> +<xsl:include href="../xhtml/lists.xsl"/> +<xsl:include href="../xhtml/callout.xsl"/> +<xsl:include href="../xhtml/verbatim.xsl"/> +<xsl:include href="../xhtml/graphics.xsl"/> +<xsl:include href="../xhtml/xref.xsl"/> +<xsl:include href="../xhtml/formal.xsl"/> +<xsl:include href="../xhtml/table.xsl"/> +<xsl:include href="../xhtml/htmltbl.xsl"/> +<xsl:include href="../xhtml/sections.xsl"/> +<xsl:include href="../xhtml/inline.xsl"/> +<xsl:include href="../xhtml/footnote.xsl"/> +<xsl:include href="../xhtml/html.xsl"/> +<xsl:include href="../xhtml/info.xsl"/> +<xsl:include href="../xhtml/keywords.xsl"/> +<xsl:include href="../xhtml/division.xsl"/> +<xsl:include href="../xhtml/toc.xsl"/> +<xsl:include href="../xhtml/index.xsl"/> +<xsl:include href="../xhtml/refentry.xsl"/> +<xsl:include href="../xhtml/math.xsl"/> +<xsl:include href="../xhtml/admon.xsl"/> +<xsl:include href="../xhtml/component.xsl"/> +<xsl:include href="../xhtml/biblio.xsl"/> +<xsl:include href="../xhtml/biblio-iso690.xsl"/> +<xsl:include href="../xhtml/glossary.xsl"/> +<xsl:include href="../xhtml/block.xsl"/> +<xsl:include href="../xhtml/task.xsl"/> +<xsl:include href="../xhtml/qandaset.xsl"/> +<xsl:include href="../xhtml/synop.xsl"/> +<xsl:include href="../xhtml/titlepage.xsl"/> +<xsl:include href="../xhtml/titlepage.templates.xsl"/> +<xsl:include href="../xhtml/pi.xsl"/> +<xsl:include href="../xhtml/ebnf.xsl"/> +<xsl:include href="../xhtml/chunker.xsl"/> +<xsl:include href="../xhtml/html-rtf.xsl"/> +<xsl:include href="../xhtml/annotations.xsl"/> +<xsl:include href="../common/stripns.xsl"/> + +<xsl:param name="stylesheet.result.type" select="'xhtml'"/> +<xsl:param name="htmlhelp.output" select="0"/> + +<!-- ==================================================================== --> + +<xsl:key name="id" match="*" use="@id|@xml:id"/> +<xsl:key name="gid" match="*" use="generate-id()"/> + +<!-- ==================================================================== --> + +<xsl:template match="*"> + <xsl:message> + <xsl:text>Element </xsl:text> + <xsl:value-of select="local-name(.)"/> + <xsl:text> in namespace '</xsl:text> + <xsl:value-of select="namespace-uri(.)"/> + <xsl:text>' encountered</xsl:text> + <xsl:if test="parent::*"> + <xsl:text> in </xsl:text> + <xsl:value-of select="name(parent::*)"/> + </xsl:if> + <xsl:text>, but no template matches.</xsl:text> + </xsl:message> + + <span style="color: red"> + <xsl:text><</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + <xsl:apply-templates/> + <xsl:text></</xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text>></xsl:text> + </span> +</xsl:template> + +<xsl:template match="text()"> + <xsl:value-of select="."/> +</xsl:template> + +<xsl:template name="body.attributes"><xslo:if xmlns:xslo="http://www.w3.org/1999/XSL/Transform" test="starts-with($writing.mode, 'rl')"><xslo:attribute name="dir">rtl</xslo:attribute></xslo:if> +<!-- no apply-templates; make it empty except for dir for rtl--> +</xsl:template> + +<xsl:template name="head.content.base"> + <xsl:param name="node" select="."/> + <base href="{$html.base}"/> +</xsl:template> + +<xsl:template name="head.content.abstract"> + <xsl:param name="node" select="."/> + <xsl:variable name="info" select="(articleinfo |bookinfo |prefaceinfo |chapterinfo |appendixinfo |sectioninfo |sect1info |sect2info |sect3info |sect4info |sect5info |referenceinfo |refentryinfo |partinfo |info |docinfo)[1]"/> + <xsl:if test="$info and $info/abstract"> + <meta name="description"> + <xsl:attribute name="content"> + <xsl:for-each select="$info/abstract[1]/*"> + <xsl:value-of select="normalize-space(.)"/> + <xsl:if test="position() < last()"> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:attribute> + </meta> + </xsl:if> +</xsl:template> + +<xsl:template name="head.content.link.made"> + <xsl:param name="node" select="."/> + + <link rev="made" href="{$link.mailto.url}"/> +</xsl:template> + +<xsl:template name="head.content.generator"> + <xsl:param name="node" select="."/> + <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/> +</xsl:template> + +<xsl:template name="head.content.style"> + <xsl:param name="node" select="."/> + <style type="text/css"><xsl:text> +body { background-image: url('</xsl:text> +<xsl:value-of select="$draft.watermark.image"/><xsl:text>'); + background-repeat: no-repeat; + background-position: top left; + /* The following properties make the watermark "fixed" on the page. */ + /* I think that's just a bit too distracting for the reader... */ + /* background-attachment: fixed; */ + /* background-position: center center; */ + }</xsl:text> + </style> +</xsl:template> + +<xsl:template name="head.content"> + <xsl:param name="node" select="."/> + <xsl:param name="title"> + <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/> + </xsl:param> + + <xsl:call-template name="user.head.title"> + <xsl:with-param name="title" select="$title"/> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + + <xsl:if test="$html.base != ''"> + <xsl:call-template name="head.content.base"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <!-- Insert links to CSS files or insert literal style elements --> + <xsl:call-template name="generate.css"/> + + <xsl:if test="$html.stylesheet != ''"> + <xsl:call-template name="output.html.stylesheets"> + <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="$html.script != ''"> + <xsl:call-template name="output.html.scripts"> + <xsl:with-param name="scripts" select="normalize-space($html.script)"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="$link.mailto.url != ''"> + <xsl:call-template name="head.content.link.made"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <xsl:call-template name="head.content.generator"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + + <xsl:if test="$generate.meta.abstract != 0"> + <xsl:call-template name="head.content.abstract"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + + <xsl:if test="($draft.mode = 'yes' or ($draft.mode = 'maybe' and ancestor-or-self::*[@status][1]/@status = 'draft')) and $draft.watermark.image != ''"> + <xsl:call-template name="head.content.style"> + <xsl:with-param name="node" select="$node"/> + </xsl:call-template> + </xsl:if> + <xsl:apply-templates select="." mode="head.keywords.content"/> +</xsl:template> + +<xsl:template name="output.html.stylesheets"> + <xsl:param name="stylesheets" select="''"/> + + <xsl:choose> + <xsl:when test="contains($stylesheets, ' ')"> + <xsl:variable name="css.filename" select="substring-before($stylesheets, ' ')"/> + + <xsl:call-template name="make.css.link"> + <xsl:with-param name="css.filename" select="$css.filename"/> + </xsl:call-template> + + <xsl:call-template name="output.html.stylesheets"> + <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$stylesheets != ''"> + <xsl:call-template name="make.css.link"> + <xsl:with-param name="css.filename" select="$stylesheets"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<xsl:template name="output.html.scripts"> + <xsl:param name="scripts" select="''"/> + + <xsl:choose> + <xsl:when test="contains($scripts, ' ')"> + <xsl:variable name="script.filename" select="substring-before($scripts, ' ')"/> + + <xsl:call-template name="make.script.link"> + <xsl:with-param name="script.filename" select="$script.filename"/> + </xsl:call-template> + + <xsl:call-template name="output.html.scripts"> + <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/> + </xsl:call-template> + </xsl:when> + <xsl:when test="$scripts != ''"> + <xsl:call-template name="make.script.link"> + <xsl:with-param name="script.filename" select="$scripts"/> + </xsl:call-template> + </xsl:when> + </xsl:choose> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template match="*" mode="head.keywords.content"> + <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="artheader/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/> + <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/> + <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/> + <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/> + <xsl:apply-templates select="info/keywordset" mode="html.header"/> + + <xsl:if test="$inherit.keywords != 0 and parent::*"> + <xsl:apply-templates select="parent::*" mode="head.keywords.content"/> + </xsl:if> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template name="system.head.content"> + <xsl:param name="node" select="."/> + + <!-- FIXME: When chunking, only the annotations actually used + in this chunk should be referenced. I don't think it + does any harm to reference them all, but it adds + unnecessary bloat to each chunk. --> + <xsl:if test="$annotation.support != 0 and //annotation"> + <xsl:call-template name="add.annotation.links"/> + <script type="text/javascript"> + <xsl:text> +// Create PopupWindow objects</xsl:text> + <xsl:for-each select="//annotation"> + <xsl:text> +var popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text> = new PopupWindow("popup-</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>"); +</xsl:text> + <xsl:text>popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>.offsetY = 15; +</xsl:text> + <xsl:text>popup_</xsl:text> + <xsl:value-of select="generate-id(.)"/> + <xsl:text>.autoHide(); +</xsl:text> + </xsl:for-each> + </script> + + <style type="text/css"> + <xsl:value-of select="$annotation.css"/> + </style> + </xsl:if> + + <!-- system.head.content is like user.head.content, except that + it is called before head.content. This is important because it + means, for example, that <style> elements output by system.head.content + have a lower CSS precedence than the users stylesheet. --> +</xsl:template> + +<!-- ============================================================ --> + +<xsl:template name="user.preroot"> + <!-- Pre-root output, can be used to output comments and PIs. --> + <!-- This must not output any element content! --> +</xsl:template> + +<xsl:template name="user.head.title"> + <xsl:param name="node" select="."/> + <xsl:param name="title"/> + + <title> + <xsl:copy-of select="$title"/> + +
              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Note + + + namesp. cut + + + stripped namespace before processing + + + + + Note + + + namesp. cut + + + processing stripped document + + + + + + + + Unable to strip the namespace from DB5 document, + cannot proceed. + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-profile-docbook.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-profile-docbook.xsl new file mode 100644 index 0000000000..dc0d979277 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml-profile-docbook.xsl @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Element + + in namespace ' + + ' encountered + + in + + + , but no template matches. + + + + < + + > + + </ + + > + + + + + + + +rtl + + + + + + + + + + + <xsl:copy-of select="$title"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Note: namesp. cut : stripped namespace before processingNote: namesp. cut : processing stripped document + + + + + + + + + + + + + + + + + + ID ' + + ' not found in document. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + diff --git a/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml2xhtml5.xsl b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml2xhtml5.xsl new file mode 100644 index 0000000000..05fe68d454 --- /dev/null +++ b/apache-fop/src/test/resources/docbook-xsl/xhtml5/xhtml2xhtml5.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + Same as xhtml but with doctypes removed from xsl:output + + and including from ../xhtml directory + + + + + + + + + + + + + + + + + + + + This file was created automatically by xhtml2xhtml5.xsl from the xhtml stylesheet. + + + + + + + + diff --git a/apache-fop/src/test/resources/final_output.pdf b/apache-fop/src/test/resources/final_output.pdf new file mode 100644 index 0000000000..0b12b4f2ae Binary files /dev/null and b/apache-fop/src/test/resources/final_output.pdf differ diff --git a/apache-fop/src/test/resources/input.fo b/apache-fop/src/test/resources/input.fo new file mode 100644 index 0000000000..de2aa93f55 --- /dev/null +++ b/apache-fop/src/test/resources/input.fo @@ -0,0 +1,479 @@ + + + + + + + + + + + + + + +Registration &#8211; Activate a New Account by Email | Technical Articles + + + + + ... the footer should be inserted here ... + + + + + + + + + + + + + + + Navigation + + Technical Articles + + + Home + + + + - +Home + + + + - + + series + + Return to Content + + + + + + + + + + + + + + Registration &#8211; Activate a New Account by Email + + Elena October 23, 2014 Spring Security + 1. Overview +This article continues our ongoing Registration with Spring Security by finishing the missing piece of the registration process &#8211; verifying the email to confirm the user registration. +Confirm Registration&#8221; email sent after successful registration to verify his email address and activate his account. The user does this by clicking a unique account activation link sent to him as part of the email message. +Following this logic, a newly registered user will not be able to log in until email/registration verification is completed. +2. A Verification Token + + Entity to Our Modelassociated to a . So, we need a one-to-one unidirectional association between the and the . Entity for the user and persisting it.valueas a parameter. +We will make use of a simple verification token as the key artifact through which a user is verified. +2.1. Adding a VerificationToken entity must meet the following criteria: +The VerificationToken + +- +There will be one VerificationToken User VerificationTokenUser +- +It will be created after the user registration data is persisted. +- +It will expire in 24 hours following initial registration. +- +Its value should be unique and randomly generated. + entity like the one in Example 2.1.: +Requirements 2 and 3 are part of the registration logic. The other two are implemented in a simple VerificationToken +Example 2.1. +@Entity +@Table +public class VerificationToken { + private static final int EXPIRATION = 60 * 24; + + @Id + @GeneratedValue(strategy = GenerationType.AUTO) + private Long id; + + @Column(name = "token") + private String token; + + @OneToOne(targetEntity = User.class, fetch = FetchType.EAGER) + @JoinColumn(name = "user_id") + private User user; + + @Column(name = "expiry_date") + private Date expiryDate; + + public VerificationToken() { + super(); + } + public VerificationToken(String token, User user) { + super(); + this.token = token; + this.user = user; + this.expiryDate = calculateExpiryDate(EXPIRATION); + this.verified = false; + } + private Date calculateExpiryDate(int expiryTimeInMinutes) { + Calendar cal = Calendar.getInstance(); + cal.setTime(new Timestamp(cal.getTime().getTime())); + cal.add(Calendar.MINUTE, expiryTimeInMinutes); + return new Date(cal.getTime().getTime()); + } + + // standard getters and setters +} +2.2. Add an Enabled Flag to the User entity for now: +We will set the value of this flag depending on the result of the registration confirmation use case. Lets jus add the following field to our User +@Column(name = "enabled") +private boolean enabled; +3. The Account Registration Phase +Lets add two additional pieces of business logic to the user registration use case: + +- +Generating a VerificationToken +- +Sending the account confirmation email message which includes a confirmation link with the VerificationToken&#8217;s + +3.1. Using Spring Event Handling to Create the Token and Send the Verification Email to trigger the execution of these tasks. This is as simple as injecting anr in the controller, and then using it to publish the registration completion. Example 3.1. shows this simple logic: +These two additional pieces of logic should not be performed by the controller directly because they are &#8220;collateral&#8221; back-end tasks. The controller will publish a Spring ApplicationEvent ApplicationEventPublishe +Example 3.1. +@Autowired +ApplicationEventPublisher +@RequestMapping(value = "/user/registration", method = RequestMethod.POST) +public ModelAndView registerUserAccount(@ModelAttribute("user") @Valid UserDto accountDto, + BindingResult result, WebRequest request, Errors errors) { + User registered = new User(); + String appUrl = request.getContextPath(); + if (result.hasErrors()) { + return new ModelAndView("registration", "user", accountDto); + } + registered = createUserAccount(accountDto); + if (registered == null) { + result.rejectValue("email", "message.regError"); + } + eventPublisher.publishEvent(new OnRegistrationCompleteEvent(registered, + request.getLocale(), appUrl)); + return new ModelAndView("successRegister", "user", accountDto); +} +3.2. Spring Event Handler Implementation to start the that will handle the verification token creation and confirmation email sending. So it needs to have access to the implementation of the following interfaces: +The controller is using an ApplicationEventPublisherRegistrationListener + +- +An AplicationEvent representing the completion of the user registration. +- +An ApplicationListener. For and access. and its implementation for new CRUD operations needed. + , and the shown Examples 3.2.1 &#8211; 3.2.2. +The beans we will create are the OnRegistrationCompleteEventRegistrationListener +OnRegistrationCompleteEvent Example 3.2.1. +@SuppressWarnings("serial") +public class OnRegistrationCompleteEvent extends ApplicationEvent { + private final String appUrl; + private final Locale locale; + private final User user; + + public OnRegistrationCompleteEvent(User user, Locale locale, String appUrl) { + super(user); + this.user = user; + this.locale = locale; + this.appUrl = appUrl; + } + + // standard getters and setters +} +OnRegistrationCompleteEvent Example 3.2.2. - The RegistrationListener method will receive the , extract all the necessary information from it, create the verification token, persist it, and then send it as a parameter in the &#8220;Confirm Registration&#8221; link sent to the user. +@Component +public class RegistrationListener implements ApplicationListener<OnRegistrationCompleteEvent> { + @Autowired + private IUserService service; + + @Autowired + private MessageSource messages; + + @Autowired + private JavaMailSender mailSender; + + @Override + public void onApplicationEvent(OnRegistrationCompleteEvent event) { + this.confirmRegistration(event); + } + + private void confirmRegistration(OnRegistrationCompleteEvent event) { + User user = event.getUser(); + String token = UUID.randomUUID().toString(); + service.addVerificationToken(user, token); + String recipientAddress = user.getEmail(); + String subject = "Registration Confirmation"; + String confirmationUrl = event.getAppUrl() + "/regitrationConfirm.html?token=" + token; + String message = messages.getMessage("message.regSucc", null, event.getLocale()); + SimpleMailMessage email = new SimpleMailMessage(); + email.setTo(recipientAddress); + email.setSubject(subject); + email.setText(message + " \r\n" + "http://localhost:8080" + confirmationUrl); + mailSender.send(email); + } +} +Here, the confirmRegistrationOnRegistrationCompleteEventUser +3.3. Processing the Verification Token Parameter +When the user receives the &#8220;Confirm Registration&#8221; email, he will click on the attached link and fire a GET request. The controller will extract the value of the token parameter in the GET request and will use it to verify the user. Lets see this logic in Example 3.3.1. +Example 3.3.1. &#8211; RegistrationController or if the does not exist, the controller will return a page with the corresponding error message (See Example 3.3.2.). +private IUserService service; + +@Autowired +public RegistrationController(IUserService service){ + this.service = service +} +@RequestMapping(value = "/regitrationConfirm", method = RequestMethod.GET) +public String confirmRegistration(WebRequest request, Model model, + @RequestParam("token") String token) { + VerificationToken verificationToken = service.getVerificationToken(token); + if (verificationToken == null) { + model.addAttribute("message", messages.getMessage("auth.message.invalidToken", + null, request.getLocale())); + return "redirect:/badUser.html?lang=" + request.getLocale().getLanguage(); + } + User user = verificationToken.getUser(); + Calendar cal = Calendar.getInstance(); + if (user == null) { + model.addAttribute("message", messages.getMessage("auth.message.invalidUser", + null, request.getLocale())); + return "redirect:/badUser.html?lang=" + request.getLocale().getLanguage(); + } + if ((verificationToken.getExpiryDate().getTime() - cal.getTime().getTime()) <= 0) { + user.setEnabled(false); + } else { + user.setEnabled(true); + } + service.saveRegisteredUser(user); + return "redirect:/login.html?lang=" + request.getLocale().getLanguage(); +} +Notice that if there is no user associated with the VerificationTokenVerificationToken badUser.html +Example 3.3.2. &#8211; The badUser.html&#8216;s field after checking if the has expired. +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%> +<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> +<fmt:setBundle basename="messages" /> +<%@ page session="true"%> +<html> +<head> + <link href="<c:url value="/resources/bootstrap.css" />&quot; rel="stylesheet"> + <title>Expired</title> +</head> +<body> + <h1>${message}</h1> + <br> + <a href="<c:url value="/user/registration" />&quot;> + <spring:message code="label.form.loginSignUp"></spring:message> + </a> +</body> +</html> +If the token and user exist, the controller then proceeds to set the UserenabledVerificationToken +4. Adding Account Activation Checking to the Login Process +ladUserByUsername method: + +- +Make sure that the user is enabled before letting him log in. + check. +Example 4.1. shows the simple isEnabled() +Example 4.1. &#8211; Checking the VerificationToken in MyUserDetailsService with the flag set to false. This will trigger a +private UserRepository userRepository; +@Autowired +private IUserService service; +@Autowired +private MessageSource messages; + +@Autowired +public MyUserDetailsService(UserRepository repository) { + this.userRepository = repository; +} + +public UserDetails loadUserByUsername(String email) throws UsernameNotFoundException { + boolean enabled = true; + boolean accountNonExpired = true; + boolean credentialsNonExpired = true; + boolean accountNonLocked = true; + try { + User user = userRepository.findByEmail(email); + if (user == null) { + return new org.springframework.security.core.userdetails.User(" ", " ", enabled, + true, true, true, getAuthorities(new Integer(1))); + } + if (!user.isEnabled()) { + accountNonExpired = false; + service.deleteUser(user); + return new org.springframework.security.core.userdetails.User(" ", " ", enabled, + accountNonExpired, true, true, getAuthorities(new Integer(1))); + } + return new org.springframework.security.core.userdetails.User(user.getEmail(), + user.getPassword().toLowerCase(), + enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, + getAuthorities(user.getRole().getRole())); + } catch (Exception e) { + throw new RuntimeException(e); + } +} +Notice that if the user is not enabled, the account is deleted and the method returns an org.springframework.security.core.userdetails.UseraccountNonExpiredUser Account Has ExpiredSPRING_SECURITY_LAST_EXCEPTION +Now, we need to modify our login.htmllogin.html: +ogin.htmlExample 4.2. &#8211; Adding Account Activation Error Checking t +<c:if test="${param.error != null}"> + <c:choose> + <c:when test="${SPRING_SECURITY_LAST_EXCEPTION.message == &#039;User is disabled&#039;}"> + <div class="alert alert-error"> + <spring:message code="auth.message.disabled"></spring:message> + </div> + </c:when> + <c:when test="${SPRING_SECURITY_LAST_EXCEPTION.message == &#039;User account has expired&#039;}"> + <div class="alert alert-error"> + <spring:message code="auth.message.expired"></spring:message> + </div> + </c:when> + <c:otherwise> + <div class="alert alert-error"> + <spring:message code="message.badCredentials"></spring:message> + </div> + </c:otherwise> + </c:choose> +</c:if> +5. Adapting the Persistence Layer +We need to modify the API of the persistence layer by: + +- +Creating a VerificationTokenRepository UserVerificationToken +- +Adding methods to the IUserInterface + +Examples 5.1 &#8211; 5.3. show the new interfaces and implementation: +VerificationTokenRepositoryExample 5.1. +public interface VerificationTokenRepository extends JpaRepository<VerificationToken, Long> { + + VerificationToken findByToken(String token); + + VerificationToken findByUser(User user); +} +IUserServiceExample 5.2. &#8211; The Interface +public interface IUserService { + + User registerNewUserAccount(UserDto accountDto) throws EmailExistsException; + + User getUser(String verificationToken); + + void saveRegisteredUser(User user); + + void addVerificationToken(User user, String token); + + VerificationToken getVerificationToken(String VerificationToken); + + void deleteUser(User user); +} +UserService Example 5.3. +@Service +public class UserService implements IUserService { + @Autowired + private UserRepository repository; + + @Autowired + private VerificationTokenRepository tokenRepository; + + @Transactional + @Override + public User registerNewUserAccount(UserDto accountDto) throws EmailExistsException { + if (emailExist(accountDto.getEmail())) { + throw new EmailExistsException("There is an account with that email adress: " + + accountDto.getEmail()); + } + User user = new User(); + user.setFirstName(accountDto.getFirstName()); + user.setLastName(accountDto.getLastName()); + user.setPassword(accountDto.getPassword()); + user.setEmail(accountDto.getEmail()); + user.setRole(new Role(Integer.valueOf(1), user)); + return repository.save(user); + } + + private boolean emailExist(String email) { + User user = repository.findByEmail(email); + if (user != null) { + return true; + } + return false; + } + + @Override + public User getUser(String verificationToken) { + User user = tokenRepository.findByToken(verificationToken).getUser(); + return user; + } + + @Override + public VerificationToken getVerificationToken(String VerificationToken) { + return tokenRepository.findByToken(VerificationToken); + } + + @Transactional + @Override + public void saveRegisteredUser(User user) { + repository.save(user); + } + + @Transactional + @Override + public void deleteUser(User user) { + repository.delete(user); + } + + @Transactional + @Override + public void addVerificationToken(User user, String token) { + VerificationToken myToken = new VerificationToken(token, user); + tokenRepository.save(myToken); + } +} +6. Conclusion +We have expanded our Spring registration process to include an email based account activation procedure. The account activation logic requires sending a verification token to the user via email, so that he can send it back to the controller to verify his identity. A Spring event handler layer + + + Subscribe + + + Subscribe to our e-mail newsletter to receive updates. + + + + + + + + + + + + (published) Handling Static Resources With Spring + Convert HTML to PDF using Apache FOP + + + + No comments yet. + Leave a Reply Click here to cancel reply. + Logged in as odeskAuthor8. Log out? + + + + + + + � 2014 Technical Articles. All Rights Reserved. + + + + + + + + + + diff --git a/apache-fop/src/test/resources/input.html b/apache-fop/src/test/resources/input.html new file mode 100644 index 0000000000..9c18571233 --- /dev/null +++ b/apache-fop/src/test/resources/input.html @@ -0,0 +1,598 @@ + + + + + +Registration – Activate a New Account by Email | Technical Articles + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + +
              + + + + + + + +
              + +
              + + +
              +
              +
              + +

              Registration – Activate a New Account by Email

              +
              + +
              +

              1. Overview

              +

              This article continues our ongoing Registration with Spring Security series by finishing the missing piece of the registration process – verifying the email to confirm the user registration.

              +

              The registration confirmation mechanism forces the user to respond to a “Confirm Registration” email sent after successful registration to verify his email address and activate his account. The user does this by clicking a unique account activation link sent to him as part of the email message.

              +

              Following this logic, a newly registered user will not be able to log in until email/registration verification is completed.

              +

              2. A Verification Token
              +

              +

              We will make use of a simple verification token as the key artifact through which a user is verified.

              +

              2.1. Adding a VerificationToken Entity to Our Model

              +

              The VerificationToken entity must meet the following criteria:

              +
                +
              1. There will be one VerificationToken associated to a User. So, we need a one-to-one unidirectional association between the VerificationToken and the User.
              2. +
              3. It will be created after the user registration data is persisted.
              4. +
              5. It will expire in 24 hours following initial registration.
              6. +
              7. Its value should be unique and randomly generated.
              8. +
              +

              Requirements 2 and 3 are part of the registration logic. The other two are implemented in a simple VerificationToken entity like the one in Example 2.1.:

              +

              Example 2.1.

              +
              @Entity
              +@Table
              +public class VerificationToken {
              +    private static final int EXPIRATION = 60 * 24;
              +
              +    @Id
              +    @GeneratedValue(strategy = GenerationType.AUTO)
              +    private Long id;
              +    
              +    @Column(name = "token")
              +    private String token;
              +  
              +    @OneToOne(targetEntity = User.class, fetch = FetchType.EAGER)
              +    @JoinColumn(name = "user_id")
              +    private User user;
              +    
              +    @Column(name = "expiry_date")
              +    private Date expiryDate;
              +
              +    public VerificationToken() {
              +        super();
              +    }
              +    public VerificationToken(String token, User user) {
              +        super();
              +        this.token = token;
              +        this.user = user;
              +        this.expiryDate = calculateExpiryDate(EXPIRATION);
              +        this.verified = false;
              +    } 
              +    private Date calculateExpiryDate(int expiryTimeInMinutes) {
              +        Calendar cal = Calendar.getInstance();
              +        cal.setTime(new Timestamp(cal.getTime().getTime()));
              +        cal.add(Calendar.MINUTE, expiryTimeInMinutes);
              +        return new Date(cal.getTime().getTime());
              +    }
              +    
              +    // standard getters and setters
              +}
              +

              2.2. Add an Enabled Flag to the User Entity

              +

              We will set the value of this flag depending on the result of the registration confirmation use case. Lets jus add the following field to our User entity for now:

              +
              @Column(name = "enabled")
              +private boolean enabled;
              +

              3. The Account Registration Phase

              +

              Lets add two additional pieces of business logic to the user registration use case:

              +
                +
              1. Generating a VerificationToken for the user and persisting it.
              2. +
              3. Sending the account confirmation email message which includes a confirmation link with the VerificationToken’s value as a parameter.
              4. +
              +

              3.1. Using Spring Event Handling to Create the Token and Send the Verification Email

              +

              These two additional pieces of logic should not be performed by the controller directly because they are “collateral” back-end tasks. The controller will publish a Spring ApplicationEvent to trigger the execution of these tasks. This is as simple as injecting an ApplicationEventPublisher in the controller, and then using it to publish the registration completion. Example 3.1. shows this simple logic:

              +

              Example 3.1.

              +
              @Autowired
              +ApplicationEventPublisher
              +@RequestMapping(value = "/user/registration", method = RequestMethod.POST)
              +public ModelAndView registerUserAccount(@ModelAttribute("user") @Valid UserDto accountDto,
              +      BindingResult result, WebRequest request, Errors errors) {
              +    User registered = new User();
              +    String appUrl = request.getContextPath();
              +    if (result.hasErrors()) {
              +       return new ModelAndView("registration", "user", accountDto);
              +    }
              +    registered = createUserAccount(accountDto);
              +    if (registered == null) {
              +        result.rejectValue("email", "message.regError");
              +    }
              +    eventPublisher.publishEvent(new OnRegistrationCompleteEvent(registered, 
              +      request.getLocale(), appUrl));
              +    return new ModelAndView("successRegister", "user", accountDto);
              +}
              +

              3.2. Spring Event Handler Implementation

              +

              The controller is using an ApplicationEventPublisher to start the RegistrationListener that will handle the verification token creation and confirmation email sending. So it needs to have access to the implementation of the following interfaces:

              +
                +
              1. An AplicationEvent representing the completion of the user registration.
              2. +
              3. An ApplicationListener bean which will listen to the published event and proceed to do all the work.
              4. +
              +

              The beans we will create are the OnRegistrationCompleteEvent , and the RegistrationListener shown Examples 3.2.1 – 3.2.2.

              +

              Example 3.2.1. – The OnRegistrationCompleteEvent

              +
              @SuppressWarnings("serial")
              +public class OnRegistrationCompleteEvent extends ApplicationEvent {
              +    private final String appUrl;
              +    private final Locale locale;
              +    private final User user;
              +
              +    public OnRegistrationCompleteEvent(User user, Locale locale, String appUrl) {
              +        super(user);
              +        this.user = user;
              +        this.locale = locale;
              +        this.appUrl = appUrl;
              +    }
              +    
              +    // standard getters and setters
              +}
              +

              Example 3.2.2. - The RegistrationListener Responds to the OnRegistrationCompleteEvent

              +
              @Component
              +public class RegistrationListener implements ApplicationListener<OnRegistrationCompleteEvent> {
              +    @Autowired
              +    private IUserService service;
              +
              +    @Autowired
              +    private MessageSource messages;
              +
              +    @Autowired
              +    private JavaMailSender mailSender;
              +
              +    @Override
              +    public void onApplicationEvent(OnRegistrationCompleteEvent event) {
              +        this.confirmRegistration(event);
              +    }
              +
              +    private void confirmRegistration(OnRegistrationCompleteEvent event) {
              +        User user = event.getUser();
              +        String token = UUID.randomUUID().toString();
              +        service.addVerificationToken(user, token);
              +        String recipientAddress = user.getEmail();
              +        String subject = "Registration Confirmation";
              +        String confirmationUrl = event.getAppUrl() + "/regitrationConfirm.html?token=" + token;
              +        String message = messages.getMessage("message.regSucc", null, event.getLocale());
              +        SimpleMailMessage email = new SimpleMailMessage();
              +        email.setTo(recipientAddress);
              +        email.setSubject(subject);
              +        email.setText(message + " \r\n" + "http://localhost:8080" + confirmationUrl);
              +        mailSender.send(email);
              +    }
              +}
              +

              Here, the confirmRegistration method will receive the OnRegistrationCompleteEvent, extract all the necessary User information from it, create the verification token, persist it, and then send it as a parameter in the “Confirm Registration” link sent to the user.

              +

              3.3. Processing the Verification Token Parameter

              +

              When the user receives the “Confirm Registration” email, he will click on the attached link and fire a GET request. The controller will extract the value of the token parameter in the GET request and will use it to verify the user. Lets see this logic in Example 3.3.1.

              +

              Example 3.3.1. – RegistrationController Processing the Registration Confirmation Link

              +
              private IUserService service;
              +
              +@Autowired
              +public RegistrationController(IUserService service){
              +    this.service = service
              +}
              +@RequestMapping(value = "/regitrationConfirm", method = RequestMethod.GET)
              +public String confirmRegistration(WebRequest request, Model model, 
              +      @RequestParam("token") String token) {
              +    VerificationToken verificationToken = service.getVerificationToken(token);
              +    if (verificationToken == null) {
              +        model.addAttribute("message", messages.getMessage("auth.message.invalidToken", 
              +          null, request.getLocale()));
              +        return "redirect:/badUser.html?lang=" + request.getLocale().getLanguage();
              +    }
              +    User user = verificationToken.getUser();
              +    Calendar cal = Calendar.getInstance();
              +    if (user == null) {
              +        model.addAttribute("message", messages.getMessage("auth.message.invalidUser",
              +          null, request.getLocale()));
              +        return "redirect:/badUser.html?lang=" + request.getLocale().getLanguage();
              +    }
              +    if ((verificationToken.getExpiryDate().getTime() - cal.getTime().getTime()) <= 0) {
              +        user.setEnabled(false);
              +    } else {
              +        user.setEnabled(true);
              +    }
              +    service.saveRegisteredUser(user);
              +    return "redirect:/login.html?lang=" + request.getLocale().getLanguage();
              +}
              +

              Notice that if there is no user associated with the VerificationToken or if the VerificationToken does not exist, the controller will return a badUser.html page with the corresponding error message (See Example 3.3.2.).

              +

              Example 3.3.2. – The badUser.html

              +
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              +<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
              +<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
              +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
              +<fmt:setBundle basename="messages" />
              +<%@ page session="true"%>
              +<html>
              +<head>
              +    <link href="<c:url value="/resources/bootstrap.css" />" rel="stylesheet">
              +    <title>Expired</title>
              +</head>
              +<body>
              +    <h1>${message}</h1>
              +    <br>
              +    <a href="<c:url value="/user/registration" />">
              +        <spring:message code="label.form.loginSignUp"></spring:message>
              +    </a>
              +</body>
              +</html>
              +

              If the token and user exist, the controller then proceeds to set the User‘s enabled field after checking if the VerificationToken has expired.

              +

              4. Adding Account Activation Checking to the Login Process

              +

              We need to add the following verification logic to MyUserDetailsService’s loadUserByUsername method:

              +
                +
              • Make sure that the user is enabled before letting him log in.
              • +
              +

              Example 4.1. shows the simple isEnabled() check.

              +

              Example 4.1. – Checking the VerificationToken in MyUserDetailsService

              +
              private UserRepository userRepository;
              +@Autowired
              +private IUserService service;
              +@Autowired
              +private MessageSource messages;
              +
              +@Autowired
              +public MyUserDetailsService(UserRepository repository) {
              +    this.userRepository = repository;
              +}
              +
              +public UserDetails loadUserByUsername(String email) throws UsernameNotFoundException {
              +    boolean enabled = true;
              +    boolean accountNonExpired = true;
              +    boolean credentialsNonExpired = true;
              +    boolean accountNonLocked = true;
              +    try {
              +        User user = userRepository.findByEmail(email);
              +        if (user == null) {
              +            return new org.springframework.security.core.userdetails.User(" ", " ", enabled, 
              +                    true, true, true, getAuthorities(new Integer(1)));
              +        }
              +        if (!user.isEnabled()) {
              +            accountNonExpired = false;
              +            service.deleteUser(user);
              +            return new org.springframework.security.core.userdetails.User(" ", " ", enabled, 
              +              accountNonExpired, true, true, getAuthorities(new Integer(1)));
              +        }
              +        return new org.springframework.security.core.userdetails.User(user.getEmail(), 
              +          user.getPassword().toLowerCase(), 
              +          enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, 
              +          getAuthorities(user.getRole().getRole()));
              +    } catch (Exception e) {
              +        throw new RuntimeException(e);
              +    }
              +}
              +

              Notice that if the user is not enabled, the account is deleted and the method returns an org.springframework.security.core.userdetails.User with the accountNonExpired flag set to false. This will trigger a SPRING_SECURITY_LAST_EXCEPTION in the login process. This exception’s String value is: ‘User Account Has Expired‘.

              +

              Now, we need to modify our login.html page to show this and any other exception messages resulting from en email verification error. The error checking code we added to login.html is shown in Example 4.2.:

              +

              Example 4.2. – Adding Account Activation Error Checking to login.html

              +
              <c:if test="${param.error != null}">
              +    <c:choose>
              +        <c:when test="${SPRING_SECURITY_LAST_EXCEPTION.message == 'User is disabled'}">
              +            <div class="alert alert-error">
              +                <spring:message code="auth.message.disabled"></spring:message>
              +            </div>
              +        </c:when>
              +        <c:when test="${SPRING_SECURITY_LAST_EXCEPTION.message == 'User account has expired'}">
              +            <div class="alert alert-error">
              +                <spring:message code="auth.message.expired"></spring:message>
              +            </div>
              +        </c:when>
              +        <c:otherwise>
              +            <div class="alert alert-error">
              +	      <spring:message code="message.badCredentials"></spring:message>
              +           </div>
              +        </c:otherwise>
              +    </c:choose>
              +</c:if>
              +

              5. Adapting the Persistence Layer

              +

              We need to modify the API of the persistence layer by:

              +
                +
              1. Creating a VerificationTokenRepository. For User and VerificationToken access.
              2. +
              3. Adding methods to the IUserInterface and its implementation for new CRUD operations needed.
              4. +
              +

              Examples 5.1 – 5.3. show the new interfaces and implementation:

              +

              Example 5.1. – The VerificationTokenRepository

              +
              public interface VerificationTokenRepository extends JpaRepository<VerificationToken, Long> {
              +
              +    VerificationToken findByToken(String token);
              +
              +    VerificationToken findByUser(User user);
              +}
              +

              Example 5.2. – The IUserService Interface

              +
              public interface IUserService {
              +    
              +    User registerNewUserAccount(UserDto accountDto) throws EmailExistsException;
              +
              +    User getUser(String verificationToken);
              +
              +    void saveRegisteredUser(User user);
              +
              +    void addVerificationToken(User user, String token);
              +
              +    VerificationToken getVerificationToken(String VerificationToken);
              +
              +    void deleteUser(User user);
              +}
              +

              Example 5.3. The UserService

              +
              @Service
              +public class UserService implements IUserService {
              +    @Autowired
              +    private UserRepository repository;
              +
              +    @Autowired
              +    private VerificationTokenRepository tokenRepository;
              +
              +    @Transactional
              +    @Override
              +    public User registerNewUserAccount(UserDto accountDto) throws EmailExistsException {
              +        if (emailExist(accountDto.getEmail())) {
              +            throw new EmailExistsException("There is an account with that email adress: " + 
              +              accountDto.getEmail());
              +        }
              +        User user = new User();
              +        user.setFirstName(accountDto.getFirstName());
              +        user.setLastName(accountDto.getLastName());
              +        user.setPassword(accountDto.getPassword());
              +        user.setEmail(accountDto.getEmail());
              +        user.setRole(new Role(Integer.valueOf(1), user));
              +        return repository.save(user);
              +    }
              +
              +    private boolean emailExist(String email) {
              +        User user = repository.findByEmail(email);
              +        if (user != null) {
              +            return true;
              +        }
              +        return false;
              +    }
              +
              +    @Override
              +    public User getUser(String verificationToken) {
              +        User user = tokenRepository.findByToken(verificationToken).getUser();
              +        return user;
              +    }
              +
              +    @Override
              +    public VerificationToken getVerificationToken(String VerificationToken) {
              +        return tokenRepository.findByToken(VerificationToken);
              +    }
              +
              +    @Transactional
              +    @Override
              +    public void saveRegisteredUser(User user) {
              +        repository.save(user);
              +    }
              +
              +    @Transactional
              +    @Override
              +    public void deleteUser(User user) {
              +        repository.delete(user);
              +    }
              +
              +    @Transactional
              +    @Override
              +    public void addVerificationToken(User user, String token) {
              +        VerificationToken myToken = new VerificationToken(token, user);
              +        tokenRepository.save(myToken);
              +    }
              +}
              +

              6. Conclusion

              +

              We have expanded our Spring registration process to include an email based account activation procedure. The account activation logic requires sending a verification token to the user via email, so that he can send it back to the controller to verify his identity. A Spring event handler layer takes care of the back-end work needed to send the confirmation email after the controller persists a registered.

              +
              +
              + +
              +
              +
              + + +
              +
              + +
              No comments yet.
              +

              Leave a Reply

              +
              +

              Logged in as odeskAuthor8. Log out?

              + + + +

              +
              +
              + +
              + + +
              + + +
              + +
              + + + + +
              +
              + +
              + + +
              + +
              + +
              + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/input.xml b/apache-fop/src/test/resources/input.xml new file mode 100644 index 0000000000..a8266f3f5c --- /dev/null +++ b/apache-fop/src/test/resources/input.xml @@ -0,0 +1,1674 @@ + +
              + + Bootstrap a Web Application with Spring 4 + + + + + + Return to Content + + + + + + Contents + + + Table of Contents + + + 1. Overview + + + 2. The Maven pom.xml + + + 3. The Java based Web Configuration + + + 4. Conclusion + + + If you're new here, you may want to get my "REST APIs with Spring" eBook. Thanks for visiting! + + + +
              + <anchor xml:id="Table_of_Contents"/><emphasis role="bold">Table of Contents</emphasis> + + + 1. Overview + + + 2. The Maven pom.xml + + +     2.1. Justification of the cglib dependency + + +     2.2. The cglib dependency in Spring 3.2 and beyond + + + 3. The Java based web configuration + + +    3.1. The web.xml + + + 4. Conclusion + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + The tutorial illustrates how to Bootstrap a Web Application with Spring and also discusses how to make the jump from XML to Java without having to completely migrate the entire XML configuration. +
              +
              + <anchor xml:id="dbdoclet.2_The_Maven_pomxml"/><emphasis role="bold">2. The Maven pom.xml</emphasis> + <project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + http://maven.apache.org/POM/4.0.0 + http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org</groupId> + <artifactId>rest</artifactId> + <version>0.0.1-SNAPSHOT</version> + <packaging>war</packaging> + + <dependencies> + + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-webmvc</artifactId> + <version>${spring.version}</version> + <exclusions> + <exclusion> + <artifactId>commons-logging</artifactId> + <groupId>commons-logging</groupId> + </exclusion> + </exclusions> + </dependency> + + </dependencies> + + <build> + <finalName>rest</finalName> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <encoding>UTF-8</encoding> + </configuration> + </plugin> + </plugins> + </build> + + <properties> + <spring.version>4.0.5.RELEASE</spring.version> + </properties> + +</project> +
              + <emphasis role="bold">2.1. The cglib dependency before Spring 3.2</emphasis> + You may wonder why cglib is a dependency – it turns out there is a valid reason to include it – the entire configuration cannot function without it. If removed, Spring will throw: + Caused by: java.lang.IllegalStateException: CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions + The reason this happens is explained by the way Spring deals with @Configuration classes. These classes are effectively beans, and because of this they need to be aware of the Context, and respect scope and other bean semantics. This is achieved by dynamically creating a cglib proxy with this awareness for each @Configuration class, hence the cglib dependency. + Also, because of this, there are a few restrictions for Configuration annotated classes: + + + Configuration classes should not be final + + + They should have a constructor with no arguments + + +
              +
              + <emphasis role="bold">2.2. The cglib dependency in Spring 3.2 and beyond</emphasis> + Starting with Spring 3.2, it is no longer necessary to add cglib as an explicit dependency. This is because Spring is in now inlining cglib – which will ensure that all class based proxying functionality will work out of the box with Spring 3.2. + The new cglib code is placed under the Spring package: org.springframework.cglib (replacing the original net.sf.cglib). The reason for the package change is to avoid conflicts with any cglib versions already existing on the classpath. + Also, the new cglib 3.0 is now used, upgraded from the older 2.2 dependency (see this JIRA issue for more details). + Finally, now that Spring 4.0 is out in the wild, changes like this one (removing the cglib dependency) are to be expected with Java 8 just around the corner – you can watch this Spring Jira to keep track of the Spring support, and the Java 8 Resources page to keep tabs on the that. +
              +
              +
              + <anchor xml:id="dbdoclet.3_The_Java_based_Web_Configuration"/><emphasis role="bold">3. The Java based Web Configuration</emphasis> + @Configuration +@ImportResource( { "classpath*:/rest_config.xml" } ) +@ComponentScan( basePackages = "org.rest" ) +@PropertySource({ "classpath:rest.properties", "classpath:web.properties" }) +public class AppConfig{ + + @Bean +   public static PropertySourcesPlaceholderConfigurer properties() { +   return new PropertySourcesPlaceholderConfigurer(); +   } +} + First, the @Configuration annotation – this is the main artifact used by the Java based Spring configuration; it is itself meta-annotated with @Component, which makes the annotated classes standard beans and as such, also candidates for component scanning. The main purpose of @Configuration classes is to be sources of bean definitions for the Spring IoC Container. For a more detailed description, see the official docs. + Then, @ImportResource is used to import the existing XML based Spring configuration. This may be configuration which is still being migrated from XML to Java, or simply legacy configuration that you wish to keep. Either way, importing it into the Container is essential for a successful migration, allowing small steps without to much risk. The equivalent XML annotation that is replaced is: + <import resource=â€classpath*:/rest_config.xml†/> + Moving on to @ComponentScan – this configures the component scanning directive, effectively replacing the XML: + <context:component-scan base-package="org.rest" /> + As of Spring 3.1, the @Configuration are excluded from classpath scanning by default – see this JIRA issue. Before Spring 3.1 though, these classes should have been excluded explicitly: + excludeFilters = { @ComponentScan.Filter( Configuration.class ) } + The @Configuration classes should not be autodiscovered because they are already specified and used by the Container – allowing them to be rediscovered and introduced into the Spring context will result in the following error: + Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name ‘webConfig’ for bean class [org.rest.spring.AppConfig] conflicts with existing, non-compatible bean definition of same name and class [org.rest.spring.AppConfig] + And finally, using the @Bean annotation to configure the properties support – PropertySourcesPlaceholderConfigurer is initialized in a @Bean annotated method, indicating it will produce a Spring bean managed by the Container. This new configuration has replaced the following XML: + <context:property-placeholder +location="classpath:persistence.properties, classpath:web.properties" +ignore-unresolvable="true"/> + For a more in depth discussion on why it was necessary to manually register the PropertySourcesPlaceholderConfigurer bean, see the Properties with Spring Tutorial. +
              + <emphasis role="bold">3.1. The web.xml</emphasis> + <?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns=" + http://java.sun.com/xml/ns/javaee" +     xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" +     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +    xsi:schemaLocation=" + http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" +    id="rest" version="3.0"> + + <context-param> + <param-name>contextClass</param-name> + <param-value> + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + </param-value> + </context-param> + <context-param> + <param-name>contextConfigLocation</param-name> + <param-value>org.rest.spring.root</param-value> + </context-param> + <listener> + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> + </listener> + + <servlet> + <servlet-name>rest</servlet-name> + <servlet-class> + org.springframework.web.servlet.DispatcherServlet + </servlet-class> + <init-param> + <param-name>contextClass</param-name> + <param-value> + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + </param-value> + </init-param> + <init-param> + <param-name>contextConfigLocation</param-name> + <param-value>org.rest.spring.rest</param-value> + </init-param> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>rest</servlet-name> + <url-pattern>/api/*</url-pattern> + </servlet-mapping> + + <welcome-file-list> + <welcome-file /> + </welcome-file-list> + +</web-app> + First, the root context is defined and configured to use AnnotationConfigWebApplicationContext instead of the default XmlWebApplicationContext. The newer AnnotationConfigWebApplicationContext accepts @Configuration annotated classes as input for the Container configuration and is needed in order to set up the Java based context. Unlike XmlWebApplicationContext, it assumes no default configuration class locations, so the “contextConfigLocationâ€init-param for the Servlet must be set. This will point to the java package where the @Configuration classes are located; the fully qualified name(s) of the classes are also supported. + Next, the DispatcherServlet is configured to use the same kind of context, with the only difference that it’s loading configuration classes out of a different package. + Other than this, the web.xml doesn’t really change from a XML to a Java based configuration. +
              +
              +
              + <anchor xml:id="dbdoclet.4_Conclusion"/><emphasis role="bold">4. Conclusion</emphasis> + The presented approach allows for a smooth migration of the Spring configuration from XML to Java, mixing the old and the new. This is important for older projects, which may have a lot of XML based configuration that cannot be migrated all at once. + This way, in a migration, the XML beans can be ported in small increments. + In the next article on REST with Spring, I cover setting up MVC in the project, configuration of the HTTP status codes, payload marshalling and content negotiation. + The implementation of this Bootstrap a Spring Web App Tutorial can be downloaded as a working sample project. + This is an Eclipse based project, so it should be easy to import and run as it is. + +   + + + + + + + + + java, Spring + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + +
              +
              +
              + +
              + + Build a REST API with Spring 4 and Java Config + + + + + + Return to Content + + + + + + Contents + + + Table of Contents + + + 1. Overview + + + 2. Understanding REST in Spring + + + 3. The Java configuration + + + 4. Testing the Spring context + + + 5. The Controller + + + 6. Mapping the HTTP response codes + + + 7. Additional Maven dependencies + + + 8. Conclusion + + + If you're new here, you may want to get my "REST APIs with Spring" eBook. Thanks for visiting! + + +   + +
              + <anchor xml:id="Table_of_Contents"/><emphasis role="bold">Table of Contents</emphasis> + + + 1. Overview + + + 2. Understanding REST in Spring + + + 3. The Java configuration + + + 4. Testing the Spring context + + + 5. The Controller + + + 6. Mapping the HTTP response codes + + +     6.1. Unmapped requests + + +     6.2. Valid, mapped requests + + +     6.3. Client error + + +     6.4. Using @ExceptionHandler + + + 7. Additional Maven dependencies + + + 8. Conclusion + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + This article shows how to set up REST in Spring – the Controller and HTTP response codes, configuration of payload marshalling and content negotiation. +
              +
              + <anchor xml:id="dbdoclet.2_Understanding_REST_in_Spring"/><emphasis role="bold">2. Understanding REST in Spring</emphasis> + The Spring framework supports 2 ways of creating RESTful services: + + + using MVC with ModelAndView + + + using HTTP message converters + + + The ModelAndView approach is older and much better documented, but also more verbose and configuration heavy. It tries to shoehorn the REST paradigm into the old model, which is not without problems. The Spring team understood this and provided first-class REST support starting with Spring 3.0. + The new approach, based on HttpMessageConverterand annotations, is much more lightweight and easy to implement. Configuration is minimal and it provides sensible defaults for what you would expect from a RESTful service. It is however newer and a a bit on the light side concerning documentation; what’s , the reference doesn’t go out of it’s way to make the distinction and the tradeoffs between the two approaches as clear as they should be. Nevertheless, this is the way RESTful services should be build after Spring 3.0. +
              +
              + <anchor xml:id="dbdoclet.3_The_Java_configuration"/><emphasis role="bold">3. The Java configuration</emphasis> + + @Configuration +@EnableWebMvc +public class WebConfig{ + // +} + The new @EnableWebMvc annotation does a number of useful things – specifically, in the case of REST, it detect the existence of Jackson and JAXB 2 on the classpath and automatically creates and registers default JSON and XML converters. The functionality of the annotation is equivalent to the XML version: + <mvc:annotation-driven /> + This is a shortcut, and though it may be useful in many situations, it’s not perfect. When more complex configuration is needed, remove the annotation and extend WebMvcConfigurationSupport directly. +
              +
              + <anchor xml:id="dbdoclet.4_Testing_the_Spring_context"/><emphasis role="bold">4. Testing the Spring context</emphasis> + Starting with Spring 3.1, we get first-class testing support for @Configuration classes: + @RunWith( SpringJUnit4ClassRunner.class ) +@ContextConfiguration( classes = { ApplicationConfig.class, PersistenceConfig.class }, + loader = AnnotationConfigContextLoader.class ) +public class SpringTest{ + + @Test + public void whenSpringContextIsInstantiated_thenNoExceptions(){ + // When + } +} + The Java configuration classes are simply specified with the @ContextConfiguration annotation and the new AnnotationConfigContextLoader loads the bean definitions from the @Configuration classes. + Notice that the WebConfig configuration class was not included in the test because it needs to run in a Servlet context, which is not provided. +
              +
              + <anchor xml:id="dbdoclet.5_The_Controller"/><emphasis role="bold">5. The Controller</emphasis> + The @Controller is the central artifact in the entire Web Tier of the RESTful API. For the purpose of this post, the controller is modeling a simple REST resource – Foo: + @Controller +@RequestMapping( value = "/foos" ) +class FooController{ + + @Autowired + IFooService service; + + @RequestMapping( method = RequestMethod.GET ) + @ResponseBody + public List< Foo > findAll(){ + return service.findAll(); + } + + @RequestMapping( value = "/{id}", method = RequestMethod.GET ) + @ResponseBody + public Foo findOne( @PathVariable( "id" ) Long id ){ + return RestPreconditions.checkFound( service.findOne( id ) ); + } + + @RequestMapping( method = RequestMethod.POST ) + @ResponseStatus( HttpStatus.CREATED ) + @ResponseBody + public Long create( @RequestBody Foo resource ){ + Preconditions.checkNotNull( resource ); + return service.create( resource ); + } + + @RequestMapping( value = "/{id}", method = RequestMethod.PUT ) + @ResponseStatus( HttpStatus.OK ) + public void update( @PathVariable( "id" ) Long id, @RequestBody Foo resource ){ + Preconditions.checkNotNull( resource ); + RestPreconditions.checkNotNull( service.getById( resource.getId() ) ); + service.update( resource ); + } + + @RequestMapping( value = "/{id}", method = RequestMethod.DELETE ) + @ResponseStatus( HttpStatus.OK ) + public void delete( @PathVariable( "id" ) Long id ){ + service.deleteById( id ); + } + +} + You may have noticed I’m using a very simple, guava style RestPreconditions utility: + public class RestPreconditions { + public static <T> T checkFound(final T resource) { + if (resource == null) { + throw new MyResourceNotFoundException(); + } + return resource; + } +} + The Controller implementation is non-public – this is because it doesn’t need to be. Usually the controller is the last in the chain of dependencies – it receives HTTP requests from the Spring front controller (the DispathcerServlet) and simply delegate them forward to a service layer. If there is no use case where the controller has to be injected or manipulated through a direct reference, then I prefer not to declare it as public. + The request mappings are straightforward – as with any controller, the actual value of the mapping as well as the HTTP method are used to determine the target method for the request. @RequestBody will bind the parameters of the method to the body of the HTTP request, whereas @ResponseBody does the same for the response and return type. They also ensure that the resource will be marshalled and unmarshalled using the correct HTTP converter. Content negotiation will take place to choose which one of the active converters will be used, based mostly on the Accept header, although other HTTP headers may be used to determine the representation as well. +
              +
              + <anchor xml:id="dbdoclet.6_Mapping_the_HTTP_response_codes"/><emphasis role="bold">6. Mapping the HTTP response codes</emphasis> + The status codes of the HTTP response are one of the most important parts of the REST service, and the subject can quickly become very complex. Getting these right can be what makes or breaks the service. +
              + <emphasis role="bold">6.1. Unmapped requests</emphasis> + If Spring MVC receives a request which doesn’t have a mapping, it considers the request not to be allowed and returns a 405 METHOD NOT ALLOWED back to the client. It is also good practice to include the Allow HTTP header when returning a 405 to the client, in order to specify which operations are allowed. This is the standard behavior of Spring MVC and does not require any additional configuration. +
              +
              + <emphasis role="bold">6.2. Valid, mapped requests</emphasis> + For any request that does have a mapping, Spring MVC considers the request valid and responds with 200 OK if no other status code is specified otherwise. It is because of this that controller declares different @ResponseStatus for the create, update and delete actions but not for get, which should indeed return the default 200 OK. +
              +
              + <emphasis role="bold">6.3. Client error</emphasis> + In case of a client error, custom exceptions are defined and mapped to the appropriate error codes. Simply throwing these exceptions from any of the layers of the web tier will ensure Spring maps the corresponding status code on the HTTP response. + @ResponseStatus( value = HttpStatus.BAD_REQUEST ) +public class BadRequestException extends RuntimeException{ + // +} +@ResponseStatus( value = HttpStatus.NOT_FOUND ) +public class ResourceNotFoundException extends RuntimeException{ + // +} + These exceptions are part of the REST API and, as such, should only be used in the appropriate layers corresponding to REST; if for instance a DAO/DAL layer exist, it should not use the exceptions directly. Note also that these are not checked exceptions but runtime exceptions – in line with Spring practices and idioms. +
              +
              + <emphasis role="bold">6.4. Using @ExceptionHandler</emphasis> + Another option to map custom exceptions on specific status codes is to use the @ExceptionHandler annotation in the controller. The problem with that approach is that the annotation only applies to the controller in which it is defined, not to the entire Spring Container, which means that it needs to be declared in each controller individually. This quickly becomes cumbersome, especially in more complex applications which many controllers. There are a few JIRA issues opened with Spring at this time to handle this and other related limitations: SPR-8124, SPR-7278, SPR-8406. +
              +
              +
              + <anchor xml:id="dbdoclet.7_Additional_Maven_dependencies"/><emphasis role="bold">7. Additional Maven dependencies</emphasis><emphasis role="bold"></emphasis> + In addition to the spring-webmvc dependency required for the standard web application, we’ll need to set up content marshalling and unmarshalling for the REST API: + <dependencies> + <dependency> +   <groupId>com.fasterxml.jackson.core</groupId> +    <artifactId>jackson-databind</artifactId> +   <version>${jackson.version}</version> + </dependency> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>${jaxb-api.version}</version> + <scope>runtime</scope> + </dependency> +</dependencies> + +<properties> + <jackson.version>2.4.0</jackson.version> + <jaxb-api.version>2.2.11</jaxb-api.version> +</properties> + These are the libraries used to convert the representation of the REST resource to either JSON or XML. +
              +
              + <anchor xml:id="dbdoclet.8_Conclusion"/><emphasis role="bold">8. Conclusion</emphasis> + This tutorial illustrated how to implement and configure a REST Service using Spring 4 and Java based configuration, discussing HTTP response codes, basic Content Negotiation and marshaling. + In the next articles of the series I will focus on Discoverability of the API, advanced content negotiation and working with additional representations of a Resource. + The implementation of this Spring REST API Tutorial can be downloaded as a working sample project. + This is an Eclipse based project, so it should be easy to import and run as it is. + + + + + + + + + + java, REST, Spring, testing + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + + + +
              +
              +
              + +
              + + Spring Security for a REST API + + + + + + Return to Content + + + + + + Contents + + + Table of Contents + + + 1. Overview + + + 2. Spring Security in the web.xml + + + 3. The Security Configuration + + + 4. Maven and other trouble + + + 5. Conclusion + + + + + +
              + <anchor xml:id="Table_of_Contents"/><emphasis role="bold">Table of Contents</emphasis> + + + 1. Overview + + + 2. Introducing Spring Security in the web.xml + + + 3. The Security Configuration + + +     3.1. The basics + + +     3.2. The Entry Point + + +     3.3. The Login + + +     3.4. Authentication should return 200 instead of 301 + + +     3.5. Failed Authentication should return 401 instead of 302 + + +     3.6. The Authentication Manager and Provider + + +     3.7. Finally – Authentication against the running REST Service + + + 4. Maven and other trouble + + + 5. Conclusion + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + This tutorial shows how to Secure a REST Service using Spring and Spring Security 3.1 with Java based configuration. The article will focus on how to set up the Security Configuration specifically for the REST API using a Login and Cookie approach. +
              +
              + <anchor xml:id="dbdoclet.2_Spring_Security_in_the_webxml"/><emphasis role="bold">2. Spring Security in the web.xml</emphasis> + The architecture of Spring Security is based entirely on Servlet Filters and, as such, comes before Spring MVC in regards to the processing of HTTP requests. Keeping this in mind, to begin with, a filter needs to be declared in the web.xml of the application: + <filter> + <filter-name>springSecurityFilterChain</filter-name> + <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> +</filter> +<filter-mapping> + <filter-name>springSecurityFilterChain</filter-name> + <url-pattern>/*</url-pattern> +</filter-mapping> + The filter must necessarily be named ‘springSecurityFilterChain’  to match the default bean created by Spring Security in the container. + Note that the defined filter is not the actual class implementing the security logic but a DelegatingFilterProxy with the purpose of delegating the Filter’s methods to an internal bean. This is done so that the target bean can still benefit from the Spring context lifecycle and flexibility. + The URL pattern used to configure the Filter is /* even though the entire web service is mapped to /api/* so that the security configuration has the option to secure other possible mappings as well, if required. +
              +
              + <anchor xml:id="dbdoclet.3_The_Security_Configuration"/><emphasis role="bold">3. The Security Configuration</emphasis> + <?xml version="1.0" encoding="UTF-8"?> +<beans:beans + xmlns="http://www.springframework.org/schema/security" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:beans="http://www.springframework.org/schema/beans" + xmlns:sec="http://www.springframework.org/schema/security" + xsi:schemaLocation=" + http://www.springframework.org/schema/security + http://www.springframework.org/schema/security/spring-security-3.2.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"> + + <http entry-point-ref="restAuthenticationEntryPoint"> + <intercept-url pattern="/api/admin/**" access="ROLE_ADMIN"/> + + <form-login + authentication-success-handler-ref="mySuccessHandler" + authentication-failure-handler-ref="myFailureHandler" + /> + + <logout /> + </http> + + <beans:bean id="mySuccessHandler" + class="org.rest.security.MySavedRequestAwareAuthenticationSuccessHandler"/> + <beans:bean id="myFailureHandler" + class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler"/> + + <authentication-manager alias="authenticationManager"> + <authentication-provider> + <user-service> + <user name="temporary" password="temporary" authorities="ROLE_ADMIN"/> + <user name="user" password="user" authorities="ROLE_USER"/> + </user-service> + </authentication-provider> + </authentication-manager> + +</beans:beans> + Most of the configuration is done using the security namespace – for this to be enabled, the schema locations must be defined and pointed to the correct 3.1 or 3.2 XSD versions. The namespace is designed so that it expresses the common uses of Spring Security while still providing hooks raw beans to accommodate more advanced scenarios. >> Signup for my upcoming Video Course on Building a REST API with Spring 4 +
              + <emphasis role="bold">3.1. The <http> element</emphasis> + The <http> element is the main container element for HTTP security configuration. In the current implementation, it only secured a single mapping: /api/admin/**. Note that the mapping is relative to the root context of the web application, not to the rest Servlet; this is because the entire security configuration lives in the root Spring context and not in the child context of the Servlet. +
              +
              + <emphasis role="bold">3.2. The Entry Point</emphasis> + In a standard web application, the authentication process may be automatically triggered when the client tries to access a secured resource without being authenticated – this is usually done by redirecting to a login page so that the user can enter credentials. However, for a REST Web Service this behavior doesn’t make much sense – Authentication should only be done by a request to the correct URI and all other requests should simply fail with a 401 UNAUTHORIZED status code if the user is not authenticated. + Spring Security handles this automatic triggering of the authentication process with the concept of an Entry Point – this is a required part of the configuration, and can be injected via the entry-point-ref attribute of the <http> element. Keeping in mind that this functionality doesn’t make sense in the context of the REST Service, the new custom entry point is defined to simply return 401 whenever it is triggered: + @Component( "restAuthenticationEntryPoint" ) +public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint{ + + @Override + public void commence( HttpServletRequest request, HttpServletResponse response, + AuthenticationException authException ) throws IOException{ + response.sendError( HttpServletResponse.SC_UNAUTHORIZED, "Unauthorized" ); + } +} + A quick sidenote here is that the 401 is sent without the WWW-Authenticate header, as required by the HTTP Spec – we can of course set the value manually if we need to. +
              +
              + <emphasis role="bold">3.3. The Login Form for REST</emphasis> + There are multiple ways to do Authentication for a REST API – one of the default Spring Security provides is Form Login – which uses an authentication processing filter – org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter. + The <form-login> element will create this filter and will also allow us to set our custom authentication success handler on it. This can also be done manually by using the <custom-filter> element to register a filter at the position FORM_LOGIN_FILTER – but the namespace support is flexible enough. + Note that for a standard web application, the auto-config attribute of the <http> element is shorthand syntax for some useful security configuration. While this may be appropriate for some very simple configurations, it doesn’t fit and should not be used for a REST API. +
              +
              + <emphasis role="bold">3.4. Authentication should return 200 instead of 301</emphasis> + By default, form login will answer a successful authentication request with a 301 MOVED PERMANENTLY status code; this makes sense in the context of an actual login form which needs to redirect after login. For a RESTful web service however, the desired response for a successful authentication should be 200 OK. + This is done by injecting a custom authentication success handler in the form login filter, to replace the default one. The new handler implements the exact same login as the default org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler with one notable difference – the redirect logic is removed: + public class MySavedRequestAwareAuthenticationSuccessHandler + extends SimpleUrlAuthenticationSuccessHandler { + + private RequestCache requestCache = new HttpSessionRequestCache(); + + @Override + public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, + Authentication authentication) throws ServletException, IOException { + SavedRequest savedRequest = requestCache.getRequest(request, response); + + if (savedRequest == null) { + clearAuthenticationAttributes(request); + return; + } + String targetUrlParam = getTargetUrlParameter(); + if (isAlwaysUseDefaultTargetUrl() || + (targetUrlParam != null && + StringUtils.hasText(request.getParameter(targetUrlParam)))) { + requestCache.removeRequest(request, response); + clearAuthenticationAttributes(request); + return; + } + + clearAuthenticationAttributes(request); + } + + public void setRequestCache(RequestCache requestCache) { + this.requestCache = requestCache; + } +} +
              +
              + <emphasis role="bold">3.5. Failed Authentication should return 401 instead of 302</emphasis> + Similarly – we configured the authentication failure handler – same way we did with the success handler. + Luckily – in this case, we don’t need to actually define a new class for this handler – the standard implementation – SimpleUrlAuthenticationFailureHandler – does just fine. + The only difference is that – now that we’re defining this explicitly in our XML config – it’s not going to get a default defaultFailureUrl from Spring – and so it won’t redirect. +
              +
              + <emphasis role="bold">3.6. The Authentication Manager and Provider</emphasis> + The authentication process uses an in-memory provider to perform authentication – this is meant to simplify the configuration as a production implementation of these artifacts is outside the scope of this post. +
              +
              + <emphasis role="bold">3.7 Finally – Authentication against the running REST Service</emphasis> + Now let’s see how we can authenticate against the REST API – the URL for login is /j_spring_security_check – and a simple curl command performing login would be: + curl -i -X POST -d j_username=user -d j_password=userPass +http://localhost:8080/spring-security-rest/j_spring_security_check + This request will return the Cookie which will then be used by any subsequent request against the REST Service. + We can use curl to authentication and store the cookie it receives in a file: + curl -i -X POST -d j_username=user -d j_password=userPass -c /opt/cookies.txt +http://localhost:8080/spring-security-rest/j_spring_security_check + Then we can use the cookie from the file to do further authenticated requests: + curl -i --header "Accept:application/json" -X GET -b /opt/cookies.txt +http://localhost:8080/spring-security-rest/api/foos + This authenticated request will correctly result in a 200 OK: + HTTP/1.1 200 OK +Server: Apache-Coyote/1.1 +Content-Type: application/json;charset=UTF-8 +Transfer-Encoding: chunked +Date: Wed, 24 Jul 2013 20:31:13 GMT + +[{"id":0,"name":"JbidXc"}] +
              +
              +
              + <anchor xml:id="dbdoclet.4_Maven_and_other_trouble"/><emphasis role="bold">4. Maven and other trouble</emphasis> + The Spring core dependencies necessary for a web application and for the REST Service have been discussed in detail. For security, we’ll need to add: spring-security-web and spring-security-config – all of these have also been covered in the Maven for Spring Security tutorial. + It’s worth paying close attention to the way Maven will resolve the older Spring dependencies – the resolution strategy will start causing problems once the security artifacts are added to the pom. To address this problem, some of the core dependencies will need to be overridden in order to keep them at the right version. +
              +
              + <anchor xml:id="dbdoclet.5_Conclusion"/><emphasis role="bold">5. Conclusion</emphasis> + This post covered the basic security configuration and implementation for a RESTful Service using Spring Security 3.1, discussing the web.xml, the security configuration, the HTTP status codes for the authentication process and the Maven resolution of the security artifacts. + The implementation of this Spring Security REST Tutorial can be downloaded as a working sample project.This is an Eclipse based project, so it should be easy to import and run as it is. + + + + + + + + + + REST, security, Spring + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + + + +
              +
              +
              + +
              + + Spring Security Basic Authentication + + + + + + Return to Content + + + + + + Contents + + + 1. Overview + + + 2. The Spring Security Configuration + + + 3. Consuming The Secured Application + + + 4. Further Configuration – The Entry Point + + + 5. The Maven Dependencies + + + 6. Conclusion + + + If you're new here, you may want to get my "REST APIs with Spring" eBook. Thanks for visiting! + + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + This tutorial shows how to set up, configure and customize Basic Authentication with Spring. We’re going to built on top of the simple Spring MVC example, and secure the UI of the MVC application with the Basic Auth mechanism provided by Spring Security. +
              + <anchor xml:id="dbdoclet.2_The_Spring_Security_Configuration"/><emphasis role="bold">2. The Spring Security Configuration</emphasis> + The Configuration for Spring Security is still XML: + <?xml version="1.0" encoding="UTF-8"?> +<beans:beans xmlns="http://www.springframework.org/schema/security" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:beans="http://www.springframework.org/schema/beans" + xsi:schemaLocation=" + http://www.springframework.org/schema/security + http://www.springframework.org/schema/security/spring-security-3.1.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"> + + <http use-expressions="true"> + <intercept-url pattern="/**" access="isAuthenticated()" /> + + <http-basic /> + </http> + + <authentication-manager> + <authentication-provider> + <user-service> + <user name="user1" password="user1Pass" authorities="ROLE_USER" /> + </user-service> + </authentication-provider> + </authentication-manager> + +</beans:beans> + This is one of the last pieces of configuration in Spring that still need XML – Java Configuration for Spring Security is still a work in progress. + What is relevant here is the <http-basic> element inside the main <http> element of the configuration – this is enough to enable Basic Authentication for the entire application. The Authentication Manager is not the focus of this tutorial, so we are using an in memory manager with the user and password defined in plaintext. + The web.xml of the web application enabling Spring Security has already been discussed in the Spring Logout tutorial. +
              +
              + <anchor xml:id="dbdoclet.3_Consuming_The_Secured_Application"/><emphasis role="bold">3. Consuming The Secured Application</emphasis> + The curl command is our go to tool for consuming the secured application. + First, let’s try to request the /homepage.html without providing any security credentials: + curl -i http://localhost:8080/spring-security-mvc-basic-auth/homepage.html + We get back the expected 401 Unauthorized and the Authentication Challenge: + HTTP/1.1 401 Unauthorized +Server: Apache-Coyote/1.1 +Set-Cookie: JSESSIONID=E5A8D3C16B65A0A007CFAACAEEE6916B; Path=/spring-security-mvc-basic-auth/; HttpOnly +WWW-Authenticate: Basic realm="Spring Security Application" +Content-Type: text/html;charset=utf-8 +Content-Length: 1061 +Date: Wed, 29 May 2013 15:14:08 GMT + The browser would interpret this challenge and prompt us for credentials with a simple dialog, but since we’re using curl, this isn’t the case. + Now, let’s request the same resource – the homepage – but provide the credentials to access it as well: + curl -i --user user1:user1Pass http://localhost:8080/spring-security-mvc-basic-auth/homepage.html + Now, the response from the server is 200 OK along with a Cookie: + HTTP/1.1 200 OK +Server: Apache-Coyote/1.1 +Set-Cookie: JSESSIONID=301225C7AE7C74B0892887389996785D; Path=/spring-security-mvc-basic-auth/; HttpOnly +Content-Type: text/html;charset=ISO-8859-1 +Content-Language: en-US +Content-Length: 90 +Date: Wed, 29 May 2013 15:19:38 GMT + From the browser, the application can be consumed normally – the only difference is that a login page is no longer a hard requirement since all browsers support Basic Authentication and use a dialog to prompt the user for credentials. +
              +
              + <anchor xml:id="dbdoclet.4_Further_Configuration_8211_The_Entry_Point"/><emphasis role="bold">4. Further Configuration – </emphasis><emphasis role="bold">The Entry Point</emphasis> + By default, the BasicAuthenticationEntryPoint provisioned by Spring Security returns a full html page for a 401 Unauthorized response back to the client. This html representation of the error renders well in a browser, but it not well suited for other scenarios, such as a REST API where a json representation may be preferred. + The namespace is flexible enough for this new requirement as well – to address this – the entry point can be overridden: + <http-basic entry-point-ref="myBasicAuthenticationEntryPoint" /> + The new entry point is defined as a standard bean: + @Component +public class MyBasicAuthenticationEntryPoint extends BasicAuthenticationEntryPoint { + + @Override + public void commence + (HttpServletRequest request, HttpServletResponse response, AuthenticationException authEx) + throws IOException, ServletException { + response.addHeader("WWW-Authenticate", "Basic realm=\"" + getRealmName() + "\""); + response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); + PrintWriter writer = response.getWriter(); + writer.println("HTTP Status 401 - " + authEx.getMessage()); + } + + @Override + public void afterPropertiesSet() throws Exception { + setRealmName("Baeldung"); + super.afterPropertiesSet(); + } +} + By writing directly to the HTTP Response we now have full control over the format of the response body. +
              +
              + <anchor xml:id="dbdoclet.5_The_Maven_Dependencies"/><emphasis role="bold">5. The Maven Dependencies</emphasis> + The Maven dependencies for Spring Security have been discussed before in the Spring Security with Maven article – we will need both spring-security-web and spring-security-config available at runtime. +
              +
              + <anchor xml:id="dbdoclet.6_Conclusion"/><emphasis role="bold">6. Conclusion</emphasis> + In this example we secured an MVC application with Spring Security and Basic Authentication. We discussed the XML configuration and we consumed the application with simple curl commands. Finally took control of the exact error message format – moving from the standard HTML error page to a custom text or json format. + The implementation of this Spring tutorial can be found in the github project – this is an Eclipse based project, so it should be easy to import and run as it is. When the project runs locally, the sample html can be accessed at: + http://localhost:8080/spring-security-mvc-basic-auth/homepage.html + + + + + + + + + + security, Spring + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + +
              +
              +
              + +
              + + Spring Security Digest Authentication + + + + + + Return to Content + + + + + + Contents + + + 1. Overview + + + 2. The Security XML Configuration + + + 3. Consuming the Secured Application + + + 4. The Maven Dependencies + + + 5. Conclusion + + + If you're new here, you may want to get my "REST APIs with Spring" eBook. Thanks for visiting! + + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + This tutorial shows how to set up, configure and customize Digest Authentication with Spring. Similar to the previous article covering Basic Authentication, we’re going to built on top of the Spring MVC tutorial, and secure the application with the Digest Auth mechanism provided by Spring Security. +
              + <anchor xml:id="dbdoclet.2_The_Security_XML_Configuration"/><emphasis role="bold">2. The Security XML Configuration</emphasis> + First thing to understand about the configuration is that, while Spring Security does have full out of the box support for the Digest authentication mechanism, this support is not as well integrated into the namespace as Basic Authentication was. + In this case, we need to manually define the raw beans that are going to make up the security configuration – the DigestAuthenticationFilter and the DigestAuthenticationEntryPoint: + <?xml version="1.0" encoding="UTF-8"?> +<beans:beans xmlns="http://www.springframework.org/schema/security" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:beans="http://www.springframework.org/schema/beans" + xsi:schemaLocation=" + http://www.springframework.org/schema/security + http://www.springframework.org/schema/security/spring-security-3.1.xsd + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"> + +    <beans:bean id="digestFilter" + class="org.springframework.security.web.authentication.www.DigestAuthenticationFilter"> +        <beans:property name="userDetailsService" ref="userService" /> +        <beans:property name="authenticationEntryPoint" ref="digestEntryPoint" /> +    </beans:bean> +    <beans:bean id="digestEntryPoint"  + class="org.springframework.security.web.authentication.www.DigestAuthenticationEntryPoint"> +        <beans:property name="realmName" value="Contacts Realm via Digest Authentication" /> +        <beans:property name="key" value="acegi" /> +    </beans:bean> + + <!-- the security namespace configuration --> + <http use-expressions="true" entry-point-ref="digestEntryPoint"> + <intercept-url pattern="/**" access="isAuthenticated()" /> + + <custom-filter ref="digestFilter" after="BASIC_AUTH_FILTER" /> + </http> + + <authentication-manager> + <authentication-provider> + <user-service id="userService"> + <user name="user1" password="user1Pass" authorities="ROLE_USER" /> + </user-service> + </authentication-provider> + </authentication-manager> + +</beans:beans> + Next, we need to integrate these beans into the overall security configuration – and in this case, the namespace is still flexible enough to allow us to do that. + The first part of this is pointing to the custom entry point bean, via the entry-point-ref attribute of the main <http> element. + The second part is adding the newly defined digest filter into the security filter chain. Since this filter is functionally equivalent to the BasicAuthenticationFilter, we are using the same relative position in the chain – this is specified by the BASIC_AUTH_FILTER alias in the overall Spring Security Standard Filters. + Finally, notice that the Digest Filter is configured to point to the user service bean – and here, the namespace is again very useful as it allows us to specify a bean name for the default user service created by the <user-service> element: + <user-service id="userService"> +
              +
              + <anchor xml:id="dbdoclet.3_Consuming_the_Secured_Application"/><emphasis role="bold">3. Consuming the Secured Application</emphasis> + We’re going to be using the curl command to consume the secured application and understand how a client can interact with it. + Let’s start by requesting the homepage – without providing security credentials in the request: + curl -i http://localhost/spring-security-mvc-digest-auth/homepage.html + As expected, we get back a response with a 401 Unauthorized status code: + HTTP/1.1 401 Unauthorized +Server: Apache-Coyote/1.1 +Set-Cookie: JSESSIONID=CF0233C...; Path=/spring-security-mvc-digest-auth/; HttpOnly +WWW-Authenticate: Digest realm="Contacts Realm via Digest Authentication", qop="auth", + nonce="MTM3MzYzODE2NTg3OTo3MmYxN2JkOWYxZTc4MzdmMzBiN2Q0YmY0ZTU0N2RkZg==" +Content-Type: text/html;charset=utf-8 +Content-Length: 1061 +Date: Fri, 12 Jul 2013 14:04:25 GMT + If this request were sent by the browser, the authentication challenge would prompt the user for credentials using a simple user/password dialog. + Let’s now provide the correct credentials and send the request again: + curl -i --digest --user + user1:user1Pass http://localhost/spring-security-mvc-digest-auth/homepage.html + Notice that we are enabling Digest Authentication for the curl command via the –digest flag. + The first response from the server will be the same – the 401 Unauthorized – but the challenge will now be interpreted and acted upon by a second request – which will succeed with a 200 OK: + HTTP/1.1 401 Unauthorized +Server: Apache-Coyote/1.1 +Set-Cookie: JSESSIONID=A961E0D...; Path=/spring-security-mvc-digest-auth/; HttpOnly +WWW-Authenticate: Digest realm="Contacts Realm via Digest Authentication", qop="auth", + nonce="MTM3MzYzODgyOTczMTo3YjM4OWQzMGU0YTgwZDg0YmYwZjRlZWJjMDQzZWZkOA==" +Content-Type: text/html;charset=utf-8 +Content-Length: 1061 +Date: Fri, 12 Jul 2013 14:15:29 GMT + +HTTP/1.1 200 OK +Server: Apache-Coyote/1.1 +Set-Cookie: JSESSIONID=55F996B...; Path=/spring-security-mvc-digest-auth/; HttpOnly +Content-Type: text/html;charset=ISO-8859-1 +Content-Language: en-US +Content-Length: 90 +Date: Fri, 12 Jul 2013 14:15:29 GMT + +<html> +<head></head> + +<body> + <h1>This is the homepage</h1> +</body> +</html> + A final note on this interaction is that a client can preemptively send the correct Authorization header with the first request, and thus entirely avoid the server security challenge and the second request. +
              +
              + <anchor xml:id="dbdoclet.4_The_Maven_Dependencies"/><emphasis role="bold">4. The Maven Dependencies</emphasis> + The security dependencies are discussed in depth in the Spring Security Maven tutorial. In short, we will need to define spring-security-web and spring-security-config as dependencies in our pom.xml. +
              +
              + <anchor xml:id="dbdoclet.5_Conclusion"/><emphasis role="bold">5. Conclusion</emphasis> + In this tutorial we introduce security into a simple Spring MVC project by leveraging the Digest Authentication support in the framework. + The implementation of these examples can be found in the github project – this is an Eclipse based project, so it should be easy to import and run as it is. + When the project runs locally, the homepage html can be accessed at (or, with minimal Tomcat configuration, on port 80): + http://localhost:8080/spring-security-mvc-digest-auth/homepage.html + Finally, there is no reason an application needs to choose between Basic and Digest authentication – both can be set up simultaneously on the same URI structure, in such a way that the client can pick between the two mechanisms when consuming the web application. + + + + + + + + + + security, Spring + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + +
              +
              +
              + +
              + + Basic and Digest Authentication for a REST Service with Spring Security + + + + + + Return to Content + + + + + + Contents + + + Table of Contents + + + 1. Overview + + + 2. Configuration of Basic Authentication + + + 3. Configuration of Digest Authentication + + + 4. Supporting both authentication protocols in the same RESTful service + + + 5. Testing both scenarios + + + 6. Conclusion + + + If you're new here, you may want to get my "REST APIs with Spring" eBook. Thanks for visiting! + + + +
              + <anchor xml:id="Table_of_Contents"/><emphasis role="bold">Table of Contents</emphasis> + + + 1. Overview + + + 2. Configuration of Basic Authentication + + +     2.1. Satisfying the stateless constraint – getting rid of sessions + + + 3. Configuration of Digest Authentication + + + 4. Supporting both authentication protocols in the same RESTful service + + +     4.1. Anonymous request + + +     4.2. Request with authentication credentials + + + 5. Testing both scenarios + + + 6. Conclusion + + +
              + <anchor xml:id="dbdoclet.1_Overview"/><emphasis role="bold">1. Overview</emphasis> + This article discusses how to set up both Basic and Digest Authentication on the same URI structure of a REST API. In a previous article, we discussed another method of securing the REST Service – form based authentication, so Basic and Digest authentication is the natural alternative, as well as the more RESTful one. +
              +
              + <anchor xml:id="dbdoclet.2_Configuration_of_Basic_Authentication"/><emphasis role="bold">2. Configuration of Basic Authentication</emphasis> + The main reason that form based authentication is not ideal for a RESTful Service is that Spring Security will make use of Sessions – this is of course state on the server, so the statelessness constraints in REST is practically ignored. + We’ll start by setting up Basic Authentication – first we remove the old custom entry point and filter from the main <http> security element: + <http create-session="stateless"> + <intercept-url pattern="/api/admin/**" access="ROLE_ADMIN" /> + + <http-basic /> +</http> + Note how support for basic authentication has been added with a single configuration line – <http-basic /> – which handles the creation and wiring of both the BasicAuthenticationFilter and the BasicAuthenticationEntryPoint. +
              + <emphasis role="bold">2.1. Satisfying the stateless constraint – getting rid of sessions</emphasis> + One of the main constraints of the RESTful architectural style is that the client-server communication is fully stateless, as the original dissertation reads: +
              +     5.1.3 Stateless + We next add a constraint to the client-server interaction: communication must be stateless in nature, as in the client-stateless-server (CSS) style of Section 3.4.3 (Figure 5-3), such that each request from client to server must contain all of the information necessary to understand the request, and cannot take advantage of any stored context on the server. Session state is therefore kept entirely on the client. +
              + The concept of Session on the server is one with a long history in Spring Security, and removing it entirely has been difficult until now, especially when configuration was done by using the namespace. However, Spring Security 3.1 augments the namespace configuration with a new stateless option for session creation, which effectively guarantees that no session will be created or used by Spring. What this new option does is completely removes all session related filters from the security filter chain, ensuring that authentication is performed for each request. +
              +
              +
              + <anchor xml:id="dbdoclet.3_Configuration_of_Digest_Authentication"/><emphasis role="bold">3. Configuration of Digest Authentication</emphasis> + Starting with the previous configuration, the filter and entry point necessary to set up digest authentication will be defined as beans. Then, the digest entry point will override the one created by <http-basic> behind the scenes. Finally, the custom digest filter will be introduced in the security filter chain using the after semantics of the security namespace to position it directly after the basic authentication filter. + <http create-session="stateless" entry-point-ref="digestEntryPoint"> + <intercept-url pattern="/api/admin/**" access="ROLE_ADMIN" /> + + <http-basic /> + <custom-filter ref="digestFilter" after="BASIC_AUTH_FILTER" /> +</http> + +<beans:bean id="digestFilter" class= + "org.springframework.security.web.authentication.www.DigestAuthenticationFilter"> + <beans:property name="userDetailsService" ref="userService" /> + <beans:property name="authenticationEntryPoint" ref="digestEntryPoint" /> +</beans:bean> + +<beans:bean id="digestEntryPoint" class= + "org.springframework.security.web.authentication.www.DigestAuthenticationEntryPoint"> + <beans:property name="realmName" value="Contacts Realm via Digest Authentication"/> + <beans:property name="key" value="acegi" /> +</beans:bean> + +<authentication-manager> + <authentication-provider> + <user-service id="userService"> + <user name="eparaschiv" password="eparaschiv" authorities="ROLE_ADMIN" /> + <user name="user" password="user" authorities="ROLE_USER" /> + </user-service> + </authentication-provider> +</authentication-manager> + Unfortunately there is no support in the security namespace to automatically configure the digest authentication the way basic authentication can be configured with <http-basic>. Because of that, the necessary beans had to be defined and wired manually into the security configuration. +
              +
              + <anchor xml:id="dbdoclet.4_Supporting_both_authentication_protocols_in_the_same_RESTful_service"/><emphasis role="bold">4. Supporting both authentication protocols in the same RESTful service</emphasis> + Basic or Digest authentication alone can be easily implemented in Spring Security 3.x; it is supporting both of them for the same RESTful web service, on the same URI mappings that introduces a new level of complexity into the configuration and testing of the service. +
              + <emphasis role="bold">4.1. Anonymous request</emphasis> + With both basic and digest filters in the security chain, the way a anonymous request – a request containing no authentication credentials (Authorization HTTP header) – is processed by Spring Security is – the two authentication filters will find no credentials and will continue execution of the filter chain. Then, seeing how the request wasn’t authenticated, an AccessDeniedException is thrown and caught in the ExceptionTranslationFilter, which commences the digest entry point, prompting the client for credentials. + The responsibilities of both the basic and digest filters are very narrow – they will continue to execute the security filter chain if they are unable to identify the type of authentication credentials in the request. It is because of this that Spring Security can have the flexibility to be configured with support for multiple authentication protocols on the same URI. + When a request is made containing the correct authentication credentials – either basic or digest – that protocol will be rightly used. However, for an anonymous request, the client will get prompted only for digest authentication credentials. This is because the digest entry point is configured as the main and single entry point of the Spring Security chain; as such digest authentication can be considered the default. +
              +
              + <emphasis role="bold">4.2. Request with authentication credentials</emphasis> + A request with credentials for Basic authentication will be identified by the Authorization header starting with the prefix “Basicâ€. When processing such a request, the credentials will be decoded in the basic authentication filter and the request will be authorized. Similarly, a request with credentials for Digest authentication will use the prefix “Digestâ€Ã‚  for it’s Authorization header. +
              +
              +
              + <anchor xml:id="dbdoclet.5_Testing_both_scenarios"/><emphasis role="bold">5. Testing both scenarios</emphasis> + The tests will consume the REST service by creating a new resource after authenticating with either basic or digest: + @Test +public void givenAuthenticatedByBasicAuth_whenAResourceIsCreated_then201IsReceived(){ + // Given + // When + Response response = given() + .auth().preemptive().basic( ADMIN_USERNAME, ADMIN_PASSWORD ) + .contentType( HttpConstants.MIME_JSON ).body( new Foo( randomAlphabetic( 6 ) ) ) + .post( paths.getFooURL() ); + + // Then + assertThat( response.getStatusCode(), is( 201 ) ); +} +@Test +public void givenAuthenticatedByDigestAuth_whenAResourceIsCreated_then201IsReceived(){ + // Given + // When + Response response = given() + .auth().digest( ADMIN_USERNAME, ADMIN_PASSWORD ) + .contentType( HttpConstants.MIME_JSON ).body( new Foo( randomAlphabetic( 6 ) ) ) + .post( paths.getFooURL() ); + + // Then + assertThat( response.getStatusCode(), is( 201 ) ); +} + Note that the test using basic authentication adds credentials to the request preemptively, regardless if the server has challenged for authentication or not. This is to ensure that the server doesn’t need to challenge the client for credentials, because if it did, the challenge would be for Digest credentials, since that is the default. +
              +
              + <anchor xml:id="dbdoclet.6_Conclusion"/><emphasis role="bold">6. Conclusion</emphasis> + This article covered the configuration and implementation of both Basic and Digest authentication for a RESTful service, using mostly Spring Security 3.0 namespace support as well as some new features added by Spring Security 3.1. + For the full implementation, check out the github project. + + + + + + + + + + REST, security, Spring + + + + + + + + + + + © 2014 Baeldung. All Rights Reserved. + + + + + + + +
              +
              +
              diff --git a/apache-fop/src/test/resources/jars/herold.jar b/apache-fop/src/test/resources/jars/herold.jar new file mode 100644 index 0000000000..ef5d052f36 Binary files /dev/null and b/apache-fop/src/test/resources/jars/herold.jar differ diff --git a/apache-fop/src/test/resources/output_herold.pdf b/apache-fop/src/test/resources/output_herold.pdf new file mode 100644 index 0000000000..1d23de7b61 Binary files /dev/null and b/apache-fop/src/test/resources/output_herold.pdf differ diff --git a/apache-fop/src/test/resources/output_html2fo.pdf b/apache-fop/src/test/resources/output_html2fo.pdf new file mode 100644 index 0000000000..7c2b4a0c51 Binary files /dev/null and b/apache-fop/src/test/resources/output_html2fo.pdf differ diff --git a/apache-fop/src/test/resources/output_jtidy.pdf b/apache-fop/src/test/resources/output_jtidy.pdf new file mode 100644 index 0000000000..1d9456122c Binary files /dev/null and b/apache-fop/src/test/resources/output_jtidy.pdf differ diff --git a/apache-fop/src/test/resources/xhtml2fo.xsl b/apache-fop/src/test/resources/xhtml2fo.xsl new file mode 100644 index 0000000000..378880ae04 --- /dev/null +++ b/apache-fop/src/test/resources/xhtml2fo.xsl @@ -0,0 +1,690 @@ + + + + + + + + + + + + no-wrap + + + + + + + + + + + + + + + + + + + + page + of + + + + + + + + + + + + + + + + + + xx-small + x-small + small + medium + large + x-large + xx-large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + url(' + + ') + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + proportional-column-width(1) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + center + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + &#x25AA; + &#x25CB; + + &#x25AA; + + + &#x25CB; + + &#x2022; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &#10; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pt + + + + + + + + + + + + + + + + + + + + + + + ( + + ) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + xx-small + x-small + small + medium + large + x-large + xx-large + + + + + + + + + + + + + + + + + + + + + &#x201C; + + &#x201D; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + 10em + + + + + + + + + &#x2611; + &#x2610; + + + + + + + + &#x25C9; + &#x25CB; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + em + + + + + + + + + + + + + + + 1em + + + + + + + + + + + + + + + + + + diff --git a/aspectj/pom.xml b/aspectj/pom.xml new file mode 100644 index 0000000000..2a1cff11c8 --- /dev/null +++ b/aspectj/pom.xml @@ -0,0 +1,131 @@ + + 4.0.0 + com.baeldung + aspectj + 0.0.1-SNAPSHOT + aspectj + + + + org.aspectj + aspectjrt + ${aspectj.version} + + + + org.aspectj + aspectjweaver + ${aspectj.version} + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + + ch.qos.logback + logback-classic + ${logback.version} + + + + ch.qos.logback + logback-core + ${logback.version} + + + + + junit + junit + ${junit.version} + + + + + + aspectj + + + src/main/resources + true + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + ${source.version} + ${source.version} + + + + + + org.codehaus.mojo + aspectj-maven-plugin + 1.7 + + ${source.version} + ${source.version} + ${source.version} + true + true + ignore + ${project.build.sourceEncoding} + + + + + + + compile + test-compile + + + + + + + + + + + 1.8 + 1.6.11 + UTF-8 + 1.8.9 + 1.7.21 + 1.1.7 + 3.5.1 + 4.12 + + + \ No newline at end of file diff --git a/aspectj/src/main/java/com/baeldung/aspectj/Account.java b/aspectj/src/main/java/com/baeldung/aspectj/Account.java new file mode 100644 index 0000000000..59cab72ebf --- /dev/null +++ b/aspectj/src/main/java/com/baeldung/aspectj/Account.java @@ -0,0 +1,13 @@ +package com.baeldung.aspectj; + +public class Account { + int balance = 20; + + public boolean withdraw(int amount) { + if (balance - amount > 0) { + balance = balance - amount; + return true; + } else + return false; + } +} diff --git a/aspectj/src/main/java/com/baeldung/aspectj/AccountAspect.aj b/aspectj/src/main/java/com/baeldung/aspectj/AccountAspect.aj new file mode 100644 index 0000000000..2ddf03192b --- /dev/null +++ b/aspectj/src/main/java/com/baeldung/aspectj/AccountAspect.aj @@ -0,0 +1,30 @@ +package com.baeldung.aspectj; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public aspect AccountAspect { + private static final Logger logger = LoggerFactory.getLogger(AccountAspect.class); + final int MIN_BALANCE = 10; + + pointcut callWithDraw(int amount, Account account): + call(boolean Account.withdraw(int)) && args(amount) && target(account); + + before(int amount, Account account) : callWithDraw(amount, account) { + logger.info(" Balance before withdrawal: {}", account.balance); + logger.info(" Withdraw ammout: {}", amount); + } + + boolean around(int amount, Account account) : callWithDraw(amount, account) { + if (account.balance - amount >= MIN_BALANCE) + return proceed(amount, account); + else { + logger.info("Withdrawal Rejected!"); + return false; + } + } + + after(int amount, Account balance) : callWithDraw(amount, balance) { + logger.info("Balance after withdrawal : {}", balance.balance); + } +} diff --git a/aspectj/src/main/java/com/baeldung/aspectj/Secured.java b/aspectj/src/main/java/com/baeldung/aspectj/Secured.java new file mode 100644 index 0000000000..923f208c2f --- /dev/null +++ b/aspectj/src/main/java/com/baeldung/aspectj/Secured.java @@ -0,0 +1,12 @@ +package com.baeldung.aspectj; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface Secured { + public boolean isLocked() default false; +} diff --git a/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethod.java b/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethod.java new file mode 100644 index 0000000000..aa4b733a00 --- /dev/null +++ b/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethod.java @@ -0,0 +1,23 @@ +package com.baeldung.aspectj; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class SecuredMethod { + private static final Logger logger = LoggerFactory.getLogger(SecuredMethod.class); + + @Secured(isLocked = true) + public void lockedMethod() throws Exception { + logger.info("lockedMethod"); + } + + @Secured(isLocked = false) + public void unlockedMethod() { + logger.info("unlockedMethod"); + } + + public static void main(String[] args) throws Exception { + SecuredMethod sv = new SecuredMethod(); + sv.lockedMethod(); + } +} \ No newline at end of file diff --git a/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethodAspect.java b/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethodAspect.java new file mode 100644 index 0000000000..9ea45ec43b --- /dev/null +++ b/aspectj/src/main/java/com/baeldung/aspectj/SecuredMethodAspect.java @@ -0,0 +1,27 @@ +package com.baeldung.aspectj; + +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Pointcut; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@Aspect +public class SecuredMethodAspect { + private static final Logger logger = LoggerFactory.getLogger(SecuredMethodAspect.class); + + @Pointcut("@annotation(secured)") + public void callAt(Secured secured) { + } + + @Around("callAt(secured)") + public Object around(ProceedingJoinPoint pjp, Secured secured) throws Throwable { + if (secured.isLocked()) { + logger.info(pjp.getSignature().toLongString() + " is locked"); + return null; + } else { + return pjp.proceed(); + } + } +} diff --git a/aspectj/src/main/resources/META-INF/aop.xml b/aspectj/src/main/resources/META-INF/aop.xml new file mode 100644 index 0000000000..f930cde942 --- /dev/null +++ b/aspectj/src/main/resources/META-INF/aop.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/aspectj/src/main/resources/logback.xml b/aspectj/src/main/resources/logback.xml new file mode 100644 index 0000000000..8b566286b8 --- /dev/null +++ b/aspectj/src/main/resources/logback.xml @@ -0,0 +1,18 @@ + + + + + + %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg %n + + + + + + + + + + + + \ No newline at end of file diff --git a/aspectj/src/test/java/com/baeldung/aspectj/test/AccountTest.java b/aspectj/src/test/java/com/baeldung/aspectj/test/AccountTest.java new file mode 100644 index 0000000000..d90793f681 --- /dev/null +++ b/aspectj/src/test/java/com/baeldung/aspectj/test/AccountTest.java @@ -0,0 +1,27 @@ +package com.baeldung.aspectj.test; + +import static org.junit.Assert.*; + +import org.junit.Before; +import org.junit.Test; + +import com.baeldung.aspectj.Account; + +public class AccountTest { + private Account account; + + @Before + public void before() { + account = new Account(); + } + + @Test + public void givenBalance20AndMinBalance10_whenWithdraw5_thenSuccess() { + assertTrue(account.withdraw(5)); + } + + @Test + public void givenBalance20AndMinBalance10_whenWithdraw100_thenFail() { + assertFalse(account.withdraw(100)); + } +} diff --git a/aspectj/src/test/java/com/baeldung/aspectj/test/SecuredMethodTest.java b/aspectj/src/test/java/com/baeldung/aspectj/test/SecuredMethodTest.java new file mode 100644 index 0000000000..924bb279fd --- /dev/null +++ b/aspectj/src/test/java/com/baeldung/aspectj/test/SecuredMethodTest.java @@ -0,0 +1,14 @@ +package com.baeldung.aspectj.test; + +import org.junit.Test; + +import com.baeldung.aspectj.SecuredMethod; + +public class SecuredMethodTest { + @Test + public void testMethod() throws Exception { + SecuredMethod service = new SecuredMethod(); + service.unlockedMethod(); + service.lockedMethod(); + } +} \ No newline at end of file diff --git a/assertj/README.md b/assertj/README.md new file mode 100644 index 0000000000..86eff05057 --- /dev/null +++ b/assertj/README.md @@ -0,0 +1,3 @@ +### Relevant Articles: +- [AssertJ’s Java 8 Features](http://www.baeldung.com/assertJ-java-8-features) +- [AssertJ for Guava](http://www.baeldung.com/assertJ-for-guava) diff --git a/assertj/pom.xml b/assertj/pom.xml new file mode 100644 index 0000000000..df55ebba4b --- /dev/null +++ b/assertj/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + + com.baeldung + assertj + 1.0.0-SNAPSHOT + + + + + com.google.guava + guava + ${guava.version} + + + org.assertj + assertj-guava + 3.0.0 + + + + junit + junit + 4.12 + test + + + org.assertj + assertj-core + 3.5.1 + test + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + 1.8 + 1.8 + + + + + + + 19.0 + + + \ No newline at end of file diff --git a/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Dog.java b/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Dog.java new file mode 100644 index 0000000000..623f71214c --- /dev/null +++ b/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Dog.java @@ -0,0 +1,19 @@ +package com.baeldung.assertj.introduction.domain; + +public class Dog { + private String name; + private Float weight; + + public Dog(String name, Float weight) { + this.name = name; + this.weight = weight; + } + + public String getName() { + return name; + } + + public Float getWeight() { + return weight; + } +} diff --git a/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Person.java b/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Person.java new file mode 100644 index 0000000000..90ef787ebe --- /dev/null +++ b/assertj/src/main/java/com/baeldung/assertj/introduction/domain/Person.java @@ -0,0 +1,19 @@ +package com.baeldung.assertj.introduction.domain; + +public class Person { + private String name; + private Integer age; + + public Person(String name, Integer age) { + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public Integer getAge() { + return age; + } +} diff --git a/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJCoreTest.java b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJCoreTest.java new file mode 100644 index 0000000000..fc134ece00 --- /dev/null +++ b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJCoreTest.java @@ -0,0 +1,141 @@ +package com.baeldung.assertj.introduction; + +import com.baeldung.assertj.introduction.domain.Dog; +import com.baeldung.assertj.introduction.domain.Person; +import org.assertj.core.util.Maps; +import org.junit.Ignore; +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.InputStream; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.NoSuchElementException; + +import static org.assertj.core.api.Assertions.*; + +public class AssertJCoreTest { + + @Test + public void whenComparingReferences_thenNotEqual() throws Exception { + Dog fido = new Dog("Fido", 5.15f); + Dog fidosClone = new Dog("Fido", 5.15f); + + assertThat(fido).isNotEqualTo(fidosClone); + } + + @Test + public void whenComparingFields_thenEqual() throws Exception { + Dog fido = new Dog("Fido", 5.15f); + Dog fidosClone = new Dog("Fido", 5.15f); + + assertThat(fido).isEqualToComparingFieldByFieldRecursively(fidosClone); + } + + @Test + public void whenCheckingForElement_thenContains() throws Exception { + List list = Arrays.asList("1", "2", "3"); + + assertThat(list) + .contains("1"); + } + + @Test + public void whenCheckingForElement_thenMultipleAssertions() throws Exception { + List list = Arrays.asList("1", "2", "3"); + + assertThat(list).isNotEmpty(); + assertThat(list).startsWith("1"); + assertThat(list).doesNotContainNull(); + + assertThat(list) + .isNotEmpty() + .contains("1") + .startsWith("1") + .doesNotContainNull() + .containsSequence("2", "3"); + } + + @Test + public void whenCheckingRunnable_thenIsInterface() throws Exception { + assertThat(Runnable.class).isInterface(); + } + + @Test + public void whenCheckingCharacter_thenIsUnicode() throws Exception { + char someCharacter = 'c'; + + assertThat(someCharacter) + .isNotEqualTo('a') + .inUnicode() + .isGreaterThanOrEqualTo('b') + .isLowerCase(); + } + + @Test + public void whenAssigningNSEExToException_thenIsAssignable() throws Exception { + assertThat(Exception.class).isAssignableFrom(NoSuchElementException.class); + } + + @Test + public void whenComparingWithOffset_thenEquals() throws Exception { + assertThat(5.1).isEqualTo(5, withPrecision(1d)); + } + + @Test + public void whenCheckingString_then() throws Exception { + assertThat("".isEmpty()).isTrue(); + } + + @Test + public void whenCheckingFile_then() throws Exception { + final File someFile = File.createTempFile("aaa", "bbb"); + someFile.deleteOnExit(); + + assertThat(someFile) + .exists() + .isFile() + .canRead() + .canWrite(); + } + + @Test + public void whenCheckingIS_then() throws Exception { + InputStream given = new ByteArrayInputStream("foo".getBytes()); + InputStream expected = new ByteArrayInputStream("foo".getBytes()); + + assertThat(given).hasSameContentAs(expected); + } + + @Test + public void whenGivenMap_then() throws Exception { + Map map = Maps.newHashMap(2, "a"); + + assertThat(map) + .isNotEmpty() + .containsKey(2) + .doesNotContainKeys(10) + .contains(entry(2, "a")); + } + + @Test + public void whenGivenException_then() throws Exception { + Exception ex = new Exception("abc"); + + assertThat(ex) + .hasNoCause() + .hasMessageEndingWith("c"); + } + + @Ignore // IN ORDER TO TEST, REMOVE THIS LINE + @Test + public void whenRunningAssertion_thenDescribed() throws Exception { + Person person = new Person("Alex", 34); + + assertThat(person.getAge()) + .as("%s's age should be equal to 100") + .isEqualTo(100); + } +} diff --git a/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJGuavaTest.java b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJGuavaTest.java new file mode 100644 index 0000000000..aee803ada1 --- /dev/null +++ b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJGuavaTest.java @@ -0,0 +1,121 @@ +package com.baeldung.assertj.introduction; + +import com.google.common.base.Optional; +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.HashBasedTable; +import com.google.common.collect.Multimap; +import com.google.common.collect.Multimaps; +import com.google.common.collect.Range; +import com.google.common.collect.Table; +import com.google.common.collect.TreeRangeMap; +import com.google.common.io.Files; +import org.assertj.guava.data.MapEntry; +import org.junit.Test; + +import java.io.File; +import java.util.HashMap; +import java.util.HashSet; + +import static org.assertj.guava.api.Assertions.assertThat; +import static org.assertj.guava.api.Assertions.entry; + +public class AssertJGuavaTest { + + @Test + public void givenTwoEmptyFiles_whenComparingContent_thenEqual() throws Exception { + final File temp1 = File.createTempFile("bael", "dung1"); + final File temp2 = File.createTempFile("bael", "dung2"); + + assertThat(Files.asByteSource(temp1)) + .hasSize(0) + .hasSameContentAs(Files.asByteSource(temp2)); + } + + @Test + public void givenMultimap_whenVerifying_thenCorrect() throws Exception { + final Multimap mmap = ArrayListMultimap.create(); + mmap.put(1, "one"); + mmap.put(1, "1"); + + assertThat(mmap) + .hasSize(2) + .containsKeys(1) + .contains(entry(1, "one")) + .contains(entry(1, "1")); + } + + @Test + public void givenMultimaps_whenVerifyingContent_thenCorrect() throws Exception { + final Multimap mmap1 = ArrayListMultimap.create(); + mmap1.put(1, "one"); + mmap1.put(1, "1"); + mmap1.put(2, "two"); + mmap1.put(2, "2"); + + final Multimap mmap1_clone = Multimaps.newSetMultimap(new HashMap<>(), HashSet::new); + mmap1_clone.put(1, "one"); + mmap1_clone.put(1, "1"); + mmap1_clone.put(2, "two"); + mmap1_clone.put(2, "2"); + + final Multimap mmap2 = Multimaps.newSetMultimap(new HashMap<>(), HashSet::new); + mmap2.put(1, "one"); + mmap2.put(1, "1"); + + assertThat(mmap1) + .containsAllEntriesOf(mmap2) + .containsAllEntriesOf(mmap1_clone) + .hasSameEntriesAs(mmap1_clone); + } + + @Test + public void givenOptional_whenVerifyingContent_thenShouldBeEqual() throws Exception { + final Optional something = Optional.of("something"); + + assertThat(something) + .isPresent() + .extractingValue() + .isEqualTo("something"); + } + + @Test + public void givenRange_whenVerifying_thenShouldBeCorrect() throws Exception { + final Range range = Range.openClosed("a", "g"); + + assertThat(range) + .hasOpenedLowerBound() + .isNotEmpty() + .hasClosedUpperBound() + .contains("b"); + } + + @Test + public void givenRangeMap_whenVerifying_thenShouldBeCorrect() throws Exception { + final TreeRangeMap map = TreeRangeMap.create(); + + map.put(Range.closed(0, 60), "F"); + map.put(Range.closed(61, 70), "D"); + + assertThat(map) + .isNotEmpty() + .containsKeys(0) + .contains(MapEntry.entry(34, "F")); + } + + @Test + public void givenTable_whenVerifying_thenShouldBeCorrect() throws Exception { + final Table table = HashBasedTable.create(2, 2); + + table.put(1, "A", "PRESENT"); + table.put(1, "B", "ABSENT"); + + assertThat(table) + .hasRowCount(1) + .containsValues("ABSENT") + .containsCell(1, "B", "ABSENT"); + } + + + + +} diff --git a/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJJava8Test.java b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJJava8Test.java new file mode 100644 index 0000000000..0cdbd0f7ea --- /dev/null +++ b/assertj/src/test/java/com/baeldung/assertj/introduction/AssertJJava8Test.java @@ -0,0 +1,132 @@ +package com.baeldung.assertj.introduction; + +import org.junit.Test; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.util.Arrays; +import java.util.List; +import java.util.Optional; +import java.util.function.Predicate; + +import static java.time.LocalDate.ofYearDay; +import static java.util.Arrays.asList; +import static org.assertj.core.api.Assertions.assertThat; + +public class AssertJJava8Test { + + @Test + public void givenOptional_shouldAssert() throws Exception { + final Optional givenOptional = Optional.of("something"); + + assertThat(givenOptional) + .isPresent() + .hasValue("something"); + } + + @Test + public void givenPredicate_shouldAssert() throws Exception { + final Predicate predicate = s -> s.length() > 4; + + assertThat(predicate) + .accepts("aaaaa", "bbbbb") + .rejects("a", "b") + .acceptsAll(asList("aaaaa", "bbbbb")) + .rejectsAll(asList("a", "b")); + } + + @Test + public void givenLocalDate_shouldAssert() throws Exception { + final LocalDate givenLocalDate = LocalDate.of(2016, 7, 8); + final LocalDate todayDate = LocalDate.now(); + + assertThat(givenLocalDate) + .isBefore(LocalDate.of(2020, 7, 8)) + .isAfterOrEqualTo(LocalDate.of(1989, 7, 8)); + + assertThat(todayDate) + .isAfter(LocalDate.of(1989, 7, 8)) + .isToday(); + } + + @Test + public void givenLocalDateTime_shouldAssert() throws Exception { + final LocalDateTime givenLocalDate = LocalDateTime.of(2016, 7, 8, 12, 0); + + assertThat(givenLocalDate) + .isBefore(LocalDateTime.of(2020, 7, 8, 11, 2)); + } + + @Test + public void givenLocalTime_shouldAssert() throws Exception { + final LocalTime givenLocalTime = LocalTime.of(12, 15); + + assertThat(givenLocalTime) + .isAfter(LocalTime.of(1, 0)) + .hasSameHourAs(LocalTime.of(12, 0)); + } + + @Test + public void givenList_shouldAssertFlatExtracting() throws Exception { + final List givenList = asList(ofYearDay(2016, 5), ofYearDay(2015, 6)); + + assertThat(givenList) + .flatExtracting(LocalDate::getYear) + .contains(2015); + } + + @Test + public void givenList_shouldAssertFlatExtractingLeapYear() throws Exception { + final List givenList = asList(ofYearDay(2016, 5), ofYearDay(2015, 6)); + + assertThat(givenList) + .flatExtracting(LocalDate::isLeapYear) + .contains(true); + } + + @Test + public void givenList_shouldAssertFlatExtractingClass() throws Exception { + final List givenList = asList(ofYearDay(2016, 5), ofYearDay(2015, 6)); + + assertThat(givenList) + .flatExtracting(Object::getClass) + .contains(LocalDate.class); + } + + @Test + public void givenList_shouldAssertMultipleFlatExtracting() throws Exception { + final List givenList = asList(ofYearDay(2016, 5), ofYearDay(2015, 6)); + + assertThat(givenList) + .flatExtracting(LocalDate::getYear, LocalDate::getDayOfMonth) + .contains(2015, 6); + } + + @Test + public void givenString_shouldSatisfy() throws Exception { + final String givenString = "someString"; + + assertThat(givenString) + .satisfies(s -> { + assertThat(s).isNotEmpty(); + assertThat(s).hasSize(10); + }); + } + + @Test + public void givenString_shouldMatch() throws Exception { + final String emptyString = ""; + + assertThat(emptyString) + .matches(String::isEmpty); + } + + @Test + public void givenList_shouldHasOnlyOneElementSatisfying() throws Exception { + final List givenList = Arrays.asList(""); + + assertThat(givenList) + .hasOnlyOneElementSatisfying(s -> assertThat(s).isEmpty()); + } +} diff --git a/autovalue/README.md b/autovalue/README.md new file mode 100644 index 0000000000..2385e82847 --- /dev/null +++ b/autovalue/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Introduction to AutoValue](http://www.baeldung.com/introduction-to-autovalue) diff --git a/autovalue/pom.xml b/autovalue/pom.xml new file mode 100644 index 0000000000..d1f8e825fc --- /dev/null +++ b/autovalue/pom.xml @@ -0,0 +1,37 @@ + + 4.0.0 + com.baeldung + autovalue-tutorial + 1.0 + AutoValue + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + 7 + 7 + false + + + + + + + com.google.auto.value + auto-value + 1.2 + + + + junit + junit + 4.3 + test + + + + diff --git a/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoney.java b/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoney.java new file mode 100644 index 0000000000..ef39f499d1 --- /dev/null +++ b/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoney.java @@ -0,0 +1,15 @@ +package com.baeldung.autovalue; + +import com.google.auto.value.AutoValue; + +@AutoValue +public abstract class AutoValueMoney { + public abstract String getCurrency(); + + public abstract long getAmount(); + + public static AutoValueMoney create(String currency, long amount) { + return new AutoValue_AutoValueMoney(currency, amount); + + } +} diff --git a/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoneyWithBuilder.java b/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoneyWithBuilder.java new file mode 100644 index 0000000000..a7ac93e45b --- /dev/null +++ b/autovalue/src/main/java/com/baeldung/autovalue/AutoValueMoneyWithBuilder.java @@ -0,0 +1,23 @@ +package com.baeldung.autovalue; + +import com.google.auto.value.AutoValue; + +@AutoValue +public abstract class AutoValueMoneyWithBuilder { + public abstract String getCurrency(); + + public abstract long getAmount(); + + static Builder builder() { + return new AutoValue_AutoValueMoneyWithBuilder.Builder(); + } + + @AutoValue.Builder + abstract static class Builder { + abstract Builder setCurrency(String currency); + + abstract Builder setAmount(long amount); + + abstract AutoValueMoneyWithBuilder build(); + } +} diff --git a/autovalue/src/main/java/com/baeldung/autovalue/Foo.java b/autovalue/src/main/java/com/baeldung/autovalue/Foo.java new file mode 100644 index 0000000000..bb90070f6d --- /dev/null +++ b/autovalue/src/main/java/com/baeldung/autovalue/Foo.java @@ -0,0 +1,51 @@ +package com.baeldung.autovalue; + +import java.util.Objects; + +public final class Foo { + private final String text; + private final int number; + + public Foo(String text, int number) { + this.text = text; + this.number = number; + } + + public String getText() { + return text; + } + + public int getNumber() { + return number; + } + + @Override + public int hashCode() { + return Objects.hash(text, number); + } + + @Override + public String toString() { + return "Foo [text=" + text + ", number=" + number + "]"; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Foo other = (Foo) obj; + if (number != other.number) + return false; + if (text == null) { + if (other.text != null) + return false; + } else if (!text.equals(other.text)) + return false; + return true; + } + +} diff --git a/autovalue/src/main/java/com/baeldung/autovalue/ImmutableMoney.java b/autovalue/src/main/java/com/baeldung/autovalue/ImmutableMoney.java new file mode 100644 index 0000000000..04d29b6b09 --- /dev/null +++ b/autovalue/src/main/java/com/baeldung/autovalue/ImmutableMoney.java @@ -0,0 +1,52 @@ +package com.baeldung.autovalue; +public final class ImmutableMoney { + private final long amount; + private final String currency; + public ImmutableMoney(long amount, String currency) { + this.amount = amount; + this.currency = currency; + } + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (int) (amount ^ (amount >>> 32)); + result = prime * result + + ((currency == null) ? 0 : currency.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + ImmutableMoney other = (ImmutableMoney) obj; + if (amount != other.amount) + return false; + if (currency == null) { + if (other.currency != null) + return false; + } else if (!currency.equals(other.currency)) + return false; + return true; + } + + public long getAmount() { + return amount; + } + + public String getCurrency() { + return currency; + } + + @Override + public String toString() { + return "ImmutableMoney [amount=" + amount + ", currency=" + currency + + "]"; + } + +} diff --git a/autovalue/src/main/java/com/baeldung/autovalue/MutableMoney.java b/autovalue/src/main/java/com/baeldung/autovalue/MutableMoney.java new file mode 100644 index 0000000000..6cf8b75f7d --- /dev/null +++ b/autovalue/src/main/java/com/baeldung/autovalue/MutableMoney.java @@ -0,0 +1,35 @@ +package com.baeldung.autovalue; + +public class MutableMoney { + @Override + public String toString() { + return "MutableMoney [amount=" + amount + ", currency=" + currency + + "]"; + } + + public long getAmount() { + return amount; + } + + public void setAmount(long amount) { + this.amount = amount; + } + + public String getCurrency() { + return currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + + private long amount; + private String currency; + + public MutableMoney(long amount, String currency) { + super(); + this.amount = amount; + this.currency = currency; + } + +} diff --git a/autovalue/src/test/java/com/baeldung/autovalue/MoneyTest.java b/autovalue/src/test/java/com/baeldung/autovalue/MoneyTest.java new file mode 100644 index 0000000000..af3afe84fb --- /dev/null +++ b/autovalue/src/test/java/com/baeldung/autovalue/MoneyTest.java @@ -0,0 +1,59 @@ +package com.baeldung.autovalue; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class MoneyTest { + @Test + public void givenTwoSameValueMoneyObjects_whenEqualityTestFails_thenCorrect() { + MutableMoney m1 = new MutableMoney(10000, "USD"); + MutableMoney m2 = new MutableMoney(10000, "USD"); + assertFalse(m1.equals(m2)); + } + + @Test + public void givenTwoSameValueMoneyValueObjects_whenEqualityTestPasses_thenCorrect() { + ImmutableMoney m1 = new ImmutableMoney(10000, "USD"); + ImmutableMoney m2 = new ImmutableMoney(10000, "USD"); + assertTrue(m1.equals(m2)); + } + + @Test + public void givenValueTypeWithAutoValue_whenFieldsCorrectlySet_thenCorrect() { + AutoValueMoney m = AutoValueMoney.create("USD", 10000); + assertEquals(m.getAmount(), 10000); + assertEquals(m.getCurrency(), "USD"); + } + + @Test + public void given2EqualValueTypesWithAutoValue_whenEqual_thenCorrect() { + AutoValueMoney m1 = AutoValueMoney.create("USD", 5000); + AutoValueMoney m2 = AutoValueMoney.create("USD", 5000); + assertTrue(m1.equals(m2)); + } + @Test + public void given2DifferentValueTypesWithAutoValue_whenNotEqual_thenCorrect() { + AutoValueMoney m1 = AutoValueMoney.create("GBP", 5000); + AutoValueMoney m2 = AutoValueMoney.create("USD", 5000); + assertFalse(m1.equals(m2)); + } + @Test + public void given2EqualValueTypesWithBuilder_whenEqual_thenCorrect() { + AutoValueMoneyWithBuilder m1 = AutoValueMoneyWithBuilder.builder().setAmount(5000).setCurrency("USD").build(); + AutoValueMoneyWithBuilder m2 = AutoValueMoneyWithBuilder.builder().setAmount(5000).setCurrency("USD").build(); + assertTrue(m1.equals(m2)); + } + @Test + public void given2DifferentValueTypesBuilder_whenNotEqual_thenCorrect() { + AutoValueMoneyWithBuilder m1 = AutoValueMoneyWithBuilder.builder().setAmount(5000).setCurrency("USD").build(); + AutoValueMoneyWithBuilder m2 = AutoValueMoneyWithBuilder.builder().setAmount(5000).setCurrency("GBP").build(); + assertFalse(m1.equals(m2)); + } + @Test + public void givenValueTypeWithBuilder_whenFieldsCorrectlySet_thenCorrect() { + AutoValueMoneyWithBuilder m = AutoValueMoneyWithBuilder.builder().setAmount(5000).setCurrency("USD").build(); + assertEquals(m.getAmount(), 5000); + assertEquals(m.getCurrency(), "USD"); + } +} diff --git a/cdi/README.md b/cdi/README.md new file mode 100644 index 0000000000..a27c35772a --- /dev/null +++ b/cdi/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [CDI Interceptor vs Spring AspectJ](http://www.baeldung.com/cdi-interceptor-vs-spring-aspectj) diff --git a/cdi/pom.xml b/cdi/pom.xml new file mode 100644 index 0000000000..30dd167fa8 --- /dev/null +++ b/cdi/pom.xml @@ -0,0 +1,104 @@ + + + 4.0.0 + + com.baeldung + cdi + 1.0-SNAPSHOT + + + + org.springframework + spring-core + ${spring.version} + + + org.springframework + spring-context + ${spring.version} + + + + org.aspectj + aspectjweaver + 1.8.9 + + + org.jboss.weld.se + weld-se-core + 2.3.5.Final + + + + junit + junit + 4.12 + test + + + org.springframework + spring-test + ${spring.version} + test + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + + + integration + + + + org.apache.maven.plugins + maven-surefire-plugin + + + integration-test + + test + + + + **/*LiveTest.java + + + **/*IntegrationTest.java + + + + + + + json + + + + + + + + + 4.3.1.RELEASE + 2.19.1 + + + \ No newline at end of file diff --git a/cdi/src/main/java/com/baeldung/interceptor/Audited.java b/cdi/src/main/java/com/baeldung/interceptor/Audited.java new file mode 100644 index 0000000000..3df4bef95e --- /dev/null +++ b/cdi/src/main/java/com/baeldung/interceptor/Audited.java @@ -0,0 +1,14 @@ +package com.baeldung.interceptor; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import javax.interceptor.InterceptorBinding; + +@InterceptorBinding +@Target({ ElementType.METHOD, ElementType.TYPE }) +@Retention(RetentionPolicy.RUNTIME) +public @interface Audited { +} diff --git a/cdi/src/main/java/com/baeldung/interceptor/AuditedInterceptor.java b/cdi/src/main/java/com/baeldung/interceptor/AuditedInterceptor.java new file mode 100644 index 0000000000..c62d9a4127 --- /dev/null +++ b/cdi/src/main/java/com/baeldung/interceptor/AuditedInterceptor.java @@ -0,0 +1,20 @@ +package com.baeldung.interceptor; + +import javax.interceptor.AroundInvoke; +import javax.interceptor.Interceptor; +import javax.interceptor.InvocationContext; + +@Audited +@Interceptor +public class AuditedInterceptor { + public static boolean calledBefore = false; + public static boolean calledAfter = false; + + @AroundInvoke + public Object auditMethod(InvocationContext ctx) throws Exception { + calledBefore = true; + Object result = ctx.proceed(); + calledAfter = true; + return result; + } +} diff --git a/cdi/src/main/java/com/baeldung/service/SuperService.java b/cdi/src/main/java/com/baeldung/service/SuperService.java new file mode 100644 index 0000000000..e15f049342 --- /dev/null +++ b/cdi/src/main/java/com/baeldung/service/SuperService.java @@ -0,0 +1,10 @@ +package com.baeldung.service; + +import com.baeldung.interceptor.Audited; + +public class SuperService { + @Audited + public String deliverService(String uid) { + return uid; + } +} diff --git a/cdi/src/main/java/com/baeldung/spring/aspect/SpringTestAspect.java b/cdi/src/main/java/com/baeldung/spring/aspect/SpringTestAspect.java new file mode 100644 index 0000000000..e48039706d --- /dev/null +++ b/cdi/src/main/java/com/baeldung/spring/aspect/SpringTestAspect.java @@ -0,0 +1,23 @@ +package com.baeldung.spring.aspect; + +import java.util.List; + +import org.aspectj.lang.ProceedingJoinPoint; +import org.aspectj.lang.annotation.Around; +import org.aspectj.lang.annotation.Aspect; +import org.springframework.beans.factory.annotation.Autowired; + +@Aspect +public class SpringTestAspect { + @Autowired + private List accumulator; + + @Around("execution(* com.baeldung.spring.service.SpringSuperService.*(..))") + public Object auditMethod(ProceedingJoinPoint jp) throws Throwable { + String methodName = jp.getSignature().getName(); + accumulator.add("Call to " + methodName); + Object obj = jp.proceed(); + accumulator.add("Method called successfully: " + methodName); + return obj; + } +} diff --git a/cdi/src/main/java/com/baeldung/spring/configuration/AppConfig.java b/cdi/src/main/java/com/baeldung/spring/configuration/AppConfig.java new file mode 100644 index 0000000000..b30c4a1326 --- /dev/null +++ b/cdi/src/main/java/com/baeldung/spring/configuration/AppConfig.java @@ -0,0 +1,30 @@ +package com.baeldung.spring.configuration; + +import java.util.ArrayList; +import java.util.List; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.EnableAspectJAutoProxy; + +import com.baeldung.spring.aspect.SpringTestAspect; +import com.baeldung.spring.service.SpringSuperService; + +@Configuration +@EnableAspectJAutoProxy +public class AppConfig { + @Bean + public SpringSuperService springSuperService() { + return new SpringSuperService(); + } + + @Bean + public SpringTestAspect springTestAspect() { + return new SpringTestAspect(); + } + + @Bean + public List getAccumulator() { + return new ArrayList(); + } +} diff --git a/cdi/src/main/java/com/baeldung/spring/service/SpringSuperService.java b/cdi/src/main/java/com/baeldung/spring/service/SpringSuperService.java new file mode 100644 index 0000000000..082eb2e0f8 --- /dev/null +++ b/cdi/src/main/java/com/baeldung/spring/service/SpringSuperService.java @@ -0,0 +1,7 @@ +package com.baeldung.spring.service; + +public class SpringSuperService { + public String getInfoFromService(String code) { + return code; + } +} diff --git a/cdi/src/main/resources/META-INF/beans.xml b/cdi/src/main/resources/META-INF/beans.xml new file mode 100644 index 0000000000..d41b35e7d9 --- /dev/null +++ b/cdi/src/main/resources/META-INF/beans.xml @@ -0,0 +1,8 @@ + + + com.baeldung.interceptor.AuditedInterceptor + + \ No newline at end of file diff --git a/cdi/src/test/java/com/baeldung/test/InterceptorIntegrationTest.java b/cdi/src/test/java/com/baeldung/test/InterceptorIntegrationTest.java new file mode 100644 index 0000000000..cca8cb7495 --- /dev/null +++ b/cdi/src/test/java/com/baeldung/test/InterceptorIntegrationTest.java @@ -0,0 +1,38 @@ +package com.baeldung.test; + +import org.jboss.weld.environment.se.Weld; +import org.jboss.weld.environment.se.WeldContainer; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +import com.baeldung.interceptor.AuditedInterceptor; +import com.baeldung.service.SuperService; + +public class InterceptorIntegrationTest { + Weld weld; + WeldContainer container; + + @Before + public void init() { + weld = new Weld(); + container = weld.initialize(); + } + + @After + public void shutdown() { + weld.shutdown(); + } + + @Test + public void givenTheService_whenMethodAndInterceptorExecuted_thenOK() { + SuperService superService = container.select(SuperService.class).get(); + String code = "123456"; + superService.deliverService(code); + + Assert.assertTrue(AuditedInterceptor.calledBefore); + Assert.assertTrue(AuditedInterceptor.calledAfter); + } + +} diff --git a/cdi/src/test/java/com/baeldung/test/SpringInterceptorIntegrationTest.java b/cdi/src/test/java/com/baeldung/test/SpringInterceptorIntegrationTest.java new file mode 100644 index 0000000000..f711b0c8ce --- /dev/null +++ b/cdi/src/test/java/com/baeldung/test/SpringInterceptorIntegrationTest.java @@ -0,0 +1,38 @@ +package com.baeldung.test; + +import static org.hamcrest.CoreMatchers.is; + +import java.util.List; + +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit4.SpringRunner; + +import com.baeldung.spring.configuration.AppConfig; +import com.baeldung.spring.service.SpringSuperService; + +@RunWith(SpringRunner.class) +@ContextConfiguration(classes = { AppConfig.class }) +public class SpringInterceptorIntegrationTest { + @Autowired + SpringSuperService springSuperService; + + @Autowired + private List accumulator; + + // + + @Test + public void givenService_whenServiceAndAspectExecuted_thenOk() { + String code = "123456"; + String result = springSuperService.getInfoFromService(code); + + Assert.assertThat(accumulator.size(), is(2)); + Assert.assertThat(accumulator.get(0), is("Call to getInfoFromService")); + Assert.assertThat(accumulator.get(1), is("Method called successfully: getInfoFromService")); + } + +} diff --git a/core-java-9/.gitignore b/core-java-9/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/core-java-9/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/core-java-9/README.md b/core-java-9/README.md new file mode 100644 index 0000000000..fbe5f908aa --- /dev/null +++ b/core-java-9/README.md @@ -0,0 +1,5 @@ +========= + +## Core Java 9 Examples + +[Java 9 New Features](http://www.baeldung.com/new-java-9) diff --git a/core-java-9/pom.xml b/core-java-9/pom.xml new file mode 100644 index 0000000000..844ad6a782 --- /dev/null +++ b/core-java-9/pom.xml @@ -0,0 +1,93 @@ + + 4.0.0 + com.baeldung + core-java9 + 0.2-SNAPSHOT + + core-java9 + + + + apache.snapshots + http://repository.apache.org/snapshots/ + + + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + junit + junit + ${junit.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + core-java-9 + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.9 + 1.9 + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + + + + + + + 1.7.13 + 1.0.13 + + + + 3.6-jigsaw-SNAPSHOT + 2.19.1 + + + 1.3 + 4.12 + 1.10.19 + + + diff --git a/core-java-9/src/main/java/.gitignore b/core-java-9/src/main/java/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/core-java-9/src/main/java/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/core-java-9/src/main/java/com/baeldung/java9/language/PrivateInterface.java b/core-java-9/src/main/java/com/baeldung/java9/language/PrivateInterface.java new file mode 100644 index 0000000000..fd6a496b18 --- /dev/null +++ b/core-java-9/src/main/java/com/baeldung/java9/language/PrivateInterface.java @@ -0,0 +1,23 @@ +package com.baeldung.java9.language; + +public interface PrivateInterface { + + private static String staticPrivate() { + return "static private"; + } + + private String instancePrivate() { + return "instance private"; + } + + public default void check(){ + String result = staticPrivate(); + if (!result.equals("static private")) + throw new AssertionError("Incorrect result for static private interface method"); + PrivateInterface pvt = new PrivateInterface() { + }; + result = pvt.instancePrivate(); + if (!result.equals("instance private")) + throw new AssertionError("Incorrect result for instance private interface method"); + } +} diff --git a/core-java-9/src/main/java/com/baeldung/java9/process/ProcessUtils.java b/core-java-9/src/main/java/com/baeldung/java9/process/ProcessUtils.java new file mode 100644 index 0000000000..d6682bd0c8 --- /dev/null +++ b/core-java-9/src/main/java/com/baeldung/java9/process/ProcessUtils.java @@ -0,0 +1,44 @@ +package com.baeldung.java9.process; + +import java.io.File; +import java.io.IOException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.time.Duration; +import java.time.Instant; +import java.util.stream.Stream; + + +public class ProcessUtils { + + public static String getClassPath(){ + String cp = System.getProperty("java.class.path"); + System.out.println("ClassPath is "+cp); + return cp; + } + + public static File getJavaCmd() throws IOException{ + String javaHome = System.getProperty("java.home"); + File javaCmd; + if(System.getProperty("os.name").startsWith("Win")){ + javaCmd = new File(javaHome, "bin/java.exe"); + }else{ + javaCmd = new File(javaHome, "bin/java"); + } + if(javaCmd.canExecute()){ + return javaCmd; + }else{ + throw new UnsupportedOperationException(javaCmd.getCanonicalPath() + " is not executable"); + } + } + + public static String getMainClass(){ + return System.getProperty("sun.java.command"); + } + + public static String getSystemProperties(){ + StringBuilder sb = new StringBuilder(); + System.getProperties().forEach((s1, s2) -> sb.append(s1 +" - "+ s2) ); + return sb.toString(); + } +} diff --git a/core-java-9/src/main/java/com/baeldung/java9/process/ServiceMain.java b/core-java-9/src/main/java/com/baeldung/java9/process/ServiceMain.java new file mode 100644 index 0000000000..458f746496 --- /dev/null +++ b/core-java-9/src/main/java/com/baeldung/java9/process/ServiceMain.java @@ -0,0 +1,22 @@ +package com.baeldung.java9.process; + +import java.util.Optional; + +public class ServiceMain { + + public static void main(String[] args) throws InterruptedException { + ProcessHandle thisProcess = ProcessHandle.current(); + long pid = thisProcess.getPid(); + + + Optional opArgs = Optional.ofNullable(args); + String procName = opArgs.map(str -> str.length > 0 ? str[0] : null).orElse(System.getProperty("sun.java.command")); + + for (int i = 0; i < 10000; i++) { + System.out.println("Process " + procName + " with ID " + pid + " is running!"); + Thread.sleep(10000); + } + + } + +} diff --git a/core-java-9/src/main/resources/logback.xml b/core-java-9/src/main/resources/logback.xml new file mode 100644 index 0000000000..eefdc7a337 --- /dev/null +++ b/core-java-9/src/main/resources/logback.xml @@ -0,0 +1,16 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + \ No newline at end of file diff --git a/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java b/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java new file mode 100644 index 0000000000..b0684a94f8 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/Java9OptionalsStreamTest.java @@ -0,0 +1,71 @@ +package com.baeldung.java8; + +import static org.junit.Assert.assertEquals; + +import java.util.Arrays; +import java.util.List; +import java.util.Optional; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import org.junit.Before; +import org.junit.Test; + +public class Java9OptionalsStreamTest { + + private static List> listOfOptionals = Arrays.asList(Optional.empty(), Optional.of("foo"), Optional.empty(), Optional.of("bar")); + + @Test + public void filterOutPresentOptionalsWithFilter() { + assertEquals(4, listOfOptionals.size()); + + List filteredList = listOfOptionals.stream() + .filter(Optional::isPresent) + .map(Optional::get) + .collect(Collectors.toList()); + + assertEquals(2, filteredList.size()); + assertEquals("foo", filteredList.get(0)); + assertEquals("bar", filteredList.get(1)); + } + + @Test + public void filterOutPresentOptionalsWithFlatMap() { + assertEquals(4, listOfOptionals.size()); + + List filteredList = listOfOptionals.stream() + .flatMap(o -> o.isPresent() ? Stream.of(o.get()) : Stream.empty()) + .collect(Collectors.toList()); + assertEquals(2, filteredList.size()); + + assertEquals("foo", filteredList.get(0)); + assertEquals("bar", filteredList.get(1)); + } + + @Test + public void filterOutPresentOptionalsWithFlatMap2() { + assertEquals(4, listOfOptionals.size()); + + List filteredList = listOfOptionals.stream() + .flatMap(o -> o.map(Stream::of).orElseGet(Stream::empty)) + .collect(Collectors.toList()); + assertEquals(2, filteredList.size()); + + assertEquals("foo", filteredList.get(0)); + assertEquals("bar", filteredList.get(1)); + } + + @Test + public void filterOutPresentOptionalsWithJava9() { + assertEquals(4, listOfOptionals.size()); + + List filteredList = listOfOptionals.stream() + .flatMap(Optional::stream) + .collect(Collectors.toList()); + + assertEquals(2, filteredList.size()); + assertEquals("foo", filteredList.get(0)); + assertEquals("bar", filteredList.get(1)); + } + +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java b/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java new file mode 100644 index 0000000000..a00646e4db --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java @@ -0,0 +1,47 @@ +package com.baeldung.java9; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertSame; + +import java.awt.Image; +import java.awt.image.BaseMultiResolutionImage; +import java.awt.image.BufferedImage; +import java.awt.image.MultiResolutionImage; +import java.util.List; + +import org.junit.Test; + +public class MultiResultionImageTest { + + + @Test + public void baseMultiResImageTest() { + int baseIndex = 1; + int length = 4; + BufferedImage[] resolutionVariants = new BufferedImage[length]; + for (int i = 0; i < length; i++) { + resolutionVariants[i] = createImage(i); + } + MultiResolutionImage bmrImage = new BaseMultiResolutionImage(baseIndex, resolutionVariants); + List rvImageList = bmrImage.getResolutionVariants(); + assertEquals("MultiResoltion Image shoudl contain the same number of resolution variants!", rvImageList.size(), length); + + for (int i = 0; i < length; i++) { + int imageSize = getSize(i); + Image testRVImage = bmrImage.getResolutionVariant(imageSize, imageSize); + assertSame("Images should be the same", testRVImage, resolutionVariants[i]); + } + + } + + private static int getSize(int i) { + return 8 * (i + 1); + } + + + private static BufferedImage createImage(int i) { + return new BufferedImage(getSize(i), getSize(i), + BufferedImage.TYPE_INT_RGB); + } + +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java b/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java new file mode 100644 index 0000000000..56b4bb7b8c --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/OptionalToStreamTest.java @@ -0,0 +1,21 @@ +package com.baeldung.java9; + +import java.util.Optional; +import java.util.stream.Stream; + +import org.junit.Test; +import static org.junit.Assert.assertEquals; + +public class OptionalToStreamTest { + + @Test + public void testOptionalToStream() { + Optional op = Optional.ofNullable("String value"); + Stream strOptionalStream = op.stream(); + Stream filteredStream = strOptionalStream.filter((str) -> { + return str != null && str.startsWith("String"); + }); + assertEquals(1, filteredStream.count()); + + } +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/README.MD b/core-java-9/src/test/java/com/baeldung/java9/README.MD new file mode 100644 index 0000000000..2f44a2336b --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/README.MD @@ -0,0 +1,2 @@ +### Relevant Artiles: +- [Filtering a Stream of Optionals in Java](http://www.baeldung.com/java-filter-stream-of-optional) diff --git a/core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java b/core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java new file mode 100644 index 0000000000..0f8db83d9c --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/SetExamplesTest.java @@ -0,0 +1,26 @@ +package com.baeldung.java9; + +import java.util.Set; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class SetExamplesTest { + + @Test + public void testUnmutableSet() { + Set strKeySet = Set.of("key1", "key2", "key3"); + try { + strKeySet.add("newKey"); + } catch (UnsupportedOperationException uoe) { + } + assertEquals(strKeySet.size(), 3); + } + + @Test + public void testArrayToSet() { + Integer[] intArray = new Integer[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }; + Set intSet = Set.of(intArray); + assertEquals(intSet.size(), intArray.length); + } +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java b/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java new file mode 100644 index 0000000000..ab28b0a805 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/httpclient/SimpleHttpRequestsTest.java @@ -0,0 +1,126 @@ +package com.baeldung.java9.httpclient; + + + +import static java.net.HttpURLConnection.HTTP_OK; +import static org.junit.Assert.assertTrue; + +import java.io.IOException; +import java.net.CookieManager; +import java.net.CookiePolicy; +import java.net.URI; +import java.net.URISyntaxException; +import java.net.http.HttpClient; +import java.net.http.HttpHeaders; +import java.net.http.HttpRequest; +import java.net.http.HttpResponse; +import java.security.NoSuchAlgorithmException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; + +import javax.net.ssl.SSLContext; +import javax.net.ssl.SSLParameters; + +import org.junit.Before; +import org.junit.Test; + +public class SimpleHttpRequestsTest { + + private URI httpURI; + + @Before + public void init() throws URISyntaxException { + httpURI = new URI("http://www.baeldung.com/"); + } + + @Test + public void quickGet() throws IOException, InterruptedException, URISyntaxException { + HttpRequest request = HttpRequest.create( httpURI ).GET(); + HttpResponse response = request.response(); + int responseStatusCode = response.statusCode(); + String responseBody = response.body(HttpResponse.asString()); + assertTrue("Get response status code is bigger then 400", responseStatusCode < 400); + } + + @Test + public void asynchronousGet() throws URISyntaxException, IOException, InterruptedException, ExecutionException{ + HttpRequest request = HttpRequest.create(httpURI).GET(); + long before = System.currentTimeMillis(); + CompletableFuture futureResponse = request.responseAsync(); + futureResponse.thenAccept( response -> { + String responseBody = response.body(HttpResponse.asString()); + }); + HttpResponse resp = futureResponse.get(); + HttpHeaders hs = resp.headers(); + assertTrue("There should be more then 1 header.", hs.map().size() >1); + } + + @Test + public void postMehtod() throws URISyntaxException, IOException, InterruptedException { + HttpRequest.Builder requestBuilder = HttpRequest.create(httpURI); + requestBuilder.body(HttpRequest.fromString("param1=foo,param2=bar")).followRedirects(HttpClient.Redirect.SECURE); + HttpRequest request = requestBuilder.POST(); + HttpResponse response = request.response(); + int statusCode = response.statusCode(); + assertTrue("HTTP return code", statusCode == HTTP_OK); + } + + @Test + public void configureHttpClient() throws NoSuchAlgorithmException, URISyntaxException, IOException, InterruptedException{ + CookieManager cManager = new CookieManager(); + cManager.setCookiePolicy(CookiePolicy.ACCEPT_ORIGINAL_SERVER); + + SSLParameters sslParam = new SSLParameters (new String[] { "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" }, new String[] { "TLSv1.2" }); + + HttpClient.Builder hcBuilder = HttpClient.create(); + hcBuilder.cookieManager(cManager).sslContext(SSLContext.getDefault()).sslParameters(sslParam); + HttpClient httpClient = hcBuilder.build(); + HttpRequest.Builder reqBuilder = httpClient.request(new URI("https://www.facebook.com")); + + HttpRequest request = reqBuilder.followRedirects(HttpClient.Redirect.ALWAYS).GET(); + HttpResponse response = request.response(); + int statusCode = response.statusCode(); + assertTrue("HTTP return code", statusCode == HTTP_OK); + } + + SSLParameters getDefaultSSLParameters() throws NoSuchAlgorithmException{ + SSLParameters sslP1 = SSLContext.getDefault().getSupportedSSLParameters(); + String [] proto = sslP1.getApplicationProtocols(); + String [] cifers = sslP1.getCipherSuites(); + System.out.println(printStringArr(proto)); + System.out.println(printStringArr(cifers)); + return sslP1; + } + + String printStringArr(String ... args ){ + if(args == null){ + return null; + } + StringBuilder sb = new StringBuilder(); + for (String s : args){ + sb.append(s); + sb.append("\n"); + } + return sb.toString(); + } + + String printHeaders(HttpHeaders h){ + if(h == null){ + return null; + } + + StringBuilder sb = new StringBuilder(); + Map> hMap = h.map(); + for(String k : hMap.keySet()){ + sb.append(k).append(":"); + List l = hMap.get(k); + if( l != null ){ + l.forEach( s -> { sb.append(s).append(","); } ); + } + sb.append("\n"); + } + return sb.toString(); + } +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java new file mode 100644 index 0000000000..33da6486f4 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/language/DiamondTest.java @@ -0,0 +1,36 @@ +package com.baeldung.java9.language; + +import org.junit.Test; + +public class DiamondTest { + + static class FooClass { + FooClass(X x) { + } + + FooClass(X x, Z z) { + } + } + + @Test + public void diamondTest() { + FooClass fc = new FooClass<>(1) { + }; + FooClass fc0 = new FooClass<>(1) { + }; + FooClass fc1 = new FooClass<>(1) { + }; + FooClass fc2 = new FooClass<>(1) { + }; + + FooClass fc3 = new FooClass<>(1, "") { + }; + FooClass fc4 = new FooClass<>(1, "") { + }; + FooClass fc5 = new FooClass<>(1, "") { + }; + FooClass fc6 = new FooClass<>(1, "") { + }; + + } +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java new file mode 100644 index 0000000000..29ef3930f8 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/language/PrivateInterfaceTest.java @@ -0,0 +1,15 @@ +package com.baeldung.java9.language; + +import com.baeldung.java9.language.PrivateInterface; +import org.junit.Test; + +public class PrivateInterfaceTest { + + @Test + public void test() { + PrivateInterface piClass = new PrivateInterface() { + }; + piClass.check(); + } + +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java new file mode 100644 index 0000000000..687dfbc390 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/language/TryWithResourcesTest.java @@ -0,0 +1,70 @@ +package com.baeldung.java9.language; + +import static org.junit.Assert.assertEquals; +import org.junit.Test; + +public class TryWithResourcesTest { + + static int closeCount = 0; + + static class MyAutoCloseable implements AutoCloseable{ + final FinalWrapper finalWrapper = new FinalWrapper(); + + public void close() { + closeCount++; + } + + static class FinalWrapper { + public final AutoCloseable finalCloseable = new AutoCloseable() { + @Override + public void close() throws Exception { + closeCount++; + } + }; + } + } + + @Test + public void tryWithResourcesTest() { + MyAutoCloseable mac = new MyAutoCloseable(); + + try (mac) { + assertEquals("Expected and Actual does not match", 0, closeCount); + } + + try (mac.finalWrapper.finalCloseable) { + assertEquals("Expected and Actual does not match", 1, closeCount); + } catch (Exception ex) { + } + + try (new MyAutoCloseable() { }.finalWrapper.finalCloseable) { + assertEquals("Expected and Actual does not match", 2, closeCount); + } catch (Exception ex) { + } + + try ((closeCount > 0 ? mac : new MyAutoCloseable()).finalWrapper.finalCloseable) { + assertEquals("Expected and Actual does not match", 3, closeCount); + } catch (Exception ex) { + } + + try { + throw new CloseableException(); + } catch (CloseableException ex) { + try (ex) { + assertEquals("Expected and Actual does not match", 4, closeCount); + } + } + assertEquals("Expected and Actual does not match", 5, closeCount); + } + + + static class CloseableException extends Exception implements AutoCloseable { + @Override + public void close() { + closeCount++; + } + } + +} + + diff --git a/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java b/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java new file mode 100644 index 0000000000..a260e84164 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/language/stream/StreamFeaturesTest.java @@ -0,0 +1,119 @@ +package com.baeldung.java9.language.stream; + +import org.junit.Test; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import static java.lang.Integer.*; +import static org.junit.Assert.assertEquals; + +public class StreamFeaturesTest { + + public static class TakeAndDropWhileTest { + + public Stream getStreamAfterTakeWhileOperation() { + return Stream + .iterate("", s -> s + "s") + .takeWhile(s -> s.length() < 10); + } + + public Stream getStreamAfterDropWhileOperation() { + return Stream + .iterate("", s -> s + "s") + .takeWhile(s -> s.length() < 10) + .dropWhile(s -> !s.contains("sssss")); + } + + @Test + public void testTakeWhileOperation() { + List list = getStreamAfterTakeWhileOperation().collect(Collectors.toList()); + + assertEquals(10, list.size()); + + assertEquals("", list.get(0)); + assertEquals("ss", list.get(2)); + assertEquals("sssssssss", list.get(list.size() - 1)); + } + + @Test + public void testDropWhileOperation() { + List list = getStreamAfterDropWhileOperation().collect(Collectors.toList()); + + assertEquals(5, list.size()); + + assertEquals("sssss", list.get(0)); + assertEquals("sssssss", list.get(2)); + assertEquals("sssssssss", list.get(list.size() - 1)); + } + + } + + public static class IterateTest { + + private Stream getStream() { + return Stream.iterate(0, i -> i < 10, i -> i + 1); + } + + @Test + public void testIterateOperation() { + List list = getStream().collect(Collectors.toList()); + + assertEquals(10, list.size()); + + assertEquals(valueOf(0), list.get(0)); + assertEquals(valueOf(5), list.get(5)); + assertEquals(valueOf(9), list.get(list.size() - 1)); + } + + } + + public static class OfNullableTest { + + private List collection = Arrays.asList("A", "B", "C"); + private Map map = new HashMap<>() {{ + put("A", 10); + put("C", 30); + }}; + + private Stream getStreamWithOfNullable() { + return collection.stream() + .flatMap(s -> Stream.ofNullable(map.get(s))); + } + + private Stream getStream() { + return collection.stream() + .flatMap(s -> { + Integer temp = map.get(s); + return temp != null ? Stream.of(temp) : Stream.empty(); + }); + } + + private List testOfNullableFrom(Stream stream) { + List list = stream.collect(Collectors.toList()); + + assertEquals(2, list.size()); + + assertEquals(valueOf(10), list.get(0)); + assertEquals(valueOf(30), list.get(list.size() - 1)); + + return list; + } + + @Test + public void testOfNullable() { + + assertEquals( + testOfNullableFrom(getStream()), + testOfNullableFrom(getStreamWithOfNullable()) + ); + + } + + } + +} diff --git a/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java new file mode 100644 index 0000000000..419516cb64 --- /dev/null +++ b/core-java-9/src/test/java/com/baeldung/java9/process/ProcessApi.java @@ -0,0 +1,112 @@ +package com.baeldung.java9.process; + +import java.io.IOException; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.time.Duration; +import java.time.Instant; +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; +import java.util.stream.Stream; + +import org.junit.Before; +import org.junit.Test; + +import junit.framework.Assert; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +public class ProcessApi { + + + @Before + public void init() { + + } + + @Test + public void processInfoExample()throws NoSuchAlgorithmException{ + ProcessHandle self = ProcessHandle.current(); + long PID = self.getPid(); + ProcessHandle.Info procInfo = self.info(); + Optional args = procInfo.arguments(); + Optional cmd = procInfo.commandLine(); + Optional startTime = procInfo.startInstant(); + Optional cpuUsage = procInfo.totalCpuDuration(); + + waistCPU(); + System.out.println("Args "+ args); + System.out.println("Command " +cmd.orElse("EmptyCmd")); + System.out.println("Start time: "+ startTime.get().toString()); + System.out.println(cpuUsage.get().toMillis()); + + Stream allProc = ProcessHandle.current().children(); + allProc.forEach(p -> { + System.out.println("Proc "+ p.getPid()); + }); + + } + + @Test + public void createAndDestroyProcess() throws IOException, InterruptedException{ + int numberOfChildProcesses = 5; + for(int i=0; i < numberOfChildProcesses; i++){ + createNewJVM(ServiceMain.class, i).getPid(); + } + + Stream childProc = ProcessHandle.current().children(); + assertEquals( childProc.count(), numberOfChildProcesses); + + childProc = ProcessHandle.current().children(); + childProc.forEach(processHandle -> { + assertTrue("Process "+ processHandle.getPid() +" should be alive!", processHandle.isAlive()); + CompletableFuture onProcExit = processHandle.onExit(); + onProcExit.thenAccept(procHandle -> { + System.out.println("Process with PID "+ procHandle.getPid() + " has stopped"); + }); + }); + + Thread.sleep(10000); + + childProc = ProcessHandle.current().children(); + childProc.forEach(procHandle -> { + assertTrue("Could not kill process "+procHandle.getPid(), procHandle.destroy()); + }); + + Thread.sleep(5000); + + childProc = ProcessHandle.current().children(); + childProc.forEach(procHandle -> { + assertFalse("Process "+ procHandle.getPid() +" should not be alive!", procHandle.isAlive()); + }); + + } + + private Process createNewJVM(Class mainClass, int number) throws IOException{ + ArrayList cmdParams = new ArrayList(5); + cmdParams.add(ProcessUtils.getJavaCmd().getAbsolutePath()); + cmdParams.add("-cp"); + cmdParams.add(ProcessUtils.getClassPath()); + cmdParams.add(mainClass.getName()); + cmdParams.add("Service "+ number); + ProcessBuilder myService = new ProcessBuilder(cmdParams); + myService.inheritIO(); + return myService.start(); + } + + private void waistCPU() throws NoSuchAlgorithmException{ + ArrayList randArr = new ArrayList(4096); + SecureRandom sr = SecureRandom.getInstanceStrong(); + Duration somecpu = Duration.ofMillis(4200L); + Instant end = Instant.now().plus(somecpu); + while (Instant.now().isBefore(end)) { + //System.out.println(sr.nextInt()); + randArr.add( sr.nextInt() ); + } + } + +} diff --git a/core-java-9/src/test/resources/.gitignore b/core-java-9/src/test/resources/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/core-java-9/src/test/resources/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/core-java/.gitignore b/core-java/.gitignore new file mode 100644 index 0000000000..6ecc6405c2 --- /dev/null +++ b/core-java/.gitignore @@ -0,0 +1,16 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear + +# Files generated by integration tests +*.txt \ No newline at end of file diff --git a/core-java/README.md b/core-java/README.md new file mode 100644 index 0000000000..92f124d14b --- /dev/null +++ b/core-java/README.md @@ -0,0 +1,40 @@ +========= + +## Core Java Cookbooks and Examples + +### Relevant Articles: +- [Immutable ArrayList in Java](http://www.baeldung.com/java-immutable-list) +- [Java - Reading a Large File Efficiently](http://www.baeldung.com/java-read-lines-large-file) +- [Java InputStream to String](http://www.baeldung.com/convert-input-stream-to-string) +- [Converting between an Array and a List in Java](http://www.baeldung.com/convert-array-to-list-and-list-to-array) +- [Converting between an Array and a Set in Java](http://www.baeldung.com/convert-array-to-set-and-set-to-array) +- [Converting between a List and a Set in Java](http://www.baeldung.com/convert-list-to-set-and-set-to-list) +- [Convert a Map to an Array, List or Set in Java](http://www.baeldung.com/convert-map-values-to-array-list-set) +- [Java – Write to File](http://www.baeldung.com/java-write-to-file) +- [Java Scanner](http://www.baeldung.com/java-scanner) +- [Java Timer](http://www.baeldung.com/java-timer-and-timertask) +- [Java – Byte Array to Writer](http://www.baeldung.com/java-convert-byte-array-to-writer) +- [How to Run a Shell Command in Java](http://www.baeldung.com/run-shell-command-in-java) +- [MD5 Hashing in Java](http://www.baeldung.com/java-md5) +- [Guide to the Java ArrayList](http://www.baeldung.com/java-arraylist) +- [Guide to Java Reflection](http://www.baeldung.com/java-reflection) +- [A Guide to Java Sockets](http://www.baeldung.com/a-guide-to-java-sockets) +- [Java 8 Collectors](http://www.baeldung.com/java-8-collectors) +- [Guide To CompletableFuture](http://www.baeldung.com/java-completablefuture) +- [Guide to Java 8’s Functional Interfaces](http://www.baeldung.com/java-8-functional-interfaces) +- [Convert char to String in Java](http://www.baeldung.com/java-convert-char-to-string) +- [Random List Element](http://www.baeldung.com/java-random-list-element) +- [Convert String to int or Integer in Java](http://www.baeldung.com/java-convert-string-to-int-or-integer) +- [Java 8 – Powerful Comparison with Lambdas](http://www.baeldung.com/java-8-sort-lambda) +- [Java – Directory Size](http://www.baeldung.com/java-folder-size) +- [Java – Try with Resources](http://www.baeldung.com/java-try-with-resources) +- [A Guide to the Java ExecutorService](http://www.baeldung.com/java-executor-service-tutorial) +- [Java 8 New Features](http://www.baeldung.com/java-8-new-features) +- [Lambda Expressions and Functional Interfaces: Tips and Best Practices](http://www.baeldung.com/java-8-lambda-expressions-tips) +- [The Double Colon Operator in Java 8](http://www.baeldung.com/java-8-double-colon-operator) +- [Java 8 Streams Advanced](http://www.baeldung.com/java-8-streams) +- [Introduction to Thread Pools in Java](http://www.baeldung.com/thread-pool-java-and-guava) +- [Introduction to Java 8 Streams](http://www.baeldung.com/java-8-streams-introduction) +- [Guide to the Fork/Join Framework in Java](http://www.baeldung.com/java-fork-join) +- [How to Print Screen in Java](http://www.baeldung.com/print-screen-in-java) +- [How to Convert String to different data types in Java](http://www.baeldung.com/java-string-conversions) diff --git a/core-java/pom.xml b/core-java/pom.xml new file mode 100644 index 0000000000..c3a9611682 --- /dev/null +++ b/core-java/pom.xml @@ -0,0 +1,365 @@ + + 4.0.0 + com.baeldung + core-java + 0.1.0-SNAPSHOT + jar + + core-java + + + + + + net.sourceforge.collections + collections-generic + 4.01 + + + com.google.guava + guava + ${guava.version} + + + + org.apache.commons + commons-collections4 + 4.0 + + + + commons-io + commons-io + 2.4 + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + + org.apache.commons + commons-math3 + 3.3 + + + + org.bouncycastle + bcprov-jdk15on + ${bouncycastle.version} + + + + + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + + + + + + junit + junit + ${junit.version} + test + + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + org.assertj + assertj-core + ${assertj.version} + test + + + + org.testng + testng + ${testng.version} + test + + + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + commons-codec + commons-codec + ${commons-codec.version} + + + + + + core-java + + + src/main/resources + true + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.8 + 1.8 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + **/*LongRunningUnitTest.java + **/*ManualTest.java + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/libs + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + libs/ + org.baeldung.executable.ExecutableMavenJar + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + package + + single + + + + + org.baeldung.executable.ExecutableMavenJar + + + + jar-with-dependencies + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + + shade + + + true + + + org.baeldung.executable.ExecutableMavenJar + + + + + + + + + com.jolira + onejar-maven-plugin + + + + org.baeldung.executable.ExecutableMavenJar + true + ${project.build.finalName}-onejar.${project.packaging} + + + one-jar + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + spring-boot + org.baeldung.executable.ExecutableMavenJar + + + + + + + + + + + + integration + + + + org.apache.maven.plugins + maven-surefire-plugin + + + integration-test + + test + + + + **/*ManualTest.java + + + **/*IntegrationTest.java + + + + + + + json + + + + + + + + + + + 4.3.11.Final + 5.1.38 + + + 2.7.8 + + + 1.7.13 + 1.1.3 + + + 5.1.3.Final + + + 19.0 + 3.4 + 1.55 + 1.10 + + + 1.3 + 4.12 + 1.10.19 + 6.8 + 3.5.1 + + 4.4.1 + 4.5 + + 2.9.0 + + + 3.5.1 + 2.6 + 2.19.1 + 2.7 + 1.4.18 + + + + \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/.gitignore b/core-java/src/main/java/com/baeldung/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/Adder.java b/core-java/src/main/java/com/baeldung/Adder.java new file mode 100644 index 0000000000..e3e100f121 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/Adder.java @@ -0,0 +1,12 @@ +package com.baeldung; + +import java.util.function.Consumer; +import java.util.function.Function; + +public interface Adder { + + String addWithFunction(Function f); + + void addWithConsumer(Consumer f); + +} diff --git a/core-java/src/main/java/com/baeldung/AdderImpl.java b/core-java/src/main/java/com/baeldung/AdderImpl.java new file mode 100644 index 0000000000..f67cdc26b3 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/AdderImpl.java @@ -0,0 +1,17 @@ +package com.baeldung; + +import java.util.function.Consumer; +import java.util.function.Function; + +public class AdderImpl implements Adder { + + @Override + public String addWithFunction(final Function f) { + return f.apply("Something "); + } + + @Override + public void addWithConsumer(final Consumer f) { + } + +} diff --git a/core-java/src/main/java/com/baeldung/Bar.java b/core-java/src/main/java/com/baeldung/Bar.java new file mode 100644 index 0000000000..f9b6f2773e --- /dev/null +++ b/core-java/src/main/java/com/baeldung/Bar.java @@ -0,0 +1,12 @@ +package com.baeldung; + +@FunctionalInterface +public interface Bar { + + String method(String string); + + default String defaultMethod() { + return "String from Bar"; + } + +} diff --git a/core-java/src/main/java/com/baeldung/Baz.java b/core-java/src/main/java/com/baeldung/Baz.java new file mode 100644 index 0000000000..6d03f74198 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/Baz.java @@ -0,0 +1,11 @@ +package com.baeldung; + +@FunctionalInterface +public interface Baz { + + String method(String string); + + default String defaultMethod() { + return "String from Baz"; + } +} diff --git a/core-java/src/main/java/com/baeldung/Foo.java b/core-java/src/main/java/com/baeldung/Foo.java new file mode 100644 index 0000000000..90ebdfeed3 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/Foo.java @@ -0,0 +1,10 @@ +package com.baeldung; + +@FunctionalInterface +public interface Foo { + + String method(String string); + + default void defaultMethod() { + } +} diff --git a/core-java/src/main/java/com/baeldung/FooExtended.java b/core-java/src/main/java/com/baeldung/FooExtended.java new file mode 100644 index 0000000000..c8ed0c35dd --- /dev/null +++ b/core-java/src/main/java/com/baeldung/FooExtended.java @@ -0,0 +1,11 @@ +package com.baeldung; + +@FunctionalInterface +public interface FooExtended extends Baz, Bar { + + @Override + default String defaultMethod() { + return Bar.super.defaultMethod(); + } + +} diff --git a/core-java/src/main/java/com/baeldung/UseFoo.java b/core-java/src/main/java/com/baeldung/UseFoo.java new file mode 100644 index 0000000000..a91404ebaf --- /dev/null +++ b/core-java/src/main/java/com/baeldung/UseFoo.java @@ -0,0 +1,37 @@ +package com.baeldung; + +import java.util.function.Function; + +public class UseFoo { + + private String value = "Enclosing scope value"; + + public String add(final String string, final Foo foo) { + return foo.method(string); + } + + public String addWithStandardFI(final String string, final Function fn) { + return fn.apply(string); + } + + public String scopeExperiment() { + final Foo fooIC = new Foo() { + String value = "Inner class value"; + + @Override + public String method(final String string) { + return value; + } + }; + final String resultIC = fooIC.method(""); + + final Foo fooLambda = parameter -> { + final String value = "Lambda value"; + return this.value; + }; + final String resultLambda = fooLambda.method(""); + + return "Results: resultIC = " + resultIC + ", resultLambda = " + resultLambda; + } + +} diff --git a/core-java/src/main/java/com/baeldung/datetime/README.md b/core-java/src/main/java/com/baeldung/datetime/README.md new file mode 100644 index 0000000000..1e4adbb612 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Introduction to the Java 8 Date/Time API](http://www.baeldung.com/java-8-date-time-intro) diff --git a/core-java/src/main/java/com/baeldung/datetime/UseDuration.java b/core-java/src/main/java/com/baeldung/datetime/UseDuration.java new file mode 100644 index 0000000000..31b45aab84 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseDuration.java @@ -0,0 +1,16 @@ +package com.baeldung.datetime; + +import java.time.Duration; +import java.time.LocalTime; +import java.time.Period; + +public class UseDuration { + + public LocalTime modifyDates(LocalTime localTime, Duration duration) { + return localTime.plus(duration); + } + + public Duration getDifferenceBetweenDates(LocalTime localTime1, LocalTime localTime2) { + return Duration.between(localTime1, localTime2); + } +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UseLocalDate.java b/core-java/src/main/java/com/baeldung/datetime/UseLocalDate.java new file mode 100644 index 0000000000..82f5745b3c --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseLocalDate.java @@ -0,0 +1,46 @@ +package com.baeldung.datetime; + +import java.time.DayOfWeek; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.temporal.ChronoUnit; +import java.time.temporal.TemporalAdjusters; + +public class UseLocalDate { + + public LocalDate getLocalDateUsingFactoryOfMethod(int year, int month, int dayOfMonth) { + return LocalDate.of(year, month, dayOfMonth); + } + + public LocalDate getLocalDateUsingParseMethod(String representation) { + return LocalDate.parse(representation); + } + + public LocalDate getLocalDateFromClock() { + LocalDate localDate = LocalDate.now(); + return localDate; + } + + public LocalDate getNextDay(LocalDate localDate) { + return localDate.plusDays(1); + } + + public LocalDate getPreviousDay(LocalDate localDate) { + return localDate.minus(1, ChronoUnit.DAYS); + } + + public DayOfWeek getDayOfWeek(LocalDate localDate) { + DayOfWeek day = localDate.getDayOfWeek(); + return day; + } + + public LocalDate getFirstDayOfMonth() { + LocalDate firstDayOfMonth = LocalDate.now().with(TemporalAdjusters.firstDayOfMonth()); + return firstDayOfMonth; + } + + public LocalDateTime getStartOfDay(LocalDate localDate) { + LocalDateTime startofDay = localDate.atStartOfDay(); + return startofDay; + } +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UseLocalDateTime.java b/core-java/src/main/java/com/baeldung/datetime/UseLocalDateTime.java new file mode 100644 index 0000000000..7f39ac2f91 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseLocalDateTime.java @@ -0,0 +1,11 @@ +package com.baeldung.datetime; + +import java.time.LocalDateTime; + +public class UseLocalDateTime { + + public LocalDateTime getLocalDateTimeUsingParseMethod(String representation) { + return LocalDateTime.parse(representation); + } + +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UseLocalTime.java b/core-java/src/main/java/com/baeldung/datetime/UseLocalTime.java new file mode 100644 index 0000000000..9bd8f9706c --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseLocalTime.java @@ -0,0 +1,35 @@ +package com.baeldung.datetime; + +import java.time.LocalTime; +import java.time.temporal.ChronoUnit; + +public class UseLocalTime { + + public LocalTime getLocalTimeUsingFactoryOfMethod(int hour, int min, int seconds) { + LocalTime localTime = LocalTime.of(hour, min, seconds); + return localTime; + } + + public LocalTime getLocalTimeUsingParseMethod(String timeRepresentation) { + LocalTime localTime = LocalTime.parse(timeRepresentation); + return localTime; + } + + public LocalTime getLocalTimeFromClock() { + LocalTime localTime = LocalTime.now(); + return localTime; + } + + public LocalTime addAnHour(LocalTime localTime) { + LocalTime newTime = localTime.plus(1, ChronoUnit.HOURS); + return newTime; + } + + public int getHourFromLocalTime(LocalTime localTime) { + return localTime.getHour(); + } + + public LocalTime getLocalTimeWithMinuteSetToValue(LocalTime localTime, int minute) { + return localTime.withMinute(minute); + } +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UsePeriod.java b/core-java/src/main/java/com/baeldung/datetime/UsePeriod.java new file mode 100644 index 0000000000..5a42ef83b4 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UsePeriod.java @@ -0,0 +1,15 @@ +package com.baeldung.datetime; + +import java.time.LocalDate; +import java.time.Period; + +public class UsePeriod { + + public LocalDate modifyDates(LocalDate localDate, Period period) { + return localDate.plus(period); + } + + public Period getDifferenceBetweenDates(LocalDate localDate1, LocalDate localDate2) { + return Period.between(localDate1, localDate2); + } +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UseToInstant.java b/core-java/src/main/java/com/baeldung/datetime/UseToInstant.java new file mode 100644 index 0000000000..94154ce5c0 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseToInstant.java @@ -0,0 +1,19 @@ +package com.baeldung.datetime; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.util.Calendar; +import java.util.Date; + +public class UseToInstant { + + public LocalDateTime convertDateToLocalDate(Date date) { + LocalDateTime localDateTime = LocalDateTime.ofInstant(date.toInstant(), ZoneId.systemDefault()); + return localDateTime; + } + + public LocalDateTime convertDateToLocalDate(Calendar calendar) { + LocalDateTime localDateTime = LocalDateTime.ofInstant(calendar.toInstant(), ZoneId.systemDefault()); + return localDateTime; + } +} diff --git a/core-java/src/main/java/com/baeldung/datetime/UseZonedDateTime.java b/core-java/src/main/java/com/baeldung/datetime/UseZonedDateTime.java new file mode 100644 index 0000000000..2d1b17484b --- /dev/null +++ b/core-java/src/main/java/com/baeldung/datetime/UseZonedDateTime.java @@ -0,0 +1,13 @@ +package com.baeldung.datetime; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.time.ZonedDateTime; + +public class UseZonedDateTime { + + public ZonedDateTime getZonedDateTime(LocalDateTime localDateTime, ZoneId zoneId) { + ZonedDateTime zonedDateTime = ZonedDateTime.of(localDateTime, zoneId); + return zonedDateTime; + } +} diff --git a/core-java/src/main/java/com/baeldung/doublecolon/Computer.java b/core-java/src/main/java/com/baeldung/doublecolon/Computer.java new file mode 100644 index 0000000000..b5d2e70abd --- /dev/null +++ b/core-java/src/main/java/com/baeldung/doublecolon/Computer.java @@ -0,0 +1,88 @@ +package com.baeldung.doublecolon; + +public class Computer { + + private Integer age; + private String color; + private Integer healty; + + public Computer(final int age, final String color) { + this.age = age; + this.color = color; + } + + public Computer(final Integer age, final String color, final Integer healty) { + this.age = age; + this.color = color; + this.healty = healty; + } + + public Computer() { + } + + public Integer getAge() { + return age; + } + + public void setAge(final Integer age) { + this.age = age; + } + + public String getColor() { + return color; + } + + public void setColor(final String color) { + this.color = color; + } + + public Integer getHealty() { + return healty; + } + + public void setHealty(final Integer healty) { + this.healty = healty; + } + + public void turnOnPc() { + System.out.println("Computer turned on"); + } + + public void turnOffPc() { + System.out.println("Computer turned off"); + } + + public Double calculateValue(Double initialValue) { + return initialValue / 1.50; + } + + @Override + public String toString() { + return "Computer{" + "age=" + age + ", color='" + color + '\'' + ", healty=" + healty + '}'; + } + + @Override + public boolean equals(final Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + + final Computer computer = (Computer) o; + + if (age != null ? !age.equals(computer.age) : computer.age != null) { + return false; + } + return color != null ? color.equals(computer.color) : computer.color == null; + + } + + @Override + public int hashCode() { + int result = age != null ? age.hashCode() : 0; + result = 31 * result + (color != null ? color.hashCode() : 0); + return result; + } +} diff --git a/core-java/src/main/java/com/baeldung/doublecolon/ComputerUtils.java b/core-java/src/main/java/com/baeldung/doublecolon/ComputerUtils.java new file mode 100644 index 0000000000..d181dfcdf7 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/doublecolon/ComputerUtils.java @@ -0,0 +1,27 @@ +package com.baeldung.doublecolon; + +import com.baeldung.doublecolon.function.ComputerPredicate; + +import java.util.ArrayList; +import java.util.List; + +public class ComputerUtils { + + public static final ComputerPredicate after2010Predicate = (c) -> (c.getAge() > 2010); + public static final ComputerPredicate blackPredicate = (c) -> "black".equals(c.getColor()); + + public static List filter(final List inventory, final ComputerPredicate p) { + + final List result = new ArrayList<>(); + inventory.stream().filter(p::filter).forEach(result::add); + + return result; + } + + public static void repair(final Computer computer) { + if (computer.getHealty() < 50) { + computer.setHealty(100); + } + } + +} diff --git a/core-java/src/main/java/com/baeldung/doublecolon/MacbookPro.java b/core-java/src/main/java/com/baeldung/doublecolon/MacbookPro.java new file mode 100644 index 0000000000..3fc459c681 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/doublecolon/MacbookPro.java @@ -0,0 +1,34 @@ +package com.baeldung.doublecolon; + +import java.util.function.Function; + +public class MacbookPro extends Computer { + + public MacbookPro(int age, String color) { + super(age, color); + } + + public MacbookPro(Integer age, String color, Integer healty) { + super(age, color, healty); + } + + @Override + public void turnOnPc() { + System.out.println("MacbookPro turned on"); + } + + @Override + public void turnOffPc() { + System.out.println("MacbookPro turned off"); + } + + @Override + public Double calculateValue(Double initialValue) { + + Function function = super::calculateValue; + final Double pcValue = function.apply(initialValue); + System.out.println("First value is:" + pcValue); + return pcValue + (initialValue / 10); + + } +} diff --git a/core-java/src/main/java/com/baeldung/doublecolon/function/ComputerPredicate.java b/core-java/src/main/java/com/baeldung/doublecolon/function/ComputerPredicate.java new file mode 100644 index 0000000000..5ce491e86a --- /dev/null +++ b/core-java/src/main/java/com/baeldung/doublecolon/function/ComputerPredicate.java @@ -0,0 +1,10 @@ +package com.baeldung.doublecolon.function; + +import com.baeldung.doublecolon.Computer; + +@FunctionalInterface +public interface ComputerPredicate { + + boolean filter(Computer c); + +} diff --git a/core-java/src/main/java/com/baeldung/doublecolon/function/TriFunction.java b/core-java/src/main/java/com/baeldung/doublecolon/function/TriFunction.java new file mode 100644 index 0000000000..d0d6299479 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/doublecolon/function/TriFunction.java @@ -0,0 +1,15 @@ +package com.baeldung.doublecolon.function; + +import java.util.Objects; +import java.util.function.Function; + +@FunctionalInterface +public interface TriFunction { + + R apply(A a, B b, C c); + + default TriFunction andThen(final Function after) { + Objects.requireNonNull(after); + return (final A a, final B b, final C c) -> after.apply(apply(a, b, c)); + } +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/enums/Pizza.java b/core-java/src/main/java/com/baeldung/enums/Pizza.java new file mode 100644 index 0000000000..bad134bf00 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/enums/Pizza.java @@ -0,0 +1,88 @@ +package com.baeldung.enums; + +import java.util.EnumMap; +import java.util.EnumSet; +import java.util.List; +import java.util.stream.Collectors; + +public class Pizza { + + private static EnumSet deliveredPizzaStatuses = EnumSet.of(PizzaStatusEnum.DELIVERED); + + private PizzaStatusEnum status; + + public enum PizzaStatusEnum { + ORDERED(5) { + @Override + public boolean isOrdered() { + return true; + } + }, + READY(2) { + @Override + public boolean isReady() { + return true; + } + }, + DELIVERED(0) { + @Override + public boolean isDelivered() { + return true; + } + }; + + private int timeToDelivery; + + public boolean isOrdered() { + return false; + } + + public boolean isReady() { + return false; + } + + public boolean isDelivered() { + return false; + } + + public int getTimeToDelivery() { + return timeToDelivery; + } + + PizzaStatusEnum(int timeToDelivery) { + this.timeToDelivery = timeToDelivery; + } + } + + public PizzaStatusEnum getStatus() { + return status; + } + + public void setStatus(PizzaStatusEnum status) { + this.status = status; + } + + public boolean isDeliverable() { + return this.status.isReady(); + } + + public void printTimeToDeliver() { + System.out.println("Time to delivery is " + this.getStatus().getTimeToDelivery() + " days"); + } + + public static List getAllUndeliveredPizzas(List input) { + return input.stream().filter((s) -> !deliveredPizzaStatuses.contains(s.getStatus())).collect(Collectors.toList()); + } + + public static EnumMap> groupPizzaByStatus(List pzList) { + return pzList.stream().collect(Collectors.groupingBy(Pizza::getStatus, () -> new EnumMap<>(PizzaStatusEnum.class), Collectors.toList())); + } + + public void deliver() { + if (isDeliverable()) { + PizzaDeliverySystemConfiguration.getInstance().getDeliveryStrategy().deliver(this); + this.setStatus(PizzaStatusEnum.DELIVERED); + } + } + +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/enums/PizzaDeliveryStrategy.java b/core-java/src/main/java/com/baeldung/enums/PizzaDeliveryStrategy.java new file mode 100644 index 0000000000..ed65919387 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/enums/PizzaDeliveryStrategy.java @@ -0,0 +1,18 @@ +package com.baeldung.enums; + +public enum PizzaDeliveryStrategy { + EXPRESS { + @Override + public void deliver(Pizza pz) { + System.out.println("Pizza will be delivered in express mode"); + } + }, + NORMAL { + @Override + public void deliver(Pizza pz) { + System.out.println("Pizza will be delivered in normal mode"); + } + }; + + public abstract void deliver(Pizza pz); +} diff --git a/core-java/src/main/java/com/baeldung/enums/PizzaDeliverySystemConfiguration.java b/core-java/src/main/java/com/baeldung/enums/PizzaDeliverySystemConfiguration.java new file mode 100644 index 0000000000..a276b3c000 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/enums/PizzaDeliverySystemConfiguration.java @@ -0,0 +1,21 @@ +package com.baeldung.enums; + +public enum PizzaDeliverySystemConfiguration { + INSTANCE; + + PizzaDeliverySystemConfiguration() { + // Do the configuration initialization which + // involves overriding defaults like delivery strategy + } + + private PizzaDeliveryStrategy deliveryStrategy = PizzaDeliveryStrategy.NORMAL; + + public static PizzaDeliverySystemConfiguration getInstance() { + return INSTANCE; + } + + public PizzaDeliveryStrategy getDeliveryStrategy() { + return deliveryStrategy; + } + +} diff --git a/core-java/src/main/java/com/baeldung/enums/README.md b/core-java/src/main/java/com/baeldung/enums/README.md new file mode 100644 index 0000000000..6ccfa725f5 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/enums/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [A Guide to Java Enums](http://www.baeldung.com/a-guide-to-java-enums) diff --git a/core-java/src/main/java/com/baeldung/equalshashcode/entities/ComplexClass.java b/core-java/src/main/java/com/baeldung/equalshashcode/entities/ComplexClass.java new file mode 100644 index 0000000000..5a13f505c2 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/equalshashcode/entities/ComplexClass.java @@ -0,0 +1,63 @@ +package com.baeldung.equalshashcode.entities; + +import java.util.List; +import java.util.Set; + +public class ComplexClass { + + private List genericList; + private Set integerSet; + + public ComplexClass(List genericArrayList, Set integerHashSet) { + super(); + this.genericList = genericArrayList; + this.integerSet = integerHashSet; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((genericList == null) ? 0 : genericList.hashCode()); + result = prime * result + ((integerSet == null) ? 0 : integerSet.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (!(obj instanceof ComplexClass)) + return false; + ComplexClass other = (ComplexClass) obj; + if (genericList == null) { + if (other.genericList != null) + return false; + } else if (!genericList.equals(other.genericList)) + return false; + if (integerSet == null) { + if (other.integerSet != null) + return false; + } else if (!integerSet.equals(other.integerSet)) + return false; + return true; + } + + protected List getGenericList() { + return genericList; + } + + protected void setGenericArrayList(List genericList) { + this.genericList = genericList; + } + + protected Set getIntegerSet() { + return integerSet; + } + + protected void setIntegerSet(Set integerSet) { + this.integerSet = integerSet; + } +} diff --git a/core-java/src/main/java/com/baeldung/equalshashcode/entities/PrimitiveClass.java b/core-java/src/main/java/com/baeldung/equalshashcode/entities/PrimitiveClass.java new file mode 100644 index 0000000000..29b280865e --- /dev/null +++ b/core-java/src/main/java/com/baeldung/equalshashcode/entities/PrimitiveClass.java @@ -0,0 +1,54 @@ +package com.baeldung.equalshashcode.entities; + +public class PrimitiveClass { + + private boolean primitiveBoolean; + private int primitiveInt; + + public PrimitiveClass(boolean primitiveBoolean, int primitiveInt) { + super(); + this.primitiveBoolean = primitiveBoolean; + this.primitiveInt = primitiveInt; + } + + protected boolean isPrimitiveBoolean() { + return primitiveBoolean; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (primitiveBoolean ? 1231 : 1237); + result = prime * result + primitiveInt; + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PrimitiveClass other = (PrimitiveClass) obj; + if (primitiveBoolean != other.primitiveBoolean) + return false; + if (primitiveInt != other.primitiveInt) + return false; + return true; + } + + protected void setPrimitiveBoolean(boolean primitiveBoolean) { + this.primitiveBoolean = primitiveBoolean; + } + + protected int getPrimitiveInt() { + return primitiveInt; + } + + protected void setPrimitiveInt(int primitiveInt) { + this.primitiveInt = primitiveInt; + } +} diff --git a/core-java/src/main/java/com/baeldung/equalshashcode/entities/Rectangle.java b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Rectangle.java new file mode 100644 index 0000000000..168e3af0c6 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Rectangle.java @@ -0,0 +1,58 @@ +package com.baeldung.equalshashcode.entities; + +public class Rectangle extends Shape { + private double width; + private double length; + + public Rectangle(double width, double length) { + this.width = width; + this.length = length; + } + + @Override + public double area() { + return width * length; + } + + @Override + public double perimeter() { + return 2 * (width + length); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(length); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(width); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Rectangle other = (Rectangle) obj; + if (Double.doubleToLongBits(length) != Double.doubleToLongBits(other.length)) + return false; + if (Double.doubleToLongBits(width) != Double.doubleToLongBits(other.width)) + return false; + return true; + } + + protected double getWidth() { + return width; + } + + protected double getLength() { + return length; + } + +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/equalshashcode/entities/Shape.java b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Shape.java new file mode 100644 index 0000000000..628359becf --- /dev/null +++ b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Shape.java @@ -0,0 +1,7 @@ +package com.baeldung.equalshashcode.entities; + +public abstract class Shape { + public abstract double area(); + + public abstract double perimeter(); +} diff --git a/core-java/src/main/java/com/baeldung/equalshashcode/entities/Square.java b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Square.java new file mode 100644 index 0000000000..b9125c3e2f --- /dev/null +++ b/core-java/src/main/java/com/baeldung/equalshashcode/entities/Square.java @@ -0,0 +1,58 @@ +package com.baeldung.equalshashcode.entities; + +import java.awt.Color; + +public class Square extends Rectangle { + + Color color; + + public Square(double width, Color color) { + super(width, width); + this.color = color; + } + + /* (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = prime * result + ((color == null) ? 0 : color.hashCode()); + return result; + } + + /* (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (!super.equals(obj)) { + return false; + } + if (!(obj instanceof Square)) { + return false; + } + Square other = (Square) obj; + if (color == null) { + if (other.color != null) { + return false; + } + } else if (!color.equals(other.color)) { + return false; + } + return true; + } + + protected Color getColor() { + return color; + } + + protected void setColor(Color color) { + this.color = color; + } + +} diff --git a/core-java/src/main/java/com/baeldung/executable/ExecutableMavenJar.java b/core-java/src/main/java/com/baeldung/executable/ExecutableMavenJar.java new file mode 100644 index 0000000000..6c79e89717 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/executable/ExecutableMavenJar.java @@ -0,0 +1,11 @@ +package com.baeldung.executable; + +import javax.swing.JOptionPane; + +public class ExecutableMavenJar { + + public static void main(String[] args) { + JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1); + } + +} diff --git a/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveAction.java b/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveAction.java new file mode 100644 index 0000000000..ae79787570 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveAction.java @@ -0,0 +1,48 @@ +package com.baeldung.forkjoin; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.concurrent.ForkJoinTask; +import java.util.concurrent.RecursiveAction; +import java.util.logging.Logger; + +public class CustomRecursiveAction extends RecursiveAction { + + private String workLoad = ""; + private static final int THRESHOLD = 4; + + private static Logger logger = Logger.getAnonymousLogger(); + + public CustomRecursiveAction(String workLoad) { + this.workLoad = workLoad; + } + + @Override + protected void compute() { + + if (workLoad.length() > THRESHOLD) { + ForkJoinTask.invokeAll(createSubtasks()); + } else { + processing(workLoad); + } + } + + private Collection createSubtasks() { + + List subtasks = new ArrayList<>(); + + String partOne = workLoad.substring(0, workLoad.length() / 2); + String partTwo = workLoad.substring(workLoad.length() / 2, workLoad.length()); + + subtasks.add(new CustomRecursiveAction(partOne)); + subtasks.add(new CustomRecursiveAction(partTwo)); + + return subtasks; + } + + private void processing(String work) { + String result = work.toUpperCase(); + logger.info("This result - (" + result + ") - was processed by " + Thread.currentThread().getName()); + } +} diff --git a/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveTask.java b/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveTask.java new file mode 100644 index 0000000000..af9805c33f --- /dev/null +++ b/core-java/src/main/java/com/baeldung/forkjoin/CustomRecursiveTask.java @@ -0,0 +1,42 @@ +package com.baeldung.forkjoin; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.concurrent.ForkJoinTask; +import java.util.concurrent.RecursiveTask; + +public class CustomRecursiveTask extends RecursiveTask { + + private int[] arr; + + private static final int THRESHOLD = 20; + + public CustomRecursiveTask(int[] arr) { + this.arr = arr; + } + + @Override + protected Integer compute() { + + if (arr.length > THRESHOLD) { + + return ForkJoinTask.invokeAll(createSubtasks()).stream().mapToInt(ForkJoinTask::join).sum(); + + } else { + return processing(arr); + } + } + + private Collection createSubtasks() { + List dividedTasks = new ArrayList<>(); + dividedTasks.add(new CustomRecursiveTask(Arrays.copyOfRange(arr, 0, arr.length / 2))); + dividedTasks.add(new CustomRecursiveTask(Arrays.copyOfRange(arr, arr.length / 2, arr.length))); + return dividedTasks; + } + + private Integer processing(int[] arr) { + return Arrays.stream(arr).filter(a -> a > 10 && a < 27).map(a -> a * 10).sum(); + } +} diff --git a/core-java/src/main/java/com/baeldung/forkjoin/util/PoolUtil.java b/core-java/src/main/java/com/baeldung/forkjoin/util/PoolUtil.java new file mode 100644 index 0000000000..fd24a6fc66 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/forkjoin/util/PoolUtil.java @@ -0,0 +1,9 @@ +package com.baeldung.forkjoin.util; + +import java.util.concurrent.ForkJoinPool; + +public class PoolUtil { + + public static ForkJoinPool forkJoinPool = new ForkJoinPool(2); + +} diff --git a/core-java/src/main/java/com/baeldung/generics/Generics.java b/core-java/src/main/java/com/baeldung/generics/Generics.java new file mode 100644 index 0000000000..69c7baddd3 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/generics/Generics.java @@ -0,0 +1,23 @@ +package com.baeldung.generics; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +public class Generics { + + // definition of a generic method + public static List fromArrayToList(T[] a) { + List list = new ArrayList<>(); + Arrays.stream(a).forEach(list::add); + return list; + } + + // example of a generic method that has Number as an upper bound for T + public static List fromArrayToListWithUpperBound(T[] a) { + List list = new ArrayList<>(); + Arrays.stream(a).forEach(list::add); + return list; + } + +} diff --git a/core-java/src/main/java/com/baeldung/hashing/SHA256Hashing.java b/core-java/src/main/java/com/baeldung/hashing/SHA256Hashing.java new file mode 100644 index 0000000000..9c8fc86e7a --- /dev/null +++ b/core-java/src/main/java/com/baeldung/hashing/SHA256Hashing.java @@ -0,0 +1,51 @@ +package com.baeldung.hashing; + + +import com.google.common.hash.Hashing; +import org.apache.commons.codec.digest.DigestUtils; +import org.bouncycastle.util.encoders.Hex; + +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; + +public class SHA256Hashing { + + public static String HashWithJavaMessageDigest(final String originalString) + throws NoSuchAlgorithmException { + final MessageDigest digest = MessageDigest.getInstance("SHA-256"); + final byte[] encodedhash = digest.digest( + originalString.getBytes(StandardCharsets.UTF_8)); + return bytesToHex(encodedhash); + } + + public static String HashWithGuava(final String originalString) { + final String sha256hex = Hashing.sha256().hashString( + originalString, StandardCharsets.UTF_8).toString(); + return sha256hex; + } + + public static String HashWithApacheCommons(final String originalString) { + final String sha256hex = DigestUtils.sha256Hex(originalString); + return sha256hex; + } + + public static String HashWithBouncyCastle(final String originalString) + throws NoSuchAlgorithmException { + final MessageDigest digest = MessageDigest.getInstance("SHA-256"); + final byte[] hash = digest.digest( + originalString.getBytes(StandardCharsets.UTF_8)); + final String sha256hex = new String(Hex.encode(hash)); + return sha256hex; + } + + private static String bytesToHex(byte[] hash) { + StringBuffer hexString = new StringBuffer(); + for (int i = 0; i < hash.length; i++) { + String hex = Integer.toHexString(0xff & hash[i]); + if(hex.length() == 1) hexString.append('0'); + hexString.append(hex); + } + return hexString.toString(); + } +} diff --git a/core-java/src/main/java/com/baeldung/java/networking/cookies/PersistentCookieStore.java b/core-java/src/main/java/com/baeldung/java/networking/cookies/PersistentCookieStore.java new file mode 100644 index 0000000000..0d66406ac2 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/networking/cookies/PersistentCookieStore.java @@ -0,0 +1,56 @@ +package com.baeldung.java.networking.cookies; + +import java.net.*; +import java.util.List; + +public class PersistentCookieStore implements CookieStore, Runnable { + CookieStore store; + + public PersistentCookieStore() { + store = new CookieManager().getCookieStore(); + // deserialize cookies into store + Runtime.getRuntime().addShutdownHook(new Thread(this)); + } + + @Override + public void run() { + // serialize cookies to persistent storage + } + + @Override + public void add(URI uri, HttpCookie cookie) { + store.add(uri, cookie); + + } + + @Override + public List get(URI uri) { + // TODO Auto-generated method stub + return null; + } + + @Override + public List getCookies() { + // TODO Auto-generated method stub + return null; + } + + @Override + public List getURIs() { + // TODO Auto-generated method stub + return null; + } + + @Override + public boolean remove(URI uri, HttpCookie cookie) { + // TODO Auto-generated method stub + return false; + } + + @Override + public boolean removeAll() { + // TODO Auto-generated method stub + return false; + } + +} diff --git a/core-java/src/main/java/com/baeldung/java/networking/cookies/ProxyAcceptCookiePolicy.java b/core-java/src/main/java/com/baeldung/java/networking/cookies/ProxyAcceptCookiePolicy.java new file mode 100644 index 0000000000..6d6371bfe0 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/networking/cookies/ProxyAcceptCookiePolicy.java @@ -0,0 +1,26 @@ +package com.baeldung.java.networking.cookies; + +import java.net.*; + +public class ProxyAcceptCookiePolicy implements CookiePolicy { + String acceptedProxy; + + public ProxyAcceptCookiePolicy(String acceptedProxy) { + this.acceptedProxy = acceptedProxy; + } + + public boolean shouldAccept(URI uri, HttpCookie cookie) { + String host; + try { + host = InetAddress.getByName(uri.getHost()).getCanonicalHostName(); + } catch (UnknownHostException e) { + host = uri.getHost(); + } + + if (!HttpCookie.domainMatches(acceptedProxy, host)) { + return false; + } + + return CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie); + } +} diff --git a/core-java/src/main/java/com/baeldung/java/networking/udp/EchoClient.java b/core-java/src/main/java/com/baeldung/java/networking/udp/EchoClient.java new file mode 100644 index 0000000000..916442533b --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/networking/udp/EchoClient.java @@ -0,0 +1,42 @@ +package com.baeldung.java.networking.udp; + +import java.io.IOException; +import java.net.DatagramPacket; +import java.net.DatagramSocket; +import java.net.InetAddress; + +public class EchoClient { + private DatagramSocket socket; + private InetAddress address; + + private byte[] buf; + + public EchoClient() { + try { + socket = new DatagramSocket(); + address = InetAddress.getByName("localhost"); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + public String sendEcho(String msg) { + DatagramPacket packet = null; + try { + buf = msg.getBytes(); + packet = new DatagramPacket(buf, buf.length, address, 4445); + socket.send(packet); + packet = new DatagramPacket(buf, buf.length); + socket.receive(packet); + } catch (IOException e) { + e.printStackTrace(); + } + String received = new String(packet.getData(), 0, packet.getLength()); + return received; + } + + public void close() { + socket.close(); + } +} diff --git a/core-java/src/main/java/com/baeldung/java/networking/udp/EchoServer.java b/core-java/src/main/java/com/baeldung/java/networking/udp/EchoServer.java new file mode 100644 index 0000000000..900d330786 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/networking/udp/EchoServer.java @@ -0,0 +1,42 @@ +package com.baeldung.java.networking.udp; + +import java.io.IOException; +import java.net.DatagramPacket; +import java.net.DatagramSocket; +import java.net.InetAddress; + +public class EchoServer extends Thread { + + protected DatagramSocket socket = null; + protected boolean running; + protected byte[] buf = new byte[256]; + + public EchoServer() throws IOException { + socket = new DatagramSocket(4445); + } + + public void run() { + running = true; + + while (running) { + try { + + DatagramPacket packet = new DatagramPacket(buf, buf.length); + socket.receive(packet); + InetAddress address = packet.getAddress(); + int port = packet.getPort(); + packet = new DatagramPacket(buf, buf.length, address, port); + String received = new String(packet.getData(), 0, packet.getLength()); + if (received.equals("end")) { + running = false; + continue; + } + socket.send(packet); + } catch (IOException e) { + e.printStackTrace(); + running = false; + } + } + socket.close(); + } +} diff --git a/core-java/src/main/java/com/baeldung/java/nio/selector/EchoClient.java b/core-java/src/main/java/com/baeldung/java/nio/selector/EchoClient.java new file mode 100644 index 0000000000..61f339db58 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/nio/selector/EchoClient.java @@ -0,0 +1,50 @@ +package com.baeldung.java.nio.selector; + +import java.io.IOException; +import java.net.InetSocketAddress; +import java.nio.ByteBuffer; +import java.nio.channels.SocketChannel; + +public class EchoClient { + private static SocketChannel client; + private static ByteBuffer buffer; + private static EchoClient instance; + + public static EchoClient start() { + if (instance == null) + instance = new EchoClient(); + + return instance; + } + + public static void stop() throws IOException { + client.close(); + buffer = null; + } + + private EchoClient() { + try { + client = SocketChannel.open(new InetSocketAddress("localhost", 5454)); + buffer = ByteBuffer.allocate(256); + } catch (IOException e) { + e.printStackTrace(); + } + } + + public String sendMessage(String msg) { + buffer = ByteBuffer.wrap(msg.getBytes()); + String response = null; + try { + client.write(buffer); + buffer.clear(); + client.read(buffer); + response = new String(buffer.array()).trim(); + System.out.println("response=" + response); + buffer.clear(); + } catch (IOException e) { + e.printStackTrace(); + } + return response; + + } +} diff --git a/core-java/src/main/java/com/baeldung/java/nio/selector/EchoServer.java b/core-java/src/main/java/com/baeldung/java/nio/selector/EchoServer.java new file mode 100644 index 0000000000..2ed9a27c4c --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/nio/selector/EchoServer.java @@ -0,0 +1,60 @@ +package com.baeldung.java.nio.selector; + +import java.io.File; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.nio.ByteBuffer; +import java.nio.channels.SelectionKey; +import java.nio.channels.Selector; +import java.nio.channels.ServerSocketChannel; +import java.nio.channels.SocketChannel; +import java.util.Iterator; +import java.util.Set; + +public class EchoServer { + + public static void main(String[] args) throws IOException { + Selector selector = Selector.open(); + ServerSocketChannel serverSocket = ServerSocketChannel.open(); + serverSocket.bind(new InetSocketAddress("localhost", 5454)); + serverSocket.configureBlocking(false); + serverSocket.register(selector, SelectionKey.OP_ACCEPT); + ByteBuffer buffer = ByteBuffer.allocate(256); + + while (true) { + selector.select(); + Set selectedKeys = selector.selectedKeys(); + Iterator iter = selectedKeys.iterator(); + while (iter.hasNext()) { + + SelectionKey key = iter.next(); + + if (key.isAcceptable()) { + SocketChannel client = serverSocket.accept(); + client.configureBlocking(false); + client.register(selector, SelectionKey.OP_READ); + } + + if (key.isReadable()) { + SocketChannel client = (SocketChannel) key.channel(); + client.read(buffer); + buffer.flip(); + client.write(buffer); + buffer.clear(); + } + iter.remove(); + } + } + } + + public static Process start() throws IOException, InterruptedException { + String javaHome = System.getProperty("java.home"); + String javaBin = javaHome + File.separator + "bin" + File.separator + "java"; + String classpath = System.getProperty("java.class.path"); + String className = EchoServer.class.getCanonicalName(); + + ProcessBuilder builder = new ProcessBuilder(javaBin, "-cp", classpath, className); + + return builder.start(); + } +} diff --git a/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileSearchExample.java b/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileSearchExample.java new file mode 100644 index 0000000000..15910abf9b --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileSearchExample.java @@ -0,0 +1,60 @@ +package com.baeldung.java.nio2.visitor; + +import static java.nio.file.FileVisitResult.CONTINUE; +import static java.nio.file.FileVisitResult.TERMINATE; + +import java.io.IOException; +import java.nio.file.FileVisitResult; +import java.nio.file.FileVisitor; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.attribute.BasicFileAttributes; + +public class FileSearchExample implements FileVisitor { + private static String FILE_NAME; + private static Path START_DIR; + + public FileSearchExample(String fileName, Path startingDir) { + FILE_NAME = fileName; + START_DIR = startingDir; + } + + @Override + public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException { + return CONTINUE; + } + + @Override + public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { + String fileName = file.getFileName().toString(); + if (FILE_NAME.equals(fileName)) { + System.out.println("File found: " + file.toString()); + return TERMINATE; + } + return CONTINUE; + } + + @Override + public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException { + System.out.println("Failed to access file: " + file.toString()); + return CONTINUE; + } + + @Override + public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { + boolean finishedSearch = Files.isSameFile(dir, START_DIR); + if (finishedSearch) { + System.out.println("File:" + FILE_NAME + " not found"); + return TERMINATE; + } + return CONTINUE; + } + + public static void main(String[] args) throws IOException { + Path startingDir = Paths.get("C:/Users/new/Desktop"); + FileSearchExample crawler = new FileSearchExample("hibernate.txt", startingDir); + Files.walkFileTree(startingDir, crawler); + } + +} diff --git a/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileVisitorImpl.java b/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileVisitorImpl.java new file mode 100644 index 0000000000..360d6d0689 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/nio2/visitor/FileVisitorImpl.java @@ -0,0 +1,30 @@ +package com.baeldung.java.nio2.visitor; + +import java.io.IOException; +import java.nio.file.FileVisitResult; +import java.nio.file.FileVisitor; +import java.nio.file.Path; +import java.nio.file.attribute.BasicFileAttributes; + +public class FileVisitorImpl implements FileVisitor { + + @Override + public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { + return null; + } + + @Override + public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { + return null; + } + + @Override + public FileVisitResult visitFileFailed(Path file, IOException exc) { + return null; + } + + @Override + public FileVisitResult postVisitDirectory(Path dir, IOException exc) { + return null; + } +} diff --git a/core-java/src/main/java/com/baeldung/java/nio2/watcher/DirectoryWatcherExample.java b/core-java/src/main/java/com/baeldung/java/nio2/watcher/DirectoryWatcherExample.java new file mode 100644 index 0000000000..ffc58a1c50 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/nio2/watcher/DirectoryWatcherExample.java @@ -0,0 +1,25 @@ +package com.baeldung.java.nio2.watcher; + +import java.io.IOException; +import java.nio.file.FileSystems; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.StandardWatchEventKinds; +import java.nio.file.WatchEvent; +import java.nio.file.WatchKey; +import java.nio.file.WatchService; + +public class DirectoryWatcherExample { + public static void main(String[] args) throws IOException, InterruptedException { + WatchService watchService = FileSystems.getDefault().newWatchService(); + Path path = Paths.get(System.getProperty("user.home")); + path.register(watchService, StandardWatchEventKinds.ENTRY_CREATE, StandardWatchEventKinds.ENTRY_DELETE, StandardWatchEventKinds.ENTRY_MODIFY); + WatchKey key; + while ((key = watchService.take()) != null) { + for (WatchEvent event : key.pollEvents()) { + System.out.println("Event kind:" + event.kind() + ". File affected: " + event.context() + "."); + } + key.reset(); + } + } +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Animal.java b/core-java/src/main/java/com/baeldung/java/reflection/Animal.java new file mode 100644 index 0000000000..3f36243c29 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Animal.java @@ -0,0 +1,23 @@ +package com.baeldung.java.reflection; + +public abstract class Animal implements Eating { + + public static final String CATEGORY = "domestic"; + + private String name; + + public Animal(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + protected abstract String getSound(); + +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Bird.java b/core-java/src/main/java/com/baeldung/java/reflection/Bird.java new file mode 100644 index 0000000000..bd6f13094c --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Bird.java @@ -0,0 +1,36 @@ +package com.baeldung.java.reflection; + +public class Bird extends Animal { + private boolean walks; + + public Bird() { + super("bird"); + } + + public Bird(String name, boolean walks) { + super(name); + setWalks(walks); + } + + public Bird(String name) { + super(name); + } + + @Override + public String eats() { + return "grains"; + } + + @Override + protected String getSound() { + return "chaps"; + } + + public boolean walks() { + return walks; + } + + public void setWalks(boolean walks) { + this.walks = walks; + } +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Eating.java b/core-java/src/main/java/com/baeldung/java/reflection/Eating.java new file mode 100644 index 0000000000..479425cad4 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Eating.java @@ -0,0 +1,5 @@ +package com.baeldung.java.reflection; + +public interface Eating { + String eats(); +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Goat.java b/core-java/src/main/java/com/baeldung/java/reflection/Goat.java new file mode 100644 index 0000000000..503717ae5e --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Goat.java @@ -0,0 +1,24 @@ +package com.baeldung.java.reflection; + +public class Goat extends Animal implements Locomotion { + + public Goat(String name) { + super(name); + } + + @Override + protected String getSound() { + return "bleat"; + } + + @Override + public String getLocomotion() { + return "walks"; + } + + @Override + public String eats() { + return "grass"; + } + +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Locomotion.java b/core-java/src/main/java/com/baeldung/java/reflection/Locomotion.java new file mode 100644 index 0000000000..047c00cb13 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Locomotion.java @@ -0,0 +1,5 @@ +package com.baeldung.java.reflection; + +public interface Locomotion { + String getLocomotion(); +} diff --git a/core-java/src/main/java/com/baeldung/java/reflection/Person.java b/core-java/src/main/java/com/baeldung/java/reflection/Person.java new file mode 100644 index 0000000000..f3d7f9f001 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java/reflection/Person.java @@ -0,0 +1,6 @@ +package com.baeldung.java.reflection; + +public class Person { + private String name; + private int age; +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/Address.java b/core-java/src/main/java/com/baeldung/java_8_features/Address.java new file mode 100644 index 0000000000..1f89503288 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/Address.java @@ -0,0 +1,14 @@ +package com.baeldung.java_8_features; + +public class Address { + + private String street; + + public String getStreet() { + return street; + } + + public void setStreet(String street) { + this.street = street; + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/CustomException.java b/core-java/src/main/java/com/baeldung/java_8_features/CustomException.java new file mode 100644 index 0000000000..ff9be6ab06 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/CustomException.java @@ -0,0 +1,4 @@ +package com.baeldung.java_8_features; + +public class CustomException extends RuntimeException { +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/Detail.java b/core-java/src/main/java/com/baeldung/java_8_features/Detail.java new file mode 100644 index 0000000000..811937dba7 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/Detail.java @@ -0,0 +1,13 @@ +package com.baeldung.java_8_features; + +import java.util.Arrays; +import java.util.List; + +public class Detail { + + private static final List PARTS = Arrays.asList("turbine", "pump"); + + public List getParts() { + return PARTS; + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/OptionalAddress.java b/core-java/src/main/java/com/baeldung/java_8_features/OptionalAddress.java new file mode 100644 index 0000000000..8d6c517ac5 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/OptionalAddress.java @@ -0,0 +1,16 @@ +package com.baeldung.java_8_features; + +import java.util.Optional; + +public class OptionalAddress { + + private String street; + + public Optional getStreet() { + return Optional.ofNullable(street); + } + + public void setStreet(String street) { + this.street = street; + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/OptionalUser.java b/core-java/src/main/java/com/baeldung/java_8_features/OptionalUser.java new file mode 100644 index 0000000000..ff06cd21d6 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/OptionalUser.java @@ -0,0 +1,16 @@ +package com.baeldung.java_8_features; + +import java.util.Optional; + +public class OptionalUser { + + private OptionalAddress address; + + public Optional getAddress() { + return Optional.of(address); + } + + public void setAddress(OptionalAddress address) { + this.address = address; + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/User.java b/core-java/src/main/java/com/baeldung/java_8_features/User.java new file mode 100644 index 0000000000..3708d276c8 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/User.java @@ -0,0 +1,40 @@ +package com.baeldung.java_8_features; + +import java.util.Optional; + +public class User { + + private String name; + + private Address address; + + public Address getAddress() { + return address; + } + + public void setAddress(Address address) { + this.address = address; + } + + public User() { + } + + public User(String name) { + this.name = name; + } + + public static boolean isRealUser(User user) { + return true; + } + + public String getOrThrow() { + String value = null; + Optional valueOpt = Optional.ofNullable(value); + String result = valueOpt.orElseThrow(CustomException::new).toUpperCase(); + return result; + } + + public boolean isLegalName(String name) { + return name.length() > 3 && name.length() < 16; + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/Vehicle.java b/core-java/src/main/java/com/baeldung/java_8_features/Vehicle.java new file mode 100644 index 0000000000..045fc90590 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/Vehicle.java @@ -0,0 +1,18 @@ +package com.baeldung.java_8_features; + +public interface Vehicle { + + void moveTo(long altitude, long longitude); + + static String producer() { + return "N&F Vehicles"; + } + + default long[] startPosition() { + return new long[] { 23, 15 }; + } + + default String getOverview() { + return "ATV made by " + producer(); + } +} diff --git a/core-java/src/main/java/com/baeldung/java_8_features/VehicleImpl.java b/core-java/src/main/java/com/baeldung/java_8_features/VehicleImpl.java new file mode 100644 index 0000000000..64bec0246d --- /dev/null +++ b/core-java/src/main/java/com/baeldung/java_8_features/VehicleImpl.java @@ -0,0 +1,9 @@ +package com.baeldung.java_8_features; + +public class VehicleImpl implements Vehicle { + + @Override + public void moveTo(long altitude, long longitude) { + // do nothing + } +} diff --git a/core-java/src/main/java/com/baeldung/printscreen/Screenshot.java b/core-java/src/main/java/com/baeldung/printscreen/Screenshot.java new file mode 100644 index 0000000000..7f87b47476 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/printscreen/Screenshot.java @@ -0,0 +1,22 @@ +package com.baeldung.printscreen; + +import javax.imageio.ImageIO; +import java.awt.*; +import java.awt.image.BufferedImage; +import java.io.File; + +public class Screenshot { + + private final String path; + + public Screenshot(String path) { + this.path = path; + } + + public void getScreenshot(int timeToWait) throws Exception { + Rectangle rectangle = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()); + Robot robot = new Robot(); + BufferedImage img = robot.createScreenCapture(rectangle); + ImageIO.write(img, "jpg", new File(path)); + } +} diff --git a/core-java/src/main/java/com/baeldung/socket/EchoClient.java b/core-java/src/main/java/com/baeldung/socket/EchoClient.java new file mode 100644 index 0000000000..570bd60b2d --- /dev/null +++ b/core-java/src/main/java/com/baeldung/socket/EchoClient.java @@ -0,0 +1,41 @@ +package com.baeldung.socket; + +import java.io.*; +import java.net.*; + +public class EchoClient { + private Socket clientSocket; + private PrintWriter out; + private BufferedReader in; + + public void startConnection(String ip, int port) { + try { + clientSocket = new Socket(ip, port); + out = new PrintWriter(clientSocket.getOutputStream(), true); + in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); + } catch (IOException e) { + System.out.print(e); + } + + } + + public String sendMessage(String msg) { + try { + out.println(msg); + return in.readLine(); + } catch (Exception e) { + return null; + } + } + + public void stopConnection() { + try { + in.close(); + out.close(); + clientSocket.close(); + } catch (IOException e) { + e.printStackTrace(); + } + + } +} diff --git a/core-java/src/main/java/com/baeldung/socket/EchoMultiServer.java b/core-java/src/main/java/com/baeldung/socket/EchoMultiServer.java new file mode 100644 index 0000000000..b920967545 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/socket/EchoMultiServer.java @@ -0,0 +1,70 @@ +package com.baeldung.socket; + +import java.net.*; +import java.io.*; + +public class EchoMultiServer { + private ServerSocket serverSocket; + + public void start(int port) { + try { + serverSocket = new ServerSocket(port); + while (true) + new EchoClientHandler(serverSocket.accept()).run(); + + } catch (IOException e) { + e.printStackTrace(); + } finally { + stop(); + } + + } + + public void stop() { + try { + + serverSocket.close(); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + private static class EchoClientHandler extends Thread { + private Socket clientSocket; + private PrintWriter out; + private BufferedReader in; + + public EchoClientHandler(Socket socket) { + this.clientSocket = socket; + } + + public void run() { + try { + out = new PrintWriter(clientSocket.getOutputStream(), true); + in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); + String inputLine; + while ((inputLine = in.readLine()) != null) { + if (".".equals(inputLine)) { + out.println("bye"); + break; + } + out.println(inputLine); + } + + in.close(); + out.close(); + clientSocket.close(); + + } catch (IOException e) { + e.printStackTrace(); + } + } + } + + public static void main(String[] args) { + EchoMultiServer server = new EchoMultiServer(); + server.start(5555); + } + +} diff --git a/core-java/src/main/java/com/baeldung/socket/EchoServer.java b/core-java/src/main/java/com/baeldung/socket/EchoServer.java new file mode 100644 index 0000000000..dfd281d51c --- /dev/null +++ b/core-java/src/main/java/com/baeldung/socket/EchoServer.java @@ -0,0 +1,49 @@ +package com.baeldung.socket; + +import java.net.*; +import java.io.*; + +public class EchoServer { + private ServerSocket serverSocket; + private Socket clientSocket; + private PrintWriter out; + private BufferedReader in; + + public void start(int port) { + try { + serverSocket = new ServerSocket(port); + clientSocket = serverSocket.accept(); + out = new PrintWriter(clientSocket.getOutputStream(), true); + in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); + String inputLine; + while ((inputLine = in.readLine()) != null) { + if (".".equals(inputLine)) { + out.println("good bye"); + break; + } + out.println(inputLine); + } + } catch (IOException e) { + e.printStackTrace(); + } + + } + + public void stop() { + try { + in.close(); + out.close(); + clientSocket.close(); + serverSocket.close(); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + public static void main(String[] args) { + EchoServer server = new EchoServer(); + server.start(4444); + } + +} diff --git a/core-java/src/main/java/com/baeldung/socket/GreetClient.java b/core-java/src/main/java/com/baeldung/socket/GreetClient.java new file mode 100644 index 0000000000..e6f14bb2b6 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/socket/GreetClient.java @@ -0,0 +1,44 @@ +package com.baeldung.socket; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.PrintWriter; +import java.net.Socket; + +public class GreetClient { + private Socket clientSocket; + private PrintWriter out; + private BufferedReader in; + + public void startConnection(String ip, int port) { + try { + clientSocket = new Socket(ip, port); + out = new PrintWriter(clientSocket.getOutputStream(), true); + in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); + } catch (IOException e) { + + } + + } + + public String sendMessage(String msg) { + try { + out.println(msg); + return in.readLine(); + } catch (Exception e) { + return null; + } + } + + public void stopConnection() { + try { + in.close(); + out.close(); + clientSocket.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + +} diff --git a/core-java/src/main/java/com/baeldung/socket/GreetServer.java b/core-java/src/main/java/com/baeldung/socket/GreetServer.java new file mode 100644 index 0000000000..05bc65a65e --- /dev/null +++ b/core-java/src/main/java/com/baeldung/socket/GreetServer.java @@ -0,0 +1,46 @@ +package com.baeldung.socket; + +import java.net.*; +import java.io.*; + +public class GreetServer { + private ServerSocket serverSocket; + private Socket clientSocket; + private PrintWriter out; + private BufferedReader in; + + public void start(int port) { + try { + serverSocket = new ServerSocket(port); + clientSocket = serverSocket.accept(); + out = new PrintWriter(clientSocket.getOutputStream(), true); + in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); + String greeting = in.readLine(); + if ("hello server".equals(greeting)) + out.println("hello client"); + else + out.println("unrecognised greeting"); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + public void stop() { + try { + in.close(); + out.close(); + clientSocket.close(); + serverSocket.close(); + } catch (IOException e) { + e.printStackTrace(); + } + + } + + public static void main(String[] args) { + GreetServer server = new GreetServer(); + server.start(6666); + } + +} diff --git a/core-java/src/main/java/com/baeldung/streamApi/Product.java b/core-java/src/main/java/com/baeldung/streamApi/Product.java new file mode 100644 index 0000000000..26b8bd6fed --- /dev/null +++ b/core-java/src/main/java/com/baeldung/streamApi/Product.java @@ -0,0 +1,50 @@ +package com.baeldung.streamApi; + +import java.util.List; +import java.util.Optional; +import java.util.stream.IntStream; +import java.util.stream.Stream; + +/** + * Created by Alex Vengr + */ +public class Product { + + private int price; + + private String name; + + private boolean utilize; + + public Product(int price, String name) { + this(price); + this.name = name; + } + + public Product(int price) { + this.price = price; + } + + public Product() { + } + + public int getPrice() { + return price; + } + + public void setPrice(int price) { + this.price = price; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public static Stream streamOf(List list) { + return (list == null || list.isEmpty()) ? Stream.empty() : list.stream(); + } +} diff --git a/core-java/src/main/java/com/baeldung/threadpool/CountingTask.java b/core-java/src/main/java/com/baeldung/threadpool/CountingTask.java new file mode 100644 index 0000000000..effdf54916 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/threadpool/CountingTask.java @@ -0,0 +1,20 @@ +package com.baeldung.threadpool; + +import java.util.concurrent.ForkJoinTask; +import java.util.concurrent.RecursiveTask; +import java.util.stream.Collectors; + +public class CountingTask extends RecursiveTask { + + private final TreeNode node; + + public CountingTask(TreeNode node) { + this.node = node; + } + + @Override + protected Integer compute() { + return node.value + node.children.stream().map(childNode -> new CountingTask(childNode).fork()).collect(Collectors.summingInt(ForkJoinTask::join)); + } + +} diff --git a/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java b/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java new file mode 100644 index 0000000000..4775fde930 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java @@ -0,0 +1,29 @@ +package com.baeldung.threadpool; + +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; + +import com.google.common.util.concurrent.MoreExecutors; + +/** + * This class demonstrates the usage of Guava's exiting executor services that keep the VM from hanging. + * Without the exiting executor service, the task would hang indefinitely. + * This behaviour cannot be demonstrated in JUnit tests, as JUnit kills the VM after the tests. + */ +public class ExitingExecutorServiceExample { + + public static void main(String... args) { + + ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5); + ExecutorService executorService = MoreExecutors.getExitingExecutorService(executor, 100, TimeUnit.MILLISECONDS); + + executorService.submit(() -> { + while (true) { + } + }); + + } + +} diff --git a/core-java/src/main/java/com/baeldung/threadpool/TreeNode.java b/core-java/src/main/java/com/baeldung/threadpool/TreeNode.java new file mode 100644 index 0000000000..9b43152074 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/threadpool/TreeNode.java @@ -0,0 +1,18 @@ +package com.baeldung.threadpool; + +import java.util.Set; + +import com.google.common.collect.Sets; + +public class TreeNode { + + int value; + + Set children; + + public TreeNode(int value, TreeNode... children) { + this.value = value; + this.children = Sets.newHashSet(children); + } + +} diff --git a/core-java/src/main/java/com/baeldung/unzip/UnzipFile.java b/core-java/src/main/java/com/baeldung/unzip/UnzipFile.java new file mode 100644 index 0000000000..6648d5f926 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/unzip/UnzipFile.java @@ -0,0 +1,30 @@ +package com.baeldung.unzip; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +public class UnzipFile { + public static void main(final String[] args) throws IOException { + final String fileZip = "src/main/resources/compressed.zip"; + final byte[] buffer = new byte[1024]; + final ZipInputStream zis = new ZipInputStream(new FileInputStream(fileZip)); + ZipEntry zipEntry = zis.getNextEntry(); + while (zipEntry != null) { + final String fileName = zipEntry.getName(); + final File newFile = new File("src/main/resources/unzipTest/" + fileName); + final FileOutputStream fos = new FileOutputStream(newFile); + int len; + while ((len = zis.read(buffer)) > 0) { + fos.write(buffer, 0, len); + } + fos.close(); + zipEntry = zis.getNextEntry(); + } + zis.closeEntry(); + zis.close(); + } +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/zip/ZipDirectory.java b/core-java/src/main/java/com/baeldung/zip/ZipDirectory.java new file mode 100644 index 0000000000..7da71a093d --- /dev/null +++ b/core-java/src/main/java/com/baeldung/zip/ZipDirectory.java @@ -0,0 +1,43 @@ +package com.baeldung.zip; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +public class ZipDirectory { + public static void main(final String[] args) throws IOException { + final String sourceFile = "src/main/resources/zipTest"; + final FileOutputStream fos = new FileOutputStream("src/main/resources/dirCompressed.zip"); + final ZipOutputStream zipOut = new ZipOutputStream(fos); + final File fileToZip = new File(sourceFile); + + zipFile(fileToZip, fileToZip.getName(), zipOut); + zipOut.close(); + fos.close(); + } + + private static void zipFile(final File fileToZip, final String fileName, final ZipOutputStream zipOut) throws IOException { + if (fileToZip.isHidden()) { + return; + } + if (fileToZip.isDirectory()) { + final File[] children = fileToZip.listFiles(); + for (final File childFile : children) { + zipFile(childFile, fileName + "/" + childFile.getName(), zipOut); + } + return; + } + final FileInputStream fis = new FileInputStream(fileToZip); + final ZipEntry zipEntry = new ZipEntry(fileName); + zipOut.putNextEntry(zipEntry); + final byte[] bytes = new byte[1024]; + int length; + while ((length = fis.read(bytes)) >= 0) { + zipOut.write(bytes, 0, length); + } + fis.close(); + } +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/zip/ZipFile.java b/core-java/src/main/java/com/baeldung/zip/ZipFile.java new file mode 100644 index 0000000000..f9ccac9713 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/zip/ZipFile.java @@ -0,0 +1,28 @@ +package com.baeldung.zip; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +public class ZipFile { + public static void main(final String[] args) throws IOException { + final String sourceFile = "src/main/resources/zipTest/test1.txt"; + final FileOutputStream fos = new FileOutputStream("src/main/resources/compressed.zip"); + final ZipOutputStream zipOut = new ZipOutputStream(fos); + final File fileToZip = new File(sourceFile); + final FileInputStream fis = new FileInputStream(fileToZip); + final ZipEntry zipEntry = new ZipEntry(fileToZip.getName()); + zipOut.putNextEntry(zipEntry); + final byte[] bytes = new byte[1024]; + int length; + while ((length = fis.read(bytes)) >= 0) { + zipOut.write(bytes, 0, length); + } + zipOut.close(); + fis.close(); + fos.close(); + } +} \ No newline at end of file diff --git a/core-java/src/main/java/com/baeldung/zip/ZipMultipleFiles.java b/core-java/src/main/java/com/baeldung/zip/ZipMultipleFiles.java new file mode 100644 index 0000000000..fc86147e43 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/zip/ZipMultipleFiles.java @@ -0,0 +1,33 @@ +package com.baeldung.zip; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +public class ZipMultipleFiles { + public static void main(final String[] args) throws IOException { + final List srcFiles = Arrays.asList("src/main/resources/zipTest/test1.txt", "src/main/resources/zipTest/test2.txt"); + final FileOutputStream fos = new FileOutputStream("src/main/resources/multiCompressed.zip"); + final ZipOutputStream zipOut = new ZipOutputStream(fos); + for (final String srcFile : srcFiles) { + final File fileToZip = new File(srcFile); + final FileInputStream fis = new FileInputStream(fileToZip); + final ZipEntry zipEntry = new ZipEntry(fileToZip.getName()); + zipOut.putNextEntry(zipEntry); + + final byte[] bytes = new byte[1024]; + int length; + while ((length = fis.read(bytes)) >= 0) { + zipOut.write(bytes, 0, length); + } + fis.close(); + } + zipOut.close(); + fos.close(); + } +} \ No newline at end of file diff --git a/core-java/src/main/java/org/baeldung/equalshashcode/entities/ComplexClass.java b/core-java/src/main/java/org/baeldung/equalshashcode/entities/ComplexClass.java new file mode 100644 index 0000000000..6329f41252 --- /dev/null +++ b/core-java/src/main/java/org/baeldung/equalshashcode/entities/ComplexClass.java @@ -0,0 +1,63 @@ +package org.baeldung.equalshashcode.entities; + +import java.util.List; +import java.util.Set; + +public class ComplexClass { + + private List genericList; + private Set integerSet; + + public ComplexClass(List genericArrayList, Set integerHashSet) { + super(); + this.genericList = genericArrayList; + this.integerSet = integerHashSet; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((genericList == null) ? 0 : genericList.hashCode()); + result = prime * result + ((integerSet == null) ? 0 : integerSet.hashCode()); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (!(obj instanceof ComplexClass)) + return false; + ComplexClass other = (ComplexClass) obj; + if (genericList == null) { + if (other.genericList != null) + return false; + } else if (!genericList.equals(other.genericList)) + return false; + if (integerSet == null) { + if (other.integerSet != null) + return false; + } else if (!integerSet.equals(other.integerSet)) + return false; + return true; + } + + protected List getGenericList() { + return genericList; + } + + protected void setGenericArrayList(List genericList) { + this.genericList = genericList; + } + + protected Set getIntegerSet() { + return integerSet; + } + + protected void setIntegerSet(Set integerSet) { + this.integerSet = integerSet; + } +} diff --git a/core-java/src/main/java/org/baeldung/equalshashcode/entities/PrimitiveClass.java b/core-java/src/main/java/org/baeldung/equalshashcode/entities/PrimitiveClass.java new file mode 100644 index 0000000000..ebe005688c --- /dev/null +++ b/core-java/src/main/java/org/baeldung/equalshashcode/entities/PrimitiveClass.java @@ -0,0 +1,54 @@ +package org.baeldung.equalshashcode.entities; + +public class PrimitiveClass { + + private boolean primitiveBoolean; + private int primitiveInt; + + public PrimitiveClass(boolean primitiveBoolean, int primitiveInt) { + super(); + this.primitiveBoolean = primitiveBoolean; + this.primitiveInt = primitiveInt; + } + + protected boolean isPrimitiveBoolean() { + return primitiveBoolean; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + (primitiveBoolean ? 1231 : 1237); + result = prime * result + primitiveInt; + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + PrimitiveClass other = (PrimitiveClass) obj; + if (primitiveBoolean != other.primitiveBoolean) + return false; + if (primitiveInt != other.primitiveInt) + return false; + return true; + } + + protected void setPrimitiveBoolean(boolean primitiveBoolean) { + this.primitiveBoolean = primitiveBoolean; + } + + protected int getPrimitiveInt() { + return primitiveInt; + } + + protected void setPrimitiveInt(int primitiveInt) { + this.primitiveInt = primitiveInt; + } +} diff --git a/core-java/src/main/java/org/baeldung/equalshashcode/entities/Rectangle.java b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Rectangle.java new file mode 100644 index 0000000000..1e1423f0b3 --- /dev/null +++ b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Rectangle.java @@ -0,0 +1,58 @@ +package org.baeldung.equalshashcode.entities; + +public class Rectangle extends Shape { + private double width; + private double length; + + public Rectangle(double width, double length) { + this.width = width; + this.length = length; + } + + @Override + public double area() { + return width * length; + } + + @Override + public double perimeter() { + return 2 * (width + length); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(length); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(width); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Rectangle other = (Rectangle) obj; + if (Double.doubleToLongBits(length) != Double.doubleToLongBits(other.length)) + return false; + if (Double.doubleToLongBits(width) != Double.doubleToLongBits(other.width)) + return false; + return true; + } + + protected double getWidth() { + return width; + } + + protected double getLength() { + return length; + } + +} \ No newline at end of file diff --git a/core-java/src/main/java/org/baeldung/equalshashcode/entities/Shape.java b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Shape.java new file mode 100644 index 0000000000..3bfc81da8f --- /dev/null +++ b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Shape.java @@ -0,0 +1,7 @@ +package org.baeldung.equalshashcode.entities; + +public abstract class Shape { + public abstract double area(); + + public abstract double perimeter(); +} diff --git a/core-java/src/main/java/org/baeldung/equalshashcode/entities/Square.java b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Square.java new file mode 100644 index 0000000000..f11e34f0ba --- /dev/null +++ b/core-java/src/main/java/org/baeldung/equalshashcode/entities/Square.java @@ -0,0 +1,58 @@ +package org.baeldung.equalshashcode.entities; + +import java.awt.Color; + +public class Square extends Rectangle { + + Color color; + + public Square(double width, Color color) { + super(width, width); + this.color = color; + } + + /* (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + @Override + public int hashCode() { + final int prime = 31; + int result = super.hashCode(); + result = prime * result + ((color == null) ? 0 : color.hashCode()); + return result; + } + + /* (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (!super.equals(obj)) { + return false; + } + if (!(obj instanceof Square)) { + return false; + } + Square other = (Square) obj; + if (color == null) { + if (other.color != null) { + return false; + } + } else if (!color.equals(other.color)) { + return false; + } + return true; + } + + protected Color getColor() { + return color; + } + + protected void setColor(Color color) { + this.color = color; + } + +} diff --git a/core-java/src/main/java/org/baeldung/executable/ExecutableMavenJar.java b/core-java/src/main/java/org/baeldung/executable/ExecutableMavenJar.java new file mode 100644 index 0000000000..09344902b7 --- /dev/null +++ b/core-java/src/main/java/org/baeldung/executable/ExecutableMavenJar.java @@ -0,0 +1,11 @@ +package org.baeldung.executable; + +import javax.swing.JOptionPane; + +public class ExecutableMavenJar { + + public static void main(String[] args) { + JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1); + } + +} diff --git a/core-java/src/main/resources/dirCompressed.zip b/core-java/src/main/resources/dirCompressed.zip new file mode 100644 index 0000000000..f42d3aa5c6 Binary files /dev/null and b/core-java/src/main/resources/dirCompressed.zip differ diff --git a/core-java/src/main/resources/fileTest.txt b/core-java/src/main/resources/fileTest.txt new file mode 100644 index 0000000000..ce4bea208b --- /dev/null +++ b/core-java/src/main/resources/fileTest.txt @@ -0,0 +1 @@ +Hello World from fileTest.txt!!! \ No newline at end of file diff --git a/core-java/src/main/resources/logback.xml b/core-java/src/main/resources/logback.xml new file mode 100644 index 0000000000..62d0ea5037 --- /dev/null +++ b/core-java/src/main/resources/logback.xml @@ -0,0 +1,16 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + \ No newline at end of file diff --git a/core-java/src/main/resources/multiCompressed.zip b/core-java/src/main/resources/multiCompressed.zip new file mode 100644 index 0000000000..002e70ef81 Binary files /dev/null and b/core-java/src/main/resources/multiCompressed.zip differ diff --git a/core-java/src/main/resources/sample.txt b/core-java/src/main/resources/sample.txt new file mode 100644 index 0000000000..20f137b416 --- /dev/null +++ b/core-java/src/main/resources/sample.txt @@ -0,0 +1,2 @@ +line 1 +a second line \ No newline at end of file diff --git a/core-java/src/main/resources/targetFile.tmp b/core-java/src/main/resources/targetFile.tmp new file mode 100644 index 0000000000..20f137b416 --- /dev/null +++ b/core-java/src/main/resources/targetFile.tmp @@ -0,0 +1,2 @@ +line 1 +a second line \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/CharToStringUnitTest.java b/core-java/src/test/java/com/baeldung/CharToStringUnitTest.java new file mode 100644 index 0000000000..78742e356d --- /dev/null +++ b/core-java/src/test/java/com/baeldung/CharToStringUnitTest.java @@ -0,0 +1,53 @@ +package com.baeldung; + +import org.junit.Test; + +import static org.assertj.core.api.Assertions.assertThat; + +public class CharToStringUnitTest { + + @Test + public void givenChar_whenCallingStringValueOf_shouldConvertToString() { + final char givenChar = 'x'; + + final String result = String.valueOf(givenChar); + + assertThat(result).isEqualTo("x"); + } + + @Test + public void givenChar_whenCallingToStringOnCharacter_shouldConvertToString() { + final char givenChar = 'x'; + + final String result = Character.toString(givenChar); + + assertThat(result).isEqualTo("x"); + } + + @Test + public void givenChar_whenCallingCharacterConstructor_shouldConvertToString3() { + final char givenChar = 'x'; + + final String result = new Character(givenChar).toString(); + + assertThat(result).isEqualTo("x"); + } + + @Test + public void givenChar_whenConcatenated_shouldConvertToString4() { + final char givenChar = 'x'; + + final String result = givenChar + ""; + + assertThat(result).isEqualTo("x"); + } + + @Test + public void givenChar_whenFormated_shouldConvertToString5() { + final char givenChar = 'x'; + + final String result = String.format("%c", givenChar); + + assertThat(result).isEqualTo("x"); + } +} diff --git a/core-java/src/test/java/com/baeldung/RandomListElementUnitTest.java b/core-java/src/test/java/com/baeldung/RandomListElementUnitTest.java new file mode 100644 index 0000000000..6ae7c40f4d --- /dev/null +++ b/core-java/src/test/java/com/baeldung/RandomListElementUnitTest.java @@ -0,0 +1,71 @@ +package com.baeldung; + +import com.google.common.collect.Lists; +import org.junit.Test; + +import java.util.*; +import java.util.concurrent.ThreadLocalRandom; + +public class RandomListElementUnitTest { + + @Test + public void givenList_whenRandomIndexChosen_shouldReturnARandomElementUsingRandom() { + List givenList = Lists.newArrayList(1, 2, 3); + Random rand = new Random(); + + givenList.get(rand.nextInt(givenList.size())); + } + + @Test + public void givenList_whenRandomIndexChosen_shouldReturnARandomElementUsingMathRandom() { + List givenList = Lists.newArrayList(1, 2, 3); + + givenList.get((int) (Math.random() * givenList.size())); + } + + @Test + public void givenList_whenNumberElementsChosen_shouldReturnRandomElementsRepeat() { + Random rand = new Random(); + List givenList = Lists.newArrayList("one", "two", "three", "four"); + + int numberOfElements = 2; + + for (int i = 0; i < numberOfElements; i++) { + int randomIndex = rand.nextInt(givenList.size()); + givenList.get(randomIndex); + } + } + + @Test + public void givenList_whenNumberElementsChosen_shouldReturnRandomElementsNoRepeat() { + Random rand = new Random(); + List givenList = Lists.newArrayList("one", "two", "three", "four"); + + int numberOfElements = 2; + + for (int i = 0; i < numberOfElements; i++) { + int randomIndex = rand.nextInt(givenList.size()); + givenList.get(randomIndex); + givenList.remove(randomIndex); + } + } + + @Test + public void givenList_whenSeriesLengthChosen_shouldReturnRandomSeries() { + List givenList = Lists.newArrayList(1, 2, 3, 4, 5, 6); + Collections.shuffle(givenList); + + int randomSeriesLength = 3; + + givenList.subList(0, randomSeriesLength - 1); + } + + @Test + public void givenList_whenRandomIndexChosen_shouldReturnElementThreadSafely() { + List givenList = Lists.newArrayList(1, 2, 3, 4, 5, 6); + int randomIndex = ThreadLocalRandom.current().nextInt(10) % givenList.size(); + + givenList.get(randomIndex); + } + +} diff --git a/core-java/src/test/java/com/baeldung/StringToIntOrIntegerUnitTest.java b/core-java/src/test/java/com/baeldung/StringToIntOrIntegerUnitTest.java new file mode 100644 index 0000000000..a7ad0bf114 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/StringToIntOrIntegerUnitTest.java @@ -0,0 +1,62 @@ +package com.baeldung; + +import static org.assertj.core.api.Assertions.assertThat; + +import org.junit.Test; + +import com.google.common.primitives.Ints; + +public class StringToIntOrIntegerUnitTest { + + @Test + public void givenString_whenParsingInt_shouldConvertToInt() { + String givenString = "42"; + + int result = Integer.parseInt(givenString); + + assertThat(result).isEqualTo(42); + } + + @Test + public void givenString_whenCallingIntegerValueOf_shouldConvertToInt() { + String givenString = "42"; + + Integer result = Integer.valueOf(givenString); + + assertThat(result).isEqualTo(new Integer(42)); + } + + @Test + public void givenString_whenCallingIntegerConstructor_shouldConvertToInt() { + String givenString = "42"; + + Integer result = new Integer(givenString); + + assertThat(result).isEqualTo(new Integer(42)); + } + + @Test + public void givenString_whenCallingIntegerDecode_shouldConvertToInt() { + String givenString = "42"; + + int result = Integer.decode(givenString); + + assertThat(result).isEqualTo(42); + } + + @Test + public void givenString_whenTryParse_shouldConvertToInt() { + String givenString = "42"; + + Integer result = Ints.tryParse(givenString); + + assertThat(result).isEqualTo(42); + } + + @Test(expected = NumberFormatException.class) + public void givenInvalidInput_whenParsingInt_shouldThrow() { + String givenString = "nan"; + Integer.parseInt(givenString); + } + +} diff --git a/core-java/src/test/java/com/baeldung/collectors/Java8CollectorsUnitTest.java b/core-java/src/test/java/com/baeldung/collectors/Java8CollectorsUnitTest.java new file mode 100644 index 0000000000..dbddbe6c54 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/collectors/Java8CollectorsUnitTest.java @@ -0,0 +1,210 @@ +package com.baeldung.collectors; + +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Sets; +import org.junit.Test; + +import java.util.Arrays; +import java.util.Comparator; +import java.util.DoubleSummaryStatistics; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.function.BiConsumer; +import java.util.function.BinaryOperator; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collector; + +import static com.google.common.collect.Sets.newHashSet; +import static java.util.stream.Collectors.averagingDouble; +import static java.util.stream.Collectors.collectingAndThen; +import static java.util.stream.Collectors.counting; +import static java.util.stream.Collectors.groupingBy; +import static java.util.stream.Collectors.joining; +import static java.util.stream.Collectors.maxBy; +import static java.util.stream.Collectors.partitioningBy; +import static java.util.stream.Collectors.summarizingDouble; +import static java.util.stream.Collectors.summingDouble; +import static java.util.stream.Collectors.toCollection; +import static java.util.stream.Collectors.toList; +import static java.util.stream.Collectors.toMap; +import static java.util.stream.Collectors.toSet; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; + +public class Java8CollectorsUnitTest { + + private final List givenList = Arrays.asList("a", "bb", "ccc", "dd"); + + @Test + public void whenCollectingToList_shouldCollectToList() throws Exception { + final List result = givenList.stream().collect(toList()); + + assertThat(result).containsAll(givenList); + } + + @Test + public void whenCollectingToList_shouldCollectToSet() throws Exception { + final Set result = givenList.stream().collect(toSet()); + + assertThat(result).containsAll(givenList); + } + + @Test + public void whenCollectingToCollection_shouldCollectToCollection() throws Exception { + final List result = givenList.stream().collect(toCollection(LinkedList::new)); + + assertThat(result).containsAll(givenList).isInstanceOf(LinkedList.class); + } + + @Test + public void whenCollectingToImmutableCollection_shouldThrowException() throws Exception { + assertThatThrownBy(() -> { + givenList.stream().collect(toCollection(ImmutableList::of)); + }).isInstanceOf(UnsupportedOperationException.class); + + } + + @Test + public void whenCollectingToMap_shouldCollectToMap() throws Exception { + final Map result = givenList.stream().collect(toMap(Function.identity(), String::length)); + + assertThat(result).containsEntry("a", 1).containsEntry("bb", 2).containsEntry("ccc", 3).containsEntry("dd", 2); + } + + @Test + public void whenCollectingToMap_shouldCollectToMapMerging() throws Exception { + final Map result = givenList.stream().collect(toMap(Function.identity(), String::length, (i1, i2) -> i1)); + + assertThat(result).containsEntry("a", 1).containsEntry("bb", 2).containsEntry("ccc", 3).containsEntry("dd", 2); + } + + @Test + public void whenCollectingAndThen_shouldCollect() throws Exception { + final List result = givenList.stream().collect(collectingAndThen(toList(), ImmutableList::copyOf)); + + assertThat(result).containsAll(givenList).isInstanceOf(ImmutableList.class); + } + + @Test + public void whenJoining_shouldJoin() throws Exception { + final String result = givenList.stream().collect(joining()); + + assertThat(result).isEqualTo("abbcccdd"); + } + + @Test + public void whenJoiningWithSeparator_shouldJoinWithSeparator() throws Exception { + final String result = givenList.stream().collect(joining(" ")); + + assertThat(result).isEqualTo("a bb ccc dd"); + } + + @Test + public void whenJoiningWithSeparatorAndPrefixAndPostfix_shouldJoinWithSeparatorPrePost() throws Exception { + final String result = givenList.stream().collect(joining(" ", "PRE-", "-POST")); + + assertThat(result).isEqualTo("PRE-a bb ccc dd-POST"); + } + + @Test + public void whenPartitioningBy_shouldPartition() throws Exception { + final Map> result = givenList.stream().collect(partitioningBy(s -> s.length() > 2)); + + assertThat(result).containsKeys(true, false).satisfies(booleanListMap -> { + assertThat(booleanListMap.get(true)).contains("ccc"); + + assertThat(booleanListMap.get(false)).contains("a", "bb", "dd"); + }); + } + + @Test + public void whenCounting_shouldCount() throws Exception { + final Long result = givenList.stream().collect(counting()); + + assertThat(result).isEqualTo(4); + } + + @Test + public void whenSummarizing_shouldSummarize() throws Exception { + final DoubleSummaryStatistics result = givenList.stream().collect(summarizingDouble(String::length)); + + assertThat(result.getAverage()).isEqualTo(2); + assertThat(result.getCount()).isEqualTo(4); + assertThat(result.getMax()).isEqualTo(3); + assertThat(result.getMin()).isEqualTo(1); + assertThat(result.getSum()).isEqualTo(8); + } + + @Test + public void whenAveraging_shouldAverage() throws Exception { + final Double result = givenList.stream().collect(averagingDouble(String::length)); + + assertThat(result).isEqualTo(2); + } + + @Test + public void whenSumming_shouldSum() throws Exception { + final Double result = givenList.stream().collect(summingDouble(String::length)); + + assertThat(result).isEqualTo(8); + } + + @Test + public void whenMaxingBy_shouldMaxBy() throws Exception { + final Optional result = givenList.stream().collect(maxBy(Comparator.naturalOrder())); + + assertThat(result).isPresent().hasValue("dd"); + } + + @Test + public void whenGroupingBy_shouldGroupBy() throws Exception { + final Map> result = givenList.stream().collect(groupingBy(String::length, toSet())); + + assertThat(result).containsEntry(1, newHashSet("a")).containsEntry(2, newHashSet("bb", "dd")).containsEntry(3, newHashSet("ccc")); + } + + @Test + public void whenCreatingCustomCollector_shouldCollect() throws Exception { + final ImmutableSet result = givenList.stream().collect(toImmutableSet()); + + assertThat(result).isInstanceOf(ImmutableSet.class).contains("a", "bb", "ccc", "dd"); + + } + + private static ImmutableSetCollector toImmutableSet() { + return new ImmutableSetCollector<>(); + } + + private static class ImmutableSetCollector implements Collector, ImmutableSet> { + + @Override + public Supplier> supplier() { + return ImmutableSet::builder; + } + + @Override + public BiConsumer, T> accumulator() { + return ImmutableSet.Builder::add; + } + + @Override + public BinaryOperator> combiner() { + return (left, right) -> left.addAll(right.build()); + } + + @Override + public Function, ImmutableSet> finisher() { + return ImmutableSet.Builder::build; + } + + @Override + public Set characteristics() { + return Sets.immutableEnumSet(Characteristics.UNORDERED); + } + } +} diff --git a/core-java/src/test/java/com/baeldung/completablefuture/CompletableFutureUnitTest.java b/core-java/src/test/java/com/baeldung/completablefuture/CompletableFutureUnitTest.java new file mode 100644 index 0000000000..df12c3d79e --- /dev/null +++ b/core-java/src/test/java/com/baeldung/completablefuture/CompletableFutureUnitTest.java @@ -0,0 +1,176 @@ +package com.baeldung.completablefuture; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.util.concurrent.CancellationException; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Executors; +import java.util.concurrent.Future; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import org.junit.Test; + +public class CompletableFutureUnitTest { + + @Test + public void whenRunningCompletableFutureAsynchronously_thenGetMethodWaitsForResult() throws InterruptedException, ExecutionException { + Future completableFuture = calculateAsync(); + + String result = completableFuture.get(); + assertEquals("Hello", result); + } + + public Future calculateAsync() throws InterruptedException { + CompletableFuture completableFuture = new CompletableFuture<>(); + + Executors.newCachedThreadPool().submit(() -> { + Thread.sleep(500); + completableFuture.complete("Hello"); + return null; + }); + + return completableFuture; + } + + @Test + public void whenRunningCompletableFutureWithResult_thenGetMethodReturnsImmediately() throws InterruptedException, ExecutionException { + Future completableFuture = CompletableFuture.completedFuture("Hello"); + + String result = completableFuture.get(); + assertEquals("Hello", result); + } + + public Future calculateAsyncWithCancellation() throws InterruptedException { + CompletableFuture completableFuture = new CompletableFuture<>(); + + Executors.newCachedThreadPool().submit(() -> { + Thread.sleep(500); + completableFuture.cancel(false); + return null; + }); + + return completableFuture; + } + + @Test(expected = CancellationException.class) + public void whenCancelingTheFuture_thenThrowsCancellationException() throws ExecutionException, InterruptedException { + Future future = calculateAsyncWithCancellation(); + future.get(); + } + + @Test + public void whenCreatingCompletableFutureWithSupplyAsync_thenFutureReturnsValue() throws ExecutionException, InterruptedException { + CompletableFuture future = CompletableFuture.supplyAsync(() -> "Hello"); + + assertEquals("Hello", future.get()); + } + + @Test + public void whenAddingThenAcceptToFuture_thenFunctionExecutesAfterComputationIsFinished() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello"); + + CompletableFuture future = completableFuture.thenAccept(s -> System.out.println("Computation returned: " + s)); + + future.get(); + } + + @Test + public void whenAddingThenRunToFuture_thenFunctionExecutesAfterComputationIsFinished() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello"); + + CompletableFuture future = completableFuture.thenRun(() -> System.out.println("Computation finished.")); + + future.get(); + } + + @Test + public void whenAddingThenApplyToFuture_thenFunctionExecutesAfterComputationIsFinished() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello"); + + CompletableFuture future = completableFuture.thenApply(s -> s + " World"); + + assertEquals("Hello World", future.get()); + } + + @Test + public void whenUsingThenCompose_thenFuturesExecuteSequentially() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello").thenCompose(s -> CompletableFuture.supplyAsync(() -> s + " World")); + + assertEquals("Hello World", completableFuture.get()); + } + + @Test + public void whenUsingThenCombine_thenWaitForExecutionOfBothFutures() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello").thenCombine(CompletableFuture.supplyAsync(() -> " World"), (s1, s2) -> s1 + s2); + + assertEquals("Hello World", completableFuture.get()); + } + + @Test + public void whenUsingThenAcceptBoth_thenWaitForExecutionOfBothFutures() throws ExecutionException, InterruptedException { + CompletableFuture.supplyAsync(() -> "Hello").thenAcceptBoth(CompletableFuture.supplyAsync(() -> " World"), (s1, s2) -> System.out.println(s1 + s2)); + } + + @Test + public void whenFutureCombinedWithAllOfCompletes_thenAllFuturesAreDone() throws ExecutionException, InterruptedException { + CompletableFuture future1 = CompletableFuture.supplyAsync(() -> "Hello"); + CompletableFuture future2 = CompletableFuture.supplyAsync(() -> "Beautiful"); + CompletableFuture future3 = CompletableFuture.supplyAsync(() -> "World"); + + CompletableFuture combinedFuture = CompletableFuture.allOf(future1, future2, future3); + + // ... + + combinedFuture.get(); + + assertTrue(future1.isDone()); + assertTrue(future2.isDone()); + assertTrue(future3.isDone()); + + String combined = Stream.of(future1, future2, future3).map(CompletableFuture::join).collect(Collectors.joining(" ")); + + assertEquals("Hello Beautiful World", combined); + } + + @Test + public void whenFutureThrows_thenHandleMethodReceivesException() throws ExecutionException, InterruptedException { + String name = null; + + // ... + + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> { + if (name == null) { + throw new RuntimeException("Computation error!"); + } + return "Hello, " + name; + }).handle((s, t) -> s != null ? s : "Hello, Stranger!"); + + assertEquals("Hello, Stranger!", completableFuture.get()); + } + + @Test(expected = ExecutionException.class) + public void whenCompletingFutureExceptionally_thenGetMethodThrows() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = new CompletableFuture<>(); + + // ... + + completableFuture.completeExceptionally(new RuntimeException("Calculation failed!")); + + // ... + + completableFuture.get(); + } + + @Test + public void whenAddingThenApplyAsyncToFuture_thenFunctionExecutesAfterComputationIsFinished() throws ExecutionException, InterruptedException { + CompletableFuture completableFuture = CompletableFuture.supplyAsync(() -> "Hello"); + + CompletableFuture future = completableFuture.thenApplyAsync(s -> s + " World"); + + assertEquals("Hello World", future.get()); + } + +} \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/dateapi/ConversionExample.java b/core-java/src/test/java/com/baeldung/dateapi/ConversionExample.java new file mode 100644 index 0000000000..a543c80eaf --- /dev/null +++ b/core-java/src/test/java/com/baeldung/dateapi/ConversionExample.java @@ -0,0 +1,19 @@ +package com.baeldung.dateapi; + +import java.time.Instant; +import java.time.ZoneId; +import java.time.ZonedDateTime; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.TimeZone; + +public class ConversionExample { + public static void main(String[] args) { + Instant instantFromCalendar = GregorianCalendar.getInstance().toInstant(); + ZonedDateTime zonedDateTimeFromCalendar = new GregorianCalendar().toZonedDateTime(); + Date dateFromInstant = Date.from(Instant.now()); + GregorianCalendar calendarFromZonedDateTime = GregorianCalendar.from(ZonedDateTime.now()); + Instant instantFromDate = new Date().toInstant(); + ZoneId zoneIdFromTimeZone = TimeZone.getTimeZone("PST").toZoneId(); + } +} diff --git a/core-java/src/test/java/com/baeldung/dateapi/JavaUtilTimeUnitTest.java b/core-java/src/test/java/com/baeldung/dateapi/JavaUtilTimeUnitTest.java new file mode 100644 index 0000000000..e4753dbd5c --- /dev/null +++ b/core-java/src/test/java/com/baeldung/dateapi/JavaUtilTimeUnitTest.java @@ -0,0 +1,89 @@ +package com.baeldung.dateapi; + +import org.junit.Test; + +import java.text.ParseException; +import java.time.Duration; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.Month; +import java.time.YearMonth; +import java.time.format.DateTimeFormatter; +import java.time.temporal.ChronoUnit; + +import static org.assertj.core.api.Assertions.assertThat; + +public class JavaUtilTimeUnitTest { + + @Test + public void currentTime() { + final LocalDate now = LocalDate.now(); + + System.out.println(now); + // there is not much to test here + } + + @Test + public void specificTime() { + LocalDate birthDay = LocalDate.of(1990, Month.DECEMBER, 15); + + System.out.println(birthDay); + // there is not much to test here + } + + @Test + public void extractMonth() { + Month month = LocalDate.of(1990, Month.DECEMBER, 15).getMonth(); + + assertThat(month).isEqualTo(Month.DECEMBER); + } + + @Test + public void subtractTime() { + LocalDateTime fiveHoursBefore = LocalDateTime.of(1990, Month.DECEMBER, 15, 15, 0).minusHours(5); + + assertThat(fiveHoursBefore.getHour()).isEqualTo(10); + } + + @Test + public void alterField() { + LocalDateTime inJune = LocalDateTime.of(1990, Month.DECEMBER, 15, 15, 0).with(Month.JUNE); + + assertThat(inJune.getMonth()).isEqualTo(Month.JUNE); + } + + @Test + public void truncate() { + LocalTime truncated = LocalTime.of(15, 12, 34).truncatedTo(ChronoUnit.HOURS); + + assertThat(truncated).isEqualTo(LocalTime.of(15, 0, 0)); + } + + @Test + public void getTimeSpan() { + LocalDateTime now = LocalDateTime.now(); + LocalDateTime hourLater = now.plusHours(1); + Duration span = Duration.between(now, hourLater); + + assertThat(span).isEqualTo(Duration.ofHours(1)); + } + + @Test + public void formatAndParse() throws ParseException { + LocalDate someDate = LocalDate.of(2016, 12, 7); + DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); + String formattedDate = someDate.format(formatter); + LocalDate parsedDate = LocalDate.parse(formattedDate, formatter); + + assertThat(formattedDate).isEqualTo("2016-12-07"); + assertThat(parsedDate).isEqualTo(someDate); + } + + @Test + public void daysInMonth() { + int daysInMonth = YearMonth.of(1990, 2).lengthOfMonth(); + + assertThat(daysInMonth).isEqualTo(28); + } +} diff --git a/core-java/src/test/java/com/baeldung/datetime/UseLocalDateTimeUnitTest.java b/core-java/src/test/java/com/baeldung/datetime/UseLocalDateTimeUnitTest.java new file mode 100644 index 0000000000..57e1f33280 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/datetime/UseLocalDateTimeUnitTest.java @@ -0,0 +1,19 @@ +package com.baeldung.datetime; + +import java.time.LocalDate; +import java.time.LocalTime; +import java.time.Month; + +import org.junit.Assert; +import org.junit.Test; + +public class UseLocalDateTimeUnitTest { + + UseLocalDateTime useLocalDateTime = new UseLocalDateTime(); + + @Test + public void givenString_whenUsingParse_thenLocalDateTime() { + Assert.assertEquals(LocalDate.of(2016, Month.MAY, 10), useLocalDateTime.getLocalDateTimeUsingParseMethod("2016-05-10T06:30").toLocalDate()); + Assert.assertEquals(LocalTime.of(6, 30), useLocalDateTime.getLocalDateTimeUsingParseMethod("2016-05-10T06:30").toLocalTime()); + } +} diff --git a/core-java/src/test/java/com/baeldung/datetime/UseLocalDateUnitTest.java b/core-java/src/test/java/com/baeldung/datetime/UseLocalDateUnitTest.java new file mode 100644 index 0000000000..8f1997e9e8 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/datetime/UseLocalDateUnitTest.java @@ -0,0 +1,54 @@ +package com.baeldung.datetime; + +import java.time.DayOfWeek; +import java.time.LocalDate; +import java.time.LocalDateTime; + +import org.junit.Assert; +import org.junit.Test; + +public class UseLocalDateUnitTest { + + UseLocalDate useLocalDate = new UseLocalDate(); + + @Test + public void givenValues_whenUsingFactoryOf_thenLocalDate() { + Assert.assertEquals("2016-05-10", useLocalDate.getLocalDateUsingFactoryOfMethod(2016, 5, 10).toString()); + } + + @Test + public void givenString_whenUsingParse_thenLocalDate() { + Assert.assertEquals("2016-05-10", useLocalDate.getLocalDateUsingParseMethod("2016-05-10").toString()); + } + + @Test + public void whenUsingClock_thenLocalDate() { + Assert.assertEquals(LocalDate.now(), useLocalDate.getLocalDateFromClock()); + } + + @Test + public void givenDate_whenUsingPlus_thenNextDay() { + Assert.assertEquals(LocalDate.now().plusDays(1), useLocalDate.getNextDay(LocalDate.now())); + } + + @Test + public void givenDate_whenUsingMinus_thenPreviousDay() { + Assert.assertEquals(LocalDate.now().minusDays(1), useLocalDate.getPreviousDay(LocalDate.now())); + } + + @Test + public void givenToday_whenUsingGetDayOfWeek_thenDayOfWeek() { + Assert.assertEquals(DayOfWeek.SUNDAY, useLocalDate.getDayOfWeek(LocalDate.parse("2016-05-22"))); + } + + @Test + public void givenToday_whenUsingWithTemporalAdjuster_thenFirstDayOfMonth() { + Assert.assertEquals(1, useLocalDate.getFirstDayOfMonth().getDayOfMonth()); + } + + @Test + public void givenLocalDate_whenUsingAtStartOfDay_thenReturnMidnight() { + Assert.assertEquals(LocalDateTime.parse("2016-05-22T00:00:00"), useLocalDate.getStartOfDay(LocalDate.parse("2016-05-22"))); + } + +} diff --git a/core-java/src/test/java/com/baeldung/datetime/UseLocalTimeUnitTest.java b/core-java/src/test/java/com/baeldung/datetime/UseLocalTimeUnitTest.java new file mode 100644 index 0000000000..996e200ae9 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/datetime/UseLocalTimeUnitTest.java @@ -0,0 +1,36 @@ +package com.baeldung.datetime; + +import java.time.LocalTime; + +import org.junit.Assert; +import org.junit.Test; + +public class UseLocalTimeUnitTest { + + UseLocalTime useLocalTime = new UseLocalTime(); + + @Test + public void givenValues_whenUsingFactoryOf_thenLocalTime() { + Assert.assertEquals("07:07:07", useLocalTime.getLocalTimeUsingFactoryOfMethod(7, 7, 7).toString()); + } + + @Test + public void givenString_whenUsingParse_thenLocalTime() { + Assert.assertEquals("06:30", useLocalTime.getLocalTimeUsingParseMethod("06:30").toString()); + } + + @Test + public void givenTime_whenAddHour_thenLocalTime() { + Assert.assertEquals("07:30", useLocalTime.addAnHour(LocalTime.of(6, 30)).toString()); + } + + @Test + public void getHourFromLocalTime() { + Assert.assertEquals(1, useLocalTime.getHourFromLocalTime(LocalTime.of(1, 1))); + } + + @Test + public void getLocalTimeWithMinuteSetToValue() { + Assert.assertEquals(LocalTime.of(10, 20), useLocalTime.getLocalTimeWithMinuteSetToValue(LocalTime.of(10, 10), 20)); + } +} diff --git a/core-java/src/test/java/com/baeldung/datetime/UsePeriodUnitTest.java b/core-java/src/test/java/com/baeldung/datetime/UsePeriodUnitTest.java new file mode 100644 index 0000000000..7c030c328a --- /dev/null +++ b/core-java/src/test/java/com/baeldung/datetime/UsePeriodUnitTest.java @@ -0,0 +1,26 @@ +package com.baeldung.datetime; + +import java.time.LocalDate; +import java.time.Period; + +import org.junit.Assert; +import org.junit.Test; + +public class UsePeriodUnitTest { + UsePeriod usingPeriod = new UsePeriod(); + + @Test + public void givenPeriodAndLocalDate_thenCalculateModifiedDate() { + Period period = Period.ofDays(1); + LocalDate localDate = LocalDate.parse("2007-05-10"); + Assert.assertEquals(localDate.plusDays(1), usingPeriod.modifyDates(localDate, period)); + } + + @Test + public void givenDates_thenGetPeriod() { + LocalDate localDate1 = LocalDate.parse("2007-05-10"); + LocalDate localDate2 = LocalDate.parse("2007-05-15"); + + Assert.assertEquals(Period.ofDays(5), usingPeriod.getDifferenceBetweenDates(localDate1, localDate2)); + } +} diff --git a/core-java/src/test/java/com/baeldung/datetime/UseZonedDateTimeUnitTest.java b/core-java/src/test/java/com/baeldung/datetime/UseZonedDateTimeUnitTest.java new file mode 100644 index 0000000000..5fb079b94c --- /dev/null +++ b/core-java/src/test/java/com/baeldung/datetime/UseZonedDateTimeUnitTest.java @@ -0,0 +1,20 @@ +package com.baeldung.datetime; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.time.ZonedDateTime; + +import org.junit.Assert; +import org.junit.Test; + +public class UseZonedDateTimeUnitTest { + + UseZonedDateTime zonedDateTime = new UseZonedDateTime(); + + @Test + public void givenZoneId_thenZonedDateTime() { + ZoneId zoneId = ZoneId.of("Europe/Paris"); + ZonedDateTime zonedDatetime = zonedDateTime.getZonedDateTime(LocalDateTime.parse("2016-05-20T06:30"), zoneId); + Assert.assertEquals(zoneId, ZoneId.from(zonedDatetime)); + } +} diff --git a/core-java/src/test/java/com/baeldung/doublecolon/ComputerUtilsUnitTest.java b/core-java/src/test/java/com/baeldung/doublecolon/ComputerUtilsUnitTest.java new file mode 100644 index 0000000000..f69e4b03ee --- /dev/null +++ b/core-java/src/test/java/com/baeldung/doublecolon/ComputerUtilsUnitTest.java @@ -0,0 +1,91 @@ +package com.baeldung.doublecolon; + +import com.baeldung.doublecolon.function.TriFunction; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +import java.util.Arrays; +import java.util.Comparator; +import java.util.List; +import java.util.function.BiFunction; + +import static com.baeldung.doublecolon.ComputerUtils.*; + +public class ComputerUtilsUnitTest { + + @Before + public void setup() { + } + + @After + public void tearDown() { + } + + @Test + public void testConstructorReference() { + + Computer c1 = new Computer(2015, "white"); + Computer c2 = new Computer(2009, "black"); + Computer c3 = new Computer(2014, "black"); + + BiFunction c4Function = Computer::new; + Computer c4 = c4Function.apply(2013, "white"); + BiFunction c5Function = Computer::new; + Computer c5 = c5Function.apply(2010, "black"); + BiFunction c6Function = Computer::new; + Computer c6 = c6Function.apply(2008, "black"); + + List inventory = Arrays.asList(c1, c2, c3, c4, c5, c6); + + List blackComputer = filter(inventory, blackPredicate); + Assert.assertEquals("The black Computers are: ", blackComputer.size(), 4); + + List after2010Computer = filter(inventory, after2010Predicate); + Assert.assertEquals("The Computer bought after 2010 are: ", after2010Computer.size(), 3); + + List before2011Computer = filter(inventory, c -> c.getAge() < 2011); + Assert.assertEquals("The Computer bought before 2011 are: ", before2011Computer.size(), 3); + + inventory.sort(Comparator.comparing(Computer::getAge)); + + Assert.assertEquals("Oldest Computer in inventory", c6, inventory.get(0)); + + } + + @Test + public void testStaticMethodReference() { + + Computer c1 = new Computer(2015, "white", 35); + Computer c2 = new Computer(2009, "black", 65); + TriFunction c6Function = Computer::new; + Computer c3 = c6Function.apply(2008, "black", 90); + + List inventory = Arrays.asList(c1, c2, c3); + inventory.forEach(ComputerUtils::repair); + + Assert.assertEquals("Computer repaired", new Integer(100), c1.getHealty()); + } + + @Test + public void testInstanceMethodArbitraryObjectParticularType() { + + Computer c1 = new Computer(2015, "white", 35); + Computer c2 = new MacbookPro(2009, "black", 65); + List inventory = Arrays.asList(c1, c2); + inventory.forEach(Computer::turnOnPc); + + } + + @Test + public void testSuperMethodReference() { + + final TriFunction integerStringIntegerObjectTriFunction = MacbookPro::new; + final MacbookPro macbookPro = integerStringIntegerObjectTriFunction.apply(2010, "black", 100); + Double initialValue = new Double(999.99); + final Double actualValue = macbookPro.calculateValue(initialValue); + Assert.assertEquals(766.659, actualValue, 0.0); + } + +} diff --git a/core-java/src/test/java/com/baeldung/encoderdecoder/EncoderDecoderUnitTest.java b/core-java/src/test/java/com/baeldung/encoderdecoder/EncoderDecoderUnitTest.java new file mode 100644 index 0000000000..c944dfa6fe --- /dev/null +++ b/core-java/src/test/java/com/baeldung/encoderdecoder/EncoderDecoderUnitTest.java @@ -0,0 +1,77 @@ +package com.baeldung.encoderdecoder; + +import org.hamcrest.CoreMatchers; +import org.junit.Assert; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.UnsupportedEncodingException; +import java.net.URL; +import java.net.URLDecoder; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; + +import static java.util.stream.Collectors.joining; + +public class EncoderDecoderUnitTest { + + private static final Logger LOGGER = LoggerFactory.getLogger(EncoderDecoderUnitTest.class); + private static final String testUrl = "http://www.baeldung.com?key1=value+1&key2=value%40%21%242&key3=value%253"; + + private String encodeValue(String value) { + String encoded = null; + try { + encoded = URLEncoder.encode(value, StandardCharsets.UTF_8.toString()); + } catch (UnsupportedEncodingException e) { + LOGGER.error("Error encoding parameter {}", e.getMessage(), e); + } + return encoded; + } + + private String decode(String value) { + String decoded = null; + try { + decoded = URLDecoder.decode(value, StandardCharsets.UTF_8.toString()); + } catch (UnsupportedEncodingException e) { + LOGGER.error("Error encoding parameter {}", e.getMessage(), e); + } + return decoded; + } + + @Test + public void givenURL_whenAnalyze_thenCorrect() throws Exception { + URL url = new URL(testUrl); + + Assert.assertThat(url.getProtocol(), CoreMatchers.is("http")); + Assert.assertThat(url.getHost(), CoreMatchers.is("www.baeldung.com")); + Assert.assertThat(url.getQuery(), CoreMatchers.is("key1=value+1&key2=value%40%21%242&key3=value%253")); + } + + @Test + public void givenRequestParam_whenUTF8Scheme_thenEncode() throws Exception { + Map requestParams = new HashMap<>(); + requestParams.put("key1", "value 1"); + requestParams.put("key2", "value@!$2"); + requestParams.put("key3", "value%3"); + + String encodedURL = requestParams.keySet().stream().map(key -> key + "=" + encodeValue(requestParams.get(key))).collect(joining("&", "http://www.baeldung.com?", "")); + + Assert.assertThat(testUrl, CoreMatchers.is(encodedURL)); + } + + @Test + public void givenRequestParam_whenUTF8Scheme_thenDecodeRequestParams() throws Exception { + URL url = new URL(testUrl); + + String query = url.getQuery(); + + String decodedQuery = Arrays.stream(query.split("&")).map(param -> param.split("=")[0] + "=" + decode(param.split("=")[1])).collect(joining("&")); + + Assert.assertEquals("http://www.baeldung.com?key1=value 1&key2=value@!$2&key3=value%3", url.getProtocol() + "://" + url.getHost() + "?" + decodedQuery); + } + +} diff --git a/core-java/src/test/java/com/baeldung/enums/PizzaUnitTest.java b/core-java/src/test/java/com/baeldung/enums/PizzaUnitTest.java new file mode 100644 index 0000000000..6cf6ad3551 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/enums/PizzaUnitTest.java @@ -0,0 +1,79 @@ +package com.baeldung.enums; + +import org.junit.Test; + +import java.util.ArrayList; +import java.util.EnumMap; +import java.util.List; + +import static junit.framework.TestCase.assertTrue; + +public class PizzaUnitTest { + + @Test + public void givenPizaOrder_whenReady_thenDeliverable() { + Pizza testPz = new Pizza(); + testPz.setStatus(Pizza.PizzaStatusEnum.READY); + assertTrue(testPz.isDeliverable()); + } + + @Test + public void givenPizaOrders_whenRetrievingUnDeliveredPzs_thenCorrectlyRetrieved() { + List pzList = new ArrayList<>(); + Pizza pz1 = new Pizza(); + pz1.setStatus(Pizza.PizzaStatusEnum.DELIVERED); + + Pizza pz2 = new Pizza(); + pz2.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz3 = new Pizza(); + pz3.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz4 = new Pizza(); + pz4.setStatus(Pizza.PizzaStatusEnum.READY); + + pzList.add(pz1); + pzList.add(pz2); + pzList.add(pz3); + pzList.add(pz4); + + List undeliveredPzs = Pizza.getAllUndeliveredPizzas(pzList); + assertTrue(undeliveredPzs.size() == 3); + } + + @Test + public void givenPizaOrders_whenGroupByStatusCalled_thenCorrectlyGrouped() { + + List pzList = new ArrayList<>(); + Pizza pz1 = new Pizza(); + pz1.setStatus(Pizza.PizzaStatusEnum.DELIVERED); + + Pizza pz2 = new Pizza(); + pz2.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz3 = new Pizza(); + pz3.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz4 = new Pizza(); + pz4.setStatus(Pizza.PizzaStatusEnum.READY); + + pzList.add(pz1); + pzList.add(pz2); + pzList.add(pz3); + pzList.add(pz4); + + EnumMap> map = Pizza.groupPizzaByStatus(pzList); + assertTrue(map.get(Pizza.PizzaStatusEnum.DELIVERED).size() == 1); + assertTrue(map.get(Pizza.PizzaStatusEnum.ORDERED).size() == 2); + assertTrue(map.get(Pizza.PizzaStatusEnum.READY).size() == 1); + } + + @Test + public void givenPizaOrder_whenDelivered_thenPizzaGetsDeliveredAndStatusChanges() { + Pizza pz = new Pizza(); + pz.setStatus(Pizza.PizzaStatusEnum.READY); + pz.deliver(); + assertTrue(pz.getStatus() == Pizza.PizzaStatusEnum.DELIVERED); + } + +} diff --git a/core-java/src/test/java/com/baeldung/file/FileOperationsUnitTest.java b/core-java/src/test/java/com/baeldung/file/FileOperationsUnitTest.java new file mode 100644 index 0000000000..3319716dc6 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/file/FileOperationsUnitTest.java @@ -0,0 +1,121 @@ +package com.baeldung.file; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.URISyntaxException; +import java.net.URL; +import java.net.URLConnection; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.stream.Stream; + +import org.apache.commons.io.FileUtils; +import org.hamcrest.CoreMatchers; +import org.hamcrest.Matchers; +import org.junit.Assert; +import org.junit.Test; + +public class FileOperationsUnitTest { + + @Test + public void givenFileName_whenUsingClassloader_thenFileData() throws IOException { + String expectedData = "Hello World from fileTest.txt!!!"; + + ClassLoader classLoader = getClass().getClassLoader(); + File file = new File(classLoader.getResource("fileTest.txt").getFile()); + InputStream inputStream = new FileInputStream(file); + String data = readFromInputStream(inputStream); + + Assert.assertEquals(expectedData, data.trim()); + } + + @Test + public void givenFileNameAsAbsolutePath_whenUsingClasspath_thenFileData() throws IOException { + String expectedData = "Hello World from fileTest.txt!!!"; + + Class clazz = FileOperationsUnitTest.class; + InputStream inputStream = clazz.getResourceAsStream("/fileTest.txt"); + String data = readFromInputStream(inputStream); + + Assert.assertEquals(expectedData, data.trim()); + } + + @Test + public void givenFileName_whenUsingJarFile_thenFileData() throws IOException { + String expectedData = "BSD License"; + + Class clazz = Matchers.class; + InputStream inputStream = clazz.getResourceAsStream("/LICENSE.txt"); + String data = readFromInputStream(inputStream); + + Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData)); + } + + @Test + public void givenURLName_whenUsingURL_thenFileData() throws IOException { + String expectedData = "Baeldung"; + + URL urlObject = new URL("http://www.baeldung.com/"); + + URLConnection urlConnection = urlObject.openConnection(); + + InputStream inputStream = urlConnection.getInputStream(); + String data = readFromInputStream(inputStream); + + Assert.assertThat(data.trim(), CoreMatchers.containsString(expectedData)); + } + + @Test + public void givenFileName_whenUsingFileUtils_thenFileData() throws IOException { + String expectedData = "Hello World from fileTest.txt!!!"; + + ClassLoader classLoader = getClass().getClassLoader(); + File file = new File(classLoader.getResource("fileTest.txt").getFile()); + String data = FileUtils.readFileToString(file); + + Assert.assertEquals(expectedData, data.trim()); + } + + @Test + public void givenFilePath_whenUsingFilesReadAllBytes_thenFileData() throws IOException, URISyntaxException { + String expectedData = "Hello World from fileTest.txt!!!"; + + Path path = Paths.get(getClass().getClassLoader().getResource("fileTest.txt").toURI()); + + byte[] fileBytes = Files.readAllBytes(path); + String data = new String(fileBytes); + + Assert.assertEquals(expectedData, data.trim()); + } + + @Test + public void givenFilePath_whenUsingFilesLines_thenFileData() throws IOException, URISyntaxException { + String expectedData = "Hello World from fileTest.txt!!!"; + + Path path = Paths.get(getClass().getClassLoader().getResource("fileTest.txt").toURI()); + + StringBuilder data = new StringBuilder(); + Stream lines = Files.lines(path); + lines.forEach(line -> data.append(line).append("\n")); + lines.close(); + + Assert.assertEquals(expectedData, data.toString().trim()); + } + + private String readFromInputStream(InputStream inputStream) throws IOException { + StringBuilder resultStringBuilder = new StringBuilder(); + try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream))) { + String line; + while ((line = bufferedReader.readLine()) != null) { + resultStringBuilder.append(line).append("\n"); + } + } + + return resultStringBuilder.toString(); + } +} \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/functionalinterface/FunctionalInterfaceUnitTest.java b/core-java/src/test/java/com/baeldung/functionalinterface/FunctionalInterfaceUnitTest.java new file mode 100644 index 0000000000..6f3384c8eb --- /dev/null +++ b/core-java/src/test/java/com/baeldung/functionalinterface/FunctionalInterfaceUnitTest.java @@ -0,0 +1,182 @@ +package com.baeldung.functionalinterface; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import org.junit.Test; + +import com.google.common.util.concurrent.Uninterruptibles; + +public class FunctionalInterfaceUnitTest { + + @Test + public void whenPassingLambdaToComputeIfAbsent_thenTheValueGetsComputedAndPutIntoMap() { + Map nameMap = new HashMap<>(); + Integer value = nameMap.computeIfAbsent("John", s -> s.length()); + + assertEquals(new Integer(4), nameMap.get("John")); + assertEquals(new Integer(4), value); + } + + @Test + public void whenPassingMethodReferenceToComputeIfAbsent_thenTheValueGetsComputedAndPutIntoMap() { + Map nameMap = new HashMap<>(); + Integer value = nameMap.computeIfAbsent("John", String::length); + + assertEquals(new Integer(4), nameMap.get("John")); + assertEquals(new Integer(4), value); + } + + @Test + public void whenUsingCustomFunctionalInterfaceForPrimitives_thenCanUseItAsLambda() { + + short[] array = { (short) 1, (short) 2, (short) 3 }; + byte[] transformedArray = transformArray(array, s -> (byte) (s * 2)); + + byte[] expectedArray = { (byte) 2, (byte) 4, (byte) 6 }; + assertArrayEquals(expectedArray, transformedArray); + + } + + @Test + public void whenUsingBiFunction_thenCanUseItToReplaceMapValues() { + Map salaries = new HashMap<>(); + salaries.put("John", 40000); + salaries.put("Freddy", 30000); + salaries.put("Samuel", 50000); + + salaries.replaceAll((name, oldValue) -> name.equals("Freddy") ? oldValue : oldValue + 10000); + + assertEquals(new Integer(50000), salaries.get("John")); + assertEquals(new Integer(30000), salaries.get("Freddy")); + assertEquals(new Integer(60000), salaries.get("Samuel")); + } + + @Test + public void whenPassingLambdaToThreadConstructor_thenLambdaInferredToRunnable() { + Thread thread = new Thread(() -> System.out.println("Hello From Another Thread")); + thread.start(); + } + + @Test + public void whenUsingSupplierToGenerateNumbers_thenCanUseItInStreamGenerate() { + + int[] fibs = { 0, 1 }; + Stream fibonacci = Stream.generate(() -> { + int result = fibs[1]; + int fib3 = fibs[0] + fibs[1]; + fibs[0] = fibs[1]; + fibs[1] = fib3; + return result; + }); + + List fibonacci5 = fibonacci.limit(5).collect(Collectors.toList()); + + assertEquals(new Integer(1), fibonacci5.get(0)); + assertEquals(new Integer(1), fibonacci5.get(1)); + assertEquals(new Integer(2), fibonacci5.get(2)); + assertEquals(new Integer(3), fibonacci5.get(3)); + assertEquals(new Integer(5), fibonacci5.get(4)); + } + + @Test + public void whenUsingConsumerInForEach_thenConsumerExecutesForEachListElement() { + List names = Arrays.asList("John", "Freddy", "Samuel"); + names.forEach(name -> System.out.println("Hello, " + name)); + } + + @Test + public void whenUsingBiConsumerInForEach_thenConsumerExecutesForEachMapElement() { + Map ages = new HashMap<>(); + ages.put("John", 25); + ages.put("Freddy", 24); + ages.put("Samuel", 30); + + ages.forEach((name, age) -> System.out.println(name + " is " + age + " years old")); + } + + @Test + public void whenUsingPredicateInFilter_thenListValuesAreFilteredOut() { + List names = Arrays.asList("Angela", "Aaron", "Bob", "Claire", "David"); + + List namesWithA = names.stream().filter(name -> name.startsWith("A")).collect(Collectors.toList()); + + assertEquals(2, namesWithA.size()); + assertTrue(namesWithA.contains("Angela")); + assertTrue(namesWithA.contains("Aaron")); + } + + @Test + public void whenUsingUnaryOperatorWithReplaceAll_thenAllValuesInTheListAreReplaced() { + List names = Arrays.asList("bob", "josh", "megan"); + + names.replaceAll(String::toUpperCase); + + assertEquals("BOB", names.get(0)); + assertEquals("JOSH", names.get(1)); + assertEquals("MEGAN", names.get(2)); + } + + @Test + public void whenUsingBinaryOperatorWithStreamReduce_thenResultIsSumOfValues() { + + List values = Arrays.asList(3, 5, 8, 9, 12); + + int sum = values.stream().reduce(0, (i1, i2) -> i1 + i2); + + assertEquals(37, sum); + + } + + @Test + public void whenComposingTwoFunctions_thenFunctionsExecuteSequentially() { + + Function intToString = Object::toString; + Function quote = s -> "'" + s + "'"; + + Function quoteIntToString = quote.compose(intToString); + + assertEquals("'5'", quoteIntToString.apply(5)); + + } + + @Test + public void whenUsingSupplierToGenerateValue_thenValueIsGeneratedLazily() { + + Supplier lazyValue = () -> { + Uninterruptibles.sleepUninterruptibly(1000, TimeUnit.MILLISECONDS); + return 9d; + }; + + double valueSquared = squareLazy(lazyValue); + + assertEquals(81d, valueSquared, 0); + + } + + // + + public double squareLazy(Supplier lazyValue) { + return Math.pow(lazyValue.get(), 2); + } + + public byte[] transformArray(short[] array, ShortToByteFunction function) { + byte[] transformedArray = new byte[array.length]; + for (int i = 0; i < array.length; i++) { + transformedArray[i] = function.applyAsByte(array[i]); + } + return transformedArray; + } + +} diff --git a/core-java/src/test/java/com/baeldung/functionalinterface/ShortToByteFunction.java b/core-java/src/test/java/com/baeldung/functionalinterface/ShortToByteFunction.java new file mode 100644 index 0000000000..3231d6244f --- /dev/null +++ b/core-java/src/test/java/com/baeldung/functionalinterface/ShortToByteFunction.java @@ -0,0 +1,8 @@ +package com.baeldung.functionalinterface; + +@FunctionalInterface +public interface ShortToByteFunction { + + byte applyAsByte(short s); + +} diff --git a/core-java/src/test/java/com/baeldung/generics/GenericsTest.java b/core-java/src/test/java/com/baeldung/generics/GenericsTest.java new file mode 100644 index 0000000000..9eb459ccb5 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/generics/GenericsTest.java @@ -0,0 +1,41 @@ +package com.baeldung.generics; + +import org.junit.Test; + +import java.util.List; + +import static org.hamcrest.CoreMatchers.hasItems; +import static org.hamcrest.MatcherAssert.assertThat; + +public class GenericsTest { + + // testing the generic method with Integer + @Test + public void givenArrayOfIntegers_thanListOfIntegersReturnedOK() { + Integer[] intArray = {1, 2, 3, 4, 5}; + List list = Generics.fromArrayToList(intArray); + + assertThat(list, hasItems(intArray)); + } + + // testing the generic method with String + @Test + public void givenArrayOfStrings_thanListOfStringsReturnedOK() { + String[] stringArray = {"hello1", "hello2", "hello3", "hello4", "hello5"}; + List list = Generics.fromArrayToList(stringArray); + + assertThat(list, hasItems(stringArray)); + } + + // testing the generic method with Number as upper bound with Integer + // if we test fromArrayToListWithUpperBound with any type that doesn't + // extend Number it will fail to compile + @Test + public void givenArrayOfIntegersAndNumberUpperBound_thanListOfIntegersReturnedOK() { + Integer[] intArray = {1, 2, 3, 4, 5}; + List list = Generics.fromArrayToListWithUpperBound(intArray); + + assertThat(list, hasItems(intArray)); + } + +} diff --git a/core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java b/core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java new file mode 100644 index 0000000000..dc496d589b --- /dev/null +++ b/core-java/src/test/java/com/baeldung/hashing/SHA256HashingTest.java @@ -0,0 +1,37 @@ +package com.baeldung.hashing; + +import org.junit.Test; + +import static org.junit.Assert.*; + + +public class SHA256HashingTest { + + private static String originalValue = "abc123"; + private static String hashedValue = + "6ca13d52ca70c883e0f0bb101e425a89e8624de51db2d2392593af6a84118090"; + + @Test + public void testHashWithJavaMessageDigest() throws Exception { + final String currentHashedValue = SHA256Hashing.HashWithJavaMessageDigest(originalValue); + assertEquals(currentHashedValue, hashedValue); + } + + @Test + public void testHashWithGuava() throws Exception { + final String currentHashedValue = SHA256Hashing.HashWithApacheCommons(originalValue); + assertEquals(currentHashedValue, hashedValue); + } + + @Test + public void testHashWithApacheCommans() throws Exception { + final String currentHashedValue = SHA256Hashing.HashWithGuava(originalValue); + assertEquals(currentHashedValue, hashedValue); + } + + @Test + public void testHashWithBouncyCastle() throws Exception { + final String currentHashedValue = SHA256Hashing.HashWithBouncyCastle(originalValue); + assertEquals(currentHashedValue, hashedValue); + } +} \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java b/core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java new file mode 100644 index 0000000000..2a3c4b109e --- /dev/null +++ b/core-java/src/test/java/com/baeldung/hexToAscii/HexToAscii.java @@ -0,0 +1,46 @@ +package com.baeldung.hexToAscii; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +public class HexToAscii { + + @Test + public static void whenHexToAscii() { + String asciiString = "http://www.baeldung.com/jackson-serialize-dates"; + String hexEquivalent = "687474703a2f2f7777772e6261656c64756e672e636f6d2f6a61636b736f6e2d73657269616c697a652d6461746573"; + + assertEquals(asciiString, hexToAscii(hexEquivalent)); + } + + @Test + public static void whenAsciiToHex() { + String asciiString = "http://www.baeldung.com/jackson-serialize-dates"; + String hexEquivalent = "687474703a2f2f7777772e6261656c64756e672e636f6d2f6a61636b736f6e2d73657269616c697a652d6461746573"; + + assertEquals(hexEquivalent, asciiToHex(asciiString)); + } + + // + + private static String asciiToHex(String asciiStr) { + char[] chars = asciiStr.toCharArray(); + StringBuilder hex = new StringBuilder(); + for (char ch : chars) { + hex.append(Integer.toHexString((int) ch)); + } + + return hex.toString(); + } + + private static String hexToAscii(String hexStr) { + StringBuilder output = new StringBuilder(""); + for (int i = 0; i < hexStr.length(); i += 2) { + String str = hexStr.substring(i, i + 2); + output.append((char) Integer.parseInt(str, 16)); + } + return output.toString(); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java b/core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java new file mode 100644 index 0000000000..09cacd0a29 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/conversion/StringConversionTest.java @@ -0,0 +1,129 @@ +package com.baeldung.java.conversion; + +import static org.junit.Assert.assertEquals; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.time.LocalDateTime; +import java.time.Month; +import java.util.Arrays; +import java.util.Calendar; +import java.util.Date; +import java.util.GregorianCalendar; + +import org.junit.Test; + +import com.baeldung.datetime.UseLocalDateTime; + +public class StringConversionTest { + + @Test + public void whenConvertedToInt_thenCorrect() { + String beforeConvStr = "1"; + int afterConvInt = 1; + + assertEquals(Integer.parseInt(beforeConvStr), afterConvInt); + } + + @Test + public void whenConvertedToInteger_thenCorrect() { + String beforeConvStr = "12"; + Integer afterConvInteger = 12; + + assertEquals(Integer.valueOf(beforeConvStr).equals(afterConvInteger), true); + } + + @Test + public void whenConvertedTolong_thenCorrect() { + String beforeConvStr = "12345"; + long afterConvLongPrimitive = 12345; + + assertEquals(Long.parseLong(beforeConvStr), afterConvLongPrimitive); + } + + @Test + public void whenConvertedToLong_thenCorrect() { + String beforeConvStr = "14567"; + Long afterConvLong = 14567l; + + assertEquals(Long.valueOf(beforeConvStr).equals(afterConvLong), true); + } + + @Test + public void whenConvertedTodouble_thenCorrect() { + String beforeConvStr = "1.4"; + double afterConvDoublePrimitive = 1.4; + + assertEquals(Double.parseDouble(beforeConvStr), afterConvDoublePrimitive, 0.0); + } + + @Test + public void whenConvertedToDouble_thenCorrect() { + String beforeConvStr = "145.67"; + double afterConvDouble = 145.67d; + + assertEquals(Double.valueOf(beforeConvStr).equals(afterConvDouble), true); + } + + @Test + public void whenConvertedToByteArr_thenCorrect() { + String beforeConvStr = "abc"; + byte[] afterConvByteArr = new byte[] { 'a', 'b', 'c' }; + + assertEquals(Arrays.equals(beforeConvStr.getBytes(), afterConvByteArr), true); + } + + @Test + public void whenConvertedToboolean_thenCorrect() { + String beforeConvStr = "true"; + boolean afterConvBooleanPrimitive = true; + + assertEquals(Boolean.parseBoolean(beforeConvStr), afterConvBooleanPrimitive); + } + + @Test + public void whenConvertedToBoolean_thenCorrect() { + String beforeConvStr = "true"; + Boolean afterConvBoolean = true; + + assertEquals(Boolean.valueOf(beforeConvStr), afterConvBoolean); + } + + @Test + public void whenConvertedToCharArr_thenCorrect() { + String beforeConvStr = "hello"; + char[] afterConvCharArr = { 'h', 'e', 'l', 'l', 'o' }; + + assertEquals(Arrays.equals(beforeConvStr.toCharArray(), afterConvCharArr), true); + } + + @Test + public void whenConvertedToDate_thenCorrect() throws ParseException { + String beforeConvStr = "15/10/2013"; + int afterConvCalendarDay = 15; + int afterConvCalendarMonth = 9; + int afterConvCalendarYear = 2013; + SimpleDateFormat formatter = new SimpleDateFormat("dd/M/yyyy"); + Date afterConvDate = formatter.parse(beforeConvStr); + Calendar calendar = new GregorianCalendar(); + calendar.setTime(afterConvDate); + + assertEquals(calendar.get(Calendar.DAY_OF_MONTH), afterConvCalendarDay); + assertEquals(calendar.get(Calendar.MONTH), afterConvCalendarMonth); + assertEquals(calendar.get(Calendar.YEAR), afterConvCalendarYear); + } + + @Test + public void whenConvertedToLocalDateTime_thenCorrect() { + String str = "2007-12-03T10:15:30"; + int afterConvCalendarDay = 03; + Month afterConvCalendarMonth = Month.DECEMBER; + int afterConvCalendarYear = 2007; + LocalDateTime afterConvDate + = new UseLocalDateTime().getLocalDateTimeUsingParseMethod(str); + + assertEquals(afterConvDate.getDayOfMonth(), afterConvCalendarDay); + assertEquals(afterConvDate.getMonth(), afterConvCalendarMonth); + assertEquals(afterConvDate.getYear(), afterConvCalendarYear); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/networking/interfaces/NetworkInterfaceManualTest.java b/core-java/src/test/java/com/baeldung/java/networking/interfaces/NetworkInterfaceManualTest.java new file mode 100644 index 0000000000..8635a24f18 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/networking/interfaces/NetworkInterfaceManualTest.java @@ -0,0 +1,118 @@ +package com.baeldung.java.networking.interfaces; + +import org.junit.Test; + +import java.net.*; +import java.util.Enumeration; +import java.util.List; + +import static org.junit.Assert.*; + +public class NetworkInterfaceManualTest { + @Test + public void givenName_whenReturnsNetworkInterface_thenCorrect() throws SocketException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertNotNull(nif); + } + + @Test + public void givenInExistentName_whenReturnsNull_thenCorrect() throws SocketException { + NetworkInterface nif = NetworkInterface.getByName("inexistent_name"); + assertNull(nif); + } + + @Test + public void givenIP_whenReturnsNetworkInterface_thenCorrect() throws SocketException, UnknownHostException { + byte[] ip = new byte[] { 127, 0, 0, 1 }; + NetworkInterface nif = NetworkInterface.getByInetAddress(InetAddress.getByAddress(ip)); + assertNotNull(nif); + } + + @Test + public void givenHostName_whenReturnsNetworkInterface_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByInetAddress(InetAddress.getByName("localhost")); + assertNotNull(nif); + } + + @Test + public void givenLocalHost_whenReturnsNetworkInterface_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByInetAddress(InetAddress.getLocalHost()); + assertNotNull(nif); + } + + @Test + public void givenLoopBack_whenReturnsNetworkInterface_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByInetAddress(InetAddress.getLoopbackAddress()); + assertNotNull(nif); + } + + @Test + public void givenIndex_whenReturnsNetworkInterface_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByIndex(0); + assertNotNull(nif); + } + + @Test + public void givenInterface_whenReturnsInetAddresses_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + Enumeration addressEnum = nif.getInetAddresses(); + InetAddress address = addressEnum.nextElement(); + assertEquals("127.0.0.1", address.getHostAddress()); + } + + @Test + public void givenInterface_whenReturnsInterfaceAddresses_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + + List addressEnum = nif.getInterfaceAddresses(); + InterfaceAddress address = addressEnum.get(0); + InetAddress localAddress = address.getAddress(); + InetAddress broadCastAddress = address.getBroadcast(); + assertEquals("127.0.0.1", localAddress.getHostAddress()); + assertEquals("127.255.255.255", broadCastAddress.getHostAddress()); + } + + @Test + public void givenInterface_whenChecksIfLoopback_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertTrue(nif.isLoopback()); + } + + @Test + public void givenInterface_whenChecksIfUp_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertTrue(nif.isUp()); + } + + @Test + public void givenInterface_whenChecksIfPointToPoint_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertFalse(nif.isPointToPoint()); + } + + @Test + public void givenInterface_whenChecksIfVirtual_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertFalse(nif.isVirtual()); + } + + @Test + public void givenInterface_whenChecksMulticastSupport_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + assertTrue(nif.supportsMulticast()); + } + + @Test + public void givenInterface_whenGetsMacAddress_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("lo"); + byte[] bytes = nif.getHardwareAddress(); + assertNotNull(bytes); + } + + @Test + public void givenInterface_whenGetsMTU_thenCorrect() throws SocketException, UnknownHostException { + NetworkInterface nif = NetworkInterface.getByName("net0"); + int mtu = nif.getMTU(); + assertEquals(1500, mtu); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/networking/udp/UDPIntegrationTest.java b/core-java/src/test/java/com/baeldung/java/networking/udp/UDPIntegrationTest.java new file mode 100644 index 0000000000..aff851ae4b --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/networking/udp/UDPIntegrationTest.java @@ -0,0 +1,38 @@ +package com.baeldung.java.networking.udp; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; + +public class UDPIntegrationTest { + private EchoClient client; + + @Before + public void setup() throws IOException { + new EchoServer().start(); + client = new EchoClient(); + } + + @Test + public void whenCanSendAndReceivePacket_thenCorrect1() { + String echo = client.sendEcho("hello server"); + assertEquals("hello server", echo); + echo = client.sendEcho("server is working"); + assertFalse(echo.equals("hello server")); + } + + @After + public void tearDown() { + stopEchoServer(); + client.close(); + } + + private void stopEchoServer() { + client.sendEcho("end"); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/networking/url/UrlUnitTest.java b/core-java/src/test/java/com/baeldung/java/networking/url/UrlUnitTest.java new file mode 100644 index 0000000000..505d9595ab --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/networking/url/UrlUnitTest.java @@ -0,0 +1,104 @@ +package com.baeldung.java.networking.url; + +import static org.junit.Assert.assertEquals; + +import java.net.MalformedURLException; +import java.net.URL; + +import org.junit.Test; + +public class UrlUnitTest { + + @Test + public void givenUrl_whenCanIdentifyProtocol_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com"); + assertEquals("http", url.getProtocol()); + } + + @Test + public void givenUrl_whenCanGetHost_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com"); + assertEquals("baeldung.com", url.getHost()); + } + + @Test + public void givenUrl_whenCanGetFileName_thenCorrect2() throws MalformedURLException { + final URL url = new URL("http://baeldung.com/articles?topic=java&version=8"); + assertEquals("/articles?topic=java&version=8", url.getFile()); + } + + @Test + public void givenUrl_whenCanGetFileName_thenCorrect1() throws MalformedURLException { + final URL url = new URL("http://baeldung.com/guidelines.txt"); + assertEquals("/guidelines.txt", url.getFile()); + } + + @Test + public void givenUrl_whenCanGetPathParams_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com/articles?topic=java&version=8"); + assertEquals("/articles", url.getPath()); + } + + @Test + public void givenUrl_whenCanGetQueryParams_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com/articles?topic=java"); + assertEquals("topic=java", url.getQuery()); + } + + @Test + public void givenUrl_whenGetsDefaultPort_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com"); + assertEquals(-1, url.getPort()); + assertEquals(80, url.getDefaultPort()); + } + + @Test + public void givenUrl_whenGetsPort_thenCorrect() throws MalformedURLException { + final URL url = new URL("http://baeldung.com:8090"); + assertEquals(8090, url.getPort()); + assertEquals(80, url.getDefaultPort()); + } + + @Test + public void givenBaseUrl_whenCreatesRelativeUrl_thenCorrect() throws MalformedURLException { + final URL baseUrl = new URL("http://baeldung.com"); + final URL relativeUrl = new URL(baseUrl, "a-guide-to-java-sockets"); + assertEquals("http://baeldung.com/a-guide-to-java-sockets", relativeUrl.toString()); + } + + @Test + public void givenAbsoluteUrl_whenIgnoresBaseUrl_thenCorrect() throws MalformedURLException { + final URL baseUrl = new URL("http://baeldung.com"); + final URL relativeUrl = new URL(baseUrl, "http://baeldung.com/a-guide-to-java-sockets"); + assertEquals("http://baeldung.com/a-guide-to-java-sockets", relativeUrl.toString()); + } + + @Test + public void givenUrlComponents_whenConstructsCompleteUrl_thenCorrect() throws MalformedURLException { + final String protocol = "http"; + final String host = "baeldung.com"; + final String file = "/guidelines.txt"; + final URL url = new URL(protocol, host, file); + assertEquals("http://baeldung.com/guidelines.txt", url.toString()); + } + + @Test + public void givenUrlComponents_whenConstructsCompleteUrl_thenCorrect2() throws MalformedURLException { + final String protocol = "http"; + final String host = "baeldung.com"; + final String file = "/articles?topic=java&version=8"; + final URL url = new URL(protocol, host, file); + assertEquals("http://baeldung.com/articles?topic=java&version=8", url.toString()); + } + + @Test + public void givenUrlComponentsWithPort_whenConstructsCompleteUrl_thenCorrect() throws MalformedURLException { + final String protocol = "http"; + final String host = "baeldung.com"; + final int port = 9000; + final String file = "/guidelines.txt"; + final URL url = new URL(protocol, host, port, file); + assertEquals("http://baeldung.com:9000/guidelines.txt", url.toString()); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/nio/selector/NioEchoIntegrationTest.java b/core-java/src/test/java/com/baeldung/java/nio/selector/NioEchoIntegrationTest.java new file mode 100644 index 0000000000..fc64799578 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio/selector/NioEchoIntegrationTest.java @@ -0,0 +1,35 @@ +package com.baeldung.java.nio.selector; + +import static org.junit.Assert.assertEquals; + +import java.io.IOException; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +public class NioEchoIntegrationTest { + + Process server; + EchoClient client; + + @Before + public void setup() throws IOException, InterruptedException { + server = EchoServer.start(); + client = EchoClient.start(); + } + + @Test + public void givenServerClient_whenServerEchosMessage_thenCorrect() { + String resp1 = client.sendMessage("hello"); + String resp2 = client.sendMessage("world"); + assertEquals("hello", resp1); + assertEquals("world", resp2); + } + + @After + public void teardown() throws IOException { + server.destroy(); + EchoClient.stop(); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/FileTest.java b/core-java/src/test/java/com/baeldung/java/nio2/FileTest.java new file mode 100644 index 0000000000..587f4ab34a --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/FileTest.java @@ -0,0 +1,254 @@ +package com.baeldung.java.nio2; + +import org.apache.commons.io.FileUtils; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.File; +import java.io.IOException; +import java.nio.file.*; +import java.util.UUID; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +public class FileTest { + private static final String TEMP_DIR = String.format("%s/temp%s", System.getProperty("user.home"), UUID.randomUUID().toString()); + + @BeforeClass + public static void setup() throws IOException { + Files.createDirectory(Paths.get(TEMP_DIR)); + } + + @AfterClass + public static void cleanup() throws IOException { + FileUtils.deleteDirectory(new File(TEMP_DIR)); + } + + // checking file or dir + @Test + public void givenExistentPath_whenConfirmsFileExists_thenCorrect() { + Path p = Paths.get(TEMP_DIR); + assertTrue(Files.exists(p)); + } + + @Test + public void givenNonexistentPath_whenConfirmsFileNotExists_thenCorrect() { + Path p = Paths.get(TEMP_DIR + "/inexistent_file.txt"); + assertTrue(Files.notExists(p)); + } + + @Test + public void givenDirPath_whenConfirmsNotRegularFile_thenCorrect() { + Path p = Paths.get(TEMP_DIR); + assertFalse(Files.isRegularFile(p)); + } + + @Test + public void givenExistentDirPath_whenConfirmsReadable_thenCorrect() { + Path p = Paths.get(TEMP_DIR); + assertTrue(Files.isReadable(p)); + } + + @Test + public void givenExistentDirPath_whenConfirmsWritable_thenCorrect() { + Path p = Paths.get(System.getProperty("user.home")); + assertTrue(Files.isWritable(p)); + } + + @Test + public void givenExistentDirPath_whenConfirmsExecutable_thenCorrect() { + Path p = Paths.get(System.getProperty("user.home")); + assertTrue(Files.isExecutable(p)); + } + + @Test + public void givenSameFilePaths_whenConfirmsIsSame_thenCorrect() throws IOException { + Path p1 = Paths.get(TEMP_DIR); + Path p2 = Paths.get(TEMP_DIR); + assertTrue(Files.isSameFile(p1, p2)); + } + + // reading, writing and creating files + // creating file + @Test + public void givenFilePath_whenCreatesNewFile_thenCorrect() throws IOException { + String fileName = "myfile_" + UUID.randomUUID().toString() + ".txt"; + Path p = Paths.get(TEMP_DIR + "/" + fileName); + assertFalse(Files.exists(p)); + Files.createFile(p); + assertTrue(Files.exists(p)); + + } + + @Test + public void givenDirPath_whenCreatesNewDir_thenCorrect() throws IOException { + String dirName = "myDir_" + UUID.randomUUID().toString(); + Path p = Paths.get(TEMP_DIR + "/" + dirName); + assertFalse(Files.exists(p)); + Files.createDirectory(p); + assertTrue(Files.exists(p)); + assertFalse(Files.isRegularFile(p)); + assertTrue(Files.isDirectory(p)); + + } + + @Test(expected = NoSuchFileException.class) + public void givenDirPath_whenFailsToCreateRecursively_thenCorrect() throws IOException { + String dirName = "myDir_" + UUID.randomUUID().toString() + "/subdir"; + Path p = Paths.get(TEMP_DIR + "/" + dirName); + assertFalse(Files.exists(p)); + Files.createDirectory(p); + + } + + @Test + public void givenDirPath_whenCreatesRecursively_thenCorrect() throws IOException { + Path dir = Paths.get(TEMP_DIR + "/myDir_" + UUID.randomUUID().toString()); + Path subdir = dir.resolve("subdir"); + assertFalse(Files.exists(dir)); + assertFalse(Files.exists(subdir)); + Files.createDirectories(subdir); + assertTrue(Files.exists(dir)); + assertTrue(Files.exists(subdir)); + } + + @Test + public void givenFilePath_whenCreatesTempFile_thenCorrect() throws IOException { + String prefix = "log_"; + String suffix = ".txt"; + Path p = Paths.get(TEMP_DIR + "/"); + p = Files.createTempFile(p, prefix, suffix); + // like log_8821081429012075286.txt + assertTrue(Files.exists(p)); + + } + + @Test + public void givenPath_whenCreatesTempFileWithDefaults_thenCorrect() throws IOException { + Path p = Paths.get(TEMP_DIR + "/"); + p = Files.createTempFile(p, null, null); + // like 8600179353689423985.tmp + assertTrue(Files.exists(p)); + } + + @Test + public void givenNoFilePath_whenCreatesTempFileInTempDir_thenCorrect() throws IOException { + Path p = Files.createTempFile(null, null); + // like C:\Users\new\AppData\Local\Temp\6100927974988978748.tmp + assertTrue(Files.exists(p)); + + } + + // delete file + @Test + public void givenPath_whenDeletes_thenCorrect() throws IOException { + Path p = Paths.get(TEMP_DIR + "/fileToDelete.txt"); + assertFalse(Files.exists(p)); + Files.createFile(p); + assertTrue(Files.exists(p)); + Files.delete(p); + assertFalse(Files.exists(p)); + + } + + @Test(expected = DirectoryNotEmptyException.class) + public void givenPath_whenFailsToDeleteNonEmptyDir_thenCorrect() throws IOException { + Path dir = Paths.get(TEMP_DIR + "/emptyDir" + UUID.randomUUID().toString()); + Files.createDirectory(dir); + assertTrue(Files.exists(dir)); + Path file = dir.resolve("file.txt"); + Files.createFile(file); + Files.delete(dir); + + assertTrue(Files.exists(dir)); + + } + + @Test(expected = NoSuchFileException.class) + public void givenInexistentFile_whenDeleteFails_thenCorrect() throws IOException { + Path p = Paths.get(TEMP_DIR + "/inexistentFile.txt"); + assertFalse(Files.exists(p)); + Files.delete(p); + + } + + @Test + public void givenInexistentFile_whenDeleteIfExistsWorks_thenCorrect() throws IOException { + Path p = Paths.get(TEMP_DIR + "/inexistentFile.txt"); + assertFalse(Files.exists(p)); + Files.deleteIfExists(p); + + } + + // copy file + @Test + public void givenFilePath_whenCopiesToNewLocation_thenCorrect() throws IOException { + Path dir1 = Paths.get(TEMP_DIR + "/firstdir_" + UUID.randomUUID().toString()); + Path dir2 = Paths.get(TEMP_DIR + "/otherdir_" + UUID.randomUUID().toString()); + Files.createDirectory(dir1); + Files.createDirectory(dir2); + Path file1 = dir1.resolve("filetocopy.txt"); + Path file2 = dir2.resolve("filetocopy.txt"); + Files.createFile(file1); + assertTrue(Files.exists(file1)); + assertFalse(Files.exists(file2)); + Files.copy(file1, file2); + assertTrue(Files.exists(file2)); + + } + + @Test(expected = FileAlreadyExistsException.class) + public void givenPath_whenCopyFailsDueToExistingFile_thenCorrect() throws IOException { + Path dir1 = Paths.get(TEMP_DIR + "/firstdir_" + UUID.randomUUID().toString()); + Path dir2 = Paths.get(TEMP_DIR + "/otherdir_" + UUID.randomUUID().toString()); + Files.createDirectory(dir1); + Files.createDirectory(dir2); + Path file1 = dir1.resolve("filetocopy.txt"); + Path file2 = dir2.resolve("filetocopy.txt"); + Files.createFile(file1); + Files.createFile(file2); + assertTrue(Files.exists(file1)); + assertTrue(Files.exists(file2)); + Files.copy(file1, file2); + Files.copy(file1, file2, StandardCopyOption.REPLACE_EXISTING); + } + + // moving files + @Test + public void givenFilePath_whenMovesToNewLocation_thenCorrect() throws IOException { + Path dir1 = Paths.get(TEMP_DIR + "/firstdir_" + UUID.randomUUID().toString()); + Path dir2 = Paths.get(TEMP_DIR + "/otherdir_" + UUID.randomUUID().toString()); + Files.createDirectory(dir1); + Files.createDirectory(dir2); + Path file1 = dir1.resolve("filetocopy.txt"); + Path file2 = dir2.resolve("filetocopy.txt"); + Files.createFile(file1); + assertTrue(Files.exists(file1)); + assertFalse(Files.exists(file2)); + Files.move(file1, file2); + assertTrue(Files.exists(file2)); + assertFalse(Files.exists(file1)); + + } + + @Test(expected = FileAlreadyExistsException.class) + public void givenFilePath_whenMoveFailsDueToExistingFile_thenCorrect() throws IOException { + Path dir1 = Paths.get(TEMP_DIR + "/firstdir_" + UUID.randomUUID().toString()); + Path dir2 = Paths.get(TEMP_DIR + "/otherdir_" + UUID.randomUUID().toString()); + Files.createDirectory(dir1); + Files.createDirectory(dir2); + Path file1 = dir1.resolve("filetocopy.txt"); + Path file2 = dir2.resolve("filetocopy.txt"); + Files.createFile(file1); + Files.createFile(file2); + assertTrue(Files.exists(file1)); + assertTrue(Files.exists(file2)); + Files.move(file1, file2); + Files.move(file1, file2, StandardCopyOption.REPLACE_EXISTING); + assertTrue(Files.exists(file2)); + assertFalse(Files.exists(file1)); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/PathManualTest.java b/core-java/src/test/java/com/baeldung/java/nio2/PathManualTest.java new file mode 100644 index 0000000000..acfb2c08e9 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/PathManualTest.java @@ -0,0 +1,195 @@ +package com.baeldung.java.nio2; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.io.IOException; +import java.net.URI; +import java.nio.file.NoSuchFileException; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Date; + +import org.junit.Test; + +public class PathManualTest { + + private static final String HOME = System.getProperty("user.home"); + + // creating a path + @Test + public void givenPathString_whenCreatesPathObject_thenCorrect() { + Path p = Paths.get("/articles/baeldung"); + assertEquals("\\articles\\baeldung", p.toString()); + + } + + @Test + public void givenPathParts_whenCreatesPathObject_thenCorrect() { + Path p = Paths.get("/articles", "baeldung"); + assertEquals("\\articles\\baeldung", p.toString()); + + } + + // retrieving path info + @Test + public void givenPath_whenRetrievesFileName_thenCorrect() { + Path p = Paths.get("/articles/baeldung/logs"); + assertEquals("logs", p.getFileName().toString()); + } + + @Test + public void givenPath_whenRetrievesNameByIndex_thenCorrect() { + Path p = Paths.get("/articles/baeldung/logs"); + assertEquals("articles", p.getName(0).toString()); + assertEquals("baeldung", p.getName(1).toString()); + assertEquals("logs", p.getName(2).toString()); + } + + @Test + public void givenPath_whenCountsParts_thenCorrect() { + Path p = Paths.get("/articles/baeldung/logs"); + assertEquals(3, p.getNameCount()); + } + + @Test + public void givenPath_whenCanRetrieveSubsequenceByIndex_thenCorrect() { + Path p = Paths.get("/articles/baeldung/logs"); + assertEquals("articles", p.subpath(0, 1).toString()); + assertEquals("articles\\baeldung", p.subpath(0, 2).toString()); + assertEquals("articles\\baeldung\\logs", p.subpath(0, 3).toString()); + assertEquals("baeldung", p.subpath(1, 2).toString()); + assertEquals("baeldung\\logs", p.subpath(1, 3).toString()); + assertEquals("logs", p.subpath(2, 3).toString()); + } + + @Test + public void givenPath_whenRetrievesParent_thenCorrect() { + Path p1 = Paths.get("/articles/baeldung/logs"); + Path p2 = Paths.get("/articles/baeldung"); + Path p3 = Paths.get("/articles"); + Path p4 = Paths.get("/"); + + assertEquals("\\articles\\baeldung", p1.getParent().toString()); + assertEquals("\\articles", p2.getParent().toString()); + assertEquals("\\", p3.getParent().toString()); + assertEquals(null, p4.getParent()); + } + + @Test + public void givenPath_whenRetrievesRoot_thenCorrect() { + Path p1 = Paths.get("/articles/baeldung/logs"); + Path p2 = Paths.get("c:/articles/baeldung/logs"); + + assertEquals("\\", p1.getRoot().toString()); + assertEquals("c:\\", p2.getRoot().toString()); + } + + // removing redundancies from path + @Test + public void givenPath_whenRemovesRedundancies_thenCorrect1() { + Path p = Paths.get("/home/./baeldung/articles"); + p = p.normalize(); + assertEquals("\\home\\baeldung\\articles", p.toString()); + } + + @Test + public void givenPath_whenRemovesRedundancies_thenCorrect2() { + Path p = Paths.get("/home/baeldung/../articles"); + p = p.normalize(); + assertEquals("\\home\\articles", p.toString()); + } + + // converting a path + @Test + public void givenPath_whenConvertsToBrowseablePath_thenCorrect() { + Path p = Paths.get("/home/baeldung/articles.html"); + URI uri = p.toUri(); + assertEquals("file:///E:/home/baeldung/articles.html", uri.toString()); + } + + @Test + public void givenPath_whenConvertsToAbsolutePath_thenCorrect() { + Path p = Paths.get("/home/baeldung/articles.html"); + assertEquals("E:\\home\\baeldung\\articles.html", p.toAbsolutePath().toString()); + } + + @Test + public void givenAbsolutePath_whenRetainsAsAbsolute_thenCorrect() { + Path p = Paths.get("E:\\home\\baeldung\\articles.html"); + assertEquals("E:\\home\\baeldung\\articles.html", p.toAbsolutePath().toString()); + } + + @Test + public void givenExistingPath_whenGetsRealPathToFile_thenCorrect() throws IOException { + Path p = Paths.get(HOME); + assertEquals(HOME, p.toRealPath().toString()); + } + + @Test(expected = NoSuchFileException.class) + public void givenInExistentPath_whenFailsToConvert_thenCorrect() throws IOException { + Path p = Paths.get("E:\\home\\baeldung\\articles.html"); + + p.toRealPath(); + } + + // joining paths + @Test + public void givenTwoPaths_whenJoinsAndResolves_thenCorrect() throws IOException { + Path p = Paths.get("/baeldung/articles"); + assertEquals("\\baeldung\\articles\\java", p.resolve("java").toString()); + } + + @Test + public void givenAbsolutePath_whenResolutionRetainsIt_thenCorrect() throws IOException { + Path p = Paths.get("/baeldung/articles"); + assertEquals("C:\\baeldung\\articles\\java", p.resolve("C:\\baeldung\\articles\\java").toString()); + } + + @Test + public void givenPathWithRoot_whenResolutionRetainsIt_thenCorrect2() throws IOException { + Path p = Paths.get("/baeldung/articles"); + assertEquals("\\java", p.resolve("/java").toString()); + } + + // creating a path between 2 paths + @Test + public void givenSiblingPaths_whenCreatesPathToOther_thenCorrect() throws IOException { + Path p1 = Paths.get("articles"); + Path p2 = Paths.get("authors"); + assertEquals("..\\authors", p1.relativize(p2).toString()); + assertEquals("..\\articles", p2.relativize(p1).toString()); + } + + @Test + public void givenNonSiblingPaths_whenCreatesPathToOther_thenCorrect() throws IOException { + Path p1 = Paths.get("/baeldung"); + Path p2 = Paths.get("/baeldung/authors/articles"); + assertEquals("authors\\articles", p1.relativize(p2).toString()); + assertEquals("..\\..", p2.relativize(p1).toString()); + } + + // comparing 2 paths + @Test + public void givenTwoPaths_whenTestsEquality_thenCorrect() throws IOException { + Path p1 = Paths.get("/baeldung/articles"); + Path p2 = Paths.get("/baeldung/articles"); + Path p3 = Paths.get("/baeldung/authors"); + + assertTrue(p1.equals(p2)); + assertFalse(p1.equals(p3)); + } + + @Test + public void givenPath_whenInspectsStart_thenCorrect() { + Path p1 = Paths.get("/baeldung/articles"); + assertTrue(p1.startsWith("/baeldung")); + } + + @Test + public void givenPath_whenInspectsEnd_thenCorrect() { + Path p1 = Paths.get("/baeldung/articles"); + assertTrue(p1.endsWith("articles")); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoClient.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoClient.java new file mode 100644 index 0000000000..ea35130f49 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoClient.java @@ -0,0 +1,82 @@ +package com.baeldung.java.nio2.async; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.net.InetSocketAddress; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousSocketChannel; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Future; + +public class AsyncEchoClient { + private AsynchronousSocketChannel client; + private Future future; + private static AsyncEchoClient instance; + + private AsyncEchoClient() { + try { + client = AsynchronousSocketChannel.open(); + InetSocketAddress hostAddress = new InetSocketAddress("localhost", 4999); + future = client.connect(hostAddress); + start(); + + } catch (IOException e) { + e.printStackTrace(); + } + } + + public static AsyncEchoClient getInstance() { + if (instance == null) + instance = new AsyncEchoClient(); + return instance; + } + + private void start() { + try { + future.get(); + } catch (InterruptedException | ExecutionException e) { + e.printStackTrace(); + } + } + + public String sendMessage(String message) { + byte[] byteMsg = new String(message).getBytes(); + ByteBuffer buffer = ByteBuffer.wrap(byteMsg); + Future writeResult = client.write(buffer); + + while (!writeResult.isDone()) { + // do nothing + } + buffer.flip(); + Future readResult = client.read(buffer); + while (!readResult.isDone()) { + + } + String echo = new String(buffer.array()).trim(); + buffer.clear(); + return echo; + } + + public void stop() { + try { + client.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } + + public static void main(String[] args) throws IOException { + AsyncEchoClient client = AsyncEchoClient.getInstance(); + client.start(); + BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); + String line = null; + System.out.println("Message to server:"); + while ((line = br.readLine()) != null) { + String response = client.sendMessage(line); + System.out.println("response from server: " + response); + System.out.println("Message to server:"); + } + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer.java new file mode 100644 index 0000000000..0e58cb5f10 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer.java @@ -0,0 +1,79 @@ +package com.baeldung.java.nio2.async; + +import java.io.File; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousServerSocketChannel; +import java.nio.channels.AsynchronousSocketChannel; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Future; + +public class AsyncEchoServer { + private AsynchronousServerSocketChannel serverChannel; + private Future acceptResult; + private AsynchronousSocketChannel clientChannel; + + public AsyncEchoServer() { + try { + serverChannel = AsynchronousServerSocketChannel.open(); + InetSocketAddress hostAddress = new InetSocketAddress("localhost", 4999); + serverChannel.bind(hostAddress); + acceptResult = serverChannel.accept(); + } catch (IOException e) { + e.printStackTrace(); + } + } + + public void runServer() { + try { + clientChannel = acceptResult.get(); + if ((clientChannel != null) && (clientChannel.isOpen())) { + while (true) { + + ByteBuffer buffer = ByteBuffer.allocate(32); + Future readResult = clientChannel.read(buffer); + + while (!readResult.isDone()) { + // do nothing + } + + buffer.flip(); + String message = new String(buffer.array()).trim(); + if (message.equals("bye")) { + break; // while loop + } + buffer = ByteBuffer.wrap(new String(message).getBytes()); + Future writeResult = clientChannel.write(buffer); + while (!writeResult.isDone()) { + // do nothing + } + buffer.clear(); + + } // while() + + clientChannel.close(); + serverChannel.close(); + + } + } catch (InterruptedException | ExecutionException | IOException e) { + e.printStackTrace(); + } + + } + + public static void main(String[] args) { + AsyncEchoServer server = new AsyncEchoServer(); + server.runServer(); + } + public static Process start() throws IOException, InterruptedException { + String javaHome = System.getProperty("java.home"); + String javaBin = javaHome + File.separator + "bin" + File.separator + "java"; + String classpath = System.getProperty("java.class.path"); + String className = AsyncEchoServer.class.getCanonicalName(); + + ProcessBuilder builder = new ProcessBuilder(javaBin, "-cp", classpath, className); + + return builder.start(); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer2.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer2.java new file mode 100644 index 0000000000..03ce233ce9 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoServer2.java @@ -0,0 +1,100 @@ +package com.baeldung.java.nio2.async; + +import java.io.File; +import java.io.IOException; +import java.net.InetSocketAddress; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousServerSocketChannel; +import java.nio.channels.AsynchronousSocketChannel; +import java.nio.channels.CompletionHandler; +import java.util.HashMap; +import java.util.Map; + +public class AsyncEchoServer2 { + private AsynchronousServerSocketChannel serverChannel; + private AsynchronousSocketChannel clientChannel; + + public AsyncEchoServer2() { + try { + serverChannel = AsynchronousServerSocketChannel.open(); + InetSocketAddress hostAddress = new InetSocketAddress("localhost", 4999); + serverChannel.bind(hostAddress); + while (true) { + + serverChannel.accept(null, new CompletionHandler() { + + @Override + public void completed(AsynchronousSocketChannel result, Object attachment) { + if (serverChannel.isOpen()) + serverChannel.accept(null, this); + clientChannel = result; + if ((clientChannel != null) && (clientChannel.isOpen())) { + ReadWriteHandler handler = new ReadWriteHandler(); + ByteBuffer buffer = ByteBuffer.allocate(32); + Map readInfo = new HashMap<>(); + readInfo.put("action", "read"); + readInfo.put("buffer", buffer); + clientChannel.read(buffer, readInfo, handler); + } + } + + @Override + public void failed(Throwable exc, Object attachment) { + // process error + } + }); + try { + System.in.read(); + } catch (IOException e) { + e.printStackTrace(); + } + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + class ReadWriteHandler implements CompletionHandler> { + + @Override + public void completed(Integer result, Map attachment) { + Map actionInfo = attachment; + String action = (String) actionInfo.get("action"); + if ("read".equals(action)) { + ByteBuffer buffer = (ByteBuffer) actionInfo.get("buffer"); + buffer.flip(); + actionInfo.put("action", "write"); + clientChannel.write(buffer, actionInfo, this); + buffer.clear(); + } else if ("write".equals(action)) { + ByteBuffer buffer = ByteBuffer.allocate(32); + actionInfo.put("action", "read"); + actionInfo.put("buffer", buffer); + clientChannel.read(buffer, actionInfo, this); + } + + } + + @Override + public void failed(Throwable exc, Map attachment) { + + } + + } + + + public static void main(String[] args) { + new AsyncEchoServer2(); + } + + public static Process start() throws IOException, InterruptedException { + String javaHome = System.getProperty("java.home"); + String javaBin = javaHome + File.separator + "bin" + File.separator + "java"; + String classpath = System.getProperty("java.class.path"); + String className = AsyncEchoServer2.class.getCanonicalName(); + + ProcessBuilder builder = new ProcessBuilder(javaBin, "-cp", classpath, className); + + return builder.start(); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java new file mode 100644 index 0000000000..7ac388fb09 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java @@ -0,0 +1,36 @@ +package com.baeldung.java.nio2.async; + +import static org.junit.Assert.*; + +import java.io.IOException; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +public class AsyncEchoTest { + + Process server; + AsyncEchoClient client; + + @Before + public void setup() throws IOException, InterruptedException { + server = AsyncEchoServer2.start(); + client = AsyncEchoClient.getInstance(); + } + + @Test + public void givenServerClient_whenServerEchosMessage_thenCorrect() { + String resp1 = client.sendMessage("hello"); + String resp2 = client.sendMessage("world"); + assertEquals("hello", resp1); + assertEquals("world", resp2); + } + + @After + public void teardown() throws IOException { + server.destroy(); + client.stop(); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java new file mode 100644 index 0000000000..db30d32210 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/async/AsyncFileTest.java @@ -0,0 +1,130 @@ +package com.baeldung.java.nio2.async; + +import static org.junit.Assert.assertEquals; + +import java.io.IOException; +import java.net.URI; +import java.nio.ByteBuffer; +import java.nio.channels.AsynchronousFileChannel; +import java.nio.channels.CompletionHandler; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.StandardOpenOption; +import java.util.UUID; +import java.util.concurrent.Future; + +import org.junit.Test; + +public class AsyncFileTest { + @Test + public void givenPath_whenReadsContentWithFuture_thenCorrect() throws IOException { + Path path = Paths.get(URI.create(new AsyncFileTest().getClass().getResource("/file.txt").toString())); + AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.READ); + + ByteBuffer buffer = ByteBuffer.allocate(1024); + + Future operation = fileChannel.read(buffer, 0); + + while (!operation.isDone()) + ; + + String fileContent = new String(buffer.array()).trim(); + buffer.clear(); + + assertEquals(fileContent, "baeldung.com"); + } + + @Test + public void givenPath_whenReadsContentWithCompletionHandler_thenCorrect() throws IOException { + Path path = Paths.get(URI.create(new AsyncFileTest().getClass().getResource("/file.txt").toString())); + AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.READ); + + ByteBuffer buffer = ByteBuffer.allocate(1024); + + fileChannel.read(buffer, 0, buffer, new CompletionHandler() { + + @Override + public void completed(Integer result, ByteBuffer attachment) { + // result is number of bytes read + // attachment is the buffer + + } + + @Override + public void failed(Throwable exc, ByteBuffer attachment) { + + } + }); + } + + @Test + public void givenPathAndContent_whenWritesToFileWithFuture_thenCorrect() throws IOException { + String fileName = UUID.randomUUID().toString(); + Path path = Paths.get(fileName); + AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.WRITE, StandardOpenOption.CREATE,StandardOpenOption.DELETE_ON_CLOSE); + + ByteBuffer buffer = ByteBuffer.allocate(1024); + long position = 0; + + buffer.put("hello world".getBytes()); + buffer.flip(); + + Future operation = fileChannel.write(buffer, position); + buffer.clear(); + + while (!operation.isDone()) { + + } + + String content = readContent(path); + assertEquals("hello world", content); + } + + @Test + public void givenPathAndContent_whenWritesToFileWithHandler_thenCorrect() throws IOException { + String fileName = UUID.randomUUID().toString(); + Path path = Paths.get(fileName); + AsynchronousFileChannel fileChannel = AsynchronousFileChannel.open(path, StandardOpenOption.WRITE, StandardOpenOption.CREATE,StandardOpenOption.DELETE_ON_CLOSE); + + + ByteBuffer buffer = ByteBuffer.allocate(1024); + buffer.put("hello world".getBytes()); + buffer.flip(); + + fileChannel.write(buffer, 0, buffer, new CompletionHandler() { + + @Override + public void completed(Integer result, ByteBuffer attachment) { + // result is number of bytes written + // attachment is the buffer + + } + + @Override + public void failed(Throwable exc, ByteBuffer attachment) { + + } + }); + } + + public static String readContent(Path file) { + AsynchronousFileChannel fileChannel = null; + try { + fileChannel = AsynchronousFileChannel.open(file, StandardOpenOption.READ); + } catch (IOException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + ByteBuffer buffer = ByteBuffer.allocate(1024); + + Future operation = fileChannel.read(buffer, 0); + + while (!operation.isDone()) + ; + + String fileContent = new String(buffer.array()).trim(); + buffer.clear(); + return fileContent; + } +} diff --git a/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java b/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java new file mode 100644 index 0000000000..dcc24c6415 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/nio2/attributes/BasicAttribsTest.java @@ -0,0 +1,68 @@ +package com.baeldung.java.nio2.attributes; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.attribute.BasicFileAttributeView; +import java.nio.file.attribute.BasicFileAttributes; +import java.nio.file.attribute.FileTime; + +import org.junit.Before; +import org.junit.Test; + +public class BasicAttribsTest { + private static final String HOME = System.getProperty("user.home"); + BasicFileAttributes basicAttribs; + + @Before + public void setup() throws IOException { + Path home = Paths.get(HOME); + BasicFileAttributeView basicView = Files.getFileAttributeView(home, BasicFileAttributeView.class); + basicAttribs = basicView.readAttributes(); + } + + @Test + public void givenFileTimes_whenComparesThem_ThenCorrect() { + FileTime created = basicAttribs.creationTime(); + FileTime modified = basicAttribs.lastModifiedTime(); + FileTime accessed = basicAttribs.lastAccessTime(); + + assertTrue(0 > created.compareTo(accessed)); + assertTrue(0 < modified.compareTo(created)); + assertTrue(0 == created.compareTo(created)); + } + + @Test + public void givenPath_whenGetsFileSize_thenCorrect() { + long size = basicAttribs.size(); + assertTrue(size > 0); + } + + @Test + public void givenPath_whenChecksIfDirectory_thenCorrect() { + boolean isDir = basicAttribs.isDirectory(); + assertTrue(isDir); + } + + @Test + public void givenPath_whenChecksIfFile_thenCorrect() { + boolean isFile = basicAttribs.isRegularFile(); + assertFalse(isFile); + } + + @Test + public void givenPath_whenChecksIfSymLink_thenCorrect() { + boolean isSymLink = basicAttribs.isSymbolicLink(); + assertFalse(isSymLink); + } + + @Test + public void givenPath_whenChecksIfOther_thenCorrect() { + boolean isOther = basicAttribs.isOther(); + assertFalse(isOther); + } +} diff --git a/core-java/src/test/java/com/baeldung/java/reflection/ReflectionUnitTest.java b/core-java/src/test/java/com/baeldung/java/reflection/ReflectionUnitTest.java new file mode 100644 index 0000000000..0c090901e7 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/reflection/ReflectionUnitTest.java @@ -0,0 +1,302 @@ +package com.baeldung.java.reflection; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.lang.reflect.Constructor; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.junit.Test; + +public class ReflectionUnitTest { + + @Test + public void givenObject_whenGetsFieldNamesAtRuntime_thenCorrect() { + final Object person = new Person(); + final Field[] fields = person.getClass().getDeclaredFields(); + + final List actualFieldNames = getFieldNames(fields); + + assertTrue(Arrays.asList("name", "age").containsAll(actualFieldNames)); + } + + @Test + public void givenObject_whenGetsClassName_thenCorrect() { + final Object goat = new Goat("goat"); + final Class clazz = goat.getClass(); + + assertEquals("Goat", clazz.getSimpleName()); + assertEquals("com.baeldung.java.reflection.Goat", clazz.getName()); + assertEquals("com.baeldung.java.reflection.Goat", clazz.getCanonicalName()); + } + + @Test + public void givenClassName_whenCreatesObject_thenCorrect() throws ClassNotFoundException { + final Class clazz = Class.forName("com.baeldung.java.reflection.Goat"); + + assertEquals("Goat", clazz.getSimpleName()); + assertEquals("com.baeldung.java.reflection.Goat", clazz.getName()); + assertEquals("com.baeldung.java.reflection.Goat", clazz.getCanonicalName()); + } + + @Test + public void givenClass_whenRecognisesModifiers_thenCorrect() throws ClassNotFoundException { + final Class goatClass = Class.forName("com.baeldung.java.reflection.Goat"); + final Class animalClass = Class.forName("com.baeldung.java.reflection.Animal"); + final int goatMods = goatClass.getModifiers(); + final int animalMods = animalClass.getModifiers(); + + assertTrue(Modifier.isPublic(goatMods)); + assertTrue(Modifier.isAbstract(animalMods)); + assertTrue(Modifier.isPublic(animalMods)); + } + + @Test + public void givenClass_whenGetsPackageInfo_thenCorrect() { + final Goat goat = new Goat("goat"); + final Class goatClass = goat.getClass(); + final Package pkg = goatClass.getPackage(); + + assertEquals("com.baeldung.java.reflection", pkg.getName()); + } + + @Test + public void givenClass_whenGetsSuperClass_thenCorrect() { + final Goat goat = new Goat("goat"); + final String str = "any string"; + + final Class goatClass = goat.getClass(); + final Class goatSuperClass = goatClass.getSuperclass(); + + assertEquals("Animal", goatSuperClass.getSimpleName()); + assertEquals("Object", str.getClass().getSuperclass().getSimpleName()); + + } + + @Test + public void givenClass_whenGetsImplementedInterfaces_thenCorrect() throws ClassNotFoundException { + final Class goatClass = Class.forName("com.baeldung.java.reflection.Goat"); + final Class animalClass = Class.forName("com.baeldung.java.reflection.Animal"); + final Class[] goatInterfaces = goatClass.getInterfaces(); + final Class[] animalInterfaces = animalClass.getInterfaces(); + + assertEquals(1, goatInterfaces.length); + assertEquals(1, animalInterfaces.length); + assertEquals("Locomotion", goatInterfaces[0].getSimpleName()); + assertEquals("Eating", animalInterfaces[0].getSimpleName()); + } + + @Test + public void givenClass_whenGetsConstructor_thenCorrect() throws ClassNotFoundException { + final Class goatClass = Class.forName("com.baeldung.java.reflection.Goat"); + final Constructor[] constructors = goatClass.getConstructors(); + + assertEquals(1, constructors.length); + assertEquals("com.baeldung.java.reflection.Goat", constructors[0].getName()); + } + + @Test + public void givenClass_whenGetsFields_thenCorrect() throws ClassNotFoundException { + final Class animalClass = Class.forName("com.baeldung.java.reflection.Animal"); + final Field[] fields = animalClass.getDeclaredFields(); + + final List actualFields = getFieldNames(fields); + + assertEquals(2, actualFields.size()); + assertTrue(actualFields.containsAll(Arrays.asList("name", "CATEGORY"))); + } + + @Test + public void givenClass_whenGetsMethods_thenCorrect() throws ClassNotFoundException { + final Class animalClass = Class.forName("com.baeldung.java.reflection.Animal"); + final Method[] methods = animalClass.getDeclaredMethods(); + final List actualMethods = getMethodNames(methods); + + assertEquals(3, actualMethods.size()); + assertTrue(actualMethods.containsAll(Arrays.asList("getName", "setName", "getSound"))); + } + + @Test + public void givenClass_whenGetsAllConstructors_thenCorrect() throws ClassNotFoundException { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Constructor[] constructors = birdClass.getConstructors(); + + assertEquals(3, constructors.length); + } + + @Test + public void givenClass_whenGetsEachConstructorByParamTypes_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + birdClass.getConstructor(); + birdClass.getConstructor(String.class); + birdClass.getConstructor(String.class, boolean.class); + } + + @Test + public void givenClass_whenInstantiatesObjectsAtRuntime_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + + final Constructor cons1 = birdClass.getConstructor(); + final Constructor cons2 = birdClass.getConstructor(String.class); + final Constructor cons3 = birdClass.getConstructor(String.class, boolean.class); + + final Bird bird1 = (Bird) cons1.newInstance(); + final Bird bird2 = (Bird) cons2.newInstance("Weaver bird"); + final Bird bird3 = (Bird) cons3.newInstance("dove", true); + + assertEquals("bird", bird1.getName()); + assertEquals("Weaver bird", bird2.getName()); + assertEquals("dove", bird3.getName()); + assertFalse(bird1.walks()); + assertTrue(bird3.walks()); + } + + @Test + public void givenClass_whenGetsPublicFields_thenCorrect() throws ClassNotFoundException { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Field[] fields = birdClass.getFields(); + assertEquals(1, fields.length); + assertEquals("CATEGORY", fields[0].getName()); + + } + + @Test + public void givenClass_whenGetsPublicFieldByName_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Field field = birdClass.getField("CATEGORY"); + assertEquals("CATEGORY", field.getName()); + + } + + @Test + public void givenClass_whenGetsDeclaredFields_thenCorrect() throws ClassNotFoundException { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Field[] fields = birdClass.getDeclaredFields(); + assertEquals(1, fields.length); + assertEquals("walks", fields[0].getName()); + } + + @Test + public void givenClass_whenGetsFieldsByName_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Field field = birdClass.getDeclaredField("walks"); + assertEquals("walks", field.getName()); + + } + + @Test + public void givenClassField_whenGetsType_thenCorrect() throws Exception { + final Field field = Class.forName("com.baeldung.java.reflection.Bird").getDeclaredField("walks"); + final Class fieldClass = field.getType(); + assertEquals("boolean", fieldClass.getSimpleName()); + } + + @Test + public void givenClassField_whenSetsAndGetsValue_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Bird bird = (Bird) birdClass.newInstance(); + final Field field = birdClass.getDeclaredField("walks"); + field.setAccessible(true); + + assertFalse(field.getBoolean(bird)); + assertFalse(bird.walks()); + + field.set(bird, true); + + assertTrue(field.getBoolean(bird)); + assertTrue(bird.walks()); + + } + + @Test + public void givenClassField_whenGetsAndSetsWithNull_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Field field = birdClass.getField("CATEGORY"); + field.setAccessible(true); + + assertEquals("domestic", field.get(null)); + } + + @Test + public void givenClass_whenGetsAllPublicMethods_thenCorrect() throws ClassNotFoundException { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Method[] methods = birdClass.getMethods(); + final List methodNames = getMethodNames(methods); + + assertTrue(methodNames.containsAll(Arrays.asList("equals", "notifyAll", "hashCode", "walks", "eats", "toString"))); + + } + + @Test + public void givenClass_whenGetsOnlyDeclaredMethods_thenCorrect() throws ClassNotFoundException { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final List actualMethodNames = getMethodNames(birdClass.getDeclaredMethods()); + + final List expectedMethodNames = Arrays.asList("setWalks", "walks", "getSound", "eats"); + + assertEquals(expectedMethodNames.size(), actualMethodNames.size()); + assertTrue(expectedMethodNames.containsAll(actualMethodNames)); + assertTrue(actualMethodNames.containsAll(expectedMethodNames)); + + } + + @Test + public void givenMethodName_whenGetsMethod_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Method walksMethod = birdClass.getDeclaredMethod("walks"); + final Method setWalksMethod = birdClass.getDeclaredMethod("setWalks", boolean.class); + + assertFalse(walksMethod.isAccessible()); + assertFalse(setWalksMethod.isAccessible()); + + walksMethod.setAccessible(true); + setWalksMethod.setAccessible(true); + + assertTrue(walksMethod.isAccessible()); + assertTrue(setWalksMethod.isAccessible()); + + } + + @Test + public void givenMethod_whenInvokes_thenCorrect() throws Exception { + final Class birdClass = Class.forName("com.baeldung.java.reflection.Bird"); + final Bird bird = (Bird) birdClass.newInstance(); + final Method setWalksMethod = birdClass.getDeclaredMethod("setWalks", boolean.class); + final Method walksMethod = birdClass.getDeclaredMethod("walks"); + final boolean walks = (boolean) walksMethod.invoke(bird); + + assertFalse(walks); + assertFalse(bird.walks()); + + setWalksMethod.invoke(bird, true); + final boolean walks2 = (boolean) walksMethod.invoke(bird); + + assertTrue(walks2); + assertTrue(bird.walks()); + + } + + private static List getFieldNames(Field[] fields) { + final List fieldNames = new ArrayList<>(); + for (final Field field : fields) { + fieldNames.add(field.getName()); + } + return fieldNames; + + } + + private static List getMethodNames(Method[] methods) { + final List methodNames = new ArrayList<>(); + for (final Method method : methods) { + methodNames.add(method.getName()); + } + return methodNames; + } + +} diff --git a/core-java/src/test/java/com/baeldung/java/regex/RegexUnitTest.java b/core-java/src/test/java/com/baeldung/java/regex/RegexUnitTest.java new file mode 100644 index 0000000000..e4ea55aae3 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java/regex/RegexUnitTest.java @@ -0,0 +1,501 @@ +package com.baeldung.java.regex; + +import static org.junit.Assert.*; + +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import org.junit.Test; + +public class RegexUnitTest { + private static Pattern pattern; + private static Matcher matcher; + + @Test + public void givenText_whenSimpleRegexMatches_thenCorrect() { + Pattern pattern = Pattern.compile("foo"); + Matcher matcher = pattern.matcher("foo"); + assertTrue(matcher.find()); + } + + @Test + public void givenText_whenSimpleRegexMatchesTwice_thenCorrect() { + Pattern pattern = Pattern.compile("foo"); + Matcher matcher = pattern.matcher("foofoo"); + int matches = 0; + while (matcher.find()) + matches++; + assertEquals(matches, 2); + + } + + @Test + public void givenText_whenMatchesWithDotMetach_thenCorrect() { + int matches = runTest(".", "foo"); + assertTrue(matches > 0); + } + + @Test + public void givenRepeatedText_whenMatchesOnceWithDotMetach_thenCorrect() { + int matches = runTest("foo.", "foofoo"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenORSet_whenMatchesAny_thenCorrect() { + int matches = runTest("[abc]", "b"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenORSet_whenMatchesAnyAndAll_thenCorrect() { + int matches = runTest("[abc]", "cab"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenORSet_whenMatchesAllCombinations_thenCorrect() { + int matches = runTest("[bcr]at", "bat cat rat"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenNORSet_whenMatchesNon_thenCorrect() { + int matches = runTest("[^abc]", "g"); + assertTrue(matches > 0); + } + + @Test + public void givenNORSet_whenMatchesAllExceptElements_thenCorrect() { + int matches = runTest("[^bcr]at", "sat mat eat"); + assertTrue(matches > 0); + } + + @Test + public void givenUpperCaseRange_whenMatchesUpperCase_thenCorrect() { + int matches = runTest("[A-Z]", "Two Uppercase alphabets 34 overall"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenLowerCaseRange_whenMatchesLowerCase_thenCorrect() { + int matches = runTest("[a-z]", "Two Uppercase alphabets 34 overall"); + assertTrue(matches > 0); + assertEquals(matches, 26); + } + + @Test + public void givenBothLowerAndUpperCaseRange_whenMatchesAllLetters_thenCorrect() { + int matches = runTest("[a-zA-Z]", "Two Uppercase alphabets 34 overall"); + assertTrue(matches > 0); + assertEquals(matches, 28); + } + + @Test + public void givenNumberRange_whenMatchesAccurately_thenCorrect() { + int matches = runTest("[1-5]", "Two Uppercase alphabets 34 overall"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenNumberRange_whenMatchesAccurately_thenCorrect2() { + int matches = runTest("[30-35]", "Two Uppercase alphabets 34 overall"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenTwoSets_whenMatchesUnion_thenCorrect() { + int matches = runTest("[1-3[7-9]]", "123456789"); + assertTrue(matches > 0); + assertEquals(matches, 6); + } + + @Test + public void givenTwoSets_whenMatchesIntersection_thenCorrect() { + int matches = runTest("[1-6&&[3-9]]", "123456789"); + assertTrue(matches > 0); + assertEquals(matches, 4); + } + + @Test + public void givenSetWithSubtraction_whenMatchesAccurately_thenCorrect() { + int matches = runTest("[0-9&&[^2468]]", "123456789"); + assertTrue(matches > 0); + assertEquals(matches, 5); + } + + @Test + public void givenDigits_whenMatches_thenCorrect() { + int matches = runTest("\\d", "123"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenNonDigits_whenMatches_thenCorrect() { + int matches = runTest("\\D", "a6c"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenWhiteSpace_whenMatches_thenCorrect() { + int matches = runTest("\\s", "a c"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenNonWhiteSpace_whenMatches_thenCorrect() { + int matches = runTest("\\S", "a c"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenWordCharacter_whenMatches_thenCorrect() { + int matches = runTest("\\w", "hi!"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenNonWordCharacter_whenMatches_thenCorrect() { + int matches = runTest("\\W", "hi!"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenZeroOrOneQuantifier_whenMatches_thenCorrect() { + int matches = runTest("\\a?", "hi"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenZeroOrOneQuantifier_whenMatches_thenCorrect2() { + int matches = runTest("\\a{0,1}", "hi"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenZeroOrManyQuantifier_whenMatches_thenCorrect() { + int matches = runTest("\\a*", "hi"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenZeroOrManyQuantifier_whenMatches_thenCorrect2() { + int matches = runTest("\\a{0,}", "hi"); + assertTrue(matches > 0); + assertEquals(matches, 3); + } + + @Test + public void givenOneOrManyQuantifier_whenMatches_thenCorrect() { + int matches = runTest("\\a+", "hi"); + assertFalse(matches > 0); + } + + @Test + public void givenOneOrManyQuantifier_whenMatches_thenCorrect2() { + int matches = runTest("\\a{1,}", "hi"); + assertFalse(matches > 0); + } + + @Test + public void givenBraceQuantifier_whenMatches_thenCorrect() { + int matches = runTest("a{3}", "aaaaaa"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenBraceQuantifier_whenFailsToMatch_thenCorrect() { + int matches = runTest("a{3}", "aa"); + assertFalse(matches > 0); + } + + @Test + public void givenBraceQuantifierWithRange_whenMatches_thenCorrect() { + int matches = runTest("a{2,3}", "aaaa"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenBraceQuantifierWithRange_whenMatchesLazily_thenCorrect() { + int matches = runTest("a{2,3}?", "aaaa"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenCapturingGroup_whenMatches_thenCorrect() { + int matches = runTest("(\\d\\d)", "12"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenCapturingGroup_whenMatches_thenCorrect2() { + int matches = runTest("(\\d\\d)", "1212"); + assertTrue(matches > 0); + assertEquals(matches, 2); + } + + @Test + public void givenCapturingGroup_whenMatches_thenCorrect3() { + int matches = runTest("(\\d\\d)(\\d\\d)", "1212"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenCapturingGroup_whenMatchesWithBackReference_thenCorrect() { + int matches = runTest("(\\d\\d)\\1", "1212"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenCapturingGroup_whenMatchesWithBackReference_thenCorrect2() { + int matches = runTest("(\\d\\d)\\1\\1\\1", "12121212"); + assertTrue(matches > 0); + assertEquals(matches, 1); + } + + @Test + public void givenCapturingGroupAndWrongInput_whenMatchFailsWithBackReference_thenCorrect() { + int matches = runTest("(\\d\\d)\\1", "1213"); + assertFalse(matches > 0); + } + + @Test + public void givenText_whenMatchesAtBeginning_thenCorrect() { + int matches = runTest("^dog", "dogs are friendly"); + assertTrue(matches > 0); + } + + @Test + public void givenTextAndWrongInput_whenMatchFailsAtBeginning_thenCorrect() { + int matches = runTest("^dog", "are dogs are friendly?"); + assertFalse(matches > 0); + } + + @Test + public void givenText_whenMatchesAtEnd_thenCorrect() { + int matches = runTest("dog$", "Man's best friend is a dog"); + assertTrue(matches > 0); + } + + @Test + public void givenTextAndWrongInput_whenMatchFailsAtEnd_thenCorrect() { + int matches = runTest("dog$", "is a dog man's best friend?"); + assertFalse(matches > 0); + } + + @Test + public void givenText_whenMatchesAtWordBoundary_thenCorrect() { + int matches = runTest("\\bdog\\b", "a dog is friendly"); + assertTrue(matches > 0); + } + + @Test + public void givenText_whenMatchesAtWordBoundary_thenCorrect2() { + int matches = runTest("\\bdog\\b", "dog is man's best friend"); + assertTrue(matches > 0); + } + + @Test + public void givenWrongText_whenMatchFailsAtWordBoundary_thenCorrect() { + int matches = runTest("\\bdog\\b", "snoop dogg is a rapper"); + assertFalse(matches > 0); + } + + @Test + public void givenText_whenMatchesAtWordAndNonBoundary_thenCorrect() { + int matches = runTest("\\bdog\\B", "snoop dogg is a rapper"); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithoutCanonEq_whenMatchFailsOnEquivalentUnicode_thenCorrect() { + int matches = runTest("\u00E9", "\u0065\u0301"); + assertFalse(matches > 0); + } + + @Test + public void givenRegexWithCanonEq_whenMatchesOnEquivalentUnicode_thenCorrect() { + int matches = runTest("\u00E9", "\u0065\u0301", Pattern.CANON_EQ); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithDefaultMatcher_whenMatchFailsOnDifferentCases_thenCorrect() { + int matches = runTest("dog", "This is a Dog"); + assertFalse(matches > 0); + } + + @Test + public void givenRegexWithCaseInsensitiveMatcher_whenMatchesOnDifferentCases_thenCorrect() { + int matches = runTest("dog", "This is a Dog", Pattern.CASE_INSENSITIVE); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithEmbeddedCaseInsensitiveMatcher_whenMatchesOnDifferentCases_thenCorrect() { + int matches = runTest("(?i)dog", "This is a Dog"); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithComments_whenMatchFailsWithoutFlag_thenCorrect() { + int matches = runTest("dog$ #check for word dog at end of text", "This is a dog"); + assertFalse(matches > 0); + } + + @Test + public void givenRegexWithComments_whenMatchesWithFlag_thenCorrect() { + int matches = runTest("dog$ #check for word dog at end of text", "This is a dog", Pattern.COMMENTS); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithComments_whenMatchesWithEmbeddedFlag_thenCorrect() { + int matches = runTest("(?x)dog$ #check for word dog at end of text", "This is a dog"); + assertTrue(matches > 0); + } + + @Test + public void givenRegexWithLineTerminator_whenMatchFails_thenCorrect() { + Pattern pattern = Pattern.compile("(.*)"); + Matcher matcher = pattern.matcher("this is a text" + System.getProperty("line.separator") + " continued on another line"); + matcher.find(); + assertEquals("this is a text", matcher.group(1)); + } + + @Test + public void givenRegexWithLineTerminator_whenMatchesWithDotall_thenCorrect() { + Pattern pattern = Pattern.compile("(.*)", Pattern.DOTALL); + Matcher matcher = pattern.matcher("this is a text" + System.getProperty("line.separator") + " continued on another line"); + matcher.find(); + assertEquals("this is a text" + System.getProperty("line.separator") + " continued on another line", matcher.group(1)); + } + + @Test + public void givenRegexWithLineTerminator_whenMatchesWithEmbeddedDotall_thenCorrect() { + Pattern pattern = Pattern.compile("(?s)(.*)"); + Matcher matcher = pattern.matcher("this is a text" + System.getProperty("line.separator") + " continued on another line"); + matcher.find(); + assertEquals("this is a text" + System.getProperty("line.separator") + " continued on another line", matcher.group(1)); + } + + @Test + public void givenRegex_whenMatchesWithoutLiteralFlag_thenCorrect() { + int matches = runTest("(.*)", "text"); + assertTrue(matches > 0); + } + + @Test + public void givenRegex_whenMatchFailsWithLiteralFlag_thenCorrect() { + int matches = runTest("(.*)", "text", Pattern.LITERAL); + assertFalse(matches > 0); + } + + @Test + public void givenRegex_whenMatchesWithLiteralFlag_thenCorrect() { + int matches = runTest("(.*)", "text(.*)", Pattern.LITERAL); + assertTrue(matches > 0); + } + + @Test + public void givenRegex_whenMatchFailsWithoutMultilineFlag_thenCorrect() { + int matches = runTest("dog$", "This is a dog" + System.getProperty("line.separator") + "this is a fox"); + assertFalse(matches > 0); + } + + @Test + public void givenRegex_whenMatchesWithMultilineFlag_thenCorrect() { + int matches = runTest("dog$", "This is a dog" + System.getProperty("line.separator") + "this is a fox", Pattern.MULTILINE); + assertTrue(matches > 0); + } + + @Test + public void givenRegex_whenMatchesWithEmbeddedMultilineFlag_thenCorrect() { + int matches = runTest("(?m)dog$", "This is a dog" + System.getProperty("line.separator") + "this is a fox"); + assertTrue(matches > 0); + } + + @Test + public void givenMatch_whenGetsIndices_thenCorrect() { + Pattern pattern = Pattern.compile("dog"); + Matcher matcher = pattern.matcher("This dog is mine"); + matcher.find(); + assertEquals(5, matcher.start()); + assertEquals(8, matcher.end()); + } + + @Test + public void whenStudyMethodsWork_thenCorrect() { + Pattern pattern = Pattern.compile("dog"); + Matcher matcher = pattern.matcher("dogs are friendly"); + assertTrue(matcher.lookingAt()); + assertFalse(matcher.matches()); + + } + + @Test + public void whenMatchesStudyMethodWorks_thenCorrect() { + Pattern pattern = Pattern.compile("dog"); + Matcher matcher = pattern.matcher("dog"); + assertTrue(matcher.matches()); + + } + + @Test + public void whenReplaceFirstWorks_thenCorrect() { + Pattern pattern = Pattern.compile("dog"); + Matcher matcher = pattern.matcher("dogs are domestic animals, dogs are friendly"); + String newStr = matcher.replaceFirst("cat"); + assertEquals("cats are domestic animals, dogs are friendly", newStr); + + } + + @Test + public void whenReplaceAllWorks_thenCorrect() { + Pattern pattern = Pattern.compile("dog"); + Matcher matcher = pattern.matcher("dogs are domestic animals, dogs are friendly"); + String newStr = matcher.replaceAll("cat"); + assertEquals("cats are domestic animals, cats are friendly", newStr); + + } + + public synchronized static int runTest(String regex, String text) { + pattern = Pattern.compile(regex); + matcher = pattern.matcher(text); + int matches = 0; + while (matcher.find()) + matches++; + return matches; + } + + public synchronized static int runTest(String regex, String text, int flags) { + pattern = Pattern.compile(regex, flags); + matcher = pattern.matcher(text); + int matches = 0; + while (matcher.find()) + matches++; + return matches; + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8CollectionCleanupUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8CollectionCleanupUnitTest.java new file mode 100644 index 0000000000..ef4b80c6e8 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8CollectionCleanupUnitTest.java @@ -0,0 +1,48 @@ +package com.baeldung.java8; + +import com.google.common.collect.Lists; +import org.junit.Test; + +import java.util.List; +import java.util.stream.Collectors; + +import static org.hamcrest.Matchers.hasSize; +import static org.junit.Assert.assertThat; + +public class Java8CollectionCleanupUnitTest { + + // tests - + + @Test + public void givenListContainsNulls_whenFilteringParallel_thenCorrect() { + final List list = Lists.newArrayList(null, 1, 2, null, 3, null); + final List listWithoutNulls = list.parallelStream().filter(i -> i != null).collect(Collectors.toList()); + + assertThat(listWithoutNulls, hasSize(3)); + } + + @Test + public void givenListContainsNulls_whenFilteringSerial_thenCorrect() { + final List list = Lists.newArrayList(null, 1, 2, null, 3, null); + final List listWithoutNulls = list.stream().filter(i -> i != null).collect(Collectors.toList()); + + assertThat(listWithoutNulls, hasSize(3)); + } + + @Test + public void givenListContainsNulls_whenRemovingNullsWithRemoveIf_thenCorrect() { + final List listWithoutNulls = Lists.newArrayList(null, 1, 2, null, 3, null); + listWithoutNulls.removeIf(p -> p == null); + + assertThat(listWithoutNulls, hasSize(3)); + } + + @Test + public void givenListContainsDuplicates_whenRemovingDuplicatesWithJava8_thenCorrect() { + final List listWithDuplicates = Lists.newArrayList(1, 1, 2, 2, 3, 3); + final List listWithoutDuplicates = listWithDuplicates.parallelStream().distinct().collect(Collectors.toList()); + + assertThat(listWithoutDuplicates, hasSize(3)); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8DefaultStaticIntefaceMethodsUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8DefaultStaticIntefaceMethodsUnitTest.java new file mode 100644 index 0000000000..5b07b3e3ae --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8DefaultStaticIntefaceMethodsUnitTest.java @@ -0,0 +1,27 @@ +package com.baeldung.java8; + +import com.baeldung.java_8_features.Vehicle; +import com.baeldung.java_8_features.VehicleImpl; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class Java8DefaultStaticIntefaceMethodsUnitTest { + + @Test + public void callStaticInterfaceMethdosMethods_whenExpectedResults_thenCorrect() { + Vehicle vehicle = new VehicleImpl(); + String overview = vehicle.getOverview(); + long[] startPosition = vehicle.startPosition(); + + assertEquals(overview, "ATV made by N&F Vehicles"); + assertEquals(startPosition[0], 23); + assertEquals(startPosition[1], 15); + } + + @Test + public void callDefaultInterfaceMethods_whenExpectedResults_thenCorrect() { + String producer = Vehicle.producer(); + assertEquals(producer, "N&F Vehicles"); + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8ExecutorServiceIntegrationTest.java b/core-java/src/test/java/com/baeldung/java8/Java8ExecutorServiceIntegrationTest.java new file mode 100644 index 0000000000..41eb864fd9 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8ExecutorServiceIntegrationTest.java @@ -0,0 +1,162 @@ +package com.baeldung.java8; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.Future; +import java.util.concurrent.LinkedBlockingQueue; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +import org.junit.Before; +import org.junit.Test; + +public class Java8ExecutorServiceIntegrationTest { + + private Runnable runnableTask; + private Callable callableTask; + private List> callableTasks; + + @Before + public void init() { + + runnableTask = () -> { + try { + TimeUnit.MILLISECONDS.sleep(300); + } catch (InterruptedException e) { + e.printStackTrace(); + } + }; + + callableTask = () -> { + TimeUnit.MILLISECONDS.sleep(300); + return "Task's execution"; + }; + + callableTasks = new ArrayList<>(); + callableTasks.add(callableTask); + callableTasks.add(callableTask); + callableTasks.add(callableTask); + } + + @Test + public void creationSubmittingTaskShuttingDown_whenShutDown_thenCorrect() { + + ExecutorService executorService = Executors.newFixedThreadPool(10); + executorService.submit(runnableTask); + executorService.submit(callableTask); + executorService.shutdown(); + + assertTrue(executorService.isShutdown()); + } + + @Test + public void creationSubmittingTasksShuttingDownNow_whenShutDownAfterAwating_thenCorrect() { + + ExecutorService threadPoolExecutor = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>()); + + for (int i = 0; i < 100; i++) { + threadPoolExecutor.submit(callableTask); + } + + List notExecutedTasks = smartShutdown(threadPoolExecutor); + + assertTrue(threadPoolExecutor.isShutdown()); + assertFalse(notExecutedTasks.isEmpty()); + assertTrue(notExecutedTasks.size() > 0 && notExecutedTasks.size() < 98); + } + + private List smartShutdown(ExecutorService executorService) { + + List notExecutedTasks = new ArrayList<>(); + executorService.shutdown(); + try { + if (!executorService.awaitTermination(800, TimeUnit.MILLISECONDS)) { + notExecutedTasks = executorService.shutdownNow(); + } + } catch (InterruptedException e) { + notExecutedTasks = executorService.shutdownNow(); + } + return notExecutedTasks; + } + + @Test + public void submittingTasks_whenExecutedOneAndAll_thenCorrect() { + + ExecutorService executorService = Executors.newFixedThreadPool(10); + + String result = null; + List> futures = new ArrayList<>(); + try { + result = executorService.invokeAny(callableTasks); + futures = executorService.invokeAll(callableTasks); + } catch (InterruptedException | ExecutionException e) { + e.printStackTrace(); + } + + assertEquals("Task's execution", result); + assertTrue(futures.size() == 3); + } + + @Test + public void submittingTaskShuttingDown_whenGetExpectedResult_thenCorrect() { + + ExecutorService executorService = Executors.newFixedThreadPool(10); + + Future future = executorService.submit(callableTask); + String result = null; + try { + result = future.get(); + result = future.get(200, TimeUnit.MILLISECONDS); + } catch (InterruptedException | ExecutionException | TimeoutException e) { + e.printStackTrace(); + } + + executorService.shutdown(); + + assertEquals("Task's execution", result); + } + + @Test + public void submittingTask_whenCanceled_thenCorrect() { + + ExecutorService executorService = Executors.newFixedThreadPool(10); + + Future future = executorService.submit(callableTask); + + boolean canceled = future.cancel(true); + boolean isCancelled = future.isCancelled(); + + executorService.shutdown(); + + assertTrue(canceled); + assertTrue(isCancelled); + } + + @Test + public void submittingTaskScheduling_whenExecuted_thenCorrect() { + + ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); + + Future resultFuture = executorService.schedule(callableTask, 1, TimeUnit.SECONDS); + String result = null; + try { + result = resultFuture.get(); + } catch (InterruptedException | ExecutionException e) { + e.printStackTrace(); + } + + executorService.shutdown(); + + assertEquals("Task's execution", result); + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java b/core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java new file mode 100644 index 0000000000..d9b0aa9d98 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8ForEachTest.java @@ -0,0 +1,52 @@ +package com.baeldung.java8; + +import java.util.ArrayList; +import java.util.List; +import java.util.function.Consumer; + +import org.junit.Test; + +public class Java8ForEachTest { + + @Test + public void compareForEachMethods_thenPrintResults() { + + List names = new ArrayList<>(); + names.add("Larry"); + names.add("Steve"); + names.add("James"); + names.add("Conan"); + names.add("Ellen"); + + // Java 5 - for-loop + System.out.println("--- Enhanced for-loop ---"); + for (String name : names) { + System.out.println(name); + } + + // Java 8 - forEach + System.out.println("--- forEach method ---"); + names.forEach(name -> System.out.println(name)); + + // Anonymous inner class that implements Consumer interface + System.out.println("--- Anonymous inner class ---"); + names.forEach(new Consumer() { + public void accept(String name) { + System.out.println(name); + } + }); + + // Create a Consumer implementation to then use in a forEach method + Consumer consumerNames = name -> { + System.out.println(name); + }; + System.out.println("--- Implementation of Consumer interface ---"); + names.forEach(consumerNames); + + // Print elements using a Method Reference + System.out.println("--- Method Reference ---"); + names.forEach(System.out::println); + + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8ForkJoinIntegrationTest.java b/core-java/src/test/java/com/baeldung/java8/Java8ForkJoinIntegrationTest.java new file mode 100644 index 0000000000..6778fd782b --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8ForkJoinIntegrationTest.java @@ -0,0 +1,94 @@ +package com.baeldung.java8; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + +import java.util.Random; +import java.util.concurrent.ForkJoinPool; + +import org.junit.Before; +import org.junit.Test; + +import com.baeldung.forkjoin.CustomRecursiveAction; +import com.baeldung.forkjoin.CustomRecursiveTask; +import com.baeldung.forkjoin.util.PoolUtil; + +public class Java8ForkJoinIntegrationTest { + + private int[] arr; + private CustomRecursiveTask customRecursiveTask; + + @Before + public void init() { + Random random = new Random(); + arr = new int[50]; + for (int i = 0; i < arr.length; i++) { + arr[i] = random.nextInt(35); + } + customRecursiveTask = new CustomRecursiveTask(arr); + } + + @Test + public void callPoolUtil_whenExistsAndExpectedType_thenCorrect() { + ForkJoinPool forkJoinPool = PoolUtil.forkJoinPool; + ForkJoinPool forkJoinPoolTwo = PoolUtil.forkJoinPool; + + assertNotNull(forkJoinPool); + assertEquals(2, forkJoinPool.getParallelism()); + assertEquals(forkJoinPool, forkJoinPoolTwo); + } + + @Test + public void callCommonPool_whenExistsAndExpectedType_thenCorrect() { + ForkJoinPool commonPool = ForkJoinPool.commonPool(); + ForkJoinPool commonPoolTwo = ForkJoinPool.commonPool(); + + assertNotNull(commonPool); + assertEquals(commonPool, commonPoolTwo); + } + + @Test + public void executeRecursiveAction_whenExecuted_thenCorrect() { + + CustomRecursiveAction myRecursiveAction = new CustomRecursiveAction("ddddffffgggghhhh"); + ForkJoinPool.commonPool().invoke(myRecursiveAction); + + assertTrue(myRecursiveAction.isDone()); + + } + + @Test + public void executeRecursiveTask_whenExecuted_thenCorrect() { + ForkJoinPool forkJoinPool = ForkJoinPool.commonPool(); + + forkJoinPool.execute(customRecursiveTask); + int result = customRecursiveTask.join(); + assertTrue(customRecursiveTask.isDone()); + + forkJoinPool.submit(customRecursiveTask); + int resultTwo = customRecursiveTask.join(); + assertTrue(customRecursiveTask.isDone()); + } + + @Test + public void executeRecursiveTaskWithFJ_whenExecuted_thenCorrect() { + CustomRecursiveTask customRecursiveTaskFirst = new CustomRecursiveTask(arr); + CustomRecursiveTask customRecursiveTaskSecond = new CustomRecursiveTask(arr); + CustomRecursiveTask customRecursiveTaskLast = new CustomRecursiveTask(arr); + + customRecursiveTaskFirst.fork(); + customRecursiveTaskSecond.fork(); + customRecursiveTaskLast.fork(); + int result = 0; + result += customRecursiveTaskLast.join(); + result += customRecursiveTaskSecond.join(); + result += customRecursiveTaskFirst.join(); + + assertTrue(customRecursiveTaskFirst.isDone()); + assertTrue(customRecursiveTaskSecond.isDone()); + assertTrue(customRecursiveTaskLast.isDone()); + assertTrue(result != 0); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8FunctionalInteracesLambdasUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8FunctionalInteracesLambdasUnitTest.java new file mode 100644 index 0000000000..13ddcc805f --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8FunctionalInteracesLambdasUnitTest.java @@ -0,0 +1,94 @@ +package com.baeldung.java8; + +import com.baeldung.Foo; +import com.baeldung.FooExtended; +import com.baeldung.UseFoo; +import org.junit.Before; +import org.junit.Test; + +import java.util.function.Function; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; + +public class Java8FunctionalInteracesLambdasUnitTest { + + private UseFoo useFoo; + + @Before + public void init() { + useFoo = new UseFoo(); + } + + @Test + public void functionalInterfaceInstantiation_whenReturnDefiniteString_thenCorrect() { + final Foo foo = parameter -> parameter + "from lambda"; + final String result = useFoo.add("Message ", foo); + + assertEquals("Message from lambda", result); + } + + @Test + public void standardFIParameter_whenReturnDefiniteString_thenCorrect() { + final Function fn = parameter -> parameter + "from lambda"; + final String result = useFoo.addWithStandardFI("Message ", fn); + + assertEquals("Message from lambda", result); + } + + @Test + public void defaultMethodFromExtendedInterface_whenReturnDefiniteString_thenCorrect() { + final FooExtended fooExtended = string -> string; + final String result = fooExtended.defaultMethod(); + + assertEquals("String from Bar", result); + } + + @Test + public void lambdaAndInnerClassInstantiation_whenReturnSameString_thenCorrect() { + final Foo foo = parameter -> parameter + "from Foo"; + + final Foo fooByIC = new Foo() { + @Override + public String method(final String string) { + return string + "from Foo"; + } + }; + + assertEquals(foo.method("Something "), fooByIC.method("Something ")); + } + + @Test + public void accessVariablesFromDifferentScopes_whenReturnPredefinedString_thenCorrect() { + assertEquals("Results: resultIC = Inner class value, resultLambda = Enclosing scope value", useFoo.scopeExperiment()); + } + + @Test + public void shorteningLambdas_whenReturnEqualsResults_thenCorrect() { + final Foo foo = parameter -> buildString(parameter); + + final Foo fooHuge = parameter -> { + final String result = "Something " + parameter; + // many lines of code + return result; + }; + + assertEquals(foo.method("Something"), fooHuge.method("Something")); + } + + private String buildString(final String parameter) { + final String result = "Something " + parameter; + // many lines of code + return result; + } + + @Test + public void mutatingOfEffectivelyFinalVariable_whenNotEquals_thenCorrect() { + final int[] total = new int[1]; + final Runnable r = () -> total[0]++; + r.run(); + + assertNotEquals(0, total[0]); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8MethodReferenceUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8MethodReferenceUnitTest.java new file mode 100644 index 0000000000..2dc1fe18e6 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8MethodReferenceUnitTest.java @@ -0,0 +1,67 @@ +package com.baeldung.java8; + +import com.baeldung.java_8_features.User; +import org.junit.Before; +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +public class Java8MethodReferenceUnitTest { + + private List list; + + @Before + public void init() { + list = new ArrayList<>(); + list.add("One"); + list.add("OneAndOnly"); + list.add("Derek"); + list.add("Change"); + list.add("factory"); + list.add("justBefore"); + list.add("Italy"); + list.add("Italy"); + list.add("Thursday"); + list.add(""); + list.add(""); + } + + @Test + public void checkStaticMethodReferences_whenWork_thenCorrect() { + + List users = new ArrayList<>(); + users.add(new User()); + users.add(new User()); + boolean isReal = users.stream().anyMatch(u -> User.isRealUser(u)); + boolean isRealRef = users.stream().anyMatch(User::isRealUser); + assertTrue(isReal); + assertTrue(isRealRef); + } + + @Test + public void checkInstanceMethodReferences_whenWork_thenCorrect() { + User user = new User(); + boolean isLegalName = list.stream().anyMatch(user::isLegalName); + assertTrue(isLegalName); + } + + @Test + public void checkParticularTypeReferences_whenWork_thenCorrect() { + long count = list.stream().filter(String::isEmpty).count(); + assertEquals(count, 2); + } + + @Test + public void checkConstructorReferences_whenWork_thenCorrect() { + Stream stream = list.stream().map(User::new); + List userList = stream.collect(Collectors.toList()); + assertEquals(userList.size(), list.size()); + assertTrue(userList.get(0) instanceof User); + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8OptionalUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8OptionalUnitTest.java new file mode 100644 index 0000000000..c6d5836387 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8OptionalUnitTest.java @@ -0,0 +1,116 @@ +package com.baeldung.java8; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; + +import org.junit.Before; +import org.junit.Test; + +import com.baeldung.java_8_features.Address; +import com.baeldung.java_8_features.CustomException; +import com.baeldung.java_8_features.OptionalAddress; +import com.baeldung.java_8_features.OptionalUser; +import com.baeldung.java_8_features.User; + +public class Java8OptionalUnitTest { + + private List list; + + @Before + public void init() { + list = new ArrayList<>(); + list.add("One"); + list.add("OneAndOnly"); + list.add("Derek"); + list.add("Change"); + list.add("factory"); + list.add("justBefore"); + list.add("Italy"); + list.add("Italy"); + list.add("Thursday"); + list.add(""); + list.add(""); + } + + @Test + public void checkOptional_whenAsExpected_thenCorrect() { + Optional optionalEmpty = Optional.empty(); + assertFalse(optionalEmpty.isPresent()); + + String str = "value"; + Optional optional = Optional.of(str); + assertEquals(optional.get(), "value"); + + Optional optionalNullable = Optional.ofNullable(str); + Optional optionalNull = Optional.ofNullable(null); + assertEquals(optionalNullable.get(), "value"); + assertFalse(optionalNull.isPresent()); + + List listOpt = Optional.of(list).orElse(new ArrayList<>()); + List listNull = null; + List listOptNull = Optional.ofNullable(listNull).orElse(new ArrayList<>()); + assertTrue(listOpt == list); + assertTrue(listOptNull.isEmpty()); + + Optional user = Optional.ofNullable(getUser()); + String result = user.map(User::getAddress).map(Address::getStreet).orElse("not specified"); + assertEquals(result, "1st Avenue"); + + Optional optionalUser = Optional.ofNullable(getOptionalUser()); + String resultOpt = optionalUser.flatMap(OptionalUser::getAddress).flatMap(OptionalAddress::getStreet).orElse("not specified"); + assertEquals(resultOpt, "1st Avenue"); + + Optional userNull = Optional.ofNullable(getUserNull()); + String resultNull = userNull.map(User::getAddress).map(Address::getStreet).orElse("not specified"); + assertEquals(resultNull, "not specified"); + + Optional optionalUserNull = Optional.ofNullable(getOptionalUserNull()); + String resultOptNull = optionalUserNull.flatMap(OptionalUser::getAddress).flatMap(OptionalAddress::getStreet).orElse("not specified"); + assertEquals(resultOptNull, "not specified"); + + } + + @Test(expected = CustomException.class) + public void callMethod_whenCustomException_thenCorrect() { + User user = new User(); + String result = user.getOrThrow(); + } + + private User getUser() { + User user = new User(); + Address address = new Address(); + address.setStreet("1st Avenue"); + user.setAddress(address); + return user; + } + + private OptionalUser getOptionalUser() { + OptionalUser user = new OptionalUser(); + OptionalAddress address = new OptionalAddress(); + address.setStreet("1st Avenue"); + user.setAddress(address); + return user; + } + + private OptionalUser getOptionalUserNull() { + OptionalUser user = new OptionalUser(); + OptionalAddress address = new OptionalAddress(); + address.setStreet(null); + user.setAddress(address); + return user; + } + + private User getUserNull() { + User user = new User(); + Address address = new Address(); + address.setStreet(null); + user.setAddress(address); + return user; + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8SortUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8SortUnitTest.java new file mode 100644 index 0000000000..f371c0d7da --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8SortUnitTest.java @@ -0,0 +1,115 @@ +package com.baeldung.java8; + +import com.baeldung.java8.entity.Human; +import com.google.common.collect.Lists; +import com.google.common.primitives.Ints; +import org.junit.Assert; +import org.junit.Test; + +import java.util.Collections; +import java.util.Comparator; +import java.util.List; + +import static org.hamcrest.Matchers.equalTo; + +public class Java8SortUnitTest { + + // tests - + + @Test + public final void givenPreLambda_whenSortingEntitiesByName_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + Collections.sort(humans, new Comparator() { + @Override + public final int compare(final Human h1, final Human h2) { + return h1.getName().compareTo(h2.getName()); + } + }); + + Assert.assertThat(humans.get(0), equalTo(new Human("Jack", 12))); + } + + @Test + public final void whenSortingEntitiesByName_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + humans.sort((final Human h1, final Human h2) -> h1.getName().compareTo(h2.getName())); + + Assert.assertThat(humans.get(0), equalTo(new Human("Jack", 12))); + } + + @Test + public final void givenLambdaShortForm_whenSortingEntitiesByName_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + humans.sort((h1, h2) -> h1.getName().compareTo(h2.getName())); + + Assert.assertThat(humans.get(0), equalTo(new Human("Jack", 12))); + } + + @Test + public final void whenSortingEntitiesByNameThenAge_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 12), new Human("Sarah", 10), new Human("Zack", 12)); + humans.sort((lhs, rhs) -> { + if (lhs.getName().equals(rhs.getName())) { + return lhs.getAge() - rhs.getAge(); + } else { + return lhs.getName().compareTo(rhs.getName()); + } + }); + Assert.assertThat(humans.get(0), equalTo(new Human("Sarah", 10))); + } + + @Test + public final void givenCompositionVerbose_whenSortingEntitiesByNameThenAge_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 12), new Human("Sarah", 10), new Human("Zack", 12)); + final Comparator byName = (h1, h2) -> h1.getName().compareTo(h2.getName()); + final Comparator byAge = (h1, h2) -> Ints.compare(h1.getAge(), h2.getAge()); + + humans.sort(byName.thenComparing(byAge)); + Assert.assertThat(humans.get(0), equalTo(new Human("Sarah", 10))); + } + + @Test + public final void givenComposition_whenSortingEntitiesByNameThenAge_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 12), new Human("Sarah", 10), new Human("Zack", 12)); + + humans.sort(Comparator.comparing(Human::getName).thenComparing(Human::getAge)); + Assert.assertThat(humans.get(0), equalTo(new Human("Sarah", 10))); + } + + @Test + public final void whenSortingEntitiesByAge_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + humans.sort((h1, h2) -> Ints.compare(h1.getAge(), h2.getAge())); + Assert.assertThat(humans.get(0), equalTo(new Human("Sarah", 10))); + } + + @Test + public final void whenSortingEntitiesByNameReversed_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + final Comparator comparator = (h1, h2) -> h1.getName().compareTo(h2.getName()); + + humans.sort(comparator.reversed()); + Assert.assertThat(humans.get(0), equalTo(new Human("Sarah", 10))); + } + + @Test + public final void givenMethodDefinition_whenSortingEntitiesByNameThenAge_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + humans.sort(Human::compareByNameThenAge); + Assert.assertThat(humans.get(0), equalTo(new Human("Jack", 12))); + } + + @Test + public final void givenInstanceMethod_whenSortingEntitiesByName_thenCorrectlySorted() { + final List humans = Lists.newArrayList(new Human("Sarah", 10), new Human("Jack", 12)); + + humans.sort(Comparator.comparing(Human::getName)); + Assert.assertThat(humans.get(0), equalTo(new Human("Jack", 12))); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8StreamApiUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8StreamApiUnitTest.java new file mode 100644 index 0000000000..73a10a57f4 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8StreamApiUnitTest.java @@ -0,0 +1,243 @@ +package com.baeldung.java8; + +import com.baeldung.streamApi.Product; +import org.junit.Before; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.BufferedWriter; +import java.io.IOException; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.*; +import java.util.regex.Pattern; +import java.util.stream.*; + +import static org.junit.Assert.*; + +public class Java8StreamApiUnitTest { + + private long counter; + + private static Logger log = LoggerFactory.getLogger(Java8StreamApiUnitTest.class); + + private List productList; + + @Before + public void init() { + productList = Arrays.asList(new Product(23, "potatoes"), new Product(14, "orange"), new Product(13, "lemon"), new Product(23, "bread"), new Product(13, "sugar")); + } + + @Test + public void checkPipeline_whenStreamOneElementShorter_thenCorrect() { + + List list = Arrays.asList("abc1", "abc2", "abc3"); + long size = list.stream().skip(1).map(element -> element.substring(0, 3)).count(); + assertEquals(list.size() - 1, size); + } + + @Test + public void checkOrder_whenChangeQuantityOfMethodCalls_thenCorrect() { + + List list = Arrays.asList("abc1", "abc2", "abc3"); + + counter = 0; + long sizeFirst = list.stream().skip(2).map(element -> { + wasCalled(); + return element.substring(0, 3); + }).count(); + assertEquals(1, counter); + + counter = 0; + long sizeSecond = list.stream().map(element -> { + wasCalled(); + return element.substring(0, 3); + }).skip(2).count(); + assertEquals(3, counter); + } + + @Test + public void createEmptyStream_whenEmpty_thenCorrect() { + + Stream streamEmpty = Stream.empty(); + assertEquals(0, streamEmpty.count()); + + List names = Collections.emptyList(); + Stream streamOf = Product.streamOf(names); + assertTrue(streamOf.count() == 0); + } + + @Test + public void createStream_whenCreated_thenCorrect() { + + Collection collection = Arrays.asList("a", "b", "c"); + Stream streamOfCollection = collection.stream(); + assertEquals(3, streamOfCollection.count()); + + Stream streamOfArray = Stream.of("a", "b", "c"); + assertEquals(3, streamOfArray.count()); + + String[] arr = new String[] { "a", "b", "c" }; + Stream streamOfArrayPart = Arrays.stream(arr, 1, 3); + assertEquals(2, streamOfArrayPart.count()); + + IntStream intStream = IntStream.range(1, 3); + LongStream longStream = LongStream.rangeClosed(1, 3); + Random random = new Random(); + DoubleStream doubleStream = random.doubles(3); + assertEquals(2, intStream.count()); + assertEquals(3, longStream.count()); + assertEquals(3, doubleStream.count()); + + IntStream streamOfChars = "abc".chars(); + IntStream str = "".chars(); + assertEquals(3, streamOfChars.count()); + + Stream streamOfString = Pattern.compile(", ").splitAsStream("a, b, c"); + assertEquals("a", streamOfString.findFirst().get()); + + Path path = getPath(); + Stream streamOfStrings = null; + try { + streamOfStrings = Files.lines(path, Charset.forName("UTF-8")); + } catch (IOException e) { + log.error("Error creating streams from paths {}", path, e.getMessage(), e); + } + assertEquals("a", streamOfStrings.findFirst().get()); + + Stream streamBuilder = Stream. builder().add("a").add("b").add("c").build(); + assertEquals(3, streamBuilder.count()); + + Stream streamGenerated = Stream.generate(() -> "element").limit(10); + assertEquals(10, streamGenerated.count()); + + Stream streamIterated = Stream.iterate(40, n -> n + 2).limit(20); + assertTrue(40 <= streamIterated.findAny().get()); + } + + @Test + public void runStreamPipeline_whenOrderIsRight_thenCorrect() { + + List list = Arrays.asList("abc1", "abc2", "abc3"); + Optional stream = list.stream().filter(element -> { + log.info("filter() was called"); + return element.contains("2"); + }).map(element -> { + log.info("map() was called"); + return element.toUpperCase(); + }).findFirst(); + } + + @Test + public void reduce_whenExpected_thenCorrect() { + + OptionalInt reduced = IntStream.range(1, 4).reduce((a, b) -> a + b); + assertEquals(6, reduced.getAsInt()); + + int reducedTwoParams = IntStream.range(1, 4).reduce(10, (a, b) -> a + b); + assertEquals(16, reducedTwoParams); + + int reducedThreeParams = Stream.of(1, 2, 3).reduce(10, (a, b) -> a + b, (a, b) -> { + log.info("combiner was called"); + return a + b; + }); + assertEquals(16, reducedThreeParams); + + int reducedThreeParamsParallel = Arrays.asList(1, 2, 3).parallelStream().reduce(10, (a, b) -> a + b, (a, b) -> { + log.info("combiner was called"); + return a + b; + }); + assertEquals(36, reducedThreeParamsParallel); + } + + @Test + public void collecting_whenAsExpected_thenCorrect() { + + List collectorCollection = productList.stream().map(Product::getName).collect(Collectors.toList()); + + assertTrue(collectorCollection instanceof List); + assertEquals(5, collectorCollection.size()); + + String listToString = productList.stream().map(Product::getName).collect(Collectors.joining(", ", "[", "]")); + + assertTrue(listToString.contains(",") && listToString.contains("[") && listToString.contains("]")); + + double averagePrice = productList.stream().collect(Collectors.averagingInt(Product::getPrice)); + assertTrue(17.2 == averagePrice); + + int summingPrice = productList.stream().collect(Collectors.summingInt(Product::getPrice)); + assertEquals(86, summingPrice); + + IntSummaryStatistics statistics = productList.stream().collect(Collectors.summarizingInt(Product::getPrice)); + assertEquals(23, statistics.getMax()); + + Map> collectorMapOfLists = productList.stream().collect(Collectors.groupingBy(Product::getPrice)); + assertEquals(3, collectorMapOfLists.keySet().size()); + + Map> mapPartioned = productList.stream().collect(Collectors.partitioningBy(element -> element.getPrice() > 15)); + assertEquals(2, mapPartioned.keySet().size()); + + } + + @Test(expected = UnsupportedOperationException.class) + public void collect_whenThrows_thenCorrect() { + Set unmodifiableSet = productList.stream().collect(Collectors.collectingAndThen(Collectors.toSet(), Collections::unmodifiableSet)); + unmodifiableSet.add(new Product(4, "tea")); + } + + @Test + public void customCollector_whenResultContainsAllElementsFrSource_thenCorrect() { + Collector> toLinkedList = Collector.of(LinkedList::new, LinkedList::add, (first, second) -> { + first.addAll(second); + return first; + }); + + LinkedList linkedListOfPersons = productList.stream().collect(toLinkedList); + assertTrue(linkedListOfPersons.containsAll(productList)); + } + + @Test + public void parallelStream_whenWorks_thenCorrect() { + Stream streamOfCollection = productList.parallelStream(); + boolean isParallel = streamOfCollection.isParallel(); + boolean haveBigPrice = streamOfCollection.map(product -> product.getPrice() * 12).anyMatch(price -> price > 200); + assertTrue(isParallel && haveBigPrice); + } + + @Test + public void parallel_whenIsParallel_thenCorrect() { + IntStream intStreamParallel = IntStream.range(1, 150).parallel().map(element -> element * 34); + boolean isParallel = intStreamParallel.isParallel(); + assertTrue(isParallel); + } + + @Test + public void parallel_whenIsSequential_thenCorrect() { + IntStream intStreamParallel = IntStream.range(1, 150).parallel().map(element -> element * 34); + IntStream intStreamSequential = intStreamParallel.sequential(); + boolean isParallel = intStreamParallel.isParallel(); + assertFalse(isParallel); + } + + private Path getPath() { + Path path = null; + try { + path = Files.createTempFile(null, ".txt"); + } catch (IOException e) { + log.error(e.getMessage()); + } + + try (BufferedWriter writer = Files.newBufferedWriter(path)) { + writer.write("a\nb\nc"); + } catch (IOException e) { + log.error(e.getMessage()); + } + return path; + } + + private void wasCalled() { + counter++; + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/Java8StreamsUnitTest.java b/core-java/src/test/java/com/baeldung/java8/Java8StreamsUnitTest.java new file mode 100644 index 0000000000..e40f9f9506 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/Java8StreamsUnitTest.java @@ -0,0 +1,105 @@ +package com.baeldung.java8; + +import com.baeldung.java_8_features.Detail; +import org.junit.Before; +import org.junit.Test; + +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import static org.junit.Assert.*; + +public class Java8StreamsUnitTest { + + private List list; + + @Before + public void init() { + list = new ArrayList<>(); + list.add("One"); + list.add("OneAndOnly"); + list.add("Derek"); + list.add("Change"); + list.add("factory"); + list.add("justBefore"); + list.add("Italy"); + list.add("Italy"); + list.add("Thursday"); + list.add(""); + list.add(""); + } + + @Test + public void checkStreamCount_whenCreating_givenDifferentSources() { + String[] arr = new String[] { "a", "b", "c" }; + Stream streamArr = Arrays.stream(arr); + assertEquals(streamArr.count(), 3); + + Stream streamOf = Stream.of("a", "b", "c"); + assertEquals(streamOf.count(), 3); + + long count = list.stream().distinct().count(); + assertEquals(count, 9); + } + + @Test + public void checkStreamCount_whenOperationFilter_thanCorrect() { + Stream streamFilter = list.stream().filter(element -> element.isEmpty()); + assertEquals(streamFilter.count(), 2); + } + + @Test + public void checkStreamCount_whenOperationMap_thanCorrect() { + List uris = new ArrayList<>(); + uris.add("C:\\My.txt"); + Stream streamMap = uris.stream().map(uri -> Paths.get(uri)); + assertEquals(streamMap.count(), 1); + + List details = new ArrayList<>(); + details.add(new Detail()); + details.add(new Detail()); + Stream streamFlatMap = details.stream().flatMap(detail -> detail.getParts().stream()); + assertEquals(streamFlatMap.count(), 4); + } + + @Test + public void checkStreamCount_whenOperationMatch_thenCorrect() { + boolean isValid = list.stream().anyMatch(element -> element.contains("h")); + boolean isValidOne = list.stream().allMatch(element -> element.contains("h")); + boolean isValidTwo = list.stream().noneMatch(element -> element.contains("h")); + assertTrue(isValid); + assertFalse(isValidOne); + assertFalse(isValidTwo); + } + + @Test + public void checkStreamReducedValue_whenOperationReduce_thenCorrect() { + List integers = new ArrayList<>(); + integers.add(1); + integers.add(1); + integers.add(1); + Integer reduced = integers.stream().reduce(23, (a, b) -> a + b); + assertTrue(reduced == 26); + } + + @Test + public void checkStreamContains_whenOperationCollect_thenCorrect() { + List resultList = list.stream().map(element -> element.toUpperCase()).collect(Collectors.toList()); + assertEquals(resultList.size(), list.size()); + assertTrue(resultList.contains("")); + } + + @Test + public void checkParallelStream_whenDoWork() { + list.parallelStream().forEach(element -> doWork(element)); + } + + private void doWork(String string) { + assertTrue(true); // just imitate an amount of work + } +} diff --git a/core-java/src/test/java/com/baeldung/java8/JavaFolderSizeUnitTest.java b/core-java/src/test/java/com/baeldung/java8/JavaFolderSizeUnitTest.java new file mode 100644 index 0000000000..1f3b380772 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/JavaFolderSizeUnitTest.java @@ -0,0 +1,107 @@ +package com.baeldung.java8; + +import static org.junit.Assert.assertEquals; + +import java.io.File; +import java.io.IOException; +import java.nio.file.FileVisitResult; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.SimpleFileVisitor; +import java.nio.file.attribute.BasicFileAttributes; +import java.text.DecimalFormat; +import java.util.concurrent.atomic.AtomicLong; +import java.util.stream.StreamSupport; + +import org.apache.commons.io.FileUtils; +import org.junit.Before; +import org.junit.Test; + +public class JavaFolderSizeUnitTest { + private final long EXPECTED_SIZE = 24; + private String path; + + @Before + public void init() { + final String separator = File.separator; + path = String.format("src%stest%sresources%stestFolder", separator, separator, separator); + } + + @Test + public void whenGetFolderSizeRecursive_thenCorrect() { + final File folder = new File(path); + final long size = getFolderSize(folder); + + assertEquals(EXPECTED_SIZE, size); + } + + @Test + public void whenGetFolderSizeUsingJava7_thenCorrect() throws IOException { + final AtomicLong size = new AtomicLong(0); + final Path folder = Paths.get(path); + + Files.walkFileTree(folder, new SimpleFileVisitor() { + @Override + public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException { + size.addAndGet(attrs.size()); + return FileVisitResult.CONTINUE; + } + }); + + assertEquals(EXPECTED_SIZE, size.longValue()); + } + + @Test + public void whenGetFolderSizeUsingJava8_thenCorrect() throws IOException { + final Path folder = Paths.get(path); + final long size = Files.walk(folder).filter(p -> p.toFile().isFile()).mapToLong(p -> p.toFile().length()).sum(); + + assertEquals(EXPECTED_SIZE, size); + } + + @Test + public void whenGetFolderSizeUsingApacheCommonsIO_thenCorrect() { + final File folder = new File(path); + final long size = FileUtils.sizeOfDirectory(folder); + + assertEquals(EXPECTED_SIZE, size); + } + + @Test + public void whenGetFolderSizeUsingGuava_thenCorrect() { + final File folder = new File(path); + + final Iterable files = com.google.common.io.Files.fileTreeTraverser().breadthFirstTraversal(folder); + final long size = StreamSupport.stream(files.spliterator(), false).filter(File::isFile).mapToLong(File::length).sum(); + + assertEquals(EXPECTED_SIZE, size); + } + + @Test + public void whenGetReadableSize_thenCorrect() { + final File folder = new File(path); + final long size = getFolderSize(folder); + + final String[] units = new String[] { "B", "KB", "MB", "GB", "TB" }; + final int unitIndex = (int) (Math.log10(size) / 3); + final double unitValue = 1 << (unitIndex * 10); + + final String readableSize = new DecimalFormat("#,##0.#").format(size / unitValue) + " " + units[unitIndex]; + assertEquals(EXPECTED_SIZE + " B", readableSize); + } + + private long getFolderSize(final File folder) { + long length = 0; + final File[] files = folder.listFiles(); + + for (final File file : files) { + if (file.isFile()) { + length += file.length(); + } else { + length += getFolderSize(file); + } + } + return length; + } +} \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/java8/JavaTryWithResourcesUnitTest.java b/core-java/src/test/java/com/baeldung/java8/JavaTryWithResourcesUnitTest.java new file mode 100644 index 0000000000..4c843ccaaf --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/JavaTryWithResourcesUnitTest.java @@ -0,0 +1,86 @@ +package com.baeldung.java8; + +import org.junit.Assert; +import org.junit.Test; + +import java.io.PrintWriter; +import java.io.StringWriter; +import java.util.Date; +import java.util.Scanner; + +public class JavaTryWithResourcesUnitTest { + + private static final String TEST_STRING_HELLO_WORLD = "Hello World"; + private Date resource1Date, resource2Date; + + // tests + + /* Example for using Try_with_resources */ + @Test + public void whenWritingToStringWriter_thenCorrectlyWritten() { + final StringWriter sw = new StringWriter(); + try (PrintWriter pw = new PrintWriter(sw, true)) { + pw.print(TEST_STRING_HELLO_WORLD); + } + + Assert.assertEquals(sw.getBuffer().toString(), TEST_STRING_HELLO_WORLD); + } + + /* Example for using multiple resources */ + @Test + public void givenStringToScanner_whenWritingToStringWriter_thenCorrectlyWritten() { + + final StringWriter sw = new StringWriter(); + try (Scanner sc = new Scanner(TEST_STRING_HELLO_WORLD); PrintWriter pw = new PrintWriter(sw, true)) { + while (sc.hasNext()) { + pw.print(sc.nextLine()); + } + } + + Assert.assertEquals(sw.getBuffer().toString(), TEST_STRING_HELLO_WORLD); + } + + /* Example to show order in which the resources are closed */ + @Test + public void whenFirstAutoClosableResourceIsinitializedFirst_thenFirstAutoClosableResourceIsReleasedFirst() throws Exception { + try (AutoCloseableResourcesFirst af = new AutoCloseableResourcesFirst(); AutoCloseableResourcesSecond as = new AutoCloseableResourcesSecond()) { + af.doSomething(); + as.doSomething(); + } + Assert.assertTrue(resource1Date.after(resource2Date)); + } + + class AutoCloseableResourcesFirst implements AutoCloseable { + public AutoCloseableResourcesFirst() { + System.out.println("Constructor -> AutoCloseableResources_First"); + } + + public void doSomething() { + System.out.println("Something -> AutoCloseableResources_First"); + } + + @Override + public void close() throws Exception { + System.out.println("Closed AutoCloseableResources_First"); + resource1Date = new Date(); + } + } + + class AutoCloseableResourcesSecond implements AutoCloseable { + public AutoCloseableResourcesSecond() { + System.out.println("Constructor -> AutoCloseableResources_Second"); + } + + public void doSomething() { + System.out.println("Something -> AutoCloseableResources_Second"); + } + + @Override + public void close() throws Exception { + System.out.println("Closed AutoCloseableResources_Second"); + resource2Date = new Date(); + Thread.sleep(10000); + } + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/base64/ApacheCommonsEncodeDecodeUnitTest.java b/core-java/src/test/java/com/baeldung/java8/base64/ApacheCommonsEncodeDecodeUnitTest.java new file mode 100644 index 0000000000..7889e6ad53 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/base64/ApacheCommonsEncodeDecodeUnitTest.java @@ -0,0 +1,56 @@ +package com.baeldung.java8.base64; + +import org.apache.commons.codec.binary.Base64; +import org.junit.Test; + +import java.io.UnsupportedEncodingException; + +import static org.junit.Assert.*; + +public class ApacheCommonsEncodeDecodeUnitTest { + + // tests + + @Test + public void whenStringIsEncoded() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final Base64 base64 = new Base64(); + final String encodedString = new String(base64.encode(originalInput.getBytes())); + + assertNotNull(encodedString); + assertNotEquals(originalInput, encodedString); + } + + @Test + public void whenStringIsEncoded_thenStringCanBeDecoded() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final Base64 base64 = new Base64(); + final String encodedString = new String(base64.encode(originalInput.getBytes())); + + final String decodedString = new String(base64.decode(encodedString.getBytes())); + + assertNotNull(decodedString); + assertEquals(originalInput, decodedString); + } + + @Test + public void whenStringIsEncodedUsingStaticMethod() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = new String(Base64.encodeBase64(originalInput.getBytes())); + + assertNotNull(encodedString); + assertNotEquals(originalInput, encodedString); + } + + @Test + public void whenStringIsEncodedUsingStaticMethod_thenStringCanBeDecodedUsingStaticMethod() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = new String(Base64.encodeBase64(originalInput.getBytes())); + + final String decodedString = new String(Base64.decodeBase64(encodedString.getBytes())); + + assertNotNull(decodedString); + assertEquals(originalInput, decodedString); + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/base64/Java8EncodeDecodeUnitTest.java b/core-java/src/test/java/com/baeldung/java8/base64/Java8EncodeDecodeUnitTest.java new file mode 100644 index 0000000000..62cfa4c0a1 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/base64/Java8EncodeDecodeUnitTest.java @@ -0,0 +1,109 @@ +package com.baeldung.java8.base64; + +import org.junit.Test; + +import java.io.UnsupportedEncodingException; +import java.util.Base64; +import java.util.UUID; + +import static org.junit.Assert.*; + +public class Java8EncodeDecodeUnitTest { + + // tests + + @Test + public void whenStringIsEncoded_thenOk() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = Base64.getEncoder().encodeToString(originalInput.getBytes()); + + assertNotNull(encodedString); + assertNotEquals(originalInput, encodedString); + } + + @Test + public void whenStringIsEncoded_thenStringCanBeDecoded() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = Base64.getEncoder().encodeToString(originalInput.getBytes()); + + final byte[] decodedBytes = Base64.getDecoder().decode(encodedString); + final String decodedString = new String(decodedBytes); + + assertNotNull(decodedString); + assertEquals(originalInput, decodedString); + } + + @Test + public void whenStringIsEncodedWithoutPadding_thenOk() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = Base64.getEncoder().withoutPadding().encodeToString(originalInput.getBytes()); + + assertNotNull(encodedString); + assertNotEquals(originalInput, encodedString); + } + + @Test + public void whenStringIsEncodedWithoutPadding_thenStringCanBeDecoded() throws UnsupportedEncodingException { + final String originalInput = "test input"; + final String encodedString = Base64.getEncoder().withoutPadding().encodeToString(originalInput.getBytes()); + + final byte[] decodedBytes = Base64.getDecoder().decode(encodedString); + final String decodedString = new String(decodedBytes); + + assertNotNull(decodedString); + assertEquals(originalInput, decodedString); + } + + @Test + public void whenUrlIsEncoded_thenOk() throws UnsupportedEncodingException { + final String originalUrl = "https://www.google.co.nz/?gfe_rd=cr&ei=dzbFVf&gws_rd=ssl#q=java"; + final String encodedUrl = Base64.getUrlEncoder().encodeToString(originalUrl.getBytes()); + assertNotNull(encodedUrl); + assertNotEquals(originalUrl, encodedUrl); + } + + @Test + public void whenUrlIsEncoded_thenURLCanBeDecoded() throws UnsupportedEncodingException { + final String originalUrl = "https://www.google.co.nz/?gfe_rd=cr&ei=dzbFVf&gws_rd=ssl#q=java"; + final String encodedUrl = Base64.getUrlEncoder().encodeToString(originalUrl.getBytes()); + + final byte[] decodedBytes = Base64.getUrlDecoder().decode(encodedUrl.getBytes()); + final String decodedUrl = new String(decodedBytes); + + assertNotNull(decodedUrl); + assertEquals(originalUrl, decodedUrl); + } + + @Test + public void whenMimeIsEncoded_thenOk() throws UnsupportedEncodingException { + final StringBuilder buffer = getMimeBuffer(); + + final byte[] forEncode = buffer.toString().getBytes(); + final String encodedMime = Base64.getMimeEncoder().encodeToString(forEncode); + + assertNotNull(encodedMime); + } + + @Test + public void whenMimeIsEncoded_thenItCanBeDecoded() throws UnsupportedEncodingException { + final StringBuilder buffer = getMimeBuffer(); + + final byte[] forEncode = buffer.toString().getBytes(); + final String encodedMime = Base64.getMimeEncoder().encodeToString(forEncode); + + final byte[] decodedBytes = Base64.getMimeDecoder().decode(encodedMime); + final String decodedMime = new String(decodedBytes); + assertNotNull(decodedMime); + } + + // + + private static StringBuilder getMimeBuffer() { + final StringBuilder buffer = new StringBuilder(); + for (int count = 0; count < 10; ++count) { + buffer.append(UUID.randomUUID().toString()); + } + return buffer; + } + +} diff --git a/core-java/src/test/java/com/baeldung/java8/entity/Human.java b/core-java/src/test/java/com/baeldung/java8/entity/Human.java new file mode 100644 index 0000000000..cab8546129 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/java8/entity/Human.java @@ -0,0 +1,89 @@ +package com.baeldung.java8.entity; + +public class Human { + private String name; + private int age; + + public Human() { + super(); + } + + public Human(final String name, final int age) { + super(); + + this.name = name; + this.age = age; + } + + // API + + public String getName() { + return name; + } + + public void setName(final String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(final int age) { + this.age = age; + } + + // compare + + public static int compareByNameThenAge(final Human lhs, final Human rhs) { + if (lhs.name.equals(rhs.name)) { + return lhs.age - rhs.age; + } else { + return lhs.name.compareTo(rhs.name); + } + } + + // + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + age; + result = prime * result + ((name == null) ? 0 : name.hashCode()); + return result; + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + final Human other = (Human) obj; + if (age != other.age) { + return false; + } + if (name == null) { + if (other.name != null) { + return false; + } + } else if (!name.equals(other.name)) { + return false; + } + return true; + } + + @Override + public String toString() { + final StringBuilder builder = new StringBuilder(); + builder.append("Human [name=").append(name).append(", age=").append(age).append("]"); + return builder.toString(); + } + +} diff --git a/core-java/src/test/java/com/baeldung/printscreen/ScreenshotIntegrationTest.java b/core-java/src/test/java/com/baeldung/printscreen/ScreenshotIntegrationTest.java new file mode 100644 index 0000000000..13609b6977 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/printscreen/ScreenshotIntegrationTest.java @@ -0,0 +1,25 @@ +package com.baeldung.printscreen; + +import org.junit.After; +import org.junit.Test; + +import java.io.File; + +import static org.junit.Assert.assertTrue; + +public class ScreenshotIntegrationTest { + + private Screenshot screenshot = new Screenshot("Screenshot.jpg"); + private File file = new File("Screenshot.jpg"); + + @Test + public void testGetScreenshot() throws Exception { + screenshot.getScreenshot(2000); + assertTrue(file.exists()); + } + + @After + public void tearDown() throws Exception { + file.delete(); + } +} \ No newline at end of file diff --git a/core-java/src/test/java/com/baeldung/socket/EchoIntegrationTest.java b/core-java/src/test/java/com/baeldung/socket/EchoIntegrationTest.java new file mode 100644 index 0000000000..7ac8e0a97a --- /dev/null +++ b/core-java/src/test/java/com/baeldung/socket/EchoIntegrationTest.java @@ -0,0 +1,47 @@ +package com.baeldung.socket; + +import static org.junit.Assert.assertEquals; + +import java.util.concurrent.Executors; + +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +public class EchoIntegrationTest { + private static final Integer PORT = 4444; + + @BeforeClass + public static void start() throws InterruptedException { + Executors.newSingleThreadExecutor().submit(() -> new EchoServer().start(PORT)); + Thread.sleep(500); + } + + private EchoClient client = new EchoClient(); + + @Before + public void init() { + client.startConnection("127.0.0.1", PORT); + } + + @After + public void tearDown() { + client.stopConnection(); + } + + // + + @Test + public void givenClient_whenServerEchosMessage_thenCorrect() { + String resp1 = client.sendMessage("hello"); + String resp2 = client.sendMessage("world"); + String resp3 = client.sendMessage("!"); + String resp4 = client.sendMessage("."); + assertEquals("hello", resp1); + assertEquals("world", resp2); + assertEquals("!", resp3); + assertEquals("good bye", resp4); + } + +} diff --git a/core-java/src/test/java/com/baeldung/socket/GreetServerIntegrationTest.java b/core-java/src/test/java/com/baeldung/socket/GreetServerIntegrationTest.java new file mode 100644 index 0000000000..06b37d8539 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/socket/GreetServerIntegrationTest.java @@ -0,0 +1,41 @@ +package com.baeldung.socket; + +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.util.concurrent.Executors; + +import static org.junit.Assert.assertEquals; + +public class GreetServerIntegrationTest { + + private GreetClient client; + + private static final Integer PORT = 6666; + + @BeforeClass + public static void start() throws InterruptedException { + Executors.newSingleThreadExecutor().submit(() -> new GreetServer().start(PORT)); + Thread.sleep(500); + } + + @Before + public void init() { + client = new GreetClient(); + client.startConnection("127.0.0.1", PORT); + + } + + @Test + public void givenGreetingClient_whenServerRespondsWhenStarted_thenCorrect() { + String response = client.sendMessage("hello server"); + assertEquals("hello client", response); + } + + @After + public void finish() { + client.stopConnection(); + } +} diff --git a/core-java/src/test/java/com/baeldung/socket/SocketEchoMultiIntegrationTest.java b/core-java/src/test/java/com/baeldung/socket/SocketEchoMultiIntegrationTest.java new file mode 100644 index 0000000000..6ebc0946c5 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/socket/SocketEchoMultiIntegrationTest.java @@ -0,0 +1,59 @@ +package com.baeldung.socket; + +import org.junit.BeforeClass; +import org.junit.Test; + +import java.util.concurrent.Executors; + +import static org.junit.Assert.assertEquals; + +public class SocketEchoMultiIntegrationTest { + + private static final Integer PORT = 5555; + + @BeforeClass + public static void start() throws InterruptedException { + Executors.newSingleThreadExecutor().submit(() -> new EchoMultiServer().start(PORT)); + Thread.sleep(500); + } + + @Test + public void givenClient1_whenServerResponds_thenCorrect() { + EchoClient client = new EchoClient(); + client.startConnection("127.0.0.1", PORT); + String msg1 = client.sendMessage("hello"); + String msg2 = client.sendMessage("world"); + String terminate = client.sendMessage("."); + + assertEquals(msg1, "hello"); + assertEquals(msg2, "world"); + assertEquals(terminate, "bye"); + client.stopConnection(); + } + + @Test + public void givenClient2_whenServerResponds_thenCorrect() { + EchoClient client = new EchoClient(); + client.startConnection("127.0.0.1", PORT); + String msg1 = client.sendMessage("hello"); + String msg2 = client.sendMessage("world"); + String terminate = client.sendMessage("."); + assertEquals(msg1, "hello"); + assertEquals(msg2, "world"); + assertEquals(terminate, "bye"); + client.stopConnection(); + } + + @Test + public void givenClient3_whenServerResponds_thenCorrect() { + EchoClient client = new EchoClient(); + client.startConnection("127.0.0.1", PORT); + String msg1 = client.sendMessage("hello"); + String msg2 = client.sendMessage("world"); + String terminate = client.sendMessage("."); + assertEquals(msg1, "hello"); + assertEquals(msg2, "world"); + assertEquals(terminate, "bye"); + client.stopConnection(); + } +} diff --git a/core-java/src/test/java/com/baeldung/threadpool/CoreThreadPoolIntegrationTest.java b/core-java/src/test/java/com/baeldung/threadpool/CoreThreadPoolIntegrationTest.java new file mode 100644 index 0000000000..a62ec99043 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/threadpool/CoreThreadPoolIntegrationTest.java @@ -0,0 +1,153 @@ +package com.baeldung.threadpool; + +import static org.junit.Assert.assertEquals; + +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Executor; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.ForkJoinPool; +import java.util.concurrent.Future; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; + +import org.junit.Test; + +public class CoreThreadPoolIntegrationTest { + + @Test(timeout = 1000) + public void whenCallingExecuteWithRunnable_thenRunnableIsExecuted() throws InterruptedException { + + CountDownLatch lock = new CountDownLatch(1); + + Executor executor = Executors.newSingleThreadExecutor(); + executor.execute(() -> { + System.out.println("Hello World"); + lock.countDown(); + }); + + lock.await(1000, TimeUnit.MILLISECONDS); + } + + @Test + public void whenUsingExecutorServiceAndFuture_thenCanWaitOnFutureResult() throws InterruptedException, ExecutionException { + + ExecutorService executorService = Executors.newFixedThreadPool(10); + Future future = executorService.submit(() -> "Hello World"); + String result = future.get(); + + assertEquals("Hello World", result); + + } + + @Test + public void whenUsingFixedThreadPool_thenCoreAndMaximumThreadSizeAreTheSame() { + + ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(2); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + + assertEquals(2, executor.getPoolSize()); + assertEquals(1, executor.getQueue().size()); + + } + + @Test + public void whenUsingCachedThreadPool_thenPoolSizeGrowsUnbounded() { + ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newCachedThreadPool(); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + executor.submit(() -> { + Thread.sleep(1000); + return null; + }); + + assertEquals(3, executor.getPoolSize()); + assertEquals(0, executor.getQueue().size()); + + } + + @Test(timeout = 1000) + public void whenUsingSingleThreadPool_thenTasksExecuteSequentially() throws InterruptedException { + + CountDownLatch lock = new CountDownLatch(2); + AtomicInteger counter = new AtomicInteger(); + + ExecutorService executor = Executors.newSingleThreadExecutor(); + executor.submit(() -> { + counter.set(1); + lock.countDown(); + }); + executor.submit(() -> { + counter.compareAndSet(1, 2); + lock.countDown(); + }); + + lock.await(1000, TimeUnit.MILLISECONDS); + assertEquals(2, counter.get()); + + } + + @Test(timeout = 1000) + public void whenSchedulingTask_thenTaskExecutesWithinGivenPeriod() throws InterruptedException { + + CountDownLatch lock = new CountDownLatch(1); + + ScheduledExecutorService executor = Executors.newScheduledThreadPool(5); + executor.schedule(() -> { + System.out.println("Hello World"); + lock.countDown(); + }, 500, TimeUnit.MILLISECONDS); + + lock.await(1000, TimeUnit.MILLISECONDS); + + } + + @Test(timeout = 1000) + public void whenSchedulingTaskWithFixedPeriod_thenTaskExecutesMultipleTimes() throws InterruptedException { + + CountDownLatch lock = new CountDownLatch(3); + + ScheduledExecutorService executor = Executors.newScheduledThreadPool(5); + ScheduledFuture future = executor.scheduleAtFixedRate(() -> { + System.out.println("Hello World"); + lock.countDown(); + }, 500, 100, TimeUnit.MILLISECONDS); + + lock.await(); + future.cancel(true); + + } + + @Test + public void whenUsingForkJoinPool_thenSumOfTreeElementsIsCalculatedCorrectly() { + + TreeNode tree = new TreeNode(5, new TreeNode(3), new TreeNode(2, new TreeNode(2), new TreeNode(8))); + + ForkJoinPool forkJoinPool = ForkJoinPool.commonPool(); + int sum = forkJoinPool.invoke(new CountingTask(tree)); + + assertEquals(20, sum); + } + +} diff --git a/core-java/src/test/java/com/baeldung/threadpool/GuavaThreadPoolIntegrationTest.java b/core-java/src/test/java/com/baeldung/threadpool/GuavaThreadPoolIntegrationTest.java new file mode 100644 index 0000000000..550e9dda6f --- /dev/null +++ b/core-java/src/test/java/com/baeldung/threadpool/GuavaThreadPoolIntegrationTest.java @@ -0,0 +1,54 @@ +package com.baeldung.threadpool; + +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Executor; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.stream.Collectors; + +import com.google.common.util.concurrent.Futures; +import com.google.common.util.concurrent.ListenableFuture; +import com.google.common.util.concurrent.ListeningExecutorService; +import com.google.common.util.concurrent.MoreExecutors; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +public class GuavaThreadPoolIntegrationTest { + + @Test + public void whenExecutingTaskWithDirectExecutor_thenTheTaskIsExecutedInTheCurrentThread() { + + Executor executor = MoreExecutors.directExecutor(); + + AtomicBoolean executed = new AtomicBoolean(); + + executor.execute(() -> { + try { + Thread.sleep(500); + } catch (InterruptedException e) { + e.printStackTrace(); + } + executed.set(true); + }); + + assertTrue(executed.get()); + } + + @Test + public void whenJoiningFuturesWithAllAsList_thenCombinedFutureCompletesAfterAllFuturesComplete() throws ExecutionException, InterruptedException { + + ExecutorService executorService = Executors.newCachedThreadPool(); + ListeningExecutorService listeningExecutorService = MoreExecutors.listeningDecorator(executorService); + + ListenableFuture future1 = listeningExecutorService.submit(() -> "Hello"); + ListenableFuture future2 = listeningExecutorService.submit(() -> "World"); + + String greeting = Futures.allAsList(future1, future2).get().stream().collect(Collectors.joining(" ")); + assertEquals("Hello World", greeting); + + } + +} diff --git a/core-java/src/test/java/com/baeldung/util/CurrentDateTimeUnitTest.java b/core-java/src/test/java/com/baeldung/util/CurrentDateTimeUnitTest.java new file mode 100644 index 0000000000..3ad3deb548 --- /dev/null +++ b/core-java/src/test/java/com/baeldung/util/CurrentDateTimeUnitTest.java @@ -0,0 +1,43 @@ +package com.baeldung.util; + +import static org.junit.Assert.assertEquals; + +import java.time.Clock; +import java.time.Instant; +import java.time.LocalDate; +import java.time.LocalTime; +import java.time.ZoneId; +import java.time.temporal.ChronoField; + +import org.junit.Test; + +public class CurrentDateTimeUnitTest { + + private static final Clock clock = Clock.fixed(Instant.parse("2016-10-09T15:10:30.00Z"), ZoneId.of("UTC")); + + @Test + public void shouldReturnCurrentDate() { + final LocalDate now = LocalDate.now(clock); + + assertEquals(9, now.get(ChronoField.DAY_OF_MONTH)); + assertEquals(10, now.get(ChronoField.MONTH_OF_YEAR)); + assertEquals(2016, now.get(ChronoField.YEAR)); + } + + @Test + public void shouldReturnCurrentTime() { + final LocalTime now = LocalTime.now(clock); + + assertEquals(15, now.get(ChronoField.HOUR_OF_DAY)); + assertEquals(10, now.get(ChronoField.MINUTE_OF_HOUR)); + assertEquals(30, now.get(ChronoField.SECOND_OF_MINUTE)); + } + + @Test + public void shouldReturnCurrentTimestamp() { + final Instant now = Instant.now(clock); + + assertEquals(clock.instant().getEpochSecond(), now.getEpochSecond()); + } + +} diff --git a/core-java/src/test/java/org/baeldung/core/exceptions/FileNotFoundExceptionUnitTest.java b/core-java/src/test/java/org/baeldung/core/exceptions/FileNotFoundExceptionUnitTest.java new file mode 100644 index 0000000000..e615e6a7d1 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/core/exceptions/FileNotFoundExceptionUnitTest.java @@ -0,0 +1,61 @@ +package org.baeldung.core.exceptions; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.IOException; + +import org.apache.log4j.Logger; +import org.junit.Test; + +public class FileNotFoundExceptionUnitTest { + + private static final Logger LOG = Logger.getLogger(FileNotFoundExceptionUnitTest.class); + + private String fileName = Double.toString(Math.random()); + + @Test(expected = BusinessException.class) + public void raiseBusinessSpecificException() throws IOException { + try { + readFailingFile(); + } catch (FileNotFoundException ex) { + throw new BusinessException("BusinessException: necessary file was not present.", ex); + } + } + + @Test + public void createFile() throws IOException { + try { + readFailingFile(); + } catch (FileNotFoundException ex) { + try { + new File(fileName).createNewFile(); + readFailingFile(); + } catch (IOException ioe) { + throw new RuntimeException("BusinessException: even creation is not possible.", ioe); + } + } + } + + @Test + public void logError() throws IOException { + try { + readFailingFile(); + } catch (FileNotFoundException ex) { + LOG.error("Optional file " + fileName + " was not found.", ex); + } + } + + private void readFailingFile() throws IOException { + BufferedReader rd = new BufferedReader(new FileReader(new File(fileName))); + rd.readLine(); + // no need to close file + } + + private class BusinessException extends RuntimeException { + BusinessException(String string, FileNotFoundException ex) { + super(string, ex); + } + } +} diff --git a/core-java/src/test/java/org/baeldung/equalshashcode/entities/ComplexClassUnitTest.java b/core-java/src/test/java/org/baeldung/equalshashcode/entities/ComplexClassUnitTest.java new file mode 100644 index 0000000000..680a6d57b5 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/equalshashcode/entities/ComplexClassUnitTest.java @@ -0,0 +1,35 @@ +package org.baeldung.equalshashcode.entities; + +import java.util.ArrayList; +import java.util.HashSet; +import java.util.List; + +import org.junit.Assert; +import org.junit.Test; + +import com.baeldung.equalshashcode.entities.ComplexClass; + +public class ComplexClassUnitTest { + + @Test + public void testEqualsAndHashcodes() { + List strArrayList = new ArrayList(); + strArrayList.add("abc"); + strArrayList.add("def"); + ComplexClass aObject = new ComplexClass(strArrayList, new HashSet(45, 67)); + ComplexClass bObject = new ComplexClass(strArrayList, new HashSet(45, 67)); + + List strArrayListD = new ArrayList(); + strArrayListD.add("lmn"); + strArrayListD.add("pqr"); + ComplexClass dObject = new ComplexClass(strArrayListD, new HashSet(45, 67)); + + Assert.assertTrue(aObject.equals(bObject) && bObject.equals(aObject)); + + Assert.assertTrue(aObject.hashCode() == bObject.hashCode()); + + Assert.assertFalse(aObject.equals(dObject)); + Assert.assertFalse(aObject.hashCode() == dObject.hashCode()); + } + +} diff --git a/core-java/src/test/java/org/baeldung/equalshashcode/entities/PrimitiveClassUnitTest.java b/core-java/src/test/java/org/baeldung/equalshashcode/entities/PrimitiveClassUnitTest.java new file mode 100644 index 0000000000..f4e9f2b99f --- /dev/null +++ b/core-java/src/test/java/org/baeldung/equalshashcode/entities/PrimitiveClassUnitTest.java @@ -0,0 +1,25 @@ +package org.baeldung.equalshashcode.entities; + +import org.junit.Assert; +import org.junit.Test; + +import com.baeldung.equalshashcode.entities.PrimitiveClass; + +public class PrimitiveClassUnitTest { + + @Test + public void testTwoEqualsObjects() { + + PrimitiveClass aObject = new PrimitiveClass(false, 2); + PrimitiveClass bObject = new PrimitiveClass(false, 2); + PrimitiveClass dObject = new PrimitiveClass(true, 2); + + Assert.assertTrue(aObject.equals(bObject) && bObject.equals(aObject)); + + Assert.assertTrue(aObject.hashCode() == bObject.hashCode()); + + Assert.assertFalse(aObject.equals(dObject)); + Assert.assertFalse(aObject.hashCode() == dObject.hashCode()); + } + +} diff --git a/core-java/src/test/java/org/baeldung/equalshashcode/entities/SquareClassUnitTest.java b/core-java/src/test/java/org/baeldung/equalshashcode/entities/SquareClassUnitTest.java new file mode 100644 index 0000000000..5c860bd62d --- /dev/null +++ b/core-java/src/test/java/org/baeldung/equalshashcode/entities/SquareClassUnitTest.java @@ -0,0 +1,27 @@ +package org.baeldung.equalshashcode.entities; + +import java.awt.Color; + +import org.junit.Assert; +import org.junit.Test; + +import com.baeldung.equalshashcode.entities.Square; + +public class SquareClassUnitTest { + + @Test + public void testEqualsAndHashcodes() { + Square aObject = new Square(10, Color.BLUE); + Square bObject = new Square(10, Color.BLUE); + + Square dObject = new Square(20, Color.BLUE); + + Assert.assertTrue(aObject.equals(bObject) && bObject.equals(aObject)); + + Assert.assertTrue(aObject.hashCode() == bObject.hashCode()); + + Assert.assertFalse(aObject.equals(dObject)); + Assert.assertFalse(aObject.hashCode() == dObject.hashCode()); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/JavaIoUnitTest.java b/core-java/src/test/java/org/baeldung/java/JavaIoUnitTest.java new file mode 100644 index 0000000000..3ab8e1de91 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/JavaIoUnitTest.java @@ -0,0 +1,104 @@ +package org.baeldung.java; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.util.Scanner; + +import org.apache.commons.io.FileUtils; +import org.apache.commons.io.LineIterator; +import org.junit.Ignore; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.base.Charsets; +import com.google.common.io.Files; + +@Ignore("need large file for testing") +public class JavaIoUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + + // tests - iterate lines in a file + + @Test + public final void givenUsingGuava_whenIteratingAFile_thenCorrect() throws IOException { + final String path = "G:\\full\\train\\input\\" + "trainDataNegative.csv"; + // final String path = "G:\\full\\train\\input\\" + "trainDataPositive.csv"; + + logMemory(); + Files.readLines(new File(path), Charsets.UTF_8); + logMemory(); + } + + @Test + public final void givenUsingCommonsIo_whenIteratingAFileInMemory_thenCorrect() throws IOException { + // final String path = "G:\\full\\train\\input\\" + "trainDataNegative.csv"; + final String path = "G:\\full\\train\\input\\" + "trainDataPositive.csv"; + + logMemory(); + FileUtils.readLines(new File(path)); + logMemory(); + } + + @Test + public final void whenStreamingThroughAFile_thenCorrect() throws IOException { + final String path = "G:\\full\\train\\input\\" + "trainDataNegative.csv"; + // final String path = "G:\\full\\train\\input\\" + "trainDataPositive.csv"; + + logMemory(); + + FileInputStream inputStream = null; + Scanner sc = null; + try { + inputStream = new FileInputStream(path); + sc = new Scanner(inputStream, "UTF-8"); + while (sc.hasNextLine()) { + final String line = sc.nextLine(); + // System.out.println(line); + } + // note that Scanner suppresses exceptions + if (sc.ioException() != null) { + throw sc.ioException(); + } + } finally { + if (inputStream != null) { + inputStream.close(); + } + if (sc != null) { + sc.close(); + } + } + + logMemory(); + } + + @Test + public final void givenUsingApacheIo_whenStreamingThroughAFile_thenCorrect() throws IOException { + final String path = "G:\\full\\train\\input\\" + "trainDataNegative.csv"; + // final String path = "G:\\full\\train\\input\\" + "trainDataPositive.csv"; + + logMemory(); + + final LineIterator it = FileUtils.lineIterator(new File(path), "UTF-8"); + try { + while (it.hasNext()) { + final String line = it.nextLine(); + // do something with line + } + } finally { + LineIterator.closeQuietly(it); + } + + logMemory(); + } + + // utils + + private final void logMemory() { + logger.info("Max Memory: {} Mb", Runtime.getRuntime().maxMemory() / 1048576); + logger.info("Total Memory: {} Mb", Runtime.getRuntime().totalMemory() / 1048576); + logger.info("Free Memory: {} Mb", Runtime.getRuntime().freeMemory() / 1048576); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/JavaRandomUnitTest.java b/core-java/src/test/java/org/baeldung/java/JavaRandomUnitTest.java new file mode 100644 index 0000000000..4febe7c9fc --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/JavaRandomUnitTest.java @@ -0,0 +1,206 @@ +package org.baeldung.java; + +import java.nio.charset.Charset; +import java.util.Random; + +import org.apache.commons.lang3.RandomStringUtils; +import org.apache.commons.math3.random.RandomDataGenerator; +import org.junit.Test; + +public class JavaRandomUnitTest { + + // tests - random long + + @Test + public void givenUsingPlainJava_whenGeneratingRandomLongUnbounded_thenCorrect() { + final long generatedLong = new Random().nextLong(); + + System.out.println(generatedLong); + } + + @Test + public void givenUsingApacheCommons_whenGeneratingRandomLongUnbounded_thenCorrect() { + final long generatedLong = new RandomDataGenerator().getRandomGenerator().nextLong(); + + System.out.println(generatedLong); + } + + @Test + public void givenUsingPlainJava_whenGeneratingRandomLongBounded_thenCorrect() { + final long leftLimit = 1L; + final long rightLimit = 10L; + final long generatedLong = leftLimit + (long) (Math.random() * (rightLimit - leftLimit)); + + System.out.println(generatedLong); + } + + @Test + public void givenUsingApacheCommons_whenGeneratingRandomLongBounded_thenCorrect() { + final long leftLimit = 10L; + final long rightLimit = 100L; + final long generatedLong = new RandomDataGenerator().nextLong(leftLimit, rightLimit); + + System.out.println(generatedLong); + } + + // tests - random int + + @Test + public void givenUsingPlainJava_whenGeneratingRandomIntegerUnbounded_thenCorrect() { + final int generatedInteger = new Random().nextInt(); + + System.out.println(generatedInteger); + } + + @Test + public void givenUsingPlainJava_whenGeneratingRandomIntegerBounded_thenCorrect() { + final int leftLimit = 1; + final int rightLimit = 10; + final int generatedInteger = leftLimit + (int) (new Random().nextFloat() * (rightLimit - leftLimit)); + + System.out.println(generatedInteger); + } + + @Test + public void givenUsingApache_whenGeneratingRandomIntegerUnbounded_thenCorrect() { + final Integer generatedInteger = new RandomDataGenerator().getRandomGenerator().nextInt(); + + System.out.println(generatedInteger); + } + + @Test + public void givenUsingApache_whenGeneratingRandomIntegerBounded_thenCorrect() { + final int leftLimit = 1; + final int rightLimit = 10; + final int generatedInteger = new RandomDataGenerator().nextInt(leftLimit, rightLimit); + + System.out.println(generatedInteger); + } + + // tests - random float + + @Test + public void givenUsingPlainJava_whenGeneratingRandomFloatUnbouned_thenCorrect() { + final float generatedFloat = new Random().nextFloat(); + + System.out.println(generatedFloat); + } + + @Test + public void givenUsingApache_whenGeneratingRandomFloatUnbounded_thenCorrect() { + final float generatedFloat = new RandomDataGenerator().getRandomGenerator().nextFloat(); + + System.out.println(generatedFloat); + } + + @Test + public void givenUsingPlainJava_whenGeneratingRandomFloatBouned_thenCorrect() { + final float leftLimit = 1F; + final float rightLimit = 10F; + final float generatedFloat = leftLimit + new Random().nextFloat() * (rightLimit - leftLimit); + + System.out.println(generatedFloat); + } + + @Test + public void givenUsingApache_whenGeneratingRandomFloatBounded_thenCorrect() { + final float leftLimit = 1F; + final float rightLimit = 10F; + final float randomFloat = new RandomDataGenerator().getRandomGenerator().nextFloat(); + final float generatedFloat = leftLimit + randomFloat * (rightLimit - leftLimit); + + System.out.println(generatedFloat); + } + + // tests - random double + + @Test + public void givenUsingPlainJava_whenGeneratingRandomDoubleUnbounded_thenCorrect() { + final double generatedDouble = Math.random(); + + System.out.println(generatedDouble); + } + + @Test + public void givenUsingApache_whenGeneratingRandomDoubleUnbounded_thenCorrect() { + final double generatedDouble = new RandomDataGenerator().getRandomGenerator().nextDouble(); + + System.out.println(generatedDouble); + } + + @Test + public void givenUsingPlainJava_whenGeneratingRandomDoubleBounded_thenCorrect() { + final double leftLimit = 1D; + final double rightLimit = 10D; + final double generatedDouble = leftLimit + new Random().nextDouble() * (rightLimit - leftLimit); + + System.out.println(generatedDouble); + } + + @Test + public void givenUsingApache_whenGeneratingRandomDoubleBounded_thenCorrect() { + final double leftLimit = 1D; + final double rightLimit = 100D; + final double generatedDouble = new RandomDataGenerator().nextUniform(leftLimit, rightLimit); + + System.out.println(generatedDouble); + } + + // tests - random String + + @Test + public void givenUsingPlainJava_whenGeneratingRandomStringUnbounded_thenCorrect() { + final byte[] array = new byte[7]; // length is bounded by 7 + new Random().nextBytes(array); + final String generatedString = new String(array, Charset.forName("UTF-8")); + + System.out.println(generatedString); + } + + @Test + public void givenUsingPlainJava_whenGeneratingRandomStringBounded_thenCorrect() { + final int leftLimit = 97; // letter 'a' + final int rightLimit = 122; // letter 'z' + final int targetStringLength = 10; + final StringBuilder buffer = new StringBuilder(targetStringLength); + for (int i = 0; i < targetStringLength; i++) { + final int randomLimitedInt = leftLimit + (int) (new Random().nextFloat() * (rightLimit - leftLimit)); + buffer.append((char) randomLimitedInt); + } + final String generatedString = buffer.toString(); + + System.out.println(generatedString); + } + + @Test + public void givenUsingApache_whenGeneratingRandomString_thenCorrect() { + final String generatedString = RandomStringUtils.random(10); + + System.out.println(generatedString); + } + + @Test + public void givenUsingApache_whenGeneratingRandomAlphabeticString_thenCorrect() { + final String generatedString = RandomStringUtils.randomAlphabetic(10); + + System.out.println(generatedString); + } + + @Test + public void givenUsingApache_whenGeneratingRandomAlphanumericString_thenCorrect() { + final String generatedString = RandomStringUtils.randomAlphanumeric(10); + + System.out.println(generatedString); + } + + @Test + public void givenUsingApache_whenGeneratingRandomStringBounded_thenCorrect() { + final int length = 10; + final boolean useLetters = true; + final boolean useNumbers = false; + final String generatedString = RandomStringUtils.random(length, useLetters, useNumbers); + + System.out.println(generatedString); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/JavaTimerLongRunningUnitTest.java b/core-java/src/test/java/org/baeldung/java/JavaTimerLongRunningUnitTest.java new file mode 100644 index 0000000000..3b126464ab --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/JavaTimerLongRunningUnitTest.java @@ -0,0 +1,134 @@ +package org.baeldung.java; + +import java.util.Date; +import java.util.Timer; +import java.util.TimerTask; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; + +import org.junit.Test; + +public class JavaTimerLongRunningUnitTest { + + // tests + + @Test + public void givenUsingTimer_whenSchedulingTaskOnce_thenCorrect() throws InterruptedException { + final TimerTask timerTask = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on: " + new Date() + "\n" + "Thread's name: " + Thread.currentThread().getName()); + } + }; + final Timer timer = new Timer("Timer"); + + final long delay = 1000L; + timer.schedule(timerTask, delay); + + Thread.sleep(delay * 2); + timer.cancel(); + } + + @Test + public void givenUsingTimer_whenSchedulingRepeatedTask_thenCorrect() throws InterruptedException { + final TimerTask repeatedTask = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + } + }; + final Timer timer = new Timer("Timer"); + + final long delay = 1000L; + final long period = 1000L; + timer.scheduleAtFixedRate(repeatedTask, delay, period); + + Thread.sleep(delay * 2); + timer.cancel(); + } + + @Test + public void givenUsingTimer_whenSchedulingDailyTask_thenCorrect() throws InterruptedException { + final TimerTask repeatedTask = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + } + }; + final Timer timer = new Timer("Timer"); + + final long delay = 1000L; + final long period = 1000L * 60L * 60L * 24L; + timer.scheduleAtFixedRate(repeatedTask, delay, period); + + Thread.sleep(delay * 2); + timer.cancel(); + } + + @Test + public void givenUsingTimer_whenCancelingTimerTask_thenCorrect() throws InterruptedException { + final TimerTask task = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + cancel(); + } + }; + final Timer timer = new Timer("Timer"); + + final long delay = 1000L; + final long period = 1000L; + timer.scheduleAtFixedRate(task, delay, period); + + Thread.sleep(delay * 3); + } + + @Test + public void givenUsingTimer_whenStoppingThread_thenTimerTaskIsCancelled() throws InterruptedException { + final TimerTask task = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + } + }; + final Timer timer = new Timer("Timer"); + + timer.scheduleAtFixedRate(task, 1000L, 1000L); + + Thread.sleep(1000L * 10); + } + + @Test + public void givenUsingTimer_whenCancelingTimer_thenCorrect() throws InterruptedException { + final TimerTask task = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + } + }; + final Timer timer = new Timer("Timer"); + + timer.scheduleAtFixedRate(task, 1000L, 1000L); + + Thread.sleep(1000L * 2); + timer.cancel(); + } + + @Test + public void givenUsingExecutorService_whenSchedulingRepeatedTask_thenCorrect() throws InterruptedException { + final TimerTask repeatedTask = new TimerTask() { + @Override + public void run() { + System.out.println("Task performed on " + new Date()); + } + }; + final ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(); + final long delay = 1000L; + final long period = 1000L; + executor.scheduleAtFixedRate(repeatedTask, delay, period, TimeUnit.MILLISECONDS); + Thread.sleep(delay + period * 3); + executor.shutdown(); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/arrays/ArraysJoinAndSplitJUnitTest.java b/core-java/src/test/java/org/baeldung/java/arrays/ArraysJoinAndSplitJUnitTest.java new file mode 100644 index 0000000000..885c3bcd6c --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/arrays/ArraysJoinAndSplitJUnitTest.java @@ -0,0 +1,41 @@ +package org.baeldung.java.arrays; + +import java.util.Arrays; + +import org.junit.Assert; +import org.junit.Test; + +public class ArraysJoinAndSplitJUnitTest { + + private final String[] sauces = { "Marinara", "Olive Oil" }; + private final String[] cheeses = { "Mozzarella", "Feta", "Parmesan" }; + private final String[] vegetables = { "Olives", "Spinach", "Green Peppers" }; + + private final String[] customers = { "Jay", "Harry", "Ronnie", "Gary", "Ross" }; + + @Test + public void givenThreeStringArrays_whenJoiningIntoOneStringArray_shouldSucceed() { + String[] toppings = new String[sauces.length + cheeses.length + vegetables.length]; + + System.arraycopy(sauces, 0, toppings, 0, sauces.length); + int AddedSoFar = sauces.length; + + System.arraycopy(cheeses, 0, toppings, AddedSoFar, cheeses.length); + AddedSoFar += cheeses.length; + + System.arraycopy(vegetables, 0, toppings, AddedSoFar, vegetables.length); + + Assert.assertArrayEquals(toppings, new String[] { "Marinara", "Olive Oil", "Mozzarella", "Feta", "Parmesan", "Olives", "Spinach", "Green Peppers" }); + } + + @Test + public void givenOneStringArray_whenSplittingInHalfTwoStringArrays_shouldSucceed() { + int ordersHalved = (customers.length / 2) + (customers.length % 2); + + String[] driverOne = Arrays.copyOf(customers, ordersHalved); + String[] driverTwo = Arrays.copyOfRange(customers, ordersHalved, customers.length); + + Assert.assertArrayEquals(driverOne, new String[] { "Jay", "Harry", "Ronnie" }); + Assert.assertArrayEquals(driverTwo, new String[] { "Gary", "Ross" }); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/ArrayListUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/ArrayListUnitTest.java new file mode 100644 index 0000000000..5d07628a96 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/ArrayListUnitTest.java @@ -0,0 +1,137 @@ +package org.baeldung.java.collections; + +import com.google.common.collect.Sets; +import org.junit.Before; +import org.junit.Test; + +import java.util.*; +import java.util.stream.*; + +import static java.util.stream.Collectors.*; +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.core.IsNot.not; +import static org.junit.Assert.*; + +public class ArrayListUnitTest { + + private List stringsToSearch; + + @Before + public void setUp() { + List list = LongStream.range(0, 16).boxed().map(Long::toHexString).collect(toCollection(ArrayList::new)); + stringsToSearch = new ArrayList<>(list); + stringsToSearch.addAll(list); + } + + @Test + public void givenNewArrayList_whenCheckCapacity_thenDefaultValue() { + List list = new ArrayList<>(); + assertTrue(list.isEmpty()); + } + + @Test + public void givenCollection_whenProvideItToArrayListCtor_thenArrayListIsPopulatedWithItsElements() { + Collection numbers = IntStream.range(0, 10).boxed().collect(toSet()); + + List list = new ArrayList<>(numbers); + assertEquals(10, list.size()); + assertTrue(numbers.containsAll(list)); + } + + @Test + public void givenElement_whenAddToArrayList_thenIsAdded() { + List list = new ArrayList<>(); + + list.add(1L); + list.add(2L); + list.add(1, 3L); + + assertThat(Arrays.asList(1L, 3L, 2L), equalTo(list)); + } + + @Test + public void givenCollection_whenAddToArrayList_thenIsAdded() { + List list = new ArrayList<>(Arrays.asList(1L, 2L, 3L)); + LongStream.range(4, 10).boxed().collect(collectingAndThen(toCollection(ArrayList::new), ys -> list.addAll(0, ys))); + + assertThat(Arrays.asList(4L, 5L, 6L, 7L, 8L, 9L, 1L, 2L, 3L), equalTo(list)); + } + + @Test + public void givenExistingElement_whenCallIndexOf_thenReturnCorrectIndex() { + assertEquals(10, stringsToSearch.indexOf("a")); + assertEquals(26, stringsToSearch.lastIndexOf("a")); + } + + @Test + public void givenCondition_whenIterateArrayList_thenFindAllElementsSatisfyingCondition() { + Iterator it = stringsToSearch.iterator(); + Set matchingStrings = new HashSet<>(Arrays.asList("a", "c", "9")); + + List result = new ArrayList<>(); + while (it.hasNext()) { + String s = it.next(); + if (matchingStrings.contains(s)) { + result.add(s); + } + } + + assertEquals(6, result.size()); + } + + @Test + public void givenPredicate_whenIterateArrayList_thenFindAllElementsSatisfyingPredicate() { + Set matchingStrings = new HashSet<>(Arrays.asList("a", "c", "9")); + + List result = stringsToSearch.stream().filter(matchingStrings::contains).collect(toCollection(ArrayList::new)); + + assertEquals(6, result.size()); + } + + @Test + public void givenSortedArray_whenUseBinarySearch_thenFindElement() { + List copy = new ArrayList<>(stringsToSearch); + Collections.sort(copy); + int index = Collections.binarySearch(copy, "f"); + assertThat(index, not(equalTo(-1))); + } + + @Test + public void givenIndex_whenRemove_thenCorrectElementRemoved() { + List list = IntStream.range(0, 10).boxed().collect(toCollection(ArrayList::new)); + Collections.reverse(list); + + list.remove(0); + assertThat(list.get(0), equalTo(8)); + + list.remove(Integer.valueOf(0)); + assertFalse(list.contains(0)); + } + + @Test + public void givenListIterator_whenReverseTraversal_thenRetrieveElementsInOppositeOrder() { + List list = IntStream.range(0, 10).boxed().collect(toCollection(ArrayList::new)); + ListIterator it = list.listIterator(list.size()); + List result = new ArrayList<>(list.size()); + while (it.hasPrevious()) { + result.add(it.previous()); + } + + Collections.reverse(list); + assertThat(result, equalTo(list)); + } + + @Test + public void givenCondition_whenIterateArrayList_thenRemoveAllElementsSatisfyingCondition() { + Set matchingStrings = Sets.newHashSet("a", "b", "c", "d", "e", "f"); + + Iterator it = stringsToSearch.iterator(); + while (it.hasNext()) { + if (matchingStrings.contains(it.next())) { + it.remove(); + } + } + + assertEquals(20, stringsToSearch.size()); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/CollectionsConcatenateUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/CollectionsConcatenateUnitTest.java new file mode 100644 index 0000000000..0d913db1bd --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/CollectionsConcatenateUnitTest.java @@ -0,0 +1,110 @@ +package org.baeldung.java.collections; + +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import org.junit.Assert; +import org.junit.Test; + +import java.util.*; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import static java.util.Arrays.asList; + +public class CollectionsConcatenateUnitTest { + + @Test + public void givenUsingJava8_whenConcatenatingUsingConcat_thenCorrect() { + Collection collectionA = asList("S", "T"); + Collection collectionB = asList("U", "V"); + Collection collectionC = asList("W", "X"); + + Stream combinedStream = Stream.concat(Stream.concat(collectionA.stream(), collectionB.stream()), collectionC.stream()); + Collection collectionCombined = combinedStream.collect(Collectors.toList()); + + Assert.assertEquals(asList("S", "T", "U", "V", "W", "X"), collectionCombined); + } + + @Test + public void givenUsingJava8_whenConcatenatingUsingflatMap_thenCorrect() { + Collection collectionA = asList("S", "T"); + Collection collectionB = asList("U", "V"); + + Stream combinedStream = Stream.of(collectionA, collectionB).flatMap(Collection::stream); + Collection collectionCombined = combinedStream.collect(Collectors.toList()); + + Assert.assertEquals(asList("S", "T", "U", "V"), collectionCombined); + } + + @Test + public void givenUsingGuava_whenConcatenatingUsingIterables_thenCorrect() { + Collection collectionA = asList("S", "T"); + Collection collectionB = asList("U", "V"); + + Iterable combinedIterables = Iterables.unmodifiableIterable(Iterables.concat(collectionA, collectionB)); + Collection collectionCombined = Lists.newArrayList(combinedIterables); + + Assert.assertEquals(asList("S", "T", "U", "V"), collectionCombined); + } + + @Test + public void givenUsingJava7_whenConcatenatingUsingIterables_thenCorrect() { + Collection collectionA = asList("S", "T"); + Collection collectionB = asList("U", "V"); + + Iterable combinedIterables = concat(collectionA, collectionB); + Collection collectionCombined = makeListFromIterable(combinedIterables); + Assert.assertEquals(Arrays.asList("S", "T", "U", "V"), collectionCombined); + } + + public static Iterable concat(Iterable i1, Iterable i2) { + return new Iterable() { + public Iterator iterator() { + return new Iterator() { + Iterator listIterator = i1.iterator(); + Boolean checkedHasNext; + E nextValue; + private boolean startTheSecond; + + void theNext() { + if (listIterator.hasNext()) { + checkedHasNext = true; + nextValue = listIterator.next(); + } else if (startTheSecond) + checkedHasNext = false; + else { + startTheSecond = true; + listIterator = i2.iterator(); + theNext(); + } + } + + public boolean hasNext() { + if (checkedHasNext == null) + theNext(); + return checkedHasNext; + } + + public E next() { + if (!hasNext()) + throw new NoSuchElementException(); + checkedHasNext = null; + return nextValue; + } + + public void remove() { + listIterator.remove(); + } + }; + } + }; + } + + public static List makeListFromIterable(Iterable iter) { + List list = new ArrayList<>(); + for (E item : iter) { + list.add(item); + } + return list; + } +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/CollectionsJoinAndSplitJUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/CollectionsJoinAndSplitJUnitTest.java new file mode 100644 index 0000000000..c288cf499d --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/CollectionsJoinAndSplitJUnitTest.java @@ -0,0 +1,62 @@ +package org.baeldung.java.collections; + +import java.util.ArrayList; +import java.util.Collections; + +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +public class CollectionsJoinAndSplitJUnitTest { + + private ArrayList sauces = new ArrayList<>(); + private ArrayList cheeses = new ArrayList<>(); + private ArrayList vegetables = new ArrayList<>(); + + private ArrayList> ingredients = new ArrayList<>(); + + @Before + public void init() { + sauces.add("Olive Oil"); + sauces.add("Marinara"); + + cheeses.add("Mozzarella"); + cheeses.add("Feta"); + cheeses.add("Parmesan"); + + vegetables.add("Olives"); + vegetables.add("Spinach"); + vegetables.add("Green Peppers"); + + ingredients.add(sauces); + ingredients.add(cheeses); + ingredients.add(vegetables); + } + + @Test + public void givenThreeArrayLists_whenJoiningIntoOneArrayList_shouldSucceed() { + ArrayList> toppings = new ArrayList<>(); + + toppings.add(sauces); + toppings.add(cheeses); + toppings.add(vegetables); + + Assert.assertTrue(toppings.size() == 3); + Assert.assertTrue(toppings.contains(sauces)); + Assert.assertTrue(toppings.contains(cheeses)); + Assert.assertTrue(toppings.contains(vegetables)); + } + + @Test + public void givenOneArrayList_whenSplittingIntoTwoArrayLists_shouldSucceed() { + + ArrayList> removedToppings = new ArrayList<>(); + removedToppings.add(ingredients.remove(ingredients.indexOf(vegetables))); + + Assert.assertTrue(removedToppings.contains(vegetables)); + Assert.assertTrue(removedToppings.size() == 1); + Assert.assertTrue(ingredients.size() == 2); + Assert.assertTrue(ingredients.contains(sauces)); + Assert.assertTrue(ingredients.contains(cheeses)); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/CoreJavaCollectionsUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/CoreJavaCollectionsUnitTest.java new file mode 100644 index 0000000000..fb7bfe51a2 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/CoreJavaCollectionsUnitTest.java @@ -0,0 +1,52 @@ +package org.baeldung.java.collections; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.apache.commons.collections4.ListUtils; +import org.junit.Test; + +import com.google.common.collect.ImmutableList; + +public class CoreJavaCollectionsUnitTest { + + // tests - + + @Test + public final void givenUsingTheJdk_whenArrayListIsSynchronized_thenCorrect() { + final List list = new ArrayList(Arrays.asList("one", "two", "three")); + final List synchronizedList = Collections.synchronizedList(list); + System.out.println("Synchronized List is: " + synchronizedList); + } + + @Test(expected = UnsupportedOperationException.class) + public final void givenUsingTheJdk_whenUnmodifiableListIsCreatedFromOriginal_thenNoLongerModifiable() { + final List list = new ArrayList(Arrays.asList("one", "two", "three")); + final List unmodifiableList = Collections.unmodifiableList(list); + unmodifiableList.add("four"); + } + + @Test(expected = UnsupportedOperationException.class) + public final void givenUsingGuava_whenUnmodifiableListIsCreatedFromOriginal_thenNoLongerModifiable() { + final List list = new ArrayList(Arrays.asList("one", "two", "three")); + final List unmodifiableList = ImmutableList.copyOf(list); + unmodifiableList.add("four"); + } + + @Test(expected = UnsupportedOperationException.class) + public final void givenUsingGuavaBuilder_whenUnmodifiableListIsCreatedFromOriginal_thenNoLongerModifiable() { + final List list = new ArrayList(Arrays.asList("one", "two", "three")); + final ImmutableList unmodifiableList = ImmutableList.builder().addAll(list).build(); + unmodifiableList.add("four"); + } + + @Test(expected = UnsupportedOperationException.class) + public final void givenUsingCommonsCollections_whenUnmodifiableListIsCreatedFromOriginal_thenNoLongerModifiable() { + final List list = new ArrayList(Arrays.asList("one", "two", "three")); + final List unmodifiableList = ListUtils.unmodifiableList(list); + unmodifiableList.add("four"); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionCleanupUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionCleanupUnitTest.java new file mode 100644 index 0000000000..537262607a --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionCleanupUnitTest.java @@ -0,0 +1,83 @@ +package org.baeldung.java.collections; + +import static org.hamcrest.Matchers.hasSize; +import static org.junit.Assert.assertThat; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; + +import org.apache.commons.collections4.CollectionUtils; +import org.apache.commons.collections4.PredicateUtils; +import org.junit.Test; + +import com.google.common.base.Predicates; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Sets; + +public class JavaCollectionCleanupUnitTest { + + // tests - removing nulls + + @Test + public final void givenListContainsNulls_whenRemovingNullsWithPlainJava_thenCorrect() { + final List list = Lists.newArrayList(null, 1, null); + while (list.remove(null)) + ; + + assertThat(list, hasSize(1)); + } + + @Test + public final void givenListContainsNulls_whenRemovingNullsWithPlainJavaAlternative_thenCorrect() { + final List list = Lists.newArrayList(null, 1, null); + list.removeAll(Collections.singleton(null)); + + assertThat(list, hasSize(1)); + } + + @Test + public final void givenListContainsNulls_whenRemovingNullsWithGuavaV1_thenCorrect() { + final List list = Lists.newArrayList(null, 1, null); + Iterables.removeIf(list, Predicates.isNull()); + + assertThat(list, hasSize(1)); + } + + @Test + public final void givenListContainsNulls_whenRemovingNullsWithGuavaV2_thenCorrect() { + final List list = Lists.newArrayList(null, 1, null, 2, 3); + final List listWithoutNulls = Lists.newArrayList(Iterables.filter(list, Predicates.notNull())); + + assertThat(listWithoutNulls, hasSize(3)); + } + + @Test + public final void givenListContainsNulls_whenRemovingNullsWithCommonsCollections_thenCorrect() { + final List list = Lists.newArrayList(null, 1, 2, null, 3, null); + CollectionUtils.filter(list, PredicateUtils.notNullPredicate()); + + assertThat(list, hasSize(3)); + } + + // tests - remove duplicates + + @Test + public final void givenListContainsDuplicates_whenRemovingDuplicatesWithPlainJava_thenCorrect() { + final List listWithDuplicates = Lists.newArrayList(0, 1, 2, 3, 0, 0); + final List listWithoutDuplicates = new ArrayList<>(new HashSet<>(listWithDuplicates)); + + assertThat(listWithoutDuplicates, hasSize(4)); + } + + @Test + public final void givenListContainsDuplicates_whenRemovingDuplicatesWithGuava_thenCorrect() { + final List listWithDuplicates = Lists.newArrayList(0, 1, 2, 3, 0, 0); + final List listWithoutDuplicates = Lists.newArrayList(Sets.newHashSet(listWithDuplicates)); + + assertThat(listWithoutDuplicates, hasSize(4)); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionConversionUnitTest.java b/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionConversionUnitTest.java new file mode 100644 index 0000000000..a5f684a141 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/collections/JavaCollectionConversionUnitTest.java @@ -0,0 +1,187 @@ +package org.baeldung.java.collections; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.apache.commons.collections4.CollectionUtils; +import org.apache.commons.lang3.ArrayUtils; +import org.junit.Test; + +import com.google.common.collect.Lists; +import com.google.common.collect.Sets; +import com.google.common.primitives.Ints; + +@SuppressWarnings("unused") +public class JavaCollectionConversionUnitTest { + + // List -> array; array -> List + + @Test + public final void givenUsingCoreJava_whenArrayConvertedToList_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final List targetList = Arrays.asList(sourceArray); + } + + @Test + public final void givenUsingCoreJava_whenListConvertedToArray_thenCorrect() { + final List sourceList = Arrays.asList(0, 1, 2, 3, 4, 5); + final Integer[] targetArray = sourceList.toArray(new Integer[sourceList.size()]); + } + + @Test + public final void givenUsingGuava_whenArrayConvertedToList_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final List targetList = Lists.newArrayList(sourceArray); + } + + @Test + public final void givenUsingGuava_whenListConvertedToArray_thenCorrect() { + final List sourceList = Lists.newArrayList(0, 1, 2, 3, 4, 5); + final int[] targetArray = Ints.toArray(sourceList); + } + + @Test + public final void givenUsingCommonsCollections_whenArrayConvertedToList_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final List targetList = new ArrayList<>(6); + CollectionUtils.addAll(targetList, sourceArray); + } + + // Set -> array; array -> Set + + @Test + public final void givenUsingCoreJavaV1_whenArrayConvertedToSet_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final Set targetSet = new HashSet(Arrays.asList(sourceArray)); + } + + @Test + public final void givenUsingCoreJavaV2_whenArrayConvertedToSet_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final Set targetSet = new HashSet(); + Collections.addAll(targetSet, sourceArray); + } + + @Test + public final void givenUsingCoreJava_whenSetConvertedToArray_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final Integer[] targetArray = sourceSet.toArray(new Integer[sourceSet.size()]); + } + + @Test + public final void givenUsingGuava_whenArrayConvertedToSet_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final Set targetSet = Sets.newHashSet(sourceArray); + } + + @Test + public final void givenUsingGuava_whenSetConvertedToArray_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final int[] targetArray = Ints.toArray(sourceSet); + } + + @Test + public final void givenUsingCommonsCollections_whenArrayConvertedToSet_thenCorrect() { + final Integer[] sourceArray = { 0, 1, 2, 3, 4, 5 }; + final Set targetSet = new HashSet<>(6); + CollectionUtils.addAll(targetSet, sourceArray); + } + + @Test + public final void givenUsingCommonsCollections_whenSetConvertedToArray_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final Integer[] targetArray = sourceSet.toArray(new Integer[sourceSet.size()]); + } + + @Test + public final void givenUsingCommonsCollections_whenSetConvertedToArrayOfPrimitives_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final Integer[] targetArray = sourceSet.toArray(new Integer[sourceSet.size()]); + final int[] primitiveTargetArray = ArrayUtils.toPrimitive(targetArray); + } + + // Set -> List; List -> Set + + public final void givenUsingCoreJava_whenSetConvertedToList_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final List targetList = new ArrayList<>(sourceSet); + } + + public final void givenUsingCoreJava_whenListConvertedToSet_thenCorrect() { + final List sourceList = Lists.newArrayList(0, 1, 2, 3, 4, 5); + final Set targetSet = new HashSet<>(sourceList); + } + + public final void givenUsingGuava_whenSetConvertedToList_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + final List targetList = Lists.newArrayList(sourceSet); + } + + public final void givenUsingGuava_whenListConvertedToSet_thenCorrect() { + final List sourceList = Lists.newArrayList(0, 1, 2, 3, 4, 5); + final Set targetSet = Sets.newHashSet(sourceList); + } + + public final void givenUsingCommonsCollections_whenListConvertedToSet_thenCorrect() { + final List sourceList = Lists.newArrayList(0, 1, 2, 3, 4, 5); + + final Set targetSet = new HashSet<>(6); + CollectionUtils.addAll(targetSet, sourceList); + } + + public final void givenUsingCommonsCollections_whenSetConvertedToList_thenCorrect() { + final Set sourceSet = Sets.newHashSet(0, 1, 2, 3, 4, 5); + + final List targetList = new ArrayList<>(6); + CollectionUtils.addAll(targetList, sourceSet); + } + + // Map (values) -> Array, List, Set + + @Test + public final void givenUsingCoreJava_whenMapValuesConvertedToArray_thenCorrect() { + final Map sourceMap = createMap(); + + final Collection values = sourceMap.values(); + final String[] targetArray = values.toArray(new String[values.size()]); + } + + @Test + public final void givenUsingCoreJava_whenMapValuesConvertedToList_thenCorrect() { + final Map sourceMap = createMap(); + + final List targetList = new ArrayList<>(sourceMap.values()); + } + + @Test + public final void givenUsingGuava_whenMapValuesConvertedToList_thenCorrect() { + final Map sourceMap = createMap(); + + final List targetList = Lists.newArrayList(sourceMap.values()); + } + + @Test + public final void givenUsingCoreJava_whenMapValuesConvertedToSet_thenCorrect() { + final Map sourceMap = createMap(); + + final Set targetSet = new HashSet<>(sourceMap.values()); + } + + // UTIL + + private final Map createMap() { + final Map sourceMap = new HashMap<>(3); + sourceMap.put(0, "zero"); + sourceMap.put(1, "one"); + sourceMap.put(2, "two"); + return sourceMap; + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/enums/PizzaUnitTest.java b/core-java/src/test/java/org/baeldung/java/enums/PizzaUnitTest.java new file mode 100644 index 0000000000..bb3abff28d --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/enums/PizzaUnitTest.java @@ -0,0 +1,81 @@ +package org.baeldung.java.enums; + +import static junit.framework.TestCase.assertTrue; + +import java.util.ArrayList; +import java.util.EnumMap; +import java.util.List; + +import org.junit.Test; + +import com.baeldung.enums.Pizza; + +public class PizzaUnitTest { + + @Test + public void givenPizaOrder_whenReady_thenDeliverable() { + Pizza testPz = new Pizza(); + testPz.setStatus(Pizza.PizzaStatusEnum.READY); + assertTrue(testPz.isDeliverable()); + } + + @Test + public void givenPizaOrders_whenRetrievingUnDeliveredPzs_thenCorrectlyRetrieved() { + List pzList = new ArrayList<>(); + Pizza pz1 = new Pizza(); + pz1.setStatus(Pizza.PizzaStatusEnum.DELIVERED); + + Pizza pz2 = new Pizza(); + pz2.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz3 = new Pizza(); + pz3.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz4 = new Pizza(); + pz4.setStatus(Pizza.PizzaStatusEnum.READY); + + pzList.add(pz1); + pzList.add(pz2); + pzList.add(pz3); + pzList.add(pz4); + + List undeliveredPzs = Pizza.getAllUndeliveredPizzas(pzList); + assertTrue(undeliveredPzs.size() == 3); + } + + @Test + public void givenPizaOrders_whenGroupByStatusCalled_thenCorrectlyGrouped() { + + List pzList = new ArrayList<>(); + Pizza pz1 = new Pizza(); + pz1.setStatus(Pizza.PizzaStatusEnum.DELIVERED); + + Pizza pz2 = new Pizza(); + pz2.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz3 = new Pizza(); + pz3.setStatus(Pizza.PizzaStatusEnum.ORDERED); + + Pizza pz4 = new Pizza(); + pz4.setStatus(Pizza.PizzaStatusEnum.READY); + + pzList.add(pz1); + pzList.add(pz2); + pzList.add(pz3); + pzList.add(pz4); + + EnumMap> map = Pizza.groupPizzaByStatus(pzList); + assertTrue(map.get(Pizza.PizzaStatusEnum.DELIVERED).size() == 1); + assertTrue(map.get(Pizza.PizzaStatusEnum.ORDERED).size() == 2); + assertTrue(map.get(Pizza.PizzaStatusEnum.READY).size() == 1); + } + + @Test + public void givenPizaOrder_whenDelivered_thenPizzaGetsDeliveredAndStatusChanges() { + Pizza pz = new Pizza(); + pz.setStatus(Pizza.PizzaStatusEnum.READY); + pz.deliver(); + assertTrue(pz.getStatus() == Pizza.PizzaStatusEnum.DELIVERED); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaFileUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaFileUnitTest.java new file mode 100644 index 0000000000..d4b63beaa4 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaFileUnitTest.java @@ -0,0 +1,141 @@ +package org.baeldung.java.io; + +import org.apache.commons.io.FileUtils; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.File; +import java.io.IOException; +import java.nio.file.FileSystemException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.UUID; + +import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; +import static org.junit.Assert.assertTrue; + +public class JavaFileUnitTest { + + private static final String TEMP_DIR = "src/test/resources/temp" + UUID.randomUUID().toString(); + + + @BeforeClass + public static void setup() throws IOException { + Files.createDirectory(Paths.get(TEMP_DIR)); + } + + @AfterClass + public static void cleanup() throws IOException { + FileUtils.deleteDirectory(new File(TEMP_DIR)); + } + + @Test + public final void givenUsingJDK6_whenCreatingFile_thenCorrect() throws IOException { + final File newFile = new File(TEMP_DIR + "/newFile_jdk6.txt"); + final boolean success = newFile.createNewFile(); + + assertTrue(success); + } + + @Test + public final void givenUsingJDK7nio2_whenCreatingFile_thenCorrect() throws IOException { + final Path newFilePath = Paths.get(TEMP_DIR + "/newFile_jdk7.txt"); + Files.createFile(newFilePath); + } + + @Test + public final void givenUsingCommonsIo_whenCreatingFile_thenCorrect() throws IOException { + FileUtils.touch(new File(TEMP_DIR + "/newFile_commonsio.txt")); + } + + @Test + public final void givenUsingGuava_whenCreatingFile_thenCorrect() throws IOException { + com.google.common.io.Files.touch(new File(TEMP_DIR + "/newFile_guava.txt")); + } + + // move a file + + @Test + public final void givenUsingJDK6_whenMovingFile_thenCorrect() throws IOException { + final File fileToMove = new File(TEMP_DIR + "/toMoveFile_jdk6.txt"); + fileToMove.createNewFile();// .exists(); + final File destDir = new File(TEMP_DIR + "/"); + destDir.mkdir(); + + final boolean isMoved = fileToMove.renameTo(new File(TEMP_DIR + "/movedFile_jdk6.txt")); + if (!isMoved) { + throw new FileSystemException(TEMP_DIR + "/movedFile_jdk6.txt"); + } + } + + @Test + public final void givenUsingJDK7Nio2_whenMovingFile_thenCorrect() throws IOException { + final Path fileToMovePath = Files.createFile(Paths.get(TEMP_DIR + "/" + randomAlphabetic(5) + ".txt")); + final Path targetPath = Paths.get(TEMP_DIR + "/"); + + Files.move(fileToMovePath, targetPath.resolve(fileToMovePath.getFileName())); + } + + @Test + public final void givenUsingGuava_whenMovingFile_thenCorrect() throws IOException { + final File fileToMove = new File(TEMP_DIR + "/fileToMove.txt"); + fileToMove.createNewFile(); + final File destDir = new File(TEMP_DIR + "/temp"); + final File targetFile = new File(destDir, fileToMove.getName()); + com.google.common.io.Files.createParentDirs(targetFile); + com.google.common.io.Files.move(fileToMove, targetFile); + } + + @Test + public final void givenUsingApache_whenMovingFile_thenCorrect() throws IOException { + FileUtils.touch(new File(TEMP_DIR + "/fileToMove_apache.txt")); + FileUtils.moveFile(FileUtils.getFile(TEMP_DIR + "/fileToMove_apache.txt"), FileUtils.getFile(TEMP_DIR + "/fileMoved_apache2.txt")); + } + + @Test + public final void givenUsingApache_whenMovingFileApproach2_thenCorrect() throws IOException { + FileUtils.touch(new File(TEMP_DIR + "/fileToMove_apache.txt")); + Files.createDirectory(Paths.get(TEMP_DIR + "/temp")); + FileUtils.moveFileToDirectory(FileUtils.getFile(TEMP_DIR + "/fileToMove_apache.txt"), FileUtils.getFile(TEMP_DIR + "/temp"), true); + } + + // delete a file + + @Test + public final void givenUsingJDK6_whenDeletingAFile_thenCorrect() throws IOException { + new File(TEMP_DIR + "/fileToDelete_jdk6.txt").createNewFile(); + + final File fileToDelete = new File(TEMP_DIR + "/fileToDelete_jdk6.txt"); + final boolean success = fileToDelete.delete(); + + assertTrue(success); + } + + @Test + public final void givenUsingJDK7nio2_whenDeletingAFile_thenCorrect() throws IOException { + Files.createFile(Paths.get(TEMP_DIR + "/fileToDelete_jdk7.txt")); + + final Path fileToDeletePath = Paths.get(TEMP_DIR + "/fileToDelete_jdk7.txt"); + Files.delete(fileToDeletePath); + } + + @Test + public final void givenUsingCommonsIo_whenDeletingAFileV1_thenCorrect() throws IOException { + FileUtils.touch(new File(TEMP_DIR + "/fileToDelete_commonsIo.txt")); + + final File fileToDelete = FileUtils.getFile(TEMP_DIR + "/fileToDelete_commonsIo.txt"); + final boolean success = FileUtils.deleteQuietly(fileToDelete); + + assertTrue(success); + } + + @Test + public void givenUsingCommonsIo_whenDeletingAFileV2_thenCorrect() throws IOException { + FileUtils.touch(new File(TEMP_DIR + "/fileToDelete.txt")); + + FileUtils.forceDelete(FileUtils.getFile(TEMP_DIR + "/fileToDelete.txt")); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaInputStreamToXUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaInputStreamToXUnitTest.java new file mode 100644 index 0000000000..1a6ac5f8ce --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaInputStreamToXUnitTest.java @@ -0,0 +1,226 @@ +package org.baeldung.java.io; + +import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; +import static org.hamcrest.Matchers.equalTo; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; + +import java.io.BufferedReader; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.io.Reader; +import java.io.StringWriter; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.nio.file.StandardCopyOption; +import java.util.Scanner; + +import org.apache.commons.io.FileUtils; +import org.apache.commons.io.IOUtils; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.base.Charsets; +import com.google.common.io.ByteSource; +import com.google.common.io.ByteStreams; +import com.google.common.io.CharStreams; +import com.google.common.io.Files; + +@SuppressWarnings("unused") +public class JavaInputStreamToXUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + private static final int DEFAULT_SIZE = 1500000; + + // tests - InputStream to String + + @Test + public final void givenUsingJava5_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); + + final StringBuilder textBuilder = new StringBuilder(); + try (Reader reader = new BufferedReader(new InputStreamReader(inputStream, Charset.forName(StandardCharsets.UTF_8.name())))) { + int c = 0; + while ((c = reader.read()) != -1) { + textBuilder.append((char) c); + } + } + assertEquals(textBuilder.toString(), originalString); + } + + @Test + public final void givenUsingJava7_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); // exampleString.getBytes(StandardCharsets.UTF_8); + + // When + String text = null; + try (Scanner scanner = new Scanner(inputStream, StandardCharsets.UTF_8.name())) { + text = scanner.useDelimiter("\\A").next(); + } + + assertThat(text, equalTo(originalString)); + } + + @Test + public final void givenUsingGuava_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); + + final ByteSource byteSource = new ByteSource() { + @Override + public final InputStream openStream() throws IOException { + return inputStream; + } + }; + + final String text = byteSource.asCharSource(Charsets.UTF_8).read(); + + assertThat(text, equalTo(originalString)); + } + + @Test + public final void givenUsingGuavaAndJava7_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); + + // When + String text = null; + try (final Reader reader = new InputStreamReader(inputStream)) { + text = CharStreams.toString(reader); + } + + assertThat(text, equalTo(originalString)); + } + + @Test + public final void givenUsingCommonsIo_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); + + // When + final String text = IOUtils.toString(inputStream, StandardCharsets.UTF_8.name()); + assertThat(text, equalTo(originalString)); + } + + @Test + public final void givenUsingCommonsIoWithCopy_whenConvertingAnInputStreamToAString_thenCorrect() throws IOException { + final String originalString = randomAlphabetic(DEFAULT_SIZE); + final InputStream inputStream = new ByteArrayInputStream(originalString.getBytes()); + + // When + final StringWriter writer = new StringWriter(); + final String encoding = StandardCharsets.UTF_8.name(); + IOUtils.copy(inputStream, writer, encoding); + + assertThat(writer.toString(), equalTo(originalString)); + } + + // tests - InputStream to byte[] + + @Test + public final void givenUsingPlainJavaOnFixedSizeStream_whenConvertingAnInputStreamToAByteArray_thenCorrect() throws IOException { + final InputStream initialStream = new ByteArrayInputStream(new byte[] { 0, 1, 2 }); + final byte[] targetArray = new byte[initialStream.available()]; + initialStream.read(targetArray); + } + + @Test + public final void givenUsingPlainJavaOnUnknownSizeStream_whenConvertingAnInputStreamToAByteArray_thenCorrect() throws IOException { + final InputStream is = new ByteArrayInputStream(new byte[] { 0, 1, 2 }); + + final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); + int nRead; + final byte[] data = new byte[1024]; + while ((nRead = is.read(data, 0, data.length)) != -1) { + buffer.write(data, 0, nRead); + } + + buffer.flush(); + final byte[] byteArray = buffer.toByteArray(); + } + + @Test + public final void givenUsingGuava_whenConvertingAnInputStreamToAByteArray_thenCorrect() throws IOException { + final InputStream initialStream = ByteSource.wrap(new byte[] { 0, 1, 2 }).openStream(); + final byte[] targetArray = ByteStreams.toByteArray(initialStream); + } + + @Test + public final void givenUsingCommonsIO_whenConvertingAnInputStreamToAByteArray_thenCorrect() throws IOException { + final InputStream initialStream = new ByteArrayInputStream(new byte[] { 0, 1, 2 }); + final byte[] targetArray = IOUtils.toByteArray(initialStream); + } + + // tests - InputStream to File + + @Test + public final void givenUsingPlainJava_whenConvertingAnFullInputStreamToAFile_thenCorrect() throws IOException { + final InputStream initialStream = new FileInputStream(new File("src/main/resources/sample.txt")); + final byte[] buffer = new byte[initialStream.available()]; + initialStream.read(buffer); + + final File targetFile = new File("src/main/resources/targetFile.tmp"); + final OutputStream outStream = new FileOutputStream(targetFile); + outStream.write(buffer); + + IOUtils.closeQuietly(initialStream); + IOUtils.closeQuietly(outStream); + } + + @Test + public final void givenUsingPlainJava_whenConvertingAnInProgressInputStreamToAFile_thenCorrect() throws IOException { + final InputStream initialStream = new FileInputStream(new File("src/main/resources/sample.txt")); + final File targetFile = new File("src/main/resources/targetFile.tmp"); + final OutputStream outStream = new FileOutputStream(targetFile); + + final byte[] buffer = new byte[8 * 1024]; + int bytesRead; + while ((bytesRead = initialStream.read(buffer)) != -1) { + outStream.write(buffer, 0, bytesRead); + } + + IOUtils.closeQuietly(initialStream); + IOUtils.closeQuietly(outStream); + } + + @Test + public final void givenUsingPlainJava8_whenConvertingAnInProgressInputStreamToAFile_thenCorrect() throws IOException { + final InputStream initialStream = new FileInputStream(new File("src/main/resources/sample.txt")); + final File targetFile = new File("src/main/resources/targetFile.tmp"); + + java.nio.file.Files.copy(initialStream, targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING); + + IOUtils.closeQuietly(initialStream); + } + + @Test + public final void givenUsingGuava_whenConvertingAnInputStreamToAFile_thenCorrect() throws IOException { + final InputStream initialStream = new FileInputStream(new File("src/main/resources/sample.txt")); + final byte[] buffer = new byte[initialStream.available()]; + initialStream.read(buffer); + + final File targetFile = new File("src/main/resources/targetFile.tmp"); + Files.write(buffer, targetFile); + + IOUtils.closeQuietly(initialStream); + } + + @Test + public final void givenUsingCommonsIO_whenConvertingAnInputStreamToAFile_thenCorrect() throws IOException { + final InputStream initialStream = FileUtils.openInputStream(new File("src/main/resources/sample.txt")); + + final File targetFile = new File("src/main/resources/targetFile.tmp"); + + FileUtils.copyInputStreamToFile(initialStream, targetFile); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaReadFromFileUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaReadFromFileUnitTest.java new file mode 100644 index 0000000000..b1aa58424d --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaReadFromFileUnitTest.java @@ -0,0 +1,176 @@ +package org.baeldung.java.io; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.io.BufferedReader; +import java.io.DataInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.RandomAccessFile; +import java.io.SequenceInputStream; +import java.io.StreamTokenizer; +import java.nio.ByteBuffer; +import java.nio.channels.FileChannel; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Scanner; + +import org.junit.Test; + +public class JavaReadFromFileUnitTest { + + @Test + public void whenReadWithBufferedReader_thenCorrect() throws IOException { + final String expected_value = "Hello world"; + + final BufferedReader reader = new BufferedReader(new FileReader("src/test/resources/test_read.in")); + final String currentLine = reader.readLine(); + reader.close(); + + assertEquals(expected_value, currentLine); + } + + @Test + public void whenReadWithScanner_thenCorrect() throws IOException { + final Scanner scanner = new Scanner(new File("src/test/resources/test_read1.in")); + scanner.useDelimiter(" "); + + assertTrue(scanner.hasNext()); + assertEquals("Hello", scanner.next()); + assertEquals("world", scanner.next()); + assertEquals(1, scanner.nextInt()); + + scanner.close(); + + } + + @Test + public void whenReadWithScannerTwoDelimiters_thenCorrect() throws IOException { + final Scanner scanner = new Scanner(new File("src/test/resources/test_read2.in")); + scanner.useDelimiter(",| "); + + assertTrue(scanner.hasNextInt()); + assertEquals(2, scanner.nextInt()); + assertEquals(3, scanner.nextInt()); + assertEquals(4, scanner.nextInt()); + + scanner.close(); + } + + @Test + public void whenReadWithStreamTokenizer_thenCorrectTokens() throws IOException { + final FileReader reader = new FileReader("src/test/resources/test_read3.in"); + final StreamTokenizer tokenizer = new StreamTokenizer(reader); + + tokenizer.nextToken(); + assertEquals(StreamTokenizer.TT_WORD, tokenizer.ttype); + assertEquals("Hello", tokenizer.sval); + tokenizer.nextToken(); + assertEquals(StreamTokenizer.TT_NUMBER, tokenizer.ttype); + assertEquals(1, tokenizer.nval, 0.0000001); + + tokenizer.nextToken(); + assertEquals(StreamTokenizer.TT_EOF, tokenizer.ttype); + reader.close(); + } + + @Test + public void whenReadWithDataInputStream_thenCorrect() throws IOException { + final String expected_value = "Hello"; + + String result; + final DataInputStream reader = new DataInputStream(new FileInputStream("src/test/resources/test_read4.in")); + result = reader.readUTF(); + reader.close(); + + assertEquals(expected_value, result); + } + + public void whenReadTwoFilesWithSequenceInputStream_thenCorrect() throws IOException { + final int expected_value1 = 2000; + final int expected_value2 = 5000; + + final FileInputStream stream1 = new FileInputStream("src/test/resources/test_read5.in"); + final FileInputStream stream2 = new FileInputStream("src/test/resources/test_read6.in"); + + final SequenceInputStream sequence = new SequenceInputStream(stream1, stream2); + final DataInputStream reader = new DataInputStream(sequence); + + assertEquals(expected_value1, reader.readInt()); + assertEquals(expected_value2, reader.readInt()); + + reader.close(); + stream2.close(); + } + + @Test + public void whenReadUTFEncodedFile_thenCorrect() throws IOException { + final String expected_value = "é’空"; + final BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream("src/test/resources/test_read7.in"), "UTF-8")); + final String currentLine = reader.readLine(); + reader.close(); + System.out.println(currentLine); + assertEquals(expected_value, currentLine); + } + + @Test + public void whenReadFileContentsIntoString_thenCorrect() throws IOException { + final String expected_value = "Hello world \n Test line \n"; + final BufferedReader reader = new BufferedReader(new FileReader("src/test/resources/test_read8.in")); + final StringBuilder builder = new StringBuilder(); + String currentLine = reader.readLine(); + while (currentLine != null) { + builder.append(currentLine); + builder.append("\n"); + currentLine = reader.readLine(); + } + + reader.close(); + + assertEquals(expected_value, builder.toString()); + } + + @Test + public void whenReadWithFileChannel_thenCorrect() throws IOException { + final String expected_value = "Hello world"; + final RandomAccessFile reader = new RandomAccessFile("src/test/resources/test_read.in", "r"); + final FileChannel channel = reader.getChannel(); + + int bufferSize = 1024; + if (bufferSize > channel.size()) { + bufferSize = (int) channel.size(); + } + final ByteBuffer buff = ByteBuffer.allocate(bufferSize); + channel.read(buff); + buff.flip(); + assertEquals(expected_value, new String(buff.array())); + channel.close(); + reader.close(); + } + + @Test + public void whenReadSmallFileJava7_thenCorrect() throws IOException { + final String expected_value = "Hello world"; + final Path path = Paths.get("src/test/resources/test_read.in"); + + final String read = Files.readAllLines(path, Charset.defaultCharset()).get(0); + assertEquals(expected_value, read); + } + + @Test + public void whenReadLargeFileJava7_thenCorrect() throws IOException { + final String expected_value = "Hello world"; + + final Path path = Paths.get("src/test/resources/test_read.in"); + final BufferedReader reader = Files.newBufferedReader(path, Charset.defaultCharset()); + final String line = reader.readLine(); + assertEquals(expected_value, line); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaReaderToXUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaReaderToXUnitTest.java new file mode 100644 index 0000000000..3c574f1e5c --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaReaderToXUnitTest.java @@ -0,0 +1,258 @@ +package org.baeldung.java.io; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.junit.Assert.assertThat; + +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; +import java.io.InputStream; +import java.io.Reader; +import java.io.StringReader; +import java.io.Writer; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; + +import org.apache.commons.io.FileUtils; +import org.apache.commons.io.IOUtils; +import org.apache.commons.io.input.CharSequenceReader; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.base.Charsets; +import com.google.common.io.CharSink; +import com.google.common.io.CharSource; +import com.google.common.io.CharStreams; +import com.google.common.io.FileWriteMode; + +@SuppressWarnings("unused") +public class JavaReaderToXUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + private static final int DEFAULT_SIZE = 1500000; + + // tests - sandbox + + // tests - Reader to String + + @Test + public void givenUsingPlainJava_whenConvertingReaderIntoStringV1_thenCorrect() throws IOException { + final Reader reader = new StringReader("With Java 1"); + int intValueOfChar; + String targetString = ""; + while ((intValueOfChar = reader.read()) != -1) { + targetString += (char) intValueOfChar; + } + reader.close(); + } + + @Test + public void givenUsingPlainJava_whenConvertingReaderIntoStringV2_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Java 1"); + final char[] arr = new char[8 * 1024]; + final StringBuilder buffer = new StringBuilder(); + int numCharsRead; + while ((numCharsRead = initialReader.read(arr, 0, arr.length)) != -1) { + buffer.append(arr, 0, numCharsRead); + } + initialReader.close(); + final String targetString = buffer.toString(); + } + + @Test + public void givenUsingGuava_whenConvertingReaderIntoString_thenCorrect() throws IOException { + final Reader initialReader = CharSource.wrap("With Google Guava").openStream(); + final String targetString = CharStreams.toString(initialReader); + initialReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoString_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Apache Commons"); + final String targetString = IOUtils.toString(initialReader); + initialReader.close(); + } + + // tests - Reader WRITE TO File + + @Test + public void givenUsingPlainJava_whenWritingReaderContentsToFile_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("Some text"); + + int intValueOfChar; + final StringBuilder buffer = new StringBuilder(); + while ((intValueOfChar = initialReader.read()) != -1) { + buffer.append((char) intValueOfChar); + } + initialReader.close(); + + final File targetFile = new File("src/test/resources/targetFile.txt"); + targetFile.createNewFile(); + + final Writer targetFileWriter = new FileWriter(targetFile); + targetFileWriter.write(buffer.toString()); + targetFileWriter.close(); + } + + @Test + public void givenUsingGuava_whenWritingReaderContentsToFile_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("Some text"); + + final File targetFile = new File("src/test/resources/targetFile.txt"); + com.google.common.io.Files.touch(targetFile); + final CharSink charSink = com.google.common.io.Files.asCharSink(targetFile, Charset.defaultCharset(), FileWriteMode.APPEND); + charSink.writeFrom(initialReader); + initialReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenWritingReaderContentsToFile_thenCorrect() throws IOException { + final Reader initialReader = new CharSequenceReader("CharSequenceReader extends Reader"); + + final File targetFile = new File("src/test/resources/targetFile.txt"); + FileUtils.touch(targetFile); + final byte[] buffer = IOUtils.toByteArray(initialReader); + FileUtils.writeByteArrayToFile(targetFile, buffer); + initialReader.close(); + } + + // tests - Reader to byte[] + + @Test + public void givenUsingPlainJava_whenConvertingReaderIntoByteArray_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Java"); + + final char[] charArray = new char[8 * 1024]; + final StringBuilder builder = new StringBuilder(); + int numCharsRead; + while ((numCharsRead = initialReader.read(charArray, 0, charArray.length)) != -1) { + builder.append(charArray, 0, numCharsRead); + } + final byte[] targetArray = builder.toString().getBytes(); + + initialReader.close(); + } + + @Test + public void givenUsingGuava_whenConvertingReaderIntoByteArray_thenCorrect() throws IOException { + final Reader initialReader = CharSource.wrap("With Google Guava").openStream(); + + final byte[] targetArray = CharStreams.toString(initialReader).getBytes(); + + initialReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoByteArray_thenCorrect() throws IOException { + final StringReader initialReader = new StringReader("With Commons IO"); + + final byte[] targetArray = IOUtils.toByteArray(initialReader); + + initialReader.close(); + } + + // tests - Reader to InputStream + + @Test + public void givenUsingPlainJava_whenConvertingReaderIntoInputStream_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Java"); + + final char[] charBuffer = new char[8 * 1024]; + final StringBuilder builder = new StringBuilder(); + int numCharsRead; + while ((numCharsRead = initialReader.read(charBuffer, 0, charBuffer.length)) != -1) { + builder.append(charBuffer, 0, numCharsRead); + } + final InputStream targetStream = new ByteArrayInputStream(builder.toString().getBytes()); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingGuava_whenConvertingReaderIntoInputStream_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Guava"); + + final InputStream targetStream = new ByteArrayInputStream(CharStreams.toString(initialReader).getBytes()); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoInputStream() throws IOException { + final Reader initialReader = new StringReader("With Commons IO"); + + final InputStream targetStream = IOUtils.toInputStream(IOUtils.toString(initialReader)); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoInputStream_thenCorrect() throws IOException { + String initialString = "With Commons IO"; + final Reader initialReader = new StringReader(initialString); + + final InputStream targetStream = IOUtils.toInputStream(IOUtils.toString(initialReader)); + + final String finalString = IOUtils.toString(targetStream); + assertThat(finalString, equalTo(initialString)); + + initialReader.close(); + targetStream.close(); + } + + // tests - Reader to InputStream with encoding + + @Test + public void givenUsingPlainJava_whenConvertingReaderIntoInputStreamWithCharset() throws IOException { + final Reader initialReader = new StringReader("With Java"); + + final char[] charBuffer = new char[8 * 1024]; + final StringBuilder builder = new StringBuilder(); + int numCharsRead; + while ((numCharsRead = initialReader.read(charBuffer, 0, charBuffer.length)) != -1) { + builder.append(charBuffer, 0, numCharsRead); + } + final InputStream targetStream = new ByteArrayInputStream(builder.toString().getBytes(StandardCharsets.UTF_8)); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingGuava_whenConvertingReaderIntoInputStreamWithCharset_thenCorrect() throws IOException { + final Reader initialReader = new StringReader("With Guava"); + + final InputStream targetStream = new ByteArrayInputStream(CharStreams.toString(initialReader).getBytes(Charsets.UTF_8)); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoInputStreamWithEncoding() throws IOException { + final Reader initialReader = new StringReader("With Commons IO"); + + final InputStream targetStream = IOUtils.toInputStream(IOUtils.toString(initialReader), Charsets.UTF_8); + + initialReader.close(); + targetStream.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingReaderIntoInputStreamWithEncoding_thenCorrect() throws IOException { + String initialString = "With Commons IO"; + final Reader initialReader = new StringReader(initialString); + final InputStream targetStream = IOUtils.toInputStream(IOUtils.toString(initialReader), Charsets.UTF_8); + + String finalString = IOUtils.toString(targetStream, Charsets.UTF_8); + assertThat(finalString, equalTo(initialString)); + + initialReader.close(); + targetStream.close(); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaScannerUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaScannerUnitTest.java new file mode 100644 index 0000000000..5af286dbca --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaScannerUnitTest.java @@ -0,0 +1,184 @@ +package org.baeldung.java.io; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import java.io.BufferedReader; +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStream; +import java.util.Scanner; + +import org.junit.Test; + +public class JavaScannerUnitTest { + + @Test + public void whenReadFileWithScanner_thenCorrect() throws IOException { + final Scanner scanner = new Scanner(new File("src/test/resources/test_read.in")); + + assertTrue(scanner.hasNext()); + assertEquals("Hello", scanner.next()); + assertEquals("world", scanner.next()); + + scanner.close(); + } + + @Test + public void whenConvertInputStreamToString_thenConverted() throws IOException { + final String expectedValue = "Hello world"; + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read.in"); + final Scanner scanner = new Scanner(inputStream); + scanner.useDelimiter("\\A"); + + final String result = scanner.next(); + assertEquals(expectedValue, result); + + scanner.close(); + } + + @Test + public void whenReadUsingBufferedReader_thenCorrect() throws IOException { + final String firstLine = "Hello world"; + final String secondLine = "Hi, John"; + final BufferedReader reader = new BufferedReader(new FileReader("src/test/resources/test_read_multiple.in")); + + String result = reader.readLine(); + assertEquals(firstLine, result); + + result = reader.readLine(); + assertEquals(secondLine, result); + + reader.close(); + } + + @Test + public void whenReadUsingScanner_thenCorrect() throws IOException { + final String firstLine = "Hello world"; + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read_multiple.in"); + final Scanner scanner = new Scanner(inputStream); + + final String result = scanner.nextLine(); + assertEquals(firstLine, result); + + scanner.useDelimiter(", "); + assertEquals("Hi", scanner.next()); + assertEquals("John", scanner.next()); + + scanner.close(); + } + + @Test + public void whenReadingInputFromConsole_thenCorrect() { + final String input = "Hello"; + final InputStream stdin = System.in; + System.setIn(new ByteArrayInputStream(input.getBytes())); + + final Scanner scanner = new Scanner(System.in); + final String result = scanner.next(); + assertEquals(input, result); + + System.setIn(stdin); + scanner.close(); + } + + @Test + public void whenValidateInputUsingScanner_thenValidated() throws IOException { + final String input = "2000"; + final InputStream stdin = System.in; + System.setIn(new ByteArrayInputStream(input.getBytes())); + + final Scanner scanner = new Scanner(System.in); + + final boolean isIntInput = scanner.hasNextInt(); + assertTrue(isIntInput); + + System.setIn(stdin); + scanner.close(); + } + + @Test + public void whenScanString_thenCorrect() throws IOException { + final String input = "Hello 1 F 3.5"; + final Scanner scanner = new Scanner(input); + + assertEquals("Hello", scanner.next()); + assertEquals(1, scanner.nextInt()); + assertEquals(15, scanner.nextInt(16)); + assertEquals(3.5, scanner.nextDouble(), 0.00000001); + + scanner.close(); + } + + @Test + public void whenFindPatternUsingScanner_thenFound() throws IOException { + final String expectedValue = "world"; + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read.in"); + final Scanner scanner = new Scanner(inputStream); + + final String result = scanner.findInLine("wo..d"); + assertEquals(expectedValue, result); + + scanner.close(); + } + + @Test + public void whenFindPatternInHorizon_thenFound() throws IOException { + final String expectedValue = "world"; + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read.in"); + final Scanner scanner = new Scanner(inputStream); + + String result = scanner.findWithinHorizon("wo..d", 5); + assertNull(result); + + result = scanner.findWithinHorizon("wo..d", 100); + assertEquals(expectedValue, result); + + scanner.close(); + } + + @Test + public void whenSkipPatternUsingScanner_thenSkiped() throws IOException { + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read.in"); + final Scanner scanner = new Scanner(inputStream); + + scanner.skip(".e.lo"); + + assertEquals("world", scanner.next()); + + scanner.close(); + } + + @Test + public void whenChangeScannerDelimiter_thenChanged() throws IOException { + final String expectedValue = "Hello world"; + final String[] splited = expectedValue.split("o"); + + final FileInputStream inputStream = new FileInputStream("src/test/resources/test_read.in"); + final Scanner scanner = new Scanner(inputStream); + scanner.useDelimiter("o"); + + assertEquals(splited[0], scanner.next()); + assertEquals(splited[1], scanner.next()); + assertEquals(splited[2], scanner.next()); + + scanner.close(); + } + + @Test + public void whenReadWithScannerTwoDelimiters_thenCorrect() throws IOException { + final Scanner scanner = new Scanner(new File("src/test/resources/test_read_d.in")); + scanner.useDelimiter(",|-"); + + assertEquals("John", scanner.next()); + assertEquals("Adam", scanner.next()); + assertEquals("Tom", scanner.next()); + + scanner.close(); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaWriteToFileUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaWriteToFileUnitTest.java new file mode 100644 index 0000000000..9ff95c4e16 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaWriteToFileUnitTest.java @@ -0,0 +1,186 @@ +package org.baeldung.java.io; + +import static org.junit.Assert.assertEquals; + +import java.io.BufferedOutputStream; +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.io.PrintWriter; +import java.io.RandomAccessFile; +import java.nio.ByteBuffer; +import java.nio.channels.FileChannel; +import java.nio.channels.FileLock; +import java.nio.channels.OverlappingFileLockException; +import java.nio.charset.Charset; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; + +import org.junit.Test; + +public class JavaWriteToFileUnitTest { + + private String fileName = "src/test/resources/test_write.txt"; + private String fileName1 = "src/test/resources/test_write_1.txt"; + private String fileName2 = "src/test/resources/test_write_2.txt"; + private String fileName3 = "src/test/resources/test_write_3.txt"; + private String fileName4 = "src/test/resources/test_write_4.txt"; + private String fileName5 = "src/test/resources/test_write_5.txt"; + + @Test + public void whenWriteStringUsingBufferedWritter_thenCorrect() throws IOException { + final String str = "Hello"; + final BufferedWriter writer = new BufferedWriter(new FileWriter(fileName3)); + writer.write(str); + writer.close(); + } + + @Test + public void whenAppendStringUsingBufferedWritter_thenOldContentShouldExistToo() throws IOException { + final String str = "World"; + final BufferedWriter writer = new BufferedWriter(new FileWriter(fileName3, true)); + writer.append(' '); + writer.append(str); + writer.close(); + } + + @Test + public void givenWritingStringToFile_whenUsingPrintWriter_thenCorrect() throws IOException { + final FileWriter fileWriter = new FileWriter(fileName); + final PrintWriter printWriter = new PrintWriter(fileWriter); + printWriter.print("Some String"); + printWriter.printf("Product name is %s and its price is %d $", "iPhone", 1000); + printWriter.close(); + } + + @Test + public void givenWritingStringToFile_whenUsingFileOutputStream_thenCorrect() throws IOException { + final String str = "Hello"; + final FileOutputStream outputStream = new FileOutputStream(fileName3); + final byte[] strToBytes = str.getBytes(); + outputStream.write(strToBytes); + outputStream.close(); + } + + // + + @Test + public void givenWritingToFile_whenUsingDataOutputStream_thenCorrect() throws IOException { + final String value = "Hello"; + final FileOutputStream fos = new FileOutputStream(fileName1); + final DataOutputStream outStream = new DataOutputStream(new BufferedOutputStream(fos)); + outStream.writeUTF(value); + outStream.close(); + + String result; + final FileInputStream fis = new FileInputStream(fileName1); + final DataInputStream reader = new DataInputStream(fis); + result = reader.readUTF(); + reader.close(); + + assertEquals(value, result); + } + + @Test + public void whenWritingToSpecificPositionInFile_thenCorrect() throws IOException { + final int data1 = 2014; + final int data2 = 1500; + writeToPosition(fileName2, data1, 4); + assertEquals(data1, readFromPosition(fileName2, 4)); + writeToPosition(fileName2, data2, 4); + assertEquals(data2, readFromPosition(fileName2, 4)); + } + + @Test + public void whenTryToLockFile_thenItShouldBeLocked() throws IOException { + final RandomAccessFile stream = new RandomAccessFile(fileName4, "rw"); + final FileChannel channel = stream.getChannel(); + + FileLock lock = null; + try { + lock = channel.tryLock(); + } catch (final OverlappingFileLockException e) { + stream.close(); + channel.close(); + } + stream.writeChars("test lock"); + lock.release(); + + stream.close(); + channel.close(); + } + + @Test + public void givenWritingToFile_whenUsingFileChannel_thenCorrect() throws IOException { + final RandomAccessFile stream = new RandomAccessFile(fileName5, "rw"); + final FileChannel channel = stream.getChannel(); + final String value = "Hello"; + final byte[] strBytes = value.getBytes(); + final ByteBuffer buffer = ByteBuffer.allocate(strBytes.length); + buffer.put(strBytes); + buffer.flip(); + channel.write(buffer); + stream.close(); + channel.close(); + + final RandomAccessFile reader = new RandomAccessFile(fileName5, "r"); + assertEquals(value, reader.readLine()); + reader.close(); + + } + + @Test + public void whenWriteToTmpFile_thenCorrect() throws IOException { + final String toWrite = "Hello"; + final File tmpFile = File.createTempFile("test", ".tmp"); + final FileWriter writer = new FileWriter(tmpFile); + writer.write(toWrite); + writer.close(); + + final BufferedReader reader = new BufferedReader(new FileReader(tmpFile)); + assertEquals(toWrite, reader.readLine()); + reader.close(); + } + + @Test + public void givenUsingJava7_whenWritingToFile_thenCorrect() throws IOException { + final String str = "Hello"; + + final Path path = Paths.get(fileName3); + final byte[] strToBytes = str.getBytes(); + + Files.write(path, strToBytes); + + final String read = Files.readAllLines(path, Charset.defaultCharset()).get(0); + assertEquals(str, read); + } + + // UTIL + + // use RandomAccessFile to write data at specific position in the file + private void writeToPosition(final String filename, final int data, final long position) throws IOException { + final RandomAccessFile writer = new RandomAccessFile(filename, "rw"); + writer.seek(position); + writer.writeInt(data); + writer.close(); + } + + // use RandomAccessFile to read data from specific position in the file + private int readFromPosition(final String filename, final long position) throws IOException { + int result = 0; + final RandomAccessFile reader = new RandomAccessFile(filename, "r"); + reader.seek(position); + result = reader.readInt(); + reader.close(); + return result; + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaXToByteArrayUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaXToByteArrayUnitTest.java new file mode 100644 index 0000000000..e45e3e73f4 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaXToByteArrayUnitTest.java @@ -0,0 +1,11 @@ +package org.baeldung.java.io; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class JavaXToByteArrayUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + + // tests - X to Byte Array + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaXToInputStreamUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaXToInputStreamUnitTest.java new file mode 100644 index 0000000000..f58d66818b --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaXToInputStreamUnitTest.java @@ -0,0 +1,93 @@ +package org.baeldung.java.io; + +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; + +import org.apache.commons.io.FileUtils; +import org.apache.commons.io.IOUtils; +import org.apache.commons.io.input.ReaderInputStream; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.io.ByteSource; +import com.google.common.io.CharSource; +import com.google.common.io.Files; + +public class JavaXToInputStreamUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + + // tests - String - InputStream + + @Test + public final void givenUsingPlainJava_whenConvertingStringToInputStream_thenCorrect() throws IOException { + final String initialString = "text"; + final InputStream targetStream = new ByteArrayInputStream(initialString.getBytes()); + + IOUtils.closeQuietly(targetStream); + } + + @Test + public final void givenUsingGuava_whenConvertingStringToInputStream_thenCorrect() throws IOException { + final String initialString = "text"; + final InputStream targetStream = new ReaderInputStream(CharSource.wrap(initialString).openStream()); + + IOUtils.closeQuietly(targetStream); + } + + @Test + public final void givenUsingCommonsIO_whenConvertingStringToInputStream_thenCorrect() throws IOException { + final String initialString = "text"; + final InputStream targetStream = IOUtils.toInputStream(initialString); + + IOUtils.closeQuietly(targetStream); + } + + // byte array - InputStream + + @Test + public final void givenUsingPlainJava_whenConvertingByteArrayToInputStream_thenCorrect() throws IOException { + final byte[] initialArray = { 0, 1, 2 }; + final InputStream targetStream = new ByteArrayInputStream(initialArray); + + IOUtils.closeQuietly(targetStream); + } + + @Test + public final void givenUsingGuava_whenConvertingByteArrayToInputStream_thenCorrect() throws IOException { + final byte[] initialArray = { 0, 1, 2 }; + final InputStream targetStream = ByteSource.wrap(initialArray).openStream(); + + IOUtils.closeQuietly(targetStream); + } + + // File - InputStream + + @Test + public final void givenUsingPlainJava_whenConvertingFileToInputStream_thenCorrect() throws IOException { + final File initialFile = new File("src/main/resources/sample.txt"); + final InputStream targetStream = new FileInputStream(initialFile); + + IOUtils.closeQuietly(targetStream); + } + + @Test + public final void givenUsingGuava_whenConvertingFileToInputStream_thenCorrect() throws IOException { + final File initialFile = new File("src/main/resources/sample.txt"); + final InputStream targetStream = Files.asByteSource(initialFile).openStream(); + + IOUtils.closeQuietly(targetStream); + } + + @Test + public final void givenUsingCommonsIO_whenConvertingFileToInputStream_thenCorrect() throws IOException { + final File initialFile = new File("src/main/resources/sample.txt"); + final InputStream targetStream = FileUtils.openInputStream(initialFile); + + IOUtils.closeQuietly(targetStream); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaXToReaderUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaXToReaderUnitTest.java new file mode 100644 index 0000000000..eac37441ca --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaXToReaderUnitTest.java @@ -0,0 +1,147 @@ +package org.baeldung.java.io; + +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.io.StringReader; +import java.nio.charset.Charset; + +import org.apache.commons.io.FileUtils; +import org.apache.commons.io.IOUtils; +import org.apache.commons.io.input.CharSequenceReader; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.io.ByteSource; +import com.google.common.io.ByteStreams; +import com.google.common.io.CharSource; + +public class JavaXToReaderUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + + // tests - String to Reader + + @Test + public void givenUsingPlainJava_whenConvertingStringIntoReader_thenCorrect() throws IOException { + final String initialString = "With Plain Java"; + final Reader targetReader = new StringReader(initialString); + + targetReader.close(); + } + + @Test + public void givenUsingGuava_whenConvertingStringIntoReader_thenCorrect() throws IOException { + final String initialString = "With Google Guava"; + final Reader targetReader = CharSource.wrap(initialString).openStream(); + + targetReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingStringIntoReader_thenCorrect() throws IOException { + final String initialString = "With Apache Commons IO"; + final Reader targetReader = new CharSequenceReader(initialString); + + targetReader.close(); + } + + // tests - byte array to Reader + + @Test + public void givenUsingPlainJava_whenConvertingByteArrayIntoReader_thenCorrect() throws IOException { + final byte[] initialArray = "Hello world!".getBytes(); + final Reader targetReader = new StringReader(new String(initialArray)); + + targetReader.close(); + } + + @Test + public void givenUsingPlainJava2_whenConvertingByteArrayIntoReader_thenCorrect() throws IOException { + final byte[] initialArray = "Hello world!".getBytes(); + final Reader targetReader = new InputStreamReader(new ByteArrayInputStream(initialArray)); + + targetReader.close(); + } + + @Test + public void givenUsingGuava_whenConvertingByteArrayIntoReader_thenCorrect() throws IOException { + final byte[] initialArray = "With Guava".getBytes(); + final String bufferString = new String(initialArray); + final Reader targetReader = CharSource.wrap(bufferString).openStream(); + + targetReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingByteArrayIntoReader_thenCorrect() throws IOException { + final byte[] initialArray = "With Commons IO".getBytes(); + final Reader targetReader = new CharSequenceReader(new String(initialArray)); + + targetReader.close(); + } + + // tests - File to Reader + + @Test + public void givenUsingPlainJava_whenConvertingFileIntoReader_thenCorrect() throws IOException { + final File initialFile = new File("src/test/resources/initialFile.txt"); + initialFile.createNewFile(); + final Reader targetReader = new FileReader(initialFile); + + targetReader.close(); + } + + @Test + public void givenUsingGuava_whenConvertingFileIntoReader_thenCorrect() throws IOException { + final File initialFile = new File("src/test/resources/initialFile.txt"); + com.google.common.io.Files.touch(initialFile); + final Reader targetReader = com.google.common.io.Files.newReader(initialFile, Charset.defaultCharset()); + + targetReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingFileIntoReader_thenCorrect() throws IOException { + final File initialFile = new File("src/test/resources/initialFile.txt"); + FileUtils.touch(initialFile); + FileUtils.write(initialFile, "With Commons IO"); + final byte[] buffer = FileUtils.readFileToByteArray(initialFile); + final Reader targetReader = new CharSequenceReader(new String(buffer)); + + targetReader.close(); + } + + // tests - InputStream to Reader + + @Test + public void givenUsingPlainJava_whenConvertingInputStreamIntoReader_thenCorrect() throws IOException { + final InputStream initialStream = new ByteArrayInputStream("With Java".getBytes()); + final Reader targetReader = new InputStreamReader(initialStream); + + targetReader.close(); + } + + @Test + public void givenUsingGuava_whenConvertingInputStreamIntoReader_thenCorrect() throws IOException { + final InputStream initialStream = ByteSource.wrap("With Guava".getBytes()).openStream(); + final byte[] buffer = ByteStreams.toByteArray(initialStream); + final Reader targetReader = CharSource.wrap(new String(buffer)).openStream(); + + targetReader.close(); + } + + @Test + public void givenUsingCommonsIO_whenConvertingInputStreamIntoReader_thenCorrect() throws IOException { + final InputStream initialStream = IOUtils.toInputStream("With Commons IO"); + final byte[] buffer = IOUtils.toByteArray(initialStream); + final Reader targetReader = new CharSequenceReader(new String(buffer)); + + targetReader.close(); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/io/JavaXToWriterUnitTest.java b/core-java/src/test/java/org/baeldung/java/io/JavaXToWriterUnitTest.java new file mode 100644 index 0000000000..eb393668bd --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/io/JavaXToWriterUnitTest.java @@ -0,0 +1,61 @@ +package org.baeldung.java.io; + +import static org.junit.Assert.assertEquals; + +import java.io.IOException; +import java.io.StringWriter; +import java.io.Writer; + +import org.apache.commons.io.output.StringBuilderWriter; +import org.junit.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.google.common.io.CharSink; + +public class JavaXToWriterUnitTest { + protected final Logger logger = LoggerFactory.getLogger(getClass()); + + // tests - byte[] to Writer + + @Test + public void givenPlainJava_whenConvertingByteArrayIntoWriter_thenCorrect() throws IOException { + final byte[] initialArray = "With Java".getBytes(); + + final Writer targetWriter = new StringWriter().append(new String(initialArray)); + + targetWriter.close(); + + assertEquals("With Java", targetWriter.toString()); + } + + @Test + public void givenUsingGuava_whenConvertingByteArrayIntoWriter_thenCorrect() throws IOException { + final byte[] initialArray = "With Guava".getBytes(); + + final String buffer = new String(initialArray); + final StringWriter stringWriter = new StringWriter(); + final CharSink charSink = new CharSink() { + @Override + public final Writer openStream() throws IOException { + return stringWriter; + } + }; + charSink.write(buffer); + + stringWriter.close(); + + assertEquals("With Guava", stringWriter.toString()); + } + + @Test + public void givenUsingCommonsIO_whenConvertingByteArrayIntoWriter_thenCorrect() throws IOException { + final byte[] initialArray = "With Commons IO".getBytes(); + final Writer targetWriter = new StringBuilderWriter(new StringBuilder(new String(initialArray))); + + targetWriter.close(); + + assertEquals("With Commons IO", targetWriter.toString()); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/lists/ListAssertJUnitTest.java b/core-java/src/test/java/org/baeldung/java/lists/ListAssertJUnitTest.java new file mode 100644 index 0000000000..c609f5badb --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/lists/ListAssertJUnitTest.java @@ -0,0 +1,23 @@ +package org.baeldung.java.lists; + +import org.junit.Test; + +import java.util.Arrays; +import java.util.List; + +import static org.assertj.core.api.Assertions.assertThat; + +public class ListAssertJUnitTest { + + private final List list1 = Arrays.asList("1", "2", "3", "4"); + private final List list2 = Arrays.asList("1", "2", "3", "4"); + private final List list3 = Arrays.asList("1", "2", "4", "3"); + + @Test + public void whenTestingForEquality_ShouldBeEqual() throws Exception { + assertThat(list1).isEqualTo(list2).isNotEqualTo(list3); + + assertThat(list1.equals(list2)).isTrue(); + assertThat(list1.equals(list3)).isFalse(); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/lists/ListJUnitTest.java b/core-java/src/test/java/org/baeldung/java/lists/ListJUnitTest.java new file mode 100644 index 0000000000..7dddf6c2ce --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/lists/ListJUnitTest.java @@ -0,0 +1,21 @@ +package org.baeldung.java.lists; + +import org.junit.Assert; +import org.junit.Test; + +import java.util.Arrays; +import java.util.List; + +public class ListJUnitTest { + + private final List list1 = Arrays.asList("1", "2", "3", "4"); + private final List list2 = Arrays.asList("1", "2", "3", "4"); + private final List list3 = Arrays.asList("1", "2", "4", "3"); + + @Test + public void whenTestingForEquality_ShouldBeEqual() throws Exception { + Assert.assertEquals(list1, list2); + Assert.assertNotSame(list1, list2); + Assert.assertNotEquals(list1, list3); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/lists/ListTestNgUnitTest.java b/core-java/src/test/java/org/baeldung/java/lists/ListTestNgUnitTest.java new file mode 100644 index 0000000000..b7c2bd7272 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/lists/ListTestNgUnitTest.java @@ -0,0 +1,21 @@ +package org.baeldung.java.lists; + +import org.testng.Assert; +import org.testng.annotations.Test; + +import java.util.Arrays; +import java.util.List; + +public class ListTestNgUnitTest { + + private final List list1 = Arrays.asList("1", "2", "3", "4"); + private final List list2 = Arrays.asList("1", "2", "3", "4"); + private final List list3 = Arrays.asList("1", "2", "4", "3"); + + @Test + public void whenTestingForEquality_ShouldBeEqual() throws Exception { + Assert.assertEquals(list1, list2); + Assert.assertNotSame(list1, list2); + Assert.assertNotEquals(list1, list3); + } +} diff --git a/core-java/src/test/java/org/baeldung/java/lists/README.md b/core-java/src/test/java/org/baeldung/java/lists/README.md new file mode 100644 index 0000000000..2a1e8aeeaa --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/lists/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Check If Two Lists are Equal in Java](http://www.baeldung.com/java-test-a-list-for-ordinality-and-equality) diff --git a/core-java/src/test/java/org/baeldung/java/md5/JavaMD5UnitTest.java b/core-java/src/test/java/org/baeldung/java/md5/JavaMD5UnitTest.java new file mode 100644 index 0000000000..55e71470c8 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/md5/JavaMD5UnitTest.java @@ -0,0 +1,75 @@ +package org.baeldung.java.md5; + +import static org.assertj.core.api.Assertions.assertThat; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; + +import javax.xml.bind.DatatypeConverter; + +import org.apache.commons.codec.digest.DigestUtils; +import org.junit.Test; + +import com.google.common.hash.HashCode; +import com.google.common.hash.Hashing; + +public class JavaMD5UnitTest { + + String filename = "src/test/resources/test_md5.txt"; + String checksum = "5EB63BBBE01EEED093CB22BB8F5ACDC3"; + + String hash = "35454B055CC325EA1AF2126E27707052"; + String password = "ILoveJava"; + + @Test + public void givenPassword_whenHashing_thenVerifying() throws NoSuchAlgorithmException { + String hash = "35454B055CC325EA1AF2126E27707052"; + String password = "ILoveJava"; + + MessageDigest md = MessageDigest.getInstance("MD5"); + md.update(password.getBytes()); + byte[] digest = md.digest(); + String myHash = DatatypeConverter.printHexBinary(digest).toUpperCase(); + + assertThat(myHash.equals(hash)).isTrue(); + } + + @Test + public void givenFile_generatingChecksum_thenVerifying() throws NoSuchAlgorithmException, IOException { + String filename = "src/test/resources/test_md5.txt"; + String checksum = "5EB63BBBE01EEED093CB22BB8F5ACDC3"; + + MessageDigest md = MessageDigest.getInstance("MD5"); + md.update(Files.readAllBytes(Paths.get(filename))); + byte[] digest = md.digest(); + String myChecksum = DatatypeConverter.printHexBinary(digest).toUpperCase(); + + assertThat(myChecksum.equals(checksum)).isTrue(); + } + + @Test + public void givenPassword_whenHashingUsingCommons_thenVerifying() { + String hash = "35454B055CC325EA1AF2126E27707052"; + String password = "ILoveJava"; + + String md5Hex = DigestUtils.md5Hex(password).toUpperCase(); + + assertThat(md5Hex.equals(hash)).isTrue(); + } + + @Test + public void givenFile_whenChecksumUsingGuava_thenVerifying() throws IOException { + String filename = "src/test/resources/test_md5.txt"; + String checksum = "5EB63BBBE01EEED093CB22BB8F5ACDC3"; + + HashCode hash = com.google.common.io.Files.hash(new File(filename), Hashing.md5()); + String myChecksum = hash.toString().toUpperCase(); + + assertThat(myChecksum.equals(checksum)).isTrue(); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/sandbox/SandboxJavaManualTest.java b/core-java/src/test/java/org/baeldung/java/sandbox/SandboxJavaManualTest.java new file mode 100644 index 0000000000..bb849d6a13 --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/sandbox/SandboxJavaManualTest.java @@ -0,0 +1,83 @@ +package org.baeldung.java.sandbox; + +import java.util.Date; +import java.util.Timer; +import java.util.TimerTask; + +import org.junit.Test; + +public class SandboxJavaManualTest { + + @Test + public void givenUsingTimer_whenSchedulingTimerTaskOnce_thenCorrect() throws InterruptedException { + final TimerTask timerTask = new TimerTask() { + @Override + public void run() { + System.out.println("Time when was task performed" + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + } + }; + final Timer timer = new Timer("Thread's name"); + System.out.println("Current time:" + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + final long delay = 2L * 1000L; + timer.schedule(timerTask, delay); + Thread.sleep(delay); + } + + @Test + public void givenUsingTimer_whenSchedulingRepeatedTask_thenCorrect() throws InterruptedException { + final TimerTask repeatedTask = new TimerTask() { + int count = 0; + + @Override + public void run() { + count++; + System.out.println("Time when task was performed: " + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + if (count >= 5) { + cancel(); + } + } + }; + final Timer timer = new Timer("Timer thread"); + System.out.println("Current time: " + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + final long delay = 2L * 1000L; + final long period = 1L * 1000L; + timer.scheduleAtFixedRate(repeatedTask, delay, period); + Thread.sleep(delay + period * 5L); + } + + @Test + public void givenUsingTimer_whenSchedulingRepeatedCustomTimerTask_thenCorrect() throws InterruptedException { + class MyTask extends TimerTask { + long timesToRun = 0; + long timesRunned = 0; + + public void setTimesToRun(final int timesToRun) { + this.timesToRun = timesToRun; + } + + @Override + public void run() { + timesRunned++; + System.out.println("Task performed on: " + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + if (timesRunned >= timesToRun) { + cancel(); + } + } + } + final MyTask repeatedTask = new MyTask(); + repeatedTask.setTimesToRun(5); + final long delay = 2L * 1000L; + final long period = 1L * 1000L; + final Timer timer = new Timer("Timer"); + System.out.println("Current time: " + new Date()); + System.out.println("Thread's name: " + Thread.currentThread().getName()); + timer.scheduleAtFixedRate(repeatedTask, delay, period); + Thread.sleep(delay + period * repeatedTask.timesToRun); + } + +} diff --git a/core-java/src/test/java/org/baeldung/java/shell/JavaProcessUnitTest.java b/core-java/src/test/java/org/baeldung/java/shell/JavaProcessUnitTest.java new file mode 100644 index 0000000000..2c330c513d --- /dev/null +++ b/core-java/src/test/java/org/baeldung/java/shell/JavaProcessUnitTest.java @@ -0,0 +1,66 @@ +package org.baeldung.java.shell; + +import org.junit.Assert; +import org.junit.Test; + +import java.io.*; +import java.util.concurrent.Executors; +import java.util.function.Consumer; + +public class JavaProcessUnitTest { + private static final boolean IS_WINDOWS = System.getProperty("os.name").toLowerCase().startsWith("windows"); + + private static class StreamGobbler implements Runnable { + private InputStream inputStream; + private Consumer consumer; + + public StreamGobbler(InputStream inputStream, Consumer consumer) { + this.inputStream = inputStream; + this.consumer = consumer; + } + + @Override + public void run() { + new BufferedReader(new InputStreamReader(inputStream)).lines().forEach(consumer); + } + } + + private Consumer consumer = new Consumer() { + @Override + public void accept(String s) { + Assert.assertNotNull(s); + } + }; + + private String homeDirectory = System.getProperty("user.home"); + + @Test + public void givenProcess_whenCreatingViaRuntime_shouldSucceed() throws Exception { + Process process; + if (IS_WINDOWS) { + process = Runtime.getRuntime().exec(String.format("cmd.exe /c dir %s", homeDirectory)); + } else { + process = Runtime.getRuntime().exec(String.format("sh -c ls %s", homeDirectory)); + } + StreamGobbler streamGobbler = new StreamGobbler(process.getInputStream(), consumer); + Executors.newSingleThreadExecutor().submit(streamGobbler); + int exitCode = process.waitFor(); + Assert.assertEquals(0, exitCode); + } + + @Test + public void givenProcess_whenCreatingViaProcessBuilder_shouldSucceed() throws Exception { + ProcessBuilder builder = new ProcessBuilder(); + if (IS_WINDOWS) { + builder.command("cmd.exe", "/c", "dir"); + } else { + builder.command("sh", "-c", "ls"); + } + builder.directory(new File(homeDirectory)); + Process process = builder.start(); + StreamGobbler streamGobbler = new StreamGobbler(process.getInputStream(), consumer); + Executors.newSingleThreadExecutor().submit(streamGobbler); + int exitCode = process.waitFor(); + Assert.assertEquals(0, exitCode); + } +} diff --git a/core-java/src/test/resources/.gitignore b/core-java/src/test/resources/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/core-java/src/test/resources/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/core-java/src/test/resources/newFile1.txt b/core-java/src/test/resources/newFile1.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core-java/src/test/resources/newFile2.txt b/core-java/src/test/resources/newFile2.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core-java/src/test/resources/newFile3.txt b/core-java/src/test/resources/newFile3.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core-java/src/test/resources/sourceFile.txt b/core-java/src/test/resources/sourceFile.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core-java/src/test/resources/testFolder/sample_file_1.in b/core-java/src/test/resources/testFolder/sample_file_1.in new file mode 100644 index 0000000000..70c379b63f --- /dev/null +++ b/core-java/src/test/resources/testFolder/sample_file_1.in @@ -0,0 +1 @@ +Hello world \ No newline at end of file diff --git a/core-java/src/test/resources/testFolder/sample_file_2.in b/core-java/src/test/resources/testFolder/sample_file_2.in new file mode 100644 index 0000000000..93b493a513 --- /dev/null +++ b/core-java/src/test/resources/testFolder/sample_file_2.in @@ -0,0 +1 @@ +Hello world ! \ No newline at end of file diff --git a/core-java/src/test/resources/test_md5.txt b/core-java/src/test/resources/test_md5.txt new file mode 100644 index 0000000000..95d09f2b10 --- /dev/null +++ b/core-java/src/test/resources/test_md5.txt @@ -0,0 +1 @@ +hello world \ No newline at end of file diff --git a/core-java/src/test/resources/test_read.in b/core-java/src/test/resources/test_read.in new file mode 100644 index 0000000000..70c379b63f --- /dev/null +++ b/core-java/src/test/resources/test_read.in @@ -0,0 +1 @@ +Hello world \ No newline at end of file diff --git a/core-java/src/test/resources/test_read1.in b/core-java/src/test/resources/test_read1.in new file mode 100644 index 0000000000..1e46242993 --- /dev/null +++ b/core-java/src/test/resources/test_read1.in @@ -0,0 +1 @@ +Hello world 1 \ No newline at end of file diff --git a/core-java/src/test/resources/test_read2.in b/core-java/src/test/resources/test_read2.in new file mode 100644 index 0000000000..fe47dc003b --- /dev/null +++ b/core-java/src/test/resources/test_read2.in @@ -0,0 +1 @@ +2,3 4 \ No newline at end of file diff --git a/core-java/src/test/resources/test_read3.in b/core-java/src/test/resources/test_read3.in new file mode 100644 index 0000000000..db9f25a672 --- /dev/null +++ b/core-java/src/test/resources/test_read3.in @@ -0,0 +1 @@ +Hello 1 \ No newline at end of file diff --git a/core-java/src/test/resources/test_read4.in b/core-java/src/test/resources/test_read4.in new file mode 100644 index 0000000000..5727d54bfc Binary files /dev/null and b/core-java/src/test/resources/test_read4.in differ diff --git a/core-java/src/test/resources/test_read7.in b/core-java/src/test/resources/test_read7.in new file mode 100644 index 0000000000..28d4d45d43 --- /dev/null +++ b/core-java/src/test/resources/test_read7.in @@ -0,0 +1 @@ +é’空 \ No newline at end of file diff --git a/core-java/src/test/resources/test_read8.in b/core-java/src/test/resources/test_read8.in new file mode 100644 index 0000000000..10fc1aac8a --- /dev/null +++ b/core-java/src/test/resources/test_read8.in @@ -0,0 +1,2 @@ +Hello world + Test line diff --git a/core-java/src/test/resources/test_read_d.in b/core-java/src/test/resources/test_read_d.in new file mode 100644 index 0000000000..82bbb4071f --- /dev/null +++ b/core-java/src/test/resources/test_read_d.in @@ -0,0 +1 @@ +John,Adam-Tom \ No newline at end of file diff --git a/core-java/src/test/resources/test_read_multiple.in b/core-java/src/test/resources/test_read_multiple.in new file mode 100644 index 0000000000..7d64000a76 --- /dev/null +++ b/core-java/src/test/resources/test_read_multiple.in @@ -0,0 +1,2 @@ +Hello world +Hi, John \ No newline at end of file diff --git a/couchbase-sdk/README.md b/couchbase-sdk/README.md new file mode 100644 index 0000000000..9cdcdea012 --- /dev/null +++ b/couchbase-sdk/README.md @@ -0,0 +1,50 @@ +## Couchbase SDK Tutorial Project + +### Relevant Articles: +- [Introduction to Couchbase SDK for Java](http://www.baeldung.com/java-couchbase-sdk) +- [Using Couchbase in a Spring Application](http://www.baeldung.com/couchbase-sdk-spring) +- [Asynchronous Batch Opereations in Couchbase](http://www.baeldung.com/async-batch-operations-in-couchbase) + +### Overview +This Maven project contains the Java code for the Couchbase entities and Spring services +as described in the tutorials, as well as a unit/integration test +for each service implementation. + +### Working with the Code +The project was developed and tested using Java 7 and 8 in the Eclipse-based +Spring Source Toolkit (STS) and therefore should run fine in any +recent version of Eclipse or another IDE of your choice +that supports Java 7 or later. + +### Building the Project +You can also build the project using Maven outside of any IDE: +``` +mvn clean install +``` + +### Package Organization +Java classes for the intro tutorial are in the +org.baeldung.couchbase.intro package. + +Java classes for the Spring service tutorial are in the +org.baeldung.couchbase.spring package hierarchy. + +Java classes for the Asynchronous Couchbase tutorial are in the +org.baeldung.couchbase.async package hierarchy. + + +### Running the tests +The test classes for the Spring service tutorial are: +- org.baeldung.couchbase.spring.service.ClusterServiceTest +- org.baeldung.couchbase.spring.person.PersonCrudServiceTest + +The test classes for the Asynchronous Couchbase tutorial are in the +org.baeldung.couchbase.async package hierarchy: +- org.baeldung.couchbase.async.service.ClusterServiceTest +- org.baeldung.couchbase.async.person.PersonCrudServiceTest + +The test classes may be run as JUnit tests from your IDE +or using the Maven command line: +``` +mvn test +``` diff --git a/couchbase-sdk/mvnw b/couchbase-sdk/mvnw new file mode 100755 index 0000000000..a1ba1bf554 --- /dev/null +++ b/couchbase-sdk/mvnw @@ -0,0 +1,233 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven2 Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # + # Look for the Apple JDKs first to preserve the existing behaviour, and then look + # for the new JDKs provided by Oracle. + # + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L /System/Library/Java/JavaVirtualMachines/CurrentJDK ] ; then + # + # Apple JDKs + # + export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -L "/Library/Java/JavaVirtualMachines/CurrentJDK" ] ; then + # + # Oracle JDKs + # + export JAVA_HOME=/Library/Java/JavaVirtualMachines/CurrentJDK/Contents/Home + fi + + if [ -z "$JAVA_HOME" ] && [ -x "/usr/libexec/java_home" ]; then + # + # Apple JDKs + # + export JAVA_HOME=`/usr/libexec/java_home` + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Migwn, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" + # TODO classpath? +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` +fi + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + local basedir=$(pwd) + local wdir=$(pwd) + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + wdir=$(cd "$wdir/.."; pwd) + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-$(find_maven_basedir)} +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} "$@" diff --git a/couchbase-sdk/mvnw.cmd b/couchbase-sdk/mvnw.cmd new file mode 100644 index 0000000000..2b934e89dd --- /dev/null +++ b/couchbase-sdk/mvnw.cmd @@ -0,0 +1,145 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven2 Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +set MAVEN_CMD_LINE_ARGS=%* + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" + +set WRAPPER_JAR="".\.mvn\wrapper\maven-wrapper.jar"" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CMD_LINE_ARGS% +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% \ No newline at end of file diff --git a/couchbase-sdk/pom.xml b/couchbase-sdk/pom.xml new file mode 100644 index 0000000000..b7b3d1788f --- /dev/null +++ b/couchbase-sdk/pom.xml @@ -0,0 +1,114 @@ + + + 4.0.0 + com.baeldung + couchbase-sdk + 0.1-SNAPSHOT + jar + couchbase-sdk + Couchbase SDK Tutorials + + + + + com.couchbase.client + java-client + ${couchbase.client.version} + + + + + org.springframework + spring-context + ${spring-framework.version} + + + org.springframework + spring-context-support + ${spring-framework.version} + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + compile + + + ch.qos.logback + logback-classic + ${logback.version} + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + + + + + org.springframework + spring-test + ${spring-framework.version} + test + + + junit + junit + ${junit.version} + test + + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + test + + + + + + + maven-compiler-plugin + 2.3.2 + + 1.7 + 1.7 + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + **/*LiveTest.java + + + + + + + + 1.7 + UTF-8 + 2.2.6 + 4.2.4.RELEASE + 1.1.3 + 1.7.12 + 4.11 + 3.4 + 2.19.1 + + + diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/CouchbaseEntity.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/CouchbaseEntity.java new file mode 100644 index 0000000000..16e1876719 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/CouchbaseEntity.java @@ -0,0 +1,9 @@ +package com.baeldung.couchbase.async; + +public interface CouchbaseEntity { + + String getId(); + + void setId(String id); + +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/Person.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/Person.java new file mode 100644 index 0000000000..32ed2ebbe4 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/Person.java @@ -0,0 +1,89 @@ +package com.baeldung.couchbase.async.person; + +import com.baeldung.couchbase.async.CouchbaseEntity; + +public class Person implements CouchbaseEntity { + + private String id; + private String type; + private String name; + private String homeTown; + + Person() {} + + public Person(Builder b) { + this.id = b.id; + this.type = b.type; + this.name = b.name; + this.homeTown = b.homeTown; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = id; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getHomeTown() { + return homeTown; + } + + public void setHomeTown(String homeTown) { + this.homeTown = homeTown; + } + + public static class Builder { + private String id; + private String type; + private String name; + private String homeTown; + + public static Builder newInstance() { + return new Builder(); + } + + public Person build() { + return new Person(this); + } + + public Builder id(String id) { + this.id = id; + return this; + } + + public Builder type(String type) { + this.type = type; + return this; + } + + public Builder name(String name) { + this.name = name; + return this; + } + + public Builder homeTown(String homeTown) { + this.homeTown = homeTown; + return this; + } + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonCrudService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonCrudService.java new file mode 100644 index 0000000000..b2ef985725 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonCrudService.java @@ -0,0 +1,26 @@ +package com.baeldung.couchbase.async.person; + +import javax.annotation.PostConstruct; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Service; + +import com.baeldung.couchbase.async.service.AbstractCrudService; +import com.baeldung.couchbase.async.service.BucketService; + +@Service +public class PersonCrudService extends AbstractCrudService { + + @Autowired + public PersonCrudService( + @Qualifier("TutorialBucketService") BucketService bucketService, + PersonDocumentConverter converter) { + super(bucketService, converter); + } + + @PostConstruct + private void init() { + loadBucket(); + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonDocumentConverter.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonDocumentConverter.java new file mode 100644 index 0000000000..8646cf247a --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/PersonDocumentConverter.java @@ -0,0 +1,31 @@ +package com.baeldung.couchbase.async.person; + +import org.springframework.stereotype.Service; + +import com.baeldung.couchbase.async.service.JsonDocumentConverter; +import com.couchbase.client.java.document.JsonDocument; +import com.couchbase.client.java.document.json.JsonObject; + +@Service +public class PersonDocumentConverter implements JsonDocumentConverter { + + @Override + public JsonDocument toDocument(Person p) { + JsonObject content = JsonObject.empty() + .put("type", "Person") + .put("name", p.getName()) + .put("homeTown", p.getHomeTown()); + return JsonDocument.create(p.getId(), content); + } + + @Override + public Person fromDocument(JsonDocument doc) { + JsonObject content = doc.content(); + Person p = new Person(); + p.setId(doc.id()); + p.setType("Person"); + p.setName(content.getString("name")); + p.setHomeTown(content.getString("homeTown")); + return p; + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/RegistrationService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/RegistrationService.java new file mode 100644 index 0000000000..926cd7f4e8 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/person/RegistrationService.java @@ -0,0 +1,29 @@ +package com.baeldung.couchbase.async.person; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.couchbase.client.core.CouchbaseException; + +@Service +public class RegistrationService { + + @Autowired + private PersonCrudService crud; + + public void registerNewPerson(String name, String homeTown) { + Person person = new Person(); + person.setName(name); + person.setHomeTown(homeTown); + crud.create(person); + } + + public Person findRegistrant(String id) { + try{ + return crud.read(id); + } + catch(CouchbaseException e) { + return crud.readFromReplica(id); + } + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractBucketService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractBucketService.java new file mode 100644 index 0000000000..cbc03cbcda --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractBucketService.java @@ -0,0 +1,27 @@ +package com.baeldung.couchbase.async.service; + +import com.couchbase.client.java.Bucket; + +public abstract class AbstractBucketService implements BucketService { + + private ClusterService clusterService; + + private Bucket bucket; + + protected void openBucket() { + bucket = clusterService.openBucket(getBucketName(), getBucketPassword()); + } + + protected abstract String getBucketName(); + + protected abstract String getBucketPassword(); + + public AbstractBucketService(ClusterService clusterService) { + this.clusterService = clusterService; + } + + @Override + public Bucket getBucket() { + return bucket; + } + } diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractCrudService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractCrudService.java new file mode 100644 index 0000000000..861e2404e5 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/AbstractCrudService.java @@ -0,0 +1,175 @@ +package com.baeldung.couchbase.async.service; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.TimeUnit; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import com.baeldung.couchbase.async.CouchbaseEntity; +import com.couchbase.client.core.BackpressureException; +import com.couchbase.client.core.time.Delay; +import com.couchbase.client.java.AsyncBucket; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.ReplicaMode; +import com.couchbase.client.java.document.JsonDocument; +import com.couchbase.client.java.util.retry.RetryBuilder; + +import rx.Observable; +import rx.functions.Action1; +import rx.functions.Func1; + +public abstract class AbstractCrudService implements CrudService { + + private static final Logger logger = LoggerFactory.getLogger(AbstractCrudService.class); + + private BucketService bucketService; + private Bucket bucket; + private JsonDocumentConverter converter; + + public AbstractCrudService(BucketService bucketService, JsonDocumentConverter converter) { + this.bucketService = bucketService; + this.converter = converter; + } + + protected void loadBucket() { + bucket = bucketService.getBucket(); + } + + @Override + public void create(T t) { + if(t.getId() == null) { + t.setId(UUID.randomUUID().toString()); + } + JsonDocument doc = converter.toDocument(t); + bucket.insert(doc); + } + + @Override + public T read(String id) { + JsonDocument doc = bucket.get(id); + return (doc == null ? null : converter.fromDocument(doc)); + } + + @Override + public T readFromReplica(String id) { + List docs = bucket.getFromReplica(id, ReplicaMode.FIRST); + return (docs.isEmpty() ? null : converter.fromDocument(docs.get(0))); + } + + @Override + public void update(T t) { + JsonDocument doc = converter.toDocument(t); + bucket.upsert(doc); + } + + @Override + public void delete(String id) { + bucket.remove(id); + } + + @Override + public List readBulk(Iterable ids) { + final AsyncBucket asyncBucket = bucket.async(); + Observable asyncOperation = Observable + .from(ids) + .flatMap(new Func1>() { + public Observable call(String key) { + return asyncBucket.get(key); + } + }); + + final List items = new ArrayList(); + try { + asyncOperation.toBlocking() + .forEach(new Action1() { + public void call(JsonDocument doc) { + T item = converter.fromDocument(doc); + items.add(item); + } + }); + } catch (Exception e) { + logger.error("Error during bulk get", e); + } + + return items; + } + + @Override + public void createBulk(Iterable items) { + final AsyncBucket asyncBucket = bucket.async(); + Observable + .from(items) + .flatMap(new Func1>() { + @SuppressWarnings("unchecked") + @Override + public Observable call(final T t) { + if(t.getId() == null) { + t.setId(UUID.randomUUID().toString()); + } + JsonDocument doc = converter.toDocument(t); + return asyncBucket.insert(doc) + .retryWhen(RetryBuilder + .anyOf(BackpressureException.class) + .delay(Delay.exponential(TimeUnit.MILLISECONDS, 100)) + .max(10) + .build()); + } + }) + .last() + .toBlocking() + .single(); + } + + @Override + public void updateBulk(Iterable items) { + final AsyncBucket asyncBucket = bucket.async(); + Observable + .from(items) + .flatMap(new Func1>() { + @SuppressWarnings("unchecked") + @Override + public Observable call(final T t) { + JsonDocument doc = converter.toDocument(t); + return asyncBucket.upsert(doc) + .retryWhen(RetryBuilder + .anyOf(BackpressureException.class) + .delay(Delay.exponential(TimeUnit.MILLISECONDS, 100)) + .max(10) + .build()); + } + }) + .last() + .toBlocking() + .single(); + } + + @Override + public void deleteBulk(Iterable ids) { + final AsyncBucket asyncBucket = bucket.async(); + Observable + .from(ids) + .flatMap(new Func1>() { + @SuppressWarnings("unchecked") + @Override + public Observable call(String key) { + return asyncBucket.remove(key) + .retryWhen(RetryBuilder + .anyOf(BackpressureException.class) + .delay(Delay.exponential(TimeUnit.MILLISECONDS, 100)) + .max(10) + .build()); + } + }) + .last() + .toBlocking() + .single(); + } + + @Override + public boolean exists(String id) { + return bucket.exists(id); + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/BucketService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/BucketService.java new file mode 100644 index 0000000000..28470be99f --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/BucketService.java @@ -0,0 +1,8 @@ +package com.baeldung.couchbase.async.service; + +import com.couchbase.client.java.Bucket; + +public interface BucketService { + + Bucket getBucket(); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterService.java new file mode 100644 index 0000000000..ee67405b12 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterService.java @@ -0,0 +1,8 @@ +package com.baeldung.couchbase.async.service; + +import com.couchbase.client.java.Bucket; + +public interface ClusterService { + + Bucket openBucket(String name, String password); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterServiceImpl.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterServiceImpl.java new file mode 100644 index 0000000000..7ce75d21f5 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/ClusterServiceImpl.java @@ -0,0 +1,36 @@ +package com.baeldung.couchbase.async.service; + +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; + +import javax.annotation.PostConstruct; + +import org.springframework.stereotype.Service; + +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.Cluster; +import com.couchbase.client.java.CouchbaseCluster; +import com.couchbase.client.java.env.CouchbaseEnvironment; +import com.couchbase.client.java.env.DefaultCouchbaseEnvironment; + +@Service +public class ClusterServiceImpl implements ClusterService { + + private Cluster cluster; + private Map buckets = new ConcurrentHashMap<>(); + + @PostConstruct + private void init() { + CouchbaseEnvironment env = DefaultCouchbaseEnvironment.create(); + cluster = CouchbaseCluster.create(env, "localhost"); + } + + @Override + synchronized public Bucket openBucket(String name, String password) { + if(!buckets.containsKey(name)) { + Bucket bucket = cluster.openBucket(name, password); + buckets.put(name, bucket); + } + return buckets.get(name); + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/CrudService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/CrudService.java new file mode 100644 index 0000000000..5bd0e52214 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/CrudService.java @@ -0,0 +1,26 @@ +package com.baeldung.couchbase.async.service; + +import java.util.List; + +public interface CrudService { + + void create(T t); + + T read(String id); + + T readFromReplica(String id); + + void update(T t); + + void delete(String id); + + List readBulk(Iterable ids); + + void createBulk(Iterable items); + + void updateBulk(Iterable items); + + void deleteBulk(Iterable ids); + + boolean exists(String id); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/JsonDocumentConverter.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/JsonDocumentConverter.java new file mode 100644 index 0000000000..85e14a87ce --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/JsonDocumentConverter.java @@ -0,0 +1,10 @@ +package com.baeldung.couchbase.async.service; + +import com.couchbase.client.java.document.JsonDocument; + +public interface JsonDocumentConverter { + + JsonDocument toDocument(T t); + + T fromDocument(JsonDocument doc); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/TutorialBucketService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/TutorialBucketService.java new file mode 100644 index 0000000000..459585d995 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/async/service/TutorialBucketService.java @@ -0,0 +1,32 @@ +package com.baeldung.couchbase.async.service; + +import javax.annotation.PostConstruct; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Service; + +@Service +@Qualifier("TutorialBucketService") +public class TutorialBucketService extends AbstractBucketService { + + @PostConstruct + void init() { + openBucket(); + } + + @Autowired + public TutorialBucketService(ClusterService clusterService) { + super(clusterService); + } + + @Override + protected String getBucketName() { + return "baeldung-tutorial"; + } + + @Override + protected String getBucketPassword() { + return ""; + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/intro/CodeSnippets.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/intro/CodeSnippets.java new file mode 100644 index 0000000000..2cb9e1f4f7 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/intro/CodeSnippets.java @@ -0,0 +1,96 @@ +package com.baeldung.couchbase.intro; + +import java.util.List; +import java.util.UUID; + +import com.couchbase.client.core.CouchbaseException; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.Cluster; +import com.couchbase.client.java.CouchbaseCluster; +import com.couchbase.client.java.ReplicaMode; +import com.couchbase.client.java.document.JsonDocument; +import com.couchbase.client.java.document.json.JsonObject; +import com.couchbase.client.java.env.CouchbaseEnvironment; +import com.couchbase.client.java.env.DefaultCouchbaseEnvironment; + +public class CodeSnippets { + + static Cluster loadClusterWithDefaultEnvironment() { + return CouchbaseCluster.create("localhost"); + } + + static Cluster loadClusterWithCustomEnvironment() { + CouchbaseEnvironment env = DefaultCouchbaseEnvironment.builder() + .connectTimeout(10000) + .kvTimeout(3000) + .build(); + return CouchbaseCluster.create(env, "localhost"); + } + + static Bucket loadDefaultBucketWithBlankPassword(Cluster cluster) { + return cluster.openBucket(); + } + + static Bucket loadBaeldungBucket(Cluster cluster) { + return cluster.openBucket("baeldung", ""); + } + + static JsonDocument insertExample(Bucket bucket) { + JsonObject content = JsonObject.empty() + .put("name", "John Doe") + .put("type", "Person") + .put("email", "john.doe@mydomain.com") + .put("homeTown", "Chicago") + ; + String id = UUID.randomUUID().toString(); + JsonDocument document = JsonDocument.create(id, content); + JsonDocument inserted = bucket.insert(document); + return inserted; + } + + static JsonDocument retrieveAndUpsertExample(Bucket bucket, String id) { + JsonDocument document = bucket.get(id); + JsonObject content = document.content(); + content.put("homeTown", "Kansas City"); + JsonDocument upserted = bucket.upsert(document); + return upserted; + } + + static JsonDocument replaceExample(Bucket bucket, String id) { + JsonDocument document = bucket.get(id); + JsonObject content = document.content(); + content.put("homeTown", "Milwaukee"); + JsonDocument replaced = bucket.replace(document); + return replaced; + } + + static JsonDocument removeExample(Bucket bucket, String id) { + JsonDocument removed = bucket.remove(id); + return removed; + } + + static JsonDocument getFirstFromReplicaExample(Bucket bucket, String id) { + try{ + return bucket.get(id); + } + catch(CouchbaseException e) { + List list = bucket.getFromReplica(id, ReplicaMode.FIRST); + if(!list.isEmpty()) { + return list.get(0); + } + } + return null; + } + + static JsonDocument getLatestReplicaVersion(Bucket bucket, String id) { + long maxCasValue = -1; + JsonDocument latest = null; + for(JsonDocument replica : bucket.getFromReplica(id, ReplicaMode.ALL)) { + if(replica.cas() > maxCasValue) { + latest = replica; + maxCasValue = replica.cas(); + } + } + return latest; + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/Person.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/Person.java new file mode 100644 index 0000000000..0348ba1e5f --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/Person.java @@ -0,0 +1,85 @@ +package com.baeldung.couchbase.spring.person; + +public class Person { + + private String id; + private String type; + private String name; + private String homeTown; + + Person() {} + + public Person(Builder b) { + this.id = b.id; + this.type = b.type; + this.name = b.name; + this.homeTown = b.homeTown; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getHomeTown() { + return homeTown; + } + + public void setHomeTown(String homeTown) { + this.homeTown = homeTown; + } + + public static class Builder { + private String id; + private String type; + private String name; + private String homeTown; + + public static Builder newInstance() { + return new Builder(); + } + + public Person build() { + return new Person(this); + } + + public Builder id(String id) { + this.id = id; + return this; + } + + public Builder type(String type) { + this.type = type; + return this; + } + + public Builder name(String name) { + this.name = name; + return this; + } + + public Builder homeTown(String homeTown) { + this.homeTown = homeTown; + return this; + } + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonCrudService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonCrudService.java new file mode 100644 index 0000000000..de035f1d2c --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonCrudService.java @@ -0,0 +1,69 @@ +package com.baeldung.couchbase.spring.person; + +import java.util.List; +import java.util.UUID; + +import javax.annotation.PostConstruct; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.baeldung.couchbase.spring.service.CrudService; +import com.baeldung.couchbase.spring.service.TutorialBucketService; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.ReplicaMode; +import com.couchbase.client.java.document.JsonDocument; + +@Service +public class PersonCrudService implements CrudService { + + @Autowired + private TutorialBucketService bucketService; + + @Autowired + private PersonDocumentConverter converter; + + private Bucket bucket; + + @PostConstruct + private void init() { + bucket = bucketService.getBucket(); + } + + @Override + public void create(Person person) { + if(person.getId() == null) { + person.setId(UUID.randomUUID().toString()); + } + JsonDocument document = converter.toDocument(person); + bucket.insert(document); + } + + @Override + public Person read(String id) { + JsonDocument doc = bucket.get(id); + return (doc != null ? converter.fromDocument(doc) : null); + } + + @Override + public Person readFromReplica(String id) { + List docs = bucket.getFromReplica(id, ReplicaMode.FIRST); + return (docs.isEmpty() ? null : converter.fromDocument(docs.get(0))); + } + + @Override + public void update(Person person) { + JsonDocument document = converter.toDocument(person); + bucket.upsert(document); + } + + @Override + public void delete(String id) { + bucket.remove(id); + } + + @Override + public boolean exists(String id) { + return bucket.exists(id); + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonDocumentConverter.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonDocumentConverter.java new file mode 100644 index 0000000000..030c9fde27 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/PersonDocumentConverter.java @@ -0,0 +1,31 @@ +package com.baeldung.couchbase.spring.person; + +import org.springframework.stereotype.Service; + +import com.baeldung.couchbase.spring.service.JsonDocumentConverter; +import com.couchbase.client.java.document.JsonDocument; +import com.couchbase.client.java.document.json.JsonObject; + +@Service +public class PersonDocumentConverter implements JsonDocumentConverter { + + @Override + public JsonDocument toDocument(Person p) { + JsonObject content = JsonObject.empty() + .put("type", "Person") + .put("name", p.getName()) + .put("homeTown", p.getHomeTown()); + return JsonDocument.create(p.getId(), content); + } + + @Override + public Person fromDocument(JsonDocument doc) { + JsonObject content = doc.content(); + Person p = new Person(); + p.setId(doc.id()); + p.setType("Person"); + p.setName(content.getString("name")); + p.setHomeTown(content.getString("homeTown")); + return p; + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/RegistrationService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/RegistrationService.java new file mode 100644 index 0000000000..5ffe7acf24 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/person/RegistrationService.java @@ -0,0 +1,29 @@ +package com.baeldung.couchbase.spring.person; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import com.couchbase.client.core.CouchbaseException; + +@Service +public class RegistrationService { + + @Autowired + private PersonCrudService crud; + + public void registerNewPerson(String name, String homeTown) { + Person person = new Person(); + person.setName(name); + person.setHomeTown(homeTown); + crud.create(person); + } + + public Person findRegistrant(String id) { + try{ + return crud.read(id); + } + catch(CouchbaseException e) { + return crud.readFromReplica(id); + } + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/BucketService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/BucketService.java new file mode 100644 index 0000000000..97ff1e4fd5 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/BucketService.java @@ -0,0 +1,9 @@ +package com.baeldung.couchbase.spring.service; + +import com.couchbase.client.java.Bucket; + +public interface BucketService { + + Bucket getBucket(); + +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterService.java new file mode 100644 index 0000000000..a8543fbd91 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterService.java @@ -0,0 +1,17 @@ +package com.baeldung.couchbase.spring.service; + +import java.util.List; + +import com.couchbase.client.java.AsyncBucket; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.document.JsonDocument; + +public interface ClusterService { + + Bucket openBucket(String name, String password); + + List getDocuments(Bucket bucket, Iterable keys); + + List getDocumentsAsync(AsyncBucket bucket, Iterable keys); + +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterServiceImpl.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterServiceImpl.java new file mode 100644 index 0000000000..3499fa956e --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/ClusterServiceImpl.java @@ -0,0 +1,84 @@ +package com.baeldung.couchbase.spring.service; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; + +import javax.annotation.PostConstruct; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import com.couchbase.client.java.AsyncBucket; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.Cluster; +import com.couchbase.client.java.CouchbaseCluster; +import com.couchbase.client.java.document.JsonDocument; +import com.couchbase.client.java.env.CouchbaseEnvironment; +import com.couchbase.client.java.env.DefaultCouchbaseEnvironment; + +import rx.Observable; +import rx.functions.Action1; +import rx.functions.Func1; + +@Service +public class ClusterServiceImpl implements ClusterService { + private static final Logger logger = LoggerFactory.getLogger(ClusterServiceImpl.class); + + private Cluster cluster; + private Map buckets = new ConcurrentHashMap<>(); + + @PostConstruct + private void init() { + CouchbaseEnvironment env = DefaultCouchbaseEnvironment.create(); + cluster = CouchbaseCluster.create(env, "localhost"); + } + + @Override + synchronized public Bucket openBucket(String name, String password) { + if(!buckets.containsKey(name)) { + Bucket bucket = cluster.openBucket(name, password); + buckets.put(name, bucket); + } + return buckets.get(name); + } + + @Override + public List getDocuments(Bucket bucket, Iterable keys) { + List docs = new ArrayList<>(); + for(String key : keys) { + JsonDocument doc = bucket.get(key); + if(doc != null) { + docs.add(doc); + } + } + return docs; + } + + @Override + public List getDocumentsAsync(final AsyncBucket asyncBucket, Iterable keys) { + Observable asyncBulkGet = Observable + .from(keys) + .flatMap(new Func1>() { + public Observable call(String key) { + return asyncBucket.get(key); + } + }); + + final List docs = new ArrayList<>(); + try { + asyncBulkGet.toBlocking() + .forEach(new Action1() { + public void call(JsonDocument doc) { + docs.add(doc); + } + }); + } catch (Exception e) { + logger.error("Error during bulk get", e); + } + + return docs; + } +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/CrudService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/CrudService.java new file mode 100644 index 0000000000..f683b9f562 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/CrudService.java @@ -0,0 +1,16 @@ +package com.baeldung.couchbase.spring.service; + +public interface CrudService { + + void create(T t); + + T read(String id); + + T readFromReplica(String id); + + void update(T t); + + void delete(String id); + + boolean exists(String id); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/JsonDocumentConverter.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/JsonDocumentConverter.java new file mode 100644 index 0000000000..cf4861fbeb --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/JsonDocumentConverter.java @@ -0,0 +1,10 @@ +package com.baeldung.couchbase.spring.service; + +import com.couchbase.client.java.document.JsonDocument; + +public interface JsonDocumentConverter { + + JsonDocument toDocument(T t); + + T fromDocument(JsonDocument doc); +} diff --git a/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/TutorialBucketService.java b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/TutorialBucketService.java new file mode 100644 index 0000000000..8a28deb1d6 --- /dev/null +++ b/couchbase-sdk/src/main/java/com/baeldung/couchbase/spring/service/TutorialBucketService.java @@ -0,0 +1,29 @@ +package com.baeldung.couchbase.spring.service; + +import javax.annotation.PostConstruct; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.stereotype.Service; + +import com.couchbase.client.java.Bucket; + +@Service +@Qualifier("TutorialBucketService") +public class TutorialBucketService implements BucketService { + + @Autowired + private ClusterService couchbase; + + private Bucket bucket; + + @PostConstruct + private void init() { + bucket = couchbase.openBucket("baeldung-tutorial", ""); + } + + @Override + public Bucket getBucket() { + return bucket; + } +} diff --git a/couchbase-sdk/src/main/resources/application.properties b/couchbase-sdk/src/main/resources/application.properties new file mode 100644 index 0000000000..e69de29bb2 diff --git a/couchbase-sdk/src/main/resources/logback.xml b/couchbase-sdk/src/main/resources/logback.xml new file mode 100644 index 0000000000..efcc6fb4c7 --- /dev/null +++ b/couchbase-sdk/src/main/resources/logback.xml @@ -0,0 +1,17 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + + \ No newline at end of file diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTest.java new file mode 100644 index 0000000000..3079fc928a --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTest.java @@ -0,0 +1,13 @@ +package com.baeldung.couchbase.async; + +import org.junit.runner.RunWith; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; + +@RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration(classes = { AsyncIntegrationTestConfig.class }) +@TestExecutionListeners(listeners = { DependencyInjectionTestExecutionListener.class }) +public abstract class AsyncIntegrationTest { +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTestConfig.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTestConfig.java new file mode 100644 index 0000000000..6afdfe04bd --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/AsyncIntegrationTestConfig.java @@ -0,0 +1,9 @@ +package com.baeldung.couchbase.async; + +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Configuration; + +@Configuration +@ComponentScan(basePackages={"com.baeldung.couchbase.async"}) +public class AsyncIntegrationTestConfig { +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/person/PersonCrudServiceIntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/person/PersonCrudServiceIntegrationTest.java new file mode 100644 index 0000000000..5907a4cc63 --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/person/PersonCrudServiceIntegrationTest.java @@ -0,0 +1,223 @@ +package com.baeldung.couchbase.async.person; + +import static org.junit.Assert.*; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +import javax.annotation.PostConstruct; + +import org.apache.commons.lang3.RandomStringUtils; +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; + +import com.baeldung.couchbase.async.AsyncIntegrationTest; +import com.baeldung.couchbase.async.person.Person; +import com.baeldung.couchbase.async.person.PersonCrudService; +import com.baeldung.couchbase.async.person.PersonDocumentConverter; +import com.baeldung.couchbase.async.service.BucketService; +import com.couchbase.client.java.Bucket; +import com.couchbase.client.java.document.JsonDocument; + +public class PersonCrudServiceIntegrationTest extends AsyncIntegrationTest { + + @Autowired + private PersonCrudService personService; + + @Autowired + @Qualifier("TutorialBucketService") + private BucketService bucketService; + + @Autowired + private PersonDocumentConverter converter; + + private Bucket bucket; + + @PostConstruct + private void init() { + bucket = bucketService.getBucket(); + } + + @Test + public final void givenRandomPerson_whenCreate_thenPersonPersisted() { + //create person + Person person = randomPerson(); + personService.create(person); + + //check results + assertNotNull(person.getId()); + assertNotNull(bucket.get(person.getId())); + + //cleanup + bucket.remove(person.getId()); + } + + @Test + public final void givenId_whenRead_thenReturnsPerson() { + //create and insert person document + String id = insertRandomPersonDocument().id(); + + //read person and check results + assertNotNull(personService.read(id)); + + //cleanup + bucket.remove(id); + } + + @Test + public final void givenNewHometown_whenUpdate_thenNewHometownPersisted() { + //create and insert person document + JsonDocument doc = insertRandomPersonDocument(); + + //update person + Person expected = converter.fromDocument(doc); + String updatedHomeTown = RandomStringUtils.randomAlphabetic(12); + expected.setHomeTown(updatedHomeTown); + personService.update(expected); + + //check results + JsonDocument actual = bucket.get(expected.getId()); + assertNotNull(actual); + assertNotNull(actual.content()); + assertEquals(expected.getHomeTown(), actual.content().getString("homeTown")); + + //cleanup + bucket.remove(expected.getId()); + } + + @Test + public final void givenRandomPerson_whenDelete_thenPersonNotInBucket() { + //create and insert person document + String id = insertRandomPersonDocument().id(); + + //delete person and check results + personService.delete(id); + assertNull(bucket.get(id)); + } + + @Test + public final void givenIds_whenReadBulk_thenReturnsOnlyPersonsWithMatchingIds() { + List ids = new ArrayList<>(); + + //add some person documents + for(int i=0; i<5; i++) { + ids.add(insertRandomPersonDocument().id()); + } + + //perform bulk read + List persons = personService.readBulk(ids); + + //check results + for(Person person : persons) { + assertTrue(ids.contains(person.getId())); + } + + //cleanup + for(String id : ids) { + bucket.remove(id); + } + } + + @Test + public final void givenPersons_whenInsertBulk_thenPersonsAreInserted() { + + //create some persons + List persons = new ArrayList<>(); + for(int i=0; i<5; i++) { + persons.add(randomPerson()); + } + + //perform bulk insert + personService.createBulk(persons); + + //check results + for(Person person : persons) { + assertNotNull(bucket.get(person.getId())); + } + + //cleanup + for(Person person : persons) { + bucket.remove(person.getId()); + } + } + + @Test + public final void givenPersons_whenUpdateBulk_thenPersonsAreUpdated() { + + List ids = new ArrayList<>(); + + //add some person documents + for(int i=0; i<5; i++) { + ids.add(insertRandomPersonDocument().id()); + } + + //load persons from Couchbase + List persons = new ArrayList<>(); + for(String id : ids) { + persons.add(converter.fromDocument(bucket.get(id))); + } + + //modify persons + for(Person person : persons) { + person.setHomeTown(RandomStringUtils.randomAlphabetic(10)); + } + + //perform bulk update + personService.updateBulk(persons); + + //check results + for(Person person : persons) { + JsonDocument doc = bucket.get(person.getId()); + assertEquals(person.getName(), doc.content().getString("name")); + assertEquals(person.getHomeTown(), doc.content().getString("homeTown")); + } + + //cleanup + for(String id : ids) { + bucket.remove(id); + } + } + + @Test + public void givenIds_whenDeleteBulk_thenPersonsAreDeleted() { + + List ids = new ArrayList<>(); + + //add some person documents + for(int i=0; i<5; i++) { + ids.add(insertRandomPersonDocument().id()); + } + + //perform bulk delete + personService.deleteBulk(ids); + + //check results + for(String id : ids) { + assertNull(bucket.get(id)); + } + + } + + private JsonDocument insertRandomPersonDocument() { + Person expected = randomPersonWithId(); + JsonDocument doc = converter.toDocument(expected); + return bucket.insert(doc); + } + + private Person randomPerson() { + return Person.Builder.newInstance() + .name(RandomStringUtils.randomAlphabetic(10)) + .homeTown(RandomStringUtils.randomAlphabetic(10)) + .build(); + } + + private Person randomPersonWithId() { + return Person.Builder.newInstance() + .id(UUID.randomUUID().toString()) + .name(RandomStringUtils.randomAlphabetic(10)) + .homeTown(RandomStringUtils.randomAlphabetic(10)) + .build(); + } +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/service/ClusterServiceIntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/service/ClusterServiceIntegrationTest.java new file mode 100644 index 0000000000..08e3728c77 --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/async/service/ClusterServiceIntegrationTest.java @@ -0,0 +1,35 @@ +package com.baeldung.couchbase.async.service; + +import static org.junit.Assert.*; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; + +import com.baeldung.couchbase.async.AsyncIntegrationTest; +import com.baeldung.couchbase.async.AsyncIntegrationTestConfig; +import com.baeldung.couchbase.async.service.ClusterService; +import com.couchbase.client.java.Bucket; + +@RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration(classes = { AsyncIntegrationTestConfig.class }) +@TestExecutionListeners(listeners = { DependencyInjectionTestExecutionListener.class }) +public class ClusterServiceIntegrationTest extends AsyncIntegrationTest { + + @Autowired + private ClusterService couchbaseService; + + private Bucket defaultBucket; + + @Test + public void whenOpenBucket_thenBucketIsNotNull() throws Exception { + defaultBucket = couchbaseService.openBucket("default", ""); + assertNotNull(defaultBucket); + assertFalse(defaultBucket.isClosed()); + defaultBucket.close(); + } +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTest.java new file mode 100644 index 0000000000..9c0b0a50c1 --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTest.java @@ -0,0 +1,13 @@ +package com.baeldung.couchbase.spring; + +import org.junit.runner.RunWith; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; + +@RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration(classes = { IntegrationTestConfig.class }) +@TestExecutionListeners(listeners = { DependencyInjectionTestExecutionListener.class }) +public abstract class IntegrationTest { +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTestConfig.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTestConfig.java new file mode 100644 index 0000000000..ac71911b9b --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/IntegrationTestConfig.java @@ -0,0 +1,9 @@ +package com.baeldung.couchbase.spring; + +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Configuration; + +@Configuration +@ComponentScan(basePackages={"com.baeldung.couchbase.spring"}) +public class IntegrationTestConfig { +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/person/PersonCrudServiceIntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/person/PersonCrudServiceIntegrationTest.java new file mode 100644 index 0000000000..b3fadae6ca --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/person/PersonCrudServiceIntegrationTest.java @@ -0,0 +1,82 @@ +package com.baeldung.couchbase.spring.person; + +import static org.junit.Assert.*; + +import javax.annotation.PostConstruct; + +import org.apache.commons.lang3.RandomStringUtils; +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; + +import com.baeldung.couchbase.spring.IntegrationTest; + +public class PersonCrudServiceIntegrationTest extends IntegrationTest { + + private static final String CLARK_KENT = "Clark Kent"; + private static final String SMALLVILLE = "Smallville"; + private static final String CLARK_KENT_ID = "Person:ClarkKent"; + + private Person clarkKent; + + @Autowired + private PersonCrudService personService; + + @PostConstruct + private void init() { + clarkKent = personService.read(CLARK_KENT_ID); + if(clarkKent == null) { + clarkKent = buildClarkKent(); + personService.create(clarkKent); + } + } + + @Test + public final void givenRandomPerson_whenCreate_thenPersonPersisted() { + Person person = randomPerson(); + personService.create(person); + String id = person.getId(); + assertNotNull(personService.read(id)); + } + + @Test + public final void givenClarkKentId_whenRead_thenReturnsClarkKent() { + Person person = personService.read(CLARK_KENT_ID); + assertNotNull(person); + } + + @Test + public final void givenNewHometown_whenUpdate_thenNewHometownPersisted() { + Person expected = randomPerson(); + personService.create(expected); + String updatedHomeTown = RandomStringUtils.randomAlphabetic(12); + expected.setHomeTown(updatedHomeTown); + personService.update(expected); + Person actual = personService.read(expected.getId()); + assertNotNull(actual); + assertEquals(expected.getHomeTown(), actual.getHomeTown()); + } + + @Test + public final void givenRandomPerson_whenDelete_thenPersonNotInBucket() { + Person person = randomPerson(); + personService.create(person); + String id = person.getId(); + personService.delete(id); + assertNull(personService.read(id)); + } + + private Person buildClarkKent() { + return Person.Builder.newInstance() + .id(CLARK_KENT_ID) + .name(CLARK_KENT) + .homeTown(SMALLVILLE) + .build(); + } + + private Person randomPerson() { + return Person.Builder.newInstance() + .name(RandomStringUtils.randomAlphabetic(10)) + .homeTown(RandomStringUtils.randomAlphabetic(10)) + .build(); + } +} diff --git a/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/service/ClusterServiceIntegrationTest.java b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/service/ClusterServiceIntegrationTest.java new file mode 100644 index 0000000000..f3ee4585a3 --- /dev/null +++ b/couchbase-sdk/src/test/java/com/baeldung/couchbase/spring/service/ClusterServiceIntegrationTest.java @@ -0,0 +1,34 @@ +package com.baeldung.couchbase.spring.service; + +import static org.junit.Assert.*; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.TestExecutionListeners; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; + +import com.baeldung.couchbase.spring.IntegrationTest; +import com.baeldung.couchbase.spring.IntegrationTestConfig; +import com.couchbase.client.java.Bucket; + +@RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration(classes = { IntegrationTestConfig.class }) +@TestExecutionListeners(listeners = { DependencyInjectionTestExecutionListener.class }) +public class ClusterServiceIntegrationTest extends IntegrationTest { + + @Autowired + private ClusterService couchbaseService; + + private Bucket defaultBucket; + + @Test + public void whenOpenBucket_thenBucketIsNotNull() throws Exception { + defaultBucket = couchbaseService.openBucket("default", ""); + assertNotNull(defaultBucket); + assertFalse(defaultBucket.isClosed()); + defaultBucket.close(); + } +} diff --git a/deltaspike/.gitignore b/deltaspike/.gitignore new file mode 100644 index 0000000000..aa121e866e --- /dev/null +++ b/deltaspike/.gitignore @@ -0,0 +1,3 @@ +/.idea +baeldung-jee7-seed.iml +/target diff --git a/deltaspike/pom.xml b/deltaspike/pom.xml new file mode 100644 index 0000000000..22cf8f935c --- /dev/null +++ b/deltaspike/pom.xml @@ -0,0 +1,301 @@ + + + 4.0.0 + com.baeldung + deltaspike + 1.0 + war + deltaspike + A starter Java EE 7 webapp which uses DeltaSpike + + http://wildfly.org + + + Apache License, Version 2.0 + repo + http://www.apache.org/licenses/LICENSE-2.0.html + + + + + + + UTF-8 + + + 1.0.2.Final + + + 8.2.1.Final + + + 3.1 + 2.16 + 2.5 + + + 1.7 + 1.7 + + + + + + + + org.wildfly.bom + jboss-javaee-7.0-with-tools + ${version.jboss.bom} + pom + import + + + org.wildfly.bom + jboss-javaee-7.0-with-hibernate + ${version.jboss.bom} + pom + import + + + + + + + + + + + javax.enterprise + cdi-api + provided + + + + + org.jboss.spec.javax.annotation + jboss-annotations-api_1.2_spec + provided + + + + + org.jboss.resteasy + jaxrs-api + provided + + + + + org.hibernate.javax.persistence + hibernate-jpa-2.1-api + provided + + + + + org.jboss.spec.javax.ejb + jboss-ejb-api_3.2_spec + provided + + + + + + + org.hibernate + hibernate-validator + provided + + + org.slf4j + slf4j-api + + + + + + + org.jboss.spec.javax.faces + jboss-jsf-api_2.2_spec + provided + + + + + + + org.hibernate + hibernate-jpamodelgen + provided + + + + + org.hibernate + hibernate-validator-annotation-processor + provided + + + + + junit + junit + test + + + + + + org.jboss.arquillian.junit + arquillian-junit-container + test + + + + org.jboss.arquillian.protocol + arquillian-protocol-servlet + test + + + + org.jboss.shrinkwrap.resolver + shrinkwrap-resolver-impl-maven + test + + + + org.apache.deltaspike.modules + deltaspike-data-module-api + 1.7.1 + compile + + + + org.apache.deltaspike.modules + deltaspike-data-module-impl + 1.7.1 + runtime + + + + + com.mysema.querydsl + querydsl-apt + 3.7.4 + provided + + + + com.mysema.querydsl + querydsl-jpa + 3.7.4 + + + + org.slf4j + slf4j-log4j12 + 1.6.1 + + + + + + ${project.artifactId} + + + maven-war-plugin + ${version.war.plugin} + + + false + + + + com.mysema.maven + apt-maven-plugin + 1.0.9 + + + + process + + + target/generated-sources/java + com.mysema.query.apt.jpa.JPAAnnotationProcessor + + + + + + + + org.wildfly.plugins + wildfly-maven-plugin + ${version.wildfly.maven.plugin} + + + + + + + + + default + + true + + + + + maven-surefire-plugin + ${version.surefire.plugin} + + true + + + + + + + + + + + + arq-wildfly-managed + + + org.wildfly + wildfly-arquillian-container-managed + test + + + + + diff --git a/deltaspike/src/main/java/baeldung/controller/MemberController.java b/deltaspike/src/main/java/baeldung/controller/MemberController.java new file mode 100644 index 0000000000..7a9e9800f4 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/controller/MemberController.java @@ -0,0 +1,84 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.controller; + +import javax.annotation.PostConstruct; +import javax.enterprise.inject.Model; +import javax.enterprise.inject.Produces; +import javax.faces.application.FacesMessage; +import javax.faces.context.FacesContext; +import javax.inject.Inject; +import javax.inject.Named; + +import baeldung.model.Member; +import baeldung.service.MemberRegistration; + +// The @Model stereotype is a convenience mechanism to make this a request-scoped bean that has an +// EL name +// Read more about the @Model stereotype in this FAQ: +// http://www.cdi-spec.org/faq/#accordion6 +@Model +public class MemberController { + + @Inject + private FacesContext facesContext; + + @Inject + private MemberRegistration memberRegistration; + + @Produces + @Named + private Member newMember; + + @PostConstruct + public void initNewMember() { + newMember = new Member(); + } + + public void register() throws Exception { + try { + memberRegistration.register(newMember); + FacesMessage m = new FacesMessage(FacesMessage.SEVERITY_INFO, "Registered!", "Registration successful"); + facesContext.addMessage(null, m); + initNewMember(); + } catch (Exception e) { + String errorMessage = getRootErrorMessage(e); + FacesMessage m = new FacesMessage(FacesMessage.SEVERITY_ERROR, errorMessage, "Registration unsuccessful"); + facesContext.addMessage(null, m); + } + } + + private String getRootErrorMessage(Exception e) { + // Default to general error message that registration failed. + String errorMessage = "Registration failed. See server log for more information"; + if (e == null) { + // This shouldn't happen, but return the default messages + return errorMessage; + } + + // Start with the exception and recurse to find the root cause + Throwable t = e; + while (t != null) { + // Get the message from the Throwable class instance + errorMessage = t.getLocalizedMessage(); + t = t.getCause(); + } + // This is the root cause message + return errorMessage; + } + +} diff --git a/deltaspike/src/main/java/baeldung/data/EntityManagerProducer.java b/deltaspike/src/main/java/baeldung/data/EntityManagerProducer.java new file mode 100644 index 0000000000..9189dbba74 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/EntityManagerProducer.java @@ -0,0 +1,29 @@ +package baeldung.data; + +import javax.enterprise.context.ApplicationScoped; +import javax.enterprise.context.RequestScoped; +import javax.enterprise.inject.Default; +import javax.enterprise.inject.Disposes; +import javax.enterprise.inject.Produces; +import javax.persistence.EntityManager; +import javax.persistence.EntityManagerFactory; +import javax.persistence.PersistenceUnit; + +@ApplicationScoped +public class EntityManagerProducer { + @PersistenceUnit(unitName = "primary") + private EntityManagerFactory entityManagerFactory; + + @Produces + @Default + @RequestScoped + public EntityManager create() { + return this.entityManagerFactory.createEntityManager(); + } + + public void dispose(@Disposes @Default EntityManager entityManager) { + if (entityManager.isOpen()) { + entityManager.close(); + } + } +} \ No newline at end of file diff --git a/deltaspike/src/main/java/baeldung/data/MemberListProducer.java b/deltaspike/src/main/java/baeldung/data/MemberListProducer.java new file mode 100644 index 0000000000..c1f5fda31d --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/MemberListProducer.java @@ -0,0 +1,54 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.data; + +import javax.annotation.PostConstruct; +import javax.enterprise.context.RequestScoped; +import javax.enterprise.event.Observes; +import javax.enterprise.event.Reception; +import javax.enterprise.inject.Produces; +import javax.inject.Inject; +import javax.inject.Named; +import java.util.List; + +import baeldung.model.Member; + +@RequestScoped +public class MemberListProducer { + + @Inject + private MemberRepository memberRepository; + + private List members; + + // @Named provides access the return value via the EL variable name "members" in the UI (e.g. + // Facelets or JSP view) + @Produces + @Named + public List getMembers() { + return members; + } + + public void onMemberListChanged(@Observes(notifyObserver = Reception.IF_EXISTS) final Member member) { + retrieveAllMembersOrderedByName(); + } + + @PostConstruct + public void retrieveAllMembersOrderedByName() { + members = memberRepository.findAllOrderedByNameWithQueryDSL(); + } +} diff --git a/deltaspike/src/main/java/baeldung/data/MemberRepository.java b/deltaspike/src/main/java/baeldung/data/MemberRepository.java new file mode 100644 index 0000000000..56a4a4e634 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/MemberRepository.java @@ -0,0 +1,43 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.data; + +import baeldung.model.Member; +import baeldung.model.QMember; +import org.apache.deltaspike.data.api.*; + +import java.util.List; + +@Repository +@EntityManagerConfig(entityManagerResolver = SecondaryEntityManagerResolver.class) +public abstract class MemberRepository extends AbstractEntityRepository implements QueryDslSupport { + + public abstract Member findById(Long id); + + public abstract Member findByEmail(String email); + + @Query("from Member m order by m.name") + public abstract List findAllOrderedByName(); + + public List findAllOrderedByNameWithQueryDSL() { + final QMember member = QMember.member; + return jpaQuery() + .from(member) + .orderBy(member.email.asc()) + .list(member); + } +} diff --git a/deltaspike/src/main/java/baeldung/data/QueryDslRepositoryExtension.java b/deltaspike/src/main/java/baeldung/data/QueryDslRepositoryExtension.java new file mode 100644 index 0000000000..8cb00958ab --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/QueryDslRepositoryExtension.java @@ -0,0 +1,18 @@ +package baeldung.data; + +import com.mysema.query.jpa.impl.JPAQuery; +import org.apache.deltaspike.data.spi.DelegateQueryHandler; +import org.apache.deltaspike.data.spi.QueryInvocationContext; + +import javax.inject.Inject; + +public class QueryDslRepositoryExtension implements QueryDslSupport, DelegateQueryHandler { + + @Inject + private QueryInvocationContext context; + + @Override + public JPAQuery jpaQuery() { + return new JPAQuery(context.getEntityManager()); + } +} diff --git a/deltaspike/src/main/java/baeldung/data/QueryDslSupport.java b/deltaspike/src/main/java/baeldung/data/QueryDslSupport.java new file mode 100644 index 0000000000..72c33cf1b6 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/QueryDslSupport.java @@ -0,0 +1,7 @@ +package baeldung.data; + +import com.mysema.query.jpa.impl.JPAQuery; + +public interface QueryDslSupport { + JPAQuery jpaQuery(); +} diff --git a/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerProducer.java b/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerProducer.java new file mode 100644 index 0000000000..41d30d9018 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerProducer.java @@ -0,0 +1,30 @@ +package baeldung.data; + +import javax.enterprise.context.ApplicationScoped; +import javax.enterprise.context.RequestScoped; +import javax.enterprise.inject.Default; +import javax.enterprise.inject.Disposes; +import javax.enterprise.inject.Produces; +import javax.persistence.EntityManager; +import javax.persistence.EntityManagerFactory; +import javax.persistence.PersistenceUnit; + +@ApplicationScoped +public class SecondaryEntityManagerProducer { + @PersistenceUnit(unitName = "secondary") + private EntityManagerFactory entityManagerFactory; + + @Produces + @Default + @RequestScoped + @SecondaryPersistenceUnit + public EntityManager create() { + return this.entityManagerFactory.createEntityManager(); + } + + public void dispose(@Disposes @Default EntityManager entityManager) { + if (entityManager.isOpen()) { + entityManager.close(); + } + } +} \ No newline at end of file diff --git a/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerResolver.java b/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerResolver.java new file mode 100644 index 0000000000..7faaa1ac49 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/SecondaryEntityManagerResolver.java @@ -0,0 +1,18 @@ +package baeldung.data; + +import org.apache.deltaspike.data.api.EntityManagerResolver; + +import javax.inject.Inject; +import javax.persistence.EntityManager; + +public class SecondaryEntityManagerResolver implements EntityManagerResolver { + + @Inject + @SecondaryPersistenceUnit + private EntityManager entityManager; + + @Override + public EntityManager resolveEntityManager() { + return entityManager; + } +} diff --git a/deltaspike/src/main/java/baeldung/data/SecondaryPersistenceUnit.java b/deltaspike/src/main/java/baeldung/data/SecondaryPersistenceUnit.java new file mode 100644 index 0000000000..e60d0aff05 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/data/SecondaryPersistenceUnit.java @@ -0,0 +1,12 @@ +package baeldung.data; + +import javax.inject.Qualifier; +import java.lang.annotation.Documented; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Qualifier +public @interface SecondaryPersistenceUnit { +} diff --git a/deltaspike/src/main/java/baeldung/model/Member.java b/deltaspike/src/main/java/baeldung/model/Member.java new file mode 100644 index 0000000000..e178dcf63a --- /dev/null +++ b/deltaspike/src/main/java/baeldung/model/Member.java @@ -0,0 +1,93 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.model; + +import java.io.Serializable; + +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; +import javax.persistence.UniqueConstraint; +import javax.validation.constraints.Digits; +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Pattern; +import javax.validation.constraints.Size; +import javax.xml.bind.annotation.XmlRootElement; + +import org.hibernate.validator.constraints.Email; +import org.hibernate.validator.constraints.NotEmpty; + +@SuppressWarnings("serial") +@Entity +@XmlRootElement +@Table(uniqueConstraints = @UniqueConstraint(columnNames = "email")) +public class Member implements Serializable { + + @Id + @GeneratedValue + private Long id; + + @NotNull + @Size(min = 1, max = 25) + @Pattern(regexp = "[^0-9]*", message = "Must not contain numbers") + private String name; + + @NotNull + @NotEmpty + @Email + private String email; + + @NotNull + @Size(min = 10, max = 12) + @Digits(fraction = 0, integer = 12) + @Column(name = "phone_number") + private String phoneNumber; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } +} diff --git a/deltaspike/src/main/java/baeldung/rest/JaxRsActivator.java b/deltaspike/src/main/java/baeldung/rest/JaxRsActivator.java new file mode 100644 index 0000000000..9357ae0ea6 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/rest/JaxRsActivator.java @@ -0,0 +1,33 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.rest; + +import javax.ws.rs.ApplicationPath; +import javax.ws.rs.core.Application; + +/** + * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 7 "no XML" approach to activating + * JAX-RS. + *

              + *

              + * Resources are served relative to the servlet path specified in the {@link ApplicationPath} annotation. + *

              + */ +@ApplicationPath("/rest") +public class JaxRsActivator extends Application { + /* class body intentionally left blank */ +} diff --git a/deltaspike/src/main/java/baeldung/rest/MemberResourceRESTService.java b/deltaspike/src/main/java/baeldung/rest/MemberResourceRESTService.java new file mode 100644 index 0000000000..5a09e45591 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/rest/MemberResourceRESTService.java @@ -0,0 +1,185 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.rest; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.logging.Logger; + +import javax.enterprise.context.RequestScoped; +import javax.inject.Inject; +import javax.persistence.NoResultException; +import javax.validation.ConstraintViolation; +import javax.validation.ConstraintViolationException; +import javax.validation.ValidationException; +import javax.validation.Validator; +import javax.ws.rs.Consumes; +import javax.ws.rs.GET; +import javax.ws.rs.POST; +import javax.ws.rs.Path; +import javax.ws.rs.PathParam; +import javax.ws.rs.Produces; +import javax.ws.rs.WebApplicationException; +import javax.ws.rs.core.MediaType; +import javax.ws.rs.core.Response; + +import baeldung.data.MemberRepository; +import baeldung.model.Member; +import baeldung.service.MemberRegistration; + +/** + * JAX-RS Example + *

              + * This class produces a RESTful service to read/write the contents of the members table. + */ +@Path("/members") +@RequestScoped +public class MemberResourceRESTService { + + @Inject + private Logger log; + + @Inject + private Validator validator; + + @Inject + private MemberRepository repository; + + @Inject + MemberRegistration registration; + + @GET + @Produces(MediaType.APPLICATION_JSON) + public List listAllMembers() { + return repository.findAllOrderedByName(); + } + + @GET + @Path("/{id:[0-9][0-9]*}") + @Produces(MediaType.APPLICATION_JSON) + public Member lookupMemberById(@PathParam("id") long id) { + Member member = repository.findById(id); + if (member == null) { + throw new WebApplicationException(Response.Status.NOT_FOUND); + } + return member; + } + + /** + * Creates a new member from the values provided. Performs validation, and will return a JAX-RS response with either 200 ok, + * or with a map of fields, and related errors. + */ + @POST + @Consumes(MediaType.APPLICATION_JSON) + @Produces(MediaType.APPLICATION_JSON) + public Response createMember(Member member) { + + Response.ResponseBuilder builder = null; + + try { + // Validates member using bean validation + validateMember(member); + + registration.register(member); + + // Create an "ok" response + builder = Response.ok(); + } catch (ConstraintViolationException ce) { + // Handle bean validation issues + builder = createViolationResponse(ce.getConstraintViolations()); + } catch (ValidationException e) { + // Handle the unique constrain violation + Map responseObj = new HashMap<>(); + responseObj.put("email", "Email taken"); + builder = Response.status(Response.Status.CONFLICT).entity(responseObj); + } catch (Exception e) { + // Handle generic exceptions + Map responseObj = new HashMap<>(); + responseObj.put("error", e.getMessage()); + builder = Response.status(Response.Status.BAD_REQUEST).entity(responseObj); + } + + return builder.build(); + } + + /** + *

              + * Validates the given Member variable and throws validation exceptions based on the type of error. If the error is standard + * bean validation errors then it will throw a ConstraintValidationException with the set of the constraints violated. + *

              + *

              + * If the error is caused because an existing member with the same email is registered it throws a regular validation + * exception so that it can be interpreted separately. + *

              + * + * @param member Member to be validated + * @throws ConstraintViolationException If Bean Validation errors exist + * @throws ValidationException If member with the same email already exists + */ + private void validateMember(Member member) throws ConstraintViolationException, ValidationException { + // Create a bean validator and check for issues. + Set> violations = validator.validate(member); + + if (!violations.isEmpty()) { + throw new ConstraintViolationException(new HashSet>(violations)); + } + + // Check the uniqueness of the email address + if (emailAlreadyExists(member.getEmail())) { + throw new ValidationException("Unique Email Violation"); + } + } + + /** + * Creates a JAX-RS "Bad Request" response including a map of all violation fields, and their message. This can then be used + * by clients to show violations. + * + * @param violations A set of violations that needs to be reported + * @return JAX-RS response containing all violations + */ + private Response.ResponseBuilder createViolationResponse(Set> violations) { + log.fine("Validation completed. violations found: " + violations.size()); + + Map responseObj = new HashMap<>(); + + for (ConstraintViolation violation : violations) { + responseObj.put(violation.getPropertyPath().toString(), violation.getMessage()); + } + + return Response.status(Response.Status.BAD_REQUEST).entity(responseObj); + } + + /** + * Checks if a member with the same email address is already registered. This is the only way to easily capture the + * "@UniqueConstraint(columnNames = "email")" constraint from the Member class. + * + * @param email The email to check + * @return True if the email already exists, and false otherwise + */ + public boolean emailAlreadyExists(String email) { + Member member = null; + try { + member = repository.findByEmail(email); + } catch (NoResultException e) { + // ignore + } + return member != null; + } +} diff --git a/deltaspike/src/main/java/baeldung/service/MemberRegistration.java b/deltaspike/src/main/java/baeldung/service/MemberRegistration.java new file mode 100644 index 0000000000..ec65471622 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/service/MemberRegistration.java @@ -0,0 +1,85 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.service; + +import baeldung.data.MemberRepository; +import baeldung.data.SecondaryPersistenceUnit; +import baeldung.model.Member; +import baeldung.model.QMember; + +import javax.ejb.Stateless; +import javax.enterprise.event.Event; +import javax.enterprise.inject.Default; +import javax.inject.Inject; +import javax.persistence.EntityManager; +import javax.persistence.NoResultException; +import javax.validation.ConstraintViolation; +import javax.validation.ConstraintViolationException; +import javax.validation.ValidationException; +import javax.validation.Validator; +import java.util.HashSet; +import java.util.Set; +import java.util.logging.Logger; + +@Stateless +public class MemberRegistration { + + @Inject + private Logger log; + + @Inject + private MemberRepository repository; + + @Inject + private Event memberEventSrc; + + @Inject + private Validator validator; + + private void validateMember(Member member) throws ConstraintViolationException, ValidationException { + // Create a bean validator and check for issues. + Set> violations = validator.validate(member); + + if (!violations.isEmpty()) { + throw new ConstraintViolationException(new HashSet>(violations)); + } + + // Check the uniqueness of the email address + if (emailAlreadyExists(member.getEmail())) { + throw new ValidationException("Unique Email Violation"); + } + } + + + public void register(Member member) throws Exception { + log.info("Registering " + member.getName()); + validateMember(member); + repository.save(member); + memberEventSrc.fire(member); + } + + public boolean emailAlreadyExists(String email) { + Member member = null; + try { + member = repository.findByEmail(email); + } catch (NoResultException e) { + // ignore + } + return member != null; + } + +} diff --git a/deltaspike/src/main/java/baeldung/util/Resources.java b/deltaspike/src/main/java/baeldung/util/Resources.java new file mode 100644 index 0000000000..2cc1f235d7 --- /dev/null +++ b/deltaspike/src/main/java/baeldung/util/Resources.java @@ -0,0 +1,53 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.util; + +import java.util.logging.Logger; + +import javax.enterprise.context.RequestScoped; +import javax.enterprise.inject.Produces; +import javax.enterprise.inject.spi.InjectionPoint; +import javax.faces.context.FacesContext; +import javax.persistence.EntityManager; +import javax.persistence.PersistenceContext; + +/** + * This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans + *

              + *

              + * Example injection on a managed bean field: + *

              + *

              + *

              + * @Inject
              + * private EntityManager em;
              + * 
              + */ +public class Resources { + + @Produces + public Logger produceLog(InjectionPoint injectionPoint) { + return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName()); + } + + @Produces + @RequestScoped + public FacesContext produceFacesContext() { + return FacesContext.getCurrentInstance(); + } + +} diff --git a/deltaspike/src/main/resources/META-INF/apache-deltaspike.properties b/deltaspike/src/main/resources/META-INF/apache-deltaspike.properties new file mode 100644 index 0000000000..a861ad729a --- /dev/null +++ b/deltaspike/src/main/resources/META-INF/apache-deltaspike.properties @@ -0,0 +1 @@ +globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy=org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy diff --git a/deltaspike/src/main/resources/META-INF/persistence.xml b/deltaspike/src/main/resources/META-INF/persistence.xml new file mode 100644 index 0000000000..b68c2c1bb1 --- /dev/null +++ b/deltaspike/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,21 @@ + + + + java:jboss/datasources/baeldung-jee7-seedDS + + + + + + + java:jboss/datasources/baeldung-jee7-seed-secondaryDS + + + + + + diff --git a/deltaspike/src/main/resources/import.sql b/deltaspike/src/main/resources/import.sql new file mode 100644 index 0000000000..154f4e9923 --- /dev/null +++ b/deltaspike/src/main/resources/import.sql @@ -0,0 +1,19 @@ +-- +-- JBoss, Home of Professional Open Source +-- Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual +-- contributors by the @authors tag. See the copyright.txt in the +-- distribution for a full listing of individual contributors. +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- http://www.apache.org/licenses/LICENSE-2.0 +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- + +-- You can use this file to load seed data into the database using SQL statements +insert into Member (id, name, email, phone_number) values (0, 'John Smith', 'john.smith@mailinator.com', '2125551212') diff --git a/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-ds.xml b/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-ds.xml new file mode 100644 index 0000000000..1a8e350667 --- /dev/null +++ b/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-ds.xml @@ -0,0 +1,37 @@ + + + + + + + jdbc:h2:mem:baeldung-jee7-seed;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 + h2 + + sa + sa + + + + diff --git a/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-secondary-ds.xml b/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-secondary-ds.xml new file mode 100644 index 0000000000..c4c9afb2e0 --- /dev/null +++ b/deltaspike/src/main/webapp/WEB-INF/baeldung-jee7-seed-secondary-ds.xml @@ -0,0 +1,19 @@ + + + + + + jdbc:h2:mem:baeldung-jee7-seed;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1 + h2 + + sa + sa + + + + diff --git a/deltaspike/src/main/webapp/WEB-INF/beans.xml b/deltaspike/src/main/webapp/WEB-INF/beans.xml new file mode 100644 index 0000000000..0090177eb7 --- /dev/null +++ b/deltaspike/src/main/webapp/WEB-INF/beans.xml @@ -0,0 +1,23 @@ + + + + + diff --git a/deltaspike/src/main/webapp/WEB-INF/faces-config.xml b/deltaspike/src/main/webapp/WEB-INF/faces-config.xml new file mode 100644 index 0000000000..26cf98b669 --- /dev/null +++ b/deltaspike/src/main/webapp/WEB-INF/faces-config.xml @@ -0,0 +1,25 @@ + + + + + diff --git a/deltaspike/src/main/webapp/WEB-INF/templates/default.xhtml b/deltaspike/src/main/webapp/WEB-INF/templates/default.xhtml new file mode 100644 index 0000000000..2f001f8626 --- /dev/null +++ b/deltaspike/src/main/webapp/WEB-INF/templates/default.xhtml @@ -0,0 +1,55 @@ + + + + + baeldung-jee7-seed + + + + +
              +
              + +
              +
              + + [Template content will be inserted here] + +
              + + +
              +
              + diff --git a/deltaspike/src/main/webapp/index.html b/deltaspike/src/main/webapp/index.html new file mode 100644 index 0000000000..dd6c4fb886 --- /dev/null +++ b/deltaspike/src/main/webapp/index.html @@ -0,0 +1,23 @@ + + + + + + + + diff --git a/deltaspike/src/main/webapp/index.xhtml b/deltaspike/src/main/webapp/index.xhtml new file mode 100644 index 0000000000..0f515601be --- /dev/null +++ b/deltaspike/src/main/webapp/index.xhtml @@ -0,0 +1,97 @@ + + + + +

              Welcome to WildFly!

              + +
              +

              You have successfully deployed a Java EE 7 Enterprise + Application.

              +

              Your application can run on:

              + +
              + + +

              Member Registration

              +

              Enforces annotation-based constraints defined on the + model class.

              + + + + + + + + + + + + + + +

              + + + + +

              +
              +

              Members

              + + No registered members. + + + + Id + #{_member.id} + + + Name + #{_member.name} + + + Email + #{_member.email} + + + Phone # + #{_member.phoneNumber} + + + REST URL + /rest/members/#{_member.id} + + + REST URL for all members: /rest/members + + +
              +
              diff --git a/deltaspike/src/main/webapp/resources/css/screen.css b/deltaspike/src/main/webapp/resources/css/screen.css new file mode 100644 index 0000000000..0e81d5a9d2 --- /dev/null +++ b/deltaspike/src/main/webapp/resources/css/screen.css @@ -0,0 +1,202 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* Core styles for the page */ +body { + margin: 0; + padding: 0; + background-color: #F1F1F1; + font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; + font-size: 0.8em; + color:#363636; +} + +#container { + margin: 0 auto; + padding: 0 20px 10px 20px; + border-top: 5px solid #000000; + border-left: 5px solid #8c8f91; + border-right: 5px solid #8c8f91; + border-bottom: 25px solid #8c8f91; + width: 865px; /* subtract 40px from banner width for padding */ + background: #FFFFFF; + background-image: url(#{request.contextPath}/resources/gfx/headerbkg.png); + background-repeat: repeat-x; + padding-top: 30px; + box-shadow: 3px 3px 15px #d5d5d5; +} +#content { + float: left; + width: 500px; + margin: 20px; +} +#aside { + font-size: 0.9em; + width: 275px; + float: left; + margin: 20px 0px; + border: 1px solid #D5D5D5; + background: #F1F1F1; + background-image: url(#{request.contextPath}/resources/gfx/asidebkg.png); + background-repeat: repeat-x; + padding: 20px; +} + +#aside ul { + padding-left: 30px; +} +.dualbrand { + float: right; + padding-right: 10px; +} +#footer { + clear: both; + text-align: center; + color: #666666; + font-size: 0.85em; +} +code { + font-size: 1.1em; +} +a { + color: #4a5d75; + text-decoration: none; +} +a:hover { + color: #369; + text-decoration: underline; +} +h1 { + color:#243446; + font-size: 2.25em; +} +h2 { + font-size: 1em; +} +h3 { + color:#243446; +} +h4 { +} +h5 { +} +h6 { +} +/* Member registration styles */ +span.invalid { + padding-left: 3px; + color: red; +} +form { + padding: 1em; + font: 80%/1 sans-serif; + width: 375px; + border: 1px solid #D5D5D5; +} +label { + float: left; + width: 15%; + margin-left: 20px; + margin-right: 0.5em; + padding-top: 0.2em; + text-align: right; + font-weight: bold; + color:#363636; +} +input { + margin-bottom: 8px; +} +.register { + float: left; + margin-left: 85px; +} + +/* ----- table style ------- */ + + +/* = Simple Table style (black header, grey/white stripes */ + +.simpletablestyle { + background-color:#E6E7E8; + clear:both; + width: 550px; +} + +.simpletablestyle img { + border:0px; +} + +.simpletablestyle td { + height:2em; + padding-left: 6px; + font-size:11px; + padding:5px 5px; +} + +.simpletablestyle th { + background: url(#{request.contextPath}/resources/gfx/bkg-blkheader.png) black repeat-x top left; + font-size:12px; + font-weight:normal; + padding:0 10px 0 5px; + border-bottom:#999999 dotted 1px; +} + +.simpletablestyle thead { + background: url(#{request.contextPath}/resources/gfx/bkg-blkheader.png) black repeat-x top left; + height:31px; + font-size:10px; + font-weight:bold; + color:#FFFFFF; + text-align:left; +} + +.simpletablestyle .header a { + color:#94aebd; +} + +.simpletablestype tfoot { + height: 20px; + font-size: 10px; + font-weight: bold; + background-color: #EAECEE; + text-align: center; +} + +.simpletablestyle tr.header td { + padding: 0px 10px 0px 5px; +} + + +.simpletablestyle .subheader { + background-color: #e6e7e8; + font-size:10px; + font-weight:bold; + color:#000000; + text-align:left; +} + +/* Using new CSS3 selectors for styling*/ +.simpletablestyle tr:nth-child(odd) { + background: #f4f3f3; +} +.simpletablestyle tr:nth-child(even) { + background: #ffffff; +} + +.simpletablestyle td a:hover { + color:#3883ce; + text-decoration:none; +} diff --git a/deltaspike/src/main/webapp/resources/gfx/asidebkg.png b/deltaspike/src/main/webapp/resources/gfx/asidebkg.png new file mode 100644 index 0000000000..543d66ad37 Binary files /dev/null and b/deltaspike/src/main/webapp/resources/gfx/asidebkg.png differ diff --git a/deltaspike/src/main/webapp/resources/gfx/bkg-blkheader.png b/deltaspike/src/main/webapp/resources/gfx/bkg-blkheader.png new file mode 100644 index 0000000000..54b95f349f Binary files /dev/null and b/deltaspike/src/main/webapp/resources/gfx/bkg-blkheader.png differ diff --git a/deltaspike/src/main/webapp/resources/gfx/dualbrand_logo.png b/deltaspike/src/main/webapp/resources/gfx/dualbrand_logo.png new file mode 100644 index 0000000000..68853292cb Binary files /dev/null and b/deltaspike/src/main/webapp/resources/gfx/dualbrand_logo.png differ diff --git a/deltaspike/src/main/webapp/resources/gfx/headerbkg.png b/deltaspike/src/main/webapp/resources/gfx/headerbkg.png new file mode 100644 index 0000000000..2669028ba2 Binary files /dev/null and b/deltaspike/src/main/webapp/resources/gfx/headerbkg.png differ diff --git a/deltaspike/src/main/webapp/resources/gfx/wildfly_400x130.jpg b/deltaspike/src/main/webapp/resources/gfx/wildfly_400x130.jpg new file mode 100644 index 0000000000..667c5a66a3 Binary files /dev/null and b/deltaspike/src/main/webapp/resources/gfx/wildfly_400x130.jpg differ diff --git a/deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java b/deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java new file mode 100644 index 0000000000..0270d2d164 --- /dev/null +++ b/deltaspike/src/test/java/baeldung/test/MemberRegistrationTest.java @@ -0,0 +1,84 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual + * contributors by the @authors tag. See the copyright.txt in the + * distribution for a full listing of individual contributors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package baeldung.test; + +import static org.junit.Assert.assertNotNull; + +import java.io.File; +import java.util.logging.Logger; + +import javax.inject.Inject; + +import baeldung.data.*; +import org.jboss.arquillian.container.test.api.Deployment; +import org.jboss.arquillian.junit.Arquillian; +import baeldung.model.Member; +import baeldung.service.MemberRegistration; +import baeldung.util.Resources; +import org.jboss.shrinkwrap.api.Archive; +import org.jboss.shrinkwrap.api.ShrinkWrap; +import org.jboss.shrinkwrap.api.asset.EmptyAsset; +import org.jboss.shrinkwrap.api.spec.WebArchive; +import org.jboss.shrinkwrap.resolver.api.maven.Maven; +import org.junit.Test; +import org.junit.runner.RunWith; + +@RunWith(Arquillian.class) +public class MemberRegistrationTest { + @Deployment + public static Archive createTestArchive() { + File[] files = Maven.resolver().loadPomFromFile("pom.xml") + .importRuntimeDependencies().resolve().withTransitivity().asFile(); + + return ShrinkWrap.create(WebArchive.class, "test.war") + .addClasses( + EntityManagerProducer.class, + Member.class, + MemberRegistration.class, + MemberRepository.class, + Resources.class, + QueryDslRepositoryExtension.class, + QueryDslSupport.class, + SecondaryPersistenceUnit.class, + SecondaryEntityManagerProducer.class, + SecondaryEntityManagerResolver.class) + .addAsResource("META-INF/test-persistence.xml", "META-INF/persistence.xml") + .addAsResource("META-INF/apache-deltaspike.properties") + .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml") + .addAsWebInfResource("test-ds.xml") + .addAsWebInfResource("test-secondary-ds.xml") + .addAsLibraries(files); + } + + @Inject + MemberRegistration memberRegistration; + + @Inject + Logger log; + + @Test + public void testRegister() throws Exception { + Member newMember = new Member(); + newMember.setName("Jane Doe"); + newMember.setEmail("jane@mailinator.com"); + newMember.setPhoneNumber("2125551234"); + memberRegistration.register(newMember); + assertNotNull(newMember.getId()); + log.info(newMember.getName() + " was persisted with id " + newMember.getId()); + } + +} diff --git a/deltaspike/src/test/resources/META-INF/apache-deltaspike.properties b/deltaspike/src/test/resources/META-INF/apache-deltaspike.properties new file mode 100644 index 0000000000..a861ad729a --- /dev/null +++ b/deltaspike/src/test/resources/META-INF/apache-deltaspike.properties @@ -0,0 +1 @@ +globalAlternatives.org.apache.deltaspike.jpa.spi.transaction.TransactionStrategy=org.apache.deltaspike.jpa.impl.transaction.BeanManagedUserTransactionStrategy diff --git a/deltaspike/src/test/resources/META-INF/test-persistence.xml b/deltaspike/src/test/resources/META-INF/test-persistence.xml new file mode 100644 index 0000000000..bc9fbcbeef --- /dev/null +++ b/deltaspike/src/test/resources/META-INF/test-persistence.xml @@ -0,0 +1,21 @@ + + + + java:jboss/datasources/baeldung-jee7-seedTestDS + + + + + + + java:jboss/datasources/baeldung-jee7-seedTestSecondaryDS + + + + + + diff --git a/deltaspike/src/test/resources/arquillian.xml b/deltaspike/src/test/resources/arquillian.xml new file mode 100644 index 0000000000..14f9e53bbd --- /dev/null +++ b/deltaspike/src/test/resources/arquillian.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + target\wildfly-run\wildfly-10.0.0.Final + + + + diff --git a/deltaspike/src/test/resources/test-ds.xml b/deltaspike/src/test/resources/test-ds.xml new file mode 100644 index 0000000000..8c5d022690 --- /dev/null +++ b/deltaspike/src/test/resources/test-ds.xml @@ -0,0 +1,16 @@ + + + + jdbc:h2:mem:baeldung-jee7-seed-test;DB_CLOSE_DELAY=-1 + h2 + + sa + sa + + + + diff --git a/deltaspike/src/test/resources/test-secondary-ds.xml b/deltaspike/src/test/resources/test-secondary-ds.xml new file mode 100644 index 0000000000..f545adc6d6 --- /dev/null +++ b/deltaspike/src/test/resources/test-secondary-ds.xml @@ -0,0 +1,16 @@ + + + + jdbc:h2:mem:baeldung-jee7-seed-test;DB_CLOSE_DELAY=-1 + h2 + + sa + sa + + + + diff --git a/dozer/README.md b/dozer/README.md new file mode 100644 index 0000000000..5e104d914c --- /dev/null +++ b/dozer/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [A Guide to Mapping With Dozer](http://www.baeldung.com/dozer) diff --git a/dozer/pom.xml b/dozer/pom.xml new file mode 100644 index 0000000000..35ac2394a6 --- /dev/null +++ b/dozer/pom.xml @@ -0,0 +1,58 @@ + + 4.0.0 + + com.baeldung + dozer + 1.0 + + dozer + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + 7 + 7 + + + + + + + + org.slf4j + slf4j-api + 1.7.5 + + + + org.slf4j + jcl-over-slf4j + 1.7.5 + + + + org.apache.commons + commons-lang3 + 3.2.1 + + + + net.sf.dozer + dozer + 5.5.1 + + + junit + junit + 4.3 + test + + + + + diff --git a/dozer/src/main/java/com/baeldung/dozer/Dest.java b/dozer/src/main/java/com/baeldung/dozer/Dest.java new file mode 100644 index 0000000000..ddffcc29a1 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Dest.java @@ -0,0 +1,33 @@ +package com.baeldung.dozer; + +public class Dest { + private String name; + private int age; + + public Dest() { + + } + + public Dest(String name, int age) { + super(); + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Dest2.java b/dozer/src/main/java/com/baeldung/dozer/Dest2.java new file mode 100644 index 0000000000..bd89af6b2e --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Dest2.java @@ -0,0 +1,38 @@ +package com.baeldung.dozer; + +public class Dest2 { + private int id; + private int points; + + public Dest2() { + + } + + public Dest2(int id, int points) { + super(); + this.id = id; + this.points = points; + } + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getPoints() { + return points; + } + + public void setPoints(int points) { + this.points = points; + } + + @Override + public String toString() { + return "Dest2 [id=" + id + ", points=" + points + "]"; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/MyCustomConvertor.java b/dozer/src/main/java/com/baeldung/dozer/MyCustomConvertor.java new file mode 100644 index 0000000000..3ae095dc51 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/MyCustomConvertor.java @@ -0,0 +1,44 @@ +package com.baeldung.dozer; + +import java.text.DateFormat; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Date; + +import org.dozer.CustomConverter; +import org.dozer.MappingException; + +public class MyCustomConvertor implements CustomConverter { + + @Override + public Object convert(Object dest, Object source, Class arg2, Class arg3) { + if (source == null) { + return null; + } + if (source instanceof Personne3) { + Personne3 person = (Personne3) source; + Date date = new Date(person.getDtob()); + DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); + String isoDate = format.format(date); + return new Person3(person.getName(), isoDate); + + } else if (source instanceof Person3) { + Person3 person = (Person3) source; + DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); + Date date = null; + try { + date = format.parse(person.getDtob()); + + } catch (ParseException e) { + throw new MappingException("Converter MyCustomConvertor " + "used incorrectly:" + e.getMessage()); + } + long timestamp = date.getTime(); + return new Personne3(person.getName(), timestamp); + + } else { + throw new MappingException("Converter MyCustomConvertor " + "used incorrectly. Arguments passed in were:" + dest + " and " + source); + + } + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Person.java b/dozer/src/main/java/com/baeldung/dozer/Person.java new file mode 100644 index 0000000000..030c6e9de7 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Person.java @@ -0,0 +1,43 @@ +package com.baeldung.dozer; + +public class Person { + private String name; + private String nickname; + private int age; + + public Person() { + + } + + public Person(String name, String nickname, int age) { + super(); + this.name = name; + this.nickname = nickname; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Person2.java b/dozer/src/main/java/com/baeldung/dozer/Person2.java new file mode 100644 index 0000000000..741dfd2fd1 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Person2.java @@ -0,0 +1,43 @@ +package com.baeldung.dozer; + +public class Person2 { + private String name; + private String nickname; + private int age; + + public Person2() { + + } + + public Person2(String name, String nickname, int age) { + super(); + this.name = name; + this.nickname = nickname; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Person3.java b/dozer/src/main/java/com/baeldung/dozer/Person3.java new file mode 100644 index 0000000000..a2a37bed53 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Person3.java @@ -0,0 +1,38 @@ +package com.baeldung.dozer; + +public class Person3 { + private String name; + private String dtob; + + public Person3() { + + } + + public Person3(String name, String dtob) { + super(); + this.name = name; + this.dtob = dtob; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDtob() { + return dtob; + } + + public void setDtob(String dtob) { + this.dtob = dtob; + } + + @Override + public String toString() { + return "Person3 [name=" + name + ", dtob=" + dtob + "]"; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Personne.java b/dozer/src/main/java/com/baeldung/dozer/Personne.java new file mode 100644 index 0000000000..ff301db416 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Personne.java @@ -0,0 +1,43 @@ +package com.baeldung.dozer; + +public class Personne { + private String nom; + private String surnom; + private int age; + + public Personne() { + + } + + public Personne(String nom, String surnom, int age) { + super(); + this.nom = nom; + this.surnom = surnom; + this.age = age; + } + + public String getNom() { + return nom; + } + + public void setNom(String nom) { + this.nom = nom; + } + + public String getSurnom() { + return surnom; + } + + public void setSurnom(String surnom) { + this.surnom = surnom; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Personne2.java b/dozer/src/main/java/com/baeldung/dozer/Personne2.java new file mode 100644 index 0000000000..825c45fb81 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Personne2.java @@ -0,0 +1,47 @@ +package com.baeldung.dozer; + +import org.dozer.Mapping; + +public class Personne2 { + private String nom; + private String surnom; + private int age; + + public Personne2() { + + } + + public Personne2(String nom, String surnom, int age) { + super(); + this.nom = nom; + this.surnom = surnom; + this.age = age; + } + + @Mapping("name") + public String getNom() { + return nom; + } + + @Mapping("nickname") + public String getSurnom() { + return surnom; + } + + public void setNom(String nom) { + this.nom = nom; + } + + public void setSurnom(String surnom) { + this.surnom = surnom; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Personne3.java b/dozer/src/main/java/com/baeldung/dozer/Personne3.java new file mode 100644 index 0000000000..c55f8da20d --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Personne3.java @@ -0,0 +1,38 @@ +package com.baeldung.dozer; + +public class Personne3 { + private String name; + private long dtob; + + public Personne3() { + + } + + public Personne3(String name, long dtob) { + super(); + this.name = name; + this.dtob = dtob; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public long getDtob() { + return dtob; + } + + public void setDtob(long dtob) { + this.dtob = dtob; + } + + @Override + public String toString() { + return "Personne3 [name=" + name + ", dtob=" + dtob + "]"; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Source.java b/dozer/src/main/java/com/baeldung/dozer/Source.java new file mode 100644 index 0000000000..d715a5cc16 --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Source.java @@ -0,0 +1,32 @@ +package com.baeldung.dozer; + +public class Source { + private String name; + private int age; + + public Source() { + } + + public Source(String name, int age) { + super(); + this.name = name; + this.age = age; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + +} diff --git a/dozer/src/main/java/com/baeldung/dozer/Source2.java b/dozer/src/main/java/com/baeldung/dozer/Source2.java new file mode 100644 index 0000000000..e722f206ca --- /dev/null +++ b/dozer/src/main/java/com/baeldung/dozer/Source2.java @@ -0,0 +1,38 @@ +package com.baeldung.dozer; + +public class Source2 { + private String id; + private double points; + + public Source2() { + + } + + public Source2(String id, double points) { + super(); + this.id = id; + this.points = points; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public double getPoints() { + return points; + } + + public void setPoints(double points) { + this.points = points; + } + + @Override + public String toString() { + return "Source2 [id=" + id + ", points=" + points + "]"; + } + +} diff --git a/dozer/src/test/java/com/baeldung/dozer/DozerTest.java b/dozer/src/test/java/com/baeldung/dozer/DozerTest.java new file mode 100644 index 0000000000..107aab078d --- /dev/null +++ b/dozer/src/test/java/com/baeldung/dozer/DozerTest.java @@ -0,0 +1,199 @@ +package com.baeldung.dozer; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; + +import org.dozer.DozerBeanMapper; +import org.dozer.loader.api.BeanMappingBuilder; +import org.junit.Before; +import org.junit.Ignore; +import org.junit.Test; + +public class DozerTest { + private final long GMT_DIFFERENCE = 46800000; + + DozerBeanMapper mapper; + + @Before + public void before() throws Exception { + mapper = new DozerBeanMapper(); + } + + BeanMappingBuilder builder = new BeanMappingBuilder() { + + @Override + protected void configure() { + mapping(Person.class, Personne.class).fields("name", "nom").fields("nickname", "surnom"); + + } + }; + BeanMappingBuilder builderMinusAge = new BeanMappingBuilder() { + + @Override + protected void configure() { + mapping(Person.class, Personne.class).fields("name", "nom").fields("nickname", "surnom").exclude("age"); + + } + }; + + @Test + public void givenApiMapper_whenMaps_thenCorrect() { + mapper.addMapping(builder); + + Personne frenchAppPerson = new Personne("Sylvester Stallone", "Rambo", 70); + Person englishAppPerson = mapper.map(frenchAppPerson, Person.class); + + assertEquals(englishAppPerson.getName(), frenchAppPerson.getNom()); + assertEquals(englishAppPerson.getNickname(), frenchAppPerson.getSurnom()); + assertEquals(englishAppPerson.getAge(), frenchAppPerson.getAge()); + } + + @Test + public void givenApiMapper_whenMapsOnlySpecifiedFields_thenCorrect() { + mapper.addMapping(builderMinusAge); + + Person englishAppPerson = new Person("Sylvester Stallone", "Rambo", 70); + Personne frenchAppPerson = mapper.map(englishAppPerson, Personne.class); + + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), 0); + } + + @Test + public void givenApiMapper_whenMapsBidirectionally_thenCorrect() { + mapper.addMapping(builder); + + Person englishAppPerson = new Person("Sylvester Stallone", "Rambo", 70); + Personne frenchAppPerson = mapper.map(englishAppPerson, Personne.class); + + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), englishAppPerson.getAge()); + } + + @Test + public void givenSourceObjectAndDestClass_whenMapsSameNameFieldsCorrectly_thenCorrect() { + Source source = new Source("Baeldung", 10); + Dest dest = mapper.map(source, Dest.class); + assertEquals(dest.getName(), "Baeldung"); + assertEquals(dest.getAge(), 10); + } + + @Test + public void givenSourceObjectAndDestObject_whenMapsSameNameFieldsCorrectly_thenCorrect() { + Source source = new Source("Baeldung", 10); + Dest dest = new Dest(); + mapper.map(source, dest); + assertEquals(dest.getName(), "Baeldung"); + assertEquals(dest.getAge(), 10); + } + + @Test + public void givenSourceAndDestWithDifferentFieldTypes_whenMapsAndAutoConverts_thenCorrect() { + Source2 source = new Source2("320", 15.2); + Dest2 dest = mapper.map(source, Dest2.class); + assertEquals(dest.getId(), 320); + assertEquals(dest.getPoints(), 15); + } + + @Test + public void givenSrcAndDestWithDifferentFieldNamesWithCustomMapper_whenMaps_thenCorrect() { + configureMapper("dozer_mapping.xml"); + + Personne frenchAppPerson = new Personne("Sylvester Stallone", "Rambo", 70); + Person englishAppPerson = mapper.map(frenchAppPerson, Person.class); + + assertEquals(englishAppPerson.getName(), frenchAppPerson.getNom()); + assertEquals(englishAppPerson.getNickname(), frenchAppPerson.getSurnom()); + assertEquals(englishAppPerson.getAge(), frenchAppPerson.getAge()); + } + + @Test + public void givenSrcAndDestWithDifferentFieldNamesWithCustomMapper_whenMapsBidirectionally_thenCorrect() { + configureMapper("dozer_mapping.xml"); + + Person englishAppPerson = new Person("Dwayne Johnson", "The Rock", 44); + Personne frenchAppPerson = mapper.map(englishAppPerson, Personne.class); + + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), englishAppPerson.getAge()); + } + + @Ignore("place dozer_mapping.xml at a location of your choice and copy/paste the path after file: in configureMapper method") + @Test + public void givenMappingFileOutsideClasspath_whenMaps_thenCorrect() { + configureMapper("file:e:/dozer_mapping.xml"); + + Person englishAppPerson = new Person("Marshall Bruce Mathers III", "Eminem", 43); + Personne frenchAppPerson = mapper.map(englishAppPerson, Personne.class); + + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), englishAppPerson.getAge()); + } + + @Test + public void givenSrcAndDest_whenMapsOnlySpecifiedFields_thenCorrect() { + configureMapper("dozer_mapping2.xml"); + + Person englishAppPerson = new Person("Shawn Corey Carter", "Jay Z", 46); + Personne frenchAppPerson = mapper.map(englishAppPerson, Personne.class); + + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), 0); + } + + @Test + public void givenAnnotatedSrcFields_whenMapsToRightDestField_thenCorrect() { + Person2 englishAppPerson = new Person2("Jean-Claude Van Damme", "JCVD", 55); + Personne2 frenchAppPerson = mapper.map(englishAppPerson, Personne2.class); + assertEquals(frenchAppPerson.getNom(), englishAppPerson.getName()); + assertEquals(frenchAppPerson.getSurnom(), englishAppPerson.getNickname()); + assertEquals(frenchAppPerson.getAge(), englishAppPerson.getAge()); + } + + @Test + public void givenAnnotatedSrcFields_whenMapsToRightDestFieldBidirectionally_thenCorrect() { + Personne2 frenchAppPerson = new Personne2("Jason Statham", "transporter", 49); + Person2 englishAppPerson = mapper.map(frenchAppPerson, Person2.class); + assertEquals(englishAppPerson.getName(), frenchAppPerson.getNom()); + assertEquals(englishAppPerson.getNickname(), frenchAppPerson.getSurnom()); + assertEquals(englishAppPerson.getAge(), frenchAppPerson.getAge()); + } + + @Test + public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvert_thenCorrect() { + configureMapper("dozer_custom_convertor.xml"); + + String dateTime = "2007-06-26T21:22:39Z"; + long timestamp = new Long("1182882159000"); + + Person3 person = new Person3("Rich", dateTime); + Personne3 person0 = mapper.map(person, Personne3.class); + + long timestampToTest = person0.getDtob(); + assertTrue(timestampToTest == timestamp || timestampToTest >= timestamp - GMT_DIFFERENCE || timestampToTest <= timestamp + GMT_DIFFERENCE); + } + + @Test + public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvertBidirectionally_thenCorrect() { + long timestamp = new Long("1182882159000"); + Personne3 person = new Personne3("Rich", timestamp); + configureMapper("dozer_custom_convertor.xml"); + + Person3 person0 = mapper.map(person, Person3.class); + String timestampTest = person0.getDtob(); + + assertTrue(timestampTest.charAt(10) == 'T' && timestampTest.charAt(19) == 'Z'); + } + + public void configureMapper(String... mappingFileUrls) { + mapper.setMappingFiles(Arrays.asList(mappingFileUrls)); + } + +} diff --git a/dozer/src/test/resources/dozer_custom_convertor.xml b/dozer/src/test/resources/dozer_custom_convertor.xml new file mode 100644 index 0000000000..0cbe5a7918 --- /dev/null +++ b/dozer/src/test/resources/dozer_custom_convertor.xml @@ -0,0 +1,14 @@ + + + + + + com.baeldung.dozer.Personne3 + com.baeldung.dozer.Person3 + + + + + \ No newline at end of file diff --git a/dozer/src/test/resources/dozer_mapping.xml b/dozer/src/test/resources/dozer_mapping.xml new file mode 100644 index 0000000000..13f31db11a --- /dev/null +++ b/dozer/src/test/resources/dozer_mapping.xml @@ -0,0 +1,17 @@ + + + + com.baeldung.dozer.Personne + com.baeldung.dozer.Person + + nom + name + + + surnom + nickname + + + \ No newline at end of file diff --git a/dozer/src/test/resources/dozer_mapping2.xml b/dozer/src/test/resources/dozer_mapping2.xml new file mode 100644 index 0000000000..63411568b6 --- /dev/null +++ b/dozer/src/test/resources/dozer_mapping2.xml @@ -0,0 +1,17 @@ + + + + com.baeldung.dozer.Personne + com.baeldung.dozer.Person + + nom + name + + + surnom + nickname + + + \ No newline at end of file diff --git a/eclipse/formatter.xml b/eclipse/formatter.xml new file mode 100644 index 0000000000..f9bccca6f6 --- /dev/null +++ b/eclipse/formatter.xml @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ejb/ejb-client/pom.xml b/ejb/ejb-client/pom.xml new file mode 100755 index 0000000000..6ece63572d --- /dev/null +++ b/ejb/ejb-client/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + + com.baeldung.ejb + ejb + 1.0-SNAPSHOT + + ejb-client + EJB3 Client Maven + EJB3 Client Maven + + + org.wildfly + wildfly-ejb-client-bom + pom + import + + + com.baeldung.ejb + ejb-remote + ejb + + + + junit + junit + ${junit.version} + test + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*EJBSetupTest.java + + + + + + \ No newline at end of file diff --git a/ejb/ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java b/ejb/ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java new file mode 100755 index 0000000000..08286d580e --- /dev/null +++ b/ejb/ejb-client/src/main/java/com/baeldung/ejb/client/EJBClient.java @@ -0,0 +1,71 @@ +package com.baeldung.ejb.client; + +import java.util.Properties; + +import javax.naming.Context; +import javax.naming.InitialContext; +import javax.naming.NamingException; + +import com.baeldung.ejb.tutorial.HelloWorld; + +public class EJBClient { + + public EJBClient() { + } + + private Context context = null; + + public String getEJBRemoteMessage() { + EJBClient main = new EJBClient(); + try { + // 1. Obtaining Context + main.createInitialContext(); + // 2. Generate JNDI Lookup name and caste + HelloWorld helloWorld = main.lookup(); + return helloWorld.getHelloWorld(); + } catch (NamingException e) { + e.printStackTrace(); + return ""; + } finally { + try { + main.closeContext(); + } catch (NamingException e) { + e.printStackTrace(); + } + } + } + + public HelloWorld lookup() throws NamingException { + + // The app name is the EAR name of the deployed EJB without .ear suffix. + // Since we haven't deployed the application as a .ear, the app name for + // us will be an empty string + final String appName = ""; + final String moduleName = "remote"; + final String distinctName = ""; + final String beanName = "HelloWorld"; + final String viewClassName = HelloWorld.class.getName(); + final String toLookup = "ejb:" + appName + "/" + moduleName + + "/" + distinctName + "/" + beanName + "!" + viewClassName; + return (HelloWorld) context.lookup(toLookup); + } + + public void createInitialContext() throws NamingException { + Properties prop = new Properties(); + prop.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); + prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory"); + prop.put(Context.PROVIDER_URL, "http-remoting://127.0.0.1:8080"); + prop.put(Context.SECURITY_PRINCIPAL, "testUser"); + prop.put(Context.SECURITY_CREDENTIALS, "admin1234!"); + prop.put("jboss.naming.client.ejb.context", false); + + context = new InitialContext(prop); + } + + public void closeContext() throws NamingException { + if (context != null) { + context.close(); + } + } + +} diff --git a/ejb/ejb-client/src/main/resources/jboss-ejb-client.properties b/ejb/ejb-client/src/main/resources/jboss-ejb-client.properties new file mode 100755 index 0000000000..a01a675e44 --- /dev/null +++ b/ejb/ejb-client/src/main/resources/jboss-ejb-client.properties @@ -0,0 +1,8 @@ +remote.connections=default +remote.connection.default.host=127.0.0.1 +remote.connection.default.port=8080 +remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false +remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false +remote.connection.default.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS=${host.auth:JBOSS-LOCAL-USER} +remote.connection.default.username=testUser +remote.connection.default.password=admin1234! diff --git a/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java b/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java new file mode 100755 index 0000000000..1a8165cee6 --- /dev/null +++ b/ejb/ejb-client/src/test/java/com/baeldung/ejb/setup/test/EJBSetupTest.java @@ -0,0 +1,16 @@ +package com.baeldung.ejb.setup.test; + +import static org.junit.Assert.*; +import org.junit.Test; +import com.baeldung.ejb.client.EJBClient; +import com.baeldung.ejb.tutorial.HelloWorldBean; + +public class EJBSetupTest { + + @Test + public void testEJBClient() { + EJBClient ejbClient = new EJBClient(); + HelloWorldBean bean = new HelloWorldBean(); + assertEquals(bean.getHelloWorld(), ejbClient.getEJBRemoteMessage()); + } +} diff --git a/ejb/ejb-remote/pom.xml b/ejb/ejb-remote/pom.xml new file mode 100755 index 0000000000..d102edd8e3 --- /dev/null +++ b/ejb/ejb-remote/pom.xml @@ -0,0 +1,40 @@ + + + 4.0.0 + + com.baeldung.ejb + ejb + 1.0-SNAPSHOT + + ejb-remote + ejb + + + + + javax + javaee-api + 7.0 + provided + + + + + + + org.wildfly.plugins + wildfly-maven-plugin + 1.1.0.Alpha5 + + 127.0.0.1 + 9990 + testUser + admin1234! + ${build.finalName}.jar + + + + + + \ No newline at end of file diff --git a/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java b/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java new file mode 100755 index 0000000000..79684de1a8 --- /dev/null +++ b/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorld.java @@ -0,0 +1,8 @@ +package com.baeldung.ejb.tutorial; + +import javax.ejb.Remote; + +@Remote +public interface HelloWorld { + String getHelloWorld(); +} diff --git a/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java b/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java new file mode 100755 index 0000000000..f34153d83a --- /dev/null +++ b/ejb/ejb-remote/src/main/java/com/baeldung/ejb/tutorial/HelloWorldBean.java @@ -0,0 +1,19 @@ +package com.baeldung.ejb.tutorial; + +import javax.annotation.Resource; +import javax.ejb.SessionContext; +import javax.ejb.Stateless; + +@Stateless(name = "HelloWorld") +public class HelloWorldBean implements HelloWorld { + + @Resource + private SessionContext context; + + @Override + public String getHelloWorld() { + return "Welcome to EJB Tutorial!"; + } + + +} diff --git a/ejb/ejb-remote/src/main/resources/META-INF/ejb-jar.xml b/ejb/ejb-remote/src/main/resources/META-INF/ejb-jar.xml new file mode 100755 index 0000000000..d6c2200198 --- /dev/null +++ b/ejb/ejb-remote/src/main/resources/META-INF/ejb-jar.xml @@ -0,0 +1,7 @@ + + + remote + + diff --git a/ejb/pom.xml b/ejb/pom.xml new file mode 100755 index 0000000000..8176de7936 --- /dev/null +++ b/ejb/pom.xml @@ -0,0 +1,82 @@ + + + 4.0.0 + com.baeldung.ejb + ejb + 1.0-SNAPSHOT + pom + ejb + EJB Tutorial + + + + jboss-public-repository-group + JBoss Public Maven Repository Group + http://repository.jboss.org/nexus/content/groups/public/ + default + + true + never + + + true + never + + + + + + + + com.baeldung.ejb + ejb-remote + 1.0-SNAPSHOT + ejb + + + + javax + javaee-api + 7.0 + provided + + + + org.wildfly + wildfly-ejb-client-bom + 10.1.0.Final + pom + import + + + + + + + + + maven-compiler-plugin + 3.1 + + 1.8 + 1.8 + + + + + maven-ejb-plugin + 2.4 + + 3.2 + + + + + + + + ejb-remote + ejb-client + + \ No newline at end of file diff --git a/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/AuditFilter.java b/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/AuditFilter.java new file mode 100644 index 0000000000..d24c0a94b3 --- /dev/null +++ b/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/AuditFilter.java @@ -0,0 +1,25 @@ +package com.baeldung.enterprise.patterns.front.controller.filters; + +import javax.servlet.FilterChain; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; +import java.io.IOException; + +public class AuditFilter extends BaseFilter { + @Override + public void doFilter( + ServletRequest request, + ServletResponse response, + FilterChain chain + ) throws IOException, ServletException { + HttpServletRequest httpServletRequest = (HttpServletRequest) request; + HttpSession session = httpServletRequest.getSession(false); + if (session != null && session.getAttribute("username") != null) { + request.setAttribute("username", session.getAttribute("username")); + } + chain.doFilter(request, response); + } +} diff --git a/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/VisitorCounterFilter.java b/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/VisitorCounterFilter.java new file mode 100644 index 0000000000..0ae7cd73fd --- /dev/null +++ b/enterprise-patterns/intercepting-filter-pattern/src/main/java/com/baeldung/enterprise/patterns/front/controller/filters/VisitorCounterFilter.java @@ -0,0 +1,23 @@ +package com.baeldung.enterprise.patterns.front.controller.filters; + +import javax.servlet.FilterChain; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.annotation.WebFilter; +import java.io.IOException; + +@WebFilter(servletNames = "front-controller") +public class VisitorCounterFilter extends BaseFilter { + private int counter; + + @Override + public void doFilter( + ServletRequest request, + ServletResponse response, + FilterChain chain + ) throws IOException, ServletException { + request.setAttribute("counter", ++counter); + chain.doFilter(request, response); + } +} diff --git a/enterprise-patterns/pom.xml b/enterprise-patterns/pom.xml new file mode 100644 index 0000000000..036a61c44a --- /dev/null +++ b/enterprise-patterns/pom.xml @@ -0,0 +1,35 @@ + + + 4.0.0 + + com.baeldung.enterprise.patterns + enterprise-patterns-parent + pom + + spring-dispatcher-servlet + + + + com.baeldung + parent-modules + 1.0.0-SNAPSHOT + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + + + diff --git a/feign/README.md b/feign/README.md new file mode 100644 index 0000000000..149f7320d9 --- /dev/null +++ b/feign/README.md @@ -0,0 +1,8 @@ +## Feign Hypermedia Client ## + +This is the implementation of a [spring-hypermedia-api][1] client using Feign. + +[1]: https://github.com/eugenp/spring-hypermedia-api + +###Relevant Articles: +- [Intro to Feign](http://www.baeldung.com/intro-to-feign) diff --git a/feign/pom.xml b/feign/pom.xml new file mode 100644 index 0000000000..af61883f1b --- /dev/null +++ b/feign/pom.xml @@ -0,0 +1,99 @@ + + + 4.0.0 + + com.baeldung.feign + feign-client + 1.0.0-SNAPSHOT + + + com.baeldung + parent-modules + 1.0.0-SNAPSHOT + .. + + + + UTF-8 + + + + + io.github.openfeign + feign-core + 9.3.1 + + + io.github.openfeign + feign-okhttp + 9.3.1 + + + io.github.openfeign + feign-gson + 9.3.1 + + + io.github.openfeign + feign-slf4j + 9.3.1 + + + org.slf4j + slf4j-api + 1.7.21 + + + org.apache.logging.log4j + log4j-core + 2.6.2 + + + org.apache.logging.log4j + log4j-slf4j-impl + 2.6.2 + + + org.projectlombok + lombok + 1.16.10 + provided + + + junit + junit + 4.12 + test + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.19.1 + + true + + + + org.springframework.boot + spring-boot-maven-plugin + 1.4.0.RELEASE + + + + + diff --git a/feign/src/main/java/com/baeldung/feign/BookControllerFeignClientBuilder.java b/feign/src/main/java/com/baeldung/feign/BookControllerFeignClientBuilder.java new file mode 100644 index 0000000000..9c0c359d88 --- /dev/null +++ b/feign/src/main/java/com/baeldung/feign/BookControllerFeignClientBuilder.java @@ -0,0 +1,26 @@ +package com.baeldung.feign; + +import com.baeldung.feign.clients.BookClient; +import feign.Feign; +import feign.Logger; +import feign.gson.GsonDecoder; +import feign.gson.GsonEncoder; +import feign.okhttp.OkHttpClient; +import feign.slf4j.Slf4jLogger; +import lombok.Getter; + +@Getter +public class BookControllerFeignClientBuilder { + private BookClient bookClient = createClient(BookClient.class, + "http://localhost:8081/api/books"); + + private static T createClient(Class type, String uri) { + return Feign.builder() + .client(new OkHttpClient()) + .encoder(new GsonEncoder()) + .decoder(new GsonDecoder()) + .logger(new Slf4jLogger(type)) + .logLevel(Logger.Level.FULL) + .target(type, uri); + } +} diff --git a/feign/src/main/java/com/baeldung/feign/clients/BookClient.java b/feign/src/main/java/com/baeldung/feign/clients/BookClient.java new file mode 100644 index 0000000000..df20ef8f93 --- /dev/null +++ b/feign/src/main/java/com/baeldung/feign/clients/BookClient.java @@ -0,0 +1,21 @@ +package com.baeldung.feign.clients; + +import com.baeldung.feign.models.Book; +import com.baeldung.feign.models.BookResource; +import feign.Headers; +import feign.Param; +import feign.RequestLine; + +import java.util.List; + +public interface BookClient { + @RequestLine("GET /{isbn}") + BookResource findByIsbn(@Param("isbn") String isbn); + + @RequestLine("GET") + List findAll(); + + @RequestLine("POST") + @Headers("Content-Type: application/json") + void create(Book book); +} diff --git a/feign/src/main/java/com/baeldung/feign/models/Book.java b/feign/src/main/java/com/baeldung/feign/models/Book.java new file mode 100644 index 0000000000..cda4412e27 --- /dev/null +++ b/feign/src/main/java/com/baeldung/feign/models/Book.java @@ -0,0 +1,18 @@ +package com.baeldung.feign.models; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.ToString; + +@Data +@ToString +@NoArgsConstructor +@AllArgsConstructor +public class Book { + private String isbn; + private String author; + private String title; + private String synopsis; + private String language; +} diff --git a/feign/src/main/java/com/baeldung/feign/models/BookResource.java b/feign/src/main/java/com/baeldung/feign/models/BookResource.java new file mode 100644 index 0000000000..7902db9fe8 --- /dev/null +++ b/feign/src/main/java/com/baeldung/feign/models/BookResource.java @@ -0,0 +1,14 @@ +package com.baeldung.feign.models; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; +import lombok.ToString; + +@Data +@ToString +@NoArgsConstructor +@AllArgsConstructor +public class BookResource { + private Book book; +} diff --git a/feign/src/main/resources/log4j2.xml b/feign/src/main/resources/log4j2.xml new file mode 100644 index 0000000000..659c5fda0e --- /dev/null +++ b/feign/src/main/resources/log4j2.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java b/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java new file mode 100644 index 0000000000..e7e058a336 --- /dev/null +++ b/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java @@ -0,0 +1,58 @@ +package com.baeldung.feign.clients; + +import com.baeldung.feign.BookControllerFeignClientBuilder; +import com.baeldung.feign.models.Book; +import com.baeldung.feign.models.BookResource; +import lombok.extern.slf4j.Slf4j; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +import java.util.List; +import java.util.UUID; +import java.util.stream.Collectors; + +import static org.hamcrest.CoreMatchers.containsString; +import static org.hamcrest.CoreMatchers.is; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +@Slf4j +@RunWith(JUnit4.class) +public class BookClientTest { + private BookClient bookClient; + + @Before + public void setup() { + BookControllerFeignClientBuilder feignClientBuilder = new BookControllerFeignClientBuilder(); + bookClient = feignClientBuilder.getBookClient(); + } + + @Test + public void givenBookClient_shouldRunSuccessfully() throws Exception { + List books = bookClient.findAll().stream() + .map(BookResource::getBook) + .collect(Collectors.toList()); + assertTrue(books.size() > 2); + log.info("{}", books); + } + + @Test + public void givenBookClient_shouldFindOneBook() throws Exception { + Book book = bookClient.findByIsbn("0151072558").getBook(); + assertThat(book.getAuthor(), containsString("Orwell")); + log.info("{}", book); + } + + @Test + public void givenBookClient_shouldPostBook() throws Exception { + String isbn = UUID.randomUUID().toString(); + Book book = new Book(isbn, "Me", "It's me!", null, null); + bookClient.create(book); + + book = bookClient.findByIsbn(isbn).getBook(); + assertThat(book.getAuthor(), is("Me")); + log.info("{}", book); + } +} diff --git a/flyway/.gitignore b/flyway/.gitignore new file mode 100644 index 0000000000..9cdd5b9542 --- /dev/null +++ b/flyway/.gitignore @@ -0,0 +1,4 @@ +.classpath +.project +.settings +target/ \ No newline at end of file diff --git a/flyway/README.MD b/flyway/README.MD new file mode 100644 index 0000000000..1b3f3c05ee --- /dev/null +++ b/flyway/README.MD @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Database Migrations with Flyway](http://www.baeldung.com/database-migrations-with-flyway) diff --git a/flyway/db/migration/V1_0__create_employee_schema.sql b/flyway/db/migration/V1_0__create_employee_schema.sql new file mode 100644 index 0000000000..b6167bfacc --- /dev/null +++ b/flyway/db/migration/V1_0__create_employee_schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE IF NOT EXISTS `employee` ( + +`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, +`name` varchar(20), +`email` varchar(50), +`date_of_birth` timestamp + +)ENGINE=InnoDB DEFAULT CHARSET=UTF8; \ No newline at end of file diff --git a/flyway/db/migration/V2_0__create_department_schema.sql b/flyway/db/migration/V2_0__create_department_schema.sql new file mode 100644 index 0000000000..c85cc81353 --- /dev/null +++ b/flyway/db/migration/V2_0__create_department_schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE IF NOT EXISTS `department` ( + +`id` int NOT NULL AUTO_INCREMENT PRIMARY KEY, +`name` varchar(20) + +)ENGINE=InnoDB DEFAULT CHARSET=UTF8; + +ALTER TABLE `employee` ADD `dept_id` int AFTER `email`; \ No newline at end of file diff --git a/flyway/myFlywayConfig.properties b/flyway/myFlywayConfig.properties new file mode 100644 index 0000000000..8bb102930a --- /dev/null +++ b/flyway/myFlywayConfig.properties @@ -0,0 +1,5 @@ +flyway.user=root +flyway.password=mysql +flyway.schemas=app-db +flyway.url=jdbc:mysql://localhost:3306/ +flyway.locations=filesystem:db/migration \ No newline at end of file diff --git a/flyway/pom.xml b/flyway/pom.xml new file mode 100644 index 0000000000..d53bc7dc41 --- /dev/null +++ b/flyway/pom.xml @@ -0,0 +1,34 @@ + + 4.0.0 + com.baeldung + flyway + 1.0 + flyway + A sample project to demonstrate Flyway migrations + + + mysql + mysql-connector-java + 6.0.3 + + + + + + org.flywaydb + flyway-maven-plugin + 4.0.3 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.8 + 1.8 + + + + + \ No newline at end of file diff --git a/gatling/README.md b/gatling/README.md new file mode 100644 index 0000000000..5c81c4bd6a --- /dev/null +++ b/gatling/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Intro to Gatling](http://www.baeldung.com/introduction-to-gatling) diff --git a/gatling/pom.xml b/gatling/pom.xml new file mode 100644 index 0000000000..273797d76c --- /dev/null +++ b/gatling/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + org.baeldung + gatling + 1.0-SNAPSHOT + + + 1.8 + 1.8 + 2.11.7 + UTF-8 + 2.2.0 + 3.2.2 + + + + + + io.gatling + gatling-app + ${gatling.version} + + + io.gatling + gatling-recorder + ${gatling.version} + + + io.gatling.highcharts + gatling-charts-highcharts + ${gatling.version} + + + org.scala-lang + scala-library + ${scala.version} + + + + + + + io.gatling.highcharts + gatling-charts-highcharts + + + io.gatling + gatling-app + + + io.gatling + gatling-recorder + + + org.scala-lang + scala-library + + + + + src/test/scala + + + + net.alchim31.maven + scala-maven-plugin + ${scala-maven-plugin.version} + + + + + + net.alchim31.maven + scala-maven-plugin + + + + testCompile + + + + -Ybackend:GenBCode + -Ydelambdafy:method + -target:jvm-1.8 + -deprecation + -feature + -unchecked + -language:implicitConversions + -language:postfixOps + + + + + + + io.gatling + gatling-maven-plugin + ${gatling.version} + + + test + execute + + + + + + diff --git a/gatling/src/test/resources/gatling.conf b/gatling/src/test/resources/gatling.conf new file mode 100644 index 0000000000..8bfa0ed366 --- /dev/null +++ b/gatling/src/test/resources/gatling.conf @@ -0,0 +1,127 @@ +######################### +# Gatling Configuration # +######################### + +# This file contains all the settings configurable for Gatling with their default values + +gatling { + core { + #outputDirectoryBaseName = "" # The prefix for each simulation result folder (then suffixed by the report generation timestamp) + #runDescription = "" # The description for this simulation run, displayed in each report + #encoding = "utf-8" # Encoding to use throughout Gatling for file and string manipulation + #simulationClass = "" # The FQCN of the simulation to run (when used in conjunction with noReports, the simulation for which assertions will be validated) + #mute = false # When set to true, don't ask for simulation name nor run description (currently only used by Gatling SBT plugin) + #elFileBodiesCacheMaxCapacity = 200 # Cache size for request body EL templates, set to 0 to disable + #rawFileBodiesCacheMaxCapacity = 200 # Cache size for request body Raw templates, set to 0 to disable + #rawFileBodiesInMemoryMaxSize = 1000 # Below this limit, raw file bodies will be cached in memory + + extract { + regex { + #cacheMaxCapacity = 200 # Cache size for the compiled regexes, set to 0 to disable caching + } + xpath { + #cacheMaxCapacity = 200 # Cache size for the compiled XPath queries, set to 0 to disable caching + } + jsonPath { + #cacheMaxCapacity = 200 # Cache size for the compiled jsonPath queries, set to 0 to disable caching + #preferJackson = false # When set to true, prefer Jackson over Boon for JSON-related operations + } + css { + #cacheMaxCapacity = 200 # Cache size for the compiled CSS selectors queries, set to 0 to disable caching + } + } + + directory { + #data = user-files/data # Folder where user's data (e.g. files used by Feeders) is located + #bodies = user-files/bodies # Folder where bodies are located + #simulations = user-files/simulations # Folder where the bundle's simulations are located + #reportsOnly = "" # If set, name of report folder to look for in order to generate its report + #binaries = "" # If set, name of the folder where compiles classes are located: Defaults to GATLING_HOME/target. + #results = results # Name of the folder where all reports folder are located + } + } + charting { + #noReports = false # When set to true, don't generate HTML reports + #maxPlotPerSeries = 1000 # Number of points per graph in Gatling reports + #useGroupDurationMetric = false # Switch group timings from cumulated response time to group duration. + indicators { + #lowerBound = 800 # Lower bound for the requests' response time to track in the reports and the console summary + #higherBound = 1200 # Higher bound for the requests' response time to track in the reports and the console summary + #percentile1 = 50 # Value for the 1st percentile to track in the reports, the console summary and Graphite + #percentile2 = 75 # Value for the 2nd percentile to track in the reports, the console summary and Graphite + #percentile3 = 95 # Value for the 3rd percentile to track in the reports, the console summary and Graphite + #percentile4 = 99 # Value for the 4th percentile to track in the reports, the console summary and Graphite + } + } + http { + #fetchedCssCacheMaxCapacity = 200 # Cache size for CSS parsed content, set to 0 to disable + #fetchedHtmlCacheMaxCapacity = 200 # Cache size for HTML parsed content, set to 0 to disable + #perUserCacheMaxCapacity = 200 # Per virtual user cache size, set to 0 to disable + #warmUpUrl = "http://gatling.io" # The URL to use to warm-up the HTTP stack (blank means disabled) + #enableGA = true # Very light Google Analytics, please support + ssl { + keyStore { + #type = "" # Type of SSLContext's KeyManagers store + #file = "" # Location of SSLContext's KeyManagers store + #password = "" # Password for SSLContext's KeyManagers store + #algorithm = "" # Algorithm used SSLContext's KeyManagers store + } + trustStore { + #type = "" # Type of SSLContext's TrustManagers store + #file = "" # Location of SSLContext's TrustManagers store + #password = "" # Password for SSLContext's TrustManagers store + #algorithm = "" # Algorithm used by SSLContext's TrustManagers store + } + } + ahc { + #keepAlive = true # Allow pooling HTTP connections (keep-alive header automatically added) + #connectTimeout = 60000 # Timeout when establishing a connection + #pooledConnectionIdleTimeout = 60000 # Timeout when a connection stays unused in the pool + #readTimeout = 60000 # Timeout when a used connection stays idle + #maxRetry = 2 # Number of times that a request should be tried again + #requestTimeout = 60000 # Timeout of the requests + #acceptAnyCertificate = true # When set to true, doesn't validate SSL certificates + #httpClientCodecMaxInitialLineLength = 4096 # Maximum length of the initial line of the response (e.g. "HTTP/1.0 200 OK") + #httpClientCodecMaxHeaderSize = 8192 # Maximum size, in bytes, of each request's headers + #httpClientCodecMaxChunkSize = 8192 # Maximum length of the content or each chunk + #webSocketMaxFrameSize = 10240000 # Maximum frame payload size + #sslEnabledProtocols = [TLSv1.2, TLSv1.1, TLSv1] # Array of enabled protocols for HTTPS, if empty use the JDK defaults + #sslEnabledCipherSuites = [] # Array of enabled cipher suites for HTTPS, if empty use the JDK defaults + #sslSessionCacheSize = 0 # SSLSession cache size, set to 0 to use JDK's default + #sslSessionTimeout = 0 # SSLSession timeout in seconds, set to 0 to use JDK's default (24h) + #useOpenSsl = false # if OpenSSL should be used instead of JSSE (requires tcnative jar) + #useNativeTransport = false # if native transport should be used instead of Java NIO (requires netty-transport-native-epoll, currently Linux only) + #usePooledMemory = true # if Gatling should use pooled memory + #tcpNoDelay = true + #soReuseAddress = false + #soLinger = -1 + #soSndBuf = -1 + #soRcvBuf = -1 + } + dns { + #queryTimeout = 5000 # Timeout of each DNS query in millis + #maxQueriesPerResolve = 3 # Maximum allowed number of DNS queries for a given name resolution + } + } + data { + #writers = [console, file] # The list of DataWriters to which Gatling write simulation data (currently supported : console, file, graphite, jdbc) + console { + #light = false # When set to true, displays a light version without detailed request stats + } + file { + #bufferSize = 8192 # FileDataWriter's internal data buffer size, in bytes + } + leak { + #noActivityTimeout = 30 # Period, in seconds, for which Gatling may have no activity before considering a leak may be happening + } + graphite { + #light = false # only send the all* stats + #host = "localhost" # The host where the Carbon server is located + #port = 2003 # The port to which the Carbon server listens to (2003 is default for plaintext, 2004 is default for pickle) + #protocol = "tcp" # The protocol used to send data to Carbon (currently supported : "tcp", "udp") + #rootPathPrefix = "gatling" # The common prefix of all metrics sent to Graphite + #bufferSize = 8192 # GraphiteDataWriter's internal data buffer size, in bytes + #writeInterval = 1 # GraphiteDataWriter's write interval, in seconds + } + } +} diff --git a/gatling/src/test/resources/logback.xml b/gatling/src/test/resources/logback.xml new file mode 100644 index 0000000000..b9ba6255a0 --- /dev/null +++ b/gatling/src/test/resources/logback.xml @@ -0,0 +1,22 @@ + + + + + + %d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx + false + + + + + + + + + + + + + + + diff --git a/gatling/src/test/resources/recorder.conf b/gatling/src/test/resources/recorder.conf new file mode 100644 index 0000000000..969b9e8668 --- /dev/null +++ b/gatling/src/test/resources/recorder.conf @@ -0,0 +1,53 @@ +recorder { + core { + #mode = "Proxy" + #encoding = "utf-8" # The encoding used for reading/writing request bodies and the generated simulation + #outputFolder = "" # The folder where generated simulation will we written + #package = "" # The package's name of the generated simulation + #className = "RecordedSimulation" # The name of the generated Simulation class + #thresholdForPauseCreation = 100 # The minimum time, in milliseconds, that must pass between requests to trigger a pause creation + #saveConfig = false # When set to true, the configuration from the Recorder GUI overwrites this configuration + #headless = false # When set to true, run the Recorder in headless mode instead of the GUI + #harFilePath = "" # The path of the HAR file to convert + } + filters { + #filterStrategy = "Disabled" # The selected filter resources filter strategy (currently supported : "Disabled", "BlackList", "WhiteList") + #whitelist = [] # The list of ressources patterns that are part of the Recorder's whitelist + #blacklist = [] # The list of ressources patterns that are part of the Recorder's blacklist + } + http { + #automaticReferer = true # When set to false, write the referer + enable 'disableAutoReferer' in the generated simulation + #followRedirect = true # When set to false, write redirect requests + enable 'disableFollowRedirect' in the generated simulation + #removeCacheHeaders = true # When set to true, removes from the generated requests headers leading to request caching + #inferHtmlResources = true # When set to true, add inferred resources + set 'inferHtmlResources' with the configured blacklist/whitelist in the generated simulation + #checkResponseBodies = false # When set to true, save response bodies as files and add raw checks in the generated simulation + } + proxy { + #port = 8000 # Local port used by Gatling's Proxy for HTTP/HTTPS + https { + #mode = "SelfSignedCertificate" # The selected "HTTPS mode" (currently supported : "SelfSignedCertificate", "ProvidedKeyStore", "GatlingCertificateAuthority", "CustomCertificateAuthority") + keyStore { + #path = "" # The path of the custom key store + #password = "" # The password for this key store + #type = "JKS" # The type of the key store (currently supported: "JKS") + } + certificateAuthority { + #certificatePath = "" # The path of the custom certificate + #privateKeyPath = "" # The certificate's private key path + } + } + outgoing { + #host = "" # The outgoing proxy's hostname + #username = "" # The username to use to connect to the outgoing proxy + #password = "" # The password corresponding to the user to use to connect to the outgoing proxy + #port = 0 # The HTTP port to use to connect to the outgoing proxy + #sslPort = 0 # If set, The HTTPS port to use to connect to the outgoing proxy + } + } + netty { + #maxInitialLineLength = 10000 # Maximum length of the initial line of the response (e.g. "HTTP/1.0 200 OK") + #maxHeaderSize = 20000 # Maximum size, in bytes, of each request's headers + #maxChunkSize = 8192 # Maximum length of the content or each chunk + #maxContentLength = 100000000 # Maximum length of the aggregated content of each response + } +} diff --git a/gatling/src/test/scala/Engine.scala b/gatling/src/test/scala/Engine.scala new file mode 100644 index 0000000000..32c85fbe45 --- /dev/null +++ b/gatling/src/test/scala/Engine.scala @@ -0,0 +1,13 @@ +import io.gatling.app.Gatling +import io.gatling.core.config.GatlingPropertiesBuilder + +object Engine extends App { + + val props = new GatlingPropertiesBuilder + props.dataDirectory(IDEPathHelper.dataDirectory.toString) + props.resultsDirectory(IDEPathHelper.resultsDirectory.toString) + props.bodiesDirectory(IDEPathHelper.bodiesDirectory.toString) + props.binariesDirectory(IDEPathHelper.mavenBinariesDirectory.toString) + + Gatling.fromMap(props.build) +} diff --git a/gatling/src/test/scala/IDEPathHelper.scala b/gatling/src/test/scala/IDEPathHelper.scala new file mode 100644 index 0000000000..0abf6a42ef --- /dev/null +++ b/gatling/src/test/scala/IDEPathHelper.scala @@ -0,0 +1,22 @@ +import java.nio.file.Path + +import io.gatling.commons.util.PathHelper._ + +object IDEPathHelper { + + val gatlingConfUrl: Path = getClass.getClassLoader.getResource("gatling.conf").toURI + val projectRootDir = gatlingConfUrl.ancestor(3) + + val mavenSourcesDirectory = projectRootDir / "src" / "test" / "scala" + val mavenResourcesDirectory = projectRootDir / "src" / "test" / "resources" + val mavenTargetDirectory = projectRootDir / "target" + val mavenBinariesDirectory = mavenTargetDirectory / "test-classes" + + val dataDirectory = mavenResourcesDirectory / "data" + val bodiesDirectory = mavenResourcesDirectory / "bodies" + + val recorderOutputDirectory = mavenSourcesDirectory + val resultsDirectory = mavenTargetDirectory / "gatling" + + val recorderConfigFile = mavenResourcesDirectory / "recorder.conf" +} diff --git a/gatling/src/test/scala/Recorder.scala b/gatling/src/test/scala/Recorder.scala new file mode 100644 index 0000000000..6ad320618b --- /dev/null +++ b/gatling/src/test/scala/Recorder.scala @@ -0,0 +1,12 @@ +import io.gatling.recorder.GatlingRecorder +import io.gatling.recorder.config.RecorderPropertiesBuilder + +object Recorder extends App { + + val props = new RecorderPropertiesBuilder + props.simulationOutputFolder(IDEPathHelper.recorderOutputDirectory.toString) + props.simulationPackage("org.baeldung") + props.bodiesFolder(IDEPathHelper.bodiesDirectory.toString) + + GatlingRecorder.fromMap(props.build, Some(IDEPathHelper.recorderConfigFile)) +} diff --git a/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala b/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala new file mode 100644 index 0000000000..cdbef1bf3c --- /dev/null +++ b/gatling/src/test/scala/org/baeldung/RecordedSimulation.scala @@ -0,0 +1,46 @@ +package org.baeldung + +import scala.concurrent.duration._ + +import io.gatling.core.Predef._ +import io.gatling.http.Predef._ +import io.gatling.jdbc.Predef._ + +class RecordedSimulation extends Simulation { + + val httpProtocol = http + .baseURL("http://computer-database.gatling.io") + .inferHtmlResources(BlackList(""".*\.css""", """.*\.js""", """.*\.ico"""), WhiteList()) + .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8") + .acceptEncodingHeader("gzip, deflate") + .acceptLanguageHeader("it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3") + .userAgentHeader("Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0") + + + + + + val scn = scenario("RecordedSimulation") + .exec(http("request_0") + .get("/")) + .pause(5) + .exec(http("request_1") + .get("/computers?f=amstrad")) + .pause(4) + .exec(http("request_2") + .get("/computers/412")) + .pause(2) + .exec(http("request_3") + .get("/")) + .pause(2) + .exec(http("request_4") + .get("/computers?p=1")) + .pause(1) + .exec(http("request_5") + .get("/computers?p=2")) + .pause(2) + .exec(http("request_6") + .get("/computers?p=3")) + + setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol) +} diff --git a/gson/.gitignore b/gson/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/gson/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/gson/README.md b/gson/README.md new file mode 100644 index 0000000000..60c80477b1 --- /dev/null +++ b/gson/README.md @@ -0,0 +1,8 @@ +========= + +## GSON Cookbooks and Examples + + +### Relevant Articles: +- [Gson Deserialization Cookbook](http://www.baeldung.com/gson-deserialization-guide) +- [Jackson vs Gson](http://www.baeldung.com/jackson-vs-gson) diff --git a/gson/pom.xml b/gson/pom.xml new file mode 100644 index 0000000000..d864c289c2 --- /dev/null +++ b/gson/pom.xml @@ -0,0 +1,152 @@ + + 4.0.0 + com.baeldung + gson + 0.1-SNAPSHOT + + gson + + + + + + + joda-time + joda-time + 2.4 + + + + com.google.guava + guava + ${guava.version} + + + commons-io + commons-io + 2.4 + + + + org.apache.commons + commons-collections4 + 4.0 + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + + + + + + com.google.code.gson + gson + ${gson.version} + + + + + + junit + junit + ${junit.version} + test + + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + gson + + + src/main/resources + true + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.8 + 1.8 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + + + + + + + 4.3.11.Final + 5.1.38 + + + 2.3 + + + 1.7.13 + 1.1.3 + + + 5.1.3.Final + + + 19.0 + 3.4 + + + 1.3 + 4.12 + 1.10.19 + + 4.4.1 + 4.5 + + 2.9.0 + + + 3.5.1 + 2.6 + 2.19.1 + 2.7 + 1.4.18 + + + + \ No newline at end of file diff --git a/gson/src/main/java/org/baeldung/gson/entities/ActorGson.java b/gson/src/main/java/org/baeldung/gson/entities/ActorGson.java new file mode 100644 index 0000000000..92468683bf --- /dev/null +++ b/gson/src/main/java/org/baeldung/gson/entities/ActorGson.java @@ -0,0 +1,57 @@ +package org.baeldung.gson.entities; + +import java.text.DateFormat; +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.List; +import java.util.TimeZone; + +public class ActorGson { + + private String imdbId; + private Date dateOfBirth; + private List filmography; + + public ActorGson(String imdbId, Date dateOfBirth, List filmography) { + super(); + this.imdbId = imdbId; + this.dateOfBirth = dateOfBirth; + this.filmography = filmography; + } + + @Override + public String toString() { + return "ActorGson [imdbId=" + imdbId + ", dateOfBirth=" + formatDateOfBirth() + ", filmography=" + filmography + "]"; + } + + public String getImdbId() { + return imdbId; + } + + public void setImdbId(String imdbId) { + this.imdbId = imdbId; + } + + public Date getDateOfBirth() { + return dateOfBirth; + } + + public void setDateOfBirth(Date dateOfBirth) { + this.dateOfBirth = dateOfBirth; + } + + public List getFilmography() { + return filmography; + } + + public void setFilmography(List filmography) { + this.filmography = filmography; + } + + private String formatDateOfBirth() { + final DateFormat formatter = new SimpleDateFormat("EEE MMM dd hh:mm:ss zzz yyyy"); + formatter.setTimeZone(TimeZone.getTimeZone("GMT")); + return formatter.format(dateOfBirth); + } + +} \ No newline at end of file diff --git a/gson/src/main/java/org/baeldung/gson/entities/Movie.java b/gson/src/main/java/org/baeldung/gson/entities/Movie.java new file mode 100644 index 0000000000..ee688f228d --- /dev/null +++ b/gson/src/main/java/org/baeldung/gson/entities/Movie.java @@ -0,0 +1,48 @@ +package org.baeldung.gson.entities; + +import java.util.List; + +public class Movie { + + private String imdbId; + private String director; + private List actors; + + public Movie(String imdbID, String director, List actors) { + super(); + this.imdbId = imdbID; + this.director = director; + this.actors = actors; + } + + @Override + public String toString() { + return "Movie [imdbId=" + imdbId + ", director=" + director + ", actors=" + actors + "]"; + } + + public String getImdbID() { + return imdbId; + } + + public void setImdbID(String imdbID) { + this.imdbId = imdbID; + } + + public String getDirector() { + return director; + } + + public void setDirector(String director) { + this.director = director; + } + + public List getActors() { + return actors; + } + + public void setActors(List actors) { + this.actors = actors; + } + + +} \ No newline at end of file diff --git a/gson/src/main/java/org/baeldung/gson/entities/MovieWithNullValue.java b/gson/src/main/java/org/baeldung/gson/entities/MovieWithNullValue.java new file mode 100644 index 0000000000..fe62d51ffb --- /dev/null +++ b/gson/src/main/java/org/baeldung/gson/entities/MovieWithNullValue.java @@ -0,0 +1,46 @@ +package org.baeldung.gson.entities; + +import com.google.gson.annotations.Expose; + +import java.util.List; + +public class MovieWithNullValue { + + @Expose + private String imdbId; + private String director; + + @Expose + private List actors; + + public MovieWithNullValue(String imdbID, String director, List actors) { + super(); + this.imdbId = imdbID; + this.director = director; + this.actors = actors; + } + + public String getImdbID() { + return imdbId; + } + + public void setImdbID(String imdbID) { + this.imdbId = imdbID; + } + + public String getDirector() { + return director; + } + + public void setDirector(String director) { + this.director = director; + } + + public List getActors() { + return actors; + } + + public void setActors(List actors) { + this.actors = actors; + } +} \ No newline at end of file diff --git a/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonDeserializer.java b/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonDeserializer.java new file mode 100644 index 0000000000..016e3ba1e2 --- /dev/null +++ b/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonDeserializer.java @@ -0,0 +1,46 @@ +package org.baeldung.gson.serialization; + +import java.lang.reflect.Type; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.ArrayList; + +import org.baeldung.gson.entities.ActorGson; + +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +public class ActorGsonDeserializer implements JsonDeserializer { + + private final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX"); + + @Override + public ActorGson deserialize(JsonElement json, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException { + + final JsonObject jsonObject = json.getAsJsonObject(); + + final JsonElement jsonImdbId = jsonObject.get("imdbId"); + final JsonElement jsonDateOfBirth = jsonObject.get("dateOfBirth"); + final JsonArray jsonFilmography = jsonObject.getAsJsonArray("filmography"); + + final ArrayList filmList = new ArrayList(); + if (jsonFilmography != null) { + for (int i = 0; i < jsonFilmography.size(); i++) { + filmList.add(jsonFilmography.get(i).getAsString()); + } + } + + ActorGson actorGson = null; + try { + actorGson = new ActorGson(jsonImdbId.getAsString(), sdf.parse(jsonDateOfBirth.getAsString()), filmList); + } catch (final ParseException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return actorGson; + } +} \ No newline at end of file diff --git a/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonSerializer.java b/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonSerializer.java new file mode 100644 index 0000000000..8f2cd10f5a --- /dev/null +++ b/gson/src/main/java/org/baeldung/gson/serialization/ActorGsonSerializer.java @@ -0,0 +1,33 @@ +package org.baeldung.gson.serialization; + +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; +import org.baeldung.gson.entities.ActorGson; + +import java.lang.reflect.Type; +import java.text.SimpleDateFormat; +import java.util.List; +import java.util.stream.Collectors; + +public class ActorGsonSerializer implements JsonSerializer { + + private SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); + + @Override + public JsonElement serialize(ActorGson actor, Type type, JsonSerializationContext jsonSerializationContext) { + + JsonObject actorJsonObj = new JsonObject(); + actorJsonObj.addProperty("IMDB Code", actor.getImdbId()); + actorJsonObj.addProperty("Date Of Birth", actor.getDateOfBirth() != null ? sdf.format(actor.getDateOfBirth()) : null); + actorJsonObj.addProperty("N° Film: ", actor.getFilmography() != null ? actor.getFilmography().size() : null); + actorJsonObj.addProperty("filmography", actor.getFilmography() != null ? convertFilmography(actor.getFilmography()) : null); + + return actorJsonObj; + } + + private String convertFilmography(List filmography) { + return filmography.stream().collect(Collectors.joining("-")); + } +} \ No newline at end of file diff --git a/gson/src/main/resources/logback.xml b/gson/src/main/resources/logback.xml new file mode 100644 index 0000000000..1146dade63 --- /dev/null +++ b/gson/src/main/resources/logback.xml @@ -0,0 +1,20 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/Foo.java b/gson/src/test/java/org/baeldung/gson/deserialization/Foo.java new file mode 100644 index 0000000000..84f8aaef13 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/Foo.java @@ -0,0 +1,61 @@ +package org.baeldung.gson.deserialization; + +public class Foo { + public int intValue; + public String stringValue; + + public Foo(final int intValue, final String stringValue) { + this.intValue = intValue; + this.stringValue = stringValue; + } + + public Foo(final String stringValue) { + this.stringValue = stringValue; + } + + public Foo() { + super(); + } + + // API + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = (prime * result) + intValue; + result = (prime * result) + ((stringValue == null) ? 0 : stringValue.hashCode()); + return result; + } + + @Override + public boolean equals(final Object obj) { + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + final Foo other = (Foo) obj; + if (intValue != other.intValue) { + return false; + } + if (stringValue == null) { + if (other.stringValue != null) { + return false; + } + } else if (!stringValue.equals(other.stringValue)) { + return false; + } + return true; + } + + @Override + public String toString() { + return "TargetClass{" + "intValue= " + intValue + ", stringValue= " + stringValue + '}'; + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializer.java b/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializer.java new file mode 100644 index 0000000000..17c1dfae19 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializer.java @@ -0,0 +1,26 @@ +package org.baeldung.gson.deserialization; + +import java.lang.reflect.Type; + +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonParseException; + +public class FooDeserializer implements JsonDeserializer { + + @Override + public Foo[] deserialize(final JsonElement json, final Type typeOfT, final JsonDeserializationContext context) throws JsonParseException { + final JsonArray jArray = json.getAsJsonArray(); + final Foo[] scArray = new Foo[jArray.size()]; + int index = 0; + for (final JsonElement jElement : jArray) { + final int i = jElement.getAsJsonObject().get("intValue").getAsInt(); + final String s = jElement.getAsJsonObject().get("stringValue").getAsString(); + scArray[index++] = new Foo(i, s); + } + return scArray; + } + +} \ No newline at end of file diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializerFromJsonWithDifferentFields.java b/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializerFromJsonWithDifferentFields.java new file mode 100644 index 0000000000..d4eaa39ac5 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/FooDeserializerFromJsonWithDifferentFields.java @@ -0,0 +1,21 @@ +package org.baeldung.gson.deserialization; + +import java.lang.reflect.Type; + +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; + +public class FooDeserializerFromJsonWithDifferentFields implements JsonDeserializer { + + @Override + public Foo deserialize(final JsonElement jElement, final Type typeOfT, final JsonDeserializationContext context) throws JsonParseException { + final JsonObject jObject = jElement.getAsJsonObject(); + final int intValue = jObject.get("valueInt").getAsInt(); + final String stringValue = jObject.get("valueString").getAsString(); + return new Foo(intValue, stringValue); + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/FooInstanceCreator.java b/gson/src/test/java/org/baeldung/gson/deserialization/FooInstanceCreator.java new file mode 100644 index 0000000000..4df3986ec3 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/FooInstanceCreator.java @@ -0,0 +1,14 @@ +package org.baeldung.gson.deserialization; + +import java.lang.reflect.Type; + +import com.google.gson.InstanceCreator; + +public class FooInstanceCreator implements InstanceCreator { + + @Override + public Foo createInstance(Type type) { + return new Foo("sample"); + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/FooWithInner.java b/gson/src/test/java/org/baeldung/gson/deserialization/FooWithInner.java new file mode 100644 index 0000000000..705e534e77 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/FooWithInner.java @@ -0,0 +1,24 @@ +package org.baeldung.gson.deserialization; + +public class FooWithInner { + public int intValue; + public String stringValue; + public InnerFoo innerFoo; + + public FooWithInner(int intValue, String stringValue, String name) { + super(); + this.intValue = intValue; + this.stringValue = stringValue; + this.innerFoo = new InnerFoo(name); + } + + public class InnerFoo { + public String name; + + public InnerFoo(String name) { + super(); + this.name = name; + } + + } +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/GenericFoo.java b/gson/src/test/java/org/baeldung/gson/deserialization/GenericFoo.java new file mode 100644 index 0000000000..954cf007cf --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/GenericFoo.java @@ -0,0 +1,18 @@ +package org.baeldung.gson.deserialization; + +public class GenericFoo { + + public T theValue; + + public GenericFoo(final T value) { + theValue = value; + } + + // + + @Override + public final String toString() { + return "GenericTargetClass{" + "intField=" + theValue + '}'; + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java b/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java new file mode 100644 index 0000000000..3844c55cd8 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/GsonDeserializeTest.java @@ -0,0 +1,40 @@ +package org.baeldung.gson.deserialization; + +import java.text.ParseException; + +import org.baeldung.gson.entities.ActorGson; +import org.baeldung.gson.entities.Movie; +import org.baeldung.gson.serialization.ActorGsonDeserializer; +import org.junit.Assert; +import org.junit.Test; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; + +public class GsonDeserializeTest { + @Test + public void whenSimpleDeserialize_thenCorrect() throws ParseException { + + final String jsonInput = "{\"imdbId\":\"tt0472043\",\"actors\":" + "[{\"imdbId\":\"nm2199632\",\"dateOfBirth\":\"Tue Sep 21 11:00:00 GMT 1982\",\"filmography\":" + "[\"Apocalypto\",\"Beatdown\",\"Wind Walkers\"]}]}"; + + final Gson gson = new GsonBuilder().setDateFormat("EEE MMM dd hh:mm:ss zzz yyyy").create(); + + final Movie outputMovie = gson.fromJson(jsonInput, Movie.class); + + final String expectedOutput = "Movie [imdbId=tt0472043, director=null, actors=[ActorGson [imdbId=nm2199632, dateOfBirth=Tue Sep 21 11:00:00 GMT 1982, filmography=[Apocalypto, Beatdown, Wind Walkers]]]]"; + Assert.assertEquals(outputMovie.toString(), expectedOutput); + } + + @Test + public void whenCustomDeserialize_thenCorrect() throws ParseException { + + final String jsonInput = "{\"imdbId\":\"tt0472043\",\"actors\":" + "[{\"imdbId\":\"nm2199632\",\"dateOfBirth\":\"1982-09-21T12:00:00+01:00\",\"filmography\":" + "[\"Apocalypto\",\"Beatdown\",\"Wind Walkers\"]}]}"; + + final Gson gson = new GsonBuilder().registerTypeAdapter(ActorGson.class, new ActorGsonDeserializer()).create(); + + final Movie outputMovie = gson.fromJson(jsonInput, Movie.class); + + final String expectedOutput = "Movie [imdbId=tt0472043, director=null, actors=[ActorGson [imdbId=nm2199632, dateOfBirth=Tue Sep 21 11:00:00 GMT 1982, filmography=[Apocalypto, Beatdown, Wind Walkers]]]]"; + Assert.assertEquals(outputMovie.toString(), expectedOutput); + } +} diff --git a/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java b/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java new file mode 100644 index 0000000000..072a25e749 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/deserialization/test/GsonDeserializationTest.java @@ -0,0 +1,138 @@ +package org.baeldung.gson.deserialization.test; + +import static org.hamcrest.Matchers.hasItem; +import static org.hamcrest.Matchers.instanceOf; +import static org.hamcrest.Matchers.not; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.Collection; + +import org.baeldung.gson.deserialization.Foo; +import org.baeldung.gson.deserialization.FooDeserializerFromJsonWithDifferentFields; +import org.baeldung.gson.deserialization.FooInstanceCreator; +import org.baeldung.gson.deserialization.FooWithInner; +import org.baeldung.gson.deserialization.GenericFoo; +import org.junit.Test; + +import com.google.common.collect.Lists; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParser; +import com.google.gson.reflect.TypeToken; + +public class GsonDeserializationTest { + + // tests - single element + + @Test + public final void whenDeserializingToSimpleObject_thenCorrect() { + final String json = "{\"intValue\":1,\"stringValue\":\"one\"}"; + + final Foo targetObject = new Gson().fromJson(json, Foo.class); + + assertEquals(targetObject.intValue, 1); + assertEquals(targetObject.stringValue, "one"); + } + + @Test + public final void givenJsonHasExtraValues_whenDeserializing_thenCorrect() { + final String json = "{\"intValue\":1,\"stringValue\":\"one\",\"extraString\":\"two\",\"extraFloat\":2.2}"; + final Foo targetObject = new Gson().fromJson(json, Foo.class); + + assertEquals(targetObject.intValue, 1); + assertEquals(targetObject.stringValue, "one"); + } + + @Test + public final void givenJsonHasNonMatchingFields_whenDeserializingWithCustomDeserializer_thenCorrect() { + final String json = "{\"valueInt\":7,\"valueString\":\"seven\"}"; + + final GsonBuilder gsonBldr = new GsonBuilder(); + gsonBldr.registerTypeAdapter(Foo.class, new FooDeserializerFromJsonWithDifferentFields()); + final Foo targetObject = gsonBldr.create().fromJson(json, Foo.class); + + assertEquals(targetObject.intValue, 7); + assertEquals(targetObject.stringValue, "seven"); + } + + @Test + public final void whenDeserializingToGenericObject_thenCorrect() { + final Type typeToken = new TypeToken>() { + }.getType(); + final String json = "{\"theValue\":1}"; + + final GenericFoo targetObject = new Gson().fromJson(json, typeToken); + + assertEquals(targetObject.theValue, new Integer(1)); + } + + // tests - multiple elements + + @Test + public final void givenJsonArrayOfFoos_whenDeserializingToArray_thenCorrect() { + final String json = "[{\"intValue\":1,\"stringValue\":\"one\"}," + "{\"intValue\":2,\"stringValue\":\"two\"}]"; + final Foo[] targetArray = new GsonBuilder().create().fromJson(json, Foo[].class); + + assertThat(Lists.newArrayList(targetArray), hasItem(new Foo(1, "one"))); + assertThat(Lists.newArrayList(targetArray), hasItem(new Foo(2, "two"))); + assertThat(Lists.newArrayList(targetArray), not(hasItem(new Foo(1, "two")))); + } + + @Test + public final void givenJsonArrayOfFoos_whenDeserializingCollection_thenCorrect() { + final String json = "[{\"intValue\":1,\"stringValue\":\"one\"},{\"intValue\":2,\"stringValue\":\"two\"}]"; + final Type targetClassType = new TypeToken>() { + }.getType(); + + final Collection targetCollection = new Gson().fromJson(json, targetClassType); + assertThat(targetCollection, instanceOf(ArrayList.class)); + } + + // + + @Test + public void whenDeserializingJsonIntoElements_thenCorrect() { + final String jsonSourceObject = "{\"valueInt\":7,\"valueString\":\"seven\"}"; + final JsonParser jParser = new JsonParser(); + final JsonElement jElement = jParser.parse(jsonSourceObject); + final JsonObject jObject = jElement.getAsJsonObject(); + final int intValue = jObject.get("valueInt").getAsInt(); + final String stringValue = jObject.get("valueString").getAsString(); + + final Foo targetObject = new Foo(intValue, stringValue); + + assertEquals(targetObject.intValue, 7); + assertEquals(targetObject.stringValue, "seven"); + } + + // new examples + + @Test + public void whenDeserializingToNestedObjects_thenCorrect() { + final String json = "{\"intValue\":1,\"stringValue\":\"one\",\"innerFoo\":{\"name\":\"inner\"}}"; + + final FooWithInner targetObject = new Gson().fromJson(json, FooWithInner.class); + + assertEquals(targetObject.intValue, 1); + assertEquals(targetObject.stringValue, "one"); + assertEquals(targetObject.innerFoo.name, "inner"); + } + + @Test + public void whenDeserializingUsingInstanceCreator_thenCorrect() { + final String json = "{\"intValue\":1}"; + + final GsonBuilder gsonBldr = new GsonBuilder(); + gsonBldr.registerTypeAdapter(Foo.class, new FooInstanceCreator()); + final Foo targetObject = gsonBldr.create().fromJson(json, Foo.class); + + assertEquals(targetObject.intValue, 1); + assertEquals(targetObject.stringValue, "sample"); + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/DifferentNameSerializer.java b/gson/src/test/java/org/baeldung/gson/serialization/DifferentNameSerializer.java new file mode 100644 index 0000000000..9cef1da37b --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/DifferentNameSerializer.java @@ -0,0 +1,24 @@ +package org.baeldung.gson.serialization; + +import java.lang.reflect.Type; + +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; + +public class DifferentNameSerializer implements JsonSerializer { + + @Override + public JsonElement serialize(final SourceClass src, final Type typeOfSrc, final JsonSerializationContext context) { + final String otherIntValueName = "otherIntValue"; + final String otherStringValueName = "otherStringValue"; + + final JsonObject jObject = new JsonObject(); + jObject.addProperty(otherIntValueName, src.getIntValue()); + jObject.addProperty(otherStringValueName, src.getStringValue()); + + return jObject; + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java b/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java new file mode 100644 index 0000000000..7d5502b72f --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/GsonSerializeTest.java @@ -0,0 +1,48 @@ +package org.baeldung.gson.serialization; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonParser; +import org.baeldung.gson.entities.ActorGson; +import org.baeldung.gson.entities.Movie; +import org.baeldung.gson.entities.MovieWithNullValue; +import org.junit.Assert; +import org.junit.Test; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.Arrays; + +public class GsonSerializeTest { + + @Test + public void whenSimpleSerialize_thenCorrect() throws ParseException { + + SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); + + ActorGson rudyYoungblood = new ActorGson("nm2199632", sdf.parse("21-09-1982"), Arrays.asList("Apocalypto", "Beatdown", "Wind Walkers")); + Movie movie = new Movie("tt0472043", "Mel Gibson", Arrays.asList(rudyYoungblood)); + + String expectedOutput = "{\"imdbId\":\"tt0472043\",\"director\":\"Mel Gibson\",\"actors\":[{\"imdbId\":\"nm2199632\",\"dateOfBirth\":\"Sep 21, 1982 12:00:00 AM\",\"filmography\":[\"Apocalypto\",\"Beatdown\",\"Wind Walkers\"]}]}"; + Assert.assertEquals(new Gson().toJson(movie), expectedOutput); + } + + @Test + public void whenCustomSerialize_thenCorrect() throws ParseException { + Gson gson = new GsonBuilder().setPrettyPrinting().excludeFieldsWithoutExposeAnnotation().serializeNulls().disableHtmlEscaping().registerTypeAdapter(ActorGson.class, new ActorGsonSerializer()).create(); + + SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); + + ActorGson rudyYoungblood = new ActorGson("nm2199632", sdf.parse("21-09-1982"), Arrays.asList("Apocalypto", "Beatdown", "Wind Walkers")); + MovieWithNullValue movieWithNullValue = new MovieWithNullValue(null, "Mel Gibson", Arrays.asList(rudyYoungblood)); + + String expectedOutput = new GsonBuilder() + .setPrettyPrinting() + .serializeNulls() + .disableHtmlEscaping() + .create() + .toJson(new JsonParser() + .parse("{\"imdbId\":null,\"actors\":[{\"IMDB Code\":\"nm2199632\",\"Date Of Birth\":\"21-09-1982\",\"N° Film: \":3,\"filmography\":\"Apocalypto-Beatdown-Wind Walkers\"}]}")); + Assert.assertEquals(gson.toJson(movieWithNullValue), expectedOutput); + } +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsNotMatchingCriteriaSerializer.java b/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsNotMatchingCriteriaSerializer.java new file mode 100644 index 0000000000..769a4d33a7 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsNotMatchingCriteriaSerializer.java @@ -0,0 +1,27 @@ +package org.baeldung.gson.serialization; + +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; + +import java.lang.reflect.Type; + +public class IgnoringFieldsNotMatchingCriteriaSerializer implements JsonSerializer { + @Override + public JsonElement serialize(SourceClass src, Type typeOfSrc, JsonSerializationContext context) { + JsonObject jObject = new JsonObject(); + + // Criteria: intValue >= 0 + if (src.getIntValue() >= 0) { + String intValue = "intValue"; + jObject.addProperty(intValue, src.getIntValue()); + } + + String stringValue = "stringValue"; + jObject.addProperty(stringValue, src.getStringValue()); + + return jObject; + } + +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsSerializer.java b/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsSerializer.java new file mode 100644 index 0000000000..bd1928cb18 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/IgnoringFieldsSerializer.java @@ -0,0 +1,19 @@ +package org.baeldung.gson.serialization; + +import java.lang.reflect.Type; + +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonSerializationContext; +import com.google.gson.JsonSerializer; + +public class IgnoringFieldsSerializer implements JsonSerializer { + @Override + public JsonElement serialize(final SourceClass src, final Type typeOfSrc, final JsonSerializationContext context) { + final String intValue = "intValue"; + final JsonObject jObject = new JsonObject(); + jObject.addProperty(intValue, src.getIntValue()); + + return jObject; + } +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/SourceClass.java b/gson/src/test/java/org/baeldung/gson/serialization/SourceClass.java new file mode 100644 index 0000000000..02de2636c2 --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/SourceClass.java @@ -0,0 +1,52 @@ +package org.baeldung.gson.serialization; + +public class SourceClass { + private int intValue; + private String stringValue; + + public SourceClass(final int intValue, final String stringValue) { + this.intValue = intValue; + this.stringValue = stringValue; + } + + // API + + public int getIntValue() { + return intValue; + } + + public String getStringValue() { + return stringValue; + } + + // + + @Override + public String toString() { + return "SourceClass{" + "intValue=" + intValue + ", stringValue='" + stringValue + '\'' + '}'; + } + + @Override + public boolean equals(final Object o) { + if (this == o) + return true; + if (!(o instanceof SourceClass)) + return false; + + final SourceClass that = (SourceClass) o; + + if (intValue != that.intValue) + return false; + if (!stringValue.equals(that.stringValue)) + return false; + + return true; + } + + @Override + public int hashCode() { + int result = intValue; + result = 31 * result + stringValue.hashCode(); + return result; + } +} diff --git a/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java b/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java new file mode 100644 index 0000000000..84e550f0bd --- /dev/null +++ b/gson/src/test/java/org/baeldung/gson/serialization/test/GsonSerializationTest.java @@ -0,0 +1,95 @@ +package org.baeldung.gson.serialization.test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.lang.reflect.Type; +import java.util.Calendar; +import java.util.Collection; +import java.util.Date; +import java.util.GregorianCalendar; + +import org.baeldung.gson.serialization.DifferentNameSerializer; +import org.baeldung.gson.serialization.IgnoringFieldsNotMatchingCriteriaSerializer; +import org.baeldung.gson.serialization.IgnoringFieldsSerializer; +import org.baeldung.gson.serialization.SourceClass; +import org.joda.time.DateTime; +import org.junit.Test; + +import com.google.common.collect.Lists; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.reflect.TypeToken; + +public class GsonSerializationTest { + + @Test + public void givenArrayOfObjects_whenSerializing_thenCorrect() { + final SourceClass[] sourceArray = { new SourceClass(1, "one"), new SourceClass(2, "two") }; + final String jsonString = new Gson().toJson(sourceArray); + + // test + final String expectedResult = "[{\"intValue\":1,\"stringValue\":\"one\"},{\"intValue\":2,\"stringValue\":\"two\"}]"; + assertEquals(expectedResult, jsonString); + } + + @Test + public void givenCollection_whenSerializing_thenCorrect() { + final Collection sourceCollection = Lists.newArrayList(new SourceClass(1, "one"), new SourceClass(2, "two")); + final String jsonCollection = new Gson().toJson(sourceCollection); + + final String expectedResult = "[{\"intValue\":1,\"stringValue\":\"one\"},{\"intValue\":2,\"stringValue\":\"two\"}]"; + assertEquals(expectedResult, jsonCollection); + } + + @Test + public void givenUsingCustomSerializer_whenChangingNameOfFieldOnSerializing_thenCorrect() { + final SourceClass sourceObject = new SourceClass(7, "seven"); + final GsonBuilder gsonBuildr = new GsonBuilder(); + gsonBuildr.registerTypeAdapter(SourceClass.class, new DifferentNameSerializer()); + final String jsonString = gsonBuildr.create().toJson(sourceObject); + + final String expectedResult = "{\"otherIntValue\":7,\"otherStringValue\":\"seven\"}"; + assertEquals(expectedResult, jsonString); + } + + @Test + public void givenIgnoringAField_whenSerializingWithCustomSerializer_thenFieldIgnored() { + final SourceClass sourceObject = new SourceClass(7, "seven"); + final GsonBuilder gsonBuildr = new GsonBuilder(); + gsonBuildr.registerTypeAdapter(SourceClass.class, new IgnoringFieldsSerializer()); + final String jsonString = gsonBuildr.create().toJson(sourceObject); + + final String expectedResult = "{\"intValue\":7}"; + assertEquals(expectedResult, jsonString); + } + + @Test + public void givenUsingCustomDeserializer_whenFieldNotMatchesCriteria_thenIgnored() { + final SourceClass sourceObject = new SourceClass(-1, "minus 1"); + final GsonBuilder gsonBuildr = new GsonBuilder(); + gsonBuildr.registerTypeAdapter(SourceClass.class, new IgnoringFieldsNotMatchingCriteriaSerializer()); + final Gson gson = gsonBuildr.create(); + final Type sourceObjectType = new TypeToken() { + }.getType(); + final String jsonString = gson.toJson(sourceObject, sourceObjectType); + + final String expectedResult = "{\"stringValue\":\"minus 1\"}"; + assertEquals(expectedResult, jsonString); + } + + @Test + public void givenDate_whenSerializing_thenCorrect() { + Date sourceDate = new DateTime().withYear(2000).withMonthOfYear(1).withDayOfMonth(1).withHourOfDay(0).withMinuteOfHour(0).withSecondOfMinute(0).toDate(); + + final Gson gson = new Gson(); + Type sourceDateType = new TypeToken() { + }.getType(); + String jsonDate = gson.toJson(sourceDate, sourceDateType); + + System.out.println("jsonDate:\n" + jsonDate); + String expectedResult = "\"Jan 1, 2000 12:00:00 AM\""; + assertEquals(expectedResult, jsonDate); + } + +} \ No newline at end of file diff --git a/gson/src/test/resources/.gitignore b/gson/src/test/resources/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/gson/src/test/resources/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/guava/.gitignore b/guava/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/guava/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/guava/README.md b/guava/README.md new file mode 100644 index 0000000000..40e7f19f41 --- /dev/null +++ b/guava/README.md @@ -0,0 +1,18 @@ +========= + +## Guava and Hamcrest Cookbooks and Examples + + +### Relevant Articles: +- [Guava Collections Cookbook](http://www.baeldung.com/guava-collections) +- [Guava Ordering Cookbook](http://www.baeldung.com/guava-order) +- [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates) +- [Hamcrest Collections Cookbook](http://www.baeldung.com/hamcrest-collections-arrays) +- [Partition a List in Java](http://www.baeldung.com/java-list-split) +- [Filtering and Transforming Collections in Guava](http://www.baeldung.com/guava-filter-and-transform-a-collection) +- [Guava – Join and Split Collections](http://www.baeldung.com/guava-joiner-and-splitter-tutorial) +- [Guava – Write to File, Read from File](http://www.baeldung.com/guava-write-to-file-read-from-file) +- [Guava – Lists](http://www.baeldung.com/guava-lists) +- [Guava – Sets](http://www.baeldung.com/guava-sets) +- [Guava – Maps](http://www.baeldung.com/guava-maps) +- [Guava Set + Function = Map](http://www.baeldung.com/guava-set-function-map-tutorial) diff --git a/guava/pom.xml b/guava/pom.xml new file mode 100644 index 0000000000..59ca3aa1bb --- /dev/null +++ b/guava/pom.xml @@ -0,0 +1,130 @@ + + 4.0.0 + com.baeldung + guava + 0.1.0-SNAPSHOT + + guava + + + + + + + com.google.guava + guava + ${guava.version} + + + + org.apache.commons + commons-collections4 + 4.0 + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + + + + + + junit + junit + ${junit.version} + test + + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + guava + + + src/main/resources + true + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.8 + 1.8 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + + + + + + + 4.3.11.Final + 5.1.38 + + + 1.7.13 + 1.1.3 + + + 5.1.3.Final + + + 19.0 + 3.4 + + + 1.3 + 4.12 + 1.10.19 + + 4.4.1 + 4.5 + + 2.9.0 + + + 3.5.1 + 2.6 + 2.19.1 + 2.7 + 1.4.18 + + + + \ No newline at end of file diff --git a/guava/src/main/resources/logback.xml b/guava/src/main/resources/logback.xml new file mode 100644 index 0000000000..1146dade63 --- /dev/null +++ b/guava/src/main/resources/logback.xml @@ -0,0 +1,20 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java new file mode 100644 index 0000000000..3c3b976903 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaCacheTest.java @@ -0,0 +1,211 @@ +package org.baeldung.guava; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; + +import java.util.HashMap; +import java.util.Map; +import java.util.concurrent.TimeUnit; + +import org.junit.Test; + +import com.google.common.base.Optional; +import com.google.common.cache.CacheBuilder; +import com.google.common.cache.CacheLoader; +import com.google.common.cache.LoadingCache; +import com.google.common.cache.RemovalCause; +import com.google.common.cache.RemovalListener; +import com.google.common.cache.RemovalNotification; +import com.google.common.cache.Weigher; + +public class GuavaCacheTest { + + @Test + public void whenCacheMiss_thenAutoLoad() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().build(loader); + assertEquals(0, cache.size()); + assertEquals("HELLO", cache.getUnchecked("hello")); + assertEquals(1, cache.size()); + } + + @Test + public void whenCacheReachMaxSize_thenEviction() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().maximumSize(3).build(loader); + cache.getUnchecked("first"); + cache.getUnchecked("second"); + cache.getUnchecked("third"); + cache.getUnchecked("forth"); + assertEquals(3, cache.size()); + assertNull(cache.getIfPresent("first")); + assertEquals("FORTH", cache.getIfPresent("forth")); + } + + @Test + public void whenCacheReachMaxWeight_thenEviction() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final Weigher weighByLength = new Weigher() { + @Override + public int weigh(final String key, final String value) { + return value.length(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().maximumWeight(16).weigher(weighByLength).build(loader); + cache.getUnchecked("first"); + cache.getUnchecked("second"); + cache.getUnchecked("third"); + cache.getUnchecked("last"); + assertEquals(3, cache.size()); + assertNull(cache.getIfPresent("first")); + assertEquals("LAST", cache.getIfPresent("last")); + } + + @Test + public void whenEntryIdle_thenEviction() throws InterruptedException { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().expireAfterAccess(2, TimeUnit.MILLISECONDS).build(loader); + cache.getUnchecked("hello"); + assertEquals(1, cache.size()); + cache.getUnchecked("hello"); + Thread.sleep(300); + cache.getUnchecked("test"); + assertEquals(1, cache.size()); + assertNull(cache.getIfPresent("hello")); + } + + @Test + public void whenEntryLiveTimeExpire_thenEviction() throws InterruptedException { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().expireAfterWrite(2, TimeUnit.MILLISECONDS).build(loader); + cache.getUnchecked("hello"); + assertEquals(1, cache.size()); + Thread.sleep(300); + cache.getUnchecked("test"); + assertEquals(1, cache.size()); + assertNull(cache.getIfPresent("hello")); + } + + @Test + public void whenWeekKeyHasNoRef_thenRemoveFromCache() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().weakKeys().build(loader); + } + + @Test + public void whenSoftValue_thenRemoveFromCache() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().softValues().build(loader); + } + + @Test + public void whenNullValue_thenOptional() { + final CacheLoader> loader = new CacheLoader>() { + @Override + public final Optional load(final String key) { + return Optional.fromNullable(getSuffix(key)); + } + }; + final LoadingCache> cache = CacheBuilder.newBuilder().build(loader); + assertEquals("txt", cache.getUnchecked("text.txt").get()); + assertFalse(cache.getUnchecked("hello").isPresent()); + } + + @Test + public void whenLiveTimeEnd_thenRefresh() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().refreshAfterWrite(1, TimeUnit.MINUTES).build(loader); + } + + @Test + public void whenPreloadCache_thenUsePutAll() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().build(loader); + final Map map = new HashMap(); + map.put("first", "FIRST"); + map.put("second", "SECOND"); + cache.putAll(map); + assertEquals(2, cache.size()); + } + + @Test + public void whenEntryRemovedFromCache_thenNotify() { + final CacheLoader loader = new CacheLoader() { + @Override + public final String load(final String key) { + return key.toUpperCase(); + } + }; + final RemovalListener listener = new RemovalListener() { + @Override + public void onRemoval(final RemovalNotification n) { + if (n.wasEvicted()) { + final String cause = n.getCause().name(); + assertEquals(RemovalCause.SIZE.toString(), cause); + } + } + }; + final LoadingCache cache = CacheBuilder.newBuilder().maximumSize(3).removalListener(listener).build(loader); + cache.getUnchecked("first"); + cache.getUnchecked("second"); + cache.getUnchecked("third"); + cache.getUnchecked("last"); + assertEquals(3, cache.size()); + } + + // UTIL + + private String getSuffix(final String str) { + final int lastIndex = str.lastIndexOf('.'); + if (lastIndex == -1) + return null; + return str.substring(lastIndex + 1); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java new file mode 100644 index 0000000000..9c38afbcc2 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaCollectionTypesTest.java @@ -0,0 +1,316 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.containsInAnyOrder; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.junit.Test; + +import com.google.common.base.Function; +import com.google.common.base.Joiner; +import com.google.common.base.Predicates; +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.BiMap; +import com.google.common.collect.ClassToInstanceMap; +import com.google.common.collect.ContiguousSet; +import com.google.common.collect.DiscreteDomain; +import com.google.common.collect.HashBasedTable; +import com.google.common.collect.HashBiMap; +import com.google.common.collect.HashMultiset; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.ImmutableSortedMap; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Multimap; +import com.google.common.collect.Multimaps; +import com.google.common.collect.Multiset; +import com.google.common.collect.Multisets; +import com.google.common.collect.MutableClassToInstanceMap; +import com.google.common.collect.Ordering; +import com.google.common.collect.Range; +import com.google.common.collect.RangeSet; +import com.google.common.collect.Sets; +import com.google.common.collect.Table; +import com.google.common.collect.Tables; +import com.google.common.collect.TreeRangeSet; + +public class GuavaCollectionTypesTest { + + @Test + public void whenCreateList_thenCreated() { + final List names = Lists.newArrayList("John", "Adam", "Jane"); + + names.add("Tom"); + assertEquals(4, names.size()); + + names.remove("Adam"); + assertThat(names, contains("John", "Jane", "Tom")); + } + + @Test + public void whenReverseList_thenReversed() { + final List names = Lists.newArrayList("John", "Adam", "Jane"); + + final List reversed = Lists.reverse(names); + assertThat(reversed, contains("Jane", "Adam", "John")); + } + + @Test + public void whenCreateCharacterListFromString_thenCreated() { + final List chars = Lists.charactersOf("John"); + + assertEquals(4, chars.size()); + assertThat(chars, contains('J', 'o', 'h', 'n')); + } + + @Test + public void whenPartitionList_thenPartitioned() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom", "Viki", "Tyler"); + final List> result = Lists.partition(names, 2); + + assertEquals(3, result.size()); + assertThat(result.get(0), contains("John", "Jane")); + assertThat(result.get(1), contains("Adam", "Tom")); + assertThat(result.get(2), contains("Viki", "Tyler")); + } + + @Test + public void whenRemoveDuplicatesFromList_thenRemoved() { + final List chars = Lists.newArrayList('h', 'e', 'l', 'l', 'o'); + assertEquals(5, chars.size()); + + final List result = ImmutableSet.copyOf(chars).asList(); + assertThat(result, contains('h', 'e', 'l', 'o')); + } + + @Test + public void whenRemoveNullFromList_thenRemoved() { + final List names = Lists.newArrayList("John", null, "Adam", null, "Jane"); + Iterables.removeIf(names, Predicates.isNull()); + + assertEquals(3, names.size()); + assertThat(names, contains("John", "Adam", "Jane")); + } + + @Test + public void whenCreateImmutableList_thenCreated() { + final List names = Lists.newArrayList("John", "Adam", "Jane"); + + names.add("Tom"); + assertEquals(4, names.size()); + + final ImmutableList immutable = ImmutableList.copyOf(names); + assertThat(immutable, contains("John", "Adam", "Jane", "Tom")); + } + + // sets + + @Test + public void whenCalculateUnionOfSets_thenCorrect() { + final Set first = ImmutableSet.of('a', 'b', 'c'); + final Set second = ImmutableSet.of('b', 'c', 'd'); + + final Set union = Sets.union(first, second); + assertThat(union, containsInAnyOrder('a', 'b', 'c', 'd')); + } + + @Test + public void whenCalculateSetsProduct_thenCorrect() { + final Set first = ImmutableSet.of('a', 'b'); + final Set second = ImmutableSet.of('c', 'd'); + final Set> result = Sets.cartesianProduct(ImmutableList.of(first, second)); + + final Function, String> func = new Function, String>() { + @Override + public final String apply(final List input) { + return Joiner.on(" ").join(input); + } + }; + + final Iterable joined = Iterables.transform(result, func); + assertThat(joined, containsInAnyOrder("a c", "a d", "b c", "b d")); + } + + @Test + public void whenCalculatingSetIntersection_thenCorrect() { + final Set first = ImmutableSet.of('a', 'b', 'c'); + final Set second = ImmutableSet.of('b', 'c', 'd'); + + final Set intersection = Sets.intersection(first, second); + assertThat(intersection, containsInAnyOrder('b', 'c')); + } + + @Test + public void whenCalculatingSetSymmetricDifference_thenCorrect() { + final Set first = ImmutableSet.of('a', 'b', 'c'); + final Set second = ImmutableSet.of('b', 'c', 'd'); + + final Set intersection = Sets.symmetricDifference(first, second); + assertThat(intersection, containsInAnyOrder('a', 'd')); + } + + @Test + public void whenCalculatingPowerSet_thenCorrect() { + final Set chars = ImmutableSet.of('a', 'b'); + final Set> result = Sets.powerSet(chars); + + final Set empty = ImmutableSet. builder().build(); + final Set a = ImmutableSet.of('a'); + final Set b = ImmutableSet.of('b'); + final Set aB = ImmutableSet.of('a', 'b'); + + assertThat(result, contains(empty, a, b, aB)); + } + + @Test + public void whenCreateRangeOfIntegersSet_thenCreated() { + final int start = 10; + final int end = 30; + final ContiguousSet set = ContiguousSet.create(Range.closed(start, end), DiscreteDomain.integers()); + + assertEquals(21, set.size()); + assertEquals(10, set.first().intValue()); + assertEquals(30, set.last().intValue()); + } + + @Test + public void whenCreateRangeSet_thenCreated() { + final RangeSet rangeSet = TreeRangeSet.create(); + rangeSet.add(Range.closed(1, 10)); + rangeSet.add(Range.closed(12, 15)); + + assertEquals(2, rangeSet.asRanges().size()); + + rangeSet.add(Range.closed(10, 12)); + assertTrue(rangeSet.encloses(Range.closed(1, 15))); + assertEquals(1, rangeSet.asRanges().size()); + } + + @Test + public void whenInsertDuplicatesInMultiSet_thenInserted() { + final Multiset names = HashMultiset.create(); + names.add("John"); + names.add("Adam", 3); + names.add("John"); + + assertEquals(2, names.count("John")); + names.remove("John"); + assertEquals(1, names.count("John")); + + assertEquals(3, names.count("Adam")); + names.remove("Adam", 2); + assertEquals(1, names.count("Adam")); + } + + @Test + public void whenGetTopUsingMultiSet_thenCorrect() { + final Multiset names = HashMultiset.create(); + names.add("John"); + names.add("Adam", 5); + names.add("Jane"); + names.add("Tom", 2); + + final Set sorted = Multisets.copyHighestCountFirst(names).elementSet(); + final List topTwo = Lists.newArrayList(sorted).subList(0, 2); + assertEquals(2, topTwo.size()); + assertEquals("Adam", topTwo.get(0)); + assertEquals("Tom", topTwo.get(1)); + } + + @Test + public void whenCreateImmutableMap_thenCreated() { + final Map salary = ImmutableMap. builder().put("John", 1000).put("Jane", 1500).put("Adam", 2000).put("Tom", 2000).build(); + + assertEquals(1000, salary.get("John").intValue()); + assertEquals(2000, salary.get("Tom").intValue()); + } + + @Test + public void whenUseSortedMap_thenKeysAreSorted() { + final ImmutableSortedMap salary = new ImmutableSortedMap.Builder(Ordering.natural()).put("John", 1000).put("Jane", 1500).put("Adam", 2000).put("Tom", 2000).build(); + + assertEquals("Adam", salary.firstKey()); + assertEquals(2000, salary.lastEntry().getValue().intValue()); + } + + @Test + public void whenCreateBiMap_thenCreated() { + final BiMap words = HashBiMap.create(); + words.put("First", 1); + words.put("Second", 2); + words.put("Third", 3); + + assertEquals(2, words.get("Second").intValue()); + assertEquals("Third", words.inverse().get(3)); + } + + @Test + public void whenCreateMultimap_thenCreated() { + final Multimap multimap = ArrayListMultimap.create(); + multimap.put("fruit", "apple"); + multimap.put("fruit", "banana"); + multimap.put("pet", "cat"); + multimap.put("pet", "dog"); + + assertThat(multimap.get("fruit"), containsInAnyOrder("apple", "banana")); + assertThat(multimap.get("pet"), containsInAnyOrder("cat", "dog")); + } + + @Test + public void whenGroupListUsingMultimap_thenGrouped() { + final List names = Lists.newArrayList("John", "Adam", "Tom"); + final Function function = new Function() { + @Override + public final Integer apply(final String input) { + return input.length(); + } + }; + final Multimap groups = Multimaps.index(names, function); + + assertThat(groups.get(3), containsInAnyOrder("Tom")); + assertThat(groups.get(4), containsInAnyOrder("John", "Adam")); + } + + @Test + public void whenCreateTable_thenCreated() { + final Table distance = HashBasedTable.create(); + distance.put("London", "Paris", 340); + distance.put("New York", "Los Angeles", 3940); + distance.put("London", "New York", 5576); + + assertEquals(3940, distance.get("New York", "Los Angeles").intValue()); + assertThat(distance.columnKeySet(), containsInAnyOrder("Paris", "New York", "Los Angeles")); + assertThat(distance.rowKeySet(), containsInAnyOrder("London", "New York")); + } + + @Test + public void whenTransposeTable_thenCorrect() { + final Table distance = HashBasedTable.create(); + distance.put("London", "Paris", 340); + distance.put("New York", "Los Angeles", 3940); + distance.put("London", "New York", 5576); + + final Table transposed = Tables.transpose(distance); + assertThat(transposed.rowKeySet(), containsInAnyOrder("Paris", "New York", "Los Angeles")); + assertThat(transposed.columnKeySet(), containsInAnyOrder("London", "New York")); + } + + @Test + public void whenCreateClassToInstanceMap_thenCreated() { + final ClassToInstanceMap numbers = MutableClassToInstanceMap.create(); + numbers.putInstance(Integer.class, 1); + numbers.putInstance(Double.class, 1.5); + + assertEquals(1, numbers.get(Integer.class)); + assertEquals(1.5, numbers.get(Double.class)); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java new file mode 100644 index 0000000000..2c137e6c80 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaCollectionsExamplesTest.java @@ -0,0 +1,189 @@ +package org.baeldung.guava; + +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import java.util.Collection; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.NoSuchElementException; +import java.util.Set; + +import org.junit.Test; + +import com.google.common.base.Function; +import com.google.common.base.Predicate; +import com.google.common.base.Predicates; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.google.common.collect.Sets; + +@SuppressWarnings("unused") +public class GuavaCollectionsExamplesTest { + + // tests + + @Test + public final void whenDowncastingGenerifiedCollectionToNewGenerifiedCollection_thenCastIsOK() { + final class CastFunction implements Function { + @SuppressWarnings("unchecked") + @Override + public final T apply(final F from) { + return (T) from; + } + } + + final List originalList = Lists.newArrayList(); + final List selectedProducts = Lists.transform(originalList, new CastFunction()); + System.out.println(selectedProducts); + } + + @SuppressWarnings({ "unchecked" }) + @Test + public final void whenDowncastingGenerifiedCollectionToNewGenerifiedCollection_thenCastIsOK2() { + final List originalList = Lists.newArrayList(); + final List selectedProducts = (List) (List) originalList; + System.out.println(selectedProducts); + } + + @Test + public final void whenAddingAnIterableToACollection_thenAddedOK() { + final Iterable iter = Lists.newArrayList(); + final Collection collector = Lists.newArrayList(); + Iterables.addAll(collector, iter); + } + + // + + @Test + public final void whenCheckingIfCollectionContainsElementsByCustomMatch1_thenContains() { + final Iterable theCollection = Lists.newArrayList("a", "bc", "def"); + final boolean contains = Iterables.any(theCollection, new Predicate() { + @Override + public final boolean apply(final String input) { + return input.length() == 1; + } + }); + + assertTrue(contains); + } + + @Test + public final void whenCheckingIfCollectionContainsElementsByCustomMatch2_thenContains() { + final Set theCollection = Sets.newHashSet("a", "bc", "def"); + + final boolean contains = !Sets.filter(theCollection, new Predicate() { + @Override + public final boolean apply(final String input) { + return input.length() == 1; + } + }).isEmpty(); + + assertTrue(contains); + } + + @Test + public final void whenCheckingIfCollectionContainsElementsByCustomMatch3_thenContains() { + final Iterable theCollection = Sets.newHashSet("a", "bc", "def"); + + final boolean contains = Iterables.find(theCollection, new Predicate() { + @Override + public final boolean apply(final String input) { + return input.length() == 1; + } + }) != null; + + assertTrue(contains); + } + + // + + @Test(expected = NoSuchElementException.class) + public final void givenNoSearchResult_whenFindingElementInIterable_thenException() { + final Iterable theCollection = Sets.newHashSet("abcd", "efgh", "ijkl"); + + final String found = Iterables.find(theCollection, new Predicate() { + @Override + public final boolean apply(final String input) { + return input.length() == 1; + } + }); + + assertNull(found); + } + + @Test + public final void givenNoSearchResult_whenFindingElementInIterableWithSpecifiedReturn_thenNoException() { + final Iterable theCollection = Sets.newHashSet("abcd", "efgh", "ijkl"); + + final Predicate inputOfLengthOne = new Predicate() { + @Override + public final boolean apply(final String input) { + return input.length() == 1; + } + }; + final String found = Iterables.find(theCollection, inputOfLengthOne, null); + + assertNull(found); + } + + // purge of nulls + + @Test + public final void givenListContainsNulls_whenPurgedOfNulls_thenNoLongerContainsNulls() { + final List values = Lists.newArrayList("a", null, "b", "c"); + final Iterable withoutNulls = Iterables.filter(values, Predicates.notNull()); + System.out.println(withoutNulls); + } + + // immutable collections + + @Test + public final void whenCreatingImuutableCollections_thenNoExceptions() { + final ImmutableList immutableList = ImmutableList.of("a", "b", "c"); + final ImmutableSet immutableSet = ImmutableSet.of("a", "b", "c"); + final ImmutableMap imuttableMap = ImmutableMap.of("k1", "v1", "k2", "v2", "k3", "v3"); + } + + @Test + public final void whenTransformingCollectionsToImmutable_thenNoExceptions() { + final List muttableList = Lists.newArrayList(); + final ImmutableList immutableList = ImmutableList.copyOf(muttableList); + + final Set muttableSet = Sets.newHashSet(); + final ImmutableSet immutableSet = ImmutableSet.copyOf(muttableSet); + + final Map muttableMap = Maps.newHashMap(); + final ImmutableMap imuttableMap = ImmutableMap.copyOf(muttableMap); + } + + @Test + public final void whenTransformingCollectionsToImmutableViaBuilders_thenNoExceptions() { + final List muttableList = Lists.newArrayList(); + final ImmutableList immutableList = ImmutableList. builder().addAll(muttableList).build(); + + final Set muttableSet = Sets.newHashSet(); + final ImmutableSet immutableSet = ImmutableSet. builder().addAll(muttableSet).build(); + + final Map muttableMap = Maps.newHashMap(); + final ImmutableMap imuttableMap = ImmutableMap. builder().putAll(muttableMap).build(); + } + + // unmodifiable + + @Test(expected = UnsupportedOperationException.class) + public final void givenUnmodifiableViewOverIterable_whenTryingToRemove_thenNotAllowed() { + final List numbers = Lists.newArrayList(1, 2, 3); + final Iterable unmodifiableIterable = Iterables.unmodifiableIterable(numbers); + final Iterator iterator = unmodifiableIterable.iterator(); + if (iterator.hasNext()) { + iterator.remove(); + } + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java b/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java new file mode 100644 index 0000000000..1ecf8fdb0a --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaFilterTransformCollectionsTest.java @@ -0,0 +1,206 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.containsInAnyOrder; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.util.Collection; +import java.util.List; + +import org.junit.Test; + +import com.google.common.base.Function; +import com.google.common.base.Functions; +import com.google.common.base.Predicate; +import com.google.common.base.Predicates; +import com.google.common.collect.Collections2; +import com.google.common.collect.FluentIterable; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; + +public class GuavaFilterTransformCollectionsTest { + + @Test + public void whenFilterWithIterables_thenFiltered() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Iterable result = Iterables.filter(names, Predicates.containsPattern("a")); + + assertThat(result, containsInAnyOrder("Jane", "Adam")); + } + + @Test + public void whenFilterWithCollections2_thenFiltered() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.filter(names, Predicates.containsPattern("a")); + + assertEquals(2, result.size()); + assertThat(result, containsInAnyOrder("Jane", "Adam")); + + result.add("anna"); + assertEquals(5, names.size()); + } + + @Test(expected = IllegalArgumentException.class) + public void givenFilteredCollection_whenAddingInvalidElement_thenException() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.filter(names, Predicates.containsPattern("a")); + + result.add("elvis"); + } + + // + + @Test + public void whenFilterCollectionWithCustomPredicate_thenFiltered() { + final Predicate predicate = new Predicate() { + @Override + public final boolean apply(final String input) { + return input.startsWith("A") || input.startsWith("J"); + } + }; + + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.filter(names, predicate); + + assertEquals(3, result.size()); + assertThat(result, containsInAnyOrder("John", "Jane", "Adam")); + } + + // + + @Test + public void whenRemoveNullFromCollection_thenRemoved() { + final List names = Lists.newArrayList("John", null, "Jane", null, "Adam", "Tom"); + final Collection result = Collections2.filter(names, Predicates.notNull()); + + assertEquals(4, result.size()); + assertThat(result, containsInAnyOrder("John", "Jane", "Adam", "Tom")); + } + + // + + @Test + public void whenCheckingIfAllElementsMatchACondition_thenCorrect() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + + boolean result = Iterables.all(names, Predicates.containsPattern("n|m")); + assertTrue(result); + + result = Iterables.all(names, Predicates.containsPattern("a")); + assertFalse(result); + } + + // + + @Test + public void whenTransformingWithIterables_thenTransformed() { + final Function function = new Function() { + @Override + public final Integer apply(final String input) { + return input.length(); + } + }; + + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Iterable result = Iterables.transform(names, function); + + assertThat(result, contains(4, 4, 4, 3)); + } + + // + + @Test + public void whenTransformWithCollections2_thenTransformed() { + final Function function = new Function() { + @Override + public final Integer apply(final String input) { + return input.length(); + } + }; + + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.transform(names, function); + + assertEquals(4, result.size()); + assertThat(result, contains(4, 4, 4, 3)); + + result.remove(3); + assertEquals(3, names.size()); + } + + // + + @Test + public void whenCreatingAFunctionFromAPredicate_thenCorrect() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.transform(names, Functions.forPredicate(Predicates.containsPattern("m"))); + + assertEquals(4, result.size()); + assertThat(result, contains(false, false, true, true)); + } + + // + + @Test + public void whenTransformingUsingComposedFunction_thenTransformed() { + final Function f1 = new Function() { + @Override + public final Integer apply(final String input) { + return input.length(); + } + }; + + final Function f2 = new Function() { + @Override + public final Boolean apply(final Integer input) { + return input % 2 == 0; + } + }; + + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.transform(names, Functions.compose(f2, f1)); + + assertEquals(4, result.size()); + assertThat(result, contains(true, true, true, false)); + } + + // + + @Test + public void whenFilteringAndTransformingCollection_thenCorrect() { + final Predicate predicate = new Predicate() { + @Override + public final boolean apply(final String input) { + return input.startsWith("A") || input.startsWith("T"); + } + }; + + final Function func = new Function() { + @Override + public final Integer apply(final String input) { + return input.length(); + } + }; + + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = FluentIterable.from(names).filter(predicate).transform(func).toList(); + + assertEquals(2, result.size()); + assertThat(result, containsInAnyOrder(4, 3)); + } + + // + + @Test + public void whenFilterUsingMultiplePredicates_thenFiltered() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final Collection result = Collections2.filter(names, Predicates.or(Predicates.containsPattern("J"), Predicates.not(Predicates.containsPattern("a")))); + + assertEquals(3, result.size()); + assertThat(result, containsInAnyOrder("John", "Jane", "Tom")); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java new file mode 100644 index 0000000000..08091639f1 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaFunctionalExamplesTest.java @@ -0,0 +1,186 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.lessThan; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.junit.Test; + +import com.google.common.base.Function; +import com.google.common.base.Functions; +import com.google.common.base.Predicate; +import com.google.common.base.Predicates; +import com.google.common.collect.Collections2; +import com.google.common.collect.FluentIterable; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.google.common.collect.Ordering; +import com.google.common.collect.Sets; + +public class GuavaFunctionalExamplesTest { + + // tests + + // predicates - filtering + + @Test + public final void whenFilteringNumbersAccordingToACondition_thenCorrectResults() { + final List numbers = Lists.newArrayList(1, 2, 3, 6, 8, 10, 34, 57, 89); + final Predicate acceptEvenNumber = new Predicate() { + @Override + public final boolean apply(final Integer number) { + return (number % 2) == 0; + } + }; + final List evenNumbers = Lists.newArrayList(Collections2.filter(numbers, acceptEvenNumber)); + + final Integer found = Collections.binarySearch(evenNumbers, 57); + assertThat(found, lessThan(0)); + } + + @Test + public final void givenCollectionContainsNulls_whenNullsAreFilteredOut_thenResultingCollectionsHasNoNulls() { + final List withNulls = Lists.newArrayList("a", "bc", null, "def"); + final Iterable withoutNuls = Iterables.filter(withNulls, Predicates.notNull()); + + assertTrue(Iterables.all(withoutNuls, Predicates.notNull())); + } + + // predicates - checking + + @Test + public final void givenEvenNumbers_whenCheckingIfAllSatisfyTheEvenPredicate_thenYes() { + final List evenNumbers = Lists.newArrayList(2, 6, 8, 10, 34, 90); + final Predicate acceptEvenNumber = new Predicate() { + @Override + public final boolean apply(final Integer number) { + return (number % 2) == 0; + } + }; + + assertTrue(Iterables.all(evenNumbers, acceptEvenNumber)); + } + + // negating a predicate + + @Test + public final void givenCollectionOfEvenNumbers_whenCheckingThatCollectionContainsNoOddNumber_thenTrue() { + final List evenNumbers = Lists.newArrayList(2, 6, 8, 10, 34, 90); + final Predicate acceptOddNumber = new Predicate() { + @Override + public final boolean apply(final Integer number) { + return (number % 2) != 0; + } + }; + + assertTrue(Iterables.all(evenNumbers, Predicates.not(acceptOddNumber))); + } + + // other predicates + + @Test + public final void when_thenCorrect() { + // CharMatcher.forPredicate(predicate) + } + + // functions + + @Test + public final void whenApplyingSimpleFunctionToInputs_thenCorrectlyTransformed() { + final List numbers = Lists.newArrayList(1, 2, 3); + final List numbersAsStrings = Lists.transform(numbers, Functions.toStringFunction()); + assertThat(numbersAsStrings, contains("1", "2", "3")); + } + + @Test + public final void whenUsingAnIntermediaryFunctionToOrder_thenCorerctlyOrderedInAlphabeticalOrder() { + final List numbersToSort = Arrays.asList(2, 1, 11, 100, 8, 14); + final Ordering ordering = Ordering.natural().onResultOf(Functions.toStringFunction()); + final List inAlphabeticalOrder = ordering.sortedCopy(numbersToSort); + + final List correctAlphabeticalOrder = Lists.newArrayList(1, 100, 11, 14, 2, 8); + assertThat(correctAlphabeticalOrder, equalTo(inAlphabeticalOrder)); + } + + @Test + public final void whenChainingPredicatesAndFunctions_thenCorrectResults() { + final List numbers = Arrays.asList(2, 1, 11, 100, 8, 14); + final Predicate acceptEvenNumber = new Predicate() { + @Override + public final boolean apply(final Integer number) { + return (number % 2) == 0; + } + }; + final Function powerOfTwo = new Function() { + @Override + public final Integer apply(final Integer input) { + return (int) Math.pow(input, 2); + } + }; + + final FluentIterable powerOfTwoOnlyForEvenNumbers = FluentIterable.from(numbers).filter(acceptEvenNumber).transform(powerOfTwo); + assertThat(powerOfTwoOnlyForEvenNumbers, contains(4, 10000, 64, 196)); + } + + @Test + public final void whenUsingFunctionComposition_thenCorrectResults() { + final List numbers = Arrays.asList(2, 3); + final Function powerOfTwo = new Function() { + @Override + public final Integer apply(final Integer input) { + return (int) Math.pow(input, 2); + } + }; + + final List result = Lists.transform(numbers, Functions.compose(powerOfTwo, powerOfTwo)); + assertThat(result, contains(16, 81)); + } + + // Set+Function => Map + + /** + * - see: http://code.google.com/p/guava-libraries/issues/detail?id=56 + */ + @Test + public final void whenMapIsBackedBySetAndFunction_thenCorrect() { + final Function powerOfTwo = new Function() { + @Override + public final Integer apply(final Integer input) { + return (int) Math.pow(input, 2); + } + }; + final Set lowNumbers = Sets.newHashSet(2, 3, 4); + + final Map numberToPowerOfTwoMuttable = Maps.asMap(lowNumbers, powerOfTwo); + final Map numberToPowerOfTwoImuttable = Maps.toMap(lowNumbers, powerOfTwo); + assertThat(numberToPowerOfTwoMuttable.get(2), equalTo(4)); + assertThat(numberToPowerOfTwoImuttable.get(2), equalTo(4)); + } + + // Predicate => Function + + @Test + public final void whenConvertingPredicateToFunction_thenCorrect() { + final List numbers = Lists.newArrayList(1, 2, 3, 6); + final Predicate acceptEvenNumber = new Predicate() { + @Override + public final boolean apply(final Integer number) { + return (number % 2) == 0; + } + }; + final Function isEventNumberFunction = Functions.forPredicate(acceptEvenNumber); + final List areNumbersEven = Lists.transform(numbers, isEventNumberFunction); + + assertThat(areNumbersEven, contains(false, true, false, true)); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaIOTest.java b/guava/src/test/java/org/baeldung/guava/GuavaIOTest.java new file mode 100644 index 0000000000..47fee206dc --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaIOTest.java @@ -0,0 +1,210 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.contains; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; + +import java.io.DataInputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.FileReader; +import java.io.IOException; +import java.net.URL; +import java.util.List; + +import org.junit.Test; + +import com.google.common.base.Charsets; +import com.google.common.base.Joiner; +import com.google.common.collect.Lists; +import com.google.common.io.ByteSink; +import com.google.common.io.ByteSource; +import com.google.common.io.ByteStreams; +import com.google.common.io.CharSink; +import com.google.common.io.CharSource; +import com.google.common.io.CharStreams; +import com.google.common.io.Files; +import com.google.common.io.LittleEndianDataInputStream; +import com.google.common.io.LittleEndianDataOutputStream; +import com.google.common.io.Resources; + +public class GuavaIOTest { + + @Test + public void whenWriteUsingFiles_thenWritten() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test.out"); + + Files.write(expectedValue, file, Charsets.UTF_8); + + final String result = Files.toString(file, Charsets.UTF_8); + assertEquals(expectedValue, result); + } + + @Test + public void whenWriteUsingCharSink_thenWritten() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test.out"); + final CharSink sink = Files.asCharSink(file, Charsets.UTF_8); + + sink.write(expectedValue); + + final String result = Files.toString(file, Charsets.UTF_8); + assertEquals(expectedValue, result); + } + + @Test + public void whenWriteMultipleLinesUsingCharSink_thenWritten() throws IOException { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final File file = new File("src/test/resources/test.out"); + final CharSink sink = Files.asCharSink(file, Charsets.UTF_8); + + sink.writeLines(names, " "); + + final String result = Files.toString(file, Charsets.UTF_8); + final String expectedValue = Joiner.on(" ").join(names); + assertEquals(expectedValue, result.trim()); + + } + + @Test + public void whenWriteUsingByteSink_thenWritten() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test.out"); + final ByteSink sink = Files.asByteSink(file); + + sink.write(expectedValue.getBytes()); + + final String result = Files.toString(file, Charsets.UTF_8); + assertEquals(expectedValue, result); + } + + @Test + public void whenReadUsingFiles_thenRead() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test1.in"); + + final String result = Files.toString(file, Charsets.UTF_8); + assertEquals(expectedValue, result); + } + + @Test + public void whenReadMultipleLinesUsingFiles_thenRead() throws IOException { + final File file = new File("src/test/resources/test2.in"); + + final List result = Files.readLines(file, Charsets.UTF_8); + assertThat(result, contains("John", "Jane", "Adam", "Tom")); + } + + @Test + public void whenReadUsingCharSource_thenRead() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test1.in"); + + final CharSource source = Files.asCharSource(file, Charsets.UTF_8); + + final String result = source.read(); + assertEquals(expectedValue, result); + } + + @Test + public void whenReadMultipleCharSources_thenRead() throws IOException { + final String expectedValue = "Hello worldTest"; + final File file1 = new File("src/test/resources/test1.in"); + final File file2 = new File("src/test/resources/test1_1.in"); + + final CharSource source1 = Files.asCharSource(file1, Charsets.UTF_8); + final CharSource source2 = Files.asCharSource(file2, Charsets.UTF_8); + final CharSource source = CharSource.concat(source1, source2); + + final String result = source.read(); + + assertEquals(expectedValue, result); + } + + @Test + public void whenReadUsingCharStream_thenRead() throws IOException { + final String expectedValue = "Hello world"; + + final FileReader reader = new FileReader("src/test/resources/test1.in"); + final String result = CharStreams.toString(reader); + + assertEquals(expectedValue, result); + reader.close(); + } + + @Test + public void whenReadUsingByteSource_thenRead() throws IOException { + final String expectedValue = "Hello world"; + final File file = new File("src/test/resources/test1.in"); + + final ByteSource source = Files.asByteSource(file); + + final byte[] result = source.read(); + assertEquals(expectedValue, new String(result)); + } + + @Test + public void whenReadAfterOffsetUsingByteSource_thenRead() throws IOException { + final String expectedValue = "lo world"; + final File file = new File("src/test/resources/test1.in"); + + final long offset = 3; + final long length = 1000; + final ByteSource source = Files.asByteSource(file).slice(offset, length); + + final byte[] result = source.read(); + assertEquals(expectedValue, new String(result)); + } + + @Test + public void whenReadUsingByteStream_thenRead() throws IOException { + final String expectedValue = "Hello world"; + + final FileInputStream reader = new FileInputStream("src/test/resources/test1.in"); + final byte[] result = ByteStreams.toByteArray(reader); + + assertEquals(expectedValue, new String(result)); + reader.close(); + } + + @Test + public void whenReadUsingResources_thenRead() throws IOException { + final String expectedValue = "Hello world"; + + final URL url = Resources.getResource("test1.in"); + final String result = Resources.toString(url, Charsets.UTF_8); + + assertEquals(expectedValue, result); + } + + @Test + public void whenCopyFileUsingFiles_thenCopied() throws IOException { + final String expectedValue = "Hello world"; + + final File file1 = new File("src/test/resources/test1.in"); + final File file2 = new File("src/test/resources/test_copy.in"); + + Files.copy(file1, file2); + final String result = Files.toString(file2, Charsets.UTF_8); + + assertEquals(expectedValue, result); + } + + @Test + public void whenWriteReadLittleEndian_thenCorrect() throws IOException { + final int value = 100; + + final LittleEndianDataOutputStream writer = new LittleEndianDataOutputStream(new FileOutputStream("src/test/resources/test_le.txt")); + writer.writeInt(value); + writer.close(); + + final LittleEndianDataInputStream reader = new LittleEndianDataInputStream(new DataInputStream(new FileInputStream("src/test/resources/test_le.txt"))); + final int result = reader.readInt(); + reader.close(); + + assertEquals(value, result); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaMapFromSet.java b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSet.java new file mode 100644 index 0000000000..1d19423f7e --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSet.java @@ -0,0 +1,101 @@ +package org.baeldung.guava; + +import java.util.AbstractMap; +import java.util.AbstractSet; +import java.util.Iterator; +import java.util.Map; +import java.util.Set; +import java.util.WeakHashMap; + +import com.google.common.base.Function; + +public class GuavaMapFromSet extends AbstractMap { + + private class SingleEntry implements Entry { + private K key; + + public SingleEntry(K key) { + this.key = key; + } + + @Override + public K getKey() { + return this.key; + } + + @Override + public V getValue() { + V value = GuavaMapFromSet.this.cache.get(this.key); + if (value == null) { + value = GuavaMapFromSet.this.function.apply(this.key); + GuavaMapFromSet.this.cache.put(this.key, value); + } + return value; + } + + @Override + public V setValue(V value) { + throw new UnsupportedOperationException(); + } + } + + private class MyEntrySet extends AbstractSet> { + + public class EntryIterator implements Iterator> { + private Iterator inner; + + public EntryIterator() { + this.inner = MyEntrySet.this.keys.iterator(); + } + + @Override + public boolean hasNext() { + return this.inner.hasNext(); + } + + @Override + public Map.Entry next() { + K key = this.inner.next(); + return new SingleEntry(key); + } + + @Override + public void remove() { + throw new UnsupportedOperationException(); + } + } + + private Set keys; + + public MyEntrySet(Set keys) { + this.keys = keys; + } + + @Override + public Iterator> iterator() { + return new EntryIterator(); + } + + @Override + public int size() { + return this.keys.size(); + } + + } + + private WeakHashMap cache; + private Set> entries; + private Function function; + + public GuavaMapFromSet(Set keys, Function function) { + this.function = function; + this.cache = new WeakHashMap(); + this.entries = new MyEntrySet(keys); + } + + @Override + public Set> entrySet() { + return this.entries; + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java new file mode 100644 index 0000000000..7dc4550c09 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaMapFromSetTests.java @@ -0,0 +1,64 @@ +package org.baeldung.guava; + +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; +import java.util.Map; +import java.util.Set; +import java.util.TreeSet; + +import org.junit.Test; + +import com.google.common.base.Function; + +public class GuavaMapFromSetTests { + + @Test + public void givenStringSet_whenMapsToElementLength_thenCorrect() { + Function function = new Function() { + @Override + public String apply(Integer from) { + return Integer.toBinaryString(from); + } + }; + Set set = new TreeSet<>(Arrays.asList(32, 64, 128)); + Map map = new GuavaMapFromSet(set, function); + assertTrue(map.get(32).equals("100000") + && map.get(64).equals("1000000") + && map.get(128).equals("10000000")); + } + + @Test + public void givenIntSet_whenMapsToElementBinaryValue_thenCorrect() { + Function function = new Function() { + + @Override + public Integer apply(String from) { + return from.length(); + } + }; + Set set = new TreeSet<>(Arrays.asList( + "four", "three", "twelve")); + Map map = new GuavaMapFromSet(set, + function); + assertTrue(map.get("four") == 4 && map.get("three") == 5 + && map.get("twelve") == 6); + } + + @Test + public void givenSet_whenNewSetElementAddedAndMappedLive_thenCorrect() { + Function function = new Function() { + + @Override + public Integer apply(String from) { + return from.length(); + } + }; + Set set = new TreeSet<>(Arrays.asList( + "four", "three", "twelve")); + Map map = new GuavaMapFromSet(set, + function); + set.add("one"); + assertTrue(map.get("one") == 3 && map.size() == 4); + } +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java b/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java new file mode 100644 index 0000000000..5821d19ba0 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaOrderingExamplesTest.java @@ -0,0 +1,179 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.nullValue; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.junit.Test; + +import com.google.common.base.Functions; +import com.google.common.collect.Lists; +import com.google.common.collect.Ordering; +import com.google.common.primitives.Ints; + +public class GuavaOrderingExamplesTest { + + private final class OrderingByLenght extends Ordering { + @Override + public final int compare(final String s1, final String s2) { + return Ints.compare(s1.length(), s2.length()); + } + } + + // tests + + // dealing with null + + @Test + public final void givenCollectionWithNulls_whenSortingWithNullsLast_thenNullsAreLast() { + final List toSort = Arrays.asList(3, 5, 4, null, 1, 2); + Collections.sort(toSort, Ordering.natural().nullsLast()); + assertThat(toSort.get(toSort.size() - 1), nullValue()); + } + + @Test + public final void givenCollectionWithNulls_whenSortingWithNullsFirst_thenNullsAreFirst() { + final List toSort = Arrays.asList(3, 5, 4, null, 1, 2); + Collections.sort(toSort, Ordering.natural().nullsFirst()); + assertThat(toSort.get(0), nullValue()); + } + + @Test + public final void whenCollectionIsSortedNullsLastReversed_thenNullAreFirst() { + final List toSort = Arrays.asList(3, 5, 4, null, 1, 2); + Collections.sort(toSort, Ordering.natural().nullsLast().reverse()); + assertThat(toSort.get(0), nullValue()); + } + + // natural ordering + + @Test + public final void whenSortingWithNaturalOrdering_thenCorectlySorted() { + final List toSort = Arrays.asList(3, 5, 4, 1, 2); + Collections.sort(toSort, Ordering.natural()); + + assertTrue(Ordering.natural().isOrdered(toSort)); + } + + // checking string ordering + + @Test + public final void givenCollectionContainsDuplicates_whenCheckingStringOrdering_thenNo() { + final List toSort = Arrays.asList(3, 5, 4, 2, 1, 2); + Collections.sort(toSort, Ordering.natural()); + + assertFalse(Ordering.natural().isStrictlyOrdered(toSort)); + } + + // custom - by length + + @Test + public final void givenCollectionIsSorted_whenUsingOrderingApiToCheckOrder_thenCheckCanBePerformed() { + final List toSort = Arrays.asList("zz", "aa", "b", "ccc"); + final Ordering byLength = new OrderingByLenght(); + Collections.sort(toSort, byLength); + + final Ordering expectedOrder = Ordering.explicit(Lists.newArrayList("b", "zz", "aa", "ccc")); + assertTrue(expectedOrder.isOrdered(toSort)); + } + + @Test + public final void whenSortingCollectionsOfStringsByLenght_thenCorrectlySorted() { + final List toSort = Arrays.asList("zz", "aa", "b", "ccc"); + final Ordering byLength = new OrderingByLenght(); + + Collections.sort(toSort, byLength); + + final Ordering expectedOrder = Ordering.explicit(Lists.newArrayList("b", "zz", "aa", "ccc")); + assertTrue(expectedOrder.isOrdered(toSort)); + } + + @Test + public final void whenSortingCollectionsOfStringsByLenghtWithSecondaryNaturalOrdering_thenCorrectlySorted() { + final List toSort = Arrays.asList("zz", "aa", "b", "ccc"); + final Ordering byLength = new OrderingByLenght(); + + Collections.sort(toSort, byLength.compound(Ordering.natural())); + + final Ordering expectedOrder = Ordering.explicit(Lists.newArrayList("b", "aa", "zz", "ccc")); + assertTrue(expectedOrder.isOrdered(toSort)); + } + + @Test + public final void whenSortingCollectionsWithComplexOrderingExample_thenCorrectlySorted() { + final List toSort = Arrays.asList("zz", "aa", null, "b", "ccc"); + + Collections.sort(toSort, new OrderingByLenght().reverse().compound(Ordering.natural()).nullsLast()); + System.out.println(toSort); + } + + // sorted copy + + @Test + public final void givenUnorderdList_whenRetrievingSortedCopy_thenSorted() { + final List toSort = Arrays.asList("aa", "b", "ccc"); + final List sortedCopy = new OrderingByLenght().sortedCopy(toSort); + + final Ordering expectedOrder = Ordering.explicit(Lists.newArrayList("b", "aa", "ccc")); + assertFalse(expectedOrder.isOrdered(toSort)); + assertTrue(expectedOrder.isOrdered(sortedCopy)); + } + + // to string + + @Test + public final void givenUnorderdList_whenUsingToStringForSortingObjects_thenSortedWithToString() { + final List toSort = Arrays.asList(1, 2, 11); + Collections.sort(toSort, Ordering.usingToString()); + + final Ordering expectedOrder = Ordering.explicit(Lists.newArrayList(1, 11, 2)); + assertTrue(expectedOrder.isOrdered(toSort)); + } + + // binary search + + @Test + public final void whenPerformingBinarySearch_thenFound() { + final List toSort = Arrays.asList(1, 2, 11); + Collections.sort(toSort, Ordering.usingToString()); + final int found = Ordering.usingToString().binarySearch(toSort, 2); + + System.out.println(found); + } + + // min/max without actually sorting + + @Test + public final void whenFindingTheMinimalElementWithoutSorting_thenFound() { + final List toSort = Arrays.asList(2, 1, 11, 100, 8, 14); + final int found = Ordering.natural().min(toSort); + assertThat(found, equalTo(1)); + } + + @Test + public final void whenFindingTheFirstFewElements_thenCorrect() { + final List toSort = Arrays.asList(2, 1, 11, 100, 8, 14); + final List leastOf = Ordering.natural().leastOf(toSort, 3); + final List expected = Lists.newArrayList(1, 2, 8); + assertThat(expected, equalTo(leastOf)); + } + + // order the results of a Function + + @Test + public final void givenListOfNumbers_whenRunningAToStringFunctionThenSorting_thenCorrect() { + final List toSort = Arrays.asList(2, 1, 11, 100, 8, 14); + final Ordering ordering = Ordering.natural().onResultOf(Functions.toStringFunction()); + final List sortedCopy = ordering.sortedCopy(toSort); + + final List expected = Lists.newArrayList(1, 100, 11, 14, 2, 8); + assertThat(expected, equalTo(sortedCopy)); + } + +} diff --git a/guava/src/test/java/org/baeldung/guava/GuavaStringTest.java b/guava/src/test/java/org/baeldung/guava/GuavaStringTest.java new file mode 100644 index 0000000000..be230a9b0e --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/GuavaStringTest.java @@ -0,0 +1,218 @@ +package org.baeldung.guava; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.containsString; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.assertTrue; + +import java.nio.charset.Charset; +import java.nio.charset.CharsetEncoder; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import org.junit.Test; + +import com.google.common.base.CharMatcher; +import com.google.common.base.Function; +import com.google.common.base.Joiner; +import com.google.common.base.Predicate; +import com.google.common.base.Splitter; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; + +public class GuavaStringTest { + + @Test + public void whenConvertListToString_thenConverted() { + final List names = Lists.newArrayList("John", "Jane", "Adam", "Tom"); + final String result = Joiner.on(",").join(names); + + assertEquals(result, "John,Jane,Adam,Tom"); + } + + @Test + public void whenConvertListToStringAndSkipNull_thenConverted() { + final List names = Lists.newArrayList("John", null, "Jane", "Adam", "Tom"); + final String result = Joiner.on(",").skipNulls().join(names); + + assertEquals(result, "John,Jane,Adam,Tom"); + } + + @Test + public void whenConvertMapToString_thenConverted() { + final Map salary = Maps.newHashMap(); + salary.put("John", 1000); + salary.put("Jane", 1500); + + final String result = Joiner.on(" , ").withKeyValueSeparator(" = ").join(salary); + + assertThat(result, containsString("John = 1000")); + assertThat(result, containsString("Jane = 1500")); + } + + @Test + public void whenJoinNestedCollections_thenJoined() { + final List> nested = Lists.newArrayList(Lists.newArrayList("apple", "banana", "orange"), Lists.newArrayList("cat", "dog", "bird"), Lists.newArrayList("John", "Jane", "Adam")); + final String result = Joiner.on(";").join(Iterables.transform(nested, new Function, String>() { + @Override + public final String apply(final List input) { + return Joiner.on("-").join(input); + } + })); + + assertThat(result, containsString("apple-banana-orange")); + assertThat(result, containsString("cat-dog-bird")); + assertThat(result, containsString("John-Jane-Adam")); + } + + @Test + public void whenUseForNull_thenUsed() { + final List names = Lists.newArrayList("John", null, "Jane", "Adam", "Tom"); + final String result = Joiner.on(",").useForNull("nameless").join(names); + + assertEquals(result, "John,nameless,Jane,Adam,Tom"); + } + + @Test + public void whenCreateListFromString_thenCreated() { + final String input = "apple - banana - orange"; + final List result = Splitter.on("-").trimResults().splitToList(input); + + assertThat(result, contains("apple", "banana", "orange")); + } + + @Test + public void whenCreateMapFromString_thenCreated() { + final String input = "John=first,Adam=second"; + final Map result = Splitter.on(",").withKeyValueSeparator("=").split(input); + + assertEquals("first", result.get("John")); + assertEquals("second", result.get("Adam")); + } + + @Test + public void whenSplitStringOnMultipleSeparator_thenSplit() { + final String input = "apple.banana,,orange,,."; + final List result = Splitter.onPattern("[.|,]").omitEmptyStrings().splitToList(input); + + assertThat(result, contains("apple", "banana", "orange")); + } + + @Test + public void whenSplitStringOnSpecificLength_thenSplit() { + final String input = "Hello world"; + final List result = Splitter.fixedLength(3).splitToList(input); + + assertThat(result, contains("Hel", "lo ", "wor", "ld")); + } + + @Test + public void whenLimitSplitting_thenLimited() { + final String input = "a,b,c,d,e"; + final List result = Splitter.on(",").limit(4).splitToList(input); + + assertEquals(4, result.size()); + assertThat(result, contains("a", "b", "c", "d,e")); + } + + @Test + public void whenRemoveSpecialCharacters_thenRemoved() { + final String input = "H*el.lo,}12"; + final CharMatcher matcher = CharMatcher.JAVA_LETTER_OR_DIGIT; + final String result = matcher.retainFrom(input); + + assertEquals("Hello12", result); + } + + @Test + public void whenRemoveNonASCIIChars_thenRemoved() { + final String input = "ã‚hello₤"; + + String result = CharMatcher.ASCII.retainFrom(input); + assertEquals("hello", result); + + result = CharMatcher.inRange('0', 'z').retainFrom(input); + assertEquals("hello", result); + } + + @Test + public void whenValidateString_thenValid() { + final String input = "hello"; + + boolean result = CharMatcher.JAVA_LOWER_CASE.matchesAllOf(input); + assertTrue(result); + + result = CharMatcher.is('e').matchesAnyOf(input); + assertTrue(result); + + result = CharMatcher.JAVA_DIGIT.matchesNoneOf(input); + assertTrue(result); + } + + @Test + public void whenTrimString_thenTrimmed() { + final String input = "---hello,,,"; + + String result = CharMatcher.is('-').trimLeadingFrom(input); + assertEquals("hello,,,", result); + + result = CharMatcher.is(',').trimTrailingFrom(input); + assertEquals("---hello", result); + + result = CharMatcher.anyOf("-,").trimFrom(input); + assertEquals("hello", result); + } + + @Test + public void whenCollapseFromString_thenCollapsed() { + final String input = " hel lo "; + + String result = CharMatcher.is(' ').collapseFrom(input, '-'); + assertEquals("-hel-lo-", result); + + result = CharMatcher.is(' ').trimAndCollapseFrom(input, '-'); + assertEquals("hel-lo", result); + } + + @Test + public void whenReplaceFromString_thenReplaced() { + final String input = "apple-banana."; + + String result = CharMatcher.anyOf("-.").replaceFrom(input, '!'); + assertEquals("apple!banana!", result); + + result = CharMatcher.is('-').replaceFrom(input, " and "); + assertEquals("apple and banana.", result); + } + + @Test + public void whenCountCharInString_thenCorrect() { + final String input = "a, c, z, 1, 2"; + + int result = CharMatcher.is(',').countIn(input); + assertEquals(4, result); + + result = CharMatcher.inRange('a', 'h').countIn(input); + assertEquals(2, result); + } + + @Test + public void whenRemoveCharsNotInCharset_thenRemoved() { + final Charset charset = Charset.forName("cp437"); + final CharsetEncoder encoder = charset.newEncoder(); + + final Predicate inRange = new Predicate() { + @Override + public boolean apply(final Character c) { + return encoder.canEncode(c); + } + }; + + final String result = CharMatcher.forPredicate(inRange).retainFrom("helloã¯"); + assertEquals("hello", result); + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/Animal.java b/guava/src/test/java/org/baeldung/hamcrest/Animal.java new file mode 100644 index 0000000000..1a0266f5a3 --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/Animal.java @@ -0,0 +1,33 @@ +package org.baeldung.hamcrest; + +public class Animal { + String name; + boolean wild; + String sound; + + public Animal(String name, boolean wild, String sound) { + super(); + this.name = name; + this.wild = wild; + this.sound = sound; + } + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public boolean isWild() { + return wild; + } + public void setWild(boolean wild) { + this.wild = wild; + } + public String getSound() { + return sound; + } + public void setSound(String sound) { + this.sound = sound; + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/Cat.java b/guava/src/test/java/org/baeldung/hamcrest/Cat.java new file mode 100644 index 0000000000..892e5b6e30 --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/Cat.java @@ -0,0 +1,13 @@ +package org.baeldung.hamcrest; + +public class Cat extends Animal { + + public Cat() { + super("cat", false, "meow"); + } + + public String makeSound() { + return getSound(); + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java b/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java new file mode 100644 index 0000000000..a44ce766f0 --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/HamcrestExamplesTest.java @@ -0,0 +1,97 @@ +package org.baeldung.hamcrest; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.containsInAnyOrder; +import static org.hamcrest.Matchers.empty; +import static org.hamcrest.Matchers.emptyArray; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.everyItem; +import static org.hamcrest.Matchers.greaterThan; +import static org.hamcrest.Matchers.hasItem; +import static org.hamcrest.Matchers.hasItems; +import static org.hamcrest.Matchers.hasSize; +import static org.hamcrest.Matchers.not; +import static org.junit.Assert.assertThat; + +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import org.hamcrest.Matchers; +import org.junit.Test; + +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; + +public class HamcrestExamplesTest { + + // tests + + @Test + public final void whenVerifyingSingleElementIsPartOfCollection_thenCorrect() { + final List collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, hasItem("cd")); + assertThat(collection, not(hasItem("zz"))); + } + + @Test + public final void whenVerifyingMultipleElementsArePartOfCollection_thenCorrect1() { + final List collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, hasItems("ef", "cd")); + } + + @Test + public final void whenVerifyingMultipleElementsArePartOfCollectionInStrictOrder_thenCorrect2() { + final List collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, contains("ab", "cd", "ef")); + } + + @Test + public final void whenVerifyingMultipleElementsArePartOfCollectionInAnyOrder_thenCorrect2() { + final List collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, containsInAnyOrder("cd", "ab", "ef")); + } + + @Test + public final void givenCollectionIsEmpty_whenChecking_thenEmpty() { + final List collection = Lists.newArrayList(); + assertThat(collection, empty()); + } + + @Test + public final void givenCollectionIsNotEmpty_whenChecking_thenNotEmpty() { + final List collection = Lists.newArrayList("a"); + assertThat(collection, not(empty())); + } + + @Test + public final void givenMapIsEmpty_whenChecking_thenEmpty() { + final Map collection = Maps.newHashMap(); + assertThat(collection, equalTo(Collections.EMPTY_MAP)); + } + + @Test + public final void givenArrayIsEmpty_whenChecking_thenEmpty() { + final String[] array = new String[] { "ab" }; + assertThat(array, not(emptyArray())); + } + + @Test + public final void whenCollectionSizeIsChecked_thenCorrect() { + final List collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, hasSize(3)); + } + + @Test + public final void whenIterableSizeIsChecked_thenCorrect() { + final Iterable collection = Lists.newArrayList("ab", "cd", "ef"); + assertThat(collection, Matchers. iterableWithSize(3)); + } + + @Test + public final void whenCheckingConditionOverEachItem_thenCorrect() { + final List collection = Lists.newArrayList(15, 20, 25, 30); + assertThat(collection, everyItem(greaterThan(10))); + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java b/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java new file mode 100644 index 0000000000..b3756d609f --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/HamcrestMatcherTest.java @@ -0,0 +1,331 @@ +package org.baeldung.hamcrest; + +import org.junit.Test; + +import java.util.*; + +import static org.baeldung.hamcrest.IsPositiveInteger.isAPositiveInteger; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.*; +import static org.hamcrest.beans.HasProperty.hasProperty; +import static org.hamcrest.beans.HasPropertyWithValue.hasProperty; +import static org.hamcrest.beans.SamePropertyValuesAs.samePropertyValuesAs; +import static org.hamcrest.collection.IsArrayContaining.hasItemInArray; +import static org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder; +import static org.hamcrest.collection.IsArrayContainingInOrder.arrayContaining; +import static org.hamcrest.collection.IsArrayWithSize.arrayWithSize; +import static org.hamcrest.collection.IsCollectionWithSize.hasSize; +import static org.hamcrest.collection.IsEmptyCollection.empty; +import static org.hamcrest.collection.IsIn.isIn; +import static org.hamcrest.collection.IsIn.isOneOf; +import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder; +import static org.hamcrest.collection.IsIterableContainingInOrder.contains; +import static org.hamcrest.collection.IsMapContaining.hasEntry; +import static org.hamcrest.collection.IsMapContaining.hasKey; +import static org.hamcrest.collection.IsMapContaining.hasValue; +import static org.hamcrest.core.AllOf.allOf; +import static org.hamcrest.core.AnyOf.anyOf; +import static org.hamcrest.core.Every.everyItem; +import static org.hamcrest.core.Is.is; +import static org.hamcrest.core.IsInstanceOf.instanceOf; +import static org.hamcrest.core.IsNot.not; +import static org.hamcrest.core.IsNull.notNullValue; +import static org.hamcrest.core.IsSame.sameInstance; +import static org.hamcrest.core.StringContains.containsString; +import static org.hamcrest.core.StringEndsWith.endsWith; +import static org.hamcrest.core.StringStartsWith.startsWith; +import static org.hamcrest.object.HasToString.hasToString; +import static org.hamcrest.object.IsCompatibleType.typeCompatibleWith; +import static org.hamcrest.text.IsEmptyString.isEmptyOrNullString; +import static org.hamcrest.text.IsEmptyString.isEmptyString; +import static org.hamcrest.text.IsEqualIgnoringCase.equalToIgnoringCase; +import static org.hamcrest.text.IsEqualIgnoringWhiteSpace.equalToIgnoringWhiteSpace; +import static org.hamcrest.text.StringContainsInOrder.stringContainsInOrder; + +public class HamcrestMatcherTest { + @Test + public void given2Strings_whenEqual_thenCorrect() { + String a = "foo"; + String b = "FOO"; + assertThat(a, equalToIgnoringCase(b)); + } + + @Test + public void givenBean_whenHasValue_thenCorrect() { + Person person = new Person("Baeldung", "New York"); + assertThat(person, hasProperty("name")); + } + + @Test + public void givenBean_whenHasCorrectValue_thenCorrect() { + Person person = new Person("Baeldung", "New York"); + assertThat(person, hasProperty("address", equalTo("New York"))); + } + + @Test + public void given2Beans_whenHavingSameValues_thenCorrect() { + Person person1 = new Person("Baeldung", "New York"); + Person person2 = new Person("Baeldung", "New York"); + assertThat(person1, samePropertyValuesAs(person2)); + } + + @Test + public void givenAList_whenChecksSize_thenCorrect() { + List hamcrestMatchers = Arrays.asList("collections", "beans", + "text", "number"); + assertThat(hamcrestMatchers, hasSize(4)); + } + + @Test + public void givenArray_whenChecksSize_thenCorrect() { + String[] hamcrestMatchers = { "collections", "beans", "text", "number" }; + assertThat(hamcrestMatchers, arrayWithSize(4)); + } + + @Test + public void givenAListAndValues_whenChecksListForGivenValues_thenCorrect() { + List hamcrestMatchers = Arrays.asList("collections", "beans", + "text", "number"); + assertThat(hamcrestMatchers, + containsInAnyOrder("beans", "text", "collections", "number")); + } + + @Test + public void givenAListAndValues_whenChecksListForGivenValuesWithOrder_thenCorrect() { + List hamcrestMatchers = Arrays.asList("collections", "beans", + "text", "number"); + assertThat(hamcrestMatchers, + contains("collections", "beans", "text", "number")); + } + + @Test + public void givenArrayAndValue_whenValueFoundInArray_thenCorrect() { + String[] hamcrestMatchers = { "collections", "beans", "text", "number" }; + assertThat(hamcrestMatchers, hasItemInArray("text")); + + } + + @Test + public void givenValueAndArray_whenValueIsOneOfArrayElements_thenCorrect() { + String[] hamcrestMatchers = { "collections", "beans", "text", "number" }; + assertThat("text", isOneOf(hamcrestMatchers)); + + } + + @Test + public void givenArrayAndValues_whenValuesFoundInArray_thenCorrect() { + String[] hamcrestMatchers = { "collections", "beans", "text", "number" }; + assertThat( + hamcrestMatchers, + arrayContainingInAnyOrder("beans", "collections", "number", + "text")); + + } + + @Test + public void givenArrayAndValues_whenValuesFoundInArrayInOrder_thenCorrect() { + String[] hamcrestMatchers = { "collections", "beans", "text", "number" }; + assertThat(hamcrestMatchers, + arrayContaining("collections", "beans", "text", "number")); + + } + + @Test + public void givenCollection_whenEmpty_thenCorrect() { + List emptyList = new ArrayList<>(); + assertThat(emptyList, empty()); + + } + + @Test + public void givenValueAndArray_whenValueFoundInArray_thenCorrect() { + String[] array = new String[] { "collections", "beans", "text", + "number" }; + assertThat("beans", isIn(array)); + + } + + @Test + public void givenMapAndKey_whenKeyFoundInMap_thenCorrect() { + Map map = new HashMap<>(); + map.put("blogname", "baeldung"); + assertThat(map, hasKey("blogname")); + } + + @Test + public void givenMapAndEntry_whenEntryFoundInMap_thenCorrect() { + Map map = new HashMap<>(); + map.put("blogname", "baeldung"); + assertThat(map, hasEntry("blogname", "baeldung")); + } + + @Test + public void givenMapAndValue_whenValueFoundInMap_thenCorrect() { + Map map = new HashMap<>(); + map.put("blogname", "baeldung"); + assertThat(map, hasValue("baeldung")); + } + + @Test + public void givenString_whenEmpty_thenCorrect() { + String str = ""; + assertThat(str, isEmptyString()); + } + + @Test + public void givenString_whenEmptyOrNull_thenCorrect() { + String str = null; + assertThat(str, isEmptyOrNullString()); + } + + @Test + public void given2Strings_whenEqualRegardlessWhiteSpace_thenCorrect() { + String str1 = "text"; + String str2 = " text "; + assertThat(str1, equalToIgnoringWhiteSpace(str2)); + } + + @Test + public void givenString_whenContainsGivenSubstring_thenCorrect() { + String str = "calligraphy"; + assertThat(str, stringContainsInOrder(Arrays.asList("call", "graph"))); + } + + @Test + public void givenBean_whenToStringReturnsRequiredString_thenCorrect() { + Person person = new Person("Barrack", "Washington"); + String str = person.toString(); + assertThat(person, hasToString(str)); + } + + @Test + public void given2Classes_whenOneInheritsFromOther_thenCorrect() { + assertThat(Cat.class, typeCompatibleWith(Animal.class)); + } + + + @Test + public void given2Strings_whenIsEqualRegardlessWhiteSpace_thenCorrect() { + String str1 = "text"; + String str2 = " text "; + assertThat(str1, is(equalToIgnoringWhiteSpace(str2))); + } + + @Test + public void given2Strings_whenIsNotEqualRegardlessWhiteSpace_thenCorrect() { + String str1 = "text"; + String str2 = " texts "; + assertThat(str1, not(equalToIgnoringWhiteSpace(str2))); + } + + @Test + public void given2Strings_whenNotEqual_thenCorrect() { + String str1 = "text"; + String str2 = "texts"; + assertThat(str1, not(str2)); + } + + @Test + public void given2Strings_whenIsEqual_thenCorrect() { + String str1 = "text"; + String str2 = "text"; + assertThat(str1, is(str2)); + } + + @Test + public void givenAStrings_whenContainsAnotherGivenString_thenCorrect() { + String str1 = "calligraphy"; + String str2 = "call"; + assertThat(str1, containsString(str2)); + } + + @Test + public void givenAString_whenEndsWithAnotherGivenString_thenCorrect() { + String str1 = "calligraphy"; + String str2 = "phy"; + assertThat(str1, endsWith(str2)); + } + + @Test + public void givenAString_whenStartsWithAnotherGivenString_thenCorrect() { + String str1 = "calligraphy"; + String str2 = "call"; + assertThat(str1, startsWith(str2)); + } + + @Test + public void given2Objects_whenSameInstance_thenCorrect() { + Cat cat = new Cat(); + assertThat(cat, sameInstance(cat)); + } + + @Test + public void givenAnObject_whenInstanceOfGivenClass_thenCorrect() { + Cat cat = new Cat(); + assertThat(cat, instanceOf(Cat.class)); + } + + @Test + public void givenList_whenEachElementGreaterThan0_thenCorrect() { + List list = Arrays.asList(1, 2, 3); + int baseCase = 0; + assertThat(list, everyItem(greaterThan(baseCase))); + } + + @Test + public void givenString_whenNotNull_thenCorrect() { + String str = "notnull"; + assertThat(str, notNullValue()); + } + + @Test + public void givenString_whenMeetsAnyOfGivenConditions_thenCorrect() { + String str = "calligraphy"; + String start = "call"; + String end = "foo"; + assertThat(str, anyOf(startsWith(start), containsString(end))); + } + + @Test + public void givenString_whenMeetsAllOfGivenConditions_thenCorrect() { + String str = "calligraphy"; + String start = "call"; + String end = "phy"; + assertThat(str, allOf(startsWith(start), endsWith(end))); + } + + @Test + public void givenInteger_whenAPositiveValue_thenCorrect() { + int num = 1; + assertThat(num, isAPositiveInteger()); + } + + @Test + public void givenAnInteger_whenGreaterThan0_thenCorrect() { + int num = 1; + assertThat(num, greaterThan(0)); + } + + @Test + public void givenAnInteger_whenGreaterThanOrEqTo5_thenCorrect() { + int num = 5; + assertThat(num, greaterThanOrEqualTo(5)); + } + + @Test + public void givenAnInteger_whenLessThan0_thenCorrect() { + int num = -1; + assertThat(num, lessThan(0)); + } + + @Test + public void givenAnInteger_whenLessThanOrEqTo5_thenCorrect() { + assertThat(-1, lessThanOrEqualTo(5)); + } + + @Test + public void givenADouble_whenCloseTo_thenCorrect() { + assertThat(1.2, closeTo(1, 0.5)); + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/IsPositiveInteger.java b/guava/src/test/java/org/baeldung/hamcrest/IsPositiveInteger.java new file mode 100644 index 0000000000..0d8d262538 --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/IsPositiveInteger.java @@ -0,0 +1,24 @@ +package org.baeldung.hamcrest; + +import org.hamcrest.Description; +import org.hamcrest.Factory; +import org.hamcrest.Matcher; +import org.hamcrest.TypeSafeMatcher; + +public class IsPositiveInteger extends TypeSafeMatcher { + + public void describeTo(Description description) { + description.appendText("a positive integer"); + } + + @Factory + public static Matcher isAPositiveInteger() { + return new IsPositiveInteger(); + } + + @Override + protected boolean matchesSafely(Integer integer) { + return integer > 0; + } + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/Person.java b/guava/src/test/java/org/baeldung/hamcrest/Person.java new file mode 100644 index 0000000000..0053c98043 --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/Person.java @@ -0,0 +1,37 @@ +package org.baeldung.hamcrest; + +public class Person { + String name; + String address; + + public Person(String personName, String personAddress) { + name = personName; + address = personAddress; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + @Override + public String toString() { + String str="[address:"+address+",name:"+name+"]"; + return str; + } + + + + +} diff --git a/guava/src/test/java/org/baeldung/hamcrest/README.md b/guava/src/test/java/org/baeldung/hamcrest/README.md new file mode 100644 index 0000000000..7266ecda3a --- /dev/null +++ b/guava/src/test/java/org/baeldung/hamcrest/README.md @@ -0,0 +1,2 @@ +### Relevant Articles: +- [Testing with Hamcrest](http://www.baeldung.com/java-junit-hamcrest-guide) diff --git a/guava/src/test/java/org/baeldung/java/CollectionApachePartitionUnitTest.java b/guava/src/test/java/org/baeldung/java/CollectionApachePartitionUnitTest.java new file mode 100644 index 0000000000..1071d4a5fb --- /dev/null +++ b/guava/src/test/java/org/baeldung/java/CollectionApachePartitionUnitTest.java @@ -0,0 +1,43 @@ +package org.baeldung.java; + +import static org.hamcrest.Matchers.equalTo; +import static org.junit.Assert.assertThat; + +import java.util.List; + +import org.apache.commons.collections4.ListUtils; +import org.junit.Test; + +import com.google.common.collect.Lists; + +public class CollectionApachePartitionUnitTest { + + // tests - apache common collections + + @Test + public final void givenList_whenParitioningIntoNSublists_thenCorrect() { + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + + final List> subSets = ListUtils.partition(intList, 3); + + // When + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8); + assertThat(subSets.size(), equalTo(3)); + assertThat(lastPartition, equalTo(expectedLastPartition)); + } + + @Test + public final void givenListPartitioned_whenOriginalListIsModified_thenPartitionsChange() { + // Given + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + final List> subSets = ListUtils.partition(intList, 3); + + // When + intList.add(9); + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8, 9); + assertThat(lastPartition, equalTo(expectedLastPartition)); + } + +} diff --git a/guava/src/test/java/org/baeldung/java/CollectionGuavaPartitionUnitTest.java b/guava/src/test/java/org/baeldung/java/CollectionGuavaPartitionUnitTest.java new file mode 100644 index 0000000000..c4ddb35da2 --- /dev/null +++ b/guava/src/test/java/org/baeldung/java/CollectionGuavaPartitionUnitTest.java @@ -0,0 +1,56 @@ +package org.baeldung.java; + +import static org.hamcrest.Matchers.equalTo; +import static org.junit.Assert.assertThat; + +import java.util.Collection; +import java.util.List; + +import org.junit.Test; + +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; + +public class CollectionGuavaPartitionUnitTest { + + // tests - guava + + @Test + public final void givenList_whenParitioningIntoNSublists_thenCorrect() { + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + + final List> subSets = Lists.partition(intList, 3); + + // When + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8); + assertThat(subSets.size(), equalTo(3)); + assertThat(lastPartition, equalTo(expectedLastPartition)); + } + + @Test + public final void givenListPartitioned_whenOriginalListIsModified_thenPartitionsChangeAsWell() { + // Given + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + final List> subSets = Lists.partition(intList, 3); + + // When + intList.add(9); + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8, 9); + assertThat(lastPartition, equalTo(expectedLastPartition)); + } + + @Test + public final void givenCollection_whenParitioningIntoNSublists_thenCorrect() { + final Collection intCollection = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + + final Iterable> subSets = Iterables.partition(intCollection, 3); + + // When + final List firstPartition = subSets.iterator().next(); + final List expectedLastPartition = Lists. newArrayList(1, 2, 3); + assertThat(firstPartition, equalTo(expectedLastPartition)); + } + +} diff --git a/guava/src/test/java/org/baeldung/java/CollectionJavaPartitionUnitTest.java b/guava/src/test/java/org/baeldung/java/CollectionJavaPartitionUnitTest.java new file mode 100644 index 0000000000..63583987ea --- /dev/null +++ b/guava/src/test/java/org/baeldung/java/CollectionJavaPartitionUnitTest.java @@ -0,0 +1,70 @@ +package org.baeldung.java; + +import static org.hamcrest.Matchers.equalTo; +import static org.junit.Assert.assertThat; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; +import java.util.stream.IntStream; +import java.util.stream.Stream; + +import org.junit.Test; + +import com.google.common.collect.Lists; + +public class CollectionJavaPartitionUnitTest { + + // java8 groupBy + @Test + public final void givenList_whenParitioningIntoNSublistsUsingGroupingBy_thenCorrect() { + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + + final Map> groups = intList.stream().collect(Collectors.groupingBy(s -> (s - 1) / 3)); + final List> subSets = new ArrayList>(groups.values()); + + // When + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8); + assertThat(subSets.size(), equalTo(3)); + assertThat(lastPartition, equalTo(expectedLastPartition)); + + // intList.add(9); + // System.out.println(groups.values()); + } + + // java8 partitionBy + @Test + public final void givenList_whenParitioningIntoSublistsUsingPartitionBy_thenCorrect() { + final List intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8); + + final Map> groups = intList.stream().collect(Collectors.partitioningBy(s -> s > 6)); + final List> subSets = new ArrayList>(groups.values()); + + // When + final List lastPartition = subSets.get(1); + final List expectedLastPartition = Lists. newArrayList(7, 8); + assertThat(subSets.size(), equalTo(2)); + assertThat(lastPartition, equalTo(expectedLastPartition)); + + // intList.add(9); + // System.out.println(groups.values()); + } + + // java8 split by separator + @Test + public final void givenList_whenSplittingBySeparator_thenCorrect() { + final List intList = Lists.newArrayList(1, 2, 3, 0, 4, 5, 6, 0, 7, 8); + + final int[] indexes = Stream.of(IntStream.of(-1), IntStream.range(0, intList.size()).filter(i -> intList.get(i) == 0), IntStream.of(intList.size())).flatMapToInt(s -> s).toArray(); + final List> subSets = IntStream.range(0, indexes.length - 1).mapToObj(i -> intList.subList(indexes[i] + 1, indexes[i + 1])).collect(Collectors.toList()); + + // When + final List lastPartition = subSets.get(2); + final List expectedLastPartition = Lists. newArrayList(7, 8); + assertThat(subSets.size(), equalTo(3)); + assertThat(lastPartition, equalTo(expectedLastPartition)); + } + +} diff --git a/guava/src/test/resources/.gitignore b/guava/src/test/resources/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/guava/src/test/resources/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file diff --git a/guava/src/test/resources/test.out b/guava/src/test/resources/test.out new file mode 100644 index 0000000000..7a79da3803 --- /dev/null +++ b/guava/src/test/resources/test.out @@ -0,0 +1 @@ +John Jane Adam Tom \ No newline at end of file diff --git a/guava/src/test/resources/test1.in b/guava/src/test/resources/test1.in new file mode 100644 index 0000000000..70c379b63f --- /dev/null +++ b/guava/src/test/resources/test1.in @@ -0,0 +1 @@ +Hello world \ No newline at end of file diff --git a/guava/src/test/resources/test1_1.in b/guava/src/test/resources/test1_1.in new file mode 100644 index 0000000000..8318c86b35 --- /dev/null +++ b/guava/src/test/resources/test1_1.in @@ -0,0 +1 @@ +Test \ No newline at end of file diff --git a/guava/src/test/resources/test2.in b/guava/src/test/resources/test2.in new file mode 100644 index 0000000000..622efea9e6 --- /dev/null +++ b/guava/src/test/resources/test2.in @@ -0,0 +1,4 @@ +John +Jane +Adam +Tom \ No newline at end of file diff --git a/guava/src/test/resources/test_copy.in b/guava/src/test/resources/test_copy.in new file mode 100644 index 0000000000..70c379b63f --- /dev/null +++ b/guava/src/test/resources/test_copy.in @@ -0,0 +1 @@ +Hello world \ No newline at end of file diff --git a/guava/src/test/resources/test_le.txt b/guava/src/test/resources/test_le.txt new file mode 100644 index 0000000000..f7cc484bf4 Binary files /dev/null and b/guava/src/test/resources/test_le.txt differ diff --git a/guava18/README.md b/guava18/README.md new file mode 100644 index 0000000000..9924d7c16f --- /dev/null +++ b/guava18/README.md @@ -0,0 +1,12 @@ +========= + +## Guava and Hamcrest Cookbooks and Examples + + +### Relevant Articles: +- [Guava Collections Cookbook](http://www.baeldung.com/guava-collections) +- [Guava Ordering Cookbook](http://www.baeldung.com/guava-order) +- [Guava Functional Cookbook](http://www.baeldung.com/guava-functions-predicates) +- [Hamcrest Collections Cookbook](http://www.baeldung.com/hamcrest-collections-arrays) +- [Partition a List in Java](http://www.baeldung.com/java-list-split) +- [Guava 18: What’s New?](http://www.baeldung.com/whats-new-in-guava-18) diff --git a/guava18/pom.xml b/guava18/pom.xml new file mode 100644 index 0000000000..413e9c35b8 --- /dev/null +++ b/guava18/pom.xml @@ -0,0 +1,43 @@ + + + 4.0.0 + + com.baeldung + guava18 + 0.1.0-SNAPSHOT + + + + com.google.guava + guava + 18.0 + + + + junit + junit + 4.12 + test + + + + + + + maven-compiler-plugin + 3.3 + + true + true + 1.8 + 1.8 + UTF-8 + true + true + + + + + + \ No newline at end of file diff --git a/guava18/src/main/java/com/baeldung/guava/entity/Administrator.java b/guava18/src/main/java/com/baeldung/guava/entity/Administrator.java new file mode 100644 index 0000000000..f9447ea44d --- /dev/null +++ b/guava18/src/main/java/com/baeldung/guava/entity/Administrator.java @@ -0,0 +1,18 @@ +package com.baeldung.guava.entity; + +import com.google.common.base.MoreObjects; + +public class Administrator extends User{ + public Administrator(long id, String name, int age) { + super(id, name, age); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("id", getId()) + .add("name", getName()) + .add("age", getAge()) + .toString(); + } +} \ No newline at end of file diff --git a/guava18/src/main/java/com/baeldung/guava/entity/Player.java b/guava18/src/main/java/com/baeldung/guava/entity/Player.java new file mode 100644 index 0000000000..f460fa9f00 --- /dev/null +++ b/guava18/src/main/java/com/baeldung/guava/entity/Player.java @@ -0,0 +1,8 @@ +package com.baeldung.guava.entity; + +public class Player extends User{ + public Player(long id, String name, int age) { + super(id, name, age); + } + +} diff --git a/guava18/src/main/java/com/baeldung/guava/entity/User.java b/guava18/src/main/java/com/baeldung/guava/entity/User.java new file mode 100644 index 0000000000..be673edb10 --- /dev/null +++ b/guava18/src/main/java/com/baeldung/guava/entity/User.java @@ -0,0 +1,36 @@ +package com.baeldung.guava.entity; + +import com.google.common.base.MoreObjects; + +public class User{ + private long id; + private String name; + private int age; + + public User(long id, String name, int age) { + this.id = id; + this.name = name; + this.age = age; + } + + public long getId() { + return id; + } + + public String getName() { + return name; + } + + public int getAge() { + return age; + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(User.class) + .add("id", id) + .add("name", name) + .add("age", age) + .toString(); + } +} \ No newline at end of file diff --git a/guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java b/guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java new file mode 100644 index 0000000000..82552fca8f --- /dev/null +++ b/guava18/src/test/java/com/baeldung/guava/FluentIterableTest.java @@ -0,0 +1,80 @@ +package com.baeldung.guava; + +import com.baeldung.guava.entity.User; +import com.google.common.base.Functions; +import com.google.common.base.Joiner; +import com.google.common.base.Predicate; +import com.google.common.collect.FluentIterable; +import org.junit.Assert; +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.hamcrest.CoreMatchers.equalTo; + +public class FluentIterableTest { + + private static final int ADULT_AGE = 18; + + @Test + public void whenFilteringByAge_shouldFilterOnlyAdultUsers() throws Exception { + List users = new ArrayList<>(); + users.add(new User(1L, "John", 45)); + users.add(new User(2L, "Michael", 27)); + users.add(new User(3L, "Max", 16)); + users.add(new User(4L, "Bob", 10)); + users.add(new User(5L, "Bill", 65)); + + Predicate byAge = input -> input.getAge() > ADULT_AGE; + + List results = FluentIterable.from(users) + .filter(byAge) + .transform(Functions.toStringFunction()) + .toList(); + + Assert.assertThat(results.size(), equalTo(3)); + } + + @Test + public void whenCreatingFluentIterableFromArray_shouldContainAllUsers() throws Exception { + User[] usersArray = {new User(1L, "John", 45), new User(2L, "Max", 15)}; + FluentIterable users = FluentIterable.of(usersArray); + + Assert.assertThat(users.size(), equalTo(2)); + } + + @Test + public void whenAppendingElementsToFluentIterable_shouldContainAllUsers() throws Exception { + User[] usersArray = {new User(1L, "John", 45), new User(2L, "Max", 15)}; + + FluentIterable users = FluentIterable.of(usersArray).append( + new User(3L, "Bob", 23), + new User(4L, "Bill", 17) + ); + + Assert.assertThat(users.size(), equalTo(4)); + } + + @Test + public void whenAppendingListToFluentIterable_shouldContainAllUsers() throws Exception { + User[] usersArray = {new User(1L, "John", 45), new User(2L, "Max", 15)}; + + List usersList = new ArrayList<>(); + usersList.add(new User(3L, "David", 32)); + + FluentIterable users = FluentIterable.of(usersArray).append(usersList); + + Assert.assertThat(users.size(), equalTo(3)); + } + + @Test + public void whenJoiningFluentIterableElements_shouldOutputAllUsers() throws Exception { + User[] usersArray = {new User(1L, "John", 45), new User(2L, "Max", 15)}; + + FluentIterable users = FluentIterable.of(usersArray); + + Assert.assertThat(users.join(Joiner.on("; ")), + equalTo("User{id=1, name=John, age=45}; User{id=2, name=Max, age=15}")); + } +} \ No newline at end of file diff --git a/guava18/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java b/guava18/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java new file mode 100644 index 0000000000..db82ea6da8 --- /dev/null +++ b/guava18/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java @@ -0,0 +1,41 @@ +package com.baeldung.guava; + +import com.google.common.hash.HashCode; +import com.google.common.hash.Hashing; +import com.google.common.net.InetAddresses; +import org.junit.Assert; +import org.junit.Test; + +import java.net.InetAddress; +import java.util.concurrent.ConcurrentHashMap; + +import static org.hamcrest.CoreMatchers.equalTo; + +public class GuavaMiscUtilsTest { + @Test + public void whenHashingData_shouldReturnCorrectHashCode() throws Exception { + int receivedData = 123; + + HashCode hashCode = Hashing.crc32c().hashInt(receivedData); + Assert.assertThat(hashCode.toString(), equalTo("495be649")); + } + + @Test + public void whenDecrementingIpAddress_shouldReturnOneLessIpAddress() throws Exception { + InetAddress address = InetAddress.getByName("127.0.0.5"); + InetAddress decrementedAddress = InetAddresses.decrement(address); + + Assert.assertThat(decrementedAddress.toString(), equalTo("/127.0.0.4")); + } + + @Test + public void whenExecutingRunnableInThread_shouldLogThreadExecution() throws Exception { + ConcurrentHashMap threadExecutions = new ConcurrentHashMap<>(); + Runnable logThreadRun = () -> threadExecutions.put(Thread.currentThread().getName(), true); + + Thread t = new Thread(logThreadRun); + t.run(); + + Assert.assertTrue(threadExecutions.get("main")); + } +} diff --git a/guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java b/guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java new file mode 100644 index 0000000000..ec173499f1 --- /dev/null +++ b/guava18/src/test/java/com/baeldung/guava/MoreExecutorsTest.java @@ -0,0 +1,51 @@ +package com.baeldung.guava; + +import com.google.common.util.concurrent.ListeningExecutorService; +import com.google.common.util.concurrent.MoreExecutors; +import org.junit.Assert; +import org.junit.Test; + +import java.util.concurrent.*; + +public class MoreExecutorsTest { + @Test + public void whenExecutingRunnableInThreadPool_shouldLogAllThreadsExecutions() throws Exception { + ConcurrentHashMap threadExecutions = new ConcurrentHashMap<>(); + + Runnable logThreadRun = () -> threadExecutions.put(Thread.currentThread().getName(), true); + + ExecutorService executorService = Executors.newFixedThreadPool(2); + executorService.submit(logThreadRun); + executorService.submit(logThreadRun); + executorService.shutdown(); + + executorService.awaitTermination(100, TimeUnit.MILLISECONDS); + + Assert.assertTrue(threadExecutions.get("pool-1-thread-1")); + Assert.assertTrue(threadExecutions.get("pool-1-thread-2")); + } + + @Test + public void whenExecutingRunnableInDirectExecutor_shouldLogThreadExecution() throws Exception { + ConcurrentHashMap threadExecutions = new ConcurrentHashMap<>(); + + Runnable logThreadRun = () -> threadExecutions.put(Thread.currentThread().getName(), true); + + Executor executor = MoreExecutors.directExecutor(); + executor.execute(logThreadRun); + + Assert.assertTrue(threadExecutions.get("main")); + } + + @Test + public void whenExecutingRunnableInListeningExecutor_shouldLogThreadExecution() throws Exception { + ConcurrentHashMap threadExecutions = new ConcurrentHashMap<>(); + + Runnable logThreadRun = () -> threadExecutions.put(Thread.currentThread().getName(), true); + + ListeningExecutorService executor = MoreExecutors.newDirectExecutorService(); + executor.execute(logThreadRun); + + Assert.assertTrue(threadExecutions.get("main")); + } +} diff --git a/guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java b/guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java new file mode 100644 index 0000000000..5e46b5aba9 --- /dev/null +++ b/guava18/src/test/java/com/baeldung/guava/MoreObjectsTest.java @@ -0,0 +1,33 @@ +package com.baeldung.guava; + +import com.baeldung.guava.entity.Administrator; +import com.baeldung.guava.entity.Player; +import com.baeldung.guava.entity.User; +import org.junit.Assert; +import org.junit.Test; + +import static org.hamcrest.CoreMatchers.equalTo; + +public class MoreObjectsTest { + + @Test + public void whenToString_shouldIncludeAllFields() throws Exception { + User user = new User(12L, "John Doe", 25); + + Assert.assertThat(user.toString(), equalTo("User{id=12, name=John Doe, age=25}")); + } + + @Test + public void whenPlayerToString_shouldCallParentToString() throws Exception { + User user = new Player(12L, "John Doe", 25); + + Assert.assertThat(user.toString(), equalTo("User{id=12, name=John Doe, age=25}")); + } + + @Test + public void whenAdministratorToString_shouldExecuteAdministratorToString() throws Exception { + User user = new Administrator(12L, "John Doe", 25); + + Assert.assertThat(user.toString(), equalTo("Administrator{id=12, name=John Doe, age=25}")); + } +} diff --git a/guava19/README.md b/guava19/README.md new file mode 100644 index 0000000000..be9f2d72a4 --- /dev/null +++ b/guava19/README.md @@ -0,0 +1,7 @@ +========= + +## Guava 19 + + +### Relevant Articles: +- [Guava 19: What’s New?](http://www.baeldung.com/whats-new-in-guava-19) diff --git a/guava19/pom.xml b/guava19/pom.xml new file mode 100644 index 0000000000..61fbf38575 --- /dev/null +++ b/guava19/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + com.baeldung + guava19 + 0.1.0-SNAPSHOT + + + + com.google.guava + guava + ${guava.version} + + + + junit + junit + 4.12 + test + + + org.hamcrest + hamcrest-all + 1.3 + test + + + + + + + maven-compiler-plugin + 3.3 + + true + true + 1.8 + 1.8 + UTF-8 + true + true + + + + + + + 19.0 + + + \ No newline at end of file diff --git a/guava19/src/main/java/com/baeldung/guava/entity/User.java b/guava19/src/main/java/com/baeldung/guava/entity/User.java new file mode 100644 index 0000000000..be673edb10 --- /dev/null +++ b/guava19/src/main/java/com/baeldung/guava/entity/User.java @@ -0,0 +1,36 @@ +package com.baeldung.guava.entity; + +import com.google.common.base.MoreObjects; + +public class User{ + private long id; + private String name; + private int age; + + public User(long id, String name, int age) { + this.id = id; + this.name = name; + this.age = age; + } + + public long getId() { + return id; + } + + public String getName() { + return name; + } + + public int getAge() { + return age; + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(User.class) + .add("id", id) + .add("name", name) + .add("age", age) + .toString(); + } +} \ No newline at end of file diff --git a/guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java b/guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java new file mode 100644 index 0000000000..f890d9abc1 --- /dev/null +++ b/guava19/src/test/java/com/baeldung/guava/CharMatcherTest.java @@ -0,0 +1,33 @@ +package com.baeldung.guava; + +import com.google.common.base.CharMatcher; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +public class CharMatcherTest { + @Test + public void whenMatchingLetterOrString_ShouldReturnTrueForCorrectString() throws Exception { + String inputString = "someString789"; + boolean result = CharMatcher.javaLetterOrDigit().matchesAllOf(inputString); + + assertTrue(result); + } + + @Test + public void whenCollapsingString_ShouldReturnStringWithDashesInsteadOfWhitespaces() throws Exception { + String inputPhoneNumber = "8 123 456 123"; + String result = CharMatcher.whitespace().collapseFrom(inputPhoneNumber, '-'); + + assertEquals("8-123-456-123", result); + } + + @Test + public void whenCountingDigitsInString_ShouldReturnActualCountOfDigits() throws Exception { + String inputPhoneNumber = "8 123 456 123"; + int result = CharMatcher.digit().countIn(inputPhoneNumber); + + assertEquals(10, result); + } +} diff --git a/guava19/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java b/guava19/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java new file mode 100644 index 0000000000..c7b8441b78 --- /dev/null +++ b/guava19/src/test/java/com/baeldung/guava/GuavaMiscUtilsTest.java @@ -0,0 +1,88 @@ +package com.baeldung.guava; + +import com.google.common.base.Throwables; +import com.google.common.collect.*; +import org.junit.Test; + +import java.util.Arrays; +import java.util.List; + +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder; +import static org.hamcrest.core.AnyOf.anyOf; +import static org.junit.Assert.*; + +public class GuavaMiscUtilsTest { + + @Test + public void whenGettingLazyStackTrace_ListShouldBeReturned() throws Exception { + IllegalArgumentException e = new IllegalArgumentException("Some argument is incorrect"); + + List stackTraceElements = Throwables.lazyStackTrace(e); + + assertTrue(stackTraceElements.size() > 0); + } + + @Test + public void multisetShouldCountHitsOfMultipleDuplicateObjects() throws Exception { + List userNames = Arrays.asList("David", "Eugene", "Alex", "Alex", "David", "David", "David"); + + Multiset userNamesMultiset = HashMultiset.create(userNames); + + assertEquals(7, userNamesMultiset.size()); + assertEquals(4, userNamesMultiset.count("David")); + assertEquals(2, userNamesMultiset.count("Alex")); + assertEquals(1, userNamesMultiset.count("Eugene")); + assertThat(userNamesMultiset.elementSet(), anyOf(containsInAnyOrder("Alex", "David", "Eugene"))); + } + + @Test + public void whenAddingNewConnectedRange_RangesShouldBeMerged() throws Exception { + RangeSet rangeSet = TreeRangeSet.create(); + + rangeSet.add(Range.closed(1, 10)); + rangeSet.add(Range.closed(5, 15)); + rangeSet.add(Range.closedOpen(10, 17)); + + assertTrue(rangeSet.encloses(Range.closedOpen(1, 17))); + assertTrue(rangeSet.encloses(Range.closed(2, 3))); + assertTrue(rangeSet.contains(15)); + assertFalse(rangeSet.contains(17)); + assertEquals(1, rangeSet.asDescendingSetOfRanges().size()); + } + + @Test + public void cartesianProductShouldReturnAllPossibleCombinations() throws Exception { + List first = Lists.newArrayList("value1", "value2"); + List second = Lists.newArrayList("value3", "value4"); + + List> cartesianProduct = Lists.cartesianProduct(first, second); + + List pair1 = Lists.newArrayList("value2", "value3"); + List pair2 = Lists.newArrayList("value2", "value4"); + List pair3 = Lists.newArrayList("value1", "value3"); + List pair4 = Lists.newArrayList("value1", "value4"); + + assertThat(cartesianProduct, anyOf(containsInAnyOrder(pair1, pair2, pair3, pair4))); + } + + @Test + public void multisetShouldRemoveOccurrencesOfSpecifiedObjects() throws Exception { + Multiset multisetToModify = HashMultiset.create(); + Multiset occurrencesToRemove = HashMultiset.create(); + + multisetToModify.add("John"); + multisetToModify.add("Max"); + multisetToModify.add("Alex"); + + occurrencesToRemove.add("Alex"); + occurrencesToRemove.add("John"); + + Multisets.removeOccurrences(multisetToModify, occurrencesToRemove); + + assertEquals(1, multisetToModify.size()); + assertTrue(multisetToModify.contains("Max")); + assertFalse(multisetToModify.contains("John")); + assertFalse(multisetToModify.contains("Alex")); + } +} \ No newline at end of file diff --git a/guava19/src/test/java/com/baeldung/guava/HashingTest.java b/guava19/src/test/java/com/baeldung/guava/HashingTest.java new file mode 100644 index 0000000000..9b4acde9f7 --- /dev/null +++ b/guava19/src/test/java/com/baeldung/guava/HashingTest.java @@ -0,0 +1,34 @@ +package com.baeldung.guava; + +import com.google.common.hash.HashCode; +import com.google.common.hash.HashFunction; +import com.google.common.hash.Hashing; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class HashingTest { + @Test + public void whenHashingInSha384_hashFunctionShouldBeReturned() throws Exception { + int inputData = 15; + + HashFunction hashFunction = Hashing.sha384(); + HashCode hashCode = hashFunction.hashInt(inputData); + + assertEquals("0904b6277381dcfbdddd6b6c66e4e3e8f83d4690718d8e6f272c891f24773a12feaf8c449fa6e42240a621b2b5e3cda8", + hashCode.toString()); + } + + @Test + public void whenConcatenatingHashFunction_concatenatedHashShouldBeReturned() throws Exception { + int inputData = 15; + + HashFunction hashFunction = Hashing.concatenating(Hashing.crc32(), Hashing.crc32()); + HashFunction crc32Function = Hashing.crc32(); + + HashCode hashCode = hashFunction.hashInt(inputData); + HashCode crc32HashCode = crc32Function.hashInt(inputData); + + assertEquals(crc32HashCode.toString() + crc32HashCode.toString(), hashCode.toString()); + } +} diff --git a/guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java b/guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java new file mode 100644 index 0000000000..1923451f20 --- /dev/null +++ b/guava19/src/test/java/com/baeldung/guava/TypeTokenTest.java @@ -0,0 +1,45 @@ +package com.baeldung.guava; + +import com.google.common.reflect.TypeToken; +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +public class TypeTokenTest { + @Test + public void whenCheckingIsAssignableFrom_shouldReturnTrueEvenIfGenericIsSpecified() throws Exception { + ArrayList stringList = new ArrayList<>(); + ArrayList intList = new ArrayList<>(); + boolean isAssignableFrom = stringList.getClass().isAssignableFrom(intList.getClass()); + + assertTrue(isAssignableFrom); + } + + @Test + public void whenCheckingIsSupertypeOf_shouldReturnFalseIfGenericIsSpecified() throws Exception { + TypeToken> listString = new TypeToken>() { + }; + TypeToken> integerString = new TypeToken>() { + }; + + boolean isSupertypeOf = listString.isSupertypeOf(integerString); + + assertFalse(isSupertypeOf); + } + + @Test + public void whenCheckingIsSubtypeOf_shouldReturnTrueIfClassIsExtendedFrom() throws Exception { + TypeToken> stringList = new TypeToken>() { + }; + TypeToken list = new TypeToken() { + }; + + boolean isSubtypeOf = stringList.isSubtypeOf(list); + + assertTrue(isSubtypeOf); + } +} diff --git a/handling-spring-static-resources/README.md b/handling-spring-static-resources/README.md new file mode 100644 index 0000000000..d8f64bc427 --- /dev/null +++ b/handling-spring-static-resources/README.md @@ -0,0 +1,3 @@ +### Relevant Articles: +- [Cachable Static Assets with Spring MVC](http://www.baeldung.com/cachable-static-assets-with-spring-mvc) +- [Minification of JS and CSS Assets with Maven](http://www.baeldung.com/maven-minification-of-js-and-css-assets) diff --git a/handling-spring-static-resources/pom.xml b/handling-spring-static-resources/pom.xml new file mode 100644 index 0000000000..6dd0c95026 --- /dev/null +++ b/handling-spring-static-resources/pom.xml @@ -0,0 +1,255 @@ + + + 4.0.0 + + com.baeldung + spring-static-resources + 0.1.0-SNAPSHOT + war + + spring-static-resources + + + + + + org.springframework.security + spring-security-web + ${org.springframework.security.version} + + + org.springframework.security + spring-security-config + ${org.springframework.security.version} + + + org.springframework.security + spring-security-taglibs + ${org.springframework.security.version} + + + + + org.springframework + spring-core + ${org.springframework.version} + + + commons-logging + commons-logging + + + + + org.springframework + spring-context + ${org.springframework.version} + + + org.springframework + spring-jdbc + ${org.springframework.version} + + + org.springframework + spring-beans + ${org.springframework.version} + + + org.springframework + spring-aop + ${org.springframework.version} + + + org.springframework + spring-tx + ${org.springframework.version} + + + org.springframework + spring-expression + ${org.springframework.version} + + + + org.springframework + spring-web + ${org.springframework.version} + + + org.springframework + spring-webmvc + ${org.springframework.version} + + + + + org.aspectj + aspectjrt + ${org.aspectj-version} + + + javax.inject + javax.inject + 1 + + + + + javax.servlet + javax.servlet-api + 3.1.0 + + + javax.servlet.jsp + javax.servlet.jsp-api + ${javax.servlet.jsp-api.version} + + + javax.servlet + jstl + 1.2 + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + + org.hibernate + hibernate-validator + ${hibernate-validator.version} + + + + + joda-time + joda-time + 2.6 + + + + + com.github.jknack + handlebars + 1.3.2 + + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + + + + + + spring-static-resources + + + src/main/resources + true + + + + + net.alchim31.maven + yuicompressor-maven-plugin + 1.5.1 + + + + compress + + + + + true + ${project.build.directory}/min + + **/*.min.js + **/handlebars-3133af2.js + **/require.js + + + + + maven-war-plugin + + + + ${project.build.directory}/min + + + + + + + + + 1.8 + + + 4.2.5.RELEASE + 4.0.4.RELEASE + + 1.8.1 + 2.3.2-b01 + + + 4.3.11.Final + 5.1.38 + 1.9.2.RELEASE + + + 2.7.8 + + + 1.7.13 + 1.1.3 + + + 5.2.2.Final + + + 19.0 + 3.4 + + + 1.3 + 4.12 + 1.10.19 + + 4.4.1 + 4.5 + + 2.9.0 + + + 3.5.1 + 2.6 + 2.19.1 + 1.4.18 + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java b/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java new file mode 100644 index 0000000000..316642ab6f --- /dev/null +++ b/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java @@ -0,0 +1,61 @@ +package org.baeldung.security; + +import java.io.IOException; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import javax.servlet.http.HttpSession; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.security.core.Authentication; +import org.springframework.security.web.DefaultRedirectStrategy; +import org.springframework.security.web.RedirectStrategy; +import org.springframework.security.web.WebAttributes; +import org.springframework.security.web.authentication.AuthenticationSuccessHandler; + +public class MySimpleUrlAuthenticationSuccessHandler implements AuthenticationSuccessHandler { + private final Logger logger = LoggerFactory.getLogger(getClass()); + + private RedirectStrategy redirectStrategy = new DefaultRedirectStrategy(); + + public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException { + handle(request, response, authentication); + HttpSession session = request.getSession(false); + if (session != null) { + session.setMaxInactiveInterval(30); + } + clearAuthenticationAttributes(request); + } + + protected void handle(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException { + String targetUrl = determineTargetUrl(authentication); + + if (response.isCommitted()) { + logger.debug("Response has already been committed. Unable to redirect to " + targetUrl); + return; + } + + redirectStrategy.sendRedirect(request, response, targetUrl); + } + + protected String determineTargetUrl(Authentication authentication) { + + return "/home.html"; + + } + + protected void clearAuthenticationAttributes(HttpServletRequest request) { + HttpSession session = request.getSession(false); + if (session == null) { + return; + } + session.removeAttribute(WebAttributes.AUTHENTICATION_EXCEPTION); + } + + public void setRedirectStrategy(RedirectStrategy redirectStrategy) { + this.redirectStrategy = redirectStrategy; + } + + protected RedirectStrategy getRedirectStrategy() { + return redirectStrategy; + } +} \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/spring/AppConfig.java b/handling-spring-static-resources/src/main/java/org/baeldung/spring/AppConfig.java new file mode 100644 index 0000000000..c379d20047 --- /dev/null +++ b/handling-spring-static-resources/src/main/java/org/baeldung/spring/AppConfig.java @@ -0,0 +1,20 @@ +package org.baeldung.spring; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Import; +import org.springframework.context.annotation.PropertySource; +import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; + +@Configuration +@ComponentScan(basePackages = { "org.baeldung.persistence.service", "org.baeldung.persistence.dao" }) +@Import({ MvcConfig.class, SecSecurityConfig.class }) +@PropertySource("classpath:application.properties") +public class AppConfig { + + @Bean + public static PropertySourcesPlaceholderConfigurer propertyPlaceHolderConfigurer() { + return new PropertySourcesPlaceholderConfigurer(); + } +} diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/spring/MvcConfig.java b/handling-spring-static-resources/src/main/java/org/baeldung/spring/MvcConfig.java new file mode 100644 index 0000000000..4a198cf195 --- /dev/null +++ b/handling-spring-static-resources/src/main/java/org/baeldung/spring/MvcConfig.java @@ -0,0 +1,105 @@ +package org.baeldung.spring; + +import java.util.Locale; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.MessageSource; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.support.ReloadableResourceBundleMessageSource; +import org.springframework.core.env.Environment; +import org.springframework.web.servlet.LocaleResolver; +import org.springframework.web.servlet.ViewResolver; +import org.springframework.web.servlet.config.annotation.EnableWebMvc; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; +import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; +import org.springframework.web.servlet.i18n.CookieLocaleResolver; +import org.springframework.web.servlet.i18n.LocaleChangeInterceptor; +import org.springframework.web.servlet.resource.GzipResourceResolver; +import org.springframework.web.servlet.resource.PathResourceResolver; +import org.springframework.web.servlet.resource.ResourceUrlEncodingFilter; +import org.springframework.web.servlet.view.InternalResourceViewResolver; +import org.springframework.web.servlet.view.JstlView; + +@Configuration +@ComponentScan(basePackages = { "org.baeldung.web.controller", "org.baeldung.persistence.service", "org.baeldung.persistence.dao" }) +@EnableWebMvc +public class MvcConfig extends WebMvcConfigurerAdapter { + @Autowired + Environment env; + + public MvcConfig() { + super(); + } + + // API + + @Override + public void addViewControllers(final ViewControllerRegistry registry) { + super.addViewControllers(registry); + registry.addViewController("/login.html"); + registry.addViewController("/home.html"); + + } + + @Bean + public ViewResolver viewResolver() { + final InternalResourceViewResolver bean = new InternalResourceViewResolver(); + bean.setViewClass(JstlView.class); + bean.setPrefix("/WEB-INF/view/"); + bean.setSuffix(".jsp"); + return bean; + } + + @Override + public void addResourceHandlers(ResourceHandlerRegistry registry) { + // For examples using Spring 4.1.0 + if ((env.getProperty("resource.handler.conf")).equals("4.1.0")) { + registry.addResourceHandler("/js/**").addResourceLocations("/js/").setCachePeriod(3600).resourceChain(true).addResolver(new GzipResourceResolver()).addResolver(new PathResourceResolver()); + registry.addResourceHandler("/resources/**").addResourceLocations("/resources/", "classpath:/other-resources/").setCachePeriod(3600).resourceChain(true).addResolver(new PathResourceResolver()); + registry.addResourceHandler("/files/**").addResourceLocations("file:/Users/Elena/").setCachePeriod(3600).resourceChain(true).addResolver(new PathResourceResolver()); + registry.addResourceHandler("/other-files/**").addResourceLocations("file:/Users/Elena/").setCachePeriod(3600).resourceChain(true).addResolver(new GzipResourceResolver()); + } + // For examples using Spring 4.0.7 + else if ((env.getProperty("resource.handler.conf")).equals("4.0.7")) { + registry.addResourceHandler("/resources/**").addResourceLocations("/", "/resources/", "classpath:/other-resources/"); + registry.addResourceHandler("/files/**").addResourceLocations("file:/Users/Elena/"); + + } + } + + @Override + public void addInterceptors(InterceptorRegistry registry) { + LocaleChangeInterceptor localeChangeInterceptor = new LocaleChangeInterceptor(); + localeChangeInterceptor.setParamName("lang"); + registry.addInterceptor(localeChangeInterceptor); + } + + @Bean + public ResourceUrlEncodingFilter resourceUrlEncodingFilter() { + ResourceUrlEncodingFilter filter = new ResourceUrlEncodingFilter(); + + return filter; + } + + @Bean + public LocaleResolver localeResolver() { + CookieLocaleResolver cookieLocaleResolver = new CookieLocaleResolver(); + cookieLocaleResolver.setDefaultLocale(Locale.ENGLISH); + return cookieLocaleResolver; + } + + @Bean + public MessageSource messageSource() { + ReloadableResourceBundleMessageSource messageSource = new ReloadableResourceBundleMessageSource(); + messageSource.setBasename("classpath:messages"); + messageSource.setUseCodeAsDefaultMessage(true); + messageSource.setDefaultEncoding("UTF-8"); + messageSource.setCacheSeconds(0); + return messageSource; + } + +} \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/spring/SecSecurityConfig.java b/handling-spring-static-resources/src/main/java/org/baeldung/spring/SecSecurityConfig.java new file mode 100644 index 0000000000..4da114c78b --- /dev/null +++ b/handling-spring-static-resources/src/main/java/org/baeldung/spring/SecSecurityConfig.java @@ -0,0 +1,14 @@ +package org.baeldung.spring; + +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.ImportResource; + +@Configuration +@ImportResource({ "classpath:webSecurityConfig.xml" }) +public class SecSecurityConfig { + + public SecSecurityConfig() { + super(); + } + +} diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/web/controller/HomeController.java b/handling-spring-static-resources/src/main/java/org/baeldung/web/controller/HomeController.java new file mode 100644 index 0000000000..44645a1471 --- /dev/null +++ b/handling-spring-static-resources/src/main/java/org/baeldung/web/controller/HomeController.java @@ -0,0 +1,32 @@ +package org.baeldung.web.controller; + +import java.io.IOException; +import java.text.DateFormat; +import java.util.Date; +import java.util.Locale; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.env.Environment; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.context.request.WebRequest; + +@Controller +public class HomeController { + + @Autowired + Environment env; + + @RequestMapping(value = "/home", method = RequestMethod.GET) + public String showHome(WebRequest request, Model model, Locale locale) throws IOException { + + Date date = new Date(); + DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, locale); + + String formattedDate = dateFormat.format(date); + model.addAttribute("serverTime", formattedDate); + return "home"; + } + +} diff --git a/handling-spring-static-resources/src/main/resources/application.properties b/handling-spring-static-resources/src/main/resources/application.properties new file mode 100644 index 0000000000..07fd88113a --- /dev/null +++ b/handling-spring-static-resources/src/main/resources/application.properties @@ -0,0 +1,6 @@ +################### App Version ########################## +app.version=de4db33lzbl +spring.profiles.active=dev +################### Resource Handler Configuration ########################## +resource.handler.conf=4.1.0 +###resource.handler.conf=4.0.7### \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/resources/logback.xml b/handling-spring-static-resources/src/main/resources/logback.xml new file mode 100644 index 0000000000..1146dade63 --- /dev/null +++ b/handling-spring-static-resources/src/main/resources/logback.xml @@ -0,0 +1,20 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/resources/messages_en.properties b/handling-spring-static-resources/src/main/resources/messages_en.properties new file mode 100644 index 0000000000..7db64bdff0 --- /dev/null +++ b/handling-spring-static-resources/src/main/resources/messages_en.properties @@ -0,0 +1,42 @@ +message.username=Username required +message.password=Password required +message.unauth=Unauthorized Access !! +message.badCredentials=Invalid Username or Password +message.sessionExpired=Session Timed Out +message.logoutError=Sorry, error logging out +message.logoutSucc=You logged out successfully +message.regSucc=You registered successfully. We will send you a confirmation message to your email account. +message.regError=An account for that username/email already exists. Please enter a different username. +message.lastName=Last name is required +message.firstName=First name required +message.badEmail=Invalid email address +label.user.email=Email: +label.user.firstName=First name: +label.user.lastName=Last name: +label.user.password=Password: +label.user.confirmPass=Confirm password +label.form.submit=Submit +label.form.title=Registration Form +label.form.loginLink=Back to login +label.login=Login here +label.form.loginTitle=Login +label.form.loginEmail=Email +label.form.loginUsername=Username +label.form.loginPass=Password +label.form.loginEnglish=English +label.form.loginSpanish=Spanish +label.form.loginSignUp=Sign up +ValidEmail.user.email=Invalid email address! +UniqueUsername.user.username=An account with that username/email already exists +NotNull.user.firstName=First name required +NotEmpty.user.firstName=First name required +NotNull.user.lastName=Last name required +NotEmpty.user.lastName=Last name required +NotNull.user.username=Username(Email) required +NotEmpty.user.username=Username(Email) required +NotNull.user.password=Password required +NotEmpty.user.password=Password required +NotNull.user.matchingPassword=Required +NotEmpty.user.matchingPassword=Required +PasswordMatches.user:Password does not match! +Email.user.email=Invalid Username (Email) \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/resources/messages_es_ES.properties b/handling-spring-static-resources/src/main/resources/messages_es_ES.properties new file mode 100644 index 0000000000..839c4ff70a --- /dev/null +++ b/handling-spring-static-resources/src/main/resources/messages_es_ES.properties @@ -0,0 +1,42 @@ +message.username=Por favor ingrese el nombre de usuario +message.password=Por favor ingrese una clave +message.unauth=Acceso denegado !! +message.badCredentials=Usuario o clave invalida +message.sessionExpired=La sesion expiro +message.logoutError=Lo sentimos, hubo problemas al salir +message.logoutSucc=Salida con exito +message.regSucc=Se registro correctamente. Le enviaremos un mensaje de confirmacion a su direccion de email. +message.regError=Ya existe una cuenta con ese nombre de usuario. Ingrese un nombre de usuario diferente. +message.lastName=Por favor ingrese su apellido +message.firstName=Por favor ingrese su nombre +message.badEmail=Direccion de correo no es valida +label.user.email=Correo Electronico: +label.user.firstName=Nombre: +label.user.lastName=Apellido: +label.user.password=Contrasenia: +label.user.confirmPass=Confirme la contrasenia +label.form.submit=Enviar +label.form.title=Formulario de Registro +label.login=Autehtifiquese aqui +label.form.loginTitle=Ingreso +label.form.loginLink=Regrese a autentificacion +label.form.loginEmail=Correo Electronico +label.form.loginUsername=Nombre de Usuario +label.form.loginPass=Contrasenia +label.form.loginEnglish=Ingles +label.form.loginSpanish=Espaniol +label.form.loginSignUp=Registrese +ValidEmail.user.email=Cuenta correo invlida! +UniqueUsername.user.username=Ya existe una cuenta con ese nombre de usuario +NotNull.user.firstName=Por favor ingrese su nombre +NotEmpty.user.firstName=Por favor ingrese su nombre +NotNull.user.lastName=Por favor ingrese su apellido +NotEmpty.user.lastName=Por favor ingrese su apellido +NotNull.user.username=Por favor ingrese su cuenta de email +NotEmpty.user.username=Por favor ingrese su cuenta de email +NotNull.user.password=Por favor ingrese su clave +NotEmpty.user.password=Por favor ingrese su contraseña +NotNull.user.matchingPassword=Campo obligatirio +NotEmpty.user.matchingPassword=Campo obligatrio +PasswordMatches.user:Las claves no coinciden! +Email.user.email=Email no es valido diff --git a/handling-spring-static-resources/src/main/resources/webSecurityConfig.xml b/handling-spring-static-resources/src/main/resources/webSecurityConfig.xml new file mode 100644 index 0000000000..76b5015e7b --- /dev/null +++ b/handling-spring-static-resources/src/main/resources/webSecurityConfig.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/Hello.html b/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/Hello.html new file mode 100644 index 0000000000..b5b3c3640f --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/Hello.html @@ -0,0 +1,10 @@ + + + + +Hello + + + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/bootstrap.css b/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/bootstrap.css new file mode 100644 index 0000000000..5b7fe7e856 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/classes/other-resources/bootstrap.css @@ -0,0 +1,6167 @@ +/*! + * Bootstrap v2.3.2 + * + * Copyright 2013 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world by @mdo and @fat. + */ + +.clearfix { + *zoom: 1; +} + +.clearfix:before, +.clearfix:after { + display: table; + line-height: 0; + content: ""; +} + +.clearfix:after { + clear: both; +} + +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.input-block-level { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} + +audio, +canvas, +video { + display: inline-block; + *display: inline; + *zoom: 1; +} + +audio:not([controls]) { + display: none; +} + +html { + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +a:hover, +a:active { + outline: 0; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + width: auto\9; + height: auto; + max-width: 100%; + vertical-align: middle; + border: 0; + -ms-interpolation-mode: bicubic; +} + +#map_canvas img, +.google-maps img { + max-width: none; +} + +button, +input, +select, +textarea { + margin: 0; + font-size: 100%; + vertical-align: middle; +} + +button, +input { + *overflow: visible; + line-height: normal; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +label, +select, +button, +input[type="button"], +input[type="reset"], +input[type="submit"], +input[type="radio"], +input[type="checkbox"] { + cursor: pointer; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 0.5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } +} + +body { + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 20px; + color: #333333; + background-color: #ffffff; +} + +a { + color: #0088cc; + text-decoration: none; +} + +a:hover, +a:focus { + color: #005580; + text-decoration: underline; +} + +.img-rounded { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.img-polaroid { + padding: 4px; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); +} + +.img-circle { + -webkit-border-radius: 500px; + -moz-border-radius: 500px; + border-radius: 500px; +} + +.row { + margin-left: -20px; + *zoom: 1; +} + +.row:before, +.row:after { + display: table; + line-height: 0; + content: ""; +} + +.row:after { + clear: both; +} + +[class*="span"] { + float: left; + min-height: 1px; + margin-left: 20px; +} + +.container, +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.span12 { + width: 940px; +} + +.span11 { + width: 860px; +} + +.span10 { + width: 780px; +} + +.span9 { + width: 700px; +} + +.span8 { + width: 620px; +} + +.span7 { + width: 540px; +} + +.span6 { + width: 460px; +} + +.span5 { + width: 380px; +} + +.span4 { + width: 300px; +} + +.span3 { + width: 220px; +} + +.span2 { + width: 140px; +} + +.span1 { + width: 60px; +} + +.offset12 { + margin-left: 980px; +} + +.offset11 { + margin-left: 900px; +} + +.offset10 { + margin-left: 820px; +} + +.offset9 { + margin-left: 740px; +} + +.offset8 { + margin-left: 660px; +} + +.offset7 { + margin-left: 580px; +} + +.offset6 { + margin-left: 500px; +} + +.offset5 { + margin-left: 420px; +} + +.offset4 { + margin-left: 340px; +} + +.offset3 { + margin-left: 260px; +} + +.offset2 { + margin-left: 180px; +} + +.offset1 { + margin-left: 100px; +} + +.row-fluid { + width: 100%; + *zoom: 1; +} + +.row-fluid:before, +.row-fluid:after { + display: table; + line-height: 0; + content: ""; +} + +.row-fluid:after { + clear: both; +} + +.row-fluid [class*="span"] { + display: block; + float: left; + width: 100%; + min-height: 30px; + margin-left: 2.127659574468085%; + *margin-left: 2.074468085106383%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.row-fluid [class*="span"]:first-child { + margin-left: 0; +} + +.row-fluid .controls-row [class*="span"] + [class*="span"] { + margin-left: 2.127659574468085%; +} + +.row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; +} + +.row-fluid .span11 { + width: 91.48936170212765%; + *width: 91.43617021276594%; +} + +.row-fluid .span10 { + width: 82.97872340425532%; + *width: 82.92553191489361%; +} + +.row-fluid .span9 { + width: 74.46808510638297%; + *width: 74.41489361702126%; +} + +.row-fluid .span8 { + width: 65.95744680851064%; + *width: 65.90425531914893%; +} + +.row-fluid .span7 { + width: 57.44680851063829%; + *width: 57.39361702127659%; +} + +.row-fluid .span6 { + width: 48.93617021276595%; + *width: 48.88297872340425%; +} + +.row-fluid .span5 { + width: 40.42553191489362%; + *width: 40.37234042553192%; +} + +.row-fluid .span4 { + width: 31.914893617021278%; + *width: 31.861702127659576%; +} + +.row-fluid .span3 { + width: 23.404255319148934%; + *width: 23.351063829787233%; +} + +.row-fluid .span2 { + width: 14.893617021276595%; + *width: 14.840425531914894%; +} + +.row-fluid .span1 { + width: 6.382978723404255%; + *width: 6.329787234042553%; +} + +.row-fluid .offset12 { + margin-left: 104.25531914893617%; + *margin-left: 104.14893617021275%; +} + +.row-fluid .offset12:first-child { + margin-left: 102.12765957446808%; + *margin-left: 102.02127659574467%; +} + +.row-fluid .offset11 { + margin-left: 95.74468085106382%; + *margin-left: 95.6382978723404%; +} + +.row-fluid .offset11:first-child { + margin-left: 93.61702127659574%; + *margin-left: 93.51063829787232%; +} + +.row-fluid .offset10 { + margin-left: 87.23404255319149%; + *margin-left: 87.12765957446807%; +} + +.row-fluid .offset10:first-child { + margin-left: 85.1063829787234%; + *margin-left: 84.99999999999999%; +} + +.row-fluid .offset9 { + margin-left: 78.72340425531914%; + *margin-left: 78.61702127659572%; +} + +.row-fluid .offset9:first-child { + margin-left: 76.59574468085106%; + *margin-left: 76.48936170212764%; +} + +.row-fluid .offset8 { + margin-left: 70.2127659574468%; + *margin-left: 70.10638297872339%; +} + +.row-fluid .offset8:first-child { + margin-left: 68.08510638297872%; + *margin-left: 67.9787234042553%; +} + +.row-fluid .offset7 { + margin-left: 61.70212765957446%; + *margin-left: 61.59574468085106%; +} + +.row-fluid .offset7:first-child { + margin-left: 59.574468085106375%; + *margin-left: 59.46808510638297%; +} + +.row-fluid .offset6 { + margin-left: 53.191489361702125%; + *margin-left: 53.085106382978715%; +} + +.row-fluid .offset6:first-child { + margin-left: 51.063829787234035%; + *margin-left: 50.95744680851063%; +} + +.row-fluid .offset5 { + margin-left: 44.68085106382979%; + *margin-left: 44.57446808510638%; +} + +.row-fluid .offset5:first-child { + margin-left: 42.5531914893617%; + *margin-left: 42.4468085106383%; +} + +.row-fluid .offset4 { + margin-left: 36.170212765957444%; + *margin-left: 36.06382978723405%; +} + +.row-fluid .offset4:first-child { + margin-left: 34.04255319148936%; + *margin-left: 33.93617021276596%; +} + +.row-fluid .offset3 { + margin-left: 27.659574468085104%; + *margin-left: 27.5531914893617%; +} + +.row-fluid .offset3:first-child { + margin-left: 25.53191489361702%; + *margin-left: 25.425531914893618%; +} + +.row-fluid .offset2 { + margin-left: 19.148936170212764%; + *margin-left: 19.04255319148936%; +} + +.row-fluid .offset2:first-child { + margin-left: 17.02127659574468%; + *margin-left: 16.914893617021278%; +} + +.row-fluid .offset1 { + margin-left: 10.638297872340425%; + *margin-left: 10.53191489361702%; +} + +.row-fluid .offset1:first-child { + margin-left: 8.51063829787234%; + *margin-left: 8.404255319148938%; +} + +[class*="span"].hide, +.row-fluid [class*="span"].hide { + display: none; +} + +[class*="span"].pull-right, +.row-fluid [class*="span"].pull-right { + float: right; +} + +.container { + margin-right: auto; + margin-left: auto; + *zoom: 1; +} + +.container:before, +.container:after { + display: table; + line-height: 0; + content: ""; +} + +.container:after { + clear: both; +} + +.container-fluid { + padding-right: 20px; + padding-left: 20px; + *zoom: 1; +} + +.container-fluid:before, +.container-fluid:after { + display: table; + line-height: 0; + content: ""; +} + +.container-fluid:after { + clear: both; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 21px; + font-weight: 200; + line-height: 30px; +} + +small { + font-size: 85%; +} + +strong { + font-weight: bold; +} + +em { + font-style: italic; +} + +cite { + font-style: normal; +} + +.muted { + color: #999999; +} + +a.muted:hover, +a.muted:focus { + color: #808080; +} + +.text-warning { + color: #c09853; +} + +a.text-warning:hover, +a.text-warning:focus { + color: #a47e3c; +} + +.text-error { + color: #b94a48; +} + +a.text-error:hover, +a.text-error:focus { + color: #953b39; +} + +.text-info { + color: #3a87ad; +} + +a.text-info:hover, +a.text-info:focus { + color: #2d6987; +} + +.text-success { + color: #468847; +} + +a.text-success:hover, +a.text-success:focus { + color: #356635; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 10px 0; + font-family: inherit; + font-weight: bold; + line-height: 20px; + color: inherit; + text-rendering: optimizelegibility; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + line-height: 40px; +} + +h1 { + font-size: 38.5px; +} + +h2 { + font-size: 31.5px; +} + +h3 { + font-size: 24.5px; +} + +h4 { + font-size: 17.5px; +} + +h5 { + font-size: 14px; +} + +h6 { + font-size: 11.9px; +} + +h1 small { + font-size: 24.5px; +} + +h2 small { + font-size: 17.5px; +} + +h3 small { + font-size: 14px; +} + +h4 small { + font-size: 14px; +} + +.page-header { + padding-bottom: 9px; + margin: 20px 0 30px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + padding: 0; + margin: 0 0 10px 25px; +} + +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} + +li { + line-height: 20px; +} + +ul.unstyled, +ol.unstyled { + margin-left: 0; + list-style: none; +} + +ul.inline, +ol.inline { + margin-left: 0; + list-style: none; +} + +ul.inline > li, +ol.inline > li { + display: inline-block; + *display: inline; + padding-right: 5px; + padding-left: 5px; + *zoom: 1; +} + +dl { + margin-bottom: 20px; +} + +dt, +dd { + line-height: 20px; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 10px; +} + +.dl-horizontal { + *zoom: 1; +} + +.dl-horizontal:before, +.dl-horizontal:after { + display: table; + line-height: 0; + content: ""; +} + +.dl-horizontal:after { + clear: both; +} + +.dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; +} + +.dl-horizontal dd { + margin-left: 180px; +} + +hr { + margin: 20px 0; + border: 0; + border-top: 1px solid #eeeeee; + border-bottom: 1px solid #ffffff; +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 0 0 0 15px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + margin-bottom: 0; + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote small { + display: block; + line-height: 20px; + color: #999999; +} + +blockquote small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + float: right; + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small { + text-align: right; +} + +blockquote.pull-right small:before { + content: ''; +} + +blockquote.pull-right small:after { + content: '\00A0 \2014'; +} + +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} + +address { + display: block; + margin-bottom: 20px; + font-style: normal; + line-height: 20px; +} + +code, +pre { + padding: 0 3px 2px; + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +code { + padding: 2px 4px; + color: #d14; + white-space: nowrap; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 20px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +pre.prettyprint { + margin-bottom: 20px; +} + +pre code { + padding: 0; + color: inherit; + white-space: pre; + white-space: pre-wrap; + background-color: transparent; + border: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +form { + margin: 0 0 20px; +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: 40px; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +legend small { + font-size: 15px; + color: #999999; +} + +label, +input, +button, +select, +textarea { + font-size: 14px; + font-weight: normal; + line-height: 20px; +} + +input, +button, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} + +label { + display: block; + margin-bottom: 5px; +} + +select, +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + display: inline-block; + height: 20px; + padding: 4px 6px; + margin-bottom: 10px; + font-size: 14px; + line-height: 20px; + color: #555555; + vertical-align: middle; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +input, +textarea, +.uneditable-input { + width: 206px; +} + +textarea { + height: auto; +} + +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + background-color: #ffffff; + border: 1px solid #cccccc; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; +} + +textarea:focus, +input[type="text"]:focus, +input[type="password"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="time"]:focus, +input[type="week"]:focus, +input[type="number"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="search"]:focus, +input[type="tel"]:focus, +input[type="color"]:focus, +.uneditable-input:focus { + border-color: rgba(82, 168, 236, 0.8); + outline: 0; + outline: thin dotted \9; + /* IE6-9 */ + + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + *margin-top: 0; + line-height: normal; +} + +input[type="file"], +input[type="image"], +input[type="submit"], +input[type="reset"], +input[type="button"], +input[type="radio"], +input[type="checkbox"] { + width: auto; +} + +select, +input[type="file"] { + height: 30px; + /* In IE7, the height of the select element cannot be changed by height, only font-size */ + + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + + line-height: 30px; +} + +select { + width: 220px; + background-color: #ffffff; + border: 1px solid #cccccc; +} + +select[multiple], +select[size] { + height: auto; +} + +select:focus, +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.uneditable-input, +.uneditable-textarea { + color: #999999; + cursor: not-allowed; + background-color: #fcfcfc; + border-color: #cccccc; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); +} + +.uneditable-input { + overflow: hidden; + white-space: nowrap; +} + +.uneditable-textarea { + width: auto; + height: auto; +} + +input:-moz-placeholder, +textarea:-moz-placeholder { + color: #999999; +} + +input:-ms-input-placeholder, +textarea:-ms-input-placeholder { + color: #999999; +} + +input::-webkit-input-placeholder, +textarea::-webkit-input-placeholder { + color: #999999; +} + +.radio, +.checkbox { + min-height: 20px; + padding-left: 20px; +} + +.radio input[type="radio"], +.checkbox input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.controls > .radio:first-child, +.controls > .checkbox:first-child { + padding-top: 5px; +} + +.radio.inline, +.checkbox.inline { + display: inline-block; + padding-top: 5px; + margin-bottom: 0; + vertical-align: middle; +} + +.radio.inline + .radio.inline, +.checkbox.inline + .checkbox.inline { + margin-left: 10px; +} + +.input-mini { + width: 60px; +} + +.input-small { + width: 90px; +} + +.input-medium { + width: 150px; +} + +.input-large { + width: 210px; +} + +.input-xlarge { + width: 270px; +} + +.input-xxlarge { + width: 530px; +} + +input[class*="span"], +select[class*="span"], +textarea[class*="span"], +.uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"] { + float: none; + margin-left: 0; +} + +.input-append input[class*="span"], +.input-append .uneditable-input[class*="span"], +.input-prepend input[class*="span"], +.input-prepend .uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"], +.row-fluid .input-prepend [class*="span"], +.row-fluid .input-append [class*="span"] { + display: inline-block; +} + +input, +textarea, +.uneditable-input { + margin-left: 0; +} + +.controls-row [class*="span"] + [class*="span"] { + margin-left: 20px; +} + +input.span12, +textarea.span12, +.uneditable-input.span12 { + width: 926px; +} + +input.span11, +textarea.span11, +.uneditable-input.span11 { + width: 846px; +} + +input.span10, +textarea.span10, +.uneditable-input.span10 { + width: 766px; +} + +input.span9, +textarea.span9, +.uneditable-input.span9 { + width: 686px; +} + +input.span8, +textarea.span8, +.uneditable-input.span8 { + width: 606px; +} + +input.span7, +textarea.span7, +.uneditable-input.span7 { + width: 526px; +} + +input.span6, +textarea.span6, +.uneditable-input.span6 { + width: 446px; +} + +input.span5, +textarea.span5, +.uneditable-input.span5 { + width: 366px; +} + +input.span4, +textarea.span4, +.uneditable-input.span4 { + width: 286px; +} + +input.span3, +textarea.span3, +.uneditable-input.span3 { + width: 206px; +} + +input.span2, +textarea.span2, +.uneditable-input.span2 { + width: 126px; +} + +input.span1, +textarea.span1, +.uneditable-input.span1 { + width: 46px; +} + +.controls-row { + *zoom: 1; +} + +.controls-row:before, +.controls-row:after { + display: table; + line-height: 0; + content: ""; +} + +.controls-row:after { + clear: both; +} + +.controls-row [class*="span"], +.row-fluid .controls-row [class*="span"] { + float: left; +} + +.controls-row .checkbox[class*="span"], +.controls-row .radio[class*="span"] { + padding-top: 5px; +} + +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + cursor: not-allowed; + background-color: #eeeeee; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"][readonly], +input[type="checkbox"][readonly] { + background-color: transparent; +} + +.control-group.warning .control-label, +.control-group.warning .help-block, +.control-group.warning .help-inline { + color: #c09853; +} + +.control-group.warning .checkbox, +.control-group.warning .radio, +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + color: #c09853; +} + +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + border-color: #c09853; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.warning input:focus, +.control-group.warning select:focus, +.control-group.warning textarea:focus { + border-color: #a47e3c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; +} + +.control-group.warning .input-prepend .add-on, +.control-group.warning .input-append .add-on { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} + +.control-group.error .control-label, +.control-group.error .help-block, +.control-group.error .help-inline { + color: #b94a48; +} + +.control-group.error .checkbox, +.control-group.error .radio, +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + color: #b94a48; +} + +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + border-color: #b94a48; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.error input:focus, +.control-group.error select:focus, +.control-group.error textarea:focus { + border-color: #953b39; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; +} + +.control-group.error .input-prepend .add-on, +.control-group.error .input-append .add-on { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} + +.control-group.success .control-label, +.control-group.success .help-block, +.control-group.success .help-inline { + color: #468847; +} + +.control-group.success .checkbox, +.control-group.success .radio, +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + color: #468847; +} + +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + border-color: #468847; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.success input:focus, +.control-group.success select:focus, +.control-group.success textarea:focus { + border-color: #356635; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; +} + +.control-group.success .input-prepend .add-on, +.control-group.success .input-append .add-on { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} + +.control-group.info .control-label, +.control-group.info .help-block, +.control-group.info .help-inline { + color: #3a87ad; +} + +.control-group.info .checkbox, +.control-group.info .radio, +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + color: #3a87ad; +} + +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + border-color: #3a87ad; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.info input:focus, +.control-group.info select:focus, +.control-group.info textarea:focus { + border-color: #2d6987; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; +} + +.control-group.info .input-prepend .add-on, +.control-group.info .input-append .add-on { + color: #3a87ad; + background-color: #d9edf7; + border-color: #3a87ad; +} + +input:focus:invalid, +textarea:focus:invalid, +select:focus:invalid { + color: #b94a48; + border-color: #ee5f5b; +} + +input:focus:invalid:focus, +textarea:focus:invalid:focus, +select:focus:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} + +.form-actions { + padding: 19px 20px 20px; + margin-top: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-top: 1px solid #e5e5e5; + *zoom: 1; +} + +.form-actions:before, +.form-actions:after { + display: table; + line-height: 0; + content: ""; +} + +.form-actions:after { + clear: both; +} + +.help-block, +.help-inline { + color: #595959; +} + +.help-block { + display: block; + margin-bottom: 10px; +} + +.help-inline { + display: inline-block; + *display: inline; + padding-left: 5px; + vertical-align: middle; + *zoom: 1; +} + +.input-append, +.input-prepend { + display: inline-block; + margin-bottom: 10px; + font-size: 0; + white-space: nowrap; + vertical-align: middle; +} + +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input, +.input-append .dropdown-menu, +.input-prepend .dropdown-menu, +.input-append .popover, +.input-prepend .popover { + font-size: 14px; +} + +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input { + position: relative; + margin-bottom: 0; + *margin-left: 0; + vertical-align: top; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-append input:focus, +.input-prepend input:focus, +.input-append select:focus, +.input-prepend select:focus, +.input-append .uneditable-input:focus, +.input-prepend .uneditable-input:focus { + z-index: 2; +} + +.input-append .add-on, +.input-prepend .add-on { + display: inline-block; + width: auto; + height: 20px; + min-width: 16px; + padding: 4px 5px; + font-size: 14px; + font-weight: normal; + line-height: 20px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + background-color: #eeeeee; + border: 1px solid #ccc; +} + +.input-append .add-on, +.input-prepend .add-on, +.input-append .btn, +.input-prepend .btn, +.input-append .btn-group > .dropdown-toggle, +.input-prepend .btn-group > .dropdown-toggle { + vertical-align: top; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-append .active, +.input-prepend .active { + background-color: #a9dba9; + border-color: #46a546; +} + +.input-prepend .add-on, +.input-prepend .btn { + margin-right: -1px; +} + +.input-prepend .add-on:first-child, +.input-prepend .btn:first-child { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-append input, +.input-append select, +.input-append .uneditable-input { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-append input + .btn-group .btn:last-child, +.input-append select + .btn-group .btn:last-child, +.input-append .uneditable-input + .btn-group .btn:last-child { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-append .add-on, +.input-append .btn, +.input-append .btn-group { + margin-left: -1px; +} + +.input-append .add-on:last-child, +.input-append .btn:last-child, +.input-append .btn-group:last-child > .dropdown-toggle { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append input, +.input-prepend.input-append select, +.input-prepend.input-append .uneditable-input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-prepend.input-append input + .btn-group .btn, +.input-prepend.input-append select + .btn-group .btn, +.input-prepend.input-append .uneditable-input + .btn-group .btn { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append .add-on:first-child, +.input-prepend.input-append .btn:first-child { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-prepend.input-append .add-on:last-child, +.input-prepend.input-append .btn:last-child { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append .btn-group:first-child { + margin-left: 0; +} + +input.search-query { + padding-right: 14px; + padding-right: 4px \9; + padding-left: 14px; + padding-left: 4px \9; + /* IE7-8 doesn't have border-radius, so don't indent the padding */ + + margin-bottom: 0; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +/* Allow for input prepend/append in search forms */ + +.form-search .input-append .search-query, +.form-search .input-prepend .search-query { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.form-search .input-append .search-query { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} + +.form-search .input-append .btn { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} + +.form-search .input-prepend .search-query { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} + +.form-search .input-prepend .btn { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} + +.form-search input, +.form-inline input, +.form-horizontal input, +.form-search textarea, +.form-inline textarea, +.form-horizontal textarea, +.form-search select, +.form-inline select, +.form-horizontal select, +.form-search .help-inline, +.form-inline .help-inline, +.form-horizontal .help-inline, +.form-search .uneditable-input, +.form-inline .uneditable-input, +.form-horizontal .uneditable-input, +.form-search .input-prepend, +.form-inline .input-prepend, +.form-horizontal .input-prepend, +.form-search .input-append, +.form-inline .input-append, +.form-horizontal .input-append { + display: inline-block; + *display: inline; + margin-bottom: 0; + vertical-align: middle; + *zoom: 1; +} + +.form-search .hide, +.form-inline .hide, +.form-horizontal .hide { + display: none; +} + +.form-search label, +.form-inline label, +.form-search .btn-group, +.form-inline .btn-group { + display: inline-block; +} + +.form-search .input-append, +.form-inline .input-append, +.form-search .input-prepend, +.form-inline .input-prepend { + margin-bottom: 0; +} + +.form-search .radio, +.form-search .checkbox, +.form-inline .radio, +.form-inline .checkbox { + padding-left: 0; + margin-bottom: 0; + vertical-align: middle; +} + +.form-search .radio input[type="radio"], +.form-search .checkbox input[type="checkbox"], +.form-inline .radio input[type="radio"], +.form-inline .checkbox input[type="checkbox"] { + float: left; + margin-right: 3px; + margin-left: 0; +} + +.control-group { + margin-bottom: 10px; +} + +legend + .control-group { + margin-top: 20px; + -webkit-margin-top-collapse: separate; +} + +.form-horizontal .control-group { + margin-bottom: 20px; + *zoom: 1; +} + +.form-horizontal .control-group:before, +.form-horizontal .control-group:after { + display: table; + line-height: 0; + content: ""; +} + +.form-horizontal .control-group:after { + clear: both; +} + +.form-horizontal .control-label { + float: left; + width: 160px; + padding-top: 5px; + text-align: right; +} + +.form-horizontal .controls { + *display: inline-block; + *padding-left: 20px; + margin-left: 180px; + *margin-left: 0; +} + +.form-horizontal .controls:first-child { + *padding-left: 180px; +} + +.form-horizontal .help-block { + margin-bottom: 0; +} + +.form-horizontal input + .help-block, +.form-horizontal select + .help-block, +.form-horizontal textarea + .help-block, +.form-horizontal .uneditable-input + .help-block, +.form-horizontal .input-prepend + .help-block, +.form-horizontal .input-append + .help-block { + margin-top: 10px; +} + +.form-horizontal .form-actions { + padding-left: 180px; +} + +table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table th, +.table td { + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table th { + font-weight: bold; +} + +.table thead th { + vertical-align: bottom; +} + +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} + +.table tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed th, +.table-condensed td { + padding: 4px 5px; +} + +.table-bordered { + border: 1px solid #dddddd; + border-collapse: separate; + *border-collapse: collapse; + border-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.table-bordered th, +.table-bordered td { + border-left: 1px solid #dddddd; +} + +.table-bordered caption + thead tr:first-child th, +.table-bordered caption + tbody tr:first-child th, +.table-bordered caption + tbody tr:first-child td, +.table-bordered colgroup + thead tr:first-child th, +.table-bordered colgroup + tbody tr:first-child th, +.table-bordered colgroup + tbody tr:first-child td, +.table-bordered thead:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child td { + border-top: 0; +} + +.table-bordered thead:first-child tr:first-child > th:first-child, +.table-bordered tbody:first-child tr:first-child > td:first-child, +.table-bordered tbody:first-child tr:first-child > th:first-child { + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; +} + +.table-bordered thead:first-child tr:first-child > th:last-child, +.table-bordered tbody:first-child tr:first-child > td:last-child, +.table-bordered tbody:first-child tr:first-child > th:last-child { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; +} + +.table-bordered thead:last-child tr:last-child > th:first-child, +.table-bordered tbody:last-child tr:last-child > td:first-child, +.table-bordered tbody:last-child tr:last-child > th:first-child, +.table-bordered tfoot:last-child tr:last-child > td:first-child, +.table-bordered tfoot:last-child tr:last-child > th:first-child { + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; +} + +.table-bordered thead:last-child tr:last-child > th:last-child, +.table-bordered tbody:last-child tr:last-child > td:last-child, +.table-bordered tbody:last-child tr:last-child > th:last-child, +.table-bordered tfoot:last-child tr:last-child > td:last-child, +.table-bordered tfoot:last-child tr:last-child > th:last-child { + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; +} + +.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { + -webkit-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; + -moz-border-radius-bottomleft: 0; +} + +.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { + -webkit-border-bottom-right-radius: 0; + border-bottom-right-radius: 0; + -moz-border-radius-bottomright: 0; +} + +.table-bordered caption + thead tr:first-child th:first-child, +.table-bordered caption + tbody tr:first-child td:first-child, +.table-bordered colgroup + thead tr:first-child th:first-child, +.table-bordered colgroup + tbody tr:first-child td:first-child { + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; +} + +.table-bordered caption + thead tr:first-child th:last-child, +.table-bordered caption + tbody tr:first-child td:last-child, +.table-bordered colgroup + thead tr:first-child th:last-child, +.table-bordered colgroup + tbody tr:first-child td:last-child { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; +} + +.table-striped tbody > tr:nth-child(odd) > td, +.table-striped tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover tbody tr:hover > td, +.table-hover tbody tr:hover > th { + background-color: #f5f5f5; +} + +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { + display: table-cell; + float: none; + margin-left: 0; +} + +.table td.span1, +.table th.span1 { + float: none; + width: 44px; + margin-left: 0; +} + +.table td.span2, +.table th.span2 { + float: none; + width: 124px; + margin-left: 0; +} + +.table td.span3, +.table th.span3 { + float: none; + width: 204px; + margin-left: 0; +} + +.table td.span4, +.table th.span4 { + float: none; + width: 284px; + margin-left: 0; +} + +.table td.span5, +.table th.span5 { + float: none; + width: 364px; + margin-left: 0; +} + +.table td.span6, +.table th.span6 { + float: none; + width: 444px; + margin-left: 0; +} + +.table td.span7, +.table th.span7 { + float: none; + width: 524px; + margin-left: 0; +} + +.table td.span8, +.table th.span8 { + float: none; + width: 604px; + margin-left: 0; +} + +.table td.span9, +.table th.span9 { + float: none; + width: 684px; + margin-left: 0; +} + +.table td.span10, +.table th.span10 { + float: none; + width: 764px; + margin-left: 0; +} + +.table td.span11, +.table th.span11 { + float: none; + width: 844px; + margin-left: 0; +} + +.table td.span12, +.table th.span12 { + float: none; + width: 924px; + margin-left: 0; +} + +.table tbody tr.success > td { + background-color: #dff0d8; +} + +.table tbody tr.error > td { + background-color: #f2dede; +} + +.table tbody tr.warning > td { + background-color: #fcf8e3; +} + +.table tbody tr.info > td { + background-color: #d9edf7; +} + +.table-hover tbody tr.success:hover > td { + background-color: #d0e9c6; +} + +.table-hover tbody tr.error:hover > td { + background-color: #ebcccc; +} + +.table-hover tbody tr.warning:hover > td { + background-color: #faf2cc; +} + +.table-hover tbody tr.info:hover > td { + background-color: #c4e3f3; +} + +[class^="icon-"], +[class*=" icon-"] { + display: inline-block; + width: 14px; + height: 14px; + margin-top: 1px; + *margin-right: .3em; + line-height: 14px; + vertical-align: text-top; + background-image: url("../img/glyphicons-halflings.png"); + background-position: 14px 14px; + background-repeat: no-repeat; +} + +/* White icons with optional class, or on hover/focus/active states of certain elements */ + +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:focus > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > li > a:focus > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:focus > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"], +.dropdown-submenu:focus > a > [class*=" icon-"] { + background-image: url("../img/glyphicons-halflings-white.png"); +} + +.icon-glass { + background-position: 0 0; +} + +.icon-music { + background-position: -24px 0; +} + +.icon-search { + background-position: -48px 0; +} + +.icon-envelope { + background-position: -72px 0; +} + +.icon-heart { + background-position: -96px 0; +} + +.icon-star { + background-position: -120px 0; +} + +.icon-star-empty { + background-position: -144px 0; +} + +.icon-user { + background-position: -168px 0; +} + +.icon-film { + background-position: -192px 0; +} + +.icon-th-large { + background-position: -216px 0; +} + +.icon-th { + background-position: -240px 0; +} + +.icon-th-list { + background-position: -264px 0; +} + +.icon-ok { + background-position: -288px 0; +} + +.icon-remove { + background-position: -312px 0; +} + +.icon-zoom-in { + background-position: -336px 0; +} + +.icon-zoom-out { + background-position: -360px 0; +} + +.icon-off { + background-position: -384px 0; +} + +.icon-signal { + background-position: -408px 0; +} + +.icon-cog { + background-position: -432px 0; +} + +.icon-trash { + background-position: -456px 0; +} + +.icon-home { + background-position: 0 -24px; +} + +.icon-file { + background-position: -24px -24px; +} + +.icon-time { + background-position: -48px -24px; +} + +.icon-road { + background-position: -72px -24px; +} + +.icon-download-alt { + background-position: -96px -24px; +} + +.icon-download { + background-position: -120px -24px; +} + +.icon-upload { + background-position: -144px -24px; +} + +.icon-inbox { + background-position: -168px -24px; +} + +.icon-play-circle { + background-position: -192px -24px; +} + +.icon-repeat { + background-position: -216px -24px; +} + +.icon-refresh { + background-position: -240px -24px; +} + +.icon-list-alt { + background-position: -264px -24px; +} + +.icon-lock { + background-position: -287px -24px; +} + +.icon-flag { + background-position: -312px -24px; +} + +.icon-headphones { + background-position: -336px -24px; +} + +.icon-volume-off { + background-position: -360px -24px; +} + +.icon-volume-down { + background-position: -384px -24px; +} + +.icon-volume-up { + background-position: -408px -24px; +} + +.icon-qrcode { + background-position: -432px -24px; +} + +.icon-barcode { + background-position: -456px -24px; +} + +.icon-tag { + background-position: 0 -48px; +} + +.icon-tags { + background-position: -25px -48px; +} + +.icon-book { + background-position: -48px -48px; +} + +.icon-bookmark { + background-position: -72px -48px; +} + +.icon-print { + background-position: -96px -48px; +} + +.icon-camera { + background-position: -120px -48px; +} + +.icon-font { + background-position: -144px -48px; +} + +.icon-bold { + background-position: -167px -48px; +} + +.icon-italic { + background-position: -192px -48px; +} + +.icon-text-height { + background-position: -216px -48px; +} + +.icon-text-width { + background-position: -240px -48px; +} + +.icon-align-left { + background-position: -264px -48px; +} + +.icon-align-center { + background-position: -288px -48px; +} + +.icon-align-right { + background-position: -312px -48px; +} + +.icon-align-justify { + background-position: -336px -48px; +} + +.icon-list { + background-position: -360px -48px; +} + +.icon-indent-left { + background-position: -384px -48px; +} + +.icon-indent-right { + background-position: -408px -48px; +} + +.icon-facetime-video { + background-position: -432px -48px; +} + +.icon-picture { + background-position: -456px -48px; +} + +.icon-pencil { + background-position: 0 -72px; +} + +.icon-map-marker { + background-position: -24px -72px; +} + +.icon-adjust { + background-position: -48px -72px; +} + +.icon-tint { + background-position: -72px -72px; +} + +.icon-edit { + background-position: -96px -72px; +} + +.icon-share { + background-position: -120px -72px; +} + +.icon-check { + background-position: -144px -72px; +} + +.icon-move { + background-position: -168px -72px; +} + +.icon-step-backward { + background-position: -192px -72px; +} + +.icon-fast-backward { + background-position: -216px -72px; +} + +.icon-backward { + background-position: -240px -72px; +} + +.icon-play { + background-position: -264px -72px; +} + +.icon-pause { + background-position: -288px -72px; +} + +.icon-stop { + background-position: -312px -72px; +} + +.icon-forward { + background-position: -336px -72px; +} + +.icon-fast-forward { + background-position: -360px -72px; +} + +.icon-step-forward { + background-position: -384px -72px; +} + +.icon-eject { + background-position: -408px -72px; +} + +.icon-chevron-left { + background-position: -432px -72px; +} + +.icon-chevron-right { + background-position: -456px -72px; +} + +.icon-plus-sign { + background-position: 0 -96px; +} + +.icon-minus-sign { + background-position: -24px -96px; +} + +.icon-remove-sign { + background-position: -48px -96px; +} + +.icon-ok-sign { + background-position: -72px -96px; +} + +.icon-question-sign { + background-position: -96px -96px; +} + +.icon-info-sign { + background-position: -120px -96px; +} + +.icon-screenshot { + background-position: -144px -96px; +} + +.icon-remove-circle { + background-position: -168px -96px; +} + +.icon-ok-circle { + background-position: -192px -96px; +} + +.icon-ban-circle { + background-position: -216px -96px; +} + +.icon-arrow-left { + background-position: -240px -96px; +} + +.icon-arrow-right { + background-position: -264px -96px; +} + +.icon-arrow-up { + background-position: -289px -96px; +} + +.icon-arrow-down { + background-position: -312px -96px; +} + +.icon-share-alt { + background-position: -336px -96px; +} + +.icon-resize-full { + background-position: -360px -96px; +} + +.icon-resize-small { + background-position: -384px -96px; +} + +.icon-plus { + background-position: -408px -96px; +} + +.icon-minus { + background-position: -433px -96px; +} + +.icon-asterisk { + background-position: -456px -96px; +} + +.icon-exclamation-sign { + background-position: 0 -120px; +} + +.icon-gift { + background-position: -24px -120px; +} + +.icon-leaf { + background-position: -48px -120px; +} + +.icon-fire { + background-position: -72px -120px; +} + +.icon-eye-open { + background-position: -96px -120px; +} + +.icon-eye-close { + background-position: -120px -120px; +} + +.icon-warning-sign { + background-position: -144px -120px; +} + +.icon-plane { + background-position: -168px -120px; +} + +.icon-calendar { + background-position: -192px -120px; +} + +.icon-random { + width: 16px; + background-position: -216px -120px; +} + +.icon-comment { + background-position: -240px -120px; +} + +.icon-magnet { + background-position: -264px -120px; +} + +.icon-chevron-up { + background-position: -288px -120px; +} + +.icon-chevron-down { + background-position: -313px -119px; +} + +.icon-retweet { + background-position: -336px -120px; +} + +.icon-shopping-cart { + background-position: -360px -120px; +} + +.icon-folder-close { + width: 16px; + background-position: -384px -120px; +} + +.icon-folder-open { + width: 16px; + background-position: -408px -120px; +} + +.icon-resize-vertical { + background-position: -432px -119px; +} + +.icon-resize-horizontal { + background-position: -456px -118px; +} + +.icon-hdd { + background-position: 0 -144px; +} + +.icon-bullhorn { + background-position: -24px -144px; +} + +.icon-bell { + background-position: -48px -144px; +} + +.icon-certificate { + background-position: -72px -144px; +} + +.icon-thumbs-up { + background-position: -96px -144px; +} + +.icon-thumbs-down { + background-position: -120px -144px; +} + +.icon-hand-right { + background-position: -144px -144px; +} + +.icon-hand-left { + background-position: -168px -144px; +} + +.icon-hand-up { + background-position: -192px -144px; +} + +.icon-hand-down { + background-position: -216px -144px; +} + +.icon-circle-arrow-right { + background-position: -240px -144px; +} + +.icon-circle-arrow-left { + background-position: -264px -144px; +} + +.icon-circle-arrow-up { + background-position: -288px -144px; +} + +.icon-circle-arrow-down { + background-position: -312px -144px; +} + +.icon-globe { + background-position: -336px -144px; +} + +.icon-wrench { + background-position: -360px -144px; +} + +.icon-tasks { + background-position: -384px -144px; +} + +.icon-filter { + background-position: -408px -144px; +} + +.icon-briefcase { + background-position: -432px -144px; +} + +.icon-fullscreen { + background-position: -456px -144px; +} + +.dropup, +.dropdown { + position: relative; +} + +.dropdown-toggle { + *margin-bottom: -3px; +} + +.dropdown-toggle:active, +.open .dropdown-toggle { + outline: 0; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + vertical-align: top; + border-top: 4px solid #000000; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + content: ""; +} + +.dropdown .caret { + margin-top: 8px; + margin-left: 2px; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + *border-right-width: 2px; + *border-bottom-width: 2px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 20px; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus, +.dropdown-submenu:hover > a, +.dropdown-submenu:focus > a { + color: #ffffff; + text-decoration: none; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + outline: 0; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: default; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open { + *z-index: 1000; +} + +.open > .dropdown-menu { + display: block; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid #000000; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu > .dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + -webkit-border-radius: 0 6px 6px 6px; + -moz-border-radius: 0 6px 6px 6px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover > .dropdown-menu { + display: block; +} + +.dropup .dropdown-submenu > .dropdown-menu { + top: auto; + bottom: 0; + margin-top: 0; + margin-bottom: -2px; + -webkit-border-radius: 5px 5px 5px 0; + -moz-border-radius: 5px 5px 5px 0; + border-radius: 5px 5px 5px 0; +} + +.dropdown-submenu > a:after { + display: block; + float: right; + width: 0; + height: 0; + margin-top: 5px; + margin-right: -10px; + border-color: transparent; + border-left-color: #cccccc; + border-style: solid; + border-width: 5px 0 5px 5px; + content: " "; +} + +.dropdown-submenu:hover > a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left > .dropdown-menu { + left: -100%; + margin-left: 10px; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + +.dropdown .dropdown-menu .nav-header { + padding-right: 20px; + padding-left: 20px; +} + +.typeahead { + z-index: 1051; + margin-top: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-large { + padding: 24px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.well-small { + padding: 9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + -moz-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + -moz-transition: height 0.35s ease; + -o-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +.collapse.in { + height: auto; +} + +.close { + float: right; + font-size: 20px; + font-weight: bold; + line-height: 20px; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.4; + filter: alpha(opacity=40); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.btn { + display: inline-block; + *display: inline; + padding: 4px 12px; + margin-bottom: 0; + *margin-left: .3em; + font-size: 14px; + line-height: 20px; + color: #333333; + text-align: center; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); + vertical-align: middle; + cursor: pointer; + background-color: #f5f5f5; + *background-color: #e6e6e6; + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); + background-repeat: repeat-x; + border: 1px solid #cccccc; + *border: 0; + border-color: #e6e6e6 #e6e6e6 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + border-bottom-color: #b3b3b3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn:hover, +.btn:focus, +.btn:active, +.btn.active, +.btn.disabled, +.btn[disabled] { + color: #333333; + background-color: #e6e6e6; + *background-color: #d9d9d9; +} + +.btn:active, +.btn.active { + background-color: #cccccc \9; +} + +.btn:first-child { + *margin-left: 0; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; + background-position: 0 -15px; + -webkit-transition: background-position 0.1s linear; + -moz-transition: background-position 0.1s linear; + -o-transition: background-position 0.1s linear; + transition: background-position 0.1s linear; +} + +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn.active, +.btn:active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn.disabled, +.btn[disabled] { + cursor: default; + background-image: none; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.btn-large { + padding: 11px 19px; + font-size: 17.5px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.btn-large [class^="icon-"], +.btn-large [class*=" icon-"] { + margin-top: 4px; +} + +.btn-small { + padding: 2px 10px; + font-size: 11.9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.btn-small [class^="icon-"], +.btn-small [class*=" icon-"] { + margin-top: 0; +} + +.btn-mini [class^="icon-"], +.btn-mini [class*=" icon-"] { + margin-top: -1px; +} + +.btn-mini { + padding: 0 6px; + font-size: 10.5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.btn-primary.active, +.btn-warning.active, +.btn-danger.active, +.btn-success.active, +.btn-info.active, +.btn-inverse.active { + color: rgba(255, 255, 255, 0.75); +} + +.btn-primary { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #006dcc; + *background-color: #0044cc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(to bottom, #0088cc, #0044cc); + background-repeat: repeat-x; + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.btn-primary.disabled, +.btn-primary[disabled] { + color: #ffffff; + background-color: #0044cc; + *background-color: #003bb3; +} + +.btn-primary:active, +.btn-primary.active { + background-color: #003399 \9; +} + +.btn-warning { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #faa732; + *background-color: #f89406; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + border-color: #f89406 #f89406 #ad6704; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.btn-warning.disabled, +.btn-warning[disabled] { + color: #ffffff; + background-color: #f89406; + *background-color: #df8505; +} + +.btn-warning:active, +.btn-warning.active { + background-color: #c67605 \9; +} + +.btn-danger { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #da4f49; + *background-color: #bd362f; + background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); + background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); + background-repeat: repeat-x; + border-color: #bd362f #bd362f #802420; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.btn-danger.disabled, +.btn-danger[disabled] { + color: #ffffff; + background-color: #bd362f; + *background-color: #a9302a; +} + +.btn-danger:active, +.btn-danger.active { + background-color: #942a25 \9; +} + +.btn-success { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #5bb75b; + *background-color: #51a351; + background-image: -moz-linear-gradient(top, #62c462, #51a351); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); + background-image: -webkit-linear-gradient(top, #62c462, #51a351); + background-image: -o-linear-gradient(top, #62c462, #51a351); + background-image: linear-gradient(to bottom, #62c462, #51a351); + background-repeat: repeat-x; + border-color: #51a351 #51a351 #387038; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.btn-success.disabled, +.btn-success[disabled] { + color: #ffffff; + background-color: #51a351; + *background-color: #499249; +} + +.btn-success:active, +.btn-success.active { + background-color: #408140 \9; +} + +.btn-info { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #49afcd; + *background-color: #2f96b4; + background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); + background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); + background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); + background-repeat: repeat-x; + border-color: #2f96b4 #2f96b4 #1f6377; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.btn-info.disabled, +.btn-info[disabled] { + color: #ffffff; + background-color: #2f96b4; + *background-color: #2a85a0; +} + +.btn-info:active, +.btn-info.active { + background-color: #24748c \9; +} + +.btn-inverse { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #363636; + *background-color: #222222; + background-image: -moz-linear-gradient(top, #444444, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222)); + background-image: -webkit-linear-gradient(top, #444444, #222222); + background-image: -o-linear-gradient(top, #444444, #222222); + background-image: linear-gradient(to bottom, #444444, #222222); + background-repeat: repeat-x; + border-color: #222222 #222222 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-inverse:hover, +.btn-inverse:focus, +.btn-inverse:active, +.btn-inverse.active, +.btn-inverse.disabled, +.btn-inverse[disabled] { + color: #ffffff; + background-color: #222222; + *background-color: #151515; +} + +.btn-inverse:active, +.btn-inverse.active { + background-color: #080808 \9; +} + +button.btn, +input[type="submit"].btn { + *padding-top: 3px; + *padding-bottom: 3px; +} + +button.btn::-moz-focus-inner, +input[type="submit"].btn::-moz-focus-inner { + padding: 0; + border: 0; +} + +button.btn.btn-large, +input[type="submit"].btn.btn-large { + *padding-top: 7px; + *padding-bottom: 7px; +} + +button.btn.btn-small, +input[type="submit"].btn.btn-small { + *padding-top: 3px; + *padding-bottom: 3px; +} + +button.btn.btn-mini, +input[type="submit"].btn.btn-mini { + *padding-top: 1px; + *padding-bottom: 1px; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled] { + background-color: transparent; + background-image: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.btn-link { + color: #0088cc; + cursor: pointer; + border-color: transparent; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-link:hover, +.btn-link:focus { + color: #005580; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +.btn-link[disabled]:focus { + color: #333333; + text-decoration: none; +} + +.btn-group { + position: relative; + display: inline-block; + *display: inline; + *margin-left: .3em; + font-size: 0; + white-space: nowrap; + vertical-align: middle; + *zoom: 1; +} + +.btn-group:first-child { + *margin-left: 0; +} + +.btn-group + .btn-group { + margin-left: 5px; +} + +.btn-toolbar { + margin-top: 10px; + margin-bottom: 10px; + font-size: 0; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn { + position: relative; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group > .btn + .btn { + margin-left: -1px; +} + +.btn-group > .btn, +.btn-group > .dropdown-menu, +.btn-group > .popover { + font-size: 14px; +} + +.btn-group > .btn-mini { + font-size: 10.5px; +} + +.btn-group > .btn-small { + font-size: 11.9px; +} + +.btn-group > .btn-large { + font-size: 17.5px; +} + +.btn-group > .btn:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; +} + +.btn-group > .btn:last-child, +.btn-group > .dropdown-toggle { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; +} + +.btn-group > .btn.large:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-border-top-left-radius: 6px; + border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -moz-border-radius-topleft: 6px; +} + +.btn-group > .btn.large:last-child, +.btn-group > .large.dropdown-toggle { + -webkit-border-top-right-radius: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + border-bottom-right-radius: 6px; + -moz-border-radius-topright: 6px; + -moz-border-radius-bottomright: 6px; +} + +.btn-group > .btn:hover, +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active { + z-index: 2; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group > .btn + .dropdown-toggle { + *padding-top: 5px; + padding-right: 8px; + *padding-bottom: 5px; + padding-left: 8px; + -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group > .btn-mini + .dropdown-toggle { + *padding-top: 2px; + padding-right: 5px; + *padding-bottom: 2px; + padding-left: 5px; +} + +.btn-group > .btn-small + .dropdown-toggle { + *padding-top: 5px; + *padding-bottom: 4px; +} + +.btn-group > .btn-large + .dropdown-toggle { + *padding-top: 7px; + padding-right: 12px; + *padding-bottom: 7px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + background-image: none; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group.open .btn.dropdown-toggle { + background-color: #e6e6e6; +} + +.btn-group.open .btn-primary.dropdown-toggle { + background-color: #0044cc; +} + +.btn-group.open .btn-warning.dropdown-toggle { + background-color: #f89406; +} + +.btn-group.open .btn-danger.dropdown-toggle { + background-color: #bd362f; +} + +.btn-group.open .btn-success.dropdown-toggle { + background-color: #51a351; +} + +.btn-group.open .btn-info.dropdown-toggle { + background-color: #2f96b4; +} + +.btn-group.open .btn-inverse.dropdown-toggle { + background-color: #222222; +} + +.btn .caret { + margin-top: 8px; + margin-left: 0; +} + +.btn-large .caret { + margin-top: 6px; +} + +.btn-large .caret { + border-top-width: 5px; + border-right-width: 5px; + border-left-width: 5px; +} + +.btn-mini .caret, +.btn-small .caret { + margin-top: 8px; +} + +.dropup .btn-large .caret { + border-bottom-width: 5px; +} + +.btn-primary .caret, +.btn-warning .caret, +.btn-danger .caret, +.btn-info .caret, +.btn-success .caret, +.btn-inverse .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.btn-group-vertical { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; +} + +.btn-group-vertical > .btn { + display: block; + float: none; + max-width: 100%; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group-vertical > .btn + .btn { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:first-child { + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.btn-group-vertical > .btn:last-child { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.btn-group-vertical > .btn-large:first-child { + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; +} + +.btn-group-vertical > .btn-large:last-child { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} + +.alert { + padding: 8px 35px 8px 14px; + margin-bottom: 20px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #fcf8e3; + border: 1px solid #fbeed5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.alert, +.alert h4 { + color: #c09853; +} + +.alert h4 { + margin: 0; +} + +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: 20px; +} + +.alert-success { + color: #468847; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success h4 { + color: #468847; +} + +.alert-danger, +.alert-error { + color: #b94a48; + background-color: #f2dede; + border-color: #eed3d7; +} + +.alert-danger h4, +.alert-error h4 { + color: #b94a48; +} + +.alert-info { + color: #3a87ad; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info h4 { + color: #3a87ad; +} + +.alert-block { + padding-top: 14px; + padding-bottom: 14px; +} + +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; +} + +.alert-block p + p { + margin-top: 5px; +} + +.nav { + margin-bottom: 20px; + margin-left: 0; + list-style: none; +} + +.nav > li > a { + display: block; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li > a > img { + max-width: none; +} + +.nav > .pull-right { + float: right; +} + +.nav-header { + display: block; + padding: 3px 15px; + font-size: 11px; + font-weight: bold; + line-height: 20px; + color: #999999; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + text-transform: uppercase; +} + +.nav li + .nav-header { + margin-top: 9px; +} + +.nav-list { + padding-right: 15px; + padding-left: 15px; + margin-bottom: 0; +} + +.nav-list > li > a, +.nav-list .nav-header { + margin-right: -15px; + margin-left: -15px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); +} + +.nav-list > li > a { + padding: 3px 15px; +} + +.nav-list > .active > a, +.nav-list > .active > a:hover, +.nav-list > .active > a:focus { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); + background-color: #0088cc; +} + +.nav-list [class^="icon-"], +.nav-list [class*=" icon-"] { + margin-right: 2px; +} + +.nav-list .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.nav-tabs, +.nav-pills { + *zoom: 1; +} + +.nav-tabs:before, +.nav-pills:before, +.nav-tabs:after, +.nav-pills:after { + display: table; + line-height: 0; + content: ""; +} + +.nav-tabs:after, +.nav-pills:after { + clear: both; +} + +.nav-tabs > li, +.nav-pills > li { + float: left; +} + +.nav-tabs > li > a, +.nav-pills > li > a { + padding-right: 12px; + padding-left: 12px; + margin-right: 2px; + line-height: 14px; +} + +.nav-tabs { + border-bottom: 1px solid #ddd; +} + +.nav-tabs > li { + margin-bottom: -1px; +} + +.nav-tabs > li > a { + padding-top: 8px; + padding-bottom: 8px; + line-height: 20px; + border: 1px solid transparent; + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover, +.nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > .active > a, +.nav-tabs > .active > a:hover, +.nav-tabs > .active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} + +.nav-pills > li > a { + padding-top: 8px; + padding-bottom: 8px; + margin-top: 2px; + margin-bottom: 2px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.nav-pills > .active > a, +.nav-pills > .active > a:hover, +.nav-pills > .active > a:focus { + color: #ffffff; + background-color: #0088cc; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li > a { + margin-right: 0; +} + +.nav-tabs.nav-stacked { + border-bottom: 0; +} + +.nav-tabs.nav-stacked > li > a { + border: 1px solid #ddd; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.nav-tabs.nav-stacked > li:first-child > a { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; +} + +.nav-tabs.nav-stacked > li:last-child > a { + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomright: 4px; + -moz-border-radius-bottomleft: 4px; +} + +.nav-tabs.nav-stacked > li > a:hover, +.nav-tabs.nav-stacked > li > a:focus { + z-index: 2; + border-color: #ddd; +} + +.nav-pills.nav-stacked > li > a { + margin-bottom: 3px; +} + +.nav-pills.nav-stacked > li:last-child > a { + margin-bottom: 1px; +} + +.nav-tabs .dropdown-menu { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} + +.nav-pills .dropdown-menu { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.nav .dropdown-toggle .caret { + margin-top: 6px; + border-top-color: #0088cc; + border-bottom-color: #0088cc; +} + +.nav .dropdown-toggle:hover .caret, +.nav .dropdown-toggle:focus .caret { + border-top-color: #005580; + border-bottom-color: #005580; +} + +/* move down carets for tabs */ + +.nav-tabs .dropdown-toggle .caret { + margin-top: 8px; +} + +.nav .active .dropdown-toggle .caret { + border-top-color: #fff; + border-bottom-color: #fff; +} + +.nav-tabs .active .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} + +.nav > .dropdown.active > a:hover, +.nav > .dropdown.active > a:focus { + cursor: pointer; +} + +.nav-tabs .open .dropdown-toggle, +.nav-pills .open .dropdown-toggle, +.nav > li.dropdown.open.active > a:hover, +.nav > li.dropdown.open.active > a:focus { + color: #ffffff; + background-color: #999999; + border-color: #999999; +} + +.nav li.dropdown.open .caret, +.nav li.dropdown.open.active .caret, +.nav li.dropdown.open a:hover .caret, +.nav li.dropdown.open a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; + opacity: 1; + filter: alpha(opacity=100); +} + +.tabs-stacked .open > a:hover, +.tabs-stacked .open > a:focus { + border-color: #999999; +} + +.tabbable { + *zoom: 1; +} + +.tabbable:before, +.tabbable:after { + display: table; + line-height: 0; + content: ""; +} + +.tabbable:after { + clear: both; +} + +.tab-content { + overflow: auto; +} + +.tabs-below > .nav-tabs, +.tabs-right > .nav-tabs, +.tabs-left > .nav-tabs { + border-bottom: 0; +} + +.tab-content > .tab-pane, +.pill-content > .pill-pane { + display: none; +} + +.tab-content > .active, +.pill-content > .active { + display: block; +} + +.tabs-below > .nav-tabs { + border-top: 1px solid #ddd; +} + +.tabs-below > .nav-tabs > li { + margin-top: -1px; + margin-bottom: 0; +} + +.tabs-below > .nav-tabs > li > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.tabs-below > .nav-tabs > li > a:hover, +.tabs-below > .nav-tabs > li > a:focus { + border-top-color: #ddd; + border-bottom-color: transparent; +} + +.tabs-below > .nav-tabs > .active > a, +.tabs-below > .nav-tabs > .active > a:hover, +.tabs-below > .nav-tabs > .active > a:focus { + border-color: transparent #ddd #ddd #ddd; +} + +.tabs-left > .nav-tabs > li, +.tabs-right > .nav-tabs > li { + float: none; +} + +.tabs-left > .nav-tabs > li > a, +.tabs-right > .nav-tabs > li > a { + min-width: 74px; + margin-right: 0; + margin-bottom: 3px; +} + +.tabs-left > .nav-tabs { + float: left; + margin-right: 19px; + border-right: 1px solid #ddd; +} + +.tabs-left > .nav-tabs > li > a { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.tabs-left > .nav-tabs > li > a:hover, +.tabs-left > .nav-tabs > li > a:focus { + border-color: #eeeeee #dddddd #eeeeee #eeeeee; +} + +.tabs-left > .nav-tabs .active > a, +.tabs-left > .nav-tabs .active > a:hover, +.tabs-left > .nav-tabs .active > a:focus { + border-color: #ddd transparent #ddd #ddd; + *border-right-color: #ffffff; +} + +.tabs-right > .nav-tabs { + float: right; + margin-left: 19px; + border-left: 1px solid #ddd; +} + +.tabs-right > .nav-tabs > li > a { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.tabs-right > .nav-tabs > li > a:hover, +.tabs-right > .nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #eeeeee #dddddd; +} + +.tabs-right > .nav-tabs .active > a, +.tabs-right > .nav-tabs .active > a:hover, +.tabs-right > .nav-tabs .active > a:focus { + border-color: #ddd #ddd #ddd transparent; + *border-left-color: #ffffff; +} + +.nav > .disabled > a { + color: #999999; +} + +.nav > .disabled > a:hover, +.nav > .disabled > a:focus { + text-decoration: none; + cursor: default; + background-color: transparent; +} + +.navbar { + *position: relative; + *z-index: 2; + margin-bottom: 20px; + overflow: visible; +} + +.navbar-inner { + min-height: 40px; + padding-right: 20px; + padding-left: 20px; + background-color: #fafafa; + background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); + background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); + background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); + background-repeat: repeat-x; + border: 1px solid #d4d4d4; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); + *zoom: 1; + -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); +} + +.navbar-inner:before, +.navbar-inner:after { + display: table; + line-height: 0; + content: ""; +} + +.navbar-inner:after { + clear: both; +} + +.navbar .container { + width: auto; +} + +.nav-collapse.collapse { + height: auto; + overflow: visible; +} + +.navbar .brand { + display: block; + float: left; + padding: 10px 20px 10px; + margin-left: -20px; + font-size: 20px; + font-weight: 200; + color: #777777; + text-shadow: 0 1px 0 #ffffff; +} + +.navbar .brand:hover, +.navbar .brand:focus { + text-decoration: none; +} + +.navbar-text { + margin-bottom: 0; + line-height: 40px; + color: #777777; +} + +.navbar-link { + color: #777777; +} + +.navbar-link:hover, +.navbar-link:focus { + color: #333333; +} + +.navbar .divider-vertical { + height: 40px; + margin: 0 9px; + border-right: 1px solid #ffffff; + border-left: 1px solid #f2f2f2; +} + +.navbar .btn, +.navbar .btn-group { + margin-top: 5px; +} + +.navbar .btn-group .btn, +.navbar .input-prepend .btn, +.navbar .input-append .btn, +.navbar .input-prepend .btn-group, +.navbar .input-append .btn-group { + margin-top: 0; +} + +.navbar-form { + margin-bottom: 0; + *zoom: 1; +} + +.navbar-form:before, +.navbar-form:after { + display: table; + line-height: 0; + content: ""; +} + +.navbar-form:after { + clear: both; +} + +.navbar-form input, +.navbar-form select, +.navbar-form .radio, +.navbar-form .checkbox { + margin-top: 5px; +} + +.navbar-form input, +.navbar-form select, +.navbar-form .btn { + display: inline-block; + margin-bottom: 0; +} + +.navbar-form input[type="image"], +.navbar-form input[type="checkbox"], +.navbar-form input[type="radio"] { + margin-top: 3px; +} + +.navbar-form .input-append, +.navbar-form .input-prepend { + margin-top: 5px; + white-space: nowrap; +} + +.navbar-form .input-append input, +.navbar-form .input-prepend input { + margin-top: 0; +} + +.navbar-search { + position: relative; + float: left; + margin-top: 5px; + margin-bottom: 0; +} + +.navbar-search .search-query { + padding: 4px 14px; + margin-bottom: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: 1; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.navbar-static-top { + position: static; + margin-bottom: 0; +} + +.navbar-static-top .navbar-inner { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; + margin-bottom: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + border-width: 0 0 1px; +} + +.navbar-fixed-bottom .navbar-inner { + border-width: 1px 0 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { + padding-right: 0; + padding-left: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.navbar-fixed-top { + top: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); +} + +.navbar-fixed-bottom { + bottom: 0; +} + +.navbar-fixed-bottom .navbar-inner { + -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); + box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); +} + +.navbar .nav { + position: relative; + left: 0; + display: block; + float: left; + margin: 0 10px 0 0; +} + +.navbar .nav.pull-right { + float: right; + margin-right: 0; +} + +.navbar .nav > li { + float: left; +} + +.navbar .nav > li > a { + float: none; + padding: 10px 15px 10px; + color: #777777; + text-decoration: none; + text-shadow: 0 1px 0 #ffffff; +} + +.navbar .nav .dropdown-toggle .caret { + margin-top: 8px; +} + +.navbar .nav > li > a:focus, +.navbar .nav > li > a:hover { + color: #333333; + text-decoration: none; + background-color: transparent; +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + color: #555555; + text-decoration: none; + background-color: #e5e5e5; + -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); +} + +.navbar .btn-navbar { + display: none; + float: right; + padding: 7px 10px; + margin-right: 5px; + margin-left: 5px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #ededed; + *background-color: #e5e5e5; + background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5)); + background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5); + background-repeat: repeat-x; + border-color: #e5e5e5 #e5e5e5 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); +} + +.navbar .btn-navbar:hover, +.navbar .btn-navbar:focus, +.navbar .btn-navbar:active, +.navbar .btn-navbar.active, +.navbar .btn-navbar.disabled, +.navbar .btn-navbar[disabled] { + color: #ffffff; + background-color: #e5e5e5; + *background-color: #d9d9d9; +} + +.navbar .btn-navbar:active, +.navbar .btn-navbar.active { + background-color: #cccccc \9; +} + +.navbar .btn-navbar .icon-bar { + display: block; + width: 18px; + height: 2px; + background-color: #f5f5f5; + -webkit-border-radius: 1px; + -moz-border-radius: 1px; + border-radius: 1px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); +} + +.btn-navbar .icon-bar + .icon-bar { + margin-top: 3px; +} + +.navbar .nav > li > .dropdown-menu:before { + position: absolute; + top: -7px; + left: 9px; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.navbar .nav > li > .dropdown-menu:after { + position: absolute; + top: -6px; + left: 10px; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + border-left: 6px solid transparent; + content: ''; +} + +.navbar-fixed-bottom .nav > li > .dropdown-menu:before { + top: auto; + bottom: -7px; + border-top: 7px solid #ccc; + border-bottom: 0; + border-top-color: rgba(0, 0, 0, 0.2); +} + +.navbar-fixed-bottom .nav > li > .dropdown-menu:after { + top: auto; + bottom: -6px; + border-top: 6px solid #ffffff; + border-bottom: 0; +} + +.navbar .nav li.dropdown > a:hover .caret, +.navbar .nav li.dropdown > a:focus .caret { + border-top-color: #333333; + border-bottom-color: #333333; +} + +.navbar .nav li.dropdown.open > .dropdown-toggle, +.navbar .nav li.dropdown.active > .dropdown-toggle, +.navbar .nav li.dropdown.open.active > .dropdown-toggle { + color: #555555; + background-color: #e5e5e5; +} + +.navbar .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #777777; + border-bottom-color: #777777; +} + +.navbar .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} + +.navbar .pull-right > li > .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu:before, +.navbar .nav > li > .dropdown-menu.pull-right:before { + right: 12px; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu:after, +.navbar .nav > li > .dropdown-menu.pull-right:after { + right: 13px; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { + right: 100%; + left: auto; + margin-right: -1px; + margin-left: 0; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + +.navbar-inverse .navbar-inner { + background-color: #1b1b1b; + background-image: -moz-linear-gradient(top, #222222, #111111); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); + background-image: -webkit-linear-gradient(top, #222222, #111111); + background-image: -o-linear-gradient(top, #222222, #111111); + background-image: linear-gradient(to bottom, #222222, #111111); + background-repeat: repeat-x; + border-color: #252525; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); +} + +.navbar-inverse .brand, +.navbar-inverse .nav > li > a { + color: #999999; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.navbar-inverse .brand:hover, +.navbar-inverse .nav > li > a:hover, +.navbar-inverse .brand:focus, +.navbar-inverse .nav > li > a:focus { + color: #ffffff; +} + +.navbar-inverse .brand { + color: #999999; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .nav > li > a:focus, +.navbar-inverse .nav > li > a:hover { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .nav .active > a, +.navbar-inverse .nav .active > a:hover, +.navbar-inverse .nav .active > a:focus { + color: #ffffff; + background-color: #111111; +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover, +.navbar-inverse .navbar-link:focus { + color: #ffffff; +} + +.navbar-inverse .divider-vertical { + border-right-color: #222222; + border-left-color: #111111; +} + +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { + color: #ffffff; + background-color: #111111; +} + +.navbar-inverse .nav li.dropdown > a:hover .caret, +.navbar-inverse .nav li.dropdown > a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #999999; + border-bottom-color: #999999; +} + +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.navbar-inverse .navbar-search .search-query { + color: #ffffff; + background-color: #515151; + border-color: #111111; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} + +.navbar-inverse .navbar-search .search-query:-moz-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query:focus, +.navbar-inverse .navbar-search .search-query.focused { + padding: 5px 15px; + color: #333333; + text-shadow: 0 1px 0 #ffffff; + background-color: #ffffff; + border: 0; + outline: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); +} + +.navbar-inverse .btn-navbar { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e0e0e; + *background-color: #040404; + background-image: -moz-linear-gradient(top, #151515, #040404); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404)); + background-image: -webkit-linear-gradient(top, #151515, #040404); + background-image: -o-linear-gradient(top, #151515, #040404); + background-image: linear-gradient(to bottom, #151515, #040404); + background-repeat: repeat-x; + border-color: #040404 #040404 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.navbar-inverse .btn-navbar:hover, +.navbar-inverse .btn-navbar:focus, +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active, +.navbar-inverse .btn-navbar.disabled, +.navbar-inverse .btn-navbar[disabled] { + color: #ffffff; + background-color: #040404; + *background-color: #000000; +} + +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active { + background-color: #000000 \9; +} + +.breadcrumb { + padding: 8px 15px; + margin: 0 0 20px; + list-style: none; + background-color: #f5f5f5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; + *display: inline; + text-shadow: 0 1px 0 #ffffff; + *zoom: 1; +} + +.breadcrumb > li > .divider { + padding: 0 5px; + color: #ccc; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + margin: 20px 0; +} + +.pagination ul { + display: inline-block; + *display: inline; + margin-bottom: 0; + margin-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + *zoom: 1; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.pagination ul > li { + display: inline; +} + +.pagination ul > li > a, +.pagination ul > li > span { + float: left; + padding: 4px 12px; + line-height: 20px; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; + border-left-width: 0; +} + +.pagination ul > li > a:hover, +.pagination ul > li > a:focus, +.pagination ul > .active > a, +.pagination ul > .active > span { + background-color: #f5f5f5; +} + +.pagination ul > .active > a, +.pagination ul > .active > span { + color: #999999; + cursor: default; +} + +.pagination ul > .disabled > span, +.pagination ul > .disabled > a, +.pagination ul > .disabled > a:hover, +.pagination ul > .disabled > a:focus { + color: #999999; + cursor: default; + background-color: transparent; +} + +.pagination ul > li:first-child > a, +.pagination ul > li:first-child > span { + border-left-width: 1px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; +} + +.pagination ul > li:last-child > a, +.pagination ul > li:last-child > span { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; +} + +.pagination-centered { + text-align: center; +} + +.pagination-right { + text-align: right; +} + +.pagination-large ul > li > a, +.pagination-large ul > li > span { + padding: 11px 19px; + font-size: 17.5px; +} + +.pagination-large ul > li:first-child > a, +.pagination-large ul > li:first-child > span { + -webkit-border-bottom-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-border-top-left-radius: 6px; + border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -moz-border-radius-topleft: 6px; +} + +.pagination-large ul > li:last-child > a, +.pagination-large ul > li:last-child > span { + -webkit-border-top-right-radius: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + border-bottom-right-radius: 6px; + -moz-border-radius-topright: 6px; + -moz-border-radius-bottomright: 6px; +} + +.pagination-mini ul > li:first-child > a, +.pagination-small ul > li:first-child > a, +.pagination-mini ul > li:first-child > span, +.pagination-small ul > li:first-child > span { + -webkit-border-bottom-left-radius: 3px; + border-bottom-left-radius: 3px; + -webkit-border-top-left-radius: 3px; + border-top-left-radius: 3px; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-topleft: 3px; +} + +.pagination-mini ul > li:last-child > a, +.pagination-small ul > li:last-child > a, +.pagination-mini ul > li:last-child > span, +.pagination-small ul > li:last-child > span { + -webkit-border-top-right-radius: 3px; + border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + border-bottom-right-radius: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomright: 3px; +} + +.pagination-small ul > li > a, +.pagination-small ul > li > span { + padding: 2px 10px; + font-size: 11.9px; +} + +.pagination-mini ul > li > a, +.pagination-mini ul > li > span { + padding: 0 6px; + font-size: 10.5px; +} + +.pager { + margin: 20px 0; + text-align: center; + list-style: none; + *zoom: 1; +} + +.pager:before, +.pager:after { + display: table; + line-height: 0; + content: ""; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: default; + background-color: #fff; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop, +.modal-backdrop.fade.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.modal { + position: fixed; + top: 10%; + left: 50%; + z-index: 1050; + width: 560px; + margin-left: -280px; + background-color: #ffffff; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, 0.3); + *border: 1px solid #999; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} + +.modal.fade { + top: -25%; + -webkit-transition: opacity 0.3s linear, top 0.3s ease-out; + -moz-transition: opacity 0.3s linear, top 0.3s ease-out; + -o-transition: opacity 0.3s linear, top 0.3s ease-out; + transition: opacity 0.3s linear, top 0.3s ease-out; +} + +.modal.fade.in { + top: 10%; +} + +.modal-header { + padding: 9px 15px; + border-bottom: 1px solid #eee; +} + +.modal-header .close { + margin-top: 2px; +} + +.modal-header h3 { + margin: 0; + line-height: 30px; +} + +.modal-body { + position: relative; + max-height: 400px; + padding: 15px; + overflow-y: auto; +} + +.modal-form { + margin-bottom: 0; +} + +.modal-footer { + padding: 14px 15px 15px; + margin-bottom: 0; + text-align: right; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 #ffffff; + -moz-box-shadow: inset 0 1px 0 #ffffff; + box-shadow: inset 0 1px 0 #ffffff; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + line-height: 0; + content: ""; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 11px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + -webkit-border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} + +.popover-title:empty { + display: none; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; +} + +.thumbnails { + margin-left: -20px; + list-style: none; + *zoom: 1; +} + +.thumbnails:before, +.thumbnails:after { + display: table; + line-height: 0; + content: ""; +} + +.thumbnails:after { + clear: both; +} + +.row-fluid .thumbnails { + margin-left: 0; +} + +.thumbnails > li { + float: left; + margin-bottom: 20px; + margin-left: 20px; +} + +.thumbnail { + display: block; + padding: 4px; + line-height: 20px; + border: 1px solid #ddd; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +a.thumbnail:hover, +a.thumbnail:focus { + border-color: #0088cc; + -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); +} + +.thumbnail > img { + display: block; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +.thumbnail .caption { + padding: 9px; + color: #555555; +} + +.media, +.media-body { + overflow: hidden; + *overflow: visible; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + margin-left: 0; + list-style: none; +} + +.label, +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; +} + +.label { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.badge { + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.label:empty, +.badge:empty { + display: none; +} + +a.label:hover, +a.label:focus, +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label-important, +.badge-important { + background-color: #b94a48; +} + +.label-important[href], +.badge-important[href] { + background-color: #953b39; +} + +.label-warning, +.badge-warning { + background-color: #f89406; +} + +.label-warning[href], +.badge-warning[href] { + background-color: #c67605; +} + +.label-success, +.badge-success { + background-color: #468847; +} + +.label-success[href], +.badge-success[href] { + background-color: #356635; +} + +.label-info, +.badge-info { + background-color: #3a87ad; +} + +.label-info[href], +.badge-info[href] { + background-color: #2d6987; +} + +.label-inverse, +.badge-inverse { + background-color: #333333; +} + +.label-inverse[href], +.badge-inverse[href] { + background-color: #1a1a1a; +} + +.btn .label, +.btn .badge { + position: relative; + top: -1px; +} + +.btn-mini .label, +.btn-mini .badge { + top: 0; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-moz-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-ms-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-o-keyframes progress-bar-stripes { + from { + background-position: 0 0; + } + to { + background-position: 40px 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f7f7f7; + background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); + background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); + background-repeat: repeat-x; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress .bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + color: #ffffff; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e90d2; + background-image: -moz-linear-gradient(top, #149bdf, #0480be); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); + background-image: -webkit-linear-gradient(top, #149bdf, #0480be); + background-image: -o-linear-gradient(top, #149bdf, #0480be); + background-image: linear-gradient(to bottom, #149bdf, #0480be); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: width 0.6s ease; + -moz-transition: width 0.6s ease; + -o-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress .bar + .bar { + -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); +} + +.progress-striped .bar { + background-color: #149bdf; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + -moz-background-size: 40px 40px; + -o-background-size: 40px 40px; + background-size: 40px 40px; +} + +.progress.active .bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -moz-animation: progress-bar-stripes 2s linear infinite; + -ms-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-danger .bar, +.progress .bar-danger { + background-color: #dd514c; + background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); + background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); +} + +.progress-danger.progress-striped .bar, +.progress-striped .bar-danger { + background-color: #ee5f5b; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-success .bar, +.progress .bar-success { + background-color: #5eb95e; + background-image: -moz-linear-gradient(top, #62c462, #57a957); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); + background-image: -webkit-linear-gradient(top, #62c462, #57a957); + background-image: -o-linear-gradient(top, #62c462, #57a957); + background-image: linear-gradient(to bottom, #62c462, #57a957); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); +} + +.progress-success.progress-striped .bar, +.progress-striped .bar-success { + background-color: #62c462; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-info .bar, +.progress .bar-info { + background-color: #4bb1cf; + background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); + background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); + background-image: -o-linear-gradient(top, #5bc0de, #339bb9); + background-image: linear-gradient(to bottom, #5bc0de, #339bb9); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); +} + +.progress-info.progress-striped .bar, +.progress-striped .bar-info { + background-color: #5bc0de; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-warning .bar, +.progress .bar-warning { + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); +} + +.progress-warning.progress-striped .bar, +.progress-striped .bar-warning { + background-color: #fbb450; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.accordion { + margin-bottom: 20px; +} + +.accordion-group { + margin-bottom: 2px; + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.accordion-heading { + border-bottom: 0; +} + +.accordion-heading .accordion-toggle { + display: block; + padding: 8px 15px; +} + +.accordion-toggle { + cursor: pointer; +} + +.accordion-inner { + padding: 9px 15px; + border-top: 1px solid #e5e5e5; +} + +.carousel { + position: relative; + margin-bottom: 20px; + line-height: 1; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + -moz-transition: 0.6s ease-in-out left; + -o-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 40%; + left: 15px; + width: 40px; + height: 40px; + margin-top: -20px; + font-size: 60px; + font-weight: 100; + line-height: 30px; + color: #ffffff; + text-align: center; + background: #222222; + border: 3px solid #ffffff; + -webkit-border-radius: 23px; + -moz-border-radius: 23px; + border-radius: 23px; + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.right { + right: 15px; + left: auto; +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-indicators { + position: absolute; + top: 15px; + right: 15px; + z-index: 5; + margin: 0; + list-style: none; +} + +.carousel-indicators li { + display: block; + float: left; + width: 10px; + height: 10px; + margin-left: 5px; + text-indent: -999px; + background-color: #ccc; + background-color: rgba(255, 255, 255, 0.25); + border-radius: 5px; +} + +.carousel-indicators .active { + background-color: #fff; +} + +.carousel-caption { + position: absolute; + right: 0; + bottom: 0; + left: 0; + padding: 15px; + background: #333333; + background: rgba(0, 0, 0, 0.75); +} + +.carousel-caption h4, +.carousel-caption p { + line-height: 20px; + color: #ffffff; +} + +.carousel-caption h4 { + margin: 0 0 5px; +} + +.carousel-caption p { + margin-bottom: 0; +} + +.hero-unit { + padding: 60px; + margin-bottom: 30px; + font-size: 18px; + font-weight: 200; + line-height: 30px; + color: inherit; + background-color: #eeeeee; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.hero-unit h1 { + margin-bottom: 0; + font-size: 60px; + line-height: 1; + letter-spacing: -1px; + color: inherit; +} + +.hero-unit li { + line-height: 30px; +} + +.pull-right { + float: right; +} + +.pull-left { + float: left; +} + +.hide { + display: none; +} + +.show { + display: block; +} + +.invisible { + visibility: hidden; +} + +.affix { + position: fixed; +} diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/mvc-servlet.xml b/handling-spring-static-resources/src/main/webapp/WEB-INF/mvc-servlet.xml new file mode 100644 index 0000000000..94bd63e068 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/mvc-servlet.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/view/home.jsp b/handling-spring-static-resources/src/main/webapp/WEB-INF/view/home.jsp new file mode 100644 index 0000000000..468603a039 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/view/home.jsp @@ -0,0 +1,17 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page session="false" %> + + +" rel="stylesheet"> + + Home + + +

              + This is Home! +

              +bunny hop image"> + + + diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/view/login.jsp b/handling-spring-static-resources/src/main/webapp/WEB-INF/view/login.jsp new file mode 100644 index 0000000000..8c9f46c027 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/view/login.jsp @@ -0,0 +1,65 @@ +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@ taglib prefix="sec" + uri="http://www.springframework.org/security/tags"%> +<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> + +<%@ page session="true"%> + + + + + +" rel="stylesheet"> + + +
              + +
              +
              + + + +

              + +
              + + + + + + + + + + + + +
              />
              + +
              + +
              + + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/WEB-INF/web.xml b/handling-spring-static-resources/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..e9d784e940 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,48 @@ + + + + + contextClass + + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + + + + contextConfigLocation + org.baeldung.spring + + + + org.springframework.web.context.ContextLoaderListener + + + + mvc + org.springframework.web.servlet.DispatcherServlet + 1 + + + mvc + / + + + + springSecurityFilterChain + org.springframework.web.filter.DelegatingFilterProxy + + + springSecurityFilterChain + /* + + + localizationFilter + org.springframework.web.filter.RequestContextFilter + + + localizationFilter + /* + + + \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/js/bootstrap.css b/handling-spring-static-resources/src/main/webapp/js/bootstrap.css new file mode 100644 index 0000000000..5b7fe7e856 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/js/bootstrap.css @@ -0,0 +1,6167 @@ +/*! + * Bootstrap v2.3.2 + * + * Copyright 2013 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world by @mdo and @fat. + */ + +.clearfix { + *zoom: 1; +} + +.clearfix:before, +.clearfix:after { + display: table; + line-height: 0; + content: ""; +} + +.clearfix:after { + clear: both; +} + +.hide-text { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} + +.input-block-level { + display: block; + width: 100%; + min-height: 30px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section { + display: block; +} + +audio, +canvas, +video { + display: inline-block; + *display: inline; + *zoom: 1; +} + +audio:not([controls]) { + display: none; +} + +html { + font-size: 100%; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +a:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +a:hover, +a:active { + outline: 0; +} + +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + width: auto\9; + height: auto; + max-width: 100%; + vertical-align: middle; + border: 0; + -ms-interpolation-mode: bicubic; +} + +#map_canvas img, +.google-maps img { + max-width: none; +} + +button, +input, +select, +textarea { + margin: 0; + font-size: 100%; + vertical-align: middle; +} + +button, +input { + *overflow: visible; + line-height: normal; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + padding: 0; + border: 0; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + cursor: pointer; + -webkit-appearance: button; +} + +label, +select, +button, +input[type="button"], +input[type="reset"], +input[type="submit"], +input[type="radio"], +input[type="checkbox"] { + cursor: pointer; +} + +input[type="search"] { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + -webkit-appearance: textfield; +} + +input[type="search"]::-webkit-search-decoration, +input[type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; +} + +textarea { + overflow: auto; + vertical-align: top; +} + +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 0.5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } +} + +body { + margin: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 20px; + color: #333333; + background-color: #ffffff; +} + +a { + color: #0088cc; + text-decoration: none; +} + +a:hover, +a:focus { + color: #005580; + text-decoration: underline; +} + +.img-rounded { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.img-polaroid { + padding: 4px; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); +} + +.img-circle { + -webkit-border-radius: 500px; + -moz-border-radius: 500px; + border-radius: 500px; +} + +.row { + margin-left: -20px; + *zoom: 1; +} + +.row:before, +.row:after { + display: table; + line-height: 0; + content: ""; +} + +.row:after { + clear: both; +} + +[class*="span"] { + float: left; + min-height: 1px; + margin-left: 20px; +} + +.container, +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.span12 { + width: 940px; +} + +.span11 { + width: 860px; +} + +.span10 { + width: 780px; +} + +.span9 { + width: 700px; +} + +.span8 { + width: 620px; +} + +.span7 { + width: 540px; +} + +.span6 { + width: 460px; +} + +.span5 { + width: 380px; +} + +.span4 { + width: 300px; +} + +.span3 { + width: 220px; +} + +.span2 { + width: 140px; +} + +.span1 { + width: 60px; +} + +.offset12 { + margin-left: 980px; +} + +.offset11 { + margin-left: 900px; +} + +.offset10 { + margin-left: 820px; +} + +.offset9 { + margin-left: 740px; +} + +.offset8 { + margin-left: 660px; +} + +.offset7 { + margin-left: 580px; +} + +.offset6 { + margin-left: 500px; +} + +.offset5 { + margin-left: 420px; +} + +.offset4 { + margin-left: 340px; +} + +.offset3 { + margin-left: 260px; +} + +.offset2 { + margin-left: 180px; +} + +.offset1 { + margin-left: 100px; +} + +.row-fluid { + width: 100%; + *zoom: 1; +} + +.row-fluid:before, +.row-fluid:after { + display: table; + line-height: 0; + content: ""; +} + +.row-fluid:after { + clear: both; +} + +.row-fluid [class*="span"] { + display: block; + float: left; + width: 100%; + min-height: 30px; + margin-left: 2.127659574468085%; + *margin-left: 2.074468085106383%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.row-fluid [class*="span"]:first-child { + margin-left: 0; +} + +.row-fluid .controls-row [class*="span"] + [class*="span"] { + margin-left: 2.127659574468085%; +} + +.row-fluid .span12 { + width: 100%; + *width: 99.94680851063829%; +} + +.row-fluid .span11 { + width: 91.48936170212765%; + *width: 91.43617021276594%; +} + +.row-fluid .span10 { + width: 82.97872340425532%; + *width: 82.92553191489361%; +} + +.row-fluid .span9 { + width: 74.46808510638297%; + *width: 74.41489361702126%; +} + +.row-fluid .span8 { + width: 65.95744680851064%; + *width: 65.90425531914893%; +} + +.row-fluid .span7 { + width: 57.44680851063829%; + *width: 57.39361702127659%; +} + +.row-fluid .span6 { + width: 48.93617021276595%; + *width: 48.88297872340425%; +} + +.row-fluid .span5 { + width: 40.42553191489362%; + *width: 40.37234042553192%; +} + +.row-fluid .span4 { + width: 31.914893617021278%; + *width: 31.861702127659576%; +} + +.row-fluid .span3 { + width: 23.404255319148934%; + *width: 23.351063829787233%; +} + +.row-fluid .span2 { + width: 14.893617021276595%; + *width: 14.840425531914894%; +} + +.row-fluid .span1 { + width: 6.382978723404255%; + *width: 6.329787234042553%; +} + +.row-fluid .offset12 { + margin-left: 104.25531914893617%; + *margin-left: 104.14893617021275%; +} + +.row-fluid .offset12:first-child { + margin-left: 102.12765957446808%; + *margin-left: 102.02127659574467%; +} + +.row-fluid .offset11 { + margin-left: 95.74468085106382%; + *margin-left: 95.6382978723404%; +} + +.row-fluid .offset11:first-child { + margin-left: 93.61702127659574%; + *margin-left: 93.51063829787232%; +} + +.row-fluid .offset10 { + margin-left: 87.23404255319149%; + *margin-left: 87.12765957446807%; +} + +.row-fluid .offset10:first-child { + margin-left: 85.1063829787234%; + *margin-left: 84.99999999999999%; +} + +.row-fluid .offset9 { + margin-left: 78.72340425531914%; + *margin-left: 78.61702127659572%; +} + +.row-fluid .offset9:first-child { + margin-left: 76.59574468085106%; + *margin-left: 76.48936170212764%; +} + +.row-fluid .offset8 { + margin-left: 70.2127659574468%; + *margin-left: 70.10638297872339%; +} + +.row-fluid .offset8:first-child { + margin-left: 68.08510638297872%; + *margin-left: 67.9787234042553%; +} + +.row-fluid .offset7 { + margin-left: 61.70212765957446%; + *margin-left: 61.59574468085106%; +} + +.row-fluid .offset7:first-child { + margin-left: 59.574468085106375%; + *margin-left: 59.46808510638297%; +} + +.row-fluid .offset6 { + margin-left: 53.191489361702125%; + *margin-left: 53.085106382978715%; +} + +.row-fluid .offset6:first-child { + margin-left: 51.063829787234035%; + *margin-left: 50.95744680851063%; +} + +.row-fluid .offset5 { + margin-left: 44.68085106382979%; + *margin-left: 44.57446808510638%; +} + +.row-fluid .offset5:first-child { + margin-left: 42.5531914893617%; + *margin-left: 42.4468085106383%; +} + +.row-fluid .offset4 { + margin-left: 36.170212765957444%; + *margin-left: 36.06382978723405%; +} + +.row-fluid .offset4:first-child { + margin-left: 34.04255319148936%; + *margin-left: 33.93617021276596%; +} + +.row-fluid .offset3 { + margin-left: 27.659574468085104%; + *margin-left: 27.5531914893617%; +} + +.row-fluid .offset3:first-child { + margin-left: 25.53191489361702%; + *margin-left: 25.425531914893618%; +} + +.row-fluid .offset2 { + margin-left: 19.148936170212764%; + *margin-left: 19.04255319148936%; +} + +.row-fluid .offset2:first-child { + margin-left: 17.02127659574468%; + *margin-left: 16.914893617021278%; +} + +.row-fluid .offset1 { + margin-left: 10.638297872340425%; + *margin-left: 10.53191489361702%; +} + +.row-fluid .offset1:first-child { + margin-left: 8.51063829787234%; + *margin-left: 8.404255319148938%; +} + +[class*="span"].hide, +.row-fluid [class*="span"].hide { + display: none; +} + +[class*="span"].pull-right, +.row-fluid [class*="span"].pull-right { + float: right; +} + +.container { + margin-right: auto; + margin-left: auto; + *zoom: 1; +} + +.container:before, +.container:after { + display: table; + line-height: 0; + content: ""; +} + +.container:after { + clear: both; +} + +.container-fluid { + padding-right: 20px; + padding-left: 20px; + *zoom: 1; +} + +.container-fluid:before, +.container-fluid:after { + display: table; + line-height: 0; + content: ""; +} + +.container-fluid:after { + clear: both; +} + +p { + margin: 0 0 10px; +} + +.lead { + margin-bottom: 20px; + font-size: 21px; + font-weight: 200; + line-height: 30px; +} + +small { + font-size: 85%; +} + +strong { + font-weight: bold; +} + +em { + font-style: italic; +} + +cite { + font-style: normal; +} + +.muted { + color: #999999; +} + +a.muted:hover, +a.muted:focus { + color: #808080; +} + +.text-warning { + color: #c09853; +} + +a.text-warning:hover, +a.text-warning:focus { + color: #a47e3c; +} + +.text-error { + color: #b94a48; +} + +a.text-error:hover, +a.text-error:focus { + color: #953b39; +} + +.text-info { + color: #3a87ad; +} + +a.text-info:hover, +a.text-info:focus { + color: #2d6987; +} + +.text-success { + color: #468847; +} + +a.text-success:hover, +a.text-success:focus { + color: #356635; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 10px 0; + font-family: inherit; + font-weight: bold; + line-height: 20px; + color: inherit; + text-rendering: optimizelegibility; +} + +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + font-weight: normal; + line-height: 1; + color: #999999; +} + +h1, +h2, +h3 { + line-height: 40px; +} + +h1 { + font-size: 38.5px; +} + +h2 { + font-size: 31.5px; +} + +h3 { + font-size: 24.5px; +} + +h4 { + font-size: 17.5px; +} + +h5 { + font-size: 14px; +} + +h6 { + font-size: 11.9px; +} + +h1 small { + font-size: 24.5px; +} + +h2 small { + font-size: 17.5px; +} + +h3 small { + font-size: 14px; +} + +h4 small { + font-size: 14px; +} + +.page-header { + padding-bottom: 9px; + margin: 20px 0 30px; + border-bottom: 1px solid #eeeeee; +} + +ul, +ol { + padding: 0; + margin: 0 0 10px 25px; +} + +ul ul, +ul ol, +ol ol, +ol ul { + margin-bottom: 0; +} + +li { + line-height: 20px; +} + +ul.unstyled, +ol.unstyled { + margin-left: 0; + list-style: none; +} + +ul.inline, +ol.inline { + margin-left: 0; + list-style: none; +} + +ul.inline > li, +ol.inline > li { + display: inline-block; + *display: inline; + padding-right: 5px; + padding-left: 5px; + *zoom: 1; +} + +dl { + margin-bottom: 20px; +} + +dt, +dd { + line-height: 20px; +} + +dt { + font-weight: bold; +} + +dd { + margin-left: 10px; +} + +.dl-horizontal { + *zoom: 1; +} + +.dl-horizontal:before, +.dl-horizontal:after { + display: table; + line-height: 0; + content: ""; +} + +.dl-horizontal:after { + clear: both; +} + +.dl-horizontal dt { + float: left; + width: 160px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; +} + +.dl-horizontal dd { + margin-left: 180px; +} + +hr { + margin: 20px 0; + border: 0; + border-top: 1px solid #eeeeee; + border-bottom: 1px solid #ffffff; +} + +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #999999; +} + +abbr.initialism { + font-size: 90%; + text-transform: uppercase; +} + +blockquote { + padding: 0 0 0 15px; + margin: 0 0 20px; + border-left: 5px solid #eeeeee; +} + +blockquote p { + margin-bottom: 0; + font-size: 17.5px; + font-weight: 300; + line-height: 1.25; +} + +blockquote small { + display: block; + line-height: 20px; + color: #999999; +} + +blockquote small:before { + content: '\2014 \00A0'; +} + +blockquote.pull-right { + float: right; + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eeeeee; + border-left: 0; +} + +blockquote.pull-right p, +blockquote.pull-right small { + text-align: right; +} + +blockquote.pull-right small:before { + content: ''; +} + +blockquote.pull-right small:after { + content: '\00A0 \2014'; +} + +q:before, +q:after, +blockquote:before, +blockquote:after { + content: ""; +} + +address { + display: block; + margin-bottom: 20px; + font-style: normal; + line-height: 20px; +} + +code, +pre { + padding: 0 3px 2px; + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + font-size: 12px; + color: #333333; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +code { + padding: 2px 4px; + color: #d14; + white-space: nowrap; + background-color: #f7f7f9; + border: 1px solid #e1e1e8; +} + +pre { + display: block; + padding: 9.5px; + margin: 0 0 10px; + font-size: 13px; + line-height: 20px; + word-break: break-all; + word-wrap: break-word; + white-space: pre; + white-space: pre-wrap; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +pre.prettyprint { + margin-bottom: 20px; +} + +pre code { + padding: 0; + color: inherit; + white-space: pre; + white-space: pre-wrap; + background-color: transparent; + border: 0; +} + +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} + +form { + margin: 0 0 20px; +} + +fieldset { + padding: 0; + margin: 0; + border: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: 40px; + color: #333333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} + +legend small { + font-size: 15px; + color: #999999; +} + +label, +input, +button, +select, +textarea { + font-size: 14px; + font-weight: normal; + line-height: 20px; +} + +input, +button, +select, +textarea { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; +} + +label { + display: block; + margin-bottom: 5px; +} + +select, +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + display: inline-block; + height: 20px; + padding: 4px 6px; + margin-bottom: 10px; + font-size: 14px; + line-height: 20px; + color: #555555; + vertical-align: middle; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +input, +textarea, +.uneditable-input { + width: 206px; +} + +textarea { + height: auto; +} + +textarea, +input[type="text"], +input[type="password"], +input[type="datetime"], +input[type="datetime-local"], +input[type="date"], +input[type="month"], +input[type="time"], +input[type="week"], +input[type="number"], +input[type="email"], +input[type="url"], +input[type="search"], +input[type="tel"], +input[type="color"], +.uneditable-input { + background-color: #ffffff; + border: 1px solid #cccccc; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; + -moz-transition: border linear 0.2s, box-shadow linear 0.2s; + -o-transition: border linear 0.2s, box-shadow linear 0.2s; + transition: border linear 0.2s, box-shadow linear 0.2s; +} + +textarea:focus, +input[type="text"]:focus, +input[type="password"]:focus, +input[type="datetime"]:focus, +input[type="datetime-local"]:focus, +input[type="date"]:focus, +input[type="month"]:focus, +input[type="time"]:focus, +input[type="week"]:focus, +input[type="number"]:focus, +input[type="email"]:focus, +input[type="url"]:focus, +input[type="search"]:focus, +input[type="tel"]:focus, +input[type="color"]:focus, +.uneditable-input:focus { + border-color: rgba(82, 168, 236, 0.8); + outline: 0; + outline: thin dotted \9; + /* IE6-9 */ + + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); +} + +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + *margin-top: 0; + line-height: normal; +} + +input[type="file"], +input[type="image"], +input[type="submit"], +input[type="reset"], +input[type="button"], +input[type="radio"], +input[type="checkbox"] { + width: auto; +} + +select, +input[type="file"] { + height: 30px; + /* In IE7, the height of the select element cannot be changed by height, only font-size */ + + *margin-top: 4px; + /* For IE7, add top margin to align select with labels */ + + line-height: 30px; +} + +select { + width: 220px; + background-color: #ffffff; + border: 1px solid #cccccc; +} + +select[multiple], +select[size] { + height: auto; +} + +select:focus, +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.uneditable-input, +.uneditable-textarea { + color: #999999; + cursor: not-allowed; + background-color: #fcfcfc; + border-color: #cccccc; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); +} + +.uneditable-input { + overflow: hidden; + white-space: nowrap; +} + +.uneditable-textarea { + width: auto; + height: auto; +} + +input:-moz-placeholder, +textarea:-moz-placeholder { + color: #999999; +} + +input:-ms-input-placeholder, +textarea:-ms-input-placeholder { + color: #999999; +} + +input::-webkit-input-placeholder, +textarea::-webkit-input-placeholder { + color: #999999; +} + +.radio, +.checkbox { + min-height: 20px; + padding-left: 20px; +} + +.radio input[type="radio"], +.checkbox input[type="checkbox"] { + float: left; + margin-left: -20px; +} + +.controls > .radio:first-child, +.controls > .checkbox:first-child { + padding-top: 5px; +} + +.radio.inline, +.checkbox.inline { + display: inline-block; + padding-top: 5px; + margin-bottom: 0; + vertical-align: middle; +} + +.radio.inline + .radio.inline, +.checkbox.inline + .checkbox.inline { + margin-left: 10px; +} + +.input-mini { + width: 60px; +} + +.input-small { + width: 90px; +} + +.input-medium { + width: 150px; +} + +.input-large { + width: 210px; +} + +.input-xlarge { + width: 270px; +} + +.input-xxlarge { + width: 530px; +} + +input[class*="span"], +select[class*="span"], +textarea[class*="span"], +.uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"] { + float: none; + margin-left: 0; +} + +.input-append input[class*="span"], +.input-append .uneditable-input[class*="span"], +.input-prepend input[class*="span"], +.input-prepend .uneditable-input[class*="span"], +.row-fluid input[class*="span"], +.row-fluid select[class*="span"], +.row-fluid textarea[class*="span"], +.row-fluid .uneditable-input[class*="span"], +.row-fluid .input-prepend [class*="span"], +.row-fluid .input-append [class*="span"] { + display: inline-block; +} + +input, +textarea, +.uneditable-input { + margin-left: 0; +} + +.controls-row [class*="span"] + [class*="span"] { + margin-left: 20px; +} + +input.span12, +textarea.span12, +.uneditable-input.span12 { + width: 926px; +} + +input.span11, +textarea.span11, +.uneditable-input.span11 { + width: 846px; +} + +input.span10, +textarea.span10, +.uneditable-input.span10 { + width: 766px; +} + +input.span9, +textarea.span9, +.uneditable-input.span9 { + width: 686px; +} + +input.span8, +textarea.span8, +.uneditable-input.span8 { + width: 606px; +} + +input.span7, +textarea.span7, +.uneditable-input.span7 { + width: 526px; +} + +input.span6, +textarea.span6, +.uneditable-input.span6 { + width: 446px; +} + +input.span5, +textarea.span5, +.uneditable-input.span5 { + width: 366px; +} + +input.span4, +textarea.span4, +.uneditable-input.span4 { + width: 286px; +} + +input.span3, +textarea.span3, +.uneditable-input.span3 { + width: 206px; +} + +input.span2, +textarea.span2, +.uneditable-input.span2 { + width: 126px; +} + +input.span1, +textarea.span1, +.uneditable-input.span1 { + width: 46px; +} + +.controls-row { + *zoom: 1; +} + +.controls-row:before, +.controls-row:after { + display: table; + line-height: 0; + content: ""; +} + +.controls-row:after { + clear: both; +} + +.controls-row [class*="span"], +.row-fluid .controls-row [class*="span"] { + float: left; +} + +.controls-row .checkbox[class*="span"], +.controls-row .radio[class*="span"] { + padding-top: 5px; +} + +input[disabled], +select[disabled], +textarea[disabled], +input[readonly], +select[readonly], +textarea[readonly] { + cursor: not-allowed; + background-color: #eeeeee; +} + +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"][readonly], +input[type="checkbox"][readonly] { + background-color: transparent; +} + +.control-group.warning .control-label, +.control-group.warning .help-block, +.control-group.warning .help-inline { + color: #c09853; +} + +.control-group.warning .checkbox, +.control-group.warning .radio, +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + color: #c09853; +} + +.control-group.warning input, +.control-group.warning select, +.control-group.warning textarea { + border-color: #c09853; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.warning input:focus, +.control-group.warning select:focus, +.control-group.warning textarea:focus { + border-color: #a47e3c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; +} + +.control-group.warning .input-prepend .add-on, +.control-group.warning .input-append .add-on { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} + +.control-group.error .control-label, +.control-group.error .help-block, +.control-group.error .help-inline { + color: #b94a48; +} + +.control-group.error .checkbox, +.control-group.error .radio, +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + color: #b94a48; +} + +.control-group.error input, +.control-group.error select, +.control-group.error textarea { + border-color: #b94a48; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.error input:focus, +.control-group.error select:focus, +.control-group.error textarea:focus { + border-color: #953b39; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; +} + +.control-group.error .input-prepend .add-on, +.control-group.error .input-append .add-on { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} + +.control-group.success .control-label, +.control-group.success .help-block, +.control-group.success .help-inline { + color: #468847; +} + +.control-group.success .checkbox, +.control-group.success .radio, +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + color: #468847; +} + +.control-group.success input, +.control-group.success select, +.control-group.success textarea { + border-color: #468847; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.success input:focus, +.control-group.success select:focus, +.control-group.success textarea:focus { + border-color: #356635; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; +} + +.control-group.success .input-prepend .add-on, +.control-group.success .input-append .add-on { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} + +.control-group.info .control-label, +.control-group.info .help-block, +.control-group.info .help-inline { + color: #3a87ad; +} + +.control-group.info .checkbox, +.control-group.info .radio, +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + color: #3a87ad; +} + +.control-group.info input, +.control-group.info select, +.control-group.info textarea { + border-color: #3a87ad; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} + +.control-group.info input:focus, +.control-group.info select:focus, +.control-group.info textarea:focus { + border-color: #2d6987; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; +} + +.control-group.info .input-prepend .add-on, +.control-group.info .input-append .add-on { + color: #3a87ad; + background-color: #d9edf7; + border-color: #3a87ad; +} + +input:focus:invalid, +textarea:focus:invalid, +select:focus:invalid { + color: #b94a48; + border-color: #ee5f5b; +} + +input:focus:invalid:focus, +textarea:focus:invalid:focus, +select:focus:invalid:focus { + border-color: #e9322d; + -webkit-box-shadow: 0 0 6px #f8b9b7; + -moz-box-shadow: 0 0 6px #f8b9b7; + box-shadow: 0 0 6px #f8b9b7; +} + +.form-actions { + padding: 19px 20px 20px; + margin-top: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-top: 1px solid #e5e5e5; + *zoom: 1; +} + +.form-actions:before, +.form-actions:after { + display: table; + line-height: 0; + content: ""; +} + +.form-actions:after { + clear: both; +} + +.help-block, +.help-inline { + color: #595959; +} + +.help-block { + display: block; + margin-bottom: 10px; +} + +.help-inline { + display: inline-block; + *display: inline; + padding-left: 5px; + vertical-align: middle; + *zoom: 1; +} + +.input-append, +.input-prepend { + display: inline-block; + margin-bottom: 10px; + font-size: 0; + white-space: nowrap; + vertical-align: middle; +} + +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input, +.input-append .dropdown-menu, +.input-prepend .dropdown-menu, +.input-append .popover, +.input-prepend .popover { + font-size: 14px; +} + +.input-append input, +.input-prepend input, +.input-append select, +.input-prepend select, +.input-append .uneditable-input, +.input-prepend .uneditable-input { + position: relative; + margin-bottom: 0; + *margin-left: 0; + vertical-align: top; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-append input:focus, +.input-prepend input:focus, +.input-append select:focus, +.input-prepend select:focus, +.input-append .uneditable-input:focus, +.input-prepend .uneditable-input:focus { + z-index: 2; +} + +.input-append .add-on, +.input-prepend .add-on { + display: inline-block; + width: auto; + height: 20px; + min-width: 16px; + padding: 4px 5px; + font-size: 14px; + font-weight: normal; + line-height: 20px; + text-align: center; + text-shadow: 0 1px 0 #ffffff; + background-color: #eeeeee; + border: 1px solid #ccc; +} + +.input-append .add-on, +.input-prepend .add-on, +.input-append .btn, +.input-prepend .btn, +.input-append .btn-group > .dropdown-toggle, +.input-prepend .btn-group > .dropdown-toggle { + vertical-align: top; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-append .active, +.input-prepend .active { + background-color: #a9dba9; + border-color: #46a546; +} + +.input-prepend .add-on, +.input-prepend .btn { + margin-right: -1px; +} + +.input-prepend .add-on:first-child, +.input-prepend .btn:first-child { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-append input, +.input-append select, +.input-append .uneditable-input { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-append input + .btn-group .btn:last-child, +.input-append select + .btn-group .btn:last-child, +.input-append .uneditable-input + .btn-group .btn:last-child { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-append .add-on, +.input-append .btn, +.input-append .btn-group { + margin-left: -1px; +} + +.input-append .add-on:last-child, +.input-append .btn:last-child, +.input-append .btn-group:last-child > .dropdown-toggle { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append input, +.input-prepend.input-append select, +.input-prepend.input-append .uneditable-input { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.input-prepend.input-append input + .btn-group .btn, +.input-prepend.input-append select + .btn-group .btn, +.input-prepend.input-append .uneditable-input + .btn-group .btn { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append .add-on:first-child, +.input-prepend.input-append .btn:first-child { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.input-prepend.input-append .add-on:last-child, +.input-prepend.input-append .btn:last-child { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.input-prepend.input-append .btn-group:first-child { + margin-left: 0; +} + +input.search-query { + padding-right: 14px; + padding-right: 4px \9; + padding-left: 14px; + padding-left: 4px \9; + /* IE7-8 doesn't have border-radius, so don't indent the padding */ + + margin-bottom: 0; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +/* Allow for input prepend/append in search forms */ + +.form-search .input-append .search-query, +.form-search .input-prepend .search-query { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.form-search .input-append .search-query { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} + +.form-search .input-append .btn { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} + +.form-search .input-prepend .search-query { + -webkit-border-radius: 0 14px 14px 0; + -moz-border-radius: 0 14px 14px 0; + border-radius: 0 14px 14px 0; +} + +.form-search .input-prepend .btn { + -webkit-border-radius: 14px 0 0 14px; + -moz-border-radius: 14px 0 0 14px; + border-radius: 14px 0 0 14px; +} + +.form-search input, +.form-inline input, +.form-horizontal input, +.form-search textarea, +.form-inline textarea, +.form-horizontal textarea, +.form-search select, +.form-inline select, +.form-horizontal select, +.form-search .help-inline, +.form-inline .help-inline, +.form-horizontal .help-inline, +.form-search .uneditable-input, +.form-inline .uneditable-input, +.form-horizontal .uneditable-input, +.form-search .input-prepend, +.form-inline .input-prepend, +.form-horizontal .input-prepend, +.form-search .input-append, +.form-inline .input-append, +.form-horizontal .input-append { + display: inline-block; + *display: inline; + margin-bottom: 0; + vertical-align: middle; + *zoom: 1; +} + +.form-search .hide, +.form-inline .hide, +.form-horizontal .hide { + display: none; +} + +.form-search label, +.form-inline label, +.form-search .btn-group, +.form-inline .btn-group { + display: inline-block; +} + +.form-search .input-append, +.form-inline .input-append, +.form-search .input-prepend, +.form-inline .input-prepend { + margin-bottom: 0; +} + +.form-search .radio, +.form-search .checkbox, +.form-inline .radio, +.form-inline .checkbox { + padding-left: 0; + margin-bottom: 0; + vertical-align: middle; +} + +.form-search .radio input[type="radio"], +.form-search .checkbox input[type="checkbox"], +.form-inline .radio input[type="radio"], +.form-inline .checkbox input[type="checkbox"] { + float: left; + margin-right: 3px; + margin-left: 0; +} + +.control-group { + margin-bottom: 10px; +} + +legend + .control-group { + margin-top: 20px; + -webkit-margin-top-collapse: separate; +} + +.form-horizontal .control-group { + margin-bottom: 20px; + *zoom: 1; +} + +.form-horizontal .control-group:before, +.form-horizontal .control-group:after { + display: table; + line-height: 0; + content: ""; +} + +.form-horizontal .control-group:after { + clear: both; +} + +.form-horizontal .control-label { + float: left; + width: 160px; + padding-top: 5px; + text-align: right; +} + +.form-horizontal .controls { + *display: inline-block; + *padding-left: 20px; + margin-left: 180px; + *margin-left: 0; +} + +.form-horizontal .controls:first-child { + *padding-left: 180px; +} + +.form-horizontal .help-block { + margin-bottom: 0; +} + +.form-horizontal input + .help-block, +.form-horizontal select + .help-block, +.form-horizontal textarea + .help-block, +.form-horizontal .uneditable-input + .help-block, +.form-horizontal .input-prepend + .help-block, +.form-horizontal .input-append + .help-block { + margin-top: 10px; +} + +.form-horizontal .form-actions { + padding-left: 180px; +} + +table { + max-width: 100%; + background-color: transparent; + border-collapse: collapse; + border-spacing: 0; +} + +.table { + width: 100%; + margin-bottom: 20px; +} + +.table th, +.table td { + padding: 8px; + line-height: 20px; + text-align: left; + vertical-align: top; + border-top: 1px solid #dddddd; +} + +.table th { + font-weight: bold; +} + +.table thead th { + vertical-align: bottom; +} + +.table caption + thead tr:first-child th, +.table caption + thead tr:first-child td, +.table colgroup + thead tr:first-child th, +.table colgroup + thead tr:first-child td, +.table thead:first-child tr:first-child th, +.table thead:first-child tr:first-child td { + border-top: 0; +} + +.table tbody + tbody { + border-top: 2px solid #dddddd; +} + +.table .table { + background-color: #ffffff; +} + +.table-condensed th, +.table-condensed td { + padding: 4px 5px; +} + +.table-bordered { + border: 1px solid #dddddd; + border-collapse: separate; + *border-collapse: collapse; + border-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.table-bordered th, +.table-bordered td { + border-left: 1px solid #dddddd; +} + +.table-bordered caption + thead tr:first-child th, +.table-bordered caption + tbody tr:first-child th, +.table-bordered caption + tbody tr:first-child td, +.table-bordered colgroup + thead tr:first-child th, +.table-bordered colgroup + tbody tr:first-child th, +.table-bordered colgroup + tbody tr:first-child td, +.table-bordered thead:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child th, +.table-bordered tbody:first-child tr:first-child td { + border-top: 0; +} + +.table-bordered thead:first-child tr:first-child > th:first-child, +.table-bordered tbody:first-child tr:first-child > td:first-child, +.table-bordered tbody:first-child tr:first-child > th:first-child { + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; +} + +.table-bordered thead:first-child tr:first-child > th:last-child, +.table-bordered tbody:first-child tr:first-child > td:last-child, +.table-bordered tbody:first-child tr:first-child > th:last-child { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; +} + +.table-bordered thead:last-child tr:last-child > th:first-child, +.table-bordered tbody:last-child tr:last-child > td:first-child, +.table-bordered tbody:last-child tr:last-child > th:first-child, +.table-bordered tfoot:last-child tr:last-child > td:first-child, +.table-bordered tfoot:last-child tr:last-child > th:first-child { + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; +} + +.table-bordered thead:last-child tr:last-child > th:last-child, +.table-bordered tbody:last-child tr:last-child > td:last-child, +.table-bordered tbody:last-child tr:last-child > th:last-child, +.table-bordered tfoot:last-child tr:last-child > td:last-child, +.table-bordered tfoot:last-child tr:last-child > th:last-child { + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-bottomright: 4px; +} + +.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { + -webkit-border-bottom-left-radius: 0; + border-bottom-left-radius: 0; + -moz-border-radius-bottomleft: 0; +} + +.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { + -webkit-border-bottom-right-radius: 0; + border-bottom-right-radius: 0; + -moz-border-radius-bottomright: 0; +} + +.table-bordered caption + thead tr:first-child th:first-child, +.table-bordered caption + tbody tr:first-child td:first-child, +.table-bordered colgroup + thead tr:first-child th:first-child, +.table-bordered colgroup + tbody tr:first-child td:first-child { + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topleft: 4px; +} + +.table-bordered caption + thead tr:first-child th:last-child, +.table-bordered caption + tbody tr:first-child td:last-child, +.table-bordered colgroup + thead tr:first-child th:last-child, +.table-bordered colgroup + tbody tr:first-child td:last-child { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -moz-border-radius-topright: 4px; +} + +.table-striped tbody > tr:nth-child(odd) > td, +.table-striped tbody > tr:nth-child(odd) > th { + background-color: #f9f9f9; +} + +.table-hover tbody tr:hover > td, +.table-hover tbody tr:hover > th { + background-color: #f5f5f5; +} + +table td[class*="span"], +table th[class*="span"], +.row-fluid table td[class*="span"], +.row-fluid table th[class*="span"] { + display: table-cell; + float: none; + margin-left: 0; +} + +.table td.span1, +.table th.span1 { + float: none; + width: 44px; + margin-left: 0; +} + +.table td.span2, +.table th.span2 { + float: none; + width: 124px; + margin-left: 0; +} + +.table td.span3, +.table th.span3 { + float: none; + width: 204px; + margin-left: 0; +} + +.table td.span4, +.table th.span4 { + float: none; + width: 284px; + margin-left: 0; +} + +.table td.span5, +.table th.span5 { + float: none; + width: 364px; + margin-left: 0; +} + +.table td.span6, +.table th.span6 { + float: none; + width: 444px; + margin-left: 0; +} + +.table td.span7, +.table th.span7 { + float: none; + width: 524px; + margin-left: 0; +} + +.table td.span8, +.table th.span8 { + float: none; + width: 604px; + margin-left: 0; +} + +.table td.span9, +.table th.span9 { + float: none; + width: 684px; + margin-left: 0; +} + +.table td.span10, +.table th.span10 { + float: none; + width: 764px; + margin-left: 0; +} + +.table td.span11, +.table th.span11 { + float: none; + width: 844px; + margin-left: 0; +} + +.table td.span12, +.table th.span12 { + float: none; + width: 924px; + margin-left: 0; +} + +.table tbody tr.success > td { + background-color: #dff0d8; +} + +.table tbody tr.error > td { + background-color: #f2dede; +} + +.table tbody tr.warning > td { + background-color: #fcf8e3; +} + +.table tbody tr.info > td { + background-color: #d9edf7; +} + +.table-hover tbody tr.success:hover > td { + background-color: #d0e9c6; +} + +.table-hover tbody tr.error:hover > td { + background-color: #ebcccc; +} + +.table-hover tbody tr.warning:hover > td { + background-color: #faf2cc; +} + +.table-hover tbody tr.info:hover > td { + background-color: #c4e3f3; +} + +[class^="icon-"], +[class*=" icon-"] { + display: inline-block; + width: 14px; + height: 14px; + margin-top: 1px; + *margin-right: .3em; + line-height: 14px; + vertical-align: text-top; + background-image: url("../img/glyphicons-halflings.png"); + background-position: 14px 14px; + background-repeat: no-repeat; +} + +/* White icons with optional class, or on hover/focus/active states of certain elements */ + +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:focus > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > li > a:focus > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:focus > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"], +.dropdown-submenu:focus > a > [class*=" icon-"] { + background-image: url("../img/glyphicons-halflings-white.png"); +} + +.icon-glass { + background-position: 0 0; +} + +.icon-music { + background-position: -24px 0; +} + +.icon-search { + background-position: -48px 0; +} + +.icon-envelope { + background-position: -72px 0; +} + +.icon-heart { + background-position: -96px 0; +} + +.icon-star { + background-position: -120px 0; +} + +.icon-star-empty { + background-position: -144px 0; +} + +.icon-user { + background-position: -168px 0; +} + +.icon-film { + background-position: -192px 0; +} + +.icon-th-large { + background-position: -216px 0; +} + +.icon-th { + background-position: -240px 0; +} + +.icon-th-list { + background-position: -264px 0; +} + +.icon-ok { + background-position: -288px 0; +} + +.icon-remove { + background-position: -312px 0; +} + +.icon-zoom-in { + background-position: -336px 0; +} + +.icon-zoom-out { + background-position: -360px 0; +} + +.icon-off { + background-position: -384px 0; +} + +.icon-signal { + background-position: -408px 0; +} + +.icon-cog { + background-position: -432px 0; +} + +.icon-trash { + background-position: -456px 0; +} + +.icon-home { + background-position: 0 -24px; +} + +.icon-file { + background-position: -24px -24px; +} + +.icon-time { + background-position: -48px -24px; +} + +.icon-road { + background-position: -72px -24px; +} + +.icon-download-alt { + background-position: -96px -24px; +} + +.icon-download { + background-position: -120px -24px; +} + +.icon-upload { + background-position: -144px -24px; +} + +.icon-inbox { + background-position: -168px -24px; +} + +.icon-play-circle { + background-position: -192px -24px; +} + +.icon-repeat { + background-position: -216px -24px; +} + +.icon-refresh { + background-position: -240px -24px; +} + +.icon-list-alt { + background-position: -264px -24px; +} + +.icon-lock { + background-position: -287px -24px; +} + +.icon-flag { + background-position: -312px -24px; +} + +.icon-headphones { + background-position: -336px -24px; +} + +.icon-volume-off { + background-position: -360px -24px; +} + +.icon-volume-down { + background-position: -384px -24px; +} + +.icon-volume-up { + background-position: -408px -24px; +} + +.icon-qrcode { + background-position: -432px -24px; +} + +.icon-barcode { + background-position: -456px -24px; +} + +.icon-tag { + background-position: 0 -48px; +} + +.icon-tags { + background-position: -25px -48px; +} + +.icon-book { + background-position: -48px -48px; +} + +.icon-bookmark { + background-position: -72px -48px; +} + +.icon-print { + background-position: -96px -48px; +} + +.icon-camera { + background-position: -120px -48px; +} + +.icon-font { + background-position: -144px -48px; +} + +.icon-bold { + background-position: -167px -48px; +} + +.icon-italic { + background-position: -192px -48px; +} + +.icon-text-height { + background-position: -216px -48px; +} + +.icon-text-width { + background-position: -240px -48px; +} + +.icon-align-left { + background-position: -264px -48px; +} + +.icon-align-center { + background-position: -288px -48px; +} + +.icon-align-right { + background-position: -312px -48px; +} + +.icon-align-justify { + background-position: -336px -48px; +} + +.icon-list { + background-position: -360px -48px; +} + +.icon-indent-left { + background-position: -384px -48px; +} + +.icon-indent-right { + background-position: -408px -48px; +} + +.icon-facetime-video { + background-position: -432px -48px; +} + +.icon-picture { + background-position: -456px -48px; +} + +.icon-pencil { + background-position: 0 -72px; +} + +.icon-map-marker { + background-position: -24px -72px; +} + +.icon-adjust { + background-position: -48px -72px; +} + +.icon-tint { + background-position: -72px -72px; +} + +.icon-edit { + background-position: -96px -72px; +} + +.icon-share { + background-position: -120px -72px; +} + +.icon-check { + background-position: -144px -72px; +} + +.icon-move { + background-position: -168px -72px; +} + +.icon-step-backward { + background-position: -192px -72px; +} + +.icon-fast-backward { + background-position: -216px -72px; +} + +.icon-backward { + background-position: -240px -72px; +} + +.icon-play { + background-position: -264px -72px; +} + +.icon-pause { + background-position: -288px -72px; +} + +.icon-stop { + background-position: -312px -72px; +} + +.icon-forward { + background-position: -336px -72px; +} + +.icon-fast-forward { + background-position: -360px -72px; +} + +.icon-step-forward { + background-position: -384px -72px; +} + +.icon-eject { + background-position: -408px -72px; +} + +.icon-chevron-left { + background-position: -432px -72px; +} + +.icon-chevron-right { + background-position: -456px -72px; +} + +.icon-plus-sign { + background-position: 0 -96px; +} + +.icon-minus-sign { + background-position: -24px -96px; +} + +.icon-remove-sign { + background-position: -48px -96px; +} + +.icon-ok-sign { + background-position: -72px -96px; +} + +.icon-question-sign { + background-position: -96px -96px; +} + +.icon-info-sign { + background-position: -120px -96px; +} + +.icon-screenshot { + background-position: -144px -96px; +} + +.icon-remove-circle { + background-position: -168px -96px; +} + +.icon-ok-circle { + background-position: -192px -96px; +} + +.icon-ban-circle { + background-position: -216px -96px; +} + +.icon-arrow-left { + background-position: -240px -96px; +} + +.icon-arrow-right { + background-position: -264px -96px; +} + +.icon-arrow-up { + background-position: -289px -96px; +} + +.icon-arrow-down { + background-position: -312px -96px; +} + +.icon-share-alt { + background-position: -336px -96px; +} + +.icon-resize-full { + background-position: -360px -96px; +} + +.icon-resize-small { + background-position: -384px -96px; +} + +.icon-plus { + background-position: -408px -96px; +} + +.icon-minus { + background-position: -433px -96px; +} + +.icon-asterisk { + background-position: -456px -96px; +} + +.icon-exclamation-sign { + background-position: 0 -120px; +} + +.icon-gift { + background-position: -24px -120px; +} + +.icon-leaf { + background-position: -48px -120px; +} + +.icon-fire { + background-position: -72px -120px; +} + +.icon-eye-open { + background-position: -96px -120px; +} + +.icon-eye-close { + background-position: -120px -120px; +} + +.icon-warning-sign { + background-position: -144px -120px; +} + +.icon-plane { + background-position: -168px -120px; +} + +.icon-calendar { + background-position: -192px -120px; +} + +.icon-random { + width: 16px; + background-position: -216px -120px; +} + +.icon-comment { + background-position: -240px -120px; +} + +.icon-magnet { + background-position: -264px -120px; +} + +.icon-chevron-up { + background-position: -288px -120px; +} + +.icon-chevron-down { + background-position: -313px -119px; +} + +.icon-retweet { + background-position: -336px -120px; +} + +.icon-shopping-cart { + background-position: -360px -120px; +} + +.icon-folder-close { + width: 16px; + background-position: -384px -120px; +} + +.icon-folder-open { + width: 16px; + background-position: -408px -120px; +} + +.icon-resize-vertical { + background-position: -432px -119px; +} + +.icon-resize-horizontal { + background-position: -456px -118px; +} + +.icon-hdd { + background-position: 0 -144px; +} + +.icon-bullhorn { + background-position: -24px -144px; +} + +.icon-bell { + background-position: -48px -144px; +} + +.icon-certificate { + background-position: -72px -144px; +} + +.icon-thumbs-up { + background-position: -96px -144px; +} + +.icon-thumbs-down { + background-position: -120px -144px; +} + +.icon-hand-right { + background-position: -144px -144px; +} + +.icon-hand-left { + background-position: -168px -144px; +} + +.icon-hand-up { + background-position: -192px -144px; +} + +.icon-hand-down { + background-position: -216px -144px; +} + +.icon-circle-arrow-right { + background-position: -240px -144px; +} + +.icon-circle-arrow-left { + background-position: -264px -144px; +} + +.icon-circle-arrow-up { + background-position: -288px -144px; +} + +.icon-circle-arrow-down { + background-position: -312px -144px; +} + +.icon-globe { + background-position: -336px -144px; +} + +.icon-wrench { + background-position: -360px -144px; +} + +.icon-tasks { + background-position: -384px -144px; +} + +.icon-filter { + background-position: -408px -144px; +} + +.icon-briefcase { + background-position: -432px -144px; +} + +.icon-fullscreen { + background-position: -456px -144px; +} + +.dropup, +.dropdown { + position: relative; +} + +.dropdown-toggle { + *margin-bottom: -3px; +} + +.dropdown-toggle:active, +.open .dropdown-toggle { + outline: 0; +} + +.caret { + display: inline-block; + width: 0; + height: 0; + vertical-align: top; + border-top: 4px solid #000000; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + content: ""; +} + +.dropdown .caret { + margin-top: 8px; + margin-left: 2px; +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + *border-right-width: 2px; + *border-bottom-width: 2px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} + +.dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.dropdown-menu .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 20px; + color: #333333; + white-space: nowrap; +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus, +.dropdown-submenu:hover > a, +.dropdown-submenu:focus > a { + color: #ffffff; + text-decoration: none; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} + +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #ffffff; + text-decoration: none; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + outline: 0; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); +} + +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #999999; +} + +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + cursor: default; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.open { + *z-index: 1000; +} + +.open > .dropdown-menu { + display: block; +} + +.dropdown-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 990; +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} + +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid #000000; + content: ""; +} + +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px; +} + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu > .dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + -webkit-border-radius: 0 6px 6px 6px; + -moz-border-radius: 0 6px 6px 6px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover > .dropdown-menu { + display: block; +} + +.dropup .dropdown-submenu > .dropdown-menu { + top: auto; + bottom: 0; + margin-top: 0; + margin-bottom: -2px; + -webkit-border-radius: 5px 5px 5px 0; + -moz-border-radius: 5px 5px 5px 0; + border-radius: 5px 5px 5px 0; +} + +.dropdown-submenu > a:after { + display: block; + float: right; + width: 0; + height: 0; + margin-top: 5px; + margin-right: -10px; + border-color: transparent; + border-left-color: #cccccc; + border-style: solid; + border-width: 5px 0 5px 5px; + content: " "; +} + +.dropdown-submenu:hover > a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left > .dropdown-menu { + left: -100%; + margin-left: 10px; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + +.dropdown .dropdown-menu .nav-header { + padding-right: 20px; + padding-left: 20px; +} + +.typeahead { + z-index: 1051; + margin-top: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e3e3e3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); +} + +.well blockquote { + border-color: #ddd; + border-color: rgba(0, 0, 0, 0.15); +} + +.well-large { + padding: 24px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.well-small { + padding: 9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + -moz-transition: opacity 0.15s linear; + -o-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} + +.fade.in { + opacity: 1; +} + +.collapse { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition: height 0.35s ease; + -moz-transition: height 0.35s ease; + -o-transition: height 0.35s ease; + transition: height 0.35s ease; +} + +.collapse.in { + height: auto; +} + +.close { + float: right; + font-size: 20px; + font-weight: bold; + line-height: 20px; + color: #000000; + text-shadow: 0 1px 0 #ffffff; + opacity: 0.2; + filter: alpha(opacity=20); +} + +.close:hover, +.close:focus { + color: #000000; + text-decoration: none; + cursor: pointer; + opacity: 0.4; + filter: alpha(opacity=40); +} + +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} + +.btn { + display: inline-block; + *display: inline; + padding: 4px 12px; + margin-bottom: 0; + *margin-left: .3em; + font-size: 14px; + line-height: 20px; + color: #333333; + text-align: center; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); + vertical-align: middle; + cursor: pointer; + background-color: #f5f5f5; + *background-color: #e6e6e6; + background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); + background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); + background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); + background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); + background-repeat: repeat-x; + border: 1px solid #cccccc; + *border: 0; + border-color: #e6e6e6 #e6e6e6 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + border-bottom-color: #b3b3b3; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn:hover, +.btn:focus, +.btn:active, +.btn.active, +.btn.disabled, +.btn[disabled] { + color: #333333; + background-color: #e6e6e6; + *background-color: #d9d9d9; +} + +.btn:active, +.btn.active { + background-color: #cccccc \9; +} + +.btn:first-child { + *margin-left: 0; +} + +.btn:hover, +.btn:focus { + color: #333333; + text-decoration: none; + background-position: 0 -15px; + -webkit-transition: background-position 0.1s linear; + -moz-transition: background-position 0.1s linear; + -o-transition: background-position 0.1s linear; + transition: background-position 0.1s linear; +} + +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} + +.btn.active, +.btn:active { + background-image: none; + outline: 0; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn.disabled, +.btn[disabled] { + cursor: default; + background-image: none; + opacity: 0.65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.btn-large { + padding: 11px 19px; + font-size: 17.5px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.btn-large [class^="icon-"], +.btn-large [class*=" icon-"] { + margin-top: 4px; +} + +.btn-small { + padding: 2px 10px; + font-size: 11.9px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.btn-small [class^="icon-"], +.btn-small [class*=" icon-"] { + margin-top: 0; +} + +.btn-mini [class^="icon-"], +.btn-mini [class*=" icon-"] { + margin-top: -1px; +} + +.btn-mini { + padding: 0 6px; + font-size: 10.5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.btn-block { + display: block; + width: 100%; + padding-right: 0; + padding-left: 0; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.btn-block + .btn-block { + margin-top: 5px; +} + +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} + +.btn-primary.active, +.btn-warning.active, +.btn-danger.active, +.btn-success.active, +.btn-info.active, +.btn-inverse.active { + color: rgba(255, 255, 255, 0.75); +} + +.btn-primary { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #006dcc; + *background-color: #0044cc; + background-image: -moz-linear-gradient(top, #0088cc, #0044cc); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); + background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); + background-image: -o-linear-gradient(top, #0088cc, #0044cc); + background-image: linear-gradient(to bottom, #0088cc, #0044cc); + background-repeat: repeat-x; + border-color: #0044cc #0044cc #002a80; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-primary:hover, +.btn-primary:focus, +.btn-primary:active, +.btn-primary.active, +.btn-primary.disabled, +.btn-primary[disabled] { + color: #ffffff; + background-color: #0044cc; + *background-color: #003bb3; +} + +.btn-primary:active, +.btn-primary.active { + background-color: #003399 \9; +} + +.btn-warning { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #faa732; + *background-color: #f89406; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + border-color: #f89406 #f89406 #ad6704; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-warning:hover, +.btn-warning:focus, +.btn-warning:active, +.btn-warning.active, +.btn-warning.disabled, +.btn-warning[disabled] { + color: #ffffff; + background-color: #f89406; + *background-color: #df8505; +} + +.btn-warning:active, +.btn-warning.active { + background-color: #c67605 \9; +} + +.btn-danger { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #da4f49; + *background-color: #bd362f; + background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); + background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); + background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); + background-repeat: repeat-x; + border-color: #bd362f #bd362f #802420; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-danger:hover, +.btn-danger:focus, +.btn-danger:active, +.btn-danger.active, +.btn-danger.disabled, +.btn-danger[disabled] { + color: #ffffff; + background-color: #bd362f; + *background-color: #a9302a; +} + +.btn-danger:active, +.btn-danger.active { + background-color: #942a25 \9; +} + +.btn-success { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #5bb75b; + *background-color: #51a351; + background-image: -moz-linear-gradient(top, #62c462, #51a351); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); + background-image: -webkit-linear-gradient(top, #62c462, #51a351); + background-image: -o-linear-gradient(top, #62c462, #51a351); + background-image: linear-gradient(to bottom, #62c462, #51a351); + background-repeat: repeat-x; + border-color: #51a351 #51a351 #387038; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-success:hover, +.btn-success:focus, +.btn-success:active, +.btn-success.active, +.btn-success.disabled, +.btn-success[disabled] { + color: #ffffff; + background-color: #51a351; + *background-color: #499249; +} + +.btn-success:active, +.btn-success.active { + background-color: #408140 \9; +} + +.btn-info { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #49afcd; + *background-color: #2f96b4; + background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); + background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); + background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); + background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); + background-repeat: repeat-x; + border-color: #2f96b4 #2f96b4 #1f6377; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-info:hover, +.btn-info:focus, +.btn-info:active, +.btn-info.active, +.btn-info.disabled, +.btn-info[disabled] { + color: #ffffff; + background-color: #2f96b4; + *background-color: #2a85a0; +} + +.btn-info:active, +.btn-info.active { + background-color: #24748c \9; +} + +.btn-inverse { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #363636; + *background-color: #222222; + background-image: -moz-linear-gradient(top, #444444, #222222); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222)); + background-image: -webkit-linear-gradient(top, #444444, #222222); + background-image: -o-linear-gradient(top, #444444, #222222); + background-image: linear-gradient(to bottom, #444444, #222222); + background-repeat: repeat-x; + border-color: #222222 #222222 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.btn-inverse:hover, +.btn-inverse:focus, +.btn-inverse:active, +.btn-inverse.active, +.btn-inverse.disabled, +.btn-inverse[disabled] { + color: #ffffff; + background-color: #222222; + *background-color: #151515; +} + +.btn-inverse:active, +.btn-inverse.active { + background-color: #080808 \9; +} + +button.btn, +input[type="submit"].btn { + *padding-top: 3px; + *padding-bottom: 3px; +} + +button.btn::-moz-focus-inner, +input[type="submit"].btn::-moz-focus-inner { + padding: 0; + border: 0; +} + +button.btn.btn-large, +input[type="submit"].btn.btn-large { + *padding-top: 7px; + *padding-bottom: 7px; +} + +button.btn.btn-small, +input[type="submit"].btn.btn-small { + *padding-top: 3px; + *padding-bottom: 3px; +} + +button.btn.btn-mini, +input[type="submit"].btn.btn-mini { + *padding-top: 1px; + *padding-bottom: 1px; +} + +.btn-link, +.btn-link:active, +.btn-link[disabled] { + background-color: transparent; + background-image: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.btn-link { + color: #0088cc; + cursor: pointer; + border-color: transparent; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-link:hover, +.btn-link:focus { + color: #005580; + text-decoration: underline; + background-color: transparent; +} + +.btn-link[disabled]:hover, +.btn-link[disabled]:focus { + color: #333333; + text-decoration: none; +} + +.btn-group { + position: relative; + display: inline-block; + *display: inline; + *margin-left: .3em; + font-size: 0; + white-space: nowrap; + vertical-align: middle; + *zoom: 1; +} + +.btn-group:first-child { + *margin-left: 0; +} + +.btn-group + .btn-group { + margin-left: 5px; +} + +.btn-toolbar { + margin-top: 10px; + margin-bottom: 10px; + font-size: 0; +} + +.btn-toolbar > .btn + .btn, +.btn-toolbar > .btn-group + .btn, +.btn-toolbar > .btn + .btn-group { + margin-left: 5px; +} + +.btn-group > .btn { + position: relative; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group > .btn + .btn { + margin-left: -1px; +} + +.btn-group > .btn, +.btn-group > .dropdown-menu, +.btn-group > .popover { + font-size: 14px; +} + +.btn-group > .btn-mini { + font-size: 10.5px; +} + +.btn-group > .btn-small { + font-size: 11.9px; +} + +.btn-group > .btn-large { + font-size: 17.5px; +} + +.btn-group > .btn:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; +} + +.btn-group > .btn:last-child, +.btn-group > .dropdown-toggle { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; +} + +.btn-group > .btn.large:first-child { + margin-left: 0; + -webkit-border-bottom-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-border-top-left-radius: 6px; + border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -moz-border-radius-topleft: 6px; +} + +.btn-group > .btn.large:last-child, +.btn-group > .large.dropdown-toggle { + -webkit-border-top-right-radius: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + border-bottom-right-radius: 6px; + -moz-border-radius-topright: 6px; + -moz-border-radius-bottomright: 6px; +} + +.btn-group > .btn:hover, +.btn-group > .btn:focus, +.btn-group > .btn:active, +.btn-group > .btn.active { + z-index: 2; +} + +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + +.btn-group > .btn + .dropdown-toggle { + *padding-top: 5px; + padding-right: 8px; + *padding-bottom: 5px; + padding-left: 8px; + -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group > .btn-mini + .dropdown-toggle { + *padding-top: 2px; + padding-right: 5px; + *padding-bottom: 2px; + padding-left: 5px; +} + +.btn-group > .btn-small + .dropdown-toggle { + *padding-top: 5px; + *padding-bottom: 4px; +} + +.btn-group > .btn-large + .dropdown-toggle { + *padding-top: 7px; + padding-right: 12px; + *padding-bottom: 7px; + padding-left: 12px; +} + +.btn-group.open .dropdown-toggle { + background-image: none; + -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.btn-group.open .btn.dropdown-toggle { + background-color: #e6e6e6; +} + +.btn-group.open .btn-primary.dropdown-toggle { + background-color: #0044cc; +} + +.btn-group.open .btn-warning.dropdown-toggle { + background-color: #f89406; +} + +.btn-group.open .btn-danger.dropdown-toggle { + background-color: #bd362f; +} + +.btn-group.open .btn-success.dropdown-toggle { + background-color: #51a351; +} + +.btn-group.open .btn-info.dropdown-toggle { + background-color: #2f96b4; +} + +.btn-group.open .btn-inverse.dropdown-toggle { + background-color: #222222; +} + +.btn .caret { + margin-top: 8px; + margin-left: 0; +} + +.btn-large .caret { + margin-top: 6px; +} + +.btn-large .caret { + border-top-width: 5px; + border-right-width: 5px; + border-left-width: 5px; +} + +.btn-mini .caret, +.btn-small .caret { + margin-top: 8px; +} + +.dropup .btn-large .caret { + border-bottom-width: 5px; +} + +.btn-primary .caret, +.btn-warning .caret, +.btn-danger .caret, +.btn-info .caret, +.btn-success .caret, +.btn-inverse .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.btn-group-vertical { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; +} + +.btn-group-vertical > .btn { + display: block; + float: none; + max-width: 100%; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.btn-group-vertical > .btn + .btn { + margin-top: -1px; + margin-left: 0; +} + +.btn-group-vertical > .btn:first-child { + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.btn-group-vertical > .btn:last-child { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.btn-group-vertical > .btn-large:first-child { + -webkit-border-radius: 6px 6px 0 0; + -moz-border-radius: 6px 6px 0 0; + border-radius: 6px 6px 0 0; +} + +.btn-group-vertical > .btn-large:last-child { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} + +.alert { + padding: 8px 35px 8px 14px; + margin-bottom: 20px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + background-color: #fcf8e3; + border: 1px solid #fbeed5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.alert, +.alert h4 { + color: #c09853; +} + +.alert h4 { + margin: 0; +} + +.alert .close { + position: relative; + top: -2px; + right: -21px; + line-height: 20px; +} + +.alert-success { + color: #468847; + background-color: #dff0d8; + border-color: #d6e9c6; +} + +.alert-success h4 { + color: #468847; +} + +.alert-danger, +.alert-error { + color: #b94a48; + background-color: #f2dede; + border-color: #eed3d7; +} + +.alert-danger h4, +.alert-error h4 { + color: #b94a48; +} + +.alert-info { + color: #3a87ad; + background-color: #d9edf7; + border-color: #bce8f1; +} + +.alert-info h4 { + color: #3a87ad; +} + +.alert-block { + padding-top: 14px; + padding-bottom: 14px; +} + +.alert-block > p, +.alert-block > ul { + margin-bottom: 0; +} + +.alert-block p + p { + margin-top: 5px; +} + +.nav { + margin-bottom: 20px; + margin-left: 0; + list-style: none; +} + +.nav > li > a { + display: block; +} + +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #eeeeee; +} + +.nav > li > a > img { + max-width: none; +} + +.nav > .pull-right { + float: right; +} + +.nav-header { + display: block; + padding: 3px 15px; + font-size: 11px; + font-weight: bold; + line-height: 20px; + color: #999999; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + text-transform: uppercase; +} + +.nav li + .nav-header { + margin-top: 9px; +} + +.nav-list { + padding-right: 15px; + padding-left: 15px; + margin-bottom: 0; +} + +.nav-list > li > a, +.nav-list .nav-header { + margin-right: -15px; + margin-left: -15px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); +} + +.nav-list > li > a { + padding: 3px 15px; +} + +.nav-list > .active > a, +.nav-list > .active > a:hover, +.nav-list > .active > a:focus { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); + background-color: #0088cc; +} + +.nav-list [class^="icon-"], +.nav-list [class*=" icon-"] { + margin-right: 2px; +} + +.nav-list .divider { + *width: 100%; + height: 1px; + margin: 9px 1px; + *margin: -5px 0 5px; + overflow: hidden; + background-color: #e5e5e5; + border-bottom: 1px solid #ffffff; +} + +.nav-tabs, +.nav-pills { + *zoom: 1; +} + +.nav-tabs:before, +.nav-pills:before, +.nav-tabs:after, +.nav-pills:after { + display: table; + line-height: 0; + content: ""; +} + +.nav-tabs:after, +.nav-pills:after { + clear: both; +} + +.nav-tabs > li, +.nav-pills > li { + float: left; +} + +.nav-tabs > li > a, +.nav-pills > li > a { + padding-right: 12px; + padding-left: 12px; + margin-right: 2px; + line-height: 14px; +} + +.nav-tabs { + border-bottom: 1px solid #ddd; +} + +.nav-tabs > li { + margin-bottom: -1px; +} + +.nav-tabs > li > a { + padding-top: 8px; + padding-bottom: 8px; + line-height: 20px; + border: 1px solid transparent; + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; +} + +.nav-tabs > li > a:hover, +.nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #dddddd; +} + +.nav-tabs > .active > a, +.nav-tabs > .active > a:hover, +.nav-tabs > .active > a:focus { + color: #555555; + cursor: default; + background-color: #ffffff; + border: 1px solid #ddd; + border-bottom-color: transparent; +} + +.nav-pills > li > a { + padding-top: 8px; + padding-bottom: 8px; + margin-top: 2px; + margin-bottom: 2px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.nav-pills > .active > a, +.nav-pills > .active > a:hover, +.nav-pills > .active > a:focus { + color: #ffffff; + background-color: #0088cc; +} + +.nav-stacked > li { + float: none; +} + +.nav-stacked > li > a { + margin-right: 0; +} + +.nav-tabs.nav-stacked { + border-bottom: 0; +} + +.nav-tabs.nav-stacked > li > a { + border: 1px solid #ddd; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.nav-tabs.nav-stacked > li:first-child > a { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; +} + +.nav-tabs.nav-stacked > li:last-child > a { + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -moz-border-radius-bottomright: 4px; + -moz-border-radius-bottomleft: 4px; +} + +.nav-tabs.nav-stacked > li > a:hover, +.nav-tabs.nav-stacked > li > a:focus { + z-index: 2; + border-color: #ddd; +} + +.nav-pills.nav-stacked > li > a { + margin-bottom: 3px; +} + +.nav-pills.nav-stacked > li:last-child > a { + margin-bottom: 1px; +} + +.nav-tabs .dropdown-menu { + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; +} + +.nav-pills .dropdown-menu { + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.nav .dropdown-toggle .caret { + margin-top: 6px; + border-top-color: #0088cc; + border-bottom-color: #0088cc; +} + +.nav .dropdown-toggle:hover .caret, +.nav .dropdown-toggle:focus .caret { + border-top-color: #005580; + border-bottom-color: #005580; +} + +/* move down carets for tabs */ + +.nav-tabs .dropdown-toggle .caret { + margin-top: 8px; +} + +.nav .active .dropdown-toggle .caret { + border-top-color: #fff; + border-bottom-color: #fff; +} + +.nav-tabs .active .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} + +.nav > .dropdown.active > a:hover, +.nav > .dropdown.active > a:focus { + cursor: pointer; +} + +.nav-tabs .open .dropdown-toggle, +.nav-pills .open .dropdown-toggle, +.nav > li.dropdown.open.active > a:hover, +.nav > li.dropdown.open.active > a:focus { + color: #ffffff; + background-color: #999999; + border-color: #999999; +} + +.nav li.dropdown.open .caret, +.nav li.dropdown.open.active .caret, +.nav li.dropdown.open a:hover .caret, +.nav li.dropdown.open a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; + opacity: 1; + filter: alpha(opacity=100); +} + +.tabs-stacked .open > a:hover, +.tabs-stacked .open > a:focus { + border-color: #999999; +} + +.tabbable { + *zoom: 1; +} + +.tabbable:before, +.tabbable:after { + display: table; + line-height: 0; + content: ""; +} + +.tabbable:after { + clear: both; +} + +.tab-content { + overflow: auto; +} + +.tabs-below > .nav-tabs, +.tabs-right > .nav-tabs, +.tabs-left > .nav-tabs { + border-bottom: 0; +} + +.tab-content > .tab-pane, +.pill-content > .pill-pane { + display: none; +} + +.tab-content > .active, +.pill-content > .active { + display: block; +} + +.tabs-below > .nav-tabs { + border-top: 1px solid #ddd; +} + +.tabs-below > .nav-tabs > li { + margin-top: -1px; + margin-bottom: 0; +} + +.tabs-below > .nav-tabs > li > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.tabs-below > .nav-tabs > li > a:hover, +.tabs-below > .nav-tabs > li > a:focus { + border-top-color: #ddd; + border-bottom-color: transparent; +} + +.tabs-below > .nav-tabs > .active > a, +.tabs-below > .nav-tabs > .active > a:hover, +.tabs-below > .nav-tabs > .active > a:focus { + border-color: transparent #ddd #ddd #ddd; +} + +.tabs-left > .nav-tabs > li, +.tabs-right > .nav-tabs > li { + float: none; +} + +.tabs-left > .nav-tabs > li > a, +.tabs-right > .nav-tabs > li > a { + min-width: 74px; + margin-right: 0; + margin-bottom: 3px; +} + +.tabs-left > .nav-tabs { + float: left; + margin-right: 19px; + border-right: 1px solid #ddd; +} + +.tabs-left > .nav-tabs > li > a { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.tabs-left > .nav-tabs > li > a:hover, +.tabs-left > .nav-tabs > li > a:focus { + border-color: #eeeeee #dddddd #eeeeee #eeeeee; +} + +.tabs-left > .nav-tabs .active > a, +.tabs-left > .nav-tabs .active > a:hover, +.tabs-left > .nav-tabs .active > a:focus { + border-color: #ddd transparent #ddd #ddd; + *border-right-color: #ffffff; +} + +.tabs-right > .nav-tabs { + float: right; + margin-left: 19px; + border-left: 1px solid #ddd; +} + +.tabs-right > .nav-tabs > li > a { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.tabs-right > .nav-tabs > li > a:hover, +.tabs-right > .nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #eeeeee #dddddd; +} + +.tabs-right > .nav-tabs .active > a, +.tabs-right > .nav-tabs .active > a:hover, +.tabs-right > .nav-tabs .active > a:focus { + border-color: #ddd #ddd #ddd transparent; + *border-left-color: #ffffff; +} + +.nav > .disabled > a { + color: #999999; +} + +.nav > .disabled > a:hover, +.nav > .disabled > a:focus { + text-decoration: none; + cursor: default; + background-color: transparent; +} + +.navbar { + *position: relative; + *z-index: 2; + margin-bottom: 20px; + overflow: visible; +} + +.navbar-inner { + min-height: 40px; + padding-right: 20px; + padding-left: 20px; + background-color: #fafafa; + background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2)); + background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2); + background-image: -o-linear-gradient(top, #ffffff, #f2f2f2); + background-image: linear-gradient(to bottom, #ffffff, #f2f2f2); + background-repeat: repeat-x; + border: 1px solid #d4d4d4; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0); + *zoom: 1; + -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); +} + +.navbar-inner:before, +.navbar-inner:after { + display: table; + line-height: 0; + content: ""; +} + +.navbar-inner:after { + clear: both; +} + +.navbar .container { + width: auto; +} + +.nav-collapse.collapse { + height: auto; + overflow: visible; +} + +.navbar .brand { + display: block; + float: left; + padding: 10px 20px 10px; + margin-left: -20px; + font-size: 20px; + font-weight: 200; + color: #777777; + text-shadow: 0 1px 0 #ffffff; +} + +.navbar .brand:hover, +.navbar .brand:focus { + text-decoration: none; +} + +.navbar-text { + margin-bottom: 0; + line-height: 40px; + color: #777777; +} + +.navbar-link { + color: #777777; +} + +.navbar-link:hover, +.navbar-link:focus { + color: #333333; +} + +.navbar .divider-vertical { + height: 40px; + margin: 0 9px; + border-right: 1px solid #ffffff; + border-left: 1px solid #f2f2f2; +} + +.navbar .btn, +.navbar .btn-group { + margin-top: 5px; +} + +.navbar .btn-group .btn, +.navbar .input-prepend .btn, +.navbar .input-append .btn, +.navbar .input-prepend .btn-group, +.navbar .input-append .btn-group { + margin-top: 0; +} + +.navbar-form { + margin-bottom: 0; + *zoom: 1; +} + +.navbar-form:before, +.navbar-form:after { + display: table; + line-height: 0; + content: ""; +} + +.navbar-form:after { + clear: both; +} + +.navbar-form input, +.navbar-form select, +.navbar-form .radio, +.navbar-form .checkbox { + margin-top: 5px; +} + +.navbar-form input, +.navbar-form select, +.navbar-form .btn { + display: inline-block; + margin-bottom: 0; +} + +.navbar-form input[type="image"], +.navbar-form input[type="checkbox"], +.navbar-form input[type="radio"] { + margin-top: 3px; +} + +.navbar-form .input-append, +.navbar-form .input-prepend { + margin-top: 5px; + white-space: nowrap; +} + +.navbar-form .input-append input, +.navbar-form .input-prepend input { + margin-top: 0; +} + +.navbar-search { + position: relative; + float: left; + margin-top: 5px; + margin-bottom: 0; +} + +.navbar-search .search-query { + padding: 4px 14px; + margin-bottom: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 13px; + font-weight: normal; + line-height: 1; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.navbar-static-top { + position: static; + margin-bottom: 0; +} + +.navbar-static-top .navbar-inner { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; + margin-bottom: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + border-width: 0 0 1px; +} + +.navbar-fixed-bottom .navbar-inner { + border-width: 1px 0 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-fixed-bottom .navbar-inner { + padding-right: 0; + padding-left: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.navbar-static-top .container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width: 940px; +} + +.navbar-fixed-top { + top: 0; +} + +.navbar-fixed-top .navbar-inner, +.navbar-static-top .navbar-inner { + -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); +} + +.navbar-fixed-bottom { + bottom: 0; +} + +.navbar-fixed-bottom .navbar-inner { + -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); + box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1); +} + +.navbar .nav { + position: relative; + left: 0; + display: block; + float: left; + margin: 0 10px 0 0; +} + +.navbar .nav.pull-right { + float: right; + margin-right: 0; +} + +.navbar .nav > li { + float: left; +} + +.navbar .nav > li > a { + float: none; + padding: 10px 15px 10px; + color: #777777; + text-decoration: none; + text-shadow: 0 1px 0 #ffffff; +} + +.navbar .nav .dropdown-toggle .caret { + margin-top: 8px; +} + +.navbar .nav > li > a:focus, +.navbar .nav > li > a:hover { + color: #333333; + text-decoration: none; + background-color: transparent; +} + +.navbar .nav > .active > a, +.navbar .nav > .active > a:hover, +.navbar .nav > .active > a:focus { + color: #555555; + text-decoration: none; + background-color: #e5e5e5; + -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); +} + +.navbar .btn-navbar { + display: none; + float: right; + padding: 7px 10px; + margin-right: 5px; + margin-left: 5px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #ededed; + *background-color: #e5e5e5; + background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5)); + background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5); + background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5); + background-repeat: repeat-x; + border-color: #e5e5e5 #e5e5e5 #bfbfbf; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); +} + +.navbar .btn-navbar:hover, +.navbar .btn-navbar:focus, +.navbar .btn-navbar:active, +.navbar .btn-navbar.active, +.navbar .btn-navbar.disabled, +.navbar .btn-navbar[disabled] { + color: #ffffff; + background-color: #e5e5e5; + *background-color: #d9d9d9; +} + +.navbar .btn-navbar:active, +.navbar .btn-navbar.active { + background-color: #cccccc \9; +} + +.navbar .btn-navbar .icon-bar { + display: block; + width: 18px; + height: 2px; + background-color: #f5f5f5; + -webkit-border-radius: 1px; + -moz-border-radius: 1px; + border-radius: 1px; + -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); + box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); +} + +.btn-navbar .icon-bar + .icon-bar { + margin-top: 3px; +} + +.navbar .nav > li > .dropdown-menu:before { + position: absolute; + top: -7px; + left: 9px; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.navbar .nav > li > .dropdown-menu:after { + position: absolute; + top: -6px; + left: 10px; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #ffffff; + border-left: 6px solid transparent; + content: ''; +} + +.navbar-fixed-bottom .nav > li > .dropdown-menu:before { + top: auto; + bottom: -7px; + border-top: 7px solid #ccc; + border-bottom: 0; + border-top-color: rgba(0, 0, 0, 0.2); +} + +.navbar-fixed-bottom .nav > li > .dropdown-menu:after { + top: auto; + bottom: -6px; + border-top: 6px solid #ffffff; + border-bottom: 0; +} + +.navbar .nav li.dropdown > a:hover .caret, +.navbar .nav li.dropdown > a:focus .caret { + border-top-color: #333333; + border-bottom-color: #333333; +} + +.navbar .nav li.dropdown.open > .dropdown-toggle, +.navbar .nav li.dropdown.active > .dropdown-toggle, +.navbar .nav li.dropdown.open.active > .dropdown-toggle { + color: #555555; + background-color: #e5e5e5; +} + +.navbar .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #777777; + border-bottom-color: #777777; +} + +.navbar .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} + +.navbar .pull-right > li > .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu:before, +.navbar .nav > li > .dropdown-menu.pull-right:before { + right: 12px; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu:after, +.navbar .nav > li > .dropdown-menu.pull-right:after { + right: 13px; + left: auto; +} + +.navbar .pull-right > li > .dropdown-menu .dropdown-menu, +.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { + right: 100%; + left: auto; + margin-right: -1px; + margin-left: 0; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + +.navbar-inverse .navbar-inner { + background-color: #1b1b1b; + background-image: -moz-linear-gradient(top, #222222, #111111); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); + background-image: -webkit-linear-gradient(top, #222222, #111111); + background-image: -o-linear-gradient(top, #222222, #111111); + background-image: linear-gradient(to bottom, #222222, #111111); + background-repeat: repeat-x; + border-color: #252525; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); +} + +.navbar-inverse .brand, +.navbar-inverse .nav > li > a { + color: #999999; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.navbar-inverse .brand:hover, +.navbar-inverse .nav > li > a:hover, +.navbar-inverse .brand:focus, +.navbar-inverse .nav > li > a:focus { + color: #ffffff; +} + +.navbar-inverse .brand { + color: #999999; +} + +.navbar-inverse .navbar-text { + color: #999999; +} + +.navbar-inverse .nav > li > a:focus, +.navbar-inverse .nav > li > a:hover { + color: #ffffff; + background-color: transparent; +} + +.navbar-inverse .nav .active > a, +.navbar-inverse .nav .active > a:hover, +.navbar-inverse .nav .active > a:focus { + color: #ffffff; + background-color: #111111; +} + +.navbar-inverse .navbar-link { + color: #999999; +} + +.navbar-inverse .navbar-link:hover, +.navbar-inverse .navbar-link:focus { + color: #ffffff; +} + +.navbar-inverse .divider-vertical { + border-right-color: #222222; + border-left-color: #111111; +} + +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { + color: #ffffff; + background-color: #111111; +} + +.navbar-inverse .nav li.dropdown > a:hover .caret, +.navbar-inverse .nav li.dropdown > a:focus .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { + border-top-color: #999999; + border-bottom-color: #999999; +} + +.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, +.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { + border-top-color: #ffffff; + border-bottom-color: #ffffff; +} + +.navbar-inverse .navbar-search .search-query { + color: #ffffff; + background-color: #515151; + border-color: #111111; + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} + +.navbar-inverse .navbar-search .search-query:-moz-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { + color: #cccccc; +} + +.navbar-inverse .navbar-search .search-query:focus, +.navbar-inverse .navbar-search .search-query.focused { + padding: 5px 15px; + color: #333333; + text-shadow: 0 1px 0 #ffffff; + background-color: #ffffff; + border: 0; + outline: 0; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); +} + +.navbar-inverse .btn-navbar { + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e0e0e; + *background-color: #040404; + background-image: -moz-linear-gradient(top, #151515, #040404); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404)); + background-image: -webkit-linear-gradient(top, #151515, #040404); + background-image: -o-linear-gradient(top, #151515, #040404); + background-image: linear-gradient(to bottom, #151515, #040404); + background-repeat: repeat-x; + border-color: #040404 #040404 #000000; + border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0); + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); +} + +.navbar-inverse .btn-navbar:hover, +.navbar-inverse .btn-navbar:focus, +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active, +.navbar-inverse .btn-navbar.disabled, +.navbar-inverse .btn-navbar[disabled] { + color: #ffffff; + background-color: #040404; + *background-color: #000000; +} + +.navbar-inverse .btn-navbar:active, +.navbar-inverse .btn-navbar.active { + background-color: #000000 \9; +} + +.breadcrumb { + padding: 8px 15px; + margin: 0 0 20px; + list-style: none; + background-color: #f5f5f5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.breadcrumb > li { + display: inline-block; + *display: inline; + text-shadow: 0 1px 0 #ffffff; + *zoom: 1; +} + +.breadcrumb > li > .divider { + padding: 0 5px; + color: #ccc; +} + +.breadcrumb > .active { + color: #999999; +} + +.pagination { + margin: 20px 0; +} + +.pagination ul { + display: inline-block; + *display: inline; + margin-bottom: 0; + margin-left: 0; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + *zoom: 1; + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); +} + +.pagination ul > li { + display: inline; +} + +.pagination ul > li > a, +.pagination ul > li > span { + float: left; + padding: 4px 12px; + line-height: 20px; + text-decoration: none; + background-color: #ffffff; + border: 1px solid #dddddd; + border-left-width: 0; +} + +.pagination ul > li > a:hover, +.pagination ul > li > a:focus, +.pagination ul > .active > a, +.pagination ul > .active > span { + background-color: #f5f5f5; +} + +.pagination ul > .active > a, +.pagination ul > .active > span { + color: #999999; + cursor: default; +} + +.pagination ul > .disabled > span, +.pagination ul > .disabled > a, +.pagination ul > .disabled > a:hover, +.pagination ul > .disabled > a:focus { + color: #999999; + cursor: default; + background-color: transparent; +} + +.pagination ul > li:first-child > a, +.pagination ul > li:first-child > span { + border-left-width: 1px; + -webkit-border-bottom-left-radius: 4px; + border-bottom-left-radius: 4px; + -webkit-border-top-left-radius: 4px; + border-top-left-radius: 4px; + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-topleft: 4px; +} + +.pagination ul > li:last-child > a, +.pagination ul > li:last-child > span { + -webkit-border-top-right-radius: 4px; + border-top-right-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + border-bottom-right-radius: 4px; + -moz-border-radius-topright: 4px; + -moz-border-radius-bottomright: 4px; +} + +.pagination-centered { + text-align: center; +} + +.pagination-right { + text-align: right; +} + +.pagination-large ul > li > a, +.pagination-large ul > li > span { + padding: 11px 19px; + font-size: 17.5px; +} + +.pagination-large ul > li:first-child > a, +.pagination-large ul > li:first-child > span { + -webkit-border-bottom-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-border-top-left-radius: 6px; + border-top-left-radius: 6px; + -moz-border-radius-bottomleft: 6px; + -moz-border-radius-topleft: 6px; +} + +.pagination-large ul > li:last-child > a, +.pagination-large ul > li:last-child > span { + -webkit-border-top-right-radius: 6px; + border-top-right-radius: 6px; + -webkit-border-bottom-right-radius: 6px; + border-bottom-right-radius: 6px; + -moz-border-radius-topright: 6px; + -moz-border-radius-bottomright: 6px; +} + +.pagination-mini ul > li:first-child > a, +.pagination-small ul > li:first-child > a, +.pagination-mini ul > li:first-child > span, +.pagination-small ul > li:first-child > span { + -webkit-border-bottom-left-radius: 3px; + border-bottom-left-radius: 3px; + -webkit-border-top-left-radius: 3px; + border-top-left-radius: 3px; + -moz-border-radius-bottomleft: 3px; + -moz-border-radius-topleft: 3px; +} + +.pagination-mini ul > li:last-child > a, +.pagination-small ul > li:last-child > a, +.pagination-mini ul > li:last-child > span, +.pagination-small ul > li:last-child > span { + -webkit-border-top-right-radius: 3px; + border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + border-bottom-right-radius: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomright: 3px; +} + +.pagination-small ul > li > a, +.pagination-small ul > li > span { + padding: 2px 10px; + font-size: 11.9px; +} + +.pagination-mini ul > li > a, +.pagination-mini ul > li > span { + padding: 0 6px; + font-size: 10.5px; +} + +.pager { + margin: 20px 0; + text-align: center; + list-style: none; + *zoom: 1; +} + +.pager:before, +.pager:after { + display: table; + line-height: 0; + content: ""; +} + +.pager:after { + clear: both; +} + +.pager li { + display: inline; +} + +.pager li > a, +.pager li > span { + display: inline-block; + padding: 5px 14px; + background-color: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.pager li > a:hover, +.pager li > a:focus { + text-decoration: none; + background-color: #f5f5f5; +} + +.pager .next > a, +.pager .next > span { + float: right; +} + +.pager .previous > a, +.pager .previous > span { + float: left; +} + +.pager .disabled > a, +.pager .disabled > a:hover, +.pager .disabled > a:focus, +.pager .disabled > span { + color: #999999; + cursor: default; + background-color: #fff; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000000; +} + +.modal-backdrop.fade { + opacity: 0; +} + +.modal-backdrop, +.modal-backdrop.fade.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.modal { + position: fixed; + top: 10%; + left: 50%; + z-index: 1050; + width: 560px; + margin-left: -280px; + background-color: #ffffff; + border: 1px solid #999; + border: 1px solid rgba(0, 0, 0, 0.3); + *border: 1px solid #999; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; +} + +.modal.fade { + top: -25%; + -webkit-transition: opacity 0.3s linear, top 0.3s ease-out; + -moz-transition: opacity 0.3s linear, top 0.3s ease-out; + -o-transition: opacity 0.3s linear, top 0.3s ease-out; + transition: opacity 0.3s linear, top 0.3s ease-out; +} + +.modal.fade.in { + top: 10%; +} + +.modal-header { + padding: 9px 15px; + border-bottom: 1px solid #eee; +} + +.modal-header .close { + margin-top: 2px; +} + +.modal-header h3 { + margin: 0; + line-height: 30px; +} + +.modal-body { + position: relative; + max-height: 400px; + padding: 15px; + overflow-y: auto; +} + +.modal-form { + margin-bottom: 0; +} + +.modal-footer { + padding: 14px 15px 15px; + margin-bottom: 0; + text-align: right; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + -webkit-border-radius: 0 0 6px 6px; + -moz-border-radius: 0 0 6px 6px; + border-radius: 0 0 6px 6px; + *zoom: 1; + -webkit-box-shadow: inset 0 1px 0 #ffffff; + -moz-box-shadow: inset 0 1px 0 #ffffff; + box-shadow: inset 0 1px 0 #ffffff; +} + +.modal-footer:before, +.modal-footer:after { + display: table; + line-height: 0; + content: ""; +} + +.modal-footer:after { + clear: both; +} + +.modal-footer .btn + .btn { + margin-bottom: 0; + margin-left: 5px; +} + +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} + +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} + +.tooltip { + position: absolute; + z-index: 1030; + display: block; + font-size: 11px; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); + visibility: visible; +} + +.tooltip.in { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.tooltip.top { + padding: 5px 0; + margin-top: -3px; +} + +.tooltip.right { + padding: 0 5px; + margin-left: 3px; +} + +.tooltip.bottom { + padding: 5px 0; + margin-top: 3px; +} + +.tooltip.left { + padding: 0 5px; + margin-left: -3px; +} + +.tooltip-inner { + max-width: 200px; + padding: 8px; + color: #ffffff; + text-align: center; + text-decoration: none; + background-color: #000000; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-top-color: #000000; + border-width: 5px 5px 0; +} + +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-right-color: #000000; + border-width: 5px 5px 5px 0; +} + +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-left-color: #000000; + border-width: 5px 0 5px 5px; +} + +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-bottom-color: #000000; + border-width: 0 5px 5px; +} + +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1010; + display: none; + max-width: 276px; + padding: 1px; + text-align: left; + white-space: normal; + background-color: #ffffff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.2); + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; +} + +.popover.top { + margin-top: -10px; +} + +.popover.right { + margin-left: 10px; +} + +.popover.bottom { + margin-top: 10px; +} + +.popover.left { + margin-left: -10px; +} + +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + font-weight: normal; + line-height: 18px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + -webkit-border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} + +.popover-title:empty { + display: none; +} + +.popover-content { + padding: 9px 14px; +} + +.popover .arrow, +.popover .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} + +.popover .arrow { + border-width: 11px; +} + +.popover .arrow:after { + border-width: 10px; + content: ""; +} + +.popover.top .arrow { + bottom: -11px; + left: 50%; + margin-left: -11px; + border-top-color: #999; + border-top-color: rgba(0, 0, 0, 0.25); + border-bottom-width: 0; +} + +.popover.top .arrow:after { + bottom: 1px; + margin-left: -10px; + border-top-color: #ffffff; + border-bottom-width: 0; +} + +.popover.right .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-right-color: #999; + border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; +} + +.popover.right .arrow:after { + bottom: -10px; + left: 1px; + border-right-color: #ffffff; + border-left-width: 0; +} + +.popover.bottom .arrow { + top: -11px; + left: 50%; + margin-left: -11px; + border-bottom-color: #999; + border-bottom-color: rgba(0, 0, 0, 0.25); + border-top-width: 0; +} + +.popover.bottom .arrow:after { + top: 1px; + margin-left: -10px; + border-bottom-color: #ffffff; + border-top-width: 0; +} + +.popover.left .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-left-color: #999; + border-left-color: rgba(0, 0, 0, 0.25); + border-right-width: 0; +} + +.popover.left .arrow:after { + right: 1px; + bottom: -10px; + border-left-color: #ffffff; + border-right-width: 0; +} + +.thumbnails { + margin-left: -20px; + list-style: none; + *zoom: 1; +} + +.thumbnails:before, +.thumbnails:after { + display: table; + line-height: 0; + content: ""; +} + +.thumbnails:after { + clear: both; +} + +.row-fluid .thumbnails { + margin-left: 0; +} + +.thumbnails > li { + float: left; + margin-bottom: 20px; + margin-left: 20px; +} + +.thumbnail { + display: block; + padding: 4px; + line-height: 20px; + border: 1px solid #ddd; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +a.thumbnail:hover, +a.thumbnail:focus { + border-color: #0088cc; + -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); + box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); +} + +.thumbnail > img { + display: block; + max-width: 100%; + margin-right: auto; + margin-left: auto; +} + +.thumbnail .caption { + padding: 9px; + color: #555555; +} + +.media, +.media-body { + overflow: hidden; + *overflow: visible; + zoom: 1; +} + +.media, +.media .media { + margin-top: 15px; +} + +.media:first-child { + margin-top: 0; +} + +.media-object { + display: block; +} + +.media-heading { + margin: 0 0 5px; +} + +.media > .pull-left { + margin-right: 10px; +} + +.media > .pull-right { + margin-left: 10px; +} + +.media-list { + margin-left: 0; + list-style: none; +} + +.label, +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; +} + +.label { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.badge { + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.label:empty, +.badge:empty { + display: none; +} + +a.label:hover, +a.label:focus, +a.badge:hover, +a.badge:focus { + color: #ffffff; + text-decoration: none; + cursor: pointer; +} + +.label-important, +.badge-important { + background-color: #b94a48; +} + +.label-important[href], +.badge-important[href] { + background-color: #953b39; +} + +.label-warning, +.badge-warning { + background-color: #f89406; +} + +.label-warning[href], +.badge-warning[href] { + background-color: #c67605; +} + +.label-success, +.badge-success { + background-color: #468847; +} + +.label-success[href], +.badge-success[href] { + background-color: #356635; +} + +.label-info, +.badge-info { + background-color: #3a87ad; +} + +.label-info[href], +.badge-info[href] { + background-color: #2d6987; +} + +.label-inverse, +.badge-inverse { + background-color: #333333; +} + +.label-inverse[href], +.badge-inverse[href] { + background-color: #1a1a1a; +} + +.btn .label, +.btn .badge { + position: relative; + top: -1px; +} + +.btn-mini .label, +.btn-mini .badge { + top: 0; +} + +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-moz-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-ms-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +@-o-keyframes progress-bar-stripes { + from { + background-position: 0 0; + } + to { + background-position: 40px 0; + } +} + +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} + +.progress { + height: 20px; + margin-bottom: 20px; + overflow: hidden; + background-color: #f7f7f7; + background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); + background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); + background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); + background-repeat: repeat-x; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); + -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.progress .bar { + float: left; + width: 0; + height: 100%; + font-size: 12px; + color: #ffffff; + text-align: center; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + background-color: #0e90d2; + background-image: -moz-linear-gradient(top, #149bdf, #0480be); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); + background-image: -webkit-linear-gradient(top, #149bdf, #0480be); + background-image: -o-linear-gradient(top, #149bdf, #0480be); + background-image: linear-gradient(to bottom, #149bdf, #0480be); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); + -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + -webkit-transition: width 0.6s ease; + -moz-transition: width 0.6s ease; + -o-transition: width 0.6s ease; + transition: width 0.6s ease; +} + +.progress .bar + .bar { + -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); + -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); + box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); +} + +.progress-striped .bar { + background-color: #149bdf; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + -webkit-background-size: 40px 40px; + -moz-background-size: 40px 40px; + -o-background-size: 40px 40px; + background-size: 40px 40px; +} + +.progress.active .bar { + -webkit-animation: progress-bar-stripes 2s linear infinite; + -moz-animation: progress-bar-stripes 2s linear infinite; + -ms-animation: progress-bar-stripes 2s linear infinite; + -o-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} + +.progress-danger .bar, +.progress .bar-danger { + background-color: #dd514c; + background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); + background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); + background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); + background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); +} + +.progress-danger.progress-striped .bar, +.progress-striped .bar-danger { + background-color: #ee5f5b; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-success .bar, +.progress .bar-success { + background-color: #5eb95e; + background-image: -moz-linear-gradient(top, #62c462, #57a957); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); + background-image: -webkit-linear-gradient(top, #62c462, #57a957); + background-image: -o-linear-gradient(top, #62c462, #57a957); + background-image: linear-gradient(to bottom, #62c462, #57a957); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); +} + +.progress-success.progress-striped .bar, +.progress-striped .bar-success { + background-color: #62c462; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-info .bar, +.progress .bar-info { + background-color: #4bb1cf; + background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); + background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); + background-image: -o-linear-gradient(top, #5bc0de, #339bb9); + background-image: linear-gradient(to bottom, #5bc0de, #339bb9); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); +} + +.progress-info.progress-striped .bar, +.progress-striped .bar-info { + background-color: #5bc0de; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.progress-warning .bar, +.progress .bar-warning { + background-color: #faa732; + background-image: -moz-linear-gradient(top, #fbb450, #f89406); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); + background-image: -webkit-linear-gradient(top, #fbb450, #f89406); + background-image: -o-linear-gradient(top, #fbb450, #f89406); + background-image: linear-gradient(to bottom, #fbb450, #f89406); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); +} + +.progress-warning.progress-striped .bar, +.progress-striped .bar-warning { + background-color: #fbb450; + background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); + background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); +} + +.accordion { + margin-bottom: 20px; +} + +.accordion-group { + margin-bottom: 2px; + border: 1px solid #e5e5e5; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.accordion-heading { + border-bottom: 0; +} + +.accordion-heading .accordion-toggle { + display: block; + padding: 8px 15px; +} + +.accordion-toggle { + cursor: pointer; +} + +.accordion-inner { + padding: 9px 15px; + border-top: 1px solid #e5e5e5; +} + +.carousel { + position: relative; + margin-bottom: 20px; + line-height: 1; +} + +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} + +.carousel-inner > .item { + position: relative; + display: none; + -webkit-transition: 0.6s ease-in-out left; + -moz-transition: 0.6s ease-in-out left; + -o-transition: 0.6s ease-in-out left; + transition: 0.6s ease-in-out left; +} + +.carousel-inner > .item > img, +.carousel-inner > .item > a > img { + display: block; + line-height: 1; +} + +.carousel-inner > .active, +.carousel-inner > .next, +.carousel-inner > .prev { + display: block; +} + +.carousel-inner > .active { + left: 0; +} + +.carousel-inner > .next, +.carousel-inner > .prev { + position: absolute; + top: 0; + width: 100%; +} + +.carousel-inner > .next { + left: 100%; +} + +.carousel-inner > .prev { + left: -100%; +} + +.carousel-inner > .next.left, +.carousel-inner > .prev.right { + left: 0; +} + +.carousel-inner > .active.left { + left: -100%; +} + +.carousel-inner > .active.right { + left: 100%; +} + +.carousel-control { + position: absolute; + top: 40%; + left: 15px; + width: 40px; + height: 40px; + margin-top: -20px; + font-size: 60px; + font-weight: 100; + line-height: 30px; + color: #ffffff; + text-align: center; + background: #222222; + border: 3px solid #ffffff; + -webkit-border-radius: 23px; + -moz-border-radius: 23px; + border-radius: 23px; + opacity: 0.5; + filter: alpha(opacity=50); +} + +.carousel-control.right { + right: 15px; + left: auto; +} + +.carousel-control:hover, +.carousel-control:focus { + color: #ffffff; + text-decoration: none; + opacity: 0.9; + filter: alpha(opacity=90); +} + +.carousel-indicators { + position: absolute; + top: 15px; + right: 15px; + z-index: 5; + margin: 0; + list-style: none; +} + +.carousel-indicators li { + display: block; + float: left; + width: 10px; + height: 10px; + margin-left: 5px; + text-indent: -999px; + background-color: #ccc; + background-color: rgba(255, 255, 255, 0.25); + border-radius: 5px; +} + +.carousel-indicators .active { + background-color: #fff; +} + +.carousel-caption { + position: absolute; + right: 0; + bottom: 0; + left: 0; + padding: 15px; + background: #333333; + background: rgba(0, 0, 0, 0.75); +} + +.carousel-caption h4, +.carousel-caption p { + line-height: 20px; + color: #ffffff; +} + +.carousel-caption h4 { + margin: 0 0 5px; +} + +.carousel-caption p { + margin-bottom: 0; +} + +.hero-unit { + padding: 60px; + margin-bottom: 30px; + font-size: 18px; + font-weight: 200; + line-height: 30px; + color: inherit; + background-color: #eeeeee; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} + +.hero-unit h1 { + margin-bottom: 0; + font-size: 60px; + line-height: 1; + letter-spacing: -1px; + color: inherit; +} + +.hero-unit li { + line-height: 30px; +} + +.pull-right { + float: right; +} + +.pull-left { + float: left; +} + +.hide { + display: none; +} + +.show { + display: block; +} + +.invisible { + visibility: hidden; +} + +.affix { + position: fixed; +} diff --git a/handling-spring-static-resources/src/main/webapp/js/foo.js b/handling-spring-static-resources/src/main/webapp/js/foo.js new file mode 100644 index 0000000000..0172bf4e96 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/js/foo.js @@ -0,0 +1,3 @@ +function testing() { + alert("Testing"); +} \ No newline at end of file diff --git a/handling-spring-static-resources/src/main/webapp/js/handlebars-3133af2.js b/handling-spring-static-resources/src/main/webapp/js/handlebars-3133af2.js new file mode 100644 index 0000000000..f826bbfd38 --- /dev/null +++ b/handling-spring-static-resources/src/main/webapp/js/handlebars-3133af2.js @@ -0,0 +1,3079 @@ +/*! + + handlebars v2.0.0 + +Copyright (C) 2011-2014 by Yehuda Katz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +@license +*/ +/* exported Handlebars */ +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + define([], factory); + } else if (typeof exports === 'object') { + module.exports = factory(); + } else { + root.Handlebars = root.Handlebars || factory(); + } +}(this, function () { +// handlebars/safe-string.js +var __module4__ = (function() { + "use strict"; + var __exports__; + // Build out our basic SafeString type + function SafeString(string) { + this.string = string; + } + + SafeString.prototype.toString = function() { + return "" + this.string; + }; + + __exports__ = SafeString; + return __exports__; +})(); + +// handlebars/utils.js +var __module3__ = (function(__dependency1__) { + "use strict"; + var __exports__ = {}; + /*jshint -W004 */ + var SafeString = __dependency1__; + + var escape = { + "&": "&", + "<": "<", + ">": ">", + '"': """, + "'": "'", + "`": "`" + }; + + var badChars = /[&<>"'`]/g; + var possible = /[&<>"'`]/; + + function escapeChar(chr) { + return escape[chr]; + } + + function extend(obj /* , ...source */) { + for (var i = 1; i < arguments.length; i++) { + for (var key in arguments[i]) { + if (Object.prototype.hasOwnProperty.call(arguments[i], key)) { + obj[key] = arguments[i][key]; + } + } + } + + return obj; + } + + __exports__.extend = extend;var toString = Object.prototype.toString; + __exports__.toString = toString; + // Sourced from lodash + // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt + var isFunction = function(value) { + return typeof value === 'function'; + }; + // fallback for older versions of Chrome and Safari + /* istanbul ignore next */ + if (isFunction(/x/)) { + isFunction = function(value) { + return typeof value === 'function' && toString.call(value) === '[object Function]'; + }; + } + var isFunction; + __exports__.isFunction = isFunction; + /* istanbul ignore next */ + var isArray = Array.isArray || function(value) { + return (value && typeof value === 'object') ? toString.call(value) === '[object Array]' : false; + }; + __exports__.isArray = isArray; + + function escapeExpression(string) { + // don't escape SafeStrings, since they're already safe + if (string instanceof SafeString) { + return string.toString(); + } else if (string == null) { + return ""; + } else if (!string) { + return string + ''; + } + + // Force a string conversion as this will be done by the append regardless and + // the regex test will do this transparently behind the scenes, causing issues if + // an object's to string has escaped characters in it. + string = "" + string; + + if(!possible.test(string)) { return string; } + return string.replace(badChars, escapeChar); + } + + __exports__.escapeExpression = escapeExpression;function isEmpty(value) { + if (!value && value !== 0) { + return true; + } else if (isArray(value) && value.length === 0) { + return true; + } else { + return false; + } + } + + __exports__.isEmpty = isEmpty;function appendContextPath(contextPath, id) { + return (contextPath ? contextPath + '.' : '') + id; + } + + __exports__.appendContextPath = appendContextPath; + return __exports__; +})(__module4__); + +// handlebars/exception.js +var __module5__ = (function() { + "use strict"; + var __exports__; + + var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack']; + + function Exception(message, node) { + var line; + if (node && node.firstLine) { + line = node.firstLine; + + message += ' - ' + line + ':' + node.firstColumn; + } + + var tmp = Error.prototype.constructor.call(this, message); + + // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work. + for (var idx = 0; idx < errorProps.length; idx++) { + this[errorProps[idx]] = tmp[errorProps[idx]]; + } + + if (line) { + this.lineNumber = line; + this.column = node.firstColumn; + } + } + + Exception.prototype = new Error(); + + __exports__ = Exception; + return __exports__; +})(); + +// handlebars/base.js +var __module2__ = (function(__dependency1__, __dependency2__) { + "use strict"; + var __exports__ = {}; + var Utils = __dependency1__; + var Exception = __dependency2__; + + var VERSION = "2.0.0"; + __exports__.VERSION = VERSION;var COMPILER_REVISION = 6; + __exports__.COMPILER_REVISION = COMPILER_REVISION; + var REVISION_CHANGES = { + 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it + 2: '== 1.0.0-rc.3', + 3: '== 1.0.0-rc.4', + 4: '== 1.x.x', + 5: '== 2.0.0-alpha.x', + 6: '>= 2.0.0-beta.1' + }; + __exports__.REVISION_CHANGES = REVISION_CHANGES; + var isArray = Utils.isArray, + isFunction = Utils.isFunction, + toString = Utils.toString, + objectType = '[object Object]'; + + function HandlebarsEnvironment(helpers, partials) { + this.helpers = helpers || {}; + this.partials = partials || {}; + + registerDefaultHelpers(this); + } + + __exports__.HandlebarsEnvironment = HandlebarsEnvironment;HandlebarsEnvironment.prototype = { + constructor: HandlebarsEnvironment, + + logger: logger, + log: log, + + registerHelper: function(name, fn) { + if (toString.call(name) === objectType) { + if (fn) { throw new Exception('Arg not supported with multiple helpers'); } + Utils.extend(this.helpers, name); + } else { + this.helpers[name] = fn; + } + }, + unregisterHelper: function(name) { + delete this.helpers[name]; + }, + + registerPartial: function(name, partial) { + if (toString.call(name) === objectType) { + Utils.extend(this.partials, name); + } else { + this.partials[name] = partial; + } + }, + unregisterPartial: function(name) { + delete this.partials[name]; + } + }; + + function registerDefaultHelpers(instance) { + instance.registerHelper('helperMissing', function(/* [args, ]options */) { + if(arguments.length === 1) { + // A missing field in a {{foo}} constuct. + return undefined; + } else { + // Someone is actually trying to call something, blow up. + throw new Exception("Missing helper: '" + arguments[arguments.length-1].name + "'"); + } + }); + + instance.registerHelper('blockHelperMissing', function(context, options) { + var inverse = options.inverse, + fn = options.fn; + + if(context === true) { + return fn(this); + } else if(context === false || context == null) { + return inverse(this); + } else if (isArray(context)) { + if(context.length > 0) { + if (options.ids) { + options.ids = [options.name]; + } + + return instance.helpers.each(context, options); + } else { + return inverse(this); + } + } else { + if (options.data && options.ids) { + var data = createFrame(options.data); + data.contextPath = Utils.appendContextPath(options.data.contextPath, options.name); + options = {data: data}; + } + + return fn(context, options); + } + }); + + instance.registerHelper('each', function(context, options) { + if (!options) { + throw new Exception('Must pass iterator to #each'); + } + + var fn = options.fn, inverse = options.inverse; + var i = 0, ret = "", data; + + var contextPath; + if (options.data && options.ids) { + contextPath = Utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.'; + } + + if (isFunction(context)) { context = context.call(this); } + + if (options.data) { + data = createFrame(options.data); + } + + if(context && typeof context === 'object') { + if (isArray(context)) { + for(var j = context.length; i 0) { + throw new Exception("Invalid path: " + original, this); + } else if (part === "..") { + depth++; + depthString += '../'; + } else { + this.isScoped = true; + } + } else { + dig.push(part); + } + } + + this.original = original; + this.parts = dig; + this.string = dig.join('.'); + this.depth = depth; + this.idName = depthString + this.string; + + // an ID is simple if it only has one part, and that part is not + // `..` or `this`. + this.isSimple = parts.length === 1 && !this.isScoped && depth === 0; + + this.stringModeValue = this.string; + }, + + PartialNameNode: function(name, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "PARTIAL_NAME"; + this.name = name.original; + }, + + DataNode: function(id, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "DATA"; + this.id = id; + this.stringModeValue = id.stringModeValue; + this.idName = '@' + id.stringModeValue; + }, + + StringNode: function(string, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "STRING"; + this.original = + this.string = + this.stringModeValue = string; + }, + + NumberNode: function(number, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "NUMBER"; + this.original = + this.number = number; + this.stringModeValue = Number(number); + }, + + BooleanNode: function(bool, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "BOOLEAN"; + this.bool = bool; + this.stringModeValue = bool === "true"; + }, + + CommentNode: function(comment, locInfo) { + LocationInfo.call(this, locInfo); + this.type = "comment"; + this.comment = comment; + + this.strip = { + inlineStandalone: true + }; + } + }; + + + // Must be exported as an object rather than the root of the module as the jison lexer + // most modify the object to operate properly. + __exports__ = AST; + return __exports__; +})(__module5__); + +// handlebars/compiler/parser.js +var __module9__ = (function() { + "use strict"; + var __exports__; + /* jshint ignore:start */ + /* istanbul ignore next */ + /* Jison generated parser */ + var handlebars = (function(){ + var parser = {trace: function trace() { }, + yy: {}, + symbols_: {"error":2,"root":3,"program":4,"EOF":5,"program_repetition0":6,"statement":7,"mustache":8,"block":9,"rawBlock":10,"partial":11,"CONTENT":12,"COMMENT":13,"openRawBlock":14,"END_RAW_BLOCK":15,"OPEN_RAW_BLOCK":16,"sexpr":17,"CLOSE_RAW_BLOCK":18,"openBlock":19,"block_option0":20,"closeBlock":21,"openInverse":22,"block_option1":23,"OPEN_BLOCK":24,"CLOSE":25,"OPEN_INVERSE":26,"inverseAndProgram":27,"INVERSE":28,"OPEN_ENDBLOCK":29,"path":30,"OPEN":31,"OPEN_UNESCAPED":32,"CLOSE_UNESCAPED":33,"OPEN_PARTIAL":34,"partialName":35,"param":36,"partial_option0":37,"partial_option1":38,"sexpr_repetition0":39,"sexpr_option0":40,"dataName":41,"STRING":42,"NUMBER":43,"BOOLEAN":44,"OPEN_SEXPR":45,"CLOSE_SEXPR":46,"hash":47,"hash_repetition_plus0":48,"hashSegment":49,"ID":50,"EQUALS":51,"DATA":52,"pathSegments":53,"SEP":54,"$accept":0,"$end":1}, + terminals_: {2:"error",5:"EOF",12:"CONTENT",13:"COMMENT",15:"END_RAW_BLOCK",16:"OPEN_RAW_BLOCK",18:"CLOSE_RAW_BLOCK",24:"OPEN_BLOCK",25:"CLOSE",26:"OPEN_INVERSE",28:"INVERSE",29:"OPEN_ENDBLOCK",31:"OPEN",32:"OPEN_UNESCAPED",33:"CLOSE_UNESCAPED",34:"OPEN_PARTIAL",42:"STRING",43:"NUMBER",44:"BOOLEAN",45:"OPEN_SEXPR",46:"CLOSE_SEXPR",50:"ID",51:"EQUALS",52:"DATA",54:"SEP"}, + productions_: [0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[10,3],[14,3],[9,4],[9,4],[19,3],[22,3],[27,2],[21,3],[8,3],[8,3],[11,5],[11,4],[17,3],[17,1],[36,1],[36,1],[36,1],[36,1],[36,1],[36,3],[47,1],[49,3],[35,1],[35,1],[35,1],[41,2],[30,1],[53,3],[53,1],[6,0],[6,2],[20,0],[20,1],[23,0],[23,1],[37,0],[37,1],[38,0],[38,1],[39,0],[39,2],[40,0],[40,1],[48,1],[48,2]], + performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) { + + var $0 = $$.length - 1; + switch (yystate) { + case 1: yy.prepareProgram($$[$0-1].statements, true); return $$[$0-1]; + break; + case 2:this.$ = new yy.ProgramNode(yy.prepareProgram($$[$0]), {}, this._$); + break; + case 3:this.$ = $$[$0]; + break; + case 4:this.$ = $$[$0]; + break; + case 5:this.$ = $$[$0]; + break; + case 6:this.$ = $$[$0]; + break; + case 7:this.$ = new yy.ContentNode($$[$0], this._$); + break; + case 8:this.$ = new yy.CommentNode($$[$0], this._$); + break; + case 9:this.$ = new yy.RawBlockNode($$[$0-2], $$[$0-1], $$[$0], this._$); + break; + case 10:this.$ = new yy.MustacheNode($$[$0-1], null, '', '', this._$); + break; + case 11:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], false, this._$); + break; + case 12:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], true, this._$); + break; + case 13:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$); + break; + case 14:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$); + break; + case 15:this.$ = { strip: yy.stripFlags($$[$0-1], $$[$0-1]), program: $$[$0] }; + break; + case 16:this.$ = {path: $$[$0-1], strip: yy.stripFlags($$[$0-2], $$[$0])}; + break; + case 17:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$); + break; + case 18:this.$ = new yy.MustacheNode($$[$0-1], null, $$[$0-2], yy.stripFlags($$[$0-2], $$[$0]), this._$); + break; + case 19:this.$ = new yy.PartialNode($$[$0-3], $$[$0-2], $$[$0-1], yy.stripFlags($$[$0-4], $$[$0]), this._$); + break; + case 20:this.$ = new yy.PartialNode($$[$0-2], undefined, $$[$0-1], yy.stripFlags($$[$0-3], $$[$0]), this._$); + break; + case 21:this.$ = new yy.SexprNode([$$[$0-2]].concat($$[$0-1]), $$[$0], this._$); + break; + case 22:this.$ = new yy.SexprNode([$$[$0]], null, this._$); + break; + case 23:this.$ = $$[$0]; + break; + case 24:this.$ = new yy.StringNode($$[$0], this._$); + break; + case 25:this.$ = new yy.NumberNode($$[$0], this._$); + break; + case 26:this.$ = new yy.BooleanNode($$[$0], this._$); + break; + case 27:this.$ = $$[$0]; + break; + case 28:$$[$0-1].isHelper = true; this.$ = $$[$0-1]; + break; + case 29:this.$ = new yy.HashNode($$[$0], this._$); + break; + case 30:this.$ = [$$[$0-2], $$[$0]]; + break; + case 31:this.$ = new yy.PartialNameNode($$[$0], this._$); + break; + case 32:this.$ = new yy.PartialNameNode(new yy.StringNode($$[$0], this._$), this._$); + break; + case 33:this.$ = new yy.PartialNameNode(new yy.NumberNode($$[$0], this._$)); + break; + case 34:this.$ = new yy.DataNode($$[$0], this._$); + break; + case 35:this.$ = new yy.IdNode($$[$0], this._$); + break; + case 36: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2]; + break; + case 37:this.$ = [{part: $$[$0]}]; + break; + case 38:this.$ = []; + break; + case 39:$$[$0-1].push($$[$0]); + break; + case 48:this.$ = []; + break; + case 49:$$[$0-1].push($$[$0]); + break; + case 52:this.$ = [$$[$0]]; + break; + case 53:$$[$0-1].push($$[$0]); + break; + } + }, + table: [{3:1,4:2,5:[2,38],6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],31:[2,38],32:[2,38],34:[2,38]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:[1,10],13:[1,11],14:16,16:[1,20],19:14,22:15,24:[1,18],26:[1,19],28:[2,2],29:[2,2],31:[1,12],32:[1,13],34:[1,17]},{1:[2,1]},{5:[2,39],12:[2,39],13:[2,39],16:[2,39],24:[2,39],26:[2,39],28:[2,39],29:[2,39],31:[2,39],32:[2,39],34:[2,39]},{5:[2,3],12:[2,3],13:[2,3],16:[2,3],24:[2,3],26:[2,3],28:[2,3],29:[2,3],31:[2,3],32:[2,3],34:[2,3]},{5:[2,4],12:[2,4],13:[2,4],16:[2,4],24:[2,4],26:[2,4],28:[2,4],29:[2,4],31:[2,4],32:[2,4],34:[2,4]},{5:[2,5],12:[2,5],13:[2,5],16:[2,5],24:[2,5],26:[2,5],28:[2,5],29:[2,5],31:[2,5],32:[2,5],34:[2,5]},{5:[2,6],12:[2,6],13:[2,6],16:[2,6],24:[2,6],26:[2,6],28:[2,6],29:[2,6],31:[2,6],32:[2,6],34:[2,6]},{5:[2,7],12:[2,7],13:[2,7],16:[2,7],24:[2,7],26:[2,7],28:[2,7],29:[2,7],31:[2,7],32:[2,7],34:[2,7]},{5:[2,8],12:[2,8],13:[2,8],16:[2,8],24:[2,8],26:[2,8],28:[2,8],29:[2,8],31:[2,8],32:[2,8],34:[2,8]},{17:21,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:27,30:22,41:23,50:[1,26],52:[1,25],53:24},{4:28,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{4:29,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],28:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{12:[1,30]},{30:32,35:31,42:[1,33],43:[1,34],50:[1,26],53:24},{17:35,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:36,30:22,41:23,50:[1,26],52:[1,25],53:24},{17:37,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[1,38]},{18:[2,48],25:[2,48],33:[2,48],39:39,42:[2,48],43:[2,48],44:[2,48],45:[2,48],46:[2,48],50:[2,48],52:[2,48]},{18:[2,22],25:[2,22],33:[2,22],46:[2,22]},{18:[2,35],25:[2,35],33:[2,35],42:[2,35],43:[2,35],44:[2,35],45:[2,35],46:[2,35],50:[2,35],52:[2,35],54:[1,40]},{30:41,50:[1,26],53:24},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],52:[2,37],54:[2,37]},{33:[1,42]},{20:43,27:44,28:[1,45],29:[2,40]},{23:46,27:47,28:[1,45],29:[2,42]},{15:[1,48]},{25:[2,46],30:51,36:49,38:50,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],47:57,48:58,49:60,50:[1,59],52:[1,25],53:24},{25:[2,31],42:[2,31],43:[2,31],44:[2,31],45:[2,31],50:[2,31],52:[2,31]},{25:[2,32],42:[2,32],43:[2,32],44:[2,32],45:[2,32],50:[2,32],52:[2,32]},{25:[2,33],42:[2,33],43:[2,33],44:[2,33],45:[2,33],50:[2,33],52:[2,33]},{25:[1,61]},{25:[1,62]},{18:[1,63]},{5:[2,17],12:[2,17],13:[2,17],16:[2,17],24:[2,17],26:[2,17],28:[2,17],29:[2,17],31:[2,17],32:[2,17],34:[2,17]},{18:[2,50],25:[2,50],30:51,33:[2,50],36:65,40:64,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],46:[2,50],47:66,48:58,49:60,50:[1,59],52:[1,25],53:24},{50:[1,67]},{18:[2,34],25:[2,34],33:[2,34],42:[2,34],43:[2,34],44:[2,34],45:[2,34],46:[2,34],50:[2,34],52:[2,34]},{5:[2,18],12:[2,18],13:[2,18],16:[2,18],24:[2,18],26:[2,18],28:[2,18],29:[2,18],31:[2,18],32:[2,18],34:[2,18]},{21:68,29:[1,69]},{29:[2,41]},{4:70,6:3,12:[2,38],13:[2,38],16:[2,38],24:[2,38],26:[2,38],29:[2,38],31:[2,38],32:[2,38],34:[2,38]},{21:71,29:[1,69]},{29:[2,43]},{5:[2,9],12:[2,9],13:[2,9],16:[2,9],24:[2,9],26:[2,9],28:[2,9],29:[2,9],31:[2,9],32:[2,9],34:[2,9]},{25:[2,44],37:72,47:73,48:58,49:60,50:[1,74]},{25:[1,75]},{18:[2,23],25:[2,23],33:[2,23],42:[2,23],43:[2,23],44:[2,23],45:[2,23],46:[2,23],50:[2,23],52:[2,23]},{18:[2,24],25:[2,24],33:[2,24],42:[2,24],43:[2,24],44:[2,24],45:[2,24],46:[2,24],50:[2,24],52:[2,24]},{18:[2,25],25:[2,25],33:[2,25],42:[2,25],43:[2,25],44:[2,25],45:[2,25],46:[2,25],50:[2,25],52:[2,25]},{18:[2,26],25:[2,26],33:[2,26],42:[2,26],43:[2,26],44:[2,26],45:[2,26],46:[2,26],50:[2,26],52:[2,26]},{18:[2,27],25:[2,27],33:[2,27],42:[2,27],43:[2,27],44:[2,27],45:[2,27],46:[2,27],50:[2,27],52:[2,27]},{17:76,30:22,41:23,50:[1,26],52:[1,25],53:24},{25:[2,47]},{18:[2,29],25:[2,29],33:[2,29],46:[2,29],49:77,50:[1,74]},{18:[2,37],25:[2,37],33:[2,37],42:[2,37],43:[2,37],44:[2,37],45:[2,37],46:[2,37],50:[2,37],51:[1,78],52:[2,37],54:[2,37]},{18:[2,52],25:[2,52],33:[2,52],46:[2,52],50:[2,52]},{12:[2,13],13:[2,13],16:[2,13],24:[2,13],26:[2,13],28:[2,13],29:[2,13],31:[2,13],32:[2,13],34:[2,13]},{12:[2,14],13:[2,14],16:[2,14],24:[2,14],26:[2,14],28:[2,14],29:[2,14],31:[2,14],32:[2,14],34:[2,14]},{12:[2,10]},{18:[2,21],25:[2,21],33:[2,21],46:[2,21]},{18:[2,49],25:[2,49],33:[2,49],42:[2,49],43:[2,49],44:[2,49],45:[2,49],46:[2,49],50:[2,49],52:[2,49]},{18:[2,51],25:[2,51],33:[2,51],46:[2,51]},{18:[2,36],25:[2,36],33:[2,36],42:[2,36],43:[2,36],44:[2,36],45:[2,36],46:[2,36],50:[2,36],52:[2,36],54:[2,36]},{5:[2,11],12:[2,11],13:[2,11],16:[2,11],24:[2,11],26:[2,11],28:[2,11],29:[2,11],31:[2,11],32:[2,11],34:[2,11]},{30:79,50:[1,26],53:24},{29:[2,15]},{5:[2,12],12:[2,12],13:[2,12],16:[2,12],24:[2,12],26:[2,12],28:[2,12],29:[2,12],31:[2,12],32:[2,12],34:[2,12]},{25:[1,80]},{25:[2,45]},{51:[1,78]},{5:[2,20],12:[2,20],13:[2,20],16:[2,20],24:[2,20],26:[2,20],28:[2,20],29:[2,20],31:[2,20],32:[2,20],34:[2,20]},{46:[1,81]},{18:[2,53],25:[2,53],33:[2,53],46:[2,53],50:[2,53]},{30:51,36:82,41:55,42:[1,52],43:[1,53],44:[1,54],45:[1,56],50:[1,26],52:[1,25],53:24},{25:[1,83]},{5:[2,19],12:[2,19],13:[2,19],16:[2,19],24:[2,19],26:[2,19],28:[2,19],29:[2,19],31:[2,19],32:[2,19],34:[2,19]},{18:[2,28],25:[2,28],33:[2,28],42:[2,28],43:[2,28],44:[2,28],45:[2,28],46:[2,28],50:[2,28],52:[2,28]},{18:[2,30],25:[2,30],33:[2,30],46:[2,30],50:[2,30]},{5:[2,16],12:[2,16],13:[2,16],16:[2,16],24:[2,16],26:[2,16],28:[2,16],29:[2,16],31:[2,16],32:[2,16],34:[2,16]}], + defaultActions: {4:[2,1],44:[2,41],47:[2,43],57:[2,47],63:[2,10],70:[2,15],73:[2,45]}, + parseError: function parseError(str, hash) { + throw new Error(str); + }, + parse: function parse(input) { + var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1; + this.lexer.setInput(input); + this.lexer.yy = this.yy; + this.yy.lexer = this.lexer; + this.yy.parser = this; + if (typeof this.lexer.yylloc == "undefined") + this.lexer.yylloc = {}; + var yyloc = this.lexer.yylloc; + lstack.push(yyloc); + var ranges = this.lexer.options && this.lexer.options.ranges; + if (typeof this.yy.parseError === "function") + this.parseError = this.yy.parseError; + function popStack(n) { + stack.length = stack.length - 2 * n; + vstack.length = vstack.length - n; + lstack.length = lstack.length - n; + } + function lex() { + var token; + token = self.lexer.lex() || 1; + if (typeof token !== "number") { + token = self.symbols_[token] || token; + } + return token; + } + var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected; + while (true) { + state = stack[stack.length - 1]; + if (this.defaultActions[state]) { + action = this.defaultActions[state]; + } else { + if (symbol === null || typeof symbol == "undefined") { + symbol = lex(); + } + action = table[state] && table[state][symbol]; + } + if (typeof action === "undefined" || !action.length || !action[0]) { + var errStr = ""; + if (!recovering) { + expected = []; + for (p in table[state]) + if (this.terminals_[p] && p > 2) { + expected.push("'" + this.terminals_[p] + "'"); + } + if (this.lexer.showPosition) { + errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'"; + } else { + errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'"); + } + this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected}); + } + } + if (action[0] instanceof Array && action.length > 1) { + throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol); + } + switch (action[0]) { + case 1: + stack.push(symbol); + vstack.push(this.lexer.yytext); + lstack.push(this.lexer.yylloc); + stack.push(action[1]); + symbol = null; + if (!preErrorSymbol) { + yyleng = this.lexer.yyleng; + yytext = this.lexer.yytext; + yylineno = this.lexer.yylineno; + yyloc = this.lexer.yylloc; + if (recovering > 0) + recovering--; + } else { + symbol = preErrorSymbol; + preErrorSymbol = null; + } + break; + case 2: + len = this.productions_[action[1]][1]; + yyval.$ = vstack[vstack.length - len]; + yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column}; + if (ranges) { + yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]]; + } + r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack); + if (typeof r !== "undefined") { + return r; + } + if (len) { + stack = stack.slice(0, -1 * len * 2); + vstack = vstack.slice(0, -1 * len); + lstack = lstack.slice(0, -1 * len); + } + stack.push(this.productions_[action[1]][0]); + vstack.push(yyval.$); + lstack.push(yyval._$); + newState = table[stack[stack.length - 2]][stack[stack.length - 1]]; + stack.push(newState); + break; + case 3: + return true; + } + } + return true; + } + }; + /* Jison generated lexer */ + var lexer = (function(){ + var lexer = ({EOF:1, + parseError:function parseError(str, hash) { + if (this.yy.parser) { + this.yy.parser.parseError(str, hash); + } else { + throw new Error(str); + } + }, + setInput:function (input) { + this._input = input; + this._more = this._less = this.done = false; + this.yylineno = this.yyleng = 0; + this.yytext = this.matched = this.match = ''; + this.conditionStack = ['INITIAL']; + this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0}; + if (this.options.ranges) this.yylloc.range = [0,0]; + this.offset = 0; + return this; + }, + input:function () { + var ch = this._input[0]; + this.yytext += ch; + this.yyleng++; + this.offset++; + this.match += ch; + this.matched += ch; + var lines = ch.match(/(?:\r\n?|\n).*/g); + if (lines) { + this.yylineno++; + this.yylloc.last_line++; + } else { + this.yylloc.last_column++; + } + if (this.options.ranges) this.yylloc.range[1]++; + + this._input = this._input.slice(1); + return ch; + }, + unput:function (ch) { + var len = ch.length; + var lines = ch.split(/(?:\r\n?|\n)/g); + + this._input = ch + this._input; + this.yytext = this.yytext.substr(0, this.yytext.length-len-1); + //this.yyleng -= len; + this.offset -= len; + var oldLines = this.match.split(/(?:\r\n?|\n)/g); + this.match = this.match.substr(0, this.match.length-1); + this.matched = this.matched.substr(0, this.matched.length-1); + + if (lines.length-1) this.yylineno -= lines.length-1; + var r = this.yylloc.range; + + this.yylloc = {first_line: this.yylloc.first_line, + last_line: this.yylineno+1, + first_column: this.yylloc.first_column, + last_column: lines ? + (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length: + this.yylloc.first_column - len + }; + + if (this.options.ranges) { + this.yylloc.range = [r[0], r[0] + this.yyleng - len]; + } + return this; + }, + more:function () { + this._more = true; + return this; + }, + less:function (n) { + this.unput(this.match.slice(n)); + }, + pastInput:function () { + var past = this.matched.substr(0, this.matched.length - this.match.length); + return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, ""); + }, + upcomingInput:function () { + var next = this.match; + if (next.length < 20) { + next += this._input.substr(0, 20-next.length); + } + return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, ""); + }, + showPosition:function () { + var pre = this.pastInput(); + var c = new Array(pre.length + 1).join("-"); + return pre + this.upcomingInput() + "\n" + c+"^"; + }, + next:function () { + if (this.done) { + return this.EOF; + } + if (!this._input) this.done = true; + + var token, + match, + tempMatch, + index, + col, + lines; + if (!this._more) { + this.yytext = ''; + this.match = ''; + } + var rules = this._currentRules(); + for (var i=0;i < rules.length; i++) { + tempMatch = this._input.match(this.rules[rules[i]]); + if (tempMatch && (!match || tempMatch[0].length > match[0].length)) { + match = tempMatch; + index = i; + if (!this.options.flex) break; + } + } + if (match) { + lines = match[0].match(/(?:\r\n?|\n).*/g); + if (lines) this.yylineno += lines.length; + this.yylloc = {first_line: this.yylloc.last_line, + last_line: this.yylineno+1, + first_column: this.yylloc.last_column, + last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length}; + this.yytext += match[0]; + this.match += match[0]; + this.matches = match; + this.yyleng = this.yytext.length; + if (this.options.ranges) { + this.yylloc.range = [this.offset, this.offset += this.yyleng]; + } + this._more = false; + this._input = this._input.slice(match[0].length); + this.matched += match[0]; + token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]); + if (this.done && this._input) this.done = false; + if (token) return token; + else return; + } + if (this._input === "") { + return this.EOF; + } else { + return this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(), + {text: "", token: null, line: this.yylineno}); + } + }, + lex:function lex() { + var r = this.next(); + if (typeof r !== 'undefined') { + return r; + } else { + return this.lex(); + } + }, + begin:function begin(condition) { + this.conditionStack.push(condition); + }, + popState:function popState() { + return this.conditionStack.pop(); + }, + _currentRules:function _currentRules() { + return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules; + }, + topState:function () { + return this.conditionStack[this.conditionStack.length-2]; + }, + pushState:function begin(condition) { + this.begin(condition); + }}); + lexer.options = {}; + lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) { + + + function strip(start, end) { + return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng-end); + } + + + var YYSTATE=YY_START + switch($avoiding_name_collisions) { + case 0: + if(yy_.yytext.slice(-2) === "\\\\") { + strip(0,1); + this.begin("mu"); + } else if(yy_.yytext.slice(-1) === "\\") { + strip(0,1); + this.begin("emu"); + } else { + this.begin("mu"); + } + if(yy_.yytext) return 12; + + break; + case 1:return 12; + break; + case 2: + this.popState(); + return 12; + + break; + case 3: + yy_.yytext = yy_.yytext.substr(5, yy_.yyleng-9); + this.popState(); + return 15; + + break; + case 4: return 12; + break; + case 5:strip(0,4); this.popState(); return 13; + break; + case 6:return 45; + break; + case 7:return 46; + break; + case 8: return 16; + break; + case 9: + this.popState(); + this.begin('raw'); + return 18; + + break; + case 10:return 34; + break; + case 11:return 24; + break; + case 12:return 29; + break; + case 13:this.popState(); return 28; + break; + case 14:this.popState(); return 28; + break; + case 15:return 26; + break; + case 16:return 26; + break; + case 17:return 32; + break; + case 18:return 31; + break; + case 19:this.popState(); this.begin('com'); + break; + case 20:strip(3,5); this.popState(); return 13; + break; + case 21:return 31; + break; + case 22:return 51; + break; + case 23:return 50; + break; + case 24:return 50; + break; + case 25:return 54; + break; + case 26:// ignore whitespace + break; + case 27:this.popState(); return 33; + break; + case 28:this.popState(); return 25; + break; + case 29:yy_.yytext = strip(1,2).replace(/\\"/g,'"'); return 42; + break; + case 30:yy_.yytext = strip(1,2).replace(/\\'/g,"'"); return 42; + break; + case 31:return 52; + break; + case 32:return 44; + break; + case 33:return 44; + break; + case 34:return 43; + break; + case 35:return 50; + break; + case 36:yy_.yytext = strip(1,2); return 50; + break; + case 37:return 'INVALID'; + break; + case 38:return 5; + break; + } + }; + lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/]; + lexer.conditions = {"mu":{"rules":[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"inclusive":false},"emu":{"rules":[2],"inclusive":false},"com":{"rules":[5],"inclusive":false},"raw":{"rules":[3,4],"inclusive":false},"INITIAL":{"rules":[0,1,38],"inclusive":true}}; + return lexer;})() + parser.lexer = lexer; + function Parser () { this.yy = {}; }Parser.prototype = parser;parser.Parser = Parser; + return new Parser; + })();__exports__ = handlebars; + /* jshint ignore:end */ + return __exports__; +})(); + +// handlebars/compiler/helpers.js +var __module10__ = (function(__dependency1__) { + "use strict"; + var __exports__ = {}; + var Exception = __dependency1__; + + function stripFlags(open, close) { + return { + left: open.charAt(2) === '~', + right: close.charAt(close.length-3) === '~' + }; + } + + __exports__.stripFlags = stripFlags; + function prepareBlock(mustache, program, inverseAndProgram, close, inverted, locInfo) { + /*jshint -W040 */ + if (mustache.sexpr.id.original !== close.path.original) { + throw new Exception(mustache.sexpr.id.original + ' doesn\'t match ' + close.path.original, mustache); + } + + var inverse = inverseAndProgram && inverseAndProgram.program; + + var strip = { + left: mustache.strip.left, + right: close.strip.right, + + // Determine the standalone candiacy. Basically flag our content as being possibly standalone + // so our parent can determine if we actually are standalone + openStandalone: isNextWhitespace(program.statements), + closeStandalone: isPrevWhitespace((inverse || program).statements) + }; + + if (mustache.strip.right) { + omitRight(program.statements, null, true); + } + + if (inverse) { + var inverseStrip = inverseAndProgram.strip; + + if (inverseStrip.left) { + omitLeft(program.statements, null, true); + } + if (inverseStrip.right) { + omitRight(inverse.statements, null, true); + } + if (close.strip.left) { + omitLeft(inverse.statements, null, true); + } + + // Find standalone else statments + if (isPrevWhitespace(program.statements) + && isNextWhitespace(inverse.statements)) { + + omitLeft(program.statements); + omitRight(inverse.statements); + } + } else { + if (close.strip.left) { + omitLeft(program.statements, null, true); + } + } + + if (inverted) { + return new this.BlockNode(mustache, inverse, program, strip, locInfo); + } else { + return new this.BlockNode(mustache, program, inverse, strip, locInfo); + } + } + + __exports__.prepareBlock = prepareBlock; + function prepareProgram(statements, isRoot) { + for (var i = 0, l = statements.length; i < l; i++) { + var current = statements[i], + strip = current.strip; + + if (!strip) { + continue; + } + + var _isPrevWhitespace = isPrevWhitespace(statements, i, isRoot, current.type === 'partial'), + _isNextWhitespace = isNextWhitespace(statements, i, isRoot), + + openStandalone = strip.openStandalone && _isPrevWhitespace, + closeStandalone = strip.closeStandalone && _isNextWhitespace, + inlineStandalone = strip.inlineStandalone && _isPrevWhitespace && _isNextWhitespace; + + if (strip.right) { + omitRight(statements, i, true); + } + if (strip.left) { + omitLeft(statements, i, true); + } + + if (inlineStandalone) { + omitRight(statements, i); + + if (omitLeft(statements, i)) { + // If we are on a standalone node, save the indent info for partials + if (current.type === 'partial') { + current.indent = (/([ \t]+$)/).exec(statements[i-1].original) ? RegExp.$1 : ''; + } + } + } + if (openStandalone) { + omitRight((current.program || current.inverse).statements); + + // Strip out the previous content node if it's whitespace only + omitLeft(statements, i); + } + if (closeStandalone) { + // Always strip the next node + omitRight(statements, i); + + omitLeft((current.inverse || current.program).statements); + } + } + + return statements; + } + + __exports__.prepareProgram = prepareProgram;function isPrevWhitespace(statements, i, isRoot) { + if (i === undefined) { + i = statements.length; + } + + // Nodes that end with newlines are considered whitespace (but are special + // cased for strip operations) + var prev = statements[i-1], + sibling = statements[i-2]; + if (!prev) { + return isRoot; + } + + if (prev.type === 'content') { + return (sibling || !isRoot ? (/\r?\n\s*?$/) : (/(^|\r?\n)\s*?$/)).test(prev.original); + } + } + function isNextWhitespace(statements, i, isRoot) { + if (i === undefined) { + i = -1; + } + + var next = statements[i+1], + sibling = statements[i+2]; + if (!next) { + return isRoot; + } + + if (next.type === 'content') { + return (sibling || !isRoot ? (/^\s*?\r?\n/) : (/^\s*?(\r?\n|$)/)).test(next.original); + } + } + + // Marks the node to the right of the position as omitted. + // I.e. {{foo}}' ' will mark the ' ' node as omitted. + // + // If i is undefined, then the first child will be marked as such. + // + // If mulitple is truthy then all whitespace will be stripped out until non-whitespace + // content is met. + function omitRight(statements, i, multiple) { + var current = statements[i == null ? 0 : i + 1]; + if (!current || current.type !== 'content' || (!multiple && current.rightStripped)) { + return; + } + + var original = current.string; + current.string = current.string.replace(multiple ? (/^\s+/) : (/^[ \t]*\r?\n?/), ''); + current.rightStripped = current.string !== original; + } + + // Marks the node to the left of the position as omitted. + // I.e. ' '{{foo}} will mark the ' ' node as omitted. + // + // If i is undefined then the last child will be marked as such. + // + // If mulitple is truthy then all whitespace will be stripped out until non-whitespace + // content is met. + function omitLeft(statements, i, multiple) { + var current = statements[i == null ? statements.length - 1 : i - 1]; + if (!current || current.type !== 'content' || (!multiple && current.leftStripped)) { + return; + } + + // We omit the last node if it's whitespace only and not preceeded by a non-content node. + var original = current.string; + current.string = current.string.replace(multiple ? (/\s+$/) : (/[ \t]+$/), ''); + current.leftStripped = current.string !== original; + return current.leftStripped; + } + return __exports__; +})(__module5__); + +// handlebars/compiler/base.js +var __module8__ = (function(__dependency1__, __dependency2__, __dependency3__, __dependency4__) { + "use strict"; + var __exports__ = {}; + var parser = __dependency1__; + var AST = __dependency2__; + var Helpers = __dependency3__; + var extend = __dependency4__.extend; + + __exports__.parser = parser; + + var yy = {}; + extend(yy, Helpers, AST); + + function parse(input) { + // Just return if an already-compile AST was passed in. + if (input.constructor === AST.ProgramNode) { return input; } + + parser.yy = yy; + + return parser.parse(input); + } + + __exports__.parse = parse; + return __exports__; +})(__module9__, __module7__, __module10__, __module3__); + +// handlebars/compiler/compiler.js +var __module11__ = (function(__dependency1__, __dependency2__) { + "use strict"; + var __exports__ = {}; + var Exception = __dependency1__; + var isArray = __dependency2__.isArray; + + var slice = [].slice; + + function Compiler() {} + + __exports__.Compiler = Compiler;// the foundHelper register will disambiguate helper lookup from finding a + // function in a context. This is necessary for mustache compatibility, which + // requires that context functions in blocks are evaluated by blockHelperMissing, + // and then proceed as if the resulting value was provided to blockHelperMissing. + + Compiler.prototype = { + compiler: Compiler, + + equals: function(other) { + var len = this.opcodes.length; + if (other.opcodes.length !== len) { + return false; + } + + for (var i = 0; i < len; i++) { + var opcode = this.opcodes[i], + otherOpcode = other.opcodes[i]; + if (opcode.opcode !== otherOpcode.opcode || !argEquals(opcode.args, otherOpcode.args)) { + return false; + } + } + + // We know that length is the same between the two arrays because they are directly tied + // to the opcode behavior above. + len = this.children.length; + for (i = 0; i < len; i++) { + if (!this.children[i].equals(other.children[i])) { + return false; + } + } + + return true; + }, + + guid: 0, + + compile: function(program, options) { + this.opcodes = []; + this.children = []; + this.depths = {list: []}; + this.options = options; + this.stringParams = options.stringParams; + this.trackIds = options.trackIds; + + // These changes will propagate to the other compiler components + var knownHelpers = this.options.knownHelpers; + this.options.knownHelpers = { + 'helperMissing': true, + 'blockHelperMissing': true, + 'each': true, + 'if': true, + 'unless': true, + 'with': true, + 'log': true, + 'lookup': true + }; + if (knownHelpers) { + for (var name in knownHelpers) { + this.options.knownHelpers[name] = knownHelpers[name]; + } + } + + return this.accept(program); + }, + + accept: function(node) { + return this[node.type](node); + }, + + program: function(program) { + var statements = program.statements; + + for(var i=0, l=statements.length; i 0) { + varDeclarations += ", " + locals.join(", "); + } + + // Generate minimizer alias mappings + for (var alias in this.aliases) { + if (this.aliases.hasOwnProperty(alias)) { + varDeclarations += ', ' + alias + '=' + this.aliases[alias]; + } + } + + var params = ["depth0", "helpers", "partials", "data"]; + + if (this.useDepths) { + params.push('depths'); + } + + // Perform a second pass over the output to merge content when possible + var source = this.mergeSource(varDeclarations); + + if (asObject) { + params.push(source); + + return Function.apply(this, params); + } else { + return 'function(' + params.join(',') + ') {\n ' + source + '}'; + } + }, + mergeSource: function(varDeclarations) { + var source = '', + buffer, + appendOnly = !this.forceBuffer, + appendFirst; + + for (var i = 0, len = this.source.length; i < len; i++) { + var line = this.source[i]; + if (line.appendToBuffer) { + if (buffer) { + buffer = buffer + '\n + ' + line.content; + } else { + buffer = line.content; + } + } else { + if (buffer) { + if (!source) { + appendFirst = true; + source = buffer + ';\n '; + } else { + source += 'buffer += ' + buffer + ';\n '; + } + buffer = undefined; + } + source += line + '\n '; + + if (!this.environment.isSimple) { + appendOnly = false; + } + } + } + + if (appendOnly) { + if (buffer || !source) { + source += 'return ' + (buffer || '""') + ';\n'; + } + } else { + varDeclarations += ", buffer = " + (appendFirst ? '' : this.initializeBuffer()); + if (buffer) { + source += 'return buffer + ' + buffer + ';\n'; + } else { + source += 'return buffer;\n'; + } + } + + if (varDeclarations) { + source = 'var ' + varDeclarations.substring(2) + (appendFirst ? '' : ';\n ') + source; + } + + return source; + }, + + // [blockValue] + // + // On stack, before: hash, inverse, program, value + // On stack, after: return value of blockHelperMissing + // + // The purpose of this opcode is to take a block of the form + // `{{#this.foo}}...{{/this.foo}}`, resolve the value of `foo`, and + // replace it on the stack with the result of properly + // invoking blockHelperMissing. + blockValue: function(name) { + this.aliases.blockHelperMissing = 'helpers.blockHelperMissing'; + + var params = [this.contextName(0)]; + this.setupParams(name, 0, params); + + var blockName = this.popStack(); + params.splice(1, 0, blockName); + + this.push('blockHelperMissing.call(' + params.join(', ') + ')'); + }, + + // [ambiguousBlockValue] + // + // On stack, before: hash, inverse, program, value + // Compiler value, before: lastHelper=value of last found helper, if any + // On stack, after, if no lastHelper: same as [blockValue] + // On stack, after, if lastHelper: value + ambiguousBlockValue: function() { + this.aliases.blockHelperMissing = 'helpers.blockHelperMissing'; + + // We're being a bit cheeky and reusing the options value from the prior exec + var params = [this.contextName(0)]; + this.setupParams('', 0, params, true); + + this.flushInline(); + + var current = this.topStack(); + params.splice(1, 0, current); + + this.pushSource("if (!" + this.lastHelper + ") { " + current + " = blockHelperMissing.call(" + params.join(", ") + "); }"); + }, + + // [appendContent] + // + // On stack, before: ... + // On stack, after: ... + // + // Appends the string value of `content` to the current buffer + appendContent: function(content) { + if (this.pendingContent) { + content = this.pendingContent + content; + } + + this.pendingContent = content; + }, + + // [append] + // + // On stack, before: value, ... + // On stack, after: ... + // + // Coerces `value` to a String and appends it to the current buffer. + // + // If `value` is truthy, or 0, it is coerced into a string and appended + // Otherwise, the empty string is appended + append: function() { + // Force anything that is inlined onto the stack so we don't have duplication + // when we examine local + this.flushInline(); + var local = this.popStack(); + this.pushSource('if (' + local + ' != null) { ' + this.appendToBuffer(local) + ' }'); + if (this.environment.isSimple) { + this.pushSource("else { " + this.appendToBuffer("''") + " }"); + } + }, + + // [appendEscaped] + // + // On stack, before: value, ... + // On stack, after: ... + // + // Escape `value` and append it to the buffer + appendEscaped: function() { + this.aliases.escapeExpression = 'this.escapeExpression'; + + this.pushSource(this.appendToBuffer("escapeExpression(" + this.popStack() + ")")); + }, + + // [getContext] + // + // On stack, before: ... + // On stack, after: ... + // Compiler value, after: lastContext=depth + // + // Set the value of the `lastContext` compiler value to the depth + getContext: function(depth) { + this.lastContext = depth; + }, + + // [pushContext] + // + // On stack, before: ... + // On stack, after: currentContext, ... + // + // Pushes the value of the current context onto the stack. + pushContext: function() { + this.pushStackLiteral(this.contextName(this.lastContext)); + }, + + // [lookupOnContext] + // + // On stack, before: ... + // On stack, after: currentContext[name], ... + // + // Looks up the value of `name` on the current context and pushes + // it onto the stack. + lookupOnContext: function(parts, falsy, scoped) { + /*jshint -W083 */ + var i = 0, + len = parts.length; + + if (!scoped && this.options.compat && !this.lastContext) { + // The depthed query is expected to handle the undefined logic for the root level that + // is implemented below, so we evaluate that directly in compat mode + this.push(this.depthedLookup(parts[i++])); + } else { + this.pushContext(); + } + + for (; i < len; i++) { + this.replaceStack(function(current) { + var lookup = this.nameLookup(current, parts[i], 'context'); + // We want to ensure that zero and false are handled properly if the context (falsy flag) + // needs to have the special handling for these values. + if (!falsy) { + return ' != null ? ' + lookup + ' : ' + current; + } else { + // Otherwise we can use generic falsy handling + return ' && ' + lookup; + } + }); + } + }, + + // [lookupData] + // + // On stack, before: ... + // On stack, after: data, ... + // + // Push the data lookup operator + lookupData: function(depth, parts) { + /*jshint -W083 */ + if (!depth) { + this.pushStackLiteral('data'); + } else { + this.pushStackLiteral('this.data(data, ' + depth + ')'); + } + + var len = parts.length; + for (var i = 0; i < len; i++) { + this.replaceStack(function(current) { + return ' && ' + this.nameLookup(current, parts[i], 'data'); + }); + } + }, + + // [resolvePossibleLambda] + // + // On stack, before: value, ... + // On stack, after: resolved value, ... + // + // If the `value` is a lambda, replace it on the stack by + // the return value of the lambda + resolvePossibleLambda: function() { + this.aliases.lambda = 'this.lambda'; + + this.push('lambda(' + this.popStack() + ', ' + this.contextName(0) + ')'); + }, + + // [pushStringParam] + // + // On stack, before: ... + // On stack, after: string, currentContext, ... + // + // This opcode is designed for use in string mode, which + // provides the string value of a parameter along with its + // depth rather than resolving it immediately. + pushStringParam: function(string, type) { + this.pushContext(); + this.pushString(type); + + // If it's a subexpression, the string result + // will be pushed after this opcode. + if (type !== 'sexpr') { + if (typeof string === 'string') { + this.pushString(string); + } else { + this.pushStackLiteral(string); + } + } + }, + + emptyHash: function() { + this.pushStackLiteral('{}'); + + if (this.trackIds) { + this.push('{}'); // hashIds + } + if (this.stringParams) { + this.push('{}'); // hashContexts + this.push('{}'); // hashTypes + } + }, + pushHash: function() { + if (this.hash) { + this.hashes.push(this.hash); + } + this.hash = {values: [], types: [], contexts: [], ids: []}; + }, + popHash: function() { + var hash = this.hash; + this.hash = this.hashes.pop(); + + if (this.trackIds) { + this.push('{' + hash.ids.join(',') + '}'); + } + if (this.stringParams) { + this.push('{' + hash.contexts.join(',') + '}'); + this.push('{' + hash.types.join(',') + '}'); + } + + this.push('{\n ' + hash.values.join(',\n ') + '\n }'); + }, + + // [pushString] + // + // On stack, before: ... + // On stack, after: quotedString(string), ... + // + // Push a quoted version of `string` onto the stack + pushString: function(string) { + this.pushStackLiteral(this.quotedString(string)); + }, + + // [push] + // + // On stack, before: ... + // On stack, after: expr, ... + // + // Push an expression onto the stack + push: function(expr) { + this.inlineStack.push(expr); + return expr; + }, + + // [pushLiteral] + // + // On stack, before: ... + // On stack, after: value, ... + // + // Pushes a value onto the stack. This operation prevents + // the compiler from creating a temporary variable to hold + // it. + pushLiteral: function(value) { + this.pushStackLiteral(value); + }, + + // [pushProgram] + // + // On stack, before: ... + // On stack, after: program(guid), ... + // + // Push a program expression onto the stack. This takes + // a compile-time guid and converts it into a runtime-accessible + // expression. + pushProgram: function(guid) { + if (guid != null) { + this.pushStackLiteral(this.programExpression(guid)); + } else { + this.pushStackLiteral(null); + } + }, + + // [invokeHelper] + // + // On stack, before: hash, inverse, program, params..., ... + // On stack, after: result of helper invocation + // + // Pops off the helper's parameters, invokes the helper, + // and pushes the helper's return value onto the stack. + // + // If the helper is not found, `helperMissing` is called. + invokeHelper: function(paramSize, name, isSimple) { + this.aliases.helperMissing = 'helpers.helperMissing'; + + var nonHelper = this.popStack(); + var helper = this.setupHelper(paramSize, name); + + var lookup = (isSimple ? helper.name + ' || ' : '') + nonHelper + ' || helperMissing'; + this.push('((' + lookup + ').call(' + helper.callParams + '))'); + }, + + // [invokeKnownHelper] + // + // On stack, before: hash, inverse, program, params..., ... + // On stack, after: result of helper invocation + // + // This operation is used when the helper is known to exist, + // so a `helperMissing` fallback is not required. + invokeKnownHelper: function(paramSize, name) { + var helper = this.setupHelper(paramSize, name); + this.push(helper.name + ".call(" + helper.callParams + ")"); + }, + + // [invokeAmbiguous] + // + // On stack, before: hash, inverse, program, params..., ... + // On stack, after: result of disambiguation + // + // This operation is used when an expression like `{{foo}}` + // is provided, but we don't know at compile-time whether it + // is a helper or a path. + // + // This operation emits more code than the other options, + // and can be avoided by passing the `knownHelpers` and + // `knownHelpersOnly` flags at compile-time. + invokeAmbiguous: function(name, helperCall) { + this.aliases.functionType = '"function"'; + this.aliases.helperMissing = 'helpers.helperMissing'; + this.useRegister('helper'); + + var nonHelper = this.popStack(); + + this.emptyHash(); + var helper = this.setupHelper(0, name, helperCall); + + var helperName = this.lastHelper = this.nameLookup('helpers', name, 'helper'); + + this.push( + '((helper = (helper = ' + helperName + ' || ' + nonHelper + ') != null ? helper : helperMissing' + + (helper.paramsInit ? '),(' + helper.paramsInit : '') + '),' + + '(typeof helper === functionType ? helper.call(' + helper.callParams + ') : helper))'); + }, + + // [invokePartial] + // + // On stack, before: context, ... + // On stack after: result of partial invocation + // + // This operation pops off a context, invokes a partial with that context, + // and pushes the result of the invocation back. + invokePartial: function(name, indent) { + var params = [this.nameLookup('partials', name, 'partial'), "'" + indent + "'", "'" + name + "'", this.popStack(), this.popStack(), "helpers", "partials"]; + + if (this.options.data) { + params.push("data"); + } else if (this.options.compat) { + params.push('undefined'); + } + if (this.options.compat) { + params.push('depths'); + } + + this.push("this.invokePartial(" + params.join(", ") + ")"); + }, + + // [assignToHash] + // + // On stack, before: value, ..., hash, ... + // On stack, after: ..., hash, ... + // + // Pops a value off the stack and assigns it to the current hash + assignToHash: function(key) { + var value = this.popStack(), + context, + type, + id; + + if (this.trackIds) { + id = this.popStack(); + } + if (this.stringParams) { + type = this.popStack(); + context = this.popStack(); + } + + var hash = this.hash; + if (context) { + hash.contexts.push("'" + key + "': " + context); + } + if (type) { + hash.types.push("'" + key + "': " + type); + } + if (id) { + hash.ids.push("'" + key + "': " + id); + } + hash.values.push("'" + key + "': (" + value + ")"); + }, + + pushId: function(type, name) { + if (type === 'ID' || type === 'DATA') { + this.pushString(name); + } else if (type === 'sexpr') { + this.pushStackLiteral('true'); + } else { + this.pushStackLiteral('null'); + } + }, + + // HELPERS + + compiler: JavaScriptCompiler, + + compileChildren: function(environment, options) { + var children = environment.children, child, compiler; + + for(var i=0, l=children.length; i this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); } + return this.topStackName(); + }, + topStackName: function() { + return "stack" + this.stackSlot; + }, + flushInline: function() { + var inlineStack = this.inlineStack; + if (inlineStack.length) { + this.inlineStack = []; + for (var i = 0, len = inlineStack.length; i < len; i++) { + var entry = inlineStack[i]; + if (entry instanceof Literal) { + this.compileStack.push(entry); + } else { + this.pushStack(entry); + } + } + } + }, + isInline: function() { + return this.inlineStack.length; + }, + + popStack: function(wrapped) { + var inline = this.isInline(), + item = (inline ? this.inlineStack : this.compileStack).pop(); + + if (!wrapped && (item instanceof Literal)) { + return item.value; + } else { + if (!inline) { + /* istanbul ignore next */ + if (!this.stackSlot) { + throw new Exception('Invalid stack pop'); + } + this.stackSlot--; + } + return item; + } + }, + + topStack: function() { + var stack = (this.isInline() ? this.inlineStack : this.compileStack), + item = stack[stack.length - 1]; + + if (item instanceof Literal) { + return item.value; + } else { + return item; + } + }, + + contextName: function(context) { + if (this.useDepths && context) { + return 'depths[' + context + ']'; + } else { + return 'depth' + context; + } + }, + + quotedString: function(str) { + return '"' + str + .replace(/\\/g, '\\\\') + .replace(/"/g, '\\"') + .replace(/\n/g, '\\n') + .replace(/\r/g, '\\r') + .replace(/\u2028/g, '\\u2028') // Per Ecma-262 7.3 + 7.8.4 + .replace(/\u2029/g, '\\u2029') + '"'; + }, + + objectLiteral: function(obj) { + var pairs = []; + + for (var key in obj) { + if (obj.hasOwnProperty(key)) { + pairs.push(this.quotedString(key) + ':' + obj[key]); + } + } + + return '{' + pairs.join(',') + '}'; + }, + + setupHelper: function(paramSize, name, blockHelper) { + var params = [], + paramsInit = this.setupParams(name, paramSize, params, blockHelper); + var foundHelper = this.nameLookup('helpers', name, 'helper'); + + return { + params: params, + paramsInit: paramsInit, + name: foundHelper, + callParams: [this.contextName(0)].concat(params).join(", ") + }; + }, + + setupOptions: function(helper, paramSize, params) { + var options = {}, contexts = [], types = [], ids = [], param, inverse, program; + + options.name = this.quotedString(helper); + options.hash = this.popStack(); + + if (this.trackIds) { + options.hashIds = this.popStack(); + } + if (this.stringParams) { + options.hashTypes = this.popStack(); + options.hashContexts = this.popStack(); + } + + inverse = this.popStack(); + program = this.popStack(); + + // Avoid setting fn and inverse if neither are set. This allows + // helpers to do a check for `if (options.fn)` + if (program || inverse) { + if (!program) { + program = 'this.noop'; + } + + if (!inverse) { + inverse = 'this.noop'; + } + + options.fn = program; + options.inverse = inverse; + } + + // The parameters go on to the stack in order (making sure that they are evaluated in order) + // so we need to pop them off the stack in reverse order + var i = paramSize; + while (i--) { + param = this.popStack(); + params[i] = param; + + if (this.trackIds) { + ids[i] = this.popStack(); + } + if (this.stringParams) { + types[i] = this.popStack(); + contexts[i] = this.popStack(); + } + } + + if (this.trackIds) { + options.ids = "[" + ids.join(",") + "]"; + } + if (this.stringParams) { + options.types = "[" + types.join(",") + "]"; + options.contexts = "[" + contexts.join(",") + "]"; + } + + if (this.options.data) { + options.data = "data"; + } + + return options; + }, + + // the params and contexts arguments are passed in arrays + // to fill in + setupParams: function(helperName, paramSize, params, useRegister) { + var options = this.objectLiteral(this.setupOptions(helperName, paramSize, params)); + + if (useRegister) { + this.useRegister('options'); + params.push('options'); + return 'options=' + options; + } else { + params.push(options); + return ''; + } + } + }; + + var reservedWords = ( + "break else new var" + + " case finally return void" + + " catch for switch while" + + " continue function this with" + + " default if throw" + + " delete in try" + + " do instanceof typeof" + + " abstract enum int short" + + " boolean export interface static" + + " byte extends long super" + + " char final native synchronized" + + " class float package throws" + + " const goto private transient" + + " debugger implements protected volatile" + + " double import public let yield" + ).split(" "); + + var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {}; + + for(var i=0, l=reservedWords.length; ia?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
              ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
              a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
              ","
              "],area:[1,"",""],param:[1,"",""],thead:[1,"","
              "],tr:[2,"","
              "],col:[2,"","
              "],td:[3,"","
              "],_default:k.htmlSerialize?[0,"",""]:[1,"X
              ","
              "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("